bitboss-ui 2.0.107 → 2.0.108
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/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +4 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
- package/dist/components/BbTeleport.vue.d.ts +4 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
- package/dist/components/CommonFloating.vue.d.ts +4 -0
- package/dist/index100.js +4 -4
- package/dist/index101.js +22 -20
- package/dist/index111.js +7 -7
- package/dist/index119.js +2 -2
- package/dist/index121.js +18 -16
- 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/index133.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +1 -1
- package/dist/index206.js +126 -2
- package/dist/index207.js +281 -8
- package/dist/index208.js +125 -3
- package/dist/index209.js +15 -52
- package/dist/index21.js +16 -16
- package/dist/index210.js +18 -0
- package/dist/index211.js +19 -13
- package/dist/index212.js +15 -3
- package/dist/index213.js +2 -41
- package/dist/index214.js +2 -6
- package/dist/index215.js +41 -7
- package/dist/index216.js +12 -11
- package/dist/index217.js +20 -13
- package/dist/index218.js +6 -2
- package/dist/index219.js +15 -4
- package/dist/index220.js +53 -2
- package/dist/index222.js +13 -20
- package/dist/index223.js +5 -4
- package/dist/index224.js +366 -278
- package/dist/index225.js +4 -16
- package/dist/index226.js +8 -16
- package/dist/index227.js +3 -19
- package/dist/index228.js +2 -15
- package/dist/index229.js +4 -19
- package/dist/index23.js +48 -44
- package/dist/index230.js +2 -27
- package/dist/index231.js +2 -2
- package/dist/index232.js +17 -248
- package/dist/index233.js +26 -51
- package/dist/index234.js +242 -36
- package/dist/index235.js +52 -5
- package/dist/index236.js +31 -47
- package/dist/index237.js +5 -126
- package/dist/index238.js +59 -124
- package/dist/index239.js +3 -2
- package/dist/index240.js +3 -5
- package/dist/index241.js +7 -369
- package/dist/index242.js +1 -1
- package/dist/index245.js +1 -1
- package/dist/index246.js +4 -4
- package/dist/index247.js +1 -1
- package/dist/index248.js +1 -1
- package/dist/index25.js +7 -7
- package/dist/index250.js +2 -2
- package/dist/index251.js +2 -18
- package/dist/index252.js +2 -2
- package/dist/index254.js +2 -2
- package/dist/index256.js +2 -12
- package/dist/index257.js +18 -2
- package/dist/index258.js +12 -2
- package/dist/index263.js +15 -14
- package/dist/index265.js +3 -6
- package/dist/index267.js +7 -9
- package/dist/index268.js +176 -9
- package/dist/index269.js +7 -8
- package/dist/index27.js +1 -1
- package/dist/index270.js +10 -27
- package/dist/index271.js +6 -3
- package/dist/index273.js +9 -7
- package/dist/index274.js +7 -430
- package/dist/index275.js +28 -2
- package/dist/index276.js +3 -88
- package/dist/index277.js +6 -7
- package/dist/index278.js +2 -11
- package/dist/index279.js +2 -4
- package/dist/index280.js +2 -224
- package/dist/index281.js +2 -200
- package/dist/index282.js +2 -176
- package/dist/index283.js +2 -6
- package/dist/index284.js +126 -2
- package/dist/index285.js +431 -2
- package/dist/index286.js +2 -2
- package/dist/index287.js +22 -2
- package/dist/index289.js +9 -2
- package/dist/index29.js +3 -3
- package/dist/index291.js +2 -2
- package/dist/index292.js +1 -1
- package/dist/index293.js +1 -1
- package/dist/index295.js +1 -21
- package/dist/index296.js +24 -0
- package/dist/index298.js +427 -117
- package/dist/index299.js +126 -21
- package/dist/index300.js +202 -0
- package/dist/index301.js +224 -3
- package/dist/index302.js +3 -17
- package/dist/index303.js +15 -434
- package/dist/index304.js +87 -125
- package/dist/index307.js +4 -4
- package/dist/index308.js +2 -3
- package/dist/index309.js +5 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +67 -3
- package/dist/index311.js +3 -58
- package/dist/index312.js +5 -2
- package/dist/index313.js +8 -67
- package/dist/index314.js +33 -5
- package/dist/index315.js +52 -32
- package/dist/index316.js +53 -7
- package/dist/index317.js +3 -18
- package/dist/index318.js +3 -53
- package/dist/index319.js +3 -53
- package/dist/index320.js +56 -45
- package/dist/index321.js +6 -6
- package/dist/index322.js +18 -4
- package/dist/index323.js +6 -7
- package/dist/index324.js +47 -480
- package/dist/index325.js +2 -4
- package/dist/index326.js +480 -2
- package/dist/index33.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +69 -65
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +1 -1
- package/dist/index45.js +3 -3
- 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 +19 -17
- 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 +39 -37
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +4 -0
- package/package.json +1 -1
- package/dist/index221.js +0 -5
- package/dist/index288.js +0 -4
- package/dist/index297.js +0 -4
- /package/dist/{index266.js → index272.js} +0 -0
package/dist/index37.js
CHANGED
@@ -1,35 +1,35 @@
|
|
1
|
-
import { defineComponent as Re, defineAsyncComponent as Ge, ref as f, computed as y, toRef as
|
1
|
+
import { defineComponent as Re, defineAsyncComponent as Ge, ref as f, computed as y, toRef as T, openBlock as h, createBlock as x, normalizeClass as Z, withCtx as i, renderSlot as p, createVNode as K, unref as V, createElementVNode as H, createElementBlock as A, Fragment as ee, toDisplayString as je, createCommentVNode as te, withDirectives as Je, withModifiers as c, withKeys as g, vModelDynamic as Qe, renderList as Xe, mergeProps as le, normalizeStyle as Ye, nextTick as U } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
4
|
import { useId as Ze } from "./index8.js";
|
5
5
|
import { useMobile as et } from "./index9.js";
|
6
6
|
import tt from "./index128.js";
|
7
7
|
/* empty css */
|
8
|
-
import { last as lt } from "./
|
9
|
-
import { matchAnyKey as oe } from "./
|
10
|
-
import { useFloating as ot } from "./
|
8
|
+
import { last as lt } from "./index214.js";
|
9
|
+
import { matchAnyKey as oe } from "./index257.js";
|
10
|
+
import { useFloating as ot } from "./index206.js";
|
11
11
|
import { useIntersectionObserver as at } from "./index132.js";
|
12
12
|
import { wait as L } from "./index130.js";
|
13
|
-
import { when as nt } from "./
|
13
|
+
import { when as nt } from "./index229.js";
|
14
14
|
import it from "./index252.js";
|
15
15
|
/* empty css */
|
16
16
|
import ut from "./index254.js";
|
17
17
|
/* empty css */
|
18
|
-
import rt from "./
|
18
|
+
import rt from "./index220.js";
|
19
19
|
/* empty css */
|
20
|
-
import st from "./
|
21
|
-
import { waitFor as dt } from "./
|
22
|
-
import
|
23
|
-
import { useItemsGetter as
|
20
|
+
import st from "./index222.js";
|
21
|
+
import { waitFor as dt } from "./index218.js";
|
22
|
+
import pt from "./index219.js";
|
23
|
+
import { useItemsGetter as ct } from "./index244.js";
|
24
24
|
import { usePrefill as mt } from "./index249.js";
|
25
|
-
import { useArray as ft } from "./
|
25
|
+
import { useArray as ft } from "./index258.js";
|
26
26
|
import { useBaseOptions as vt } from "./index246.js";
|
27
27
|
import { useIndexById as ae } from "./index245.js";
|
28
28
|
import { useCoherence as yt } from "./index247.js";
|
29
|
-
import { hash as ht } from "./
|
29
|
+
import { hash as ht } from "./index227.js";
|
30
30
|
import { useHashedWatcher as ne } from "./index248.js";
|
31
|
-
import { useLocale as bt } from "./
|
32
|
-
import { autoUpdate as gt, flip as wt, offset as Bt, shift as Vt } from "./
|
31
|
+
import { useLocale as bt } from "./index216.js";
|
32
|
+
import { autoUpdate as gt, flip as wt, offset as Bt, shift as Vt } from "./index224.js";
|
33
33
|
const It = { class: "bb-base-select__input-container" }, kt = {
|
34
34
|
key: 1,
|
35
35
|
class: "bb-base-select__max-reached"
|
@@ -69,6 +69,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
69
69
|
readonly: { type: Boolean },
|
70
70
|
required: { type: Boolean },
|
71
71
|
stash: { type: Boolean },
|
72
|
+
teleportTarget: {},
|
72
73
|
transitionDuration: { default: 300 },
|
73
74
|
updateOnAnimationFrame: { type: Boolean, default: !1 }
|
74
75
|
},
|
@@ -77,9 +78,9 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
77
78
|
const t = ie, u = ue;
|
78
79
|
if (t.multiple && !Array.isArray(t.modelValue))
|
79
80
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
80
|
-
const { t: re } = bt(), se = Ge(() => import("./
|
81
|
-
() => t.comma ?
|
82
|
-
), { isMobile: de } = et(),
|
81
|
+
const { t: re } = bt(), se = Ge(() => import("./index256.js")), E = f(null), I = f(null), n = f(null), _ = f(null), R = f(null), r = y(
|
82
|
+
() => t.comma ? _.value : R.value
|
83
|
+
), { isMobile: de } = et(), pe = y(
|
83
84
|
() => t.allowWriting === "not-mobile" && de.value ? "none" : void 0
|
84
85
|
), G = t.id || Ze().id.value;
|
85
86
|
at(
|
@@ -89,7 +90,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
89
90
|
},
|
90
91
|
{ threshold: [0, 1] }
|
91
92
|
);
|
92
|
-
const { floatingStyles:
|
93
|
+
const { floatingStyles: ce } = ot(
|
93
94
|
I,
|
94
95
|
n,
|
95
96
|
{
|
@@ -100,7 +101,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
100
101
|
), me = y(() => {
|
101
102
|
var l;
|
102
103
|
const e = {
|
103
|
-
...
|
104
|
+
...ce.value,
|
104
105
|
zIndex: "10"
|
105
106
|
};
|
106
107
|
return I.value && (e.width = `${(l = I.value) == null ? void 0 : l.$el.clientWidth}px`), e;
|
@@ -157,14 +158,14 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
157
158
|
m.value && await S();
|
158
159
|
}, Se = async () => {
|
159
160
|
var e, l;
|
160
|
-
!w.value || o.value || !s.value.length || ((e = r.value) != null && e.getHighlighted() && r.value.confirmOption(), await
|
161
|
+
!w.value || o.value || !s.value.length || ((e = r.value) != null && e.getHighlighted() && r.value.confirmOption(), await U(), (l = r.value) == null || l.focusPrevious());
|
161
162
|
}, o = f(""), {
|
162
163
|
getter: M,
|
163
164
|
debouncedGetter: Ce,
|
164
165
|
items: De,
|
165
166
|
loading: j
|
166
|
-
} =
|
167
|
-
items:
|
167
|
+
} = ct({
|
168
|
+
items: T(t, "items"),
|
168
169
|
debounce: t.queryDebounceTime
|
169
170
|
}), P = () => {
|
170
171
|
var e, l;
|
@@ -181,15 +182,15 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
181
182
|
await M(o.value, e, t.modelValue), P(), b();
|
182
183
|
}
|
183
184
|
}), {
|
184
|
-
array:
|
185
|
-
add:
|
185
|
+
array: Te,
|
186
|
+
add: xe,
|
186
187
|
remove: He,
|
187
188
|
set: Ae
|
188
189
|
} = ft(), s = y(() => $.value.filter((e) => e.selected)), Le = y(() => s.value.length ? "" : t.placeholder), { data: Q, get: Ee } = ae({
|
189
|
-
items:
|
190
|
+
items: T(t, "modelValue")
|
190
191
|
}), { options: $ } = vt({
|
191
|
-
disabled:
|
192
|
-
items: y(() => [...De.value, ...
|
192
|
+
disabled: T(t, "disabled"),
|
193
|
+
items: y(() => [...De.value, ...Te.value]),
|
193
194
|
itemText: t.itemText,
|
194
195
|
itemValue: t.itemValue,
|
195
196
|
max: t.max,
|
@@ -212,19 +213,19 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
212
213
|
let e;
|
213
214
|
s.value && (e = lt(s.value)), o.value = (e == null ? void 0 : e.text) || "";
|
214
215
|
}, qe = async (e) => {
|
215
|
-
t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash &&
|
216
|
+
t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && xe(e.item), b()) : (t.stash && Ae(e.item), u("update:modelValue", e.value), await U(), b()), q(), t.multiple || S();
|
216
217
|
}, X = async (e) => {
|
217
218
|
if (He((l) => l.valueHash !== e.valueHash), t.multiple) {
|
218
219
|
const l = { ...Q.value };
|
219
220
|
delete l[e.valueHash], u("update:modelValue", Object.values(l));
|
220
221
|
} else
|
221
|
-
u("update:modelValue", null), await
|
222
|
+
u("update:modelValue", null), await U(), b();
|
222
223
|
q();
|
223
224
|
}, { data: Me } = ae({
|
224
225
|
items: $,
|
225
226
|
key: "valueHash"
|
226
227
|
}), { coherent: Y, status: Pe } = yt({
|
227
|
-
modelValue:
|
228
|
+
modelValue: T(t, "modelValue"),
|
228
229
|
multiple: t.multiple,
|
229
230
|
iteratee: (e) => !!Me.value[ht(e)]
|
230
231
|
});
|
@@ -257,11 +258,11 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
257
258
|
z.value = !1, u("inactive");
|
258
259
|
}, Ke = (e) => {
|
259
260
|
e.preventDefault(), u("click", e), !(t.disabled || t.readonly) && (q(), Ne());
|
260
|
-
},
|
261
|
+
}, Ue = nt(
|
261
262
|
(e) => typeof e != "string",
|
262
263
|
JSON.stringify
|
263
|
-
),
|
264
|
-
const l =
|
264
|
+
), _e = y(() => [].concat(t.modelValue).map((e) => {
|
265
|
+
const l = Ue(e);
|
265
266
|
return {
|
266
267
|
disabled: t.disabled,
|
267
268
|
name: t.name,
|
@@ -269,7 +270,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
269
270
|
value: l
|
270
271
|
};
|
271
272
|
}));
|
272
|
-
return (e, l) => (h(),
|
273
|
+
return (e, l) => (h(), x(st, {
|
273
274
|
ref_key: "outerContainer",
|
274
275
|
ref: E,
|
275
276
|
class: Z({
|
@@ -285,10 +286,10 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
285
286
|
onClick: Ke
|
286
287
|
}, {
|
287
288
|
"prepend-outer": i(() => [
|
288
|
-
|
289
|
+
p(e.$slots, "prepend-outer", { query: o.value })
|
289
290
|
]),
|
290
291
|
"append-outer": i(() => [
|
291
|
-
|
292
|
+
p(e.$slots, "append-outer", { query: o.value })
|
292
293
|
]),
|
293
294
|
default: i(() => [
|
294
295
|
K(rt, {
|
@@ -299,28 +300,28 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
299
300
|
"prevent-focus": !0
|
300
301
|
}, {
|
301
302
|
prepend: i(() => [
|
302
|
-
|
303
|
+
p(e.$slots, "prepend", { query: o.value })
|
303
304
|
]),
|
304
305
|
prefix: i(() => [
|
305
|
-
|
306
|
+
p(e.$slots, "prefix")
|
306
307
|
]),
|
307
308
|
append: i(() => [
|
308
|
-
|
309
|
+
p(e.$slots, "append", { query: o.value })
|
309
310
|
]),
|
310
311
|
suffix: i(() => [
|
311
|
-
|
312
|
+
p(e.$slots, "suffix")
|
312
313
|
]),
|
313
314
|
default: i(() => [
|
314
315
|
K(V(tt), { tag: "span" }, {
|
315
316
|
default: i(() => [
|
316
317
|
H("span", It, [
|
317
318
|
e.multiple && s.value.length <= e.maxSelectedLabels ? (h(), A(ee, { key: 0 }, [
|
318
|
-
e.comma ? (h(),
|
319
|
+
e.comma ? (h(), x(ut, {
|
319
320
|
key: 0,
|
320
321
|
ref_key: "commaBox",
|
321
|
-
ref:
|
322
|
+
ref: _,
|
322
323
|
options: s.value
|
323
|
-
}, null, 8, ["options"])) : (h(),
|
324
|
+
}, null, 8, ["options"])) : (h(), x(it, {
|
324
325
|
key: 1,
|
325
326
|
ref_key: "chipsBox",
|
326
327
|
ref: R,
|
@@ -341,26 +342,26 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
341
342
|
autofocus: e.autofocus,
|
342
343
|
class: Z("bb-base-select__text-input"),
|
343
344
|
disabled: e.disabled,
|
344
|
-
inputmode:
|
345
|
+
inputmode: pe.value,
|
345
346
|
placeholder: Le.value,
|
346
347
|
readonly: e.readonly || !e.allowWriting,
|
347
348
|
required: e.required && !e.multiple || e.multiple && !e.modelValue.length,
|
348
349
|
role: "combobox",
|
349
350
|
size: "1",
|
350
351
|
type: "text",
|
351
|
-
onBlur:
|
352
|
-
onChange:
|
353
|
-
onFocusOnce:
|
354
|
-
onFocus:
|
355
|
-
onInput:
|
352
|
+
onBlur: c(ye, ["stop"]),
|
353
|
+
onChange: c(he, ["stop"]),
|
354
|
+
onFocusOnce: c(ve, ["stop"]),
|
355
|
+
onFocus: c(fe, ["stop"]),
|
356
|
+
onInput: c(be, ["stop"]),
|
356
357
|
onKeydown: [
|
357
|
-
g(
|
358
|
-
g(
|
359
|
-
g(
|
360
|
-
g(
|
361
|
-
g(
|
362
|
-
g(
|
363
|
-
g(
|
358
|
+
g(c(Se, ["stop"]), ["delete"]),
|
359
|
+
g(c(Be, ["stop"]), ["left"]),
|
360
|
+
g(c(we, ["stop", "prevent"]), ["down"]),
|
361
|
+
g(c(Ie, ["stop", "prevent"]), ["enter"]),
|
362
|
+
g(c(ke, ["stop", "prevent"]), ["esc"]),
|
363
|
+
g(c(ge, ["stop", "prevent"]), ["up"]),
|
364
|
+
g(c(Ve, ["stop"]), ["right"])
|
364
365
|
]
|
365
366
|
}, null, 40, St), [
|
366
367
|
[Qe, o.value]
|
@@ -369,7 +370,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
369
370
|
]),
|
370
371
|
_: 1
|
371
372
|
}),
|
372
|
-
|
373
|
+
p(e.$slots, "chevron", {
|
373
374
|
loading: !!V(j),
|
374
375
|
shown: m.value
|
375
376
|
}, () => [
|
@@ -387,11 +388,14 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
387
388
|
]),
|
388
389
|
_: 3
|
389
390
|
}, 8, ["append:icon", "prepend:icon"]),
|
390
|
-
(h(!0), A(ee, null, Xe(
|
391
|
+
(h(!0), A(ee, null, Xe(_e.value, (a) => (h(), A("input", le({
|
391
392
|
key: a.value,
|
392
393
|
ref_for: !0
|
393
394
|
}, a), null, 16))), 128)),
|
394
|
-
W.value ? (h(),
|
395
|
+
W.value ? (h(), x(pt, {
|
396
|
+
key: 0,
|
397
|
+
target: e.teleportTarget
|
398
|
+
}, {
|
395
399
|
default: i(() => [
|
396
400
|
K(V(se), {
|
397
401
|
ref_key: "optionsContainer",
|
@@ -407,19 +411,19 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
407
411
|
"onOption:unselected": X
|
408
412
|
}, {
|
409
413
|
"options:prepend": i(() => [
|
410
|
-
|
414
|
+
p(e.$slots, "options:prepend")
|
411
415
|
]),
|
412
416
|
loading: i(() => [
|
413
|
-
|
417
|
+
p(e.$slots, "loading", { query: o.value })
|
414
418
|
]),
|
415
419
|
"no-data": i(() => [
|
416
|
-
|
420
|
+
p(e.$slots, "no-data", { query: o.value })
|
417
421
|
]),
|
418
422
|
"options:append": i(() => [
|
419
|
-
|
423
|
+
p(e.$slots, "options:append")
|
420
424
|
]),
|
421
425
|
option: i((a) => [
|
422
|
-
|
426
|
+
p(e.$slots, "option", le({
|
423
427
|
hasErrors: e.hasErrors,
|
424
428
|
loading: O.value
|
425
429
|
}, a))
|
@@ -428,7 +432,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
|
|
428
432
|
}, 8, ["compact", "loading", "loading-text", "no-data-text", "open", "options", "style"])
|
429
433
|
]),
|
430
434
|
_: 3
|
431
|
-
})) : te("", !0)
|
435
|
+
}, 8, ["target"])) : te("", !0)
|
432
436
|
]),
|
433
437
|
_: 3
|
434
438
|
}, 8, ["class"]));
|
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 "./index231.js";
|
3
|
+
import { head as O } from "./index250.js";
|
4
|
+
import { isCssColor as Y } from "./index228.js";
|
5
|
+
import { isNil as P } from "./index251.js";
|
6
6
|
import { isNotNil as ne } from "./index134.js";
|
7
7
|
import { transposeValue as y } from "./index131.js";
|
8
|
-
import { hash as J } from "./
|
8
|
+
import { hash as J } from "./index227.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 "./index228.js";
|
3
|
+
import { when as N } from "./index229.js";
|
4
4
|
const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
package/dist/index43.js
CHANGED
@@ -7,7 +7,7 @@ import { useItemsGetter as U } from "./index244.js";
|
|
7
7
|
import { useIndexById as T } from "./index245.js";
|
8
8
|
import { useBaseOptions as q } from "./index246.js";
|
9
9
|
import { useCoherence as J } from "./index247.js";
|
10
|
-
import { hash as Q } from "./
|
10
|
+
import { hash as Q } from "./index227.js";
|
11
11
|
import { useHashedWatcher as E } from "./index248.js";
|
12
12
|
import { usePrefill as X } from "./index249.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
package/dist/index45.js
CHANGED
@@ -3,16 +3,16 @@ import { defineComponent as R, ref as u, computed as f, toRef as E, watch as j,
|
|
3
3
|
/* empty css */
|
4
4
|
import oe from "./index128.js";
|
5
5
|
/* empty css */
|
6
|
-
import { last as ae } from "./
|
6
|
+
import { last as ae } from "./index214.js";
|
7
7
|
import { useBaseOptions as ne } from "./index246.js";
|
8
8
|
import { useIndexById as le } from "./index245.js";
|
9
9
|
import re from "./index252.js";
|
10
10
|
/* empty css */
|
11
11
|
import ie from "./index254.js";
|
12
12
|
/* empty css */
|
13
|
-
import ue from "./
|
13
|
+
import ue from "./index220.js";
|
14
14
|
/* empty css */
|
15
|
-
import se from "./
|
15
|
+
import se from "./index222.js";
|
16
16
|
const de = { class: "bb-base-tag__input-container" }, pe = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], $e = /* @__PURE__ */ R({
|
17
17
|
__name: "BaseTag",
|
18
18
|
props: {
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as w, ref as y, computed as u, onMounted as g, watch as B, nextTick as x, openBlock as V, createBlock as k, normalizeClass as $, withCtx as t, renderSlot as r, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
|
2
|
-
import v from "./
|
3
|
-
import E from "./
|
2
|
+
import v from "./index222.js";
|
3
|
+
import E from "./index220.js";
|
4
4
|
/* empty css */
|
5
5
|
import G from "./index128.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as m, computed as c, openBlock as b, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as h, withCtx as n, renderSlot as t, createElementVNode as l, mergeProps as g } from "vue";
|
2
|
-
import B from "./
|
2
|
+
import B from "./index220.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index222.js";
|
5
5
|
const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
|
6
6
|
__name: "BaseTextInput",
|
7
7
|
props: {
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
|
2
|
-
import { isCssColor as _ } from "./
|
2
|
+
import { isCssColor as _ } from "./index228.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 "./index228.js";
|
3
|
+
import { isNil as B } from "./index251.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 $ } from "./index259.js";
|
11
11
|
import { noop as A } from "./index260.js";
|
12
|
-
import { useLocale as W } from "./
|
12
|
+
import { useLocale as W } from "./index216.js";
|
13
13
|
const w = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
package/dist/index75.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as
|
1
|
+
import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as H, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
|
2
2
|
import { findRightIndex as I } from "./index261.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index130.js";
|
@@ -23,6 +23,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
23
23
|
placement: { default: "bottom" },
|
24
24
|
theme: { default: "default" },
|
25
25
|
transitionDuration: { default: 300 },
|
26
|
+
teleportTarget: {},
|
26
27
|
items: {},
|
27
28
|
width: { default: 200 }
|
28
29
|
},
|
@@ -45,24 +46,24 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
45
46
|
if (s.key === "ArrowDown") {
|
46
47
|
if (s.preventDefault(), a.value && n !== o) {
|
47
48
|
const d = a.value.querySelector(
|
48
|
-
V.map((
|
49
|
+
V.map((w) => `#${i} ~ ${w}`).join(",")
|
49
50
|
);
|
50
51
|
d && d instanceof HTMLElement && d.focus();
|
51
52
|
}
|
52
53
|
} else if (s.key === "ArrowUp") {
|
53
54
|
if (s.preventDefault(), a.value && n !== e) {
|
54
|
-
const d = I(r.items, (E,
|
55
|
+
const d = I(r.items, (E, T) => T < n && !E.disabled), k = Array.from(
|
55
56
|
a.value.querySelectorAll(".bb-dropdown__item")
|
56
57
|
)[d];
|
57
58
|
k && k instanceof HTMLElement && k.focus();
|
58
59
|
}
|
59
60
|
} else if (s.key === "Tab") {
|
60
61
|
if (n === o && !s.shiftKey) {
|
61
|
-
const d = V.join(","),
|
62
|
+
const d = V.join(","), w = Array.from(
|
62
63
|
document.querySelectorAll(d)
|
63
|
-
), k =
|
64
|
-
(
|
65
|
-
), E =
|
64
|
+
), k = w.findIndex(
|
65
|
+
(T) => T.id === u
|
66
|
+
), E = w[k + 1];
|
66
67
|
if (E) E instanceof HTMLElement && (s.preventDefault(), b(), E.focus());
|
67
68
|
else return;
|
68
69
|
} else if (n === e && s.shiftKey) {
|
@@ -143,13 +144,13 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
143
144
|
[`bb-dropdown--${r.theme}`]: r.theme
|
144
145
|
}
|
145
146
|
}));
|
146
|
-
return (e, o) => ($(),
|
147
|
+
return (e, o) => ($(), D("span", B({ class: "bb-dropdown" }, J.value), [
|
147
148
|
H("span", {
|
148
149
|
ref_key: "wrapper",
|
149
150
|
ref: v,
|
150
151
|
class: "bb-dropdown__wrapper"
|
151
152
|
}, [
|
152
|
-
|
153
|
+
g(e.$slots, "activator", Y(Z({
|
153
154
|
props: {
|
154
155
|
"aria-expanded": l.value,
|
155
156
|
"aria-controls": `menu_${h(u)}`,
|
@@ -179,6 +180,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
179
180
|
open: l.value,
|
180
181
|
padding: e.padding,
|
181
182
|
placement: e.placement,
|
183
|
+
"teleport-target": e.teleportTarget,
|
182
184
|
theme: e.theme,
|
183
185
|
"transition-duration": e.transitionDuration,
|
184
186
|
wrapper: v.value
|
@@ -190,7 +192,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
190
192
|
class: "bb-dropdown__items-container",
|
191
193
|
style: x({ width: `${e.width}px` })
|
192
194
|
}, [
|
193
|
-
|
195
|
+
g(e.$slots, "prepend", {
|
194
196
|
closed: f.value,
|
195
197
|
closing: p.value,
|
196
198
|
disabled: e.disabled,
|
@@ -198,10 +200,10 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
198
200
|
opening: c.value,
|
199
201
|
placement: e.placement
|
200
202
|
}),
|
201
|
-
($(!0),
|
203
|
+
($(!0), D(K, null, ee(m.value, (t, n) => ($(), D(K, {
|
202
204
|
key: t.key
|
203
205
|
}, [
|
204
|
-
|
206
|
+
g(e.$slots, "item:prepend", {
|
205
207
|
closed: f.value,
|
206
208
|
closing: p.value,
|
207
209
|
disabled: t.disabled,
|
@@ -222,7 +224,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
222
224
|
ref_for: !0
|
223
225
|
}, t), {
|
224
226
|
default: O(() => [
|
225
|
-
|
227
|
+
g(e.$slots, t.key, {
|
226
228
|
closed: f.value,
|
227
229
|
closing: p.value,
|
228
230
|
disabled: t.disabled,
|
@@ -233,7 +235,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
233
235
|
placement: e.placement,
|
234
236
|
text: t.text
|
235
237
|
}, () => [
|
236
|
-
|
238
|
+
g(e.$slots, "item", {
|
237
239
|
closed: f.value,
|
238
240
|
closing: p.value,
|
239
241
|
disabled: t.disabled,
|
@@ -260,7 +262,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
260
262
|
]),
|
261
263
|
_: 2
|
262
264
|
}, 1040, ["class"]),
|
263
|
-
|
265
|
+
g(e.$slots, "item:append", {
|
264
266
|
closed: f.value,
|
265
267
|
closing: p.value,
|
266
268
|
disabled: t.disabled,
|
@@ -272,7 +274,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
272
274
|
text: t.text
|
273
275
|
})
|
274
276
|
], 64))), 128)),
|
275
|
-
|
277
|
+
g(e.$slots, "append", {
|
276
278
|
closed: f.value,
|
277
279
|
closing: p.value,
|
278
280
|
disabled: e.disabled,
|
@@ -283,7 +285,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
283
285
|
], 4)
|
284
286
|
]),
|
285
287
|
_: 3
|
286
|
-
}, 8, ["arrow-padding", "container-attributes", "eager", "offset", "open", "padding", "placement", "theme", "transition-duration", "wrapper"])
|
288
|
+
}, 8, ["arrow-padding", "container-attributes", "eager", "offset", "open", "padding", "placement", "teleport-target", "theme", "transition-duration", "wrapper"])
|
287
289
|
], 16));
|
288
290
|
}
|
289
291
|
});
|
package/dist/index77.js
CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import Z from "./index129.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as j } from "./
|
12
|
+
import { useLocale as j } from "./index216.js";
|
13
13
|
const q = { class: "bb-dropdown-button__content" }, A = {
|
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 "./index272.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("./index271.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 "./index240.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 se, ref as l, useAttrs as ae, computed as u, getCurrentInstance as ne, nextTick as ie, onBeforeUnmount as O, onMounted as re, watch as ue, openBlock as g, createBlock as ce, withCtx as de, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as fe, toDisplayString as A, unref as ve, createCommentVNode as $ } from "vue";
|
2
|
-
import { useFocusTrap as pe } from "./
|
2
|
+
import { useFocusTrap as pe } from "./index215.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import be from "./
|
5
|
+
import { useModalsState as b } from "./index241.js";
|
6
|
+
import be from "./index219.js";
|
7
7
|
import { useMobile as me } from "./index9.js";
|
8
|
-
import { useLocale as ye } from "./
|
8
|
+
import { useLocale as ye } from "./index216.js";
|
9
9
|
const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
|
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 "./index289.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 "./index216.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: {
|