@flarehr/apollo-super-selection 4.28.30096 → 4.29.30453

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 (31) 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-0936abfe.system.entry.js → p-16367be3.system.entry.js} +1 -1
  4. package/dist/lib/apollo-super-selection/{p-8876ba69.entry.js → p-29a35f2a.entry.js} +4 -4
  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 +130 -135
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +71 -86
  11. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +1 -1
  12. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/funds/hesta-default.js +23 -0
  13. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +61 -45
  14. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +1 -0
  15. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +19 -1
  16. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +1 -1
  17. package/dist/lib/collection/utils/index.js +3 -0
  18. package/dist/lib/esm/apollo-super-selection.js +1 -1
  19. package/dist/lib/esm/loader.js +1 -1
  20. package/dist/lib/esm/sss-button_30.entry.js +130 -135
  21. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  22. package/dist/lib/esm-es5/loader.js +1 -1
  23. package/dist/lib/esm-es5/sss-button_30.entry.js +3 -3
  24. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +20 -0
  25. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/hesta-default.d.ts +3 -0
  26. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +1 -1
  27. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +9 -1
  28. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +1 -0
  29. package/dist/lib/types/components.d.ts +2 -0
  30. package/dist/lib/types/utils/index.d.ts +1 -0
  31. package/package.json +1 -1
@@ -21,45 +21,54 @@ 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;
@@ -74,19 +83,30 @@ declare type OwnFundChoiceDto = {
74
83
  declare type DefaultFundChoiceDto = {
75
84
  usi: string;
76
85
  };
86
+ declare type PromotedDefaultFundChoiceDto = {
87
+ usi: string;
88
+ fundId: string;
89
+ };
77
90
  declare type SMSFChoiceDto = {
78
91
  abn: string;
79
92
  fundName: string;
80
93
  electronicServiceAddress: string;
81
94
  };
82
95
  declare type SuperChoiceDetailsDto = {
96
+ kind: 'Promoted';
83
97
  promoted: PromotedFundChoiceDto;
84
98
  } | {
99
+ kind: 'MyOwnFund';
85
100
  myOwnFund: OwnFundChoiceDto;
86
101
  } | {
102
+ kind: 'SMSF';
87
103
  smsf: SMSFChoiceDto;
88
104
  } | {
105
+ kind: 'Default';
89
106
  default: DefaultFundChoiceDto;
107
+ } | {
108
+ kind: 'PromotedDefault';
109
+ promotedDefault: PromotedDefaultFundChoiceDto;
90
110
  };
91
111
  declare type SuperChoiceDto = {
92
112
  dateSubmitted: string;
@@ -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;
@@ -4,5 +4,6 @@ export declare class SuperChoiceItemTop {
4
4
  logo: string;
5
5
  features: VNode[];
6
6
  featureSubText?: VNode;
7
+ isPromotedDefault?: boolean;
7
8
  render(): Element[];
8
9
  }
@@ -102,6 +102,7 @@ export namespace Components {
102
102
  interface SssSuperChoiceItemTop {
103
103
  "featureSubText"?: VNode;
104
104
  "features": VNode[];
105
+ "isPromotedDefault"?: boolean;
105
106
  "logo": string;
106
107
  "name": string;
107
108
  }
@@ -399,6 +400,7 @@ declare namespace LocalJSX {
399
400
  interface SssSuperChoiceItemTop {
400
401
  "featureSubText"?: VNode;
401
402
  "features"?: VNode[];
403
+ "isPromotedDefault"?: boolean;
402
404
  "logo"?: string;
403
405
  "name"?: string;
404
406
  }
@@ -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.29.30453",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",