@flarehr/apollo-super-selection 5.45.6971 → 5.47.7839
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.
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-a73e1187.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-bc31a299.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/{sss-button_34.cjs.entry.js → sss-button_33.cjs.entry.js} +103 -205
- package/dist/lib/collection/collection-manifest.json +3 -5
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +1 -1
- package/dist/lib/collection/components/super-smsf/super-smsf-types.js +1 -0
- package/dist/lib/collection/components/super-smsf/super-smsf.js +136 -0
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/{sss-button_34.entry.js → sss-button_33.entry.js} +103 -204
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_33.entry.js +69 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +1 -1
- package/dist/lib/types/components/super-smsf/super-smsf-types.d.ts +34 -0
- package/dist/lib/types/components/super-smsf/super-smsf.d.ts +18 -0
- package/dist/lib/types/components.d.ts +15 -35
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-44edd355.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-46cf321a.entry.js +0 -14
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +0 -253
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +0 -121
- package/dist/lib/esm-es5/sss-button_34.entry.js +0 -69
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +0 -29
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +0 -14
- /package/dist/lib/collection/components/{super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js → super-smsf/super-smsf.form.js} +0 -0
- /package/dist/lib/types/components/{super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts → super-smsf/super-smsf.form.d.ts} +0 -0
package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as O from 'fp-ts/Option';
|
|
2
|
-
import { SelfManagedFundForm } from '
|
|
2
|
+
import { SelfManagedFundForm } from '../../../super-smsf/super-smsf.form';
|
|
3
3
|
export declare type CustomFundOption = {
|
|
4
4
|
label: CustomFundTypes;
|
|
5
5
|
value: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare type Sender = 'super-smsf';
|
|
2
|
+
export declare type SmsfCommonEventPayload = {
|
|
3
|
+
sender: Sender;
|
|
4
|
+
};
|
|
5
|
+
export declare type SmsfCancelledEvent = SmsfCommonEventPayload & {
|
|
6
|
+
type: 'smsf-cancelled';
|
|
7
|
+
};
|
|
8
|
+
export declare type SmsfCompletedEvent = SmsfCommonEventPayload & {
|
|
9
|
+
type: 'smsf-completed';
|
|
10
|
+
fundName: string;
|
|
11
|
+
fundAbn: string;
|
|
12
|
+
fundEsa: string;
|
|
13
|
+
fundAddressLine1: string;
|
|
14
|
+
fundAddressLine2: string;
|
|
15
|
+
fundState: string;
|
|
16
|
+
fundPostcode: string;
|
|
17
|
+
fundCity: string;
|
|
18
|
+
bankAccountName: string;
|
|
19
|
+
bankBsb: string;
|
|
20
|
+
bankAccountNumber: string;
|
|
21
|
+
memberFirstName: string;
|
|
22
|
+
memberLastName: string;
|
|
23
|
+
};
|
|
24
|
+
export declare type SmsfLoadedEvent = SmsfCommonEventPayload & {
|
|
25
|
+
type: 'smsf-loaded';
|
|
26
|
+
};
|
|
27
|
+
export declare type EventPayload = SmsfCancelledEvent | SmsfCompletedEvent | SmsfLoadedEvent;
|
|
28
|
+
export declare type EventType = EventPayload['type'];
|
|
29
|
+
export declare type EventHandlers = {
|
|
30
|
+
[k in EventType]: (event: CustomEvent<Extract<EventPayload, {
|
|
31
|
+
type: k;
|
|
32
|
+
}>>) => Promise<void>;
|
|
33
|
+
};
|
|
34
|
+
export declare const LoadWaitingTimeout = 30000;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RouterHistory } from '@stencil/router';
|
|
2
|
+
export declare class SuperSmsfHost {
|
|
3
|
+
history: RouterHistory;
|
|
4
|
+
private backendUrl;
|
|
5
|
+
private accessToken;
|
|
6
|
+
private smsfEventHandlers;
|
|
7
|
+
private loadingTimeoutRef;
|
|
8
|
+
constructor();
|
|
9
|
+
componentWillLoad(): Promise<void>;
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
render(): Element[];
|
|
12
|
+
private subscribeToSuperSmsfEvents;
|
|
13
|
+
private unSubscribeFromSuperSmsfEvents;
|
|
14
|
+
private smsfLoaded;
|
|
15
|
+
private smsfCompleted;
|
|
16
|
+
private smsfCancelled;
|
|
17
|
+
private smsfLoadingTimeoutTriggered;
|
|
18
|
+
}
|
|
@@ -11,8 +11,6 @@ import { SearchResult, SelectInputOption } from "./components/super-selection-ap
|
|
|
11
11
|
import { MyOwnFundFormState } from "./components/super-selection-app/funds/custom-fund/custom-fund.store";
|
|
12
12
|
import { FormField, StaticFormField } from "./components/super-selection-app/prefill-fund/prefill-types";
|
|
13
13
|
import { PrefillOwnFundChoiceDto, PrefillSMSFChoiceDto } from "./components/super-selection-app/api/super-selection.api.dto";
|
|
14
|
-
import { SelfManagedFundForm } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form";
|
|
15
|
-
import { FormChangedEvent } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs";
|
|
16
14
|
import { InitialisedWith } from "./components/super-selection-app/super-selection-app";
|
|
17
15
|
export namespace Components {
|
|
18
16
|
interface SssButton {
|
|
@@ -104,13 +102,6 @@ export namespace Components {
|
|
|
104
102
|
interface SssPrefillWarningBox {
|
|
105
103
|
"notificationList": string[];
|
|
106
104
|
}
|
|
107
|
-
interface SssSelfManagedFund {
|
|
108
|
-
"history": RouterHistory;
|
|
109
|
-
}
|
|
110
|
-
interface SssSelfManagedFundInputs {
|
|
111
|
-
"fundForm": Partial<SelfManagedFundForm>;
|
|
112
|
-
"showValidationErrors": boolean;
|
|
113
|
-
}
|
|
114
105
|
interface SssStandardChoiceForm {
|
|
115
106
|
"history": RouterHistory;
|
|
116
107
|
}
|
|
@@ -122,6 +113,9 @@ export namespace Components {
|
|
|
122
113
|
interface SssSuperCampaignHost {
|
|
123
114
|
"history": RouterHistory;
|
|
124
115
|
}
|
|
116
|
+
interface SssSuperSmsfHost {
|
|
117
|
+
"history": RouterHistory;
|
|
118
|
+
}
|
|
125
119
|
interface SuperSelectionApp {
|
|
126
120
|
"accessToken": string;
|
|
127
121
|
"appBaseUrl"?: string;
|
|
@@ -267,18 +261,6 @@ declare global {
|
|
|
267
261
|
prototype: HTMLSssPrefillWarningBoxElement;
|
|
268
262
|
new (): HTMLSssPrefillWarningBoxElement;
|
|
269
263
|
};
|
|
270
|
-
interface HTMLSssSelfManagedFundElement extends Components.SssSelfManagedFund, HTMLStencilElement {
|
|
271
|
-
}
|
|
272
|
-
var HTMLSssSelfManagedFundElement: {
|
|
273
|
-
prototype: HTMLSssSelfManagedFundElement;
|
|
274
|
-
new (): HTMLSssSelfManagedFundElement;
|
|
275
|
-
};
|
|
276
|
-
interface HTMLSssSelfManagedFundInputsElement extends Components.SssSelfManagedFundInputs, HTMLStencilElement {
|
|
277
|
-
}
|
|
278
|
-
var HTMLSssSelfManagedFundInputsElement: {
|
|
279
|
-
prototype: HTMLSssSelfManagedFundInputsElement;
|
|
280
|
-
new (): HTMLSssSelfManagedFundInputsElement;
|
|
281
|
-
};
|
|
282
264
|
interface HTMLSssStandardChoiceFormElement extends Components.SssStandardChoiceForm, HTMLStencilElement {
|
|
283
265
|
}
|
|
284
266
|
var HTMLSssStandardChoiceFormElement: {
|
|
@@ -303,6 +285,12 @@ declare global {
|
|
|
303
285
|
prototype: HTMLSssSuperCampaignHostElement;
|
|
304
286
|
new (): HTMLSssSuperCampaignHostElement;
|
|
305
287
|
};
|
|
288
|
+
interface HTMLSssSuperSmsfHostElement extends Components.SssSuperSmsfHost, HTMLStencilElement {
|
|
289
|
+
}
|
|
290
|
+
var HTMLSssSuperSmsfHostElement: {
|
|
291
|
+
prototype: HTMLSssSuperSmsfHostElement;
|
|
292
|
+
new (): HTMLSssSuperSmsfHostElement;
|
|
293
|
+
};
|
|
306
294
|
interface HTMLSuperSelectionAppElement extends Components.SuperSelectionApp, HTMLStencilElement {
|
|
307
295
|
}
|
|
308
296
|
var HTMLSuperSelectionAppElement: {
|
|
@@ -338,12 +326,11 @@ declare global {
|
|
|
338
326
|
"sss-prefill-my-own-fund": HTMLSssPrefillMyOwnFundElement;
|
|
339
327
|
"sss-prefill-smsf": HTMLSssPrefillSmsfElement;
|
|
340
328
|
"sss-prefill-warning-box": HTMLSssPrefillWarningBoxElement;
|
|
341
|
-
"sss-self-managed-fund": HTMLSssSelfManagedFundElement;
|
|
342
|
-
"sss-self-managed-fund-inputs": HTMLSssSelfManagedFundInputsElement;
|
|
343
329
|
"sss-standard-choice-form": HTMLSssStandardChoiceFormElement;
|
|
344
330
|
"sss-success": HTMLSssSuccessElement;
|
|
345
331
|
"sss-super-campaign-featured-funds": HTMLSssSuperCampaignFeaturedFundsElement;
|
|
346
332
|
"sss-super-campaign-host": HTMLSssSuperCampaignHostElement;
|
|
333
|
+
"sss-super-smsf-host": HTMLSssSuperSmsfHostElement;
|
|
347
334
|
"super-selection-app": HTMLSuperSelectionAppElement;
|
|
348
335
|
"super-selection-app-host": HTMLSuperSelectionAppHostElement;
|
|
349
336
|
}
|
|
@@ -441,14 +428,6 @@ declare namespace LocalJSX {
|
|
|
441
428
|
interface SssPrefillWarningBox {
|
|
442
429
|
"notificationList"?: string[];
|
|
443
430
|
}
|
|
444
|
-
interface SssSelfManagedFund {
|
|
445
|
-
"history"?: RouterHistory;
|
|
446
|
-
}
|
|
447
|
-
interface SssSelfManagedFundInputs {
|
|
448
|
-
"fundForm"?: Partial<SelfManagedFundForm>;
|
|
449
|
-
"onFormChanged"?: (event: CustomEvent<Partial<FormChangedEvent>>) => void;
|
|
450
|
-
"showValidationErrors"?: boolean;
|
|
451
|
-
}
|
|
452
431
|
interface SssStandardChoiceForm {
|
|
453
432
|
"history"?: RouterHistory;
|
|
454
433
|
}
|
|
@@ -460,6 +439,9 @@ declare namespace LocalJSX {
|
|
|
460
439
|
interface SssSuperCampaignHost {
|
|
461
440
|
"history"?: RouterHistory;
|
|
462
441
|
}
|
|
442
|
+
interface SssSuperSmsfHost {
|
|
443
|
+
"history"?: RouterHistory;
|
|
444
|
+
}
|
|
463
445
|
interface SuperSelectionApp {
|
|
464
446
|
"accessToken"?: string;
|
|
465
447
|
"appBaseUrl"?: string;
|
|
@@ -497,12 +479,11 @@ declare namespace LocalJSX {
|
|
|
497
479
|
"sss-prefill-my-own-fund": SssPrefillMyOwnFund;
|
|
498
480
|
"sss-prefill-smsf": SssPrefillSmsf;
|
|
499
481
|
"sss-prefill-warning-box": SssPrefillWarningBox;
|
|
500
|
-
"sss-self-managed-fund": SssSelfManagedFund;
|
|
501
|
-
"sss-self-managed-fund-inputs": SssSelfManagedFundInputs;
|
|
502
482
|
"sss-standard-choice-form": SssStandardChoiceForm;
|
|
503
483
|
"sss-success": SssSuccess;
|
|
504
484
|
"sss-super-campaign-featured-funds": SssSuperCampaignFeaturedFunds;
|
|
505
485
|
"sss-super-campaign-host": SssSuperCampaignHost;
|
|
486
|
+
"sss-super-smsf-host": SssSuperSmsfHost;
|
|
506
487
|
"super-selection-app": SuperSelectionApp;
|
|
507
488
|
"super-selection-app-host": SuperSelectionAppHost;
|
|
508
489
|
}
|
|
@@ -533,12 +514,11 @@ declare module "@stencil/core" {
|
|
|
533
514
|
"sss-prefill-my-own-fund": LocalJSX.SssPrefillMyOwnFund & JSXBase.HTMLAttributes<HTMLSssPrefillMyOwnFundElement>;
|
|
534
515
|
"sss-prefill-smsf": LocalJSX.SssPrefillSmsf & JSXBase.HTMLAttributes<HTMLSssPrefillSmsfElement>;
|
|
535
516
|
"sss-prefill-warning-box": LocalJSX.SssPrefillWarningBox & JSXBase.HTMLAttributes<HTMLSssPrefillWarningBoxElement>;
|
|
536
|
-
"sss-self-managed-fund": LocalJSX.SssSelfManagedFund & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundElement>;
|
|
537
|
-
"sss-self-managed-fund-inputs": LocalJSX.SssSelfManagedFundInputs & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundInputsElement>;
|
|
538
517
|
"sss-standard-choice-form": LocalJSX.SssStandardChoiceForm & JSXBase.HTMLAttributes<HTMLSssStandardChoiceFormElement>;
|
|
539
518
|
"sss-success": LocalJSX.SssSuccess & JSXBase.HTMLAttributes<HTMLSssSuccessElement>;
|
|
540
519
|
"sss-super-campaign-featured-funds": LocalJSX.SssSuperCampaignFeaturedFunds & JSXBase.HTMLAttributes<HTMLSssSuperCampaignFeaturedFundsElement>;
|
|
541
520
|
"sss-super-campaign-host": LocalJSX.SssSuperCampaignHost & JSXBase.HTMLAttributes<HTMLSssSuperCampaignHostElement>;
|
|
521
|
+
"sss-super-smsf-host": LocalJSX.SssSuperSmsfHost & JSXBase.HTMLAttributes<HTMLSssSuperSmsfHostElement>;
|
|
542
522
|
"super-selection-app": LocalJSX.SuperSelectionApp & JSXBase.HTMLAttributes<HTMLSuperSelectionAppElement>;
|
|
543
523
|
"super-selection-app-host": LocalJSX.SuperSelectionAppHost & JSXBase.HTMLAttributes<HTMLSuperSelectionAppHostElement>;
|
|
544
524
|
}
|