bitboss-ui 2.0.138 → 2.0.142
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/BbTooltip/BbTooltip.vue.d.ts +8 -1
- package/dist/i18n/en.d.ts +1 -0
- package/dist/i18n/it.d.ts +1 -0
- package/dist/index100.js +9 -9
- package/dist/index111.js +12 -12
- package/dist/index119.js +2 -2
- package/dist/index121.js +49 -44
- 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/index13.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +1 -1
- package/dist/index134.js +2 -2
- package/dist/index15.js +36 -35
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +115 -2
- package/dist/index207.js +2 -115
- package/dist/index208.js +2 -5
- package/dist/index209.js +5 -16
- package/dist/index21.js +15 -15
- package/dist/index210.js +122 -13
- package/dist/index211.js +15 -18
- package/dist/index212.js +15 -14
- package/dist/index213.js +18 -18
- package/dist/index214.js +12 -24
- package/dist/index215.js +2 -3
- package/dist/index217.js +41 -8
- package/dist/index218.js +12 -249
- package/dist/index219.js +18 -50
- package/dist/index220.js +5 -43
- package/dist/index221.js +94 -5
- package/dist/index223.js +65 -12
- package/dist/index225.js +13 -2
- package/dist/index226.js +2 -41
- package/dist/index227.js +85 -19
- package/dist/index229.js +28 -93
- package/dist/index23.js +15 -15
- package/dist/index230.js +19 -0
- package/dist/index231.js +50 -64
- package/dist/index232.js +17 -0
- package/dist/index233.js +3 -13
- package/dist/index234.js +12 -2
- package/dist/index235.js +16 -86
- package/dist/index236.js +10 -0
- package/dist/index237.js +2 -29
- package/dist/index238.js +4 -17
- package/dist/index239.js +2 -51
- package/dist/index240.js +3 -15
- package/dist/index241.js +19 -12
- package/dist/index242.js +27 -16
- package/dist/index243.js +250 -2
- package/dist/index244.js +52 -4
- package/dist/index245.js +44 -2
- package/dist/index246.js +5 -2
- package/dist/index247.js +60 -3
- package/dist/index248.js +4 -7
- package/dist/index249.js +196 -11
- package/dist/index25.js +7 -7
- package/dist/index251.js +3 -200
- package/dist/index252.js +9 -0
- package/dist/index253.js +15 -3
- package/dist/index254.js +1 -1
- package/dist/index256.js +2 -2
- package/dist/index258.js +3 -3
- package/dist/index261.js +4 -4
- package/dist/index263.js +2 -2
- package/dist/index264.js +2 -2
- package/dist/index269.js +3 -3
- package/dist/index27.js +1 -1
- package/dist/index271.js +3 -9
- package/dist/index272.js +17 -281
- package/dist/index273.js +9 -6
- package/dist/index274.js +28 -2
- package/dist/index275.js +281 -2
- package/dist/index276.js +6 -2
- package/dist/index277.js +2 -2
- package/dist/index278.js +2 -2
- package/dist/index281.js +2 -2
- package/dist/index282.js +2 -2
- package/dist/index283.js +431 -2
- package/dist/index284.js +176 -2
- package/dist/index285.js +3 -28
- package/dist/index286.js +3 -22
- package/dist/index289.js +2 -2
- package/dist/index29.js +3 -3
- package/dist/index292.js +199 -8
- package/dist/index293.js +2 -8
- package/dist/index294.js +2 -3
- package/dist/index295.js +2 -17
- package/dist/index296.js +2 -2
- package/dist/index297.js +2 -431
- package/dist/index298.js +2 -176
- package/dist/index299.js +22 -3
- package/dist/index301.js +226 -0
- package/dist/index302.js +9 -200
- package/dist/index303.js +8 -3
- package/dist/index304.js +3 -2
- package/dist/index305.js +2 -89
- package/dist/index306.js +83 -218
- package/dist/index31.js +2 -2
- package/dist/index313.js +2 -67
- package/dist/index314.js +67 -5
- package/dist/index315.js +5 -2
- package/dist/index316.js +5 -3
- package/dist/index317.js +8 -3
- package/dist/index318.js +3 -58
- package/dist/index319.js +3 -7
- package/dist/index320.js +56 -17
- package/dist/index321.js +32 -4
- package/dist/index322.js +28 -8
- package/dist/index324.js +479 -56
- package/dist/index325.js +33 -32
- package/dist/index326.js +58 -4
- package/dist/index327.js +3 -32
- package/dist/index328.js +6 -25
- package/dist/index329.js +18 -7
- package/dist/index33.js +8 -8
- package/dist/index330.js +6 -5
- package/dist/index331.js +8 -8
- package/dist/index332.js +6 -480
- package/dist/index333.js +8 -47
- package/dist/index334.js +47 -2
- package/dist/index335.js +4 -0
- package/dist/index337.js +3 -424
- package/dist/index339.js +420 -43
- package/dist/index340.js +49 -0
- package/dist/index35.js +4 -4
- package/dist/index37.js +82 -81
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +5 -5
- package/dist/index47.js +2 -2
- 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 +1 -1
- package/dist/index75.js +1 -1
- package/dist/index77.js +1 -1
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index222.js +0 -62
- package/dist/index224.js +0 -127
- package/dist/index228.js +0 -8
- package/dist/index250.js +0 -6
- package/dist/index300.js +0 -5
- package/dist/index323.js +0 -9
package/dist/index37.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as Ge, ref as f, computed as y, toRef as T, openBlock as h, createBlock as H, normalizeClass as ee, withCtx as
|
1
|
+
import { defineComponent as Ge, ref as f, computed as y, toRef as T, openBlock as h, createBlock as H, normalizeClass as ee, withCtx as r, renderSlot as c, createVNode as j, unref as V, createElementVNode as L, createElementBlock as F, Fragment as te, toDisplayString as Je, createCommentVNode as R, withDirectives as Qe, normalizeStyle as le, withModifiers as p, withKeys as g, vModelDynamic as _e, renderList as Xe, mergeProps as ae, nextTick as G } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
4
|
import { useId as Ye } from "./index8.js";
|
@@ -10,32 +10,32 @@ import { matchAnyKey as oe } from "./index254.js";
|
|
10
10
|
import { useFloating as lt } from "./index255.js";
|
11
11
|
import { useIntersectionObserver as at } from "./index132.js";
|
12
12
|
import { wait as E } from "./index130.js";
|
13
|
-
import { when as ot } from "./
|
13
|
+
import { when as ot } from "./index238.js";
|
14
14
|
import nt from "./index256.js";
|
15
15
|
/* empty css */
|
16
|
-
import
|
16
|
+
import ut from "./index258.js";
|
17
17
|
/* empty css */
|
18
|
-
import
|
18
|
+
import rt from "./index223.js";
|
19
19
|
/* empty css */
|
20
|
-
import it from "./
|
21
|
-
import { waitFor as st } from "./
|
22
|
-
import dt from "./
|
23
|
-
import { useItemsGetter as ct } from "./
|
24
|
-
import { usePrefill as pt } from "./
|
20
|
+
import it from "./index225.js";
|
21
|
+
import { waitFor as st } from "./index220.js";
|
22
|
+
import dt from "./index253.js";
|
23
|
+
import { useItemsGetter as ct } from "./index229.js";
|
24
|
+
import { usePrefill as pt } from "./index235.js";
|
25
25
|
import { useArray as mt } from "./index260.js";
|
26
|
-
import { useBaseOptions as ft } from "./
|
27
|
-
import { useIndexById as ne } from "./
|
28
|
-
import { useCoherence as vt } from "./
|
29
|
-
import { hash as yt } from "./
|
30
|
-
import { useHashedWatcher as
|
31
|
-
import { useLocale as ht } from "./
|
32
|
-
import { isEmpty as bt } from "./
|
26
|
+
import { useBaseOptions as ft } from "./index231.js";
|
27
|
+
import { useIndexById as ne } from "./index230.js";
|
28
|
+
import { useCoherence as vt } from "./index232.js";
|
29
|
+
import { hash as yt } from "./index233.js";
|
30
|
+
import { useHashedWatcher as ue } from "./index234.js";
|
31
|
+
import { useLocale as ht } from "./index218.js";
|
32
|
+
import { isEmpty as bt } from "./index226.js";
|
33
33
|
import gt from "./index261.js";
|
34
34
|
import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./index262.js";
|
35
35
|
const kt = { class: "bb-base-select__input-container" }, Ct = {
|
36
36
|
key: 1,
|
37
37
|
class: "bb-base-select__max-reached"
|
38
|
-
}, St = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"],
|
38
|
+
}, St = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], rl = /* @__PURE__ */ Ge({
|
39
39
|
__name: "BaseSelect",
|
40
40
|
props: {
|
41
41
|
allowWriting: { type: [Boolean, String], default: !0 },
|
@@ -79,15 +79,15 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
79
79
|
updateOnAnimationFrame: { type: Boolean, default: !1 }
|
80
80
|
},
|
81
81
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue", "option:add"],
|
82
|
-
setup(
|
83
|
-
const t =
|
82
|
+
setup(re, { emit: ie }) {
|
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 } = ht(), A = f(null), I = f(null), n = f(null),
|
87
|
-
() => t.comma ?
|
86
|
+
const { t: se } = ht(), A = f(null), I = f(null), n = f(null), J = f(null), Q = f(null), s = y(
|
87
|
+
() => t.comma ? J.value : Q.value
|
88
88
|
), { isMobile: de } = Ze(), ce = y(
|
89
89
|
() => t.allowWriting === "not-mobile" && de.value ? "none" : void 0
|
90
|
-
),
|
90
|
+
), _ = t.id || Ye().id.value;
|
91
91
|
at(
|
92
92
|
// @ts-expect-error - wrong inferred type
|
93
93
|
I,
|
@@ -115,14 +115,14 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
115
115
|
}), q = f(null), x = () => {
|
116
116
|
q.value instanceof HTMLInputElement && q.value.focus();
|
117
117
|
}, fe = async (e) => {
|
118
|
-
|
118
|
+
u("focus", e), We(), document.addEventListener("click", O), document.addEventListener("focusin", O);
|
119
119
|
}, ve = () => {
|
120
|
-
t.prefill === "focus" && !$e.value && !
|
120
|
+
t.prefill === "focus" && !$e.value && !Y.value && De();
|
121
121
|
}, ye = async (e) => {
|
122
|
-
|
123
|
-
}, he = (e) =>
|
122
|
+
u("blur", e);
|
123
|
+
}, he = (e) => u("change", e), be = (e) => {
|
124
124
|
var l;
|
125
|
-
|
125
|
+
u("input", e), o.value === "" && (t.multiple || u("update:modelValue", null)), (l = s.value) == null || l.blur(), z.value && k(), Se(o.value, !1, t.modelValue);
|
126
126
|
}, O = async (e) => {
|
127
127
|
var l, a;
|
128
128
|
if (e.target instanceof Node && A.value && !A.value.$el.contains(e.target) && !((a = (l = n.value) == null ? void 0 : l.$el) != null && a.contains(e.target))) {
|
@@ -161,25 +161,25 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
161
161
|
return;
|
162
162
|
}
|
163
163
|
const e = o.value.trim();
|
164
|
-
Ae(e) || (
|
164
|
+
Ae(e) || (u("option:add", e), o.value = "");
|
165
165
|
}, ke = async () => {
|
166
166
|
m.value && await C();
|
167
167
|
}, Ce = async () => {
|
168
168
|
var e, l;
|
169
|
-
!w.value || o.value || !i.value.length || ((e = s.value) != null && e.getHighlighted() && s.value.confirmOption(), await
|
169
|
+
!w.value || o.value || !i.value.length || ((e = s.value) != null && e.getHighlighted() && s.value.confirmOption(), await G(), (l = s.value) == null || l.focusPrevious());
|
170
170
|
}, o = f(""), {
|
171
171
|
getter: M,
|
172
172
|
debouncedGetter: Se,
|
173
173
|
items: Oe,
|
174
|
-
loading:
|
174
|
+
loading: X
|
175
175
|
} = ct({
|
176
176
|
items: T(t, "items"),
|
177
177
|
debounce: t.queryDebounceTime
|
178
178
|
}), P = () => {
|
179
179
|
var e, l;
|
180
|
-
t.enforceCoherence && !Z.value && (t.multiple ?
|
180
|
+
t.enforceCoherence && !Z.value && (t.multiple ? u("update:modelValue", Pe.value.coherent) : u("update:modelValue", null), (e = s.value) == null || e.blur(), (l = n.value) == null || l.blur());
|
181
181
|
}, {
|
182
|
-
hasPrefilled:
|
182
|
+
hasPrefilled: Y,
|
183
183
|
isPrefilling: $e,
|
184
184
|
prefill: De
|
185
185
|
} = pt({
|
@@ -209,7 +209,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
209
209
|
max: t.max,
|
210
210
|
selectable: !0,
|
211
211
|
selectedIndexedByHash: N
|
212
|
-
}), D = y(() => !!(
|
212
|
+
}), D = y(() => !!(X.value || t.loading)), qe = y(() => {
|
213
213
|
let e = [];
|
214
214
|
const l = i.value.some(
|
215
215
|
(d) => d.text === o.value
|
@@ -226,13 +226,13 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
226
226
|
let e;
|
227
227
|
i.value && (e = tt(i.value)), o.value = (e == null ? void 0 : e.text) || "";
|
228
228
|
}, xe = async (e) => {
|
229
|
-
t.multiple ? (
|
230
|
-
},
|
229
|
+
t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && He(e.item), b()) : (t.stash && Fe(e.item), u("update:modelValue", e.value), await G(), b()), x(), t.multiple || C();
|
230
|
+
}, W = async (e) => {
|
231
231
|
if (Le((l) => l.valueHash !== e.valueHash), t.multiple) {
|
232
232
|
const l = { ...N.value };
|
233
|
-
delete l[e.valueHash],
|
233
|
+
delete l[e.valueHash], u("update:modelValue", Object.values(l));
|
234
234
|
} else
|
235
|
-
|
235
|
+
u("update:modelValue", null), await G(), b();
|
236
236
|
x();
|
237
237
|
}, { data: Me } = ne({
|
238
238
|
items: $,
|
@@ -243,7 +243,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
243
243
|
iteratee: (e) => !!Me.value[yt(e)]
|
244
244
|
});
|
245
245
|
let B = 0;
|
246
|
-
|
246
|
+
ue(
|
247
247
|
() => t.modelValue,
|
248
248
|
async () => {
|
249
249
|
B++, Z.value || (await M(o.value, !1, t.modelValue), P()), B === 1 && b(), B--;
|
@@ -251,26 +251,26 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
251
251
|
{
|
252
252
|
debounce: t.modelValueDebounceTime
|
253
253
|
}
|
254
|
-
),
|
254
|
+
), ue(
|
255
255
|
() => [t.dependencies, t.items],
|
256
256
|
async () => {
|
257
|
-
|
257
|
+
Y.value && (B++, await M(o.value, !1, t.modelValue), B === 1 && (P(), b()), B--);
|
258
258
|
},
|
259
259
|
{
|
260
260
|
debounce: t.depsDebounceTime
|
261
261
|
}
|
262
262
|
);
|
263
|
-
const m = f(!1),
|
264
|
-
|
263
|
+
const m = f(!1), z = f(!0), K = f(!1), k = async () => {
|
264
|
+
K.value = !0, await st(() => !!n.value), z.value = !1, m.value = !0;
|
265
265
|
}, C = async () => {
|
266
266
|
var e;
|
267
|
-
m.value = !1,
|
268
|
-
}, Ne = () => m.value ? C() : k(),
|
269
|
-
|
267
|
+
m.value = !1, z.value = !0, (e = s.value) == null || e.blur();
|
268
|
+
}, Ne = () => m.value ? C() : k(), U = f(!1), We = () => {
|
269
|
+
U.value = !0;
|
270
270
|
}, ze = () => {
|
271
|
-
|
271
|
+
U.value = !1, u("inactive");
|
272
272
|
}, Ke = (e) => {
|
273
|
-
e.preventDefault(),
|
273
|
+
e.preventDefault(), u("click", e), !(t.disabled || t.readonly) && (x(), Ne());
|
274
274
|
}, Ue = ot(
|
275
275
|
(e) => typeof e != "string",
|
276
276
|
JSON.stringify
|
@@ -284,14 +284,14 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
284
284
|
};
|
285
285
|
})), Re = () => {
|
286
286
|
let e = null;
|
287
|
-
t.multiple && (e = []),
|
287
|
+
t.multiple && (e = []), u("update:modelValue", e);
|
288
288
|
};
|
289
289
|
return (e, l) => (h(), H(it, {
|
290
290
|
ref_key: "outerContainer",
|
291
291
|
ref: A,
|
292
292
|
class: ee({
|
293
293
|
"bb-base-select": !0,
|
294
|
-
"bb-base-select--active":
|
294
|
+
"bb-base-select--active": U.value,
|
295
295
|
"bb-base-select--shown": m.value,
|
296
296
|
"bb-base-select--loading": D.value,
|
297
297
|
"bb-base-select--disabled": e.disabled,
|
@@ -301,14 +301,14 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
301
301
|
}),
|
302
302
|
onClick: Ke
|
303
303
|
}, {
|
304
|
-
"prepend-outer":
|
304
|
+
"prepend-outer": r(() => [
|
305
305
|
c(e.$slots, "prepend-outer", { query: o.value })
|
306
306
|
]),
|
307
|
-
"append-outer":
|
307
|
+
"append-outer": r(() => [
|
308
308
|
c(e.$slots, "append-outer", { query: o.value })
|
309
309
|
]),
|
310
|
-
default:
|
311
|
-
|
310
|
+
default: r(() => [
|
311
|
+
j(rt, {
|
312
312
|
ref_key: "innerContainer",
|
313
313
|
ref: I,
|
314
314
|
"append:icon": t["append:icon"],
|
@@ -317,43 +317,44 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
317
317
|
"prevent-focus": !0,
|
318
318
|
"onClick:clear": Re
|
319
319
|
}, {
|
320
|
-
prepend:
|
320
|
+
prepend: r(() => [
|
321
321
|
c(e.$slots, "prepend", { query: o.value })
|
322
322
|
]),
|
323
|
-
prefix:
|
323
|
+
prefix: r(() => [
|
324
324
|
c(e.$slots, "prefix")
|
325
325
|
]),
|
326
|
-
append:
|
326
|
+
append: r(() => [
|
327
327
|
c(e.$slots, "append", { query: o.value })
|
328
328
|
]),
|
329
|
-
suffix:
|
329
|
+
suffix: r(() => [
|
330
330
|
c(e.$slots, "suffix")
|
331
331
|
]),
|
332
|
-
default:
|
333
|
-
|
334
|
-
default:
|
332
|
+
default: r(() => [
|
333
|
+
j(V(et), { tag: "span" }, {
|
334
|
+
default: r(() => [
|
335
335
|
L("span", kt, [
|
336
336
|
e.multiple && i.value.length <= e.maxSelectedLabels ? (h(), F(te, { key: 0 }, [
|
337
|
-
e.comma ? (h(), H(
|
337
|
+
e.comma ? (h(), H(ut, {
|
338
338
|
key: 0,
|
339
339
|
ref_key: "commaBox",
|
340
|
-
ref:
|
341
|
-
options: i.value
|
340
|
+
ref: J,
|
341
|
+
options: i.value,
|
342
|
+
"onOption:unselected": W
|
342
343
|
}, null, 8, ["options"])) : (h(), H(nt, {
|
343
344
|
key: 1,
|
344
345
|
ref_key: "chipsBox",
|
345
|
-
ref:
|
346
|
+
ref: Q,
|
346
347
|
options: i.value,
|
347
|
-
"onOption:unselected":
|
348
|
+
"onOption:unselected": W
|
348
349
|
}, null, 8, ["options"]))
|
349
|
-
], 64)) : e.multiple ? (h(), F("span", Ct, Je(e.selectedLabelsFn ? e.selectedLabelsFn(i.value.length) : V(se)("select.multipleMaxReached", i.value.length)), 1)) :
|
350
|
+
], 64)) : e.multiple ? (h(), F("span", Ct, Je(e.selectedLabelsFn ? e.selectedLabelsFn(i.value.length) : V(se)("select.multipleMaxReached", i.value.length)), 1)) : R("", !0),
|
350
351
|
Qe(L("input", {
|
351
|
-
id: V(
|
352
|
+
id: V(_),
|
352
353
|
ref_key: "input",
|
353
354
|
ref: q,
|
354
355
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => o.value = a),
|
355
356
|
"aria-autocomplete": "list",
|
356
|
-
"aria-controls":
|
357
|
+
"aria-controls": K.value ? `${V(_)}_listbox` : void 0,
|
357
358
|
"aria-describedby": e.ariaDescribedby,
|
358
359
|
"aria-expanded": m.value,
|
359
360
|
autocomplete: e.autocomplete,
|
@@ -391,7 +392,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
391
392
|
}),
|
392
393
|
e.showChevron ? c(e.$slots, "chevron", {
|
393
394
|
key: 0,
|
394
|
-
loading: !!V(
|
395
|
+
loading: !!V(X),
|
395
396
|
shown: m.value
|
396
397
|
}, () => [
|
397
398
|
l[1] || (l[1] = L("svg", {
|
@@ -404,7 +405,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
404
405
|
fill: "currentColor"
|
405
406
|
})
|
406
407
|
], -1))
|
407
|
-
]) :
|
408
|
+
]) : R("", !0)
|
408
409
|
]),
|
409
410
|
_: 3
|
410
411
|
}, 8, ["append:icon", "clearable", "prepend:icon"]),
|
@@ -412,12 +413,12 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
412
413
|
key: a.value,
|
413
414
|
ref_for: !0
|
414
415
|
}, a), null, 16))), 128)),
|
415
|
-
|
416
|
+
K.value ? (h(), H(dt, {
|
416
417
|
key: 0,
|
417
418
|
target: e.teleportTarget
|
418
419
|
}, {
|
419
|
-
default:
|
420
|
-
|
420
|
+
default: r(() => [
|
421
|
+
j(gt, {
|
421
422
|
ref_key: "optionsContainer",
|
422
423
|
ref: n,
|
423
424
|
compact: e.compact,
|
@@ -429,21 +430,21 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
429
430
|
options: qe.value,
|
430
431
|
style: le(me.value),
|
431
432
|
"onOption:selected": xe,
|
432
|
-
"onOption:unselected":
|
433
|
+
"onOption:unselected": W
|
433
434
|
}, {
|
434
|
-
"options:prepend":
|
435
|
+
"options:prepend": r(() => [
|
435
436
|
c(e.$slots, "options:prepend")
|
436
437
|
]),
|
437
|
-
loading:
|
438
|
+
loading: r(() => [
|
438
439
|
c(e.$slots, "loading", { query: o.value })
|
439
440
|
]),
|
440
|
-
"no-data":
|
441
|
+
"no-data": r(() => [
|
441
442
|
c(e.$slots, "no-data", { query: o.value })
|
442
443
|
]),
|
443
|
-
"options:append":
|
444
|
+
"options:append": r(() => [
|
444
445
|
c(e.$slots, "options:append")
|
445
446
|
]),
|
446
|
-
option:
|
447
|
+
option: r((a) => [
|
447
448
|
c(e.$slots, "option", ae({
|
448
449
|
hasErrors: e.hasErrors,
|
449
450
|
loading: D.value
|
@@ -453,12 +454,12 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
|
|
453
454
|
}, 8, ["compact", "loading", "loading-text", "multiple", "no-data-text", "open", "options", "style"])
|
454
455
|
]),
|
455
456
|
_: 3
|
456
|
-
}, 8, ["target"])) :
|
457
|
+
}, 8, ["target"])) : R("", !0)
|
457
458
|
]),
|
458
459
|
_: 3
|
459
460
|
}, 8, ["class"]));
|
460
461
|
}
|
461
462
|
});
|
462
463
|
export {
|
463
|
-
|
464
|
+
rl as default
|
464
465
|
};
|
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 "./
|
3
|
-
import { head as O } from "./
|
4
|
-
import { isCssColor as Y } from "./
|
5
|
-
import { isNil as P } from "./
|
2
|
+
import { clamp as le } from "./index207.js";
|
3
|
+
import { head as O } from "./index263.js";
|
4
|
+
import { isCssColor as Y } from "./index237.js";
|
5
|
+
import { isNil as P } from "./index264.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 "./index233.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 "./index237.js";
|
3
|
+
import { when as N } from "./index238.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 h, guardReactiveProps as v, 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 "./index227.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 E } from "./
|
12
|
-
import { usePrefill as X } from "./
|
6
|
+
import { useItemsGetter as U } from "./index229.js";
|
7
|
+
import { useIndexById as T } from "./index230.js";
|
8
|
+
import { useBaseOptions as q } from "./index231.js";
|
9
|
+
import { useCoherence as J } from "./index232.js";
|
10
|
+
import { hash as Q } from "./index233.js";
|
11
|
+
import { useHashedWatcher as E } from "./index234.js";
|
12
|
+
import { usePrefill as X } from "./index235.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
package/dist/index45.js
CHANGED
@@ -4,16 +4,16 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
|
|
4
4
|
import ae from "./index128.js";
|
5
5
|
/* empty css */
|
6
6
|
import { last as le } from "./index216.js";
|
7
|
-
import { useBaseOptions as ne } from "./
|
8
|
-
import { useIndexById as re } from "./
|
7
|
+
import { useBaseOptions as ne } from "./index231.js";
|
8
|
+
import { useIndexById as re } from "./index230.js";
|
9
9
|
import ie from "./index256.js";
|
10
10
|
/* empty css */
|
11
11
|
import ue from "./index258.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index223.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index225.js";
|
16
|
+
import { isEmpty as pe } from "./index226.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 "./index225.js";
|
3
|
+
import G from "./index223.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index128.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
|
2
|
-
import $ from "./
|
2
|
+
import $ from "./index223.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index225.js";
|
5
5
|
import { isNotNil as C } from "./index135.js";
|
6
6
|
const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
|
7
7
|
__name: "BaseTextInput",
|
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 "./index237.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,6 +1,6 @@
|
|
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 "./
|
3
|
-
import { isNil as B } from "./
|
2
|
+
import { isCssColor as r } from "./index237.js";
|
3
|
+
import { isNil as B } from "./index264.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
6
6
|
props: {
|
package/dist/index61.js
CHANGED
@@ -9,7 +9,7 @@ import T from "./index129.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import { pickBy as W } from "./index265.js";
|
11
11
|
import { noop as w } from "./index266.js";
|
12
|
-
import { useLocale as D } from "./
|
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
@@ -6,7 +6,7 @@ import { useIntersectionObserver as ae } from "./index132.js";
|
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import N from "./index268.js";
|
9
|
-
import se from "./
|
9
|
+
import se from "./index221.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/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 "./index217.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 "./index302.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 "./index217.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 "./index220.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index221.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 "./index206.js";
|
12
12
|
const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
13
13
|
__name: "BbPopover",
|
14
14
|
props: {
|
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 "./index207.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|