@flarehr/apollo-super-selection 4.26.29189 → 4.28.30096
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.css +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/p-0936abfe.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/{p-52fbf195.entry.js → p-8876ba69.entry.js} +4 -4
- package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
- package/dist/lib/cjs/loader.cjs.js +1 -1
- package/dist/lib/cjs/sss-button_30.cjs.entry.js +120 -66
- package/dist/lib/collection/apollo-super-selection.css +1 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +12 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +2 -6
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +1 -7
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +2 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.js +9 -0
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +4 -5
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v1-iframe-builder.js +1 -10
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-v2-iframe-builder.js +14 -14
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +1 -8
- package/dist/lib/collection/components/super-selection-app/services/misc.service.js +7 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +32 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +4 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +38 -10
- package/dist/lib/esm/apollo-super-selection.js +1 -1
- package/dist/lib/esm/loader.js +1 -1
- package/dist/lib/esm/sss-button_30.entry.js +120 -66
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_30.entry.js +4 -4
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +2 -6
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +3 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +15 -0
- package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +11 -7
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/member-name-input.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +3 -2
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/types.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/services/misc.service.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +9 -1
- package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +4 -1
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib/apollo-super-selection/p-defc9e44.system.entry.js +0 -69
|
@@ -60,12 +60,8 @@ export declare type SuperFundNominationDeclinedDetail = {
|
|
|
60
60
|
fundStatus: string;
|
|
61
61
|
lastNominatedAt: string;
|
|
62
62
|
};
|
|
63
|
-
export declare type SuperFundDisclaimerViewedDetail =
|
|
64
|
-
|
|
65
|
-
};
|
|
66
|
-
export declare type SuperFundDisclaimerAcceptedDetail = {
|
|
67
|
-
promotedFundsShown: Array<string>;
|
|
68
|
-
};
|
|
63
|
+
export declare type SuperFundDisclaimerViewedDetail = Record<string, never>;
|
|
64
|
+
export declare type SuperFundDisclaimerAcceptedDetail = Record<string, never>;
|
|
69
65
|
export declare type SuperFundPanelViewedDetail = {
|
|
70
66
|
promotedFundsShown: Array<string>;
|
|
71
67
|
defaultFundUsiSet?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppStateDto, AustralianFundDto, AustralianFundsLookupResponseDto } from './super-selection.api.dto';
|
|
1
|
+
import { AppStateDto, AustralianFundDto, AustralianFundsLookupResponseDto, CampaignConnectDto, ClickPromotedTileDto } from './super-selection.api.dto';
|
|
2
2
|
export declare type SuperFundSearchFilter = {
|
|
3
3
|
searchString: string;
|
|
4
4
|
maxRecordCount: number;
|
|
@@ -7,6 +7,8 @@ export declare class SuperSelectionApi {
|
|
|
7
7
|
getAustralianFundsAsync(searchFilter: SuperFundSearchFilter, includeInactive?: boolean): Promise<AustralianFundsLookupResponseDto>;
|
|
8
8
|
getAustralianFundAsync(usi: string, includeInactive: boolean): Promise<AustralianFundDto>;
|
|
9
9
|
getAppStateAsync(): Promise<AppStateDto>;
|
|
10
|
+
getCampaignConnectAsync(): Promise<CampaignConnectDto>;
|
|
11
|
+
clickPromotedTileAsync(payload: ClickPromotedTileDto): Promise<void>;
|
|
10
12
|
private toSearchFilterQueryString;
|
|
11
13
|
private toQueryString;
|
|
12
14
|
}
|
|
@@ -126,5 +126,20 @@ export declare type AppStateDto = {
|
|
|
126
126
|
accountConfiguration: AccountConfigurationDto;
|
|
127
127
|
profileConfiguration: ProfileConfigurationDto;
|
|
128
128
|
promotedFunds: string[];
|
|
129
|
+
campaignConnectEnabled: boolean;
|
|
130
|
+
};
|
|
131
|
+
export declare type PromotedFundsConfigSourceDto = 'superSelection' | 'campaignConnect';
|
|
132
|
+
export declare type CampaignConnectDto = {
|
|
133
|
+
promotedFunds: string[];
|
|
134
|
+
promotedDefaultFundPosition?: number;
|
|
135
|
+
};
|
|
136
|
+
export declare type ClickPromotedTileDto = {
|
|
137
|
+
promoted: {
|
|
138
|
+
fundId: string;
|
|
139
|
+
};
|
|
140
|
+
} | {
|
|
141
|
+
promotedDefault: {
|
|
142
|
+
fundId: string;
|
|
143
|
+
};
|
|
129
144
|
};
|
|
130
145
|
export {};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
|
|
2
|
+
declare type CommonDto = {
|
|
3
|
+
standardChoiceFormSignature: string;
|
|
4
|
+
shownFunds: string[];
|
|
5
|
+
promotedDefaultFundPosition?: number;
|
|
6
|
+
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
7
|
+
};
|
|
1
8
|
export declare type MyOwnFundDto = {
|
|
2
9
|
fundUsi: string;
|
|
3
10
|
memberNumber: string;
|
|
4
11
|
memberFirstName: string;
|
|
5
12
|
memberFamilyName: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare type DefaultFundForm = {
|
|
9
|
-
standardChoiceFormSignature: string;
|
|
10
|
-
};
|
|
13
|
+
} & CommonDto;
|
|
14
|
+
export declare type DefaultFundForm = CommonDto;
|
|
11
15
|
export declare type AustralianFundAddressDto = {
|
|
12
16
|
addressLine1: string;
|
|
13
17
|
addressLine2?: string;
|
|
@@ -28,8 +32,8 @@ export declare type SelfManagedFundDto = {
|
|
|
28
32
|
};
|
|
29
33
|
export declare type SelfManagedFundRequestDto = {
|
|
30
34
|
smsfChoice: SelfManagedFundDto;
|
|
31
|
-
|
|
32
|
-
};
|
|
35
|
+
} & CommonDto;
|
|
33
36
|
export declare type AbnUsedForRegulatedFundResponseDto = {
|
|
34
37
|
result: boolean;
|
|
35
38
|
};
|
|
39
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { PromotedFundChoiceRequestDto } from './promoted-fund-choice.api.dto';
|
|
1
|
+
import { PromotedDefaultFundChoiceRequestDto, PromotedFundChoiceRequestDto } from './promoted-fund-choice.api.dto';
|
|
2
2
|
export declare class PromotedFundChoiceApi {
|
|
3
3
|
submitChoiceAsync(dto: PromotedFundChoiceRequestDto): Promise<void>;
|
|
4
|
+
submitDefaultChoiceAsync(dto: PromotedDefaultFundChoiceRequestDto): Promise<void>;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: PromotedFundChoiceApi;
|
|
6
7
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
|
|
1
2
|
export declare type PromotedFundChoiceRequestDto = {
|
|
2
3
|
fundId: string;
|
|
3
4
|
usi?: string;
|
|
@@ -7,4 +8,15 @@ export declare type PromotedFundChoiceRequestDto = {
|
|
|
7
8
|
standardChoiceFormSignature: string;
|
|
8
9
|
shownFunds: string[];
|
|
9
10
|
defaultFundUsiSet?: string;
|
|
11
|
+
promotedDefaultFundPosition?: number;
|
|
12
|
+
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
13
|
+
};
|
|
14
|
+
export declare type PromotedDefaultFundChoiceRequestDto = {
|
|
15
|
+
fundId: string;
|
|
16
|
+
usi: string;
|
|
17
|
+
standardChoiceFormSignature: string;
|
|
18
|
+
shownFunds: string[];
|
|
19
|
+
defaultFundUsiSet?: string;
|
|
20
|
+
promotedDefaultFundPosition?: number;
|
|
21
|
+
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
10
22
|
};
|
package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare type PromotedFundState = {
|
|
2
2
|
fundId: string;
|
|
3
|
+
isPromotedDefault: boolean;
|
|
3
4
|
};
|
|
4
5
|
export declare const initial: PromotedFundState;
|
|
5
|
-
declare const state: PromotedFundState;
|
|
6
|
-
export
|
|
6
|
+
declare const state: PromotedFundState, reset: () => void;
|
|
7
|
+
export { reset };
|
|
7
8
|
export default state;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PromotedFundsConfigSourceDto } from '../../../api/super-selection.api.dto';
|
|
1
2
|
export declare type SlateFundForm = {
|
|
2
3
|
memberNumber: string;
|
|
3
4
|
memberFirstName?: string;
|
|
@@ -5,4 +6,6 @@ export declare type SlateFundForm = {
|
|
|
5
6
|
standardChoiceFormSignature: string;
|
|
6
7
|
shownFunds: string[];
|
|
7
8
|
defaultFundUsiSet?: string;
|
|
9
|
+
promotedDefaultFundPosition?: number;
|
|
10
|
+
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
8
11
|
};
|
package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { OnChangeHandler } from '@stencil/store/dist/types';
|
|
2
2
|
import * as O from 'fp-ts/lib/Option';
|
|
3
|
-
import { SuperBuyerDto } from '../api/super-selection.api.dto';
|
|
3
|
+
import { PromotedFundsConfigSourceDto, SuperBuyerDto } from '../api/super-selection.api.dto';
|
|
4
4
|
import { AppContextState } from './super-selection.store';
|
|
5
|
+
declare type PromotedFundsConfig = {
|
|
6
|
+
shownFunds: string[];
|
|
7
|
+
promotedDefaultFundPosition?: number;
|
|
8
|
+
promotedFundsConfigSource: PromotedFundsConfigSourceDto;
|
|
9
|
+
};
|
|
5
10
|
export declare class SuperSelectionAppService {
|
|
6
11
|
private readonly _state;
|
|
7
12
|
private readonly _onChange;
|
|
@@ -12,6 +17,8 @@ export declare class SuperSelectionAppService {
|
|
|
12
17
|
get apiBaseUrl(): string;
|
|
13
18
|
get appBaseUrl(): string;
|
|
14
19
|
get promotedFunds(): string[];
|
|
20
|
+
get promotedDefaultFundPosition(): O.Option<number>;
|
|
21
|
+
get promotedFundsConfig(): PromotedFundsConfig;
|
|
15
22
|
get profileId(): string;
|
|
16
23
|
get defaultFundUsi(): O.Option<string>;
|
|
17
24
|
get accountIdOrDefault(): string;
|
|
@@ -20,6 +27,7 @@ export declare class SuperSelectionAppService {
|
|
|
20
27
|
completeSuperSelectionFlow(): void;
|
|
21
28
|
markSuperSelectionAsSubmitted(): void;
|
|
22
29
|
loadAppStateAsync(): Promise<void>;
|
|
30
|
+
completeCampaignConnectRequestSafe(): Promise<void>;
|
|
23
31
|
}
|
|
24
32
|
declare const _default: SuperSelectionAppService;
|
|
25
33
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as O from 'fp-ts/lib/Option';
|
|
2
|
-
import { AccountConfigurationDto, ProfileConfigurationDto, SuperBuyerDto } from '../api/super-selection.api.dto';
|
|
2
|
+
import { AccountConfigurationDto, CampaignConnectDto, ProfileConfigurationDto, SuperBuyerDto } from '../api/super-selection.api.dto';
|
|
3
3
|
export declare type AppContextState = {
|
|
4
4
|
apiBaseUrl: O.Option<string>;
|
|
5
5
|
appBaseUrl: O.Option<string>;
|
|
@@ -11,5 +11,8 @@ export declare type AppContextState = {
|
|
|
11
11
|
profileConfiguration: O.Option<ProfileConfigurationDto>;
|
|
12
12
|
hasSuccessPageBeenAcknowledged: boolean;
|
|
13
13
|
hasSuperSelectionBeenSubmitted: boolean;
|
|
14
|
+
campaignConnectEnabled: boolean;
|
|
15
|
+
campaignConnectPromise: O.Option<Promise<CampaignConnectDto>>;
|
|
16
|
+
campaignConnect: O.Option<CampaignConnectDto>;
|
|
14
17
|
};
|
|
15
18
|
export declare const initialState: AppContextState;
|
package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { RouterHistory } from '@stencil/router';
|
|
|
2
2
|
export declare class SuperChoicePage {
|
|
3
3
|
history: RouterHistory;
|
|
4
4
|
private promotedFunds;
|
|
5
|
+
private campaignConnectRequestInProgress;
|
|
5
6
|
private readonly eventTrackingService;
|
|
6
7
|
componentDidLoad(): Promise<void>;
|
|
7
8
|
render(): Element[];
|