@soma-vertical-web/multi-lib 1.0.21 → 1.0.22
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/LPLojas/LPLojaClientWrapper.d.ts +1 -1
- package/cms/ContentTypes/LPLojas/LPLojasContent.d.ts +1 -1
- package/cms/ContentTypes/LPLojas/helpers.d.ts +1 -7
- package/cms/ContentTypes/PolicyPage/PolicyPageContent.d.ts +3 -0
- package/cms/index.d.ts +1 -1
- package/cms/server.d.ts +2 -1
- package/contexts/contexts/lplojas/Context.d.ts +1 -1
- package/contexts/index.d.ts +2 -2
- package/index-D61YFVi9.mjs +2261 -0
- package/index-DyKuIyRP.js +4 -0
- package/index.js +16 -16
- package/index.mjs +7158 -6900
- package/index2.js +2 -2
- package/index2.mjs +949 -999
- package/layout/index.d.ts +6 -4
- package/layout/template/LPLojas/Composite/Details/Details.d.ts +1 -1
- package/layout/template/LPLojas/Composite/Details/Item.d.ts +1 -1
- package/layout/template/LPLojas/Composite/Details/Vendor.d.ts +1 -1
- package/layout/template/LPLojas/Composite/DropDown/DropDown.d.ts +1 -1
- package/layout/template/LPLojas/Composite/Root.d.ts +1 -1
- package/layout/template/LPLojas/index.d.ts +3 -3
- package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
- package/layout/template/PDC/index.d.ts +1 -1
- package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +1 -1
- package/layout/template/PDP/index.d.ts +2 -2
- package/layout/template/Politicas/Composite/Banner.d.ts +4 -0
- package/layout/template/Politicas/Composite/Container.d.ts +7 -0
- package/layout/template/Politicas/Composite/OneTrustPolicy.d.ts +14 -0
- package/layout/template/Politicas/Politicas.d.ts +10 -0
- package/package.json +1 -1
- package/server.d.ts +1 -3
- package/style.css +1 -1
- package/types/cms/ContentTypes/LPLojas/index.d.ts +22 -1
- package/types/cms/ContentTypes/PolicyPage/index.d.ts +17 -0
- package/types/cms/Sections/SectionZone/index.d.ts +1 -0
- package/types/contexts/contexts/plp.d.ts +1 -0
- package/types/contexts/hooks/index.d.ts +12 -0
- package/types/layout/team-components/ProductCard/index.d.ts +1 -0
- package/types/layout/team-components/ProductList/index.d.ts +2 -1
- package/types/layout/templates/LPLojas/Details/index.d.ts +18 -0
- package/types/layout/templates/LPLojas/DropDown/index.d.ts +10 -0
- package/types/layout/templates/LPLojas/index.d.ts +18 -0
- package/types/layout/templates/PDP/index.d.ts +1 -2
- package/types/layout/templates/PLP/index.d.ts +1 -0
- package/types/layout/templates/Politicas/index.d.ts +27 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LPStoresClientWrapperProps } from '
|
|
1
|
+
import { LPStoresClientWrapperProps } from '../../../types/cms/ContentTypes/LPLojas';
|
|
2
2
|
|
|
3
3
|
export declare const LPStoresClientWrapper: ({ content, data, showVendor, ICONS, entity, LPLOJAS_TEMPLATE_RETURN_BUTTON, }: LPStoresClientWrapperProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LPLojasContentProps } from '
|
|
1
|
+
import { LPLojasContentProps } from '../../../types/cms/ContentTypes/LPLojas';
|
|
2
2
|
|
|
3
3
|
export declare const LPLojasContent: ({ LPLOJAS_TEMPLATE_RETURN_BUTTON, ICONS, entity, showVendor, LPStoresClientWrapper, ...props }: LPLojasContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { StoreMetaData } from '../../../layout/
|
|
1
|
+
import { StoreMetaData } from '../../../types/layout/templates/LPLojas';
|
|
2
2
|
|
|
3
3
|
export declare const orderCities: (stores: StoreMetaData[]) => StoreMetaData[];
|
|
4
4
|
export declare const flattenStores: (groupedStores: Record<string, StoreMetaData[]>) => StoreMetaData[];
|
|
5
5
|
export declare const groupByState: (stores: StoreMetaData[]) => Record<string, StoreMetaData[]>;
|
|
6
6
|
export declare const sortObjectKeys: <T>(obj: Record<string, T> | undefined) => Record<string, T>;
|
|
7
|
-
type FetchAllMasterDataParams = {
|
|
8
|
-
entity: string;
|
|
9
|
-
baseUrl: string;
|
|
10
|
-
};
|
|
11
|
-
export declare function fetchMasterDataWithScroll({ entity, baseUrl, }: FetchAllMasterDataParams): Promise<StoreMetaData[]>;
|
|
12
|
-
export {};
|
package/cms/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const clientCMS: {
|
|
|
22
22
|
EmbedLive: ({ data, name }: import('../types/cms/Sections/EmbedLive').EmbedLiveProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
PopupModalSection: ({ data, name, CONSTANTS, }: import('../types/cms/Sections/PopupModal').PopupModalSectionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
24
24
|
SectionZone: import('react').FunctionComponent<import('../types/cms/Sections/SectionZone').SectionZoneProps>;
|
|
25
|
-
LPStoresClientWrapper: ({ content, data, showVendor, ICONS, entity, LPLOJAS_TEMPLATE_RETURN_BUTTON, }: import('
|
|
25
|
+
LPStoresClientWrapper: ({ content, data, showVendor, ICONS, entity, LPLOJAS_TEMPLATE_RETURN_BUTTON, }: import('../types/cms/ContentTypes/LPLojas').LPStoresClientWrapperProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
26
26
|
};
|
|
27
27
|
helpers: typeof helpers;
|
|
28
28
|
};
|
package/cms/server.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare const serverCMS: {
|
|
|
41
41
|
SearchPageContent: ({ children, SectionZone, className, ...props }: import('../types/cms/ContentTypes/Search').SearchPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
42
42
|
HelpButtonContent: ({ HelpButton, ICONS, className, ...props }: import('../types/cms/ContentTypes/HelpButton').HelpButtonContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
43
43
|
LPCadastroContent: ({ SectionZone, LPCadastro, ...props }: import('../types/layout/templates/LPCadastro').LPCadastroContentTypeProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
44
|
-
LPLojasContent: ({ LPLOJAS_TEMPLATE_RETURN_BUTTON, ICONS, entity, showVendor, LPStoresClientWrapper, ...props }: import('
|
|
44
|
+
LPLojasContent: ({ LPLOJAS_TEMPLATE_RETURN_BUTTON, ICONS, entity, showVendor, LPStoresClientWrapper, ...props }: import('../types/cms/ContentTypes/LPLojas').LPLojasContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
45
|
+
PolicyPageContent: ({ slug, Politicas, SectionZone, oneTrust, ...props }: import('../types/cms/ContentTypes/PolicyPage').PolicyPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
45
46
|
};
|
|
46
47
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LPStoreContextProps, LPStoreProviderProps } from '../../../layout/
|
|
1
|
+
import { LPStoreContextProps, LPStoreProviderProps } from '../../../types/layout/templates/LPLojas';
|
|
2
2
|
|
|
3
3
|
declare const LPStoreContext: import('react').Context<LPStoreContextProps>;
|
|
4
4
|
declare const LPStoreProvider: ({ children, data }: LPStoreProviderProps) => import("react/jsx-runtime").JSX.Element;
|
package/contexts/index.d.ts
CHANGED
|
@@ -124,8 +124,8 @@ export declare const contexts: {
|
|
|
124
124
|
provider: ({ children, ...props }: import('../types/contexts/contexts/cart').UIProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
125
125
|
};
|
|
126
126
|
lpStore: {
|
|
127
|
-
hook: () => import('../layout/
|
|
128
|
-
provider: ({ children, data }: import('../layout/
|
|
127
|
+
hook: () => import('../types/layout/templates/LPLojas').LPStoreContextProps;
|
|
128
|
+
provider: ({ children, data }: import('../types/layout/templates/LPLojas').LPStoreProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
hooks: {
|