@storepecker/storefront-core 2.6.1 → 2.6.3
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/dist/api/index.cjs +28 -19
- package/dist/api/index.d.cts +20 -7
- package/dist/api/index.d.ts +20 -7
- package/dist/api/index.js +11 -3
- package/dist/{cart-DV1HcSC6.d.ts → cart-BGIsIZdM.d.ts} +1 -1
- package/dist/{cart-lJvJzaoH.d.cts → cart-CyN2JQTw.d.cts} +1 -1
- package/dist/checkout/index.cjs +1 -1
- package/dist/checkout/index.d.cts +3 -3
- package/dist/checkout/index.d.ts +3 -3
- package/dist/checkout/index.js +1 -1
- package/dist/{chunk-PARH5TBK.cjs → chunk-5BT3MH4A.cjs} +3 -3
- package/dist/{chunk-EGFOTJPC.js → chunk-5XVHYPOC.js} +1 -1
- package/dist/{chunk-OTMTHA5C.cjs → chunk-6LS5F4R3.cjs} +80 -0
- package/dist/{chunk-F45S7UWC.js → chunk-CBKJ3Y2I.js} +80 -1
- package/dist/{chunk-QAC72HKO.js → chunk-H32TICAM.js} +14 -13
- package/dist/{chunk-6Q7QMPOQ.js → chunk-ICKTXS6B.js} +1 -1
- package/dist/{chunk-HAQWCNDY.cjs → chunk-IG4BW3ZB.cjs} +3 -3
- package/dist/{chunk-KLNKIQQM.cjs → chunk-IVKJJLG7.cjs} +2 -2
- package/dist/{chunk-SMHJRNCR.cjs → chunk-LCMJYFHC.cjs} +14 -13
- package/dist/{chunk-6NFWEJSD.js → chunk-PGBYYKFQ.js} +5 -5
- package/dist/{chunk-CUR7CHR5.js → chunk-TY5NK7NW.js} +1 -1
- package/dist/{chunk-L43KF3AC.js → chunk-W6BDMNSU.js} +1 -1
- package/dist/{chunk-B3BXKMQA.cjs → chunk-YLLAP3H2.cjs} +2 -2
- package/dist/{chunk-DY7PNIB3.cjs → chunk-ZQOESVVE.cjs} +21 -21
- package/dist/{collections-fGX_D_Mi.d.cts → collections-8YdINtUf.d.cts} +1 -1
- package/dist/{collections-kERS_kZw.d.ts → collections-ycrA2cPL.d.ts} +1 -1
- package/dist/components/address-form.cjs +5 -4
- package/dist/components/address-form.js +4 -3
- package/dist/components/digital-product-download-modal.d.cts +2 -2
- package/dist/components/digital-product-download-modal.d.ts +2 -2
- package/dist/components/index.cjs +7 -7
- package/dist/components/index.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +5 -5
- package/dist/components/share-button.cjs +4 -3
- package/dist/components/share-button.d.cts +1 -1
- package/dist/components/share-button.d.ts +1 -1
- package/dist/components/share-button.js +3 -2
- package/dist/components/theme-data-initializer.d.cts +5 -5
- package/dist/components/theme-data-initializer.d.ts +5 -5
- package/dist/hooks/index.cjs +23 -22
- package/dist/hooks/index.d.cts +4 -4
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/index.js +8 -7
- package/dist/{blog-DDOl23BM.d.cts → instagram-CqJBZ-0X.d.ts} +29 -2
- package/dist/{blog-ICspYuDq.d.ts → instagram-D4JUT4ZU.d.cts} +29 -2
- package/dist/models/index.d.cts +6 -6
- package/dist/models/index.d.ts +6 -6
- package/dist/{orders-CGhcSTMg.d.ts → orders-9_scVq_M.d.cts} +3 -2
- package/dist/{orders-1vcg6whk.d.cts → orders-C1XZr8tx.d.ts} +3 -2
- package/dist/{pixelEvents-BEzVCIBj.d.ts → pixelEvents-D0sH22Er.d.ts} +4 -4
- package/dist/{pixelEvents-Bob6N-g5.d.cts → pixelEvents-uiPHbiAQ.d.cts} +4 -4
- package/dist/{product-B8elBN21.d.cts → product-CZtFWhxO.d.cts} +3 -0
- package/dist/{product-B8elBN21.d.ts → product-CZtFWhxO.d.ts} +3 -0
- package/dist/store/index.cjs +8 -8
- package/dist/store/index.d.cts +7 -7
- package/dist/store/index.d.ts +7 -7
- package/dist/store/index.js +3 -3
- package/dist/utils/index.cjs +31 -27
- package/dist/utils/index.d.cts +13 -9
- package/dist/utils/index.d.ts +13 -9
- package/dist/utils/index.js +4 -4
- package/dist/{wishlist-B-bvvOxv.d.ts → wishlist-CRNbfFIx.d.ts} +1 -1
- package/dist/{wishlist-BdpIFX5_.d.cts → wishlist-Cx9Vrszq.d.cts} +1 -1
- package/package.json +1 -1
package/dist/hooks/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as Address } from '../address-DwBZHzbI.cjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { C as Cart, b as Category, U as User, c as Coupon } from '../cart-
|
|
4
|
-
import { O as Order } from '../orders-
|
|
5
|
-
import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-
|
|
6
|
-
import { W as Wishlist } from '../wishlist-
|
|
3
|
+
import { C as Cart, b as Category, U as User, c as Coupon } from '../cart-CyN2JQTw.cjs';
|
|
4
|
+
import { O as Order } from '../orders-9_scVq_M.cjs';
|
|
5
|
+
import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-CZtFWhxO.cjs';
|
|
6
|
+
import { W as Wishlist } from '../wishlist-Cx9Vrszq.cjs';
|
|
7
7
|
export { U as UseAddressFormOptions, a as UseAddressFormReturn, u as useAddressForm } from '../useAddressForm-DGbEn91-.cjs';
|
|
8
8
|
import 'react-toastify';
|
|
9
9
|
import 'formik';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as Address } from '../address-DwBZHzbI.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { C as Cart, b as Category, U as User, c as Coupon } from '../cart-
|
|
4
|
-
import { O as Order } from '../orders-
|
|
5
|
-
import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-
|
|
6
|
-
import { W as Wishlist } from '../wishlist-
|
|
3
|
+
import { C as Cart, b as Category, U as User, c as Coupon } from '../cart-BGIsIZdM.js';
|
|
4
|
+
import { O as Order } from '../orders-C1XZr8tx.js';
|
|
5
|
+
import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-CZtFWhxO.js';
|
|
6
|
+
import { W as Wishlist } from '../wishlist-CRNbfFIx.js';
|
|
7
7
|
export { U as UseAddressFormOptions, a as UseAddressFormReturn, u as useAddressForm } from '../useAddressForm-cO3Au33k.js';
|
|
8
8
|
import 'react-toastify';
|
|
9
9
|
import 'formik';
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { getUserDetails } from '../chunk-WYXT5AAG.js';
|
|
2
2
|
import { findMatchingVariant, findSimilarVariant, isVariantCombinationAvailable, isColorVariantType } from '../chunk-HEFA67WK.js';
|
|
3
|
-
import { useCartStore, useAuthStore } from '../chunk-
|
|
4
|
-
import { getCart, getProductList, getProductDetail, getWishlist, notifyProductStock, getProductCategories, getCategories } from '../chunk-
|
|
5
|
-
import { cart_default } from '../chunk-
|
|
3
|
+
import { useCartStore, useAuthStore } from '../chunk-PGBYYKFQ.js';
|
|
4
|
+
import { getCart, getProductList, getProductDetail, getWishlist, notifyProductStock, getProductCategories, getCategories } from '../chunk-TY5NK7NW.js';
|
|
5
|
+
import { cart_default } from '../chunk-H32TICAM.js';
|
|
6
6
|
import { processPayment, fetchAvailableCoupons, applyCheckoutCoupon, removeCheckoutCoupon } from '../chunk-VYHAWRJR.js';
|
|
7
7
|
import { applyCoupon, removeCoupon, getCoupons, getAppliedCoupon } from '../chunk-7M5CVYZJ.js';
|
|
8
8
|
import '../chunk-WFDKKOO7.js';
|
|
9
9
|
import { getOrders, placeOrder } from '../chunk-ME6Z7TZW.js';
|
|
10
|
-
export { useAddressForm } from '../chunk-
|
|
10
|
+
export { useAddressForm } from '../chunk-ICKTXS6B.js';
|
|
11
11
|
import { getAddresses } from '../chunk-ZGMLOLTC.js';
|
|
12
12
|
import '../chunk-OSM73ETC.js';
|
|
13
|
-
import { shareLink, convertToCurrency } from '../chunk-
|
|
13
|
+
import { shareLink, convertToCurrency } from '../chunk-CBKJ3Y2I.js';
|
|
14
|
+
import '../chunk-HSF2D56O.js';
|
|
14
15
|
import '../chunk-ELP23UGF.js';
|
|
15
16
|
import '../chunk-3SYYP3XV.js';
|
|
16
17
|
import '../chunk-WEMNXIRS.js';
|
|
@@ -545,7 +546,7 @@ function useShopCheckout(options) {
|
|
|
545
546
|
setLoading(false);
|
|
546
547
|
}
|
|
547
548
|
} else {
|
|
548
|
-
cart_default.add(product);
|
|
549
|
+
cart_default.add(product, quantity);
|
|
549
550
|
const localCartItems = cart_default.get();
|
|
550
551
|
if (localCartItems) {
|
|
551
552
|
setCart(localCartItems);
|
|
@@ -591,7 +592,7 @@ function useShopCheckout(options) {
|
|
|
591
592
|
setLoading(false);
|
|
592
593
|
}
|
|
593
594
|
} else {
|
|
594
|
-
cart_default.add(product);
|
|
595
|
+
cart_default.add(product, quantity);
|
|
595
596
|
const localCartItems = cart_default.get();
|
|
596
597
|
if (localCartItems) {
|
|
597
598
|
setCart(localCartItems);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as ProductDetail } from './product-
|
|
1
|
+
import { f as ProductDetail } from './product-CZtFWhxO.js';
|
|
2
2
|
|
|
3
3
|
declare namespace Review {
|
|
4
4
|
interface ReviewPayload {
|
|
@@ -116,4 +116,31 @@ declare namespace Blog {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
declare namespace Instagram {
|
|
120
|
+
type MediaType = "IMAGE" | "VIDEO" | "CAROUSEL_ALBUM";
|
|
121
|
+
interface MediaChild {
|
|
122
|
+
id: string;
|
|
123
|
+
media_type?: MediaType;
|
|
124
|
+
media_url?: string;
|
|
125
|
+
thumbnail_url?: string;
|
|
126
|
+
}
|
|
127
|
+
interface Media {
|
|
128
|
+
id: string;
|
|
129
|
+
caption?: string;
|
|
130
|
+
media_type: MediaType;
|
|
131
|
+
media_url?: string;
|
|
132
|
+
permalink?: string;
|
|
133
|
+
thumbnail_url?: string;
|
|
134
|
+
timestamp?: string;
|
|
135
|
+
like_count?: number;
|
|
136
|
+
comments_count?: number;
|
|
137
|
+
children?: {
|
|
138
|
+
data?: MediaChild[];
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
interface MediaRefreshResponse {
|
|
142
|
+
data: Media[];
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export { Analytics as A, Blog as B, Instagram as I, Review as R, type Booking as a, type BookingDetails as b };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as ProductDetail } from './product-
|
|
1
|
+
import { f as ProductDetail } from './product-CZtFWhxO.cjs';
|
|
2
2
|
|
|
3
3
|
declare namespace Review {
|
|
4
4
|
interface ReviewPayload {
|
|
@@ -116,4 +116,31 @@ declare namespace Blog {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
declare namespace Instagram {
|
|
120
|
+
type MediaType = "IMAGE" | "VIDEO" | "CAROUSEL_ALBUM";
|
|
121
|
+
interface MediaChild {
|
|
122
|
+
id: string;
|
|
123
|
+
media_type?: MediaType;
|
|
124
|
+
media_url?: string;
|
|
125
|
+
thumbnail_url?: string;
|
|
126
|
+
}
|
|
127
|
+
interface Media {
|
|
128
|
+
id: string;
|
|
129
|
+
caption?: string;
|
|
130
|
+
media_type: MediaType;
|
|
131
|
+
media_url?: string;
|
|
132
|
+
permalink?: string;
|
|
133
|
+
thumbnail_url?: string;
|
|
134
|
+
timestamp?: string;
|
|
135
|
+
like_count?: number;
|
|
136
|
+
comments_count?: number;
|
|
137
|
+
children?: {
|
|
138
|
+
data?: MediaChild[];
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
interface MediaRefreshResponse {
|
|
142
|
+
data: Media[];
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export { Analytics as A, Blog as B, Instagram as I, Review as R, type Booking as a, type BookingDetails as b };
|
package/dist/models/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { A as Address } from '../address-DwBZHzbI.cjs';
|
|
2
|
-
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, R as Review } from '../
|
|
3
|
-
export { A as ApplicableTarget, C as Cart, a as CartState, b as Category, c as Coupon, d as CouponResponse, e as CouponStatus, f as Coupons, D as DiscountType, U as User, V as ValueType } from '../cart-
|
|
4
|
-
export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-
|
|
5
|
-
export { O as Order } from '../orders-
|
|
2
|
+
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, I as Instagram, R as Review } from '../instagram-D4JUT4ZU.cjs';
|
|
3
|
+
export { A as ApplicableTarget, C as Cart, a as CartState, b as Category, c as Coupon, d as CouponResponse, e as CouponStatus, f as Coupons, D as DiscountType, U as User, V as ValueType } from '../cart-CyN2JQTw.cjs';
|
|
4
|
+
export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-8YdINtUf.cjs';
|
|
5
|
+
export { O as Order } from '../orders-9_scVq_M.cjs';
|
|
6
6
|
export { D as Data, P as PaymentInstrument, a as PhonePe } from '../phonepe-dWMLZel6.cjs';
|
|
7
|
-
export { A as Attributes, B as BaseProduct, a as BookingService, b as BookingServiceDate, c as Brand, C as CustomField, O as OperatingHours, P as Photos, d as Product, e as ProductAttribute, f as ProductDetail, S as SpecialHours, T as TimeSlot, W as WishlistState } from '../product-
|
|
8
|
-
export { W as Wishlist } from '../wishlist-
|
|
7
|
+
export { A as Attributes, B as BaseProduct, a as BookingService, b as BookingServiceDate, c as Brand, C as CustomField, O as OperatingHours, P as Photos, d as Product, e as ProductAttribute, f as ProductDetail, S as SpecialHours, T as TimeSlot, W as WishlistState } from '../product-CZtFWhxO.cjs';
|
|
8
|
+
export { W as Wishlist } from '../wishlist-Cx9Vrszq.cjs';
|
|
9
9
|
import 'react-toastify';
|
|
10
10
|
|
|
11
11
|
declare namespace CountryModel {
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { A as Address } from '../address-DwBZHzbI.js';
|
|
2
|
-
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, R as Review } from '../
|
|
3
|
-
export { A as ApplicableTarget, C as Cart, a as CartState, b as Category, c as Coupon, d as CouponResponse, e as CouponStatus, f as Coupons, D as DiscountType, U as User, V as ValueType } from '../cart-
|
|
4
|
-
export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-
|
|
5
|
-
export { O as Order } from '../orders-
|
|
2
|
+
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, I as Instagram, R as Review } from '../instagram-CqJBZ-0X.js';
|
|
3
|
+
export { A as ApplicableTarget, C as Cart, a as CartState, b as Category, c as Coupon, d as CouponResponse, e as CouponStatus, f as Coupons, D as DiscountType, U as User, V as ValueType } from '../cart-BGIsIZdM.js';
|
|
4
|
+
export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-ycrA2cPL.js';
|
|
5
|
+
export { O as Order } from '../orders-C1XZr8tx.js';
|
|
6
6
|
export { D as Data, P as PaymentInstrument, a as PhonePe } from '../phonepe-dWMLZel6.js';
|
|
7
|
-
export { A as Attributes, B as BaseProduct, a as BookingService, b as BookingServiceDate, c as Brand, C as CustomField, O as OperatingHours, P as Photos, d as Product, e as ProductAttribute, f as ProductDetail, S as SpecialHours, T as TimeSlot, W as WishlistState } from '../product-
|
|
8
|
-
export { W as Wishlist } from '../wishlist-
|
|
7
|
+
export { A as Attributes, B as BaseProduct, a as BookingService, b as BookingServiceDate, c as Brand, C as CustomField, O as OperatingHours, P as Photos, d as Product, e as ProductAttribute, f as ProductDetail, S as SpecialHours, T as TimeSlot, W as WishlistState } from '../product-CZtFWhxO.js';
|
|
8
|
+
export { W as Wishlist } from '../wishlist-CRNbfFIx.js';
|
|
9
9
|
import 'react-toastify';
|
|
10
10
|
|
|
11
11
|
declare namespace CountryModel {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Photos } from './product-
|
|
1
|
+
import { P as Photos } from './product-CZtFWhxO.cjs';
|
|
2
2
|
|
|
3
3
|
declare namespace Order {
|
|
4
4
|
interface Root {
|
|
@@ -61,7 +61,7 @@ declare namespace Order {
|
|
|
61
61
|
name: string;
|
|
62
62
|
phone: string;
|
|
63
63
|
}
|
|
64
|
-
type OrderStatus = "pending" | "confirmed" | "packed" | "shipped" | "delivered" | "cancelled" | "failed" | "paid" | "payment_pending" | "refunded";
|
|
64
|
+
type OrderStatus = "pending" | "confirmed" | "packed" | "shipped" | "delivered" | "cancelled" | "failed" | "paid" | "payment_pending" | "refunded" | "returned";
|
|
65
65
|
interface OrderSummary {
|
|
66
66
|
id: number;
|
|
67
67
|
store: number;
|
|
@@ -126,6 +126,7 @@ declare namespace Order {
|
|
|
126
126
|
total_amount: number;
|
|
127
127
|
}[];
|
|
128
128
|
is_preorder: boolean;
|
|
129
|
+
cod_amount: number;
|
|
129
130
|
}
|
|
130
131
|
interface PurchasedProduct {
|
|
131
132
|
product_id: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Photos } from './product-
|
|
1
|
+
import { P as Photos } from './product-CZtFWhxO.js';
|
|
2
2
|
|
|
3
3
|
declare namespace Order {
|
|
4
4
|
interface Root {
|
|
@@ -61,7 +61,7 @@ declare namespace Order {
|
|
|
61
61
|
name: string;
|
|
62
62
|
phone: string;
|
|
63
63
|
}
|
|
64
|
-
type OrderStatus = "pending" | "confirmed" | "packed" | "shipped" | "delivered" | "cancelled" | "failed" | "paid" | "payment_pending" | "refunded";
|
|
64
|
+
type OrderStatus = "pending" | "confirmed" | "packed" | "shipped" | "delivered" | "cancelled" | "failed" | "paid" | "payment_pending" | "refunded" | "returned";
|
|
65
65
|
interface OrderSummary {
|
|
66
66
|
id: number;
|
|
67
67
|
store: number;
|
|
@@ -126,6 +126,7 @@ declare namespace Order {
|
|
|
126
126
|
total_amount: number;
|
|
127
127
|
}[];
|
|
128
128
|
is_preorder: boolean;
|
|
129
|
+
cod_amount: number;
|
|
129
130
|
}
|
|
130
131
|
interface PurchasedProduct {
|
|
131
132
|
product_id: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as Category$1, C as Cart } from './cart-
|
|
2
|
-
import { C as CollectionResponse } from './collections-
|
|
3
|
-
import { O as Order } from './orders-
|
|
4
|
-
import { f as ProductDetail, d as Product } from './product-
|
|
1
|
+
import { b as Category$1, C as Cart } from './cart-BGIsIZdM.js';
|
|
2
|
+
import { C as CollectionResponse } from './collections-ycrA2cPL.js';
|
|
3
|
+
import { O as Order } from './orders-C1XZr8tx.js';
|
|
4
|
+
import { f as ProductDetail, d as Product } from './product-CZtFWhxO.js';
|
|
5
5
|
|
|
6
6
|
interface PageProps {
|
|
7
7
|
nav_bar: NavBar;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as Category$1, C as Cart } from './cart-
|
|
2
|
-
import { C as CollectionResponse } from './collections-
|
|
3
|
-
import { O as Order } from './orders-
|
|
4
|
-
import { f as ProductDetail, d as Product } from './product-
|
|
1
|
+
import { b as Category$1, C as Cart } from './cart-CyN2JQTw.cjs';
|
|
2
|
+
import { C as CollectionResponse } from './collections-8YdINtUf.cjs';
|
|
3
|
+
import { O as Order } from './orders-9_scVq_M.cjs';
|
|
4
|
+
import { f as ProductDetail, d as Product } from './product-CZtFWhxO.cjs';
|
|
5
5
|
|
|
6
6
|
interface PageProps {
|
|
7
7
|
nav_bar: NavBar;
|
|
@@ -89,6 +89,7 @@ declare namespace Product {
|
|
|
89
89
|
status: string;
|
|
90
90
|
is_active: boolean;
|
|
91
91
|
product_variants: ProductVariant[];
|
|
92
|
+
is_whatsapp_checkout_enabled: boolean;
|
|
92
93
|
}
|
|
93
94
|
interface ProductList {
|
|
94
95
|
id: number;
|
|
@@ -129,6 +130,7 @@ declare namespace Product {
|
|
|
129
130
|
};
|
|
130
131
|
is_preorder: boolean;
|
|
131
132
|
preorder_ship_days: number;
|
|
133
|
+
is_whatsapp_checkout_enabled: boolean;
|
|
132
134
|
}
|
|
133
135
|
interface ProductResponse {
|
|
134
136
|
count: number;
|
|
@@ -245,6 +247,7 @@ declare namespace ProductDetail {
|
|
|
245
247
|
};
|
|
246
248
|
is_preorder: boolean;
|
|
247
249
|
preorder_ship_days: number;
|
|
250
|
+
is_whatsapp_checkout_enabled: boolean;
|
|
248
251
|
}
|
|
249
252
|
interface VariantAttribute {
|
|
250
253
|
[key: string]: {
|
|
@@ -89,6 +89,7 @@ declare namespace Product {
|
|
|
89
89
|
status: string;
|
|
90
90
|
is_active: boolean;
|
|
91
91
|
product_variants: ProductVariant[];
|
|
92
|
+
is_whatsapp_checkout_enabled: boolean;
|
|
92
93
|
}
|
|
93
94
|
interface ProductList {
|
|
94
95
|
id: number;
|
|
@@ -129,6 +130,7 @@ declare namespace Product {
|
|
|
129
130
|
};
|
|
130
131
|
is_preorder: boolean;
|
|
131
132
|
preorder_ship_days: number;
|
|
133
|
+
is_whatsapp_checkout_enabled: boolean;
|
|
132
134
|
}
|
|
133
135
|
interface ProductResponse {
|
|
134
136
|
count: number;
|
|
@@ -245,6 +247,7 @@ declare namespace ProductDetail {
|
|
|
245
247
|
};
|
|
246
248
|
is_preorder: boolean;
|
|
247
249
|
preorder_ship_days: number;
|
|
250
|
+
is_whatsapp_checkout_enabled: boolean;
|
|
248
251
|
}
|
|
249
252
|
interface VariantAttribute {
|
|
250
253
|
[key: string]: {
|
package/dist/store/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkZQOESVVE_cjs = require('../chunk-ZQOESVVE.cjs');
|
|
4
|
+
var chunk5BT3MH4A_cjs = require('../chunk-5BT3MH4A.cjs');
|
|
5
|
+
require('../chunk-LCMJYFHC.cjs');
|
|
6
6
|
require('../chunk-LZADKC4Y.cjs');
|
|
7
7
|
var chunkDODFO744_cjs = require('../chunk-DODFO744.cjs');
|
|
8
8
|
require('../chunk-ECHV2JSY.cjs');
|
|
@@ -21,7 +21,7 @@ var useWishlistStore = zustand.create((set) => ({
|
|
|
21
21
|
resetWishlist: () => set(initialState),
|
|
22
22
|
syncWishlist: async () => {
|
|
23
23
|
try {
|
|
24
|
-
const response = await
|
|
24
|
+
const response = await chunk5BT3MH4A_cjs.getWishlist("/customer/wishlist/");
|
|
25
25
|
if (response.data) {
|
|
26
26
|
set({
|
|
27
27
|
wishlist_count: response.data.wishlist_count,
|
|
@@ -49,7 +49,7 @@ var useProductStore = zustand.create((set, get) => ({
|
|
|
49
49
|
data: filter.page === 1 ? [] : state.data
|
|
50
50
|
}));
|
|
51
51
|
try {
|
|
52
|
-
const response = await
|
|
52
|
+
const response = await chunk5BT3MH4A_cjs.getProducts({ ...filter });
|
|
53
53
|
if (response.data) {
|
|
54
54
|
const { results, ...meta } = response.data;
|
|
55
55
|
set((state) => ({
|
|
@@ -69,15 +69,15 @@ var useProductStore = zustand.create((set, get) => ({
|
|
|
69
69
|
|
|
70
70
|
Object.defineProperty(exports, "loginUser", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkZQOESVVE_cjs.loginUser; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "useAuthStore", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkZQOESVVE_cjs.useAuthStore; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "useCartStore", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkZQOESVVE_cjs.useCartStore; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "useThemeData", {
|
|
83
83
|
enumerable: true,
|
package/dist/store/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as zustand from 'zustand';
|
|
2
|
-
import { a as CartState, C as Cart, U as User } from '../cart-
|
|
3
|
-
import { W as Wishlist } from '../wishlist-
|
|
4
|
-
import { d as Product } from '../product-
|
|
5
|
-
import { P as PageHeaderProps } from '../pixelEvents-
|
|
2
|
+
import { a as CartState, C as Cart, U as User } from '../cart-CyN2JQTw.cjs';
|
|
3
|
+
import { W as Wishlist } from '../wishlist-Cx9Vrszq.cjs';
|
|
4
|
+
import { d as Product } from '../product-CZtFWhxO.cjs';
|
|
5
|
+
import { P as PageHeaderProps } from '../pixelEvents-uiPHbiAQ.cjs';
|
|
6
6
|
import 'react-toastify';
|
|
7
|
-
import '../collections-
|
|
8
|
-
import '../orders-
|
|
7
|
+
import '../collections-8YdINtUf.cjs';
|
|
8
|
+
import '../orders-9_scVq_M.cjs';
|
|
9
9
|
|
|
10
10
|
interface CartStore extends CartState {
|
|
11
11
|
setCart: (cart: Cart.Root) => void;
|
|
@@ -16,7 +16,7 @@ interface CartStore extends CartState {
|
|
|
16
16
|
*/
|
|
17
17
|
syncCart: (addressId?: number, shippingOptionId?: number) => Promise<void>;
|
|
18
18
|
fetchCart: (addressId?: number, shippingOptionId?: number) => Promise<void>;
|
|
19
|
-
|
|
19
|
+
fetchCartItemQuantity: () => Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* Cart modification helpers that call the corresponding API and
|
|
22
22
|
* automatically synchronize the store afterwards.
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as zustand from 'zustand';
|
|
2
|
-
import { a as CartState, C as Cart, U as User } from '../cart-
|
|
3
|
-
import { W as Wishlist } from '../wishlist-
|
|
4
|
-
import { d as Product } from '../product-
|
|
5
|
-
import { P as PageHeaderProps } from '../pixelEvents-
|
|
2
|
+
import { a as CartState, C as Cart, U as User } from '../cart-BGIsIZdM.js';
|
|
3
|
+
import { W as Wishlist } from '../wishlist-CRNbfFIx.js';
|
|
4
|
+
import { d as Product } from '../product-CZtFWhxO.js';
|
|
5
|
+
import { P as PageHeaderProps } from '../pixelEvents-D0sH22Er.js';
|
|
6
6
|
import 'react-toastify';
|
|
7
|
-
import '../collections-
|
|
8
|
-
import '../orders-
|
|
7
|
+
import '../collections-ycrA2cPL.js';
|
|
8
|
+
import '../orders-C1XZr8tx.js';
|
|
9
9
|
|
|
10
10
|
interface CartStore extends CartState {
|
|
11
11
|
setCart: (cart: Cart.Root) => void;
|
|
@@ -16,7 +16,7 @@ interface CartStore extends CartState {
|
|
|
16
16
|
*/
|
|
17
17
|
syncCart: (addressId?: number, shippingOptionId?: number) => Promise<void>;
|
|
18
18
|
fetchCart: (addressId?: number, shippingOptionId?: number) => Promise<void>;
|
|
19
|
-
|
|
19
|
+
fetchCartItemQuantity: () => Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* Cart modification helpers that call the corresponding API and
|
|
22
22
|
* automatically synchronize the store afterwards.
|
package/dist/store/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { loginUser, useAuthStore, useCartStore } from '../chunk-
|
|
2
|
-
import { getWishlist, getProducts } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { loginUser, useAuthStore, useCartStore } from '../chunk-PGBYYKFQ.js';
|
|
2
|
+
import { getWishlist, getProducts } from '../chunk-TY5NK7NW.js';
|
|
3
|
+
import '../chunk-H32TICAM.js';
|
|
4
4
|
import '../chunk-ME6Z7TZW.js';
|
|
5
5
|
export { useThemeData } from '../chunk-5NUDTIQ2.js';
|
|
6
6
|
import '../chunk-3SYYP3XV.js';
|
package/dist/utils/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkGTV42PDK_cjs = require('../chunk-GTV42PDK.cjs');
|
|
4
4
|
var chunk2AHH3XBW_cjs = require('../chunk-2AHH3XBW.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkLCMJYFHC_cjs = require('../chunk-LCMJYFHC.cjs');
|
|
6
6
|
var chunkK44JZ5NL_cjs = require('../chunk-K44JZ5NL.cjs');
|
|
7
|
-
var chunkBBRB475I_cjs = require('../chunk-BBRB475I.cjs');
|
|
8
7
|
var chunkLJUGNSQQ_cjs = require('../chunk-LJUGNSQQ.cjs');
|
|
9
|
-
var
|
|
8
|
+
var chunk6LS5F4R3_cjs = require('../chunk-6LS5F4R3.cjs');
|
|
9
|
+
var chunkBBRB475I_cjs = require('../chunk-BBRB475I.cjs');
|
|
10
10
|
var chunkBBRXE57K_cjs = require('../chunk-BBRXE57K.cjs');
|
|
11
11
|
var chunkNE3ZHELZ_cjs = require('../chunk-NE3ZHELZ.cjs');
|
|
12
12
|
var chunkN3CTXRFT_cjs = require('../chunk-N3CTXRFT.cjs');
|
|
@@ -87,7 +87,7 @@ var constructPaymentPayload = async (amount, orderId, userId, phoneNumber, merch
|
|
|
87
87
|
const dataPayload = JSON.stringify(paymentPayload);
|
|
88
88
|
console.log(dataPayload);
|
|
89
89
|
const dataBase64 = Buffer.from(dataPayload).toString("base64");
|
|
90
|
-
const checksum = await
|
|
90
|
+
const checksum = await chunk6LS5F4R3_cjs.digestMessage(`${dataBase64}/pg/v1/pay${saltKey}`);
|
|
91
91
|
const finalChecksum = `${checksum}###${saltIndex}`;
|
|
92
92
|
return {
|
|
93
93
|
base64Payload: dataBase64,
|
|
@@ -95,7 +95,7 @@ var constructPaymentPayload = async (amount, orderId, userId, phoneNumber, merch
|
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
97
|
var createXVerifyHeader = async (merchantId, transactionId, saltKey, saltIndex) => {
|
|
98
|
-
const checksum = await
|
|
98
|
+
const checksum = await chunk6LS5F4R3_cjs.digestMessage(
|
|
99
99
|
`/pg/v1/status/${merchantId}/${transactionId}${saltKey}`
|
|
100
100
|
);
|
|
101
101
|
const finalChecksum = `${checksum}###${saltIndex}`;
|
|
@@ -355,20 +355,12 @@ Object.defineProperty(exports, "isVariantCombinationAvailable", {
|
|
|
355
355
|
});
|
|
356
356
|
Object.defineProperty(exports, "LocalCart", {
|
|
357
357
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunkLCMJYFHC_cjs.cart_default; }
|
|
359
359
|
});
|
|
360
360
|
Object.defineProperty(exports, "pixelEvents", {
|
|
361
361
|
enumerable: true,
|
|
362
362
|
get: function () { return chunkK44JZ5NL_cjs.pixelEvents; }
|
|
363
363
|
});
|
|
364
|
-
Object.defineProperty(exports, "isExpired", {
|
|
365
|
-
enumerable: true,
|
|
366
|
-
get: function () { return chunkBBRB475I_cjs.isExpired; }
|
|
367
|
-
});
|
|
368
|
-
Object.defineProperty(exports, "timeFromNow", {
|
|
369
|
-
enumerable: true,
|
|
370
|
-
get: function () { return chunkBBRB475I_cjs.timeFromNow; }
|
|
371
|
-
});
|
|
372
364
|
Object.defineProperty(exports, "CacheManager", {
|
|
373
365
|
enumerable: true,
|
|
374
366
|
get: function () { return chunkLJUGNSQQ_cjs.CacheManager; }
|
|
@@ -407,55 +399,67 @@ Object.defineProperty(exports, "setCache", {
|
|
|
407
399
|
});
|
|
408
400
|
Object.defineProperty(exports, "constructFilter", {
|
|
409
401
|
enumerable: true,
|
|
410
|
-
get: function () { return
|
|
402
|
+
get: function () { return chunk6LS5F4R3_cjs.constructFilter; }
|
|
411
403
|
});
|
|
412
404
|
Object.defineProperty(exports, "convertObjectToParams", {
|
|
413
405
|
enumerable: true,
|
|
414
|
-
get: function () { return
|
|
406
|
+
get: function () { return chunk6LS5F4R3_cjs.convertObjectToParams; }
|
|
415
407
|
});
|
|
416
408
|
Object.defineProperty(exports, "convertToCurrency", {
|
|
417
409
|
enumerable: true,
|
|
418
|
-
get: function () { return
|
|
410
|
+
get: function () { return chunk6LS5F4R3_cjs.convertToCurrency; }
|
|
419
411
|
});
|
|
420
412
|
Object.defineProperty(exports, "digestMessage", {
|
|
421
413
|
enumerable: true,
|
|
422
|
-
get: function () { return
|
|
414
|
+
get: function () { return chunk6LS5F4R3_cjs.digestMessage; }
|
|
423
415
|
});
|
|
424
416
|
Object.defineProperty(exports, "formatDateTime", {
|
|
425
417
|
enumerable: true,
|
|
426
|
-
get: function () { return
|
|
418
|
+
get: function () { return chunk6LS5F4R3_cjs.formatDateTime; }
|
|
427
419
|
});
|
|
428
420
|
Object.defineProperty(exports, "formatPostalLabel", {
|
|
429
421
|
enumerable: true,
|
|
430
|
-
get: function () { return
|
|
422
|
+
get: function () { return chunk6LS5F4R3_cjs.formatPostalLabel; }
|
|
431
423
|
});
|
|
432
424
|
Object.defineProperty(exports, "getAddressMeta", {
|
|
433
425
|
enumerable: true,
|
|
434
|
-
get: function () { return
|
|
426
|
+
get: function () { return chunk6LS5F4R3_cjs.getAddressMeta; }
|
|
435
427
|
});
|
|
436
428
|
Object.defineProperty(exports, "getDelayInMilliseconds", {
|
|
437
429
|
enumerable: true,
|
|
438
|
-
get: function () { return
|
|
430
|
+
get: function () { return chunk6LS5F4R3_cjs.getDelayInMilliseconds; }
|
|
431
|
+
});
|
|
432
|
+
Object.defineProperty(exports, "getOrderStatus", {
|
|
433
|
+
enumerable: true,
|
|
434
|
+
get: function () { return chunk6LS5F4R3_cjs.getOrderStatus; }
|
|
439
435
|
});
|
|
440
436
|
Object.defineProperty(exports, "getParamsFromURL", {
|
|
441
437
|
enumerable: true,
|
|
442
|
-
get: function () { return
|
|
438
|
+
get: function () { return chunk6LS5F4R3_cjs.getParamsFromURL; }
|
|
443
439
|
});
|
|
444
440
|
Object.defineProperty(exports, "getQueryParams", {
|
|
445
441
|
enumerable: true,
|
|
446
|
-
get: function () { return
|
|
442
|
+
get: function () { return chunk6LS5F4R3_cjs.getQueryParams; }
|
|
447
443
|
});
|
|
448
444
|
Object.defineProperty(exports, "pluralize", {
|
|
449
445
|
enumerable: true,
|
|
450
|
-
get: function () { return
|
|
446
|
+
get: function () { return chunk6LS5F4R3_cjs.pluralize; }
|
|
451
447
|
});
|
|
452
448
|
Object.defineProperty(exports, "pushParamsToURL", {
|
|
453
449
|
enumerable: true,
|
|
454
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunk6LS5F4R3_cjs.pushParamsToURL; }
|
|
455
451
|
});
|
|
456
452
|
Object.defineProperty(exports, "shareLink", {
|
|
457
453
|
enumerable: true,
|
|
458
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunk6LS5F4R3_cjs.shareLink; }
|
|
455
|
+
});
|
|
456
|
+
Object.defineProperty(exports, "isExpired", {
|
|
457
|
+
enumerable: true,
|
|
458
|
+
get: function () { return chunkBBRB475I_cjs.isExpired; }
|
|
459
|
+
});
|
|
460
|
+
Object.defineProperty(exports, "timeFromNow", {
|
|
461
|
+
enumerable: true,
|
|
462
|
+
get: function () { return chunkBBRB475I_cjs.timeFromNow; }
|
|
459
463
|
});
|
|
460
464
|
Object.defineProperty(exports, "Auth", {
|
|
461
465
|
enumerable: true,
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { f as ProductDetail, O as OperatingHours, T as TimeSlot, A as Attributes } from '../product-
|
|
2
|
-
export { h as ADDRESS_FORM_SESSION_KEY, i as ALLOWED_COUNTRIES, D as DEFAULT_TOAST_CONFIG, j as PRODUCT_STATUSES, g as SLICE_STATUS, U as USER_CART, k as USER_CREDENTIALS, l as USER_CRED_REFRESH_TOKEN, m as USER_CRED_TOKEN, p as pathNameMap } from '../product-
|
|
3
|
-
import { C as Cart } from '../cart-
|
|
1
|
+
import { f as ProductDetail, O as OperatingHours, T as TimeSlot, A as Attributes } from '../product-CZtFWhxO.cjs';
|
|
2
|
+
export { h as ADDRESS_FORM_SESSION_KEY, i as ALLOWED_COUNTRIES, D as DEFAULT_TOAST_CONFIG, j as PRODUCT_STATUSES, g as SLICE_STATUS, U as USER_CART, k as USER_CREDENTIALS, l as USER_CRED_REFRESH_TOKEN, m as USER_CRED_TOKEN, p as pathNameMap } from '../product-CZtFWhxO.cjs';
|
|
3
|
+
import { C as Cart } from '../cart-CyN2JQTw.cjs';
|
|
4
4
|
export { S as SnapstoreConfig, g as getApiEndpoint, a as getCloudFront, b as getConfig, c as getPhonePeApiEndpoint, d as getPublicApiEndpoint, e as getSecretKey, f as getStoreId, i as initConfig } from '../index-DTyIuLuI.cjs';
|
|
5
|
-
import { S as SectionFilters } from '../pixelEvents-
|
|
6
|
-
export { A as AvailableFilter, B as Banner, a as Blogs, C as Category, b as CategoryHighlights, c as Collections, d as ColorScheme, F as FilterOption, e as FilterType, f as Footer, H as HeaderCategory, g as Hero, h as HomePageContents, I as ImageWithText, L as LocationData, i as Logo, M as Menuitem, N as NavBar, j as NavElement, k as NavElementOld, P as PageHeaderProps, l as PageMeta, m as PageProps, n as PagePropsFull, o as PreFooter, p as ProductCollection, q as ProductHighlight, R as RibbonBar, r as RibbonMessage, s as Section, t as SectionType, u as SliderSettings, v as SocialLinks, w as SocialMedia, x as StoreReview, y as SubCategory, z as SubCategorySection, T as TemplateTheme, D as Theme, V as ValueHighlights, E as pixelEvents, G as preFooterContent } from '../pixelEvents-
|
|
5
|
+
import { S as SectionFilters } from '../pixelEvents-uiPHbiAQ.cjs';
|
|
6
|
+
export { A as AvailableFilter, B as Banner, a as Blogs, C as Category, b as CategoryHighlights, c as Collections, d as ColorScheme, F as FilterOption, e as FilterType, f as Footer, H as HeaderCategory, g as Hero, h as HomePageContents, I as ImageWithText, L as LocationData, i as Logo, M as Menuitem, N as NavBar, j as NavElement, k as NavElementOld, P as PageHeaderProps, l as PageMeta, m as PageProps, n as PagePropsFull, o as PreFooter, p as ProductCollection, q as ProductHighlight, R as RibbonBar, r as RibbonMessage, s as Section, t as SectionType, u as SliderSettings, v as SocialLinks, w as SocialMedia, x as StoreReview, y as SubCategory, z as SubCategorySection, T as TemplateTheme, D as Theme, V as ValueHighlights, E as pixelEvents, G as preFooterContent } from '../pixelEvents-uiPHbiAQ.cjs';
|
|
7
|
+
import { O as Order } from '../orders-9_scVq_M.cjs';
|
|
7
8
|
import { AxiosResponse } from 'axios';
|
|
8
9
|
import { a as PhonePe } from '../phonepe-dWMLZel6.cjs';
|
|
9
10
|
import 'react-toastify';
|
|
10
|
-
import '../collections-
|
|
11
|
-
import '../orders-1vcg6whk.cjs';
|
|
11
|
+
import '../collections-8YdINtUf.cjs';
|
|
12
12
|
|
|
13
13
|
declare function setAuthTokenChangeCallback(callback: (token: string | undefined) => void): void;
|
|
14
14
|
declare const Auth: {
|
|
@@ -57,7 +57,7 @@ declare function generateCacheKey(endpoint: string, params?: Record<string, any>
|
|
|
57
57
|
declare const LocalCart: {
|
|
58
58
|
get(): Cart.Root | null;
|
|
59
59
|
set(cart: any): void;
|
|
60
|
-
add(product: ProductDetail.Root): void;
|
|
60
|
+
add(product: ProductDetail.Root, quantity?: number): void;
|
|
61
61
|
remove(product: ProductDetail.Root): void;
|
|
62
62
|
updateQuantity(product: ProductDetail.Root, quantity: number): void;
|
|
63
63
|
clear(): void;
|
|
@@ -90,6 +90,10 @@ declare function getAddressMeta(countryCode: string): Promise<{
|
|
|
90
90
|
postalLabel: string;
|
|
91
91
|
hasPostal: boolean;
|
|
92
92
|
}>;
|
|
93
|
+
declare function getOrderStatus(order: Order.Root | Order.OrderSummary): {
|
|
94
|
+
title: string;
|
|
95
|
+
info?: string;
|
|
96
|
+
};
|
|
93
97
|
|
|
94
98
|
declare class PhonepePayment {
|
|
95
99
|
private readonly amount;
|
|
@@ -207,4 +211,4 @@ declare function isProductCustomized(customizationInputs: Array<{
|
|
|
207
211
|
[key: string]: any;
|
|
208
212
|
}> | undefined, productId: number): boolean;
|
|
209
213
|
|
|
210
|
-
export { Auth, CacheManager, LocalCart, PhonepePayment, SectionFilters, authRoutes, cache, calculateDiscountPercent, clearCache, constructFilter, convertObjectToParams, convertToCurrency, cropImage, debounce, deleteCache, digestMessage, findMatchingVariant, findSimilarVariant, formatBookingDateTime, formatDateTime, formatPostalLabel, generateCacheKey, generateTimeOptions, getAddressMeta, getAvailableDaysText, getCache, getDelayInMilliseconds, getNextAvailableDate, getParamsFromURL, getQueryParams, getTimeConstraints, getUniqueId, hasCache, invalidateCache, isAvailableDay, isColorVariantType, isExpired, isProductCustomized, isVariantCombinationAvailable, pluralize, protectedRoutes, publicRoutes, pushParamsToURL, setAuthTokenChangeCallback, setCache, shareLink, timeFromNow, urls };
|
|
214
|
+
export { Auth, CacheManager, LocalCart, PhonepePayment, SectionFilters, authRoutes, cache, calculateDiscountPercent, clearCache, constructFilter, convertObjectToParams, convertToCurrency, cropImage, debounce, deleteCache, digestMessage, findMatchingVariant, findSimilarVariant, formatBookingDateTime, formatDateTime, formatPostalLabel, generateCacheKey, generateTimeOptions, getAddressMeta, getAvailableDaysText, getCache, getDelayInMilliseconds, getNextAvailableDate, getOrderStatus, getParamsFromURL, getQueryParams, getTimeConstraints, getUniqueId, hasCache, invalidateCache, isAvailableDay, isColorVariantType, isExpired, isProductCustomized, isVariantCombinationAvailable, pluralize, protectedRoutes, publicRoutes, pushParamsToURL, setAuthTokenChangeCallback, setCache, shareLink, timeFromNow, urls };
|