@instockng/storefront-ui 1.0.61 → 1.0.62
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/index10.mjs +18 -18
- package/dist/index100.mjs +43 -2
- package/dist/index102.mjs +2 -21
- package/dist/index103.mjs +25 -53
- package/dist/index104.mjs +17 -28
- package/dist/index105.mjs +214 -6
- package/dist/index106.mjs +177 -49
- package/dist/index107.mjs +22 -6
- package/dist/index108.mjs +22 -11
- package/dist/index109.mjs +33 -7
- package/dist/index110.mjs +156 -28
- package/dist/index111.mjs +20 -2
- package/dist/index112.mjs +29 -68
- package/dist/index113.mjs +78 -161
- package/dist/index114.mjs +38 -2
- package/dist/index115.mjs +143 -26
- package/dist/index116.mjs +50 -13
- package/dist/index117.mjs +19 -211
- package/dist/index118.mjs +22 -175
- package/dist/index119.mjs +16 -15
- package/dist/index120.mjs +18 -16
- package/dist/index121.mjs +14 -26
- package/dist/index122.mjs +16 -150
- package/dist/index123.mjs +14 -13
- package/dist/index124.mjs +58 -24
- package/dist/index125.mjs +11 -77
- package/dist/index126.mjs +30 -29
- package/dist/index127.mjs +19 -140
- package/dist/index128.mjs +29 -50
- package/dist/index129.mjs +21 -17
- package/dist/index130.mjs +11 -19
- package/dist/index131.mjs +15 -17
- package/dist/index132.mjs +40 -18
- package/dist/index133.mjs +16 -14
- package/dist/index134.mjs +263 -17
- package/dist/index135.mjs +63 -14
- package/dist/index136.mjs +7 -64
- package/dist/index137.mjs +2 -18
- package/dist/index138.mjs +2 -39
- package/dist/index139.mjs +27 -18
- package/dist/index140.mjs +2 -34
- package/dist/index141.mjs +20 -26
- package/dist/index142.mjs +54 -17
- package/dist/index143.mjs +28 -20
- package/dist/index144.mjs +6 -46
- package/dist/index145.mjs +50 -21
- package/dist/index146.mjs +6 -268
- package/dist/index147.mjs +11 -69
- package/dist/index148.mjs +7 -8
- package/dist/index149.mjs +28 -2
- package/dist/index150.mjs +2 -2
- package/dist/index151.mjs +67 -30
- package/dist/index152.mjs +167 -2
- package/dist/index163.mjs +3 -3
- package/dist/index164.mjs +1 -1
- package/dist/index166.mjs +3 -3
- package/dist/index167.mjs +1 -1
- package/dist/index172.mjs +2 -2
- package/dist/index174.mjs +1 -1
- package/dist/index176.mjs +2 -2
- package/dist/index177.mjs +5 -5
- package/dist/index180.mjs +1 -1
- package/dist/index183.mjs +1 -1
- package/dist/index186.mjs +2 -2
- package/dist/index191.mjs +1 -1
- package/dist/index193.mjs +1 -1
- package/dist/index199.mjs +1 -1
- package/dist/index212.mjs +12 -30
- package/dist/index213.mjs +7 -11
- package/dist/index214.mjs +30 -3
- package/dist/index215.mjs +10 -3
- package/dist/index216.mjs +4 -13
- package/dist/index217.mjs +4 -7
- package/dist/index221.mjs +3 -3
- package/dist/index229.mjs +2 -2
- package/dist/index230.mjs +108 -2
- package/dist/index231.mjs +2 -2
- package/dist/index232.mjs +2 -108
- package/dist/index233.mjs +2 -2
- package/dist/index234.mjs +2 -2
- package/dist/index235.mjs +2 -244
- package/dist/index236.mjs +37 -2
- package/dist/index237.mjs +2 -33
- package/dist/index238.mjs +240 -61
- package/dist/index239.mjs +2 -25
- package/dist/index240.mjs +33 -2
- package/dist/index241.mjs +56 -28
- package/dist/index242.mjs +25 -2
- package/dist/index243.mjs +2 -2
- package/dist/index252.mjs +1 -1
- package/dist/index255.mjs +1 -1
- package/dist/index260.mjs +1 -1
- package/dist/index261.mjs +1 -1
- package/dist/index264.mjs +2 -2
- package/dist/index265.mjs +18 -2
- package/dist/index266.mjs +47 -2
- package/dist/index267.mjs +2 -91
- package/dist/index268.mjs +2 -2
- package/dist/index269.mjs +2 -18
- package/dist/index270.mjs +87 -43
- package/dist/index40.mjs +2 -2
- package/dist/index42.mjs +2 -2
- package/dist/index49.mjs +1 -1
- package/dist/index55.mjs +2 -2
- package/dist/index68.mjs +20 -21
- package/dist/index69.mjs +24 -2
- package/dist/index70.mjs +149 -19
- package/dist/index71.mjs +2 -153
- package/dist/index74.mjs +1 -1
- package/dist/index77.mjs +5 -5
- package/dist/index79.mjs +3 -3
- package/dist/index89.mjs +1 -1
- package/dist/index90.mjs +3 -3
- package/dist/index92.mjs +2 -34
- package/dist/index93.mjs +5 -42
- package/dist/index94.mjs +1134 -2
- package/dist/index95.mjs +19 -5
- package/dist/index96.mjs +40 -1119
- package/dist/index97.mjs +27 -14
- package/dist/index98.mjs +2 -55
- package/dist/index99.mjs +34 -33
- package/package.json +1 -1
- package/src/components/ProductAddOns.tsx +1 -1
package/dist/index97.mjs
CHANGED
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
var
|
|
7
|
-
function
|
|
8
|
-
return
|
|
9
|
-
Object.defineProperty(
|
|
2
|
+
import { __module as u } from "./index140.mjs";
|
|
3
|
+
import d from "react/jsx-runtime";
|
|
4
|
+
import "react";
|
|
5
|
+
import { __require as c } from "./index70.mjs";
|
|
6
|
+
var n;
|
|
7
|
+
function y() {
|
|
8
|
+
return n ? u.exports : (n = 1, function(a, e) {
|
|
9
|
+
Object.defineProperty(e, "__esModule", {
|
|
10
10
|
value: !0
|
|
11
|
-
}), Object.defineProperty(
|
|
11
|
+
}), Object.defineProperty(e, "default", {
|
|
12
12
|
enumerable: !0,
|
|
13
13
|
get: function() {
|
|
14
|
-
return
|
|
14
|
+
return l;
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
const f = d, o = c();
|
|
18
|
+
function l(t) {
|
|
19
|
+
function r(i) {
|
|
20
|
+
return /* @__PURE__ */ (0, f.jsx)(t, {
|
|
21
|
+
router: (0, o.useRouter)(),
|
|
22
|
+
...i
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
if (r.getInitialProps = t.getInitialProps, r.origGetInitialProps = t.origGetInitialProps, process.env.NODE_ENV !== "production") {
|
|
26
|
+
const i = t.displayName || t.name || "Unknown";
|
|
27
|
+
r.displayName = "withRouter(" + i + ")";
|
|
28
|
+
}
|
|
29
|
+
return r;
|
|
30
|
+
}
|
|
31
|
+
(typeof e.default == "function" || typeof e.default == "object" && e.default !== null) && typeof e.default.__esModule > "u" && (Object.defineProperty(e.default, "__esModule", { value: !0 }), Object.assign(e.default, e), a.exports = e.default);
|
|
32
|
+
}(u, u.exports), u.exports);
|
|
20
33
|
}
|
|
21
34
|
export {
|
|
22
|
-
|
|
35
|
+
y as __require
|
|
23
36
|
};
|
package/dist/index98.mjs
CHANGED
|
@@ -1,58 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
import { __require as p } from "./index151.mjs";
|
|
4
|
-
var u;
|
|
5
|
-
function m() {
|
|
6
|
-
return u ? o : (u = 1, function(i) {
|
|
7
|
-
Object.defineProperty(i, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
});
|
|
10
|
-
function f(e, r) {
|
|
11
|
-
for (var t in r) Object.defineProperty(e, t, {
|
|
12
|
-
enumerable: !0,
|
|
13
|
-
get: r[t]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
f(i, {
|
|
17
|
-
/**
|
|
18
|
-
* Checks whether the given value is a NextError.
|
|
19
|
-
* This can be used to print a more detailed error message with properties like `code` & `digest`.
|
|
20
|
-
*/
|
|
21
|
-
default: function() {
|
|
22
|
-
return s;
|
|
23
|
-
},
|
|
24
|
-
getProperError: function() {
|
|
25
|
-
return a;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const c = p();
|
|
29
|
-
function s(e) {
|
|
30
|
-
return typeof e == "object" && e !== null && "name" in e && "message" in e;
|
|
31
|
-
}
|
|
32
|
-
function d(e) {
|
|
33
|
-
const r = /* @__PURE__ */ new WeakSet();
|
|
34
|
-
return JSON.stringify(e, (t, n) => {
|
|
35
|
-
if (typeof n == "object" && n !== null) {
|
|
36
|
-
if (r.has(n))
|
|
37
|
-
return "[Circular]";
|
|
38
|
-
r.add(n);
|
|
39
|
-
}
|
|
40
|
-
return n;
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
function a(e) {
|
|
44
|
-
if (s(e))
|
|
45
|
-
return e;
|
|
46
|
-
if (process.env.NODE_ENV === "development") {
|
|
47
|
-
if (typeof e > "u")
|
|
48
|
-
return new Error("An undefined error was thrown, see here for more info: https://nextjs.org/docs/messages/threw-undefined");
|
|
49
|
-
if (e === null)
|
|
50
|
-
return new Error("A null error was thrown, see here for more info: https://nextjs.org/docs/messages/threw-undefined");
|
|
51
|
-
}
|
|
52
|
-
return new Error((0, c.isPlainObject)(e) ? d(e) : e + "");
|
|
53
|
-
}
|
|
54
|
-
}(o), o);
|
|
55
|
-
}
|
|
2
|
+
var e = {};
|
|
56
3
|
export {
|
|
57
|
-
|
|
4
|
+
e as __exports
|
|
58
5
|
};
|
package/dist/index99.mjs
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
2
|
+
var a = (i, t, e = {}) => {
|
|
3
|
+
let r = `${i}=${t}`;
|
|
4
|
+
if (i.startsWith("__Secure-") && !e.secure)
|
|
5
|
+
throw new Error("__Secure- Cookie must have Secure attributes");
|
|
6
|
+
if (i.startsWith("__Host-")) {
|
|
7
|
+
if (!e.secure)
|
|
8
|
+
throw new Error("__Host- Cookie must have Secure attributes");
|
|
9
|
+
if (e.path !== "/")
|
|
10
|
+
throw new Error('__Host- Cookie must have Path attributes with "/"');
|
|
11
|
+
if (e.domain)
|
|
12
|
+
throw new Error("__Host- Cookie must not have Domain attributes");
|
|
13
|
+
}
|
|
14
|
+
if (e && typeof e.maxAge == "number" && e.maxAge >= 0) {
|
|
15
|
+
if (e.maxAge > 3456e4)
|
|
16
|
+
throw new Error(
|
|
17
|
+
"Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration."
|
|
18
|
+
);
|
|
19
|
+
r += `; Max-Age=${e.maxAge | 0}`;
|
|
20
|
+
}
|
|
21
|
+
if (e.domain && e.prefix !== "host" && (r += `; Domain=${e.domain}`), e.path && (r += `; Path=${e.path}`), e.expires) {
|
|
22
|
+
if (e.expires.getTime() - Date.now() > 3456e7)
|
|
23
|
+
throw new Error(
|
|
24
|
+
"Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future."
|
|
25
|
+
);
|
|
26
|
+
r += `; Expires=${e.expires.toUTCString()}`;
|
|
27
|
+
}
|
|
28
|
+
if (e.httpOnly && (r += "; HttpOnly"), e.secure && (r += "; Secure"), e.sameSite && (r += `; SameSite=${e.sameSite.charAt(0).toUpperCase() + e.sameSite.slice(1)}`), e.priority && (r += `; Priority=${e.priority.charAt(0).toUpperCase() + e.priority.slice(1)}`), e.partitioned) {
|
|
29
|
+
if (!e.secure)
|
|
30
|
+
throw new Error("Partitioned Cookie must have Secure attributes");
|
|
31
|
+
r += "; Partitioned";
|
|
32
|
+
}
|
|
33
|
+
return r;
|
|
34
|
+
}, s = (i, t, e) => (t = encodeURIComponent(t), a(i, t, e));
|
|
34
35
|
export {
|
|
35
|
-
|
|
36
|
+
s as serialize
|
|
36
37
|
};
|
package/package.json
CHANGED
|
@@ -116,7 +116,7 @@ export function ProductAddOns({
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
return (
|
|
119
|
-
<div className={
|
|
119
|
+
<div className={className}>
|
|
120
120
|
<div className="px-1 mb-3">
|
|
121
121
|
<h3 className="text-lg font-bold tracking-tight text-gray-900">{title}</h3>
|
|
122
122
|
</div>
|