@wwtdev/bsds-components-vue3 1.15.2 → 1.15.4
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 +511 -824
- package/nuxt/bsds-components.umd.js +1 -1
- package/nuxt/style.css +1 -0
- package/package.json +4 -2
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { ClientOnly as
|
|
3
|
-
import {
|
|
4
|
-
const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero"],
|
|
1
|
+
import { openBlock as s, createElementBlock as r, mergeProps as o, renderSlot as c, computed as b, unref as m, createBlock as v, withCtx as $, createElementVNode as u, createVNode as P, normalizeProps as k, guardReactiveProps as p, ref as g, onMounted as w, resolveDynamicComponent as C, createCommentVNode as A, toDisplayString as L, useAttrs as T, normalizeStyle as M, Fragment as V, renderList as S, normalizeClass as q, onUnmounted as F } from "vue";
|
|
2
|
+
import { ClientOnly as I } from "#components";
|
|
3
|
+
import { v4 as E } from "uuid";
|
|
4
|
+
const O = ["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: l }) {
|
|
17
|
-
return (a, t) => (
|
|
17
|
+
return (a, t) => (s(), r("bs-badge", o(a.$attrs, {
|
|
18
18
|
color: e.color,
|
|
19
19
|
count: e.count,
|
|
20
20
|
"count-max": e.countMax,
|
|
@@ -23,10 +23,10 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
23
23
|
position: e.position,
|
|
24
24
|
"show-zero": e.showZero
|
|
25
25
|
}), [
|
|
26
|
-
|
|
26
|
+
c(a.$slots, "default")
|
|
27
27
|
], 16, O));
|
|
28
28
|
}
|
|
29
|
-
},
|
|
29
|
+
}, G = ["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: l }) {
|
|
37
|
-
return (a, t) => (
|
|
37
|
+
return (a, t) => (s(), r("bs-character-count", o(a.$attrs, {
|
|
38
38
|
"char-count": e.charCount,
|
|
39
39
|
"char-max": e.charMax
|
|
40
|
-
}), null, 16,
|
|
40
|
+
}), null, 16, G));
|
|
41
41
|
}
|
|
42
|
-
},
|
|
42
|
+
}, R = ["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: l }) {
|
|
58
|
-
return (a, t) => (
|
|
58
|
+
return (a, t) => (s(), r("bs-chart-bar", o(a.$attrs, {
|
|
59
59
|
"chart-title": e.chartTitle,
|
|
60
60
|
data: e.data,
|
|
61
61
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -66,9 +66,9 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
66
66
|
stacked: e.stacked,
|
|
67
67
|
"x-label": e.xLabel,
|
|
68
68
|
"y-label": e.yLabel
|
|
69
|
-
}), null, 16,
|
|
69
|
+
}), null, 16, R));
|
|
70
70
|
}
|
|
71
|
-
}, j = ["data", "dataIdxLabels", "table-title"],
|
|
71
|
+
}, j = ["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: l }) {
|
|
80
|
-
return (a, t) => (
|
|
80
|
+
return (a, t) => (s(), r("bs-chart-table", o(a.$attrs, {
|
|
81
81
|
data: e.data,
|
|
82
82
|
dataIdxLabels: e.dataIdxLabels,
|
|
83
83
|
"table-title": e.tableTitle
|
|
84
84
|
}), null, 16, j));
|
|
85
85
|
}
|
|
86
|
-
}, N = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"],
|
|
86
|
+
}, N = ["label", "checked", "checked-partially", "disabled", "error", "input-id", "pass-attrs", "required", "size"], 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: l }) {
|
|
102
|
-
return (a, t) => (
|
|
102
|
+
return (a, t) => (s(), r("bs-checkbox", o(a.$attrs, {
|
|
103
103
|
label: e.label,
|
|
104
104
|
checked: e.checked || e.modelValue,
|
|
105
105
|
"checked-partially": e.checkedPartially,
|
|
@@ -109,25 +109,25 @@ const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero
|
|
|
109
109
|
"pass-attrs": e.passAttrs,
|
|
110
110
|
required: e.required,
|
|
111
111
|
size: e.size,
|
|
112
|
-
onChange: t[0] || (t[0] = (
|
|
112
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
|
|
113
113
|
}), null, 16, N));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
function
|
|
117
|
-
const l =
|
|
118
|
-
var
|
|
119
|
-
return ((
|
|
120
|
-
}), a =
|
|
121
|
-
var
|
|
122
|
-
return l.value && ((
|
|
116
|
+
function x(e) {
|
|
117
|
+
const l = b(() => {
|
|
118
|
+
var n, d;
|
|
119
|
+
return ((d = (n = e.href) == null ? void 0 : n.startsWith) == null ? void 0 : d.call(n, "/")) || !1;
|
|
120
|
+
}), a = b(() => {
|
|
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
|
-
function t(
|
|
125
|
-
var
|
|
126
|
-
a.value && ((
|
|
124
|
+
function t(n) {
|
|
125
|
+
var d, i, h, f, B;
|
|
126
|
+
a.value && ((i = (d = n.target.href) == null ? void 0 : d.endsWith) != null && i.call(d, e.href) || (B = (f = (h = n.target.closest("a")) == null ? void 0 : h.href) == null ? void 0 : f.endsWith) != null && B.call(f, e.href)) && (n.preventDefault(), a.value(e.href));
|
|
127
127
|
}
|
|
128
128
|
return { onLinkClick: t };
|
|
129
129
|
}
|
|
130
|
-
const
|
|
130
|
+
const W = ["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 H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
144
144
|
},
|
|
145
145
|
emits: [],
|
|
146
146
|
setup(e, { emit: l }) {
|
|
147
|
-
const a = e, { onLinkClick: t } =
|
|
148
|
-
return (
|
|
147
|
+
const a = e, { onLinkClick: t } = x(a);
|
|
148
|
+
return (n, d) => (s(), r("bs-circle-button", o(n.$attrs, {
|
|
149
149
|
disabled: e.disabled,
|
|
150
150
|
"ghost-btn": e.ghostBtn,
|
|
151
151
|
"hover-effect": e.hoverEffect,
|
|
@@ -156,10 +156,10 @@ const H = ["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: d[0] || (d[0] = (...i) => m(t) && m(t)(...i))
|
|
160
|
+
}), null, 16, W));
|
|
161
161
|
}
|
|
162
|
-
},
|
|
162
|
+
}, H = ["width", "top", "center", "toggle-id", "container-id", "helper-text", "helper-description", "enter-controlled", "enter-trigger", "leave-trigger"], nt = {
|
|
163
163
|
__name: "BsDropdown",
|
|
164
164
|
props: {
|
|
165
165
|
width: { default: void 0 },
|
|
@@ -175,9 +175,9 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
175
175
|
},
|
|
176
176
|
emits: ["close", "enterend", "leaveend"],
|
|
177
177
|
setup(e, { emit: l }) {
|
|
178
|
-
return (a, t) => (
|
|
179
|
-
default:
|
|
180
|
-
|
|
178
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
179
|
+
default: $(() => [
|
|
180
|
+
u("bs-dropdown", o(a.$attrs, {
|
|
181
181
|
width: e.width,
|
|
182
182
|
top: e.top,
|
|
183
183
|
center: e.center,
|
|
@@ -188,17 +188,17 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
188
188
|
"enter-controlled": e.enterControlled,
|
|
189
189
|
"enter-trigger": e.enterTrigger,
|
|
190
190
|
"leave-trigger": e.leaveTrigger,
|
|
191
|
-
onClose: t[0] || (t[0] = (
|
|
192
|
-
onEnterend: t[1] || (t[1] = (
|
|
193
|
-
onLeaveend: t[2] || (t[2] = (
|
|
191
|
+
onClose: t[0] || (t[0] = (n) => l("close", n.detail)),
|
|
192
|
+
onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
|
|
193
|
+
onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
|
|
194
194
|
}), [
|
|
195
|
-
|
|
196
|
-
], 16,
|
|
195
|
+
c(a.$slots, "default")
|
|
196
|
+
], 16, H)
|
|
197
197
|
]),
|
|
198
198
|
_: 3
|
|
199
199
|
}));
|
|
200
200
|
}
|
|
201
|
-
},
|
|
201
|
+
}, U = ["value", "variant", "options-id", "selected", "focused", "index"], lt = {
|
|
202
202
|
__name: "BsDropdownOption",
|
|
203
203
|
props: {
|
|
204
204
|
value: {},
|
|
@@ -210,20 +210,20 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
210
210
|
},
|
|
211
211
|
emits: ["optmouseenter", "optselect"],
|
|
212
212
|
setup(e, { emit: l }) {
|
|
213
|
-
return (a, t) => (
|
|
213
|
+
return (a, t) => (s(), r("bs-dropdown-option", o(a.$attrs, {
|
|
214
214
|
value: e.value,
|
|
215
215
|
variant: e.variant,
|
|
216
216
|
"options-id": e.optionsId,
|
|
217
217
|
selected: e.selected,
|
|
218
218
|
focused: e.focused,
|
|
219
219
|
index: e.index,
|
|
220
|
-
onOptmouseenter: t[0] || (t[0] = (
|
|
221
|
-
onOptselect: t[1] || (t[1] = (
|
|
220
|
+
onOptmouseenter: t[0] || (t[0] = (n) => l("optmouseenter", n.detail)),
|
|
221
|
+
onOptselect: t[1] || (t[1] = (n) => l("optselect", n.detail))
|
|
222
222
|
}), [
|
|
223
|
-
|
|
224
|
-
], 16,
|
|
223
|
+
c(a.$slots, "default")
|
|
224
|
+
], 16, U));
|
|
225
225
|
}
|
|
226
|
-
},
|
|
226
|
+
}, Y = ["options-id", "visible", "focus-delay", "label", "selected-value"], st = {
|
|
227
227
|
__name: "BsDropdownOptionList",
|
|
228
228
|
props: {
|
|
229
229
|
optionsId: {},
|
|
@@ -234,19 +234,19 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
234
234
|
},
|
|
235
235
|
emits: ["optselected", "close"],
|
|
236
236
|
setup(e, { emit: l }) {
|
|
237
|
-
return (a, t) => (
|
|
237
|
+
return (a, t) => (s(), r("bs-dropdown-option-list", o(a.$attrs, {
|
|
238
238
|
"options-id": e.optionsId,
|
|
239
239
|
visible: e.visible,
|
|
240
240
|
"focus-delay": e.focusDelay,
|
|
241
241
|
label: e.label,
|
|
242
242
|
"selected-value": e.selectedValue,
|
|
243
|
-
onOptselected: t[0] || (t[0] = (
|
|
244
|
-
onClose: t[1] || (t[1] = (
|
|
243
|
+
onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
|
|
244
|
+
onClose: t[1] || (t[1] = (n) => l("close", n.detail))
|
|
245
245
|
}), [
|
|
246
|
-
|
|
247
|
-
], 16,
|
|
246
|
+
c(a.$slots, "default")
|
|
247
|
+
], 16, Y));
|
|
248
248
|
}
|
|
249
|
-
},
|
|
249
|
+
}, X = ["toggle-id", "container-id", "options-id", "width", "top", "center", "label", "selected-value", "enter-controlled", "enter-trigger", "leave-trigger", "helper-text", "helper-description"], it = {
|
|
250
250
|
__name: "BsDropdownWithOptions",
|
|
251
251
|
props: {
|
|
252
252
|
toggleId: {},
|
|
@@ -265,7 +265,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
265
265
|
},
|
|
266
266
|
emits: ["optselected", "close", "enterend", "leaveend"],
|
|
267
267
|
setup(e, { emit: l }) {
|
|
268
|
-
return (a, t) => (
|
|
268
|
+
return (a, t) => (s(), r("bs-dropdown-with-options", o(a.$attrs, {
|
|
269
269
|
"toggle-id": e.toggleId,
|
|
270
270
|
"container-id": e.containerId,
|
|
271
271
|
"options-id": e.optionsId,
|
|
@@ -279,15 +279,15 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
279
279
|
"leave-trigger": e.leaveTrigger,
|
|
280
280
|
"helper-text": e.helperText,
|
|
281
281
|
"helper-description": e.helperDescription,
|
|
282
|
-
onOptselected: t[0] || (t[0] = (
|
|
283
|
-
onClose: t[1] || (t[1] = (
|
|
284
|
-
onEnterend: t[2] || (t[2] = (
|
|
285
|
-
onLeaveend: t[3] || (t[3] = (
|
|
282
|
+
onOptselected: t[0] || (t[0] = (n) => l("optselected", n.detail)),
|
|
283
|
+
onClose: t[1] || (t[1] = (n) => l("close", n.detail)),
|
|
284
|
+
onEnterend: t[2] || (t[2] = (n) => l("enterend", n.detail)),
|
|
285
|
+
onLeaveend: t[3] || (t[3] = (n) => l("leaveend", n.detail))
|
|
286
286
|
}), [
|
|
287
|
-
|
|
288
|
-
], 16,
|
|
287
|
+
c(a.$slots, "default")
|
|
288
|
+
], 16, X));
|
|
289
289
|
}
|
|
290
|
-
},
|
|
290
|
+
}, Z = ["char-count", "char-max", "error", "error-msg", "hint", "hint-id"], rt = {
|
|
291
291
|
__name: "BsFieldDetails",
|
|
292
292
|
props: {
|
|
293
293
|
charCount: {},
|
|
@@ -299,16 +299,16 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
299
299
|
},
|
|
300
300
|
emits: [],
|
|
301
301
|
setup(e, { emit: l }) {
|
|
302
|
-
return (a, t) => (
|
|
302
|
+
return (a, t) => (s(), r("bs-field-details", o(a.$attrs, {
|
|
303
303
|
"char-count": e.charCount,
|
|
304
304
|
"char-max": e.charMax,
|
|
305
305
|
error: e.error,
|
|
306
306
|
"error-msg": e.errorMsg,
|
|
307
307
|
hint: e.hint,
|
|
308
308
|
"hint-id": e.hintId
|
|
309
|
-
}), null, 16,
|
|
309
|
+
}), null, 16, Z));
|
|
310
310
|
}
|
|
311
|
-
},
|
|
311
|
+
}, J = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], dt = {
|
|
312
312
|
__name: "BsFieldLayout",
|
|
313
313
|
props: {
|
|
314
314
|
charCount: {},
|
|
@@ -323,7 +323,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
323
323
|
},
|
|
324
324
|
emits: [],
|
|
325
325
|
setup(e, { emit: l }) {
|
|
326
|
-
return (a, t) => (
|
|
326
|
+
return (a, t) => (s(), r("bs-field-layout", o(a.$attrs, {
|
|
327
327
|
"char-count": e.charCount,
|
|
328
328
|
"char-max": e.charMax,
|
|
329
329
|
disabled: e.disabled,
|
|
@@ -334,10 +334,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
334
334
|
required: e.required,
|
|
335
335
|
"hint-id": e.hintId
|
|
336
336
|
}), [
|
|
337
|
-
|
|
338
|
-
], 16,
|
|
337
|
+
c(a.$slots, "default")
|
|
338
|
+
], 16, J));
|
|
339
339
|
}
|
|
340
|
-
},
|
|
340
|
+
}, Q = ["error", "hint-id", "hints"], ot = {
|
|
341
341
|
__name: "BsHint",
|
|
342
342
|
props: {
|
|
343
343
|
error: {},
|
|
@@ -346,13 +346,13 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
346
346
|
},
|
|
347
347
|
emits: [],
|
|
348
348
|
setup(e, { emit: l }) {
|
|
349
|
-
return (a, t) => (
|
|
349
|
+
return (a, t) => (s(), r("bs-hint", o(a.$attrs, {
|
|
350
350
|
error: e.error,
|
|
351
351
|
"hint-id": e.hintId,
|
|
352
352
|
hints: e.hints
|
|
353
|
-
}), null, 16,
|
|
353
|
+
}), null, 16, Q));
|
|
354
354
|
}
|
|
355
|
-
},
|
|
355
|
+
}, K = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ut = {
|
|
356
356
|
__name: "BsInput",
|
|
357
357
|
props: {
|
|
358
358
|
disabled: { default: !1 },
|
|
@@ -368,7 +368,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
368
368
|
},
|
|
369
369
|
emits: ["update:modelValue"],
|
|
370
370
|
setup(e, { emit: l }) {
|
|
371
|
-
return (a, t) => (
|
|
371
|
+
return (a, t) => (s(), r("bs-input", o(a.$attrs, {
|
|
372
372
|
disabled: e.disabled,
|
|
373
373
|
error: e.error,
|
|
374
374
|
"input-id": e.inputId,
|
|
@@ -378,10 +378,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
378
378
|
type: e.type,
|
|
379
379
|
value: e.value || e.modelValue,
|
|
380
380
|
"hint-id": e.hintId,
|
|
381
|
-
onInput: t[0] || (t[0] = (
|
|
382
|
-
}), null, 16,
|
|
381
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
382
|
+
}), null, 16, K));
|
|
383
383
|
}
|
|
384
|
-
},
|
|
384
|
+
}, _ = ["disabled", "error", "multifocus", "variant"], ct = {
|
|
385
385
|
__name: "BsInputAddon",
|
|
386
386
|
props: {
|
|
387
387
|
disabled: { default: !1 },
|
|
@@ -391,16 +391,16 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
391
391
|
},
|
|
392
392
|
emits: [],
|
|
393
393
|
setup(e, { emit: l }) {
|
|
394
|
-
return (a, t) => (
|
|
394
|
+
return (a, t) => (s(), r("bs-input-addon", o(a.$attrs, {
|
|
395
395
|
disabled: e.disabled,
|
|
396
396
|
error: e.error,
|
|
397
397
|
multifocus: e.multifocus,
|
|
398
398
|
variant: e.variant
|
|
399
399
|
}), [
|
|
400
|
-
|
|
401
|
-
], 16,
|
|
400
|
+
c(a.$slots, "default")
|
|
401
|
+
], 16, _));
|
|
402
402
|
}
|
|
403
|
-
},
|
|
403
|
+
}, ee = ["disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "pass-attrs", "placeholder", "required", "type", "value"], ft = {
|
|
404
404
|
__name: "BsInputField",
|
|
405
405
|
props: {
|
|
406
406
|
disabled: { default: !1 },
|
|
@@ -419,7 +419,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
419
419
|
},
|
|
420
420
|
emits: ["update:modelValue"],
|
|
421
421
|
setup(e, { emit: l }) {
|
|
422
|
-
return (a, t) => (
|
|
422
|
+
return (a, t) => (s(), r("bs-input-field", o(a.$attrs, {
|
|
423
423
|
disabled: e.disabled,
|
|
424
424
|
error: e.error,
|
|
425
425
|
"error-msg": e.errorMsg,
|
|
@@ -432,10 +432,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
432
432
|
required: e.required,
|
|
433
433
|
type: e.type,
|
|
434
434
|
value: e.value || e.modelValue,
|
|
435
|
-
onInput: t[0] || (t[0] = (
|
|
436
|
-
}), null, 16,
|
|
435
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
436
|
+
}), null, 16, ee));
|
|
437
437
|
}
|
|
438
|
-
},
|
|
438
|
+
}, te = ["disabled", "pass-attrs", "placeholder", "hint-id", "input-id", "value"], ht = {
|
|
439
439
|
__name: "BsInputSearch",
|
|
440
440
|
props: {
|
|
441
441
|
disabled: { default: !1 },
|
|
@@ -448,18 +448,18 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
448
448
|
},
|
|
449
449
|
emits: ["clear", "update:modelValue"],
|
|
450
450
|
setup(e, { emit: l }) {
|
|
451
|
-
return (a, t) => (
|
|
451
|
+
return (a, t) => (s(), r("bs-input-search", o(a.$attrs, {
|
|
452
452
|
disabled: e.disabled,
|
|
453
453
|
"pass-attrs": e.passAttrs,
|
|
454
454
|
placeholder: e.placeholder,
|
|
455
455
|
"hint-id": e.hintId,
|
|
456
456
|
"input-id": e.inputId,
|
|
457
457
|
value: e.value || e.modelValue,
|
|
458
|
-
onClear: t[0] || (t[0] = (
|
|
459
|
-
onInput: t[1] || (t[1] = (
|
|
460
|
-
}), null, 16,
|
|
458
|
+
onClear: t[0] || (t[0] = (n) => l("clear", n.detail)),
|
|
459
|
+
onInput: t[1] || (t[1] = (n) => l("update:modelValue", n.target.value))
|
|
460
|
+
}), null, 16, te));
|
|
461
461
|
}
|
|
462
|
-
},
|
|
462
|
+
}, ae = ["size", "variant"], mt = {
|
|
463
463
|
__name: "BsLoader",
|
|
464
464
|
props: {
|
|
465
465
|
size: {},
|
|
@@ -467,12 +467,12 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
467
467
|
},
|
|
468
468
|
emits: [],
|
|
469
469
|
setup(e, { emit: l }) {
|
|
470
|
-
return (a, t) => (
|
|
470
|
+
return (a, t) => (s(), r("bs-loader", o(a.$attrs, {
|
|
471
471
|
size: e.size,
|
|
472
472
|
variant: e.variant
|
|
473
|
-
}), null, 16,
|
|
473
|
+
}), null, 16, ae));
|
|
474
474
|
}
|
|
475
|
-
},
|
|
475
|
+
}, ne = ["alert", "close-button", "enter-controlled", "enter-trigger", "leave-trigger"], bt = {
|
|
476
476
|
__name: "BsModal",
|
|
477
477
|
props: {
|
|
478
478
|
alert: { default: !1 },
|
|
@@ -483,25 +483,25 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
483
483
|
},
|
|
484
484
|
emits: ["close", "enterend", "leaveend"],
|
|
485
485
|
setup(e, { emit: l }) {
|
|
486
|
-
return (a, t) => (
|
|
487
|
-
default:
|
|
488
|
-
|
|
486
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
487
|
+
default: $(() => [
|
|
488
|
+
u("bs-modal", o(a.$attrs, {
|
|
489
489
|
alert: e.alert,
|
|
490
490
|
"close-button": e.closeButton,
|
|
491
491
|
"enter-controlled": e.enterControlled,
|
|
492
492
|
"enter-trigger": e.enterTrigger,
|
|
493
493
|
"leave-trigger": e.leaveTrigger,
|
|
494
|
-
onClose: t[0] || (t[0] = (
|
|
495
|
-
onEnterend: t[1] || (t[1] = (
|
|
496
|
-
onLeaveend: t[2] || (t[2] = (
|
|
494
|
+
onClose: t[0] || (t[0] = (n) => l("close", n.detail)),
|
|
495
|
+
onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
|
|
496
|
+
onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
|
|
497
497
|
}), [
|
|
498
|
-
|
|
499
|
-
], 16,
|
|
498
|
+
c(a.$slots, "default")
|
|
499
|
+
], 16, ne)
|
|
500
500
|
]),
|
|
501
501
|
_: 3
|
|
502
502
|
}));
|
|
503
503
|
}
|
|
504
|
-
},
|
|
504
|
+
}, le = ["enter-controlled", "enter-trigger", "leave-trigger"], gt = {
|
|
505
505
|
__name: "BsOverlay",
|
|
506
506
|
props: {
|
|
507
507
|
enterControlled: { default: !1 },
|
|
@@ -510,20 +510,20 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
510
510
|
},
|
|
511
511
|
emits: ["enterend", "leaveend"],
|
|
512
512
|
setup(e, { emit: l }) {
|
|
513
|
-
return (a, t) => (
|
|
514
|
-
default:
|
|
515
|
-
|
|
513
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
514
|
+
default: $(() => [
|
|
515
|
+
u("bs-overlay", o(a.$attrs, {
|
|
516
516
|
"enter-controlled": e.enterControlled,
|
|
517
517
|
"enter-trigger": e.enterTrigger,
|
|
518
518
|
"leave-trigger": e.leaveTrigger,
|
|
519
|
-
onEnterend: t[0] || (t[0] = (
|
|
520
|
-
onLeaveend: t[1] || (t[1] = (
|
|
521
|
-
}), null, 16,
|
|
519
|
+
onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
|
|
520
|
+
onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
|
|
521
|
+
}), null, 16, le)
|
|
522
522
|
]),
|
|
523
523
|
_: 1
|
|
524
524
|
}));
|
|
525
525
|
}
|
|
526
|
-
},
|
|
526
|
+
}, se = ["show-first-last-buttons", "prev-page-text", "first-page-text", "next-page-text", "last-page-text", "fixed", "variant", "selection", "center-display", "break-text", "page-range", "page-count", "center-label", "items-per-group", "items-count", "results-increments"], vt = {
|
|
527
527
|
__name: "BsPagination",
|
|
528
528
|
props: {
|
|
529
529
|
showFirstLastButtons: { default: !1 },
|
|
@@ -545,7 +545,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
545
545
|
},
|
|
546
546
|
emits: ["selchange"],
|
|
547
547
|
setup(e, { emit: l }) {
|
|
548
|
-
return (a, t) => (
|
|
548
|
+
return (a, t) => (s(), r("bs-pagination", o(a.$attrs, {
|
|
549
549
|
"show-first-last-buttons": e.showFirstLastButtons,
|
|
550
550
|
"prev-page-text": e.prevPageText,
|
|
551
551
|
"first-page-text": e.firstPageText,
|
|
@@ -562,10 +562,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
562
562
|
"items-per-group": e.itemsPerGroup,
|
|
563
563
|
"items-count": e.itemsCount,
|
|
564
564
|
"results-increments": e.resultsIncrements,
|
|
565
|
-
onSelchange: t[0] || (t[0] = (
|
|
566
|
-
}), null, 16,
|
|
565
|
+
onSelchange: t[0] || (t[0] = (n) => l("selchange", n.detail))
|
|
566
|
+
}), null, 16, se));
|
|
567
567
|
}
|
|
568
|
-
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"],
|
|
568
|
+
}, ie = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], $t = {
|
|
569
569
|
__name: "BsProfile",
|
|
570
570
|
props: {
|
|
571
571
|
layout: {},
|
|
@@ -585,8 +585,8 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
585
585
|
},
|
|
586
586
|
emits: ["action-toggled"],
|
|
587
587
|
setup(e, { emit: l }) {
|
|
588
|
-
const a = e, { onLinkClick: t } =
|
|
589
|
-
return (
|
|
588
|
+
const a = e, { onLinkClick: t } = x(a);
|
|
589
|
+
return (n, d) => (s(), r("bs-profile", o(n.$attrs, {
|
|
590
590
|
layout: e.layout,
|
|
591
591
|
href: e.href,
|
|
592
592
|
"image-src": e.imageSrc,
|
|
@@ -600,11 +600,11 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
600
600
|
"action-icon": e.actionIcon,
|
|
601
601
|
"misc-meta": e.miscMeta,
|
|
602
602
|
"misc-meta-icon": e.miscMetaIcon,
|
|
603
|
-
onActionToggled:
|
|
604
|
-
onClick:
|
|
603
|
+
onActionToggled: d[0] || (d[0] = (i) => l("action-toggled", i.detail)),
|
|
604
|
+
onClick: d[1] || (d[1] = (...i) => m(t) && m(t)(...i))
|
|
605
605
|
}), null, 16, ie));
|
|
606
606
|
}
|
|
607
|
-
},
|
|
607
|
+
}, re = ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"], Bt = {
|
|
608
608
|
__name: "BsProfileDetails",
|
|
609
609
|
props: {
|
|
610
610
|
profileName: {},
|
|
@@ -618,7 +618,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
618
618
|
},
|
|
619
619
|
emits: ["action-toggled"],
|
|
620
620
|
setup(e, { emit: l }) {
|
|
621
|
-
return (a, t) => (
|
|
621
|
+
return (a, t) => (s(), r("bs-profile-details", o(a.$attrs, {
|
|
622
622
|
"profile-name": e.profileName,
|
|
623
623
|
company: e.company,
|
|
624
624
|
"job-title": e.jobTitle,
|
|
@@ -627,10 +627,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
627
627
|
"action-icon": e.actionIcon,
|
|
628
628
|
"misc-meta": e.miscMeta,
|
|
629
629
|
"misc-meta-icon": e.miscMetaIcon,
|
|
630
|
-
onActionToggled: t[0] || (t[0] = (
|
|
631
|
-
}), null, 16,
|
|
630
|
+
onActionToggled: t[0] || (t[0] = (n) => l("action-toggled", n.detail))
|
|
631
|
+
}), null, 16, re));
|
|
632
632
|
}
|
|
633
|
-
},
|
|
633
|
+
}, de = ["src", "size", "initials", "profile-name"], It = {
|
|
634
634
|
__name: "BsProfileImg",
|
|
635
635
|
props: {
|
|
636
636
|
src: {},
|
|
@@ -640,14 +640,14 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
640
640
|
},
|
|
641
641
|
emits: [],
|
|
642
642
|
setup(e, { emit: l }) {
|
|
643
|
-
return (a, t) => (
|
|
643
|
+
return (a, t) => (s(), r("bs-profile-img", o(a.$attrs, {
|
|
644
644
|
src: e.src,
|
|
645
645
|
size: e.size,
|
|
646
646
|
initials: e.initials,
|
|
647
647
|
"profile-name": e.profileName
|
|
648
|
-
}), null, 16,
|
|
648
|
+
}), null, 16, de));
|
|
649
649
|
}
|
|
650
|
-
}, oe = ["layout", "href", "pass-attrs"],
|
|
650
|
+
}, oe = ["layout", "href", "pass-attrs"], xt = {
|
|
651
651
|
__name: "BsProfileLayout",
|
|
652
652
|
props: {
|
|
653
653
|
layout: { default: "vertical" },
|
|
@@ -657,17 +657,17 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
657
657
|
},
|
|
658
658
|
emits: [],
|
|
659
659
|
setup(e, { emit: l }) {
|
|
660
|
-
const a = e, { onLinkClick: t } =
|
|
661
|
-
return (
|
|
660
|
+
const a = e, { onLinkClick: t } = x(a);
|
|
661
|
+
return (n, d) => (s(), r("bs-profile-layout", o(n.$attrs, {
|
|
662
662
|
layout: e.layout,
|
|
663
663
|
href: e.href,
|
|
664
664
|
"pass-attrs": e.passAttrs,
|
|
665
|
-
onClick:
|
|
665
|
+
onClick: d[0] || (d[0] = (...i) => m(t) && m(t)(...i))
|
|
666
666
|
}), [
|
|
667
|
-
|
|
667
|
+
c(n.$slots, "default")
|
|
668
668
|
], 16, oe));
|
|
669
669
|
}
|
|
670
|
-
},
|
|
670
|
+
}, ue = ["label", "checked", "disabled", "error", "input-id", "pass-attrs", "required", "size", "value"], yt = {
|
|
671
671
|
__name: "BsRadio",
|
|
672
672
|
props: {
|
|
673
673
|
label: {},
|
|
@@ -683,7 +683,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
683
683
|
},
|
|
684
684
|
emits: ["update:modelValue"],
|
|
685
685
|
setup(e, { emit: l }) {
|
|
686
|
-
return (a, t) => (
|
|
686
|
+
return (a, t) => (s(), r("bs-radio", o(a.$attrs, {
|
|
687
687
|
label: e.label,
|
|
688
688
|
checked: e.checked || e.modelValue === e.value,
|
|
689
689
|
disabled: e.disabled,
|
|
@@ -693,10 +693,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
693
693
|
required: e.required,
|
|
694
694
|
size: e.size,
|
|
695
695
|
value: e.value,
|
|
696
|
-
onChange: t[0] || (t[0] = (
|
|
697
|
-
}), null, 16,
|
|
696
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
697
|
+
}), null, 16, ue));
|
|
698
698
|
}
|
|
699
|
-
},
|
|
699
|
+
}, ce = ["disabled", "error", "error-msg", "input-id", "label", "hint", "hints", "placeholder", "required", "value", "pass-attrs", "data"], Tt = {
|
|
700
700
|
__name: "BsSelectField",
|
|
701
701
|
props: {
|
|
702
702
|
disabled: { default: !1 },
|
|
@@ -715,7 +715,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
715
715
|
},
|
|
716
716
|
emits: ["update:modelValue"],
|
|
717
717
|
setup(e, { emit: l }) {
|
|
718
|
-
return (a, t) => (
|
|
718
|
+
return (a, t) => (s(), r("bs-select-field", o(a.$attrs, {
|
|
719
719
|
disabled: e.disabled,
|
|
720
720
|
error: e.error,
|
|
721
721
|
"error-msg": e.errorMsg,
|
|
@@ -728,10 +728,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
728
728
|
value: e.value || e.modelValue,
|
|
729
729
|
"pass-attrs": e.passAttrs,
|
|
730
730
|
data: e.data,
|
|
731
|
-
onChange: t[0] || (t[0] = (
|
|
732
|
-
}), null, 16,
|
|
731
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
732
|
+
}), null, 16, ce));
|
|
733
733
|
}
|
|
734
|
-
},
|
|
734
|
+
}, fe = ["checked", "disabled", "hide-label", "input-id", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], wt = {
|
|
735
735
|
__name: "BsSwitch",
|
|
736
736
|
props: {
|
|
737
737
|
checked: { default: !1 },
|
|
@@ -747,7 +747,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
747
747
|
},
|
|
748
748
|
emits: ["update:modelValue"],
|
|
749
749
|
setup(e, { emit: l }) {
|
|
750
|
-
return (a, t) => (
|
|
750
|
+
return (a, t) => (s(), r("bs-switch", o(a.$attrs, {
|
|
751
751
|
checked: e.checked || e.modelValue,
|
|
752
752
|
disabled: e.disabled,
|
|
753
753
|
"hide-label": e.hideLabel,
|
|
@@ -757,10 +757,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
757
757
|
label: e.label,
|
|
758
758
|
"pass-attrs": e.passAttrs,
|
|
759
759
|
size: e.size,
|
|
760
|
-
onChange: t[0] || (t[0] = (
|
|
761
|
-
}), null, 16,
|
|
760
|
+
onChange: t[0] || (t[0] = (n) => l("update:modelValue", n.target.checked))
|
|
761
|
+
}), null, 16, fe));
|
|
762
762
|
}
|
|
763
|
-
}, he = ["active-tab-id", "hidden", "panel-id"],
|
|
763
|
+
}, he = ["active-tab-id", "hidden", "panel-id"], Ct = {
|
|
764
764
|
__name: "BsTab",
|
|
765
765
|
props: {
|
|
766
766
|
activeTabId: {},
|
|
@@ -769,15 +769,15 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
769
769
|
},
|
|
770
770
|
emits: [],
|
|
771
771
|
setup(e, { emit: l }) {
|
|
772
|
-
return (a, t) => (
|
|
772
|
+
return (a, t) => (s(), r("bs-tab", o(a.$attrs, {
|
|
773
773
|
"active-tab-id": e.activeTabId,
|
|
774
774
|
hidden: e.hidden,
|
|
775
775
|
"panel-id": e.panelId
|
|
776
776
|
}), [
|
|
777
|
-
|
|
777
|
+
c(a.$slots, "default")
|
|
778
778
|
], 16, he));
|
|
779
779
|
}
|
|
780
|
-
},
|
|
780
|
+
}, me = ["active-tab-id", "helper-text", "helper-description"], kt = {
|
|
781
781
|
__name: "BsTabList",
|
|
782
782
|
props: {
|
|
783
783
|
activeTabId: {},
|
|
@@ -790,21 +790,21 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
790
790
|
const a = (t) => {
|
|
791
791
|
l("tabChange", t.detail), l("update:modelValue", t.detail);
|
|
792
792
|
};
|
|
793
|
-
return (t,
|
|
793
|
+
return (t, n) => (s(), r("bs-tab-list", o(t.$attrs, {
|
|
794
794
|
"active-tab-id": e.activeTabId || e.modelValue,
|
|
795
795
|
"helper-text": e.helperText,
|
|
796
796
|
"helper-description": e.helperDescription,
|
|
797
797
|
"on:tabChange": a
|
|
798
798
|
}), [
|
|
799
|
-
|
|
800
|
-
default:
|
|
801
|
-
|
|
799
|
+
P(m(I), null, {
|
|
800
|
+
default: $(() => [
|
|
801
|
+
c(t.$slots, "default")
|
|
802
802
|
]),
|
|
803
803
|
_: 3
|
|
804
804
|
})
|
|
805
|
-
], 16,
|
|
805
|
+
], 16, me));
|
|
806
806
|
}
|
|
807
|
-
},
|
|
807
|
+
}, be = ["active-tab-id", "tab-id"], pt = {
|
|
808
808
|
__name: "BsTabPanel",
|
|
809
809
|
props: {
|
|
810
810
|
activeTabId: {},
|
|
@@ -812,14 +812,14 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
812
812
|
},
|
|
813
813
|
emits: [],
|
|
814
814
|
setup(e, { emit: l }) {
|
|
815
|
-
return (a, t) => (
|
|
815
|
+
return (a, t) => (s(), r("bs-tab-panel", o(a.$attrs, {
|
|
816
816
|
"active-tab-id": e.activeTabId,
|
|
817
817
|
"tab-id": e.tabId
|
|
818
818
|
}), [
|
|
819
|
-
|
|
820
|
-
], 16,
|
|
819
|
+
c(a.$slots, "default")
|
|
820
|
+
], 16, be));
|
|
821
821
|
}
|
|
822
|
-
}, ge = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"],
|
|
822
|
+
}, ge = ["disabled", "error", "input-id", "pass-attrs", "placeholder", "required", "rows", "value", "hint-id"], At = {
|
|
823
823
|
__name: "BsTextarea",
|
|
824
824
|
props: {
|
|
825
825
|
disabled: { default: !1 },
|
|
@@ -835,7 +835,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
835
835
|
},
|
|
836
836
|
emits: ["update:modelValue"],
|
|
837
837
|
setup(e, { emit: l }) {
|
|
838
|
-
return (a, t) => (
|
|
838
|
+
return (a, t) => (s(), r("bs-textarea", o(a.$attrs, {
|
|
839
839
|
disabled: e.disabled,
|
|
840
840
|
error: e.error,
|
|
841
841
|
"input-id": e.inputId,
|
|
@@ -845,10 +845,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
845
845
|
rows: e.rows,
|
|
846
846
|
value: e.value || e.modelValue,
|
|
847
847
|
"hint-id": e.hintId,
|
|
848
|
-
onInput: t[0] || (t[0] = (
|
|
848
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
849
849
|
}), null, 16, ge));
|
|
850
850
|
}
|
|
851
|
-
},
|
|
851
|
+
}, ve = ["char-max", "disabled", "error", "error-msg", "hint", "hints", "input-id", "label", "placeholder", "required", "rows", "value", "pass-attrs"], Lt = {
|
|
852
852
|
__name: "BsTextareaField",
|
|
853
853
|
props: {
|
|
854
854
|
charMax: {},
|
|
@@ -868,7 +868,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
868
868
|
},
|
|
869
869
|
emits: ["update:modelValue"],
|
|
870
870
|
setup(e, { emit: l }) {
|
|
871
|
-
return (a, t) => (
|
|
871
|
+
return (a, t) => (s(), r("bs-textarea-field", o(a.$attrs, {
|
|
872
872
|
"char-max": e.charMax,
|
|
873
873
|
disabled: e.disabled,
|
|
874
874
|
error: e.error,
|
|
@@ -882,10 +882,10 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
882
882
|
rows: e.rows,
|
|
883
883
|
value: e.value || e.modelValue,
|
|
884
884
|
"pass-attrs": e.passAttrs,
|
|
885
|
-
onInput: t[0] || (t[0] = (
|
|
886
|
-
}), null, 16,
|
|
885
|
+
onInput: t[0] || (t[0] = (n) => l("update:modelValue", n.target.value))
|
|
886
|
+
}), null, 16, ve));
|
|
887
887
|
}
|
|
888
|
-
},
|
|
888
|
+
}, $e = ["toast-id", "variant", "stacked", "duration", "enter-controlled", "enter-trigger", "leave-trigger"], Vt = {
|
|
889
889
|
__name: "BsToast",
|
|
890
890
|
props: {
|
|
891
891
|
toastId: {},
|
|
@@ -898,9 +898,9 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
898
898
|
},
|
|
899
899
|
emits: ["dismiss", "enterend", "leaveend"],
|
|
900
900
|
setup(e, { emit: l }) {
|
|
901
|
-
return (a, t) => (
|
|
902
|
-
default:
|
|
903
|
-
|
|
901
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
902
|
+
default: $(() => [
|
|
903
|
+
u("bs-toast", o(a.$attrs, {
|
|
904
904
|
"toast-id": e.toastId,
|
|
905
905
|
variant: e.variant,
|
|
906
906
|
stacked: e.stacked,
|
|
@@ -908,62 +908,62 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
908
908
|
"enter-controlled": e.enterControlled,
|
|
909
909
|
"enter-trigger": e.enterTrigger,
|
|
910
910
|
"leave-trigger": e.leaveTrigger,
|
|
911
|
-
onDismiss: t[0] || (t[0] = (
|
|
912
|
-
onEnterend: t[1] || (t[1] = (
|
|
913
|
-
onLeaveend: t[2] || (t[2] = (
|
|
911
|
+
onDismiss: t[0] || (t[0] = (n) => l("dismiss", n.detail)),
|
|
912
|
+
onEnterend: t[1] || (t[1] = (n) => l("enterend", n.detail)),
|
|
913
|
+
onLeaveend: t[2] || (t[2] = (n) => l("leaveend", n.detail))
|
|
914
914
|
}), [
|
|
915
|
-
|
|
916
|
-
], 16,
|
|
915
|
+
c(a.$slots, "default")
|
|
916
|
+
], 16, $e)
|
|
917
917
|
]),
|
|
918
918
|
_: 3
|
|
919
919
|
}));
|
|
920
920
|
}
|
|
921
|
-
},
|
|
921
|
+
}, qt = {
|
|
922
922
|
__name: "BsToastActions",
|
|
923
923
|
props: {},
|
|
924
924
|
emits: ["defaultDismiss"],
|
|
925
925
|
setup(e, { emit: l }) {
|
|
926
|
-
return (a, t) => (
|
|
927
|
-
"on:defaultDismiss": t[0] || (t[0] = (
|
|
926
|
+
return (a, t) => (s(), r("bs-toast-actions", o(a.$attrs, {
|
|
927
|
+
"on:defaultDismiss": t[0] || (t[0] = (n) => l("defaultDismiss", n.detail))
|
|
928
928
|
}), [
|
|
929
|
-
|
|
929
|
+
c(a.$slots, "default")
|
|
930
930
|
], 16));
|
|
931
931
|
}
|
|
932
|
-
},
|
|
932
|
+
}, zt = {
|
|
933
933
|
__name: "BsToastBody",
|
|
934
934
|
props: {},
|
|
935
935
|
emits: [],
|
|
936
936
|
setup(e, { emit: l }) {
|
|
937
|
-
return (a, t) => (
|
|
938
|
-
|
|
937
|
+
return (a, t) => (s(), r("bs-toast-body", k(p(a.$attrs)), [
|
|
938
|
+
c(a.$slots, "default")
|
|
939
939
|
], 16));
|
|
940
940
|
}
|
|
941
|
-
}, Be = ["variant"],
|
|
941
|
+
}, Be = ["variant"], Dt = {
|
|
942
942
|
__name: "BsToastHeader",
|
|
943
943
|
props: {
|
|
944
944
|
variant: {}
|
|
945
945
|
},
|
|
946
946
|
emits: [],
|
|
947
947
|
setup(e, { emit: l }) {
|
|
948
|
-
return (a, t) => (
|
|
949
|
-
|
|
948
|
+
return (a, t) => (s(), r("bs-toast-header", o(a.$attrs, { variant: e.variant }), [
|
|
949
|
+
c(a.$slots, "default")
|
|
950
950
|
], 16, Be));
|
|
951
951
|
}
|
|
952
|
-
},
|
|
952
|
+
}, Pt = {
|
|
953
953
|
__name: "BsToaster",
|
|
954
954
|
props: {},
|
|
955
955
|
emits: [],
|
|
956
956
|
setup(e, { emit: l }) {
|
|
957
|
-
return (a, t) => (
|
|
958
|
-
default:
|
|
959
|
-
|
|
960
|
-
|
|
957
|
+
return (a, t) => (s(), v(m(I), null, {
|
|
958
|
+
default: $(() => [
|
|
959
|
+
u("bs-toaster", k(p(a.$attrs)), [
|
|
960
|
+
c(a.$slots, "default")
|
|
961
961
|
], 16)
|
|
962
962
|
]),
|
|
963
963
|
_: 3
|
|
964
964
|
}));
|
|
965
965
|
}
|
|
966
|
-
},
|
|
966
|
+
}, Ie = ["enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration", "enter-controlled", "enter-trigger", "leave-trigger"], Mt = {
|
|
967
967
|
__name: "BsTransition",
|
|
968
968
|
props: {
|
|
969
969
|
enterClass: { default: void 0 },
|
|
@@ -978,7 +978,7 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
978
978
|
},
|
|
979
979
|
emits: ["enterend", "leaveend"],
|
|
980
980
|
setup(e, { emit: l }) {
|
|
981
|
-
return (a, t) => (
|
|
981
|
+
return (a, t) => (s(), r("bs-transition", o(a.$attrs, {
|
|
982
982
|
"enter-class": e.enterClass,
|
|
983
983
|
"enter-attribute": e.enterAttribute,
|
|
984
984
|
"enter-duration": e.enterDuration,
|
|
@@ -988,75 +988,17 @@ const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-positi
|
|
|
988
988
|
"enter-controlled": e.enterControlled,
|
|
989
989
|
"enter-trigger": e.enterTrigger,
|
|
990
990
|
"leave-trigger": e.leaveTrigger,
|
|
991
|
-
onEnterend: t[0] || (t[0] = (
|
|
992
|
-
onLeaveend: t[1] || (t[1] = (
|
|
991
|
+
onEnterend: t[0] || (t[0] = (n) => l("enterend", n.detail)),
|
|
992
|
+
onLeaveend: t[1] || (t[1] = (n) => l("leaveend", n.detail))
|
|
993
993
|
}), [
|
|
994
|
-
|
|
995
|
-
], 16,
|
|
994
|
+
c(a.$slots, "default")
|
|
995
|
+
], 16, Ie));
|
|
996
996
|
}
|
|
997
997
|
};
|
|
998
|
-
function
|
|
999
|
-
|
|
998
|
+
function z() {
|
|
999
|
+
return E();
|
|
1000
1000
|
}
|
|
1001
|
-
const
|
|
1002
|
-
__name: "BsAccordionServer",
|
|
1003
|
-
props: {
|
|
1004
|
-
controlled: { default: !1 },
|
|
1005
|
-
icon: {},
|
|
1006
|
-
headerText: {},
|
|
1007
|
-
headingLevel: {},
|
|
1008
|
-
openItem: { default: !1 },
|
|
1009
|
-
openItemId: {},
|
|
1010
|
-
stacked: { default: !1 }
|
|
1011
|
-
},
|
|
1012
|
-
emits: ["toggled"],
|
|
1013
|
-
setup(e, { emit: l }) {
|
|
1014
|
-
const a = h(!1), t = h(null), s = h(""), i = I([]), c = h(null), b = h(!1), y = (r, v = 0) => {
|
|
1015
|
-
var f, B;
|
|
1016
|
-
t.value || v >= 4 || (t.value = (B = (f = r.value) == null ? void 0 : f.querySelector) == null ? void 0 : B.call(f, "[data-slot]"), t.value || i.push(setTimeout(() => y(r, v + 1), 50)));
|
|
1017
|
-
};
|
|
1018
|
-
return w(() => b.value = !0), S(() => y(c, 0)), C(t, (r) => {
|
|
1019
|
-
!r || a.value || (P(t), i.push(setTimeout(() => {
|
|
1020
|
-
L(() => {
|
|
1021
|
-
s.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
|
|
1022
|
-
});
|
|
1023
|
-
}, 100)), a.value = !0);
|
|
1024
|
-
}, { immediate: !0 }), V(() => i.forEach((r) => clearTimeout(r))), (r, v) => (n(), o(q, null, [
|
|
1025
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1026
|
-
default: g(() => [
|
|
1027
|
-
(n(), $(A, { to: t.value }, [
|
|
1028
|
-
u(r.$slots, "default")
|
|
1029
|
-
], 8, ["to"]))
|
|
1030
|
-
]),
|
|
1031
|
-
_: 3
|
|
1032
|
-
})) : x("", !0),
|
|
1033
|
-
k("bs-accordion", d({
|
|
1034
|
-
ref_key: "wcRef",
|
|
1035
|
-
ref: c,
|
|
1036
|
-
class: s.value,
|
|
1037
|
-
"data-bsds-ssr": "",
|
|
1038
|
-
controlled: e.controlled,
|
|
1039
|
-
icon: e.icon,
|
|
1040
|
-
"header-text": e.headerText,
|
|
1041
|
-
"heading-level": e.headingLevel,
|
|
1042
|
-
"open-item": e.openItem,
|
|
1043
|
-
"open-item-id": e.openItemId,
|
|
1044
|
-
stacked: e.stacked,
|
|
1045
|
-
onToggled: v[0] || (v[0] = (f) => l("toggled", f.detail))
|
|
1046
|
-
}, r.$attrs), [
|
|
1047
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1048
|
-
b.value ? void 0 : {
|
|
1049
|
-
name: "fallback",
|
|
1050
|
-
fn: g(() => [
|
|
1051
|
-
u(r.$slots, "default")
|
|
1052
|
-
]),
|
|
1053
|
-
key: "0"
|
|
1054
|
-
}
|
|
1055
|
-
]), 1024)
|
|
1056
|
-
], 16, ke)
|
|
1057
|
-
], 64));
|
|
1058
|
-
}
|
|
1059
|
-
}, Ie = "bs-accordion", xt = {
|
|
1001
|
+
const xe = ["data-stacked"], ye = ["data-open"], Te = ["aria-controls", "aria-expanded"], we = ["id", "aria-level"], Ce = /* @__PURE__ */ u("bs-icon-caret-down", { "data-position": "end" }, null, -1), ke = ["aria-labelledby", "data-open", "id"], pe = { "data-slot": "" }, St = {
|
|
1060
1002
|
__name: "BsAccordion",
|
|
1061
1003
|
props: {
|
|
1062
1004
|
controlled: { default: !1 },
|
|
@@ -1065,157 +1007,96 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1065
1007
|
headingLevel: {},
|
|
1066
1008
|
openItem: { default: !1 },
|
|
1067
1009
|
openItemId: {},
|
|
1068
|
-
stacked: { default: !1 }
|
|
1069
|
-
bsShow: { default: !0 }
|
|
1010
|
+
stacked: { default: !1 }
|
|
1070
1011
|
},
|
|
1071
1012
|
emits: ["toggled"],
|
|
1072
1013
|
setup(e, { emit: l }) {
|
|
1073
|
-
const a = e, {
|
|
1074
|
-
|
|
1075
|
-
|
|
1014
|
+
const a = e, t = g(null), n = g(""), d = g(""), i = g(!1), h = b(() => a.icon ? `bs-icon-${a.icon}` : null), f = b(() => a.openItemId === t.value.id || a.openItem === !0), B = b(() => a.controlled ? f.value : i.value);
|
|
1015
|
+
w(() => {
|
|
1016
|
+
var y;
|
|
1017
|
+
(y = t.value) != null && y.id || t.value.setAttribute("id", z()), n.value = t.value.id + "-content", d.value = t.value.id + "-title";
|
|
1076
1018
|
});
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1019
|
+
function D() {
|
|
1020
|
+
l("toggled", t.value.id), a.controlled || (i.value = !i.value);
|
|
1021
|
+
}
|
|
1022
|
+
return (y, Ye) => (s(), r("bs-host", {
|
|
1023
|
+
ref_key: "hostRef",
|
|
1024
|
+
ref: t,
|
|
1025
|
+
class: "bs-accordion",
|
|
1026
|
+
"data-component": "bs-accordion",
|
|
1027
|
+
"data-stacked": e.stacked
|
|
1028
|
+
}, [
|
|
1029
|
+
u("header", {
|
|
1030
|
+
part: "header",
|
|
1031
|
+
"data-open": B.value
|
|
1032
|
+
}, [
|
|
1033
|
+
u("button", {
|
|
1034
|
+
"aria-controls": n.value,
|
|
1035
|
+
"aria-expanded": B.value,
|
|
1036
|
+
type: "button",
|
|
1037
|
+
onClick: D
|
|
1038
|
+
}, [
|
|
1039
|
+
h.value ? (s(), v(C(h.value), {
|
|
1040
|
+
key: 0,
|
|
1041
|
+
"data-position": "start"
|
|
1042
|
+
})) : A("", !0),
|
|
1043
|
+
u("span", {
|
|
1044
|
+
id: d.value,
|
|
1045
|
+
"aria-level": e.headingLevel,
|
|
1046
|
+
role: "heading"
|
|
1047
|
+
}, L(e.headerText), 9, we),
|
|
1048
|
+
Ce
|
|
1049
|
+
], 8, Te)
|
|
1050
|
+
], 8, ye),
|
|
1051
|
+
u("div", {
|
|
1052
|
+
"aria-labelledby": d.value,
|
|
1053
|
+
class: "bs-accordion-content",
|
|
1054
|
+
"data-open": B.value,
|
|
1055
|
+
id: n.value,
|
|
1056
|
+
part: "content",
|
|
1057
|
+
role: "region"
|
|
1058
|
+
}, [
|
|
1059
|
+
u("div", pe, [
|
|
1060
|
+
c(y.$slots, "default")
|
|
1061
|
+
])
|
|
1062
|
+
], 8, ke)
|
|
1063
|
+
], 8, xe));
|
|
1091
1064
|
}
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
t.value || v >= 4 || (t.value = (B = (f = r.value) == null ? void 0 : f.querySelector) == null ? void 0 : B.call(f, "[data-slot]"), t.value || i.push(setTimeout(() => y(r, v + 1), 50)));
|
|
1100
|
-
};
|
|
1101
|
-
return w(() => b.value = !0), S(() => y(c, 0)), C(t, (r) => {
|
|
1102
|
-
!r || a.value || (P(t), i.push(setTimeout(() => {
|
|
1103
|
-
L(() => {
|
|
1104
|
-
s.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
|
|
1105
|
-
});
|
|
1106
|
-
}, 100)), a.value = !0);
|
|
1107
|
-
}, { immediate: !0 }), V(() => i.forEach((r) => clearTimeout(r))), (r, v) => (n(), o(q, null, [
|
|
1108
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1109
|
-
default: g(() => [
|
|
1110
|
-
(n(), $(A, { to: t.value }, [
|
|
1111
|
-
u(r.$slots, "default")
|
|
1112
|
-
], 8, ["to"]))
|
|
1113
|
-
]),
|
|
1114
|
-
_: 3
|
|
1115
|
-
})) : x("", !0),
|
|
1116
|
-
k("bs-banner", d({
|
|
1117
|
-
ref_key: "wcRef",
|
|
1118
|
-
ref: c,
|
|
1119
|
-
class: s.value,
|
|
1120
|
-
"data-bsds-ssr": "",
|
|
1121
|
-
onDismiss: v[0] || (v[0] = (f) => l("dismiss", f.detail))
|
|
1122
|
-
}, r.$attrs), [
|
|
1123
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1124
|
-
b.value ? void 0 : {
|
|
1125
|
-
name: "fallback",
|
|
1126
|
-
fn: g(() => [
|
|
1127
|
-
u(r.$slots, "default")
|
|
1128
|
-
]),
|
|
1129
|
-
key: "0"
|
|
1130
|
-
}
|
|
1131
|
-
]), 1024)
|
|
1132
|
-
], 16)
|
|
1133
|
-
], 64));
|
|
1134
|
-
}
|
|
1135
|
-
}, Se = "bs-banner", zt = {
|
|
1065
|
+
};
|
|
1066
|
+
const Ae = ["data-dismissed"], Le = { class: "bs-banner-content" }, Ve = /* @__PURE__ */ u("bs-icon-warning", {
|
|
1067
|
+
size: "lg",
|
|
1068
|
+
class: "bs-banner-warning-icon"
|
|
1069
|
+
}, null, -1), qe = { "data-slot": "" }, ze = /* @__PURE__ */ u("bs-icon-close", null, null, -1), De = [
|
|
1070
|
+
ze
|
|
1071
|
+
], Ft = {
|
|
1136
1072
|
__name: "BsBanner",
|
|
1137
|
-
props: {
|
|
1138
|
-
bsShow: { default: !0 }
|
|
1139
|
-
},
|
|
1140
1073
|
emits: ["dismiss"],
|
|
1141
1074
|
setup(e, { emit: l }) {
|
|
1142
|
-
const a =
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
}
|
|
1146
|
-
return (
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
onDismiss: i[1] || (i[1] = (c) => l("dismiss", c.detail))
|
|
1157
|
-
}), [
|
|
1158
|
-
u(s.$slots, "default")
|
|
1159
|
-
], 16));
|
|
1160
|
-
}
|
|
1161
|
-
}, Ce = ["variant", "disabled", "ghost-btn", "href", "pass-attrs", "text-btn", "size"], Le = {
|
|
1162
|
-
__name: "BsButtonServer",
|
|
1163
|
-
props: {
|
|
1164
|
-
variant: {},
|
|
1165
|
-
disabled: {},
|
|
1166
|
-
ghostBtn: {},
|
|
1167
|
-
href: {},
|
|
1168
|
-
passAttrs: { default: "" },
|
|
1169
|
-
textBtn: {},
|
|
1170
|
-
size: {}
|
|
1171
|
-
},
|
|
1172
|
-
emits: [],
|
|
1173
|
-
setup(e, { emit: l }) {
|
|
1174
|
-
const a = h(!1), t = h(null), s = h(""), i = I([]), c = h(null), b = h(!1), y = (r, v = 0) => {
|
|
1175
|
-
var f, B;
|
|
1176
|
-
t.value || v >= 4 || (t.value = (B = (f = r.value) == null ? void 0 : f.querySelector) == null ? void 0 : B.call(f, "[data-slot]"), t.value || i.push(setTimeout(() => y(r, v + 1), 50)));
|
|
1177
|
-
};
|
|
1178
|
-
return w(() => b.value = !0), S(() => y(c, 0)), C(t, (r) => {
|
|
1179
|
-
!r || a.value || (P(t), i.push(setTimeout(() => {
|
|
1180
|
-
L(() => {
|
|
1181
|
-
s.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated";
|
|
1182
|
-
});
|
|
1183
|
-
}, 100)), a.value = !0);
|
|
1184
|
-
}, { immediate: !0 }), V(() => i.forEach((r) => clearTimeout(r))), (r, v) => (n(), o(q, null, [
|
|
1185
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1186
|
-
default: g(() => [
|
|
1187
|
-
(n(), $(A, { to: t.value }, [
|
|
1188
|
-
u(r.$slots, "default")
|
|
1189
|
-
], 8, ["to"]))
|
|
1075
|
+
const a = g(!1);
|
|
1076
|
+
function t() {
|
|
1077
|
+
a.value = !0, l("dismiss");
|
|
1078
|
+
}
|
|
1079
|
+
return (n, d) => (s(), r("bs-host", {
|
|
1080
|
+
role: "alert",
|
|
1081
|
+
class: "bs-banner",
|
|
1082
|
+
"data-component": "bs-banner",
|
|
1083
|
+
"data-dismissed": a.value ? !0 : void 0
|
|
1084
|
+
}, [
|
|
1085
|
+
u("div", Le, [
|
|
1086
|
+
Ve,
|
|
1087
|
+
u("div", qe, [
|
|
1088
|
+
c(n.$slots, "default")
|
|
1190
1089
|
]),
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
variant: e.variant,
|
|
1199
|
-
disabled: e.disabled,
|
|
1200
|
-
"ghost-btn": e.ghostBtn,
|
|
1201
|
-
href: e.href,
|
|
1202
|
-
"pass-attrs": e.passAttrs,
|
|
1203
|
-
"text-btn": e.textBtn,
|
|
1204
|
-
size: e.size
|
|
1205
|
-
}, r.$attrs), [
|
|
1206
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1207
|
-
b.value ? void 0 : {
|
|
1208
|
-
name: "fallback",
|
|
1209
|
-
fn: g(() => [
|
|
1210
|
-
u(r.$slots, "default")
|
|
1211
|
-
]),
|
|
1212
|
-
key: "0"
|
|
1213
|
-
}
|
|
1214
|
-
]), 1024)
|
|
1215
|
-
], 16, Ce)
|
|
1216
|
-
], 64));
|
|
1090
|
+
u("button", {
|
|
1091
|
+
type: "button",
|
|
1092
|
+
title: "Close Banner",
|
|
1093
|
+
onClick: t
|
|
1094
|
+
}, De)
|
|
1095
|
+
])
|
|
1096
|
+
], 8, Ae));
|
|
1217
1097
|
}
|
|
1218
|
-
}
|
|
1098
|
+
};
|
|
1099
|
+
const Pe = ["data-disabled"], Et = {
|
|
1219
1100
|
__name: "BsButton",
|
|
1220
1101
|
props: {
|
|
1221
1102
|
variant: {},
|
|
@@ -1223,236 +1104,131 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1223
1104
|
ghostBtn: {},
|
|
1224
1105
|
href: {},
|
|
1225
1106
|
passAttrs: { default: "" },
|
|
1226
|
-
textBtn: {},
|
|
1227
|
-
size: {},
|
|
1228
1107
|
router: {},
|
|
1229
|
-
|
|
1108
|
+
textBtn: {},
|
|
1109
|
+
size: {}
|
|
1230
1110
|
},
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1111
|
+
setup(e) {
|
|
1112
|
+
const l = e, { onLinkClick: a } = x(l), t = T(), n = b(() => {
|
|
1113
|
+
const i = {
|
|
1114
|
+
download: t.download,
|
|
1115
|
+
target: t.target
|
|
1116
|
+
};
|
|
1117
|
+
return l.href ? l.disabled && l.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title) : i.type = t.type || "button", i;
|
|
1236
1118
|
});
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
const a = h(!1), t = h(null), s = h(""), i = I([]), c = h(null), b = h(!1), y = (r, v = 0) => {
|
|
1258
|
-
var f, B;
|
|
1259
|
-
t.value || v >= 4 || (t.value = (B = (f = r.value) == null ? void 0 : f.querySelector) == null ? void 0 : B.call(f, "[data-slot]"), t.value || i.push(setTimeout(() => y(r, v + 1), 50)));
|
|
1260
|
-
};
|
|
1261
|
-
return w(() => b.value = !0), S(() => y(c, 0)), C(t, (r) => {
|
|
1262
|
-
!r || a.value || (P(t), i.push(setTimeout(() => {
|
|
1263
|
-
L(() => {
|
|
1264
|
-
s.value = customElements.get("bs-icon-gradient-wrapper") ? "hydrated superhydrated" : "superhydrated";
|
|
1265
|
-
});
|
|
1266
|
-
}, 100)), a.value = !0);
|
|
1267
|
-
}, { immediate: !0 }), V(() => i.forEach((r) => clearTimeout(r))), (r, v) => (n(), o(q, null, [
|
|
1268
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1269
|
-
default: g(() => [
|
|
1270
|
-
(n(), $(A, { to: t.value }, [
|
|
1271
|
-
u(r.$slots, "default")
|
|
1272
|
-
], 8, ["to"]))
|
|
1119
|
+
function d(i) {
|
|
1120
|
+
l.disabled && (i.preventDefault(), i.stopPropagation());
|
|
1121
|
+
}
|
|
1122
|
+
return (i, h) => (s(), r("bs-host", {
|
|
1123
|
+
"data-component": "bs-button",
|
|
1124
|
+
"data-disabled": e.disabled || void 0,
|
|
1125
|
+
onClick: d
|
|
1126
|
+
}, [
|
|
1127
|
+
(s(), v(C(e.href ? "a" : "button"), o({
|
|
1128
|
+
"data-slot": "",
|
|
1129
|
+
class: "bs-button",
|
|
1130
|
+
"data-ghost": e.ghostBtn,
|
|
1131
|
+
"data-size": e.size,
|
|
1132
|
+
"data-text": e.textBtn,
|
|
1133
|
+
"data-variant": e.variant,
|
|
1134
|
+
disabled: e.disabled,
|
|
1135
|
+
href: e.href
|
|
1136
|
+
}, n.value, { onClick: m(a) }), {
|
|
1137
|
+
default: $(() => [
|
|
1138
|
+
c(i.$slots, "default")
|
|
1273
1139
|
]),
|
|
1274
1140
|
_: 3
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
ref_key: "wcRef",
|
|
1278
|
-
ref: c,
|
|
1279
|
-
class: s.value,
|
|
1280
|
-
"data-bsds-ssr": ""
|
|
1281
|
-
}, r.$attrs), [
|
|
1282
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1283
|
-
b.value ? void 0 : {
|
|
1284
|
-
name: "fallback",
|
|
1285
|
-
fn: g(() => [
|
|
1286
|
-
u(r.$slots, "default")
|
|
1287
|
-
]),
|
|
1288
|
-
key: "0"
|
|
1289
|
-
}
|
|
1290
|
-
]), 1024)
|
|
1291
|
-
], 16)
|
|
1292
|
-
], 64));
|
|
1141
|
+
}, 16, ["data-ghost", "data-size", "data-text", "data-variant", "disabled", "href", "onClick"]))
|
|
1142
|
+
], 8, Pe));
|
|
1293
1143
|
}
|
|
1294
|
-
}
|
|
1144
|
+
};
|
|
1145
|
+
const Me = ["viewBox"], Se = ["offset", "stop-color"], Ot = {
|
|
1295
1146
|
__name: "BsIconGradientWrapper",
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1341
|
-
default: g(() => [
|
|
1342
|
-
(n(), $(A, { to: t.value }, [
|
|
1343
|
-
u(r.$slots, "default")
|
|
1344
|
-
], 8, ["to"]))
|
|
1345
|
-
]),
|
|
1346
|
-
_: 3
|
|
1347
|
-
})) : x("", !0),
|
|
1348
|
-
k("bs-label", d({
|
|
1349
|
-
ref_key: "wcRef",
|
|
1350
|
-
ref: c,
|
|
1351
|
-
class: s.value,
|
|
1352
|
-
"data-bsds-ssr": "",
|
|
1353
|
-
disabled: e.disabled,
|
|
1354
|
-
for: e.for,
|
|
1355
|
-
hide: e.hide,
|
|
1356
|
-
"pass-attrs": e.passAttrs,
|
|
1357
|
-
required: e.required
|
|
1358
|
-
}, r.$attrs), [
|
|
1359
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1360
|
-
b.value ? void 0 : {
|
|
1361
|
-
name: "fallback",
|
|
1362
|
-
fn: g(() => [
|
|
1363
|
-
u(r.$slots, "default")
|
|
1364
|
-
]),
|
|
1365
|
-
key: "0"
|
|
1366
|
-
}
|
|
1367
|
-
]), 1024)
|
|
1368
|
-
], 16, xe)
|
|
1369
|
-
], 64));
|
|
1147
|
+
setup(e) {
|
|
1148
|
+
const l = [
|
|
1149
|
+
{ offset: 0.1326, color: "#EE282A" },
|
|
1150
|
+
{ offset: 0.5466, color: "#1C0087" },
|
|
1151
|
+
{ offset: 0.9715, color: "#0086EA" }
|
|
1152
|
+
], a = `svg-gradient-${z()}`, t = g(null), n = g("0 0 0 0");
|
|
1153
|
+
function d() {
|
|
1154
|
+
const i = t.value.querySelector(".svg-wrapper svg");
|
|
1155
|
+
n.value = i == null ? void 0 : i.getAttribute("viewBox");
|
|
1156
|
+
}
|
|
1157
|
+
return w(d), (i, h) => (s(), r("bs-host", {
|
|
1158
|
+
ref_key: "hostRef",
|
|
1159
|
+
ref: t,
|
|
1160
|
+
"data-component": "bs-icon-gradient-wrapper"
|
|
1161
|
+
}, [
|
|
1162
|
+
u("span", {
|
|
1163
|
+
class: "svg-wrapper",
|
|
1164
|
+
style: M(`fill: url(#${a});`),
|
|
1165
|
+
"data-slot": ""
|
|
1166
|
+
}, [
|
|
1167
|
+
c(i.$slots, "default")
|
|
1168
|
+
], 4),
|
|
1169
|
+
(s(), r("svg", {
|
|
1170
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1171
|
+
viewBox: n.value,
|
|
1172
|
+
width: "0",
|
|
1173
|
+
height: "0"
|
|
1174
|
+
}, [
|
|
1175
|
+
u("linearGradient", {
|
|
1176
|
+
id: a,
|
|
1177
|
+
x1: "0",
|
|
1178
|
+
y1: "0",
|
|
1179
|
+
x2: "100%",
|
|
1180
|
+
y2: "100%",
|
|
1181
|
+
gradientUnits: "userSpaceOnUse"
|
|
1182
|
+
}, [
|
|
1183
|
+
(s(), r(V, null, S(l, (f) => u("stop", {
|
|
1184
|
+
key: f.offset,
|
|
1185
|
+
offset: f.offset,
|
|
1186
|
+
"stop-color": f.color
|
|
1187
|
+
}, null, 8, Se)), 64))
|
|
1188
|
+
])
|
|
1189
|
+
], 8, Me))
|
|
1190
|
+
], 512));
|
|
1370
1191
|
}
|
|
1371
|
-
}
|
|
1192
|
+
};
|
|
1193
|
+
const Fe = ["data-disabled", "htmlFor"], Ee = { "data-slot": "" }, Oe = /* @__PURE__ */ u("span", {
|
|
1194
|
+
"data-required": "",
|
|
1195
|
+
"aria-hidden": "true"
|
|
1196
|
+
}, " *", -1), Ge = /* @__PURE__ */ u("span", { class: "visually-hidden" }, "required", -1), Gt = {
|
|
1372
1197
|
__name: "BsLabel",
|
|
1373
1198
|
props: {
|
|
1374
1199
|
disabled: {},
|
|
1375
1200
|
for: {},
|
|
1376
1201
|
hide: {},
|
|
1377
1202
|
passAttrs: { default: "" },
|
|
1378
|
-
required: {}
|
|
1379
|
-
bsShow: { default: !0 }
|
|
1203
|
+
required: {}
|
|
1380
1204
|
},
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1205
|
+
setup(e) {
|
|
1206
|
+
const l = e, a = T(), t = b(() => {
|
|
1207
|
+
const n = {};
|
|
1208
|
+
return l.passAttrs.split(",").forEach((d) => {
|
|
1209
|
+
n[d] = a[d];
|
|
1210
|
+
}), n;
|
|
1386
1211
|
});
|
|
1387
|
-
return (
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
u(s.$slots, "default")
|
|
1398
|
-
], 16));
|
|
1399
|
-
}
|
|
1400
|
-
}, Pe = ["variant", "status", "href", "active", "disabled", "pass-attrs"], We = {
|
|
1401
|
-
__name: "BsPillServer",
|
|
1402
|
-
props: {
|
|
1403
|
-
variant: {},
|
|
1404
|
-
status: {},
|
|
1405
|
-
href: {},
|
|
1406
|
-
active: {},
|
|
1407
|
-
disabled: {},
|
|
1408
|
-
passAttrs: { default: "" }
|
|
1409
|
-
},
|
|
1410
|
-
emits: [],
|
|
1411
|
-
setup(e, { emit: l }) {
|
|
1412
|
-
const a = h(!1), t = h(null), s = h(""), i = I([]), c = h(null), b = h(!1), y = (r, v = 0) => {
|
|
1413
|
-
var f, B;
|
|
1414
|
-
t.value || v >= 4 || (t.value = (B = (f = r.value) == null ? void 0 : f.querySelector) == null ? void 0 : B.call(f, "[data-slot]"), t.value || i.push(setTimeout(() => y(r, v + 1), 50)));
|
|
1415
|
-
};
|
|
1416
|
-
return w(() => b.value = !0), S(() => y(c, 0)), C(t, (r) => {
|
|
1417
|
-
!r || a.value || (P(t), i.push(setTimeout(() => {
|
|
1418
|
-
L(() => {
|
|
1419
|
-
s.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
|
|
1420
|
-
});
|
|
1421
|
-
}, 100)), a.value = !0);
|
|
1422
|
-
}, { immediate: !0 }), V(() => i.forEach((r) => clearTimeout(r))), (r, v) => (n(), o(q, null, [
|
|
1423
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1424
|
-
default: g(() => [
|
|
1425
|
-
(n(), $(A, { to: t.value }, [
|
|
1426
|
-
u(r.$slots, "default")
|
|
1427
|
-
], 8, ["to"]))
|
|
1212
|
+
return (n, d) => (s(), r("bs-host", {
|
|
1213
|
+
"data-component": "bs-label",
|
|
1214
|
+
class: q(e.hide ? "visually-hidden" : "")
|
|
1215
|
+
}, [
|
|
1216
|
+
u("label", o({
|
|
1217
|
+
"data-disabled": e.disabled,
|
|
1218
|
+
htmlFor: e.for
|
|
1219
|
+
}, t.value), [
|
|
1220
|
+
u("span", Ee, [
|
|
1221
|
+
c(n.$slots, "default")
|
|
1428
1222
|
]),
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
"data-bsds-ssr": "",
|
|
1436
|
-
variant: e.variant,
|
|
1437
|
-
status: e.status,
|
|
1438
|
-
href: e.href,
|
|
1439
|
-
active: e.active,
|
|
1440
|
-
disabled: e.disabled,
|
|
1441
|
-
"pass-attrs": e.passAttrs
|
|
1442
|
-
}, r.$attrs), [
|
|
1443
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1444
|
-
b.value ? void 0 : {
|
|
1445
|
-
name: "fallback",
|
|
1446
|
-
fn: g(() => [
|
|
1447
|
-
u(r.$slots, "default")
|
|
1448
|
-
]),
|
|
1449
|
-
key: "0"
|
|
1450
|
-
}
|
|
1451
|
-
]), 1024)
|
|
1452
|
-
], 16, Pe)
|
|
1453
|
-
], 64));
|
|
1223
|
+
e.required ? (s(), r(V, { key: 0 }, [
|
|
1224
|
+
Oe,
|
|
1225
|
+
Ge
|
|
1226
|
+
], 64)) : A("", !0)
|
|
1227
|
+
], 16, Fe)
|
|
1228
|
+
], 2));
|
|
1454
1229
|
}
|
|
1455
|
-
}
|
|
1230
|
+
};
|
|
1231
|
+
const Re = { "data-component": "bs-pill" }, Rt = {
|
|
1456
1232
|
__name: "BsPill",
|
|
1457
1233
|
props: {
|
|
1458
1234
|
variant: {},
|
|
@@ -1460,90 +1236,34 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1460
1236
|
href: {},
|
|
1461
1237
|
active: {},
|
|
1462
1238
|
disabled: {},
|
|
1463
|
-
passAttrs: { default: "" }
|
|
1464
|
-
router: {},
|
|
1465
|
-
bsShow: { default: !0 }
|
|
1239
|
+
passAttrs: { default: "" }
|
|
1466
1240
|
},
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1241
|
+
setup(e) {
|
|
1242
|
+
const l = e, { onLinkClick: a } = x(l), t = T(), n = b(() => l.href ? "a" : t.type === "button" ? "button" : "span"), d = b(() => {
|
|
1243
|
+
const i = {};
|
|
1244
|
+
return l.passAttrs.split(",").forEach((h) => {
|
|
1245
|
+
i[h] = t[h];
|
|
1246
|
+
}), l.disabled && l.href && (i["aria-disabled"] = !0, i.tabindex = "-1", i.title = t.title), n.value === "button" && (i.type = t.type || "button"), i;
|
|
1472
1247
|
});
|
|
1473
|
-
return (i,
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
u(i.$slots, "default")
|
|
1486
|
-
], 16));
|
|
1487
|
-
}
|
|
1488
|
-
}, Me = ["disabled", "input-id", "required", "error", "hint-id", "value", "pass-attrs"], Ee = {
|
|
1489
|
-
__name: "BsSelectServer",
|
|
1490
|
-
props: {
|
|
1491
|
-
disabled: { default: !1 },
|
|
1492
|
-
inputId: {},
|
|
1493
|
-
required: {},
|
|
1494
|
-
error: {},
|
|
1495
|
-
hintId: {},
|
|
1496
|
-
value: {},
|
|
1497
|
-
passAttrs: { default: "" },
|
|
1498
|
-
modelValue: {}
|
|
1499
|
-
},
|
|
1500
|
-
emits: [],
|
|
1501
|
-
setup(e, { emit: l }) {
|
|
1502
|
-
const a = h(!1), t = h(null), s = h(""), i = I([]), c = h(null), b = h(!1), y = (r, v = 0) => {
|
|
1503
|
-
var f, B;
|
|
1504
|
-
t.value || v >= 4 || (t.value = (B = (f = r.value) == null ? void 0 : f.querySelector) == null ? void 0 : B.call(f, "[data-slot]"), t.value || i.push(setTimeout(() => y(r, v + 1), 50)));
|
|
1505
|
-
};
|
|
1506
|
-
return w(() => b.value = !0), S(() => y(c, 0)), C(t, (r) => {
|
|
1507
|
-
!r || a.value || (P(t), i.push(setTimeout(() => {
|
|
1508
|
-
L(() => {
|
|
1509
|
-
s.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
|
|
1510
|
-
});
|
|
1511
|
-
}, 100)), a.value = !0);
|
|
1512
|
-
}, { immediate: !0 }), V(() => i.forEach((r) => clearTimeout(r))), (r, v) => (n(), o(q, null, [
|
|
1513
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1514
|
-
default: g(() => [
|
|
1515
|
-
(n(), $(A, { to: t.value }, [
|
|
1516
|
-
u(r.$slots, "default")
|
|
1517
|
-
], 8, ["to"]))
|
|
1248
|
+
return (i, h) => (s(), r("bs-host", Re, [
|
|
1249
|
+
(s(), v(C(n.value), o({
|
|
1250
|
+
class: "bs-pill",
|
|
1251
|
+
"data-active": e.active,
|
|
1252
|
+
"data-slot": "",
|
|
1253
|
+
"data-status": e.status || void 0,
|
|
1254
|
+
"data-variant": e.variant || void 0,
|
|
1255
|
+
disabled: e.disabled,
|
|
1256
|
+
href: e.href
|
|
1257
|
+
}, d.value, { onClick: m(a) }), {
|
|
1258
|
+
default: $(() => [
|
|
1259
|
+
c(i.$slots, "default")
|
|
1518
1260
|
]),
|
|
1519
1261
|
_: 3
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
ref_key: "wcRef",
|
|
1523
|
-
ref: c,
|
|
1524
|
-
class: s.value,
|
|
1525
|
-
"data-bsds-ssr": "",
|
|
1526
|
-
disabled: e.disabled,
|
|
1527
|
-
"input-id": e.inputId,
|
|
1528
|
-
required: e.required,
|
|
1529
|
-
error: e.error,
|
|
1530
|
-
"hint-id": e.hintId,
|
|
1531
|
-
value: e.value,
|
|
1532
|
-
"pass-attrs": e.passAttrs
|
|
1533
|
-
}, e.modelValue, r.$attrs), [
|
|
1534
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1535
|
-
b.value ? void 0 : {
|
|
1536
|
-
name: "fallback",
|
|
1537
|
-
fn: g(() => [
|
|
1538
|
-
u(r.$slots, "default")
|
|
1539
|
-
]),
|
|
1540
|
-
key: "0"
|
|
1541
|
-
}
|
|
1542
|
-
]), 1024)
|
|
1543
|
-
], 16, Me)
|
|
1544
|
-
], 64));
|
|
1262
|
+
}, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]))
|
|
1263
|
+
]));
|
|
1545
1264
|
}
|
|
1546
|
-
}
|
|
1265
|
+
};
|
|
1266
|
+
const je = { "data-component": "bs-select" }, Ne = ["id", "disabled", "required", "data-error", "value"], jt = {
|
|
1547
1267
|
__name: "BsSelect",
|
|
1548
1268
|
props: {
|
|
1549
1269
|
disabled: { default: !1 },
|
|
@@ -1553,159 +1273,126 @@ const ke = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1553
1273
|
hintId: {},
|
|
1554
1274
|
value: {},
|
|
1555
1275
|
passAttrs: { default: "" },
|
|
1556
|
-
modelValue: {}
|
|
1557
|
-
bsShow: { default: !0 }
|
|
1276
|
+
modelValue: {}
|
|
1558
1277
|
},
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1278
|
+
setup(e) {
|
|
1279
|
+
const l = e, a = ["autocomplete", "multiple", "name", "size"], t = T(), n = b(() => ({ [l.error ? "aria-errormessage" : "aria-describedby"]: l.hintId })), d = b(() => {
|
|
1280
|
+
const i = { ...n.value };
|
|
1281
|
+
return l.passAttrs.split(",").concat(a).forEach((h) => {
|
|
1282
|
+
i[h] = t[h];
|
|
1283
|
+
}), i;
|
|
1564
1284
|
});
|
|
1565
|
-
return (
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
__name: "BsTooltipServer",
|
|
1580
|
-
props: {
|
|
1581
|
-
tooltipId: {},
|
|
1582
|
-
content: {},
|
|
1583
|
-
position: {}
|
|
1584
|
-
},
|
|
1585
|
-
emits: [],
|
|
1586
|
-
setup(e, { emit: l }) {
|
|
1587
|
-
const a = h(!1), t = h(null), s = h(""), i = I([]), c = h(null), b = h(!1), y = (r, v = 0) => {
|
|
1588
|
-
var f, B;
|
|
1589
|
-
t.value || v >= 4 || (t.value = (B = (f = r.value) == null ? void 0 : f.querySelector) == null ? void 0 : B.call(f, "[data-slot]"), t.value || i.push(setTimeout(() => y(r, v + 1), 50)));
|
|
1590
|
-
};
|
|
1591
|
-
return w(() => b.value = !0), S(() => y(c, 0)), C(t, (r) => {
|
|
1592
|
-
!r || a.value || (P(t), i.push(setTimeout(() => {
|
|
1593
|
-
L(() => {
|
|
1594
|
-
s.value = customElements.get("bs-tooltip") ? "hydrated superhydrated" : "superhydrated";
|
|
1595
|
-
});
|
|
1596
|
-
}, 100)), a.value = !0);
|
|
1597
|
-
}, { immediate: !0 }), V(() => i.forEach((r) => clearTimeout(r))), (r, v) => (n(), o(q, null, [
|
|
1598
|
-
t.value && b.value ? (n(), $(m(p), { key: 0 }, {
|
|
1599
|
-
default: g(() => [
|
|
1600
|
-
(n(), $(A, { to: t.value }, [
|
|
1601
|
-
u(r.$slots, "default")
|
|
1602
|
-
], 8, ["to"]))
|
|
1603
|
-
]),
|
|
1604
|
-
_: 3
|
|
1605
|
-
})) : x("", !0),
|
|
1606
|
-
k("bs-tooltip", d({
|
|
1607
|
-
ref_key: "wcRef",
|
|
1608
|
-
ref: c,
|
|
1609
|
-
class: s.value,
|
|
1610
|
-
"data-bsds-ssr": "",
|
|
1611
|
-
"tooltip-id": e.tooltipId,
|
|
1612
|
-
content: e.content,
|
|
1613
|
-
position: e.position
|
|
1614
|
-
}, r.$attrs), [
|
|
1615
|
-
T(m(p), null, z({ _: 2 }, [
|
|
1616
|
-
b.value ? void 0 : {
|
|
1617
|
-
name: "fallback",
|
|
1618
|
-
fn: g(() => [
|
|
1619
|
-
u(r.$slots, "default")
|
|
1620
|
-
]),
|
|
1621
|
-
key: "0"
|
|
1622
|
-
}
|
|
1623
|
-
]), 1024)
|
|
1624
|
-
], 16, Fe)
|
|
1625
|
-
], 64));
|
|
1285
|
+
return (i, h) => (s(), r("bs-host", je, [
|
|
1286
|
+
u("select", o({
|
|
1287
|
+
id: e.inputId,
|
|
1288
|
+
class: "bs-select",
|
|
1289
|
+
"data-slot": "",
|
|
1290
|
+
disabled: e.disabled,
|
|
1291
|
+
required: e.required,
|
|
1292
|
+
"data-error": e.error,
|
|
1293
|
+
value: e.value || e.modelValue,
|
|
1294
|
+
onChange: h[0] || (h[0] = (f) => i.emit("update:modelValue", f.target.value))
|
|
1295
|
+
}, d.value), [
|
|
1296
|
+
c(i.$slots, "default")
|
|
1297
|
+
], 16, Ne)
|
|
1298
|
+
]));
|
|
1626
1299
|
}
|
|
1627
|
-
}
|
|
1300
|
+
};
|
|
1301
|
+
const We = ["data-position"], He = { "data-slot": "" }, Ue = ["id"], Nt = {
|
|
1628
1302
|
__name: "BsTooltip",
|
|
1629
1303
|
props: {
|
|
1630
1304
|
tooltipId: {},
|
|
1631
1305
|
content: {},
|
|
1632
|
-
position: {}
|
|
1633
|
-
bsShow: { default: !0 }
|
|
1306
|
+
position: {}
|
|
1634
1307
|
},
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
return !0;
|
|
1308
|
+
setup(e) {
|
|
1309
|
+
const l = e, a = g(!1), t = g(!1), n = b(() => {
|
|
1310
|
+
let f = "bs-tooltip-text";
|
|
1311
|
+
return t.value && (l.position === void 0 || l.position === "top" || l.position === "bottom" ? f += " escaped-x" : l.position === "left" || l.position === "right" ? f += " escaped-y" : f += " escaped"), f;
|
|
1640
1312
|
});
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
}), {
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1313
|
+
w(() => {
|
|
1314
|
+
window.addEventListener("keydown", h);
|
|
1315
|
+
}), F(() => {
|
|
1316
|
+
window.removeEventListener("keydown", h);
|
|
1317
|
+
});
|
|
1318
|
+
function d() {
|
|
1319
|
+
a.value = !0;
|
|
1320
|
+
}
|
|
1321
|
+
function i() {
|
|
1322
|
+
a.value = !1, t.value = !1;
|
|
1323
|
+
}
|
|
1324
|
+
function h(f) {
|
|
1325
|
+
a.value && f.key === "Escape" && (a.value = !1, t.value = !0);
|
|
1326
|
+
}
|
|
1327
|
+
return (f, B) => (s(), r("bs-host", {
|
|
1328
|
+
"data-component": "bs-tooltip",
|
|
1329
|
+
onMouseenter: d,
|
|
1330
|
+
onFocusin: d,
|
|
1331
|
+
onMouseleave: i,
|
|
1332
|
+
onFocusout: i
|
|
1333
|
+
}, [
|
|
1334
|
+
u("div", {
|
|
1335
|
+
class: "bs-tooltip",
|
|
1336
|
+
"data-position": e.position || void 0
|
|
1337
|
+
}, [
|
|
1338
|
+
u("div", He, [
|
|
1339
|
+
c(f.$slots, "default")
|
|
1340
|
+
]),
|
|
1341
|
+
u("div", {
|
|
1342
|
+
class: q(n.value),
|
|
1343
|
+
id: e.tooltipId,
|
|
1344
|
+
role: "tooltip"
|
|
1345
|
+
}, L(e.content), 11, Ue)
|
|
1346
|
+
], 8, We)
|
|
1347
|
+
], 32));
|
|
1653
1348
|
}
|
|
1654
1349
|
};
|
|
1655
1350
|
export {
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
ze as BsLabelServer,
|
|
1683
|
-
ot as BsLoader,
|
|
1684
|
-
ct as BsModal,
|
|
1685
|
-
ft as BsOverlay,
|
|
1686
|
-
mt as BsPagination,
|
|
1351
|
+
St as BsAccordion,
|
|
1352
|
+
Qe as BsBadge,
|
|
1353
|
+
Ft as BsBanner,
|
|
1354
|
+
Et as BsButton,
|
|
1355
|
+
Ke as BsCharacterCount,
|
|
1356
|
+
_e as BsChartBar,
|
|
1357
|
+
et as BsChartTable,
|
|
1358
|
+
tt as BsCheckbox,
|
|
1359
|
+
at as BsCircleButton,
|
|
1360
|
+
nt as BsDropdown,
|
|
1361
|
+
lt as BsDropdownOption,
|
|
1362
|
+
st as BsDropdownOptionList,
|
|
1363
|
+
it as BsDropdownWithOptions,
|
|
1364
|
+
rt as BsFieldDetails,
|
|
1365
|
+
dt as BsFieldLayout,
|
|
1366
|
+
ot as BsHint,
|
|
1367
|
+
Ot as BsIconGradientWrapper,
|
|
1368
|
+
ut as BsInput,
|
|
1369
|
+
ct as BsInputAddon,
|
|
1370
|
+
ft as BsInputField,
|
|
1371
|
+
ht as BsInputSearch,
|
|
1372
|
+
Gt as BsLabel,
|
|
1373
|
+
mt as BsLoader,
|
|
1374
|
+
bt as BsModal,
|
|
1375
|
+
gt as BsOverlay,
|
|
1376
|
+
vt as BsPagination,
|
|
1687
1377
|
Rt as BsPill,
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
Bt as BsSwitch,
|
|
1698
|
-
pt as BsTab,
|
|
1378
|
+
$t as BsProfile,
|
|
1379
|
+
Bt as BsProfileDetails,
|
|
1380
|
+
It as BsProfileImg,
|
|
1381
|
+
xt as BsProfileLayout,
|
|
1382
|
+
yt as BsRadio,
|
|
1383
|
+
jt as BsSelect,
|
|
1384
|
+
Tt as BsSelectField,
|
|
1385
|
+
wt as BsSwitch,
|
|
1386
|
+
Ct as BsTab,
|
|
1699
1387
|
kt as BsTabList,
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
At as BsTransition
|
|
1388
|
+
pt as BsTabPanel,
|
|
1389
|
+
At as BsTextarea,
|
|
1390
|
+
Lt as BsTextareaField,
|
|
1391
|
+
Vt as BsToast,
|
|
1392
|
+
qt as BsToastActions,
|
|
1393
|
+
zt as BsToastBody,
|
|
1394
|
+
Dt as BsToastHeader,
|
|
1395
|
+
Pt as BsToaster,
|
|
1396
|
+
Nt as BsTooltip,
|
|
1397
|
+
Mt as BsTransition
|
|
1711
1398
|
};
|