@flarehr/apollo-super-selection 4.28.30096 → 4.30.31017

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 (44) 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-hesta.svg +5 -0
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  5. package/dist/lib/apollo-super-selection/p-cb5632d9.entry.js +14 -0
  6. package/dist/lib/apollo-super-selection/p-e32970b5.system.entry.js +69 -0
  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 +288 -177
  10. package/dist/lib/collection/apollo-super-selection.css +1 -1
  11. package/dist/lib/collection/components/app-host/super-selection-app-host.js +4 -0
  12. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +92 -61
  13. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +21 -2
  14. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +12 -1
  15. package/dist/lib/collection/components/super-selection-app/funds/constants.js +3 -1
  16. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/hesta-default.js +41 -0
  17. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/virgin.js +1 -1
  18. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +2 -1
  19. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/types.js +1 -1
  20. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +2 -0
  21. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +61 -45
  22. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +1 -0
  23. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-hesta.svg +5 -0
  24. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +19 -2
  25. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +45 -4
  26. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +12 -7
  27. package/dist/lib/collection/utils/index.js +3 -0
  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 +288 -177
  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 +9 -9
  34. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +22 -0
  35. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/hesta-default.d.ts +3 -0
  36. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +1 -1
  37. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +9 -1
  38. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +1 -0
  39. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +2 -0
  40. package/dist/lib/types/components.d.ts +6 -0
  41. package/dist/lib/types/utils/index.d.ts +1 -0
  42. package/package.json +1 -1
  43. package/dist/lib/apollo-super-selection/p-0936abfe.system.entry.js +0 -69
  44. package/dist/lib/apollo-super-selection/p-8876ba69.entry.js +0 -14
@@ -21,50 +21,60 @@ declare type UserProfileDto = {
21
21
  address: AddressDto;
22
22
  };
23
23
  declare type PromotedFundChoiceDto = {
24
+ kind: 'slate';
24
25
  slate: {
25
26
  memberNumber: string;
26
27
  };
27
28
  } | {
29
+ kind: 'australianRetirementTrust';
28
30
  australianRetirementTrust: {
29
31
  usi: string;
30
32
  memberNumber: string;
31
33
  };
32
34
  } | {
35
+ kind: 'aware';
33
36
  aware: {
34
37
  usi: string;
35
38
  memberNumber: string;
36
39
  };
37
40
  } | {
41
+ kind: 'active';
38
42
  active: {
39
43
  usi: string;
40
44
  memberNumber: string;
41
45
  };
42
46
  } | {
47
+ kind: 'australianEthical';
43
48
  australianEthical: {
44
49
  usi: string;
45
50
  memberNumber: string;
46
51
  };
47
52
  } | {
53
+ kind: 'virgin';
48
54
  virgin: {
49
55
  usi: string;
50
56
  memberNumber: string;
51
57
  };
52
58
  } | {
59
+ kind: 'spirit';
53
60
  spirit: {
54
61
  usi: string;
55
62
  memberNumber: string;
56
63
  };
57
64
  } | {
65
+ kind: 'firstSuper';
58
66
  firstSuper: {
59
67
  usi: string;
60
68
  memberNumber: string;
61
69
  };
62
70
  } | {
71
+ kind: 'mercerMyChoice';
63
72
  mercerMyChoice: {
64
73
  usi: string;
65
74
  memberNumber: string;
66
75
  };
67
76
  };
77
+ export declare function hydratePromotedFundChoiceDtoKind(dto: PromotedFundChoiceDto): void;
68
78
  export declare function getSuperChoiceUsi(dto: SuperChoiceDetailsDto): Option<string>;
69
79
  export declare function getSuperChoiceMemberNumber(dto: SuperChoiceDetailsDto): Option<string>;
70
80
  declare type OwnFundChoiceDto = {
@@ -74,20 +84,32 @@ declare type OwnFundChoiceDto = {
74
84
  declare type DefaultFundChoiceDto = {
75
85
  usi: string;
76
86
  };
87
+ declare type PromotedDefaultFundChoiceDto = {
88
+ usi: string;
89
+ fundId: string;
90
+ };
77
91
  declare type SMSFChoiceDto = {
78
92
  abn: string;
79
93
  fundName: string;
80
94
  electronicServiceAddress: string;
81
95
  };
82
96
  declare type SuperChoiceDetailsDto = {
97
+ kind: 'Promoted';
83
98
  promoted: PromotedFundChoiceDto;
84
99
  } | {
100
+ kind: 'MyOwnFund';
85
101
  myOwnFund: OwnFundChoiceDto;
86
102
  } | {
103
+ kind: 'SMSF';
87
104
  smsf: SMSFChoiceDto;
88
105
  } | {
106
+ kind: 'Default';
89
107
  default: DefaultFundChoiceDto;
108
+ } | {
109
+ kind: 'PromotedDefault';
110
+ promotedDefault: PromotedDefaultFundChoiceDto;
90
111
  };
112
+ export declare function hydrateSuperChoiceDetailsDtoKind(dto: SuperChoiceDetailsDto): void;
91
113
  declare type SuperChoiceDto = {
92
114
  dateSubmitted: string;
93
115
  choiceDetails: SuperChoiceDetailsDto;
@@ -0,0 +1,3 @@
1
+ import { PromotedFund } from '../types';
2
+ declare const fund: PromotedFund;
3
+ export default fund;
@@ -12,7 +12,7 @@ export declare type PromotedFund = {
12
12
  abnInfo?: string;
13
13
  abn?: string;
14
14
  footnoteTextOverride: Option<string>;
15
- dtoPropName: string;
15
+ dtoPropName?: string;
16
16
  isPromotedDefault?: boolean;
17
17
  };
18
18
  export declare const Link: (props: {
@@ -31,7 +31,15 @@ export declare type DefaultFund = {
31
31
  valid: FundValidState;
32
32
  lastNominatedAt: Option<Date>;
33
33
  };
34
- export declare type ExistingFund = PromotedFund | MyOwnFund | SelfManagedFund | DefaultFund;
34
+ export declare type PromotedDefaultFund = {
35
+ type: 'Promoted Default Fund';
36
+ id: string;
37
+ name: string;
38
+ usi: Option<string>;
39
+ valid: FundValidState;
40
+ lastNominatedAt: Option<Date>;
41
+ };
42
+ export declare type ExistingFund = PromotedFund | MyOwnFund | SelfManagedFund | DefaultFund | PromotedDefaultFund;
35
43
  export declare type RetainSuperFundDto = {
36
44
  fundType: string;
37
45
  fundName?: string;
@@ -3,6 +3,7 @@ export declare class SuperChoiceItemBottom {
3
3
  disclaimer: VNode;
4
4
  abnInfo?: string;
5
5
  abn?: string;
6
+ isMultiFund: boolean;
6
7
  private joinFundClicked;
7
8
  render(): Element[];
8
9
  private handleFundClick;
@@ -4,5 +4,7 @@ export declare class SuperChoiceItemTop {
4
4
  logo: string;
5
5
  features: VNode[];
6
6
  featureSubText?: VNode;
7
+ isMultiFund: boolean;
8
+ isPromotedDefault?: boolean;
7
9
  render(): Element[];
8
10
  }
@@ -98,10 +98,13 @@ export namespace Components {
98
98
  "abn"?: string;
99
99
  "abnInfo"?: string;
100
100
  "disclaimer": VNode;
101
+ "isMultiFund": boolean;
101
102
  }
102
103
  interface SssSuperChoiceItemTop {
103
104
  "featureSubText"?: VNode;
104
105
  "features": VNode[];
106
+ "isMultiFund": boolean;
107
+ "isPromotedDefault"?: boolean;
105
108
  "logo": string;
106
109
  "name": string;
107
110
  }
@@ -394,11 +397,14 @@ declare namespace LocalJSX {
394
397
  "abn"?: string;
395
398
  "abnInfo"?: string;
396
399
  "disclaimer"?: VNode;
400
+ "isMultiFund"?: boolean;
397
401
  "onJoinFundClicked"?: (event: CustomEvent<void>) => void;
398
402
  }
399
403
  interface SssSuperChoiceItemTop {
400
404
  "featureSubText"?: VNode;
401
405
  "features"?: VNode[];
406
+ "isMultiFund"?: boolean;
407
+ "isPromotedDefault"?: boolean;
402
408
  "logo"?: string;
403
409
  "name"?: string;
404
410
  }
@@ -1,3 +1,4 @@
1
1
  export * from './config';
2
2
  export * from './lazy';
3
3
  export declare function addSlashToUrl(): void;
4
+ export declare function assertExhaustive(_value: never): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "4.28.30096",
3
+ "version": "4.30.31017",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",