bitboss-ui 0.2.64 → 0.2.66
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.js +3 -3
- package/dist/index103.js +2 -2
- package/dist/index109.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index111.js +4 -4
- package/dist/index113.js +1 -1
- package/dist/index116.js +12 -12
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index119.js +1 -1
- package/dist/index121.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index131.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +9 -9
- package/dist/index19.js +3 -3
- package/dist/index196.js +235 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +10 -2
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +2 -4
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +4 -368
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -134
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +16 -5
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +15 -18
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +19 -2
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +20 -2
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +27 -172
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +8 -23
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +2 -373
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +2 -3
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +3 -35
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.js +3 -6
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +121 -3
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +2 -3
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -16
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +366 -14
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +371 -18
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +2 -29
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +2 -8
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +133 -234
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +172 -8
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +23 -121
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +3 -2
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +35 -2
- package/dist/index222.js.map +1 -1
- package/dist/index224.js +79 -6
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +6 -17
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +17 -4
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +2 -6
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +160 -2
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +1 -297
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +69 -2
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +5 -2
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +2 -117
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +4 -106
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +291 -431
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +5 -88
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -224
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +2 -258
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +2 -79
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +2 -5
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +2 -200
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +2 -160
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +226 -1
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +257 -68
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +15 -2
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +106 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -2
- package/dist/index247.js +117 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +435 -2
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +89 -2
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +2 -2
- package/dist/index250.js +200 -15
- package/dist/index250.js.map +1 -1
- package/dist/index254.js +2 -3
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +3 -2
- package/dist/index255.js.map +1 -1
- package/dist/index29.js +3 -3
- package/dist/index31.js +9 -9
- package/dist/index31.js.map +1 -1
- package/dist/index33.js +2 -2
- package/dist/index35.js +2 -2
- package/dist/index47.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index65.js +4 -4
- package/dist/index69.js +2 -2
- package/dist/index72.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index77.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index81.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index233.js
CHANGED
|
@@ -1,109 +1,7 @@
|
|
|
1
|
-
function
|
|
2
|
-
return
|
|
3
|
-
}
|
|
4
|
-
function i(n) {
|
|
5
|
-
var t;
|
|
6
|
-
return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
7
|
-
}
|
|
8
|
-
function y(n) {
|
|
9
|
-
var t;
|
|
10
|
-
return (t = (a(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
|
|
11
|
-
}
|
|
12
|
-
function a(n) {
|
|
13
|
-
return n instanceof Node || n instanceof i(n).Node;
|
|
14
|
-
}
|
|
15
|
-
function S(n) {
|
|
16
|
-
return n instanceof Element || n instanceof i(n).Element;
|
|
17
|
-
}
|
|
18
|
-
function d(n) {
|
|
19
|
-
return n instanceof HTMLElement || n instanceof i(n).HTMLElement;
|
|
20
|
-
}
|
|
21
|
-
function s(n) {
|
|
22
|
-
return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
|
|
23
|
-
}
|
|
24
|
-
function m(n) {
|
|
25
|
-
const {
|
|
26
|
-
overflow: t,
|
|
27
|
-
overflowX: e,
|
|
28
|
-
overflowY: o,
|
|
29
|
-
display: r
|
|
30
|
-
} = p(n);
|
|
31
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
|
|
32
|
-
}
|
|
33
|
-
function E(n) {
|
|
34
|
-
return ["table", "td", "th"].includes(l(n));
|
|
35
|
-
}
|
|
36
|
-
function N(n) {
|
|
37
|
-
const t = h(), e = p(n);
|
|
38
|
-
return e.transform !== "none" || e.perspective !== "none" || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
|
|
39
|
-
}
|
|
40
|
-
function T(n) {
|
|
41
|
-
let t = u(n);
|
|
42
|
-
for (; d(t) && !w(t); ) {
|
|
43
|
-
if (N(t))
|
|
44
|
-
return t;
|
|
45
|
-
t = u(t);
|
|
46
|
-
}
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
function h() {
|
|
50
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
51
|
-
}
|
|
52
|
-
function w(n) {
|
|
53
|
-
return ["html", "body", "#document"].includes(l(n));
|
|
54
|
-
}
|
|
55
|
-
function p(n) {
|
|
56
|
-
return i(n).getComputedStyle(n);
|
|
57
|
-
}
|
|
58
|
-
function C(n) {
|
|
59
|
-
return S(n) ? {
|
|
60
|
-
scrollLeft: n.scrollLeft,
|
|
61
|
-
scrollTop: n.scrollTop
|
|
62
|
-
} : {
|
|
63
|
-
scrollLeft: n.pageXOffset,
|
|
64
|
-
scrollTop: n.pageYOffset
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function u(n) {
|
|
68
|
-
if (l(n) === "html")
|
|
69
|
-
return n;
|
|
70
|
-
const t = (
|
|
71
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
72
|
-
n.assignedSlot || // DOM Element detected.
|
|
73
|
-
n.parentNode || // ShadowRoot detected.
|
|
74
|
-
s(n) && n.host || // Fallback.
|
|
75
|
-
y(n)
|
|
76
|
-
);
|
|
77
|
-
return s(t) ? t.host : t;
|
|
78
|
-
}
|
|
79
|
-
function g(n) {
|
|
80
|
-
const t = u(n);
|
|
81
|
-
return w(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : d(t) && m(t) ? t : g(t);
|
|
82
|
-
}
|
|
83
|
-
function f(n, t, e) {
|
|
84
|
-
var o;
|
|
85
|
-
t === void 0 && (t = []), e === void 0 && (e = !0);
|
|
86
|
-
const r = g(n), b = r === ((o = n.ownerDocument) == null ? void 0 : o.body), c = i(r);
|
|
87
|
-
return b ? t.concat(c, c.visualViewport || [], m(r) ? r : [], c.frameElement && e ? f(c.frameElement) : []) : t.concat(r, f(r, [], e));
|
|
88
|
-
}
|
|
1
|
+
const e = function(t) {
|
|
2
|
+
return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
|
|
3
|
+
};
|
|
89
4
|
export {
|
|
90
|
-
|
|
91
|
-
T as getContainingBlock,
|
|
92
|
-
y as getDocumentElement,
|
|
93
|
-
g as getNearestOverflowAncestor,
|
|
94
|
-
l as getNodeName,
|
|
95
|
-
C as getNodeScroll,
|
|
96
|
-
f as getOverflowAncestors,
|
|
97
|
-
u as getParentNode,
|
|
98
|
-
i as getWindow,
|
|
99
|
-
N as isContainingBlock,
|
|
100
|
-
S as isElement,
|
|
101
|
-
d as isHTMLElement,
|
|
102
|
-
w as isLastTraversableNode,
|
|
103
|
-
a as isNode,
|
|
104
|
-
m as isOverflowElement,
|
|
105
|
-
s as isShadowRoot,
|
|
106
|
-
E as isTableElement,
|
|
107
|
-
h as isWebKit
|
|
5
|
+
e as curry
|
|
108
6
|
};
|
|
109
7
|
//# sourceMappingURL=index233.js.map
|
package/dist/index233.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index233.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index233.js","sources":["../src/utilities/functions/curry.ts"],"sourcesContent":["export type Curried<A extends any[], R> = <P extends Partial<A>>(\n\t...args: P\n) => P extends A\n\t? R\n\t: A extends [...SameLength<P>, ...infer S]\n\t\t? S extends any[]\n\t\t\t? Curried<S, R>\n\t\t\t: never\n\t\t: never;\n\ntype SameLength<T extends any[]> = Extract<{ [K in keyof T]: any }, any[]>;\n\nexport const curry = function <A extends any[], R>(\n\tfn: (...args: A) => R\n): Curried<A, R> {\n\treturn (...args: any[]): any =>\n\t\targs.length >= fn.length\n\t\t\t? fn(...(args as any))\n\t\t\t: curry((fn as any).bind(undefined, ...args));\n};\n"],"names":["curry","fn","args"],"mappings":"AAYa,MAAAA,IAAQ,SACpBC,GACgB;AAChB,SAAO,IAAIC,MACVA,EAAK,UAAUD,EAAG,SACfA,EAAG,GAAIC,CAAY,IACnBF,EAAOC,EAAW,KAAK,QAAW,GAAGC,CAAI,CAAC;AAC/C;"}
|