@instockng/storefront-ui 1.0.65 → 1.0.67
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/components/ProductAddOns.d.ts.map +1 -1
- package/dist/index10.mjs +50 -45
- package/dist/index100.mjs +52 -41
- package/dist/index101.mjs +6 -2
- package/dist/index102.mjs +5 -2
- package/dist/index103.mjs +176 -25
- package/dist/index104.mjs +52 -17
- package/dist/index105.mjs +69 -215
- package/dist/index106.mjs +2 -180
- package/dist/index107.mjs +34 -22
- package/dist/index108.mjs +42 -22
- package/dist/index109.mjs +2 -33
- package/dist/index110.mjs +22 -155
- package/dist/index111.mjs +9 -11
- package/dist/index112.mjs +207 -23
- package/dist/index113.mjs +171 -74
- package/dist/index114.mjs +15 -31
- package/dist/index115.mjs +17 -139
- package/dist/index116.mjs +28 -50
- package/dist/index117.mjs +152 -19
- package/dist/index118.mjs +13 -20
- package/dist/index119.mjs +25 -17
- package/dist/index120.mjs +76 -17
- package/dist/index121.mjs +31 -14
- package/dist/index122.mjs +140 -17
- package/dist/index123.mjs +51 -16
- package/dist/index124.mjs +17 -59
- package/dist/index125.mjs +20 -11
- package/dist/index126.mjs +17 -33
- package/dist/index127.mjs +18 -17
- package/dist/index128.mjs +13 -26
- package/dist/index129.mjs +13 -18
- package/dist/index13.mjs +1 -1
- package/dist/index130.mjs +14 -12
- package/dist/index131.mjs +57 -13
- package/dist/index132.mjs +11 -40
- package/dist/index133.mjs +31 -15
- package/dist/index134.mjs +19 -263
- package/dist/index135.mjs +25 -61
- package/dist/index136.mjs +26 -7
- package/dist/index137.mjs +19 -2
- package/dist/index138.mjs +21 -2
- package/dist/index139.mjs +42 -28
- package/dist/index140.mjs +23 -2
- package/dist/index141.mjs +267 -20
- package/dist/index142.mjs +68 -54
- package/dist/index143.mjs +7 -28
- package/dist/index144.mjs +2 -7
- package/dist/index145.mjs +2 -52
- package/dist/index146.mjs +2 -6
- package/dist/index147.mjs +32 -11
- package/dist/index148.mjs +2 -7
- package/dist/index149.mjs +19 -30
- package/dist/index15.mjs +4 -4
- package/dist/index150.mjs +16 -4
- package/dist/index151.mjs +62 -70
- package/dist/index152.mjs +2 -167
- package/dist/index156.mjs +129 -13
- package/dist/index157.mjs +16 -26
- package/dist/index158.mjs +32 -32
- package/dist/index159.mjs +2 -18
- package/dist/index16.mjs +2 -2
- package/dist/index160.mjs +35 -13
- package/dist/index161.mjs +47 -2
- package/dist/index162.mjs +20 -19
- package/dist/index163.mjs +54 -44
- package/dist/index164.mjs +29 -2
- package/dist/index165.mjs +6 -29
- package/dist/index166.mjs +50 -16
- package/dist/index167.mjs +6 -2
- package/dist/index168.mjs +12 -2
- package/dist/index169.mjs +7 -2
- package/dist/index170.mjs +28 -2
- package/dist/index171.mjs +2 -72
- package/dist/index172.mjs +70 -2
- package/dist/index173.mjs +164 -50
- package/dist/index174.mjs +2 -2
- package/dist/index175.mjs +2 -36
- package/dist/index176.mjs +2 -152
- package/dist/index177.mjs +18 -2
- package/dist/index178.mjs +32 -2
- package/dist/index179.mjs +33 -14
- package/dist/index18.mjs +1 -1
- package/dist/index180.mjs +18 -2
- package/dist/index181.mjs +18 -2
- package/dist/index182.mjs +2 -26
- package/dist/index183.mjs +20 -2
- package/dist/index184.mjs +46 -2
- package/dist/index185.mjs +2 -24
- package/dist/index186.mjs +26 -19
- package/dist/index187.mjs +18 -2
- package/dist/index188.mjs +2 -2
- package/dist/index189.mjs +2 -2
- package/dist/index19.mjs +1 -1
- package/dist/index190.mjs +2 -23
- package/dist/index191.mjs +2 -2
- package/dist/index192.mjs +67 -18
- package/dist/index193.mjs +2 -2
- package/dist/index194.mjs +53 -2
- package/dist/index196.mjs +28 -15
- package/dist/index197.mjs +152 -2
- package/dist/index198.mjs +2 -23
- package/dist/index199.mjs +2 -2
- package/dist/index200.mjs +19 -2
- package/dist/index201.mjs +2 -2
- package/dist/index202.mjs +2 -2
- package/dist/index203.mjs +26 -2
- package/dist/index204.mjs +2 -2
- package/dist/index205.mjs +2 -2
- package/dist/index206.mjs +24 -2
- package/dist/index207.mjs +20 -124
- package/dist/index209.mjs +2 -74
- package/dist/index210.mjs +2 -74
- package/dist/index211.mjs +23 -2
- package/dist/index212.mjs +2 -31
- package/dist/index213.mjs +22 -10
- package/dist/index214.mjs +2 -4
- package/dist/index215.mjs +2 -4
- package/dist/index216.mjs +2 -13
- package/dist/index217.mjs +23 -7
- package/dist/index218.mjs +2 -12
- package/dist/index219.mjs +22 -4
- package/dist/index22.mjs +2 -2
- package/dist/index220.mjs +2 -33
- package/dist/index221.mjs +2 -31
- package/dist/index222.mjs +2 -28
- package/dist/index223.mjs +2 -61
- package/dist/index225.mjs +2 -2
- package/dist/index226.mjs +2 -2
- package/dist/index227.mjs +2 -2
- package/dist/index228.mjs +127 -2
- package/dist/index229.mjs +2 -2
- package/dist/index230.mjs +74 -2
- package/dist/index231.mjs +74 -2
- package/dist/index232.mjs +2 -108
- package/dist/index233.mjs +648 -2
- package/dist/index234.mjs +2 -2
- package/dist/index235.mjs +2 -37
- package/dist/index236.mjs +43 -2
- package/dist/index237.mjs +17 -241
- package/dist/index238.mjs +19 -2
- package/dist/index239.mjs +2 -33
- package/dist/index240.mjs +2 -65
- package/dist/index241.mjs +30 -24
- package/dist/index242.mjs +11 -2
- package/dist/index243.mjs +4 -2
- package/dist/index244.mjs +4 -2
- package/dist/index245.mjs +13 -2
- package/dist/index246.mjs +7 -2
- package/dist/index247.mjs +12 -2
- package/dist/index248.mjs +5 -2
- package/dist/index249.mjs +33 -2
- package/dist/index25.mjs +2 -2
- package/dist/index250.mjs +31 -2
- package/dist/index251.mjs +28 -2
- package/dist/index252.mjs +61 -4
- package/dist/index253.mjs +2 -2
- package/dist/index254.mjs +2 -2
- package/dist/index255.mjs +2 -3
- package/dist/index256.mjs +2 -2
- package/dist/index257.mjs +2 -2
- package/dist/index258.mjs +2 -2
- package/dist/index259.mjs +108 -2
- package/dist/index26.mjs +1 -1
- package/dist/index260.mjs +2 -18
- package/dist/index261.mjs +2 -47
- package/dist/index262.mjs +2 -17
- package/dist/index263.mjs +2 -13
- package/dist/index264.mjs +37 -6
- package/dist/index265.mjs +2 -30
- package/dist/index266.mjs +2 -2
- package/dist/index267.mjs +2 -2
- package/dist/index268.mjs +244 -2
- package/dist/index270.mjs +31 -89
- package/dist/index271.mjs +65 -2
- package/dist/index272.mjs +25 -2
- package/dist/index274.mjs +2 -2
- package/dist/index275.mjs +5 -0
- package/dist/index276.mjs +5 -0
- package/dist/index277.mjs +5 -0
- package/dist/index278.mjs +5 -0
- package/dist/index279.mjs +5 -0
- package/dist/index280.mjs +5 -0
- package/dist/index281.mjs +7 -0
- package/dist/index282.mjs +5 -0
- package/dist/index283.mjs +5 -0
- package/dist/index284.mjs +5 -0
- package/dist/index285.mjs +5 -0
- package/dist/index286.mjs +5 -0
- package/dist/index287.mjs +5 -0
- package/dist/index288.mjs +6 -0
- package/dist/index289.mjs +5 -0
- package/dist/index290.mjs +5 -0
- package/dist/index291.mjs +20 -0
- package/dist/index292.mjs +16 -0
- package/dist/index293.mjs +9 -0
- package/dist/index294.mjs +33 -0
- package/dist/index295.mjs +5 -0
- package/dist/index296.mjs +5 -0
- package/dist/index297.mjs +21 -0
- package/dist/index298.mjs +50 -0
- package/dist/index299.mjs +5 -0
- package/dist/index300.mjs +5 -0
- package/dist/index301.mjs +5 -0
- package/dist/index302.mjs +5 -0
- package/dist/index303.mjs +94 -0
- package/dist/index304.mjs +5 -0
- package/dist/index305.mjs +5 -0
- package/dist/index306.mjs +5 -0
- package/dist/index307.mjs +5 -0
- package/dist/index34.mjs +11 -11
- package/dist/index40.mjs +2 -2
- package/dist/index42.mjs +2 -2
- package/dist/index43.mjs +6 -32
- package/dist/index44.mjs +32 -7
- package/dist/index45.mjs +6 -1432
- package/dist/index46.mjs +1432 -69
- package/dist/index47.mjs +70 -2
- package/dist/index48.mjs +2 -60
- package/dist/index49.mjs +57 -48
- package/dist/index50.mjs +51 -33
- package/dist/index51.mjs +33 -15
- package/dist/index52.mjs +12 -2260
- package/dist/index53.mjs +2263 -36
- package/dist/index54.mjs +36 -44
- package/dist/index55.mjs +44 -99
- package/dist/index56.mjs +99 -113
- package/dist/index57.mjs +82 -50
- package/dist/index58.mjs +53 -79
- package/dist/index59.mjs +75 -63
- package/dist/index60.mjs +71 -57
- package/dist/index61.mjs +57 -55
- package/dist/index62.mjs +75 -15
- package/dist/index63.mjs +13 -14
- package/dist/index64.mjs +16 -59
- package/dist/index65.mjs +43 -105
- package/dist/index66.mjs +89 -93
- package/dist/index67.mjs +128 -23
- package/dist/index68.mjs +19 -149
- package/dist/index69.mjs +24 -2
- package/dist/index70.mjs +2 -23
- package/dist/index71.mjs +37 -74
- package/dist/index72.mjs +2 -15
- package/dist/index73.mjs +148 -58
- package/dist/index75.mjs +75 -2
- package/dist/index76.mjs +15 -6
- package/dist/index77.mjs +57 -1128
- package/dist/index78.mjs +5 -19
- package/dist/index79.mjs +352 -51
- package/dist/index80.mjs +216 -30
- package/dist/index81.mjs +59 -2
- package/dist/index82.mjs +2 -235
- package/dist/index83.mjs +2 -6
- package/dist/index84.mjs +2 -134
- package/dist/index85.mjs +1134 -67
- package/dist/index86.mjs +19 -86
- package/dist/index87.mjs +54 -28
- package/dist/index88.mjs +32 -8
- package/dist/index89.mjs +229 -69
- package/dist/index90.mjs +5 -3
- package/dist/index91.mjs +134 -2
- package/dist/index92.mjs +64 -79
- package/dist/index93.mjs +84 -51
- package/dist/index94.mjs +28 -5
- package/dist/index95.mjs +8 -4
- package/dist/index96.mjs +69 -173
- package/dist/index97.mjs +4 -53
- package/dist/index98.mjs +2 -69
- package/dist/index99.mjs +80 -31
- package/package.json +1 -1
- package/src/components/ProductAddOns.tsx +10 -5
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import r from "./index89.mjs";
|
|
3
|
+
import c from "./index169.mjs";
|
|
4
|
+
const p = c.hasStandardBrowserEnv ? (
|
|
5
|
+
// Standard browser envs support document.cookie
|
|
6
|
+
{
|
|
7
|
+
write(e, t, n, i, s, u) {
|
|
8
|
+
const o = [e + "=" + encodeURIComponent(t)];
|
|
9
|
+
r.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), r.isString(i) && o.push("path=" + i), r.isString(s) && o.push("domain=" + s), u === !0 && o.push("secure"), document.cookie = o.join("; ");
|
|
10
|
+
},
|
|
11
|
+
read(e) {
|
|
12
|
+
const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
|
13
|
+
return t ? decodeURIComponent(t[3]) : null;
|
|
14
|
+
},
|
|
15
|
+
remove(e) {
|
|
16
|
+
this.write(e, "", Date.now() - 864e5);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
) : (
|
|
20
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
21
|
+
{
|
|
22
|
+
write() {
|
|
23
|
+
},
|
|
24
|
+
read() {
|
|
25
|
+
return null;
|
|
26
|
+
},
|
|
27
|
+
remove() {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
p as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __exports as r } from "./index305.mjs";
|
|
3
|
+
var u;
|
|
4
|
+
function s() {
|
|
5
|
+
return u ? r : (u = 1, function(n) {
|
|
6
|
+
Object.defineProperty(n, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
}), Object.defineProperty(n, "ensureLeadingSlash", {
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
get: function() {
|
|
11
|
+
return t;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
function t(e) {
|
|
15
|
+
return e.startsWith("/") ? e : "/" + e;
|
|
16
|
+
}
|
|
17
|
+
}(r), r);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
s as __require
|
|
21
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __exports as u } from "./index306.mjs";
|
|
3
|
+
var _;
|
|
4
|
+
function g() {
|
|
5
|
+
return _ ? u : (_ = 1, function(i) {
|
|
6
|
+
Object.defineProperty(i, "__esModule", {
|
|
7
|
+
value: !0
|
|
8
|
+
});
|
|
9
|
+
function a(e, n) {
|
|
10
|
+
for (var t in n) Object.defineProperty(e, t, {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: n[t]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
a(i, {
|
|
16
|
+
DEFAULT_SEGMENT_KEY: function() {
|
|
17
|
+
return E;
|
|
18
|
+
},
|
|
19
|
+
PAGE_SEGMENT_KEY: function() {
|
|
20
|
+
return r;
|
|
21
|
+
},
|
|
22
|
+
addSearchParamsIfPageSegment: function() {
|
|
23
|
+
return s;
|
|
24
|
+
},
|
|
25
|
+
isGroupSegment: function() {
|
|
26
|
+
return c;
|
|
27
|
+
},
|
|
28
|
+
isParallelRouteSegment: function() {
|
|
29
|
+
return f;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
function c(e) {
|
|
33
|
+
return e[0] === "(" && e.endsWith(")");
|
|
34
|
+
}
|
|
35
|
+
function f(e) {
|
|
36
|
+
return e.startsWith("@") && e !== "@children";
|
|
37
|
+
}
|
|
38
|
+
function s(e, n) {
|
|
39
|
+
if (e.includes(r)) {
|
|
40
|
+
const o = JSON.stringify(n);
|
|
41
|
+
return o !== "{}" ? r + "?" + o : r;
|
|
42
|
+
}
|
|
43
|
+
return e;
|
|
44
|
+
}
|
|
45
|
+
const r = "__PAGE__", E = "__DEFAULT__";
|
|
46
|
+
}(u), u);
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
g as __require
|
|
50
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __module as c } from "./index307.mjs";
|
|
3
|
+
var l;
|
|
4
|
+
function T() {
|
|
5
|
+
return l ? c.exports : (l = 1, (() => {
|
|
6
|
+
typeof __nccwpck_require__ < "u" && (__nccwpck_require__.ab = __dirname + "/");
|
|
7
|
+
var m = {};
|
|
8
|
+
(() => {
|
|
9
|
+
var v = m;
|
|
10
|
+
/*!
|
|
11
|
+
* cookie
|
|
12
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
13
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
14
|
+
* MIT Licensed
|
|
15
|
+
*/
|
|
16
|
+
v.parse = S, v.serialize = x;
|
|
17
|
+
var w = decodeURIComponent, h = encodeURIComponent, y = /; */, f = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
18
|
+
function S(i, n) {
|
|
19
|
+
if (typeof i != "string")
|
|
20
|
+
throw new TypeError("argument str must be a string");
|
|
21
|
+
for (var a = {}, e = n || {}, o = i.split(y), s = e.decode || w, r = 0; r < o.length; r++) {
|
|
22
|
+
var t = o[r], p = t.indexOf("=");
|
|
23
|
+
if (!(p < 0)) {
|
|
24
|
+
var d = t.substr(0, p).trim(), u = t.substr(++p, t.length).trim();
|
|
25
|
+
u[0] == '"' && (u = u.slice(1, -1)), a[d] == null && (a[d] = _(u, s));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return a;
|
|
29
|
+
}
|
|
30
|
+
function x(i, n, a) {
|
|
31
|
+
var e = a || {}, o = e.encode || h;
|
|
32
|
+
if (typeof o != "function")
|
|
33
|
+
throw new TypeError("option encode is invalid");
|
|
34
|
+
if (!f.test(i))
|
|
35
|
+
throw new TypeError("argument name is invalid");
|
|
36
|
+
var s = o(n);
|
|
37
|
+
if (s && !f.test(s))
|
|
38
|
+
throw new TypeError("argument val is invalid");
|
|
39
|
+
var r = i + "=" + s;
|
|
40
|
+
if (e.maxAge != null) {
|
|
41
|
+
var t = e.maxAge - 0;
|
|
42
|
+
if (isNaN(t) || !isFinite(t))
|
|
43
|
+
throw new TypeError("option maxAge is invalid");
|
|
44
|
+
r += "; Max-Age=" + Math.floor(t);
|
|
45
|
+
}
|
|
46
|
+
if (e.domain) {
|
|
47
|
+
if (!f.test(e.domain))
|
|
48
|
+
throw new TypeError("option domain is invalid");
|
|
49
|
+
r += "; Domain=" + e.domain;
|
|
50
|
+
}
|
|
51
|
+
if (e.path) {
|
|
52
|
+
if (!f.test(e.path))
|
|
53
|
+
throw new TypeError("option path is invalid");
|
|
54
|
+
r += "; Path=" + e.path;
|
|
55
|
+
}
|
|
56
|
+
if (e.expires) {
|
|
57
|
+
if (typeof e.expires.toUTCString != "function")
|
|
58
|
+
throw new TypeError("option expires is invalid");
|
|
59
|
+
r += "; Expires=" + e.expires.toUTCString();
|
|
60
|
+
}
|
|
61
|
+
if (e.httpOnly && (r += "; HttpOnly"), e.secure && (r += "; Secure"), e.sameSite) {
|
|
62
|
+
var p = typeof e.sameSite == "string" ? e.sameSite.toLowerCase() : e.sameSite;
|
|
63
|
+
switch (p) {
|
|
64
|
+
case !0:
|
|
65
|
+
r += "; SameSite=Strict";
|
|
66
|
+
break;
|
|
67
|
+
case "lax":
|
|
68
|
+
r += "; SameSite=Lax";
|
|
69
|
+
break;
|
|
70
|
+
case "strict":
|
|
71
|
+
r += "; SameSite=Strict";
|
|
72
|
+
break;
|
|
73
|
+
case "none":
|
|
74
|
+
r += "; SameSite=None";
|
|
75
|
+
break;
|
|
76
|
+
default:
|
|
77
|
+
throw new TypeError("option sameSite is invalid");
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return r;
|
|
81
|
+
}
|
|
82
|
+
function _(i, n) {
|
|
83
|
+
try {
|
|
84
|
+
return n(i);
|
|
85
|
+
} catch {
|
|
86
|
+
return i;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
})(), c.exports = m;
|
|
90
|
+
})(), c.exports);
|
|
91
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
T as __require
|
|
94
|
+
};
|
package/dist/index34.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useAddOrderNote as s, useCreateOrder as r, useDeleteOrder as u, useGetOrder as o, useListOrders as a, useUpdateOrder as d, useUpdateOrderStatus as n } from "./
|
|
3
|
-
import { useCreateBrand as p, useDeleteBrand as C, useGetBrand as c, useListBrands as D, useUpdateBrand as G } from "./
|
|
4
|
-
import { useCreateProduct as f, useDeleteProduct as m, useGetProduct as v, useGetProductAddOns as x, useListProducts as y, useUpdateProduct as L, useUpdateProductAddOns as O } from "./
|
|
5
|
-
import { useCreateVariant as U, useDeleteVariant as A, useGetVariantInventory as P, useListProductVariants as V, useSearchVariants as h, useUpdateVariant as B } from "./
|
|
6
|
-
import { useCreateWarehouse as W, useDeleteWarehouse as Z, useGetWarehouseInventory as b, useListWarehouses as k, useUpdateWarehouse as w } from "./
|
|
7
|
-
import { useAdjustInventory as j, useGetInventoryTransactions as E, useGetLowStockVariants as H, useListInventory as N, useTransferInventory as g } from "./
|
|
8
|
-
import { useGetCustomerHistory as z } from "./
|
|
9
|
-
import { useGetStats as J } from "./
|
|
10
|
-
import { useCleanupExpiredCarts as M, useGetAbandonedCart as Q, useGetAbandonedCartStats as R, useListAbandonedCarts as X } from "./
|
|
11
|
-
import { useBulkGenerateDiscountCodes as _, useCreateDiscountCode as $, useDeleteDiscountCode as ee, useGetDiscountCode as te, useGetDiscountCodeAnalytics as se, useGetDiscountCodeOverviewStats as re, useListDiscountCodes as ue, useUpdateDiscountCode as oe } from "./
|
|
12
|
-
import { useCreateDeliveryZone as de, useCreateState as ne, useDeleteDeliveryZone as ie, useDeleteState as pe, useListDeliveryZones as Ce, useListStates as ce, useUpdateDeliveryZone as De, useUpdateState as Ge } from "./
|
|
2
|
+
import { useAddOrderNote as s, useCreateOrder as r, useDeleteOrder as u, useGetOrder as o, useListOrders as a, useUpdateOrder as d, useUpdateOrderStatus as n } from "./index57.mjs";
|
|
3
|
+
import { useCreateBrand as p, useDeleteBrand as C, useGetBrand as c, useListBrands as D, useUpdateBrand as G } from "./index58.mjs";
|
|
4
|
+
import { useCreateProduct as f, useDeleteProduct as m, useGetProduct as v, useGetProductAddOns as x, useListProducts as y, useUpdateProduct as L, useUpdateProductAddOns as O } from "./index59.mjs";
|
|
5
|
+
import { useCreateVariant as U, useDeleteVariant as A, useGetVariantInventory as P, useListProductVariants as V, useSearchVariants as h, useUpdateVariant as B } from "./index60.mjs";
|
|
6
|
+
import { useCreateWarehouse as W, useDeleteWarehouse as Z, useGetWarehouseInventory as b, useListWarehouses as k, useUpdateWarehouse as w } from "./index61.mjs";
|
|
7
|
+
import { useAdjustInventory as j, useGetInventoryTransactions as E, useGetLowStockVariants as H, useListInventory as N, useTransferInventory as g } from "./index62.mjs";
|
|
8
|
+
import { useGetCustomerHistory as z } from "./index63.mjs";
|
|
9
|
+
import { useGetStats as J } from "./index64.mjs";
|
|
10
|
+
import { useCleanupExpiredCarts as M, useGetAbandonedCart as Q, useGetAbandonedCartStats as R, useListAbandonedCarts as X } from "./index65.mjs";
|
|
11
|
+
import { useBulkGenerateDiscountCodes as _, useCreateDiscountCode as $, useDeleteDiscountCode as ee, useGetDiscountCode as te, useGetDiscountCodeAnalytics as se, useGetDiscountCodeOverviewStats as re, useListDiscountCodes as ue, useUpdateDiscountCode as oe } from "./index66.mjs";
|
|
12
|
+
import { useCreateDeliveryZone as de, useCreateState as ne, useDeleteDeliveryZone as ie, useDeleteState as pe, useListDeliveryZones as Ce, useListStates as ce, useUpdateDeliveryZone as De, useUpdateState as Ge } from "./index67.mjs";
|
|
13
13
|
export {
|
|
14
14
|
s as useAddOrderNote,
|
|
15
15
|
j as useAdjustInventory,
|
package/dist/index40.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getDefaultExportFromCjs as x } from "./
|
|
3
|
-
import { __module as q } from "./
|
|
2
|
+
import { getDefaultExportFromCjs as x } from "./index69.mjs";
|
|
3
|
+
import { __module as q } from "./index70.mjs";
|
|
4
4
|
function S(b, p) {
|
|
5
5
|
for (var s = 0; s < p.length; s++) {
|
|
6
6
|
const c = p[s];
|
package/dist/index42.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getDefaultExportFromCjs as n } from "./
|
|
3
|
-
import { __require as i } from "./
|
|
2
|
+
import { getDefaultExportFromCjs as n } from "./index69.mjs";
|
|
3
|
+
import { __require as i } from "./index73.mjs";
|
|
4
4
|
function s(t, a) {
|
|
5
5
|
for (var o = 0; o < a.length; o++) {
|
|
6
6
|
const e = a[o];
|
package/dist/index43.mjs
CHANGED
|
@@ -1,35 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"label",
|
|
8
|
-
{
|
|
9
|
-
className: i(
|
|
10
|
-
"inline-flex cursor-pointer items-center",
|
|
11
|
-
r && "cursor-not-allowed opacity-50",
|
|
12
|
-
a
|
|
13
|
-
),
|
|
14
|
-
children: [
|
|
15
|
-
/* @__PURE__ */ t(
|
|
16
|
-
"input",
|
|
17
|
-
{
|
|
18
|
-
type: "checkbox",
|
|
19
|
-
className: "peer sr-only",
|
|
20
|
-
ref: o,
|
|
21
|
-
checked: c,
|
|
22
|
-
onChange: (f) => e == null ? void 0 : e(f.target.checked),
|
|
23
|
-
disabled: r,
|
|
24
|
-
...l
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ t("div", { className: "peer h-6 w-11 rounded-full bg-[#ccc] after:absolute after:start-[2px] after:top-[2px] after:h-5 after:w-5 after:rounded-full after:bg-white after:transition-all after:content-[''] peer-checked:bg-accent-600 peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-blue-300 dark:border-accent-600 dark:bg-[#ccc] dark:peer-focus:ring-blue-800 rtl:peer-checked:after:-translate-x-full" })
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
)
|
|
31
|
-
);
|
|
32
|
-
n.displayName = "Switch";
|
|
2
|
+
import { getDefaultExportFromCjs as r } from "./index69.mjs";
|
|
3
|
+
import "./index71.mjs";
|
|
4
|
+
import { __exports as t } from "./index72.mjs";
|
|
5
|
+
var o = t;
|
|
6
|
+
const p = /* @__PURE__ */ r(o);
|
|
33
7
|
export {
|
|
34
|
-
|
|
8
|
+
p as default
|
|
35
9
|
};
|
package/dist/index44.mjs
CHANGED
|
@@ -1,10 +1,35 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
2
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import * as p from "react";
|
|
4
|
+
import { cn as i } from "./index22.mjs";
|
|
5
|
+
const n = p.forwardRef(
|
|
6
|
+
({ className: a, checked: c, onCheckedChange: e, disabled: r, ...l }, o) => /* @__PURE__ */ s(
|
|
7
|
+
"label",
|
|
8
|
+
{
|
|
9
|
+
className: i(
|
|
10
|
+
"inline-flex cursor-pointer items-center",
|
|
11
|
+
r && "cursor-not-allowed opacity-50",
|
|
12
|
+
a
|
|
13
|
+
),
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ t(
|
|
16
|
+
"input",
|
|
17
|
+
{
|
|
18
|
+
type: "checkbox",
|
|
19
|
+
className: "peer sr-only",
|
|
20
|
+
ref: o,
|
|
21
|
+
checked: c,
|
|
22
|
+
onChange: (f) => e == null ? void 0 : e(f.target.checked),
|
|
23
|
+
disabled: r,
|
|
24
|
+
...l
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ t("div", { className: "peer h-6 w-11 rounded-full bg-[#ccc] after:absolute after:start-[2px] after:top-[2px] after:h-5 after:w-5 after:rounded-full after:bg-white after:transition-all after:content-[''] peer-checked:bg-accent-600 peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-blue-300 dark:border-accent-600 dark:bg-[#ccc] dark:peer-focus:ring-blue-800 rtl:peer-checked:after:-translate-x-full" })
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
);
|
|
32
|
+
n.displayName = "Switch";
|
|
8
33
|
export {
|
|
9
|
-
|
|
34
|
+
n as Switch
|
|
10
35
|
};
|