bitboss-ui 2.1.87 → 2.1.88
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/BaseSelect/BaseSelect.vue.d.ts +8 -0
- package/dist/components/BbSelect/BbSelect.vue.d.ts +6 -0
- package/dist/components/ListBox.vue.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index107.js +8 -8
- package/dist/index108.js +5 -3
- package/dist/index114.js +1 -1
- package/dist/index120.js +1 -1
- package/dist/index122.js +11 -11
- package/dist/index13.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index132.js +5 -5
- package/dist/index134.js +1 -1
- package/dist/index136.js +2 -2
- package/dist/index143.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +7 -7
- package/dist/index21.js +14 -14
- package/dist/index217.js +5 -2
- package/dist/index218.js +8 -2
- package/dist/index219.js +33 -3
- package/dist/index220.js +28 -5
- package/dist/index222.js +4 -5
- package/dist/index223.js +13 -5
- package/dist/index224.js +20 -5
- package/dist/index225.js +201 -5
- package/dist/index227.js +135 -2
- package/dist/index229.js +5 -8
- package/dist/index23.js +11 -11
- package/dist/index230.js +5 -268
- package/dist/index231.js +5 -52
- package/dist/index232.js +5 -52
- package/dist/index233.js +5 -32
- package/dist/index234.js +5 -60
- package/dist/index235.js +2 -13
- package/dist/index236.js +3 -13
- package/dist/index237.js +3 -13
- package/dist/index238.js +2 -3
- package/dist/index239.js +18 -4
- package/dist/index240.js +11 -9
- package/dist/index241.js +50 -2
- package/dist/index242.js +15 -4
- package/dist/index243.js +12 -86
- package/dist/index244.js +19 -0
- package/dist/index246.js +14 -15
- package/dist/index247.js +4 -51
- package/dist/index248.js +106 -15
- package/dist/index25.js +3 -3
- package/dist/index250.js +100 -16
- package/dist/index252.js +223 -129
- package/dist/index253.js +15 -0
- package/dist/index254.js +34 -23
- package/dist/index255.js +8 -22
- package/dist/index256.js +2 -188
- package/dist/index257.js +188 -3
- package/dist/index258.js +3 -9
- package/dist/index259.js +5 -106
- package/dist/index261.js +6 -98
- package/dist/index262.js +270 -0
- package/dist/index263.js +52 -3
- package/dist/index264.js +52 -2
- package/dist/index265.js +32 -5
- package/dist/index266.js +60 -5
- package/dist/index267.js +13 -5
- package/dist/index268.js +9 -19
- package/dist/index269.js +3 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +4 -2
- package/dist/index271.js +3 -7
- package/dist/index272.js +2 -7
- package/dist/index273.js +77 -58
- package/dist/index275.js +2 -28
- package/dist/index276.js +11 -0
- package/dist/index277.js +52 -6
- package/dist/index278.js +22 -8
- package/dist/index279.js +8 -8
- package/dist/index280.js +23 -53
- package/dist/index281.js +6 -11
- package/dist/index282.js +16 -5
- package/dist/index283.js +9 -18
- package/dist/index284.js +2 -12
- package/dist/index285.js +7 -227
- package/dist/index286.js +7 -6
- package/dist/index287.js +66 -15
- package/dist/index288.js +11 -8
- package/dist/index289.js +5 -4
- package/dist/index29.js +2 -2
- package/dist/index290.js +3 -201
- package/dist/index291.js +5 -0
- package/dist/index292.js +7 -34
- package/dist/index293.js +1 -1
- package/dist/index294.js +10 -0
- package/dist/index295.js +7 -3
- package/dist/index296.js +3 -280
- package/dist/index298.js +3 -16
- package/dist/index299.js +280 -2
- package/dist/index300.js +2 -16
- package/dist/index301.js +125 -2
- package/dist/index302.js +2 -27
- package/dist/index303.js +15 -2
- package/dist/index304.js +2 -2
- package/dist/index305.js +16 -2
- package/dist/index306.js +2 -2
- package/dist/index307.js +16 -2
- package/dist/index308.js +2 -28
- package/dist/index309.js +19 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -7
- package/dist/index311.js +2 -4
- package/dist/index312.js +4 -5
- package/dist/index313.js +1 -1
- package/dist/index314.js +3 -17
- package/dist/index315.js +2 -3
- package/dist/index316.js +28 -3
- package/dist/index317.js +17 -3
- package/dist/index318.js +22 -120
- package/dist/index319.js +2 -2
- package/dist/index320.js +2 -15
- package/dist/index321.js +2 -2
- package/dist/index322.js +2 -19
- package/dist/index323.js +2 -2
- package/dist/index324.js +1 -1
- package/dist/index325.js +3 -6
- package/dist/index329.js +1 -1
- package/dist/index33.js +7 -7
- package/dist/index331.js +5 -2
- package/dist/index332.js +8 -3
- package/dist/index333.js +6 -5
- package/dist/index334.js +7 -34
- package/dist/index335.js +35 -6
- package/dist/index336.js +6 -129
- package/dist/index337.js +113 -382
- package/dist/index338.js +397 -6
- package/dist/index339.js +5 -7
- package/dist/index340.js +57 -18
- package/dist/index341.js +58 -9
- package/dist/index342.js +5 -14
- package/dist/index343.js +134 -5
- package/dist/index344.js +7 -58
- package/dist/index345.js +18 -57
- package/dist/index346.js +8 -227
- package/dist/index347.js +12 -131
- package/dist/index348.js +5 -22
- package/dist/index349.js +49 -0
- package/dist/index35.js +4 -4
- package/dist/index350.js +6 -46
- package/dist/index351.js +22 -8
- package/dist/index353.js +518 -6
- package/dist/index354.js +1 -1
- package/dist/index355.js +222 -514
- package/dist/index37.js +58 -56
- package/dist/index39.js +6 -6
- package/dist/index41.js +2 -2
- package/dist/index43.js +7 -7
- package/dist/index45.js +6 -6
- 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 +5 -5
- package/dist/index67.js +1 -1
- package/dist/index80.js +6 -6
- package/dist/index82.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +3 -3
- package/dist/index91.js +3 -3
- package/dist/index93.js +2 -2
- package/dist/index95.js +5 -5
- package/package.json +1 -1
- package/dist/index221.js +0 -10
- package/dist/index226.js +0 -5
- package/dist/index249.js +0 -14
- package/dist/index251.js +0 -11
- package/dist/index274.js +0 -35
- package/dist/index297.js +0 -4
- package/dist/index352.js +0 -8
- /package/dist/{index228.js → index260.js} +0 -0
package/dist/index37.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { defineComponent as Qe, ref as f, computed as m, toRef as z, createBlock as K, openBlock as h, normalizeClass as ee, withCtx as u, createElementVNode as L, createVNode as T, createElementBlock as I, unref as g, renderSlot as d, createCommentVNode as te, withDirectives as Xe, Fragment as ae, toDisplayString as Ye, withKeys as w, withModifiers as c, normalizeStyle as le, vModelDynamic as Ze, mergeProps as oe, renderList as et, nextTick as U } from "vue";
|
|
2
2
|
import tt from "./index112.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { hash as at } from "./
|
|
5
|
-
import { isEmpty as lt } from "./
|
|
6
|
-
import { last as ot } from "./
|
|
7
|
-
import { matchAnyKey as ne } from "./
|
|
8
|
-
import { useArray as nt } from "./
|
|
9
|
-
import { useBaseOptions as ut } from "./
|
|
10
|
-
import { useCoherence as
|
|
11
|
-
import { useHashedWatcher as ue } from "./
|
|
12
|
-
import { useId as
|
|
13
|
-
import { useIndexById as
|
|
4
|
+
import { hash as at } from "./index237.js";
|
|
5
|
+
import { isEmpty as lt } from "./index236.js";
|
|
6
|
+
import { last as ot } from "./index238.js";
|
|
7
|
+
import { matchAnyKey as ne } from "./index239.js";
|
|
8
|
+
import { useArray as nt } from "./index240.js";
|
|
9
|
+
import { useBaseOptions as ut } from "./index241.js";
|
|
10
|
+
import { useCoherence as it } from "./index242.js";
|
|
11
|
+
import { useHashedWatcher as ue } from "./index243.js";
|
|
12
|
+
import { useId as st } from "./index8.js";
|
|
13
|
+
import { useIndexById as ie } from "./index244.js";
|
|
14
14
|
import { useMounted as rt, useElementSize as dt, useIntersectionObserver as ct } from "./index141.js";
|
|
15
15
|
import { useItemsGetter as pt } from "./index245.js";
|
|
16
|
-
import { useLocale as mt } from "./
|
|
16
|
+
import { useLocale as mt } from "./index223.js";
|
|
17
17
|
import { useMobile as ft } from "./index9.js";
|
|
18
|
-
import { usePrefill as vt } from "./
|
|
18
|
+
import { usePrefill as vt } from "./index246.js";
|
|
19
19
|
import { wait as E } from "./index140.js";
|
|
20
|
-
import { when as ht } from "./
|
|
21
|
-
import yt from "./
|
|
20
|
+
import { when as ht } from "./index247.js";
|
|
21
|
+
import yt from "./index248.js";
|
|
22
22
|
/* empty css */
|
|
23
|
-
import bt from "./
|
|
23
|
+
import bt from "./index250.js";
|
|
24
24
|
/* empty css */
|
|
25
25
|
import gt from "./index136.js";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import wt from "./index138.js";
|
|
28
|
-
import Bt from "./
|
|
28
|
+
import Bt from "./index227.js";
|
|
29
29
|
/* empty css */
|
|
30
|
-
import Vt from "./
|
|
31
|
-
import { useUntil as St } from "./
|
|
30
|
+
import Vt from "./index252.js";
|
|
31
|
+
import { useUntil as St } from "./index253.js";
|
|
32
32
|
import { mapValues as kt } from "./index145.js";
|
|
33
33
|
const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "bb-base-select__max-reached"
|
|
36
|
-
}, Dt = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"],
|
|
36
|
+
}, Dt = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], ia = /* @__PURE__ */ Qe({
|
|
37
37
|
__name: "BaseSelect",
|
|
38
38
|
props: {
|
|
39
39
|
allowWriting: { type: [Boolean, String], default: !0 },
|
|
@@ -52,6 +52,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
52
52
|
hasErrors: { type: Boolean },
|
|
53
53
|
id: {},
|
|
54
54
|
items: {},
|
|
55
|
+
itemHeight: {},
|
|
55
56
|
itemText: {},
|
|
56
57
|
itemValue: {},
|
|
57
58
|
loading: { type: Boolean },
|
|
@@ -76,15 +77,15 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
76
77
|
updateOnAnimationFrame: { type: Boolean, default: !1 }
|
|
77
78
|
},
|
|
78
79
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue", "option:add"],
|
|
79
|
-
setup(
|
|
80
|
-
const t =
|
|
80
|
+
setup(se, { emit: re }) {
|
|
81
|
+
const t = se, o = re;
|
|
81
82
|
if (t.multiple && !Array.isArray(t.modelValue))
|
|
82
83
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
|
83
|
-
const { t: de } = mt(), ce = rt(), F = f(null), D = f(null),
|
|
84
|
-
() => t.comma ?
|
|
84
|
+
const { t: de } = mt(), ce = rt(), F = f(null), D = f(null), i = f(null), R = f(null), _ = f(null), r = m(
|
|
85
|
+
() => t.comma ? R.value : _.value
|
|
85
86
|
), { width: pe } = dt(D), { isMobile: me } = ft(), fe = m(
|
|
86
87
|
() => t.allowWriting === "not-mobile" && me.value ? "none" : void 0
|
|
87
|
-
), j = t.id ||
|
|
88
|
+
), j = t.id || st().id.value, { resume: ve, pause: he } = ct(
|
|
88
89
|
D,
|
|
89
90
|
async ([{ intersectionRatio: e }]) => {
|
|
90
91
|
e !== 1 && n.value && await k();
|
|
@@ -103,34 +104,34 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
103
104
|
}, Be = (e) => o("change", e), Ve = (e) => {
|
|
104
105
|
o("input", e), a.value === "" && (t.multiple || o("update:modelValue", null)), r.value?.blur(), N.value && S(), He(a.value, !1, t.modelValue);
|
|
105
106
|
}, O = async (e) => {
|
|
106
|
-
if (e.target instanceof Node && F.value && !F.value.$el.contains(e.target) && !
|
|
107
|
+
if (e.target instanceof Node && F.value && !F.value.$el.contains(e.target) && !i.value?.$el?.contains(e.target)) {
|
|
107
108
|
k(), Ue(), document.removeEventListener("click", O), document.removeEventListener("focusin", O), await E(t.transitionDuration), y();
|
|
108
109
|
return;
|
|
109
110
|
}
|
|
110
|
-
}, B = m(() => !(t.readonly || t.disabled || H.value || !r.value && t.multiple &&
|
|
111
|
-
B.value && (r.value?.blur(), n.value ?
|
|
111
|
+
}, B = m(() => !(t.readonly || t.disabled || H.value || !r.value && t.multiple && s.value.length <= t.maxSelectedLabels)), Se = async () => {
|
|
112
|
+
B.value && (r.value?.blur(), n.value ? i.value?.focusPrevious() : (await S(), await E(t.transitionDuration), i.value?.focusLastSelected()));
|
|
112
113
|
}, ke = async () => {
|
|
113
|
-
B.value && (r.value?.blur(), n.value ?
|
|
114
|
+
B.value && (r.value?.blur(), n.value ? i.value?.focusNext() : (await S(), await E(t.transitionDuration), i.value?.focusFirstSelected()));
|
|
114
115
|
}, Ce = (e) => {
|
|
115
|
-
if (!B.value || !t.multiple || a.value || (e.preventDefault(),
|
|
116
|
+
if (!B.value || !t.multiple || a.value || (e.preventDefault(), i.value?.blur(), !s.value.length)) return;
|
|
116
117
|
r.value?.focusPrevious();
|
|
117
118
|
const l = r.value?.getHighlighted();
|
|
118
|
-
l &&
|
|
119
|
+
l && i.value?.focusByHash(l.valueHash);
|
|
119
120
|
}, Ie = (e) => {
|
|
120
|
-
if (!B.value || !t.multiple || a.value || (e.preventDefault(),
|
|
121
|
+
if (!B.value || !t.multiple || a.value || (e.preventDefault(), i.value?.blur(), !s.value.length)) return;
|
|
121
122
|
r.value?.focusNext();
|
|
122
123
|
const l = r.value?.getHighlighted();
|
|
123
|
-
l &&
|
|
124
|
+
l && i.value?.focusByHash(l.valueHash);
|
|
124
125
|
}, De = async () => {
|
|
125
126
|
if (!B.value)
|
|
126
127
|
return;
|
|
127
128
|
if (n.value) {
|
|
128
|
-
if (
|
|
129
|
-
|
|
129
|
+
if (i.value?.getHighlighted()) {
|
|
130
|
+
i.value.confirmOption();
|
|
130
131
|
return;
|
|
131
132
|
}
|
|
132
133
|
} else {
|
|
133
|
-
await S(), await E(t.transitionDuration),
|
|
134
|
+
await S(), await E(t.transitionDuration), s.value.length && i.value?.focusFirstSelected();
|
|
134
135
|
return;
|
|
135
136
|
}
|
|
136
137
|
const e = a.value.trim();
|
|
@@ -138,7 +139,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
138
139
|
}, Oe = async () => {
|
|
139
140
|
n.value && await k();
|
|
140
141
|
}, $e = async () => {
|
|
141
|
-
!B.value || a.value || !
|
|
142
|
+
!B.value || a.value || !s.value.length || (r.value?.getHighlighted() && r.value.confirmOption(), await U(), r.value?.focusPrevious());
|
|
142
143
|
}, a = f(""), {
|
|
143
144
|
getter: q,
|
|
144
145
|
debouncedGetter: He,
|
|
@@ -148,7 +149,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
148
149
|
items: z(t, "items"),
|
|
149
150
|
debounce: t.queryDebounceTime
|
|
150
151
|
}), x = () => {
|
|
151
|
-
t.enforceCoherence && !Z.value && (t.multiple ? o("update:modelValue", Ne.value.coherent) : o("update:modelValue", null), r.value?.blur(),
|
|
152
|
+
t.enforceCoherence && !Z.value && (t.multiple ? o("update:modelValue", Ne.value.coherent) : o("update:modelValue", null), r.value?.blur(), i.value?.blur());
|
|
152
153
|
}, {
|
|
153
154
|
hasPrefilled: J,
|
|
154
155
|
isPrefilling: Te,
|
|
@@ -165,10 +166,10 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
165
166
|
add: X,
|
|
166
167
|
remove: Fe,
|
|
167
168
|
set: Ae
|
|
168
|
-
} = nt(),
|
|
169
|
+
} = nt(), s = m(() => {
|
|
169
170
|
const e = kt(M.value, (l, p) => Y.value[p]);
|
|
170
171
|
return Object.values(e).filter(Boolean);
|
|
171
|
-
}), qe = m(() =>
|
|
172
|
+
}), qe = m(() => s.value.length ? "" : t.placeholder), { data: M, get: xe } = ie({
|
|
172
173
|
// Force model value to be an array
|
|
173
174
|
items: m(() => [].concat(t.modelValue))
|
|
174
175
|
}), { options: $ } = ut({
|
|
@@ -181,7 +182,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
181
182
|
selectedIndexedByHash: M
|
|
182
183
|
}), H = m(() => !!(G.value || t.loading)), Me = m(() => {
|
|
183
184
|
let e = [];
|
|
184
|
-
const l =
|
|
185
|
+
const l = s.value.some(
|
|
185
186
|
(b) => b.text === a.value
|
|
186
187
|
);
|
|
187
188
|
return (t.multiple && a.value || t.filterBy === "not_stashed" && a.value || a.value && !l && !t.multiple) && t.filterBy ? e = $.value.filter((b) => {
|
|
@@ -194,7 +195,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
194
195
|
return;
|
|
195
196
|
}
|
|
196
197
|
let e;
|
|
197
|
-
|
|
198
|
+
s.value && (e = ot(s.value)), a.value = e?.text || "";
|
|
198
199
|
}, Pe = async (e) => {
|
|
199
200
|
t.multiple ? (o("update:modelValue", t.modelValue.concat(e.value)), t.stash && X(e.item), y()) : (t.stash && Ae(e.item), o("update:modelValue", e.value), await U(), y()), v(), t.multiple || k();
|
|
200
201
|
}, P = async (e) => {
|
|
@@ -204,10 +205,10 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
204
205
|
} else
|
|
205
206
|
o("update:modelValue", null), await U(), y();
|
|
206
207
|
v();
|
|
207
|
-
}, { data: Y } =
|
|
208
|
+
}, { data: Y } = ie({
|
|
208
209
|
items: $,
|
|
209
210
|
key: "valueHash"
|
|
210
|
-
}), { coherent: Z, status: Ne } =
|
|
211
|
+
}), { coherent: Z, status: Ne } = it({
|
|
211
212
|
modelValue: z(t, "modelValue"),
|
|
212
213
|
multiple: t.multiple,
|
|
213
214
|
iteratee: (e) => !!Y.value[at(e)]
|
|
@@ -238,13 +239,13 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
238
239
|
W.value = !0;
|
|
239
240
|
}, Ue = () => {
|
|
240
241
|
W.value = !1, o("inactive");
|
|
241
|
-
},
|
|
242
|
+
}, Re = (e) => {
|
|
242
243
|
e.preventDefault(), o("click", e), !(t.disabled || t.readonly) && (v(), ze());
|
|
243
|
-
},
|
|
244
|
+
}, _e = ht(
|
|
244
245
|
(e) => typeof e != "string",
|
|
245
246
|
JSON.stringify
|
|
246
247
|
), je = m(() => [].concat(t.modelValue).map((e) => {
|
|
247
|
-
const l =
|
|
248
|
+
const l = _e(e);
|
|
248
249
|
return {
|
|
249
250
|
disabled: t.disabled,
|
|
250
251
|
name: t.name,
|
|
@@ -268,7 +269,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
268
269
|
"bb-base-select--readonly": e.readonly,
|
|
269
270
|
"bb-base-select--compact": e.compact
|
|
270
271
|
}),
|
|
271
|
-
onClick:
|
|
272
|
+
onClick: Re
|
|
272
273
|
}, {
|
|
273
274
|
"prepend-outer": u(() => [
|
|
274
275
|
d(e.$slots, "prepend-outer", { query: a.value })
|
|
@@ -311,21 +312,21 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
311
312
|
T(tt, { tag: "span" }, {
|
|
312
313
|
default: u(() => [
|
|
313
314
|
L("span", Ct, [
|
|
314
|
-
e.multiple &&
|
|
315
|
+
e.multiple && s.value.length <= e.maxSelectedLabels ? (h(), I(ae, { key: 0 }, [
|
|
315
316
|
e.comma ? (h(), K(bt, {
|
|
316
317
|
key: 0,
|
|
317
318
|
ref_key: "commaBox",
|
|
318
|
-
ref:
|
|
319
|
-
options:
|
|
319
|
+
ref: R,
|
|
320
|
+
options: s.value,
|
|
320
321
|
"onOption:unselected": P
|
|
321
322
|
}, null, 8, ["options"])) : (h(), K(yt, {
|
|
322
323
|
key: 1,
|
|
323
324
|
ref_key: "chipsBox",
|
|
324
|
-
ref:
|
|
325
|
-
options:
|
|
325
|
+
ref: _,
|
|
326
|
+
options: s.value,
|
|
326
327
|
"onOption:unselected": P
|
|
327
328
|
}, null, 8, ["options"]))
|
|
328
|
-
], 64)) : e.multiple ? (h(), I("span", It, Ye(e.selectedLabelsFn ? e.selectedLabelsFn(
|
|
329
|
+
], 64)) : e.multiple ? (h(), I("span", It, Ye(e.selectedLabelsFn ? e.selectedLabelsFn(s.value.length) : g(de)("select.multipleMaxReached", s.value.length)), 1)) : te("", !0),
|
|
329
330
|
Xe((h(), I("input", {
|
|
330
331
|
id: g(j),
|
|
331
332
|
key: `${g(ce)}`,
|
|
@@ -399,7 +400,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
399
400
|
default: u(() => [
|
|
400
401
|
T(Vt, {
|
|
401
402
|
ref_key: "optionsContainer",
|
|
402
|
-
ref:
|
|
403
|
+
ref: i,
|
|
403
404
|
compact: e.compact,
|
|
404
405
|
loading: H.value,
|
|
405
406
|
"loading-text": e.loadingText,
|
|
@@ -408,6 +409,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
408
409
|
open: n.value,
|
|
409
410
|
options: Me.value,
|
|
410
411
|
style: le(ye.value),
|
|
412
|
+
"option-height": e.itemHeight,
|
|
411
413
|
"onOption:selected": Pe,
|
|
412
414
|
"onOption:unselected": P
|
|
413
415
|
}, {
|
|
@@ -433,7 +435,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
433
435
|
}, p))
|
|
434
436
|
]),
|
|
435
437
|
_: 3
|
|
436
|
-
}, 8, ["compact", "loading", "loading-text", "multiple", "no-data-text", "open", "options", "style"])
|
|
438
|
+
}, 8, ["compact", "loading", "loading-text", "multiple", "no-data-text", "open", "options", "style", "option-height"])
|
|
437
439
|
]),
|
|
438
440
|
_: 3
|
|
439
441
|
}, 8, ["modelValue", "anchor", "transition-duration"]),
|
|
@@ -447,5 +449,5 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
|
|
|
447
449
|
}
|
|
448
450
|
});
|
|
449
451
|
export {
|
|
450
|
-
|
|
452
|
+
ia as default
|
|
451
453
|
};
|
package/dist/index39.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as d, computed as f, onMounted as se, watch as ue, createElementBlock as y, openBlock as g, normalizeProps as G, guardReactiveProps as O, renderSlot as p, createElementVNode as c, mergeProps as N, createCommentVNode as Y, Fragment as de, renderList as me, unref as b, normalizeStyle as j, normalizeClass as J } from "vue";
|
|
2
|
-
import { head as ce } from "./
|
|
3
|
-
import { isCssColor as K } from "./
|
|
4
|
-
import { isNil as x } from "./
|
|
2
|
+
import { head as ce } from "./index284.js";
|
|
3
|
+
import { isCssColor as K } from "./index256.js";
|
|
4
|
+
import { isNil as x } from "./index275.js";
|
|
5
5
|
import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./index139.js";
|
|
6
|
-
import { snapToStep as ve } from "./
|
|
7
|
-
import { last as fe } from "./
|
|
8
|
-
import { transpose as Q } from "./
|
|
6
|
+
import { snapToStep as ve } from "./index285.js";
|
|
7
|
+
import { last as fe } from "./index238.js";
|
|
8
|
+
import { transpose as Q } from "./index286.js";
|
|
9
9
|
import { clamp as m } from "./index215.js";
|
|
10
10
|
const pe = {
|
|
11
11
|
key: 0,
|
package/dist/index41.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as F, ref as b, computed as s, watch as S, createElementBlock as y, openBlock as V, normalizeProps as l, guardReactiveProps as m, createCommentVNode as A, createElementVNode as r, mergeProps as v, renderSlot as N } from "vue";
|
|
2
|
-
import { isCssColor as p } from "./
|
|
3
|
-
import { when as x } from "./
|
|
2
|
+
import { isCssColor as p } from "./index256.js";
|
|
3
|
+
import { when as x } from "./index247.js";
|
|
4
4
|
const M = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ F({
|
|
5
5
|
__name: "BaseSwitch",
|
|
6
6
|
props: {
|
package/dist/index43.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as n, renderSlot as s, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
|
|
2
2
|
import K from "./index41.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import N from "./
|
|
4
|
+
import N from "./index273.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { useItemsGetter as U } from "./index245.js";
|
|
7
|
-
import { useIndexById as T } from "./
|
|
8
|
-
import { useBaseOptions as q } from "./
|
|
9
|
-
import { useCoherence as J } from "./
|
|
10
|
-
import { hash as Q } from "./
|
|
11
|
-
import { useHashedWatcher as $ } from "./
|
|
12
|
-
import { usePrefill as X } from "./
|
|
7
|
+
import { useIndexById as T } from "./index244.js";
|
|
8
|
+
import { useBaseOptions as q } from "./index241.js";
|
|
9
|
+
import { useCoherence as J } from "./index242.js";
|
|
10
|
+
import { hash as Q } from "./index237.js";
|
|
11
|
+
import { useHashedWatcher as $ } from "./index243.js";
|
|
12
|
+
import { usePrefill as X } from "./index246.js";
|
|
13
13
|
const ue = /* @__PURE__ */ j({
|
|
14
14
|
__name: "BaseSwitchGroup",
|
|
15
15
|
props: {
|
package/dist/index45.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as j, ref as u, computed as m, toRef as C, watch as Q, createBlock as h, openBlock as f, normalizeClass as Z, withCtx as l, createVNode as E, unref as G, createElementVNode as I, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as v, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
|
|
2
2
|
import ae from "./index112.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { last as le } from "./
|
|
5
|
-
import { useBaseOptions as ne } from "./
|
|
6
|
-
import { useIndexById as re } from "./
|
|
7
|
-
import ie from "./
|
|
4
|
+
import { last as le } from "./index238.js";
|
|
5
|
+
import { useBaseOptions as ne } from "./index241.js";
|
|
6
|
+
import { useIndexById as re } from "./index244.js";
|
|
7
|
+
import ie from "./index248.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import ue from "./
|
|
9
|
+
import ue from "./index250.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import se from "./index136.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import de from "./index138.js";
|
|
14
|
-
import { isEmpty as pe } from "./
|
|
14
|
+
import { isEmpty as pe } from "./index236.js";
|
|
15
15
|
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
|
|
16
16
|
__name: "BaseTag",
|
|
17
17
|
props: {
|
package/dist/index49.js
CHANGED
|
@@ -2,8 +2,8 @@ import { defineComponent as V, ref as h, computed as v, onMounted as B, onBefore
|
|
|
2
2
|
import q from "./index136.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import I from "./index138.js";
|
|
5
|
-
import { MaskInput as z } from "./
|
|
6
|
-
import { isNotEmpty as D } from "./
|
|
5
|
+
import { MaskInput as z } from "./index257.js";
|
|
6
|
+
import { isNotEmpty as D } from "./index258.js";
|
|
7
7
|
const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
|
|
8
8
|
__name: "BaseTextInput",
|
|
9
9
|
props: {
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
2
|
+
import { isCssColor as y } from "./index256.js";
|
|
3
3
|
import { wait as C } from "./index140.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 s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
|
2
|
-
import { isCssColor as l } from "./
|
|
3
|
-
import { isNil as B } from "./
|
|
2
|
+
import { isCssColor as l } from "./index256.js";
|
|
3
|
+
import { isNil as B } from "./index275.js";
|
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
|
|
5
5
|
__name: "BbBadge",
|
|
6
6
|
props: {
|
package/dist/index61.js
CHANGED
|
@@ -7,11 +7,11 @@ import f from "./index86.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import J from "./index114.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { pickBy as K } from "./
|
|
11
|
-
import { noop as Q } from "./
|
|
12
|
-
import { useLocale as U } from "./
|
|
13
|
-
import { extractDomContainer as X } from "./
|
|
14
|
-
import { isEqual as $ } from "./
|
|
10
|
+
import { pickBy as K } from "./index268.js";
|
|
11
|
+
import { noop as Q } from "./index269.js";
|
|
12
|
+
import { useLocale as U } from "./index223.js";
|
|
13
|
+
import { extractDomContainer as X } from "./index270.js";
|
|
14
|
+
import { isEqual as $ } from "./index271.js";
|
|
15
15
|
const Y = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "bb-button__loading-label sr-only"
|
package/dist/index67.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
|
|
2
|
-
import { useLocale as f } from "./
|
|
2
|
+
import { useLocale as f } from "./index223.js";
|
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
|
4
4
|
__name: "BbChip",
|
|
5
5
|
props: {
|
package/dist/index80.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as fe, ref as C, computed as p, useTemplateRef as ve, watch as $, onBeforeUnmount as be, createElementBlock as M, openBlock as E, Fragment as B, renderSlot as v, createCommentVNode as V, createVNode as x, normalizeProps as ye, mergeProps as q, withCtx as G, createElementVNode as J, normalizeStyle as we, unref as Q, renderList as ge, createBlock as Z, toDisplayString as he } from "vue";
|
|
2
|
-
import { findRightIndex as R } from "./
|
|
2
|
+
import { findRightIndex as R } from "./index279.js";
|
|
3
3
|
import { useId as Ee } from "./index8.js";
|
|
4
|
-
import { useUntil as Le } from "./
|
|
4
|
+
import { useUntil as Le } from "./index253.js";
|
|
5
5
|
import { wait as ke } from "./index140.js";
|
|
6
6
|
import De from "./index13.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import ee from "./index86.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import $e from "./
|
|
10
|
+
import $e from "./index227.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import te from "./
|
|
13
|
-
import { extractDomContainer as H } from "./
|
|
12
|
+
import te from "./index280.js";
|
|
13
|
+
import { extractDomContainer as H } from "./index270.js";
|
|
14
14
|
import { useIntersectionObserver as Ae, useElementSize as Se } from "./index141.js";
|
|
15
|
-
import { parseWidthString as Pe } from "./
|
|
15
|
+
import { parseWidthString as Pe } from "./index278.js";
|
|
16
16
|
const Ie = ["id", "aria-labelledby", "inert"], Te = { class: "item__content" }, Oe = 500, _e = 10, ze = /* @__PURE__ */ fe({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "BbDropdown",
|
package/dist/index82.js
CHANGED
|
@@ -9,7 +9,7 @@ import z from "./index86.js";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import I from "./index114.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import { useLocale as M } from "./
|
|
12
|
+
import { useLocale as M } from "./index223.js";
|
|
13
13
|
const O = { class: "bb-dropdown-button__content" }, R = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
package/dist/index84.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, 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 "./index282.js";
|
|
3
3
|
import { useId as re } from "./index8.js";
|
|
4
4
|
import oe from "./index112.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("./index281.js")).default);
|
|
57
57
|
const o = b.getType(r);
|
|
58
58
|
if (!o)
|
|
59
59
|
throw new Error(
|
package/dist/index86.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as $, ref as f, computed as a, getCurrentInstance as d, onServerPrefetch as I, onBeforeMount as _, watch as L, createElementBlock as M, openBlock as B, mergeProps as k, inject as A } from "vue";
|
|
2
|
-
import { isCssColor as C } from "./
|
|
3
|
-
import { get as m } from "./
|
|
4
|
-
import { useLogger as N } from "./
|
|
2
|
+
import { isCssColor as C } from "./index256.js";
|
|
3
|
+
import { get as m } from "./index288.js";
|
|
4
|
+
import { useLogger as N } from "./index261.js";
|
|
5
5
|
const S = ["innerHTML"], E = /* @__PURE__ */ $({
|
|
6
6
|
__name: "BbIcon",
|
|
7
7
|
props: {
|
package/dist/index91.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as I, mergeModels as B, useModel as N, computed as p, ref as L, watch as P, onMounted as W, createElementBlock as d, openBlock as c, withModifiers as F, normalizeStyle as O, normalizeClass as q, unref as v, createCommentVNode as h, Fragment as A, createElementVNode as t, renderSlot as l, createTextVNode as H, toDisplayString as M, nextTick as K } from "vue";
|
|
2
|
-
import { parseSize as R } from "./
|
|
2
|
+
import { parseSize as R } from "./index267.js";
|
|
3
3
|
import { useId as $ } from "./index8.js";
|
|
4
|
-
import { useLocale as U } from "./
|
|
4
|
+
import { useLocale as U } from "./index223.js";
|
|
5
5
|
import { useMobile as j } from "./index9.js";
|
|
6
|
-
import { useUntil as G } from "./
|
|
6
|
+
import { useUntil as G } from "./index253.js";
|
|
7
7
|
import { wait as y } from "./index140.js";
|
|
8
8
|
import { _config as J } from "./index4.js";
|
|
9
9
|
const Q = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], X = {
|
package/dist/index93.js
CHANGED
|
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as b, r
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import P from "./index13.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { debounce as X } from "./
|
|
7
|
-
import { useLocale as H } from "./
|
|
6
|
+
import { debounce as X } from "./index283.js";
|
|
7
|
+
import { useLocale as H } from "./index223.js";
|
|
8
8
|
import { useRoute as J } from "./index146.js";
|
|
9
9
|
const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
|
|
10
10
|
__name: "BbPagination",
|
package/dist/index95.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as re, mergeModels as I, ref as N, useTemplateRef as ae, computed as s, useModel as ie, watch as C, createElementBlock as se, openBlock as Y, Fragment as le, renderSlot as G, createCommentVNode as W, createVNode as ue, normalizeProps as de, mergeProps as X, unref as S, withCtx as F, createElementVNode as B, createBlock as ce, nextTick as pe } from "vue";
|
|
2
2
|
import { useId as me } from "./index8.js";
|
|
3
3
|
import { useIntersectionObserver as ve, useElementSize as fe } from "./index141.js";
|
|
4
|
-
import { useLocale as be } from "./
|
|
5
|
-
import { useUntil as he } from "./
|
|
4
|
+
import { useLocale as be } from "./index223.js";
|
|
5
|
+
import { useUntil as he } from "./index253.js";
|
|
6
6
|
import ge from "./index13.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import we from "./
|
|
8
|
+
import we from "./index227.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { extractDomContainer as H } from "./
|
|
11
|
-
import { parseWidthString as U } from "./
|
|
10
|
+
import { extractDomContainer as H } from "./index270.js";
|
|
11
|
+
import { parseWidthString as U } from "./index278.js";
|
|
12
12
|
const Ee = ["inert"], Le = 500, ye = 10, De = /* @__PURE__ */ re({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "BbPopover",
|
package/package.json
CHANGED
package/dist/index221.js
DELETED
package/dist/index226.js
DELETED
package/dist/index249.js
DELETED
package/dist/index251.js
DELETED
package/dist/index274.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import n from "./index213.js";
|
|
4
|
-
const l = {}, s = {
|
|
5
|
-
class: "bb-error-icon",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 20 20",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
};
|
|
10
|
-
function i(c, r) {
|
|
11
|
-
return t(), e("svg", s, r[0] || (r[0] = [
|
|
12
|
-
o("path", {
|
|
13
|
-
d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
|
|
14
|
-
fill: "currentColor"
|
|
15
|
-
}, null, -1),
|
|
16
|
-
o("path", {
|
|
17
|
-
d: "M9.99414 6.66666V9.99999",
|
|
18
|
-
stroke: "white",
|
|
19
|
-
"stroke-linecap": "round",
|
|
20
|
-
"stroke-linejoin": "round",
|
|
21
|
-
"stroke-width": "2"
|
|
22
|
-
}, null, -1),
|
|
23
|
-
o("path", {
|
|
24
|
-
d: "M9.99414 13.3333H10.0025",
|
|
25
|
-
stroke: "white",
|
|
26
|
-
"stroke-linecap": "round",
|
|
27
|
-
"stroke-linejoin": "round",
|
|
28
|
-
"stroke-width": "2"
|
|
29
|
-
}, null, -1)
|
|
30
|
-
]));
|
|
31
|
-
}
|
|
32
|
-
const a = /* @__PURE__ */ n(l, [["render", i]]);
|
|
33
|
-
export {
|
|
34
|
-
a as default
|
|
35
|
-
};
|