@wwtdev/bsds-components-vue3 1.8.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,957 @@
1
+ import { openBlock as n, createElementBlock as i, mergeProps as r, renderSlot as o, computed as $, unref as c, normalizeProps as v, guardReactiveProps as g } from "vue";
2
+ const B = ["controlled", "icon", "header-text", "heading-level", "open-item", "stacked"], se = {
3
+ __name: "BsAccordion",
4
+ props: {
5
+ controlled: { default: !1 },
6
+ icon: {},
7
+ headerText: {},
8
+ headingLevel: {},
9
+ openItem: { default: !1 },
10
+ stacked: { default: !1 }
11
+ },
12
+ emits: ["toggled"],
13
+ setup(e, { emit: l }) {
14
+ return (a, t) => (n(), i("bs-accordion", r(a.$attrs, {
15
+ controlled: e.controlled,
16
+ icon: e.icon,
17
+ "header-text": e.headerText,
18
+ "heading-level": e.headingLevel,
19
+ "open-item": e.openItem,
20
+ stacked: e.stacked,
21
+ onToggled: t[0] || (t[0] = (s) => l("toggled", s.detail))
22
+ }), [
23
+ o(a.$slots, "default")
24
+ ], 16, B));
25
+ }
26
+ }, x = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], le = {
27
+ __name: "BsBadge",
28
+ props: {
29
+ color: {},
30
+ count: {},
31
+ countMax: { default: 99 },
32
+ dot: {},
33
+ label: { default: "item" },
34
+ position: {},
35
+ showZero: {}
36
+ },
37
+ emits: [],
38
+ setup(e, { emit: l }) {
39
+ return (a, t) => (n(), i("bs-badge", r(a.$attrs, {
40
+ color: e.color,
41
+ count: e.count,
42
+ "count-max": e.countMax,
43
+ dot: e.dot,
44
+ label: e.label,
45
+ position: e.position,
46
+ "show-zero": e.showZero
47
+ }), [
48
+ o(a.$slots, "default")
49
+ ], 16, x));
50
+ }
51
+ }, ne = {
52
+ __name: "BsBanner",
53
+ props: {},
54
+ emits: ["dismiss"],
55
+ setup(e, { emit: l }) {
56
+ return (a, t) => (n(), i("bs-banner", r(a.$attrs, {
57
+ onDismiss: t[0] || (t[0] = (s) => l("dismiss", s.detail))
58
+ }), [
59
+ o(a.$slots, "default")
60
+ ], 16));
61
+ }
62
+ };
63
+ function f(e) {
64
+ const l = $(() => {
65
+ var s, d;
66
+ return ((d = (s = e.href) == null ? void 0 : s.startsWith) == null ? void 0 : d.call(s, "/")) || !1;
67
+ }), a = $(() => {
68
+ var s, d;
69
+ return l.value && ((s = e.router) == null ? void 0 : s.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
70
+ });
71
+ function t(s) {
72
+ var d, u, h, m, b;
73
+ a.value && ((u = (d = s.target.href) == null ? void 0 : d.endsWith) != null && u.call(d, e.href) || (b = (m = (h = s.target.closest("a")) == null ? void 0 : h.href) == null ? void 0 : m.endsWith) != null && b.call(m, e.href)) && (s.preventDefault(), a.value(e.href));
74
+ }
75
+ return { onLinkClick: t };
76
+ }
77
+ const w = ["variant", "disabled", "ghost-btn", "href", "pass-attrs", "text-btn", "size"], ie = {
78
+ __name: "BsButton",
79
+ props: {
80
+ variant: {},
81
+ disabled: {},
82
+ ghostBtn: {},
83
+ href: {},
84
+ passAttrs: { default: "" },
85
+ textBtn: {},
86
+ size: {},
87
+ router: {}
88
+ },
89
+ emits: [],
90
+ setup(e, { emit: l }) {
91
+ const a = e, { onLinkClick: t } = f(a);
92
+ return (s, d) => (n(), i("bs-button", r(s.$attrs, {
93
+ variant: e.variant,
94
+ disabled: e.disabled,
95
+ "ghost-btn": e.ghostBtn,
96
+ href: e.href,
97
+ "pass-attrs": e.passAttrs,
98
+ "text-btn": e.textBtn,
99
+ size: e.size,
100
+ onClick: d[0] || (d[0] = (...u) => c(t) && c(t)(...u))
101
+ }), [
102
+ o(s.$slots, "default")
103
+ ], 16, w));
104
+ }
105
+ }, k = ["char-count", "char-max"], re = {
106
+ __name: "BsCharacterCount",
107
+ props: {
108
+ charCount: {},
109
+ charMax: {}
110
+ },
111
+ emits: [],
112
+ setup(e, { emit: l }) {
113
+ return (a, t) => (n(), i("bs-character-count", r(a.$attrs, {
114
+ "char-count": e.charCount,
115
+ "char-max": e.charMax
116
+ }), null, 16, k));
117
+ }
118
+ }, I = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], de = {
119
+ __name: "BsChartBar",
120
+ props: {
121
+ chartTitle: {},
122
+ data: {},
123
+ dataIdxLabels: {},
124
+ showLegend: { default: !0 },
125
+ showTooltips: { default: !0 },
126
+ showXGrid: { default: !1 },
127
+ showYGrid: { default: !1 },
128
+ stacked: { default: !1 },
129
+ xLabel: { default: "" },
130
+ yLabel: { default: "" }
131
+ },
132
+ emits: [],
133
+ setup(e, { emit: l }) {
134
+ return (a, t) => (n(), i("bs-chart-bar", r(a.$attrs, {
135
+ "chart-title": e.chartTitle,
136
+ data: e.data,
137
+ dataIdxLabels: e.dataIdxLabels,
138
+ "show-legend": e.showLegend,
139
+ "show-tooltips": e.showTooltips,
140
+ "show-x-grid": e.showXGrid,
141
+ "show-y-grid": e.showYGrid,
142
+ stacked: e.stacked,
143
+ "x-label": e.xLabel,
144
+ "y-label": e.yLabel
145
+ }), null, 16, I));
146
+ }
147
+ }, y = ["data", "dataIdxLabels", "table-title"], oe = {
148
+ __name: "BsChartTable",
149
+ props: {
150
+ data: {},
151
+ dataIdxLabels: {},
152
+ tableTitle: { default: "" }
153
+ },
154
+ emits: [],
155
+ setup(e, { emit: l }) {
156
+ return (a, t) => (n(), i("bs-chart-table", r(a.$attrs, {
157
+ data: e.data,
158
+ dataIdxLabels: e.dataIdxLabels,
159
+ "table-title": e.tableTitle
160
+ }), null, 16, y));
161
+ }
162
+ }, C = ["label", "checked", "checked-partially", "disabled", "error", "pass-attrs", "required", "size"], ue = {
163
+ __name: "BsCheckbox",
164
+ props: {
165
+ label: {},
166
+ checked: { default: !1 },
167
+ checkedPartially: { default: !1 },
168
+ disabled: { default: !1 },
169
+ error: {},
170
+ passAttrs: { default: "" },
171
+ required: {},
172
+ size: {},
173
+ modelValue: {}
174
+ },
175
+ emits: ["update:modelValue"],
176
+ setup(e, { emit: l }) {
177
+ return (a, t) => (n(), i("bs-checkbox", r(a.$attrs, {
178
+ label: e.label,
179
+ checked: e.checked || e.modelValue,
180
+ "checked-partially": e.checkedPartially,
181
+ disabled: e.disabled,
182
+ error: e.error,
183
+ "pass-attrs": e.passAttrs,
184
+ required: e.required,
185
+ size: e.size,
186
+ onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.checked))
187
+ }), null, 16, C));
188
+ }
189
+ }, T = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], ce = {
190
+ __name: "BsCircleButton",
191
+ props: {
192
+ disabled: {},
193
+ ghostBtn: {},
194
+ hoverEffect: { default: !1 },
195
+ href: {},
196
+ icon: {},
197
+ iconPosition: {},
198
+ label: {},
199
+ passAttrs: { default: "" },
200
+ textBtn: {},
201
+ size: {},
202
+ router: {}
203
+ },
204
+ emits: [],
205
+ setup(e, { emit: l }) {
206
+ const a = e, { onLinkClick: t } = f(a);
207
+ return (s, d) => (n(), i("bs-circle-button", r(s.$attrs, {
208
+ disabled: e.disabled,
209
+ "ghost-btn": e.ghostBtn,
210
+ "hover-effect": e.hoverEffect,
211
+ href: e.href,
212
+ icon: e.icon,
213
+ "icon-position": e.iconPosition,
214
+ label: e.label,
215
+ "pass-attrs": e.passAttrs,
216
+ "text-btn": e.textBtn,
217
+ size: e.size,
218
+ onClick: d[0] || (d[0] = (...u) => c(t) && c(t)(...u))
219
+ }), null, 16, T));
220
+ }
221
+ }, q = ["shown", "width", "top", "center", "toggle-id", "container-id"], fe = {
222
+ __name: "BsDropdown",
223
+ props: {
224
+ shown: { default: !1 },
225
+ width: { default: void 0 },
226
+ top: { default: !1 },
227
+ center: { default: !1 },
228
+ toggleId: {},
229
+ containerId: { default: void 0 }
230
+ },
231
+ emits: ["close"],
232
+ setup(e, { emit: l }) {
233
+ return (a, t) => (n(), i("bs-dropdown", r(a.$attrs, {
234
+ shown: e.shown,
235
+ width: e.width,
236
+ top: e.top,
237
+ center: e.center,
238
+ "toggle-id": e.toggleId,
239
+ "container-id": e.containerId,
240
+ onClose: t[0] || (t[0] = (s) => l("close", s.detail))
241
+ }), [
242
+ o(a.$slots, "default")
243
+ ], 16, q));
244
+ }
245
+ }, A = ["value", "variant", "selected", "options-id", "shown", "focused", "index"], me = {
246
+ __name: "BsDropdownOption",
247
+ props: {
248
+ value: {},
249
+ variant: { default: void 0 },
250
+ selected: { default: !1 },
251
+ optionsId: {},
252
+ shown: { default: !1 },
253
+ focused: { default: !1 },
254
+ index: {}
255
+ },
256
+ emits: ["optionmouseenter", "optionselect"],
257
+ setup(e, { emit: l }) {
258
+ return (a, t) => (n(), i("bs-dropdown-option", r(a.$attrs, {
259
+ value: e.value,
260
+ variant: e.variant,
261
+ selected: e.selected,
262
+ "options-id": e.optionsId,
263
+ shown: e.shown,
264
+ focused: e.focused,
265
+ index: e.index,
266
+ onOptionmouseenter: t[0] || (t[0] = (s) => l("optionmouseenter", s.detail)),
267
+ onOptionselect: t[1] || (t[1] = (s) => l("optionselect", s.detail))
268
+ }), [
269
+ o(a.$slots, "default")
270
+ ], 16, A));
271
+ }
272
+ }, L = ["options-id", "shown", "label"], he = {
273
+ __name: "BsDropdownOptions",
274
+ props: {
275
+ optionsId: {},
276
+ shown: {},
277
+ label: {}
278
+ },
279
+ emits: ["selectionchange", "close"],
280
+ setup(e, { emit: l }) {
281
+ return (a, t) => (n(), i("bs-dropdown-options", r(a.$attrs, {
282
+ "options-id": e.optionsId,
283
+ shown: e.shown,
284
+ label: e.label,
285
+ onSelectionchange: t[0] || (t[0] = (s) => l("selectionchange", s.detail)),
286
+ onClose: t[1] || (t[1] = (s) => l("close", s.detail))
287
+ }), [
288
+ o(a.$slots, "default")
289
+ ], 16, L));
290
+ }
291
+ }, V = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], be = {
292
+ __name: "BsFieldLayout",
293
+ props: {
294
+ charCount: {},
295
+ charMax: {},
296
+ disabled: { default: !1 },
297
+ error: {},
298
+ hints: {},
299
+ label: {},
300
+ labelFor: {},
301
+ required: {},
302
+ hintId: {}
303
+ },
304
+ emits: [],
305
+ setup(e, { emit: l }) {
306
+ return (a, t) => (n(), i("bs-field-layout", r(a.$attrs, {
307
+ "char-count": e.charCount,
308
+ "char-max": e.charMax,
309
+ disabled: e.disabled,
310
+ error: e.error,
311
+ hints: e.hints,
312
+ label: e.label,
313
+ "label-for": e.labelFor,
314
+ required: e.required,
315
+ "hint-id": e.hintId
316
+ }), [
317
+ o(a.$slots, "default")
318
+ ], 16, V));
319
+ }
320
+ }, z = ["error", "hint-id", "hints"], $e = {
321
+ __name: "BsHint",
322
+ props: {
323
+ error: {},
324
+ hintId: {},
325
+ hints: {}
326
+ },
327
+ emits: [],
328
+ setup(e, { emit: l }) {
329
+ return (a, t) => (n(), i("bs-hint", r(a.$attrs, {
330
+ error: e.error,
331
+ "hint-id": e.hintId,
332
+ hints: e.hints
333
+ }), null, 16, z));
334
+ }
335
+ }, P = ["disabled", "error", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ve = {
336
+ __name: "BsInput",
337
+ props: {
338
+ disabled: { default: !1 },
339
+ error: {},
340
+ passAttrs: { default: "" },
341
+ placeholder: {},
342
+ required: {},
343
+ type: { default: "text" },
344
+ value: {},
345
+ hintId: {},
346
+ modelValue: {}
347
+ },
348
+ emits: ["update:modelValue"],
349
+ setup(e, { emit: l }) {
350
+ return (a, t) => (n(), i("bs-input", r(a.$attrs, {
351
+ disabled: e.disabled,
352
+ error: e.error,
353
+ "pass-attrs": e.passAttrs,
354
+ placeholder: e.placeholder,
355
+ required: e.required,
356
+ type: e.type,
357
+ value: e.value || e.modelValue,
358
+ "hint-id": e.hintId,
359
+ onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
360
+ }), null, 16, P));
361
+ }
362
+ }, D = ["disabled", "error", "multifocus", "variant"], ge = {
363
+ __name: "BsInputAddon",
364
+ props: {
365
+ disabled: { default: !1 },
366
+ error: { default: !1 },
367
+ multifocus: { default: !1 },
368
+ variant: {}
369
+ },
370
+ emits: [],
371
+ setup(e, { emit: l }) {
372
+ return (a, t) => (n(), i("bs-input-addon", r(a.$attrs, {
373
+ disabled: e.disabled,
374
+ error: e.error,
375
+ multifocus: e.multifocus,
376
+ variant: e.variant
377
+ }), [
378
+ o(a.$slots, "default")
379
+ ], 16, D));
380
+ }
381
+ }, S = ["disabled", "error", "hints", "label", "pass-attrs", "placeholder", "required", "type", "value"], Be = {
382
+ __name: "BsInputField",
383
+ props: {
384
+ disabled: { default: !1 },
385
+ error: {},
386
+ hints: {},
387
+ label: {},
388
+ passAttrs: { default: "" },
389
+ placeholder: {},
390
+ required: {},
391
+ type: { default: "text" },
392
+ value: {},
393
+ modelValue: {}
394
+ },
395
+ emits: ["update:modelValue"],
396
+ setup(e, { emit: l }) {
397
+ return (a, t) => (n(), i("bs-input-field", r(a.$attrs, {
398
+ disabled: e.disabled,
399
+ error: e.error,
400
+ hints: e.hints,
401
+ label: e.label,
402
+ "pass-attrs": e.passAttrs,
403
+ placeholder: e.placeholder,
404
+ required: e.required,
405
+ type: e.type,
406
+ value: e.value || e.modelValue,
407
+ onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
408
+ }), null, 16, S));
409
+ }
410
+ }, F = ["disabled", "pass-attrs", "placeholder", "hint-id", "value"], xe = {
411
+ __name: "BsInputSearch",
412
+ props: {
413
+ disabled: { default: !1 },
414
+ passAttrs: { default: "" },
415
+ placeholder: { default: "Search Items" },
416
+ hintId: {},
417
+ value: { default: "" },
418
+ modelValue: {}
419
+ },
420
+ emits: ["clear", "update:modelValue"],
421
+ setup(e, { emit: l }) {
422
+ return (a, t) => (n(), i("bs-input-search", r(a.$attrs, {
423
+ disabled: e.disabled,
424
+ "pass-attrs": e.passAttrs,
425
+ placeholder: e.placeholder,
426
+ "hint-id": e.hintId,
427
+ value: e.value || e.modelValue,
428
+ onClear: t[0] || (t[0] = (s) => l("clear", s.detail)),
429
+ onInput: t[1] || (t[1] = (s) => l("update:modelValue", s.target.value))
430
+ }), null, 16, F));
431
+ }
432
+ }, O = ["disabled", "for", "hide", "pass-attrs", "required"], we = {
433
+ __name: "BsLabel",
434
+ props: {
435
+ disabled: {},
436
+ for: {},
437
+ hide: {},
438
+ passAttrs: { default: "" },
439
+ required: {}
440
+ },
441
+ emits: [],
442
+ setup(e, { emit: l }) {
443
+ return (a, t) => (n(), i("bs-label", r(a.$attrs, {
444
+ disabled: e.disabled,
445
+ for: e.for,
446
+ hide: e.hide,
447
+ "pass-attrs": e.passAttrs,
448
+ required: e.required
449
+ }), [
450
+ o(a.$slots, "default")
451
+ ], 16, O));
452
+ }
453
+ }, j = ["size", "variant"], ke = {
454
+ __name: "BsLoader",
455
+ props: {
456
+ size: {},
457
+ variant: {}
458
+ },
459
+ emits: [],
460
+ setup(e, { emit: l }) {
461
+ return (a, t) => (n(), i("bs-loader", r(a.$attrs, {
462
+ size: e.size,
463
+ variant: e.variant
464
+ }), null, 16, j));
465
+ }
466
+ }, M = ["shown", "alert", "close-button"], Ie = {
467
+ __name: "BsModal",
468
+ props: {
469
+ shown: { default: !1 },
470
+ alert: { default: !1 },
471
+ closeButton: { default: !0 }
472
+ },
473
+ emits: ["close", "leaveend"],
474
+ setup(e, { emit: l }) {
475
+ return (a, t) => (n(), i("bs-modal", r(a.$attrs, {
476
+ shown: e.shown,
477
+ alert: e.alert,
478
+ "close-button": e.closeButton,
479
+ onClose: t[0] || (t[0] = (s) => l("close", s.detail)),
480
+ onLeaveend: t[1] || (t[1] = (s) => l("leaveend", s.detail))
481
+ }), [
482
+ o(a.$slots, "default")
483
+ ], 16, M));
484
+ }
485
+ }, R = ["shown"], ye = {
486
+ __name: "BsOverlay",
487
+ props: {
488
+ shown: { default: !1 }
489
+ },
490
+ emits: [],
491
+ setup(e, { emit: l }) {
492
+ return (a, t) => (n(), i("bs-overlay", r(a.$attrs, { shown: e.shown }), null, 16, R));
493
+ }
494
+ }, E = ["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"], Ce = {
495
+ __name: "BsPagination",
496
+ props: {
497
+ showFirstLastButtons: { default: !1 },
498
+ prevPageText: {},
499
+ firstPageText: {},
500
+ nextPageText: {},
501
+ lastPageText: {},
502
+ fixed: { default: !1 },
503
+ variant: { default: "base" },
504
+ selection: {},
505
+ centerDisplay: { default: "numbers" },
506
+ breakText: { default: "…" },
507
+ pageRange: { default: 3 },
508
+ pageCount: {},
509
+ centerLabel: {},
510
+ itemsPerGroup: { default: 25 },
511
+ itemsCount: {},
512
+ resultsIncrements: {}
513
+ },
514
+ emits: ["selectionchange"],
515
+ setup(e, { emit: l }) {
516
+ return (a, t) => (n(), i("bs-pagination", r(a.$attrs, {
517
+ "show-first-last-buttons": e.showFirstLastButtons,
518
+ "prev-page-text": e.prevPageText,
519
+ "first-page-text": e.firstPageText,
520
+ "next-page-text": e.nextPageText,
521
+ "last-page-text": e.lastPageText,
522
+ fixed: e.fixed,
523
+ variant: e.variant,
524
+ selection: e.selection,
525
+ "center-display": e.centerDisplay,
526
+ "break-text": e.breakText,
527
+ "page-range": e.pageRange,
528
+ "page-count": e.pageCount,
529
+ "center-label": e.centerLabel,
530
+ "items-per-group": e.itemsPerGroup,
531
+ "items-count": e.itemsCount,
532
+ "results-increments": e.resultsIncrements,
533
+ onSelectionchange: t[0] || (t[0] = (s) => l("selectionchange", s.detail))
534
+ }), null, 16, E));
535
+ }
536
+ }, G = ["variant", "status", "href", "active", "disabled", "pass-attrs"], Te = {
537
+ __name: "BsPill",
538
+ props: {
539
+ variant: {},
540
+ status: {},
541
+ href: {},
542
+ active: {},
543
+ disabled: {},
544
+ passAttrs: { default: "" },
545
+ router: {}
546
+ },
547
+ emits: [],
548
+ setup(e, { emit: l }) {
549
+ const a = e, { onLinkClick: t } = f(a);
550
+ return (s, d) => (n(), i("bs-pill", r(s.$attrs, {
551
+ variant: e.variant,
552
+ status: e.status,
553
+ href: e.href,
554
+ active: e.active,
555
+ disabled: e.disabled,
556
+ "pass-attrs": e.passAttrs,
557
+ onClick: d[0] || (d[0] = (...u) => c(t) && c(t)(...u))
558
+ }), [
559
+ o(s.$slots, "default")
560
+ ], 16, G));
561
+ }
562
+ }, N = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email"], qe = {
563
+ __name: "BsProfile",
564
+ props: {
565
+ layout: {},
566
+ href: {},
567
+ imageSrc: {},
568
+ imageSize: { default: "lg" },
569
+ initials: {},
570
+ profileName: {},
571
+ company: {},
572
+ jobTitle: {},
573
+ email: {},
574
+ router: {}
575
+ },
576
+ emits: [],
577
+ setup(e, { emit: l }) {
578
+ const a = e, { onLinkClick: t } = f(a);
579
+ return (s, d) => (n(), i("bs-profile", r(s.$attrs, {
580
+ layout: e.layout,
581
+ href: e.href,
582
+ "image-src": e.imageSrc,
583
+ "image-size": e.imageSize,
584
+ initials: e.initials,
585
+ "profile-name": e.profileName,
586
+ company: e.company,
587
+ "job-title": e.jobTitle,
588
+ email: e.email,
589
+ onClick: d[0] || (d[0] = (...u) => c(t) && c(t)(...u))
590
+ }), null, 16, N));
591
+ }
592
+ }, H = ["profile-name", "company", "job-title", "email"], Ae = {
593
+ __name: "BsProfileDetails",
594
+ props: {
595
+ profileName: {},
596
+ company: {},
597
+ jobTitle: {},
598
+ email: {}
599
+ },
600
+ emits: [],
601
+ setup(e, { emit: l }) {
602
+ return (a, t) => (n(), i("bs-profile-details", r(a.$attrs, {
603
+ "profile-name": e.profileName,
604
+ company: e.company,
605
+ "job-title": e.jobTitle,
606
+ email: e.email
607
+ }), null, 16, H));
608
+ }
609
+ }, W = ["src", "size", "initials", "profile-name"], Le = {
610
+ __name: "BsProfileImg",
611
+ props: {
612
+ src: {},
613
+ size: {},
614
+ initials: {},
615
+ profileName: {}
616
+ },
617
+ emits: [],
618
+ setup(e, { emit: l }) {
619
+ return (a, t) => (n(), i("bs-profile-img", r(a.$attrs, {
620
+ src: e.src,
621
+ size: e.size,
622
+ initials: e.initials,
623
+ "profile-name": e.profileName
624
+ }), null, 16, W));
625
+ }
626
+ }, X = ["layout", "href", "pass-attrs"], Ve = {
627
+ __name: "BsProfileLayout",
628
+ props: {
629
+ layout: { default: "vertical" },
630
+ href: {},
631
+ passAttrs: { default: "" },
632
+ router: {}
633
+ },
634
+ emits: [],
635
+ setup(e, { emit: l }) {
636
+ const a = e, { onLinkClick: t } = f(a);
637
+ return (s, d) => (n(), i("bs-profile-layout", r(s.$attrs, {
638
+ layout: e.layout,
639
+ href: e.href,
640
+ "pass-attrs": e.passAttrs,
641
+ onClick: d[0] || (d[0] = (...u) => c(t) && c(t)(...u))
642
+ }), [
643
+ o(s.$slots, "default")
644
+ ], 16, X));
645
+ }
646
+ }, Y = ["label", "checked", "disabled", "error", "pass-attrs", "required", "size", "value"], ze = {
647
+ __name: "BsRadio",
648
+ props: {
649
+ label: {},
650
+ checked: { default: !1 },
651
+ disabled: { default: !1 },
652
+ error: {},
653
+ passAttrs: { default: "" },
654
+ required: {},
655
+ size: {},
656
+ value: {},
657
+ modelValue: {}
658
+ },
659
+ emits: ["update:modelValue"],
660
+ setup(e, { emit: l }) {
661
+ return (a, t) => (n(), i("bs-radio", r(a.$attrs, {
662
+ label: e.label,
663
+ checked: e.checked || e.modelValue === e.value,
664
+ disabled: e.disabled,
665
+ error: e.error,
666
+ "pass-attrs": e.passAttrs,
667
+ required: e.required,
668
+ size: e.size,
669
+ value: e.value,
670
+ onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
671
+ }), null, 16, Y));
672
+ }
673
+ }, Z = ["disabled", "required", "error", "hint-id", "value", "pass-attrs"], Pe = {
674
+ __name: "BsSelect",
675
+ props: {
676
+ disabled: { default: !1 },
677
+ required: {},
678
+ error: {},
679
+ hintId: {},
680
+ value: {},
681
+ passAttrs: { default: "" },
682
+ modelValue: {}
683
+ },
684
+ emits: ["update:modelValue"],
685
+ setup(e, { emit: l }) {
686
+ return (a, t) => (n(), i("bs-select", r(a.$attrs, {
687
+ disabled: e.disabled,
688
+ required: e.required,
689
+ error: e.error,
690
+ "hint-id": e.hintId,
691
+ value: e.value || e.modelValue,
692
+ "pass-attrs": e.passAttrs,
693
+ onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
694
+ }), [
695
+ o(a.$slots, "default")
696
+ ], 16, Z));
697
+ }
698
+ }, J = ["disabled", "error", "required", "label", "hints", "placeholder", "value", "pass-attrs", "data"], De = {
699
+ __name: "BsSelectField",
700
+ props: {
701
+ disabled: { default: !1 },
702
+ error: {},
703
+ required: {},
704
+ label: {},
705
+ hints: {},
706
+ placeholder: { default: "" },
707
+ value: {},
708
+ passAttrs: { default: "" },
709
+ data: { default: [] },
710
+ modelValue: {}
711
+ },
712
+ emits: ["update:modelValue"],
713
+ setup(e, { emit: l }) {
714
+ return (a, t) => (n(), i("bs-select-field", r(a.$attrs, {
715
+ disabled: e.disabled,
716
+ error: e.error,
717
+ required: e.required,
718
+ label: e.label,
719
+ hints: e.hints,
720
+ placeholder: e.placeholder,
721
+ value: e.value || e.modelValue,
722
+ "pass-attrs": e.passAttrs,
723
+ data: e.data,
724
+ onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
725
+ }), null, 16, J));
726
+ }
727
+ }, K = ["checked", "disabled", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], Se = {
728
+ __name: "BsSwitch",
729
+ props: {
730
+ checked: { default: !1 },
731
+ disabled: { default: !1 },
732
+ innerOnLabel: {},
733
+ innerOffLabel: {},
734
+ label: {},
735
+ passAttrs: { default: "" },
736
+ size: {},
737
+ modelValue: {}
738
+ },
739
+ emits: ["update:modelValue"],
740
+ setup(e, { emit: l }) {
741
+ return (a, t) => (n(), i("bs-switch", r(a.$attrs, {
742
+ checked: e.checked || e.modelValue,
743
+ disabled: e.disabled,
744
+ "inner-on-label": e.innerOnLabel,
745
+ "inner-off-label": e.innerOffLabel,
746
+ label: e.label,
747
+ "pass-attrs": e.passAttrs,
748
+ size: e.size,
749
+ onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.checked))
750
+ }), null, 16, K));
751
+ }
752
+ }, Q = ["disabled", "error", "pass-attrs", "placeholder", "required", "value", "hint-id"], Fe = {
753
+ __name: "BsTextarea",
754
+ props: {
755
+ disabled: { default: !1 },
756
+ error: {},
757
+ passAttrs: { default: "" },
758
+ placeholder: {},
759
+ required: {},
760
+ value: {},
761
+ hintId: {},
762
+ modelValue: {}
763
+ },
764
+ emits: ["update:modelValue"],
765
+ setup(e, { emit: l }) {
766
+ return (a, t) => (n(), i("bs-textarea", r(a.$attrs, {
767
+ disabled: e.disabled,
768
+ error: e.error,
769
+ "pass-attrs": e.passAttrs,
770
+ placeholder: e.placeholder,
771
+ required: e.required,
772
+ value: e.value || e.modelValue,
773
+ "hint-id": e.hintId,
774
+ onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
775
+ }), null, 16, Q));
776
+ }
777
+ }, U = ["char-max", "disabled", "error", "hints", "label", "placeholder", "required", "value", "pass-attrs"], Oe = {
778
+ __name: "BsTextareaField",
779
+ props: {
780
+ charMax: {},
781
+ disabled: { default: !1 },
782
+ error: {},
783
+ hints: {},
784
+ label: {},
785
+ placeholder: {},
786
+ required: {},
787
+ value: { default: "" },
788
+ passAttrs: { default: "" },
789
+ modelValue: {}
790
+ },
791
+ emits: ["update:modelValue"],
792
+ setup(e, { emit: l }) {
793
+ return (a, t) => (n(), i("bs-textarea-field", r(a.$attrs, {
794
+ "char-max": e.charMax,
795
+ disabled: e.disabled,
796
+ error: e.error,
797
+ hints: e.hints,
798
+ label: e.label,
799
+ placeholder: e.placeholder,
800
+ required: e.required,
801
+ value: e.value || e.modelValue,
802
+ "pass-attrs": e.passAttrs,
803
+ onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
804
+ }), null, 16, U));
805
+ }
806
+ }, p = ["toast-id", "shown", "variant", "stacked", "duration"], je = {
807
+ __name: "BsToast",
808
+ props: {
809
+ toastId: {},
810
+ shown: {},
811
+ variant: {},
812
+ stacked: { default: !1 },
813
+ duration: { default: 1e4 }
814
+ },
815
+ emits: ["dismiss"],
816
+ setup(e, { emit: l }) {
817
+ return (a, t) => (n(), i("bs-toast", r(a.$attrs, {
818
+ "toast-id": e.toastId,
819
+ shown: e.shown,
820
+ variant: e.variant,
821
+ stacked: e.stacked,
822
+ duration: e.duration,
823
+ onDismiss: t[0] || (t[0] = (s) => l("dismiss", s.detail))
824
+ }), [
825
+ o(a.$slots, "default")
826
+ ], 16, p));
827
+ }
828
+ }, Me = {
829
+ __name: "BsToastActions",
830
+ props: {},
831
+ emits: ["defaultDismiss"],
832
+ setup(e, { emit: l }) {
833
+ return (a, t) => (n(), i("bs-toast-actions", r(a.$attrs, {
834
+ "on:defaultDismiss": t[0] || (t[0] = (s) => l("defaultDismiss", s.detail))
835
+ }), [
836
+ o(a.$slots, "default")
837
+ ], 16));
838
+ }
839
+ }, Re = {
840
+ __name: "BsToastBody",
841
+ props: {},
842
+ emits: [],
843
+ setup(e, { emit: l }) {
844
+ return (a, t) => (n(), i("bs-toast-body", v(g(a.$attrs)), [
845
+ o(a.$slots, "default")
846
+ ], 16));
847
+ }
848
+ }, _ = ["variant"], Ee = {
849
+ __name: "BsToastHeader",
850
+ props: {
851
+ variant: {}
852
+ },
853
+ emits: [],
854
+ setup(e, { emit: l }) {
855
+ return (a, t) => (n(), i("bs-toast-header", r(a.$attrs, { variant: e.variant }), [
856
+ o(a.$slots, "default")
857
+ ], 16, _));
858
+ }
859
+ }, Ge = {
860
+ __name: "BsToaster",
861
+ props: {},
862
+ emits: [],
863
+ setup(e, { emit: l }) {
864
+ return (a, t) => (n(), i("bs-toaster", v(g(a.$attrs)), [
865
+ o(a.$slots, "default")
866
+ ], 16));
867
+ }
868
+ }, ee = ["tooltip-id", "content", "position"], Ne = {
869
+ __name: "BsTooltip",
870
+ props: {
871
+ tooltipId: {},
872
+ content: {},
873
+ position: {}
874
+ },
875
+ emits: [],
876
+ setup(e, { emit: l }) {
877
+ return (a, t) => (n(), i("bs-tooltip", r(a.$attrs, {
878
+ "tooltip-id": e.tooltipId,
879
+ content: e.content,
880
+ position: e.position
881
+ }), [
882
+ o(a.$slots, "default")
883
+ ], 16, ee));
884
+ }
885
+ }, te = ["active", "enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration"], He = {
886
+ __name: "BsTransition",
887
+ props: {
888
+ active: {},
889
+ enterClass: { default: void 0 },
890
+ enterAttribute: { default: void 0 },
891
+ enterDuration: {},
892
+ leaveClass: { default: void 0 },
893
+ leaveAttribute: { default: void 0 },
894
+ leaveDuration: { default: void 0 }
895
+ },
896
+ emits: ["enterstart", "enterend", "leavestart", "leaveend"],
897
+ setup(e, { emit: l }) {
898
+ return (a, t) => (n(), i("bs-transition", r(a.$attrs, {
899
+ active: e.active,
900
+ "enter-class": e.enterClass,
901
+ "enter-attribute": e.enterAttribute,
902
+ "enter-duration": e.enterDuration,
903
+ "leave-class": e.leaveClass,
904
+ "leave-attribute": e.leaveAttribute,
905
+ "leave-duration": e.leaveDuration,
906
+ onEnterstart: t[0] || (t[0] = (s) => l("enterstart", s.detail)),
907
+ onEnterend: t[1] || (t[1] = (s) => l("enterend", s.detail)),
908
+ onLeavestart: t[2] || (t[2] = (s) => l("leavestart", s.detail)),
909
+ onLeaveend: t[3] || (t[3] = (s) => l("leaveend", s.detail))
910
+ }), [
911
+ o(a.$slots, "default")
912
+ ], 16, te));
913
+ }
914
+ };
915
+ export {
916
+ se as BsAccordion,
917
+ le as BsBadge,
918
+ ne as BsBanner,
919
+ ie as BsButton,
920
+ re as BsCharacterCount,
921
+ de as BsChartBar,
922
+ oe as BsChartTable,
923
+ ue as BsCheckbox,
924
+ ce as BsCircleButton,
925
+ fe as BsDropdown,
926
+ me as BsDropdownOption,
927
+ he as BsDropdownOptions,
928
+ be as BsFieldLayout,
929
+ $e as BsHint,
930
+ ve as BsInput,
931
+ ge as BsInputAddon,
932
+ Be as BsInputField,
933
+ xe as BsInputSearch,
934
+ we as BsLabel,
935
+ ke as BsLoader,
936
+ Ie as BsModal,
937
+ ye as BsOverlay,
938
+ Ce as BsPagination,
939
+ Te as BsPill,
940
+ qe as BsProfile,
941
+ Ae as BsProfileDetails,
942
+ Le as BsProfileImg,
943
+ Ve as BsProfileLayout,
944
+ ze as BsRadio,
945
+ Pe as BsSelect,
946
+ De as BsSelectField,
947
+ Se as BsSwitch,
948
+ Fe as BsTextarea,
949
+ Oe as BsTextareaField,
950
+ je as BsToast,
951
+ Me as BsToastActions,
952
+ Re as BsToastBody,
953
+ Ee as BsToastHeader,
954
+ Ge as BsToaster,
955
+ Ne as BsTooltip,
956
+ He as BsTransition
957
+ };