@flarehr/apollo-super-selection 4.40.35800 → 4.41.36202

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 (36) 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-4e75be8d.system.entry.js → p-5ca1df0f.system.entry.js} +12 -12
  4. package/dist/lib/apollo-super-selection/p-8b6b22f0.entry.js +14 -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_38.cjs.entry.js +131 -28
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/components/super-selection-app/consent/consent.js +6 -1
  11. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +5 -0
  12. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +6 -0
  13. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +5 -0
  14. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +13 -3
  15. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +20 -3
  16. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +8 -1
  17. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +2 -1
  18. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +6 -0
  19. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +5 -0
  20. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +5 -0
  21. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +1 -0
  22. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +50 -10
  23. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +1 -0
  24. package/dist/lib/esm/apollo-super-selection.js +1 -1
  25. package/dist/lib/esm/loader.js +1 -1
  26. package/dist/lib/esm/sss-button_38.entry.js +131 -28
  27. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  28. package/dist/lib/esm-es5/loader.js +1 -1
  29. package/dist/lib/esm-es5/sss-button_38.entry.js +1 -1
  30. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +22 -0
  31. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +1 -0
  32. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +2 -0
  33. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +2 -2
  34. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +28 -0
  35. package/package.json +2 -2
  36. package/dist/lib/apollo-super-selection/p-c6e6d600.entry.js +0 -14
@@ -100,6 +100,26 @@ export declare type SuperFundDetailViewedDetail = {
100
100
  } | {
101
101
  DefaultFund: ViewedDefaultFundDetail;
102
102
  };
103
+ export declare type SuperFundDetailChangeRequested = {
104
+ PromotedFund: {
105
+ memberNumber: string;
106
+ } & ViewedPromotedFundDetail;
107
+ } | {
108
+ PromotedDefaultFund: ViewedPromotedDefaultFundDetail;
109
+ } | {
110
+ MyOwnFund: {
111
+ fundName: string;
112
+ fundUsi: string;
113
+ memberNumber: string;
114
+ } & ViewedMyOwnFundDetail;
115
+ } | {
116
+ Smsf: {
117
+ fundName: string;
118
+ fundEsa: string;
119
+ } & ViewedSmsfDetail;
120
+ } | {
121
+ DefaultFund: ViewedDefaultFundDetail;
122
+ };
103
123
  export declare type SuperSelectionAnalyticsEvent = {
104
124
  FinancialProductViewed: FinancialProductViewedDetail;
105
125
  } | {
@@ -114,6 +134,8 @@ export declare type SuperSelectionAnalyticsEvent = {
114
134
  SuperFundDetailViewed: SuperFundDetailViewedDetail;
115
135
  } | {
116
136
  SuperFundPanelViewed: SuperFundPanelViewedDetail;
137
+ } | {
138
+ SuperFundDetailChangeRequested: SuperFundDetailChangeRequested;
117
139
  } | {
118
140
  SuperFundNominationViewed: SuperFundNominationViewedDetail;
119
141
  } | {
@@ -20,5 +20,6 @@ export declare class EventTrackingService {
20
20
  TrackSuperFundDisclaimerAcceptedAsync(detail: model.SuperFundDisclaimerAcceptedDetail): Promise<void>;
21
21
  TrackSuperFundPrefillViewedAsync(detail: model.SuperFundPrefillViewedDetail): Promise<void>;
22
22
  TrackSuperFundPrefillDeclinedAsync(detail: model.SuperFundPrefillDeclinedDetail): Promise<void>;
23
+ TrackSuperFundDetailChangeRequestedAsync(detail: model.SuperFundDetailChangeRequested): Promise<void>;
23
24
  private trackEventAsync;
24
25
  }
@@ -1,9 +1,11 @@
1
1
  import { RouterHistory } from '@stencil/router';
2
+ import { FundDetails } from './../standard-choice/standard-choice-form.store';
2
3
  declare class NavigationService {
3
4
  navigateInternally(history: RouterHistory, route: string): void;
4
5
  navigateInternallyToStandardChoice(options: {
5
6
  history: RouterHistory;
6
7
  fundName: string;
8
+ fundDetails: FundDetails;
7
9
  handleSubmitFn: (standardChoiceFormSignature: string) => Promise<void>;
8
10
  promotedFundId?: string;
9
11
  }): void;
@@ -4,13 +4,13 @@ export declare class StandardChoiceFormInputDefaultFund {
4
4
  private standardChoiceFormSignature;
5
5
  private formState;
6
6
  private isSubmitDisabled;
7
- private changeFundUrl;
7
+ private readonly eventTrackingService;
8
8
  private formElement;
9
9
  connectedCallback(): void;
10
10
  disconnectedCallback(): void;
11
- componentWillLoad(): Promise<void>;
12
11
  render(): Element[];
13
12
  private renderLogo;
13
+ private trackChangeRequestedAsync;
14
14
  private handleSubmitForm;
15
15
  private ignorePopState;
16
16
  }
@@ -1,6 +1,34 @@
1
+ export declare type FundDetails = {
2
+ type: 'smsf';
3
+ fundName: string;
4
+ fundEsa: string;
5
+ } | {
6
+ type: 'myOwnFund';
7
+ fundName: string;
8
+ fundUsi: string;
9
+ memberNumber: string;
10
+ } | {
11
+ type: 'default';
12
+ fundName: string;
13
+ fundUsi: string;
14
+ } | {
15
+ type: 'promoted';
16
+ fundName: string;
17
+ fundUsi: string;
18
+ memberNumber: string;
19
+ promotedFundId: string;
20
+ } | {
21
+ type: 'promotedDefault';
22
+ fundName: string;
23
+ fundUsi: string;
24
+ promotedFundId: string;
25
+ } | {
26
+ type: 'null';
27
+ };
1
28
  export declare type StandardChoiceFormState = {
2
29
  handleSubmitFn: (standardChoiceFormSignature: string) => Promise<void>;
3
30
  fundName: string;
31
+ fundDetails: FundDetails;
4
32
  promotedFundId?: string;
5
33
  };
6
34
  export declare const initial: StandardChoiceFormState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "4.40.35800",
3
+ "version": "4.41.36202",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",
@@ -36,7 +36,7 @@
36
36
  "@stencil/store": "^1.3.0",
37
37
  "@tailwindcss/forms": "^0.5.1",
38
38
  "@types/jest": "^26.0.20",
39
- "@types/node": "^14.14.21",
39
+ "@types/node": "^14.18.63",
40
40
  "@types/resize-observer-browser": "^0.1.5",
41
41
  "@typescript-eslint/eslint-plugin": "^4.14.0",
42
42
  "@typescript-eslint/parser": "^4.14.0",