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