@storepecker/storefront-core 2.6.1 → 2.6.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 (59) hide show
  1. package/dist/api/index.d.cts +7 -6
  2. package/dist/api/index.d.ts +7 -6
  3. package/dist/{blog-ICspYuDq.d.ts → blog-kdn4wDjq.d.ts} +1 -1
  4. package/dist/{blog-DDOl23BM.d.cts → blog-yhzC2V0C.d.cts} +1 -1
  5. package/dist/{cart-DV1HcSC6.d.ts → cart-BGIsIZdM.d.ts} +1 -1
  6. package/dist/{cart-lJvJzaoH.d.cts → cart-CyN2JQTw.d.cts} +1 -1
  7. package/dist/checkout/index.cjs +1 -1
  8. package/dist/checkout/index.d.cts +3 -3
  9. package/dist/checkout/index.d.ts +3 -3
  10. package/dist/checkout/index.js +1 -1
  11. package/dist/{chunk-EGFOTJPC.js → chunk-5XVHYPOC.js} +1 -1
  12. package/dist/{chunk-OTMTHA5C.cjs → chunk-6LS5F4R3.cjs} +80 -0
  13. package/dist/{chunk-6NFWEJSD.js → chunk-6PF4TQXP.js} +2 -2
  14. package/dist/{chunk-F45S7UWC.js → chunk-CBKJ3Y2I.js} +80 -1
  15. package/dist/{chunk-DY7PNIB3.cjs → chunk-COO7PUZH.cjs} +2 -2
  16. package/dist/{chunk-6Q7QMPOQ.js → chunk-ICKTXS6B.js} +1 -1
  17. package/dist/{chunk-HAQWCNDY.cjs → chunk-IG4BW3ZB.cjs} +3 -3
  18. package/dist/{chunk-KLNKIQQM.cjs → chunk-IVKJJLG7.cjs} +2 -2
  19. package/dist/{chunk-L43KF3AC.js → chunk-W6BDMNSU.js} +1 -1
  20. package/dist/{chunk-B3BXKMQA.cjs → chunk-YLLAP3H2.cjs} +2 -2
  21. package/dist/{collections-fGX_D_Mi.d.cts → collections-8YdINtUf.d.cts} +1 -1
  22. package/dist/{collections-kERS_kZw.d.ts → collections-ycrA2cPL.d.ts} +1 -1
  23. package/dist/components/address-form.cjs +5 -4
  24. package/dist/components/address-form.js +4 -3
  25. package/dist/components/digital-product-download-modal.d.cts +2 -2
  26. package/dist/components/digital-product-download-modal.d.ts +2 -2
  27. package/dist/components/index.cjs +7 -7
  28. package/dist/components/index.d.cts +5 -5
  29. package/dist/components/index.d.ts +5 -5
  30. package/dist/components/index.js +5 -5
  31. package/dist/components/share-button.cjs +4 -3
  32. package/dist/components/share-button.d.cts +1 -1
  33. package/dist/components/share-button.d.ts +1 -1
  34. package/dist/components/share-button.js +3 -2
  35. package/dist/components/theme-data-initializer.d.cts +5 -5
  36. package/dist/components/theme-data-initializer.d.ts +5 -5
  37. package/dist/hooks/index.cjs +10 -9
  38. package/dist/hooks/index.d.cts +4 -4
  39. package/dist/hooks/index.d.ts +4 -4
  40. package/dist/hooks/index.js +4 -3
  41. package/dist/models/index.d.cts +6 -6
  42. package/dist/models/index.d.ts +6 -6
  43. package/dist/{orders-CGhcSTMg.d.ts → orders-9_scVq_M.d.cts} +3 -2
  44. package/dist/{orders-1vcg6whk.d.cts → orders-C1XZr8tx.d.ts} +3 -2
  45. package/dist/{pixelEvents-BEzVCIBj.d.ts → pixelEvents-D0sH22Er.d.ts} +4 -4
  46. package/dist/{pixelEvents-Bob6N-g5.d.cts → pixelEvents-uiPHbiAQ.d.cts} +4 -4
  47. package/dist/{product-B8elBN21.d.cts → product-CZtFWhxO.d.cts} +3 -0
  48. package/dist/{product-B8elBN21.d.ts → product-CZtFWhxO.d.ts} +3 -0
  49. package/dist/store/index.cjs +4 -4
  50. package/dist/store/index.d.cts +7 -7
  51. package/dist/store/index.d.ts +7 -7
  52. package/dist/store/index.js +1 -1
  53. package/dist/utils/index.cjs +29 -25
  54. package/dist/utils/index.d.cts +12 -8
  55. package/dist/utils/index.d.ts +12 -8
  56. package/dist/utils/index.js +3 -3
  57. package/dist/{wishlist-B-bvvOxv.d.ts → wishlist-CRNbfFIx.d.ts} +1 -1
  58. package/dist/{wishlist-BdpIFX5_.d.cts → wishlist-Cx9Vrszq.d.cts} +1 -1
  59. package/package.json +1 -1
@@ -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-lJvJzaoH.cjs';
5
- import { d as Product, f as ProductDetail } from '../product-B8elBN21.cjs';
6
- import { O as Order } from '../orders-1vcg6whk.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, a as Booking, B as Blog } from '../blog-DDOl23BM.cjs';
4
+ import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-CyN2JQTw.cjs';
5
+ import { d as Product, f as ProductDetail } from '../product-CZtFWhxO.cjs';
6
+ import { O as Order } from '../orders-9_scVq_M.cjs';
7
+ import { W as Wishlist } from '../wishlist-Cx9Vrszq.cjs';
8
+ import { C as CollectionResponse } from '../collections-8YdINtUf.cjs';
9
+ import { R as Review, A as Analytics, a as Booking, B as Blog } from '../blog-yhzC2V0C.cjs';
10
10
  import 'react-toastify';
11
11
 
12
12
  /**
@@ -119,6 +119,7 @@ declare function uploadCustomizationImage(uploadForm: FormData): Promise<AxiosRe
119
119
  declare function verifyTabbyPayment(orderNumber: number): Promise<AxiosResponse<{
120
120
  order_status: string;
121
121
  message: string;
122
+ status: string;
122
123
  }>>;
123
124
 
124
125
  declare function getProductList(url: string, filter: unknown): Promise<Product.ProductResponse>;
@@ -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-DV1HcSC6.js';
5
- import { d as Product, f as ProductDetail } from '../product-B8elBN21.js';
6
- import { O as Order } from '../orders-CGhcSTMg.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, a as Booking, B as Blog } from '../blog-ICspYuDq.js';
4
+ import { U as User, C as Cart, d as CouponResponse, c as Coupon, b as Category } from '../cart-BGIsIZdM.js';
5
+ import { d as Product, f as ProductDetail } from '../product-CZtFWhxO.js';
6
+ import { O as Order } from '../orders-C1XZr8tx.js';
7
+ import { W as Wishlist } from '../wishlist-CRNbfFIx.js';
8
+ import { C as CollectionResponse } from '../collections-ycrA2cPL.js';
9
+ import { R as Review, A as Analytics, a as Booking, B as Blog } from '../blog-kdn4wDjq.js';
10
10
  import 'react-toastify';
11
11
 
12
12
  /**
@@ -119,6 +119,7 @@ declare function uploadCustomizationImage(uploadForm: FormData): Promise<AxiosRe
119
119
  declare function verifyTabbyPayment(orderNumber: number): Promise<AxiosResponse<{
120
120
  order_status: string;
121
121
  message: string;
122
+ status: string;
122
123
  }>>;
123
124
 
124
125
  declare function getProductList(url: string, filter: unknown): Promise<Product.ProductResponse>;
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from './product-B8elBN21.js';
1
+ import { f as ProductDetail } from './product-CZtFWhxO.js';
2
2
 
3
3
  declare namespace Review {
4
4
  interface ReviewPayload {
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from './product-B8elBN21.cjs';
1
+ import { f as ProductDetail } from './product-CZtFWhxO.cjs';
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-B8elBN21.js';
1
+ import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-CZtFWhxO.js';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
@@ -1,4 +1,4 @@
1
- import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-B8elBN21.cjs';
1
+ import { g as SLICE_STATUS, d as Product, f as ProductDetail } from './product-CZtFWhxO.cjs';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
@@ -104,7 +104,7 @@ async function checkStripeReturnStatus(sessionId, orderNumber, paymentLinkUrl, c
104
104
  async function checkTabbyReturnStatus(orderNumber, callbacks) {
105
105
  try {
106
106
  const response = await chunkLZADKC4Y_cjs.verifyTabbyPayment(orderNumber);
107
- if (response.data.order_status === "paid" || response.data.order_status === "confirmed") {
107
+ if (response.data.order_status === "paid" || response.data.order_status === "confirmed" || response.data.status === "paid") {
108
108
  try {
109
109
  const orderResponse = await chunkLZADKC4Y_cjs.getOrderDetailsByNumber(orderNumber);
110
110
  const order = orderResponse.data;
@@ -1,7 +1,7 @@
1
1
  import * as Yup from 'yup';
2
- import { C as Cart, c as Coupon } from '../cart-lJvJzaoH.cjs';
3
- import { O as Order } from '../orders-1vcg6whk.cjs';
4
- import '../product-B8elBN21.cjs';
2
+ import { C as Cart, c as Coupon } from '../cart-CyN2JQTw.cjs';
3
+ import { O as Order } from '../orders-9_scVq_M.cjs';
4
+ import '../product-CZtFWhxO.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-DV1HcSC6.js';
3
- import { O as Order } from '../orders-CGhcSTMg.js';
4
- import '../product-B8elBN21.js';
2
+ import { C as Cart, c as Coupon } from '../cart-BGIsIZdM.js';
3
+ import { O as Order } from '../orders-C1XZr8tx.js';
4
+ import '../product-CZtFWhxO.js';
5
5
  import 'react-toastify';
6
6
 
7
7
  /**
@@ -102,7 +102,7 @@ async function checkStripeReturnStatus(sessionId, orderNumber, paymentLinkUrl, c
102
102
  async function checkTabbyReturnStatus(orderNumber, callbacks) {
103
103
  try {
104
104
  const response = await verifyTabbyPayment(orderNumber);
105
- if (response.data.order_status === "paid" || response.data.order_status === "confirmed") {
105
+ if (response.data.order_status === "paid" || response.data.order_status === "confirmed" || response.data.status === "paid") {
106
106
  try {
107
107
  const orderResponse = await getOrderDetailsByNumber(orderNumber);
108
108
  const order = orderResponse.data;
@@ -1,5 +1,5 @@
1
1
  import { ShareIcon } from './chunk-U7EXLQCT.js';
2
- import { shareLink, convertToCurrency } from './chunk-F45S7UWC.js';
2
+ import { shareLink, convertToCurrency } from './chunk-CBKJ3Y2I.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
5
5
  var ShareButton = ({
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ var chunkBBRB475I_cjs = require('./chunk-BBRB475I.cjs');
4
+
3
5
  // src/utils/misc.ts
4
6
  function convertObjectToParams(params) {
5
7
  const cleanedParams = Object.fromEntries(
@@ -149,6 +151,83 @@ async function getAddressMeta(countryCode) {
149
151
  hasPostal: !!data.zip_name_type
150
152
  };
151
153
  }
154
+ function getOrderStatus(order) {
155
+ switch (order.order_status) {
156
+ case "pending":
157
+ return {
158
+ title: "Order yet to confirm by the seller",
159
+ info: "We are waiting for the seller to confirm your order. This usually takes less than 24 hours."
160
+ };
161
+ case "confirmed":
162
+ return {
163
+ title: "Order confirmed",
164
+ info: "Your order has been confirmed and is being processed. You will receive a notification once it is dispatched."
165
+ };
166
+ case "packed":
167
+ return {
168
+ title: "Order packed",
169
+ info: "Your order has been packed and is ready for dispatch. You will receive a notification once it is shipped."
170
+ };
171
+ case "shipped":
172
+ return {
173
+ title: order.delivered_at ? `Arriving by ${formatDateTime(order.delivered_at)}` : "Order shipped",
174
+ info: `Your order has been shipped and is on its way to you. ${order.tracking_id ? `Track your order using ${order.tracking_id}` : ""}`
175
+ };
176
+ case "delivered":
177
+ if (!order.delivered_at) {
178
+ return {
179
+ title: "Delivered"
180
+ };
181
+ }
182
+ const deliveredDate = new Date(order.delivered_at);
183
+ const currentDate = /* @__PURE__ */ new Date();
184
+ const diffTime = currentDate.getTime() - deliveredDate.getTime();
185
+ const difference = Math.floor(diffTime / (1e3 * 60 * 60 * 24));
186
+ if (difference < 3) {
187
+ return {
188
+ title: `Delivered ${chunkBBRB475I_cjs.timeFromNow(order.delivered_at)}`
189
+ };
190
+ }
191
+ return {
192
+ title: `Delivered on ${formatDateTime(order.delivered_at)}`
193
+ };
194
+ case "failed":
195
+ return {
196
+ title: "Order failed",
197
+ info: "Your order has failed. If you have any queries, please contact customer support"
198
+ };
199
+ case "cancelled":
200
+ return {
201
+ title: "Cancelled",
202
+ info: "Your order has been cancelled. If you have any queries, please contact customer support"
203
+ };
204
+ case "paid":
205
+ return {
206
+ title: "Order placed, Thank you",
207
+ info: "Your order has been placed successfully. Order status will be updated soon."
208
+ };
209
+ case "payment_pending":
210
+ return {
211
+ title: "Payment pending",
212
+ info: "Your order has not been placed. Please retry your payment to proceed."
213
+ };
214
+ case "refunded":
215
+ return {
216
+ title: "Refunded",
217
+ info: "Your order has been refunded. If you have any queries, please contact customer support."
218
+ };
219
+ case "returned":
220
+ return {
221
+ title: "Returned",
222
+ info: "Your order has been returned. If you have any queries, please contact customer support."
223
+ };
224
+ default:
225
+ return {
226
+ title: "Purchase successful",
227
+ info: "Your order has been placed successfully. Order status will be updated soon."
228
+ };
229
+ }
230
+ }
152
231
 
153
232
  exports.constructFilter = constructFilter;
154
233
  exports.convertObjectToParams = convertObjectToParams;
@@ -158,6 +237,7 @@ exports.formatDateTime = formatDateTime;
158
237
  exports.formatPostalLabel = formatPostalLabel;
159
238
  exports.getAddressMeta = getAddressMeta;
160
239
  exports.getDelayInMilliseconds = getDelayInMilliseconds;
240
+ exports.getOrderStatus = getOrderStatus;
161
241
  exports.getParamsFromURL = getParamsFromURL;
162
242
  exports.getQueryParams = getQueryParams;
163
243
  exports.pluralize = pluralize;
@@ -19,12 +19,12 @@ var useCartStore = create((set) => ({
19
19
  if (!state.cart) return { ...state, total_quantity: 0 };
20
20
  return { cart: { ...state.cart, total_quantity: 0 }, total_quantity: 0 };
21
21
  }),
22
- fetchCartQuantity: async () => {
22
+ fetchCartItemQuantity: async () => {
23
23
  try {
24
24
  const { total_quantity } = await getCartItemQuantity();
25
25
  set({ total_quantity });
26
26
  } catch (error) {
27
- console.error("Failed to fetch cart quantity", error);
27
+ console.error("Failed to fetch cart item quantity", error);
28
28
  }
29
29
  },
30
30
  syncCart: async (addressId, shippingOptionId) => {
@@ -1,3 +1,5 @@
1
+ import { timeFromNow } from './chunk-HSF2D56O.js';
2
+
1
3
  // src/utils/misc.ts
2
4
  function convertObjectToParams(params) {
3
5
  const cleanedParams = Object.fromEntries(
@@ -147,5 +149,82 @@ async function getAddressMeta(countryCode) {
147
149
  hasPostal: !!data.zip_name_type
148
150
  };
149
151
  }
152
+ function getOrderStatus(order) {
153
+ switch (order.order_status) {
154
+ case "pending":
155
+ return {
156
+ title: "Order yet to confirm by the seller",
157
+ info: "We are waiting for the seller to confirm your order. This usually takes less than 24 hours."
158
+ };
159
+ case "confirmed":
160
+ return {
161
+ title: "Order confirmed",
162
+ info: "Your order has been confirmed and is being processed. You will receive a notification once it is dispatched."
163
+ };
164
+ case "packed":
165
+ return {
166
+ title: "Order packed",
167
+ info: "Your order has been packed and is ready for dispatch. You will receive a notification once it is shipped."
168
+ };
169
+ case "shipped":
170
+ return {
171
+ title: order.delivered_at ? `Arriving by ${formatDateTime(order.delivered_at)}` : "Order shipped",
172
+ info: `Your order has been shipped and is on its way to you. ${order.tracking_id ? `Track your order using ${order.tracking_id}` : ""}`
173
+ };
174
+ case "delivered":
175
+ if (!order.delivered_at) {
176
+ return {
177
+ title: "Delivered"
178
+ };
179
+ }
180
+ const deliveredDate = new Date(order.delivered_at);
181
+ const currentDate = /* @__PURE__ */ new Date();
182
+ const diffTime = currentDate.getTime() - deliveredDate.getTime();
183
+ const difference = Math.floor(diffTime / (1e3 * 60 * 60 * 24));
184
+ if (difference < 3) {
185
+ return {
186
+ title: `Delivered ${timeFromNow(order.delivered_at)}`
187
+ };
188
+ }
189
+ return {
190
+ title: `Delivered on ${formatDateTime(order.delivered_at)}`
191
+ };
192
+ case "failed":
193
+ return {
194
+ title: "Order failed",
195
+ info: "Your order has failed. If you have any queries, please contact customer support"
196
+ };
197
+ case "cancelled":
198
+ return {
199
+ title: "Cancelled",
200
+ info: "Your order has been cancelled. If you have any queries, please contact customer support"
201
+ };
202
+ case "paid":
203
+ return {
204
+ title: "Order placed, Thank you",
205
+ info: "Your order has been placed successfully. Order status will be updated soon."
206
+ };
207
+ case "payment_pending":
208
+ return {
209
+ title: "Payment pending",
210
+ info: "Your order has not been placed. Please retry your payment to proceed."
211
+ };
212
+ case "refunded":
213
+ return {
214
+ title: "Refunded",
215
+ info: "Your order has been refunded. If you have any queries, please contact customer support."
216
+ };
217
+ case "returned":
218
+ return {
219
+ title: "Returned",
220
+ info: "Your order has been returned. If you have any queries, please contact customer support."
221
+ };
222
+ default:
223
+ return {
224
+ title: "Purchase successful",
225
+ info: "Your order has been placed successfully. Order status will be updated soon."
226
+ };
227
+ }
228
+ }
150
229
 
151
- export { constructFilter, convertObjectToParams, convertToCurrency, digestMessage, formatDateTime, formatPostalLabel, getAddressMeta, getDelayInMilliseconds, getParamsFromURL, getQueryParams, pluralize, pushParamsToURL, shareLink };
230
+ export { constructFilter, convertObjectToParams, convertToCurrency, digestMessage, formatDateTime, formatPostalLabel, getAddressMeta, getDelayInMilliseconds, getOrderStatus, getParamsFromURL, getQueryParams, pluralize, pushParamsToURL, shareLink };
@@ -21,12 +21,12 @@ var useCartStore = zustand.create((set) => ({
21
21
  if (!state.cart) return { ...state, total_quantity: 0 };
22
22
  return { cart: { ...state.cart, total_quantity: 0 }, total_quantity: 0 };
23
23
  }),
24
- fetchCartQuantity: async () => {
24
+ fetchCartItemQuantity: async () => {
25
25
  try {
26
26
  const { total_quantity } = await chunkPARH5TBK_cjs.getCartItemQuantity();
27
27
  set({ total_quantity });
28
28
  } catch (error) {
29
- console.error("Failed to fetch cart quantity", error);
29
+ console.error("Failed to fetch cart item quantity", error);
30
30
  }
31
31
  },
32
32
  syncCart: async (addressId, shippingOptionId) => {
@@ -1,6 +1,6 @@
1
1
  import { updateAddress, addAddress, getCountries, getSubdivisions } from './chunk-ZGMLOLTC.js';
2
2
  import { getCache } from './chunk-OSM73ETC.js';
3
- import { getAddressMeta } from './chunk-F45S7UWC.js';
3
+ import { getAddressMeta } from './chunk-CBKJ3Y2I.js';
4
4
  import { addressFormInitialValues, IP_API_CACHE_KEY, addressValidationSchema, buildSubmitPayload } from './chunk-ELP23UGF.js';
5
5
  import { useState, useEffect, useMemo, useCallback } from 'react';
6
6
  import { useFormik } from 'formik';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk3YRSHPM6_cjs = require('./chunk-3YRSHPM6.cjs');
4
- var chunkOTMTHA5C_cjs = require('./chunk-OTMTHA5C.cjs');
4
+ var chunk6LS5F4R3_cjs = require('./chunk-6LS5F4R3.cjs');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
7
7
  var ShareButton = ({
@@ -10,8 +10,8 @@ var ShareButton = ({
10
10
  iconSize = 22
11
11
  }) => {
12
12
  const _handleShare = () => {
13
- chunkOTMTHA5C_cjs.shareLink(
14
- `Buy ${product.name} at ${chunkOTMTHA5C_cjs.convertToCurrency(
13
+ chunk6LS5F4R3_cjs.shareLink(
14
+ `Buy ${product.name} at ${chunk6LS5F4R3_cjs.convertToCurrency(
15
15
  Number(product.selling_price)
16
16
  )}`,
17
17
  product.name
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkRDUT4W3B_cjs = require('./chunk-RDUT4W3B.cjs');
4
4
  var chunkLJUGNSQQ_cjs = require('./chunk-LJUGNSQQ.cjs');
5
- var chunkOTMTHA5C_cjs = require('./chunk-OTMTHA5C.cjs');
5
+ var chunk6LS5F4R3_cjs = require('./chunk-6LS5F4R3.cjs');
6
6
  var chunkTB72NPRM_cjs = require('./chunk-TB72NPRM.cjs');
7
7
  var react = require('react');
8
8
  var formik = require('formik');
@@ -97,7 +97,7 @@ function useAddressForm(options = {}) {
97
97
  };
98
98
  const fetchAddressMeta = async () => {
99
99
  try {
100
- const response = await chunkOTMTHA5C_cjs.getAddressMeta(
100
+ const response = await chunk6LS5F4R3_cjs.getAddressMeta(
101
101
  selectedCountry.tld_code
102
102
  );
103
103
  setAddressMeta(response);
@@ -1,5 +1,5 @@
1
1
  import { search_dropdown_default, DownChevron } from './chunk-YK4M3SFP.js';
2
- import { useAddressForm } from './chunk-6Q7QMPOQ.js';
2
+ import { useAddressForm } from './chunk-ICKTXS6B.js';
3
3
  import { forwardRef, useImperativeHandle, useEffect } from 'react';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkV447PVRV_cjs = require('./chunk-V447PVRV.cjs');
4
- var chunkKLNKIQQM_cjs = require('./chunk-KLNKIQQM.cjs');
4
+ var chunkIVKJJLG7_cjs = require('./chunk-IVKJJLG7.cjs');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
 
@@ -34,7 +34,7 @@ var AddressForm = react.forwardRef(
34
34
  handlePhoneChange,
35
35
  isSubmitting,
36
36
  isEditing
37
- } = chunkKLNKIQQM_cjs.useAddressForm({
37
+ } = chunkIVKJJLG7_cjs.useAddressForm({
38
38
  address,
39
39
  onSuccess,
40
40
  onError,
@@ -1,4 +1,4 @@
1
- import { d as Product } from './product-B8elBN21.cjs';
1
+ import { d as Product } from './product-CZtFWhxO.cjs';
2
2
 
3
3
  interface CollectionResponse {
4
4
  id: number;
@@ -1,4 +1,4 @@
1
- import { d as Product } from './product-B8elBN21.js';
1
+ import { d as Product } from './product-CZtFWhxO.js';
2
2
 
3
3
  interface CollectionResponse {
4
4
  id: number;
@@ -1,11 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkB3BXKMQA_cjs = require('../chunk-B3BXKMQA.cjs');
3
+ var chunkYLLAP3H2_cjs = require('../chunk-YLLAP3H2.cjs');
4
4
  require('../chunk-V447PVRV.cjs');
5
- require('../chunk-KLNKIQQM.cjs');
5
+ require('../chunk-IVKJJLG7.cjs');
6
6
  require('../chunk-RDUT4W3B.cjs');
7
7
  require('../chunk-LJUGNSQQ.cjs');
8
- require('../chunk-OTMTHA5C.cjs');
8
+ require('../chunk-6LS5F4R3.cjs');
9
+ require('../chunk-BBRB475I.cjs');
9
10
  require('../chunk-TB72NPRM.cjs');
10
11
  require('../chunk-ECHV2JSY.cjs');
11
12
  require('../chunk-BBRXE57K.cjs');
@@ -14,4 +15,4 @@ require('../chunk-N3CTXRFT.cjs');
14
15
 
15
16
 
16
17
 
17
- module.exports = chunkB3BXKMQA_cjs.address_form_default;
18
+ module.exports = chunkYLLAP3H2_cjs.address_form_default;
@@ -1,9 +1,10 @@
1
- export { address_form_default as default } from '../chunk-L43KF3AC.js';
1
+ export { address_form_default as default } from '../chunk-W6BDMNSU.js';
2
2
  import '../chunk-YK4M3SFP.js';
3
- import '../chunk-6Q7QMPOQ.js';
3
+ import '../chunk-ICKTXS6B.js';
4
4
  import '../chunk-ZGMLOLTC.js';
5
5
  import '../chunk-OSM73ETC.js';
6
- import '../chunk-F45S7UWC.js';
6
+ import '../chunk-CBKJ3Y2I.js';
7
+ import '../chunk-HSF2D56O.js';
7
8
  import '../chunk-ELP23UGF.js';
8
9
  import '../chunk-3SYYP3XV.js';
9
10
  import '../chunk-WEMNXIRS.js';
@@ -1,5 +1,5 @@
1
- import { O as Order } from '../orders-1vcg6whk.cjs';
2
- import { f as ProductDetail } from '../product-B8elBN21.cjs';
1
+ import { O as Order } from '../orders-9_scVq_M.cjs';
2
+ import { f as ProductDetail } from '../product-CZtFWhxO.cjs';
3
3
  import 'react-toastify';
4
4
 
5
5
  interface DigitalProductDownloadModalProps {
@@ -1,5 +1,5 @@
1
- import { O as Order } from '../orders-CGhcSTMg.js';
2
- import { f as ProductDetail } from '../product-B8elBN21.js';
1
+ import { O as Order } from '../orders-C1XZr8tx.js';
2
+ import { f as ProductDetail } from '../product-CZtFWhxO.js';
3
3
  import 'react-toastify';
4
4
 
5
5
  interface DigitalProductDownloadModalProps {
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkB3BXKMQA_cjs = require('../chunk-B3BXKMQA.cjs');
3
+ var chunkYLLAP3H2_cjs = require('../chunk-YLLAP3H2.cjs');
4
4
  var chunkV447PVRV_cjs = require('../chunk-V447PVRV.cjs');
5
- var chunkHAQWCNDY_cjs = require('../chunk-HAQWCNDY.cjs');
5
+ var chunkIG4BW3ZB_cjs = require('../chunk-IG4BW3ZB.cjs');
6
6
  var chunk3YRSHPM6_cjs = require('../chunk-3YRSHPM6.cjs');
7
7
  var chunk6DXB4O6P_cjs = require('../chunk-6DXB4O6P.cjs');
8
8
  var chunkLHF5BSWO_cjs = require('../chunk-LHF5BSWO.cjs');
9
- require('../chunk-BBRB475I.cjs');
10
- require('../chunk-KLNKIQQM.cjs');
9
+ require('../chunk-IVKJJLG7.cjs');
11
10
  require('../chunk-RDUT4W3B.cjs');
12
11
  require('../chunk-LJUGNSQQ.cjs');
13
- require('../chunk-OTMTHA5C.cjs');
12
+ require('../chunk-6LS5F4R3.cjs');
13
+ require('../chunk-BBRB475I.cjs');
14
14
  require('../chunk-DODFO744.cjs');
15
15
  require('../chunk-TB72NPRM.cjs');
16
16
  require('../chunk-ECHV2JSY.cjs');
@@ -22,7 +22,7 @@ require('../chunk-N3CTXRFT.cjs');
22
22
 
23
23
  Object.defineProperty(exports, "AddressForm", {
24
24
  enumerable: true,
25
- get: function () { return chunkB3BXKMQA_cjs.address_form_default; }
25
+ get: function () { return chunkYLLAP3H2_cjs.address_form_default; }
26
26
  });
27
27
  Object.defineProperty(exports, "SearchDropdown", {
28
28
  enumerable: true,
@@ -30,7 +30,7 @@ Object.defineProperty(exports, "SearchDropdown", {
30
30
  });
31
31
  Object.defineProperty(exports, "ShareButton", {
32
32
  enumerable: true,
33
- get: function () { return chunkHAQWCNDY_cjs.share_button_default; }
33
+ get: function () { return chunkIG4BW3ZB_cjs.share_button_default; }
34
34
  });
35
35
  Object.defineProperty(exports, "ShareIcon", {
36
36
  enumerable: true,
@@ -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-B8elBN21.cjs';
11
+ import '../product-CZtFWhxO.cjs';
12
12
  import 'react-toastify';
13
13
  import 'react/jsx-runtime';
14
- import '../orders-1vcg6whk.cjs';
15
- import '../pixelEvents-Bob6N-g5.cjs';
16
- import '../cart-lJvJzaoH.cjs';
17
- import '../collections-fGX_D_Mi.cjs';
14
+ import '../orders-9_scVq_M.cjs';
15
+ import '../pixelEvents-uiPHbiAQ.cjs';
16
+ import '../cart-CyN2JQTw.cjs';
17
+ import '../collections-8YdINtUf.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-B8elBN21.js';
11
+ import '../product-CZtFWhxO.js';
12
12
  import 'react-toastify';
13
13
  import 'react/jsx-runtime';
14
- import '../orders-CGhcSTMg.js';
15
- import '../pixelEvents-BEzVCIBj.js';
16
- import '../cart-DV1HcSC6.js';
17
- import '../collections-kERS_kZw.js';
14
+ import '../orders-C1XZr8tx.js';
15
+ import '../pixelEvents-D0sH22Er.js';
16
+ import '../cart-BGIsIZdM.js';
17
+ import '../collections-ycrA2cPL.js';
@@ -1,14 +1,14 @@
1
- export { address_form_default as AddressForm } from '../chunk-L43KF3AC.js';
1
+ export { address_form_default as AddressForm } from '../chunk-W6BDMNSU.js';
2
2
  export { search_dropdown_default as SearchDropdown } from '../chunk-YK4M3SFP.js';
3
- export { share_button_default as ShareButton } from '../chunk-EGFOTJPC.js';
3
+ export { share_button_default as ShareButton } from '../chunk-5XVHYPOC.js';
4
4
  export { ShareIcon } from '../chunk-U7EXLQCT.js';
5
5
  export { digital_product_download_modal_default as DigitalProductDownloadModal } from '../chunk-LLRSKDH5.js';
6
6
  export { ThemeDataInitializer } from '../chunk-BTR3HLL4.js';
7
- import '../chunk-HSF2D56O.js';
8
- import '../chunk-6Q7QMPOQ.js';
7
+ import '../chunk-ICKTXS6B.js';
9
8
  import '../chunk-ZGMLOLTC.js';
10
9
  import '../chunk-OSM73ETC.js';
11
- import '../chunk-F45S7UWC.js';
10
+ import '../chunk-CBKJ3Y2I.js';
11
+ import '../chunk-HSF2D56O.js';
12
12
  import '../chunk-5NUDTIQ2.js';
13
13
  import '../chunk-ELP23UGF.js';
14
14
  import '../chunk-3SYYP3XV.js';
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkHAQWCNDY_cjs = require('../chunk-HAQWCNDY.cjs');
3
+ var chunkIG4BW3ZB_cjs = require('../chunk-IG4BW3ZB.cjs');
4
4
  require('../chunk-3YRSHPM6.cjs');
5
- require('../chunk-OTMTHA5C.cjs');
5
+ require('../chunk-6LS5F4R3.cjs');
6
+ require('../chunk-BBRB475I.cjs');
6
7
 
7
8
 
8
9
 
9
- module.exports = chunkHAQWCNDY_cjs.share_button_default;
10
+ module.exports = chunkIG4BW3ZB_cjs.share_button_default;
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from '../product-B8elBN21.cjs';
1
+ import { f as ProductDetail } from '../product-CZtFWhxO.cjs';
2
2
  import 'react-toastify';
3
3
 
4
4
  interface ShareButtonProps {
@@ -1,4 +1,4 @@
1
- import { f as ProductDetail } from '../product-B8elBN21.js';
1
+ import { f as ProductDetail } from '../product-CZtFWhxO.js';
2
2
  import 'react-toastify';
3
3
 
4
4
  interface ShareButtonProps {
@@ -1,3 +1,4 @@
1
- export { share_button_default as default } from '../chunk-EGFOTJPC.js';
1
+ export { share_button_default as default } from '../chunk-5XVHYPOC.js';
2
2
  import '../chunk-U7EXLQCT.js';
3
- import '../chunk-F45S7UWC.js';
3
+ import '../chunk-CBKJ3Y2I.js';
4
+ import '../chunk-HSF2D56O.js';