@wwtdev/bsds-components-vue3 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bsds-components.mjs +957 -0
- package/lib/bsds-components.umd.js +1 -0
- package/lib/components.d.ts +1 -0
- package/lib/components.js +21 -1
- package/lib/components.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/plugin.js +1 -1
- package/lib/plugin.js.map +1 -1
- package/nuxt/bsds-components.mjs +544 -440
- package/nuxt/bsds-components.umd.js +1 -1
- package/package.json +6 -4
package/nuxt/bsds-components.mjs
CHANGED
|
@@ -1,78 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ClientOnly as
|
|
3
|
-
import { useAsyncData as
|
|
4
|
-
const
|
|
5
|
-
var t;
|
|
6
|
-
return [...Array.from(((t = e.value) == null ? void 0 : t.classList) || []), ...s].filter(
|
|
7
|
-
(a, n, o) => !l.has(a) && o.indexOf(a) === n
|
|
8
|
-
);
|
|
9
|
-
}, W = (e, l, s = [], t, a, n) => {
|
|
10
|
-
l !== void 0 && l();
|
|
11
|
-
const o = ae((u, { attrs: $, slots: r, emit: v }) => {
|
|
12
|
-
var Z;
|
|
13
|
-
let c = u[t];
|
|
14
|
-
const k = b(), Y = new Set(_($.class)), ee = (T) => {
|
|
15
|
-
T.el && (Array.isArray(a) ? a : [a]).forEach((S) => {
|
|
16
|
-
T.el.addEventListener(S.toLowerCase(), (g) => {
|
|
17
|
-
c = (g == null ? void 0 : g.target)[t], v(J, c), n && v(n, g);
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
}, G = se(), U = ((Z = G == null ? void 0 : G.appContext) == null ? void 0 : Z.provides[Q]) ? le(Q) : void 0, te = (T) => {
|
|
21
|
-
const { routerLink: j } = u;
|
|
22
|
-
if (j !== A)
|
|
23
|
-
if (U !== void 0) {
|
|
24
|
-
let S = { event: T };
|
|
25
|
-
for (const g in u) {
|
|
26
|
-
const N = u[g];
|
|
27
|
-
u.hasOwnProperty(g) && g.startsWith(ie) && N !== A && (S[g] = N);
|
|
28
|
-
}
|
|
29
|
-
U.navigate(S);
|
|
30
|
-
} else
|
|
31
|
-
console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
|
|
32
|
-
};
|
|
33
|
-
return () => {
|
|
34
|
-
c = u[t], _($.class).forEach((g) => {
|
|
35
|
-
Y.add(g);
|
|
36
|
-
});
|
|
37
|
-
const T = u.onClick, j = (g) => {
|
|
38
|
-
T !== void 0 && T(g), g.defaultPrevented || te(g);
|
|
39
|
-
};
|
|
40
|
-
let S = {
|
|
41
|
-
ref: k,
|
|
42
|
-
class: de(k, Y),
|
|
43
|
-
onClick: j,
|
|
44
|
-
onVnodeBeforeMount: a ? ee : void 0
|
|
45
|
-
};
|
|
46
|
-
for (const g in u) {
|
|
47
|
-
const N = u[g];
|
|
48
|
-
(u.hasOwnProperty(g) && N !== A || g.startsWith(oe)) && (S[g] = N);
|
|
49
|
-
}
|
|
50
|
-
return t && (u[H] !== A ? S = {
|
|
51
|
-
...S,
|
|
52
|
-
[t]: u[H]
|
|
53
|
-
} : c !== A && (S = {
|
|
54
|
-
...S,
|
|
55
|
-
[t]: c
|
|
56
|
-
})), ne(e, S, r.default && r.default());
|
|
57
|
-
};
|
|
58
|
-
});
|
|
59
|
-
return typeof o != "function" && (o.name = e, o.props = {
|
|
60
|
-
[re]: X
|
|
61
|
-
}, s.forEach((u) => {
|
|
62
|
-
o.props[u] = X;
|
|
63
|
-
}), t && (o.props[H] = X, o.emits = [J, n])), o;
|
|
64
|
-
}, nt = /* @__PURE__ */ W("bs-input-addon", void 0, [
|
|
65
|
-
"disabled",
|
|
66
|
-
"error",
|
|
67
|
-
"multifocus",
|
|
68
|
-
"variant"
|
|
69
|
-
]), rt = /* @__PURE__ */ W("bs-loader", void 0, [
|
|
70
|
-
"size"
|
|
71
|
-
]), it = /* @__PURE__ */ W("bs-toast-actions", void 0, [
|
|
72
|
-
"defaultDismiss"
|
|
73
|
-
]), ot = /* @__PURE__ */ W("bs-toast-body", void 0), dt = /* @__PURE__ */ W("bs-toast-header", void 0, [
|
|
74
|
-
"variant"
|
|
75
|
-
]), ut = /* @__PURE__ */ W("bs-toaster", void 0), ue = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], ct = {
|
|
1
|
+
import { openBlock as i, createElementBlock as d, mergeProps as u, renderSlot as c, computed as W, unref as m, createBlock as y, withCtx as g, createElementVNode as w, normalizeProps as E, guardReactiveProps as F, ref as h, reactive as p, onBeforeMount as S, onMounted as T, watch as C, nextTick as I, onBeforeUnmount as q, Fragment as A, Teleport as L, createCommentVNode as x, createVNode as V, createSlots as z } from "vue";
|
|
2
|
+
import { ClientOnly as k } from "#components";
|
|
3
|
+
import { useAsyncData as P } from "#imports";
|
|
4
|
+
const O = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], Oe = {
|
|
76
5
|
__name: "BsBadge",
|
|
77
6
|
props: {
|
|
78
7
|
color: {},
|
|
@@ -85,7 +14,7 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
85
14
|
},
|
|
86
15
|
emits: [],
|
|
87
16
|
setup(e, { emit: l }) {
|
|
88
|
-
return (
|
|
17
|
+
return (a, t) => (i(), d("bs-badge", u(a.$attrs, {
|
|
89
18
|
color: e.color,
|
|
90
19
|
count: e.count,
|
|
91
20
|
"count-max": e.countMax,
|
|
@@ -94,10 +23,10 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
94
23
|
position: e.position,
|
|
95
24
|
"show-zero": e.showZero
|
|
96
25
|
}), [
|
|
97
|
-
|
|
98
|
-
], 16,
|
|
26
|
+
c(a.$slots, "default")
|
|
27
|
+
], 16, O));
|
|
99
28
|
}
|
|
100
|
-
},
|
|
29
|
+
}, M = ["char-count", "char-max"], Me = {
|
|
101
30
|
__name: "BsCharacterCount",
|
|
102
31
|
props: {
|
|
103
32
|
charCount: {},
|
|
@@ -105,12 +34,12 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
105
34
|
},
|
|
106
35
|
emits: [],
|
|
107
36
|
setup(e, { emit: l }) {
|
|
108
|
-
return (
|
|
37
|
+
return (a, t) => (i(), d("bs-character-count", u(a.$attrs, {
|
|
109
38
|
"char-count": e.charCount,
|
|
110
39
|
"char-max": e.charMax
|
|
111
|
-
}), null, 16,
|
|
40
|
+
}), null, 16, M));
|
|
112
41
|
}
|
|
113
|
-
},
|
|
42
|
+
}, j = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], je = {
|
|
114
43
|
__name: "BsChartBar",
|
|
115
44
|
props: {
|
|
116
45
|
chartTitle: {},
|
|
@@ -126,7 +55,7 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
126
55
|
},
|
|
127
56
|
emits: [],
|
|
128
57
|
setup(e, { emit: l }) {
|
|
129
|
-
return (
|
|
58
|
+
return (a, t) => (i(), d("bs-chart-bar", u(a.$attrs, {
|
|
130
59
|
"chart-title": e.chartTitle,
|
|
131
60
|
data: e.data,
|
|
132
61
|
dataIdxLabels: e.dataIdxLabels,
|
|
@@ -137,9 +66,9 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
137
66
|
stacked: e.stacked,
|
|
138
67
|
"x-label": e.xLabel,
|
|
139
68
|
"y-label": e.yLabel
|
|
140
|
-
}), null, 16,
|
|
69
|
+
}), null, 16, j));
|
|
141
70
|
}
|
|
142
|
-
},
|
|
71
|
+
}, N = ["data", "dataIdxLabels", "table-title"], Ne = {
|
|
143
72
|
__name: "BsChartTable",
|
|
144
73
|
props: {
|
|
145
74
|
data: {},
|
|
@@ -148,13 +77,13 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
148
77
|
},
|
|
149
78
|
emits: [],
|
|
150
79
|
setup(e, { emit: l }) {
|
|
151
|
-
return (
|
|
80
|
+
return (a, t) => (i(), d("bs-chart-table", u(a.$attrs, {
|
|
152
81
|
data: e.data,
|
|
153
82
|
dataIdxLabels: e.dataIdxLabels,
|
|
154
83
|
"table-title": e.tableTitle
|
|
155
|
-
}), null, 16,
|
|
84
|
+
}), null, 16, N));
|
|
156
85
|
}
|
|
157
|
-
},
|
|
86
|
+
}, G = ["label", "checked", "checked-partially", "disabled", "error", "pass-attrs", "required", "size"], Ge = {
|
|
158
87
|
__name: "BsCheckbox",
|
|
159
88
|
props: {
|
|
160
89
|
label: {},
|
|
@@ -169,7 +98,7 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
169
98
|
},
|
|
170
99
|
emits: ["update:modelValue"],
|
|
171
100
|
setup(e, { emit: l }) {
|
|
172
|
-
return (
|
|
101
|
+
return (a, t) => (i(), d("bs-checkbox", u(a.$attrs, {
|
|
173
102
|
label: e.label,
|
|
174
103
|
checked: e.checked || e.modelValue,
|
|
175
104
|
"checked-partially": e.checkedPartially,
|
|
@@ -178,25 +107,25 @@ const J = "update:modelValue", H = "modelValue", re = "routerLink", Q = "navMana
|
|
|
178
107
|
"pass-attrs": e.passAttrs,
|
|
179
108
|
required: e.required,
|
|
180
109
|
size: e.size,
|
|
181
|
-
onChange: t[0] || (t[0] = (
|
|
182
|
-
}), null, 16,
|
|
110
|
+
onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.checked))
|
|
111
|
+
}), null, 16, G));
|
|
183
112
|
}
|
|
184
113
|
};
|
|
185
|
-
function
|
|
186
|
-
const l =
|
|
187
|
-
var
|
|
188
|
-
return ((n = (
|
|
189
|
-
}),
|
|
190
|
-
var
|
|
191
|
-
return l.value && ((
|
|
114
|
+
function D(e) {
|
|
115
|
+
const l = W(() => {
|
|
116
|
+
var s, n;
|
|
117
|
+
return ((n = (s = e.href) == null ? void 0 : s.startsWith) == null ? void 0 : n.call(s, "/")) || !1;
|
|
118
|
+
}), a = W(() => {
|
|
119
|
+
var s, n;
|
|
120
|
+
return l.value && ((s = e.router) == null ? void 0 : s.navigateTo) || ((n = e.router) == null ? void 0 : n.push) || null;
|
|
192
121
|
});
|
|
193
|
-
function t(
|
|
194
|
-
var n, o,
|
|
195
|
-
|
|
122
|
+
function t(s) {
|
|
123
|
+
var n, o, b, $, r;
|
|
124
|
+
a.value && ((o = (n = s.target.href) == null ? void 0 : n.endsWith) != null && o.call(n, e.href) || (r = ($ = (b = s.target.closest("a")) == null ? void 0 : b.href) == null ? void 0 : $.endsWith) != null && r.call($, e.href)) && (s.preventDefault(), a.value(e.href));
|
|
196
125
|
}
|
|
197
126
|
return { onLinkClick: t };
|
|
198
127
|
}
|
|
199
|
-
const
|
|
128
|
+
const H = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], He = {
|
|
200
129
|
__name: "BsCircleButton",
|
|
201
130
|
props: {
|
|
202
131
|
disabled: {},
|
|
@@ -213,8 +142,8 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
213
142
|
},
|
|
214
143
|
emits: [],
|
|
215
144
|
setup(e, { emit: l }) {
|
|
216
|
-
const
|
|
217
|
-
return (
|
|
145
|
+
const a = e, { onLinkClick: t } = D(a);
|
|
146
|
+
return (s, n) => (i(), d("bs-circle-button", u(s.$attrs, {
|
|
218
147
|
disabled: e.disabled,
|
|
219
148
|
"ghost-btn": e.ghostBtn,
|
|
220
149
|
"hover-effect": e.hoverEffect,
|
|
@@ -226,9 +155,9 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
226
155
|
"text-btn": e.textBtn,
|
|
227
156
|
size: e.size,
|
|
228
157
|
onClick: n[0] || (n[0] = (...o) => m(t) && m(t)(...o))
|
|
229
|
-
}), null, 16,
|
|
158
|
+
}), null, 16, H));
|
|
230
159
|
}
|
|
231
|
-
},
|
|
160
|
+
}, X = ["shown", "width", "top", "center", "toggle-id", "container-id"], Xe = {
|
|
232
161
|
__name: "BsDropdown",
|
|
233
162
|
props: {
|
|
234
163
|
shown: { default: !1 },
|
|
@@ -240,24 +169,24 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
240
169
|
},
|
|
241
170
|
emits: ["close"],
|
|
242
171
|
setup(e, { emit: l }) {
|
|
243
|
-
return (
|
|
244
|
-
default:
|
|
245
|
-
|
|
172
|
+
return (a, t) => (i(), y(m(k), null, {
|
|
173
|
+
default: g(() => [
|
|
174
|
+
w("bs-dropdown", u(a.$attrs, {
|
|
246
175
|
shown: e.shown,
|
|
247
176
|
width: e.width,
|
|
248
177
|
top: e.top,
|
|
249
178
|
center: e.center,
|
|
250
179
|
"toggle-id": e.toggleId,
|
|
251
180
|
"container-id": e.containerId,
|
|
252
|
-
onClose: t[0] || (t[0] = (
|
|
181
|
+
onClose: t[0] || (t[0] = (s) => l("close", s.detail))
|
|
253
182
|
}), [
|
|
254
|
-
|
|
255
|
-
], 16,
|
|
183
|
+
c(a.$slots, "default")
|
|
184
|
+
], 16, X)
|
|
256
185
|
]),
|
|
257
186
|
_: 3
|
|
258
187
|
}));
|
|
259
188
|
}
|
|
260
|
-
},
|
|
189
|
+
}, Y = ["value", "variant", "selected", "options-id", "shown", "focused", "index"], Ye = {
|
|
261
190
|
__name: "BsDropdownOption",
|
|
262
191
|
props: {
|
|
263
192
|
value: {},
|
|
@@ -270,7 +199,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
270
199
|
},
|
|
271
200
|
emits: ["optionmouseenter", "optionselect"],
|
|
272
201
|
setup(e, { emit: l }) {
|
|
273
|
-
return (
|
|
202
|
+
return (a, t) => (i(), d("bs-dropdown-option", u(a.$attrs, {
|
|
274
203
|
value: e.value,
|
|
275
204
|
variant: e.variant,
|
|
276
205
|
selected: e.selected,
|
|
@@ -278,13 +207,13 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
278
207
|
shown: e.shown,
|
|
279
208
|
focused: e.focused,
|
|
280
209
|
index: e.index,
|
|
281
|
-
onOptionmouseenter: t[0] || (t[0] = (
|
|
282
|
-
onOptionselect: t[1] || (t[1] = (
|
|
210
|
+
onOptionmouseenter: t[0] || (t[0] = (s) => l("optionmouseenter", s.detail)),
|
|
211
|
+
onOptionselect: t[1] || (t[1] = (s) => l("optionselect", s.detail))
|
|
283
212
|
}), [
|
|
284
|
-
|
|
285
|
-
], 16,
|
|
213
|
+
c(a.$slots, "default")
|
|
214
|
+
], 16, Y));
|
|
286
215
|
}
|
|
287
|
-
},
|
|
216
|
+
}, Z = ["options-id", "shown", "label"], Ze = {
|
|
288
217
|
__name: "BsDropdownOptions",
|
|
289
218
|
props: {
|
|
290
219
|
optionsId: {},
|
|
@@ -293,17 +222,17 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
293
222
|
},
|
|
294
223
|
emits: ["selectionchange", "close"],
|
|
295
224
|
setup(e, { emit: l }) {
|
|
296
|
-
return (
|
|
225
|
+
return (a, t) => (i(), d("bs-dropdown-options", u(a.$attrs, {
|
|
297
226
|
"options-id": e.optionsId,
|
|
298
227
|
shown: e.shown,
|
|
299
228
|
label: e.label,
|
|
300
|
-
onSelectionchange: t[0] || (t[0] = (
|
|
301
|
-
onClose: t[1] || (t[1] = (
|
|
229
|
+
onSelectionchange: t[0] || (t[0] = (s) => l("selectionchange", s.detail)),
|
|
230
|
+
onClose: t[1] || (t[1] = (s) => l("close", s.detail))
|
|
302
231
|
}), [
|
|
303
|
-
|
|
304
|
-
], 16,
|
|
232
|
+
c(a.$slots, "default")
|
|
233
|
+
], 16, Z));
|
|
305
234
|
}
|
|
306
|
-
},
|
|
235
|
+
}, J = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], Je = {
|
|
307
236
|
__name: "BsFieldLayout",
|
|
308
237
|
props: {
|
|
309
238
|
charCount: {},
|
|
@@ -318,7 +247,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
318
247
|
},
|
|
319
248
|
emits: [],
|
|
320
249
|
setup(e, { emit: l }) {
|
|
321
|
-
return (
|
|
250
|
+
return (a, t) => (i(), d("bs-field-layout", u(a.$attrs, {
|
|
322
251
|
"char-count": e.charCount,
|
|
323
252
|
"char-max": e.charMax,
|
|
324
253
|
disabled: e.disabled,
|
|
@@ -329,10 +258,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
329
258
|
required: e.required,
|
|
330
259
|
"hint-id": e.hintId
|
|
331
260
|
}), [
|
|
332
|
-
|
|
333
|
-
], 16,
|
|
261
|
+
c(a.$slots, "default")
|
|
262
|
+
], 16, J));
|
|
334
263
|
}
|
|
335
|
-
},
|
|
264
|
+
}, K = ["error", "hint-id", "hints"], Ke = {
|
|
336
265
|
__name: "BsHint",
|
|
337
266
|
props: {
|
|
338
267
|
error: {},
|
|
@@ -341,13 +270,13 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
341
270
|
},
|
|
342
271
|
emits: [],
|
|
343
272
|
setup(e, { emit: l }) {
|
|
344
|
-
return (
|
|
273
|
+
return (a, t) => (i(), d("bs-hint", u(a.$attrs, {
|
|
345
274
|
error: e.error,
|
|
346
275
|
"hint-id": e.hintId,
|
|
347
276
|
hints: e.hints
|
|
348
|
-
}), null, 16,
|
|
277
|
+
}), null, 16, K));
|
|
349
278
|
}
|
|
350
|
-
},
|
|
279
|
+
}, U = ["disabled", "error", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], Ue = {
|
|
351
280
|
__name: "BsInput",
|
|
352
281
|
props: {
|
|
353
282
|
disabled: { default: !1 },
|
|
@@ -362,7 +291,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
362
291
|
},
|
|
363
292
|
emits: ["update:modelValue"],
|
|
364
293
|
setup(e, { emit: l }) {
|
|
365
|
-
return (
|
|
294
|
+
return (a, t) => (i(), d("bs-input", u(a.$attrs, {
|
|
366
295
|
disabled: e.disabled,
|
|
367
296
|
error: e.error,
|
|
368
297
|
"pass-attrs": e.passAttrs,
|
|
@@ -371,10 +300,29 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
371
300
|
type: e.type,
|
|
372
301
|
value: e.value || e.modelValue,
|
|
373
302
|
"hint-id": e.hintId,
|
|
374
|
-
onInput: t[0] || (t[0] = (
|
|
375
|
-
}), null, 16,
|
|
303
|
+
onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
|
|
304
|
+
}), null, 16, U));
|
|
376
305
|
}
|
|
377
|
-
},
|
|
306
|
+
}, Q = ["disabled", "error", "multifocus", "variant"], Qe = {
|
|
307
|
+
__name: "BsInputAddon",
|
|
308
|
+
props: {
|
|
309
|
+
disabled: { default: !1 },
|
|
310
|
+
error: { default: !1 },
|
|
311
|
+
multifocus: { default: !1 },
|
|
312
|
+
variant: {}
|
|
313
|
+
},
|
|
314
|
+
emits: [],
|
|
315
|
+
setup(e, { emit: l }) {
|
|
316
|
+
return (a, t) => (i(), d("bs-input-addon", u(a.$attrs, {
|
|
317
|
+
disabled: e.disabled,
|
|
318
|
+
error: e.error,
|
|
319
|
+
multifocus: e.multifocus,
|
|
320
|
+
variant: e.variant
|
|
321
|
+
}), [
|
|
322
|
+
c(a.$slots, "default")
|
|
323
|
+
], 16, Q));
|
|
324
|
+
}
|
|
325
|
+
}, _ = ["disabled", "error", "hints", "label", "pass-attrs", "placeholder", "required", "type", "value"], _e = {
|
|
378
326
|
__name: "BsInputField",
|
|
379
327
|
props: {
|
|
380
328
|
disabled: { default: !1 },
|
|
@@ -390,7 +338,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
390
338
|
},
|
|
391
339
|
emits: ["update:modelValue"],
|
|
392
340
|
setup(e, { emit: l }) {
|
|
393
|
-
return (
|
|
341
|
+
return (a, t) => (i(), d("bs-input-field", u(a.$attrs, {
|
|
394
342
|
disabled: e.disabled,
|
|
395
343
|
error: e.error,
|
|
396
344
|
hints: e.hints,
|
|
@@ -400,10 +348,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
400
348
|
required: e.required,
|
|
401
349
|
type: e.type,
|
|
402
350
|
value: e.value || e.modelValue,
|
|
403
|
-
onInput: t[0] || (t[0] = (
|
|
404
|
-
}), null, 16,
|
|
351
|
+
onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
|
|
352
|
+
}), null, 16, _));
|
|
405
353
|
}
|
|
406
|
-
},
|
|
354
|
+
}, ee = ["disabled", "pass-attrs", "placeholder", "hint-id", "value"], et = {
|
|
407
355
|
__name: "BsInputSearch",
|
|
408
356
|
props: {
|
|
409
357
|
disabled: { default: !1 },
|
|
@@ -415,17 +363,30 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
415
363
|
},
|
|
416
364
|
emits: ["clear", "update:modelValue"],
|
|
417
365
|
setup(e, { emit: l }) {
|
|
418
|
-
return (
|
|
366
|
+
return (a, t) => (i(), d("bs-input-search", u(a.$attrs, {
|
|
419
367
|
disabled: e.disabled,
|
|
420
368
|
"pass-attrs": e.passAttrs,
|
|
421
369
|
placeholder: e.placeholder,
|
|
422
370
|
"hint-id": e.hintId,
|
|
423
371
|
value: e.value || e.modelValue,
|
|
424
|
-
onClear: t[0] || (t[0] = (
|
|
425
|
-
onInput: t[1] || (t[1] = (
|
|
426
|
-
}), null, 16,
|
|
372
|
+
onClear: t[0] || (t[0] = (s) => l("clear", s.detail)),
|
|
373
|
+
onInput: t[1] || (t[1] = (s) => l("update:modelValue", s.target.value))
|
|
374
|
+
}), null, 16, ee));
|
|
375
|
+
}
|
|
376
|
+
}, te = ["size", "variant"], tt = {
|
|
377
|
+
__name: "BsLoader",
|
|
378
|
+
props: {
|
|
379
|
+
size: {},
|
|
380
|
+
variant: {}
|
|
381
|
+
},
|
|
382
|
+
emits: [],
|
|
383
|
+
setup(e, { emit: l }) {
|
|
384
|
+
return (a, t) => (i(), d("bs-loader", u(a.$attrs, {
|
|
385
|
+
size: e.size,
|
|
386
|
+
variant: e.variant
|
|
387
|
+
}), null, 16, te));
|
|
427
388
|
}
|
|
428
|
-
},
|
|
389
|
+
}, ae = ["shown", "alert", "close-button"], at = {
|
|
429
390
|
__name: "BsModal",
|
|
430
391
|
props: {
|
|
431
392
|
shown: { default: !1 },
|
|
@@ -434,36 +395,78 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
434
395
|
},
|
|
435
396
|
emits: ["close", "leaveend"],
|
|
436
397
|
setup(e, { emit: l }) {
|
|
437
|
-
return (
|
|
438
|
-
default:
|
|
439
|
-
|
|
398
|
+
return (a, t) => (i(), y(m(k), null, {
|
|
399
|
+
default: g(() => [
|
|
400
|
+
w("bs-modal", u(a.$attrs, {
|
|
440
401
|
shown: e.shown,
|
|
441
402
|
alert: e.alert,
|
|
442
403
|
"close-button": e.closeButton,
|
|
443
|
-
onClose: t[0] || (t[0] = (
|
|
444
|
-
onLeaveend: t[1] || (t[1] = (
|
|
404
|
+
onClose: t[0] || (t[0] = (s) => l("close", s.detail)),
|
|
405
|
+
onLeaveend: t[1] || (t[1] = (s) => l("leaveend", s.detail))
|
|
445
406
|
}), [
|
|
446
|
-
|
|
447
|
-
], 16,
|
|
407
|
+
c(a.$slots, "default")
|
|
408
|
+
], 16, ae)
|
|
448
409
|
]),
|
|
449
410
|
_: 3
|
|
450
411
|
}));
|
|
451
412
|
}
|
|
452
|
-
},
|
|
413
|
+
}, se = ["shown"], st = {
|
|
453
414
|
__name: "BsOverlay",
|
|
454
415
|
props: {
|
|
455
416
|
shown: { default: !1 }
|
|
456
417
|
},
|
|
457
418
|
emits: [],
|
|
458
419
|
setup(e, { emit: l }) {
|
|
459
|
-
return (
|
|
460
|
-
default:
|
|
461
|
-
|
|
420
|
+
return (a, t) => (i(), y(m(k), null, {
|
|
421
|
+
default: g(() => [
|
|
422
|
+
w("bs-overlay", u(a.$attrs, { shown: e.shown }), null, 16, se)
|
|
462
423
|
]),
|
|
463
424
|
_: 1
|
|
464
425
|
}));
|
|
465
426
|
}
|
|
466
|
-
},
|
|
427
|
+
}, le = ["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"], lt = {
|
|
428
|
+
__name: "BsPagination",
|
|
429
|
+
props: {
|
|
430
|
+
showFirstLastButtons: { default: !1 },
|
|
431
|
+
prevPageText: {},
|
|
432
|
+
firstPageText: {},
|
|
433
|
+
nextPageText: {},
|
|
434
|
+
lastPageText: {},
|
|
435
|
+
fixed: { default: !1 },
|
|
436
|
+
variant: { default: "base" },
|
|
437
|
+
selection: {},
|
|
438
|
+
centerDisplay: { default: "numbers" },
|
|
439
|
+
breakText: { default: "…" },
|
|
440
|
+
pageRange: { default: 3 },
|
|
441
|
+
pageCount: {},
|
|
442
|
+
centerLabel: {},
|
|
443
|
+
itemsPerGroup: { default: 25 },
|
|
444
|
+
itemsCount: {},
|
|
445
|
+
resultsIncrements: {}
|
|
446
|
+
},
|
|
447
|
+
emits: ["selectionchange"],
|
|
448
|
+
setup(e, { emit: l }) {
|
|
449
|
+
return (a, t) => (i(), d("bs-pagination", u(a.$attrs, {
|
|
450
|
+
"show-first-last-buttons": e.showFirstLastButtons,
|
|
451
|
+
"prev-page-text": e.prevPageText,
|
|
452
|
+
"first-page-text": e.firstPageText,
|
|
453
|
+
"next-page-text": e.nextPageText,
|
|
454
|
+
"last-page-text": e.lastPageText,
|
|
455
|
+
fixed: e.fixed,
|
|
456
|
+
variant: e.variant,
|
|
457
|
+
selection: e.selection,
|
|
458
|
+
"center-display": e.centerDisplay,
|
|
459
|
+
"break-text": e.breakText,
|
|
460
|
+
"page-range": e.pageRange,
|
|
461
|
+
"page-count": e.pageCount,
|
|
462
|
+
"center-label": e.centerLabel,
|
|
463
|
+
"items-per-group": e.itemsPerGroup,
|
|
464
|
+
"items-count": e.itemsCount,
|
|
465
|
+
"results-increments": e.resultsIncrements,
|
|
466
|
+
onSelectionchange: t[0] || (t[0] = (s) => l("selectionchange", s.detail))
|
|
467
|
+
}), null, 16, le));
|
|
468
|
+
}
|
|
469
|
+
}, re = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email"], rt = {
|
|
467
470
|
__name: "BsProfile",
|
|
468
471
|
props: {
|
|
469
472
|
layout: {},
|
|
@@ -479,8 +482,8 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
479
482
|
},
|
|
480
483
|
emits: [],
|
|
481
484
|
setup(e, { emit: l }) {
|
|
482
|
-
const
|
|
483
|
-
return (
|
|
485
|
+
const a = e, { onLinkClick: t } = D(a);
|
|
486
|
+
return (s, n) => (i(), d("bs-profile", u(s.$attrs, {
|
|
484
487
|
layout: e.layout,
|
|
485
488
|
href: e.href,
|
|
486
489
|
"image-src": e.imageSrc,
|
|
@@ -491,9 +494,9 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
491
494
|
"job-title": e.jobTitle,
|
|
492
495
|
email: e.email,
|
|
493
496
|
onClick: n[0] || (n[0] = (...o) => m(t) && m(t)(...o))
|
|
494
|
-
}), null, 16,
|
|
497
|
+
}), null, 16, re));
|
|
495
498
|
}
|
|
496
|
-
},
|
|
499
|
+
}, ne = ["profile-name", "company", "job-title", "email"], nt = {
|
|
497
500
|
__name: "BsProfileDetails",
|
|
498
501
|
props: {
|
|
499
502
|
profileName: {},
|
|
@@ -503,14 +506,14 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
503
506
|
},
|
|
504
507
|
emits: [],
|
|
505
508
|
setup(e, { emit: l }) {
|
|
506
|
-
return (
|
|
509
|
+
return (a, t) => (i(), d("bs-profile-details", u(a.$attrs, {
|
|
507
510
|
"profile-name": e.profileName,
|
|
508
511
|
company: e.company,
|
|
509
512
|
"job-title": e.jobTitle,
|
|
510
513
|
email: e.email
|
|
511
|
-
}), null, 16,
|
|
514
|
+
}), null, 16, ne));
|
|
512
515
|
}
|
|
513
|
-
},
|
|
516
|
+
}, ie = ["src", "size", "initials", "profile-name"], it = {
|
|
514
517
|
__name: "BsProfileImg",
|
|
515
518
|
props: {
|
|
516
519
|
src: {},
|
|
@@ -520,14 +523,14 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
520
523
|
},
|
|
521
524
|
emits: [],
|
|
522
525
|
setup(e, { emit: l }) {
|
|
523
|
-
return (
|
|
526
|
+
return (a, t) => (i(), d("bs-profile-img", u(a.$attrs, {
|
|
524
527
|
src: e.src,
|
|
525
528
|
size: e.size,
|
|
526
529
|
initials: e.initials,
|
|
527
530
|
"profile-name": e.profileName
|
|
528
|
-
}), null, 16,
|
|
531
|
+
}), null, 16, ie));
|
|
529
532
|
}
|
|
530
|
-
},
|
|
533
|
+
}, ue = ["layout", "href", "pass-attrs"], ut = {
|
|
531
534
|
__name: "BsProfileLayout",
|
|
532
535
|
props: {
|
|
533
536
|
layout: { default: "vertical" },
|
|
@@ -537,17 +540,17 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
537
540
|
},
|
|
538
541
|
emits: [],
|
|
539
542
|
setup(e, { emit: l }) {
|
|
540
|
-
const
|
|
541
|
-
return (
|
|
543
|
+
const a = e, { onLinkClick: t } = D(a);
|
|
544
|
+
return (s, n) => (i(), d("bs-profile-layout", u(s.$attrs, {
|
|
542
545
|
layout: e.layout,
|
|
543
546
|
href: e.href,
|
|
544
547
|
"pass-attrs": e.passAttrs,
|
|
545
548
|
onClick: n[0] || (n[0] = (...o) => m(t) && m(t)(...o))
|
|
546
549
|
}), [
|
|
547
|
-
|
|
548
|
-
], 16,
|
|
550
|
+
c(s.$slots, "default")
|
|
551
|
+
], 16, ue));
|
|
549
552
|
}
|
|
550
|
-
},
|
|
553
|
+
}, de = ["label", "checked", "disabled", "error", "pass-attrs", "required", "size", "value"], dt = {
|
|
551
554
|
__name: "BsRadio",
|
|
552
555
|
props: {
|
|
553
556
|
label: {},
|
|
@@ -562,7 +565,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
562
565
|
},
|
|
563
566
|
emits: ["update:modelValue"],
|
|
564
567
|
setup(e, { emit: l }) {
|
|
565
|
-
return (
|
|
568
|
+
return (a, t) => (i(), d("bs-radio", u(a.$attrs, {
|
|
566
569
|
label: e.label,
|
|
567
570
|
checked: e.checked || e.modelValue === e.value,
|
|
568
571
|
disabled: e.disabled,
|
|
@@ -571,10 +574,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
571
574
|
required: e.required,
|
|
572
575
|
size: e.size,
|
|
573
576
|
value: e.value,
|
|
574
|
-
onChange: t[0] || (t[0] = (
|
|
575
|
-
}), null, 16,
|
|
577
|
+
onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
|
|
578
|
+
}), null, 16, de));
|
|
576
579
|
}
|
|
577
|
-
},
|
|
580
|
+
}, oe = ["disabled", "error", "required", "label", "hints", "placeholder", "value", "pass-attrs", "data"], ot = {
|
|
578
581
|
__name: "BsSelectField",
|
|
579
582
|
props: {
|
|
580
583
|
disabled: { default: !1 },
|
|
@@ -590,7 +593,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
590
593
|
},
|
|
591
594
|
emits: ["update:modelValue"],
|
|
592
595
|
setup(e, { emit: l }) {
|
|
593
|
-
return (
|
|
596
|
+
return (a, t) => (i(), d("bs-select-field", u(a.$attrs, {
|
|
594
597
|
disabled: e.disabled,
|
|
595
598
|
error: e.error,
|
|
596
599
|
required: e.required,
|
|
@@ -600,10 +603,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
600
603
|
value: e.value || e.modelValue,
|
|
601
604
|
"pass-attrs": e.passAttrs,
|
|
602
605
|
data: e.data,
|
|
603
|
-
onChange: t[0] || (t[0] = (
|
|
604
|
-
}), null, 16,
|
|
606
|
+
onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
|
|
607
|
+
}), null, 16, oe));
|
|
605
608
|
}
|
|
606
|
-
},
|
|
609
|
+
}, ce = ["checked", "disabled", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], ct = {
|
|
607
610
|
__name: "BsSwitch",
|
|
608
611
|
props: {
|
|
609
612
|
checked: { default: !1 },
|
|
@@ -617,7 +620,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
617
620
|
},
|
|
618
621
|
emits: ["update:modelValue"],
|
|
619
622
|
setup(e, { emit: l }) {
|
|
620
|
-
return (
|
|
623
|
+
return (a, t) => (i(), d("bs-switch", u(a.$attrs, {
|
|
621
624
|
checked: e.checked || e.modelValue,
|
|
622
625
|
disabled: e.disabled,
|
|
623
626
|
"inner-on-label": e.innerOnLabel,
|
|
@@ -625,10 +628,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
625
628
|
label: e.label,
|
|
626
629
|
"pass-attrs": e.passAttrs,
|
|
627
630
|
size: e.size,
|
|
628
|
-
onChange: t[0] || (t[0] = (
|
|
629
|
-
}), null, 16,
|
|
631
|
+
onChange: t[0] || (t[0] = (s) => l("update:modelValue", s.target.checked))
|
|
632
|
+
}), null, 16, ce));
|
|
630
633
|
}
|
|
631
|
-
},
|
|
634
|
+
}, fe = ["disabled", "error", "pass-attrs", "placeholder", "required", "value", "hint-id"], ft = {
|
|
632
635
|
__name: "BsTextarea",
|
|
633
636
|
props: {
|
|
634
637
|
disabled: { default: !1 },
|
|
@@ -642,7 +645,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
642
645
|
},
|
|
643
646
|
emits: ["update:modelValue"],
|
|
644
647
|
setup(e, { emit: l }) {
|
|
645
|
-
return (
|
|
648
|
+
return (a, t) => (i(), d("bs-textarea", u(a.$attrs, {
|
|
646
649
|
disabled: e.disabled,
|
|
647
650
|
error: e.error,
|
|
648
651
|
"pass-attrs": e.passAttrs,
|
|
@@ -650,10 +653,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
650
653
|
required: e.required,
|
|
651
654
|
value: e.value || e.modelValue,
|
|
652
655
|
"hint-id": e.hintId,
|
|
653
|
-
onInput: t[0] || (t[0] = (
|
|
654
|
-
}), null, 16,
|
|
656
|
+
onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
|
|
657
|
+
}), null, 16, fe));
|
|
655
658
|
}
|
|
656
|
-
},
|
|
659
|
+
}, me = ["char-max", "disabled", "error", "hints", "label", "placeholder", "required", "value", "pass-attrs"], mt = {
|
|
657
660
|
__name: "BsTextareaField",
|
|
658
661
|
props: {
|
|
659
662
|
charMax: {},
|
|
@@ -669,7 +672,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
669
672
|
},
|
|
670
673
|
emits: ["update:modelValue"],
|
|
671
674
|
setup(e, { emit: l }) {
|
|
672
|
-
return (
|
|
675
|
+
return (a, t) => (i(), d("bs-textarea-field", u(a.$attrs, {
|
|
673
676
|
"char-max": e.charMax,
|
|
674
677
|
disabled: e.disabled,
|
|
675
678
|
error: e.error,
|
|
@@ -679,10 +682,10 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
679
682
|
required: e.required,
|
|
680
683
|
value: e.value || e.modelValue,
|
|
681
684
|
"pass-attrs": e.passAttrs,
|
|
682
|
-
onInput: t[0] || (t[0] = (
|
|
683
|
-
}), null, 16,
|
|
685
|
+
onInput: t[0] || (t[0] = (s) => l("update:modelValue", s.target.value))
|
|
686
|
+
}), null, 16, me));
|
|
684
687
|
}
|
|
685
|
-
},
|
|
688
|
+
}, he = ["toast-id", "shown", "variant", "stacked", "duration"], ht = {
|
|
686
689
|
__name: "BsToast",
|
|
687
690
|
props: {
|
|
688
691
|
toastId: {},
|
|
@@ -693,35 +696,58 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
693
696
|
},
|
|
694
697
|
emits: ["dismiss"],
|
|
695
698
|
setup(e, { emit: l }) {
|
|
696
|
-
return (
|
|
699
|
+
return (a, t) => (i(), d("bs-toast", u(a.$attrs, {
|
|
697
700
|
"toast-id": e.toastId,
|
|
698
701
|
shown: e.shown,
|
|
699
702
|
variant: e.variant,
|
|
700
703
|
stacked: e.stacked,
|
|
701
704
|
duration: e.duration,
|
|
702
|
-
onDismiss: t[0] || (t[0] = (
|
|
705
|
+
onDismiss: t[0] || (t[0] = (s) => l("dismiss", s.detail))
|
|
703
706
|
}), [
|
|
704
|
-
|
|
705
|
-
], 16,
|
|
707
|
+
c(a.$slots, "default")
|
|
708
|
+
], 16, he));
|
|
706
709
|
}
|
|
707
|
-
},
|
|
708
|
-
__name: "
|
|
710
|
+
}, bt = {
|
|
711
|
+
__name: "BsToastActions",
|
|
712
|
+
props: {},
|
|
713
|
+
emits: ["defaultDismiss"],
|
|
714
|
+
setup(e, { emit: l }) {
|
|
715
|
+
return (a, t) => (i(), d("bs-toast-actions", u(a.$attrs, {
|
|
716
|
+
"on:defaultDismiss": t[0] || (t[0] = (s) => l("defaultDismiss", s.detail))
|
|
717
|
+
}), [
|
|
718
|
+
c(a.$slots, "default")
|
|
719
|
+
], 16));
|
|
720
|
+
}
|
|
721
|
+
}, vt = {
|
|
722
|
+
__name: "BsToastBody",
|
|
723
|
+
props: {},
|
|
724
|
+
emits: [],
|
|
725
|
+
setup(e, { emit: l }) {
|
|
726
|
+
return (a, t) => (i(), d("bs-toast-body", E(F(a.$attrs)), [
|
|
727
|
+
c(a.$slots, "default")
|
|
728
|
+
], 16));
|
|
729
|
+
}
|
|
730
|
+
}, be = ["variant"], $t = {
|
|
731
|
+
__name: "BsToastHeader",
|
|
709
732
|
props: {
|
|
710
|
-
|
|
711
|
-
content: {},
|
|
712
|
-
position: {}
|
|
733
|
+
variant: {}
|
|
713
734
|
},
|
|
714
735
|
emits: [],
|
|
715
736
|
setup(e, { emit: l }) {
|
|
716
|
-
return (
|
|
717
|
-
"
|
|
718
|
-
|
|
719
|
-
position: e.position
|
|
720
|
-
}), [
|
|
721
|
-
h(s.$slots, "default")
|
|
722
|
-
], 16, xe));
|
|
737
|
+
return (a, t) => (i(), d("bs-toast-header", u(a.$attrs, { variant: e.variant }), [
|
|
738
|
+
c(a.$slots, "default")
|
|
739
|
+
], 16, be));
|
|
723
740
|
}
|
|
724
|
-
},
|
|
741
|
+
}, yt = {
|
|
742
|
+
__name: "BsToaster",
|
|
743
|
+
props: {},
|
|
744
|
+
emits: [],
|
|
745
|
+
setup(e, { emit: l }) {
|
|
746
|
+
return (a, t) => (i(), d("bs-toaster", E(F(a.$attrs)), [
|
|
747
|
+
c(a.$slots, "default")
|
|
748
|
+
], 16));
|
|
749
|
+
}
|
|
750
|
+
}, ve = ["active", "enter-class", "enter-attribute", "enter-duration", "leave-class", "leave-attribute", "leave-duration"], gt = {
|
|
725
751
|
__name: "BsTransition",
|
|
726
752
|
props: {
|
|
727
753
|
active: {},
|
|
@@ -734,7 +760,7 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
734
760
|
},
|
|
735
761
|
emits: ["enterstart", "enterend", "leavestart", "leaveend"],
|
|
736
762
|
setup(e, { emit: l }) {
|
|
737
|
-
return (
|
|
763
|
+
return (a, t) => (i(), d("bs-transition", u(a.$attrs, {
|
|
738
764
|
active: e.active,
|
|
739
765
|
"enter-class": e.enterClass,
|
|
740
766
|
"enter-attribute": e.enterAttribute,
|
|
@@ -742,19 +768,19 @@ const be = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-posit
|
|
|
742
768
|
"leave-class": e.leaveClass,
|
|
743
769
|
"leave-attribute": e.leaveAttribute,
|
|
744
770
|
"leave-duration": e.leaveDuration,
|
|
745
|
-
onEnterstart: t[0] || (t[0] = (
|
|
746
|
-
onEnterend: t[1] || (t[1] = (
|
|
747
|
-
onLeavestart: t[2] || (t[2] = (
|
|
748
|
-
onLeaveend: t[3] || (t[3] = (
|
|
771
|
+
onEnterstart: t[0] || (t[0] = (s) => l("enterstart", s.detail)),
|
|
772
|
+
onEnterend: t[1] || (t[1] = (s) => l("enterend", s.detail)),
|
|
773
|
+
onLeavestart: t[2] || (t[2] = (s) => l("leavestart", s.detail)),
|
|
774
|
+
onLeaveend: t[3] || (t[3] = (s) => l("leaveend", s.detail))
|
|
749
775
|
}), [
|
|
750
|
-
|
|
751
|
-
], 16,
|
|
776
|
+
c(a.$slots, "default")
|
|
777
|
+
], 16, ve));
|
|
752
778
|
}
|
|
753
779
|
};
|
|
754
|
-
function
|
|
780
|
+
function R(e) {
|
|
755
781
|
e.value.replaceChildren();
|
|
756
782
|
}
|
|
757
|
-
const
|
|
783
|
+
const $e = ["controlled", "icon", "header-text", "heading-level", "open-item", "stacked"], ye = {
|
|
758
784
|
__name: "BsAccordionServer",
|
|
759
785
|
props: {
|
|
760
786
|
controlled: { default: !1 },
|
|
@@ -766,29 +792,29 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
766
792
|
},
|
|
767
793
|
emits: ["toggled"],
|
|
768
794
|
setup(e, { emit: l }) {
|
|
769
|
-
const
|
|
770
|
-
var
|
|
771
|
-
t.value || v >= 4 || (t.value = (
|
|
795
|
+
const a = h(!1), t = h(null), s = h(""), n = p([]), o = h(null), b = h(!1), $ = (r, v = 0) => {
|
|
796
|
+
var f, B;
|
|
797
|
+
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 || n.push(setTimeout(() => $(r, v + 1), 50)));
|
|
772
798
|
};
|
|
773
|
-
return
|
|
774
|
-
!r ||
|
|
775
|
-
|
|
776
|
-
|
|
799
|
+
return S(() => b.value = !0), T(() => $(o, 0)), C(t, (r) => {
|
|
800
|
+
!r || a.value || (R(t), n.push(setTimeout(() => {
|
|
801
|
+
I(() => {
|
|
802
|
+
s.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
|
|
777
803
|
});
|
|
778
|
-
}, 100)),
|
|
779
|
-
}, { immediate: !0 }),
|
|
780
|
-
t.value &&
|
|
781
|
-
default:
|
|
782
|
-
(i(), y(
|
|
783
|
-
|
|
804
|
+
}, 100)), a.value = !0);
|
|
805
|
+
}, { immediate: !0 }), q(() => n.forEach((r) => clearTimeout(r))), (r, v) => (i(), d(A, null, [
|
|
806
|
+
t.value && b.value ? (i(), y(m(k), { key: 0 }, {
|
|
807
|
+
default: g(() => [
|
|
808
|
+
(i(), y(L, { to: t.value }, [
|
|
809
|
+
c(r.$slots, "default")
|
|
784
810
|
], 8, ["to"]))
|
|
785
811
|
]),
|
|
786
812
|
_: 3
|
|
787
|
-
})) :
|
|
788
|
-
|
|
813
|
+
})) : x("", !0),
|
|
814
|
+
w("bs-accordion", u({
|
|
789
815
|
ref_key: "wcRef",
|
|
790
816
|
ref: o,
|
|
791
|
-
class:
|
|
817
|
+
class: s.value,
|
|
792
818
|
"data-bsds-ssr": "",
|
|
793
819
|
controlled: e.controlled,
|
|
794
820
|
icon: e.icon,
|
|
@@ -796,21 +822,21 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
796
822
|
"heading-level": e.headingLevel,
|
|
797
823
|
"open-item": e.openItem,
|
|
798
824
|
stacked: e.stacked,
|
|
799
|
-
onToggled: v[0] || (v[0] = (
|
|
825
|
+
onToggled: v[0] || (v[0] = (f) => l("toggled", f.detail))
|
|
800
826
|
}, r.$attrs), [
|
|
801
|
-
|
|
802
|
-
|
|
827
|
+
V(m(k), null, z({ _: 2 }, [
|
|
828
|
+
b.value ? void 0 : {
|
|
803
829
|
name: "fallback",
|
|
804
|
-
fn:
|
|
805
|
-
|
|
830
|
+
fn: g(() => [
|
|
831
|
+
c(r.$slots, "default")
|
|
806
832
|
]),
|
|
807
833
|
key: "0"
|
|
808
834
|
}
|
|
809
835
|
]), 1024)
|
|
810
|
-
], 16,
|
|
836
|
+
], 16, $e)
|
|
811
837
|
], 64));
|
|
812
838
|
}
|
|
813
|
-
},
|
|
839
|
+
}, ge = "bs-accordion", Bt = {
|
|
814
840
|
__name: "BsAccordion",
|
|
815
841
|
props: {
|
|
816
842
|
controlled: { default: !1 },
|
|
@@ -823,61 +849,61 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
823
849
|
},
|
|
824
850
|
emits: ["toggled"],
|
|
825
851
|
setup(e, { emit: l }) {
|
|
826
|
-
const
|
|
852
|
+
const a = e, { data: t } = P(ge, () => {
|
|
827
853
|
if (process.server)
|
|
828
854
|
return !0;
|
|
829
855
|
});
|
|
830
|
-
return (
|
|
856
|
+
return (s, n) => m(t) ? (i(), y(ye, u({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
831
857
|
style: { display: e.bsShow ? null : "none" },
|
|
832
858
|
onToggled: n[0] || (n[0] = (o) => l("toggled", o))
|
|
833
859
|
}), {
|
|
834
|
-
default:
|
|
835
|
-
|
|
860
|
+
default: g(() => [
|
|
861
|
+
c(s.$slots, "default")
|
|
836
862
|
]),
|
|
837
863
|
_: 3
|
|
838
|
-
}, 16, ["style"])) : (i(),
|
|
864
|
+
}, 16, ["style"])) : (i(), d("bs-accordion", u({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
839
865
|
style: { display: e.bsShow ? null : "none" },
|
|
840
866
|
onToggled: n[1] || (n[1] = (o) => l("toggled", o.detail))
|
|
841
867
|
}), [
|
|
842
|
-
|
|
868
|
+
c(s.$slots, "default")
|
|
843
869
|
], 16));
|
|
844
870
|
}
|
|
845
|
-
},
|
|
871
|
+
}, Be = {
|
|
846
872
|
__name: "BsBannerServer",
|
|
847
873
|
props: {},
|
|
848
874
|
emits: ["dismiss"],
|
|
849
875
|
setup(e, { emit: l }) {
|
|
850
|
-
const
|
|
851
|
-
var
|
|
852
|
-
t.value || v >= 4 || (t.value = (
|
|
876
|
+
const a = h(!1), t = h(null), s = h(""), n = p([]), o = h(null), b = h(!1), $ = (r, v = 0) => {
|
|
877
|
+
var f, B;
|
|
878
|
+
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 || n.push(setTimeout(() => $(r, v + 1), 50)));
|
|
853
879
|
};
|
|
854
|
-
return
|
|
855
|
-
!r ||
|
|
856
|
-
|
|
857
|
-
|
|
880
|
+
return S(() => b.value = !0), T(() => $(o, 0)), C(t, (r) => {
|
|
881
|
+
!r || a.value || (R(t), n.push(setTimeout(() => {
|
|
882
|
+
I(() => {
|
|
883
|
+
s.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
|
|
858
884
|
});
|
|
859
|
-
}, 100)),
|
|
860
|
-
}, { immediate: !0 }),
|
|
861
|
-
t.value &&
|
|
862
|
-
default:
|
|
863
|
-
(i(), y(
|
|
864
|
-
|
|
885
|
+
}, 100)), a.value = !0);
|
|
886
|
+
}, { immediate: !0 }), q(() => n.forEach((r) => clearTimeout(r))), (r, v) => (i(), d(A, null, [
|
|
887
|
+
t.value && b.value ? (i(), y(m(k), { key: 0 }, {
|
|
888
|
+
default: g(() => [
|
|
889
|
+
(i(), y(L, { to: t.value }, [
|
|
890
|
+
c(r.$slots, "default")
|
|
865
891
|
], 8, ["to"]))
|
|
866
892
|
]),
|
|
867
893
|
_: 3
|
|
868
|
-
})) :
|
|
869
|
-
|
|
894
|
+
})) : x("", !0),
|
|
895
|
+
w("bs-banner", u({
|
|
870
896
|
ref_key: "wcRef",
|
|
871
897
|
ref: o,
|
|
872
|
-
class:
|
|
898
|
+
class: s.value,
|
|
873
899
|
"data-bsds-ssr": "",
|
|
874
|
-
onDismiss: v[0] || (v[0] = (
|
|
900
|
+
onDismiss: v[0] || (v[0] = (f) => l("dismiss", f.detail))
|
|
875
901
|
}, r.$attrs), [
|
|
876
|
-
|
|
877
|
-
|
|
902
|
+
V(m(k), null, z({ _: 2 }, [
|
|
903
|
+
b.value ? void 0 : {
|
|
878
904
|
name: "fallback",
|
|
879
|
-
fn:
|
|
880
|
-
|
|
905
|
+
fn: g(() => [
|
|
906
|
+
c(r.$slots, "default")
|
|
881
907
|
]),
|
|
882
908
|
key: "0"
|
|
883
909
|
}
|
|
@@ -885,33 +911,33 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
885
911
|
], 16)
|
|
886
912
|
], 64));
|
|
887
913
|
}
|
|
888
|
-
},
|
|
914
|
+
}, ke = "bs-banner", kt = {
|
|
889
915
|
__name: "BsBanner",
|
|
890
916
|
props: {
|
|
891
917
|
bsShow: { default: !0 }
|
|
892
918
|
},
|
|
893
919
|
emits: ["dismiss"],
|
|
894
920
|
setup(e, { emit: l }) {
|
|
895
|
-
const
|
|
921
|
+
const a = e, { data: t } = P(ke, () => {
|
|
896
922
|
if (process.server)
|
|
897
923
|
return !0;
|
|
898
924
|
});
|
|
899
|
-
return (
|
|
925
|
+
return (s, n) => m(t) ? (i(), y(Be, u({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
900
926
|
style: { display: e.bsShow ? null : "none" },
|
|
901
927
|
onDismiss: n[0] || (n[0] = (o) => l("dismiss", o))
|
|
902
928
|
}), {
|
|
903
|
-
default:
|
|
904
|
-
|
|
929
|
+
default: g(() => [
|
|
930
|
+
c(s.$slots, "default")
|
|
905
931
|
]),
|
|
906
932
|
_: 3
|
|
907
|
-
}, 16, ["style"])) : (i(),
|
|
933
|
+
}, 16, ["style"])) : (i(), d("bs-banner", u({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
908
934
|
style: { display: e.bsShow ? null : "none" },
|
|
909
935
|
onDismiss: n[1] || (n[1] = (o) => l("dismiss", o.detail))
|
|
910
936
|
}), [
|
|
911
|
-
|
|
937
|
+
c(s.$slots, "default")
|
|
912
938
|
], 16));
|
|
913
939
|
}
|
|
914
|
-
},
|
|
940
|
+
}, we = ["variant", "disabled", "ghost-btn", "href", "pass-attrs", "text-btn", "size"], pe = {
|
|
915
941
|
__name: "BsButtonServer",
|
|
916
942
|
props: {
|
|
917
943
|
variant: {},
|
|
@@ -924,29 +950,29 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
924
950
|
},
|
|
925
951
|
emits: [],
|
|
926
952
|
setup(e, { emit: l }) {
|
|
927
|
-
const
|
|
928
|
-
var
|
|
929
|
-
t.value || v >= 4 || (t.value = (
|
|
953
|
+
const a = h(!1), t = h(null), s = h(""), n = p([]), o = h(null), b = h(!1), $ = (r, v = 0) => {
|
|
954
|
+
var f, B;
|
|
955
|
+
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 || n.push(setTimeout(() => $(r, v + 1), 50)));
|
|
930
956
|
};
|
|
931
|
-
return
|
|
932
|
-
!r ||
|
|
933
|
-
|
|
934
|
-
|
|
957
|
+
return S(() => b.value = !0), T(() => $(o, 0)), C(t, (r) => {
|
|
958
|
+
!r || a.value || (R(t), n.push(setTimeout(() => {
|
|
959
|
+
I(() => {
|
|
960
|
+
s.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated";
|
|
935
961
|
});
|
|
936
|
-
}, 100)),
|
|
937
|
-
}, { immediate: !0 }),
|
|
938
|
-
t.value &&
|
|
939
|
-
default:
|
|
940
|
-
(i(), y(
|
|
941
|
-
|
|
962
|
+
}, 100)), a.value = !0);
|
|
963
|
+
}, { immediate: !0 }), q(() => n.forEach((r) => clearTimeout(r))), (r, v) => (i(), d(A, null, [
|
|
964
|
+
t.value && b.value ? (i(), y(m(k), { key: 0 }, {
|
|
965
|
+
default: g(() => [
|
|
966
|
+
(i(), y(L, { to: t.value }, [
|
|
967
|
+
c(r.$slots, "default")
|
|
942
968
|
], 8, ["to"]))
|
|
943
969
|
]),
|
|
944
970
|
_: 3
|
|
945
|
-
})) :
|
|
946
|
-
|
|
971
|
+
})) : x("", !0),
|
|
972
|
+
w("bs-button", u({
|
|
947
973
|
ref_key: "wcRef",
|
|
948
974
|
ref: o,
|
|
949
|
-
class:
|
|
975
|
+
class: s.value,
|
|
950
976
|
"data-bsds-ssr": "",
|
|
951
977
|
variant: e.variant,
|
|
952
978
|
disabled: e.disabled,
|
|
@@ -956,19 +982,19 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
956
982
|
"text-btn": e.textBtn,
|
|
957
983
|
size: e.size
|
|
958
984
|
}, r.$attrs), [
|
|
959
|
-
|
|
960
|
-
|
|
985
|
+
V(m(k), null, z({ _: 2 }, [
|
|
986
|
+
b.value ? void 0 : {
|
|
961
987
|
name: "fallback",
|
|
962
|
-
fn:
|
|
963
|
-
|
|
988
|
+
fn: g(() => [
|
|
989
|
+
c(r.$slots, "default")
|
|
964
990
|
]),
|
|
965
991
|
key: "0"
|
|
966
992
|
}
|
|
967
993
|
]), 1024)
|
|
968
|
-
], 16,
|
|
994
|
+
], 16, we)
|
|
969
995
|
], 64));
|
|
970
996
|
}
|
|
971
|
-
},
|
|
997
|
+
}, Se = "bs-button", wt = {
|
|
972
998
|
__name: "BsButton",
|
|
973
999
|
props: {
|
|
974
1000
|
variant: {},
|
|
@@ -983,26 +1009,26 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
983
1009
|
},
|
|
984
1010
|
emits: [],
|
|
985
1011
|
setup(e, { emit: l }) {
|
|
986
|
-
const
|
|
1012
|
+
const a = e, { onLinkClick: t } = D(a), { data: s } = P(Se, () => {
|
|
987
1013
|
if (process.server)
|
|
988
1014
|
return !0;
|
|
989
1015
|
});
|
|
990
|
-
return (n, o) => m(
|
|
1016
|
+
return (n, o) => m(s) ? (i(), y(pe, u({ key: 0 }, { ...a, ...n.$attrs, router: void 0 }, {
|
|
991
1017
|
style: { display: e.bsShow ? null : "none" },
|
|
992
1018
|
onClick: m(t)
|
|
993
1019
|
}), {
|
|
994
|
-
default:
|
|
995
|
-
|
|
1020
|
+
default: g(() => [
|
|
1021
|
+
c(n.$slots, "default")
|
|
996
1022
|
]),
|
|
997
1023
|
_: 3
|
|
998
|
-
}, 16, ["style", "onClick"])) : (i(),
|
|
1024
|
+
}, 16, ["style", "onClick"])) : (i(), d("bs-button", u({ key: 1 }, { ...a, ...n.$attrs, router: void 0 }, {
|
|
999
1025
|
style: { display: e.bsShow ? null : "none" },
|
|
1000
|
-
onClick: o[0] || (o[0] = (...
|
|
1026
|
+
onClick: o[0] || (o[0] = (...b) => m(t) && m(t)(...b))
|
|
1001
1027
|
}), [
|
|
1002
|
-
|
|
1028
|
+
c(n.$slots, "default")
|
|
1003
1029
|
], 16));
|
|
1004
1030
|
}
|
|
1005
|
-
},
|
|
1031
|
+
}, Te = ["disabled", "for", "hide", "pass-attrs", "required"], Ce = {
|
|
1006
1032
|
__name: "BsLabelServer",
|
|
1007
1033
|
props: {
|
|
1008
1034
|
disabled: {},
|
|
@@ -1013,29 +1039,29 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1013
1039
|
},
|
|
1014
1040
|
emits: [],
|
|
1015
1041
|
setup(e, { emit: l }) {
|
|
1016
|
-
const
|
|
1017
|
-
var
|
|
1018
|
-
t.value || v >= 4 || (t.value = (
|
|
1042
|
+
const a = h(!1), t = h(null), s = h(""), n = p([]), o = h(null), b = h(!1), $ = (r, v = 0) => {
|
|
1043
|
+
var f, B;
|
|
1044
|
+
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 || n.push(setTimeout(() => $(r, v + 1), 50)));
|
|
1019
1045
|
};
|
|
1020
|
-
return
|
|
1021
|
-
!r ||
|
|
1022
|
-
|
|
1023
|
-
|
|
1046
|
+
return S(() => b.value = !0), T(() => $(o, 0)), C(t, (r) => {
|
|
1047
|
+
!r || a.value || (R(t), n.push(setTimeout(() => {
|
|
1048
|
+
I(() => {
|
|
1049
|
+
s.value = customElements.get("bs-label") ? "hydrated superhydrated" : "superhydrated";
|
|
1024
1050
|
});
|
|
1025
|
-
}, 100)),
|
|
1026
|
-
}, { immediate: !0 }),
|
|
1027
|
-
t.value &&
|
|
1028
|
-
default:
|
|
1029
|
-
(i(), y(
|
|
1030
|
-
|
|
1051
|
+
}, 100)), a.value = !0);
|
|
1052
|
+
}, { immediate: !0 }), q(() => n.forEach((r) => clearTimeout(r))), (r, v) => (i(), d(A, null, [
|
|
1053
|
+
t.value && b.value ? (i(), y(m(k), { key: 0 }, {
|
|
1054
|
+
default: g(() => [
|
|
1055
|
+
(i(), y(L, { to: t.value }, [
|
|
1056
|
+
c(r.$slots, "default")
|
|
1031
1057
|
], 8, ["to"]))
|
|
1032
1058
|
]),
|
|
1033
1059
|
_: 3
|
|
1034
|
-
})) :
|
|
1035
|
-
|
|
1060
|
+
})) : x("", !0),
|
|
1061
|
+
w("bs-label", u({
|
|
1036
1062
|
ref_key: "wcRef",
|
|
1037
1063
|
ref: o,
|
|
1038
|
-
class:
|
|
1064
|
+
class: s.value,
|
|
1039
1065
|
"data-bsds-ssr": "",
|
|
1040
1066
|
disabled: e.disabled,
|
|
1041
1067
|
for: e.for,
|
|
@@ -1043,19 +1069,19 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1043
1069
|
"pass-attrs": e.passAttrs,
|
|
1044
1070
|
required: e.required
|
|
1045
1071
|
}, r.$attrs), [
|
|
1046
|
-
|
|
1047
|
-
|
|
1072
|
+
V(m(k), null, z({ _: 2 }, [
|
|
1073
|
+
b.value ? void 0 : {
|
|
1048
1074
|
name: "fallback",
|
|
1049
|
-
fn:
|
|
1050
|
-
|
|
1075
|
+
fn: g(() => [
|
|
1076
|
+
c(r.$slots, "default")
|
|
1051
1077
|
]),
|
|
1052
1078
|
key: "0"
|
|
1053
1079
|
}
|
|
1054
1080
|
]), 1024)
|
|
1055
|
-
], 16,
|
|
1081
|
+
], 16, Te)
|
|
1056
1082
|
], 64));
|
|
1057
1083
|
}
|
|
1058
|
-
},
|
|
1084
|
+
}, Ie = "bs-label", pt = {
|
|
1059
1085
|
__name: "BsLabel",
|
|
1060
1086
|
props: {
|
|
1061
1087
|
disabled: {},
|
|
@@ -1067,24 +1093,24 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1067
1093
|
},
|
|
1068
1094
|
emits: [],
|
|
1069
1095
|
setup(e, { emit: l }) {
|
|
1070
|
-
const
|
|
1096
|
+
const a = e, { data: t } = P(Ie, () => {
|
|
1071
1097
|
if (process.server)
|
|
1072
1098
|
return !0;
|
|
1073
1099
|
});
|
|
1074
|
-
return (
|
|
1100
|
+
return (s, n) => m(t) ? (i(), y(Ce, u({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
1075
1101
|
style: { display: e.bsShow ? null : "none" }
|
|
1076
1102
|
}), {
|
|
1077
|
-
default:
|
|
1078
|
-
|
|
1103
|
+
default: g(() => [
|
|
1104
|
+
c(s.$slots, "default")
|
|
1079
1105
|
]),
|
|
1080
1106
|
_: 3
|
|
1081
|
-
}, 16, ["style"])) : (i(),
|
|
1107
|
+
}, 16, ["style"])) : (i(), d("bs-label", u({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
1082
1108
|
style: { display: e.bsShow ? null : "none" }
|
|
1083
1109
|
}), [
|
|
1084
|
-
|
|
1110
|
+
c(s.$slots, "default")
|
|
1085
1111
|
], 16));
|
|
1086
1112
|
}
|
|
1087
|
-
},
|
|
1113
|
+
}, qe = ["variant", "status", "href", "active", "disabled", "pass-attrs"], Ae = {
|
|
1088
1114
|
__name: "BsPillServer",
|
|
1089
1115
|
props: {
|
|
1090
1116
|
variant: {},
|
|
@@ -1096,29 +1122,29 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1096
1122
|
},
|
|
1097
1123
|
emits: [],
|
|
1098
1124
|
setup(e, { emit: l }) {
|
|
1099
|
-
const
|
|
1100
|
-
var
|
|
1101
|
-
t.value || v >= 4 || (t.value = (
|
|
1125
|
+
const a = h(!1), t = h(null), s = h(""), n = p([]), o = h(null), b = h(!1), $ = (r, v = 0) => {
|
|
1126
|
+
var f, B;
|
|
1127
|
+
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 || n.push(setTimeout(() => $(r, v + 1), 50)));
|
|
1102
1128
|
};
|
|
1103
|
-
return
|
|
1104
|
-
!r ||
|
|
1105
|
-
|
|
1106
|
-
|
|
1129
|
+
return S(() => b.value = !0), T(() => $(o, 0)), C(t, (r) => {
|
|
1130
|
+
!r || a.value || (R(t), n.push(setTimeout(() => {
|
|
1131
|
+
I(() => {
|
|
1132
|
+
s.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
|
|
1107
1133
|
});
|
|
1108
|
-
}, 100)),
|
|
1109
|
-
}, { immediate: !0 }),
|
|
1110
|
-
t.value &&
|
|
1111
|
-
default:
|
|
1112
|
-
(i(), y(
|
|
1113
|
-
|
|
1134
|
+
}, 100)), a.value = !0);
|
|
1135
|
+
}, { immediate: !0 }), q(() => n.forEach((r) => clearTimeout(r))), (r, v) => (i(), d(A, null, [
|
|
1136
|
+
t.value && b.value ? (i(), y(m(k), { key: 0 }, {
|
|
1137
|
+
default: g(() => [
|
|
1138
|
+
(i(), y(L, { to: t.value }, [
|
|
1139
|
+
c(r.$slots, "default")
|
|
1114
1140
|
], 8, ["to"]))
|
|
1115
1141
|
]),
|
|
1116
1142
|
_: 3
|
|
1117
|
-
})) :
|
|
1118
|
-
|
|
1143
|
+
})) : x("", !0),
|
|
1144
|
+
w("bs-pill", u({
|
|
1119
1145
|
ref_key: "wcRef",
|
|
1120
1146
|
ref: o,
|
|
1121
|
-
class:
|
|
1147
|
+
class: s.value,
|
|
1122
1148
|
"data-bsds-ssr": "",
|
|
1123
1149
|
variant: e.variant,
|
|
1124
1150
|
status: e.status,
|
|
@@ -1127,19 +1153,19 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1127
1153
|
disabled: e.disabled,
|
|
1128
1154
|
"pass-attrs": e.passAttrs
|
|
1129
1155
|
}, r.$attrs), [
|
|
1130
|
-
|
|
1131
|
-
|
|
1156
|
+
V(m(k), null, z({ _: 2 }, [
|
|
1157
|
+
b.value ? void 0 : {
|
|
1132
1158
|
name: "fallback",
|
|
1133
|
-
fn:
|
|
1134
|
-
|
|
1159
|
+
fn: g(() => [
|
|
1160
|
+
c(r.$slots, "default")
|
|
1135
1161
|
]),
|
|
1136
1162
|
key: "0"
|
|
1137
1163
|
}
|
|
1138
1164
|
]), 1024)
|
|
1139
|
-
], 16,
|
|
1165
|
+
], 16, qe)
|
|
1140
1166
|
], 64));
|
|
1141
1167
|
}
|
|
1142
|
-
},
|
|
1168
|
+
}, Le = "bs-pill", St = {
|
|
1143
1169
|
__name: "BsPill",
|
|
1144
1170
|
props: {
|
|
1145
1171
|
variant: {},
|
|
@@ -1153,26 +1179,26 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1153
1179
|
},
|
|
1154
1180
|
emits: [],
|
|
1155
1181
|
setup(e, { emit: l }) {
|
|
1156
|
-
const
|
|
1182
|
+
const a = e, { onLinkClick: t } = D(a), { data: s } = P(Le, () => {
|
|
1157
1183
|
if (process.server)
|
|
1158
1184
|
return !0;
|
|
1159
1185
|
});
|
|
1160
|
-
return (n, o) => m(
|
|
1186
|
+
return (n, o) => m(s) ? (i(), y(Ae, u({ key: 0 }, { ...a, ...n.$attrs, router: void 0 }, {
|
|
1161
1187
|
style: { display: e.bsShow ? null : "none" },
|
|
1162
1188
|
onClick: m(t)
|
|
1163
1189
|
}), {
|
|
1164
|
-
default:
|
|
1165
|
-
|
|
1190
|
+
default: g(() => [
|
|
1191
|
+
c(n.$slots, "default")
|
|
1166
1192
|
]),
|
|
1167
1193
|
_: 3
|
|
1168
|
-
}, 16, ["style", "onClick"])) : (i(),
|
|
1194
|
+
}, 16, ["style", "onClick"])) : (i(), d("bs-pill", u({ key: 1 }, { ...a, ...n.$attrs, router: void 0 }, {
|
|
1169
1195
|
style: { display: e.bsShow ? null : "none" },
|
|
1170
|
-
onClick: o[0] || (o[0] = (...
|
|
1196
|
+
onClick: o[0] || (o[0] = (...b) => m(t) && m(t)(...b))
|
|
1171
1197
|
}), [
|
|
1172
|
-
|
|
1198
|
+
c(n.$slots, "default")
|
|
1173
1199
|
], 16));
|
|
1174
1200
|
}
|
|
1175
|
-
},
|
|
1201
|
+
}, xe = ["disabled", "required", "error", "hint-id", "value", "pass-attrs"], Ve = {
|
|
1176
1202
|
__name: "BsSelectServer",
|
|
1177
1203
|
props: {
|
|
1178
1204
|
disabled: { default: !1 },
|
|
@@ -1184,29 +1210,29 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1184
1210
|
},
|
|
1185
1211
|
emits: [],
|
|
1186
1212
|
setup(e, { emit: l }) {
|
|
1187
|
-
const
|
|
1188
|
-
var
|
|
1189
|
-
t.value || v >= 4 || (t.value = (
|
|
1213
|
+
const a = h(!1), t = h(null), s = h(""), n = p([]), o = h(null), b = h(!1), $ = (r, v = 0) => {
|
|
1214
|
+
var f, B;
|
|
1215
|
+
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 || n.push(setTimeout(() => $(r, v + 1), 50)));
|
|
1190
1216
|
};
|
|
1191
|
-
return
|
|
1192
|
-
!r ||
|
|
1193
|
-
|
|
1194
|
-
|
|
1217
|
+
return S(() => b.value = !0), T(() => $(o, 0)), C(t, (r) => {
|
|
1218
|
+
!r || a.value || (R(t), n.push(setTimeout(() => {
|
|
1219
|
+
I(() => {
|
|
1220
|
+
s.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
|
|
1195
1221
|
});
|
|
1196
|
-
}, 100)),
|
|
1197
|
-
}, { immediate: !0 }),
|
|
1198
|
-
t.value &&
|
|
1199
|
-
default:
|
|
1200
|
-
(i(), y(
|
|
1201
|
-
|
|
1222
|
+
}, 100)), a.value = !0);
|
|
1223
|
+
}, { immediate: !0 }), q(() => n.forEach((r) => clearTimeout(r))), (r, v) => (i(), d(A, null, [
|
|
1224
|
+
t.value && b.value ? (i(), y(m(k), { key: 0 }, {
|
|
1225
|
+
default: g(() => [
|
|
1226
|
+
(i(), y(L, { to: t.value }, [
|
|
1227
|
+
c(r.$slots, "default")
|
|
1202
1228
|
], 8, ["to"]))
|
|
1203
1229
|
]),
|
|
1204
1230
|
_: 3
|
|
1205
|
-
})) :
|
|
1206
|
-
|
|
1231
|
+
})) : x("", !0),
|
|
1232
|
+
w("bs-select", u({
|
|
1207
1233
|
ref_key: "wcRef",
|
|
1208
1234
|
ref: o,
|
|
1209
|
-
class:
|
|
1235
|
+
class: s.value,
|
|
1210
1236
|
"data-bsds-ssr": "",
|
|
1211
1237
|
disabled: e.disabled,
|
|
1212
1238
|
required: e.required,
|
|
@@ -1215,19 +1241,19 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1215
1241
|
value: e.value,
|
|
1216
1242
|
"pass-attrs": e.passAttrs
|
|
1217
1243
|
}, r.$attrs), [
|
|
1218
|
-
|
|
1219
|
-
|
|
1244
|
+
V(m(k), null, z({ _: 2 }, [
|
|
1245
|
+
b.value ? void 0 : {
|
|
1220
1246
|
name: "fallback",
|
|
1221
|
-
fn:
|
|
1222
|
-
|
|
1247
|
+
fn: g(() => [
|
|
1248
|
+
c(r.$slots, "default")
|
|
1223
1249
|
]),
|
|
1224
1250
|
key: "0"
|
|
1225
1251
|
}
|
|
1226
1252
|
]), 1024)
|
|
1227
|
-
], 16,
|
|
1253
|
+
], 16, xe)
|
|
1228
1254
|
], 64));
|
|
1229
1255
|
}
|
|
1230
|
-
},
|
|
1256
|
+
}, ze = "bs-select", Tt = {
|
|
1231
1257
|
__name: "BsSelect",
|
|
1232
1258
|
props: {
|
|
1233
1259
|
disabled: { default: !1 },
|
|
@@ -1240,69 +1266,147 @@ const Oe = ["controlled", "icon", "header-text", "heading-level", "open-item", "
|
|
|
1240
1266
|
},
|
|
1241
1267
|
emits: [],
|
|
1242
1268
|
setup(e, { emit: l }) {
|
|
1243
|
-
const
|
|
1269
|
+
const a = e, { data: t } = P(ze, () => {
|
|
1270
|
+
if (process.server)
|
|
1271
|
+
return !0;
|
|
1272
|
+
});
|
|
1273
|
+
return (s, n) => m(t) ? (i(), y(Ve, u({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
1274
|
+
style: { display: e.bsShow ? null : "none" }
|
|
1275
|
+
}), {
|
|
1276
|
+
default: g(() => [
|
|
1277
|
+
c(s.$slots, "default")
|
|
1278
|
+
]),
|
|
1279
|
+
_: 3
|
|
1280
|
+
}, 16, ["style"])) : (i(), d("bs-select", u({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
1281
|
+
style: { display: e.bsShow ? null : "none" }
|
|
1282
|
+
}), [
|
|
1283
|
+
c(s.$slots, "default")
|
|
1284
|
+
], 16));
|
|
1285
|
+
}
|
|
1286
|
+
}, Pe = ["tooltip-id", "content", "position"], Re = {
|
|
1287
|
+
__name: "BsTooltipServer",
|
|
1288
|
+
props: {
|
|
1289
|
+
tooltipId: {},
|
|
1290
|
+
content: {},
|
|
1291
|
+
position: {}
|
|
1292
|
+
},
|
|
1293
|
+
emits: [],
|
|
1294
|
+
setup(e, { emit: l }) {
|
|
1295
|
+
const a = h(!1), t = h(null), s = h(""), n = p([]), o = h(null), b = h(!1), $ = (r, v = 0) => {
|
|
1296
|
+
var f, B;
|
|
1297
|
+
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 || n.push(setTimeout(() => $(r, v + 1), 50)));
|
|
1298
|
+
};
|
|
1299
|
+
return S(() => b.value = !0), T(() => $(o, 0)), C(t, (r) => {
|
|
1300
|
+
!r || a.value || (R(t), n.push(setTimeout(() => {
|
|
1301
|
+
I(() => {
|
|
1302
|
+
s.value = customElements.get("bs-tooltip") ? "hydrated superhydrated" : "superhydrated";
|
|
1303
|
+
});
|
|
1304
|
+
}, 100)), a.value = !0);
|
|
1305
|
+
}, { immediate: !0 }), q(() => n.forEach((r) => clearTimeout(r))), (r, v) => (i(), d(A, null, [
|
|
1306
|
+
t.value && b.value ? (i(), y(m(k), { key: 0 }, {
|
|
1307
|
+
default: g(() => [
|
|
1308
|
+
(i(), y(L, { to: t.value }, [
|
|
1309
|
+
c(r.$slots, "default")
|
|
1310
|
+
], 8, ["to"]))
|
|
1311
|
+
]),
|
|
1312
|
+
_: 3
|
|
1313
|
+
})) : x("", !0),
|
|
1314
|
+
w("bs-tooltip", u({
|
|
1315
|
+
ref_key: "wcRef",
|
|
1316
|
+
ref: o,
|
|
1317
|
+
class: s.value,
|
|
1318
|
+
"data-bsds-ssr": "",
|
|
1319
|
+
"tooltip-id": e.tooltipId,
|
|
1320
|
+
content: e.content,
|
|
1321
|
+
position: e.position
|
|
1322
|
+
}, r.$attrs), [
|
|
1323
|
+
V(m(k), null, z({ _: 2 }, [
|
|
1324
|
+
b.value ? void 0 : {
|
|
1325
|
+
name: "fallback",
|
|
1326
|
+
fn: g(() => [
|
|
1327
|
+
c(r.$slots, "default")
|
|
1328
|
+
]),
|
|
1329
|
+
key: "0"
|
|
1330
|
+
}
|
|
1331
|
+
]), 1024)
|
|
1332
|
+
], 16, Pe)
|
|
1333
|
+
], 64));
|
|
1334
|
+
}
|
|
1335
|
+
}, De = "bs-tooltip", Ct = {
|
|
1336
|
+
__name: "BsTooltip",
|
|
1337
|
+
props: {
|
|
1338
|
+
tooltipId: {},
|
|
1339
|
+
content: {},
|
|
1340
|
+
position: {},
|
|
1341
|
+
bsShow: { default: !0 }
|
|
1342
|
+
},
|
|
1343
|
+
emits: [],
|
|
1344
|
+
setup(e, { emit: l }) {
|
|
1345
|
+
const a = e, { data: t } = P(De, () => {
|
|
1244
1346
|
if (process.server)
|
|
1245
1347
|
return !0;
|
|
1246
1348
|
});
|
|
1247
|
-
return (
|
|
1349
|
+
return (s, n) => m(t) ? (i(), y(Re, u({ key: 0 }, { ...a, ...s.$attrs }, {
|
|
1248
1350
|
style: { display: e.bsShow ? null : "none" }
|
|
1249
1351
|
}), {
|
|
1250
|
-
default:
|
|
1251
|
-
|
|
1352
|
+
default: g(() => [
|
|
1353
|
+
c(s.$slots, "default")
|
|
1252
1354
|
]),
|
|
1253
1355
|
_: 3
|
|
1254
|
-
}, 16, ["style"])) : (i(),
|
|
1356
|
+
}, 16, ["style"])) : (i(), d("bs-tooltip", u({ key: 1 }, { ...a, ...s.$attrs }, {
|
|
1255
1357
|
style: { display: e.bsShow ? null : "none" }
|
|
1256
1358
|
}), [
|
|
1257
|
-
|
|
1359
|
+
c(s.$slots, "default")
|
|
1258
1360
|
], 16));
|
|
1259
1361
|
}
|
|
1260
1362
|
};
|
|
1261
1363
|
export {
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1364
|
+
Bt as BsAccordion,
|
|
1365
|
+
ye as BsAccordionServer,
|
|
1366
|
+
Oe as BsBadge,
|
|
1367
|
+
kt as BsBanner,
|
|
1368
|
+
Be as BsBannerServer,
|
|
1369
|
+
wt as BsButton,
|
|
1370
|
+
pe as BsButtonServer,
|
|
1371
|
+
Me as BsCharacterCount,
|
|
1372
|
+
je as BsChartBar,
|
|
1373
|
+
Ne as BsChartTable,
|
|
1374
|
+
Ge as BsCheckbox,
|
|
1375
|
+
He as BsCircleButton,
|
|
1376
|
+
Xe as BsDropdown,
|
|
1377
|
+
Ye as BsDropdownOption,
|
|
1378
|
+
Ze as BsDropdownOptions,
|
|
1379
|
+
Je as BsFieldLayout,
|
|
1380
|
+
Ke as BsHint,
|
|
1381
|
+
Ue as BsInput,
|
|
1382
|
+
Qe as BsInputAddon,
|
|
1383
|
+
_e as BsInputField,
|
|
1384
|
+
et as BsInputSearch,
|
|
1385
|
+
pt as BsLabel,
|
|
1386
|
+
Ce as BsLabelServer,
|
|
1387
|
+
tt as BsLoader,
|
|
1388
|
+
at as BsModal,
|
|
1389
|
+
st as BsOverlay,
|
|
1390
|
+
lt as BsPagination,
|
|
1391
|
+
St as BsPill,
|
|
1392
|
+
Ae as BsPillServer,
|
|
1393
|
+
rt as BsProfile,
|
|
1394
|
+
nt as BsProfileDetails,
|
|
1395
|
+
it as BsProfileImg,
|
|
1396
|
+
ut as BsProfileLayout,
|
|
1397
|
+
dt as BsRadio,
|
|
1398
|
+
Tt as BsSelect,
|
|
1399
|
+
ot as BsSelectField,
|
|
1400
|
+
Ve as BsSelectServer,
|
|
1401
|
+
ct as BsSwitch,
|
|
1402
|
+
ft as BsTextarea,
|
|
1403
|
+
mt as BsTextareaField,
|
|
1404
|
+
ht as BsToast,
|
|
1405
|
+
bt as BsToastActions,
|
|
1406
|
+
vt as BsToastBody,
|
|
1407
|
+
$t as BsToastHeader,
|
|
1408
|
+
yt as BsToaster,
|
|
1409
|
+
Ct as BsTooltip,
|
|
1410
|
+
Re as BsTooltipServer,
|
|
1411
|
+
gt as BsTransition
|
|
1308
1412
|
};
|