@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.
Files changed (45) hide show
  1. package/cms/ContentTypes/LPLojas/LPLojaClientWrapper.d.ts +1 -1
  2. package/cms/ContentTypes/LPLojas/LPLojasContent.d.ts +1 -1
  3. package/cms/ContentTypes/LPLojas/helpers.d.ts +1 -7
  4. package/cms/ContentTypes/PolicyPage/PolicyPageContent.d.ts +3 -0
  5. package/cms/index.d.ts +1 -1
  6. package/cms/server.d.ts +2 -1
  7. package/contexts/contexts/lplojas/Context.d.ts +1 -1
  8. package/contexts/index.d.ts +2 -2
  9. package/index-D61YFVi9.mjs +2261 -0
  10. package/index-DyKuIyRP.js +4 -0
  11. package/index.js +16 -16
  12. package/index.mjs +7158 -6900
  13. package/index2.js +2 -2
  14. package/index2.mjs +949 -999
  15. package/layout/index.d.ts +6 -4
  16. package/layout/template/LPLojas/Composite/Details/Details.d.ts +1 -1
  17. package/layout/template/LPLojas/Composite/Details/Item.d.ts +1 -1
  18. package/layout/template/LPLojas/Composite/Details/Vendor.d.ts +1 -1
  19. package/layout/template/LPLojas/Composite/DropDown/DropDown.d.ts +1 -1
  20. package/layout/template/LPLojas/Composite/Root.d.ts +1 -1
  21. package/layout/template/LPLojas/index.d.ts +3 -3
  22. package/layout/template/PDC/Composite/Products/Products.d.ts +1 -1
  23. package/layout/template/PDC/index.d.ts +1 -1
  24. package/layout/template/PDP/Composite/Info/MainContent/Similars/index.d.ts +1 -1
  25. package/layout/template/PDP/index.d.ts +2 -2
  26. package/layout/template/Politicas/Composite/Banner.d.ts +4 -0
  27. package/layout/template/Politicas/Composite/Container.d.ts +7 -0
  28. package/layout/template/Politicas/Composite/OneTrustPolicy.d.ts +14 -0
  29. package/layout/template/Politicas/Politicas.d.ts +10 -0
  30. package/package.json +1 -1
  31. package/server.d.ts +1 -3
  32. package/style.css +1 -1
  33. package/types/cms/ContentTypes/LPLojas/index.d.ts +22 -1
  34. package/types/cms/ContentTypes/PolicyPage/index.d.ts +17 -0
  35. package/types/cms/Sections/SectionZone/index.d.ts +1 -0
  36. package/types/contexts/contexts/plp.d.ts +1 -0
  37. package/types/contexts/hooks/index.d.ts +12 -0
  38. package/types/layout/team-components/ProductCard/index.d.ts +1 -0
  39. package/types/layout/team-components/ProductList/index.d.ts +2 -1
  40. package/types/layout/templates/LPLojas/Details/index.d.ts +18 -0
  41. package/types/layout/templates/LPLojas/DropDown/index.d.ts +10 -0
  42. package/types/layout/templates/LPLojas/index.d.ts +18 -0
  43. package/types/layout/templates/PDP/index.d.ts +1 -2
  44. package/types/layout/templates/PLP/index.d.ts +1 -0
  45. package/types/layout/templates/Politicas/index.d.ts +27 -0
@@ -1,3 +1,3 @@
1
- import { LPStoresClientWrapperProps } from './typing';
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 './typing';
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/template/LPLojas/interfaces';
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 {};
@@ -0,0 +1,3 @@
1
+ import { PolicyPageContentProps } from '../../../types/cms/ContentTypes/PolicyPage';
2
+
3
+ export declare const PolicyPageContent: ({ slug, Politicas, SectionZone, oneTrust, ...props }: PolicyPageContentProps) => Promise<import("react/jsx-runtime").JSX.Element | null>;
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('./ContentTypes/LPLojas/typing').LPStoresClientWrapperProps) => import("react/jsx-runtime").JSX.Element | null;
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('./ContentTypes/LPLojas/typing').LPLojasContentProps) => Promise<import("react/jsx-runtime").JSX.Element>;
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/template/LPLojas/interfaces';
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;
@@ -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/template/LPLojas/interfaces').LPStoreContextProps;
128
- provider: ({ children, data }: import('../layout/template/LPLojas/interfaces').LPStoreProviderProps) => import("react/jsx-runtime").JSX.Element;
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: {