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