@soma-vertical-web/multi-lib 1.0.20 → 1.0.21
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/contexts/contexts/Session.d.ts +1 -1
- package/contexts/index.d.ts +1 -1
- package/data/api/checkout/order-form/shipping/update/index.d.ts +2 -2
- package/data/api/user/index.d.ts +3 -0
- package/index-BhiCzrut.mjs +2255 -0
- package/index-DZ1MbO8M.js +4 -0
- package/index.js +16 -16
- package/index.mjs +8350 -8397
- package/index2.js +8 -1
- package/index2.mjs +2341 -1139
- package/layout/index.d.ts +3 -1
- package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
- package/layout/template/PDC/index.d.ts +1 -1
- package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +1 -1
- package/layout/template/PDP/index.d.ts +2 -2
- package/layout/template/TrackingRouteWatcher/index.d.ts +5 -0
- package/package.json +1 -1
- package/server.d.ts +5 -1
- package/style.css +1 -1
- package/types/cms/Sections/SectionZone/index.d.ts +0 -1
- package/types/contexts/contexts/plp.d.ts +0 -1
- package/types/contexts/contexts/session.d.ts +1 -0
- package/types/contexts/hooks/index.d.ts +0 -12
- package/types/layout/team-components/ProductCard/index.d.ts +0 -1
- package/types/layout/team-components/ProductList/index.d.ts +1 -2
- package/types/layout/templates/PDP/index.d.ts +2 -1
- package/types/layout/templates/PLP/index.d.ts +0 -1
|
@@ -95,6 +95,5 @@ export interface PLPConstantsProviderProps extends PropsWithChildren {
|
|
|
95
95
|
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
96
96
|
StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
|
|
97
97
|
searchParams: URLSearchParams;
|
|
98
|
-
storeId: StoreConfigType['api']['storeId'];
|
|
99
98
|
}
|
|
100
99
|
export type PLPConstantsContextProps = Omit<PLPConstantsProviderProps, 'children'>;
|
|
@@ -17,15 +17,3 @@ export type UseScrollRestorationInfiniteProps = {
|
|
|
17
17
|
load: boolean;
|
|
18
18
|
PLP_GRID_SCROLL_BACK: PLP_GRID_SCROLL_BACKType;
|
|
19
19
|
};
|
|
20
|
-
export type SimilarItem = any;
|
|
21
|
-
export type SimilarCallback = (data: SimilarItem[]) => void;
|
|
22
|
-
export type SimilarsOptions = {
|
|
23
|
-
filterTexture?: string[];
|
|
24
|
-
storeId: string;
|
|
25
|
-
};
|
|
26
|
-
export type PendingRequest = {
|
|
27
|
-
productId: string;
|
|
28
|
-
callbacks: SimilarCallback[];
|
|
29
|
-
filterTexture?: string[];
|
|
30
|
-
storeId: string;
|
|
31
|
-
};
|
|
@@ -33,7 +33,6 @@ export interface RootProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
33
33
|
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
34
34
|
StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
|
|
35
35
|
ICONS: ICONSType;
|
|
36
|
-
storeId: StoreConfigType['api']['storeId'];
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
38
|
export type Sizes = (typeof SizesExtended)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, MutableRefObject } from 'react';
|
|
2
|
-
import { PLP_INFINITE_SCROLLType, PLP_PRODUCT_SIMILAR_DELAYType, PLP_SIZE_ORDERType, PRODUCT_CARD_IMAGE_ASPECT_RATIOType,
|
|
2
|
+
import { PLP_INFINITE_SCROLLType, PLP_PRODUCT_SIMILAR_DELAYType, PLP_SIZE_ORDERType, PRODUCT_CARD_IMAGE_ASPECT_RATIOType, TEXTURE_IMAGEType } from '../../../constants';
|
|
3
3
|
import { HasVariant, ProductType_PDC } from '../../../global/product';
|
|
4
4
|
import { ProductCardProps, RootProps as ProductCard_RootProps } from '../ProductCard';
|
|
5
5
|
import { TagCommercialConsumer } from '../../../cms/ContentTypes/FlagsAndTags';
|
|
@@ -49,6 +49,5 @@ export interface CardProps {
|
|
|
49
49
|
PLP_PRODUCT_SIMILAR_DELAY: PLP_PRODUCT_SIMILAR_DELAYType;
|
|
50
50
|
PLP_SIZE_ORDER: PLP_SIZE_ORDERType;
|
|
51
51
|
TEXTURE_IMAGE?: TEXTURE_IMAGEType;
|
|
52
|
-
storeId: StoreConfigType['api']['storeId'];
|
|
53
52
|
};
|
|
54
53
|
}
|
|
@@ -114,8 +114,9 @@ export type ProductMeasurementsProps = {
|
|
|
114
114
|
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
115
115
|
};
|
|
116
116
|
export interface PDPSimilarsType extends PropsWithChildren {
|
|
117
|
-
|
|
117
|
+
apiUrl: string;
|
|
118
118
|
productId: string;
|
|
119
|
+
ClientItems: React.ComponentType<ItemsProps>;
|
|
119
120
|
PDP_INFO: PDP_INFOType;
|
|
120
121
|
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
121
122
|
TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
|
|
@@ -113,7 +113,6 @@ export interface ProductsProps {
|
|
|
113
113
|
StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
|
|
114
114
|
TEXTURE_IMAGE: TEXTURE_IMAGEType;
|
|
115
115
|
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
116
|
-
storeId: StoreConfigType['api']['storeId'];
|
|
117
116
|
}
|
|
118
117
|
export interface PLPRootProps extends PLPConstantsContextProps {
|
|
119
118
|
className?: string;
|