@wwtdev/bsds-components-vue3 1.15.9 → 1.15.11
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 +335 -331
- 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
|
|
2
|
-
import { ClientOnly as
|
|
3
|
-
import { v4 as
|
|
4
|
-
const
|
|
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
|
+
import { ClientOnly as I } from "#components";
|
|
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: {},
|
|
@@ -14,7 +14,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
14
14
|
},
|
|
15
15
|
emits: [],
|
|
16
16
|
setup(e, { emit: n }) {
|
|
17
|
-
return (a, t) => (s(), r("bs-badge",
|
|
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,9 +24,9 @@ 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: {},
|
|
@@ -34,12 +34,12 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
34
34
|
},
|
|
35
35
|
emits: [],
|
|
36
36
|
setup(e, { emit: n }) {
|
|
37
|
-
return (a, t) => (s(), r("bs-character-count",
|
|
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: {},
|
|
@@ -55,7 +55,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
55
55
|
},
|
|
56
56
|
emits: [],
|
|
57
57
|
setup(e, { emit: n }) {
|
|
58
|
-
return (a, t) => (s(), r("bs-chart-bar",
|
|
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: {},
|
|
@@ -77,13 +77,13 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
77
77
|
},
|
|
78
78
|
emits: [],
|
|
79
79
|
setup(e, { emit: n }) {
|
|
80
|
-
return (a, t) => (s(), r("bs-chart-table",
|
|
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: {},
|
|
@@ -99,7 +99,7 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
99
99
|
},
|
|
100
100
|
emits: ["update:modelValue"],
|
|
101
101
|
setup(e, { emit: n }) {
|
|
102
|
-
return (a, t) => (s(), r("bs-checkbox",
|
|
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,
|
|
@@ -110,24 +110,24 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
110
110
|
required: e.required,
|
|
111
111
|
size: e.size,
|
|
112
112
|
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
|
|
113
|
-
}), null, 16,
|
|
113
|
+
}), null, 16, H));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
function
|
|
116
|
+
function T(e) {
|
|
117
117
|
const n = b(() => {
|
|
118
|
-
var l,
|
|
119
|
-
return ((
|
|
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 l,
|
|
122
|
-
return n.value && ((l = e.router) == null ? void 0 : l.navigateTo) || ((
|
|
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
124
|
function t(l) {
|
|
125
|
-
var
|
|
126
|
-
a.value && ((
|
|
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: {},
|
|
@@ -144,8 +144,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
144
144
|
},
|
|
145
145
|
emits: [],
|
|
146
146
|
setup(e, { emit: n }) {
|
|
147
|
-
const a = e, { onLinkClick: t } =
|
|
148
|
-
return (l,
|
|
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 },
|
|
@@ -175,9 +175,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
175
175
|
},
|
|
176
176
|
emits: ["close", "enterend", "leaveend"],
|
|
177
177
|
setup(e, { emit: n }) {
|
|
178
|
-
return (a, t) => (s(),
|
|
179
|
-
default:
|
|
180
|
-
|
|
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,
|
|
@@ -193,12 +193,12 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
193
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: {},
|
|
@@ -210,7 +210,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
210
210
|
},
|
|
211
211
|
emits: ["optmouseenter", "optselect"],
|
|
212
212
|
setup(e, { emit: n }) {
|
|
213
|
-
return (a, t) => (s(), r("bs-dropdown-option",
|
|
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,
|
|
@@ -221,9 +221,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
221
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: {},
|
|
@@ -234,9 +234,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
234
234
|
},
|
|
235
235
|
emits: ["optselected", "close"],
|
|
236
236
|
setup(e, { emit: n }) {
|
|
237
|
-
return (a, t) => (s(),
|
|
238
|
-
default:
|
|
239
|
-
|
|
237
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
238
|
+
default: B(() => [
|
|
239
|
+
c("bs-dropdown-option-list", d(a.$attrs, {
|
|
240
240
|
"options-id": e.optionsId,
|
|
241
241
|
visible: e.visible,
|
|
242
242
|
"focus-delay": e.focusDelay,
|
|
@@ -246,12 +246,12 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
246
246
|
onClose: t[1] || (t[1] = (l) => n("close", l.detail))
|
|
247
247
|
}), [
|
|
248
248
|
f(a.$slots, "default")
|
|
249
|
-
], 16,
|
|
249
|
+
], 16, Z)
|
|
250
250
|
]),
|
|
251
251
|
_: 3
|
|
252
252
|
}));
|
|
253
253
|
}
|
|
254
|
-
},
|
|
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 = {
|
|
255
255
|
__name: "BsDropdownWithOptions",
|
|
256
256
|
props: {
|
|
257
257
|
toggleId: {},
|
|
@@ -270,9 +270,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
270
270
|
},
|
|
271
271
|
emits: ["optselected", "close", "enterend", "leaveend"],
|
|
272
272
|
setup(e, { emit: n }) {
|
|
273
|
-
return (a, t) => (s(),
|
|
274
|
-
default:
|
|
275
|
-
|
|
273
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
274
|
+
default: B(() => [
|
|
275
|
+
c("bs-dropdown-with-options", d(a.$attrs, {
|
|
276
276
|
"toggle-id": e.toggleId,
|
|
277
277
|
"container-id": e.containerId,
|
|
278
278
|
"options-id": e.optionsId,
|
|
@@ -292,12 +292,12 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
292
292
|
onLeaveend: t[3] || (t[3] = (l) => n("leaveend", l.detail))
|
|
293
293
|
}), [
|
|
294
294
|
f(a.$slots, "default")
|
|
295
|
-
], 16,
|
|
295
|
+
], 16, J)
|
|
296
296
|
]),
|
|
297
297
|
_: 3
|
|
298
298
|
}));
|
|
299
299
|
}
|
|
300
|
-
},
|
|
300
|
+
}, Q = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], rt = {
|
|
301
301
|
__name: "BsFieldDetails",
|
|
302
302
|
props: {
|
|
303
303
|
charCount: {},
|
|
@@ -309,16 +309,16 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
309
309
|
},
|
|
310
310
|
emits: [],
|
|
311
311
|
setup(e, { emit: n }) {
|
|
312
|
-
return (a, t) => (s(), r("bs-field-details",
|
|
312
|
+
return (a, t) => (s(), r("bs-field-details", d(a.$attrs, {
|
|
313
313
|
"char-count": e.charCount,
|
|
314
314
|
"char-max": e.charMax,
|
|
315
315
|
error: e.error,
|
|
316
316
|
"error-msg": e.errorMsg,
|
|
317
317
|
hint: e.hint,
|
|
318
318
|
"hint-id": e.hintId
|
|
319
|
-
}), null, 16,
|
|
319
|
+
}), null, 16, Q));
|
|
320
320
|
}
|
|
321
|
-
},
|
|
321
|
+
}, K = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], dt = {
|
|
322
322
|
__name: "BsFieldLayout",
|
|
323
323
|
props: {
|
|
324
324
|
charCount: {},
|
|
@@ -333,7 +333,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
333
333
|
},
|
|
334
334
|
emits: [],
|
|
335
335
|
setup(e, { emit: n }) {
|
|
336
|
-
return (a, t) => (s(), r("bs-field-layout",
|
|
336
|
+
return (a, t) => (s(), r("bs-field-layout", d(a.$attrs, {
|
|
337
337
|
"char-count": e.charCount,
|
|
338
338
|
"char-max": e.charMax,
|
|
339
339
|
disabled: e.disabled,
|
|
@@ -345,9 +345,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
345
345
|
"hint-id": e.hintId
|
|
346
346
|
}), [
|
|
347
347
|
f(a.$slots, "default")
|
|
348
|
-
], 16,
|
|
348
|
+
], 16, K));
|
|
349
349
|
}
|
|
350
|
-
},
|
|
350
|
+
}, _ = ["error", "hint-id", "hints"], ot = {
|
|
351
351
|
__name: "BsHint",
|
|
352
352
|
props: {
|
|
353
353
|
error: {},
|
|
@@ -356,13 +356,13 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
356
356
|
},
|
|
357
357
|
emits: [],
|
|
358
358
|
setup(e, { emit: n }) {
|
|
359
|
-
return (a, t) => (s(), r("bs-hint",
|
|
359
|
+
return (a, t) => (s(), r("bs-hint", d(a.$attrs, {
|
|
360
360
|
error: e.error,
|
|
361
361
|
"hint-id": e.hintId,
|
|
362
362
|
hints: e.hints
|
|
363
|
-
}), null, 16,
|
|
363
|
+
}), null, 16, _));
|
|
364
364
|
}
|
|
365
|
-
},
|
|
365
|
+
}, ee = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ut = {
|
|
366
366
|
__name: "BsInput",
|
|
367
367
|
props: {
|
|
368
368
|
disabled: { default: !1 },
|
|
@@ -378,7 +378,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
378
378
|
},
|
|
379
379
|
emits: ["update:modelValue"],
|
|
380
380
|
setup(e, { emit: n }) {
|
|
381
|
-
return (a, t) => (s(), r("bs-input",
|
|
381
|
+
return (a, t) => (s(), r("bs-input", d(a.$attrs, {
|
|
382
382
|
disabled: e.disabled,
|
|
383
383
|
error: e.error,
|
|
384
384
|
"input-id": e.inputId,
|
|
@@ -389,9 +389,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
389
389
|
value: e.value || e.modelValue,
|
|
390
390
|
"hint-id": e.hintId,
|
|
391
391
|
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
392
|
-
}), null, 16,
|
|
392
|
+
}), null, 16, ee));
|
|
393
393
|
}
|
|
394
|
-
},
|
|
394
|
+
}, te = ["disabled", "error", "multifocus", "variant"], ct = {
|
|
395
395
|
__name: "BsInputAddon",
|
|
396
396
|
props: {
|
|
397
397
|
disabled: { default: !1 },
|
|
@@ -401,16 +401,16 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
401
401
|
},
|
|
402
402
|
emits: [],
|
|
403
403
|
setup(e, { emit: n }) {
|
|
404
|
-
return (a, t) => (s(), r("bs-input-addon",
|
|
404
|
+
return (a, t) => (s(), r("bs-input-addon", d(a.$attrs, {
|
|
405
405
|
disabled: e.disabled,
|
|
406
406
|
error: e.error,
|
|
407
407
|
multifocus: e.multifocus,
|
|
408
408
|
variant: e.variant
|
|
409
409
|
}), [
|
|
410
410
|
f(a.$slots, "default")
|
|
411
|
-
], 16,
|
|
411
|
+
], 16, te));
|
|
412
412
|
}
|
|
413
|
-
},
|
|
413
|
+
}, ae = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], ft = {
|
|
414
414
|
__name: "BsInputField",
|
|
415
415
|
props: {
|
|
416
416
|
disabled: { default: !1 },
|
|
@@ -429,7 +429,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
429
429
|
},
|
|
430
430
|
emits: ["update:modelValue"],
|
|
431
431
|
setup(e, { emit: n }) {
|
|
432
|
-
return (a, t) => (s(), r("bs-input-field",
|
|
432
|
+
return (a, t) => (s(), r("bs-input-field", d(a.$attrs, {
|
|
433
433
|
disabled: e.disabled,
|
|
434
434
|
error: e.error,
|
|
435
435
|
"error-msg": e.errorMsg,
|
|
@@ -443,9 +443,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
443
443
|
type: e.type,
|
|
444
444
|
value: e.value || e.modelValue,
|
|
445
445
|
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
446
|
-
}), null, 16,
|
|
446
|
+
}), null, 16, ae));
|
|
447
447
|
}
|
|
448
|
-
},
|
|
448
|
+
}, le = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"], ht = {
|
|
449
449
|
__name: "BsInputSearch",
|
|
450
450
|
props: {
|
|
451
451
|
disabled: { default: !1 },
|
|
@@ -458,7 +458,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
458
458
|
},
|
|
459
459
|
emits: ["clear", "update:modelValue"],
|
|
460
460
|
setup(e, { emit: n }) {
|
|
461
|
-
return (a, t) => (s(), r("bs-input-search",
|
|
461
|
+
return (a, t) => (s(), r("bs-input-search", d(a.$attrs, {
|
|
462
462
|
disabled: e.disabled,
|
|
463
463
|
"pass-attrs": e.passAttrs,
|
|
464
464
|
placeholder: e.placeholder,
|
|
@@ -467,9 +467,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
467
467
|
value: e.value || e.modelValue,
|
|
468
468
|
onClear: t[0] || (t[0] = (l) => n("clear", l.detail)),
|
|
469
469
|
onInput: t[1] || (t[1] = (l) => n("update:modelValue", l.target.value))
|
|
470
|
-
}), null, 16,
|
|
470
|
+
}), null, 16, le));
|
|
471
471
|
}
|
|
472
|
-
},
|
|
472
|
+
}, ne = ["size", "variant"], mt = {
|
|
473
473
|
__name: "BsLoader",
|
|
474
474
|
props: {
|
|
475
475
|
size: {},
|
|
@@ -477,12 +477,12 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
477
477
|
},
|
|
478
478
|
emits: [],
|
|
479
479
|
setup(e, { emit: n }) {
|
|
480
|
-
return (a, t) => (s(), r("bs-loader",
|
|
480
|
+
return (a, t) => (s(), r("bs-loader", d(a.$attrs, {
|
|
481
481
|
size: e.size,
|
|
482
482
|
variant: e.variant
|
|
483
|
-
}), null, 16,
|
|
483
|
+
}), null, 16, ne));
|
|
484
484
|
}
|
|
485
|
-
},
|
|
485
|
+
}, se = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], bt = {
|
|
486
486
|
__name: "BsModal",
|
|
487
487
|
props: {
|
|
488
488
|
alert: { default: !1 },
|
|
@@ -493,9 +493,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
493
493
|
},
|
|
494
494
|
emits: ["close", "enterend", "leaveend"],
|
|
495
495
|
setup(e, { emit: n }) {
|
|
496
|
-
return (a, t) => (s(),
|
|
497
|
-
default:
|
|
498
|
-
|
|
496
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
497
|
+
default: B(() => [
|
|
498
|
+
c("bs-modal", d(a.$attrs, {
|
|
499
499
|
alert: e.alert,
|
|
500
500
|
"close-button": e.closeButton,
|
|
501
501
|
"enter-controlled": e.enterControlled,
|
|
@@ -506,12 +506,12 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
506
506
|
onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
|
|
507
507
|
}), [
|
|
508
508
|
f(a.$slots, "default")
|
|
509
|
-
], 16,
|
|
509
|
+
], 16, se)
|
|
510
510
|
]),
|
|
511
511
|
_: 3
|
|
512
512
|
}));
|
|
513
513
|
}
|
|
514
|
-
},
|
|
514
|
+
}, ie = ["enter-controlled", "enter-trigger", "leave-trigger"], gt = {
|
|
515
515
|
__name: "BsOverlay",
|
|
516
516
|
props: {
|
|
517
517
|
enterControlled: { default: !1 },
|
|
@@ -520,20 +520,20 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
520
520
|
},
|
|
521
521
|
emits: ["enterend", "leaveend"],
|
|
522
522
|
setup(e, { emit: n }) {
|
|
523
|
-
return (a, t) => (s(),
|
|
524
|
-
default:
|
|
525
|
-
|
|
523
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
524
|
+
default: B(() => [
|
|
525
|
+
c("bs-overlay", d(a.$attrs, {
|
|
526
526
|
"enter-controlled": e.enterControlled,
|
|
527
527
|
"enter-trigger": e.enterTrigger,
|
|
528
528
|
"leave-trigger": e.leaveTrigger,
|
|
529
529
|
onEnterend: t[0] || (t[0] = (l) => n("enterend", l.detail)),
|
|
530
530
|
onLeaveend: t[1] || (t[1] = (l) => n("leaveend", l.detail))
|
|
531
|
-
}), null, 16,
|
|
531
|
+
}), null, 16, ie)
|
|
532
532
|
]),
|
|
533
533
|
_: 1
|
|
534
534
|
}));
|
|
535
535
|
}
|
|
536
|
-
},
|
|
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 = {
|
|
537
537
|
__name: "BsPagination",
|
|
538
538
|
props: {
|
|
539
539
|
showFirstLastButtons: { default: !1 },
|
|
@@ -555,7 +555,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
555
555
|
},
|
|
556
556
|
emits: ["selchange"],
|
|
557
557
|
setup(e, { emit: n }) {
|
|
558
|
-
return (a, t) => (s(), r("bs-pagination",
|
|
558
|
+
return (a, t) => (s(), r("bs-pagination", d(a.$attrs, {
|
|
559
559
|
"show-first-last-buttons": e.showFirstLastButtons,
|
|
560
560
|
"prev-page-text": e.prevPageText,
|
|
561
561
|
"first-page-text": e.firstPageText,
|
|
@@ -573,9 +573,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
573
573
|
"items-count": e.itemsCount,
|
|
574
574
|
"results-increments": e.resultsIncrements,
|
|
575
575
|
onSelchange: t[0] || (t[0] = (l) => n("selchange", l.detail))
|
|
576
|
-
}), null, 16,
|
|
576
|
+
}), null, 16, re));
|
|
577
577
|
}
|
|
578
|
-
},
|
|
578
|
+
}, de = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], $t = {
|
|
579
579
|
__name: "BsProfile",
|
|
580
580
|
props: {
|
|
581
581
|
layout: {},
|
|
@@ -595,8 +595,8 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
595
595
|
},
|
|
596
596
|
emits: ["action-toggled"],
|
|
597
597
|
setup(e, { emit: n }) {
|
|
598
|
-
const a = e, { onLinkClick: t } =
|
|
599
|
-
return (l,
|
|
598
|
+
const a = e, { onLinkClick: t } = T(a);
|
|
599
|
+
return (l, i) => (s(), r("bs-profile", d(l.$attrs, {
|
|
600
600
|
layout: e.layout,
|
|
601
601
|
href: e.href,
|
|
602
602
|
"image-src": e.imageSrc,
|
|
@@ -610,11 +610,11 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
610
610
|
"action-icon": e.actionIcon,
|
|
611
611
|
"misc-meta": e.miscMeta,
|
|
612
612
|
"misc-meta-icon": e.miscMetaIcon,
|
|
613
|
-
onActionToggled:
|
|
614
|
-
onClick:
|
|
615
|
-
}), 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));
|
|
616
616
|
}
|
|
617
|
-
},
|
|
617
|
+
}, oe = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], Bt = {
|
|
618
618
|
__name: "BsProfileDetails",
|
|
619
619
|
props: {
|
|
620
620
|
profileName: {},
|
|
@@ -628,7 +628,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
628
628
|
},
|
|
629
629
|
emits: ["action-toggled"],
|
|
630
630
|
setup(e, { emit: n }) {
|
|
631
|
-
return (a, t) => (s(), r("bs-profile-details",
|
|
631
|
+
return (a, t) => (s(), r("bs-profile-details", d(a.$attrs, {
|
|
632
632
|
"profile-name": e.profileName,
|
|
633
633
|
company: e.company,
|
|
634
634
|
"job-title": e.jobTitle,
|
|
@@ -638,9 +638,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
638
638
|
"misc-meta": e.miscMeta,
|
|
639
639
|
"misc-meta-icon": e.miscMetaIcon,
|
|
640
640
|
onActionToggled: t[0] || (t[0] = (l) => n("action-toggled", l.detail))
|
|
641
|
-
}), null, 16,
|
|
641
|
+
}), null, 16, oe));
|
|
642
642
|
}
|
|
643
|
-
},
|
|
643
|
+
}, ue = ["src", "size", "initials", "profile-name"], It = {
|
|
644
644
|
__name: "BsProfileImg",
|
|
645
645
|
props: {
|
|
646
646
|
src: {},
|
|
@@ -650,14 +650,14 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
650
650
|
},
|
|
651
651
|
emits: [],
|
|
652
652
|
setup(e, { emit: n }) {
|
|
653
|
-
return (a, t) => (s(), r("bs-profile-img",
|
|
653
|
+
return (a, t) => (s(), r("bs-profile-img", d(a.$attrs, {
|
|
654
654
|
src: e.src,
|
|
655
655
|
size: e.size,
|
|
656
656
|
initials: e.initials,
|
|
657
657
|
"profile-name": e.profileName
|
|
658
|
-
}), null, 16,
|
|
658
|
+
}), null, 16, ue));
|
|
659
659
|
}
|
|
660
|
-
},
|
|
660
|
+
}, ce = ["layout", "href", "pass-attrs"], xt = {
|
|
661
661
|
__name: "BsProfileLayout",
|
|
662
662
|
props: {
|
|
663
663
|
layout: { default: "vertical" },
|
|
@@ -667,17 +667,17 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
667
667
|
},
|
|
668
668
|
emits: [],
|
|
669
669
|
setup(e, { emit: n }) {
|
|
670
|
-
const a = e, { onLinkClick: t } =
|
|
671
|
-
return (l,
|
|
670
|
+
const a = e, { onLinkClick: t } = T(a);
|
|
671
|
+
return (l, i) => (s(), r("bs-profile-layout", d(l.$attrs, {
|
|
672
672
|
layout: e.layout,
|
|
673
673
|
href: e.href,
|
|
674
674
|
"pass-attrs": e.passAttrs,
|
|
675
|
-
onClick:
|
|
675
|
+
onClick: i[0] || (i[0] = (...o) => m(t) && m(t)(...o))
|
|
676
676
|
}), [
|
|
677
677
|
f(l.$slots, "default")
|
|
678
|
-
], 16,
|
|
678
|
+
], 16, ce));
|
|
679
679
|
}
|
|
680
|
-
},
|
|
680
|
+
}, fe = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], yt = {
|
|
681
681
|
__name: "BsRadio",
|
|
682
682
|
props: {
|
|
683
683
|
label: {},
|
|
@@ -693,7 +693,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
693
693
|
},
|
|
694
694
|
emits: ["update:modelValue"],
|
|
695
695
|
setup(e, { emit: n }) {
|
|
696
|
-
return (a, t) => (s(), r("bs-radio",
|
|
696
|
+
return (a, t) => (s(), r("bs-radio", d(a.$attrs, {
|
|
697
697
|
label: e.label,
|
|
698
698
|
checked: e.checked || e.modelValue === e.value,
|
|
699
699
|
disabled: e.disabled,
|
|
@@ -704,9 +704,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
704
704
|
size: e.size,
|
|
705
705
|
value: e.value,
|
|
706
706
|
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
707
|
-
}), null, 16,
|
|
707
|
+
}), null, 16, fe));
|
|
708
708
|
}
|
|
709
|
-
},
|
|
709
|
+
}, he = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], Tt = {
|
|
710
710
|
__name: "BsSelectField",
|
|
711
711
|
props: {
|
|
712
712
|
disabled: { default: !1 },
|
|
@@ -725,7 +725,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
725
725
|
},
|
|
726
726
|
emits: ["update:modelValue"],
|
|
727
727
|
setup(e, { emit: n }) {
|
|
728
|
-
return (a, t) => (s(), r("bs-select-field",
|
|
728
|
+
return (a, t) => (s(), r("bs-select-field", d(a.$attrs, {
|
|
729
729
|
disabled: e.disabled,
|
|
730
730
|
error: e.error,
|
|
731
731
|
"error-msg": e.errorMsg,
|
|
@@ -739,9 +739,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
739
739
|
"pass-attrs": e.passAttrs,
|
|
740
740
|
data: e.data,
|
|
741
741
|
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
742
|
-
}), null, 16,
|
|
742
|
+
}), null, 16, he));
|
|
743
743
|
}
|
|
744
|
-
},
|
|
744
|
+
}, me = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], Ct = {
|
|
745
745
|
__name: "BsSwitch",
|
|
746
746
|
props: {
|
|
747
747
|
checked: { default: !1 },
|
|
@@ -757,7 +757,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
757
757
|
},
|
|
758
758
|
emits: ["update:modelValue"],
|
|
759
759
|
setup(e, { emit: n }) {
|
|
760
|
-
return (a, t) => (s(), r("bs-switch",
|
|
760
|
+
return (a, t) => (s(), r("bs-switch", d(a.$attrs, {
|
|
761
761
|
checked: e.checked || e.modelValue,
|
|
762
762
|
disabled: e.disabled,
|
|
763
763
|
"hide-label": e.hideLabel,
|
|
@@ -768,9 +768,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
768
768
|
"pass-attrs": e.passAttrs,
|
|
769
769
|
size: e.size,
|
|
770
770
|
onChange: t[0] || (t[0] = (l) => n("update:modelValue", l.target.checked))
|
|
771
|
-
}), null, 16,
|
|
771
|
+
}), null, 16, me));
|
|
772
772
|
}
|
|
773
|
-
},
|
|
773
|
+
}, be = ["active-tab-id", "hidden", "panel-id"], wt = {
|
|
774
774
|
__name: "BsTab",
|
|
775
775
|
props: {
|
|
776
776
|
activeTabId: {},
|
|
@@ -779,15 +779,15 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
779
779
|
},
|
|
780
780
|
emits: [],
|
|
781
781
|
setup(e, { emit: n }) {
|
|
782
|
-
return (a, t) => (s(), r("bs-tab",
|
|
782
|
+
return (a, t) => (s(), r("bs-tab", d(a.$attrs, {
|
|
783
783
|
"active-tab-id": e.activeTabId,
|
|
784
784
|
hidden: e.hidden,
|
|
785
785
|
"panel-id": e.panelId
|
|
786
786
|
}), [
|
|
787
787
|
f(a.$slots, "default")
|
|
788
|
-
], 16,
|
|
788
|
+
], 16, be));
|
|
789
789
|
}
|
|
790
|
-
},
|
|
790
|
+
}, ge = ["active-tab-id", "helper-text", "helper-description"], kt = {
|
|
791
791
|
__name: "BsTabList",
|
|
792
792
|
props: {
|
|
793
793
|
activeTabId: {},
|
|
@@ -800,21 +800,21 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
800
800
|
const a = (t) => {
|
|
801
801
|
n("tabChange", t.detail), n("update:modelValue", t.detail);
|
|
802
802
|
};
|
|
803
|
-
return (t, l) => (s(), r("bs-tab-list",
|
|
803
|
+
return (t, l) => (s(), r("bs-tab-list", d(t.$attrs, {
|
|
804
804
|
"active-tab-id": e.activeTabId || e.modelValue,
|
|
805
805
|
"helper-text": e.helperText,
|
|
806
806
|
"helper-description": e.helperDescription,
|
|
807
807
|
"on:tabChange": a
|
|
808
808
|
}), [
|
|
809
|
-
|
|
810
|
-
default:
|
|
809
|
+
S(m(I), null, {
|
|
810
|
+
default: B(() => [
|
|
811
811
|
f(t.$slots, "default")
|
|
812
812
|
]),
|
|
813
813
|
_: 3
|
|
814
814
|
})
|
|
815
|
-
], 16,
|
|
815
|
+
], 16, ge));
|
|
816
816
|
}
|
|
817
|
-
},
|
|
817
|
+
}, ve = ["active-tab-id", "tab-id"], pt = {
|
|
818
818
|
__name: "BsTabPanel",
|
|
819
819
|
props: {
|
|
820
820
|
activeTabId: {},
|
|
@@ -822,14 +822,14 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
822
822
|
},
|
|
823
823
|
emits: [],
|
|
824
824
|
setup(e, { emit: n }) {
|
|
825
|
-
return (a, t) => (s(), r("bs-tab-panel",
|
|
825
|
+
return (a, t) => (s(), r("bs-tab-panel", d(a.$attrs, {
|
|
826
826
|
"active-tab-id": e.activeTabId,
|
|
827
827
|
"tab-id": e.tabId
|
|
828
828
|
}), [
|
|
829
829
|
f(a.$slots, "default")
|
|
830
|
-
], 16,
|
|
830
|
+
], 16, ve));
|
|
831
831
|
}
|
|
832
|
-
},
|
|
832
|
+
}, $e = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], At = {
|
|
833
833
|
__name: "BsTextarea",
|
|
834
834
|
props: {
|
|
835
835
|
disabled: { default: !1 },
|
|
@@ -845,7 +845,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
845
845
|
},
|
|
846
846
|
emits: ["update:modelValue"],
|
|
847
847
|
setup(e, { emit: n }) {
|
|
848
|
-
return (a, t) => (s(), r("bs-textarea",
|
|
848
|
+
return (a, t) => (s(), r("bs-textarea", d(a.$attrs, {
|
|
849
849
|
disabled: e.disabled,
|
|
850
850
|
error: e.error,
|
|
851
851
|
"input-id": e.inputId,
|
|
@@ -856,9 +856,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
856
856
|
value: e.value || e.modelValue,
|
|
857
857
|
"hint-id": e.hintId,
|
|
858
858
|
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
859
|
-
}), null, 16,
|
|
859
|
+
}), null, 16, $e));
|
|
860
860
|
}
|
|
861
|
-
},
|
|
861
|
+
}, Be = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], Lt = {
|
|
862
862
|
__name: "BsTextareaField",
|
|
863
863
|
props: {
|
|
864
864
|
charMax: {},
|
|
@@ -878,7 +878,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
878
878
|
},
|
|
879
879
|
emits: ["update:modelValue"],
|
|
880
880
|
setup(e, { emit: n }) {
|
|
881
|
-
return (a, t) => (s(), r("bs-textarea-field",
|
|
881
|
+
return (a, t) => (s(), r("bs-textarea-field", d(a.$attrs, {
|
|
882
882
|
"char-max": e.charMax,
|
|
883
883
|
disabled: e.disabled,
|
|
884
884
|
error: e.error,
|
|
@@ -893,9 +893,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
893
893
|
value: e.value || e.modelValue,
|
|
894
894
|
"pass-attrs": e.passAttrs,
|
|
895
895
|
onInput: t[0] || (t[0] = (l) => n("update:modelValue", l.target.value))
|
|
896
|
-
}), null, 16,
|
|
896
|
+
}), null, 16, Be));
|
|
897
897
|
}
|
|
898
|
-
},
|
|
898
|
+
}, Ie = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Vt = {
|
|
899
899
|
__name: "BsToast",
|
|
900
900
|
props: {
|
|
901
901
|
toastId: {},
|
|
@@ -908,9 +908,9 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
908
908
|
},
|
|
909
909
|
emits: ["dismiss", "enterend", "leaveend"],
|
|
910
910
|
setup(e, { emit: n }) {
|
|
911
|
-
return (a, t) => (s(),
|
|
912
|
-
default:
|
|
913
|
-
|
|
911
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
912
|
+
default: B(() => [
|
|
913
|
+
c("bs-toast", d(a.$attrs, {
|
|
914
914
|
"toast-id": e.toastId,
|
|
915
915
|
variant: e.variant,
|
|
916
916
|
stacked: e.stacked,
|
|
@@ -923,57 +923,57 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
923
923
|
onLeaveend: t[2] || (t[2] = (l) => n("leaveend", l.detail))
|
|
924
924
|
}), [
|
|
925
925
|
f(a.$slots, "default")
|
|
926
|
-
], 16,
|
|
926
|
+
], 16, Ie)
|
|
927
927
|
]),
|
|
928
928
|
_: 3
|
|
929
929
|
}));
|
|
930
930
|
}
|
|
931
|
-
},
|
|
931
|
+
}, qt = {
|
|
932
932
|
__name: "BsToastActions",
|
|
933
933
|
props: {},
|
|
934
934
|
emits: ["defaultDismiss"],
|
|
935
935
|
setup(e, { emit: n }) {
|
|
936
|
-
return (a, t) => (s(), r("bs-toast-actions",
|
|
936
|
+
return (a, t) => (s(), r("bs-toast-actions", d(a.$attrs, {
|
|
937
937
|
"on:defaultDismiss": t[0] || (t[0] = (l) => n("defaultDismiss", l.detail))
|
|
938
938
|
}), [
|
|
939
939
|
f(a.$slots, "default")
|
|
940
940
|
], 16));
|
|
941
941
|
}
|
|
942
|
-
},
|
|
942
|
+
}, zt = {
|
|
943
943
|
__name: "BsToastBody",
|
|
944
944
|
props: {},
|
|
945
945
|
emits: [],
|
|
946
946
|
setup(e, { emit: n }) {
|
|
947
|
-
return (a, t) => (s(), r("bs-toast-body",
|
|
947
|
+
return (a, t) => (s(), r("bs-toast-body", L(V(a.$attrs)), [
|
|
948
948
|
f(a.$slots, "default")
|
|
949
949
|
], 16));
|
|
950
950
|
}
|
|
951
|
-
},
|
|
951
|
+
}, xe = ["variant"], Dt = {
|
|
952
952
|
__name: "BsToastHeader",
|
|
953
953
|
props: {
|
|
954
954
|
variant: {}
|
|
955
955
|
},
|
|
956
956
|
emits: [],
|
|
957
957
|
setup(e, { emit: n }) {
|
|
958
|
-
return (a, t) => (s(), r("bs-toast-header",
|
|
958
|
+
return (a, t) => (s(), r("bs-toast-header", d(a.$attrs, { variant: e.variant }), [
|
|
959
959
|
f(a.$slots, "default")
|
|
960
|
-
], 16,
|
|
960
|
+
], 16, xe));
|
|
961
961
|
}
|
|
962
|
-
},
|
|
962
|
+
}, Pt = {
|
|
963
963
|
__name: "BsToaster",
|
|
964
964
|
props: {},
|
|
965
965
|
emits: [],
|
|
966
966
|
setup(e, { emit: n }) {
|
|
967
|
-
return (a, t) => (s(),
|
|
968
|
-
default:
|
|
969
|
-
|
|
967
|
+
return (a, t) => (s(), $(m(I), null, {
|
|
968
|
+
default: B(() => [
|
|
969
|
+
c("bs-toaster", L(V(a.$attrs)), [
|
|
970
970
|
f(a.$slots, "default")
|
|
971
971
|
], 16)
|
|
972
972
|
]),
|
|
973
973
|
_: 3
|
|
974
974
|
}));
|
|
975
975
|
}
|
|
976
|
-
},
|
|
976
|
+
}, ye = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], Mt = {
|
|
977
977
|
__name: "BsTransition",
|
|
978
978
|
props: {
|
|
979
979
|
enterClass: { default: void 0 },
|
|
@@ -988,7 +988,7 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
988
988
|
},
|
|
989
989
|
emits: ["enterend", "leaveend"],
|
|
990
990
|
setup(e, { emit: n }) {
|
|
991
|
-
return (a, t) => (s(), r("bs-transition",
|
|
991
|
+
return (a, t) => (s(), r("bs-transition", d(a.$attrs, {
|
|
992
992
|
"enter-class": e.enterClass,
|
|
993
993
|
"enter-attribute": e.enterAttribute,
|
|
994
994
|
"enter-duration": e.enterDuration,
|
|
@@ -1002,13 +1002,13 @@ const W = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
1002
1002
|
onLeaveend: t[1] || (t[1] = (l) => n("leaveend", l.detail))
|
|
1003
1003
|
}), [
|
|
1004
1004
|
f(a.$slots, "default")
|
|
1005
|
-
], 16,
|
|
1005
|
+
], 16, ye));
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
|
-
function
|
|
1009
|
-
return
|
|
1008
|
+
function M() {
|
|
1009
|
+
return R();
|
|
1010
1010
|
}
|
|
1011
|
-
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 = {
|
|
1012
1012
|
__name: "BsAccordion",
|
|
1013
1013
|
props: {
|
|
1014
1014
|
controlled: { default: !1 },
|
|
@@ -1021,92 +1021,92 @@ const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-ex
|
|
|
1021
1021
|
},
|
|
1022
1022
|
emits: ["toggled"],
|
|
1023
1023
|
setup(e, { emit: n }) {
|
|
1024
|
-
const a = e, t =
|
|
1025
|
-
|
|
1026
|
-
var
|
|
1027
|
-
(
|
|
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";
|
|
1028
1028
|
});
|
|
1029
|
-
function
|
|
1030
|
-
n("toggled", t.value.id), a.controlled || (
|
|
1029
|
+
function C() {
|
|
1030
|
+
n("toggled", t.value.id), a.controlled || (o.value = !o.value);
|
|
1031
1031
|
}
|
|
1032
|
-
return (
|
|
1032
|
+
return (x, y) => (s(), r("bs-host", {
|
|
1033
1033
|
ref_key: "hostRef",
|
|
1034
1034
|
ref: t,
|
|
1035
1035
|
class: "bs-accordion",
|
|
1036
1036
|
"data-component": "bs-accordion",
|
|
1037
1037
|
"data-stacked": e.stacked
|
|
1038
1038
|
}, [
|
|
1039
|
-
|
|
1039
|
+
c("header", {
|
|
1040
1040
|
part: "header",
|
|
1041
|
-
"data-open":
|
|
1041
|
+
"data-open": g.value
|
|
1042
1042
|
}, [
|
|
1043
|
-
|
|
1043
|
+
c("button", {
|
|
1044
1044
|
"aria-controls": l.value,
|
|
1045
|
-
"aria-expanded":
|
|
1045
|
+
"aria-expanded": g.value,
|
|
1046
1046
|
type: "button",
|
|
1047
|
-
onClick:
|
|
1047
|
+
onClick: C
|
|
1048
1048
|
}, [
|
|
1049
|
-
|
|
1049
|
+
h.value ? (s(), $(p(h.value), {
|
|
1050
1050
|
key: 0,
|
|
1051
1051
|
"data-position": "start"
|
|
1052
|
-
})) :
|
|
1053
|
-
|
|
1054
|
-
id:
|
|
1052
|
+
})) : q("", !0),
|
|
1053
|
+
c("span", {
|
|
1054
|
+
id: i.value,
|
|
1055
1055
|
"aria-level": e.headingLevel,
|
|
1056
1056
|
role: "heading"
|
|
1057
|
-
},
|
|
1058
|
-
|
|
1059
|
-
], 8,
|
|
1060
|
-
], 8,
|
|
1061
|
-
|
|
1062
|
-
"aria-labelledby":
|
|
1057
|
+
}, z(e.headerText), 9, ke),
|
|
1058
|
+
pe
|
|
1059
|
+
], 8, we)
|
|
1060
|
+
], 8, Ce),
|
|
1061
|
+
c("div", {
|
|
1062
|
+
"aria-labelledby": i.value,
|
|
1063
1063
|
class: "bs-accordion-content",
|
|
1064
|
-
"data-open":
|
|
1064
|
+
"data-open": g.value,
|
|
1065
1065
|
id: l.value,
|
|
1066
1066
|
part: "content",
|
|
1067
1067
|
role: "region"
|
|
1068
1068
|
}, [
|
|
1069
|
-
|
|
1070
|
-
f(
|
|
1069
|
+
c("div", Le, [
|
|
1070
|
+
f(x.$slots, "default")
|
|
1071
1071
|
])
|
|
1072
|
-
], 8,
|
|
1073
|
-
], 8,
|
|
1072
|
+
], 8, Ae)
|
|
1073
|
+
], 8, Te));
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
|
-
const
|
|
1076
|
+
const Ve = ["data-dismissed"], qe = { class: "bs-banner-content" }, ze = /* @__PURE__ */ c("bs-icon-warning", {
|
|
1077
1077
|
size: "lg",
|
|
1078
1078
|
class: "bs-banner-warning-icon"
|
|
1079
|
-
}, null, -1),
|
|
1080
|
-
|
|
1081
|
-
],
|
|
1079
|
+
}, null, -1), De = { "data-slot": "" }, Pe = /* @__PURE__ */ c("bs-icon-close", null, null, -1), Me = [
|
|
1080
|
+
Pe
|
|
1081
|
+
], Ft = {
|
|
1082
1082
|
__name: "BsBanner",
|
|
1083
1083
|
emits: ["dismiss"],
|
|
1084
1084
|
setup(e, { emit: n }) {
|
|
1085
|
-
const a =
|
|
1085
|
+
const a = v(!1);
|
|
1086
1086
|
function t() {
|
|
1087
1087
|
a.value = !0, n("dismiss");
|
|
1088
1088
|
}
|
|
1089
|
-
return (l,
|
|
1089
|
+
return (l, i) => (s(), r("bs-host", {
|
|
1090
1090
|
role: "alert",
|
|
1091
1091
|
class: "bs-banner",
|
|
1092
1092
|
"data-component": "bs-banner",
|
|
1093
1093
|
"data-dismissed": a.value ? !0 : void 0
|
|
1094
1094
|
}, [
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1095
|
+
c("div", qe, [
|
|
1096
|
+
ze,
|
|
1097
|
+
c("div", De, [
|
|
1098
1098
|
f(l.$slots, "default")
|
|
1099
1099
|
]),
|
|
1100
|
-
|
|
1100
|
+
c("button", {
|
|
1101
1101
|
type: "button",
|
|
1102
1102
|
title: "Close Banner",
|
|
1103
1103
|
onClick: t
|
|
1104
|
-
},
|
|
1104
|
+
}, Me)
|
|
1105
1105
|
])
|
|
1106
|
-
], 8,
|
|
1106
|
+
], 8, Ve));
|
|
1107
1107
|
}
|
|
1108
1108
|
};
|
|
1109
|
-
const
|
|
1109
|
+
const Se = ["data-disabled"], Et = {
|
|
1110
1110
|
__name: "BsButton",
|
|
1111
1111
|
props: {
|
|
1112
1112
|
variant: {},
|
|
@@ -1119,23 +1119,25 @@ const Pe = ["data-disabled"], Ft = {
|
|
|
1119
1119
|
size: {}
|
|
1120
1120
|
},
|
|
1121
1121
|
setup(e) {
|
|
1122
|
-
const n = e, { onLinkClick:
|
|
1123
|
-
const
|
|
1124
|
-
download:
|
|
1125
|
-
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
|
|
1126
1126
|
};
|
|
1127
|
-
return n.href ?
|
|
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;
|
|
1128
1128
|
});
|
|
1129
|
-
function
|
|
1130
|
-
var
|
|
1131
|
-
(n.disabled || ((
|
|
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());
|
|
1132
1132
|
}
|
|
1133
|
-
return (
|
|
1133
|
+
return (u, g) => (s(), r("bs-host", {
|
|
1134
|
+
ref_key: "hostRef",
|
|
1135
|
+
ref: a,
|
|
1134
1136
|
"data-component": "bs-button",
|
|
1135
|
-
"data-disabled": e.disabled
|
|
1136
|
-
onClickCapture:
|
|
1137
|
+
"data-disabled": e.disabled,
|
|
1138
|
+
onClickCapture: h
|
|
1137
1139
|
}, [
|
|
1138
|
-
(s(),
|
|
1140
|
+
(s(), $(p(e.href ? "a" : "button"), d({
|
|
1139
1141
|
"data-slot": "",
|
|
1140
1142
|
class: "bs-button",
|
|
1141
1143
|
"data-ghost": e.ghostBtn,
|
|
@@ -1143,40 +1145,42 @@ const Pe = ["data-disabled"], Ft = {
|
|
|
1143
1145
|
"data-text": e.textBtn,
|
|
1144
1146
|
"data-variant": e.variant,
|
|
1145
1147
|
disabled: e.disabled,
|
|
1146
|
-
href: e.href
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
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")
|
|
1150
1154
|
]),
|
|
1151
1155
|
_: 3
|
|
1152
1156
|
}, 16, ["data-ghost", "data-size", "data-text", "data-variant", "disabled", "href", "onClick"]))
|
|
1153
|
-
], 40,
|
|
1157
|
+
], 40, Se));
|
|
1154
1158
|
}
|
|
1155
1159
|
};
|
|
1156
|
-
const
|
|
1160
|
+
const Fe = ["offset", "stop-color"], Ot = {
|
|
1157
1161
|
__name: "BsIconGradientWrapper",
|
|
1158
1162
|
setup(e) {
|
|
1159
1163
|
const n = [
|
|
1160
1164
|
{ offset: 0.1326, color: "#EE282A" },
|
|
1161
1165
|
{ offset: 0.5466, color: "#1C0087" },
|
|
1162
1166
|
{ offset: 0.9715, color: "#0086EA" }
|
|
1163
|
-
], a = `svg-gradient-${
|
|
1164
|
-
function
|
|
1165
|
-
var
|
|
1166
|
-
const
|
|
1167
|
-
(
|
|
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");
|
|
1168
1172
|
}
|
|
1169
|
-
return
|
|
1173
|
+
return k(i), (o, h) => (s(), r("bs-host", {
|
|
1170
1174
|
ref_key: "hostRef",
|
|
1171
1175
|
ref: t,
|
|
1172
1176
|
"data-component": "bs-icon-gradient-wrapper"
|
|
1173
1177
|
}, [
|
|
1174
|
-
|
|
1178
|
+
c("span", {
|
|
1175
1179
|
class: "svg-wrapper",
|
|
1176
|
-
style:
|
|
1180
|
+
style: F(`fill: url(#${a});`),
|
|
1177
1181
|
"data-slot": ""
|
|
1178
1182
|
}, [
|
|
1179
|
-
f(
|
|
1183
|
+
f(o.$slots, "default")
|
|
1180
1184
|
], 4),
|
|
1181
1185
|
(s(), r("svg", {
|
|
1182
1186
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1185,7 +1189,7 @@ const Me = ["offset", "stop-color"], Et = {
|
|
|
1185
1189
|
ref_key: "gradientSvgRef",
|
|
1186
1190
|
ref: l
|
|
1187
1191
|
}, [
|
|
1188
|
-
|
|
1192
|
+
c("linearGradient", {
|
|
1189
1193
|
id: a,
|
|
1190
1194
|
x1: "0",
|
|
1191
1195
|
y1: "0",
|
|
@@ -1193,20 +1197,20 @@ const Me = ["offset", "stop-color"], Et = {
|
|
|
1193
1197
|
y2: "100%",
|
|
1194
1198
|
gradientUnits: "userSpaceOnUse"
|
|
1195
1199
|
}, [
|
|
1196
|
-
(s(), r(
|
|
1197
|
-
key:
|
|
1198
|
-
offset:
|
|
1199
|
-
"stop-color":
|
|
1200
|
-
}, 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))
|
|
1201
1205
|
])
|
|
1202
1206
|
], 512))
|
|
1203
1207
|
], 512));
|
|
1204
1208
|
}
|
|
1205
1209
|
};
|
|
1206
|
-
const
|
|
1210
|
+
const Ee = ["data-disabled", "htmlFor"], Oe = { "data-slot": "" }, Re = /* @__PURE__ */ c("span", {
|
|
1207
1211
|
"data-required": "",
|
|
1208
1212
|
"aria-hidden": "true"
|
|
1209
|
-
}, " *", -1),
|
|
1213
|
+
}, " *", -1), Ge = /* @__PURE__ */ c("span", { class: "visually-hidden" }, "required", -1), Rt = {
|
|
1210
1214
|
__name: "BsLabel",
|
|
1211
1215
|
props: {
|
|
1212
1216
|
disabled: {},
|
|
@@ -1216,32 +1220,32 @@ const Se = ["data-disabled", "htmlFor"], Fe = { "data-slot": "" }, Ee = /* @__PU
|
|
|
1216
1220
|
required: {}
|
|
1217
1221
|
},
|
|
1218
1222
|
setup(e) {
|
|
1219
|
-
const n = e, a =
|
|
1223
|
+
const n = e, a = w(), t = b(() => {
|
|
1220
1224
|
const l = {};
|
|
1221
|
-
return n.passAttrs.split(",").forEach((
|
|
1222
|
-
l[
|
|
1225
|
+
return n.passAttrs.split(",").forEach((i) => {
|
|
1226
|
+
l[i] = a[i];
|
|
1223
1227
|
}), l;
|
|
1224
1228
|
});
|
|
1225
|
-
return (l,
|
|
1229
|
+
return (l, i) => (s(), r("bs-host", {
|
|
1226
1230
|
"data-component": "bs-label",
|
|
1227
|
-
class:
|
|
1231
|
+
class: P(e.hide ? "visually-hidden" : "")
|
|
1228
1232
|
}, [
|
|
1229
|
-
|
|
1233
|
+
c("label", d({
|
|
1230
1234
|
"data-disabled": e.disabled,
|
|
1231
1235
|
htmlFor: e.for
|
|
1232
1236
|
}, t.value), [
|
|
1233
|
-
|
|
1237
|
+
c("span", Oe, [
|
|
1234
1238
|
f(l.$slots, "default")
|
|
1235
1239
|
]),
|
|
1236
|
-
e.required ? (s(), r(
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
], 64)) :
|
|
1240
|
-
], 16,
|
|
1240
|
+
e.required ? (s(), r(D, { key: 0 }, [
|
|
1241
|
+
Re,
|
|
1242
|
+
Ge
|
|
1243
|
+
], 64)) : q("", !0)
|
|
1244
|
+
], 16, Ee)
|
|
1241
1245
|
], 2));
|
|
1242
1246
|
}
|
|
1243
1247
|
};
|
|
1244
|
-
const
|
|
1248
|
+
const je = { "data-component": "bs-pill" }, Gt = {
|
|
1245
1249
|
__name: "BsPill",
|
|
1246
1250
|
props: {
|
|
1247
1251
|
variant: {},
|
|
@@ -1252,14 +1256,14 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1252
1256
|
passAttrs: { default: "" }
|
|
1253
1257
|
},
|
|
1254
1258
|
setup(e) {
|
|
1255
|
-
const n = e, { onLinkClick: a } =
|
|
1256
|
-
const
|
|
1257
|
-
return n.passAttrs.split(",").forEach((
|
|
1258
|
-
|
|
1259
|
-
}), n.disabled && n.href && (
|
|
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;
|
|
1260
1264
|
});
|
|
1261
|
-
return (
|
|
1262
|
-
(s(),
|
|
1265
|
+
return (o, h) => (s(), r("bs-host", je, [
|
|
1266
|
+
(s(), $(p(l.value), d({
|
|
1263
1267
|
class: "bs-pill",
|
|
1264
1268
|
"data-active": e.active,
|
|
1265
1269
|
"data-slot": "",
|
|
@@ -1267,16 +1271,16 @@ const Re = { "data-component": "bs-pill" }, Rt = {
|
|
|
1267
1271
|
"data-variant": e.variant || void 0,
|
|
1268
1272
|
disabled: e.disabled,
|
|
1269
1273
|
href: e.href
|
|
1270
|
-
},
|
|
1271
|
-
default:
|
|
1272
|
-
f(
|
|
1274
|
+
}, i.value, { onClick: m(a) }), {
|
|
1275
|
+
default: B(() => [
|
|
1276
|
+
f(o.$slots, "default")
|
|
1273
1277
|
]),
|
|
1274
1278
|
_: 3
|
|
1275
1279
|
}, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]))
|
|
1276
1280
|
]));
|
|
1277
1281
|
}
|
|
1278
1282
|
};
|
|
1279
|
-
const
|
|
1283
|
+
const Ne = { "data-component": "bs-select" }, We = ["id", "disabled", "required", "data-error", "value"], jt = {
|
|
1280
1284
|
__name: "BsSelect",
|
|
1281
1285
|
props: {
|
|
1282
1286
|
disabled: { default: !1 },
|
|
@@ -1289,14 +1293,14 @@ const Ge = { "data-component": "bs-select" }, je = ["id", "disabled", "required"
|
|
|
1289
1293
|
modelValue: {}
|
|
1290
1294
|
},
|
|
1291
1295
|
setup(e) {
|
|
1292
|
-
const n = e, a = ["autocomplete", "multiple", "name", "size"], t =
|
|
1293
|
-
const
|
|
1294
|
-
return n.passAttrs.split(",").concat(a).forEach((
|
|
1295
|
-
|
|
1296
|
-
}),
|
|
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;
|
|
1297
1301
|
});
|
|
1298
|
-
return (
|
|
1299
|
-
|
|
1302
|
+
return (o, h) => (s(), r("bs-host", Ne, [
|
|
1303
|
+
c("select", d({
|
|
1300
1304
|
id: e.inputId,
|
|
1301
1305
|
class: "bs-select",
|
|
1302
1306
|
"data-slot": "",
|
|
@@ -1304,14 +1308,14 @@ const Ge = { "data-component": "bs-select" }, je = ["id", "disabled", "required"
|
|
|
1304
1308
|
required: e.required,
|
|
1305
1309
|
"data-error": e.error,
|
|
1306
1310
|
value: e.value || e.modelValue,
|
|
1307
|
-
onChange:
|
|
1308
|
-
},
|
|
1309
|
-
f(
|
|
1310
|
-
], 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)
|
|
1311
1315
|
]));
|
|
1312
1316
|
}
|
|
1313
1317
|
};
|
|
1314
|
-
const
|
|
1318
|
+
const He = ["data-position"], Ue = { "data-slot": "" }, Ye = ["id"], Nt = {
|
|
1315
1319
|
__name: "BsTooltip",
|
|
1316
1320
|
props: {
|
|
1317
1321
|
tooltipId: {},
|
|
@@ -1319,93 +1323,93 @@ const Ne = ["data-position"], We = { "data-slot": "" }, He = ["id"], jt = {
|
|
|
1319
1323
|
position: {}
|
|
1320
1324
|
},
|
|
1321
1325
|
setup(e) {
|
|
1322
|
-
const n = e, a =
|
|
1323
|
-
let
|
|
1324
|
-
return t.value && (n.position === void 0 || n.position === "top" || n.position === "bottom" ?
|
|
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;
|
|
1325
1329
|
});
|
|
1326
|
-
|
|
1327
|
-
window.addEventListener("keydown",
|
|
1328
|
-
}),
|
|
1329
|
-
window.removeEventListener("keydown",
|
|
1330
|
+
k(() => {
|
|
1331
|
+
window.addEventListener("keydown", h);
|
|
1332
|
+
}), O(() => {
|
|
1333
|
+
window.removeEventListener("keydown", h);
|
|
1330
1334
|
});
|
|
1331
|
-
function
|
|
1335
|
+
function i() {
|
|
1332
1336
|
a.value = !0;
|
|
1333
1337
|
}
|
|
1334
|
-
function
|
|
1338
|
+
function o() {
|
|
1335
1339
|
a.value = !1, t.value = !1;
|
|
1336
1340
|
}
|
|
1337
|
-
function
|
|
1338
|
-
a.value &&
|
|
1341
|
+
function h(u) {
|
|
1342
|
+
a.value && u.key === "Escape" && (a.value = !1, t.value = !0);
|
|
1339
1343
|
}
|
|
1340
|
-
return (
|
|
1344
|
+
return (u, g) => (s(), r("bs-host", {
|
|
1341
1345
|
"data-component": "bs-tooltip",
|
|
1342
|
-
onMouseenter:
|
|
1343
|
-
onFocusin:
|
|
1344
|
-
onMouseleave:
|
|
1345
|
-
onFocusout:
|
|
1346
|
+
onMouseenter: i,
|
|
1347
|
+
onFocusin: i,
|
|
1348
|
+
onMouseleave: o,
|
|
1349
|
+
onFocusout: o
|
|
1346
1350
|
}, [
|
|
1347
|
-
|
|
1351
|
+
c("div", {
|
|
1348
1352
|
class: "bs-tooltip",
|
|
1349
1353
|
"data-position": e.position || void 0
|
|
1350
1354
|
}, [
|
|
1351
|
-
|
|
1352
|
-
f(
|
|
1355
|
+
c("div", Ue, [
|
|
1356
|
+
f(u.$slots, "default")
|
|
1353
1357
|
]),
|
|
1354
|
-
|
|
1355
|
-
class:
|
|
1358
|
+
c("div", {
|
|
1359
|
+
class: P(l.value),
|
|
1356
1360
|
id: e.tooltipId,
|
|
1357
1361
|
role: "tooltip"
|
|
1358
|
-
},
|
|
1359
|
-
], 8,
|
|
1362
|
+
}, z(e.content), 11, Ye)
|
|
1363
|
+
], 8, He)
|
|
1360
1364
|
], 32));
|
|
1361
1365
|
}
|
|
1362
1366
|
};
|
|
1363
1367
|
export {
|
|
1364
|
-
|
|
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
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
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,
|
|
1378
|
+
nt as BsDropdownOption,
|
|
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
|
|
1411
1415
|
};
|