bitboss-ui 2.1.37 → 2.1.38
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/components/BbTab/BbTab.vue.d.ts +12 -5
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index113.js +1 -1
- package/dist/index119.js +59 -58
- package/dist/index121.js +11 -11
- package/dist/index13.js +1 -1
- package/dist/index131.js +5 -5
- package/dist/index133.js +1 -1
- package/dist/index135.js +2 -2
- package/dist/index140.js +2 -2
- package/dist/index141.js +1 -1
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +16 -16
- package/dist/index212.js +2 -138
- package/dist/index213.js +138 -2
- package/dist/index215.js +6 -9
- package/dist/index216.js +2 -3
- package/dist/index217.js +5 -13
- package/dist/index218.js +5 -3
- package/dist/index219.js +5 -4
- package/dist/index220.js +5 -20
- package/dist/index221.js +5 -197
- package/dist/index222.js +7 -0
- package/dist/index223.js +2 -121
- package/dist/index224.js +4 -0
- package/dist/index225.js +2 -5
- package/dist/index226.js +13 -5
- package/dist/index227.js +20 -5
- package/dist/index228.js +121 -5
- package/dist/index23.js +12 -12
- package/dist/index230.js +86 -5
- package/dist/index232.js +29 -2
- package/dist/index233.js +17 -2
- package/dist/index234.js +49 -32
- package/dist/index235.js +15 -2
- package/dist/index236.js +3 -4
- package/dist/index237.js +12 -2
- package/dist/index238.js +16 -2
- package/dist/index239.js +3 -2
- package/dist/index240.js +34 -7
- package/dist/index241.js +3 -6
- package/dist/index242.js +195 -49
- package/dist/index244.js +5 -106
- package/dist/index245.js +7 -0
- package/dist/index246.js +6 -98
- package/dist/index247.js +252 -0
- package/dist/index248.js +51 -12
- package/dist/index249.js +44 -13
- package/dist/index25.js +3 -3
- package/dist/index250.js +5 -9
- package/dist/index251.js +60 -23
- package/dist/index252.js +2 -4
- package/dist/index253.js +4 -23
- package/dist/index254.js +2 -5
- package/dist/index255.js +13 -5
- package/dist/index256.js +13 -3
- package/dist/index257.js +17 -7
- package/dist/index258.js +12 -250
- package/dist/index259.js +100 -46
- package/dist/index261.js +100 -5
- package/dist/index263.js +226 -180
- package/dist/index264.js +2 -7
- package/dist/index265.js +7 -86
- package/dist/index266.js +9 -0
- package/dist/index267.js +181 -27
- package/dist/index268.js +11 -15
- package/dist/index269.js +8 -11
- package/dist/index27.js +1 -1
- package/dist/index270.js +23 -16
- package/dist/index271.js +3 -8
- package/dist/index272.js +22 -10
- package/dist/index273.js +9 -17
- package/dist/index274.js +2 -11
- package/dist/index275.js +9 -229
- package/dist/index278.js +1 -1
- package/dist/index279.js +33 -2
- package/dist/index280.js +26 -7
- package/dist/index282.js +9 -33
- package/dist/index283.js +8 -28
- package/dist/index284.js +4 -0
- package/dist/index285.js +5 -8
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +1 -1
- package/dist/index289.js +5 -7
- package/dist/index29.js +2 -2
- package/dist/index290.js +4 -5
- package/dist/index291.js +1 -1
- package/dist/index292.js +17 -3
- package/dist/index293.js +27 -3
- package/dist/index294.js +2 -280
- package/dist/index295.js +280 -2
- package/dist/index296.js +2 -125
- package/dist/index297.js +125 -2
- package/dist/index298.js +2 -15
- package/dist/index299.js +15 -2
- package/dist/index300.js +2 -16
- package/dist/index301.js +16 -2
- package/dist/index302.js +2 -16
- package/dist/index303.js +16 -2
- package/dist/index304.js +2 -19
- package/dist/index305.js +19 -2
- package/dist/index306.js +2 -2
- package/dist/index307.js +3 -4
- package/dist/index308.js +7 -6
- package/dist/index309.js +3 -28
- package/dist/index31.js +2 -2
- package/dist/index310.js +19 -3
- package/dist/index311.js +2 -3
- package/dist/index312.js +27 -17
- package/dist/index313.js +2 -19
- package/dist/index314.js +2 -2
- package/dist/index315.js +2 -27
- package/dist/index316.js +2 -2
- package/dist/index317.js +1 -1
- package/dist/index318.js +21 -1
- package/dist/index320.js +4 -2
- package/dist/index321.js +6 -22
- package/dist/index322.js +5 -0
- package/dist/index323.js +1 -1
- package/dist/index324.js +1 -1
- package/dist/index329.js +5 -0
- package/dist/index33.js +8 -8
- package/dist/index330.js +5 -3
- package/dist/index332.js +226 -33
- package/dist/index333.js +7 -6
- package/dist/index334.js +31 -125
- package/dist/index335.js +6 -369
- package/dist/index336.js +123 -222
- package/dist/index337.js +368 -6
- package/dist/index341.js +7 -58
- package/dist/index342.js +18 -57
- package/dist/index344.js +58 -7
- package/dist/index345.js +57 -18
- package/dist/index346.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +18 -18
- package/dist/index39.js +6 -6
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index49.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index79.js +6 -6
- package/dist/index81.js +1 -1
- package/dist/index85.js +3 -3
- package/dist/index90.js +3 -3
- package/dist/index92.js +2 -2
- package/dist/index94.js +5 -5
- package/package.json +1 -1
- package/dist/index229.js +0 -7
- package/dist/index231.js +0 -4
- package/dist/index243.js +0 -19
- package/dist/index260.js +0 -46
- package/dist/index262.js +0 -62
- package/dist/index281.js +0 -7
- package/dist/index319.js +0 -4
- package/dist/index328.js +0 -7
package/dist/index119.js
CHANGED
@@ -1,20 +1,21 @@
|
|
1
|
-
import { defineComponent as ee, ref as r, computed as $, getCurrentInstance as te, watch as
|
2
|
-
import { useId as
|
3
|
-
import { useRoute as
|
4
|
-
import { useRouter as
|
5
|
-
import { wait as
|
6
|
-
import { useScroll as he, useResizeObserver as
|
7
|
-
import
|
1
|
+
import { defineComponent as ee, ref as r, computed as $, getCurrentInstance as te, watch as f, nextTick as le, onMounted as ae, createElementBlock as p, openBlock as c, normalizeClass as T, unref as ie, createElementVNode as y, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as ne, withCtx as I, toDisplayString as re, createBlock as X, resolveDynamicComponent as oe, Transition as ue, createCommentVNode as de } from "vue";
|
2
|
+
import { useId as ce } from "./index8.js";
|
3
|
+
import { useRoute as be } from "./index145.js";
|
4
|
+
import { useRouter as fe } from "./index146.js";
|
5
|
+
import { wait as ye } from "./index138.js";
|
6
|
+
import { useScroll as he, useResizeObserver as me } from "./index140.js";
|
7
|
+
import ve from "./index13.js";
|
8
8
|
/* empty css */
|
9
|
-
import
|
9
|
+
import pe from "./index111.js";
|
10
10
|
/* empty css */
|
11
|
-
const
|
11
|
+
const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-tab__label" }, we = { class: "bb-tab__panes-container" }, $e = ["id", "aria-labelledby"], Pe = /* @__PURE__ */ ee({
|
12
12
|
__name: "BbTab",
|
13
13
|
props: {
|
14
14
|
disabled: { type: Boolean },
|
15
15
|
eager: { type: Boolean },
|
16
16
|
id: {},
|
17
|
-
|
17
|
+
animateX: { type: Boolean, default: !0 },
|
18
|
+
animateY: { type: Boolean, default: !0 },
|
18
19
|
direction: { default: "horizontal" },
|
19
20
|
items: {},
|
20
21
|
modelValue: {},
|
@@ -23,12 +24,12 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
23
24
|
replace: { type: Boolean }
|
24
25
|
},
|
25
26
|
emits: ["update:modelValue"],
|
26
|
-
setup(
|
27
|
+
setup(Y, { expose: J, emit: M }) {
|
27
28
|
var A, H;
|
28
|
-
const t =
|
29
|
-
isScrolling:
|
30
|
-
left:
|
31
|
-
right:
|
29
|
+
const t = Y, j = M, d = be(), q = fe(), S = r(), L = t.id ?? ce().id.value, g = `bb-tab_${L}`, b = r(), { isScrolling: G, arrivedState: B } = he(b), V = $(() => ({
|
30
|
+
isScrolling: G.value,
|
31
|
+
left: B.left,
|
32
|
+
right: B.right
|
32
33
|
})), C = !!((H = (A = te()) == null ? void 0 : A.proxy) != null && H.$inertia), i = r(null), o = $(
|
33
34
|
() => t.items.findIndex((e) => e.key === i.value)
|
34
35
|
), _ = $(() => o.value === 0), w = $(() => o.value === t.items.length - 1);
|
@@ -57,7 +58,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
57
58
|
}
|
58
59
|
};
|
59
60
|
R();
|
60
|
-
const
|
61
|
+
const h = async (e, a = !1) => {
|
61
62
|
var l, n, s, m;
|
62
63
|
if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
|
63
64
|
q == null || q.push({
|
@@ -67,13 +68,13 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
67
68
|
});
|
68
69
|
else if (t.navigation && C && ((m = globalThis == null ? void 0 : globalThis.location) != null && m.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
|
69
70
|
const v = new URL(globalThis.location.href);
|
70
|
-
v.searchParams.set(t.querykey, e),
|
71
|
+
v.searchParams.set(t.querykey, e), ye(0).then(() => {
|
71
72
|
a ? history.replaceState({}, "", v.toString()) : history.pushState({}, "", v.toString());
|
72
73
|
});
|
73
74
|
}
|
74
|
-
t.modelValue !== e &&
|
75
|
+
t.modelValue !== e && j("update:modelValue", e), i.value = e;
|
75
76
|
};
|
76
|
-
i.value &&
|
77
|
+
i.value && h(i.value, !0);
|
77
78
|
const u = (e) => {
|
78
79
|
var a = null;
|
79
80
|
switch (e) {
|
@@ -104,8 +105,8 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
104
105
|
const l = t.items[a].key, n = document.querySelector(
|
105
106
|
`#${g}_tab_${l}`
|
106
107
|
);
|
107
|
-
n == null || n.focus(),
|
108
|
-
},
|
108
|
+
n == null || n.focus(), h(l, t.replace);
|
109
|
+
}, Q = (e) => {
|
109
110
|
if (!t.disabled)
|
110
111
|
if (e.key === "ArrowRight")
|
111
112
|
u("next");
|
@@ -118,20 +119,20 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
118
119
|
else
|
119
120
|
return;
|
120
121
|
};
|
121
|
-
|
122
|
+
f(
|
122
123
|
() => t.modelValue,
|
123
124
|
(e) => {
|
124
|
-
e &&
|
125
|
+
e && h(e, t.replace);
|
125
126
|
}
|
126
|
-
),
|
127
|
+
), f(
|
127
128
|
() => {
|
128
129
|
var e, a;
|
129
130
|
return (a = (e = d.value) == null ? void 0 : e.query) == null ? void 0 : a[t.querykey];
|
130
131
|
},
|
131
132
|
(e) => {
|
132
|
-
e && typeof e == "string" &&
|
133
|
+
e && typeof e == "string" && h(e, t.replace);
|
133
134
|
}
|
134
|
-
),
|
135
|
+
), f(
|
135
136
|
i,
|
136
137
|
async () => {
|
137
138
|
if (S.value) {
|
@@ -148,7 +149,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
148
149
|
{ flush: "post" }
|
149
150
|
);
|
150
151
|
const P = r("right");
|
151
|
-
|
152
|
+
f(
|
152
153
|
i,
|
153
154
|
(e, a) => {
|
154
155
|
if (e && a) {
|
@@ -158,17 +159,17 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
158
159
|
},
|
159
160
|
{ flush: "sync" }
|
160
161
|
);
|
161
|
-
const E = r(0),
|
162
|
-
if (!
|
162
|
+
const E = r(0), D = r(0), z = r(0), F = r(0), N = r(0), x = () => {
|
163
|
+
if (!b.value)
|
163
164
|
return;
|
164
|
-
const e =
|
165
|
+
const e = b.value.querySelector(
|
165
166
|
".bb-tab__btn--active"
|
166
167
|
);
|
167
|
-
e && (
|
168
|
+
e && (z.value = e.offsetLeft, F.value = e.offsetTop, E.value = e.clientWidth, D.value = e.clientHeight, N.value = b.value.scrollWidth);
|
168
169
|
};
|
169
|
-
return ae(x),
|
170
|
+
return ae(x), f(i, x, { flush: "post" }), me(b, () => {
|
170
171
|
x();
|
171
|
-
}),
|
172
|
+
}), f(
|
172
173
|
() => t.items,
|
173
174
|
() => {
|
174
175
|
i.value && !t.items.find((e) => e.key === i.value) && R();
|
@@ -177,13 +178,13 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
177
178
|
immediate: !0,
|
178
179
|
deep: !0
|
179
180
|
}
|
180
|
-
),
|
181
|
+
), J({
|
181
182
|
isFirst: _,
|
182
183
|
isLast: w,
|
183
184
|
current: i,
|
184
185
|
currentIndex: o,
|
185
186
|
goTo: u
|
186
|
-
}), (e, a) => (
|
187
|
+
}), (e, a) => (c(), p("div", {
|
187
188
|
id: ie(L),
|
188
189
|
ref_key: "tabs",
|
189
190
|
ref: S,
|
@@ -192,36 +193,36 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
192
193
|
"bb-tab--disabled": e.disabled
|
193
194
|
}])
|
194
195
|
}, [
|
195
|
-
|
196
|
-
|
197
|
-
k(e.$slots, "header:prepend", U(W(
|
196
|
+
y("div", ge, [
|
197
|
+
y("span", null, [
|
198
|
+
k(e.$slots, "header:prepend", U(W(V.value)))
|
198
199
|
]),
|
199
|
-
|
200
|
+
y("ul", {
|
200
201
|
ref_key: "tablist",
|
201
|
-
ref:
|
202
|
+
ref: b,
|
202
203
|
class: "bb-tab__label-container",
|
203
204
|
role: "tablist",
|
204
205
|
style: se({
|
205
206
|
"--inner-width": `${N.value}px`,
|
206
207
|
"--width": `${E.value}px`,
|
207
|
-
"--height": `${
|
208
|
-
"--left": `${
|
208
|
+
"--height": `${D.value}px`,
|
209
|
+
"--left": `${z.value}px`,
|
209
210
|
"--top": `${F.value}px`
|
210
211
|
})
|
211
212
|
}, [
|
212
|
-
(
|
213
|
+
(c(!0), p(K, null, O(e.items, (l) => (c(), p("li", {
|
213
214
|
key: l.key,
|
214
215
|
role: "presentation"
|
215
216
|
}, [
|
216
|
-
|
217
|
+
ne(ve, {
|
217
218
|
id: `${g}_tab_${l.key}`,
|
218
219
|
"aria-selected": i.value === l.key,
|
219
220
|
class: T(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
|
220
221
|
disabled: l.disabled || e.disabled,
|
221
222
|
role: "tab",
|
222
223
|
tabindex: i.value === l.key ? 0 : -1,
|
223
|
-
onClick: (n) =>
|
224
|
-
onKeydown:
|
224
|
+
onClick: (n) => h(l.key, t.replace),
|
225
|
+
onKeydown: Q
|
225
226
|
}, {
|
226
227
|
default: I(() => [
|
227
228
|
k(e.$slots, `label-${l.key}`, {
|
@@ -246,7 +247,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
246
247
|
text: l.label,
|
247
248
|
value: l.key
|
248
249
|
}, () => [
|
249
|
-
|
250
|
+
y("span", _e, re(l.label), 1)
|
250
251
|
])
|
251
252
|
])
|
252
253
|
]),
|
@@ -254,20 +255,20 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
254
255
|
}, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
|
255
256
|
]))), 128))
|
256
257
|
], 4),
|
257
|
-
|
258
|
-
k(e.$slots, "header:append", U(W(
|
258
|
+
y("span", null, [
|
259
|
+
k(e.$slots, "header:append", U(W(V.value)))
|
259
260
|
])
|
260
261
|
]),
|
261
|
-
|
262
|
-
|
262
|
+
y("div", we, [
|
263
|
+
(c(), X(oe(t.animateY ? pe : "div"), null, {
|
263
264
|
default: I(() => [
|
264
|
-
(
|
265
|
+
(c(!0), p(K, null, O(e.items, (l) => (c(), X(ue, {
|
265
266
|
key: l.key,
|
266
|
-
css:
|
267
|
+
css: t.animateX,
|
267
268
|
name: `tab-slide-${P.value}`
|
268
269
|
}, {
|
269
270
|
default: I(() => [
|
270
|
-
i.value === l.key || e.eager || l.eager ? (
|
271
|
+
i.value === l.key || e.eager || l.eager ? (c(), p("section", {
|
271
272
|
key: 0,
|
272
273
|
id: `${g}_tabpanel_${l.key}`,
|
273
274
|
"aria-labelledby": `${g}_tab_${l.key}`,
|
@@ -288,17 +289,17 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
288
289
|
text: l.label,
|
289
290
|
value: l.key
|
290
291
|
})
|
291
|
-
], 10,
|
292
|
+
], 10, $e)) : de("", !0)
|
292
293
|
]),
|
293
294
|
_: 2
|
294
295
|
}, 1032, ["css", "name"]))), 128))
|
295
296
|
]),
|
296
297
|
_: 3
|
297
|
-
})
|
298
|
+
}))
|
298
299
|
])
|
299
|
-
], 10,
|
300
|
+
], 10, ke));
|
300
301
|
}
|
301
302
|
});
|
302
303
|
export {
|
303
|
-
|
304
|
+
Pe as default
|
304
305
|
};
|
package/dist/index121.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, createBlock as Q, openBlock as n, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, createCommentVNode as g, createElementVNode as o, toDisplayString as m, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
|
2
|
-
import { add as ve } from "./
|
2
|
+
import { add as ve } from "./index284.js";
|
3
3
|
import { clamp as ke } from "./index214.js";
|
4
|
-
import { isNil as T } from "./
|
4
|
+
import { isNil as T } from "./index216.js";
|
5
5
|
import { useId as _e } from "./index8.js";
|
6
|
-
import { useItemValue as ge } from "./
|
7
|
-
import { when as Ce } from "./
|
6
|
+
import { useItemValue as ge } from "./index282.js";
|
7
|
+
import { when as Ce } from "./index253.js";
|
8
8
|
import Y from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import we from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { hash as E } from "./
|
13
|
-
import { useItemsGetter as Ie } from "./
|
14
|
-
import { usePrefill as Ve } from "./
|
15
|
-
import { useIndexById as Ae } from "./
|
16
|
-
import { useBaseOptions as Be } from "./
|
17
|
-
import { useHashedWatcher as Te } from "./
|
18
|
-
import { useLocale as $e } from "./
|
12
|
+
import { hash as E } from "./index236.js";
|
13
|
+
import { useItemsGetter as Ie } from "./index232.js";
|
14
|
+
import { usePrefill as Ve } from "./index238.js";
|
15
|
+
import { useIndexById as Ae } from "./index233.js";
|
16
|
+
import { useBaseOptions as Be } from "./index234.js";
|
17
|
+
import { useHashedWatcher as Te } from "./index237.js";
|
18
|
+
import { useLocale as $e } from "./index226.js";
|
19
19
|
const xe = {
|
20
20
|
key: 0,
|
21
21
|
class: "sr-only"
|
package/dist/index13.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, getCurrentInstance as h, computed as r, createBlock as i, openBlock as u, mergeProps as c, withCtx as d, renderSlot as p, createTextVNode as f, toDisplayString as v, resolveDynamicComponent as C } from "vue";
|
2
|
-
import S from "./
|
2
|
+
import S from "./index240.js";
|
3
3
|
const A = /* @__PURE__ */ m({
|
4
4
|
__name: "BaseButton",
|
5
5
|
props: {
|
package/dist/index131.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as S, mergeModels as z, ref as k, computed as d, useTemplateRef as F, useModel as N, createElementBlock as W, openBlock as B, Fragment as A, renderSlot as C, createVNode as U, normalizeProps as H, guardReactiveProps as I, unref as l, mergeProps as j, withCtx as E, createElementVNode as m, normalizeStyle as q, createBlock as x, createCommentVNode as G } from "vue";
|
2
2
|
import { throttle as p } from "./index278.js";
|
3
3
|
import { useId as J } from "./index8.js";
|
4
|
-
import { useLocale as K } from "./
|
5
|
-
import { useUntil as Q } from "./
|
4
|
+
import { useLocale as K } from "./index226.js";
|
5
|
+
import { useUntil as Q } from "./index256.js";
|
6
6
|
import X from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import Y from "./
|
8
|
+
import Y from "./index228.js";
|
9
9
|
/* empty css */
|
10
10
|
import { useElementSize as Z } from "./index140.js";
|
11
|
-
import { extractDomContainer as c } from "./
|
12
|
-
import { parseWidthString as _ } from "./
|
11
|
+
import { extractDomContainer as c } from "./index271.js";
|
12
|
+
import { parseWidthString as _ } from "./index272.js";
|
13
13
|
const pe = /* @__PURE__ */ S({
|
14
14
|
inheritAttrs: !1,
|
15
15
|
__name: "BbTooltip",
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
2
|
-
import { flattenTree as T } from "./
|
2
|
+
import { flattenTree as T } from "./index285.js";
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
4
4
|
__name: "BbTree",
|
5
5
|
props: {
|
package/dist/index135.js
CHANGED
@@ -5,8 +5,8 @@ import u from "./index85.js";
|
|
5
5
|
/* empty css */
|
6
6
|
import h from "./index113.js";
|
7
7
|
/* empty css */
|
8
|
-
import v from "./
|
9
|
-
import B from "./
|
8
|
+
import v from "./index279.js";
|
9
|
+
import B from "./index280.js";
|
10
10
|
/* empty css */
|
11
11
|
const E = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
|
12
12
|
__name: "CommonInputInnerContainer",
|
package/dist/index140.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./
|
2
|
-
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./
|
1
|
+
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index213.js";
|
2
|
+
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index213.js";
|
3
3
|
import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
|
4
4
|
const R = ee ? window : void 0;
|
5
5
|
function W(o) {
|
package/dist/index141.js
CHANGED
package/dist/index15.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as H, ref as s, computed as D, createBlock as E, openBlock as I, normalizeClass as L, withCtx as l, createVNode as d, unref as u, withDirectives as M, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
|
2
|
-
import { isHex as z } from "./
|
2
|
+
import { isHex as z } from "./index241.js";
|
3
3
|
import { isNotNil as F } from "./index143.js";
|
4
4
|
import { useId as S } from "./index8.js";
|
5
|
-
import { useLocale as U } from "./
|
6
|
-
import { vMaska as A } from "./
|
7
|
-
import K from "./
|
5
|
+
import { useLocale as U } from "./index226.js";
|
6
|
+
import { vMaska as A } from "./index227.js";
|
7
|
+
import K from "./index242.js";
|
8
8
|
/* empty css */
|
9
9
|
import O from "./index135.js";
|
10
10
|
/* empty css */
|
11
11
|
import P from "./index137.js";
|
12
|
-
import T from "./
|
12
|
+
import T from "./index228.js";
|
13
13
|
/* empty css */
|
14
14
|
const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, re = /* @__PURE__ */ H({
|
15
15
|
__name: "BaseColorInput",
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, createElementBlock as p, openBlock as h, normalizeProps as i, guardReactiveProps as f, createCommentVNode as I, createElementVNode as l, mergeProps as k, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as N } from "./
|
4
|
-
import { booleanishToBoolean as S } from "./
|
2
|
+
import { isCssColor as y } from "./index252.js";
|
3
|
+
import { when as N } from "./index253.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index254.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as b, guardReactiveProps as v, createVNode as R, mergeProps as T } from "vue";
|
2
2
|
import W from "./index17.js";
|
3
3
|
/* empty css */
|
4
|
-
import K from "./
|
4
|
+
import K from "./index230.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as N } from "./
|
7
|
-
import { useIndexById as w } from "./
|
8
|
-
import { useBaseOptions as U } from "./
|
9
|
-
import { useCoherence as q } from "./
|
10
|
-
import { hash as J } from "./
|
11
|
-
import { useHashedWatcher as C } from "./
|
12
|
-
import { usePrefill as Q } from "./
|
6
|
+
import { useItemsGetter as N } from "./index232.js";
|
7
|
+
import { useIndexById as w } from "./index233.js";
|
8
|
+
import { useBaseOptions as U } from "./index234.js";
|
9
|
+
import { useCoherence as q } from "./index235.js";
|
10
|
+
import { hash as J } from "./index236.js";
|
11
|
+
import { useHashedWatcher as C } from "./index237.js";
|
12
|
+
import { usePrefill as Q } from "./index238.js";
|
13
13
|
const de = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseCheckboxGroup",
|
15
15
|
props: {
|
package/dist/index21.js
CHANGED
@@ -5,22 +5,22 @@ import { _config as C } from "./index4.js";
|
|
5
5
|
import { useId as F } from "./index8.js";
|
6
6
|
import f from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import s from "./
|
9
|
-
import G from "./
|
10
|
-
import J from "./
|
11
|
-
import K from "./
|
12
|
-
import Q from "./
|
13
|
-
import X from "./
|
14
|
-
import ee from "./
|
15
|
-
import { hash as M } from "./
|
16
|
-
import { last as ae } from "./
|
17
|
-
import { useLogger as te } from "./
|
18
|
-
import oe from "./
|
19
|
-
import le from "./
|
20
|
-
import re from "./
|
21
|
-
import B from "./
|
22
|
-
import se from "./
|
23
|
-
import { useLocale as de } from "./
|
8
|
+
import s from "./index217.js";
|
9
|
+
import G from "./index220.js";
|
10
|
+
import J from "./index221.js";
|
11
|
+
import K from "./index222.js";
|
12
|
+
import Q from "./index219.js";
|
13
|
+
import X from "./index244.js";
|
14
|
+
import ee from "./index245.js";
|
15
|
+
import { hash as M } from "./index236.js";
|
16
|
+
import { last as ae } from "./index225.js";
|
17
|
+
import { useLogger as te } from "./index246.js";
|
18
|
+
import oe from "./index247.js";
|
19
|
+
import le from "./index248.js";
|
20
|
+
import re from "./index249.js";
|
21
|
+
import B from "./index250.js";
|
22
|
+
import se from "./index251.js";
|
23
|
+
import { useLocale as de } from "./index226.js";
|
24
24
|
const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
|
25
25
|
style: { transform: "rotate(180deg)" },
|
26
26
|
viewBox: "0 0 24 24",
|
package/dist/index212.js
CHANGED
@@ -1,140 +1,4 @@
|
|
1
|
-
|
2
|
-
function V(e) {
|
3
|
-
return S() ? (C(e), !0) : !1;
|
4
|
-
}
|
5
|
-
const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
|
6
|
-
var r;
|
7
|
-
const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
|
8
|
-
if (t == null && !k())
|
9
|
-
throw new Error("injectLocal must be called in setup");
|
10
|
-
return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
|
11
|
-
}, G = typeof window < "u" && typeof document < "u";
|
12
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
13
|
-
const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
|
14
|
-
};
|
15
|
-
function y(e, r) {
|
16
|
-
function n(...t) {
|
17
|
-
return new Promise((o, i) => {
|
18
|
-
Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
|
19
|
-
});
|
20
|
-
}
|
21
|
-
return n;
|
22
|
-
}
|
23
|
-
const A = (e) => e();
|
24
|
-
function x(e, r = {}) {
|
25
|
-
let n, t, o = d;
|
26
|
-
const i = (c) => {
|
27
|
-
clearTimeout(c), o(), o = d;
|
28
|
-
};
|
29
|
-
let u;
|
30
|
-
return (c) => {
|
31
|
-
const a = b(e), l = b(r.maxWait);
|
32
|
-
return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
|
33
|
-
o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
|
34
|
-
n && i(n), t = null, f(u());
|
35
|
-
}, l)), n = setTimeout(() => {
|
36
|
-
t && i(t), t = null, f(c());
|
37
|
-
}, a);
|
38
|
-
});
|
39
|
-
};
|
40
|
-
}
|
41
|
-
function I(...e) {
|
42
|
-
let r = 0, n, t = !0, o = d, i, u, s, c, a;
|
43
|
-
!P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
|
44
|
-
const l = () => {
|
45
|
-
n && (clearTimeout(n), n = void 0, o(), o = d);
|
46
|
-
};
|
47
|
-
return (p) => {
|
48
|
-
const m = b(u), j = Date.now() - r, h = () => i = p();
|
49
|
-
return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
|
50
|
-
o = a ? D : T, n = setTimeout(() => {
|
51
|
-
r = Date.now(), t = !0, T(h()), l();
|
52
|
-
}, Math.max(0, m - j));
|
53
|
-
})), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
|
54
|
-
};
|
55
|
-
}
|
56
|
-
function z(e) {
|
57
|
-
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
58
|
-
}
|
59
|
-
function L(e) {
|
60
|
-
return g();
|
61
|
-
}
|
62
|
-
function B(e) {
|
63
|
-
return Array.isArray(e) ? e : [e];
|
64
|
-
}
|
65
|
-
function H(e, r = 200, n = {}) {
|
66
|
-
return y(
|
67
|
-
x(r, n),
|
68
|
-
e
|
69
|
-
);
|
70
|
-
}
|
71
|
-
function J(e, r = 200, n = !1, t = !0, o = !1) {
|
72
|
-
return y(
|
73
|
-
I(r, n, t, o),
|
74
|
-
e
|
75
|
-
);
|
76
|
-
}
|
77
|
-
function N(e, r, n = {}) {
|
78
|
-
const {
|
79
|
-
eventFilter: t = A,
|
80
|
-
...o
|
81
|
-
} = n;
|
82
|
-
return F(
|
83
|
-
e,
|
84
|
-
y(
|
85
|
-
t,
|
86
|
-
r
|
87
|
-
),
|
88
|
-
o
|
89
|
-
);
|
90
|
-
}
|
91
|
-
function K(e, r = !0, n) {
|
92
|
-
L() ? O(e, n) : r ? e() : W(e);
|
93
|
-
}
|
94
|
-
function Q(e, r, n = {}) {
|
95
|
-
const {
|
96
|
-
debounce: t = 0,
|
97
|
-
maxWait: o = void 0,
|
98
|
-
...i
|
99
|
-
} = n;
|
100
|
-
return N(
|
101
|
-
e,
|
102
|
-
r,
|
103
|
-
{
|
104
|
-
...i,
|
105
|
-
eventFilter: x(t, { maxWait: o })
|
106
|
-
}
|
107
|
-
);
|
108
|
-
}
|
109
|
-
function U(e, r, n) {
|
110
|
-
return F(
|
111
|
-
e,
|
112
|
-
r,
|
113
|
-
{
|
114
|
-
...n,
|
115
|
-
immediate: !0
|
116
|
-
}
|
117
|
-
);
|
118
|
-
}
|
1
|
+
const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
119
2
|
export {
|
120
|
-
|
121
|
-
y as createFilterWrapper,
|
122
|
-
x as debounceFilter,
|
123
|
-
Q as debouncedWatch,
|
124
|
-
L as getLifeCycleTarget,
|
125
|
-
E as injectLocal,
|
126
|
-
G as isClient,
|
127
|
-
q as isObject,
|
128
|
-
d as noop,
|
129
|
-
_ as notNullish,
|
130
|
-
z as pxValue,
|
131
|
-
I as throttleFilter,
|
132
|
-
B as toArray,
|
133
|
-
K as tryOnMounted,
|
134
|
-
V as tryOnScopeDispose,
|
135
|
-
H as useDebounceFn,
|
136
|
-
J as useThrottleFn,
|
137
|
-
Q as watchDebounced,
|
138
|
-
U as watchImmediate,
|
139
|
-
N as watchWithFilter
|
3
|
+
t as urlAlphabet
|
140
4
|
};
|