@flarehr/apollo-super-selection 5.17.50662 → 5.18.50860
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/apollo-super-selection/{p-40d52425.entry.js → p-bef636e4.entry.js} +2 -2
- package/dist/lib/apollo-super-selection/{p-d7f9d782.system.entry.js → p-e2ab4ebc.system.entry.js} +2 -2
- package/dist/lib/cjs/sss-button_43.cjs.entry.js +11 -17
- package/dist/lib/collection/components/super-campaign/super-campaign.js +1 -6
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +3 -0
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -5
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +5 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +1 -5
- package/dist/lib/esm/sss-button_43.entry.js +11 -17
- package/dist/lib/esm-es5/sss-button_43.entry.js +2 -2
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +5 -11
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +4 -13
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +2 -5
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +3 -7
- package/package.json +1 -1
|
@@ -284,7 +284,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
const AppVersion = '5.
|
|
287
|
+
const AppVersion = '5.18.50860';
|
|
288
288
|
|
|
289
289
|
// -------------------------------------------------------------------------------------
|
|
290
290
|
// guards
|
|
@@ -3507,6 +3507,9 @@ class SuperSelectionApi {
|
|
|
3507
3507
|
async clickPromotedTileAsync(payload) {
|
|
3508
3508
|
return buildBackendApiClient().url('click-promoted-tile').post(payload).res();
|
|
3509
3509
|
}
|
|
3510
|
+
async viewSuperFundPanelAsync(payload) {
|
|
3511
|
+
return buildBackendApiClient().url('view-super-fund-panel').post(payload).res();
|
|
3512
|
+
}
|
|
3510
3513
|
toSearchFilterQueryString(searchFilter) {
|
|
3511
3514
|
return (`search=${searchFilter.searchString}` +
|
|
3512
3515
|
(searchFilter.maxRecordCount > 0 ? '&maxRecordCount=' + searchFilter.maxRecordCount : ''));
|
|
@@ -3701,6 +3704,11 @@ class SuperSelectionAppService {
|
|
|
3701
3704
|
else
|
|
3702
3705
|
throw new Error('Cannot set shown funds for SuperCampaing state because it is undefined');
|
|
3703
3706
|
}
|
|
3707
|
+
viewSuperFundPanelAsync(promotedFundIdListOverride) {
|
|
3708
|
+
return superSelectionApi.viewSuperFundPanelAsync(Object.assign(Object.assign({}, this.promotedFundsConfig), { shownFunds: promotedFundIdListOverride
|
|
3709
|
+
? promotedFundIdListOverride
|
|
3710
|
+
: this.promotedFundsConfig.shownFunds }));
|
|
3711
|
+
}
|
|
3704
3712
|
get superCampaignState() {
|
|
3705
3713
|
return this._state.superCampaignState;
|
|
3706
3714
|
}
|
|
@@ -3806,11 +3814,6 @@ class EventTrackingService {
|
|
|
3806
3814
|
}
|
|
3807
3815
|
});
|
|
3808
3816
|
}
|
|
3809
|
-
async TrackSuperFundPanelViewedAsync(detail) {
|
|
3810
|
-
return this.trackEventAsync({
|
|
3811
|
-
SuperFundPanelViewed: detail
|
|
3812
|
-
});
|
|
3813
|
-
}
|
|
3814
3817
|
async TrackSuperFundNominationViewedAsync(detail) {
|
|
3815
3818
|
return this.trackEventAsync({
|
|
3816
3819
|
SuperFundNominationViewed: detail
|
|
@@ -17002,13 +17005,8 @@ const SuperCampaignHost = class {
|
|
|
17002
17005
|
};
|
|
17003
17006
|
this.fundPanelShown = async (event) => {
|
|
17004
17007
|
if (event.detail.sender == 'super-campaign') {
|
|
17005
|
-
const promotedFundsShown = event.detail.shownFunds.map((f) => f.fundId);
|
|
17006
17008
|
superSelectionAppService.setSuperCampaignPromotedFundsShown(event.detail.shownFunds);
|
|
17007
|
-
await
|
|
17008
|
-
promotedFundsShown,
|
|
17009
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
17010
|
-
superCampaignEnabled: true
|
|
17011
|
-
});
|
|
17009
|
+
await superSelectionAppService.viewSuperFundPanelAsync();
|
|
17012
17010
|
}
|
|
17013
17011
|
};
|
|
17014
17012
|
this.fundTileClicked = async (event) => {
|
|
@@ -17304,11 +17302,7 @@ const SuperChoicePage = class {
|
|
|
17304
17302
|
}
|
|
17305
17303
|
async componentDidLoad() {
|
|
17306
17304
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
17307
|
-
|
|
17308
|
-
promotedFundsShown,
|
|
17309
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
17310
|
-
superCampaignEnabled: false
|
|
17311
|
-
});
|
|
17305
|
+
await superSelectionAppService.viewSuperFundPanelAsync(promotedFundsShown);
|
|
17312
17306
|
}
|
|
17313
17307
|
render() {
|
|
17314
17308
|
const mygovLink = 'https://my.gov.au';
|
|
@@ -77,13 +77,8 @@ export class SuperCampaignHost {
|
|
|
77
77
|
};
|
|
78
78
|
this.fundPanelShown = async (event) => {
|
|
79
79
|
if (event.detail.sender == 'super-campaign') {
|
|
80
|
-
const promotedFundsShown = event.detail.shownFunds.map((f) => f.fundId);
|
|
81
80
|
superSelectionAppService.setSuperCampaignPromotedFundsShown(event.detail.shownFunds);
|
|
82
|
-
await
|
|
83
|
-
promotedFundsShown,
|
|
84
|
-
defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
85
|
-
superCampaignEnabled: true
|
|
86
|
-
});
|
|
81
|
+
await superSelectionAppService.viewSuperFundPanelAsync();
|
|
87
82
|
}
|
|
88
83
|
};
|
|
89
84
|
this.fundTileClicked = async (event) => {
|
|
@@ -61,6 +61,9 @@ export class SuperSelectionApi {
|
|
|
61
61
|
async clickPromotedTileAsync(payload) {
|
|
62
62
|
return buildBackendApiClient().url('click-promoted-tile').post(payload).res();
|
|
63
63
|
}
|
|
64
|
+
async viewSuperFundPanelAsync(payload) {
|
|
65
|
+
return buildBackendApiClient().url('view-super-fund-panel').post(payload).res();
|
|
66
|
+
}
|
|
64
67
|
toSearchFilterQueryString(searchFilter) {
|
|
65
68
|
return (`search=${searchFilter.searchString}` +
|
|
66
69
|
(searchFilter.maxRecordCount > 0 ? '&maxRecordCount=' + searchFilter.maxRecordCount : ''));
|
package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js
CHANGED
|
@@ -46,11 +46,6 @@ export class EventTrackingService {
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
async TrackSuperFundPanelViewedAsync(detail) {
|
|
50
|
-
return this.trackEventAsync({
|
|
51
|
-
SuperFundPanelViewed: detail
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
49
|
async TrackSuperFundNominationViewedAsync(detail) {
|
|
55
50
|
return this.trackEventAsync({
|
|
56
51
|
SuperFundNominationViewed: detail
|
package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js
CHANGED
|
@@ -142,6 +142,11 @@ export class SuperSelectionAppService {
|
|
|
142
142
|
else
|
|
143
143
|
throw new Error('Cannot set shown funds for SuperCampaing state because it is undefined');
|
|
144
144
|
}
|
|
145
|
+
viewSuperFundPanelAsync(promotedFundIdListOverride) {
|
|
146
|
+
return superSelectionApi.viewSuperFundPanelAsync(Object.assign(Object.assign({}, this.promotedFundsConfig), { shownFunds: promotedFundIdListOverride
|
|
147
|
+
? promotedFundIdListOverride
|
|
148
|
+
: this.promotedFundsConfig.shownFunds }));
|
|
149
|
+
}
|
|
145
150
|
get superCampaignState() {
|
|
146
151
|
return this._state.superCampaignState;
|
|
147
152
|
}
|
package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js
CHANGED
|
@@ -15,11 +15,7 @@ export class SuperChoicePage {
|
|
|
15
15
|
}
|
|
16
16
|
async componentDidLoad() {
|
|
17
17
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
18
|
-
|
|
19
|
-
promotedFundsShown,
|
|
20
|
-
defaultFundUsiSet: O.toUndefined(SuperSelectionAppService.defaultFundUsi),
|
|
21
|
-
superCampaignEnabled: false
|
|
22
|
-
});
|
|
18
|
+
await SuperSelectionAppService.viewSuperFundPanelAsync(promotedFundsShown);
|
|
23
19
|
}
|
|
24
20
|
render() {
|
|
25
21
|
const mygovLink = 'https://my.gov.au';
|
|
@@ -260,7 +260,7 @@ class TapSubscriber extends Subscriber {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
const AppVersion = '5.
|
|
263
|
+
const AppVersion = '5.18.50860';
|
|
264
264
|
|
|
265
265
|
// -------------------------------------------------------------------------------------
|
|
266
266
|
// guards
|
|
@@ -3483,6 +3483,9 @@ class SuperSelectionApi {
|
|
|
3483
3483
|
async clickPromotedTileAsync(payload) {
|
|
3484
3484
|
return buildBackendApiClient().url('click-promoted-tile').post(payload).res();
|
|
3485
3485
|
}
|
|
3486
|
+
async viewSuperFundPanelAsync(payload) {
|
|
3487
|
+
return buildBackendApiClient().url('view-super-fund-panel').post(payload).res();
|
|
3488
|
+
}
|
|
3486
3489
|
toSearchFilterQueryString(searchFilter) {
|
|
3487
3490
|
return (`search=${searchFilter.searchString}` +
|
|
3488
3491
|
(searchFilter.maxRecordCount > 0 ? '&maxRecordCount=' + searchFilter.maxRecordCount : ''));
|
|
@@ -3677,6 +3680,11 @@ class SuperSelectionAppService {
|
|
|
3677
3680
|
else
|
|
3678
3681
|
throw new Error('Cannot set shown funds for SuperCampaing state because it is undefined');
|
|
3679
3682
|
}
|
|
3683
|
+
viewSuperFundPanelAsync(promotedFundIdListOverride) {
|
|
3684
|
+
return superSelectionApi.viewSuperFundPanelAsync(Object.assign(Object.assign({}, this.promotedFundsConfig), { shownFunds: promotedFundIdListOverride
|
|
3685
|
+
? promotedFundIdListOverride
|
|
3686
|
+
: this.promotedFundsConfig.shownFunds }));
|
|
3687
|
+
}
|
|
3680
3688
|
get superCampaignState() {
|
|
3681
3689
|
return this._state.superCampaignState;
|
|
3682
3690
|
}
|
|
@@ -3782,11 +3790,6 @@ class EventTrackingService {
|
|
|
3782
3790
|
}
|
|
3783
3791
|
});
|
|
3784
3792
|
}
|
|
3785
|
-
async TrackSuperFundPanelViewedAsync(detail) {
|
|
3786
|
-
return this.trackEventAsync({
|
|
3787
|
-
SuperFundPanelViewed: detail
|
|
3788
|
-
});
|
|
3789
|
-
}
|
|
3790
3793
|
async TrackSuperFundNominationViewedAsync(detail) {
|
|
3791
3794
|
return this.trackEventAsync({
|
|
3792
3795
|
SuperFundNominationViewed: detail
|
|
@@ -16978,13 +16981,8 @@ const SuperCampaignHost = class {
|
|
|
16978
16981
|
};
|
|
16979
16982
|
this.fundPanelShown = async (event) => {
|
|
16980
16983
|
if (event.detail.sender == 'super-campaign') {
|
|
16981
|
-
const promotedFundsShown = event.detail.shownFunds.map((f) => f.fundId);
|
|
16982
16984
|
superSelectionAppService.setSuperCampaignPromotedFundsShown(event.detail.shownFunds);
|
|
16983
|
-
await
|
|
16984
|
-
promotedFundsShown,
|
|
16985
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
16986
|
-
superCampaignEnabled: true
|
|
16987
|
-
});
|
|
16985
|
+
await superSelectionAppService.viewSuperFundPanelAsync();
|
|
16988
16986
|
}
|
|
16989
16987
|
};
|
|
16990
16988
|
this.fundTileClicked = async (event) => {
|
|
@@ -17280,11 +17278,7 @@ const SuperChoicePage = class {
|
|
|
17280
17278
|
}
|
|
17281
17279
|
async componentDidLoad() {
|
|
17282
17280
|
const promotedFundsShown = this.promotedFunds.map((item) => item.fundId);
|
|
17283
|
-
|
|
17284
|
-
promotedFundsShown,
|
|
17285
|
-
defaultFundUsiSet: Option.toUndefined(superSelectionAppService.defaultFundUsi),
|
|
17286
|
-
superCampaignEnabled: false
|
|
17287
|
-
});
|
|
17281
|
+
await superSelectionAppService.viewSuperFundPanelAsync(promotedFundsShown);
|
|
17288
17282
|
}
|
|
17289
17283
|
render() {
|
|
17290
17284
|
const mygovLink = 'https://my.gov.au';
|