@wayke-se/ecom-web 0.0.8-beta.9 → 1.0.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/index.d.ts +24 -44
- package/dist/index.js +280 -280
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +273 -273
- package/dist/index.mjs.map +3 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -361,6 +361,7 @@ declare module '@wayke-se/ecom-web/src/App' {
|
|
|
361
361
|
private readonly props;
|
|
362
362
|
private view;
|
|
363
363
|
private stageOrderList;
|
|
364
|
+
private readonly cdnMedia?;
|
|
364
365
|
private readonly contexts;
|
|
365
366
|
constructor(props: AppProps);
|
|
366
367
|
close(): void;
|
|
@@ -1451,18 +1452,18 @@ declare module '@wayke-se/ecom-web/src/Redux/action' {
|
|
|
1451
1452
|
};
|
|
1452
1453
|
export const SET_CREATED_ORDER_ID = "SET_CREATED_ORDER_ID";
|
|
1453
1454
|
export type SET_CREATED_ORDER_ID_TYPE = BaseAction<typeof SET_CREATED_ORDER_ID> & {
|
|
1454
|
-
id: string;
|
|
1455
|
+
id: string | null | undefined;
|
|
1455
1456
|
payment?: {
|
|
1456
1457
|
type: string;
|
|
1457
1458
|
url: string;
|
|
1458
1459
|
};
|
|
1459
1460
|
};
|
|
1460
|
-
export const setCreatedOrderId: (id: string, payment?: {
|
|
1461
|
+
export const setCreatedOrderId: (id: string | null | undefined, payment?: {
|
|
1461
1462
|
type: string;
|
|
1462
1463
|
url: string;
|
|
1463
1464
|
}) => (dispatch: Dispatch) => {
|
|
1464
1465
|
type: string;
|
|
1465
|
-
id: string;
|
|
1466
|
+
id: string | null | undefined;
|
|
1466
1467
|
payment: {
|
|
1467
1468
|
type: string;
|
|
1468
1469
|
url: string;
|
|
@@ -1521,7 +1522,7 @@ declare module '@wayke-se/ecom-web/src/Redux/reducer' {
|
|
|
1521
1522
|
insurance?: IInsuranceOption;
|
|
1522
1523
|
insuranceAddOns?: Insurance;
|
|
1523
1524
|
freeInsurance?: IAvailableInsuranceOption;
|
|
1524
|
-
createdOrderId?: string;
|
|
1525
|
+
createdOrderId?: string | null;
|
|
1525
1526
|
creditAssessmentResponse?: ICreditAssessmentStatus;
|
|
1526
1527
|
caseId?: string;
|
|
1527
1528
|
dealer?: string;
|
|
@@ -1574,8 +1575,9 @@ declare module '@wayke-se/ecom-web/src/Templates/ItemTileLarge' {
|
|
|
1574
1575
|
vehicle?: IOrderVehicle;
|
|
1575
1576
|
order?: OrderOptions;
|
|
1576
1577
|
meta?: string;
|
|
1578
|
+
cdnMedia?: string;
|
|
1577
1579
|
}
|
|
1578
|
-
const ItemTileLarge: ({ vehicle, order, meta }: ItemTileLargeProps) => string;
|
|
1580
|
+
const ItemTileLarge: ({ vehicle, order, meta, cdnMedia }: ItemTileLargeProps) => string;
|
|
1579
1581
|
export default ItemTileLarge;
|
|
1580
1582
|
|
|
1581
1583
|
}
|
|
@@ -1585,8 +1587,9 @@ declare module '@wayke-se/ecom-web/src/Templates/ItemTileSmall' {
|
|
|
1585
1587
|
interface ItemTileSmallProps {
|
|
1586
1588
|
vehicle?: Vehicle;
|
|
1587
1589
|
order?: OrderOptions;
|
|
1590
|
+
cdnMedia?: string;
|
|
1588
1591
|
}
|
|
1589
|
-
const ItemTileSmall: ({ vehicle, order }: ItemTileSmallProps) => string;
|
|
1592
|
+
const ItemTileSmall: ({ vehicle, order, cdnMedia }: ItemTileSmallProps) => string;
|
|
1590
1593
|
export default ItemTileSmall;
|
|
1591
1594
|
|
|
1592
1595
|
}
|
|
@@ -1634,6 +1637,10 @@ declare module '@wayke-se/ecom-web/src/Templates/TimelineItem' {
|
|
|
1634
1637
|
const TimelineItem: ({ heading, description, final }: TimelineItemProps) => string;
|
|
1635
1638
|
export default TimelineItem;
|
|
1636
1639
|
|
|
1640
|
+
}
|
|
1641
|
+
declare module '@wayke-se/ecom-web/src/Utils/cdn' {
|
|
1642
|
+
export const toCdnMedia: (url: string, cdn?: string) => string;
|
|
1643
|
+
|
|
1637
1644
|
}
|
|
1638
1645
|
declare module '@wayke-se/ecom-web/src/Utils/compare' {
|
|
1639
1646
|
export const isSame: (a: any, b: any) => boolean;
|
|
@@ -1724,14 +1731,8 @@ declare module '@wayke-se/ecom-web/src/Utils/ecomEvent' {
|
|
|
1724
1731
|
FINANCIAL_CREDIT_SCORING_BANKID_INIT_FAILED = "FINANCIAL_CREDIT_SCORING_BANKID_INIT_FAILED",
|
|
1725
1732
|
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_REQUESTED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_REQUESTED",
|
|
1726
1733
|
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_SUCCEEDED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_SUCCEEDED",
|
|
1727
|
-
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_FAILED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_FAILED",
|
|
1728
|
-
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_SHOULD_RENEW = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_QR_SHOULD_RENEW",
|
|
1729
1734
|
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_REQUESTED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_REQUESTED",
|
|
1730
1735
|
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_SUCCEEDED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_SUCCEEDED",
|
|
1731
|
-
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_FAILED = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_FAILED",
|
|
1732
|
-
FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_SHOULD_RENEW = "FINANCIAL_CREDIT_SCORING_BANKID_STATUS_SAME_DEVICE_SHOULD_RENEW",
|
|
1733
|
-
FINANCIAL_CREDIT_SCORING_SIGNING_REQUESTED = "FINANCIAL_CREDIT_SCORING_SIGNING_REQUESTED",
|
|
1734
|
-
FINANCIAL_CREDIT_SCORING_SIGNING_FAILED = "FINANCIAL_CREDIT_SCORING_SIGNING_FAILED",
|
|
1735
1736
|
FINANCIAL_CREDIT_SCORING_SIGNING_SIGNED = "FINANCIAL_CREDIT_SCORING_SIGNING_SIGNED",
|
|
1736
1737
|
FINANCIAL_CREDIT_SCORING_SIGNING_SCORED = "FINANCIAL_CREDIT_SCORING_SIGNING_SCORED",
|
|
1737
1738
|
TRADE_IN_ACTIVE = "TRADE_IN_ACTIVE",
|
|
@@ -1784,18 +1785,13 @@ declare module '@wayke-se/ecom-web/src/Utils/ecomEvent' {
|
|
|
1784
1785
|
CONFIRMATION_BANKID_INIT_FAILED = "CONFIRMATION_BANKID_INIT_FAILED",
|
|
1785
1786
|
CONFIRMATION_BANKID_STATUS_QR_REQUESTED = "CONFIRMATION_BANKID_STATUS_QR_REQUESTED",
|
|
1786
1787
|
CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED = "CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED",
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
CONFIRMATION_BANKID_STATUS_QR_COMPLETED_NOT_OVER_18 = "CONFIRMATION_BANKID_STATUS_QR_COMPLETED_NOT_OVER_18",
|
|
1790
|
-
CONFIRMATION_BANKID_STATUS_QR_COMPLETED_SSN_MISSMATCH = "CONFIRMATION_BANKID_STATUS_QR_COMPLETED_SSN_MISSMATCH",
|
|
1791
|
-
CONFIRMATION_BANKID_STATUS_QR_SHOULD_RENEW = "CONFIRMATION_BANKID_STATUS_QR_SHOULD_RENEW",
|
|
1788
|
+
CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_NOT_OVER_18 = "CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_NOT_OVER_18",
|
|
1789
|
+
CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_SSN_MISSMATCH = "CONFIRMATION_BANKID_STATUS_QR_SUCCEEDED_SSN_MISSMATCH",
|
|
1792
1790
|
CONFIRMATION_BANKID_STATUS_SAME_DEVICE_REQUESTED = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_REQUESTED",
|
|
1793
|
-
CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED",
|
|
1794
|
-
CONFIRMATION_BANKID_STATUS_SAME_DEVICE_FAILED = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_FAILED",
|
|
1795
1791
|
CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SHOULD_RENEW = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SHOULD_RENEW",
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1792
|
+
CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED",
|
|
1793
|
+
CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_NOT_OVER_18 = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_NOT_OVER_18",
|
|
1794
|
+
CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_SSN_MISSMATCH = "CONFIRMATION_BANKID_STATUS_SAME_DEVICE_SUCCEEDED_SSN_MISSMATCH",
|
|
1799
1795
|
CONFIRMATION_CREATE_ORDER_REQUESTED = "CONFIRMATION_CREATE_ORDER_REQUESTED",
|
|
1800
1796
|
CONFIRMATION_CREATE_ORDER_SUCCEEDED = "CONFIRMATION_CREATE_ORDER_SUCCEEDED",
|
|
1801
1797
|
CONFIRMATION_CREATE_ORDER_FAILED = "CONFIRMATION_CREATE_ORDER_FAILED",
|
|
@@ -1838,6 +1834,7 @@ declare module '@wayke-se/ecom-web/src/Utils/ecomEvent' {
|
|
|
1838
1834
|
|
|
1839
1835
|
}
|
|
1840
1836
|
declare module '@wayke-se/ecom-web/src/Utils/format' {
|
|
1837
|
+
import { Vehicle } from '@wayke-se/ecom-web/src/@types/Vehicle';
|
|
1841
1838
|
export const removeSpaces: (value: string | number) => string;
|
|
1842
1839
|
interface PrettyNumberSettings {
|
|
1843
1840
|
postfix?: string | number;
|
|
@@ -1845,6 +1842,7 @@ declare module '@wayke-se/ecom-web/src/Utils/format' {
|
|
|
1845
1842
|
decimals?: number;
|
|
1846
1843
|
}
|
|
1847
1844
|
export const prettyNumber: (value: number | undefined, settings?: PrettyNumberSettings) => string;
|
|
1845
|
+
export const formatShortDescription: (vehicle?: Vehicle) => string | undefined;
|
|
1848
1846
|
export {};
|
|
1849
1847
|
|
|
1850
1848
|
}
|
|
@@ -2023,14 +2021,6 @@ declare module '@wayke-se/ecom-web/src/Views/Main/CentralStorage/index' {
|
|
|
2023
2021
|
}
|
|
2024
2022
|
export default CentralStorage;
|
|
2025
2023
|
|
|
2026
|
-
}
|
|
2027
|
-
declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/DisclaimerSafe' {
|
|
2028
|
-
import DisclaimerPadlock from '@wayke-se/ecom-web/src/Components/Disclaimer/DisclaimerPadlock';
|
|
2029
|
-
class DisclaimerSafe extends DisclaimerPadlock {
|
|
2030
|
-
constructor(element: HTMLElement | null);
|
|
2031
|
-
}
|
|
2032
|
-
export default DisclaimerSafe;
|
|
2033
|
-
|
|
2034
2024
|
}
|
|
2035
2025
|
declare module '@wayke-se/ecom-web/src/Views/Main/Confirmation/Payment' {
|
|
2036
2026
|
import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
|
|
@@ -2746,6 +2736,7 @@ declare module '@wayke-se/ecom-web/src/Views/Main/index' {
|
|
|
2746
2736
|
import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
|
|
2747
2737
|
interface MainProps {
|
|
2748
2738
|
readonly store: WaykeStore;
|
|
2739
|
+
cdnMedia?: string;
|
|
2749
2740
|
}
|
|
2750
2741
|
class Main extends HtmlNode {
|
|
2751
2742
|
private readonly props;
|
|
@@ -2795,6 +2786,7 @@ declare module '@wayke-se/ecom-web/src/Views/Preview/index' {
|
|
|
2795
2786
|
readonly store: WaykeStore;
|
|
2796
2787
|
readonly stageOrderList: StageMapKeys[];
|
|
2797
2788
|
readonly vehicle?: Vehicle;
|
|
2789
|
+
readonly cdnMedia?: string;
|
|
2798
2790
|
}
|
|
2799
2791
|
class Preview extends HtmlNode {
|
|
2800
2792
|
private readonly props;
|
|
@@ -2851,20 +2843,6 @@ declare module '@wayke-se/ecom-web/src/Views/Summary/Delivery' {
|
|
|
2851
2843
|
}
|
|
2852
2844
|
export default Centrallager;
|
|
2853
2845
|
|
|
2854
|
-
}
|
|
2855
|
-
declare module '@wayke-se/ecom-web/src/Views/Summary/Disclaimer' {
|
|
2856
|
-
import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
|
|
2857
|
-
import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
|
|
2858
|
-
interface DisclaimerProps {
|
|
2859
|
-
readonly store: WaykeStore;
|
|
2860
|
-
}
|
|
2861
|
-
class Disclaimer extends StackNode {
|
|
2862
|
-
private readonly props;
|
|
2863
|
-
constructor(element: HTMLElement, props: DisclaimerProps);
|
|
2864
|
-
render(): void;
|
|
2865
|
-
}
|
|
2866
|
-
export default Disclaimer;
|
|
2867
|
-
|
|
2868
2846
|
}
|
|
2869
2847
|
declare module '@wayke-se/ecom-web/src/Views/Summary/Intro' {
|
|
2870
2848
|
import StackNode from '@wayke-se/ecom-web/src/Components/Extension/StackNode';
|
|
@@ -2885,6 +2863,7 @@ declare module '@wayke-se/ecom-web/src/Views/Summary/Order' {
|
|
|
2885
2863
|
import { WaykeStore } from '@wayke-se/ecom-web/src/Redux/store';
|
|
2886
2864
|
interface OrderProps {
|
|
2887
2865
|
readonly store: WaykeStore;
|
|
2866
|
+
readonly cdnMedia?: string;
|
|
2888
2867
|
}
|
|
2889
2868
|
class Order extends StackNode {
|
|
2890
2869
|
private readonly props;
|
|
@@ -2913,6 +2892,7 @@ declare module '@wayke-se/ecom-web/src/Views/Summary/index' {
|
|
|
2913
2892
|
import HtmlNode from '@wayke-se/ecom-web/src/Components/Extension/HtmlNode';
|
|
2914
2893
|
interface SummaryProps {
|
|
2915
2894
|
readonly store: WaykeStore;
|
|
2895
|
+
readonly cdnMedia?: string;
|
|
2916
2896
|
readonly onClose: () => void;
|
|
2917
2897
|
}
|
|
2918
2898
|
class Summary extends HtmlNode {
|