@flarehr/apollo-super-selection 5.17.50662 → 5.19.51276

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.
Files changed (21) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/{p-40d52425.entry.js → p-05cb2520.entry.js} +2 -2
  3. package/dist/lib/apollo-super-selection/{p-d7f9d782.system.entry.js → p-18d285f6.system.entry.js} +2 -2
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  5. package/dist/lib/cjs/sss-button_43.cjs.entry.js +11 -17
  6. package/dist/lib/collection/components/super-campaign/super-campaign.js +1 -6
  7. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +3 -0
  8. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -5
  9. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +5 -0
  10. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +1 -5
  11. package/dist/lib/esm/sss-button_43.entry.js +11 -17
  12. package/dist/lib/esm-es5/sss-button_43.entry.js +2 -2
  13. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -7
  14. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
  15. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
  16. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +5 -11
  17. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +4 -13
  18. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +2 -5
  19. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -1
  20. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +3 -7
  21. package/package.json +1 -1
@@ -77,11 +77,6 @@ export declare const SuperFundDisclaimerViewedDetail: {
77
77
  export declare type SuperFundDisclaimerAcceptedDetail = {
78
78
  superCampaignEnabled: boolean;
79
79
  };
80
- export declare type SuperFundPanelViewedDetail = {
81
- promotedFundsShown: Array<string>;
82
- defaultFundUsiSet?: string;
83
- superCampaignEnabled: boolean;
84
- };
85
80
  export declare type SuperFundDetailViewedDetail = {
86
81
  PromotedFund: ViewedPromotedFundDetail;
87
82
  } | {
@@ -128,8 +123,6 @@ export declare type SuperSelectionAnalyticsEvent = {
128
123
  SuperFundPdsViewed: SuperFundPdsViewedDetail;
129
124
  } | {
130
125
  SuperFundDetailViewed: SuperFundDetailViewedDetail;
131
- } | {
132
- SuperFundPanelViewed: SuperFundPanelViewedDetail;
133
126
  } | {
134
127
  SuperFundDetailChangeRequested: SuperFundDetailChangeRequested;
135
128
  } | {
@@ -1,4 +1,4 @@
1
- import { AppStateDto, AustralianFundDto, AustralianFundsLookupResponseDto, CampaignConnectDto, ClickPromotedTileDto } from './super-selection.api.dto';
1
+ import { AppStateDto, AustralianFundDto, AustralianFundsLookupResponseDto, CampaignConnectDto, ClickPromotedTileDto, PromotedFundsConfigDto } from './super-selection.api.dto';
2
2
  export declare type SuperFundSearchFilter = {
3
3
  searchString: string;
4
4
  maxRecordCount: number;
@@ -9,6 +9,7 @@ export declare class SuperSelectionApi {
9
9
  getAppStateAsync(): Promise<AppStateDto>;
10
10
  getCampaignConnectAsync(): Promise<CampaignConnectDto>;
11
11
  clickPromotedTileAsync(payload: ClickPromotedTileDto): Promise<void>;
12
+ viewSuperFundPanelAsync(payload: PromotedFundsConfigDto): Promise<void>;
12
13
  private toSearchFilterQueryString;
13
14
  private toQueryString;
14
15
  }
@@ -233,4 +233,9 @@ export declare type ClickPromotedTileDto = {
233
233
  fundId: string;
234
234
  };
235
235
  };
236
+ export declare type PromotedFundsConfigDto = {
237
+ shownFunds: string[];
238
+ promotedDefaultFundPosition?: number;
239
+ promotedFundsConfigSource: PromotedFundsConfigSourceDto;
240
+ };
236
241
  export {};
@@ -1,19 +1,14 @@
1
- import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
2
- declare type CommonDto = {
3
- shownFunds: string[];
4
- promotedDefaultFundPosition?: number;
5
- promotedFundsConfigSource: PromotedFundsConfigSourceDto;
6
- };
1
+ import { PromotedFundsConfigDto } from '../../../api/super-selection.api.dto';
7
2
  export declare type MyOwnFundDto = {
8
3
  fundUsi: string;
9
4
  memberNumber: string;
10
5
  memberFirstName: string;
11
6
  memberFamilyName: string;
12
7
  standardChoiceFormSignature: string;
13
- } & CommonDto;
8
+ } & PromotedFundsConfigDto;
14
9
  export declare type DefaultFundForm = {
15
10
  standardChoiceFormSignature: string;
16
- } & CommonDto;
11
+ } & PromotedFundsConfigDto;
17
12
  export declare type AustralianFundAddressDto = {
18
13
  addressLine1: string;
19
14
  addressLine2: string | null;
@@ -35,15 +30,14 @@ export declare type SelfManagedFundDto = {
35
30
  export declare type SelfManagedFundRequestDto = {
36
31
  smsfChoice: SelfManagedFundDto;
37
32
  standardChoiceFormSignature: string;
38
- } & CommonDto;
33
+ } & PromotedFundsConfigDto;
39
34
  export declare type DefinedBenefitsDto = {
40
35
  fundUsi: string;
41
36
  fundId: string;
42
37
  memberNumber: string;
43
38
  memberElectContributionRatePreTax: number;
44
39
  memberElectContributionRatePostTax: number;
45
- } & CommonDto;
40
+ } & PromotedFundsConfigDto;
46
41
  export declare type AbnUsedForRegulatedFundResponseDto = {
47
42
  result: boolean;
48
43
  };
49
- export {};
@@ -1,4 +1,4 @@
1
- import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
1
+ import { PromotedFundsConfigDto } from '../../../api/super-selection.api.dto';
2
2
  export declare type PromotedFundChoiceRequestDto = {
3
3
  fundId: string;
4
4
  usi?: string;
@@ -6,20 +6,14 @@ export declare type PromotedFundChoiceRequestDto = {
6
6
  memberFirstName?: string;
7
7
  memberFamilyName?: string;
8
8
  standardChoiceFormSignature: string;
9
- shownFunds: string[];
10
9
  defaultFundUsiSet?: string;
11
- promotedDefaultFundPosition?: number;
12
- promotedFundsConfigSource: PromotedFundsConfigSourceDto;
13
- };
10
+ } & PromotedFundsConfigDto;
14
11
  export declare type PromotedDefaultFundChoiceRequestDto = {
15
12
  fundId: string;
16
13
  usi: string;
17
14
  standardChoiceFormSignature: string;
18
- shownFunds: string[];
19
15
  defaultFundUsiSet?: string;
20
- promotedDefaultFundPosition?: number;
21
- promotedFundsConfigSource: PromotedFundsConfigSourceDto;
22
- };
16
+ } & PromotedFundsConfigDto;
23
17
  export declare type PromotedDefaultFundWithJoinChoiceRequestDto = {
24
18
  fundId: string;
25
19
  usi: string;
@@ -27,8 +21,5 @@ export declare type PromotedDefaultFundWithJoinChoiceRequestDto = {
27
21
  memberFirstName: string;
28
22
  memberFamilyName: string;
29
23
  standardChoiceFormSignature: string;
30
- shownFunds: string[];
31
24
  defaultFundUsiSet?: string;
32
- promotedDefaultFundPosition?: number;
33
- promotedFundsConfigSource: PromotedFundsConfigSourceDto;
34
- };
25
+ } & PromotedFundsConfigDto;
@@ -1,11 +1,8 @@
1
- import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
1
+ import { PromotedFundsConfigDto } from '../../../api/super-selection.api.dto';
2
2
  export declare type SlateFundForm = {
3
3
  memberNumber: string;
4
4
  memberFirstName?: string;
5
5
  memberFamilyName?: string;
6
6
  standardChoiceFormSignature: string;
7
- shownFunds: string[];
8
7
  defaultFundUsiSet?: string;
9
- promotedDefaultFundPosition?: number;
10
- promotedFundsConfigSource: PromotedFundsConfigSourceDto;
11
- };
8
+ } & PromotedFundsConfigDto;
@@ -9,7 +9,6 @@ export declare class EventTrackingService {
9
9
  TrackMyOwnSuperFundDetailViewedAsync(detail: model.ViewedMyOwnFundDetail): Promise<void>;
10
10
  TrackSmsfSuperFundDetailViewedAsync(detail: model.ViewedSmsfDetail): Promise<void>;
11
11
  TrackDefaultSuperFundDetailViewedAsync(detail: model.ViewedDefaultFundDetail): Promise<void>;
12
- TrackSuperFundPanelViewedAsync(detail: model.SuperFundPanelViewedDetail): Promise<void>;
13
12
  TrackSuperFundNominationViewedAsync(detail: model.SuperFundNominationViewedDetail): Promise<void>;
14
13
  TrackSuperFundNominationDeclinedAsync(detail: model.SuperFundNominationDeclinedDetail): Promise<void>;
15
14
  TrackSuperFundDisclaimerViewedAsync(detail: model.SuperFundDisclaimerViewedDetail): Promise<void>;
@@ -1,13 +1,8 @@
1
1
  import { OnChangeHandler } from '@stencil/store/dist/types';
2
2
  import * as O from 'fp-ts/lib/Option';
3
3
  import { ShownFund as SuperCampaignShownFund } from '../../super-campaign/super-campaign-types';
4
- import { PromotedFundsConfigSourceDto, SuperBuyerDto } from '../api/super-selection.api.dto';
4
+ import { PromotedFundsConfigDto, SuperBuyerDto } from '../api/super-selection.api.dto';
5
5
  import { AppContextState, SuperCampaignComponentStatus, SuperCampaignState } from './super-selection.store';
6
- export declare type PromotedFundsConfig = {
7
- shownFunds: string[];
8
- promotedDefaultFundPosition?: number;
9
- promotedFundsConfigSource: PromotedFundsConfigSourceDto;
10
- };
11
6
  export declare class SuperSelectionAppService {
12
7
  private readonly _state;
13
8
  private readonly _onChange;
@@ -19,7 +14,7 @@ export declare class SuperSelectionAppService {
19
14
  get appBaseUrl(): string;
20
15
  get promotedFunds(): string[];
21
16
  get promotedDefaultFundPosition(): O.Option<number>;
22
- get promotedFundsConfig(): PromotedFundsConfig;
17
+ get promotedFundsConfig(): PromotedFundsConfigDto;
23
18
  get definedBenefitsFundId(): O.Option<string>;
24
19
  get profileId(): string;
25
20
  get defaultFundUsi(): O.Option<string>;
@@ -33,6 +28,7 @@ export declare class SuperSelectionAppService {
33
28
  loadAppStateAsync(): Promise<void>;
34
29
  loadCampaignConnectAsync(): Promise<void>;
35
30
  setSuperCampaignPromotedFundsShown(shownFunds: SuperCampaignShownFund[]): void;
31
+ viewSuperFundPanelAsync(promotedFundIdListOverride?: string[]): Promise<void>;
36
32
  get superCampaignState(): SuperCampaignState | undefined;
37
33
  get superCampaignComponentStatus(): SuperCampaignComponentStatus;
38
34
  set superCampaignComponentStatus(value: SuperCampaignComponentStatus);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "5.17.50662",
3
+ "version": "5.19.51276",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",