bitboss-ui 2.1.96 → 2.1.98
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/README.md +138 -11
- package/dist/index108.js +9 -9
- package/dist/index11.js +18 -18
- package/dist/index115.js +1 -1
- package/dist/index121.js +6 -7
- package/dist/index123.js +13 -13
- package/dist/index131.js +1 -1
- package/dist/index133.js +4 -4
- package/dist/index135.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index14.js +1 -1
- package/dist/index140.js +1 -1
- package/dist/index144.js +1 -1
- package/dist/index145.js +2 -2
- package/dist/index16.js +4 -4
- package/dist/index18.js +3 -3
- package/dist/index20.js +8 -8
- package/dist/index217.js +2 -2
- package/dist/index218.js +2 -2
- package/dist/index219.js +5 -5
- package/dist/index22.js +14 -14
- package/dist/index220.js +5 -8
- package/dist/index221.js +5 -5
- package/dist/index222.js +5 -5
- package/dist/index223.js +3 -5
- package/dist/index224.js +2 -5
- package/dist/index225.js +6 -3
- package/dist/index226.js +8 -2
- package/dist/index227.js +268 -6
- package/dist/index228.js +50 -6
- package/dist/index229.js +44 -260
- package/dist/index230.js +25 -45
- package/dist/index231.js +48 -40
- package/dist/index232.js +12 -31
- package/dist/index233.js +5 -60
- package/dist/index234.js +5 -13
- package/dist/index235.js +5 -4
- package/dist/index236.js +2 -20
- package/dist/index237.js +3 -201
- package/dist/index238.js +22 -0
- package/dist/index239.js +6 -6
- package/dist/index24.js +10 -10
- package/dist/index241.js +86 -33
- package/dist/index243.js +31 -0
- package/dist/index244.js +17 -2
- package/dist/index245.js +51 -2
- package/dist/index246.js +12 -48
- package/dist/index247.js +11 -16
- package/dist/index248.js +16 -106
- package/dist/index249.js +4 -0
- package/dist/index250.js +2 -100
- package/dist/index251.js +5 -0
- package/dist/index252.js +5 -3
- package/dist/index253.js +8 -5
- package/dist/index254.js +33 -5
- package/dist/index255.js +28 -5
- package/dist/index257.js +2 -34
- package/dist/index258.js +188 -86
- package/dist/index259.js +5 -0
- package/dist/index26.js +3 -3
- package/dist/index260.js +11 -27
- package/dist/index261.js +4 -15
- package/dist/index262.js +22 -11
- package/dist/index263.js +12 -15
- package/dist/index264.js +8 -187
- package/dist/index265.js +7 -3
- package/dist/index266.js +3 -9
- package/dist/index267.js +33 -17
- package/dist/index268.js +4 -12
- package/dist/index269.js +201 -4
- package/dist/index271.js +8 -12
- package/dist/index272.js +23 -11
- package/dist/index273.js +33 -5
- package/dist/index274.js +11 -2
- package/dist/index275.js +10 -3
- package/dist/index276.js +3 -4
- package/dist/index277.js +105 -22
- package/dist/index279.js +100 -23
- package/dist/index28.js +1 -1
- package/dist/index281.js +17 -6
- package/dist/index282.js +12 -7
- package/dist/index283.js +4 -33
- package/dist/index284.js +103 -12
- package/dist/index285.js +3 -67
- package/dist/index286.js +67 -10
- package/dist/index287.js +6 -3
- package/dist/index288.js +16 -6
- package/dist/index289.js +2 -16
- package/dist/index290.js +7 -9
- package/dist/index291.js +6 -20
- package/dist/index292.js +11 -0
- package/dist/index293.js +53 -3
- package/dist/index294.js +21 -3
- package/dist/index295.js +5 -3
- package/dist/index296.js +2 -2
- package/dist/index297.js +3 -3
- package/dist/index298.js +17 -3
- package/dist/index299.js +28 -7
- package/dist/index30.js +3 -3
- package/dist/index301.js +3 -280
- package/dist/index302.js +280 -2
- package/dist/index303.js +2 -16
- package/dist/index304.js +16 -2
- package/dist/index305.js +2 -16
- package/dist/index306.js +16 -2
- package/dist/index307.js +2 -27
- package/dist/index308.js +27 -2
- package/dist/index309.js +2 -2
- package/dist/index310.js +1 -1
- package/dist/index311.js +1 -1
- package/dist/index312.js +1 -1
- package/dist/index313.js +2 -28
- package/dist/index314.js +1 -1
- package/dist/index315.js +1 -1
- package/dist/index316.js +125 -3
- package/dist/index317.js +2 -17
- package/dist/index318.js +15 -2
- package/dist/index319.js +2 -3
- package/dist/index32.js +2 -2
- package/dist/index320.js +16 -122
- package/dist/index321.js +2 -2
- package/dist/index322.js +2 -15
- package/dist/index323.js +5 -2
- package/dist/index324.js +3 -19
- package/dist/index325.js +2 -2
- package/dist/index326.js +3 -4
- package/dist/index327.js +3 -2
- package/dist/index328.js +5 -2
- package/dist/index329.js +719 -5
- package/dist/index330.js +366 -5
- package/dist/index331.js +57 -719
- package/dist/index332.js +2 -366
- package/dist/index333.js +4 -57
- package/dist/index334.js +3 -7
- package/dist/index335.js +5 -5
- package/dist/index336.js +7 -8
- package/dist/index337.js +5 -35
- package/dist/index338.js +35 -6
- package/dist/index339.js +6 -129
- package/dist/index34.js +8 -8
- package/dist/index340.js +113 -382
- package/dist/index341.js +396 -56
- package/dist/index342.js +33 -33
- package/dist/index343.js +58 -6
- package/dist/index344.js +6 -3
- package/dist/index345.js +19 -5
- package/dist/index346.js +8 -6
- package/dist/index347.js +13 -17
- package/dist/index348.js +7 -8
- package/dist/index349.js +5 -14
- package/dist/index350.js +8 -7
- package/dist/index351.js +89 -130
- package/dist/index354.js +226 -191
- package/dist/index355.js +133 -257
- package/dist/index356.js +191 -91
- package/dist/index357.js +256 -226
- package/dist/index358.js +1 -1
- package/dist/index359.js +1 -1
- package/dist/index36.js +4 -4
- package/dist/index363.js +1 -1
- package/dist/index38.js +19 -19
- package/dist/index40.js +7 -7
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +6 -6
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index81.js +5 -5
- package/dist/index83.js +1 -1
- package/dist/index85.js +2 -2
- package/dist/index87.js +3 -3
- package/dist/index89.js +1 -1
- package/dist/index92.js +3 -3
- package/dist/index94.js +2 -2
- package/dist/index96.js +4 -4
- package/dist/index98.js +1 -1
- package/package.json +13 -2
- package/dist/index242.js +0 -30
- package/dist/index256.js +0 -4
- package/dist/index270.js +0 -106
- package/dist/index278.js +0 -11
- package/dist/index280.js +0 -4
- package/dist/index300.js +0 -55
package/dist/index347.js
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
for (let n = 0; n < e.length; n++) {
|
|
9
|
-
const i = e[n], s = r(f[i], u[i]);
|
|
10
|
-
if (s) return s;
|
|
11
|
-
}
|
|
12
|
-
return 0;
|
|
13
|
-
});
|
|
14
|
-
throw new Error("Invalid comparison");
|
|
1
|
+
import f from "./index219.js";
|
|
2
|
+
import { toOuterValue as i } from "./index346.js";
|
|
3
|
+
function Y(m, e) {
|
|
4
|
+
let r = !0;
|
|
5
|
+
if (e.min) {
|
|
6
|
+
const a = f(e.min, "YYYY-MM-DD");
|
|
7
|
+
r &&= m.isSameOrAfter(a);
|
|
15
8
|
}
|
|
16
|
-
|
|
9
|
+
if (e.max) {
|
|
10
|
+
const a = f(e.max, "YYYY-MM-DD");
|
|
11
|
+
r &&= m.isSameOrBefore(a);
|
|
12
|
+
}
|
|
13
|
+
return typeof e.selectable == "function" && (r &&= e.selectable(i(m, e.floating))), !r;
|
|
17
14
|
}
|
|
18
|
-
const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
|
|
19
15
|
export {
|
|
20
|
-
|
|
16
|
+
Y as isDateDisabled
|
|
21
17
|
};
|
package/dist/index348.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return
|
|
1
|
+
function i(t) {
|
|
2
|
+
if (t = t.replace(/^#/, ""), !/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(t))
|
|
3
|
+
throw new Error("Invalid hex code");
|
|
4
|
+
t.length === 3 && (t = t.split("").map((n) => n + n).join(""));
|
|
5
|
+
const r = parseInt(t.slice(0, 2), 16), s = parseInt(t.slice(2, 4), 16), o = parseInt(t.slice(4, 6), 16);
|
|
6
|
+
return [r, s, o];
|
|
7
7
|
}
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
Y as toOuterValue
|
|
9
|
+
i as hexToRgb
|
|
11
10
|
};
|
package/dist/index349.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (e.min) {
|
|
6
|
-
const a = f(e.min, "YYYY-MM-DD");
|
|
7
|
-
r &&= m.isSameOrAfter(a);
|
|
8
|
-
}
|
|
9
|
-
if (e.max) {
|
|
10
|
-
const a = f(e.max, "YYYY-MM-DD");
|
|
11
|
-
r &&= m.isSameOrBefore(a);
|
|
12
|
-
}
|
|
13
|
-
return typeof e.selectable == "function" && (r &&= e.selectable(i(m, e.floating))), !r;
|
|
1
|
+
function l(c, f, r) {
|
|
2
|
+
const t = c / 255, n = f / 255, o = r / 255, i = Math.max(t, n, o), a = Math.min(t, n, o), s = i - a;
|
|
3
|
+
let e = 0;
|
|
4
|
+
return s !== 0 && (i === t ? e = (n - o) / s % 6 : i === n ? e = (o - t) / s + 2 : i === o && (e = (t - n) / s + 4), e *= 60, e < 0 && (e += 360)), e;
|
|
14
5
|
}
|
|
15
6
|
export {
|
|
16
|
-
|
|
7
|
+
l as getHueFromRGB
|
|
17
8
|
};
|
package/dist/index350.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
const i = (r, s, a) => {
|
|
2
|
+
const t = a / 100, c = s * Math.min(t, 1 - t) / 100, n = (h) => {
|
|
3
|
+
const o = (h + r / 30) % 12, e = t - c * Math.max(Math.min(o - 3, 9 - o, 1), -1);
|
|
4
|
+
return Math.round(255 * e).toString(16).padStart(2, "0");
|
|
5
|
+
};
|
|
6
|
+
return `#${n(0)}${n(8)}${n(4)}`;
|
|
7
|
+
};
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
+
i as hslToHex
|
|
9
10
|
};
|
package/dist/index351.js
CHANGED
|
@@ -1,136 +1,95 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
function m(t) {
|
|
19
|
-
return c() ? t instanceof Element || t instanceof i(t).Element : !1;
|
|
20
|
-
}
|
|
21
|
-
function w(t) {
|
|
22
|
-
return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
|
|
23
|
-
}
|
|
24
|
-
function f(t) {
|
|
25
|
-
return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
|
|
26
|
-
}
|
|
27
|
-
const E = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
28
|
-
function y(t) {
|
|
29
|
-
const {
|
|
30
|
-
overflow: e,
|
|
31
|
-
overflowX: n,
|
|
32
|
-
overflowY: o,
|
|
33
|
-
display: r
|
|
34
|
-
} = S(t);
|
|
35
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
|
|
36
|
-
}
|
|
37
|
-
const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
38
|
-
function A(t) {
|
|
39
|
-
return T.has(u(t));
|
|
40
|
-
}
|
|
41
|
-
const v = [":popover-open", ":modal"];
|
|
42
|
-
function L(t) {
|
|
43
|
-
return v.some((e) => {
|
|
44
|
-
try {
|
|
45
|
-
return t.matches(e);
|
|
46
|
-
} catch {
|
|
47
|
-
return !1;
|
|
1
|
+
import { commonjsGlobal as y } from "./index335.js";
|
|
2
|
+
var p, _;
|
|
3
|
+
function Z() {
|
|
4
|
+
if (_) return p;
|
|
5
|
+
_ = 1;
|
|
6
|
+
var x = "Expected a function", I = NaN, W = "[object Symbol]", C = /^\s+|\s+$/g, M = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, R = /^0o[0-7]+$/i, $ = parseInt, q = typeof y == "object" && y && y.Object === Object && y, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, h = function() {
|
|
7
|
+
return B.Date.now();
|
|
8
|
+
};
|
|
9
|
+
function H(e, r, n) {
|
|
10
|
+
var f, a, g, c, i, u, s = 0, S = !1, d = !1, j = !0;
|
|
11
|
+
if (typeof e != "function")
|
|
12
|
+
throw new TypeError(x);
|
|
13
|
+
r = O(r) || 0, m(n) && (S = !!n.leading, d = "maxWait" in n, g = d ? P(O(n.maxWait) || 0, r) : g, j = "trailing" in n ? !!n.trailing : j);
|
|
14
|
+
function v(t) {
|
|
15
|
+
var o = f, l = a;
|
|
16
|
+
return f = a = void 0, s = t, c = e.apply(l, o), c;
|
|
48
17
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
function
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
18
|
+
function J(t) {
|
|
19
|
+
return s = t, i = setTimeout(b, r), S ? v(t) : c;
|
|
20
|
+
}
|
|
21
|
+
function K(t) {
|
|
22
|
+
var o = t - u, l = t - s, L = r - o;
|
|
23
|
+
return d ? D(L, g - l) : L;
|
|
24
|
+
}
|
|
25
|
+
function E(t) {
|
|
26
|
+
var o = t - u, l = t - s;
|
|
27
|
+
return u === void 0 || o >= r || o < 0 || d && l >= g;
|
|
28
|
+
}
|
|
29
|
+
function b() {
|
|
30
|
+
var t = h();
|
|
31
|
+
if (E(t))
|
|
32
|
+
return k(t);
|
|
33
|
+
i = setTimeout(b, K(t));
|
|
34
|
+
}
|
|
35
|
+
function k(t) {
|
|
36
|
+
return i = void 0, j && f ? v(t) : (f = a = void 0, c);
|
|
37
|
+
}
|
|
38
|
+
function Q() {
|
|
39
|
+
i !== void 0 && clearTimeout(i), s = 0, f = u = a = i = void 0;
|
|
40
|
+
}
|
|
41
|
+
function V() {
|
|
42
|
+
return i === void 0 ? c : k(h());
|
|
43
|
+
}
|
|
44
|
+
function T() {
|
|
45
|
+
var t = h(), o = E(t);
|
|
46
|
+
if (f = arguments, a = this, u = t, o) {
|
|
47
|
+
if (i === void 0)
|
|
48
|
+
return J(u);
|
|
49
|
+
if (d)
|
|
50
|
+
return i = setTimeout(b, r), v(u);
|
|
51
|
+
}
|
|
52
|
+
return i === void 0 && (i = setTimeout(b, r)), c;
|
|
53
|
+
}
|
|
54
|
+
return T.cancel = Q, T.flush = V, T;
|
|
64
55
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
function S(t) {
|
|
75
|
-
return i(t).getComputedStyle(t);
|
|
76
|
-
}
|
|
77
|
-
function F(t) {
|
|
78
|
-
return m(t) ? {
|
|
79
|
-
scrollLeft: t.scrollLeft,
|
|
80
|
-
scrollTop: t.scrollTop
|
|
81
|
-
} : {
|
|
82
|
-
scrollLeft: t.scrollX,
|
|
83
|
-
scrollTop: t.scrollY
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
function s(t) {
|
|
87
|
-
if (u(t) === "html")
|
|
88
|
-
return t;
|
|
89
|
-
const e = (
|
|
90
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
91
|
-
t.assignedSlot || // DOM Element detected.
|
|
92
|
-
t.parentNode || // ShadowRoot detected.
|
|
93
|
-
f(t) && t.host || // Fallback.
|
|
94
|
-
N(t)
|
|
95
|
-
);
|
|
96
|
-
return f(e) ? e.host : e;
|
|
97
|
-
}
|
|
98
|
-
function b(t) {
|
|
99
|
-
const e = s(t);
|
|
100
|
-
return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
|
|
101
|
-
}
|
|
102
|
-
function d(t, e, n) {
|
|
103
|
-
var o;
|
|
104
|
-
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
105
|
-
const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
|
|
106
|
-
if (g) {
|
|
107
|
-
const a = _(l);
|
|
108
|
-
return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
|
|
56
|
+
function U(e, r, n) {
|
|
57
|
+
var f = !0, a = !0;
|
|
58
|
+
if (typeof e != "function")
|
|
59
|
+
throw new TypeError(x);
|
|
60
|
+
return m(n) && (f = "leading" in n ? !!n.leading : f, a = "trailing" in n ? !!n.trailing : a), H(e, r, {
|
|
61
|
+
leading: f,
|
|
62
|
+
maxWait: r,
|
|
63
|
+
trailing: a
|
|
64
|
+
});
|
|
109
65
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
66
|
+
function m(e) {
|
|
67
|
+
var r = typeof e;
|
|
68
|
+
return !!e && (r == "object" || r == "function");
|
|
69
|
+
}
|
|
70
|
+
function X(e) {
|
|
71
|
+
return !!e && typeof e == "object";
|
|
72
|
+
}
|
|
73
|
+
function z(e) {
|
|
74
|
+
return typeof e == "symbol" || X(e) && G.call(e) == W;
|
|
75
|
+
}
|
|
76
|
+
function O(e) {
|
|
77
|
+
if (typeof e == "number")
|
|
78
|
+
return e;
|
|
79
|
+
if (z(e))
|
|
80
|
+
return I;
|
|
81
|
+
if (m(e)) {
|
|
82
|
+
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
83
|
+
e = m(r) ? r + "" : r;
|
|
84
|
+
}
|
|
85
|
+
if (typeof e != "string")
|
|
86
|
+
return e === 0 ? e : +e;
|
|
87
|
+
e = e.replace(C, "");
|
|
88
|
+
var n = N.test(e);
|
|
89
|
+
return n || R.test(e) ? $(e.slice(2), n ? 2 : 8) : M.test(e) ? I : +e;
|
|
90
|
+
}
|
|
91
|
+
return p = U, p;
|
|
114
92
|
}
|
|
115
93
|
export {
|
|
116
|
-
|
|
117
|
-
B as getContainingBlock,
|
|
118
|
-
N as getDocumentElement,
|
|
119
|
-
_ as getFrameElement,
|
|
120
|
-
b as getNearestOverflowAncestor,
|
|
121
|
-
u as getNodeName,
|
|
122
|
-
F as getNodeScroll,
|
|
123
|
-
d as getOverflowAncestors,
|
|
124
|
-
s as getParentNode,
|
|
125
|
-
i as getWindow,
|
|
126
|
-
V as isContainingBlock,
|
|
127
|
-
m as isElement,
|
|
128
|
-
w as isHTMLElement,
|
|
129
|
-
h as isLastTraversableNode,
|
|
130
|
-
p as isNode,
|
|
131
|
-
y as isOverflowElement,
|
|
132
|
-
f as isShadowRoot,
|
|
133
|
-
A as isTableElement,
|
|
134
|
-
L as isTopLayer,
|
|
135
|
-
O as isWebKit
|
|
94
|
+
Z as __require
|
|
136
95
|
};
|