@numueg/theme-sdk 0.13.0 → 0.13.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-QPXMBK5U.mjs → chunk-AFOLV2U5.mjs} +3 -3
- package/dist/{chunk-QPXMBK5U.mjs.map → chunk-AFOLV2U5.mjs.map} +1 -1
- package/dist/{chunk-H7RGDWSU.cjs → chunk-JXJP6FND.cjs} +3 -3
- package/dist/{chunk-H7RGDWSU.cjs.map → chunk-JXJP6FND.cjs.map} +1 -1
- package/dist/{chunk-ZYZZG4JR.mjs → chunk-VZO2WMEM.mjs} +13 -4
- package/dist/chunk-VZO2WMEM.mjs.map +1 -0
- package/dist/{chunk-V3JDQXD3.cjs → chunk-WNMFED3F.cjs} +13 -4
- package/dist/chunk-WNMFED3F.cjs.map +1 -0
- package/dist/index.cjs +78 -74
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11 -7
- package/dist/index.mjs.map +1 -1
- 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.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-V3JDQXD3.cjs.map +0 -1
- package/dist/chunk-ZYZZG4JR.mjs.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 chunkJXJP6FND_cjs = require('./chunk-JXJP6FND.cjs');
|
|
5
|
+
var chunkWNMFED3F_cjs = require('./chunk-WNMFED3F.cjs');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var client = require('react-dom/client');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -10,23 +10,23 @@ 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(chunkWNMFED3F_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(chunkWNMFED3F_cjs.ProductContext);
|
|
19
19
|
}
|
|
20
20
|
function useCollection() {
|
|
21
|
-
const ctx = react.useContext(
|
|
21
|
+
const ctx = react.useContext(chunkWNMFED3F_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(chunkWNMFED3F_cjs.CollectionContext);
|
|
27
27
|
}
|
|
28
28
|
function useListingHeading(options = {}) {
|
|
29
|
-
const collection = react.useContext(
|
|
29
|
+
const collection = react.useContext(chunkWNMFED3F_cjs.CollectionContext);
|
|
30
30
|
const clean = (v) => typeof v === "string" && v.trim() !== "" ? v.trim() : "";
|
|
31
31
|
const collectionName = clean(collection?.name);
|
|
32
32
|
const collectionDescription = clean(
|
|
@@ -40,12 +40,12 @@ function useListingHeading(options = {}) {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
function useCart() {
|
|
43
|
-
const ctx = react.useContext(
|
|
43
|
+
const ctx = react.useContext(chunkWNMFED3F_cjs.CartContext);
|
|
44
44
|
if (!ctx) throw new Error("useCart must be used within NuMuProvider");
|
|
45
45
|
return ctx;
|
|
46
46
|
}
|
|
47
47
|
function useCurrentTemplate() {
|
|
48
|
-
return react.useContext(
|
|
48
|
+
return react.useContext(chunkWNMFED3F_cjs.CurrentTemplateContext);
|
|
49
49
|
}
|
|
50
50
|
function isMetafield(value) {
|
|
51
51
|
return typeof value === "object" && value !== null && typeof value.namespace === "string" && typeof value.key === "string";
|
|
@@ -59,9 +59,9 @@ function pageMetafields(data) {
|
|
|
59
59
|
return [];
|
|
60
60
|
}
|
|
61
61
|
function useMetafields(owner) {
|
|
62
|
-
const product = react.useContext(
|
|
63
|
-
const collection = react.useContext(
|
|
64
|
-
const page = react.useContext(
|
|
62
|
+
const product = react.useContext(chunkWNMFED3F_cjs.ProductContext);
|
|
63
|
+
const collection = react.useContext(chunkWNMFED3F_cjs.CollectionContext);
|
|
64
|
+
const page = react.useContext(chunkWNMFED3F_cjs.PageContext);
|
|
65
65
|
switch (owner) {
|
|
66
66
|
case "product":
|
|
67
67
|
return product?.metafields ?? [];
|
|
@@ -78,7 +78,7 @@ function useMetafield(owner, namespace, key) {
|
|
|
78
78
|
return fields.find((m) => m.namespace === namespace && m.key === key) ?? null;
|
|
79
79
|
}
|
|
80
80
|
function pageData() {
|
|
81
|
-
return react.useContext(
|
|
81
|
+
return react.useContext(chunkWNMFED3F_cjs.PageContext)?.data;
|
|
82
82
|
}
|
|
83
83
|
function useBlogs() {
|
|
84
84
|
const data = pageData();
|
|
@@ -111,7 +111,7 @@ function useSectionOptional() {
|
|
|
111
111
|
}
|
|
112
112
|
var EMPTY = Object.freeze([]);
|
|
113
113
|
function useSectionGroup(group) {
|
|
114
|
-
const settings = react.useContext(
|
|
114
|
+
const settings = react.useContext(chunkWNMFED3F_cjs.ThemeSettingsContext);
|
|
115
115
|
return react.useMemo(() => {
|
|
116
116
|
const grp = settings?.section_groups?.[group];
|
|
117
117
|
if (!grp || !Array.isArray(grp.order) || grp.order.length === 0) {
|
|
@@ -128,8 +128,8 @@ function useSectionGroup(group) {
|
|
|
128
128
|
}, [settings, group]);
|
|
129
129
|
}
|
|
130
130
|
function useCurrency() {
|
|
131
|
-
const ctx = react.useContext(
|
|
132
|
-
const shop =
|
|
131
|
+
const ctx = react.useContext(chunkWNMFED3F_cjs.CurrencyContext);
|
|
132
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
133
133
|
const fallback = react.useMemo(() => {
|
|
134
134
|
const ccy = shop?.currency || "EGP";
|
|
135
135
|
return {
|
|
@@ -149,8 +149,8 @@ function useCurrency() {
|
|
|
149
149
|
|
|
150
150
|
// src/hooks/useMoney.ts
|
|
151
151
|
function useMoney(currencyOverride) {
|
|
152
|
-
const { formatMoney: formatMoney2 } =
|
|
153
|
-
const shop =
|
|
152
|
+
const { formatMoney: formatMoney2 } = chunkWNMFED3F_cjs.useLocalization();
|
|
153
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
154
154
|
const { selected, base, autoConvert, convert } = useCurrency();
|
|
155
155
|
return (amount) => {
|
|
156
156
|
const shouldConvert = autoConvert && !currencyOverride && !!selected && selected !== base;
|
|
@@ -198,7 +198,7 @@ function unwrap(json) {
|
|
|
198
198
|
return json;
|
|
199
199
|
}
|
|
200
200
|
function useOrders() {
|
|
201
|
-
const customer =
|
|
201
|
+
const customer = chunkWNMFED3F_cjs.useCustomer();
|
|
202
202
|
const [orders, setOrders] = react.useState([]);
|
|
203
203
|
const [loading, setLoading] = react.useState(false);
|
|
204
204
|
const [error, setError] = react.useState(null);
|
|
@@ -245,7 +245,7 @@ function useOrders() {
|
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
247
|
function useOrder(id) {
|
|
248
|
-
const customer =
|
|
248
|
+
const customer = chunkWNMFED3F_cjs.useCustomer();
|
|
249
249
|
const [order, setOrder] = react.useState(null);
|
|
250
250
|
const [loading, setLoading] = react.useState(false);
|
|
251
251
|
const [error, setError] = react.useState(null);
|
|
@@ -308,7 +308,7 @@ async function readBody(res) {
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
function useCustomerAddresses() {
|
|
311
|
-
const customer =
|
|
311
|
+
const customer = chunkWNMFED3F_cjs.useCustomer();
|
|
312
312
|
const [addresses, setAddresses] = react.useState([]);
|
|
313
313
|
const [loading, setLoading] = react.useState(false);
|
|
314
314
|
const [error, setError] = react.useState(null);
|
|
@@ -471,8 +471,8 @@ function toNavigationItem(raw, locale) {
|
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
function useNavigation(handle, options) {
|
|
474
|
-
const navMap = react.useContext(
|
|
475
|
-
const localization = react.useContext(
|
|
474
|
+
const navMap = react.useContext(chunkWNMFED3F_cjs.NavigationContext);
|
|
475
|
+
const localization = react.useContext(chunkWNMFED3F_cjs.LocalizationContext);
|
|
476
476
|
const locale = localization?.locale ?? "en";
|
|
477
477
|
const hostProvidedAny = !!navMap && Object.keys(navMap).length > 0;
|
|
478
478
|
const rawItems = handle ? navMap?.[handle] : void 0;
|
|
@@ -878,7 +878,7 @@ function useCachedResource(key, fetcher, options) {
|
|
|
878
878
|
|
|
879
879
|
// src/hooks/useApp.ts
|
|
880
880
|
function useApp(slug) {
|
|
881
|
-
const shop =
|
|
881
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
882
882
|
const key = slug ? `numu:app:${shop.id}:${slug}` : "";
|
|
883
883
|
const fetcher = react.useCallback(
|
|
884
884
|
async (signal) => {
|
|
@@ -1153,7 +1153,7 @@ function offerBeatsRegularPrice(offer, unitPriceMajor) {
|
|
|
1153
1153
|
function useProductSizeChart(productOverride) {
|
|
1154
1154
|
const ctxProduct = useProductOptional();
|
|
1155
1155
|
const product = productOverride ?? ctxProduct;
|
|
1156
|
-
const shop =
|
|
1156
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
1157
1157
|
const storeSettings = shop?.settings;
|
|
1158
1158
|
return react.useMemo(
|
|
1159
1159
|
() => resolveSizeChart(product?.attributes, storeSettings),
|
|
@@ -2214,13 +2214,13 @@ function NuMuProvider({
|
|
|
2214
2214
|
convertCurrency
|
|
2215
2215
|
]
|
|
2216
2216
|
);
|
|
2217
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2217
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.ShopContext.Provider, { value: store, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.ThemeSettingsContext.Provider, { value: themeSettings, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.CurrentTemplateContext.Provider, { value: currentTemplate, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.PageContext.Provider, { value: pageValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.LocalizationContext.Provider, { value: localization, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.CurrencyContext.Provider, { value: currencyValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.CartContext.Provider, { value: cartValue, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.CustomerContext.Provider, { value: customerState, children: /* @__PURE__ */ jsxRuntime.jsx(CustomerActionsContext.Provider, { value: customerActions, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.NavigationContext.Provider, { value: navigation ?? {}, children }) }) }) }) }) }) }) }) }) });
|
|
2218
2218
|
}
|
|
2219
2219
|
function ProductProvider({ product, children }) {
|
|
2220
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2220
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.ProductContext.Provider, { value: product, children });
|
|
2221
2221
|
}
|
|
2222
2222
|
function CollectionProvider({ collection, children }) {
|
|
2223
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2223
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWNMFED3F_cjs.CollectionContext.Provider, { value: collection, children });
|
|
2224
2224
|
}
|
|
2225
2225
|
|
|
2226
2226
|
// src/utils/logoStyle.ts
|
|
@@ -2559,8 +2559,8 @@ function Money({
|
|
|
2559
2559
|
className,
|
|
2560
2560
|
as = "span"
|
|
2561
2561
|
}) {
|
|
2562
|
-
const { formatMoney: formatMoney2 } =
|
|
2563
|
-
const shop =
|
|
2562
|
+
const { formatMoney: formatMoney2 } = chunkWNMFED3F_cjs.useLocalization();
|
|
2563
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
2564
2564
|
const { selected, base, autoConvert, convert } = useCurrency();
|
|
2565
2565
|
const shouldConvert = autoConvert && !currency && !!selected && selected !== base;
|
|
2566
2566
|
const ccy = shouldConvert ? selected : currency || shop?.currency;
|
|
@@ -2607,16 +2607,20 @@ function applyImageTransform(t, fit = "cover") {
|
|
|
2607
2607
|
return style;
|
|
2608
2608
|
}
|
|
2609
2609
|
var clamp01 = (n) => Math.min(1, Math.max(0, n));
|
|
2610
|
+
function hostHonorsCropParams() {
|
|
2611
|
+
return globalThis.__NUMU_CF_IMAGE_RESIZING__ === true;
|
|
2612
|
+
}
|
|
2610
2613
|
function focalSrc(url, options = {}) {
|
|
2611
2614
|
if (!url) return "";
|
|
2612
2615
|
if (url.startsWith("data:") || /[?&](fp-x|fp-y)=/.test(url)) return url;
|
|
2616
|
+
const crop = hostHonorsCropParams();
|
|
2613
2617
|
const p = new URLSearchParams();
|
|
2614
2618
|
p.set("url", url);
|
|
2615
2619
|
if (options.width) p.set("w", String(Math.round(options.width)));
|
|
2616
|
-
if (options.focal?.x != null) p.set("fp-x", String(clamp01(options.focal.x)));
|
|
2617
|
-
if (options.focal?.y != null) p.set("fp-y", String(clamp01(options.focal.y)));
|
|
2618
|
-
if (options.aspect) p.set("ar", options.aspect);
|
|
2619
|
-
if (options.fit) p.set("fit", options.fit);
|
|
2620
|
+
if (crop && options.focal?.x != null) p.set("fp-x", String(clamp01(options.focal.x)));
|
|
2621
|
+
if (crop && options.focal?.y != null) p.set("fp-y", String(clamp01(options.focal.y)));
|
|
2622
|
+
if (crop && options.aspect) p.set("ar", options.aspect);
|
|
2623
|
+
if (crop && options.fit) p.set("fit", options.fit);
|
|
2620
2624
|
if (options.quality) p.set("q", String(Math.min(100, Math.max(1, Math.round(options.quality)))));
|
|
2621
2625
|
if (options.format) p.set("f", options.format.toLowerCase());
|
|
2622
2626
|
return `/api/image-transform?${p.toString()}`;
|
|
@@ -2827,8 +2831,8 @@ function Logo({
|
|
|
2827
2831
|
style,
|
|
2828
2832
|
fallback
|
|
2829
2833
|
}) {
|
|
2830
|
-
const settings =
|
|
2831
|
-
const shop =
|
|
2834
|
+
const settings = chunkWNMFED3F_cjs.useThemeSettings();
|
|
2835
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
2832
2836
|
const g = settings?.global_settings ?? {};
|
|
2833
2837
|
const url = str(src) || str(g.logo_url) || shop?.logo_url || "";
|
|
2834
2838
|
const resolvedShape = shape || str(g.logo_shape) || "none";
|
|
@@ -2864,7 +2868,7 @@ function requestNavigate(href) {
|
|
|
2864
2868
|
return !window.dispatchEvent(event);
|
|
2865
2869
|
}
|
|
2866
2870
|
function Link({ to, children, onClick, ...rest }) {
|
|
2867
|
-
const shop =
|
|
2871
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
2868
2872
|
const isAbsolute = ABSOLUTE_URL.test(to);
|
|
2869
2873
|
let href = to;
|
|
2870
2874
|
if (!isAbsolute && shop && !to.startsWith("/")) {
|
|
@@ -3443,8 +3447,8 @@ function LocaleSwitcher({
|
|
|
3443
3447
|
onSelect,
|
|
3444
3448
|
render
|
|
3445
3449
|
}) {
|
|
3446
|
-
const shop =
|
|
3447
|
-
const { locale } =
|
|
3450
|
+
const shop = chunkWNMFED3F_cjs.useShop();
|
|
3451
|
+
const { locale } = chunkWNMFED3F_cjs.useLocalization();
|
|
3448
3452
|
const available = shop.available_locales || [];
|
|
3449
3453
|
const list = available.length > 0 ? available : shop.default_language === "en" ? ["en"] : Array.from(/* @__PURE__ */ new Set([shop.default_language, "en"]));
|
|
3450
3454
|
const labelFor = react.useCallback((code) => {
|
|
@@ -3862,9 +3866,9 @@ function resolveSettingsMap(settings, ctx) {
|
|
|
3862
3866
|
return out;
|
|
3863
3867
|
}
|
|
3864
3868
|
function useResolvedSettings(instance) {
|
|
3865
|
-
const product = react.useContext(
|
|
3866
|
-
const collection = react.useContext(
|
|
3867
|
-
const store = react.useContext(
|
|
3869
|
+
const product = react.useContext(chunkWNMFED3F_cjs.ProductContext);
|
|
3870
|
+
const collection = react.useContext(chunkWNMFED3F_cjs.CollectionContext);
|
|
3871
|
+
const store = react.useContext(chunkWNMFED3F_cjs.ShopContext);
|
|
3868
3872
|
const ctx = react.useMemo(
|
|
3869
3873
|
() => ({ product, collection, store }),
|
|
3870
3874
|
[product, collection, store]
|
|
@@ -4088,131 +4092,131 @@ Object.defineProperty(exports, "resolveThemeSettings", {
|
|
|
4088
4092
|
});
|
|
4089
4093
|
Object.defineProperty(exports, "KNOWN_SETTING_TYPES", {
|
|
4090
4094
|
enumerable: true,
|
|
4091
|
-
get: function () { return
|
|
4095
|
+
get: function () { return chunkJXJP6FND_cjs.KNOWN_SETTING_TYPES; }
|
|
4092
4096
|
});
|
|
4093
4097
|
Object.defineProperty(exports, "KNOWN_TEMPLATES", {
|
|
4094
4098
|
enumerable: true,
|
|
4095
|
-
get: function () { return
|
|
4099
|
+
get: function () { return chunkJXJP6FND_cjs.KNOWN_TEMPLATES; }
|
|
4096
4100
|
});
|
|
4097
4101
|
Object.defineProperty(exports, "REQUIRED_TEMPLATES", {
|
|
4098
4102
|
enumerable: true,
|
|
4099
|
-
get: function () { return
|
|
4103
|
+
get: function () { return chunkJXJP6FND_cjs.REQUIRED_TEMPLATES; }
|
|
4100
4104
|
});
|
|
4101
4105
|
Object.defineProperty(exports, "SDK_VERSION", {
|
|
4102
4106
|
enumerable: true,
|
|
4103
|
-
get: function () { return
|
|
4107
|
+
get: function () { return chunkJXJP6FND_cjs.SDK_VERSION; }
|
|
4104
4108
|
});
|
|
4105
4109
|
Object.defineProperty(exports, "THEME_CONTRACT_VERSION", {
|
|
4106
4110
|
enumerable: true,
|
|
4107
|
-
get: function () { return
|
|
4111
|
+
get: function () { return chunkJXJP6FND_cjs.THEME_CONTRACT_VERSION; }
|
|
4108
4112
|
});
|
|
4109
4113
|
Object.defineProperty(exports, "mergeResults", {
|
|
4110
4114
|
enumerable: true,
|
|
4111
|
-
get: function () { return
|
|
4115
|
+
get: function () { return chunkJXJP6FND_cjs.mergeResults; }
|
|
4112
4116
|
});
|
|
4113
4117
|
Object.defineProperty(exports, "validateBuiltManifest", {
|
|
4114
4118
|
enumerable: true,
|
|
4115
|
-
get: function () { return
|
|
4119
|
+
get: function () { return chunkJXJP6FND_cjs.validateBuiltManifest; }
|
|
4116
4120
|
});
|
|
4117
4121
|
Object.defineProperty(exports, "validateManifest", {
|
|
4118
4122
|
enumerable: true,
|
|
4119
|
-
get: function () { return
|
|
4123
|
+
get: function () { return chunkJXJP6FND_cjs.validateManifest; }
|
|
4120
4124
|
});
|
|
4121
4125
|
Object.defineProperty(exports, "validateSectionSchema", {
|
|
4122
4126
|
enumerable: true,
|
|
4123
|
-
get: function () { return
|
|
4127
|
+
get: function () { return chunkJXJP6FND_cjs.validateSectionSchema; }
|
|
4124
4128
|
});
|
|
4125
4129
|
Object.defineProperty(exports, "validateSettingsAgainstSchema", {
|
|
4126
4130
|
enumerable: true,
|
|
4127
|
-
get: function () { return
|
|
4131
|
+
get: function () { return chunkJXJP6FND_cjs.validateSettingsAgainstSchema; }
|
|
4128
4132
|
});
|
|
4129
4133
|
Object.defineProperty(exports, "CartContext", {
|
|
4130
4134
|
enumerable: true,
|
|
4131
|
-
get: function () { return
|
|
4135
|
+
get: function () { return chunkWNMFED3F_cjs.CartContext; }
|
|
4132
4136
|
});
|
|
4133
4137
|
Object.defineProperty(exports, "CollectionContext", {
|
|
4134
4138
|
enumerable: true,
|
|
4135
|
-
get: function () { return
|
|
4139
|
+
get: function () { return chunkWNMFED3F_cjs.CollectionContext; }
|
|
4136
4140
|
});
|
|
4137
4141
|
Object.defineProperty(exports, "CurrencyContext", {
|
|
4138
4142
|
enumerable: true,
|
|
4139
|
-
get: function () { return
|
|
4143
|
+
get: function () { return chunkWNMFED3F_cjs.CurrencyContext; }
|
|
4140
4144
|
});
|
|
4141
4145
|
Object.defineProperty(exports, "CustomerContext", {
|
|
4142
4146
|
enumerable: true,
|
|
4143
|
-
get: function () { return
|
|
4147
|
+
get: function () { return chunkWNMFED3F_cjs.CustomerContext; }
|
|
4144
4148
|
});
|
|
4145
4149
|
Object.defineProperty(exports, "LocalizationContext", {
|
|
4146
4150
|
enumerable: true,
|
|
4147
|
-
get: function () { return
|
|
4151
|
+
get: function () { return chunkWNMFED3F_cjs.LocalizationContext; }
|
|
4148
4152
|
});
|
|
4149
4153
|
Object.defineProperty(exports, "NavigationContext", {
|
|
4150
4154
|
enumerable: true,
|
|
4151
|
-
get: function () { return
|
|
4155
|
+
get: function () { return chunkWNMFED3F_cjs.NavigationContext; }
|
|
4152
4156
|
});
|
|
4153
4157
|
Object.defineProperty(exports, "PageContext", {
|
|
4154
4158
|
enumerable: true,
|
|
4155
|
-
get: function () { return
|
|
4159
|
+
get: function () { return chunkWNMFED3F_cjs.PageContext; }
|
|
4156
4160
|
});
|
|
4157
4161
|
Object.defineProperty(exports, "ProductContext", {
|
|
4158
4162
|
enumerable: true,
|
|
4159
|
-
get: function () { return
|
|
4163
|
+
get: function () { return chunkWNMFED3F_cjs.ProductContext; }
|
|
4160
4164
|
});
|
|
4161
4165
|
Object.defineProperty(exports, "ShopContext", {
|
|
4162
4166
|
enumerable: true,
|
|
4163
|
-
get: function () { return
|
|
4167
|
+
get: function () { return chunkWNMFED3F_cjs.ShopContext; }
|
|
4164
4168
|
});
|
|
4165
4169
|
Object.defineProperty(exports, "ThemeSettingsContext", {
|
|
4166
4170
|
enumerable: true,
|
|
4167
|
-
get: function () { return
|
|
4171
|
+
get: function () { return chunkWNMFED3F_cjs.ThemeSettingsContext; }
|
|
4168
4172
|
});
|
|
4169
4173
|
Object.defineProperty(exports, "useCollections", {
|
|
4170
4174
|
enumerable: true,
|
|
4171
|
-
get: function () { return
|
|
4175
|
+
get: function () { return chunkWNMFED3F_cjs.useCollections; }
|
|
4172
4176
|
});
|
|
4173
4177
|
Object.defineProperty(exports, "useCustomer", {
|
|
4174
4178
|
enumerable: true,
|
|
4175
|
-
get: function () { return
|
|
4179
|
+
get: function () { return chunkWNMFED3F_cjs.useCustomer; }
|
|
4176
4180
|
});
|
|
4177
4181
|
Object.defineProperty(exports, "useDirection", {
|
|
4178
4182
|
enumerable: true,
|
|
4179
|
-
get: function () { return
|
|
4183
|
+
get: function () { return chunkWNMFED3F_cjs.useDirection; }
|
|
4180
4184
|
});
|
|
4181
4185
|
Object.defineProperty(exports, "useFieldTranslation", {
|
|
4182
4186
|
enumerable: true,
|
|
4183
|
-
get: function () { return
|
|
4187
|
+
get: function () { return chunkWNMFED3F_cjs.useFieldTranslation; }
|
|
4184
4188
|
});
|
|
4185
4189
|
Object.defineProperty(exports, "useLocale", {
|
|
4186
4190
|
enumerable: true,
|
|
4187
|
-
get: function () { return
|
|
4191
|
+
get: function () { return chunkWNMFED3F_cjs.useLocale; }
|
|
4188
4192
|
});
|
|
4189
4193
|
Object.defineProperty(exports, "useLocalization", {
|
|
4190
4194
|
enumerable: true,
|
|
4191
|
-
get: function () { return
|
|
4195
|
+
get: function () { return chunkWNMFED3F_cjs.useLocalization; }
|
|
4192
4196
|
});
|
|
4193
4197
|
Object.defineProperty(exports, "useNumberFormat", {
|
|
4194
4198
|
enumerable: true,
|
|
4195
|
-
get: function () { return
|
|
4199
|
+
get: function () { return chunkWNMFED3F_cjs.useNumberFormat; }
|
|
4196
4200
|
});
|
|
4197
4201
|
Object.defineProperty(exports, "usePage", {
|
|
4198
4202
|
enumerable: true,
|
|
4199
|
-
get: function () { return
|
|
4203
|
+
get: function () { return chunkWNMFED3F_cjs.usePage; }
|
|
4200
4204
|
});
|
|
4201
4205
|
Object.defineProperty(exports, "useProducts", {
|
|
4202
4206
|
enumerable: true,
|
|
4203
|
-
get: function () { return
|
|
4207
|
+
get: function () { return chunkWNMFED3F_cjs.useProducts; }
|
|
4204
4208
|
});
|
|
4205
4209
|
Object.defineProperty(exports, "useShop", {
|
|
4206
4210
|
enumerable: true,
|
|
4207
|
-
get: function () { return
|
|
4211
|
+
get: function () { return chunkWNMFED3F_cjs.useShop; }
|
|
4208
4212
|
});
|
|
4209
4213
|
Object.defineProperty(exports, "useThemeSettings", {
|
|
4210
4214
|
enumerable: true,
|
|
4211
|
-
get: function () { return
|
|
4215
|
+
get: function () { return chunkWNMFED3F_cjs.useThemeSettings; }
|
|
4212
4216
|
});
|
|
4213
4217
|
Object.defineProperty(exports, "useTranslation", {
|
|
4214
4218
|
enumerable: true,
|
|
4215
|
-
get: function () { return
|
|
4219
|
+
get: function () { return chunkWNMFED3F_cjs.useTranslation; }
|
|
4216
4220
|
});
|
|
4217
4221
|
exports.AddToCartButton = AddToCartButton;
|
|
4218
4222
|
exports.Block = Block;
|