@instockng/storefront-ui 1.0.1 → 1.0.2
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/index105.mjs +1 -1
- package/dist/index111.mjs +1 -1
- package/dist/index43.mjs +17 -17
- package/dist/index44.mjs +2 -2
- package/dist/index62.mjs +30 -231
- package/dist/index63.mjs +42 -5
- package/dist/index64.mjs +228 -127
- package/dist/index65.mjs +4 -66
- package/dist/index66.mjs +124 -77
- package/dist/index67.mjs +65 -26
- package/dist/index68.mjs +84 -6
- package/dist/index69.mjs +26 -72
- package/dist/index70.mjs +8 -3
- package/dist/index71.mjs +75 -2
- package/dist/index72.mjs +3 -82
- package/dist/index73.mjs +2 -54
- package/dist/index74.mjs +82 -5
- package/dist/index75.mjs +53 -4
- package/dist/index76.mjs +5 -178
- package/dist/index77.mjs +5 -53
- package/dist/index78.mjs +178 -68
- package/dist/index79.mjs +50 -31
- package/dist/index80.mjs +69 -43
- package/dist/index81.mjs +2 -2
- package/dist/index82.mjs +1 -1
- package/dist/index83.mjs +6 -6
- package/dist/index84.mjs +2 -2
- package/dist/index85.mjs +2 -2
- package/dist/index87.mjs +2 -2
- package/dist/index88.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 +30 -12
- package/dist/index94.mjs +11 -7
- package/dist/index95.mjs +3 -30
- package/dist/index96.mjs +3 -10
- package/dist/index97.mjs +13 -4
- package/dist/index98.mjs +7 -4
- package/dist/index99.mjs +1 -1
- package/package.json +2 -2
package/dist/index80.mjs
CHANGED
|
@@ -1,45 +1,71 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
1
|
+
const e = {
|
|
2
|
+
Continue: 100,
|
|
3
|
+
SwitchingProtocols: 101,
|
|
4
|
+
Processing: 102,
|
|
5
|
+
EarlyHints: 103,
|
|
6
|
+
Ok: 200,
|
|
7
|
+
Created: 201,
|
|
8
|
+
Accepted: 202,
|
|
9
|
+
NonAuthoritativeInformation: 203,
|
|
10
|
+
NoContent: 204,
|
|
11
|
+
ResetContent: 205,
|
|
12
|
+
PartialContent: 206,
|
|
13
|
+
MultiStatus: 207,
|
|
14
|
+
AlreadyReported: 208,
|
|
15
|
+
ImUsed: 226,
|
|
16
|
+
MultipleChoices: 300,
|
|
17
|
+
MovedPermanently: 301,
|
|
18
|
+
Found: 302,
|
|
19
|
+
SeeOther: 303,
|
|
20
|
+
NotModified: 304,
|
|
21
|
+
UseProxy: 305,
|
|
22
|
+
Unused: 306,
|
|
23
|
+
TemporaryRedirect: 307,
|
|
24
|
+
PermanentRedirect: 308,
|
|
25
|
+
BadRequest: 400,
|
|
26
|
+
Unauthorized: 401,
|
|
27
|
+
PaymentRequired: 402,
|
|
28
|
+
Forbidden: 403,
|
|
29
|
+
NotFound: 404,
|
|
30
|
+
MethodNotAllowed: 405,
|
|
31
|
+
NotAcceptable: 406,
|
|
32
|
+
ProxyAuthenticationRequired: 407,
|
|
33
|
+
RequestTimeout: 408,
|
|
34
|
+
Conflict: 409,
|
|
35
|
+
Gone: 410,
|
|
36
|
+
LengthRequired: 411,
|
|
37
|
+
PreconditionFailed: 412,
|
|
38
|
+
PayloadTooLarge: 413,
|
|
39
|
+
UriTooLong: 414,
|
|
40
|
+
UnsupportedMediaType: 415,
|
|
41
|
+
RangeNotSatisfiable: 416,
|
|
42
|
+
ExpectationFailed: 417,
|
|
43
|
+
ImATeapot: 418,
|
|
44
|
+
MisdirectedRequest: 421,
|
|
45
|
+
UnprocessableEntity: 422,
|
|
46
|
+
Locked: 423,
|
|
47
|
+
FailedDependency: 424,
|
|
48
|
+
TooEarly: 425,
|
|
49
|
+
UpgradeRequired: 426,
|
|
50
|
+
PreconditionRequired: 428,
|
|
51
|
+
TooManyRequests: 429,
|
|
52
|
+
RequestHeaderFieldsTooLarge: 431,
|
|
53
|
+
UnavailableForLegalReasons: 451,
|
|
54
|
+
InternalServerError: 500,
|
|
55
|
+
NotImplemented: 501,
|
|
56
|
+
BadGateway: 502,
|
|
57
|
+
ServiceUnavailable: 503,
|
|
58
|
+
GatewayTimeout: 504,
|
|
59
|
+
HttpVersionNotSupported: 505,
|
|
60
|
+
VariantAlsoNegotiates: 506,
|
|
61
|
+
InsufficientStorage: 507,
|
|
62
|
+
LoopDetected: 508,
|
|
63
|
+
NotExtended: 510,
|
|
64
|
+
NetworkAuthenticationRequired: 511
|
|
65
|
+
};
|
|
66
|
+
Object.entries(e).forEach(([t, o]) => {
|
|
67
|
+
e[o] = t;
|
|
68
|
+
});
|
|
38
69
|
export {
|
|
39
|
-
|
|
40
|
-
o as deepMerge,
|
|
41
|
-
s as mergePath,
|
|
42
|
-
l as removeIndexString,
|
|
43
|
-
p as replaceUrlParam,
|
|
44
|
-
i as replaceUrlProtocol
|
|
70
|
+
e as default
|
|
45
71
|
};
|
package/dist/index81.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import f from "./
|
|
2
|
-
import d from "./
|
|
1
|
+
import f from "./index64.mjs";
|
|
2
|
+
import d from "./index93.mjs";
|
|
3
3
|
function l(e) {
|
|
4
4
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
5
5
|
}
|
package/dist/index82.mjs
CHANGED
package/dist/index83.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import r from "./
|
|
2
|
-
import p from "./
|
|
3
|
-
import l from "./
|
|
4
|
-
import m from "./
|
|
5
|
-
import a from "./
|
|
6
|
-
import o from "./
|
|
1
|
+
import r from "./index94.mjs";
|
|
2
|
+
import p from "./index72.mjs";
|
|
3
|
+
import l from "./index68.mjs";
|
|
4
|
+
import m from "./index70.mjs";
|
|
5
|
+
import a from "./index78.mjs";
|
|
6
|
+
import o from "./index79.mjs";
|
|
7
7
|
function d(e) {
|
|
8
8
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
9
9
|
throw new m(null, e);
|
package/dist/index84.mjs
CHANGED
package/dist/index85.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VERSION as w } from "./
|
|
2
|
-
import s from "./
|
|
1
|
+
import { VERSION as w } from "./index73.mjs";
|
|
2
|
+
import s from "./index75.mjs";
|
|
3
3
|
const l = {};
|
|
4
4
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((n, t) => {
|
|
5
5
|
l[n] = function(o) {
|
package/dist/index87.mjs
CHANGED
package/dist/index88.mjs
CHANGED
package/dist/index89.mjs
CHANGED
package/dist/index91.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import H from "./
|
|
1
|
+
import H from "./index64.mjs";
|
|
2
2
|
import D from "./index99.mjs";
|
|
3
3
|
import L from "./index86.mjs";
|
|
4
|
-
import n from "./
|
|
5
|
-
import y from "./
|
|
4
|
+
import n from "./index75.mjs";
|
|
5
|
+
import y from "./index70.mjs";
|
|
6
6
|
import O from "./index100.mjs";
|
|
7
7
|
import U from "./index88.mjs";
|
|
8
|
-
import q from "./
|
|
8
|
+
import q from "./index78.mjs";
|
|
9
9
|
import { progressEventReducer as A } from "./index101.mjs";
|
|
10
10
|
import v from "./index102.mjs";
|
|
11
11
|
const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
|
package/dist/index92.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import K from "./index88.mjs";
|
|
2
|
-
import t from "./
|
|
3
|
-
import b from "./
|
|
2
|
+
import t from "./index64.mjs";
|
|
3
|
+
import b from "./index75.mjs";
|
|
4
4
|
import ee from "./index103.mjs";
|
|
5
5
|
import { trackStream as z } from "./index104.mjs";
|
|
6
|
-
import te from "./
|
|
6
|
+
import te from "./index78.mjs";
|
|
7
7
|
import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index101.mjs";
|
|
8
8
|
import se from "./index102.mjs";
|
|
9
9
|
import re from "./index99.mjs";
|
package/dist/index93.mjs
CHANGED
|
@@ -1,15 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import p from "./index74.mjs";
|
|
2
|
+
function i(n) {
|
|
3
|
+
const t = {
|
|
4
|
+
"!": "%21",
|
|
5
|
+
"'": "%27",
|
|
6
|
+
"(": "%28",
|
|
7
|
+
")": "%29",
|
|
8
|
+
"~": "%7E",
|
|
9
|
+
"%20": "+",
|
|
10
|
+
"%00": "\0"
|
|
11
|
+
};
|
|
12
|
+
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
13
|
+
return t[r];
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function a(n, t) {
|
|
17
|
+
this._pairs = [], n && p(n, this, t);
|
|
18
|
+
}
|
|
19
|
+
const c = a.prototype;
|
|
20
|
+
c.append = function(t, o) {
|
|
21
|
+
this._pairs.push([t, o]);
|
|
22
|
+
};
|
|
23
|
+
c.toString = function(t) {
|
|
24
|
+
const o = t ? function(r) {
|
|
25
|
+
return t.call(this, r, i);
|
|
26
|
+
} : i;
|
|
27
|
+
return this._pairs.map(function(e) {
|
|
28
|
+
return o(e[0]) + "=" + o(e[1]);
|
|
29
|
+
}, "").join("&");
|
|
12
30
|
};
|
|
13
31
|
export {
|
|
14
|
-
|
|
32
|
+
a as default
|
|
15
33
|
};
|
package/dist/index94.mjs
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import i from "./index64.mjs";
|
|
2
|
+
import m from "./index68.mjs";
|
|
3
|
+
import s from "./index78.mjs";
|
|
4
|
+
function h(f, t) {
|
|
5
|
+
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
6
|
+
let a = r.data;
|
|
7
|
+
return i.forEach(f, function(e) {
|
|
8
|
+
a = e.call(o, a, n.normalize(), t ? t.status : void 0);
|
|
9
|
+
}), n.normalize(), a;
|
|
10
|
+
}
|
|
3
11
|
export {
|
|
4
|
-
|
|
5
|
-
n as hasStandardBrowserEnv,
|
|
6
|
-
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
-
o as navigator,
|
|
8
|
-
r as origin
|
|
12
|
+
h as default
|
|
9
13
|
};
|
package/dist/index95.mjs
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const t = {
|
|
4
|
-
"!": "%21",
|
|
5
|
-
"'": "%27",
|
|
6
|
-
"(": "%28",
|
|
7
|
-
")": "%29",
|
|
8
|
-
"~": "%7E",
|
|
9
|
-
"%20": "+",
|
|
10
|
-
"%00": "\0"
|
|
11
|
-
};
|
|
12
|
-
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
13
|
-
return t[r];
|
|
14
|
-
});
|
|
1
|
+
function e(t) {
|
|
2
|
+
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
15
3
|
}
|
|
16
|
-
function a(n, t) {
|
|
17
|
-
this._pairs = [], n && p(n, this, t);
|
|
18
|
-
}
|
|
19
|
-
const c = a.prototype;
|
|
20
|
-
c.append = function(t, o) {
|
|
21
|
-
this._pairs.push([t, o]);
|
|
22
|
-
};
|
|
23
|
-
c.toString = function(t) {
|
|
24
|
-
const o = t ? function(r) {
|
|
25
|
-
return t.call(this, r, i);
|
|
26
|
-
} : i;
|
|
27
|
-
return this._pairs.map(function(e) {
|
|
28
|
-
return o(e[0]) + "=" + o(e[1]);
|
|
29
|
-
}, "").join("&");
|
|
30
|
-
};
|
|
31
4
|
export {
|
|
32
|
-
|
|
5
|
+
e as default
|
|
33
6
|
};
|
package/dist/index96.mjs
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import s from "./index76.mjs";
|
|
4
|
-
function h(f, t) {
|
|
5
|
-
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
6
|
-
let a = r.data;
|
|
7
|
-
return i.forEach(f, function(e) {
|
|
8
|
-
a = e.call(o, a, n.normalize(), t ? t.status : void 0);
|
|
9
|
-
}), n.normalize(), a;
|
|
1
|
+
function n(e, c) {
|
|
2
|
+
return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
|
|
10
3
|
}
|
|
11
4
|
export {
|
|
12
|
-
|
|
5
|
+
n as default
|
|
13
6
|
};
|
package/dist/index97.mjs
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import o from "./index105.mjs";
|
|
2
|
+
import r from "./index106.mjs";
|
|
3
|
+
import t from "./index107.mjs";
|
|
4
|
+
const l = {
|
|
5
|
+
isBrowser: !0,
|
|
6
|
+
classes: {
|
|
7
|
+
URLSearchParams: o,
|
|
8
|
+
FormData: r,
|
|
9
|
+
Blob: t
|
|
10
|
+
},
|
|
11
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
12
|
+
};
|
|
4
13
|
export {
|
|
5
|
-
|
|
14
|
+
l as default
|
|
6
15
|
};
|
package/dist/index98.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
|
|
4
3
|
export {
|
|
5
|
-
|
|
4
|
+
e as hasBrowserEnv,
|
|
5
|
+
n as hasStandardBrowserEnv,
|
|
6
|
+
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
+
o as navigator,
|
|
8
|
+
r as origin
|
|
6
9
|
};
|
package/dist/index99.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instockng/storefront-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Pre-built UI components for OMS e-commerce sites",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@tanstack/react-query": "^5.0.0",
|
|
49
|
-
"lucide-react": "^0.
|
|
49
|
+
"lucide-react": "^0.536.0",
|
|
50
50
|
"react": "^18.0.0 || ^19.0.0",
|
|
51
51
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
52
52
|
},
|