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