bitboss-ui 2.0.54 → 2.0.55
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/index108.js +1 -1
- package/dist/index110.js +2 -2
- 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/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index205.js +115 -7
- package/dist/index206.js +2 -3
- package/dist/index207.js +4 -41
- package/dist/index208.js +2 -6
- package/dist/index209.js +53 -7
- package/dist/index21.js +13 -13
- package/dist/index211.js +13 -4
- package/dist/index212.js +3 -2
- package/dist/index213.js +41 -53
- package/dist/index214.js +8 -0
- package/dist/index215.js +7 -13
- package/dist/index216.js +7 -19
- package/dist/index217.js +20 -4
- package/dist/index218.js +3 -125
- package/dist/index219.js +2 -2
- package/dist/index220.js +13 -122
- package/dist/index221.js +15 -18
- package/dist/index222.js +18 -15
- package/dist/index223.js +16 -13
- package/dist/index224.js +27 -2
- package/dist/index225.js +3 -2
- package/dist/index226.js +2 -5
- package/dist/index227.js +246 -366
- package/dist/index228.js +52 -3
- package/dist/index229.js +44 -19
- package/dist/index23.js +14 -14
- package/dist/index230.js +5 -27
- package/dist/index231.js +49 -3
- package/dist/index232.js +122 -245
- package/dist/index233.js +124 -51
- package/dist/index234.js +2 -44
- package/dist/index235.js +4 -4
- package/dist/index236.js +369 -49
- package/dist/index237.js +3 -116
- package/dist/index238.js +3 -3
- package/dist/index241.js +2 -2
- package/dist/index242.js +2 -18
- package/dist/index243.js +17 -105
- package/dist/index244.js +108 -0
- package/dist/{index245.js → index246.js} +1 -1
- package/dist/index25.js +5 -5
- package/dist/index250.js +3 -430
- package/dist/index251.js +3 -89
- package/dist/index253.js +7 -3
- package/dist/index254.js +5 -0
- package/dist/index255.js +8 -6
- package/dist/index256.js +23 -176
- package/dist/index257.js +420 -189
- package/dist/index258.js +88 -280
- package/dist/index259.js +8 -5
- package/dist/index260.js +6 -2
- package/dist/index261.js +16 -2
- package/dist/index262.js +176 -2
- package/dist/index263.js +200 -2
- package/dist/index264.js +281 -2
- package/dist/index265.js +5 -125
- package/dist/index266.js +2 -22
- package/dist/index268.js +2 -6
- package/dist/index269.js +2 -16
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -3
- package/dist/index271.js +2 -9
- package/dist/index272.js +2 -23
- package/dist/index273.js +2 -9
- package/dist/index274.js +2 -224
- package/dist/index275.js +2 -436
- package/dist/index276.js +26 -125
- package/dist/index277.js +22 -2
- package/dist/index279.js +2 -2
- package/dist/index280.js +126 -2
- package/dist/index281.js +21 -1
- package/dist/index283.js +222 -26
- package/dist/index284.js +435 -21
- package/dist/index285.js +129 -0
- package/dist/index29.js +2 -2
- package/dist/index292.js +1 -1
- package/dist/index293.js +1 -1
- package/dist/index294.js +1 -1
- package/dist/index295.js +5 -2
- package/dist/index296.js +2 -5
- package/dist/index298.js +4 -32
- package/dist/index299.js +7 -4
- package/dist/index300.js +32 -7
- package/dist/index301.js +79 -4
- package/dist/index303.js +3 -58
- package/dist/index304.js +4 -4
- package/dist/index305.js +4 -79
- package/dist/index306.js +61 -0
- package/dist/index31.js +2 -2
- package/dist/{index314.js → index313.js} +1 -1
- package/dist/index35.js +3 -3
- package/dist/index37.js +96 -96
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index45.js +5 -5
- 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/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +1 -1
- package/dist/index88.js +3 -3
- package/package.json +1 -1
- package/dist/index210.js +0 -4
- package/dist/index247.js +0 -4
- package/dist/index252.js +0 -6
- package/dist/index282.js +0 -4
- package/dist/index302.js +0 -6
- /package/dist/{index278.js → index267.js} +0 -0
package/dist/index37.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as xe, defineAsyncComponent 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 s, renderSlot as p, unref as i, createVNode as x, 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 ze, renderList as Qe, mergeProps as Y, Teleport as _e, normalizeStyle as Ke, nextTick as Ue } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
4
|
import { useId as We } from "./index8.js";
|
@@ -6,23 +6,23 @@ import { useMobile as Re } from "./index9.js";
|
|
6
6
|
import Je from "./index127.js";
|
7
7
|
/* empty css */
|
8
8
|
import { isNotNil as Ye } from "./index134.js";
|
9
|
-
import { last as je } from "./
|
10
|
-
import { matchAnyKey as
|
11
|
-
import { useFloating as Ge } from "./
|
9
|
+
import { last as je } from "./index226.js";
|
10
|
+
import { matchAnyKey as j } from "./index243.js";
|
11
|
+
import { useFloating as Ge } from "./index232.js";
|
12
12
|
import { useIntersectionObserver as Xe } from "./index132.js";
|
13
|
-
import { useLogger as Ze } from "./
|
13
|
+
import { useLogger as Ze } from "./index216.js";
|
14
14
|
import { useOptions as et } from "./index238.js";
|
15
15
|
import { wait as L } from "./index131.js";
|
16
|
-
import { when as tt } from "./
|
17
|
-
import ot from "./
|
16
|
+
import { when as tt } from "./index207.js";
|
17
|
+
import ot from "./index244.js";
|
18
18
|
/* empty css */
|
19
|
-
import nt from "./
|
19
|
+
import nt from "./index246.js";
|
20
20
|
/* empty css */
|
21
|
-
import lt from "./
|
21
|
+
import lt from "./index209.js";
|
22
22
|
/* empty css */
|
23
|
-
import at from "./
|
24
|
-
import { waitFor as it } from "./
|
25
|
-
import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./
|
23
|
+
import at from "./index211.js";
|
24
|
+
import { waitFor as it } from "./index214.js";
|
25
|
+
import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index236.js";
|
26
26
|
const dt = { class: "bb-base-select__input-container" }, ct = {
|
27
27
|
key: 1,
|
28
28
|
class: "bb-base-select__max-reached"
|
@@ -67,14 +67,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
67
67
|
updateOnAnimationFrame: { type: Boolean, default: !1 }
|
68
68
|
},
|
69
69
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
|
70
|
-
setup(
|
71
|
-
const t =
|
70
|
+
setup(G, { emit: X }) {
|
71
|
+
const t = G, h = X;
|
72
72
|
if (t.multiple && !Array.isArray(t.modelValue))
|
73
73
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
74
|
-
const
|
74
|
+
const Z = Me(() => import("./index242.js")), A = v(null), B = v(null), a = v(null), M = v(null), N = v(null), u = y(
|
75
75
|
() => t.comma ? M.value : N.value
|
76
|
-
), { isMobile:
|
77
|
-
() => t.allowWriting === "not-mobile" &&
|
76
|
+
), { isMobile: ee } = Re(), te = y(
|
77
|
+
() => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
|
78
78
|
), H = t.id || We().id.value;
|
79
79
|
Xe(
|
80
80
|
B,
|
@@ -83,7 +83,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
83
83
|
},
|
84
84
|
{ threshold: [0, 1] }
|
85
85
|
);
|
86
|
-
const { floatingStyles:
|
86
|
+
const { floatingStyles: oe } = Ge(
|
87
87
|
B,
|
88
88
|
a,
|
89
89
|
{
|
@@ -91,48 +91,48 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
91
91
|
whileElementsMounted: rt,
|
92
92
|
middleware: [st(), ut(5), pt()]
|
93
93
|
}
|
94
|
-
),
|
94
|
+
), ne = y(() => {
|
95
95
|
var o;
|
96
96
|
const e = {
|
97
|
-
...
|
97
|
+
...oe.value,
|
98
98
|
zIndex: "10"
|
99
99
|
};
|
100
100
|
return B.value && (e.width = `${(o = B.value) == null ? void 0 : o.$el.clientWidth}px`), e;
|
101
101
|
}), q = v(null), E = () => {
|
102
102
|
q.value instanceof HTMLInputElement && q.value.focus();
|
103
|
-
},
|
104
|
-
h("focus", e),
|
105
|
-
},
|
106
|
-
t.prefill === "focus" && !
|
107
|
-
},
|
103
|
+
}, le = async (e) => {
|
104
|
+
h("focus", e), Le(), document.addEventListener("click", k), document.addEventListener("focusin", k);
|
105
|
+
}, ae = () => {
|
106
|
+
t.prefill === "focus" && !Oe.value && !Ce.value && Be();
|
107
|
+
}, ie = async (e) => {
|
108
108
|
h("blur", e);
|
109
|
-
},
|
109
|
+
}, re = (e) => h("change", e), se = (e) => {
|
110
110
|
var o;
|
111
|
-
h("input", e), l.value === "" && (t.multiple ||
|
111
|
+
h("input", e), l.value === "" && (t.multiple || ke(null)), (o = u.value) == null || o.blur(), Ve();
|
112
112
|
}, k = async (e) => {
|
113
113
|
if (e.target instanceof Node && A.value && a.value && !A.value.$el.contains(e.target) && !a.value.$el.contains(e.target)) {
|
114
|
-
O(),
|
114
|
+
O(), Ae(), document.removeEventListener("click", k), document.removeEventListener("focusin", k), await L(t.transitionDuration), be();
|
115
115
|
return;
|
116
116
|
}
|
117
|
-
}, w = y(() => !(t.readonly || t.disabled || D.value || !u.value && t.multiple)),
|
117
|
+
}, w = y(() => !(t.readonly || t.disabled || D.value || !u.value && t.multiple)), ue = async () => {
|
118
118
|
var e, o, n;
|
119
119
|
w.value && ((e = u.value) == null || e.blur(), c.value ? (o = a.value) == null || o.focusPrevious() : (await I(), await L(t.transitionDuration), (n = a.value) == null || n.focusLastSelected()));
|
120
|
-
},
|
120
|
+
}, pe = async () => {
|
121
121
|
var e, o, n;
|
122
122
|
w.value && ((e = u.value) == null || e.blur(), c.value ? (o = a.value) == null || o.focusNext() : (await I(), await L(t.transitionDuration), (n = a.value) == null || n.focusFirstSelected()));
|
123
|
-
},
|
123
|
+
}, de = (e) => {
|
124
124
|
var n, r, m, C;
|
125
125
|
if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
|
126
126
|
(r = u.value) == null || r.focusPrevious();
|
127
127
|
const o = (m = u.value) == null ? void 0 : m.getHighlighted();
|
128
128
|
o && ((C = a.value) == null || C.focusByHash(o.valueHash));
|
129
|
-
},
|
129
|
+
}, ce = (e) => {
|
130
130
|
var n, r, m, C;
|
131
131
|
if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
|
132
132
|
(r = u.value) == null || r.focusNext();
|
133
133
|
const o = (m = u.value) == null ? void 0 : m.getHighlighted();
|
134
134
|
o && ((C = a.value) == null || C.focusByHash(o.valueHash));
|
135
|
-
},
|
135
|
+
}, fe = async () => {
|
136
136
|
var e, o;
|
137
137
|
if (w.value) {
|
138
138
|
if (!c.value)
|
@@ -148,31 +148,31 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
148
148
|
return;
|
149
149
|
}
|
150
150
|
const n = l.value.trim();
|
151
|
-
if (
|
152
|
-
|
151
|
+
if (De(n)) return;
|
152
|
+
he(), Q(je(Ie.value));
|
153
153
|
}
|
154
154
|
}
|
155
|
-
}, fe = async () => {
|
156
|
-
c.value && await O();
|
157
155
|
}, me = async () => {
|
156
|
+
c.value && await O();
|
157
|
+
}, ve = async () => {
|
158
158
|
var e, o;
|
159
159
|
!w.value || l.value || !f.value.length || ((e = u.value) != null && e.getHighlighted() && u.value.confirmOption(), await Ue(), (o = u.value) == null || o.focusPrevious());
|
160
|
-
},
|
160
|
+
}, ye = t.prefill === !0 || !t.multiple && Ye(t.modelValue) || t.multiple && !!t.modelValue.length, {
|
161
161
|
query: l,
|
162
|
-
alignQueryToState:
|
163
|
-
addCurrentQueryToManualItems:
|
162
|
+
alignQueryToState: be,
|
163
|
+
addCurrentQueryToManualItems: he,
|
164
164
|
innerLoading: P,
|
165
165
|
options: z,
|
166
166
|
selectedOptions: f,
|
167
|
-
selectOption:
|
168
|
-
unselectOption:
|
169
|
-
prefillItems:
|
170
|
-
isPrefilling:
|
171
|
-
hasPrefilled:
|
172
|
-
updateModelValue:
|
173
|
-
valueIsSelected:
|
174
|
-
manualItems:
|
175
|
-
searchByQuery:
|
167
|
+
selectOption: ge,
|
168
|
+
unselectOption: we,
|
169
|
+
prefillItems: Be,
|
170
|
+
isPrefilling: Oe,
|
171
|
+
hasPrefilled: Ce,
|
172
|
+
updateModelValue: ke,
|
173
|
+
valueIsSelected: De,
|
174
|
+
manualItems: Ie,
|
175
|
+
searchByQuery: Ve
|
176
176
|
} = et({
|
177
177
|
emit: h,
|
178
178
|
itemText: t.itemText,
|
@@ -184,41 +184,41 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
184
184
|
stash: t.stash,
|
185
185
|
items: V(t, "items"),
|
186
186
|
enforceCoherence: t.enforceCoherence,
|
187
|
-
prefill:
|
187
|
+
prefill: ye,
|
188
188
|
modelValueDebounceTime: t.modelValueDebounceTime,
|
189
189
|
dependencies: V(t, "dependencies"),
|
190
190
|
depsDebounceTime: t.depsDebounceTime,
|
191
191
|
queryDebounceTime: t.queryDebounceTime,
|
192
192
|
disabled: V(t, "disabled")
|
193
|
-
}),
|
193
|
+
}), Se = y(() => f.value.length ? "" : t.placeholder), D = y(() => !!(P.value || t.loading)), $e = y(() => {
|
194
194
|
let e = [];
|
195
195
|
const o = f.value.some(
|
196
196
|
(r) => r.text === l.value
|
197
197
|
);
|
198
198
|
return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e = z.value.filter((r) => {
|
199
199
|
let m = !1;
|
200
|
-
return typeof t.filterBy == "function" ? m = t.filterBy(r.value, r.item) : Array.isArray(t.filterBy) && t.filterBy.length && (m = m ||
|
200
|
+
return typeof t.filterBy == "function" ? m = t.filterBy(r.value, r.item) : Array.isArray(t.filterBy) && t.filterBy.length && (m = m || j(r.item, t.filterBy, l.value.trim())), m || j(r, ["text"], l.value.trim());
|
201
201
|
}) : e = z.value, e;
|
202
|
-
}),
|
203
|
-
|
204
|
-
},
|
205
|
-
|
202
|
+
}), Q = (e) => {
|
203
|
+
ge(e), E(), t.multiple || O();
|
204
|
+
}, _ = (e) => {
|
205
|
+
we(e), E();
|
206
206
|
}, c = v(!1), K = v(!0), U = v(!1), I = async () => {
|
207
207
|
U.value = !0, await it(() => !!a.value), K.value = !1, c.value = !0;
|
208
208
|
}, O = async () => {
|
209
209
|
var e;
|
210
210
|
c.value = !1, K.value = !0, (e = u.value) == null || e.blur();
|
211
|
-
},
|
212
|
-
|
213
|
-
},
|
214
|
-
|
215
|
-
},
|
216
|
-
e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(),
|
217
|
-
},
|
211
|
+
}, Te = () => c.value ? O() : I(), F = v(!1), Le = () => {
|
212
|
+
F.value = !0;
|
213
|
+
}, Ae = () => {
|
214
|
+
F.value = !1, h("inactive");
|
215
|
+
}, qe = (e) => {
|
216
|
+
e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(), Te());
|
217
|
+
}, Ee = tt(
|
218
218
|
(e) => typeof e != "string",
|
219
219
|
JSON.stringify
|
220
|
-
),
|
221
|
-
const o =
|
220
|
+
), Fe = y(() => [].concat(t.modelValue).map((e) => {
|
221
|
+
const o = Ee(e);
|
222
222
|
return {
|
223
223
|
disabled: t.disabled,
|
224
224
|
name: t.name,
|
@@ -231,14 +231,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
231
231
|
ref: A,
|
232
232
|
class: W({
|
233
233
|
"bb-base-select": !0,
|
234
|
-
"bb-base-select--active":
|
234
|
+
"bb-base-select--active": F.value,
|
235
235
|
"bb-base-select--shown": c.value,
|
236
236
|
"bb-base-select--loading": D.value,
|
237
237
|
"bb-base-select--disabled": e.disabled,
|
238
238
|
"bb-base-select--errors": e.hasErrors,
|
239
239
|
"bb-base-select--readonly": e.readonly
|
240
240
|
}),
|
241
|
-
onClick:
|
241
|
+
onClick: qe
|
242
242
|
}, {
|
243
243
|
"prepend-outer": s(() => [
|
244
244
|
p(e.$slots, "prepend-outer", { query: i(l) })
|
@@ -247,7 +247,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
247
247
|
p(e.$slots, "append-outer", { query: i(l) })
|
248
248
|
]),
|
249
249
|
default: s(() => [
|
250
|
-
|
250
|
+
x(lt, {
|
251
251
|
ref_key: "innerContainer",
|
252
252
|
ref: B,
|
253
253
|
"append:icon": t["append:icon"],
|
@@ -267,7 +267,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
267
267
|
p(e.$slots, "suffix")
|
268
268
|
]),
|
269
269
|
default: s(() => [
|
270
|
-
|
270
|
+
x(i(Je), { tag: "span" }, {
|
271
271
|
default: s(() => [
|
272
272
|
$("span", dt, [
|
273
273
|
e.multiple && i(f).length <= e.maxSelectedLabels ? (b(), T(R, { key: 0 }, [
|
@@ -281,14 +281,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
281
281
|
ref_key: "chipsBox",
|
282
282
|
ref: N,
|
283
283
|
options: i(f),
|
284
|
-
"onOption:unselected":
|
284
|
+
"onOption:unselected": _
|
285
285
|
}, null, 8, ["options"]))
|
286
|
-
], 64)) : (b(), T("span", ct,
|
287
|
-
|
286
|
+
], 64)) : e.multiple ? (b(), T("span", ct, Ne(i(f).length) + " elementi selezionati ", 1)) : J("", !0),
|
287
|
+
He($("input", {
|
288
288
|
id: i(H),
|
289
289
|
ref_key: "input",
|
290
290
|
ref: q,
|
291
|
-
"onUpdate:modelValue": o[0] || (o[0] = (n) =>
|
291
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => Pe(l) ? l.value = n : null),
|
292
292
|
"aria-autocomplete": "list",
|
293
293
|
"aria-controls": `${i(H)}_listbox`,
|
294
294
|
"aria-describedby": e.ariaDescribedby,
|
@@ -297,28 +297,28 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
297
297
|
autofocus: e.autofocus,
|
298
298
|
class: W("bb-base-select__text-input"),
|
299
299
|
disabled: e.disabled,
|
300
|
-
inputmode:
|
301
|
-
placeholder:
|
300
|
+
inputmode: te.value,
|
301
|
+
placeholder: Se.value,
|
302
302
|
readonly: e.readonly || !e.allowWriting,
|
303
303
|
required: e.required && !e.multiple || e.multiple && !e.modelValue.length,
|
304
304
|
role: "combobox",
|
305
305
|
type: "text",
|
306
|
-
onBlur: d(
|
307
|
-
onChange: d(
|
308
|
-
onFocusOnce: d(
|
309
|
-
onFocus: d(
|
310
|
-
onInput: d(
|
306
|
+
onBlur: d(ie, ["stop"]),
|
307
|
+
onChange: d(re, ["stop"]),
|
308
|
+
onFocusOnce: d(ae, ["stop"]),
|
309
|
+
onFocus: d(le, ["stop"]),
|
310
|
+
onInput: d(se, ["stop"]),
|
311
311
|
onKeydown: [
|
312
|
-
g(d(
|
313
|
-
g(d(
|
314
|
-
g(d(
|
315
|
-
g(d(
|
316
|
-
g(d(
|
317
|
-
g(d(
|
318
|
-
g(d(
|
312
|
+
g(d(ve, ["stop"]), ["delete"]),
|
313
|
+
g(d(de, ["stop"]), ["left"]),
|
314
|
+
g(d(pe, ["stop", "prevent"]), ["down"]),
|
315
|
+
g(d(fe, ["stop", "prevent"]), ["enter"]),
|
316
|
+
g(d(me, ["stop", "prevent"]), ["esc"]),
|
317
|
+
g(d(ue, ["stop", "prevent"]), ["up"]),
|
318
|
+
g(d(ce, ["stop"]), ["right"])
|
319
319
|
]
|
320
320
|
}, null, 40, ft), [
|
321
|
-
[
|
321
|
+
[ze, i(l)]
|
322
322
|
])
|
323
323
|
])
|
324
324
|
]),
|
@@ -342,7 +342,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
342
342
|
]),
|
343
343
|
_: 3
|
344
344
|
}, 8, ["append:icon", "prepend:icon"]),
|
345
|
-
(b(!0), T(R, null,
|
345
|
+
(b(!0), T(R, null, Qe(Fe.value, (n) => (b(), T("input", Y({
|
346
346
|
key: n.value,
|
347
347
|
ref_for: !0
|
348
348
|
}, n), null, 16))), 128)),
|
@@ -350,15 +350,15 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
350
350
|
key: 0,
|
351
351
|
to: "body"
|
352
352
|
}, [
|
353
|
-
|
353
|
+
x(i(Z), {
|
354
354
|
ref_key: "optionsContainer",
|
355
355
|
ref: a,
|
356
356
|
loading: D.value,
|
357
357
|
open: c.value,
|
358
|
-
options:
|
359
|
-
style:
|
360
|
-
"onOption:selected":
|
361
|
-
"onOption:unselected":
|
358
|
+
options: $e.value,
|
359
|
+
style: Ke(ne.value),
|
360
|
+
"onOption:selected": Q,
|
361
|
+
"onOption:unselected": _
|
362
362
|
}, {
|
363
363
|
"options:prepend": s(() => [
|
364
364
|
p(e.$slots, "options:prepend")
|
@@ -373,14 +373,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
373
373
|
p(e.$slots, "options:append")
|
374
374
|
]),
|
375
375
|
option: s((n) => [
|
376
|
-
p(e.$slots, "option",
|
376
|
+
p(e.$slots, "option", Y({
|
377
377
|
hasErrors: e.hasErrors,
|
378
378
|
loading: D.value
|
379
379
|
}, n))
|
380
380
|
]),
|
381
381
|
_: 3
|
382
382
|
}, 8, ["loading", "open", "options", "style"])
|
383
|
-
])) :
|
383
|
+
])) : J("", !0)
|
384
384
|
]),
|
385
385
|
_: 3
|
386
386
|
}, 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
2
|
import { clamp as le } from "./index204.js";
|
3
|
-
import { head as O } from "./
|
4
|
-
import { isCssColor as Y } from "./
|
3
|
+
import { head as O } from "./index241.js";
|
4
|
+
import { isCssColor as Y } from "./index206.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 "./index225.js";
|
9
9
|
const oe = { class: "bb-base-slider__slider-container" }, ie = {
|
10
10
|
key: 0,
|
11
11
|
class: "bb-base-slider__ticks-container"
|
package/dist/index41.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as I, ref as f, computed as n, watch as S, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as 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 "./index206.js";
|
3
|
+
import { when as F } from "./index207.js";
|
4
4
|
const N = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
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 "./
|
7
|
+
import { last as de } from "./index226.js";
|
8
8
|
import { useOptions as pe } from "./index238.js";
|
9
|
-
import ce from "./
|
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 "./index209.js";
|
14
14
|
/* empty css */
|
15
|
-
import ve from "./
|
15
|
+
import ve from "./index211.js";
|
16
16
|
const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Ne = /* @__PURE__ */ Y({
|
17
17
|
__name: "BaseTag",
|
18
18
|
props: {
|
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 "./index211.js";
|
3
|
+
import E from "./index209.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 "./index209.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index211.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 "./index206.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 "./index206.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/index75.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as Q, defineAsyncComponent as W, computed as A, ref as g, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as O, renderSlot as w, normalizeProps as X, guardReactiveProps as Y, unref as h, createBlock as Z, withCtx as K, normalizeStyle as _, Fragment as P, renderList as x, createVNode as ee, createCommentVNode as te } from "vue";
|
2
|
-
import { findRightIndex as H } from "./
|
2
|
+
import { findRightIndex as H } from "./index255.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index131.js";
|
5
5
|
import { useIntersectionObserver as ae } from "./index132.js";
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import N from "./
|
8
|
+
import N from "./index256.js";
|
9
9
|
const me = /* @__PURE__ */ Q({
|
10
10
|
__name: "BbDropdown",
|
11
11
|
props: {
|
@@ -24,7 +24,7 @@ const me = /* @__PURE__ */ Q({
|
|
24
24
|
},
|
25
25
|
setup(V) {
|
26
26
|
const j = W(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index254.js")
|
28
28
|
), r = V, d = r.id ?? `bb_${ne().id.value}`, m = A(() => {
|
29
29
|
let e = r.items.findIndex((t) => !t.disabled), o = H(
|
30
30
|
r.items,
|
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 "./index261.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index127.js";
|
5
5
|
/* empty css */
|
@@ -56,7 +56,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = {
|
|
56
56
|
const r = a.accept[t];
|
57
57
|
if (r.includes("/")) e.push(r);
|
58
58
|
else {
|
59
|
-
b || (b = (await import("./
|
59
|
+
b || (b = (await import("./index260.js")).default);
|
60
60
|
const o = b.getType(r);
|
61
61
|
if (!o)
|
62
62
|
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 "./index212.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as te, ref as s, useAttrs as oe, getCurrentInstance as se, computed as v, nextTick as le, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as l, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
|
2
|
-
import { useFocusTrap as ce } from "./
|
2
|
+
import { useFocusTrap as ce } from "./index213.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { wait as E } from "./index131.js";
|
5
|
-
import { useModalsState as p } from "./
|
5
|
+
import { useModalsState as p } from "./index215.js";
|
6
6
|
const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
|
7
7
|
__name: "BbOffCanvas",
|
8
8
|
props: {
|
package/dist/index86.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as A, computed as _, ref as g, onMounted as E, onBeforeUnmount as P, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as b, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
|
2
|
-
import { debounce as F } from "./
|
2
|
+
import { debounce as F } from "./index259.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as S, defineAsyncComponent as H, ref as n, computed as m, openBlock as b, createElementBlock as q, mergeProps as A, createElementVNode as p, renderSlot as y, normalizeProps as I, guardReactiveProps as V, createBlock as C, unref as W, withCtx as $, createCommentVNode as T, nextTick as z } from "vue";
|
2
|
-
import { useFocusTrap as R } from "./
|
2
|
+
import { useFocusTrap as R } from "./index213.js";
|
3
3
|
import { useId as j } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as G } from "./index132.js";
|
5
|
-
import { waitFor as J } from "./
|
5
|
+
import { waitFor as J } from "./index214.js";
|
6
6
|
import K from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
const te = /* @__PURE__ */ S({
|
@@ -24,7 +24,7 @@ const te = /* @__PURE__ */ S({
|
|
24
24
|
emits: ["shown", "hidden"],
|
25
25
|
setup(B, { expose: P, emit: _ }) {
|
26
26
|
const N = H(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index254.js")
|
28
28
|
), t = B, s = _, { id: D } = j(), c = `bbp_${D.value}`, r = n(), l = n(), { activate: E, deactivate: L } = R(l, {
|
29
29
|
/**
|
30
30
|
* This traps all clicks outside so we are pressing
|
package/package.json
CHANGED
package/dist/index210.js
DELETED
package/dist/index247.js
DELETED
package/dist/index252.js
DELETED
package/dist/index282.js
DELETED