@wwtdev/bsds-components-vue3 1.15.7 → 1.15.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nuxt/bsds-components.mjs +364 -352
- 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
|
|
2
|
-
import { ClientOnly as
|
|
1
|
+
import { openBlock as s, createElementBlock as r, mergeProps as o, renderSlot as f, computed as b, unref as m, createBlock as g, withCtx as v, createElementVNode as u, createVNode as P, normalizeProps as k, guardReactiveProps as p, ref as $, onMounted as C, resolveDynamicComponent as w, createCommentVNode as A, toDisplayString as L, useAttrs as T, normalizeStyle as M, Fragment as V, renderList as S, normalizeClass as q, onUnmounted as F } from "vue";
|
|
2
|
+
import { ClientOnly as B } from "#components";
|
|
3
3
|
import { v4 as E } from "uuid";
|
|
4
|
-
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: n }) {
|
|
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: n }) {
|
|
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: n }) {
|
|
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: n }) {
|
|
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: n }) {
|
|
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] = (
|
|
112
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
|
|
113
113
|
}), null, 16, N));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
function x(e) {
|
|
117
|
-
const
|
|
118
|
-
var
|
|
119
|
-
return ((d = (
|
|
117
|
+
const n = b(() => {
|
|
118
|
+
var l, d;
|
|
119
|
+
return ((d = (l = e.href) == null ? void 0 : l.startsWith) == null ? void 0 : d.call(l, "/")) || !1;
|
|
120
120
|
}), a = b(() => {
|
|
121
|
-
var
|
|
122
|
-
return
|
|
121
|
+
var l, d;
|
|
122
|
+
return n.value && ((l = e.router) == null ? void 0 : l.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
|
|
123
123
|
});
|
|
124
|
-
function t(
|
|
125
|
-
var d, i,
|
|
126
|
-
a.value && ((i = (d =
|
|
124
|
+
function t(l) {
|
|
125
|
+
var d, i, c, h, I;
|
|
126
|
+
a.value && ((i = (d = l.target.href) == null ? void 0 : d.endsWith) != null && i.call(d, e.href) || (I = (h = (c = l.target.closest("a")) == null ? void 0 : c.href) == null ? void 0 : h.endsWith) != null && I.call(h, e.href)) && (l.preventDefault(), a.value(e.href));
|
|
127
127
|
}
|
|
128
128
|
return { onLinkClick: t };
|
|
129
129
|
}
|
|
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: n }) {
|
|
147
147
|
const a = e, { onLinkClick: t } = x(a);
|
|
148
|
-
return (
|
|
148
|
+
return (l, d) => (s(), r("bs-circle-button", o(l.$attrs, {
|
|
149
149
|
disabled: e.disabled,
|
|
150
150
|
"ghost-btn": e.ghostBtn,
|
|
151
151
|
"hover-effect": e.hoverEffect,
|
|
@@ -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,9 +174,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
174
174
|
leaveTrigger: { default: !1 }
|
|
175
175
|
},
|
|
176
176
|
emits: ["close", "enterend", "leaveend"],
|
|
177
|
-
setup(e, { emit:
|
|
178
|
-
return (a, t) => (
|
|
179
|
-
default:
|
|
177
|
+
setup(e, { emit: n }) {
|
|
178
|
+
return (a, t) => (s(), g(m(B), null, {
|
|
179
|
+
default: v(() => [
|
|
180
180
|
u("bs-dropdown", o(a.$attrs, {
|
|
181
181
|
width: e.width,
|
|
182
182
|
top: e.top,
|
|
@@ -188,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] = (
|
|
192
|
-
onEnterend: t[1] || (t[1] = (
|
|
193
|
-
onLeaveend: t[2] || (t[2] = (
|
|
191
|
+
onClose: t[0] || (t[0] = (l) => n("close", l.detail)),
|
|
192
|
+
onEnterend: t[1] || (t[1] = (l) => n("enterend", l.detail)),
|
|
193
|
+
onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
|
|
194
194
|
}), [
|
|
195
|
-
|
|
195
|
+
f(a.$slots, "default")
|
|
196
196
|
], 16, H)
|
|
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"], lt = {
|
|
202
202
|
__name: "BsDropdownOption",
|
|
203
203
|
props: {
|
|
204
204
|
value: {},
|
|
@@ -209,21 +209,21 @@ 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: n }) {
|
|
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] = (
|
|
221
|
-
onOptselect: t[1] || (t[1] = (
|
|
220
|
+
onOptmouseenter: t[0] || (t[0] = (l) => n("optmouseenter", l.detail)),
|
|
221
|
+
onOptselect: t[1] || (t[1] = (l) => n("optselect", l.detail))
|
|
222
222
|
}), [
|
|
223
|
-
|
|
223
|
+
f(a.$slots, "default")
|
|
224
224
|
], 16, U));
|
|
225
225
|
}
|
|
226
|
-
}, Y = ["options-id", "visible", "focus-delay", "label", "selected-value"],
|
|
226
|
+
}, Y = ["options-id", "visible", "focus-delay", "label", "selected-value"], nt = {
|
|
227
227
|
__name: "BsDropdownOptionList",
|
|
228
228
|
props: {
|
|
229
229
|
optionsId: {},
|
|
@@ -233,20 +233,25 @@ 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) => (
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
236
|
+
setup(e, { emit: n }) {
|
|
237
|
+
return (a, t) => (s(), g(m(B), null, {
|
|
238
|
+
default: v(() => [
|
|
239
|
+
u("bs-dropdown-option-list", o(a.$attrs, {
|
|
240
|
+
"options-id": e.optionsId,
|
|
241
|
+
visible: e.visible,
|
|
242
|
+
"focus-delay": e.focusDelay,
|
|
243
|
+
label: e.label,
|
|
244
|
+
"selected-value": e.selectedValue,
|
|
245
|
+
onOptselected: t[0] || (t[0] = (l) => n("optselected", l.detail)),
|
|
246
|
+
onClose: t[1] || (t[1] = (l) => n("close", l.detail))
|
|
247
|
+
}), [
|
|
248
|
+
f(a.$slots, "default")
|
|
249
|
+
], 16, Y)
|
|
250
|
+
]),
|
|
251
|
+
_: 3
|
|
252
|
+
}));
|
|
248
253
|
}
|
|
249
|
-
}, X = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description"],
|
|
254
|
+
}, X = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description"], st = {
|
|
250
255
|
__name: "BsDropdownWithOptions",
|
|
251
256
|
props: {
|
|
252
257
|
toggleId: {},
|
|
@@ -264,30 +269,35 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
264
269
|
helperDescription: {}
|
|
265
270
|
},
|
|
266
271
|
emits: ["optselected", "close", "enterend", "leaveend"],
|
|
267
|
-
setup(e, { emit:
|
|
268
|
-
return (a, t) => (
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
272
|
+
setup(e, { emit: n }) {
|
|
273
|
+
return (a, t) => (s(), g(m(B), null, {
|
|
274
|
+
default: v(() => [
|
|
275
|
+
u("bs-dropdown-with-options", o(a.$attrs, {
|
|
276
|
+
"toggle-id": e.toggleId,
|
|
277
|
+
"container-id": e.containerId,
|
|
278
|
+
"options-id": e.optionsId,
|
|
279
|
+
width: e.width,
|
|
280
|
+
top: e.top,
|
|
281
|
+
center: e.center,
|
|
282
|
+
label: e.label,
|
|
283
|
+
"selected-value": e.selectedValue,
|
|
284
|
+
"enter-controlled": e.enterControlled,
|
|
285
|
+
"enter-trigger": e.enterTrigger,
|
|
286
|
+
"leave-trigger": e.leaveTrigger,
|
|
287
|
+
"helper-text": e.helperText,
|
|
288
|
+
"helper-description": e.helperDescription,
|
|
289
|
+
onOptselected: t[0] || (t[0] = (l) => n("optselected", l.detail)),
|
|
290
|
+
onClose: t[1] || (t[1] = (l) => n("close", l.detail)),
|
|
291
|
+
onEnterend: t[2] || (t[2] = (l) => n("enterend", l.detail)),
|
|
292
|
+
onLeaveend: t[3] || (t[3] = (l) => n("leaveend", l.detail))
|
|
293
|
+
}), [
|
|
294
|
+
f(a.$slots, "default")
|
|
295
|
+
], 16, X)
|
|
296
|
+
]),
|
|
297
|
+
_: 3
|
|
298
|
+
}));
|
|
289
299
|
}
|
|
290
|
-
}, Z = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"],
|
|
300
|
+
}, Z = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], it = {
|
|
291
301
|
__name: "BsFieldDetails",
|
|
292
302
|
props: {
|
|
293
303
|
charCount: {},
|
|
@@ -298,8 +308,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
298
308
|
hintId: {}
|
|
299
309
|
},
|
|
300
310
|
emits: [],
|
|
301
|
-
setup(e, { emit:
|
|
302
|
-
return (a, t) => (
|
|
311
|
+
setup(e, { emit: n }) {
|
|
312
|
+
return (a, t) => (s(), r("bs-field-details", o(a.$attrs, {
|
|
303
313
|
"char-count": e.charCount,
|
|
304
314
|
"char-max": e.charMax,
|
|
305
315
|
error: e.error,
|
|
@@ -308,7 +318,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
308
318
|
"hint-id": e.hintId
|
|
309
319
|
}), null, 16, Z));
|
|
310
320
|
}
|
|
311
|
-
}, J = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"],
|
|
321
|
+
}, J = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], rt = {
|
|
312
322
|
__name: "BsFieldLayout",
|
|
313
323
|
props: {
|
|
314
324
|
charCount: {},
|
|
@@ -322,8 +332,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
322
332
|
hintId: {}
|
|
323
333
|
},
|
|
324
334
|
emits: [],
|
|
325
|
-
setup(e, { emit:
|
|
326
|
-
return (a, t) => (
|
|
335
|
+
setup(e, { emit: n }) {
|
|
336
|
+
return (a, t) => (s(), r("bs-field-layout", o(a.$attrs, {
|
|
327
337
|
"char-count": e.charCount,
|
|
328
338
|
"char-max": e.charMax,
|
|
329
339
|
disabled: e.disabled,
|
|
@@ -334,10 +344,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
334
344
|
required: e.required,
|
|
335
345
|
"hint-id": e.hintId
|
|
336
346
|
}), [
|
|
337
|
-
|
|
347
|
+
f(a.$slots, "default")
|
|
338
348
|
], 16, J));
|
|
339
349
|
}
|
|
340
|
-
}, Q = ["error", "hint-id", "hints"],
|
|
350
|
+
}, Q = ["error", "hint-id", "hints"], dt = {
|
|
341
351
|
__name: "BsHint",
|
|
342
352
|
props: {
|
|
343
353
|
error: {},
|
|
@@ -345,14 +355,14 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
345
355
|
hints: {}
|
|
346
356
|
},
|
|
347
357
|
emits: [],
|
|
348
|
-
setup(e, { emit:
|
|
349
|
-
return (a, t) => (
|
|
358
|
+
setup(e, { emit: n }) {
|
|
359
|
+
return (a, t) => (s(), r("bs-hint", o(a.$attrs, {
|
|
350
360
|
error: e.error,
|
|
351
361
|
"hint-id": e.hintId,
|
|
352
362
|
hints: e.hints
|
|
353
363
|
}), null, 16, Q));
|
|
354
364
|
}
|
|
355
|
-
}, K = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"],
|
|
365
|
+
}, K = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ot = {
|
|
356
366
|
__name: "BsInput",
|
|
357
367
|
props: {
|
|
358
368
|
disabled: { default: !1 },
|
|
@@ -367,8 +377,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
367
377
|
modelValue: {}
|
|
368
378
|
},
|
|
369
379
|
emits: ["update:modelValue"],
|
|
370
|
-
setup(e, { emit:
|
|
371
|
-
return (a, t) => (
|
|
380
|
+
setup(e, { emit: n }) {
|
|
381
|
+
return (a, t) => (s(), r("bs-input", o(a.$attrs, {
|
|
372
382
|
disabled: e.disabled,
|
|
373
383
|
error: e.error,
|
|
374
384
|
"input-id": e.inputId,
|
|
@@ -378,10 +388,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
378
388
|
type: e.type,
|
|
379
389
|
value: e.value || e.modelValue,
|
|
380
390
|
"hint-id": e.hintId,
|
|
381
|
-
onInput: t[0] || (t[0] = (
|
|
391
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
382
392
|
}), null, 16, K));
|
|
383
393
|
}
|
|
384
|
-
}, _ = ["disabled", "error", "multifocus", "variant"],
|
|
394
|
+
}, _ = ["disabled", "error", "multifocus", "variant"], ut = {
|
|
385
395
|
__name: "BsInputAddon",
|
|
386
396
|
props: {
|
|
387
397
|
disabled: { default: !1 },
|
|
@@ -390,17 +400,17 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
390
400
|
variant: {}
|
|
391
401
|
},
|
|
392
402
|
emits: [],
|
|
393
|
-
setup(e, { emit:
|
|
394
|
-
return (a, t) => (
|
|
403
|
+
setup(e, { emit: n }) {
|
|
404
|
+
return (a, t) => (s(), r("bs-input-addon", o(a.$attrs, {
|
|
395
405
|
disabled: e.disabled,
|
|
396
406
|
error: e.error,
|
|
397
407
|
multifocus: e.multifocus,
|
|
398
408
|
variant: e.variant
|
|
399
409
|
}), [
|
|
400
|
-
|
|
410
|
+
f(a.$slots, "default")
|
|
401
411
|
], 16, _));
|
|
402
412
|
}
|
|
403
|
-
}, ee = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"],
|
|
413
|
+
}, ee = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], ct = {
|
|
404
414
|
__name: "BsInputField",
|
|
405
415
|
props: {
|
|
406
416
|
disabled: { default: !1 },
|
|
@@ -418,8 +428,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
418
428
|
modelValue: {}
|
|
419
429
|
},
|
|
420
430
|
emits: ["update:modelValue"],
|
|
421
|
-
setup(e, { emit:
|
|
422
|
-
return (a, t) => (
|
|
431
|
+
setup(e, { emit: n }) {
|
|
432
|
+
return (a, t) => (s(), r("bs-input-field", o(a.$attrs, {
|
|
423
433
|
disabled: e.disabled,
|
|
424
434
|
error: e.error,
|
|
425
435
|
"error-msg": e.errorMsg,
|
|
@@ -432,10 +442,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
432
442
|
required: e.required,
|
|
433
443
|
type: e.type,
|
|
434
444
|
value: e.value || e.modelValue,
|
|
435
|
-
onInput: t[0] || (t[0] = (
|
|
445
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
436
446
|
}), null, 16, ee));
|
|
437
447
|
}
|
|
438
|
-
}, te = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"],
|
|
448
|
+
}, te = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"], ft = {
|
|
439
449
|
__name: "BsInputSearch",
|
|
440
450
|
props: {
|
|
441
451
|
disabled: { default: !1 },
|
|
@@ -447,32 +457,32 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
447
457
|
modelValue: {}
|
|
448
458
|
},
|
|
449
459
|
emits: ["clear", "update:modelValue"],
|
|
450
|
-
setup(e, { emit:
|
|
451
|
-
return (a, t) => (
|
|
460
|
+
setup(e, { emit: n }) {
|
|
461
|
+
return (a, t) => (s(), r("bs-input-search", o(a.$attrs, {
|
|
452
462
|
disabled: e.disabled,
|
|
453
463
|
"pass-attrs": e.passAttrs,
|
|
454
464
|
placeholder: e.placeholder,
|
|
455
465
|
"hint-id": e.hintId,
|
|
456
466
|
"input-id": e.inputId,
|
|
457
467
|
value: e.value || e.modelValue,
|
|
458
|
-
onClear: t[0] || (t[0] = (
|
|
459
|
-
onInput: t[1] || (t[1] = (
|
|
468
|
+
onClear: t[0] || (t[0] = (l) => n("clear", l.detail)),
|
|
469
|
+
onInput: t[1] || (t[1] = (l) => n("update:modelValue", l.target.value))
|
|
460
470
|
}), null, 16, te));
|
|
461
471
|
}
|
|
462
|
-
}, ae = ["size", "variant"],
|
|
472
|
+
}, ae = ["size", "variant"], ht = {
|
|
463
473
|
__name: "BsLoader",
|
|
464
474
|
props: {
|
|
465
475
|
size: {},
|
|
466
476
|
variant: {}
|
|
467
477
|
},
|
|
468
478
|
emits: [],
|
|
469
|
-
setup(e, { emit:
|
|
470
|
-
return (a, t) => (
|
|
479
|
+
setup(e, { emit: n }) {
|
|
480
|
+
return (a, t) => (s(), r("bs-loader", o(a.$attrs, {
|
|
471
481
|
size: e.size,
|
|
472
482
|
variant: e.variant
|
|
473
483
|
}), null, 16, ae));
|
|
474
484
|
}
|
|
475
|
-
},
|
|
485
|
+
}, le = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], mt = {
|
|
476
486
|
__name: "BsModal",
|
|
477
487
|
props: {
|
|
478
488
|
alert: { default: !1 },
|
|
@@ -482,26 +492,26 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
482
492
|
leaveTrigger: { default: !1 }
|
|
483
493
|
},
|
|
484
494
|
emits: ["close", "enterend", "leaveend"],
|
|
485
|
-
setup(e, { emit:
|
|
486
|
-
return (a, t) => (
|
|
487
|
-
default:
|
|
495
|
+
setup(e, { emit: n }) {
|
|
496
|
+
return (a, t) => (s(), g(m(B), null, {
|
|
497
|
+
default: v(() => [
|
|
488
498
|
u("bs-modal", o(a.$attrs, {
|
|
489
499
|
alert: e.alert,
|
|
490
500
|
"close-button": e.closeButton,
|
|
491
501
|
"enter-controlled": e.enterControlled,
|
|
492
502
|
"enter-trigger": e.enterTrigger,
|
|
493
503
|
"leave-trigger": e.leaveTrigger,
|
|
494
|
-
onClose: t[0] || (t[0] = (
|
|
495
|
-
onEnterend: t[1] || (t[1] = (
|
|
496
|
-
onLeaveend: t[2] || (t[2] = (
|
|
504
|
+
onClose: t[0] || (t[0] = (l) => n("close", l.detail)),
|
|
505
|
+
onEnterend: t[1] || (t[1] = (l) => n("enterend", l.detail)),
|
|
506
|
+
onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
|
|
497
507
|
}), [
|
|
498
|
-
|
|
499
|
-
], 16,
|
|
508
|
+
f(a.$slots, "default")
|
|
509
|
+
], 16, le)
|
|
500
510
|
]),
|
|
501
511
|
_: 3
|
|
502
512
|
}));
|
|
503
513
|
}
|
|
504
|
-
},
|
|
514
|
+
}, ne = ["enter-controlled", "enter-trigger", "leave-trigger"], bt = {
|
|
505
515
|
__name: "BsOverlay",
|
|
506
516
|
props: {
|
|
507
517
|
enterControlled: { default: !1 },
|
|
@@ -509,21 +519,21 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
509
519
|
leaveTrigger: { default: !1 }
|
|
510
520
|
},
|
|
511
521
|
emits: ["enterend", "leaveend"],
|
|
512
|
-
setup(e, { emit:
|
|
513
|
-
return (a, t) => (
|
|
514
|
-
default:
|
|
522
|
+
setup(e, { emit: n }) {
|
|
523
|
+
return (a, t) => (s(), g(m(B), null, {
|
|
524
|
+
default: v(() => [
|
|
515
525
|
u("bs-overlay", o(a.$attrs, {
|
|
516
526
|
"enter-controlled": e.enterControlled,
|
|
517
527
|
"enter-trigger": e.enterTrigger,
|
|
518
528
|
"leave-trigger": e.leaveTrigger,
|
|
519
|
-
onEnterend: t[0] || (t[0] = (
|
|
520
|
-
onLeaveend: t[1] || (t[1] = (
|
|
521
|
-
}), null, 16,
|
|
529
|
+
onEnterend: t[0] || (t[0] = (l) => n("enterend", l.detail)),
|
|
530
|
+
onLeaveend: t[1] || (t[1] = (l) => n("leaveend", l.detail))
|
|
531
|
+
}), null, 16, ne)
|
|
522
532
|
]),
|
|
523
533
|
_: 1
|
|
524
534
|
}));
|
|
525
535
|
}
|
|
526
|
-
},
|
|
536
|
+
}, 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
537
|
__name: "BsPagination",
|
|
528
538
|
props: {
|
|
529
539
|
showFirstLastButtons: { default: !1 },
|
|
@@ -544,8 +554,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
544
554
|
resultsIncrements: {}
|
|
545
555
|
},
|
|
546
556
|
emits: ["selchange"],
|
|
547
|
-
setup(e, { emit:
|
|
548
|
-
return (a, t) => (
|
|
557
|
+
setup(e, { emit: n }) {
|
|
558
|
+
return (a, t) => (s(), r("bs-pagination", o(a.$attrs, {
|
|
549
559
|
"show-first-last-buttons": e.showFirstLastButtons,
|
|
550
560
|
"prev-page-text": e.prevPageText,
|
|
551
561
|
"first-page-text": e.firstPageText,
|
|
@@ -562,10 +572,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
562
572
|
"items-per-group": e.itemsPerGroup,
|
|
563
573
|
"items-count": e.itemsCount,
|
|
564
574
|
"results-increments": e.resultsIncrements,
|
|
565
|
-
onSelchange: t[0] || (t[0] = (
|
|
566
|
-
}), null, 16,
|
|
575
|
+
onSelchange: t[0] || (t[0] = (l) => n("selchange", l.detail))
|
|
576
|
+
}), null, 16, se));
|
|
567
577
|
}
|
|
568
|
-
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"],
|
|
578
|
+
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], vt = {
|
|
569
579
|
__name: "BsProfile",
|
|
570
580
|
props: {
|
|
571
581
|
layout: {},
|
|
@@ -584,9 +594,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
584
594
|
router: {}
|
|
585
595
|
},
|
|
586
596
|
emits: ["action-toggled"],
|
|
587
|
-
setup(e, { emit:
|
|
597
|
+
setup(e, { emit: n }) {
|
|
588
598
|
const a = e, { onLinkClick: t } = x(a);
|
|
589
|
-
return (
|
|
599
|
+
return (l, d) => (s(), r("bs-profile", o(l.$attrs, {
|
|
590
600
|
layout: e.layout,
|
|
591
601
|
href: e.href,
|
|
592
602
|
"image-src": e.imageSrc,
|
|
@@ -600,11 +610,11 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
600
610
|
"action-icon": e.actionIcon,
|
|
601
611
|
"misc-meta": e.miscMeta,
|
|
602
612
|
"misc-meta-icon": e.miscMetaIcon,
|
|
603
|
-
onActionToggled: d[0] || (d[0] = (i) =>
|
|
613
|
+
onActionToggled: d[0] || (d[0] = (i) => n("action-toggled", i.detail)),
|
|
604
614
|
onClick: d[1] || (d[1] = (...i) => m(t) && m(t)(...i))
|
|
605
615
|
}), null, 16, ie));
|
|
606
616
|
}
|
|
607
|
-
}, re = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"],
|
|
617
|
+
}, re = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], $t = {
|
|
608
618
|
__name: "BsProfileDetails",
|
|
609
619
|
props: {
|
|
610
620
|
profileName: {},
|
|
@@ -617,8 +627,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
617
627
|
miscMetaIcon: {}
|
|
618
628
|
},
|
|
619
629
|
emits: ["action-toggled"],
|
|
620
|
-
setup(e, { emit:
|
|
621
|
-
return (a, t) => (
|
|
630
|
+
setup(e, { emit: n }) {
|
|
631
|
+
return (a, t) => (s(), r("bs-profile-details", o(a.$attrs, {
|
|
622
632
|
"profile-name": e.profileName,
|
|
623
633
|
company: e.company,
|
|
624
634
|
"job-title": e.jobTitle,
|
|
@@ -627,10 +637,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
627
637
|
"action-icon": e.actionIcon,
|
|
628
638
|
"misc-meta": e.miscMeta,
|
|
629
639
|
"misc-meta-icon": e.miscMetaIcon,
|
|
630
|
-
onActionToggled: t[0] || (t[0] = (
|
|
640
|
+
onActionToggled: t[0] || (t[0] = (l) => n("action-toggled", l.detail))
|
|
631
641
|
}), null, 16, re));
|
|
632
642
|
}
|
|
633
|
-
}, de = ["src", "size", "initials", "profile-name"],
|
|
643
|
+
}, de = ["src", "size", "initials", "profile-name"], Bt = {
|
|
634
644
|
__name: "BsProfileImg",
|
|
635
645
|
props: {
|
|
636
646
|
src: {},
|
|
@@ -639,15 +649,15 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
639
649
|
profileName: {}
|
|
640
650
|
},
|
|
641
651
|
emits: [],
|
|
642
|
-
setup(e, { emit:
|
|
643
|
-
return (a, t) => (
|
|
652
|
+
setup(e, { emit: n }) {
|
|
653
|
+
return (a, t) => (s(), r("bs-profile-img", o(a.$attrs, {
|
|
644
654
|
src: e.src,
|
|
645
655
|
size: e.size,
|
|
646
656
|
initials: e.initials,
|
|
647
657
|
"profile-name": e.profileName
|
|
648
658
|
}), null, 16, de));
|
|
649
659
|
}
|
|
650
|
-
}, oe = ["layout", "href", "pass-attrs"],
|
|
660
|
+
}, oe = ["layout", "href", "pass-attrs"], It = {
|
|
651
661
|
__name: "BsProfileLayout",
|
|
652
662
|
props: {
|
|
653
663
|
layout: { default: "vertical" },
|
|
@@ -656,18 +666,18 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
656
666
|
router: {}
|
|
657
667
|
},
|
|
658
668
|
emits: [],
|
|
659
|
-
setup(e, { emit:
|
|
669
|
+
setup(e, { emit: n }) {
|
|
660
670
|
const a = e, { onLinkClick: t } = x(a);
|
|
661
|
-
return (
|
|
671
|
+
return (l, d) => (s(), r("bs-profile-layout", o(l.$attrs, {
|
|
662
672
|
layout: e.layout,
|
|
663
673
|
href: e.href,
|
|
664
674
|
"pass-attrs": e.passAttrs,
|
|
665
675
|
onClick: d[0] || (d[0] = (...i) => m(t) && m(t)(...i))
|
|
666
676
|
}), [
|
|
667
|
-
|
|
677
|
+
f(l.$slots, "default")
|
|
668
678
|
], 16, oe));
|
|
669
679
|
}
|
|
670
|
-
}, ue = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"],
|
|
680
|
+
}, ue = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], xt = {
|
|
671
681
|
__name: "BsRadio",
|
|
672
682
|
props: {
|
|
673
683
|
label: {},
|
|
@@ -682,8 +692,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
682
692
|
modelValue: {}
|
|
683
693
|
},
|
|
684
694
|
emits: ["update:modelValue"],
|
|
685
|
-
setup(e, { emit:
|
|
686
|
-
return (a, t) => (
|
|
695
|
+
setup(e, { emit: n }) {
|
|
696
|
+
return (a, t) => (s(), r("bs-radio", o(a.$attrs, {
|
|
687
697
|
label: e.label,
|
|
688
698
|
checked: e.checked || e.modelValue === e.value,
|
|
689
699
|
disabled: e.disabled,
|
|
@@ -693,10 +703,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
693
703
|
required: e.required,
|
|
694
704
|
size: e.size,
|
|
695
705
|
value: e.value,
|
|
696
|
-
onChange: t[0] || (t[0] = (
|
|
706
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
697
707
|
}), null, 16, ue));
|
|
698
708
|
}
|
|
699
|
-
}, ce = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"],
|
|
709
|
+
}, ce = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], yt = {
|
|
700
710
|
__name: "BsSelectField",
|
|
701
711
|
props: {
|
|
702
712
|
disabled: { default: !1 },
|
|
@@ -714,8 +724,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
714
724
|
modelValue: {}
|
|
715
725
|
},
|
|
716
726
|
emits: ["update:modelValue"],
|
|
717
|
-
setup(e, { emit:
|
|
718
|
-
return (a, t) => (
|
|
727
|
+
setup(e, { emit: n }) {
|
|
728
|
+
return (a, t) => (s(), r("bs-select-field", o(a.$attrs, {
|
|
719
729
|
disabled: e.disabled,
|
|
720
730
|
error: e.error,
|
|
721
731
|
"error-msg": e.errorMsg,
|
|
@@ -728,10 +738,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
728
738
|
value: e.value || e.modelValue,
|
|
729
739
|
"pass-attrs": e.passAttrs,
|
|
730
740
|
data: e.data,
|
|
731
|
-
onChange: t[0] || (t[0] = (
|
|
741
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
732
742
|
}), null, 16, ce));
|
|
733
743
|
}
|
|
734
|
-
}, fe = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"],
|
|
744
|
+
}, fe = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], Tt = {
|
|
735
745
|
__name: "BsSwitch",
|
|
736
746
|
props: {
|
|
737
747
|
checked: { default: !1 },
|
|
@@ -746,8 +756,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
746
756
|
modelValue: {}
|
|
747
757
|
},
|
|
748
758
|
emits: ["update:modelValue"],
|
|
749
|
-
setup(e, { emit:
|
|
750
|
-
return (a, t) => (
|
|
759
|
+
setup(e, { emit: n }) {
|
|
760
|
+
return (a, t) => (s(), r("bs-switch", o(a.$attrs, {
|
|
751
761
|
checked: e.checked || e.modelValue,
|
|
752
762
|
disabled: e.disabled,
|
|
753
763
|
"hide-label": e.hideLabel,
|
|
@@ -757,7 +767,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
757
767
|
label: e.label,
|
|
758
768
|
"pass-attrs": e.passAttrs,
|
|
759
769
|
size: e.size,
|
|
760
|
-
onChange: t[0] || (t[0] = (
|
|
770
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
|
|
761
771
|
}), null, 16, fe));
|
|
762
772
|
}
|
|
763
773
|
}, he = ["active-tab-id", "hidden", "panel-id"], Ct = {
|
|
@@ -768,16 +778,16 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
768
778
|
panelId: {}
|
|
769
779
|
},
|
|
770
780
|
emits: [],
|
|
771
|
-
setup(e, { emit:
|
|
772
|
-
return (a, t) => (
|
|
781
|
+
setup(e, { emit: n }) {
|
|
782
|
+
return (a, t) => (s(), r("bs-tab", o(a.$attrs, {
|
|
773
783
|
"active-tab-id": e.activeTabId,
|
|
774
784
|
hidden: e.hidden,
|
|
775
785
|
"panel-id": e.panelId
|
|
776
786
|
}), [
|
|
777
|
-
|
|
787
|
+
f(a.$slots, "default")
|
|
778
788
|
], 16, he));
|
|
779
789
|
}
|
|
780
|
-
}, me = ["active-tab-id", "helper-text", "helper-description"],
|
|
790
|
+
}, me = ["active-tab-id", "helper-text", "helper-description"], wt = {
|
|
781
791
|
__name: "BsTabList",
|
|
782
792
|
props: {
|
|
783
793
|
activeTabId: {},
|
|
@@ -786,40 +796,40 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
786
796
|
modelValue: {}
|
|
787
797
|
},
|
|
788
798
|
emits: ["tabChange", "update:modelValue"],
|
|
789
|
-
setup(e, { emit:
|
|
799
|
+
setup(e, { emit: n }) {
|
|
790
800
|
const a = (t) => {
|
|
791
|
-
|
|
801
|
+
n("tabChange", t.detail), n("update:modelValue", t.detail);
|
|
792
802
|
};
|
|
793
|
-
return (t,
|
|
803
|
+
return (t, l) => (s(), r("bs-tab-list", o(t.$attrs, {
|
|
794
804
|
"active-tab-id": e.activeTabId || e.modelValue,
|
|
795
805
|
"helper-text": e.helperText,
|
|
796
806
|
"helper-description": e.helperDescription,
|
|
797
807
|
"on:tabChange": a
|
|
798
808
|
}), [
|
|
799
|
-
P(m(
|
|
800
|
-
default:
|
|
801
|
-
|
|
809
|
+
P(m(B), null, {
|
|
810
|
+
default: v(() => [
|
|
811
|
+
f(t.$slots, "default")
|
|
802
812
|
]),
|
|
803
813
|
_: 3
|
|
804
814
|
})
|
|
805
815
|
], 16, me));
|
|
806
816
|
}
|
|
807
|
-
}, be = ["active-tab-id", "tab-id"],
|
|
817
|
+
}, be = ["active-tab-id", "tab-id"], kt = {
|
|
808
818
|
__name: "BsTabPanel",
|
|
809
819
|
props: {
|
|
810
820
|
activeTabId: {},
|
|
811
821
|
tabId: {}
|
|
812
822
|
},
|
|
813
823
|
emits: [],
|
|
814
|
-
setup(e, { emit:
|
|
815
|
-
return (a, t) => (
|
|
824
|
+
setup(e, { emit: n }) {
|
|
825
|
+
return (a, t) => (s(), r("bs-tab-panel", o(a.$attrs, {
|
|
816
826
|
"active-tab-id": e.activeTabId,
|
|
817
827
|
"tab-id": e.tabId
|
|
818
828
|
}), [
|
|
819
|
-
|
|
829
|
+
f(a.$slots, "default")
|
|
820
830
|
], 16, be));
|
|
821
831
|
}
|
|
822
|
-
}, ge = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"],
|
|
832
|
+
}, ge = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], pt = {
|
|
823
833
|
__name: "BsTextarea",
|
|
824
834
|
props: {
|
|
825
835
|
disabled: { default: !1 },
|
|
@@ -834,8 +844,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
834
844
|
modelValue: {}
|
|
835
845
|
},
|
|
836
846
|
emits: ["update:modelValue"],
|
|
837
|
-
setup(e, { emit:
|
|
838
|
-
return (a, t) => (
|
|
847
|
+
setup(e, { emit: n }) {
|
|
848
|
+
return (a, t) => (s(), r("bs-textarea", o(a.$attrs, {
|
|
839
849
|
disabled: e.disabled,
|
|
840
850
|
error: e.error,
|
|
841
851
|
"input-id": e.inputId,
|
|
@@ -845,10 +855,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
845
855
|
rows: e.rows,
|
|
846
856
|
value: e.value || e.modelValue,
|
|
847
857
|
"hint-id": e.hintId,
|
|
848
|
-
onInput: t[0] || (t[0] = (
|
|
858
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
849
859
|
}), null, 16, ge));
|
|
850
860
|
}
|
|
851
|
-
}, ve = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"],
|
|
861
|
+
}, ve = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], At = {
|
|
852
862
|
__name: "BsTextareaField",
|
|
853
863
|
props: {
|
|
854
864
|
charMax: {},
|
|
@@ -867,8 +877,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
867
877
|
modelValue: {}
|
|
868
878
|
},
|
|
869
879
|
emits: ["update:modelValue"],
|
|
870
|
-
setup(e, { emit:
|
|
871
|
-
return (a, t) => (
|
|
880
|
+
setup(e, { emit: n }) {
|
|
881
|
+
return (a, t) => (s(), r("bs-textarea-field", o(a.$attrs, {
|
|
872
882
|
"char-max": e.charMax,
|
|
873
883
|
disabled: e.disabled,
|
|
874
884
|
error: e.error,
|
|
@@ -882,10 +892,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
882
892
|
rows: e.rows,
|
|
883
893
|
value: e.value || e.modelValue,
|
|
884
894
|
"pass-attrs": e.passAttrs,
|
|
885
|
-
onInput: t[0] || (t[0] = (
|
|
895
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
886
896
|
}), null, 16, ve));
|
|
887
897
|
}
|
|
888
|
-
}, $e = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"],
|
|
898
|
+
}, $e = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Lt = {
|
|
889
899
|
__name: "BsToast",
|
|
890
900
|
props: {
|
|
891
901
|
toastId: {},
|
|
@@ -897,9 +907,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
897
907
|
leaveTrigger: { default: !1 }
|
|
898
908
|
},
|
|
899
909
|
emits: ["dismiss", "enterend", "leaveend"],
|
|
900
|
-
setup(e, { emit:
|
|
901
|
-
return (a, t) => (
|
|
902
|
-
default:
|
|
910
|
+
setup(e, { emit: n }) {
|
|
911
|
+
return (a, t) => (s(), g(m(B), null, {
|
|
912
|
+
default: v(() => [
|
|
903
913
|
u("bs-toast", o(a.$attrs, {
|
|
904
914
|
"toast-id": e.toastId,
|
|
905
915
|
variant: e.variant,
|
|
@@ -908,62 +918,62 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
908
918
|
"enter-controlled": e.enterControlled,
|
|
909
919
|
"enter-trigger": e.enterTrigger,
|
|
910
920
|
"leave-trigger": e.leaveTrigger,
|
|
911
|
-
onDismiss: t[0] || (t[0] = (
|
|
912
|
-
onEnterend: t[1] || (t[1] = (
|
|
913
|
-
onLeaveend: t[2] || (t[2] = (
|
|
921
|
+
onDismiss: t[0] || (t[0] = (l) => n("dismiss", l.detail)),
|
|
922
|
+
onEnterend: t[1] || (t[1] = (l) => n("enterend", l.detail)),
|
|
923
|
+
onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
|
|
914
924
|
}), [
|
|
915
|
-
|
|
925
|
+
f(a.$slots, "default")
|
|
916
926
|
], 16, $e)
|
|
917
927
|
]),
|
|
918
928
|
_: 3
|
|
919
929
|
}));
|
|
920
930
|
}
|
|
921
|
-
},
|
|
931
|
+
}, Vt = {
|
|
922
932
|
__name: "BsToastActions",
|
|
923
933
|
props: {},
|
|
924
934
|
emits: ["defaultDismiss"],
|
|
925
|
-
setup(e, { emit:
|
|
926
|
-
return (a, t) => (
|
|
927
|
-
"on:defaultDismiss": t[0] || (t[0] = (
|
|
935
|
+
setup(e, { emit: n }) {
|
|
936
|
+
return (a, t) => (s(), r("bs-toast-actions", o(a.$attrs, {
|
|
937
|
+
"on:defaultDismiss": t[0] || (t[0] = (l) => n("defaultDismiss", l.detail))
|
|
928
938
|
}), [
|
|
929
|
-
|
|
939
|
+
f(a.$slots, "default")
|
|
930
940
|
], 16));
|
|
931
941
|
}
|
|
932
|
-
},
|
|
942
|
+
}, qt = {
|
|
933
943
|
__name: "BsToastBody",
|
|
934
944
|
props: {},
|
|
935
945
|
emits: [],
|
|
936
|
-
setup(e, { emit:
|
|
937
|
-
return (a, t) => (
|
|
938
|
-
|
|
946
|
+
setup(e, { emit: n }) {
|
|
947
|
+
return (a, t) => (s(), r("bs-toast-body", k(p(a.$attrs)), [
|
|
948
|
+
f(a.$slots, "default")
|
|
939
949
|
], 16));
|
|
940
950
|
}
|
|
941
|
-
}, Be = ["variant"],
|
|
951
|
+
}, Be = ["variant"], zt = {
|
|
942
952
|
__name: "BsToastHeader",
|
|
943
953
|
props: {
|
|
944
954
|
variant: {}
|
|
945
955
|
},
|
|
946
956
|
emits: [],
|
|
947
|
-
setup(e, { emit:
|
|
948
|
-
return (a, t) => (
|
|
949
|
-
|
|
957
|
+
setup(e, { emit: n }) {
|
|
958
|
+
return (a, t) => (s(), r("bs-toast-header", o(a.$attrs, { variant: e.variant }), [
|
|
959
|
+
f(a.$slots, "default")
|
|
950
960
|
], 16, Be));
|
|
951
961
|
}
|
|
952
|
-
},
|
|
962
|
+
}, Dt = {
|
|
953
963
|
__name: "BsToaster",
|
|
954
964
|
props: {},
|
|
955
965
|
emits: [],
|
|
956
|
-
setup(e, { emit:
|
|
957
|
-
return (a, t) => (
|
|
958
|
-
default:
|
|
966
|
+
setup(e, { emit: n }) {
|
|
967
|
+
return (a, t) => (s(), g(m(B), null, {
|
|
968
|
+
default: v(() => [
|
|
959
969
|
u("bs-toaster", k(p(a.$attrs)), [
|
|
960
|
-
|
|
970
|
+
f(a.$slots, "default")
|
|
961
971
|
], 16)
|
|
962
972
|
]),
|
|
963
973
|
_: 3
|
|
964
974
|
}));
|
|
965
975
|
}
|
|
966
|
-
}, Ie = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"],
|
|
976
|
+
}, Ie = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], Pt = {
|
|
967
977
|
__name: "BsTransition",
|
|
968
978
|
props: {
|
|
969
979
|
enterClass: { default: void 0 },
|
|
@@ -977,8 +987,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
977
987
|
leaveTrigger: { default: !1 }
|
|
978
988
|
},
|
|
979
989
|
emits: ["enterend", "leaveend"],
|
|
980
|
-
setup(e, { emit:
|
|
981
|
-
return (a, t) => (
|
|
990
|
+
setup(e, { emit: n }) {
|
|
991
|
+
return (a, t) => (s(), r("bs-transition", o(a.$attrs, {
|
|
982
992
|
"enter-class": e.enterClass,
|
|
983
993
|
"enter-attribute": e.enterAttribute,
|
|
984
994
|
"enter-duration": e.enterDuration,
|
|
@@ -988,17 +998,17 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
988
998
|
"enter-controlled": e.enterControlled,
|
|
989
999
|
"enter-trigger": e.enterTrigger,
|
|
990
1000
|
"leave-trigger": e.leaveTrigger,
|
|
991
|
-
onEnterend: t[0] || (t[0] = (
|
|
992
|
-
onLeaveend: t[1] || (t[1] = (
|
|
1001
|
+
onEnterend: t[0] || (t[0] = (l) => n("enterend", l.detail)),
|
|
1002
|
+
onLeaveend: t[1] || (t[1] = (l) => n("leaveend", l.detail))
|
|
993
1003
|
}), [
|
|
994
|
-
|
|
1004
|
+
f(a.$slots, "default")
|
|
995
1005
|
], 16, Ie));
|
|
996
1006
|
}
|
|
997
1007
|
};
|
|
998
1008
|
function z() {
|
|
999
1009
|
return E();
|
|
1000
1010
|
}
|
|
1001
|
-
const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-expanded"],
|
|
1011
|
+
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
1012
|
__name: "BsAccordion",
|
|
1003
1013
|
props: {
|
|
1004
1014
|
controlled: { default: !1 },
|
|
@@ -1010,16 +1020,16 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1010
1020
|
stacked: { default: !1 }
|
|
1011
1021
|
},
|
|
1012
1022
|
emits: ["toggled"],
|
|
1013
|
-
setup(e, { emit:
|
|
1014
|
-
const a = e, t =
|
|
1015
|
-
|
|
1023
|
+
setup(e, { emit: n }) {
|
|
1024
|
+
const a = e, t = $(null), l = $(""), d = $(""), i = $(!1), c = b(() => a.icon ? `bs-icon-${a.icon}` : null), h = b(() => a.openItemId === t.value.id || a.openItem === !0), I = b(() => a.controlled ? h.value : i.value);
|
|
1025
|
+
C(() => {
|
|
1016
1026
|
var y;
|
|
1017
|
-
(y = t.value) != null && y.id || t.value.setAttribute("id", z()),
|
|
1027
|
+
(y = t.value) != null && y.id || t.value.setAttribute("id", z()), l.value = t.value.id + "-content", d.value = t.value.id + "-title";
|
|
1018
1028
|
});
|
|
1019
1029
|
function D() {
|
|
1020
|
-
|
|
1030
|
+
n("toggled", t.value.id), a.controlled || (i.value = !i.value);
|
|
1021
1031
|
}
|
|
1022
|
-
return (y,
|
|
1032
|
+
return (y, Ue) => (s(), r("bs-host", {
|
|
1023
1033
|
ref_key: "hostRef",
|
|
1024
1034
|
ref: t,
|
|
1025
1035
|
class: "bs-accordion",
|
|
@@ -1028,15 +1038,15 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1028
1038
|
}, [
|
|
1029
1039
|
u("header", {
|
|
1030
1040
|
part: "header",
|
|
1031
|
-
"data-open":
|
|
1041
|
+
"data-open": I.value
|
|
1032
1042
|
}, [
|
|
1033
1043
|
u("button", {
|
|
1034
|
-
"aria-controls":
|
|
1035
|
-
"aria-expanded":
|
|
1044
|
+
"aria-controls": l.value,
|
|
1045
|
+
"aria-expanded": I.value,
|
|
1036
1046
|
type: "button",
|
|
1037
1047
|
onClick: D
|
|
1038
1048
|
}, [
|
|
1039
|
-
|
|
1049
|
+
c.value ? (s(), g(w(c.value), {
|
|
1040
1050
|
key: 0,
|
|
1041
1051
|
"data-position": "start"
|
|
1042
1052
|
})) : A("", !0),
|
|
@@ -1044,20 +1054,20 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1044
1054
|
id: d.value,
|
|
1045
1055
|
"aria-level": e.headingLevel,
|
|
1046
1056
|
role: "heading"
|
|
1047
|
-
}, L(e.headerText), 9,
|
|
1048
|
-
|
|
1057
|
+
}, L(e.headerText), 9, Ce),
|
|
1058
|
+
we
|
|
1049
1059
|
], 8, Te)
|
|
1050
1060
|
], 8, ye),
|
|
1051
1061
|
u("div", {
|
|
1052
1062
|
"aria-labelledby": d.value,
|
|
1053
1063
|
class: "bs-accordion-content",
|
|
1054
|
-
"data-open":
|
|
1055
|
-
id:
|
|
1064
|
+
"data-open": I.value,
|
|
1065
|
+
id: l.value,
|
|
1056
1066
|
part: "content",
|
|
1057
1067
|
role: "region"
|
|
1058
1068
|
}, [
|
|
1059
1069
|
u("div", pe, [
|
|
1060
|
-
|
|
1070
|
+
f(y.$slots, "default")
|
|
1061
1071
|
])
|
|
1062
1072
|
], 8, ke)
|
|
1063
1073
|
], 8, xe));
|
|
@@ -1068,15 +1078,15 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
|
|
|
1068
1078
|
class: "bs-banner-warning-icon"
|
|
1069
1079
|
}, null, -1), qe = { "data-slot": "" }, ze = /* @__PURE__ */ u("bs-icon-close", null, null, -1), De = [
|
|
1070
1080
|
ze
|
|
1071
|
-
],
|
|
1081
|
+
], St = {
|
|
1072
1082
|
__name: "BsBanner",
|
|
1073
1083
|
emits: ["dismiss"],
|
|
1074
|
-
setup(e, { emit:
|
|
1075
|
-
const a =
|
|
1084
|
+
setup(e, { emit: n }) {
|
|
1085
|
+
const a = $(!1);
|
|
1076
1086
|
function t() {
|
|
1077
|
-
a.value = !0,
|
|
1087
|
+
a.value = !0, n("dismiss");
|
|
1078
1088
|
}
|
|
1079
|
-
return (
|
|
1089
|
+
return (l, d) => (s(), r("bs-host", {
|
|
1080
1090
|
role: "alert",
|
|
1081
1091
|
class: "bs-banner",
|
|
1082
1092
|
"data-component": "bs-banner",
|
|
@@ -1085,7 +1095,7 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
|
|
|
1085
1095
|
u("div", Le, [
|
|
1086
1096
|
Ve,
|
|
1087
1097
|
u("div", qe, [
|
|
1088
|
-
|
|
1098
|
+
f(l.$slots, "default")
|
|
1089
1099
|
]),
|
|
1090
1100
|
u("button", {
|
|
1091
1101
|
type: "button",
|
|
@@ -1096,7 +1106,7 @@ const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__P
|
|
|
1096
1106
|
], 8, Ae));
|
|
1097
1107
|
}
|
|
1098
1108
|
};
|
|
1099
|
-
const Pe = ["data-disabled"],
|
|
1109
|
+
const Pe = ["data-disabled"], Ft = {
|
|
1100
1110
|
__name: "BsButton",
|
|
1101
1111
|
props: {
|
|
1102
1112
|
variant: {},
|
|
@@ -1109,23 +1119,23 @@ const Pe = ["data-disabled"], Et = {
|
|
|
1109
1119
|
size: {}
|
|
1110
1120
|
},
|
|
1111
1121
|
setup(e) {
|
|
1112
|
-
const
|
|
1122
|
+
const n = e, { onLinkClick: a } = x(n), t = T(), l = b(() => {
|
|
1113
1123
|
const i = {
|
|
1114
1124
|
download: t.download,
|
|
1115
1125
|
target: t.target
|
|
1116
1126
|
};
|
|
1117
|
-
return
|
|
1127
|
+
return n.href ? n.disabled && n.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title) : i.type = t.type || "button", i;
|
|
1118
1128
|
});
|
|
1119
1129
|
function d(i) {
|
|
1120
|
-
var
|
|
1121
|
-
(
|
|
1130
|
+
var c, h;
|
|
1131
|
+
(n.disabled || ((h = (c = i.target) == null ? void 0 : c.dataset) == null ? void 0 : h.disabled) === "true") && (i.preventDefault(), i.stopPropagation());
|
|
1122
1132
|
}
|
|
1123
|
-
return (i,
|
|
1133
|
+
return (i, c) => (s(), r("bs-host", {
|
|
1124
1134
|
"data-component": "bs-button",
|
|
1125
1135
|
"data-disabled": e.disabled || void 0,
|
|
1126
1136
|
onClickCapture: d
|
|
1127
1137
|
}, [
|
|
1128
|
-
(
|
|
1138
|
+
(s(), g(w(e.href ? "a" : "button"), o({
|
|
1129
1139
|
"data-slot": "",
|
|
1130
1140
|
class: "bs-button",
|
|
1131
1141
|
"data-ghost": e.ghostBtn,
|
|
@@ -1134,28 +1144,29 @@ const Pe = ["data-disabled"], Et = {
|
|
|
1134
1144
|
"data-variant": e.variant,
|
|
1135
1145
|
disabled: e.disabled,
|
|
1136
1146
|
href: e.href
|
|
1137
|
-
},
|
|
1138
|
-
default:
|
|
1139
|
-
|
|
1147
|
+
}, l.value, { onClick: m(a) }), {
|
|
1148
|
+
default: v(() => [
|
|
1149
|
+
f(i.$slots, "default")
|
|
1140
1150
|
]),
|
|
1141
1151
|
_: 3
|
|
1142
1152
|
}, 16, ["data-ghost", "data-size", "data-text", "data-variant", "disabled", "href", "onClick"]))
|
|
1143
1153
|
], 40, Pe));
|
|
1144
1154
|
}
|
|
1145
1155
|
};
|
|
1146
|
-
const Me = ["
|
|
1156
|
+
const Me = ["offset", "stop-color"], Et = {
|
|
1147
1157
|
__name: "BsIconGradientWrapper",
|
|
1148
1158
|
setup(e) {
|
|
1149
|
-
const
|
|
1159
|
+
const n = [
|
|
1150
1160
|
{ offset: 0.1326, color: "#EE282A" },
|
|
1151
1161
|
{ offset: 0.5466, color: "#1C0087" },
|
|
1152
1162
|
{ offset: 0.9715, color: "#0086EA" }
|
|
1153
|
-
], a = `svg-gradient-${z()}`, t =
|
|
1163
|
+
], a = `svg-gradient-${z()}`, t = $(null), l = $(null);
|
|
1154
1164
|
function d() {
|
|
1165
|
+
var c;
|
|
1155
1166
|
const i = t.value.querySelector(".svg-wrapper svg");
|
|
1156
|
-
|
|
1167
|
+
(c = l.value) == null || c.setAttribute("viewBox", (i == null ? void 0 : i.getAttribute("viewBox")) || "0 0 0 0");
|
|
1157
1168
|
}
|
|
1158
|
-
return
|
|
1169
|
+
return C(d), (i, c) => (s(), r("bs-host", {
|
|
1159
1170
|
ref_key: "hostRef",
|
|
1160
1171
|
ref: t,
|
|
1161
1172
|
"data-component": "bs-icon-gradient-wrapper"
|
|
@@ -1165,13 +1176,14 @@ const Me = ["viewBox"], Se = ["offset", "stop-color"], Ot = {
|
|
|
1165
1176
|
style: M(`fill: url(#${a});`),
|
|
1166
1177
|
"data-slot": ""
|
|
1167
1178
|
}, [
|
|
1168
|
-
|
|
1179
|
+
f(i.$slots, "default")
|
|
1169
1180
|
], 4),
|
|
1170
|
-
(
|
|
1181
|
+
(s(), r("svg", {
|
|
1171
1182
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1172
|
-
viewBox: n.value,
|
|
1173
1183
|
width: "0",
|
|
1174
|
-
height: "0"
|
|
1184
|
+
height: "0",
|
|
1185
|
+
ref_key: "gradientSvgRef",
|
|
1186
|
+
ref: l
|
|
1175
1187
|
}, [
|
|
1176
1188
|
u("linearGradient", {
|
|
1177
1189
|
id: a,
|
|
@@ -1181,20 +1193,20 @@ const Me = ["viewBox"], Se = ["offset", "stop-color"], Ot = {
|
|
|
1181
1193
|
y2: "100%",
|
|
1182
1194
|
gradientUnits: "userSpaceOnUse"
|
|
1183
1195
|
}, [
|
|
1184
|
-
(
|
|
1185
|
-
key:
|
|
1186
|
-
offset:
|
|
1187
|
-
"stop-color":
|
|
1188
|
-
}, null, 8,
|
|
1196
|
+
(s(), r(V, null, S(n, (h) => u("stop", {
|
|
1197
|
+
key: h.offset,
|
|
1198
|
+
offset: h.offset,
|
|
1199
|
+
"stop-color": h.color
|
|
1200
|
+
}, null, 8, Me)), 64))
|
|
1189
1201
|
])
|
|
1190
|
-
],
|
|
1202
|
+
], 512))
|
|
1191
1203
|
], 512));
|
|
1192
1204
|
}
|
|
1193
1205
|
};
|
|
1194
|
-
const
|
|
1206
|
+
const Se = ["data-disabled", "htmlFor"], Fe = { "data-slot": "" }, Ee = /* @__PURE__ */ u("span", {
|
|
1195
1207
|
"data-required": "",
|
|
1196
1208
|
"aria-hidden": "true"
|
|
1197
|
-
}, " *", -1),
|
|
1209
|
+
}, " *", -1), Oe = /* @__PURE__ */ u("span", { class: "visually-hidden" }, "required", -1), Ot = {
|
|
1198
1210
|
__name: "BsLabel",
|
|
1199
1211
|
props: {
|
|
1200
1212
|
disabled: {},
|
|
@@ -1204,13 +1216,13 @@ const Fe = ["data-disabled", "htmlFor"], Ee = { "data-slot": "" }, Oe = /* @__PU
|
|
|
1204
1216
|
required: {}
|
|
1205
1217
|
},
|
|
1206
1218
|
setup(e) {
|
|
1207
|
-
const
|
|
1208
|
-
const
|
|
1209
|
-
return
|
|
1210
|
-
|
|
1211
|
-
}),
|
|
1219
|
+
const n = e, a = T(), t = b(() => {
|
|
1220
|
+
const l = {};
|
|
1221
|
+
return n.passAttrs.split(",").forEach((d) => {
|
|
1222
|
+
l[d] = a[d];
|
|
1223
|
+
}), l;
|
|
1212
1224
|
});
|
|
1213
|
-
return (
|
|
1225
|
+
return (l, d) => (s(), r("bs-host", {
|
|
1214
1226
|
"data-component": "bs-label",
|
|
1215
1227
|
class: q(e.hide ? "visually-hidden" : "")
|
|
1216
1228
|
}, [
|
|
@@ -1218,14 +1230,14 @@ const Fe = ["data-disabled", "htmlFor"], Ee = { "data-slot": "" }, Oe = /* @__PU
|
|
|
1218
1230
|
"data-disabled": e.disabled,
|
|
1219
1231
|
htmlFor: e.for
|
|
1220
1232
|
}, t.value), [
|
|
1221
|
-
u("span",
|
|
1222
|
-
|
|
1233
|
+
u("span", Fe, [
|
|
1234
|
+
f(l.$slots, "default")
|
|
1223
1235
|
]),
|
|
1224
|
-
e.required ? (
|
|
1225
|
-
|
|
1226
|
-
|
|
1236
|
+
e.required ? (s(), r(V, { key: 0 }, [
|
|
1237
|
+
Ee,
|
|
1238
|
+
Oe
|
|
1227
1239
|
], 64)) : A("", !0)
|
|
1228
|
-
], 16,
|
|
1240
|
+
], 16, Se)
|
|
1229
1241
|
], 2));
|
|
1230
1242
|
}
|
|
1231
1243
|
};
|
|
@@ -1240,14 +1252,14 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1240
1252
|
passAttrs: { default: "" }
|
|
1241
1253
|
},
|
|
1242
1254
|
setup(e) {
|
|
1243
|
-
const
|
|
1255
|
+
const n = e, { onLinkClick: a } = x(n), t = T(), l = b(() => n.href ? "a" : t.type === "button" ? "button" : "span"), d = b(() => {
|
|
1244
1256
|
const i = {};
|
|
1245
|
-
return
|
|
1246
|
-
i[
|
|
1247
|
-
}),
|
|
1257
|
+
return n.passAttrs.split(",").forEach((c) => {
|
|
1258
|
+
i[c] = t[c];
|
|
1259
|
+
}), n.disabled && n.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title), l.value === "button" && (i.type = t.type || "button"), i;
|
|
1248
1260
|
});
|
|
1249
|
-
return (i,
|
|
1250
|
-
(
|
|
1261
|
+
return (i, c) => (s(), r("bs-host", Re, [
|
|
1262
|
+
(s(), g(w(l.value), o({
|
|
1251
1263
|
class: "bs-pill",
|
|
1252
1264
|
"data-active": e.active,
|
|
1253
1265
|
"data-slot": "",
|
|
@@ -1256,15 +1268,15 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1256
1268
|
disabled: e.disabled,
|
|
1257
1269
|
href: e.href
|
|
1258
1270
|
}, d.value, { onClick: m(a) }), {
|
|
1259
|
-
default:
|
|
1260
|
-
|
|
1271
|
+
default: v(() => [
|
|
1272
|
+
f(i.$slots, "default")
|
|
1261
1273
|
]),
|
|
1262
1274
|
_: 3
|
|
1263
1275
|
}, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]))
|
|
1264
1276
|
]));
|
|
1265
1277
|
}
|
|
1266
1278
|
};
|
|
1267
|
-
const
|
|
1279
|
+
const Ge = { "data-component": "bs-select" }, je = ["id", "disabled", "required", "data-error", "value"], Gt = {
|
|
1268
1280
|
__name: "BsSelect",
|
|
1269
1281
|
props: {
|
|
1270
1282
|
disabled: { default: !1 },
|
|
@@ -1277,13 +1289,13 @@ const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required"
|
|
|
1277
1289
|
modelValue: {}
|
|
1278
1290
|
},
|
|
1279
1291
|
setup(e) {
|
|
1280
|
-
const
|
|
1281
|
-
const i = { ...
|
|
1282
|
-
return
|
|
1283
|
-
i[
|
|
1292
|
+
const n = e, a = ["autocomplete", "multiple", "name", "size"], t = T(), l = b(() => ({ [n.error ? "aria-errormessage" : "aria-describedby"]: n.hintId })), d = b(() => {
|
|
1293
|
+
const i = { ...l.value };
|
|
1294
|
+
return n.passAttrs.split(",").concat(a).forEach((c) => {
|
|
1295
|
+
i[c] = t[c];
|
|
1284
1296
|
}), i;
|
|
1285
1297
|
});
|
|
1286
|
-
return (i,
|
|
1298
|
+
return (i, c) => (s(), r("bs-host", Ge, [
|
|
1287
1299
|
u("select", o({
|
|
1288
1300
|
id: e.inputId,
|
|
1289
1301
|
class: "bs-select",
|
|
@@ -1292,14 +1304,14 @@ const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required"
|
|
|
1292
1304
|
required: e.required,
|
|
1293
1305
|
"data-error": e.error,
|
|
1294
1306
|
value: e.value || e.modelValue,
|
|
1295
|
-
onChange:
|
|
1307
|
+
onChange: c[0] || (c[0] = (h) => i.emit("update:modelValue", h.target.value))
|
|
1296
1308
|
}, d.value), [
|
|
1297
|
-
|
|
1298
|
-
], 16,
|
|
1309
|
+
f(i.$slots, "default")
|
|
1310
|
+
], 16, je)
|
|
1299
1311
|
]));
|
|
1300
1312
|
}
|
|
1301
1313
|
};
|
|
1302
|
-
const
|
|
1314
|
+
const Ne = ["data-position"], We = { "data-slot": "" }, He = ["id"], jt = {
|
|
1303
1315
|
__name: "BsTooltip",
|
|
1304
1316
|
props: {
|
|
1305
1317
|
tooltipId: {},
|
|
@@ -1307,14 +1319,14 @@ const We = ["data-position"], He = { "data-slot": "" }, Ue = ["id"], Nt = {
|
|
|
1307
1319
|
position: {}
|
|
1308
1320
|
},
|
|
1309
1321
|
setup(e) {
|
|
1310
|
-
const
|
|
1311
|
-
let
|
|
1312
|
-
return t.value && (
|
|
1322
|
+
const n = e, a = $(!1), t = $(!1), l = b(() => {
|
|
1323
|
+
let h = "bs-tooltip-text";
|
|
1324
|
+
return t.value && (n.position === void 0 || n.position === "top" || n.position === "bottom" ? h += " escaped-x" : n.position === "left" || n.position === "right" ? h += " escaped-y" : h += " escaped"), h;
|
|
1313
1325
|
});
|
|
1314
|
-
|
|
1315
|
-
window.addEventListener("keydown",
|
|
1326
|
+
C(() => {
|
|
1327
|
+
window.addEventListener("keydown", c);
|
|
1316
1328
|
}), F(() => {
|
|
1317
|
-
window.removeEventListener("keydown",
|
|
1329
|
+
window.removeEventListener("keydown", c);
|
|
1318
1330
|
});
|
|
1319
1331
|
function d() {
|
|
1320
1332
|
a.value = !0;
|
|
@@ -1322,10 +1334,10 @@ const We = ["data-position"], He = { "data-slot": "" }, Ue = ["id"], Nt = {
|
|
|
1322
1334
|
function i() {
|
|
1323
1335
|
a.value = !1, t.value = !1;
|
|
1324
1336
|
}
|
|
1325
|
-
function h
|
|
1326
|
-
a.value &&
|
|
1337
|
+
function c(h) {
|
|
1338
|
+
a.value && h.key === "Escape" && (a.value = !1, t.value = !0);
|
|
1327
1339
|
}
|
|
1328
|
-
return (
|
|
1340
|
+
return (h, I) => (s(), r("bs-host", {
|
|
1329
1341
|
"data-component": "bs-tooltip",
|
|
1330
1342
|
onMouseenter: d,
|
|
1331
1343
|
onFocusin: d,
|
|
@@ -1336,64 +1348,64 @@ const We = ["data-position"], He = { "data-slot": "" }, Ue = ["id"], Nt = {
|
|
|
1336
1348
|
class: "bs-tooltip",
|
|
1337
1349
|
"data-position": e.position || void 0
|
|
1338
1350
|
}, [
|
|
1339
|
-
u("div",
|
|
1340
|
-
|
|
1351
|
+
u("div", We, [
|
|
1352
|
+
f(h.$slots, "default")
|
|
1341
1353
|
]),
|
|
1342
1354
|
u("div", {
|
|
1343
|
-
class: q(
|
|
1355
|
+
class: q(l.value),
|
|
1344
1356
|
id: e.tooltipId,
|
|
1345
1357
|
role: "tooltip"
|
|
1346
|
-
}, L(e.content), 11,
|
|
1347
|
-
], 8,
|
|
1358
|
+
}, L(e.content), 11, He)
|
|
1359
|
+
], 8, Ne)
|
|
1348
1360
|
], 32));
|
|
1349
1361
|
}
|
|
1350
1362
|
};
|
|
1351
1363
|
export {
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1364
|
+
Mt as BsAccordion,
|
|
1365
|
+
Je as BsBadge,
|
|
1366
|
+
St as BsBanner,
|
|
1367
|
+
Ft as BsButton,
|
|
1368
|
+
Qe as BsCharacterCount,
|
|
1369
|
+
Ke as BsChartBar,
|
|
1370
|
+
_e as BsChartTable,
|
|
1371
|
+
et as BsCheckbox,
|
|
1372
|
+
tt as BsCircleButton,
|
|
1373
|
+
at as BsDropdown,
|
|
1374
|
+
lt as BsDropdownOption,
|
|
1375
|
+
nt as BsDropdownOptionList,
|
|
1376
|
+
st as BsDropdownWithOptions,
|
|
1377
|
+
it as BsFieldDetails,
|
|
1378
|
+
rt as BsFieldLayout,
|
|
1379
|
+
dt as BsHint,
|
|
1380
|
+
Et as BsIconGradientWrapper,
|
|
1381
|
+
ot as BsInput,
|
|
1382
|
+
ut as BsInputAddon,
|
|
1383
|
+
ct as BsInputField,
|
|
1384
|
+
ft as BsInputSearch,
|
|
1385
|
+
Ot as BsLabel,
|
|
1386
|
+
ht as BsLoader,
|
|
1387
|
+
mt as BsModal,
|
|
1388
|
+
bt as BsOverlay,
|
|
1389
|
+
gt as BsPagination,
|
|
1378
1390
|
Rt as BsPill,
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1391
|
+
vt as BsProfile,
|
|
1392
|
+
$t as BsProfileDetails,
|
|
1393
|
+
Bt as BsProfileImg,
|
|
1394
|
+
It as BsProfileLayout,
|
|
1395
|
+
xt as BsRadio,
|
|
1396
|
+
Gt as BsSelect,
|
|
1397
|
+
yt as BsSelectField,
|
|
1398
|
+
Tt as BsSwitch,
|
|
1387
1399
|
Ct as BsTab,
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1400
|
+
wt as BsTabList,
|
|
1401
|
+
kt as BsTabPanel,
|
|
1402
|
+
pt as BsTextarea,
|
|
1403
|
+
At as BsTextareaField,
|
|
1404
|
+
Lt as BsToast,
|
|
1405
|
+
Vt as BsToastActions,
|
|
1406
|
+
qt as BsToastBody,
|
|
1407
|
+
zt as BsToastHeader,
|
|
1408
|
+
Dt as BsToaster,
|
|
1409
|
+
jt as BsTooltip,
|
|
1410
|
+
Pt as BsTransition
|
|
1399
1411
|
};
|