@soma-vertical-web/multi-lib 1.0.42 → 1.0.44

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/layout/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { default as Politicas } from './template/Politicas/Politicas';
5
5
  import * as pdp from './template/PDP';
6
6
  export declare const layout: {
7
7
  teamComponents: {
8
- FreightCalculation: ({ className, sellerId, skuId, quantity, size, seller, local, CONSTANTS_PROPS, }: import('../types/layout/team-components/FreightCalculation').FreightCalculationProps) => import("react/jsx-runtime").JSX.Element;
8
+ FreightCalculation: ({ ...props }: import('../types/layout/team-components/FreightCalculation').FreightCalculationProps) => import("react/jsx-runtime").JSX.Element;
9
9
  Header: {
10
10
  ({ tipBar, minicartStyleModifiers, menuV2, storeConfig, className, }: import('../types/layout/team-components/Header').HeaderContainerProps): import("react/jsx-runtime").JSX.Element;
11
11
  displayName: string;
@@ -218,11 +218,11 @@ export declare const layout: {
218
218
  template: {
219
219
  minicart: {
220
220
  Body: {
221
- ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, }: import('../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
221
+ ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, FREIGHT_CALCULATION, }: import('../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
222
222
  displayName: string;
223
223
  };
224
224
  Card: {
225
- ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
225
+ ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, FREIGHT_CALCULATION, }: import('../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
226
226
  displayName: string;
227
227
  };
228
228
  Cashback: {
@@ -1,4 +1,4 @@
1
1
  import { DeliveryStatusBarProps } from '../../../../../types/layout/team-components/FreightCalculation';
2
2
 
3
- declare const DeliveryStatusBar: ({ message, seller, size, setError, }: DeliveryStatusBarProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const DeliveryStatusBar: ({ message, seller, hasCloseIcon, setError, }: DeliveryStatusBarProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default DeliveryStatusBar;
@@ -1,4 +1,4 @@
1
1
  import { PostalCodeInputProps } from '../../../../../types/layout/team-components/FreightCalculation';
2
2
 
3
- declare const Input: ({ onUpdateFreightItems, sellerId, size, skuId, quantity, setError, setIsButtonClicked, component, freightConfig, toolTipZIndex }: PostalCodeInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Input: ({ onUpdateFreightItems, sellerId, size, skuId, quantity, setError, setIsButtonClicked, component, freightConfig, toolTipZIndex, }: PostalCodeInputProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Input;
@@ -1,4 +1,4 @@
1
1
  import { FreightCalculationProps } from '../../../types/layout/team-components/FreightCalculation';
2
2
 
3
- declare const FreightCalculation: ({ className, sellerId, skuId, quantity, size, seller, local, CONSTANTS_PROPS, }: FreightCalculationProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const FreightCalculation: ({ ...props }: FreightCalculationProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default FreightCalculation;
@@ -0,0 +1,4 @@
1
+ import { FreightCalculationProps } from '../../../types/layout/team-components/FreightCalculation';
2
+
3
+ declare const FreightCalculationContent: ({ className, sellerId, skuId, quantity, size, seller, local, CONSTANTS_PROPS, }: FreightCalculationProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default FreightCalculationContent;
@@ -2,3 +2,9 @@ import { FreightOption, ShippingSimulationResponse } from '../../../types/layout
2
2
 
3
3
  export declare const formatShippingEstimate: (estimate: string) => string;
4
4
  export declare const freightParser: (cartSimulate: ShippingSimulationResponse) => FreightOption[];
5
+ type GeoCoordinates = [number, number];
6
+ export declare const getNearestPickupStore: (customerCoordinates: GeoCoordinates | undefined, logisticsInfo?: any[]) => {
7
+ pickupPoint: any;
8
+ distance: number;
9
+ } | null;
10
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { CardProps } from '../../../../../types/layout/templates/MiniCart/index';
2
2
 
3
3
  declare const Card: {
4
- ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: CardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, FREIGHT_CALCULATION, }: CardProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Card;
@@ -1,7 +1,7 @@
1
1
  import { ModalBodyProps } from '../../../../../../types/layout/templates/MiniCart';
2
2
 
3
3
  declare const Body: {
4
- ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, }: ModalBodyProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, FREIGHT_CALCULATION, }: ModalBodyProps): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export default Body;
@@ -1,4 +1,4 @@
1
1
  import { MiniCartProps } from '../../../types/layout/templates/MiniCart';
2
2
 
3
- declare const MiniCart: ({ ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, Z_INDEX_WAR, storeConfig, minicartStyleModifiers, }: MiniCartProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MiniCart: ({ ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, Z_INDEX_WAR, storeConfig, minicartStyleModifiers, FREIGHT_CALCULATION, }: MiniCartProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MiniCart;
@@ -1,10 +1,10 @@
1
1
  declare const MiniCart: {
2
2
  Body: {
3
- ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, }: import('../../../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ children, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, PLP_NOT_RESULT, TEXTURE_IMAGE, TIPBAR_CONFIGS, TOGGLE_STYLE_MODIFIER, FREIGHT_CALCULATION, }: import('../../../types/layout/templates/MiniCart').ModalBodyProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  Card: {
7
- ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, }: import('../../../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
7
+ ({ available, index, product, ICONS, MINICART_CONFIG, NAME_SPLIT_SYMBOL, TEXTURE_IMAGE, TOGGLE_STYLE_MODIFIER, FREIGHT_CALCULATION, }: import('../../../types/layout/templates/MiniCart').CardProps): import("react/jsx-runtime").JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  Cashback: {
@@ -1,4 +1,4 @@
1
1
  import { FreightProps } from '../../../../../../types/layout/templates/PDP';
2
2
 
3
- declare const Freight: ({ CURRENCY, DELIVERY_INFO_BOXES_ALLOWED, FREIGHT_CALCULATION, Z_INDEX_WAR }: FreightProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Freight: ({ CURRENCY, DELIVERY_INFO_BOXES_ALLOWED, FREIGHT_CALCULATION, Z_INDEX_WAR, }: FreightProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Freight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soma-vertical-web/multi-lib",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {