@wwtdev/bsds-components-vue3 1.6.3 → 1.6.4
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 +146 -146
- package/nuxt/bsds-components.umd.js +1 -1
- package/package.json +2 -2
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as v, getCurrentInstance as se, inject as le, h as re, openBlock as
|
|
1
|
+
import { defineComponent as ae, ref as v, getCurrentInstance as se, inject as le, h as re, openBlock as i, createElementBlock as c, 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 k, withCtx as B, Teleport as V, createCommentVNode as R, createElementVNode as x, createVNode as z, normalizeProps as j } from "vue";
|
|
2
2
|
import { useAsyncData as P } from "#imports";
|
|
3
|
-
import { ClientOnly as
|
|
3
|
+
import { ClientOnly as g } from "#components";
|
|
4
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, r,
|
|
7
|
+
(s, r, o) => !n.has(s) && o.indexOf(s) === r
|
|
8
8
|
);
|
|
9
9
|
}, _ = (e, n, a = [], t, s, r) => {
|
|
10
10
|
n !== void 0 && n();
|
|
11
|
-
const
|
|
11
|
+
const o = ae((u, { attrs: l, slots: h, emit: f }) => {
|
|
12
12
|
var U;
|
|
13
13
|
let y = u[t];
|
|
14
14
|
const G = v(), X = new Set(Q(l.class)), ee = (p) => {
|
|
15
15
|
p.el && (Array.isArray(s) ? s : [s]).forEach((w) => {
|
|
16
16
|
p.el.addEventListener(w.toLowerCase(), ($) => {
|
|
17
|
-
y = ($ == null ? void 0 : $.target)[t],
|
|
17
|
+
y = ($ == null ? void 0 : $.target)[t], f(K, y), r && f(r, $);
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
20
|
}, N = se(), Y = ((U = N == null ? void 0 : N.appContext) == null ? void 0 : U.provides[J]) ? le(J) : void 0, te = (p) => {
|
|
@@ -56,11 +56,11 @@ const K = "update:modelValue", F = "modelValue", ne = "routerLink", J = "navMana
|
|
|
56
56
|
})), re(e, w, h.default && h.default());
|
|
57
57
|
};
|
|
58
58
|
});
|
|
59
|
-
return typeof
|
|
59
|
+
return typeof o != "function" && (o.name = e, o.props = {
|
|
60
60
|
[ne]: H
|
|
61
61
|
}, a.forEach((u) => {
|
|
62
|
-
|
|
63
|
-
}), t && (
|
|
62
|
+
o.props[u] = H;
|
|
63
|
+
}), t && (o.props[F] = H, o.emits = [K, r])), o;
|
|
64
64
|
}, at = /* @__PURE__ */ _("bs-input-addon", void 0, [
|
|
65
65
|
"disabled",
|
|
66
66
|
"error",
|
|
@@ -79,7 +79,7 @@ const K = "update:modelValue", F = "modelValue", ne = "routerLink", J = "navMana
|
|
|
79
79
|
},
|
|
80
80
|
emits: [],
|
|
81
81
|
setup(e, { emit: n }) {
|
|
82
|
-
return (a, t) => (
|
|
82
|
+
return (a, t) => (i(), c("bs-badge", d(a.$attrs, {
|
|
83
83
|
color: e.color,
|
|
84
84
|
count: e.count,
|
|
85
85
|
"count-max": e.countMax,
|
|
@@ -99,7 +99,7 @@ const K = "update:modelValue", F = "modelValue", ne = "routerLink", J = "navMana
|
|
|
99
99
|
},
|
|
100
100
|
emits: [],
|
|
101
101
|
setup(e, { emit: n }) {
|
|
102
|
-
return (a, t) => (
|
|
102
|
+
return (a, t) => (i(), c("bs-character-count", d(a.$attrs, {
|
|
103
103
|
"char-count": e.charCount,
|
|
104
104
|
"char-max": e.charMax
|
|
105
105
|
}), null, 16, ce));
|
|
@@ -120,7 +120,7 @@ const K = "update:modelValue", F = "modelValue", ne = "routerLink", J = "navMana
|
|
|
120
120
|
},
|
|
121
121
|
emits: [],
|
|
122
122
|
setup(e, { emit: n }) {
|
|
123
|
-
return (a, t) => (
|
|
123
|
+
return (a, t) => (i(), c("bs-chart-bar", d(a.$attrs, {
|
|
124
124
|
"chart-title": e.chartTitle,
|
|
125
125
|
data: e.data,
|
|
126
126
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -142,7 +142,7 @@ const K = "update:modelValue", F = "modelValue", ne = "routerLink", J = "navMana
|
|
|
142
142
|
},
|
|
143
143
|
emits: [],
|
|
144
144
|
setup(e, { emit: n }) {
|
|
145
|
-
return (a, t) => (
|
|
145
|
+
return (a, t) => (i(), c("bs-chart-table", d(a.$attrs, {
|
|
146
146
|
data: e.data,
|
|
147
147
|
dataIdxLabels: e.dataIdxLabels,
|
|
148
148
|
"table-title": e.tableTitle
|
|
@@ -163,7 +163,7 @@ const K = "update:modelValue", F = "modelValue", ne = "routerLink", J = "navMana
|
|
|
163
163
|
},
|
|
164
164
|
emits: ["update:modelValue"],
|
|
165
165
|
setup(e, { emit: n }) {
|
|
166
|
-
return (a, t) => (
|
|
166
|
+
return (a, t) => (i(), c("bs-checkbox", d(a.$attrs, {
|
|
167
167
|
label: e.label,
|
|
168
168
|
checked: e.checked || e.modelValue,
|
|
169
169
|
"checked-partially": e.checkedPartially,
|
|
@@ -185,8 +185,8 @@ function W(e) {
|
|
|
185
185
|
return n.value && ((s = e.router) == null ? void 0 : s.navigateTo) || ((r = e.router) == null ? void 0 : r.push) || null;
|
|
186
186
|
});
|
|
187
187
|
function t(s) {
|
|
188
|
-
var r,
|
|
189
|
-
a.value && ((
|
|
188
|
+
var r, o, u, l, h;
|
|
189
|
+
a.value && ((o = (r = s.target.href) == null ? void 0 : r.endsWith) != null && o.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));
|
|
190
190
|
}
|
|
191
191
|
return { onLinkClick: t };
|
|
192
192
|
}
|
|
@@ -208,7 +208,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
208
208
|
emits: [],
|
|
209
209
|
setup(e, { emit: n }) {
|
|
210
210
|
const a = e, { onLinkClick: t } = W(a);
|
|
211
|
-
return (s, r) => (
|
|
211
|
+
return (s, r) => (i(), c("bs-circle-button", d(s.$attrs, {
|
|
212
212
|
disabled: e.disabled,
|
|
213
213
|
"ghost-btn": e.ghostBtn,
|
|
214
214
|
"hover-effect": e.hoverEffect,
|
|
@@ -219,7 +219,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
219
219
|
"pass-attrs": e.passAttrs,
|
|
220
220
|
"text-btn": e.textBtn,
|
|
221
221
|
size: e.size,
|
|
222
|
-
onClick: r[0] || (r[0] = (...
|
|
222
|
+
onClick: r[0] || (r[0] = (...o) => b(t) && b(t)(...o))
|
|
223
223
|
}), null, 16, be));
|
|
224
224
|
}
|
|
225
225
|
}, ve = ["dropdown-id", "shown", "label", "position", "justify", "variant"], ut = {
|
|
@@ -234,7 +234,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
234
234
|
},
|
|
235
235
|
emits: ["dropdownchange", "close"],
|
|
236
236
|
setup(e, { emit: n }) {
|
|
237
|
-
return (a, t) => (
|
|
237
|
+
return (a, t) => (i(), c("bs-dropdown", d(a.$attrs, {
|
|
238
238
|
"dropdown-id": e.dropdownId,
|
|
239
239
|
shown: e.shown,
|
|
240
240
|
label: e.label,
|
|
@@ -260,7 +260,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
260
260
|
},
|
|
261
261
|
emits: ["mousefocus", "optionselect"],
|
|
262
262
|
setup(e, { emit: n }) {
|
|
263
|
-
return (a, t) => (
|
|
263
|
+
return (a, t) => (i(), c("bs-dropdown-option", d(a.$attrs, {
|
|
264
264
|
value: e.value,
|
|
265
265
|
variant: e.variant,
|
|
266
266
|
selected: e.selected,
|
|
@@ -285,7 +285,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
285
285
|
},
|
|
286
286
|
emits: ["dropdownchange", "close"],
|
|
287
287
|
setup(e, { emit: n }) {
|
|
288
|
-
return (a, t) => (
|
|
288
|
+
return (a, t) => (i(), c("bs-dropdown-options", d(a.$attrs, {
|
|
289
289
|
"dropdown-id": e.dropdownId,
|
|
290
290
|
shown: e.shown,
|
|
291
291
|
label: e.label,
|
|
@@ -297,7 +297,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
297
297
|
m(a.$slots, "default")
|
|
298
298
|
], 16, $e));
|
|
299
299
|
}
|
|
300
|
-
},
|
|
300
|
+
}, ke = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], ht = {
|
|
301
301
|
__name: "BsFieldLayout",
|
|
302
302
|
props: {
|
|
303
303
|
charCount: {},
|
|
@@ -312,7 +312,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
312
312
|
},
|
|
313
313
|
emits: [],
|
|
314
314
|
setup(e, { emit: n }) {
|
|
315
|
-
return (a, t) => (
|
|
315
|
+
return (a, t) => (i(), c("bs-field-layout", d(a.$attrs, {
|
|
316
316
|
"char-count": e.charCount,
|
|
317
317
|
"char-max": e.charMax,
|
|
318
318
|
disabled: e.disabled,
|
|
@@ -324,9 +324,9 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
324
324
|
"hint-id": e.hintId
|
|
325
325
|
}), [
|
|
326
326
|
m(a.$slots, "default")
|
|
327
|
-
], 16,
|
|
327
|
+
], 16, ke));
|
|
328
328
|
}
|
|
329
|
-
},
|
|
329
|
+
}, Be = ["error", "hint-id", "hints"], mt = {
|
|
330
330
|
__name: "BsHint",
|
|
331
331
|
props: {
|
|
332
332
|
error: {},
|
|
@@ -335,13 +335,13 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
335
335
|
},
|
|
336
336
|
emits: [],
|
|
337
337
|
setup(e, { emit: n }) {
|
|
338
|
-
return (a, t) => (
|
|
338
|
+
return (a, t) => (i(), c("bs-hint", d(a.$attrs, {
|
|
339
339
|
error: e.error,
|
|
340
340
|
"hint-id": e.hintId,
|
|
341
341
|
hints: e.hints
|
|
342
|
-
}), null, 16,
|
|
342
|
+
}), null, 16, Be));
|
|
343
343
|
}
|
|
344
|
-
},
|
|
344
|
+
}, ge = ["disabled", "error", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], bt = {
|
|
345
345
|
__name: "BsInput",
|
|
346
346
|
props: {
|
|
347
347
|
disabled: { default: !1 },
|
|
@@ -356,7 +356,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
356
356
|
},
|
|
357
357
|
emits: ["update:modelValue"],
|
|
358
358
|
setup(e, { emit: n }) {
|
|
359
|
-
return (a, t) => (
|
|
359
|
+
return (a, t) => (i(), c("bs-input", d(a.$attrs, {
|
|
360
360
|
disabled: e.disabled,
|
|
361
361
|
error: e.error,
|
|
362
362
|
"pass-attrs": e.passAttrs,
|
|
@@ -366,7 +366,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
366
366
|
value: e.value || e.modelValue,
|
|
367
367
|
"hint-id": e.hintId,
|
|
368
368
|
onInput: t[0] || (t[0] = (s) => n("update:modelValue", s.target.value))
|
|
369
|
-
}), null, 16,
|
|
369
|
+
}), null, 16, ge));
|
|
370
370
|
}
|
|
371
371
|
}, we = ["disabled", "error", "hints", "label", "pass-attrs", "placeholder", "required", "type", "value"], vt = {
|
|
372
372
|
__name: "BsInputField",
|
|
@@ -384,7 +384,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
384
384
|
},
|
|
385
385
|
emits: ["update:modelValue"],
|
|
386
386
|
setup(e, { emit: n }) {
|
|
387
|
-
return (a, t) => (
|
|
387
|
+
return (a, t) => (i(), c("bs-input-field", d(a.$attrs, {
|
|
388
388
|
disabled: e.disabled,
|
|
389
389
|
error: e.error,
|
|
390
390
|
hints: e.hints,
|
|
@@ -409,7 +409,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
409
409
|
},
|
|
410
410
|
emits: ["onclear"],
|
|
411
411
|
setup(e, { emit: n }) {
|
|
412
|
-
return (a, t) => (
|
|
412
|
+
return (a, t) => (i(), c("bs-input-search", d(a.$attrs, {
|
|
413
413
|
disabled: e.disabled,
|
|
414
414
|
"pass-attrs": e.passAttrs,
|
|
415
415
|
placeholder: e.placeholder,
|
|
@@ -436,7 +436,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
436
436
|
emits: [],
|
|
437
437
|
setup(e, { emit: n }) {
|
|
438
438
|
const a = e, { onLinkClick: t } = W(a);
|
|
439
|
-
return (s, r) => (
|
|
439
|
+
return (s, r) => (i(), c("bs-profile", d(s.$attrs, {
|
|
440
440
|
layout: e.layout,
|
|
441
441
|
href: e.href,
|
|
442
442
|
"image-src": e.imageSrc,
|
|
@@ -446,10 +446,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
446
446
|
company: e.company,
|
|
447
447
|
"job-title": e.jobTitle,
|
|
448
448
|
email: e.email,
|
|
449
|
-
onClick: r[0] || (r[0] = (...
|
|
449
|
+
onClick: r[0] || (r[0] = (...o) => b(t) && b(t)(...o))
|
|
450
450
|
}), null, 16, Ae));
|
|
451
451
|
}
|
|
452
|
-
}, Te = ["profile-name", "company", "job-title", "email"],
|
|
452
|
+
}, Te = ["profile-name", "company", "job-title", "email"], kt = {
|
|
453
453
|
__name: "BsProfileDetails",
|
|
454
454
|
props: {
|
|
455
455
|
profileName: {},
|
|
@@ -459,14 +459,14 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
459
459
|
},
|
|
460
460
|
emits: [],
|
|
461
461
|
setup(e, { emit: n }) {
|
|
462
|
-
return (a, t) => (
|
|
462
|
+
return (a, t) => (i(), c("bs-profile-details", d(a.$attrs, {
|
|
463
463
|
"profile-name": e.profileName,
|
|
464
464
|
company: e.company,
|
|
465
465
|
"job-title": e.jobTitle,
|
|
466
466
|
email: e.email
|
|
467
467
|
}), null, 16, Te));
|
|
468
468
|
}
|
|
469
|
-
}, Ce = ["src", "size", "initials", "profile-name"],
|
|
469
|
+
}, Ce = ["src", "size", "initials", "profile-name"], Bt = {
|
|
470
470
|
__name: "BsProfileImg",
|
|
471
471
|
props: {
|
|
472
472
|
src: {},
|
|
@@ -476,14 +476,14 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
476
476
|
},
|
|
477
477
|
emits: [],
|
|
478
478
|
setup(e, { emit: n }) {
|
|
479
|
-
return (a, t) => (
|
|
479
|
+
return (a, t) => (i(), c("bs-profile-img", d(a.$attrs, {
|
|
480
480
|
src: e.src,
|
|
481
481
|
size: e.size,
|
|
482
482
|
initials: e.initials,
|
|
483
483
|
"profile-name": e.profileName
|
|
484
484
|
}), null, 16, Ce));
|
|
485
485
|
}
|
|
486
|
-
}, Se = ["layout", "href", "pass-attrs"],
|
|
486
|
+
}, Se = ["layout", "href", "pass-attrs"], gt = {
|
|
487
487
|
__name: "BsProfileLayout",
|
|
488
488
|
props: {
|
|
489
489
|
layout: { default: "vertical" },
|
|
@@ -494,11 +494,11 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
494
494
|
emits: [],
|
|
495
495
|
setup(e, { emit: n }) {
|
|
496
496
|
const a = e, { onLinkClick: t } = W(a);
|
|
497
|
-
return (s, r) => (
|
|
497
|
+
return (s, r) => (i(), c("bs-profile-layout", d(s.$attrs, {
|
|
498
498
|
layout: e.layout,
|
|
499
499
|
href: e.href,
|
|
500
500
|
"pass-attrs": e.passAttrs,
|
|
501
|
-
onClick: r[0] || (r[0] = (...
|
|
501
|
+
onClick: r[0] || (r[0] = (...o) => b(t) && b(t)(...o))
|
|
502
502
|
}), [
|
|
503
503
|
m(s.$slots, "default")
|
|
504
504
|
], 16, Se));
|
|
@@ -518,7 +518,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
518
518
|
},
|
|
519
519
|
emits: ["update:modelValue"],
|
|
520
520
|
setup(e, { emit: n }) {
|
|
521
|
-
return (a, t) => (
|
|
521
|
+
return (a, t) => (i(), c("bs-radio", d(a.$attrs, {
|
|
522
522
|
label: e.label,
|
|
523
523
|
checked: e.checked || e.modelValue === e.value,
|
|
524
524
|
disabled: e.disabled,
|
|
@@ -546,7 +546,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
546
546
|
},
|
|
547
547
|
emits: ["update:modelValue"],
|
|
548
548
|
setup(e, { emit: n }) {
|
|
549
|
-
return (a, t) => (
|
|
549
|
+
return (a, t) => (i(), c("bs-select-field", d(a.$attrs, {
|
|
550
550
|
disabled: e.disabled,
|
|
551
551
|
error: e.error,
|
|
552
552
|
required: e.required,
|
|
@@ -573,7 +573,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
573
573
|
},
|
|
574
574
|
emits: ["update:modelValue"],
|
|
575
575
|
setup(e, { emit: n }) {
|
|
576
|
-
return (a, t) => (
|
|
576
|
+
return (a, t) => (i(), c("bs-switch", d(a.$attrs, {
|
|
577
577
|
checked: e.checked || e.modelValue,
|
|
578
578
|
disabled: e.disabled,
|
|
579
579
|
"inner-on-label": e.innerOnLabel,
|
|
@@ -598,7 +598,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
598
598
|
},
|
|
599
599
|
emits: ["update:modelValue"],
|
|
600
600
|
setup(e, { emit: n }) {
|
|
601
|
-
return (a, t) => (
|
|
601
|
+
return (a, t) => (i(), c("bs-textarea", d(a.$attrs, {
|
|
602
602
|
disabled: e.disabled,
|
|
603
603
|
error: e.error,
|
|
604
604
|
"pass-attrs": e.passAttrs,
|
|
@@ -625,7 +625,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
625
625
|
},
|
|
626
626
|
emits: ["update:modelValue"],
|
|
627
627
|
setup(e, { emit: n }) {
|
|
628
|
-
return (a, t) => (
|
|
628
|
+
return (a, t) => (i(), c("bs-textarea-field", d(a.$attrs, {
|
|
629
629
|
"char-max": e.charMax,
|
|
630
630
|
disabled: e.disabled,
|
|
631
631
|
error: e.error,
|
|
@@ -658,7 +658,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
658
658
|
},
|
|
659
659
|
emits: ["dismiss", "actionclick"],
|
|
660
660
|
setup(e, { emit: n }) {
|
|
661
|
-
return (a, t) => (
|
|
661
|
+
return (a, t) => (i(), c("bs-toast", d(a.$attrs, {
|
|
662
662
|
"toast-id": e.toastId,
|
|
663
663
|
shown: e.shown,
|
|
664
664
|
variant: e.variant,
|
|
@@ -688,7 +688,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
688
688
|
},
|
|
689
689
|
emits: [],
|
|
690
690
|
setup(e, { emit: n }) {
|
|
691
|
-
return (a, t) => (
|
|
691
|
+
return (a, t) => (i(), c("bs-tooltip", d(a.$attrs, {
|
|
692
692
|
"tooltip-id": e.tooltipId,
|
|
693
693
|
content: e.content,
|
|
694
694
|
position: e.position
|
|
@@ -716,20 +716,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
716
716
|
},
|
|
717
717
|
emits: ["toggled"],
|
|
718
718
|
setup(e, { emit: n }) {
|
|
719
|
-
const a = v(!1), t = v(null), s = v(""), r = C([]),
|
|
720
|
-
var
|
|
721
|
-
t.value || h >= 4 || (t.value = (y = (
|
|
719
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), o = v(null), u = (l, h = 0) => {
|
|
720
|
+
var f, y;
|
|
721
|
+
t.value || h >= 4 || (t.value = (y = (f = l.value) == null ? void 0 : f.querySelector) == null ? void 0 : y.call(f, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
722
722
|
};
|
|
723
|
-
return S(() => u(
|
|
723
|
+
return S(() => u(o, 0)), I(t, (l) => {
|
|
724
724
|
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
725
725
|
O(t), A(() => {
|
|
726
726
|
s.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
|
|
727
727
|
});
|
|
728
728
|
}, 100)), a.value = !0);
|
|
729
|
-
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (
|
|
730
|
-
t.value ? (
|
|
731
|
-
default:
|
|
732
|
-
(
|
|
729
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (i(), c(L, null, [
|
|
730
|
+
t.value ? (i(), k(b(g), { key: 0 }, {
|
|
731
|
+
default: B(() => [
|
|
732
|
+
(i(), k(V, { to: t.value }, [
|
|
733
733
|
m(l.$slots, "default")
|
|
734
734
|
], 8, ["to"]))
|
|
735
735
|
]),
|
|
@@ -737,7 +737,7 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
737
737
|
})) : R("", !0),
|
|
738
738
|
x("bs-accordion", d({
|
|
739
739
|
ref_key: "wcRef",
|
|
740
|
-
ref:
|
|
740
|
+
ref: o,
|
|
741
741
|
class: s.value,
|
|
742
742
|
"data-bsds-ssr": "",
|
|
743
743
|
controlled: e.controlled,
|
|
@@ -746,10 +746,10 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
746
746
|
"heading-level": e.headingLevel,
|
|
747
747
|
"open-item": e.openItem,
|
|
748
748
|
stacked: e.stacked,
|
|
749
|
-
onToggled: h[0] || (h[0] = (
|
|
749
|
+
onToggled: h[0] || (h[0] = (f) => n("toggled", f.detail))
|
|
750
750
|
}, l.$attrs), [
|
|
751
|
-
z(b(
|
|
752
|
-
fallback:
|
|
751
|
+
z(b(g), null, {
|
|
752
|
+
fallback: B(() => [
|
|
753
753
|
m(l.$slots, "default")
|
|
754
754
|
]),
|
|
755
755
|
_: 3
|
|
@@ -773,15 +773,15 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
773
773
|
if (process.server)
|
|
774
774
|
return !0;
|
|
775
775
|
});
|
|
776
|
-
return (s, r) => b(t) ? (
|
|
777
|
-
onToggled: r[0] || (r[0] = (
|
|
776
|
+
return (s, r) => b(t) ? (i(), k(Ee, d({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
777
|
+
onToggled: r[0] || (r[0] = (o) => n("toggled", o.detail))
|
|
778
778
|
}), {
|
|
779
|
-
default:
|
|
779
|
+
default: B(() => [
|
|
780
780
|
m(s.$slots, "default")
|
|
781
781
|
]),
|
|
782
782
|
_: 3
|
|
783
|
-
}, 16)) : (
|
|
784
|
-
onToggled: r[1] || (r[1] = (
|
|
783
|
+
}, 16)) : (i(), c("bs-accordion", d({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
784
|
+
onToggled: r[1] || (r[1] = (o) => n("toggled", o.detail))
|
|
785
785
|
}), [
|
|
786
786
|
m(s.$slots, "default")
|
|
787
787
|
], 16));
|
|
@@ -791,20 +791,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
791
791
|
props: {},
|
|
792
792
|
emits: ["dismiss"],
|
|
793
793
|
setup(e, { emit: n }) {
|
|
794
|
-
const a = v(!1), t = v(null), s = v(""), r = C([]),
|
|
795
|
-
var
|
|
796
|
-
t.value || h >= 4 || (t.value = (y = (
|
|
794
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), o = v(null), u = (l, h = 0) => {
|
|
795
|
+
var f, y;
|
|
796
|
+
t.value || h >= 4 || (t.value = (y = (f = l.value) == null ? void 0 : f.querySelector) == null ? void 0 : y.call(f, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
797
797
|
};
|
|
798
|
-
return S(() => u(
|
|
798
|
+
return S(() => u(o, 0)), I(t, (l) => {
|
|
799
799
|
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
800
800
|
O(t), A(() => {
|
|
801
801
|
s.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
|
|
802
802
|
});
|
|
803
803
|
}, 100)), a.value = !0);
|
|
804
|
-
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (
|
|
805
|
-
t.value ? (
|
|
806
|
-
default:
|
|
807
|
-
(
|
|
804
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (i(), c(L, null, [
|
|
805
|
+
t.value ? (i(), k(b(g), { key: 0 }, {
|
|
806
|
+
default: B(() => [
|
|
807
|
+
(i(), k(V, { to: t.value }, [
|
|
808
808
|
m(l.$slots, "default")
|
|
809
809
|
], 8, ["to"]))
|
|
810
810
|
]),
|
|
@@ -812,13 +812,13 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
812
812
|
})) : R("", !0),
|
|
813
813
|
x("bs-banner", d({
|
|
814
814
|
ref_key: "wcRef",
|
|
815
|
-
ref:
|
|
815
|
+
ref: o,
|
|
816
816
|
class: s.value,
|
|
817
817
|
"data-bsds-ssr": "",
|
|
818
|
-
onDismiss: h[0] || (h[0] = (
|
|
818
|
+
onDismiss: h[0] || (h[0] = (f) => n("dismiss", f.detail))
|
|
819
819
|
}, l.$attrs), [
|
|
820
|
-
z(b(
|
|
821
|
-
fallback:
|
|
820
|
+
z(b(g), null, {
|
|
821
|
+
fallback: B(() => [
|
|
822
822
|
m(l.$slots, "default")
|
|
823
823
|
]),
|
|
824
824
|
_: 3
|
|
@@ -835,15 +835,15 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
835
835
|
if (process.server)
|
|
836
836
|
return !0;
|
|
837
837
|
});
|
|
838
|
-
return (s, r) => b(t) ? (
|
|
839
|
-
onDismiss: r[0] || (r[0] = (
|
|
838
|
+
return (s, r) => b(t) ? (i(), k(De, d({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
839
|
+
onDismiss: r[0] || (r[0] = (o) => n("dismiss", o.detail))
|
|
840
840
|
}), {
|
|
841
|
-
default:
|
|
841
|
+
default: B(() => [
|
|
842
842
|
m(s.$slots, "default")
|
|
843
843
|
]),
|
|
844
844
|
_: 3
|
|
845
|
-
}, 16)) : (
|
|
846
|
-
onDismiss: r[1] || (r[1] = (
|
|
845
|
+
}, 16)) : (i(), c("bs-banner", d({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
846
|
+
onDismiss: r[1] || (r[1] = (o) => n("dismiss", o.detail))
|
|
847
847
|
}), [
|
|
848
848
|
m(s.$slots, "default")
|
|
849
849
|
], 16));
|
|
@@ -861,29 +861,29 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
861
861
|
},
|
|
862
862
|
emits: [],
|
|
863
863
|
setup(e, { emit: n }) {
|
|
864
|
-
const a = v(!1), t = v(null), s = v(""), r = C([]),
|
|
865
|
-
var
|
|
866
|
-
t.value || h >= 4 || (t.value = (y = (
|
|
864
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), o = v(null), u = (l, h = 0) => {
|
|
865
|
+
var f, y;
|
|
866
|
+
t.value || h >= 4 || (t.value = (y = (f = l.value) == null ? void 0 : f.querySelector) == null ? void 0 : y.call(f, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
867
867
|
};
|
|
868
868
|
return S(() => {
|
|
869
869
|
var l;
|
|
870
|
-
if ((l =
|
|
871
|
-
const {
|
|
872
|
-
|
|
870
|
+
if ((l = o.value) != null && l.getBoundingClientRect) {
|
|
871
|
+
const { width: h } = o.value.getBoundingClientRect();
|
|
872
|
+
o.value.style.maxWidth = h + "px";
|
|
873
873
|
}
|
|
874
|
-
u(
|
|
874
|
+
u(o, 0);
|
|
875
875
|
}), I(t, (l) => {
|
|
876
876
|
!l || a.value || (t.value.replaceChildren(), r.push(setTimeout(() => {
|
|
877
877
|
A(() => {
|
|
878
878
|
s.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated", A(() => {
|
|
879
|
-
|
|
879
|
+
o.value.style.maxWidth = null;
|
|
880
880
|
});
|
|
881
881
|
});
|
|
882
882
|
}, 100)), a.value = !0);
|
|
883
|
-
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (
|
|
884
|
-
t.value ? (
|
|
885
|
-
default:
|
|
886
|
-
(
|
|
883
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (i(), c(L, null, [
|
|
884
|
+
t.value ? (i(), k(b(g), { key: 0 }, {
|
|
885
|
+
default: B(() => [
|
|
886
|
+
(i(), k(V, { to: t.value }, [
|
|
887
887
|
m(l.$slots, "default")
|
|
888
888
|
], 8, ["to"]))
|
|
889
889
|
]),
|
|
@@ -891,7 +891,7 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
891
891
|
})) : R("", !0),
|
|
892
892
|
x("bs-button", d({
|
|
893
893
|
ref_key: "wcRef",
|
|
894
|
-
ref:
|
|
894
|
+
ref: o,
|
|
895
895
|
class: s.value,
|
|
896
896
|
"data-bsds-ssr": "",
|
|
897
897
|
variant: e.variant,
|
|
@@ -902,8 +902,8 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
902
902
|
"text-btn": e.textBtn,
|
|
903
903
|
size: e.size
|
|
904
904
|
}, l.$attrs), [
|
|
905
|
-
z(b(
|
|
906
|
-
fallback:
|
|
905
|
+
z(b(g), null, {
|
|
906
|
+
fallback: B(() => [
|
|
907
907
|
m(l.$slots, "default")
|
|
908
908
|
]),
|
|
909
909
|
_: 3
|
|
@@ -929,13 +929,13 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
929
929
|
if (process.server)
|
|
930
930
|
return !0;
|
|
931
931
|
});
|
|
932
|
-
return (r,
|
|
933
|
-
default:
|
|
932
|
+
return (r, o) => b(s) ? (i(), k(je, d({ key: 0 }, { ...a, ...r.$attrs, router: void 0 }, { onClick: b(t) }), {
|
|
933
|
+
default: B(() => [
|
|
934
934
|
m(r.$slots, "default")
|
|
935
935
|
]),
|
|
936
936
|
_: 3
|
|
937
|
-
}, 16, ["onClick"])) : (
|
|
938
|
-
onClick:
|
|
937
|
+
}, 16, ["onClick"])) : (i(), c("bs-button", d({ key: 1 }, { ...a, ...r.$attrs, router: void 0 }, {
|
|
938
|
+
onClick: o[0] || (o[0] = (...u) => b(t) && b(t)(...u))
|
|
939
939
|
}), [
|
|
940
940
|
m(r.$slots, "default")
|
|
941
941
|
], 16));
|
|
@@ -951,20 +951,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
951
951
|
},
|
|
952
952
|
emits: [],
|
|
953
953
|
setup(e, { emit: n }) {
|
|
954
|
-
const a = v(!1), t = v(null), s = v(""), r = C([]),
|
|
955
|
-
var
|
|
956
|
-
t.value || h >= 4 || (t.value = (y = (
|
|
954
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), o = v(null), u = (l, h = 0) => {
|
|
955
|
+
var f, y;
|
|
956
|
+
t.value || h >= 4 || (t.value = (y = (f = l.value) == null ? void 0 : f.querySelector) == null ? void 0 : y.call(f, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
957
957
|
};
|
|
958
|
-
return S(() => u(
|
|
958
|
+
return S(() => u(o, 0)), I(t, (l) => {
|
|
959
959
|
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
960
960
|
O(t), A(() => {
|
|
961
961
|
s.value = customElements.get("bs-label") ? "hydrated superhydrated" : "superhydrated";
|
|
962
962
|
});
|
|
963
963
|
}, 100)), a.value = !0);
|
|
964
|
-
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (
|
|
965
|
-
t.value ? (
|
|
966
|
-
default:
|
|
967
|
-
(
|
|
964
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (i(), c(L, null, [
|
|
965
|
+
t.value ? (i(), k(b(g), { key: 0 }, {
|
|
966
|
+
default: B(() => [
|
|
967
|
+
(i(), k(V, { to: t.value }, [
|
|
968
968
|
m(l.$slots, "default")
|
|
969
969
|
], 8, ["to"]))
|
|
970
970
|
]),
|
|
@@ -972,7 +972,7 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
972
972
|
})) : R("", !0),
|
|
973
973
|
x("bs-label", d({
|
|
974
974
|
ref_key: "wcRef",
|
|
975
|
-
ref:
|
|
975
|
+
ref: o,
|
|
976
976
|
class: s.value,
|
|
977
977
|
"data-bsds-ssr": "",
|
|
978
978
|
disabled: e.disabled,
|
|
@@ -981,8 +981,8 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
981
981
|
"pass-attrs": e.passAttrs,
|
|
982
982
|
required: e.required
|
|
983
983
|
}, l.$attrs), [
|
|
984
|
-
z(b(
|
|
985
|
-
fallback:
|
|
984
|
+
z(b(g), null, {
|
|
985
|
+
fallback: B(() => [
|
|
986
986
|
m(l.$slots, "default")
|
|
987
987
|
]),
|
|
988
988
|
_: 3
|
|
@@ -1005,12 +1005,12 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1005
1005
|
if (process.server)
|
|
1006
1006
|
return !0;
|
|
1007
1007
|
});
|
|
1008
|
-
return (s, r) => b(t) ? (
|
|
1009
|
-
default:
|
|
1008
|
+
return (s, r) => b(t) ? (i(), k(He, j(d({ key: 0 }, { ...a, ...s.$attrs })), {
|
|
1009
|
+
default: B(() => [
|
|
1010
1010
|
m(s.$slots, "default")
|
|
1011
1011
|
]),
|
|
1012
1012
|
_: 3
|
|
1013
|
-
}, 16)) : (
|
|
1013
|
+
}, 16)) : (i(), c("bs-label", j(d({ key: 1 }, { ...a, ...s.$attrs })), [
|
|
1014
1014
|
m(s.$slots, "default")
|
|
1015
1015
|
], 16));
|
|
1016
1016
|
}
|
|
@@ -1026,20 +1026,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1026
1026
|
},
|
|
1027
1027
|
emits: [],
|
|
1028
1028
|
setup(e, { emit: n }) {
|
|
1029
|
-
const a = v(!1), t = v(null), s = v(""), r = C([]),
|
|
1030
|
-
var
|
|
1031
|
-
t.value || h >= 4 || (t.value = (y = (
|
|
1029
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), o = v(null), u = (l, h = 0) => {
|
|
1030
|
+
var f, y;
|
|
1031
|
+
t.value || h >= 4 || (t.value = (y = (f = l.value) == null ? void 0 : f.querySelector) == null ? void 0 : y.call(f, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
1032
1032
|
};
|
|
1033
|
-
return S(() => u(
|
|
1033
|
+
return S(() => u(o, 0)), I(t, (l) => {
|
|
1034
1034
|
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
1035
1035
|
O(t), A(() => {
|
|
1036
1036
|
s.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
|
|
1037
1037
|
});
|
|
1038
1038
|
}, 100)), a.value = !0);
|
|
1039
|
-
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (
|
|
1040
|
-
t.value ? (
|
|
1041
|
-
default:
|
|
1042
|
-
(
|
|
1039
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (i(), c(L, null, [
|
|
1040
|
+
t.value ? (i(), k(b(g), { key: 0 }, {
|
|
1041
|
+
default: B(() => [
|
|
1042
|
+
(i(), k(V, { to: t.value }, [
|
|
1043
1043
|
m(l.$slots, "default")
|
|
1044
1044
|
], 8, ["to"]))
|
|
1045
1045
|
]),
|
|
@@ -1047,7 +1047,7 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1047
1047
|
})) : R("", !0),
|
|
1048
1048
|
x("bs-pill", d({
|
|
1049
1049
|
ref_key: "wcRef",
|
|
1050
|
-
ref:
|
|
1050
|
+
ref: o,
|
|
1051
1051
|
class: s.value,
|
|
1052
1052
|
"data-bsds-ssr": "",
|
|
1053
1053
|
variant: e.variant,
|
|
@@ -1057,8 +1057,8 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1057
1057
|
disabled: e.disabled,
|
|
1058
1058
|
"pass-attrs": e.passAttrs
|
|
1059
1059
|
}, l.$attrs), [
|
|
1060
|
-
z(b(
|
|
1061
|
-
fallback:
|
|
1060
|
+
z(b(g), null, {
|
|
1061
|
+
fallback: B(() => [
|
|
1062
1062
|
m(l.$slots, "default")
|
|
1063
1063
|
]),
|
|
1064
1064
|
_: 3
|
|
@@ -1083,13 +1083,13 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1083
1083
|
if (process.server)
|
|
1084
1084
|
return !0;
|
|
1085
1085
|
});
|
|
1086
|
-
return (r,
|
|
1087
|
-
default:
|
|
1086
|
+
return (r, o) => b(s) ? (i(), k(Ye, d({ key: 0 }, { ...a, ...r.$attrs, router: void 0 }, { onClick: b(t) }), {
|
|
1087
|
+
default: B(() => [
|
|
1088
1088
|
m(r.$slots, "default")
|
|
1089
1089
|
]),
|
|
1090
1090
|
_: 3
|
|
1091
|
-
}, 16, ["onClick"])) : (
|
|
1092
|
-
onClick:
|
|
1091
|
+
}, 16, ["onClick"])) : (i(), c("bs-pill", d({ key: 1 }, { ...a, ...r.$attrs, router: void 0 }, {
|
|
1092
|
+
onClick: o[0] || (o[0] = (...u) => b(t) && b(t)(...u))
|
|
1093
1093
|
}), [
|
|
1094
1094
|
m(r.$slots, "default")
|
|
1095
1095
|
], 16));
|
|
@@ -1106,20 +1106,20 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1106
1106
|
},
|
|
1107
1107
|
emits: [],
|
|
1108
1108
|
setup(e, { emit: n }) {
|
|
1109
|
-
const a = v(!1), t = v(null), s = v(""), r = C([]),
|
|
1110
|
-
var
|
|
1111
|
-
t.value || h >= 4 || (t.value = (y = (
|
|
1109
|
+
const a = v(!1), t = v(null), s = v(""), r = C([]), o = v(null), u = (l, h = 0) => {
|
|
1110
|
+
var f, y;
|
|
1111
|
+
t.value || h >= 4 || (t.value = (y = (f = l.value) == null ? void 0 : f.querySelector) == null ? void 0 : y.call(f, "[data-slot]"), t.value || r.push(setTimeout(() => u(l, h + 1), 50)));
|
|
1112
1112
|
};
|
|
1113
|
-
return S(() => u(
|
|
1113
|
+
return S(() => u(o, 0)), I(t, (l) => {
|
|
1114
1114
|
!l || a.value || (D(t), r.push(setTimeout(() => {
|
|
1115
1115
|
O(t), A(() => {
|
|
1116
1116
|
s.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
|
|
1117
1117
|
});
|
|
1118
1118
|
}, 100)), a.value = !0);
|
|
1119
|
-
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (
|
|
1120
|
-
t.value ? (
|
|
1121
|
-
default:
|
|
1122
|
-
(
|
|
1119
|
+
}, { immediate: !0 }), q(() => r.forEach((l) => clearTimeout(l))), (l, h) => (i(), c(L, null, [
|
|
1120
|
+
t.value ? (i(), k(b(g), { key: 0 }, {
|
|
1121
|
+
default: B(() => [
|
|
1122
|
+
(i(), k(V, { to: t.value }, [
|
|
1123
1123
|
m(l.$slots, "default")
|
|
1124
1124
|
], 8, ["to"]))
|
|
1125
1125
|
]),
|
|
@@ -1127,7 +1127,7 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1127
1127
|
})) : R("", !0),
|
|
1128
1128
|
x("bs-select", d({
|
|
1129
1129
|
ref_key: "wcRef",
|
|
1130
|
-
ref:
|
|
1130
|
+
ref: o,
|
|
1131
1131
|
class: s.value,
|
|
1132
1132
|
"data-bsds-ssr": "",
|
|
1133
1133
|
disabled: e.disabled,
|
|
@@ -1137,8 +1137,8 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1137
1137
|
value: e.value,
|
|
1138
1138
|
"pass-attrs": e.passAttrs
|
|
1139
1139
|
}, l.$attrs), [
|
|
1140
|
-
z(b(
|
|
1141
|
-
fallback:
|
|
1140
|
+
z(b(g), null, {
|
|
1141
|
+
fallback: B(() => [
|
|
1142
1142
|
m(l.$slots, "default")
|
|
1143
1143
|
]),
|
|
1144
1144
|
_: 3
|
|
@@ -1162,12 +1162,12 @@ const Pe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1162
1162
|
if (process.server)
|
|
1163
1163
|
return !0;
|
|
1164
1164
|
});
|
|
1165
|
-
return (s, r) => b(t) ? (
|
|
1166
|
-
default:
|
|
1165
|
+
return (s, r) => b(t) ? (i(), k(Ke, j(d({ key: 0 }, { ...a, ...s.$attrs })), {
|
|
1166
|
+
default: B(() => [
|
|
1167
1167
|
m(s.$slots, "default")
|
|
1168
1168
|
]),
|
|
1169
1169
|
_: 3
|
|
1170
|
-
}, 16)) : (
|
|
1170
|
+
}, 16)) : (i(), c("bs-select", j(d({ key: 1 }, { ...a, ...s.$attrs })), [
|
|
1171
1171
|
m(s.$slots, "default")
|
|
1172
1172
|
], 16));
|
|
1173
1173
|
}
|
|
@@ -1199,9 +1199,9 @@ export {
|
|
|
1199
1199
|
xt as BsPill,
|
|
1200
1200
|
Ye as BsPillServer,
|
|
1201
1201
|
$t as BsProfile,
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1202
|
+
kt as BsProfileDetails,
|
|
1203
|
+
Bt as BsProfileImg,
|
|
1204
|
+
gt as BsProfileLayout,
|
|
1205
1205
|
wt as BsRadio,
|
|
1206
1206
|
zt as BsSelect,
|
|
1207
1207
|
pt as BsSelectField,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(d,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("#imports"),require("#components")):typeof define=="function"&&define.amd?define(["exports","vue","#imports","#components"],e):(d=typeof globalThis<"u"?globalThis:d||self,e(d.BsdsComponents={},d.Vue,d._imports,d._components))})(this,function(d,e,y,b){"use strict";const E="update:modelValue",T="modelValue",j="routerLink",V="navManager",H="router",U="aria",g=Symbol(),P={default:g},I=t=>(t==null?void 0:t.split(" "))||[],G=(t,o,l=[])=>{var a;return[...Array.from(((a=t.value)==null?void 0:a.classList)||[]),...l].filter((r,n,i)=>!o.has(r)&&i.indexOf(r)===n)},q=(t,o,l=[],a,r,n)=>{o!==void 0&&o();const i=e.defineComponent((c,{attrs:s,slots:f,emit:u})=>{var F;let m=c[a];const D=e.ref(),M=new Set(I(s.class)),ot=k=>{k.el&&(Array.isArray(r)?r:[r]).forEach(B=>{k.el.addEventListener(B.toLowerCase(),h=>{m=(h==null?void 0:h.target)[a],u(E,m),n&&u(n,h)})})},A=e.getCurrentInstance(),x=((F=A==null?void 0:A.appContext)==null?void 0:F.provides[V])?e.inject(V):void 0,it=k=>{const{routerLink:S}=c;if(S!==g)if(x!==void 0){let B={event:k};for(const h in c){const C=c[h];c.hasOwnProperty(h)&&h.startsWith(H)&&C!==g&&(B[h]=C)}x.navigate(B)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{m=c[a],I(s.class).forEach(h=>{M.add(h)});const k=c.onClick,S=h=>{k!==void 0&&k(h),h.defaultPrevented||it(h)};let B={ref:D,class:G(D,M),onClick:S,onVnodeBeforeMount:r?ot:void 0};for(const h in c){const C=c[h];(c.hasOwnProperty(h)&&C!==g||h.startsWith(U))&&(B[h]=C)}return a&&(c[T]!==g?B={...B,[a]:c[T]}:m!==g&&(B={...B,[a]:m})),e.h(t,B,f.default&&f.default())}});return typeof i!="function"&&(i.name=t,i.props={[j]:P},l.forEach(c=>{i.props[c]=P}),a&&(i.props[T]=P,i.emits=[E,n])),i},X=q("bs-input-addon",void 0,["disabled","error","multifocus","variant"]),Y=q("bs-toaster",void 0),Z=["color","count","count-max","dot","label","position","show-zero"],K={__name:"BsBadge",props:{color:{},count:{},countMax:{default:99},dot:{},label:{default:"item"},position:{},showZero:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-badge",e.mergeProps(l.$attrs,{color:t.color,count:t.count,"count-max":t.countMax,dot:t.dot,label:t.label,position:t.position,"show-zero":t.showZero}),[e.renderSlot(l.$slots,"default")],16,Z))}},J=["char-count","char-max"],Q={__name:"BsCharacterCount",props:{charCount:{},charMax:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-character-count",e.mergeProps(l.$attrs,{"char-count":t.charCount,"char-max":t.charMax}),null,16,J))}},v=["chart-title","data","dataIdxLabels","show-legend","show-tooltips","show-x-grid","show-y-grid","stacked","x-label","y-label"],_={__name:"BsChartBar",props:{chartTitle:{},data:{},dataIdxLabels:{},showLegend:{default:!0},showTooltips:{default:!0},showXGrid:{default:!1},showYGrid:{default:!1},stacked:{default:!1},xLabel:{default:""},yLabel:{default:""}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-chart-bar",e.mergeProps(l.$attrs,{"chart-title":t.chartTitle,data:t.data,dataIdxLabels:t.dataIdxLabels,"show-legend":t.showLegend,"show-tooltips":t.showTooltips,"show-x-grid":t.showXGrid,"show-y-grid":t.showYGrid,stacked:t.stacked,"x-label":t.xLabel,"y-label":t.yLabel}),null,16,v))}},ee=["data","dataIdxLabels","table-title"],te={__name:"BsChartTable",props:{data:{},dataIdxLabels:{},tableTitle:{default:""}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-chart-table",e.mergeProps(l.$attrs,{data:t.data,dataIdxLabels:t.dataIdxLabels,"table-title":t.tableTitle}),null,16,ee))}},ae=["label","checked","checked-partially","disabled","error","pass-attrs","required","size"],le={__name:"BsCheckbox",props:{label:{},checked:{default:!1},checkedPartially:{default:!1},disabled:{default:!1},error:{},passAttrs:{default:""},required:{},size:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-checkbox",e.mergeProps(l.$attrs,{label:t.label,checked:t.checked||t.modelValue,"checked-partially":t.checkedPartially,disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,required:t.required,size:t.size,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.checked))}),null,16,ae))}};function $(t){const o=e.computed(()=>{var r,n;return((n=(r=t.href)==null?void 0:r.startsWith)==null?void 0:n.call(r,"/"))||!1}),l=e.computed(()=>{var r,n;return o.value&&((r=t.router)==null?void 0:r.navigateTo)||((n=t.router)==null?void 0:n.push)||null});function a(r){var n,i,c,s,f;l.value&&((i=(n=r.target.href)==null?void 0:n.endsWith)!=null&&i.call(n,t.href)||(f=(s=(c=r.target.closest("a"))==null?void 0:c.href)==null?void 0:s.endsWith)!=null&&f.call(s,t.href))&&(r.preventDefault(),l.value(t.href))}return{onLinkClick:a}}const re=["disabled","ghost-btn","hover-effect","href","icon","icon-position","label","pass-attrs","text-btn","size"],se={__name:"BsCircleButton",props:{disabled:{},ghostBtn:{},hoverEffect:{default:!1},href:{},icon:{},iconPosition:{},label:{},passAttrs:{default:""},textBtn:{},size:{},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l);return(r,n)=>(e.openBlock(),e.createElementBlock("bs-circle-button",e.mergeProps(r.$attrs,{disabled:t.disabled,"ghost-btn":t.ghostBtn,"hover-effect":t.hoverEffect,href:t.href,icon:t.icon,"icon-position":t.iconPosition,label:t.label,"pass-attrs":t.passAttrs,"text-btn":t.textBtn,size:t.size,onClick:n[0]||(n[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))}),null,16,re))}},ne=["dropdown-id","shown","label","position","justify","variant"],oe={__name:"BsDropdown",props:{dropdownId:{},shown:{},label:{},position:{},justify:{},variant:{}},emits:["dropdownchange","close"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-dropdown",e.mergeProps(l.$attrs,{"dropdown-id":t.dropdownId,shown:t.shown,label:t.label,position:t.position,justify:t.justify,variant:t.variant,onDropdownchange:a[0]||(a[0]=r=>o("dropdownchange",r.detail)),onClose:a[1]||(a[1]=r=>o("close",r.detail))}),[e.renderSlot(l.$slots,"default")],16,ne))}},ie=["value","variant","selected","shown","focused","index","dropdown-id"],de={__name:"BsDropdownOption",props:{value:{},variant:{},selected:{default:!1},shown:{},focused:{},index:{},dropdownId:{}},emits:["mousefocus","optionselect"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-dropdown-option",e.mergeProps(l.$attrs,{value:t.value,variant:t.variant,selected:t.selected,shown:t.shown,focused:t.focused,index:t.index,"dropdown-id":t.dropdownId,onMousefocus:a[0]||(a[0]=r=>o("mousefocus",r.detail)),onOptionselect:a[1]||(a[1]=r=>o("optionselect",r.detail))}),[e.renderSlot(l.$slots,"default")],16,ie))}},ce=["dropdown-id","shown","label","position","variant"],ue={__name:"BsDropdownOptions",props:{dropdownId:{},shown:{},label:{},position:{},variant:{}},emits:["dropdownchange","close"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-dropdown-options",e.mergeProps(l.$attrs,{"dropdown-id":t.dropdownId,shown:t.shown,label:t.label,position:t.position,variant:t.variant,onDropdownchange:a[0]||(a[0]=r=>o("dropdownchange",r.detail)),onClose:a[1]||(a[1]=r=>o("close",r.detail))}),[e.renderSlot(l.$slots,"default")],16,ce))}},fe=["char-count","char-max","disabled","error","hints","label","label-for","required","hint-id"],me={__name:"BsFieldLayout",props:{charCount:{},charMax:{},disabled:{default:!1},error:{},hints:{},label:{},labelFor:{},required:{},hintId:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-field-layout",e.mergeProps(l.$attrs,{"char-count":t.charCount,"char-max":t.charMax,disabled:t.disabled,error:t.error,hints:t.hints,label:t.label,"label-for":t.labelFor,required:t.required,"hint-id":t.hintId}),[e.renderSlot(l.$slots,"default")],16,fe))}},he=["error","hint-id","hints"],be={__name:"BsHint",props:{error:{},hintId:{},hints:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-hint",e.mergeProps(l.$attrs,{error:t.error,"hint-id":t.hintId,hints:t.hints}),null,16,he))}},Be=["disabled","error","pass-attrs","placeholder","required","type","value","hint-id"],ke={__name:"BsInput",props:{disabled:{default:!1},error:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-input",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,placeholder:t.placeholder,required:t.required,type:t.type,value:t.value||t.modelValue,"hint-id":t.hintId,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Be))}},ye=["disabled","error","hints","label","pass-attrs","placeholder","required","type","value"],ge={__name:"BsInputField",props:{disabled:{default:!1},error:{},hints:{},label:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-input-field",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,hints:t.hints,label:t.label,"pass-attrs":t.passAttrs,placeholder:t.placeholder,required:t.required,type:t.type,value:t.value||t.modelValue,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,ye))}},$e=["disabled","pass-attrs","placeholder","aria-label","hint-id","value"],pe={__name:"BsInputSearch",props:{disabled:{default:!1},passAttrs:{default:""},placeholder:{default:"Search Items"},ariaLabel:{default:"Search Items"},hintId:{},value:{default:""}},emits:["onclear"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-input-search",e.mergeProps(l.$attrs,{disabled:t.disabled,"pass-attrs":t.passAttrs,placeholder:t.placeholder,"aria-label":t.ariaLabel,"hint-id":t.hintId,value:t.value,onOnclear:a[0]||(a[0]=r=>o("onclear",r.detail))}),null,16,$e))}},we=["layout","href","image-src","image-size","initials","profile-name","company","job-title","email"],Ce={__name:"BsProfile",props:{layout:{},href:{},imageSrc:{},imageSize:{default:"lg"},initials:{},profileName:{},company:{},jobTitle:{},email:{},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l);return(r,n)=>(e.openBlock(),e.createElementBlock("bs-profile",e.mergeProps(r.$attrs,{layout:t.layout,href:t.href,"image-src":t.imageSrc,"image-size":t.imageSize,initials:t.initials,"profile-name":t.profileName,company:t.company,"job-title":t.jobTitle,email:t.email,onClick:n[0]||(n[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))}),null,16,we))}},Se=["profile-name","company","job-title","email"],Te={__name:"BsProfileDetails",props:{profileName:{},company:{},jobTitle:{},email:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-profile-details",e.mergeProps(l.$attrs,{"profile-name":t.profileName,company:t.company,"job-title":t.jobTitle,email:t.email}),null,16,Se))}},Pe=["src","size","initials","profile-name"],Ae={__name:"BsProfileImg",props:{src:{},size:{},initials:{},profileName:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-profile-img",e.mergeProps(l.$attrs,{src:t.src,size:t.size,initials:t.initials,"profile-name":t.profileName}),null,16,Pe))}},Ee=["layout","href","pass-attrs"],Ve={__name:"BsProfileLayout",props:{layout:{default:"vertical"},href:{},passAttrs:{default:""},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l);return(r,n)=>(e.openBlock(),e.createElementBlock("bs-profile-layout",e.mergeProps(r.$attrs,{layout:t.layout,href:t.href,"pass-attrs":t.passAttrs,onClick:n[0]||(n[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))}),[e.renderSlot(r.$slots,"default")],16,Ee))}},Ie=["label","checked","disabled","error","pass-attrs","required","size","value"],qe={__name:"BsRadio",props:{label:{},checked:{default:!1},disabled:{default:!1},error:{},passAttrs:{default:""},required:{},size:{},value:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-radio",e.mergeProps(l.$attrs,{label:t.label,checked:t.checked||t.modelValue===t.value,disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,required:t.required,size:t.size,value:t.value,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Ie))}},Le=["disabled","error","required","label","hints","placeholder","value","pass-attrs","data"],Re={__name:"BsSelectField",props:{disabled:{default:!1},error:{},required:{},label:{},hints:{},placeholder:{default:""},value:{},passAttrs:{default:""},data:{default:[]},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-select-field",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,required:t.required,label:t.label,hints:t.hints,placeholder:t.placeholder,value:t.value||t.modelValue,"pass-attrs":t.passAttrs,data:t.data,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Le))}},ze=["checked","disabled","inner-on-label","inner-off-label","label","pass-attrs","size"],Oe={__name:"BsSwitch",props:{checked:{default:!1},disabled:{default:!1},innerOnLabel:{},innerOffLabel:{},label:{},passAttrs:{default:""},size:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-switch",e.mergeProps(l.$attrs,{checked:t.checked||t.modelValue,disabled:t.disabled,"inner-on-label":t.innerOnLabel,"inner-off-label":t.innerOffLabel,label:t.label,"pass-attrs":t.passAttrs,size:t.size,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.checked))}),null,16,ze))}},Ne=["disabled","error","pass-attrs","placeholder","required","value","hint-id"],We={__name:"BsTextarea",props:{disabled:{default:!1},error:{},passAttrs:{default:""},placeholder:{},required:{},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-textarea",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,placeholder:t.placeholder,required:t.required,value:t.value||t.modelValue,"hint-id":t.hintId,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Ne))}},De=["char-max","disabled","error","hints","label","placeholder","required","value","pass-attrs"],Me={__name:"BsTextareaField",props:{charMax:{},disabled:{default:!1},error:{},hints:{},label:{},placeholder:{},required:{},value:{default:""},passAttrs:{default:""},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-textarea-field",e.mergeProps(l.$attrs,{"char-max":t.charMax,disabled:t.disabled,error:t.error,hints:t.hints,label:t.label,placeholder:t.placeholder,required:t.required,value:t.value||t.modelValue,"pass-attrs":t.passAttrs,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,De))}},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"],Fe={__name:"BsToast",props:{toastId:{},shown:{},variant:{},toastTitle:{},content:{},stacked:{default:!1},duration:{default:1e4},primaryAction:{default:"Dismiss"},primaryActionType:{default:"text"},secondaryAction:{},secondaryActionType:{default:"text"},tertiaryAction:{},tertiaryActionType:{default:"text"},dismissAction:{default:"Dismiss"}},emits:["dismiss","actionclick"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-toast",e.mergeProps(l.$attrs,{"toast-id":t.toastId,shown:t.shown,variant:t.variant,"toast-title":t.toastTitle,content:t.content,stacked:t.stacked,duration:t.duration,"primary-action":t.primaryAction,"primary-action-type":t.primaryActionType,"secondary-action":t.secondaryAction,"secondary-action-type":t.secondaryActionType,"tertiary-action":t.tertiaryAction,"tertiary-action-type":t.tertiaryActionType,"dismiss-action":t.dismissAction,onDismiss:a[0]||(a[0]=r=>o("dismiss",r.detail)),onActionclick:a[1]||(a[1]=r=>o("actionclick",r.detail))}),[e.renderSlot(l.$slots,"default")],16,xe))}},je=["tooltip-id","content","position"],He={__name:"BsTooltip",props:{tooltipId:{},content:{},position:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-tooltip",e.mergeProps(l.$attrs,{"tooltip-id":t.tooltipId,content:t.content,position:t.position}),[e.renderSlot(l.$slots,"default")],16,je))}};function p(t){const{height:o,width:l}=t.value.getBoundingClientRect();t.value.style.minHeight=o+"px",t.value.style.minWidth=l+"px",t.value.replaceChildren()}function w(t){t.value.style.minHeight=null,t.value.style.minWidth=null}const Ue=["controlled","icon","header-text","heading-level","open-item","stacked"],L={__name:"BsAccordionServer",props:{controlled:{default:!1},icon:{},headerText:{},headingLevel:{},openItem:{default:!1},stacked:{default:!1}},emits:["toggled"],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-accordion")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-accordion",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",controlled:t.controlled,icon:t.icon,"header-text":t.headerText,"heading-level":t.headingLevel,"open-item":t.openItem,stacked:t.stacked,onToggled:f[0]||(f[0]=u=>o("toggled",u.detail))},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,Ue)],64))}},Ge="bs-accordion",Xe={__name:"BsAccordion",props:{controlled:{default:!1},icon:{},headerText:{},headingLevel:{},openItem:{default:!1},stacked:{default:!1}},emits:["toggled"],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(Ge,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(L,e.mergeProps({key:0},{...l,...r.$attrs},{onToggled:n[0]||(n[0]=i=>o("toggled",i.detail))}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-accordion",e.mergeProps({key:1},{...l,...r.$attrs},{onToggled:n[1]||(n[1]=i=>o("toggled",i.detail))}),[e.renderSlot(r.$slots,"default")],16))}},R={__name:"BsBannerServer",props:{},emits:["dismiss"],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-banner")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-banner",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",onDismiss:f[0]||(f[0]=u=>o("dismiss",u.detail))},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16)],64))}},Ye="bs-banner",Ze={__name:"BsBanner",props:{},emits:["dismiss"],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(Ye,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(R,e.mergeProps({key:0},{...l,...r.$attrs},{onDismiss:n[0]||(n[0]=i=>o("dismiss",i.detail))}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-banner",e.mergeProps({key:1},{...l,...r.$attrs},{onDismiss:n[1]||(n[1]=i=>o("dismiss",i.detail))}),[e.renderSlot(r.$slots,"default")],16))}},Ke=["variant","disabled","ghost-btn","href","pass-attrs","text-btn","size"],z={__name:"BsButtonServer",props:{variant:{},disabled:{},ghostBtn:{},href:{},passAttrs:{default:""},textBtn:{},size:{}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>{var s;if((s=i.value)!=null&&s.getBoundingClientRect){const{height:f,width:u}=i.value.getBoundingClientRect();i.value.style.minHeight=f+"px",i.value.style.maxWidth=u+"px"}c(i,0)}),e.watch(a,s=>{!s||l.value||(a.value.replaceChildren(),n.push(setTimeout(()=>{e.nextTick(()=>{r.value=customElements.get("bs-button")?"hydrated superhydrated":"superhydrated",e.nextTick(()=>{i.value.style.minHeight=null,i.value.style.maxWidth=null})})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-button",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",variant:t.variant,disabled:t.disabled,"ghost-btn":t.ghostBtn,href:t.href,"pass-attrs":t.passAttrs,"text-btn":t.textBtn,size:t.size},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,Ke)],64))}},Je="bs-button",Qe={__name:"BsButton",props:{variant:{},disabled:{},ghostBtn:{},href:{},passAttrs:{default:""},textBtn:{},size:{},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l),{data:r}=y.useAsyncData(Je,()=>{if(process.server)return!0});return(n,i)=>e.unref(r)?(e.openBlock(),e.createBlock(z,e.mergeProps({key:0},{...l,...n.$attrs,router:void 0},{onClick:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["onClick"])):(e.openBlock(),e.createElementBlock("bs-button",e.mergeProps({key:1},{...l,...n.$attrs,router:void 0},{onClick:i[0]||(i[0]=(...c)=>e.unref(a)&&e.unref(a)(...c))}),[e.renderSlot(n.$slots,"default")],16))}},ve=["disabled","for","hide","pass-attrs","required"],O={__name:"BsLabelServer",props:{disabled:{},for:{},hide:{},passAttrs:{default:""},required:{}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-label")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-label",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",disabled:t.disabled,for:t.for,hide:t.hide,"pass-attrs":t.passAttrs,required:t.required},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,ve)],64))}},_e="bs-label",et={__name:"BsLabel",props:{disabled:{},for:{},hide:{},passAttrs:{default:""},required:{}},emits:[],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(_e,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(O,e.normalizeProps(e.mergeProps({key:0},{...l,...r.$attrs})),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-label",e.normalizeProps(e.mergeProps({key:1},{...l,...r.$attrs})),[e.renderSlot(r.$slots,"default")],16))}},tt=["variant","status","href","active","disabled","pass-attrs"],N={__name:"BsPillServer",props:{variant:{},status:{},href:{},active:{},disabled:{},passAttrs:{default:""}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-pill")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-pill",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",variant:t.variant,status:t.status,href:t.href,active:t.active,disabled:t.disabled,"pass-attrs":t.passAttrs},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,tt)],64))}},at="bs-pill",lt={__name:"BsPill",props:{variant:{},status:{},href:{},active:{},disabled:{},passAttrs:{default:""},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l),{data:r}=y.useAsyncData(at,()=>{if(process.server)return!0});return(n,i)=>e.unref(r)?(e.openBlock(),e.createBlock(N,e.mergeProps({key:0},{...l,...n.$attrs,router:void 0},{onClick:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["onClick"])):(e.openBlock(),e.createElementBlock("bs-pill",e.mergeProps({key:1},{...l,...n.$attrs,router:void 0},{onClick:i[0]||(i[0]=(...c)=>e.unref(a)&&e.unref(a)(...c))}),[e.renderSlot(n.$slots,"default")],16))}},rt=["disabled","required","error","hint-id","value","pass-attrs"],W={__name:"BsSelectServer",props:{disabled:{default:!1},required:{},error:{},hintId:{},value:{},passAttrs:{default:""}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-select")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-select",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",disabled:t.disabled,required:t.required,error:t.error,"hint-id":t.hintId,value:t.value,"pass-attrs":t.passAttrs},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,rt)],64))}},st="bs-select",nt={__name:"BsSelect",props:{disabled:{default:!1},required:{},error:{},hintId:{},value:{},passAttrs:{default:""}},emits:[],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(st,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(W,e.normalizeProps(e.mergeProps({key:0},{...l,...r.$attrs})),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-select",e.normalizeProps(e.mergeProps({key:1},{...l,...r.$attrs})),[e.renderSlot(r.$slots,"default")],16))}};d.BsAccordion=Xe,d.BsAccordionServer=L,d.BsBadge=K,d.BsBanner=Ze,d.BsBannerServer=R,d.BsButton=Qe,d.BsButtonServer=z,d.BsCharacterCount=Q,d.BsChartBar=_,d.BsChartTable=te,d.BsCheckbox=le,d.BsCircleButton=se,d.BsDropdown=oe,d.BsDropdownOption=de,d.BsDropdownOptions=ue,d.BsFieldLayout=me,d.BsHint=be,d.BsInput=ke,d.BsInputAddon=X,d.BsInputField=ge,d.BsInputSearch=pe,d.BsLabel=et,d.BsLabelServer=O,d.BsPill=lt,d.BsPillServer=N,d.BsProfile=Ce,d.BsProfileDetails=Te,d.BsProfileImg=Ae,d.BsProfileLayout=Ve,d.BsRadio=qe,d.BsSelect=nt,d.BsSelectField=Re,d.BsSelectServer=W,d.BsSwitch=Oe,d.BsTextarea=We,d.BsTextareaField=Me,d.BsToast=Fe,d.BsToaster=Y,d.BsTooltip=He,Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(d,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("#imports"),require("#components")):typeof define=="function"&&define.amd?define(["exports","vue","#imports","#components"],e):(d=typeof globalThis<"u"?globalThis:d||self,e(d.BsdsComponents={},d.Vue,d._imports,d._components))})(this,function(d,e,y,b){"use strict";const E="update:modelValue",T="modelValue",j="routerLink",V="navManager",U="router",H="aria",g=Symbol(),P={default:g},I=t=>(t==null?void 0:t.split(" "))||[],G=(t,o,l=[])=>{var a;return[...Array.from(((a=t.value)==null?void 0:a.classList)||[]),...l].filter((r,n,i)=>!o.has(r)&&i.indexOf(r)===n)},q=(t,o,l=[],a,r,n)=>{o!==void 0&&o();const i=e.defineComponent((c,{attrs:s,slots:f,emit:u})=>{var F;let m=c[a];const D=e.ref(),M=new Set(I(s.class)),ot=k=>{k.el&&(Array.isArray(r)?r:[r]).forEach(B=>{k.el.addEventListener(B.toLowerCase(),h=>{m=(h==null?void 0:h.target)[a],u(E,m),n&&u(n,h)})})},A=e.getCurrentInstance(),x=((F=A==null?void 0:A.appContext)==null?void 0:F.provides[V])?e.inject(V):void 0,it=k=>{const{routerLink:S}=c;if(S!==g)if(x!==void 0){let B={event:k};for(const h in c){const C=c[h];c.hasOwnProperty(h)&&h.startsWith(U)&&C!==g&&(B[h]=C)}x.navigate(B)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{m=c[a],I(s.class).forEach(h=>{M.add(h)});const k=c.onClick,S=h=>{k!==void 0&&k(h),h.defaultPrevented||it(h)};let B={ref:D,class:G(D,M),onClick:S,onVnodeBeforeMount:r?ot:void 0};for(const h in c){const C=c[h];(c.hasOwnProperty(h)&&C!==g||h.startsWith(H))&&(B[h]=C)}return a&&(c[T]!==g?B={...B,[a]:c[T]}:m!==g&&(B={...B,[a]:m})),e.h(t,B,f.default&&f.default())}});return typeof i!="function"&&(i.name=t,i.props={[j]:P},l.forEach(c=>{i.props[c]=P}),a&&(i.props[T]=P,i.emits=[E,n])),i},X=q("bs-input-addon",void 0,["disabled","error","multifocus","variant"]),Y=q("bs-toaster",void 0),Z=["color","count","count-max","dot","label","position","show-zero"],K={__name:"BsBadge",props:{color:{},count:{},countMax:{default:99},dot:{},label:{default:"item"},position:{},showZero:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-badge",e.mergeProps(l.$attrs,{color:t.color,count:t.count,"count-max":t.countMax,dot:t.dot,label:t.label,position:t.position,"show-zero":t.showZero}),[e.renderSlot(l.$slots,"default")],16,Z))}},J=["char-count","char-max"],Q={__name:"BsCharacterCount",props:{charCount:{},charMax:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-character-count",e.mergeProps(l.$attrs,{"char-count":t.charCount,"char-max":t.charMax}),null,16,J))}},v=["chart-title","data","dataIdxLabels","show-legend","show-tooltips","show-x-grid","show-y-grid","stacked","x-label","y-label"],_={__name:"BsChartBar",props:{chartTitle:{},data:{},dataIdxLabels:{},showLegend:{default:!0},showTooltips:{default:!0},showXGrid:{default:!1},showYGrid:{default:!1},stacked:{default:!1},xLabel:{default:""},yLabel:{default:""}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-chart-bar",e.mergeProps(l.$attrs,{"chart-title":t.chartTitle,data:t.data,dataIdxLabels:t.dataIdxLabels,"show-legend":t.showLegend,"show-tooltips":t.showTooltips,"show-x-grid":t.showXGrid,"show-y-grid":t.showYGrid,stacked:t.stacked,"x-label":t.xLabel,"y-label":t.yLabel}),null,16,v))}},ee=["data","dataIdxLabels","table-title"],te={__name:"BsChartTable",props:{data:{},dataIdxLabels:{},tableTitle:{default:""}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-chart-table",e.mergeProps(l.$attrs,{data:t.data,dataIdxLabels:t.dataIdxLabels,"table-title":t.tableTitle}),null,16,ee))}},ae=["label","checked","checked-partially","disabled","error","pass-attrs","required","size"],le={__name:"BsCheckbox",props:{label:{},checked:{default:!1},checkedPartially:{default:!1},disabled:{default:!1},error:{},passAttrs:{default:""},required:{},size:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-checkbox",e.mergeProps(l.$attrs,{label:t.label,checked:t.checked||t.modelValue,"checked-partially":t.checkedPartially,disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,required:t.required,size:t.size,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.checked))}),null,16,ae))}};function $(t){const o=e.computed(()=>{var r,n;return((n=(r=t.href)==null?void 0:r.startsWith)==null?void 0:n.call(r,"/"))||!1}),l=e.computed(()=>{var r,n;return o.value&&((r=t.router)==null?void 0:r.navigateTo)||((n=t.router)==null?void 0:n.push)||null});function a(r){var n,i,c,s,f;l.value&&((i=(n=r.target.href)==null?void 0:n.endsWith)!=null&&i.call(n,t.href)||(f=(s=(c=r.target.closest("a"))==null?void 0:c.href)==null?void 0:s.endsWith)!=null&&f.call(s,t.href))&&(r.preventDefault(),l.value(t.href))}return{onLinkClick:a}}const re=["disabled","ghost-btn","hover-effect","href","icon","icon-position","label","pass-attrs","text-btn","size"],se={__name:"BsCircleButton",props:{disabled:{},ghostBtn:{},hoverEffect:{default:!1},href:{},icon:{},iconPosition:{},label:{},passAttrs:{default:""},textBtn:{},size:{},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l);return(r,n)=>(e.openBlock(),e.createElementBlock("bs-circle-button",e.mergeProps(r.$attrs,{disabled:t.disabled,"ghost-btn":t.ghostBtn,"hover-effect":t.hoverEffect,href:t.href,icon:t.icon,"icon-position":t.iconPosition,label:t.label,"pass-attrs":t.passAttrs,"text-btn":t.textBtn,size:t.size,onClick:n[0]||(n[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))}),null,16,re))}},ne=["dropdown-id","shown","label","position","justify","variant"],oe={__name:"BsDropdown",props:{dropdownId:{},shown:{},label:{},position:{},justify:{},variant:{}},emits:["dropdownchange","close"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-dropdown",e.mergeProps(l.$attrs,{"dropdown-id":t.dropdownId,shown:t.shown,label:t.label,position:t.position,justify:t.justify,variant:t.variant,onDropdownchange:a[0]||(a[0]=r=>o("dropdownchange",r.detail)),onClose:a[1]||(a[1]=r=>o("close",r.detail))}),[e.renderSlot(l.$slots,"default")],16,ne))}},ie=["value","variant","selected","shown","focused","index","dropdown-id"],de={__name:"BsDropdownOption",props:{value:{},variant:{},selected:{default:!1},shown:{},focused:{},index:{},dropdownId:{}},emits:["mousefocus","optionselect"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-dropdown-option",e.mergeProps(l.$attrs,{value:t.value,variant:t.variant,selected:t.selected,shown:t.shown,focused:t.focused,index:t.index,"dropdown-id":t.dropdownId,onMousefocus:a[0]||(a[0]=r=>o("mousefocus",r.detail)),onOptionselect:a[1]||(a[1]=r=>o("optionselect",r.detail))}),[e.renderSlot(l.$slots,"default")],16,ie))}},ce=["dropdown-id","shown","label","position","variant"],ue={__name:"BsDropdownOptions",props:{dropdownId:{},shown:{},label:{},position:{},variant:{}},emits:["dropdownchange","close"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-dropdown-options",e.mergeProps(l.$attrs,{"dropdown-id":t.dropdownId,shown:t.shown,label:t.label,position:t.position,variant:t.variant,onDropdownchange:a[0]||(a[0]=r=>o("dropdownchange",r.detail)),onClose:a[1]||(a[1]=r=>o("close",r.detail))}),[e.renderSlot(l.$slots,"default")],16,ce))}},fe=["char-count","char-max","disabled","error","hints","label","label-for","required","hint-id"],me={__name:"BsFieldLayout",props:{charCount:{},charMax:{},disabled:{default:!1},error:{},hints:{},label:{},labelFor:{},required:{},hintId:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-field-layout",e.mergeProps(l.$attrs,{"char-count":t.charCount,"char-max":t.charMax,disabled:t.disabled,error:t.error,hints:t.hints,label:t.label,"label-for":t.labelFor,required:t.required,"hint-id":t.hintId}),[e.renderSlot(l.$slots,"default")],16,fe))}},he=["error","hint-id","hints"],be={__name:"BsHint",props:{error:{},hintId:{},hints:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-hint",e.mergeProps(l.$attrs,{error:t.error,"hint-id":t.hintId,hints:t.hints}),null,16,he))}},Be=["disabled","error","pass-attrs","placeholder","required","type","value","hint-id"],ke={__name:"BsInput",props:{disabled:{default:!1},error:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-input",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,placeholder:t.placeholder,required:t.required,type:t.type,value:t.value||t.modelValue,"hint-id":t.hintId,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Be))}},ye=["disabled","error","hints","label","pass-attrs","placeholder","required","type","value"],ge={__name:"BsInputField",props:{disabled:{default:!1},error:{},hints:{},label:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-input-field",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,hints:t.hints,label:t.label,"pass-attrs":t.passAttrs,placeholder:t.placeholder,required:t.required,type:t.type,value:t.value||t.modelValue,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,ye))}},$e=["disabled","pass-attrs","placeholder","aria-label","hint-id","value"],pe={__name:"BsInputSearch",props:{disabled:{default:!1},passAttrs:{default:""},placeholder:{default:"Search Items"},ariaLabel:{default:"Search Items"},hintId:{},value:{default:""}},emits:["onclear"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-input-search",e.mergeProps(l.$attrs,{disabled:t.disabled,"pass-attrs":t.passAttrs,placeholder:t.placeholder,"aria-label":t.ariaLabel,"hint-id":t.hintId,value:t.value,onOnclear:a[0]||(a[0]=r=>o("onclear",r.detail))}),null,16,$e))}},we=["layout","href","image-src","image-size","initials","profile-name","company","job-title","email"],Ce={__name:"BsProfile",props:{layout:{},href:{},imageSrc:{},imageSize:{default:"lg"},initials:{},profileName:{},company:{},jobTitle:{},email:{},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l);return(r,n)=>(e.openBlock(),e.createElementBlock("bs-profile",e.mergeProps(r.$attrs,{layout:t.layout,href:t.href,"image-src":t.imageSrc,"image-size":t.imageSize,initials:t.initials,"profile-name":t.profileName,company:t.company,"job-title":t.jobTitle,email:t.email,onClick:n[0]||(n[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))}),null,16,we))}},Se=["profile-name","company","job-title","email"],Te={__name:"BsProfileDetails",props:{profileName:{},company:{},jobTitle:{},email:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-profile-details",e.mergeProps(l.$attrs,{"profile-name":t.profileName,company:t.company,"job-title":t.jobTitle,email:t.email}),null,16,Se))}},Pe=["src","size","initials","profile-name"],Ae={__name:"BsProfileImg",props:{src:{},size:{},initials:{},profileName:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-profile-img",e.mergeProps(l.$attrs,{src:t.src,size:t.size,initials:t.initials,"profile-name":t.profileName}),null,16,Pe))}},Ee=["layout","href","pass-attrs"],Ve={__name:"BsProfileLayout",props:{layout:{default:"vertical"},href:{},passAttrs:{default:""},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l);return(r,n)=>(e.openBlock(),e.createElementBlock("bs-profile-layout",e.mergeProps(r.$attrs,{layout:t.layout,href:t.href,"pass-attrs":t.passAttrs,onClick:n[0]||(n[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))}),[e.renderSlot(r.$slots,"default")],16,Ee))}},Ie=["label","checked","disabled","error","pass-attrs","required","size","value"],qe={__name:"BsRadio",props:{label:{},checked:{default:!1},disabled:{default:!1},error:{},passAttrs:{default:""},required:{},size:{},value:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-radio",e.mergeProps(l.$attrs,{label:t.label,checked:t.checked||t.modelValue===t.value,disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,required:t.required,size:t.size,value:t.value,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Ie))}},Le=["disabled","error","required","label","hints","placeholder","value","pass-attrs","data"],Re={__name:"BsSelectField",props:{disabled:{default:!1},error:{},required:{},label:{},hints:{},placeholder:{default:""},value:{},passAttrs:{default:""},data:{default:[]},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-select-field",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,required:t.required,label:t.label,hints:t.hints,placeholder:t.placeholder,value:t.value||t.modelValue,"pass-attrs":t.passAttrs,data:t.data,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Le))}},ze=["checked","disabled","inner-on-label","inner-off-label","label","pass-attrs","size"],Oe={__name:"BsSwitch",props:{checked:{default:!1},disabled:{default:!1},innerOnLabel:{},innerOffLabel:{},label:{},passAttrs:{default:""},size:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-switch",e.mergeProps(l.$attrs,{checked:t.checked||t.modelValue,disabled:t.disabled,"inner-on-label":t.innerOnLabel,"inner-off-label":t.innerOffLabel,label:t.label,"pass-attrs":t.passAttrs,size:t.size,onChange:a[0]||(a[0]=r=>o("update:modelValue",r.target.checked))}),null,16,ze))}},Ne=["disabled","error","pass-attrs","placeholder","required","value","hint-id"],We={__name:"BsTextarea",props:{disabled:{default:!1},error:{},passAttrs:{default:""},placeholder:{},required:{},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-textarea",e.mergeProps(l.$attrs,{disabled:t.disabled,error:t.error,"pass-attrs":t.passAttrs,placeholder:t.placeholder,required:t.required,value:t.value||t.modelValue,"hint-id":t.hintId,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,Ne))}},De=["char-max","disabled","error","hints","label","placeholder","required","value","pass-attrs"],Me={__name:"BsTextareaField",props:{charMax:{},disabled:{default:!1},error:{},hints:{},label:{},placeholder:{},required:{},value:{default:""},passAttrs:{default:""},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-textarea-field",e.mergeProps(l.$attrs,{"char-max":t.charMax,disabled:t.disabled,error:t.error,hints:t.hints,label:t.label,placeholder:t.placeholder,required:t.required,value:t.value||t.modelValue,"pass-attrs":t.passAttrs,onInput:a[0]||(a[0]=r=>o("update:modelValue",r.target.value))}),null,16,De))}},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"],Fe={__name:"BsToast",props:{toastId:{},shown:{},variant:{},toastTitle:{},content:{},stacked:{default:!1},duration:{default:1e4},primaryAction:{default:"Dismiss"},primaryActionType:{default:"text"},secondaryAction:{},secondaryActionType:{default:"text"},tertiaryAction:{},tertiaryActionType:{default:"text"},dismissAction:{default:"Dismiss"}},emits:["dismiss","actionclick"],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-toast",e.mergeProps(l.$attrs,{"toast-id":t.toastId,shown:t.shown,variant:t.variant,"toast-title":t.toastTitle,content:t.content,stacked:t.stacked,duration:t.duration,"primary-action":t.primaryAction,"primary-action-type":t.primaryActionType,"secondary-action":t.secondaryAction,"secondary-action-type":t.secondaryActionType,"tertiary-action":t.tertiaryAction,"tertiary-action-type":t.tertiaryActionType,"dismiss-action":t.dismissAction,onDismiss:a[0]||(a[0]=r=>o("dismiss",r.detail)),onActionclick:a[1]||(a[1]=r=>o("actionclick",r.detail))}),[e.renderSlot(l.$slots,"default")],16,xe))}},je=["tooltip-id","content","position"],Ue={__name:"BsTooltip",props:{tooltipId:{},content:{},position:{}},emits:[],setup(t,{emit:o}){return(l,a)=>(e.openBlock(),e.createElementBlock("bs-tooltip",e.mergeProps(l.$attrs,{"tooltip-id":t.tooltipId,content:t.content,position:t.position}),[e.renderSlot(l.$slots,"default")],16,je))}};function p(t){const{height:o,width:l}=t.value.getBoundingClientRect();t.value.style.minHeight=o+"px",t.value.style.minWidth=l+"px",t.value.replaceChildren()}function w(t){t.value.style.minHeight=null,t.value.style.minWidth=null}const He=["controlled","icon","header-text","heading-level","open-item","stacked"],L={__name:"BsAccordionServer",props:{controlled:{default:!1},icon:{},headerText:{},headingLevel:{},openItem:{default:!1},stacked:{default:!1}},emits:["toggled"],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-accordion")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-accordion",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",controlled:t.controlled,icon:t.icon,"header-text":t.headerText,"heading-level":t.headingLevel,"open-item":t.openItem,stacked:t.stacked,onToggled:f[0]||(f[0]=u=>o("toggled",u.detail))},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,He)],64))}},Ge="bs-accordion",Xe={__name:"BsAccordion",props:{controlled:{default:!1},icon:{},headerText:{},headingLevel:{},openItem:{default:!1},stacked:{default:!1}},emits:["toggled"],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(Ge,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(L,e.mergeProps({key:0},{...l,...r.$attrs},{onToggled:n[0]||(n[0]=i=>o("toggled",i.detail))}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-accordion",e.mergeProps({key:1},{...l,...r.$attrs},{onToggled:n[1]||(n[1]=i=>o("toggled",i.detail))}),[e.renderSlot(r.$slots,"default")],16))}},R={__name:"BsBannerServer",props:{},emits:["dismiss"],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-banner")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-banner",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",onDismiss:f[0]||(f[0]=u=>o("dismiss",u.detail))},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16)],64))}},Ye="bs-banner",Ze={__name:"BsBanner",props:{},emits:["dismiss"],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(Ye,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(R,e.mergeProps({key:0},{...l,...r.$attrs},{onDismiss:n[0]||(n[0]=i=>o("dismiss",i.detail))}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-banner",e.mergeProps({key:1},{...l,...r.$attrs},{onDismiss:n[1]||(n[1]=i=>o("dismiss",i.detail))}),[e.renderSlot(r.$slots,"default")],16))}},Ke=["variant","disabled","ghost-btn","href","pass-attrs","text-btn","size"],z={__name:"BsButtonServer",props:{variant:{},disabled:{},ghostBtn:{},href:{},passAttrs:{default:""},textBtn:{},size:{}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>{var s;if((s=i.value)!=null&&s.getBoundingClientRect){const{width:f}=i.value.getBoundingClientRect();i.value.style.maxWidth=f+"px"}c(i,0)}),e.watch(a,s=>{!s||l.value||(a.value.replaceChildren(),n.push(setTimeout(()=>{e.nextTick(()=>{r.value=customElements.get("bs-button")?"hydrated superhydrated":"superhydrated",e.nextTick(()=>{i.value.style.maxWidth=null})})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-button",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",variant:t.variant,disabled:t.disabled,"ghost-btn":t.ghostBtn,href:t.href,"pass-attrs":t.passAttrs,"text-btn":t.textBtn,size:t.size},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,Ke)],64))}},Je="bs-button",Qe={__name:"BsButton",props:{variant:{},disabled:{},ghostBtn:{},href:{},passAttrs:{default:""},textBtn:{},size:{},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l),{data:r}=y.useAsyncData(Je,()=>{if(process.server)return!0});return(n,i)=>e.unref(r)?(e.openBlock(),e.createBlock(z,e.mergeProps({key:0},{...l,...n.$attrs,router:void 0},{onClick:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["onClick"])):(e.openBlock(),e.createElementBlock("bs-button",e.mergeProps({key:1},{...l,...n.$attrs,router:void 0},{onClick:i[0]||(i[0]=(...c)=>e.unref(a)&&e.unref(a)(...c))}),[e.renderSlot(n.$slots,"default")],16))}},ve=["disabled","for","hide","pass-attrs","required"],O={__name:"BsLabelServer",props:{disabled:{},for:{},hide:{},passAttrs:{default:""},required:{}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-label")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-label",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",disabled:t.disabled,for:t.for,hide:t.hide,"pass-attrs":t.passAttrs,required:t.required},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,ve)],64))}},_e="bs-label",et={__name:"BsLabel",props:{disabled:{},for:{},hide:{},passAttrs:{default:""},required:{}},emits:[],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(_e,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(O,e.normalizeProps(e.mergeProps({key:0},{...l,...r.$attrs})),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-label",e.normalizeProps(e.mergeProps({key:1},{...l,...r.$attrs})),[e.renderSlot(r.$slots,"default")],16))}},tt=["variant","status","href","active","disabled","pass-attrs"],N={__name:"BsPillServer",props:{variant:{},status:{},href:{},active:{},disabled:{},passAttrs:{default:""}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-pill")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-pill",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",variant:t.variant,status:t.status,href:t.href,active:t.active,disabled:t.disabled,"pass-attrs":t.passAttrs},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,tt)],64))}},at="bs-pill",lt={__name:"BsPill",props:{variant:{},status:{},href:{},active:{},disabled:{},passAttrs:{default:""},router:{}},emits:[],setup(t,{emit:o}){const l=t,{onLinkClick:a}=$(l),{data:r}=y.useAsyncData(at,()=>{if(process.server)return!0});return(n,i)=>e.unref(r)?(e.openBlock(),e.createBlock(N,e.mergeProps({key:0},{...l,...n.$attrs,router:void 0},{onClick:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["onClick"])):(e.openBlock(),e.createElementBlock("bs-pill",e.mergeProps({key:1},{...l,...n.$attrs,router:void 0},{onClick:i[0]||(i[0]=(...c)=>e.unref(a)&&e.unref(a)(...c))}),[e.renderSlot(n.$slots,"default")],16))}},rt=["disabled","required","error","hint-id","value","pass-attrs"],W={__name:"BsSelectServer",props:{disabled:{default:!1},required:{},error:{},hintId:{},value:{},passAttrs:{default:""}},emits:[],setup(t,{emit:o}){const l=e.ref(!1),a=e.ref(null),r=e.ref(""),n=e.reactive([]),i=e.ref(null),c=(s,f=0)=>{var u,m;a.value||f>=4||(a.value=(m=(u=s.value)==null?void 0:u.querySelector)==null?void 0:m.call(u,"[data-slot]"),a.value||n.push(setTimeout(()=>c(s,f+1),50)))};return e.onMounted(()=>c(i,0)),e.watch(a,s=>{!s||l.value||(p(a),n.push(setTimeout(()=>{w(a),e.nextTick(()=>{r.value=customElements.get("bs-select")?"hydrated superhydrated":"superhydrated"})},100)),l.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>n.forEach(s=>clearTimeout(s))),(s,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?(e.openBlock(),e.createBlock(e.unref(b.ClientOnly),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:a.value},[e.renderSlot(s.$slots,"default")],8,["to"]))]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("bs-select",e.mergeProps({ref_key:"wcRef",ref:i,class:r.value,"data-bsds-ssr":"",disabled:t.disabled,required:t.required,error:t.error,"hint-id":t.hintId,value:t.value,"pass-attrs":t.passAttrs},s.$attrs),[e.createVNode(e.unref(b.ClientOnly),null,{fallback:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})],16,rt)],64))}},st="bs-select",nt={__name:"BsSelect",props:{disabled:{default:!1},required:{},error:{},hintId:{},value:{},passAttrs:{default:""}},emits:[],setup(t,{emit:o}){const l=t,{data:a}=y.useAsyncData(st,()=>{if(process.server)return!0});return(r,n)=>e.unref(a)?(e.openBlock(),e.createBlock(W,e.normalizeProps(e.mergeProps({key:0},{...l,...r.$attrs})),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16)):(e.openBlock(),e.createElementBlock("bs-select",e.normalizeProps(e.mergeProps({key:1},{...l,...r.$attrs})),[e.renderSlot(r.$slots,"default")],16))}};d.BsAccordion=Xe,d.BsAccordionServer=L,d.BsBadge=K,d.BsBanner=Ze,d.BsBannerServer=R,d.BsButton=Qe,d.BsButtonServer=z,d.BsCharacterCount=Q,d.BsChartBar=_,d.BsChartTable=te,d.BsCheckbox=le,d.BsCircleButton=se,d.BsDropdown=oe,d.BsDropdownOption=de,d.BsDropdownOptions=ue,d.BsFieldLayout=me,d.BsHint=be,d.BsInput=ke,d.BsInputAddon=X,d.BsInputField=ge,d.BsInputSearch=pe,d.BsLabel=et,d.BsLabelServer=O,d.BsPill=lt,d.BsPillServer=N,d.BsProfile=Ce,d.BsProfileDetails=Te,d.BsProfileImg=Ae,d.BsProfileLayout=Ve,d.BsRadio=qe,d.BsSelect=nt,d.BsSelectField=Re,d.BsSelectServer=W,d.BsSwitch=Oe,d.BsTextarea=We,d.BsTextareaField=Me,d.BsToast=Fe,d.BsToaster=Y,d.BsTooltip=Ue,Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwtdev/bsds-components-vue3",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "BSDS Vue3 Components",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"wwt-package-publisher": "^4.1.2"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@wwtdev/bsds-components": "^1.6.
|
|
62
|
+
"@wwtdev/bsds-components": "^1.6.4"
|
|
63
63
|
}
|
|
64
64
|
}
|