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