@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.
- package/cms/ContentTypes/Search/SearchContent.d.ts +1 -1
- package/cms/Sections/ProductCarousel/request.d.ts +0 -4
- package/cms/index.d.ts +1 -1
- package/constants.d.ts +1 -0
- package/contexts/contexts/GlobalContext.d.ts +1 -1
- package/contexts/contexts/newsletter/Context.d.ts +1 -1
- package/contexts/contexts/plp/PLPInfiniteContext.d.ts +6 -0
- package/contexts/contexts/search/QueryFacets.d.ts +1 -1
- package/contexts/contexts/search/QueryProducts.d.ts +1 -1
- package/contexts/contexts/search/TopSearches.d.ts +1 -1
- package/contexts/hooks/useOperations.d.ts +1 -1
- package/contexts/index.d.ts +3 -3
- package/data/api/DitoIngest/authorization/index.d.ts +1 -0
- package/data/api/DitoIngest/ditoIngestService.d.ts +3 -0
- package/data/api/cms/content-type/index.d.ts +1 -1
- package/data/api/user/index.d.ts +2 -2
- package/data/helpers/plp/index.d.ts +1 -2
- package/data/index.d.ts +7 -6
- package/index-Cqk3VcE0.js +4 -0
- package/index-DctCSt6v.mjs +2695 -0
- package/index.js +16 -16
- package/index.mjs +6551 -6783
- package/index2.js +2 -2
- package/index2.mjs +752 -660
- package/layout/index.d.ts +9 -9
- package/layout/team-component/AddToCart/AddToCart.d.ts +1 -1
- package/layout/team-component/AddToCart/Composite/Card/Card.d.ts +1 -1
- package/layout/team-component/AddToCart/Composite/Card/Content.d.ts +1 -1
- package/layout/team-component/AddToCart/Composite/Card/StyleSize.d.ts +1 -1
- package/layout/team-component/Newsletter/index.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Card/Card.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Card/Composite/Sku.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Card/Composite/Style.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Card/index.d.ts +2 -2
- package/layout/template/MiniCart/Composite/Modal/Body/Body.d.ts +1 -1
- package/layout/template/MiniCart/MiniCart.d.ts +1 -1
- package/layout/template/MiniCart/index.d.ts +2 -2
- package/layout/template/PDC/Composite/Grid/Grid.d.ts +1 -1
- package/layout/template/PDC/Composite/InfiniteScroller/Filters/Filters.d.ts +1 -1
- package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +1 -1
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +1 -1
- package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
- package/layout/template/PDC/PDC.d.ts +1 -1
- package/layout/template/PDC/index.d.ts +3 -3
- package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +1 -1
- package/layout/template/QuickShop/Composite/Body.d.ts +1 -1
- package/layout/template/QuickShop/Composite/Similars.d.ts +1 -1
- package/layout/template/SearchModal/SearchModal.d.ts +1 -1
- package/layout/template/SearchResult/Composite/Products.d.ts +1 -1
- package/layout/template/SearchResult/SearchContent.d.ts +1 -1
- package/layout/template/SearchResult/SearchResult.d.ts +1 -1
- package/package.json +1 -1
- package/server.d.ts +2 -0
- package/types/cms/Sections/Newsletter/index.d.ts +4 -0
- package/types/cms/Sections/SectionZone/index.d.ts +0 -1
- package/types/contexts/contexts/global.d.ts +1 -0
- package/types/contexts/contexts/plp.d.ts +3 -4
- package/types/contexts/contexts/search.d.ts +2 -8
- package/types/contexts/hooks/index.d.ts +1 -3
- package/types/data/api/dito-ingest/index.d.ts +12 -1
- package/types/layout/team-components/AddToCart/index.d.ts +1 -5
- package/types/layout/team-components/HelpButton/index.d.ts +2 -4
- package/types/layout/team-components/Newsletter/index.d.ts +6 -0
- 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/MiniCart/index.d.ts +0 -2
- package/types/layout/templates/PDP/index.d.ts +0 -1
- package/types/layout/templates/PLP/index.d.ts +1 -8
- package/types/layout/templates/QuickShop/index.d.ts +1 -2
- package/types/layout/templates/SearchModal/index.d.ts +1 -2
- 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,
|
|
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
|
|
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
|
};
|