@wwtdev/bsds-components-vue3 1.7.0 → 1.8.0

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