@instockng/storefront-ui 1.0.6 → 1.0.7
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/index101.mjs +1 -1
- package/dist/index102.mjs +3 -3
- package/dist/index103.mjs +3 -3
- package/dist/index111.mjs +1 -1
- package/dist/index3.mjs +15 -15
- package/dist/index43.mjs +17 -17
- package/dist/index44.mjs +2 -2
- package/dist/index62.mjs +231 -30
- package/dist/index63.mjs +5 -42
- package/dist/index64.mjs +127 -228
- package/dist/index65.mjs +66 -4
- package/dist/index66.mjs +77 -124
- package/dist/index67.mjs +26 -65
- package/dist/index68.mjs +6 -84
- package/dist/index69.mjs +72 -26
- package/dist/index70.mjs +3 -8
- package/dist/index71.mjs +2 -75
- package/dist/index72.mjs +82 -3
- package/dist/index73.mjs +54 -2
- package/dist/index74.mjs +5 -82
- package/dist/index75.mjs +4 -53
- package/dist/index76.mjs +178 -5
- package/dist/index77.mjs +53 -5
- package/dist/index78.mjs +68 -178
- package/dist/index79.mjs +31 -50
- package/dist/index80.mjs +43 -69
- package/dist/index81.mjs +1 -1
- package/dist/index82.mjs +1 -1
- package/dist/index83.mjs +5 -5
- package/dist/index85.mjs +2 -2
- package/dist/index87.mjs +2 -2
- package/dist/index89.mjs +1 -1
- package/dist/index91.mjs +4 -4
- package/dist/index92.mjs +3 -3
- package/dist/index93.mjs +1 -1
- package/dist/index94.mjs +3 -3
- package/dist/index99.mjs +1 -1
- package/package.json +1 -1
package/dist/index80.mjs
CHANGED
|
@@ -1,72 +1,46 @@
|
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
PayloadTooLarge: 413,
|
|
40
|
-
UriTooLong: 414,
|
|
41
|
-
UnsupportedMediaType: 415,
|
|
42
|
-
RangeNotSatisfiable: 416,
|
|
43
|
-
ExpectationFailed: 417,
|
|
44
|
-
ImATeapot: 418,
|
|
45
|
-
MisdirectedRequest: 421,
|
|
46
|
-
UnprocessableEntity: 422,
|
|
47
|
-
Locked: 423,
|
|
48
|
-
FailedDependency: 424,
|
|
49
|
-
TooEarly: 425,
|
|
50
|
-
UpgradeRequired: 426,
|
|
51
|
-
PreconditionRequired: 428,
|
|
52
|
-
TooManyRequests: 429,
|
|
53
|
-
RequestHeaderFieldsTooLarge: 431,
|
|
54
|
-
UnavailableForLegalReasons: 451,
|
|
55
|
-
InternalServerError: 500,
|
|
56
|
-
NotImplemented: 501,
|
|
57
|
-
BadGateway: 502,
|
|
58
|
-
ServiceUnavailable: 503,
|
|
59
|
-
GatewayTimeout: 504,
|
|
60
|
-
HttpVersionNotSupported: 505,
|
|
61
|
-
VariantAlsoNegotiates: 506,
|
|
62
|
-
InsufficientStorage: 507,
|
|
63
|
-
LoopDetected: 508,
|
|
64
|
-
NotExtended: 510,
|
|
65
|
-
NetworkAuthenticationRequired: 511
|
|
66
|
-
};
|
|
67
|
-
Object.entries(e).forEach(([t, o]) => {
|
|
68
|
-
e[o] = t;
|
|
69
|
-
});
|
|
2
|
+
var s = (e, r) => (e = e.replace(/\/+$/, ""), e = e + "/", r = r.replace(/^\/+/, ""), e + r), p = (e, r) => {
|
|
3
|
+
for (const [n, t] of Object.entries(r)) {
|
|
4
|
+
const c = new RegExp("/:" + n + "(?:{[^/]+})?\\??");
|
|
5
|
+
e = e.replace(c, t ? `/${t}` : "");
|
|
6
|
+
}
|
|
7
|
+
return e;
|
|
8
|
+
}, f = (e) => {
|
|
9
|
+
const r = new URLSearchParams();
|
|
10
|
+
for (const [n, t] of Object.entries(e))
|
|
11
|
+
if (t !== void 0)
|
|
12
|
+
if (Array.isArray(t))
|
|
13
|
+
for (const c of t)
|
|
14
|
+
r.append(n, c);
|
|
15
|
+
else
|
|
16
|
+
r.set(n, t);
|
|
17
|
+
return r;
|
|
18
|
+
}, i = (e, r) => {
|
|
19
|
+
switch (r) {
|
|
20
|
+
case "ws":
|
|
21
|
+
return e.replace(/^http/, "ws");
|
|
22
|
+
case "http":
|
|
23
|
+
return e.replace(/^ws/, "http");
|
|
24
|
+
}
|
|
25
|
+
}, l = (e) => /^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e) ? e.replace(/\/index(?=\?|$)/, "/") : e.replace(/\/index(?=\?|$)/, "");
|
|
26
|
+
function a(e) {
|
|
27
|
+
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
28
|
+
}
|
|
29
|
+
function o(e, r) {
|
|
30
|
+
if (!a(e) && !a(r))
|
|
31
|
+
return r;
|
|
32
|
+
const n = { ...e };
|
|
33
|
+
for (const t in r) {
|
|
34
|
+
const c = r[t];
|
|
35
|
+
a(n[t]) && a(c) ? n[t] = o(n[t], c) : n[t] = c;
|
|
36
|
+
}
|
|
37
|
+
return n;
|
|
38
|
+
}
|
|
70
39
|
export {
|
|
71
|
-
|
|
40
|
+
f as buildSearchParams,
|
|
41
|
+
o as deepMerge,
|
|
42
|
+
s as mergePath,
|
|
43
|
+
l as removeIndexString,
|
|
44
|
+
p as replaceUrlParam,
|
|
45
|
+
i as replaceUrlProtocol
|
|
72
46
|
};
|
package/dist/index81.mjs
CHANGED
package/dist/index82.mjs
CHANGED
package/dist/index83.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import r from "./index94.mjs";
|
|
3
|
-
import p from "./
|
|
4
|
-
import l from "./
|
|
5
|
-
import m from "./
|
|
6
|
-
import a from "./
|
|
7
|
-
import o from "./
|
|
3
|
+
import p from "./index70.mjs";
|
|
4
|
+
import l from "./index66.mjs";
|
|
5
|
+
import m from "./index68.mjs";
|
|
6
|
+
import a from "./index76.mjs";
|
|
7
|
+
import o from "./index77.mjs";
|
|
8
8
|
function d(e) {
|
|
9
9
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
10
10
|
throw new m(null, e);
|
package/dist/index85.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { VERSION as w } from "./
|
|
3
|
-
import s from "./
|
|
2
|
+
import { VERSION as w } from "./index71.mjs";
|
|
3
|
+
import s from "./index73.mjs";
|
|
4
4
|
const l = {};
|
|
5
5
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((n, t) => {
|
|
6
6
|
l[n] = function(o) {
|
package/dist/index87.mjs
CHANGED
package/dist/index89.mjs
CHANGED
package/dist/index91.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import H from "./
|
|
2
|
+
import H from "./index62.mjs";
|
|
3
3
|
import D from "./index99.mjs";
|
|
4
4
|
import L from "./index86.mjs";
|
|
5
|
-
import n from "./
|
|
6
|
-
import y from "./
|
|
5
|
+
import n from "./index73.mjs";
|
|
6
|
+
import y from "./index68.mjs";
|
|
7
7
|
import O from "./index100.mjs";
|
|
8
8
|
import U from "./index88.mjs";
|
|
9
|
-
import q from "./
|
|
9
|
+
import q from "./index76.mjs";
|
|
10
10
|
import { progressEventReducer as A } from "./index101.mjs";
|
|
11
11
|
import v from "./index102.mjs";
|
|
12
12
|
const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
|
package/dist/index92.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import K from "./index88.mjs";
|
|
3
|
-
import t from "./
|
|
4
|
-
import b from "./
|
|
3
|
+
import t from "./index62.mjs";
|
|
4
|
+
import b from "./index73.mjs";
|
|
5
5
|
import ee from "./index103.mjs";
|
|
6
6
|
import { trackStream as z } from "./index104.mjs";
|
|
7
|
-
import te from "./
|
|
7
|
+
import te from "./index76.mjs";
|
|
8
8
|
import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index101.mjs";
|
|
9
9
|
import se from "./index102.mjs";
|
|
10
10
|
import re from "./index99.mjs";
|
package/dist/index93.mjs
CHANGED
package/dist/index94.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import i from "./
|
|
3
|
-
import m from "./
|
|
4
|
-
import s from "./
|
|
2
|
+
import i from "./index62.mjs";
|
|
3
|
+
import m from "./index66.mjs";
|
|
4
|
+
import s from "./index76.mjs";
|
|
5
5
|
function h(f, t) {
|
|
6
6
|
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
7
7
|
let a = r.data;
|
package/dist/index99.mjs
CHANGED