@soma-vertical-web/multi-lib 1.0.20 → 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/Session.d.ts +1 -1
- package/contexts/contexts/lplojas/Context.d.ts +1 -1
- package/contexts/index.d.ts +3 -3
- package/data/api/checkout/order-form/shipping/update/index.d.ts +2 -2
- package/data/api/user/index.d.ts +3 -0
- package/index-BhiCzrut.mjs +2255 -0
- package/index-D61YFVi9.mjs +2261 -0
- package/index-DZ1MbO8M.js +4 -0
- package/index-DyKuIyRP.js +4 -0
- package/index.js +16 -16
- package/index.mjs +8267 -8056
- package/index2.js +8 -1
- package/index2.mjs +2266 -1114
- package/layout/index.d.ts +7 -3
- 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/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/layout/template/TrackingRouteWatcher/index.d.ts +5 -0
- package/package.json +1 -1
- package/server.d.ts +2 -0
- 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/contexts/contexts/session.d.ts +1 -0
- 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/Politicas/index.d.ts +27 -0
package/layout/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { helpers as FilterHelpers } from './team-component/Filter';
|
|
2
2
|
import { default as LPCadastro } from './template/LPCadastro';
|
|
3
|
+
import { default as tracker } from './template/TrackingRouteWatcher';
|
|
4
|
+
import { default as Politicas } from './template/Politicas/Politicas';
|
|
3
5
|
import * as pdp from './template/PDP';
|
|
4
6
|
export declare const layout: {
|
|
5
7
|
teamComponents: {
|
|
@@ -340,11 +342,11 @@ export declare const layout: {
|
|
|
340
342
|
displayName: string;
|
|
341
343
|
};
|
|
342
344
|
Details: {
|
|
343
|
-
({ store, showVendor, ICONS }: import('
|
|
345
|
+
({ store, showVendor, ICONS }: import('../types/layout/templates/LPLojas/Details').DetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
344
346
|
displayName: string;
|
|
345
347
|
};
|
|
346
348
|
DropDown: {
|
|
347
|
-
({ ICONS, arrowDownIcon, arrowUpIcon, list, selectText, ...rest }: import('
|
|
349
|
+
({ ICONS, arrowDownIcon, arrowUpIcon, list, selectText, ...rest }: import('../types/layout/templates/LPLojas/DropDown').DropDownProps): import("react/jsx-runtime").JSX.Element;
|
|
348
350
|
displayName: string;
|
|
349
351
|
};
|
|
350
352
|
ReturnButton: {
|
|
@@ -352,7 +354,7 @@ export declare const layout: {
|
|
|
352
354
|
displayName: string;
|
|
353
355
|
};
|
|
354
356
|
Root: {
|
|
355
|
-
({ children, data }: import('
|
|
357
|
+
({ children, data }: import('../types/layout/templates/LPLojas').RootProps): import("react/jsx-runtime").JSX.Element;
|
|
356
358
|
displayName: string;
|
|
357
359
|
};
|
|
358
360
|
Section: {
|
|
@@ -368,6 +370,8 @@ export declare const layout: {
|
|
|
368
370
|
displayName: string;
|
|
369
371
|
};
|
|
370
372
|
};
|
|
373
|
+
tracker: typeof tracker;
|
|
374
|
+
Politicas: typeof Politicas;
|
|
371
375
|
};
|
|
372
376
|
utils: {
|
|
373
377
|
EventCollector: ({ page, data }: import('react').PropsWithChildren & import('../types/data/events').CollectorProps) => null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropDownProps } from '
|
|
1
|
+
import { DropDownProps } from '../../../../../types/layout/templates/LPLojas/DropDown';
|
|
2
2
|
|
|
3
3
|
declare const DropDown: {
|
|
4
4
|
({ ICONS, arrowDownIcon, arrowUpIcon, list, selectText, ...rest }: DropDownProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,11 +4,11 @@ declare const LPStores: {
|
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
Details: {
|
|
7
|
-
({ store, showVendor, ICONS }: import('
|
|
7
|
+
({ store, showVendor, ICONS }: import('../../../types/layout/templates/LPLojas/Details').DetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
DropDown: {
|
|
11
|
-
({ ICONS, arrowDownIcon, arrowUpIcon, list, selectText, ...rest }: import('
|
|
11
|
+
({ ICONS, arrowDownIcon, arrowUpIcon, list, selectText, ...rest }: import('../../../types/layout/templates/LPLojas/DropDown').DropDownProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
ReturnButton: {
|
|
@@ -16,7 +16,7 @@ declare const LPStores: {
|
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
Root: {
|
|
19
|
-
({ children, data }: import('
|
|
19
|
+
({ children, data }: import('../../../types/layout/templates/LPLojas').RootProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
Section: {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OneTrustProps } from '../../../../types/layout/templates/Politicas';
|
|
2
|
+
|
|
3
|
+
declare global {
|
|
4
|
+
interface Window {
|
|
5
|
+
OneTrust: {
|
|
6
|
+
NoticeApi: {
|
|
7
|
+
Initialized: Promise<() => void>;
|
|
8
|
+
LoadNotices: (key: Array<string>) => void;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
declare const OneTrustPolicy: ({ oneTrust }: OneTrustProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default OneTrustPolicy;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IPolicyPage, IPolicyTab } from '../../../types/cms/ContentTypes/PolicyPage';
|
|
2
|
+
import { OneTrustConfig } from '../../../types/layout/templates/Politicas';
|
|
3
|
+
|
|
4
|
+
declare function Politicas({ slug, pageData, tabsData, oneTrust, }: {
|
|
5
|
+
slug: string;
|
|
6
|
+
pageData: IPolicyPage;
|
|
7
|
+
tabsData: IPolicyTab[];
|
|
8
|
+
oneTrust: OneTrustConfig;
|
|
9
|
+
}): Promise<import("react/jsx-runtime").JSX.Element>;
|
|
10
|
+
export default Politicas;
|
package/package.json
CHANGED
package/server.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as catalog from './data/api/catalog';
|
|
|
5
5
|
import * as cms from './data/api/cms';
|
|
6
6
|
import * as search from './data/api/search';
|
|
7
7
|
import * as masterdata from './data/api/master-data';
|
|
8
|
+
import * as user from './data/api/user';
|
|
8
9
|
import * as catalogHelpers from './data/helpers/catalog';
|
|
9
10
|
import * as productHelpers from './data/helpers/product';
|
|
10
11
|
declare const serverAPIs: {
|
|
@@ -13,6 +14,7 @@ declare const serverAPIs: {
|
|
|
13
14
|
cms: typeof cms;
|
|
14
15
|
search: typeof search;
|
|
15
16
|
masterdata: typeof masterdata;
|
|
17
|
+
user: typeof user;
|
|
16
18
|
wishlist: {
|
|
17
19
|
getWishlistProducts({ body, apiUrl, extraData, fetchOptions }: import('./types/data/api').FetchFunctionsProps<any>): Promise<any>;
|
|
18
20
|
};
|