@wwtdev/bsds-components-vue3 1.16.1 → 1.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { openBlock as n, createElementBlock as r, mergeProps as d, renderSlot as f, computed as m, unref as b, createBlock as $, withCtx as B, createElementVNode as c, normalizeProps as L, guardReactiveProps as V, ref as v, onMounted as k, resolveDynamicComponent as p, createCommentVNode as q, toDisplayString as z, useAttrs as w, normalizeStyle as S, Fragment as D, renderList as F, normalizeClass as P, createVNode as E, onUnmounted as O } from "vue";
2
- import { ClientOnly as I } from "#components";
3
- import { v4 as R } from "uuid";
4
- const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], Ke = {
1
+ import { openBlock as i, createElementBlock as c, mergeProps as f, renderSlot as g, computed as B, unref as T, createBlock as x, withCtx as w, createElementVNode as b, normalizeProps as K, guardReactiveProps as Q, ref as $, onMounted as W, resolveDynamicComponent as H, createCommentVNode as j, toDisplayString as F, useAttrs as S, normalizeStyle as $e, Fragment as U, renderList as _, createVNode as Be, normalizeClass as ee, watch as pe, onUnmounted as te, createTextVNode as ye, nextTick as Te } from "vue";
2
+ import { ClientOnly as D } from "#components";
3
+ import { v4 as Ie } from "uuid";
4
+ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], Wt = {
5
5
  __name: "BsBadge",
6
6
  props: {
7
7
  color: {},
@@ -13,8 +13,8 @@ const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero
13
13
  showZero: {}
14
14
  },
15
15
  emits: [],
16
- setup(e, { emit: s }) {
17
- return (a, t) => (n(), r("bs-badge", d(a.$attrs, {
16
+ setup(e, { emit: l }) {
17
+ return (a, t) => (i(), c("bs-badge", f(a.$attrs, {
18
18
  color: e.color,
19
19
  count: e.count,
20
20
  "count-max": e.countMax,
@@ -23,23 +23,23 @@ const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero
23
23
  position: e.position,
24
24
  "show-zero": e.showZero
25
25
  }), [
26
- f(a.$slots, "default")
27
- ], 16, G));
26
+ g(a.$slots, "default")
27
+ ], 16, xe));
28
28
  }
29
- }, j = ["char-count", "char-max"], _e = {
29
+ }, we = ["char-count", "char-max"], Gt = {
30
30
  __name: "BsCharacterCount",
31
31
  props: {
32
32
  charCount: {},
33
33
  charMax: {}
34
34
  },
35
35
  emits: [],
36
- setup(e, { emit: s }) {
37
- return (a, t) => (n(), r("bs-character-count", d(a.$attrs, {
36
+ setup(e, { emit: l }) {
37
+ return (a, t) => (i(), c("bs-character-count", f(a.$attrs, {
38
38
  "char-count": e.charCount,
39
39
  "char-max": e.charMax
40
- }), null, 16, j));
40
+ }), null, 16, we));
41
41
  }
42
- }, N = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], et = {
42
+ }, Ce = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], Nt = {
43
43
  __name: "BsChartBar",
44
44
  props: {
45
45
  chartTitle: {},
@@ -54,8 +54,8 @@ const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero
54
54
  yLabel: { default: "" }
55
55
  },
56
56
  emits: [],
57
- setup(e, { emit: s }) {
58
- return (a, t) => (n(), r("bs-chart-bar", d(a.$attrs, {
57
+ setup(e, { emit: l }) {
58
+ return (a, t) => (i(), c("bs-chart-bar", f(a.$attrs, {
59
59
  "chart-title": e.chartTitle,
60
60
  data: e.data,
61
61
  dataIdxLabels: e.dataIdxLabels,
@@ -66,9 +66,9 @@ const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero
66
66
  stacked: e.stacked,
67
67
  "x-label": e.xLabel,
68
68
  "y-label": e.yLabel
69
- }), null, 16, N));
69
+ }), null, 16, Ce));
70
70
  }
71
- }, W = ["data", "dataIdxLabels", "table-title"], tt = {
71
+ }, ke = ["data", "dataIdxLabels", "table-title"], Ht = {
72
72
  __name: "BsChartTable",
73
73
  props: {
74
74
  data: {},
@@ -76,14 +76,14 @@ const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero
76
76
  tableTitle: { default: "" }
77
77
  },
78
78
  emits: [],
79
- setup(e, { emit: s }) {
80
- return (a, t) => (n(), r("bs-chart-table", d(a.$attrs, {
79
+ setup(e, { emit: l }) {
80
+ return (a, t) => (i(), c("bs-chart-table", f(a.$attrs, {
81
81
  data: e.data,
82
82
  dataIdxLabels: e.dataIdxLabels,
83
83
  "table-title": e.tableTitle
84
- }), null, 16, W));
84
+ }), null, 16, ke));
85
85
  }
86
- }, H = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"], at = {
86
+ }, Ae = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"], jt = {
87
87
  __name: "BsCheckbox",
88
88
  props: {
89
89
  label: {},
@@ -98,8 +98,8 @@ const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero
98
98
  modelValue: {}
99
99
  },
100
100
  emits: ["update:modelValue"],
101
- setup(e, { emit: s }) {
102
- return (a, t) => (n(), r("bs-checkbox", d(a.$attrs, {
101
+ setup(e, { emit: l }) {
102
+ return (a, t) => (i(), c("bs-checkbox", f(a.$attrs, {
103
103
  label: e.label,
104
104
  checked: e.checked || e.modelValue,
105
105
  "checked-partially": e.checkedPartially,
@@ -109,25 +109,25 @@ const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero
109
109
  "pass-attrs": e.passAttrs,
110
110
  required: e.required,
111
111
  size: e.size,
112
- onChange: t[0] || (t[0] = (l) => s("update:modelValue", l.target.checked))
113
- }), null, 16, H));
112
+ onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
113
+ }), null, 16, Ae));
114
114
  }
115
115
  };
116
- function T(e) {
117
- const s = m(() => {
118
- var l, i;
119
- return ((i = (l = e.href) == null ? void 0 : l.startsWith) == null ? void 0 : i.call(l, "/")) || !1;
120
- }), a = m(() => {
121
- var l, i;
122
- return s.value && ((l = e.router) == null ? void 0 : l.navigateTo) || ((i = e.router) == null ? void 0 : i.push) || null;
116
+ function M(e) {
117
+ const l = B(() => {
118
+ var n, r;
119
+ return ((r = (n = e.href) == null ? void 0 : n.startsWith) == null ? void 0 : r.call(n, "/")) || !1;
120
+ }), a = B(() => {
121
+ var n, r;
122
+ return l.value && ((n = e.router) == null ? void 0 : n.navigateTo) || ((r = e.router) == null ? void 0 : r.push) || null;
123
123
  });
124
- function t(l) {
125
- var i, o, h, u, g;
126
- a.value && ((o = (i = l.target.href) == null ? void 0 : i.endsWith) != null && o.call(i, e.href) || (g = (u = (h = l.target.closest("a")) == null ? void 0 : h.href) == null ? void 0 : u.endsWith) != null && g.call(u, e.href)) && (l.preventDefault(), a.value(e.href));
124
+ function t(n) {
125
+ var r, o, h, d, m;
126
+ a.value && ((o = (r = n.target.href) == null ? void 0 : r.endsWith) != null && o.call(r, e.href) || (m = (d = (h = n.target.closest("a")) == null ? void 0 : h.href) == null ? void 0 : d.endsWith) != null && m.call(d, e.href)) && (n.preventDefault(), a.value(e.href));
127
127
  }
128
128
  return { onLinkClick: t };
129
129
  }
130
- const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], lt = {
130
+ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], Ut = {
131
131
  __name: "BsCircleButton",
132
132
  props: {
133
133
  disabled: {},
@@ -143,9 +143,9 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
143
143
  router: {}
144
144
  },
145
145
  emits: [],
146
- setup(e, { emit: s }) {
147
- const a = e, { onLinkClick: t } = T(a);
148
- return (l, i) => (n(), r("bs-circle-button", d(l.$attrs, {
146
+ setup(e, { emit: l }) {
147
+ const a = e, { onLinkClick: t } = M(a);
148
+ return (n, r) => (i(), c("bs-circle-button", f(n.$attrs, {
149
149
  disabled: e.disabled,
150
150
  "ghost-btn": e.ghostBtn,
151
151
  "hover-effect": e.hoverEffect,
@@ -156,10 +156,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
156
156
  "pass-attrs": e.passAttrs,
157
157
  "text-btn": e.textBtn,
158
158
  size: e.size,
159
- onClick: i[0] || (i[0] = (...o) => b(t) && b(t)(...o))
160
- }), null, 16, U));
159
+ onClick: r[0] || (r[0] = (...o) => T(t) && T(t)(...o))
160
+ }), null, 16, Le));
161
161
  }
162
- }, Y = ["width", "top", "center", "right", "toggle-id", "container-id", "helper-text", "helper-description", "enter-controlled", "enter-trigger", "leave-trigger"], st = {
162
+ }, Ve = ["width", "top", "center", "right", "toggle-id", "container-id", "helper-text", "helper-description", "enter-controlled", "enter-trigger", "leave-trigger"], Yt = {
163
163
  __name: "BsDropdown",
164
164
  props: {
165
165
  width: { default: void 0 },
@@ -175,10 +175,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
175
175
  leaveTrigger: { default: !1 }
176
176
  },
177
177
  emits: ["close", "enterend", "leaveend"],
178
- setup(e, { emit: s }) {
179
- return (a, t) => (n(), $(b(I), null, {
180
- default: B(() => [
181
- c("bs-dropdown", d(a.$attrs, {
178
+ setup(e, { emit: l }) {
179
+ return (a, t) => (i(), x(T(D), null, {
180
+ default: w(() => [
181
+ b("bs-dropdown", f(a.$attrs, {
182
182
  width: e.width,
183
183
  top: e.top,
184
184
  center: e.center,
@@ -190,17 +190,17 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
190
190
  "enter-controlled": e.enterControlled,
191
191
  "enter-trigger": e.enterTrigger,
192
192
  "leave-trigger": e.leaveTrigger,
193
- onClose: t[0] || (t[0] = (l) => s("close", l.detail)),
194
- onEnterend: t[1] || (t[1] = (l) => s("enterend", l.detail)),
195
- onLeaveend: t[2] || (t[2] = (l) => s("leaveend", l.detail))
193
+ onClose: t[0] || (t[0] = (n) => l("close", n.detail)),
194
+ onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
195
+ onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
196
196
  }), [
197
- f(a.$slots, "default")
198
- ], 16, Y)
197
+ g(a.$slots, "default")
198
+ ], 16, Ve)
199
199
  ]),
200
200
  _: 3
201
201
  }));
202
202
  }
203
- }, X = ["value", "variant", "options-id", "selected", "focused", "index"], nt = {
203
+ }, ze = ["value", "variant", "options-id", "selected", "focused", "index"], Xt = {
204
204
  __name: "BsDropdownOption",
205
205
  props: {
206
206
  value: {},
@@ -211,21 +211,21 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
211
211
  index: {}
212
212
  },
213
213
  emits: ["optmouseenter", "optselect"],
214
- setup(e, { emit: s }) {
215
- return (a, t) => (n(), r("bs-dropdown-option", d(a.$attrs, {
214
+ setup(e, { emit: l }) {
215
+ return (a, t) => (i(), c("bs-dropdown-option", f(a.$attrs, {
216
216
  value: e.value,
217
217
  variant: e.variant,
218
218
  "options-id": e.optionsId,
219
219
  selected: e.selected,
220
220
  focused: e.focused,
221
221
  index: e.index,
222
- onOptmouseenter: t[0] || (t[0] = (l) => s("optmouseenter", l.detail)),
223
- onOptselect: t[1] || (t[1] = (l) => s("optselect", l.detail))
222
+ onOptmouseenter: t[0] || (t[0] = (n) => l("optmouseenter", n.detail)),
223
+ onOptselect: t[1] || (t[1] = (n) => l("optselect", n.detail))
224
224
  }), [
225
- f(a.$slots, "default")
226
- ], 16, X));
225
+ g(a.$slots, "default")
226
+ ], 16, ze));
227
227
  }
228
- }, Z = ["options-id", "visible", "focus-delay", "label", "selected-value"], it = {
228
+ }, De = ["options-id", "visible", "focus-delay", "label", "selected-value"], Zt = {
229
229
  __name: "BsDropdownOptionList",
230
230
  props: {
231
231
  optionsId: {},
@@ -235,25 +235,25 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
235
235
  selectedValue: {}
236
236
  },
237
237
  emits: ["optselected", "close"],
238
- setup(e, { emit: s }) {
239
- return (a, t) => (n(), $(b(I), null, {
240
- default: B(() => [
241
- c("bs-dropdown-option-list", d(a.$attrs, {
238
+ setup(e, { emit: l }) {
239
+ return (a, t) => (i(), x(T(D), null, {
240
+ default: w(() => [
241
+ b("bs-dropdown-option-list", f(a.$attrs, {
242
242
  "options-id": e.optionsId,
243
243
  visible: e.visible,
244
244
  "focus-delay": e.focusDelay,
245
245
  label: e.label,
246
246
  "selected-value": e.selectedValue,
247
- onOptselected: t[0] || (t[0] = (l) => s("optselected", l.detail)),
248
- onClose: t[1] || (t[1] = (l) => s("close", l.detail))
247
+ onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
248
+ onClose: t[1] || (t[1] = (n) => l("close", n.detail))
249
249
  }), [
250
- f(a.$slots, "default")
251
- ], 16, Z)
250
+ g(a.$slots, "default")
251
+ ], 16, De)
252
252
  ]),
253
253
  _: 3
254
254
  }));
255
255
  }
256
- }, J = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description", "right"], rt = {
256
+ }, qe = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description", "right"], Jt = {
257
257
  __name: "BsDropdownWithOptions",
258
258
  props: {
259
259
  toggleId: {},
@@ -272,10 +272,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
272
272
  right: { default: !1 }
273
273
  },
274
274
  emits: ["optselected", "close", "enterend", "leaveend"],
275
- setup(e, { emit: s }) {
276
- return (a, t) => (n(), $(b(I), null, {
277
- default: B(() => [
278
- c("bs-dropdown-with-options", d(a.$attrs, {
275
+ setup(e, { emit: l }) {
276
+ return (a, t) => (i(), x(T(D), null, {
277
+ default: w(() => [
278
+ b("bs-dropdown-with-options", f(a.$attrs, {
279
279
  "toggle-id": e.toggleId,
280
280
  "container-id": e.containerId,
281
281
  "options-id": e.optionsId,
@@ -290,18 +290,18 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
290
290
  "helper-text": e.helperText,
291
291
  "helper-description": e.helperDescription,
292
292
  right: e.right,
293
- onOptselected: t[0] || (t[0] = (l) => s("optselected", l.detail)),
294
- onClose: t[1] || (t[1] = (l) => s("close", l.detail)),
295
- onEnterend: t[2] || (t[2] = (l) => s("enterend", l.detail)),
296
- onLeaveend: t[3] || (t[3] = (l) => s("leaveend", l.detail))
293
+ onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
294
+ onClose: t[1] || (t[1] = (n) => l("close", n.detail)),
295
+ onEnterend: t[2] || (t[2] = (n) => l("enterend", n.detail)),
296
+ onLeaveend: t[3] || (t[3] = (n) => l("leaveend", n.detail))
297
297
  }), [
298
- f(a.$slots, "default")
299
- ], 16, J)
298
+ g(a.$slots, "default")
299
+ ], 16, qe)
300
300
  ]),
301
301
  _: 3
302
302
  }));
303
303
  }
304
- }, Q = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], dt = {
304
+ }, Pe = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], Kt = {
305
305
  __name: "BsFieldDetails",
306
306
  props: {
307
307
  charCount: {},
@@ -312,17 +312,17 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
312
312
  hintId: {}
313
313
  },
314
314
  emits: [],
315
- setup(e, { emit: s }) {
316
- return (a, t) => (n(), r("bs-field-details", d(a.$attrs, {
315
+ setup(e, { emit: l }) {
316
+ return (a, t) => (i(), c("bs-field-details", f(a.$attrs, {
317
317
  "char-count": e.charCount,
318
318
  "char-max": e.charMax,
319
319
  error: e.error,
320
320
  "error-msg": e.errorMsg,
321
321
  hint: e.hint,
322
322
  "hint-id": e.hintId
323
- }), null, 16, Q));
323
+ }), null, 16, Pe));
324
324
  }
325
- }, K = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], ot = {
325
+ }, Se = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], Qt = {
326
326
  __name: "BsFieldLayout",
327
327
  props: {
328
328
  charCount: {},
@@ -336,8 +336,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
336
336
  hintId: {}
337
337
  },
338
338
  emits: [],
339
- setup(e, { emit: s }) {
340
- return (a, t) => (n(), r("bs-field-layout", d(a.$attrs, {
339
+ setup(e, { emit: l }) {
340
+ return (a, t) => (i(), c("bs-field-layout", f(a.$attrs, {
341
341
  "char-count": e.charCount,
342
342
  "char-max": e.charMax,
343
343
  disabled: e.disabled,
@@ -348,10 +348,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
348
348
  required: e.required,
349
349
  "hint-id": e.hintId
350
350
  }), [
351
- f(a.$slots, "default")
352
- ], 16, K));
351
+ g(a.$slots, "default")
352
+ ], 16, Se));
353
353
  }
354
- }, _ = ["error", "hint-id", "hints"], ut = {
354
+ }, Me = ["error", "hint-id", "hints"], _t = {
355
355
  __name: "BsHint",
356
356
  props: {
357
357
  error: {},
@@ -359,14 +359,14 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
359
359
  hints: {}
360
360
  },
361
361
  emits: [],
362
- setup(e, { emit: s }) {
363
- return (a, t) => (n(), r("bs-hint", d(a.$attrs, {
362
+ setup(e, { emit: l }) {
363
+ return (a, t) => (i(), c("bs-hint", f(a.$attrs, {
364
364
  error: e.error,
365
365
  "hint-id": e.hintId,
366
366
  hints: e.hints
367
- }), null, 16, _));
367
+ }), null, 16, Me));
368
368
  }
369
- }, ee = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ct = {
369
+ }, Ee = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ea = {
370
370
  __name: "BsInput",
371
371
  props: {
372
372
  disabled: { default: !1 },
@@ -381,8 +381,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
381
381
  modelValue: {}
382
382
  },
383
383
  emits: ["update:modelValue"],
384
- setup(e, { emit: s }) {
385
- return (a, t) => (n(), r("bs-input", d(a.$attrs, {
384
+ setup(e, { emit: l }) {
385
+ return (a, t) => (i(), c("bs-input", f(a.$attrs, {
386
386
  disabled: e.disabled,
387
387
  error: e.error,
388
388
  "input-id": e.inputId,
@@ -392,29 +392,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
392
392
  type: e.type,
393
393
  value: e.value || e.modelValue,
394
394
  "hint-id": e.hintId,
395
- onInput: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
396
- }), null, 16, ee));
395
+ onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
396
+ }), null, 16, Ee));
397
397
  }
398
- }, te = ["disabled", "error", "multifocus", "variant"], ft = {
399
- __name: "BsInputAddon",
400
- props: {
401
- disabled: { default: !1 },
402
- error: { default: !1 },
403
- multifocus: { default: !1 },
404
- variant: {}
405
- },
406
- emits: [],
407
- setup(e, { emit: s }) {
408
- return (a, t) => (n(), r("bs-input-addon", d(a.$attrs, {
409
- disabled: e.disabled,
410
- error: e.error,
411
- multifocus: e.multifocus,
412
- variant: e.variant
413
- }), [
414
- f(a.$slots, "default")
415
- ], 16, te));
416
- }
417
- }, ae = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], ht = {
398
+ }, Oe = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], ta = {
418
399
  __name: "BsInputField",
419
400
  props: {
420
401
  disabled: { default: !1 },
@@ -432,8 +413,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
432
413
  modelValue: {}
433
414
  },
434
415
  emits: ["update:modelValue"],
435
- setup(e, { emit: s }) {
436
- return (a, t) => (n(), r("bs-input-field", d(a.$attrs, {
416
+ setup(e, { emit: l }) {
417
+ return (a, t) => (i(), c("bs-input-field", f(a.$attrs, {
437
418
  disabled: e.disabled,
438
419
  error: e.error,
439
420
  "error-msg": e.errorMsg,
@@ -446,10 +427,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
446
427
  required: e.required,
447
428
  type: e.type,
448
429
  value: e.value || e.modelValue,
449
- onInput: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
450
- }), null, 16, ae));
430
+ onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
431
+ }), null, 16, Oe));
451
432
  }
452
- }, le = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value", "hide-clear"], bt = {
433
+ }, Fe = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value", "hide-clear"], aa = {
453
434
  __name: "BsInputSearch",
454
435
  props: {
455
436
  disabled: { default: !1 },
@@ -462,8 +443,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
462
443
  modelValue: {}
463
444
  },
464
445
  emits: ["clear", "update:modelValue"],
465
- setup(e, { emit: s }) {
466
- return (a, t) => (n(), r("bs-input-search", d(a.$attrs, {
446
+ setup(e, { emit: l }) {
447
+ return (a, t) => (i(), c("bs-input-search", f(a.$attrs, {
467
448
  disabled: e.disabled,
468
449
  "pass-attrs": e.passAttrs,
469
450
  placeholder: e.placeholder,
@@ -471,24 +452,24 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
471
452
  "input-id": e.inputId,
472
453
  value: e.value || e.modelValue,
473
454
  "hide-clear": e.hideClear,
474
- onClear: t[0] || (t[0] = (l) => s("clear", l.detail)),
475
- onInput: t[1] || (t[1] = (l) => s("update:modelValue", l.target.value))
476
- }), null, 16, le));
455
+ onClear: t[0] || (t[0] = (n) => l("clear", n.detail)),
456
+ onInput: t[1] || (t[1] = (n) => l("update:modelValue", n.target.value))
457
+ }), null, 16, Fe));
477
458
  }
478
- }, se = ["size", "variant"], mt = {
459
+ }, Re = ["size", "variant"], na = {
479
460
  __name: "BsLoader",
480
461
  props: {
481
462
  size: {},
482
463
  variant: {}
483
464
  },
484
465
  emits: [],
485
- setup(e, { emit: s }) {
486
- return (a, t) => (n(), r("bs-loader", d(a.$attrs, {
466
+ setup(e, { emit: l }) {
467
+ return (a, t) => (i(), c("bs-loader", f(a.$attrs, {
487
468
  size: e.size,
488
469
  variant: e.variant
489
- }), null, 16, se));
470
+ }), null, 16, Re));
490
471
  }
491
- }, ne = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], gt = {
472
+ }, We = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], la = {
492
473
  __name: "BsModal",
493
474
  props: {
494
475
  alert: { default: !1 },
@@ -498,26 +479,26 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
498
479
  leaveTrigger: { default: !1 }
499
480
  },
500
481
  emits: ["close", "enterend", "leaveend"],
501
- setup(e, { emit: s }) {
502
- return (a, t) => (n(), $(b(I), null, {
503
- default: B(() => [
504
- c("bs-modal", d(a.$attrs, {
482
+ setup(e, { emit: l }) {
483
+ return (a, t) => (i(), x(T(D), null, {
484
+ default: w(() => [
485
+ b("bs-modal", f(a.$attrs, {
505
486
  alert: e.alert,
506
487
  "close-button": e.closeButton,
507
488
  "enter-controlled": e.enterControlled,
508
489
  "enter-trigger": e.enterTrigger,
509
490
  "leave-trigger": e.leaveTrigger,
510
- onClose: t[0] || (t[0] = (l) => s("close", l.detail)),
511
- onEnterend: t[1] || (t[1] = (l) => s("enterend", l.detail)),
512
- onLeaveend: t[2] || (t[2] = (l) => s("leaveend", l.detail))
491
+ onClose: t[0] || (t[0] = (n) => l("close", n.detail)),
492
+ onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
493
+ onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
513
494
  }), [
514
- f(a.$slots, "default")
515
- ], 16, ne)
495
+ g(a.$slots, "default")
496
+ ], 16, We)
516
497
  ]),
517
498
  _: 3
518
499
  }));
519
500
  }
520
- }, ie = ["enter-controlled", "enter-trigger", "leave-trigger"], vt = {
501
+ }, Ge = ["enter-controlled", "enter-trigger", "leave-trigger"], sa = {
521
502
  __name: "BsOverlay",
522
503
  props: {
523
504
  enterControlled: { default: !1 },
@@ -525,21 +506,21 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
525
506
  leaveTrigger: { default: !1 }
526
507
  },
527
508
  emits: ["enterend", "leaveend"],
528
- setup(e, { emit: s }) {
529
- return (a, t) => (n(), $(b(I), null, {
530
- default: B(() => [
531
- c("bs-overlay", d(a.$attrs, {
509
+ setup(e, { emit: l }) {
510
+ return (a, t) => (i(), x(T(D), null, {
511
+ default: w(() => [
512
+ b("bs-overlay", f(a.$attrs, {
532
513
  "enter-controlled": e.enterControlled,
533
514
  "enter-trigger": e.enterTrigger,
534
515
  "leave-trigger": e.leaveTrigger,
535
- onEnterend: t[0] || (t[0] = (l) => s("enterend", l.detail)),
536
- onLeaveend: t[1] || (t[1] = (l) => s("leaveend", l.detail))
537
- }), null, 16, ie)
516
+ onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
517
+ onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
518
+ }), null, 16, Ge)
538
519
  ]),
539
520
  _: 1
540
521
  }));
541
522
  }
542
- }, re = ["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"], $t = {
523
+ }, Ne = ["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"], ia = {
543
524
  __name: "BsPagination",
544
525
  props: {
545
526
  showFirstLastButtons: { default: !1 },
@@ -560,8 +541,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
560
541
  resultsIncrements: {}
561
542
  },
562
543
  emits: ["selchange"],
563
- setup(e, { emit: s }) {
564
- return (a, t) => (n(), r("bs-pagination", d(a.$attrs, {
544
+ setup(e, { emit: l }) {
545
+ return (a, t) => (i(), c("bs-pagination", f(a.$attrs, {
565
546
  "show-first-last-buttons": e.showFirstLastButtons,
566
547
  "prev-page-text": e.prevPageText,
567
548
  "first-page-text": e.firstPageText,
@@ -578,10 +559,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
578
559
  "items-per-group": e.itemsPerGroup,
579
560
  "items-count": e.itemsCount,
580
561
  "results-increments": e.resultsIncrements,
581
- onSelchange: t[0] || (t[0] = (l) => s("selchange", l.detail))
582
- }), null, 16, re));
562
+ onSelchange: t[0] || (t[0] = (n) => l("selchange", n.detail))
563
+ }), null, 16, Ne));
583
564
  }
584
- }, de = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], Bt = {
565
+ }, He = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], ra = {
585
566
  __name: "BsProfile",
586
567
  props: {
587
568
  layout: {},
@@ -600,9 +581,9 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
600
581
  router: {}
601
582
  },
602
583
  emits: ["action-toggled"],
603
- setup(e, { emit: s }) {
604
- const a = e, { onLinkClick: t } = T(a);
605
- return (l, i) => (n(), r("bs-profile", d(l.$attrs, {
584
+ setup(e, { emit: l }) {
585
+ const a = e, { onLinkClick: t } = M(a);
586
+ return (n, r) => (i(), c("bs-profile", f(n.$attrs, {
606
587
  layout: e.layout,
607
588
  href: e.href,
608
589
  "image-src": e.imageSrc,
@@ -616,11 +597,11 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
616
597
  "action-icon": e.actionIcon,
617
598
  "misc-meta": e.miscMeta,
618
599
  "misc-meta-icon": e.miscMetaIcon,
619
- onActionToggled: i[0] || (i[0] = (o) => s("action-toggled", o.detail)),
620
- onClick: i[1] || (i[1] = (...o) => b(t) && b(t)(...o))
621
- }), null, 16, de));
600
+ onActionToggled: r[0] || (r[0] = (o) => l("action-toggled", o.detail)),
601
+ onClick: r[1] || (r[1] = (...o) => T(t) && T(t)(...o))
602
+ }), null, 16, He));
622
603
  }
623
- }, oe = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], It = {
604
+ }, je = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], da = {
624
605
  __name: "BsProfileDetails",
625
606
  props: {
626
607
  profileName: {},
@@ -633,8 +614,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
633
614
  miscMetaIcon: {}
634
615
  },
635
616
  emits: ["action-toggled"],
636
- setup(e, { emit: s }) {
637
- return (a, t) => (n(), r("bs-profile-details", d(a.$attrs, {
617
+ setup(e, { emit: l }) {
618
+ return (a, t) => (i(), c("bs-profile-details", f(a.$attrs, {
638
619
  "profile-name": e.profileName,
639
620
  company: e.company,
640
621
  "job-title": e.jobTitle,
@@ -643,10 +624,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
643
624
  "action-icon": e.actionIcon,
644
625
  "misc-meta": e.miscMeta,
645
626
  "misc-meta-icon": e.miscMetaIcon,
646
- onActionToggled: t[0] || (t[0] = (l) => s("action-toggled", l.detail))
647
- }), null, 16, oe));
627
+ onActionToggled: t[0] || (t[0] = (n) => l("action-toggled", n.detail))
628
+ }), null, 16, je));
648
629
  }
649
- }, ue = ["src", "size", "initials", "profile-name"], xt = {
630
+ }, Ue = ["src", "size", "initials", "profile-name"], oa = {
650
631
  __name: "BsProfileImg",
651
632
  props: {
652
633
  src: {},
@@ -655,15 +636,15 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
655
636
  profileName: {}
656
637
  },
657
638
  emits: [],
658
- setup(e, { emit: s }) {
659
- return (a, t) => (n(), r("bs-profile-img", d(a.$attrs, {
639
+ setup(e, { emit: l }) {
640
+ return (a, t) => (i(), c("bs-profile-img", f(a.$attrs, {
660
641
  src: e.src,
661
642
  size: e.size,
662
643
  initials: e.initials,
663
644
  "profile-name": e.profileName
664
- }), null, 16, ue));
645
+ }), null, 16, Ue));
665
646
  }
666
- }, ce = ["layout", "href", "pass-attrs"], yt = {
647
+ }, Ye = ["layout", "href", "pass-attrs"], ua = {
667
648
  __name: "BsProfileLayout",
668
649
  props: {
669
650
  layout: { default: "vertical" },
@@ -672,18 +653,18 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
672
653
  router: {}
673
654
  },
674
655
  emits: [],
675
- setup(e, { emit: s }) {
676
- const a = e, { onLinkClick: t } = T(a);
677
- return (l, i) => (n(), r("bs-profile-layout", d(l.$attrs, {
656
+ setup(e, { emit: l }) {
657
+ const a = e, { onLinkClick: t } = M(a);
658
+ return (n, r) => (i(), c("bs-profile-layout", f(n.$attrs, {
678
659
  layout: e.layout,
679
660
  href: e.href,
680
661
  "pass-attrs": e.passAttrs,
681
- onClick: i[0] || (i[0] = (...o) => b(t) && b(t)(...o))
662
+ onClick: r[0] || (r[0] = (...o) => T(t) && T(t)(...o))
682
663
  }), [
683
- f(l.$slots, "default")
684
- ], 16, ce));
664
+ g(n.$slots, "default")
665
+ ], 16, Ye));
685
666
  }
686
- }, fe = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], Tt = {
667
+ }, Xe = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], ca = {
687
668
  __name: "BsRadio",
688
669
  props: {
689
670
  label: {},
@@ -698,8 +679,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
698
679
  modelValue: {}
699
680
  },
700
681
  emits: ["update:modelValue"],
701
- setup(e, { emit: s }) {
702
- return (a, t) => (n(), r("bs-radio", d(a.$attrs, {
682
+ setup(e, { emit: l }) {
683
+ return (a, t) => (i(), c("bs-radio", f(a.$attrs, {
703
684
  label: e.label,
704
685
  checked: e.checked || e.modelValue === e.value,
705
686
  disabled: e.disabled,
@@ -709,10 +690,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
709
690
  required: e.required,
710
691
  size: e.size,
711
692
  value: e.value,
712
- onChange: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
713
- }), null, 16, fe));
693
+ onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
694
+ }), null, 16, Xe));
714
695
  }
715
- }, he = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], Ct = {
696
+ }, Ze = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], fa = {
716
697
  __name: "BsSelectField",
717
698
  props: {
718
699
  disabled: { default: !1 },
@@ -730,8 +711,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
730
711
  modelValue: {}
731
712
  },
732
713
  emits: ["update:modelValue"],
733
- setup(e, { emit: s }) {
734
- return (a, t) => (n(), r("bs-select-field", d(a.$attrs, {
714
+ setup(e, { emit: l }) {
715
+ return (a, t) => (i(), c("bs-select-field", f(a.$attrs, {
735
716
  disabled: e.disabled,
736
717
  error: e.error,
737
718
  "error-msg": e.errorMsg,
@@ -744,10 +725,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
744
725
  value: e.value || e.modelValue,
745
726
  "pass-attrs": e.passAttrs,
746
727
  data: e.data,
747
- onChange: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
748
- }), null, 16, he));
728
+ onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
729
+ }), null, 16, Ze));
749
730
  }
750
- }, be = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], wt = {
731
+ }, Je = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], ha = {
751
732
  __name: "BsSwitch",
752
733
  props: {
753
734
  checked: { default: !1 },
@@ -762,8 +743,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
762
743
  modelValue: {}
763
744
  },
764
745
  emits: ["update:modelValue"],
765
- setup(e, { emit: s }) {
766
- return (a, t) => (n(), r("bs-switch", d(a.$attrs, {
746
+ setup(e, { emit: l }) {
747
+ return (a, t) => (i(), c("bs-switch", f(a.$attrs, {
767
748
  checked: e.checked || e.modelValue,
768
749
  disabled: e.disabled,
769
750
  "hide-label": e.hideLabel,
@@ -773,42 +754,25 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
773
754
  label: e.label,
774
755
  "pass-attrs": e.passAttrs,
775
756
  size: e.size,
776
- onChange: t[0] || (t[0] = (l) => s("update:modelValue", l.target.checked))
777
- }), null, 16, be));
778
- }
779
- }, me = ["active-tab-id", "hidden", "panel-id"], kt = {
780
- __name: "BsTab",
781
- props: {
782
- activeTabId: {},
783
- hidden: { default: !1 },
784
- panelId: {}
785
- },
786
- emits: [],
787
- setup(e, { emit: s }) {
788
- return (a, t) => (n(), r("bs-tab", d(a.$attrs, {
789
- "active-tab-id": e.activeTabId,
790
- hidden: e.hidden,
791
- "panel-id": e.panelId
792
- }), [
793
- f(a.$slots, "default")
794
- ], 16, me));
757
+ onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
758
+ }), null, 16, Je));
795
759
  }
796
- }, ge = ["active-tab-id", "tab-id"], pt = {
760
+ }, Ke = ["active-tab-id", "tab-id"], ba = {
797
761
  __name: "BsTabPanel",
798
762
  props: {
799
763
  activeTabId: {},
800
764
  tabId: {}
801
765
  },
802
766
  emits: [],
803
- setup(e, { emit: s }) {
804
- return (a, t) => (n(), r("bs-tab-panel", d(a.$attrs, {
767
+ setup(e, { emit: l }) {
768
+ return (a, t) => (i(), c("bs-tab-panel", f(a.$attrs, {
805
769
  "active-tab-id": e.activeTabId,
806
770
  "tab-id": e.tabId
807
771
  }), [
808
- f(a.$slots, "default")
809
- ], 16, ge));
772
+ g(a.$slots, "default")
773
+ ], 16, Ke));
810
774
  }
811
- }, ve = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], At = {
775
+ }, Qe = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], va = {
812
776
  __name: "BsTextarea",
813
777
  props: {
814
778
  disabled: { default: !1 },
@@ -823,8 +787,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
823
787
  modelValue: {}
824
788
  },
825
789
  emits: ["update:modelValue"],
826
- setup(e, { emit: s }) {
827
- return (a, t) => (n(), r("bs-textarea", d(a.$attrs, {
790
+ setup(e, { emit: l }) {
791
+ return (a, t) => (i(), c("bs-textarea", f(a.$attrs, {
828
792
  disabled: e.disabled,
829
793
  error: e.error,
830
794
  "input-id": e.inputId,
@@ -834,10 +798,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
834
798
  rows: e.rows,
835
799
  value: e.value || e.modelValue,
836
800
  "hint-id": e.hintId,
837
- onInput: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
838
- }), null, 16, ve));
801
+ onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
802
+ }), null, 16, Qe));
839
803
  }
840
- }, $e = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], Lt = {
804
+ }, _e = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], ma = {
841
805
  __name: "BsTextareaField",
842
806
  props: {
843
807
  charMax: {},
@@ -856,8 +820,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
856
820
  modelValue: {}
857
821
  },
858
822
  emits: ["update:modelValue"],
859
- setup(e, { emit: s }) {
860
- return (a, t) => (n(), r("bs-textarea-field", d(a.$attrs, {
823
+ setup(e, { emit: l }) {
824
+ return (a, t) => (i(), c("bs-textarea-field", f(a.$attrs, {
861
825
  "char-max": e.charMax,
862
826
  disabled: e.disabled,
863
827
  error: e.error,
@@ -871,10 +835,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
871
835
  rows: e.rows,
872
836
  value: e.value || e.modelValue,
873
837
  "pass-attrs": e.passAttrs,
874
- onInput: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
875
- }), null, 16, $e));
838
+ onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
839
+ }), null, 16, _e));
876
840
  }
877
- }, Be = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Vt = {
841
+ }, et = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], ga = {
878
842
  __name: "BsToast",
879
843
  props: {
880
844
  toastId: {},
@@ -886,10 +850,10 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
886
850
  leaveTrigger: { default: !1 }
887
851
  },
888
852
  emits: ["dismiss", "enterend", "leaveend"],
889
- setup(e, { emit: s }) {
890
- return (a, t) => (n(), $(b(I), null, {
891
- default: B(() => [
892
- c("bs-toast", d(a.$attrs, {
853
+ setup(e, { emit: l }) {
854
+ return (a, t) => (i(), x(T(D), null, {
855
+ default: w(() => [
856
+ b("bs-toast", f(a.$attrs, {
893
857
  "toast-id": e.toastId,
894
858
  variant: e.variant,
895
859
  stacked: e.stacked,
@@ -897,62 +861,62 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
897
861
  "enter-controlled": e.enterControlled,
898
862
  "enter-trigger": e.enterTrigger,
899
863
  "leave-trigger": e.leaveTrigger,
900
- onDismiss: t[0] || (t[0] = (l) => s("dismiss", l.detail)),
901
- onEnterend: t[1] || (t[1] = (l) => s("enterend", l.detail)),
902
- onLeaveend: t[2] || (t[2] = (l) => s("leaveend", l.detail))
864
+ onDismiss: t[0] || (t[0] = (n) => l("dismiss", n.detail)),
865
+ onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
866
+ onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
903
867
  }), [
904
- f(a.$slots, "default")
905
- ], 16, Be)
868
+ g(a.$slots, "default")
869
+ ], 16, et)
906
870
  ]),
907
871
  _: 3
908
872
  }));
909
873
  }
910
- }, qt = {
874
+ }, $a = {
911
875
  __name: "BsToastActions",
912
876
  props: {},
913
877
  emits: ["defaultDismiss"],
914
- setup(e, { emit: s }) {
915
- return (a, t) => (n(), r("bs-toast-actions", d(a.$attrs, {
916
- "on:defaultDismiss": t[0] || (t[0] = (l) => s("defaultDismiss", l.detail))
878
+ setup(e, { emit: l }) {
879
+ return (a, t) => (i(), c("bs-toast-actions", f(a.$attrs, {
880
+ "on:defaultDismiss": t[0] || (t[0] = (n) => l("defaultDismiss", n.detail))
917
881
  }), [
918
- f(a.$slots, "default")
882
+ g(a.$slots, "default")
919
883
  ], 16));
920
884
  }
921
- }, zt = {
885
+ }, Ba = {
922
886
  __name: "BsToastBody",
923
887
  props: {},
924
888
  emits: [],
925
- setup(e, { emit: s }) {
926
- return (a, t) => (n(), r("bs-toast-body", L(V(a.$attrs)), [
927
- f(a.$slots, "default")
889
+ setup(e, { emit: l }) {
890
+ return (a, t) => (i(), c("bs-toast-body", K(Q(a.$attrs)), [
891
+ g(a.$slots, "default")
928
892
  ], 16));
929
893
  }
930
- }, Ie = ["variant"], Dt = {
894
+ }, tt = ["variant"], pa = {
931
895
  __name: "BsToastHeader",
932
896
  props: {
933
897
  variant: {}
934
898
  },
935
899
  emits: [],
936
- setup(e, { emit: s }) {
937
- return (a, t) => (n(), r("bs-toast-header", d(a.$attrs, { variant: e.variant }), [
938
- f(a.$slots, "default")
939
- ], 16, Ie));
900
+ setup(e, { emit: l }) {
901
+ return (a, t) => (i(), c("bs-toast-header", f(a.$attrs, { variant: e.variant }), [
902
+ g(a.$slots, "default")
903
+ ], 16, tt));
940
904
  }
941
- }, Pt = {
905
+ }, ya = {
942
906
  __name: "BsToaster",
943
907
  props: {},
944
908
  emits: [],
945
- setup(e, { emit: s }) {
946
- return (a, t) => (n(), $(b(I), null, {
947
- default: B(() => [
948
- c("bs-toaster", L(V(a.$attrs)), [
949
- f(a.$slots, "default")
909
+ setup(e, { emit: l }) {
910
+ return (a, t) => (i(), x(T(D), null, {
911
+ default: w(() => [
912
+ b("bs-toaster", K(Q(a.$attrs)), [
913
+ g(a.$slots, "default")
950
914
  ], 16)
951
915
  ]),
952
916
  _: 3
953
917
  }));
954
918
  }
955
- }, xe = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], Mt = {
919
+ }, at = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], Ta = {
956
920
  __name: "BsTransition",
957
921
  props: {
958
922
  enterClass: { default: void 0 },
@@ -966,8 +930,8 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
966
930
  leaveTrigger: { default: !1 }
967
931
  },
968
932
  emits: ["enterend", "leaveend"],
969
- setup(e, { emit: s }) {
970
- return (a, t) => (n(), r("bs-transition", d(a.$attrs, {
933
+ setup(e, { emit: l }) {
934
+ return (a, t) => (i(), c("bs-transition", f(a.$attrs, {
971
935
  "enter-class": e.enterClass,
972
936
  "enter-attribute": e.enterAttribute,
973
937
  "enter-duration": e.enterDuration,
@@ -977,17 +941,17 @@ const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
977
941
  "enter-controlled": e.enterControlled,
978
942
  "enter-trigger": e.enterTrigger,
979
943
  "leave-trigger": e.leaveTrigger,
980
- onEnterend: t[0] || (t[0] = (l) => s("enterend", l.detail)),
981
- onLeaveend: t[1] || (t[1] = (l) => s("leaveend", l.detail))
944
+ onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
945
+ onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
982
946
  }), [
983
- f(a.$slots, "default")
984
- ], 16, xe));
947
+ g(a.$slots, "default")
948
+ ], 16, at));
985
949
  }
986
950
  };
987
- function M() {
988
- return R();
951
+ function R() {
952
+ return Ie();
989
953
  }
990
- const ye = ["data-stacked"], Te = ["data-open"], Ce = ["aria-controls", "aria-expanded"], we = ["id", "aria-level"], ke = /* @__PURE__ */ c("bs-icon-caret-down", { "data-position": "end" }, null, -1), pe = ["aria-labelledby", "data-open", "id"], Ae = { "data-slot": "" }, St = {
954
+ const nt = ["data-stacked"], lt = ["data-open"], st = ["aria-controls", "aria-expanded"], it = ["id", "aria-level"], rt = /* @__PURE__ */ b("bs-icon-caret-down", { "data-position": "end" }, null, -1), dt = ["aria-labelledby", "data-open", "id"], ot = { "data-slot": "" }, Ia = {
991
955
  __name: "BsAccordion",
992
956
  props: {
993
957
  controlled: { default: !1 },
@@ -999,93 +963,93 @@ const ye = ["data-stacked"], Te = ["data-open"], Ce = ["aria-controls", "aria-ex
999
963
  stacked: { default: !1 }
1000
964
  },
1001
965
  emits: ["toggled"],
1002
- setup(e, { emit: s }) {
1003
- const a = e, t = v(null), l = v(""), i = v(""), o = v(!1), h = m(() => a.icon ? `bs-icon-${a.icon}` : null), u = m(() => a.openItemId === t.value.id || a.openItem === !0), g = m(() => a.controlled ? u.value : o.value);
1004
- k(() => {
1005
- var x;
1006
- (x = t.value) != null && x.id || t.value.setAttribute("id", M()), l.value = t.value.id + "-content", i.value = t.value.id + "-title";
966
+ setup(e, { emit: l }) {
967
+ const a = e, t = $(null), n = $(""), r = $(""), o = $(!1), h = B(() => a.icon ? `bs-icon-${a.icon}` : null), d = B(() => a.openItemId === t.value.id || a.openItem === !0), m = B(() => a.controlled ? d.value : o.value);
968
+ W(() => {
969
+ var p;
970
+ (p = t.value) != null && p.id || t.value.setAttribute("id", R()), n.value = t.value.id + "-content", r.value = t.value.id + "-title";
1007
971
  });
1008
- function C() {
1009
- s("toggled", t.value.id), a.controlled || (o.value = !o.value);
972
+ function A() {
973
+ l("toggled", t.value.id), a.controlled || (o.value = !o.value);
1010
974
  }
1011
- return (x, y) => (n(), r("bs-host", {
975
+ return (p, I) => (i(), c("bs-host", {
1012
976
  ref_key: "hostRef",
1013
977
  ref: t,
1014
978
  class: "bs-accordion",
1015
979
  "data-component": "bs-accordion",
1016
980
  "data-stacked": e.stacked
1017
981
  }, [
1018
- c("header", {
982
+ b("header", {
1019
983
  part: "header",
1020
- "data-open": g.value
984
+ "data-open": m.value
1021
985
  }, [
1022
- c("button", {
1023
- "aria-controls": l.value,
1024
- "aria-expanded": g.value,
986
+ b("button", {
987
+ "aria-controls": n.value,
988
+ "aria-expanded": m.value,
1025
989
  type: "button",
1026
- onClick: C
990
+ onClick: A
1027
991
  }, [
1028
- h.value ? (n(), $(p(h.value), {
992
+ h.value ? (i(), x(H(h.value), {
1029
993
  key: 0,
1030
994
  "data-position": "start"
1031
- })) : q("", !0),
1032
- c("span", {
1033
- id: i.value,
995
+ })) : j("", !0),
996
+ b("span", {
997
+ id: r.value,
1034
998
  "aria-level": e.headingLevel,
1035
999
  role: "heading"
1036
- }, z(e.headerText), 9, we),
1037
- ke
1038
- ], 8, Ce)
1039
- ], 8, Te),
1040
- c("div", {
1041
- "aria-labelledby": i.value,
1000
+ }, F(e.headerText), 9, it),
1001
+ rt
1002
+ ], 8, st)
1003
+ ], 8, lt),
1004
+ b("div", {
1005
+ "aria-labelledby": r.value,
1042
1006
  class: "bs-accordion-content",
1043
- "data-open": g.value,
1044
- id: l.value,
1007
+ "data-open": m.value,
1008
+ id: n.value,
1045
1009
  part: "content",
1046
1010
  role: "region"
1047
1011
  }, [
1048
- c("div", Ae, [
1049
- f(x.$slots, "default")
1012
+ b("div", ot, [
1013
+ g(p.$slots, "default")
1050
1014
  ])
1051
- ], 8, pe)
1052
- ], 8, ye));
1015
+ ], 8, dt)
1016
+ ], 8, nt));
1053
1017
  }
1054
1018
  };
1055
- const Le = ["data-dismissed"], Ve = { class: "bs-banner-content" }, qe = /* @__PURE__ */ c("bs-icon-warning", {
1019
+ const ut = ["data-dismissed"], ct = { class: "bs-banner-content" }, ft = /* @__PURE__ */ b("bs-icon-warning", {
1056
1020
  size: "lg",
1057
1021
  class: "bs-banner-warning-icon"
1058
- }, null, -1), ze = { "data-slot": "" }, De = /* @__PURE__ */ c("bs-icon-close", null, null, -1), Pe = [
1059
- De
1060
- ], Ft = {
1022
+ }, null, -1), ht = { "data-slot": "" }, bt = /* @__PURE__ */ b("bs-icon-close", null, null, -1), vt = [
1023
+ bt
1024
+ ], xa = {
1061
1025
  __name: "BsBanner",
1062
1026
  emits: ["dismiss"],
1063
- setup(e, { emit: s }) {
1064
- const a = v(!1);
1027
+ setup(e, { emit: l }) {
1028
+ const a = $(!1);
1065
1029
  function t() {
1066
- a.value = !0, s("dismiss");
1030
+ a.value = !0, l("dismiss");
1067
1031
  }
1068
- return (l, i) => (n(), r("bs-host", {
1032
+ return (n, r) => (i(), c("bs-host", {
1069
1033
  role: "alert",
1070
1034
  class: "bs-banner",
1071
1035
  "data-component": "bs-banner",
1072
1036
  "data-dismissed": a.value ? !0 : void 0
1073
1037
  }, [
1074
- c("div", Ve, [
1075
- qe,
1076
- c("div", ze, [
1077
- f(l.$slots, "default")
1038
+ b("div", ct, [
1039
+ ft,
1040
+ b("div", ht, [
1041
+ g(n.$slots, "default")
1078
1042
  ]),
1079
- c("button", {
1043
+ b("button", {
1080
1044
  type: "button",
1081
1045
  title: "Close Banner",
1082
1046
  onClick: t
1083
- }, Pe)
1047
+ }, vt)
1084
1048
  ])
1085
- ], 8, Le));
1049
+ ], 8, ut));
1086
1050
  }
1087
1051
  };
1088
- const Me = ["data-disabled"], Et = {
1052
+ const mt = ["data-disabled"], wa = {
1089
1053
  __name: "BsButton",
1090
1054
  props: {
1091
1055
  variant: {},
@@ -1098,25 +1062,25 @@ const Me = ["data-disabled"], Et = {
1098
1062
  size: {}
1099
1063
  },
1100
1064
  setup(e) {
1101
- const s = e, a = v(null), t = v(null), { onLinkClick: l } = T(s), i = w(), o = m(() => {
1102
- const u = {
1103
- download: i.download,
1104
- target: i.target
1065
+ const l = e, a = $(null), t = $(null), { onLinkClick: n } = M(l), r = S(), o = B(() => {
1066
+ const d = {
1067
+ download: r.download,
1068
+ target: r.target
1105
1069
  };
1106
- return s.href ? (u.title = i.title, s.disabled && (u["aria-disabled"] = "true", u.tabindex = "-1")) : (u.type = i.type || "button", u.autcomplete = "off"), u;
1070
+ return l.href ? (d.title = r.title, l.disabled && (d["aria-disabled"] = "true", d.tabindex = "-1")) : (d.type = r.type || "button", d.autcomplete = "off"), d;
1107
1071
  });
1108
- function h(u) {
1109
- var g, C, x, y, A;
1110
- (s.disabled || ((C = (g = a.value) == null ? void 0 : g.dataset) == null ? void 0 : C.disabled) === "true" || (x = t.value) != null && x.disabled || ((A = (y = t.value) == null ? void 0 : y.getAttribute) == null ? void 0 : A.call(y, "aria-disabled")) === "true") && (u.preventDefault(), u.stopImmediatePropagation());
1072
+ function h(d) {
1073
+ var m, A, p, I, L;
1074
+ (l.disabled || ((A = (m = a.value) == null ? void 0 : m.dataset) == null ? void 0 : A.disabled) === "true" || (p = t.value) != null && p.disabled || ((L = (I = t.value) == null ? void 0 : I.getAttribute) == null ? void 0 : L.call(I, "aria-disabled")) === "true") && (d.preventDefault(), d.stopImmediatePropagation());
1111
1075
  }
1112
- return (u, g) => (n(), r("bs-host", {
1076
+ return (d, m) => (i(), c("bs-host", {
1113
1077
  ref_key: "hostRef",
1114
1078
  ref: a,
1115
1079
  "data-component": "bs-button",
1116
1080
  "data-disabled": e.disabled,
1117
1081
  onClickCapture: h
1118
1082
  }, [
1119
- (n(), $(p(e.href ? "a" : "button"), d({
1083
+ (i(), x(H(e.href ? "a" : "button"), f({
1120
1084
  "data-slot": "",
1121
1085
  class: "bs-button",
1122
1086
  "data-ghost": e.ghostBtn,
@@ -1127,48 +1091,48 @@ const Me = ["data-disabled"], Et = {
1127
1091
  href: e.href,
1128
1092
  ref_key: "childRef",
1129
1093
  ref: t
1130
- }, o.value, { onClick: b(l) }), {
1131
- default: B(() => [
1132
- f(u.$slots, "default")
1094
+ }, o.value, { onClick: T(n) }), {
1095
+ default: w(() => [
1096
+ g(d.$slots, "default")
1133
1097
  ]),
1134
1098
  _: 3
1135
1099
  }, 16, ["data-ghost", "data-size", "data-text", "data-variant", "disabled", "href", "onClick"]))
1136
- ], 40, Me));
1100
+ ], 40, mt));
1137
1101
  }
1138
1102
  };
1139
- const Se = ["offset", "stop-color"], Ot = {
1103
+ const gt = ["offset", "stop-color"], Ca = {
1140
1104
  __name: "BsIconGradientWrapper",
1141
1105
  setup(e) {
1142
- const s = [
1106
+ const l = [
1143
1107
  { offset: 0.1326, color: "#EE282A" },
1144
1108
  { offset: 0.5466, color: "#1C0087" },
1145
1109
  { offset: 0.9715, color: "#0086EA" }
1146
- ], a = `svg-gradient-${M()}`, t = v(null), l = v(null);
1147
- function i() {
1110
+ ], a = `svg-gradient-${R()}`, t = $(null), n = $(null);
1111
+ function r() {
1148
1112
  var h;
1149
1113
  const o = t.value.querySelector(".svg-wrapper svg");
1150
- (h = l.value) == null || h.setAttribute("viewBox", (o == null ? void 0 : o.getAttribute("viewBox")) || "0 0 0 0");
1114
+ (h = n.value) == null || h.setAttribute("viewBox", (o == null ? void 0 : o.getAttribute("viewBox")) || "0 0 0 0");
1151
1115
  }
1152
- return k(i), (o, h) => (n(), r("bs-host", {
1116
+ return W(r), (o, h) => (i(), c("bs-host", {
1153
1117
  ref_key: "hostRef",
1154
1118
  ref: t,
1155
1119
  "data-component": "bs-icon-gradient-wrapper"
1156
1120
  }, [
1157
- c("span", {
1121
+ b("span", {
1158
1122
  class: "svg-wrapper",
1159
- style: S(`fill: url(#${a});`),
1123
+ style: $e(`fill: url(#${a});`),
1160
1124
  "data-slot": ""
1161
1125
  }, [
1162
- f(o.$slots, "default")
1126
+ g(o.$slots, "default")
1163
1127
  ], 4),
1164
- (n(), r("svg", {
1128
+ (i(), c("svg", {
1165
1129
  xmlns: "http://www.w3.org/2000/svg",
1166
1130
  width: "0",
1167
1131
  height: "0",
1168
1132
  ref_key: "gradientSvgRef",
1169
- ref: l
1133
+ ref: n
1170
1134
  }, [
1171
- c("linearGradient", {
1135
+ b("linearGradient", {
1172
1136
  id: a,
1173
1137
  x1: "0",
1174
1138
  y1: "0",
@@ -1176,20 +1140,46 @@ const Se = ["offset", "stop-color"], Ot = {
1176
1140
  y2: "100%",
1177
1141
  gradientUnits: "userSpaceOnUse"
1178
1142
  }, [
1179
- (n(), r(D, null, F(s, (u) => c("stop", {
1180
- key: u.offset,
1181
- offset: u.offset,
1182
- "stop-color": u.color
1183
- }, null, 8, Se)), 64))
1143
+ (i(), c(U, null, _(l, (d) => b("stop", {
1144
+ key: d.offset,
1145
+ offset: d.offset,
1146
+ "stop-color": d.color
1147
+ }, null, 8, gt)), 64))
1184
1148
  ])
1185
1149
  ], 512))
1186
1150
  ], 512));
1187
1151
  }
1188
1152
  };
1189
- const Fe = ["data-disabled", "htmlFor"], Ee = { "data-slot": "" }, Oe = /* @__PURE__ */ c("span", {
1153
+ const $t = ["data-disabled", "data-error", "data-variant", "data-multifocus"], ka = {
1154
+ __name: "BsInputAddon",
1155
+ props: {
1156
+ disabled: { type: Boolean, default: !1 },
1157
+ error: { type: Boolean, default: !1 },
1158
+ multifocus: { type: Boolean, default: !1 },
1159
+ variant: { type: String, validator: (e) => e === "inner-bordered" }
1160
+ },
1161
+ setup(e) {
1162
+ return (l, a) => (i(), c("bs-host", {
1163
+ class: "bs-input-addon",
1164
+ "data-component": "bs-input-addon",
1165
+ "data-disabled": e.disabled,
1166
+ "data-error": e.error,
1167
+ "data-variant": e.variant,
1168
+ "data-multifocus": e.multifocus
1169
+ }, [
1170
+ Be(T(D), null, {
1171
+ default: w(() => [
1172
+ g(l.$slots, "default")
1173
+ ]),
1174
+ _: 3
1175
+ })
1176
+ ], 8, $t));
1177
+ }
1178
+ };
1179
+ const Bt = ["data-disabled", "htmlFor"], pt = { "data-slot": "" }, yt = /* @__PURE__ */ b("span", {
1190
1180
  "data-required": "",
1191
1181
  "aria-hidden": "true"
1192
- }, " *", -1), Re = /* @__PURE__ */ c("span", { class: "visually-hidden" }, "required", -1), Rt = {
1182
+ }, " *", -1), Tt = /* @__PURE__ */ b("span", { class: "visually-hidden" }, "required", -1), Aa = {
1193
1183
  __name: "BsLabel",
1194
1184
  props: {
1195
1185
  disabled: {},
@@ -1199,32 +1189,32 @@ const Fe = ["data-disabled", "htmlFor"], Ee = { "data-slot": "" }, Oe = /* @__PU
1199
1189
  required: {}
1200
1190
  },
1201
1191
  setup(e) {
1202
- const s = e, a = w(), t = m(() => {
1203
- const l = {};
1204
- return s.passAttrs.split(",").forEach((i) => {
1205
- l[i] = a[i];
1206
- }), l;
1192
+ const l = e, a = S(), t = B(() => {
1193
+ const n = {};
1194
+ return l.passAttrs.split(",").forEach((r) => {
1195
+ n[r] = a[r];
1196
+ }), n;
1207
1197
  });
1208
- return (l, i) => (n(), r("bs-host", {
1198
+ return (n, r) => (i(), c("bs-host", {
1209
1199
  "data-component": "bs-label",
1210
- class: P(e.hide ? "visually-hidden" : "")
1200
+ class: ee(e.hide ? "visually-hidden" : "")
1211
1201
  }, [
1212
- c("label", d({
1202
+ b("label", f({
1213
1203
  "data-disabled": e.disabled,
1214
1204
  htmlFor: e.for
1215
1205
  }, t.value), [
1216
- c("span", Ee, [
1217
- f(l.$slots, "default")
1206
+ b("span", pt, [
1207
+ g(n.$slots, "default")
1218
1208
  ]),
1219
- e.required ? (n(), r(D, { key: 0 }, [
1220
- Oe,
1221
- Re
1222
- ], 64)) : q("", !0)
1223
- ], 16, Fe)
1209
+ e.required ? (i(), c(U, { key: 0 }, [
1210
+ yt,
1211
+ Tt
1212
+ ], 64)) : j("", !0)
1213
+ ], 16, Bt)
1224
1214
  ], 2));
1225
1215
  }
1226
1216
  };
1227
- const Ge = { "data-component": "bs-pill" }, Gt = {
1217
+ const It = { "data-component": "bs-pill" }, La = {
1228
1218
  __name: "BsPill",
1229
1219
  props: {
1230
1220
  variant: {},
@@ -1235,14 +1225,14 @@ const Ge = { "data-component": "bs-pill" }, Gt = {
1235
1225
  passAttrs: { default: "" }
1236
1226
  },
1237
1227
  setup(e) {
1238
- const s = e, { onLinkClick: a } = T(s), t = w(), l = m(() => s.href ? "a" : t.type === "button" ? "button" : "span"), i = m(() => {
1228
+ const l = e, { onLinkClick: a } = M(l), t = S(), n = B(() => l.href ? "a" : t.type === "button" ? "button" : "span"), r = B(() => {
1239
1229
  const o = {};
1240
- return s.passAttrs.split(",").forEach((h) => {
1230
+ return l.passAttrs.split(",").forEach((h) => {
1241
1231
  o[h] = t[h];
1242
- }), s.disabled && s.href && (o["aria-disabled"] = !0, o.tabindex = "-1", o.title = t.title), l.value === "button" && (o.type = t.type || "button"), o;
1232
+ }), l.disabled && l.href && (o["aria-disabled"] = !0, o.tabindex = "-1", o.title = t.title), n.value === "button" && (o.type = t.type || "button"), o;
1243
1233
  });
1244
- return (o, h) => (n(), r("bs-host", Ge, [
1245
- (n(), $(p(l.value), d({
1234
+ return (o, h) => (i(), c("bs-host", It, [
1235
+ (i(), x(H(n.value), f({
1246
1236
  class: "bs-pill",
1247
1237
  "data-active": e.active,
1248
1238
  "data-slot": "",
@@ -1250,16 +1240,16 @@ const Ge = { "data-component": "bs-pill" }, Gt = {
1250
1240
  "data-variant": e.variant || void 0,
1251
1241
  disabled: e.disabled,
1252
1242
  href: e.href
1253
- }, i.value, { onClick: b(a) }), {
1254
- default: B(() => [
1255
- f(o.$slots, "default")
1243
+ }, r.value, { onClick: T(a) }), {
1244
+ default: w(() => [
1245
+ g(o.$slots, "default")
1256
1246
  ]),
1257
1247
  _: 3
1258
1248
  }, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]))
1259
1249
  ]));
1260
1250
  }
1261
1251
  };
1262
- const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required", "data-error", "value"], jt = {
1252
+ const xt = { "data-component": "bs-select" }, wt = ["id", "disabled", "required", "data-error", "value"], Va = {
1263
1253
  __name: "BsSelect",
1264
1254
  props: {
1265
1255
  disabled: { default: !1 },
@@ -1272,14 +1262,14 @@ const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required"
1272
1262
  modelValue: {}
1273
1263
  },
1274
1264
  setup(e) {
1275
- const s = e, a = ["autocomplete", "multiple", "name", "size"], t = w(), l = m(() => ({ [s.error ? "aria-errormessage" : "aria-describedby"]: s.hintId })), i = m(() => {
1276
- const o = { ...l.value };
1277
- return s.passAttrs.split(",").concat(a).forEach((h) => {
1265
+ const l = e, a = ["autocomplete", "multiple", "name", "size"], t = S(), n = B(() => ({ [l.error ? "aria-errormessage" : "aria-describedby"]: l.hintId })), r = B(() => {
1266
+ const o = { ...n.value };
1267
+ return l.passAttrs.split(",").concat(a).forEach((h) => {
1278
1268
  o[h] = t[h];
1279
1269
  }), o;
1280
1270
  });
1281
- return (o, h) => (n(), r("bs-host", je, [
1282
- c("select", d({
1271
+ return (o, h) => (i(), c("bs-host", xt, [
1272
+ b("select", f({
1283
1273
  id: e.inputId,
1284
1274
  class: "bs-select",
1285
1275
  "data-slot": "",
@@ -1287,44 +1277,236 @@ const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required"
1287
1277
  required: e.required,
1288
1278
  "data-error": e.error,
1289
1279
  value: e.value || e.modelValue,
1290
- onChange: h[0] || (h[0] = (u) => o.emit("update:modelValue", u.target.value))
1291
- }, i.value), [
1292
- f(o.$slots, "default")
1293
- ], 16, Ne)
1280
+ onChange: h[0] || (h[0] = (d) => o.emit("update:modelValue", d.target.value))
1281
+ }, r.value), [
1282
+ g(o.$slots, "default")
1283
+ ], 16, wt)
1294
1284
  ]));
1295
1285
  }
1286
+ }, Ct = ["aria-controls", "aria-selected", "data-hidden"], za = {
1287
+ __name: "BsTab",
1288
+ props: {
1289
+ activeTabId: {
1290
+ type: String,
1291
+ required: !0
1292
+ },
1293
+ hidden: {
1294
+ type: Boolean,
1295
+ default: !1
1296
+ },
1297
+ panelId: {
1298
+ type: String
1299
+ }
1300
+ },
1301
+ emits: ["tabClick"],
1302
+ setup(e, { emit: l }) {
1303
+ const a = e, t = S(), n = $(), r = B(() => a.activeTabId === t.id), o = B(() => a.panelId || `${t.id}-panel`);
1304
+ function h(m) {
1305
+ (m.key === "Enter" || m.key === " ") && (m.preventDefault(), m.stopPropagation(), d());
1306
+ }
1307
+ function d() {
1308
+ if (a.activeTabId !== t.id) {
1309
+ const m = new CustomEvent("tabClick", { detail: t.id, bubbles: !0 });
1310
+ n.value.dispatchEvent(m);
1311
+ }
1312
+ }
1313
+ return (m, A) => (i(), c("bs-host", {
1314
+ "aria-controls": o.value,
1315
+ "aria-selected": r.value ? "true" : "false",
1316
+ "data-hidden": e.hidden || void 0,
1317
+ "data-component": "bs-tab",
1318
+ role: "tab",
1319
+ tabindex: "0",
1320
+ ref_key: "hostEl",
1321
+ ref: n,
1322
+ onClick: d,
1323
+ onKeydown: h
1324
+ }, [
1325
+ g(m.$slots, "default")
1326
+ ], 40, Ct));
1327
+ }
1296
1328
  };
1297
- const We = { class: "bs-tab-list-wrapper" }, He = ["active-tab-id", "helper-text", "helper-description"], Nt = {
1329
+ const kt = ["data-resizing"], At = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], Lt = /* @__PURE__ */ b("bs-icon-action-ellipsis", {
1330
+ size: "sm",
1331
+ "data-size": "small",
1332
+ "data-bs-icon": ""
1333
+ }, null, -1), Vt = ["id", "containerId", "helperText", "helperDescription", "optionsId", "toggleId"], zt = ["value", "options-id"], Dt = 73, qt = 20, Pt = 16, Da = {
1298
1334
  __name: "BsTabList",
1299
1335
  props: {
1300
- activeTabId: {},
1301
- helperText: { default: "Select a tab" },
1302
- helperDescription: {},
1303
- modelValue: {}
1336
+ activeTabId: { type: String },
1337
+ helperText: { type: String, default: "Select a tab" },
1338
+ helperDescription: { type: String },
1339
+ modelValue: { type: String },
1340
+ withBsTabs: { type: Boolean, default: !0 }
1304
1341
  },
1305
1342
  emits: ["tabChange", "update:modelValue"],
1306
- setup(e, { emit: s }) {
1307
- const a = (t) => {
1308
- s("tabChange", t.detail), s("update:modelValue", t.detail);
1309
- };
1310
- return (t, l) => (n(), r("div", We, [
1311
- E(b(I), null, {
1312
- default: B(() => [
1313
- c("bs-tab-list", d(t.$attrs, {
1314
- "active-tab-id": e.activeTabId || e.modelValue,
1315
- "helper-text": e.helperText,
1316
- "helper-description": e.helperDescription,
1317
- "on:tabChange": a
1318
- }), [
1319
- f(t.$slots, "default")
1320
- ], 16, He)
1321
- ]),
1322
- _: 3
1323
- })
1324
- ]));
1343
+ setup(e, { emit: l }) {
1344
+ const a = e, t = $(!1), n = $(!1), r = $([]), o = $(!1), h = $(!1), d = $(), m = $([]), A = $(!1), p = $([]), I = $(), L = $(), E = $(), P = $(), V = B(() => a.activeTabId ? p.value.findIndex((s) => s.id === a.activeTabId) : 0), O = B(() => r.value.some((s) => s.id === a.activeTabId)), Y = B(() => `${I.value}-options`), X = B(() => `${I.value}-toggle`), ae = B(() => {
1345
+ var s;
1346
+ return O.value ? (s = p.value[V.value]) == null ? void 0 : s.textContent : "More";
1347
+ }), ne = B(() => O.value ? m.value[V.value] - m.value[V.value - 1] + qt : Dt), q = B(() => {
1348
+ var u, v;
1349
+ let s = [];
1350
+ if (typeof window > "u")
1351
+ return s;
1352
+ for (let y of p.value) {
1353
+ if (((u = y.dataset) == null ? void 0 : u.hidden) === "true" || ((v = y.dataset) == null ? void 0 : v.hidden) === "" || y.getAttribute("tabindex") === "-1")
1354
+ break;
1355
+ s.push(y);
1356
+ }
1357
+ return h.value && s.push(d.value.querySelector(".bs-tab-list-toggle")), s;
1358
+ });
1359
+ function G() {
1360
+ var z;
1361
+ let s = !1, u, v = 0, y = !1, C = [];
1362
+ if ((z = p.value) != null && z.length) {
1363
+ for (let k = 0; k < p.value.length; k++) {
1364
+ if (u = p.value[k], u.setAttribute("tabindex", "-1"), y && k !== V.value) {
1365
+ u.dataset.hidden = "true", C.push(u);
1366
+ continue;
1367
+ }
1368
+ if (v = k < p.value.length - 1 ? P.value - ne.value : P.value, m.value[k] > v) {
1369
+ u.dataset.hidden = "true", C.push(u), s = !0, y = !0;
1370
+ continue;
1371
+ }
1372
+ u.dataset.hidden = "false", u.setAttribute("tabindex", "0");
1373
+ }
1374
+ h.value = s, r.value = C, t.value || Te(() => t.value = !0), setTimeout(() => {
1375
+ he(), A.value = !0;
1376
+ }, A.value ? 0 : 1e3);
1377
+ }
1378
+ }
1379
+ function N(s) {
1380
+ l("tabChange", s), l("update:modelValue", s);
1381
+ }
1382
+ function le(s) {
1383
+ var y, C, z;
1384
+ const u = (z = (C = (y = p.value[s]) == null ? void 0 : y.getBoundingClientRect) == null ? void 0 : C.call(y)) == null ? void 0 : z.width;
1385
+ return u || (s === 0 ? m.value[0] : m.value[s] - m.value[s - 1]) || 0;
1386
+ }
1387
+ function se() {
1388
+ var s;
1389
+ (s = p.value[V.value]) == null || s.setAttribute("aria-selected", "true"), G();
1390
+ }
1391
+ function ie() {
1392
+ var s;
1393
+ (s = L.value) == null || s.focus(), o.value = !1;
1394
+ }
1395
+ function re() {
1396
+ o.value = !o.value, n.value || (n.value = !0);
1397
+ }
1398
+ function de(s) {
1399
+ var u;
1400
+ o.value = !1, (u = L.value) == null || u.focus(), N(s.detail);
1401
+ }
1402
+ function oe(s) {
1403
+ if (a.withBsTabs)
1404
+ return;
1405
+ const u = s.target.closest('[role="tab"]');
1406
+ if (!u || u.getAttribute("aria-selected") === "true")
1407
+ return;
1408
+ const v = u.getAttribute("id");
1409
+ N(v);
1410
+ }
1411
+ function ue(s) {
1412
+ if (s.key === "ArrowLeft" || s.key === "ArrowRight") {
1413
+ const u = q.value.findIndex((v) => v.id === s.target.id);
1414
+ if (u === -1)
1415
+ return;
1416
+ s.preventDefault(), s.stopPropagation(), s.key === "ArrowLeft" ? fe(u) : ce(u);
1417
+ }
1418
+ }
1419
+ function ce(s) {
1420
+ var v;
1421
+ const u = (s + 1) % q.value.length;
1422
+ (v = q.value[u]) == null || v.focus();
1423
+ }
1424
+ function fe(s) {
1425
+ var v;
1426
+ const u = s === 0 ? q.value.length - 1 : s - 1;
1427
+ (v = q.value[u]) == null || v.focus();
1428
+ }
1429
+ function he() {
1430
+ var z, k, Z, J;
1431
+ const s = parseInt(d.value.style.getPropertyValue("--active-line-offset")) || 0, u = P.value;
1432
+ let v = 300, y = ((k = (z = q.value) == null ? void 0 : z[V.value]) == null ? void 0 : k.offsetLeft) || 0, C = le(V.value);
1433
+ h.value && O.value && (y = (Z = L.value) == null ? void 0 : Z.offsetLeft, C = (J = L.value) == null ? void 0 : J.offsetWidth), v = Math.max(Math.abs((y - s) / u * 300), 100), d.value.style.setProperty("--active-line-max-width", `${u}px`), d.value.style.setProperty("--active-line-scale", `${C / u}`), d.value.style.setProperty("--active-line-offset", `${y}px`), d.value.style.setProperty("--active-line-transition-duration", `${v}ms`);
1434
+ }
1435
+ function be() {
1436
+ var s, u;
1437
+ (u = (s = E.value) == null ? void 0 : s.disconnect) == null || u.call(s), E.value = null;
1438
+ }
1439
+ function ve() {
1440
+ E.value = new ResizeObserver((s) => {
1441
+ for (let u of s)
1442
+ P.value = u.contentBoxSize[0].inlineSize;
1443
+ G();
1444
+ }), E.value.observe(d.value);
1445
+ }
1446
+ function me() {
1447
+ p.value = Array.from(d.value.children).filter((s) => s.role === "tab");
1448
+ }
1449
+ function ge() {
1450
+ let s;
1451
+ p.value.forEach((u, v) => {
1452
+ s = u.getBoundingClientRect().width + Pt, m.value.push(v ? s + m.value[v - 1] : s);
1453
+ });
1454
+ }
1455
+ return pe(() => a.activeTabId, se), W(() => {
1456
+ var s, u;
1457
+ try {
1458
+ me(), ge(), ve(), (s = d.value) != null && s.id || d.value.setAttribute("id", R()), I.value = R(), P.value = d.value.getBoundingClientRect().width, G(), a.withBsTabs || (u = p.value[V.value]) == null || u.setAttribute("aria-selected", "true");
1459
+ } catch (v) {
1460
+ console.log("tab error", v);
1461
+ }
1462
+ }), te(be), (s, u) => (i(), c("bs-host", {
1463
+ class: "bs-tab-list",
1464
+ "data-component": "bs-tab-list",
1465
+ ref_key: "hostEl",
1466
+ ref: d,
1467
+ role: "tablist",
1468
+ "data-resizing": !t.value || void 0,
1469
+ onClick: oe,
1470
+ "on:tabClick": u[0] || (u[0] = (v) => N(v.detail)),
1471
+ onKeydown: ue
1472
+ }, [
1473
+ g(s.$slots, "default"),
1474
+ b("button", {
1475
+ "aria-controls": I.value,
1476
+ "aria-expanded": o.value,
1477
+ class: "bs-tab-list-toggle",
1478
+ "data-active": O.value || void 0,
1479
+ "data-hidden": !h.value,
1480
+ id: X.value,
1481
+ ref_key: "dropdownToggle",
1482
+ ref: L,
1483
+ onClick: re
1484
+ }, [
1485
+ Lt,
1486
+ ye(" " + F(ae.value), 1)
1487
+ ], 8, At),
1488
+ o.value ? (i(), c("bs-dropdown-with-options", {
1489
+ key: 0,
1490
+ id: I.value,
1491
+ class: "bs-tab-list-dropdown",
1492
+ containerId: d.value.id,
1493
+ helperText: e.helperText,
1494
+ helperDescription: e.helperDescription || void 0,
1495
+ optionsId: Y.value,
1496
+ toggleId: X.value,
1497
+ onClose: ie,
1498
+ onOptselected: de
1499
+ }, [
1500
+ (i(!0), c(U, null, _(r.value, (v) => (i(), c("bs-dropdown-option", {
1501
+ key: v.id,
1502
+ value: v.id,
1503
+ "options-id": Y.value
1504
+ }, F(v.textContent), 9, zt))), 128))
1505
+ ], 40, Vt)) : j("", !0)
1506
+ ], 40, kt));
1325
1507
  }
1326
1508
  };
1327
- const Ue = ["data-position"], Ye = { "data-slot": "" }, Xe = ["id"], Wt = {
1509
+ const St = ["data-position"], Mt = { "data-slot": "" }, Et = ["id"], qa = {
1328
1510
  __name: "BsTooltip",
1329
1511
  props: {
1330
1512
  tooltipId: {},
@@ -1332,93 +1514,93 @@ const Ue = ["data-position"], Ye = { "data-slot": "" }, Xe = ["id"], Wt = {
1332
1514
  position: {}
1333
1515
  },
1334
1516
  setup(e) {
1335
- const s = e, a = v(!1), t = v(!1), l = m(() => {
1336
- let u = "bs-tooltip-text";
1337
- return t.value && (s.position === void 0 || s.position === "top" || s.position === "bottom" ? u += " escaped-x" : s.position === "left" || s.position === "right" ? u += " escaped-y" : u += " escaped"), u;
1517
+ const l = e, a = $(!1), t = $(!1), n = B(() => {
1518
+ let d = "bs-tooltip-text";
1519
+ return t.value && (l.position === void 0 || l.position === "top" || l.position === "bottom" ? d += " escaped-x" : l.position === "left" || l.position === "right" ? d += " escaped-y" : d += " escaped"), d;
1338
1520
  });
1339
- k(() => {
1521
+ W(() => {
1340
1522
  window.addEventListener("keydown", h);
1341
- }), O(() => {
1523
+ }), te(() => {
1342
1524
  window.removeEventListener("keydown", h);
1343
1525
  });
1344
- function i() {
1526
+ function r() {
1345
1527
  a.value = !0;
1346
1528
  }
1347
1529
  function o() {
1348
1530
  a.value = !1, t.value = !1;
1349
1531
  }
1350
- function h(u) {
1351
- a.value && u.key === "Escape" && (a.value = !1, t.value = !0);
1532
+ function h(d) {
1533
+ a.value && d.key === "Escape" && (a.value = !1, t.value = !0);
1352
1534
  }
1353
- return (u, g) => (n(), r("bs-host", {
1535
+ return (d, m) => (i(), c("bs-host", {
1354
1536
  "data-component": "bs-tooltip",
1355
- onMouseenter: i,
1356
- onFocusin: i,
1537
+ onMouseenter: r,
1538
+ onFocusin: r,
1357
1539
  onMouseleave: o,
1358
1540
  onFocusout: o
1359
1541
  }, [
1360
- c("div", {
1542
+ b("div", {
1361
1543
  class: "bs-tooltip",
1362
1544
  "data-position": e.position || void 0
1363
1545
  }, [
1364
- c("div", Ye, [
1365
- f(u.$slots, "default")
1546
+ b("div", Mt, [
1547
+ g(d.$slots, "default")
1366
1548
  ]),
1367
- c("div", {
1368
- class: P(l.value),
1549
+ b("div", {
1550
+ class: ee(n.value),
1369
1551
  id: e.tooltipId,
1370
1552
  role: "tooltip"
1371
- }, z(e.content), 11, Xe)
1372
- ], 8, Ue)
1553
+ }, F(e.content), 11, Et)
1554
+ ], 8, St)
1373
1555
  ], 32));
1374
1556
  }
1375
1557
  };
1376
1558
  export {
1377
- St as BsAccordion,
1378
- Ke as BsBadge,
1379
- Ft as BsBanner,
1380
- Et as BsButton,
1381
- _e as BsCharacterCount,
1382
- et as BsChartBar,
1383
- tt as BsChartTable,
1384
- at as BsCheckbox,
1385
- lt as BsCircleButton,
1386
- st as BsDropdown,
1387
- nt as BsDropdownOption,
1388
- it as BsDropdownOptionList,
1389
- rt as BsDropdownWithOptions,
1390
- dt as BsFieldDetails,
1391
- ot as BsFieldLayout,
1392
- ut as BsHint,
1393
- Ot as BsIconGradientWrapper,
1394
- ct as BsInput,
1395
- ft as BsInputAddon,
1396
- ht as BsInputField,
1397
- bt as BsInputSearch,
1398
- Rt as BsLabel,
1399
- mt as BsLoader,
1400
- gt as BsModal,
1401
- vt as BsOverlay,
1402
- $t as BsPagination,
1403
- Gt as BsPill,
1404
- Bt as BsProfile,
1405
- It as BsProfileDetails,
1406
- xt as BsProfileImg,
1407
- yt as BsProfileLayout,
1408
- Tt as BsRadio,
1409
- jt as BsSelect,
1410
- Ct as BsSelectField,
1411
- wt as BsSwitch,
1412
- kt as BsTab,
1413
- Nt as BsTabList,
1414
- pt as BsTabPanel,
1415
- At as BsTextarea,
1416
- Lt as BsTextareaField,
1417
- Vt as BsToast,
1418
- qt as BsToastActions,
1419
- zt as BsToastBody,
1420
- Dt as BsToastHeader,
1421
- Pt as BsToaster,
1422
- Wt as BsTooltip,
1423
- Mt as BsTransition
1559
+ Ia as BsAccordion,
1560
+ Wt as BsBadge,
1561
+ xa as BsBanner,
1562
+ wa as BsButton,
1563
+ Gt as BsCharacterCount,
1564
+ Nt as BsChartBar,
1565
+ Ht as BsChartTable,
1566
+ jt as BsCheckbox,
1567
+ Ut as BsCircleButton,
1568
+ Yt as BsDropdown,
1569
+ Xt as BsDropdownOption,
1570
+ Zt as BsDropdownOptionList,
1571
+ Jt as BsDropdownWithOptions,
1572
+ Kt as BsFieldDetails,
1573
+ Qt as BsFieldLayout,
1574
+ _t as BsHint,
1575
+ Ca as BsIconGradientWrapper,
1576
+ ea as BsInput,
1577
+ ka as BsInputAddon,
1578
+ ta as BsInputField,
1579
+ aa as BsInputSearch,
1580
+ Aa as BsLabel,
1581
+ na as BsLoader,
1582
+ la as BsModal,
1583
+ sa as BsOverlay,
1584
+ ia as BsPagination,
1585
+ La as BsPill,
1586
+ ra as BsProfile,
1587
+ da as BsProfileDetails,
1588
+ oa as BsProfileImg,
1589
+ ua as BsProfileLayout,
1590
+ ca as BsRadio,
1591
+ Va as BsSelect,
1592
+ fa as BsSelectField,
1593
+ ha as BsSwitch,
1594
+ za as BsTab,
1595
+ Da as BsTabList,
1596
+ ba as BsTabPanel,
1597
+ va as BsTextarea,
1598
+ ma as BsTextareaField,
1599
+ ga as BsToast,
1600
+ $a as BsToastActions,
1601
+ Ba as BsToastBody,
1602
+ pa as BsToastHeader,
1603
+ ya as BsToaster,
1604
+ qa as BsTooltip,
1605
+ Ta as BsTransition
1424
1606
  };