@wwtdev/bsds-components-vue3 1.6.1 → 1.6.3
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/nuxt/bsds-components.mjs +430 -391
- package/nuxt/bsds-components.umd.js +1 -1
- package/package.json +2 -2
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useAsyncData as
|
|
3
|
-
import { ClientOnly as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as ae, ref as v, getCurrentInstance as se, inject as le, h as re, openBlock as o, createElementBlock as f, mergeProps as d, renderSlot as m, computed as Z, unref as b, reactive as C, onMounted as S, watch as I, nextTick as A, onBeforeUnmount as q, Fragment as L, createBlock as g, withCtx as k, Teleport as V, createCommentVNode as R, createElementVNode as x, createVNode as z, normalizeProps as j } from "vue";
|
|
2
|
+
import { useAsyncData as P } from "#imports";
|
|
3
|
+
import { ClientOnly as B } from "#components";
|
|
4
|
+
const K = "update:modelValue", F = "modelValue", ne = "routerLink", J = "navManager", ie = "router", oe = "aria", T = Symbol(), H = { default: T }, Q = (e) => (e == null ? void 0 : e.split(" ")) || [], de = (e, n, a = []) => {
|
|
5
5
|
var t;
|
|
6
6
|
return [...Array.from(((t = e.value) == null ? void 0 : t.classList) || []), ...a].filter(
|
|
7
|
-
(s,
|
|
7
|
+
(s, r, i) => !n.has(s) && i.indexOf(s) === r
|
|
8
8
|
);
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
var
|
|
13
|
-
let
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
}, _ = (e, n, a = [], t, s, r) => {
|
|
10
|
+
n !== void 0 && n();
|
|
11
|
+
const i = ae((u, { attrs: l, slots: h, emit: c }) => {
|
|
12
|
+
var U;
|
|
13
|
+
let y = u[t];
|
|
14
|
+
const G = v(), X = new Set(Q(l.class)), ee = (p) => {
|
|
15
|
+
p.el && (Array.isArray(s) ? s : [s]).forEach((w) => {
|
|
16
|
+
p.el.addEventListener(w.toLowerCase(), ($) => {
|
|
17
|
+
y = ($ == null ? void 0 : $.target)[t], c(K, y), r && c(r, $);
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
|
-
},
|
|
21
|
-
const { routerLink: M } =
|
|
20
|
+
}, N = se(), Y = ((U = N == null ? void 0 : N.appContext) == null ? void 0 : U.provides[J]) ? le(J) : void 0, te = (p) => {
|
|
21
|
+
const { routerLink: M } = u;
|
|
22
22
|
if (M !== T)
|
|
23
|
-
if (
|
|
24
|
-
let
|
|
25
|
-
for (const
|
|
26
|
-
const
|
|
27
|
-
|
|
23
|
+
if (Y !== void 0) {
|
|
24
|
+
let w = { event: p };
|
|
25
|
+
for (const $ in u) {
|
|
26
|
+
const E = u[$];
|
|
27
|
+
u.hasOwnProperty($) && $.startsWith(ie) && E !== T && (w[$] = E);
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
Y.navigate(w);
|
|
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
|
-
|
|
35
|
-
|
|
34
|
+
y = u[t], Q(l.class).forEach(($) => {
|
|
35
|
+
X.add($);
|
|
36
36
|
});
|
|
37
|
-
const
|
|
38
|
-
|
|
37
|
+
const p = u.onClick, M = ($) => {
|
|
38
|
+
p !== void 0 && p($), $.defaultPrevented || te($);
|
|
39
39
|
};
|
|
40
|
-
let
|
|
41
|
-
ref:
|
|
42
|
-
class:
|
|
40
|
+
let w = {
|
|
41
|
+
ref: G,
|
|
42
|
+
class: de(G, X),
|
|
43
43
|
onClick: M,
|
|
44
|
-
onVnodeBeforeMount: s ?
|
|
44
|
+
onVnodeBeforeMount: s ? ee : void 0
|
|
45
45
|
};
|
|
46
|
-
for (const
|
|
47
|
-
const
|
|
48
|
-
(
|
|
46
|
+
for (const $ in u) {
|
|
47
|
+
const E = u[$];
|
|
48
|
+
(u.hasOwnProperty($) && E !== T || $.startsWith(oe)) && (w[$] = E);
|
|
49
49
|
}
|
|
50
|
-
return t && (
|
|
51
|
-
...
|
|
52
|
-
[t]:
|
|
53
|
-
} :
|
|
54
|
-
...
|
|
55
|
-
[t]:
|
|
56
|
-
})),
|
|
50
|
+
return t && (u[F] !== T ? w = {
|
|
51
|
+
...w,
|
|
52
|
+
[t]: u[F]
|
|
53
|
+
} : y !== T && (w = {
|
|
54
|
+
...w,
|
|
55
|
+
[t]: y
|
|
56
|
+
})), re(e, w, h.default && h.default());
|
|
57
57
|
};
|
|
58
58
|
});
|
|
59
|
-
return typeof
|
|
60
|
-
[
|
|
61
|
-
}, a.forEach((
|
|
62
|
-
|
|
63
|
-
}), t && (
|
|
64
|
-
},
|
|
59
|
+
return typeof i != "function" && (i.name = e, i.props = {
|
|
60
|
+
[ne]: H
|
|
61
|
+
}, a.forEach((u) => {
|
|
62
|
+
i.props[u] = H;
|
|
63
|
+
}), t && (i.props[F] = H, i.emits = [K, r])), i;
|
|
64
|
+
}, at = /* @__PURE__ */ _("bs-input-addon", void 0, [
|
|
65
65
|
"disabled",
|
|
66
66
|
"error",
|
|
67
67
|
"multifocus",
|
|
68
68
|
"variant"
|
|
69
|
-
]),
|
|
69
|
+
]), st = /* @__PURE__ */ _("bs-toaster", void 0), ue = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], lt = {
|
|
70
70
|
__name: "BsBadge",
|
|
71
71
|
props: {
|
|
72
72
|
color: {},
|
|
@@ -78,8 +78,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
78
78
|
showZero: {}
|
|
79
79
|
},
|
|
80
80
|
emits: [],
|
|
81
|
-
setup(e, { emit:
|
|
82
|
-
return (a, t) => (
|
|
81
|
+
setup(e, { emit: n }) {
|
|
82
|
+
return (a, t) => (o(), f("bs-badge", d(a.$attrs, {
|
|
83
83
|
color: e.color,
|
|
84
84
|
count: e.count,
|
|
85
85
|
"count-max": e.countMax,
|
|
@@ -88,23 +88,23 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
88
88
|
position: e.position,
|
|
89
89
|
"show-zero": e.showZero
|
|
90
90
|
}), [
|
|
91
|
-
|
|
92
|
-
], 16,
|
|
91
|
+
m(a.$slots, "default")
|
|
92
|
+
], 16, ue));
|
|
93
93
|
}
|
|
94
|
-
},
|
|
94
|
+
}, ce = ["char-count", "char-max"], rt = {
|
|
95
95
|
__name: "BsCharacterCount",
|
|
96
96
|
props: {
|
|
97
97
|
charCount: {},
|
|
98
98
|
charMax: {}
|
|
99
99
|
},
|
|
100
100
|
emits: [],
|
|
101
|
-
setup(e, { emit:
|
|
102
|
-
return (a, t) => (
|
|
101
|
+
setup(e, { emit: n }) {
|
|
102
|
+
return (a, t) => (o(), f("bs-character-count", d(a.$attrs, {
|
|
103
103
|
"char-count": e.charCount,
|
|
104
104
|
"char-max": e.charMax
|
|
105
|
-
}), null, 16,
|
|
105
|
+
}), null, 16, ce));
|
|
106
106
|
}
|
|
107
|
-
},
|
|
107
|
+
}, fe = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], nt = {
|
|
108
108
|
__name: "BsChartBar",
|
|
109
109
|
props: {
|
|
110
110
|
chartTitle: {},
|
|
@@ -119,8 +119,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
119
119
|
yLabel: { default: "" }
|
|
120
120
|
},
|
|
121
121
|
emits: [],
|
|
122
|
-
setup(e, { emit:
|
|
123
|
-
return (a, t) => (
|
|
122
|
+
setup(e, { emit: n }) {
|
|
123
|
+
return (a, t) => (o(), f("bs-chart-bar", d(a.$attrs, {
|
|
124
124
|
"chart-title": e.chartTitle,
|
|
125
125
|
data: e.data,
|
|
126
126
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -131,9 +131,9 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
131
131
|
stacked: e.stacked,
|
|
132
132
|
"x-label": e.xLabel,
|
|
133
133
|
"y-label": e.yLabel
|
|
134
|
-
}), null, 16,
|
|
134
|
+
}), null, 16, fe));
|
|
135
135
|
}
|
|
136
|
-
},
|
|
136
|
+
}, he = ["data", "dataIdxLabels", "table-title"], it = {
|
|
137
137
|
__name: "BsChartTable",
|
|
138
138
|
props: {
|
|
139
139
|
data: {},
|
|
@@ -141,14 +141,14 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
141
141
|
tableTitle: { default: "" }
|
|
142
142
|
},
|
|
143
143
|
emits: [],
|
|
144
|
-
setup(e, { emit:
|
|
145
|
-
return (a, t) => (
|
|
144
|
+
setup(e, { emit: n }) {
|
|
145
|
+
return (a, t) => (o(), f("bs-chart-table", d(a.$attrs, {
|
|
146
146
|
data: e.data,
|
|
147
147
|
dataIdxLabels: e.dataIdxLabels,
|
|
148
148
|
"table-title": e.tableTitle
|
|
149
|
-
}), null, 16,
|
|
149
|
+
}), null, 16, he));
|
|
150
150
|
}
|
|
151
|
-
},
|
|
151
|
+
}, me = ["label", "checked", "checked-partially", "disabled", "error", "pass-attrs", "required", "size"], ot = {
|
|
152
152
|
__name: "BsCheckbox",
|
|
153
153
|
props: {
|
|
154
154
|
label: {},
|
|
@@ -162,8 +162,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
162
162
|
modelValue: {}
|
|
163
163
|
},
|
|
164
164
|
emits: ["update:modelValue"],
|
|
165
|
-
setup(e, { emit:
|
|
166
|
-
return (a, t) => (
|
|
165
|
+
setup(e, { emit: n }) {
|
|
166
|
+
return (a, t) => (o(), f("bs-checkbox", d(a.$attrs, {
|
|
167
167
|
label: e.label,
|
|
168
168
|
checked: e.checked || e.modelValue,
|
|
169
169
|
"checked-partially": e.checkedPartially,
|
|
@@ -172,10 +172,25 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
172
172
|
"pass-attrs": e.passAttrs,
|
|
173
173
|
required: e.required,
|
|
174
174
|
size: e.size,
|
|
175
|
-
onChange: t[0] || (t[0] = (s) =>
|
|
176
|
-
}), null, 16,
|
|
175
|
+
onChange: t[0] || (t[0] = (s) => n("update:modelValue", s.target.checked))
|
|
176
|
+
}), null, 16, me));
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
function W(e) {
|
|
180
|
+
const n = Z(() => {
|
|
181
|
+
var s, r;
|
|
182
|
+
return ((r = (s = e.href) == null ? void 0 : s.startsWith) == null ? void 0 : r.call(s, "/")) || !1;
|
|
183
|
+
}), a = Z(() => {
|
|
184
|
+
var s, r;
|
|
185
|
+
return n.value && ((s = e.router) == null ? void 0 : s.navigateTo) || ((r = e.router) == null ? void 0 : r.push) || null;
|
|
186
|
+
});
|
|
187
|
+
function t(s) {
|
|
188
|
+
var r, i, u, l, h;
|
|
189
|
+
a.value && ((i = (r = s.target.href) == null ? void 0 : r.endsWith) != null && i.call(r, e.href) || (h = (l = (u = s.target.closest("a")) == null ? void 0 : u.href) == null ? void 0 : l.endsWith) != null && h.call(l, e.href)) && (s.preventDefault(), a.value(e.href));
|
|
177
190
|
}
|
|
178
|
-
|
|
191
|
+
return { onLinkClick: t };
|
|
192
|
+
}
|
|
193
|
+
const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], dt = {
|
|
179
194
|
__name: "BsCircleButton",
|
|
180
195
|
props: {
|
|
181
196
|
disabled: {},
|
|
@@ -187,11 +202,13 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
187
202
|
label: {},
|
|
188
203
|
passAttrs: { default: "" },
|
|
189
204
|
textBtn: {},
|
|
190
|
-
size: {}
|
|
205
|
+
size: {},
|
|
206
|
+
router: {}
|
|
191
207
|
},
|
|
192
208
|
emits: [],
|
|
193
|
-
setup(e, { emit:
|
|
194
|
-
|
|
209
|
+
setup(e, { emit: n }) {
|
|
210
|
+
const a = e, { onLinkClick: t } = W(a);
|
|
211
|
+
return (s, r) => (o(), f("bs-circle-button", d(s.$attrs, {
|
|
195
212
|
disabled: e.disabled,
|
|
196
213
|
"ghost-btn": e.ghostBtn,
|
|
197
214
|
"hover-effect": e.hoverEffect,
|
|
@@ -201,10 +218,11 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
201
218
|
label: e.label,
|
|
202
219
|
"pass-attrs": e.passAttrs,
|
|
203
220
|
"text-btn": e.textBtn,
|
|
204
|
-
size: e.size
|
|
205
|
-
|
|
221
|
+
size: e.size,
|
|
222
|
+
onClick: r[0] || (r[0] = (...i) => b(t) && b(t)(...i))
|
|
223
|
+
}), null, 16, be));
|
|
206
224
|
}
|
|
207
|
-
},
|
|
225
|
+
}, ve = ["dropdown-id", "shown", "label", "position", "justify", "variant"], ut = {
|
|
208
226
|
__name: "BsDropdown",
|
|
209
227
|
props: {
|
|
210
228
|
dropdownId: {},
|
|
@@ -215,21 +233,21 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
215
233
|
variant: {}
|
|
216
234
|
},
|
|
217
235
|
emits: ["dropdownchange", "close"],
|
|
218
|
-
setup(e, { emit:
|
|
219
|
-
return (a, t) => (
|
|
236
|
+
setup(e, { emit: n }) {
|
|
237
|
+
return (a, t) => (o(), f("bs-dropdown", d(a.$attrs, {
|
|
220
238
|
"dropdown-id": e.dropdownId,
|
|
221
239
|
shown: e.shown,
|
|
222
240
|
label: e.label,
|
|
223
241
|
position: e.position,
|
|
224
242
|
justify: e.justify,
|
|
225
243
|
variant: e.variant,
|
|
226
|
-
onDropdownchange: t[0] || (t[0] = (s) =>
|
|
227
|
-
onClose: t[1] || (t[1] = (s) =>
|
|
244
|
+
onDropdownchange: t[0] || (t[0] = (s) => n("dropdownchange", s.detail)),
|
|
245
|
+
onClose: t[1] || (t[1] = (s) => n("close", s.detail))
|
|
228
246
|
}), [
|
|
229
|
-
|
|
230
|
-
], 16,
|
|
247
|
+
m(a.$slots, "default")
|
|
248
|
+
], 16, ve));
|
|
231
249
|
}
|
|
232
|
-
},
|
|
250
|
+
}, ye = ["value", "variant", "selected", "shown", "focused", "index", "dropdown-id"], ct = {
|
|
233
251
|
__name: "BsDropdownOption",
|
|
234
252
|
props: {
|
|
235
253
|
value: {},
|
|
@@ -241,8 +259,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
241
259
|
dropdownId: {}
|
|
242
260
|
},
|
|
243
261
|
emits: ["mousefocus", "optionselect"],
|
|
244
|
-
setup(e, { emit:
|
|
245
|
-
return (a, t) => (
|
|
262
|
+
setup(e, { emit: n }) {
|
|
263
|
+
return (a, t) => (o(), f("bs-dropdown-option", d(a.$attrs, {
|
|
246
264
|
value: e.value,
|
|
247
265
|
variant: e.variant,
|
|
248
266
|
selected: e.selected,
|
|
@@ -250,13 +268,13 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
250
268
|
focused: e.focused,
|
|
251
269
|
index: e.index,
|
|
252
270
|
"dropdown-id": e.dropdownId,
|
|
253
|
-
onMousefocus: t[0] || (t[0] = (s) =>
|
|
254
|
-
onOptionselect: t[1] || (t[1] = (s) =>
|
|
271
|
+
onMousefocus: t[0] || (t[0] = (s) => n("mousefocus", s.detail)),
|
|
272
|
+
onOptionselect: t[1] || (t[1] = (s) => n("optionselect", s.detail))
|
|
255
273
|
}), [
|
|
256
|
-
|
|
257
|
-
], 16,
|
|
274
|
+
m(a.$slots, "default")
|
|
275
|
+
], 16, ye));
|
|
258
276
|
}
|
|
259
|
-
},
|
|
277
|
+
}, $e = ["dropdown-id", "shown", "label", "position", "variant"], ft = {
|
|
260
278
|
__name: "BsDropdownOptions",
|
|
261
279
|
props: {
|
|
262
280
|
dropdownId: {},
|
|
@@ -266,20 +284,20 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
266
284
|
variant: {}
|
|
267
285
|
},
|
|
268
286
|
emits: ["dropdownchange", "close"],
|
|
269
|
-
setup(e, { emit:
|
|
270
|
-
return (a, t) => (
|
|
287
|
+
setup(e, { emit: n }) {
|
|
288
|
+
return (a, t) => (o(), f("bs-dropdown-options", d(a.$attrs, {
|
|
271
289
|
"dropdown-id": e.dropdownId,
|
|
272
290
|
shown: e.shown,
|
|
273
291
|
label: e.label,
|
|
274
292
|
position: e.position,
|
|
275
293
|
variant: e.variant,
|
|
276
|
-
onDropdownchange: t[0] || (t[0] = (s) =>
|
|
277
|
-
onClose: t[1] || (t[1] = (s) =>
|
|
294
|
+
onDropdownchange: t[0] || (t[0] = (s) => n("dropdownchange", s.detail)),
|
|
295
|
+
onClose: t[1] || (t[1] = (s) => n("close", s.detail))
|
|
278
296
|
}), [
|
|
279
|
-
|
|
280
|
-
], 16,
|
|
297
|
+
m(a.$slots, "default")
|
|
298
|
+
], 16, $e));
|
|
281
299
|
}
|
|
282
|
-
},
|
|
300
|
+
}, ge = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], ht = {
|
|
283
301
|
__name: "BsFieldLayout",
|
|
284
302
|
props: {
|
|
285
303
|
charCount: {},
|
|
@@ -293,8 +311,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
293
311
|
hintId: {}
|
|
294
312
|
},
|
|
295
313
|
emits: [],
|
|
296
|
-
setup(e, { emit:
|
|
297
|
-
return (a, t) => (
|
|
314
|
+
setup(e, { emit: n }) {
|
|
315
|
+
return (a, t) => (o(), f("bs-field-layout", d(a.$attrs, {
|
|
298
316
|
"char-count": e.charCount,
|
|
299
317
|
"char-max": e.charMax,
|
|
300
318
|
disabled: e.disabled,
|
|
@@ -305,10 +323,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
305
323
|
required: e.required,
|
|
306
324
|
"hint-id": e.hintId
|
|
307
325
|
}), [
|
|
308
|
-
|
|
309
|
-
], 16,
|
|
326
|
+
m(a.$slots, "default")
|
|
327
|
+
], 16, ge));
|
|
310
328
|
}
|
|
311
|
-
},
|
|
329
|
+
}, ke = ["error", "hint-id", "hints"], mt = {
|
|
312
330
|
__name: "BsHint",
|
|
313
331
|
props: {
|
|
314
332
|
error: {},
|
|
@@ -316,14 +334,14 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
316
334
|
hints: {}
|
|
317
335
|
},
|
|
318
336
|
emits: [],
|
|
319
|
-
setup(e, { emit:
|
|
320
|
-
return (a, t) => (
|
|
337
|
+
setup(e, { emit: n }) {
|
|
338
|
+
return (a, t) => (o(), f("bs-hint", d(a.$attrs, {
|
|
321
339
|
error: e.error,
|
|
322
340
|
"hint-id": e.hintId,
|
|
323
341
|
hints: e.hints
|
|
324
|
-
}), null, 16,
|
|
342
|
+
}), null, 16, ke));
|
|
325
343
|
}
|
|
326
|
-
}, Be = ["disabled", "error", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"],
|
|
344
|
+
}, Be = ["disabled", "error", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], bt = {
|
|
327
345
|
__name: "BsInput",
|
|
328
346
|
props: {
|
|
329
347
|
disabled: { default: !1 },
|
|
@@ -337,8 +355,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
337
355
|
modelValue: {}
|
|
338
356
|
},
|
|
339
357
|
emits: ["update:modelValue"],
|
|
340
|
-
setup(e, { emit:
|
|
341
|
-
return (a, t) => (
|
|
358
|
+
setup(e, { emit: n }) {
|
|
359
|
+
return (a, t) => (o(), f("bs-input", d(a.$attrs, {
|
|
342
360
|
disabled: e.disabled,
|
|
343
361
|
error: e.error,
|
|
344
362
|
"pass-attrs": e.passAttrs,
|
|
@@ -347,10 +365,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
347
365
|
type: e.type,
|
|
348
366
|
value: e.value || e.modelValue,
|
|
349
367
|
"hint-id": e.hintId,
|
|
350
|
-
onInput: t[0] || (t[0] = (s) =>
|
|
368
|
+
onInput: t[0] || (t[0] = (s) => n("update:modelValue", s.target.value))
|
|
351
369
|
}), null, 16, Be));
|
|
352
370
|
}
|
|
353
|
-
},
|
|
371
|
+
}, we = ["disabled", "error", "hints", "label", "pass-attrs", "placeholder", "required", "type", "value"], vt = {
|
|
354
372
|
__name: "BsInputField",
|
|
355
373
|
props: {
|
|
356
374
|
disabled: { default: !1 },
|
|
@@ -365,8 +383,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
365
383
|
modelValue: {}
|
|
366
384
|
},
|
|
367
385
|
emits: ["update:modelValue"],
|
|
368
|
-
setup(e, { emit:
|
|
369
|
-
return (a, t) => (
|
|
386
|
+
setup(e, { emit: n }) {
|
|
387
|
+
return (a, t) => (o(), f("bs-input-field", d(a.$attrs, {
|
|
370
388
|
disabled: e.disabled,
|
|
371
389
|
error: e.error,
|
|
372
390
|
hints: e.hints,
|
|
@@ -376,10 +394,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
376
394
|
required: e.required,
|
|
377
395
|
type: e.type,
|
|
378
396
|
value: e.value || e.modelValue,
|
|
379
|
-
onInput: t[0] || (t[0] = (s) =>
|
|
380
|
-
}), null, 16,
|
|
397
|
+
onInput: t[0] || (t[0] = (s) => n("update:modelValue", s.target.value))
|
|
398
|
+
}), null, 16, we));
|
|
381
399
|
}
|
|
382
|
-
},
|
|
400
|
+
}, pe = ["disabled", "pass-attrs", "placeholder", "aria-label", "hint-id", "value"], yt = {
|
|
383
401
|
__name: "BsInputSearch",
|
|
384
402
|
props: {
|
|
385
403
|
disabled: { default: !1 },
|
|
@@ -390,18 +408,18 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
390
408
|
value: { default: "" }
|
|
391
409
|
},
|
|
392
410
|
emits: ["onclear"],
|
|
393
|
-
setup(e, { emit:
|
|
394
|
-
return (a, t) => (
|
|
411
|
+
setup(e, { emit: n }) {
|
|
412
|
+
return (a, t) => (o(), f("bs-input-search", d(a.$attrs, {
|
|
395
413
|
disabled: e.disabled,
|
|
396
414
|
"pass-attrs": e.passAttrs,
|
|
397
415
|
placeholder: e.placeholder,
|
|
398
416
|
"aria-label": e.ariaLabel,
|
|
399
417
|
"hint-id": e.hintId,
|
|
400
418
|
value: e.value,
|
|
401
|
-
onOnclear: t[0] || (t[0] = (s) =>
|
|
402
|
-
}), null, 16,
|
|
419
|
+
onOnclear: t[0] || (t[0] = (s) => n("onclear", s.detail))
|
|
420
|
+
}), null, 16, pe));
|
|
403
421
|
}
|
|
404
|
-
},
|
|
422
|
+
}, Ae = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email"], $t = {
|
|
405
423
|
__name: "BsProfile",
|
|
406
424
|
props: {
|
|
407
425
|
layout: {},
|
|
@@ -412,11 +430,13 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
412
430
|
profileName: {},
|
|
413
431
|
company: {},
|
|
414
432
|
jobTitle: {},
|
|
415
|
-
email: {}
|
|
433
|
+
email: {},
|
|
434
|
+
router: {}
|
|
416
435
|
},
|
|
417
436
|
emits: [],
|
|
418
|
-
setup(e, { emit:
|
|
419
|
-
|
|
437
|
+
setup(e, { emit: n }) {
|
|
438
|
+
const a = e, { onLinkClick: t } = W(a);
|
|
439
|
+
return (s, r) => (o(), f("bs-profile", d(s.$attrs, {
|
|
420
440
|
layout: e.layout,
|
|
421
441
|
href: e.href,
|
|
422
442
|
"image-src": e.imageSrc,
|
|
@@ -425,10 +445,11 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
425
445
|
"profile-name": e.profileName,
|
|
426
446
|
company: e.company,
|
|
427
447
|
"job-title": e.jobTitle,
|
|
428
|
-
email: e.email
|
|
429
|
-
|
|
448
|
+
email: e.email,
|
|
449
|
+
onClick: r[0] || (r[0] = (...i) => b(t) && b(t)(...i))
|
|
450
|
+
}), null, 16, Ae));
|
|
430
451
|
}
|
|
431
|
-
},
|
|
452
|
+
}, Te = ["profile-name", "company", "job-title", "email"], gt = {
|
|
432
453
|
__name: "BsProfileDetails",
|
|
433
454
|
props: {
|
|
434
455
|
profileName: {},
|
|
@@ -437,15 +458,15 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
437
458
|
email: {}
|
|
438
459
|
},
|
|
439
460
|
emits: [],
|
|
440
|
-
setup(e, { emit:
|
|
441
|
-
return (a, t) => (
|
|
461
|
+
setup(e, { emit: n }) {
|
|
462
|
+
return (a, t) => (o(), f("bs-profile-details", d(a.$attrs, {
|
|
442
463
|
"profile-name": e.profileName,
|
|
443
464
|
company: e.company,
|
|
444
465
|
"job-title": e.jobTitle,
|
|
445
466
|
email: e.email
|
|
446
|
-
}), null, 16,
|
|
467
|
+
}), null, 16, Te));
|
|
447
468
|
}
|
|
448
|
-
},
|
|
469
|
+
}, Ce = ["src", "size", "initials", "profile-name"], kt = {
|
|
449
470
|
__name: "BsProfileImg",
|
|
450
471
|
props: {
|
|
451
472
|
src: {},
|
|
@@ -454,32 +475,35 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
454
475
|
profileName: {}
|
|
455
476
|
},
|
|
456
477
|
emits: [],
|
|
457
|
-
setup(e, { emit:
|
|
458
|
-
return (a, t) => (
|
|
478
|
+
setup(e, { emit: n }) {
|
|
479
|
+
return (a, t) => (o(), f("bs-profile-img", d(a.$attrs, {
|
|
459
480
|
src: e.src,
|
|
460
481
|
size: e.size,
|
|
461
482
|
initials: e.initials,
|
|
462
483
|
"profile-name": e.profileName
|
|
463
|
-
}), null, 16,
|
|
484
|
+
}), null, 16, Ce));
|
|
464
485
|
}
|
|
465
|
-
},
|
|
486
|
+
}, Se = ["layout", "href", "pass-attrs"], Bt = {
|
|
466
487
|
__name: "BsProfileLayout",
|
|
467
488
|
props: {
|
|
468
489
|
layout: { default: "vertical" },
|
|
469
490
|
href: {},
|
|
470
|
-
passAttrs: { default: "" }
|
|
491
|
+
passAttrs: { default: "" },
|
|
492
|
+
router: {}
|
|
471
493
|
},
|
|
472
494
|
emits: [],
|
|
473
|
-
setup(e, { emit:
|
|
474
|
-
|
|
495
|
+
setup(e, { emit: n }) {
|
|
496
|
+
const a = e, { onLinkClick: t } = W(a);
|
|
497
|
+
return (s, r) => (o(), f("bs-profile-layout", d(s.$attrs, {
|
|
475
498
|
layout: e.layout,
|
|
476
499
|
href: e.href,
|
|
477
|
-
"pass-attrs": e.passAttrs
|
|
500
|
+
"pass-attrs": e.passAttrs,
|
|
501
|
+
onClick: r[0] || (r[0] = (...i) => b(t) && b(t)(...i))
|
|
478
502
|
}), [
|
|
479
|
-
|
|
480
|
-
], 16,
|
|
503
|
+
m(s.$slots, "default")
|
|
504
|
+
], 16, Se));
|
|
481
505
|
}
|
|
482
|
-
},
|
|
506
|
+
}, Ie = ["label", "checked", "disabled", "error", "pass-attrs", "required", "size", "value"], wt = {
|
|
483
507
|
__name: "BsRadio",
|
|
484
508
|
props: {
|
|
485
509
|
label: {},
|
|
@@ -493,8 +517,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
493
517
|
modelValue: {}
|
|
494
518
|
},
|
|
495
519
|
emits: ["update:modelValue"],
|
|
496
|
-
setup(e, { emit:
|
|
497
|
-
return (a, t) => (
|
|
520
|
+
setup(e, { emit: n }) {
|
|
521
|
+
return (a, t) => (o(), f("bs-radio", d(a.$attrs, {
|
|
498
522
|
label: e.label,
|
|
499
523
|
checked: e.checked || e.modelValue === e.value,
|
|
500
524
|
disabled: e.disabled,
|
|
@@ -503,10 +527,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
503
527
|
required: e.required,
|
|
504
528
|
size: e.size,
|
|
505
529
|
value: e.value,
|
|
506
|
-
onChange: t[0] || (t[0] = (s) =>
|
|
507
|
-
}), null, 16,
|
|
530
|
+
onChange: t[0] || (t[0] = (s) => n("update:modelValue", s.target.value))
|
|
531
|
+
}), null, 16, Ie));
|
|
508
532
|
}
|
|
509
|
-
},
|
|
533
|
+
}, qe = ["disabled", "error", "required", "label", "hints", "placeholder", "value", "pass-attrs", "data"], pt = {
|
|
510
534
|
__name: "BsSelectField",
|
|
511
535
|
props: {
|
|
512
536
|
disabled: { default: !1 },
|
|
@@ -521,8 +545,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
521
545
|
modelValue: {}
|
|
522
546
|
},
|
|
523
547
|
emits: ["update:modelValue"],
|
|
524
|
-
setup(e, { emit:
|
|
525
|
-
return (a, t) => (
|
|
548
|
+
setup(e, { emit: n }) {
|
|
549
|
+
return (a, t) => (o(), f("bs-select-field", d(a.$attrs, {
|
|
526
550
|
disabled: e.disabled,
|
|
527
551
|
error: e.error,
|
|
528
552
|
required: e.required,
|
|
@@ -532,10 +556,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
532
556
|
value: e.value || e.modelValue,
|
|
533
557
|
"pass-attrs": e.passAttrs,
|
|
534
558
|
data: e.data,
|
|
535
|
-
onChange: t[0] || (t[0] = (s) =>
|
|
536
|
-
}), null, 16,
|
|
559
|
+
onChange: t[0] || (t[0] = (s) => n("update:modelValue", s.target.value))
|
|
560
|
+
}), null, 16, qe));
|
|
537
561
|
}
|
|
538
|
-
},
|
|
562
|
+
}, Le = ["checked", "disabled", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], At = {
|
|
539
563
|
__name: "BsSwitch",
|
|
540
564
|
props: {
|
|
541
565
|
checked: { default: !1 },
|
|
@@ -548,8 +572,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
548
572
|
modelValue: {}
|
|
549
573
|
},
|
|
550
574
|
emits: ["update:modelValue"],
|
|
551
|
-
setup(e, { emit:
|
|
552
|
-
return (a, t) => (
|
|
575
|
+
setup(e, { emit: n }) {
|
|
576
|
+
return (a, t) => (o(), f("bs-switch", d(a.$attrs, {
|
|
553
577
|
checked: e.checked || e.modelValue,
|
|
554
578
|
disabled: e.disabled,
|
|
555
579
|
"inner-on-label": e.innerOnLabel,
|
|
@@ -557,10 +581,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
557
581
|
label: e.label,
|
|
558
582
|
"pass-attrs": e.passAttrs,
|
|
559
583
|
size: e.size,
|
|
560
|
-
onChange: t[0] || (t[0] = (s) =>
|
|
561
|
-
}), null, 16,
|
|
584
|
+
onChange: t[0] || (t[0] = (s) => n("update:modelValue", s.target.checked))
|
|
585
|
+
}), null, 16, Le));
|
|
562
586
|
}
|
|
563
|
-
}, Ve = ["disabled", "error", "pass-attrs", "placeholder", "required", "value", "hint-id"],
|
|
587
|
+
}, Ve = ["disabled", "error", "pass-attrs", "placeholder", "required", "value", "hint-id"], Tt = {
|
|
564
588
|
__name: "BsTextarea",
|
|
565
589
|
props: {
|
|
566
590
|
disabled: { default: !1 },
|
|
@@ -573,8 +597,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
573
597
|
modelValue: {}
|
|
574
598
|
},
|
|
575
599
|
emits: ["update:modelValue"],
|
|
576
|
-
setup(e, { emit:
|
|
577
|
-
return (a, t) => (
|
|
600
|
+
setup(e, { emit: n }) {
|
|
601
|
+
return (a, t) => (o(), f("bs-textarea", d(a.$attrs, {
|
|
578
602
|
disabled: e.disabled,
|
|
579
603
|
error: e.error,
|
|
580
604
|
"pass-attrs": e.passAttrs,
|
|
@@ -582,10 +606,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
582
606
|
required: e.required,
|
|
583
607
|
value: e.value || e.modelValue,
|
|
584
608
|
"hint-id": e.hintId,
|
|
585
|
-
onInput: t[0] || (t[0] = (s) =>
|
|
609
|
+
onInput: t[0] || (t[0] = (s) => n("update:modelValue", s.target.value))
|
|
586
610
|
}), null, 16, Ve));
|
|
587
611
|
}
|
|
588
|
-
},
|
|
612
|
+
}, Re = ["char-max", "disabled", "error", "hints", "label", "placeholder", "required", "value", "pass-attrs"], Ct = {
|
|
589
613
|
__name: "BsTextareaField",
|
|
590
614
|
props: {
|
|
591
615
|
charMax: {},
|
|
@@ -600,8 +624,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
600
624
|
modelValue: {}
|
|
601
625
|
},
|
|
602
626
|
emits: ["update:modelValue"],
|
|
603
|
-
setup(e, { emit:
|
|
604
|
-
return (a, t) => (
|
|
627
|
+
setup(e, { emit: n }) {
|
|
628
|
+
return (a, t) => (o(), f("bs-textarea-field", d(a.$attrs, {
|
|
605
629
|
"char-max": e.charMax,
|
|
606
630
|
disabled: e.disabled,
|
|
607
631
|
error: e.error,
|
|
@@ -611,10 +635,10 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
611
635
|
required: e.required,
|
|
612
636
|
value: e.value || e.modelValue,
|
|
613
637
|
"pass-attrs": e.passAttrs,
|
|
614
|
-
onInput: t[0] || (t[0] = (s) =>
|
|
615
|
-
}), null, 16,
|
|
638
|
+
onInput: t[0] || (t[0] = (s) => n("update:modelValue", s.target.value))
|
|
639
|
+
}), null, 16, Re));
|
|
616
640
|
}
|
|
617
|
-
},
|
|
641
|
+
}, xe = ["toast-id", "shown", "variant", "toast-title", "content", "stacked", "duration", "primary-action", "primary-action-type", "secondary-action", "secondary-action-type", "tertiary-action", "tertiary-action-type", "dismiss-action"], St = {
|
|
618
642
|
__name: "BsToast",
|
|
619
643
|
props: {
|
|
620
644
|
toastId: {},
|
|
@@ -633,8 +657,8 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
633
657
|
dismissAction: { default: "Dismiss" }
|
|
634
658
|
},
|
|
635
659
|
emits: ["dismiss", "actionclick"],
|
|
636
|
-
setup(e, { emit:
|
|
637
|
-
return (a, t) => (
|
|
660
|
+
setup(e, { emit: n }) {
|
|
661
|
+
return (a, t) => (o(), f("bs-toast", d(a.$attrs, {
|
|
638
662
|
"toast-id": e.toastId,
|
|
639
663
|
shown: e.shown,
|
|
640
664
|
variant: e.variant,
|
|
@@ -649,13 +673,13 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
649
673
|
"tertiary-action": e.tertiaryAction,
|
|
650
674
|
"tertiary-action-type": e.tertiaryActionType,
|
|
651
675
|
"dismiss-action": e.dismissAction,
|
|
652
|
-
onDismiss: t[0] || (t[0] = (s) =>
|
|
653
|
-
onActionclick: t[1] || (t[1] = (s) =>
|
|
676
|
+
onDismiss: t[0] || (t[0] = (s) => n("dismiss", s.detail)),
|
|
677
|
+
onActionclick: t[1] || (t[1] = (s) => n("actionclick", s.detail))
|
|
654
678
|
}), [
|
|
655
|
-
|
|
656
|
-
], 16,
|
|
679
|
+
m(a.$slots, "default")
|
|
680
|
+
], 16, xe));
|
|
657
681
|
}
|
|
658
|
-
},
|
|
682
|
+
}, ze = ["tooltip-id", "content", "position"], It = {
|
|
659
683
|
__name: "BsTooltip",
|
|
660
684
|
props: {
|
|
661
685
|
tooltipId: {},
|
|
@@ -663,24 +687,24 @@ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navMana
|
|
|
663
687
|
position: {}
|
|
664
688
|
},
|
|
665
689
|
emits: [],
|
|
666
|
-
setup(e, { emit:
|
|
667
|
-
return (a, t) => (
|
|
690
|
+
setup(e, { emit: n }) {
|
|
691
|
+
return (a, t) => (o(), f("bs-tooltip", d(a.$attrs, {
|
|
668
692
|
"tooltip-id": e.tooltipId,
|
|
669
693
|
content: e.content,
|
|
670
694
|
position: e.position
|
|
671
695
|
}), [
|
|
672
|
-
|
|
673
|
-
], 16,
|
|
696
|
+
m(a.$slots, "default")
|
|
697
|
+
], 16, ze));
|
|
674
698
|
}
|
|
675
699
|
};
|
|
676
|
-
function
|
|
677
|
-
const { height:
|
|
678
|
-
e.value.style.minHeight =
|
|
700
|
+
function D(e) {
|
|
701
|
+
const { height: n, width: a } = e.value.getBoundingClientRect();
|
|
702
|
+
e.value.style.minHeight = n + "px", e.value.style.minWidth = a + "px", e.value.replaceChildren();
|
|
679
703
|
}
|
|
680
704
|
function O(e) {
|
|
681
705
|
e.value.style.minHeight = null, e.value.style.minWidth = null;
|
|
682
706
|
}
|
|
683
|
-
const
|
|
707
|
+
const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "stacked"], Ee = {
|
|
684
708
|
__name: "BsAccordionServer",
|
|
685
709
|
props: {
|
|
686
710
|
controlled: { default: !1 },
|
|
@@ -691,29 +715,29 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
691
715
|
stacked: { default: !1 }
|
|
692
716
|
},
|
|
693
717
|
emits: ["toggled"],
|
|
694
|
-
setup(e, { emit:
|
|
695
|
-
const a =
|
|
696
|
-
var
|
|
697
|
-
t.value ||
|
|
718
|
+
setup(e, { emit: n }) {
|
|
719
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), i = v(null), u = (l, h = 0) => {
|
|
720
|
+
var c, y;
|
|
721
|
+
t.value || h >= 4 || (t.value = (y = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : y.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
698
722
|
};
|
|
699
|
-
return
|
|
700
|
-
!l || a.value || (
|
|
701
|
-
O(t),
|
|
723
|
+
return S(() => u(i, 0)), I(t, (l) => {
|
|
724
|
+
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
725
|
+
O(t), A(() => {
|
|
702
726
|
s.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
|
|
703
727
|
});
|
|
704
728
|
}, 100)), a.value = !0);
|
|
705
|
-
}, { immediate: !0 }),
|
|
706
|
-
t.value ? (
|
|
707
|
-
default:
|
|
708
|
-
(
|
|
709
|
-
|
|
729
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (o(), f(L, null, [
|
|
730
|
+
t.value ? (o(), g(b(B), { key: 0 }, {
|
|
731
|
+
default: k(() => [
|
|
732
|
+
(o(), g(V, { to: t.value }, [
|
|
733
|
+
m(l.$slots, "default")
|
|
710
734
|
], 8, ["to"]))
|
|
711
735
|
]),
|
|
712
736
|
_: 3
|
|
713
|
-
})) :
|
|
714
|
-
|
|
737
|
+
})) : R("", !0),
|
|
738
|
+
x("bs-accordion", d({
|
|
715
739
|
ref_key: "wcRef",
|
|
716
|
-
ref:
|
|
740
|
+
ref: i,
|
|
717
741
|
class: s.value,
|
|
718
742
|
"data-bsds-ssr": "",
|
|
719
743
|
controlled: e.controlled,
|
|
@@ -722,18 +746,18 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
722
746
|
"heading-level": e.headingLevel,
|
|
723
747
|
"open-item": e.openItem,
|
|
724
748
|
stacked: e.stacked,
|
|
725
|
-
onToggled:
|
|
749
|
+
onToggled: h[0] || (h[0] = (c) => n("toggled", c.detail))
|
|
726
750
|
}, l.$attrs), [
|
|
727
|
-
|
|
728
|
-
fallback:
|
|
729
|
-
|
|
751
|
+
z(b(B), null, {
|
|
752
|
+
fallback: k(() => [
|
|
753
|
+
m(l.$slots, "default")
|
|
730
754
|
]),
|
|
731
755
|
_: 3
|
|
732
756
|
})
|
|
733
|
-
], 16,
|
|
757
|
+
], 16, Pe)
|
|
734
758
|
], 64));
|
|
735
759
|
}
|
|
736
|
-
},
|
|
760
|
+
}, We = "bs-accordion", qt = {
|
|
737
761
|
__name: "BsAccordion",
|
|
738
762
|
props: {
|
|
739
763
|
controlled: { default: !1 },
|
|
@@ -744,87 +768,87 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
744
768
|
stacked: { default: !1 }
|
|
745
769
|
},
|
|
746
770
|
emits: ["toggled"],
|
|
747
|
-
setup(e, { emit:
|
|
748
|
-
const a = e, { data: t } =
|
|
771
|
+
setup(e, { emit: n }) {
|
|
772
|
+
const a = e, { data: t } = P(We, () => {
|
|
749
773
|
if (process.server)
|
|
750
774
|
return !0;
|
|
751
775
|
});
|
|
752
|
-
return (s,
|
|
753
|
-
onToggled:
|
|
776
|
+
return (s, r) => b(t) ? (o(), g(Ee, d({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
777
|
+
onToggled: r[0] || (r[0] = (i) => n("toggled", i.detail))
|
|
754
778
|
}), {
|
|
755
|
-
default:
|
|
756
|
-
|
|
779
|
+
default: k(() => [
|
|
780
|
+
m(s.$slots, "default")
|
|
757
781
|
]),
|
|
758
782
|
_: 3
|
|
759
|
-
}, 16)) : (
|
|
760
|
-
onToggled:
|
|
783
|
+
}, 16)) : (o(), f("bs-accordion", d({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
784
|
+
onToggled: r[1] || (r[1] = (i) => n("toggled", i.detail))
|
|
761
785
|
}), [
|
|
762
|
-
|
|
786
|
+
m(s.$slots, "default")
|
|
763
787
|
], 16));
|
|
764
788
|
}
|
|
765
|
-
},
|
|
789
|
+
}, De = {
|
|
766
790
|
__name: "BsBannerServer",
|
|
767
791
|
props: {},
|
|
768
792
|
emits: ["dismiss"],
|
|
769
|
-
setup(e, { emit:
|
|
770
|
-
const a =
|
|
771
|
-
var
|
|
772
|
-
t.value ||
|
|
793
|
+
setup(e, { emit: n }) {
|
|
794
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), i = v(null), u = (l, h = 0) => {
|
|
795
|
+
var c, y;
|
|
796
|
+
t.value || h >= 4 || (t.value = (y = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : y.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
773
797
|
};
|
|
774
|
-
return
|
|
775
|
-
!l || a.value || (
|
|
776
|
-
O(t),
|
|
798
|
+
return S(() => u(i, 0)), I(t, (l) => {
|
|
799
|
+
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
800
|
+
O(t), A(() => {
|
|
777
801
|
s.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
|
|
778
802
|
});
|
|
779
803
|
}, 100)), a.value = !0);
|
|
780
|
-
}, { immediate: !0 }),
|
|
781
|
-
t.value ? (
|
|
782
|
-
default:
|
|
783
|
-
(
|
|
784
|
-
|
|
804
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (o(), f(L, null, [
|
|
805
|
+
t.value ? (o(), g(b(B), { key: 0 }, {
|
|
806
|
+
default: k(() => [
|
|
807
|
+
(o(), g(V, { to: t.value }, [
|
|
808
|
+
m(l.$slots, "default")
|
|
785
809
|
], 8, ["to"]))
|
|
786
810
|
]),
|
|
787
811
|
_: 3
|
|
788
|
-
})) :
|
|
789
|
-
|
|
812
|
+
})) : R("", !0),
|
|
813
|
+
x("bs-banner", d({
|
|
790
814
|
ref_key: "wcRef",
|
|
791
|
-
ref:
|
|
815
|
+
ref: i,
|
|
792
816
|
class: s.value,
|
|
793
817
|
"data-bsds-ssr": "",
|
|
794
|
-
onDismiss:
|
|
818
|
+
onDismiss: h[0] || (h[0] = (c) => n("dismiss", c.detail))
|
|
795
819
|
}, l.$attrs), [
|
|
796
|
-
|
|
797
|
-
fallback:
|
|
798
|
-
|
|
820
|
+
z(b(B), null, {
|
|
821
|
+
fallback: k(() => [
|
|
822
|
+
m(l.$slots, "default")
|
|
799
823
|
]),
|
|
800
824
|
_: 3
|
|
801
825
|
})
|
|
802
826
|
], 16)
|
|
803
827
|
], 64));
|
|
804
828
|
}
|
|
805
|
-
},
|
|
829
|
+
}, Oe = "bs-banner", Lt = {
|
|
806
830
|
__name: "BsBanner",
|
|
807
831
|
props: {},
|
|
808
832
|
emits: ["dismiss"],
|
|
809
|
-
setup(e, { emit:
|
|
810
|
-
const a = e, { data: t } =
|
|
833
|
+
setup(e, { emit: n }) {
|
|
834
|
+
const a = e, { data: t } = P(Oe, () => {
|
|
811
835
|
if (process.server)
|
|
812
836
|
return !0;
|
|
813
837
|
});
|
|
814
|
-
return (s,
|
|
815
|
-
onDismiss:
|
|
838
|
+
return (s, r) => b(t) ? (o(), g(De, d({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
839
|
+
onDismiss: r[0] || (r[0] = (i) => n("dismiss", i.detail))
|
|
816
840
|
}), {
|
|
817
|
-
default:
|
|
818
|
-
|
|
841
|
+
default: k(() => [
|
|
842
|
+
m(s.$slots, "default")
|
|
819
843
|
]),
|
|
820
844
|
_: 3
|
|
821
|
-
}, 16)) : (
|
|
822
|
-
onDismiss:
|
|
845
|
+
}, 16)) : (o(), f("bs-banner", d({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
846
|
+
onDismiss: r[1] || (r[1] = (i) => n("dismiss", i.detail))
|
|
823
847
|
}), [
|
|
824
|
-
|
|
848
|
+
m(s.$slots, "default")
|
|
825
849
|
], 16));
|
|
826
850
|
}
|
|
827
|
-
},
|
|
851
|
+
}, Me = ["variant", "disabled", "ghost-btn", "href", "pass-attrs", "text-btn", "size"], je = {
|
|
828
852
|
__name: "BsButtonServer",
|
|
829
853
|
props: {
|
|
830
854
|
variant: {},
|
|
@@ -836,29 +860,38 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
836
860
|
size: {}
|
|
837
861
|
},
|
|
838
862
|
emits: [],
|
|
839
|
-
setup(e, { emit:
|
|
840
|
-
const a =
|
|
841
|
-
var
|
|
842
|
-
t.value ||
|
|
863
|
+
setup(e, { emit: n }) {
|
|
864
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), i = v(null), u = (l, h = 0) => {
|
|
865
|
+
var c, y;
|
|
866
|
+
t.value || h >= 4 || (t.value = (y = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : y.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
843
867
|
};
|
|
844
|
-
return
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
868
|
+
return S(() => {
|
|
869
|
+
var l;
|
|
870
|
+
if ((l = i.value) != null && l.getBoundingClientRect) {
|
|
871
|
+
const { height: h, width: c } = i.value.getBoundingClientRect();
|
|
872
|
+
i.value.style.minHeight = h + "px", i.value.style.maxWidth = c + "px";
|
|
873
|
+
}
|
|
874
|
+
u(i, 0);
|
|
875
|
+
}), I(t, (l) => {
|
|
876
|
+
!l || a.value || (t.value.replaceChildren(), r.push(setTimeout(() => {
|
|
877
|
+
A(() => {
|
|
878
|
+
s.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated", A(() => {
|
|
879
|
+
i.value.style.minHeight = null, i.value.style.maxWidth = null;
|
|
880
|
+
});
|
|
848
881
|
});
|
|
849
882
|
}, 100)), a.value = !0);
|
|
850
|
-
}, { immediate: !0 }),
|
|
851
|
-
t.value ? (
|
|
852
|
-
default:
|
|
853
|
-
(
|
|
854
|
-
|
|
883
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (o(), f(L, null, [
|
|
884
|
+
t.value ? (o(), g(b(B), { key: 0 }, {
|
|
885
|
+
default: k(() => [
|
|
886
|
+
(o(), g(V, { to: t.value }, [
|
|
887
|
+
m(l.$slots, "default")
|
|
855
888
|
], 8, ["to"]))
|
|
856
889
|
]),
|
|
857
890
|
_: 3
|
|
858
|
-
})) :
|
|
859
|
-
|
|
891
|
+
})) : R("", !0),
|
|
892
|
+
x("bs-button", d({
|
|
860
893
|
ref_key: "wcRef",
|
|
861
|
-
ref:
|
|
894
|
+
ref: i,
|
|
862
895
|
class: s.value,
|
|
863
896
|
"data-bsds-ssr": "",
|
|
864
897
|
variant: e.variant,
|
|
@@ -869,16 +902,16 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
869
902
|
"text-btn": e.textBtn,
|
|
870
903
|
size: e.size
|
|
871
904
|
}, l.$attrs), [
|
|
872
|
-
|
|
873
|
-
fallback:
|
|
874
|
-
|
|
905
|
+
z(b(B), null, {
|
|
906
|
+
fallback: k(() => [
|
|
907
|
+
m(l.$slots, "default")
|
|
875
908
|
]),
|
|
876
909
|
_: 3
|
|
877
910
|
})
|
|
878
|
-
], 16,
|
|
911
|
+
], 16, Me)
|
|
879
912
|
], 64));
|
|
880
913
|
}
|
|
881
|
-
},
|
|
914
|
+
}, Ne = "bs-button", Vt = {
|
|
882
915
|
__name: "BsButton",
|
|
883
916
|
props: {
|
|
884
917
|
variant: {},
|
|
@@ -887,24 +920,27 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
887
920
|
href: {},
|
|
888
921
|
passAttrs: { default: "" },
|
|
889
922
|
textBtn: {},
|
|
890
|
-
size: {}
|
|
923
|
+
size: {},
|
|
924
|
+
router: {}
|
|
891
925
|
},
|
|
892
926
|
emits: [],
|
|
893
|
-
setup(e, { emit:
|
|
894
|
-
const a = e, {
|
|
927
|
+
setup(e, { emit: n }) {
|
|
928
|
+
const a = e, { onLinkClick: t } = W(a), { data: s } = P(Ne, () => {
|
|
895
929
|
if (process.server)
|
|
896
930
|
return !0;
|
|
897
931
|
});
|
|
898
|
-
return (
|
|
899
|
-
default:
|
|
900
|
-
|
|
932
|
+
return (r, i) => b(s) ? (o(), g(je, d({ key: 0 }, { ...a, ...r.$attrs, router: void 0 }, { onClick: b(t) }), {
|
|
933
|
+
default: k(() => [
|
|
934
|
+
m(r.$slots, "default")
|
|
901
935
|
]),
|
|
902
936
|
_: 3
|
|
903
|
-
}, 16)) : (
|
|
904
|
-
|
|
937
|
+
}, 16, ["onClick"])) : (o(), f("bs-button", d({ key: 1 }, { ...a, ...r.$attrs, router: void 0 }, {
|
|
938
|
+
onClick: i[0] || (i[0] = (...u) => b(t) && b(t)(...u))
|
|
939
|
+
}), [
|
|
940
|
+
m(r.$slots, "default")
|
|
905
941
|
], 16));
|
|
906
942
|
}
|
|
907
|
-
},
|
|
943
|
+
}, Fe = ["disabled", "for", "hide", "pass-attrs", "required"], He = {
|
|
908
944
|
__name: "BsLabelServer",
|
|
909
945
|
props: {
|
|
910
946
|
disabled: {},
|
|
@@ -914,29 +950,29 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
914
950
|
required: {}
|
|
915
951
|
},
|
|
916
952
|
emits: [],
|
|
917
|
-
setup(e, { emit:
|
|
918
|
-
const a =
|
|
919
|
-
var
|
|
920
|
-
t.value ||
|
|
953
|
+
setup(e, { emit: n }) {
|
|
954
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), i = v(null), u = (l, h = 0) => {
|
|
955
|
+
var c, y;
|
|
956
|
+
t.value || h >= 4 || (t.value = (y = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : y.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
921
957
|
};
|
|
922
|
-
return
|
|
923
|
-
!l || a.value || (
|
|
924
|
-
O(t),
|
|
958
|
+
return S(() => u(i, 0)), I(t, (l) => {
|
|
959
|
+
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
960
|
+
O(t), A(() => {
|
|
925
961
|
s.value = customElements.get("bs-label") ? "hydrated superhydrated" : "superhydrated";
|
|
926
962
|
});
|
|
927
963
|
}, 100)), a.value = !0);
|
|
928
|
-
}, { immediate: !0 }),
|
|
929
|
-
t.value ? (
|
|
930
|
-
default:
|
|
931
|
-
(
|
|
932
|
-
|
|
964
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (o(), f(L, null, [
|
|
965
|
+
t.value ? (o(), g(b(B), { key: 0 }, {
|
|
966
|
+
default: k(() => [
|
|
967
|
+
(o(), g(V, { to: t.value }, [
|
|
968
|
+
m(l.$slots, "default")
|
|
933
969
|
], 8, ["to"]))
|
|
934
970
|
]),
|
|
935
971
|
_: 3
|
|
936
|
-
})) :
|
|
937
|
-
|
|
972
|
+
})) : R("", !0),
|
|
973
|
+
x("bs-label", d({
|
|
938
974
|
ref_key: "wcRef",
|
|
939
|
-
ref:
|
|
975
|
+
ref: i,
|
|
940
976
|
class: s.value,
|
|
941
977
|
"data-bsds-ssr": "",
|
|
942
978
|
disabled: e.disabled,
|
|
@@ -945,16 +981,16 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
945
981
|
"pass-attrs": e.passAttrs,
|
|
946
982
|
required: e.required
|
|
947
983
|
}, l.$attrs), [
|
|
948
|
-
|
|
949
|
-
fallback:
|
|
950
|
-
|
|
984
|
+
z(b(B), null, {
|
|
985
|
+
fallback: k(() => [
|
|
986
|
+
m(l.$slots, "default")
|
|
951
987
|
]),
|
|
952
988
|
_: 3
|
|
953
989
|
})
|
|
954
|
-
], 16,
|
|
990
|
+
], 16, Fe)
|
|
955
991
|
], 64));
|
|
956
992
|
}
|
|
957
|
-
},
|
|
993
|
+
}, Ge = "bs-label", Rt = {
|
|
958
994
|
__name: "BsLabel",
|
|
959
995
|
props: {
|
|
960
996
|
disabled: {},
|
|
@@ -964,21 +1000,21 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
964
1000
|
required: {}
|
|
965
1001
|
},
|
|
966
1002
|
emits: [],
|
|
967
|
-
setup(e, { emit:
|
|
968
|
-
const a = e, { data: t } =
|
|
1003
|
+
setup(e, { emit: n }) {
|
|
1004
|
+
const a = e, { data: t } = P(Ge, () => {
|
|
969
1005
|
if (process.server)
|
|
970
1006
|
return !0;
|
|
971
1007
|
});
|
|
972
|
-
return (s,
|
|
973
|
-
default:
|
|
974
|
-
|
|
1008
|
+
return (s, r) => b(t) ? (o(), g(He, j(d({ key: 0 }, { ...a, ...s.$attrs })), {
|
|
1009
|
+
default: k(() => [
|
|
1010
|
+
m(s.$slots, "default")
|
|
975
1011
|
]),
|
|
976
1012
|
_: 3
|
|
977
|
-
}, 16)) : (
|
|
978
|
-
|
|
1013
|
+
}, 16)) : (o(), f("bs-label", j(d({ key: 1 }, { ...a, ...s.$attrs })), [
|
|
1014
|
+
m(s.$slots, "default")
|
|
979
1015
|
], 16));
|
|
980
1016
|
}
|
|
981
|
-
},
|
|
1017
|
+
}, Xe = ["variant", "status", "href", "active", "disabled", "pass-attrs"], Ye = {
|
|
982
1018
|
__name: "BsPillServer",
|
|
983
1019
|
props: {
|
|
984
1020
|
variant: {},
|
|
@@ -989,29 +1025,29 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
989
1025
|
passAttrs: { default: "" }
|
|
990
1026
|
},
|
|
991
1027
|
emits: [],
|
|
992
|
-
setup(e, { emit:
|
|
993
|
-
const a =
|
|
994
|
-
var
|
|
995
|
-
t.value ||
|
|
1028
|
+
setup(e, { emit: n }) {
|
|
1029
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), i = v(null), u = (l, h = 0) => {
|
|
1030
|
+
var c, y;
|
|
1031
|
+
t.value || h >= 4 || (t.value = (y = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : y.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
996
1032
|
};
|
|
997
|
-
return
|
|
998
|
-
!l || a.value || (
|
|
999
|
-
O(t),
|
|
1033
|
+
return S(() => u(i, 0)), I(t, (l) => {
|
|
1034
|
+
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
1035
|
+
O(t), A(() => {
|
|
1000
1036
|
s.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
|
|
1001
1037
|
});
|
|
1002
1038
|
}, 100)), a.value = !0);
|
|
1003
|
-
}, { immediate: !0 }),
|
|
1004
|
-
t.value ? (
|
|
1005
|
-
default:
|
|
1006
|
-
(
|
|
1007
|
-
|
|
1039
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (o(), f(L, null, [
|
|
1040
|
+
t.value ? (o(), g(b(B), { key: 0 }, {
|
|
1041
|
+
default: k(() => [
|
|
1042
|
+
(o(), g(V, { to: t.value }, [
|
|
1043
|
+
m(l.$slots, "default")
|
|
1008
1044
|
], 8, ["to"]))
|
|
1009
1045
|
]),
|
|
1010
1046
|
_: 3
|
|
1011
|
-
})) :
|
|
1012
|
-
|
|
1047
|
+
})) : R("", !0),
|
|
1048
|
+
x("bs-pill", d({
|
|
1013
1049
|
ref_key: "wcRef",
|
|
1014
|
-
ref:
|
|
1050
|
+
ref: i,
|
|
1015
1051
|
class: s.value,
|
|
1016
1052
|
"data-bsds-ssr": "",
|
|
1017
1053
|
variant: e.variant,
|
|
@@ -1021,16 +1057,16 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1021
1057
|
disabled: e.disabled,
|
|
1022
1058
|
"pass-attrs": e.passAttrs
|
|
1023
1059
|
}, l.$attrs), [
|
|
1024
|
-
|
|
1025
|
-
fallback:
|
|
1026
|
-
|
|
1060
|
+
z(b(B), null, {
|
|
1061
|
+
fallback: k(() => [
|
|
1062
|
+
m(l.$slots, "default")
|
|
1027
1063
|
]),
|
|
1028
1064
|
_: 3
|
|
1029
1065
|
})
|
|
1030
|
-
], 16,
|
|
1066
|
+
], 16, Xe)
|
|
1031
1067
|
], 64));
|
|
1032
1068
|
}
|
|
1033
|
-
},
|
|
1069
|
+
}, Ue = "bs-pill", xt = {
|
|
1034
1070
|
__name: "BsPill",
|
|
1035
1071
|
props: {
|
|
1036
1072
|
variant: {},
|
|
@@ -1038,24 +1074,27 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1038
1074
|
href: {},
|
|
1039
1075
|
active: {},
|
|
1040
1076
|
disabled: {},
|
|
1041
|
-
passAttrs: { default: "" }
|
|
1077
|
+
passAttrs: { default: "" },
|
|
1078
|
+
router: {}
|
|
1042
1079
|
},
|
|
1043
1080
|
emits: [],
|
|
1044
|
-
setup(e, { emit:
|
|
1045
|
-
const a = e, {
|
|
1081
|
+
setup(e, { emit: n }) {
|
|
1082
|
+
const a = e, { onLinkClick: t } = W(a), { data: s } = P(Ue, () => {
|
|
1046
1083
|
if (process.server)
|
|
1047
1084
|
return !0;
|
|
1048
1085
|
});
|
|
1049
|
-
return (
|
|
1050
|
-
default:
|
|
1051
|
-
|
|
1086
|
+
return (r, i) => b(s) ? (o(), g(Ye, d({ key: 0 }, { ...a, ...r.$attrs, router: void 0 }, { onClick: b(t) }), {
|
|
1087
|
+
default: k(() => [
|
|
1088
|
+
m(r.$slots, "default")
|
|
1052
1089
|
]),
|
|
1053
1090
|
_: 3
|
|
1054
|
-
}, 16)) : (
|
|
1055
|
-
|
|
1091
|
+
}, 16, ["onClick"])) : (o(), f("bs-pill", d({ key: 1 }, { ...a, ...r.$attrs, router: void 0 }, {
|
|
1092
|
+
onClick: i[0] || (i[0] = (...u) => b(t) && b(t)(...u))
|
|
1093
|
+
}), [
|
|
1094
|
+
m(r.$slots, "default")
|
|
1056
1095
|
], 16));
|
|
1057
1096
|
}
|
|
1058
|
-
},
|
|
1097
|
+
}, Ze = ["disabled", "required", "error", "hint-id", "value", "pass-attrs"], Ke = {
|
|
1059
1098
|
__name: "BsSelectServer",
|
|
1060
1099
|
props: {
|
|
1061
1100
|
disabled: { default: !1 },
|
|
@@ -1066,29 +1105,29 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1066
1105
|
passAttrs: { default: "" }
|
|
1067
1106
|
},
|
|
1068
1107
|
emits: [],
|
|
1069
|
-
setup(e, { emit:
|
|
1070
|
-
const a =
|
|
1071
|
-
var
|
|
1072
|
-
t.value ||
|
|
1108
|
+
setup(e, { emit: n }) {
|
|
1109
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), i = v(null), u = (l, h = 0) => {
|
|
1110
|
+
var c, y;
|
|
1111
|
+
t.value || h >= 4 || (t.value = (y = (c = l.value) == null ? void 0 : c.querySelector) == null ? void 0 : y.call(c, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
1073
1112
|
};
|
|
1074
|
-
return
|
|
1075
|
-
!l || a.value || (
|
|
1076
|
-
O(t),
|
|
1113
|
+
return S(() => u(i, 0)), I(t, (l) => {
|
|
1114
|
+
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
1115
|
+
O(t), A(() => {
|
|
1077
1116
|
s.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
|
|
1078
1117
|
});
|
|
1079
1118
|
}, 100)), a.value = !0);
|
|
1080
|
-
}, { immediate: !0 }),
|
|
1081
|
-
t.value ? (
|
|
1082
|
-
default:
|
|
1083
|
-
(
|
|
1084
|
-
|
|
1119
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (o(), f(L, null, [
|
|
1120
|
+
t.value ? (o(), g(b(B), { key: 0 }, {
|
|
1121
|
+
default: k(() => [
|
|
1122
|
+
(o(), g(V, { to: t.value }, [
|
|
1123
|
+
m(l.$slots, "default")
|
|
1085
1124
|
], 8, ["to"]))
|
|
1086
1125
|
]),
|
|
1087
1126
|
_: 3
|
|
1088
|
-
})) :
|
|
1089
|
-
|
|
1127
|
+
})) : R("", !0),
|
|
1128
|
+
x("bs-select", d({
|
|
1090
1129
|
ref_key: "wcRef",
|
|
1091
|
-
ref:
|
|
1130
|
+
ref: i,
|
|
1092
1131
|
class: s.value,
|
|
1093
1132
|
"data-bsds-ssr": "",
|
|
1094
1133
|
disabled: e.disabled,
|
|
@@ -1098,16 +1137,16 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1098
1137
|
value: e.value,
|
|
1099
1138
|
"pass-attrs": e.passAttrs
|
|
1100
1139
|
}, l.$attrs), [
|
|
1101
|
-
|
|
1102
|
-
fallback:
|
|
1103
|
-
|
|
1140
|
+
z(b(B), null, {
|
|
1141
|
+
fallback: k(() => [
|
|
1142
|
+
m(l.$slots, "default")
|
|
1104
1143
|
]),
|
|
1105
1144
|
_: 3
|
|
1106
1145
|
})
|
|
1107
|
-
], 16,
|
|
1146
|
+
], 16, Ze)
|
|
1108
1147
|
], 64));
|
|
1109
1148
|
}
|
|
1110
|
-
},
|
|
1149
|
+
}, Je = "bs-select", zt = {
|
|
1111
1150
|
__name: "BsSelect",
|
|
1112
1151
|
props: {
|
|
1113
1152
|
disabled: { default: !1 },
|
|
@@ -1118,59 +1157,59 @@ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1118
1157
|
passAttrs: { default: "" }
|
|
1119
1158
|
},
|
|
1120
1159
|
emits: [],
|
|
1121
|
-
setup(e, { emit:
|
|
1122
|
-
const a = e, { data: t } =
|
|
1160
|
+
setup(e, { emit: n }) {
|
|
1161
|
+
const a = e, { data: t } = P(Je, () => {
|
|
1123
1162
|
if (process.server)
|
|
1124
1163
|
return !0;
|
|
1125
1164
|
});
|
|
1126
|
-
return (s,
|
|
1127
|
-
default:
|
|
1128
|
-
|
|
1165
|
+
return (s, r) => b(t) ? (o(), g(Ke, j(d({ key: 0 }, { ...a, ...s.$attrs })), {
|
|
1166
|
+
default: k(() => [
|
|
1167
|
+
m(s.$slots, "default")
|
|
1129
1168
|
]),
|
|
1130
1169
|
_: 3
|
|
1131
|
-
}, 16)) : (
|
|
1132
|
-
|
|
1170
|
+
}, 16)) : (o(), f("bs-select", j(d({ key: 1 }, { ...a, ...s.$attrs })), [
|
|
1171
|
+
m(s.$slots, "default")
|
|
1133
1172
|
], 16));
|
|
1134
1173
|
}
|
|
1135
1174
|
};
|
|
1136
1175
|
export {
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1176
|
+
qt as BsAccordion,
|
|
1177
|
+
Ee as BsAccordionServer,
|
|
1178
|
+
lt as BsBadge,
|
|
1179
|
+
Lt as BsBanner,
|
|
1180
|
+
De as BsBannerServer,
|
|
1142
1181
|
Vt as BsButton,
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1182
|
+
je as BsButtonServer,
|
|
1183
|
+
rt as BsCharacterCount,
|
|
1184
|
+
nt as BsChartBar,
|
|
1185
|
+
it as BsChartTable,
|
|
1186
|
+
ot as BsCheckbox,
|
|
1187
|
+
dt as BsCircleButton,
|
|
1188
|
+
ut as BsDropdown,
|
|
1189
|
+
ct as BsDropdownOption,
|
|
1190
|
+
ft as BsDropdownOptions,
|
|
1191
|
+
ht as BsFieldLayout,
|
|
1192
|
+
mt as BsHint,
|
|
1193
|
+
bt as BsInput,
|
|
1194
|
+
at as BsInputAddon,
|
|
1195
|
+
vt as BsInputField,
|
|
1196
|
+
yt as BsInputSearch,
|
|
1197
|
+
Rt as BsLabel,
|
|
1198
|
+
He as BsLabelServer,
|
|
1199
|
+
xt as BsPill,
|
|
1200
|
+
Ye as BsPillServer,
|
|
1201
|
+
$t as BsProfile,
|
|
1202
|
+
gt as BsProfileDetails,
|
|
1203
|
+
kt as BsProfileImg,
|
|
1165
1204
|
Bt as BsProfileLayout,
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1205
|
+
wt as BsRadio,
|
|
1206
|
+
zt as BsSelect,
|
|
1207
|
+
pt as BsSelectField,
|
|
1208
|
+
Ke as BsSelectServer,
|
|
1209
|
+
At as BsSwitch,
|
|
1210
|
+
Tt as BsTextarea,
|
|
1211
|
+
Ct as BsTextareaField,
|
|
1212
|
+
St as BsToast,
|
|
1213
|
+
st as BsToaster,
|
|
1214
|
+
It as BsTooltip
|
|
1176
1215
|
};
|