@wwtdev/bsds-components-vue3 1.13.1 → 1.14.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.
- package/lib/bsds-components.mjs +175 -157
- package/lib/bsds-components.umd.js +1 -1
- package/lib/components.js +12 -2
- package/lib/components.js.map +1 -1
- package/nuxt/bsds-components.mjs +197 -179
- package/nuxt/bsds-components.umd.js +1 -1
- package/package.json +2 -2
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as r, createElementBlock as u, mergeProps as d, renderSlot as o, computed as R, unref as f, createBlock as $, withCtx as g, createElementVNode as k, createVNode as I, normalizeProps as E, guardReactiveProps as W, ref as h, reactive as w, onBeforeMount as p, onMounted as S, watch as C, nextTick as x, onBeforeUnmount as L, Fragment as V, Teleport as q, createCommentVNode as A, createSlots as z } from "vue";
|
|
2
2
|
import { ClientOnly as T } from "#components";
|
|
3
3
|
import { useAsyncData as D } from "#imports";
|
|
4
4
|
const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], He = {
|
|
@@ -14,7 +14,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
14
14
|
},
|
|
15
15
|
emits: [],
|
|
16
16
|
setup(e, { emit: s }) {
|
|
17
|
-
return (a, t) => (
|
|
17
|
+
return (a, t) => (r(), u("bs-badge", d(a.$attrs, {
|
|
18
18
|
color: e.color,
|
|
19
19
|
count: e.count,
|
|
20
20
|
"count-max": e.countMax,
|
|
@@ -34,7 +34,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
34
34
|
},
|
|
35
35
|
emits: [],
|
|
36
36
|
setup(e, { emit: s }) {
|
|
37
|
-
return (a, t) => (
|
|
37
|
+
return (a, t) => (r(), u("bs-character-count", d(a.$attrs, {
|
|
38
38
|
"char-count": e.charCount,
|
|
39
39
|
"char-max": e.charMax
|
|
40
40
|
}), null, 16, F));
|
|
@@ -55,7 +55,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
55
55
|
},
|
|
56
56
|
emits: [],
|
|
57
57
|
setup(e, { emit: s }) {
|
|
58
|
-
return (a, t) => (
|
|
58
|
+
return (a, t) => (r(), u("bs-chart-bar", d(a.$attrs, {
|
|
59
59
|
"chart-title": e.chartTitle,
|
|
60
60
|
data: e.data,
|
|
61
61
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -77,7 +77,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
77
77
|
},
|
|
78
78
|
emits: [],
|
|
79
79
|
setup(e, { emit: s }) {
|
|
80
|
-
return (a, t) => (
|
|
80
|
+
return (a, t) => (r(), u("bs-chart-table", d(a.$attrs, {
|
|
81
81
|
data: e.data,
|
|
82
82
|
dataIdxLabels: e.dataIdxLabels,
|
|
83
83
|
"table-title": e.tableTitle
|
|
@@ -99,7 +99,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
99
99
|
},
|
|
100
100
|
emits: ["update:modelValue"],
|
|
101
101
|
setup(e, { emit: s }) {
|
|
102
|
-
return (a, t) => (
|
|
102
|
+
return (a, t) => (r(), u("bs-checkbox", d(a.$attrs, {
|
|
103
103
|
label: e.label,
|
|
104
104
|
checked: e.checked || e.modelValue,
|
|
105
105
|
"checked-partially": e.checkedPartially,
|
|
@@ -113,17 +113,17 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
113
113
|
}), null, 16, G));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
function
|
|
117
|
-
const s =
|
|
116
|
+
function M(e) {
|
|
117
|
+
const s = R(() => {
|
|
118
118
|
var l, i;
|
|
119
119
|
return ((i = (l = e.href) == null ? void 0 : l.startsWith) == null ? void 0 : i.call(l, "/")) || !1;
|
|
120
|
-
}), a =
|
|
120
|
+
}), a = R(() => {
|
|
121
121
|
var l, i;
|
|
122
122
|
return s.value && ((l = e.router) == null ? void 0 : l.navigateTo) || ((i = e.router) == null ? void 0 : i.push) || null;
|
|
123
123
|
});
|
|
124
124
|
function t(l) {
|
|
125
|
-
var i, c, b, y,
|
|
126
|
-
a.value && ((c = (i = l.target.href) == null ? void 0 : i.endsWith) != null && c.call(i, e.href) || (
|
|
125
|
+
var i, c, b, y, n;
|
|
126
|
+
a.value && ((c = (i = l.target.href) == null ? void 0 : i.endsWith) != null && c.call(i, e.href) || (n = (y = (b = l.target.closest("a")) == null ? void 0 : b.href) == null ? void 0 : y.endsWith) != null && n.call(y, e.href)) && (l.preventDefault(), a.value(e.href));
|
|
127
127
|
}
|
|
128
128
|
return { onLinkClick: t };
|
|
129
129
|
}
|
|
@@ -144,8 +144,8 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
144
144
|
},
|
|
145
145
|
emits: [],
|
|
146
146
|
setup(e, { emit: s }) {
|
|
147
|
-
const a = e, { onLinkClick: t } =
|
|
148
|
-
return (l, i) => (
|
|
147
|
+
const a = e, { onLinkClick: t } = M(a);
|
|
148
|
+
return (l, i) => (r(), u("bs-circle-button", d(l.$attrs, {
|
|
149
149
|
disabled: e.disabled,
|
|
150
150
|
"ghost-btn": e.ghostBtn,
|
|
151
151
|
"hover-effect": e.hoverEffect,
|
|
@@ -175,7 +175,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
175
175
|
},
|
|
176
176
|
emits: ["close", "enterend", "leaveend"],
|
|
177
177
|
setup(e, { emit: s }) {
|
|
178
|
-
return (a, t) => (
|
|
178
|
+
return (a, t) => (r(), $(f(T), null, {
|
|
179
179
|
default: g(() => [
|
|
180
180
|
k("bs-dropdown", d(a.$attrs, {
|
|
181
181
|
width: e.width,
|
|
@@ -210,7 +210,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
210
210
|
},
|
|
211
211
|
emits: ["optmouseenter", "optselect"],
|
|
212
212
|
setup(e, { emit: s }) {
|
|
213
|
-
return (a, t) => (
|
|
213
|
+
return (a, t) => (r(), u("bs-dropdown-option", d(a.$attrs, {
|
|
214
214
|
value: e.value,
|
|
215
215
|
variant: e.variant,
|
|
216
216
|
"options-id": e.optionsId,
|
|
@@ -234,7 +234,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
234
234
|
},
|
|
235
235
|
emits: ["optselected", "close"],
|
|
236
236
|
setup(e, { emit: s }) {
|
|
237
|
-
return (a, t) => (
|
|
237
|
+
return (a, t) => (r(), u("bs-dropdown-option-list", d(a.$attrs, {
|
|
238
238
|
"options-id": e.optionsId,
|
|
239
239
|
visible: e.visible,
|
|
240
240
|
"focus-delay": e.focusDelay,
|
|
@@ -265,7 +265,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
265
265
|
},
|
|
266
266
|
emits: ["optselected", "close", "enterend", "leaveend"],
|
|
267
267
|
setup(e, { emit: s }) {
|
|
268
|
-
return (a, t) => (
|
|
268
|
+
return (a, t) => (r(), u("bs-dropdown-with-options", d(a.$attrs, {
|
|
269
269
|
"toggle-id": e.toggleId,
|
|
270
270
|
"container-id": e.containerId,
|
|
271
271
|
"options-id": e.optionsId,
|
|
@@ -299,7 +299,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
299
299
|
},
|
|
300
300
|
emits: [],
|
|
301
301
|
setup(e, { emit: s }) {
|
|
302
|
-
return (a, t) => (
|
|
302
|
+
return (a, t) => (r(), u("bs-field-details", d(a.$attrs, {
|
|
303
303
|
"char-count": e.charCount,
|
|
304
304
|
"char-max": e.charMax,
|
|
305
305
|
error: e.error,
|
|
@@ -323,7 +323,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
323
323
|
},
|
|
324
324
|
emits: [],
|
|
325
325
|
setup(e, { emit: s }) {
|
|
326
|
-
return (a, t) => (
|
|
326
|
+
return (a, t) => (r(), u("bs-field-layout", d(a.$attrs, {
|
|
327
327
|
"char-count": e.charCount,
|
|
328
328
|
"char-max": e.charMax,
|
|
329
329
|
disabled: e.disabled,
|
|
@@ -346,7 +346,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
346
346
|
},
|
|
347
347
|
emits: [],
|
|
348
348
|
setup(e, { emit: s }) {
|
|
349
|
-
return (a, t) => (
|
|
349
|
+
return (a, t) => (r(), u("bs-hint", d(a.$attrs, {
|
|
350
350
|
error: e.error,
|
|
351
351
|
"hint-id": e.hintId,
|
|
352
352
|
hints: e.hints
|
|
@@ -368,7 +368,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
368
368
|
},
|
|
369
369
|
emits: ["update:modelValue"],
|
|
370
370
|
setup(e, { emit: s }) {
|
|
371
|
-
return (a, t) => (
|
|
371
|
+
return (a, t) => (r(), u("bs-input", d(a.$attrs, {
|
|
372
372
|
disabled: e.disabled,
|
|
373
373
|
error: e.error,
|
|
374
374
|
"input-id": e.inputId,
|
|
@@ -381,7 +381,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
381
381
|
onInput: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
|
|
382
382
|
}), null, 16, _));
|
|
383
383
|
}
|
|
384
|
-
}, ee = ["disabled", "error", "multifocus", "variant"],
|
|
384
|
+
}, ee = ["disabled", "error", "multifocus", "variant"], nt = {
|
|
385
385
|
__name: "BsInputAddon",
|
|
386
386
|
props: {
|
|
387
387
|
disabled: { default: !1 },
|
|
@@ -391,7 +391,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
391
391
|
},
|
|
392
392
|
emits: [],
|
|
393
393
|
setup(e, { emit: s }) {
|
|
394
|
-
return (a, t) => (
|
|
394
|
+
return (a, t) => (r(), u("bs-input-addon", d(a.$attrs, {
|
|
395
395
|
disabled: e.disabled,
|
|
396
396
|
error: e.error,
|
|
397
397
|
multifocus: e.multifocus,
|
|
@@ -400,7 +400,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
400
400
|
o(a.$slots, "default")
|
|
401
401
|
], 16, ee));
|
|
402
402
|
}
|
|
403
|
-
}, te = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"],
|
|
403
|
+
}, te = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], rt = {
|
|
404
404
|
__name: "BsInputField",
|
|
405
405
|
props: {
|
|
406
406
|
disabled: { default: !1 },
|
|
@@ -419,7 +419,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
419
419
|
},
|
|
420
420
|
emits: ["update:modelValue"],
|
|
421
421
|
setup(e, { emit: s }) {
|
|
422
|
-
return (a, t) => (
|
|
422
|
+
return (a, t) => (r(), u("bs-input-field", d(a.$attrs, {
|
|
423
423
|
disabled: e.disabled,
|
|
424
424
|
error: e.error,
|
|
425
425
|
"error-msg": e.errorMsg,
|
|
@@ -448,7 +448,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
448
448
|
},
|
|
449
449
|
emits: ["clear", "update:modelValue"],
|
|
450
450
|
setup(e, { emit: s }) {
|
|
451
|
-
return (a, t) => (
|
|
451
|
+
return (a, t) => (r(), u("bs-input-search", d(a.$attrs, {
|
|
452
452
|
disabled: e.disabled,
|
|
453
453
|
"pass-attrs": e.passAttrs,
|
|
454
454
|
placeholder: e.placeholder,
|
|
@@ -467,7 +467,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
467
467
|
},
|
|
468
468
|
emits: [],
|
|
469
469
|
setup(e, { emit: s }) {
|
|
470
|
-
return (a, t) => (
|
|
470
|
+
return (a, t) => (r(), u("bs-loader", d(a.$attrs, {
|
|
471
471
|
size: e.size,
|
|
472
472
|
variant: e.variant
|
|
473
473
|
}), null, 16, le));
|
|
@@ -483,7 +483,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
483
483
|
},
|
|
484
484
|
emits: ["close", "enterend", "leaveend"],
|
|
485
485
|
setup(e, { emit: s }) {
|
|
486
|
-
return (a, t) => (
|
|
486
|
+
return (a, t) => (r(), $(f(T), null, {
|
|
487
487
|
default: g(() => [
|
|
488
488
|
k("bs-modal", d(a.$attrs, {
|
|
489
489
|
alert: e.alert,
|
|
@@ -501,7 +501,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
501
501
|
_: 3
|
|
502
502
|
}));
|
|
503
503
|
}
|
|
504
|
-
},
|
|
504
|
+
}, ne = ["enter-controlled", "enter-trigger", "leave-trigger"], ot = {
|
|
505
505
|
__name: "BsOverlay",
|
|
506
506
|
props: {
|
|
507
507
|
enterControlled: { default: !1 },
|
|
@@ -510,7 +510,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
510
510
|
},
|
|
511
511
|
emits: ["enterend", "leaveend"],
|
|
512
512
|
setup(e, { emit: s }) {
|
|
513
|
-
return (a, t) => (
|
|
513
|
+
return (a, t) => (r(), $(f(T), null, {
|
|
514
514
|
default: g(() => [
|
|
515
515
|
k("bs-overlay", d(a.$attrs, {
|
|
516
516
|
"enter-controlled": e.enterControlled,
|
|
@@ -518,12 +518,12 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
518
518
|
"leave-trigger": e.leaveTrigger,
|
|
519
519
|
onEnterend: t[0] || (t[0] = (l) => s("enterend", l.detail)),
|
|
520
520
|
onLeaveend: t[1] || (t[1] = (l) => s("leaveend", l.detail))
|
|
521
|
-
}), null, 16,
|
|
521
|
+
}), null, 16, ne)
|
|
522
522
|
]),
|
|
523
523
|
_: 1
|
|
524
524
|
}));
|
|
525
525
|
}
|
|
526
|
-
},
|
|
526
|
+
}, re = ["show-first-last-buttons", "prev-page-text", "first-page-text", "next-page-text", "last-page-text", "fixed", "variant", "selection", "center-display", "break-text", "page-range", "page-count", "center-label", "items-per-group", "items-count", "results-increments"], ct = {
|
|
527
527
|
__name: "BsPagination",
|
|
528
528
|
props: {
|
|
529
529
|
showFirstLastButtons: { default: !1 },
|
|
@@ -545,7 +545,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
545
545
|
},
|
|
546
546
|
emits: ["selchange"],
|
|
547
547
|
setup(e, { emit: s }) {
|
|
548
|
-
return (a, t) => (
|
|
548
|
+
return (a, t) => (r(), u("bs-pagination", d(a.$attrs, {
|
|
549
549
|
"show-first-last-buttons": e.showFirstLastButtons,
|
|
550
550
|
"prev-page-text": e.prevPageText,
|
|
551
551
|
"first-page-text": e.firstPageText,
|
|
@@ -563,9 +563,9 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
563
563
|
"items-count": e.itemsCount,
|
|
564
564
|
"results-increments": e.resultsIncrements,
|
|
565
565
|
onSelchange: t[0] || (t[0] = (l) => s("selchange", l.detail))
|
|
566
|
-
}), null, 16,
|
|
566
|
+
}), null, 16, re));
|
|
567
567
|
}
|
|
568
|
-
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email"], ft = {
|
|
568
|
+
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], ft = {
|
|
569
569
|
__name: "BsProfile",
|
|
570
570
|
props: {
|
|
571
571
|
layout: {},
|
|
@@ -577,12 +577,16 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
577
577
|
company: {},
|
|
578
578
|
jobTitle: {},
|
|
579
579
|
email: {},
|
|
580
|
+
action: {},
|
|
581
|
+
actionIcon: {},
|
|
582
|
+
miscMeta: {},
|
|
583
|
+
miscMetaIcon: {},
|
|
580
584
|
router: {}
|
|
581
585
|
},
|
|
582
|
-
emits: [],
|
|
586
|
+
emits: ["action-toggled"],
|
|
583
587
|
setup(e, { emit: s }) {
|
|
584
|
-
const a = e, { onLinkClick: t } =
|
|
585
|
-
return (l, i) => (
|
|
588
|
+
const a = e, { onLinkClick: t } = M(a);
|
|
589
|
+
return (l, i) => (r(), u("bs-profile", d(l.$attrs, {
|
|
586
590
|
layout: e.layout,
|
|
587
591
|
href: e.href,
|
|
588
592
|
"image-src": e.imageSrc,
|
|
@@ -592,24 +596,38 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
592
596
|
company: e.company,
|
|
593
597
|
"job-title": e.jobTitle,
|
|
594
598
|
email: e.email,
|
|
595
|
-
|
|
599
|
+
action: e.action,
|
|
600
|
+
"action-icon": e.actionIcon,
|
|
601
|
+
"misc-meta": e.miscMeta,
|
|
602
|
+
"misc-meta-icon": e.miscMetaIcon,
|
|
603
|
+
onActionToggled: i[0] || (i[0] = (c) => s("action-toggled", c.detail)),
|
|
604
|
+
onClick: i[1] || (i[1] = (...c) => f(t) && f(t)(...c))
|
|
596
605
|
}), null, 16, ie));
|
|
597
606
|
}
|
|
598
|
-
}, de = ["profile-name", "company", "job-title", "email"], mt = {
|
|
607
|
+
}, de = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], mt = {
|
|
599
608
|
__name: "BsProfileDetails",
|
|
600
609
|
props: {
|
|
601
610
|
profileName: {},
|
|
602
611
|
company: {},
|
|
603
612
|
jobTitle: {},
|
|
604
|
-
email: {}
|
|
613
|
+
email: {},
|
|
614
|
+
action: {},
|
|
615
|
+
actionIcon: {},
|
|
616
|
+
miscMeta: {},
|
|
617
|
+
miscMetaIcon: {}
|
|
605
618
|
},
|
|
606
|
-
emits: [],
|
|
619
|
+
emits: ["action-toggled"],
|
|
607
620
|
setup(e, { emit: s }) {
|
|
608
|
-
return (a, t) => (
|
|
621
|
+
return (a, t) => (r(), u("bs-profile-details", d(a.$attrs, {
|
|
609
622
|
"profile-name": e.profileName,
|
|
610
623
|
company: e.company,
|
|
611
624
|
"job-title": e.jobTitle,
|
|
612
|
-
email: e.email
|
|
625
|
+
email: e.email,
|
|
626
|
+
action: e.action,
|
|
627
|
+
"action-icon": e.actionIcon,
|
|
628
|
+
"misc-meta": e.miscMeta,
|
|
629
|
+
"misc-meta-icon": e.miscMetaIcon,
|
|
630
|
+
onActionToggled: t[0] || (t[0] = (l) => s("action-toggled", l.detail))
|
|
613
631
|
}), null, 16, de));
|
|
614
632
|
}
|
|
615
633
|
}, ue = ["src", "size", "initials", "profile-name"], ht = {
|
|
@@ -622,7 +640,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
622
640
|
},
|
|
623
641
|
emits: [],
|
|
624
642
|
setup(e, { emit: s }) {
|
|
625
|
-
return (a, t) => (
|
|
643
|
+
return (a, t) => (r(), u("bs-profile-img", d(a.$attrs, {
|
|
626
644
|
src: e.src,
|
|
627
645
|
size: e.size,
|
|
628
646
|
initials: e.initials,
|
|
@@ -639,8 +657,8 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
639
657
|
},
|
|
640
658
|
emits: [],
|
|
641
659
|
setup(e, { emit: s }) {
|
|
642
|
-
const a = e, { onLinkClick: t } =
|
|
643
|
-
return (l, i) => (
|
|
660
|
+
const a = e, { onLinkClick: t } = M(a);
|
|
661
|
+
return (l, i) => (r(), u("bs-profile-layout", d(l.$attrs, {
|
|
644
662
|
layout: e.layout,
|
|
645
663
|
href: e.href,
|
|
646
664
|
"pass-attrs": e.passAttrs,
|
|
@@ -665,7 +683,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
665
683
|
},
|
|
666
684
|
emits: ["update:modelValue"],
|
|
667
685
|
setup(e, { emit: s }) {
|
|
668
|
-
return (a, t) => (
|
|
686
|
+
return (a, t) => (r(), u("bs-radio", d(a.$attrs, {
|
|
669
687
|
label: e.label,
|
|
670
688
|
checked: e.checked || e.modelValue === e.value,
|
|
671
689
|
disabled: e.disabled,
|
|
@@ -697,7 +715,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
697
715
|
},
|
|
698
716
|
emits: ["update:modelValue"],
|
|
699
717
|
setup(e, { emit: s }) {
|
|
700
|
-
return (a, t) => (
|
|
718
|
+
return (a, t) => (r(), u("bs-select-field", d(a.$attrs, {
|
|
701
719
|
disabled: e.disabled,
|
|
702
720
|
error: e.error,
|
|
703
721
|
"error-msg": e.errorMsg,
|
|
@@ -729,7 +747,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
729
747
|
},
|
|
730
748
|
emits: ["update:modelValue"],
|
|
731
749
|
setup(e, { emit: s }) {
|
|
732
|
-
return (a, t) => (
|
|
750
|
+
return (a, t) => (r(), u("bs-switch", d(a.$attrs, {
|
|
733
751
|
checked: e.checked || e.modelValue,
|
|
734
752
|
disabled: e.disabled,
|
|
735
753
|
"hide-label": e.hideLabel,
|
|
@@ -751,7 +769,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
751
769
|
},
|
|
752
770
|
emits: [],
|
|
753
771
|
setup(e, { emit: s }) {
|
|
754
|
-
return (a, t) => (
|
|
772
|
+
return (a, t) => (r(), u("bs-tab", d(a.$attrs, {
|
|
755
773
|
"active-tab-id": e.activeTabId,
|
|
756
774
|
hidden: e.hidden,
|
|
757
775
|
"panel-id": e.panelId
|
|
@@ -772,13 +790,13 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
772
790
|
const a = (t) => {
|
|
773
791
|
s("tabChange", t.detail), s("update:modelValue", t.detail);
|
|
774
792
|
};
|
|
775
|
-
return (t, l) => (
|
|
793
|
+
return (t, l) => (r(), u("bs-tab-list", d(t.$attrs, {
|
|
776
794
|
"active-tab-id": e.activeTabId || e.modelValue,
|
|
777
795
|
"helper-text": e.helperText,
|
|
778
796
|
"helper-description": e.helperDescription,
|
|
779
797
|
"on:tabChange": a
|
|
780
798
|
}), [
|
|
781
|
-
|
|
799
|
+
I(f(T), null, {
|
|
782
800
|
default: g(() => [
|
|
783
801
|
o(t.$slots, "default")
|
|
784
802
|
]),
|
|
@@ -794,7 +812,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
794
812
|
},
|
|
795
813
|
emits: [],
|
|
796
814
|
setup(e, { emit: s }) {
|
|
797
|
-
return (a, t) => (
|
|
815
|
+
return (a, t) => (r(), u("bs-tab-panel", d(a.$attrs, {
|
|
798
816
|
"active-tab-id": e.activeTabId,
|
|
799
817
|
"tab-id": e.tabId
|
|
800
818
|
}), [
|
|
@@ -816,7 +834,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
816
834
|
},
|
|
817
835
|
emits: ["update:modelValue"],
|
|
818
836
|
setup(e, { emit: s }) {
|
|
819
|
-
return (a, t) => (
|
|
837
|
+
return (a, t) => (r(), u("bs-textarea", d(a.$attrs, {
|
|
820
838
|
disabled: e.disabled,
|
|
821
839
|
error: e.error,
|
|
822
840
|
"input-id": e.inputId,
|
|
@@ -828,7 +846,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
828
846
|
onInput: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
|
|
829
847
|
}), null, 16, ge));
|
|
830
848
|
}
|
|
831
|
-
}, $e = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "value", "pass-attrs"],
|
|
849
|
+
}, $e = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "value", "pass-attrs"], It = {
|
|
832
850
|
__name: "BsTextareaField",
|
|
833
851
|
props: {
|
|
834
852
|
charMax: {},
|
|
@@ -847,7 +865,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
847
865
|
},
|
|
848
866
|
emits: ["update:modelValue"],
|
|
849
867
|
setup(e, { emit: s }) {
|
|
850
|
-
return (a, t) => (
|
|
868
|
+
return (a, t) => (r(), u("bs-textarea-field", d(a.$attrs, {
|
|
851
869
|
"char-max": e.charMax,
|
|
852
870
|
disabled: e.disabled,
|
|
853
871
|
error: e.error,
|
|
@@ -863,7 +881,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
863
881
|
onInput: t[0] || (t[0] = (l) => s("update:modelValue", l.target.value))
|
|
864
882
|
}), null, 16, $e));
|
|
865
883
|
}
|
|
866
|
-
}, ye = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"],
|
|
884
|
+
}, ye = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], wt = {
|
|
867
885
|
__name: "BsToast",
|
|
868
886
|
props: {
|
|
869
887
|
toastId: {},
|
|
@@ -876,7 +894,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
876
894
|
},
|
|
877
895
|
emits: ["dismiss", "enterend", "leaveend"],
|
|
878
896
|
setup(e, { emit: s }) {
|
|
879
|
-
return (a, t) => (
|
|
897
|
+
return (a, t) => (r(), $(f(T), null, {
|
|
880
898
|
default: g(() => [
|
|
881
899
|
k("bs-toast", d(a.$attrs, {
|
|
882
900
|
"toast-id": e.toastId,
|
|
@@ -896,12 +914,12 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
896
914
|
_: 3
|
|
897
915
|
}));
|
|
898
916
|
}
|
|
899
|
-
},
|
|
917
|
+
}, pt = {
|
|
900
918
|
__name: "BsToastActions",
|
|
901
919
|
props: {},
|
|
902
920
|
emits: ["defaultDismiss"],
|
|
903
921
|
setup(e, { emit: s }) {
|
|
904
|
-
return (a, t) => (
|
|
922
|
+
return (a, t) => (r(), u("bs-toast-actions", d(a.$attrs, {
|
|
905
923
|
"on:defaultDismiss": t[0] || (t[0] = (l) => s("defaultDismiss", l.detail))
|
|
906
924
|
}), [
|
|
907
925
|
o(a.$slots, "default")
|
|
@@ -912,7 +930,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
912
930
|
props: {},
|
|
913
931
|
emits: [],
|
|
914
932
|
setup(e, { emit: s }) {
|
|
915
|
-
return (a, t) => (
|
|
933
|
+
return (a, t) => (r(), u("bs-toast-body", E(W(a.$attrs)), [
|
|
916
934
|
o(a.$slots, "default")
|
|
917
935
|
], 16));
|
|
918
936
|
}
|
|
@@ -923,7 +941,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
923
941
|
},
|
|
924
942
|
emits: [],
|
|
925
943
|
setup(e, { emit: s }) {
|
|
926
|
-
return (a, t) => (
|
|
944
|
+
return (a, t) => (r(), u("bs-toast-header", d(a.$attrs, { variant: e.variant }), [
|
|
927
945
|
o(a.$slots, "default")
|
|
928
946
|
], 16, Be));
|
|
929
947
|
}
|
|
@@ -932,9 +950,9 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
932
950
|
props: {},
|
|
933
951
|
emits: [],
|
|
934
952
|
setup(e, { emit: s }) {
|
|
935
|
-
return (a, t) => (
|
|
953
|
+
return (a, t) => (r(), $(f(T), null, {
|
|
936
954
|
default: g(() => [
|
|
937
|
-
k("bs-toaster", W(
|
|
955
|
+
k("bs-toaster", E(W(a.$attrs)), [
|
|
938
956
|
o(a.$slots, "default")
|
|
939
957
|
], 16)
|
|
940
958
|
]),
|
|
@@ -956,7 +974,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
956
974
|
},
|
|
957
975
|
emits: ["enterend", "leaveend"],
|
|
958
976
|
setup(e, { emit: s }) {
|
|
959
|
-
return (a, t) => (
|
|
977
|
+
return (a, t) => (r(), u("bs-transition", d(a.$attrs, {
|
|
960
978
|
"enter-class": e.enterClass,
|
|
961
979
|
"enter-attribute": e.enterAttribute,
|
|
962
980
|
"enter-duration": e.enterDuration,
|
|
@@ -976,7 +994,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
976
994
|
function P(e) {
|
|
977
995
|
e.value.replaceChildren();
|
|
978
996
|
}
|
|
979
|
-
const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "open-item-id", "stacked"],
|
|
997
|
+
const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "open-item-id", "stacked"], Ie = {
|
|
980
998
|
__name: "BsAccordionServer",
|
|
981
999
|
props: {
|
|
982
1000
|
controlled: { default: !1 },
|
|
@@ -989,21 +1007,21 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
989
1007
|
},
|
|
990
1008
|
emits: ["toggled"],
|
|
991
1009
|
setup(e, { emit: s }) {
|
|
992
|
-
const a = h(!1), t = h(null), l = h(""), i =
|
|
1010
|
+
const a = h(!1), t = h(null), l = h(""), i = w([]), c = h(null), b = h(!1), y = (n, v = 0) => {
|
|
993
1011
|
var m, B;
|
|
994
|
-
t.value || v >= 4 || (t.value = (B = (m =
|
|
1012
|
+
t.value || v >= 4 || (t.value = (B = (m = n.value) == null ? void 0 : m.querySelector) == null ? void 0 : B.call(m, "[data-slot]"), t.value || i.push(setTimeout(() => y(n, v + 1), 50)));
|
|
995
1013
|
};
|
|
996
|
-
return
|
|
997
|
-
!
|
|
1014
|
+
return p(() => b.value = !0), S(() => y(c, 0)), C(t, (n) => {
|
|
1015
|
+
!n || a.value || (P(t), i.push(setTimeout(() => {
|
|
998
1016
|
x(() => {
|
|
999
1017
|
l.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
|
|
1000
1018
|
});
|
|
1001
1019
|
}, 100)), a.value = !0);
|
|
1002
|
-
}, { immediate: !0 }), L(() => i.forEach((
|
|
1003
|
-
t.value && b.value ? (
|
|
1020
|
+
}, { immediate: !0 }), L(() => i.forEach((n) => clearTimeout(n))), (n, v) => (r(), u(V, null, [
|
|
1021
|
+
t.value && b.value ? (r(), $(f(T), { key: 0 }, {
|
|
1004
1022
|
default: g(() => [
|
|
1005
|
-
(
|
|
1006
|
-
o(
|
|
1023
|
+
(r(), $(q, { to: t.value }, [
|
|
1024
|
+
o(n.$slots, "default")
|
|
1007
1025
|
], 8, ["to"]))
|
|
1008
1026
|
]),
|
|
1009
1027
|
_: 3
|
|
@@ -1021,12 +1039,12 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1021
1039
|
"open-item-id": e.openItemId,
|
|
1022
1040
|
stacked: e.stacked,
|
|
1023
1041
|
onToggled: v[0] || (v[0] = (m) => s("toggled", m.detail))
|
|
1024
|
-
},
|
|
1025
|
-
|
|
1042
|
+
}, n.$attrs), [
|
|
1043
|
+
I(f(T), null, z({ _: 2 }, [
|
|
1026
1044
|
b.value ? void 0 : {
|
|
1027
1045
|
name: "fallback",
|
|
1028
1046
|
fn: g(() => [
|
|
1029
|
-
o(
|
|
1047
|
+
o(n.$slots, "default")
|
|
1030
1048
|
]),
|
|
1031
1049
|
key: "0"
|
|
1032
1050
|
}
|
|
@@ -1034,7 +1052,7 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1034
1052
|
], 16, ke)
|
|
1035
1053
|
], 64));
|
|
1036
1054
|
}
|
|
1037
|
-
},
|
|
1055
|
+
}, we = "bs-accordion", Vt = {
|
|
1038
1056
|
__name: "BsAccordion",
|
|
1039
1057
|
props: {
|
|
1040
1058
|
controlled: { default: !1 },
|
|
@@ -1048,11 +1066,11 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1048
1066
|
},
|
|
1049
1067
|
emits: ["toggled"],
|
|
1050
1068
|
setup(e, { emit: s }) {
|
|
1051
|
-
const a = e, { data: t } = D(
|
|
1069
|
+
const a = e, { data: t } = D(we, () => {
|
|
1052
1070
|
if (process.server)
|
|
1053
1071
|
return !0;
|
|
1054
1072
|
});
|
|
1055
|
-
return (l, i) => f(t) ? (
|
|
1073
|
+
return (l, i) => f(t) ? (r(), $(Ie, d({ key: 0 }, { ...a, ...l.$attrs }, {
|
|
1056
1074
|
style: { display: e.bsShow ? null : "none" },
|
|
1057
1075
|
onToggled: i[0] || (i[0] = (c) => s("toggled", c))
|
|
1058
1076
|
}), {
|
|
@@ -1060,33 +1078,33 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1060
1078
|
o(l.$slots, "default")
|
|
1061
1079
|
]),
|
|
1062
1080
|
_: 3
|
|
1063
|
-
}, 16, ["style"])) : (
|
|
1081
|
+
}, 16, ["style"])) : (r(), u("bs-accordion", d({ key: 1 }, { ...a, ...l.$attrs }, {
|
|
1064
1082
|
style: { display: e.bsShow ? null : "none" },
|
|
1065
1083
|
onToggled: i[1] || (i[1] = (c) => s("toggled", c.detail))
|
|
1066
1084
|
}), [
|
|
1067
1085
|
o(l.$slots, "default")
|
|
1068
1086
|
], 16));
|
|
1069
1087
|
}
|
|
1070
|
-
},
|
|
1088
|
+
}, pe = {
|
|
1071
1089
|
__name: "BsBannerServer",
|
|
1072
1090
|
props: {},
|
|
1073
1091
|
emits: ["dismiss"],
|
|
1074
1092
|
setup(e, { emit: s }) {
|
|
1075
|
-
const a = h(!1), t = h(null), l = h(""), i =
|
|
1093
|
+
const a = h(!1), t = h(null), l = h(""), i = w([]), c = h(null), b = h(!1), y = (n, v = 0) => {
|
|
1076
1094
|
var m, B;
|
|
1077
|
-
t.value || v >= 4 || (t.value = (B = (m =
|
|
1095
|
+
t.value || v >= 4 || (t.value = (B = (m = n.value) == null ? void 0 : m.querySelector) == null ? void 0 : B.call(m, "[data-slot]"), t.value || i.push(setTimeout(() => y(n, v + 1), 50)));
|
|
1078
1096
|
};
|
|
1079
|
-
return
|
|
1080
|
-
!
|
|
1097
|
+
return p(() => b.value = !0), S(() => y(c, 0)), C(t, (n) => {
|
|
1098
|
+
!n || a.value || (P(t), i.push(setTimeout(() => {
|
|
1081
1099
|
x(() => {
|
|
1082
1100
|
l.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
|
|
1083
1101
|
});
|
|
1084
1102
|
}, 100)), a.value = !0);
|
|
1085
|
-
}, { immediate: !0 }), L(() => i.forEach((
|
|
1086
|
-
t.value && b.value ? (
|
|
1103
|
+
}, { immediate: !0 }), L(() => i.forEach((n) => clearTimeout(n))), (n, v) => (r(), u(V, null, [
|
|
1104
|
+
t.value && b.value ? (r(), $(f(T), { key: 0 }, {
|
|
1087
1105
|
default: g(() => [
|
|
1088
|
-
(
|
|
1089
|
-
o(
|
|
1106
|
+
(r(), $(q, { to: t.value }, [
|
|
1107
|
+
o(n.$slots, "default")
|
|
1090
1108
|
], 8, ["to"]))
|
|
1091
1109
|
]),
|
|
1092
1110
|
_: 3
|
|
@@ -1097,12 +1115,12 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1097
1115
|
class: l.value,
|
|
1098
1116
|
"data-bsds-ssr": "",
|
|
1099
1117
|
onDismiss: v[0] || (v[0] = (m) => s("dismiss", m.detail))
|
|
1100
|
-
},
|
|
1101
|
-
|
|
1118
|
+
}, n.$attrs), [
|
|
1119
|
+
I(f(T), null, z({ _: 2 }, [
|
|
1102
1120
|
b.value ? void 0 : {
|
|
1103
1121
|
name: "fallback",
|
|
1104
1122
|
fn: g(() => [
|
|
1105
|
-
o(
|
|
1123
|
+
o(n.$slots, "default")
|
|
1106
1124
|
]),
|
|
1107
1125
|
key: "0"
|
|
1108
1126
|
}
|
|
@@ -1121,7 +1139,7 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1121
1139
|
if (process.server)
|
|
1122
1140
|
return !0;
|
|
1123
1141
|
});
|
|
1124
|
-
return (l, i) => f(t) ? (
|
|
1142
|
+
return (l, i) => f(t) ? (r(), $(pe, d({ key: 0 }, { ...a, ...l.$attrs }, {
|
|
1125
1143
|
style: { display: e.bsShow ? null : "none" },
|
|
1126
1144
|
onDismiss: i[0] || (i[0] = (c) => s("dismiss", c))
|
|
1127
1145
|
}), {
|
|
@@ -1129,7 +1147,7 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1129
1147
|
o(l.$slots, "default")
|
|
1130
1148
|
]),
|
|
1131
1149
|
_: 3
|
|
1132
|
-
}, 16, ["style"])) : (
|
|
1150
|
+
}, 16, ["style"])) : (r(), u("bs-banner", d({ key: 1 }, { ...a, ...l.$attrs }, {
|
|
1133
1151
|
style: { display: e.bsShow ? null : "none" },
|
|
1134
1152
|
onDismiss: i[1] || (i[1] = (c) => s("dismiss", c.detail))
|
|
1135
1153
|
}), [
|
|
@@ -1149,21 +1167,21 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1149
1167
|
},
|
|
1150
1168
|
emits: [],
|
|
1151
1169
|
setup(e, { emit: s }) {
|
|
1152
|
-
const a = h(!1), t = h(null), l = h(""), i =
|
|
1170
|
+
const a = h(!1), t = h(null), l = h(""), i = w([]), c = h(null), b = h(!1), y = (n, v = 0) => {
|
|
1153
1171
|
var m, B;
|
|
1154
|
-
t.value || v >= 4 || (t.value = (B = (m =
|
|
1172
|
+
t.value || v >= 4 || (t.value = (B = (m = n.value) == null ? void 0 : m.querySelector) == null ? void 0 : B.call(m, "[data-slot]"), t.value || i.push(setTimeout(() => y(n, v + 1), 50)));
|
|
1155
1173
|
};
|
|
1156
|
-
return
|
|
1157
|
-
!
|
|
1174
|
+
return p(() => b.value = !0), S(() => y(c, 0)), C(t, (n) => {
|
|
1175
|
+
!n || a.value || (P(t), i.push(setTimeout(() => {
|
|
1158
1176
|
x(() => {
|
|
1159
1177
|
l.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated";
|
|
1160
1178
|
});
|
|
1161
1179
|
}, 100)), a.value = !0);
|
|
1162
|
-
}, { immediate: !0 }), L(() => i.forEach((
|
|
1163
|
-
t.value && b.value ? (
|
|
1180
|
+
}, { immediate: !0 }), L(() => i.forEach((n) => clearTimeout(n))), (n, v) => (r(), u(V, null, [
|
|
1181
|
+
t.value && b.value ? (r(), $(f(T), { key: 0 }, {
|
|
1164
1182
|
default: g(() => [
|
|
1165
|
-
(
|
|
1166
|
-
o(
|
|
1183
|
+
(r(), $(q, { to: t.value }, [
|
|
1184
|
+
o(n.$slots, "default")
|
|
1167
1185
|
], 8, ["to"]))
|
|
1168
1186
|
]),
|
|
1169
1187
|
_: 3
|
|
@@ -1180,12 +1198,12 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1180
1198
|
"pass-attrs": e.passAttrs,
|
|
1181
1199
|
"text-btn": e.textBtn,
|
|
1182
1200
|
size: e.size
|
|
1183
|
-
},
|
|
1184
|
-
|
|
1201
|
+
}, n.$attrs), [
|
|
1202
|
+
I(f(T), null, z({ _: 2 }, [
|
|
1185
1203
|
b.value ? void 0 : {
|
|
1186
1204
|
name: "fallback",
|
|
1187
1205
|
fn: g(() => [
|
|
1188
|
-
o(
|
|
1206
|
+
o(n.$slots, "default")
|
|
1189
1207
|
]),
|
|
1190
1208
|
key: "0"
|
|
1191
1209
|
}
|
|
@@ -1208,11 +1226,11 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1208
1226
|
},
|
|
1209
1227
|
emits: [],
|
|
1210
1228
|
setup(e, { emit: s }) {
|
|
1211
|
-
const a = e, { onLinkClick: t } =
|
|
1229
|
+
const a = e, { onLinkClick: t } = M(a), { data: l } = D(Le, () => {
|
|
1212
1230
|
if (process.server)
|
|
1213
1231
|
return !0;
|
|
1214
1232
|
});
|
|
1215
|
-
return (i, c) => f(l) ? (
|
|
1233
|
+
return (i, c) => f(l) ? (r(), $(xe, d({ key: 0 }, { ...a, ...i.$attrs, router: void 0 }, {
|
|
1216
1234
|
style: { display: e.bsShow ? null : "none" },
|
|
1217
1235
|
onClick: f(t)
|
|
1218
1236
|
}), {
|
|
@@ -1220,7 +1238,7 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1220
1238
|
o(i.$slots, "default")
|
|
1221
1239
|
]),
|
|
1222
1240
|
_: 3
|
|
1223
|
-
}, 16, ["style", "onClick"])) : (
|
|
1241
|
+
}, 16, ["style", "onClick"])) : (r(), u("bs-button", d({ key: 1 }, { ...a, ...i.$attrs, router: void 0 }, {
|
|
1224
1242
|
style: { display: e.bsShow ? null : "none" },
|
|
1225
1243
|
onClick: c[0] || (c[0] = (...b) => f(t) && f(t)(...b))
|
|
1226
1244
|
}), [
|
|
@@ -1238,21 +1256,21 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1238
1256
|
},
|
|
1239
1257
|
emits: [],
|
|
1240
1258
|
setup(e, { emit: s }) {
|
|
1241
|
-
const a = h(!1), t = h(null), l = h(""), i =
|
|
1259
|
+
const a = h(!1), t = h(null), l = h(""), i = w([]), c = h(null), b = h(!1), y = (n, v = 0) => {
|
|
1242
1260
|
var m, B;
|
|
1243
|
-
t.value || v >= 4 || (t.value = (B = (m =
|
|
1261
|
+
t.value || v >= 4 || (t.value = (B = (m = n.value) == null ? void 0 : m.querySelector) == null ? void 0 : B.call(m, "[data-slot]"), t.value || i.push(setTimeout(() => y(n, v + 1), 50)));
|
|
1244
1262
|
};
|
|
1245
|
-
return
|
|
1246
|
-
!
|
|
1263
|
+
return p(() => b.value = !0), S(() => y(c, 0)), C(t, (n) => {
|
|
1264
|
+
!n || a.value || (P(t), i.push(setTimeout(() => {
|
|
1247
1265
|
x(() => {
|
|
1248
1266
|
l.value = customElements.get("bs-label") ? "hydrated superhydrated" : "superhydrated";
|
|
1249
1267
|
});
|
|
1250
1268
|
}, 100)), a.value = !0);
|
|
1251
|
-
}, { immediate: !0 }), L(() => i.forEach((
|
|
1252
|
-
t.value && b.value ? (
|
|
1269
|
+
}, { immediate: !0 }), L(() => i.forEach((n) => clearTimeout(n))), (n, v) => (r(), u(V, null, [
|
|
1270
|
+
t.value && b.value ? (r(), $(f(T), { key: 0 }, {
|
|
1253
1271
|
default: g(() => [
|
|
1254
|
-
(
|
|
1255
|
-
o(
|
|
1272
|
+
(r(), $(q, { to: t.value }, [
|
|
1273
|
+
o(n.$slots, "default")
|
|
1256
1274
|
], 8, ["to"]))
|
|
1257
1275
|
]),
|
|
1258
1276
|
_: 3
|
|
@@ -1267,12 +1285,12 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1267
1285
|
hide: e.hide,
|
|
1268
1286
|
"pass-attrs": e.passAttrs,
|
|
1269
1287
|
required: e.required
|
|
1270
|
-
},
|
|
1271
|
-
|
|
1288
|
+
}, n.$attrs), [
|
|
1289
|
+
I(f(T), null, z({ _: 2 }, [
|
|
1272
1290
|
b.value ? void 0 : {
|
|
1273
1291
|
name: "fallback",
|
|
1274
1292
|
fn: g(() => [
|
|
1275
|
-
o(
|
|
1293
|
+
o(n.$slots, "default")
|
|
1276
1294
|
]),
|
|
1277
1295
|
key: "0"
|
|
1278
1296
|
}
|
|
@@ -1296,14 +1314,14 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1296
1314
|
if (process.server)
|
|
1297
1315
|
return !0;
|
|
1298
1316
|
});
|
|
1299
|
-
return (l, i) => f(t) ? (
|
|
1317
|
+
return (l, i) => f(t) ? (r(), $(qe, d({ key: 0 }, { ...a, ...l.$attrs }, {
|
|
1300
1318
|
style: { display: e.bsShow ? null : "none" }
|
|
1301
1319
|
}), {
|
|
1302
1320
|
default: g(() => [
|
|
1303
1321
|
o(l.$slots, "default")
|
|
1304
1322
|
]),
|
|
1305
1323
|
_: 3
|
|
1306
|
-
}, 16, ["style"])) : (
|
|
1324
|
+
}, 16, ["style"])) : (r(), u("bs-label", d({ key: 1 }, { ...a, ...l.$attrs }, {
|
|
1307
1325
|
style: { display: e.bsShow ? null : "none" }
|
|
1308
1326
|
}), [
|
|
1309
1327
|
o(l.$slots, "default")
|
|
@@ -1321,21 +1339,21 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1321
1339
|
},
|
|
1322
1340
|
emits: [],
|
|
1323
1341
|
setup(e, { emit: s }) {
|
|
1324
|
-
const a = h(!1), t = h(null), l = h(""), i =
|
|
1342
|
+
const a = h(!1), t = h(null), l = h(""), i = w([]), c = h(null), b = h(!1), y = (n, v = 0) => {
|
|
1325
1343
|
var m, B;
|
|
1326
|
-
t.value || v >= 4 || (t.value = (B = (m =
|
|
1344
|
+
t.value || v >= 4 || (t.value = (B = (m = n.value) == null ? void 0 : m.querySelector) == null ? void 0 : B.call(m, "[data-slot]"), t.value || i.push(setTimeout(() => y(n, v + 1), 50)));
|
|
1327
1345
|
};
|
|
1328
|
-
return
|
|
1329
|
-
!
|
|
1346
|
+
return p(() => b.value = !0), S(() => y(c, 0)), C(t, (n) => {
|
|
1347
|
+
!n || a.value || (P(t), i.push(setTimeout(() => {
|
|
1330
1348
|
x(() => {
|
|
1331
1349
|
l.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
|
|
1332
1350
|
});
|
|
1333
1351
|
}, 100)), a.value = !0);
|
|
1334
|
-
}, { immediate: !0 }), L(() => i.forEach((
|
|
1335
|
-
t.value && b.value ? (
|
|
1352
|
+
}, { immediate: !0 }), L(() => i.forEach((n) => clearTimeout(n))), (n, v) => (r(), u(V, null, [
|
|
1353
|
+
t.value && b.value ? (r(), $(f(T), { key: 0 }, {
|
|
1336
1354
|
default: g(() => [
|
|
1337
|
-
(
|
|
1338
|
-
o(
|
|
1355
|
+
(r(), $(q, { to: t.value }, [
|
|
1356
|
+
o(n.$slots, "default")
|
|
1339
1357
|
], 8, ["to"]))
|
|
1340
1358
|
]),
|
|
1341
1359
|
_: 3
|
|
@@ -1351,12 +1369,12 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1351
1369
|
active: e.active,
|
|
1352
1370
|
disabled: e.disabled,
|
|
1353
1371
|
"pass-attrs": e.passAttrs
|
|
1354
|
-
},
|
|
1355
|
-
|
|
1372
|
+
}, n.$attrs), [
|
|
1373
|
+
I(f(T), null, z({ _: 2 }, [
|
|
1356
1374
|
b.value ? void 0 : {
|
|
1357
1375
|
name: "fallback",
|
|
1358
1376
|
fn: g(() => [
|
|
1359
|
-
o(
|
|
1377
|
+
o(n.$slots, "default")
|
|
1360
1378
|
]),
|
|
1361
1379
|
key: "0"
|
|
1362
1380
|
}
|
|
@@ -1378,11 +1396,11 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1378
1396
|
},
|
|
1379
1397
|
emits: [],
|
|
1380
1398
|
setup(e, { emit: s }) {
|
|
1381
|
-
const a = e, { onLinkClick: t } =
|
|
1399
|
+
const a = e, { onLinkClick: t } = M(a), { data: l } = D(Pe, () => {
|
|
1382
1400
|
if (process.server)
|
|
1383
1401
|
return !0;
|
|
1384
1402
|
});
|
|
1385
|
-
return (i, c) => f(l) ? (
|
|
1403
|
+
return (i, c) => f(l) ? (r(), $(De, d({ key: 0 }, { ...a, ...i.$attrs, router: void 0 }, {
|
|
1386
1404
|
style: { display: e.bsShow ? null : "none" },
|
|
1387
1405
|
onClick: f(t)
|
|
1388
1406
|
}), {
|
|
@@ -1390,14 +1408,14 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1390
1408
|
o(i.$slots, "default")
|
|
1391
1409
|
]),
|
|
1392
1410
|
_: 3
|
|
1393
|
-
}, 16, ["style", "onClick"])) : (
|
|
1411
|
+
}, 16, ["style", "onClick"])) : (r(), u("bs-pill", d({ key: 1 }, { ...a, ...i.$attrs, router: void 0 }, {
|
|
1394
1412
|
style: { display: e.bsShow ? null : "none" },
|
|
1395
1413
|
onClick: c[0] || (c[0] = (...b) => f(t) && f(t)(...b))
|
|
1396
1414
|
}), [
|
|
1397
1415
|
o(i.$slots, "default")
|
|
1398
1416
|
], 16));
|
|
1399
1417
|
}
|
|
1400
|
-
},
|
|
1418
|
+
}, Me = ["disabled", "input-id", "required", "error", "hint-id", "value", "pass-attrs"], Re = {
|
|
1401
1419
|
__name: "BsSelectServer",
|
|
1402
1420
|
props: {
|
|
1403
1421
|
disabled: { default: !1 },
|
|
@@ -1411,21 +1429,21 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1411
1429
|
},
|
|
1412
1430
|
emits: [],
|
|
1413
1431
|
setup(e, { emit: s }) {
|
|
1414
|
-
const a = h(!1), t = h(null), l = h(""), i =
|
|
1432
|
+
const a = h(!1), t = h(null), l = h(""), i = w([]), c = h(null), b = h(!1), y = (n, v = 0) => {
|
|
1415
1433
|
var m, B;
|
|
1416
|
-
t.value || v >= 4 || (t.value = (B = (m =
|
|
1434
|
+
t.value || v >= 4 || (t.value = (B = (m = n.value) == null ? void 0 : m.querySelector) == null ? void 0 : B.call(m, "[data-slot]"), t.value || i.push(setTimeout(() => y(n, v + 1), 50)));
|
|
1417
1435
|
};
|
|
1418
|
-
return
|
|
1419
|
-
!
|
|
1436
|
+
return p(() => b.value = !0), S(() => y(c, 0)), C(t, (n) => {
|
|
1437
|
+
!n || a.value || (P(t), i.push(setTimeout(() => {
|
|
1420
1438
|
x(() => {
|
|
1421
1439
|
l.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
|
|
1422
1440
|
});
|
|
1423
1441
|
}, 100)), a.value = !0);
|
|
1424
|
-
}, { immediate: !0 }), L(() => i.forEach((
|
|
1425
|
-
t.value && b.value ? (
|
|
1442
|
+
}, { immediate: !0 }), L(() => i.forEach((n) => clearTimeout(n))), (n, v) => (r(), u(V, null, [
|
|
1443
|
+
t.value && b.value ? (r(), $(f(T), { key: 0 }, {
|
|
1426
1444
|
default: g(() => [
|
|
1427
|
-
(
|
|
1428
|
-
o(
|
|
1445
|
+
(r(), $(q, { to: t.value }, [
|
|
1446
|
+
o(n.$slots, "default")
|
|
1429
1447
|
], 8, ["to"]))
|
|
1430
1448
|
]),
|
|
1431
1449
|
_: 3
|
|
@@ -1442,20 +1460,20 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1442
1460
|
"hint-id": e.hintId,
|
|
1443
1461
|
value: e.value,
|
|
1444
1462
|
"pass-attrs": e.passAttrs
|
|
1445
|
-
}, e.modelValue,
|
|
1446
|
-
|
|
1463
|
+
}, e.modelValue, n.$attrs), [
|
|
1464
|
+
I(f(T), null, z({ _: 2 }, [
|
|
1447
1465
|
b.value ? void 0 : {
|
|
1448
1466
|
name: "fallback",
|
|
1449
1467
|
fn: g(() => [
|
|
1450
|
-
o(
|
|
1468
|
+
o(n.$slots, "default")
|
|
1451
1469
|
]),
|
|
1452
1470
|
key: "0"
|
|
1453
1471
|
}
|
|
1454
1472
|
]), 1024)
|
|
1455
|
-
], 16,
|
|
1473
|
+
], 16, Me)
|
|
1456
1474
|
], 64));
|
|
1457
1475
|
}
|
|
1458
|
-
},
|
|
1476
|
+
}, Ee = "bs-select", Pt = {
|
|
1459
1477
|
__name: "BsSelect",
|
|
1460
1478
|
props: {
|
|
1461
1479
|
disabled: { default: !1 },
|
|
@@ -1470,24 +1488,24 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1470
1488
|
},
|
|
1471
1489
|
emits: ["update:modelValue"],
|
|
1472
1490
|
setup(e, { emit: s }) {
|
|
1473
|
-
const a = e, { data: t } = D(
|
|
1491
|
+
const a = e, { data: t } = D(Ee, () => {
|
|
1474
1492
|
if (process.server)
|
|
1475
1493
|
return !0;
|
|
1476
1494
|
});
|
|
1477
|
-
return (l, i) => f(t) ? (
|
|
1495
|
+
return (l, i) => f(t) ? (r(), $(Re, d({ key: 0 }, { ...a, ...l.$attrs, value: e.value || e.modelValue }, {
|
|
1478
1496
|
style: { display: e.bsShow ? null : "none" }
|
|
1479
1497
|
}), {
|
|
1480
1498
|
default: g(() => [
|
|
1481
1499
|
o(l.$slots, "default")
|
|
1482
1500
|
]),
|
|
1483
1501
|
_: 3
|
|
1484
|
-
}, 16, ["style"])) : (
|
|
1502
|
+
}, 16, ["style"])) : (r(), u("bs-select", d({ key: 1 }, { ...a, ...l.$attrs, value: e.value || e.modelValue }, {
|
|
1485
1503
|
style: { display: e.bsShow ? null : "none" }
|
|
1486
1504
|
}), [
|
|
1487
1505
|
o(l.$slots, "default")
|
|
1488
1506
|
], 16));
|
|
1489
1507
|
}
|
|
1490
|
-
},
|
|
1508
|
+
}, We = ["tooltip-id", "content", "position"], Oe = {
|
|
1491
1509
|
__name: "BsTooltipServer",
|
|
1492
1510
|
props: {
|
|
1493
1511
|
tooltipId: {},
|
|
@@ -1496,21 +1514,21 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1496
1514
|
},
|
|
1497
1515
|
emits: [],
|
|
1498
1516
|
setup(e, { emit: s }) {
|
|
1499
|
-
const a = h(!1), t = h(null), l = h(""), i =
|
|
1517
|
+
const a = h(!1), t = h(null), l = h(""), i = w([]), c = h(null), b = h(!1), y = (n, v = 0) => {
|
|
1500
1518
|
var m, B;
|
|
1501
|
-
t.value || v >= 4 || (t.value = (B = (m =
|
|
1519
|
+
t.value || v >= 4 || (t.value = (B = (m = n.value) == null ? void 0 : m.querySelector) == null ? void 0 : B.call(m, "[data-slot]"), t.value || i.push(setTimeout(() => y(n, v + 1), 50)));
|
|
1502
1520
|
};
|
|
1503
|
-
return
|
|
1504
|
-
!
|
|
1521
|
+
return p(() => b.value = !0), S(() => y(c, 0)), C(t, (n) => {
|
|
1522
|
+
!n || a.value || (P(t), i.push(setTimeout(() => {
|
|
1505
1523
|
x(() => {
|
|
1506
1524
|
l.value = customElements.get("bs-tooltip") ? "hydrated superhydrated" : "superhydrated";
|
|
1507
1525
|
});
|
|
1508
1526
|
}, 100)), a.value = !0);
|
|
1509
|
-
}, { immediate: !0 }), L(() => i.forEach((
|
|
1510
|
-
t.value && b.value ? (
|
|
1527
|
+
}, { immediate: !0 }), L(() => i.forEach((n) => clearTimeout(n))), (n, v) => (r(), u(V, null, [
|
|
1528
|
+
t.value && b.value ? (r(), $(f(T), { key: 0 }, {
|
|
1511
1529
|
default: g(() => [
|
|
1512
|
-
(
|
|
1513
|
-
o(
|
|
1530
|
+
(r(), $(q, { to: t.value }, [
|
|
1531
|
+
o(n.$slots, "default")
|
|
1514
1532
|
], 8, ["to"]))
|
|
1515
1533
|
]),
|
|
1516
1534
|
_: 3
|
|
@@ -1523,20 +1541,20 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1523
1541
|
"tooltip-id": e.tooltipId,
|
|
1524
1542
|
content: e.content,
|
|
1525
1543
|
position: e.position
|
|
1526
|
-
},
|
|
1527
|
-
|
|
1544
|
+
}, n.$attrs), [
|
|
1545
|
+
I(f(T), null, z({ _: 2 }, [
|
|
1528
1546
|
b.value ? void 0 : {
|
|
1529
1547
|
name: "fallback",
|
|
1530
1548
|
fn: g(() => [
|
|
1531
|
-
o(
|
|
1549
|
+
o(n.$slots, "default")
|
|
1532
1550
|
]),
|
|
1533
1551
|
key: "0"
|
|
1534
1552
|
}
|
|
1535
1553
|
]), 1024)
|
|
1536
|
-
], 16,
|
|
1554
|
+
], 16, We)
|
|
1537
1555
|
], 64));
|
|
1538
1556
|
}
|
|
1539
|
-
}, Fe = "bs-tooltip",
|
|
1557
|
+
}, Fe = "bs-tooltip", Mt = {
|
|
1540
1558
|
__name: "BsTooltip",
|
|
1541
1559
|
props: {
|
|
1542
1560
|
tooltipId: {},
|
|
@@ -1550,14 +1568,14 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1550
1568
|
if (process.server)
|
|
1551
1569
|
return !0;
|
|
1552
1570
|
});
|
|
1553
|
-
return (l, i) => f(t) ? (
|
|
1571
|
+
return (l, i) => f(t) ? (r(), $(Oe, d({ key: 0 }, { ...a, ...l.$attrs }, {
|
|
1554
1572
|
style: { display: e.bsShow ? null : "none" }
|
|
1555
1573
|
}), {
|
|
1556
1574
|
default: g(() => [
|
|
1557
1575
|
o(l.$slots, "default")
|
|
1558
1576
|
]),
|
|
1559
1577
|
_: 3
|
|
1560
|
-
}, 16, ["style"])) : (
|
|
1578
|
+
}, 16, ["style"])) : (r(), u("bs-tooltip", d({ key: 1 }, { ...a, ...l.$attrs }, {
|
|
1561
1579
|
style: { display: e.bsShow ? null : "none" }
|
|
1562
1580
|
}), [
|
|
1563
1581
|
o(l.$slots, "default")
|
|
@@ -1566,10 +1584,10 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1566
1584
|
};
|
|
1567
1585
|
export {
|
|
1568
1586
|
Vt as BsAccordion,
|
|
1569
|
-
|
|
1587
|
+
Ie as BsAccordionServer,
|
|
1570
1588
|
He as BsBadge,
|
|
1571
1589
|
qt as BsBanner,
|
|
1572
|
-
|
|
1590
|
+
pe as BsBannerServer,
|
|
1573
1591
|
At as BsButton,
|
|
1574
1592
|
xe as BsButtonServer,
|
|
1575
1593
|
Xe as BsCharacterCount,
|
|
@@ -1585,8 +1603,8 @@ export {
|
|
|
1585
1603
|
at as BsFieldLayout,
|
|
1586
1604
|
lt as BsHint,
|
|
1587
1605
|
st as BsInput,
|
|
1588
|
-
|
|
1589
|
-
|
|
1606
|
+
nt as BsInputAddon,
|
|
1607
|
+
rt as BsInputField,
|
|
1590
1608
|
it as BsInputSearch,
|
|
1591
1609
|
zt as BsLabel,
|
|
1592
1610
|
qe as BsLabelServer,
|
|
@@ -1603,19 +1621,19 @@ export {
|
|
|
1603
1621
|
vt as BsRadio,
|
|
1604
1622
|
Pt as BsSelect,
|
|
1605
1623
|
gt as BsSelectField,
|
|
1606
|
-
|
|
1624
|
+
Re as BsSelectServer,
|
|
1607
1625
|
$t as BsSwitch,
|
|
1608
1626
|
yt as BsTab,
|
|
1609
1627
|
Bt as BsTabList,
|
|
1610
1628
|
Tt as BsTabPanel,
|
|
1611
1629
|
kt as BsTextarea,
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1630
|
+
It as BsTextareaField,
|
|
1631
|
+
wt as BsToast,
|
|
1632
|
+
pt as BsToastActions,
|
|
1615
1633
|
St as BsToastBody,
|
|
1616
1634
|
Ct as BsToastHeader,
|
|
1617
1635
|
xt as BsToaster,
|
|
1618
|
-
|
|
1636
|
+
Mt as BsTooltip,
|
|
1619
1637
|
Oe as BsTooltipServer,
|
|
1620
1638
|
Lt as BsTransition
|
|
1621
1639
|
};
|