bitboss-ui 2.0.78 → 2.0.79
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/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
- package/dist/components/OptionsContainer.vue.d.ts +1 -1
- package/dist/index110.js +5 -5
- package/dist/index118.js +25 -21
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +2 -81
- package/dist/index205.js +5 -2
- package/dist/index206.js +16 -8
- package/dist/index207.js +16 -3
- package/dist/index208.js +18 -40
- package/dist/index209.js +19 -6
- package/dist/index21.js +14 -14
- package/dist/index210.js +27 -7
- package/dist/index211.js +3 -5
- package/dist/index212.js +2 -16
- package/dist/index213.js +8 -16
- package/dist/index214.js +249 -19
- package/dist/index215.js +51 -18
- package/dist/index216.js +44 -27
- package/dist/index217.js +5 -3
- package/dist/index218.js +60 -2
- package/dist/index219.js +47 -243
- package/dist/index221.js +13 -44
- package/dist/index222.js +20 -5
- package/dist/index223.js +4 -60
- package/dist/index224.js +124 -51
- package/dist/index225.js +127 -0
- package/dist/index226.js +2 -13
- package/dist/index227.js +39 -162
- package/dist/index228.js +5 -83
- package/dist/index229.js +7 -0
- package/dist/index23.js +188 -187
- package/dist/index230.js +12 -3
- package/dist/index231.js +353 -110
- package/dist/index232.js +81 -125
- package/dist/index233.js +3 -2
- package/dist/index234.js +2 -20
- package/dist/index235.js +4 -5
- package/dist/index236.js +2 -369
- package/dist/index237.js +164 -4
- package/dist/index238.js +84 -2
- package/dist/index240.js +3 -2
- package/dist/index241.js +7 -2
- package/dist/index242.js +2 -106
- package/dist/index244.js +53 -47
- package/dist/index246.js +100 -2
- package/dist/index248.js +2 -10
- package/dist/index249.js +9 -2
- package/dist/index25.js +109 -105
- package/dist/index250.js +2 -8
- package/dist/index251.js +6 -23
- package/dist/index252.js +14 -87
- package/dist/index253.js +11 -0
- package/dist/index254.js +23 -6
- package/dist/index255.js +87 -14
- package/dist/index257.js +8 -5
- package/dist/index258.js +3 -2
- package/dist/index260.js +7 -2
- package/dist/index261.js +176 -2
- package/dist/index262.js +281 -2
- package/dist/index263.js +6 -2
- package/dist/index264.js +2 -2
- package/dist/index265.js +2 -2
- package/dist/index266.js +2 -2
- package/dist/index267.js +2 -2
- package/dist/index268.js +2 -28
- package/dist/index269.js +2 -22
- package/dist/index27.js +1 -1
- package/dist/index270.js +4 -0
- package/dist/index271.js +2 -7
- package/dist/index272.js +2 -431
- package/dist/index273.js +2 -89
- package/dist/index274.js +27 -8
- package/dist/index275.js +22 -3
- package/dist/index277.js +2 -200
- package/dist/index278.js +126 -3
- package/dist/index279.js +430 -11
- package/dist/index280.js +21 -8
- package/dist/index282.js +2 -17
- package/dist/index283.js +223 -3
- package/dist/index284.js +200 -224
- package/dist/index285.js +436 -2
- package/dist/index286.js +121 -120
- package/dist/index287.js +3 -175
- package/dist/index288.js +3 -22
- package/dist/index289.js +14 -0
- package/dist/index29.js +3 -3
- package/dist/index290.js +9 -4
- package/dist/index291.js +9 -436
- package/dist/index292.js +16 -126
- package/dist/index293.js +4 -2
- package/dist/index294.js +89 -3
- package/dist/index296.js +3 -5
- package/dist/index297.js +204 -59
- package/dist/index298.js +2 -211
- package/dist/index299.js +5 -5
- package/dist/index300.js +66 -8
- package/dist/index304.js +1 -1
- package/dist/index305.js +4 -3
- package/dist/index306.js +7 -6
- package/dist/index307.js +6 -6
- package/dist/index308.js +6 -18
- package/dist/index309.js +18 -32
- package/dist/index31.js +2 -2
- package/dist/index310.js +32 -10
- package/dist/index311.js +3 -46
- package/dist/index312.js +47 -12
- package/dist/index313.js +10 -479
- package/dist/index314.js +1 -1
- package/dist/index315.js +482 -0
- package/dist/index317.js +1 -1
- package/dist/index318.js +47 -2
- package/dist/index319.js +2 -47
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +99 -98
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +2 -2
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +110 -106
- package/dist/index86.js +1 -1
- package/dist/index88.js +4 -4
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index220.js +0 -54
- package/dist/index239.js +0 -6
- package/dist/index256.js +0 -283
- package/dist/index259.js +0 -4
- package/dist/index281.js +0 -11
- package/dist/index316.js +0 -4
- /package/dist/{index247.js → index243.js} +0 -0
package/dist/index37.js
CHANGED
@@ -1,32 +1,33 @@
|
|
1
|
-
import { defineComponent as xe, defineAsyncComponent as Me, ref as v, computed as y, toRef as V, openBlock as b, createBlock as S, normalizeClass as W, withCtx as
|
1
|
+
import { defineComponent as xe, defineAsyncComponent as Me, ref as v, computed as y, toRef as V, openBlock as b, createBlock as S, normalizeClass as W, withCtx as r, renderSlot as p, unref as i, createVNode as N, createElementVNode as $, createElementBlock as T, Fragment as R, toDisplayString as Ne, createCommentVNode as J, withDirectives as He, isRef as Pe, withModifiers as d, withKeys as g, vModelDynamic as _e, renderList as ze, mergeProps as Y, normalizeStyle as Qe, nextTick as Ke } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
|
-
import { useId as
|
5
|
-
import { useMobile as
|
6
|
-
import
|
4
|
+
import { useId as Ue } from "./index8.js";
|
5
|
+
import { useMobile as We } from "./index9.js";
|
6
|
+
import Re from "./index127.js";
|
7
7
|
/* empty css */
|
8
|
-
import { isNotNil as
|
9
|
-
import { last as
|
10
|
-
import { matchAnyKey as j } from "./
|
11
|
-
import { useFloating as
|
12
|
-
import { useIntersectionObserver as
|
13
|
-
import { useLogger as
|
14
|
-
import { useOptions as
|
8
|
+
import { isNotNil as Je } from "./index134.js";
|
9
|
+
import { last as Ye } from "./index212.js";
|
10
|
+
import { matchAnyKey as j } from "./index243.js";
|
11
|
+
import { useFloating as je } from "./index224.js";
|
12
|
+
import { useIntersectionObserver as Ge } from "./index132.js";
|
13
|
+
import { useLogger as Xe } from "./index213.js";
|
14
|
+
import { useOptions as Ze } from "./index237.js";
|
15
15
|
import { wait as L } from "./index131.js";
|
16
|
-
import { when as
|
17
|
-
import
|
16
|
+
import { when as et } from "./index235.js";
|
17
|
+
import tt from "./index244.js";
|
18
18
|
/* empty css */
|
19
|
-
import
|
19
|
+
import ot from "./index246.js";
|
20
20
|
/* empty css */
|
21
|
-
import
|
21
|
+
import nt from "./index219.js";
|
22
22
|
/* empty css */
|
23
|
-
import
|
24
|
-
import { waitFor as
|
25
|
-
import
|
23
|
+
import lt from "./index221.js";
|
24
|
+
import { waitFor as at } from "./index228.js";
|
25
|
+
import it from "./index230.js";
|
26
|
+
import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index231.js";
|
26
27
|
const dt = { class: "bb-base-select__input-container" }, ct = {
|
27
28
|
key: 1,
|
28
29
|
class: "bb-base-select__max-reached"
|
29
|
-
}, ft = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"],
|
30
|
+
}, ft = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], Pt = /* @__PURE__ */ xe({
|
30
31
|
__name: "BaseSelect",
|
31
32
|
props: {
|
32
33
|
addOptions: { type: Boolean },
|
@@ -71,19 +72,19 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
71
72
|
const t = G, h = X;
|
72
73
|
if (t.multiple && !Array.isArray(t.modelValue))
|
73
74
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
74
|
-
const Z = Me(() => import("./
|
75
|
+
const Z = Me(() => import("./index242.js")), A = v(null), B = v(null), a = v(null), H = v(null), P = v(null), u = y(
|
75
76
|
() => t.comma ? H.value : P.value
|
76
|
-
), { isMobile: ee } =
|
77
|
+
), { isMobile: ee } = We(), te = y(
|
77
78
|
() => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
|
78
|
-
),
|
79
|
-
|
79
|
+
), _ = t.id || Ue().id.value;
|
80
|
+
Ge(
|
80
81
|
B,
|
81
82
|
([{ intersectionRatio: e }]) => {
|
82
83
|
e !== 1 && C();
|
83
84
|
},
|
84
85
|
{ threshold: [0, 1] }
|
85
86
|
);
|
86
|
-
const { floatingStyles: oe } =
|
87
|
+
const { floatingStyles: oe } = je(
|
87
88
|
B,
|
88
89
|
a,
|
89
90
|
{
|
@@ -121,15 +122,15 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
121
122
|
var e, o, n;
|
122
123
|
w.value && ((e = u.value) == null || e.blur(), c.value ? (o = a.value) == null || o.focusNext() : (await O(), await L(t.transitionDuration), (n = a.value) == null || n.focusFirstSelected()));
|
123
124
|
}, de = (e) => {
|
124
|
-
var n,
|
125
|
+
var n, s, m, k;
|
125
126
|
if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
|
126
|
-
(
|
127
|
+
(s = u.value) == null || s.focusPrevious();
|
127
128
|
const o = (m = u.value) == null ? void 0 : m.getHighlighted();
|
128
129
|
o && ((k = a.value) == null || k.focusByHash(o.valueHash));
|
129
130
|
}, ce = (e) => {
|
130
|
-
var n,
|
131
|
+
var n, s, m, k;
|
131
132
|
if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
|
132
|
-
(
|
133
|
+
(s = u.value) == null || s.focusNext();
|
133
134
|
const o = (m = u.value) == null ? void 0 : m.getHighlighted();
|
134
135
|
o && ((k = a.value) == null || k.focusByHash(o.valueHash));
|
135
136
|
}, fe = async () => {
|
@@ -141,28 +142,28 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
141
142
|
a.value.confirmOption();
|
142
143
|
else if (t.addOptions) {
|
143
144
|
if (t.itemText || t.itemValue) {
|
144
|
-
const { error:
|
145
|
-
|
145
|
+
const { error: s } = Xe();
|
146
|
+
s(
|
146
147
|
`Adding an option for mapped items is not supported. You can't create an option while passing "item-text" or "item-value".`
|
147
148
|
);
|
148
149
|
return;
|
149
150
|
}
|
150
151
|
const n = l.value.trim();
|
151
152
|
if (De(n)) return;
|
152
|
-
he(), K(
|
153
|
+
he(), K(Ye(Ie.value));
|
153
154
|
}
|
154
155
|
}
|
155
156
|
}, me = async () => {
|
156
157
|
c.value && await C();
|
157
158
|
}, ve = async () => {
|
158
159
|
var e, o;
|
159
|
-
!w.value || l.value || !f.value.length || ((e = u.value) != null && e.getHighlighted() && u.value.confirmOption(), await
|
160
|
-
}, ye = t.prefill === !0 || !t.multiple &&
|
160
|
+
!w.value || l.value || !f.value.length || ((e = u.value) != null && e.getHighlighted() && u.value.confirmOption(), await Ke(), (o = u.value) == null || o.focusPrevious());
|
161
|
+
}, ye = t.prefill === !0 || !t.multiple && Je(t.modelValue) || t.multiple && !!t.modelValue.length, {
|
161
162
|
query: l,
|
162
163
|
alignQueryToState: be,
|
163
164
|
addCurrentQueryToManualItems: he,
|
164
|
-
innerLoading:
|
165
|
-
options:
|
165
|
+
innerLoading: z,
|
166
|
+
options: Q,
|
166
167
|
selectedOptions: f,
|
167
168
|
selectOption: ge,
|
168
169
|
unselectOption: we,
|
@@ -173,7 +174,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
173
174
|
valueIsSelected: De,
|
174
175
|
manualItems: Ie,
|
175
176
|
searchByQuery: Ve
|
176
|
-
} =
|
177
|
+
} = Ze({
|
177
178
|
emit: h,
|
178
179
|
itemText: t.itemText,
|
179
180
|
itemValue: t.itemValue,
|
@@ -190,21 +191,21 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
190
191
|
depsDebounceTime: t.depsDebounceTime,
|
191
192
|
queryDebounceTime: t.queryDebounceTime,
|
192
193
|
disabled: V(t, "disabled")
|
193
|
-
}), Se = y(() => f.value.length ? "" : t.placeholder), I = y(() => !!(
|
194
|
+
}), Se = y(() => f.value.length ? "" : t.placeholder), I = y(() => !!(z.value || t.loading)), $e = y(() => {
|
194
195
|
let e = [];
|
195
196
|
const o = f.value.some(
|
196
|
-
(
|
197
|
+
(s) => s.text === l.value
|
197
198
|
);
|
198
|
-
return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e =
|
199
|
+
return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e = Q.value.filter((s) => {
|
199
200
|
let m = !1;
|
200
|
-
return typeof t.filterBy == "function" ? m = t.filterBy(
|
201
|
-
}) : e =
|
201
|
+
return typeof t.filterBy == "function" ? m = t.filterBy(s.value, s.item) : Array.isArray(t.filterBy) && t.filterBy.length && (m = m || j(s.item, t.filterBy, l.value.trim())), m || j(s, ["text"], l.value.trim());
|
202
|
+
}) : e = Q.value, e;
|
202
203
|
}), K = (e) => {
|
203
204
|
ge(e), E(), t.multiple || C();
|
204
205
|
}, U = (e) => {
|
205
206
|
we(e), E();
|
206
207
|
}, c = v(!1), F = v(!0), x = v(!1), O = async () => {
|
207
|
-
x.value = !0, await
|
208
|
+
x.value = !0, await at(() => !!a.value), F.value = !1, c.value = !0;
|
208
209
|
}, C = async () => {
|
209
210
|
var e;
|
210
211
|
c.value = !1, F.value = !0, (e = u.value) == null || e.blur();
|
@@ -214,7 +215,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
214
215
|
M.value = !1, h("inactive");
|
215
216
|
}, qe = (e) => {
|
216
217
|
e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(), Te());
|
217
|
-
}, Ee =
|
218
|
+
}, Ee = et(
|
218
219
|
(e) => typeof e != "string",
|
219
220
|
JSON.stringify
|
220
221
|
), Fe = y(() => [].concat(t.modelValue).map((e) => {
|
@@ -226,7 +227,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
226
227
|
value: o
|
227
228
|
};
|
228
229
|
}));
|
229
|
-
return (e, o) => (b(), S(
|
230
|
+
return (e, o) => (b(), S(lt, {
|
230
231
|
ref_key: "outerContainer",
|
231
232
|
ref: A,
|
232
233
|
class: W({
|
@@ -240,43 +241,43 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
240
241
|
}),
|
241
242
|
onClick: qe
|
242
243
|
}, {
|
243
|
-
"prepend-outer":
|
244
|
+
"prepend-outer": r(() => [
|
244
245
|
p(e.$slots, "prepend-outer", { query: i(l) })
|
245
246
|
]),
|
246
|
-
"append-outer":
|
247
|
+
"append-outer": r(() => [
|
247
248
|
p(e.$slots, "append-outer", { query: i(l) })
|
248
249
|
]),
|
249
|
-
default:
|
250
|
-
N(
|
250
|
+
default: r(() => [
|
251
|
+
N(nt, {
|
251
252
|
ref_key: "innerContainer",
|
252
253
|
ref: B,
|
253
254
|
"append:icon": t["append:icon"],
|
254
255
|
"prepend:icon": t["prepend:icon"],
|
255
256
|
"prevent-focus": !0
|
256
257
|
}, {
|
257
|
-
prepend:
|
258
|
+
prepend: r(() => [
|
258
259
|
p(e.$slots, "prepend", { query: i(l) })
|
259
260
|
]),
|
260
|
-
prefix:
|
261
|
+
prefix: r(() => [
|
261
262
|
p(e.$slots, "prefix")
|
262
263
|
]),
|
263
|
-
append:
|
264
|
+
append: r(() => [
|
264
265
|
p(e.$slots, "append", { query: i(l) })
|
265
266
|
]),
|
266
|
-
suffix:
|
267
|
+
suffix: r(() => [
|
267
268
|
p(e.$slots, "suffix")
|
268
269
|
]),
|
269
|
-
default:
|
270
|
-
N(i(
|
271
|
-
default:
|
270
|
+
default: r(() => [
|
271
|
+
N(i(Re), { tag: "span" }, {
|
272
|
+
default: r(() => [
|
272
273
|
$("span", dt, [
|
273
274
|
e.multiple && i(f).length <= e.maxSelectedLabels ? (b(), T(R, { key: 0 }, [
|
274
|
-
e.comma ? (b(), S(
|
275
|
+
e.comma ? (b(), S(ot, {
|
275
276
|
key: 0,
|
276
277
|
ref_key: "commaBox",
|
277
278
|
ref: H,
|
278
279
|
options: i(f)
|
279
|
-
}, null, 8, ["options"])) : (b(), S(
|
280
|
+
}, null, 8, ["options"])) : (b(), S(tt, {
|
280
281
|
key: 1,
|
281
282
|
ref_key: "chipsBox",
|
282
283
|
ref: P,
|
@@ -285,12 +286,12 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
285
286
|
}, null, 8, ["options"]))
|
286
287
|
], 64)) : e.multiple ? (b(), T("span", ct, Ne(i(f).length) + " elementi selezionati ", 1)) : J("", !0),
|
287
288
|
He($("input", {
|
288
|
-
id: i(
|
289
|
+
id: i(_),
|
289
290
|
ref_key: "input",
|
290
291
|
ref: q,
|
291
292
|
"onUpdate:modelValue": o[0] || (o[0] = (n) => Pe(l) ? l.value = n : null),
|
292
293
|
"aria-autocomplete": "list",
|
293
|
-
"aria-controls": x.value ? `${i(
|
294
|
+
"aria-controls": x.value ? `${i(_)}_listbox` : void 0,
|
294
295
|
"aria-describedby": e.ariaDescribedby,
|
295
296
|
"aria-expanded": c.value,
|
296
297
|
autocomplete: e.autocomplete,
|
@@ -318,14 +319,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
318
319
|
g(d(ce, ["stop"]), ["right"])
|
319
320
|
]
|
320
321
|
}, null, 40, ft), [
|
321
|
-
[
|
322
|
+
[_e, i(l)]
|
322
323
|
])
|
323
324
|
])
|
324
325
|
]),
|
325
326
|
_: 1
|
326
327
|
}),
|
327
328
|
p(e.$slots, "chevron", {
|
328
|
-
loading: !!i(
|
329
|
+
loading: !!i(z),
|
329
330
|
shown: c.value
|
330
331
|
}, () => [
|
331
332
|
o[1] || (o[1] = $("svg", {
|
@@ -342,50 +343,50 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
342
343
|
]),
|
343
344
|
_: 3
|
344
345
|
}, 8, ["append:icon", "prepend:icon"]),
|
345
|
-
(b(!0), T(R, null,
|
346
|
+
(b(!0), T(R, null, ze(Fe.value, (n) => (b(), T("input", Y({
|
346
347
|
key: n.value,
|
347
348
|
ref_for: !0
|
348
349
|
}, n), null, 16))), 128)),
|
349
|
-
x.value ? (b(), S(
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
])
|
381
|
-
|
382
|
-
|
383
|
-
|
350
|
+
x.value ? (b(), S(it, { key: 0 }, {
|
351
|
+
default: r(() => [
|
352
|
+
N(i(Z), {
|
353
|
+
ref_key: "optionsContainer",
|
354
|
+
ref: a,
|
355
|
+
loading: I.value,
|
356
|
+
open: c.value,
|
357
|
+
options: $e.value,
|
358
|
+
style: Qe(ne.value),
|
359
|
+
"onOption:selected": K,
|
360
|
+
"onOption:unselected": U
|
361
|
+
}, {
|
362
|
+
"options:prepend": r(() => [
|
363
|
+
p(e.$slots, "options:prepend")
|
364
|
+
]),
|
365
|
+
loading: r(() => [
|
366
|
+
p(e.$slots, "loading", { query: i(l) })
|
367
|
+
]),
|
368
|
+
"no-data": r(() => [
|
369
|
+
p(e.$slots, "no-data", { query: i(l) })
|
370
|
+
]),
|
371
|
+
"options:append": r(() => [
|
372
|
+
p(e.$slots, "options:append")
|
373
|
+
]),
|
374
|
+
option: r((n) => [
|
375
|
+
p(e.$slots, "option", Y({
|
376
|
+
hasErrors: e.hasErrors,
|
377
|
+
loading: I.value
|
378
|
+
}, n))
|
379
|
+
]),
|
380
|
+
_: 3
|
381
|
+
}, 8, ["loading", "open", "options", "style"])
|
382
|
+
]),
|
383
|
+
_: 3
|
384
|
+
})) : J("", !0)
|
384
385
|
]),
|
385
386
|
_: 3
|
386
387
|
}, 8, ["class"]));
|
387
388
|
}
|
388
389
|
});
|
389
390
|
export {
|
390
|
-
|
391
|
+
Pt as default
|
391
392
|
};
|
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 "./
|
2
|
+
import { clamp as le } from "./index204.js";
|
3
|
+
import { head as O } from "./index248.js";
|
4
|
+
import { isCssColor as Y } from "./index234.js";
|
5
5
|
import { isNil as P } from "./index129.js";
|
6
6
|
import { isNotNil as ne } from "./index134.js";
|
7
7
|
import { transposeValue as y } from "./index130.js";
|
8
|
-
import { hash as J } from "./
|
8
|
+
import { hash as J } from "./index211.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 q, createElementVNode as l, renderSlot as A } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as F } from "./
|
2
|
+
import { isCssColor as b } from "./index234.js";
|
3
|
+
import { when as F } from "./index235.js";
|
4
4
|
const N = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
package/dist/index43.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as V, ref as p, toRef as l, openBlock as w, createBlock as B, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v, createSlots as z } from "vue";
|
2
|
-
import { useOptions as F } from "./
|
2
|
+
import { useOptions as F } from "./index237.js";
|
3
3
|
import M from "./index41.js";
|
4
4
|
/* empty css */
|
5
|
-
import S from "./
|
5
|
+
import S from "./index238.js";
|
6
6
|
/* empty css */
|
7
7
|
const I = /* @__PURE__ */ V({
|
8
8
|
__name: "BaseSwitchGroup",
|
package/dist/index45.js
CHANGED
@@ -4,15 +4,15 @@ import { defineComponent as Y, ref as i, computed as k, toRef as B, openBlock as
|
|
4
4
|
import ue from "./index127.js";
|
5
5
|
/* empty css */
|
6
6
|
import { isNotNil as se } from "./index134.js";
|
7
|
-
import { last as de } from "./
|
8
|
-
import { useOptions as pe } from "./
|
9
|
-
import ce from "./
|
7
|
+
import { last as de } from "./index212.js";
|
8
|
+
import { useOptions as pe } from "./index237.js";
|
9
|
+
import ce from "./index244.js";
|
10
10
|
/* empty css */
|
11
|
-
import me from "./
|
11
|
+
import me from "./index246.js";
|
12
12
|
/* empty css */
|
13
|
-
import fe from "./
|
13
|
+
import fe from "./index219.js";
|
14
14
|
/* empty css */
|
15
|
-
import ve from "./
|
15
|
+
import ve from "./index221.js";
|
16
16
|
const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], qe = /* @__PURE__ */ Y({
|
17
17
|
__name: "BaseTag",
|
18
18
|
props: {
|
@@ -207,11 +207,11 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
207
207
|
type: "text",
|
208
208
|
onFocus: d(J, ["stop"]),
|
209
209
|
onKeydown: [
|
210
|
+
d(Z, ["stop"]),
|
210
211
|
y(d(U, ["stop"]), ["delete"]),
|
211
212
|
y(d(Q, ["stop"]), ["left"]),
|
212
213
|
y(d(z, ["stop", "prevent"]), ["esc"]),
|
213
|
-
y(d(R, ["stop"]), ["right"])
|
214
|
-
d(Z, ["stop"])
|
214
|
+
y(d(R, ["stop"]), ["right"])
|
215
215
|
]
|
216
216
|
}), null, 16, be), [
|
217
217
|
[re, v(o)]
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as w, ref as g, computed as u, onMounted as y, watch as V, nextTick as k, openBlock as x, createBlock as B, normalizeClass as $, withCtx as r, renderSlot as t, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
|
2
|
-
import v from "./
|
3
|
-
import E from "./
|
2
|
+
import v from "./index221.js";
|
3
|
+
import E from "./index219.js";
|
4
4
|
/* empty css */
|
5
5
|
import G from "./index127.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 p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
|
2
|
-
import B from "./
|
2
|
+
import B from "./index219.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index221.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/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 "./index234.js";
|
3
3
|
import { wait as C } from "./index131.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 "./index234.js";
|
3
3
|
import { isNil as B } from "./index129.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,8 +7,8 @@ import r from "./index126.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import P from "./index128.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as $ } from "./
|
11
|
-
import { noop as A } from "./
|
10
|
+
import { pickBy as $ } from "./index249.js";
|
11
|
+
import { noop as A } from "./index250.js";
|
12
12
|
const T = {
|
13
13
|
key: 2,
|
14
14
|
class: "bb-button__loading-label sr-only"
|
package/dist/index75.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as J, computed as A, ref as w, openBlock as T, createElementBlock as D, mergeProps as B, createElementVNode as C, renderSlot as g, normalizeProps as Q, guardReactiveProps as W, unref as h, createVNode as O, withCtx as K, normalizeStyle as X, Fragment as P, renderList as Y } from "vue";
|
2
|
-
import { findRightIndex as H } from "./
|
2
|
+
import { findRightIndex as H } from "./index253.js";
|
3
3
|
import { useId as Z } from "./index8.js";
|
4
4
|
import { wait as x } from "./index131.js";
|
5
5
|
import { useIntersectionObserver as ee } from "./index132.js";
|
6
6
|
import te from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import j from "./
|
9
|
-
import ne from "./
|
8
|
+
import j from "./index254.js";
|
9
|
+
import ne from "./index255.js";
|
10
10
|
/* empty css */
|
11
11
|
const pe = /* @__PURE__ */ J({
|
12
12
|
__name: "BbDropdown",
|
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 "./index252.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index127.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("./index251.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: {
|