@soma-vertical-web/multi-lib 1.0.24 → 1.0.25
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/Wishlist/WishlistContent.d.ts +3 -0
- package/cms/ContentTypes/Wishlist/WishlistScreening.d.ts +3 -0
- package/cms/index.d.ts +1 -0
- package/cms/server.d.ts +1 -0
- package/contexts/hooks/useOrderform.d.ts +16 -0
- package/data/api/maisCarrinho/Api.d.ts +9 -0
- package/data/api/maisCarrinho/URLGenerator.d.ts +4 -0
- package/data/api/maisCarrinho/encurtador.d.ts +1 -0
- package/data/api/maisCarrinho/utils.d.ts +2 -0
- package/data/api/marketingData/index.d.ts +25 -0
- package/{index-DjjGiBzS.mjs → index-BM8vTUKg.mjs} +745 -672
- package/index-CZjoMPpQ.js +4 -0
- package/index.js +16 -15
- package/index.mjs +5992 -5602
- package/index2.js +2 -2
- package/index2.mjs +471 -486
- package/layout/index.d.ts +6 -0
- package/layout/template/MaisCarrinho/WidgetVendedora.d.ts +8 -0
- package/layout/template/MaisCarrinho/components/ActionButton/ActionButton.d.ts +8 -0
- package/layout/template/MaisCarrinho/components/ActionButton/index.d.ts +1 -0
- package/layout/template/MaisCarrinho/components/SharePanel/SharePanel.d.ts +9 -0
- package/layout/template/MaisCarrinho/components/SharePanel/index.d.ts +1 -0
- package/layout/template/MaisCarrinho/index.d.ts +1 -0
- package/package.json +1 -1
- package/server.d.ts +2 -0
- package/style.css +1 -1
- package/types/cms/ContentTypes/Wishlist/index.d.ts +12 -0
- package/types/layout/templates/MaisCarrinho/index.d.ts +25 -0
- package/index-3re_PcOZ.mjs +0 -2234
- package/index-5ycwc4R2.mjs +0 -2230
- package/index-BngdrDvh.js +0 -4
- package/index-ByLB8d6o.js +0 -4
- package/index-Rwk0NGoh.js +0 -4
package/layout/index.d.ts
CHANGED
|
@@ -150,6 +150,11 @@ export declare const layout: {
|
|
|
150
150
|
className?: string;
|
|
151
151
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
152
152
|
};
|
|
153
|
+
Table: {
|
|
154
|
+
Head: ({ head, className, }: import('../types/layout/team-components/Table').HeadProps) => import("react/jsx-runtime").JSX.Element;
|
|
155
|
+
Rows: ({ rows, className, }: import('../types/layout/team-components/Table').RowsProps) => import("react/jsx-runtime").JSX.Element;
|
|
156
|
+
Root: ({ children, className, }: import('../types/layout/team-components/Table').RootProps) => import("react/jsx-runtime").JSX.Element;
|
|
157
|
+
};
|
|
153
158
|
Footer: {
|
|
154
159
|
({ data: { links: { links }, }, payments, socialInfo, socialMedias, adornment, LEGAL_INFORMATION_TEXT, ICONS, className, hasFooterStamps, }: import('../types/layout/team-components/Footer').IFooter): import("react/jsx-runtime").JSX.Element;
|
|
155
160
|
displayName: string;
|
|
@@ -376,6 +381,7 @@ export declare const layout: {
|
|
|
376
381
|
({ data, ERROR_TEMPLATE_RETURN_BUTTON, }: import('../types/layout/templates/ErrorTemplate').ErrorTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
377
382
|
displayName: string;
|
|
378
383
|
};
|
|
384
|
+
WidgetVendedora: ({ config, isshowing }: import('./template/MaisCarrinho/WidgetVendedora').WidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
379
385
|
};
|
|
380
386
|
utils: {
|
|
381
387
|
EventCollector: ({ page, data }: import('react').PropsWithChildren & import('../types/data/events').CollectorProps) => null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IConfig } from '../../../types/layout/templates/MaisCarrinho';
|
|
2
|
+
|
|
3
|
+
export interface WidgetProps {
|
|
4
|
+
config: IConfig;
|
|
5
|
+
isshowing?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const WidgetVendedora: ({ config, isshowing }: WidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default WidgetVendedora;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ActionButton';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IConfig } from '../../../../../types/layout/templates/MaisCarrinho';
|
|
2
|
+
|
|
3
|
+
type ModeType = {
|
|
4
|
+
mode: string;
|
|
5
|
+
config: IConfig;
|
|
6
|
+
newCart: () => void;
|
|
7
|
+
};
|
|
8
|
+
export default function SharePanel({ mode, config, newCart }: ModeType): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SharePanel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './WidgetVendedora';
|
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 marketingdata from './data/api/marketingData';
|
|
8
9
|
import * as user from './data/api/user';
|
|
9
10
|
import * as catalogHelpers from './data/helpers/catalog';
|
|
10
11
|
import * as productHelpers from './data/helpers/product';
|
|
@@ -14,6 +15,7 @@ declare const serverAPIs: {
|
|
|
14
15
|
cms: typeof cms;
|
|
15
16
|
search: typeof search;
|
|
16
17
|
masterdata: typeof masterdata;
|
|
18
|
+
marketingdata: typeof marketingdata;
|
|
17
19
|
user: typeof user;
|
|
18
20
|
wishlist: {
|
|
19
21
|
getWishlistProducts({ body, apiUrl, extraData, fetchOptions }: import('./types/data/api').FetchFunctionsProps<any>): Promise<any>;
|