@wwtdev/bsds-components-vue3 1.15.8 → 1.15.9

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,5 +1,5 @@
1
- import { openBlock as s, createElementBlock as r, mergeProps as o, renderSlot as f, computed as b, unref as m, createBlock as v, withCtx as $, createElementVNode as u, createVNode as P, normalizeProps as k, guardReactiveProps as p, ref as g, onMounted as C, resolveDynamicComponent as w, createCommentVNode as A, toDisplayString as L, useAttrs as T, normalizeStyle as M, Fragment as V, renderList as S, normalizeClass as q, onUnmounted as F } from "vue";
2
- import { ClientOnly as I } from "#components";
1
+ import { openBlock as s, createElementBlock as r, mergeProps as o, renderSlot as f, computed as b, unref as m, createBlock as g, withCtx as v, createElementVNode as u, createVNode as P, normalizeProps as k, guardReactiveProps as p, ref as $, onMounted as C, resolveDynamicComponent as w, createCommentVNode as A, toDisplayString as L, useAttrs as T, normalizeStyle as M, Fragment as V, renderList as S, normalizeClass as q, onUnmounted as F } from "vue";
2
+ import { ClientOnly as B } from "#components";
3
3
  import { v4 as E } from "uuid";
4
4
  const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], Je = {
5
5
  __name: "BsBadge",
@@ -13,7 +13,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
13
13
  showZero: {}
14
14
  },
15
15
  emits: [],
16
- setup(e, { emit: l }) {
16
+ setup(e, { emit: n }) {
17
17
  return (a, t) => (s(), r("bs-badge", o(a.$attrs, {
18
18
  color: e.color,
19
19
  count: e.count,
@@ -33,7 +33,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
33
33
  charMax: {}
34
34
  },
35
35
  emits: [],
36
- setup(e, { emit: l }) {
36
+ setup(e, { emit: n }) {
37
37
  return (a, t) => (s(), r("bs-character-count", o(a.$attrs, {
38
38
  "char-count": e.charCount,
39
39
  "char-max": e.charMax
@@ -54,7 +54,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
54
54
  yLabel: { default: "" }
55
55
  },
56
56
  emits: [],
57
- setup(e, { emit: l }) {
57
+ setup(e, { emit: n }) {
58
58
  return (a, t) => (s(), r("bs-chart-bar", o(a.$attrs, {
59
59
  "chart-title": e.chartTitle,
60
60
  data: e.data,
@@ -76,7 +76,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
76
76
  tableTitle: { default: "" }
77
77
  },
78
78
  emits: [],
79
- setup(e, { emit: l }) {
79
+ setup(e, { emit: n }) {
80
80
  return (a, t) => (s(), r("bs-chart-table", o(a.$attrs, {
81
81
  data: e.data,
82
82
  dataIdxLabels: e.dataIdxLabels,
@@ -98,7 +98,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
98
98
  modelValue: {}
99
99
  },
100
100
  emits: ["update:modelValue"],
101
- setup(e, { emit: l }) {
101
+ setup(e, { emit: n }) {
102
102
  return (a, t) => (s(), r("bs-checkbox", o(a.$attrs, {
103
103
  label: e.label,
104
104
  checked: e.checked || e.modelValue,
@@ -109,21 +109,21 @@ const O = ["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] = (n) => l("update:modelValue", n.target.checked))
112
+ onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
113
113
  }), null, 16, N));
114
114
  }
115
115
  };
116
116
  function x(e) {
117
- const l = b(() => {
118
- var n, d;
119
- return ((d = (n = e.href) == null ? void 0 : n.startsWith) == null ? void 0 : d.call(n, "/")) || !1;
117
+ const n = b(() => {
118
+ var l, d;
119
+ return ((d = (l = e.href) == null ? void 0 : l.startsWith) == null ? void 0 : d.call(l, "/")) || !1;
120
120
  }), a = b(() => {
121
- var n, d;
122
- return l.value && ((n = e.router) == null ? void 0 : n.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
121
+ var l, d;
122
+ return n.value && ((l = e.router) == null ? void 0 : l.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
123
123
  });
124
- function t(n) {
125
- var d, i, c, h, B;
126
- a.value && ((i = (d = n.target.href) == null ? void 0 : d.endsWith) != null && i.call(d, e.href) || (B = (h = (c = n.target.closest("a")) == null ? void 0 : c.href) == null ? void 0 : h.endsWith) != null && B.call(h, e.href)) && (n.preventDefault(), a.value(e.href));
124
+ function t(l) {
125
+ var d, i, c, h, I;
126
+ a.value && ((i = (d = l.target.href) == null ? void 0 : d.endsWith) != null && i.call(d, e.href) || (I = (h = (c = l.target.closest("a")) == null ? void 0 : c.href) == null ? void 0 : h.endsWith) != null && I.call(h, e.href)) && (l.preventDefault(), a.value(e.href));
127
127
  }
128
128
  return { onLinkClick: t };
129
129
  }
@@ -143,9 +143,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
143
143
  router: {}
144
144
  },
145
145
  emits: [],
146
- setup(e, { emit: l }) {
146
+ setup(e, { emit: n }) {
147
147
  const a = e, { onLinkClick: t } = x(a);
148
- return (n, d) => (s(), r("bs-circle-button", o(n.$attrs, {
148
+ return (l, d) => (s(), r("bs-circle-button", o(l.$attrs, {
149
149
  disabled: e.disabled,
150
150
  "ghost-btn": e.ghostBtn,
151
151
  "hover-effect": e.hoverEffect,
@@ -174,9 +174,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
174
174
  leaveTrigger: { default: !1 }
175
175
  },
176
176
  emits: ["close", "enterend", "leaveend"],
177
- setup(e, { emit: l }) {
178
- return (a, t) => (s(), v(m(I), null, {
179
- default: $(() => [
177
+ setup(e, { emit: n }) {
178
+ return (a, t) => (s(), g(m(B), null, {
179
+ default: v(() => [
180
180
  u("bs-dropdown", o(a.$attrs, {
181
181
  width: e.width,
182
182
  top: e.top,
@@ -188,9 +188,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
188
188
  "enter-controlled": e.enterControlled,
189
189
  "enter-trigger": e.enterTrigger,
190
190
  "leave-trigger": e.leaveTrigger,
191
- onClose: t[0] || (t[0] = (n) => l("close", n.detail)),
192
- onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
193
- onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
191
+ onClose: t[0] || (t[0] = (l) => n("close", l.detail)),
192
+ onEnterend: t[1] || (t[1] = (l) => n("enterend", l.detail)),
193
+ onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
194
194
  }), [
195
195
  f(a.$slots, "default")
196
196
  ], 16, H)
@@ -198,7 +198,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
198
198
  _: 3
199
199
  }));
200
200
  }
201
- }, U = ["value", "variant", "options-id", "selected", "focused", "index"], nt = {
201
+ }, U = ["value", "variant", "options-id", "selected", "focused", "index"], lt = {
202
202
  __name: "BsDropdownOption",
203
203
  props: {
204
204
  value: {},
@@ -209,7 +209,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
209
209
  index: {}
210
210
  },
211
211
  emits: ["optmouseenter", "optselect"],
212
- setup(e, { emit: l }) {
212
+ setup(e, { emit: n }) {
213
213
  return (a, t) => (s(), r("bs-dropdown-option", o(a.$attrs, {
214
214
  value: e.value,
215
215
  variant: e.variant,
@@ -217,13 +217,13 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
217
217
  selected: e.selected,
218
218
  focused: e.focused,
219
219
  index: e.index,
220
- onOptmouseenter: t[0] || (t[0] = (n) => l("optmouseenter", n.detail)),
221
- onOptselect: t[1] || (t[1] = (n) => l("optselect", n.detail))
220
+ onOptmouseenter: t[0] || (t[0] = (l) => n("optmouseenter", l.detail)),
221
+ onOptselect: t[1] || (t[1] = (l) => n("optselect", l.detail))
222
222
  }), [
223
223
  f(a.$slots, "default")
224
224
  ], 16, U));
225
225
  }
226
- }, Y = ["options-id", "visible", "focus-delay", "label", "selected-value"], lt = {
226
+ }, Y = ["options-id", "visible", "focus-delay", "label", "selected-value"], nt = {
227
227
  __name: "BsDropdownOptionList",
228
228
  props: {
229
229
  optionsId: {},
@@ -233,18 +233,23 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
233
233
  selectedValue: {}
234
234
  },
235
235
  emits: ["optselected", "close"],
236
- setup(e, { emit: l }) {
237
- return (a, t) => (s(), r("bs-dropdown-option-list", o(a.$attrs, {
238
- "options-id": e.optionsId,
239
- visible: e.visible,
240
- "focus-delay": e.focusDelay,
241
- label: e.label,
242
- "selected-value": e.selectedValue,
243
- onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
244
- onClose: t[1] || (t[1] = (n) => l("close", n.detail))
245
- }), [
246
- f(a.$slots, "default")
247
- ], 16, Y));
236
+ setup(e, { emit: n }) {
237
+ return (a, t) => (s(), g(m(B), null, {
238
+ default: v(() => [
239
+ u("bs-dropdown-option-list", o(a.$attrs, {
240
+ "options-id": e.optionsId,
241
+ visible: e.visible,
242
+ "focus-delay": e.focusDelay,
243
+ label: e.label,
244
+ "selected-value": e.selectedValue,
245
+ onOptselected: t[0] || (t[0] = (l) => n("optselected", l.detail)),
246
+ onClose: t[1] || (t[1] = (l) => n("close", l.detail))
247
+ }), [
248
+ f(a.$slots, "default")
249
+ ], 16, Y)
250
+ ]),
251
+ _: 3
252
+ }));
248
253
  }
249
254
  }, X = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description"], st = {
250
255
  __name: "BsDropdownWithOptions",
@@ -264,28 +269,33 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
264
269
  helperDescription: {}
265
270
  },
266
271
  emits: ["optselected", "close", "enterend", "leaveend"],
267
- setup(e, { emit: l }) {
268
- return (a, t) => (s(), r("bs-dropdown-with-options", o(a.$attrs, {
269
- "toggle-id": e.toggleId,
270
- "container-id": e.containerId,
271
- "options-id": e.optionsId,
272
- width: e.width,
273
- top: e.top,
274
- center: e.center,
275
- label: e.label,
276
- "selected-value": e.selectedValue,
277
- "enter-controlled": e.enterControlled,
278
- "enter-trigger": e.enterTrigger,
279
- "leave-trigger": e.leaveTrigger,
280
- "helper-text": e.helperText,
281
- "helper-description": e.helperDescription,
282
- onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
283
- onClose: t[1] || (t[1] = (n) => l("close", n.detail)),
284
- onEnterend: t[2] || (t[2] = (n) => l("enterend", n.detail)),
285
- onLeaveend: t[3] || (t[3] = (n) => l("leaveend", n.detail))
286
- }), [
287
- f(a.$slots, "default")
288
- ], 16, X));
272
+ setup(e, { emit: n }) {
273
+ return (a, t) => (s(), g(m(B), null, {
274
+ default: v(() => [
275
+ u("bs-dropdown-with-options", o(a.$attrs, {
276
+ "toggle-id": e.toggleId,
277
+ "container-id": e.containerId,
278
+ "options-id": e.optionsId,
279
+ width: e.width,
280
+ top: e.top,
281
+ center: e.center,
282
+ label: e.label,
283
+ "selected-value": e.selectedValue,
284
+ "enter-controlled": e.enterControlled,
285
+ "enter-trigger": e.enterTrigger,
286
+ "leave-trigger": e.leaveTrigger,
287
+ "helper-text": e.helperText,
288
+ "helper-description": e.helperDescription,
289
+ onOptselected: t[0] || (t[0] = (l) => n("optselected", l.detail)),
290
+ onClose: t[1] || (t[1] = (l) => n("close", l.detail)),
291
+ onEnterend: t[2] || (t[2] = (l) => n("enterend", l.detail)),
292
+ onLeaveend: t[3] || (t[3] = (l) => n("leaveend", l.detail))
293
+ }), [
294
+ f(a.$slots, "default")
295
+ ], 16, X)
296
+ ]),
297
+ _: 3
298
+ }));
289
299
  }
290
300
  }, Z = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], it = {
291
301
  __name: "BsFieldDetails",
@@ -298,7 +308,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
298
308
  hintId: {}
299
309
  },
300
310
  emits: [],
301
- setup(e, { emit: l }) {
311
+ setup(e, { emit: n }) {
302
312
  return (a, t) => (s(), r("bs-field-details", o(a.$attrs, {
303
313
  "char-count": e.charCount,
304
314
  "char-max": e.charMax,
@@ -322,7 +332,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
322
332
  hintId: {}
323
333
  },
324
334
  emits: [],
325
- setup(e, { emit: l }) {
335
+ setup(e, { emit: n }) {
326
336
  return (a, t) => (s(), r("bs-field-layout", o(a.$attrs, {
327
337
  "char-count": e.charCount,
328
338
  "char-max": e.charMax,
@@ -345,7 +355,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
345
355
  hints: {}
346
356
  },
347
357
  emits: [],
348
- setup(e, { emit: l }) {
358
+ setup(e, { emit: n }) {
349
359
  return (a, t) => (s(), r("bs-hint", o(a.$attrs, {
350
360
  error: e.error,
351
361
  "hint-id": e.hintId,
@@ -367,7 +377,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
367
377
  modelValue: {}
368
378
  },
369
379
  emits: ["update:modelValue"],
370
- setup(e, { emit: l }) {
380
+ setup(e, { emit: n }) {
371
381
  return (a, t) => (s(), r("bs-input", o(a.$attrs, {
372
382
  disabled: e.disabled,
373
383
  error: e.error,
@@ -378,7 +388,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
378
388
  type: e.type,
379
389
  value: e.value || e.modelValue,
380
390
  "hint-id": e.hintId,
381
- onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
391
+ onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
382
392
  }), null, 16, K));
383
393
  }
384
394
  }, _ = ["disabled", "error", "multifocus", "variant"], ut = {
@@ -390,7 +400,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
390
400
  variant: {}
391
401
  },
392
402
  emits: [],
393
- setup(e, { emit: l }) {
403
+ setup(e, { emit: n }) {
394
404
  return (a, t) => (s(), r("bs-input-addon", o(a.$attrs, {
395
405
  disabled: e.disabled,
396
406
  error: e.error,
@@ -418,7 +428,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
418
428
  modelValue: {}
419
429
  },
420
430
  emits: ["update:modelValue"],
421
- setup(e, { emit: l }) {
431
+ setup(e, { emit: n }) {
422
432
  return (a, t) => (s(), r("bs-input-field", o(a.$attrs, {
423
433
  disabled: e.disabled,
424
434
  error: e.error,
@@ -432,7 +442,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
432
442
  required: e.required,
433
443
  type: e.type,
434
444
  value: e.value || e.modelValue,
435
- onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
445
+ onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
436
446
  }), null, 16, ee));
437
447
  }
438
448
  }, te = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"], ft = {
@@ -447,7 +457,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
447
457
  modelValue: {}
448
458
  },
449
459
  emits: ["clear", "update:modelValue"],
450
- setup(e, { emit: l }) {
460
+ setup(e, { emit: n }) {
451
461
  return (a, t) => (s(), r("bs-input-search", o(a.$attrs, {
452
462
  disabled: e.disabled,
453
463
  "pass-attrs": e.passAttrs,
@@ -455,8 +465,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
455
465
  "hint-id": e.hintId,
456
466
  "input-id": e.inputId,
457
467
  value: e.value || e.modelValue,
458
- onClear: t[0] || (t[0] = (n) => l("clear", n.detail)),
459
- onInput: t[1] || (t[1] = (n) => l("update:modelValue", n.target.value))
468
+ onClear: t[0] || (t[0] = (l) => n("clear", l.detail)),
469
+ onInput: t[1] || (t[1] = (l) => n("update:modelValue", l.target.value))
460
470
  }), null, 16, te));
461
471
  }
462
472
  }, ae = ["size", "variant"], ht = {
@@ -466,13 +476,13 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
466
476
  variant: {}
467
477
  },
468
478
  emits: [],
469
- setup(e, { emit: l }) {
479
+ setup(e, { emit: n }) {
470
480
  return (a, t) => (s(), r("bs-loader", o(a.$attrs, {
471
481
  size: e.size,
472
482
  variant: e.variant
473
483
  }), null, 16, ae));
474
484
  }
475
- }, ne = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], mt = {
485
+ }, le = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], mt = {
476
486
  __name: "BsModal",
477
487
  props: {
478
488
  alert: { default: !1 },
@@ -482,26 +492,26 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
482
492
  leaveTrigger: { default: !1 }
483
493
  },
484
494
  emits: ["close", "enterend", "leaveend"],
485
- setup(e, { emit: l }) {
486
- return (a, t) => (s(), v(m(I), null, {
487
- default: $(() => [
495
+ setup(e, { emit: n }) {
496
+ return (a, t) => (s(), g(m(B), null, {
497
+ default: v(() => [
488
498
  u("bs-modal", o(a.$attrs, {
489
499
  alert: e.alert,
490
500
  "close-button": e.closeButton,
491
501
  "enter-controlled": e.enterControlled,
492
502
  "enter-trigger": e.enterTrigger,
493
503
  "leave-trigger": e.leaveTrigger,
494
- onClose: t[0] || (t[0] = (n) => l("close", n.detail)),
495
- onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
496
- onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
504
+ onClose: t[0] || (t[0] = (l) => n("close", l.detail)),
505
+ onEnterend: t[1] || (t[1] = (l) => n("enterend", l.detail)),
506
+ onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
497
507
  }), [
498
508
  f(a.$slots, "default")
499
- ], 16, ne)
509
+ ], 16, le)
500
510
  ]),
501
511
  _: 3
502
512
  }));
503
513
  }
504
- }, le = ["enter-controlled", "enter-trigger", "leave-trigger"], bt = {
514
+ }, ne = ["enter-controlled", "enter-trigger", "leave-trigger"], bt = {
505
515
  __name: "BsOverlay",
506
516
  props: {
507
517
  enterControlled: { default: !1 },
@@ -509,16 +519,16 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
509
519
  leaveTrigger: { default: !1 }
510
520
  },
511
521
  emits: ["enterend", "leaveend"],
512
- setup(e, { emit: l }) {
513
- return (a, t) => (s(), v(m(I), null, {
514
- default: $(() => [
522
+ setup(e, { emit: n }) {
523
+ return (a, t) => (s(), g(m(B), null, {
524
+ default: v(() => [
515
525
  u("bs-overlay", o(a.$attrs, {
516
526
  "enter-controlled": e.enterControlled,
517
527
  "enter-trigger": e.enterTrigger,
518
528
  "leave-trigger": e.leaveTrigger,
519
- onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
520
- onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
521
- }), null, 16, le)
529
+ onEnterend: t[0] || (t[0] = (l) => n("enterend", l.detail)),
530
+ onLeaveend: t[1] || (t[1] = (l) => n("leaveend", l.detail))
531
+ }), null, 16, ne)
522
532
  ]),
523
533
  _: 1
524
534
  }));
@@ -544,7 +554,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
544
554
  resultsIncrements: {}
545
555
  },
546
556
  emits: ["selchange"],
547
- setup(e, { emit: l }) {
557
+ setup(e, { emit: n }) {
548
558
  return (a, t) => (s(), r("bs-pagination", o(a.$attrs, {
549
559
  "show-first-last-buttons": e.showFirstLastButtons,
550
560
  "prev-page-text": e.prevPageText,
@@ -562,7 +572,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
562
572
  "items-per-group": e.itemsPerGroup,
563
573
  "items-count": e.itemsCount,
564
574
  "results-increments": e.resultsIncrements,
565
- onSelchange: t[0] || (t[0] = (n) => l("selchange", n.detail))
575
+ onSelchange: t[0] || (t[0] = (l) => n("selchange", l.detail))
566
576
  }), null, 16, se));
567
577
  }
568
578
  }, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], vt = {
@@ -584,9 +594,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
584
594
  router: {}
585
595
  },
586
596
  emits: ["action-toggled"],
587
- setup(e, { emit: l }) {
597
+ setup(e, { emit: n }) {
588
598
  const a = e, { onLinkClick: t } = x(a);
589
- return (n, d) => (s(), r("bs-profile", o(n.$attrs, {
599
+ return (l, d) => (s(), r("bs-profile", o(l.$attrs, {
590
600
  layout: e.layout,
591
601
  href: e.href,
592
602
  "image-src": e.imageSrc,
@@ -600,7 +610,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
600
610
  "action-icon": e.actionIcon,
601
611
  "misc-meta": e.miscMeta,
602
612
  "misc-meta-icon": e.miscMetaIcon,
603
- onActionToggled: d[0] || (d[0] = (i) => l("action-toggled", i.detail)),
613
+ onActionToggled: d[0] || (d[0] = (i) => n("action-toggled", i.detail)),
604
614
  onClick: d[1] || (d[1] = (...i) => m(t) && m(t)(...i))
605
615
  }), null, 16, ie));
606
616
  }
@@ -617,7 +627,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
617
627
  miscMetaIcon: {}
618
628
  },
619
629
  emits: ["action-toggled"],
620
- setup(e, { emit: l }) {
630
+ setup(e, { emit: n }) {
621
631
  return (a, t) => (s(), r("bs-profile-details", o(a.$attrs, {
622
632
  "profile-name": e.profileName,
623
633
  company: e.company,
@@ -627,7 +637,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
627
637
  "action-icon": e.actionIcon,
628
638
  "misc-meta": e.miscMeta,
629
639
  "misc-meta-icon": e.miscMetaIcon,
630
- onActionToggled: t[0] || (t[0] = (n) => l("action-toggled", n.detail))
640
+ onActionToggled: t[0] || (t[0] = (l) => n("action-toggled", l.detail))
631
641
  }), null, 16, re));
632
642
  }
633
643
  }, de = ["src", "size", "initials", "profile-name"], Bt = {
@@ -639,7 +649,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
639
649
  profileName: {}
640
650
  },
641
651
  emits: [],
642
- setup(e, { emit: l }) {
652
+ setup(e, { emit: n }) {
643
653
  return (a, t) => (s(), r("bs-profile-img", o(a.$attrs, {
644
654
  src: e.src,
645
655
  size: e.size,
@@ -656,15 +666,15 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
656
666
  router: {}
657
667
  },
658
668
  emits: [],
659
- setup(e, { emit: l }) {
669
+ setup(e, { emit: n }) {
660
670
  const a = e, { onLinkClick: t } = x(a);
661
- return (n, d) => (s(), r("bs-profile-layout", o(n.$attrs, {
671
+ return (l, d) => (s(), r("bs-profile-layout", o(l.$attrs, {
662
672
  layout: e.layout,
663
673
  href: e.href,
664
674
  "pass-attrs": e.passAttrs,
665
675
  onClick: d[0] || (d[0] = (...i) => m(t) && m(t)(...i))
666
676
  }), [
667
- f(n.$slots, "default")
677
+ f(l.$slots, "default")
668
678
  ], 16, oe));
669
679
  }
670
680
  }, ue = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], xt = {
@@ -682,7 +692,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
682
692
  modelValue: {}
683
693
  },
684
694
  emits: ["update:modelValue"],
685
- setup(e, { emit: l }) {
695
+ setup(e, { emit: n }) {
686
696
  return (a, t) => (s(), r("bs-radio", o(a.$attrs, {
687
697
  label: e.label,
688
698
  checked: e.checked || e.modelValue === e.value,
@@ -693,7 +703,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
693
703
  required: e.required,
694
704
  size: e.size,
695
705
  value: e.value,
696
- onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
706
+ onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
697
707
  }), null, 16, ue));
698
708
  }
699
709
  }, ce = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], yt = {
@@ -714,7 +724,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
714
724
  modelValue: {}
715
725
  },
716
726
  emits: ["update:modelValue"],
717
- setup(e, { emit: l }) {
727
+ setup(e, { emit: n }) {
718
728
  return (a, t) => (s(), r("bs-select-field", o(a.$attrs, {
719
729
  disabled: e.disabled,
720
730
  error: e.error,
@@ -728,7 +738,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
728
738
  value: e.value || e.modelValue,
729
739
  "pass-attrs": e.passAttrs,
730
740
  data: e.data,
731
- onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
741
+ onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
732
742
  }), null, 16, ce));
733
743
  }
734
744
  }, fe = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], Tt = {
@@ -746,7 +756,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
746
756
  modelValue: {}
747
757
  },
748
758
  emits: ["update:modelValue"],
749
- setup(e, { emit: l }) {
759
+ setup(e, { emit: n }) {
750
760
  return (a, t) => (s(), r("bs-switch", o(a.$attrs, {
751
761
  checked: e.checked || e.modelValue,
752
762
  disabled: e.disabled,
@@ -757,7 +767,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
757
767
  label: e.label,
758
768
  "pass-attrs": e.passAttrs,
759
769
  size: e.size,
760
- onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
770
+ onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
761
771
  }), null, 16, fe));
762
772
  }
763
773
  }, he = ["active-tab-id", "hidden", "panel-id"], Ct = {
@@ -768,7 +778,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
768
778
  panelId: {}
769
779
  },
770
780
  emits: [],
771
- setup(e, { emit: l }) {
781
+ setup(e, { emit: n }) {
772
782
  return (a, t) => (s(), r("bs-tab", o(a.$attrs, {
773
783
  "active-tab-id": e.activeTabId,
774
784
  hidden: e.hidden,
@@ -786,18 +796,18 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
786
796
  modelValue: {}
787
797
  },
788
798
  emits: ["tabChange", "update:modelValue"],
789
- setup(e, { emit: l }) {
799
+ setup(e, { emit: n }) {
790
800
  const a = (t) => {
791
- l("tabChange", t.detail), l("update:modelValue", t.detail);
801
+ n("tabChange", t.detail), n("update:modelValue", t.detail);
792
802
  };
793
- return (t, n) => (s(), r("bs-tab-list", o(t.$attrs, {
803
+ return (t, l) => (s(), r("bs-tab-list", o(t.$attrs, {
794
804
  "active-tab-id": e.activeTabId || e.modelValue,
795
805
  "helper-text": e.helperText,
796
806
  "helper-description": e.helperDescription,
797
807
  "on:tabChange": a
798
808
  }), [
799
- P(m(I), null, {
800
- default: $(() => [
809
+ P(m(B), null, {
810
+ default: v(() => [
801
811
  f(t.$slots, "default")
802
812
  ]),
803
813
  _: 3
@@ -811,7 +821,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
811
821
  tabId: {}
812
822
  },
813
823
  emits: [],
814
- setup(e, { emit: l }) {
824
+ setup(e, { emit: n }) {
815
825
  return (a, t) => (s(), r("bs-tab-panel", o(a.$attrs, {
816
826
  "active-tab-id": e.activeTabId,
817
827
  "tab-id": e.tabId
@@ -834,7 +844,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
834
844
  modelValue: {}
835
845
  },
836
846
  emits: ["update:modelValue"],
837
- setup(e, { emit: l }) {
847
+ setup(e, { emit: n }) {
838
848
  return (a, t) => (s(), r("bs-textarea", o(a.$attrs, {
839
849
  disabled: e.disabled,
840
850
  error: e.error,
@@ -845,7 +855,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
845
855
  rows: e.rows,
846
856
  value: e.value || e.modelValue,
847
857
  "hint-id": e.hintId,
848
- onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
858
+ onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
849
859
  }), null, 16, ge));
850
860
  }
851
861
  }, ve = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], At = {
@@ -867,7 +877,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
867
877
  modelValue: {}
868
878
  },
869
879
  emits: ["update:modelValue"],
870
- setup(e, { emit: l }) {
880
+ setup(e, { emit: n }) {
871
881
  return (a, t) => (s(), r("bs-textarea-field", o(a.$attrs, {
872
882
  "char-max": e.charMax,
873
883
  disabled: e.disabled,
@@ -882,7 +892,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
882
892
  rows: e.rows,
883
893
  value: e.value || e.modelValue,
884
894
  "pass-attrs": e.passAttrs,
885
- onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
895
+ onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
886
896
  }), null, 16, ve));
887
897
  }
888
898
  }, $e = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Lt = {
@@ -897,9 +907,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
897
907
  leaveTrigger: { default: !1 }
898
908
  },
899
909
  emits: ["dismiss", "enterend", "leaveend"],
900
- setup(e, { emit: l }) {
901
- return (a, t) => (s(), v(m(I), null, {
902
- default: $(() => [
910
+ setup(e, { emit: n }) {
911
+ return (a, t) => (s(), g(m(B), null, {
912
+ default: v(() => [
903
913
  u("bs-toast", o(a.$attrs, {
904
914
  "toast-id": e.toastId,
905
915
  variant: e.variant,
@@ -908,9 +918,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
908
918
  "enter-controlled": e.enterControlled,
909
919
  "enter-trigger": e.enterTrigger,
910
920
  "leave-trigger": e.leaveTrigger,
911
- onDismiss: t[0] || (t[0] = (n) => l("dismiss", n.detail)),
912
- onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
913
- onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
921
+ onDismiss: t[0] || (t[0] = (l) => n("dismiss", l.detail)),
922
+ onEnterend: t[1] || (t[1] = (l) => n("enterend", l.detail)),
923
+ onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
914
924
  }), [
915
925
  f(a.$slots, "default")
916
926
  ], 16, $e)
@@ -922,9 +932,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
922
932
  __name: "BsToastActions",
923
933
  props: {},
924
934
  emits: ["defaultDismiss"],
925
- setup(e, { emit: l }) {
935
+ setup(e, { emit: n }) {
926
936
  return (a, t) => (s(), r("bs-toast-actions", o(a.$attrs, {
927
- "on:defaultDismiss": t[0] || (t[0] = (n) => l("defaultDismiss", n.detail))
937
+ "on:defaultDismiss": t[0] || (t[0] = (l) => n("defaultDismiss", l.detail))
928
938
  }), [
929
939
  f(a.$slots, "default")
930
940
  ], 16));
@@ -933,7 +943,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
933
943
  __name: "BsToastBody",
934
944
  props: {},
935
945
  emits: [],
936
- setup(e, { emit: l }) {
946
+ setup(e, { emit: n }) {
937
947
  return (a, t) => (s(), r("bs-toast-body", k(p(a.$attrs)), [
938
948
  f(a.$slots, "default")
939
949
  ], 16));
@@ -944,7 +954,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
944
954
  variant: {}
945
955
  },
946
956
  emits: [],
947
- setup(e, { emit: l }) {
957
+ setup(e, { emit: n }) {
948
958
  return (a, t) => (s(), r("bs-toast-header", o(a.$attrs, { variant: e.variant }), [
949
959
  f(a.$slots, "default")
950
960
  ], 16, Be));
@@ -953,9 +963,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
953
963
  __name: "BsToaster",
954
964
  props: {},
955
965
  emits: [],
956
- setup(e, { emit: l }) {
957
- return (a, t) => (s(), v(m(I), null, {
958
- default: $(() => [
966
+ setup(e, { emit: n }) {
967
+ return (a, t) => (s(), g(m(B), null, {
968
+ default: v(() => [
959
969
  u("bs-toaster", k(p(a.$attrs)), [
960
970
  f(a.$slots, "default")
961
971
  ], 16)
@@ -977,7 +987,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
977
987
  leaveTrigger: { default: !1 }
978
988
  },
979
989
  emits: ["enterend", "leaveend"],
980
- setup(e, { emit: l }) {
990
+ setup(e, { emit: n }) {
981
991
  return (a, t) => (s(), r("bs-transition", o(a.$attrs, {
982
992
  "enter-class": e.enterClass,
983
993
  "enter-attribute": e.enterAttribute,
@@ -988,8 +998,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
988
998
  "enter-controlled": e.enterControlled,
989
999
  "enter-trigger": e.enterTrigger,
990
1000
  "leave-trigger": e.leaveTrigger,
991
- onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
992
- onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
1001
+ onEnterend: t[0] || (t[0] = (l) => n("enterend", l.detail)),
1002
+ onLeaveend: t[1] || (t[1] = (l) => n("leaveend", l.detail))
993
1003
  }), [
994
1004
  f(a.$slots, "default")
995
1005
  ], 16, Ie));
@@ -1010,14 +1020,14 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
1010
1020
  stacked: { default: !1 }
1011
1021
  },
1012
1022
  emits: ["toggled"],
1013
- setup(e, { emit: l }) {
1014
- const a = e, t = g(null), n = g(""), d = g(""), i = g(!1), c = b(() => a.icon ? `bs-icon-${a.icon}` : null), h = b(() => a.openItemId === t.value.id || a.openItem === !0), B = b(() => a.controlled ? h.value : i.value);
1023
+ setup(e, { emit: n }) {
1024
+ const a = e, t = $(null), l = $(""), d = $(""), i = $(!1), c = b(() => a.icon ? `bs-icon-${a.icon}` : null), h = b(() => a.openItemId === t.value.id || a.openItem === !0), I = b(() => a.controlled ? h.value : i.value);
1015
1025
  C(() => {
1016
1026
  var y;
1017
- (y = t.value) != null && y.id || t.value.setAttribute("id", z()), n.value = t.value.id + "-content", d.value = t.value.id + "-title";
1027
+ (y = t.value) != null && y.id || t.value.setAttribute("id", z()), l.value = t.value.id + "-content", d.value = t.value.id + "-title";
1018
1028
  });
1019
1029
  function D() {
1020
- l("toggled", t.value.id), a.controlled || (i.value = !i.value);
1030
+ n("toggled", t.value.id), a.controlled || (i.value = !i.value);
1021
1031
  }
1022
1032
  return (y, Ue) => (s(), r("bs-host", {
1023
1033
  ref_key: "hostRef",
@@ -1028,15 +1038,15 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
1028
1038
  }, [
1029
1039
  u("header", {
1030
1040
  part: "header",
1031
- "data-open": B.value
1041
+ "data-open": I.value
1032
1042
  }, [
1033
1043
  u("button", {
1034
- "aria-controls": n.value,
1035
- "aria-expanded": B.value,
1044
+ "aria-controls": l.value,
1045
+ "aria-expanded": I.value,
1036
1046
  type: "button",
1037
1047
  onClick: D
1038
1048
  }, [
1039
- c.value ? (s(), v(w(c.value), {
1049
+ c.value ? (s(), g(w(c.value), {
1040
1050
  key: 0,
1041
1051
  "data-position": "start"
1042
1052
  })) : A("", !0),
@@ -1051,8 +1061,8 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
1051
1061
  u("div", {
1052
1062
  "aria-labelledby": d.value,
1053
1063
  class: "bs-accordion-content",
1054
- "data-open": B.value,
1055
- id: n.value,
1064
+ "data-open": I.value,
1065
+ id: l.value,
1056
1066
  part: "content",
1057
1067
  role: "region"
1058
1068
  }, [
@@ -1071,12 +1081,12 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
1071
1081
  ], St = {
1072
1082
  __name: "BsBanner",
1073
1083
  emits: ["dismiss"],
1074
- setup(e, { emit: l }) {
1075
- const a = g(!1);
1084
+ setup(e, { emit: n }) {
1085
+ const a = $(!1);
1076
1086
  function t() {
1077
- a.value = !0, l("dismiss");
1087
+ a.value = !0, n("dismiss");
1078
1088
  }
1079
- return (n, d) => (s(), r("bs-host", {
1089
+ return (l, d) => (s(), r("bs-host", {
1080
1090
  role: "alert",
1081
1091
  class: "bs-banner",
1082
1092
  "data-component": "bs-banner",
@@ -1085,7 +1095,7 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
1085
1095
  u("div", Le, [
1086
1096
  Ve,
1087
1097
  u("div", qe, [
1088
- f(n.$slots, "default")
1098
+ f(l.$slots, "default")
1089
1099
  ]),
1090
1100
  u("button", {
1091
1101
  type: "button",
@@ -1109,23 +1119,23 @@ const Pe = ["data-disabled"], Ft = {
1109
1119
  size: {}
1110
1120
  },
1111
1121
  setup(e) {
1112
- const l = e, { onLinkClick: a } = x(l), t = T(), n = b(() => {
1122
+ const n = e, { onLinkClick: a } = x(n), t = T(), l = b(() => {
1113
1123
  const i = {
1114
1124
  download: t.download,
1115
1125
  target: t.target
1116
1126
  };
1117
- return l.href ? l.disabled && l.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title) : i.type = t.type || "button", i;
1127
+ return n.href ? n.disabled && n.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title) : i.type = t.type || "button", i;
1118
1128
  });
1119
1129
  function d(i) {
1120
1130
  var c, h;
1121
- (l.disabled || ((h = (c = i.target) == null ? void 0 : c.dataset) == null ? void 0 : h.disabled) === "true") && (i.preventDefault(), i.stopPropagation());
1131
+ (n.disabled || ((h = (c = i.target) == null ? void 0 : c.dataset) == null ? void 0 : h.disabled) === "true") && (i.preventDefault(), i.stopPropagation());
1122
1132
  }
1123
1133
  return (i, c) => (s(), r("bs-host", {
1124
1134
  "data-component": "bs-button",
1125
1135
  "data-disabled": e.disabled || void 0,
1126
1136
  onClickCapture: d
1127
1137
  }, [
1128
- (s(), v(w(e.href ? "a" : "button"), o({
1138
+ (s(), g(w(e.href ? "a" : "button"), o({
1129
1139
  "data-slot": "",
1130
1140
  class: "bs-button",
1131
1141
  "data-ghost": e.ghostBtn,
@@ -1134,8 +1144,8 @@ const Pe = ["data-disabled"], Ft = {
1134
1144
  "data-variant": e.variant,
1135
1145
  disabled: e.disabled,
1136
1146
  href: e.href
1137
- }, n.value, { onClick: m(a) }), {
1138
- default: $(() => [
1147
+ }, l.value, { onClick: m(a) }), {
1148
+ default: v(() => [
1139
1149
  f(i.$slots, "default")
1140
1150
  ]),
1141
1151
  _: 3
@@ -1146,15 +1156,15 @@ const Pe = ["data-disabled"], Ft = {
1146
1156
  const Me = ["offset", "stop-color"], Et = {
1147
1157
  __name: "BsIconGradientWrapper",
1148
1158
  setup(e) {
1149
- const l = [
1159
+ const n = [
1150
1160
  { offset: 0.1326, color: "#EE282A" },
1151
1161
  { offset: 0.5466, color: "#1C0087" },
1152
1162
  { offset: 0.9715, color: "#0086EA" }
1153
- ], a = `svg-gradient-${z()}`, t = g(null), n = g(null);
1163
+ ], a = `svg-gradient-${z()}`, t = $(null), l = $(null);
1154
1164
  function d() {
1155
1165
  var c;
1156
1166
  const i = t.value.querySelector(".svg-wrapper svg");
1157
- (c = n.value) == null || c.setAttribute("viewBox", (i == null ? void 0 : i.getAttribute("viewBox")) || "0 0 0 0");
1167
+ (c = l.value) == null || c.setAttribute("viewBox", (i == null ? void 0 : i.getAttribute("viewBox")) || "0 0 0 0");
1158
1168
  }
1159
1169
  return C(d), (i, c) => (s(), r("bs-host", {
1160
1170
  ref_key: "hostRef",
@@ -1173,7 +1183,7 @@ const Me = ["offset", "stop-color"], Et = {
1173
1183
  width: "0",
1174
1184
  height: "0",
1175
1185
  ref_key: "gradientSvgRef",
1176
- ref: n
1186
+ ref: l
1177
1187
  }, [
1178
1188
  u("linearGradient", {
1179
1189
  id: a,
@@ -1183,7 +1193,7 @@ const Me = ["offset", "stop-color"], Et = {
1183
1193
  y2: "100%",
1184
1194
  gradientUnits: "userSpaceOnUse"
1185
1195
  }, [
1186
- (s(), r(V, null, S(l, (h) => u("stop", {
1196
+ (s(), r(V, null, S(n, (h) => u("stop", {
1187
1197
  key: h.offset,
1188
1198
  offset: h.offset,
1189
1199
  "stop-color": h.color
@@ -1206,13 +1216,13 @@ const Se = ["data-disabled", "htmlFor"], Fe = { "data-slot": "" }, Ee = /* @__PU
1206
1216
  required: {}
1207
1217
  },
1208
1218
  setup(e) {
1209
- const l = e, a = T(), t = b(() => {
1210
- const n = {};
1211
- return l.passAttrs.split(",").forEach((d) => {
1212
- n[d] = a[d];
1213
- }), n;
1219
+ const n = e, a = T(), t = b(() => {
1220
+ const l = {};
1221
+ return n.passAttrs.split(",").forEach((d) => {
1222
+ l[d] = a[d];
1223
+ }), l;
1214
1224
  });
1215
- return (n, d) => (s(), r("bs-host", {
1225
+ return (l, d) => (s(), r("bs-host", {
1216
1226
  "data-component": "bs-label",
1217
1227
  class: q(e.hide ? "visually-hidden" : "")
1218
1228
  }, [
@@ -1221,7 +1231,7 @@ const Se = ["data-disabled", "htmlFor"], Fe = { "data-slot": "" }, Ee = /* @__PU
1221
1231
  htmlFor: e.for
1222
1232
  }, t.value), [
1223
1233
  u("span", Fe, [
1224
- f(n.$slots, "default")
1234
+ f(l.$slots, "default")
1225
1235
  ]),
1226
1236
  e.required ? (s(), r(V, { key: 0 }, [
1227
1237
  Ee,
@@ -1242,14 +1252,14 @@ const Re = { "data-component": "bs-pill" }, Rt = {
1242
1252
  passAttrs: { default: "" }
1243
1253
  },
1244
1254
  setup(e) {
1245
- const l = e, { onLinkClick: a } = x(l), t = T(), n = b(() => l.href ? "a" : t.type === "button" ? "button" : "span"), d = b(() => {
1255
+ const n = e, { onLinkClick: a } = x(n), t = T(), l = b(() => n.href ? "a" : t.type === "button" ? "button" : "span"), d = b(() => {
1246
1256
  const i = {};
1247
- return l.passAttrs.split(",").forEach((c) => {
1257
+ return n.passAttrs.split(",").forEach((c) => {
1248
1258
  i[c] = t[c];
1249
- }), l.disabled && l.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title), n.value === "button" && (i.type = t.type || "button"), i;
1259
+ }), n.disabled && n.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title), l.value === "button" && (i.type = t.type || "button"), i;
1250
1260
  });
1251
1261
  return (i, c) => (s(), r("bs-host", Re, [
1252
- (s(), v(w(n.value), o({
1262
+ (s(), g(w(l.value), o({
1253
1263
  class: "bs-pill",
1254
1264
  "data-active": e.active,
1255
1265
  "data-slot": "",
@@ -1258,7 +1268,7 @@ const Re = { "data-component": "bs-pill" }, Rt = {
1258
1268
  disabled: e.disabled,
1259
1269
  href: e.href
1260
1270
  }, d.value, { onClick: m(a) }), {
1261
- default: $(() => [
1271
+ default: v(() => [
1262
1272
  f(i.$slots, "default")
1263
1273
  ]),
1264
1274
  _: 3
@@ -1279,9 +1289,9 @@ const Ge = { "data-component": "bs-select" }, je = ["id", "disabled", "required"
1279
1289
  modelValue: {}
1280
1290
  },
1281
1291
  setup(e) {
1282
- const l = e, a = ["autocomplete", "multiple", "name", "size"], t = T(), n = b(() => ({ [l.error ? "aria-errormessage" : "aria-describedby"]: l.hintId })), d = b(() => {
1283
- const i = { ...n.value };
1284
- return l.passAttrs.split(",").concat(a).forEach((c) => {
1292
+ const n = e, a = ["autocomplete", "multiple", "name", "size"], t = T(), l = b(() => ({ [n.error ? "aria-errormessage" : "aria-describedby"]: n.hintId })), d = b(() => {
1293
+ const i = { ...l.value };
1294
+ return n.passAttrs.split(",").concat(a).forEach((c) => {
1285
1295
  i[c] = t[c];
1286
1296
  }), i;
1287
1297
  });
@@ -1309,9 +1319,9 @@ const Ne = ["data-position"], We = { "data-slot": "" }, He = ["id"], jt = {
1309
1319
  position: {}
1310
1320
  },
1311
1321
  setup(e) {
1312
- const l = e, a = g(!1), t = g(!1), n = b(() => {
1322
+ const n = e, a = $(!1), t = $(!1), l = b(() => {
1313
1323
  let h = "bs-tooltip-text";
1314
- return t.value && (l.position === void 0 || l.position === "top" || l.position === "bottom" ? h += " escaped-x" : l.position === "left" || l.position === "right" ? h += " escaped-y" : h += " escaped"), h;
1324
+ return t.value && (n.position === void 0 || n.position === "top" || n.position === "bottom" ? h += " escaped-x" : n.position === "left" || n.position === "right" ? h += " escaped-y" : h += " escaped"), h;
1315
1325
  });
1316
1326
  C(() => {
1317
1327
  window.addEventListener("keydown", c);
@@ -1327,7 +1337,7 @@ const Ne = ["data-position"], We = { "data-slot": "" }, He = ["id"], jt = {
1327
1337
  function c(h) {
1328
1338
  a.value && h.key === "Escape" && (a.value = !1, t.value = !0);
1329
1339
  }
1330
- return (h, B) => (s(), r("bs-host", {
1340
+ return (h, I) => (s(), r("bs-host", {
1331
1341
  "data-component": "bs-tooltip",
1332
1342
  onMouseenter: d,
1333
1343
  onFocusin: d,
@@ -1342,7 +1352,7 @@ const Ne = ["data-position"], We = { "data-slot": "" }, He = ["id"], jt = {
1342
1352
  f(h.$slots, "default")
1343
1353
  ]),
1344
1354
  u("div", {
1345
- class: q(n.value),
1355
+ class: q(l.value),
1346
1356
  id: e.tooltipId,
1347
1357
  role: "tooltip"
1348
1358
  }, L(e.content), 11, He)
@@ -1361,8 +1371,8 @@ export {
1361
1371
  et as BsCheckbox,
1362
1372
  tt as BsCircleButton,
1363
1373
  at as BsDropdown,
1364
- nt as BsDropdownOption,
1365
- lt as BsDropdownOptionList,
1374
+ lt as BsDropdownOption,
1375
+ nt as BsDropdownOptionList,
1366
1376
  st as BsDropdownWithOptions,
1367
1377
  it as BsFieldDetails,
1368
1378
  rt as BsFieldLayout,
@@ -1 +1 @@
1
- (function(s,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("#components"),require("uuid")):typeof define=="function"&&define.amd?define(["exports","vue","#components","uuid"],t):(s=typeof globalThis<"u"?globalThis:s||self,t(s.BsdsComponents={},s.Vue,s._components,s.uuid$1))})(this,function(s,t,f,g){"use strict";const B=["color","count","count-max","dot","label","position","show-zero"],k={__name:"BsBadge",props:{color:{},count:{},countMax:{default:99},dot:{},label:{default:"item"},position:{},showZero:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-badge",t.mergeProps(l.$attrs,{color:e.color,count:e.count,"count-max":e.countMax,dot:e.dot,label:e.label,position:e.position,"show-zero":e.showZero}),[t.renderSlot(l.$slots,"default")],16,B))}},$=["char-count","char-max"],p={__name:"BsCharacterCount",props:{charCount:{},charMax:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-character-count",t.mergeProps(l.$attrs,{"char-count":e.charCount,"char-max":e.charMax}),null,16,$))}},y=["chart-title","data","dataIdxLabels","show-legend","show-tooltips","show-x-grid","show-y-grid","stacked","x-label","y-label"],I={__name:"BsChartBar",props:{chartTitle:{},data:{},dataIdxLabels:{},showLegend:{default:!0},showTooltips:{default:!0},showXGrid:{default:!1},showYGrid:{default:!1},stacked:{default:!1},xLabel:{default:""},yLabel:{default:""}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-chart-bar",t.mergeProps(l.$attrs,{"chart-title":e.chartTitle,data:e.data,dataIdxLabels:e.dataIdxLabels,"show-legend":e.showLegend,"show-tooltips":e.showTooltips,"show-x-grid":e.showXGrid,"show-y-grid":e.showYGrid,stacked:e.stacked,"x-label":e.xLabel,"y-label":e.yLabel}),null,16,y))}},C=["data","dataIdxLabels","table-title"],T={__name:"BsChartTable",props:{data:{},dataIdxLabels:{},tableTitle:{default:""}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-chart-table",t.mergeProps(l.$attrs,{data:e.data,dataIdxLabels:e.dataIdxLabels,"table-title":e.tableTitle}),null,16,C))}},E=["label","checked","checked-partially","disabled","error","input-id","pass-attrs","required","size"],w={__name:"BsCheckbox",props:{label:{},checked:{default:!1},checkedPartially:{default:!1},disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},required:{},size:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-checkbox",t.mergeProps(l.$attrs,{label:e.label,checked:e.checked||e.modelValue,"checked-partially":e.checkedPartially,disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,required:e.required,size:e.size,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.checked))}),null,16,E))}};function m(e){const r=t.computed(()=>{var n,o;return((o=(n=e.href)==null?void 0:n.startsWith)==null?void 0:o.call(n,"/"))||!1}),l=t.computed(()=>{var n,o;return r.value&&((n=e.router)==null?void 0:n.navigateTo)||((o=e.router)==null?void 0:o.push)||null});function a(n){var o,i,d,c,u;l.value&&((i=(o=n.target.href)==null?void 0:o.endsWith)!=null&&i.call(o,e.href)||(u=(c=(d=n.target.closest("a"))==null?void 0:d.href)==null?void 0:c.endsWith)!=null&&u.call(c,e.href))&&(n.preventDefault(),l.value(e.href))}return{onLinkClick:a}}const V=["disabled","ghost-btn","hover-effect","href","icon","icon-position","label","pass-attrs","text-btn","size"],P={__name:"BsCircleButton",props:{disabled:{},ghostBtn:{},hoverEffect:{default:!1},href:{},icon:{},iconPosition:{},label:{},passAttrs:{default:""},textBtn:{},size:{},router:{}},emits:[],setup(e,{emit:r}){const l=e,{onLinkClick:a}=m(l);return(n,o)=>(t.openBlock(),t.createElementBlock("bs-circle-button",t.mergeProps(n.$attrs,{disabled:e.disabled,"ghost-btn":e.ghostBtn,"hover-effect":e.hoverEffect,href:e.href,icon:e.icon,"icon-position":e.iconPosition,label:e.label,"pass-attrs":e.passAttrs,"text-btn":e.textBtn,size:e.size,onClick:o[0]||(o[0]=(...i)=>t.unref(a)&&t.unref(a)(...i))}),null,16,V))}},x=["width","top","center","toggle-id","container-id","helper-text","helper-description","enter-controlled","enter-trigger","leave-trigger"],A={__name:"BsDropdown",props:{width:{default:void 0},top:{default:!1},center:{default:!1},toggleId:{},containerId:{default:void 0},helperText:{},helperDescription:{},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["close","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(f.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-dropdown",t.mergeProps(l.$attrs,{width:e.width,top:e.top,center:e.center,"toggle-id":e.toggleId,"container-id":e.containerId,"helper-text":e.helperText,"helper-description":e.helperDescription,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onClose:a[0]||(a[0]=n=>r("close",n.detail)),onEnterend:a[1]||(a[1]=n=>r("enterend",n.detail)),onLeaveend:a[2]||(a[2]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,x)]),_:3}))}},L=["value","variant","options-id","selected","focused","index"],S={__name:"BsDropdownOption",props:{value:{},variant:{default:void 0},optionsId:{},selected:{default:!1},focused:{default:!1},index:{}},emits:["optmouseenter","optselect"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-dropdown-option",t.mergeProps(l.$attrs,{value:e.value,variant:e.variant,"options-id":e.optionsId,selected:e.selected,focused:e.focused,index:e.index,onOptmouseenter:a[0]||(a[0]=n=>r("optmouseenter",n.detail)),onOptselect:a[1]||(a[1]=n=>r("optselect",n.detail))}),[t.renderSlot(l.$slots,"default")],16,L))}},q=["options-id","visible","focus-delay","label","selected-value"],z={__name:"BsDropdownOptionList",props:{optionsId:{},visible:{default:!1},focusDelay:{default:75},label:{},selectedValue:{}},emits:["optselected","close"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-dropdown-option-list",t.mergeProps(l.$attrs,{"options-id":e.optionsId,visible:e.visible,"focus-delay":e.focusDelay,label:e.label,"selected-value":e.selectedValue,onOptselected:a[0]||(a[0]=n=>r("optselected",n.detail)),onClose:a[1]||(a[1]=n=>r("close",n.detail))}),[t.renderSlot(l.$slots,"default")],16,q))}},D=["toggle-id","container-id","options-id","width","top","center","label","selected-value","enter-controlled","enter-trigger","leave-trigger","helper-text","helper-description"],N={__name:"BsDropdownWithOptions",props:{toggleId:{},containerId:{default:void 0},optionsId:{},width:{default:void 0},top:{default:!1},center:{default:!1},label:{},selectedValue:{},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1},helperText:{},helperDescription:{}},emits:["optselected","close","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-dropdown-with-options",t.mergeProps(l.$attrs,{"toggle-id":e.toggleId,"container-id":e.containerId,"options-id":e.optionsId,width:e.width,top:e.top,center:e.center,label:e.label,"selected-value":e.selectedValue,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,"helper-text":e.helperText,"helper-description":e.helperDescription,onOptselected:a[0]||(a[0]=n=>r("optselected",n.detail)),onClose:a[1]||(a[1]=n=>r("close",n.detail)),onEnterend:a[2]||(a[2]=n=>r("enterend",n.detail)),onLeaveend:a[3]||(a[3]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,D))}},M=["char-count","char-max","error","error-msg","hint","hint-id"],O={__name:"BsFieldDetails",props:{charCount:{},charMax:{},error:{},errorMsg:{},hint:{},hintId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-field-details",t.mergeProps(l.$attrs,{"char-count":e.charCount,"char-max":e.charMax,error:e.error,"error-msg":e.errorMsg,hint:e.hint,"hint-id":e.hintId}),null,16,M))}},F=["char-count","char-max","disabled","error","hints","label","label-for","required","hint-id"],R={__name:"BsFieldLayout",props:{charCount:{},charMax:{},disabled:{default:!1},error:{},hints:{},label:{},labelFor:{},required:{},hintId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-field-layout",t.mergeProps(l.$attrs,{"char-count":e.charCount,"char-max":e.charMax,disabled:e.disabled,error:e.error,hints:e.hints,label:e.label,"label-for":e.labelFor,required:e.required,"hint-id":e.hintId}),[t.renderSlot(l.$slots,"default")],16,F))}},j=["error","hint-id","hints"],G={__name:"BsHint",props:{error:{},hintId:{},hints:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-hint",t.mergeProps(l.$attrs,{error:e.error,"hint-id":e.hintId,hints:e.hints}),null,16,j))}},W=["disabled","error","input-id","pass-attrs","placeholder","required","type","value","hint-id"],H={__name:"BsInput",props:{disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,placeholder:e.placeholder,required:e.required,type:e.type,value:e.value||e.modelValue,"hint-id":e.hintId,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,W))}},U=["disabled","error","multifocus","variant"],Y={__name:"BsInputAddon",props:{disabled:{default:!1},error:{default:!1},multifocus:{default:!1},variant:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input-addon",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,multifocus:e.multifocus,variant:e.variant}),[t.renderSlot(l.$slots,"default")],16,U))}},v=["disabled","error","error-msg","hint","hints","input-id","label","pass-attrs","placeholder","required","type","value"],X={__name:"BsInputField",props:{disabled:{default:!1},error:{},errorMsg:{},hint:{},hints:{},inputId:{},label:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input-field",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"error-msg":e.errorMsg,hint:e.hint,hints:e.hints,"input-id":e.inputId,label:e.label,"pass-attrs":e.passAttrs,placeholder:e.placeholder,required:e.required,type:e.type,value:e.value||e.modelValue,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,v))}},Z=["disabled","pass-attrs","placeholder","hint-id","input-id","value"],J={__name:"BsInputSearch",props:{disabled:{default:!1},passAttrs:{default:""},placeholder:{default:"Search Items"},hintId:{},inputId:{},value:{default:""},modelValue:{}},emits:["clear","update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input-search",t.mergeProps(l.$attrs,{disabled:e.disabled,"pass-attrs":e.passAttrs,placeholder:e.placeholder,"hint-id":e.hintId,"input-id":e.inputId,value:e.value||e.modelValue,onClear:a[0]||(a[0]=n=>r("clear",n.detail)),onInput:a[1]||(a[1]=n=>r("update:modelValue",n.target.value))}),null,16,Z))}},Q=["size","variant"],K={__name:"BsLoader",props:{size:{},variant:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-loader",t.mergeProps(l.$attrs,{size:e.size,variant:e.variant}),null,16,Q))}},_=["alert","close-button","enter-controlled","enter-trigger","leave-trigger"],ee={__name:"BsModal",props:{alert:{default:!1},closeButton:{default:!0},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["close","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(f.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-modal",t.mergeProps(l.$attrs,{alert:e.alert,"close-button":e.closeButton,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onClose:a[0]||(a[0]=n=>r("close",n.detail)),onEnterend:a[1]||(a[1]=n=>r("enterend",n.detail)),onLeaveend:a[2]||(a[2]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,_)]),_:3}))}},te=["enter-controlled","enter-trigger","leave-trigger"],ae={__name:"BsOverlay",props:{enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(f.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-overlay",t.mergeProps(l.$attrs,{"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onEnterend:a[0]||(a[0]=n=>r("enterend",n.detail)),onLeaveend:a[1]||(a[1]=n=>r("leaveend",n.detail))}),null,16,te)]),_:1}))}},le=["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"],ne={__name:"BsPagination",props:{showFirstLastButtons:{default:!1},prevPageText:{},firstPageText:{},nextPageText:{},lastPageText:{},fixed:{default:!1},variant:{default:"base"},selection:{},centerDisplay:{default:"numbers"},breakText:{default:"…"},pageRange:{default:3},pageCount:{},centerLabel:{},itemsPerGroup:{default:25},itemsCount:{},resultsIncrements:{}},emits:["selchange"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-pagination",t.mergeProps(l.$attrs,{"show-first-last-buttons":e.showFirstLastButtons,"prev-page-text":e.prevPageText,"first-page-text":e.firstPageText,"next-page-text":e.nextPageText,"last-page-text":e.lastPageText,fixed:e.fixed,variant:e.variant,selection:e.selection,"center-display":e.centerDisplay,"break-text":e.breakText,"page-range":e.pageRange,"page-count":e.pageCount,"center-label":e.centerLabel,"items-per-group":e.itemsPerGroup,"items-count":e.itemsCount,"results-increments":e.resultsIncrements,onSelchange:a[0]||(a[0]=n=>r("selchange",n.detail))}),null,16,le))}},re=["layout","href","image-src","image-size","initials","profile-name","company","job-title","email","action","action-icon","misc-meta","misc-meta-icon"],se={__name:"BsProfile",props:{layout:{},href:{},imageSrc:{},imageSize:{default:"lg"},initials:{},profileName:{},company:{},jobTitle:{},email:{},action:{},actionIcon:{},miscMeta:{},miscMetaIcon:{},router:{}},emits:["action-toggled"],setup(e,{emit:r}){const l=e,{onLinkClick:a}=m(l);return(n,o)=>(t.openBlock(),t.createElementBlock("bs-profile",t.mergeProps(n.$attrs,{layout:e.layout,href:e.href,"image-src":e.imageSrc,"image-size":e.imageSize,initials:e.initials,"profile-name":e.profileName,company:e.company,"job-title":e.jobTitle,email:e.email,action:e.action,"action-icon":e.actionIcon,"misc-meta":e.miscMeta,"misc-meta-icon":e.miscMetaIcon,onActionToggled:o[0]||(o[0]=i=>r("action-toggled",i.detail)),onClick:o[1]||(o[1]=(...i)=>t.unref(a)&&t.unref(a)(...i))}),null,16,re))}},ie=["profile-name","company","job-title","email","action","action-icon","misc-meta","misc-meta-icon"],oe={__name:"BsProfileDetails",props:{profileName:{},company:{},jobTitle:{},email:{},action:{},actionIcon:{},miscMeta:{},miscMetaIcon:{}},emits:["action-toggled"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-profile-details",t.mergeProps(l.$attrs,{"profile-name":e.profileName,company:e.company,"job-title":e.jobTitle,email:e.email,action:e.action,"action-icon":e.actionIcon,"misc-meta":e.miscMeta,"misc-meta-icon":e.miscMetaIcon,onActionToggled:a[0]||(a[0]=n=>r("action-toggled",n.detail))}),null,16,ie))}},de=["src","size","initials","profile-name"],ce={__name:"BsProfileImg",props:{src:{},size:{},initials:{},profileName:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-profile-img",t.mergeProps(l.$attrs,{src:e.src,size:e.size,initials:e.initials,"profile-name":e.profileName}),null,16,de))}},ue=["layout","href","pass-attrs"],fe={__name:"BsProfileLayout",props:{layout:{default:"vertical"},href:{},passAttrs:{default:""},router:{}},emits:[],setup(e,{emit:r}){const l=e,{onLinkClick:a}=m(l);return(n,o)=>(t.openBlock(),t.createElementBlock("bs-profile-layout",t.mergeProps(n.$attrs,{layout:e.layout,href:e.href,"pass-attrs":e.passAttrs,onClick:o[0]||(o[0]=(...i)=>t.unref(a)&&t.unref(a)(...i))}),[t.renderSlot(n.$slots,"default")],16,ue))}},me=["label","checked","disabled","error","input-id","pass-attrs","required","size","value"],he={__name:"BsRadio",props:{label:{},checked:{default:!1},disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},required:{},size:{},value:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-radio",t.mergeProps(l.$attrs,{label:e.label,checked:e.checked||e.modelValue===e.value,disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,required:e.required,size:e.size,value:e.value,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,me))}},be=["disabled","error","error-msg","input-id","label","hint","hints","placeholder","required","value","pass-attrs","data"],ge={__name:"BsSelectField",props:{disabled:{default:!1},error:{},errorMsg:{},inputId:{},label:{},hint:{},hints:{},placeholder:{default:""},required:{},value:{},passAttrs:{default:""},data:{default:[]},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-select-field",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"error-msg":e.errorMsg,"input-id":e.inputId,label:e.label,hint:e.hint,hints:e.hints,placeholder:e.placeholder,required:e.required,value:e.value||e.modelValue,"pass-attrs":e.passAttrs,data:e.data,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,be))}},Be=["checked","disabled","hide-label","input-id","inner-on-label","inner-off-label","label","pass-attrs","size"],ke={__name:"BsSwitch",props:{checked:{default:!1},disabled:{default:!1},hideLabel:{default:!1},inputId:{},innerOnLabel:{},innerOffLabel:{},label:{},passAttrs:{default:""},size:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-switch",t.mergeProps(l.$attrs,{checked:e.checked||e.modelValue,disabled:e.disabled,"hide-label":e.hideLabel,"input-id":e.inputId,"inner-on-label":e.innerOnLabel,"inner-off-label":e.innerOffLabel,label:e.label,"pass-attrs":e.passAttrs,size:e.size,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.checked))}),null,16,Be))}},$e=["active-tab-id","hidden","panel-id"],pe={__name:"BsTab",props:{activeTabId:{},hidden:{default:!1},panelId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-tab",t.mergeProps(l.$attrs,{"active-tab-id":e.activeTabId,hidden:e.hidden,"panel-id":e.panelId}),[t.renderSlot(l.$slots,"default")],16,$e))}},ye=["active-tab-id","helper-text","helper-description"],Ie={__name:"BsTabList",props:{activeTabId:{},helperText:{default:"Select a tab"},helperDescription:{},modelValue:{}},emits:["tabChange","update:modelValue"],setup(e,{emit:r}){const l=a=>{r("tabChange",a.detail),r("update:modelValue",a.detail)};return(a,n)=>(t.openBlock(),t.createElementBlock("bs-tab-list",t.mergeProps(a.$attrs,{"active-tab-id":e.activeTabId||e.modelValue,"helper-text":e.helperText,"helper-description":e.helperDescription,"on:tabChange":l}),[t.createVNode(t.unref(f.ClientOnly),null,{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3})],16,ye))}},Ce=["active-tab-id","tab-id"],Te={__name:"BsTabPanel",props:{activeTabId:{},tabId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-tab-panel",t.mergeProps(l.$attrs,{"active-tab-id":e.activeTabId,"tab-id":e.tabId}),[t.renderSlot(l.$slots,"default")],16,Ce))}},Ee=["disabled","error","input-id","pass-attrs","placeholder","required","rows","value","hint-id"],we={__name:"BsTextarea",props:{disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},placeholder:{},required:{},rows:{default:6},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-textarea",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,placeholder:e.placeholder,required:e.required,rows:e.rows,value:e.value||e.modelValue,"hint-id":e.hintId,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,Ee))}},Ve=["char-max","disabled","error","error-msg","hint","hints","input-id","label","placeholder","required","rows","value","pass-attrs"],Pe={__name:"BsTextareaField",props:{charMax:{},disabled:{default:!1},error:{},errorMsg:{},hint:{},hints:{},inputId:{},label:{},placeholder:{},required:{},rows:{default:6},value:{default:""},passAttrs:{default:""},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-textarea-field",t.mergeProps(l.$attrs,{"char-max":e.charMax,disabled:e.disabled,error:e.error,"error-msg":e.errorMsg,hint:e.hint,hints:e.hints,"input-id":e.inputId,label:e.label,placeholder:e.placeholder,required:e.required,rows:e.rows,value:e.value||e.modelValue,"pass-attrs":e.passAttrs,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,Ve))}},xe=["toast-id","variant","stacked","duration","enter-controlled","enter-trigger","leave-trigger"],Ae={__name:"BsToast",props:{toastId:{},variant:{},stacked:{default:!1},duration:{default:1e4},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["dismiss","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(f.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-toast",t.mergeProps(l.$attrs,{"toast-id":e.toastId,variant:e.variant,stacked:e.stacked,duration:e.duration,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onDismiss:a[0]||(a[0]=n=>r("dismiss",n.detail)),onEnterend:a[1]||(a[1]=n=>r("enterend",n.detail)),onLeaveend:a[2]||(a[2]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,xe)]),_:3}))}},Le={__name:"BsToastActions",props:{},emits:["defaultDismiss"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-toast-actions",t.mergeProps(l.$attrs,{"on:defaultDismiss":a[0]||(a[0]=n=>r("defaultDismiss",n.detail))}),[t.renderSlot(l.$slots,"default")],16))}},Se={__name:"BsToastBody",props:{},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-toast-body",t.normalizeProps(t.guardReactiveProps(l.$attrs)),[t.renderSlot(l.$slots,"default")],16))}},qe=["variant"],ze={__name:"BsToastHeader",props:{variant:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-toast-header",t.mergeProps(l.$attrs,{variant:e.variant}),[t.renderSlot(l.$slots,"default")],16,qe))}},De={__name:"BsToaster",props:{},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(f.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-toaster",t.normalizeProps(t.guardReactiveProps(l.$attrs)),[t.renderSlot(l.$slots,"default")],16)]),_:3}))}},Ne=["enter-class","enter-attribute","enter-duration","leave-class","leave-attribute","leave-duration","enter-controlled","enter-trigger","leave-trigger"],Me={__name:"BsTransition",props:{enterClass:{default:void 0},enterAttribute:{default:void 0},enterDuration:{},leaveClass:{default:void 0},leaveAttribute:{default:void 0},leaveDuration:{default:void 0},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-transition",t.mergeProps(l.$attrs,{"enter-class":e.enterClass,"enter-attribute":e.enterAttribute,"enter-duration":e.enterDuration,"leave-class":e.leaveClass,"leave-attribute":e.leaveAttribute,"leave-duration":e.leaveDuration,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onEnterend:a[0]||(a[0]=n=>r("enterend",n.detail)),onLeaveend:a[1]||(a[1]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,Ne))}};function b(){return g.v4()}const Bt="",Oe=["data-stacked"],Fe=["data-open"],Re=["aria-controls","aria-expanded"],je=["id","aria-level"],Ge=t.createElementVNode("bs-icon-caret-down",{"data-position":"end"},null,-1),We=["aria-labelledby","data-open","id"],He={"data-slot":""},Ue={__name:"BsAccordion",props:{controlled:{default:!1},icon:{},headerText:{},headingLevel:{},openItem:{default:!1},openItemId:{},stacked:{default:!1}},emits:["toggled"],setup(e,{emit:r}){const l=e,a=t.ref(null),n=t.ref(""),o=t.ref(""),i=t.ref(!1),d=t.computed(()=>l.icon?`bs-icon-${l.icon}`:null),c=t.computed(()=>l.openItemId===a.value.id||l.openItem===!0),u=t.computed(()=>l.controlled?c.value:i.value);t.onMounted(()=>{var h;(h=a.value)!=null&&h.id||a.value.setAttribute("id",b()),n.value=a.value.id+"-content",o.value=a.value.id+"-title"});function gt(){r("toggled",a.value.id),l.controlled||(i.value=!i.value)}return(h,wt)=>(t.openBlock(),t.createElementBlock("bs-host",{ref_key:"hostRef",ref:a,class:"bs-accordion","data-component":"bs-accordion","data-stacked":e.stacked},[t.createElementVNode("header",{part:"header","data-open":u.value},[t.createElementVNode("button",{"aria-controls":n.value,"aria-expanded":u.value,type:"button",onClick:gt},[d.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(d.value),{key:0,"data-position":"start"})):t.createCommentVNode("",!0),t.createElementVNode("span",{id:o.value,"aria-level":e.headingLevel,role:"heading"},t.toDisplayString(e.headerText),9,je),Ge],8,Re)],8,Fe),t.createElementVNode("div",{"aria-labelledby":o.value,class:"bs-accordion-content","data-open":u.value,id:n.value,part:"content",role:"region"},[t.createElementVNode("div",He,[t.renderSlot(h.$slots,"default")])],8,We)],8,Oe))}},kt="",Ye=["data-dismissed"],ve={class:"bs-banner-content"},Xe=t.createElementVNode("bs-icon-warning",{size:"lg",class:"bs-banner-warning-icon"},null,-1),Ze={"data-slot":""},Je=[t.createElementVNode("bs-icon-close",null,null,-1)],Qe={__name:"BsBanner",emits:["dismiss"],setup(e,{emit:r}){const l=t.ref(!1);function a(){l.value=!0,r("dismiss")}return(n,o)=>(t.openBlock(),t.createElementBlock("bs-host",{role:"alert",class:"bs-banner","data-component":"bs-banner","data-dismissed":l.value?!0:void 0},[t.createElementVNode("div",ve,[Xe,t.createElementVNode("div",Ze,[t.renderSlot(n.$slots,"default")]),t.createElementVNode("button",{type:"button",title:"Close Banner",onClick:a},Je)])],8,Ye))}},pt="",Ke=["data-disabled"],_e={__name:"BsButton",props:{variant:{},disabled:{},ghostBtn:{},href:{},passAttrs:{default:""},router:{},textBtn:{},size:{}},setup(e){const r=e,{onLinkClick:l}=m(r),a=t.useAttrs(),n=t.computed(()=>{const i={download:a.download,target:a.target};return r.href?r.disabled&&r.href&&(i["aria-disabled"]=!0,i.tabindex="-1",i.title=a.title):i.type=a.type||"button",i});function o(i){var d,c;(r.disabled||((c=(d=i.target)==null?void 0:d.dataset)==null?void 0:c.disabled)==="true")&&(i.preventDefault(),i.stopPropagation())}return(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",{"data-component":"bs-button","data-disabled":e.disabled||void 0,onClickCapture:o},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.href?"a":"button"),t.mergeProps({"data-slot":"",class:"bs-button","data-ghost":e.ghostBtn,"data-size":e.size,"data-text":e.textBtn,"data-variant":e.variant,disabled:e.disabled,href:e.href},n.value,{onClick:t.unref(l)}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16,["data-ghost","data-size","data-text","data-variant","disabled","href","onClick"]))],40,Ke))}},yt="",et=["offset","stop-color"],tt={__name:"BsIconGradientWrapper",setup(e){const r=[{offset:.1326,color:"#EE282A"},{offset:.5466,color:"#1C0087"},{offset:.9715,color:"#0086EA"}],l=`svg-gradient-${b()}`,a=t.ref(null),n=t.ref(null);function o(){var d;const i=a.value.querySelector(".svg-wrapper svg");(d=n.value)==null||d.setAttribute("viewBox",(i==null?void 0:i.getAttribute("viewBox"))||"0 0 0 0")}return t.onMounted(o),(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",{ref_key:"hostRef",ref:a,"data-component":"bs-icon-gradient-wrapper"},[t.createElementVNode("span",{class:"svg-wrapper",style:t.normalizeStyle(`fill: url(#${l});`),"data-slot":""},[t.renderSlot(i.$slots,"default")],4),(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0",ref_key:"gradientSvgRef",ref:n},[t.createElementVNode("linearGradient",{id:l,x1:"0",y1:"0",x2:"100%",y2:"100%",gradientUnits:"userSpaceOnUse"},[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(r,c=>t.createElementVNode("stop",{key:c.offset,offset:c.offset,"stop-color":c.color},null,8,et)),64))])],512))],512))}},It="",at=["data-disabled","htmlFor"],lt={"data-slot":""},nt=t.createElementVNode("span",{"data-required":"","aria-hidden":"true"}," *",-1),rt=t.createElementVNode("span",{class:"visually-hidden"},"required",-1),st={__name:"BsLabel",props:{disabled:{},for:{},hide:{},passAttrs:{default:""},required:{}},setup(e){const r=e,l=t.useAttrs(),a=t.computed(()=>{const n={};return r.passAttrs.split(",").forEach(o=>{n[o]=l[o]}),n});return(n,o)=>(t.openBlock(),t.createElementBlock("bs-host",{"data-component":"bs-label",class:t.normalizeClass(e.hide?"visually-hidden":"")},[t.createElementVNode("label",t.mergeProps({"data-disabled":e.disabled,htmlFor:e.for},a.value),[t.createElementVNode("span",lt,[t.renderSlot(n.$slots,"default")]),e.required?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[nt,rt],64)):t.createCommentVNode("",!0)],16,at)],2))}},Ct="",it={"data-component":"bs-pill"},ot={__name:"BsPill",props:{variant:{},status:{},href:{},active:{},disabled:{},passAttrs:{default:""}},setup(e){const r=e,{onLinkClick:l}=m(r),a=t.useAttrs(),n=t.computed(()=>r.href?"a":a.type==="button"?"button":"span"),o=t.computed(()=>{const i={};return r.passAttrs.split(",").forEach(d=>{i[d]=a[d]}),r.disabled&&r.href&&(i["aria-disabled"]=!0,i.tabindex="-1",i.title=a.title),n.value==="button"&&(i.type=a.type||"button"),i});return(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",it,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.value),t.mergeProps({class:"bs-pill","data-active":e.active,"data-slot":"","data-status":e.status||void 0,"data-variant":e.variant||void 0,disabled:e.disabled,href:e.href},o.value,{onClick:t.unref(l)}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16,["data-active","data-status","data-variant","disabled","href","onClick"]))]))}},Tt="",dt={"data-component":"bs-select"},ct=["id","disabled","required","data-error","value"],ut={__name:"BsSelect",props:{disabled:{default:!1},inputId:{},required:{},error:{},hintId:{},value:{},passAttrs:{default:""},modelValue:{}},setup(e){const r=e,l=["autocomplete","multiple","name","size"],a=t.useAttrs(),n=t.computed(()=>({[r.error?"aria-errormessage":"aria-describedby"]:r.hintId})),o=t.computed(()=>{const i={...n.value};return r.passAttrs.split(",").concat(l).forEach(d=>{i[d]=a[d]}),i});return(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",dt,[t.createElementVNode("select",t.mergeProps({id:e.inputId,class:"bs-select","data-slot":"",disabled:e.disabled,required:e.required,"data-error":e.error,value:e.value||e.modelValue,onChange:d[0]||(d[0]=c=>i.emit("update:modelValue",c.target.value))},o.value),[t.renderSlot(i.$slots,"default")],16,ct)]))}},Et="",ft=["data-position"],mt={"data-slot":""},ht=["id"],bt={__name:"BsTooltip",props:{tooltipId:{},content:{},position:{}},setup(e){const r=e,l=t.ref(!1),a=t.ref(!1),n=t.computed(()=>{let c="bs-tooltip-text";return a.value&&(r.position===void 0||r.position==="top"||r.position==="bottom"?c+=" escaped-x":r.position==="left"||r.position==="right"?c+=" escaped-y":c+=" escaped"),c});t.onMounted(()=>{window.addEventListener("keydown",d)}),t.onUnmounted(()=>{window.removeEventListener("keydown",d)});function o(){l.value=!0}function i(){l.value=!1,a.value=!1}function d(c){l.value&&c.key==="Escape"&&(l.value=!1,a.value=!0)}return(c,u)=>(t.openBlock(),t.createElementBlock("bs-host",{"data-component":"bs-tooltip",onMouseenter:o,onFocusin:o,onMouseleave:i,onFocusout:i},[t.createElementVNode("div",{class:"bs-tooltip","data-position":e.position||void 0},[t.createElementVNode("div",mt,[t.renderSlot(c.$slots,"default")]),t.createElementVNode("div",{class:t.normalizeClass(n.value),id:e.tooltipId,role:"tooltip"},t.toDisplayString(e.content),11,ht)],8,ft)],32))}};s.BsAccordion=Ue,s.BsBadge=k,s.BsBanner=Qe,s.BsButton=_e,s.BsCharacterCount=p,s.BsChartBar=I,s.BsChartTable=T,s.BsCheckbox=w,s.BsCircleButton=P,s.BsDropdown=A,s.BsDropdownOption=S,s.BsDropdownOptionList=z,s.BsDropdownWithOptions=N,s.BsFieldDetails=O,s.BsFieldLayout=R,s.BsHint=G,s.BsIconGradientWrapper=tt,s.BsInput=H,s.BsInputAddon=Y,s.BsInputField=X,s.BsInputSearch=J,s.BsLabel=st,s.BsLoader=K,s.BsModal=ee,s.BsOverlay=ae,s.BsPagination=ne,s.BsPill=ot,s.BsProfile=se,s.BsProfileDetails=oe,s.BsProfileImg=ce,s.BsProfileLayout=fe,s.BsRadio=he,s.BsSelect=ut,s.BsSelectField=ge,s.BsSwitch=ke,s.BsTab=pe,s.BsTabList=Ie,s.BsTabPanel=Te,s.BsTextarea=we,s.BsTextareaField=Pe,s.BsToast=Ae,s.BsToastActions=Le,s.BsToastBody=Se,s.BsToastHeader=ze,s.BsToaster=De,s.BsTooltip=bt,s.BsTransition=Me,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
1
+ (function(s,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("#components"),require("uuid")):typeof define=="function"&&define.amd?define(["exports","vue","#components","uuid"],t):(s=typeof globalThis<"u"?globalThis:s||self,t(s.BsdsComponents={},s.Vue,s._components,s.uuid$1))})(this,function(s,t,u,g){"use strict";const B=["color","count","count-max","dot","label","position","show-zero"],k={__name:"BsBadge",props:{color:{},count:{},countMax:{default:99},dot:{},label:{default:"item"},position:{},showZero:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-badge",t.mergeProps(l.$attrs,{color:e.color,count:e.count,"count-max":e.countMax,dot:e.dot,label:e.label,position:e.position,"show-zero":e.showZero}),[t.renderSlot(l.$slots,"default")],16,B))}},$=["char-count","char-max"],p={__name:"BsCharacterCount",props:{charCount:{},charMax:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-character-count",t.mergeProps(l.$attrs,{"char-count":e.charCount,"char-max":e.charMax}),null,16,$))}},y=["chart-title","data","dataIdxLabels","show-legend","show-tooltips","show-x-grid","show-y-grid","stacked","x-label","y-label"],I={__name:"BsChartBar",props:{chartTitle:{},data:{},dataIdxLabels:{},showLegend:{default:!0},showTooltips:{default:!0},showXGrid:{default:!1},showYGrid:{default:!1},stacked:{default:!1},xLabel:{default:""},yLabel:{default:""}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-chart-bar",t.mergeProps(l.$attrs,{"chart-title":e.chartTitle,data:e.data,dataIdxLabels:e.dataIdxLabels,"show-legend":e.showLegend,"show-tooltips":e.showTooltips,"show-x-grid":e.showXGrid,"show-y-grid":e.showYGrid,stacked:e.stacked,"x-label":e.xLabel,"y-label":e.yLabel}),null,16,y))}},C=["data","dataIdxLabels","table-title"],T={__name:"BsChartTable",props:{data:{},dataIdxLabels:{},tableTitle:{default:""}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-chart-table",t.mergeProps(l.$attrs,{data:e.data,dataIdxLabels:e.dataIdxLabels,"table-title":e.tableTitle}),null,16,C))}},E=["label","checked","checked-partially","disabled","error","input-id","pass-attrs","required","size"],w={__name:"BsCheckbox",props:{label:{},checked:{default:!1},checkedPartially:{default:!1},disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},required:{},size:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-checkbox",t.mergeProps(l.$attrs,{label:e.label,checked:e.checked||e.modelValue,"checked-partially":e.checkedPartially,disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,required:e.required,size:e.size,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.checked))}),null,16,E))}};function m(e){const r=t.computed(()=>{var n,o;return((o=(n=e.href)==null?void 0:n.startsWith)==null?void 0:o.call(n,"/"))||!1}),l=t.computed(()=>{var n,o;return r.value&&((n=e.router)==null?void 0:n.navigateTo)||((o=e.router)==null?void 0:o.push)||null});function a(n){var o,i,d,c,f;l.value&&((i=(o=n.target.href)==null?void 0:o.endsWith)!=null&&i.call(o,e.href)||(f=(c=(d=n.target.closest("a"))==null?void 0:d.href)==null?void 0:c.endsWith)!=null&&f.call(c,e.href))&&(n.preventDefault(),l.value(e.href))}return{onLinkClick:a}}const V=["disabled","ghost-btn","hover-effect","href","icon","icon-position","label","pass-attrs","text-btn","size"],P={__name:"BsCircleButton",props:{disabled:{},ghostBtn:{},hoverEffect:{default:!1},href:{},icon:{},iconPosition:{},label:{},passAttrs:{default:""},textBtn:{},size:{},router:{}},emits:[],setup(e,{emit:r}){const l=e,{onLinkClick:a}=m(l);return(n,o)=>(t.openBlock(),t.createElementBlock("bs-circle-button",t.mergeProps(n.$attrs,{disabled:e.disabled,"ghost-btn":e.ghostBtn,"hover-effect":e.hoverEffect,href:e.href,icon:e.icon,"icon-position":e.iconPosition,label:e.label,"pass-attrs":e.passAttrs,"text-btn":e.textBtn,size:e.size,onClick:o[0]||(o[0]=(...i)=>t.unref(a)&&t.unref(a)(...i))}),null,16,V))}},x=["width","top","center","toggle-id","container-id","helper-text","helper-description","enter-controlled","enter-trigger","leave-trigger"],A={__name:"BsDropdown",props:{width:{default:void 0},top:{default:!1},center:{default:!1},toggleId:{},containerId:{default:void 0},helperText:{},helperDescription:{},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["close","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-dropdown",t.mergeProps(l.$attrs,{width:e.width,top:e.top,center:e.center,"toggle-id":e.toggleId,"container-id":e.containerId,"helper-text":e.helperText,"helper-description":e.helperDescription,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onClose:a[0]||(a[0]=n=>r("close",n.detail)),onEnterend:a[1]||(a[1]=n=>r("enterend",n.detail)),onLeaveend:a[2]||(a[2]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,x)]),_:3}))}},L=["value","variant","options-id","selected","focused","index"],S={__name:"BsDropdownOption",props:{value:{},variant:{default:void 0},optionsId:{},selected:{default:!1},focused:{default:!1},index:{}},emits:["optmouseenter","optselect"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-dropdown-option",t.mergeProps(l.$attrs,{value:e.value,variant:e.variant,"options-id":e.optionsId,selected:e.selected,focused:e.focused,index:e.index,onOptmouseenter:a[0]||(a[0]=n=>r("optmouseenter",n.detail)),onOptselect:a[1]||(a[1]=n=>r("optselect",n.detail))}),[t.renderSlot(l.$slots,"default")],16,L))}},q=["options-id","visible","focus-delay","label","selected-value"],z={__name:"BsDropdownOptionList",props:{optionsId:{},visible:{default:!1},focusDelay:{default:75},label:{},selectedValue:{}},emits:["optselected","close"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-dropdown-option-list",t.mergeProps(l.$attrs,{"options-id":e.optionsId,visible:e.visible,"focus-delay":e.focusDelay,label:e.label,"selected-value":e.selectedValue,onOptselected:a[0]||(a[0]=n=>r("optselected",n.detail)),onClose:a[1]||(a[1]=n=>r("close",n.detail))}),[t.renderSlot(l.$slots,"default")],16,q)]),_:3}))}},D=["toggle-id","container-id","options-id","width","top","center","label","selected-value","enter-controlled","enter-trigger","leave-trigger","helper-text","helper-description"],N={__name:"BsDropdownWithOptions",props:{toggleId:{},containerId:{default:void 0},optionsId:{},width:{default:void 0},top:{default:!1},center:{default:!1},label:{},selectedValue:{},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1},helperText:{},helperDescription:{}},emits:["optselected","close","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-dropdown-with-options",t.mergeProps(l.$attrs,{"toggle-id":e.toggleId,"container-id":e.containerId,"options-id":e.optionsId,width:e.width,top:e.top,center:e.center,label:e.label,"selected-value":e.selectedValue,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,"helper-text":e.helperText,"helper-description":e.helperDescription,onOptselected:a[0]||(a[0]=n=>r("optselected",n.detail)),onClose:a[1]||(a[1]=n=>r("close",n.detail)),onEnterend:a[2]||(a[2]=n=>r("enterend",n.detail)),onLeaveend:a[3]||(a[3]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,D)]),_:3}))}},M=["char-count","char-max","error","error-msg","hint","hint-id"],O={__name:"BsFieldDetails",props:{charCount:{},charMax:{},error:{},errorMsg:{},hint:{},hintId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-field-details",t.mergeProps(l.$attrs,{"char-count":e.charCount,"char-max":e.charMax,error:e.error,"error-msg":e.errorMsg,hint:e.hint,"hint-id":e.hintId}),null,16,M))}},F=["char-count","char-max","disabled","error","hints","label","label-for","required","hint-id"],R={__name:"BsFieldLayout",props:{charCount:{},charMax:{},disabled:{default:!1},error:{},hints:{},label:{},labelFor:{},required:{},hintId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-field-layout",t.mergeProps(l.$attrs,{"char-count":e.charCount,"char-max":e.charMax,disabled:e.disabled,error:e.error,hints:e.hints,label:e.label,"label-for":e.labelFor,required:e.required,"hint-id":e.hintId}),[t.renderSlot(l.$slots,"default")],16,F))}},j=["error","hint-id","hints"],G={__name:"BsHint",props:{error:{},hintId:{},hints:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-hint",t.mergeProps(l.$attrs,{error:e.error,"hint-id":e.hintId,hints:e.hints}),null,16,j))}},W=["disabled","error","input-id","pass-attrs","placeholder","required","type","value","hint-id"],H={__name:"BsInput",props:{disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,placeholder:e.placeholder,required:e.required,type:e.type,value:e.value||e.modelValue,"hint-id":e.hintId,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,W))}},U=["disabled","error","multifocus","variant"],Y={__name:"BsInputAddon",props:{disabled:{default:!1},error:{default:!1},multifocus:{default:!1},variant:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input-addon",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,multifocus:e.multifocus,variant:e.variant}),[t.renderSlot(l.$slots,"default")],16,U))}},X=["disabled","error","error-msg","hint","hints","input-id","label","pass-attrs","placeholder","required","type","value"],Z={__name:"BsInputField",props:{disabled:{default:!1},error:{},errorMsg:{},hint:{},hints:{},inputId:{},label:{},passAttrs:{default:""},placeholder:{},required:{},type:{default:"text"},value:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input-field",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"error-msg":e.errorMsg,hint:e.hint,hints:e.hints,"input-id":e.inputId,label:e.label,"pass-attrs":e.passAttrs,placeholder:e.placeholder,required:e.required,type:e.type,value:e.value||e.modelValue,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,X))}},J=["disabled","pass-attrs","placeholder","hint-id","input-id","value"],Q={__name:"BsInputSearch",props:{disabled:{default:!1},passAttrs:{default:""},placeholder:{default:"Search Items"},hintId:{},inputId:{},value:{default:""},modelValue:{}},emits:["clear","update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-input-search",t.mergeProps(l.$attrs,{disabled:e.disabled,"pass-attrs":e.passAttrs,placeholder:e.placeholder,"hint-id":e.hintId,"input-id":e.inputId,value:e.value||e.modelValue,onClear:a[0]||(a[0]=n=>r("clear",n.detail)),onInput:a[1]||(a[1]=n=>r("update:modelValue",n.target.value))}),null,16,J))}},K=["size","variant"],v={__name:"BsLoader",props:{size:{},variant:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-loader",t.mergeProps(l.$attrs,{size:e.size,variant:e.variant}),null,16,K))}},_=["alert","close-button","enter-controlled","enter-trigger","leave-trigger"],ee={__name:"BsModal",props:{alert:{default:!1},closeButton:{default:!0},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["close","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-modal",t.mergeProps(l.$attrs,{alert:e.alert,"close-button":e.closeButton,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onClose:a[0]||(a[0]=n=>r("close",n.detail)),onEnterend:a[1]||(a[1]=n=>r("enterend",n.detail)),onLeaveend:a[2]||(a[2]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,_)]),_:3}))}},te=["enter-controlled","enter-trigger","leave-trigger"],ae={__name:"BsOverlay",props:{enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-overlay",t.mergeProps(l.$attrs,{"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onEnterend:a[0]||(a[0]=n=>r("enterend",n.detail)),onLeaveend:a[1]||(a[1]=n=>r("leaveend",n.detail))}),null,16,te)]),_:1}))}},le=["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"],ne={__name:"BsPagination",props:{showFirstLastButtons:{default:!1},prevPageText:{},firstPageText:{},nextPageText:{},lastPageText:{},fixed:{default:!1},variant:{default:"base"},selection:{},centerDisplay:{default:"numbers"},breakText:{default:"…"},pageRange:{default:3},pageCount:{},centerLabel:{},itemsPerGroup:{default:25},itemsCount:{},resultsIncrements:{}},emits:["selchange"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-pagination",t.mergeProps(l.$attrs,{"show-first-last-buttons":e.showFirstLastButtons,"prev-page-text":e.prevPageText,"first-page-text":e.firstPageText,"next-page-text":e.nextPageText,"last-page-text":e.lastPageText,fixed:e.fixed,variant:e.variant,selection:e.selection,"center-display":e.centerDisplay,"break-text":e.breakText,"page-range":e.pageRange,"page-count":e.pageCount,"center-label":e.centerLabel,"items-per-group":e.itemsPerGroup,"items-count":e.itemsCount,"results-increments":e.resultsIncrements,onSelchange:a[0]||(a[0]=n=>r("selchange",n.detail))}),null,16,le))}},re=["layout","href","image-src","image-size","initials","profile-name","company","job-title","email","action","action-icon","misc-meta","misc-meta-icon"],se={__name:"BsProfile",props:{layout:{},href:{},imageSrc:{},imageSize:{default:"lg"},initials:{},profileName:{},company:{},jobTitle:{},email:{},action:{},actionIcon:{},miscMeta:{},miscMetaIcon:{},router:{}},emits:["action-toggled"],setup(e,{emit:r}){const l=e,{onLinkClick:a}=m(l);return(n,o)=>(t.openBlock(),t.createElementBlock("bs-profile",t.mergeProps(n.$attrs,{layout:e.layout,href:e.href,"image-src":e.imageSrc,"image-size":e.imageSize,initials:e.initials,"profile-name":e.profileName,company:e.company,"job-title":e.jobTitle,email:e.email,action:e.action,"action-icon":e.actionIcon,"misc-meta":e.miscMeta,"misc-meta-icon":e.miscMetaIcon,onActionToggled:o[0]||(o[0]=i=>r("action-toggled",i.detail)),onClick:o[1]||(o[1]=(...i)=>t.unref(a)&&t.unref(a)(...i))}),null,16,re))}},ie=["profile-name","company","job-title","email","action","action-icon","misc-meta","misc-meta-icon"],oe={__name:"BsProfileDetails",props:{profileName:{},company:{},jobTitle:{},email:{},action:{},actionIcon:{},miscMeta:{},miscMetaIcon:{}},emits:["action-toggled"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-profile-details",t.mergeProps(l.$attrs,{"profile-name":e.profileName,company:e.company,"job-title":e.jobTitle,email:e.email,action:e.action,"action-icon":e.actionIcon,"misc-meta":e.miscMeta,"misc-meta-icon":e.miscMetaIcon,onActionToggled:a[0]||(a[0]=n=>r("action-toggled",n.detail))}),null,16,ie))}},de=["src","size","initials","profile-name"],ce={__name:"BsProfileImg",props:{src:{},size:{},initials:{},profileName:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-profile-img",t.mergeProps(l.$attrs,{src:e.src,size:e.size,initials:e.initials,"profile-name":e.profileName}),null,16,de))}},ue=["layout","href","pass-attrs"],fe={__name:"BsProfileLayout",props:{layout:{default:"vertical"},href:{},passAttrs:{default:""},router:{}},emits:[],setup(e,{emit:r}){const l=e,{onLinkClick:a}=m(l);return(n,o)=>(t.openBlock(),t.createElementBlock("bs-profile-layout",t.mergeProps(n.$attrs,{layout:e.layout,href:e.href,"pass-attrs":e.passAttrs,onClick:o[0]||(o[0]=(...i)=>t.unref(a)&&t.unref(a)(...i))}),[t.renderSlot(n.$slots,"default")],16,ue))}},me=["label","checked","disabled","error","input-id","pass-attrs","required","size","value"],he={__name:"BsRadio",props:{label:{},checked:{default:!1},disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},required:{},size:{},value:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-radio",t.mergeProps(l.$attrs,{label:e.label,checked:e.checked||e.modelValue===e.value,disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,required:e.required,size:e.size,value:e.value,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,me))}},be=["disabled","error","error-msg","input-id","label","hint","hints","placeholder","required","value","pass-attrs","data"],ge={__name:"BsSelectField",props:{disabled:{default:!1},error:{},errorMsg:{},inputId:{},label:{},hint:{},hints:{},placeholder:{default:""},required:{},value:{},passAttrs:{default:""},data:{default:[]},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-select-field",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"error-msg":e.errorMsg,"input-id":e.inputId,label:e.label,hint:e.hint,hints:e.hints,placeholder:e.placeholder,required:e.required,value:e.value||e.modelValue,"pass-attrs":e.passAttrs,data:e.data,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,be))}},Be=["checked","disabled","hide-label","input-id","inner-on-label","inner-off-label","label","pass-attrs","size"],ke={__name:"BsSwitch",props:{checked:{default:!1},disabled:{default:!1},hideLabel:{default:!1},inputId:{},innerOnLabel:{},innerOffLabel:{},label:{},passAttrs:{default:""},size:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-switch",t.mergeProps(l.$attrs,{checked:e.checked||e.modelValue,disabled:e.disabled,"hide-label":e.hideLabel,"input-id":e.inputId,"inner-on-label":e.innerOnLabel,"inner-off-label":e.innerOffLabel,label:e.label,"pass-attrs":e.passAttrs,size:e.size,onChange:a[0]||(a[0]=n=>r("update:modelValue",n.target.checked))}),null,16,Be))}},$e=["active-tab-id","hidden","panel-id"],pe={__name:"BsTab",props:{activeTabId:{},hidden:{default:!1},panelId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-tab",t.mergeProps(l.$attrs,{"active-tab-id":e.activeTabId,hidden:e.hidden,"panel-id":e.panelId}),[t.renderSlot(l.$slots,"default")],16,$e))}},ye=["active-tab-id","helper-text","helper-description"],Ie={__name:"BsTabList",props:{activeTabId:{},helperText:{default:"Select a tab"},helperDescription:{},modelValue:{}},emits:["tabChange","update:modelValue"],setup(e,{emit:r}){const l=a=>{r("tabChange",a.detail),r("update:modelValue",a.detail)};return(a,n)=>(t.openBlock(),t.createElementBlock("bs-tab-list",t.mergeProps(a.$attrs,{"active-tab-id":e.activeTabId||e.modelValue,"helper-text":e.helperText,"helper-description":e.helperDescription,"on:tabChange":l}),[t.createVNode(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3})],16,ye))}},Ce=["active-tab-id","tab-id"],Te={__name:"BsTabPanel",props:{activeTabId:{},tabId:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-tab-panel",t.mergeProps(l.$attrs,{"active-tab-id":e.activeTabId,"tab-id":e.tabId}),[t.renderSlot(l.$slots,"default")],16,Ce))}},Ee=["disabled","error","input-id","pass-attrs","placeholder","required","rows","value","hint-id"],we={__name:"BsTextarea",props:{disabled:{default:!1},error:{},inputId:{},passAttrs:{default:""},placeholder:{},required:{},rows:{default:6},value:{},hintId:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-textarea",t.mergeProps(l.$attrs,{disabled:e.disabled,error:e.error,"input-id":e.inputId,"pass-attrs":e.passAttrs,placeholder:e.placeholder,required:e.required,rows:e.rows,value:e.value||e.modelValue,"hint-id":e.hintId,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,Ee))}},Ve=["char-max","disabled","error","error-msg","hint","hints","input-id","label","placeholder","required","rows","value","pass-attrs"],Pe={__name:"BsTextareaField",props:{charMax:{},disabled:{default:!1},error:{},errorMsg:{},hint:{},hints:{},inputId:{},label:{},placeholder:{},required:{},rows:{default:6},value:{default:""},passAttrs:{default:""},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-textarea-field",t.mergeProps(l.$attrs,{"char-max":e.charMax,disabled:e.disabled,error:e.error,"error-msg":e.errorMsg,hint:e.hint,hints:e.hints,"input-id":e.inputId,label:e.label,placeholder:e.placeholder,required:e.required,rows:e.rows,value:e.value||e.modelValue,"pass-attrs":e.passAttrs,onInput:a[0]||(a[0]=n=>r("update:modelValue",n.target.value))}),null,16,Ve))}},xe=["toast-id","variant","stacked","duration","enter-controlled","enter-trigger","leave-trigger"],Ae={__name:"BsToast",props:{toastId:{},variant:{},stacked:{default:!1},duration:{default:1e4},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["dismiss","enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-toast",t.mergeProps(l.$attrs,{"toast-id":e.toastId,variant:e.variant,stacked:e.stacked,duration:e.duration,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onDismiss:a[0]||(a[0]=n=>r("dismiss",n.detail)),onEnterend:a[1]||(a[1]=n=>r("enterend",n.detail)),onLeaveend:a[2]||(a[2]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,xe)]),_:3}))}},Le={__name:"BsToastActions",props:{},emits:["defaultDismiss"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-toast-actions",t.mergeProps(l.$attrs,{"on:defaultDismiss":a[0]||(a[0]=n=>r("defaultDismiss",n.detail))}),[t.renderSlot(l.$slots,"default")],16))}},Se={__name:"BsToastBody",props:{},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-toast-body",t.normalizeProps(t.guardReactiveProps(l.$attrs)),[t.renderSlot(l.$slots,"default")],16))}},qe=["variant"],ze={__name:"BsToastHeader",props:{variant:{}},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-toast-header",t.mergeProps(l.$attrs,{variant:e.variant}),[t.renderSlot(l.$slots,"default")],16,qe))}},De={__name:"BsToaster",props:{},emits:[],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createBlock(t.unref(u.ClientOnly),null,{default:t.withCtx(()=>[t.createElementVNode("bs-toaster",t.normalizeProps(t.guardReactiveProps(l.$attrs)),[t.renderSlot(l.$slots,"default")],16)]),_:3}))}},Ne=["enter-class","enter-attribute","enter-duration","leave-class","leave-attribute","leave-duration","enter-controlled","enter-trigger","leave-trigger"],Me={__name:"BsTransition",props:{enterClass:{default:void 0},enterAttribute:{default:void 0},enterDuration:{},leaveClass:{default:void 0},leaveAttribute:{default:void 0},leaveDuration:{default:void 0},enterControlled:{default:!1},enterTrigger:{default:!1},leaveTrigger:{default:!1}},emits:["enterend","leaveend"],setup(e,{emit:r}){return(l,a)=>(t.openBlock(),t.createElementBlock("bs-transition",t.mergeProps(l.$attrs,{"enter-class":e.enterClass,"enter-attribute":e.enterAttribute,"enter-duration":e.enterDuration,"leave-class":e.leaveClass,"leave-attribute":e.leaveAttribute,"leave-duration":e.leaveDuration,"enter-controlled":e.enterControlled,"enter-trigger":e.enterTrigger,"leave-trigger":e.leaveTrigger,onEnterend:a[0]||(a[0]=n=>r("enterend",n.detail)),onLeaveend:a[1]||(a[1]=n=>r("leaveend",n.detail))}),[t.renderSlot(l.$slots,"default")],16,Ne))}};function b(){return g.v4()}const Bt="",Oe=["data-stacked"],Fe=["data-open"],Re=["aria-controls","aria-expanded"],je=["id","aria-level"],Ge=t.createElementVNode("bs-icon-caret-down",{"data-position":"end"},null,-1),We=["aria-labelledby","data-open","id"],He={"data-slot":""},Ue={__name:"BsAccordion",props:{controlled:{default:!1},icon:{},headerText:{},headingLevel:{},openItem:{default:!1},openItemId:{},stacked:{default:!1}},emits:["toggled"],setup(e,{emit:r}){const l=e,a=t.ref(null),n=t.ref(""),o=t.ref(""),i=t.ref(!1),d=t.computed(()=>l.icon?`bs-icon-${l.icon}`:null),c=t.computed(()=>l.openItemId===a.value.id||l.openItem===!0),f=t.computed(()=>l.controlled?c.value:i.value);t.onMounted(()=>{var h;(h=a.value)!=null&&h.id||a.value.setAttribute("id",b()),n.value=a.value.id+"-content",o.value=a.value.id+"-title"});function gt(){r("toggled",a.value.id),l.controlled||(i.value=!i.value)}return(h,wt)=>(t.openBlock(),t.createElementBlock("bs-host",{ref_key:"hostRef",ref:a,class:"bs-accordion","data-component":"bs-accordion","data-stacked":e.stacked},[t.createElementVNode("header",{part:"header","data-open":f.value},[t.createElementVNode("button",{"aria-controls":n.value,"aria-expanded":f.value,type:"button",onClick:gt},[d.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(d.value),{key:0,"data-position":"start"})):t.createCommentVNode("",!0),t.createElementVNode("span",{id:o.value,"aria-level":e.headingLevel,role:"heading"},t.toDisplayString(e.headerText),9,je),Ge],8,Re)],8,Fe),t.createElementVNode("div",{"aria-labelledby":o.value,class:"bs-accordion-content","data-open":f.value,id:n.value,part:"content",role:"region"},[t.createElementVNode("div",He,[t.renderSlot(h.$slots,"default")])],8,We)],8,Oe))}},kt="",Ye=["data-dismissed"],Xe={class:"bs-banner-content"},Ze=t.createElementVNode("bs-icon-warning",{size:"lg",class:"bs-banner-warning-icon"},null,-1),Je={"data-slot":""},Qe=[t.createElementVNode("bs-icon-close",null,null,-1)],Ke={__name:"BsBanner",emits:["dismiss"],setup(e,{emit:r}){const l=t.ref(!1);function a(){l.value=!0,r("dismiss")}return(n,o)=>(t.openBlock(),t.createElementBlock("bs-host",{role:"alert",class:"bs-banner","data-component":"bs-banner","data-dismissed":l.value?!0:void 0},[t.createElementVNode("div",Xe,[Ze,t.createElementVNode("div",Je,[t.renderSlot(n.$slots,"default")]),t.createElementVNode("button",{type:"button",title:"Close Banner",onClick:a},Qe)])],8,Ye))}},pt="",ve=["data-disabled"],_e={__name:"BsButton",props:{variant:{},disabled:{},ghostBtn:{},href:{},passAttrs:{default:""},router:{},textBtn:{},size:{}},setup(e){const r=e,{onLinkClick:l}=m(r),a=t.useAttrs(),n=t.computed(()=>{const i={download:a.download,target:a.target};return r.href?r.disabled&&r.href&&(i["aria-disabled"]=!0,i.tabindex="-1",i.title=a.title):i.type=a.type||"button",i});function o(i){var d,c;(r.disabled||((c=(d=i.target)==null?void 0:d.dataset)==null?void 0:c.disabled)==="true")&&(i.preventDefault(),i.stopPropagation())}return(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",{"data-component":"bs-button","data-disabled":e.disabled||void 0,onClickCapture:o},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.href?"a":"button"),t.mergeProps({"data-slot":"",class:"bs-button","data-ghost":e.ghostBtn,"data-size":e.size,"data-text":e.textBtn,"data-variant":e.variant,disabled:e.disabled,href:e.href},n.value,{onClick:t.unref(l)}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16,["data-ghost","data-size","data-text","data-variant","disabled","href","onClick"]))],40,ve))}},yt="",et=["offset","stop-color"],tt={__name:"BsIconGradientWrapper",setup(e){const r=[{offset:.1326,color:"#EE282A"},{offset:.5466,color:"#1C0087"},{offset:.9715,color:"#0086EA"}],l=`svg-gradient-${b()}`,a=t.ref(null),n=t.ref(null);function o(){var d;const i=a.value.querySelector(".svg-wrapper svg");(d=n.value)==null||d.setAttribute("viewBox",(i==null?void 0:i.getAttribute("viewBox"))||"0 0 0 0")}return t.onMounted(o),(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",{ref_key:"hostRef",ref:a,"data-component":"bs-icon-gradient-wrapper"},[t.createElementVNode("span",{class:"svg-wrapper",style:t.normalizeStyle(`fill: url(#${l});`),"data-slot":""},[t.renderSlot(i.$slots,"default")],4),(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0",ref_key:"gradientSvgRef",ref:n},[t.createElementVNode("linearGradient",{id:l,x1:"0",y1:"0",x2:"100%",y2:"100%",gradientUnits:"userSpaceOnUse"},[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(r,c=>t.createElementVNode("stop",{key:c.offset,offset:c.offset,"stop-color":c.color},null,8,et)),64))])],512))],512))}},It="",at=["data-disabled","htmlFor"],lt={"data-slot":""},nt=t.createElementVNode("span",{"data-required":"","aria-hidden":"true"}," *",-1),rt=t.createElementVNode("span",{class:"visually-hidden"},"required",-1),st={__name:"BsLabel",props:{disabled:{},for:{},hide:{},passAttrs:{default:""},required:{}},setup(e){const r=e,l=t.useAttrs(),a=t.computed(()=>{const n={};return r.passAttrs.split(",").forEach(o=>{n[o]=l[o]}),n});return(n,o)=>(t.openBlock(),t.createElementBlock("bs-host",{"data-component":"bs-label",class:t.normalizeClass(e.hide?"visually-hidden":"")},[t.createElementVNode("label",t.mergeProps({"data-disabled":e.disabled,htmlFor:e.for},a.value),[t.createElementVNode("span",lt,[t.renderSlot(n.$slots,"default")]),e.required?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[nt,rt],64)):t.createCommentVNode("",!0)],16,at)],2))}},Ct="",it={"data-component":"bs-pill"},ot={__name:"BsPill",props:{variant:{},status:{},href:{},active:{},disabled:{},passAttrs:{default:""}},setup(e){const r=e,{onLinkClick:l}=m(r),a=t.useAttrs(),n=t.computed(()=>r.href?"a":a.type==="button"?"button":"span"),o=t.computed(()=>{const i={};return r.passAttrs.split(",").forEach(d=>{i[d]=a[d]}),r.disabled&&r.href&&(i["aria-disabled"]=!0,i.tabindex="-1",i.title=a.title),n.value==="button"&&(i.type=a.type||"button"),i});return(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",it,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.value),t.mergeProps({class:"bs-pill","data-active":e.active,"data-slot":"","data-status":e.status||void 0,"data-variant":e.variant||void 0,disabled:e.disabled,href:e.href},o.value,{onClick:t.unref(l)}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default")]),_:3},16,["data-active","data-status","data-variant","disabled","href","onClick"]))]))}},Tt="",dt={"data-component":"bs-select"},ct=["id","disabled","required","data-error","value"],ut={__name:"BsSelect",props:{disabled:{default:!1},inputId:{},required:{},error:{},hintId:{},value:{},passAttrs:{default:""},modelValue:{}},setup(e){const r=e,l=["autocomplete","multiple","name","size"],a=t.useAttrs(),n=t.computed(()=>({[r.error?"aria-errormessage":"aria-describedby"]:r.hintId})),o=t.computed(()=>{const i={...n.value};return r.passAttrs.split(",").concat(l).forEach(d=>{i[d]=a[d]}),i});return(i,d)=>(t.openBlock(),t.createElementBlock("bs-host",dt,[t.createElementVNode("select",t.mergeProps({id:e.inputId,class:"bs-select","data-slot":"",disabled:e.disabled,required:e.required,"data-error":e.error,value:e.value||e.modelValue,onChange:d[0]||(d[0]=c=>i.emit("update:modelValue",c.target.value))},o.value),[t.renderSlot(i.$slots,"default")],16,ct)]))}},Et="",ft=["data-position"],mt={"data-slot":""},ht=["id"],bt={__name:"BsTooltip",props:{tooltipId:{},content:{},position:{}},setup(e){const r=e,l=t.ref(!1),a=t.ref(!1),n=t.computed(()=>{let c="bs-tooltip-text";return a.value&&(r.position===void 0||r.position==="top"||r.position==="bottom"?c+=" escaped-x":r.position==="left"||r.position==="right"?c+=" escaped-y":c+=" escaped"),c});t.onMounted(()=>{window.addEventListener("keydown",d)}),t.onUnmounted(()=>{window.removeEventListener("keydown",d)});function o(){l.value=!0}function i(){l.value=!1,a.value=!1}function d(c){l.value&&c.key==="Escape"&&(l.value=!1,a.value=!0)}return(c,f)=>(t.openBlock(),t.createElementBlock("bs-host",{"data-component":"bs-tooltip",onMouseenter:o,onFocusin:o,onMouseleave:i,onFocusout:i},[t.createElementVNode("div",{class:"bs-tooltip","data-position":e.position||void 0},[t.createElementVNode("div",mt,[t.renderSlot(c.$slots,"default")]),t.createElementVNode("div",{class:t.normalizeClass(n.value),id:e.tooltipId,role:"tooltip"},t.toDisplayString(e.content),11,ht)],8,ft)],32))}};s.BsAccordion=Ue,s.BsBadge=k,s.BsBanner=Ke,s.BsButton=_e,s.BsCharacterCount=p,s.BsChartBar=I,s.BsChartTable=T,s.BsCheckbox=w,s.BsCircleButton=P,s.BsDropdown=A,s.BsDropdownOption=S,s.BsDropdownOptionList=z,s.BsDropdownWithOptions=N,s.BsFieldDetails=O,s.BsFieldLayout=R,s.BsHint=G,s.BsIconGradientWrapper=tt,s.BsInput=H,s.BsInputAddon=Y,s.BsInputField=Z,s.BsInputSearch=Q,s.BsLabel=st,s.BsLoader=v,s.BsModal=ee,s.BsOverlay=ae,s.BsPagination=ne,s.BsPill=ot,s.BsProfile=se,s.BsProfileDetails=oe,s.BsProfileImg=ce,s.BsProfileLayout=fe,s.BsRadio=he,s.BsSelect=ut,s.BsSelectField=ge,s.BsSwitch=ke,s.BsTab=pe,s.BsTabList=Ie,s.BsTabPanel=Te,s.BsTextarea=we,s.BsTextareaField=Pe,s.BsToast=Ae,s.BsToastActions=Le,s.BsToastBody=Se,s.BsToastHeader=ze,s.BsToaster=De,s.BsTooltip=bt,s.BsTransition=Me,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwtdev/bsds-components-vue3",
3
- "version": "1.15.8",
3
+ "version": "1.15.9",
4
4
  "description": "BSDS Vue3 Components",
5
5
  "homepage": "",
6
6
  "license": "UNLICENSED",
@@ -63,6 +63,6 @@
63
63
  "wwt-package-publisher": "^4.1.2"
64
64
  },
65
65
  "dependencies": {
66
- "@wwtdev/bsds-components": "^1.15.8"
66
+ "@wwtdev/bsds-components": "^1.15.9"
67
67
  }
68
68
  }