@wwtdev/bsds-components-vue3 1.15.7 → 1.15.8
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/nuxt/bsds-components.mjs +302 -300
- package/nuxt/bsds-components.umd.js +1 -1
- package/package.json +2 -2
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { openBlock as
|
|
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
2
|
import { ClientOnly as I } from "#components";
|
|
3
3
|
import { v4 as E } from "uuid";
|
|
4
|
-
const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero"],
|
|
4
|
+
const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], Je = {
|
|
5
5
|
__name: "BsBadge",
|
|
6
6
|
props: {
|
|
7
7
|
color: {},
|
|
@@ -13,8 +13,8 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
13
13
|
showZero: {}
|
|
14
14
|
},
|
|
15
15
|
emits: [],
|
|
16
|
-
setup(e, { emit:
|
|
17
|
-
return (a, t) => (
|
|
16
|
+
setup(e, { emit: l }) {
|
|
17
|
+
return (a, t) => (s(), r("bs-badge", o(a.$attrs, {
|
|
18
18
|
color: e.color,
|
|
19
19
|
count: e.count,
|
|
20
20
|
"count-max": e.countMax,
|
|
@@ -23,23 +23,23 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
23
23
|
position: e.position,
|
|
24
24
|
"show-zero": e.showZero
|
|
25
25
|
}), [
|
|
26
|
-
|
|
26
|
+
f(a.$slots, "default")
|
|
27
27
|
], 16, O));
|
|
28
28
|
}
|
|
29
|
-
},
|
|
29
|
+
}, R = ["char-count", "char-max"], Qe = {
|
|
30
30
|
__name: "BsCharacterCount",
|
|
31
31
|
props: {
|
|
32
32
|
charCount: {},
|
|
33
33
|
charMax: {}
|
|
34
34
|
},
|
|
35
35
|
emits: [],
|
|
36
|
-
setup(e, { emit:
|
|
37
|
-
return (a, t) => (
|
|
36
|
+
setup(e, { emit: l }) {
|
|
37
|
+
return (a, t) => (s(), r("bs-character-count", o(a.$attrs, {
|
|
38
38
|
"char-count": e.charCount,
|
|
39
39
|
"char-max": e.charMax
|
|
40
|
-
}), null, 16,
|
|
40
|
+
}), null, 16, R));
|
|
41
41
|
}
|
|
42
|
-
},
|
|
42
|
+
}, G = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], Ke = {
|
|
43
43
|
__name: "BsChartBar",
|
|
44
44
|
props: {
|
|
45
45
|
chartTitle: {},
|
|
@@ -54,8 +54,8 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
54
54
|
yLabel: { default: "" }
|
|
55
55
|
},
|
|
56
56
|
emits: [],
|
|
57
|
-
setup(e, { emit:
|
|
58
|
-
return (a, t) => (
|
|
57
|
+
setup(e, { emit: l }) {
|
|
58
|
+
return (a, t) => (s(), r("bs-chart-bar", o(a.$attrs, {
|
|
59
59
|
"chart-title": e.chartTitle,
|
|
60
60
|
data: e.data,
|
|
61
61
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -66,9 +66,9 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
66
66
|
stacked: e.stacked,
|
|
67
67
|
"x-label": e.xLabel,
|
|
68
68
|
"y-label": e.yLabel
|
|
69
|
-
}), null, 16,
|
|
69
|
+
}), null, 16, G));
|
|
70
70
|
}
|
|
71
|
-
}, j = ["data", "dataIdxLabels", "table-title"],
|
|
71
|
+
}, j = ["data", "dataIdxLabels", "table-title"], _e = {
|
|
72
72
|
__name: "BsChartTable",
|
|
73
73
|
props: {
|
|
74
74
|
data: {},
|
|
@@ -76,14 +76,14 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
76
76
|
tableTitle: { default: "" }
|
|
77
77
|
},
|
|
78
78
|
emits: [],
|
|
79
|
-
setup(e, { emit:
|
|
80
|
-
return (a, t) => (
|
|
79
|
+
setup(e, { emit: l }) {
|
|
80
|
+
return (a, t) => (s(), r("bs-chart-table", o(a.$attrs, {
|
|
81
81
|
data: e.data,
|
|
82
82
|
dataIdxLabels: e.dataIdxLabels,
|
|
83
83
|
"table-title": e.tableTitle
|
|
84
84
|
}), null, 16, j));
|
|
85
85
|
}
|
|
86
|
-
}, N = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"],
|
|
86
|
+
}, N = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"], et = {
|
|
87
87
|
__name: "BsCheckbox",
|
|
88
88
|
props: {
|
|
89
89
|
label: {},
|
|
@@ -98,8 +98,8 @@ 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:
|
|
102
|
-
return (a, t) => (
|
|
101
|
+
setup(e, { emit: l }) {
|
|
102
|
+
return (a, t) => (s(), r("bs-checkbox", o(a.$attrs, {
|
|
103
103
|
label: e.label,
|
|
104
104
|
checked: e.checked || e.modelValue,
|
|
105
105
|
"checked-partially": e.checkedPartially,
|
|
@@ -109,25 +109,25 @@ const 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) =>
|
|
112
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
|
|
113
113
|
}), null, 16, N));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
function x(e) {
|
|
117
|
-
const
|
|
117
|
+
const l = b(() => {
|
|
118
118
|
var n, d;
|
|
119
119
|
return ((d = (n = e.href) == null ? void 0 : n.startsWith) == null ? void 0 : d.call(n, "/")) || !1;
|
|
120
120
|
}), a = b(() => {
|
|
121
121
|
var n, d;
|
|
122
|
-
return
|
|
122
|
+
return l.value && ((n = e.router) == null ? void 0 : n.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
|
|
123
123
|
});
|
|
124
124
|
function t(n) {
|
|
125
|
-
var d, i,
|
|
126
|
-
a.value && ((i = (d = n.target.href) == null ? void 0 : d.endsWith) != null && i.call(d, e.href) || (B = (
|
|
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));
|
|
127
127
|
}
|
|
128
128
|
return { onLinkClick: t };
|
|
129
129
|
}
|
|
130
|
-
const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"],
|
|
130
|
+
const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], tt = {
|
|
131
131
|
__name: "BsCircleButton",
|
|
132
132
|
props: {
|
|
133
133
|
disabled: {},
|
|
@@ -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:
|
|
146
|
+
setup(e, { emit: l }) {
|
|
147
147
|
const a = e, { onLinkClick: t } = x(a);
|
|
148
|
-
return (n, d) => (
|
|
148
|
+
return (n, d) => (s(), r("bs-circle-button", o(n.$attrs, {
|
|
149
149
|
disabled: e.disabled,
|
|
150
150
|
"ghost-btn": e.ghostBtn,
|
|
151
151
|
"hover-effect": e.hoverEffect,
|
|
@@ -159,7 +159,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
159
159
|
onClick: d[0] || (d[0] = (...i) => m(t) && m(t)(...i))
|
|
160
160
|
}), null, 16, W));
|
|
161
161
|
}
|
|
162
|
-
}, H = ["width", "top", "center", "toggle-id", "container-id", "helper-text", "helper-description", "enter-controlled", "enter-trigger", "leave-trigger"],
|
|
162
|
+
}, H = ["width", "top", "center", "toggle-id", "container-id", "helper-text", "helper-description", "enter-controlled", "enter-trigger", "leave-trigger"], at = {
|
|
163
163
|
__name: "BsDropdown",
|
|
164
164
|
props: {
|
|
165
165
|
width: { default: void 0 },
|
|
@@ -174,8 +174,8 @@ 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:
|
|
178
|
-
return (a, t) => (
|
|
177
|
+
setup(e, { emit: l }) {
|
|
178
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
179
179
|
default: $(() => [
|
|
180
180
|
u("bs-dropdown", o(a.$attrs, {
|
|
181
181
|
width: e.width,
|
|
@@ -188,17 +188,17 @@ 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) =>
|
|
192
|
-
onEnterend: t[1] || (t[1] = (n) =>
|
|
193
|
-
onLeaveend: t[2] || (t[2] = (n) =>
|
|
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))
|
|
194
194
|
}), [
|
|
195
|
-
|
|
195
|
+
f(a.$slots, "default")
|
|
196
196
|
], 16, H)
|
|
197
197
|
]),
|
|
198
198
|
_: 3
|
|
199
199
|
}));
|
|
200
200
|
}
|
|
201
|
-
}, U = ["value", "variant", "options-id", "selected", "focused", "index"],
|
|
201
|
+
}, U = ["value", "variant", "options-id", "selected", "focused", "index"], nt = {
|
|
202
202
|
__name: "BsDropdownOption",
|
|
203
203
|
props: {
|
|
204
204
|
value: {},
|
|
@@ -209,18 +209,18 @@ 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:
|
|
213
|
-
return (a, t) => (
|
|
212
|
+
setup(e, { emit: l }) {
|
|
213
|
+
return (a, t) => (s(), r("bs-dropdown-option", o(a.$attrs, {
|
|
214
214
|
value: e.value,
|
|
215
215
|
variant: e.variant,
|
|
216
216
|
"options-id": e.optionsId,
|
|
217
217
|
selected: e.selected,
|
|
218
218
|
focused: e.focused,
|
|
219
219
|
index: e.index,
|
|
220
|
-
onOptmouseenter: t[0] || (t[0] = (n) =>
|
|
221
|
-
onOptselect: t[1] || (t[1] = (n) =>
|
|
220
|
+
onOptmouseenter: t[0] || (t[0] = (n) => l("optmouseenter", n.detail)),
|
|
221
|
+
onOptselect: t[1] || (t[1] = (n) => l("optselect", n.detail))
|
|
222
222
|
}), [
|
|
223
|
-
|
|
223
|
+
f(a.$slots, "default")
|
|
224
224
|
], 16, U));
|
|
225
225
|
}
|
|
226
226
|
}, Y = ["options-id", "visible", "focus-delay", "label", "selected-value"], lt = {
|
|
@@ -233,20 +233,20 @@ 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:
|
|
237
|
-
return (a, t) => (
|
|
236
|
+
setup(e, { emit: l }) {
|
|
237
|
+
return (a, t) => (s(), r("bs-dropdown-option-list", o(a.$attrs, {
|
|
238
238
|
"options-id": e.optionsId,
|
|
239
239
|
visible: e.visible,
|
|
240
240
|
"focus-delay": e.focusDelay,
|
|
241
241
|
label: e.label,
|
|
242
242
|
"selected-value": e.selectedValue,
|
|
243
|
-
onOptselected: t[0] || (t[0] = (n) =>
|
|
244
|
-
onClose: t[1] || (t[1] = (n) =>
|
|
243
|
+
onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
|
|
244
|
+
onClose: t[1] || (t[1] = (n) => l("close", n.detail))
|
|
245
245
|
}), [
|
|
246
|
-
|
|
246
|
+
f(a.$slots, "default")
|
|
247
247
|
], 16, Y));
|
|
248
248
|
}
|
|
249
|
-
}, X = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description"],
|
|
249
|
+
}, 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
250
|
__name: "BsDropdownWithOptions",
|
|
251
251
|
props: {
|
|
252
252
|
toggleId: {},
|
|
@@ -264,8 +264,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
264
264
|
helperDescription: {}
|
|
265
265
|
},
|
|
266
266
|
emits: ["optselected", "close", "enterend", "leaveend"],
|
|
267
|
-
setup(e, { emit:
|
|
268
|
-
return (a, t) => (
|
|
267
|
+
setup(e, { emit: l }) {
|
|
268
|
+
return (a, t) => (s(), r("bs-dropdown-with-options", o(a.$attrs, {
|
|
269
269
|
"toggle-id": e.toggleId,
|
|
270
270
|
"container-id": e.containerId,
|
|
271
271
|
"options-id": e.optionsId,
|
|
@@ -279,15 +279,15 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
279
279
|
"leave-trigger": e.leaveTrigger,
|
|
280
280
|
"helper-text": e.helperText,
|
|
281
281
|
"helper-description": e.helperDescription,
|
|
282
|
-
onOptselected: t[0] || (t[0] = (n) =>
|
|
283
|
-
onClose: t[1] || (t[1] = (n) =>
|
|
284
|
-
onEnterend: t[2] || (t[2] = (n) =>
|
|
285
|
-
onLeaveend: t[3] || (t[3] = (n) =>
|
|
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
286
|
}), [
|
|
287
|
-
|
|
287
|
+
f(a.$slots, "default")
|
|
288
288
|
], 16, X));
|
|
289
289
|
}
|
|
290
|
-
}, Z = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"],
|
|
290
|
+
}, Z = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], it = {
|
|
291
291
|
__name: "BsFieldDetails",
|
|
292
292
|
props: {
|
|
293
293
|
charCount: {},
|
|
@@ -298,8 +298,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
298
298
|
hintId: {}
|
|
299
299
|
},
|
|
300
300
|
emits: [],
|
|
301
|
-
setup(e, { emit:
|
|
302
|
-
return (a, t) => (
|
|
301
|
+
setup(e, { emit: l }) {
|
|
302
|
+
return (a, t) => (s(), r("bs-field-details", o(a.$attrs, {
|
|
303
303
|
"char-count": e.charCount,
|
|
304
304
|
"char-max": e.charMax,
|
|
305
305
|
error: e.error,
|
|
@@ -308,7 +308,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
308
308
|
"hint-id": e.hintId
|
|
309
309
|
}), null, 16, Z));
|
|
310
310
|
}
|
|
311
|
-
}, J = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"],
|
|
311
|
+
}, J = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], rt = {
|
|
312
312
|
__name: "BsFieldLayout",
|
|
313
313
|
props: {
|
|
314
314
|
charCount: {},
|
|
@@ -322,8 +322,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
322
322
|
hintId: {}
|
|
323
323
|
},
|
|
324
324
|
emits: [],
|
|
325
|
-
setup(e, { emit:
|
|
326
|
-
return (a, t) => (
|
|
325
|
+
setup(e, { emit: l }) {
|
|
326
|
+
return (a, t) => (s(), r("bs-field-layout", o(a.$attrs, {
|
|
327
327
|
"char-count": e.charCount,
|
|
328
328
|
"char-max": e.charMax,
|
|
329
329
|
disabled: e.disabled,
|
|
@@ -334,10 +334,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
334
334
|
required: e.required,
|
|
335
335
|
"hint-id": e.hintId
|
|
336
336
|
}), [
|
|
337
|
-
|
|
337
|
+
f(a.$slots, "default")
|
|
338
338
|
], 16, J));
|
|
339
339
|
}
|
|
340
|
-
}, Q = ["error", "hint-id", "hints"],
|
|
340
|
+
}, Q = ["error", "hint-id", "hints"], dt = {
|
|
341
341
|
__name: "BsHint",
|
|
342
342
|
props: {
|
|
343
343
|
error: {},
|
|
@@ -345,14 +345,14 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
345
345
|
hints: {}
|
|
346
346
|
},
|
|
347
347
|
emits: [],
|
|
348
|
-
setup(e, { emit:
|
|
349
|
-
return (a, t) => (
|
|
348
|
+
setup(e, { emit: l }) {
|
|
349
|
+
return (a, t) => (s(), r("bs-hint", o(a.$attrs, {
|
|
350
350
|
error: e.error,
|
|
351
351
|
"hint-id": e.hintId,
|
|
352
352
|
hints: e.hints
|
|
353
353
|
}), null, 16, Q));
|
|
354
354
|
}
|
|
355
|
-
}, K = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"],
|
|
355
|
+
}, K = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ot = {
|
|
356
356
|
__name: "BsInput",
|
|
357
357
|
props: {
|
|
358
358
|
disabled: { default: !1 },
|
|
@@ -367,8 +367,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
367
367
|
modelValue: {}
|
|
368
368
|
},
|
|
369
369
|
emits: ["update:modelValue"],
|
|
370
|
-
setup(e, { emit:
|
|
371
|
-
return (a, t) => (
|
|
370
|
+
setup(e, { emit: l }) {
|
|
371
|
+
return (a, t) => (s(), r("bs-input", o(a.$attrs, {
|
|
372
372
|
disabled: e.disabled,
|
|
373
373
|
error: e.error,
|
|
374
374
|
"input-id": e.inputId,
|
|
@@ -378,10 +378,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
378
378
|
type: e.type,
|
|
379
379
|
value: e.value || e.modelValue,
|
|
380
380
|
"hint-id": e.hintId,
|
|
381
|
-
onInput: t[0] || (t[0] = (n) =>
|
|
381
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
382
382
|
}), null, 16, K));
|
|
383
383
|
}
|
|
384
|
-
}, _ = ["disabled", "error", "multifocus", "variant"],
|
|
384
|
+
}, _ = ["disabled", "error", "multifocus", "variant"], ut = {
|
|
385
385
|
__name: "BsInputAddon",
|
|
386
386
|
props: {
|
|
387
387
|
disabled: { default: !1 },
|
|
@@ -390,17 +390,17 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
390
390
|
variant: {}
|
|
391
391
|
},
|
|
392
392
|
emits: [],
|
|
393
|
-
setup(e, { emit:
|
|
394
|
-
return (a, t) => (
|
|
393
|
+
setup(e, { emit: l }) {
|
|
394
|
+
return (a, t) => (s(), r("bs-input-addon", o(a.$attrs, {
|
|
395
395
|
disabled: e.disabled,
|
|
396
396
|
error: e.error,
|
|
397
397
|
multifocus: e.multifocus,
|
|
398
398
|
variant: e.variant
|
|
399
399
|
}), [
|
|
400
|
-
|
|
400
|
+
f(a.$slots, "default")
|
|
401
401
|
], 16, _));
|
|
402
402
|
}
|
|
403
|
-
}, ee = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"],
|
|
403
|
+
}, ee = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], ct = {
|
|
404
404
|
__name: "BsInputField",
|
|
405
405
|
props: {
|
|
406
406
|
disabled: { default: !1 },
|
|
@@ -418,8 +418,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
418
418
|
modelValue: {}
|
|
419
419
|
},
|
|
420
420
|
emits: ["update:modelValue"],
|
|
421
|
-
setup(e, { emit:
|
|
422
|
-
return (a, t) => (
|
|
421
|
+
setup(e, { emit: l }) {
|
|
422
|
+
return (a, t) => (s(), r("bs-input-field", o(a.$attrs, {
|
|
423
423
|
disabled: e.disabled,
|
|
424
424
|
error: e.error,
|
|
425
425
|
"error-msg": e.errorMsg,
|
|
@@ -432,10 +432,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
432
432
|
required: e.required,
|
|
433
433
|
type: e.type,
|
|
434
434
|
value: e.value || e.modelValue,
|
|
435
|
-
onInput: t[0] || (t[0] = (n) =>
|
|
435
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
436
436
|
}), null, 16, ee));
|
|
437
437
|
}
|
|
438
|
-
}, te = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"],
|
|
438
|
+
}, te = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"], ft = {
|
|
439
439
|
__name: "BsInputSearch",
|
|
440
440
|
props: {
|
|
441
441
|
disabled: { default: !1 },
|
|
@@ -447,32 +447,32 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
447
447
|
modelValue: {}
|
|
448
448
|
},
|
|
449
449
|
emits: ["clear", "update:modelValue"],
|
|
450
|
-
setup(e, { emit:
|
|
451
|
-
return (a, t) => (
|
|
450
|
+
setup(e, { emit: l }) {
|
|
451
|
+
return (a, t) => (s(), r("bs-input-search", o(a.$attrs, {
|
|
452
452
|
disabled: e.disabled,
|
|
453
453
|
"pass-attrs": e.passAttrs,
|
|
454
454
|
placeholder: e.placeholder,
|
|
455
455
|
"hint-id": e.hintId,
|
|
456
456
|
"input-id": e.inputId,
|
|
457
457
|
value: e.value || e.modelValue,
|
|
458
|
-
onClear: t[0] || (t[0] = (n) =>
|
|
459
|
-
onInput: t[1] || (t[1] = (n) =>
|
|
458
|
+
onClear: t[0] || (t[0] = (n) => l("clear", n.detail)),
|
|
459
|
+
onInput: t[1] || (t[1] = (n) => l("update:modelValue", n.target.value))
|
|
460
460
|
}), null, 16, te));
|
|
461
461
|
}
|
|
462
|
-
}, ae = ["size", "variant"],
|
|
462
|
+
}, ae = ["size", "variant"], ht = {
|
|
463
463
|
__name: "BsLoader",
|
|
464
464
|
props: {
|
|
465
465
|
size: {},
|
|
466
466
|
variant: {}
|
|
467
467
|
},
|
|
468
468
|
emits: [],
|
|
469
|
-
setup(e, { emit:
|
|
470
|
-
return (a, t) => (
|
|
469
|
+
setup(e, { emit: l }) {
|
|
470
|
+
return (a, t) => (s(), r("bs-loader", o(a.$attrs, {
|
|
471
471
|
size: e.size,
|
|
472
472
|
variant: e.variant
|
|
473
473
|
}), null, 16, ae));
|
|
474
474
|
}
|
|
475
|
-
}, ne = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"],
|
|
475
|
+
}, ne = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], mt = {
|
|
476
476
|
__name: "BsModal",
|
|
477
477
|
props: {
|
|
478
478
|
alert: { default: !1 },
|
|
@@ -482,8 +482,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
482
482
|
leaveTrigger: { default: !1 }
|
|
483
483
|
},
|
|
484
484
|
emits: ["close", "enterend", "leaveend"],
|
|
485
|
-
setup(e, { emit:
|
|
486
|
-
return (a, t) => (
|
|
485
|
+
setup(e, { emit: l }) {
|
|
486
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
487
487
|
default: $(() => [
|
|
488
488
|
u("bs-modal", o(a.$attrs, {
|
|
489
489
|
alert: e.alert,
|
|
@@ -491,17 +491,17 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
491
491
|
"enter-controlled": e.enterControlled,
|
|
492
492
|
"enter-trigger": e.enterTrigger,
|
|
493
493
|
"leave-trigger": e.leaveTrigger,
|
|
494
|
-
onClose: t[0] || (t[0] = (n) =>
|
|
495
|
-
onEnterend: t[1] || (t[1] = (n) =>
|
|
496
|
-
onLeaveend: t[2] || (t[2] = (n) =>
|
|
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))
|
|
497
497
|
}), [
|
|
498
|
-
|
|
498
|
+
f(a.$slots, "default")
|
|
499
499
|
], 16, ne)
|
|
500
500
|
]),
|
|
501
501
|
_: 3
|
|
502
502
|
}));
|
|
503
503
|
}
|
|
504
|
-
},
|
|
504
|
+
}, le = ["enter-controlled", "enter-trigger", "leave-trigger"], bt = {
|
|
505
505
|
__name: "BsOverlay",
|
|
506
506
|
props: {
|
|
507
507
|
enterControlled: { default: !1 },
|
|
@@ -509,21 +509,21 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
509
509
|
leaveTrigger: { default: !1 }
|
|
510
510
|
},
|
|
511
511
|
emits: ["enterend", "leaveend"],
|
|
512
|
-
setup(e, { emit:
|
|
513
|
-
return (a, t) => (
|
|
512
|
+
setup(e, { emit: l }) {
|
|
513
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
514
514
|
default: $(() => [
|
|
515
515
|
u("bs-overlay", o(a.$attrs, {
|
|
516
516
|
"enter-controlled": e.enterControlled,
|
|
517
517
|
"enter-trigger": e.enterTrigger,
|
|
518
518
|
"leave-trigger": e.leaveTrigger,
|
|
519
|
-
onEnterend: t[0] || (t[0] = (n) =>
|
|
520
|
-
onLeaveend: t[1] || (t[1] = (n) =>
|
|
521
|
-
}), null, 16,
|
|
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)
|
|
522
522
|
]),
|
|
523
523
|
_: 1
|
|
524
524
|
}));
|
|
525
525
|
}
|
|
526
|
-
},
|
|
526
|
+
}, se = ["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"], gt = {
|
|
527
527
|
__name: "BsPagination",
|
|
528
528
|
props: {
|
|
529
529
|
showFirstLastButtons: { default: !1 },
|
|
@@ -544,8 +544,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
544
544
|
resultsIncrements: {}
|
|
545
545
|
},
|
|
546
546
|
emits: ["selchange"],
|
|
547
|
-
setup(e, { emit:
|
|
548
|
-
return (a, t) => (
|
|
547
|
+
setup(e, { emit: l }) {
|
|
548
|
+
return (a, t) => (s(), r("bs-pagination", o(a.$attrs, {
|
|
549
549
|
"show-first-last-buttons": e.showFirstLastButtons,
|
|
550
550
|
"prev-page-text": e.prevPageText,
|
|
551
551
|
"first-page-text": e.firstPageText,
|
|
@@ -562,10 +562,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
562
562
|
"items-per-group": e.itemsPerGroup,
|
|
563
563
|
"items-count": e.itemsCount,
|
|
564
564
|
"results-increments": e.resultsIncrements,
|
|
565
|
-
onSelchange: t[0] || (t[0] = (n) =>
|
|
566
|
-
}), null, 16,
|
|
565
|
+
onSelchange: t[0] || (t[0] = (n) => l("selchange", n.detail))
|
|
566
|
+
}), null, 16, se));
|
|
567
567
|
}
|
|
568
|
-
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"],
|
|
568
|
+
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], vt = {
|
|
569
569
|
__name: "BsProfile",
|
|
570
570
|
props: {
|
|
571
571
|
layout: {},
|
|
@@ -584,9 +584,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
584
584
|
router: {}
|
|
585
585
|
},
|
|
586
586
|
emits: ["action-toggled"],
|
|
587
|
-
setup(e, { emit:
|
|
587
|
+
setup(e, { emit: l }) {
|
|
588
588
|
const a = e, { onLinkClick: t } = x(a);
|
|
589
|
-
return (n, d) => (
|
|
589
|
+
return (n, d) => (s(), r("bs-profile", o(n.$attrs, {
|
|
590
590
|
layout: e.layout,
|
|
591
591
|
href: e.href,
|
|
592
592
|
"image-src": e.imageSrc,
|
|
@@ -600,11 +600,11 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
600
600
|
"action-icon": e.actionIcon,
|
|
601
601
|
"misc-meta": e.miscMeta,
|
|
602
602
|
"misc-meta-icon": e.miscMetaIcon,
|
|
603
|
-
onActionToggled: d[0] || (d[0] = (i) =>
|
|
603
|
+
onActionToggled: d[0] || (d[0] = (i) => l("action-toggled", i.detail)),
|
|
604
604
|
onClick: d[1] || (d[1] = (...i) => m(t) && m(t)(...i))
|
|
605
605
|
}), null, 16, ie));
|
|
606
606
|
}
|
|
607
|
-
}, re = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"],
|
|
607
|
+
}, re = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], $t = {
|
|
608
608
|
__name: "BsProfileDetails",
|
|
609
609
|
props: {
|
|
610
610
|
profileName: {},
|
|
@@ -617,8 +617,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
617
617
|
miscMetaIcon: {}
|
|
618
618
|
},
|
|
619
619
|
emits: ["action-toggled"],
|
|
620
|
-
setup(e, { emit:
|
|
621
|
-
return (a, t) => (
|
|
620
|
+
setup(e, { emit: l }) {
|
|
621
|
+
return (a, t) => (s(), r("bs-profile-details", o(a.$attrs, {
|
|
622
622
|
"profile-name": e.profileName,
|
|
623
623
|
company: e.company,
|
|
624
624
|
"job-title": e.jobTitle,
|
|
@@ -627,10 +627,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
627
627
|
"action-icon": e.actionIcon,
|
|
628
628
|
"misc-meta": e.miscMeta,
|
|
629
629
|
"misc-meta-icon": e.miscMetaIcon,
|
|
630
|
-
onActionToggled: t[0] || (t[0] = (n) =>
|
|
630
|
+
onActionToggled: t[0] || (t[0] = (n) => l("action-toggled", n.detail))
|
|
631
631
|
}), null, 16, re));
|
|
632
632
|
}
|
|
633
|
-
}, de = ["src", "size", "initials", "profile-name"],
|
|
633
|
+
}, de = ["src", "size", "initials", "profile-name"], Bt = {
|
|
634
634
|
__name: "BsProfileImg",
|
|
635
635
|
props: {
|
|
636
636
|
src: {},
|
|
@@ -639,15 +639,15 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
639
639
|
profileName: {}
|
|
640
640
|
},
|
|
641
641
|
emits: [],
|
|
642
|
-
setup(e, { emit:
|
|
643
|
-
return (a, t) => (
|
|
642
|
+
setup(e, { emit: l }) {
|
|
643
|
+
return (a, t) => (s(), r("bs-profile-img", o(a.$attrs, {
|
|
644
644
|
src: e.src,
|
|
645
645
|
size: e.size,
|
|
646
646
|
initials: e.initials,
|
|
647
647
|
"profile-name": e.profileName
|
|
648
648
|
}), null, 16, de));
|
|
649
649
|
}
|
|
650
|
-
}, oe = ["layout", "href", "pass-attrs"],
|
|
650
|
+
}, oe = ["layout", "href", "pass-attrs"], It = {
|
|
651
651
|
__name: "BsProfileLayout",
|
|
652
652
|
props: {
|
|
653
653
|
layout: { default: "vertical" },
|
|
@@ -656,18 +656,18 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
656
656
|
router: {}
|
|
657
657
|
},
|
|
658
658
|
emits: [],
|
|
659
|
-
setup(e, { emit:
|
|
659
|
+
setup(e, { emit: l }) {
|
|
660
660
|
const a = e, { onLinkClick: t } = x(a);
|
|
661
|
-
return (n, d) => (
|
|
661
|
+
return (n, d) => (s(), r("bs-profile-layout", o(n.$attrs, {
|
|
662
662
|
layout: e.layout,
|
|
663
663
|
href: e.href,
|
|
664
664
|
"pass-attrs": e.passAttrs,
|
|
665
665
|
onClick: d[0] || (d[0] = (...i) => m(t) && m(t)(...i))
|
|
666
666
|
}), [
|
|
667
|
-
|
|
667
|
+
f(n.$slots, "default")
|
|
668
668
|
], 16, oe));
|
|
669
669
|
}
|
|
670
|
-
}, ue = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"],
|
|
670
|
+
}, ue = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], xt = {
|
|
671
671
|
__name: "BsRadio",
|
|
672
672
|
props: {
|
|
673
673
|
label: {},
|
|
@@ -682,8 +682,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
682
682
|
modelValue: {}
|
|
683
683
|
},
|
|
684
684
|
emits: ["update:modelValue"],
|
|
685
|
-
setup(e, { emit:
|
|
686
|
-
return (a, t) => (
|
|
685
|
+
setup(e, { emit: l }) {
|
|
686
|
+
return (a, t) => (s(), r("bs-radio", o(a.$attrs, {
|
|
687
687
|
label: e.label,
|
|
688
688
|
checked: e.checked || e.modelValue === e.value,
|
|
689
689
|
disabled: e.disabled,
|
|
@@ -693,10 +693,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
693
693
|
required: e.required,
|
|
694
694
|
size: e.size,
|
|
695
695
|
value: e.value,
|
|
696
|
-
onChange: t[0] || (t[0] = (n) =>
|
|
696
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
697
697
|
}), null, 16, ue));
|
|
698
698
|
}
|
|
699
|
-
}, ce = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"],
|
|
699
|
+
}, ce = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], yt = {
|
|
700
700
|
__name: "BsSelectField",
|
|
701
701
|
props: {
|
|
702
702
|
disabled: { default: !1 },
|
|
@@ -714,8 +714,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
714
714
|
modelValue: {}
|
|
715
715
|
},
|
|
716
716
|
emits: ["update:modelValue"],
|
|
717
|
-
setup(e, { emit:
|
|
718
|
-
return (a, t) => (
|
|
717
|
+
setup(e, { emit: l }) {
|
|
718
|
+
return (a, t) => (s(), r("bs-select-field", o(a.$attrs, {
|
|
719
719
|
disabled: e.disabled,
|
|
720
720
|
error: e.error,
|
|
721
721
|
"error-msg": e.errorMsg,
|
|
@@ -728,10 +728,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
728
728
|
value: e.value || e.modelValue,
|
|
729
729
|
"pass-attrs": e.passAttrs,
|
|
730
730
|
data: e.data,
|
|
731
|
-
onChange: t[0] || (t[0] = (n) =>
|
|
731
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
732
732
|
}), null, 16, ce));
|
|
733
733
|
}
|
|
734
|
-
}, fe = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"],
|
|
734
|
+
}, fe = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], Tt = {
|
|
735
735
|
__name: "BsSwitch",
|
|
736
736
|
props: {
|
|
737
737
|
checked: { default: !1 },
|
|
@@ -746,8 +746,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
746
746
|
modelValue: {}
|
|
747
747
|
},
|
|
748
748
|
emits: ["update:modelValue"],
|
|
749
|
-
setup(e, { emit:
|
|
750
|
-
return (a, t) => (
|
|
749
|
+
setup(e, { emit: l }) {
|
|
750
|
+
return (a, t) => (s(), r("bs-switch", o(a.$attrs, {
|
|
751
751
|
checked: e.checked || e.modelValue,
|
|
752
752
|
disabled: e.disabled,
|
|
753
753
|
"hide-label": e.hideLabel,
|
|
@@ -757,7 +757,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
757
757
|
label: e.label,
|
|
758
758
|
"pass-attrs": e.passAttrs,
|
|
759
759
|
size: e.size,
|
|
760
|
-
onChange: t[0] || (t[0] = (n) =>
|
|
760
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
|
|
761
761
|
}), null, 16, fe));
|
|
762
762
|
}
|
|
763
763
|
}, he = ["active-tab-id", "hidden", "panel-id"], Ct = {
|
|
@@ -768,16 +768,16 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
768
768
|
panelId: {}
|
|
769
769
|
},
|
|
770
770
|
emits: [],
|
|
771
|
-
setup(e, { emit:
|
|
772
|
-
return (a, t) => (
|
|
771
|
+
setup(e, { emit: l }) {
|
|
772
|
+
return (a, t) => (s(), r("bs-tab", o(a.$attrs, {
|
|
773
773
|
"active-tab-id": e.activeTabId,
|
|
774
774
|
hidden: e.hidden,
|
|
775
775
|
"panel-id": e.panelId
|
|
776
776
|
}), [
|
|
777
|
-
|
|
777
|
+
f(a.$slots, "default")
|
|
778
778
|
], 16, he));
|
|
779
779
|
}
|
|
780
|
-
}, me = ["active-tab-id", "helper-text", "helper-description"],
|
|
780
|
+
}, me = ["active-tab-id", "helper-text", "helper-description"], wt = {
|
|
781
781
|
__name: "BsTabList",
|
|
782
782
|
props: {
|
|
783
783
|
activeTabId: {},
|
|
@@ -786,11 +786,11 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
786
786
|
modelValue: {}
|
|
787
787
|
},
|
|
788
788
|
emits: ["tabChange", "update:modelValue"],
|
|
789
|
-
setup(e, { emit:
|
|
789
|
+
setup(e, { emit: l }) {
|
|
790
790
|
const a = (t) => {
|
|
791
|
-
|
|
791
|
+
l("tabChange", t.detail), l("update:modelValue", t.detail);
|
|
792
792
|
};
|
|
793
|
-
return (t, n) => (
|
|
793
|
+
return (t, n) => (s(), r("bs-tab-list", o(t.$attrs, {
|
|
794
794
|
"active-tab-id": e.activeTabId || e.modelValue,
|
|
795
795
|
"helper-text": e.helperText,
|
|
796
796
|
"helper-description": e.helperDescription,
|
|
@@ -798,28 +798,28 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
798
798
|
}), [
|
|
799
799
|
P(m(I), null, {
|
|
800
800
|
default: $(() => [
|
|
801
|
-
|
|
801
|
+
f(t.$slots, "default")
|
|
802
802
|
]),
|
|
803
803
|
_: 3
|
|
804
804
|
})
|
|
805
805
|
], 16, me));
|
|
806
806
|
}
|
|
807
|
-
}, be = ["active-tab-id", "tab-id"],
|
|
807
|
+
}, be = ["active-tab-id", "tab-id"], kt = {
|
|
808
808
|
__name: "BsTabPanel",
|
|
809
809
|
props: {
|
|
810
810
|
activeTabId: {},
|
|
811
811
|
tabId: {}
|
|
812
812
|
},
|
|
813
813
|
emits: [],
|
|
814
|
-
setup(e, { emit:
|
|
815
|
-
return (a, t) => (
|
|
814
|
+
setup(e, { emit: l }) {
|
|
815
|
+
return (a, t) => (s(), r("bs-tab-panel", o(a.$attrs, {
|
|
816
816
|
"active-tab-id": e.activeTabId,
|
|
817
817
|
"tab-id": e.tabId
|
|
818
818
|
}), [
|
|
819
|
-
|
|
819
|
+
f(a.$slots, "default")
|
|
820
820
|
], 16, be));
|
|
821
821
|
}
|
|
822
|
-
}, ge = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"],
|
|
822
|
+
}, ge = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], pt = {
|
|
823
823
|
__name: "BsTextarea",
|
|
824
824
|
props: {
|
|
825
825
|
disabled: { default: !1 },
|
|
@@ -834,8 +834,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
834
834
|
modelValue: {}
|
|
835
835
|
},
|
|
836
836
|
emits: ["update:modelValue"],
|
|
837
|
-
setup(e, { emit:
|
|
838
|
-
return (a, t) => (
|
|
837
|
+
setup(e, { emit: l }) {
|
|
838
|
+
return (a, t) => (s(), r("bs-textarea", o(a.$attrs, {
|
|
839
839
|
disabled: e.disabled,
|
|
840
840
|
error: e.error,
|
|
841
841
|
"input-id": e.inputId,
|
|
@@ -845,10 +845,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
845
845
|
rows: e.rows,
|
|
846
846
|
value: e.value || e.modelValue,
|
|
847
847
|
"hint-id": e.hintId,
|
|
848
|
-
onInput: t[0] || (t[0] = (n) =>
|
|
848
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
849
849
|
}), null, 16, ge));
|
|
850
850
|
}
|
|
851
|
-
}, ve = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"],
|
|
851
|
+
}, ve = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], At = {
|
|
852
852
|
__name: "BsTextareaField",
|
|
853
853
|
props: {
|
|
854
854
|
charMax: {},
|
|
@@ -867,8 +867,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
867
867
|
modelValue: {}
|
|
868
868
|
},
|
|
869
869
|
emits: ["update:modelValue"],
|
|
870
|
-
setup(e, { emit:
|
|
871
|
-
return (a, t) => (
|
|
870
|
+
setup(e, { emit: l }) {
|
|
871
|
+
return (a, t) => (s(), r("bs-textarea-field", o(a.$attrs, {
|
|
872
872
|
"char-max": e.charMax,
|
|
873
873
|
disabled: e.disabled,
|
|
874
874
|
error: e.error,
|
|
@@ -882,10 +882,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
882
882
|
rows: e.rows,
|
|
883
883
|
value: e.value || e.modelValue,
|
|
884
884
|
"pass-attrs": e.passAttrs,
|
|
885
|
-
onInput: t[0] || (t[0] = (n) =>
|
|
885
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
886
886
|
}), null, 16, ve));
|
|
887
887
|
}
|
|
888
|
-
}, $e = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"],
|
|
888
|
+
}, $e = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Lt = {
|
|
889
889
|
__name: "BsToast",
|
|
890
890
|
props: {
|
|
891
891
|
toastId: {},
|
|
@@ -897,8 +897,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
897
897
|
leaveTrigger: { default: !1 }
|
|
898
898
|
},
|
|
899
899
|
emits: ["dismiss", "enterend", "leaveend"],
|
|
900
|
-
setup(e, { emit:
|
|
901
|
-
return (a, t) => (
|
|
900
|
+
setup(e, { emit: l }) {
|
|
901
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
902
902
|
default: $(() => [
|
|
903
903
|
u("bs-toast", o(a.$attrs, {
|
|
904
904
|
"toast-id": e.toastId,
|
|
@@ -908,62 +908,62 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
908
908
|
"enter-controlled": e.enterControlled,
|
|
909
909
|
"enter-trigger": e.enterTrigger,
|
|
910
910
|
"leave-trigger": e.leaveTrigger,
|
|
911
|
-
onDismiss: t[0] || (t[0] = (n) =>
|
|
912
|
-
onEnterend: t[1] || (t[1] = (n) =>
|
|
913
|
-
onLeaveend: t[2] || (t[2] = (n) =>
|
|
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))
|
|
914
914
|
}), [
|
|
915
|
-
|
|
915
|
+
f(a.$slots, "default")
|
|
916
916
|
], 16, $e)
|
|
917
917
|
]),
|
|
918
918
|
_: 3
|
|
919
919
|
}));
|
|
920
920
|
}
|
|
921
|
-
},
|
|
921
|
+
}, Vt = {
|
|
922
922
|
__name: "BsToastActions",
|
|
923
923
|
props: {},
|
|
924
924
|
emits: ["defaultDismiss"],
|
|
925
|
-
setup(e, { emit:
|
|
926
|
-
return (a, t) => (
|
|
927
|
-
"on:defaultDismiss": t[0] || (t[0] = (n) =>
|
|
925
|
+
setup(e, { emit: l }) {
|
|
926
|
+
return (a, t) => (s(), r("bs-toast-actions", o(a.$attrs, {
|
|
927
|
+
"on:defaultDismiss": t[0] || (t[0] = (n) => l("defaultDismiss", n.detail))
|
|
928
928
|
}), [
|
|
929
|
-
|
|
929
|
+
f(a.$slots, "default")
|
|
930
930
|
], 16));
|
|
931
931
|
}
|
|
932
|
-
},
|
|
932
|
+
}, qt = {
|
|
933
933
|
__name: "BsToastBody",
|
|
934
934
|
props: {},
|
|
935
935
|
emits: [],
|
|
936
|
-
setup(e, { emit:
|
|
937
|
-
return (a, t) => (
|
|
938
|
-
|
|
936
|
+
setup(e, { emit: l }) {
|
|
937
|
+
return (a, t) => (s(), r("bs-toast-body", k(p(a.$attrs)), [
|
|
938
|
+
f(a.$slots, "default")
|
|
939
939
|
], 16));
|
|
940
940
|
}
|
|
941
|
-
}, Be = ["variant"],
|
|
941
|
+
}, Be = ["variant"], zt = {
|
|
942
942
|
__name: "BsToastHeader",
|
|
943
943
|
props: {
|
|
944
944
|
variant: {}
|
|
945
945
|
},
|
|
946
946
|
emits: [],
|
|
947
|
-
setup(e, { emit:
|
|
948
|
-
return (a, t) => (
|
|
949
|
-
|
|
947
|
+
setup(e, { emit: l }) {
|
|
948
|
+
return (a, t) => (s(), r("bs-toast-header", o(a.$attrs, { variant: e.variant }), [
|
|
949
|
+
f(a.$slots, "default")
|
|
950
950
|
], 16, Be));
|
|
951
951
|
}
|
|
952
|
-
},
|
|
952
|
+
}, Dt = {
|
|
953
953
|
__name: "BsToaster",
|
|
954
954
|
props: {},
|
|
955
955
|
emits: [],
|
|
956
|
-
setup(e, { emit:
|
|
957
|
-
return (a, t) => (
|
|
956
|
+
setup(e, { emit: l }) {
|
|
957
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
958
958
|
default: $(() => [
|
|
959
959
|
u("bs-toaster", k(p(a.$attrs)), [
|
|
960
|
-
|
|
960
|
+
f(a.$slots, "default")
|
|
961
961
|
], 16)
|
|
962
962
|
]),
|
|
963
963
|
_: 3
|
|
964
964
|
}));
|
|
965
965
|
}
|
|
966
|
-
}, Ie = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"],
|
|
966
|
+
}, Ie = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], Pt = {
|
|
967
967
|
__name: "BsTransition",
|
|
968
968
|
props: {
|
|
969
969
|
enterClass: { default: void 0 },
|
|
@@ -977,8 +977,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
977
977
|
leaveTrigger: { default: !1 }
|
|
978
978
|
},
|
|
979
979
|
emits: ["enterend", "leaveend"],
|
|
980
|
-
setup(e, { emit:
|
|
981
|
-
return (a, t) => (
|
|
980
|
+
setup(e, { emit: l }) {
|
|
981
|
+
return (a, t) => (s(), r("bs-transition", o(a.$attrs, {
|
|
982
982
|
"enter-class": e.enterClass,
|
|
983
983
|
"enter-attribute": e.enterAttribute,
|
|
984
984
|
"enter-duration": e.enterDuration,
|
|
@@ -988,17 +988,17 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
988
988
|
"enter-controlled": e.enterControlled,
|
|
989
989
|
"enter-trigger": e.enterTrigger,
|
|
990
990
|
"leave-trigger": e.leaveTrigger,
|
|
991
|
-
onEnterend: t[0] || (t[0] = (n) =>
|
|
992
|
-
onLeaveend: t[1] || (t[1] = (n) =>
|
|
991
|
+
onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
|
|
992
|
+
onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
|
|
993
993
|
}), [
|
|
994
|
-
|
|
994
|
+
f(a.$slots, "default")
|
|
995
995
|
], 16, Ie));
|
|
996
996
|
}
|
|
997
997
|
};
|
|
998
998
|
function z() {
|
|
999
999
|
return E();
|
|
1000
1000
|
}
|
|
1001
|
-
const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-expanded"],
|
|
1001
|
+
const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-expanded"], Ce = ["id", "aria-level"], we = /* @__PURE__ */ u("bs-icon-caret-down", { "data-position": "end" }, null, -1), ke = ["aria-labelledby", "data-open", "id"], pe = { "data-slot": "" }, Mt = {
|
|
1002
1002
|
__name: "BsAccordion",
|
|
1003
1003
|
props: {
|
|
1004
1004
|
controlled: { default: !1 },
|
|
@@ -1010,16 +1010,16 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1010
1010
|
stacked: { default: !1 }
|
|
1011
1011
|
},
|
|
1012
1012
|
emits: ["toggled"],
|
|
1013
|
-
setup(e, { emit:
|
|
1014
|
-
const a = e, t = g(null), n = g(""), d = g(""), i = g(!1),
|
|
1015
|
-
|
|
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);
|
|
1015
|
+
C(() => {
|
|
1016
1016
|
var y;
|
|
1017
1017
|
(y = t.value) != null && y.id || t.value.setAttribute("id", z()), n.value = t.value.id + "-content", d.value = t.value.id + "-title";
|
|
1018
1018
|
});
|
|
1019
1019
|
function D() {
|
|
1020
|
-
|
|
1020
|
+
l("toggled", t.value.id), a.controlled || (i.value = !i.value);
|
|
1021
1021
|
}
|
|
1022
|
-
return (y,
|
|
1022
|
+
return (y, Ue) => (s(), r("bs-host", {
|
|
1023
1023
|
ref_key: "hostRef",
|
|
1024
1024
|
ref: t,
|
|
1025
1025
|
class: "bs-accordion",
|
|
@@ -1036,7 +1036,7 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1036
1036
|
type: "button",
|
|
1037
1037
|
onClick: D
|
|
1038
1038
|
}, [
|
|
1039
|
-
|
|
1039
|
+
c.value ? (s(), v(w(c.value), {
|
|
1040
1040
|
key: 0,
|
|
1041
1041
|
"data-position": "start"
|
|
1042
1042
|
})) : A("", !0),
|
|
@@ -1044,8 +1044,8 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1044
1044
|
id: d.value,
|
|
1045
1045
|
"aria-level": e.headingLevel,
|
|
1046
1046
|
role: "heading"
|
|
1047
|
-
}, L(e.headerText), 9,
|
|
1048
|
-
|
|
1047
|
+
}, L(e.headerText), 9, Ce),
|
|
1048
|
+
we
|
|
1049
1049
|
], 8, Te)
|
|
1050
1050
|
], 8, ye),
|
|
1051
1051
|
u("div", {
|
|
@@ -1057,7 +1057,7 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1057
1057
|
role: "region"
|
|
1058
1058
|
}, [
|
|
1059
1059
|
u("div", pe, [
|
|
1060
|
-
|
|
1060
|
+
f(y.$slots, "default")
|
|
1061
1061
|
])
|
|
1062
1062
|
], 8, ke)
|
|
1063
1063
|
], 8, xe));
|
|
@@ -1068,15 +1068,15 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
|
|
|
1068
1068
|
class: "bs-banner-warning-icon"
|
|
1069
1069
|
}, null, -1), qe = { "data-slot": "" }, ze = /* @__PURE__ */ u("bs-icon-close", null, null, -1), De = [
|
|
1070
1070
|
ze
|
|
1071
|
-
],
|
|
1071
|
+
], St = {
|
|
1072
1072
|
__name: "BsBanner",
|
|
1073
1073
|
emits: ["dismiss"],
|
|
1074
|
-
setup(e, { emit:
|
|
1074
|
+
setup(e, { emit: l }) {
|
|
1075
1075
|
const a = g(!1);
|
|
1076
1076
|
function t() {
|
|
1077
|
-
a.value = !0,
|
|
1077
|
+
a.value = !0, l("dismiss");
|
|
1078
1078
|
}
|
|
1079
|
-
return (n, d) => (
|
|
1079
|
+
return (n, d) => (s(), r("bs-host", {
|
|
1080
1080
|
role: "alert",
|
|
1081
1081
|
class: "bs-banner",
|
|
1082
1082
|
"data-component": "bs-banner",
|
|
@@ -1085,7 +1085,7 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
|
|
|
1085
1085
|
u("div", Le, [
|
|
1086
1086
|
Ve,
|
|
1087
1087
|
u("div", qe, [
|
|
1088
|
-
|
|
1088
|
+
f(n.$slots, "default")
|
|
1089
1089
|
]),
|
|
1090
1090
|
u("button", {
|
|
1091
1091
|
type: "button",
|
|
@@ -1096,7 +1096,7 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
|
|
|
1096
1096
|
], 8, Ae));
|
|
1097
1097
|
}
|
|
1098
1098
|
};
|
|
1099
|
-
const Pe = ["data-disabled"],
|
|
1099
|
+
const Pe = ["data-disabled"], Ft = {
|
|
1100
1100
|
__name: "BsButton",
|
|
1101
1101
|
props: {
|
|
1102
1102
|
variant: {},
|
|
@@ -1109,23 +1109,23 @@ const Pe = ["data-disabled"], Et = {
|
|
|
1109
1109
|
size: {}
|
|
1110
1110
|
},
|
|
1111
1111
|
setup(e) {
|
|
1112
|
-
const
|
|
1112
|
+
const l = e, { onLinkClick: a } = x(l), t = T(), n = b(() => {
|
|
1113
1113
|
const i = {
|
|
1114
1114
|
download: t.download,
|
|
1115
1115
|
target: t.target
|
|
1116
1116
|
};
|
|
1117
|
-
return
|
|
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;
|
|
1118
1118
|
});
|
|
1119
1119
|
function d(i) {
|
|
1120
|
-
var
|
|
1121
|
-
(
|
|
1120
|
+
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());
|
|
1122
1122
|
}
|
|
1123
|
-
return (i,
|
|
1123
|
+
return (i, c) => (s(), r("bs-host", {
|
|
1124
1124
|
"data-component": "bs-button",
|
|
1125
1125
|
"data-disabled": e.disabled || void 0,
|
|
1126
1126
|
onClickCapture: d
|
|
1127
1127
|
}, [
|
|
1128
|
-
(
|
|
1128
|
+
(s(), v(w(e.href ? "a" : "button"), o({
|
|
1129
1129
|
"data-slot": "",
|
|
1130
1130
|
class: "bs-button",
|
|
1131
1131
|
"data-ghost": e.ghostBtn,
|
|
@@ -1136,26 +1136,27 @@ const Pe = ["data-disabled"], Et = {
|
|
|
1136
1136
|
href: e.href
|
|
1137
1137
|
}, n.value, { onClick: m(a) }), {
|
|
1138
1138
|
default: $(() => [
|
|
1139
|
-
|
|
1139
|
+
f(i.$slots, "default")
|
|
1140
1140
|
]),
|
|
1141
1141
|
_: 3
|
|
1142
1142
|
}, 16, ["data-ghost", "data-size", "data-text", "data-variant", "disabled", "href", "onClick"]))
|
|
1143
1143
|
], 40, Pe));
|
|
1144
1144
|
}
|
|
1145
1145
|
};
|
|
1146
|
-
const Me = ["
|
|
1146
|
+
const Me = ["offset", "stop-color"], Et = {
|
|
1147
1147
|
__name: "BsIconGradientWrapper",
|
|
1148
1148
|
setup(e) {
|
|
1149
|
-
const
|
|
1149
|
+
const l = [
|
|
1150
1150
|
{ offset: 0.1326, color: "#EE282A" },
|
|
1151
1151
|
{ offset: 0.5466, color: "#1C0087" },
|
|
1152
1152
|
{ offset: 0.9715, color: "#0086EA" }
|
|
1153
|
-
], a = `svg-gradient-${z()}`, t = g(null), n = g(
|
|
1153
|
+
], a = `svg-gradient-${z()}`, t = g(null), n = g(null);
|
|
1154
1154
|
function d() {
|
|
1155
|
+
var c;
|
|
1155
1156
|
const i = t.value.querySelector(".svg-wrapper svg");
|
|
1156
|
-
n.value
|
|
1157
|
+
(c = n.value) == null || c.setAttribute("viewBox", (i == null ? void 0 : i.getAttribute("viewBox")) || "0 0 0 0");
|
|
1157
1158
|
}
|
|
1158
|
-
return
|
|
1159
|
+
return C(d), (i, c) => (s(), r("bs-host", {
|
|
1159
1160
|
ref_key: "hostRef",
|
|
1160
1161
|
ref: t,
|
|
1161
1162
|
"data-component": "bs-icon-gradient-wrapper"
|
|
@@ -1165,13 +1166,14 @@ const Me = ["viewBox"], Se = ["offset", "stop-color"], Ot = {
|
|
|
1165
1166
|
style: M(`fill: url(#${a});`),
|
|
1166
1167
|
"data-slot": ""
|
|
1167
1168
|
}, [
|
|
1168
|
-
|
|
1169
|
+
f(i.$slots, "default")
|
|
1169
1170
|
], 4),
|
|
1170
|
-
(
|
|
1171
|
+
(s(), r("svg", {
|
|
1171
1172
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1172
|
-
viewBox: n.value,
|
|
1173
1173
|
width: "0",
|
|
1174
|
-
height: "0"
|
|
1174
|
+
height: "0",
|
|
1175
|
+
ref_key: "gradientSvgRef",
|
|
1176
|
+
ref: n
|
|
1175
1177
|
}, [
|
|
1176
1178
|
u("linearGradient", {
|
|
1177
1179
|
id: a,
|
|
@@ -1181,20 +1183,20 @@ const Me = ["viewBox"], Se = ["offset", "stop-color"], Ot = {
|
|
|
1181
1183
|
y2: "100%",
|
|
1182
1184
|
gradientUnits: "userSpaceOnUse"
|
|
1183
1185
|
}, [
|
|
1184
|
-
(
|
|
1185
|
-
key:
|
|
1186
|
-
offset:
|
|
1187
|
-
"stop-color":
|
|
1188
|
-
}, null, 8,
|
|
1186
|
+
(s(), r(V, null, S(l, (h) => u("stop", {
|
|
1187
|
+
key: h.offset,
|
|
1188
|
+
offset: h.offset,
|
|
1189
|
+
"stop-color": h.color
|
|
1190
|
+
}, null, 8, Me)), 64))
|
|
1189
1191
|
])
|
|
1190
|
-
],
|
|
1192
|
+
], 512))
|
|
1191
1193
|
], 512));
|
|
1192
1194
|
}
|
|
1193
1195
|
};
|
|
1194
|
-
const
|
|
1196
|
+
const Se = ["data-disabled", "htmlFor"], Fe = { "data-slot": "" }, Ee = /* @__PURE__ */ u("span", {
|
|
1195
1197
|
"data-required": "",
|
|
1196
1198
|
"aria-hidden": "true"
|
|
1197
|
-
}, " *", -1),
|
|
1199
|
+
}, " *", -1), Oe = /* @__PURE__ */ u("span", { class: "visually-hidden" }, "required", -1), Ot = {
|
|
1198
1200
|
__name: "BsLabel",
|
|
1199
1201
|
props: {
|
|
1200
1202
|
disabled: {},
|
|
@@ -1204,13 +1206,13 @@ const Fe = ["data-disabled", "htmlFor"], Ee = { "data-slot": "" }, Oe = /* @__PU
|
|
|
1204
1206
|
required: {}
|
|
1205
1207
|
},
|
|
1206
1208
|
setup(e) {
|
|
1207
|
-
const
|
|
1209
|
+
const l = e, a = T(), t = b(() => {
|
|
1208
1210
|
const n = {};
|
|
1209
|
-
return
|
|
1211
|
+
return l.passAttrs.split(",").forEach((d) => {
|
|
1210
1212
|
n[d] = a[d];
|
|
1211
1213
|
}), n;
|
|
1212
1214
|
});
|
|
1213
|
-
return (n, d) => (
|
|
1215
|
+
return (n, d) => (s(), r("bs-host", {
|
|
1214
1216
|
"data-component": "bs-label",
|
|
1215
1217
|
class: q(e.hide ? "visually-hidden" : "")
|
|
1216
1218
|
}, [
|
|
@@ -1218,14 +1220,14 @@ const Fe = ["data-disabled", "htmlFor"], Ee = { "data-slot": "" }, Oe = /* @__PU
|
|
|
1218
1220
|
"data-disabled": e.disabled,
|
|
1219
1221
|
htmlFor: e.for
|
|
1220
1222
|
}, t.value), [
|
|
1221
|
-
u("span",
|
|
1222
|
-
|
|
1223
|
+
u("span", Fe, [
|
|
1224
|
+
f(n.$slots, "default")
|
|
1223
1225
|
]),
|
|
1224
|
-
e.required ? (
|
|
1225
|
-
|
|
1226
|
-
|
|
1226
|
+
e.required ? (s(), r(V, { key: 0 }, [
|
|
1227
|
+
Ee,
|
|
1228
|
+
Oe
|
|
1227
1229
|
], 64)) : A("", !0)
|
|
1228
|
-
], 16,
|
|
1230
|
+
], 16, Se)
|
|
1229
1231
|
], 2));
|
|
1230
1232
|
}
|
|
1231
1233
|
};
|
|
@@ -1240,14 +1242,14 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1240
1242
|
passAttrs: { default: "" }
|
|
1241
1243
|
},
|
|
1242
1244
|
setup(e) {
|
|
1243
|
-
const
|
|
1245
|
+
const l = e, { onLinkClick: a } = x(l), t = T(), n = b(() => l.href ? "a" : t.type === "button" ? "button" : "span"), d = b(() => {
|
|
1244
1246
|
const i = {};
|
|
1245
|
-
return
|
|
1246
|
-
i[
|
|
1247
|
-
}),
|
|
1247
|
+
return l.passAttrs.split(",").forEach((c) => {
|
|
1248
|
+
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;
|
|
1248
1250
|
});
|
|
1249
|
-
return (i,
|
|
1250
|
-
(
|
|
1251
|
+
return (i, c) => (s(), r("bs-host", Re, [
|
|
1252
|
+
(s(), v(w(n.value), o({
|
|
1251
1253
|
class: "bs-pill",
|
|
1252
1254
|
"data-active": e.active,
|
|
1253
1255
|
"data-slot": "",
|
|
@@ -1257,14 +1259,14 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1257
1259
|
href: e.href
|
|
1258
1260
|
}, d.value, { onClick: m(a) }), {
|
|
1259
1261
|
default: $(() => [
|
|
1260
|
-
|
|
1262
|
+
f(i.$slots, "default")
|
|
1261
1263
|
]),
|
|
1262
1264
|
_: 3
|
|
1263
1265
|
}, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]))
|
|
1264
1266
|
]));
|
|
1265
1267
|
}
|
|
1266
1268
|
};
|
|
1267
|
-
const
|
|
1269
|
+
const Ge = { "data-component": "bs-select" }, je = ["id", "disabled", "required", "data-error", "value"], Gt = {
|
|
1268
1270
|
__name: "BsSelect",
|
|
1269
1271
|
props: {
|
|
1270
1272
|
disabled: { default: !1 },
|
|
@@ -1277,13 +1279,13 @@ const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required"
|
|
|
1277
1279
|
modelValue: {}
|
|
1278
1280
|
},
|
|
1279
1281
|
setup(e) {
|
|
1280
|
-
const
|
|
1282
|
+
const l = e, a = ["autocomplete", "multiple", "name", "size"], t = T(), n = b(() => ({ [l.error ? "aria-errormessage" : "aria-describedby"]: l.hintId })), d = b(() => {
|
|
1281
1283
|
const i = { ...n.value };
|
|
1282
|
-
return
|
|
1283
|
-
i[
|
|
1284
|
+
return l.passAttrs.split(",").concat(a).forEach((c) => {
|
|
1285
|
+
i[c] = t[c];
|
|
1284
1286
|
}), i;
|
|
1285
1287
|
});
|
|
1286
|
-
return (i,
|
|
1288
|
+
return (i, c) => (s(), r("bs-host", Ge, [
|
|
1287
1289
|
u("select", o({
|
|
1288
1290
|
id: e.inputId,
|
|
1289
1291
|
class: "bs-select",
|
|
@@ -1292,14 +1294,14 @@ const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required"
|
|
|
1292
1294
|
required: e.required,
|
|
1293
1295
|
"data-error": e.error,
|
|
1294
1296
|
value: e.value || e.modelValue,
|
|
1295
|
-
onChange:
|
|
1297
|
+
onChange: c[0] || (c[0] = (h) => i.emit("update:modelValue", h.target.value))
|
|
1296
1298
|
}, d.value), [
|
|
1297
|
-
|
|
1298
|
-
], 16,
|
|
1299
|
+
f(i.$slots, "default")
|
|
1300
|
+
], 16, je)
|
|
1299
1301
|
]));
|
|
1300
1302
|
}
|
|
1301
1303
|
};
|
|
1302
|
-
const
|
|
1304
|
+
const Ne = ["data-position"], We = { "data-slot": "" }, He = ["id"], jt = {
|
|
1303
1305
|
__name: "BsTooltip",
|
|
1304
1306
|
props: {
|
|
1305
1307
|
tooltipId: {},
|
|
@@ -1307,14 +1309,14 @@ const We = ["data-position"], He = { "data-slot": "" }, Ue = ["id"], Nt = {
|
|
|
1307
1309
|
position: {}
|
|
1308
1310
|
},
|
|
1309
1311
|
setup(e) {
|
|
1310
|
-
const
|
|
1311
|
-
let
|
|
1312
|
-
return t.value && (
|
|
1312
|
+
const l = e, a = g(!1), t = g(!1), n = b(() => {
|
|
1313
|
+
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;
|
|
1313
1315
|
});
|
|
1314
|
-
|
|
1315
|
-
window.addEventListener("keydown",
|
|
1316
|
+
C(() => {
|
|
1317
|
+
window.addEventListener("keydown", c);
|
|
1316
1318
|
}), F(() => {
|
|
1317
|
-
window.removeEventListener("keydown",
|
|
1319
|
+
window.removeEventListener("keydown", c);
|
|
1318
1320
|
});
|
|
1319
1321
|
function d() {
|
|
1320
1322
|
a.value = !0;
|
|
@@ -1322,10 +1324,10 @@ const We = ["data-position"], He = { "data-slot": "" }, Ue = ["id"], Nt = {
|
|
|
1322
1324
|
function i() {
|
|
1323
1325
|
a.value = !1, t.value = !1;
|
|
1324
1326
|
}
|
|
1325
|
-
function h
|
|
1326
|
-
a.value &&
|
|
1327
|
+
function c(h) {
|
|
1328
|
+
a.value && h.key === "Escape" && (a.value = !1, t.value = !0);
|
|
1327
1329
|
}
|
|
1328
|
-
return (
|
|
1330
|
+
return (h, B) => (s(), r("bs-host", {
|
|
1329
1331
|
"data-component": "bs-tooltip",
|
|
1330
1332
|
onMouseenter: d,
|
|
1331
1333
|
onFocusin: d,
|
|
@@ -1336,64 +1338,64 @@ const We = ["data-position"], He = { "data-slot": "" }, Ue = ["id"], Nt = {
|
|
|
1336
1338
|
class: "bs-tooltip",
|
|
1337
1339
|
"data-position": e.position || void 0
|
|
1338
1340
|
}, [
|
|
1339
|
-
u("div",
|
|
1340
|
-
|
|
1341
|
+
u("div", We, [
|
|
1342
|
+
f(h.$slots, "default")
|
|
1341
1343
|
]),
|
|
1342
1344
|
u("div", {
|
|
1343
1345
|
class: q(n.value),
|
|
1344
1346
|
id: e.tooltipId,
|
|
1345
1347
|
role: "tooltip"
|
|
1346
|
-
}, L(e.content), 11,
|
|
1347
|
-
], 8,
|
|
1348
|
+
}, L(e.content), 11, He)
|
|
1349
|
+
], 8, Ne)
|
|
1348
1350
|
], 32));
|
|
1349
1351
|
}
|
|
1350
1352
|
};
|
|
1351
1353
|
export {
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1354
|
+
Mt as BsAccordion,
|
|
1355
|
+
Je as BsBadge,
|
|
1356
|
+
St as BsBanner,
|
|
1357
|
+
Ft as BsButton,
|
|
1358
|
+
Qe as BsCharacterCount,
|
|
1359
|
+
Ke as BsChartBar,
|
|
1360
|
+
_e as BsChartTable,
|
|
1361
|
+
et as BsCheckbox,
|
|
1362
|
+
tt as BsCircleButton,
|
|
1363
|
+
at as BsDropdown,
|
|
1364
|
+
nt as BsDropdownOption,
|
|
1363
1365
|
lt as BsDropdownOptionList,
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1366
|
+
st as BsDropdownWithOptions,
|
|
1367
|
+
it as BsFieldDetails,
|
|
1368
|
+
rt as BsFieldLayout,
|
|
1369
|
+
dt as BsHint,
|
|
1370
|
+
Et as BsIconGradientWrapper,
|
|
1371
|
+
ot as BsInput,
|
|
1372
|
+
ut as BsInputAddon,
|
|
1373
|
+
ct as BsInputField,
|
|
1374
|
+
ft as BsInputSearch,
|
|
1375
|
+
Ot as BsLabel,
|
|
1376
|
+
ht as BsLoader,
|
|
1377
|
+
mt as BsModal,
|
|
1378
|
+
bt as BsOverlay,
|
|
1379
|
+
gt as BsPagination,
|
|
1378
1380
|
Rt as BsPill,
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1381
|
+
vt as BsProfile,
|
|
1382
|
+
$t as BsProfileDetails,
|
|
1383
|
+
Bt as BsProfileImg,
|
|
1384
|
+
It as BsProfileLayout,
|
|
1385
|
+
xt as BsRadio,
|
|
1386
|
+
Gt as BsSelect,
|
|
1387
|
+
yt as BsSelectField,
|
|
1388
|
+
Tt as BsSwitch,
|
|
1387
1389
|
Ct as BsTab,
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1390
|
+
wt as BsTabList,
|
|
1391
|
+
kt as BsTabPanel,
|
|
1392
|
+
pt as BsTextarea,
|
|
1393
|
+
At as BsTextareaField,
|
|
1394
|
+
Lt as BsToast,
|
|
1395
|
+
Vt as BsToastActions,
|
|
1396
|
+
qt as BsToastBody,
|
|
1397
|
+
zt as BsToastHeader,
|
|
1398
|
+
Dt as BsToaster,
|
|
1399
|
+
jt as BsTooltip,
|
|
1400
|
+
Pt as BsTransition
|
|
1399
1401
|
};
|