bitboss-ui 2.0.29 → 2.0.31
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/index104.js +73 -66
- package/dist/index106.js +4 -4
- package/dist/index114.js +1 -1
- package/dist/index116.js +5 -5
- package/dist/index118.js +1 -1
- package/dist/index121.js +4 -4
- package/dist/index122.js +1 -1
- package/dist/index123.js +1 -1
- package/dist/index124.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index15.js +3 -3
- package/dist/index19.js +14 -14
- package/dist/index199.js +2 -281
- package/dist/index200.js +2 -16
- package/dist/index201.js +4 -16
- package/dist/index202.js +2 -19
- package/dist/index203.js +8 -19
- package/dist/index204.js +3 -27
- package/dist/index205.js +3 -3
- package/dist/index206.js +35 -2
- package/dist/index207.js +5 -7
- package/dist/index208.js +7 -249
- package/dist/index209.js +279 -50
- package/dist/index21.js +15 -15
- package/dist/index210.js +16 -44
- package/dist/index211.js +16 -5
- package/dist/index212.js +19 -49
- package/dist/index213.js +19 -2
- package/dist/index214.js +27 -4
- package/dist/index215.js +3 -2
- package/dist/index216.js +2 -3
- package/dist/index217.js +249 -2
- package/dist/index218.js +49 -123
- package/dist/index219.js +44 -123
- package/dist/index220.js +5 -2
- package/dist/index221.js +49 -35
- package/dist/index222.js +118 -166
- package/dist/index223.js +123 -6
- package/dist/index224.js +2 -43
- package/dist/index225.js +176 -0
- package/dist/index226.js +42 -12
- package/dist/index228.js +13 -369
- package/dist/index229.js +5 -3
- package/dist/index23.js +5 -5
- package/dist/index230.js +369 -7
- package/dist/index231.js +7 -7
- package/dist/index234.js +1 -1
- package/dist/index236.js +1 -1
- package/dist/index238.js +1 -1
- package/dist/index243.js +3 -4
- package/dist/index244.js +9 -6
- package/dist/index245.js +23 -2
- package/dist/index246.js +6 -2
- package/dist/index247.js +16 -2
- package/dist/index248.js +9 -2
- package/dist/index249.js +4 -2
- package/dist/index25.js +1 -1
- package/dist/index250.js +224 -2
- package/dist/index251.js +431 -2
- package/dist/index252.js +89 -2
- package/dist/index253.js +2 -2
- package/dist/index254.js +9 -2
- package/dist/index255.js +5 -27
- package/dist/index256.js +2 -22
- package/dist/index257.js +4 -0
- package/dist/index258.js +2 -7
- package/dist/index259.js +2 -6
- package/dist/index260.js +2 -16
- package/dist/index261.js +2 -224
- package/dist/index262.js +2 -3
- package/dist/index263.js +2 -9
- package/dist/index264.js +2 -23
- package/dist/index265.js +2 -9
- package/dist/index266.js +28 -2
- package/dist/index267.js +21 -125
- package/dist/index269.js +7 -3
- package/dist/index27.js +3 -3
- package/dist/index270.js +202 -0
- package/dist/index271.js +61 -17
- package/dist/index272.js +7 -0
- package/dist/index273.js +2 -89
- package/dist/index274.js +126 -3
- package/dist/index275.js +3 -12
- package/dist/index277.js +20 -7
- package/dist/index279.js +3 -436
- package/dist/index280.js +11 -126
- package/dist/index281.js +8 -199
- package/dist/index282.js +17 -3
- package/dist/index283.js +436 -3
- package/dist/index284.js +126 -210
- package/dist/index285.js +3 -2
- package/dist/index286.js +3 -5
- package/dist/index287.js +211 -15
- package/dist/index288.js +75 -62
- package/dist/index29.js +2 -2
- package/dist/index290.js +4 -7
- package/dist/index291.js +4 -19
- package/dist/index292.js +59 -4
- package/dist/index293.js +15 -4
- package/dist/index294.js +2 -59
- package/dist/index295.js +7 -79
- package/dist/index296.js +21 -0
- package/dist/index297.js +10 -34
- package/dist/index298.js +6 -46
- package/dist/index299.js +46 -10
- package/dist/index300.js +35 -2
- package/dist/index301.js +1 -1
- package/dist/index33.js +3 -3
- package/dist/index35.js +8 -8
- package/dist/index37.js +3 -3
- package/dist/index39.js +2 -2
- package/dist/index43.js +3 -3
- package/dist/index45.js +2 -2
- package/dist/index47.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index71.js +3 -3
- package/dist/index75.js +2 -2
- package/dist/index77.js +1 -1
- package/dist/index80.js +2 -2
- package/dist/index82.js +1 -1
- package/dist/index84.js +3 -3
- package/dist/index86.js +1 -1
- package/package.json +1 -1
- package/dist/index227.js +0 -7
- package/dist/index268.js +0 -433
- package/dist/index276.js +0 -11
- package/dist/index278.js +0 -19
- package/dist/index289.js +0 -9
package/dist/index104.js
CHANGED
@@ -1,14 +1,15 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useId as
|
3
|
-
import { useRoute as
|
4
|
-
import { useRouter as
|
5
|
-
import { wait as
|
6
|
-
import { useScroll as
|
7
|
-
import
|
1
|
+
import { defineComponent as ae, ref as u, computed as _, getCurrentInstance as se, watch as h, nextTick as ie, onMounted as ne, onBeforeUnmount as re, openBlock as b, createElementBlock as y, unref as oe, normalizeClass as x, createElementVNode as c, renderSlot as m, normalizeProps as M, guardReactiveProps as O, normalizeStyle as ue, Fragment as j, renderList as G, createVNode as Q, withCtx as T, toDisplayString as de, createBlock as ce, Transition as be, createCommentVNode as fe } from "vue";
|
2
|
+
import { useId as he } from "./index8.js";
|
3
|
+
import { useRoute as ye } from "./index132.js";
|
4
|
+
import { useRouter as me } from "./index133.js";
|
5
|
+
import { wait as ve } from "./index127.js";
|
6
|
+
import { useScroll as pe } from "./index128.js";
|
7
|
+
import ke from "./index13.js";
|
8
8
|
/* empty css */
|
9
|
-
import
|
9
|
+
import ge from "./index123.js";
|
10
10
|
/* empty css */
|
11
|
-
|
11
|
+
import { useDebounceFn as _e } from "./index198.js";
|
12
|
+
const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-tab__label" }, Se = { class: "bb-tab__panes-container" }, xe = ["id", "aria-labelledby"], Fe = /* @__PURE__ */ ae({
|
12
13
|
__name: "BbTab",
|
13
14
|
props: {
|
14
15
|
disabled: { type: Boolean },
|
@@ -23,21 +24,21 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
23
24
|
replace: { type: Boolean }
|
24
25
|
},
|
25
26
|
emits: ["update:modelValue"],
|
26
|
-
setup(
|
27
|
-
var F, N,
|
28
|
-
const t =
|
29
|
-
isScrolling:
|
27
|
+
setup(X, { expose: Y, emit: Z }) {
|
28
|
+
var F, N, U, A, H, K, W;
|
29
|
+
const t = X, ee = Z, d = ye(), w = me(), $ = u(), L = t.id ?? he().id.value, v = `bb-tab_${L}`, p = u(), { isScrolling: te, arrivedState: I } = pe(p), B = _(() => ({
|
30
|
+
isScrolling: te.value,
|
30
31
|
left: I.left,
|
31
32
|
right: I.right
|
32
|
-
})), V = !!((N = (F =
|
33
|
+
})), V = !!((N = (F = se()) == null ? void 0 : F.proxy) != null && N.$inertia), s = u(null), r = _(
|
33
34
|
() => t.items.findIndex((e) => e.key === s.value)
|
34
|
-
), k = _(() =>
|
35
|
+
), k = _(() => r.value === 0), g = _(() => r.value === t.items.length - 1);
|
35
36
|
if (t.items.forEach((e) => {
|
36
37
|
if (!e.key)
|
37
38
|
throw console.error("A tab item has no key", e), new Error("A tab item has no key " + JSON.stringify(e));
|
38
|
-
}), t.navigation && ((A = (
|
39
|
-
s.value = (
|
40
|
-
else if (t.navigation && V && ((
|
39
|
+
}), t.navigation && ((A = (U = d.value) == null ? void 0 : U.query) != null && A[t.querykey]))
|
40
|
+
s.value = (K = (H = d.value) == null ? void 0 : H.query) == null ? void 0 : K[t.querykey];
|
41
|
+
else if (t.navigation && V && ((W = globalThis == null ? void 0 : globalThis.location) != null && W.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
|
41
42
|
s.value = new URL(globalThis.location.href).searchParams.get(
|
42
43
|
t.querykey
|
43
44
|
);
|
@@ -53,20 +54,20 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
53
54
|
s.value = a;
|
54
55
|
}
|
55
56
|
const f = async (e, a = !1) => {
|
56
|
-
var l,
|
57
|
-
if (t.navigation && d.value && ((
|
57
|
+
var l, n, i, J;
|
58
|
+
if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
|
58
59
|
w == null || w.push({
|
59
60
|
...d,
|
60
61
|
query: { ...(i = d.value) == null ? void 0 : i.query, [t.querykey]: e },
|
61
62
|
replace: a
|
62
63
|
});
|
63
|
-
else if (t.navigation && V && ((
|
64
|
-
const
|
65
|
-
|
66
|
-
a ? history.replaceState({}, "",
|
64
|
+
else if (t.navigation && V && ((J = globalThis == null ? void 0 : globalThis.location) != null && J.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
|
65
|
+
const S = new URL(globalThis.location.href);
|
66
|
+
S.searchParams.set(t.querykey, e), ve(0).then(() => {
|
67
|
+
a ? history.replaceState({}, "", S.toString()) : history.pushState({}, "", S.toString());
|
67
68
|
});
|
68
69
|
}
|
69
|
-
t.modelValue !== e &&
|
70
|
+
t.modelValue !== e && ee("update:modelValue", e), s.value = e;
|
70
71
|
};
|
71
72
|
s.value && f(s.value, !0);
|
72
73
|
const o = (e) => {
|
@@ -78,13 +79,13 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
78
79
|
break;
|
79
80
|
case "previous": {
|
80
81
|
let i = 1;
|
81
|
-
for (; i < t.items.length && (a = (
|
82
|
+
for (; i < t.items.length && (a = (r.value + t.items.length - i) % t.items.length, t.items[a].disabled); )
|
82
83
|
i++;
|
83
84
|
break;
|
84
85
|
}
|
85
86
|
case "next": {
|
86
87
|
let i = 1;
|
87
|
-
for (; i < t.items.length && (a = (
|
88
|
+
for (; i < t.items.length && (a = (r.value + i) % t.items.length, t.items[a].disabled); )
|
88
89
|
i++;
|
89
90
|
break;
|
90
91
|
}
|
@@ -96,11 +97,11 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
96
97
|
if (a === null)
|
97
98
|
throw new Error("Could not navigate to next tab");
|
98
99
|
if (t.items[a].disabled) return;
|
99
|
-
const l = t.items[a].key,
|
100
|
+
const l = t.items[a].key, n = document.querySelector(
|
100
101
|
`#${v}_tab_${l}`
|
101
102
|
);
|
102
|
-
|
103
|
-
},
|
103
|
+
n == null || n.focus(), f(l, t.replace);
|
104
|
+
}, le = (e) => {
|
104
105
|
if (!t.disabled)
|
105
106
|
if (e.key === "ArrowRight")
|
106
107
|
o("next");
|
@@ -133,7 +134,7 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
133
134
|
const e = $.value.querySelector(
|
134
135
|
"[role=tablist] .bb-tab__btn--active"
|
135
136
|
);
|
136
|
-
e && (await
|
137
|
+
e && (await ie(), e.scrollIntoView({
|
137
138
|
behavior: "smooth",
|
138
139
|
block: "nearest",
|
139
140
|
inline: "nearest"
|
@@ -142,42 +143,48 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
142
143
|
},
|
143
144
|
{ flush: "post" }
|
144
145
|
);
|
145
|
-
const
|
146
|
+
const C = u("right");
|
146
147
|
h(
|
147
148
|
s,
|
148
149
|
(e, a) => {
|
149
150
|
if (e && a) {
|
150
|
-
const l = t.items.findIndex((i) => i.key === e),
|
151
|
-
|
151
|
+
const l = t.items.findIndex((i) => i.key === e), n = t.items.findIndex((i) => i.key === a);
|
152
|
+
C.value = l > n ? "right" : "left";
|
152
153
|
}
|
153
154
|
},
|
154
155
|
{ flush: "sync" }
|
155
156
|
);
|
156
|
-
const
|
157
|
+
const E = u(0), R = u(0), z = u(0), P = u(0), q = () => {
|
157
158
|
if (!p.value) return;
|
158
159
|
const e = p.value.querySelector(
|
159
160
|
".bb-tab__btn--active"
|
160
161
|
);
|
161
|
-
e && (
|
162
|
+
e && (z.value = e.offsetLeft, P.value = e.offsetTop, E.value = e.clientWidth, R.value = e.clientHeight);
|
162
163
|
};
|
163
|
-
|
164
|
+
ne(() => {
|
165
|
+
q(), document.addEventListener("resize", D, { passive: !0 });
|
166
|
+
}), re(() => {
|
167
|
+
document.removeEventListener("resize", D, { passive: !0 });
|
168
|
+
}), h(s, q, { flush: "post" });
|
169
|
+
const D = _e(q, 200);
|
170
|
+
return Y({
|
164
171
|
isFirst: k,
|
165
172
|
isLast: g,
|
166
173
|
current: s,
|
167
|
-
currentIndex:
|
174
|
+
currentIndex: r,
|
168
175
|
goTo: o
|
169
176
|
}), (e, a) => (b(), y("div", {
|
170
|
-
id:
|
177
|
+
id: oe(L),
|
171
178
|
ref_key: "tabs",
|
172
179
|
ref: $,
|
173
|
-
class:
|
180
|
+
class: x(["bb-tab", {
|
174
181
|
[`bb-tab--${e.direction}`]: !0,
|
175
182
|
"bb-tab--disabled": !0
|
176
183
|
}])
|
177
184
|
}, [
|
178
|
-
c("div",
|
185
|
+
c("div", $e, [
|
179
186
|
c("span", null, [
|
180
|
-
m(e.$slots, "header:prepend",
|
187
|
+
m(e.$slots, "header:prepend", M(O(B.value)))
|
181
188
|
]),
|
182
189
|
c("ul", {
|
183
190
|
ref_key: "tablist",
|
@@ -187,31 +194,31 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
187
194
|
}, [
|
188
195
|
c("span", {
|
189
196
|
class: "bb-tab__highlight",
|
190
|
-
style:
|
191
|
-
"--width": `${
|
197
|
+
style: ue({
|
198
|
+
"--width": `${E.value}px`,
|
192
199
|
"--height": `${R.value}px`,
|
193
|
-
"--left": `${
|
200
|
+
"--left": `${z.value}px`,
|
194
201
|
"--top": `${P.value}px`
|
195
202
|
})
|
196
203
|
}, null, 4),
|
197
|
-
(b(!0), y(
|
204
|
+
(b(!0), y(j, null, G(e.items, (l) => (b(), y("li", {
|
198
205
|
key: l.key,
|
199
206
|
role: "presentation"
|
200
207
|
}, [
|
201
|
-
|
208
|
+
Q(ke, {
|
202
209
|
id: `${v}_tab_${l.key}`,
|
203
210
|
"aria-selected": s.value === l.key,
|
204
|
-
class:
|
211
|
+
class: x(["bb-tab__btn", { "bb-tab__btn--active": s.value === l.key }]),
|
205
212
|
disabled: l.disabled || e.disabled,
|
206
213
|
role: "tab",
|
207
214
|
tabindex: s.value === l.key ? 0 : -1,
|
208
|
-
onClick: (
|
209
|
-
onKeydown:
|
215
|
+
onClick: (n) => f(l.key, t.replace),
|
216
|
+
onKeydown: le
|
210
217
|
}, {
|
211
|
-
default:
|
218
|
+
default: T(() => [
|
212
219
|
m(e.$slots, `label-${l.key}`, {
|
213
220
|
current: s.value,
|
214
|
-
currentIndex:
|
221
|
+
currentIndex: r.value,
|
215
222
|
disabled: !!(l.disabled || e.disabled),
|
216
223
|
goTo: o,
|
217
224
|
isFirst: k.value,
|
@@ -222,7 +229,7 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
222
229
|
}, () => [
|
223
230
|
m(e.$slots, "label", {
|
224
231
|
current: s.value,
|
225
|
-
currentIndex:
|
232
|
+
currentIndex: r.value,
|
226
233
|
disabled: !!(l.disabled || e.disabled),
|
227
234
|
goTo: o,
|
228
235
|
isFirst: k.value,
|
@@ -231,7 +238,7 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
231
238
|
text: l.label,
|
232
239
|
value: l.key
|
233
240
|
}, () => [
|
234
|
-
c("span",
|
241
|
+
c("span", qe, de(l.label), 1)
|
235
242
|
])
|
236
243
|
])
|
237
244
|
]),
|
@@ -240,23 +247,23 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
240
247
|
]))), 128))
|
241
248
|
], 512),
|
242
249
|
c("span", null, [
|
243
|
-
m(e.$slots, "header:append",
|
250
|
+
m(e.$slots, "header:append", M(O(B.value)))
|
244
251
|
])
|
245
252
|
]),
|
246
|
-
c("div",
|
247
|
-
|
248
|
-
default:
|
249
|
-
(b(!0), y(
|
253
|
+
c("div", Se, [
|
254
|
+
Q(ge, null, {
|
255
|
+
default: T(() => [
|
256
|
+
(b(!0), y(j, null, G(e.items, (l) => (b(), ce(be, {
|
250
257
|
key: l.key,
|
251
258
|
css: e.animate,
|
252
|
-
name: `tab-slide-${
|
259
|
+
name: `tab-slide-${C.value}`
|
253
260
|
}, {
|
254
|
-
default:
|
261
|
+
default: T(() => [
|
255
262
|
s.value === l.key || e.eager || l.eager ? (b(), y("section", {
|
256
263
|
key: 0,
|
257
264
|
id: `${v}_tabpanel_${l.key}`,
|
258
265
|
"aria-labelledby": `${v}_tab_${l.key}`,
|
259
|
-
class:
|
266
|
+
class: x(["bb-tab__pane", {
|
260
267
|
"bb-tab__pane--shown": s.value === l.key
|
261
268
|
}]),
|
262
269
|
role: "tabpanel",
|
@@ -264,7 +271,7 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
264
271
|
}, [
|
265
272
|
m(e.$slots, l.key, {
|
266
273
|
current: s.value,
|
267
|
-
currentIndex:
|
274
|
+
currentIndex: r.value,
|
268
275
|
disabled: !!(l.disabled || e.disabled),
|
269
276
|
goTo: o,
|
270
277
|
isFirst: k.value,
|
@@ -273,7 +280,7 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
273
280
|
text: l.label,
|
274
281
|
value: l.key
|
275
282
|
})
|
276
|
-
], 10,
|
283
|
+
], 10, xe)) : fe("", !0)
|
277
284
|
]),
|
278
285
|
_: 2
|
279
286
|
}, 1032, ["css", "name"]))), 128))
|
@@ -281,9 +288,9 @@ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-t
|
|
281
288
|
_: 3
|
282
289
|
})
|
283
290
|
])
|
284
|
-
], 10,
|
291
|
+
], 10, we));
|
285
292
|
}
|
286
293
|
});
|
287
294
|
export {
|
288
|
-
|
295
|
+
Fe as default
|
289
296
|
};
|
package/dist/index106.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as oe, ref as x, computed as h, toRef as B, watch as ne, openBlock as n, createBlock as de, resolveDynamicComponent as ce, normalizeClass as r, unref as u, withCtx as ie, createElementBlock as d, toDisplayString as p, createCommentVNode as k, createElementVNode as s, renderSlot as f, createVNode as I, Fragment as w, renderList as T, createTextVNode as be, mergeProps as re } from "vue";
|
2
|
-
import { add as ue } from "./
|
3
|
-
import { clamp as pe } from "./
|
2
|
+
import { add as ue } from "./index253.js";
|
3
|
+
import { clamp as pe } from "./index199.js";
|
4
4
|
import { isNil as M } from "./index125.js";
|
5
5
|
import { useId as fe } from "./index8.js";
|
6
|
-
import { useItemValue as me } from "./
|
7
|
-
import { when as he } from "./
|
6
|
+
import { useItemValue as me } from "./index254.js";
|
7
|
+
import { when as he } from "./index201.js";
|
8
8
|
import J from "./index15.js";
|
9
9
|
/* empty css */
|
10
10
|
import ye from "./index29.js";
|
package/dist/index114.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as f, Fragment as d, renderList as _, unref as r, mergeProps as b } from "vue";
|
2
2
|
import { state as k, useToast as C } from "./index11.js";
|
3
|
-
import B from "./
|
3
|
+
import B from "./index271.js";
|
4
4
|
const N = /* @__PURE__ */ s({
|
5
5
|
__name: "BbToast",
|
6
6
|
props: {
|
package/dist/index116.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as z, defineAsyncComponent as A, ref as a, computed as _, watch as I, openBlock as b, createElementBlock as R, mergeProps as U, createElementVNode as c, renderSlot as D, normalizeProps as W, guardReactiveProps as j, unref as u, createBlock as L, withCtx as $, createCommentVNode as M } from "vue";
|
2
|
-
import { useFloating as q, arrow as G } from "./
|
2
|
+
import { useFloating as q, arrow as G } from "./index222.js";
|
3
3
|
import { useId as J } from "./index8.js";
|
4
4
|
import { wait as P } from "./index127.js";
|
5
5
|
import K from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as w } from "./
|
8
|
-
import { waitFor as Q } from "./
|
9
|
-
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./
|
7
|
+
import { throttle as w } from "./index205.js";
|
8
|
+
import { waitFor as Q } from "./index207.js";
|
9
|
+
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index230.js";
|
10
10
|
const ee = /* @__PURE__ */ c("svg", {
|
11
11
|
fill: "none",
|
12
12
|
viewBox: "0 0 24 24",
|
@@ -35,7 +35,7 @@ const ee = /* @__PURE__ */ c("svg", {
|
|
35
35
|
},
|
36
36
|
setup(F) {
|
37
37
|
const O = A(
|
38
|
-
() => import("./
|
38
|
+
() => import("./index243.js")
|
39
39
|
), t = F, g = `bb_${t.id ?? J().id.value}`, s = a(), d = a(), T = a(), { floatingStyles: te, placement: h, middlewareData: f } = q(
|
40
40
|
s,
|
41
41
|
d,
|
package/dist/index118.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
2
|
-
import { flattenTree as T } from "./
|
2
|
+
import { flattenTree as T } from "./index272.js";
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
4
4
|
__name: "BbTree",
|
5
5
|
props: {
|
package/dist/index121.js
CHANGED
@@ -8,13 +8,13 @@ const C = /* @__PURE__ */ d({
|
|
8
8
|
tag: { default: "div" }
|
9
9
|
},
|
10
10
|
setup(p) {
|
11
|
-
const l = p,
|
11
|
+
const l = p, o = s(l.modelValue), t = s(o.value), a = m(
|
12
12
|
() => l.modelValue,
|
13
13
|
(e) => {
|
14
|
-
e && (
|
14
|
+
e && (console.log("run"), t.value = !0, a());
|
15
15
|
}
|
16
16
|
);
|
17
|
-
|
17
|
+
o.value && a();
|
18
18
|
const n = b(() => ({
|
19
19
|
class: {
|
20
20
|
"bb-collapsible": !0,
|
@@ -32,7 +32,7 @@ const C = /* @__PURE__ */ d({
|
|
32
32
|
style: y(n.value.style)
|
33
33
|
}, {
|
34
34
|
default: c(() => [
|
35
|
-
e.eager ||
|
35
|
+
e.eager || t.value ? g(e.$slots, "default", { key: 0 }) : V("", !0)
|
36
36
|
]),
|
37
37
|
_: 3
|
38
38
|
}, 8, ["style"]))
|
package/dist/index122.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, getCurrentInstance as d, inject as x, computed as l, ref as y, watchEffect as z, openBlock as _, createElementBlock as b, mergeProps as h } from "vue";
|
2
|
-
import { isCssColor as w } from "./
|
2
|
+
import { isCssColor as w } from "./index200.js";
|
3
3
|
const g = ["innerHTML"], $ = /* @__PURE__ */ m({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index123.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
2
|
-
import { throttle as g } from "./
|
2
|
+
import { throttle as g } from "./index205.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
package/dist/index124.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, computed as l, openBlock as _, createElementBlock as a, normalizeProps as b, guardReactiveProps as x, createStaticVNode as m } from "vue";
|
2
|
-
import { isCssColor as u } from "./
|
2
|
+
import { isCssColor as u } from "./index200.js";
|
3
3
|
const y = /* @__PURE__ */ m('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle class="bb-spinner__circle" cx="12" cy="3" r="0"></circle><circle class="bb-spinner__circle circle--1" cx="16.50" cy="4.21" r="0"></circle><circle class="bb-spinner__circle circle--2" cx="7.50" cy="4.21" r="0"></circle><circle class="bb-spinner__circle circle--3" cx="19.79" cy="7.50" r="0"></circle><circle class="bb-spinner__circle circle--4" cx="4.21" cy="7.50" r="0"></circle><circle class="bb-spinner__circle circle--5" cx="21.00" cy="12.00" r="0"></circle><circle class="bb-spinner__circle circle--6" cx="3.00" cy="12.00" r="0"></circle><circle class="bb-spinner__circle circle--7" cx="19.79" cy="16.50" r="0"></circle><circle class="bb-spinner__circle circle--8" cx="4.21" cy="16.50" r="0"></circle><circle class="bb-spinner__circle circle--9" cx="16.50" cy="19.79" r="0"></circle><circle class="bb-spinner__circle circle--10" cx="7.50" cy="19.79" r="0"></circle><circle class="bb-spinner__circle circle--11" cx="12" cy="21" r="0"></circle></svg>', 1), d = [
|
4
4
|
y
|
5
5
|
], g = /* @__PURE__ */ p({
|
package/dist/index126.js
CHANGED
package/dist/index129.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { isArray as b, isPlainObject as m } from "./
|
1
|
+
import { isArray as b, isPlainObject as m } from "./index293.js";
|
2
2
|
function i(e, n, l, o, r) {
|
3
3
|
const u = {}.propertyIsEnumerable.call(o, n) ? "enumerable" : "nonenumerable";
|
4
4
|
u === "enumerable" && (e[n] = l), r && u === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index13.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as y, getCurrentInstance as p, computed as s, resolveComponent as d, openBlock as k, createBlock as h, resolveDynamicComponent as C, mergeProps as x, withCtx as S, renderSlot as L, createTextVNode as B, toDisplayString as N } from "vue";
|
2
2
|
import { _config as o } from "./index4.js";
|
3
|
-
import { useLogger as m } from "./
|
3
|
+
import { useLogger as m } from "./index203.js";
|
4
4
|
const P = /* @__PURE__ */ y({
|
5
5
|
__name: "BaseButton",
|
6
6
|
props: {
|
package/dist/index15.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as C, ref as b, computed as n, watch as E, openBlock as m, createElementBlock as p, normalizeProps as c, guardReactiveProps as h, mergeProps as f, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
|
2
|
-
import { isCssColor as k } from "./
|
3
|
-
import { when as F } from "./
|
4
|
-
import { booleanishToBoolean as N } from "./
|
2
|
+
import { isCssColor as k } from "./index200.js";
|
3
|
+
import { when as F } from "./index201.js";
|
4
|
+
import { booleanishToBoolean as N } from "./index202.js";
|
5
5
|
const S = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -3,20 +3,20 @@ import { defineComponent as $, ref as f, watch as x, openBlock as u, createEleme
|
|
3
3
|
/* empty css */
|
4
4
|
import p from "./index13.js";
|
5
5
|
/* empty css */
|
6
|
-
import r from "./
|
7
|
-
import z from "./
|
8
|
-
import U from "./
|
9
|
-
import W from "./
|
10
|
-
import E from "./
|
11
|
-
import T from "./
|
12
|
-
import { hash as g } from "./
|
13
|
-
import { last as j } from "./
|
14
|
-
import { useLogger as H } from "./
|
15
|
-
import P from "./
|
16
|
-
import Z from "./
|
17
|
-
import q from "./
|
18
|
-
import w from "./
|
19
|
-
import F from "./
|
6
|
+
import r from "./index209.js";
|
7
|
+
import z from "./index210.js";
|
8
|
+
import U from "./index211.js";
|
9
|
+
import W from "./index212.js";
|
10
|
+
import E from "./index213.js";
|
11
|
+
import T from "./index214.js";
|
12
|
+
import { hash as g } from "./index215.js";
|
13
|
+
import { last as j } from "./index216.js";
|
14
|
+
import { useLogger as H } from "./index203.js";
|
15
|
+
import P from "./index217.js";
|
16
|
+
import Z from "./index218.js";
|
17
|
+
import q from "./index219.js";
|
18
|
+
import w from "./index220.js";
|
19
|
+
import F from "./index221.js";
|
20
20
|
const G = { class: "bb-base-date-picker" }, I = { class: "bb-base-date-picker__body" }, J = { class: "bb-base-date-picker__controls" }, K = /* @__PURE__ */ l("span", { class: "sr-only" }, "Seleziona un mese", -1), Q = /* @__PURE__ */ l("svg", {
|
21
21
|
fill: "none",
|
22
22
|
height: "6",
|