@soma-vertical-web/multi-lib 0.0.63 → 0.0.65
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/EmbedLive/Component.d.ts +4 -0
- package/cms/Sections/ProductCarousel/Composite/CommonShelf.d.ts +4 -0
- package/cms/Sections/ProductCarousel/Composite/RecommendationShelf.d.ts +4 -0
- package/cms/Sections/ProductCarousel/ProductCarousel.d.ts +4 -0
- package/cms/Sections/ProductCarousel/request.d.ts +24 -0
- package/cms/index.d.ts +3 -0
- package/contexts/hooks/useScrollRestoration.d.ts +3 -0
- package/contexts/hooks/useScrollRestorationInfinite.d.ts +4 -0
- package/index.js +19 -19
- package/index.mjs +4990 -4693
- package/layout/template/PDC/Composite/Empty/Empty.d.ts +7 -0
- package/layout/template/PDC/Composite/Empty/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Filters/Filters.d.ts +7 -0
- package/layout/template/PDC/Composite/Filters/helpers.d.ts +4 -0
- package/layout/template/PDC/Composite/Filters/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Grid/Banners.d.ts +7 -0
- package/layout/template/PDC/Composite/Grid/Grid.d.ts +7 -0
- package/layout/template/PDC/Composite/Grid/NavigationTotal.d.ts +8 -0
- package/layout/template/PDC/Composite/Grid/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/Banners.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Banners/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/InfiniteScroller.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Loading/Loading.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Loading/index.d.ts +1 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Anchor.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Card.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/Loader.d.ts +9 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Composite/NextPage.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/Page.d.ts +7 -0
- package/layout/template/PDC/Composite/InfiniteScroller/Page/index.d.ts +21 -0
- package/layout/template/PDC/Composite/InfiniteScroller/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Navigation/Navigation.d.ts +7 -0
- package/layout/template/PDC/Composite/Navigation/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Notification/Notification.d.ts +7 -0
- package/layout/template/PDC/Composite/Notification/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/Arrow.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Arrow/interfaces.d.ts +8 -0
- package/layout/template/PDC/Composite/Pagination/Layout/Layout.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Layout/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/PageEllipses.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/PageEllipses/interfaces.d.ts +10 -0
- package/layout/template/PDC/Composite/Pagination/Pages/Pages.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Pages/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Pagination/Pages/interfaces.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/Pagination.d.ts +7 -0
- package/layout/template/PDC/Composite/Pagination/helpers.d.ts +12 -0
- package/layout/template/PDC/Composite/Pagination/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Products/Products.d.ts +7 -0
- package/layout/template/PDC/Composite/Products/index.d.ts +1 -0
- package/layout/template/PDC/Composite/Spinner/index.d.ts +7 -0
- package/layout/template/PDC/PDC.d.ts +7 -0
- package/layout/template/PDC/index.d.ts +39 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/Sections/EmbedLive/index.d.ts +13 -0
- package/types/cms/Sections/ProductCarousel/index.d.ts +36 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Empty';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FiltersProps } from '../../../../../types/layout/templates/PLP';
|
|
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;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Filters;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FacetValueRange } from '../../../../../types/data/api/search/facets';
|
|
2
|
+
|
|
3
|
+
export declare const checkPriceRange: (values: FacetValueRange[], value: string) => number[];
|
|
4
|
+
export declare const getUpdatedPriceRange: (value: string, minFacet: number, maxFacet: number) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Filters';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BannersProps } from '../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Banners: {
|
|
4
|
+
({ gap, isMobile, ICONS, PRODUCT_CARD_IMAGE_ASPECT_RATIO }: BannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Banners;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Grid';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InfiniteBannersProps } from '../../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Banners: {
|
|
4
|
+
({ columns, count, gap, ICONS, PRODUCT_CARD_IMAGE_ASPECT_RATIO }: InfiniteBannersProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Banners;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Banners';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InfiniteScrollerProps } from '../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const InfiniteScroller: {
|
|
4
|
+
({ Notification, searchParams, ITEMS_PER_PAGE, ...props }: InfiniteScrollerProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default InfiniteScroller;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Loading';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PageCardProps } from '../../../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Card: {
|
|
4
|
+
({ first, gap, isMobile, item, index, last, order, page, showVideo, WishListToggle, CONSTANTS }: PageCardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Card;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PageSentinelProps } from '../../../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Loader: {
|
|
4
|
+
({ type, page, ...props }: PageSentinelProps & {
|
|
5
|
+
type?: "page" | "default";
|
|
6
|
+
}): false | import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default Loader;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const Page: {
|
|
2
|
+
Anchor: {
|
|
3
|
+
({ page, ...props }: import('../../../../../../types/layout/templates/PLP').PageSentinelProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
Card: {
|
|
7
|
+
({ first, gap, isMobile, item, index, last, order, page, showVideo, WishListToggle, CONSTANTS }: import('../../../../../../types/layout/templates/PLP').PageCardProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
Loader: {
|
|
11
|
+
({ type, page, ...props }: import('../../../../../../types/layout/templates/PLP').PageSentinelProps & {
|
|
12
|
+
type?: "page" | "default";
|
|
13
|
+
}): false | import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
NextPage: {
|
|
17
|
+
({ page, ...props }: import('../../../../../../types/layout/templates/PLP').PageSentinelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default Page;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InfiniteScroller';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NavigationProps } from '../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Navigation: {
|
|
4
|
+
({ searchParams, ICONS, PDC_NAVIGATION, PLP_FILTERS, PLP_FILTERS_COLORS, Z_INDEX_WAR }: NavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Navigation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Navigation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Notification';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Arrow';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LayoutProps } from '../../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Layout: {
|
|
4
|
+
({ children, endPage, page, total, selectedPage, ITEMS_PER_SECTION }: LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Layout;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Layout';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PageEllipses';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { LayoutProps } from '../../../../../../types/layout/templates/PLP';
|
|
3
|
+
|
|
4
|
+
export interface PageEllipsesProps extends HTMLAttributes<HTMLDivElement>, Pick<LayoutProps, 'selectedPage'> {
|
|
5
|
+
active?: boolean;
|
|
6
|
+
currentPage: number;
|
|
7
|
+
prev?: boolean;
|
|
8
|
+
ellipses?: boolean;
|
|
9
|
+
page: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PagesProps } from '../../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Pages: {
|
|
4
|
+
({ currentPage, pages, searchParams, VARIANT_PAGINATION }: PagesProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Pages;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pages';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PaginationProps } from '../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Pagination: {
|
|
4
|
+
({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_PAGE, ITEMS_PER_SECTION, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Pagination;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReadonlyURLSearchParams } from 'next/navigation';
|
|
2
|
+
import { PaginantionOptionsProps } from '../../../../../types/layout/templates/PLP';
|
|
3
|
+
|
|
4
|
+
export declare const getCurrentPagination: () => number;
|
|
5
|
+
export declare const getPage: (index: number, itemsPerPage: number, totalPages: number) => number;
|
|
6
|
+
export declare const createQueryString: (name: string, value: string, searchParams: ReadonlyURLSearchParams) => string;
|
|
7
|
+
export declare const createPages: (startPage: number, endPage: number) => number[];
|
|
8
|
+
export declare const paginationOptions: ({ currentPage, total, maxVisiblePages, SEARCH_PAGE_ITEM_THRESHOLD }: PaginantionOptionsProps) => {
|
|
9
|
+
startPage: number;
|
|
10
|
+
endPage: number;
|
|
11
|
+
totalPages: number;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pagination';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ProductsProps } from '../../../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const Products: {
|
|
4
|
+
({ isMobile, items, WishListToggle, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCTCARD_CONSTANTS }: ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Products;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Products';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PLPRootProps } from '../../../types/layout/templates/PLP';
|
|
2
|
+
|
|
3
|
+
declare const PDC: {
|
|
4
|
+
({ searchParams, className, PLP_INFINITE_SCROLL, PLP_SORT_DEFAULT, PLPFiltersProps, PLPGridProps, PLPNavigationProps, PLPPaginationProps, }: PLPRootProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default PDC;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const PDC: {
|
|
2
|
+
Empty: {
|
|
3
|
+
({ content, className, ICONS, PLP_NOT_RESULT }: import('../../../types/layout/templates/PLP').EmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
Filters: {
|
|
7
|
+
({ ICONS, PLP_FILTERS, PLP_FILTERS_COLORS, PLP_FILTERS_EMPTY, PLP_FILTERS_TITLE, PLP_SIZE_ORDER, }: import('../../../types/layout/templates/PLP').FiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
Grid: {
|
|
11
|
+
({ infinite, InfiniteScrollerProps, PDCContentProps }: import('../../../types/layout/templates/PLP').GridProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
InfiniteScroller: {
|
|
15
|
+
({ Notification, searchParams, ITEMS_PER_PAGE, ...props }: import('../../../types/layout/templates/PLP').InfiniteScrollerProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
Spinner: {
|
|
19
|
+
(props: import('react').HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
Navigation: {
|
|
23
|
+
({ searchParams, ICONS, PDC_NAVIGATION, PLP_FILTERS, PLP_FILTERS_COLORS, Z_INDEX_WAR }: import('../../../types/layout/templates/PLP').NavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
Notification: {
|
|
27
|
+
({ skus, ...props }: import('../../../types/layout/templates/PLP').NotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
Pagination: {
|
|
31
|
+
({ query, type, searchParams, ITEMS_DEFAULT_SORT, ITEMS_PER_PAGE, ITEMS_PER_SECTION, SEARCH_PAGE_ITEM_THRESHOLD, VARIANT_PAGINATION, ...props }: import('../../../types/layout/templates/PLP').PaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
34
|
+
Products: {
|
|
35
|
+
({ isMobile, items, WishListToggle, ICONS, NEWSLETTER_CONFIGS, NOTIFY_INFO, PRODUCTCARD_CONSTANTS }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default PDC;
|