bitboss-ui 2.0.125 → 2.0.127
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/BbDropdown/BbDropdown.vue.d.ts +0 -22
- package/dist/components/ListBox.vue.d.ts +1 -0
- package/dist/index100.js +7 -7
- package/dist/index111.js +10 -10
- package/dist/index119.js +2 -2
- package/dist/index121.js +4 -4
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index133.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +2 -8
- package/dist/index207.js +281 -3
- package/dist/index208.js +125 -5
- package/dist/index209.js +2 -2
- package/dist/index21.js +12 -12
- package/dist/index210.js +2 -2
- package/dist/index211.js +16 -16
- package/dist/index212.js +2 -2
- package/dist/index213.js +2 -19
- package/dist/index214.js +2 -27
- package/dist/index215.js +41 -2
- package/dist/index216.js +12 -249
- package/dist/index217.js +18 -50
- package/dist/index218.js +5 -43
- package/dist/index219.js +94 -5
- package/dist/index221.js +64 -12
- package/dist/index223.js +13 -4
- package/dist/index224.js +2 -2
- package/dist/index225.js +4 -86
- package/dist/index226.js +10 -0
- package/dist/index227.js +3 -25
- package/dist/index228.js +3 -17
- package/dist/index229.js +7 -51
- package/dist/index23.js +12 -12
- package/dist/index230.js +15 -15
- package/dist/index231.js +3 -12
- package/dist/index232.js +19 -16
- package/dist/index233.js +26 -64
- package/dist/index234.js +252 -0
- package/dist/index235.js +52 -13
- package/dist/index236.js +43 -19
- package/dist/index237.js +5 -4
- package/dist/index238.js +60 -3
- package/dist/index239.js +2 -3
- package/dist/index240.js +4 -41
- package/dist/index241.js +2 -6
- package/dist/index242.js +86 -7
- package/dist/index244.js +29 -2
- package/dist/index245.js +15 -123
- package/dist/index246.js +51 -2
- package/dist/index247.js +15 -94
- package/dist/index248.js +14 -0
- package/dist/index249.js +16 -2
- package/dist/index25.js +7 -7
- package/dist/index251.js +2 -2
- package/dist/index252.js +1 -1
- package/dist/index254.js +1 -1
- package/dist/index257.js +57 -43
- package/dist/index258.js +3 -3
- package/dist/index263.js +6 -9
- package/dist/index264.js +16 -23
- package/dist/index265.js +8 -27
- package/dist/index266.js +9 -281
- package/dist/index267.js +23 -6
- package/dist/index268.js +6 -2
- package/dist/index269.js +2 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -2
- package/dist/index275.js +431 -2
- package/dist/index276.js +176 -2
- package/dist/index277.js +3 -2
- package/dist/index278.js +3 -2
- package/dist/index280.js +9 -0
- package/dist/index281.js +6 -6
- package/dist/index282.js +11 -7
- package/dist/index283.js +27 -10
- package/dist/index284.js +2 -4
- package/dist/index285.js +89 -3
- package/dist/index286.js +197 -14
- package/dist/index287.js +1 -1
- package/dist/index288.js +8 -3
- package/dist/index289.js +6 -0
- package/dist/index29.js +3 -3
- package/dist/index290.js +222 -174
- package/dist/index291.js +3 -224
- package/dist/index292.js +17 -6
- package/dist/index293.js +2 -16
- package/dist/index294.js +2 -431
- package/dist/index295.js +1 -1
- package/dist/index296.js +2 -89
- package/dist/index297.js +2 -9
- package/dist/index298.js +2 -8
- package/dist/index299.js +21 -199
- package/dist/index301.js +126 -3
- package/dist/index302.js +3 -126
- package/dist/index303.js +1 -1
- package/dist/index304.js +2 -3
- package/dist/index305.js +436 -2
- package/dist/index306.js +113 -422
- package/dist/index307.js +3 -127
- package/dist/index308.js +3 -2
- package/dist/index309.js +56 -65
- package/dist/index31.js +2 -2
- package/dist/index310.js +480 -5
- package/dist/index311.js +5 -7
- package/dist/index312.js +2 -19
- package/dist/index313.js +5 -53
- package/dist/index314.js +8 -53
- package/dist/index315.js +66 -32
- package/dist/index316.js +52 -25
- package/dist/index317.js +53 -5
- package/dist/index318.js +32 -7
- package/dist/index319.js +25 -6
- package/dist/index320.js +4 -3
- package/dist/index321.js +7 -3
- package/dist/index322.js +17 -56
- package/dist/index323.js +46 -3
- package/dist/index324.js +6 -46
- package/dist/index325.js +2 -480
- package/dist/index328.js +426 -0
- package/dist/index329.js +2 -424
- package/dist/index33.js +8 -8
- package/dist/index330.js +47 -2
- package/dist/index35.js +4 -4
- package/dist/index37.js +101 -100
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +1 -1
- package/dist/index75.js +65 -77
- package/dist/index77.js +30 -33
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +4 -4
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index220.js +0 -62
- package/dist/index222.js +0 -4
- package/dist/index243.js +0 -17
- package/dist/index279.js +0 -24
- package/dist/index300.js +0 -4
- package/dist/index326.js +0 -4
- package/dist/index331.js +0 -49
package/dist/index75.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { defineComponent as X, computed as F, ref as
|
2
|
-
import { findRightIndex as
|
1
|
+
import { defineComponent as X, computed as F, ref as y, openBlock as h, createElementBlock as D, mergeProps as A, createElementVNode as _, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
|
2
|
+
import { findRightIndex as H } from "./index266.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index130.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 "./
|
9
|
-
import se from "./
|
8
|
+
import N from "./index267.js";
|
9
|
+
import se from "./index219.js";
|
10
10
|
/* empty css */
|
11
11
|
import V from "./index127.js";
|
12
12
|
/* empty css */
|
@@ -29,46 +29,46 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
29
29
|
},
|
30
30
|
setup(z) {
|
31
31
|
const r = z, u = r.id ?? `bb_${ne().id.value}`, m = F(() => {
|
32
|
-
let e = r.items.findIndex((t) => !t.disabled), o =
|
32
|
+
let e = r.items.findIndex((t) => !t.disabled), o = H(
|
33
33
|
r.items,
|
34
34
|
(t) => !t.disabled
|
35
35
|
);
|
36
36
|
return r.items.map((t, n) => {
|
37
37
|
const i = `${u}-item-${t.key}`, { onClick: q, ...C } = t, J = async () => {
|
38
38
|
await b();
|
39
|
-
const
|
40
|
-
if (
|
39
|
+
const l = document.querySelector(`#${u}`);
|
40
|
+
if (l) l instanceof HTMLElement && l.focus();
|
41
41
|
else return;
|
42
42
|
q && q();
|
43
|
-
}, Q = (
|
44
|
-
if (
|
43
|
+
}, Q = (l) => {
|
44
|
+
if (l.target instanceof HTMLElement && l.target.dataset.dropdownItem) {
|
45
45
|
if (!a.value) return;
|
46
|
-
if (
|
47
|
-
if (
|
46
|
+
if (l.key === "ArrowDown") {
|
47
|
+
if (l.preventDefault(), a.value && n !== o) {
|
48
48
|
const d = a.value.querySelector(
|
49
49
|
N.map((w) => `#${i} ~ ${w}`).join(",")
|
50
50
|
);
|
51
51
|
d && d instanceof HTMLElement && d.focus();
|
52
52
|
}
|
53
|
-
} else if (
|
54
|
-
if (
|
55
|
-
const d =
|
53
|
+
} else if (l.key === "ArrowUp") {
|
54
|
+
if (l.preventDefault(), a.value && n !== e) {
|
55
|
+
const d = H(r.items, (E, T) => T < n && !E.disabled), k = Array.from(
|
56
56
|
a.value.querySelectorAll(".bb-dropdown__item")
|
57
57
|
)[d];
|
58
58
|
k && k instanceof HTMLElement && k.focus();
|
59
59
|
}
|
60
|
-
} else if (
|
61
|
-
if (n === o && !
|
60
|
+
} else if (l.key === "Tab") {
|
61
|
+
if (n === o && !l.shiftKey) {
|
62
62
|
const d = N.join(","), w = Array.from(
|
63
63
|
document.querySelectorAll(d)
|
64
64
|
), k = w.findIndex(
|
65
65
|
(T) => T.id === u
|
66
66
|
), E = w[k + 1];
|
67
|
-
if (E) E instanceof HTMLElement && (
|
67
|
+
if (E) E instanceof HTMLElement && (l.preventDefault(), b(), E.focus());
|
68
68
|
else return;
|
69
|
-
} else if (n === e &&
|
69
|
+
} else if (n === e && l.shiftKey) {
|
70
70
|
const d = document.querySelector(`#${u}`);
|
71
|
-
if (d) d instanceof HTMLElement && (
|
71
|
+
if (d) d instanceof HTMLElement && (l.preventDefault(), d.focus());
|
72
72
|
else return;
|
73
73
|
}
|
74
74
|
}
|
@@ -84,18 +84,18 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
84
84
|
onKeydown: Q
|
85
85
|
};
|
86
86
|
});
|
87
|
-
}), v =
|
87
|
+
}), v = y(), a = y();
|
88
88
|
ae(
|
89
89
|
v,
|
90
90
|
([{ intersectionRatio: e }]) => {
|
91
|
-
e !== 1 &&
|
91
|
+
e !== 1 && s.value && b();
|
92
92
|
},
|
93
93
|
{ threshold: [0, 1] }
|
94
94
|
);
|
95
|
-
const c =
|
96
|
-
c.value || p.value || (
|
95
|
+
const c = y(!1), s = y(!1), p = y(!1), f = y(!0), R = () => {
|
96
|
+
c.value || p.value || (s.value ? b() : L());
|
97
97
|
}, U = async (e) => {
|
98
|
-
let o = r.items.findIndex((n) => !n.disabled), t =
|
98
|
+
let o = r.items.findIndex((n) => !n.disabled), t = H(
|
99
99
|
r.items,
|
100
100
|
(n) => !n.disabled
|
101
101
|
);
|
@@ -111,52 +111,52 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
111
111
|
const n = m.value[t].id, i = a.value.querySelector(`#${n}`);
|
112
112
|
i && i instanceof HTMLElement && i.focus();
|
113
113
|
}
|
114
|
-
} else if (e.key === "Tab" &&
|
114
|
+
} else if (e.key === "Tab" && s.value && !e.shiftKey && (e.preventDefault(), a.value && m.value.length && o !== -1)) {
|
115
115
|
const n = m.value[o].id, i = a.value.querySelector(`#${n}`);
|
116
116
|
i && i instanceof HTMLElement && i.focus();
|
117
117
|
}
|
118
|
-
},
|
118
|
+
}, I = (e) => {
|
119
119
|
const o = e.target;
|
120
120
|
if (o && o instanceof HTMLElement) {
|
121
121
|
let t = !0;
|
122
122
|
v.value && v.value.contains(o) && (t = !1), a.value && a.value.contains(o) && (t = !1), t && b();
|
123
123
|
}
|
124
|
-
},
|
124
|
+
}, M = (e) => {
|
125
125
|
const o = e.target;
|
126
126
|
if (o && o instanceof HTMLElement) {
|
127
127
|
let t = !0;
|
128
128
|
v.value && v.value.contains(o) && (t = !1), a.value && a.value.contains(o) && (t = !1), t && b();
|
129
129
|
}
|
130
|
-
},
|
130
|
+
}, S = (e) => {
|
131
131
|
var o;
|
132
|
-
if (
|
132
|
+
if (s.value && e.key === "Escape") {
|
133
133
|
if (((o = document.activeElement) == null ? void 0 : o.id) !== u) {
|
134
134
|
const t = document.querySelector(`#${u}`);
|
135
135
|
t instanceof HTMLElement && t.focus();
|
136
136
|
}
|
137
137
|
b();
|
138
138
|
}
|
139
|
-
}, W =
|
140
|
-
W.value = !0, await oe(50),
|
139
|
+
}, W = y(!1), L = async () => {
|
140
|
+
W.value = !0, await oe(50), s.value = !0, document.addEventListener("click", I, { passive: !0 }), document.addEventListener("focusin", M, { passive: !0 }), document.addEventListener("keydown", S, { passive: !0 });
|
141
141
|
}, b = async () => {
|
142
|
-
|
142
|
+
s.value = !1, document.removeEventListener("click", I), document.removeEventListener("focusin", M), document.removeEventListener("keydown", S);
|
143
143
|
}, G = F(() => ({
|
144
144
|
class: {
|
145
145
|
"bb-dropdown--block": r.block,
|
146
146
|
[`bb-dropdown--${r.theme}`]: r.theme
|
147
147
|
}
|
148
148
|
}));
|
149
|
-
return (e, o) => (
|
150
|
-
|
149
|
+
return (e, o) => (h(), D("span", A({ class: "bb-dropdown" }, G.value), [
|
150
|
+
_("span", {
|
151
151
|
ref_key: "wrapper",
|
152
152
|
ref: v,
|
153
153
|
class: "bb-dropdown__wrapper"
|
154
154
|
}, [
|
155
|
-
|
155
|
+
g(e.$slots, "activator", Y(Z({
|
156
156
|
props: {
|
157
|
-
"aria-expanded":
|
158
|
-
"aria-controls": `menu_${
|
159
|
-
id:
|
157
|
+
"aria-expanded": s.value,
|
158
|
+
"aria-controls": `menu_${$(u)}`,
|
159
|
+
id: $(u),
|
160
160
|
onClick: R,
|
161
161
|
onKeydown: U,
|
162
162
|
disabled: e.disabled
|
@@ -164,7 +164,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
164
164
|
closed: f.value,
|
165
165
|
closing: p.value,
|
166
166
|
disabled: e.disabled,
|
167
|
-
open:
|
167
|
+
open: s.value,
|
168
168
|
opening: c.value,
|
169
169
|
placement: e.placement
|
170
170
|
})))
|
@@ -173,13 +173,13 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
173
173
|
"arrow-padding": e.arrowPadding,
|
174
174
|
"base-class": "bb-dropdown",
|
175
175
|
"container-attributes": {
|
176
|
-
id: `menu_${
|
177
|
-
"aria-labelledby":
|
176
|
+
id: `menu_${$(u)}`,
|
177
|
+
"aria-labelledby": $(u),
|
178
178
|
"aria-role": "menu"
|
179
179
|
},
|
180
180
|
eager: e.eager,
|
181
181
|
offset: e.offset,
|
182
|
-
open:
|
182
|
+
open: s.value,
|
183
183
|
padding: e.padding,
|
184
184
|
placement: e.placement,
|
185
185
|
"teleport-target": e.teleportTarget,
|
@@ -188,30 +188,30 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
188
188
|
wrapper: v.value
|
189
189
|
}, {
|
190
190
|
default: O(() => [
|
191
|
-
|
191
|
+
_("span", {
|
192
192
|
ref_key: "content",
|
193
193
|
ref: a,
|
194
194
|
class: "bb-dropdown__items-container",
|
195
195
|
style: x({ width: `${e.width}px` })
|
196
196
|
}, [
|
197
|
-
|
197
|
+
g(e.$slots, "prepend", {
|
198
198
|
closed: f.value,
|
199
199
|
closing: p.value,
|
200
200
|
disabled: e.disabled,
|
201
|
-
open:
|
201
|
+
open: s.value,
|
202
202
|
opening: c.value,
|
203
203
|
placement: e.placement
|
204
204
|
}),
|
205
|
-
(
|
205
|
+
(h(!0), D(K, null, ee(m.value, (t, n) => (h(), D(K, {
|
206
206
|
key: t.key
|
207
207
|
}, [
|
208
|
-
|
208
|
+
g(e.$slots, "item:prepend", {
|
209
209
|
closed: f.value,
|
210
210
|
closing: p.value,
|
211
211
|
disabled: t.disabled,
|
212
212
|
index: n,
|
213
213
|
item: e.items[n],
|
214
|
-
open:
|
214
|
+
open: s.value,
|
215
215
|
opening: c.value,
|
216
216
|
placement: e.placement,
|
217
217
|
text: t.text
|
@@ -226,61 +226,49 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
226
226
|
ref_for: !0
|
227
227
|
}, t), {
|
228
228
|
default: O(() => [
|
229
|
-
|
229
|
+
g(e.$slots, t.key, {
|
230
230
|
closed: f.value,
|
231
231
|
closing: p.value,
|
232
232
|
disabled: t.disabled,
|
233
233
|
index: n,
|
234
234
|
item: t.original,
|
235
|
-
open:
|
235
|
+
open: s.value,
|
236
236
|
opening: c.value,
|
237
237
|
placement: e.placement,
|
238
238
|
text: t.text
|
239
239
|
}, () => [
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
},
|
251
|
-
t["prepend:icon"] ? ($(), P(V, {
|
252
|
-
key: 0,
|
253
|
-
class: "item__prepend-icon",
|
254
|
-
type: t["prepend:icon"]
|
255
|
-
}, null, 8, ["type"])) : j("", !0),
|
256
|
-
H("span", ie, te(t.text), 1),
|
257
|
-
t["append:icon"] ? ($(), P(V, {
|
258
|
-
key: 1,
|
259
|
-
class: "item__append-icon",
|
260
|
-
type: t["append:icon"]
|
261
|
-
}, null, 8, ["type"])) : j("", !0)
|
262
|
-
])
|
240
|
+
t["prepend:icon"] ? (h(), P(V, {
|
241
|
+
key: 0,
|
242
|
+
class: "item__prepend-icon",
|
243
|
+
type: t["prepend:icon"]
|
244
|
+
}, null, 8, ["type"])) : j("", !0),
|
245
|
+
_("span", ie, te(t.text), 1),
|
246
|
+
t["append:icon"] ? (h(), P(V, {
|
247
|
+
key: 1,
|
248
|
+
class: "item__append-icon",
|
249
|
+
type: t["append:icon"]
|
250
|
+
}, null, 8, ["type"])) : j("", !0)
|
263
251
|
])
|
264
252
|
]),
|
265
253
|
_: 2
|
266
254
|
}, 1040, ["class"]),
|
267
|
-
|
255
|
+
g(e.$slots, "item:append", {
|
268
256
|
closed: f.value,
|
269
257
|
closing: p.value,
|
270
258
|
disabled: t.disabled,
|
271
259
|
index: n,
|
272
260
|
item: e.items[n],
|
273
|
-
open:
|
261
|
+
open: s.value,
|
274
262
|
opening: c.value,
|
275
263
|
placement: e.placement,
|
276
264
|
text: t.text
|
277
265
|
})
|
278
266
|
], 64))), 128)),
|
279
|
-
|
267
|
+
g(e.$slots, "append", {
|
280
268
|
closed: f.value,
|
281
269
|
closing: p.value,
|
282
270
|
disabled: e.disabled,
|
283
|
-
open:
|
271
|
+
open: s.value,
|
284
272
|
opening: c.value,
|
285
273
|
placement: e.placement
|
286
274
|
})
|
package/dist/index77.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as E, ref as A, computed as y, openBlock as l, createElementBlock as z, mergeProps as _, unref as
|
1
|
+
import { defineComponent as E, ref as A, computed as y, openBlock as l, createElementBlock as z, mergeProps as _, unref as d, createVNode as u, withCtx as n, createBlock as P, createCommentVNode as v, createElementVNode as b, toDisplayString as h, createSlots as I, renderSlot as r, normalizeProps as s, guardReactiveProps as p, renderList as M } from "vue";
|
2
2
|
import D from "./index13.js";
|
3
3
|
/* empty css */
|
4
4
|
import O from "./index75.js";
|
@@ -9,7 +9,7 @@ import S from "./index127.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import R from "./index129.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as T } from "./
|
12
|
+
import { useLocale as T } from "./index216.js";
|
13
13
|
const Z = { class: "bb-dropdown-button__content" }, q = {
|
14
14
|
key: 1,
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
@@ -38,8 +38,8 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
|
|
38
38
|
setup(W) {
|
39
39
|
const t = W, { t: m } = T(), c = A(0), f = y(
|
40
40
|
() => t.loading || !!c.value && t.autoLoading
|
41
|
-
), j = (e) => async (...
|
42
|
-
f.value && t.disabledWhileLoading || (c.value++, await e(...
|
41
|
+
), j = (e) => async (...a) => {
|
42
|
+
f.value && t.disabledWhileLoading || (c.value++, await e(...a), c.value--);
|
43
43
|
}, w = y(
|
44
44
|
() => t.items.map((e) => e.onClick ? {
|
45
45
|
...e,
|
@@ -53,27 +53,27 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
|
|
53
53
|
const e = { ...w.value[0] };
|
54
54
|
return e.disabled = e.disabled || t.disabled, e;
|
55
55
|
}), N = typeof t.size == "string" ? { default: t.size } : { default: "md", ...t.size }, V = Object.entries(N).reduce(
|
56
|
-
(e, [
|
56
|
+
(e, [a, o]) => (a === "default" ? e[`data-${o}`] = "" : e[`data-${a}:${o}`] = "", e),
|
57
57
|
{}
|
58
58
|
);
|
59
|
-
return (e,
|
59
|
+
return (e, a) => (l(), z("span", _({
|
60
60
|
class: ["bb-dropdown-button", {
|
61
61
|
"bb-dropdown-button--block": e.block,
|
62
62
|
"bb-dropdown-button--loading": f.value,
|
63
63
|
[`bb-dropdown-button--${e.theme}`]: !0
|
64
64
|
}]
|
65
|
-
},
|
65
|
+
}, d(V)), [
|
66
66
|
u(D, _(k.value, { class: "bb-dropdown-button__main-btn" }), {
|
67
67
|
default: n(() => [
|
68
|
-
u(
|
69
|
-
t["prepend:icon"] ? (l(), P(
|
68
|
+
u(d(R), { class: "bb-dropdown-button__spinner" }),
|
69
|
+
t["prepend:icon"] ? (l(), P(d(S), {
|
70
70
|
key: 0,
|
71
71
|
class: "bb-dropdown-button__prepend-icon",
|
72
72
|
type: t["prepend:icon"]
|
73
73
|
}, null, 8, ["type"])) : v("", !0),
|
74
74
|
b("span", Z, h(k.value.text), 1),
|
75
|
-
f.value ? (l(), z("span", q, h(
|
76
|
-
t["append:icon"] ? (l(), P(
|
75
|
+
f.value ? (l(), z("span", q, h(d(m)("common.loadingText").value), 1)) : v("", !0),
|
76
|
+
t["append:icon"] ? (l(), P(d(S), {
|
77
77
|
key: 2,
|
78
78
|
class: "bb-dropdown-button__append-icon",
|
79
79
|
type: t["append:icon"]
|
@@ -96,34 +96,34 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
|
|
96
96
|
}, I({
|
97
97
|
activator: n(({
|
98
98
|
props: o,
|
99
|
-
opening:
|
99
|
+
opening: i,
|
100
100
|
open: g,
|
101
|
-
closed:
|
102
|
-
closing:
|
101
|
+
closed: B,
|
102
|
+
closing: $,
|
103
103
|
disabled: L,
|
104
104
|
placement: C
|
105
105
|
}) => [
|
106
|
-
|
107
|
-
closed:
|
108
|
-
closing:
|
106
|
+
r(e.$slots, "activator", {
|
107
|
+
closed: B,
|
108
|
+
closing: $,
|
109
109
|
disabled: L,
|
110
110
|
open: g,
|
111
|
-
opening:
|
111
|
+
opening: i,
|
112
112
|
placement: C,
|
113
113
|
props: o
|
114
114
|
}, () => [
|
115
115
|
u(D, _(o, { class: "bb-dropdown-button__dropdown-btn" }), {
|
116
116
|
default: n(() => [
|
117
|
-
b("span", F, h(g ||
|
118
|
-
|
119
|
-
closed:
|
120
|
-
closing:
|
117
|
+
b("span", F, h(g || i ? d(m)("dropdownButton.close").value : d(m)("dropdownButton.open").value), 1),
|
118
|
+
r(e.$slots, "right-btn", {
|
119
|
+
closed: B,
|
120
|
+
closing: $,
|
121
121
|
disabled: L,
|
122
122
|
open: g,
|
123
|
-
opening:
|
123
|
+
opening: i,
|
124
124
|
placement: C
|
125
125
|
}, () => [
|
126
|
-
|
126
|
+
a[0] || (a[0] = b("svg", {
|
127
127
|
class: "bb-dropdown-button__dropdown-chevron",
|
128
128
|
viewBox: "0 0 24 24",
|
129
129
|
xmlns: "http://www.w3.org/2000/svg"
|
@@ -140,26 +140,23 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
|
|
140
140
|
])
|
141
141
|
]),
|
142
142
|
prepend: n((o) => [
|
143
|
-
|
143
|
+
r(e.$slots, "prepend", s(p(o)))
|
144
144
|
]),
|
145
145
|
"item:prepend": n((o) => [
|
146
|
-
|
147
|
-
]),
|
148
|
-
item: n((o) => [
|
149
|
-
a(e.$slots, "item", i(s(o)))
|
146
|
+
r(e.$slots, "item:prepend", s(p(o)))
|
150
147
|
]),
|
151
148
|
"item:append": n((o) => [
|
152
|
-
|
149
|
+
r(e.$slots, "item:append", s(p(o)))
|
153
150
|
]),
|
154
151
|
append: n((o) => [
|
155
|
-
|
152
|
+
r(e.$slots, "append", s(p(o)))
|
156
153
|
]),
|
157
154
|
_: 2
|
158
155
|
}, [
|
159
156
|
M(w.value, (o) => ({
|
160
157
|
name: o.key,
|
161
|
-
fn: n((
|
162
|
-
|
158
|
+
fn: n((i) => [
|
159
|
+
r(e.$slots, o.key, s(p(i)))
|
163
160
|
])
|
164
161
|
}))
|
165
162
|
]), 1032, ["id", "arrow-padding", "disabled", "eager", "items", "offset", "padding", "placement", "theme", "transition-duration", "width"])
|
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 "./index264.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index128.js";
|
5
5
|
/* empty css */
|
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
|
|
53
53
|
const r = a.accept[t];
|
54
54
|
if (r.includes("/")) e.push(r);
|
55
55
|
else {
|
56
|
-
b || (b = (await import("./
|
56
|
+
b || (b = (await import("./index263.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 "./index228.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as se, ref as l, useAttrs as ae, computed as u, getCurrentInstance as ne, nextTick as ie, onBeforeUnmount as O, onMounted as re, watch as ue, openBlock as g, createBlock as ce, withCtx as de, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as fe, toDisplayString as A, unref as ve, createCommentVNode as $ } from "vue";
|
2
|
-
import { useFocusTrap as pe } from "./
|
2
|
+
import { useFocusTrap as pe } from "./index215.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import be from "./
|
5
|
+
import { useModalsState as b } from "./index229.js";
|
6
|
+
import be from "./index230.js";
|
7
7
|
import { useMobile as me } from "./index9.js";
|
8
|
-
import { useLocale as ye } from "./
|
8
|
+
import { useLocale as ye } from "./index216.js";
|
9
9
|
const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
|
10
10
|
__name: "BbOffCanvas",
|
11
11
|
props: {
|
package/dist/index86.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
|
2
|
-
import { debounce as T } from "./
|
2
|
+
import { debounce as T } from "./index265.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import z from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { useLocale as D } from "./
|
7
|
+
import { useLocale as D } from "./index216.js";
|
8
8
|
const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
|
9
9
|
__name: "BbPagination",
|
10
10
|
props: {
|
package/dist/index88.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
|
2
|
-
import { useFocusTrap as j } from "./
|
2
|
+
import { useFocusTrap as j } from "./index215.js";
|
3
3
|
import { useId as G } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as J } from "./index132.js";
|
5
|
-
import { waitFor as K } from "./
|
5
|
+
import { waitFor as K } from "./index218.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index219.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
10
|
+
import { useLocale as X } from "./index216.js";
|
11
11
|
import { useDebounceFn as Y } from "./index205.js";
|
12
12
|
const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
13
13
|
__name: "BbPopover",
|
package/dist/index90.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
|
2
|
-
import { clamp as p } from "./
|
2
|
+
import { clamp as p } from "./index206.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|