@flarehr/apollo-super-selection 1.3.41586 → 1.3.41671

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 (39) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/p-7aecd826.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-aa7b5568.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  6. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  7. package/dist/lib/cjs/loader.cjs.js +1 -1
  8. package/dist/lib/cjs/sss-button_41.cjs.entry.js +3614 -3498
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/components/app-host/services/appinsights.service.js +3 -0
  11. package/dist/lib/collection/components/super-selection-app/consent/consent.js +20 -2
  12. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +9 -0
  13. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +4 -2
  14. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +2 -2
  15. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +128 -26
  16. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.js +1 -0
  17. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +10 -13
  18. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +0 -1
  19. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +6 -12
  20. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +1 -1
  21. package/dist/lib/esm/apollo-super-selection.js +1 -1
  22. package/dist/lib/esm/loader.js +1 -1
  23. package/dist/lib/esm/sss-button_41.entry.js +3615 -3499
  24. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  25. package/dist/lib/esm-es5/loader.js +1 -1
  26. package/dist/lib/esm-es5/sss-button_41.entry.js +8 -8
  27. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +1 -0
  28. package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +1 -0
  29. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +2 -1
  30. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +12 -2
  31. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +4 -2
  32. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +3 -0
  33. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-types.d.ts +74 -0
  34. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +2 -2
  35. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +0 -1
  36. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -1
  37. package/package.json +1 -1
  38. package/dist/lib/apollo-super-selection/p-4e642455.system.entry.js +0 -69
  39. package/dist/lib/apollo-super-selection/p-a46b913a.entry.js +0 -14
@@ -8,6 +8,7 @@ export declare class AppInsightsService {
8
8
  addCustomProperties(properties: {
9
9
  [key: string]: string;
10
10
  }): void;
11
+ trackErrorTrace(message: string): void;
11
12
  private appInsightsErrorHandler;
12
13
  }
13
14
  declare const _default: AppInsightsService;
@@ -1,6 +1,7 @@
1
1
  import { RouterHistory } from '@stencil/router';
2
2
  export declare class Consent {
3
3
  history: RouterHistory;
4
+ private campaignConnectRequestInProgress;
4
5
  private readonly eventTrackingService;
5
6
  componentDidLoad(): Promise<void>;
6
7
  render(): Element[];
@@ -1,8 +1,9 @@
1
- import { DefaultFundForm, MyOwnFundDto, SelfManagedFundRequestDto } from './custom-fund-choice.api.dto';
1
+ import { DefaultFundForm, DefinedBenefitsDto, MyOwnFundDto, SelfManagedFundRequestDto } from './custom-fund-choice.api.dto';
2
2
  export declare class CustomFundChoiceApi {
3
3
  submitDefaultFundChoiceAsync(dto: DefaultFundForm): Promise<void>;
4
4
  submitCustomFundChoiceAsync(dto: MyOwnFundDto): Promise<void>;
5
5
  submitSelfManagedFundChoiceAsync(dto: SelfManagedFundRequestDto): Promise<void>;
6
+ submitDefinedBenefitsChoiceAsync(dto: DefinedBenefitsDto): Promise<void>;
6
7
  validateAbnForSMSF(abn: string): Promise<boolean>;
7
8
  }
8
9
  declare const _default: CustomFundChoiceApi;
@@ -1,6 +1,5 @@
1
1
  import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
2
2
  declare type CommonDto = {
3
- standardChoiceFormSignature: string;
4
3
  shownFunds: string[];
5
4
  promotedDefaultFundPosition?: number;
6
5
  promotedFundsConfigSource: PromotedFundsConfigSourceDto;
@@ -10,8 +9,11 @@ export declare type MyOwnFundDto = {
10
9
  memberNumber: string;
11
10
  memberFirstName: string;
12
11
  memberFamilyName: string;
12
+ standardChoiceFormSignature: string;
13
+ } & CommonDto;
14
+ export declare type DefaultFundForm = {
15
+ standardChoiceFormSignature: string;
13
16
  } & CommonDto;
14
- export declare type DefaultFundForm = CommonDto;
15
17
  export declare type AustralianFundAddressDto = {
16
18
  addressLine1: string;
17
19
  addressLine2: string | null;
@@ -32,6 +34,14 @@ export declare type SelfManagedFundDto = {
32
34
  };
33
35
  export declare type SelfManagedFundRequestDto = {
34
36
  smsfChoice: SelfManagedFundDto;
37
+ standardChoiceFormSignature: string;
38
+ } & CommonDto;
39
+ export declare type DefinedBenefitsDto = {
40
+ fundUsi: string;
41
+ fundId: string;
42
+ memberNumber: string;
43
+ memberElectContributionRatePreTax: number;
44
+ memberElectContributionRatePostTax: number;
35
45
  } & CommonDto;
36
46
  export declare type AbnUsedForRegulatedFundResponseDto = {
37
47
  result: boolean;
@@ -1,6 +1,8 @@
1
1
  export declare type PromotedFundState = {
2
- fundId: string;
3
- isPromotedDefault: boolean;
2
+ fund: {
3
+ id: string;
4
+ type: 'Promoted' | 'PromotedDefault' | 'DefinedBenefits' | 'null';
5
+ };
4
6
  };
5
7
  export declare const initial: PromotedFundState;
6
8
  declare const state: PromotedFundState, reset: () => void;
@@ -2,6 +2,9 @@ import { RouterHistory } from '@stencil/router';
2
2
  declare class PromotedFundJoinV2IFrameBuilder {
3
3
  build(iframe: HTMLIFrameElement, history: RouterHistory): void;
4
4
  private getMemberData;
5
+ private getFundName;
6
+ private cleanUsi;
7
+ private stringIsNullOrEmtpty;
5
8
  private environmentDiscriminator;
6
9
  private promotedFundJoinAppUrl;
7
10
  }
@@ -0,0 +1,74 @@
1
+ export declare type PromotedFundJoinMemberData = {
2
+ title: string;
3
+ firstName: string;
4
+ middleName?: string;
5
+ lastName: string;
6
+ dateOfBirth: string;
7
+ gender: string;
8
+ email: string;
9
+ mobilePhone: string;
10
+ taxFileNumber: string;
11
+ addressLine1: string;
12
+ addressLine2?: string;
13
+ city: string;
14
+ state: string;
15
+ postCode: string;
16
+ country?: string;
17
+ };
18
+ declare type PromotedFundJoinAppParams = {
19
+ partnerId: string;
20
+ accountId: string;
21
+ fundId: string;
22
+ authToken: string;
23
+ employerDefault: boolean;
24
+ };
25
+ export declare type PromotedFundJoinData = PromotedFundJoinMemberData & PromotedFundJoinAppParams;
26
+ export declare type NotificationData = {
27
+ sender: 'promoted-fund-redirect';
28
+ type: 'success';
29
+ usi: string;
30
+ memberNumber: string;
31
+ memberFirstName: string;
32
+ memberFamilyName: string;
33
+ } | {
34
+ sender: 'promoted-fund-redirect';
35
+ type: 'success-promoted';
36
+ fundId: string;
37
+ usi: string;
38
+ memberNumber: string;
39
+ memberFirstName: string;
40
+ memberFamilyName: string;
41
+ } | {
42
+ sender: 'promoted-fund-redirect';
43
+ type: 'success-promoted-default';
44
+ fundId: string;
45
+ usi: string;
46
+ } | {
47
+ sender: 'promoted-fund-redirect';
48
+ type: 'success-promoted-default-with-join';
49
+ fundId: string;
50
+ usi: string;
51
+ memberNumber: string;
52
+ memberFirstName: string;
53
+ memberFamilyName: string;
54
+ } | {
55
+ sender: 'promoted-fund-redirect';
56
+ type: 'success-defined-benefits';
57
+ fundId: string;
58
+ usi: string;
59
+ memberNumber: string;
60
+ memberElectContributionRatePreTax: number;
61
+ memberElectContributionRatePostTax: number;
62
+ } | {
63
+ sender: 'promoted-fund-redirect';
64
+ type: 'cancel';
65
+ } | {
66
+ sender: 'promoted-fund-join';
67
+ type: 'contentResized';
68
+ height: number;
69
+ width: number;
70
+ } | {
71
+ sender: 'promoted-fund-join';
72
+ type: 'pageNavigated';
73
+ };
74
+ export {};
@@ -19,6 +19,7 @@ export declare class SuperSelectionAppService {
19
19
  get promotedFunds(): string[];
20
20
  get promotedDefaultFundPosition(): O.Option<number>;
21
21
  get promotedFundsConfig(): PromotedFundsConfig;
22
+ get definedBenefitsFundId(): O.Option<string>;
22
23
  get profileId(): string;
23
24
  get defaultFundUsi(): O.Option<string>;
24
25
  get accountIdOrDefault(): string;
@@ -29,8 +30,7 @@ export declare class SuperSelectionAppService {
29
30
  get campaignConnectEnabled(): boolean;
30
31
  get isDefinedBenefitsEligible(): O.Option<boolean>;
31
32
  loadAppStateAsync(): Promise<void>;
32
- startLoadingCampaignConnectAsync(): Promise<void>;
33
- completeCampaignConnectRequestSafe(): Promise<void>;
33
+ loadCampaignConnectAsync(): Promise<void>;
34
34
  }
35
35
  declare const _default: SuperSelectionAppService;
36
36
  export default _default;
@@ -13,7 +13,6 @@ export declare type AppContextState = {
13
13
  hasSuccessPageBeenAcknowledged: boolean;
14
14
  hasSuperSelectionBeenSubmitted: boolean;
15
15
  campaignConnectEnabled: boolean;
16
- campaignConnectPromise: O.Option<Promise<CampaignConnectDto>>;
17
16
  isDefinedBenefitsEligible: O.Option<boolean>;
18
17
  campaignConnect: O.Option<CampaignConnectDto>;
19
18
  superCampaignEnabled: boolean;
@@ -2,7 +2,6 @@ import { RouterHistory } from '@stencil/router';
2
2
  export declare class SuperChoicePage {
3
3
  history: RouterHistory;
4
4
  private promotedFunds;
5
- private campaignConnectRequestInProgress;
6
5
  private readonly eventTrackingService;
7
6
  componentDidLoad(): Promise<void>;
8
7
  render(): Element[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "1.3.41586",
3
+ "version": "1.3.41671",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",