@flarehr/apollo-super-selection 3.59.63229 → 3.62.64158

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/p-0f723eb4.system.js +1 -1
  4. package/dist/lib/apollo-super-selection/p-af8b28ab.entry.js +14 -0
  5. package/dist/lib/apollo-super-selection/p-e4cfd5f5.system.entry.js +69 -0
  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_28.cjs.entry.js → sss-button_30.cjs.entry.js} +259 -61
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/collection-manifest.json +7 -3
  11. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +12 -0
  12. package/dist/lib/collection/components/super-selection-app/funds/constants.js +26 -8
  13. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +28 -12
  14. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +8 -2
  15. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v1-page.js +30 -0
  16. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.js +30 -0
  17. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/{promoted-fund-join-iframe-builder.js → promoted-fund-join-v1-iframe-builder.js} +2 -2
  18. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +117 -0
  19. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -6
  20. package/dist/lib/collection/components/super-selection-app/misc/iframe-host.js +32 -0
  21. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +4 -2
  22. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +54 -41
  23. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +2 -1
  24. package/dist/lib/esm/apollo-super-selection.js +1 -1
  25. package/dist/lib/esm/loader.js +1 -1
  26. package/dist/lib/esm/{sss-button_28.entry.js → sss-button_30.entry.js} +257 -61
  27. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  28. package/dist/lib/esm-es5/loader.js +1 -1
  29. package/dist/lib/esm-es5/{sss-button_28.entry.js → sss-button_30.entry.js} +3 -3
  30. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +10 -0
  31. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +12 -0
  32. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +6 -1
  33. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
  34. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/{promoted-fund-join-page.d.ts → promoted-fund-join-v1-page.d.ts} +1 -3
  35. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-join-v2-page.d.ts +5 -0
  36. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/{promoted-fund-join-iframe-builder.d.ts → promoted-fund-join-v1-iframe-builder.d.ts} +2 -2
  37. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.d.ts +9 -0
  38. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -2
  39. package/dist/lib/types/components/super-selection-app/misc/iframe-host.d.ts +6 -0
  40. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +2 -1
  41. package/dist/lib/types/components.d.ts +41 -10
  42. package/package.json +1 -1
  43. package/dist/lib/apollo-super-selection/p-1c352f8f.system.entry.js +0 -69
  44. package/dist/lib/apollo-super-selection/p-be78d5fd.entry.js +0 -14
  45. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +0 -34
@@ -39,6 +39,16 @@ declare type PromotedFundChoiceDto = {
39
39
  usi: string;
40
40
  memberNumber: string;
41
41
  };
42
+ } | {
43
+ australianEthical: {
44
+ usi: string;
45
+ memberNumber: string;
46
+ };
47
+ } | {
48
+ virgin: {
49
+ usi: string;
50
+ memberNumber: string;
51
+ };
42
52
  };
43
53
  export declare function getSuperChoiceUsi(dto: SuperChoiceDetailsDto): Option<string>;
44
54
  export declare function getSuperChoiceMemberNumber(dto: SuperChoiceDetailsDto): Option<string>;
@@ -23,6 +23,18 @@ export declare const Active: {
23
23
  PdsUrl: string;
24
24
  Abn: string;
25
25
  };
26
+ export declare const AustralianEthical: {
27
+ Id: string;
28
+ Name: string;
29
+ PdsUrl: string;
30
+ Abn: string;
31
+ };
32
+ export declare const Virgin: {
33
+ Id: string;
34
+ Name: string;
35
+ PdsUrl: string;
36
+ Abn: string;
37
+ };
26
38
  export declare const PromotedFundIdList: {
27
39
  dtoPropName: string;
28
40
  id: string;
@@ -1,9 +1,13 @@
1
1
  import { EventEmitter } from '../../../../../stencil-public-runtime';
2
2
  import { SelfManagedFundForm } from './self-managed-fund.form';
3
+ export interface FormChangedEvent extends SelfManagedFundForm {
4
+ isAbnValid: boolean;
5
+ }
3
6
  export declare class SelfManagedFundInputs {
4
7
  fundForm: Partial<SelfManagedFundForm>;
5
8
  showValidationErrors: boolean;
6
- formChanged: EventEmitter<Partial<SelfManagedFundForm>>;
9
+ formChanged: EventEmitter<Partial<FormChangedEvent>>;
10
+ private isAbnValid;
7
11
  private currentBank;
8
12
  private addressErrorMessage;
9
13
  private readonly stateOptions;
@@ -19,4 +23,5 @@ export declare class SelfManagedFundInputs {
19
23
  private updateCurrentBank;
20
24
  private updateCurrentBankAccountNumber;
21
25
  private updateAddressErrorMessage;
26
+ private validateAbn;
22
27
  }
@@ -4,6 +4,7 @@ export declare class SelfManagedFund {
4
4
  private formState;
5
5
  private showSmsfNotSupported;
6
6
  private isSubmitDisabled;
7
+ private isAbnValid;
7
8
  private readonly eventTrackingService;
8
9
  private formElement;
9
10
  private notSupportedDialog;
@@ -1,7 +1,5 @@
1
1
  import { RouterHistory } from '@stencil/router';
2
- export declare class PromotedFundJoinPage {
2
+ export declare class PromotedFundJoinV1Page {
3
3
  history: RouterHistory;
4
- private iframeElement;
5
- componentDidLoad(): void;
6
4
  render(): Element[];
7
5
  }
@@ -0,0 +1,5 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ export declare class PromotedFundJoinV2Page {
3
+ history: RouterHistory;
4
+ render(): Element[];
5
+ }
@@ -1,10 +1,10 @@
1
1
  import { RouterHistory } from '@stencil/router';
2
- declare class PromotedFundJoinIFrameBuilder {
2
+ declare class PromotedFundJoinV1IFrameBuilder {
3
3
  build(iframe: HTMLIFrameElement, history: RouterHistory): void;
4
4
  private getMemberData;
5
5
  private hostIsLocalSuperSelection;
6
6
  private environmentDiscriminator;
7
7
  private promotedFundJoinAppUrl;
8
8
  }
9
- declare const _default: PromotedFundJoinIFrameBuilder;
9
+ declare const _default: PromotedFundJoinV1IFrameBuilder;
10
10
  export default _default;
@@ -0,0 +1,9 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ declare class PromotedFundJoinV2IFrameBuilder {
3
+ build(iframe: HTMLIFrameElement, history: RouterHistory): void;
4
+ private getMemberData;
5
+ private environmentDiscriminator;
6
+ private promotedFundJoinAppUrl;
7
+ }
8
+ declare const _default: PromotedFundJoinV2IFrameBuilder;
9
+ export default _default;
@@ -1,7 +1,5 @@
1
1
  import { RouterHistory } from '@stencil/router';
2
2
  export declare class SlateJoinPage {
3
3
  history: RouterHistory;
4
- private iframeElement;
5
- componentDidLoad(): void;
6
4
  render(): Element[];
7
5
  }
@@ -0,0 +1,6 @@
1
+ export declare class IFrameHost {
2
+ build: (iframe: HTMLIFrameElement) => void;
3
+ private iframeElement;
4
+ componentDidLoad(): void;
5
+ render(): Element[];
6
+ }
@@ -3,7 +3,8 @@ export declare enum SuperSelectionAppRoutes {
3
3
  ExistingChoicePage = "/existing",
4
4
  ChoicePage = "/",
5
5
  SlateJoin = "/slate/join/",
6
- PromotedFundJoin = "/promoted-fund/join",
6
+ PromotedFundJoinV1 = "/promoted-fund/join/v1",
7
+ PromotedFundJoinV2 = "/promoted-fund/join/v2",
7
8
  MyOwnFund = "/super-choice/my-own-fund/",
8
9
  SelfManagedFund = "/super-choice/smsf/",
9
10
  DefaultFund = "/super-choice/default/",
@@ -10,6 +10,7 @@ import { LocationSegments, RouterHistory } from "@stencil/router";
10
10
  import { SelectInputOption } from "./components/super-selection-app/misc/dropdown-async";
11
11
  import { MyOwnFundFormState } from "./components/super-selection-app/funds/custom-fund/custom-fund.store";
12
12
  import { SelfManagedFundForm } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form";
13
+ import { FormChangedEvent } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs";
13
14
  import { VNode } from "./stencil-public-runtime";
14
15
  import { InitialisedWith } from "./components/super-selection-app/super-selection-app";
15
16
  export namespace Components {
@@ -47,6 +48,9 @@ export namespace Components {
47
48
  interface SssHeaderSection {
48
49
  "currentPage": 'choice' | 'own-fund';
49
50
  }
51
+ interface SssIframeHost {
52
+ "build": (iframe: HTMLIFrameElement) => void;
53
+ }
50
54
  interface SssLoadingIndicator {
51
55
  "size": number;
52
56
  "theme": 'primary' | 'light';
@@ -60,7 +64,10 @@ export namespace Components {
60
64
  "myOwnFundForm": MyOwnFundFormState;
61
65
  "showValidationErrors": boolean;
62
66
  }
63
- interface SssPromotedFundJoinPage {
67
+ interface SssPromotedFundJoinV1Page {
68
+ "history": RouterHistory;
69
+ }
70
+ interface SssPromotedFundJoinV2Page {
64
71
  "history": RouterHistory;
65
72
  }
66
73
  interface SssSelfManagedFund {
@@ -154,6 +161,12 @@ declare global {
154
161
  prototype: HTMLSssHeaderSectionElement;
155
162
  new (): HTMLSssHeaderSectionElement;
156
163
  };
164
+ interface HTMLSssIframeHostElement extends Components.SssIframeHost, HTMLStencilElement {
165
+ }
166
+ var HTMLSssIframeHostElement: {
167
+ prototype: HTMLSssIframeHostElement;
168
+ new (): HTMLSssIframeHostElement;
169
+ };
157
170
  interface HTMLSssLoadingIndicatorElement extends Components.SssLoadingIndicator, HTMLStencilElement {
158
171
  }
159
172
  var HTMLSssLoadingIndicatorElement: {
@@ -178,11 +191,17 @@ declare global {
178
191
  prototype: HTMLSssMyOwnFundInputsElement;
179
192
  new (): HTMLSssMyOwnFundInputsElement;
180
193
  };
181
- interface HTMLSssPromotedFundJoinPageElement extends Components.SssPromotedFundJoinPage, HTMLStencilElement {
194
+ interface HTMLSssPromotedFundJoinV1PageElement extends Components.SssPromotedFundJoinV1Page, HTMLStencilElement {
182
195
  }
183
- var HTMLSssPromotedFundJoinPageElement: {
184
- prototype: HTMLSssPromotedFundJoinPageElement;
185
- new (): HTMLSssPromotedFundJoinPageElement;
196
+ var HTMLSssPromotedFundJoinV1PageElement: {
197
+ prototype: HTMLSssPromotedFundJoinV1PageElement;
198
+ new (): HTMLSssPromotedFundJoinV1PageElement;
199
+ };
200
+ interface HTMLSssPromotedFundJoinV2PageElement extends Components.SssPromotedFundJoinV2Page, HTMLStencilElement {
201
+ }
202
+ var HTMLSssPromotedFundJoinV2PageElement: {
203
+ prototype: HTMLSssPromotedFundJoinV2PageElement;
204
+ new (): HTMLSssPromotedFundJoinV2PageElement;
186
205
  };
187
206
  interface HTMLSssSelfManagedFundElement extends Components.SssSelfManagedFund, HTMLStencilElement {
188
207
  }
@@ -259,11 +278,13 @@ declare global {
259
278
  "sss-existing-choice-page": HTMLSssExistingChoicePageElement;
260
279
  "sss-footer-section": HTMLSssFooterSectionElement;
261
280
  "sss-header-section": HTMLSssHeaderSectionElement;
281
+ "sss-iframe-host": HTMLSssIframeHostElement;
262
282
  "sss-loading-indicator": HTMLSssLoadingIndicatorElement;
263
283
  "sss-loading-page": HTMLSssLoadingPageElement;
264
284
  "sss-my-own-fund": HTMLSssMyOwnFundElement;
265
285
  "sss-my-own-fund-inputs": HTMLSssMyOwnFundInputsElement;
266
- "sss-promoted-fund-join-page": HTMLSssPromotedFundJoinPageElement;
286
+ "sss-promoted-fund-join-v1-page": HTMLSssPromotedFundJoinV1PageElement;
287
+ "sss-promoted-fund-join-v2-page": HTMLSssPromotedFundJoinV2PageElement;
267
288
  "sss-self-managed-fund": HTMLSssSelfManagedFundElement;
268
289
  "sss-self-managed-fund-inputs": HTMLSssSelfManagedFundInputsElement;
269
290
  "sss-slate-join-page": HTMLSssSlateJoinPageElement;
@@ -313,6 +334,9 @@ declare namespace LocalJSX {
313
334
  interface SssHeaderSection {
314
335
  "currentPage"?: 'choice' | 'own-fund';
315
336
  }
337
+ interface SssIframeHost {
338
+ "build"?: (iframe: HTMLIFrameElement) => void;
339
+ }
316
340
  interface SssLoadingIndicator {
317
341
  "size"?: number;
318
342
  "theme"?: 'primary' | 'light';
@@ -327,7 +351,10 @@ declare namespace LocalJSX {
327
351
  "onFormChanged"?: (event: CustomEvent<Partial<MyOwnFundFormState>>) => void;
328
352
  "showValidationErrors"?: boolean;
329
353
  }
330
- interface SssPromotedFundJoinPage {
354
+ interface SssPromotedFundJoinV1Page {
355
+ "history"?: RouterHistory;
356
+ }
357
+ interface SssPromotedFundJoinV2Page {
331
358
  "history"?: RouterHistory;
332
359
  }
333
360
  interface SssSelfManagedFund {
@@ -335,7 +362,7 @@ declare namespace LocalJSX {
335
362
  }
336
363
  interface SssSelfManagedFundInputs {
337
364
  "fundForm"?: Partial<SelfManagedFundForm>;
338
- "onFormChanged"?: (event: CustomEvent<Partial<SelfManagedFundForm>>) => void;
365
+ "onFormChanged"?: (event: CustomEvent<Partial<FormChangedEvent>>) => void;
339
366
  "showValidationErrors"?: boolean;
340
367
  }
341
368
  interface SssSlateJoinPage {
@@ -386,11 +413,13 @@ declare namespace LocalJSX {
386
413
  "sss-existing-choice-page": SssExistingChoicePage;
387
414
  "sss-footer-section": SssFooterSection;
388
415
  "sss-header-section": SssHeaderSection;
416
+ "sss-iframe-host": SssIframeHost;
389
417
  "sss-loading-indicator": SssLoadingIndicator;
390
418
  "sss-loading-page": SssLoadingPage;
391
419
  "sss-my-own-fund": SssMyOwnFund;
392
420
  "sss-my-own-fund-inputs": SssMyOwnFundInputs;
393
- "sss-promoted-fund-join-page": SssPromotedFundJoinPage;
421
+ "sss-promoted-fund-join-v1-page": SssPromotedFundJoinV1Page;
422
+ "sss-promoted-fund-join-v2-page": SssPromotedFundJoinV2Page;
394
423
  "sss-self-managed-fund": SssSelfManagedFund;
395
424
  "sss-self-managed-fund-inputs": SssSelfManagedFundInputs;
396
425
  "sss-slate-join-page": SssSlateJoinPage;
@@ -416,11 +445,13 @@ declare module "@stencil/core" {
416
445
  "sss-existing-choice-page": LocalJSX.SssExistingChoicePage & JSXBase.HTMLAttributes<HTMLSssExistingChoicePageElement>;
417
446
  "sss-footer-section": LocalJSX.SssFooterSection & JSXBase.HTMLAttributes<HTMLSssFooterSectionElement>;
418
447
  "sss-header-section": LocalJSX.SssHeaderSection & JSXBase.HTMLAttributes<HTMLSssHeaderSectionElement>;
448
+ "sss-iframe-host": LocalJSX.SssIframeHost & JSXBase.HTMLAttributes<HTMLSssIframeHostElement>;
419
449
  "sss-loading-indicator": LocalJSX.SssLoadingIndicator & JSXBase.HTMLAttributes<HTMLSssLoadingIndicatorElement>;
420
450
  "sss-loading-page": LocalJSX.SssLoadingPage & JSXBase.HTMLAttributes<HTMLSssLoadingPageElement>;
421
451
  "sss-my-own-fund": LocalJSX.SssMyOwnFund & JSXBase.HTMLAttributes<HTMLSssMyOwnFundElement>;
422
452
  "sss-my-own-fund-inputs": LocalJSX.SssMyOwnFundInputs & JSXBase.HTMLAttributes<HTMLSssMyOwnFundInputsElement>;
423
- "sss-promoted-fund-join-page": LocalJSX.SssPromotedFundJoinPage & JSXBase.HTMLAttributes<HTMLSssPromotedFundJoinPageElement>;
453
+ "sss-promoted-fund-join-v1-page": LocalJSX.SssPromotedFundJoinV1Page & JSXBase.HTMLAttributes<HTMLSssPromotedFundJoinV1PageElement>;
454
+ "sss-promoted-fund-join-v2-page": LocalJSX.SssPromotedFundJoinV2Page & JSXBase.HTMLAttributes<HTMLSssPromotedFundJoinV2PageElement>;
424
455
  "sss-self-managed-fund": LocalJSX.SssSelfManagedFund & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundElement>;
425
456
  "sss-self-managed-fund-inputs": LocalJSX.SssSelfManagedFundInputs & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundInputsElement>;
426
457
  "sss-slate-join-page": LocalJSX.SssSlateJoinPage & JSXBase.HTMLAttributes<HTMLSssSlateJoinPageElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "3.59.63229",
3
+ "version": "3.62.64158",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",