bitboss-ui 2.0.151 → 2.0.153
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/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/index100.js +8 -8
- package/dist/index111.js +11 -11
- package/dist/index119.js +2 -2
- package/dist/index121.js +4 -4
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +1 -1
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +2 -115
- package/dist/index207.js +115 -2
- package/dist/index208.js +4 -5
- package/dist/index209.js +40 -124
- package/dist/index21.js +16 -16
- package/dist/index210.js +19 -15
- package/dist/index211.js +94 -16
- package/dist/index213.js +200 -15
- package/dist/index215.js +66 -2
- package/dist/index217.js +13 -13
- package/dist/index218.js +13 -20
- package/dist/index219.js +85 -5
- package/dist/index221.js +31 -0
- package/dist/index222.js +17 -66
- package/dist/index223.js +53 -0
- package/dist/index224.js +15 -13
- package/dist/index225.js +3 -2
- package/dist/index226.js +12 -19
- package/dist/index227.js +16 -27
- package/dist/index228.js +3 -3
- package/dist/index229.js +5 -8
- package/dist/index23.js +16 -16
- package/dist/index230.js +120 -245
- package/dist/index231.js +15 -51
- package/dist/index232.js +16 -44
- package/dist/index233.js +19 -5
- package/dist/index234.js +15 -60
- package/dist/index235.js +2 -2
- package/dist/index236.js +2 -4
- package/dist/index237.js +6 -2
- package/dist/index238.js +2 -86
- package/dist/index239.js +4 -0
- package/dist/index240.js +2 -29
- package/dist/index241.js +4 -17
- package/dist/index242.js +2 -51
- package/dist/index243.js +19 -15
- package/dist/index244.js +27 -12
- package/dist/index245.js +8 -16
- package/dist/index246.js +250 -3
- package/dist/index247.js +52 -7
- package/dist/index248.js +40 -11
- package/dist/index249.js +5 -2
- package/dist/index25.js +7 -7
- package/dist/index250.js +60 -3
- package/dist/index251.js +3 -4
- package/dist/index252.js +7 -200
- package/dist/index253.js +17 -0
- package/dist/index254.js +1 -1
- package/dist/index256.js +2 -2
- package/dist/index257.js +1 -1
- package/dist/index259.js +1 -1
- package/dist/index262.js +3 -3
- package/dist/index263.js +3 -3
- package/dist/index266.js +174 -8
- package/dist/index267.js +9 -2
- package/dist/index268.js +2 -175
- package/dist/index269.js +6 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +16 -6
- package/dist/index271.js +8 -15
- package/dist/index272.js +23 -9
- package/dist/index273.js +431 -23
- package/dist/index274.js +3 -9
- package/dist/index275.js +3 -8
- package/dist/index276.js +3 -281
- package/dist/index278.js +7 -2
- package/dist/index279.js +7 -2
- package/dist/index280.js +11 -2
- package/dist/index281.js +3 -2
- package/dist/index282.js +17 -2
- package/dist/index283.js +9 -2
- package/dist/index284.js +28 -2
- package/dist/index285.js +9 -2
- package/dist/index286.js +8 -2
- package/dist/index287.js +200 -2
- package/dist/index288.js +224 -2
- package/dist/index289.js +280 -27
- package/dist/index29.js +3 -3
- package/dist/index290.js +6 -22
- package/dist/index291.js +4 -0
- package/dist/index292.js +2 -7
- package/dist/index293.js +2 -7
- package/dist/index294.js +2 -11
- package/dist/index295.js +2 -2
- package/dist/index296.js +2 -431
- package/dist/index297.js +4 -3
- package/dist/index298.js +2 -3
- package/dist/index299.js +4 -0
- package/dist/index300.js +2 -4
- package/dist/index301.js +2 -200
- package/dist/index302.js +2 -5
- package/dist/index303.js +2 -2
- package/dist/index304.js +22 -224
- package/dist/index306.js +2 -3
- package/dist/index307.js +87 -15
- package/dist/index308.js +2 -3
- package/dist/index309.js +126 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -89
- package/dist/index311.js +3 -2
- package/dist/index312.js +2 -126
- package/dist/index313.js +436 -3
- package/dist/index314.js +127 -3
- package/dist/index315.js +5 -2
- package/dist/index316.js +65 -434
- package/dist/index317.js +2 -127
- package/dist/index318.js +1 -1
- package/dist/index319.js +1 -1
- package/dist/index320.js +3 -4
- package/dist/index321.js +3 -3
- package/dist/index322.js +58 -3
- package/dist/index323.js +3 -57
- package/dist/index324.js +480 -7
- package/dist/index325.js +58 -7
- package/dist/index326.js +57 -18
- package/dist/index327.js +32 -57
- package/dist/index328.js +27 -57
- package/dist/index33.js +8 -8
- package/dist/index330.js +6 -32
- package/dist/index331.js +18 -27
- package/dist/index332.js +9 -0
- package/dist/index333.js +8 -2
- package/dist/index334.js +5 -7
- package/dist/index335.js +8 -6
- package/dist/index336.js +47 -8
- package/dist/index337.js +2 -47
- package/dist/index339.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +68 -72
- 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/index47.js +2 -2
- package/dist/index49.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +3 -3
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +6 -6
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index212.js +0 -21
- package/dist/index214.js +0 -4
- package/dist/index216.js +0 -43
- package/dist/index220.js +0 -96
- package/dist/index277.js +0 -8
- package/dist/index305.js +0 -69
- package/dist/index329.js +0 -482
package/dist/index37.js
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
import { defineComponent as Je, ref as f, computed as y,
|
1
|
+
import { defineComponent as Je, ref as f, computed as y, toRef as H, openBlock as h, createBlock as L, normalizeClass as ee, withCtx as r, renderSlot as c, createVNode as U, unref as g, createElementVNode as j, createElementBlock as O, Fragment as te, toDisplayString as Qe, createCommentVNode as R, withDirectives as _e, normalizeStyle as le, withModifiers as p, withKeys as w, vModelDynamic as Xe, renderList as Ye, mergeProps as ae, nextTick as G } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
|
-
import { useId as
|
5
|
-
import { useMobile as
|
6
|
-
import
|
4
|
+
import { useId as Ze } from "./index8.js";
|
5
|
+
import { useMobile as et } from "./index9.js";
|
6
|
+
import tt from "./index128.js";
|
7
7
|
/* empty css */
|
8
|
-
import { last as
|
8
|
+
import { last as lt } from "./index236.js";
|
9
9
|
import { matchAnyKey as oe } from "./index255.js";
|
10
|
-
import { useFloating as
|
11
|
-
import { useMounted as
|
10
|
+
import { useFloating as at } from "./index256.js";
|
11
|
+
import { useMounted as ot, useIntersectionObserver as nt } from "./index132.js";
|
12
12
|
import { wait as F } from "./index130.js";
|
13
|
-
import { when as
|
14
|
-
import
|
13
|
+
import { when as ut } from "./index241.js";
|
14
|
+
import rt from "./index257.js";
|
15
15
|
/* empty css */
|
16
|
-
import
|
16
|
+
import it from "./index259.js";
|
17
17
|
/* empty css */
|
18
|
-
import
|
18
|
+
import st from "./index215.js";
|
19
19
|
/* empty css */
|
20
|
-
import
|
21
|
-
import { waitFor as
|
22
|
-
import
|
23
|
-
import { useItemsGetter as
|
24
|
-
import { usePrefill as
|
25
|
-
import { useArray as
|
26
|
-
import { useBaseOptions as
|
27
|
-
import { useIndexById as ne } from "./
|
28
|
-
import { useCoherence as
|
29
|
-
import { hash as
|
30
|
-
import { useHashedWatcher as ue } from "./
|
31
|
-
import { useLocale as
|
32
|
-
import { isEmpty as
|
33
|
-
import
|
34
|
-
import { autoUpdate as
|
35
|
-
const
|
20
|
+
import dt from "./index217.js";
|
21
|
+
import { waitFor as ct } from "./index237.js";
|
22
|
+
import pt from "./index253.js";
|
23
|
+
import { useItemsGetter as mt } from "./index221.js";
|
24
|
+
import { usePrefill as ft } from "./index227.js";
|
25
|
+
import { useArray as vt } from "./index261.js";
|
26
|
+
import { useBaseOptions as yt } from "./index223.js";
|
27
|
+
import { useIndexById as ne } from "./index222.js";
|
28
|
+
import { useCoherence as ht } from "./index224.js";
|
29
|
+
import { hash as bt } from "./index225.js";
|
30
|
+
import { useHashedWatcher as ue } from "./index226.js";
|
31
|
+
import { useLocale as gt } from "./index218.js";
|
32
|
+
import { isEmpty as wt } from "./index238.js";
|
33
|
+
import Bt from "./index262.js";
|
34
|
+
import { autoUpdate as Vt, flip as kt, offset as It, shift as Ct } from "./index263.js";
|
35
|
+
const St = { class: "bb-base-select__input-container" }, Ot = {
|
36
36
|
key: 1,
|
37
37
|
class: "bb-base-select__max-reached"
|
38
|
-
},
|
38
|
+
}, $t = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], sl = /* @__PURE__ */ Je({
|
39
39
|
__name: "BaseSelect",
|
40
40
|
props: {
|
41
41
|
allowWriting: { type: [Boolean, String], default: !0 },
|
@@ -83,12 +83,12 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
83
83
|
const t = re, u = ie;
|
84
84
|
if (t.multiple && !Array.isArray(t.modelValue))
|
85
85
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
86
|
-
const { t: se } =
|
86
|
+
const { t: se } = gt(), de = ot(), E = f(null), k = f(null), n = f(null), J = f(null), Q = f(null), s = y(
|
87
87
|
() => t.comma ? J.value : Q.value
|
88
|
-
), { isMobile: ce } =
|
88
|
+
), { isMobile: ce } = et(), pe = y(
|
89
89
|
() => t.allowWriting === "not-mobile" && ce.value ? "none" : void 0
|
90
|
-
), _ = t.id ||
|
91
|
-
|
90
|
+
), _ = t.id || Ze().id.value;
|
91
|
+
nt(
|
92
92
|
// @ts-expect-error - wrong inferred type
|
93
93
|
k,
|
94
94
|
([{ intersectionRatio: e }]) => {
|
@@ -96,14 +96,14 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
96
96
|
},
|
97
97
|
{ threshold: [0, 1] }
|
98
98
|
);
|
99
|
-
const { floatingStyles: me } =
|
99
|
+
const { floatingStyles: me } = at(
|
100
100
|
// @ts-expect-error - wrong inferred type
|
101
101
|
k,
|
102
102
|
n,
|
103
103
|
{
|
104
104
|
placement: "bottom",
|
105
|
-
whileElementsMounted:
|
106
|
-
middleware: [
|
105
|
+
whileElementsMounted: Vt,
|
106
|
+
middleware: [kt(), It(5), Ct()]
|
107
107
|
}
|
108
108
|
), fe = y(() => {
|
109
109
|
var l;
|
@@ -115,18 +115,18 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
115
115
|
}), A = f(null), q = () => {
|
116
116
|
A.value instanceof HTMLInputElement && A.value.focus();
|
117
117
|
}, ve = async (e) => {
|
118
|
-
u("focus", e), ze(), document.addEventListener("click",
|
118
|
+
u("focus", e), ze(), document.addEventListener("click", $), document.addEventListener("focusin", $);
|
119
119
|
}, ye = () => {
|
120
120
|
t.prefill === "focus" && !De.value && !Y.value && Te();
|
121
121
|
}, he = async (e) => {
|
122
122
|
u("blur", e);
|
123
123
|
}, be = (e) => u("change", e), ge = (e) => {
|
124
124
|
var l;
|
125
|
-
u("input", e), o.value === "" && (t.multiple || u("update:modelValue", null)), (l = s.value) == null || l.blur(), W.value && I(),
|
126
|
-
},
|
125
|
+
u("input", e), o.value === "" && (t.multiple || u("update:modelValue", null)), (l = s.value) == null || l.blur(), W.value && I(), Oe(o.value, !1, t.modelValue);
|
126
|
+
}, $ = async (e) => {
|
127
127
|
var l, a;
|
128
128
|
if (e.target instanceof Node && E.value && !E.value.$el.contains(e.target) && !((a = (l = n.value) == null ? void 0 : l.$el) != null && a.contains(e.target))) {
|
129
|
-
C(), Ke(), document.removeEventListener("click",
|
129
|
+
C(), Ke(), document.removeEventListener("click", $), document.removeEventListener("focusin", $), await F(t.transitionDuration), b();
|
130
130
|
return;
|
131
131
|
}
|
132
132
|
}, B = y(() => !(t.readonly || t.disabled || T.value || !s.value && t.multiple && i.value.length <= t.maxSelectedLabels)), we = async () => {
|
@@ -167,16 +167,12 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
167
167
|
}, Se = async () => {
|
168
168
|
var e, l;
|
169
169
|
!B.value || o.value || !i.value.length || ((e = s.value) != null && e.getHighlighted() && s.value.confirmOption(), await G(), (l = s.value) == null || l.focusPrevious());
|
170
|
-
}, o = f("")
|
171
|
-
Qe(() => {
|
172
|
-
o.value = `${o.value}`;
|
173
|
-
});
|
174
|
-
const {
|
170
|
+
}, o = f(""), {
|
175
171
|
getter: x,
|
176
|
-
debouncedGetter:
|
177
|
-
items:
|
172
|
+
debouncedGetter: Oe,
|
173
|
+
items: $e,
|
178
174
|
loading: X
|
179
|
-
} =
|
175
|
+
} = mt({
|
180
176
|
items: H(t, "items"),
|
181
177
|
debounce: t.queryDebounceTime
|
182
178
|
}), M = () => {
|
@@ -186,7 +182,7 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
186
182
|
hasPrefilled: Y,
|
187
183
|
isPrefilling: De,
|
188
184
|
prefill: Te
|
189
|
-
} =
|
185
|
+
} = ft({
|
190
186
|
onStart: t.prefill === !0,
|
191
187
|
currentValue: t.modelValue,
|
192
188
|
multiple: t.multiple,
|
@@ -198,16 +194,16 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
198
194
|
add: Le,
|
199
195
|
remove: Fe,
|
200
196
|
set: Ee
|
201
|
-
} =
|
197
|
+
} = vt(), i = y(() => {
|
202
198
|
const e = Object.fromEntries(
|
203
199
|
Object.entries(P.value).map(([l], a) => [l, a])
|
204
200
|
);
|
205
201
|
return D.value.filter((l) => l.selected).sort((l, a) => e[l.valueHash] - e[a.valueHash]);
|
206
202
|
}), Ae = y(() => i.value.length ? "" : t.placeholder), { data: P, get: qe } = ne({
|
207
203
|
items: H(t, "modelValue")
|
208
|
-
}), { options: D } =
|
204
|
+
}), { options: D } = yt({
|
209
205
|
disabled: H(t, "disabled"),
|
210
|
-
items: y(() => [
|
206
|
+
items: y(() => [...$e.value, ...He.value]),
|
211
207
|
itemText: t.itemText,
|
212
208
|
itemValue: t.itemValue,
|
213
209
|
max: t.max,
|
@@ -228,7 +224,7 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
228
224
|
return;
|
229
225
|
}
|
230
226
|
let e;
|
231
|
-
i.value && (e =
|
227
|
+
i.value && (e = lt(i.value)), o.value = (e == null ? void 0 : e.text) || "";
|
232
228
|
}, Me = async (e) => {
|
233
229
|
t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && Le(e.item), b()) : (t.stash && Ee(e.item), u("update:modelValue", e.value), await G(), b()), q(), t.multiple || C();
|
234
230
|
}, N = async (e) => {
|
@@ -241,10 +237,10 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
241
237
|
}, { data: Pe } = ne({
|
242
238
|
items: D,
|
243
239
|
key: "valueHash"
|
244
|
-
}), { coherent: Z, status: Ne } =
|
240
|
+
}), { coherent: Z, status: Ne } = ht({
|
245
241
|
modelValue: H(t, "modelValue"),
|
246
242
|
multiple: t.multiple,
|
247
|
-
iteratee: (e) => !!Pe.value[
|
243
|
+
iteratee: (e) => !!Pe.value[bt(e)]
|
248
244
|
});
|
249
245
|
let V = 0;
|
250
246
|
ue(
|
@@ -265,7 +261,7 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
265
261
|
}
|
266
262
|
);
|
267
263
|
const m = f(!1), W = f(!0), z = f(!1), I = async () => {
|
268
|
-
z.value = !0, await
|
264
|
+
z.value = !0, await ct(() => !!n.value), W.value = !1, m.value = !0;
|
269
265
|
}, C = async () => {
|
270
266
|
var e;
|
271
267
|
m.value = !1, W.value = !0, (e = s.value) == null || e.blur();
|
@@ -275,7 +271,7 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
275
271
|
K.value = !1, u("inactive");
|
276
272
|
}, Ue = (e) => {
|
277
273
|
e.preventDefault(), u("click", e), !(t.disabled || t.readonly) && (q(), We());
|
278
|
-
}, je =
|
274
|
+
}, je = ut(
|
279
275
|
(e) => typeof e != "string",
|
280
276
|
JSON.stringify
|
281
277
|
), Re = y(() => [].concat(t.modelValue).map((e) => {
|
@@ -290,7 +286,7 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
290
286
|
let e = null;
|
291
287
|
t.multiple && (e = []), u("update:modelValue", e);
|
292
288
|
};
|
293
|
-
return (e, l) => (h(), L(
|
289
|
+
return (e, l) => (h(), L(dt, {
|
294
290
|
ref_key: "outerContainer",
|
295
291
|
ref: E,
|
296
292
|
class: ee({
|
@@ -312,11 +308,11 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
312
308
|
c(e.$slots, "append-outer", { query: o.value })
|
313
309
|
]),
|
314
310
|
default: r(() => [
|
315
|
-
U(
|
311
|
+
U(st, {
|
316
312
|
ref_key: "innerContainer",
|
317
313
|
ref: k,
|
318
314
|
"append:icon": t["append:icon"],
|
319
|
-
clearable: e.clearable && !g(
|
315
|
+
clearable: e.clearable && !g(wt)(e.modelValue),
|
320
316
|
"prepend:icon": t["prepend:icon"],
|
321
317
|
"prevent-focus": !0,
|
322
318
|
"onClick:clear": Ge
|
@@ -334,25 +330,25 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
334
330
|
c(e.$slots, "suffix")
|
335
331
|
]),
|
336
332
|
default: r(() => [
|
337
|
-
U(g(
|
333
|
+
U(g(tt), { tag: "span" }, {
|
338
334
|
default: r(() => [
|
339
|
-
j("span",
|
340
|
-
e.multiple && i.value.length <= e.maxSelectedLabels ? (h(),
|
341
|
-
e.comma ? (h(), L(
|
335
|
+
j("span", St, [
|
336
|
+
e.multiple && i.value.length <= e.maxSelectedLabels ? (h(), O(te, { key: 0 }, [
|
337
|
+
e.comma ? (h(), L(it, {
|
342
338
|
key: 0,
|
343
339
|
ref_key: "commaBox",
|
344
340
|
ref: J,
|
345
341
|
options: i.value,
|
346
342
|
"onOption:unselected": N
|
347
|
-
}, null, 8, ["options"])) : (h(), L(
|
343
|
+
}, null, 8, ["options"])) : (h(), L(rt, {
|
348
344
|
key: 1,
|
349
345
|
ref_key: "chipsBox",
|
350
346
|
ref: Q,
|
351
347
|
options: i.value,
|
352
348
|
"onOption:unselected": N
|
353
349
|
}, null, 8, ["options"]))
|
354
|
-
], 64)) : e.multiple ? (h(),
|
355
|
-
|
350
|
+
], 64)) : e.multiple ? (h(), O("span", Ot, Qe(e.selectedLabelsFn ? e.selectedLabelsFn(i.value.length) : g(se)("select.multipleMaxReached", i.value.length)), 1)) : R("", !0),
|
351
|
+
_e((h(), O("input", {
|
356
352
|
id: g(_),
|
357
353
|
key: `${g(de)}`,
|
358
354
|
ref_key: "input",
|
@@ -388,8 +384,8 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
388
384
|
w(p(we, ["stop", "prevent"]), ["up"]),
|
389
385
|
w(p(ke, ["stop"]), ["right"])
|
390
386
|
]
|
391
|
-
}, null, 44,
|
392
|
-
[
|
387
|
+
}, null, 44, $t)), [
|
388
|
+
[Xe, o.value]
|
393
389
|
])
|
394
390
|
])
|
395
391
|
]),
|
@@ -414,16 +410,16 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
414
410
|
]),
|
415
411
|
_: 3
|
416
412
|
}, 8, ["append:icon", "clearable", "prepend:icon"]),
|
417
|
-
(h(!0),
|
413
|
+
(h(!0), O(te, null, Ye(Re.value, (a) => (h(), O("input", ae({
|
418
414
|
key: a.value,
|
419
415
|
ref_for: !0
|
420
416
|
}, a), null, 16))), 128)),
|
421
|
-
z.value ? (h(), L(
|
417
|
+
z.value ? (h(), L(pt, {
|
422
418
|
key: 0,
|
423
419
|
target: e.teleportTarget
|
424
420
|
}, {
|
425
421
|
default: r(() => [
|
426
|
-
U(
|
422
|
+
U(Bt, {
|
427
423
|
ref_key: "optionsContainer",
|
428
424
|
ref: n,
|
429
425
|
compact: e.compact,
|
@@ -466,5 +462,5 @@ const $t = { class: "bb-base-select__input-container" }, Ot = {
|
|
466
462
|
}
|
467
463
|
});
|
468
464
|
export {
|
469
|
-
|
465
|
+
sl as default
|
470
466
|
};
|
package/dist/index39.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
|
2
|
-
import { clamp as le } from "./
|
2
|
+
import { clamp as le } from "./index239.js";
|
3
3
|
import { head as O } from "./index264.js";
|
4
|
-
import { isCssColor as Y } from "./
|
4
|
+
import { isCssColor as Y } from "./index240.js";
|
5
5
|
import { isNil as P } from "./index265.js";
|
6
6
|
import { isNotNil as ne } from "./index135.js";
|
7
7
|
import { transposeValue as y } from "./index131.js";
|
8
|
-
import { hash as J } from "./
|
8
|
+
import { hash as J } from "./index225.js";
|
9
9
|
const oe = { class: "bb-base-slider__slider-container" }, ie = {
|
10
10
|
key: 0,
|
11
11
|
class: "bb-base-slider__ticks-container"
|
package/dist/index41.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as I, ref as f, computed as n, watch as S, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as A, createElementVNode as l, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as N } from "./
|
2
|
+
import { isCssColor as b } from "./index240.js";
|
3
|
+
import { when as N } from "./index241.js";
|
4
4
|
const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
package/dist/index43.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
|
2
2
|
import K from "./index41.js";
|
3
3
|
/* empty css */
|
4
|
-
import N from "./
|
4
|
+
import N from "./index219.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as U } from "./
|
7
|
-
import { useIndexById as T } from "./
|
8
|
-
import { useBaseOptions as q } from "./
|
9
|
-
import { useCoherence as J } from "./
|
10
|
-
import { hash as Q } from "./
|
11
|
-
import { useHashedWatcher as $ } from "./
|
12
|
-
import { usePrefill as X } from "./
|
6
|
+
import { useItemsGetter as U } from "./index221.js";
|
7
|
+
import { useIndexById as T } from "./index222.js";
|
8
|
+
import { useBaseOptions as q } from "./index223.js";
|
9
|
+
import { useCoherence as J } from "./index224.js";
|
10
|
+
import { hash as Q } from "./index225.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index226.js";
|
12
|
+
import { usePrefill as X } from "./index227.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
package/dist/index45.js
CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
|
|
3
3
|
/* empty css */
|
4
4
|
import ae from "./index128.js";
|
5
5
|
/* empty css */
|
6
|
-
import { last as le } from "./
|
7
|
-
import { useBaseOptions as ne } from "./
|
8
|
-
import { useIndexById as re } from "./
|
6
|
+
import { last as le } from "./index236.js";
|
7
|
+
import { useBaseOptions as ne } from "./index223.js";
|
8
|
+
import { useIndexById as re } from "./index222.js";
|
9
9
|
import ie from "./index257.js";
|
10
10
|
/* empty css */
|
11
11
|
import ue from "./index259.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index215.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index217.js";
|
16
|
+
import { isEmpty as pe } from "./index238.js";
|
17
17
|
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
|
18
18
|
__name: "BaseTag",
|
19
19
|
props: {
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
|
2
|
-
import E from "./
|
3
|
-
import G from "./
|
2
|
+
import E from "./index217.js";
|
3
|
+
import G from "./index215.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index128.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as k, computed as B, openBlock as g, createElementBlock as V, Fragment as h, createVNode as u, normalizeClass as w, withCtx as l, renderSlot as r, unref as C, createElementVNode as i, mergeProps as $ } from "vue";
|
2
|
-
import E from "./
|
2
|
+
import E from "./index215.js";
|
3
3
|
/* empty css */
|
4
|
-
import M from "./
|
4
|
+
import M from "./index217.js";
|
5
5
|
import { isNotNil as T } from "./index135.js";
|
6
|
-
import { Mask as q } from "./
|
6
|
+
import { Mask as q } from "./index266.js";
|
7
7
|
const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], H = /* @__PURE__ */ k({
|
8
8
|
__name: "BaseTextInput",
|
9
9
|
props: {
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
2
|
+
import { isCssColor as y } from "./index240.js";
|
3
3
|
import { wait as C } from "./index130.js";
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
5
5
|
key: 1,
|
package/dist/index57.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
2
|
-
import { isCssColor as r } from "./
|
2
|
+
import { isCssColor as r } from "./index240.js";
|
3
3
|
import { isNil as B } from "./index265.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
package/dist/index61.js
CHANGED
@@ -7,9 +7,9 @@ import p from "./index127.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import T from "./index129.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as W } from "./
|
11
|
-
import { noop as w } from "./
|
12
|
-
import { useLocale as D } from "./
|
10
|
+
import { pickBy as W } from "./index267.js";
|
11
|
+
import { noop as w } from "./index268.js";
|
12
|
+
import { useLocale as D } from "./index218.js";
|
13
13
|
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
package/dist/index75.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as X, computed as F, ref as y, openBlock as h, createElementBlock as D, mergeProps as A, createElementVNode as _, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
|
2
|
-
import { findRightIndex as H } from "./
|
2
|
+
import { findRightIndex as H } from "./index271.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index130.js";
|
5
5
|
import { useIntersectionObserver as ae } from "./index132.js";
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import N from "./
|
9
|
-
import se from "./
|
8
|
+
import N from "./index272.js";
|
9
|
+
import se from "./index211.js";
|
10
10
|
/* empty css */
|
11
11
|
import V from "./index127.js";
|
12
12
|
/* empty css */
|
package/dist/index77.js
CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import R from "./index129.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as T } from "./
|
12
|
+
import { useLocale as T } from "./index218.js";
|
13
13
|
const Z = { class: "bb-dropdown-button__content" }, q = {
|
14
14
|
key: 1,
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
package/dist/index79.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
|
2
|
-
import { findInTree as ae } from "./
|
2
|
+
import { findInTree as ae } from "./index270.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index128.js";
|
5
5
|
/* empty css */
|
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
|
|
53
53
|
const r = a.accept[t];
|
54
54
|
if (r.includes("/")) e.push(r);
|
55
55
|
else {
|
56
|
-
b || (b = (await import("./
|
56
|
+
b || (b = (await import("./index269.js")).default);
|
57
57
|
const o = b.getType(r);
|
58
58
|
if (!o)
|
59
59
|
throw new Error(
|
package/dist/index81.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
2
|
-
import { throttle as c } from "./
|
2
|
+
import { throttle as c } from "./index251.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
|
2
|
-
import { useFocusTrap as be } from "./
|
2
|
+
import { useFocusTrap as be } from "./index209.js";
|
3
3
|
import { useId as I } from "./index8.js";
|
4
4
|
import { wait as D } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import me from "./
|
5
|
+
import { useModalsState as b } from "./index252.js";
|
6
|
+
import me from "./index253.js";
|
7
7
|
import { useMobile as ye } from "./index9.js";
|
8
|
-
import { useLocale as he } from "./
|
8
|
+
import { useLocale as he } from "./index218.js";
|
9
9
|
const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
|
10
10
|
__name: "BbOffCanvas",
|
11
11
|
props: {
|
package/dist/index86.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
|
2
|
-
import { debounce as T } from "./
|
2
|
+
import { debounce as T } from "./index285.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import z from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { useLocale as D } from "./
|
7
|
+
import { useLocale as D } from "./index218.js";
|
8
8
|
const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
|
9
9
|
__name: "BbPagination",
|
10
10
|
props: {
|
package/dist/index88.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
|
2
|
-
import { useFocusTrap as j } from "./
|
2
|
+
import { useFocusTrap as j } from "./index209.js";
|
3
3
|
import { useId as G } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as J } from "./index132.js";
|
5
|
-
import { waitFor as K } from "./
|
5
|
+
import { waitFor as K } from "./index237.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index211.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
11
|
-
import { useDebounceFn as Y } from "./
|
10
|
+
import { useLocale as X } from "./index218.js";
|
11
|
+
import { useDebounceFn as Y } from "./index207.js";
|
12
12
|
const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
13
13
|
__name: "BbPopover",
|
14
14
|
props: {
|
@@ -147,7 +147,7 @@ const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
|
147
147
|
wrapper: r.value
|
148
148
|
}, {
|
149
149
|
default: T(() => [
|
150
|
-
p("
|
150
|
+
p("span", {
|
151
151
|
ref_key: "content",
|
152
152
|
ref: l,
|
153
153
|
class: "bb-popover__content"
|
package/dist/index90.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
|
2
|
-
import { clamp as p } from "./
|
2
|
+
import { clamp as p } from "./index239.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|