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