@wwtdev/bsds-components-vue3 1.15.8 → 1.15.10
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 +449 -435
- package/nuxt/bsds-components.umd.js +1 -1
- package/nuxt/style.css +1 -1
- package/package.json +2 -2
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { openBlock as s, createElementBlock as r, mergeProps as
|
|
1
|
+
import { openBlock as s, createElementBlock as r, mergeProps as d, renderSlot as f, computed as b, unref as m, createBlock as $, withCtx as B, createElementVNode as c, createVNode as S, normalizeProps as L, guardReactiveProps as V, ref as v, onMounted as k, resolveDynamicComponent as p, createCommentVNode as q, toDisplayString as z, useAttrs as w, normalizeStyle as F, Fragment as D, renderList as E, normalizeClass as P, onUnmounted as O } from "vue";
|
|
2
2
|
import { ClientOnly as I } from "#components";
|
|
3
|
-
import { v4 as
|
|
4
|
-
const
|
|
3
|
+
import { v4 as R } from "uuid";
|
|
4
|
+
const G = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], Qe = {
|
|
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) => (s(), r("bs-badge",
|
|
16
|
+
setup(e, { emit: n }) {
|
|
17
|
+
return (a, t) => (s(), r("bs-badge", d(a.$attrs, {
|
|
18
18
|
color: e.color,
|
|
19
19
|
count: e.count,
|
|
20
20
|
"count-max": e.countMax,
|
|
@@ -24,22 +24,22 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
24
24
|
"show-zero": e.showZero
|
|
25
25
|
}), [
|
|
26
26
|
f(a.$slots, "default")
|
|
27
|
-
], 16,
|
|
27
|
+
], 16, G));
|
|
28
28
|
}
|
|
29
|
-
},
|
|
29
|
+
}, j = ["char-count", "char-max"], Ke = {
|
|
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) => (s(), r("bs-character-count",
|
|
36
|
+
setup(e, { emit: n }) {
|
|
37
|
+
return (a, t) => (s(), r("bs-character-count", d(a.$attrs, {
|
|
38
38
|
"char-count": e.charCount,
|
|
39
39
|
"char-max": e.charMax
|
|
40
|
-
}), null, 16,
|
|
40
|
+
}), null, 16, j));
|
|
41
41
|
}
|
|
42
|
-
},
|
|
42
|
+
}, N = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], _e = {
|
|
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) => (s(), r("bs-chart-bar",
|
|
57
|
+
setup(e, { emit: n }) {
|
|
58
|
+
return (a, t) => (s(), r("bs-chart-bar", d(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, N));
|
|
70
70
|
}
|
|
71
|
-
},
|
|
71
|
+
}, W = ["data", "dataIdxLabels", "table-title"], et = {
|
|
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) => (s(), r("bs-chart-table",
|
|
79
|
+
setup(e, { emit: n }) {
|
|
80
|
+
return (a, t) => (s(), r("bs-chart-table", d(a.$attrs, {
|
|
81
81
|
data: e.data,
|
|
82
82
|
dataIdxLabels: e.dataIdxLabels,
|
|
83
83
|
"table-title": e.tableTitle
|
|
84
|
-
}), null, 16,
|
|
84
|
+
}), null, 16, W));
|
|
85
85
|
}
|
|
86
|
-
},
|
|
86
|
+
}, H = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"], tt = {
|
|
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) => (s(), r("bs-checkbox",
|
|
101
|
+
setup(e, { emit: n }) {
|
|
102
|
+
return (a, t) => (s(), r("bs-checkbox", d(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] = (
|
|
113
|
-
}), null, 16,
|
|
112
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
|
|
113
|
+
}), null, 16, H));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
function
|
|
117
|
-
const
|
|
118
|
-
var
|
|
119
|
-
return ((
|
|
116
|
+
function T(e) {
|
|
117
|
+
const n = b(() => {
|
|
118
|
+
var l, i;
|
|
119
|
+
return ((i = (l = e.href) == null ? void 0 : l.startsWith) == null ? void 0 : i.call(l, "/")) || !1;
|
|
120
120
|
}), a = b(() => {
|
|
121
|
-
var
|
|
122
|
-
return
|
|
121
|
+
var l, i;
|
|
122
|
+
return n.value && ((l = e.router) == null ? void 0 : l.navigateTo) || ((i = e.router) == null ? void 0 : i.push) || null;
|
|
123
123
|
});
|
|
124
|
-
function t(
|
|
125
|
-
var
|
|
126
|
-
a.value && ((
|
|
124
|
+
function t(l) {
|
|
125
|
+
var i, o, h, u, g;
|
|
126
|
+
a.value && ((o = (i = l.target.href) == null ? void 0 : i.endsWith) != null && o.call(i, e.href) || (g = (u = (h = l.target.closest("a")) == null ? void 0 : h.href) == null ? void 0 : u.endsWith) != null && g.call(u, e.href)) && (l.preventDefault(), a.value(e.href));
|
|
127
127
|
}
|
|
128
128
|
return { onLinkClick: t };
|
|
129
129
|
}
|
|
130
|
-
const
|
|
130
|
+
const U = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], at = {
|
|
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:
|
|
147
|
-
const a = e, { onLinkClick: t } =
|
|
148
|
-
return (
|
|
146
|
+
setup(e, { emit: n }) {
|
|
147
|
+
const a = e, { onLinkClick: t } = T(a);
|
|
148
|
+
return (l, i) => (s(), r("bs-circle-button", d(l.$attrs, {
|
|
149
149
|
disabled: e.disabled,
|
|
150
150
|
"ghost-btn": e.ghostBtn,
|
|
151
151
|
"hover-effect": e.hoverEffect,
|
|
@@ -156,10 +156,10 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
156
156
|
"pass-attrs": e.passAttrs,
|
|
157
157
|
"text-btn": e.textBtn,
|
|
158
158
|
size: e.size,
|
|
159
|
-
onClick:
|
|
160
|
-
}), null, 16,
|
|
159
|
+
onClick: i[0] || (i[0] = (...o) => m(t) && m(t)(...o))
|
|
160
|
+
}), null, 16, U));
|
|
161
161
|
}
|
|
162
|
-
},
|
|
162
|
+
}, Y = ["width", "top", "center", "toggle-id", "container-id", "helper-text", "helper-description", "enter-controlled", "enter-trigger", "leave-trigger"], lt = {
|
|
163
163
|
__name: "BsDropdown",
|
|
164
164
|
props: {
|
|
165
165
|
width: { default: void 0 },
|
|
@@ -174,10 +174,10 @@ 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) => (s(),
|
|
179
|
-
default:
|
|
180
|
-
|
|
177
|
+
setup(e, { emit: n }) {
|
|
178
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
179
|
+
default: B(() => [
|
|
180
|
+
c("bs-dropdown", d(a.$attrs, {
|
|
181
181
|
width: e.width,
|
|
182
182
|
top: e.top,
|
|
183
183
|
center: e.center,
|
|
@@ -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
|
-
], 16,
|
|
196
|
+
], 16, Y)
|
|
197
197
|
]),
|
|
198
198
|
_: 3
|
|
199
199
|
}));
|
|
200
200
|
}
|
|
201
|
-
},
|
|
201
|
+
}, X = ["value", "variant", "options-id", "selected", "focused", "index"], nt = {
|
|
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) => (s(), r("bs-dropdown-option",
|
|
212
|
+
setup(e, { emit: n }) {
|
|
213
|
+
return (a, t) => (s(), r("bs-dropdown-option", d(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
|
-
], 16,
|
|
224
|
+
], 16, X));
|
|
225
225
|
}
|
|
226
|
-
},
|
|
226
|
+
}, Z = ["options-id", "visible", "focus-delay", "label", "selected-value"], st = {
|
|
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) => (s(),
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
236
|
+
setup(e, { emit: n }) {
|
|
237
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
238
|
+
default: B(() => [
|
|
239
|
+
c("bs-dropdown-option-list", d(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, Z)
|
|
250
|
+
]),
|
|
251
|
+
_: 3
|
|
252
|
+
}));
|
|
248
253
|
}
|
|
249
|
-
},
|
|
254
|
+
}, J = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description"], it = {
|
|
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) => (s(),
|
|
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(), $(m(I), null, {
|
|
274
|
+
default: B(() => [
|
|
275
|
+
c("bs-dropdown-with-options", d(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, J)
|
|
296
|
+
]),
|
|
297
|
+
_: 3
|
|
298
|
+
}));
|
|
289
299
|
}
|
|
290
|
-
},
|
|
300
|
+
}, Q = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], rt = {
|
|
291
301
|
__name: "BsFieldDetails",
|
|
292
302
|
props: {
|
|
293
303
|
charCount: {},
|
|
@@ -298,17 +308,17 @@ 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) => (s(), r("bs-field-details",
|
|
311
|
+
setup(e, { emit: n }) {
|
|
312
|
+
return (a, t) => (s(), r("bs-field-details", d(a.$attrs, {
|
|
303
313
|
"char-count": e.charCount,
|
|
304
314
|
"char-max": e.charMax,
|
|
305
315
|
error: e.error,
|
|
306
316
|
"error-msg": e.errorMsg,
|
|
307
317
|
hint: e.hint,
|
|
308
318
|
"hint-id": e.hintId
|
|
309
|
-
}), null, 16,
|
|
319
|
+
}), null, 16, Q));
|
|
310
320
|
}
|
|
311
|
-
},
|
|
321
|
+
}, K = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], dt = {
|
|
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) => (s(), r("bs-field-layout",
|
|
335
|
+
setup(e, { emit: n }) {
|
|
336
|
+
return (a, t) => (s(), r("bs-field-layout", d(a.$attrs, {
|
|
327
337
|
"char-count": e.charCount,
|
|
328
338
|
"char-max": e.charMax,
|
|
329
339
|
disabled: e.disabled,
|
|
@@ -335,9 +345,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
335
345
|
"hint-id": e.hintId
|
|
336
346
|
}), [
|
|
337
347
|
f(a.$slots, "default")
|
|
338
|
-
], 16,
|
|
348
|
+
], 16, K));
|
|
339
349
|
}
|
|
340
|
-
},
|
|
350
|
+
}, _ = ["error", "hint-id", "hints"], ot = {
|
|
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) => (s(), r("bs-hint",
|
|
358
|
+
setup(e, { emit: n }) {
|
|
359
|
+
return (a, t) => (s(), r("bs-hint", d(a.$attrs, {
|
|
350
360
|
error: e.error,
|
|
351
361
|
"hint-id": e.hintId,
|
|
352
362
|
hints: e.hints
|
|
353
|
-
}), null, 16,
|
|
363
|
+
}), null, 16, _));
|
|
354
364
|
}
|
|
355
|
-
},
|
|
365
|
+
}, ee = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ut = {
|
|
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) => (s(), r("bs-input",
|
|
380
|
+
setup(e, { emit: n }) {
|
|
381
|
+
return (a, t) => (s(), r("bs-input", d(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] = (
|
|
382
|
-
}), null, 16,
|
|
391
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
392
|
+
}), null, 16, ee));
|
|
383
393
|
}
|
|
384
|
-
},
|
|
394
|
+
}, te = ["disabled", "error", "multifocus", "variant"], ct = {
|
|
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) => (s(), r("bs-input-addon",
|
|
403
|
+
setup(e, { emit: n }) {
|
|
404
|
+
return (a, t) => (s(), r("bs-input-addon", d(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
|
-
], 16,
|
|
411
|
+
], 16, te));
|
|
402
412
|
}
|
|
403
|
-
},
|
|
413
|
+
}, ae = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], ft = {
|
|
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) => (s(), r("bs-input-field",
|
|
431
|
+
setup(e, { emit: n }) {
|
|
432
|
+
return (a, t) => (s(), r("bs-input-field", d(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] = (
|
|
436
|
-
}), null, 16,
|
|
445
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
446
|
+
}), null, 16, ae));
|
|
437
447
|
}
|
|
438
|
-
},
|
|
448
|
+
}, le = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"], ht = {
|
|
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) => (s(), r("bs-input-search",
|
|
460
|
+
setup(e, { emit: n }) {
|
|
461
|
+
return (a, t) => (s(), r("bs-input-search", d(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] = (
|
|
460
|
-
}), null, 16,
|
|
468
|
+
onClear: t[0] || (t[0] = (l) => n("clear", l.detail)),
|
|
469
|
+
onInput: t[1] || (t[1] = (l) => n("update:modelValue", l.target.value))
|
|
470
|
+
}), null, 16, le));
|
|
461
471
|
}
|
|
462
|
-
},
|
|
472
|
+
}, ne = ["size", "variant"], mt = {
|
|
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) => (s(), r("bs-loader",
|
|
479
|
+
setup(e, { emit: n }) {
|
|
480
|
+
return (a, t) => (s(), r("bs-loader", d(a.$attrs, {
|
|
471
481
|
size: e.size,
|
|
472
482
|
variant: e.variant
|
|
473
|
-
}), null, 16,
|
|
483
|
+
}), null, 16, ne));
|
|
474
484
|
}
|
|
475
|
-
},
|
|
485
|
+
}, se = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], bt = {
|
|
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) => (s(),
|
|
487
|
-
default:
|
|
488
|
-
|
|
495
|
+
setup(e, { emit: n }) {
|
|
496
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
497
|
+
default: B(() => [
|
|
498
|
+
c("bs-modal", d(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
508
|
f(a.$slots, "default")
|
|
499
|
-
], 16,
|
|
509
|
+
], 16, se)
|
|
500
510
|
]),
|
|
501
511
|
_: 3
|
|
502
512
|
}));
|
|
503
513
|
}
|
|
504
|
-
},
|
|
514
|
+
}, ie = ["enter-controlled", "enter-trigger", "leave-trigger"], gt = {
|
|
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) => (s(),
|
|
514
|
-
default:
|
|
515
|
-
|
|
522
|
+
setup(e, { emit: n }) {
|
|
523
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
524
|
+
default: B(() => [
|
|
525
|
+
c("bs-overlay", d(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, ie)
|
|
522
532
|
]),
|
|
523
533
|
_: 1
|
|
524
534
|
}));
|
|
525
535
|
}
|
|
526
|
-
},
|
|
536
|
+
}, re = ["show-first-last-buttons", "prev-page-text", "first-page-text", "next-page-text", "last-page-text", "fixed", "variant", "selection", "center-display", "break-text", "page-range", "page-count", "center-label", "items-per-group", "items-count", "results-increments"], vt = {
|
|
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) => (s(), r("bs-pagination",
|
|
557
|
+
setup(e, { emit: n }) {
|
|
558
|
+
return (a, t) => (s(), r("bs-pagination", d(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, re));
|
|
567
577
|
}
|
|
568
|
-
},
|
|
578
|
+
}, de = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], $t = {
|
|
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:
|
|
588
|
-
const a = e, { onLinkClick: t } =
|
|
589
|
-
return (
|
|
597
|
+
setup(e, { emit: n }) {
|
|
598
|
+
const a = e, { onLinkClick: t } = T(a);
|
|
599
|
+
return (l, i) => (s(), r("bs-profile", d(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:
|
|
604
|
-
onClick:
|
|
605
|
-
}), null, 16,
|
|
613
|
+
onActionToggled: i[0] || (i[0] = (o) => n("action-toggled", o.detail)),
|
|
614
|
+
onClick: i[1] || (i[1] = (...o) => m(t) && m(t)(...o))
|
|
615
|
+
}), null, 16, de));
|
|
606
616
|
}
|
|
607
|
-
},
|
|
617
|
+
}, oe = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], Bt = {
|
|
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) => (s(), r("bs-profile-details",
|
|
630
|
+
setup(e, { emit: n }) {
|
|
631
|
+
return (a, t) => (s(), r("bs-profile-details", d(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] = (
|
|
631
|
-
}), null, 16,
|
|
640
|
+
onActionToggled: t[0] || (t[0] = (l) => n("action-toggled", l.detail))
|
|
641
|
+
}), null, 16, oe));
|
|
632
642
|
}
|
|
633
|
-
},
|
|
643
|
+
}, ue = ["src", "size", "initials", "profile-name"], It = {
|
|
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) => (s(), r("bs-profile-img",
|
|
652
|
+
setup(e, { emit: n }) {
|
|
653
|
+
return (a, t) => (s(), r("bs-profile-img", d(a.$attrs, {
|
|
644
654
|
src: e.src,
|
|
645
655
|
size: e.size,
|
|
646
656
|
initials: e.initials,
|
|
647
657
|
"profile-name": e.profileName
|
|
648
|
-
}), null, 16,
|
|
658
|
+
}), null, 16, ue));
|
|
649
659
|
}
|
|
650
|
-
},
|
|
660
|
+
}, ce = ["layout", "href", "pass-attrs"], xt = {
|
|
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:
|
|
660
|
-
const a = e, { onLinkClick: t } =
|
|
661
|
-
return (
|
|
669
|
+
setup(e, { emit: n }) {
|
|
670
|
+
const a = e, { onLinkClick: t } = T(a);
|
|
671
|
+
return (l, i) => (s(), r("bs-profile-layout", d(l.$attrs, {
|
|
662
672
|
layout: e.layout,
|
|
663
673
|
href: e.href,
|
|
664
674
|
"pass-attrs": e.passAttrs,
|
|
665
|
-
onClick:
|
|
675
|
+
onClick: i[0] || (i[0] = (...o) => m(t) && m(t)(...o))
|
|
666
676
|
}), [
|
|
667
|
-
f(
|
|
668
|
-
], 16,
|
|
677
|
+
f(l.$slots, "default")
|
|
678
|
+
], 16, ce));
|
|
669
679
|
}
|
|
670
|
-
},
|
|
680
|
+
}, fe = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], yt = {
|
|
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) => (s(), r("bs-radio",
|
|
695
|
+
setup(e, { emit: n }) {
|
|
696
|
+
return (a, t) => (s(), r("bs-radio", d(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] = (
|
|
697
|
-
}), null, 16,
|
|
706
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
707
|
+
}), null, 16, fe));
|
|
698
708
|
}
|
|
699
|
-
},
|
|
709
|
+
}, he = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], Tt = {
|
|
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) => (s(), r("bs-select-field",
|
|
727
|
+
setup(e, { emit: n }) {
|
|
728
|
+
return (a, t) => (s(), r("bs-select-field", d(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] = (
|
|
732
|
-
}), null, 16,
|
|
741
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
742
|
+
}), null, 16, he));
|
|
733
743
|
}
|
|
734
|
-
},
|
|
744
|
+
}, me = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], Ct = {
|
|
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) => (s(), r("bs-switch",
|
|
759
|
+
setup(e, { emit: n }) {
|
|
760
|
+
return (a, t) => (s(), r("bs-switch", d(a.$attrs, {
|
|
751
761
|
checked: e.checked || e.modelValue,
|
|
752
762
|
disabled: e.disabled,
|
|
753
763
|
"hide-label": e.hideLabel,
|
|
@@ -757,10 +767,10 @@ 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] = (
|
|
761
|
-
}), null, 16,
|
|
770
|
+
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
|
|
771
|
+
}), null, 16, me));
|
|
762
772
|
}
|
|
763
|
-
},
|
|
773
|
+
}, be = ["active-tab-id", "hidden", "panel-id"], wt = {
|
|
764
774
|
__name: "BsTab",
|
|
765
775
|
props: {
|
|
766
776
|
activeTabId: {},
|
|
@@ -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) => (s(), r("bs-tab",
|
|
781
|
+
setup(e, { emit: n }) {
|
|
782
|
+
return (a, t) => (s(), r("bs-tab", d(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
|
-
], 16,
|
|
788
|
+
], 16, be));
|
|
779
789
|
}
|
|
780
|
-
},
|
|
790
|
+
}, ge = ["active-tab-id", "helper-text", "helper-description"], kt = {
|
|
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", d(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
|
-
|
|
800
|
-
default:
|
|
809
|
+
S(m(I), null, {
|
|
810
|
+
default: B(() => [
|
|
801
811
|
f(t.$slots, "default")
|
|
802
812
|
]),
|
|
803
813
|
_: 3
|
|
804
814
|
})
|
|
805
|
-
], 16,
|
|
815
|
+
], 16, ge));
|
|
806
816
|
}
|
|
807
|
-
},
|
|
817
|
+
}, ve = ["active-tab-id", "tab-id"], pt = {
|
|
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) => (s(), r("bs-tab-panel",
|
|
824
|
+
setup(e, { emit: n }) {
|
|
825
|
+
return (a, t) => (s(), r("bs-tab-panel", d(a.$attrs, {
|
|
816
826
|
"active-tab-id": e.activeTabId,
|
|
817
827
|
"tab-id": e.tabId
|
|
818
828
|
}), [
|
|
819
829
|
f(a.$slots, "default")
|
|
820
|
-
], 16,
|
|
830
|
+
], 16, ve));
|
|
821
831
|
}
|
|
822
|
-
},
|
|
832
|
+
}, $e = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], At = {
|
|
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) => (s(), r("bs-textarea",
|
|
847
|
+
setup(e, { emit: n }) {
|
|
848
|
+
return (a, t) => (s(), r("bs-textarea", d(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] = (
|
|
849
|
-
}), null, 16,
|
|
858
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
859
|
+
}), null, 16, $e));
|
|
850
860
|
}
|
|
851
|
-
},
|
|
861
|
+
}, Be = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], Lt = {
|
|
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) => (s(), r("bs-textarea-field",
|
|
880
|
+
setup(e, { emit: n }) {
|
|
881
|
+
return (a, t) => (s(), r("bs-textarea-field", d(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] = (
|
|
886
|
-
}), null, 16,
|
|
895
|
+
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
896
|
+
}), null, 16, Be));
|
|
887
897
|
}
|
|
888
|
-
},
|
|
898
|
+
}, Ie = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Vt = {
|
|
889
899
|
__name: "BsToast",
|
|
890
900
|
props: {
|
|
891
901
|
toastId: {},
|
|
@@ -897,10 +907,10 @@ 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) => (s(),
|
|
902
|
-
default:
|
|
903
|
-
|
|
910
|
+
setup(e, { emit: n }) {
|
|
911
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
912
|
+
default: B(() => [
|
|
913
|
+
c("bs-toast", d(a.$attrs, {
|
|
904
914
|
"toast-id": e.toastId,
|
|
905
915
|
variant: e.variant,
|
|
906
916
|
stacked: e.stacked,
|
|
@@ -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
|
-
], 16,
|
|
926
|
+
], 16, Ie)
|
|
917
927
|
]),
|
|
918
928
|
_: 3
|
|
919
929
|
}));
|
|
920
930
|
}
|
|
921
|
-
},
|
|
931
|
+
}, qt = {
|
|
922
932
|
__name: "BsToastActions",
|
|
923
933
|
props: {},
|
|
924
934
|
emits: ["defaultDismiss"],
|
|
925
|
-
setup(e, { emit:
|
|
926
|
-
return (a, t) => (s(), r("bs-toast-actions",
|
|
927
|
-
"on:defaultDismiss": t[0] || (t[0] = (
|
|
935
|
+
setup(e, { emit: n }) {
|
|
936
|
+
return (a, t) => (s(), r("bs-toast-actions", d(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
|
+
}, zt = {
|
|
933
943
|
__name: "BsToastBody",
|
|
934
944
|
props: {},
|
|
935
945
|
emits: [],
|
|
936
|
-
setup(e, { emit:
|
|
937
|
-
return (a, t) => (s(), r("bs-toast-body",
|
|
946
|
+
setup(e, { emit: n }) {
|
|
947
|
+
return (a, t) => (s(), r("bs-toast-body", L(V(a.$attrs)), [
|
|
938
948
|
f(a.$slots, "default")
|
|
939
949
|
], 16));
|
|
940
950
|
}
|
|
941
|
-
},
|
|
951
|
+
}, xe = ["variant"], Dt = {
|
|
942
952
|
__name: "BsToastHeader",
|
|
943
953
|
props: {
|
|
944
954
|
variant: {}
|
|
945
955
|
},
|
|
946
956
|
emits: [],
|
|
947
|
-
setup(e, { emit:
|
|
948
|
-
return (a, t) => (s(), r("bs-toast-header",
|
|
957
|
+
setup(e, { emit: n }) {
|
|
958
|
+
return (a, t) => (s(), r("bs-toast-header", d(a.$attrs, { variant: e.variant }), [
|
|
949
959
|
f(a.$slots, "default")
|
|
950
|
-
], 16,
|
|
960
|
+
], 16, xe));
|
|
951
961
|
}
|
|
952
|
-
},
|
|
962
|
+
}, Pt = {
|
|
953
963
|
__name: "BsToaster",
|
|
954
964
|
props: {},
|
|
955
965
|
emits: [],
|
|
956
|
-
setup(e, { emit:
|
|
957
|
-
return (a, t) => (s(),
|
|
958
|
-
default:
|
|
959
|
-
|
|
966
|
+
setup(e, { emit: n }) {
|
|
967
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
968
|
+
default: B(() => [
|
|
969
|
+
c("bs-toaster", L(V(a.$attrs)), [
|
|
960
970
|
f(a.$slots, "default")
|
|
961
971
|
], 16)
|
|
962
972
|
]),
|
|
963
973
|
_: 3
|
|
964
974
|
}));
|
|
965
975
|
}
|
|
966
|
-
},
|
|
976
|
+
}, ye = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], Mt = {
|
|
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) => (s(), r("bs-transition",
|
|
990
|
+
setup(e, { emit: n }) {
|
|
991
|
+
return (a, t) => (s(), r("bs-transition", d(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
|
-
], 16,
|
|
1005
|
+
], 16, ye));
|
|
996
1006
|
}
|
|
997
1007
|
};
|
|
998
|
-
function
|
|
999
|
-
return
|
|
1008
|
+
function M() {
|
|
1009
|
+
return R();
|
|
1000
1010
|
}
|
|
1001
|
-
const
|
|
1011
|
+
const Te = ["data-stacked"], Ce = ["data-open"], we = ["aria-controls", "aria-expanded"], ke = ["id", "aria-level"], pe = /* @__PURE__ */ c("bs-icon-caret-down", { "data-position": "end" }, null, -1), Ae = ["aria-labelledby", "data-open", "id"], Le = { "data-slot": "" }, St = {
|
|
1002
1012
|
__name: "BsAccordion",
|
|
1003
1013
|
props: {
|
|
1004
1014
|
controlled: { default: !1 },
|
|
@@ -1010,93 +1020,93 @@ 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
|
-
|
|
1016
|
-
var
|
|
1017
|
-
(
|
|
1023
|
+
setup(e, { emit: n }) {
|
|
1024
|
+
const a = e, t = v(null), l = v(""), i = v(""), o = v(!1), h = b(() => a.icon ? `bs-icon-${a.icon}` : null), u = b(() => a.openItemId === t.value.id || a.openItem === !0), g = b(() => a.controlled ? u.value : o.value);
|
|
1025
|
+
k(() => {
|
|
1026
|
+
var x;
|
|
1027
|
+
(x = t.value) != null && x.id || t.value.setAttribute("id", M()), l.value = t.value.id + "-content", i.value = t.value.id + "-title";
|
|
1018
1028
|
});
|
|
1019
|
-
function
|
|
1020
|
-
|
|
1029
|
+
function C() {
|
|
1030
|
+
n("toggled", t.value.id), a.controlled || (o.value = !o.value);
|
|
1021
1031
|
}
|
|
1022
|
-
return (
|
|
1032
|
+
return (x, y) => (s(), r("bs-host", {
|
|
1023
1033
|
ref_key: "hostRef",
|
|
1024
1034
|
ref: t,
|
|
1025
1035
|
class: "bs-accordion",
|
|
1026
1036
|
"data-component": "bs-accordion",
|
|
1027
1037
|
"data-stacked": e.stacked
|
|
1028
1038
|
}, [
|
|
1029
|
-
|
|
1039
|
+
c("header", {
|
|
1030
1040
|
part: "header",
|
|
1031
|
-
"data-open":
|
|
1041
|
+
"data-open": g.value
|
|
1032
1042
|
}, [
|
|
1033
|
-
|
|
1034
|
-
"aria-controls":
|
|
1035
|
-
"aria-expanded":
|
|
1043
|
+
c("button", {
|
|
1044
|
+
"aria-controls": l.value,
|
|
1045
|
+
"aria-expanded": g.value,
|
|
1036
1046
|
type: "button",
|
|
1037
|
-
onClick:
|
|
1047
|
+
onClick: C
|
|
1038
1048
|
}, [
|
|
1039
|
-
|
|
1049
|
+
h.value ? (s(), $(p(h.value), {
|
|
1040
1050
|
key: 0,
|
|
1041
1051
|
"data-position": "start"
|
|
1042
|
-
})) :
|
|
1043
|
-
|
|
1044
|
-
id:
|
|
1052
|
+
})) : q("", !0),
|
|
1053
|
+
c("span", {
|
|
1054
|
+
id: i.value,
|
|
1045
1055
|
"aria-level": e.headingLevel,
|
|
1046
1056
|
role: "heading"
|
|
1047
|
-
},
|
|
1048
|
-
|
|
1049
|
-
], 8,
|
|
1050
|
-
], 8,
|
|
1051
|
-
|
|
1052
|
-
"aria-labelledby":
|
|
1057
|
+
}, z(e.headerText), 9, ke),
|
|
1058
|
+
pe
|
|
1059
|
+
], 8, we)
|
|
1060
|
+
], 8, Ce),
|
|
1061
|
+
c("div", {
|
|
1062
|
+
"aria-labelledby": i.value,
|
|
1053
1063
|
class: "bs-accordion-content",
|
|
1054
|
-
"data-open":
|
|
1055
|
-
id:
|
|
1064
|
+
"data-open": g.value,
|
|
1065
|
+
id: l.value,
|
|
1056
1066
|
part: "content",
|
|
1057
1067
|
role: "region"
|
|
1058
1068
|
}, [
|
|
1059
|
-
|
|
1060
|
-
f(
|
|
1069
|
+
c("div", Le, [
|
|
1070
|
+
f(x.$slots, "default")
|
|
1061
1071
|
])
|
|
1062
|
-
], 8,
|
|
1063
|
-
], 8,
|
|
1072
|
+
], 8, Ae)
|
|
1073
|
+
], 8, Te));
|
|
1064
1074
|
}
|
|
1065
1075
|
};
|
|
1066
|
-
const
|
|
1076
|
+
const Ve = ["data-dismissed"], qe = { class: "bs-banner-content" }, ze = /* @__PURE__ */ c("bs-icon-warning", {
|
|
1067
1077
|
size: "lg",
|
|
1068
1078
|
class: "bs-banner-warning-icon"
|
|
1069
|
-
}, null, -1),
|
|
1070
|
-
|
|
1071
|
-
],
|
|
1079
|
+
}, null, -1), De = { "data-slot": "" }, Pe = /* @__PURE__ */ c("bs-icon-close", null, null, -1), Me = [
|
|
1080
|
+
Pe
|
|
1081
|
+
], Ft = {
|
|
1072
1082
|
__name: "BsBanner",
|
|
1073
1083
|
emits: ["dismiss"],
|
|
1074
|
-
setup(e, { emit:
|
|
1075
|
-
const a =
|
|
1084
|
+
setup(e, { emit: n }) {
|
|
1085
|
+
const a = v(!1);
|
|
1076
1086
|
function t() {
|
|
1077
|
-
a.value = !0,
|
|
1087
|
+
a.value = !0, n("dismiss");
|
|
1078
1088
|
}
|
|
1079
|
-
return (
|
|
1089
|
+
return (l, i) => (s(), r("bs-host", {
|
|
1080
1090
|
role: "alert",
|
|
1081
1091
|
class: "bs-banner",
|
|
1082
1092
|
"data-component": "bs-banner",
|
|
1083
1093
|
"data-dismissed": a.value ? !0 : void 0
|
|
1084
1094
|
}, [
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
f(
|
|
1095
|
+
c("div", qe, [
|
|
1096
|
+
ze,
|
|
1097
|
+
c("div", De, [
|
|
1098
|
+
f(l.$slots, "default")
|
|
1089
1099
|
]),
|
|
1090
|
-
|
|
1100
|
+
c("button", {
|
|
1091
1101
|
type: "button",
|
|
1092
1102
|
title: "Close Banner",
|
|
1093
1103
|
onClick: t
|
|
1094
|
-
},
|
|
1104
|
+
}, Me)
|
|
1095
1105
|
])
|
|
1096
|
-
], 8,
|
|
1106
|
+
], 8, Ve));
|
|
1097
1107
|
}
|
|
1098
1108
|
};
|
|
1099
|
-
const
|
|
1109
|
+
const Se = ["data-disabled"], Et = {
|
|
1100
1110
|
__name: "BsButton",
|
|
1101
1111
|
props: {
|
|
1102
1112
|
variant: {},
|
|
@@ -1109,23 +1119,25 @@ const Pe = ["data-disabled"], Ft = {
|
|
|
1109
1119
|
size: {}
|
|
1110
1120
|
},
|
|
1111
1121
|
setup(e) {
|
|
1112
|
-
const
|
|
1113
|
-
const
|
|
1114
|
-
download:
|
|
1115
|
-
target:
|
|
1122
|
+
const n = e, a = v(null), t = v(null), { onLinkClick: l } = T(n), i = w(), o = b(() => {
|
|
1123
|
+
const u = {
|
|
1124
|
+
download: i.download,
|
|
1125
|
+
target: i.target
|
|
1116
1126
|
};
|
|
1117
|
-
return
|
|
1127
|
+
return n.href ? (u.title = i.title, n.disabled && (u["aria-disabled"] = "true", u.tabindex = "-1")) : (u.type = i.type || "button", u.autcomplete = "off"), u;
|
|
1118
1128
|
});
|
|
1119
|
-
function
|
|
1120
|
-
var
|
|
1121
|
-
(
|
|
1129
|
+
function h(u) {
|
|
1130
|
+
var g, C, x, y, A;
|
|
1131
|
+
(n.disabled || ((C = (g = a.value) == null ? void 0 : g.dataset) == null ? void 0 : C.disabled) === "true" || (x = t.value) != null && x.disabled || ((A = (y = t.value) == null ? void 0 : y.getAttribute) == null ? void 0 : A.call(y, "aria-disabled")) === "true") && (u.preventDefault(), u.stopImmediatePropagation());
|
|
1122
1132
|
}
|
|
1123
|
-
return (
|
|
1133
|
+
return (u, g) => (s(), r("bs-host", {
|
|
1134
|
+
ref_key: "hostRef",
|
|
1135
|
+
ref: a,
|
|
1124
1136
|
"data-component": "bs-button",
|
|
1125
|
-
"data-disabled": e.disabled
|
|
1126
|
-
onClickCapture:
|
|
1137
|
+
"data-disabled": e.disabled,
|
|
1138
|
+
onClickCapture: h
|
|
1127
1139
|
}, [
|
|
1128
|
-
(s(),
|
|
1140
|
+
(s(), $(p(e.href ? "a" : "button"), d({
|
|
1129
1141
|
"data-slot": "",
|
|
1130
1142
|
class: "bs-button",
|
|
1131
1143
|
"data-ghost": e.ghostBtn,
|
|
@@ -1133,49 +1145,51 @@ const Pe = ["data-disabled"], Ft = {
|
|
|
1133
1145
|
"data-text": e.textBtn,
|
|
1134
1146
|
"data-variant": e.variant,
|
|
1135
1147
|
disabled: e.disabled,
|
|
1136
|
-
href: e.href
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1148
|
+
href: e.href,
|
|
1149
|
+
ref_key: "childRef",
|
|
1150
|
+
ref: t
|
|
1151
|
+
}, o.value, { onClick: m(l) }), {
|
|
1152
|
+
default: B(() => [
|
|
1153
|
+
f(u.$slots, "default")
|
|
1140
1154
|
]),
|
|
1141
1155
|
_: 3
|
|
1142
1156
|
}, 16, ["data-ghost", "data-size", "data-text", "data-variant", "disabled", "href", "onClick"]))
|
|
1143
|
-
], 40,
|
|
1157
|
+
], 40, Se));
|
|
1144
1158
|
}
|
|
1145
1159
|
};
|
|
1146
|
-
const
|
|
1160
|
+
const Fe = ["offset", "stop-color"], Ot = {
|
|
1147
1161
|
__name: "BsIconGradientWrapper",
|
|
1148
1162
|
setup(e) {
|
|
1149
|
-
const
|
|
1163
|
+
const n = [
|
|
1150
1164
|
{ offset: 0.1326, color: "#EE282A" },
|
|
1151
1165
|
{ offset: 0.5466, color: "#1C0087" },
|
|
1152
1166
|
{ offset: 0.9715, color: "#0086EA" }
|
|
1153
|
-
], a = `svg-gradient-${
|
|
1154
|
-
function
|
|
1155
|
-
var
|
|
1156
|
-
const
|
|
1157
|
-
(
|
|
1167
|
+
], a = `svg-gradient-${M()}`, t = v(null), l = v(null);
|
|
1168
|
+
function i() {
|
|
1169
|
+
var h;
|
|
1170
|
+
const o = t.value.querySelector(".svg-wrapper svg");
|
|
1171
|
+
(h = l.value) == null || h.setAttribute("viewBox", (o == null ? void 0 : o.getAttribute("viewBox")) || "0 0 0 0");
|
|
1158
1172
|
}
|
|
1159
|
-
return
|
|
1173
|
+
return k(i), (o, h) => (s(), r("bs-host", {
|
|
1160
1174
|
ref_key: "hostRef",
|
|
1161
1175
|
ref: t,
|
|
1162
1176
|
"data-component": "bs-icon-gradient-wrapper"
|
|
1163
1177
|
}, [
|
|
1164
|
-
|
|
1178
|
+
c("span", {
|
|
1165
1179
|
class: "svg-wrapper",
|
|
1166
|
-
style:
|
|
1180
|
+
style: F(`fill: url(#${a});`),
|
|
1167
1181
|
"data-slot": ""
|
|
1168
1182
|
}, [
|
|
1169
|
-
f(
|
|
1183
|
+
f(o.$slots, "default")
|
|
1170
1184
|
], 4),
|
|
1171
1185
|
(s(), r("svg", {
|
|
1172
1186
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1173
1187
|
width: "0",
|
|
1174
1188
|
height: "0",
|
|
1175
1189
|
ref_key: "gradientSvgRef",
|
|
1176
|
-
ref:
|
|
1190
|
+
ref: l
|
|
1177
1191
|
}, [
|
|
1178
|
-
|
|
1192
|
+
c("linearGradient", {
|
|
1179
1193
|
id: a,
|
|
1180
1194
|
x1: "0",
|
|
1181
1195
|
y1: "0",
|
|
@@ -1183,20 +1197,20 @@ const Me = ["offset", "stop-color"], Et = {
|
|
|
1183
1197
|
y2: "100%",
|
|
1184
1198
|
gradientUnits: "userSpaceOnUse"
|
|
1185
1199
|
}, [
|
|
1186
|
-
(s(), r(
|
|
1187
|
-
key:
|
|
1188
|
-
offset:
|
|
1189
|
-
"stop-color":
|
|
1190
|
-
}, null, 8,
|
|
1200
|
+
(s(), r(D, null, E(n, (u) => c("stop", {
|
|
1201
|
+
key: u.offset,
|
|
1202
|
+
offset: u.offset,
|
|
1203
|
+
"stop-color": u.color
|
|
1204
|
+
}, null, 8, Fe)), 64))
|
|
1191
1205
|
])
|
|
1192
1206
|
], 512))
|
|
1193
1207
|
], 512));
|
|
1194
1208
|
}
|
|
1195
1209
|
};
|
|
1196
|
-
const
|
|
1210
|
+
const Ee = ["data-disabled", "htmlFor"], Oe = { "data-slot": "" }, Re = /* @__PURE__ */ c("span", {
|
|
1197
1211
|
"data-required": "",
|
|
1198
1212
|
"aria-hidden": "true"
|
|
1199
|
-
}, " *", -1),
|
|
1213
|
+
}, " *", -1), Ge = /* @__PURE__ */ c("span", { class: "visually-hidden" }, "required", -1), Rt = {
|
|
1200
1214
|
__name: "BsLabel",
|
|
1201
1215
|
props: {
|
|
1202
1216
|
disabled: {},
|
|
@@ -1206,32 +1220,32 @@ const Se = ["data-disabled", "htmlFor"], Fe = { "data-slot": "" }, Ee = /* @__PU
|
|
|
1206
1220
|
required: {}
|
|
1207
1221
|
},
|
|
1208
1222
|
setup(e) {
|
|
1209
|
-
const
|
|
1210
|
-
const
|
|
1211
|
-
return
|
|
1212
|
-
|
|
1213
|
-
}),
|
|
1223
|
+
const n = e, a = w(), t = b(() => {
|
|
1224
|
+
const l = {};
|
|
1225
|
+
return n.passAttrs.split(",").forEach((i) => {
|
|
1226
|
+
l[i] = a[i];
|
|
1227
|
+
}), l;
|
|
1214
1228
|
});
|
|
1215
|
-
return (
|
|
1229
|
+
return (l, i) => (s(), r("bs-host", {
|
|
1216
1230
|
"data-component": "bs-label",
|
|
1217
|
-
class:
|
|
1231
|
+
class: P(e.hide ? "visually-hidden" : "")
|
|
1218
1232
|
}, [
|
|
1219
|
-
|
|
1233
|
+
c("label", d({
|
|
1220
1234
|
"data-disabled": e.disabled,
|
|
1221
1235
|
htmlFor: e.for
|
|
1222
1236
|
}, t.value), [
|
|
1223
|
-
|
|
1224
|
-
f(
|
|
1237
|
+
c("span", Oe, [
|
|
1238
|
+
f(l.$slots, "default")
|
|
1225
1239
|
]),
|
|
1226
|
-
e.required ? (s(), r(
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
], 64)) :
|
|
1230
|
-
], 16,
|
|
1240
|
+
e.required ? (s(), r(D, { key: 0 }, [
|
|
1241
|
+
Re,
|
|
1242
|
+
Ge
|
|
1243
|
+
], 64)) : q("", !0)
|
|
1244
|
+
], 16, Ee)
|
|
1231
1245
|
], 2));
|
|
1232
1246
|
}
|
|
1233
1247
|
};
|
|
1234
|
-
const
|
|
1248
|
+
const je = { "data-component": "bs-pill" }, Gt = {
|
|
1235
1249
|
__name: "BsPill",
|
|
1236
1250
|
props: {
|
|
1237
1251
|
variant: {},
|
|
@@ -1242,14 +1256,14 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1242
1256
|
passAttrs: { default: "" }
|
|
1243
1257
|
},
|
|
1244
1258
|
setup(e) {
|
|
1245
|
-
const
|
|
1246
|
-
const
|
|
1247
|
-
return
|
|
1248
|
-
|
|
1249
|
-
}),
|
|
1259
|
+
const n = e, { onLinkClick: a } = T(n), t = w(), l = b(() => n.href ? "a" : t.type === "button" ? "button" : "span"), i = b(() => {
|
|
1260
|
+
const o = {};
|
|
1261
|
+
return n.passAttrs.split(",").forEach((h) => {
|
|
1262
|
+
o[h] = t[h];
|
|
1263
|
+
}), n.disabled && n.href && (o["aria-disabled"] = !0, o.tabindex = "-1", o.title = t.title), l.value === "button" && (o.type = t.type || "button"), o;
|
|
1250
1264
|
});
|
|
1251
|
-
return (
|
|
1252
|
-
(s(),
|
|
1265
|
+
return (o, h) => (s(), r("bs-host", je, [
|
|
1266
|
+
(s(), $(p(l.value), d({
|
|
1253
1267
|
class: "bs-pill",
|
|
1254
1268
|
"data-active": e.active,
|
|
1255
1269
|
"data-slot": "",
|
|
@@ -1257,16 +1271,16 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1257
1271
|
"data-variant": e.variant || void 0,
|
|
1258
1272
|
disabled: e.disabled,
|
|
1259
1273
|
href: e.href
|
|
1260
|
-
},
|
|
1261
|
-
default:
|
|
1262
|
-
f(
|
|
1274
|
+
}, i.value, { onClick: m(a) }), {
|
|
1275
|
+
default: B(() => [
|
|
1276
|
+
f(o.$slots, "default")
|
|
1263
1277
|
]),
|
|
1264
1278
|
_: 3
|
|
1265
1279
|
}, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]))
|
|
1266
1280
|
]));
|
|
1267
1281
|
}
|
|
1268
1282
|
};
|
|
1269
|
-
const
|
|
1283
|
+
const Ne = { "data-component": "bs-select" }, We = ["id", "disabled", "required", "data-error", "value"], jt = {
|
|
1270
1284
|
__name: "BsSelect",
|
|
1271
1285
|
props: {
|
|
1272
1286
|
disabled: { default: !1 },
|
|
@@ -1279,14 +1293,14 @@ const Ge = { "data-component": "bs-select" }, je = ["id", "disabled", "required"
|
|
|
1279
1293
|
modelValue: {}
|
|
1280
1294
|
},
|
|
1281
1295
|
setup(e) {
|
|
1282
|
-
const
|
|
1283
|
-
const
|
|
1284
|
-
return
|
|
1285
|
-
|
|
1286
|
-
}),
|
|
1296
|
+
const n = e, a = ["autocomplete", "multiple", "name", "size"], t = w(), l = b(() => ({ [n.error ? "aria-errormessage" : "aria-describedby"]: n.hintId })), i = b(() => {
|
|
1297
|
+
const o = { ...l.value };
|
|
1298
|
+
return n.passAttrs.split(",").concat(a).forEach((h) => {
|
|
1299
|
+
o[h] = t[h];
|
|
1300
|
+
}), o;
|
|
1287
1301
|
});
|
|
1288
|
-
return (
|
|
1289
|
-
|
|
1302
|
+
return (o, h) => (s(), r("bs-host", Ne, [
|
|
1303
|
+
c("select", d({
|
|
1290
1304
|
id: e.inputId,
|
|
1291
1305
|
class: "bs-select",
|
|
1292
1306
|
"data-slot": "",
|
|
@@ -1294,14 +1308,14 @@ const Ge = { "data-component": "bs-select" }, je = ["id", "disabled", "required"
|
|
|
1294
1308
|
required: e.required,
|
|
1295
1309
|
"data-error": e.error,
|
|
1296
1310
|
value: e.value || e.modelValue,
|
|
1297
|
-
onChange:
|
|
1298
|
-
},
|
|
1299
|
-
f(
|
|
1300
|
-
], 16,
|
|
1311
|
+
onChange: h[0] || (h[0] = (u) => o.emit("update:modelValue", u.target.value))
|
|
1312
|
+
}, i.value), [
|
|
1313
|
+
f(o.$slots, "default")
|
|
1314
|
+
], 16, We)
|
|
1301
1315
|
]));
|
|
1302
1316
|
}
|
|
1303
1317
|
};
|
|
1304
|
-
const
|
|
1318
|
+
const He = ["data-position"], Ue = { "data-slot": "" }, Ye = ["id"], Nt = {
|
|
1305
1319
|
__name: "BsTooltip",
|
|
1306
1320
|
props: {
|
|
1307
1321
|
tooltipId: {},
|
|
@@ -1309,93 +1323,93 @@ const Ne = ["data-position"], We = { "data-slot": "" }, He = ["id"], jt = {
|
|
|
1309
1323
|
position: {}
|
|
1310
1324
|
},
|
|
1311
1325
|
setup(e) {
|
|
1312
|
-
const
|
|
1313
|
-
let
|
|
1314
|
-
return t.value && (
|
|
1326
|
+
const n = e, a = v(!1), t = v(!1), l = b(() => {
|
|
1327
|
+
let u = "bs-tooltip-text";
|
|
1328
|
+
return t.value && (n.position === void 0 || n.position === "top" || n.position === "bottom" ? u += " escaped-x" : n.position === "left" || n.position === "right" ? u += " escaped-y" : u += " escaped"), u;
|
|
1315
1329
|
});
|
|
1316
|
-
|
|
1317
|
-
window.addEventListener("keydown",
|
|
1318
|
-
}),
|
|
1319
|
-
window.removeEventListener("keydown",
|
|
1330
|
+
k(() => {
|
|
1331
|
+
window.addEventListener("keydown", h);
|
|
1332
|
+
}), O(() => {
|
|
1333
|
+
window.removeEventListener("keydown", h);
|
|
1320
1334
|
});
|
|
1321
|
-
function
|
|
1335
|
+
function i() {
|
|
1322
1336
|
a.value = !0;
|
|
1323
1337
|
}
|
|
1324
|
-
function
|
|
1338
|
+
function o() {
|
|
1325
1339
|
a.value = !1, t.value = !1;
|
|
1326
1340
|
}
|
|
1327
|
-
function
|
|
1328
|
-
a.value &&
|
|
1341
|
+
function h(u) {
|
|
1342
|
+
a.value && u.key === "Escape" && (a.value = !1, t.value = !0);
|
|
1329
1343
|
}
|
|
1330
|
-
return (
|
|
1344
|
+
return (u, g) => (s(), r("bs-host", {
|
|
1331
1345
|
"data-component": "bs-tooltip",
|
|
1332
|
-
onMouseenter:
|
|
1333
|
-
onFocusin:
|
|
1334
|
-
onMouseleave:
|
|
1335
|
-
onFocusout:
|
|
1346
|
+
onMouseenter: i,
|
|
1347
|
+
onFocusin: i,
|
|
1348
|
+
onMouseleave: o,
|
|
1349
|
+
onFocusout: o
|
|
1336
1350
|
}, [
|
|
1337
|
-
|
|
1351
|
+
c("div", {
|
|
1338
1352
|
class: "bs-tooltip",
|
|
1339
1353
|
"data-position": e.position || void 0
|
|
1340
1354
|
}, [
|
|
1341
|
-
|
|
1342
|
-
f(
|
|
1355
|
+
c("div", Ue, [
|
|
1356
|
+
f(u.$slots, "default")
|
|
1343
1357
|
]),
|
|
1344
|
-
|
|
1345
|
-
class:
|
|
1358
|
+
c("div", {
|
|
1359
|
+
class: P(l.value),
|
|
1346
1360
|
id: e.tooltipId,
|
|
1347
1361
|
role: "tooltip"
|
|
1348
|
-
},
|
|
1349
|
-
], 8,
|
|
1362
|
+
}, z(e.content), 11, Ye)
|
|
1363
|
+
], 8, He)
|
|
1350
1364
|
], 32));
|
|
1351
1365
|
}
|
|
1352
1366
|
};
|
|
1353
1367
|
export {
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1368
|
+
St as BsAccordion,
|
|
1369
|
+
Qe as BsBadge,
|
|
1370
|
+
Ft as BsBanner,
|
|
1371
|
+
Et as BsButton,
|
|
1372
|
+
Ke as BsCharacterCount,
|
|
1373
|
+
_e as BsChartBar,
|
|
1374
|
+
et as BsChartTable,
|
|
1375
|
+
tt as BsCheckbox,
|
|
1376
|
+
at as BsCircleButton,
|
|
1377
|
+
lt as BsDropdown,
|
|
1364
1378
|
nt as BsDropdownOption,
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1379
|
+
st as BsDropdownOptionList,
|
|
1380
|
+
it as BsDropdownWithOptions,
|
|
1381
|
+
rt as BsFieldDetails,
|
|
1382
|
+
dt as BsFieldLayout,
|
|
1383
|
+
ot as BsHint,
|
|
1384
|
+
Ot as BsIconGradientWrapper,
|
|
1385
|
+
ut as BsInput,
|
|
1386
|
+
ct as BsInputAddon,
|
|
1387
|
+
ft as BsInputField,
|
|
1388
|
+
ht as BsInputSearch,
|
|
1389
|
+
Rt as BsLabel,
|
|
1390
|
+
mt as BsLoader,
|
|
1391
|
+
bt as BsModal,
|
|
1392
|
+
gt as BsOverlay,
|
|
1393
|
+
vt as BsPagination,
|
|
1394
|
+
Gt as BsPill,
|
|
1395
|
+
$t as BsProfile,
|
|
1396
|
+
Bt as BsProfileDetails,
|
|
1397
|
+
It as BsProfileImg,
|
|
1398
|
+
xt as BsProfileLayout,
|
|
1399
|
+
yt as BsRadio,
|
|
1400
|
+
jt as BsSelect,
|
|
1401
|
+
Tt as BsSelectField,
|
|
1402
|
+
Ct as BsSwitch,
|
|
1403
|
+
wt as BsTab,
|
|
1404
|
+
kt as BsTabList,
|
|
1405
|
+
pt as BsTabPanel,
|
|
1406
|
+
At as BsTextarea,
|
|
1407
|
+
Lt as BsTextareaField,
|
|
1408
|
+
Vt as BsToast,
|
|
1409
|
+
qt as BsToastActions,
|
|
1410
|
+
zt as BsToastBody,
|
|
1411
|
+
Dt as BsToastHeader,
|
|
1412
|
+
Pt as BsToaster,
|
|
1413
|
+
Nt as BsTooltip,
|
|
1414
|
+
Mt as BsTransition
|
|
1401
1415
|
};
|