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

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 (71) hide show
  1. package/cms/ContentTypes/Search/SearchContent.d.ts +1 -1
  2. package/cms/Sections/ProductCarousel/request.d.ts +0 -4
  3. package/cms/index.d.ts +1 -1
  4. package/constants.d.ts +1 -0
  5. package/contexts/contexts/GlobalContext.d.ts +1 -1
  6. package/contexts/contexts/newsletter/Context.d.ts +1 -1
  7. package/contexts/contexts/plp/PLPInfiniteContext.d.ts +6 -0
  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/TopSearches.d.ts +1 -1
  11. package/contexts/hooks/useOperations.d.ts +1 -1
  12. package/contexts/index.d.ts +3 -3
  13. package/data/api/DitoIngest/authorization/index.d.ts +1 -0
  14. package/data/api/DitoIngest/ditoIngestService.d.ts +3 -0
  15. package/data/api/cms/content-type/index.d.ts +1 -1
  16. package/data/api/user/index.d.ts +2 -2
  17. package/data/helpers/plp/index.d.ts +1 -2
  18. package/data/index.d.ts +7 -6
  19. package/index-Cqk3VcE0.js +4 -0
  20. package/index-DctCSt6v.mjs +2695 -0
  21. package/index.js +16 -16
  22. package/index.mjs +6551 -6783
  23. package/index2.js +2 -2
  24. package/index2.mjs +752 -660
  25. package/layout/index.d.ts +9 -9
  26. package/layout/team-component/AddToCart/AddToCart.d.ts +1 -1
  27. package/layout/team-component/AddToCart/Composite/Card/Card.d.ts +1 -1
  28. package/layout/team-component/AddToCart/Composite/Card/Content.d.ts +1 -1
  29. package/layout/team-component/AddToCart/Composite/Card/StyleSize.d.ts +1 -1
  30. package/layout/team-component/Newsletter/index.d.ts +1 -1
  31. package/layout/template/MiniCart/Composite/Card/Card.d.ts +1 -1
  32. package/layout/template/MiniCart/Composite/Card/Composite/Sku.d.ts +1 -1
  33. package/layout/template/MiniCart/Composite/Card/Composite/Style.d.ts +1 -1
  34. package/layout/template/MiniCart/Composite/Card/index.d.ts +2 -2
  35. package/layout/template/MiniCart/Composite/Modal/Body/Body.d.ts +1 -1
  36. package/layout/template/MiniCart/MiniCart.d.ts +1 -1
  37. package/layout/template/MiniCart/index.d.ts +2 -2
  38. package/layout/template/PDC/Composite/Grid/Grid.d.ts +1 -1
  39. package/layout/template/PDC/Composite/InfiniteScroller/Filters/Filters.d.ts +1 -1
  40. package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +1 -1
  41. package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +1 -1
  42. package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
  43. package/layout/template/PDC/PDC.d.ts +1 -1
  44. package/layout/template/PDC/index.d.ts +3 -3
  45. package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +1 -1
  46. package/layout/template/QuickShop/Composite/Body.d.ts +1 -1
  47. package/layout/template/QuickShop/Composite/Similars.d.ts +1 -1
  48. package/layout/template/SearchModal/SearchModal.d.ts +1 -1
  49. package/layout/template/SearchResult/Composite/Products.d.ts +1 -1
  50. package/layout/template/SearchResult/SearchContent.d.ts +1 -1
  51. package/layout/template/SearchResult/SearchResult.d.ts +1 -1
  52. package/package.json +1 -1
  53. package/server.d.ts +2 -0
  54. package/types/cms/Sections/Newsletter/index.d.ts +4 -0
  55. package/types/cms/Sections/SectionZone/index.d.ts +0 -1
  56. package/types/contexts/contexts/global.d.ts +1 -0
  57. package/types/contexts/contexts/plp.d.ts +3 -4
  58. package/types/contexts/contexts/search.d.ts +2 -8
  59. package/types/contexts/hooks/index.d.ts +1 -3
  60. package/types/data/api/dito-ingest/index.d.ts +12 -1
  61. package/types/layout/team-components/AddToCart/index.d.ts +1 -5
  62. package/types/layout/team-components/HelpButton/index.d.ts +2 -4
  63. package/types/layout/team-components/Newsletter/index.d.ts +6 -0
  64. package/types/layout/team-components/ProductCard/index.d.ts +0 -1
  65. package/types/layout/team-components/ProductList/index.d.ts +1 -2
  66. package/types/layout/templates/MiniCart/index.d.ts +0 -2
  67. package/types/layout/templates/PDP/index.d.ts +0 -1
  68. package/types/layout/templates/PLP/index.d.ts +1 -8
  69. package/types/layout/templates/QuickShop/index.d.ts +1 -2
  70. package/types/layout/templates/SearchModal/index.d.ts +1 -2
  71. package/types/layout/templates/SearchResult/index.d.ts +0 -3
@@ -111,7 +111,6 @@ export type StyleCardProps = {
111
111
  product: CartItemStore;
112
112
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
113
113
  TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
114
- storeId: StoreConfigType['api']['storeId'];
115
114
  };
116
115
  export interface SkuCardProps extends StyleCardProps {
117
116
  NAME_SPLIT_SYMBOL: NAME_SPLIT_SYMBOLType;
@@ -169,7 +168,6 @@ export interface ModalBodyProps extends PropsWithChildren {
169
168
  TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
170
169
  TIPBAR_CONFIGS: TIPBAR_CONFIGSType;
171
170
  PLP_NOT_RESULT: PLP_NOT_RESULTType;
172
- storeId: StoreConfigType['api']['storeId'];
173
171
  }
174
172
  export type ModalHeaderProps = {
175
173
  ICONS: ICONSType;
@@ -114,7 +114,6 @@ export type ProductMeasurementsProps = {
114
114
  Z_INDEX_WAR: Z_INDEX_WARType;
115
115
  };
116
116
  export interface PDPSimilarsType extends PropsWithChildren {
117
- storeId: string;
118
117
  productId: string;
119
118
  PDP_INFO: PDP_INFOType;
120
119
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
@@ -35,15 +35,11 @@ export interface InfiniteBannersProps extends HTMLAttributes<HTMLDivElement> {
35
35
  export interface FiltersProps {
36
36
  state: State;
37
37
  sort: PLP_SORT_DEFAULTType;
38
- storeId: StoreConfigType['api']['storeId'];
39
38
  }
40
39
  export interface GridProps extends HTMLAttributes<HTMLDivElement> {
41
40
  infinite?: boolean;
42
- storeId: StoreConfigType['api']['storeId'];
43
- }
44
- export interface GridInfiniteProps extends HTMLAttributes<HTMLDivElement> {
45
- storeId: StoreConfigType['api']['storeId'];
46
41
  }
42
+ export type GridInfiniteProps = HTMLAttributes<HTMLDivElement>;
47
43
  export interface PageSentinelProps extends HTMLAttributes<HTMLDivElement> {
48
44
  page: Page;
49
45
  }
@@ -61,7 +57,6 @@ export interface PageCardProps {
61
57
  export interface PageScrollProps {
62
58
  count: number;
63
59
  page: Page;
64
- storeId: StoreConfigType['api']['storeId'];
65
60
  }
66
61
  export interface PageProps {
67
62
  count: number;
@@ -128,11 +123,9 @@ export interface ProductsProps {
128
123
  StoreConfig_MainSellerId: StoreConfigType['mainSeller']['id'];
129
124
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
130
125
  Z_INDEX_WAR: Z_INDEX_WARType;
131
- storeId: StoreConfigType['api']['storeId'];
132
126
  }
133
127
  export interface PLPRootProps {
134
128
  className?: string;
135
- storeId: StoreConfigType['api']['storeId'];
136
129
  }
137
130
  export type EmptyProps = {
138
131
  className?: string;
@@ -1,8 +1,7 @@
1
- import { BUY_BUTTON_LABELSType, ICONSType, QUICKSHOPType, StoreConfigType, TEXTURE_IMAGEType, TIME_ZONEType, TOGGLE_STYLE_MODIFIERType } from '../../../constants';
1
+ import { BUY_BUTTON_LABELSType, ICONSType, QUICKSHOPType, TEXTURE_IMAGEType, TIME_ZONEType, TOGGLE_STYLE_MODIFIERType } from '../../../constants';
2
2
  import { PDPSizesProps } from '../PDP';
3
3
 
4
4
  export type SimilarsProps = {
5
- storeId: StoreConfigType['api']['storeId'];
6
5
  TEXTURE_IMAGE: TEXTURE_IMAGEType;
7
6
  TOGGLE_STYLE_MODIFIER: TOGGLE_STYLE_MODIFIERType;
8
7
  };
@@ -1,5 +1,5 @@
1
1
  import { ComponentType, Dispatch, PropsWithChildren, SetStateAction } from 'react';
2
- import { ICONSType, ITEMS_DEFAULT_SORTType, ITEMS_PER_PAGEType, SEARCH_MODALType, StoreConfigType } from '../../../../types/constants';
2
+ import { ICONSType, ITEMS_DEFAULT_SORTType, ITEMS_PER_PAGEType, SEARCH_MODALType } from '../../../../types/constants';
3
3
  import { SearchContentProps } from '../../../cms/ContentTypes/Search';
4
4
 
5
5
  export interface SearchModalProps extends PropsWithChildren, Pick<SearchContentProps, 'SectionZone'> {
@@ -10,7 +10,6 @@ export interface SearchModalProps extends PropsWithChildren, Pick<SearchContentP
10
10
  ICONS: ICONSType;
11
11
  ITEMS_PER_PAGE: ITEMS_PER_PAGEType;
12
12
  ITEMS_DEFAULT_SORT: ITEMS_DEFAULT_SORTType;
13
- storeId: StoreConfigType['api']['storeId'];
14
13
  };
15
14
  className?: string;
16
15
  }
@@ -1,7 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { SearchSort } from '../../../data/api/search';
3
3
  import { SearchConstantsContextProps } from '../../../contexts/contexts/search';
4
- import { StoreConfigType } from '../../../constants';
5
4
 
6
5
  export interface ISearchEmpty {
7
6
  term?: string;
@@ -39,9 +38,7 @@ export interface SearchProps {
39
38
  className?: string;
40
39
  searchParams: URLSearchParams;
41
40
  CONSTANTS: SearchConstantsContextProps;
42
- storeId: StoreConfigType['api']['storeId'];
43
41
  }
44
42
  export type SearchContentProps = {
45
43
  className?: string;
46
- storeId: StoreConfigType['api']['storeId'];
47
44
  };