bitboss-ui 2.1.91 → 2.1.92
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/index107.js +9 -9
- package/dist/index114.js +1 -1
- package/dist/index120.js +1 -1
- package/dist/index122.js +12 -12
- package/dist/index13.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index132.js +5 -5
- package/dist/index134.js +1 -1
- package/dist/index136.js +2 -2
- package/dist/index141.js +2 -2
- package/dist/index142.js +1 -1
- package/dist/index143.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +14 -14
- package/dist/index215.js +138 -2
- package/dist/index216.js +2 -138
- package/dist/index217.js +32 -4
- package/dist/index218.js +28 -8
- package/dist/index220.js +5 -5
- package/dist/index221.js +8 -5
- package/dist/index222.js +2 -5
- package/dist/index223.js +51 -3
- package/dist/index224.js +17 -2
- package/dist/index225.js +106 -6
- package/dist/index227.js +95 -263
- package/dist/index229.js +3 -52
- package/dist/index23.js +11 -11
- package/dist/index230.js +12 -31
- package/dist/index231.js +12 -59
- package/dist/index232.js +13 -13
- package/dist/index233.js +3 -4
- package/dist/index234.js +8 -19
- package/dist/index235.js +185 -198
- package/dist/index236.js +5 -0
- package/dist/index237.js +3 -135
- package/dist/index238.js +20 -0
- package/dist/index239.js +11 -9
- package/dist/index240.js +14 -2
- package/dist/index241.js +12 -4
- package/dist/index242.js +29 -3
- package/dist/index243.js +16 -86
- package/dist/index244.js +6 -0
- package/dist/index245.js +134 -28
- package/dist/index247.js +228 -50
- package/dist/index248.js +2 -15
- package/dist/index249.js +86 -12
- package/dist/index25.js +3 -3
- package/dist/index251.js +2 -34
- package/dist/index252.js +3 -9
- package/dist/index253.js +8 -11
- package/dist/index254.js +2 -22
- package/dist/index255.js +4 -9
- package/dist/index256.js +5 -23
- package/dist/index257.js +5 -2
- package/dist/index258.js +5 -2
- package/dist/index259.js +5 -4
- package/dist/index260.js +6 -9
- package/dist/index261.js +7 -52
- package/dist/index262.js +268 -2
- package/dist/index263.js +52 -2
- package/dist/index264.js +52 -9
- package/dist/index265.js +32 -33
- package/dist/index266.js +57 -25
- package/dist/index267.js +7 -0
- package/dist/index268.js +5 -11
- package/dist/index269.js +5 -5
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -3
- package/dist/index271.js +20 -6
- package/dist/index272.js +7 -16
- package/dist/index273.js +2 -106
- package/dist/index274.js +36 -0
- package/dist/index275.js +9 -100
- package/dist/index276.js +5 -0
- package/dist/index277.js +5 -3
- package/dist/index278.js +4 -13
- package/dist/index279.js +201 -5
- package/dist/index281.js +9 -5
- package/dist/index282.js +23 -3
- package/dist/index283.js +23 -8
- package/dist/index284.js +6 -7
- package/dist/index285.js +15 -187
- package/dist/index286.js +11 -3
- package/dist/index29.js +2 -2
- package/dist/index290.js +7 -65
- package/dist/index291.js +8 -18
- package/dist/index292.js +67 -12
- package/dist/index293.js +51 -227
- package/dist/index295.js +1 -1
- package/dist/index296.js +7 -3
- package/dist/index297.js +3 -17
- package/dist/index298.js +3 -28
- package/dist/index299.js +17 -3
- package/dist/index300.js +4 -3
- package/dist/index301.js +5 -7
- package/dist/index302.js +3 -280
- package/dist/index303.js +28 -2
- package/dist/index304.js +3 -16
- package/dist/index305.js +2 -2
- package/dist/index306.js +277 -13
- package/dist/index307.js +2 -2
- package/dist/index308.js +12 -23
- package/dist/index31.js +2 -2
- package/dist/index310.js +16 -2
- package/dist/index311.js +2 -2
- package/dist/index312.js +27 -2
- package/dist/index313.js +2 -2
- package/dist/index314.js +1 -1
- package/dist/index315.js +1 -1
- package/dist/index316.js +2 -4
- package/dist/index317.js +2 -5
- package/dist/index318.js +2 -719
- package/dist/index319.js +2 -366
- package/dist/index320.js +5 -57
- package/dist/index321.js +1 -1
- package/dist/index322.js +125 -3
- package/dist/index323.js +2 -4
- package/dist/index324.js +14 -5
- package/dist/index325.js +2 -5
- package/dist/index326.js +16 -122
- package/dist/index327.js +2 -2
- package/dist/index328.js +719 -15
- package/dist/index329.js +366 -2
- package/dist/index33.js +8 -8
- package/dist/index330.js +55 -17
- package/dist/index331.js +2 -2
- package/dist/index332.js +58 -2
- package/dist/index333.js +58 -8
- package/dist/index334.js +227 -5
- package/dist/index335.js +6 -8
- package/dist/index336.js +35 -5
- package/dist/index337.js +6 -7
- package/dist/index338.js +125 -31
- package/dist/index339.js +398 -6
- package/dist/index340.js +44 -126
- package/dist/index341.js +3 -397
- package/dist/index344.js +1 -1
- package/dist/index345.js +1 -1
- package/dist/index346.js +5 -58
- package/dist/index347.js +7 -58
- package/dist/index348.js +8 -22
- package/dist/index349.js +8 -0
- package/dist/index35.js +4 -4
- package/dist/index350.js +8 -2
- package/dist/index351.js +86 -221
- package/dist/index353.js +512 -85
- package/dist/index354.js +21 -440
- package/dist/index356.js +437 -43
- package/dist/index357.js +124 -516
- package/dist/index37.js +18 -18
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +5 -5
- package/dist/index67.js +1 -1
- package/dist/index80.js +6 -6
- package/dist/index82.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +17 -17
- package/dist/index88.js +1 -1
- package/dist/index91.js +3 -3
- package/dist/index93.js +2 -2
- package/dist/index95.js +5 -5
- package/package.json +2 -2
- package/dist/index219.js +0 -7
- package/dist/index226.js +0 -10
- package/dist/index228.js +0 -54
- package/dist/index246.js +0 -19
- package/dist/index250.js +0 -18
- package/dist/index280.js +0 -7
- package/dist/index355.js +0 -130
package/dist/index355.js
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
const j = ["top", "right", "bottom", "left"], m = Math.min, p = Math.max, C = Math.round, L = Math.floor, E = (t) => ({
|
|
2
|
-
x: t,
|
|
3
|
-
y: t
|
|
4
|
-
}), h = {
|
|
5
|
-
left: "right",
|
|
6
|
-
right: "left",
|
|
7
|
-
bottom: "top",
|
|
8
|
-
top: "bottom"
|
|
9
|
-
}, x = {
|
|
10
|
-
start: "end",
|
|
11
|
-
end: "start"
|
|
12
|
-
};
|
|
13
|
-
function R(t, e, n) {
|
|
14
|
-
return p(t, m(e, n));
|
|
15
|
-
}
|
|
16
|
-
function T(t, e) {
|
|
17
|
-
return typeof t == "function" ? t(e) : t;
|
|
18
|
-
}
|
|
19
|
-
function g(t) {
|
|
20
|
-
return t.split("-")[0];
|
|
21
|
-
}
|
|
22
|
-
function a(t) {
|
|
23
|
-
return t.split("-")[1];
|
|
24
|
-
}
|
|
25
|
-
function b(t) {
|
|
26
|
-
return t === "x" ? "y" : "x";
|
|
27
|
-
}
|
|
28
|
-
function d(t) {
|
|
29
|
-
return t === "y" ? "height" : "width";
|
|
30
|
-
}
|
|
31
|
-
const A = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
32
|
-
function P(t) {
|
|
33
|
-
return A.has(g(t)) ? "y" : "x";
|
|
34
|
-
}
|
|
35
|
-
function y(t) {
|
|
36
|
-
return b(P(t));
|
|
37
|
-
}
|
|
38
|
-
function k(t, e, n) {
|
|
39
|
-
n === void 0 && (n = !1);
|
|
40
|
-
const r = a(t), i = y(t), o = d(i);
|
|
41
|
-
let c = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
42
|
-
return e.reference[o] > e.floating[o] && (c = f(c)), [c, f(c)];
|
|
43
|
-
}
|
|
44
|
-
function q(t) {
|
|
45
|
-
const e = f(t);
|
|
46
|
-
return [s(t), e, s(e)];
|
|
47
|
-
}
|
|
48
|
-
function s(t) {
|
|
49
|
-
return t.replace(/start|end/g, (e) => x[e]);
|
|
50
|
-
}
|
|
51
|
-
const u = ["left", "right"], l = ["right", "left"], M = ["top", "bottom"], O = ["bottom", "top"];
|
|
52
|
-
function S(t, e, n) {
|
|
53
|
-
switch (t) {
|
|
54
|
-
case "top":
|
|
55
|
-
case "bottom":
|
|
56
|
-
return n ? e ? l : u : e ? u : l;
|
|
57
|
-
case "left":
|
|
58
|
-
case "right":
|
|
59
|
-
return e ? M : O;
|
|
60
|
-
default:
|
|
61
|
-
return [];
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function z(t, e, n, r) {
|
|
65
|
-
const i = a(t);
|
|
66
|
-
let o = S(g(t), n === "start", r);
|
|
67
|
-
return i && (o = o.map((c) => c + "-" + i), e && (o = o.concat(o.map(s)))), o;
|
|
68
|
-
}
|
|
69
|
-
function f(t) {
|
|
70
|
-
return t.replace(/left|right|bottom|top/g, (e) => h[e]);
|
|
71
|
-
}
|
|
72
|
-
function w(t) {
|
|
73
|
-
return {
|
|
74
|
-
top: 0,
|
|
75
|
-
right: 0,
|
|
76
|
-
bottom: 0,
|
|
77
|
-
left: 0,
|
|
78
|
-
...t
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function B(t) {
|
|
82
|
-
return typeof t != "number" ? w(t) : {
|
|
83
|
-
top: t,
|
|
84
|
-
right: t,
|
|
85
|
-
bottom: t,
|
|
86
|
-
left: t
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
function D(t) {
|
|
90
|
-
const {
|
|
91
|
-
x: e,
|
|
92
|
-
y: n,
|
|
93
|
-
width: r,
|
|
94
|
-
height: i
|
|
95
|
-
} = t;
|
|
96
|
-
return {
|
|
97
|
-
width: r,
|
|
98
|
-
height: i,
|
|
99
|
-
top: n,
|
|
100
|
-
left: e,
|
|
101
|
-
right: e + r,
|
|
102
|
-
bottom: n + i,
|
|
103
|
-
x: e,
|
|
104
|
-
y: n
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
export {
|
|
108
|
-
R as clamp,
|
|
109
|
-
E as createCoords,
|
|
110
|
-
T as evaluate,
|
|
111
|
-
w as expandPaddingObject,
|
|
112
|
-
L as floor,
|
|
113
|
-
a as getAlignment,
|
|
114
|
-
y as getAlignmentAxis,
|
|
115
|
-
k as getAlignmentSides,
|
|
116
|
-
d as getAxisLength,
|
|
117
|
-
q as getExpandedPlacements,
|
|
118
|
-
s as getOppositeAlignmentPlacement,
|
|
119
|
-
b as getOppositeAxis,
|
|
120
|
-
z as getOppositeAxisPlacements,
|
|
121
|
-
f as getOppositePlacement,
|
|
122
|
-
B as getPaddingObject,
|
|
123
|
-
g as getSide,
|
|
124
|
-
P as getSideAxis,
|
|
125
|
-
p as max,
|
|
126
|
-
m as min,
|
|
127
|
-
D as rectToClientRect,
|
|
128
|
-
C as round,
|
|
129
|
-
j as sides
|
|
130
|
-
};
|