Skip to content

Commit

Permalink
move accountpicker and recentactivity to user settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmars committed May 23, 2023
1 parent 063e21a commit add3372
Show file tree
Hide file tree
Showing 65 changed files with 1,576 additions and 793 deletions.
4 changes: 2 additions & 2 deletions docs/assets/auto-739ab307.js → docs/assets/auto-39be8d55.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/auto/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
document.write('<script src="./i18n/lang-' + settings.i18n.languages[i] + '.js"><\/script>');
}
</script>
<script type="module" crossorigin src="../assets/auto-739ab307.js"></script>
<script type="module" crossorigin src="../assets/auto-39be8d55.js"></script>
<link rel="stylesheet" href="../assets/index-33e954e7.css">
</head>

Expand Down
28 changes: 0 additions & 28 deletions docs/auto/js/config-flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,34 +39,6 @@ window.app = {
link: 'learnmore',
},
],
accountpicker: [
{
icon: 'pi-car-solid',
title: 'accountpicker1_title',
desc: 'accountpicker1_desc',
id: '',
},
{
icon: 'pi-car-solid',
title: 'accountpicker2_title',
desc: 'accountpicker2_desc',
id: '',
},
],
recentactivity: [
{
message: 'recentactivity1_msg',
},
{
message: 'recentactivity2_msg',
},
{
message: 'recentactivity3_msg',
},
{
message: 'recentactivity4_msg',
},
],
offers: [
{
img: 'offer-main.jpg',
Expand Down
56 changes: 56 additions & 0 deletions docs/auto/js/config-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,34 @@ window.settings = {
show_opname: false,
otp_send_to: '',
accountdetails: [],
accountpicker: [
{
icon: 'pi-car-solid',
title: 'accountpicker1_title',
desc: 'accountpicker1_desc',
id: '',
},
{
icon: 'pi-car-solid',
title: 'accountpicker2_title',
desc: 'accountpicker2_desc',
id: '',
},
],
recentactivity: [
{
message: 'recentactivity1_msg',
},
{
message: 'recentactivity2_msg',
},
{
message: 'recentactivity3_msg',
},
{
message: 'recentactivity4_msg',
},
],
},
{
username: 'mary@pegasystems.com',
Expand All @@ -295,6 +323,34 @@ window.settings = {
show_opname: false,
otp_send_to: '',
accountdetails: [],
accountpicker: [
{
icon: 'pi-car-solid',
title: 'accountpicker1_title',
desc: 'accountpicker1_desc',
id: '',
},
{
icon: 'pi-car-solid',
title: 'accountpicker2_title',
desc: 'accountpicker2_desc',
id: '',
},
],
recentactivity: [
{
message: 'recentactivity1_msg',
},
{
message: 'recentactivity2_msg',
},
{
message: 'recentactivity3_msg',
},
{
message: 'recentactivity4_msg',
},
],
},
],
pega_chat: {
Expand Down
2 changes: 1 addition & 1 deletion docs/commercial_bank/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
document.write('<script src="./i18n/lang-' + settings.i18n.languages[i] + '.js"><\/script>');
}
</script>
<script type="module" crossorigin src="../assets/auto-739ab307.js"></script>
<script type="module" crossorigin src="../assets/auto-39be8d55.js"></script>
<link rel="stylesheet" href="../assets/index-33e954e7.css">
</head>

Expand Down
31 changes: 0 additions & 31 deletions docs/commercial_bank/js/config-flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,37 +39,6 @@ window.app = {
link: "learnmore",
},
],
accountpicker: [
{
icon: "pi-piggybank",
title: "accountpicker1_title",
id: "***1234",
},
{
icon: "pi-money",
title: "accountpicker2_title",
id: "***5678",
},
{
icon: "pi-credit",
title: "accountpicker3_title",
id: "***7890",
},
],
recentactivity: [
{
message: "recentactivity1_msg",
},
{
message: "recentactivity2_msg",
},
{
message: "recentactivity3_msg",
},
{
message: "recentactivity4_msg",
},
],
offers: [
{
img: "offer-image.jpg",
Expand Down
62 changes: 62 additions & 0 deletions docs/commercial_bank/js/config-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,37 @@ window.settings = {
balance: 43921.82,
},
],
accountpicker: [
{
icon: "pi-piggybank",
title: "accountpicker1_title",
id: "***1234",
},
{
icon: "pi-money",
title: "accountpicker2_title",
id: "***5678",
},
{
icon: "pi-credit",
title: "accountpicker3_title",
id: "***7890",
},
],
recentactivity: [
{
message: "recentactivity1_msg",
},
{
message: "recentactivity2_msg",
},
{
message: "recentactivity3_msg",
},
{
message: "recentactivity4_msg",
},
],
investmentaccounts: [
{
number: "***3415-100",
Expand Down Expand Up @@ -359,6 +390,37 @@ window.settings = {
current_balance: 534561.34,
},
],
accountpicker: [
{
icon: "pi-piggybank",
title: "accountpicker1_title",
id: "***1234",
},
{
icon: "pi-money",
title: "accountpicker2_title",
id: "***5678",
},
{
icon: "pi-credit",
title: "accountpicker3_title",
id: "***7890",
},
],
recentactivity: [
{
message: "recentactivity1_msg",
},
{
message: "recentactivity2_msg",
},
{
message: "recentactivity3_msg",
},
{
message: "recentactivity4_msg",
},
],
investmentaccounts: [
{
number: "***3415-100",
Expand Down
2 changes: 1 addition & 1 deletion docs/comms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
document.write('<script src="./i18n/lang-' + settings.i18n.languages[i] + '.js"><\/script>');
}
</script>
<script type="module" crossorigin src="../assets/auto-739ab307.js"></script>
<script type="module" crossorigin src="../assets/auto-39be8d55.js"></script>
<link rel="stylesheet" href="../assets/index-33e954e7.css">
</head>

Expand Down
34 changes: 0 additions & 34 deletions docs/comms/js/config-flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,40 +39,6 @@ window.app = {
link: 'learnmore',
},
],
accountpicker: [
{
icon: 'pi-phone',
title: 'accountpicker1_title',
desc: 'accountpicker1_desc',
id: '',
},
{
icon: 'pi-globe',
title: 'accountpicker2_title',
desc: 'accountpicker2_desc',
id: '',
},
{
icon: 'pi-tv',
title: 'accountpicker3_title',
desc: 'accountpicker3_desc',
id: '',
},
],
recentactivity: [
{
message: 'recentactivity1_msg',
},
{
message: 'recentactivity2_msg',
},
{
message: 'recentactivity3_msg',
},
{
message: 'recentactivity4_msg',
},
],
offers: [
{
img: 'offer-01.jpg',
Expand Down
68 changes: 68 additions & 0 deletions docs/comms/js/config-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,40 @@ window.settings = {
show_opname: false,
otp_send_to: '',
accountdetails: [],
accountpicker: [
{
icon: 'pi-phone',
title: 'accountpicker1_title',
desc: 'accountpicker1_desc',
id: '',
},
{
icon: 'pi-globe',
title: 'accountpicker2_title',
desc: 'accountpicker2_desc',
id: '',
},
{
icon: 'pi-tv',
title: 'accountpicker3_title',
desc: 'accountpicker3_desc',
id: '',
},
],
recentactivity: [
{
message: 'recentactivity1_msg',
},
{
message: 'recentactivity2_msg',
},
{
message: 'recentactivity3_msg',
},
{
message: 'recentactivity4_msg',
},
],
},
{
username: 'mary@pegasystems.com',
Expand All @@ -295,6 +329,40 @@ window.settings = {
show_opname: false,
otp_send_to: '',
accountdetails: [],
accountpicker: [
{
icon: 'pi-phone',
title: 'accountpicker1_title',
desc: 'accountpicker1_desc',
id: '',
},
{
icon: 'pi-globe',
title: 'accountpicker2_title',
desc: 'accountpicker2_desc',
id: '',
},
{
icon: 'pi-tv',
title: 'accountpicker3_title',
desc: 'accountpicker3_desc',
id: '',
},
],
recentactivity: [
{
message: 'recentactivity1_msg',
},
{
message: 'recentactivity2_msg',
},
{
message: 'recentactivity3_msg',
},
{
message: 'recentactivity4_msg',
},
],
},
],
pega_chat: {
Expand Down
2 changes: 1 addition & 1 deletion docs/gov/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
document.write('<script src="./i18n/lang-' + settings.i18n.languages[i] + '.js"><\/script>');
}
</script>
<script type="module" crossorigin src="../assets/auto-739ab307.js"></script>
<script type="module" crossorigin src="../assets/auto-39be8d55.js"></script>
<link rel="stylesheet" href="../assets/index-33e954e7.css">
</head>

Expand Down
Loading

0 comments on commit add3372

Please sign in to comment.