@wayke-se/ecom-web 1.8.0-beta.10 → 1.8.0-beta.12
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/README.md +2 -2
- package/dist/index.cjs +364 -404
- package/dist/index.cjs.map +4 -4
- package/dist/index.css +1 -1
- package/dist/index.css.map +3 -3
- package/dist/index.d.ts +20 -9
- package/dist/index.mjs +373 -413
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -362,6 +362,7 @@ declare module '@wayke-se/ecom-web/src/App' {
|
|
|
362
362
|
destroy(): void;
|
|
363
363
|
private closeWithConfirm;
|
|
364
364
|
start(): void;
|
|
365
|
+
private focusModal;
|
|
365
366
|
private render;
|
|
366
367
|
}
|
|
367
368
|
export default App;
|
|
@@ -810,6 +811,7 @@ declare module '@wayke-se/ecom-web/src/Components/Input/InputError' {
|
|
|
810
811
|
import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
|
|
811
812
|
interface InputErrorProps {
|
|
812
813
|
error?: boolean;
|
|
814
|
+
id?: string;
|
|
813
815
|
readonly errorMessage: string;
|
|
814
816
|
}
|
|
815
817
|
class InputError extends HtmlNode {
|
|
@@ -838,6 +840,7 @@ declare module '@wayke-se/ecom-web/src/Components/Input/InputField' {
|
|
|
838
840
|
readonly autocomplete?: string;
|
|
839
841
|
readonly pattern?: string;
|
|
840
842
|
readonly inputmode?: string;
|
|
843
|
+
readonly help?: string;
|
|
841
844
|
readonly onChange?: (e: Event) => void;
|
|
842
845
|
readonly onBlur?: (e: Event) => void;
|
|
843
846
|
readonly onClickInformation?: (visible: boolean) => void;
|
|
@@ -1068,6 +1071,7 @@ declare module '@wayke-se/ecom-web/src/Components/Modal/ModalClose' {
|
|
|
1068
1071
|
class ModalClose extends HtmlNode {
|
|
1069
1072
|
private readonly props;
|
|
1070
1073
|
constructor(element: HTMLElement, props: ModalCloseProps);
|
|
1074
|
+
private handleKeydown;
|
|
1071
1075
|
render(): void;
|
|
1072
1076
|
}
|
|
1073
1077
|
export default ModalClose;
|
|
@@ -1597,8 +1601,9 @@ declare module '@wayke-se/ecom-web/src/Templates/Alert' {
|
|
|
1597
1601
|
interface AlertProps {
|
|
1598
1602
|
tone?: Tones;
|
|
1599
1603
|
children?: string | Element;
|
|
1604
|
+
polite?: boolean;
|
|
1600
1605
|
}
|
|
1601
|
-
const Alert: ({ tone, children }: AlertProps) => string;
|
|
1606
|
+
const Alert: ({ tone, children, polite }: AlertProps) => string;
|
|
1602
1607
|
export default Alert;
|
|
1603
1608
|
|
|
1604
1609
|
}
|
|
@@ -1653,6 +1658,7 @@ declare module '@wayke-se/ecom-web/src/Templates/ListItem' {
|
|
|
1653
1658
|
active?: boolean;
|
|
1654
1659
|
completed?: boolean;
|
|
1655
1660
|
id: string;
|
|
1661
|
+
index: number;
|
|
1656
1662
|
}
|
|
1657
1663
|
const ListItem: (element: HTMLElement, props: ListItemProps) => HTMLDivElement;
|
|
1658
1664
|
export default ListItem;
|
|
@@ -1973,6 +1979,10 @@ declare module '@wayke-se/ecom-web/src/Utils/stage' {
|
|
|
1973
1979
|
export const stageMap: StageMapper;
|
|
1974
1980
|
export type StageMapKeys = keyof typeof stageMap;
|
|
1975
1981
|
|
|
1982
|
+
}
|
|
1983
|
+
declare module '@wayke-se/ecom-web/src/Utils/trapFocus' {
|
|
1984
|
+
export function trapFocus(modalElement: HTMLElement): void;
|
|
1985
|
+
|
|
1976
1986
|
}
|
|
1977
1987
|
declare module '@wayke-se/ecom-web/src/Utils/validationMethods' {
|
|
1978
1988
|
export const validationMethods: {
|
|
@@ -2085,7 +2095,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Accessories/index' {
|
|
|
2085
2095
|
}
|
|
2086
2096
|
class Accessories extends HtmlNode {
|
|
2087
2097
|
private readonly props;
|
|
2088
|
-
constructor(element:
|
|
2098
|
+
constructor(element: HTMLElement, props: AccessoriesProps);
|
|
2089
2099
|
private onProceed;
|
|
2090
2100
|
private onEdit;
|
|
2091
2101
|
render(): void;
|
|
@@ -2106,7 +2116,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/CentralStorage/index' {
|
|
|
2106
2116
|
private selectedDealer?;
|
|
2107
2117
|
private requestError;
|
|
2108
2118
|
private contexts;
|
|
2109
|
-
constructor(element:
|
|
2119
|
+
constructor(element: HTMLElement, props: CentralStorageProps);
|
|
2110
2120
|
private updateOrder;
|
|
2111
2121
|
private onChange;
|
|
2112
2122
|
private onEdit;
|
|
@@ -2208,7 +2218,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/index' {
|
|
|
2208
2218
|
class Confirmation extends HtmlNode {
|
|
2209
2219
|
private readonly props;
|
|
2210
2220
|
private view;
|
|
2211
|
-
constructor(element:
|
|
2221
|
+
constructor(element: HTMLElement, props: ConfirmationProps);
|
|
2212
2222
|
render(): void;
|
|
2213
2223
|
}
|
|
2214
2224
|
export default Confirmation;
|
|
@@ -2327,7 +2337,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Customer/index' {
|
|
|
2327
2337
|
}
|
|
2328
2338
|
class Customer extends HtmlNode {
|
|
2329
2339
|
private readonly props;
|
|
2330
|
-
constructor(element:
|
|
2340
|
+
constructor(element: HTMLElement, props: CustomerProps);
|
|
2331
2341
|
private onChange;
|
|
2332
2342
|
render(): void;
|
|
2333
2343
|
}
|
|
@@ -2345,7 +2355,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Delivery/index' {
|
|
|
2345
2355
|
class Delivery extends HtmlNode {
|
|
2346
2356
|
private readonly props;
|
|
2347
2357
|
private homeDelivery;
|
|
2348
|
-
constructor(element:
|
|
2358
|
+
constructor(element: HTMLElement, props: DeliveryProps);
|
|
2349
2359
|
private onChange;
|
|
2350
2360
|
private onProceed;
|
|
2351
2361
|
private onEdit;
|
|
@@ -2359,6 +2369,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessment' {
|
|
|
2359
2369
|
import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
|
|
2360
2370
|
import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
|
|
2361
2371
|
import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
|
|
2372
|
+
export const DISCLAIMER_WRAPPER_NODE = "credit-assessment-disclaimer";
|
|
2362
2373
|
export interface CreditAssessmentHouseholdEconomyValidation {
|
|
2363
2374
|
maritalStatus: boolean;
|
|
2364
2375
|
income: boolean;
|
|
@@ -2633,7 +2644,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Financial/index' {
|
|
|
2633
2644
|
class Financial extends HtmlNode {
|
|
2634
2645
|
private readonly props;
|
|
2635
2646
|
private paymentType?;
|
|
2636
|
-
constructor(element:
|
|
2647
|
+
constructor(element: HTMLElement, props: FinancialProps);
|
|
2637
2648
|
private onChange;
|
|
2638
2649
|
private onProceed;
|
|
2639
2650
|
private onEdit;
|
|
@@ -2848,7 +2859,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/index' {
|
|
|
2848
2859
|
}
|
|
2849
2860
|
class Insurance extends HtmlNode {
|
|
2850
2861
|
private readonly props;
|
|
2851
|
-
constructor(element:
|
|
2862
|
+
constructor(element: HTMLElement, props: InsuranceProps);
|
|
2852
2863
|
private getStep;
|
|
2853
2864
|
private onSkipInsurances;
|
|
2854
2865
|
private onEdit;
|
|
@@ -2901,7 +2912,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/TradeIn/index' {
|
|
|
2901
2912
|
}
|
|
2902
2913
|
class TradeIn extends HtmlNode {
|
|
2903
2914
|
private readonly props;
|
|
2904
|
-
constructor(element:
|
|
2915
|
+
constructor(element: HTMLElement, props: TradeInProps);
|
|
2905
2916
|
private onEdit;
|
|
2906
2917
|
private onYesTradeIn;
|
|
2907
2918
|
private onNoTradeIn;
|