@wayke-se/ecom-web 1.7.5 → 1.7.6
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 +336 -376
- 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 +306 -346
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -349,6 +349,7 @@ declare module '@wayke-se/ecom-web/src/App' {
|
|
|
349
349
|
destroy(): void;
|
|
350
350
|
private closeWithConfirm;
|
|
351
351
|
start(): void;
|
|
352
|
+
private focusModal;
|
|
352
353
|
private render;
|
|
353
354
|
}
|
|
354
355
|
export default App;
|
|
@@ -797,6 +798,7 @@ declare module '@wayke-se/ecom-web/src/Components/Input/InputError' {
|
|
|
797
798
|
import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
|
|
798
799
|
interface InputErrorProps {
|
|
799
800
|
error?: boolean;
|
|
801
|
+
id?: string;
|
|
800
802
|
readonly errorMessage: string;
|
|
801
803
|
}
|
|
802
804
|
class InputError extends HtmlNode {
|
|
@@ -825,6 +827,7 @@ declare module '@wayke-se/ecom-web/src/Components/Input/InputField' {
|
|
|
825
827
|
readonly autocomplete?: string;
|
|
826
828
|
readonly pattern?: string;
|
|
827
829
|
readonly inputmode?: string;
|
|
830
|
+
readonly help?: string;
|
|
828
831
|
readonly onChange?: (e: Event) => void;
|
|
829
832
|
readonly onBlur?: (e: Event) => void;
|
|
830
833
|
readonly onClickInformation?: (visible: boolean) => void;
|
|
@@ -1053,6 +1056,7 @@ declare module '@wayke-se/ecom-web/src/Components/Modal/ModalClose' {
|
|
|
1053
1056
|
class ModalClose extends HtmlNode {
|
|
1054
1057
|
private readonly props;
|
|
1055
1058
|
constructor(element: HTMLElement, props: ModalCloseProps);
|
|
1059
|
+
private handleKeydown;
|
|
1056
1060
|
render(): void;
|
|
1057
1061
|
}
|
|
1058
1062
|
export default ModalClose;
|
|
@@ -1568,8 +1572,9 @@ declare module '@wayke-se/ecom-web/src/Templates/Alert' {
|
|
|
1568
1572
|
interface AlertProps {
|
|
1569
1573
|
tone?: Tones;
|
|
1570
1574
|
children?: string | Element;
|
|
1575
|
+
polite?: boolean;
|
|
1571
1576
|
}
|
|
1572
|
-
const Alert: ({ tone, children }: AlertProps) => string;
|
|
1577
|
+
const Alert: ({ tone, children, polite }: AlertProps) => string;
|
|
1573
1578
|
export default Alert;
|
|
1574
1579
|
|
|
1575
1580
|
}
|
|
@@ -1624,6 +1629,7 @@ declare module '@wayke-se/ecom-web/src/Templates/ListItem' {
|
|
|
1624
1629
|
active?: boolean;
|
|
1625
1630
|
completed?: boolean;
|
|
1626
1631
|
id: string;
|
|
1632
|
+
index: number;
|
|
1627
1633
|
}
|
|
1628
1634
|
const ListItem: (element: HTMLElement, props: ListItemProps) => HTMLDivElement;
|
|
1629
1635
|
export default ListItem;
|
|
@@ -1918,6 +1924,10 @@ declare module '@wayke-se/ecom-web/src/Utils/stage' {
|
|
|
1918
1924
|
export const stageMap: StageMapper;
|
|
1919
1925
|
export type StageMapKeys = keyof typeof stageMap;
|
|
1920
1926
|
|
|
1927
|
+
}
|
|
1928
|
+
declare module '@wayke-se/ecom-web/src/Utils/trapFocus' {
|
|
1929
|
+
export function trapFocus(modalElement: HTMLElement): void;
|
|
1930
|
+
|
|
1921
1931
|
}
|
|
1922
1932
|
declare module '@wayke-se/ecom-web/src/Utils/validationMethods' {
|
|
1923
1933
|
export const validationMethods: {
|
|
@@ -2026,7 +2036,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Accessories/index' {
|
|
|
2026
2036
|
}
|
|
2027
2037
|
class Accessories extends HtmlNode {
|
|
2028
2038
|
private readonly props;
|
|
2029
|
-
constructor(element:
|
|
2039
|
+
constructor(element: HTMLElement, props: AccessoriesProps);
|
|
2030
2040
|
private onProceed;
|
|
2031
2041
|
private onEdit;
|
|
2032
2042
|
render(): void;
|
|
@@ -2047,7 +2057,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/CentralStorage/index' {
|
|
|
2047
2057
|
private selectedDealer?;
|
|
2048
2058
|
private requestError;
|
|
2049
2059
|
private contexts;
|
|
2050
|
-
constructor(element:
|
|
2060
|
+
constructor(element: HTMLElement, props: CentralStorageProps);
|
|
2051
2061
|
private updateOrder;
|
|
2052
2062
|
private onChange;
|
|
2053
2063
|
private onEdit;
|
|
@@ -2127,7 +2137,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/index' {
|
|
|
2127
2137
|
class Confirmation extends HtmlNode {
|
|
2128
2138
|
private readonly props;
|
|
2129
2139
|
private view;
|
|
2130
|
-
constructor(element:
|
|
2140
|
+
constructor(element: HTMLElement, props: ConfirmationProps);
|
|
2131
2141
|
render(): void;
|
|
2132
2142
|
}
|
|
2133
2143
|
export default Confirmation;
|
|
@@ -2211,7 +2221,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Customer/index' {
|
|
|
2211
2221
|
}
|
|
2212
2222
|
class Customer extends HtmlNode {
|
|
2213
2223
|
private readonly props;
|
|
2214
|
-
constructor(element:
|
|
2224
|
+
constructor(element: HTMLElement, props: CustomerProps);
|
|
2215
2225
|
private onChange;
|
|
2216
2226
|
render(): void;
|
|
2217
2227
|
}
|
|
@@ -2229,7 +2239,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Delivery/index' {
|
|
|
2229
2239
|
class Delivery extends HtmlNode {
|
|
2230
2240
|
private readonly props;
|
|
2231
2241
|
private homeDelivery;
|
|
2232
|
-
constructor(element:
|
|
2242
|
+
constructor(element: HTMLElement, props: DeliveryProps);
|
|
2233
2243
|
private onChange;
|
|
2234
2244
|
private onProceed;
|
|
2235
2245
|
private onEdit;
|
|
@@ -2243,6 +2253,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessment' {
|
|
|
2243
2253
|
import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
|
|
2244
2254
|
import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
|
|
2245
2255
|
import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
|
|
2256
|
+
export const DISCLAIMER_WRAPPER_NODE = "credit-assessment-disclaimer";
|
|
2246
2257
|
export interface CreditAssessmentHouseholdEconomyValidation {
|
|
2247
2258
|
maritalStatus: boolean;
|
|
2248
2259
|
income: boolean;
|
|
@@ -2515,7 +2526,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Financial/index' {
|
|
|
2515
2526
|
class Financial extends HtmlNode {
|
|
2516
2527
|
private readonly props;
|
|
2517
2528
|
private paymentType?;
|
|
2518
|
-
constructor(element:
|
|
2529
|
+
constructor(element: HTMLElement, props: FinancialProps);
|
|
2519
2530
|
private onChange;
|
|
2520
2531
|
private onProceed;
|
|
2521
2532
|
private onEdit;
|
|
@@ -2728,7 +2739,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/index' {
|
|
|
2728
2739
|
}
|
|
2729
2740
|
class Insurance extends HtmlNode {
|
|
2730
2741
|
private readonly props;
|
|
2731
|
-
constructor(element:
|
|
2742
|
+
constructor(element: HTMLElement, props: InsuranceProps);
|
|
2732
2743
|
private getStep;
|
|
2733
2744
|
private onSkipInsurances;
|
|
2734
2745
|
private onEdit;
|
|
@@ -2781,7 +2792,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/TradeIn/index' {
|
|
|
2781
2792
|
}
|
|
2782
2793
|
class TradeIn extends HtmlNode {
|
|
2783
2794
|
private readonly props;
|
|
2784
|
-
constructor(element:
|
|
2795
|
+
constructor(element: HTMLElement, props: TradeInProps);
|
|
2785
2796
|
private onEdit;
|
|
2786
2797
|
private onYesTradeIn;
|
|
2787
2798
|
private onNoTradeIn;
|