bitboss-ui 2.0.35 → 2.0.36
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 +109 -106
- package/dist/index106.js +5 -5
- package/dist/index114.js +1 -1
- package/dist/index116.js +5 -5
- 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/index128.js +2 -2
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index15.js +3 -3
- package/dist/index17.js +2 -2
- package/dist/index19.js +14 -14
- package/dist/index198.js +2 -116
- package/dist/index199.js +116 -5
- package/dist/index200.js +8 -16
- package/dist/index201.js +43 -16
- package/dist/index203.js +13 -19
- package/dist/index204.js +156 -25
- package/dist/index205.js +84 -3
- package/dist/index207.js +2 -8
- package/dist/index208.js +4 -249
- package/dist/index209.js +2 -52
- package/dist/index21.js +14 -14
- package/dist/index210.js +3 -44
- package/dist/index211.js +35 -5
- package/dist/index212.js +5 -48
- package/dist/index213.js +7 -2
- package/dist/index214.js +126 -4
- package/dist/index215.js +5 -3
- package/dist/index216.js +122 -34
- package/dist/index217.js +19 -6
- package/dist/index218.js +16 -7
- package/dist/index219.js +14 -124
- package/dist/index220.js +2 -123
- package/dist/index221.js +2 -2
- package/dist/index223.js +4 -42
- package/dist/index224.js +371 -0
- package/dist/index225.js +19 -13
- package/dist/index226.js +27 -5
- package/dist/index227.js +3 -369
- package/dist/index228.js +249 -3
- package/dist/index229.js +52 -2
- package/dist/index23.js +5 -5
- package/dist/index230.js +44 -2
- package/dist/index231.js +5 -158
- package/dist/index232.js +42 -77
- package/dist/index233.js +5 -0
- package/dist/index234.js +106 -2
- package/dist/index236.js +47 -53
- package/dist/index238.js +2 -100
- package/dist/index243.js +3 -6
- package/dist/index244.js +8 -15
- package/dist/index245.js +23 -3
- package/dist/index246.js +6 -9
- package/dist/index247.js +16 -23
- package/dist/index248.js +8 -280
- package/dist/index249.js +3 -6
- package/dist/index25.js +1 -1
- package/dist/index251.js +7 -2
- package/dist/index252.js +3 -2
- package/dist/index253.js +12 -2
- package/dist/index254.js +9 -2
- package/dist/index255.js +9 -2
- package/dist/index256.js +17 -2
- package/dist/index257.js +4 -2
- package/dist/index258.js +431 -2
- package/dist/index259.js +89 -2
- package/dist/index260.js +280 -27
- package/dist/index261.js +6 -22
- package/dist/index263.js +2 -7
- package/dist/index264.js +2 -9
- package/dist/index265.js +2 -4
- package/dist/index266.js +2 -431
- package/dist/index267.js +119 -82
- package/dist/index268.js +22 -224
- package/dist/index27.js +3 -3
- package/dist/index270.js +200 -2
- package/dist/index271.js +427 -117
- package/dist/index272.js +127 -3
- package/dist/index273.js +4 -0
- package/dist/index274.js +2 -22
- package/dist/index275.js +4 -0
- package/dist/index276.js +2 -436
- package/dist/index277.js +2 -127
- package/dist/index278.js +2 -3
- package/dist/index279.js +28 -12
- package/dist/index280.js +21 -8
- package/dist/index282.js +224 -17
- package/dist/index283.js +1 -1
- package/dist/index284.js +1 -1
- package/dist/index285.js +2 -2
- package/dist/index286.js +66 -2
- package/dist/index288.js +2 -66
- package/dist/index289.js +79 -15
- package/dist/index29.js +2 -2
- package/dist/index291.js +15 -4
- package/dist/index292.js +4 -59
- package/dist/index293.js +4 -79
- package/dist/index294.js +61 -0
- package/dist/index295.js +34 -6
- package/dist/index296.js +10 -18
- package/dist/index297.js +2 -7
- package/dist/index298.js +6 -34
- package/dist/index299.js +17 -45
- package/dist/index300.js +46 -10
- package/dist/index301.js +7 -2
- package/dist/index302.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index33.js +3 -3
- package/dist/index35.js +13 -13
- package/dist/index37.js +3 -3
- package/dist/index39.js +2 -2
- package/dist/index41.js +2 -2
- package/dist/index43.js +6 -6
- 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/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index202.js +0 -21
- package/dist/index206.js +0 -4
- package/dist/index269.js +0 -202
- package/dist/index281.js +0 -11
- package/dist/index290.js +0 -6
- /package/dist/{index235.js → index239.js} +0 -0
- /package/dist/{index250.js → index262.js} +0 -0
package/dist/index104.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as se, ref as n, computed as _, getCurrentInstance as re, watch as y, nextTick as ne, onMounted as oe, openBlock as b, createElementBlock as m, unref as ue, normalizeClass as x, createElementVNode as c, renderSlot as v, normalizeProps as M, guardReactiveProps as O, normalizeStyle as j, Fragment as G, renderList as Q, createVNode as X, withCtx as T, toDisplayString as de, createBlock as ce, Transition as be, createCommentVNode as he } from "vue";
|
2
2
|
import { useId as fe } from "./index8.js";
|
3
|
-
import { useRoute as
|
4
|
-
import { useRouter as
|
5
|
-
import { wait as
|
6
|
-
import { useScroll as
|
7
|
-
import
|
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, useWindowSize as ke } from "./index128.js";
|
7
|
+
import ge from "./index13.js";
|
8
8
|
/* empty css */
|
9
|
-
import
|
9
|
+
import _e from "./index123.js";
|
10
10
|
/* empty css */
|
11
|
-
import { throttledWatch as
|
12
|
-
const
|
11
|
+
import { throttledWatch as we } from "./index199.js";
|
12
|
+
const $e = ["id"], Se = { class: "bb-tab__label-boundary" }, qe = { class: "bb-tab__label" }, xe = { class: "bb-tab__panes-container" }, Te = ["id", "aria-labelledby"], Fe = /* @__PURE__ */ se({
|
13
13
|
__name: "BbTab",
|
14
14
|
props: {
|
15
15
|
disabled: { type: Boolean },
|
@@ -24,26 +24,26 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
|
|
24
24
|
replace: { type: Boolean }
|
25
25
|
},
|
26
26
|
emits: ["update:modelValue"],
|
27
|
-
setup(
|
28
|
-
var D, F, N, A, H, U,
|
29
|
-
const t =
|
30
|
-
isScrolling:
|
27
|
+
setup(Y, { expose: Z, emit: ee }) {
|
28
|
+
var D, F, N, A, H, U, K;
|
29
|
+
const t = Y, te = ee, d = ye(), w = me(), $ = n(), I = t.id ?? fe().id.value, p = `bb-tab_${I}`, h = n(), { isScrolling: le, arrivedState: L } = pe(h), V = _(() => ({
|
30
|
+
isScrolling: le.value,
|
31
31
|
left: L.left,
|
32
32
|
right: L.right
|
33
|
-
})), B = !!((F = (D =
|
34
|
-
() => t.items.findIndex((e) => e.key ===
|
35
|
-
), k = _(() =>
|
33
|
+
})), B = !!((F = (D = re()) == null ? void 0 : D.proxy) != null && F.$inertia), i = n(null), o = _(
|
34
|
+
() => t.items.findIndex((e) => e.key === i.value)
|
35
|
+
), k = _(() => o.value === 0), g = _(() => o.value === t.items.length - 1);
|
36
36
|
if (t.items.forEach((e) => {
|
37
37
|
if (!e.key)
|
38
38
|
throw console.error("A tab item has no key", e), new Error("A tab item has no key " + JSON.stringify(e));
|
39
39
|
}), t.navigation && ((A = (N = d.value) == null ? void 0 : N.query) != null && A[t.querykey]))
|
40
|
-
|
41
|
-
else if (t.navigation && B && ((
|
42
|
-
|
40
|
+
i.value = (U = (H = d.value) == null ? void 0 : H.query) == null ? void 0 : U[t.querykey];
|
41
|
+
else if (t.navigation && B && ((K = globalThis == null ? void 0 : globalThis.location) != null && K.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
|
42
|
+
i.value = new URL(globalThis.location.href).searchParams.get(
|
43
43
|
t.querykey
|
44
44
|
);
|
45
45
|
else if (t.modelValue)
|
46
|
-
|
46
|
+
i.value = t.modelValue;
|
47
47
|
else if (t.items[0]) {
|
48
48
|
const e = t.items.find((l) => !l.disabled);
|
49
49
|
if (!e)
|
@@ -51,26 +51,26 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
|
|
51
51
|
"No tab has been selected so it defaulted to the first available. Still, all the tabs are disabled so no tab can be selected."
|
52
52
|
);
|
53
53
|
const a = e.key;
|
54
|
-
|
54
|
+
i.value = a;
|
55
55
|
}
|
56
56
|
const f = async (e, a = !1) => {
|
57
|
-
var l, r,
|
57
|
+
var l, r, s, J;
|
58
58
|
if (t.navigation && d.value && ((r = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : r[t.querykey]) !== e)
|
59
59
|
w == null || w.push({
|
60
60
|
...d,
|
61
|
-
query: { ...(
|
61
|
+
query: { ...(s = d.value) == null ? void 0 : s.query, [t.querykey]: e },
|
62
62
|
replace: a
|
63
63
|
});
|
64
|
-
else if (t.navigation && B && ((
|
64
|
+
else if (t.navigation && B && ((J = globalThis == null ? void 0 : globalThis.location) != null && J.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
|
65
65
|
const q = new URL(globalThis.location.href);
|
66
|
-
q.searchParams.set(t.querykey, e),
|
66
|
+
q.searchParams.set(t.querykey, e), ve(0).then(() => {
|
67
67
|
a ? history.replaceState({}, "", q.toString()) : history.pushState({}, "", q.toString());
|
68
68
|
});
|
69
69
|
}
|
70
|
-
t.modelValue !== e &&
|
70
|
+
t.modelValue !== e && te("update:modelValue", e), i.value = e;
|
71
71
|
};
|
72
|
-
|
73
|
-
const
|
72
|
+
i.value && f(i.value, !0);
|
73
|
+
const u = (e) => {
|
74
74
|
var a = null;
|
75
75
|
switch (e) {
|
76
76
|
case "first":
|
@@ -78,15 +78,15 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
|
|
78
78
|
a++;
|
79
79
|
break;
|
80
80
|
case "previous": {
|
81
|
-
let
|
82
|
-
for (;
|
83
|
-
|
81
|
+
let s = 1;
|
82
|
+
for (; s < t.items.length && (a = (o.value + t.items.length - s) % t.items.length, t.items[a].disabled); )
|
83
|
+
s++;
|
84
84
|
break;
|
85
85
|
}
|
86
86
|
case "next": {
|
87
|
-
let
|
88
|
-
for (;
|
89
|
-
|
87
|
+
let s = 1;
|
88
|
+
for (; s < t.items.length && (a = (o.value + s) % t.items.length, t.items[a].disabled); )
|
89
|
+
s++;
|
90
90
|
break;
|
91
91
|
}
|
92
92
|
case "last":
|
@@ -98,28 +98,28 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
|
|
98
98
|
throw new Error("Could not navigate to next tab");
|
99
99
|
if (t.items[a].disabled) return;
|
100
100
|
const l = t.items[a].key, r = document.querySelector(
|
101
|
-
`#${
|
101
|
+
`#${p}_tab_${l}`
|
102
102
|
);
|
103
103
|
r == null || r.focus(), f(l, t.replace);
|
104
|
-
},
|
104
|
+
}, ae = (e) => {
|
105
105
|
if (!t.disabled)
|
106
106
|
if (e.key === "ArrowRight")
|
107
|
-
|
107
|
+
u("next");
|
108
108
|
else if (e.key === "ArrowLeft")
|
109
|
-
|
109
|
+
u("previous");
|
110
110
|
else if (e.key === "Home")
|
111
|
-
e.preventDefault(),
|
111
|
+
e.preventDefault(), u("first");
|
112
112
|
else if (e.key === "End")
|
113
|
-
e.preventDefault(),
|
113
|
+
e.preventDefault(), u("last");
|
114
114
|
else
|
115
115
|
return;
|
116
116
|
};
|
117
|
-
|
117
|
+
y(
|
118
118
|
() => t.modelValue,
|
119
119
|
(e) => {
|
120
120
|
e && f(e, t.replace);
|
121
121
|
}
|
122
|
-
),
|
122
|
+
), y(
|
123
123
|
() => {
|
124
124
|
var e, a;
|
125
125
|
return (a = (e = d.value) == null ? void 0 : e.query) == null ? void 0 : a[t.querykey];
|
@@ -127,14 +127,14 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
|
|
127
127
|
(e) => {
|
128
128
|
e && typeof e == "string" && f(e, t.replace);
|
129
129
|
}
|
130
|
-
),
|
131
|
-
|
130
|
+
), y(
|
131
|
+
i,
|
132
132
|
async () => {
|
133
133
|
if ($.value) {
|
134
134
|
const e = $.value.querySelector(
|
135
135
|
"[role=tablist] .bb-tab__btn--active"
|
136
136
|
);
|
137
|
-
e && (await
|
137
|
+
e && (await ne(), e.scrollIntoView({
|
138
138
|
behavior: "smooth",
|
139
139
|
block: "nearest",
|
140
140
|
inline: "nearest"
|
@@ -143,140 +143,143 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
|
|
143
143
|
},
|
144
144
|
{ flush: "post" }
|
145
145
|
);
|
146
|
-
const C =
|
147
|
-
|
148
|
-
|
146
|
+
const C = n("right");
|
147
|
+
y(
|
148
|
+
i,
|
149
149
|
(e, a) => {
|
150
150
|
if (e && a) {
|
151
|
-
const l = t.items.findIndex((
|
151
|
+
const l = t.items.findIndex((s) => s.key === e), r = t.items.findIndex((s) => s.key === a);
|
152
152
|
C.value = l > r ? "right" : "left";
|
153
153
|
}
|
154
154
|
},
|
155
155
|
{ flush: "sync" }
|
156
156
|
);
|
157
|
-
const R =
|
158
|
-
if (!
|
159
|
-
const e =
|
157
|
+
const R = n(0), E = n(0), P = n(0), W = n(0), z = n(0), S = () => {
|
158
|
+
if (!h.value) return;
|
159
|
+
const e = h.value.querySelector(
|
160
160
|
".bb-tab__btn--active"
|
161
161
|
);
|
162
|
-
e && (P.value = e.offsetLeft,
|
162
|
+
e && (P.value = e.offsetLeft, W.value = e.offsetTop, R.value = e.clientWidth, E.value = e.clientHeight, z.value = h.value.scrollWidth);
|
163
163
|
};
|
164
|
-
|
165
|
-
const { width:
|
166
|
-
return
|
164
|
+
oe(S), y(i, S, { flush: "post" });
|
165
|
+
const { width: ie } = ke();
|
166
|
+
return we(ie, S, { throttle: 100 }), Z({
|
167
167
|
isFirst: k,
|
168
168
|
isLast: g,
|
169
|
-
current:
|
170
|
-
currentIndex:
|
171
|
-
goTo:
|
172
|
-
}), (e, a) => (b(),
|
173
|
-
id:
|
169
|
+
current: i,
|
170
|
+
currentIndex: o,
|
171
|
+
goTo: u
|
172
|
+
}), (e, a) => (b(), m("div", {
|
173
|
+
id: ue(I),
|
174
174
|
ref_key: "tabs",
|
175
175
|
ref: $,
|
176
|
-
class:
|
176
|
+
class: x(["bb-tab", {
|
177
177
|
[`bb-tab--${e.direction}`]: !0,
|
178
178
|
"bb-tab--disabled": !0
|
179
179
|
}])
|
180
180
|
}, [
|
181
|
-
c("div",
|
181
|
+
c("div", Se, [
|
182
182
|
c("span", null, [
|
183
|
-
|
183
|
+
v(e.$slots, "header:prepend", M(O(V.value)))
|
184
184
|
]),
|
185
185
|
c("ul", {
|
186
186
|
ref_key: "tablist",
|
187
|
-
ref:
|
187
|
+
ref: h,
|
188
188
|
class: "bb-tab__label-container",
|
189
|
-
role: "tablist"
|
189
|
+
role: "tablist",
|
190
|
+
style: j({
|
191
|
+
"--inner-width": `${z.value}px`
|
192
|
+
})
|
190
193
|
}, [
|
191
194
|
c("span", {
|
192
195
|
class: "bb-tab__highlight",
|
193
|
-
style:
|
196
|
+
style: j({
|
194
197
|
"--width": `${R.value}px`,
|
195
198
|
"--height": `${E.value}px`,
|
196
199
|
"--left": `${P.value}px`,
|
197
|
-
"--top": `${
|
200
|
+
"--top": `${W.value}px`
|
198
201
|
})
|
199
202
|
}, null, 4),
|
200
|
-
(b(!0),
|
203
|
+
(b(!0), m(G, null, Q(e.items, (l) => (b(), m("li", {
|
201
204
|
key: l.key,
|
202
205
|
role: "presentation"
|
203
206
|
}, [
|
204
|
-
|
205
|
-
id: `${
|
206
|
-
"aria-selected":
|
207
|
-
class:
|
207
|
+
X(ge, {
|
208
|
+
id: `${p}_tab_${l.key}`,
|
209
|
+
"aria-selected": i.value === l.key,
|
210
|
+
class: x(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
|
208
211
|
disabled: l.disabled || e.disabled,
|
209
212
|
role: "tab",
|
210
|
-
tabindex:
|
213
|
+
tabindex: i.value === l.key ? 0 : -1,
|
211
214
|
onClick: (r) => f(l.key, t.replace),
|
212
|
-
onKeydown:
|
215
|
+
onKeydown: ae
|
213
216
|
}, {
|
214
|
-
default:
|
215
|
-
|
216
|
-
current:
|
217
|
-
currentIndex:
|
217
|
+
default: T(() => [
|
218
|
+
v(e.$slots, `label-${l.key}`, {
|
219
|
+
current: i.value,
|
220
|
+
currentIndex: o.value,
|
218
221
|
disabled: !!(l.disabled || e.disabled),
|
219
|
-
goTo:
|
222
|
+
goTo: u,
|
220
223
|
isFirst: k.value,
|
221
224
|
isLast: g.value,
|
222
|
-
selected:
|
225
|
+
selected: i.value === l.key,
|
223
226
|
text: l.label,
|
224
227
|
value: l.key
|
225
228
|
}, () => [
|
226
|
-
|
227
|
-
current:
|
228
|
-
currentIndex:
|
229
|
+
v(e.$slots, "label", {
|
230
|
+
current: i.value,
|
231
|
+
currentIndex: o.value,
|
229
232
|
disabled: !!(l.disabled || e.disabled),
|
230
|
-
goTo:
|
233
|
+
goTo: u,
|
231
234
|
isFirst: k.value,
|
232
235
|
isLast: g.value,
|
233
|
-
selected:
|
236
|
+
selected: i.value === l.key,
|
234
237
|
text: l.label,
|
235
238
|
value: l.key
|
236
239
|
}, () => [
|
237
|
-
c("span",
|
240
|
+
c("span", qe, de(l.label), 1)
|
238
241
|
])
|
239
242
|
])
|
240
243
|
]),
|
241
244
|
_: 2
|
242
245
|
}, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
|
243
246
|
]))), 128))
|
244
|
-
],
|
247
|
+
], 4),
|
245
248
|
c("span", null, [
|
246
|
-
|
249
|
+
v(e.$slots, "header:append", M(O(V.value)))
|
247
250
|
])
|
248
251
|
]),
|
249
|
-
c("div",
|
250
|
-
|
251
|
-
default:
|
252
|
-
(b(!0),
|
252
|
+
c("div", xe, [
|
253
|
+
X(_e, null, {
|
254
|
+
default: T(() => [
|
255
|
+
(b(!0), m(G, null, Q(e.items, (l) => (b(), ce(be, {
|
253
256
|
key: l.key,
|
254
257
|
css: e.animate,
|
255
258
|
name: `tab-slide-${C.value}`
|
256
259
|
}, {
|
257
|
-
default:
|
258
|
-
|
260
|
+
default: T(() => [
|
261
|
+
i.value === l.key || e.eager || l.eager ? (b(), m("section", {
|
259
262
|
key: 0,
|
260
|
-
id: `${
|
261
|
-
"aria-labelledby": `${
|
262
|
-
class:
|
263
|
-
"bb-tab__pane--shown":
|
263
|
+
id: `${p}_tabpanel_${l.key}`,
|
264
|
+
"aria-labelledby": `${p}_tab_${l.key}`,
|
265
|
+
class: x(["bb-tab__pane", {
|
266
|
+
"bb-tab__pane--shown": i.value === l.key
|
264
267
|
}]),
|
265
268
|
role: "tabpanel",
|
266
269
|
tabindex: "0"
|
267
270
|
}, [
|
268
|
-
|
269
|
-
current:
|
270
|
-
currentIndex:
|
271
|
+
v(e.$slots, l.key, {
|
272
|
+
current: i.value,
|
273
|
+
currentIndex: o.value,
|
271
274
|
disabled: !!(l.disabled || e.disabled),
|
272
|
-
goTo:
|
275
|
+
goTo: u,
|
273
276
|
isFirst: k.value,
|
274
277
|
isLast: g.value,
|
275
|
-
selected:
|
278
|
+
selected: i.value === l.key,
|
276
279
|
text: l.label,
|
277
280
|
value: l.key
|
278
281
|
})
|
279
|
-
], 10, Te)) :
|
282
|
+
], 10, Te)) : he("", !0)
|
280
283
|
]),
|
281
284
|
_: 2
|
282
285
|
}, 1032, ["css", "name"]))), 128))
|
@@ -284,7 +287,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
|
|
284
287
|
_: 3
|
285
288
|
})
|
286
289
|
])
|
287
|
-
], 10,
|
290
|
+
], 10, $e));
|
288
291
|
}
|
289
292
|
});
|
290
293
|
export {
|
package/dist/index106.js
CHANGED
@@ -1,15 +1,15 @@
|
|
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 "./index288.js";
|
3
|
+
import { clamp as pe } from "./index198.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 "./index255.js";
|
7
|
+
import { when as he } from "./index208.js";
|
8
8
|
import J from "./index15.js";
|
9
9
|
/* empty css */
|
10
10
|
import ye from "./index29.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useOptions as _e } from "./
|
12
|
+
import { useOptions as _e } from "./index204.js";
|
13
13
|
const ke = {
|
14
14
|
key: 0,
|
15
15
|
class: "sr-only"
|
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 "./index286.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 "./index214.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 "./index210.js";
|
8
|
+
import { waitFor as Q } from "./index212.js";
|
9
|
+
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index224.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/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 "./index207.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 "./index210.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 "./index207.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/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { toValue as S, notNullish as $, noop as _, tryOnScopeDispose as R, useDebounceFn as q, useThrottleFn as G, tryOnMounted as Q, isClient as J, isObject as K } from "./
|
2
|
-
import { bypassFilter as fe, createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as he, throttleFilter as me, throttledWatch as pe, throttledWatch as be, watchWithFilter as ge } from "./
|
1
|
+
import { toValue as S, notNullish as $, noop as _, tryOnScopeDispose as R, useDebounceFn as q, useThrottleFn as G, tryOnMounted as Q, isClient as J, isObject as K } from "./index199.js";
|
2
|
+
import { bypassFilter as fe, createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as he, throttleFilter as me, throttledWatch as pe, throttledWatch as be, watchWithFilter as ge } from "./index199.js";
|
3
3
|
import { computed as T, ref as O, watch as V, reactive as k, watchEffect as U, getCurrentInstance as Z, onMounted as ee } from "vue";
|
4
4
|
function N(l) {
|
5
5
|
var r;
|
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 "./index291.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 "./index200.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 "./index207.js";
|
3
|
+
import { when as F } from "./index208.js";
|
4
|
+
import { booleanishToBoolean as N } from "./index209.js";
|
5
5
|
const S = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index17.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as $, ref as p, toRef as l, openBlock as B, createBlock as w, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v } from "vue";
|
2
|
-
import { useOptions as z } from "./
|
2
|
+
import { useOptions as z } from "./index204.js";
|
3
3
|
import F from "./index15.js";
|
4
4
|
/* empty css */
|
5
|
-
import M from "./
|
5
|
+
import M from "./index205.js";
|
6
6
|
/* empty css */
|
7
7
|
const G = /* @__PURE__ */ $({
|
8
8
|
__name: "BaseCheckboxGroup",
|
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 "./index215.js";
|
7
|
+
import z from "./index218.js";
|
8
|
+
import U from "./index219.js";
|
9
|
+
import W from "./index217.js";
|
10
|
+
import E from "./index225.js";
|
11
|
+
import T from "./index226.js";
|
12
|
+
import { hash as g } from "./index227.js";
|
13
|
+
import { last as j } from "./index221.js";
|
14
|
+
import { useLogger as H } from "./index200.js";
|
15
|
+
import P from "./index228.js";
|
16
|
+
import Z from "./index229.js";
|
17
|
+
import q from "./index230.js";
|
18
|
+
import w from "./index231.js";
|
19
|
+
import F from "./index232.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",
|