@storepecker/storefront-core 2.5.1 → 2.5.2

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 (45) hide show
  1. package/dist/api/index.cjs +18 -18
  2. package/dist/api/index.d.cts +6 -6
  3. package/dist/api/index.d.ts +6 -6
  4. package/dist/api/index.js +1 -1
  5. package/dist/{booking-DX9SU_qm.d.cts → booking-Bpj3o6Av.d.cts} +1 -1
  6. package/dist/{booking-BVWe8HHh.d.ts → booking-cbb8kh2L.d.ts} +1 -1
  7. package/dist/{cart-CLf2ljxd.d.ts → cart-DV1HcSC6.d.ts} +7 -1
  8. package/dist/{cart-CuLMWnfy.d.cts → cart-lJvJzaoH.d.cts} +7 -1
  9. package/dist/checkout/index.d.cts +3 -3
  10. package/dist/checkout/index.d.ts +3 -3
  11. package/dist/{chunk-XURYZRER.js → chunk-CUR7CHR5.js} +2 -1
  12. package/dist/{chunk-23YAZNVF.cjs → chunk-FU46MZTI.cjs} +7 -7
  13. package/dist/{chunk-VZAIAQZJ.js → chunk-P252YNRA.js} +1 -1
  14. package/dist/{chunk-MTSMQAZR.cjs → chunk-PARH5TBK.cjs} +2 -1
  15. package/dist/{collections-WzvTO0OQ.d.cts → collections-fGX_D_Mi.d.cts} +1 -1
  16. package/dist/{collections-BDSVfRNo.d.ts → collections-kERS_kZw.d.ts} +1 -1
  17. package/dist/components/digital-product-download-modal.d.cts +2 -2
  18. package/dist/components/digital-product-download-modal.d.ts +2 -2
  19. package/dist/components/index.d.cts +5 -5
  20. package/dist/components/index.d.ts +5 -5
  21. package/dist/components/share-button.d.cts +1 -1
  22. package/dist/components/share-button.d.ts +1 -1
  23. package/dist/components/theme-data-initializer.d.cts +5 -5
  24. package/dist/components/theme-data-initializer.d.ts +5 -5
  25. package/dist/hooks/index.cjs +12 -12
  26. package/dist/hooks/index.d.cts +4 -4
  27. package/dist/hooks/index.d.ts +4 -4
  28. package/dist/hooks/index.js +2 -2
  29. package/dist/models/index.d.cts +6 -6
  30. package/dist/models/index.d.ts +6 -6
  31. package/dist/{orders-L_8eIkUS.d.ts → orders--jclZ94W.d.cts} +17 -1
  32. package/dist/{orders-CjNmCY5I.d.cts → orders-D1fVTlCj.d.ts} +17 -1
  33. package/dist/{pixelEvents-LqK0Ltr_.d.ts → pixelEvents-BhKaV1r5.d.ts} +4 -4
  34. package/dist/{pixelEvents-CXViXGtV.d.cts → pixelEvents-CdYQsgEH.d.cts} +4 -4
  35. package/dist/{product-DJMdi4D4.d.ts → product-B8elBN21.d.cts} +4 -0
  36. package/dist/{product-DJMdi4D4.d.cts → product-B8elBN21.d.ts} +4 -0
  37. package/dist/store/index.cjs +7 -7
  38. package/dist/store/index.d.cts +6 -6
  39. package/dist/store/index.d.ts +6 -6
  40. package/dist/store/index.js +2 -2
  41. package/dist/utils/index.d.cts +7 -7
  42. package/dist/utils/index.d.ts +7 -7
  43. package/dist/{wishlist-DKYFZR0s.d.ts → wishlist-B-bvvOxv.d.ts} +1 -1
  44. package/dist/{wishlist-CUuCTSVJ.d.cts → wishlist-BdpIFX5_.d.cts} +1 -1
  45. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkY46EHRJQ_cjs = require('../chunk-Y46EHRJQ.cjs');
4
- var chunkMTSMQAZR_cjs = require('../chunk-MTSMQAZR.cjs');
4
+ var chunkPARH5TBK_cjs = require('../chunk-PARH5TBK.cjs');
5
5
  require('../chunk-SMHJRNCR.cjs');
6
6
  var chunkXFOUNOKO_cjs = require('../chunk-XFOUNOKO.cjs');
7
7
  var chunkDXQX7ZIL_cjs = require('../chunk-DXQX7ZIL.cjs');
@@ -152,71 +152,71 @@ Object.defineProperty(exports, "updateUserDetails", {
152
152
  });
153
153
  Object.defineProperty(exports, "addToCart", {
154
154
  enumerable: true,
155
- get: function () { return chunkMTSMQAZR_cjs.addToCart; }
155
+ get: function () { return chunkPARH5TBK_cjs.addToCart; }
156
156
  });
157
157
  Object.defineProperty(exports, "addWishlist", {
158
158
  enumerable: true,
159
- get: function () { return chunkMTSMQAZR_cjs.addWishlist; }
159
+ get: function () { return chunkPARH5TBK_cjs.addWishlist; }
160
160
  });
161
161
  Object.defineProperty(exports, "getCart", {
162
162
  enumerable: true,
163
- get: function () { return chunkMTSMQAZR_cjs.getCart; }
163
+ get: function () { return chunkPARH5TBK_cjs.getCart; }
164
164
  });
165
165
  Object.defineProperty(exports, "getCartItemQuantity", {
166
166
  enumerable: true,
167
- get: function () { return chunkMTSMQAZR_cjs.getCartItemQuantity; }
167
+ get: function () { return chunkPARH5TBK_cjs.getCartItemQuantity; }
168
168
  });
169
169
  Object.defineProperty(exports, "getCategories", {
170
170
  enumerable: true,
171
- get: function () { return chunkMTSMQAZR_cjs.getCategories; }
171
+ get: function () { return chunkPARH5TBK_cjs.getCategories; }
172
172
  });
173
173
  Object.defineProperty(exports, "getDigitalProductDownloadLink", {
174
174
  enumerable: true,
175
- get: function () { return chunkMTSMQAZR_cjs.getDigitalProductDownloadLink; }
175
+ get: function () { return chunkPARH5TBK_cjs.getDigitalProductDownloadLink; }
176
176
  });
177
177
  Object.defineProperty(exports, "getProductCategories", {
178
178
  enumerable: true,
179
- get: function () { return chunkMTSMQAZR_cjs.getProductCategories; }
179
+ get: function () { return chunkPARH5TBK_cjs.getProductCategories; }
180
180
  });
181
181
  Object.defineProperty(exports, "getProductDetail", {
182
182
  enumerable: true,
183
- get: function () { return chunkMTSMQAZR_cjs.getProductDetail; }
183
+ get: function () { return chunkPARH5TBK_cjs.getProductDetail; }
184
184
  });
185
185
  Object.defineProperty(exports, "getProductDetailBySlug", {
186
186
  enumerable: true,
187
- get: function () { return chunkMTSMQAZR_cjs.getProductDetailBySlug; }
187
+ get: function () { return chunkPARH5TBK_cjs.getProductDetailBySlug; }
188
188
  });
189
189
  Object.defineProperty(exports, "getProductList", {
190
190
  enumerable: true,
191
- get: function () { return chunkMTSMQAZR_cjs.getProductList; }
191
+ get: function () { return chunkPARH5TBK_cjs.getProductList; }
192
192
  });
193
193
  Object.defineProperty(exports, "getProducts", {
194
194
  enumerable: true,
195
- get: function () { return chunkMTSMQAZR_cjs.getProducts; }
195
+ get: function () { return chunkPARH5TBK_cjs.getProducts; }
196
196
  });
197
197
  Object.defineProperty(exports, "getWishlist", {
198
198
  enumerable: true,
199
- get: function () { return chunkMTSMQAZR_cjs.getWishlist; }
199
+ get: function () { return chunkPARH5TBK_cjs.getWishlist; }
200
200
  });
201
201
  Object.defineProperty(exports, "notifyProductStock", {
202
202
  enumerable: true,
203
- get: function () { return chunkMTSMQAZR_cjs.notifyProductStock; }
203
+ get: function () { return chunkPARH5TBK_cjs.notifyProductStock; }
204
204
  });
205
205
  Object.defineProperty(exports, "removeFromCart", {
206
206
  enumerable: true,
207
- get: function () { return chunkMTSMQAZR_cjs.removeFromCart; }
207
+ get: function () { return chunkPARH5TBK_cjs.removeFromCart; }
208
208
  });
209
209
  Object.defineProperty(exports, "removeFromWishlist", {
210
210
  enumerable: true,
211
- get: function () { return chunkMTSMQAZR_cjs.removeFromWishlist; }
211
+ get: function () { return chunkPARH5TBK_cjs.removeFromWishlist; }
212
212
  });
213
213
  Object.defineProperty(exports, "updateCart", {
214
214
  enumerable: true,
215
- get: function () { return chunkMTSMQAZR_cjs.updateCart; }
215
+ get: function () { return chunkPARH5TBK_cjs.updateCart; }
216
216
  });
217
217
  Object.defineProperty(exports, "updateDigitalProductDownloadLinkCount", {
218
218
  enumerable: true,
219
- get: function () { return chunkMTSMQAZR_cjs.updateDigitalProductDownloadLinkCount; }
219
+ get: function () { return chunkPARH5TBK_cjs.updateDigitalProductDownloadLinkCount; }
220
220
  });
221
221
  Object.defineProperty(exports, "applyCoupon", {
222
222
  enumerable: true,
@@ -1,12 +1,12 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosInstance, AxiosResponse } from 'axios';
3
3
  import { A as Address } from '../address-DwBZHzbI.cjs';
4
- import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-CuLMWnfy.cjs';
5
- import { d as Product, f as ProductDetail } from '../product-DJMdi4D4.cjs';
6
- import { O as Order } from '../orders-CjNmCY5I.cjs';
7
- import { W as Wishlist } from '../wishlist-CUuCTSVJ.cjs';
8
- import { C as CollectionResponse } from '../collections-WzvTO0OQ.cjs';
9
- import { R as Review, A as Analytics, B as Booking } from '../booking-DX9SU_qm.cjs';
4
+ import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-lJvJzaoH.cjs';
5
+ import { d as Product, f as ProductDetail } from '../product-B8elBN21.cjs';
6
+ import { O as Order } from '../orders--jclZ94W.cjs';
7
+ import { W as Wishlist } from '../wishlist-BdpIFX5_.cjs';
8
+ import { C as CollectionResponse } from '../collections-fGX_D_Mi.cjs';
9
+ import { R as Review, A as Analytics, B as Booking } from '../booking-Bpj3o6Av.cjs';
10
10
  import 'react-toastify';
11
11
 
12
12
  /**
@@ -1,12 +1,12 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosInstance, AxiosResponse } from 'axios';
3
3
  import { A as Address } from '../address-DwBZHzbI.js';
4
- import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-CLf2ljxd.js';
5
- import { d as Product, f as ProductDetail } from '../product-DJMdi4D4.js';
6
- import { O as Order } from '../orders-L_8eIkUS.js';
7
- import { W as Wishlist } from '../wishlist-DKYFZR0s.js';
8
- import { C as CollectionResponse } from '../collections-BDSVfRNo.js';
9
- import { R as Review, A as Analytics, B as Booking } from '../booking-BVWe8HHh.js';
4
+ import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-DV1HcSC6.js';
5
+ import { d as Product, f as ProductDetail } from '../product-B8elBN21.js';
6
+ import { O as Order } from '../orders-D1fVTlCj.js';
7
+ import { W as Wishlist } from '../wishlist-B-bvvOxv.js';
8
+ import { C as CollectionResponse } from '../collections-kERS_kZw.js';
9
+ import { R as Review, A as Analytics, B as Booking } from '../booking-cbb8kh2L.js';
10
10
  import 'react-toastify';
11
11
 
12
12
  /**
package/dist/api/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { getUserDetails, updateUserDetails } from '../chunk-WYXT5AAG.js';
2
- export { addToCart, addWishlist, getCart, getCartItemQuantity, getCategories, getDigitalProductDownloadLink, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getWishlist, notifyProductStock, removeFromCart, removeFromWishlist, updateCart, updateDigitalProductDownloadLinkCount } from '../chunk-XURYZRER.js';
2
+ export { addToCart, addWishlist, getCart, getCartItemQuantity, getCategories, getDigitalProductDownloadLink, getProductCategories, getProductDetail, getProductDetailBySlug, getProductList, getProducts, getWishlist, notifyProductStock, removeFromCart, removeFromWishlist, updateCart, updateDigitalProductDownloadLinkCount } from '../chunk-CUR7CHR5.js';
3
3
  import '../chunk-QAC72HKO.js';
4
4
  export { applyCoupon, getAppliedCoupon, getCoupons, removeCoupon } from '../chunk-7M5CVYZJ.js';
5
5
  export { checkPhonepePaymentStatus, getOrderDetails, getOrderDetailsByNumber, getOrderDetailsByRef, getOrderDetailsByRefV2, getOrders, getPublicOrderDetailsByNumber, getStripePaymentStatus, getStripePaymentStatusPublic, makeCODOrder, phonepeOrderSuccess, phonepePublicOrderSuccess, placeOrder, publicMakeCODOrder, publicPlaceOrder, razorpayOrderFail, razorpayOrderSuccess, razorpayPublicOrderSuccess, stripeOrderFail, stripeOrderSuccess, stripePublicOrderSuccess, updateOrder, updateOrderCustomization, uploadCustomizationImage, verifyTabbyPayment } from '../chunk-S3ZZ3ZA7.js';
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from './product-DJMdi4D4.cjs';
1
+ import { f as ProductDetail } from './product-B8elBN21.cjs';
2
2
 
3
3
  declare namespace Review {
4
4
  interface ReviewPayload {
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from './product-DJMdi4D4.js';
1
+ import { f as ProductDetail } from './product-B8elBN21.js';
2
2
 
3
3
  declare namespace Review {
4
4
  interface ReviewPayload {
@@ -1,4 +1,4 @@
1
- import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-DJMdi4D4.js';
1
+ import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-B8elBN21.js';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
@@ -109,6 +109,12 @@ declare namespace Cart {
109
109
  shipping_options: ShippingOption[];
110
110
  selected_shipping_option_id: number | null;
111
111
  selected_address_id: number | null;
112
+ split_preview?: {
113
+ has_split: boolean;
114
+ regular_total: string;
115
+ preorder_total: string;
116
+ preorder_ship_days: number;
117
+ } | null;
112
118
  }
113
119
  interface CustomizationInput {
114
120
  id: number;
@@ -1,4 +1,4 @@
1
- import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-DJMdi4D4.cjs';
1
+ import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-B8elBN21.cjs';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
@@ -109,6 +109,12 @@ declare namespace Cart {
109
109
  shipping_options: ShippingOption[];
110
110
  selected_shipping_option_id: number | null;
111
111
  selected_address_id: number | null;
112
+ split_preview?: {
113
+ has_split: boolean;
114
+ regular_total: string;
115
+ preorder_total: string;
116
+ preorder_ship_days: number;
117
+ } | null;
112
118
  }
113
119
  interface CustomizationInput {
114
120
  id: number;
@@ -1,7 +1,7 @@
1
1
  import * as Yup from 'yup';
2
- import { C as Cart, c as Coupon } from '../cart-CuLMWnfy.cjs';
3
- import { O as Order } from '../orders-CjNmCY5I.cjs';
4
- import '../product-DJMdi4D4.cjs';
2
+ import { C as Cart, c as Coupon } from '../cart-lJvJzaoH.cjs';
3
+ import { O as Order } from '../orders--jclZ94W.cjs';
4
+ import '../product-B8elBN21.cjs';
5
5
  import 'react-toastify';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import * as Yup from 'yup';
2
- import { C as Cart, c as Coupon } from '../cart-CLf2ljxd.js';
3
- import { O as Order } from '../orders-L_8eIkUS.js';
4
- import '../product-DJMdi4D4.js';
2
+ import { C as Cart, c as Coupon } from '../cart-DV1HcSC6.js';
3
+ import { O as Order } from '../orders-D1fVTlCj.js';
4
+ import '../product-B8elBN21.js';
5
5
  import 'react-toastify';
6
6
 
7
7
  /**
@@ -21,7 +21,8 @@ async function getCart(url, addressId, shippingOptionId) {
21
21
  applied_coupon: {},
22
22
  shipping_options: [],
23
23
  selected_shipping_option_id: null,
24
- selected_address_id: null
24
+ selected_address_id: null,
25
+ split_preview: null
25
26
  };
26
27
  }
27
28
  async function getCartItemQuantity() {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkMTSMQAZR_cjs = require('./chunk-MTSMQAZR.cjs');
3
+ var chunkPARH5TBK_cjs = require('./chunk-PARH5TBK.cjs');
4
4
  var chunkSMHJRNCR_cjs = require('./chunk-SMHJRNCR.cjs');
5
5
  var chunkDXQX7ZIL_cjs = require('./chunk-DXQX7ZIL.cjs');
6
6
  var chunkBBRXE57K_cjs = require('./chunk-BBRXE57K.cjs');
@@ -23,7 +23,7 @@ var useCartStore = zustand.create((set) => ({
23
23
  }),
24
24
  fetchCartQuantity: async () => {
25
25
  try {
26
- const { total_quantity } = await chunkMTSMQAZR_cjs.getCartItemQuantity();
26
+ const { total_quantity } = await chunkPARH5TBK_cjs.getCartItemQuantity();
27
27
  set({ total_quantity });
28
28
  } catch (error) {
29
29
  console.error("Failed to fetch cart quantity", error);
@@ -32,7 +32,7 @@ var useCartStore = zustand.create((set) => ({
32
32
  syncCart: async (addressId, shippingOptionId) => {
33
33
  set({ status: "loading" /* LOADING */ });
34
34
  try {
35
- const response = await chunkMTSMQAZR_cjs.getCart("/customer/cart/", addressId, shippingOptionId);
35
+ const response = await chunkPARH5TBK_cjs.getCart("/customer/cart/", addressId, shippingOptionId);
36
36
  if (response) {
37
37
  set({ cart: response, total_quantity: response.total_quantity, status: "idle" /* IDLE */ });
38
38
  }
@@ -43,7 +43,7 @@ var useCartStore = zustand.create((set) => ({
43
43
  fetchCart: async (addressId, shippingOptionId) => {
44
44
  set({ status: "loading" /* LOADING */ });
45
45
  try {
46
- const response = await chunkMTSMQAZR_cjs.getCart("/customer/cart/", addressId, shippingOptionId);
46
+ const response = await chunkPARH5TBK_cjs.getCart("/customer/cart/", addressId, shippingOptionId);
47
47
  if (response) {
48
48
  set({ cart: response, total_quantity: response.total_quantity, status: "idle" /* IDLE */ });
49
49
  }
@@ -55,7 +55,7 @@ var useCartStore = zustand.create((set) => ({
55
55
  set({ status: "loading" /* LOADING */ });
56
56
  try {
57
57
  if (chunkBBRXE57K_cjs.auth_default.getUserDetails()) {
58
- await chunkMTSMQAZR_cjs.addToCart(items, customizationInputs);
58
+ await chunkPARH5TBK_cjs.addToCart(items, customizationInputs);
59
59
  await useCartStore.getState().syncCart(addressId);
60
60
  } else {
61
61
  const cart = chunkSMHJRNCR_cjs.cart_default.get();
@@ -83,7 +83,7 @@ var useCartStore = zustand.create((set) => ({
83
83
  set({ status: "loading" /* LOADING */ });
84
84
  try {
85
85
  if (chunkBBRXE57K_cjs.auth_default.getUserDetails()) {
86
- await chunkMTSMQAZR_cjs.removeFromCart(items);
86
+ await chunkPARH5TBK_cjs.removeFromCart(items);
87
87
  await useCartStore.getState().syncCart(addressId);
88
88
  } else {
89
89
  const cart = chunkSMHJRNCR_cjs.cart_default.get();
@@ -114,7 +114,7 @@ var useCartStore = zustand.create((set) => ({
114
114
  set({ status: "loading" /* LOADING */ });
115
115
  try {
116
116
  if (chunkBBRXE57K_cjs.auth_default.getUserDetails()) {
117
- await chunkMTSMQAZR_cjs.updateCart(items);
117
+ await chunkPARH5TBK_cjs.updateCart(items);
118
118
  await useCartStore.getState().syncCart(addressId);
119
119
  } else {
120
120
  const cart = chunkSMHJRNCR_cjs.cart_default.get();
@@ -1,4 +1,4 @@
1
- import { updateCart, removeFromCart, addToCart, getCart, getCartItemQuantity } from './chunk-XURYZRER.js';
1
+ import { updateCart, removeFromCart, addToCart, getCart, getCartItemQuantity } from './chunk-CUR7CHR5.js';
2
2
  import { cart_default } from './chunk-QAC72HKO.js';
3
3
  import { updateOrderCustomization } from './chunk-S3ZZ3ZA7.js';
4
4
  import { auth_default } from './chunk-WEMNXIRS.js';
@@ -23,7 +23,8 @@ async function getCart(url, addressId, shippingOptionId) {
23
23
  applied_coupon: {},
24
24
  shipping_options: [],
25
25
  selected_shipping_option_id: null,
26
- selected_address_id: null
26
+ selected_address_id: null,
27
+ split_preview: null
27
28
  };
28
29
  }
29
30
  async function getCartItemQuantity() {
@@ -1,4 +1,4 @@
1
- import { d as Product } from './product-DJMdi4D4.cjs';
1
+ import { d as Product } from './product-B8elBN21.cjs';
2
2
 
3
3
  interface CollectionResponse {
4
4
  id: number;
@@ -1,4 +1,4 @@
1
- import { d as Product } from './product-DJMdi4D4.js';
1
+ import { d as Product } from './product-B8elBN21.js';
2
2
 
3
3
  interface CollectionResponse {
4
4
  id: number;
@@ -1,5 +1,5 @@
1
- import { O as Order } from '../orders-CjNmCY5I.cjs';
2
- import { f as ProductDetail } from '../product-DJMdi4D4.cjs';
1
+ import { O as Order } from '../orders--jclZ94W.cjs';
2
+ import { f as ProductDetail } from '../product-B8elBN21.cjs';
3
3
  import 'react-toastify';
4
4
 
5
5
  interface DigitalProductDownloadModalProps {
@@ -1,5 +1,5 @@
1
- import { O as Order } from '../orders-L_8eIkUS.js';
2
- import { f as ProductDetail } from '../product-DJMdi4D4.js';
1
+ import { O as Order } from '../orders-D1fVTlCj.js';
2
+ import { f as ProductDetail } from '../product-B8elBN21.js';
3
3
  import 'react-toastify';
4
4
 
5
5
  interface DigitalProductDownloadModalProps {
@@ -8,10 +8,10 @@ import 'react';
8
8
  import '../useAddressForm-DGbEn91-.cjs';
9
9
  import 'formik';
10
10
  import '../address-DwBZHzbI.cjs';
11
- import '../product-DJMdi4D4.cjs';
11
+ import '../product-B8elBN21.cjs';
12
12
  import 'react-toastify';
13
13
  import 'react/jsx-runtime';
14
- import '../orders-CjNmCY5I.cjs';
15
- import '../pixelEvents-CXViXGtV.cjs';
16
- import '../cart-CuLMWnfy.cjs';
17
- import '../collections-WzvTO0OQ.cjs';
14
+ import '../orders--jclZ94W.cjs';
15
+ import '../pixelEvents-CdYQsgEH.cjs';
16
+ import '../cart-lJvJzaoH.cjs';
17
+ import '../collections-fGX_D_Mi.cjs';
@@ -8,10 +8,10 @@ import 'react';
8
8
  import '../useAddressForm-cO3Au33k.js';
9
9
  import 'formik';
10
10
  import '../address-DwBZHzbI.js';
11
- import '../product-DJMdi4D4.js';
11
+ import '../product-B8elBN21.js';
12
12
  import 'react-toastify';
13
13
  import 'react/jsx-runtime';
14
- import '../orders-L_8eIkUS.js';
15
- import '../pixelEvents-LqK0Ltr_.js';
16
- import '../cart-CLf2ljxd.js';
17
- import '../collections-BDSVfRNo.js';
14
+ import '../orders-D1fVTlCj.js';
15
+ import '../pixelEvents-BhKaV1r5.js';
16
+ import '../cart-DV1HcSC6.js';
17
+ import '../collections-kERS_kZw.js';
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from '../product-DJMdi4D4.cjs';
1
+ import { f as ProductDetail } from '../product-B8elBN21.cjs';
2
2
  import 'react-toastify';
3
3
 
4
4
  interface ShareButtonProps {
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from '../product-DJMdi4D4.js';
1
+ import { f as ProductDetail } from '../product-B8elBN21.js';
2
2
  import 'react-toastify';
3
3
 
4
4
  interface ShareButtonProps {
@@ -1,9 +1,9 @@
1
- import { P as PageHeaderProps } from '../pixelEvents-CXViXGtV.cjs';
2
- import '../cart-CuLMWnfy.cjs';
3
- import '../product-DJMdi4D4.cjs';
1
+ import { P as PageHeaderProps } from '../pixelEvents-CdYQsgEH.cjs';
2
+ import '../cart-lJvJzaoH.cjs';
3
+ import '../product-B8elBN21.cjs';
4
4
  import 'react-toastify';
5
- import '../collections-WzvTO0OQ.cjs';
6
- import '../orders-CjNmCY5I.cjs';
5
+ import '../collections-fGX_D_Mi.cjs';
6
+ import '../orders--jclZ94W.cjs';
7
7
 
8
8
  declare function ThemeDataInitializer({ themeData, }: {
9
9
  themeData: PageHeaderProps;
@@ -1,9 +1,9 @@
1
- import { P as PageHeaderProps } from '../pixelEvents-LqK0Ltr_.js';
2
- import '../cart-CLf2ljxd.js';
3
- import '../product-DJMdi4D4.js';
1
+ import { P as PageHeaderProps } from '../pixelEvents-BhKaV1r5.js';
2
+ import '../cart-DV1HcSC6.js';
3
+ import '../product-B8elBN21.js';
4
4
  import 'react-toastify';
5
- import '../collections-BDSVfRNo.js';
6
- import '../orders-L_8eIkUS.js';
5
+ import '../collections-kERS_kZw.js';
6
+ import '../orders-D1fVTlCj.js';
7
7
 
8
8
  declare function ThemeDataInitializer({ themeData, }: {
9
9
  themeData: PageHeaderProps;
@@ -2,8 +2,8 @@
2
2
 
3
3
  var chunkY46EHRJQ_cjs = require('../chunk-Y46EHRJQ.cjs');
4
4
  var chunk2AHH3XBW_cjs = require('../chunk-2AHH3XBW.cjs');
5
- var chunk23YAZNVF_cjs = require('../chunk-23YAZNVF.cjs');
6
- var chunkMTSMQAZR_cjs = require('../chunk-MTSMQAZR.cjs');
5
+ var chunkFU46MZTI_cjs = require('../chunk-FU46MZTI.cjs');
6
+ var chunkPARH5TBK_cjs = require('../chunk-PARH5TBK.cjs');
7
7
  var chunkSMHJRNCR_cjs = require('../chunk-SMHJRNCR.cjs');
8
8
  var chunkPZJT2Y5B_cjs = require('../chunk-PZJT2Y5B.cjs');
9
9
  var chunkXFOUNOKO_cjs = require('../chunk-XFOUNOKO.cjs');
@@ -55,7 +55,7 @@ var useCart = (addressId) => {
55
55
  async (addrId) => {
56
56
  try {
57
57
  setIsLoading(true);
58
- const result = await chunkMTSMQAZR_cjs.getCart("/customer/cart/", addrId ?? addressId);
58
+ const result = await chunkPARH5TBK_cjs.getCart("/customer/cart/", addrId ?? addressId);
59
59
  setData(result);
60
60
  setError(null);
61
61
  } catch (err) {
@@ -127,7 +127,7 @@ function useGetProducts(initialFilter, options) {
127
127
  apiParams[key] = value;
128
128
  }
129
129
  }
130
- const result = await chunkMTSMQAZR_cjs.getProductList(endpoint, apiParams);
130
+ const result = await chunkPARH5TBK_cjs.getProductList(endpoint, apiParams);
131
131
  setData(result);
132
132
  if (modeRef.current === "append" && isLoadMoreRef.current) {
133
133
  setProducts((prev) => [...prev, ...result.results || []]);
@@ -195,7 +195,7 @@ var useGetProductDetails = (slug) => {
195
195
  const fetchData = react.useCallback(async () => {
196
196
  try {
197
197
  setIsLoading(true);
198
- const result = await chunkMTSMQAZR_cjs.getProductDetail("/inventory/products/", slug);
198
+ const result = await chunkPARH5TBK_cjs.getProductDetail("/inventory/products/", slug);
199
199
  setData(result);
200
200
  } catch (err) {
201
201
  } finally {
@@ -218,7 +218,7 @@ var useGetProductCategories = () => {
218
218
  const fetchData = async () => {
219
219
  try {
220
220
  setIsLoading(true);
221
- const result = await chunkMTSMQAZR_cjs.getProductCategories("/store/categories");
221
+ const result = await chunkPARH5TBK_cjs.getProductCategories("/store/categories");
222
222
  setData(result || []);
223
223
  } catch (err) {
224
224
  setError(err);
@@ -263,7 +263,7 @@ var useWishlist = () => {
263
263
  const fetchData = react.useCallback(async () => {
264
264
  try {
265
265
  setIsLoading(true);
266
- const response = await chunkMTSMQAZR_cjs.getWishlist("/customer/wishlist/");
266
+ const response = await chunkPARH5TBK_cjs.getWishlist("/customer/wishlist/");
267
267
  if (response.data) setData(response.data);
268
268
  setError(null);
269
269
  } catch (err) {
@@ -321,7 +321,7 @@ function useCheckoutPayment(options) {
321
321
  const [isConfirmingPayment, setIsConfirmingPayment] = react.useState(false);
322
322
  const [showSuccessModal, setShowSuccessModal] = react.useState(false);
323
323
  const [showFailureModal, setShowFailureModal] = react.useState(false);
324
- const resetCartCount = chunk23YAZNVF_cjs.useCartStore((s) => s.resetCartCount);
324
+ const resetCartCount = chunkFU46MZTI_cjs.useCartStore((s) => s.resetCartCount);
325
325
  const callbacks = {
326
326
  onSuccess: (order) => {
327
327
  setOrderSummary(order);
@@ -508,8 +508,8 @@ function useVariantSelector(options) {
508
508
  }
509
509
  function useShopCheckout(options) {
510
510
  const { product, onNavigateToCart, onToast } = options;
511
- const { addToCart, setCart } = chunk23YAZNVF_cjs.useCartStore();
512
- const isUserAuthenticated = chunk23YAZNVF_cjs.useAuthStore((s) => s.isAuthenticated);
511
+ const { addToCart, setCart } = chunkFU46MZTI_cjs.useCartStore();
512
+ const isUserAuthenticated = chunkFU46MZTI_cjs.useAuthStore((s) => s.isAuthenticated);
513
513
  const [isWishlisted, setIsWishlisted] = react.useState(product.is_wishlisted);
514
514
  const [isAddedToCart, setIsAddedToCart] = react.useState(false);
515
515
  const [loading, setLoading] = react.useState(false);
@@ -520,7 +520,7 @@ function useShopCheckout(options) {
520
520
  react.useEffect(() => {
521
521
  const fetchCategories = async () => {
522
522
  try {
523
- const response = await chunkMTSMQAZR_cjs.getCategories();
523
+ const response = await chunkPARH5TBK_cjs.getCategories();
524
524
  setCategories(response.data);
525
525
  } catch (error) {
526
526
  console.log(error);
@@ -634,7 +634,7 @@ function useShopCheckout(options) {
634
634
  const handleNotifyMeFormSubmit = react.useCallback(
635
635
  async (values) => {
636
636
  try {
637
- const response = await chunkMTSMQAZR_cjs.notifyProductStock({
637
+ const response = await chunkPARH5TBK_cjs.notifyProductStock({
638
638
  ...values,
639
639
  variant_slug: product.slug
640
640
  });
@@ -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-CuLMWnfy.cjs';
4
- import { O as Order } from '../orders-CjNmCY5I.cjs';
5
- import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-DJMdi4D4.cjs';
6
- import { W as Wishlist } from '../wishlist-CUuCTSVJ.cjs';
3
+ import { C as Cart, b as Category, U as User, c as Coupon } from '../cart-lJvJzaoH.cjs';
4
+ import { O as Order } from '../orders--jclZ94W.cjs';
5
+ import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-B8elBN21.cjs';
6
+ import { W as Wishlist } from '../wishlist-BdpIFX5_.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';
@@ -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-CLf2ljxd.js';
4
- import { O as Order } from '../orders-L_8eIkUS.js';
5
- import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-DJMdi4D4.js';
6
- import { W as Wishlist } from '../wishlist-DKYFZR0s.js';
3
+ import { C as Cart, b as Category, U as User, c as Coupon } from '../cart-DV1HcSC6.js';
4
+ import { O as Order } from '../orders-D1fVTlCj.js';
5
+ import { d as Product, f as ProductDetail, e as ProductAttribute, A as Attributes } from '../product-B8elBN21.js';
6
+ import { W as Wishlist } from '../wishlist-B-bvvOxv.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';
@@ -1,7 +1,7 @@
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-VZAIAQZJ.js';
4
- import { getCart, getProductList, getProductDetail, getWishlist, notifyProductStock, getProductCategories, getCategories } from '../chunk-XURYZRER.js';
3
+ import { useCartStore, useAuthStore } from '../chunk-P252YNRA.js';
4
+ import { getCart, getProductList, getProductDetail, getWishlist, notifyProductStock, getProductCategories, getCategories } from '../chunk-CUR7CHR5.js';
5
5
  import { cart_default } from '../chunk-QAC72HKO.js';
6
6
  import { processPayment, fetchAvailableCoupons, applyCheckoutCoupon, removeCheckoutCoupon } from '../chunk-NXQIWB36.js';
7
7
  import { applyCoupon, removeCoupon, getCoupons, getAppliedCoupon } from '../chunk-7M5CVYZJ.js';
@@ -1,11 +1,11 @@
1
1
  export { A as Address } from '../address-DwBZHzbI.cjs';
2
- export { A as Analytics, B as Booking, a as BookingDetails, R as Review } from '../booking-DX9SU_qm.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-CuLMWnfy.cjs';
4
- export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-WzvTO0OQ.cjs';
5
- export { O as Order } from '../orders-CjNmCY5I.cjs';
2
+ export { A as Analytics, B as Booking, a as BookingDetails, R as Review } from '../booking-Bpj3o6Av.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-lJvJzaoH.cjs';
4
+ export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-fGX_D_Mi.cjs';
5
+ export { O as Order } from '../orders--jclZ94W.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-DJMdi4D4.cjs';
8
- export { W as Wishlist } from '../wishlist-CUuCTSVJ.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-B8elBN21.cjs';
8
+ export { W as Wishlist } from '../wishlist-BdpIFX5_.cjs';
9
9
  import 'react-toastify';
10
10
 
11
11
  declare namespace CountryModel {
@@ -1,11 +1,11 @@
1
1
  export { A as Address } from '../address-DwBZHzbI.js';
2
- export { A as Analytics, B as Booking, a as BookingDetails, R as Review } from '../booking-BVWe8HHh.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-CLf2ljxd.js';
4
- export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-BDSVfRNo.js';
5
- export { O as Order } from '../orders-L_8eIkUS.js';
2
+ export { A as Analytics, B as Booking, a as BookingDetails, R as Review } from '../booking-cbb8kh2L.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-DV1HcSC6.js';
4
+ export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-kERS_kZw.js';
5
+ export { O as Order } from '../orders-D1fVTlCj.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-DJMdi4D4.js';
8
- export { W as Wishlist } from '../wishlist-DKYFZR0s.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-B8elBN21.js';
8
+ export { W as Wishlist } from '../wishlist-B-bvvOxv.js';
9
9
  import 'react-toastify';
10
10
 
11
11
  declare namespace CountryModel {
@@ -1,4 +1,4 @@
1
- import { P as Photos } from './product-DJMdi4D4.js';
1
+ import { P as Photos } from './product-B8elBN21.cjs';
2
2
 
3
3
  declare namespace Order {
4
4
  interface Root {
@@ -26,6 +26,14 @@ declare namespace Order {
26
26
  customer_details: CustomerDetails;
27
27
  customer_name: string;
28
28
  customer_phone: string;
29
+ linked_order: number;
30
+ linked_orders: {
31
+ id: number;
32
+ order_number: number;
33
+ is_preorder: boolean;
34
+ total_amount: number;
35
+ }[];
36
+ is_preorder: boolean;
29
37
  }
30
38
  interface OrderResponse {
31
39
  currentPage: number;
@@ -106,6 +114,14 @@ declare namespace Order {
106
114
  total_coupon_discount: number;
107
115
  stripe_payment_link_url: string;
108
116
  tabby_redirect_url?: string;
117
+ linked_order: number;
118
+ linked_orders: {
119
+ id: number;
120
+ order_number: number;
121
+ is_preorder: boolean;
122
+ total_amount: number;
123
+ }[];
124
+ is_preorder: boolean;
109
125
  }
110
126
  interface PurchasedProduct {
111
127
  product_id: number;
@@ -1,4 +1,4 @@
1
- import { P as Photos } from './product-DJMdi4D4.cjs';
1
+ import { P as Photos } from './product-B8elBN21.js';
2
2
 
3
3
  declare namespace Order {
4
4
  interface Root {
@@ -26,6 +26,14 @@ declare namespace Order {
26
26
  customer_details: CustomerDetails;
27
27
  customer_name: string;
28
28
  customer_phone: string;
29
+ linked_order: number;
30
+ linked_orders: {
31
+ id: number;
32
+ order_number: number;
33
+ is_preorder: boolean;
34
+ total_amount: number;
35
+ }[];
36
+ is_preorder: boolean;
29
37
  }
30
38
  interface OrderResponse {
31
39
  currentPage: number;
@@ -106,6 +114,14 @@ declare namespace Order {
106
114
  total_coupon_discount: number;
107
115
  stripe_payment_link_url: string;
108
116
  tabby_redirect_url?: string;
117
+ linked_order: number;
118
+ linked_orders: {
119
+ id: number;
120
+ order_number: number;
121
+ is_preorder: boolean;
122
+ total_amount: number;
123
+ }[];
124
+ is_preorder: boolean;
109
125
  }
110
126
  interface PurchasedProduct {
111
127
  product_id: number;
@@ -1,7 +1,7 @@
1
- import { b as Category$1, C as Cart } from './cart-CLf2ljxd.js';
2
- import { C as CollectionResponse } from './collections-BDSVfRNo.js';
3
- import { O as Order } from './orders-L_8eIkUS.js';
4
- import { f as ProductDetail, d as Product } from './product-DJMdi4D4.js';
1
+ import { b as Category$1, C as Cart } from './cart-DV1HcSC6.js';
2
+ import { C as CollectionResponse } from './collections-kERS_kZw.js';
3
+ import { O as Order } from './orders-D1fVTlCj.js';
4
+ import { f as ProductDetail, d as Product } from './product-B8elBN21.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-CuLMWnfy.cjs';
2
- import { C as CollectionResponse } from './collections-WzvTO0OQ.cjs';
3
- import { O as Order } from './orders-CjNmCY5I.cjs';
4
- import { f as ProductDetail, d as Product } from './product-DJMdi4D4.cjs';
1
+ import { b as Category$1, C as Cart } from './cart-lJvJzaoH.cjs';
2
+ import { C as CollectionResponse } from './collections-fGX_D_Mi.cjs';
3
+ import { O as Order } from './orders--jclZ94W.cjs';
4
+ import { f as ProductDetail, d as Product } from './product-B8elBN21.cjs';
5
5
 
6
6
  interface PageProps {
7
7
  nav_bar: NavBar;
@@ -127,6 +127,8 @@ declare namespace Product {
127
127
  [key: string]: number;
128
128
  };
129
129
  };
130
+ is_preorder: boolean;
131
+ preorder_ship_days: number;
130
132
  }
131
133
  interface ProductResponse {
132
134
  count: number;
@@ -241,6 +243,8 @@ declare namespace ProductDetail {
241
243
  [key: string]: number;
242
244
  };
243
245
  };
246
+ is_preorder: boolean;
247
+ preorder_ship_days: number;
244
248
  }
245
249
  interface VariantAttribute {
246
250
  [key: string]: {
@@ -127,6 +127,8 @@ declare namespace Product {
127
127
  [key: string]: number;
128
128
  };
129
129
  };
130
+ is_preorder: boolean;
131
+ preorder_ship_days: number;
130
132
  }
131
133
  interface ProductResponse {
132
134
  count: number;
@@ -241,6 +243,8 @@ declare namespace ProductDetail {
241
243
  [key: string]: number;
242
244
  };
243
245
  };
246
+ is_preorder: boolean;
247
+ preorder_ship_days: number;
244
248
  }
245
249
  interface VariantAttribute {
246
250
  [key: string]: {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk23YAZNVF_cjs = require('../chunk-23YAZNVF.cjs');
4
- var chunkMTSMQAZR_cjs = require('../chunk-MTSMQAZR.cjs');
3
+ var chunkFU46MZTI_cjs = require('../chunk-FU46MZTI.cjs');
4
+ var chunkPARH5TBK_cjs = require('../chunk-PARH5TBK.cjs');
5
5
  require('../chunk-SMHJRNCR.cjs');
6
6
  require('../chunk-DXQX7ZIL.cjs');
7
7
  var chunkDODFO744_cjs = require('../chunk-DODFO744.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 chunkMTSMQAZR_cjs.getWishlist("/customer/wishlist/");
24
+ const response = await chunkPARH5TBK_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 chunkMTSMQAZR_cjs.getProducts({ ...filter });
52
+ const response = await chunkPARH5TBK_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 chunk23YAZNVF_cjs.loginUser; }
72
+ get: function () { return chunkFU46MZTI_cjs.loginUser; }
73
73
  });
74
74
  Object.defineProperty(exports, "useAuthStore", {
75
75
  enumerable: true,
76
- get: function () { return chunk23YAZNVF_cjs.useAuthStore; }
76
+ get: function () { return chunkFU46MZTI_cjs.useAuthStore; }
77
77
  });
78
78
  Object.defineProperty(exports, "useCartStore", {
79
79
  enumerable: true,
80
- get: function () { return chunk23YAZNVF_cjs.useCartStore; }
80
+ get: function () { return chunkFU46MZTI_cjs.useCartStore; }
81
81
  });
82
82
  Object.defineProperty(exports, "useThemeData", {
83
83
  enumerable: true,
@@ -1,11 +1,11 @@
1
1
  import * as zustand from 'zustand';
2
- import { a as CartState, C as Cart, U as User } from '../cart-CuLMWnfy.cjs';
3
- import { W as Wishlist } from '../wishlist-CUuCTSVJ.cjs';
4
- import { d as Product } from '../product-DJMdi4D4.cjs';
5
- import { P as PageHeaderProps } from '../pixelEvents-CXViXGtV.cjs';
2
+ import { a as CartState, C as Cart, U as User } from '../cart-lJvJzaoH.cjs';
3
+ import { W as Wishlist } from '../wishlist-BdpIFX5_.cjs';
4
+ import { d as Product } from '../product-B8elBN21.cjs';
5
+ import { P as PageHeaderProps } from '../pixelEvents-CdYQsgEH.cjs';
6
6
  import 'react-toastify';
7
- import '../collections-WzvTO0OQ.cjs';
8
- import '../orders-CjNmCY5I.cjs';
7
+ import '../collections-fGX_D_Mi.cjs';
8
+ import '../orders--jclZ94W.cjs';
9
9
 
10
10
  interface CartStore extends CartState {
11
11
  setCart: (cart: Cart.Root) => void;
@@ -1,11 +1,11 @@
1
1
  import * as zustand from 'zustand';
2
- import { a as CartState, C as Cart, U as User } from '../cart-CLf2ljxd.js';
3
- import { W as Wishlist } from '../wishlist-DKYFZR0s.js';
4
- import { d as Product } from '../product-DJMdi4D4.js';
5
- import { P as PageHeaderProps } from '../pixelEvents-LqK0Ltr_.js';
2
+ import { a as CartState, C as Cart, U as User } from '../cart-DV1HcSC6.js';
3
+ import { W as Wishlist } from '../wishlist-B-bvvOxv.js';
4
+ import { d as Product } from '../product-B8elBN21.js';
5
+ import { P as PageHeaderProps } from '../pixelEvents-BhKaV1r5.js';
6
6
  import 'react-toastify';
7
- import '../collections-BDSVfRNo.js';
8
- import '../orders-L_8eIkUS.js';
7
+ import '../collections-kERS_kZw.js';
8
+ import '../orders-D1fVTlCj.js';
9
9
 
10
10
  interface CartStore extends CartState {
11
11
  setCart: (cart: Cart.Root) => void;
@@ -1,5 +1,5 @@
1
- export { loginUser, useAuthStore, useCartStore } from '../chunk-VZAIAQZJ.js';
2
- import { getWishlist, getProducts } from '../chunk-XURYZRER.js';
1
+ export { loginUser, useAuthStore, useCartStore } from '../chunk-P252YNRA.js';
2
+ import { getWishlist, getProducts } from '../chunk-CUR7CHR5.js';
3
3
  import '../chunk-QAC72HKO.js';
4
4
  import '../chunk-S3ZZ3ZA7.js';
5
5
  export { useThemeData } from '../chunk-5NUDTIQ2.js';
@@ -1,14 +1,14 @@
1
- import { f as ProductDetail, O as OperatingHours, T as TimeSlot, A as Attributes } from '../product-DJMdi4D4.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-DJMdi4D4.cjs';
3
- import { C as Cart } from '../cart-CuLMWnfy.cjs';
1
+ import { f as ProductDetail, O as OperatingHours, T as TimeSlot, A as Attributes } from '../product-B8elBN21.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-B8elBN21.cjs';
3
+ import { C as Cart } from '../cart-lJvJzaoH.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-CXViXGtV.cjs';
6
- export { A as AvailableFilter, B as Banner, C as Category, a as CategoryHighlights, b as Collections, c as ColorScheme, F as FilterOption, d as FilterType, e as Footer, H as HeaderCategory, f as Hero, g as HomePageContents, I as ImageWithText, L as LocationData, h as Logo, M as Menuitem, N as NavBar, i as NavElement, j as NavElementOld, P as PageHeaderProps, k as PageMeta, l as PageProps, m as PagePropsFull, n as PreFooter, o as ProductCollection, p as ProductHighlight, R as RibbonBar, q as RibbonMessage, r as Section, s as SectionType, t as SliderSettings, u as SocialLinks, v as SocialMedia, w as StoreReview, x as SubCategory, y as SubCategorySection, T as TemplateTheme, z as Theme, V as ValueHighlights, D as pixelEvents, E as preFooterContent } from '../pixelEvents-CXViXGtV.cjs';
5
+ import { S as SectionFilters } from '../pixelEvents-CdYQsgEH.cjs';
6
+ export { A as AvailableFilter, B as Banner, C as Category, a as CategoryHighlights, b as Collections, c as ColorScheme, F as FilterOption, d as FilterType, e as Footer, H as HeaderCategory, f as Hero, g as HomePageContents, I as ImageWithText, L as LocationData, h as Logo, M as Menuitem, N as NavBar, i as NavElement, j as NavElementOld, P as PageHeaderProps, k as PageMeta, l as PageProps, m as PagePropsFull, n as PreFooter, o as ProductCollection, p as ProductHighlight, R as RibbonBar, q as RibbonMessage, r as Section, s as SectionType, t as SliderSettings, u as SocialLinks, v as SocialMedia, w as StoreReview, x as SubCategory, y as SubCategorySection, T as TemplateTheme, z as Theme, V as ValueHighlights, D as pixelEvents, E as preFooterContent } from '../pixelEvents-CdYQsgEH.cjs';
7
7
  import { AxiosResponse } from 'axios';
8
8
  import { a as PhonePe } from '../phonepe-dWMLZel6.cjs';
9
9
  import 'react-toastify';
10
- import '../collections-WzvTO0OQ.cjs';
11
- import '../orders-CjNmCY5I.cjs';
10
+ import '../collections-fGX_D_Mi.cjs';
11
+ import '../orders--jclZ94W.cjs';
12
12
 
13
13
  declare function setAuthTokenChangeCallback(callback: (token: string | undefined) => void): void;
14
14
  declare const Auth: {
@@ -1,14 +1,14 @@
1
- import { f as ProductDetail, O as OperatingHours, T as TimeSlot, A as Attributes } from '../product-DJMdi4D4.js';
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-DJMdi4D4.js';
3
- import { C as Cart } from '../cart-CLf2ljxd.js';
1
+ import { f as ProductDetail, O as OperatingHours, T as TimeSlot, A as Attributes } from '../product-B8elBN21.js';
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-B8elBN21.js';
3
+ import { C as Cart } from '../cart-DV1HcSC6.js';
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.js';
5
- import { S as SectionFilters } from '../pixelEvents-LqK0Ltr_.js';
6
- export { A as AvailableFilter, B as Banner, C as Category, a as CategoryHighlights, b as Collections, c as ColorScheme, F as FilterOption, d as FilterType, e as Footer, H as HeaderCategory, f as Hero, g as HomePageContents, I as ImageWithText, L as LocationData, h as Logo, M as Menuitem, N as NavBar, i as NavElement, j as NavElementOld, P as PageHeaderProps, k as PageMeta, l as PageProps, m as PagePropsFull, n as PreFooter, o as ProductCollection, p as ProductHighlight, R as RibbonBar, q as RibbonMessage, r as Section, s as SectionType, t as SliderSettings, u as SocialLinks, v as SocialMedia, w as StoreReview, x as SubCategory, y as SubCategorySection, T as TemplateTheme, z as Theme, V as ValueHighlights, D as pixelEvents, E as preFooterContent } from '../pixelEvents-LqK0Ltr_.js';
5
+ import { S as SectionFilters } from '../pixelEvents-BhKaV1r5.js';
6
+ export { A as AvailableFilter, B as Banner, C as Category, a as CategoryHighlights, b as Collections, c as ColorScheme, F as FilterOption, d as FilterType, e as Footer, H as HeaderCategory, f as Hero, g as HomePageContents, I as ImageWithText, L as LocationData, h as Logo, M as Menuitem, N as NavBar, i as NavElement, j as NavElementOld, P as PageHeaderProps, k as PageMeta, l as PageProps, m as PagePropsFull, n as PreFooter, o as ProductCollection, p as ProductHighlight, R as RibbonBar, q as RibbonMessage, r as Section, s as SectionType, t as SliderSettings, u as SocialLinks, v as SocialMedia, w as StoreReview, x as SubCategory, y as SubCategorySection, T as TemplateTheme, z as Theme, V as ValueHighlights, D as pixelEvents, E as preFooterContent } from '../pixelEvents-BhKaV1r5.js';
7
7
  import { AxiosResponse } from 'axios';
8
8
  import { a as PhonePe } from '../phonepe-dWMLZel6.js';
9
9
  import 'react-toastify';
10
- import '../collections-BDSVfRNo.js';
11
- import '../orders-L_8eIkUS.js';
10
+ import '../collections-kERS_kZw.js';
11
+ import '../orders-D1fVTlCj.js';
12
12
 
13
13
  declare function setAuthTokenChangeCallback(callback: (token: string | undefined) => void): void;
14
14
  declare const Auth: {
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from './product-DJMdi4D4.js';
1
+ import { f as ProductDetail } from './product-B8elBN21.js';
2
2
 
3
3
  declare namespace Wishlist {
4
4
  interface Root {
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from './product-DJMdi4D4.cjs';
1
+ import { f as ProductDetail } from './product-B8elBN21.cjs';
2
2
 
3
3
  declare namespace Wishlist {
4
4
  interface Root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storepecker/storefront-core",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "Shared logic and utilities for Snapstore themes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",