@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.
Files changed (33) hide show
  1. package/cms/ContentTypes/Wishlist/WishlistContent.d.ts +3 -0
  2. package/cms/ContentTypes/Wishlist/WishlistScreening.d.ts +3 -0
  3. package/cms/index.d.ts +1 -0
  4. package/cms/server.d.ts +1 -0
  5. package/contexts/hooks/useOrderform.d.ts +16 -0
  6. package/data/api/maisCarrinho/Api.d.ts +9 -0
  7. package/data/api/maisCarrinho/URLGenerator.d.ts +4 -0
  8. package/data/api/maisCarrinho/encurtador.d.ts +1 -0
  9. package/data/api/maisCarrinho/utils.d.ts +2 -0
  10. package/data/api/marketingData/index.d.ts +25 -0
  11. package/{index-DjjGiBzS.mjs → index-BM8vTUKg.mjs} +745 -672
  12. package/index-CZjoMPpQ.js +4 -0
  13. package/index.js +16 -15
  14. package/index.mjs +5992 -5602
  15. package/index2.js +2 -2
  16. package/index2.mjs +471 -486
  17. package/layout/index.d.ts +6 -0
  18. package/layout/template/MaisCarrinho/WidgetVendedora.d.ts +8 -0
  19. package/layout/template/MaisCarrinho/components/ActionButton/ActionButton.d.ts +8 -0
  20. package/layout/template/MaisCarrinho/components/ActionButton/index.d.ts +1 -0
  21. package/layout/template/MaisCarrinho/components/SharePanel/SharePanel.d.ts +9 -0
  22. package/layout/template/MaisCarrinho/components/SharePanel/index.d.ts +1 -0
  23. package/layout/template/MaisCarrinho/index.d.ts +1 -0
  24. package/package.json +1 -1
  25. package/server.d.ts +2 -0
  26. package/style.css +1 -1
  27. package/types/cms/ContentTypes/Wishlist/index.d.ts +12 -0
  28. package/types/layout/templates/MaisCarrinho/index.d.ts +25 -0
  29. package/index-3re_PcOZ.mjs +0 -2234
  30. package/index-5ycwc4R2.mjs +0 -2230
  31. package/index-BngdrDvh.js +0 -4
  32. package/index-ByLB8d6o.js +0 -4
  33. 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,8 @@
1
+ interface IActionButton {
2
+ icon: string;
3
+ text: string;
4
+ onClick: () => void;
5
+ isActive?: boolean;
6
+ }
7
+ export default function ActionButton({ icon, text, onClick, isActive, }: IActionButton): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soma-vertical-web/multi-lib",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
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>;