@wwtdev/bsds-components-vue3 1.7.0 → 1.8.1
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/lib/components.d.ts +5 -3
- package/lib/components.js +44 -14
- package/lib/components.js.map +1 -1
- package/nuxt/bsds-components.mjs +545 -369
- package/nuxt/bsds-components.umd.js +1 -1
- package/package.json +3 -3
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,76 +1,78 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as m, getCurrentInstance as se, inject as le, h as
|
|
1
|
+
import { defineComponent as ae, ref as m, getCurrentInstance as se, inject as le, h as ne, openBlock as i, createElementBlock as f, mergeProps as d, renderSlot as h, computed as K, unref as b, createBlock as $, withCtx as g, createElementVNode as T, reactive as p, onBeforeMount as A, onMounted as I, watch as L, nextTick as q, onBeforeUnmount as V, Fragment as x, Teleport as R, createCommentVNode as P, createVNode as E, createSlots as z } from "vue";
|
|
2
2
|
import { ClientOnly as w } from "#components";
|
|
3
|
-
import { useAsyncData as
|
|
4
|
-
const J = "update:modelValue", H = "modelValue",
|
|
3
|
+
import { useAsyncData as W } from "#imports";
|
|
4
|
+
const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navManager", ie = "router", oe = "aria", O = Symbol(), X = { default: O }, _ = (e) => (e == null ? void 0 : e.split(" ")) || [], ue = (e, n, s = []) => {
|
|
5
5
|
var t;
|
|
6
|
-
return [...Array.from(((t = e.value) == null ? void 0 : t.classList) || []), ...
|
|
7
|
-
(
|
|
6
|
+
return [...Array.from(((t = e.value) == null ? void 0 : t.classList) || []), ...s].filter(
|
|
7
|
+
(a, r, o) => !n.has(a) && o.indexOf(a) === r
|
|
8
8
|
);
|
|
9
|
-
},
|
|
9
|
+
}, M = (e, n, s = [], t, a, r) => {
|
|
10
10
|
n !== void 0 && n();
|
|
11
|
-
const o = ae((
|
|
11
|
+
const o = ae((u, { attrs: y, slots: l, emit: v }) => {
|
|
12
12
|
var Z;
|
|
13
|
-
let c =
|
|
14
|
-
const
|
|
15
|
-
C.el && (Array.isArray(
|
|
13
|
+
let c = u[t];
|
|
14
|
+
const B = m(), Y = new Set(_(y.class)), ee = (C) => {
|
|
15
|
+
C.el && (Array.isArray(a) ? a : [a]).forEach((S) => {
|
|
16
16
|
C.el.addEventListener(S.toLowerCase(), (k) => {
|
|
17
|
-
c = (k == null ? void 0 : k.target)[t], v(J, c),
|
|
17
|
+
c = (k == null ? void 0 : k.target)[t], v(J, c), r && v(r, k);
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
20
|
}, G = se(), U = ((Z = G == null ? void 0 : G.appContext) == null ? void 0 : Z.provides[Q]) ? le(Q) : void 0, te = (C) => {
|
|
21
|
-
const { routerLink: j } =
|
|
22
|
-
if (j !==
|
|
21
|
+
const { routerLink: j } = u;
|
|
22
|
+
if (j !== O)
|
|
23
23
|
if (U !== void 0) {
|
|
24
24
|
let S = { event: C };
|
|
25
|
-
for (const k in
|
|
26
|
-
const
|
|
27
|
-
|
|
25
|
+
for (const k in u) {
|
|
26
|
+
const F = u[k];
|
|
27
|
+
u.hasOwnProperty(k) && k.startsWith(ie) && F !== O && (S[k] = F);
|
|
28
28
|
}
|
|
29
29
|
U.navigate(S);
|
|
30
30
|
} else
|
|
31
31
|
console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
|
|
32
32
|
};
|
|
33
33
|
return () => {
|
|
34
|
-
c =
|
|
34
|
+
c = u[t], _(y.class).forEach((k) => {
|
|
35
35
|
Y.add(k);
|
|
36
36
|
});
|
|
37
|
-
const C =
|
|
37
|
+
const C = u.onClick, j = (k) => {
|
|
38
38
|
C !== void 0 && C(k), k.defaultPrevented || te(k);
|
|
39
39
|
};
|
|
40
40
|
let S = {
|
|
41
|
-
ref:
|
|
42
|
-
class:
|
|
41
|
+
ref: B,
|
|
42
|
+
class: ue(B, Y),
|
|
43
43
|
onClick: j,
|
|
44
|
-
onVnodeBeforeMount:
|
|
44
|
+
onVnodeBeforeMount: a ? ee : void 0
|
|
45
45
|
};
|
|
46
|
-
for (const k in
|
|
47
|
-
const
|
|
48
|
-
(
|
|
46
|
+
for (const k in u) {
|
|
47
|
+
const F = u[k];
|
|
48
|
+
(u.hasOwnProperty(k) && F !== O || k.startsWith(oe)) && (S[k] = F);
|
|
49
49
|
}
|
|
50
|
-
return t && (
|
|
50
|
+
return t && (u[H] !== O ? S = {
|
|
51
51
|
...S,
|
|
52
|
-
[t]:
|
|
53
|
-
} : c !==
|
|
52
|
+
[t]: u[H]
|
|
53
|
+
} : c !== O && (S = {
|
|
54
54
|
...S,
|
|
55
55
|
[t]: c
|
|
56
|
-
})),
|
|
56
|
+
})), ne(e, S, l.default && l.default());
|
|
57
57
|
};
|
|
58
58
|
});
|
|
59
59
|
return typeof o != "function" && (o.name = e, o.props = {
|
|
60
|
-
[
|
|
61
|
-
},
|
|
62
|
-
o.props[
|
|
63
|
-
}), t && (o.props[H] = X, o.emits = [J,
|
|
64
|
-
},
|
|
60
|
+
[re]: X
|
|
61
|
+
}, s.forEach((u) => {
|
|
62
|
+
o.props[u] = X;
|
|
63
|
+
}), t && (o.props[H] = X, o.emits = [J, r])), o;
|
|
64
|
+
}, ot = /* @__PURE__ */ M("bs-input-addon", void 0, [
|
|
65
65
|
"disabled",
|
|
66
66
|
"error",
|
|
67
67
|
"multifocus",
|
|
68
68
|
"variant"
|
|
69
|
-
]),
|
|
69
|
+
]), ut = /* @__PURE__ */ M("bs-loader", void 0, [
|
|
70
|
+
"size"
|
|
71
|
+
]), dt = /* @__PURE__ */ M("bs-toast-actions", void 0, [
|
|
70
72
|
"defaultDismiss"
|
|
71
|
-
]),
|
|
73
|
+
]), ct = /* @__PURE__ */ M("bs-toast-body", void 0), ft = /* @__PURE__ */ M("bs-toast-header", void 0, [
|
|
72
74
|
"variant"
|
|
73
|
-
]),
|
|
75
|
+
]), ht = /* @__PURE__ */ M("bs-toaster", void 0), de = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], mt = {
|
|
74
76
|
__name: "BsBadge",
|
|
75
77
|
props: {
|
|
76
78
|
color: {},
|
|
@@ -83,7 +85,7 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
83
85
|
},
|
|
84
86
|
emits: [],
|
|
85
87
|
setup(e, { emit: n }) {
|
|
86
|
-
return (
|
|
88
|
+
return (s, t) => (i(), f("bs-badge", d(s.$attrs, {
|
|
87
89
|
color: e.color,
|
|
88
90
|
count: e.count,
|
|
89
91
|
"count-max": e.countMax,
|
|
@@ -92,10 +94,10 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
92
94
|
position: e.position,
|
|
93
95
|
"show-zero": e.showZero
|
|
94
96
|
}), [
|
|
95
|
-
h(
|
|
96
|
-
], 16,
|
|
97
|
+
h(s.$slots, "default")
|
|
98
|
+
], 16, de));
|
|
97
99
|
}
|
|
98
|
-
}, ce = ["char-count", "char-max"],
|
|
100
|
+
}, ce = ["char-count", "char-max"], bt = {
|
|
99
101
|
__name: "BsCharacterCount",
|
|
100
102
|
props: {
|
|
101
103
|
charCount: {},
|
|
@@ -103,12 +105,12 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
103
105
|
},
|
|
104
106
|
emits: [],
|
|
105
107
|
setup(e, { emit: n }) {
|
|
106
|
-
return (
|
|
108
|
+
return (s, t) => (i(), f("bs-character-count", d(s.$attrs, {
|
|
107
109
|
"char-count": e.charCount,
|
|
108
110
|
"char-max": e.charMax
|
|
109
111
|
}), null, 16, ce));
|
|
110
112
|
}
|
|
111
|
-
}, fe = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"],
|
|
113
|
+
}, fe = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], vt = {
|
|
112
114
|
__name: "BsChartBar",
|
|
113
115
|
props: {
|
|
114
116
|
chartTitle: {},
|
|
@@ -124,7 +126,7 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
124
126
|
},
|
|
125
127
|
emits: [],
|
|
126
128
|
setup(e, { emit: n }) {
|
|
127
|
-
return (
|
|
129
|
+
return (s, t) => (i(), f("bs-chart-bar", d(s.$attrs, {
|
|
128
130
|
"chart-title": e.chartTitle,
|
|
129
131
|
data: e.data,
|
|
130
132
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -137,7 +139,7 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
137
139
|
"y-label": e.yLabel
|
|
138
140
|
}), null, 16, fe));
|
|
139
141
|
}
|
|
140
|
-
}, he = ["data", "dataIdxLabels", "table-title"],
|
|
142
|
+
}, he = ["data", "dataIdxLabels", "table-title"], yt = {
|
|
141
143
|
__name: "BsChartTable",
|
|
142
144
|
props: {
|
|
143
145
|
data: {},
|
|
@@ -146,13 +148,13 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
146
148
|
},
|
|
147
149
|
emits: [],
|
|
148
150
|
setup(e, { emit: n }) {
|
|
149
|
-
return (
|
|
151
|
+
return (s, t) => (i(), f("bs-chart-table", d(s.$attrs, {
|
|
150
152
|
data: e.data,
|
|
151
153
|
dataIdxLabels: e.dataIdxLabels,
|
|
152
154
|
"table-title": e.tableTitle
|
|
153
155
|
}), null, 16, he));
|
|
154
156
|
}
|
|
155
|
-
}, me = ["label", "checked", "checked-partially", "disabled", "error", "pass-attrs", "required", "size"],
|
|
157
|
+
}, me = ["label", "checked", "checked-partially", "disabled", "error", "pass-attrs", "required", "size"], $t = {
|
|
156
158
|
__name: "BsCheckbox",
|
|
157
159
|
props: {
|
|
158
160
|
label: {},
|
|
@@ -167,7 +169,7 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
167
169
|
},
|
|
168
170
|
emits: ["update:modelValue"],
|
|
169
171
|
setup(e, { emit: n }) {
|
|
170
|
-
return (
|
|
172
|
+
return (s, t) => (i(), f("bs-checkbox", d(s.$attrs, {
|
|
171
173
|
label: e.label,
|
|
172
174
|
checked: e.checked || e.modelValue,
|
|
173
175
|
"checked-partially": e.checkedPartially,
|
|
@@ -176,25 +178,25 @@ const J = "update:modelValue", H = "modelValue", ne = "routerLink", Q = "navMana
|
|
|
176
178
|
"pass-attrs": e.passAttrs,
|
|
177
179
|
required: e.required,
|
|
178
180
|
size: e.size,
|
|
179
|
-
onChange: t[0] || (t[0] = (
|
|
181
|
+
onChange: t[0] || (t[0] = (a) => n("update:modelValue", a.target.checked))
|
|
180
182
|
}), null, 16, me));
|
|
181
183
|
}
|
|
182
184
|
};
|
|
183
|
-
function
|
|
185
|
+
function N(e) {
|
|
184
186
|
const n = K(() => {
|
|
185
|
-
var
|
|
186
|
-
return ((
|
|
187
|
-
}),
|
|
188
|
-
var
|
|
189
|
-
return n.value && ((
|
|
187
|
+
var a, r;
|
|
188
|
+
return ((r = (a = e.href) == null ? void 0 : a.startsWith) == null ? void 0 : r.call(a, "/")) || !1;
|
|
189
|
+
}), s = K(() => {
|
|
190
|
+
var a, r;
|
|
191
|
+
return n.value && ((a = e.router) == null ? void 0 : a.navigateTo) || ((r = e.router) == null ? void 0 : r.push) || null;
|
|
190
192
|
});
|
|
191
|
-
function t(
|
|
192
|
-
var
|
|
193
|
-
|
|
193
|
+
function t(a) {
|
|
194
|
+
var r, o, u, y, l;
|
|
195
|
+
s.value && ((o = (r = a.target.href) == null ? void 0 : r.endsWith) != null && o.call(r, e.href) || (l = (y = (u = a.target.closest("a")) == null ? void 0 : u.href) == null ? void 0 : y.endsWith) != null && l.call(y, e.href)) && (a.preventDefault(), s.value(e.href));
|
|
194
196
|
}
|
|
195
197
|
return { onLinkClick: t };
|
|
196
198
|
}
|
|
197
|
-
const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"],
|
|
199
|
+
const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], gt = {
|
|
198
200
|
__name: "BsCircleButton",
|
|
199
201
|
props: {
|
|
200
202
|
disabled: {},
|
|
@@ -211,8 +213,8 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
211
213
|
},
|
|
212
214
|
emits: [],
|
|
213
215
|
setup(e, { emit: n }) {
|
|
214
|
-
const
|
|
215
|
-
return (
|
|
216
|
+
const s = e, { onLinkClick: t } = N(s);
|
|
217
|
+
return (a, r) => (i(), f("bs-circle-button", d(a.$attrs, {
|
|
216
218
|
disabled: e.disabled,
|
|
217
219
|
"ghost-btn": e.ghostBtn,
|
|
218
220
|
"hover-effect": e.hoverEffect,
|
|
@@ -223,10 +225,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
223
225
|
"pass-attrs": e.passAttrs,
|
|
224
226
|
"text-btn": e.textBtn,
|
|
225
227
|
size: e.size,
|
|
226
|
-
onClick:
|
|
228
|
+
onClick: r[0] || (r[0] = (...o) => b(t) && b(t)(...o))
|
|
227
229
|
}), null, 16, be));
|
|
228
230
|
}
|
|
229
|
-
}, ve = ["shown", "width", "top", "center", "toggle-id", "container-id"],
|
|
231
|
+
}, ve = ["shown", "width", "top", "center", "toggle-id", "container-id"], Bt = {
|
|
230
232
|
__name: "BsDropdown",
|
|
231
233
|
props: {
|
|
232
234
|
shown: { default: !1 },
|
|
@@ -238,24 +240,24 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
238
240
|
},
|
|
239
241
|
emits: ["close"],
|
|
240
242
|
setup(e, { emit: n }) {
|
|
241
|
-
return (
|
|
242
|
-
default:
|
|
243
|
-
T("bs-dropdown",
|
|
243
|
+
return (s, t) => (i(), $(b(w), null, {
|
|
244
|
+
default: g(() => [
|
|
245
|
+
T("bs-dropdown", d(s.$attrs, {
|
|
244
246
|
shown: e.shown,
|
|
245
247
|
width: e.width,
|
|
246
248
|
top: e.top,
|
|
247
249
|
center: e.center,
|
|
248
250
|
"toggle-id": e.toggleId,
|
|
249
251
|
"container-id": e.containerId,
|
|
250
|
-
onClose: t[0] || (t[0] = (
|
|
252
|
+
onClose: t[0] || (t[0] = (a) => n("close", a.detail))
|
|
251
253
|
}), [
|
|
252
|
-
h(
|
|
254
|
+
h(s.$slots, "default")
|
|
253
255
|
], 16, ve)
|
|
254
256
|
]),
|
|
255
257
|
_: 3
|
|
256
258
|
}));
|
|
257
259
|
}
|
|
258
|
-
}, ye = ["value", "variant", "selected", "options-id", "shown", "focused", "index"],
|
|
260
|
+
}, ye = ["value", "variant", "selected", "options-id", "shown", "focused", "index"], kt = {
|
|
259
261
|
__name: "BsDropdownOption",
|
|
260
262
|
props: {
|
|
261
263
|
value: {},
|
|
@@ -268,7 +270,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
268
270
|
},
|
|
269
271
|
emits: ["optionmouseenter", "optionselect"],
|
|
270
272
|
setup(e, { emit: n }) {
|
|
271
|
-
return (
|
|
273
|
+
return (s, t) => (i(), f("bs-dropdown-option", d(s.$attrs, {
|
|
272
274
|
value: e.value,
|
|
273
275
|
variant: e.variant,
|
|
274
276
|
selected: e.selected,
|
|
@@ -276,13 +278,13 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
276
278
|
shown: e.shown,
|
|
277
279
|
focused: e.focused,
|
|
278
280
|
index: e.index,
|
|
279
|
-
onOptionmouseenter: t[0] || (t[0] = (
|
|
280
|
-
onOptionselect: t[1] || (t[1] = (
|
|
281
|
+
onOptionmouseenter: t[0] || (t[0] = (a) => n("optionmouseenter", a.detail)),
|
|
282
|
+
onOptionselect: t[1] || (t[1] = (a) => n("optionselect", a.detail))
|
|
281
283
|
}), [
|
|
282
|
-
h(
|
|
284
|
+
h(s.$slots, "default")
|
|
283
285
|
], 16, ye));
|
|
284
286
|
}
|
|
285
|
-
}, $e = ["options-id", "shown", "label"],
|
|
287
|
+
}, $e = ["options-id", "shown", "label"], wt = {
|
|
286
288
|
__name: "BsDropdownOptions",
|
|
287
289
|
props: {
|
|
288
290
|
optionsId: {},
|
|
@@ -291,17 +293,17 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
291
293
|
},
|
|
292
294
|
emits: ["selectionchange", "close"],
|
|
293
295
|
setup(e, { emit: n }) {
|
|
294
|
-
return (
|
|
296
|
+
return (s, t) => (i(), f("bs-dropdown-options", d(s.$attrs, {
|
|
295
297
|
"options-id": e.optionsId,
|
|
296
298
|
shown: e.shown,
|
|
297
299
|
label: e.label,
|
|
298
|
-
onSelectionchange: t[0] || (t[0] = (
|
|
299
|
-
onClose: t[1] || (t[1] = (
|
|
300
|
+
onSelectionchange: t[0] || (t[0] = (a) => n("selectionchange", a.detail)),
|
|
301
|
+
onClose: t[1] || (t[1] = (a) => n("close", a.detail))
|
|
300
302
|
}), [
|
|
301
|
-
h(
|
|
303
|
+
h(s.$slots, "default")
|
|
302
304
|
], 16, $e));
|
|
303
305
|
}
|
|
304
|
-
},
|
|
306
|
+
}, ge = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], St = {
|
|
305
307
|
__name: "BsFieldLayout",
|
|
306
308
|
props: {
|
|
307
309
|
charCount: {},
|
|
@@ -316,7 +318,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
316
318
|
},
|
|
317
319
|
emits: [],
|
|
318
320
|
setup(e, { emit: n }) {
|
|
319
|
-
return (
|
|
321
|
+
return (s, t) => (i(), f("bs-field-layout", d(s.$attrs, {
|
|
320
322
|
"char-count": e.charCount,
|
|
321
323
|
"char-max": e.charMax,
|
|
322
324
|
disabled: e.disabled,
|
|
@@ -327,10 +329,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
327
329
|
required: e.required,
|
|
328
330
|
"hint-id": e.hintId
|
|
329
331
|
}), [
|
|
330
|
-
h(
|
|
331
|
-
], 16,
|
|
332
|
+
h(s.$slots, "default")
|
|
333
|
+
], 16, ge));
|
|
332
334
|
}
|
|
333
|
-
},
|
|
335
|
+
}, Be = ["error", "hint-id", "hints"], Tt = {
|
|
334
336
|
__name: "BsHint",
|
|
335
337
|
props: {
|
|
336
338
|
error: {},
|
|
@@ -339,13 +341,13 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
339
341
|
},
|
|
340
342
|
emits: [],
|
|
341
343
|
setup(e, { emit: n }) {
|
|
342
|
-
return (
|
|
344
|
+
return (s, t) => (i(), f("bs-hint", d(s.$attrs, {
|
|
343
345
|
error: e.error,
|
|
344
346
|
"hint-id": e.hintId,
|
|
345
347
|
hints: e.hints
|
|
346
|
-
}), null, 16,
|
|
348
|
+
}), null, 16, Be));
|
|
347
349
|
}
|
|
348
|
-
},
|
|
350
|
+
}, ke = ["disabled", "error", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], Ct = {
|
|
349
351
|
__name: "BsInput",
|
|
350
352
|
props: {
|
|
351
353
|
disabled: { default: !1 },
|
|
@@ -360,7 +362,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
360
362
|
},
|
|
361
363
|
emits: ["update:modelValue"],
|
|
362
364
|
setup(e, { emit: n }) {
|
|
363
|
-
return (
|
|
365
|
+
return (s, t) => (i(), f("bs-input", d(s.$attrs, {
|
|
364
366
|
disabled: e.disabled,
|
|
365
367
|
error: e.error,
|
|
366
368
|
"pass-attrs": e.passAttrs,
|
|
@@ -369,10 +371,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
369
371
|
type: e.type,
|
|
370
372
|
value: e.value || e.modelValue,
|
|
371
373
|
"hint-id": e.hintId,
|
|
372
|
-
onInput: t[0] || (t[0] = (
|
|
373
|
-
}), null, 16,
|
|
374
|
+
onInput: t[0] || (t[0] = (a) => n("update:modelValue", a.target.value))
|
|
375
|
+
}), null, 16, ke));
|
|
374
376
|
}
|
|
375
|
-
}, we = ["disabled", "error", "hints", "label", "pass-attrs", "placeholder", "required", "type", "value"],
|
|
377
|
+
}, we = ["disabled", "error", "hints", "label", "pass-attrs", "placeholder", "required", "type", "value"], pt = {
|
|
376
378
|
__name: "BsInputField",
|
|
377
379
|
props: {
|
|
378
380
|
disabled: { default: !1 },
|
|
@@ -388,7 +390,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
388
390
|
},
|
|
389
391
|
emits: ["update:modelValue"],
|
|
390
392
|
setup(e, { emit: n }) {
|
|
391
|
-
return (
|
|
393
|
+
return (s, t) => (i(), f("bs-input-field", d(s.$attrs, {
|
|
392
394
|
disabled: e.disabled,
|
|
393
395
|
error: e.error,
|
|
394
396
|
hints: e.hints,
|
|
@@ -398,10 +400,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
398
400
|
required: e.required,
|
|
399
401
|
type: e.type,
|
|
400
402
|
value: e.value || e.modelValue,
|
|
401
|
-
onInput: t[0] || (t[0] = (
|
|
403
|
+
onInput: t[0] || (t[0] = (a) => n("update:modelValue", a.target.value))
|
|
402
404
|
}), null, 16, we));
|
|
403
405
|
}
|
|
404
|
-
}, Se = ["disabled", "pass-attrs", "placeholder", "hint-id", "value"],
|
|
406
|
+
}, Se = ["disabled", "pass-attrs", "placeholder", "hint-id", "value"], At = {
|
|
405
407
|
__name: "BsInputSearch",
|
|
406
408
|
props: {
|
|
407
409
|
disabled: { default: !1 },
|
|
@@ -413,17 +415,97 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
413
415
|
},
|
|
414
416
|
emits: ["clear", "update:modelValue"],
|
|
415
417
|
setup(e, { emit: n }) {
|
|
416
|
-
return (
|
|
418
|
+
return (s, t) => (i(), f("bs-input-search", d(s.$attrs, {
|
|
417
419
|
disabled: e.disabled,
|
|
418
420
|
"pass-attrs": e.passAttrs,
|
|
419
421
|
placeholder: e.placeholder,
|
|
420
422
|
"hint-id": e.hintId,
|
|
421
423
|
value: e.value || e.modelValue,
|
|
422
|
-
onClear: t[0] || (t[0] = (
|
|
423
|
-
onInput: t[1] || (t[1] = (
|
|
424
|
+
onClear: t[0] || (t[0] = (a) => n("clear", a.detail)),
|
|
425
|
+
onInput: t[1] || (t[1] = (a) => n("update:modelValue", a.target.value))
|
|
424
426
|
}), null, 16, Se));
|
|
425
427
|
}
|
|
426
|
-
},
|
|
428
|
+
}, Te = ["shown", "alert", "close-button"], It = {
|
|
429
|
+
__name: "BsModal",
|
|
430
|
+
props: {
|
|
431
|
+
shown: { default: !1 },
|
|
432
|
+
alert: { default: !1 },
|
|
433
|
+
closeButton: { default: !0 }
|
|
434
|
+
},
|
|
435
|
+
emits: ["close", "leaveend"],
|
|
436
|
+
setup(e, { emit: n }) {
|
|
437
|
+
return (s, t) => (i(), $(b(w), null, {
|
|
438
|
+
default: g(() => [
|
|
439
|
+
T("bs-modal", d(s.$attrs, {
|
|
440
|
+
shown: e.shown,
|
|
441
|
+
alert: e.alert,
|
|
442
|
+
"close-button": e.closeButton,
|
|
443
|
+
onClose: t[0] || (t[0] = (a) => n("close", a.detail)),
|
|
444
|
+
onLeaveend: t[1] || (t[1] = (a) => n("leaveend", a.detail))
|
|
445
|
+
}), [
|
|
446
|
+
h(s.$slots, "default")
|
|
447
|
+
], 16, Te)
|
|
448
|
+
]),
|
|
449
|
+
_: 3
|
|
450
|
+
}));
|
|
451
|
+
}
|
|
452
|
+
}, Ce = ["shown"], Lt = {
|
|
453
|
+
__name: "BsOverlay",
|
|
454
|
+
props: {
|
|
455
|
+
shown: { default: !1 }
|
|
456
|
+
},
|
|
457
|
+
emits: [],
|
|
458
|
+
setup(e, { emit: n }) {
|
|
459
|
+
return (s, t) => (i(), $(b(w), null, {
|
|
460
|
+
default: g(() => [
|
|
461
|
+
T("bs-overlay", d(s.$attrs, { shown: e.shown }), null, 16, Ce)
|
|
462
|
+
]),
|
|
463
|
+
_: 1
|
|
464
|
+
}));
|
|
465
|
+
}
|
|
466
|
+
}, pe = ["show-first-last-buttons", "prev-page-text", "first-page-text", "next-page-text", "last-page-text", "fixed", "variant", "selection", "center-display", "break-text", "page-range", "page-count", "center-label", "items-per-group", "items-count", "results-increments"], qt = {
|
|
467
|
+
__name: "BsPagination",
|
|
468
|
+
props: {
|
|
469
|
+
showFirstLastButtons: { default: !1 },
|
|
470
|
+
prevPageText: {},
|
|
471
|
+
firstPageText: {},
|
|
472
|
+
nextPageText: {},
|
|
473
|
+
lastPageText: {},
|
|
474
|
+
fixed: { default: !1 },
|
|
475
|
+
variant: { default: "base" },
|
|
476
|
+
selection: {},
|
|
477
|
+
centerDisplay: { default: "numbers" },
|
|
478
|
+
breakText: { default: "…" },
|
|
479
|
+
pageRange: { default: 3 },
|
|
480
|
+
pageCount: {},
|
|
481
|
+
centerLabel: {},
|
|
482
|
+
itemsPerGroup: { default: 25 },
|
|
483
|
+
itemsCount: {},
|
|
484
|
+
resultsIncrements: {}
|
|
485
|
+
},
|
|
486
|
+
emits: ["selectionchange"],
|
|
487
|
+
setup(e, { emit: n }) {
|
|
488
|
+
return (s, t) => (i(), f("bs-pagination", d(s.$attrs, {
|
|
489
|
+
"show-first-last-buttons": e.showFirstLastButtons,
|
|
490
|
+
"prev-page-text": e.prevPageText,
|
|
491
|
+
"first-page-text": e.firstPageText,
|
|
492
|
+
"next-page-text": e.nextPageText,
|
|
493
|
+
"last-page-text": e.lastPageText,
|
|
494
|
+
fixed: e.fixed,
|
|
495
|
+
variant: e.variant,
|
|
496
|
+
selection: e.selection,
|
|
497
|
+
"center-display": e.centerDisplay,
|
|
498
|
+
"break-text": e.breakText,
|
|
499
|
+
"page-range": e.pageRange,
|
|
500
|
+
"page-count": e.pageCount,
|
|
501
|
+
"center-label": e.centerLabel,
|
|
502
|
+
"items-per-group": e.itemsPerGroup,
|
|
503
|
+
"items-count": e.itemsCount,
|
|
504
|
+
"results-increments": e.resultsIncrements,
|
|
505
|
+
onSelectionchange: t[0] || (t[0] = (a) => n("selectionchange", a.detail))
|
|
506
|
+
}), null, 16, pe));
|
|
507
|
+
}
|
|
508
|
+
}, Ae = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email"], Vt = {
|
|
427
509
|
__name: "BsProfile",
|
|
428
510
|
props: {
|
|
429
511
|
layout: {},
|
|
@@ -439,8 +521,8 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
439
521
|
},
|
|
440
522
|
emits: [],
|
|
441
523
|
setup(e, { emit: n }) {
|
|
442
|
-
const
|
|
443
|
-
return (
|
|
524
|
+
const s = e, { onLinkClick: t } = N(s);
|
|
525
|
+
return (a, r) => (i(), f("bs-profile", d(a.$attrs, {
|
|
444
526
|
layout: e.layout,
|
|
445
527
|
href: e.href,
|
|
446
528
|
"image-src": e.imageSrc,
|
|
@@ -450,10 +532,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
450
532
|
company: e.company,
|
|
451
533
|
"job-title": e.jobTitle,
|
|
452
534
|
email: e.email,
|
|
453
|
-
onClick:
|
|
454
|
-
}), null, 16,
|
|
535
|
+
onClick: r[0] || (r[0] = (...o) => b(t) && b(t)(...o))
|
|
536
|
+
}), null, 16, Ae));
|
|
455
537
|
}
|
|
456
|
-
},
|
|
538
|
+
}, Ie = ["profile-name", "company", "job-title", "email"], xt = {
|
|
457
539
|
__name: "BsProfileDetails",
|
|
458
540
|
props: {
|
|
459
541
|
profileName: {},
|
|
@@ -463,14 +545,14 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
463
545
|
},
|
|
464
546
|
emits: [],
|
|
465
547
|
setup(e, { emit: n }) {
|
|
466
|
-
return (
|
|
548
|
+
return (s, t) => (i(), f("bs-profile-details", d(s.$attrs, {
|
|
467
549
|
"profile-name": e.profileName,
|
|
468
550
|
company: e.company,
|
|
469
551
|
"job-title": e.jobTitle,
|
|
470
552
|
email: e.email
|
|
471
|
-
}), null, 16,
|
|
553
|
+
}), null, 16, Ie));
|
|
472
554
|
}
|
|
473
|
-
},
|
|
555
|
+
}, Le = ["src", "size", "initials", "profile-name"], Rt = {
|
|
474
556
|
__name: "BsProfileImg",
|
|
475
557
|
props: {
|
|
476
558
|
src: {},
|
|
@@ -480,14 +562,14 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
480
562
|
},
|
|
481
563
|
emits: [],
|
|
482
564
|
setup(e, { emit: n }) {
|
|
483
|
-
return (
|
|
565
|
+
return (s, t) => (i(), f("bs-profile-img", d(s.$attrs, {
|
|
484
566
|
src: e.src,
|
|
485
567
|
size: e.size,
|
|
486
568
|
initials: e.initials,
|
|
487
569
|
"profile-name": e.profileName
|
|
488
|
-
}), null, 16,
|
|
570
|
+
}), null, 16, Le));
|
|
489
571
|
}
|
|
490
|
-
},
|
|
572
|
+
}, qe = ["layout", "href", "pass-attrs"], Pt = {
|
|
491
573
|
__name: "BsProfileLayout",
|
|
492
574
|
props: {
|
|
493
575
|
layout: { default: "vertical" },
|
|
@@ -497,17 +579,17 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
497
579
|
},
|
|
498
580
|
emits: [],
|
|
499
581
|
setup(e, { emit: n }) {
|
|
500
|
-
const
|
|
501
|
-
return (
|
|
582
|
+
const s = e, { onLinkClick: t } = N(s);
|
|
583
|
+
return (a, r) => (i(), f("bs-profile-layout", d(a.$attrs, {
|
|
502
584
|
layout: e.layout,
|
|
503
585
|
href: e.href,
|
|
504
586
|
"pass-attrs": e.passAttrs,
|
|
505
|
-
onClick:
|
|
587
|
+
onClick: r[0] || (r[0] = (...o) => b(t) && b(t)(...o))
|
|
506
588
|
}), [
|
|
507
|
-
h(
|
|
508
|
-
], 16,
|
|
589
|
+
h(a.$slots, "default")
|
|
590
|
+
], 16, qe));
|
|
509
591
|
}
|
|
510
|
-
},
|
|
592
|
+
}, Ve = ["label", "checked", "disabled", "error", "pass-attrs", "required", "size", "value"], Et = {
|
|
511
593
|
__name: "BsRadio",
|
|
512
594
|
props: {
|
|
513
595
|
label: {},
|
|
@@ -522,7 +604,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
522
604
|
},
|
|
523
605
|
emits: ["update:modelValue"],
|
|
524
606
|
setup(e, { emit: n }) {
|
|
525
|
-
return (
|
|
607
|
+
return (s, t) => (i(), f("bs-radio", d(s.$attrs, {
|
|
526
608
|
label: e.label,
|
|
527
609
|
checked: e.checked || e.modelValue === e.value,
|
|
528
610
|
disabled: e.disabled,
|
|
@@ -531,10 +613,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
531
613
|
required: e.required,
|
|
532
614
|
size: e.size,
|
|
533
615
|
value: e.value,
|
|
534
|
-
onChange: t[0] || (t[0] = (
|
|
535
|
-
}), null, 16,
|
|
616
|
+
onChange: t[0] || (t[0] = (a) => n("update:modelValue", a.target.value))
|
|
617
|
+
}), null, 16, Ve));
|
|
536
618
|
}
|
|
537
|
-
},
|
|
619
|
+
}, xe = ["disabled", "error", "required", "label", "hints", "placeholder", "value", "pass-attrs", "data"], zt = {
|
|
538
620
|
__name: "BsSelectField",
|
|
539
621
|
props: {
|
|
540
622
|
disabled: { default: !1 },
|
|
@@ -550,7 +632,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
550
632
|
},
|
|
551
633
|
emits: ["update:modelValue"],
|
|
552
634
|
setup(e, { emit: n }) {
|
|
553
|
-
return (
|
|
635
|
+
return (s, t) => (i(), f("bs-select-field", d(s.$attrs, {
|
|
554
636
|
disabled: e.disabled,
|
|
555
637
|
error: e.error,
|
|
556
638
|
required: e.required,
|
|
@@ -560,10 +642,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
560
642
|
value: e.value || e.modelValue,
|
|
561
643
|
"pass-attrs": e.passAttrs,
|
|
562
644
|
data: e.data,
|
|
563
|
-
onChange: t[0] || (t[0] = (
|
|
564
|
-
}), null, 16,
|
|
645
|
+
onChange: t[0] || (t[0] = (a) => n("update:modelValue", a.target.value))
|
|
646
|
+
}), null, 16, xe));
|
|
565
647
|
}
|
|
566
|
-
},
|
|
648
|
+
}, Re = ["checked", "disabled", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], Wt = {
|
|
567
649
|
__name: "BsSwitch",
|
|
568
650
|
props: {
|
|
569
651
|
checked: { default: !1 },
|
|
@@ -577,7 +659,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
577
659
|
},
|
|
578
660
|
emits: ["update:modelValue"],
|
|
579
661
|
setup(e, { emit: n }) {
|
|
580
|
-
return (
|
|
662
|
+
return (s, t) => (i(), f("bs-switch", d(s.$attrs, {
|
|
581
663
|
checked: e.checked || e.modelValue,
|
|
582
664
|
disabled: e.disabled,
|
|
583
665
|
"inner-on-label": e.innerOnLabel,
|
|
@@ -585,10 +667,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
585
667
|
label: e.label,
|
|
586
668
|
"pass-attrs": e.passAttrs,
|
|
587
669
|
size: e.size,
|
|
588
|
-
onChange: t[0] || (t[0] = (
|
|
589
|
-
}), null, 16,
|
|
670
|
+
onChange: t[0] || (t[0] = (a) => n("update:modelValue", a.target.checked))
|
|
671
|
+
}), null, 16, Re));
|
|
590
672
|
}
|
|
591
|
-
},
|
|
673
|
+
}, Pe = ["disabled", "error", "pass-attrs", "placeholder", "required", "value", "hint-id"], Dt = {
|
|
592
674
|
__name: "BsTextarea",
|
|
593
675
|
props: {
|
|
594
676
|
disabled: { default: !1 },
|
|
@@ -602,7 +684,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
602
684
|
},
|
|
603
685
|
emits: ["update:modelValue"],
|
|
604
686
|
setup(e, { emit: n }) {
|
|
605
|
-
return (
|
|
687
|
+
return (s, t) => (i(), f("bs-textarea", d(s.$attrs, {
|
|
606
688
|
disabled: e.disabled,
|
|
607
689
|
error: e.error,
|
|
608
690
|
"pass-attrs": e.passAttrs,
|
|
@@ -610,10 +692,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
610
692
|
required: e.required,
|
|
611
693
|
value: e.value || e.modelValue,
|
|
612
694
|
"hint-id": e.hintId,
|
|
613
|
-
onInput: t[0] || (t[0] = (
|
|
614
|
-
}), null, 16,
|
|
695
|
+
onInput: t[0] || (t[0] = (a) => n("update:modelValue", a.target.value))
|
|
696
|
+
}), null, 16, Pe));
|
|
615
697
|
}
|
|
616
|
-
},
|
|
698
|
+
}, Ee = ["char-max", "disabled", "error", "hints", "label", "placeholder", "required", "value", "pass-attrs"], Ot = {
|
|
617
699
|
__name: "BsTextareaField",
|
|
618
700
|
props: {
|
|
619
701
|
charMax: {},
|
|
@@ -629,7 +711,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
629
711
|
},
|
|
630
712
|
emits: ["update:modelValue"],
|
|
631
713
|
setup(e, { emit: n }) {
|
|
632
|
-
return (
|
|
714
|
+
return (s, t) => (i(), f("bs-textarea-field", d(s.$attrs, {
|
|
633
715
|
"char-max": e.charMax,
|
|
634
716
|
disabled: e.disabled,
|
|
635
717
|
error: e.error,
|
|
@@ -639,10 +721,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
639
721
|
required: e.required,
|
|
640
722
|
value: e.value || e.modelValue,
|
|
641
723
|
"pass-attrs": e.passAttrs,
|
|
642
|
-
onInput: t[0] || (t[0] = (
|
|
643
|
-
}), null, 16,
|
|
724
|
+
onInput: t[0] || (t[0] = (a) => n("update:modelValue", a.target.value))
|
|
725
|
+
}), null, 16, Ee));
|
|
644
726
|
}
|
|
645
|
-
}, ze = ["toast-id", "shown", "variant", "stacked", "duration"],
|
|
727
|
+
}, ze = ["toast-id", "shown", "variant", "stacked", "duration"], Mt = {
|
|
646
728
|
__name: "BsToast",
|
|
647
729
|
props: {
|
|
648
730
|
toastId: {},
|
|
@@ -653,39 +735,51 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
653
735
|
},
|
|
654
736
|
emits: ["dismiss"],
|
|
655
737
|
setup(e, { emit: n }) {
|
|
656
|
-
return (
|
|
738
|
+
return (s, t) => (i(), f("bs-toast", d(s.$attrs, {
|
|
657
739
|
"toast-id": e.toastId,
|
|
658
740
|
shown: e.shown,
|
|
659
741
|
variant: e.variant,
|
|
660
742
|
stacked: e.stacked,
|
|
661
743
|
duration: e.duration,
|
|
662
|
-
onDismiss: t[0] || (t[0] = (
|
|
744
|
+
onDismiss: t[0] || (t[0] = (a) => n("dismiss", a.detail))
|
|
663
745
|
}), [
|
|
664
|
-
h(
|
|
746
|
+
h(s.$slots, "default")
|
|
665
747
|
], 16, ze));
|
|
666
748
|
}
|
|
667
|
-
},
|
|
668
|
-
__name: "
|
|
749
|
+
}, We = ["active", "enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration"], Ft = {
|
|
750
|
+
__name: "BsTransition",
|
|
669
751
|
props: {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
752
|
+
active: {},
|
|
753
|
+
enterClass: { default: void 0 },
|
|
754
|
+
enterAttribute: { default: void 0 },
|
|
755
|
+
enterDuration: {},
|
|
756
|
+
leaveClass: { default: void 0 },
|
|
757
|
+
leaveAttribute: { default: void 0 },
|
|
758
|
+
leaveDuration: { default: void 0 }
|
|
673
759
|
},
|
|
674
|
-
emits: [],
|
|
760
|
+
emits: ["enterstart", "enterend", "leavestart", "leaveend"],
|
|
675
761
|
setup(e, { emit: n }) {
|
|
676
|
-
return (
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
762
|
+
return (s, t) => (i(), f("bs-transition", d(s.$attrs, {
|
|
763
|
+
active: e.active,
|
|
764
|
+
"enter-class": e.enterClass,
|
|
765
|
+
"enter-attribute": e.enterAttribute,
|
|
766
|
+
"enter-duration": e.enterDuration,
|
|
767
|
+
"leave-class": e.leaveClass,
|
|
768
|
+
"leave-attribute": e.leaveAttribute,
|
|
769
|
+
"leave-duration": e.leaveDuration,
|
|
770
|
+
onEnterstart: t[0] || (t[0] = (a) => n("enterstart", a.detail)),
|
|
771
|
+
onEnterend: t[1] || (t[1] = (a) => n("enterend", a.detail)),
|
|
772
|
+
onLeavestart: t[2] || (t[2] = (a) => n("leavestart", a.detail)),
|
|
773
|
+
onLeaveend: t[3] || (t[3] = (a) => n("leaveend", a.detail))
|
|
680
774
|
}), [
|
|
681
|
-
h(
|
|
682
|
-
], 16,
|
|
775
|
+
h(s.$slots, "default")
|
|
776
|
+
], 16, We));
|
|
683
777
|
}
|
|
684
778
|
};
|
|
685
779
|
function D(e) {
|
|
686
780
|
e.value.replaceChildren();
|
|
687
781
|
}
|
|
688
|
-
const
|
|
782
|
+
const De = ["controlled", "icon", "header-text", "heading-level", "open-item", "stacked"], Oe = {
|
|
689
783
|
__name: "BsAccordionServer",
|
|
690
784
|
props: {
|
|
691
785
|
controlled: { default: !1 },
|
|
@@ -697,29 +791,29 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
697
791
|
},
|
|
698
792
|
emits: ["toggled"],
|
|
699
793
|
setup(e, { emit: n }) {
|
|
700
|
-
const
|
|
701
|
-
var c,
|
|
702
|
-
t.value || v >= 4 || (t.value = (
|
|
794
|
+
const s = m(!1), t = m(null), a = m(""), r = p([]), o = m(null), u = m(!1), y = (l, v = 0) => {
|
|
795
|
+
var c, B;
|
|
796
|
+
t.value || v >= 4 || (t.value = (B = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : B.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => y(l, v + 1), 50)));
|
|
703
797
|
};
|
|
704
|
-
return
|
|
705
|
-
!
|
|
706
|
-
|
|
707
|
-
|
|
798
|
+
return A(() => u.value = !0), I(() => y(o, 0)), L(t, (l) => {
|
|
799
|
+
!l || s.value || (D(t), r.push(setTimeout(() => {
|
|
800
|
+
q(() => {
|
|
801
|
+
a.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
|
|
708
802
|
});
|
|
709
|
-
}, 100)),
|
|
710
|
-
}, { immediate: !0 }),
|
|
711
|
-
t.value &&
|
|
712
|
-
default:
|
|
713
|
-
(i(),
|
|
714
|
-
h(
|
|
803
|
+
}, 100)), s.value = !0);
|
|
804
|
+
}, { immediate: !0 }), V(() => r.forEach((l) => clearTimeout(l))), (l, v) => (i(), f(x, null, [
|
|
805
|
+
t.value && u.value ? (i(), $(b(w), { key: 0 }, {
|
|
806
|
+
default: g(() => [
|
|
807
|
+
(i(), $(R, { to: t.value }, [
|
|
808
|
+
h(l.$slots, "default")
|
|
715
809
|
], 8, ["to"]))
|
|
716
810
|
]),
|
|
717
811
|
_: 3
|
|
718
812
|
})) : P("", !0),
|
|
719
|
-
T("bs-accordion",
|
|
813
|
+
T("bs-accordion", d({
|
|
720
814
|
ref_key: "wcRef",
|
|
721
815
|
ref: o,
|
|
722
|
-
class:
|
|
816
|
+
class: a.value,
|
|
723
817
|
"data-bsds-ssr": "",
|
|
724
818
|
controlled: e.controlled,
|
|
725
819
|
icon: e.icon,
|
|
@@ -728,20 +822,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
728
822
|
"open-item": e.openItem,
|
|
729
823
|
stacked: e.stacked,
|
|
730
824
|
onToggled: v[0] || (v[0] = (c) => n("toggled", c.detail))
|
|
731
|
-
},
|
|
732
|
-
|
|
733
|
-
|
|
825
|
+
}, l.$attrs), [
|
|
826
|
+
E(b(w), null, z({ _: 2 }, [
|
|
827
|
+
u.value ? void 0 : {
|
|
734
828
|
name: "fallback",
|
|
735
|
-
fn:
|
|
736
|
-
h(
|
|
829
|
+
fn: g(() => [
|
|
830
|
+
h(l.$slots, "default")
|
|
737
831
|
]),
|
|
738
832
|
key: "0"
|
|
739
833
|
}
|
|
740
834
|
]), 1024)
|
|
741
|
-
], 16,
|
|
835
|
+
], 16, De)
|
|
742
836
|
], 64));
|
|
743
837
|
}
|
|
744
|
-
},
|
|
838
|
+
}, Me = "bs-accordion", Nt = {
|
|
745
839
|
__name: "BsAccordion",
|
|
746
840
|
props: {
|
|
747
841
|
controlled: { default: !1 },
|
|
@@ -754,61 +848,61 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
754
848
|
},
|
|
755
849
|
emits: ["toggled"],
|
|
756
850
|
setup(e, { emit: n }) {
|
|
757
|
-
const
|
|
851
|
+
const s = e, { data: t } = W(Me, () => {
|
|
758
852
|
if (process.server)
|
|
759
853
|
return !0;
|
|
760
854
|
});
|
|
761
|
-
return (
|
|
855
|
+
return (a, r) => b(t) ? (i(), $(Oe, d({ key: 0 }, { ...s, ...a.$attrs }, {
|
|
762
856
|
style: { display: e.bsShow ? null : "none" },
|
|
763
|
-
onToggled:
|
|
857
|
+
onToggled: r[0] || (r[0] = (o) => n("toggled", o))
|
|
764
858
|
}), {
|
|
765
|
-
default:
|
|
766
|
-
h(
|
|
859
|
+
default: g(() => [
|
|
860
|
+
h(a.$slots, "default")
|
|
767
861
|
]),
|
|
768
862
|
_: 3
|
|
769
|
-
}, 16, ["style"])) : (i(), f("bs-accordion",
|
|
863
|
+
}, 16, ["style"])) : (i(), f("bs-accordion", d({ key: 1 }, { ...s, ...a.$attrs }, {
|
|
770
864
|
style: { display: e.bsShow ? null : "none" },
|
|
771
|
-
onToggled:
|
|
865
|
+
onToggled: r[1] || (r[1] = (o) => n("toggled", o.detail))
|
|
772
866
|
}), [
|
|
773
|
-
h(
|
|
867
|
+
h(a.$slots, "default")
|
|
774
868
|
], 16));
|
|
775
869
|
}
|
|
776
|
-
},
|
|
870
|
+
}, Fe = {
|
|
777
871
|
__name: "BsBannerServer",
|
|
778
872
|
props: {},
|
|
779
873
|
emits: ["dismiss"],
|
|
780
874
|
setup(e, { emit: n }) {
|
|
781
|
-
const
|
|
782
|
-
var c,
|
|
783
|
-
t.value || v >= 4 || (t.value = (
|
|
875
|
+
const s = m(!1), t = m(null), a = m(""), r = p([]), o = m(null), u = m(!1), y = (l, v = 0) => {
|
|
876
|
+
var c, B;
|
|
877
|
+
t.value || v >= 4 || (t.value = (B = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : B.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => y(l, v + 1), 50)));
|
|
784
878
|
};
|
|
785
|
-
return
|
|
786
|
-
!
|
|
787
|
-
|
|
788
|
-
|
|
879
|
+
return A(() => u.value = !0), I(() => y(o, 0)), L(t, (l) => {
|
|
880
|
+
!l || s.value || (D(t), r.push(setTimeout(() => {
|
|
881
|
+
q(() => {
|
|
882
|
+
a.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
|
|
789
883
|
});
|
|
790
|
-
}, 100)),
|
|
791
|
-
}, { immediate: !0 }),
|
|
792
|
-
t.value &&
|
|
793
|
-
default:
|
|
794
|
-
(i(),
|
|
795
|
-
h(
|
|
884
|
+
}, 100)), s.value = !0);
|
|
885
|
+
}, { immediate: !0 }), V(() => r.forEach((l) => clearTimeout(l))), (l, v) => (i(), f(x, null, [
|
|
886
|
+
t.value && u.value ? (i(), $(b(w), { key: 0 }, {
|
|
887
|
+
default: g(() => [
|
|
888
|
+
(i(), $(R, { to: t.value }, [
|
|
889
|
+
h(l.$slots, "default")
|
|
796
890
|
], 8, ["to"]))
|
|
797
891
|
]),
|
|
798
892
|
_: 3
|
|
799
893
|
})) : P("", !0),
|
|
800
|
-
T("bs-banner",
|
|
894
|
+
T("bs-banner", d({
|
|
801
895
|
ref_key: "wcRef",
|
|
802
896
|
ref: o,
|
|
803
|
-
class:
|
|
897
|
+
class: a.value,
|
|
804
898
|
"data-bsds-ssr": "",
|
|
805
899
|
onDismiss: v[0] || (v[0] = (c) => n("dismiss", c.detail))
|
|
806
|
-
},
|
|
807
|
-
|
|
808
|
-
|
|
900
|
+
}, l.$attrs), [
|
|
901
|
+
E(b(w), null, z({ _: 2 }, [
|
|
902
|
+
u.value ? void 0 : {
|
|
809
903
|
name: "fallback",
|
|
810
|
-
fn:
|
|
811
|
-
h(
|
|
904
|
+
fn: g(() => [
|
|
905
|
+
h(l.$slots, "default")
|
|
812
906
|
]),
|
|
813
907
|
key: "0"
|
|
814
908
|
}
|
|
@@ -816,33 +910,33 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
816
910
|
], 16)
|
|
817
911
|
], 64));
|
|
818
912
|
}
|
|
819
|
-
},
|
|
913
|
+
}, Ne = "bs-banner", jt = {
|
|
820
914
|
__name: "BsBanner",
|
|
821
915
|
props: {
|
|
822
916
|
bsShow: { default: !0 }
|
|
823
917
|
},
|
|
824
918
|
emits: ["dismiss"],
|
|
825
919
|
setup(e, { emit: n }) {
|
|
826
|
-
const
|
|
920
|
+
const s = e, { data: t } = W(Ne, () => {
|
|
827
921
|
if (process.server)
|
|
828
922
|
return !0;
|
|
829
923
|
});
|
|
830
|
-
return (
|
|
924
|
+
return (a, r) => b(t) ? (i(), $(Fe, d({ key: 0 }, { ...s, ...a.$attrs }, {
|
|
831
925
|
style: { display: e.bsShow ? null : "none" },
|
|
832
|
-
onDismiss:
|
|
926
|
+
onDismiss: r[0] || (r[0] = (o) => n("dismiss", o))
|
|
833
927
|
}), {
|
|
834
|
-
default:
|
|
835
|
-
h(
|
|
928
|
+
default: g(() => [
|
|
929
|
+
h(a.$slots, "default")
|
|
836
930
|
]),
|
|
837
931
|
_: 3
|
|
838
|
-
}, 16, ["style"])) : (i(), f("bs-banner",
|
|
932
|
+
}, 16, ["style"])) : (i(), f("bs-banner", d({ key: 1 }, { ...s, ...a.$attrs }, {
|
|
839
933
|
style: { display: e.bsShow ? null : "none" },
|
|
840
|
-
onDismiss:
|
|
934
|
+
onDismiss: r[1] || (r[1] = (o) => n("dismiss", o.detail))
|
|
841
935
|
}), [
|
|
842
|
-
h(
|
|
936
|
+
h(a.$slots, "default")
|
|
843
937
|
], 16));
|
|
844
938
|
}
|
|
845
|
-
},
|
|
939
|
+
}, je = ["variant", "disabled", "ghost-btn", "href", "pass-attrs", "text-btn", "size"], Ge = {
|
|
846
940
|
__name: "BsButtonServer",
|
|
847
941
|
props: {
|
|
848
942
|
variant: {},
|
|
@@ -855,29 +949,29 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
855
949
|
},
|
|
856
950
|
emits: [],
|
|
857
951
|
setup(e, { emit: n }) {
|
|
858
|
-
const
|
|
859
|
-
var c,
|
|
860
|
-
t.value || v >= 4 || (t.value = (
|
|
952
|
+
const s = m(!1), t = m(null), a = m(""), r = p([]), o = m(null), u = m(!1), y = (l, v = 0) => {
|
|
953
|
+
var c, B;
|
|
954
|
+
t.value || v >= 4 || (t.value = (B = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : B.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => y(l, v + 1), 50)));
|
|
861
955
|
};
|
|
862
|
-
return
|
|
863
|
-
!
|
|
864
|
-
|
|
865
|
-
|
|
956
|
+
return A(() => u.value = !0), I(() => y(o, 0)), L(t, (l) => {
|
|
957
|
+
!l || s.value || (D(t), r.push(setTimeout(() => {
|
|
958
|
+
q(() => {
|
|
959
|
+
a.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated";
|
|
866
960
|
});
|
|
867
|
-
}, 100)),
|
|
868
|
-
}, { immediate: !0 }),
|
|
869
|
-
t.value &&
|
|
870
|
-
default:
|
|
871
|
-
(i(),
|
|
872
|
-
h(
|
|
961
|
+
}, 100)), s.value = !0);
|
|
962
|
+
}, { immediate: !0 }), V(() => r.forEach((l) => clearTimeout(l))), (l, v) => (i(), f(x, null, [
|
|
963
|
+
t.value && u.value ? (i(), $(b(w), { key: 0 }, {
|
|
964
|
+
default: g(() => [
|
|
965
|
+
(i(), $(R, { to: t.value }, [
|
|
966
|
+
h(l.$slots, "default")
|
|
873
967
|
], 8, ["to"]))
|
|
874
968
|
]),
|
|
875
969
|
_: 3
|
|
876
970
|
})) : P("", !0),
|
|
877
|
-
T("bs-button",
|
|
971
|
+
T("bs-button", d({
|
|
878
972
|
ref_key: "wcRef",
|
|
879
973
|
ref: o,
|
|
880
|
-
class:
|
|
974
|
+
class: a.value,
|
|
881
975
|
"data-bsds-ssr": "",
|
|
882
976
|
variant: e.variant,
|
|
883
977
|
disabled: e.disabled,
|
|
@@ -886,20 +980,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
886
980
|
"pass-attrs": e.passAttrs,
|
|
887
981
|
"text-btn": e.textBtn,
|
|
888
982
|
size: e.size
|
|
889
|
-
},
|
|
890
|
-
|
|
891
|
-
|
|
983
|
+
}, l.$attrs), [
|
|
984
|
+
E(b(w), null, z({ _: 2 }, [
|
|
985
|
+
u.value ? void 0 : {
|
|
892
986
|
name: "fallback",
|
|
893
|
-
fn:
|
|
894
|
-
h(
|
|
987
|
+
fn: g(() => [
|
|
988
|
+
h(l.$slots, "default")
|
|
895
989
|
]),
|
|
896
990
|
key: "0"
|
|
897
991
|
}
|
|
898
992
|
]), 1024)
|
|
899
|
-
], 16,
|
|
993
|
+
], 16, je)
|
|
900
994
|
], 64));
|
|
901
995
|
}
|
|
902
|
-
},
|
|
996
|
+
}, He = "bs-button", Gt = {
|
|
903
997
|
__name: "BsButton",
|
|
904
998
|
props: {
|
|
905
999
|
variant: {},
|
|
@@ -914,26 +1008,26 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
914
1008
|
},
|
|
915
1009
|
emits: [],
|
|
916
1010
|
setup(e, { emit: n }) {
|
|
917
|
-
const
|
|
1011
|
+
const s = e, { onLinkClick: t } = N(s), { data: a } = W(He, () => {
|
|
918
1012
|
if (process.server)
|
|
919
1013
|
return !0;
|
|
920
1014
|
});
|
|
921
|
-
return (
|
|
1015
|
+
return (r, o) => b(a) ? (i(), $(Ge, d({ key: 0 }, { ...s, ...r.$attrs, router: void 0 }, {
|
|
922
1016
|
style: { display: e.bsShow ? null : "none" },
|
|
923
1017
|
onClick: b(t)
|
|
924
1018
|
}), {
|
|
925
|
-
default:
|
|
926
|
-
h(
|
|
1019
|
+
default: g(() => [
|
|
1020
|
+
h(r.$slots, "default")
|
|
927
1021
|
]),
|
|
928
1022
|
_: 3
|
|
929
|
-
}, 16, ["style", "onClick"])) : (i(), f("bs-button",
|
|
1023
|
+
}, 16, ["style", "onClick"])) : (i(), f("bs-button", d({ key: 1 }, { ...s, ...r.$attrs, router: void 0 }, {
|
|
930
1024
|
style: { display: e.bsShow ? null : "none" },
|
|
931
|
-
onClick: o[0] || (o[0] = (...
|
|
1025
|
+
onClick: o[0] || (o[0] = (...u) => b(t) && b(t)(...u))
|
|
932
1026
|
}), [
|
|
933
|
-
h(
|
|
1027
|
+
h(r.$slots, "default")
|
|
934
1028
|
], 16));
|
|
935
1029
|
}
|
|
936
|
-
},
|
|
1030
|
+
}, Xe = ["disabled", "for", "hide", "pass-attrs", "required"], Ye = {
|
|
937
1031
|
__name: "BsLabelServer",
|
|
938
1032
|
props: {
|
|
939
1033
|
disabled: {},
|
|
@@ -944,49 +1038,49 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
944
1038
|
},
|
|
945
1039
|
emits: [],
|
|
946
1040
|
setup(e, { emit: n }) {
|
|
947
|
-
const
|
|
948
|
-
var c,
|
|
949
|
-
t.value || v >= 4 || (t.value = (
|
|
1041
|
+
const s = m(!1), t = m(null), a = m(""), r = p([]), o = m(null), u = m(!1), y = (l, v = 0) => {
|
|
1042
|
+
var c, B;
|
|
1043
|
+
t.value || v >= 4 || (t.value = (B = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : B.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => y(l, v + 1), 50)));
|
|
950
1044
|
};
|
|
951
|
-
return
|
|
952
|
-
!
|
|
953
|
-
|
|
954
|
-
|
|
1045
|
+
return A(() => u.value = !0), I(() => y(o, 0)), L(t, (l) => {
|
|
1046
|
+
!l || s.value || (D(t), r.push(setTimeout(() => {
|
|
1047
|
+
q(() => {
|
|
1048
|
+
a.value = customElements.get("bs-label") ? "hydrated superhydrated" : "superhydrated";
|
|
955
1049
|
});
|
|
956
|
-
}, 100)),
|
|
957
|
-
}, { immediate: !0 }),
|
|
958
|
-
t.value &&
|
|
959
|
-
default:
|
|
960
|
-
(i(),
|
|
961
|
-
h(
|
|
1050
|
+
}, 100)), s.value = !0);
|
|
1051
|
+
}, { immediate: !0 }), V(() => r.forEach((l) => clearTimeout(l))), (l, v) => (i(), f(x, null, [
|
|
1052
|
+
t.value && u.value ? (i(), $(b(w), { key: 0 }, {
|
|
1053
|
+
default: g(() => [
|
|
1054
|
+
(i(), $(R, { to: t.value }, [
|
|
1055
|
+
h(l.$slots, "default")
|
|
962
1056
|
], 8, ["to"]))
|
|
963
1057
|
]),
|
|
964
1058
|
_: 3
|
|
965
1059
|
})) : P("", !0),
|
|
966
|
-
T("bs-label",
|
|
1060
|
+
T("bs-label", d({
|
|
967
1061
|
ref_key: "wcRef",
|
|
968
1062
|
ref: o,
|
|
969
|
-
class:
|
|
1063
|
+
class: a.value,
|
|
970
1064
|
"data-bsds-ssr": "",
|
|
971
1065
|
disabled: e.disabled,
|
|
972
1066
|
for: e.for,
|
|
973
1067
|
hide: e.hide,
|
|
974
1068
|
"pass-attrs": e.passAttrs,
|
|
975
1069
|
required: e.required
|
|
976
|
-
},
|
|
977
|
-
|
|
978
|
-
|
|
1070
|
+
}, l.$attrs), [
|
|
1071
|
+
E(b(w), null, z({ _: 2 }, [
|
|
1072
|
+
u.value ? void 0 : {
|
|
979
1073
|
name: "fallback",
|
|
980
|
-
fn:
|
|
981
|
-
h(
|
|
1074
|
+
fn: g(() => [
|
|
1075
|
+
h(l.$slots, "default")
|
|
982
1076
|
]),
|
|
983
1077
|
key: "0"
|
|
984
1078
|
}
|
|
985
1079
|
]), 1024)
|
|
986
|
-
], 16,
|
|
1080
|
+
], 16, Xe)
|
|
987
1081
|
], 64));
|
|
988
1082
|
}
|
|
989
|
-
},
|
|
1083
|
+
}, Ue = "bs-label", Ht = {
|
|
990
1084
|
__name: "BsLabel",
|
|
991
1085
|
props: {
|
|
992
1086
|
disabled: {},
|
|
@@ -998,24 +1092,24 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
998
1092
|
},
|
|
999
1093
|
emits: [],
|
|
1000
1094
|
setup(e, { emit: n }) {
|
|
1001
|
-
const
|
|
1095
|
+
const s = e, { data: t } = W(Ue, () => {
|
|
1002
1096
|
if (process.server)
|
|
1003
1097
|
return !0;
|
|
1004
1098
|
});
|
|
1005
|
-
return (
|
|
1099
|
+
return (a, r) => b(t) ? (i(), $(Ye, d({ key: 0 }, { ...s, ...a.$attrs }, {
|
|
1006
1100
|
style: { display: e.bsShow ? null : "none" }
|
|
1007
1101
|
}), {
|
|
1008
|
-
default:
|
|
1009
|
-
h(
|
|
1102
|
+
default: g(() => [
|
|
1103
|
+
h(a.$slots, "default")
|
|
1010
1104
|
]),
|
|
1011
1105
|
_: 3
|
|
1012
|
-
}, 16, ["style"])) : (i(), f("bs-label",
|
|
1106
|
+
}, 16, ["style"])) : (i(), f("bs-label", d({ key: 1 }, { ...s, ...a.$attrs }, {
|
|
1013
1107
|
style: { display: e.bsShow ? null : "none" }
|
|
1014
1108
|
}), [
|
|
1015
|
-
h(
|
|
1109
|
+
h(a.$slots, "default")
|
|
1016
1110
|
], 16));
|
|
1017
1111
|
}
|
|
1018
|
-
},
|
|
1112
|
+
}, Ze = ["variant", "status", "href", "active", "disabled", "pass-attrs"], Ke = {
|
|
1019
1113
|
__name: "BsPillServer",
|
|
1020
1114
|
props: {
|
|
1021
1115
|
variant: {},
|
|
@@ -1027,29 +1121,29 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1027
1121
|
},
|
|
1028
1122
|
emits: [],
|
|
1029
1123
|
setup(e, { emit: n }) {
|
|
1030
|
-
const
|
|
1031
|
-
var c,
|
|
1032
|
-
t.value || v >= 4 || (t.value = (
|
|
1124
|
+
const s = m(!1), t = m(null), a = m(""), r = p([]), o = m(null), u = m(!1), y = (l, v = 0) => {
|
|
1125
|
+
var c, B;
|
|
1126
|
+
t.value || v >= 4 || (t.value = (B = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : B.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => y(l, v + 1), 50)));
|
|
1033
1127
|
};
|
|
1034
|
-
return
|
|
1035
|
-
!
|
|
1036
|
-
|
|
1037
|
-
|
|
1128
|
+
return A(() => u.value = !0), I(() => y(o, 0)), L(t, (l) => {
|
|
1129
|
+
!l || s.value || (D(t), r.push(setTimeout(() => {
|
|
1130
|
+
q(() => {
|
|
1131
|
+
a.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
|
|
1038
1132
|
});
|
|
1039
|
-
}, 100)),
|
|
1040
|
-
}, { immediate: !0 }),
|
|
1041
|
-
t.value &&
|
|
1042
|
-
default:
|
|
1043
|
-
(i(),
|
|
1044
|
-
h(
|
|
1133
|
+
}, 100)), s.value = !0);
|
|
1134
|
+
}, { immediate: !0 }), V(() => r.forEach((l) => clearTimeout(l))), (l, v) => (i(), f(x, null, [
|
|
1135
|
+
t.value && u.value ? (i(), $(b(w), { key: 0 }, {
|
|
1136
|
+
default: g(() => [
|
|
1137
|
+
(i(), $(R, { to: t.value }, [
|
|
1138
|
+
h(l.$slots, "default")
|
|
1045
1139
|
], 8, ["to"]))
|
|
1046
1140
|
]),
|
|
1047
1141
|
_: 3
|
|
1048
1142
|
})) : P("", !0),
|
|
1049
|
-
T("bs-pill",
|
|
1143
|
+
T("bs-pill", d({
|
|
1050
1144
|
ref_key: "wcRef",
|
|
1051
1145
|
ref: o,
|
|
1052
|
-
class:
|
|
1146
|
+
class: a.value,
|
|
1053
1147
|
"data-bsds-ssr": "",
|
|
1054
1148
|
variant: e.variant,
|
|
1055
1149
|
status: e.status,
|
|
@@ -1057,20 +1151,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1057
1151
|
active: e.active,
|
|
1058
1152
|
disabled: e.disabled,
|
|
1059
1153
|
"pass-attrs": e.passAttrs
|
|
1060
|
-
},
|
|
1061
|
-
|
|
1062
|
-
|
|
1154
|
+
}, l.$attrs), [
|
|
1155
|
+
E(b(w), null, z({ _: 2 }, [
|
|
1156
|
+
u.value ? void 0 : {
|
|
1063
1157
|
name: "fallback",
|
|
1064
|
-
fn:
|
|
1065
|
-
h(
|
|
1158
|
+
fn: g(() => [
|
|
1159
|
+
h(l.$slots, "default")
|
|
1066
1160
|
]),
|
|
1067
1161
|
key: "0"
|
|
1068
1162
|
}
|
|
1069
1163
|
]), 1024)
|
|
1070
|
-
], 16,
|
|
1164
|
+
], 16, Ze)
|
|
1071
1165
|
], 64));
|
|
1072
1166
|
}
|
|
1073
|
-
},
|
|
1167
|
+
}, Je = "bs-pill", Xt = {
|
|
1074
1168
|
__name: "BsPill",
|
|
1075
1169
|
props: {
|
|
1076
1170
|
variant: {},
|
|
@@ -1084,26 +1178,26 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1084
1178
|
},
|
|
1085
1179
|
emits: [],
|
|
1086
1180
|
setup(e, { emit: n }) {
|
|
1087
|
-
const
|
|
1181
|
+
const s = e, { onLinkClick: t } = N(s), { data: a } = W(Je, () => {
|
|
1088
1182
|
if (process.server)
|
|
1089
1183
|
return !0;
|
|
1090
1184
|
});
|
|
1091
|
-
return (
|
|
1185
|
+
return (r, o) => b(a) ? (i(), $(Ke, d({ key: 0 }, { ...s, ...r.$attrs, router: void 0 }, {
|
|
1092
1186
|
style: { display: e.bsShow ? null : "none" },
|
|
1093
1187
|
onClick: b(t)
|
|
1094
1188
|
}), {
|
|
1095
|
-
default:
|
|
1096
|
-
h(
|
|
1189
|
+
default: g(() => [
|
|
1190
|
+
h(r.$slots, "default")
|
|
1097
1191
|
]),
|
|
1098
1192
|
_: 3
|
|
1099
|
-
}, 16, ["style", "onClick"])) : (i(), f("bs-pill",
|
|
1193
|
+
}, 16, ["style", "onClick"])) : (i(), f("bs-pill", d({ key: 1 }, { ...s, ...r.$attrs, router: void 0 }, {
|
|
1100
1194
|
style: { display: e.bsShow ? null : "none" },
|
|
1101
|
-
onClick: o[0] || (o[0] = (...
|
|
1195
|
+
onClick: o[0] || (o[0] = (...u) => b(t) && b(t)(...u))
|
|
1102
1196
|
}), [
|
|
1103
|
-
h(
|
|
1197
|
+
h(r.$slots, "default")
|
|
1104
1198
|
], 16));
|
|
1105
1199
|
}
|
|
1106
|
-
},
|
|
1200
|
+
}, Qe = ["disabled", "required", "error", "hint-id", "value", "pass-attrs"], _e = {
|
|
1107
1201
|
__name: "BsSelectServer",
|
|
1108
1202
|
props: {
|
|
1109
1203
|
disabled: { default: !1 },
|
|
@@ -1115,29 +1209,29 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1115
1209
|
},
|
|
1116
1210
|
emits: [],
|
|
1117
1211
|
setup(e, { emit: n }) {
|
|
1118
|
-
const
|
|
1119
|
-
var c,
|
|
1120
|
-
t.value || v >= 4 || (t.value = (
|
|
1212
|
+
const s = m(!1), t = m(null), a = m(""), r = p([]), o = m(null), u = m(!1), y = (l, v = 0) => {
|
|
1213
|
+
var c, B;
|
|
1214
|
+
t.value || v >= 4 || (t.value = (B = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : B.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => y(l, v + 1), 50)));
|
|
1121
1215
|
};
|
|
1122
|
-
return
|
|
1123
|
-
!
|
|
1124
|
-
|
|
1125
|
-
|
|
1216
|
+
return A(() => u.value = !0), I(() => y(o, 0)), L(t, (l) => {
|
|
1217
|
+
!l || s.value || (D(t), r.push(setTimeout(() => {
|
|
1218
|
+
q(() => {
|
|
1219
|
+
a.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
|
|
1126
1220
|
});
|
|
1127
|
-
}, 100)),
|
|
1128
|
-
}, { immediate: !0 }),
|
|
1129
|
-
t.value &&
|
|
1130
|
-
default:
|
|
1131
|
-
(i(),
|
|
1132
|
-
h(
|
|
1221
|
+
}, 100)), s.value = !0);
|
|
1222
|
+
}, { immediate: !0 }), V(() => r.forEach((l) => clearTimeout(l))), (l, v) => (i(), f(x, null, [
|
|
1223
|
+
t.value && u.value ? (i(), $(b(w), { key: 0 }, {
|
|
1224
|
+
default: g(() => [
|
|
1225
|
+
(i(), $(R, { to: t.value }, [
|
|
1226
|
+
h(l.$slots, "default")
|
|
1133
1227
|
], 8, ["to"]))
|
|
1134
1228
|
]),
|
|
1135
1229
|
_: 3
|
|
1136
1230
|
})) : P("", !0),
|
|
1137
|
-
T("bs-select",
|
|
1231
|
+
T("bs-select", d({
|
|
1138
1232
|
ref_key: "wcRef",
|
|
1139
1233
|
ref: o,
|
|
1140
|
-
class:
|
|
1234
|
+
class: a.value,
|
|
1141
1235
|
"data-bsds-ssr": "",
|
|
1142
1236
|
disabled: e.disabled,
|
|
1143
1237
|
required: e.required,
|
|
@@ -1145,20 +1239,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1145
1239
|
"hint-id": e.hintId,
|
|
1146
1240
|
value: e.value,
|
|
1147
1241
|
"pass-attrs": e.passAttrs
|
|
1148
|
-
},
|
|
1149
|
-
|
|
1150
|
-
|
|
1242
|
+
}, l.$attrs), [
|
|
1243
|
+
E(b(w), null, z({ _: 2 }, [
|
|
1244
|
+
u.value ? void 0 : {
|
|
1151
1245
|
name: "fallback",
|
|
1152
|
-
fn:
|
|
1153
|
-
h(
|
|
1246
|
+
fn: g(() => [
|
|
1247
|
+
h(l.$slots, "default")
|
|
1154
1248
|
]),
|
|
1155
1249
|
key: "0"
|
|
1156
1250
|
}
|
|
1157
1251
|
]), 1024)
|
|
1158
|
-
], 16,
|
|
1252
|
+
], 16, Qe)
|
|
1159
1253
|
], 64));
|
|
1160
1254
|
}
|
|
1161
|
-
},
|
|
1255
|
+
}, et = "bs-select", Yt = {
|
|
1162
1256
|
__name: "BsSelect",
|
|
1163
1257
|
props: {
|
|
1164
1258
|
disabled: { default: !1 },
|
|
@@ -1171,65 +1265,147 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1171
1265
|
},
|
|
1172
1266
|
emits: [],
|
|
1173
1267
|
setup(e, { emit: n }) {
|
|
1174
|
-
const
|
|
1268
|
+
const s = e, { data: t } = W(et, () => {
|
|
1175
1269
|
if (process.server)
|
|
1176
1270
|
return !0;
|
|
1177
1271
|
});
|
|
1178
|
-
return (
|
|
1272
|
+
return (a, r) => b(t) ? (i(), $(_e, d({ key: 0 }, { ...s, ...a.$attrs }, {
|
|
1179
1273
|
style: { display: e.bsShow ? null : "none" }
|
|
1180
1274
|
}), {
|
|
1181
|
-
default:
|
|
1182
|
-
h(
|
|
1275
|
+
default: g(() => [
|
|
1276
|
+
h(a.$slots, "default")
|
|
1183
1277
|
]),
|
|
1184
1278
|
_: 3
|
|
1185
|
-
}, 16, ["style"])) : (i(), f("bs-select",
|
|
1279
|
+
}, 16, ["style"])) : (i(), f("bs-select", d({ key: 1 }, { ...s, ...a.$attrs }, {
|
|
1186
1280
|
style: { display: e.bsShow ? null : "none" }
|
|
1187
1281
|
}), [
|
|
1188
|
-
h(
|
|
1282
|
+
h(a.$slots, "default")
|
|
1283
|
+
], 16));
|
|
1284
|
+
}
|
|
1285
|
+
}, tt = ["tooltip-id", "content", "position"], at = {
|
|
1286
|
+
__name: "BsTooltipServer",
|
|
1287
|
+
props: {
|
|
1288
|
+
tooltipId: {},
|
|
1289
|
+
content: {},
|
|
1290
|
+
position: {}
|
|
1291
|
+
},
|
|
1292
|
+
emits: [],
|
|
1293
|
+
setup(e, { emit: n }) {
|
|
1294
|
+
const s = m(!1), t = m(null), a = m(""), r = p([]), o = m(null), u = m(!1), y = (l, v = 0) => {
|
|
1295
|
+
var c, B;
|
|
1296
|
+
t.value || v >= 4 || (t.value = (B = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : B.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => y(l, v + 1), 50)));
|
|
1297
|
+
};
|
|
1298
|
+
return A(() => u.value = !0), I(() => y(o, 0)), L(t, (l) => {
|
|
1299
|
+
!l || s.value || (D(t), r.push(setTimeout(() => {
|
|
1300
|
+
q(() => {
|
|
1301
|
+
a.value = customElements.get("bs-tooltip") ? "hydrated superhydrated" : "superhydrated";
|
|
1302
|
+
});
|
|
1303
|
+
}, 100)), s.value = !0);
|
|
1304
|
+
}, { immediate: !0 }), V(() => r.forEach((l) => clearTimeout(l))), (l, v) => (i(), f(x, null, [
|
|
1305
|
+
t.value && u.value ? (i(), $(b(w), { key: 0 }, {
|
|
1306
|
+
default: g(() => [
|
|
1307
|
+
(i(), $(R, { to: t.value }, [
|
|
1308
|
+
h(l.$slots, "default")
|
|
1309
|
+
], 8, ["to"]))
|
|
1310
|
+
]),
|
|
1311
|
+
_: 3
|
|
1312
|
+
})) : P("", !0),
|
|
1313
|
+
T("bs-tooltip", d({
|
|
1314
|
+
ref_key: "wcRef",
|
|
1315
|
+
ref: o,
|
|
1316
|
+
class: a.value,
|
|
1317
|
+
"data-bsds-ssr": "",
|
|
1318
|
+
"tooltip-id": e.tooltipId,
|
|
1319
|
+
content: e.content,
|
|
1320
|
+
position: e.position
|
|
1321
|
+
}, l.$attrs), [
|
|
1322
|
+
E(b(w), null, z({ _: 2 }, [
|
|
1323
|
+
u.value ? void 0 : {
|
|
1324
|
+
name: "fallback",
|
|
1325
|
+
fn: g(() => [
|
|
1326
|
+
h(l.$slots, "default")
|
|
1327
|
+
]),
|
|
1328
|
+
key: "0"
|
|
1329
|
+
}
|
|
1330
|
+
]), 1024)
|
|
1331
|
+
], 16, tt)
|
|
1332
|
+
], 64));
|
|
1333
|
+
}
|
|
1334
|
+
}, st = "bs-tooltip", Ut = {
|
|
1335
|
+
__name: "BsTooltip",
|
|
1336
|
+
props: {
|
|
1337
|
+
tooltipId: {},
|
|
1338
|
+
content: {},
|
|
1339
|
+
position: {},
|
|
1340
|
+
bsShow: { default: !0 }
|
|
1341
|
+
},
|
|
1342
|
+
emits: [],
|
|
1343
|
+
setup(e, { emit: n }) {
|
|
1344
|
+
const s = e, { data: t } = W(st, () => {
|
|
1345
|
+
if (process.server)
|
|
1346
|
+
return !0;
|
|
1347
|
+
});
|
|
1348
|
+
return (a, r) => b(t) ? (i(), $(at, d({ key: 0 }, { ...s, ...a.$attrs }, {
|
|
1349
|
+
style: { display: e.bsShow ? null : "none" }
|
|
1350
|
+
}), {
|
|
1351
|
+
default: g(() => [
|
|
1352
|
+
h(a.$slots, "default")
|
|
1353
|
+
]),
|
|
1354
|
+
_: 3
|
|
1355
|
+
}, 16, ["style"])) : (i(), f("bs-tooltip", d({ key: 1 }, { ...s, ...a.$attrs }, {
|
|
1356
|
+
style: { display: e.bsShow ? null : "none" }
|
|
1357
|
+
}), [
|
|
1358
|
+
h(a.$slots, "default")
|
|
1189
1359
|
], 16));
|
|
1190
1360
|
}
|
|
1191
1361
|
};
|
|
1192
1362
|
export {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1363
|
+
Nt as BsAccordion,
|
|
1364
|
+
Oe as BsAccordionServer,
|
|
1365
|
+
mt as BsBadge,
|
|
1366
|
+
jt as BsBanner,
|
|
1367
|
+
Fe as BsBannerServer,
|
|
1368
|
+
Gt as BsButton,
|
|
1369
|
+
Ge as BsButtonServer,
|
|
1370
|
+
bt as BsCharacterCount,
|
|
1371
|
+
vt as BsChartBar,
|
|
1372
|
+
yt as BsChartTable,
|
|
1373
|
+
$t as BsCheckbox,
|
|
1374
|
+
gt as BsCircleButton,
|
|
1375
|
+
Bt as BsDropdown,
|
|
1376
|
+
kt as BsDropdownOption,
|
|
1377
|
+
wt as BsDropdownOptions,
|
|
1378
|
+
St as BsFieldLayout,
|
|
1379
|
+
Tt as BsHint,
|
|
1380
|
+
Ct as BsInput,
|
|
1381
|
+
ot as BsInputAddon,
|
|
1382
|
+
pt as BsInputField,
|
|
1383
|
+
At as BsInputSearch,
|
|
1384
|
+
Ht as BsLabel,
|
|
1385
|
+
Ye as BsLabelServer,
|
|
1386
|
+
ut as BsLoader,
|
|
1387
|
+
It as BsModal,
|
|
1388
|
+
Lt as BsOverlay,
|
|
1389
|
+
qt as BsPagination,
|
|
1390
|
+
Xt as BsPill,
|
|
1391
|
+
Ke as BsPillServer,
|
|
1392
|
+
Vt as BsProfile,
|
|
1393
|
+
xt as BsProfileDetails,
|
|
1394
|
+
Rt as BsProfileImg,
|
|
1395
|
+
Pt as BsProfileLayout,
|
|
1396
|
+
Et as BsRadio,
|
|
1397
|
+
Yt as BsSelect,
|
|
1398
|
+
zt as BsSelectField,
|
|
1399
|
+
_e as BsSelectServer,
|
|
1400
|
+
Wt as BsSwitch,
|
|
1401
|
+
Dt as BsTextarea,
|
|
1402
|
+
Ot as BsTextareaField,
|
|
1403
|
+
Mt as BsToast,
|
|
1404
|
+
dt as BsToastActions,
|
|
1405
|
+
ct as BsToastBody,
|
|
1406
|
+
ft as BsToastHeader,
|
|
1407
|
+
ht as BsToaster,
|
|
1408
|
+
Ut as BsTooltip,
|
|
1409
|
+
at as BsTooltipServer,
|
|
1410
|
+
Ft as BsTransition
|
|
1235
1411
|
};
|