@storepecker/storefront-core 2.7.0 → 2.9.1
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 +94 -46
- package/dist/api/index.d.cts +108 -11
- package/dist/api/index.d.ts +108 -11
- package/dist/api/index.js +3 -3
- package/dist/buy-now-BqVWXyy8.d.cts +197 -0
- package/dist/buy-now-DFdnuLjO.d.ts +197 -0
- package/dist/{cart-BGIsIZdM.d.ts → cart-DZq1ZEnE.d.ts} +1 -1
- package/dist/{cart-CyN2JQTw.d.cts → cart-DwMFBmpC.d.cts} +1 -1
- package/dist/checkout/index.cjs +85 -38
- package/dist/checkout/index.d.cts +49 -11
- package/dist/checkout/index.d.ts +49 -11
- package/dist/checkout/index.js +65 -19
- package/dist/{chunk-KWYFA2LJ.cjs → chunk-34Y7Y5FU.cjs} +49 -31
- package/dist/{chunk-GTV42PDK.cjs → chunk-57UU7IJ2.cjs} +1 -0
- package/dist/{chunk-RNGQUWQW.cjs → chunk-H6FJYRO3.cjs} +49 -1
- package/dist/{chunk-CHRTGR3G.js → chunk-KCLVR6G5.js} +39 -2
- package/dist/{chunk-IWYO22XV.cjs → chunk-NOT6VKXA.cjs} +37 -39
- package/dist/{chunk-LCMJYFHC.cjs → chunk-NQZ5GUOG.cjs} +0 -1
- package/dist/{chunk-5BT3MH4A.cjs → chunk-NRPK5GCJ.cjs} +11 -3
- package/dist/{chunk-K44JZ5NL.cjs → chunk-NSAHGMS7.cjs} +6 -1
- package/dist/{chunk-4C4NTH6O.js → chunk-OOFYY6GR.js} +1 -0
- package/dist/{chunk-6QHEH5XE.js → chunk-QQHQTBAM.js} +20 -22
- package/dist/{chunk-H32TICAM.js → chunk-TH7OAMGC.js} +0 -1
- package/dist/{chunk-WFDKKOO7.js → chunk-VAU5OL72.js} +6 -1
- package/dist/{chunk-5JD6MRVS.js → chunk-VPTN4YXD.js} +36 -18
- package/dist/{chunk-TY5NK7NW.js → chunk-ZAWZ3RB6.js} +9 -2
- package/dist/{collections-ycrA2cPL.d.ts → collections-CNh2OGbl.d.ts} +1 -1
- package/dist/{collections-8YdINtUf.d.cts → collections-CXgOv5_G.d.cts} +1 -1
- 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.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/share-button.d.cts +1 -1
- package/dist/components/share-button.d.ts +1 -1
- 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 +592 -30
- package/dist/hooks/index.d.cts +183 -5
- package/dist/hooks/index.d.ts +183 -5
- package/dist/hooks/index.js +569 -11
- package/dist/{instagram-CqJBZ-0X.d.ts → instagram-BADLnNQ3.d.ts} +1 -1
- package/dist/{instagram-D4JUT4ZU.d.cts → instagram-DalreBu6.d.cts} +1 -1
- package/dist/middleware/index.cjs +3 -3
- package/dist/middleware/index.js +1 -1
- package/dist/models/index.d.cts +7 -6
- package/dist/models/index.d.ts +7 -6
- package/dist/{orders-C1XZr8tx.d.ts → orders-B3G4CyhH.d.cts} +2 -1
- package/dist/{orders-9_scVq_M.d.cts → orders-Bl-Slh72.d.ts} +2 -1
- package/dist/{pixelEvents-uiPHbiAQ.d.cts → pixelEvents-BtEO5QAR.d.cts} +5 -4
- package/dist/{pixelEvents-D0sH22Er.d.ts → pixelEvents-LsealscG.d.ts} +5 -4
- package/dist/{product-CZtFWhxO.d.ts → product-D9liEtl4.d.cts} +1 -0
- package/dist/{product-CZtFWhxO.d.cts → product-D9liEtl4.d.ts} +1 -0
- package/dist/store/index.cjs +9 -9
- package/dist/store/index.d.cts +12 -7
- package/dist/store/index.d.ts +12 -7
- package/dist/store/index.js +4 -4
- package/dist/utils/index.cjs +9 -9
- package/dist/utils/index.d.cts +8 -7
- package/dist/utils/index.d.ts +8 -7
- package/dist/utils/index.js +3 -3
- package/dist/{wishlist-Cx9Vrszq.d.cts → wishlist-BakHvIFN.d.cts} +1 -1
- package/dist/{wishlist-CRNbfFIx.d.ts → wishlist-Cj0sQxiY.d.ts} +1 -1
- package/package.json +1 -1
package/dist/models/index.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export { A as Address } from '../address-DwBZHzbI.cjs';
|
|
2
|
-
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, I as Instagram, R as Review } from '../instagram-
|
|
3
|
-
export {
|
|
4
|
-
export { A as
|
|
5
|
-
export {
|
|
2
|
+
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, I as Instagram, R as Review } from '../instagram-DalreBu6.cjs';
|
|
3
|
+
export { B as BuyNow, C as Checkout, P as PublicCheckout } from '../buy-now-BqVWXyy8.cjs';
|
|
4
|
+
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-DwMFBmpC.cjs';
|
|
5
|
+
export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-CXgOv5_G.cjs';
|
|
6
|
+
export { O as Order } from '../orders-B3G4CyhH.cjs';
|
|
6
7
|
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-
|
|
8
|
+
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-D9liEtl4.cjs';
|
|
9
|
+
export { W as Wishlist } from '../wishlist-BakHvIFN.cjs';
|
|
9
10
|
import 'react-toastify';
|
|
10
11
|
|
|
11
12
|
declare namespace CountryModel {
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export { A as Address } from '../address-DwBZHzbI.js';
|
|
2
|
-
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, I as Instagram, R as Review } from '../instagram-
|
|
3
|
-
export {
|
|
4
|
-
export { A as
|
|
5
|
-
export {
|
|
2
|
+
export { A as Analytics, B as Blog, a as Booking, b as BookingDetails, I as Instagram, R as Review } from '../instagram-BADLnNQ3.js';
|
|
3
|
+
export { B as BuyNow, C as Checkout, P as PublicCheckout } from '../buy-now-DFdnuLjO.js';
|
|
4
|
+
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-DZq1ZEnE.js';
|
|
5
|
+
export { A as CollectionAttributes, C as CollectionResponse, s as singleCollection } from '../collections-CNh2OGbl.js';
|
|
6
|
+
export { O as Order } from '../orders-Bl-Slh72.js';
|
|
6
7
|
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-
|
|
8
|
+
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-D9liEtl4.js';
|
|
9
|
+
export { W as Wishlist } from '../wishlist-Cj0sQxiY.js';
|
|
9
10
|
import 'react-toastify';
|
|
10
11
|
|
|
11
12
|
declare namespace CountryModel {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Photos } from './product-
|
|
1
|
+
import { P as Photos } from './product-D9liEtl4.cjs';
|
|
2
2
|
|
|
3
3
|
declare namespace Order {
|
|
4
4
|
interface Root {
|
|
@@ -13,6 +13,7 @@ declare namespace Order {
|
|
|
13
13
|
order_number: number;
|
|
14
14
|
order_ref: string;
|
|
15
15
|
payment_method: string | null;
|
|
16
|
+
cod_amount?: number;
|
|
16
17
|
shipping_address: string;
|
|
17
18
|
shipping_city: string;
|
|
18
19
|
shipping_state: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Photos } from './product-
|
|
1
|
+
import { P as Photos } from './product-D9liEtl4.js';
|
|
2
2
|
|
|
3
3
|
declare namespace Order {
|
|
4
4
|
interface Root {
|
|
@@ -13,6 +13,7 @@ declare namespace Order {
|
|
|
13
13
|
order_number: number;
|
|
14
14
|
order_ref: string;
|
|
15
15
|
payment_method: string | null;
|
|
16
|
+
cod_amount?: number;
|
|
16
17
|
shipping_address: string;
|
|
17
18
|
shipping_city: string;
|
|
18
19
|
shipping_state: string;
|
|
@@ -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-DwMFBmpC.cjs';
|
|
2
|
+
import { C as CollectionResponse } from './collections-CXgOv5_G.cjs';
|
|
3
|
+
import { O as Order } from './orders-B3G4CyhH.cjs';
|
|
4
|
+
import { f as ProductDetail, d as Product } from './product-D9liEtl4.cjs';
|
|
5
5
|
|
|
6
6
|
interface PageProps {
|
|
7
7
|
nav_bar: NavBar;
|
|
@@ -93,6 +93,7 @@ type PageHeaderProps = Pick<PagePropsFull, "navbar" | "logo" | "store_name" | "s
|
|
|
93
93
|
popup_message_text: string;
|
|
94
94
|
popup_thank_you_message: string;
|
|
95
95
|
public_checkout_enabled: boolean;
|
|
96
|
+
buy_now_enabled: boolean;
|
|
96
97
|
booking_success_message: string;
|
|
97
98
|
order_success_message: string;
|
|
98
99
|
};
|
|
@@ -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-DZq1ZEnE.js';
|
|
2
|
+
import { C as CollectionResponse } from './collections-CNh2OGbl.js';
|
|
3
|
+
import { O as Order } from './orders-Bl-Slh72.js';
|
|
4
|
+
import { f as ProductDetail, d as Product } from './product-D9liEtl4.js';
|
|
5
5
|
|
|
6
6
|
interface PageProps {
|
|
7
7
|
nav_bar: NavBar;
|
|
@@ -93,6 +93,7 @@ type PageHeaderProps = Pick<PagePropsFull, "navbar" | "logo" | "store_name" | "s
|
|
|
93
93
|
popup_message_text: string;
|
|
94
94
|
popup_thank_you_message: string;
|
|
95
95
|
public_checkout_enabled: boolean;
|
|
96
|
+
buy_now_enabled: boolean;
|
|
96
97
|
booking_success_message: string;
|
|
97
98
|
order_success_message: string;
|
|
98
99
|
};
|
package/dist/store/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunkNOT6VKXA_cjs = require('../chunk-NOT6VKXA.cjs');
|
|
4
|
+
var chunkNRPK5GCJ_cjs = require('../chunk-NRPK5GCJ.cjs');
|
|
5
|
+
require('../chunk-NQZ5GUOG.cjs');
|
|
6
|
+
require('../chunk-H6FJYRO3.cjs');
|
|
7
7
|
var chunkDODFO744_cjs = require('../chunk-DODFO744.cjs');
|
|
8
8
|
require('../chunk-ECHV2JSY.cjs');
|
|
9
9
|
require('../chunk-BBRXE57K.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 chunkNRPK5GCJ_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 chunkNRPK5GCJ_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 chunkNOT6VKXA_cjs.loginUser; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "useAuthStore", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkNOT6VKXA_cjs.useAuthStore; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "useCartStore", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkNOT6VKXA_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 {
|
|
4
|
-
import {
|
|
5
|
-
import { P as PageHeaderProps } from '../pixelEvents-
|
|
2
|
+
import { a as CartState, C as Cart, U as User } from '../cart-DwMFBmpC.cjs';
|
|
3
|
+
import { f as ProductDetail, d as Product } from '../product-D9liEtl4.cjs';
|
|
4
|
+
import { W as Wishlist } from '../wishlist-BakHvIFN.cjs';
|
|
5
|
+
import { P as PageHeaderProps } from '../pixelEvents-BtEO5QAR.cjs';
|
|
6
6
|
import 'react-toastify';
|
|
7
|
-
import '../collections-
|
|
8
|
-
import '../orders-
|
|
7
|
+
import '../collections-CXgOv5_G.cjs';
|
|
8
|
+
import '../orders-B3G4CyhH.cjs';
|
|
9
9
|
|
|
10
10
|
interface CartStore extends CartState {
|
|
11
11
|
setCart: (cart: Cart.Root) => void;
|
|
@@ -28,7 +28,12 @@ interface CartStore extends CartState {
|
|
|
28
28
|
customization_option: number;
|
|
29
29
|
customer_input: string;
|
|
30
30
|
product_variant: number;
|
|
31
|
-
}>, addressId?: number
|
|
31
|
+
}>, addressId?: number,
|
|
32
|
+
/**
|
|
33
|
+
* Full product objects — required only for guests. The local cart renders
|
|
34
|
+
* from stored products, so a variant id alone cannot introduce a new line;
|
|
35
|
+
*/
|
|
36
|
+
products?: ProductDetail.Root[]) => Promise<void>;
|
|
32
37
|
removeFromCart: (items: Array<{
|
|
33
38
|
variant_id: number;
|
|
34
39
|
quantity: number;
|
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 {
|
|
4
|
-
import {
|
|
5
|
-
import { P as PageHeaderProps } from '../pixelEvents-
|
|
2
|
+
import { a as CartState, C as Cart, U as User } from '../cart-DZq1ZEnE.js';
|
|
3
|
+
import { f as ProductDetail, d as Product } from '../product-D9liEtl4.js';
|
|
4
|
+
import { W as Wishlist } from '../wishlist-Cj0sQxiY.js';
|
|
5
|
+
import { P as PageHeaderProps } from '../pixelEvents-LsealscG.js';
|
|
6
6
|
import 'react-toastify';
|
|
7
|
-
import '../collections-
|
|
8
|
-
import '../orders-
|
|
7
|
+
import '../collections-CNh2OGbl.js';
|
|
8
|
+
import '../orders-Bl-Slh72.js';
|
|
9
9
|
|
|
10
10
|
interface CartStore extends CartState {
|
|
11
11
|
setCart: (cart: Cart.Root) => void;
|
|
@@ -28,7 +28,12 @@ interface CartStore extends CartState {
|
|
|
28
28
|
customization_option: number;
|
|
29
29
|
customer_input: string;
|
|
30
30
|
product_variant: number;
|
|
31
|
-
}>, addressId?: number
|
|
31
|
+
}>, addressId?: number,
|
|
32
|
+
/**
|
|
33
|
+
* Full product objects — required only for guests. The local cart renders
|
|
34
|
+
* from stored products, so a variant id alone cannot introduce a new line;
|
|
35
|
+
*/
|
|
36
|
+
products?: ProductDetail.Root[]) => Promise<void>;
|
|
32
37
|
removeFromCart: (items: Array<{
|
|
33
38
|
variant_id: number;
|
|
34
39
|
quantity: number;
|
package/dist/store/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { loginUser, useAuthStore, useCartStore } from '../chunk-
|
|
2
|
-
import { getWishlist, getProducts } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { loginUser, useAuthStore, useCartStore } from '../chunk-QQHQTBAM.js';
|
|
2
|
+
import { getWishlist, getProducts } from '../chunk-ZAWZ3RB6.js';
|
|
3
|
+
import '../chunk-TH7OAMGC.js';
|
|
4
|
+
import '../chunk-KCLVR6G5.js';
|
|
5
5
|
export { useThemeData } from '../chunk-5NUDTIQ2.js';
|
|
6
6
|
import '../chunk-3SYYP3XV.js';
|
|
7
7
|
import '../chunk-WEMNXIRS.js';
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk57UU7IJ2_cjs = require('../chunk-57UU7IJ2.cjs');
|
|
4
4
|
var chunk2AHH3XBW_cjs = require('../chunk-2AHH3XBW.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkNQZ5GUOG_cjs = require('../chunk-NQZ5GUOG.cjs');
|
|
6
|
+
var chunkNSAHGMS7_cjs = require('../chunk-NSAHGMS7.cjs');
|
|
7
7
|
var chunkLJUGNSQQ_cjs = require('../chunk-LJUGNSQQ.cjs');
|
|
8
8
|
var chunk6LS5F4R3_cjs = require('../chunk-6LS5F4R3.cjs');
|
|
9
9
|
var chunkBBRB475I_cjs = require('../chunk-BBRB475I.cjs');
|
|
@@ -323,19 +323,19 @@ function isProductCustomized(customizationInputs, productId) {
|
|
|
323
323
|
|
|
324
324
|
Object.defineProperty(exports, "authRoutes", {
|
|
325
325
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunk57UU7IJ2_cjs.authRoutes; }
|
|
327
327
|
});
|
|
328
328
|
Object.defineProperty(exports, "protectedRoutes", {
|
|
329
329
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunk57UU7IJ2_cjs.protectedRoutes; }
|
|
331
331
|
});
|
|
332
332
|
Object.defineProperty(exports, "publicRoutes", {
|
|
333
333
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunk57UU7IJ2_cjs.publicRoutes; }
|
|
335
335
|
});
|
|
336
336
|
Object.defineProperty(exports, "urls", {
|
|
337
337
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunk57UU7IJ2_cjs.routes_default; }
|
|
339
339
|
});
|
|
340
340
|
Object.defineProperty(exports, "findMatchingVariant", {
|
|
341
341
|
enumerable: true,
|
|
@@ -355,11 +355,11 @@ Object.defineProperty(exports, "isVariantCombinationAvailable", {
|
|
|
355
355
|
});
|
|
356
356
|
Object.defineProperty(exports, "LocalCart", {
|
|
357
357
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunkNQZ5GUOG_cjs.cart_default; }
|
|
359
359
|
});
|
|
360
360
|
Object.defineProperty(exports, "pixelEvents", {
|
|
361
361
|
enumerable: true,
|
|
362
|
-
get: function () { return
|
|
362
|
+
get: function () { return chunkNSAHGMS7_cjs.pixelEvents; }
|
|
363
363
|
});
|
|
364
364
|
Object.defineProperty(exports, "CacheManager", {
|
|
365
365
|
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-D9liEtl4.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-D9liEtl4.cjs';
|
|
3
|
+
import { C as Cart } from '../cart-DwMFBmpC.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-
|
|
7
|
-
import { O as Order } from '../orders-
|
|
5
|
+
import { S as SectionFilters } from '../pixelEvents-BtEO5QAR.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-BtEO5QAR.cjs';
|
|
7
|
+
import { O as Order } from '../orders-B3G4CyhH.cjs';
|
|
8
8
|
import { AxiosResponse } from 'axios';
|
|
9
9
|
import { a as PhonePe } from '../phonepe-dWMLZel6.cjs';
|
|
10
10
|
import 'react-toastify';
|
|
11
|
-
import '../collections-
|
|
11
|
+
import '../collections-CXgOv5_G.cjs';
|
|
12
12
|
|
|
13
13
|
declare function setAuthTokenChangeCallback(callback: (token: string | undefined) => void): void;
|
|
14
14
|
declare const Auth: {
|
|
@@ -131,6 +131,7 @@ declare const urls: {
|
|
|
131
131
|
cart: string;
|
|
132
132
|
address: string;
|
|
133
133
|
payment: string;
|
|
134
|
+
buyNow: string;
|
|
134
135
|
wishlist: string;
|
|
135
136
|
privacyPolicy: string;
|
|
136
137
|
faq: string;
|
package/dist/utils/index.d.ts
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-D9liEtl4.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-D9liEtl4.js';
|
|
3
|
+
import { C as Cart } from '../cart-DZq1ZEnE.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-
|
|
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-
|
|
7
|
-
import { O as Order } from '../orders-
|
|
5
|
+
import { S as SectionFilters } from '../pixelEvents-LsealscG.js';
|
|
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-LsealscG.js';
|
|
7
|
+
import { O as Order } from '../orders-Bl-Slh72.js';
|
|
8
8
|
import { AxiosResponse } from 'axios';
|
|
9
9
|
import { a as PhonePe } from '../phonepe-dWMLZel6.js';
|
|
10
10
|
import 'react-toastify';
|
|
11
|
-
import '../collections-
|
|
11
|
+
import '../collections-CNh2OGbl.js';
|
|
12
12
|
|
|
13
13
|
declare function setAuthTokenChangeCallback(callback: (token: string | undefined) => void): void;
|
|
14
14
|
declare const Auth: {
|
|
@@ -131,6 +131,7 @@ declare const urls: {
|
|
|
131
131
|
cart: string;
|
|
132
132
|
address: string;
|
|
133
133
|
payment: string;
|
|
134
|
+
buyNow: string;
|
|
134
135
|
wishlist: string;
|
|
135
136
|
privacyPolicy: string;
|
|
136
137
|
faq: string;
|
package/dist/utils/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { authRoutes, protectedRoutes, publicRoutes, routes_default as urls } from '../chunk-
|
|
1
|
+
export { authRoutes, protectedRoutes, publicRoutes, routes_default as urls } from '../chunk-OOFYY6GR.js';
|
|
2
2
|
export { findMatchingVariant, findSimilarVariant, isColorVariantType, isVariantCombinationAvailable } from '../chunk-HEFA67WK.js';
|
|
3
|
-
export { cart_default as LocalCart } from '../chunk-
|
|
4
|
-
export { pixelEvents } from '../chunk-
|
|
3
|
+
export { cart_default as LocalCart } from '../chunk-TH7OAMGC.js';
|
|
4
|
+
export { pixelEvents } from '../chunk-VAU5OL72.js';
|
|
5
5
|
export { CacheManager, cache, clearCache, deleteCache, generateCacheKey, getCache, hasCache, invalidateCache, setCache } from '../chunk-OSM73ETC.js';
|
|
6
6
|
import { digestMessage } from '../chunk-CBKJ3Y2I.js';
|
|
7
7
|
export { constructFilter, convertObjectToParams, convertToCurrency, digestMessage, formatDateTime, formatPostalLabel, getAddressMeta, getDelayInMilliseconds, getOrderStatus, getParamsFromURL, getQueryParams, pluralize, pushParamsToURL, shareLink } from '../chunk-CBKJ3Y2I.js';
|