@soma-vertical-web/multi-lib 1.0.41 → 1.0.43
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/contexts/contexts/freight/FreightContext.d.ts +6 -0
- package/contexts/hooks/useSessionManager.d.ts +1 -1
- package/contexts/index.d.ts +5 -1
- package/index-D0pfUPz6.mjs +2700 -0
- package/index-KfRbLX44.js +4 -0
- package/index.js +20 -20
- package/index.mjs +4175 -4075
- package/index2.js +1 -1
- package/index2.mjs +1 -1
- package/layout/index.d.ts +3 -3
- package/layout/team-component/FreightCalculation/Composite/PostalCode/DeliveryInfoBar.d.ts +1 -1
- package/layout/team-component/FreightCalculation/Composite/PostalCode/Input.d.ts +1 -1
- package/layout/team-component/FreightCalculation/FreightCalculation.d.ts +1 -1
- package/layout/team-component/FreightCalculation/FreightCalculationContent.d.ts +4 -0
- package/layout/team-component/FreightCalculation/helpers.d.ts +6 -0
- package/layout/template/MiniCart/Composite/Card/Card.d.ts +1 -1
- package/layout/template/MiniCart/Composite/Modal/Body/Body.d.ts +1 -1
- package/layout/template/MiniCart/MiniCart.d.ts +1 -1
- package/layout/template/MiniCart/index.d.ts +2 -2
- package/layout/template/PDP/Composite/Info/SecondaryContent/Freight.d.ts +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/data/events/index.d.ts +1 -1
- package/types/layout/team-components/FreightCalculation/index.d.ts +9 -4
- package/types/layout/team-components/Header/index.d.ts +2 -1
- package/types/layout/templates/MiniCart/index.d.ts +4 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FreightContextProps, FreightProviderProps } from '../../../types/layout/team-components/FreightCalculation';
|
|
2
|
+
|
|
3
|
+
declare const FreightContext: import('react').Context<FreightContextProps>;
|
|
4
|
+
declare const FreightProvider: ({ children }: FreightProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const useFreightContext: () => FreightContextProps;
|
|
6
|
+
export { FreightContext, FreightProvider, useFreightContext };
|
|
@@ -21,7 +21,7 @@ export declare const SESSION_COOKIES: {
|
|
|
21
21
|
duration: number;
|
|
22
22
|
}[];
|
|
23
23
|
export declare const useSessionManager: ({ storeId, storeUrl }: SessionProps) => {
|
|
24
|
-
sendSearchEvent: (type: EventType, data?: DataType) => Promise<Response
|
|
24
|
+
sendSearchEvent: (type: EventType, data?: DataType) => Promise<Response> | undefined;
|
|
25
25
|
sessionGenerator: () => void;
|
|
26
26
|
};
|
|
27
27
|
export {};
|
package/contexts/index.d.ts
CHANGED
|
@@ -115,6 +115,10 @@ export declare const contexts: {
|
|
|
115
115
|
hook: () => import('../types/layout/templates/LPLojas').LPStoreContextProps;
|
|
116
116
|
provider: ({ children, data }: import('../types/layout/templates/LPLojas').LPStoreProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
117
117
|
};
|
|
118
|
+
freight: {
|
|
119
|
+
hook: () => import('../types/layout/team-components/FreightCalculation').FreightContextProps;
|
|
120
|
+
provider: ({ children }: import('../types/layout/team-components/FreightCalculation').FreightProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
121
|
+
};
|
|
118
122
|
};
|
|
119
123
|
hooks: {
|
|
120
124
|
useBackPDC: ({ gridScrollBack }: import('../types/contexts/hooks').UseBackPDCProps) => void;
|
|
@@ -152,7 +156,7 @@ export declare const contexts: {
|
|
|
152
156
|
misspelled?: boolean;
|
|
153
157
|
match?: number;
|
|
154
158
|
operator?: string;
|
|
155
|
-
}) => Promise<Response
|
|
159
|
+
}) => Promise<Response> | undefined;
|
|
156
160
|
sessionGenerator: () => void;
|
|
157
161
|
};
|
|
158
162
|
};
|