@soma-vertical-web/multi-lib 0.0.65 → 0.0.66
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/plp/PLPConstants.d.ts +6 -0
- package/contexts/contexts/plp/PLPInfiniteContext.tsx.d.ts +1 -1
- package/contexts/contexts/search/Constants.d.ts +6 -0
- package/contexts/contexts/search/Facets.d.ts +1 -1
- package/contexts/contexts/search/Products.d.ts +1 -1
- package/contexts/contexts/search/Search.d.ts +1 -1
- package/contexts/hooks/useScrollRestoration.d.ts +1 -1
- package/contexts/index.d.ts +4 -4
- package/data/helpers/search/search.d.ts +2 -0
- package/index-BBxYNFkz.mjs +416 -0
- package/index-CiMxj6Pg.mjs +412 -0
- package/index-CwBIv223.js +1 -0
- package/index-DKnolQoT.mjs +412 -0
- package/index.js +21 -21
- package/index.mjs +8264 -7197
- package/index2.js +1 -1
- package/index2.mjs +97 -94
- package/layout/index.d.ts +54 -8
- package/layout/team-component/PLPNavigation/Composite/BreadCrumb.d.ts +1 -3
- package/layout/team-component/PLPNavigation/Composite/Content.d.ts +1 -1
- package/layout/team-component/PLPNavigation/Composite/Filters.d.ts +1 -3
- package/layout/team-component/PLPNavigation/Composite/Root.d.ts +2 -2
- package/layout/team-component/PLPNavigation/Composite/Selected/Item.d.ts +1 -1
- package/layout/team-component/PLPNavigation/Composite/Selected/Selected.d.ts +1 -1
- package/layout/team-component/PLPNavigation/Composite/Selected/interfaces.d.ts +1 -7
- package/layout/team-component/PLPNavigation/PLPNavigation.d.ts +6 -6
- package/layout/team-component/Sort/Sort.d.ts +1 -1
- package/layout/template/PDC/Composite/Empty/Empty.d.ts +1 -1
- package/layout/template/PDC/Composite/Filters/Filters.d.ts +3 -5
- package/layout/template/PDC/Composite/Grid/Banners.d.ts +1 -1
- package/layout/template/PDC/Composite/Grid/Grid.d.ts +1 -1
- package/layout/template/PDC/Composite/Grid/NavigationTotal.d.ts +2 -3
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +1 -1
- package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +1 -3
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Card.d.ts +1 -1
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +1 -1
- package/layout/template/PDC/Composite/InfiniteScroller/Page/index.d.ts +1 -1
- package/layout/template/PDC/Composite/Navigation/Navigation.d.ts +1 -3
- package/layout/template/PDC/Composite/Notification/Notification.d.ts +1 -1
- package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +1 -1
- package/layout/template/PDC/Composite/Pagination/helpers.d.ts +1 -2
- 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 +8 -8
- package/layout/template/SearchResult/Composite/Empty.d.ts +7 -0
- package/layout/template/SearchResult/Composite/Grid.d.ts +7 -0
- package/layout/template/SearchResult/Composite/GridHeader.d.ts +3 -0
- package/layout/template/SearchResult/Composite/Loading.d.ts +7 -0
- package/layout/template/SearchResult/Composite/Sort.d.ts +4 -0
- package/layout/template/SearchResult/SearchContent.d.ts +4 -0
- package/layout/template/SearchResult/SearchResult.d.ts +7 -0
- package/layout/template/SearchResult/index.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/ContentTypes/Search/index.d.ts +2 -2
- package/types/constants.d.ts +41 -1
- package/types/contexts/contexts/plp.d.ts +38 -7
- package/types/contexts/contexts/search.d.ts +18 -16
- package/types/contexts/hooks/index.d.ts +12 -0
- package/types/layout/team-components/PLPNavigation/index.d.ts +3 -14
- package/types/layout/team-components/Sort/index.d.ts +2 -5
- package/types/layout/templates/PLP/index.d.ts +122 -3
- package/types/layout/templates/SearchResult/index.d.ts +44 -0
package/layout/index.d.ts
CHANGED
|
@@ -14,27 +14,27 @@ export declare const layout: {
|
|
|
14
14
|
};
|
|
15
15
|
PLPNavigation: {
|
|
16
16
|
BreadCrumb: {
|
|
17
|
-
(
|
|
17
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
20
20
|
Content: {
|
|
21
|
-
({ children,
|
|
21
|
+
({ children, ...props }: import('../types/layout/team-components/PLPNavigation').PLPContentProps): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
Filters: {
|
|
25
|
-
(
|
|
25
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
Root: {
|
|
29
|
-
({ children, onSort, setOpenFilters, style,
|
|
29
|
+
({ children, onSort, setOpenFilters, style, ...props }: import('../types/layout/team-components/PLPNavigation').PLPNavigationRootProps): import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
32
|
Selected: {
|
|
33
|
-
({ callback, selected,
|
|
33
|
+
({ callback, selected, ...props }: import('./team-component/PLPNavigation/Composite/Selected/interfaces').SelectedProps): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
SelectedItem: {
|
|
37
|
-
({ callback, facet
|
|
37
|
+
({ callback, facet }: import('./team-component/PLPNavigation/Composite/Selected/interfaces').SelectedItemProps): import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
Total: {
|
|
@@ -126,7 +126,7 @@ export declare const layout: {
|
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
Sort: {
|
|
129
|
-
({ handleSelectValue, sortListOpen, setSortListOpen, searchParams,
|
|
129
|
+
({ handleSelectValue, sortListOpen, setSortListOpen, searchParams, ICONS, ...props }: import('../types/layout/team-components/Sort').SortProps): import("react/jsx-runtime").JSX.Element;
|
|
130
130
|
displayName: string;
|
|
131
131
|
};
|
|
132
132
|
UserMenu: {
|
|
@@ -198,7 +198,6 @@ export declare const layout: {
|
|
|
198
198
|
};
|
|
199
199
|
};
|
|
200
200
|
template: {
|
|
201
|
-
pdp: typeof pdp;
|
|
202
201
|
minicart: {
|
|
203
202
|
Body: {
|
|
204
203
|
({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -251,6 +250,53 @@ export declare const layout: {
|
|
|
251
250
|
displayName: string;
|
|
252
251
|
};
|
|
253
252
|
};
|
|
253
|
+
pdc: {
|
|
254
|
+
({ className, ...props }: import('../types/layout/templates/PLP').PLPRootProps): import("react/jsx-runtime").JSX.Element;
|
|
255
|
+
displayName: string;
|
|
256
|
+
};
|
|
257
|
+
pdc_composites: {
|
|
258
|
+
Empty: {
|
|
259
|
+
({ className, content }: import('../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
260
|
+
displayName: string;
|
|
261
|
+
};
|
|
262
|
+
Filters: {
|
|
263
|
+
(): import("react/jsx-runtime").JSX.Element | null;
|
|
264
|
+
displayName: string;
|
|
265
|
+
};
|
|
266
|
+
Grid: {
|
|
267
|
+
({ infinite }: import('../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
|
|
268
|
+
displayName: string;
|
|
269
|
+
};
|
|
270
|
+
InfiniteScroller: {
|
|
271
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
272
|
+
displayName: string;
|
|
273
|
+
};
|
|
274
|
+
Spinner: {
|
|
275
|
+
(props: import('react').HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
276
|
+
displayName: string;
|
|
277
|
+
};
|
|
278
|
+
Navigation: {
|
|
279
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
280
|
+
displayName: string;
|
|
281
|
+
};
|
|
282
|
+
Notification: {
|
|
283
|
+
({ skus, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR, ...props }: import('../types/layout/templates/PLP').NotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
284
|
+
displayName: string;
|
|
285
|
+
};
|
|
286
|
+
Pagination: {
|
|
287
|
+
({ 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;
|
|
288
|
+
displayName: string;
|
|
289
|
+
};
|
|
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, WishListToggle }: import('../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
292
|
+
displayName: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
pdp: typeof pdp;
|
|
296
|
+
searchResult: {
|
|
297
|
+
({ className, searchParams, CONSTANTS }: import('../types/layout/templates/SearchResult').SearchProps): import("react/jsx-runtime").JSX.Element;
|
|
298
|
+
displayName: string;
|
|
299
|
+
};
|
|
254
300
|
};
|
|
255
301
|
utils: {
|
|
256
302
|
EventCollector: ({ page, data }: import('react').PropsWithChildren & import('../types/data/events').CollectorProps) => null;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { PLPBreadcrumbProps } from '../../../../types/layout/team-components/PLPNavigation';
|
|
2
|
-
|
|
3
1
|
declare const BreadCrumb: {
|
|
4
|
-
(
|
|
2
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
5
3
|
displayName: string;
|
|
6
4
|
};
|
|
7
5
|
export default BreadCrumb;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PLPContentProps } from '../../../../types/layout/team-components/PLPNavigation';
|
|
2
2
|
|
|
3
3
|
declare const Content: {
|
|
4
|
-
({ children,
|
|
4
|
+
({ children, ...props }: PLPContentProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Content;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { PLPNavigationFiltersProps } from '../../../../types/layout/team-components/PLPNavigation';
|
|
2
|
-
|
|
3
1
|
declare const Filters: {
|
|
4
|
-
(
|
|
2
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
5
3
|
displayName: string;
|
|
6
4
|
};
|
|
7
5
|
export default Filters;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PLPNavigationRootProps } from '../../../../types/layout/team-components/PLPNavigation';
|
|
2
2
|
|
|
3
3
|
declare const Root: {
|
|
4
|
-
({ children, onSort, setOpenFilters, style,
|
|
4
|
+
({ children, onSort, setOpenFilters, style, ...props }: PLPNavigationRootProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Root;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectedItemProps } from './interfaces';
|
|
2
2
|
|
|
3
3
|
declare const Item: {
|
|
4
|
-
({ callback, facet
|
|
4
|
+
({ callback, facet }: SelectedItemProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Item;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectedProps } from './interfaces';
|
|
2
2
|
|
|
3
3
|
declare const Selected: {
|
|
4
|
-
({ callback, selected,
|
|
4
|
+
({ callback, selected, ...props }: SelectedProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Selected;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import { ICONSType, PLP_FILTERS_COLORSType, PLP_FILTERSType } from '../../../../../types/constants';
|
|
2
1
|
import { FacetsContextProps } from '../../../../../types/contexts/contexts/search';
|
|
3
2
|
|
|
4
3
|
export type SelectedFacetProps = FacetsContextProps['selectedFacets'][0];
|
|
5
4
|
export interface SelectedItemProps {
|
|
6
5
|
facet: SelectedFacetProps;
|
|
7
6
|
callback(value: SelectedFacetProps, remove: boolean): void;
|
|
8
|
-
CONSTANTS: {
|
|
9
|
-
ICONS: ICONSType;
|
|
10
|
-
PLP_FILTERS: PLP_FILTERSType;
|
|
11
|
-
PLP_FILTERS_COLORS: PLP_FILTERS_COLORSType;
|
|
12
|
-
};
|
|
13
7
|
}
|
|
14
|
-
export interface SelectedProps extends Pick<SelectedItemProps, 'callback'
|
|
8
|
+
export interface SelectedProps extends Pick<SelectedItemProps, 'callback'> {
|
|
15
9
|
selected: SelectedFacetProps[];
|
|
16
10
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
declare const PLPNavigation: {
|
|
2
2
|
BreadCrumb: {
|
|
3
|
-
(
|
|
3
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
Content: {
|
|
7
|
-
({ children,
|
|
7
|
+
({ children, ...props }: import('../../../types/layout/team-components/PLPNavigation').PLPContentProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
Filters: {
|
|
11
|
-
(
|
|
11
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
Root: {
|
|
15
|
-
({ children, onSort, setOpenFilters, style,
|
|
15
|
+
({ children, onSort, setOpenFilters, style, ...props }: import('../../../types/layout/team-components/PLPNavigation').PLPNavigationRootProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
Selected: {
|
|
19
|
-
({ callback, selected,
|
|
19
|
+
({ callback, selected, ...props }: import('./Composite/Selected/interfaces').SelectedProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
SelectedItem: {
|
|
23
|
-
({ callback, facet
|
|
23
|
+
({ callback, facet }: import('./Composite/Selected/interfaces').SelectedItemProps): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
displayName: string;
|
|
25
25
|
};
|
|
26
26
|
Total: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SortProps } from '../../../types/layout/team-components/Sort';
|
|
2
2
|
|
|
3
3
|
declare const Sort: {
|
|
4
|
-
({ handleSelectValue, sortListOpen, setSortListOpen, searchParams,
|
|
4
|
+
({ handleSelectValue, sortListOpen, setSortListOpen, searchParams, ICONS, ...props }: SortProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Sort;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Empty: {
|
|
4
|
-
({
|
|
4
|
+
({ className, content }: EmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Empty;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const Filters: {
|
|
4
|
-
({ ICONS, PLP_FILTERS, PLP_FILTERS_COLORS, PLP_FILTERS_EMPTY, PLP_FILTERS_TITLE, PLP_SIZE_ORDER, }: FiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const FiltersWrapper: {
|
|
2
|
+
(): import("react/jsx-runtime").JSX.Element | null;
|
|
5
3
|
displayName: string;
|
|
6
4
|
};
|
|
7
|
-
export default
|
|
5
|
+
export default FiltersWrapper;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BannersProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Banners: {
|
|
4
|
-
({ gap, isMobile
|
|
4
|
+
({ gap, isMobile }: BannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Banners;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GridProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Grid: {
|
|
4
|
-
({ infinite
|
|
4
|
+
({ infinite }: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Grid;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
declare const NavigationTotal: {
|
|
2
|
-
({
|
|
3
|
-
parent: HTMLElement | null;
|
|
2
|
+
({ total, }: {
|
|
4
3
|
total: number;
|
|
5
|
-
}): import(
|
|
4
|
+
}): import('react').ReactPortal | null;
|
|
6
5
|
displayName: string;
|
|
7
6
|
};
|
|
8
7
|
export default NavigationTotal;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InfiniteBannersProps } from '../../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Banners: {
|
|
4
|
-
({ columns, count, gap
|
|
4
|
+
({ columns, count, gap }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Banners;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { InfiniteScrollerProps } from '../../../../../types/layout/templates/PLP';
|
|
2
|
-
|
|
3
1
|
declare const InfiniteScroller: {
|
|
4
|
-
(
|
|
2
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
5
3
|
displayName: string;
|
|
6
4
|
};
|
|
7
5
|
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,
|
|
4
|
+
({ first, gap, isMobile, item, index, last, order, page, showVideo, }: PageCardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Card;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PageProps } from '../../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Page: {
|
|
4
|
-
({ count, gap, page
|
|
4
|
+
({ count, gap, page }: PageProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Page;
|
|
@@ -4,7 +4,7 @@ declare const Page: {
|
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
Card: {
|
|
7
|
-
({ first, gap, isMobile, item, index, last, order, page, showVideo,
|
|
7
|
+
({ first, gap, isMobile, item, index, last, order, page, showVideo, }: import('../../../../../../types/layout/templates/PLP').PageCardProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
Loader: {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { NavigationProps } from '../../../../../types/layout/templates/PLP';
|
|
2
|
-
|
|
3
1
|
declare const Navigation: {
|
|
4
|
-
(
|
|
2
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
5
3
|
displayName: string;
|
|
6
4
|
};
|
|
7
5
|
export default Navigation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NotificationProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Notification: {
|
|
4
|
-
({ skus, ...props }: NotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
({ skus, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR, ...props }: NotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Notification;
|
|
@@ -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,
|
|
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;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Pagination;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ReadonlyURLSearchParams } from 'next/navigation';
|
|
2
1
|
import { PaginantionOptionsProps } from '../../../../../types/layout/templates/PLP';
|
|
3
2
|
|
|
4
3
|
export declare const getCurrentPagination: () => number;
|
|
5
4
|
export declare const getPage: (index: number, itemsPerPage: number, totalPages: number) => number;
|
|
6
|
-
export declare const createQueryString: (name: string, value: string, searchParams:
|
|
5
|
+
export declare const createQueryString: (name: string, value: string, searchParams: URLSearchParams) => string;
|
|
7
6
|
export declare const createPages: (startPage: number, endPage: number) => number[];
|
|
8
7
|
export declare const paginationOptions: ({ currentPage, total, maxVisiblePages, SEARCH_PAGE_ITEM_THRESHOLD }: PaginantionOptionsProps) => {
|
|
9
8
|
startPage: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductsProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Products: {
|
|
4
|
-
({ isMobile, items,
|
|
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, WishListToggle }: 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
|
-
({
|
|
4
|
+
({ className, ...props }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default PDC;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
declare const PDC: {
|
|
2
2
|
Empty: {
|
|
3
|
-
({
|
|
3
|
+
({ className, content }: import('../../../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
Filters: {
|
|
7
|
-
(
|
|
7
|
+
(): import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
Grid: {
|
|
11
|
-
({ infinite
|
|
11
|
+
({ infinite }: import('../../../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
InfiniteScroller: {
|
|
15
|
-
(
|
|
15
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
Spinner: {
|
|
@@ -20,19 +20,19 @@ declare const PDC: {
|
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
Navigation: {
|
|
23
|
-
(
|
|
23
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
displayName: string;
|
|
25
25
|
};
|
|
26
26
|
Notification: {
|
|
27
|
-
({ skus, ...props }: import('../../../types/layout/templates/PLP').NotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
({ skus, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCT_CARD_TEXTS, Z_INDEX_WAR, ...props }: import('../../../types/layout/templates/PLP').NotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
Pagination: {
|
|
31
|
-
({ query, type, searchParams, ITEMS_DEFAULT_SORT,
|
|
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;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
Products: {
|
|
35
|
-
({ isMobile, items,
|
|
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, WishListToggle }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SearchResultContentProps } from '../../../../types/layout/templates/SearchResult';
|
|
2
|
+
|
|
3
|
+
declare const SearchResultContent: {
|
|
4
|
+
({ isMobile, query }: SearchResultContentProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default SearchResultContent;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ISearchLoading } from '../../../../types/layout/templates/SearchResult';
|
|
2
|
+
|
|
3
|
+
declare const SearchLoading: {
|
|
4
|
+
({ isLoading, quantity, term }: ISearchLoading): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default SearchLoading;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SearchResult';
|