@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
@@ -1,8 +1,10 @@
1
+ import { ComponentType, PropsWithChildren } from 'react';
1
2
  import { IContentTypeResponseBase } from '../../Factories';
2
3
  import { BannerSectionType } from '../../Sections/Banner';
3
4
  import { NewsLetterSectionType } from '../../Sections/Newsletter';
4
5
  import { ProductCarouselSectionType } from '../../Sections/ProductCarousel';
5
6
  import { TextContentSectionType } from '../../Sections/TextContent';
7
+ import { GetContentTypeParams } from '../../../data/api/cms';
6
8
 
7
9
  export type DeviceType = 'mobile' | 'desktop';
8
10
  export interface Config {
@@ -15,3 +17,13 @@ export interface IWishlistContentType extends IContentTypeResponseBase {
15
17
  config: Config;
16
18
  sections: SectionType[];
17
19
  }
20
+ export interface WishlistScreeningProps extends PropsWithChildren {
21
+ data: IWishlistContentType[];
22
+ COMMON_PAGE_COLUMN_GAP: string;
23
+ SectionZone: ComponentType<any>;
24
+ responsive: Record<string, string>;
25
+ }
26
+ export interface WishlistContentProps extends PropsWithChildren, GetContentTypeParams {
27
+ SectionZone: ComponentType<any>;
28
+ WishlistScreening: ComponentType<any>;
29
+ }
@@ -0,0 +1,25 @@
1
+ export interface IConfig {
2
+ base: string;
3
+ orderformId: string;
4
+ resetOrderform?: () => void;
5
+ getOrderFormApiURL?: string;
6
+ sellerCode: string;
7
+ }
8
+ export interface IOrderform {
9
+ items: [any];
10
+ openTextField: {
11
+ value: string;
12
+ };
13
+ marketingData: {
14
+ coupon: string;
15
+ utmCampaign: string | undefined;
16
+ utmMedium: string | undefined;
17
+ utmSource: string | undefined;
18
+ utmiCampaign: string | undefined;
19
+ };
20
+ }
21
+ export declare enum TypePage {
22
+ base = "base",
23
+ shareCart = "shareCart",
24
+ sharePayment = "sharePayment"
25
+ }