@soma-vertical-web/multi-lib 1.0.20 → 1.0.21
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/Session.d.ts +1 -1
- package/contexts/index.d.ts +1 -1
- 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-DZ1MbO8M.js +4 -0
- package/index.js +16 -16
- package/index.mjs +8350 -8397
- package/index2.js +8 -1
- package/index2.mjs +2341 -1139
- package/layout/index.d.ts +3 -1
- 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/TrackingRouteWatcher/index.d.ts +5 -0
- package/package.json +1 -1
- package/server.d.ts +5 -1
- package/style.css +1 -1
- package/types/cms/Sections/SectionZone/index.d.ts +0 -1
- package/types/contexts/contexts/plp.d.ts +0 -1
- package/types/contexts/contexts/session.d.ts +1 -0
- package/types/contexts/hooks/index.d.ts +0 -12
- 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/PDP/index.d.ts +2 -1
- package/types/layout/templates/PLP/index.d.ts +0 -1
package/layout/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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';
|
|
3
4
|
import * as pdp from './template/PDP';
|
|
4
5
|
export declare const layout: {
|
|
5
6
|
teamComponents: {
|
|
@@ -297,7 +298,7 @@ export declare const layout: {
|
|
|
297
298
|
displayName: string;
|
|
298
299
|
};
|
|
299
300
|
Products: {
|
|
300
|
-
({ 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, PLP_SIZE_ORDER, 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,
|
|
301
|
+
({ 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, PLP_SIZE_ORDER, 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, }: import('../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
301
302
|
displayName: string;
|
|
302
303
|
};
|
|
303
304
|
};
|
|
@@ -368,6 +369,7 @@ export declare const layout: {
|
|
|
368
369
|
displayName: string;
|
|
369
370
|
};
|
|
370
371
|
};
|
|
372
|
+
tracker: typeof tracker;
|
|
371
373
|
};
|
|
372
374
|
utils: {
|
|
373
375
|
EventCollector: ({ page, data }: import('react').PropsWithChildren & import('../types/data/events').CollectorProps) => null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductsProps } from '../../../../../types/layout/templates/PLP';
|
|
2
2
|
|
|
3
3
|
declare const Products: {
|
|
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, PLP_SIZE_ORDER, 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,
|
|
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, PLP_SIZE_ORDER, 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, }: ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Products;
|
|
@@ -32,7 +32,7 @@ declare const PDC: {
|
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
Products: {
|
|
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, PLP_SIZE_ORDER, 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,
|
|
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, PLP_SIZE_ORDER, 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, }: import('../../../types/layout/templates/PLP').ProductsProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PDPSimilarsType } from '../../../../../../../types/layout/templates/PDP';
|
|
2
2
|
|
|
3
|
-
export declare const PDPSimilars: ({ children,
|
|
3
|
+
export declare const PDPSimilars: ({ children, apiUrl, productId, ClientItems, PDP_INFO, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: PDPSimilarsType) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PDPSimilars } from './Composite/Info/MainContent/Similars/index';
|
|
2
1
|
import { default as AccessibilityInfo } from './Composite/Info/MainContent/Similars/AccessibilityInfo';
|
|
3
2
|
import { default as Actions } from './Composite/Info/MainContent/Actions';
|
|
4
3
|
import { default as BreadCrumb } from './Composite/BreadCrumb';
|
|
@@ -12,10 +11,11 @@ import { default as MainContent } from './Composite/Info/MainContent/Root';
|
|
|
12
11
|
import { default as MainInfo } from './Composite/Info/Root';
|
|
13
12
|
import { default as Price } from './Composite/Info/MainContent/Price';
|
|
14
13
|
import { default as ProductMeasurements } from './Composite/Info/MainContent/ProductMeasurements';
|
|
14
|
+
import { default as SimilarsItems } from './Composite/Info/MainContent/Similars/Items';
|
|
15
15
|
import { default as Sizes } from './Composite/Info/MainContent/Sizes';
|
|
16
16
|
import { default as SubSectionWrapper } from './Composite/Info/MainContent/SubSectionWrapper';
|
|
17
17
|
import { containers } from './Composite/Containers';
|
|
18
18
|
import { default as Divider } from './Composite/Info/Divider';
|
|
19
19
|
import { default as GoldenTag } from './Composite/Info/MainContent/Header/GoldenTag';
|
|
20
20
|
|
|
21
|
-
export { AccessibilityInfo, Actions, BreadCrumb, Credits, DescriptionsTabs, Divider, Freight, Gallery, GoldenTag, Header, Links, MainContent, MainInfo, Price, ProductMeasurements, Sizes, SubSectionWrapper,
|
|
21
|
+
export { AccessibilityInfo, Actions, BreadCrumb, Credits, DescriptionsTabs, Divider, Freight, Gallery, GoldenTag, Header, Links, MainContent, MainInfo, Price, ProductMeasurements, SimilarsItems, Sizes, SubSectionWrapper, containers };
|
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
|
};
|
|
@@ -50,7 +52,9 @@ declare const serverHelpers: {
|
|
|
50
52
|
};
|
|
51
53
|
declare const serverComponents: {
|
|
52
54
|
template: {
|
|
53
|
-
pdp: {
|
|
55
|
+
pdp: {
|
|
56
|
+
PDPSimilars: ({ children, apiUrl, productId, ClientItems, PDP_INFO, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER }: import('./types/layout/templates/PDP').PDPSimilarsType) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
57
|
+
};
|
|
54
58
|
};
|
|
55
59
|
};
|
|
56
60
|
export { serverAPIs, serverHelpers, serverCMS, serverComponents };
|