bitboss-ui 2.0.56 → 2.0.58
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/index108.js +53 -53
- package/dist/index110.js +5 -5
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index132.js +201 -178
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +81 -2
- package/dist/index205.js +2 -116
- package/dist/index206.js +2 -3
- package/dist/index207.js +4 -41
- package/dist/index208.js +2 -6
- package/dist/index209.js +162 -7
- package/dist/index21.js +13 -13
- package/dist/index210.js +82 -6
- package/dist/index212.js +5 -281
- package/dist/index213.js +13 -122
- package/dist/index214.js +15 -18
- package/dist/index215.js +18 -15
- package/dist/index216.js +16 -13
- package/dist/index217.js +27 -2
- package/dist/index218.js +3 -2
- package/dist/index219.js +2 -20
- package/dist/index220.js +6 -51
- package/dist/index221.js +251 -0
- package/dist/index222.js +52 -13
- package/dist/index223.js +44 -5
- package/dist/index224.js +5 -369
- package/dist/index225.js +49 -2
- package/dist/index226.js +53 -4
- package/dist/index228.js +13 -162
- package/dist/index229.js +19 -83
- package/dist/index23.js +14 -14
- package/dist/index230.js +6 -0
- package/dist/index231.js +1 -1
- package/dist/index232.js +125 -3
- package/dist/index233.js +122 -16
- package/dist/index234.js +2 -27
- package/dist/index235.js +41 -3
- package/dist/index236.js +5 -248
- package/dist/index237.js +5 -52
- package/dist/index238.js +369 -44
- package/dist/index239.js +3 -5
- package/dist/index240.js +7 -49
- package/dist/index244.js +1 -1
- package/dist/index246.js +1 -1
- package/dist/index25.js +5 -5
- package/dist/index250.js +3 -6
- package/dist/index251.js +12 -16
- package/dist/index252.js +9 -3
- package/dist/index253.js +8 -8
- package/dist/index254.js +17 -23
- package/dist/index255.js +3 -8
- package/dist/index256.js +3 -430
- package/dist/index257.js +280 -88
- package/dist/index258.js +6 -200
- package/dist/index259.js +2 -6
- package/dist/index260.js +2 -2
- package/dist/index261.js +2 -2
- package/dist/index265.js +2 -126
- package/dist/index266.js +2 -176
- package/dist/index267.js +2 -3
- package/dist/index268.js +4 -0
- package/dist/index269.js +28 -7
- package/dist/index270.js +6 -6
- package/dist/index272.js +6 -3
- package/dist/index273.js +1 -1
- package/dist/index275.js +3 -9
- package/dist/index276.js +8 -8
- package/dist/index277.js +23 -17
- package/dist/index278.js +6 -4
- package/dist/index279.js +16 -224
- package/dist/index280.js +167 -427
- package/dist/index281.js +7 -125
- package/dist/index282.js +224 -2
- package/dist/index283.js +2 -2
- package/dist/index284.js +126 -2
- package/dist/index285.js +431 -2
- package/dist/index286.js +21 -1
- package/dist/index288.js +85 -24
- package/dist/index289.js +199 -21
- package/dist/index29.js +3 -3
- package/dist/index290.js +438 -0
- package/dist/index291.js +127 -2
- package/dist/index292.js +2 -66
- package/dist/index293.js +66 -5
- package/dist/index296.js +2 -2
- package/dist/index297.js +5 -4
- package/dist/index298.js +5 -4
- package/dist/index299.js +7 -58
- package/dist/index300.js +11 -79
- package/dist/index301.js +81 -0
- package/dist/index303.js +3 -7
- package/dist/index304.js +4 -4
- package/dist/index305.js +3 -32
- package/dist/index306.js +58 -10
- package/dist/index309.js +32 -6
- package/dist/index31.js +2 -2
- package/dist/index310.js +7 -2
- package/dist/index311.js +2 -47
- package/dist/index312.js +47 -480
- package/dist/index313.js +482 -0
- package/dist/index315.js +424 -2
- package/dist/index317.js +4 -0
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +9 -9
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +4 -4
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +1 -1
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index211.js +0 -128
- package/dist/index227.js +0 -4
- package/dist/index274.js +0 -14
- package/dist/index287.js +0 -4
- package/dist/index302.js +0 -7
- package/dist/index314.js +0 -426
package/dist/index132.js
CHANGED
@@ -1,157 +1,183 @@
|
|
1
|
-
import { toValue as
|
2
|
-
import {
|
3
|
-
import { computed as
|
4
|
-
function
|
1
|
+
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as M, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isClient as J, isObject as K } from "./index204.js";
|
2
|
+
import { createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as pe, throttleFilter as me } from "./index204.js";
|
3
|
+
import { computed as S, watch as z, ref as w, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
|
4
|
+
function L(l) {
|
5
5
|
var o;
|
6
|
-
const
|
7
|
-
return (o =
|
6
|
+
const n = O(l);
|
7
|
+
return (o = n == null ? void 0 : n.$el) != null ? o : n;
|
8
8
|
}
|
9
|
-
const
|
9
|
+
const W = J ? window : void 0;
|
10
10
|
function P(...l) {
|
11
|
-
let o,
|
12
|
-
if (typeof l[0] == "string" || Array.isArray(l[0]) ? ([
|
13
|
-
return
|
14
|
-
Array.isArray(
|
15
|
-
const
|
16
|
-
|
17
|
-
},
|
18
|
-
() => [
|
19
|
-
([
|
20
|
-
if (
|
11
|
+
let o, n, t, e;
|
12
|
+
if (typeof l[0] == "string" || Array.isArray(l[0]) ? ([n, t, e] = l, o = W) : [o, n, t, e] = l, !o)
|
13
|
+
return M;
|
14
|
+
Array.isArray(n) || (n = [n]), Array.isArray(t) || (t = [t]);
|
15
|
+
const f = [], a = () => {
|
16
|
+
f.forEach((i) => i()), f.length = 0;
|
17
|
+
}, v = (i, u, d, b) => (i.addEventListener(u, d, b), () => i.removeEventListener(u, d, b)), p = z(
|
18
|
+
() => [L(o), O(e)],
|
19
|
+
([i, u]) => {
|
20
|
+
if (a(), !i)
|
21
21
|
return;
|
22
|
-
const
|
23
|
-
|
24
|
-
...
|
22
|
+
const d = K(u) ? { ...u } : u;
|
23
|
+
f.push(
|
24
|
+
...n.flatMap((b) => t.map((m) => v(i, b, m, d)))
|
25
25
|
);
|
26
26
|
},
|
27
27
|
{ immediate: !0, flush: "post" }
|
28
|
-
),
|
29
|
-
|
28
|
+
), c = () => {
|
29
|
+
p(), a();
|
30
30
|
};
|
31
|
-
return R(
|
31
|
+
return R(c), c;
|
32
32
|
}
|
33
33
|
function te() {
|
34
|
-
const l =
|
35
|
-
return o &&
|
34
|
+
const l = w(!1), o = U();
|
35
|
+
return o && Z(() => {
|
36
36
|
l.value = !0;
|
37
37
|
}, o), l;
|
38
38
|
}
|
39
|
-
function
|
39
|
+
function V(l) {
|
40
40
|
const o = te();
|
41
|
-
return
|
41
|
+
return S(() => (o.value, !!l()));
|
42
42
|
}
|
43
43
|
function ne(l, o = {}) {
|
44
|
-
const { window:
|
44
|
+
const { window: n = W } = o, t = V(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
|
45
45
|
let e;
|
46
|
-
const
|
47
|
-
|
48
|
-
},
|
49
|
-
e && ("removeEventListener" in e ? e.removeEventListener("change",
|
50
|
-
},
|
51
|
-
|
46
|
+
const f = w(!1), a = (c) => {
|
47
|
+
f.value = c.matches;
|
48
|
+
}, v = () => {
|
49
|
+
e && ("removeEventListener" in e ? e.removeEventListener("change", a) : e.removeListener(a));
|
50
|
+
}, p = ee(() => {
|
51
|
+
t.value && (v(), e = n.matchMedia(O(l)), "addEventListener" in e ? e.addEventListener("change", a) : e.addListener(a), f.value = e.matches);
|
52
52
|
});
|
53
53
|
return R(() => {
|
54
|
-
|
55
|
-
}),
|
54
|
+
p(), v(), e = void 0;
|
55
|
+
}), f;
|
56
56
|
}
|
57
|
-
function le(l, o,
|
57
|
+
function le(l, o, n = {}) {
|
58
|
+
const { window: t = W, ...e } = n;
|
59
|
+
let f;
|
60
|
+
const a = V(() => t && "ResizeObserver" in t), v = () => {
|
61
|
+
f && (f.disconnect(), f = void 0);
|
62
|
+
}, p = S(() => {
|
63
|
+
const u = O(l);
|
64
|
+
return Array.isArray(u) ? u.map((d) => L(d)) : [L(u)];
|
65
|
+
}), c = z(
|
66
|
+
p,
|
67
|
+
(u) => {
|
68
|
+
if (v(), a.value && t) {
|
69
|
+
f = new ResizeObserver(o);
|
70
|
+
for (const d of u)
|
71
|
+
d && f.observe(d, e);
|
72
|
+
}
|
73
|
+
},
|
74
|
+
{ immediate: !0, flush: "post" }
|
75
|
+
), i = () => {
|
76
|
+
v(), c();
|
77
|
+
};
|
78
|
+
return R(i), {
|
79
|
+
isSupported: a,
|
80
|
+
stop: i
|
81
|
+
};
|
82
|
+
}
|
83
|
+
function ue(l, o, n = {}) {
|
58
84
|
const {
|
59
|
-
root:
|
85
|
+
root: t,
|
60
86
|
rootMargin: e = "0px",
|
61
|
-
threshold:
|
62
|
-
window:
|
63
|
-
immediate:
|
64
|
-
} =
|
65
|
-
const m =
|
66
|
-
return (Array.isArray(m) ? m : [m]).map(
|
87
|
+
threshold: f = 0,
|
88
|
+
window: a = W,
|
89
|
+
immediate: v = !0
|
90
|
+
} = n, p = V(() => a && "IntersectionObserver" in a), c = S(() => {
|
91
|
+
const m = O(l);
|
92
|
+
return (Array.isArray(m) ? m : [m]).map(L).filter($);
|
67
93
|
});
|
68
|
-
let
|
69
|
-
const
|
70
|
-
() => [
|
94
|
+
let i = M;
|
95
|
+
const u = w(v), d = p.value ? z(
|
96
|
+
() => [c.value, L(t), u.value],
|
71
97
|
([m, I]) => {
|
72
|
-
if (
|
98
|
+
if (i(), !u.value || !m.length)
|
73
99
|
return;
|
74
|
-
const
|
100
|
+
const T = new IntersectionObserver(
|
75
101
|
o,
|
76
102
|
{
|
77
|
-
root:
|
103
|
+
root: L(I),
|
78
104
|
rootMargin: e,
|
79
|
-
threshold:
|
105
|
+
threshold: f
|
80
106
|
}
|
81
107
|
);
|
82
|
-
m.forEach((
|
83
|
-
|
108
|
+
m.forEach((h) => h && T.observe(h)), i = () => {
|
109
|
+
T.disconnect(), i = M;
|
84
110
|
};
|
85
111
|
},
|
86
|
-
{ immediate:
|
87
|
-
) :
|
88
|
-
|
112
|
+
{ immediate: v, flush: "post" }
|
113
|
+
) : M, b = () => {
|
114
|
+
i(), d(), u.value = !1;
|
89
115
|
};
|
90
|
-
return R(
|
91
|
-
isSupported:
|
92
|
-
isActive:
|
116
|
+
return R(b), {
|
117
|
+
isSupported: p,
|
118
|
+
isActive: u,
|
93
119
|
pause() {
|
94
|
-
|
120
|
+
i(), u.value = !1;
|
95
121
|
},
|
96
122
|
resume() {
|
97
|
-
|
123
|
+
u.value = !0;
|
98
124
|
},
|
99
|
-
stop:
|
125
|
+
stop: b
|
100
126
|
};
|
101
127
|
}
|
102
|
-
const
|
103
|
-
function
|
128
|
+
const Q = 1;
|
129
|
+
function se(l, o = {}) {
|
104
130
|
const {
|
105
|
-
throttle:
|
106
|
-
idle:
|
107
|
-
onStop: e =
|
108
|
-
onScroll:
|
109
|
-
offset:
|
131
|
+
throttle: n = 0,
|
132
|
+
idle: t = 200,
|
133
|
+
onStop: e = M,
|
134
|
+
onScroll: f = M,
|
135
|
+
offset: a = {
|
110
136
|
left: 0,
|
111
137
|
right: 0,
|
112
138
|
top: 0,
|
113
139
|
bottom: 0
|
114
140
|
},
|
115
|
-
eventListenerOptions:
|
141
|
+
eventListenerOptions: v = {
|
116
142
|
capture: !1,
|
117
143
|
passive: !0
|
118
144
|
},
|
119
|
-
behavior:
|
120
|
-
window:
|
121
|
-
onError:
|
145
|
+
behavior: p = "auto",
|
146
|
+
window: c = W,
|
147
|
+
onError: i = (r) => {
|
122
148
|
console.error(r);
|
123
149
|
}
|
124
|
-
} = o,
|
150
|
+
} = o, u = w(0), d = w(0), b = S({
|
125
151
|
get() {
|
126
|
-
return
|
152
|
+
return u.value;
|
127
153
|
},
|
128
154
|
set(r) {
|
129
155
|
I(r, void 0);
|
130
156
|
}
|
131
|
-
}), m =
|
157
|
+
}), m = S({
|
132
158
|
get() {
|
133
|
-
return
|
159
|
+
return d.value;
|
134
160
|
},
|
135
161
|
set(r) {
|
136
162
|
I(void 0, r);
|
137
163
|
}
|
138
164
|
});
|
139
|
-
function I(r,
|
140
|
-
var
|
141
|
-
if (!
|
165
|
+
function I(r, x) {
|
166
|
+
var g, N, H, A;
|
167
|
+
if (!c)
|
142
168
|
return;
|
143
|
-
const E =
|
169
|
+
const E = O(l);
|
144
170
|
if (!E)
|
145
171
|
return;
|
146
|
-
(
|
147
|
-
top: (
|
148
|
-
left: (
|
149
|
-
behavior:
|
172
|
+
(H = E instanceof Document ? c.document.body : E) == null || H.scrollTo({
|
173
|
+
top: (g = O(x)) != null ? g : m.value,
|
174
|
+
left: (N = O(r)) != null ? N : b.value,
|
175
|
+
behavior: O(p)
|
150
176
|
});
|
151
|
-
const F = ((
|
152
|
-
|
177
|
+
const F = ((A = E == null ? void 0 : E.document) == null ? void 0 : A.documentElement) || (E == null ? void 0 : E.documentElement) || E;
|
178
|
+
b != null && (u.value = F.scrollLeft), m != null && (d.value = F.scrollTop);
|
153
179
|
}
|
154
|
-
const
|
180
|
+
const T = w(!1), h = k({
|
155
181
|
left: !0,
|
156
182
|
right: !1,
|
157
183
|
top: !0,
|
@@ -162,158 +188,155 @@ function ue(l, o = {}) {
|
|
162
188
|
top: !1,
|
163
189
|
bottom: !1
|
164
190
|
}), C = (r) => {
|
165
|
-
|
166
|
-
}, D = q(C,
|
167
|
-
var
|
168
|
-
if (!
|
191
|
+
T.value && (T.value = !1, y.left = !1, y.right = !1, y.top = !1, y.bottom = !1, e(r));
|
192
|
+
}, D = q(C, n + t), s = (r) => {
|
193
|
+
var x;
|
194
|
+
if (!c)
|
169
195
|
return;
|
170
|
-
const
|
171
|
-
y.left =
|
172
|
-
const E = Math.abs(
|
173
|
-
|
174
|
-
let
|
175
|
-
r ===
|
176
|
-
const Y = Math.abs(
|
177
|
-
|
196
|
+
const g = ((x = r == null ? void 0 : r.document) == null ? void 0 : x.documentElement) || (r == null ? void 0 : r.documentElement) || L(r), { display: N, flexDirection: H } = getComputedStyle(g), A = g.scrollLeft;
|
197
|
+
y.left = A < u.value, y.right = A > u.value;
|
198
|
+
const E = Math.abs(A) <= (a.left || 0), F = Math.abs(A) + g.clientWidth >= g.scrollWidth - (a.right || 0) - Q;
|
199
|
+
N === "flex" && H === "row-reverse" ? (h.left = F, h.right = E) : (h.left = E, h.right = F), u.value = A;
|
200
|
+
let _ = g.scrollTop;
|
201
|
+
r === c.document && !_ && (_ = c.document.body.scrollTop), y.top = _ < d.value, y.bottom = _ > d.value;
|
202
|
+
const Y = Math.abs(_) <= (a.top || 0), j = Math.abs(_) + g.clientHeight >= g.scrollHeight - (a.bottom || 0) - Q;
|
203
|
+
N === "flex" && H === "column-reverse" ? (h.top = j, h.bottom = Y) : (h.top = Y, h.bottom = j), d.value = _;
|
178
204
|
}, B = (r) => {
|
179
|
-
var
|
180
|
-
if (!
|
205
|
+
var x;
|
206
|
+
if (!c)
|
181
207
|
return;
|
182
|
-
const
|
183
|
-
|
208
|
+
const g = (x = r.target.documentElement) != null ? x : r.target;
|
209
|
+
s(g), T.value = !0, D(r), f(r);
|
184
210
|
};
|
185
211
|
return P(
|
186
212
|
l,
|
187
213
|
"scroll",
|
188
|
-
|
189
|
-
|
190
|
-
),
|
214
|
+
n ? G(B, n, !0, !1) : B,
|
215
|
+
v
|
216
|
+
), X(() => {
|
191
217
|
try {
|
192
|
-
const r =
|
218
|
+
const r = O(l);
|
193
219
|
if (!r)
|
194
220
|
return;
|
195
|
-
u(r);
|
196
|
-
} catch (r) {
|
197
221
|
s(r);
|
222
|
+
} catch (r) {
|
223
|
+
i(r);
|
198
224
|
}
|
199
225
|
}), P(
|
200
226
|
l,
|
201
227
|
"scrollend",
|
202
228
|
C,
|
203
|
-
|
229
|
+
v
|
204
230
|
), {
|
205
|
-
x:
|
231
|
+
x: b,
|
206
232
|
y: m,
|
207
|
-
isScrolling:
|
208
|
-
arrivedState:
|
233
|
+
isScrolling: T,
|
234
|
+
arrivedState: h,
|
209
235
|
directions: y,
|
210
236
|
measure() {
|
211
|
-
const r =
|
212
|
-
|
237
|
+
const r = O(l);
|
238
|
+
c && r && s(r);
|
213
239
|
}
|
214
240
|
};
|
215
241
|
}
|
216
242
|
function ie(l, o) {
|
217
|
-
const
|
218
|
-
function s
|
219
|
-
return Array.isArray(
|
243
|
+
const n = w(l), t = S(() => Array.isArray(n.value) ? n.value : Object.keys(n.value)), e = w(t.value.indexOf(o ?? t.value[0])), f = S(() => i(e.value)), a = S(() => e.value === 0), v = S(() => e.value === t.value.length - 1), p = S(() => t.value[e.value + 1]), c = S(() => t.value[e.value - 1]);
|
244
|
+
function i(s) {
|
245
|
+
return Array.isArray(n.value) ? n.value[s] : n.value[t.value[s]];
|
220
246
|
}
|
221
|
-
function
|
222
|
-
if (
|
223
|
-
return
|
247
|
+
function u(s) {
|
248
|
+
if (t.value.includes(s))
|
249
|
+
return i(t.value.indexOf(s));
|
224
250
|
}
|
225
|
-
function
|
226
|
-
|
251
|
+
function d(s) {
|
252
|
+
t.value.includes(s) && (e.value = t.value.indexOf(s));
|
227
253
|
}
|
228
|
-
function
|
229
|
-
|
254
|
+
function b() {
|
255
|
+
v.value || e.value++;
|
230
256
|
}
|
231
257
|
function m() {
|
232
|
-
|
258
|
+
a.value || e.value--;
|
233
259
|
}
|
234
|
-
function I(
|
235
|
-
D(
|
260
|
+
function I(s) {
|
261
|
+
D(s) && d(s);
|
236
262
|
}
|
237
|
-
function
|
238
|
-
return
|
263
|
+
function T(s) {
|
264
|
+
return t.value.indexOf(s) === e.value + 1;
|
239
265
|
}
|
240
|
-
function
|
241
|
-
return
|
266
|
+
function h(s) {
|
267
|
+
return t.value.indexOf(s) === e.value - 1;
|
242
268
|
}
|
243
|
-
function y(
|
244
|
-
return
|
269
|
+
function y(s) {
|
270
|
+
return t.value.indexOf(s) === e.value;
|
245
271
|
}
|
246
|
-
function C(
|
247
|
-
return e.value <
|
272
|
+
function C(s) {
|
273
|
+
return e.value < t.value.indexOf(s);
|
248
274
|
}
|
249
|
-
function D(
|
250
|
-
return e.value >
|
275
|
+
function D(s) {
|
276
|
+
return e.value > t.value.indexOf(s);
|
251
277
|
}
|
252
278
|
return {
|
253
|
-
steps:
|
254
|
-
stepNames:
|
279
|
+
steps: n,
|
280
|
+
stepNames: t,
|
255
281
|
index: e,
|
256
|
-
current:
|
257
|
-
next:
|
258
|
-
previous:
|
259
|
-
isFirst:
|
260
|
-
isLast:
|
261
|
-
at:
|
262
|
-
get:
|
263
|
-
goTo:
|
264
|
-
goToNext:
|
282
|
+
current: f,
|
283
|
+
next: p,
|
284
|
+
previous: c,
|
285
|
+
isFirst: a,
|
286
|
+
isLast: v,
|
287
|
+
at: i,
|
288
|
+
get: u,
|
289
|
+
goTo: d,
|
290
|
+
goToNext: b,
|
265
291
|
goToPrevious: m,
|
266
292
|
goBackTo: I,
|
267
|
-
isNext:
|
268
|
-
isPrevious:
|
293
|
+
isNext: T,
|
294
|
+
isPrevious: h,
|
269
295
|
isCurrent: y,
|
270
296
|
isBefore: C,
|
271
297
|
isAfter: D
|
272
298
|
};
|
273
299
|
}
|
274
|
-
function
|
300
|
+
function ae(l = {}) {
|
275
301
|
const {
|
276
|
-
window: o =
|
277
|
-
initialWidth:
|
278
|
-
initialHeight:
|
302
|
+
window: o = W,
|
303
|
+
initialWidth: n = Number.POSITIVE_INFINITY,
|
304
|
+
initialHeight: t = Number.POSITIVE_INFINITY,
|
279
305
|
listenOrientation: e = !0,
|
280
|
-
includeScrollbar:
|
281
|
-
type:
|
282
|
-
} = l,
|
283
|
-
o && (
|
306
|
+
includeScrollbar: f = !0,
|
307
|
+
type: a = "inner"
|
308
|
+
} = l, v = w(n), p = w(t), c = () => {
|
309
|
+
o && (a === "outer" ? (v.value = o.outerWidth, p.value = o.outerHeight) : f ? (v.value = o.innerWidth, p.value = o.innerHeight) : (v.value = o.document.documentElement.clientWidth, p.value = o.document.documentElement.clientHeight));
|
284
310
|
};
|
285
|
-
if (
|
286
|
-
const
|
287
|
-
|
311
|
+
if (c(), X(c), P("resize", c, { passive: !0 }), e) {
|
312
|
+
const i = ne("(orientation: portrait)");
|
313
|
+
z(i, () => c());
|
288
314
|
}
|
289
|
-
return { width:
|
315
|
+
return { width: v, height: p };
|
290
316
|
}
|
291
317
|
export {
|
292
|
-
fe as bypassFilter,
|
293
318
|
ve as createFilterWrapper,
|
294
319
|
de as debounceFilter,
|
295
|
-
|
296
|
-
|
320
|
+
W as defaultWindow,
|
321
|
+
pe as getLifeCycleTarget,
|
297
322
|
J as isClient,
|
298
323
|
K as isObject,
|
299
|
-
|
324
|
+
M as noop,
|
300
325
|
$ as notNullish,
|
301
326
|
me as throttleFilter,
|
302
|
-
|
303
|
-
|
304
|
-
Q as tryOnMounted,
|
327
|
+
O as toValue,
|
328
|
+
X as tryOnMounted,
|
305
329
|
R as tryOnScopeDispose,
|
306
|
-
|
330
|
+
L as unrefElement,
|
307
331
|
q as useDebounceFn,
|
308
332
|
P as useEventListener,
|
309
|
-
|
333
|
+
ue as useIntersectionObserver,
|
310
334
|
ne as useMediaQuery,
|
311
335
|
te as useMounted,
|
312
|
-
|
336
|
+
le as useResizeObserver,
|
337
|
+
se as useScroll,
|
313
338
|
ie as useStepper,
|
314
|
-
|
339
|
+
V as useSupported,
|
315
340
|
G as useThrottleFn,
|
316
|
-
|
317
|
-
ge as watchThrottled,
|
318
|
-
be as watchWithFilter
|
341
|
+
ae as useWindowSize
|
319
342
|
};
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray as p } from "./
|
2
|
-
import { isPlainObject as c } from "./
|
1
|
+
import { isArray as p } from "./index298.js";
|
2
|
+
import { isPlainObject as c } from "./index299.js";
|
3
3
|
function i(e, n, u, l, r) {
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index15.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as k, ref as y, computed as v, watchPostEffect as h, openBlock as g, createElementBlock as C, Fragment as w, createVNode as d, normalizeClass as V, withCtx as n, renderSlot as l, createElementVNode as s, normalizeStyle as H, withModifiers as B, withDirectives as E, mergeProps as q, unref as $ } from "vue";
|
2
|
-
import z from "./
|
2
|
+
import z from "./index226.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
5
|
-
import { vMaska as M } from "./
|
6
|
-
import { isHex as D } from "./
|
4
|
+
import I from "./index228.js";
|
5
|
+
import { vMaska as M } from "./index229.js";
|
6
|
+
import { isHex as D } from "./index230.js";
|
7
7
|
const F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], P = ["aria-invalid", "disabled", "required"], T = /* @__PURE__ */ k({
|
8
8
|
__name: "BaseColorInput",
|
9
9
|
props: {
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, openBlock as p, createElementBlock as h, normalizeProps as i, guardReactiveProps as f, mergeProps as k, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as F } from "./
|
4
|
-
import { booleanishToBoolean as N } from "./
|
2
|
+
import { isCssColor as y } from "./index206.js";
|
3
|
+
import { when as F } from "./index207.js";
|
4
|
+
import { booleanishToBoolean as N } from "./index208.js";
|
5
5
|
const S = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as $, ref as p, toRef as l, openBlock as B, createBlock as w, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v } from "vue";
|
2
|
-
import { useOptions as z } from "./
|
2
|
+
import { useOptions as z } from "./index209.js";
|
3
3
|
import F from "./index17.js";
|
4
4
|
/* empty css */
|
5
|
-
import M from "./
|
5
|
+
import M from "./index210.js";
|
6
6
|
/* empty css */
|
7
7
|
const A = /* @__PURE__ */ $({
|
8
8
|
__name: "BaseCheckboxGroup",
|
package/dist/index204.js
CHANGED
@@ -1,4 +1,83 @@
|
|
1
|
-
|
1
|
+
import { getCurrentScope as g, onScopeDispose as D, unref as x, onMounted as O, nextTick as S, isRef as C, getCurrentInstance as F } from "vue";
|
2
|
+
function G(e) {
|
3
|
+
return g() ? (D(e), !0) : !1;
|
4
|
+
}
|
5
|
+
function d(e) {
|
6
|
+
return typeof e == "function" ? e() : x(e);
|
7
|
+
}
|
8
|
+
const L = typeof window < "u" && typeof document < "u";
|
9
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
10
|
+
const V = (e) => e != null, P = Object.prototype.toString, A = (e) => P.call(e) === "[object Object]", m = () => {
|
11
|
+
};
|
12
|
+
function h(e, r) {
|
13
|
+
function t(...n) {
|
14
|
+
return new Promise((o, i) => {
|
15
|
+
Promise.resolve(e(() => r.apply(this, n), { fn: r, thisArg: this, args: n })).then(o).catch(i);
|
16
|
+
});
|
17
|
+
}
|
18
|
+
return t;
|
19
|
+
}
|
20
|
+
function W(e, r = {}) {
|
21
|
+
let t, n, o = m;
|
22
|
+
const i = (l) => {
|
23
|
+
clearTimeout(l), o(), o = m;
|
24
|
+
};
|
25
|
+
return (l) => {
|
26
|
+
const c = d(e), u = d(r.maxWait);
|
27
|
+
return t && i(t), c <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(l())) : new Promise((s, T) => {
|
28
|
+
o = r.rejectOnCancel ? T : s, u && !n && (n = setTimeout(() => {
|
29
|
+
t && i(t), n = null, s(l());
|
30
|
+
}, u)), t = setTimeout(() => {
|
31
|
+
n && i(n), n = null, s(l());
|
32
|
+
}, c);
|
33
|
+
});
|
34
|
+
};
|
35
|
+
}
|
36
|
+
function M(...e) {
|
37
|
+
let r = 0, t, n = !0, o = m, i, a, l, c, u;
|
38
|
+
!C(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: l = !0, leading: c = !0, rejectOnCancel: u = !1 } = e[0] : [a, l = !0, c = !0, u = !1] = e;
|
39
|
+
const s = () => {
|
40
|
+
t && (clearTimeout(t), t = void 0, o(), o = m);
|
41
|
+
};
|
42
|
+
return (w) => {
|
43
|
+
const f = d(a), y = Date.now() - r, p = () => i = w();
|
44
|
+
return s(), f <= 0 ? (r = Date.now(), p()) : (y > f && (c || !n) ? (r = Date.now(), p()) : l && (i = new Promise((b, j) => {
|
45
|
+
o = u ? j : b, t = setTimeout(() => {
|
46
|
+
r = Date.now(), n = !0, b(p()), s();
|
47
|
+
}, Math.max(0, f - y));
|
48
|
+
})), !c && !t && (t = setTimeout(() => n = !0, f)), n = !1, i);
|
49
|
+
};
|
50
|
+
}
|
51
|
+
function R(e) {
|
52
|
+
return F();
|
53
|
+
}
|
54
|
+
function E(e, r = 200, t = {}) {
|
55
|
+
return h(
|
56
|
+
W(r, t),
|
57
|
+
e
|
58
|
+
);
|
59
|
+
}
|
60
|
+
function I(e, r = 200, t = !1, n = !0, o = !1) {
|
61
|
+
return h(
|
62
|
+
M(r, t, n, o),
|
63
|
+
e
|
64
|
+
);
|
65
|
+
}
|
66
|
+
function N(e, r = !0, t) {
|
67
|
+
R() ? O(e, t) : r ? e() : S(e);
|
68
|
+
}
|
2
69
|
export {
|
3
|
-
|
70
|
+
h as createFilterWrapper,
|
71
|
+
W as debounceFilter,
|
72
|
+
R as getLifeCycleTarget,
|
73
|
+
L as isClient,
|
74
|
+
A as isObject,
|
75
|
+
m as noop,
|
76
|
+
V as notNullish,
|
77
|
+
M as throttleFilter,
|
78
|
+
d as toValue,
|
79
|
+
N as tryOnMounted,
|
80
|
+
G as tryOnScopeDispose,
|
81
|
+
E as useDebounceFn,
|
82
|
+
I as useThrottleFn
|
4
83
|
};
|