@soma-vertical-web/multi-lib 1.0.21 → 1.0.23

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 (67) 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-BhiCzrut.mjs → index-DjjGiBzS.mjs} +829 -868
  10. package/index-Rwk0NGoh.js +4 -0
  11. package/index.js +16 -16
  12. package/index.mjs +7234 -6972
  13. package/index2.js +2 -2
  14. package/index2.mjs +937 -987
  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/layout/template/QuickShop/Composite/Body.d.ts +1 -1
  31. package/layout/template/QuickShop/Composite/Similars.d.ts +1 -1
  32. package/package.json +1 -1
  33. package/server.d.ts +1 -3
  34. package/style.css +1 -1
  35. package/types/cms/ContentTypes/LPLojas/index.d.ts +22 -1
  36. package/types/cms/ContentTypes/PolicyPage/index.d.ts +17 -0
  37. package/types/cms/Sections/SectionZone/index.d.ts +1 -0
  38. package/types/contexts/contexts/plp.d.ts +1 -0
  39. package/types/contexts/hooks/index.d.ts +12 -0
  40. package/types/layout/team-components/ProductCard/index.d.ts +1 -0
  41. package/types/layout/team-components/ProductList/index.d.ts +2 -1
  42. package/{layout/template/LPLojas/Composite/Details/interfaces.d.ts → types/layout/templates/LPLojas/Details/index.d.ts} +2 -2
  43. package/{layout/template/LPLojas/interfaces.d.ts → types/layout/templates/LPLojas/index.d.ts} +1 -1
  44. package/types/layout/templates/PDP/index.d.ts +1 -2
  45. package/types/layout/templates/PLP/index.d.ts +1 -0
  46. package/types/layout/templates/Politicas/index.d.ts +27 -0
  47. package/types/layout/templates/QuickShop/index.d.ts +2 -1
  48. package/cms/ContentTypes/LPLojas/typing.d.ts +0 -33
  49. package/contexts/contexts/search/QueryFacets.d.ts +0 -5
  50. package/contexts/contexts/search/QueryProducts.d.ts +0 -5
  51. package/contexts/contexts/search/RootTank.d.ts +0 -9
  52. package/index-4tOP7lCS.js +0 -4
  53. package/index-67k__dSl.mjs +0 -1908
  54. package/index-BFX4NpXJ.js +0 -4
  55. package/index-BlwJMBFA.mjs +0 -1890
  56. package/index-ByhWQJ9Z.mjs +0 -1844
  57. package/index-CkpbvnLx.mjs +0 -1830
  58. package/index-CpUjW-m9.mjs +0 -1877
  59. package/index-D0LSqsck.js +0 -4
  60. package/index-DZ1MbO8M.js +0 -4
  61. package/index-Dj1bg0lu.mjs +0 -1826
  62. package/index-DvhdPe3b.js +0 -4
  63. package/index-dtcYsqh-.js +0 -4
  64. package/index-xWhZ_YcF.js +0 -4
  65. package/layout/template/LPLojas/constant.d.ts +0 -1
  66. package/layout/template/SearchResult/Composite/Products.d.ts +0 -7
  67. /package/{layout/template/LPLojas/Composite/DropDown/interfaces.d.ts → types/layout/templates/LPLojas/DropDown/index.d.ts} +0 -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: {