@club-employes/utopia 4.213.0 → 4.214.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/components/atoms/DefaultImage/DefaultImage.d.ts +1 -0
- package/dist/components/atoms/DefaultImage/types.d.ts +5 -0
- package/dist/components/organisms/CartPreview/CartPreview.d.ts +1 -0
- package/dist/components/organisms/CartPreview/CartPreviewItem.d.ts +3 -1
- package/dist/components/organisms/CartPreview/types.d.ts +10 -4
- package/dist/components/organisms/ProductSummary/ProductSummary.d.ts +1 -0
- package/dist/components/organisms/ProductSummary/types.d.ts +3 -0
- package/dist/index.js +9191 -9050
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DefaultImageProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<DefaultImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DefaultImageProps> & Readonly<{}>, {
|
|
4
|
+
loading: boolean;
|
|
4
5
|
radius: number;
|
|
5
6
|
fit: "cover" | "contain" | "fill";
|
|
6
7
|
aspectRatio: number;
|
|
@@ -19,6 +19,7 @@ declare const _default: DefineComponent<CartPreviewProps, {}, {}, {}, {}, Compon
|
|
|
19
19
|
emptyDescription: string;
|
|
20
20
|
toastLabel: string;
|
|
21
21
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
22
|
+
cartPreviewRef: HTMLDivElement;
|
|
22
23
|
progressRef: HTMLDivElement;
|
|
23
24
|
}, any>;
|
|
24
25
|
export default _default;
|
|
@@ -4,5 +4,7 @@ declare const _default: DefineComponent<CartPreviewItemProps, {}, {}, {}, {}, Co
|
|
|
4
4
|
remove: (id: string) => any;
|
|
5
5
|
}, string, PublicProps, Readonly<CartPreviewItemProps> & Readonly<{
|
|
6
6
|
onRemove?: ((id: string) => any) | undefined;
|
|
7
|
-
}>, {
|
|
7
|
+
}>, {
|
|
8
|
+
loading: boolean;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
10
|
export default _default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export interface CartPreviewItemProps {
|
|
2
|
-
id
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
id?: string;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
image?: string;
|
|
5
|
+
label?: string;
|
|
5
6
|
description?: string;
|
|
6
7
|
oldPrice?: string;
|
|
7
|
-
price
|
|
8
|
+
price?: string;
|
|
8
9
|
}
|
|
9
10
|
export interface CartPreviewPriceLine {
|
|
10
11
|
label: string;
|
|
@@ -15,14 +16,19 @@ export interface CartPreviewPrice {
|
|
|
15
16
|
lines: CartPreviewPriceLine[];
|
|
16
17
|
totalLabel: string;
|
|
17
18
|
totalValue: string;
|
|
19
|
+
mobileLabel?: string;
|
|
20
|
+
mobileValue?: string;
|
|
21
|
+
mobileColor?: string;
|
|
18
22
|
}
|
|
19
23
|
export interface CartPreviewProps {
|
|
20
24
|
open: boolean;
|
|
21
25
|
top?: number;
|
|
22
26
|
right?: number;
|
|
23
27
|
title?: string;
|
|
28
|
+
loading?: boolean;
|
|
24
29
|
sideTitle?: string;
|
|
25
30
|
items: CartPreviewItemProps[];
|
|
31
|
+
lastItemId?: string;
|
|
26
32
|
price?: CartPreviewPrice;
|
|
27
33
|
buttonLabel?: string;
|
|
28
34
|
disclaimer?: string;
|
|
@@ -20,6 +20,7 @@ declare const _default: DefineComponent<ProductSummaryProps, {}, {}, {}, {}, Com
|
|
|
20
20
|
outOfStock: boolean;
|
|
21
21
|
outOfStockChipLabel: string;
|
|
22
22
|
outOfStockDescription: string;
|
|
23
|
+
displayTotalPrice: boolean;
|
|
23
24
|
additionalInfo: ProductSummaryAdditionalInfo[];
|
|
24
25
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
25
26
|
tipsContentRef: HTMLDivElement;
|
|
@@ -8,8 +8,10 @@ export interface ProductSummaryPrice {
|
|
|
8
8
|
label: string;
|
|
9
9
|
totalLabel: string;
|
|
10
10
|
formattedPrice: string;
|
|
11
|
+
formattedTotalPrice: string;
|
|
11
12
|
formattedOldPriceLabel: string;
|
|
12
13
|
formattedOldPriceValue: string;
|
|
14
|
+
formattedTotalOldPriceValue: string;
|
|
13
15
|
formattedSavingInfo: string;
|
|
14
16
|
formattedSavingInfoTooltip: PriceSummarySavingInfoTooltip;
|
|
15
17
|
}
|
|
@@ -78,6 +80,7 @@ export interface ProductSummaryProps {
|
|
|
78
80
|
codeTooltipLabel?: string;
|
|
79
81
|
subvention?: ProductSummarySubvention;
|
|
80
82
|
price?: ProductSummaryPrice;
|
|
83
|
+
displayTotalPrice?: boolean;
|
|
81
84
|
quantity?: ProductSummaryQuantity;
|
|
82
85
|
button?: ProductSummaryButton;
|
|
83
86
|
secondaryButton?: ProductSummaryButton;
|