@wwtdev/bsds-components-vue3 1.7.0 → 1.8.1

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