@wayke-se/ecom-web 1.8.4 → 2.0.0-beta.0
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/@types/BaseAction.d.ts +3 -0
- package/dist/@types/CallbackOrder.d.ts +4 -0
- package/dist/@types/CreditAssessmentStatus.d.ts +17 -0
- package/dist/@types/Customer.d.ts +20 -0
- package/dist/@types/EcomSdkConfig.d.ts +6 -0
- package/dist/@types/Insurance.d.ts +5 -0
- package/dist/@types/MarketCode.d.ts +1 -0
- package/dist/@types/Navigation.d.ts +6 -0
- package/dist/@types/OrderOptions.d.ts +27 -0
- package/dist/@types/PaymentLookup.d.ts +19 -0
- package/dist/@types/PaymentOrderResponse.d.ts +99 -0
- package/dist/@types/Stages.d.ts +46 -0
- package/dist/@types/TradeIn.d.ts +17 -0
- package/dist/@types/Vehicle.d.ts +10 -0
- package/dist/@types/VehicleLookup.d.ts +4 -0
- package/dist/App.d.ts +38 -0
- package/dist/Components/Accordion/index.d.ts +14 -0
- package/dist/Components/BankId/BankIdSign.d.ts +29 -0
- package/dist/Components/BankId/BankIdSignQrCode.d.ts +11 -0
- package/dist/Components/BankId/BankIdSignSameDevice.d.ts +12 -0
- package/dist/Components/Button/Button.d.ts +17 -0
- package/dist/Components/Button/ButtonAddRemove.d.ts +18 -0
- package/dist/Components/Button/ButtonAlt.d.ts +17 -0
- package/dist/Components/Button/ButtonArrowRight.d.ts +17 -0
- package/dist/Components/Button/ButtonAsLink.d.ts +14 -0
- package/dist/Components/Button/ButtonAsLinkArrowLeft.d.ts +14 -0
- package/dist/Components/Button/ButtonBankId.d.ts +17 -0
- package/dist/Components/Button/ButtonClear.d.ts +12 -0
- package/dist/Components/Button/ButtonClose.d.ts +12 -0
- package/dist/Components/Button/ButtonSkip.d.ts +12 -0
- package/dist/Components/Button/ButtonSuccess.d.ts +17 -0
- package/dist/Components/Chart/PieChart.d.ts +11 -0
- package/dist/Components/Checklist/Checklist.d.ts +12 -0
- package/dist/Components/Disclaimer/Disclaimer.d.ts +10 -0
- package/dist/Components/Disclaimer/DisclaimerPadlock.d.ts +10 -0
- package/dist/Components/ErrorAlert/index.d.ts +12 -0
- package/dist/Components/Extension/HtmlNode.d.ts +16 -0
- package/dist/Components/Extension/StackNode.d.ts +5 -0
- package/dist/Components/Gallery/Arrow.d.ts +13 -0
- package/dist/Components/Gallery/Gallery.d.ts +21 -0
- package/dist/Components/Input/InputCheckbox.d.ts +21 -0
- package/dist/Components/Input/InputError.d.ts +13 -0
- package/dist/Components/Input/InputField.d.ts +30 -0
- package/dist/Components/Input/InputInformation.d.ts +13 -0
- package/dist/Components/Input/InputRadioField.d.ts +18 -0
- package/dist/Components/Input/InputRadioGroup.d.ts +29 -0
- package/dist/Components/Input/InputRange.d.ts +39 -0
- package/dist/Components/Input/InputSelect.d.ts +25 -0
- package/dist/Components/Input/InputTextarea.d.ts +22 -0
- package/dist/Components/Modal/Modal.d.ts +17 -0
- package/dist/Components/Modal/ModalBody.d.ts +8 -0
- package/dist/Components/Modal/ModalCenter.d.ts +8 -0
- package/dist/Components/Modal/ModalClose.d.ts +12 -0
- package/dist/Components/Modal/ModalContainer.d.ts +8 -0
- package/dist/Components/Modal/ModalDialog.d.ts +8 -0
- package/dist/Components/Modal/ModalFooter.d.ts +12 -0
- package/dist/Components/Modal/ModalHeader.d.ts +16 -0
- package/dist/Components/OverflowGrid/Arrow.d.ts +13 -0
- package/dist/Components/OverflowGrid/OverflowGridItem.d.ts +25 -0
- package/dist/Components/OverflowGrid/OverflowGridList.d.ts +17 -0
- package/dist/Components/StageCompleted.d.ts +13 -0
- package/dist/Data/createOrder.d.ts +2 -0
- package/dist/Data/creditAssessmentAccept.d.ts +1 -0
- package/dist/Data/creditAssessmentCancelSigning.d.ts +1 -0
- package/dist/Data/creditAssessmentDecline.d.ts +1 -0
- package/dist/Data/creditAssessmentGetStatus.d.ts +1 -0
- package/dist/Data/creditAssessmentNewCase.d.ts +2 -0
- package/dist/Data/creditAssessmentSignCase.d.ts +2 -0
- package/dist/Data/getAddress.d.ts +1 -0
- package/dist/Data/getBankIdAuth.d.ts +2 -0
- package/dist/Data/getBankIdQrCode.d.ts +1 -0
- package/dist/Data/getBankIdStatus.d.ts +1 -0
- package/dist/Data/getInsurances.d.ts +3 -0
- package/dist/Data/getOrder.d.ts +1 -0
- package/dist/Data/getPayment.d.ts +10 -0
- package/dist/Data/getTradeInVehicle.d.ts +2 -0
- package/dist/Redux/action.d.ts +241 -0
- package/dist/Redux/reducer.d.ts +44 -0
- package/dist/Redux/store.d.ts +5 -0
- package/dist/Redux/watch.d.ts +5 -0
- package/dist/Templates/Alert.d.ts +8 -0
- package/dist/Templates/InputHelp.d.ts +2 -0
- package/dist/Templates/ItemTileLarge.d.ts +10 -0
- package/dist/Templates/ItemTileSmall.d.ts +9 -0
- package/dist/Templates/KeyValueListItem.d.ts +12 -0
- package/dist/Templates/ListItem.d.ts +9 -0
- package/dist/Templates/Loader.d.ts +6 -0
- package/dist/Templates/Logotype.d.ts +8 -0
- package/dist/Templates/TimelineItem.d.ts +7 -0
- package/dist/Utils/cdn.d.ts +1 -0
- package/dist/Utils/compare.d.ts +1 -0
- package/dist/Utils/constants.d.ts +18 -0
- package/dist/Utils/convert.d.ts +12 -0
- package/dist/Utils/delivery.d.ts +3 -0
- package/dist/Utils/ecomEvent.d.ts +156 -0
- package/dist/Utils/format.d.ts +10 -0
- package/dist/Utils/i18n.d.ts +6 -0
- package/dist/Utils/intervals.d.ts +2 -0
- package/dist/Utils/isMobile.d.ts +1 -0
- package/dist/Utils/market.d.ts +2 -0
- package/dist/Utils/mask.d.ts +2 -0
- package/dist/Utils/parser.d.ts +1 -0
- package/dist/Utils/payment.d.ts +1 -0
- package/dist/Utils/portal.d.ts +2 -0
- package/dist/Utils/regex.d.ts +7 -0
- package/dist/Utils/render.d.ts +1 -0
- package/dist/Utils/scroll.d.ts +1 -0
- package/dist/Utils/stage.d.ts +3 -0
- package/dist/Utils/trapFocus.d.ts +1 -0
- package/dist/Utils/validationMethods.d.ts +24 -0
- package/dist/Utils/vw.d.ts +1 -0
- package/dist/Views/ConfirmClose/index.d.ts +11 -0
- package/dist/Views/Main/Accessories/AccessoryItem.d.ts +20 -0
- package/dist/Views/Main/Accessories/AccessoryItemInfo.d.ts +15 -0
- package/dist/Views/Main/Accessories/AccessoryList.d.ts +13 -0
- package/dist/Views/Main/Accessories/index.d.ts +15 -0
- package/dist/Views/Main/CentralStorage/index.d.ts +20 -0
- package/dist/Views/Main/Confirmation/NoVerify.d.ts +18 -0
- package/dist/Views/Main/Confirmation/Payment.d.ts +12 -0
- package/dist/Views/Main/Confirmation/VerifyByBankId.d.ts +41 -0
- package/dist/Views/Main/Confirmation/index.d.ts +15 -0
- package/dist/Views/Main/Customer/EmailAndPhone.d.ts +23 -0
- package/dist/Views/Main/Customer/FullAddress.d.ts +15 -0
- package/dist/Views/Main/Customer/FullAddressBySocialId.d.ts +23 -0
- package/dist/Views/Main/Customer/FullAddressForm.d.ts +28 -0
- package/dist/Views/Main/Customer/index.d.ts +16 -0
- package/dist/Views/Main/Delivery/index.d.ts +17 -0
- package/dist/Views/Main/Financial/CreditAssessment.d.ts +49 -0
- package/dist/Views/Main/Financial/CreditAssessmentApproved.d.ts +13 -0
- package/dist/Views/Main/Financial/CreditAssessmentAssessManually.d.ts +13 -0
- package/dist/Views/Main/Financial/CreditAssessmentRejected.d.ts +12 -0
- package/dist/Views/Main/Financial/CreditAssessmentResult.d.ts +15 -0
- package/dist/Views/Main/Financial/Loan.d.ts +24 -0
- package/dist/Views/Main/Financial/LoanDetails.d.ts +16 -0
- package/dist/Views/Main/Financial/LoanDetailsBasic.d.ts +14 -0
- package/dist/Views/Main/Financial/LoanDetailsDetailed.d.ts +20 -0
- package/dist/Views/Main/Financial/LoanDetailsMonthlyCost.d.ts +11 -0
- package/dist/Views/Main/Financial/StageCompletedFinancial.d.ts +18 -0
- package/dist/Views/Main/Financial/StageCompletedFinancialCreditAssessment.d.ts +13 -0
- package/dist/Views/Main/Financial/Summary.d.ts +10 -0
- package/dist/Views/Main/Financial/index.d.ts +19 -0
- package/dist/Views/Main/Financial/utils.d.ts +5 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceItem.d.ts +18 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceItemInfo.d.ts +14 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceList.d.ts +13 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/index.d.ts +15 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceAddonBox.d.ts +6 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceItem.d.ts +18 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceItemInfo.d.ts +21 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceList.d.ts +13 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceView.d.ts +21 -0
- package/dist/Views/Main/Insurance/IfInsurance/index.d.ts +17 -0
- package/dist/Views/Main/Insurance/index.d.ts +18 -0
- package/dist/Views/Main/TradeIn/PartTradeIn.d.ts +33 -0
- package/dist/Views/Main/TradeIn/index.d.ts +18 -0
- package/dist/Views/Main/index.d.ts +14 -0
- package/dist/Views/OrderCallback/index.d.ts +17 -0
- package/dist/Views/Preview/HowTo.d.ts +8 -0
- package/dist/Views/Preview/index.d.ts +20 -0
- package/dist/Views/Summary/CentralStorage.d.ts +12 -0
- package/dist/Views/Summary/Customer.d.ts +13 -0
- package/dist/Views/Summary/Delivery.d.ts +12 -0
- package/dist/Views/Summary/Intro.d.ts +11 -0
- package/dist/Views/Summary/Order.d.ts +12 -0
- package/dist/Views/Summary/TradeIn.d.ts +13 -0
- package/dist/Views/Summary/index.d.ts +15 -0
- package/dist/cdn.d.ts +6 -0
- package/dist/devConfig.d.ts +44 -0
- package/dist/index-dev.d.ts +1 -0
- package/dist/index.cjs +161 -161
- package/dist/index.cjs.map +4 -4
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.d.ts +2 -4163
- package/dist/index.mjs +134 -134
- package/dist/index.mjs.map +4 -4
- package/dist/translation/index.d.ts +2 -0
- package/dist/translation/nb-NO.d.ts +487 -0
- package/dist/translation/sv-SE.d.ts +487 -0
- package/package.json +28 -21
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAvailableInsuranceOption } from '@wayke-se/ecom';
|
|
2
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
3
|
+
interface InsuranceItemInfoProps {
|
|
4
|
+
readonly freeInsurance: IAvailableInsuranceOption;
|
|
5
|
+
readonly selected: boolean;
|
|
6
|
+
readonly onClick: () => void;
|
|
7
|
+
readonly onClose: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare class InsuranceItemInfo extends HtmlNode {
|
|
10
|
+
private readonly props;
|
|
11
|
+
constructor(element: HTMLElement, props: InsuranceItemInfoProps);
|
|
12
|
+
render(): void;
|
|
13
|
+
}
|
|
14
|
+
export default InsuranceItemInfo;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IAvailableInsuranceOption } from '@wayke-se/ecom';
|
|
2
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../../Redux/store';
|
|
4
|
+
interface InsuranceListProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly insurances: IAvailableInsuranceOption[];
|
|
7
|
+
}
|
|
8
|
+
declare class InsuranceList extends HtmlNode {
|
|
9
|
+
private readonly props;
|
|
10
|
+
constructor(element: HTMLElement | null, props: InsuranceListProps);
|
|
11
|
+
render(): void;
|
|
12
|
+
}
|
|
13
|
+
export default InsuranceList;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IAvailableInsuranceOption } from '@wayke-se/ecom';
|
|
2
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../../Redux/store';
|
|
4
|
+
interface DefaultInsuranceProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly lastStage: boolean;
|
|
7
|
+
readonly insurance: IAvailableInsuranceOption;
|
|
8
|
+
}
|
|
9
|
+
declare class DefaultInsurance extends HtmlNode {
|
|
10
|
+
private readonly props;
|
|
11
|
+
constructor(element: HTMLElement, props: DefaultInsuranceProps);
|
|
12
|
+
private onProceed;
|
|
13
|
+
render(): void;
|
|
14
|
+
}
|
|
15
|
+
export default DefaultInsurance;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IInsuranceOption } from '@wayke-se/ecom';
|
|
2
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../../Redux/store';
|
|
4
|
+
interface InsuranceItemProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly insurance: IInsuranceOption;
|
|
7
|
+
readonly key: string;
|
|
8
|
+
}
|
|
9
|
+
declare class InsuranceItem extends HtmlNode {
|
|
10
|
+
private readonly props;
|
|
11
|
+
private displayInfo;
|
|
12
|
+
constructor(element: HTMLElement, props: InsuranceItemProps);
|
|
13
|
+
private onInfoOpen;
|
|
14
|
+
private onInfoClose;
|
|
15
|
+
private onClick;
|
|
16
|
+
render(): void;
|
|
17
|
+
}
|
|
18
|
+
export default InsuranceItem;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IInsuranceOption } from '@wayke-se/ecom';
|
|
2
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../../Redux/store';
|
|
4
|
+
interface InsuranceItemInfoProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly insurance: IInsuranceOption;
|
|
7
|
+
readonly selected: boolean;
|
|
8
|
+
readonly onClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare class InsuranceItemInfo extends HtmlNode {
|
|
11
|
+
private readonly props;
|
|
12
|
+
private initialAddons;
|
|
13
|
+
private addons;
|
|
14
|
+
private contexts;
|
|
15
|
+
constructor(element: HTMLElement, props: InsuranceItemInfoProps);
|
|
16
|
+
private static containChanges;
|
|
17
|
+
onClick(e: Event): void;
|
|
18
|
+
onUpdate(): void;
|
|
19
|
+
render(): void;
|
|
20
|
+
}
|
|
21
|
+
export default InsuranceItemInfo;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IInsuranceOption } from '@wayke-se/ecom';
|
|
2
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../../Redux/store';
|
|
4
|
+
interface InsuranceListProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly insurances: IInsuranceOption[];
|
|
7
|
+
}
|
|
8
|
+
declare class InsuranceList extends HtmlNode {
|
|
9
|
+
private readonly props;
|
|
10
|
+
constructor(element: HTMLDivElement | null, props: InsuranceListProps);
|
|
11
|
+
render(): void;
|
|
12
|
+
}
|
|
13
|
+
export default InsuranceList;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
2
|
+
import { WaykeStore } from '../../../../Redux/store';
|
|
3
|
+
interface InsuranceViewProps {
|
|
4
|
+
readonly store: WaykeStore;
|
|
5
|
+
readonly lastStage: boolean;
|
|
6
|
+
readonly onEdit: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare class InsuranceView extends HtmlNode {
|
|
9
|
+
private readonly props;
|
|
10
|
+
private requestError;
|
|
11
|
+
private insurances?;
|
|
12
|
+
private contexts;
|
|
13
|
+
constructor(element: HTMLElement, props: InsuranceViewProps);
|
|
14
|
+
private fetchInsurance;
|
|
15
|
+
private getInsurances;
|
|
16
|
+
private onEditDrivingDistance;
|
|
17
|
+
private onProceed;
|
|
18
|
+
private onSkipInsurances;
|
|
19
|
+
render(): void;
|
|
20
|
+
}
|
|
21
|
+
export default InsuranceView;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import HtmlNode from '../../../../Components/Extension/HtmlNode';
|
|
2
|
+
import { WaykeStore } from '../../../../Redux/store';
|
|
3
|
+
interface IfInsuranceProps {
|
|
4
|
+
readonly store: WaykeStore;
|
|
5
|
+
readonly lastStage: boolean;
|
|
6
|
+
readonly onSkip: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare class IfInsurance extends HtmlNode {
|
|
9
|
+
private readonly props;
|
|
10
|
+
private showInsurances;
|
|
11
|
+
constructor(element: HTMLElement, props: IfInsuranceProps);
|
|
12
|
+
private onChangeDistance;
|
|
13
|
+
private onShowInsurances;
|
|
14
|
+
private onEdit;
|
|
15
|
+
render(): void;
|
|
16
|
+
}
|
|
17
|
+
export default IfInsurance;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarketCode } from '../../../@types/MarketCode';
|
|
2
|
+
import HtmlNode from '../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../Redux/store';
|
|
4
|
+
interface InsuranceProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly index: number;
|
|
7
|
+
readonly lastStage: boolean;
|
|
8
|
+
readonly marketCode: MarketCode;
|
|
9
|
+
}
|
|
10
|
+
declare class Insurance extends HtmlNode {
|
|
11
|
+
private readonly props;
|
|
12
|
+
constructor(element: HTMLElement, props: InsuranceProps);
|
|
13
|
+
private getStep;
|
|
14
|
+
private onSkipInsurances;
|
|
15
|
+
private onEdit;
|
|
16
|
+
render(): void;
|
|
17
|
+
}
|
|
18
|
+
export default Insurance;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { MarketCode } from '../../../@types/MarketCode';
|
|
2
|
+
import HtmlNode from '../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../Redux/store';
|
|
4
|
+
export interface TradeInValidation {
|
|
5
|
+
registrationNumber: boolean;
|
|
6
|
+
mileage: boolean;
|
|
7
|
+
description: boolean;
|
|
8
|
+
condition: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface PartTradeInProps {
|
|
11
|
+
readonly store: WaykeStore;
|
|
12
|
+
readonly lastStage: boolean;
|
|
13
|
+
readonly marketCode: MarketCode;
|
|
14
|
+
}
|
|
15
|
+
declare class PartTradeIn extends HtmlNode {
|
|
16
|
+
private readonly props;
|
|
17
|
+
private state;
|
|
18
|
+
private response?;
|
|
19
|
+
private contexts;
|
|
20
|
+
private requestError;
|
|
21
|
+
constructor(element: HTMLElement, props: PartTradeInProps);
|
|
22
|
+
private onFetchVehicle;
|
|
23
|
+
private onEdit;
|
|
24
|
+
private onProceed;
|
|
25
|
+
private onChangeRadio;
|
|
26
|
+
private onChange;
|
|
27
|
+
private onBlur;
|
|
28
|
+
private updateUiError;
|
|
29
|
+
private updateProceedButton;
|
|
30
|
+
private onNoTradeIn;
|
|
31
|
+
render(): void;
|
|
32
|
+
}
|
|
33
|
+
export default PartTradeIn;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MarketCode } from '../../../@types/MarketCode';
|
|
2
|
+
import HtmlNode from '../../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../../Redux/store';
|
|
4
|
+
interface TradeInProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly index: number;
|
|
7
|
+
readonly lastStage: boolean;
|
|
8
|
+
readonly marketCode: MarketCode;
|
|
9
|
+
}
|
|
10
|
+
declare class TradeIn extends HtmlNode {
|
|
11
|
+
private readonly props;
|
|
12
|
+
constructor(element: HTMLElement, props: TradeInProps);
|
|
13
|
+
private onEdit;
|
|
14
|
+
private onYesTradeIn;
|
|
15
|
+
private onNoTradeIn;
|
|
16
|
+
render(): void;
|
|
17
|
+
}
|
|
18
|
+
export default TradeIn;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MarketCode } from '../../@types/MarketCode';
|
|
2
|
+
import HtmlNode from '../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../Redux/store';
|
|
4
|
+
interface MainProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
cdnMedia?: string;
|
|
7
|
+
marketCode: MarketCode;
|
|
8
|
+
}
|
|
9
|
+
declare class Main extends HtmlNode {
|
|
10
|
+
private readonly props;
|
|
11
|
+
constructor(element: HTMLElement, props: MainProps);
|
|
12
|
+
render(): void;
|
|
13
|
+
}
|
|
14
|
+
export default Main;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CallbackOrder } from '../../@types/CallbackOrder';
|
|
2
|
+
import HtmlNode from '../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../Redux/store';
|
|
4
|
+
interface OrderCallbackProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly callbackOrder: CallbackOrder;
|
|
7
|
+
readonly onClose: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare class OrderCallback extends HtmlNode {
|
|
10
|
+
private readonly props;
|
|
11
|
+
private order?;
|
|
12
|
+
private orderFetchFailed;
|
|
13
|
+
constructor(element: HTMLElement, props: OrderCallbackProps);
|
|
14
|
+
loadOrder(): Promise<void>;
|
|
15
|
+
render(): void;
|
|
16
|
+
}
|
|
17
|
+
export default OrderCallback;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OrderOptions } from '../../@types/OrderOptions';
|
|
2
|
+
import { StageTypes } from '../../@types/Stages';
|
|
3
|
+
interface HowToProps {
|
|
4
|
+
readonly stageOrderList?: StageTypes[];
|
|
5
|
+
readonly order?: OrderOptions;
|
|
6
|
+
}
|
|
7
|
+
declare const HowTo: ({ order, stageOrderList }: HowToProps) => string;
|
|
8
|
+
export default HowTo;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Vehicle } from '../../@types/Vehicle';
|
|
2
|
+
import HtmlNode from '../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../Redux/store';
|
|
4
|
+
import { StageMapKeys } from '../../Utils/stage';
|
|
5
|
+
interface PreviewProps {
|
|
6
|
+
readonly store: WaykeStore;
|
|
7
|
+
readonly stageOrderList: StageMapKeys[];
|
|
8
|
+
readonly vehicle?: Vehicle;
|
|
9
|
+
readonly cdnMedia?: string;
|
|
10
|
+
}
|
|
11
|
+
declare class Preview extends HtmlNode {
|
|
12
|
+
private readonly props;
|
|
13
|
+
private contexts;
|
|
14
|
+
private requestError;
|
|
15
|
+
constructor(element: HTMLElement, props: PreviewProps);
|
|
16
|
+
init(): Promise<void>;
|
|
17
|
+
private onProceed;
|
|
18
|
+
render(): void;
|
|
19
|
+
}
|
|
20
|
+
export default Preview;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import StackNode from '../../Components/Extension/StackNode';
|
|
2
|
+
import { WaykeStore } from '../../Redux/store';
|
|
3
|
+
interface CentralStorageProps {
|
|
4
|
+
readonly store: WaykeStore;
|
|
5
|
+
readonly createdOrderId?: string;
|
|
6
|
+
}
|
|
7
|
+
declare class Delivery extends StackNode {
|
|
8
|
+
private readonly props;
|
|
9
|
+
constructor(element: HTMLElement, props: CentralStorageProps);
|
|
10
|
+
render(): void;
|
|
11
|
+
}
|
|
12
|
+
export default Delivery;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MarketCode } from '../../@types/MarketCode';
|
|
2
|
+
import StackNode from '../../Components/Extension/StackNode';
|
|
3
|
+
import { WaykeStore } from '../../Redux/store';
|
|
4
|
+
interface CustomerProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly marketCode: MarketCode;
|
|
7
|
+
}
|
|
8
|
+
declare class Customer extends StackNode {
|
|
9
|
+
private readonly props;
|
|
10
|
+
constructor(element: HTMLElement, props: CustomerProps);
|
|
11
|
+
render(): void;
|
|
12
|
+
}
|
|
13
|
+
export default Customer;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import StackNode from '../../Components/Extension/StackNode';
|
|
2
|
+
import { WaykeStore } from '../../Redux/store';
|
|
3
|
+
interface DeliveryProps {
|
|
4
|
+
readonly store: WaykeStore;
|
|
5
|
+
readonly createdOrderId?: string;
|
|
6
|
+
}
|
|
7
|
+
declare class Centrallager extends StackNode {
|
|
8
|
+
private readonly props;
|
|
9
|
+
constructor(element: HTMLElement, props: DeliveryProps);
|
|
10
|
+
render(): void;
|
|
11
|
+
}
|
|
12
|
+
export default Centrallager;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import StackNode from '../../Components/Extension/StackNode';
|
|
2
|
+
import { WaykeStore } from '../../Redux/store';
|
|
3
|
+
interface IntroProps {
|
|
4
|
+
readonly store: WaykeStore;
|
|
5
|
+
}
|
|
6
|
+
declare class Intro extends StackNode {
|
|
7
|
+
private readonly props;
|
|
8
|
+
constructor(element: HTMLElement, props: IntroProps);
|
|
9
|
+
render(): void;
|
|
10
|
+
}
|
|
11
|
+
export default Intro;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import StackNode from '../../Components/Extension/StackNode';
|
|
2
|
+
import { WaykeStore } from '../../Redux/store';
|
|
3
|
+
interface OrderProps {
|
|
4
|
+
readonly store: WaykeStore;
|
|
5
|
+
readonly cdnMedia?: string;
|
|
6
|
+
}
|
|
7
|
+
declare class Order extends StackNode {
|
|
8
|
+
private readonly props;
|
|
9
|
+
constructor(element: HTMLElement, props: OrderProps);
|
|
10
|
+
render(): void;
|
|
11
|
+
}
|
|
12
|
+
export default Order;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MarketCode } from '../../@types/MarketCode';
|
|
2
|
+
import StackNode from '../../Components/Extension/StackNode';
|
|
3
|
+
import { WaykeStore } from '../../Redux/store';
|
|
4
|
+
interface TradeInProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly marketCode: MarketCode;
|
|
7
|
+
}
|
|
8
|
+
declare class TradeIn extends StackNode {
|
|
9
|
+
private readonly props;
|
|
10
|
+
constructor(element: HTMLElement, props: TradeInProps);
|
|
11
|
+
render(): void;
|
|
12
|
+
}
|
|
13
|
+
export default TradeIn;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MarketCode } from '../../@types/MarketCode';
|
|
2
|
+
import HtmlNode from '../../Components/Extension/HtmlNode';
|
|
3
|
+
import { WaykeStore } from '../../Redux/store';
|
|
4
|
+
interface SummaryProps {
|
|
5
|
+
readonly store: WaykeStore;
|
|
6
|
+
readonly cdnMedia?: string;
|
|
7
|
+
readonly onClose: () => void;
|
|
8
|
+
readonly marketCode: MarketCode;
|
|
9
|
+
}
|
|
10
|
+
declare class Summary extends HtmlNode {
|
|
11
|
+
private readonly props;
|
|
12
|
+
constructor(element: HTMLElement, props: SummaryProps);
|
|
13
|
+
render(): void;
|
|
14
|
+
}
|
|
15
|
+
export default Summary;
|
package/dist/cdn.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const devConfig: {
|
|
2
|
+
BANKID_TRADE_IN_HOME_DELIVERY: {
|
|
3
|
+
id: string;
|
|
4
|
+
};
|
|
5
|
+
DEFAULT: {
|
|
6
|
+
id: string;
|
|
7
|
+
};
|
|
8
|
+
MULTIPLE_FINANCIAL: {
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
11
|
+
INSURANCE: {
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
CREDIT_ASSESSMENT: {
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
CREDIT_ASSESSMENT_ZIKLO: {
|
|
18
|
+
id: string;
|
|
19
|
+
};
|
|
20
|
+
LEASING: {
|
|
21
|
+
id: string;
|
|
22
|
+
};
|
|
23
|
+
ACCESSORIES: {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
CENTRAL_STORAGE: {
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
PAYMENT: {
|
|
30
|
+
id: string;
|
|
31
|
+
};
|
|
32
|
+
TRYGG_HANSA: {
|
|
33
|
+
id: string;
|
|
34
|
+
};
|
|
35
|
+
TEST: {
|
|
36
|
+
id: string;
|
|
37
|
+
};
|
|
38
|
+
LEASING2: {
|
|
39
|
+
id: string;
|
|
40
|
+
};
|
|
41
|
+
MULTIPLE_FINANCING: {
|
|
42
|
+
id: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|