@wayke-se/ecom-web 1.7.4 → 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/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;
@@ -893,6 +896,7 @@ declare module '@wayke-se/ecom-web/src/Components/Input/InputRadioGroup' {
893
896
  readonly options: RadioItem[];
894
897
  error?: boolean;
895
898
  information?: string;
899
+ footer?: string;
896
900
  readonly errorMessage?: string;
897
901
  readonly onClick: (e: Event) => void;
898
902
  readonly onClickInformation?: (visible: boolean) => void;
@@ -1052,6 +1056,7 @@ declare module '@wayke-se/ecom-web/src/Components/Modal/ModalClose' {
1052
1056
  class ModalClose extends HtmlNode {
1053
1057
  private readonly props;
1054
1058
  constructor(element: HTMLElement, props: ModalCloseProps);
1059
+ private handleKeydown;
1055
1060
  render(): void;
1056
1061
  }
1057
1062
  export default ModalClose;
@@ -1567,8 +1572,9 @@ declare module '@wayke-se/ecom-web/src/Templates/Alert' {
1567
1572
  interface AlertProps {
1568
1573
  tone?: Tones;
1569
1574
  children?: string | Element;
1575
+ polite?: boolean;
1570
1576
  }
1571
- const Alert: ({ tone, children }: AlertProps) => string;
1577
+ const Alert: ({ tone, children, polite }: AlertProps) => string;
1572
1578
  export default Alert;
1573
1579
 
1574
1580
  }
@@ -1623,6 +1629,7 @@ declare module '@wayke-se/ecom-web/src/Templates/ListItem' {
1623
1629
  active?: boolean;
1624
1630
  completed?: boolean;
1625
1631
  id: string;
1632
+ index: number;
1626
1633
  }
1627
1634
  const ListItem: (element: HTMLElement, props: ListItemProps) => HTMLDivElement;
1628
1635
  export default ListItem;
@@ -1917,6 +1924,10 @@ declare module '@wayke-se/ecom-web/src/Utils/stage' {
1917
1924
  export const stageMap: StageMapper;
1918
1925
  export type StageMapKeys = keyof typeof stageMap;
1919
1926
 
1927
+ }
1928
+ declare module '@wayke-se/ecom-web/src/Utils/trapFocus' {
1929
+ export function trapFocus(modalElement: HTMLElement): void;
1930
+
1920
1931
  }
1921
1932
  declare module '@wayke-se/ecom-web/src/Utils/validationMethods' {
1922
1933
  export const validationMethods: {
@@ -2025,7 +2036,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Accessories/index' {
2025
2036
  }
2026
2037
  class Accessories extends HtmlNode {
2027
2038
  private readonly props;
2028
- constructor(element: HTMLDivElement, props: AccessoriesProps);
2039
+ constructor(element: HTMLElement, props: AccessoriesProps);
2029
2040
  private onProceed;
2030
2041
  private onEdit;
2031
2042
  render(): void;
@@ -2046,7 +2057,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/CentralStorage/index' {
2046
2057
  private selectedDealer?;
2047
2058
  private requestError;
2048
2059
  private contexts;
2049
- constructor(element: HTMLDivElement, props: CentralStorageProps);
2060
+ constructor(element: HTMLElement, props: CentralStorageProps);
2050
2061
  private updateOrder;
2051
2062
  private onChange;
2052
2063
  private onEdit;
@@ -2126,7 +2137,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/index' {
2126
2137
  class Confirmation extends HtmlNode {
2127
2138
  private readonly props;
2128
2139
  private view;
2129
- constructor(element: HTMLDivElement, props: ConfirmationProps);
2140
+ constructor(element: HTMLElement, props: ConfirmationProps);
2130
2141
  render(): void;
2131
2142
  }
2132
2143
  export default Confirmation;
@@ -2210,7 +2221,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Customer/index' {
2210
2221
  }
2211
2222
  class Customer extends HtmlNode {
2212
2223
  private readonly props;
2213
- constructor(element: HTMLDivElement, props: CustomerProps);
2224
+ constructor(element: HTMLElement, props: CustomerProps);
2214
2225
  private onChange;
2215
2226
  render(): void;
2216
2227
  }
@@ -2228,7 +2239,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Delivery/index' {
2228
2239
  class Delivery extends HtmlNode {
2229
2240
  private readonly props;
2230
2241
  private homeDelivery;
2231
- constructor(element: HTMLDivElement, props: DeliveryProps);
2242
+ constructor(element: HTMLElement, props: DeliveryProps);
2232
2243
  private onChange;
2233
2244
  private onProceed;
2234
2245
  private onEdit;
@@ -2242,6 +2253,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Financial/CreditAssessment' {
2242
2253
  import { PaymentLookup } from '@wayke-se/ecom-web/src/@types/PaymentLookup';
2243
2254
  import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
2244
2255
  import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
2256
+ export const DISCLAIMER_WRAPPER_NODE = "credit-assessment-disclaimer";
2245
2257
  export interface CreditAssessmentHouseholdEconomyValidation {
2246
2258
  maritalStatus: boolean;
2247
2259
  income: boolean;
@@ -2514,7 +2526,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Financial/index' {
2514
2526
  class Financial extends HtmlNode {
2515
2527
  private readonly props;
2516
2528
  private paymentType?;
2517
- constructor(element: HTMLDivElement, props: FinancialProps);
2529
+ constructor(element: HTMLElement, props: FinancialProps);
2518
2530
  private onChange;
2519
2531
  private onProceed;
2520
2532
  private onEdit;
@@ -2727,7 +2739,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/Insurance/index' {
2727
2739
  }
2728
2740
  class Insurance extends HtmlNode {
2729
2741
  private readonly props;
2730
- constructor(element: HTMLDivElement, props: InsuranceProps);
2742
+ constructor(element: HTMLElement, props: InsuranceProps);
2731
2743
  private getStep;
2732
2744
  private onSkipInsurances;
2733
2745
  private onEdit;
@@ -2780,7 +2792,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/TradeIn/index' {
2780
2792
  }
2781
2793
  class TradeIn extends HtmlNode {
2782
2794
  private readonly props;
2783
- constructor(element: HTMLDivElement, props: TradeInProps);
2795
+ constructor(element: HTMLElement, props: TradeInProps);
2784
2796
  private onEdit;
2785
2797
  private onYesTradeIn;
2786
2798
  private onNoTradeIn;