@numueg/theme-sdk 0.10.0 → 0.10.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/{chunk-KWODVI7F.cjs → chunk-O4GLTNLE.cjs} +3 -3
- package/dist/{chunk-KWODVI7F.cjs.map → chunk-O4GLTNLE.cjs.map} +1 -1
- package/dist/{chunk-EB2ESBLD.mjs → chunk-QFFTHIFZ.mjs} +3 -3
- package/dist/{chunk-EB2ESBLD.mjs.map → chunk-QFFTHIFZ.mjs.map} +1 -1
- package/dist/{chunk-IBNAZRUT.cjs → chunk-V3JDQXD3.cjs} +2 -2
- package/dist/chunk-V3JDQXD3.cjs.map +1 -0
- package/dist/{chunk-4TMO5Y5W.mjs → chunk-ZYZZG4JR.mjs} +2 -2
- package/dist/chunk-ZYZZG4JR.mjs.map +1 -0
- package/dist/index.cjs +78 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +16 -8
- package/dist/index.mjs.map +1 -1
- package/dist/{mount-eAhGgGtZ.d.mts → mount-BDo4a42I.d.mts} +5 -0
- package/dist/{mount-HbnOAYZ-.d.ts → mount-DQZu8aBB.d.ts} +5 -0
- package/dist/v2-compat.cjs +6 -6
- package/dist/v2-compat.mjs +1 -1
- package/dist/validation.cjs +11 -11
- package/dist/validation.mjs +1 -1
- package/dist/verify.cjs +3 -3
- package/dist/verify.d.mts +1 -1
- package/dist/verify.d.ts +1 -1
- package/dist/verify.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-4TMO5Y5W.mjs.map +0 -1
- package/dist/chunk-IBNAZRUT.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTBSNHHFH_cjs = require('./chunk-TBSNHHFH.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkO4GLTNLE_cjs = require('./chunk-O4GLTNLE.cjs');
|
|
5
|
+
var chunkV3JDQXD3_cjs = require('./chunk-V3JDQXD3.cjs');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var client = require('react-dom/client');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -10,28 +10,28 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
10
10
|
// src/types/theme.ts
|
|
11
11
|
var MAX_BLOCK_DEPTH = 5;
|
|
12
12
|
function useProduct() {
|
|
13
|
-
const ctx = react.useContext(
|
|
13
|
+
const ctx = react.useContext(chunkV3JDQXD3_cjs.ProductContext);
|
|
14
14
|
if (!ctx) throw new Error("useProduct must be used within ProductProvider");
|
|
15
15
|
return ctx;
|
|
16
16
|
}
|
|
17
17
|
function useProductOptional() {
|
|
18
|
-
return react.useContext(
|
|
18
|
+
return react.useContext(chunkV3JDQXD3_cjs.ProductContext);
|
|
19
19
|
}
|
|
20
20
|
function useCollection() {
|
|
21
|
-
const ctx = react.useContext(
|
|
21
|
+
const ctx = react.useContext(chunkV3JDQXD3_cjs.CollectionContext);
|
|
22
22
|
if (!ctx) throw new Error("useCollection must be used within CollectionProvider");
|
|
23
23
|
return ctx;
|
|
24
24
|
}
|
|
25
25
|
function useCollectionOptional() {
|
|
26
|
-
return react.useContext(
|
|
26
|
+
return react.useContext(chunkV3JDQXD3_cjs.CollectionContext);
|
|
27
27
|
}
|
|
28
28
|
function useCart() {
|
|
29
|
-
const ctx = react.useContext(
|
|
29
|
+
const ctx = react.useContext(chunkV3JDQXD3_cjs.CartContext);
|
|
30
30
|
if (!ctx) throw new Error("useCart must be used within NuMuProvider");
|
|
31
31
|
return ctx;
|
|
32
32
|
}
|
|
33
33
|
function useCurrentTemplate() {
|
|
34
|
-
return react.useContext(
|
|
34
|
+
return react.useContext(chunkV3JDQXD3_cjs.CurrentTemplateContext);
|
|
35
35
|
}
|
|
36
36
|
var SectionContext = react.createContext(null);
|
|
37
37
|
function useSection() {
|
|
@@ -44,7 +44,7 @@ function useSectionOptional() {
|
|
|
44
44
|
}
|
|
45
45
|
var EMPTY = Object.freeze([]);
|
|
46
46
|
function useSectionGroup(group) {
|
|
47
|
-
const settings = react.useContext(
|
|
47
|
+
const settings = react.useContext(chunkV3JDQXD3_cjs.ThemeSettingsContext);
|
|
48
48
|
return react.useMemo(() => {
|
|
49
49
|
const grp = settings?.section_groups?.[group];
|
|
50
50
|
if (!grp || !Array.isArray(grp.order) || grp.order.length === 0) {
|
|
@@ -61,8 +61,8 @@ function useSectionGroup(group) {
|
|
|
61
61
|
}, [settings, group]);
|
|
62
62
|
}
|
|
63
63
|
function useCurrency() {
|
|
64
|
-
const ctx = react.useContext(
|
|
65
|
-
const shop =
|
|
64
|
+
const ctx = react.useContext(chunkV3JDQXD3_cjs.CurrencyContext);
|
|
65
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
66
66
|
const fallback = react.useMemo(() => {
|
|
67
67
|
const ccy = shop?.currency || "EGP";
|
|
68
68
|
return {
|
|
@@ -82,8 +82,8 @@ function useCurrency() {
|
|
|
82
82
|
|
|
83
83
|
// src/hooks/useMoney.ts
|
|
84
84
|
function useMoney(currencyOverride) {
|
|
85
|
-
const { formatMoney } =
|
|
86
|
-
const shop =
|
|
85
|
+
const { formatMoney } = chunkV3JDQXD3_cjs.useLocalization();
|
|
86
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
87
87
|
const { selected, base, autoConvert, convert } = useCurrency();
|
|
88
88
|
return (amount) => {
|
|
89
89
|
const shouldConvert = autoConvert && !currencyOverride && !!selected && selected !== base;
|
|
@@ -131,7 +131,7 @@ function unwrap(json) {
|
|
|
131
131
|
return json;
|
|
132
132
|
}
|
|
133
133
|
function useOrders() {
|
|
134
|
-
const customer =
|
|
134
|
+
const customer = chunkV3JDQXD3_cjs.useCustomer();
|
|
135
135
|
const [orders, setOrders] = react.useState([]);
|
|
136
136
|
const [loading, setLoading] = react.useState(false);
|
|
137
137
|
const [error, setError] = react.useState(null);
|
|
@@ -178,7 +178,7 @@ function useOrders() {
|
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
function useOrder(id) {
|
|
181
|
-
const customer =
|
|
181
|
+
const customer = chunkV3JDQXD3_cjs.useCustomer();
|
|
182
182
|
const [order, setOrder] = react.useState(null);
|
|
183
183
|
const [loading, setLoading] = react.useState(false);
|
|
184
184
|
const [error, setError] = react.useState(null);
|
|
@@ -241,7 +241,7 @@ async function readBody(res) {
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
function useCustomerAddresses() {
|
|
244
|
-
const customer =
|
|
244
|
+
const customer = chunkV3JDQXD3_cjs.useCustomer();
|
|
245
245
|
const [addresses, setAddresses] = react.useState([]);
|
|
246
246
|
const [loading, setLoading] = react.useState(false);
|
|
247
247
|
const [error, setError] = react.useState(null);
|
|
@@ -404,8 +404,8 @@ function toNavigationItem(raw, locale) {
|
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
function useNavigation(handle, options) {
|
|
407
|
-
const navMap = react.useContext(
|
|
408
|
-
const localization = react.useContext(
|
|
407
|
+
const navMap = react.useContext(chunkV3JDQXD3_cjs.NavigationContext);
|
|
408
|
+
const localization = react.useContext(chunkV3JDQXD3_cjs.LocalizationContext);
|
|
409
409
|
const locale = localization?.locale ?? "en";
|
|
410
410
|
const hostProvidedAny = !!navMap && Object.keys(navMap).length > 0;
|
|
411
411
|
const rawItems = handle ? navMap?.[handle] : void 0;
|
|
@@ -589,10 +589,11 @@ function getFingerprint() {
|
|
|
589
589
|
}
|
|
590
590
|
function dispatchAnalyticsEvent(eventName, payload = {}) {
|
|
591
591
|
if (typeof window === "undefined") return;
|
|
592
|
+
const eventId = crypto.randomUUID();
|
|
592
593
|
try {
|
|
593
594
|
window.dispatchEvent(
|
|
594
595
|
new CustomEvent("numu:analytics:event", {
|
|
595
|
-
detail: { event: eventName, payload, ts: Date.now() }
|
|
596
|
+
detail: { event: eventName, payload, event_id: eventId, ts: Date.now() }
|
|
596
597
|
})
|
|
597
598
|
);
|
|
598
599
|
} catch {
|
|
@@ -600,7 +601,7 @@ function dispatchAnalyticsEvent(eventName, payload = {}) {
|
|
|
600
601
|
const step = EVENT_TO_FUNNEL_STEP[eventName] ?? null;
|
|
601
602
|
const customerId = readCustomerId();
|
|
602
603
|
const body = step ? {
|
|
603
|
-
event_id:
|
|
604
|
+
event_id: eventId,
|
|
604
605
|
path: window.location.pathname,
|
|
605
606
|
fingerprint: getFingerprint(),
|
|
606
607
|
step,
|
|
@@ -611,6 +612,7 @@ function dispatchAnalyticsEvent(eventName, payload = {}) {
|
|
|
611
612
|
} : {
|
|
612
613
|
event: eventName,
|
|
613
614
|
payload,
|
|
615
|
+
event_id: eventId,
|
|
614
616
|
ts: Date.now(),
|
|
615
617
|
attribution: readAttribution() ?? void 0,
|
|
616
618
|
customer_id: customerId ?? void 0
|
|
@@ -809,7 +811,7 @@ function useCachedResource(key, fetcher, options) {
|
|
|
809
811
|
|
|
810
812
|
// src/hooks/useApp.ts
|
|
811
813
|
function useApp(slug) {
|
|
812
|
-
const shop =
|
|
814
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
813
815
|
const key = slug ? `numu:app:${shop.id}:${slug}` : "";
|
|
814
816
|
const fetcher = react.useCallback(
|
|
815
817
|
async (signal) => {
|
|
@@ -957,7 +959,7 @@ function useRelatedProducts(productId, options = {}) {
|
|
|
957
959
|
function useProductSizeChart(productOverride) {
|
|
958
960
|
const ctxProduct = useProductOptional();
|
|
959
961
|
const product = productOverride ?? ctxProduct;
|
|
960
|
-
const shop =
|
|
962
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
961
963
|
const storeSettings = shop?.settings;
|
|
962
964
|
return react.useMemo(
|
|
963
965
|
() => resolveSizeChart(product?.attributes, storeSettings),
|
|
@@ -1493,8 +1495,9 @@ async function postCartMutation(endpoint, body, applyCart, reserveToken) {
|
|
|
1493
1495
|
return { ok: false, status: res.status, message };
|
|
1494
1496
|
}
|
|
1495
1497
|
const json = await res.json();
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
+
const applied = unwrapCart(json);
|
|
1499
|
+
applyCart(applied);
|
|
1500
|
+
return { ok: true, status: res.status, cart: normalizeCartFromServer(applied) };
|
|
1498
1501
|
}
|
|
1499
1502
|
function NuMuProvider({
|
|
1500
1503
|
store,
|
|
@@ -1742,6 +1745,10 @@ function NuMuProvider({
|
|
|
1742
1745
|
if (!result.ok) return result;
|
|
1743
1746
|
try {
|
|
1744
1747
|
if (typeof window !== "undefined") {
|
|
1748
|
+
const line = result.cart?.items.find(
|
|
1749
|
+
(it) => variantId ? it.variant_id === variantId : it.product_id === productId
|
|
1750
|
+
);
|
|
1751
|
+
const value = line && typeof line.price === "number" && line.price > 0 ? Math.round(line.price * qty * 100) / 100 : void 0;
|
|
1745
1752
|
window.dispatchEvent(
|
|
1746
1753
|
new CustomEvent("numu:analytics:event", {
|
|
1747
1754
|
detail: {
|
|
@@ -1749,7 +1756,8 @@ function NuMuProvider({
|
|
|
1749
1756
|
payload: {
|
|
1750
1757
|
content_ids: [productId],
|
|
1751
1758
|
content_type: "product",
|
|
1752
|
-
num_items: qty
|
|
1759
|
+
num_items: qty,
|
|
1760
|
+
...value !== void 0 ? { value, currency: result.cart?.currency } : {}
|
|
1753
1761
|
},
|
|
1754
1762
|
event_id: eventId
|
|
1755
1763
|
}
|
|
@@ -1996,13 +2004,13 @@ function NuMuProvider({
|
|
|
1996
2004
|
convertCurrency
|
|
1997
2005
|
]
|
|
1998
2006
|
);
|
|
1999
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2007
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.ShopContext.Provider, { value: store, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.ThemeSettingsContext.Provider, { value: themeSettings, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.CurrentTemplateContext.Provider, { value: currentTemplate, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.PageContext.Provider, { value: pageValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.LocalizationContext.Provider, { value: localization, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.CurrencyContext.Provider, { value: currencyValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.CartContext.Provider, { value: cartValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.CustomerContext.Provider, { value: customerState, children: /* @__PURE__ */ jsxRuntime.jsx(CustomerActionsContext.Provider, { value: customerActions, children: /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.NavigationContext.Provider, { value: navigation ?? {}, children }) }) }) }) }) }) }) }) }) });
|
|
2000
2008
|
}
|
|
2001
2009
|
function ProductProvider({ product, children }) {
|
|
2002
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2010
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.ProductContext.Provider, { value: product, children });
|
|
2003
2011
|
}
|
|
2004
2012
|
function CollectionProvider({ collection, children }) {
|
|
2005
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2013
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkV3JDQXD3_cjs.CollectionContext.Provider, { value: collection, children });
|
|
2006
2014
|
}
|
|
2007
2015
|
|
|
2008
2016
|
// src/utils/logoStyle.ts
|
|
@@ -2341,8 +2349,8 @@ function Money({
|
|
|
2341
2349
|
className,
|
|
2342
2350
|
as = "span"
|
|
2343
2351
|
}) {
|
|
2344
|
-
const { formatMoney } =
|
|
2345
|
-
const shop =
|
|
2352
|
+
const { formatMoney } = chunkV3JDQXD3_cjs.useLocalization();
|
|
2353
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
2346
2354
|
const { selected, base, autoConvert, convert } = useCurrency();
|
|
2347
2355
|
const shouldConvert = autoConvert && !currency && !!selected && selected !== base;
|
|
2348
2356
|
const ccy = shouldConvert ? selected : currency || shop?.currency;
|
|
@@ -2606,8 +2614,8 @@ function Logo({
|
|
|
2606
2614
|
style,
|
|
2607
2615
|
fallback
|
|
2608
2616
|
}) {
|
|
2609
|
-
const settings =
|
|
2610
|
-
const shop =
|
|
2617
|
+
const settings = chunkV3JDQXD3_cjs.useThemeSettings();
|
|
2618
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
2611
2619
|
const g = settings?.global_settings ?? {};
|
|
2612
2620
|
const url = str(src) || str(g.logo_url) || shop?.logo_url || "";
|
|
2613
2621
|
const resolvedShape = shape || str(g.logo_shape) || "none";
|
|
@@ -2643,7 +2651,7 @@ function requestNavigate(href) {
|
|
|
2643
2651
|
return !window.dispatchEvent(event);
|
|
2644
2652
|
}
|
|
2645
2653
|
function Link({ to, children, onClick, ...rest }) {
|
|
2646
|
-
const shop =
|
|
2654
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
2647
2655
|
const isAbsolute = ABSOLUTE_URL.test(to);
|
|
2648
2656
|
let href = to;
|
|
2649
2657
|
if (!isAbsolute && shop && !to.startsWith("/")) {
|
|
@@ -3208,8 +3216,8 @@ function LocaleSwitcher({
|
|
|
3208
3216
|
onSelect,
|
|
3209
3217
|
render
|
|
3210
3218
|
}) {
|
|
3211
|
-
const shop =
|
|
3212
|
-
const { locale } =
|
|
3219
|
+
const shop = chunkV3JDQXD3_cjs.useShop();
|
|
3220
|
+
const { locale } = chunkV3JDQXD3_cjs.useLocalization();
|
|
3213
3221
|
const available = shop.available_locales || [];
|
|
3214
3222
|
const list = available.length > 0 ? available : shop.default_language === "en" ? ["en"] : Array.from(/* @__PURE__ */ new Set([shop.default_language, "en"]));
|
|
3215
3223
|
const labelFor = react.useCallback((code) => {
|
|
@@ -3614,9 +3622,9 @@ function resolveSettingsMap(settings, ctx) {
|
|
|
3614
3622
|
return out;
|
|
3615
3623
|
}
|
|
3616
3624
|
function useResolvedSettings(instance) {
|
|
3617
|
-
const product = react.useContext(
|
|
3618
|
-
const collection = react.useContext(
|
|
3619
|
-
const store = react.useContext(
|
|
3625
|
+
const product = react.useContext(chunkV3JDQXD3_cjs.ProductContext);
|
|
3626
|
+
const collection = react.useContext(chunkV3JDQXD3_cjs.CollectionContext);
|
|
3627
|
+
const store = react.useContext(chunkV3JDQXD3_cjs.ShopContext);
|
|
3620
3628
|
const ctx = react.useMemo(
|
|
3621
3629
|
() => ({ product, collection, store }),
|
|
3622
3630
|
[product, collection, store]
|
|
@@ -3796,131 +3804,131 @@ Object.defineProperty(exports, "resolveThemeSettings", {
|
|
|
3796
3804
|
});
|
|
3797
3805
|
Object.defineProperty(exports, "KNOWN_SETTING_TYPES", {
|
|
3798
3806
|
enumerable: true,
|
|
3799
|
-
get: function () { return
|
|
3807
|
+
get: function () { return chunkO4GLTNLE_cjs.KNOWN_SETTING_TYPES; }
|
|
3800
3808
|
});
|
|
3801
3809
|
Object.defineProperty(exports, "KNOWN_TEMPLATES", {
|
|
3802
3810
|
enumerable: true,
|
|
3803
|
-
get: function () { return
|
|
3811
|
+
get: function () { return chunkO4GLTNLE_cjs.KNOWN_TEMPLATES; }
|
|
3804
3812
|
});
|
|
3805
3813
|
Object.defineProperty(exports, "REQUIRED_TEMPLATES", {
|
|
3806
3814
|
enumerable: true,
|
|
3807
|
-
get: function () { return
|
|
3815
|
+
get: function () { return chunkO4GLTNLE_cjs.REQUIRED_TEMPLATES; }
|
|
3808
3816
|
});
|
|
3809
3817
|
Object.defineProperty(exports, "SDK_VERSION", {
|
|
3810
3818
|
enumerable: true,
|
|
3811
|
-
get: function () { return
|
|
3819
|
+
get: function () { return chunkO4GLTNLE_cjs.SDK_VERSION; }
|
|
3812
3820
|
});
|
|
3813
3821
|
Object.defineProperty(exports, "THEME_CONTRACT_VERSION", {
|
|
3814
3822
|
enumerable: true,
|
|
3815
|
-
get: function () { return
|
|
3823
|
+
get: function () { return chunkO4GLTNLE_cjs.THEME_CONTRACT_VERSION; }
|
|
3816
3824
|
});
|
|
3817
3825
|
Object.defineProperty(exports, "mergeResults", {
|
|
3818
3826
|
enumerable: true,
|
|
3819
|
-
get: function () { return
|
|
3827
|
+
get: function () { return chunkO4GLTNLE_cjs.mergeResults; }
|
|
3820
3828
|
});
|
|
3821
3829
|
Object.defineProperty(exports, "validateBuiltManifest", {
|
|
3822
3830
|
enumerable: true,
|
|
3823
|
-
get: function () { return
|
|
3831
|
+
get: function () { return chunkO4GLTNLE_cjs.validateBuiltManifest; }
|
|
3824
3832
|
});
|
|
3825
3833
|
Object.defineProperty(exports, "validateManifest", {
|
|
3826
3834
|
enumerable: true,
|
|
3827
|
-
get: function () { return
|
|
3835
|
+
get: function () { return chunkO4GLTNLE_cjs.validateManifest; }
|
|
3828
3836
|
});
|
|
3829
3837
|
Object.defineProperty(exports, "validateSectionSchema", {
|
|
3830
3838
|
enumerable: true,
|
|
3831
|
-
get: function () { return
|
|
3839
|
+
get: function () { return chunkO4GLTNLE_cjs.validateSectionSchema; }
|
|
3832
3840
|
});
|
|
3833
3841
|
Object.defineProperty(exports, "validateSettingsAgainstSchema", {
|
|
3834
3842
|
enumerable: true,
|
|
3835
|
-
get: function () { return
|
|
3843
|
+
get: function () { return chunkO4GLTNLE_cjs.validateSettingsAgainstSchema; }
|
|
3836
3844
|
});
|
|
3837
3845
|
Object.defineProperty(exports, "CartContext", {
|
|
3838
3846
|
enumerable: true,
|
|
3839
|
-
get: function () { return
|
|
3847
|
+
get: function () { return chunkV3JDQXD3_cjs.CartContext; }
|
|
3840
3848
|
});
|
|
3841
3849
|
Object.defineProperty(exports, "CollectionContext", {
|
|
3842
3850
|
enumerable: true,
|
|
3843
|
-
get: function () { return
|
|
3851
|
+
get: function () { return chunkV3JDQXD3_cjs.CollectionContext; }
|
|
3844
3852
|
});
|
|
3845
3853
|
Object.defineProperty(exports, "CurrencyContext", {
|
|
3846
3854
|
enumerable: true,
|
|
3847
|
-
get: function () { return
|
|
3855
|
+
get: function () { return chunkV3JDQXD3_cjs.CurrencyContext; }
|
|
3848
3856
|
});
|
|
3849
3857
|
Object.defineProperty(exports, "CustomerContext", {
|
|
3850
3858
|
enumerable: true,
|
|
3851
|
-
get: function () { return
|
|
3859
|
+
get: function () { return chunkV3JDQXD3_cjs.CustomerContext; }
|
|
3852
3860
|
});
|
|
3853
3861
|
Object.defineProperty(exports, "LocalizationContext", {
|
|
3854
3862
|
enumerable: true,
|
|
3855
|
-
get: function () { return
|
|
3863
|
+
get: function () { return chunkV3JDQXD3_cjs.LocalizationContext; }
|
|
3856
3864
|
});
|
|
3857
3865
|
Object.defineProperty(exports, "NavigationContext", {
|
|
3858
3866
|
enumerable: true,
|
|
3859
|
-
get: function () { return
|
|
3867
|
+
get: function () { return chunkV3JDQXD3_cjs.NavigationContext; }
|
|
3860
3868
|
});
|
|
3861
3869
|
Object.defineProperty(exports, "PageContext", {
|
|
3862
3870
|
enumerable: true,
|
|
3863
|
-
get: function () { return
|
|
3871
|
+
get: function () { return chunkV3JDQXD3_cjs.PageContext; }
|
|
3864
3872
|
});
|
|
3865
3873
|
Object.defineProperty(exports, "ProductContext", {
|
|
3866
3874
|
enumerable: true,
|
|
3867
|
-
get: function () { return
|
|
3875
|
+
get: function () { return chunkV3JDQXD3_cjs.ProductContext; }
|
|
3868
3876
|
});
|
|
3869
3877
|
Object.defineProperty(exports, "ShopContext", {
|
|
3870
3878
|
enumerable: true,
|
|
3871
|
-
get: function () { return
|
|
3879
|
+
get: function () { return chunkV3JDQXD3_cjs.ShopContext; }
|
|
3872
3880
|
});
|
|
3873
3881
|
Object.defineProperty(exports, "ThemeSettingsContext", {
|
|
3874
3882
|
enumerable: true,
|
|
3875
|
-
get: function () { return
|
|
3883
|
+
get: function () { return chunkV3JDQXD3_cjs.ThemeSettingsContext; }
|
|
3876
3884
|
});
|
|
3877
3885
|
Object.defineProperty(exports, "useCollections", {
|
|
3878
3886
|
enumerable: true,
|
|
3879
|
-
get: function () { return
|
|
3887
|
+
get: function () { return chunkV3JDQXD3_cjs.useCollections; }
|
|
3880
3888
|
});
|
|
3881
3889
|
Object.defineProperty(exports, "useCustomer", {
|
|
3882
3890
|
enumerable: true,
|
|
3883
|
-
get: function () { return
|
|
3891
|
+
get: function () { return chunkV3JDQXD3_cjs.useCustomer; }
|
|
3884
3892
|
});
|
|
3885
3893
|
Object.defineProperty(exports, "useDirection", {
|
|
3886
3894
|
enumerable: true,
|
|
3887
|
-
get: function () { return
|
|
3895
|
+
get: function () { return chunkV3JDQXD3_cjs.useDirection; }
|
|
3888
3896
|
});
|
|
3889
3897
|
Object.defineProperty(exports, "useFieldTranslation", {
|
|
3890
3898
|
enumerable: true,
|
|
3891
|
-
get: function () { return
|
|
3899
|
+
get: function () { return chunkV3JDQXD3_cjs.useFieldTranslation; }
|
|
3892
3900
|
});
|
|
3893
3901
|
Object.defineProperty(exports, "useLocale", {
|
|
3894
3902
|
enumerable: true,
|
|
3895
|
-
get: function () { return
|
|
3903
|
+
get: function () { return chunkV3JDQXD3_cjs.useLocale; }
|
|
3896
3904
|
});
|
|
3897
3905
|
Object.defineProperty(exports, "useLocalization", {
|
|
3898
3906
|
enumerable: true,
|
|
3899
|
-
get: function () { return
|
|
3907
|
+
get: function () { return chunkV3JDQXD3_cjs.useLocalization; }
|
|
3900
3908
|
});
|
|
3901
3909
|
Object.defineProperty(exports, "useNumberFormat", {
|
|
3902
3910
|
enumerable: true,
|
|
3903
|
-
get: function () { return
|
|
3911
|
+
get: function () { return chunkV3JDQXD3_cjs.useNumberFormat; }
|
|
3904
3912
|
});
|
|
3905
3913
|
Object.defineProperty(exports, "usePage", {
|
|
3906
3914
|
enumerable: true,
|
|
3907
|
-
get: function () { return
|
|
3915
|
+
get: function () { return chunkV3JDQXD3_cjs.usePage; }
|
|
3908
3916
|
});
|
|
3909
3917
|
Object.defineProperty(exports, "useProducts", {
|
|
3910
3918
|
enumerable: true,
|
|
3911
|
-
get: function () { return
|
|
3919
|
+
get: function () { return chunkV3JDQXD3_cjs.useProducts; }
|
|
3912
3920
|
});
|
|
3913
3921
|
Object.defineProperty(exports, "useShop", {
|
|
3914
3922
|
enumerable: true,
|
|
3915
|
-
get: function () { return
|
|
3923
|
+
get: function () { return chunkV3JDQXD3_cjs.useShop; }
|
|
3916
3924
|
});
|
|
3917
3925
|
Object.defineProperty(exports, "useThemeSettings", {
|
|
3918
3926
|
enumerable: true,
|
|
3919
|
-
get: function () { return
|
|
3927
|
+
get: function () { return chunkV3JDQXD3_cjs.useThemeSettings; }
|
|
3920
3928
|
});
|
|
3921
3929
|
Object.defineProperty(exports, "useTranslation", {
|
|
3922
3930
|
enumerable: true,
|
|
3923
|
-
get: function () { return
|
|
3931
|
+
get: function () { return chunkV3JDQXD3_cjs.useTranslation; }
|
|
3924
3932
|
});
|
|
3925
3933
|
exports.AddToCartButton = AddToCartButton;
|
|
3926
3934
|
exports.Block = Block;
|