@wwtdev/bsds-components-vue3 1.16.3 → 1.16.5
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 +410 -400
- package/nuxt/bsds-components.umd.js +1 -1
- package/package.json +2 -2
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { openBlock as i, createElementBlock as
|
|
2
|
-
import { ClientOnly as
|
|
3
|
-
import { v4 as
|
|
4
|
-
const
|
|
1
|
+
import { openBlock as i, createElementBlock as u, mergeProps as f, renderSlot as $, computed as p, unref as T, createBlock as w, withCtx as C, createElementVNode as b, normalizeProps as K, guardReactiveProps as Q, ref as g, onMounted as W, resolveDynamicComponent as H, createCommentVNode as j, toDisplayString as F, useAttrs as S, withDirectives as $e, normalizeStyle as Be, vShow as pe, Fragment as U, renderList as _, createVNode as ye, normalizeClass as ee, watch as Te, onUnmounted as te, createTextVNode as Ie, nextTick as xe } from "vue";
|
|
2
|
+
import { ClientOnly as z } from "#components";
|
|
3
|
+
import { v4 as we } from "uuid";
|
|
4
|
+
const Ce = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], Nt = {
|
|
5
5
|
__name: "BsBadge",
|
|
6
6
|
props: {
|
|
7
7
|
color: {},
|
|
@@ -14,7 +14,7 @@ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
14
14
|
},
|
|
15
15
|
emits: [],
|
|
16
16
|
setup(e, { emit: l }) {
|
|
17
|
-
return (a, t) => (i(),
|
|
17
|
+
return (a, t) => (i(), u("bs-badge", f(a.$attrs, {
|
|
18
18
|
color: e.color,
|
|
19
19
|
count: e.count,
|
|
20
20
|
"count-max": e.countMax,
|
|
@@ -23,10 +23,10 @@ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
23
23
|
position: e.position,
|
|
24
24
|
"show-zero": e.showZero
|
|
25
25
|
}), [
|
|
26
|
-
|
|
27
|
-
], 16,
|
|
26
|
+
$(a.$slots, "default")
|
|
27
|
+
], 16, Ce));
|
|
28
28
|
}
|
|
29
|
-
},
|
|
29
|
+
}, ke = ["char-count", "char-max"], Ht = {
|
|
30
30
|
__name: "BsCharacterCount",
|
|
31
31
|
props: {
|
|
32
32
|
charCount: {},
|
|
@@ -34,12 +34,12 @@ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
34
34
|
},
|
|
35
35
|
emits: [],
|
|
36
36
|
setup(e, { emit: l }) {
|
|
37
|
-
return (a, t) => (i(),
|
|
37
|
+
return (a, t) => (i(), u("bs-character-count", f(a.$attrs, {
|
|
38
38
|
"char-count": e.charCount,
|
|
39
39
|
"char-max": e.charMax
|
|
40
|
-
}), null, 16,
|
|
40
|
+
}), null, 16, ke));
|
|
41
41
|
}
|
|
42
|
-
},
|
|
42
|
+
}, Ae = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], jt = {
|
|
43
43
|
__name: "BsChartBar",
|
|
44
44
|
props: {
|
|
45
45
|
chartTitle: {},
|
|
@@ -55,7 +55,7 @@ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
55
55
|
},
|
|
56
56
|
emits: [],
|
|
57
57
|
setup(e, { emit: l }) {
|
|
58
|
-
return (a, t) => (i(),
|
|
58
|
+
return (a, t) => (i(), u("bs-chart-bar", f(a.$attrs, {
|
|
59
59
|
"chart-title": e.chartTitle,
|
|
60
60
|
data: e.data,
|
|
61
61
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -66,9 +66,9 @@ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
66
66
|
stacked: e.stacked,
|
|
67
67
|
"x-label": e.xLabel,
|
|
68
68
|
"y-label": e.yLabel
|
|
69
|
-
}), null, 16,
|
|
69
|
+
}), null, 16, Ae));
|
|
70
70
|
}
|
|
71
|
-
},
|
|
71
|
+
}, Le = ["data", "dataIdxLabels", "table-title"], Ut = {
|
|
72
72
|
__name: "BsChartTable",
|
|
73
73
|
props: {
|
|
74
74
|
data: {},
|
|
@@ -77,13 +77,13 @@ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
77
77
|
},
|
|
78
78
|
emits: [],
|
|
79
79
|
setup(e, { emit: l }) {
|
|
80
|
-
return (a, t) => (i(),
|
|
80
|
+
return (a, t) => (i(), u("bs-chart-table", f(a.$attrs, {
|
|
81
81
|
data: e.data,
|
|
82
82
|
dataIdxLabels: e.dataIdxLabels,
|
|
83
83
|
"table-title": e.tableTitle
|
|
84
|
-
}), null, 16,
|
|
84
|
+
}), null, 16, Le));
|
|
85
85
|
}
|
|
86
|
-
},
|
|
86
|
+
}, De = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"], Yt = {
|
|
87
87
|
__name: "BsCheckbox",
|
|
88
88
|
props: {
|
|
89
89
|
label: {},
|
|
@@ -99,7 +99,7 @@ const xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
99
99
|
},
|
|
100
100
|
emits: ["update:modelValue"],
|
|
101
101
|
setup(e, { emit: l }) {
|
|
102
|
-
return (a, t) => (i(),
|
|
102
|
+
return (a, t) => (i(), u("bs-checkbox", f(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 xe = ["color", "count", "count-max", "dot", "label", "position", "show-zer
|
|
|
110
110
|
required: e.required,
|
|
111
111
|
size: e.size,
|
|
112
112
|
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
|
|
113
|
-
}), null, 16,
|
|
113
|
+
}), null, 16, De));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
function M(e) {
|
|
117
|
-
const l =
|
|
118
|
-
var n,
|
|
119
|
-
return ((
|
|
120
|
-
}), a =
|
|
121
|
-
var n,
|
|
122
|
-
return l.value && ((n = e.router) == null ? void 0 : n.navigateTo) || ((
|
|
117
|
+
const l = p(() => {
|
|
118
|
+
var n, d;
|
|
119
|
+
return ((d = (n = e.href) == null ? void 0 : n.startsWith) == null ? void 0 : d.call(n, "/")) || !1;
|
|
120
|
+
}), a = p(() => {
|
|
121
|
+
var n, d;
|
|
122
|
+
return l.value && ((n = e.router) == null ? void 0 : n.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
|
|
123
123
|
});
|
|
124
124
|
function t(n) {
|
|
125
|
-
var
|
|
126
|
-
a.value && ((
|
|
125
|
+
var d, c, m, r, h;
|
|
126
|
+
a.value && ((c = (d = n.target.href) == null ? void 0 : d.endsWith) != null && c.call(d, e.href) || (h = (r = (m = n.target.closest("a")) == null ? void 0 : m.href) == null ? void 0 : r.endsWith) != null && h.call(r, e.href)) && (n.preventDefault(), a.value(e.href));
|
|
127
127
|
}
|
|
128
128
|
return { onLinkClick: t };
|
|
129
129
|
}
|
|
130
|
-
const
|
|
130
|
+
const Ve = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], Xt = {
|
|
131
131
|
__name: "BsCircleButton",
|
|
132
132
|
props: {
|
|
133
133
|
disabled: {},
|
|
@@ -145,7 +145,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
145
145
|
emits: [],
|
|
146
146
|
setup(e, { emit: l }) {
|
|
147
147
|
const a = e, { onLinkClick: t } = M(a);
|
|
148
|
-
return (n,
|
|
148
|
+
return (n, d) => (i(), u("bs-circle-button", f(n.$attrs, {
|
|
149
149
|
disabled: e.disabled,
|
|
150
150
|
"ghost-btn": e.ghostBtn,
|
|
151
151
|
"hover-effect": e.hoverEffect,
|
|
@@ -156,10 +156,10 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
156
156
|
"pass-attrs": e.passAttrs,
|
|
157
157
|
"text-btn": e.textBtn,
|
|
158
158
|
size: e.size,
|
|
159
|
-
onClick:
|
|
160
|
-
}), null, 16,
|
|
159
|
+
onClick: d[0] || (d[0] = (...c) => T(t) && T(t)(...c))
|
|
160
|
+
}), null, 16, Ve));
|
|
161
161
|
}
|
|
162
|
-
},
|
|
162
|
+
}, ze = ["width", "top", "center", "right", "toggle-id", "container-id", "helper-text", "helper-description", "enter-controlled", "enter-trigger", "leave-trigger"], Zt = {
|
|
163
163
|
__name: "BsDropdown",
|
|
164
164
|
props: {
|
|
165
165
|
width: { default: void 0 },
|
|
@@ -176,8 +176,8 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
176
176
|
},
|
|
177
177
|
emits: ["close", "enterend", "leaveend"],
|
|
178
178
|
setup(e, { emit: l }) {
|
|
179
|
-
return (a, t) => (i(),
|
|
180
|
-
default:
|
|
179
|
+
return (a, t) => (i(), w(T(z), null, {
|
|
180
|
+
default: C(() => [
|
|
181
181
|
b("bs-dropdown", f(a.$attrs, {
|
|
182
182
|
width: e.width,
|
|
183
183
|
top: e.top,
|
|
@@ -194,13 +194,13 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
194
194
|
onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
|
|
195
195
|
onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
|
|
196
196
|
}), [
|
|
197
|
-
|
|
198
|
-
], 16,
|
|
197
|
+
$(a.$slots, "default")
|
|
198
|
+
], 16, ze)
|
|
199
199
|
]),
|
|
200
200
|
_: 3
|
|
201
201
|
}));
|
|
202
202
|
}
|
|
203
|
-
},
|
|
203
|
+
}, qe = ["value", "variant", "options-id", "selected", "focused", "index"], Jt = {
|
|
204
204
|
__name: "BsDropdownOption",
|
|
205
205
|
props: {
|
|
206
206
|
value: {},
|
|
@@ -212,7 +212,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
212
212
|
},
|
|
213
213
|
emits: ["optmouseenter", "optselect"],
|
|
214
214
|
setup(e, { emit: l }) {
|
|
215
|
-
return (a, t) => (i(),
|
|
215
|
+
return (a, t) => (i(), u("bs-dropdown-option", f(a.$attrs, {
|
|
216
216
|
value: e.value,
|
|
217
217
|
variant: e.variant,
|
|
218
218
|
"options-id": e.optionsId,
|
|
@@ -222,10 +222,10 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
222
222
|
onOptmouseenter: t[0] || (t[0] = (n) => l("optmouseenter", n.detail)),
|
|
223
223
|
onOptselect: t[1] || (t[1] = (n) => l("optselect", n.detail))
|
|
224
224
|
}), [
|
|
225
|
-
|
|
226
|
-
], 16,
|
|
225
|
+
$(a.$slots, "default")
|
|
226
|
+
], 16, qe));
|
|
227
227
|
}
|
|
228
|
-
},
|
|
228
|
+
}, Pe = ["options-id", "visible", "focus-delay", "label", "selected-value"], Kt = {
|
|
229
229
|
__name: "BsDropdownOptionList",
|
|
230
230
|
props: {
|
|
231
231
|
optionsId: {},
|
|
@@ -236,8 +236,8 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
236
236
|
},
|
|
237
237
|
emits: ["optselected", "close"],
|
|
238
238
|
setup(e, { emit: l }) {
|
|
239
|
-
return (a, t) => (i(),
|
|
240
|
-
default:
|
|
239
|
+
return (a, t) => (i(), w(T(z), null, {
|
|
240
|
+
default: C(() => [
|
|
241
241
|
b("bs-dropdown-option-list", f(a.$attrs, {
|
|
242
242
|
"options-id": e.optionsId,
|
|
243
243
|
visible: e.visible,
|
|
@@ -247,13 +247,13 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
247
247
|
onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
|
|
248
248
|
onClose: t[1] || (t[1] = (n) => l("close", n.detail))
|
|
249
249
|
}), [
|
|
250
|
-
|
|
251
|
-
], 16,
|
|
250
|
+
$(a.$slots, "default")
|
|
251
|
+
], 16, Pe)
|
|
252
252
|
]),
|
|
253
253
|
_: 3
|
|
254
254
|
}));
|
|
255
255
|
}
|
|
256
|
-
},
|
|
256
|
+
}, Se = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description", "right"], Qt = {
|
|
257
257
|
__name: "BsDropdownWithOptions",
|
|
258
258
|
props: {
|
|
259
259
|
toggleId: {},
|
|
@@ -273,8 +273,8 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
273
273
|
},
|
|
274
274
|
emits: ["optselected", "close", "enterend", "leaveend"],
|
|
275
275
|
setup(e, { emit: l }) {
|
|
276
|
-
return (a, t) => (i(),
|
|
277
|
-
default:
|
|
276
|
+
return (a, t) => (i(), w(T(z), null, {
|
|
277
|
+
default: C(() => [
|
|
278
278
|
b("bs-dropdown-with-options", f(a.$attrs, {
|
|
279
279
|
"toggle-id": e.toggleId,
|
|
280
280
|
"container-id": e.containerId,
|
|
@@ -295,13 +295,13 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
295
295
|
onEnterend: t[2] || (t[2] = (n) => l("enterend", n.detail)),
|
|
296
296
|
onLeaveend: t[3] || (t[3] = (n) => l("leaveend", n.detail))
|
|
297
297
|
}), [
|
|
298
|
-
|
|
299
|
-
], 16,
|
|
298
|
+
$(a.$slots, "default")
|
|
299
|
+
], 16, Se)
|
|
300
300
|
]),
|
|
301
301
|
_: 3
|
|
302
302
|
}));
|
|
303
303
|
}
|
|
304
|
-
},
|
|
304
|
+
}, Me = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], _t = {
|
|
305
305
|
__name: "BsFieldDetails",
|
|
306
306
|
props: {
|
|
307
307
|
charCount: {},
|
|
@@ -313,16 +313,16 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
313
313
|
},
|
|
314
314
|
emits: [],
|
|
315
315
|
setup(e, { emit: l }) {
|
|
316
|
-
return (a, t) => (i(),
|
|
316
|
+
return (a, t) => (i(), u("bs-field-details", f(a.$attrs, {
|
|
317
317
|
"char-count": e.charCount,
|
|
318
318
|
"char-max": e.charMax,
|
|
319
319
|
error: e.error,
|
|
320
320
|
"error-msg": e.errorMsg,
|
|
321
321
|
hint: e.hint,
|
|
322
322
|
"hint-id": e.hintId
|
|
323
|
-
}), null, 16,
|
|
323
|
+
}), null, 16, Me));
|
|
324
324
|
}
|
|
325
|
-
},
|
|
325
|
+
}, Ee = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], ea = {
|
|
326
326
|
__name: "BsFieldLayout",
|
|
327
327
|
props: {
|
|
328
328
|
charCount: {},
|
|
@@ -337,7 +337,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
337
337
|
},
|
|
338
338
|
emits: [],
|
|
339
339
|
setup(e, { emit: l }) {
|
|
340
|
-
return (a, t) => (i(),
|
|
340
|
+
return (a, t) => (i(), u("bs-field-layout", f(a.$attrs, {
|
|
341
341
|
"char-count": e.charCount,
|
|
342
342
|
"char-max": e.charMax,
|
|
343
343
|
disabled: e.disabled,
|
|
@@ -348,10 +348,10 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
348
348
|
required: e.required,
|
|
349
349
|
"hint-id": e.hintId
|
|
350
350
|
}), [
|
|
351
|
-
|
|
352
|
-
], 16,
|
|
351
|
+
$(a.$slots, "default")
|
|
352
|
+
], 16, Ee));
|
|
353
353
|
}
|
|
354
|
-
},
|
|
354
|
+
}, Oe = ["error", "hint-id", "hints"], ta = {
|
|
355
355
|
__name: "BsHint",
|
|
356
356
|
props: {
|
|
357
357
|
error: {},
|
|
@@ -360,13 +360,13 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
360
360
|
},
|
|
361
361
|
emits: [],
|
|
362
362
|
setup(e, { emit: l }) {
|
|
363
|
-
return (a, t) => (i(),
|
|
363
|
+
return (a, t) => (i(), u("bs-hint", f(a.$attrs, {
|
|
364
364
|
error: e.error,
|
|
365
365
|
"hint-id": e.hintId,
|
|
366
366
|
hints: e.hints
|
|
367
|
-
}), null, 16,
|
|
367
|
+
}), null, 16, Oe));
|
|
368
368
|
}
|
|
369
|
-
},
|
|
369
|
+
}, Fe = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], aa = {
|
|
370
370
|
__name: "BsInput",
|
|
371
371
|
props: {
|
|
372
372
|
disabled: { default: !1 },
|
|
@@ -382,7 +382,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
382
382
|
},
|
|
383
383
|
emits: ["update:modelValue"],
|
|
384
384
|
setup(e, { emit: l }) {
|
|
385
|
-
return (a, t) => (i(),
|
|
385
|
+
return (a, t) => (i(), u("bs-input", f(a.$attrs, {
|
|
386
386
|
disabled: e.disabled,
|
|
387
387
|
error: e.error,
|
|
388
388
|
"input-id": e.inputId,
|
|
@@ -393,9 +393,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
393
393
|
value: e.value || e.modelValue,
|
|
394
394
|
"hint-id": e.hintId,
|
|
395
395
|
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
396
|
-
}), null, 16,
|
|
396
|
+
}), null, 16, Fe));
|
|
397
397
|
}
|
|
398
|
-
},
|
|
398
|
+
}, Re = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], na = {
|
|
399
399
|
__name: "BsInputField",
|
|
400
400
|
props: {
|
|
401
401
|
disabled: { default: !1 },
|
|
@@ -414,7 +414,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
414
414
|
},
|
|
415
415
|
emits: ["update:modelValue"],
|
|
416
416
|
setup(e, { emit: l }) {
|
|
417
|
-
return (a, t) => (i(),
|
|
417
|
+
return (a, t) => (i(), u("bs-input-field", f(a.$attrs, {
|
|
418
418
|
disabled: e.disabled,
|
|
419
419
|
error: e.error,
|
|
420
420
|
"error-msg": e.errorMsg,
|
|
@@ -428,9 +428,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
428
428
|
type: e.type,
|
|
429
429
|
value: e.value || e.modelValue,
|
|
430
430
|
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
431
|
-
}), null, 16,
|
|
431
|
+
}), null, 16, Re));
|
|
432
432
|
}
|
|
433
|
-
},
|
|
433
|
+
}, We = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value", "hide-clear"], la = {
|
|
434
434
|
__name: "BsInputSearch",
|
|
435
435
|
props: {
|
|
436
436
|
disabled: { default: !1 },
|
|
@@ -444,7 +444,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
444
444
|
},
|
|
445
445
|
emits: ["clear", "update:modelValue"],
|
|
446
446
|
setup(e, { emit: l }) {
|
|
447
|
-
return (a, t) => (i(),
|
|
447
|
+
return (a, t) => (i(), u("bs-input-search", f(a.$attrs, {
|
|
448
448
|
disabled: e.disabled,
|
|
449
449
|
"pass-attrs": e.passAttrs,
|
|
450
450
|
placeholder: e.placeholder,
|
|
@@ -454,9 +454,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
454
454
|
"hide-clear": e.hideClear,
|
|
455
455
|
onClear: t[0] || (t[0] = (n) => l("clear", n.detail)),
|
|
456
456
|
onInput: t[1] || (t[1] = (n) => l("update:modelValue", n.target.value))
|
|
457
|
-
}), null, 16,
|
|
457
|
+
}), null, 16, We));
|
|
458
458
|
}
|
|
459
|
-
},
|
|
459
|
+
}, Ge = ["size", "variant"], sa = {
|
|
460
460
|
__name: "BsLoader",
|
|
461
461
|
props: {
|
|
462
462
|
size: {},
|
|
@@ -464,12 +464,12 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
464
464
|
},
|
|
465
465
|
emits: [],
|
|
466
466
|
setup(e, { emit: l }) {
|
|
467
|
-
return (a, t) => (i(),
|
|
467
|
+
return (a, t) => (i(), u("bs-loader", f(a.$attrs, {
|
|
468
468
|
size: e.size,
|
|
469
469
|
variant: e.variant
|
|
470
|
-
}), null, 16,
|
|
470
|
+
}), null, 16, Ge));
|
|
471
471
|
}
|
|
472
|
-
},
|
|
472
|
+
}, Ne = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], ia = {
|
|
473
473
|
__name: "BsModal",
|
|
474
474
|
props: {
|
|
475
475
|
alert: { default: !1 },
|
|
@@ -480,8 +480,8 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
480
480
|
},
|
|
481
481
|
emits: ["close", "enterend", "leaveend"],
|
|
482
482
|
setup(e, { emit: l }) {
|
|
483
|
-
return (a, t) => (i(),
|
|
484
|
-
default:
|
|
483
|
+
return (a, t) => (i(), w(T(z), null, {
|
|
484
|
+
default: C(() => [
|
|
485
485
|
b("bs-modal", f(a.$attrs, {
|
|
486
486
|
alert: e.alert,
|
|
487
487
|
"close-button": e.closeButton,
|
|
@@ -492,13 +492,13 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
492
492
|
onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
|
|
493
493
|
onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
|
|
494
494
|
}), [
|
|
495
|
-
|
|
496
|
-
], 16,
|
|
495
|
+
$(a.$slots, "default")
|
|
496
|
+
], 16, Ne)
|
|
497
497
|
]),
|
|
498
498
|
_: 3
|
|
499
499
|
}));
|
|
500
500
|
}
|
|
501
|
-
},
|
|
501
|
+
}, He = ["enter-controlled", "enter-trigger", "leave-trigger"], ra = {
|
|
502
502
|
__name: "BsOverlay",
|
|
503
503
|
props: {
|
|
504
504
|
enterControlled: { default: !1 },
|
|
@@ -507,20 +507,20 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
507
507
|
},
|
|
508
508
|
emits: ["enterend", "leaveend"],
|
|
509
509
|
setup(e, { emit: l }) {
|
|
510
|
-
return (a, t) => (i(),
|
|
511
|
-
default:
|
|
510
|
+
return (a, t) => (i(), w(T(z), null, {
|
|
511
|
+
default: C(() => [
|
|
512
512
|
b("bs-overlay", f(a.$attrs, {
|
|
513
513
|
"enter-controlled": e.enterControlled,
|
|
514
514
|
"enter-trigger": e.enterTrigger,
|
|
515
515
|
"leave-trigger": e.leaveTrigger,
|
|
516
516
|
onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
|
|
517
517
|
onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
|
|
518
|
-
}), null, 16,
|
|
518
|
+
}), null, 16, He)
|
|
519
519
|
]),
|
|
520
520
|
_: 1
|
|
521
521
|
}));
|
|
522
522
|
}
|
|
523
|
-
},
|
|
523
|
+
}, je = ["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"], da = {
|
|
524
524
|
__name: "BsPagination",
|
|
525
525
|
props: {
|
|
526
526
|
showFirstLastButtons: { default: !1 },
|
|
@@ -542,7 +542,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
542
542
|
},
|
|
543
543
|
emits: ["selchange"],
|
|
544
544
|
setup(e, { emit: l }) {
|
|
545
|
-
return (a, t) => (i(),
|
|
545
|
+
return (a, t) => (i(), u("bs-pagination", f(a.$attrs, {
|
|
546
546
|
"show-first-last-buttons": e.showFirstLastButtons,
|
|
547
547
|
"prev-page-text": e.prevPageText,
|
|
548
548
|
"first-page-text": e.firstPageText,
|
|
@@ -560,9 +560,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
560
560
|
"items-count": e.itemsCount,
|
|
561
561
|
"results-increments": e.resultsIncrements,
|
|
562
562
|
onSelchange: t[0] || (t[0] = (n) => l("selchange", n.detail))
|
|
563
|
-
}), null, 16,
|
|
563
|
+
}), null, 16, je));
|
|
564
564
|
}
|
|
565
|
-
},
|
|
565
|
+
}, Ue = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], oa = {
|
|
566
566
|
__name: "BsProfile",
|
|
567
567
|
props: {
|
|
568
568
|
layout: {},
|
|
@@ -583,7 +583,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
583
583
|
emits: ["action-toggled"],
|
|
584
584
|
setup(e, { emit: l }) {
|
|
585
585
|
const a = e, { onLinkClick: t } = M(a);
|
|
586
|
-
return (n,
|
|
586
|
+
return (n, d) => (i(), u("bs-profile", f(n.$attrs, {
|
|
587
587
|
layout: e.layout,
|
|
588
588
|
href: e.href,
|
|
589
589
|
"image-src": e.imageSrc,
|
|
@@ -597,11 +597,11 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
597
597
|
"action-icon": e.actionIcon,
|
|
598
598
|
"misc-meta": e.miscMeta,
|
|
599
599
|
"misc-meta-icon": e.miscMetaIcon,
|
|
600
|
-
onActionToggled:
|
|
601
|
-
onClick:
|
|
602
|
-
}), null, 16,
|
|
600
|
+
onActionToggled: d[0] || (d[0] = (c) => l("action-toggled", c.detail)),
|
|
601
|
+
onClick: d[1] || (d[1] = (...c) => T(t) && T(t)(...c))
|
|
602
|
+
}), null, 16, Ue));
|
|
603
603
|
}
|
|
604
|
-
},
|
|
604
|
+
}, Ye = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], ua = {
|
|
605
605
|
__name: "BsProfileDetails",
|
|
606
606
|
props: {
|
|
607
607
|
profileName: {},
|
|
@@ -615,7 +615,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
615
615
|
},
|
|
616
616
|
emits: ["action-toggled"],
|
|
617
617
|
setup(e, { emit: l }) {
|
|
618
|
-
return (a, t) => (i(),
|
|
618
|
+
return (a, t) => (i(), u("bs-profile-details", f(a.$attrs, {
|
|
619
619
|
"profile-name": e.profileName,
|
|
620
620
|
company: e.company,
|
|
621
621
|
"job-title": e.jobTitle,
|
|
@@ -625,9 +625,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
625
625
|
"misc-meta": e.miscMeta,
|
|
626
626
|
"misc-meta-icon": e.miscMetaIcon,
|
|
627
627
|
onActionToggled: t[0] || (t[0] = (n) => l("action-toggled", n.detail))
|
|
628
|
-
}), null, 16,
|
|
628
|
+
}), null, 16, Ye));
|
|
629
629
|
}
|
|
630
|
-
},
|
|
630
|
+
}, Xe = ["src", "size", "initials", "profile-name"], ca = {
|
|
631
631
|
__name: "BsProfileImg",
|
|
632
632
|
props: {
|
|
633
633
|
src: {},
|
|
@@ -637,14 +637,14 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
637
637
|
},
|
|
638
638
|
emits: [],
|
|
639
639
|
setup(e, { emit: l }) {
|
|
640
|
-
return (a, t) => (i(),
|
|
640
|
+
return (a, t) => (i(), u("bs-profile-img", f(a.$attrs, {
|
|
641
641
|
src: e.src,
|
|
642
642
|
size: e.size,
|
|
643
643
|
initials: e.initials,
|
|
644
644
|
"profile-name": e.profileName
|
|
645
|
-
}), null, 16,
|
|
645
|
+
}), null, 16, Xe));
|
|
646
646
|
}
|
|
647
|
-
},
|
|
647
|
+
}, Ze = ["layout", "href", "pass-attrs"], fa = {
|
|
648
648
|
__name: "BsProfileLayout",
|
|
649
649
|
props: {
|
|
650
650
|
layout: { default: "vertical" },
|
|
@@ -655,16 +655,16 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
655
655
|
emits: [],
|
|
656
656
|
setup(e, { emit: l }) {
|
|
657
657
|
const a = e, { onLinkClick: t } = M(a);
|
|
658
|
-
return (n,
|
|
658
|
+
return (n, d) => (i(), u("bs-profile-layout", f(n.$attrs, {
|
|
659
659
|
layout: e.layout,
|
|
660
660
|
href: e.href,
|
|
661
661
|
"pass-attrs": e.passAttrs,
|
|
662
|
-
onClick:
|
|
662
|
+
onClick: d[0] || (d[0] = (...c) => T(t) && T(t)(...c))
|
|
663
663
|
}), [
|
|
664
|
-
|
|
665
|
-
], 16,
|
|
664
|
+
$(n.$slots, "default")
|
|
665
|
+
], 16, Ze));
|
|
666
666
|
}
|
|
667
|
-
},
|
|
667
|
+
}, Je = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], ha = {
|
|
668
668
|
__name: "BsRadio",
|
|
669
669
|
props: {
|
|
670
670
|
label: {},
|
|
@@ -680,7 +680,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
680
680
|
},
|
|
681
681
|
emits: ["update:modelValue"],
|
|
682
682
|
setup(e, { emit: l }) {
|
|
683
|
-
return (a, t) => (i(),
|
|
683
|
+
return (a, t) => (i(), u("bs-radio", f(a.$attrs, {
|
|
684
684
|
label: e.label,
|
|
685
685
|
checked: e.checked || e.modelValue === e.value,
|
|
686
686
|
disabled: e.disabled,
|
|
@@ -691,9 +691,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
691
691
|
size: e.size,
|
|
692
692
|
value: e.value,
|
|
693
693
|
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
694
|
-
}), null, 16,
|
|
694
|
+
}), null, 16, Je));
|
|
695
695
|
}
|
|
696
|
-
},
|
|
696
|
+
}, Ke = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], ba = {
|
|
697
697
|
__name: "BsSelectField",
|
|
698
698
|
props: {
|
|
699
699
|
disabled: { default: !1 },
|
|
@@ -712,7 +712,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
712
712
|
},
|
|
713
713
|
emits: ["update:modelValue"],
|
|
714
714
|
setup(e, { emit: l }) {
|
|
715
|
-
return (a, t) => (i(),
|
|
715
|
+
return (a, t) => (i(), u("bs-select-field", f(a.$attrs, {
|
|
716
716
|
disabled: e.disabled,
|
|
717
717
|
error: e.error,
|
|
718
718
|
"error-msg": e.errorMsg,
|
|
@@ -726,9 +726,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
726
726
|
"pass-attrs": e.passAttrs,
|
|
727
727
|
data: e.data,
|
|
728
728
|
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
729
|
-
}), null, 16,
|
|
729
|
+
}), null, 16, Ke));
|
|
730
730
|
}
|
|
731
|
-
},
|
|
731
|
+
}, Qe = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], va = {
|
|
732
732
|
__name: "BsSwitch",
|
|
733
733
|
props: {
|
|
734
734
|
checked: { default: !1 },
|
|
@@ -744,7 +744,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
744
744
|
},
|
|
745
745
|
emits: ["update:modelValue"],
|
|
746
746
|
setup(e, { emit: l }) {
|
|
747
|
-
return (a, t) => (i(),
|
|
747
|
+
return (a, t) => (i(), u("bs-switch", f(a.$attrs, {
|
|
748
748
|
checked: e.checked || e.modelValue,
|
|
749
749
|
disabled: e.disabled,
|
|
750
750
|
"hide-label": e.hideLabel,
|
|
@@ -755,9 +755,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
755
755
|
"pass-attrs": e.passAttrs,
|
|
756
756
|
size: e.size,
|
|
757
757
|
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
|
|
758
|
-
}), null, 16,
|
|
758
|
+
}), null, 16, Qe));
|
|
759
759
|
}
|
|
760
|
-
},
|
|
760
|
+
}, _e = ["active-tab-id", "tab-id"], ma = {
|
|
761
761
|
__name: "BsTabPanel",
|
|
762
762
|
props: {
|
|
763
763
|
activeTabId: {},
|
|
@@ -765,14 +765,14 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
765
765
|
},
|
|
766
766
|
emits: [],
|
|
767
767
|
setup(e, { emit: l }) {
|
|
768
|
-
return (a, t) => (i(),
|
|
768
|
+
return (a, t) => (i(), u("bs-tab-panel", f(a.$attrs, {
|
|
769
769
|
"active-tab-id": e.activeTabId,
|
|
770
770
|
"tab-id": e.tabId
|
|
771
771
|
}), [
|
|
772
|
-
|
|
773
|
-
], 16,
|
|
772
|
+
$(a.$slots, "default")
|
|
773
|
+
], 16, _e));
|
|
774
774
|
}
|
|
775
|
-
},
|
|
775
|
+
}, et = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], ga = {
|
|
776
776
|
__name: "BsTextarea",
|
|
777
777
|
props: {
|
|
778
778
|
disabled: { default: !1 },
|
|
@@ -788,7 +788,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
788
788
|
},
|
|
789
789
|
emits: ["update:modelValue"],
|
|
790
790
|
setup(e, { emit: l }) {
|
|
791
|
-
return (a, t) => (i(),
|
|
791
|
+
return (a, t) => (i(), u("bs-textarea", f(a.$attrs, {
|
|
792
792
|
disabled: e.disabled,
|
|
793
793
|
error: e.error,
|
|
794
794
|
"input-id": e.inputId,
|
|
@@ -799,9 +799,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
799
799
|
value: e.value || e.modelValue,
|
|
800
800
|
"hint-id": e.hintId,
|
|
801
801
|
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
802
|
-
}), null, 16,
|
|
802
|
+
}), null, 16, et));
|
|
803
803
|
}
|
|
804
|
-
},
|
|
804
|
+
}, tt = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], $a = {
|
|
805
805
|
__name: "BsTextareaField",
|
|
806
806
|
props: {
|
|
807
807
|
charMax: {},
|
|
@@ -821,7 +821,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
821
821
|
},
|
|
822
822
|
emits: ["update:modelValue"],
|
|
823
823
|
setup(e, { emit: l }) {
|
|
824
|
-
return (a, t) => (i(),
|
|
824
|
+
return (a, t) => (i(), u("bs-textarea-field", f(a.$attrs, {
|
|
825
825
|
"char-max": e.charMax,
|
|
826
826
|
disabled: e.disabled,
|
|
827
827
|
error: e.error,
|
|
@@ -836,9 +836,9 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
836
836
|
value: e.value || e.modelValue,
|
|
837
837
|
"pass-attrs": e.passAttrs,
|
|
838
838
|
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
839
|
-
}), null, 16,
|
|
839
|
+
}), null, 16, tt));
|
|
840
840
|
}
|
|
841
|
-
},
|
|
841
|
+
}, at = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Ba = {
|
|
842
842
|
__name: "BsToast",
|
|
843
843
|
props: {
|
|
844
844
|
toastId: {},
|
|
@@ -851,8 +851,8 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
851
851
|
},
|
|
852
852
|
emits: ["dismiss", "enterend", "leaveend"],
|
|
853
853
|
setup(e, { emit: l }) {
|
|
854
|
-
return (a, t) => (i(),
|
|
855
|
-
default:
|
|
854
|
+
return (a, t) => (i(), w(T(z), null, {
|
|
855
|
+
default: C(() => [
|
|
856
856
|
b("bs-toast", f(a.$attrs, {
|
|
857
857
|
"toast-id": e.toastId,
|
|
858
858
|
variant: e.variant,
|
|
@@ -865,58 +865,58 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
865
865
|
onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
|
|
866
866
|
onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
|
|
867
867
|
}), [
|
|
868
|
-
|
|
869
|
-
], 16,
|
|
868
|
+
$(a.$slots, "default")
|
|
869
|
+
], 16, at)
|
|
870
870
|
]),
|
|
871
871
|
_: 3
|
|
872
872
|
}));
|
|
873
873
|
}
|
|
874
|
-
},
|
|
874
|
+
}, pa = {
|
|
875
875
|
__name: "BsToastActions",
|
|
876
876
|
props: {},
|
|
877
877
|
emits: ["defaultDismiss"],
|
|
878
878
|
setup(e, { emit: l }) {
|
|
879
|
-
return (a, t) => (i(),
|
|
879
|
+
return (a, t) => (i(), u("bs-toast-actions", f(a.$attrs, {
|
|
880
880
|
"on:defaultDismiss": t[0] || (t[0] = (n) => l("defaultDismiss", n.detail))
|
|
881
881
|
}), [
|
|
882
|
-
|
|
882
|
+
$(a.$slots, "default")
|
|
883
883
|
], 16));
|
|
884
884
|
}
|
|
885
|
-
},
|
|
885
|
+
}, ya = {
|
|
886
886
|
__name: "BsToastBody",
|
|
887
887
|
props: {},
|
|
888
888
|
emits: [],
|
|
889
889
|
setup(e, { emit: l }) {
|
|
890
|
-
return (a, t) => (i(),
|
|
891
|
-
|
|
890
|
+
return (a, t) => (i(), u("bs-toast-body", K(Q(a.$attrs)), [
|
|
891
|
+
$(a.$slots, "default")
|
|
892
892
|
], 16));
|
|
893
893
|
}
|
|
894
|
-
},
|
|
894
|
+
}, nt = ["variant"], Ta = {
|
|
895
895
|
__name: "BsToastHeader",
|
|
896
896
|
props: {
|
|
897
897
|
variant: {}
|
|
898
898
|
},
|
|
899
899
|
emits: [],
|
|
900
900
|
setup(e, { emit: l }) {
|
|
901
|
-
return (a, t) => (i(),
|
|
902
|
-
|
|
903
|
-
], 16,
|
|
901
|
+
return (a, t) => (i(), u("bs-toast-header", f(a.$attrs, { variant: e.variant }), [
|
|
902
|
+
$(a.$slots, "default")
|
|
903
|
+
], 16, nt));
|
|
904
904
|
}
|
|
905
|
-
},
|
|
905
|
+
}, Ia = {
|
|
906
906
|
__name: "BsToaster",
|
|
907
907
|
props: {},
|
|
908
908
|
emits: [],
|
|
909
909
|
setup(e, { emit: l }) {
|
|
910
|
-
return (a, t) => (i(),
|
|
911
|
-
default:
|
|
910
|
+
return (a, t) => (i(), w(T(z), null, {
|
|
911
|
+
default: C(() => [
|
|
912
912
|
b("bs-toaster", K(Q(a.$attrs)), [
|
|
913
|
-
|
|
913
|
+
$(a.$slots, "default")
|
|
914
914
|
], 16)
|
|
915
915
|
]),
|
|
916
916
|
_: 3
|
|
917
917
|
}));
|
|
918
918
|
}
|
|
919
|
-
},
|
|
919
|
+
}, lt = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], xa = {
|
|
920
920
|
__name: "BsTransition",
|
|
921
921
|
props: {
|
|
922
922
|
enterClass: { default: void 0 },
|
|
@@ -931,7 +931,7 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
931
931
|
},
|
|
932
932
|
emits: ["enterend", "leaveend"],
|
|
933
933
|
setup(e, { emit: l }) {
|
|
934
|
-
return (a, t) => (i(),
|
|
934
|
+
return (a, t) => (i(), u("bs-transition", f(a.$attrs, {
|
|
935
935
|
"enter-class": e.enterClass,
|
|
936
936
|
"enter-attribute": e.enterAttribute,
|
|
937
937
|
"enter-duration": e.enterDuration,
|
|
@@ -944,14 +944,14 @@ const Le = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
944
944
|
onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
|
|
945
945
|
onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
|
|
946
946
|
}), [
|
|
947
|
-
|
|
948
|
-
], 16,
|
|
947
|
+
$(a.$slots, "default")
|
|
948
|
+
], 16, lt));
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
951
|
function R() {
|
|
952
|
-
return
|
|
952
|
+
return we();
|
|
953
953
|
}
|
|
954
|
-
const
|
|
954
|
+
const st = ["data-stacked"], it = ["data-open"], rt = ["aria-controls", "aria-expanded"], dt = ["id", "aria-level"], ot = /* @__PURE__ */ b("bs-icon-caret-down", { "data-position": "end" }, null, -1), ut = ["aria-labelledby", "data-open", "id"], ct = { "data-slot": "" }, wa = {
|
|
955
955
|
__name: "BsAccordion",
|
|
956
956
|
props: {
|
|
957
957
|
controlled: { default: !1 },
|
|
@@ -964,15 +964,15 @@ const nt = ["data-stacked"], lt = ["data-open"], st = ["aria-controls", "aria-ex
|
|
|
964
964
|
},
|
|
965
965
|
emits: ["toggled"],
|
|
966
966
|
setup(e, { emit: l }) {
|
|
967
|
-
const a = e, t =
|
|
967
|
+
const a = e, t = g(null), n = g(""), d = g(""), c = g(!1), m = p(() => a.icon ? `bs-icon-${a.icon}` : null), r = p(() => a.openItemId === t.value.id || a.openItem === !0), h = p(() => a.controlled ? r.value : c.value);
|
|
968
968
|
W(() => {
|
|
969
|
-
var
|
|
970
|
-
(
|
|
969
|
+
var B;
|
|
970
|
+
(B = t.value) != null && B.id || t.value.setAttribute("id", R()), n.value = t.value.id + "-content", d.value = t.value.id + "-title";
|
|
971
971
|
});
|
|
972
|
-
function
|
|
973
|
-
l("toggled", t.value.id), a.controlled || (
|
|
972
|
+
function I() {
|
|
973
|
+
l("toggled", t.value.id), a.controlled || (c.value = !c.value);
|
|
974
974
|
}
|
|
975
|
-
return (
|
|
975
|
+
return (B, x) => (i(), u("bs-host", {
|
|
976
976
|
ref_key: "hostRef",
|
|
977
977
|
ref: t,
|
|
978
978
|
class: "bs-accordion",
|
|
@@ -981,75 +981,75 @@ const nt = ["data-stacked"], lt = ["data-open"], st = ["aria-controls", "aria-ex
|
|
|
981
981
|
}, [
|
|
982
982
|
b("header", {
|
|
983
983
|
part: "header",
|
|
984
|
-
"data-open":
|
|
984
|
+
"data-open": h.value
|
|
985
985
|
}, [
|
|
986
986
|
b("button", {
|
|
987
987
|
"aria-controls": n.value,
|
|
988
|
-
"aria-expanded":
|
|
988
|
+
"aria-expanded": h.value,
|
|
989
989
|
type: "button",
|
|
990
|
-
onClick:
|
|
990
|
+
onClick: I
|
|
991
991
|
}, [
|
|
992
|
-
|
|
992
|
+
m.value ? (i(), w(H(m.value), {
|
|
993
993
|
key: 0,
|
|
994
994
|
"data-position": "start"
|
|
995
995
|
})) : j("", !0),
|
|
996
996
|
b("span", {
|
|
997
|
-
id:
|
|
997
|
+
id: d.value,
|
|
998
998
|
"aria-level": e.headingLevel,
|
|
999
999
|
role: "heading"
|
|
1000
|
-
}, F(e.headerText), 9,
|
|
1001
|
-
|
|
1002
|
-
], 8,
|
|
1003
|
-
], 8,
|
|
1000
|
+
}, F(e.headerText), 9, dt),
|
|
1001
|
+
ot
|
|
1002
|
+
], 8, rt)
|
|
1003
|
+
], 8, it),
|
|
1004
1004
|
b("div", {
|
|
1005
|
-
"aria-labelledby":
|
|
1005
|
+
"aria-labelledby": d.value,
|
|
1006
1006
|
class: "bs-accordion-content",
|
|
1007
|
-
"data-open":
|
|
1007
|
+
"data-open": h.value,
|
|
1008
1008
|
id: n.value,
|
|
1009
1009
|
part: "content",
|
|
1010
1010
|
role: "region"
|
|
1011
1011
|
}, [
|
|
1012
|
-
b("div",
|
|
1013
|
-
|
|
1012
|
+
b("div", ct, [
|
|
1013
|
+
$(B.$slots, "default")
|
|
1014
1014
|
])
|
|
1015
|
-
], 8,
|
|
1016
|
-
], 8,
|
|
1015
|
+
], 8, ut)
|
|
1016
|
+
], 8, st));
|
|
1017
1017
|
}
|
|
1018
1018
|
};
|
|
1019
|
-
const
|
|
1019
|
+
const ft = ["data-dismissed"], ht = { class: "bs-banner-content" }, bt = /* @__PURE__ */ b("bs-icon-warning", {
|
|
1020
1020
|
size: "lg",
|
|
1021
1021
|
class: "bs-banner-warning-icon"
|
|
1022
|
-
}, null, -1),
|
|
1023
|
-
|
|
1024
|
-
],
|
|
1022
|
+
}, null, -1), vt = { "data-slot": "" }, mt = /* @__PURE__ */ b("bs-icon-close", null, null, -1), gt = [
|
|
1023
|
+
mt
|
|
1024
|
+
], Ca = {
|
|
1025
1025
|
__name: "BsBanner",
|
|
1026
1026
|
emits: ["dismiss"],
|
|
1027
1027
|
setup(e, { emit: l }) {
|
|
1028
|
-
const a =
|
|
1028
|
+
const a = g(!1);
|
|
1029
1029
|
function t() {
|
|
1030
1030
|
a.value = !0, l("dismiss");
|
|
1031
1031
|
}
|
|
1032
|
-
return (n,
|
|
1032
|
+
return (n, d) => (i(), u("bs-host", {
|
|
1033
1033
|
role: "alert",
|
|
1034
1034
|
class: "bs-banner",
|
|
1035
1035
|
"data-component": "bs-banner",
|
|
1036
1036
|
"data-dismissed": a.value ? !0 : void 0
|
|
1037
1037
|
}, [
|
|
1038
|
-
b("div",
|
|
1039
|
-
|
|
1040
|
-
b("div",
|
|
1041
|
-
|
|
1038
|
+
b("div", ht, [
|
|
1039
|
+
bt,
|
|
1040
|
+
b("div", vt, [
|
|
1041
|
+
$(n.$slots, "default")
|
|
1042
1042
|
]),
|
|
1043
1043
|
b("button", {
|
|
1044
1044
|
type: "button",
|
|
1045
1045
|
title: "Close Banner",
|
|
1046
1046
|
onClick: t
|
|
1047
|
-
},
|
|
1047
|
+
}, gt)
|
|
1048
1048
|
])
|
|
1049
|
-
], 8,
|
|
1049
|
+
], 8, ft));
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
|
-
const
|
|
1052
|
+
const $t = ["data-disabled"], ka = {
|
|
1053
1053
|
__name: "BsButton",
|
|
1054
1054
|
props: {
|
|
1055
1055
|
variant: {},
|
|
@@ -1062,25 +1062,25 @@ const mt = ["data-disabled"], wa = {
|
|
|
1062
1062
|
size: {}
|
|
1063
1063
|
},
|
|
1064
1064
|
setup(e) {
|
|
1065
|
-
const l = e, a =
|
|
1066
|
-
const
|
|
1067
|
-
download:
|
|
1068
|
-
target:
|
|
1065
|
+
const l = e, a = g(null), t = g(null), { onLinkClick: n } = M(l), d = S(), c = p(() => {
|
|
1066
|
+
const r = {
|
|
1067
|
+
download: d.download,
|
|
1068
|
+
target: d.target
|
|
1069
1069
|
};
|
|
1070
|
-
return l.href ? (
|
|
1070
|
+
return l.href ? (r.title = d.title, l.disabled && (r["aria-disabled"] = "true", r.tabindex = "-1")) : (r.type = d.type || "button", r.autcomplete = "off"), r;
|
|
1071
1071
|
});
|
|
1072
|
-
function
|
|
1073
|
-
var
|
|
1074
|
-
(l.disabled || ((
|
|
1072
|
+
function m(r) {
|
|
1073
|
+
var h, I, B, x, L;
|
|
1074
|
+
(l.disabled || ((I = (h = a.value) == null ? void 0 : h.dataset) == null ? void 0 : I.disabled) === "true" || (B = t.value) != null && B.disabled || ((L = (x = t.value) == null ? void 0 : x.getAttribute) == null ? void 0 : L.call(x, "aria-disabled")) === "true") && (r.preventDefault(), r.stopImmediatePropagation());
|
|
1075
1075
|
}
|
|
1076
|
-
return (
|
|
1076
|
+
return (r, h) => (i(), u("bs-host", {
|
|
1077
1077
|
ref_key: "hostRef",
|
|
1078
1078
|
ref: a,
|
|
1079
1079
|
"data-component": "bs-button",
|
|
1080
1080
|
"data-disabled": e.disabled,
|
|
1081
|
-
onClickCapture:
|
|
1081
|
+
onClickCapture: m
|
|
1082
1082
|
}, [
|
|
1083
|
-
(i(),
|
|
1083
|
+
(i(), w(H(e.href ? "a" : "button"), f({
|
|
1084
1084
|
"data-slot": "",
|
|
1085
1085
|
class: "bs-button",
|
|
1086
1086
|
"data-ghost": e.ghostBtn,
|
|
@@ -1091,41 +1091,51 @@ const mt = ["data-disabled"], wa = {
|
|
|
1091
1091
|
href: e.href,
|
|
1092
1092
|
ref_key: "childRef",
|
|
1093
1093
|
ref: t
|
|
1094
|
-
},
|
|
1095
|
-
default:
|
|
1096
|
-
|
|
1094
|
+
}, c.value, { onClick: T(n) }), {
|
|
1095
|
+
default: C(() => [
|
|
1096
|
+
$(r.$slots, "default")
|
|
1097
1097
|
]),
|
|
1098
1098
|
_: 3
|
|
1099
1099
|
}, 16, ["data-ghost", "data-size", "data-text", "data-variant", "disabled", "href", "onClick"]))
|
|
1100
|
-
], 40,
|
|
1100
|
+
], 40, $t));
|
|
1101
1101
|
}
|
|
1102
1102
|
};
|
|
1103
|
-
const
|
|
1103
|
+
const Bt = ["offset", "stop-color"], Aa = {
|
|
1104
1104
|
__name: "BsIconGradientWrapper",
|
|
1105
1105
|
setup(e) {
|
|
1106
1106
|
const l = [
|
|
1107
1107
|
{ offset: 0.1326, color: "#EE282A" },
|
|
1108
1108
|
{ offset: 0.5466, color: "#1C0087" },
|
|
1109
1109
|
{ offset: 0.9715, color: "#0086EA" }
|
|
1110
|
-
], a = `svg-gradient-${R()}`, t =
|
|
1111
|
-
function
|
|
1110
|
+
], a = `svg-gradient-${R()}`, t = g(null), n = g(null), d = g(!1);
|
|
1111
|
+
function c() {
|
|
1112
1112
|
var h;
|
|
1113
|
-
const
|
|
1114
|
-
(h = n.value) == null || h.setAttribute("viewBox", (
|
|
1113
|
+
const r = t.value.querySelector(".svg-wrapper svg");
|
|
1114
|
+
(h = n.value) == null || h.setAttribute("viewBox", (r == null ? void 0 : r.getAttribute("viewBox")) || "0 0 0 0"), d.value = !0;
|
|
1115
1115
|
}
|
|
1116
|
-
|
|
1116
|
+
const m = (r, h) => new MutationObserver((I, B) => {
|
|
1117
|
+
document.querySelector(r) && (h(), B.disconnect());
|
|
1118
|
+
});
|
|
1119
|
+
return W(() => {
|
|
1120
|
+
m(".svg-wrapper svg", c).observe(document, {
|
|
1121
|
+
childList: !0,
|
|
1122
|
+
subtree: !0
|
|
1123
|
+
});
|
|
1124
|
+
}), (r, h) => (i(), u("bs-host", {
|
|
1117
1125
|
ref_key: "hostRef",
|
|
1118
1126
|
ref: t,
|
|
1119
1127
|
"data-component": "bs-icon-gradient-wrapper"
|
|
1120
1128
|
}, [
|
|
1121
|
-
b("span", {
|
|
1129
|
+
$e(b("span", {
|
|
1122
1130
|
class: "svg-wrapper",
|
|
1123
|
-
style:
|
|
1131
|
+
style: Be(`fill: url(#${a});`),
|
|
1124
1132
|
"data-slot": ""
|
|
1125
1133
|
}, [
|
|
1126
|
-
|
|
1127
|
-
], 4),
|
|
1128
|
-
|
|
1134
|
+
$(r.$slots, "default")
|
|
1135
|
+
], 4), [
|
|
1136
|
+
[pe, d.value]
|
|
1137
|
+
]),
|
|
1138
|
+
(i(), u("svg", {
|
|
1129
1139
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1130
1140
|
width: "0",
|
|
1131
1141
|
height: "0",
|
|
@@ -1140,17 +1150,17 @@ const gt = ["offset", "stop-color"], Ca = {
|
|
|
1140
1150
|
y2: "100%",
|
|
1141
1151
|
gradientUnits: "userSpaceOnUse"
|
|
1142
1152
|
}, [
|
|
1143
|
-
(i(),
|
|
1144
|
-
key:
|
|
1145
|
-
offset:
|
|
1146
|
-
"stop-color":
|
|
1147
|
-
}, null, 8,
|
|
1153
|
+
(i(), u(U, null, _(l, (I) => b("stop", {
|
|
1154
|
+
key: I.offset,
|
|
1155
|
+
offset: I.offset,
|
|
1156
|
+
"stop-color": I.color
|
|
1157
|
+
}, null, 8, Bt)), 64))
|
|
1148
1158
|
])
|
|
1149
1159
|
], 512))
|
|
1150
1160
|
], 512));
|
|
1151
1161
|
}
|
|
1152
1162
|
};
|
|
1153
|
-
const
|
|
1163
|
+
const pt = ["data-disabled", "data-error", "data-variant", "data-multifocus"], La = {
|
|
1154
1164
|
__name: "BsInputAddon",
|
|
1155
1165
|
props: {
|
|
1156
1166
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -1159,7 +1169,7 @@ const $t = ["data-disabled", "data-error", "data-variant", "data-multifocus"], k
|
|
|
1159
1169
|
variant: { type: String, validator: (e) => e === "inner-bordered" }
|
|
1160
1170
|
},
|
|
1161
1171
|
setup(e) {
|
|
1162
|
-
return (l, a) => (i(),
|
|
1172
|
+
return (l, a) => (i(), u("bs-host", {
|
|
1163
1173
|
class: "bs-input-addon",
|
|
1164
1174
|
"data-component": "bs-input-addon",
|
|
1165
1175
|
"data-disabled": e.disabled,
|
|
@@ -1167,19 +1177,19 @@ const $t = ["data-disabled", "data-error", "data-variant", "data-multifocus"], k
|
|
|
1167
1177
|
"data-variant": e.variant,
|
|
1168
1178
|
"data-multifocus": e.multifocus
|
|
1169
1179
|
}, [
|
|
1170
|
-
|
|
1171
|
-
default:
|
|
1172
|
-
|
|
1180
|
+
ye(T(z), null, {
|
|
1181
|
+
default: C(() => [
|
|
1182
|
+
$(l.$slots, "default")
|
|
1173
1183
|
]),
|
|
1174
1184
|
_: 3
|
|
1175
1185
|
})
|
|
1176
|
-
], 8,
|
|
1186
|
+
], 8, pt));
|
|
1177
1187
|
}
|
|
1178
1188
|
};
|
|
1179
|
-
const
|
|
1189
|
+
const yt = ["data-disabled", "htmlFor"], Tt = { "data-slot": "" }, It = /* @__PURE__ */ b("span", {
|
|
1180
1190
|
"data-required": "",
|
|
1181
1191
|
"aria-hidden": "true"
|
|
1182
|
-
}, " *", -1),
|
|
1192
|
+
}, " *", -1), xt = /* @__PURE__ */ b("span", { class: "visually-hidden" }, "required", -1), Da = {
|
|
1183
1193
|
__name: "BsLabel",
|
|
1184
1194
|
props: {
|
|
1185
1195
|
disabled: {},
|
|
@@ -1189,13 +1199,13 @@ const Bt = ["data-disabled", "htmlFor"], pt = { "data-slot": "" }, yt = /* @__PU
|
|
|
1189
1199
|
required: {}
|
|
1190
1200
|
},
|
|
1191
1201
|
setup(e) {
|
|
1192
|
-
const l = e, a = S(), t =
|
|
1202
|
+
const l = e, a = S(), t = p(() => {
|
|
1193
1203
|
const n = {};
|
|
1194
|
-
return l.passAttrs.split(",").forEach((
|
|
1195
|
-
n[
|
|
1204
|
+
return l.passAttrs.split(",").forEach((d) => {
|
|
1205
|
+
n[d] = a[d];
|
|
1196
1206
|
}), n;
|
|
1197
1207
|
});
|
|
1198
|
-
return (n,
|
|
1208
|
+
return (n, d) => (i(), u("bs-host", {
|
|
1199
1209
|
"data-component": "bs-label",
|
|
1200
1210
|
class: ee(e.hide ? "visually-hidden" : "")
|
|
1201
1211
|
}, [
|
|
@@ -1203,18 +1213,18 @@ const Bt = ["data-disabled", "htmlFor"], pt = { "data-slot": "" }, yt = /* @__PU
|
|
|
1203
1213
|
"data-disabled": e.disabled,
|
|
1204
1214
|
htmlFor: e.for
|
|
1205
1215
|
}, t.value), [
|
|
1206
|
-
b("span",
|
|
1207
|
-
|
|
1216
|
+
b("span", Tt, [
|
|
1217
|
+
$(n.$slots, "default")
|
|
1208
1218
|
]),
|
|
1209
|
-
e.required ? (i(),
|
|
1210
|
-
|
|
1211
|
-
|
|
1219
|
+
e.required ? (i(), u(U, { key: 0 }, [
|
|
1220
|
+
It,
|
|
1221
|
+
xt
|
|
1212
1222
|
], 64)) : j("", !0)
|
|
1213
|
-
], 16,
|
|
1223
|
+
], 16, yt)
|
|
1214
1224
|
], 2));
|
|
1215
1225
|
}
|
|
1216
1226
|
};
|
|
1217
|
-
const
|
|
1227
|
+
const wt = { "data-component": "bs-pill" }, Va = {
|
|
1218
1228
|
__name: "BsPill",
|
|
1219
1229
|
props: {
|
|
1220
1230
|
variant: {},
|
|
@@ -1225,14 +1235,14 @@ const It = { "data-component": "bs-pill" }, La = {
|
|
|
1225
1235
|
passAttrs: { default: "" }
|
|
1226
1236
|
},
|
|
1227
1237
|
setup(e) {
|
|
1228
|
-
const l = e, { onLinkClick: a } = M(l), t = S(), n =
|
|
1229
|
-
const
|
|
1230
|
-
return l.passAttrs.split(",").forEach((
|
|
1231
|
-
|
|
1232
|
-
}), l.disabled && l.href && (
|
|
1238
|
+
const l = e, { onLinkClick: a } = M(l), t = S(), n = p(() => l.href ? "a" : t.type === "button" ? "button" : "span"), d = p(() => {
|
|
1239
|
+
const c = {};
|
|
1240
|
+
return l.passAttrs.split(",").forEach((m) => {
|
|
1241
|
+
c[m] = t[m];
|
|
1242
|
+
}), l.disabled && l.href && (c["aria-disabled"] = !0, c.tabindex = "-1", c.title = t.title), n.value === "button" && (c.type = t.type || "button"), c;
|
|
1233
1243
|
});
|
|
1234
|
-
return (
|
|
1235
|
-
(i(),
|
|
1244
|
+
return (c, m) => (i(), u("bs-host", wt, [
|
|
1245
|
+
(i(), w(H(n.value), f({
|
|
1236
1246
|
class: "bs-pill",
|
|
1237
1247
|
"data-active": e.active,
|
|
1238
1248
|
"data-slot": "",
|
|
@@ -1240,16 +1250,16 @@ const It = { "data-component": "bs-pill" }, La = {
|
|
|
1240
1250
|
"data-variant": e.variant || void 0,
|
|
1241
1251
|
disabled: e.disabled,
|
|
1242
1252
|
href: e.href
|
|
1243
|
-
},
|
|
1244
|
-
default:
|
|
1245
|
-
|
|
1253
|
+
}, d.value, { onClick: T(a) }), {
|
|
1254
|
+
default: C(() => [
|
|
1255
|
+
$(c.$slots, "default")
|
|
1246
1256
|
]),
|
|
1247
1257
|
_: 3
|
|
1248
1258
|
}, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]))
|
|
1249
1259
|
]));
|
|
1250
1260
|
}
|
|
1251
1261
|
};
|
|
1252
|
-
const
|
|
1262
|
+
const Ct = { "data-component": "bs-select" }, kt = ["id", "disabled", "required", "data-error", "value"], za = {
|
|
1253
1263
|
__name: "BsSelect",
|
|
1254
1264
|
props: {
|
|
1255
1265
|
disabled: { default: !1 },
|
|
@@ -1262,13 +1272,13 @@ const xt = { "data-component": "bs-select" }, wt = ["id", "disabled", "required"
|
|
|
1262
1272
|
modelValue: {}
|
|
1263
1273
|
},
|
|
1264
1274
|
setup(e) {
|
|
1265
|
-
const l = e, a = ["autocomplete", "multiple", "name", "size"], t = S(), n =
|
|
1266
|
-
const
|
|
1267
|
-
return l.passAttrs.split(",").concat(a).forEach((
|
|
1268
|
-
|
|
1269
|
-
}),
|
|
1275
|
+
const l = e, a = ["autocomplete", "multiple", "name", "size"], t = S(), n = p(() => ({ [l.error ? "aria-errormessage" : "aria-describedby"]: l.hintId })), d = p(() => {
|
|
1276
|
+
const c = { ...n.value };
|
|
1277
|
+
return l.passAttrs.split(",").concat(a).forEach((m) => {
|
|
1278
|
+
c[m] = t[m];
|
|
1279
|
+
}), c;
|
|
1270
1280
|
});
|
|
1271
|
-
return (
|
|
1281
|
+
return (c, m) => (i(), u("bs-host", Ct, [
|
|
1272
1282
|
b("select", f({
|
|
1273
1283
|
id: e.inputId,
|
|
1274
1284
|
class: "bs-select",
|
|
@@ -1277,13 +1287,13 @@ const xt = { "data-component": "bs-select" }, wt = ["id", "disabled", "required"
|
|
|
1277
1287
|
required: e.required,
|
|
1278
1288
|
"data-error": e.error,
|
|
1279
1289
|
value: e.value || e.modelValue,
|
|
1280
|
-
onChange:
|
|
1281
|
-
},
|
|
1282
|
-
|
|
1283
|
-
], 16,
|
|
1290
|
+
onChange: m[0] || (m[0] = (r) => c.emit("update:modelValue", r.target.value))
|
|
1291
|
+
}, d.value), [
|
|
1292
|
+
$(c.$slots, "default")
|
|
1293
|
+
], 16, kt)
|
|
1284
1294
|
]));
|
|
1285
1295
|
}
|
|
1286
|
-
},
|
|
1296
|
+
}, At = ["aria-controls", "aria-selected", "data-hidden"], qa = {
|
|
1287
1297
|
__name: "BsTab",
|
|
1288
1298
|
props: {
|
|
1289
1299
|
activeTabId: {
|
|
@@ -1300,37 +1310,37 @@ const xt = { "data-component": "bs-select" }, wt = ["id", "disabled", "required"
|
|
|
1300
1310
|
},
|
|
1301
1311
|
emits: ["tabClick"],
|
|
1302
1312
|
setup(e, { emit: l }) {
|
|
1303
|
-
const a = e, t = S(), n =
|
|
1304
|
-
function h
|
|
1305
|
-
(
|
|
1313
|
+
const a = e, t = S(), n = g(), d = p(() => a.activeTabId === t.id), c = p(() => a.panelId || `${t.id}-panel`);
|
|
1314
|
+
function m(h) {
|
|
1315
|
+
(h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), r());
|
|
1306
1316
|
}
|
|
1307
|
-
function
|
|
1317
|
+
function r() {
|
|
1308
1318
|
if (a.activeTabId !== t.id) {
|
|
1309
|
-
const
|
|
1310
|
-
n.value.dispatchEvent(
|
|
1319
|
+
const h = new CustomEvent("tabClick", { detail: t.id, bubbles: !0 });
|
|
1320
|
+
n.value.dispatchEvent(h);
|
|
1311
1321
|
}
|
|
1312
1322
|
}
|
|
1313
|
-
return (
|
|
1314
|
-
"aria-controls":
|
|
1315
|
-
"aria-selected":
|
|
1323
|
+
return (h, I) => (i(), u("bs-host", {
|
|
1324
|
+
"aria-controls": c.value,
|
|
1325
|
+
"aria-selected": d.value ? "true" : "false",
|
|
1316
1326
|
"data-hidden": e.hidden || void 0,
|
|
1317
1327
|
"data-component": "bs-tab",
|
|
1318
1328
|
role: "tab",
|
|
1319
1329
|
tabindex: "0",
|
|
1320
1330
|
ref_key: "hostEl",
|
|
1321
1331
|
ref: n,
|
|
1322
|
-
onClick:
|
|
1323
|
-
onKeydown:
|
|
1332
|
+
onClick: r,
|
|
1333
|
+
onKeydown: m
|
|
1324
1334
|
}, [
|
|
1325
|
-
|
|
1326
|
-
], 40,
|
|
1335
|
+
$(h.$slots, "default")
|
|
1336
|
+
], 40, At));
|
|
1327
1337
|
}
|
|
1328
1338
|
};
|
|
1329
|
-
const
|
|
1339
|
+
const Lt = ["data-resizing"], Dt = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], Vt = /* @__PURE__ */ b("bs-icon-action-ellipsis", {
|
|
1330
1340
|
size: "sm",
|
|
1331
1341
|
"data-size": "small",
|
|
1332
1342
|
"data-bs-icon": ""
|
|
1333
|
-
}, null, -1),
|
|
1343
|
+
}, null, -1), zt = ["id", "containerId", "helperText", "helperDescription", "optionsId", "toggleId"], qt = ["value", "options-id"], Pt = 73, St = 20, Mt = 16, Pa = {
|
|
1334
1344
|
__name: "BsTabList",
|
|
1335
1345
|
props: {
|
|
1336
1346
|
activeTabId: { type: String },
|
|
@@ -1341,155 +1351,155 @@ const kt = ["data-resizing"], At = ["aria-controls", "aria-expanded", "data-acti
|
|
|
1341
1351
|
},
|
|
1342
1352
|
emits: ["tabChange", "update:modelValue"],
|
|
1343
1353
|
setup(e, { emit: l }) {
|
|
1344
|
-
const a = e, t =
|
|
1354
|
+
const a = e, t = g(!1), n = g(!1), d = g([]), c = g(!1), m = g(!1), r = g(), h = g([]), I = g(!1), B = g([]), x = g(), L = g(), E = g(), P = g(), D = p(() => a.activeTabId ? B.value.findIndex((s) => s.id === a.activeTabId) : 0), O = p(() => d.value.some((s) => s.id === a.activeTabId)), Y = p(() => `${x.value}-options`), X = p(() => `${x.value}-toggle`), ae = p(() => {
|
|
1345
1355
|
var s;
|
|
1346
|
-
return O.value ? (s =
|
|
1347
|
-
}), ne =
|
|
1348
|
-
var
|
|
1356
|
+
return O.value ? (s = B.value[D.value]) == null ? void 0 : s.textContent : "More";
|
|
1357
|
+
}), ne = p(() => O.value ? h.value[D.value] - h.value[D.value - 1] + St : Pt), q = p(() => {
|
|
1358
|
+
var o, v;
|
|
1349
1359
|
let s = [];
|
|
1350
1360
|
if (typeof window > "u")
|
|
1351
1361
|
return s;
|
|
1352
|
-
for (let y of
|
|
1353
|
-
if (((
|
|
1362
|
+
for (let y of B.value) {
|
|
1363
|
+
if (((o = y.dataset) == null ? void 0 : o.hidden) === "true" || ((v = y.dataset) == null ? void 0 : v.hidden) === "" || y.getAttribute("tabindex") === "-1")
|
|
1354
1364
|
break;
|
|
1355
1365
|
s.push(y);
|
|
1356
1366
|
}
|
|
1357
|
-
return
|
|
1367
|
+
return m.value && s.push(r.value.querySelector(".bs-tab-list-toggle")), s;
|
|
1358
1368
|
});
|
|
1359
1369
|
function G() {
|
|
1360
|
-
var
|
|
1361
|
-
let s = !1,
|
|
1362
|
-
if ((
|
|
1363
|
-
for (let
|
|
1364
|
-
if (
|
|
1365
|
-
|
|
1370
|
+
var V;
|
|
1371
|
+
let s = !1, o, v = 0, y = !1, k = [];
|
|
1372
|
+
if ((V = B.value) != null && V.length) {
|
|
1373
|
+
for (let A = 0; A < B.value.length; A++) {
|
|
1374
|
+
if (o = B.value[A], o.setAttribute("tabindex", "-1"), y && A !== D.value) {
|
|
1375
|
+
o.dataset.hidden = "true", k.push(o);
|
|
1366
1376
|
continue;
|
|
1367
1377
|
}
|
|
1368
|
-
if (v =
|
|
1369
|
-
|
|
1378
|
+
if (v = A < B.value.length - 1 ? P.value - ne.value : P.value, h.value[A] > v) {
|
|
1379
|
+
o.dataset.hidden = "true", k.push(o), s = !0, y = !0;
|
|
1370
1380
|
continue;
|
|
1371
1381
|
}
|
|
1372
|
-
|
|
1382
|
+
o.dataset.hidden = "false", o.setAttribute("tabindex", "0");
|
|
1373
1383
|
}
|
|
1374
|
-
|
|
1375
|
-
he(),
|
|
1376
|
-
},
|
|
1384
|
+
m.value = s, d.value = k, t.value || xe(() => t.value = !0), setTimeout(() => {
|
|
1385
|
+
he(), I.value = !0;
|
|
1386
|
+
}, I.value ? 0 : 1e3);
|
|
1377
1387
|
}
|
|
1378
1388
|
}
|
|
1379
1389
|
function N(s) {
|
|
1380
1390
|
l("tabChange", s), l("update:modelValue", s);
|
|
1381
1391
|
}
|
|
1382
1392
|
function le(s) {
|
|
1383
|
-
var y,
|
|
1384
|
-
const
|
|
1385
|
-
return
|
|
1393
|
+
var y, k, V;
|
|
1394
|
+
const o = (V = (k = (y = B.value[s]) == null ? void 0 : y.getBoundingClientRect) == null ? void 0 : k.call(y)) == null ? void 0 : V.width;
|
|
1395
|
+
return o || (s === 0 ? h.value[0] : h.value[s] - h.value[s - 1]) || 0;
|
|
1386
1396
|
}
|
|
1387
1397
|
function se() {
|
|
1388
1398
|
var s;
|
|
1389
|
-
(s =
|
|
1399
|
+
(s = B.value[D.value]) == null || s.setAttribute("aria-selected", "true"), G();
|
|
1390
1400
|
}
|
|
1391
1401
|
function ie() {
|
|
1392
1402
|
var s;
|
|
1393
|
-
(s = L.value) == null || s.focus(),
|
|
1403
|
+
(s = L.value) == null || s.focus(), c.value = !1;
|
|
1394
1404
|
}
|
|
1395
1405
|
function re() {
|
|
1396
|
-
|
|
1406
|
+
c.value = !c.value, n.value || (n.value = !0);
|
|
1397
1407
|
}
|
|
1398
1408
|
function de(s) {
|
|
1399
|
-
var
|
|
1400
|
-
|
|
1409
|
+
var o;
|
|
1410
|
+
c.value = !1, (o = L.value) == null || o.focus(), N(s.detail);
|
|
1401
1411
|
}
|
|
1402
1412
|
function oe(s) {
|
|
1403
1413
|
if (a.withBsTabs)
|
|
1404
1414
|
return;
|
|
1405
|
-
const
|
|
1406
|
-
if (!
|
|
1415
|
+
const o = s.target.closest('[role="tab"]');
|
|
1416
|
+
if (!o || o.getAttribute("aria-selected") === "true")
|
|
1407
1417
|
return;
|
|
1408
|
-
const v =
|
|
1418
|
+
const v = o.getAttribute("id");
|
|
1409
1419
|
N(v);
|
|
1410
1420
|
}
|
|
1411
1421
|
function ue(s) {
|
|
1412
1422
|
if (s.key === "ArrowLeft" || s.key === "ArrowRight") {
|
|
1413
|
-
const
|
|
1414
|
-
if (
|
|
1423
|
+
const o = q.value.findIndex((v) => v.id === s.target.id);
|
|
1424
|
+
if (o === -1)
|
|
1415
1425
|
return;
|
|
1416
|
-
s.preventDefault(), s.stopPropagation(), s.key === "ArrowLeft" ? fe(
|
|
1426
|
+
s.preventDefault(), s.stopPropagation(), s.key === "ArrowLeft" ? fe(o) : ce(o);
|
|
1417
1427
|
}
|
|
1418
1428
|
}
|
|
1419
1429
|
function ce(s) {
|
|
1420
1430
|
var v;
|
|
1421
|
-
const
|
|
1422
|
-
(v = q.value[
|
|
1431
|
+
const o = (s + 1) % q.value.length;
|
|
1432
|
+
(v = q.value[o]) == null || v.focus();
|
|
1423
1433
|
}
|
|
1424
1434
|
function fe(s) {
|
|
1425
1435
|
var v;
|
|
1426
|
-
const
|
|
1427
|
-
(v = q.value[
|
|
1436
|
+
const o = s === 0 ? q.value.length - 1 : s - 1;
|
|
1437
|
+
(v = q.value[o]) == null || v.focus();
|
|
1428
1438
|
}
|
|
1429
1439
|
function he() {
|
|
1430
|
-
var
|
|
1431
|
-
const s = parseInt(
|
|
1432
|
-
let v = 300, y = ((
|
|
1433
|
-
|
|
1440
|
+
var V, A, Z, J;
|
|
1441
|
+
const s = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, o = P.value;
|
|
1442
|
+
let v = 300, y = ((A = (V = q.value) == null ? void 0 : V[D.value]) == null ? void 0 : A.offsetLeft) || 0, k = le(D.value);
|
|
1443
|
+
m.value && O.value && (y = (Z = L.value) == null ? void 0 : Z.offsetLeft, k = (J = L.value) == null ? void 0 : J.offsetWidth), v = Math.max(Math.abs((y - s) / o * 300), 100), r.value.style.setProperty("--active-line-max-width", `${o}px`), r.value.style.setProperty("--active-line-scale", `${k / o}`), r.value.style.setProperty("--active-line-offset", `${y}px`), r.value.style.setProperty("--active-line-transition-duration", `${v}ms`);
|
|
1434
1444
|
}
|
|
1435
1445
|
function be() {
|
|
1436
|
-
var s,
|
|
1437
|
-
(
|
|
1446
|
+
var s, o;
|
|
1447
|
+
(o = (s = E.value) == null ? void 0 : s.disconnect) == null || o.call(s), E.value = null;
|
|
1438
1448
|
}
|
|
1439
1449
|
function ve() {
|
|
1440
1450
|
E.value = new ResizeObserver((s) => {
|
|
1441
|
-
for (let
|
|
1442
|
-
P.value =
|
|
1451
|
+
for (let o of s)
|
|
1452
|
+
P.value = o.contentBoxSize[0].inlineSize;
|
|
1443
1453
|
G();
|
|
1444
|
-
}), E.value.observe(
|
|
1454
|
+
}), E.value.observe(r.value);
|
|
1445
1455
|
}
|
|
1446
1456
|
function me() {
|
|
1447
|
-
|
|
1457
|
+
B.value = Array.from(r.value.children).filter((s) => s.role === "tab");
|
|
1448
1458
|
}
|
|
1449
1459
|
function ge() {
|
|
1450
1460
|
let s;
|
|
1451
|
-
|
|
1452
|
-
s =
|
|
1461
|
+
B.value.forEach((o, v) => {
|
|
1462
|
+
s = o.getBoundingClientRect().width + Mt, h.value.push(v ? s + h.value[v - 1] : s);
|
|
1453
1463
|
});
|
|
1454
1464
|
}
|
|
1455
|
-
return
|
|
1456
|
-
var s,
|
|
1465
|
+
return Te(() => a.activeTabId, se), W(() => {
|
|
1466
|
+
var s, o;
|
|
1457
1467
|
try {
|
|
1458
|
-
me(), ge(), ve(), (s =
|
|
1468
|
+
me(), ge(), ve(), (s = r.value) != null && s.id || r.value.setAttribute("id", R()), x.value = R(), P.value = r.value.getBoundingClientRect().width, G(), a.withBsTabs || (o = B.value[D.value]) == null || o.setAttribute("aria-selected", "true");
|
|
1459
1469
|
} catch (v) {
|
|
1460
1470
|
console.log("tab error", v);
|
|
1461
1471
|
}
|
|
1462
|
-
}), te(be), (s,
|
|
1472
|
+
}), te(be), (s, o) => (i(), u("bs-host", {
|
|
1463
1473
|
class: "bs-tab-list",
|
|
1464
1474
|
"data-component": "bs-tab-list",
|
|
1465
1475
|
ref_key: "hostEl",
|
|
1466
|
-
ref:
|
|
1476
|
+
ref: r,
|
|
1467
1477
|
role: "tablist",
|
|
1468
1478
|
"data-resizing": !t.value || void 0,
|
|
1469
1479
|
onClick: oe,
|
|
1470
|
-
"on:tabClick":
|
|
1480
|
+
"on:tabClick": o[0] || (o[0] = (v) => N(v.detail)),
|
|
1471
1481
|
onKeydown: ue
|
|
1472
1482
|
}, [
|
|
1473
|
-
|
|
1483
|
+
$(s.$slots, "default"),
|
|
1474
1484
|
b("button", {
|
|
1475
|
-
"aria-controls":
|
|
1476
|
-
"aria-expanded":
|
|
1485
|
+
"aria-controls": x.value,
|
|
1486
|
+
"aria-expanded": c.value,
|
|
1477
1487
|
class: "bs-tab-list-toggle",
|
|
1478
1488
|
"data-active": O.value || void 0,
|
|
1479
|
-
"data-hidden": !
|
|
1489
|
+
"data-hidden": !m.value,
|
|
1480
1490
|
id: X.value,
|
|
1481
1491
|
ref_key: "dropdownToggle",
|
|
1482
1492
|
ref: L,
|
|
1483
1493
|
onClick: re
|
|
1484
1494
|
}, [
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
], 8,
|
|
1488
|
-
|
|
1495
|
+
Vt,
|
|
1496
|
+
Ie(" " + F(ae.value), 1)
|
|
1497
|
+
], 8, Dt),
|
|
1498
|
+
c.value ? (i(), u("bs-dropdown-with-options", {
|
|
1489
1499
|
key: 0,
|
|
1490
|
-
id:
|
|
1500
|
+
id: x.value,
|
|
1491
1501
|
class: "bs-tab-list-dropdown",
|
|
1492
|
-
containerId:
|
|
1502
|
+
containerId: r.value.id,
|
|
1493
1503
|
helperText: e.helperText,
|
|
1494
1504
|
helperDescription: e.helperDescription || void 0,
|
|
1495
1505
|
optionsId: Y.value,
|
|
@@ -1497,16 +1507,16 @@ const kt = ["data-resizing"], At = ["aria-controls", "aria-expanded", "data-acti
|
|
|
1497
1507
|
onClose: ie,
|
|
1498
1508
|
onOptselected: de
|
|
1499
1509
|
}, [
|
|
1500
|
-
(i(!0),
|
|
1510
|
+
(i(!0), u(U, null, _(d.value, (v) => (i(), u("bs-dropdown-option", {
|
|
1501
1511
|
key: v.id,
|
|
1502
1512
|
value: v.id,
|
|
1503
1513
|
"options-id": Y.value
|
|
1504
|
-
}, F(v.textContent), 9,
|
|
1505
|
-
], 40,
|
|
1506
|
-
], 40,
|
|
1514
|
+
}, F(v.textContent), 9, qt))), 128))
|
|
1515
|
+
], 40, zt)) : j("", !0)
|
|
1516
|
+
], 40, Lt));
|
|
1507
1517
|
}
|
|
1508
1518
|
};
|
|
1509
|
-
const
|
|
1519
|
+
const Et = ["data-position"], Ot = { "data-slot": "" }, Ft = ["id"], Sa = {
|
|
1510
1520
|
__name: "BsTooltip",
|
|
1511
1521
|
props: {
|
|
1512
1522
|
tooltipId: {},
|
|
@@ -1514,93 +1524,93 @@ const St = ["data-position"], Mt = { "data-slot": "" }, Et = ["id"], qa = {
|
|
|
1514
1524
|
position: {}
|
|
1515
1525
|
},
|
|
1516
1526
|
setup(e) {
|
|
1517
|
-
const l = e, a =
|
|
1518
|
-
let
|
|
1519
|
-
return t.value && (l.position === void 0 || l.position === "top" || l.position === "bottom" ?
|
|
1527
|
+
const l = e, a = g(!1), t = g(!1), n = p(() => {
|
|
1528
|
+
let r = "bs-tooltip-text";
|
|
1529
|
+
return t.value && (l.position === void 0 || l.position === "top" || l.position === "bottom" ? r += " escaped-x" : l.position === "left" || l.position === "right" ? r += " escaped-y" : r += " escaped"), r;
|
|
1520
1530
|
});
|
|
1521
1531
|
W(() => {
|
|
1522
|
-
window.addEventListener("keydown",
|
|
1532
|
+
window.addEventListener("keydown", m);
|
|
1523
1533
|
}), te(() => {
|
|
1524
|
-
window.removeEventListener("keydown",
|
|
1534
|
+
window.removeEventListener("keydown", m);
|
|
1525
1535
|
});
|
|
1526
|
-
function
|
|
1536
|
+
function d() {
|
|
1527
1537
|
a.value = !0;
|
|
1528
1538
|
}
|
|
1529
|
-
function
|
|
1539
|
+
function c() {
|
|
1530
1540
|
a.value = !1, t.value = !1;
|
|
1531
1541
|
}
|
|
1532
|
-
function
|
|
1533
|
-
a.value &&
|
|
1542
|
+
function m(r) {
|
|
1543
|
+
a.value && r.key === "Escape" && (a.value = !1, t.value = !0);
|
|
1534
1544
|
}
|
|
1535
|
-
return (
|
|
1545
|
+
return (r, h) => (i(), u("bs-host", {
|
|
1536
1546
|
"data-component": "bs-tooltip",
|
|
1537
|
-
onMouseenter:
|
|
1538
|
-
onFocusin:
|
|
1539
|
-
onMouseleave:
|
|
1540
|
-
onFocusout:
|
|
1547
|
+
onMouseenter: d,
|
|
1548
|
+
onFocusin: d,
|
|
1549
|
+
onMouseleave: c,
|
|
1550
|
+
onFocusout: c
|
|
1541
1551
|
}, [
|
|
1542
1552
|
b("div", {
|
|
1543
1553
|
class: "bs-tooltip",
|
|
1544
1554
|
"data-position": e.position || void 0
|
|
1545
1555
|
}, [
|
|
1546
|
-
b("div",
|
|
1547
|
-
|
|
1556
|
+
b("div", Ot, [
|
|
1557
|
+
$(r.$slots, "default")
|
|
1548
1558
|
]),
|
|
1549
1559
|
b("div", {
|
|
1550
1560
|
class: ee(n.value),
|
|
1551
1561
|
id: e.tooltipId,
|
|
1552
1562
|
role: "tooltip"
|
|
1553
|
-
}, F(e.content), 11,
|
|
1554
|
-
], 8,
|
|
1563
|
+
}, F(e.content), 11, Ft)
|
|
1564
|
+
], 8, Et)
|
|
1555
1565
|
], 32));
|
|
1556
1566
|
}
|
|
1557
1567
|
};
|
|
1558
1568
|
export {
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1569
|
+
wa as BsAccordion,
|
|
1570
|
+
Nt as BsBadge,
|
|
1571
|
+
Ca as BsBanner,
|
|
1572
|
+
ka as BsButton,
|
|
1573
|
+
Ht as BsCharacterCount,
|
|
1574
|
+
jt as BsChartBar,
|
|
1575
|
+
Ut as BsChartTable,
|
|
1576
|
+
Yt as BsCheckbox,
|
|
1577
|
+
Xt as BsCircleButton,
|
|
1578
|
+
Zt as BsDropdown,
|
|
1579
|
+
Jt as BsDropdownOption,
|
|
1580
|
+
Kt as BsDropdownOptionList,
|
|
1581
|
+
Qt as BsDropdownWithOptions,
|
|
1582
|
+
_t as BsFieldDetails,
|
|
1583
|
+
ea as BsFieldLayout,
|
|
1584
|
+
ta as BsHint,
|
|
1585
|
+
Aa as BsIconGradientWrapper,
|
|
1586
|
+
aa as BsInput,
|
|
1587
|
+
La as BsInputAddon,
|
|
1588
|
+
na as BsInputField,
|
|
1589
|
+
la as BsInputSearch,
|
|
1590
|
+
Da as BsLabel,
|
|
1591
|
+
sa as BsLoader,
|
|
1592
|
+
ia as BsModal,
|
|
1593
|
+
ra as BsOverlay,
|
|
1594
|
+
da as BsPagination,
|
|
1595
|
+
Va as BsPill,
|
|
1596
|
+
oa as BsProfile,
|
|
1597
|
+
ua as BsProfileDetails,
|
|
1598
|
+
ca as BsProfileImg,
|
|
1599
|
+
fa as BsProfileLayout,
|
|
1600
|
+
ha as BsRadio,
|
|
1601
|
+
za as BsSelect,
|
|
1602
|
+
ba as BsSelectField,
|
|
1603
|
+
va as BsSwitch,
|
|
1604
|
+
qa as BsTab,
|
|
1605
|
+
Pa as BsTabList,
|
|
1606
|
+
ma as BsTabPanel,
|
|
1607
|
+
ga as BsTextarea,
|
|
1608
|
+
$a as BsTextareaField,
|
|
1609
|
+
Ba as BsToast,
|
|
1610
|
+
pa as BsToastActions,
|
|
1611
|
+
ya as BsToastBody,
|
|
1612
|
+
Ta as BsToastHeader,
|
|
1613
|
+
Ia as BsToaster,
|
|
1614
|
+
Sa as BsTooltip,
|
|
1615
|
+
xa as BsTransition
|
|
1606
1616
|
};
|