@flarehr/apollo-super-selection 5.35.59699 → 5.37.61551

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 (32) 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-27a77bf5.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-3ff465df.system.entry.js +69 -0
  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_33.cjs.entry.js → sss-button_34.cjs.entry.js} +69 -29
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/collection-manifest.json +2 -0
  11. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +30 -7
  12. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +6 -23
  13. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.js +59 -0
  14. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +2 -0
  15. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +4 -0
  16. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +2 -1
  17. package/dist/lib/esm/apollo-super-selection.js +1 -1
  18. package/dist/lib/esm/loader.js +1 -1
  19. package/dist/lib/esm/{sss-button_33.entry.js → sss-button_34.entry.js} +69 -30
  20. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  21. package/dist/lib/esm-es5/loader.js +1 -1
  22. package/dist/lib/esm-es5/{sss-button_33.entry.js → sss-button_34.entry.js} +13 -13
  23. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
  24. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +6 -9
  25. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.d.ts +9 -0
  26. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +1 -0
  27. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +1 -0
  28. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +1 -0
  29. package/dist/lib/types/components.d.ts +15 -0
  30. package/package.json +1 -1
  31. package/dist/lib/apollo-super-selection/p-acc018a2.entry.js +0 -14
  32. package/dist/lib/apollo-super-selection/p-ccf21337.system.entry.js +0 -69
@@ -220,6 +220,7 @@ export declare type AppStateDto = {
220
220
  profileConfiguration: ProfileConfigurationDto;
221
221
  promotedFunds: string[];
222
222
  bringYourOwnFundCustomStepEnabled: boolean;
223
+ featuredFundsEnabled: boolean;
223
224
  isDefinedBenefitsEligible: boolean | null;
224
225
  prefill: SuperChoicePrefillDto | null;
225
226
  };
@@ -1,13 +1,14 @@
1
1
  import * as O from 'fp-ts/Option';
2
2
  import { SelfManagedFundForm } from './self-managed-fund/self-managed-fund.form';
3
- declare type CustomFundOption = {
3
+ export declare type CustomFundOption = {
4
4
  label: CustomFundTypes;
5
5
  value: string;
6
6
  };
7
- declare enum CustomFundTypes {
8
- MyOwnFund = "Your current super fund",
9
- DefaultFund = "Your employer's default fund",
10
- SelfManagedFund = "Your self-managed super fund"
7
+ export declare enum CustomFundTypes {
8
+ MyOwnFund = "Existing super fund",
9
+ DefaultFund = "Default super fund",
10
+ SelfManagedFund = "Self-managed super fund",
11
+ FeaturedFunds = "Featured super funds"
11
12
  }
12
13
  export declare type MyOwnFundFormState = {
13
14
  fundUsi: O.Option<string>;
@@ -17,10 +18,6 @@ export declare type MyOwnFundFormState = {
17
18
  memberFamilyName: O.Option<string>;
18
19
  };
19
20
  export declare type CustomFundState = {
20
- continueAllowed: boolean;
21
- nextRoute: string;
22
- customFunds: Array<CustomFundOption>;
23
- currentCustomFundType: CustomFundTypes;
24
21
  myOwnFundForm: MyOwnFundFormState;
25
22
  selfManagedFundForm: SelfManagedFundForm;
26
23
  };
@@ -0,0 +1,9 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ export declare class FeaturedFunds {
3
+ history: RouterHistory;
4
+ private backendUrl;
5
+ private accessToken;
6
+ componentWillLoad(): void;
7
+ disconnectedCallback(): void;
8
+ render(): Element[];
9
+ }
@@ -11,6 +11,7 @@ export declare enum SuperSelectionAppRoutes {
11
11
  PrefillInvalidSMSFPage = "/super-choice/prefill-invalid-smsf/",
12
12
  SelfManagedFund = "/super-choice/smsf/",
13
13
  DefaultFund = "/super-choice/default/",
14
+ FeaturedFunds = "/super-choice/featured-funds/",
14
15
  StandardChoice = "/standard-choice/",
15
16
  Success = "/success/"
16
17
  }
@@ -31,6 +31,7 @@ export declare class SuperSelectionAppService {
31
31
  set superCampaignComponentStatus(value: SuperCampaignComponentStatus);
32
32
  get isUsingSuperCampaign(): boolean;
33
33
  get isBringYourOwnFundCustomStepEnabled(): boolean;
34
+ get isFeaturedFundsEnabled(): boolean;
34
35
  get superCampaignCanNotBeActivated(): boolean;
35
36
  get hideFooterSection(): boolean;
36
37
  set hideFooterSection(value: boolean);
@@ -21,6 +21,7 @@ export declare type AppContextState = {
21
21
  isDefinedBenefitsEligible: O.Option<boolean>;
22
22
  superCampaignEnabled: boolean;
23
23
  bringYourOwnFundCustomStepEnabled: boolean;
24
+ featuredFundsEnabled: boolean;
24
25
  superCampaignState: SuperCampaignState | undefined;
25
26
  superCampaignComponentStatus: SuperCampaignComponentStatus;
26
27
  hideFooterSection: boolean;
@@ -116,6 +116,9 @@ export namespace Components {
116
116
  }
117
117
  interface SssSuccess {
118
118
  }
119
+ interface SssSuperCampaignFeaturedFunds {
120
+ "history": RouterHistory;
121
+ }
119
122
  interface SssSuperCampaignHost {
120
123
  "history": RouterHistory;
121
124
  }
@@ -288,6 +291,12 @@ declare global {
288
291
  prototype: HTMLSssSuccessElement;
289
292
  new (): HTMLSssSuccessElement;
290
293
  };
294
+ interface HTMLSssSuperCampaignFeaturedFundsElement extends Components.SssSuperCampaignFeaturedFunds, HTMLStencilElement {
295
+ }
296
+ var HTMLSssSuperCampaignFeaturedFundsElement: {
297
+ prototype: HTMLSssSuperCampaignFeaturedFundsElement;
298
+ new (): HTMLSssSuperCampaignFeaturedFundsElement;
299
+ };
291
300
  interface HTMLSssSuperCampaignHostElement extends Components.SssSuperCampaignHost, HTMLStencilElement {
292
301
  }
293
302
  var HTMLSssSuperCampaignHostElement: {
@@ -333,6 +342,7 @@ declare global {
333
342
  "sss-self-managed-fund-inputs": HTMLSssSelfManagedFundInputsElement;
334
343
  "sss-standard-choice-form": HTMLSssStandardChoiceFormElement;
335
344
  "sss-success": HTMLSssSuccessElement;
345
+ "sss-super-campaign-featured-funds": HTMLSssSuperCampaignFeaturedFundsElement;
336
346
  "sss-super-campaign-host": HTMLSssSuperCampaignHostElement;
337
347
  "super-selection-app": HTMLSuperSelectionAppElement;
338
348
  "super-selection-app-host": HTMLSuperSelectionAppHostElement;
@@ -444,6 +454,9 @@ declare namespace LocalJSX {
444
454
  }
445
455
  interface SssSuccess {
446
456
  }
457
+ interface SssSuperCampaignFeaturedFunds {
458
+ "history"?: RouterHistory;
459
+ }
447
460
  interface SssSuperCampaignHost {
448
461
  "history"?: RouterHistory;
449
462
  }
@@ -488,6 +501,7 @@ declare namespace LocalJSX {
488
501
  "sss-self-managed-fund-inputs": SssSelfManagedFundInputs;
489
502
  "sss-standard-choice-form": SssStandardChoiceForm;
490
503
  "sss-success": SssSuccess;
504
+ "sss-super-campaign-featured-funds": SssSuperCampaignFeaturedFunds;
491
505
  "sss-super-campaign-host": SssSuperCampaignHost;
492
506
  "super-selection-app": SuperSelectionApp;
493
507
  "super-selection-app-host": SuperSelectionAppHost;
@@ -523,6 +537,7 @@ declare module "@stencil/core" {
523
537
  "sss-self-managed-fund-inputs": LocalJSX.SssSelfManagedFundInputs & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundInputsElement>;
524
538
  "sss-standard-choice-form": LocalJSX.SssStandardChoiceForm & JSXBase.HTMLAttributes<HTMLSssStandardChoiceFormElement>;
525
539
  "sss-success": LocalJSX.SssSuccess & JSXBase.HTMLAttributes<HTMLSssSuccessElement>;
540
+ "sss-super-campaign-featured-funds": LocalJSX.SssSuperCampaignFeaturedFunds & JSXBase.HTMLAttributes<HTMLSssSuperCampaignFeaturedFundsElement>;
526
541
  "sss-super-campaign-host": LocalJSX.SssSuperCampaignHost & JSXBase.HTMLAttributes<HTMLSssSuperCampaignHostElement>;
527
542
  "super-selection-app": LocalJSX.SuperSelectionApp & JSXBase.HTMLAttributes<HTMLSuperSelectionAppElement>;
528
543
  "super-selection-app-host": LocalJSX.SuperSelectionAppHost & JSXBase.HTMLAttributes<HTMLSuperSelectionAppHostElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "5.35.59699",
3
+ "version": "5.37.61551",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",