@soma-vertical-web/multi-lib 0.0.67 → 0.0.69
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/cms/Sections/ProductCarousel/Composite/CommonShelf.d.ts +1 -1
- package/cms/Sections/ProductCarousel/Composite/RecommendationShelf.d.ts +1 -1
- package/cms/Sections/ProductCarousel/ProductCarousel.d.ts +2 -2
- package/cms/index.d.ts +2 -2
- package/index.js +19 -19
- package/index.mjs +6104 -5878
- package/layout/index.d.ts +28 -5
- package/layout/team-component/BuyPackage/BuyPackage.d.ts +1 -1
- package/layout/team-component/ProductCard/Composite/Root.d.ts +1 -1
- package/layout/team-component/ProductCard/ProductCard.d.ts +1 -1
- package/layout/team-component/ProductList/Composite/Card/Card.d.ts +1 -1
- package/layout/team-component/ProductList/ProductList.d.ts +1 -1
- package/layout/template/PDC/Composite/Empty/Empty.d.ts +1 -1
- package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
- package/layout/template/PDC/index.d.ts +2 -2
- package/layout/template/WishList/Composite/Feedback.d.ts +11 -0
- package/layout/template/WishList/Composite/Grid.d.ts +7 -0
- package/layout/template/WishList/Composite/Init.d.ts +11 -0
- package/layout/template/WishList/Composite/Toggle.d.ts +7 -0
- package/layout/template/WishList/WishList.d.ts +26 -0
- package/layout/template/WishList/helpers.d.ts +12 -0
- package/layout/template/WishList/index.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/Sections/ProductCarousel/index.d.ts +0 -3
- package/types/cms/Sections/SectionZone/intex.d.ts +1 -1
- package/types/constants.d.ts +12 -0
- package/types/contexts/contexts/plp.d.ts +0 -1
- package/types/layout/team-components/BuyPackage/index.d.ts +0 -1
- package/types/layout/team-components/ProductCard/index.d.ts +3 -3
- package/types/layout/team-components/ProductList/index.d.ts +0 -1
- package/types/layout/templates/PLP/index.d.ts +5 -10
- package/types/layout/templates/Wishlist/index.d.ts +21 -0
- package/types/layout/utils/index.d.ts +1 -1
package/layout/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export declare const layout: {
|
|
|
60
60
|
displayName: string;
|
|
61
61
|
};
|
|
62
62
|
Root: {
|
|
63
|
-
({ children, className, index, isMobile, item, size, order, outStock, shelfTitle, CONSTANTS,
|
|
63
|
+
({ children, className, index, isMobile, item, size, order, outStock, shelfTitle, CONSTANTS, ...props }: import('../types/layout/team-components/ProductCard').RootProps): import("react/jsx-runtime").JSX.Element;
|
|
64
64
|
displayName: string;
|
|
65
65
|
};
|
|
66
66
|
OutStock: {
|
|
@@ -98,7 +98,7 @@ export declare const layout: {
|
|
|
98
98
|
displayName: string;
|
|
99
99
|
};
|
|
100
100
|
Card: {
|
|
101
|
-
({ className, children, gap, item, isMobile, order, tag, hasMaxWidth, index, setSkuSelected, showVideo, CONSTANTS,
|
|
101
|
+
({ className, children, gap, item, isMobile, order, tag, hasMaxWidth, index, setSkuSelected, showVideo, CONSTANTS, ...props }: import('../types/layout/team-components/ProductList').ProductListCardProps): import("react/jsx-runtime").JSX.Element;
|
|
102
102
|
displayName: string;
|
|
103
103
|
};
|
|
104
104
|
Root: {
|
|
@@ -148,7 +148,7 @@ export declare const layout: {
|
|
|
148
148
|
};
|
|
149
149
|
BackToTop: ({ children, className, adornment, iconPosition, scrollToOptions, style, ...props }: import('../types/layout/team-components/BackToTop').BackToTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
150
150
|
HelpButton: ({ className, data, ICONS, ...props }: import('../types/layout/team-components/HelpButton').HelpButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
151
|
-
BuyPackage: ({ CONSTANTS, inView, products, innerRef,
|
|
151
|
+
BuyPackage: ({ CONSTANTS, inView, products, innerRef, }: import('../types/layout/team-components/BuyPackage').BuyPackageProps) => import("react/jsx-runtime").JSX.Element;
|
|
152
152
|
Filter: {
|
|
153
153
|
helpers: typeof FilterHelpers;
|
|
154
154
|
Colors: {
|
|
@@ -256,7 +256,7 @@ export declare const layout: {
|
|
|
256
256
|
};
|
|
257
257
|
pdc_composites: {
|
|
258
258
|
Empty: {
|
|
259
|
-
({ className,
|
|
259
|
+
({ className, ICONS, PLP_NOT_RESULT }: import('../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
260
260
|
displayName: string;
|
|
261
261
|
};
|
|
262
262
|
Filters: {
|
|
@@ -288,7 +288,7 @@ export declare const layout: {
|
|
|
288
288
|
displayName: string;
|
|
289
289
|
};
|
|
290
290
|
Products: {
|
|
291
|
-
({ isMobile, items, BUY_BUTTON_LABELS, ICONS, MAIN_IMAGE, NEWSLETTER_CONFIGS, NOTIFY_INFO, PLP_GRID_SCROLL_BACK, PLP_INFINITE_SCROLL, PLP_PRODUCT_SIMILAR_DELAY, PLP_SHOW_VIDEO_ON_PRODUCT_CARD, PRODUCT_CARD_IMAGE_ASPECT_RATIO, PRODUCT_CARD_TEXTS, PRODUCT_CARD_TOP_WISHLIST_TOGGLE, PRODUCT_IMAGE_DIMENSIONS, SECOND_IMAGE, StoreConfig_MainSellerId, TEXTURE_IMAGE, Z_INDEX_WAR,
|
|
291
|
+
({ isMobile, items, BUY_BUTTON_LABELS, ICONS, MAIN_IMAGE, NEWSLETTER_CONFIGS, NOTIFY_INFO, PLP_GRID_SCROLL_BACK, PLP_INFINITE_SCROLL, PLP_PRODUCT_SIMILAR_DELAY, PLP_SHOW_VIDEO_ON_PRODUCT_CARD, PRODUCT_CARD_IMAGE_ASPECT_RATIO, PRODUCT_CARD_TEXTS, PRODUCT_CARD_TOP_WISHLIST_TOGGLE, PRODUCT_IMAGE_DIMENSIONS, SECOND_IMAGE, StoreConfig_MainSellerId, TEXTURE_IMAGE, Z_INDEX_WAR, }: import('../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
292
292
|
displayName: string;
|
|
293
293
|
};
|
|
294
294
|
};
|
|
@@ -297,6 +297,29 @@ export declare const layout: {
|
|
|
297
297
|
({ className, searchParams, CONSTANTS }: import('../types/layout/templates/SearchResult').SearchProps): import("react/jsx-runtime").JSX.Element;
|
|
298
298
|
displayName: string;
|
|
299
299
|
};
|
|
300
|
+
wishList: {
|
|
301
|
+
Feedback: {
|
|
302
|
+
({ WISHLIST_INFO, ICONS, Z_INDEX_WAR, }: {
|
|
303
|
+
WISHLIST_INFO: import('../types/constants').WISHLIST_INFOType;
|
|
304
|
+
ICONS: import('../types/constants').ICONSType;
|
|
305
|
+
Z_INDEX_WAR: import('../types/constants').Z_INDEX_WARType;
|
|
306
|
+
}): false | import("react/jsx-runtime").JSX.Element;
|
|
307
|
+
displayName: string;
|
|
308
|
+
};
|
|
309
|
+
Toggle: {
|
|
310
|
+
({ product, priceInfo, size, style, ICONS, }: import('../types/layout/templates/Wishlist').ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
311
|
+
displayName: string;
|
|
312
|
+
};
|
|
313
|
+
Grid: typeof import('./template/WishList/Composite/Grid').default;
|
|
314
|
+
Init: {
|
|
315
|
+
({ WISHLIST_INFO, ICONS, Z_INDEX_WAR, }: {
|
|
316
|
+
WISHLIST_INFO: import('../types/constants').WISHLIST_INFOType;
|
|
317
|
+
ICONS: import('../types/constants').ICONSType;
|
|
318
|
+
Z_INDEX_WAR: import('../types/constants').Z_INDEX_WARType;
|
|
319
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
320
|
+
displayName: string;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
300
323
|
};
|
|
301
324
|
utils: {
|
|
302
325
|
EventCollector: ({ page, data }: import('react').PropsWithChildren & import('../types/data/events').CollectorProps) => null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BuyPackageProps } from '../../../types/layout/team-components/BuyPackage';
|
|
2
2
|
|
|
3
|
-
declare const BuyPackage: ({ CONSTANTS, inView, products, innerRef,
|
|
3
|
+
declare const BuyPackage: ({ CONSTANTS, inView, products, innerRef, }: BuyPackageProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default BuyPackage;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProps } from '../../../../types/layout/team-components/ProductCard';
|
|
2
2
|
|
|
3
3
|
declare const Root: {
|
|
4
|
-
({ children, className, index, isMobile, item, size, order, outStock, shelfTitle, CONSTANTS,
|
|
4
|
+
({ children, className, index, isMobile, item, size, order, outStock, shelfTitle, CONSTANTS, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Root;
|
|
@@ -16,7 +16,7 @@ declare const ProductCard: {
|
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
Root: {
|
|
19
|
-
({ children, className, index, isMobile, item, size, order, outStock, shelfTitle, CONSTANTS,
|
|
19
|
+
({ children, className, index, isMobile, item, size, order, outStock, shelfTitle, CONSTANTS, ...props }: import('../../../types/layout/team-components/ProductCard').RootProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
OutStock: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductListCardProps } from '../../../../../types/layout/team-components/ProductList';
|
|
2
2
|
|
|
3
3
|
declare const Card: {
|
|
4
|
-
({ className, children, gap, item, isMobile, order, tag, hasMaxWidth, index, setSkuSelected, showVideo, CONSTANTS,
|
|
4
|
+
({ className, children, gap, item, isMobile, order, tag, hasMaxWidth, index, setSkuSelected, showVideo, CONSTANTS, ...props }: ProductListCardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Card;
|
|
@@ -5,7 +5,7 @@ declare const ProductList: {
|
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
Card: {
|
|
8
|
-
({ className, children, gap, item, isMobile, order, tag, hasMaxWidth, index, setSkuSelected, showVideo, CONSTANTS,
|
|
8
|
+
({ className, children, gap, item, isMobile, order, tag, hasMaxWidth, index, setSkuSelected, showVideo, CONSTANTS, ...props }: import('../../../types/layout/team-components/ProductList').ProductListCardProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Root: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Empty: {
|
|
4
|
-
({ className,
|
|
4
|
+
({ className, ICONS, PLP_NOT_RESULT }: EmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Empty;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductsProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Products: {
|
|
4
|
-
({ isMobile, items, BUY_BUTTON_LABELS, ICONS, MAIN_IMAGE, NEWSLETTER_CONFIGS, NOTIFY_INFO, PLP_GRID_SCROLL_BACK, PLP_INFINITE_SCROLL, PLP_PRODUCT_SIMILAR_DELAY, PLP_SHOW_VIDEO_ON_PRODUCT_CARD, PRODUCT_CARD_IMAGE_ASPECT_RATIO, PRODUCT_CARD_TEXTS, PRODUCT_CARD_TOP_WISHLIST_TOGGLE, PRODUCT_IMAGE_DIMENSIONS, SECOND_IMAGE, StoreConfig_MainSellerId, TEXTURE_IMAGE, Z_INDEX_WAR,
|
|
4
|
+
({ isMobile, items, BUY_BUTTON_LABELS, ICONS, MAIN_IMAGE, NEWSLETTER_CONFIGS, NOTIFY_INFO, PLP_GRID_SCROLL_BACK, PLP_INFINITE_SCROLL, PLP_PRODUCT_SIMILAR_DELAY, PLP_SHOW_VIDEO_ON_PRODUCT_CARD, PRODUCT_CARD_IMAGE_ASPECT_RATIO, PRODUCT_CARD_TEXTS, PRODUCT_CARD_TOP_WISHLIST_TOGGLE, PRODUCT_IMAGE_DIMENSIONS, SECOND_IMAGE, StoreConfig_MainSellerId, TEXTURE_IMAGE, Z_INDEX_WAR, }: ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Products;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const PDC: {
|
|
2
2
|
Empty: {
|
|
3
|
-
({ className,
|
|
3
|
+
({ className, ICONS, PLP_NOT_RESULT }: import('../../../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
Filters: {
|
|
@@ -32,7 +32,7 @@ declare const PDC: {
|
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
Products: {
|
|
35
|
-
({ isMobile, items, BUY_BUTTON_LABELS, ICONS, MAIN_IMAGE, NEWSLETTER_CONFIGS, NOTIFY_INFO, PLP_GRID_SCROLL_BACK, PLP_INFINITE_SCROLL, PLP_PRODUCT_SIMILAR_DELAY, PLP_SHOW_VIDEO_ON_PRODUCT_CARD, PRODUCT_CARD_IMAGE_ASPECT_RATIO, PRODUCT_CARD_TEXTS, PRODUCT_CARD_TOP_WISHLIST_TOGGLE, PRODUCT_IMAGE_DIMENSIONS, SECOND_IMAGE, StoreConfig_MainSellerId, TEXTURE_IMAGE, Z_INDEX_WAR,
|
|
35
|
+
({ isMobile, items, BUY_BUTTON_LABELS, ICONS, MAIN_IMAGE, NEWSLETTER_CONFIGS, NOTIFY_INFO, PLP_GRID_SCROLL_BACK, PLP_INFINITE_SCROLL, PLP_PRODUCT_SIMILAR_DELAY, PLP_SHOW_VIDEO_ON_PRODUCT_CARD, PRODUCT_CARD_IMAGE_ASPECT_RATIO, PRODUCT_CARD_TEXTS, PRODUCT_CARD_TOP_WISHLIST_TOGGLE, PRODUCT_IMAGE_DIMENSIONS, SECOND_IMAGE, StoreConfig_MainSellerId, TEXTURE_IMAGE, Z_INDEX_WAR, }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ICONSType, WISHLIST_INFOType, Z_INDEX_WARType } from '../../../../types/constants';
|
|
2
|
+
|
|
3
|
+
declare const Feedback: {
|
|
4
|
+
({ WISHLIST_INFO, ICONS, Z_INDEX_WAR, }: {
|
|
5
|
+
WISHLIST_INFO: WISHLIST_INFOType;
|
|
6
|
+
ICONS: ICONSType;
|
|
7
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
8
|
+
}): false | import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export default Feedback;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WishListGridProps } from '../../../../types/layout/templates/Wishlist';
|
|
2
|
+
|
|
3
|
+
declare function WishListGrid({ CONSTANTS }: WishListGridProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare namespace WishListGrid {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default WishListGrid;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WISHLIST_INFOType, ICONSType, Z_INDEX_WARType } from '../../../../types/constants';
|
|
2
|
+
|
|
3
|
+
declare const WishListInit: {
|
|
4
|
+
({ WISHLIST_INFO, ICONS, Z_INDEX_WAR, }: {
|
|
5
|
+
WISHLIST_INFO: WISHLIST_INFOType;
|
|
6
|
+
ICONS: ICONSType;
|
|
7
|
+
Z_INDEX_WAR: Z_INDEX_WARType;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export default WishListInit;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as Grid } from './Composite/Grid';
|
|
2
|
+
|
|
3
|
+
declare const WishList: {
|
|
4
|
+
Feedback: {
|
|
5
|
+
({ WISHLIST_INFO, ICONS, Z_INDEX_WAR, }: {
|
|
6
|
+
WISHLIST_INFO: import('../../../types/constants').WISHLIST_INFOType;
|
|
7
|
+
ICONS: import('../../../types/constants').ICONSType;
|
|
8
|
+
Z_INDEX_WAR: import('../../../types/constants').Z_INDEX_WARType;
|
|
9
|
+
}): false | import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
Toggle: {
|
|
13
|
+
({ product, priceInfo, size, style, ICONS, }: import('../../../types/layout/templates/Wishlist').ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
Grid: typeof Grid;
|
|
17
|
+
Init: {
|
|
18
|
+
({ WISHLIST_INFO, ICONS, Z_INDEX_WAR, }: {
|
|
19
|
+
WISHLIST_INFO: import('../../../types/constants').WISHLIST_INFOType;
|
|
20
|
+
ICONS: import('../../../types/constants').ICONSType;
|
|
21
|
+
Z_INDEX_WAR: import('../../../types/constants').Z_INDEX_WARType;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default WishList;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ProductType_PDC } from '../../../types/global/product';
|
|
2
|
+
|
|
3
|
+
export declare const getPosition: (tooltip: HTMLElement, target: HTMLElement, gap: number) => {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const getReversedProducts: <T>(products: T[], itemsToShow: number) => T[];
|
|
8
|
+
export declare const getPriceInfo: (product: ProductType_PDC) => {
|
|
9
|
+
price: number;
|
|
10
|
+
listPrice: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const extractProductId: (product: any[]) => any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './WishList';
|