@club-employes/utopia 4.336.0 → 4.337.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/molecules/CartPreviewItem/index.d.ts +2 -0
- package/dist/components/molecules/CartPreviewItem/types.d.ts +10 -0
- package/dist/components/molecules/index.d.ts +2 -0
- package/dist/components/organisms/CartPreview/CartPreview.d.ts +2 -1
- package/dist/components/organisms/CartPreview/index.d.ts +1 -1
- package/dist/components/organisms/CartPreview/types.d.ts +2 -9
- package/dist/components/organisms/OrderRecap/types.d.ts +6 -5
- package/dist/components/organisms/ProductRecap/types.d.ts +8 -6
- package/dist/components/organisms/ProductSummary/ProductSummary.d.ts +1 -0
- package/dist/components/organisms/ProductSummary/types.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4506 -4350
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
- /package/dist/components/{organisms/CartPreview → molecules/CartPreviewItem}/CartPreviewItem.d.ts +0 -0
|
@@ -66,3 +66,5 @@ export { CountryDropDown, countriesToDropDownOptions, countryDisplayName, countr
|
|
|
66
66
|
export type { CountryDropDownBaseProps, CountryDropDownPassthroughProps, CountryDropDownProps } from './CountryDropDown';
|
|
67
67
|
export { GrantSelect, type GrantSelectItemProps } from './GrantSelect';
|
|
68
68
|
export { CartStepper, type CartStepperProps, type CartStepperStep } from './CartStepper';
|
|
69
|
+
export { CartPreviewItem } from './CartPreviewItem';
|
|
70
|
+
export type { CartPreviewItemProps } from './CartPreviewItem';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { CartPreviewProps
|
|
1
|
+
import { CartPreviewProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { CartPreviewItemProps } from '../..';
|
|
3
4
|
declare const _default: DefineComponent<CartPreviewProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
5
|
close: () => any;
|
|
5
6
|
remove: (id: string) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as CartPreview } from './CartPreview';
|
|
2
|
-
export type { CartPreviewProps,
|
|
2
|
+
export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './types';
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
id?: string;
|
|
3
|
-
loading?: boolean;
|
|
4
|
-
image?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
oldPrice?: string;
|
|
8
|
-
price?: string;
|
|
9
|
-
}
|
|
1
|
+
import { CartPreviewItemProps } from '../../molecules/CartPreviewItem/types';
|
|
10
2
|
export interface CartPreviewPriceLine {
|
|
11
3
|
label: string;
|
|
12
4
|
value: string;
|
|
@@ -25,6 +17,7 @@ export interface CartPreviewProps {
|
|
|
25
17
|
top?: number;
|
|
26
18
|
right?: number;
|
|
27
19
|
title?: string;
|
|
20
|
+
pending?: boolean;
|
|
28
21
|
loading?: boolean;
|
|
29
22
|
sideTitle?: string;
|
|
30
23
|
items: CartPreviewItemProps[];
|
|
@@ -29,9 +29,10 @@ export interface OrderRecapMessage {
|
|
|
29
29
|
active: boolean;
|
|
30
30
|
}
|
|
31
31
|
export interface OrderRecapProps {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
loading?: boolean;
|
|
33
|
+
title?: string;
|
|
34
|
+
publicPriceLabel?: string;
|
|
35
|
+
publicPrice?: string;
|
|
35
36
|
/** Delivery row — hidden when absent */
|
|
36
37
|
delivery?: {
|
|
37
38
|
label: string;
|
|
@@ -44,11 +45,11 @@ export interface OrderRecapProps {
|
|
|
44
45
|
discounts?: OrderRecapDiscountSection[];
|
|
45
46
|
/** Cagnotte block — hidden when absent */
|
|
46
47
|
cagnotte?: OrderRecapCagnotte;
|
|
47
|
-
total
|
|
48
|
+
total?: {
|
|
48
49
|
label: string;
|
|
49
50
|
value: string;
|
|
50
51
|
};
|
|
51
|
-
confirm
|
|
52
|
+
confirm?: {
|
|
52
53
|
label: string;
|
|
53
54
|
loading?: boolean;
|
|
54
55
|
disabled?: boolean;
|
|
@@ -22,15 +22,17 @@ export interface ProductRecapPrice {
|
|
|
22
22
|
publicPrice?: ProductRecapPriceLine;
|
|
23
23
|
}
|
|
24
24
|
export interface ProductRecapProps {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
loading?: boolean;
|
|
26
|
+
id?: string;
|
|
27
|
+
image?: ProductRecapImage;
|
|
28
|
+
tag?: string;
|
|
29
|
+
title?: string;
|
|
30
|
+
description?: string;
|
|
29
31
|
chips?: ProductRecapChip[];
|
|
30
|
-
quantity
|
|
32
|
+
quantity?: number;
|
|
31
33
|
minQuantity?: number;
|
|
32
34
|
maxQuantity?: number;
|
|
33
|
-
price
|
|
35
|
+
price?: ProductRecapPrice;
|
|
34
36
|
outOfStock?: boolean;
|
|
35
37
|
outOfStockLabel?: string;
|
|
36
38
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export type { TromboItemProps } from './components/molecules/TromboItem/types';
|
|
|
74
74
|
export type { CountryDropDownProps } from './components/molecules/CountryDropDown/types';
|
|
75
75
|
export type { GrantSelectItemProps } from './components/molecules/GrantSelect/types';
|
|
76
76
|
export type { CartStepperProps, CartStepperStep } from './components/molecules/CartStepper/types';
|
|
77
|
+
export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';
|
|
77
78
|
export { TromboItem, TromboItemEmptyState } from './components/molecules/TromboItem';
|
|
78
79
|
export type { AuthLayoutProps } from './components/layouts/AuthLayout/types';
|
|
79
80
|
export type { MfePageProps, ShyHeaderMode } from './components/layouts/MfePage/types';
|