@soma-vertical-web/multi-lib 1.0.33 → 1.0.34

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 (77) hide show
  1. package/cms/ContentTypes/Search/SearchContent.d.ts +1 -1
  2. package/cms/Sections/ProductCarousel/request.d.ts +4 -0
  3. package/cms/index.d.ts +1 -1
  4. package/contexts/contexts/GlobalContext.d.ts +1 -1
  5. package/contexts/contexts/plp/FilterContext.d.ts +1 -1
  6. package/contexts/contexts/plp/PLPContext.d.ts +1 -1
  7. package/contexts/contexts/plp/PLPInfiniteContext.tsx.d.ts +1 -1
  8. package/contexts/contexts/search/QueryFacets.d.ts +1 -1
  9. package/contexts/contexts/search/QueryProducts.d.ts +1 -1
  10. package/contexts/contexts/search/Search.d.ts +1 -1
  11. package/contexts/contexts/search/TopSearches.d.ts +1 -1
  12. package/contexts/hooks/useOperations.d.ts +1 -1
  13. package/contexts/hooks/useScrollRestorationInfinite.d.ts +1 -1
  14. package/contexts/index.d.ts +5 -17
  15. package/contexts/store/plp.d.ts +2 -2
  16. package/data/api/cms/content-type/index.d.ts +1 -1
  17. package/data/api/user/index.d.ts +2 -2
  18. package/data/helpers/plp/index.d.ts +6 -14
  19. package/data/helpers/search/facets.d.ts +1 -0
  20. package/data/helpers/search/index.d.ts +4 -0
  21. package/data/helpers/search/product/index.d.ts +13 -1
  22. package/data/helpers/search/search.d.ts +1 -0
  23. package/data/index.d.ts +7 -6
  24. package/index-AgO_aUeQ.mjs +2371 -0
  25. package/index-D0PGMDh5.js +4 -0
  26. package/index.js +17 -17
  27. package/index.mjs +11329 -8960
  28. package/index2.js +2 -2
  29. package/index2.mjs +268 -277
  30. package/layout/index.d.ts +9 -9
  31. package/layout/team-component/AddToCart/AddToCart.d.ts +1 -1
  32. package/layout/team-component/AddToCart/Composite/Card/Card.d.ts +1 -1
  33. package/layout/team-component/AddToCart/Composite/Card/Content.d.ts +1 -1
  34. package/layout/team-component/AddToCart/Composite/Card/StyleSize.d.ts +1 -1
  35. package/layout/template/MiniCart/Composite/Card/Card.d.ts +1 -1
  36. package/layout/template/MiniCart/Composite/Card/Composite/Sku.d.ts +1 -1
  37. package/layout/template/MiniCart/Composite/Card/Composite/Style.d.ts +1 -1
  38. package/layout/template/MiniCart/Composite/Card/index.d.ts +2 -2
  39. package/layout/template/MiniCart/Composite/Modal/Body/Body.d.ts +1 -1
  40. package/layout/template/MiniCart/MiniCart.d.ts +1 -1
  41. package/layout/template/MiniCart/index.d.ts +2 -2
  42. package/layout/template/PDC/Composite/Grid/Grid.d.ts +1 -1
  43. package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +1 -1
  44. package/layout/template/PDC/Composite/InfiniteScroller/Filters/Filters.d.ts +2 -6
  45. package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +3 -1
  46. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Card.d.ts +1 -1
  47. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Loader.d.ts +1 -1
  48. package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/NextPage.d.ts +4 -1
  49. package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +2 -2
  50. package/layout/template/PDC/Composite/InfiniteScroller/Page/index.d.ts +10 -3
  51. package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +1 -1
  52. package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
  53. package/layout/template/PDC/PDC.d.ts +1 -1
  54. package/layout/template/PDC/index.d.ts +4 -4
  55. package/layout/template/QuickShop/Composite/Body.d.ts +1 -1
  56. package/layout/template/QuickShop/Composite/Similars.d.ts +1 -1
  57. package/layout/template/SearchModal/SearchModal.d.ts +1 -1
  58. package/layout/template/SearchResult/SearchContent.d.ts +1 -1
  59. package/layout/template/SearchResult/SearchResult.d.ts +1 -1
  60. package/package.json +1 -1
  61. package/server.d.ts +4 -0
  62. package/style.css +1 -1
  63. package/types/cms/Sections/SectionZone/index.d.ts +1 -0
  64. package/types/contexts/contexts/global.d.ts +0 -1
  65. package/types/contexts/contexts/plp.d.ts +65 -22
  66. package/types/contexts/contexts/search.d.ts +37 -30
  67. package/types/contexts/hooks/index.d.ts +3 -3
  68. package/types/layout/team-components/AddToCart/index.d.ts +5 -1
  69. package/types/layout/team-components/HelpButton/index.d.ts +4 -2
  70. package/types/layout/team-components/PLPNavigation/index.d.ts +0 -2
  71. package/types/layout/team-components/ProductCard/index.d.ts +1 -0
  72. package/types/layout/team-components/ProductList/index.d.ts +2 -1
  73. package/types/layout/templates/MiniCart/index.d.ts +2 -0
  74. package/types/layout/templates/PLP/index.d.ts +21 -4
  75. package/types/layout/templates/QuickShop/index.d.ts +2 -1
  76. package/types/layout/templates/SearchModal/index.d.ts +2 -1
  77. package/types/layout/templates/SearchResult/index.d.ts +3 -0
package/layout/index.d.ts CHANGED
@@ -218,11 +218,11 @@ export declare const layout: {
218
218
  template: {
219
219
  minicart: {
220
220
  Body: {
221
- ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, }: import('../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
221
+ ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, storeId }: import('../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
222
222
  displayName: string;
223
223
  };
224
224
  Card: {
225
- ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
225
+ ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, storeId, }: import('../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
226
226
  displayName: string;
227
227
  };
228
228
  Cashback: {
@@ -267,7 +267,7 @@ export declare const layout: {
267
267
  };
268
268
  };
269
269
  pdc: {
270
- ({ className, ...props }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
270
+ ({ className, storeId }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
271
271
  displayName: string;
272
272
  };
273
273
  pdc_composites: {
@@ -280,11 +280,11 @@ export declare const layout: {
280
280
  displayName: string;
281
281
  };
282
282
  Grid: {
283
- ({ infinite }: import('../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
283
+ ({ infinite, storeId }: import('../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
284
284
  displayName: string;
285
285
  };
286
286
  InfiniteScroller: {
287
- (): import("react/jsx-runtime").JSX.Element;
287
+ ({ storeId }: import('../types/layout/templates/PLP').GridInfiniteProps): import("react/jsx-runtime").JSX.Element;
288
288
  displayName: string;
289
289
  };
290
290
  Spinner: {
@@ -300,17 +300,17 @@ export declare const layout: {
300
300
  displayName: string;
301
301
  };
302
302
  Pagination: {
303
- ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element;
303
+ ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element | null;
304
304
  displayName: string;
305
305
  };
306
306
  Products: {
307
- ({ 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, PLP_SIZE_ORDER, 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;
307
+ ({ 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, PLP_SIZE_ORDER, 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, storeId, }: import('../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
308
308
  displayName: string;
309
309
  };
310
310
  };
311
311
  pdp: typeof pdp;
312
312
  searchResult: {
313
- ({ className, searchParams, CONSTANTS }: import('../types/layout/templates/SearchResult').SearchProps): import("react/jsx-runtime").JSX.Element;
313
+ ({ className, searchParams, storeId, CONSTANTS }: import('../types/layout/templates/SearchResult').SearchProps): import("react/jsx-runtime").JSX.Element;
314
314
  displayName: string;
315
315
  };
316
316
  wishList: {
@@ -338,7 +338,7 @@ export declare const layout: {
338
338
  };
339
339
  LPCadastro: typeof LPCadastro;
340
340
  SearchModal: {
341
- ({ className, trends, CONSTANTS, SectionZone, }: import('../types/layout/templates/SearchModal').SearchModalProps): import("react/jsx-runtime").JSX.Element;
341
+ ({ className, trends, CONSTANTS, SectionZone }: import('../types/layout/templates/SearchModal').SearchModalProps): import("react/jsx-runtime").JSX.Element;
342
342
  displayName: string;
343
343
  };
344
344
  LPStores: {
@@ -1,6 +1,6 @@
1
1
  declare const AddToCart: {
2
2
  Card: {
3
- ({ className, item, texture, thumbnail, ...props }: import('../../../types/layout/team-components/AddToCart').CardProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ className, item, texture, thumbnail, storeId, ...props }: import('../../../types/layout/team-components/AddToCart').CardProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  Content: {
@@ -1,7 +1,7 @@
1
1
  import { CardProps } from '../../../../../types/layout/team-components/AddToCart';
2
2
 
3
3
  declare const Card: {
4
- ({ className, item, texture, thumbnail, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, item, texture, thumbnail, storeId, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Card;
@@ -1,7 +1,7 @@
1
1
  import { CardContentProps } from '../../../../../types/layout/team-components/AddToCart';
2
2
 
3
3
  declare const Content: {
4
- ({ className, item, texture, ...props }: CardContentProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, item, texture, storeId, ...props }: CardContentProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Content;
@@ -1,7 +1,7 @@
1
1
  import { StyleSizeProps } from '../../../../../types/layout/team-components/AddToCart';
2
2
 
3
3
  declare const StyleSize: {
4
- ({ className, productGroupID, size, texture, ...props }: StyleSizeProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, productGroupID, size, texture, storeId, ...props }: StyleSizeProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default StyleSize;
@@ -1,7 +1,7 @@
1
1
  import { CardProps } from '../../../../../types/layout/templates/MiniCart/index';
2
2
 
3
3
  declare const Card: {
4
- ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: CardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, storeId, }: CardProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Card;
@@ -1,7 +1,7 @@
1
1
  import { SkuCardProps } from '../../../../../../types/layout/templates/MiniCart';
2
2
 
3
3
  declare const Sku: {
4
- ({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: SkuCardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, storeId, }: SkuCardProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Sku;
@@ -1,7 +1,7 @@
1
1
  import { StyleCardProps } from '../../../../../../types/layout/templates/MiniCart';
2
2
 
3
3
  declare const Style: {
4
- ({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: StyleCardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, storeId, }: StyleCardProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Style;
@@ -30,7 +30,7 @@ declare const Card: {
30
30
  displayName: string;
31
31
  };
32
32
  Sku: {
33
- ({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../../../../../types/layout/templates/MiniCart').SkuCardProps): import("react/jsx-runtime").JSX.Element;
33
+ ({ product, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, storeId, }: import('../../../../../types/layout/templates/MiniCart').SkuCardProps): import("react/jsx-runtime").JSX.Element;
34
34
  displayName: string;
35
35
  };
36
36
  Stepper: {
@@ -38,7 +38,7 @@ declare const Card: {
38
38
  displayName: string;
39
39
  };
40
40
  Style: {
41
- ({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../../../../../types/layout/templates/MiniCart').StyleCardProps): import("react/jsx-runtime").JSX.Element;
41
+ ({ product, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, storeId, }: import('../../../../../types/layout/templates/MiniCart').StyleCardProps): import("react/jsx-runtime").JSX.Element;
42
42
  displayName: string;
43
43
  };
44
44
  };
@@ -1,7 +1,7 @@
1
1
  import { ModalBodyProps } from '../../../../../../types/layout/templates/MiniCart';
2
2
 
3
3
  declare const Body: {
4
- ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, }: ModalBodyProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, storeId }: ModalBodyProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Body;
@@ -1,4 +1,4 @@
1
1
  import { MiniCartProps } from '../../../types/layout/templates/MiniCart';
2
2
 
3
- declare const MiniCart: ({ ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, Z_INDEX_WAR, storeConfig, minicartStyleModifiers, }: MiniCartProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MiniCart: ({ ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, Z_INDEX_WAR, storeConfig, minicartStyleModifiers }: MiniCartProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MiniCart;
@@ -1,10 +1,10 @@
1
1
  declare const MiniCart: {
2
2
  Body: {
3
- ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, }: import('../../../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, storeId }: import('../../../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  Card: {
7
- ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../../../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
7
+ ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, storeId, }: import('../../../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  Cashback: {
@@ -1,7 +1,7 @@
1
1
  import { GridProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Grid: {
4
- ({ infinite }: GridProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ infinite, storeId }: GridProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Grid;
@@ -1,7 +1,7 @@
1
1
  import { InfiniteBannersProps } from '../../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Banners: {
4
- ({ columns, count, gap, className }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
4
+ ({ columns, gap, className }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
5
5
  displayName: string;
6
6
  };
7
7
  export default Banners;
@@ -1,11 +1,7 @@
1
- import { State } from '../../../../../../types/data/api/search';
2
- import { PLP_SORT_DEFAULTType } from '../../../../../../types/constants';
1
+ import { FiltersProps } from '../../../../../../types/layout/templates/PLP';
3
2
 
4
3
  declare const Filters: {
5
- ({ sort, ...props }: {
6
- state: State;
7
- sort: PLP_SORT_DEFAULTType;
8
- }): import("react/jsx-runtime").JSX.Element;
4
+ ({ sort, storeId, ...props }: FiltersProps): import("react/jsx-runtime").JSX.Element;
9
5
  displayName: string;
10
6
  };
11
7
  export default Filters;
@@ -1,5 +1,7 @@
1
+ import { GridInfiniteProps } from '../../../../../types/layout/templates/PLP';
2
+
1
3
  declare const InfiniteScroller: {
2
- (): import("react/jsx-runtime").JSX.Element;
4
+ ({ storeId }: GridInfiniteProps): import("react/jsx-runtime").JSX.Element;
3
5
  displayName: string;
4
6
  };
5
7
  export default InfiniteScroller;
@@ -1,7 +1,7 @@
1
1
  import { PageCardProps } from '../../../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Card: {
4
- ({ first, gap, isMobile, item, index, last, order, page, showVideo, }: PageCardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ first, gap, empty, isMobile, item, index, order, page, showVideo, }: PageCardProps): import("react/jsx-runtime").JSX.Element | undefined;
5
5
  displayName: string;
6
6
  };
7
7
  export default Card;
@@ -3,7 +3,7 @@ import { PageSentinelProps } from '../../../../../../../types/layout/templates/P
3
3
  declare const Loader: {
4
4
  ({ type, page, ...props }: PageSentinelProps & {
5
5
  type?: "page" | "default";
6
- }): false | import("react/jsx-runtime").JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
7
  displayName: string;
8
8
  };
9
9
  export default Loader;
@@ -1,7 +1,10 @@
1
1
  import { PageSentinelProps } from '../../../../../../../types/layout/templates/PLP/index';
2
2
 
3
3
  declare const NextPage: {
4
- ({ page, ...props }: PageSentinelProps): import("react/jsx-runtime").JSX.Element | null;
4
+ ({ nextPage, page, total, ...props }: PageSentinelProps & {
5
+ nextPage?: boolean;
6
+ total: number;
7
+ }): import("react/jsx-runtime").JSX.Element | null;
5
8
  displayName: string;
6
9
  };
7
10
  export default NextPage;
@@ -1,7 +1,7 @@
1
- import { PageProps } from '../../../../../../types/layout/templates/PLP';
1
+ import { PageScrollProps } from '../../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Page: {
4
- ({ count, gap, page }: PageProps): import("react/jsx-runtime").JSX.Element[] | null;
4
+ ({ page, storeId }: PageScrollProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Page;
@@ -3,18 +3,25 @@ declare const Page: {
3
3
  ({ page, ...props }: import('../../../../../../types/layout/templates/PLP').PageSentinelProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
+ AnchorPDP: {
7
+ (props: import('react').HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ };
6
10
  Card: {
7
- ({ first, gap, isMobile, item, index, last, order, page, showVideo, }: import('../../../../../../types/layout/templates/PLP').PageCardProps): import("react/jsx-runtime").JSX.Element;
11
+ ({ first, gap, empty, isMobile, item, index, order, page, showVideo, }: import('../../../../../../types/layout/templates/PLP').PageCardProps): import("react/jsx-runtime").JSX.Element | undefined;
8
12
  displayName: string;
9
13
  };
10
14
  Loader: {
11
15
  ({ type, page, ...props }: import('../../../../../../types/layout/templates/PLP').PageSentinelProps & {
12
16
  type?: "page" | "default";
13
- }): false | import("react/jsx-runtime").JSX.Element;
17
+ }): import("react/jsx-runtime").JSX.Element;
14
18
  displayName: string;
15
19
  };
16
20
  NextPage: {
17
- ({ page, ...props }: import('../../../../../../types/layout/templates/PLP').PageSentinelProps): import("react/jsx-runtime").JSX.Element | null;
21
+ ({ nextPage, page, total, ...props }: import('../../../../../../types/layout/templates/PLP').PageSentinelProps & {
22
+ nextPage?: boolean;
23
+ total: number;
24
+ }): import("react/jsx-runtime").JSX.Element | null;
18
25
  displayName: string;
19
26
  };
20
27
  };
@@ -1,7 +1,7 @@
1
1
  import { PaginationProps } from '../../../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const Pagination: {
4
- ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element | null;
5
5
  displayName: string;
6
6
  };
7
7
  export default Pagination;
@@ -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, PLP_SIZE_ORDER, 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;
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, PLP_SIZE_ORDER, 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, storeId, }: ProductsProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Products;
@@ -1,7 +1,7 @@
1
1
  import { PLPRootProps } from '../../../types/layout/templates/PLP';
2
2
 
3
3
  declare const PDC: {
4
- ({ className, ...props }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, storeId }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default PDC;
@@ -8,11 +8,11 @@ declare const PDC: {
8
8
  displayName: string;
9
9
  };
10
10
  Grid: {
11
- ({ infinite }: import('../../../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
11
+ ({ infinite, storeId }: import('../../../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  InfiniteScroller: {
15
- (): import("react/jsx-runtime").JSX.Element;
15
+ ({ storeId }: import('../../../types/layout/templates/PLP').GridInfiniteProps): import("react/jsx-runtime").JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  Spinner: {
@@ -28,11 +28,11 @@ declare const PDC: {
28
28
  displayName: string;
29
29
  };
30
30
  Pagination: {
31
- ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../../../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element;
31
+ ({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_SECTION, ITEMS_PER_PAGE, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../../../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element | null;
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, PLP_SIZE_ORDER, 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;
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, PLP_SIZE_ORDER, 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, storeId, }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
36
36
  displayName: string;
37
37
  };
38
38
  };
@@ -1,4 +1,4 @@
1
1
  import { BodyProps } from '../../../../types/layout/templates/QuickShop';
2
2
 
3
- declare const Body: ({ callBackProductAdded, BUY_BUTTON_LABELS, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PDP_INFO, PLP_SIZE_ORDER, PRODUCT_CARD_TEXTS, TEXTURE_IMAGE, TIME_ZONE, TOGGLE_STYLE_MODIFIER, Z_INDEX_WAR, }: BodyProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Body: ({ callBackProductAdded, BUY_BUTTON_LABELS, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PDP_INFO, PLP_SIZE_ORDER, PRODUCT_CARD_TEXTS, TEXTURE_IMAGE, TIME_ZONE, TOGGLE_STYLE_MODIFIER, Z_INDEX_WAR, storeId, }: BodyProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Body;
@@ -1,7 +1,7 @@
1
1
  import { SimilarsProps } from '../../../../types/layout/templates/QuickShop';
2
2
 
3
3
  declare const Similars: {
4
- ({ TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: SimilarsProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ storeId, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: SimilarsProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Similars;
@@ -1,7 +1,7 @@
1
1
  import { SearchModalProps } from '../../../types/layout/templates/SearchModal/index';
2
2
 
3
3
  declare const SearchModal: {
4
- ({ className, trends, CONSTANTS, SectionZone, }: SearchModalProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, trends, CONSTANTS, SectionZone }: SearchModalProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default SearchModal;
@@ -1,4 +1,4 @@
1
1
  import { SearchContentProps } from '../../../types/layout/templates/SearchResult';
2
2
 
3
- declare const SearchContent: ({ className }: SearchContentProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const SearchContent: ({ className, storeId }: SearchContentProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default SearchContent;
@@ -1,7 +1,7 @@
1
1
  import { SearchProps } from '../../../types/layout/templates/SearchResult';
2
2
 
3
3
  declare const Search: {
4
- ({ className, searchParams, CONSTANTS }: SearchProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, searchParams, storeId, CONSTANTS }: SearchProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Search;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soma-vertical-web/multi-lib",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
package/server.d.ts CHANGED
@@ -40,6 +40,10 @@ declare const serverHelpers: {
40
40
  value: string;
41
41
  key: string;
42
42
  }[];
43
+ selectedFacets: (facets: string[]) => {
44
+ key: string;
45
+ value: string;
46
+ }[];
43
47
  filterNonCategorySelected: (facets: import('./types/data/api/search/facets').Facet[], base?: string | null) => import('./types/data/api/search/facets').Facet<import('./types/data/api/search/facets').FacetValueBoolean | import('./types/data/api/search/facets').FacetValueRange>[];
44
48
  };
45
49
  product: typeof productHelpers;