bitboss-ui 2.0.47 → 2.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index108.js +129 -115
- package/dist/index110.js +4 -4
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index206.js +5 -8
- package/dist/index207.js +16 -2
- package/dist/index208.js +16 -4
- package/dist/index209.js +19 -2
- package/dist/index21.js +14 -14
- package/dist/index210.js +19 -5
- package/dist/index211.js +24 -13
- package/dist/index212.js +3 -16
- package/dist/index213.js +2 -19
- package/dist/index214.js +8 -19
- package/dist/index215.js +247 -25
- package/dist/index216.js +52 -3
- package/dist/index217.js +44 -2
- package/dist/index218.js +5 -249
- package/dist/index219.js +40 -43
- package/dist/index220.js +3 -44
- package/dist/index221.js +3 -5
- package/dist/index222.js +41 -49
- package/dist/index223.js +5 -52
- package/dist/index224.js +9 -0
- package/dist/index225.js +158 -13
- package/dist/index226.js +83 -19
- package/dist/index228.js +53 -3
- package/dist/index23.js +15 -15
- package/dist/index230.js +13 -6
- package/dist/index231.js +20 -7
- package/dist/index232.js +4 -3
- package/dist/index233.js +2 -158
- package/dist/index234.js +4 -84
- package/dist/index235.js +4 -0
- package/dist/index236.js +126 -2
- package/dist/index237.js +122 -123
- package/dist/index238.js +2 -125
- package/dist/index239.js +5 -2
- package/dist/index240.js +369 -5
- package/dist/index241.js +2 -369
- package/dist/index242.js +18 -2
- package/dist/index243.js +105 -17
- package/dist/{index246.js → index245.js} +1 -1
- package/dist/index247.js +4 -0
- package/dist/index25.js +5 -5
- package/dist/index250.js +9 -6
- package/dist/index251.js +3 -16
- package/dist/index252.js +6 -3
- package/dist/index253.js +15 -8
- package/dist/index254.js +9 -23
- package/dist/index255.js +23 -9
- package/dist/index256.js +224 -3
- package/dist/index257.js +283 -0
- package/dist/index258.js +6 -7
- package/dist/index259.js +2 -176
- package/dist/index260.js +2 -4
- package/dist/index261.js +2 -281
- package/dist/index262.js +2 -6
- package/dist/index263.js +2 -2
- package/dist/index265.js +2 -2
- package/dist/index266.js +2 -2
- package/dist/index267.js +2 -2
- package/dist/index268.js +2 -2
- package/dist/index269.js +28 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +21 -1
- package/dist/index272.js +7 -2
- package/dist/index273.js +3 -28
- package/dist/index274.js +12 -22
- package/dist/index275.js +11 -0
- package/dist/index276.js +9 -224
- package/dist/index277.js +17 -3
- package/dist/index278.js +430 -11
- package/dist/index279.js +87 -7
- package/dist/index280.js +3 -9
- package/dist/index282.js +168 -423
- package/dist/index283.js +3 -88
- package/dist/index285.js +2 -66
- package/dist/index286.js +126 -2
- package/dist/index287.js +22 -5
- package/dist/index289.js +427 -117
- package/dist/index29.js +2 -2
- package/dist/index290.js +126 -21
- package/dist/index291.js +5 -0
- package/dist/index292.js +3 -436
- package/dist/index293.js +210 -126
- package/dist/index294.js +5 -3
- package/dist/index295.js +2 -3
- package/dist/index296.js +59 -204
- package/dist/index297.js +79 -4
- package/dist/index299.js +4 -59
- package/dist/index300.js +4 -79
- package/dist/index301.js +61 -0
- package/dist/index302.js +6 -4
- package/dist/index303.js +18 -7
- package/dist/index304.js +4 -32
- package/dist/index305.js +7 -6
- package/dist/index306.js +5 -17
- package/dist/index307.js +10 -6
- package/dist/index308.js +3 -10
- package/dist/index309.js +33 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +46 -3
- package/dist/index311.js +2 -47
- package/dist/index312.js +2 -2
- package/dist/index314.js +1 -1
- package/dist/index315.js +47 -2
- package/dist/index316.js +2 -47
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +13 -13
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +6 -6
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +1 -1
- package/dist/index88.js +3 -3
- package/package.json +2 -2
- package/dist/index227.js +0 -6
- package/dist/index229.js +0 -43
- package/dist/index244.js +0 -108
- package/dist/index271.js +0 -4
- package/dist/index281.js +0 -19
- package/dist/index288.js +0 -4
- package/dist/index298.js +0 -6
package/dist/index108.js
CHANGED
@@ -1,15 +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 le, ref as r, computed as $, getCurrentInstance as ae, watch as b, nextTick as ie, onMounted as se, openBlock as h, createElementBlock as p, unref as ne, normalizeClass as T, createElementVNode as c, renderSlot as k, normalizeProps as H, guardReactiveProps as U, normalizeStyle as K, Fragment as J, renderList as M, createVNode as O, withCtx as I, toDisplayString as re, createBlock as oe, Transition as ue, createCommentVNode as de } from "vue";
|
2
|
+
import { useId as ce } from "./index8.js";
|
3
|
+
import { useRoute as be } from "./index136.js";
|
4
|
+
import { useRouter as he } from "./index137.js";
|
5
|
+
import { wait as fe } from "./index131.js";
|
6
|
+
import { useScroll as ye, useWindowSize as me } from "./index132.js";
|
7
|
+
import ve from "./index13.js";
|
8
8
|
/* empty css */
|
9
|
-
import
|
9
|
+
import pe from "./index127.js";
|
10
10
|
/* empty css */
|
11
|
-
import { throttledWatch as
|
12
|
-
const
|
11
|
+
import { throttledWatch as ke } from "./index204.js";
|
12
|
+
const ge = ["id"], _e = { class: "bb-tab__label-boundary" }, we = { class: "bb-tab__label" }, $e = { class: "bb-tab__panes-container" }, Se = ["id", "aria-labelledby"], We = /* @__PURE__ */ le({
|
13
13
|
__name: "BbTab",
|
14
14
|
props: {
|
15
15
|
disabled: { type: Boolean },
|
@@ -24,52 +24,57 @@ const $e = ["id"], Se = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
|
|
24
24
|
replace: { type: Boolean }
|
25
25
|
},
|
26
26
|
emits: ["update:modelValue"],
|
27
|
-
setup(
|
28
|
-
var
|
29
|
-
const t =
|
30
|
-
isScrolling:
|
31
|
-
left:
|
32
|
-
right:
|
33
|
-
})),
|
27
|
+
setup(j, { expose: G, emit: Q }) {
|
28
|
+
var N, A;
|
29
|
+
const t = j, X = Q, d = be(), S = he(), q = r(), L = t.id ?? ce().id.value, g = `bb-tab_${L}`, f = r(), { isScrolling: Y, arrivedState: V } = ye(f), B = $(() => ({
|
30
|
+
isScrolling: Y.value,
|
31
|
+
left: V.left,
|
32
|
+
right: V.right
|
33
|
+
})), C = !!((A = (N = ae()) == null ? void 0 : N.proxy) != null && A.$inertia), i = r(null), o = $(
|
34
34
|
() => t.items.findIndex((e) => e.key === i.value)
|
35
|
-
),
|
36
|
-
|
35
|
+
), _ = $(() => o.value === 0), w = $(() => o.value === t.items.length - 1);
|
36
|
+
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
|
-
})
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
t.querykey
|
44
|
-
)
|
45
|
-
|
46
|
-
|
47
|
-
else if (t.items[0]) {
|
48
|
-
const e = t.items.find((l) => !l.disabled);
|
49
|
-
if (!e)
|
50
|
-
throw new Error(
|
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."
|
39
|
+
});
|
40
|
+
const P = () => {
|
41
|
+
var e, a, l, n, s;
|
42
|
+
if (t.navigation && ((a = (e = d.value) == null ? void 0 : e.query) != null && a[t.querykey]))
|
43
|
+
i.value = (n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey];
|
44
|
+
else if (t.navigation && C && ((s = globalThis == null ? void 0 : globalThis.location) != null && s.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
|
45
|
+
i.value = new URL(globalThis.location.href).searchParams.get(
|
46
|
+
t.querykey
|
52
47
|
);
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
48
|
+
else if (t.modelValue)
|
49
|
+
i.value = t.modelValue;
|
50
|
+
else if (t.items[0]) {
|
51
|
+
const m = t.items.find((te) => !te.disabled);
|
52
|
+
if (!m)
|
53
|
+
throw new Error(
|
54
|
+
"No tab has been selected so it defaulted to the first available. Still, all the tabs are disabled so no tab can be selected."
|
55
|
+
);
|
56
|
+
const v = m.key;
|
57
|
+
i.value = v;
|
58
|
+
}
|
59
|
+
};
|
60
|
+
P();
|
61
|
+
const y = async (e, a = !1) => {
|
62
|
+
var l, n, s, m;
|
63
|
+
if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
|
64
|
+
S == null || S.push({
|
60
65
|
...d,
|
61
66
|
query: { ...(s = d.value) == null ? void 0 : s.query, [t.querykey]: e },
|
62
67
|
replace: a
|
63
68
|
});
|
64
|
-
else if (t.navigation &&
|
65
|
-
const
|
66
|
-
|
67
|
-
a ? history.replaceState({}, "",
|
69
|
+
else if (t.navigation && C && ((m = globalThis == null ? void 0 : globalThis.location) != null && m.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
|
70
|
+
const v = new URL(globalThis.location.href);
|
71
|
+
v.searchParams.set(t.querykey, e), fe(0).then(() => {
|
72
|
+
a ? history.replaceState({}, "", v.toString()) : history.pushState({}, "", v.toString());
|
68
73
|
});
|
69
74
|
}
|
70
|
-
t.modelValue !== e &&
|
75
|
+
t.modelValue !== e && X("update:modelValue", e), i.value = e;
|
71
76
|
};
|
72
|
-
i.value &&
|
77
|
+
i.value && y(i.value, !0);
|
73
78
|
const u = (e) => {
|
74
79
|
var a = null;
|
75
80
|
switch (e) {
|
@@ -97,11 +102,11 @@ const $e = ["id"], Se = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
|
|
97
102
|
if (a === null)
|
98
103
|
throw new Error("Could not navigate to next tab");
|
99
104
|
if (t.items[a].disabled) return;
|
100
|
-
const l = t.items[a].key,
|
101
|
-
`#${
|
105
|
+
const l = t.items[a].key, n = document.querySelector(
|
106
|
+
`#${g}_tab_${l}`
|
102
107
|
);
|
103
|
-
|
104
|
-
},
|
108
|
+
n == null || n.focus(), y(l, t.replace);
|
109
|
+
}, Z = (e) => {
|
105
110
|
if (!t.disabled)
|
106
111
|
if (e.key === "ArrowRight")
|
107
112
|
u("next");
|
@@ -114,27 +119,27 @@ const $e = ["id"], Se = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
|
|
114
119
|
else
|
115
120
|
return;
|
116
121
|
};
|
117
|
-
|
122
|
+
b(
|
118
123
|
() => t.modelValue,
|
119
124
|
(e) => {
|
120
|
-
e &&
|
125
|
+
e && y(e, t.replace);
|
121
126
|
}
|
122
|
-
),
|
127
|
+
), b(
|
123
128
|
() => {
|
124
129
|
var e, a;
|
125
130
|
return (a = (e = d.value) == null ? void 0 : e.query) == null ? void 0 : a[t.querykey];
|
126
131
|
},
|
127
132
|
(e) => {
|
128
|
-
e && typeof e == "string" &&
|
133
|
+
e && typeof e == "string" && y(e, t.replace);
|
129
134
|
}
|
130
|
-
),
|
135
|
+
), b(
|
131
136
|
i,
|
132
137
|
async () => {
|
133
|
-
if (
|
134
|
-
const e =
|
138
|
+
if (q.value) {
|
139
|
+
const e = q.value.querySelector(
|
135
140
|
"[role=tablist] .bb-tab__btn--active"
|
136
141
|
);
|
137
|
-
e && (await
|
142
|
+
e && (await ie(), e.scrollIntoView({
|
138
143
|
behavior: "smooth",
|
139
144
|
block: "nearest",
|
140
145
|
inline: "nearest"
|
@@ -143,101 +148,110 @@ const $e = ["id"], Se = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
|
|
143
148
|
},
|
144
149
|
{ flush: "post" }
|
145
150
|
);
|
146
|
-
const
|
147
|
-
|
151
|
+
const R = r("right");
|
152
|
+
b(
|
148
153
|
i,
|
149
154
|
(e, a) => {
|
150
155
|
if (e && a) {
|
151
|
-
const l = t.items.findIndex((s) => s.key === e),
|
152
|
-
|
156
|
+
const l = t.items.findIndex((s) => s.key === e), n = t.items.findIndex((s) => s.key === a);
|
157
|
+
R.value = l > n ? "right" : "left";
|
153
158
|
}
|
154
159
|
},
|
155
160
|
{ flush: "sync" }
|
156
161
|
);
|
157
|
-
const
|
158
|
-
if (!
|
159
|
-
const e =
|
162
|
+
const E = r(0), W = r(0), z = r(0), D = r(0), F = r(0), x = () => {
|
163
|
+
if (!f.value) return;
|
164
|
+
const e = f.value.querySelector(
|
160
165
|
".bb-tab__btn--active"
|
161
166
|
);
|
162
|
-
e && (
|
167
|
+
e && (z.value = e.offsetLeft, D.value = e.offsetTop, E.value = e.clientWidth, W.value = e.clientHeight, F.value = f.value.scrollWidth);
|
163
168
|
};
|
164
|
-
|
165
|
-
const { width:
|
166
|
-
return
|
167
|
-
|
168
|
-
|
169
|
+
se(x), b(i, x, { flush: "post" });
|
170
|
+
const { width: ee } = me();
|
171
|
+
return ke(ee, x, { throttle: 100 }), b(
|
172
|
+
() => t.items,
|
173
|
+
() => {
|
174
|
+
i.value && !t.items.find((e) => e.key === i.value) && P();
|
175
|
+
},
|
176
|
+
{
|
177
|
+
immediate: !0,
|
178
|
+
deep: !0
|
179
|
+
}
|
180
|
+
), G({
|
181
|
+
isFirst: _,
|
182
|
+
isLast: w,
|
169
183
|
current: i,
|
170
184
|
currentIndex: o,
|
171
185
|
goTo: u
|
172
|
-
}), (e, a) => (
|
173
|
-
id:
|
186
|
+
}), (e, a) => (h(), p("div", {
|
187
|
+
id: ne(L),
|
174
188
|
ref_key: "tabs",
|
175
|
-
ref:
|
176
|
-
class:
|
189
|
+
ref: q,
|
190
|
+
class: T(["bb-tab", {
|
177
191
|
[`bb-tab--${e.direction}`]: !0,
|
178
192
|
"bb-tab--disabled": !0
|
179
193
|
}])
|
180
194
|
}, [
|
181
|
-
c("div",
|
195
|
+
c("div", _e, [
|
182
196
|
c("span", null, [
|
183
|
-
|
197
|
+
k(e.$slots, "header:prepend", H(U(B.value)))
|
184
198
|
]),
|
185
199
|
c("ul", {
|
186
200
|
ref_key: "tablist",
|
187
|
-
ref:
|
201
|
+
ref: f,
|
188
202
|
class: "bb-tab__label-container",
|
189
203
|
role: "tablist",
|
190
|
-
style:
|
191
|
-
"--inner-width": `${
|
204
|
+
style: K({
|
205
|
+
"--inner-width": `${F.value}px`
|
192
206
|
})
|
193
207
|
}, [
|
194
208
|
c("span", {
|
195
209
|
class: "bb-tab__highlight",
|
196
|
-
style:
|
197
|
-
"--width": `${
|
198
|
-
"--height": `${
|
199
|
-
"--left": `${
|
200
|
-
"--top": `${
|
210
|
+
style: K({
|
211
|
+
"--width": `${E.value}px`,
|
212
|
+
"--height": `${W.value}px`,
|
213
|
+
"--left": `${z.value}px`,
|
214
|
+
"--top": `${D.value}px`
|
201
215
|
})
|
202
216
|
}, null, 4),
|
203
|
-
(
|
217
|
+
(h(!0), p(J, null, M(e.items, (l) => (h(), p("li", {
|
204
218
|
key: l.key,
|
205
219
|
role: "presentation"
|
206
220
|
}, [
|
207
|
-
|
208
|
-
id: `${
|
221
|
+
O(ve, {
|
222
|
+
id: `${g}_tab_${l.key}`,
|
209
223
|
"aria-selected": i.value === l.key,
|
210
|
-
class:
|
224
|
+
class: T(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
|
211
225
|
disabled: l.disabled || e.disabled,
|
212
226
|
role: "tab",
|
213
227
|
tabindex: i.value === l.key ? 0 : -1,
|
214
|
-
onClick: (
|
215
|
-
onKeydown:
|
228
|
+
onClick: (n) => y(l.key, t.replace),
|
229
|
+
onKeydown: Z
|
216
230
|
}, {
|
217
|
-
default:
|
218
|
-
|
231
|
+
default: I(() => [
|
232
|
+
k(e.$slots, `label-${l.key}`, {
|
219
233
|
current: i.value,
|
220
234
|
currentIndex: o.value,
|
221
235
|
disabled: !!(l.disabled || e.disabled),
|
222
236
|
goTo: u,
|
223
|
-
isFirst:
|
224
|
-
isLast:
|
237
|
+
isFirst: _.value,
|
238
|
+
isLast: w.value,
|
225
239
|
selected: i.value === l.key,
|
226
240
|
text: l.label,
|
227
241
|
value: l.key
|
228
242
|
}, () => [
|
229
|
-
|
243
|
+
k(e.$slots, "label", {
|
230
244
|
current: i.value,
|
231
245
|
currentIndex: o.value,
|
232
246
|
disabled: !!(l.disabled || e.disabled),
|
233
247
|
goTo: u,
|
234
|
-
isFirst:
|
235
|
-
isLast:
|
248
|
+
isFirst: _.value,
|
249
|
+
isLast: w.value,
|
236
250
|
selected: i.value === l.key,
|
237
251
|
text: l.label,
|
238
252
|
value: l.key
|
239
253
|
}, () => [
|
240
|
-
c("span",
|
254
|
+
c("span", we, re(l.label), 1)
|
241
255
|
])
|
242
256
|
])
|
243
257
|
]),
|
@@ -246,40 +260,40 @@ const $e = ["id"], Se = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
|
|
246
260
|
]))), 128))
|
247
261
|
], 4),
|
248
262
|
c("span", null, [
|
249
|
-
|
263
|
+
k(e.$slots, "header:append", H(U(B.value)))
|
250
264
|
])
|
251
265
|
]),
|
252
|
-
c("div",
|
253
|
-
|
254
|
-
default:
|
255
|
-
(
|
266
|
+
c("div", $e, [
|
267
|
+
O(pe, null, {
|
268
|
+
default: I(() => [
|
269
|
+
(h(!0), p(J, null, M(e.items, (l) => (h(), oe(ue, {
|
256
270
|
key: l.key,
|
257
271
|
css: e.animate,
|
258
|
-
name: `tab-slide-${
|
272
|
+
name: `tab-slide-${R.value}`
|
259
273
|
}, {
|
260
|
-
default:
|
261
|
-
i.value === l.key || e.eager || l.eager ? (
|
274
|
+
default: I(() => [
|
275
|
+
i.value === l.key || e.eager || l.eager ? (h(), p("section", {
|
262
276
|
key: 0,
|
263
|
-
id: `${
|
264
|
-
"aria-labelledby": `${
|
265
|
-
class:
|
277
|
+
id: `${g}_tabpanel_${l.key}`,
|
278
|
+
"aria-labelledby": `${g}_tab_${l.key}`,
|
279
|
+
class: T(["bb-tab__pane", {
|
266
280
|
"bb-tab__pane--shown": i.value === l.key
|
267
281
|
}]),
|
268
282
|
role: "tabpanel",
|
269
283
|
tabindex: "0"
|
270
284
|
}, [
|
271
|
-
|
285
|
+
k(e.$slots, l.key, {
|
272
286
|
current: i.value,
|
273
287
|
currentIndex: o.value,
|
274
288
|
disabled: !!(l.disabled || e.disabled),
|
275
289
|
goTo: u,
|
276
|
-
isFirst:
|
277
|
-
isLast:
|
290
|
+
isFirst: _.value,
|
291
|
+
isLast: w.value,
|
278
292
|
selected: i.value === l.key,
|
279
293
|
text: l.label,
|
280
294
|
value: l.key
|
281
295
|
})
|
282
|
-
], 10,
|
296
|
+
], 10, Se)) : de("", !0)
|
283
297
|
]),
|
284
298
|
_: 2
|
285
299
|
}, 1032, ["css", "name"]))), 128))
|
@@ -287,9 +301,9 @@ const $e = ["id"], Se = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
|
|
287
301
|
_: 3
|
288
302
|
})
|
289
303
|
])
|
290
|
-
], 10,
|
304
|
+
], 10, ge));
|
291
305
|
}
|
292
306
|
});
|
293
307
|
export {
|
294
|
-
|
308
|
+
We as default
|
295
309
|
};
|
package/dist/index110.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as oe, ref as x, computed as y, 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 _, createElementVNode as o, 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 "./
|
2
|
+
import { add as ue } from "./index295.js";
|
3
3
|
import { clamp as pe } from "./index205.js";
|
4
4
|
import { isNil as M } from "./index129.js";
|
5
5
|
import { useId as fe } from "./index8.js";
|
6
|
-
import { useItemValue as me } from "./
|
7
|
-
import { when as ye } from "./
|
6
|
+
import { useItemValue as me } from "./index276.js";
|
7
|
+
import { when as ye } from "./index234.js";
|
8
8
|
import J from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import he from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useOptions as ke } from "./
|
12
|
+
import { useOptions as ke } from "./index225.js";
|
13
13
|
const _e = {
|
14
14
|
key: 0,
|
15
15
|
class: "sr-only"
|
package/dist/index118.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 "./index296.js";
|
4
4
|
const N = /* @__PURE__ */ s({
|
5
5
|
__name: "BbToast",
|
6
6
|
props: {
|
package/dist/index120.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as z, defineAsyncComponent as A, ref as a, watch as I, computed as R, openBlock as v, createElementBlock as S, mergeProps as U, createElementVNode as c, renderSlot as E, normalizeProps as W, guardReactiveProps as j, unref as u, createBlock as D, withCtx as L, createCommentVNode as M } from "vue";
|
2
|
-
import { useFloating as q, arrow as G } from "./
|
2
|
+
import { useFloating as q, arrow as G } from "./index236.js";
|
3
3
|
import { useId as J } from "./index8.js";
|
4
4
|
import { wait as P } from "./index131.js";
|
5
5
|
import K from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as b } 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 b } from "./index221.js";
|
8
|
+
import { waitFor as Q } from "./index223.js";
|
9
|
+
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index240.js";
|
10
10
|
const ue = /* @__PURE__ */ z({
|
11
11
|
__name: "BbTooltip",
|
12
12
|
props: {
|
@@ -24,7 +24,7 @@ const ue = /* @__PURE__ */ z({
|
|
24
24
|
},
|
25
25
|
setup(F) {
|
26
26
|
const O = A(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index251.js")
|
28
28
|
), t = F, w = `bb_${t.id ?? J().id.value}`, s = a(), d = a(), _ = a(), { placement: g, middlewareData: $ } = q(s, d, {
|
29
29
|
placement: t.placement,
|
30
30
|
whileElementsMounted: X,
|
package/dist/index122.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 "./index294.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/index126.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 "./index233.js";
|
3
3
|
const g = ["innerHTML"], $ = /* @__PURE__ */ m({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index127.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 "./index221.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
package/dist/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
|
2
|
-
import { isCssColor as u } from "./
|
2
|
+
import { isCssColor as u } from "./index233.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
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 "./index214.js";
|
4
4
|
const P = /* @__PURE__ */ y({
|
5
5
|
__name: "BaseButton",
|
6
6
|
props: {
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray as p } from "./
|
2
|
-
import { isPlainObject as c } from "./
|
1
|
+
import { isArray as p } from "./index304.js";
|
2
|
+
import { isPlainObject as c } from "./index305.js";
|
3
3
|
function i(e, n, u, l, r) {
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index15.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as k, ref as y, computed as v, watchPostEffect as h, openBlock as g, createElementBlock as C, Fragment as w, createVNode as d, normalizeClass as V, withCtx as n, renderSlot as l, createElementVNode as s, normalizeStyle as H, withModifiers as B, withDirectives as E, mergeProps as q, unref as $ } from "vue";
|
2
|
-
import z from "./
|
2
|
+
import z from "./index228.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
5
|
-
import { vMaska as M } from "./
|
6
|
-
import { isHex as D } from "./
|
4
|
+
import I from "./index230.js";
|
5
|
+
import { vMaska as M } from "./index231.js";
|
6
|
+
import { isHex as D } from "./index232.js";
|
7
7
|
const F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], P = ["aria-invalid", "disabled", "required"], T = /* @__PURE__ */ k({
|
8
8
|
__name: "BaseColorInput",
|
9
9
|
props: {
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, openBlock as p, createElementBlock as h, normalizeProps as i, guardReactiveProps as f, mergeProps as k, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as F } from "./
|
4
|
-
import { booleanishToBoolean as N } from "./
|
2
|
+
import { isCssColor as y } from "./index233.js";
|
3
|
+
import { when as F } from "./index234.js";
|
4
|
+
import { booleanishToBoolean as N } from "./index235.js";
|
5
5
|
const S = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.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 "./index225.js";
|
3
3
|
import F from "./index17.js";
|
4
4
|
/* empty css */
|
5
|
-
import M from "./
|
5
|
+
import M from "./index226.js";
|
6
6
|
/* empty css */
|
7
7
|
const G = /* @__PURE__ */ $({
|
8
8
|
__name: "BaseCheckboxGroup",
|
package/dist/index206.js
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
throw new Error(`${o}${r}`);
|
6
|
-
}
|
7
|
-
});
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index258.js";
|
2
|
+
import { __require as o } from "./index257.js";
|
3
|
+
var t = o();
|
4
|
+
const s = /* @__PURE__ */ r(t);
|
8
5
|
export {
|
9
|
-
|
6
|
+
s as default
|
10
7
|
};
|
package/dist/index207.js
CHANGED
@@ -1,4 +1,18 @@
|
|
1
|
-
|
1
|
+
import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index258.js";
|
2
|
+
import { __module as e } from "./index260.js";
|
3
|
+
(function(s, a) {
|
4
|
+
(function(i, t) {
|
5
|
+
s.exports = t();
|
6
|
+
})(n, function() {
|
7
|
+
return function(i, t) {
|
8
|
+
t.prototype.isSameOrAfter = function(r, o) {
|
9
|
+
return this.isSame(r, o) || this.isAfter(r, o);
|
10
|
+
};
|
11
|
+
};
|
12
|
+
});
|
13
|
+
})(e);
|
14
|
+
var m = e.exports;
|
15
|
+
const c = /* @__PURE__ */ f(m);
|
2
16
|
export {
|
3
|
-
|
17
|
+
c as default
|
4
18
|
};
|
package/dist/index208.js
CHANGED
@@ -1,6 +1,18 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index258.js";
|
2
|
+
import { __module as t } from "./index261.js";
|
3
|
+
(function(s, a) {
|
4
|
+
(function(f, o) {
|
5
|
+
s.exports = o();
|
6
|
+
})(n, function() {
|
7
|
+
return function(f, o) {
|
8
|
+
o.prototype.isSameOrBefore = function(e, r) {
|
9
|
+
return this.isSame(e, r) || this.isBefore(e, r);
|
10
|
+
};
|
11
|
+
};
|
12
|
+
});
|
13
|
+
})(t);
|
14
|
+
var m = t.exports;
|
15
|
+
const c = /* @__PURE__ */ i(m);
|
3
16
|
export {
|
4
|
-
|
5
|
-
s as when
|
17
|
+
c as default
|
6
18
|
};
|
package/dist/index209.js
CHANGED
@@ -1,4 +1,21 @@
|
|
1
|
-
|
1
|
+
import { getDefaultExportFromCjs as i, commonjsGlobal as m } from "./index258.js";
|
2
|
+
import { __module as _ } from "./index262.js";
|
3
|
+
import { __require as s } from "./index257.js";
|
4
|
+
(function(n, d) {
|
5
|
+
(function(t, o) {
|
6
|
+
n.exports = o(s());
|
7
|
+
})(m, function(t) {
|
8
|
+
function o(e) {
|
9
|
+
return e && typeof e == "object" && "default" in e ? e : { default: e };
|
10
|
+
}
|
11
|
+
var a = o(t), r = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
|
12
|
+
return e + "º";
|
13
|
+
} };
|
14
|
+
return a.default.locale(r, null, !0), r;
|
15
|
+
});
|
16
|
+
})(_);
|
17
|
+
var u = _.exports;
|
18
|
+
const p = /* @__PURE__ */ i(u);
|
2
19
|
export {
|
3
|
-
|
20
|
+
p as default
|
4
21
|
};
|