@soma-vertical-web/multi-lib 0.0.60 → 0.0.62

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.
Files changed (92) hide show
  1. package/contexts/index.d.ts +0 -2
  2. package/data/helpers/product/orderSizes.d.ts +3 -0
  3. package/index-ASRiF3PD.js +1 -0
  4. package/index-BRfMTuMz.mjs +405 -0
  5. package/index-BzNV29ol.mjs +402 -0
  6. package/index-C5zOWvXN.js +1 -0
  7. package/index-CbOiLJQX.mjs +403 -0
  8. package/index-CiBRnp7U.js +1 -0
  9. package/index-D3ONVIla.mjs +412 -0
  10. package/index-DD12Nl4r.mjs +412 -0
  11. package/index-DJR4CcKO.mjs +398 -0
  12. package/index-DJeLEsRl.js +1 -0
  13. package/index-D__YfUie.js +1 -0
  14. package/index-drKDwA8_.js +1 -0
  15. package/index.js +28 -27
  16. package/index.mjs +7440 -5960
  17. package/index2.js +1 -1
  18. package/index2.mjs +545 -529
  19. package/layout/index.d.ts +1 -1
  20. package/layout/team-component/Header/index.d.ts +1 -1
  21. package/layout/team-component/ImageZoom/Composite/ButtonClose.d.ts +4 -0
  22. package/layout/team-component/ImageZoom/Composite/Common/BlurImage.d.ts +3 -0
  23. package/layout/team-component/ImageZoom/Composite/Desktop/ImageDesktop.d.ts +5 -0
  24. package/layout/team-component/ImageZoom/Composite/Desktop/ImagesThumbs.d.ts +5 -0
  25. package/layout/team-component/ImageZoom/Composite/Desktop/WrapperDesktop.d.ts +4 -0
  26. package/layout/team-component/ImageZoom/Composite/Mobile/Carousel.d.ts +7 -0
  27. package/layout/team-component/ImageZoom/Composite/Mobile/ImageMobile.d.ts +7 -0
  28. package/layout/team-component/ImageZoom/Composite/Mobile/ImageZoom.d.ts +7 -0
  29. package/layout/team-component/ImageZoom/Composite/Mobile/WrapperMobile.d.ts +4 -0
  30. package/layout/team-component/ImageZoom/Composite/Mobile/ZoomPopup.d.ts +7 -0
  31. package/layout/team-component/ImageZoom/ImageZoom.d.ts +7 -0
  32. package/layout/team-component/ImageZoom/index.d.ts +1 -0
  33. package/layout/team-component/Notify/Composite/Controls.d.ts +7 -0
  34. package/layout/team-component/Notify/Composite/Form.d.ts +7 -0
  35. package/layout/team-component/Notify/Composite/Loading.d.ts +7 -0
  36. package/layout/team-component/Notify/Composite/Selector.d.ts +7 -0
  37. package/layout/team-component/Notify/Composite/Status.d.ts +7 -0
  38. package/layout/team-component/Notify/helpers.d.ts +3 -0
  39. package/layout/team-component/Notify/index.d.ts +7 -0
  40. package/layout/team-component/Table/Composite/Head.d.ts +4 -0
  41. package/layout/team-component/Table/Composite/Root.d.ts +4 -0
  42. package/layout/team-component/Table/Composite/Rows.d.ts +4 -0
  43. package/layout/team-component/Table/Table.d.ts +6 -0
  44. package/layout/team-component/Table/index.d.ts +1 -0
  45. package/layout/template/PDP/Composite/BreadCrumb/index.d.ts +7 -0
  46. package/layout/template/PDP/Composite/Containers/Gallery.d.ts +3 -0
  47. package/layout/template/PDP/Composite/Containers/Main.d.ts +3 -0
  48. package/layout/template/PDP/Composite/Containers/PDP.d.ts +3 -0
  49. package/layout/template/PDP/Composite/Containers/Secondary.d.ts +3 -0
  50. package/layout/template/PDP/Composite/Containers/index.d.ts +6 -0
  51. package/layout/template/PDP/Composite/Credits/index.d.ts +7 -0
  52. package/layout/template/PDP/Composite/Gallery/Wrapper.d.ts +2 -2
  53. package/layout/template/PDP/Composite/Gallery/index.d.ts +1 -1
  54. package/layout/template/PDP/Composite/Info/Divider.d.ts +4 -0
  55. package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCart.d.ts +4 -0
  56. package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToCartObserver.d.ts +6 -0
  57. package/layout/template/PDP/Composite/Info/MainContent/Actions/AddToWishlist.d.ts +4 -0
  58. package/layout/template/PDP/Composite/Info/MainContent/Actions/index.d.ts +4 -0
  59. package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/Actions.d.ts +4 -0
  60. package/layout/template/PDP/Composite/Info/MainContent/BottomNavigation/index.d.ts +4 -0
  61. package/layout/template/PDP/Composite/Info/MainContent/Header/index.d.ts +8 -0
  62. package/layout/template/PDP/Composite/Info/MainContent/Links/index.d.ts +4 -0
  63. package/layout/template/PDP/Composite/Info/MainContent/Price/index.d.ts +4 -0
  64. package/layout/template/PDP/Composite/Info/MainContent/ProductMeasurements/index.d.ts +4 -0
  65. package/layout/template/PDP/Composite/Info/MainContent/Root.d.ts +4 -0
  66. package/layout/template/PDP/Composite/Info/MainContent/Similars/AccessibilityInfo.d.ts +2 -0
  67. package/layout/template/PDP/Composite/Info/MainContent/Similars/Items.d.ts +4 -0
  68. package/layout/template/PDP/Composite/Info/MainContent/Similars/ToggleWrapper.d.ts +4 -0
  69. package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +3 -0
  70. package/layout/template/PDP/Composite/Info/MainContent/Sizes/index.d.ts +4 -0
  71. package/layout/template/PDP/Composite/Info/MainContent/SubSectionWrapper.d.ts +4 -0
  72. package/layout/template/PDP/Composite/Info/Root.d.ts +6 -0
  73. package/layout/template/PDP/Composite/Info/SecondaryContent/DescriptionsTabs.d.ts +2 -0
  74. package/layout/template/PDP/Composite/Info/SecondaryContent/Freight.d.ts +4 -0
  75. package/layout/template/PDP/index.d.ts +18 -1
  76. package/layout/template/QuickShop/Composite/Body.d.ts +4 -0
  77. package/layout/template/QuickShop/Composite/Header.d.ts +3 -0
  78. package/layout/template/QuickShop/Composite/Similars.d.ts +7 -0
  79. package/layout/template/QuickShop/index.d.ts +3 -0
  80. package/package.json +1 -1
  81. package/server.d.ts +8 -1
  82. package/style.css +1 -1
  83. package/types/constants.d.ts +72 -7
  84. package/types/contexts/contexts/global.d.ts +1 -0
  85. package/types/contexts/contexts/pdp.d.ts +5 -46
  86. package/types/data/helpers/index.d.ts +6 -1
  87. package/types/layout/team-components/Header/index.d.ts +3 -2
  88. package/types/layout/team-components/ImageZoom/index.d.ts +36 -3
  89. package/types/layout/team-components/Notify/index.d.ts +22 -2
  90. package/types/layout/team-components/Table/index.d.ts +22 -0
  91. package/types/layout/templates/PDP/index.d.ts +144 -4
  92. package/types/layout/templates/QuickShop/index.d.ts +21 -0
@@ -1,24 +1,14 @@
1
- import { ProductInfoProps } from '@soma-vertical-web/core-components/src/lib/ProductInfo/interfaces';
2
1
  import { PropsWithChildren } from 'react';
3
- import { Sizes as BtnSizes } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
4
2
  import { ImageType, ProductType_PDP } from '../../global/product';
5
3
  import { TagCommercialConsumer } from '../../cms/ContentTypes/FlagsAndTags';
6
4
  import { UseBackPDCProps } from '../hooks';
7
5
  import { PDP_INFOType, NAME_SPLIT_SYMBOLType, TEXTURE_IMAGEType } from '../../constants';
8
6
 
9
- export type SimilarsType = {
10
- currentSimilarInfo: {
11
- images: ImageType[];
12
- color: string[];
13
- };
14
- productId: string;
15
- };
16
7
  export interface PDPContextProps {
17
8
  sizesContainerRef: React.MutableRefObject<HTMLDivElement | null>;
18
9
  }
19
10
  export interface PDPProviderProps extends PropsWithChildren, UseBackPDCProps {
20
11
  }
21
- export type PDPPriceProps = ProductInfoProps;
22
12
  export type Installments = {
23
13
  count: number;
24
14
  value: number;
@@ -28,11 +18,6 @@ export type PricesInfos = {
28
18
  listPrice: number;
29
19
  installments: Installments;
30
20
  };
31
- export type DescriptionContent = {
32
- label: string;
33
- value: string;
34
- content: string | TrustedHTML;
35
- }[];
36
21
  export type Sizes = {
37
22
  name: string;
38
23
  sku: string;
@@ -41,6 +26,11 @@ export type Sizes = {
41
26
  sellerId: string;
42
27
  sellerName: string;
43
28
  }[];
29
+ export type DescriptionContent = {
30
+ label: string;
31
+ value: string;
32
+ content: string | TrustedHTML;
33
+ }[];
44
34
  export type PDPDataContextProps = {
45
35
  productData: ProductType_PDP;
46
36
  productId: string;
@@ -77,37 +67,6 @@ export type PDPDataContextProps = {
77
67
  size?: string;
78
68
  }) => void;
79
69
  };
80
- export interface SubSectionProps extends PropsWithChildren {
81
- className?: string;
82
- }
83
- export interface GalleryWrapperProps {
84
- productImgs: ImageType[];
85
- PRODUCT_IMAGE_DIMENSIONS: any;
86
- ImageZoom: React.ComponentType<any>;
87
- }
88
- export interface PDPActionsProps {
89
- showWishlist?: boolean;
90
- callBack?: Function;
91
- addToCartBtnSize?: {
92
- mobile: BtnSizes;
93
- desktop: BtnSizes;
94
- };
95
- }
96
- export interface AddToCartProps {
97
- addToCartBtnSize?: {
98
- mobile: BtnSizes;
99
- desktop: BtnSizes;
100
- };
101
- onAddCallBack?: Function;
102
- onDisabledClickCallBack?: Function;
103
- }
104
- export interface BottomNavigationProps {
105
- addToCartBtnSize?: {
106
- mobile: BtnSizes;
107
- desktop: BtnSizes;
108
- };
109
- }
110
- export type BottomNavigationActionsProps = BottomNavigationProps;
111
70
  export interface PDPDataProviderProps extends PropsWithChildren {
112
71
  productData: ProductType_PDP;
113
72
  isKit: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ImageType, ItemType_PDP } from '../../global/product';
2
- import { MAIN_IMAGEType, NAME_SPLIT_SYMBOLType, SECOND_IMAGEType, TEXTURE_IMAGEType } from '../../constants';
2
+ import { MAIN_IMAGEType, NAME_SPLIT_SYMBOLType, PLP_SIZE_ORDERType, SECOND_IMAGEType, TEXTURE_IMAGEType } from '../../constants';
3
3
  import { ProductCardProps } from '../../layout/team-components/ProductCard';
4
4
 
5
5
  export type GetSkuInfosProps = {
@@ -35,3 +35,8 @@ export type GetThumbImageProps = {
35
35
  images: ImageType[];
36
36
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
37
37
  };
38
+ export type OrderSizesProps = {
39
+ items: any[];
40
+ getLabel: (item: any) => string;
41
+ PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
42
+ };
@@ -64,8 +64,9 @@ export type HeaderConfigsType = {
64
64
  home_default_position: HeaderPositionsType;
65
65
  logo_svg?: string;
66
66
  };
67
- export type HeaderContainerProps = {
67
+ export interface HeaderContainerProps {
68
68
  tipBar?: ReactNode;
69
69
  minicartStyleModifiers?: string;
70
- };
70
+ menuV2?: ReactNode;
71
+ }
71
72
  export {};
@@ -1,6 +1,8 @@
1
1
  import { ButtonProps } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
2
2
  import { ImageType } from '../../../global/product';
3
- import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
3
+ import { ButtonHTMLAttributes, Dispatch, HTMLAttributes, PropsWithChildren, ReactNode, RefObject, SetStateAction } from 'react';
4
+ import { ICONSType, PRODUCT_IMAGE_DIMENSIONSType, Z_INDEX_WARType } from '../../../constants';
5
+ import { QuickShopProps } from '../../templates/QuickShop/index';
4
6
 
5
7
  interface CommonProps {
6
8
  images: ImageType[];
@@ -8,30 +10,61 @@ interface CommonProps {
8
10
  onThumbnailClick: (index: number) => void;
9
11
  }
10
12
  export interface ImageDesktopProps extends CommonProps {
13
+ PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
11
14
  }
12
15
  export interface ImageZoomProps extends CommonProps {
13
16
  handleClose: () => void;
14
17
  isDesktopOpen: boolean;
15
18
  isMobileOpen: boolean;
16
19
  }
17
- export interface ImagesThumbsProps extends CommonProps {
20
+ export interface ImageMobileProps {
21
+ imgRef: RefObject<HTMLImageElement>;
22
+ image: ImageZoomMobileProps['images'][0];
23
+ PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
18
24
  }
19
- export interface ImageMobileProps extends HTMLAttributes<HTMLDivElement> {
25
+ export type ImagesThumbsProps = CommonProps;
26
+ export interface ImageZoomMobileProps extends HTMLAttributes<HTMLDivElement> {
20
27
  images: ImageType[];
21
28
  items_per_page?: number;
22
29
  gap?: number;
23
30
  loop?: boolean;
24
31
  direction?: 'horizontal' | 'vertical';
32
+ ICONS: ICONSType;
33
+ PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
25
34
  }
26
35
  export interface MobileWrapperProps extends HTMLAttributes<HTMLDivElement> {
36
+ Z_INDEX_WAR: Z_INDEX_WARType;
27
37
  }
28
38
  export interface ButtonCloseProps extends ButtonProps {
29
39
  onClose: () => void;
30
40
  btnAdornment?: {
31
41
  buttonClosed: ReactNode;
32
42
  };
43
+ ICONS: ICONSType;
33
44
  }
34
45
  export interface ShopBagProps extends ButtonHTMLAttributes<HTMLButtonElement> {
35
46
  skuSelectModal: () => void;
36
47
  }
48
+ export interface ImageZoomRootProps extends Omit<QuickShopProps, 'callBackProductAdded'> {
49
+ images: ImageType[];
50
+ initialSelectedImageIndex?: number;
51
+ setShowImageZoom: Dispatch<SetStateAction<{
52
+ show: boolean;
53
+ initialIndex: number;
54
+ }>>;
55
+ PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
56
+ }
57
+ export type BlurImageProps = {
58
+ image: ImageType;
59
+ };
60
+ export interface WrapperDesktopProps extends PropsWithChildren {
61
+ Z_INDEX_WAR: Z_INDEX_WARType;
62
+ }
63
+ export type CarouselProps = {
64
+ images: ImageZoomMobileProps['images'];
65
+ setCurrent: Dispatch<SetStateAction<number>>;
66
+ setFirstImgLoaded: Dispatch<SetStateAction<boolean>>;
67
+ ICONS: ICONSType;
68
+ PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
69
+ };
37
70
  export {};
@@ -1,4 +1,5 @@
1
1
  import { Dispatch, HTMLAttributes, SetStateAction } from 'react';
2
+ import { ICONSType, NEWSLETTER_CONFIGSType, NOTIFY_INFOType, PRODUCT_CARD_TEXTSType, Z_INDEX_WARType } from '../../../constants';
2
3
 
3
4
  export type SKU = {
4
5
  disable: boolean;
@@ -11,10 +12,13 @@ export interface FormProps extends HTMLAttributes<HTMLDivElement> {
11
12
  setStatus: Dispatch<SetStateAction<boolean | null>>;
12
13
  setIsLoading: Dispatch<SetStateAction<boolean>>;
13
14
  color?: string;
15
+ NEWSLETTER_CONFIGS: NEWSLETTER_CONFIGSType;
16
+ NOTIFY_INFO: NOTIFY_INFOType;
14
17
  }
15
18
  export interface StatusProps {
16
- delay?: number;
17
19
  status: boolean | null;
20
+ ICONS: ICONSType;
21
+ PRODUCT_CARD_TEXTS: PRODUCT_CARD_TEXTSType;
18
22
  }
19
23
  export interface SelectorProps extends HTMLAttributes<HTMLDivElement> {
20
24
  label?: string;
@@ -25,8 +29,24 @@ export interface SelectorProps extends HTMLAttributes<HTMLDivElement> {
25
29
  export interface AvailabilityNotifyProps {
26
30
  open?: boolean;
27
31
  setSku: Dispatch<SetStateAction<SKU | null>>;
28
- setVisible: Dispatch<SetStateAction<boolean>>;
32
+ setVisible: (value: boolean) => void;
29
33
  sku: SKU | null;
30
34
  skus: SKU[];
31
35
  color?: string;
36
+ ICONS: ICONSType;
37
+ NEWSLETTER_CONFIGS: NEWSLETTER_CONFIGSType;
38
+ NOTIFY_INFO: NOTIFY_INFOType;
39
+ PRODUCT_CARD_TEXTS: PRODUCT_CARD_TEXTSType;
40
+ Z_INDEX_WAR: Z_INDEX_WARType;
32
41
  }
42
+ export type ControlProps = {
43
+ isMobile?: boolean;
44
+ ICONS: ICONSType;
45
+ NOTIFY_INFO: NOTIFY_INFOType;
46
+ };
47
+ export type ItemProps = {
48
+ icon: string;
49
+ subtitle: string;
50
+ title: string;
51
+ type: 'success' | 'error';
52
+ };
@@ -0,0 +1,22 @@
1
+ import { PropsWithChildren, ReactElement } from 'react';
2
+
3
+ export type ITableHead = Array<string | ReactElement>;
4
+ export type ITableRows = Array<(string | ReactElement)[]>;
5
+ export interface ITable {
6
+ head: ITableHead;
7
+ rows: ITableRows;
8
+ }
9
+ export type HeadProps = {
10
+ className?: string;
11
+ head: ITableHead;
12
+ };
13
+ export interface RootProps extends PropsWithChildren {
14
+ className?: string;
15
+ }
16
+ export interface CellArea {
17
+ text: string;
18
+ }
19
+ export type RowsProps = {
20
+ className?: string;
21
+ rows: ITableRows;
22
+ };
@@ -1,7 +1,147 @@
1
- import { PRODUCT_IMAGE_DIMENSIONSType, TEXTURE_IMAGEType } from '../../../constants';
1
+ import { BUY_BUTTON_LABELSType, CURRENCYType, DELIVERY_INFO_BOXES_ALLOWEDType, FREIGHT_CALCULATIONType, ICONSType, MEASUREMENTS_SIZESType, NEWSLETTER_CONFIGSType, NOTIFY_INFOType, PDP_INFOType, PLP_SIZE_ORDERType, PRODUCT_CARD_TEXTSType, PRODUCT_IMAGE_DIMENSIONSType, TEXTURE_IMAGEType, TOGGLE_STYLE_MODIFIERType, Z_INDEX_WARType } from '../../../constants';
2
+ import { Sizes as BtnSizes } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
3
+ import { ProductInfoProps } from '@soma-vertical-web/core-components/src/lib/ProductInfo/interfaces';
4
+ import { Dispatch, HTMLAttributes, PropsWithChildren, SetStateAction } from 'react';
5
+ import { ImageType } from '../../../global/product';
6
+ import { SimilarType } from '../../../../types/data/api/catalog/product';
7
+ import { ImageZoomRootProps } from '../../team-components/ImageZoom';
2
8
 
3
- export type GalleryProps = {
4
- TEXTURE_IMAGE: TEXTURE_IMAGEType;
9
+ export type BreadCrumbProps = {
10
+ className?: string;
11
+ ICONS: ICONSType;
12
+ device: 'mobile' | 'desktop';
13
+ };
14
+ export type CreditsProps = {
15
+ className?: string;
16
+ };
17
+ export type SimilarsType = {
18
+ currentSimilarInfo: {
19
+ images: ImageType[];
20
+ color: string[];
21
+ };
22
+ productId: string;
23
+ };
24
+ type SelectedSkuInfoType = {
25
+ productId: string;
26
+ name: string;
27
+ size: string;
28
+ sku: string;
29
+ sellerId: string;
30
+ sellerName: string;
31
+ available: boolean;
32
+ quantity: number;
33
+ };
34
+ export interface PDPContextProps {
35
+ selectedSkuInfo: SelectedSkuInfoType;
36
+ setSelectedSkuInfo: Dispatch<SetStateAction<SelectedSkuInfoType>>;
37
+ openLetMeKnow: boolean;
38
+ setOpenLetMeKnow: Dispatch<SetStateAction<boolean>>;
39
+ showBottomNavigation: boolean;
40
+ setShowBottomNavigation: Dispatch<SetStateAction<boolean>>;
41
+ handleShowNavigation: (show: boolean) => void;
42
+ showNotify: boolean;
43
+ setShowNotify: Dispatch<SetStateAction<boolean>>;
44
+ sizesContainerRef: React.MutableRefObject<HTMLDivElement | null>;
45
+ openMeasurements: boolean;
46
+ setOpenMeasurements: Dispatch<SetStateAction<boolean>>;
47
+ }
48
+ export type PDPPriceProps = ProductInfoProps;
49
+ export type Installments = {
50
+ count: number;
51
+ value: number;
52
+ };
53
+ export type PricesInfos = {
54
+ price: number;
55
+ listPrice: number;
56
+ installments: Installments;
57
+ };
58
+ export interface SubSectionProps extends PropsWithChildren {
59
+ className?: string;
60
+ type: 'product-info' | 'similars' | 'sizes' | 'actions';
61
+ }
62
+ export interface GalleryWrapperProps extends Omit<ImageZoomRootProps, 'images' | 'setShowImageZoom' | 'initialSelectedImageIndex'> {
63
+ productImgs: ImageType[];
5
64
  PRODUCT_IMAGE_DIMENSIONS: PRODUCT_IMAGE_DIMENSIONSType;
6
- ImageZoom: React.ComponentType<any>;
65
+ }
66
+ export type GalleryProps = Omit<GalleryWrapperProps, 'productImgs'>;
67
+ export interface PDPActionsProps {
68
+ showWishlist?: boolean;
69
+ callBack?: Function;
70
+ addToCartBtnSize?: {
71
+ mobile: BtnSizes;
72
+ desktop: BtnSizes;
73
+ };
74
+ BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
75
+ ICONS: ICONSType;
76
+ Z_INDEX_WAR: Z_INDEX_WARType;
77
+ }
78
+ export interface AddToCartProps {
79
+ addToCartBtnSize?: {
80
+ mobile: BtnSizes;
81
+ desktop: BtnSizes;
82
+ };
83
+ onAddCallBack?: Function;
84
+ onDisabledClickCallBack?: Function;
85
+ BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
86
+ }
87
+ export type AddToWishlistProps = {
88
+ ICONS: ICONSType;
89
+ };
90
+ export interface BottomNavigationProps {
91
+ addToCartBtnSize?: {
92
+ mobile: BtnSizes;
93
+ desktop: BtnSizes;
94
+ };
95
+ BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
96
+ Z_INDEX_WAR: Z_INDEX_WARType;
97
+ }
98
+ export type BottomNavigationActionsProps = Omit<BottomNavigationProps, 'Z_INDEX_WAR'>;
99
+ export type PDPLinksProps = {
100
+ ICONS: ICONSType;
101
+ PDP_INFO: PDP_INFOType;
102
+ className?: string;
103
+ hasIcons?: boolean;
104
+ };
105
+ export type DescriptionProps = {
106
+ title: string;
107
+ text: string;
108
+ };
109
+ export type ProductMeasurementsProps = {
110
+ ICONS: ICONSType;
111
+ SIZES: MEASUREMENTS_SIZESType;
112
+ Z_INDEX_WAR: Z_INDEX_WARType;
113
+ };
114
+ export interface PDPSimilarsType extends PropsWithChildren {
115
+ apiUrl: string;
116
+ productId: string;
117
+ ClientItems: React.ComponentType<ItemsProps>;
118
+ PDP_INFO: PDP_INFOType;
119
+ TEXTURE_IMAGE: TEXTURE_IMAGEType;
120
+ TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
121
+ }
122
+ export type ItemsProps = {
123
+ productId: string;
124
+ similars: SimilarType[];
125
+ TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
126
+ };
127
+ export interface ToggleWrapperProps extends PropsWithChildren {
128
+ link: string | null;
129
+ TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
130
+ }
131
+ export type PDPSizesProps = {
132
+ ICONS: ICONSType;
133
+ NEWSLETTER_CONFIGS: NEWSLETTER_CONFIGSType;
134
+ NOTIFY_INFO: NOTIFY_INFOType;
135
+ PDP_INFO: PDP_INFOType;
136
+ PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
137
+ PRODUCT_CARD_TEXTS: PRODUCT_CARD_TEXTSType;
138
+ Z_INDEX_WAR: Z_INDEX_WARType;
139
+ };
140
+ export type FreightProps = {
141
+ CURRENCY: CURRENCYType;
142
+ DELIVERY_INFO_BOXES_ALLOWED: DELIVERY_INFO_BOXES_ALLOWEDType;
143
+ FREIGHT_CALCULATION: FREIGHT_CALCULATIONType;
144
+ Z_INDEX_WAR: Z_INDEX_WARType;
7
145
  };
146
+ export type PDPCommonContainerProps = HTMLAttributes<HTMLDivElement>;
147
+ export {};
@@ -0,0 +1,21 @@
1
+ import { BUY_BUTTON_LABELSType, ICONSType, QUICKSHOPType, TEXTURE_IMAGEType, TOGGLE_STYLE_MODIFIERType } from '../../../constants';
2
+ import { PDPSizesProps } from '../PDP';
3
+
4
+ export type SimilarsProps = {
5
+ TEXTURE_IMAGE: TEXTURE_IMAGEType;
6
+ TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
7
+ };
8
+ export interface BodyProps extends PDPSizesProps, SimilarsProps {
9
+ callBackProductAdded?: Function;
10
+ BUY_BUTTON_LABELS: BUY_BUTTON_LABELSType;
11
+ }
12
+ export interface QuickShopProps extends BodyProps {
13
+ QUICKSHOP: QUICKSHOPType;
14
+ TEXTURE_IMAGE: TEXTURE_IMAGEType;
15
+ TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
16
+ }
17
+ export interface QuickShopHeaderProps {
18
+ headerTitle: string;
19
+ isMobile?: boolean;
20
+ ICONS: ICONSType;
21
+ }