@flarehr/apollo-super-selection 4.19.27767 → 4.21.28044

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 (45) 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/assets/logo-mercer-mychoice.svg +1 -0
  4. package/dist/lib/apollo-super-selection/p-35538e87.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/p-a08ef800.entry.js +14 -0
  6. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  7. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  8. package/dist/lib/cjs/loader.cjs.js +1 -1
  9. package/dist/lib/cjs/sss-button_30.cjs.entry.js +147 -126
  10. package/dist/lib/collection/apollo-super-selection.css +1 -1
  11. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +6 -0
  12. package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -1
  13. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +6 -9
  14. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +30 -5
  15. package/dist/lib/collection/components/super-selection-app/funds/constants.js +52 -78
  16. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +3 -0
  17. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +17 -5
  18. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +17 -5
  19. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +2 -0
  20. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +2 -3
  21. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +7 -6
  22. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +12 -4
  23. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-mercer-mychoice.svg +1 -0
  24. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +4 -2
  25. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +1 -2
  26. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +34 -15
  27. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +12 -10
  28. package/dist/lib/esm/apollo-super-selection.js +1 -1
  29. package/dist/lib/esm/loader.js +1 -1
  30. package/dist/lib/esm/sss-button_30.entry.js +147 -126
  31. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  32. package/dist/lib/esm-es5/loader.js +1 -1
  33. package/dist/lib/esm-es5/sss-button_30.entry.js +3 -3
  34. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +5 -0
  35. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +3 -0
  36. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +35 -7
  37. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +1 -0
  38. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +1 -0
  39. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
  40. package/dist/lib/types/components.d.ts +3 -0
  41. package/package.json +1 -1
  42. package/dist/lib/apollo-super-selection/p-1cab31f8.system.entry.js +0 -69
  43. package/dist/lib/apollo-super-selection/p-70a90d81.entry.js +0 -14
  44. package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +0 -5
  45. package/dist/lib/types/components/super-selection-app/services/feature-flag.service.d.ts +0 -3
@@ -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,8 @@ export declare const Slate: {
5
6
  PdsUrl: string;
6
7
  Usi: string;
7
8
  DiversaAbn: string;
9
+ FooterTextOverride: Option<never>;
10
+ DtoPropName: string;
8
11
  };
9
12
  export declare const AustralianRetirementTrust: {
10
13
  Id: string;
@@ -12,6 +15,8 @@ export declare const AustralianRetirementTrust: {
12
15
  Logo: string;
13
16
  PdsUrl: string;
14
17
  Abn: string;
18
+ FooterTextOverride: Option<never>;
19
+ DtoPropName: string;
15
20
  };
16
21
  export declare const Aware: {
17
22
  Id: string;
@@ -19,6 +24,8 @@ export declare const Aware: {
19
24
  Logo: string;
20
25
  PdsUrl: string;
21
26
  Abn: string;
27
+ FooterTextOverride: Option<never>;
28
+ DtoPropName: string;
22
29
  };
23
30
  export declare const Active: {
24
31
  Id: string;
@@ -26,6 +33,8 @@ export declare const Active: {
26
33
  Logo: string;
27
34
  PdsUrl: string;
28
35
  Abn: string;
36
+ FooterTextOverride: Option<string>;
37
+ DtoPropName: string;
29
38
  };
30
39
  export declare const AustralianEthical: {
31
40
  Id: string;
@@ -33,6 +42,8 @@ export declare const AustralianEthical: {
33
42
  Logo: string;
34
43
  PdsUrl: string;
35
44
  Abn: string;
45
+ FooterTextOverride: Option<never>;
46
+ DtoPropName: string;
36
47
  };
37
48
  export declare const Virgin: {
38
49
  Id: string;
@@ -40,6 +51,8 @@ export declare const Virgin: {
40
51
  Logo: string;
41
52
  PdsUrl: string;
42
53
  Abn: string;
54
+ FooterTextOverride: Option<string>;
55
+ DtoPropName: string;
43
56
  };
44
57
  export declare const Spirit: {
45
58
  Id: string;
@@ -47,6 +60,8 @@ export declare const Spirit: {
47
60
  Logo: string;
48
61
  PdsUrl: string;
49
62
  Abn: string;
63
+ FooterTextOverride: Option<never>;
64
+ DtoPropName: string;
50
65
  };
51
66
  export declare const First: {
52
67
  Id: string;
@@ -54,11 +69,24 @@ export declare const First: {
54
69
  Logo: string;
55
70
  PdsUrl: string;
56
71
  Abn: string;
72
+ FooterTextOverride: Option<never>;
73
+ DtoPropName: string;
57
74
  };
58
- export declare const PromotedFundIdList: {
59
- dtoPropName: string;
60
- id: string;
61
- }[];
62
- export declare const getFundNameById: (id: string) => string | undefined;
63
- export declare const getFundUsiById: (id: string) => string | undefined;
64
- export declare const getLogoSrc: (id: string) => string | undefined;
75
+ export declare const MercerMyChoice: {
76
+ Id: string;
77
+ Name: string;
78
+ Logo: string;
79
+ PdsUrl: string;
80
+ TmdUrl: string;
81
+ Abn: string;
82
+ FooterTextOverride: Option<string>;
83
+ DtoPropName: string;
84
+ };
85
+ export declare const getFundByDtoPropName: (dtoPropName: string) => Option<{
86
+ Id: string;
87
+ Name: string;
88
+ }>;
89
+ export declare const getFundNameByFundId: (fundId: string) => Option<string>;
90
+ export declare const getFooterTextOverrideByFundId: (fundId: string) => Option<string>;
91
+ export declare const getFundUsiByFundId: (fundId: string) => Option<string>;
92
+ export declare const getLogoSrcByFundId: (fundId: string) => Option<string>;
@@ -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;
@@ -6,5 +6,6 @@ export declare class StandardChoiceFormInputDefaultFund {
6
6
  private isSubmitDisabled;
7
7
  private formElement;
8
8
  render(): Element[];
9
+ private renderLogo;
9
10
  private handleSubmitForm;
10
11
  }
@@ -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.21.28044",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",