@flarehr/apollo-super-selection 4.19.27767 → 4.20.27915

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 (34) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/assets/logo-mercer-mychoice.svg +1 -0
  3. package/dist/lib/apollo-super-selection/p-13c8f513.system.entry.js +69 -0
  4. package/dist/lib/apollo-super-selection/p-178816b4.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_30.cjs.entry.js +108 -24
  9. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +6 -0
  10. package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -1
  11. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +29 -2
  12. package/dist/lib/collection/components/super-selection-app/funds/constants.js +45 -9
  13. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +3 -0
  14. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +15 -3
  15. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +15 -3
  16. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +2 -0
  17. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-mercer-mychoice.svg +1 -0
  18. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +26 -0
  19. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +11 -6
  20. package/dist/lib/esm/apollo-super-selection.js +1 -1
  21. package/dist/lib/esm/loader.js +1 -1
  22. package/dist/lib/esm/sss-button_30.entry.js +108 -24
  23. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  24. package/dist/lib/esm-es5/loader.js +1 -1
  25. package/dist/lib/esm-es5/sss-button_30.entry.js +3 -3
  26. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
  27. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +3 -0
  28. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +19 -0
  29. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +1 -0
  30. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
  31. package/dist/lib/types/components.d.ts +3 -0
  32. package/package.json +1 -1
  33. package/dist/lib/apollo-super-selection/p-1cab31f8.system.entry.js +0 -69
  34. package/dist/lib/apollo-super-selection/p-70a90d81.entry.js +0 -14
@@ -59,6 +59,11 @@ declare type PromotedFundChoiceDto = {
59
59
  usi: string;
60
60
  memberNumber: string;
61
61
  };
62
+ } | {
63
+ mercerMyChoice: {
64
+ usi: string;
65
+ memberNumber: string;
66
+ };
62
67
  };
63
68
  export declare function getSuperChoiceUsi(dto: SuperChoiceDetailsDto): Option<string>;
64
69
  export declare function getSuperChoiceMemberNumber(dto: SuperChoiceDetailsDto): Option<string>;
@@ -1,3 +1,6 @@
1
+ import { Option } from 'fp-ts/lib/Option';
1
2
  export declare class FooterSection {
3
+ textOverride: Option<string>;
2
4
  render(): Element[];
5
+ private footerText;
3
6
  }
@@ -1,3 +1,4 @@
1
+ import { Option } from 'fp-ts/Option';
1
2
  export declare const Slate: {
2
3
  Id: string;
3
4
  Name: string;
@@ -5,6 +6,7 @@ export declare const Slate: {
5
6
  PdsUrl: string;
6
7
  Usi: string;
7
8
  DiversaAbn: string;
9
+ FooterTextOverride: Option<never>;
8
10
  };
9
11
  export declare const AustralianRetirementTrust: {
10
12
  Id: string;
@@ -12,6 +14,7 @@ export declare const AustralianRetirementTrust: {
12
14
  Logo: string;
13
15
  PdsUrl: string;
14
16
  Abn: string;
17
+ FooterTextOverride: Option<never>;
15
18
  };
16
19
  export declare const Aware: {
17
20
  Id: string;
@@ -19,6 +22,7 @@ export declare const Aware: {
19
22
  Logo: string;
20
23
  PdsUrl: string;
21
24
  Abn: string;
25
+ FooterTextOverride: Option<never>;
22
26
  };
23
27
  export declare const Active: {
24
28
  Id: string;
@@ -26,6 +30,7 @@ export declare const Active: {
26
30
  Logo: string;
27
31
  PdsUrl: string;
28
32
  Abn: string;
33
+ FooterTextOverride: Option<string>;
29
34
  };
30
35
  export declare const AustralianEthical: {
31
36
  Id: string;
@@ -33,6 +38,7 @@ export declare const AustralianEthical: {
33
38
  Logo: string;
34
39
  PdsUrl: string;
35
40
  Abn: string;
41
+ FooterTextOverride: Option<never>;
36
42
  };
37
43
  export declare const Virgin: {
38
44
  Id: string;
@@ -40,6 +46,7 @@ export declare const Virgin: {
40
46
  Logo: string;
41
47
  PdsUrl: string;
42
48
  Abn: string;
49
+ FooterTextOverride: Option<string>;
43
50
  };
44
51
  export declare const Spirit: {
45
52
  Id: string;
@@ -47,6 +54,7 @@ export declare const Spirit: {
47
54
  Logo: string;
48
55
  PdsUrl: string;
49
56
  Abn: string;
57
+ FooterTextOverride: Option<never>;
50
58
  };
51
59
  export declare const First: {
52
60
  Id: string;
@@ -54,11 +62,22 @@ export declare const First: {
54
62
  Logo: string;
55
63
  PdsUrl: string;
56
64
  Abn: string;
65
+ FooterTextOverride: Option<never>;
66
+ };
67
+ export declare const MercerMyChoice: {
68
+ Id: string;
69
+ Name: string;
70
+ Logo: string;
71
+ PdsUrl: string;
72
+ TmdUrl: string;
73
+ Abn: string;
74
+ FooterTextOverride: Option<string>;
57
75
  };
58
76
  export declare const PromotedFundIdList: {
59
77
  dtoPropName: string;
60
78
  id: string;
61
79
  }[];
62
80
  export declare const getFundNameById: (id: string) => string | undefined;
81
+ export declare const getFooterTextOverrideByFundId: (id: string) => Option<string>;
63
82
  export declare const getFundUsiById: (id: string) => string | undefined;
64
83
  export declare const getLogoSrc: (id: string) => string | undefined;
@@ -3,4 +3,5 @@ export declare type PromotedFundState = {
3
3
  };
4
4
  export declare const initial: PromotedFundState;
5
5
  declare const state: PromotedFundState;
6
+ export declare function reset(): void;
6
7
  export default state;
@@ -22,7 +22,8 @@ export declare class SuperSelectionApp {
22
22
  authTokenChanged(newValue: string): void;
23
23
  onRouteChange(): void;
24
24
  render(): Element[];
25
+ private isFundJoinPage;
26
+ private getFooterTextOverride;
25
27
  private routerBaseUrl;
26
28
  private renderAppContent;
27
- private isFundJoinPage;
28
29
  }
@@ -8,6 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { ButtonSize, ButtonVariant } from "./components/super-selection-app/misc/button";
9
9
  import { LocationSegments, RouterHistory } from "@stencil/router";
10
10
  import { SearchResult, SelectInputOption } from "./components/super-selection-app/misc/dropdown-async";
11
+ import { Option } from "fp-ts/lib/Option";
11
12
  import { MyOwnFundFormState } from "./components/super-selection-app/funds/custom-fund/custom-fund.store";
12
13
  import { SelfManagedFundForm } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form";
13
14
  import { FormChangedEvent } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs";
@@ -45,6 +46,7 @@ export namespace Components {
45
46
  "history": RouterHistory;
46
47
  }
47
48
  interface SssFooterSection {
49
+ "textOverride": Option<string>;
48
50
  }
49
51
  interface SssHeaderSection {
50
52
  "currentPage": 'choice' | 'own-fund';
@@ -337,6 +339,7 @@ declare namespace LocalJSX {
337
339
  "history"?: RouterHistory;
338
340
  }
339
341
  interface SssFooterSection {
342
+ "textOverride"?: Option<string>;
340
343
  }
341
344
  interface SssHeaderSection {
342
345
  "currentPage"?: 'choice' | 'own-fund';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "4.19.27767",
3
+ "version": "4.20.27915",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",