@flarehr/apollo-super-selection 5.65.21744 → 5.67.22695
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-324acfa0.system.entry.js → p-2b73f66a.system.entry.js} +2 -2
- package/dist/lib/apollo-super-selection/{p-a49046d7.entry.js → p-2d7d2e12.entry.js} +2 -2
- package/dist/lib/apollo-super-selection/p-bd6e6a8f.system.js +1 -1
- package/dist/lib/cjs/sss-button_32.cjs.entry.js +16 -19
- package/dist/lib/collection/components/super-campaign/super-campaign.js +15 -18
- package/dist/lib/esm/sss-button_32.entry.js +16 -19
- package/dist/lib/esm-es5/sss-button_32.entry.js +2 -2
- package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-71ca4cf8.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,i,r;return{setters:[function(e){t=e.p;i=e.b},function(){},function(e){r=e.g}],execute:function(){var e=function(){var e=s.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return t(i)};e().then((function(e){r();return i([["p-a0063575.system",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["p-53b231f0.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-2b42304a.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-22939048.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-e957b393.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-c775c0e4.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-
|
|
1
|
+
System.register(["./p-71ca4cf8.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(e,s){"use strict";var t,i,r;return{setters:[function(e){t=e.p;i=e.b},function(){},function(e){r=e.g}],execute:function(){var e=function(){var e=s.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return t(i)};e().then((function(e){r();return i([["p-a0063575.system",[[0,"sss-super-byof-host",{history:[16],backendUrl:[32],accessToken:[32]}]]],["p-53b231f0.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-2b42304a.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-22939048.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-e957b393.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-c775c0e4.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-2b73f66a.system",[[0,"sss-prefill",{history:[16],prefill:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32],ignoreExistingSelection:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-super-campaign-featured-funds",{history:[16],backendUrl:[32],accessToken:[32],currentView:[32]}],[0,"sss-super-smsf-host",{history:[16],backendUrl:[32],accessToken:[32]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-success"],[0,"sss-choice-router",{history:[16]}],[0,"sss-my-own-fund-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-smsf-engagement-step-host",{history:[16],backendUrl:[32],accessToken:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddress:[32],bsb:[32],bankAccountName:[32],bankAccountNumber:[32],memberFirstName:[32],memberFamilyName:[32]}],[0,"sss-super-campaign-host",{history:[16],scriptImported:[32],backendUrl:[32],accessToken:[32]}],[0,"sss-dropdown-async",{testId:[1,"test-id"],placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-name-input",{testId:[1,"test-id"],value:[1],name:[1],readableName:[1,"readable-name"],showValidationErrors:[4,"show-validation-errors"],errorMessage:[32]}],[0,"sss-prefill-my-own-fund",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-smsf",{history:[16],prefill:[16],mode:[32],formState:[32],isSubmitDisabled:[32],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[0,"sss-prefill-invalid-my-own-fund",{history:[16],prefill:[16],fundUsi:[32],fundName:[32],memberNumber:[32],memberGivenNames:[32],memberLastName:[32]}],[0,"sss-prefill-invalid-smsf",{history:[16],prefill:[16],fundName:[32],fundAbn:[32],fundEsa:[32],fundAddressLine1:[32],fundAddressLine2:[32],fundAddressCity:[32],fundAddressPostcode:[32],fundAddressState:[32],fundAddress:[32],memberGivenNames:[32],memberLastName:[32],bankAccountName:[32],bankAccountBsb:[32],bankAccountNumber:[32]}],[1,"super-selection-app",{ignoreExistingSelection:[4,"ignore-existing-selection"],accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-loading-page"],[0,"sss-footer-section",{textOverride:[1,"text-override"]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[0,"sss-prefill-warning-box",{notificationList:[16]}],[0,"sss-header-section"],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-prefill-display-field",{field:[16]}],[0,"sss-prefill-error-box",{withHeader:[4,"with-header"],notificationList:[16]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{testid:[1],fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],size:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],e)}))}}}));
|
|
@@ -285,7 +285,7 @@ class TapSubscriber extends datoramaAkita.Subscriber {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
const AppVersion = '5.
|
|
288
|
+
const AppVersion = '5.67.22695';
|
|
289
289
|
|
|
290
290
|
class Lazy {
|
|
291
291
|
constructor(factory) {
|
|
@@ -12790,21 +12790,6 @@ const SuperCampaignHost = class {
|
|
|
12790
12790
|
constructor(hostRef) {
|
|
12791
12791
|
index.registerInstance(this, hostRef);
|
|
12792
12792
|
this.scriptImported = false;
|
|
12793
|
-
this.getEnvironmentTag = () => {
|
|
12794
|
-
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
12795
|
-
switch (discriminator) {
|
|
12796
|
-
case 'autodev-partner':
|
|
12797
|
-
return 'autodev';
|
|
12798
|
-
case 'test-partner':
|
|
12799
|
-
return 'test';
|
|
12800
|
-
case 'partner':
|
|
12801
|
-
return 'prod';
|
|
12802
|
-
case 'sandbox-partner':
|
|
12803
|
-
return 'sandbox';
|
|
12804
|
-
default:
|
|
12805
|
-
return 'autodev';
|
|
12806
|
-
}
|
|
12807
|
-
};
|
|
12808
12793
|
this.subscribeToSuperCampaignEvents = () => {
|
|
12809
12794
|
for (const eventName in this.superCampaignEventHandlers) {
|
|
12810
12795
|
document.addEventListener(eventName, this.superCampaignEventHandlers[eventName]);
|
|
@@ -12910,7 +12895,7 @@ const SuperCampaignHost = class {
|
|
|
12910
12895
|
this.unSubscribeFromSuperCampaignEvents();
|
|
12911
12896
|
if (customFundChoice_api.superSelectionAppService.state.superCampaignComponentStatus ===
|
|
12912
12897
|
customFundChoice_api.SuperCampaignComponentStatus.NotLoaded) {
|
|
12913
|
-
superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl(
|
|
12898
|
+
superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl();
|
|
12914
12899
|
await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(superCampaingScriptPath)); });
|
|
12915
12900
|
this.loadingTimeoutRef = setTimeout(this.superCampaignLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout);
|
|
12916
12901
|
}
|
|
@@ -12954,8 +12939,20 @@ const SuperCampaignHost = class {
|
|
|
12954
12939
|
});
|
|
12955
12940
|
}
|
|
12956
12941
|
}
|
|
12957
|
-
createApolloSuperCampaignScriptUrl(
|
|
12958
|
-
|
|
12942
|
+
createApolloSuperCampaignScriptUrl() {
|
|
12943
|
+
const getSubdomain = () => {
|
|
12944
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
12945
|
+
switch (discriminator) {
|
|
12946
|
+
case 'test-partner':
|
|
12947
|
+
case 'partner':
|
|
12948
|
+
case 'sandbox-partner':
|
|
12949
|
+
case 'autodev-partner':
|
|
12950
|
+
return discriminator;
|
|
12951
|
+
default:
|
|
12952
|
+
return 'autodev-partner';
|
|
12953
|
+
}
|
|
12954
|
+
};
|
|
12955
|
+
return `https://${getSubdomain()}.flarehr.com/super-campaign/cdn/app/apollo-super-campaign.js`;
|
|
12959
12956
|
}
|
|
12960
12957
|
};
|
|
12961
12958
|
customFundChoice_api.injectHistory(SuperCampaignHost);
|
|
@@ -14,21 +14,6 @@ import { LoadWaitingTimeout } from './super-campaign-types';
|
|
|
14
14
|
export class SuperCampaignHost {
|
|
15
15
|
constructor() {
|
|
16
16
|
this.scriptImported = false;
|
|
17
|
-
this.getEnvironmentTag = () => {
|
|
18
|
-
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
19
|
-
switch (discriminator) {
|
|
20
|
-
case 'autodev-partner':
|
|
21
|
-
return 'autodev';
|
|
22
|
-
case 'test-partner':
|
|
23
|
-
return 'test';
|
|
24
|
-
case 'partner':
|
|
25
|
-
return 'prod';
|
|
26
|
-
case 'sandbox-partner':
|
|
27
|
-
return 'sandbox';
|
|
28
|
-
default:
|
|
29
|
-
return 'autodev';
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
17
|
this.subscribeToSuperCampaignEvents = () => {
|
|
33
18
|
for (const eventName in this.superCampaignEventHandlers) {
|
|
34
19
|
document.addEventListener(eventName, this.superCampaignEventHandlers[eventName]);
|
|
@@ -134,7 +119,7 @@ export class SuperCampaignHost {
|
|
|
134
119
|
this.unSubscribeFromSuperCampaignEvents();
|
|
135
120
|
if (superSelectionAppService.state.superCampaignComponentStatus ===
|
|
136
121
|
SuperCampaignComponentStatus.NotLoaded) {
|
|
137
|
-
superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl(
|
|
122
|
+
superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl();
|
|
138
123
|
await import(superCampaingScriptPath);
|
|
139
124
|
this.loadingTimeoutRef = setTimeout(this.superCampaignLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout);
|
|
140
125
|
}
|
|
@@ -178,8 +163,20 @@ export class SuperCampaignHost {
|
|
|
178
163
|
});
|
|
179
164
|
}
|
|
180
165
|
}
|
|
181
|
-
createApolloSuperCampaignScriptUrl(
|
|
182
|
-
|
|
166
|
+
createApolloSuperCampaignScriptUrl() {
|
|
167
|
+
const getSubdomain = () => {
|
|
168
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
169
|
+
switch (discriminator) {
|
|
170
|
+
case 'test-partner':
|
|
171
|
+
case 'partner':
|
|
172
|
+
case 'sandbox-partner':
|
|
173
|
+
case 'autodev-partner':
|
|
174
|
+
return discriminator;
|
|
175
|
+
default:
|
|
176
|
+
return 'autodev-partner';
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
return `https://${getSubdomain()}.flarehr.com/super-campaign/cdn/app/apollo-super-campaign.js`;
|
|
183
180
|
}
|
|
184
181
|
static get is() { return "sss-super-campaign-host"; }
|
|
185
182
|
static get properties() { return {
|
|
@@ -261,7 +261,7 @@ class TapSubscriber extends Subscriber {
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
const AppVersion = '5.
|
|
264
|
+
const AppVersion = '5.67.22695';
|
|
265
265
|
|
|
266
266
|
class Lazy {
|
|
267
267
|
constructor(factory) {
|
|
@@ -12766,21 +12766,6 @@ const SuperCampaignHost = class {
|
|
|
12766
12766
|
constructor(hostRef) {
|
|
12767
12767
|
registerInstance(this, hostRef);
|
|
12768
12768
|
this.scriptImported = false;
|
|
12769
|
-
this.getEnvironmentTag = () => {
|
|
12770
|
-
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
12771
|
-
switch (discriminator) {
|
|
12772
|
-
case 'autodev-partner':
|
|
12773
|
-
return 'autodev';
|
|
12774
|
-
case 'test-partner':
|
|
12775
|
-
return 'test';
|
|
12776
|
-
case 'partner':
|
|
12777
|
-
return 'prod';
|
|
12778
|
-
case 'sandbox-partner':
|
|
12779
|
-
return 'sandbox';
|
|
12780
|
-
default:
|
|
12781
|
-
return 'autodev';
|
|
12782
|
-
}
|
|
12783
|
-
};
|
|
12784
12769
|
this.subscribeToSuperCampaignEvents = () => {
|
|
12785
12770
|
for (const eventName in this.superCampaignEventHandlers) {
|
|
12786
12771
|
document.addEventListener(eventName, this.superCampaignEventHandlers[eventName]);
|
|
@@ -12886,7 +12871,7 @@ const SuperCampaignHost = class {
|
|
|
12886
12871
|
this.unSubscribeFromSuperCampaignEvents();
|
|
12887
12872
|
if (superSelectionAppService.state.superCampaignComponentStatus ===
|
|
12888
12873
|
SuperCampaignComponentStatus.NotLoaded) {
|
|
12889
|
-
superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl(
|
|
12874
|
+
superCampaingScriptPath = this.createApolloSuperCampaignScriptUrl();
|
|
12890
12875
|
await import(superCampaingScriptPath);
|
|
12891
12876
|
this.loadingTimeoutRef = setTimeout(this.superCampaignLoadingTimeoutTriggered.bind(this), LoadWaitingTimeout);
|
|
12892
12877
|
}
|
|
@@ -12930,8 +12915,20 @@ const SuperCampaignHost = class {
|
|
|
12930
12915
|
});
|
|
12931
12916
|
}
|
|
12932
12917
|
}
|
|
12933
|
-
createApolloSuperCampaignScriptUrl(
|
|
12934
|
-
|
|
12918
|
+
createApolloSuperCampaignScriptUrl() {
|
|
12919
|
+
const getSubdomain = () => {
|
|
12920
|
+
const discriminator = window.location.hostname.toLowerCase().split('.')[0];
|
|
12921
|
+
switch (discriminator) {
|
|
12922
|
+
case 'test-partner':
|
|
12923
|
+
case 'partner':
|
|
12924
|
+
case 'sandbox-partner':
|
|
12925
|
+
case 'autodev-partner':
|
|
12926
|
+
return discriminator;
|
|
12927
|
+
default:
|
|
12928
|
+
return 'autodev-partner';
|
|
12929
|
+
}
|
|
12930
|
+
};
|
|
12931
|
+
return `https://${getSubdomain()}.flarehr.com/super-campaign/cdn/app/apollo-super-campaign.js`;
|
|
12935
12932
|
}
|
|
12936
12933
|
};
|
|
12937
12934
|
injectHistory(SuperCampaignHost);
|