@flarehr/apollo-super-selection 4.32.31414 → 4.34.34409

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 (65) 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-unisuper.svg +15 -0
  4. package/dist/lib/apollo-super-selection/p-64f29eca.system.entry.js +69 -0
  5. package/dist/lib/apollo-super-selection/p-95403f2f.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 → sss-button_38.cjs.entry.js} +948 -9
  10. package/dist/lib/collection/apollo-super-selection.css +1 -1
  11. package/dist/lib/collection/collection-manifest.json +16 -0
  12. package/dist/lib/collection/components/app-host/super-selection-app-host.css +2 -2
  13. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +10 -0
  14. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +1 -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/unisuper-default.js +49 -0
  17. package/dist/lib/collection/components/super-selection-app/misc/button.js +2 -1
  18. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-common.js +22 -0
  19. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-display-field.js +41 -0
  20. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-error-box.js +76 -0
  21. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.js +121 -0
  22. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-invalid-smsf.js +144 -0
  23. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-my-own-fund.js +217 -0
  24. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-smsf.js +355 -0
  25. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-types.js +281 -0
  26. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill-warning-box.js +46 -0
  27. package/dist/lib/collection/components/super-selection-app/prefill-fund/prefill.js +73 -0
  28. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +10 -0
  29. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +10 -0
  30. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +1 -0
  31. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +1 -0
  32. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +8 -0
  33. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-unisuper.svg +15 -0
  34. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +4 -1
  35. package/dist/lib/esm/apollo-super-selection.js +1 -1
  36. package/dist/lib/esm/loader.js +1 -1
  37. package/dist/lib/esm/{sss-button_30.entry.js → sss-button_38.entry.js} +941 -10
  38. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  39. package/dist/lib/esm-es5/loader.js +1 -1
  40. package/dist/lib/esm-es5/sss-button_38.entry.js +69 -0
  41. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +20 -0
  42. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +39 -0
  43. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +3 -0
  44. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +1 -1
  45. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/funds/unisuper-default.d.ts +3 -0
  46. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +1 -1
  47. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-common.d.ts +9 -0
  48. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-display-field.d.ts +5 -0
  49. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-error-box.d.ts +5 -0
  50. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-my-own-fund.d.ts +18 -0
  51. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-invalid-smsf.d.ts +28 -0
  52. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-my-own-fund.d.ts +30 -0
  53. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-smsf.d.ts +48 -0
  54. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-types.d.ts +90 -0
  55. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill-warning-box.d.ts +4 -0
  56. package/dist/lib/types/components/super-selection-app/prefill-fund/prefill.d.ts +11 -0
  57. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +2 -0
  58. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +5 -0
  59. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +2 -1
  60. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +3 -0
  61. package/dist/lib/types/components.d.ts +132 -0
  62. package/package.json +2 -2
  63. package/dist/lib/apollo-super-selection/p-8921567f.entry.js +0 -14
  64. package/dist/lib/apollo-super-selection/p-e8506380.system.entry.js +0 -69
  65. package/dist/lib/esm-es5/sss-button_30.entry.js +0 -69
@@ -59,6 +59,22 @@ export declare type SuperFundNominationViewedDetail = {
59
59
  fundStatus: string;
60
60
  lastNominatedAt: string;
61
61
  };
62
+ export declare type SuperFundPrefillViewedDetail = {
63
+ fundType: string;
64
+ isUsiValid?: boolean;
65
+ isMemberNumberPresent?: boolean;
66
+ isMemberFirstNamePresent: boolean;
67
+ isMemberLastNamePresent: boolean;
68
+ isAbnValid?: boolean;
69
+ };
70
+ export declare type SuperFundPrefillDeclinedDetail = {
71
+ fundType: string;
72
+ isUsiValid?: boolean;
73
+ isMemberNumberPresent?: boolean;
74
+ isMemberFirstNamePresent: boolean;
75
+ isMemberLastNamePresent: boolean;
76
+ isAbnValid?: boolean;
77
+ };
62
78
  export declare type SuperFundNominationDeclinedDetail = {
63
79
  fundType: string;
64
80
  fundName?: string;
@@ -106,6 +122,10 @@ export declare type SuperSelectionAnalyticsEvent = {
106
122
  SuperFundDisclaimerViewed: SuperFundDisclaimerViewedDetail;
107
123
  } | {
108
124
  SuperFundDisclaimerAccepted: SuperFundDisclaimerAcceptedDetail;
125
+ } | {
126
+ SuperFundPrefillViewed: SuperFundPrefillViewedDetail;
127
+ } | {
128
+ SuperFundPrefillDeclined: SuperFundPrefillDeclinedDetail;
109
129
  };
110
130
  export declare type SuperSelectionEventDto = {
111
131
  event: SuperSelectionAnalyticsEvent;
@@ -93,6 +93,37 @@ declare type SMSFChoiceDto = {
93
93
  fundName: string;
94
94
  electronicServiceAddress: string;
95
95
  };
96
+ export declare type PrefillOwnFundChoiceDto = {
97
+ fundDetail: {
98
+ type: 'Valid';
99
+ fundUsi: string;
100
+ fundName: string;
101
+ } | {
102
+ type: 'Invalid';
103
+ fundUsi: string;
104
+ };
105
+ memberNumber: string | null;
106
+ memberFirstName: string | null;
107
+ memberFamilyName: string | null;
108
+ };
109
+ export declare type PrefillSMSFChoiceDto = {
110
+ fundAbn: {
111
+ valid: boolean;
112
+ value: string;
113
+ };
114
+ fundName: string | null;
115
+ addressLine1: string | null;
116
+ addressLine2: string | null;
117
+ addressCity: string | null;
118
+ addressState: string | null;
119
+ addressPostcode: string | null;
120
+ bankAccountBsb: string | null;
121
+ bankAccountName: string | null;
122
+ bankAccountNumber: string | null;
123
+ electronicServiceAddress: string | null;
124
+ memberFirstName: string | null;
125
+ memberFamilyName: string | null;
126
+ };
96
127
  declare type SuperChoiceDetailsDto = {
97
128
  kind: 'Promoted';
98
129
  promoted: PromotedFundChoiceDto;
@@ -114,6 +145,13 @@ declare type SuperChoiceDto = {
114
145
  dateSubmitted: string;
115
146
  choiceDetails: SuperChoiceDetailsDto;
116
147
  };
148
+ export declare type SuperChoicePrefillDto = {
149
+ type: 'myOwnFund';
150
+ data: PrefillOwnFundChoiceDto;
151
+ } | {
152
+ type: 'smsf';
153
+ data: PrefillSMSFChoiceDto;
154
+ };
117
155
  export declare type SuperBuyerDto = {
118
156
  accountId: string;
119
157
  profileId: string;
@@ -149,6 +187,7 @@ export declare type AppStateDto = {
149
187
  profileConfiguration: ProfileConfigurationDto;
150
188
  promotedFunds: string[];
151
189
  campaignConnectEnabled: boolean;
190
+ prefill: SuperChoicePrefillDto | null;
152
191
  };
153
192
  export declare type PromotedFundsConfigSourceDto = 'superSelection' | 'campaignConnect';
154
193
  export declare type CampaignConnectDto = {
@@ -1,4 +1,7 @@
1
1
  export declare class Success {
2
+ connectedCallback(): void;
3
+ disconnectedCallback(): void;
2
4
  render(): Element[];
3
5
  private handleContinueButtonClick;
6
+ private ignorePopState;
4
7
  }
@@ -14,7 +14,7 @@ export declare type MyOwnFundDto = {
14
14
  export declare type DefaultFundForm = CommonDto;
15
15
  export declare type AustralianFundAddressDto = {
16
16
  addressLine1: string;
17
- addressLine2?: string;
17
+ addressLine2: string | null;
18
18
  city: string;
19
19
  state: string;
20
20
  postcode: string;
@@ -0,0 +1,3 @@
1
+ import { PromotedFund } from '../types';
2
+ declare const fund: PromotedFund;
3
+ export default fund;
@@ -1,4 +1,4 @@
1
- export declare type ButtonVariant = 'primary' | 'secondary';
1
+ export declare type ButtonVariant = 'primary' | 'secondary' | 'light';
2
2
  export declare type ButtonSize = 'xs' | 'base' | 'xl';
3
3
  export declare class Button {
4
4
  fillWidth: boolean;
@@ -0,0 +1,9 @@
1
+ export declare function isNullOrWhitespace(value: string | null): boolean;
2
+ export declare const DisabledField: (name: string, value: string) => any;
3
+ export declare const Header: () => any;
4
+ export declare class Style {
5
+ static Input(isValidated: boolean): {
6
+ 'relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10': boolean;
7
+ 'invalid:border-red-300 invalid:text-red-900 invalid:placeholder-red-300 invalid:focus:ring-red-500 invalid:focus:border-red-500': boolean;
8
+ };
9
+ }
@@ -0,0 +1,5 @@
1
+ import { FormField, StaticFormField } from './prefill-types';
2
+ export declare class DisplayField {
3
+ field: FormField | StaticFormField;
4
+ render(): Element[];
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare class PrefillErrorBox {
2
+ withHeader: boolean;
3
+ notificationList: string[];
4
+ render(): Element[];
5
+ }
@@ -0,0 +1,18 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillOwnFundChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillInvalidMyOwnFund {
4
+ history: RouterHistory;
5
+ prefill: PrefillOwnFundChoiceDto;
6
+ private fundUsi;
7
+ private fundName;
8
+ private memberNumber;
9
+ private memberGivenNames;
10
+ private memberLastName;
11
+ private readonly eventTrackingService;
12
+ componentDidLoad(): Promise<void>;
13
+ componentWillLoad(): Promise<void>;
14
+ render(): Element[];
15
+ private handleChooseAnotherFund;
16
+ private createSuperFundPrefillDeclinedDetail;
17
+ private createSuperFundPrefillViewedDetail;
18
+ }
@@ -0,0 +1,28 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillSMSFChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillInvalidSMSF {
4
+ history: RouterHistory;
5
+ prefill: PrefillSMSFChoiceDto;
6
+ private fundName;
7
+ private fundAbn;
8
+ private fundEsa;
9
+ private fundAddressLine1;
10
+ private fundAddressLine2;
11
+ private fundAddressCity;
12
+ private fundAddressPostcode;
13
+ private fundAddressState;
14
+ private fundAddress;
15
+ private memberGivenNames;
16
+ private memberLastName;
17
+ private bankAccountName;
18
+ private bankAccountBsb;
19
+ private bankAccountNumber;
20
+ private readonly eventTrackingService;
21
+ componentDidLoad(): Promise<void>;
22
+ componentWillLoad(): Promise<void>;
23
+ render(): Element[];
24
+ private initialiseComponent;
25
+ private handleFundNominationDeclined;
26
+ private createSuperFundPrefillDeclinedDetail;
27
+ private createSuperFundPrefillViewedDetail;
28
+ }
@@ -0,0 +1,30 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillOwnFundChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillMyOwnFund {
4
+ history: RouterHistory;
5
+ prefill: PrefillOwnFundChoiceDto;
6
+ private mode;
7
+ private formState;
8
+ private isSubmitDisabled;
9
+ private fundUsi;
10
+ private fundName;
11
+ private memberNumber;
12
+ private memberGivenNames;
13
+ private memberLastName;
14
+ private formElement;
15
+ private readonly eventTrackingService;
16
+ componentDidLoad(): Promise<void>;
17
+ componentWillLoad(): Promise<void>;
18
+ render(): Element[];
19
+ private initialiseComponent;
20
+ private isFormValid;
21
+ private formHasMissingData;
22
+ private setModeToEdit;
23
+ private updateMemberNumber;
24
+ private updateMemberGivenNames;
25
+ private updateMemberLastName;
26
+ private handleSubmitForm;
27
+ private handleFundNominationDeclined;
28
+ private createSuperFundPrefillDeclinedDetail;
29
+ private createSuperFundPrefillViewedDetail;
30
+ }
@@ -0,0 +1,48 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ import { PrefillSMSFChoiceDto } from '../api/super-selection.api.dto';
3
+ export declare class PrefillSMSF {
4
+ history: RouterHistory;
5
+ prefill: PrefillSMSFChoiceDto;
6
+ private mode;
7
+ private formState;
8
+ private isSubmitDisabled;
9
+ private fundName;
10
+ private fundAbn;
11
+ private fundEsa;
12
+ private fundAddressLine1;
13
+ private fundAddressLine2;
14
+ private fundAddressCity;
15
+ private fundAddressPostcode;
16
+ private fundAddressState;
17
+ private fundAddress;
18
+ private memberGivenNames;
19
+ private memberLastName;
20
+ private bankAccountName;
21
+ private bankAccountBsb;
22
+ private bankAccountNumber;
23
+ private formElement;
24
+ private readonly eventTrackingService;
25
+ componentDidLoad(): Promise<void>;
26
+ componentWillLoad(): Promise<void>;
27
+ render(): Element[];
28
+ private isFormValid;
29
+ private formHasMissingData;
30
+ private setModeToEdit;
31
+ private updateFundName;
32
+ private updateFundEsa;
33
+ private updateAddressLine1;
34
+ private updateAddressLine2;
35
+ private updateAddressCity;
36
+ private updateAddressPostcode;
37
+ private updateAddressState;
38
+ private updateBankAccountName;
39
+ private updateBankAccountBsb;
40
+ private updateBankAccountNumber;
41
+ private updateMemberGivenNames;
42
+ private updateMemberLastName;
43
+ private handleSubmitForm;
44
+ private initialiseComponent;
45
+ private handleFundNominationDeclined;
46
+ private createSuperFundPrefillDeclinedDetail;
47
+ private createSuperFundPrefillViewedDetail;
48
+ }
@@ -0,0 +1,90 @@
1
+ export declare const NAME_PATTERN = "[A-Za-z][A-Za-z']+(( |-)[A-Za-z][A-Za-z']+)*\\s*$";
2
+ export declare abstract class FormField {
3
+ readonly name: string;
4
+ private _value;
5
+ private _errorMessage;
6
+ protected constructor(name: string, value: string | null);
7
+ get value(): string;
8
+ set value(newValue: string);
9
+ get isValid(): boolean;
10
+ get isEmpty(): boolean;
11
+ get errorMessage(): string | null;
12
+ abstract validateAndReturnErrorMessage(value: string): string | null;
13
+ }
14
+ export declare class StaticFormField {
15
+ readonly name: string;
16
+ private readonly _value;
17
+ private readonly _isValid;
18
+ constructor(name: string, value: string | null, isValid: boolean);
19
+ get value(): string;
20
+ get isValid(): boolean;
21
+ get isEmpty(): boolean;
22
+ }
23
+ export declare class FundUsi extends StaticFormField {
24
+ constructor(value: string | null, isValid: boolean);
25
+ }
26
+ export declare class FundName extends StaticFormField {
27
+ constructor(value: string | null, isValid: boolean);
28
+ }
29
+ export declare class SmsfFundName extends FormField {
30
+ constructor(value: string | null);
31
+ validateAndReturnErrorMessage(newValue: string): string | null;
32
+ }
33
+ export declare class MemberNumber extends FormField {
34
+ constructor(value: string | null);
35
+ validateAndReturnErrorMessage(newValue: string): string | null;
36
+ }
37
+ export declare class MemberLastName extends FormField {
38
+ constructor(value: string | null);
39
+ validateAndReturnErrorMessage(newValue: string): string | null;
40
+ }
41
+ export declare class MemberGivenNames extends FormField {
42
+ constructor(value: string | null);
43
+ validateAndReturnErrorMessage(newValue: string): string | null;
44
+ }
45
+ export declare class FundAbn extends StaticFormField {
46
+ constructor(value: string | null, isValid: boolean);
47
+ }
48
+ export declare class FundEsa extends FormField {
49
+ constructor(value: string | null);
50
+ validateAndReturnErrorMessage(newValue: string): string | null;
51
+ }
52
+ export declare class FundAddressLine1 extends FormField {
53
+ constructor(value: string | null);
54
+ validateAndReturnErrorMessage(newValue: string): string | null;
55
+ }
56
+ export declare class FundAddressLine2 extends FormField {
57
+ constructor(value: string | null);
58
+ validateAndReturnErrorMessage(_newValue: string): string | null;
59
+ }
60
+ export declare class FundAddressCity extends FormField {
61
+ constructor(value: string | null);
62
+ validateAndReturnErrorMessage(newValue: string): string | null;
63
+ }
64
+ export declare class FundAddressPostcode extends FormField {
65
+ constructor(value: string | null);
66
+ validateAndReturnErrorMessage(newValue: string): string | null;
67
+ }
68
+ export declare class FundAddressState extends FormField {
69
+ constructor(value: string | null);
70
+ get options(): {
71
+ value: string;
72
+ label: string;
73
+ }[];
74
+ validateAndReturnErrorMessage(newValue: string): string | null;
75
+ }
76
+ export declare class FundAddress extends StaticFormField {
77
+ constructor(addrLine1: FundAddressLine1, addrLine2: FundAddressLine2, city: FundAddressCity, state: FundAddressState, postcode: FundAddressPostcode);
78
+ }
79
+ export declare class BankAccountName extends FormField {
80
+ constructor(value: string | null);
81
+ validateAndReturnErrorMessage(newValue: string): string | null;
82
+ }
83
+ export declare class BankAccountBsb extends FormField {
84
+ constructor(value: string | null);
85
+ validateAndReturnErrorMessage(newValue: string): string | null;
86
+ }
87
+ export declare class BankAccountNumber extends FormField {
88
+ constructor(value: string | null);
89
+ validateAndReturnErrorMessage(newValue: string): string | null;
90
+ }
@@ -0,0 +1,4 @@
1
+ export declare class PrefillWarningBox {
2
+ notificationList: string[];
3
+ render(): Element[];
4
+ }
@@ -0,0 +1,11 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ export declare class Prefill {
3
+ history: RouterHistory;
4
+ private prefill;
5
+ componentWillLoad(): Promise<void>;
6
+ render(): Element[] | null;
7
+ private renderMyOwnFund;
8
+ private renderInvalidMyOwnFund;
9
+ private renderSMSF;
10
+ private renderInvalidSMSF;
11
+ }
@@ -18,5 +18,7 @@ export declare class EventTrackingService {
18
18
  TrackSuperFundNominationDeclinedAsync(detail: model.SuperFundNominationDeclinedDetail): Promise<void>;
19
19
  TrackSuperFundDisclaimerViewedAsync(detail: model.SuperFundDisclaimerViewedDetail): Promise<void>;
20
20
  TrackSuperFundDisclaimerAcceptedAsync(detail: model.SuperFundDisclaimerAcceptedDetail): Promise<void>;
21
+ TrackSuperFundPrefillViewedAsync(detail: model.SuperFundPrefillViewedDetail): Promise<void>;
22
+ TrackSuperFundPrefillDeclinedAsync(detail: model.SuperFundPrefillDeclinedDetail): Promise<void>;
21
23
  private trackEventAsync;
22
24
  }
@@ -6,6 +6,11 @@ export declare enum SuperSelectionAppRoutes {
6
6
  PromotedFundJoinV1 = "/promoted-fund/join/v1",
7
7
  PromotedFundJoinV2 = "/promoted-fund/join/v2",
8
8
  MyOwnFund = "/super-choice/my-own-fund/",
9
+ Prefill = "/super-choice/prefill/",
10
+ PrefillInvalidMyOwnFundPage = "/super-choice/sss-prefill-invalid-my-own-fund/",
11
+ PrefillMyOwnFundPage = "/super-choice/prefill-my-own-fund/",
12
+ PrefillSMSFPage = "/super-choice/prefill-smsf/",
13
+ PrefillInvalidSMSFPage = "/super-choice/prefill-invalid-smsf/",
9
14
  SelfManagedFund = "/super-choice/smsf/",
10
15
  DefaultFund = "/super-choice/default/",
11
16
  StandardChoice = "/standard-choice/",
@@ -1,11 +1,12 @@
1
1
  import * as O from 'fp-ts/lib/Option';
2
- import { AccountConfigurationDto, CampaignConnectDto, ProfileConfigurationDto, SuperBuyerDto } from '../api/super-selection.api.dto';
2
+ import { AccountConfigurationDto, CampaignConnectDto, ProfileConfigurationDto, SuperBuyerDto, SuperChoicePrefillDto } from '../api/super-selection.api.dto';
3
3
  export declare type AppContextState = {
4
4
  apiBaseUrl: O.Option<string>;
5
5
  appBaseUrl: O.Option<string>;
6
6
  profileId: O.Option<string>;
7
7
  jwt: O.Option<string>;
8
8
  superBuyer: O.Option<SuperBuyerDto>;
9
+ superChoicePrefill: O.Option<SuperChoicePrefillDto>;
9
10
  promotedFunds: O.Option<string[]>;
10
11
  accountConfiguration: O.Option<AccountConfigurationDto>;
11
12
  profileConfiguration: O.Option<ProfileConfigurationDto>;
@@ -5,7 +5,10 @@ export declare class StandardChoiceFormInputDefaultFund {
5
5
  private formState;
6
6
  private isSubmitDisabled;
7
7
  private formElement;
8
+ connectedCallback(): void;
9
+ disconnectedCallback(): void;
8
10
  render(): Element[];
9
11
  private renderLogo;
10
12
  private handleSubmitForm;
13
+ private ignorePopState;
11
14
  }
@@ -10,6 +10,8 @@ import { LocationSegments, RouterHistory } from "@stencil/router";
10
10
  import { SearchResult, SelectInputOption } from "./components/super-selection-app/misc/dropdown-async";
11
11
  import { Option } from "fp-ts/lib/Option";
12
12
  import { MyOwnFundFormState } from "./components/super-selection-app/funds/custom-fund/custom-fund.store";
13
+ import { FormField, StaticFormField } from "./components/super-selection-app/prefill-fund/prefill-types";
14
+ import { PrefillOwnFundChoiceDto, PrefillSMSFChoiceDto } from "./components/super-selection-app/api/super-selection.api.dto";
13
15
  import { SelfManagedFundForm } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form";
14
16
  import { FormChangedEvent } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs";
15
17
  import { VNode } from "./stencil-public-runtime";
@@ -73,6 +75,35 @@ export namespace Components {
73
75
  "showValidationErrors": boolean;
74
76
  "value": string;
75
77
  }
78
+ interface SssPrefill {
79
+ "history": RouterHistory;
80
+ }
81
+ interface SssPrefillDisplayField {
82
+ "field": FormField | StaticFormField;
83
+ }
84
+ interface SssPrefillErrorBox {
85
+ "notificationList": string[];
86
+ "withHeader": boolean;
87
+ }
88
+ interface SssPrefillInvalidMyOwnFund {
89
+ "history": RouterHistory;
90
+ "prefill": PrefillOwnFundChoiceDto;
91
+ }
92
+ interface SssPrefillInvalidSmsf {
93
+ "history": RouterHistory;
94
+ "prefill": PrefillSMSFChoiceDto;
95
+ }
96
+ interface SssPrefillMyOwnFund {
97
+ "history": RouterHistory;
98
+ "prefill": PrefillOwnFundChoiceDto;
99
+ }
100
+ interface SssPrefillSmsf {
101
+ "history": RouterHistory;
102
+ "prefill": PrefillSMSFChoiceDto;
103
+ }
104
+ interface SssPrefillWarningBox {
105
+ "notificationList": string[];
106
+ }
76
107
  interface SssPromotedFundJoinV1Page {
77
108
  "history": RouterHistory;
78
109
  }
@@ -208,6 +239,54 @@ declare global {
208
239
  prototype: HTMLSssNameInputElement;
209
240
  new (): HTMLSssNameInputElement;
210
241
  };
242
+ interface HTMLSssPrefillElement extends Components.SssPrefill, HTMLStencilElement {
243
+ }
244
+ var HTMLSssPrefillElement: {
245
+ prototype: HTMLSssPrefillElement;
246
+ new (): HTMLSssPrefillElement;
247
+ };
248
+ interface HTMLSssPrefillDisplayFieldElement extends Components.SssPrefillDisplayField, HTMLStencilElement {
249
+ }
250
+ var HTMLSssPrefillDisplayFieldElement: {
251
+ prototype: HTMLSssPrefillDisplayFieldElement;
252
+ new (): HTMLSssPrefillDisplayFieldElement;
253
+ };
254
+ interface HTMLSssPrefillErrorBoxElement extends Components.SssPrefillErrorBox, HTMLStencilElement {
255
+ }
256
+ var HTMLSssPrefillErrorBoxElement: {
257
+ prototype: HTMLSssPrefillErrorBoxElement;
258
+ new (): HTMLSssPrefillErrorBoxElement;
259
+ };
260
+ interface HTMLSssPrefillInvalidMyOwnFundElement extends Components.SssPrefillInvalidMyOwnFund, HTMLStencilElement {
261
+ }
262
+ var HTMLSssPrefillInvalidMyOwnFundElement: {
263
+ prototype: HTMLSssPrefillInvalidMyOwnFundElement;
264
+ new (): HTMLSssPrefillInvalidMyOwnFundElement;
265
+ };
266
+ interface HTMLSssPrefillInvalidSmsfElement extends Components.SssPrefillInvalidSmsf, HTMLStencilElement {
267
+ }
268
+ var HTMLSssPrefillInvalidSmsfElement: {
269
+ prototype: HTMLSssPrefillInvalidSmsfElement;
270
+ new (): HTMLSssPrefillInvalidSmsfElement;
271
+ };
272
+ interface HTMLSssPrefillMyOwnFundElement extends Components.SssPrefillMyOwnFund, HTMLStencilElement {
273
+ }
274
+ var HTMLSssPrefillMyOwnFundElement: {
275
+ prototype: HTMLSssPrefillMyOwnFundElement;
276
+ new (): HTMLSssPrefillMyOwnFundElement;
277
+ };
278
+ interface HTMLSssPrefillSmsfElement extends Components.SssPrefillSmsf, HTMLStencilElement {
279
+ }
280
+ var HTMLSssPrefillSmsfElement: {
281
+ prototype: HTMLSssPrefillSmsfElement;
282
+ new (): HTMLSssPrefillSmsfElement;
283
+ };
284
+ interface HTMLSssPrefillWarningBoxElement extends Components.SssPrefillWarningBox, HTMLStencilElement {
285
+ }
286
+ var HTMLSssPrefillWarningBoxElement: {
287
+ prototype: HTMLSssPrefillWarningBoxElement;
288
+ new (): HTMLSssPrefillWarningBoxElement;
289
+ };
211
290
  interface HTMLSssPromotedFundJoinV1PageElement extends Components.SssPromotedFundJoinV1Page, HTMLStencilElement {
212
291
  }
213
292
  var HTMLSssPromotedFundJoinV1PageElement: {
@@ -295,6 +374,14 @@ declare global {
295
374
  "sss-my-own-fund": HTMLSssMyOwnFundElement;
296
375
  "sss-my-own-fund-inputs": HTMLSssMyOwnFundInputsElement;
297
376
  "sss-name-input": HTMLSssNameInputElement;
377
+ "sss-prefill": HTMLSssPrefillElement;
378
+ "sss-prefill-display-field": HTMLSssPrefillDisplayFieldElement;
379
+ "sss-prefill-error-box": HTMLSssPrefillErrorBoxElement;
380
+ "sss-prefill-invalid-my-own-fund": HTMLSssPrefillInvalidMyOwnFundElement;
381
+ "sss-prefill-invalid-smsf": HTMLSssPrefillInvalidSmsfElement;
382
+ "sss-prefill-my-own-fund": HTMLSssPrefillMyOwnFundElement;
383
+ "sss-prefill-smsf": HTMLSssPrefillSmsfElement;
384
+ "sss-prefill-warning-box": HTMLSssPrefillWarningBoxElement;
298
385
  "sss-promoted-fund-join-v1-page": HTMLSssPromotedFundJoinV1PageElement;
299
386
  "sss-promoted-fund-join-v2-page": HTMLSssPromotedFundJoinV2PageElement;
300
387
  "sss-self-managed-fund": HTMLSssSelfManagedFundElement;
@@ -371,6 +458,35 @@ declare namespace LocalJSX {
371
458
  "showValidationErrors"?: boolean;
372
459
  "value"?: string;
373
460
  }
461
+ interface SssPrefill {
462
+ "history"?: RouterHistory;
463
+ }
464
+ interface SssPrefillDisplayField {
465
+ "field"?: FormField | StaticFormField;
466
+ }
467
+ interface SssPrefillErrorBox {
468
+ "notificationList"?: string[];
469
+ "withHeader"?: boolean;
470
+ }
471
+ interface SssPrefillInvalidMyOwnFund {
472
+ "history"?: RouterHistory;
473
+ "prefill"?: PrefillOwnFundChoiceDto;
474
+ }
475
+ interface SssPrefillInvalidSmsf {
476
+ "history"?: RouterHistory;
477
+ "prefill"?: PrefillSMSFChoiceDto;
478
+ }
479
+ interface SssPrefillMyOwnFund {
480
+ "history"?: RouterHistory;
481
+ "prefill"?: PrefillOwnFundChoiceDto;
482
+ }
483
+ interface SssPrefillSmsf {
484
+ "history"?: RouterHistory;
485
+ "prefill"?: PrefillSMSFChoiceDto;
486
+ }
487
+ interface SssPrefillWarningBox {
488
+ "notificationList"?: string[];
489
+ }
374
490
  interface SssPromotedFundJoinV1Page {
375
491
  "history"?: RouterHistory;
376
492
  }
@@ -440,6 +556,14 @@ declare namespace LocalJSX {
440
556
  "sss-my-own-fund": SssMyOwnFund;
441
557
  "sss-my-own-fund-inputs": SssMyOwnFundInputs;
442
558
  "sss-name-input": SssNameInput;
559
+ "sss-prefill": SssPrefill;
560
+ "sss-prefill-display-field": SssPrefillDisplayField;
561
+ "sss-prefill-error-box": SssPrefillErrorBox;
562
+ "sss-prefill-invalid-my-own-fund": SssPrefillInvalidMyOwnFund;
563
+ "sss-prefill-invalid-smsf": SssPrefillInvalidSmsf;
564
+ "sss-prefill-my-own-fund": SssPrefillMyOwnFund;
565
+ "sss-prefill-smsf": SssPrefillSmsf;
566
+ "sss-prefill-warning-box": SssPrefillWarningBox;
443
567
  "sss-promoted-fund-join-v1-page": SssPromotedFundJoinV1Page;
444
568
  "sss-promoted-fund-join-v2-page": SssPromotedFundJoinV2Page;
445
569
  "sss-self-managed-fund": SssSelfManagedFund;
@@ -472,6 +596,14 @@ declare module "@stencil/core" {
472
596
  "sss-my-own-fund": LocalJSX.SssMyOwnFund & JSXBase.HTMLAttributes<HTMLSssMyOwnFundElement>;
473
597
  "sss-my-own-fund-inputs": LocalJSX.SssMyOwnFundInputs & JSXBase.HTMLAttributes<HTMLSssMyOwnFundInputsElement>;
474
598
  "sss-name-input": LocalJSX.SssNameInput & JSXBase.HTMLAttributes<HTMLSssNameInputElement>;
599
+ "sss-prefill": LocalJSX.SssPrefill & JSXBase.HTMLAttributes<HTMLSssPrefillElement>;
600
+ "sss-prefill-display-field": LocalJSX.SssPrefillDisplayField & JSXBase.HTMLAttributes<HTMLSssPrefillDisplayFieldElement>;
601
+ "sss-prefill-error-box": LocalJSX.SssPrefillErrorBox & JSXBase.HTMLAttributes<HTMLSssPrefillErrorBoxElement>;
602
+ "sss-prefill-invalid-my-own-fund": LocalJSX.SssPrefillInvalidMyOwnFund & JSXBase.HTMLAttributes<HTMLSssPrefillInvalidMyOwnFundElement>;
603
+ "sss-prefill-invalid-smsf": LocalJSX.SssPrefillInvalidSmsf & JSXBase.HTMLAttributes<HTMLSssPrefillInvalidSmsfElement>;
604
+ "sss-prefill-my-own-fund": LocalJSX.SssPrefillMyOwnFund & JSXBase.HTMLAttributes<HTMLSssPrefillMyOwnFundElement>;
605
+ "sss-prefill-smsf": LocalJSX.SssPrefillSmsf & JSXBase.HTMLAttributes<HTMLSssPrefillSmsfElement>;
606
+ "sss-prefill-warning-box": LocalJSX.SssPrefillWarningBox & JSXBase.HTMLAttributes<HTMLSssPrefillWarningBoxElement>;
475
607
  "sss-promoted-fund-join-v1-page": LocalJSX.SssPromotedFundJoinV1Page & JSXBase.HTMLAttributes<HTMLSssPromotedFundJoinV1PageElement>;
476
608
  "sss-promoted-fund-join-v2-page": LocalJSX.SssPromotedFundJoinV2Page & JSXBase.HTMLAttributes<HTMLSssPromotedFundJoinV2PageElement>;
477
609
  "sss-self-managed-fund": LocalJSX.SssSelfManagedFund & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "4.32.31414",
3
+ "version": "4.34.34409",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",
@@ -55,7 +55,7 @@
55
55
  "lint-staged": "^10.5.3",
56
56
  "prettier": "^2.2.1",
57
57
  "rollup-plugin-ignore": "^1.0.6",
58
- "tailwindcss": "^3.1.4"
58
+ "tailwindcss": "^3.3.5"
59
59
  },
60
60
  "dependencies": {
61
61
  "@datorama/akita": "^5.3.0",