@flarehr/apollo-super-selection 5.44.6793 → 5.45.6971

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.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/p-44edd355.system.entry.js +69 -0
  3. package/dist/lib/apollo-super-selection/p-46cf321a.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  5. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  6. package/dist/lib/cjs/loader.cjs.js +1 -1
  7. package/dist/lib/cjs/{sss-button_33.cjs.entry.js → sss-button_34.cjs.entry.js} +205 -103
  8. package/dist/lib/collection/collection-manifest.json +5 -3
  9. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +253 -0
  10. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +121 -0
  11. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +1 -1
  12. package/dist/lib/esm/apollo-super-selection.js +1 -1
  13. package/dist/lib/esm/loader.js +1 -1
  14. package/dist/lib/esm/{sss-button_33.entry.js → sss-button_34.entry.js} +204 -103
  15. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  16. package/dist/lib/esm-es5/loader.js +1 -1
  17. package/dist/lib/esm-es5/sss-button_34.entry.js +69 -0
  18. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +1 -1
  19. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +29 -0
  20. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +14 -0
  21. package/dist/lib/types/components.d.ts +35 -15
  22. package/package.json +1 -1
  23. package/dist/lib/apollo-super-selection/p-36a6d49c.system.entry.js +0 -69
  24. package/dist/lib/apollo-super-selection/p-4f85f43b.entry.js +0 -14
  25. package/dist/lib/collection/components/super-smsf/super-smsf-types.js +0 -1
  26. package/dist/lib/collection/components/super-smsf/super-smsf.js +0 -136
  27. package/dist/lib/esm-es5/sss-button_33.entry.js +0 -69
  28. package/dist/lib/types/components/super-smsf/super-smsf-types.d.ts +0 -34
  29. package/dist/lib/types/components/super-smsf/super-smsf.d.ts +0 -18
  30. /package/dist/lib/collection/components/{super-smsf/super-smsf.form.js → super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js} +0 -0
  31. /package/dist/lib/types/components/{super-smsf/super-smsf.form.d.ts → super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as O from 'fp-ts/Option';
2
- import { SelfManagedFundForm } from '../../../super-smsf/super-smsf.form';
2
+ import { SelfManagedFundForm } from './self-managed-fund/self-managed-fund.form';
3
3
  export declare type CustomFundOption = {
4
4
  label: CustomFundTypes;
5
5
  value: string;
@@ -0,0 +1,29 @@
1
+ import { EventEmitter } from '../../../../../stencil-public-runtime';
2
+ import { SelfManagedFundForm } from './self-managed-fund.form';
3
+ export interface FormChangedEvent extends SelfManagedFundForm {
4
+ isAbnValid: boolean;
5
+ }
6
+ export declare class SelfManagedFundInputs {
7
+ fundForm: Partial<SelfManagedFundForm>;
8
+ showValidationErrors: boolean;
9
+ formChanged: EventEmitter<Partial<FormChangedEvent>>;
10
+ private abnValidationStatus;
11
+ private isAbnTouched;
12
+ private currentBank;
13
+ private addressErrorMessage;
14
+ private readonly stateOptions;
15
+ private bsbRegex;
16
+ private bankAccountNumberRegex;
17
+ private addressLine1Element;
18
+ private cityElement;
19
+ private postcodeElement;
20
+ private stateElement;
21
+ render(): Element[];
22
+ private updateFormField;
23
+ private isAbnUsedForRegulatedAsync;
24
+ private renderAbnValidationError;
25
+ private filterDigits;
26
+ private updateCurrentBank;
27
+ private updateCurrentBankAccountNumber;
28
+ private updateAddressErrorMessage;
29
+ }
@@ -0,0 +1,14 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ export declare class SelfManagedFund {
3
+ history: RouterHistory;
4
+ private formState;
5
+ private isSubmitDisabled;
6
+ private isAbnValid;
7
+ private readonly eventTrackingService;
8
+ private formElement;
9
+ componentDidLoad(): Promise<void>;
10
+ render(): Element[];
11
+ private success;
12
+ private updateIsSubmitDisabled;
13
+ private handleSubmitForm;
14
+ }
@@ -11,6 +11,8 @@ 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";
14
16
  import { InitialisedWith } from "./components/super-selection-app/super-selection-app";
15
17
  export namespace Components {
16
18
  interface SssButton {
@@ -102,6 +104,13 @@ export namespace Components {
102
104
  interface SssPrefillWarningBox {
103
105
  "notificationList": string[];
104
106
  }
107
+ interface SssSelfManagedFund {
108
+ "history": RouterHistory;
109
+ }
110
+ interface SssSelfManagedFundInputs {
111
+ "fundForm": Partial<SelfManagedFundForm>;
112
+ "showValidationErrors": boolean;
113
+ }
105
114
  interface SssStandardChoiceForm {
106
115
  "history": RouterHistory;
107
116
  }
@@ -113,9 +122,6 @@ export namespace Components {
113
122
  interface SssSuperCampaignHost {
114
123
  "history": RouterHistory;
115
124
  }
116
- interface SssSuperSmsfHost {
117
- "history": RouterHistory;
118
- }
119
125
  interface SuperSelectionApp {
120
126
  "accessToken": string;
121
127
  "appBaseUrl"?: string;
@@ -261,6 +267,18 @@ declare global {
261
267
  prototype: HTMLSssPrefillWarningBoxElement;
262
268
  new (): HTMLSssPrefillWarningBoxElement;
263
269
  };
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
+ };
264
282
  interface HTMLSssStandardChoiceFormElement extends Components.SssStandardChoiceForm, HTMLStencilElement {
265
283
  }
266
284
  var HTMLSssStandardChoiceFormElement: {
@@ -285,12 +303,6 @@ declare global {
285
303
  prototype: HTMLSssSuperCampaignHostElement;
286
304
  new (): HTMLSssSuperCampaignHostElement;
287
305
  };
288
- interface HTMLSssSuperSmsfHostElement extends Components.SssSuperSmsfHost, HTMLStencilElement {
289
- }
290
- var HTMLSssSuperSmsfHostElement: {
291
- prototype: HTMLSssSuperSmsfHostElement;
292
- new (): HTMLSssSuperSmsfHostElement;
293
- };
294
306
  interface HTMLSuperSelectionAppElement extends Components.SuperSelectionApp, HTMLStencilElement {
295
307
  }
296
308
  var HTMLSuperSelectionAppElement: {
@@ -326,11 +338,12 @@ declare global {
326
338
  "sss-prefill-my-own-fund": HTMLSssPrefillMyOwnFundElement;
327
339
  "sss-prefill-smsf": HTMLSssPrefillSmsfElement;
328
340
  "sss-prefill-warning-box": HTMLSssPrefillWarningBoxElement;
341
+ "sss-self-managed-fund": HTMLSssSelfManagedFundElement;
342
+ "sss-self-managed-fund-inputs": HTMLSssSelfManagedFundInputsElement;
329
343
  "sss-standard-choice-form": HTMLSssStandardChoiceFormElement;
330
344
  "sss-success": HTMLSssSuccessElement;
331
345
  "sss-super-campaign-featured-funds": HTMLSssSuperCampaignFeaturedFundsElement;
332
346
  "sss-super-campaign-host": HTMLSssSuperCampaignHostElement;
333
- "sss-super-smsf-host": HTMLSssSuperSmsfHostElement;
334
347
  "super-selection-app": HTMLSuperSelectionAppElement;
335
348
  "super-selection-app-host": HTMLSuperSelectionAppHostElement;
336
349
  }
@@ -428,6 +441,14 @@ declare namespace LocalJSX {
428
441
  interface SssPrefillWarningBox {
429
442
  "notificationList"?: string[];
430
443
  }
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
+ }
431
452
  interface SssStandardChoiceForm {
432
453
  "history"?: RouterHistory;
433
454
  }
@@ -439,9 +460,6 @@ declare namespace LocalJSX {
439
460
  interface SssSuperCampaignHost {
440
461
  "history"?: RouterHistory;
441
462
  }
442
- interface SssSuperSmsfHost {
443
- "history"?: RouterHistory;
444
- }
445
463
  interface SuperSelectionApp {
446
464
  "accessToken"?: string;
447
465
  "appBaseUrl"?: string;
@@ -479,11 +497,12 @@ declare namespace LocalJSX {
479
497
  "sss-prefill-my-own-fund": SssPrefillMyOwnFund;
480
498
  "sss-prefill-smsf": SssPrefillSmsf;
481
499
  "sss-prefill-warning-box": SssPrefillWarningBox;
500
+ "sss-self-managed-fund": SssSelfManagedFund;
501
+ "sss-self-managed-fund-inputs": SssSelfManagedFundInputs;
482
502
  "sss-standard-choice-form": SssStandardChoiceForm;
483
503
  "sss-success": SssSuccess;
484
504
  "sss-super-campaign-featured-funds": SssSuperCampaignFeaturedFunds;
485
505
  "sss-super-campaign-host": SssSuperCampaignHost;
486
- "sss-super-smsf-host": SssSuperSmsfHost;
487
506
  "super-selection-app": SuperSelectionApp;
488
507
  "super-selection-app-host": SuperSelectionAppHost;
489
508
  }
@@ -514,11 +533,12 @@ declare module "@stencil/core" {
514
533
  "sss-prefill-my-own-fund": LocalJSX.SssPrefillMyOwnFund & JSXBase.HTMLAttributes<HTMLSssPrefillMyOwnFundElement>;
515
534
  "sss-prefill-smsf": LocalJSX.SssPrefillSmsf & JSXBase.HTMLAttributes<HTMLSssPrefillSmsfElement>;
516
535
  "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>;
517
538
  "sss-standard-choice-form": LocalJSX.SssStandardChoiceForm & JSXBase.HTMLAttributes<HTMLSssStandardChoiceFormElement>;
518
539
  "sss-success": LocalJSX.SssSuccess & JSXBase.HTMLAttributes<HTMLSssSuccessElement>;
519
540
  "sss-super-campaign-featured-funds": LocalJSX.SssSuperCampaignFeaturedFunds & JSXBase.HTMLAttributes<HTMLSssSuperCampaignFeaturedFundsElement>;
520
541
  "sss-super-campaign-host": LocalJSX.SssSuperCampaignHost & JSXBase.HTMLAttributes<HTMLSssSuperCampaignHostElement>;
521
- "sss-super-smsf-host": LocalJSX.SssSuperSmsfHost & JSXBase.HTMLAttributes<HTMLSssSuperSmsfHostElement>;
522
542
  "super-selection-app": LocalJSX.SuperSelectionApp & JSXBase.HTMLAttributes<HTMLSuperSelectionAppElement>;
523
543
  "super-selection-app-host": LocalJSX.SuperSelectionAppHost & JSXBase.HTMLAttributes<HTMLSuperSelectionAppHostElement>;
524
544
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "5.44.6793",
3
+ "version": "5.45.6971",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",