@flarehr/apollo-super-selection 5.25.54575 → 5.27.55975

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 (38) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/p-32c9d2c0.entry.js +14 -0
  3. package/dist/lib/apollo-super-selection/p-60543701.system.entry.js +69 -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_31.cjs.entry.js → sss-button_32.cjs.entry.js} +119 -17
  8. package/dist/lib/collection/collection-manifest.json +2 -0
  9. package/dist/lib/collection/components/app-host/super-selection-app-host.css +6 -6
  10. package/dist/lib/collection/components/super-campaign/super-campaign.js +4 -8
  11. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +2 -2
  12. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.js +1 -0
  13. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.js +115 -0
  14. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +5 -0
  15. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +10 -0
  16. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +2 -0
  17. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +16 -4
  18. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +2 -1
  19. package/dist/lib/esm/apollo-super-selection.js +1 -1
  20. package/dist/lib/esm/loader.js +1 -1
  21. package/dist/lib/esm/{sss-button_31.entry.js → sss-button_32.entry.js} +119 -18
  22. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  23. package/dist/lib/esm-es5/loader.js +1 -1
  24. package/dist/lib/esm-es5/sss-button_32.entry.js +69 -0
  25. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -1
  26. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +11 -0
  27. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +1 -0
  28. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step-types.d.ts +15 -0
  29. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-engagement-step.d.ts +20 -0
  30. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +2 -0
  31. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +1 -0
  32. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +5 -2
  33. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +2 -1
  34. package/dist/lib/types/components.d.ts +15 -0
  35. package/package.json +1 -1
  36. package/dist/lib/apollo-super-selection/p-64e00db6.entry.js +0 -14
  37. package/dist/lib/apollo-super-selection/p-cf19c194.system.entry.js +0 -69
  38. package/dist/lib/esm-es5/sss-button_31.entry.js +0 -69
@@ -13,7 +13,6 @@ export declare class SuperCampaignHost {
13
13
  private activateFallbackMechanism;
14
14
  private superCampaignLoadingTimeoutTriggered;
15
15
  private createApolloSuperCampaignScriptUrl;
16
- private getBaseUrl;
17
16
  private getEnvironmentTag;
18
17
  private subscribeToSuperCampaignEvents;
19
18
  private unSubscribeFromSuperCampaignEvents;
@@ -119,6 +119,13 @@ export declare type SuperCampaignOperationFailedDetail = {
119
119
  reason: string;
120
120
  };
121
121
  export declare type SuperCampaignActivationSucceededDetail = Record<string, never>;
122
+ export declare type SuperMyOwnFundEngagementStepActivationSucceededDetail = {
123
+ fundUsi: string;
124
+ };
125
+ export declare type SuperMyOwnFundEngagementStepContinuedDetail = {
126
+ fundUsi: string;
127
+ reason: string;
128
+ };
122
129
  export declare type SuperSelectionAnalyticsEvent = {
123
130
  SuperFundPdsViewed: SuperFundPdsViewedDetail;
124
131
  } | {
@@ -143,6 +150,10 @@ export declare type SuperSelectionAnalyticsEvent = {
143
150
  SuperCampaignActivationFailed: SuperCampaignActivationFailedDetail;
144
151
  } | {
145
152
  SuperCampaignOperationFailed: SuperCampaignOperationFailedDetail;
153
+ } | {
154
+ SuperMyOwnFundEngagementStepActivationSucceeded: SuperMyOwnFundEngagementStepActivationSucceededDetail;
155
+ } | {
156
+ SuperMyOwnFundEngagementStepContinued: SuperMyOwnFundEngagementStepContinuedDetail;
146
157
  };
147
158
  export declare type SuperSelectionEventDto = {
148
159
  event: SuperSelectionAnalyticsEvent;
@@ -212,6 +212,7 @@ export declare type AppStateDto = {
212
212
  accountConfiguration: AccountConfigurationDto;
213
213
  profileConfiguration: ProfileConfigurationDto;
214
214
  promotedFunds: string[];
215
+ bringYourOwnFundCustomStepEnabled: boolean;
215
216
  isDefinedBenefitsEligible: boolean | null;
216
217
  prefill: SuperChoicePrefillDto | null;
217
218
  };
@@ -0,0 +1,15 @@
1
+ export declare type Sender = 'byof-engagement';
2
+ export declare type CommonEventPayload = {
3
+ sender: Sender;
4
+ };
5
+ export declare type ContinueEvent = CommonEventPayload & {
6
+ type: 'continue';
7
+ reason: string;
8
+ };
9
+ export declare type EventPayload = ContinueEvent;
10
+ export declare type EventType = EventPayload['type'];
11
+ export declare type EventHandlers = {
12
+ [k in EventType]: (event: CustomEvent<Extract<EventPayload, {
13
+ type: k;
14
+ }>>) => Promise<void>;
15
+ };
@@ -0,0 +1,20 @@
1
+ import { RouterHistory } from '@stencil/router';
2
+ export declare class MyOwnFundEngagementStep {
3
+ history: RouterHistory;
4
+ private backendUrl;
5
+ private accessToken;
6
+ private fundUsi;
7
+ private fundName;
8
+ private memberNumber;
9
+ private memberFirstName;
10
+ private memberFamilyName;
11
+ private stepEventHandlers;
12
+ constructor();
13
+ componentWillLoad(): Promise<void>;
14
+ disconnectedCallback(): void;
15
+ render(): Element[];
16
+ private navigateToStandardChoice;
17
+ private stepContinued;
18
+ private subscribeToStepEvents;
19
+ private unSubscribeFromStepEvents;
20
+ }
@@ -17,5 +17,7 @@ export declare class EventTrackingService {
17
17
  TrackSuperFundPrefillDeclinedAsync(detail: model.SuperFundPrefillDeclinedDetail): Promise<void>;
18
18
  TrackSuperFundDetailChangeRequestedAsync(detail: model.SuperFundDetailChangeRequested): Promise<void>;
19
19
  TrackSuperCampaignActivationSucceededAsync(detail: model.SuperCampaignActivationSucceededDetail): Promise<void>;
20
+ TrackSuperMyOwnFundEngagementStepActivationSucceeded(fundUsi: any): Promise<void>;
21
+ TrackSuperMyOwnFundEngagementStepContinued(fundUsi: string, reason: string): Promise<void>;
20
22
  private trackEventAsync;
21
23
  }
@@ -3,6 +3,7 @@ export declare enum SuperSelectionAppRoutes {
3
3
  SuperCampaign = "/super-campaign",
4
4
  ChoicePage = "/",
5
5
  MyOwnFund = "/super-choice/my-own-fund/",
6
+ MyOwnFundEngagementStep = "/super-choice/my-own-fund-engagement/",
6
7
  Prefill = "/super-choice/prefill/",
7
8
  PrefillInvalidMyOwnFundPage = "/super-choice/sss-prefill-invalid-my-own-fund/",
8
9
  PrefillMyOwnFundPage = "/super-choice/prefill-my-own-fund/",
@@ -30,9 +30,12 @@ export declare class SuperSelectionAppService {
30
30
  get superCampaignComponentStatus(): SuperCampaignComponentStatus;
31
31
  set superCampaignComponentStatus(value: SuperCampaignComponentStatus);
32
32
  get isUsingSuperCampaign(): boolean;
33
+ get isBringYourOwnFundCustomStepEnabled(): boolean;
33
34
  get isSuperCampaignFallbackActivated(): boolean;
34
- get superCampaignIsInView(): boolean;
35
- set superCampaignIsInView(value: boolean);
35
+ get hideFooterSection(): boolean;
36
+ set hideFooterSection(value: boolean);
37
+ get backendUrl(): O.Option<string>;
38
+ private getBaseUrl;
36
39
  }
37
40
  declare const _default: SuperSelectionAppService;
38
41
  export default _default;
@@ -20,9 +20,10 @@ export declare type AppContextState = {
20
20
  hasSuperSelectionBeenSubmitted: boolean;
21
21
  isDefinedBenefitsEligible: O.Option<boolean>;
22
22
  superCampaignEnabled: boolean;
23
+ bringYourOwnFundCustomStepEnabled: boolean;
23
24
  superCampaignState: SuperCampaignState | undefined;
24
25
  superCampaignComponentStatus: SuperCampaignComponentStatus;
25
- superCampaignIsInView: boolean;
26
+ hideFooterSection: boolean;
26
27
  };
27
28
  export declare class SuperCampaignState {
28
29
  private _promotedFundsShown;
@@ -59,6 +59,9 @@ export namespace Components {
59
59
  interface SssMyOwnFund {
60
60
  "history": RouterHistory;
61
61
  }
62
+ interface SssMyOwnFundEngagementStepHost {
63
+ "history": RouterHistory;
64
+ }
62
65
  interface SssMyOwnFundInputs {
63
66
  "myOwnFundForm": MyOwnFundFormState;
64
67
  "showValidationErrors": boolean;
@@ -187,6 +190,12 @@ declare global {
187
190
  prototype: HTMLSssMyOwnFundElement;
188
191
  new (): HTMLSssMyOwnFundElement;
189
192
  };
193
+ interface HTMLSssMyOwnFundEngagementStepHostElement extends Components.SssMyOwnFundEngagementStepHost, HTMLStencilElement {
194
+ }
195
+ var HTMLSssMyOwnFundEngagementStepHostElement: {
196
+ prototype: HTMLSssMyOwnFundEngagementStepHostElement;
197
+ new (): HTMLSssMyOwnFundEngagementStepHostElement;
198
+ };
190
199
  interface HTMLSssMyOwnFundInputsElement extends Components.SssMyOwnFundInputs, HTMLStencilElement {
191
200
  }
192
201
  var HTMLSssMyOwnFundInputsElement: {
@@ -300,6 +309,7 @@ declare global {
300
309
  "sss-loading-indicator": HTMLSssLoadingIndicatorElement;
301
310
  "sss-loading-page": HTMLSssLoadingPageElement;
302
311
  "sss-my-own-fund": HTMLSssMyOwnFundElement;
312
+ "sss-my-own-fund-engagement-step-host": HTMLSssMyOwnFundEngagementStepHostElement;
303
313
  "sss-my-own-fund-inputs": HTMLSssMyOwnFundInputsElement;
304
314
  "sss-name-input": HTMLSssNameInputElement;
305
315
  "sss-prefill": HTMLSssPrefillElement;
@@ -365,6 +375,9 @@ declare namespace LocalJSX {
365
375
  interface SssMyOwnFund {
366
376
  "history"?: RouterHistory;
367
377
  }
378
+ interface SssMyOwnFundEngagementStepHost {
379
+ "history"?: RouterHistory;
380
+ }
368
381
  interface SssMyOwnFundInputs {
369
382
  "myOwnFundForm"?: MyOwnFundFormState;
370
383
  "onFormChanged"?: (event: CustomEvent<Partial<MyOwnFundFormState>>) => void;
@@ -448,6 +461,7 @@ declare namespace LocalJSX {
448
461
  "sss-loading-indicator": SssLoadingIndicator;
449
462
  "sss-loading-page": SssLoadingPage;
450
463
  "sss-my-own-fund": SssMyOwnFund;
464
+ "sss-my-own-fund-engagement-step-host": SssMyOwnFundEngagementStepHost;
451
465
  "sss-my-own-fund-inputs": SssMyOwnFundInputs;
452
466
  "sss-name-input": SssNameInput;
453
467
  "sss-prefill": SssPrefill;
@@ -481,6 +495,7 @@ declare module "@stencil/core" {
481
495
  "sss-loading-indicator": LocalJSX.SssLoadingIndicator & JSXBase.HTMLAttributes<HTMLSssLoadingIndicatorElement>;
482
496
  "sss-loading-page": LocalJSX.SssLoadingPage & JSXBase.HTMLAttributes<HTMLSssLoadingPageElement>;
483
497
  "sss-my-own-fund": LocalJSX.SssMyOwnFund & JSXBase.HTMLAttributes<HTMLSssMyOwnFundElement>;
498
+ "sss-my-own-fund-engagement-step-host": LocalJSX.SssMyOwnFundEngagementStepHost & JSXBase.HTMLAttributes<HTMLSssMyOwnFundEngagementStepHostElement>;
484
499
  "sss-my-own-fund-inputs": LocalJSX.SssMyOwnFundInputs & JSXBase.HTMLAttributes<HTMLSssMyOwnFundInputsElement>;
485
500
  "sss-name-input": LocalJSX.SssNameInput & JSXBase.HTMLAttributes<HTMLSssNameInputElement>;
486
501
  "sss-prefill": LocalJSX.SssPrefill & JSXBase.HTMLAttributes<HTMLSssPrefillElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "5.25.54575",
3
+ "version": "5.27.55975",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",