@club-employes/utopia 4.336.0 → 4.338.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.
@@ -0,0 +1,2 @@
1
+ export { default as CartPreviewItem } from './CartPreviewItem';
2
+ export type { CartPreviewItemProps } from './types';
@@ -0,0 +1,10 @@
1
+ export interface CartPreviewItemProps {
2
+ id?: string;
3
+ loading?: boolean;
4
+ pending?: boolean;
5
+ image?: string;
6
+ label?: string;
7
+ description?: string;
8
+ oldPrice?: string;
9
+ price?: string;
10
+ }
@@ -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, CartPreviewItemProps } from './types';
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, CartPreviewItemProps, CartPreviewPrice, CartPreviewPriceLine } from './types';
2
+ export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './types';
@@ -1,12 +1,4 @@
1
- export interface CartPreviewItemProps {
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
- title: string;
33
- publicPriceLabel: string;
34
- publicPrice: string;
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
- image: ProductRecapImage;
26
- tag: string;
27
- title: string;
28
- description: string;
25
+ loading?: boolean;
26
+ id?: string;
27
+ image?: ProductRecapImage;
28
+ tag?: string;
29
+ title?: string;
30
+ description?: string;
29
31
  chips?: ProductRecapChip[];
30
- quantity: number;
32
+ quantity?: number;
31
33
  minQuantity?: number;
32
34
  maxQuantity?: number;
33
- price: ProductRecapPrice;
35
+ price?: ProductRecapPrice;
34
36
  outOfStock?: boolean;
35
37
  outOfStockLabel?: string;
36
38
  }
@@ -20,6 +20,7 @@ declare const _default: DefineComponent<ProductSummaryProps, {}, {}, {}, {}, Com
20
20
  }>, {
21
21
  loading: boolean;
22
22
  options: OptionSelectProps[];
23
+ pending: boolean;
23
24
  outOfStock: boolean;
24
25
  outOfStockChipLabel: string;
25
26
  outOfStockDescription: string;
@@ -76,6 +76,7 @@ export interface ProductSummaryShipping {
76
76
  export interface ProductSummaryProps {
77
77
  titles?: ProductSummaryTitles[];
78
78
  loading?: boolean;
79
+ pending?: boolean;
79
80
  type?: string;
80
81
  brand?: string;
81
82
  address?: string;
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';