@wwtdev/bsds-components-vue3 2.9.5 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bsds-components.js +952 -904
- package/lib/components.css +1 -1
- package/package.json +3 -3
package/lib/bsds-components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as p, ref as
|
|
1
|
+
import { computed as p, ref as k, onMounted as H, onUnmounted as $e, shallowRef as qt, watch as j, defineAsyncComponent as Qe, openBlock as u, createElementBlock as v, unref as c, createElementVNode as I, renderSlot as E, createBlock as V, resolveDynamicComponent as te, createCommentVNode as C, toDisplayString as A, createVNode as D, normalizeClass as ie, useAttrs as ve, mergeProps as N, withCtx as L, Fragment as G, toHandlers as Ke, onBeforeUnmount as Je, onBeforeMount as gt, nextTick as Ae, createTextVNode as W, createSlots as Ye, useSlots as yt, renderList as ee, Teleport as Pt, withDirectives as de, Transition as st, vShow as ue, provide as ce, inject as fe, withModifiers as Mt, isRef as zt } from "vue";
|
|
2
2
|
import { v4 as St } from "uuid";
|
|
3
|
-
import { BsIconCaretDown as _e, BsIconWarning as Ze, BsIconClose as
|
|
3
|
+
import { BsIconCaretDown as _e, BsIconWarning as Ze, BsIconClose as Be, BsIconCalendar as wt, BsIconCaretRight as $t, BsIconCaretLeft as Bt, BsIconSmallCaretRight as Nt, BsIconSmallCaretLeft as Rt, BsIconCaretSort as Ft, BsIconSearch as jt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Wt, BsIconActionEllipsis as Gt, BsIconGraphPieEmpty as dt, BsIconCircleStop as Ht, BsIconCircleCheck as Kt, BsIconCircleX as Yt, BsIconCircleEllipsis as Zt, BsIconCirclePlay as Xt, BsIconCirclePause as Qt, BsIconCircleExclamation as It, BsIconThumbsUpStroke as Jt } from "@wwtdev/bsds-icons-vue3";
|
|
4
4
|
import { DatePicker as _t } from "v-calendar";
|
|
5
5
|
import { Filler as ea, Chart as Fe, BarController as ta, BarElement as aa, CategoryScale as na, LinearScale as la, Legend as oa, TimeScale as ia, Tooltip as ra } from "chart.js";
|
|
6
6
|
import "chartjs-adapter-date-fns";
|
|
@@ -13,7 +13,7 @@ const ct = {
|
|
|
13
13
|
onClick: "button",
|
|
14
14
|
type: "button"
|
|
15
15
|
};
|
|
16
|
-
function
|
|
16
|
+
function ze(e, a, t = "button") {
|
|
17
17
|
const l = ua(e, a, t), n = p(() => {
|
|
18
18
|
const o = l.value === "button", d = {};
|
|
19
19
|
return o ? (d.type = a.type || "button", d.autocomplete = "off", e.disabled && (d.disabled = !0)) : e.disabled && (d["aria-disabled"] = "true", d.tabindex = "-1"), d;
|
|
@@ -25,7 +25,7 @@ function Ne(e, a, t = "button") {
|
|
|
25
25
|
}
|
|
26
26
|
function ua(e, a, t) {
|
|
27
27
|
const l = Object.keys(ct).find((n) => ca(e, a, n));
|
|
28
|
-
return
|
|
28
|
+
return k(ct[l] || t);
|
|
29
29
|
}
|
|
30
30
|
function ca(e, a, t) {
|
|
31
31
|
return e[t] || a[t];
|
|
@@ -39,11 +39,11 @@ const kt = (e, a) => {
|
|
|
39
39
|
};
|
|
40
40
|
H(() => {
|
|
41
41
|
document.addEventListener("mouseup", t);
|
|
42
|
-
}),
|
|
42
|
+
}), $e(() => {
|
|
43
43
|
document.removeEventListener("mouseup", t);
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
function
|
|
46
|
+
function Ne(e) {
|
|
47
47
|
const a = p(() => e.linkTo || e.href || ""), t = p(() => {
|
|
48
48
|
var i, s;
|
|
49
49
|
return ((s = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : s.call(i, "/")) || !1;
|
|
@@ -65,7 +65,7 @@ function ze(e) {
|
|
|
65
65
|
function ft(e) {
|
|
66
66
|
return e.split("-").map((l) => l.charAt(0).toUpperCase() + l.slice(1)).join("");
|
|
67
67
|
}
|
|
68
|
-
const
|
|
68
|
+
const Ve = (e, a) => {
|
|
69
69
|
var i;
|
|
70
70
|
function t(s) {
|
|
71
71
|
if (!s)
|
|
@@ -76,7 +76,7 @@ const Pe = (e, a) => {
|
|
|
76
76
|
return d;
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
const l =
|
|
79
|
+
const l = qt(), n = e[a] || ((i = e == null ? void 0 : e.value) == null ? void 0 : i[a]);
|
|
80
80
|
return l.value = t(n), j(
|
|
81
81
|
[
|
|
82
82
|
() => e[a],
|
|
@@ -91,7 +91,7 @@ const Pe = (e, a) => {
|
|
|
91
91
|
function X(e = 1) {
|
|
92
92
|
const a = [];
|
|
93
93
|
for (let t = 0; t < e; t++)
|
|
94
|
-
a.push(
|
|
94
|
+
a.push(k(""));
|
|
95
95
|
return H(() => {
|
|
96
96
|
a.forEach((t) => t.value = `id-${St()}`);
|
|
97
97
|
}), a;
|
|
@@ -106,18 +106,18 @@ const pe = (e, a, t = void 0) => {
|
|
|
106
106
|
};
|
|
107
107
|
H(() => {
|
|
108
108
|
((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", l);
|
|
109
|
-
}),
|
|
109
|
+
}), $e(() => {
|
|
110
110
|
((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", l);
|
|
111
111
|
});
|
|
112
112
|
}, fa = (e, a, t) => {
|
|
113
113
|
let l = null;
|
|
114
114
|
H(() => {
|
|
115
115
|
l = new MutationObserver(a), l.observe(e.value, t);
|
|
116
|
-
}),
|
|
116
|
+
}), $e(() => {
|
|
117
117
|
l.disconnect();
|
|
118
118
|
});
|
|
119
|
-
},
|
|
120
|
-
const a =
|
|
119
|
+
}, Le = (e) => {
|
|
120
|
+
const a = k(!1);
|
|
121
121
|
return H(() => {
|
|
122
122
|
e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
|
|
123
123
|
}), j(() => e.shown, (t) => {
|
|
@@ -131,7 +131,7 @@ const pe = (e, a, t = void 0) => {
|
|
|
131
131
|
key: 0,
|
|
132
132
|
"data-position": "start",
|
|
133
133
|
style: { display: "inline-flex" }
|
|
134
|
-
}, ba = ["id"], ga = ["aria-labelledby", "data-open", "id"],
|
|
134
|
+
}, ba = ["id"], ga = ["aria-labelledby", "data-open", "id"], zo = {
|
|
135
135
|
__name: "BsAccordion",
|
|
136
136
|
props: {
|
|
137
137
|
controlled: { type: Boolean, default: !1 },
|
|
@@ -148,7 +148,7 @@ const pe = (e, a, t = void 0) => {
|
|
|
148
148
|
},
|
|
149
149
|
emits: ["toggled"],
|
|
150
150
|
setup(e, { emit: a }) {
|
|
151
|
-
const t = e, l = a, n =
|
|
151
|
+
const t = e, l = a, n = k(null), i = k(!1), { icon: s } = Ve(t, "icon"), [o] = X(), d = p(() => o.value + "-content"), r = p(() => o.value + "-title"), f = p(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), m = p(() => t.controlled ? f.value : i.value);
|
|
152
152
|
function b() {
|
|
153
153
|
l("toggled", o.value), t.controlled || (i.value = !i.value);
|
|
154
154
|
}
|
|
@@ -160,29 +160,29 @@ const pe = (e, a, t = void 0) => {
|
|
|
160
160
|
"data-component": "bs-accordion",
|
|
161
161
|
"data-stacked": e.stacked
|
|
162
162
|
}, [
|
|
163
|
-
|
|
163
|
+
I("header", {
|
|
164
164
|
part: "header",
|
|
165
165
|
"data-open": m.value
|
|
166
166
|
}, [
|
|
167
|
-
|
|
167
|
+
I("button", {
|
|
168
168
|
"aria-controls": d.value,
|
|
169
169
|
"aria-expanded": m.value,
|
|
170
170
|
type: "button",
|
|
171
171
|
onClick: b
|
|
172
172
|
}, [
|
|
173
173
|
e.icon || S.$slots.icon ? (u(), v("span", ma, [
|
|
174
|
-
|
|
175
|
-
e.icon ? (u(),
|
|
174
|
+
E(S.$slots, "icon", {}, () => [
|
|
175
|
+
e.icon ? (u(), V(te(c(s) ? c(s) : "span"), { key: 0 })) : C("", !0)
|
|
176
176
|
])
|
|
177
|
-
])) :
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
])) : C("", !0),
|
|
178
|
+
I("span", { id: r.value }, A(e.headerText), 9, ba),
|
|
179
|
+
D(c(_e), {
|
|
180
180
|
size: "md",
|
|
181
181
|
"data-position": "end"
|
|
182
182
|
})
|
|
183
183
|
], 8, va)
|
|
184
184
|
], 8, ha),
|
|
185
|
-
|
|
185
|
+
I("div", {
|
|
186
186
|
"aria-labelledby": r.value,
|
|
187
187
|
class: "bs-accordion-content",
|
|
188
188
|
"data-open": m.value,
|
|
@@ -190,8 +190,8 @@ const pe = (e, a, t = void 0) => {
|
|
|
190
190
|
part: "content",
|
|
191
191
|
role: "region"
|
|
192
192
|
}, [
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
I("div", null, [
|
|
194
|
+
E(S.$slots, "default")
|
|
195
195
|
])
|
|
196
196
|
], 8, ga)
|
|
197
197
|
], 8, pa));
|
|
@@ -243,7 +243,7 @@ const pe = (e, a, t = void 0) => {
|
|
|
243
243
|
}
|
|
244
244
|
},
|
|
245
245
|
setup(e) {
|
|
246
|
-
const a = e, t =
|
|
246
|
+
const a = e, t = k(null), l = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = p(() => {
|
|
247
247
|
var d, r;
|
|
248
248
|
const i = ((r = (d = t.value) == null ? void 0 : d.textContent) == null ? void 0 : r.trim()) || "", s = l.value ? l.value + " " : "";
|
|
249
249
|
if (!s && !a.dot)
|
|
@@ -264,35 +264,35 @@ const pe = (e, a, t = void 0) => {
|
|
|
264
264
|
"data-variant": e.variant,
|
|
265
265
|
role: "status"
|
|
266
266
|
}, [
|
|
267
|
-
e.variant !== "notext" ?
|
|
267
|
+
e.variant !== "notext" ? E(i.$slots, "default", { key: 0 }) : C("", !0)
|
|
268
268
|
], 10, ya));
|
|
269
269
|
}
|
|
270
270
|
}, wa = {
|
|
271
271
|
key: 0,
|
|
272
272
|
role: "alert",
|
|
273
273
|
class: "bs-banner"
|
|
274
|
-
},
|
|
274
|
+
}, $a = { class: "bs-banner-content" }, Ba = { class: "bs-banner-warning-icon" }, No = {
|
|
275
275
|
__name: "BsBanner",
|
|
276
276
|
emits: ["dismiss"],
|
|
277
277
|
setup(e, { emit: a }) {
|
|
278
|
-
const t = a, l =
|
|
278
|
+
const t = a, l = k(!1);
|
|
279
279
|
function n() {
|
|
280
280
|
l.value = !0, t("dismiss");
|
|
281
281
|
}
|
|
282
|
-
return (i, s) => l.value ?
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
282
|
+
return (i, s) => l.value ? C("", !0) : (u(), v("div", wa, [
|
|
283
|
+
I("div", $a, [
|
|
284
|
+
I("div", Ba, [
|
|
285
|
+
D(c(Ze), { size: "lg" })
|
|
286
286
|
]),
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
I("p", null, [
|
|
288
|
+
E(i.$slots, "default")
|
|
289
289
|
]),
|
|
290
|
-
|
|
290
|
+
I("button", {
|
|
291
291
|
type: "button",
|
|
292
292
|
title: "Close Banner",
|
|
293
293
|
onClick: n
|
|
294
294
|
}, [
|
|
295
|
-
|
|
295
|
+
D(c(Be))
|
|
296
296
|
])
|
|
297
297
|
])
|
|
298
298
|
]));
|
|
@@ -328,8 +328,8 @@ const pe = (e, a, t = void 0) => {
|
|
|
328
328
|
href: { type: String }
|
|
329
329
|
},
|
|
330
330
|
setup(e) {
|
|
331
|
-
const a = e, t = ve(), { rootTag: l, attrsToBind: n, hrefUrl: i } =
|
|
332
|
-
return (o, d) => (u(),
|
|
331
|
+
const a = e, t = ve(), { rootTag: l, attrsToBind: n, hrefUrl: i } = ze(a, t), { onLinkClick: s } = Ne(a);
|
|
332
|
+
return (o, d) => (u(), V(te(c(l)), N({
|
|
333
333
|
class: "bs-button",
|
|
334
334
|
"data-component": "bs-button",
|
|
335
335
|
"data-ghost": e.ghostBtn,
|
|
@@ -338,8 +338,8 @@ const pe = (e, a, t = void 0) => {
|
|
|
338
338
|
"data-variant": e.variant,
|
|
339
339
|
".href": c(i)
|
|
340
340
|
}, c(n), { onClick: c(s) }), {
|
|
341
|
-
default:
|
|
342
|
-
|
|
341
|
+
default: L(() => [
|
|
342
|
+
E(o.$slots, "default")
|
|
343
343
|
]),
|
|
344
344
|
_: 3
|
|
345
345
|
}, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
|
|
@@ -374,19 +374,19 @@ const pe = (e, a, t = void 0) => {
|
|
|
374
374
|
id: e.hintId,
|
|
375
375
|
class: "bs-hint",
|
|
376
376
|
"data-error": e.error
|
|
377
|
-
},
|
|
377
|
+
}, A(t.value), 9, Ca)) : C("", !0),
|
|
378
378
|
e.charMax ? (u(), v("span", {
|
|
379
379
|
key: 1,
|
|
380
380
|
"aria-description": "character count over character limit for the preceding text field",
|
|
381
381
|
class: "bs-character-count",
|
|
382
382
|
"data-error": a.charCount > a.charMax
|
|
383
|
-
},
|
|
383
|
+
}, A(a.charCount || "0") + " / " + A(a.charMax), 9, xa)) : C("", !0)
|
|
384
384
|
]));
|
|
385
385
|
}
|
|
386
|
-
}, Ta = ["data-disabled", "for"], Aa = /* @__PURE__ */
|
|
386
|
+
}, Ta = ["data-disabled", "for"], Aa = /* @__PURE__ */ I("span", {
|
|
387
387
|
"data-required": "true",
|
|
388
388
|
"aria-hidden": "true"
|
|
389
|
-
}, " *", -1), Va = /* @__PURE__ */
|
|
389
|
+
}, " *", -1), Va = /* @__PURE__ */ I("span", { class: "visually-hidden" }, "required", -1), ae = {
|
|
390
390
|
__name: "BsLabel",
|
|
391
391
|
props: {
|
|
392
392
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -401,13 +401,13 @@ const pe = (e, a, t = void 0) => {
|
|
|
401
401
|
"data-disabled": e.disabled,
|
|
402
402
|
for: e.for
|
|
403
403
|
}, [
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
I("span", null, [
|
|
405
|
+
E(a.$slots, "default")
|
|
406
406
|
]),
|
|
407
407
|
e.required ? (u(), v(G, { key: 0 }, [
|
|
408
408
|
Aa,
|
|
409
409
|
Va
|
|
410
|
-
], 64)) :
|
|
410
|
+
], 64)) : C("", !0)
|
|
411
411
|
], 10, Ta));
|
|
412
412
|
}
|
|
413
413
|
}, Oa = ["data-error", "id", "value"], Ie = {
|
|
@@ -430,7 +430,7 @@ const pe = (e, a, t = void 0) => {
|
|
|
430
430
|
const d = n.type === "number" ? parseInt(o.target.value) : o.target.value;
|
|
431
431
|
l("update:modelValue", d);
|
|
432
432
|
}
|
|
433
|
-
return (o, d) => (u(), v("input",
|
|
433
|
+
return (o, d) => (u(), v("input", N({
|
|
434
434
|
class: "bs-input",
|
|
435
435
|
"data-component": "bs-input",
|
|
436
436
|
"data-error": e.error,
|
|
@@ -439,7 +439,7 @@ const pe = (e, a, t = void 0) => {
|
|
|
439
439
|
onInput: s
|
|
440
440
|
}, i.value), null, 16, Oa));
|
|
441
441
|
}
|
|
442
|
-
}, Ea = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"],
|
|
442
|
+
}, Ea = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
|
|
443
443
|
__name: "BsInputAddon",
|
|
444
444
|
props: {
|
|
445
445
|
autopad: { type: Boolean, default: !1 },
|
|
@@ -460,7 +460,7 @@ const pe = (e, a, t = void 0) => {
|
|
|
460
460
|
"data-variant": e.variant,
|
|
461
461
|
"data-multifocus": e.multifocus
|
|
462
462
|
}, [
|
|
463
|
-
|
|
463
|
+
E(a.$slots, "default")
|
|
464
464
|
], 8, Ea));
|
|
465
465
|
}
|
|
466
466
|
}, La = {
|
|
@@ -496,13 +496,13 @@ const pe = (e, a, t = void 0) => {
|
|
|
496
496
|
}
|
|
497
497
|
},
|
|
498
498
|
setup(e) {
|
|
499
|
-
return (a, t) => (u(),
|
|
499
|
+
return (a, t) => (u(), V(De, {
|
|
500
500
|
disabled: e.disabled,
|
|
501
501
|
error: e.error
|
|
502
502
|
}, {
|
|
503
|
-
default:
|
|
504
|
-
|
|
505
|
-
|
|
503
|
+
default: L(() => [
|
|
504
|
+
D(c(wt)),
|
|
505
|
+
D(Ie, N({
|
|
506
506
|
"data-autowidth": "",
|
|
507
507
|
disabled: e.disabled,
|
|
508
508
|
id: e.inputId,
|
|
@@ -515,7 +515,7 @@ const pe = (e, a, t = void 0) => {
|
|
|
515
515
|
}, 8, ["disabled", "error"]));
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
-
function
|
|
518
|
+
function Oe(e, a, t) {
|
|
519
519
|
let l;
|
|
520
520
|
return function() {
|
|
521
521
|
let n = this, i = arguments;
|
|
@@ -524,7 +524,7 @@ function Ve(e, a, t) {
|
|
|
524
524
|
}, a);
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
|
-
const Da = ["disabled", "id", "model-value"],
|
|
527
|
+
const Da = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-value"], Pa = {
|
|
528
528
|
__name: "BsInputDateRange",
|
|
529
529
|
props: {
|
|
530
530
|
disabled: {
|
|
@@ -561,7 +561,7 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
|
|
|
561
561
|
},
|
|
562
562
|
emits: ["ui-focusin", "ui-input"],
|
|
563
563
|
setup(e, { emit: a }) {
|
|
564
|
-
const t = a, l =
|
|
564
|
+
const t = a, l = k(null), n = k(null);
|
|
565
565
|
function i(r) {
|
|
566
566
|
const f = new Event("change", { bubbles: !0, cancelable: !0 });
|
|
567
567
|
r.dispatchEvent(f);
|
|
@@ -570,17 +570,17 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
|
|
|
570
570
|
const { value: f } = r.target, [m, b] = f.split(/ to | - /);
|
|
571
571
|
l.value.value = m || "", n.value.value = b || "", i(l.value), i(n.value);
|
|
572
572
|
}
|
|
573
|
-
const o =
|
|
573
|
+
const o = Oe(s, 1e3);
|
|
574
574
|
function d(r) {
|
|
575
575
|
t("ui-input"), o(r);
|
|
576
576
|
}
|
|
577
|
-
return (r, f) => (u(),
|
|
577
|
+
return (r, f) => (u(), V(De, {
|
|
578
578
|
disabled: e.disabled,
|
|
579
579
|
error: e.error
|
|
580
580
|
}, {
|
|
581
|
-
default:
|
|
582
|
-
|
|
583
|
-
|
|
581
|
+
default: L(() => [
|
|
582
|
+
D(c(wt)),
|
|
583
|
+
D(Ie, {
|
|
584
584
|
"data-autowidth": "",
|
|
585
585
|
disabled: e.disabled,
|
|
586
586
|
id: e.inputId,
|
|
@@ -591,7 +591,7 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
|
|
|
591
591
|
onInput: d,
|
|
592
592
|
onChange: s
|
|
593
593
|
}, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
|
|
594
|
-
|
|
594
|
+
I("input", N({
|
|
595
595
|
ref_key: "hiddenStart",
|
|
596
596
|
ref: l,
|
|
597
597
|
type: "hidden",
|
|
@@ -599,14 +599,14 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
|
|
|
599
599
|
id: `${e.inputId}-start`,
|
|
600
600
|
"model-value": e.inputValue.start
|
|
601
601
|
}, Ke(e.listeners.start, !0)), null, 16, Da),
|
|
602
|
-
|
|
602
|
+
I("input", N({
|
|
603
603
|
ref_key: "hiddenEnd",
|
|
604
604
|
ref: n,
|
|
605
605
|
type: "hidden",
|
|
606
606
|
disabled: e.disabled,
|
|
607
607
|
id: `${e.inputId}-end`,
|
|
608
608
|
"model-value": e.inputValue.end
|
|
609
|
-
}, Ke(e.listeners.end, !0)), null, 16,
|
|
609
|
+
}, Ke(e.listeners.end, !0)), null, 16, qa)
|
|
610
610
|
]),
|
|
611
611
|
_: 1
|
|
612
612
|
}, 8, ["disabled", "error"]));
|
|
@@ -646,7 +646,7 @@ const et = [
|
|
|
646
646
|
"form",
|
|
647
647
|
"id",
|
|
648
648
|
"name"
|
|
649
|
-
],
|
|
649
|
+
], za = [
|
|
650
650
|
"aria-describedby",
|
|
651
651
|
"aria-label",
|
|
652
652
|
"autocomplete",
|
|
@@ -657,7 +657,7 @@ const et = [
|
|
|
657
657
|
"multiple",
|
|
658
658
|
"name",
|
|
659
659
|
"size"
|
|
660
|
-
],
|
|
660
|
+
], Na = [
|
|
661
661
|
"aria-describedby",
|
|
662
662
|
"aria-label",
|
|
663
663
|
"autocapitalize",
|
|
@@ -704,7 +704,7 @@ function Y(e, a = []) {
|
|
|
704
704
|
a.includes(n) ? t[n] = e[n] : l[n] = e[n];
|
|
705
705
|
}), { filtered: t, remaining: l };
|
|
706
706
|
}
|
|
707
|
-
const Ra = ["data-range"], pt = "(min-width: 752px)",
|
|
707
|
+
const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
708
708
|
__name: "BsCalendar",
|
|
709
709
|
props: {
|
|
710
710
|
disabled: {
|
|
@@ -771,7 +771,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
771
771
|
},
|
|
772
772
|
emits: ["update:modelValue"],
|
|
773
773
|
setup(e, { emit: a }) {
|
|
774
|
-
const t = e, l =
|
|
774
|
+
const t = e, l = k(null), n = k(1), i = k(null), [s, o] = X(2), d = k(1), { filtered: r, remaining: f } = Y(ve(), [
|
|
775
775
|
"attributes",
|
|
776
776
|
"data-cy",
|
|
777
777
|
"expanded",
|
|
@@ -780,15 +780,15 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
780
780
|
"masks",
|
|
781
781
|
"rows",
|
|
782
782
|
"trim-weeks"
|
|
783
|
-
]), m = p(() => t.inputId || s.value), b = p(() => ({ range: t.isRange })), S = p(() => !!(t.error && t.errorMsg || t.hint)), w = p(() => t.step),
|
|
783
|
+
]), m = p(() => t.inputId || s.value), b = p(() => ({ range: t.isRange })), S = p(() => !!(t.error && t.errorMsg || t.hint)), w = p(() => t.step), B = p(() => t.variant);
|
|
784
784
|
Ma(i), Xe(
|
|
785
785
|
pt,
|
|
786
|
-
(g) => n.value = g != null && g.matches &&
|
|
787
|
-
[
|
|
786
|
+
(g) => n.value = g != null && g.matches && B.value == "2-col" ? 2 : 1,
|
|
787
|
+
[B]
|
|
788
788
|
), Xe(
|
|
789
789
|
pt,
|
|
790
|
-
(g) => d.value = g != null && g.matches &&
|
|
791
|
-
[w,
|
|
790
|
+
(g) => d.value = g != null && g.matches && B.value == "2-col" ? w.value : 1,
|
|
791
|
+
[w, B]
|
|
792
792
|
), H(() => {
|
|
793
793
|
t.inputMode || y();
|
|
794
794
|
}), j(() => {
|
|
@@ -800,34 +800,34 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
800
800
|
function h(g) {
|
|
801
801
|
return t.isRange && g.start && g.end ? `${g.start} to ${g.end}` : !t.isRange && g ? g : "";
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function $(g) {
|
|
804
804
|
!t.isRange || i.value.contains(g.relatedTarget) || l.value.hidePopover();
|
|
805
805
|
}
|
|
806
806
|
function y() {
|
|
807
807
|
const g = i.value.querySelector("button.vc-prev"), M = i.value.querySelector("button.vc-next");
|
|
808
808
|
g && g.setAttribute("aria-label", "Previous month"), M && M.setAttribute("aria-label", "Next month");
|
|
809
809
|
}
|
|
810
|
-
return (g, M) => (u(), v("div",
|
|
810
|
+
return (g, M) => (u(), v("div", N({
|
|
811
811
|
ref_key: "container",
|
|
812
812
|
ref: i,
|
|
813
813
|
class: "bs-calendar",
|
|
814
814
|
"data-range": e.isRange,
|
|
815
|
-
onFocusout:
|
|
815
|
+
onFocusout: $
|
|
816
816
|
}, c(f)), [
|
|
817
|
-
e.label || g.$slots.label ? (u(),
|
|
817
|
+
e.label || g.$slots.label ? (u(), V(ae, {
|
|
818
818
|
key: 0,
|
|
819
819
|
for: m.value,
|
|
820
820
|
disabled: e.disabled,
|
|
821
821
|
required: e.required
|
|
822
822
|
}, {
|
|
823
|
-
default:
|
|
824
|
-
|
|
825
|
-
W(
|
|
823
|
+
default: L(() => [
|
|
824
|
+
E(g.$slots, "label", {}, () => [
|
|
825
|
+
W(A(e.label), 1)
|
|
826
826
|
])
|
|
827
827
|
]),
|
|
828
828
|
_: 3
|
|
829
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
830
|
-
|
|
829
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
830
|
+
D(c(_t), N({
|
|
831
831
|
ref_key: "calendar",
|
|
832
832
|
ref: l,
|
|
833
833
|
columns: n.value,
|
|
@@ -844,25 +844,25 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
844
844
|
}, c(r)), Ye({ _: 2 }, [
|
|
845
845
|
e.inputMode ? {
|
|
846
846
|
name: "default",
|
|
847
|
-
fn:
|
|
848
|
-
e.isRange ? (u(),
|
|
847
|
+
fn: L(({ inputValue: T, inputEvents: q, showPopover: R }) => [
|
|
848
|
+
e.isRange ? (u(), V(Pa, {
|
|
849
849
|
key: 1,
|
|
850
850
|
disabled: e.disabled,
|
|
851
851
|
error: e.error,
|
|
852
852
|
"input-id": m.value,
|
|
853
853
|
"input-value": T,
|
|
854
854
|
"input-value-fmt": h(T),
|
|
855
|
-
listeners:
|
|
855
|
+
listeners: q,
|
|
856
856
|
placeholder: e.placeholder,
|
|
857
857
|
required: e.required,
|
|
858
858
|
onUiFocusin: R,
|
|
859
859
|
onUiInput: R
|
|
860
|
-
}, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(),
|
|
860
|
+
}, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), V(La, {
|
|
861
861
|
key: 0,
|
|
862
862
|
disabled: e.disabled,
|
|
863
863
|
error: e.error,
|
|
864
864
|
"input-id": m.value,
|
|
865
|
-
listeners:
|
|
865
|
+
listeners: q,
|
|
866
866
|
"model-value": h(T),
|
|
867
867
|
placeholder: e.placeholder,
|
|
868
868
|
required: e.required
|
|
@@ -871,13 +871,13 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
871
871
|
key: "0"
|
|
872
872
|
} : void 0
|
|
873
873
|
]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
|
|
874
|
-
S.value ? (u(),
|
|
874
|
+
S.value ? (u(), V(ge, {
|
|
875
875
|
key: 1,
|
|
876
876
|
error: e.error,
|
|
877
877
|
"error-msg": e.errorMsg,
|
|
878
878
|
hint: e.hint,
|
|
879
879
|
"hint-id": c(o)
|
|
880
|
-
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) :
|
|
880
|
+
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
881
881
|
], 16, Ra));
|
|
882
882
|
}
|
|
883
883
|
}), Fa = { key: 0 }, ja = {
|
|
@@ -907,7 +907,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
907
907
|
default: "right"
|
|
908
908
|
},
|
|
909
909
|
label: {
|
|
910
|
-
type: String
|
|
910
|
+
type: String,
|
|
911
|
+
required: !0
|
|
911
912
|
},
|
|
912
913
|
linkTo: {
|
|
913
914
|
type: String
|
|
@@ -931,7 +932,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
931
932
|
}
|
|
932
933
|
},
|
|
933
934
|
setup(e) {
|
|
934
|
-
const a = e, t = ve(), l = yt(), { rootTag: n, attrsToBind: i, hrefUrl: s } =
|
|
935
|
+
const a = e, t = ve(), l = yt(), { rootTag: n, attrsToBind: i, hrefUrl: s } = ze(a, t), { onLinkClick: o } = Ne(a), d = p(() => m.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
|
|
935
936
|
if (a.hoverEffect)
|
|
936
937
|
return a.iconPosition;
|
|
937
938
|
}), f = p(() => {
|
|
@@ -939,8 +940,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
939
940
|
return {
|
|
940
941
|
icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${h}` : h)
|
|
941
942
|
};
|
|
942
|
-
}), m = p(() => a.textBtn || !!(l != null && l.default)), b = p(() => m.value && a.iconPosition !== "left"), S = p(() => m.value && a.iconPosition === "left"), w = p(() => a.variant ? `color-${a.variant}` : void 0), { icon:
|
|
943
|
-
return (h,
|
|
943
|
+
}), m = p(() => a.textBtn || !!(l != null && l.default)), b = p(() => m.value && a.iconPosition !== "left"), S = p(() => m.value && a.iconPosition === "left"), w = p(() => a.variant ? `color-${a.variant}` : void 0), { icon: B } = Ve(f, "icon");
|
|
944
|
+
return (h, $) => (u(), V(te(c(n)), N({
|
|
944
945
|
class: "bs-circle-button",
|
|
945
946
|
"data-disabled": e.disabled,
|
|
946
947
|
"data-direction": r.value,
|
|
@@ -950,27 +951,27 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
950
951
|
"data-variant": w.value,
|
|
951
952
|
".href": c(s)
|
|
952
953
|
}, { ...c(i), ...d.value }, { onClick: c(o) }), {
|
|
953
|
-
default:
|
|
954
|
+
default: L(() => [
|
|
954
955
|
b.value ? (u(), v("span", Fa, [
|
|
955
|
-
|
|
956
|
-
W(
|
|
956
|
+
E(h.$slots, "default", {}, () => [
|
|
957
|
+
W(A(e.label), 1)
|
|
957
958
|
])
|
|
958
|
-
])) :
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
(u(),
|
|
959
|
+
])) : C("", !0),
|
|
960
|
+
I("span", ja, [
|
|
961
|
+
E(h.$slots, "icon", {}, () => [
|
|
962
|
+
(u(), V(te(c(B))))
|
|
962
963
|
])
|
|
963
964
|
]),
|
|
964
965
|
S.value ? (u(), v("span", Ua, [
|
|
965
|
-
|
|
966
|
-
W(
|
|
966
|
+
E(h.$slots, "default", {}, () => [
|
|
967
|
+
W(A(e.label), 1)
|
|
967
968
|
])
|
|
968
|
-
])) :
|
|
969
|
+
])) : C("", !0)
|
|
969
970
|
]),
|
|
970
971
|
_: 3
|
|
971
972
|
}, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
|
|
972
973
|
}
|
|
973
|
-
}),
|
|
974
|
+
}), Fo = {
|
|
974
975
|
__name: "BsCaretButton",
|
|
975
976
|
props: {
|
|
976
977
|
direction: {
|
|
@@ -1004,7 +1005,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1004
1005
|
}
|
|
1005
1006
|
},
|
|
1006
1007
|
setup(e) {
|
|
1007
|
-
return (a, t) => (u(),
|
|
1008
|
+
return (a, t) => (u(), V(Ct, {
|
|
1008
1009
|
disabled: e.disabled,
|
|
1009
1010
|
"ghost-btn": e.ghostBtn,
|
|
1010
1011
|
"hover-effect": e.hoverEffect,
|
|
@@ -1015,13 +1016,13 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1015
1016
|
size: e.size,
|
|
1016
1017
|
"text-btn": !1
|
|
1017
1018
|
}, {
|
|
1018
|
-
icon:
|
|
1019
|
-
e.direction == "right" ? (u(),
|
|
1019
|
+
icon: L(() => [
|
|
1020
|
+
e.direction == "right" ? (u(), V(c($t), { key: 0 })) : (u(), V(c(Bt), { key: 1 }))
|
|
1020
1021
|
]),
|
|
1021
1022
|
_: 1
|
|
1022
1023
|
}, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
|
|
1023
1024
|
}
|
|
1024
|
-
},
|
|
1025
|
+
}, jo = {
|
|
1025
1026
|
__name: "BsCaretTextButton",
|
|
1026
1027
|
props: {
|
|
1027
1028
|
direction: {
|
|
@@ -1060,7 +1061,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1060
1061
|
}
|
|
1061
1062
|
},
|
|
1062
1063
|
setup(e) {
|
|
1063
|
-
return (a, t) => (u(),
|
|
1064
|
+
return (a, t) => (u(), V(Ct, {
|
|
1064
1065
|
disabled: e.disabled,
|
|
1065
1066
|
"ghost-btn": e.ghostBtn,
|
|
1066
1067
|
"hover-effect": e.hoverEffect,
|
|
@@ -1072,12 +1073,12 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1072
1073
|
"text-btn": "",
|
|
1073
1074
|
variant: e.variant
|
|
1074
1075
|
}, {
|
|
1075
|
-
icon:
|
|
1076
|
-
e.direction == "right" ? (u(),
|
|
1076
|
+
icon: L(() => [
|
|
1077
|
+
e.direction == "right" ? (u(), V(c(Nt), { key: 0 })) : (u(), V(c(Rt), { key: 1 }))
|
|
1077
1078
|
]),
|
|
1078
|
-
default:
|
|
1079
|
-
|
|
1080
|
-
W(
|
|
1079
|
+
default: L(() => [
|
|
1080
|
+
E(a.$slots, "default", {}, () => [
|
|
1081
|
+
W(A(e.label), 1)
|
|
1081
1082
|
])
|
|
1082
1083
|
]),
|
|
1083
1084
|
_: 3
|
|
@@ -1120,7 +1121,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1120
1121
|
}
|
|
1121
1122
|
},
|
|
1122
1123
|
setup(e) {
|
|
1123
|
-
const a = e, t =
|
|
1124
|
+
const a = e, t = k(!1), l = (f) => {
|
|
1124
1125
|
const m = new Date(f), b = m.toTimeString().split(" ")[0], S = m.toDateString().split(" ").slice(1, 3).join(" ");
|
|
1125
1126
|
return `${b} (${S})`;
|
|
1126
1127
|
}, n = p(() => {
|
|
@@ -1133,8 +1134,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1133
1134
|
const b = m.label;
|
|
1134
1135
|
let S = [];
|
|
1135
1136
|
if (m.data.some((w) => (w == null ? void 0 : w.x) && (w == null ? void 0 : w.y))) {
|
|
1136
|
-
const w = m.data.reduce((
|
|
1137
|
-
S = a.dataIdxLabels.map((
|
|
1137
|
+
const w = m.data.reduce((B, h) => (B[h.x] = h.y, B), {});
|
|
1138
|
+
S = a.dataIdxLabels.map((B) => ({ value: w[B] ?? null }));
|
|
1138
1139
|
} else
|
|
1139
1140
|
S = m.data.map((w) => ({ value: w }));
|
|
1140
1141
|
return { rowLabel: b, dataCells: S };
|
|
@@ -1145,16 +1146,16 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1145
1146
|
}
|
|
1146
1147
|
function s(f) {
|
|
1147
1148
|
try {
|
|
1148
|
-
const m = f.reduce((w,
|
|
1149
|
-
const h =
|
|
1149
|
+
const m = f.reduce((w, B) => {
|
|
1150
|
+
const h = B.data.map(($) => $ == null ? void 0 : $.x);
|
|
1150
1151
|
return [...w, ...h];
|
|
1151
1152
|
}, []), b = Array.from(new Set(m));
|
|
1152
|
-
return (a.xAxisType === "time" || a.xAxisType === "linear") && b.sort((w,
|
|
1153
|
-
const
|
|
1154
|
-
return f.forEach((
|
|
1155
|
-
const y = { datasetLabel:
|
|
1153
|
+
return (a.xAxisType === "time" || a.xAxisType === "linear") && b.sort((w, B) => (typeof w == "string" && typeof B == "string" && (w = w.toLowerCase(), B = B.toLowerCase()), w < B ? -1 : w > B ? 1 : 0)), b.map((w) => {
|
|
1154
|
+
const B = { rowLabel: w }, h = [];
|
|
1155
|
+
return f.forEach(($) => {
|
|
1156
|
+
const y = { datasetLabel: $.label }, g = $.data.find((M) => M.x === w);
|
|
1156
1157
|
y.value = g ? g.y : null, h.push(y);
|
|
1157
|
-
}),
|
|
1158
|
+
}), B.dataCells = h, a.xAxisType === "time" && (B.rowLabelFmt = l(w)), B;
|
|
1158
1159
|
});
|
|
1159
1160
|
} catch {
|
|
1160
1161
|
return [];
|
|
@@ -1177,38 +1178,38 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
|
|
|
1177
1178
|
key: 0,
|
|
1178
1179
|
summary: d.value.title
|
|
1179
1180
|
}, [
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
I("thead", null, [
|
|
1182
|
+
I("tr", null, [
|
|
1183
|
+
I("th", {
|
|
1183
1184
|
colspan: d.value.colspan
|
|
1184
|
-
},
|
|
1185
|
+
}, A(d.value.title), 9, Ha)
|
|
1185
1186
|
]),
|
|
1186
|
-
|
|
1187
|
-
|
|
1187
|
+
I("tr", null, [
|
|
1188
|
+
I("th", Ka, A(d.value.colHeadingFirst), 1),
|
|
1188
1189
|
(u(!0), v(G, null, ee(d.value.colHeadings, (b) => (u(), v("th", {
|
|
1189
1190
|
key: b,
|
|
1190
1191
|
scope: "col"
|
|
1191
|
-
},
|
|
1192
|
+
}, A(b), 1))), 128))
|
|
1192
1193
|
])
|
|
1193
1194
|
]),
|
|
1194
|
-
|
|
1195
|
+
I("tbody", null, [
|
|
1195
1196
|
(u(!0), v(G, null, ee(d.value.rows, (b) => (u(), v("tr", {
|
|
1196
1197
|
key: b.rowLabelFmt || b.rowLabel
|
|
1197
1198
|
}, [
|
|
1198
|
-
|
|
1199
|
+
I("th", Ya, A(b.rowLabelFmt || b.rowLabel), 1),
|
|
1199
1200
|
(u(!0), v(G, null, ee(b.dataCells, (S) => (u(), v("td", {
|
|
1200
1201
|
key: `${b.rowLabelFmt || b.rowLabel}${S.datasetLabel}${S.value}`
|
|
1201
|
-
},
|
|
1202
|
+
}, A(S.value), 1))), 128))
|
|
1202
1203
|
]))), 128))
|
|
1203
1204
|
])
|
|
1204
|
-
], 8, Ga)) :
|
|
1205
|
+
], 8, Ga)) : C("", !0)
|
|
1205
1206
|
]));
|
|
1206
1207
|
}
|
|
1207
|
-
},
|
|
1208
|
+
}, Ee = 16, Xa = 20;
|
|
1208
1209
|
function Qa(e, a) {
|
|
1209
|
-
const t =
|
|
1210
|
+
const t = k(null), l = k(!1), n = k(null), i = "(min-width: 1166px)", s = { tickSize: Ee }, o = { tickSize: Xa };
|
|
1210
1211
|
let d, r;
|
|
1211
|
-
function f(h,
|
|
1212
|
+
function f(h, $) {
|
|
1212
1213
|
let y;
|
|
1213
1214
|
switch (h) {
|
|
1214
1215
|
case "bar":
|
|
@@ -1220,27 +1221,27 @@ function Qa(e, a) {
|
|
|
1220
1221
|
default:
|
|
1221
1222
|
throw new Error(`Unsupported chart type: ${h}`);
|
|
1222
1223
|
}
|
|
1223
|
-
return new nn().setCommonConfigs(
|
|
1224
|
+
return new nn().setCommonConfigs($).setCustomOptions($)[y]($).setPlugins([Ja(n), ea]).build();
|
|
1224
1225
|
}
|
|
1225
1226
|
function m(h) {
|
|
1226
1227
|
h.preventDefault(), h.stopImmediatePropagation();
|
|
1227
|
-
const
|
|
1228
|
-
if (
|
|
1229
|
-
const { labelIndex: y, datasetIndex: g } =
|
|
1228
|
+
const $ = h.target.closest("li");
|
|
1229
|
+
if ($ && d) {
|
|
1230
|
+
const { labelIndex: y, datasetIndex: g } = $.dataset;
|
|
1230
1231
|
e === "pie" || e === "doughnut" ? d.toggleDataVisibility(y) : d.setDatasetVisibility(g, !d.isDatasetVisible(g)), d.update(), h.preventDefault(), h.stopImmediatePropagation(), b(g, y);
|
|
1231
1232
|
}
|
|
1232
1233
|
}
|
|
1233
|
-
function b(h,
|
|
1234
|
+
function b(h, $) {
|
|
1234
1235
|
var M;
|
|
1235
|
-
const y = `[data-dataset-index="${h}"][data-label-index="${
|
|
1236
|
+
const y = `[data-dataset-index="${h}"][data-label-index="${$}"]`, g = n.value.querySelector(y);
|
|
1236
1237
|
(M = g == null ? void 0 : g.focus) == null || M.call(g);
|
|
1237
1238
|
}
|
|
1238
1239
|
function S(...h) {
|
|
1239
1240
|
!r || !t.value || (Fe.register(...h), Fe.defaults.font.family = "'Roobert', sans-serif", d = new Fe(t.value, r));
|
|
1240
1241
|
}
|
|
1241
|
-
const w =
|
|
1242
|
+
const w = Oe(function(h) {
|
|
1242
1243
|
r && (r.updateOptions(h), d.options = r.options, d.update());
|
|
1243
|
-
}, 100),
|
|
1244
|
+
}, 100), B = Oe(function(h) {
|
|
1244
1245
|
r && (r.updateData(h), d.data = r.data, d.update());
|
|
1245
1246
|
}, 100);
|
|
1246
1247
|
return Xe(
|
|
@@ -1251,8 +1252,8 @@ function Qa(e, a) {
|
|
|
1251
1252
|
var h;
|
|
1252
1253
|
try {
|
|
1253
1254
|
r = f(e, a), (h = n.value) == null || h.addEventListener("click", m);
|
|
1254
|
-
} catch (
|
|
1255
|
-
console.error("Error creating chart config",
|
|
1255
|
+
} catch ($) {
|
|
1256
|
+
console.error("Error creating chart config", $), r = null;
|
|
1256
1257
|
}
|
|
1257
1258
|
}), pe([" ", "Enter"], m, n), Je(() => {
|
|
1258
1259
|
var h;
|
|
@@ -1279,7 +1280,7 @@ function Qa(e, a) {
|
|
|
1279
1280
|
() => a.data,
|
|
1280
1281
|
() => a.dataIdxLabels
|
|
1281
1282
|
],
|
|
1282
|
-
() =>
|
|
1283
|
+
() => B(a),
|
|
1283
1284
|
{ deep: !0 }
|
|
1284
1285
|
), {
|
|
1285
1286
|
canvasRef: t,
|
|
@@ -1400,7 +1401,7 @@ function nt(e) {
|
|
|
1400
1401
|
stacked: n,
|
|
1401
1402
|
ticks: {
|
|
1402
1403
|
font: {
|
|
1403
|
-
size: m ||
|
|
1404
|
+
size: m || Ee
|
|
1404
1405
|
}
|
|
1405
1406
|
},
|
|
1406
1407
|
title: {
|
|
@@ -1420,7 +1421,7 @@ function nt(e) {
|
|
|
1420
1421
|
suggestedMin: r,
|
|
1421
1422
|
ticks: {
|
|
1422
1423
|
font: {
|
|
1423
|
-
size: m ||
|
|
1424
|
+
size: m || Ee
|
|
1424
1425
|
}
|
|
1425
1426
|
},
|
|
1426
1427
|
title: {
|
|
@@ -1555,8 +1556,8 @@ class nn {
|
|
|
1555
1556
|
setCartesianAxesOpts(a) {
|
|
1556
1557
|
const { dataIdxLabels: t } = a;
|
|
1557
1558
|
return this.dataIdxLabels = t, this.scalesOptions = nt(a), this.commonOptionsStrict.scales = {
|
|
1558
|
-
x: { ticks: { font: { size:
|
|
1559
|
-
y: { ticks: { font: { size:
|
|
1559
|
+
x: { ticks: { font: { size: Ee } } },
|
|
1560
|
+
y: { ticks: { font: { size: Ee } } }
|
|
1560
1561
|
}, this;
|
|
1561
1562
|
}
|
|
1562
1563
|
build() {
|
|
@@ -1592,7 +1593,7 @@ class nn {
|
|
|
1592
1593
|
const ln = {
|
|
1593
1594
|
class: "bs-chart bs-chart-bar",
|
|
1594
1595
|
"data-component": "bs-chart-bar"
|
|
1595
|
-
}, on = ["aria-label"], rn = ["data-hidden"],
|
|
1596
|
+
}, on = ["aria-label"], rn = ["data-hidden"], Uo = {
|
|
1596
1597
|
__name: "BsChartBar",
|
|
1597
1598
|
props: {
|
|
1598
1599
|
chartTitle: {
|
|
@@ -1673,17 +1674,17 @@ const ln = {
|
|
|
1673
1674
|
ia,
|
|
1674
1675
|
ra
|
|
1675
1676
|
)), (s, o) => (u(), v("div", ln, [
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1677
|
+
I("figure", null, [
|
|
1678
|
+
I("div", null, [
|
|
1679
|
+
I("canvas", {
|
|
1679
1680
|
"aria-label": i.value,
|
|
1680
1681
|
ref_key: "canvasRef",
|
|
1681
1682
|
ref: t,
|
|
1682
1683
|
role: "img"
|
|
1683
1684
|
}, null, 8, on)
|
|
1684
1685
|
]),
|
|
1685
|
-
|
|
1686
|
-
|
|
1686
|
+
I("div", null, [
|
|
1687
|
+
D(Za, {
|
|
1687
1688
|
"chart-type": "bar",
|
|
1688
1689
|
data: e.data,
|
|
1689
1690
|
"data-idx-labels": e.dataIdxLabels,
|
|
@@ -1692,10 +1693,10 @@ const ln = {
|
|
|
1692
1693
|
"x-label": e.xLabel,
|
|
1693
1694
|
"y-label": e.yLabel
|
|
1694
1695
|
}, null, 8, ["data", "data-idx-labels", "table-title", "x-axis-type", "x-label", "y-label"]),
|
|
1695
|
-
|
|
1696
|
+
I("figcaption", {
|
|
1696
1697
|
"data-hidden": !e.showLegend
|
|
1697
1698
|
}, [
|
|
1698
|
-
|
|
1699
|
+
I("ul", {
|
|
1699
1700
|
ref_key: "legendListRef",
|
|
1700
1701
|
ref: l
|
|
1701
1702
|
}, null, 512)
|
|
@@ -1704,7 +1705,7 @@ const ln = {
|
|
|
1704
1705
|
])
|
|
1705
1706
|
]));
|
|
1706
1707
|
}
|
|
1707
|
-
}, sn = ["data-disabled", "data-error", "data-size"], dn = ["checked", "data-error", "disabled", "id", "required", "value"],
|
|
1708
|
+
}, sn = ["data-disabled", "data-error", "data-size"], dn = ["checked", "data-error", "disabled", "id", "required", "value"], Wo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
1708
1709
|
__name: "BsCheckbox",
|
|
1709
1710
|
props: {
|
|
1710
1711
|
/** Sets the label. */
|
|
@@ -1767,7 +1768,7 @@ const ln = {
|
|
|
1767
1768
|
},
|
|
1768
1769
|
emits: ["update:modelValue"],
|
|
1769
1770
|
setup(e, { emit: a }) {
|
|
1770
|
-
const t = e, l = a, [n] = X(), i = p(() => et.concat(t.passAttrs.split(","))), s =
|
|
1771
|
+
const t = e, l = a, [n] = X(), i = p(() => et.concat(t.passAttrs.split(","))), s = k(null), o = p(() => t.inputId || n.value), d = p(() => t.checked || m.value), r = p(() => t.indeterminate || t.checkedPartially), f = p(() => Array.isArray(t.modelValue) && t.value), m = p(() => f.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
|
|
1771
1772
|
function b() {
|
|
1772
1773
|
s.value && (s.value.indeterminate = r.value && !d.value);
|
|
1773
1774
|
}
|
|
@@ -1775,21 +1776,21 @@ const ln = {
|
|
|
1775
1776
|
l("update:modelValue", h);
|
|
1776
1777
|
}
|
|
1777
1778
|
function w(h) {
|
|
1778
|
-
const
|
|
1779
|
-
h ?
|
|
1779
|
+
const $ = [...t.modelValue];
|
|
1780
|
+
h ? $.push(t.value) : $.splice($.indexOf(t.value), 1), l("update:modelValue", $);
|
|
1780
1781
|
}
|
|
1781
|
-
function
|
|
1782
|
-
const { checked:
|
|
1783
|
-
f.value ? w(
|
|
1782
|
+
function B(h) {
|
|
1783
|
+
const { checked: $ } = h.target;
|
|
1784
|
+
f.value ? w($) : S($);
|
|
1784
1785
|
}
|
|
1785
|
-
return j(d, b), j(r, b), H(b), (h,
|
|
1786
|
+
return j(d, b), j(r, b), H(b), (h, $) => (u(), v("div", N({
|
|
1786
1787
|
class: "bs-boolean",
|
|
1787
1788
|
"data-component": "bs-checkbox",
|
|
1788
1789
|
"data-disabled": e.disabled,
|
|
1789
1790
|
"data-error": e.error,
|
|
1790
1791
|
"data-size": e.size
|
|
1791
1792
|
}, c(Y)(h.$attrs, i.value).remaining), [
|
|
1792
|
-
|
|
1793
|
+
I("input", N({
|
|
1793
1794
|
ref_key: "inputEl",
|
|
1794
1795
|
ref: s,
|
|
1795
1796
|
checked: d.value,
|
|
@@ -1799,21 +1800,21 @@ const ln = {
|
|
|
1799
1800
|
required: e.required,
|
|
1800
1801
|
value: e.value || "on",
|
|
1801
1802
|
type: "checkbox",
|
|
1802
|
-
onChange:
|
|
1803
|
+
onChange: B
|
|
1803
1804
|
}, c(Y)(h.$attrs, i.value).filtered), null, 16, dn),
|
|
1804
|
-
e.label || h.$slots.label ? (u(),
|
|
1805
|
+
e.label || h.$slots.label ? (u(), V(ae, {
|
|
1805
1806
|
key: 0,
|
|
1806
1807
|
for: h.$attrs.id || o.value,
|
|
1807
1808
|
disabled: e.disabled,
|
|
1808
1809
|
required: e.required
|
|
1809
1810
|
}, {
|
|
1810
|
-
default:
|
|
1811
|
-
|
|
1812
|
-
W(
|
|
1811
|
+
default: L(() => [
|
|
1812
|
+
E(h.$slots, "label", {}, () => [
|
|
1813
|
+
W(A(e.label), 1)
|
|
1813
1814
|
])
|
|
1814
1815
|
]),
|
|
1815
1816
|
_: 3
|
|
1816
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
1817
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0)
|
|
1817
1818
|
], 16, sn));
|
|
1818
1819
|
}
|
|
1819
1820
|
}), un = {
|
|
@@ -1837,27 +1838,27 @@ const ln = {
|
|
|
1837
1838
|
}
|
|
1838
1839
|
},
|
|
1839
1840
|
setup(e, { expose: a }) {
|
|
1840
|
-
const t =
|
|
1841
|
+
const t = k(null);
|
|
1841
1842
|
return a({ internalContainerRef: t }), (l, n) => (u(), v(G, null, [
|
|
1842
|
-
e.breakout && e.breakoutMounted ? (u(),
|
|
1843
|
+
e.breakout && e.breakoutMounted ? (u(), V(Pt, {
|
|
1843
1844
|
key: 0,
|
|
1844
1845
|
to: e.breakoutStub
|
|
1845
1846
|
}, [
|
|
1846
|
-
|
|
1847
|
-
], 8, ["to"])) :
|
|
1848
|
-
e.breakout ?
|
|
1849
|
-
e.containerId ?
|
|
1847
|
+
E(l.$slots, "default")
|
|
1848
|
+
], 8, ["to"])) : C("", !0),
|
|
1849
|
+
e.breakout ? C("", !0) : (u(), v(G, { key: 1 }, [
|
|
1850
|
+
e.containerId ? E(l.$slots, "default", { key: 0 }) : (u(), v("div", {
|
|
1850
1851
|
key: 1,
|
|
1851
1852
|
ref_key: "internalContainerRef",
|
|
1852
1853
|
ref: t,
|
|
1853
1854
|
style: { position: "relative" }
|
|
1854
1855
|
}, [
|
|
1855
|
-
|
|
1856
|
+
E(l.$slots, "default")
|
|
1856
1857
|
], 512))
|
|
1857
1858
|
], 64))
|
|
1858
1859
|
], 64));
|
|
1859
1860
|
}
|
|
1860
|
-
},
|
|
1861
|
+
}, qe = {
|
|
1861
1862
|
__name: "BsEnhancedTransition",
|
|
1862
1863
|
props: {
|
|
1863
1864
|
// Transition Name
|
|
@@ -1889,7 +1890,7 @@ const ln = {
|
|
|
1889
1890
|
],
|
|
1890
1891
|
setup(e, { emit: a }) {
|
|
1891
1892
|
const t = a;
|
|
1892
|
-
return (l, n) => e.preloaded ? de((u(),
|
|
1893
|
+
return (l, n) => e.preloaded ? de((u(), V(st, {
|
|
1893
1894
|
key: 0,
|
|
1894
1895
|
name: e.name,
|
|
1895
1896
|
onBeforeEnter: n[0] || (n[0] = (i) => t("before-enter")),
|
|
@@ -1901,13 +1902,13 @@ const ln = {
|
|
|
1901
1902
|
onAfterLeave: n[6] || (n[6] = (i) => t("after-leave")),
|
|
1902
1903
|
onLeaveCancelled: n[7] || (n[7] = (i) => t("leave-cancelled"))
|
|
1903
1904
|
}, {
|
|
1904
|
-
default:
|
|
1905
|
-
|
|
1905
|
+
default: L(() => [
|
|
1906
|
+
E(l.$slots, "default")
|
|
1906
1907
|
]),
|
|
1907
1908
|
_: 3
|
|
1908
1909
|
}, 8, ["name"])), [
|
|
1909
1910
|
[ue, e.shown]
|
|
1910
|
-
]) : (u(),
|
|
1911
|
+
]) : (u(), V(st, {
|
|
1911
1912
|
key: 1,
|
|
1912
1913
|
name: e.name,
|
|
1913
1914
|
onBeforeEnter: n[8] || (n[8] = (i) => t("before-enter")),
|
|
@@ -1919,18 +1920,18 @@ const ln = {
|
|
|
1919
1920
|
onAfterLeave: n[14] || (n[14] = (i) => t("after-leave")),
|
|
1920
1921
|
onLeaveCancelled: n[15] || (n[15] = (i) => t("leave-cancelled"))
|
|
1921
1922
|
}, {
|
|
1922
|
-
default:
|
|
1923
|
-
e.shown ?
|
|
1923
|
+
default: L(() => [
|
|
1924
|
+
e.shown ? E(l.$slots, "default", { key: 0 }) : C("", !0)
|
|
1924
1925
|
]),
|
|
1925
1926
|
_: 3
|
|
1926
1927
|
}, 8, ["name"]));
|
|
1927
1928
|
}
|
|
1928
1929
|
}, cn = (e, a = void 0, t = "relative") => {
|
|
1929
|
-
const l =
|
|
1930
|
+
const l = k(null), n = k(null), i = k(!1);
|
|
1930
1931
|
let s = !1;
|
|
1931
1932
|
return H(() => {
|
|
1932
1933
|
e && (l.value = a || St(), document.getElementById(l.value) ? (n.value = document.getElementById(l.value), s = !0) : (n.value = document.createElement("div"), n.value.id = l.value, n.value.style.position = t, document.body.insertAdjacentElement("afterbegin", n.value)), i.value = !0);
|
|
1933
|
-
}),
|
|
1934
|
+
}), $e(() => {
|
|
1934
1935
|
var o;
|
|
1935
1936
|
e && !s && ((o = document.getElementById(l.value)) == null || o.remove());
|
|
1936
1937
|
}), { breakoutId: l, breakoutStub: n, breakoutMounted: i };
|
|
@@ -1990,7 +1991,7 @@ const ln = {
|
|
|
1990
1991
|
"after-leave"
|
|
1991
1992
|
],
|
|
1992
1993
|
setup(e, { emit: a }) {
|
|
1993
|
-
const t = e, l = a, n =
|
|
1994
|
+
const t = e, l = a, n = k(null), i = k(null), s = k(!1), o = k(!1), d = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? m.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), f = p(() => t.width === "anchor" ? void 0 : t.width);
|
|
1994
1995
|
kt([i, d], () => {
|
|
1995
1996
|
o.value && l("close");
|
|
1996
1997
|
}), pe(["Escape"], () => {
|
|
@@ -1998,36 +1999,36 @@ const ln = {
|
|
|
1998
1999
|
});
|
|
1999
2000
|
const { breakoutStub: m, breakoutMounted: b } = cn(t.breakout, t.containerId);
|
|
2000
2001
|
ce("dropdownEnter", s), ce("dropdownAfterEnter", o), ce("dropdownShown", p(() => t.shown));
|
|
2001
|
-
const S = (T,
|
|
2002
|
-
i.value.style.setProperty(T,
|
|
2002
|
+
const S = (T, q) => {
|
|
2003
|
+
i.value.style.setProperty(T, q);
|
|
2003
2004
|
};
|
|
2004
2005
|
function w() {
|
|
2005
|
-
const T = r.value.getBoundingClientRect(),
|
|
2006
|
-
|
|
2006
|
+
const T = r.value.getBoundingClientRect(), q = d.value.getBoundingClientRect(), R = i.value.getBoundingClientRect();
|
|
2007
|
+
B(T, q), h(T, q, R);
|
|
2007
2008
|
}
|
|
2008
|
-
function
|
|
2009
|
+
function B(T, q) {
|
|
2009
2010
|
if (t.position === "top") {
|
|
2010
|
-
const R = T.bottom -
|
|
2011
|
-
S("--dropdown-wscreen-top", "auto"), S("--dropdown-wscreen-bottom", `${R +
|
|
2011
|
+
const R = T.bottom - q.bottom;
|
|
2012
|
+
S("--dropdown-wscreen-top", "auto"), S("--dropdown-wscreen-bottom", `${R + q.height + 8}px`);
|
|
2012
2013
|
} else {
|
|
2013
|
-
const R =
|
|
2014
|
-
S("--dropdown-wscreen-top", `${R +
|
|
2014
|
+
const R = q.top - T.top;
|
|
2015
|
+
S("--dropdown-wscreen-top", `${R + q.height + 8}px`), S("--dropdown-wscreen-bottom", "auto");
|
|
2015
2016
|
}
|
|
2016
2017
|
}
|
|
2017
|
-
function h(T,
|
|
2018
|
+
function h(T, q, R) {
|
|
2018
2019
|
if (t.width !== "anchor") {
|
|
2019
|
-
const _ =
|
|
2020
|
+
const _ = q.left - T.left;
|
|
2020
2021
|
if (t.position === "center") {
|
|
2021
|
-
const J = (
|
|
2022
|
+
const J = (q.width - R.width) / 2;
|
|
2022
2023
|
S("--dropdown-wscreen-left", `${_ + J}px`), S("--dropdown-wscreen-right", "auto");
|
|
2023
2024
|
} else if (t.position === "right") {
|
|
2024
|
-
const J = T.right -
|
|
2025
|
+
const J = T.right - q.right;
|
|
2025
2026
|
S("--dropdown-wscreen-left", "auto"), S("--dropdown-wscreen-right", `${J}px`);
|
|
2026
2027
|
} else
|
|
2027
2028
|
S("--dropdown-wscreen-left", `${_}px`), S("--dropdown-wscreen-right", "auto");
|
|
2028
2029
|
}
|
|
2029
2030
|
}
|
|
2030
|
-
function
|
|
2031
|
+
function $() {
|
|
2031
2032
|
if (t.width === "anchor") {
|
|
2032
2033
|
const T = d.value.getBoundingClientRect();
|
|
2033
2034
|
S("--dropdown-wscreen-width", `${T.width}px`);
|
|
@@ -2035,7 +2036,7 @@ const ln = {
|
|
|
2035
2036
|
S("--dropdown-wscreen-width", "");
|
|
2036
2037
|
}
|
|
2037
2038
|
function y() {
|
|
2038
|
-
s.value = !0, w(),
|
|
2039
|
+
s.value = !0, w(), $(), l("enter");
|
|
2039
2040
|
}
|
|
2040
2041
|
function g() {
|
|
2041
2042
|
o.value = !0, l("after-enter");
|
|
@@ -2043,9 +2044,9 @@ const ln = {
|
|
|
2043
2044
|
function M() {
|
|
2044
2045
|
s.value = !1, o.value = !1, l("after-leave");
|
|
2045
2046
|
}
|
|
2046
|
-
return (T,
|
|
2047
|
-
e.useMobileStyle && e.shown ? (u(), v("div", fn)) :
|
|
2048
|
-
|
|
2047
|
+
return (T, q) => (u(), v(G, null, [
|
|
2048
|
+
e.useMobileStyle && e.shown ? (u(), v("div", fn)) : C("", !0),
|
|
2049
|
+
D(un, {
|
|
2049
2050
|
ref_key: "dropdownContainerRef",
|
|
2050
2051
|
ref: n,
|
|
2051
2052
|
breakout: e.breakout,
|
|
@@ -2053,8 +2054,8 @@ const ln = {
|
|
|
2053
2054
|
breakoutStub: c(m),
|
|
2054
2055
|
containerId: e.containerId
|
|
2055
2056
|
}, {
|
|
2056
|
-
default:
|
|
2057
|
-
|
|
2057
|
+
default: L(() => [
|
|
2058
|
+
D(qe, {
|
|
2058
2059
|
name: "bs-dropdown",
|
|
2059
2060
|
preloaded: e.preloaded,
|
|
2060
2061
|
shown: e.shown,
|
|
@@ -2062,8 +2063,8 @@ const ln = {
|
|
|
2062
2063
|
onEnter: y,
|
|
2063
2064
|
onAfterLeave: M
|
|
2064
2065
|
}, {
|
|
2065
|
-
default:
|
|
2066
|
-
|
|
2066
|
+
default: L(() => [
|
|
2067
|
+
I("div", N({
|
|
2067
2068
|
ref_key: "dropdownRef",
|
|
2068
2069
|
ref: i,
|
|
2069
2070
|
class: "bs-dropdown",
|
|
@@ -2072,19 +2073,19 @@ const ln = {
|
|
|
2072
2073
|
"data-no-mobile": !e.useMobileStyle
|
|
2073
2074
|
}, T.$attrs), [
|
|
2074
2075
|
e.helperText ? (u(), v("header", hn, [
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
e.helperDescription ? (u(), v("p", vn,
|
|
2076
|
+
I("div", null, [
|
|
2077
|
+
I("h3", null, A(e.helperText), 1),
|
|
2078
|
+
e.helperDescription ? (u(), v("p", vn, A(e.helperDescription), 1)) : C("", !0)
|
|
2078
2079
|
]),
|
|
2079
|
-
|
|
2080
|
+
I("button", {
|
|
2080
2081
|
type: "button",
|
|
2081
2082
|
title: "close",
|
|
2082
|
-
onClick:
|
|
2083
|
+
onClick: q[0] || (q[0] = () => l("close"))
|
|
2083
2084
|
}, [
|
|
2084
|
-
|
|
2085
|
+
D(c(Be))
|
|
2085
2086
|
])
|
|
2086
|
-
])) :
|
|
2087
|
-
|
|
2087
|
+
])) : C("", !0),
|
|
2088
|
+
E(T.$slots, "default")
|
|
2088
2089
|
], 16, pn)
|
|
2089
2090
|
]),
|
|
2090
2091
|
_: 3
|
|
@@ -2184,8 +2185,8 @@ const ln = {
|
|
|
2184
2185
|
"after-leave"
|
|
2185
2186
|
],
|
|
2186
2187
|
setup(e, { emit: a }) {
|
|
2187
|
-
const t = e, l = a, { transition: n } =
|
|
2188
|
-
return (d, r) => (u(),
|
|
2188
|
+
const t = e, l = a, { transition: n } = Le(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId);
|
|
2189
|
+
return (d, r) => (u(), V(mn, {
|
|
2189
2190
|
"anchor-id": o.value,
|
|
2190
2191
|
breakout: e.breakout,
|
|
2191
2192
|
"container-id": e.containerId,
|
|
@@ -2201,8 +2202,8 @@ const ln = {
|
|
|
2201
2202
|
onAfterEnter: r[2] || (r[2] = () => l("after-enter")),
|
|
2202
2203
|
onAfterLeave: r[3] || (r[3] = () => l("after-leave"))
|
|
2203
2204
|
}, {
|
|
2204
|
-
default:
|
|
2205
|
-
|
|
2205
|
+
default: L(() => [
|
|
2206
|
+
E(d.$slots, "default")
|
|
2206
2207
|
]),
|
|
2207
2208
|
_: 3
|
|
2208
2209
|
}, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
|
|
@@ -2249,7 +2250,7 @@ const ln = {
|
|
|
2249
2250
|
setup(e, { emit: a }) {
|
|
2250
2251
|
const t = e, l = a;
|
|
2251
2252
|
let n = !1;
|
|
2252
|
-
const i =
|
|
2253
|
+
const i = k(null), [s] = X(1), o = p(() => ({
|
|
2253
2254
|
icon: t.modelValue ? "close" : t.optionsId ? "caret-down" : "",
|
|
2254
2255
|
show: !!(t.modelValue || t.optionsId),
|
|
2255
2256
|
text: t.modelValue ? "Clear this field" : t.optionsId ? "Toggle options dropdown" : ""
|
|
@@ -2258,12 +2259,12 @@ const ln = {
|
|
|
2258
2259
|
t.modelValue && l("clear"), n = !0, i.value.$el.focus();
|
|
2259
2260
|
}
|
|
2260
2261
|
function r(m) {
|
|
2261
|
-
var w,
|
|
2262
|
+
var w, B;
|
|
2262
2263
|
const b = ((w = m.relatedTarget) == null ? void 0 : w.id) === s.value;
|
|
2263
|
-
!(((
|
|
2264
|
+
!(((B = m.relatedTarget) == null ? void 0 : B.id) === t.optionsId) && (!b || !n) && f(!0), n = !1;
|
|
2264
2265
|
}
|
|
2265
|
-
const f =
|
|
2266
|
-
return (m, b) => (u(),
|
|
2266
|
+
const f = Oe((m) => l("toggled", m), 200, !0);
|
|
2267
|
+
return (m, b) => (u(), V(De, {
|
|
2267
2268
|
"aria-live": "polite",
|
|
2268
2269
|
disabled: e.disabled,
|
|
2269
2270
|
error: e.error,
|
|
@@ -2272,8 +2273,8 @@ const ln = {
|
|
|
2272
2273
|
variant: "combobox",
|
|
2273
2274
|
onClick: c(f)
|
|
2274
2275
|
}, {
|
|
2275
|
-
default:
|
|
2276
|
-
|
|
2276
|
+
default: L(() => [
|
|
2277
|
+
D(Ie, N({
|
|
2277
2278
|
ref_key: "inputRef",
|
|
2278
2279
|
ref: i,
|
|
2279
2280
|
"aria-controls": e.optionsId,
|
|
@@ -2291,7 +2292,7 @@ const ln = {
|
|
|
2291
2292
|
onFocus: r,
|
|
2292
2293
|
onInput: b[0] || (b[0] = (S) => m.$emit("update:modelValue", S.target.value))
|
|
2293
2294
|
}, m.$attrs), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-invalid", "data-error", "disabled", "model-value", "placeholder", "required", "role"]),
|
|
2294
|
-
de(
|
|
2295
|
+
de(I("button", {
|
|
2295
2296
|
"aria-controls": !e.modelValue && e.optionsId ? e.optionsId : void 0,
|
|
2296
2297
|
"aria-expanded": !e.modelValue && e.optionsId ? e.open : void 0,
|
|
2297
2298
|
"data-open": e.modelValue ? void 0 : e.open,
|
|
@@ -2302,14 +2303,14 @@ const ln = {
|
|
|
2302
2303
|
type: "button",
|
|
2303
2304
|
onClick: d
|
|
2304
2305
|
}, [
|
|
2305
|
-
|
|
2306
|
-
de(
|
|
2306
|
+
I("span", gn, A(o.value.text), 1),
|
|
2307
|
+
de(D(c(_e), {
|
|
2307
2308
|
role: "presentation",
|
|
2308
2309
|
size: "md"
|
|
2309
2310
|
}, null, 512), [
|
|
2310
2311
|
[ue, o.value.icon == "caret-down"]
|
|
2311
2312
|
]),
|
|
2312
|
-
de(
|
|
2313
|
+
de(D(c(Be), {
|
|
2313
2314
|
role: "presentation",
|
|
2314
2315
|
size: "md"
|
|
2315
2316
|
}, null, 512), [
|
|
@@ -2362,21 +2363,21 @@ const ln = {
|
|
|
2362
2363
|
disabled: e.disabled,
|
|
2363
2364
|
type: "button"
|
|
2364
2365
|
}, [
|
|
2365
|
-
t.value ? (u(),
|
|
2366
|
+
t.value ? (u(), V(Sa, {
|
|
2366
2367
|
key: 0,
|
|
2367
2368
|
color: "blue",
|
|
2368
2369
|
count: e.badgeCount,
|
|
2369
2370
|
label: "active filter",
|
|
2370
2371
|
position: "left",
|
|
2371
2372
|
variant: "notext"
|
|
2372
|
-
}, null, 8, ["count"])) :
|
|
2373
|
-
|
|
2374
|
-
W(
|
|
2373
|
+
}, null, 8, ["count"])) : C("", !0),
|
|
2374
|
+
E(l.$slots, "label", {}, () => [
|
|
2375
|
+
W(A(e.label), 1)
|
|
2375
2376
|
]),
|
|
2376
|
-
|
|
2377
|
+
D(c(_e))
|
|
2377
2378
|
], 8, Sn));
|
|
2378
2379
|
}
|
|
2379
|
-
},
|
|
2380
|
+
}, $n = ["data-value", "data-value-type", "data-variant", "id"], ot = {
|
|
2380
2381
|
__name: "BsDropdownOption",
|
|
2381
2382
|
props: {
|
|
2382
2383
|
value: {
|
|
@@ -2389,7 +2390,7 @@ const ln = {
|
|
|
2389
2390
|
}
|
|
2390
2391
|
},
|
|
2391
2392
|
setup(e) {
|
|
2392
|
-
const a = e, t =
|
|
2393
|
+
const a = e, t = k(null), l = fe("optionsId", ""), n = fe("handleOptionSelect", () => {
|
|
2393
2394
|
}), i = p(() => `${l.value}-option-${a.value}`);
|
|
2394
2395
|
function s(o) {
|
|
2395
2396
|
n(t.value), o.stopPropagation();
|
|
@@ -2405,10 +2406,10 @@ const ln = {
|
|
|
2405
2406
|
role: "option",
|
|
2406
2407
|
onClick: s
|
|
2407
2408
|
}, [
|
|
2408
|
-
|
|
2409
|
-
], 8,
|
|
2409
|
+
E(o.$slots, "default")
|
|
2410
|
+
], 8, $n));
|
|
2410
2411
|
}
|
|
2411
|
-
},
|
|
2412
|
+
}, Bn = ["data-img-size", "data-initials", "data-no-img"], In = ["src", "alt"], Tt = {
|
|
2412
2413
|
__name: "BsProfileImg",
|
|
2413
2414
|
props: {
|
|
2414
2415
|
src: String,
|
|
@@ -2427,7 +2428,7 @@ const ln = {
|
|
|
2427
2428
|
}
|
|
2428
2429
|
},
|
|
2429
2430
|
setup(e) {
|
|
2430
|
-
const a = e, t =
|
|
2431
|
+
const a = e, t = k(!1), l = k(!!a.src);
|
|
2431
2432
|
return H(() => t.value = !0), (n, i) => (u(), v("div", {
|
|
2432
2433
|
class: "bs-profile-img",
|
|
2433
2434
|
"data-img-size": e.size,
|
|
@@ -2439,14 +2440,14 @@ const ln = {
|
|
|
2439
2440
|
src: e.src,
|
|
2440
2441
|
alt: e.useAltText ? e.profileName : "",
|
|
2441
2442
|
onError: i[0] || (i[0] = (s) => l.value = !1)
|
|
2442
|
-
}, null, 40, In)) :
|
|
2443
|
-
], 8,
|
|
2443
|
+
}, null, 40, In)) : C("", !0)
|
|
2444
|
+
], 8, Bn));
|
|
2444
2445
|
}
|
|
2445
2446
|
}, kn = ["id", "data-checked"], Cn = { key: 1 }, xn = ["innerHTML"], Tn = { key: 4 }, An = { key: 5 }, Vn = {
|
|
2446
2447
|
key: 0,
|
|
2447
2448
|
role: "option",
|
|
2448
2449
|
"data-no-hover": ""
|
|
2449
|
-
},
|
|
2450
|
+
}, Pe = {
|
|
2450
2451
|
__name: "BsDropdownOptionBuilder",
|
|
2451
2452
|
props: {
|
|
2452
2453
|
// Array of objects with the following properties (either label or labelHtml
|
|
@@ -2504,44 +2505,44 @@ const ln = {
|
|
|
2504
2505
|
return !!o && o !== d;
|
|
2505
2506
|
}
|
|
2506
2507
|
return (o, d) => (u(), v(G, null, [
|
|
2507
|
-
(u(!0), v(G, null, ee(e.options, (r) => (u(),
|
|
2508
|
+
(u(!0), v(G, null, ee(e.options, (r) => (u(), V(ot, {
|
|
2508
2509
|
"aria-checked": r.checkbox ? r.checkbox.checked : void 0,
|
|
2509
2510
|
key: r.value,
|
|
2510
2511
|
value: r.value,
|
|
2511
2512
|
variant: n(r)
|
|
2512
2513
|
}, {
|
|
2513
|
-
default:
|
|
2514
|
+
default: L(() => [
|
|
2514
2515
|
r.checkbox ? (u(), v("span", {
|
|
2515
2516
|
key: 0,
|
|
2516
2517
|
id: r.checkbox.inputId,
|
|
2517
2518
|
"aria-hidden": "true",
|
|
2518
2519
|
class: "bs-checkbox",
|
|
2519
2520
|
"data-checked": r.checkbox.checked
|
|
2520
|
-
}, null, 8, kn)) :
|
|
2521
|
+
}, null, 8, kn)) : C("", !0),
|
|
2521
2522
|
r.icon ? (u(), v("span", Cn, [
|
|
2522
|
-
(u(),
|
|
2523
|
-
])) :
|
|
2524
|
-
r.profileImg ? (u(),
|
|
2523
|
+
(u(), V(te(t[r.icon])))
|
|
2524
|
+
])) : C("", !0),
|
|
2525
|
+
r.profileImg ? (u(), V(Tt, {
|
|
2525
2526
|
key: 2,
|
|
2526
2527
|
src: r.profileImg.src,
|
|
2527
2528
|
size: "xs",
|
|
2528
2529
|
initials: r.profileImg.initials,
|
|
2529
2530
|
"profile-name": r.profileImg.profileName,
|
|
2530
2531
|
"use-alt-text": s(r.profileImg.profileName, r.label)
|
|
2531
|
-
}, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) :
|
|
2532
|
+
}, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : C("", !0),
|
|
2532
2533
|
r.labelHtml ? (u(), v("span", {
|
|
2533
2534
|
key: 3,
|
|
2534
2535
|
innerHTML: r.labelHtml
|
|
2535
|
-
}, null, 8, xn)) : (u(), v("span", Tn,
|
|
2536
|
-
r.description ? (u(), v("span", An,
|
|
2536
|
+
}, null, 8, xn)) : (u(), v("span", Tn, A(r.label), 1)),
|
|
2537
|
+
r.description ? (u(), v("span", An, A(r.description), 1)) : C("", !0)
|
|
2537
2538
|
]),
|
|
2538
2539
|
_: 2
|
|
2539
2540
|
}, 1032, ["aria-checked", "value", "variant"]))), 128)),
|
|
2540
2541
|
e.showNoOptions && e.options.length === 0 ? (u(), v("li", Vn, [
|
|
2541
|
-
|
|
2542
|
+
E(o.$slots, "no-options", {}, () => [
|
|
2542
2543
|
W("No options")
|
|
2543
2544
|
])
|
|
2544
|
-
])) :
|
|
2545
|
+
])) : C("", !0)
|
|
2545
2546
|
], 64));
|
|
2546
2547
|
}
|
|
2547
2548
|
}, On = ["id"], En = {
|
|
@@ -2618,7 +2619,7 @@ const ln = {
|
|
|
2618
2619
|
setup(e, { emit: a }) {
|
|
2619
2620
|
const t = e, l = a;
|
|
2620
2621
|
let n = null;
|
|
2621
|
-
const [i, s] = X(2), o =
|
|
2622
|
+
const [i, s] = X(2), o = k(!1), d = () => n || (n = document.getElementById(m.value)), r = p(() => Qe(async () => await (t.multiselect ? Promise.resolve().then(() => Nn) : Promise.resolve().then(() => Dn)))), f = p(() => t.optionsId || s.value), m = p(() => t.toggleId || i.value);
|
|
2622
2623
|
function b() {
|
|
2623
2624
|
const y = document.activeElement;
|
|
2624
2625
|
return !y || y.tagName === "BODY" || y.id === f.value;
|
|
@@ -2630,25 +2631,25 @@ const ln = {
|
|
|
2630
2631
|
function w() {
|
|
2631
2632
|
o.value && S();
|
|
2632
2633
|
}
|
|
2633
|
-
function
|
|
2634
|
+
function B() {
|
|
2634
2635
|
o.value = !0;
|
|
2635
2636
|
}
|
|
2636
2637
|
function h(y) {
|
|
2637
2638
|
l("update:selectedOptions", y);
|
|
2638
2639
|
}
|
|
2639
|
-
function
|
|
2640
|
+
function $(y) {
|
|
2640
2641
|
t.multiselect || (l("update:selectedOption", y), S());
|
|
2641
2642
|
}
|
|
2642
2643
|
return (y, g) => (u(), v("div", {
|
|
2643
2644
|
class: "bs-dropdown-with-toggle",
|
|
2644
2645
|
id: y.$attrs.id
|
|
2645
2646
|
}, [
|
|
2646
|
-
|
|
2647
|
+
E(y.$slots, "toggle", {
|
|
2647
2648
|
anchorId: e.anchorId,
|
|
2648
2649
|
optionsId: f.value,
|
|
2649
2650
|
toggleId: m.value
|
|
2650
2651
|
}, () => [
|
|
2651
|
-
|
|
2652
|
+
D(wn, {
|
|
2652
2653
|
"aria-controls": f.value,
|
|
2653
2654
|
"aria-expanded": e.open,
|
|
2654
2655
|
disabled: e.disabled,
|
|
@@ -2658,15 +2659,15 @@ const ln = {
|
|
|
2658
2659
|
size: e.toggleSize,
|
|
2659
2660
|
onClick: g[0] || (g[0] = (M) => y.$emit("toggled"))
|
|
2660
2661
|
}, {
|
|
2661
|
-
label:
|
|
2662
|
-
|
|
2663
|
-
W(
|
|
2662
|
+
label: L(() => [
|
|
2663
|
+
E(y.$slots, "toggle-label", {}, () => [
|
|
2664
|
+
W(A(e.toggleLabel), 1)
|
|
2664
2665
|
])
|
|
2665
2666
|
]),
|
|
2666
2667
|
_: 3
|
|
2667
2668
|
}, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size"])
|
|
2668
2669
|
]),
|
|
2669
|
-
|
|
2670
|
+
D(lt, {
|
|
2670
2671
|
"anchor-id": e.anchorId || m.value,
|
|
2671
2672
|
breakout: e.breakout,
|
|
2672
2673
|
"helper-text": e.helperText,
|
|
@@ -2677,22 +2678,22 @@ const ln = {
|
|
|
2677
2678
|
"use-mobile-style": e.useMobileStyle,
|
|
2678
2679
|
width: e.dropdownWidth,
|
|
2679
2680
|
onClose: w,
|
|
2680
|
-
onEnter:
|
|
2681
|
+
onEnter: B
|
|
2681
2682
|
}, {
|
|
2682
|
-
default:
|
|
2683
|
-
|
|
2683
|
+
default: L(() => [
|
|
2684
|
+
D(c(r), {
|
|
2684
2685
|
label: e.dropdownLabel,
|
|
2685
2686
|
"model-value": e.selectedOption,
|
|
2686
2687
|
options: e.options,
|
|
2687
2688
|
"options-id": f.value,
|
|
2688
2689
|
"selected-options": e.selectedOptions,
|
|
2689
2690
|
shown: e.open,
|
|
2690
|
-
"onUpdate:modelValue":
|
|
2691
|
+
"onUpdate:modelValue": $,
|
|
2691
2692
|
"onUpdate:selectedOptions": h,
|
|
2692
2693
|
onClose: g[1] || (g[1] = (M) => e.multiselect ? void 0 : w())
|
|
2693
2694
|
}, {
|
|
2694
|
-
default:
|
|
2695
|
-
e.multiselect ?
|
|
2695
|
+
default: L(() => [
|
|
2696
|
+
e.multiselect ? C("", !0) : (u(), V(Pe, {
|
|
2696
2697
|
key: 0,
|
|
2697
2698
|
options: e.options
|
|
2698
2699
|
}, null, 8, ["options"]))
|
|
@@ -2763,7 +2764,7 @@ const ln = {
|
|
|
2763
2764
|
},
|
|
2764
2765
|
emits: ["update:modelValue", "combobox:change", "combobox:input"],
|
|
2765
2766
|
setup(e, { emit: a }) {
|
|
2766
|
-
const t = e, l = a, [n, i, s] = X(3), o =
|
|
2767
|
+
const t = e, l = a, [n, i, s] = X(3), o = k(!1), d = p(() => t.inputId || n.value);
|
|
2767
2768
|
function r(w) {
|
|
2768
2769
|
l("combobox:change", w.target.value), l("update:modelValue", w.target.value);
|
|
2769
2770
|
}
|
|
@@ -2771,8 +2772,8 @@ const ln = {
|
|
|
2771
2772
|
l("combobox:change", ""), l("update:modelValue", "");
|
|
2772
2773
|
}
|
|
2773
2774
|
function m(w) {
|
|
2774
|
-
var
|
|
2775
|
-
(
|
|
2775
|
+
var B, h;
|
|
2776
|
+
(B = w.relatedTarget) != null && B.closest(`#${s.value}`) || (h = w.relatedTarget) != null && h.closest(`#${i.value}`) || (o.value = !1);
|
|
2776
2777
|
}
|
|
2777
2778
|
function b(w) {
|
|
2778
2779
|
l("combobox:input", w.target.value), t.updateOnInput && l("update:modelValue", w.target.value);
|
|
@@ -2780,7 +2781,7 @@ const ln = {
|
|
|
2780
2781
|
function S(w) {
|
|
2781
2782
|
w === !0 || w === !1 ? o.value = w : o.value = !o.value;
|
|
2782
2783
|
}
|
|
2783
|
-
return (w,
|
|
2784
|
+
return (w, B) => (u(), V(En, {
|
|
2784
2785
|
"anchor-id": c(i),
|
|
2785
2786
|
disabled: e.disabled,
|
|
2786
2787
|
"dropdown-position": e.dropdownPosition,
|
|
@@ -2793,12 +2794,12 @@ const ln = {
|
|
|
2793
2794
|
"options-id": c(s),
|
|
2794
2795
|
"selected-option": e.modelValue,
|
|
2795
2796
|
"toggle-id": w.$attrs.id || d.value,
|
|
2796
|
-
onClose:
|
|
2797
|
+
onClose: B[0] || (B[0] = (h) => o.value = !1),
|
|
2797
2798
|
onFocusout: m,
|
|
2798
|
-
"onUpdate:selectedOption":
|
|
2799
|
+
"onUpdate:selectedOption": B[1] || (B[1] = (h) => w.$emit("update:modelValue", h))
|
|
2799
2800
|
}, {
|
|
2800
|
-
toggle:
|
|
2801
|
-
|
|
2801
|
+
toggle: L(() => [
|
|
2802
|
+
D(yn, N({
|
|
2802
2803
|
id: w.$attrs.id || d.value,
|
|
2803
2804
|
"container-id": c(i),
|
|
2804
2805
|
disabled: e.disabled,
|
|
@@ -2818,7 +2819,7 @@ const ln = {
|
|
|
2818
2819
|
_: 1
|
|
2819
2820
|
}, 8, ["anchor-id", "disabled", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options", "options-id", "selected-option", "toggle-id"]));
|
|
2820
2821
|
}
|
|
2821
|
-
}),
|
|
2822
|
+
}), Go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
2822
2823
|
__name: "BsDropdownComboboxField",
|
|
2823
2824
|
props: {
|
|
2824
2825
|
disabled: {
|
|
@@ -2887,21 +2888,21 @@ const ln = {
|
|
|
2887
2888
|
emits: ["update:modelValue", "combobox:change", "combobox:input"],
|
|
2888
2889
|
setup(e, { emit: a }) {
|
|
2889
2890
|
const t = e, [l, n] = X(2), i = p(() => t.error && t.errorMsg || t.hint || void 0), s = p(() => t.inputId || l.value);
|
|
2890
|
-
return (o, d) => (u(), v("div",
|
|
2891
|
-
e.label || o.$slots.label ? (u(),
|
|
2891
|
+
return (o, d) => (u(), v("div", N({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(he)).remaining), [
|
|
2892
|
+
e.label || o.$slots.label ? (u(), V(ae, {
|
|
2892
2893
|
key: 0,
|
|
2893
2894
|
for: o.$attrs.id || s.value,
|
|
2894
2895
|
disabled: e.disabled,
|
|
2895
2896
|
required: e.required
|
|
2896
2897
|
}, {
|
|
2897
|
-
default:
|
|
2898
|
-
|
|
2899
|
-
W(
|
|
2898
|
+
default: L(() => [
|
|
2899
|
+
E(o.$slots, "label", {}, () => [
|
|
2900
|
+
W(A(e.label), 1)
|
|
2900
2901
|
])
|
|
2901
2902
|
]),
|
|
2902
2903
|
_: 3
|
|
2903
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
2904
|
-
|
|
2904
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
2905
|
+
D(At, N({
|
|
2905
2906
|
disabled: e.disabled,
|
|
2906
2907
|
"display-value": e.displayValue,
|
|
2907
2908
|
"dropdown-position": e.dropdownPosition,
|
|
@@ -2920,13 +2921,13 @@ const ln = {
|
|
|
2920
2921
|
"onCombobox:input": d[1] || (d[1] = (r) => o.$emit("combobox:input", r)),
|
|
2921
2922
|
"onUpdate:modelValue": d[2] || (d[2] = (r) => o.$emit("update:modelValue", r))
|
|
2922
2923
|
}, c(Y)(o.$attrs, c(he)).filtered), null, 16, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-text", "helper-description", "hint-id", "input-id", "model-value", "options", "placeholder", "required", "update-on-input"]),
|
|
2923
|
-
i.value ? (u(),
|
|
2924
|
+
i.value ? (u(), V(ge, {
|
|
2924
2925
|
key: 1,
|
|
2925
2926
|
error: e.error,
|
|
2926
2927
|
"error-msg": e.errorMsg,
|
|
2927
2928
|
hint: e.hint || o.hintDeprecated,
|
|
2928
2929
|
"hint-id": c(n)
|
|
2929
|
-
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) :
|
|
2930
|
+
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
2930
2931
|
], 16));
|
|
2931
2932
|
}
|
|
2932
2933
|
}), Ln = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
|
|
@@ -2965,25 +2966,25 @@ const ln = {
|
|
|
2965
2966
|
"update:modelValue"
|
|
2966
2967
|
],
|
|
2967
2968
|
setup(e, { expose: a, emit: t }) {
|
|
2968
|
-
const l = e, n = t, i =
|
|
2969
|
+
const l = e, n = t, i = k(null), s = k(null), o = k(-1), d = k(-1), r = k(null), f = k(!1), m = fe("dropdownEnter", k(!1)), b = fe("dropdownAfterEnter", k(!1)), S = fe("dropdownShown", k(!1));
|
|
2969
2970
|
ce("optionsId", p(() => l.optionsId)), ce("handleOptionSelect", ye), fa(i, g, { childList: !0 }), pe([" ", "Enter", "NumpadEnter"], ke, i), pe(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
|
|
2970
|
-
const h = [/^[a-zA-Z0-9]{1}$/],
|
|
2971
|
+
const h = [/^[a-zA-Z0-9]{1}$/], $ = {
|
|
2971
2972
|
keys: "",
|
|
2972
2973
|
lastTyped: 0
|
|
2973
2974
|
};
|
|
2974
|
-
pe(h, (
|
|
2975
|
+
pe(h, (O) => xe(O, $)), H(() => {
|
|
2975
2976
|
g(), J(S.value);
|
|
2976
2977
|
}), j(
|
|
2977
2978
|
[m, () => {
|
|
2978
|
-
var
|
|
2979
|
-
return (
|
|
2979
|
+
var O;
|
|
2980
|
+
return (O = r.value) == null ? void 0 : O.length;
|
|
2980
2981
|
}],
|
|
2981
|
-
([
|
|
2982
|
-
(
|
|
2982
|
+
([O, F]) => {
|
|
2983
|
+
(O || F > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
|
|
2983
2984
|
}
|
|
2984
|
-
), j(b, (
|
|
2985
|
-
|
|
2986
|
-
}), j(S, (
|
|
2985
|
+
), j(b, (O) => {
|
|
2986
|
+
O && (M(), T());
|
|
2987
|
+
}), j(S, (O) => J(O));
|
|
2987
2988
|
const y = p(() => l.modelValue || l.selectedValue);
|
|
2988
2989
|
function g() {
|
|
2989
2990
|
r.value = Array.from(
|
|
@@ -2994,64 +2995,64 @@ const ln = {
|
|
|
2994
2995
|
i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
|
|
2995
2996
|
}
|
|
2996
2997
|
function T() {
|
|
2997
|
-
var
|
|
2998
|
-
o.value > -1 && (M(), (
|
|
2998
|
+
var O;
|
|
2999
|
+
o.value > -1 && (M(), (O = r.value[o.value]) == null || O.scrollIntoView({ block: "nearest" }));
|
|
2999
3000
|
}
|
|
3000
|
-
function
|
|
3001
|
-
var
|
|
3002
|
-
o.value > -1 && ((
|
|
3001
|
+
function q() {
|
|
3002
|
+
var O, F;
|
|
3003
|
+
o.value > -1 && ((O = r.value[o.value]) == null || O.setAttribute("data-active", ""), s.value = (F = r.value[o.value]) == null ? void 0 : F.id, T());
|
|
3003
3004
|
}
|
|
3004
3005
|
function R() {
|
|
3005
|
-
var
|
|
3006
|
-
o.value > -1 && ((
|
|
3006
|
+
var O;
|
|
3007
|
+
o.value > -1 && ((O = r.value[o.value]) == null || O.removeAttribute("data-active"));
|
|
3007
3008
|
}
|
|
3008
3009
|
function _() {
|
|
3009
|
-
var
|
|
3010
|
-
o.value < 0 && (o.value = 0, s.value = (
|
|
3010
|
+
var O;
|
|
3011
|
+
o.value < 0 && (o.value = 0, s.value = (O = r.value[0]) == null ? void 0 : O.id), q();
|
|
3011
3012
|
}
|
|
3012
|
-
function J(
|
|
3013
|
-
|
|
3013
|
+
function J(O) {
|
|
3014
|
+
O ? ne() : me();
|
|
3014
3015
|
}
|
|
3015
3016
|
function ne() {
|
|
3016
|
-
var
|
|
3017
|
+
var O, F;
|
|
3017
3018
|
l.multiselect || (d.value = r.value.findIndex(
|
|
3018
|
-
(
|
|
3019
|
-
), !l.multiselect && d.value > -1 && ((
|
|
3019
|
+
(P) => P.getAttribute("data-value") === String(y.value)
|
|
3020
|
+
), !l.multiselect && d.value > -1 && ((O = r.value[d.value]) == null || O.setAttribute("data-selected", ""), (F = r.value[d.value]) == null || F.setAttribute("aria-selected", "true")), o.value = d.value);
|
|
3020
3021
|
}
|
|
3021
3022
|
function me() {
|
|
3022
|
-
r.value.forEach((
|
|
3023
|
-
|
|
3023
|
+
r.value.forEach((O) => {
|
|
3024
|
+
O.removeAttribute("data-selected"), O.setAttribute("aria-selected", "false");
|
|
3024
3025
|
}), R(), d.value = -1, o.value = -1, s.value = null;
|
|
3025
3026
|
}
|
|
3026
|
-
function ye(
|
|
3027
|
-
var
|
|
3028
|
-
(
|
|
3029
|
-
let F =
|
|
3030
|
-
|
|
3027
|
+
function ye(O) {
|
|
3028
|
+
var P;
|
|
3029
|
+
(P = O.querySelector("a")) == null || P.click();
|
|
3030
|
+
let F = O.getAttribute("data-value");
|
|
3031
|
+
O.getAttribute("data-value-type") === "number" && (F = Number(F)), s.value = O.id, R(), n("optselected", F), n("update:modelValue", F), n("close");
|
|
3031
3032
|
}
|
|
3032
|
-
function ke(
|
|
3033
|
-
ye(r.value[o.value]),
|
|
3033
|
+
function ke(O) {
|
|
3034
|
+
ye(r.value[o.value]), O.preventDefault();
|
|
3034
3035
|
}
|
|
3035
|
-
function Ce(
|
|
3036
|
+
function Ce(O) {
|
|
3036
3037
|
if (S.value)
|
|
3037
|
-
switch (
|
|
3038
|
+
switch (O.key) {
|
|
3038
3039
|
case "ArrowDown":
|
|
3039
|
-
re("down"),
|
|
3040
|
+
re("down"), O.preventDefault();
|
|
3040
3041
|
break;
|
|
3041
3042
|
case "ArrowUp":
|
|
3042
|
-
re("up"),
|
|
3043
|
+
re("up"), O.preventDefault();
|
|
3043
3044
|
break;
|
|
3044
3045
|
case "Home":
|
|
3045
|
-
re("home"),
|
|
3046
|
+
re("home"), O.preventDefault();
|
|
3046
3047
|
break;
|
|
3047
3048
|
case "End":
|
|
3048
|
-
re("end"),
|
|
3049
|
+
re("end"), O.preventDefault();
|
|
3049
3050
|
break;
|
|
3050
3051
|
}
|
|
3051
3052
|
}
|
|
3052
|
-
function re(
|
|
3053
|
+
function re(O) {
|
|
3053
3054
|
let F;
|
|
3054
|
-
switch (
|
|
3055
|
+
switch (O) {
|
|
3055
3056
|
case "up":
|
|
3056
3057
|
F = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
|
|
3057
3058
|
break;
|
|
@@ -3067,23 +3068,23 @@ const ln = {
|
|
|
3067
3068
|
}
|
|
3068
3069
|
Se(F);
|
|
3069
3070
|
}
|
|
3070
|
-
function xe(
|
|
3071
|
+
function xe(O, F) {
|
|
3071
3072
|
if (!S.value)
|
|
3072
3073
|
return;
|
|
3073
|
-
F.keys =
|
|
3074
|
-
const
|
|
3075
|
-
|
|
3074
|
+
F.keys = O.timeStamp - F.lastTyped > 500 ? O.key : F.keys + O.key, F.lastTyped = O.timeStamp;
|
|
3075
|
+
const P = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(F.keys));
|
|
3076
|
+
P > -1 && Se(P, !1);
|
|
3076
3077
|
}
|
|
3077
|
-
function Se(
|
|
3078
|
-
R(), o.value =
|
|
3078
|
+
function Se(O, F = !0) {
|
|
3079
|
+
R(), o.value = O, document.activeElement !== i.value && F ? i.value.focus() : q();
|
|
3079
3080
|
}
|
|
3080
3081
|
return a({
|
|
3081
3082
|
activeIndex: o,
|
|
3082
3083
|
optionEls: r,
|
|
3083
3084
|
optionsRef: i,
|
|
3084
3085
|
refreshOptions: g,
|
|
3085
|
-
setCurrentActive:
|
|
3086
|
-
}), (
|
|
3086
|
+
setCurrentActive: q
|
|
3087
|
+
}), (O, F) => (u(), v("ul", {
|
|
3087
3088
|
ref_key: "optionsRef",
|
|
3088
3089
|
ref: i,
|
|
3089
3090
|
"aria-activedescendant": s.value || void 0,
|
|
@@ -3099,15 +3100,15 @@ const ln = {
|
|
|
3099
3100
|
onMousedown: F[0] || (F[0] = Mt(() => {
|
|
3100
3101
|
}, ["prevent"]))
|
|
3101
3102
|
}, [
|
|
3102
|
-
|
|
3103
|
+
E(O.$slots, "default")
|
|
3103
3104
|
], 40, Ln));
|
|
3104
3105
|
}
|
|
3105
3106
|
}, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3106
3107
|
__proto__: null,
|
|
3107
3108
|
default: Re
|
|
3108
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3109
|
-
|
|
3110
|
-
],
|
|
3109
|
+
}, Symbol.toStringTag, { value: "Module" })), qn = { role: "separator" }, Pn = /* @__PURE__ */ I("hr", null, null, -1), Mn = [
|
|
3110
|
+
Pn
|
|
3111
|
+
], zn = {
|
|
3111
3112
|
key: 1,
|
|
3112
3113
|
role: "option",
|
|
3113
3114
|
"data-no-hover": "true"
|
|
@@ -3145,12 +3146,12 @@ const ln = {
|
|
|
3145
3146
|
"uncheck-option"
|
|
3146
3147
|
],
|
|
3147
3148
|
setup(e, { emit: a }) {
|
|
3148
|
-
const t = e, l = a, n =
|
|
3149
|
-
var
|
|
3150
|
-
return ((
|
|
3149
|
+
const t = e, l = a, n = k(null), i = k([]), s = k([]), o = p(() => {
|
|
3150
|
+
var B, h;
|
|
3151
|
+
return ((B = i.value) == null ? void 0 : B.length) && ((h = s.value) == null ? void 0 : h.length);
|
|
3151
3152
|
}), d = p(() => {
|
|
3152
|
-
var
|
|
3153
|
-
return ((
|
|
3153
|
+
var B, h;
|
|
3154
|
+
return ((B = i.value) == null ? void 0 : B.length) || ((h = s.value) == null ? void 0 : h.length);
|
|
3154
3155
|
});
|
|
3155
3156
|
let r = !1;
|
|
3156
3157
|
j(() => t.options, () => {
|
|
@@ -3159,8 +3160,8 @@ const ln = {
|
|
|
3159
3160
|
() => t.selectedOptions,
|
|
3160
3161
|
b,
|
|
3161
3162
|
{ immediate: !0 }
|
|
3162
|
-
), j(() => t.shown, (
|
|
3163
|
-
|
|
3163
|
+
), j(() => t.shown, (B) => {
|
|
3164
|
+
B && t.focusOnOpen && Ae(f);
|
|
3164
3165
|
});
|
|
3165
3166
|
function f() {
|
|
3166
3167
|
n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
|
|
@@ -3168,28 +3169,28 @@ const ln = {
|
|
|
3168
3169
|
function m() {
|
|
3169
3170
|
n.value && (n.value.refreshOptions(), n.value.setCurrentActive());
|
|
3170
3171
|
}
|
|
3171
|
-
function b(
|
|
3172
|
-
const h = new Set(
|
|
3172
|
+
function b(B = []) {
|
|
3173
|
+
const h = new Set(B), $ = [], y = [];
|
|
3173
3174
|
t.options.forEach((g) => {
|
|
3174
3175
|
const M = { ...g }, T = `${t.optionsId}-${g.value}-cb`;
|
|
3175
|
-
h.has(g.value) ? (M.checkbox = { inputId: T, checked: !0 },
|
|
3176
|
-
}), i.value =
|
|
3176
|
+
h.has(g.value) ? (M.checkbox = { inputId: T, checked: !0 }, $.push(M)) : (M.checkbox = { inputId: T, checked: !1 }, y.push(M));
|
|
3177
|
+
}), i.value = $, Ae(() => {
|
|
3177
3178
|
s.value = y, Ae(() => {
|
|
3178
3179
|
r && m(), r = !1;
|
|
3179
3180
|
});
|
|
3180
3181
|
});
|
|
3181
3182
|
}
|
|
3182
|
-
function S(
|
|
3183
|
-
const h = new Set(
|
|
3183
|
+
function S(B = []) {
|
|
3184
|
+
const h = new Set(B), $ = [];
|
|
3184
3185
|
return t.options.forEach((y) => {
|
|
3185
|
-
h.has(y.value) &&
|
|
3186
|
-
}),
|
|
3186
|
+
h.has(y.value) && $.push(y.value);
|
|
3187
|
+
}), $;
|
|
3187
3188
|
}
|
|
3188
|
-
function w(
|
|
3189
|
+
function w(B) {
|
|
3189
3190
|
let h = [];
|
|
3190
|
-
t.selectedOptions.includes(
|
|
3191
|
+
t.selectedOptions.includes(B) ? (h = t.selectedOptions.filter(($) => $ !== B), l("uncheck-option", B)) : (h = S([...t.selectedOptions, B]), l("check-option", B)), r = !0, l("update:selectedOptions", h);
|
|
3191
3192
|
}
|
|
3192
|
-
return (
|
|
3193
|
+
return (B, h) => (u(), V(Re, {
|
|
3193
3194
|
ref_key: "optlist",
|
|
3194
3195
|
ref: n,
|
|
3195
3196
|
"aria-multiselectable": "true",
|
|
@@ -3200,21 +3201,21 @@ const ln = {
|
|
|
3200
3201
|
shown: e.shown,
|
|
3201
3202
|
"onUpdate:modelValue": w
|
|
3202
3203
|
}, {
|
|
3203
|
-
default:
|
|
3204
|
+
default: L(() => [
|
|
3204
3205
|
d.value ? (u(), v(G, { key: 0 }, [
|
|
3205
|
-
|
|
3206
|
+
D(Pe, {
|
|
3206
3207
|
options: i.value,
|
|
3207
3208
|
"show-no-options": !1
|
|
3208
3209
|
}, null, 8, ["options"]),
|
|
3209
|
-
de(
|
|
3210
|
+
de(I("li", qn, Mn, 512), [
|
|
3210
3211
|
[ue, o.value]
|
|
3211
3212
|
]),
|
|
3212
|
-
|
|
3213
|
+
D(Pe, {
|
|
3213
3214
|
options: s.value,
|
|
3214
3215
|
"show-no-options": !1
|
|
3215
3216
|
}, null, 8, ["options"])
|
|
3216
|
-
], 64)) : (u(), v("li",
|
|
3217
|
-
|
|
3217
|
+
], 64)) : (u(), v("li", zn, [
|
|
3218
|
+
E(B.$slots, "no-options", {}, () => [
|
|
3218
3219
|
W("No options")
|
|
3219
3220
|
])
|
|
3220
3221
|
]))
|
|
@@ -3222,7 +3223,7 @@ const ln = {
|
|
|
3222
3223
|
_: 3
|
|
3223
3224
|
}, 8, ["label", "options-id", "shown"]));
|
|
3224
3225
|
}
|
|
3225
|
-
},
|
|
3226
|
+
}, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3226
3227
|
__proto__: null,
|
|
3227
3228
|
default: Vt
|
|
3228
3229
|
}, Symbol.toStringTag, { value: "Module" })), Rn = {
|
|
@@ -3300,7 +3301,7 @@ const ln = {
|
|
|
3300
3301
|
"after-leave"
|
|
3301
3302
|
],
|
|
3302
3303
|
setup(e, { emit: a }) {
|
|
3303
|
-
const t = a, l =
|
|
3304
|
+
const t = a, l = k(!1);
|
|
3304
3305
|
function n() {
|
|
3305
3306
|
l.value = !0;
|
|
3306
3307
|
}
|
|
@@ -3310,7 +3311,7 @@ const ln = {
|
|
|
3310
3311
|
function s() {
|
|
3311
3312
|
l.value && (l.value = !1, t("close"));
|
|
3312
3313
|
}
|
|
3313
|
-
return (o, d) => (u(),
|
|
3314
|
+
return (o, d) => (u(), V(c(lt), {
|
|
3314
3315
|
"anchor-id": e.anchorId,
|
|
3315
3316
|
breakout: e.breakout,
|
|
3316
3317
|
"container-id": e.containerId,
|
|
@@ -3326,8 +3327,8 @@ const ln = {
|
|
|
3326
3327
|
onEnter: n,
|
|
3327
3328
|
onAfterLeave: d[1] || (d[1] = (r) => t("after-leave"))
|
|
3328
3329
|
}, {
|
|
3329
|
-
default:
|
|
3330
|
-
|
|
3330
|
+
default: L(() => [
|
|
3331
|
+
D(c(Re), {
|
|
3331
3332
|
label: e.label,
|
|
3332
3333
|
"model-value": e.modelValue,
|
|
3333
3334
|
"options-id": e.optionsId,
|
|
@@ -3336,8 +3337,8 @@ const ln = {
|
|
|
3336
3337
|
"onUpdate:modelValue": i,
|
|
3337
3338
|
onClose: s
|
|
3338
3339
|
}, {
|
|
3339
|
-
default:
|
|
3340
|
-
|
|
3340
|
+
default: L(() => [
|
|
3341
|
+
E(o.$slots, "default")
|
|
3341
3342
|
]),
|
|
3342
3343
|
_: 3
|
|
3343
3344
|
}, 8, ["label", "model-value", "options-id", "prevent-tab", "type-to-focus"])
|
|
@@ -3459,11 +3460,11 @@ const ln = {
|
|
|
3459
3460
|
"after-leave"
|
|
3460
3461
|
],
|
|
3461
3462
|
setup(e, { emit: a }) {
|
|
3462
|
-
const t = e, l = a, { transition: n } =
|
|
3463
|
+
const t = e, l = a, { transition: n } = Le(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId), d = p(() => t.selectedValue || t.modelValue);
|
|
3463
3464
|
function r(f) {
|
|
3464
3465
|
l("optselected", f), l("update:modelValue", f);
|
|
3465
3466
|
}
|
|
3466
|
-
return (f, m) => (u(),
|
|
3467
|
+
return (f, m) => (u(), V(Rn, {
|
|
3467
3468
|
"anchor-id": o.value,
|
|
3468
3469
|
breakout: e.breakout,
|
|
3469
3470
|
"container-id": e.containerId,
|
|
@@ -3483,13 +3484,59 @@ const ln = {
|
|
|
3483
3484
|
onAfterLeave: m[2] || (m[2] = (b) => l("after-leave")),
|
|
3484
3485
|
"onUpdate:modelValue": r
|
|
3485
3486
|
}, {
|
|
3486
|
-
default:
|
|
3487
|
-
|
|
3487
|
+
default: L(() => [
|
|
3488
|
+
E(f.$slots, "default")
|
|
3488
3489
|
]),
|
|
3489
3490
|
_: 3
|
|
3490
3491
|
}, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
|
|
3491
3492
|
}
|
|
3492
|
-
}, Fn = ["data-
|
|
3493
|
+
}, Fn = ["data-size"], jn = { class: "bs-empty-state-icon" }, Un = { class: "bs-empty-state-title" }, Wn = {
|
|
3494
|
+
key: 0,
|
|
3495
|
+
class: "bs-empty-state-description"
|
|
3496
|
+
}, Ho = {
|
|
3497
|
+
__name: "BsEmptyState",
|
|
3498
|
+
props: {
|
|
3499
|
+
description: {
|
|
3500
|
+
type: String,
|
|
3501
|
+
default: ""
|
|
3502
|
+
},
|
|
3503
|
+
iconName: {
|
|
3504
|
+
type: String,
|
|
3505
|
+
required: !0
|
|
3506
|
+
},
|
|
3507
|
+
size: {
|
|
3508
|
+
type: String,
|
|
3509
|
+
validator: (e) => ["xs", "sm", "md", "lg"].includes(e),
|
|
3510
|
+
default: "md"
|
|
3511
|
+
},
|
|
3512
|
+
title: {
|
|
3513
|
+
type: String,
|
|
3514
|
+
required: !0
|
|
3515
|
+
}
|
|
3516
|
+
},
|
|
3517
|
+
setup(e) {
|
|
3518
|
+
const a = e, { icon: t } = Ve(a, "iconName");
|
|
3519
|
+
return (l, n) => (u(), v("div", {
|
|
3520
|
+
class: "bs-empty-state",
|
|
3521
|
+
"data-size": e.size
|
|
3522
|
+
}, [
|
|
3523
|
+
I("div", jn, [
|
|
3524
|
+
E(l.$slots, "icon", {}, () => [
|
|
3525
|
+
(u(), V(te(c(t)), { size: "" }))
|
|
3526
|
+
])
|
|
3527
|
+
]),
|
|
3528
|
+
I("div", null, [
|
|
3529
|
+
I("p", Un, A(e.title), 1),
|
|
3530
|
+
e.size !== "xs" ? (u(), v("p", Wn, [
|
|
3531
|
+
E(l.$slots, "description", {}, () => [
|
|
3532
|
+
W(A(e.description), 1)
|
|
3533
|
+
])
|
|
3534
|
+
])) : C("", !0),
|
|
3535
|
+
E(l.$slots, "call-to-action")
|
|
3536
|
+
])
|
|
3537
|
+
], 8, Fn));
|
|
3538
|
+
}
|
|
3539
|
+
}, Gn = ["data-absolute", "data-position", "data-shown", "data-size"], Hn = { class: "bs-flyout-close-container" }, Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3493
3540
|
__name: "BsFlyout",
|
|
3494
3541
|
props: {
|
|
3495
3542
|
absolute: {
|
|
@@ -3525,18 +3572,18 @@ const ln = {
|
|
|
3525
3572
|
},
|
|
3526
3573
|
emits: ["close"],
|
|
3527
3574
|
setup(e, { emit: a }) {
|
|
3528
|
-
const t = e, l = a, n =
|
|
3575
|
+
const t = e, l = a, n = k(null), i = p(() => document.getElementById(t.toggleId));
|
|
3529
3576
|
kt([n, i], s), pe(["Escape"], s);
|
|
3530
3577
|
function s() {
|
|
3531
3578
|
t.shown && l("close");
|
|
3532
3579
|
}
|
|
3533
|
-
return (o, d) => (u(),
|
|
3580
|
+
return (o, d) => (u(), V(qe, {
|
|
3534
3581
|
name: "bs-flyout",
|
|
3535
3582
|
preloaded: e.preloaded,
|
|
3536
3583
|
shown: e.shown
|
|
3537
3584
|
}, {
|
|
3538
|
-
default:
|
|
3539
|
-
|
|
3585
|
+
default: L(() => [
|
|
3586
|
+
I("div", N({
|
|
3540
3587
|
ref_key: "flyout",
|
|
3541
3588
|
ref: n,
|
|
3542
3589
|
class: "bs-flyout",
|
|
@@ -3545,26 +3592,26 @@ const ln = {
|
|
|
3545
3592
|
"data-shown": e.shown,
|
|
3546
3593
|
"data-size": e.size
|
|
3547
3594
|
}, o.$attrs), [
|
|
3548
|
-
|
|
3549
|
-
|
|
3595
|
+
I("div", Hn, [
|
|
3596
|
+
I("button", {
|
|
3550
3597
|
type: "button",
|
|
3551
3598
|
title: "Close",
|
|
3552
3599
|
"aria-label": "Close",
|
|
3553
3600
|
onClick: s
|
|
3554
3601
|
}, [
|
|
3555
|
-
|
|
3602
|
+
D(c(Be))
|
|
3556
3603
|
])
|
|
3557
3604
|
]),
|
|
3558
|
-
|
|
3559
|
-
], 16,
|
|
3605
|
+
E(o.$slots, "default")
|
|
3606
|
+
], 16, Gn)
|
|
3560
3607
|
]),
|
|
3561
3608
|
_: 3
|
|
3562
3609
|
}, 8, ["preloaded", "shown"]));
|
|
3563
3610
|
}
|
|
3564
|
-
}),
|
|
3611
|
+
}), Kn = ["view-box"], Yn = ["id"], Zn = ["offset", "stop-color"], Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3565
3612
|
__name: "BsIconGradientWrapper",
|
|
3566
3613
|
setup(e) {
|
|
3567
|
-
const a =
|
|
3614
|
+
const a = k(null), t = k(null), l = [
|
|
3568
3615
|
{ offset: 0.1326, color: "#EE282A" },
|
|
3569
3616
|
{ offset: 0.5466, color: "#1C0087" },
|
|
3570
3617
|
{ offset: 0.9715, color: "#0086EA" }
|
|
@@ -3572,13 +3619,13 @@ const ln = {
|
|
|
3572
3619
|
return H(() => {
|
|
3573
3620
|
t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
|
|
3574
3621
|
}), (i, s) => (u(), v(G, null, [
|
|
3575
|
-
|
|
3622
|
+
I("span", N({
|
|
3576
3623
|
ref_key: "svgWrapperRef",
|
|
3577
3624
|
ref: a,
|
|
3578
3625
|
class: "bs-icon-gradient-wrapper",
|
|
3579
3626
|
style: `fill: url(#${c(n)});`
|
|
3580
3627
|
}, i.$attrs), [
|
|
3581
|
-
|
|
3628
|
+
E(i.$slots, "default")
|
|
3582
3629
|
], 16),
|
|
3583
3630
|
(u(), v("svg", {
|
|
3584
3631
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3586,7 +3633,7 @@ const ln = {
|
|
|
3586
3633
|
width: "0",
|
|
3587
3634
|
height: "0"
|
|
3588
3635
|
}, [
|
|
3589
|
-
|
|
3636
|
+
I("linearGradient", {
|
|
3590
3637
|
id: c(n),
|
|
3591
3638
|
x1: "0",
|
|
3592
3639
|
y1: "0",
|
|
@@ -3594,16 +3641,16 @@ const ln = {
|
|
|
3594
3641
|
y2: "100%",
|
|
3595
3642
|
"gradient-units": "userSpaceOnUse"
|
|
3596
3643
|
}, [
|
|
3597
|
-
(u(), v(G, null, ee(l, (o) =>
|
|
3644
|
+
(u(), v(G, null, ee(l, (o) => I("stop", {
|
|
3598
3645
|
key: o.offset,
|
|
3599
3646
|
offset: o.offset,
|
|
3600
3647
|
"stop-color": o.color
|
|
3601
|
-
}, null, 8,
|
|
3602
|
-
], 8,
|
|
3603
|
-
], 8,
|
|
3648
|
+
}, null, 8, Zn)), 64))
|
|
3649
|
+
], 8, Yn)
|
|
3650
|
+
], 8, Kn))
|
|
3604
3651
|
], 64));
|
|
3605
3652
|
}
|
|
3606
|
-
}),
|
|
3653
|
+
}), Zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3607
3654
|
__name: "BsInputField",
|
|
3608
3655
|
props: {
|
|
3609
3656
|
/** Sets the disabled state on input, disabled styles on label. */
|
|
@@ -3655,21 +3702,21 @@ const ln = {
|
|
|
3655
3702
|
return ((f = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
|
|
3656
3703
|
`)) || t.hints;
|
|
3657
3704
|
}), o = p(() => t.error && t.errorMsg || t.hint || s.value || void 0), d = p(() => t.inputId || l.value);
|
|
3658
|
-
return (r, f) => (u(), v("div",
|
|
3659
|
-
e.label || r.$slots.label ? (u(),
|
|
3705
|
+
return (r, f) => (u(), v("div", N({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
|
|
3706
|
+
e.label || r.$slots.label ? (u(), V(ae, {
|
|
3660
3707
|
key: 0,
|
|
3661
3708
|
for: r.$attrs.id || d.value,
|
|
3662
3709
|
disabled: e.disabled,
|
|
3663
3710
|
required: e.required
|
|
3664
3711
|
}, {
|
|
3665
|
-
default:
|
|
3666
|
-
|
|
3667
|
-
W(
|
|
3712
|
+
default: L(() => [
|
|
3713
|
+
E(r.$slots, "label", {}, () => [
|
|
3714
|
+
W(A(e.label), 1)
|
|
3668
3715
|
])
|
|
3669
3716
|
]),
|
|
3670
3717
|
_: 3
|
|
3671
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
3672
|
-
|
|
3718
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
3719
|
+
D(Ie, N({
|
|
3673
3720
|
disabled: e.disabled,
|
|
3674
3721
|
error: e.error,
|
|
3675
3722
|
"hint-id": c(n),
|
|
@@ -3680,13 +3727,13 @@ const ln = {
|
|
|
3680
3727
|
value: e.value || e.modelValue,
|
|
3681
3728
|
"onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
|
|
3682
3729
|
}, c(Y)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
|
|
3683
|
-
o.value ? (u(),
|
|
3730
|
+
o.value ? (u(), V(ge, {
|
|
3684
3731
|
key: 1,
|
|
3685
3732
|
error: e.error,
|
|
3686
3733
|
"error-msg": e.errorMsg,
|
|
3687
3734
|
hint: e.hint || s.value,
|
|
3688
3735
|
"hint-id": c(n)
|
|
3689
|
-
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) :
|
|
3736
|
+
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
3690
3737
|
], 16));
|
|
3691
3738
|
}
|
|
3692
3739
|
}), ht = {
|
|
@@ -3757,10 +3804,10 @@ const ln = {
|
|
|
3757
3804
|
this.data[e][t[a]] = t;
|
|
3758
3805
|
}));
|
|
3759
3806
|
}
|
|
3760
|
-
},
|
|
3807
|
+
}, Xn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], Qn = { key: 0 }, Jn = {
|
|
3761
3808
|
"aria-hidden": "true",
|
|
3762
3809
|
style: { width: "1.25rem" }
|
|
3763
|
-
},
|
|
3810
|
+
}, _n = { "aria-hidden": "true" }, Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3764
3811
|
__name: "BsInputPhone",
|
|
3765
3812
|
props: {
|
|
3766
3813
|
deferValidation: {
|
|
@@ -3822,83 +3869,83 @@ const ln = {
|
|
|
3822
3869
|
"Escape",
|
|
3823
3870
|
"Home",
|
|
3824
3871
|
"Tab"
|
|
3825
|
-
], s =
|
|
3872
|
+
], s = k(null), o = k(1), d = k([]), r = k(null), [
|
|
3826
3873
|
f,
|
|
3827
3874
|
m,
|
|
3828
3875
|
b,
|
|
3829
3876
|
S
|
|
3830
|
-
] = X(4), w =
|
|
3877
|
+
] = X(4), w = k(!1), B = k(""), h = k(""), $ = k(!1), y = k(!1), g = k(!0);
|
|
3831
3878
|
a({
|
|
3832
|
-
validationErr:
|
|
3879
|
+
validationErr: $,
|
|
3833
3880
|
validationErrMsg: h
|
|
3834
3881
|
});
|
|
3835
|
-
const M = p(() =>
|
|
3836
|
-
j(M, (
|
|
3837
|
-
n("update:modelValue",
|
|
3882
|
+
const M = p(() => B.value ? `+${o.value}${B.value}` : ""), T = p(() => `Country code: ${o.value}. Click to change.`), q = p(() => g.value ? l.errorMsg || h.value : ""), R = p(() => l.error || $.value), _ = p(() => l.hint || R.value && q.value), J = p(() => g.value && R.value);
|
|
3883
|
+
j(M, (P) => {
|
|
3884
|
+
n("update:modelValue", P), F(P);
|
|
3838
3885
|
}), j(() => l.modelValue, ne), xe(), H(() => w.value = !0);
|
|
3839
|
-
function ne(
|
|
3840
|
-
|
|
3886
|
+
function ne(P, K) {
|
|
3887
|
+
P === "" && P !== K && (B.value = "");
|
|
3841
3888
|
}
|
|
3842
3889
|
function me() {
|
|
3843
|
-
var
|
|
3844
|
-
y.value && (y.value = !1, (
|
|
3890
|
+
var P;
|
|
3891
|
+
y.value && (y.value = !1, (P = s.value) == null || P.focus());
|
|
3845
3892
|
}
|
|
3846
|
-
function ye(
|
|
3893
|
+
function ye(P) {
|
|
3847
3894
|
var K;
|
|
3848
|
-
o.value =
|
|
3895
|
+
o.value = P, y.value = !1, (K = s.value) == null || K.focus(), O(P);
|
|
3849
3896
|
}
|
|
3850
3897
|
function ke() {
|
|
3851
3898
|
l.deferValidation && (g.value = !0), n("input-blur");
|
|
3852
3899
|
}
|
|
3853
|
-
function Ce(
|
|
3854
|
-
|
|
3900
|
+
function Ce(P) {
|
|
3901
|
+
B.value = P.target.value, l.deferValidation && (g.value = !1);
|
|
3855
3902
|
}
|
|
3856
|
-
function re(
|
|
3903
|
+
function re(P) {
|
|
3857
3904
|
var K, Z;
|
|
3858
|
-
!((Z = (K =
|
|
3905
|
+
!((Z = (K = P.key) == null ? void 0 : K.match) != null && Z.call(K, /[0-9]/)) && !i.includes(P.key) && !P.ctrlKey && !P.metaKey && P.preventDefault();
|
|
3859
3906
|
}
|
|
3860
3907
|
function xe() {
|
|
3861
|
-
je.initSourceData(), Se(),
|
|
3908
|
+
je.initSourceData(), Se(), O(o.value), F(M.value);
|
|
3862
3909
|
}
|
|
3863
3910
|
function Se() {
|
|
3864
3911
|
var K, Z;
|
|
3865
|
-
let
|
|
3866
|
-
|
|
3912
|
+
let P = ut(l.modelValue);
|
|
3913
|
+
P.valid || P.countryCode && ((Z = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && Z.call(K, "+")) ? (o.value = P.countryCode, B.value = P.number.significant) : B.value = l.modelValue, d.value = je.data.allCountries.map((Te) => ({
|
|
3867
3914
|
...Te,
|
|
3868
3915
|
isSelected: o.value === Te
|
|
3869
3916
|
}));
|
|
3870
3917
|
}
|
|
3871
|
-
function
|
|
3872
|
-
r.value = je.getCountryByCountryCode(
|
|
3918
|
+
function O(P) {
|
|
3919
|
+
r.value = je.getCountryByCountryCode(P);
|
|
3873
3920
|
}
|
|
3874
|
-
function F(
|
|
3875
|
-
|
|
3921
|
+
function F(P) {
|
|
3922
|
+
$.value = P ? !ut(P).valid : !1, h.value = $.value ? "Invalid phone number" : "";
|
|
3876
3923
|
}
|
|
3877
|
-
return (
|
|
3924
|
+
return (P, K) => (u(), v("div", N({
|
|
3878
3925
|
class: "bs-input-phone",
|
|
3879
3926
|
"data-component": "bs-input-phone"
|
|
3880
|
-
}, c(Y)(
|
|
3881
|
-
|
|
3882
|
-
for:
|
|
3927
|
+
}, c(Y)(P.$attrs, c(he)).remaining), [
|
|
3928
|
+
D(ae, {
|
|
3929
|
+
for: P.$attrs.id || e.inputId || c(S),
|
|
3883
3930
|
required: e.required,
|
|
3884
3931
|
disabled: e.disabled,
|
|
3885
3932
|
class: ie({ "visually-hidden": e.hideLabel })
|
|
3886
3933
|
}, {
|
|
3887
|
-
default:
|
|
3888
|
-
W(
|
|
3934
|
+
default: L(() => [
|
|
3935
|
+
W(A(e.label), 1)
|
|
3889
3936
|
]),
|
|
3890
3937
|
_: 1
|
|
3891
3938
|
}, 8, ["for", "required", "disabled", "class"]),
|
|
3892
|
-
|
|
3939
|
+
D(De, {
|
|
3893
3940
|
disabled: e.disabled,
|
|
3894
3941
|
error: J.value,
|
|
3895
3942
|
multifocus: !0,
|
|
3896
3943
|
variant: "inner-bordered"
|
|
3897
3944
|
}, {
|
|
3898
|
-
default:
|
|
3945
|
+
default: L(() => {
|
|
3899
3946
|
var Z;
|
|
3900
3947
|
return [
|
|
3901
|
-
|
|
3948
|
+
I("button", {
|
|
3902
3949
|
id: c(f),
|
|
3903
3950
|
ref_key: "countryCodesToggle",
|
|
3904
3951
|
ref: s,
|
|
@@ -3910,19 +3957,19 @@ const ln = {
|
|
|
3910
3957
|
type: "button",
|
|
3911
3958
|
onClick: K[0] || (K[0] = (Te) => y.value = !y.value)
|
|
3912
3959
|
}, [
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
], 8,
|
|
3917
|
-
|
|
3918
|
-
"input-id":
|
|
3960
|
+
I("span", null, A((Z = r.value) == null ? void 0 : Z.flag), 1),
|
|
3961
|
+
I("span", null, "+" + A(o.value), 1),
|
|
3962
|
+
D(c(Ft), { size: "sm" })
|
|
3963
|
+
], 8, Xn),
|
|
3964
|
+
D(Ie, N({
|
|
3965
|
+
"input-id": P.$attrs.id || e.inputId || c(S),
|
|
3919
3966
|
disabled: e.disabled,
|
|
3920
3967
|
"hint-id": c(b),
|
|
3921
3968
|
placeholder: e.placeholder,
|
|
3922
|
-
value:
|
|
3969
|
+
value: B.value,
|
|
3923
3970
|
"data-autowidth": "",
|
|
3924
3971
|
type: "tel"
|
|
3925
|
-
}, c(Y)(
|
|
3972
|
+
}, c(Y)(P.$attrs, c(he)).filtered, {
|
|
3926
3973
|
onInput: Ce,
|
|
3927
3974
|
onFocusout: ke,
|
|
3928
3975
|
onKeydown: re
|
|
@@ -3931,16 +3978,16 @@ const ln = {
|
|
|
3931
3978
|
}),
|
|
3932
3979
|
_: 1
|
|
3933
3980
|
}, 8, ["disabled", "error"]),
|
|
3934
|
-
de(
|
|
3981
|
+
de(D(ge, {
|
|
3935
3982
|
error: R.value,
|
|
3936
|
-
"error-msg":
|
|
3983
|
+
"error-msg": q.value,
|
|
3937
3984
|
hint: e.hint,
|
|
3938
3985
|
"hint-id": c(b)
|
|
3939
3986
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
|
|
3940
3987
|
[ue, _.value]
|
|
3941
3988
|
]),
|
|
3942
|
-
w.value ? (u(), v("div",
|
|
3943
|
-
|
|
3989
|
+
w.value ? (u(), v("div", Qn, [
|
|
3990
|
+
D(Ot, {
|
|
3944
3991
|
"anchor-id": c(f),
|
|
3945
3992
|
"helper-text": "Country Code",
|
|
3946
3993
|
label: "Country Code",
|
|
@@ -3952,26 +3999,26 @@ const ln = {
|
|
|
3952
3999
|
onClose: me,
|
|
3953
4000
|
"onUpdate:modelValue": ye
|
|
3954
4001
|
}, {
|
|
3955
|
-
default:
|
|
3956
|
-
w.value ? (u(!0), v(G, { key: 0 }, ee(d.value, (Z) => (u(),
|
|
4002
|
+
default: L(() => [
|
|
4003
|
+
w.value ? (u(!0), v(G, { key: 0 }, ee(d.value, (Z) => (u(), V(ot, {
|
|
3957
4004
|
"aria-label": Z.value,
|
|
3958
4005
|
key: Z.value,
|
|
3959
4006
|
value: `${Z.value}`,
|
|
3960
4007
|
variant: "2-col"
|
|
3961
4008
|
}, {
|
|
3962
|
-
default:
|
|
3963
|
-
|
|
3964
|
-
|
|
4009
|
+
default: L(() => [
|
|
4010
|
+
I("span", Jn, A(Z == null ? void 0 : Z.flag), 1),
|
|
4011
|
+
I("span", _n, A(Z.label), 1)
|
|
3965
4012
|
]),
|
|
3966
4013
|
_: 2
|
|
3967
|
-
}, 1032, ["aria-label", "value"]))), 128)) :
|
|
4014
|
+
}, 1032, ["aria-label", "value"]))), 128)) : C("", !0)
|
|
3968
4015
|
]),
|
|
3969
4016
|
_: 1
|
|
3970
4017
|
}, 8, ["anchor-id", "model-value", "options-id", "shown"])
|
|
3971
|
-
])) :
|
|
4018
|
+
])) : C("", !0)
|
|
3972
4019
|
], 16));
|
|
3973
4020
|
}
|
|
3974
|
-
}),
|
|
4021
|
+
}), el = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3975
4022
|
__name: "BsInputSearch",
|
|
3976
4023
|
props: {
|
|
3977
4024
|
/** Sets the disabled state on input, disabled styles on label. */
|
|
@@ -4017,15 +4064,15 @@ const ln = {
|
|
|
4017
4064
|
emits: ["clear", "update:modelValue"],
|
|
4018
4065
|
setup(e, { emit: a }) {
|
|
4019
4066
|
const t = e, l = p(() => he.concat(t.passAttrs.split(","))), n = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
|
|
4020
|
-
return (i, s) => (u(),
|
|
4067
|
+
return (i, s) => (u(), V(De, N({
|
|
4021
4068
|
class: "bs-input-search",
|
|
4022
4069
|
"data-component": "bs-input-search",
|
|
4023
4070
|
"data-variant": e.variant,
|
|
4024
4071
|
disabled: e.disabled
|
|
4025
4072
|
}, c(Y)(i.$attrs, l.value).remaining), {
|
|
4026
|
-
default:
|
|
4027
|
-
e.hideSearchIcon ?
|
|
4028
|
-
|
|
4073
|
+
default: L(() => [
|
|
4074
|
+
e.hideSearchIcon ? C("", !0) : (u(), V(c(jt), { key: 0 })),
|
|
4075
|
+
D(Ie, N({
|
|
4029
4076
|
"data-autowidth": "",
|
|
4030
4077
|
disabled: e.disabled,
|
|
4031
4078
|
"input-id": i.$attrs.id || e.inputId,
|
|
@@ -4034,12 +4081,12 @@ const ln = {
|
|
|
4034
4081
|
}, c(Y)(i.$attrs, l.value).filtered, {
|
|
4035
4082
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => i.$emit("update:modelValue", o))
|
|
4036
4083
|
}), null, 16, ["disabled", "input-id", "placeholder", "value"]),
|
|
4037
|
-
de(
|
|
4084
|
+
de(I("button", {
|
|
4038
4085
|
title: "Clear",
|
|
4039
4086
|
type: "button",
|
|
4040
4087
|
onClick: s[1] || (s[1] = (o) => i.$emit("clear"))
|
|
4041
4088
|
}, [
|
|
4042
|
-
|
|
4089
|
+
D(c(Be), { size: "sm" })
|
|
4043
4090
|
], 512), [
|
|
4044
4091
|
[ue, n.value]
|
|
4045
4092
|
])
|
|
@@ -4047,12 +4094,12 @@ const ln = {
|
|
|
4047
4094
|
_: 1
|
|
4048
4095
|
}, 16, ["data-variant", "disabled"]));
|
|
4049
4096
|
}
|
|
4050
|
-
}),
|
|
4051
|
-
/* @__PURE__ */
|
|
4052
|
-
/* @__PURE__ */
|
|
4053
|
-
/* @__PURE__ */
|
|
4054
|
-
], -1),
|
|
4055
|
-
|
|
4097
|
+
}), tl = ["data-size", "data-variant"], al = ["stroke"], nl = { key: 0 }, ll = /* @__PURE__ */ I("linearGradient", { id: "bs-spinner-gradient" }, [
|
|
4098
|
+
/* @__PURE__ */ I("stop", { offset: "0%" }),
|
|
4099
|
+
/* @__PURE__ */ I("stop", { offset: "49%" }),
|
|
4100
|
+
/* @__PURE__ */ I("stop", { offset: "100%" })
|
|
4101
|
+
], -1), ol = [
|
|
4102
|
+
ll
|
|
4056
4103
|
], vt = {
|
|
4057
4104
|
__name: "BsSpinner",
|
|
4058
4105
|
props: {
|
|
@@ -4079,18 +4126,18 @@ const ln = {
|
|
|
4079
4126
|
viewBox: "0 0 100 100",
|
|
4080
4127
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4081
4128
|
}, [
|
|
4082
|
-
|
|
4083
|
-
|
|
4129
|
+
I("title", null, A(e.label), 1),
|
|
4130
|
+
I("circle", {
|
|
4084
4131
|
cx: "50",
|
|
4085
4132
|
cy: "50",
|
|
4086
4133
|
pathLength: "100",
|
|
4087
4134
|
r: "45",
|
|
4088
4135
|
stroke: e.variant === "gradient" ? "url(#bs-spinner-gradient)" : void 0
|
|
4089
|
-
}, null, 8,
|
|
4090
|
-
e.variant === "gradient" ? (u(), v("defs",
|
|
4091
|
-
], 8,
|
|
4136
|
+
}, null, 8, al),
|
|
4137
|
+
e.variant === "gradient" ? (u(), v("defs", nl, ol)) : C("", !0)
|
|
4138
|
+
], 8, tl));
|
|
4092
4139
|
}
|
|
4093
|
-
},
|
|
4140
|
+
}, il = ["id"], rl = { style: { display: "flex", "justify-content": "center" } }, sl = { style: { display: "flex", "justify-content": "center" } }, Qo = {
|
|
4094
4141
|
__name: "BsInputTypeahead",
|
|
4095
4142
|
props: {
|
|
4096
4143
|
characterThreshold: {
|
|
@@ -4162,7 +4209,7 @@ const ln = {
|
|
|
4162
4209
|
},
|
|
4163
4210
|
emits: ["update:inputValue", "update:optionsValue"],
|
|
4164
4211
|
setup(e, { emit: a }) {
|
|
4165
|
-
const t = e, l = a, n =
|
|
4212
|
+
const t = e, l = a, n = k(!1), i = k(!1), [s] = X();
|
|
4166
4213
|
let o = [];
|
|
4167
4214
|
j(() => t.inputValue, () => {
|
|
4168
4215
|
i.value ? i.value = !1 : h();
|
|
@@ -4170,19 +4217,19 @@ const ln = {
|
|
|
4170
4217
|
const d = p(() => t.typeaheadId || s.value), r = p(() => `${d.value}-input-container`), f = p(() => `${d.value}-input`), m = p(() => `${d.value}-options`), b = p(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), S = p(() => {
|
|
4171
4218
|
if (n.value) {
|
|
4172
4219
|
let T = t.options;
|
|
4173
|
-
const
|
|
4174
|
-
return t.inputValue.length >= t.characterThreshold && (T = w(T,
|
|
4220
|
+
const q = t.inputValue.toLowerCase(), R = t.filterType === "includes" ? "includes" : "startsWith";
|
|
4221
|
+
return t.inputValue.length >= t.characterThreshold && (T = w(T, q, R), T = T.slice(0, t.maxOptions), T = B(T, q, R), o = T), T;
|
|
4175
4222
|
} else
|
|
4176
4223
|
return o;
|
|
4177
4224
|
});
|
|
4178
|
-
function w(T,
|
|
4179
|
-
return t.internalFiltering ? T.filter((_) => _.label.toLowerCase()[R](
|
|
4225
|
+
function w(T, q, R) {
|
|
4226
|
+
return t.internalFiltering ? T.filter((_) => _.label.toLowerCase()[R](q)) : T;
|
|
4180
4227
|
}
|
|
4181
|
-
function
|
|
4228
|
+
function B(T, q, R) {
|
|
4182
4229
|
return T.map((_) => {
|
|
4183
4230
|
let J = _.label;
|
|
4184
|
-
if (
|
|
4185
|
-
const ne = R === "includes" ? "gi" : "i", me = new RegExp(`(${
|
|
4231
|
+
if (q !== "") {
|
|
4232
|
+
const ne = R === "includes" ? "gi" : "i", me = new RegExp(`(${q})`, ne);
|
|
4186
4233
|
J = _.label.replace(me, '<span style="color: var(--bs-blue-base)">$1</span>');
|
|
4187
4234
|
}
|
|
4188
4235
|
return { ..._, labelHtml: J };
|
|
@@ -4191,41 +4238,41 @@ const ln = {
|
|
|
4191
4238
|
function h() {
|
|
4192
4239
|
t.showDropdownOnFocus || t.inputValue.length >= t.characterThreshold ? n.value = !0 : n.value = !1;
|
|
4193
4240
|
}
|
|
4194
|
-
function
|
|
4241
|
+
function $() {
|
|
4195
4242
|
l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(f.value).focus();
|
|
4196
4243
|
}
|
|
4197
4244
|
function y(T) {
|
|
4198
4245
|
i.value = !0;
|
|
4199
|
-
const
|
|
4200
|
-
l("update:inputValue",
|
|
4246
|
+
const q = S.value.find((R) => R.value === T);
|
|
4247
|
+
l("update:inputValue", q.label), l("update:optionsValue", T);
|
|
4201
4248
|
}
|
|
4202
4249
|
function g(T) {
|
|
4203
|
-
const
|
|
4204
|
-
l("update:optionsValue",
|
|
4250
|
+
const q = [...b.value, T];
|
|
4251
|
+
l("update:optionsValue", q);
|
|
4205
4252
|
}
|
|
4206
4253
|
function M(T) {
|
|
4207
|
-
const
|
|
4208
|
-
l("update:optionsValue",
|
|
4254
|
+
const q = b.value.filter((R) => R !== T);
|
|
4255
|
+
l("update:optionsValue", q);
|
|
4209
4256
|
}
|
|
4210
|
-
return (T,
|
|
4211
|
-
e.label || T.$slots.label ? (u(),
|
|
4257
|
+
return (T, q) => (u(), v(G, null, [
|
|
4258
|
+
e.label || T.$slots.label ? (u(), V(ae, {
|
|
4212
4259
|
key: 0,
|
|
4213
4260
|
for: f.value,
|
|
4214
4261
|
disabled: e.disabled,
|
|
4215
4262
|
required: e.required
|
|
4216
4263
|
}, {
|
|
4217
|
-
default:
|
|
4218
|
-
|
|
4219
|
-
W(
|
|
4264
|
+
default: L(() => [
|
|
4265
|
+
E(T.$slots, "label", {}, () => [
|
|
4266
|
+
W(A(e.label), 1)
|
|
4220
4267
|
])
|
|
4221
4268
|
]),
|
|
4222
4269
|
_: 3
|
|
4223
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
4224
|
-
|
|
4270
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
4271
|
+
I("div", {
|
|
4225
4272
|
id: r.value,
|
|
4226
4273
|
class: "typeahead-search-wrapper"
|
|
4227
4274
|
}, [
|
|
4228
|
-
|
|
4275
|
+
D(el, N({
|
|
4229
4276
|
"aria-controls": m.value,
|
|
4230
4277
|
"aria-expanded": n.value,
|
|
4231
4278
|
"aria-haspopup": "listbox",
|
|
@@ -4239,21 +4286,21 @@ const ln = {
|
|
|
4239
4286
|
role: "combobox",
|
|
4240
4287
|
value: e.inputValue
|
|
4241
4288
|
}, T.$attrs, {
|
|
4242
|
-
onClear:
|
|
4289
|
+
onClear: $,
|
|
4243
4290
|
onFocusin: h,
|
|
4244
|
-
"onUpdate:modelValue":
|
|
4291
|
+
"onUpdate:modelValue": q[0] || (q[0] = (R) => l("update:inputValue", R))
|
|
4245
4292
|
}), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
|
|
4246
|
-
], 8,
|
|
4247
|
-
|
|
4293
|
+
], 8, il),
|
|
4294
|
+
D(lt, {
|
|
4248
4295
|
"anchor-id": r.value,
|
|
4249
4296
|
preloaded: !0,
|
|
4250
4297
|
shown: n.value,
|
|
4251
4298
|
"use-mobile-style": !1,
|
|
4252
4299
|
width: "toggle",
|
|
4253
|
-
onClose:
|
|
4300
|
+
onClose: q[2] || (q[2] = (R) => n.value = !1)
|
|
4254
4301
|
}, {
|
|
4255
|
-
default:
|
|
4256
|
-
e.multiselect ? (u(),
|
|
4302
|
+
default: L(() => [
|
|
4303
|
+
e.multiselect ? (u(), V(Vt, {
|
|
4257
4304
|
key: 0,
|
|
4258
4305
|
"focus-on-open": !1,
|
|
4259
4306
|
label: e.label,
|
|
@@ -4266,41 +4313,41 @@ const ln = {
|
|
|
4266
4313
|
}, Ye({ _: 2 }, [
|
|
4267
4314
|
e.loading ? {
|
|
4268
4315
|
name: "no-options",
|
|
4269
|
-
fn:
|
|
4270
|
-
|
|
4271
|
-
|
|
4316
|
+
fn: L(() => [
|
|
4317
|
+
I("span", rl, [
|
|
4318
|
+
D(vt, { size: "sm" })
|
|
4272
4319
|
])
|
|
4273
4320
|
]),
|
|
4274
4321
|
key: "0"
|
|
4275
4322
|
} : {
|
|
4276
4323
|
name: "no-options",
|
|
4277
|
-
fn:
|
|
4324
|
+
fn: L(() => [
|
|
4278
4325
|
W("No results found")
|
|
4279
4326
|
]),
|
|
4280
4327
|
key: "1"
|
|
4281
4328
|
}
|
|
4282
|
-
]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(),
|
|
4329
|
+
]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), V(Re, {
|
|
4283
4330
|
key: 1,
|
|
4284
4331
|
label: e.label,
|
|
4285
4332
|
"model-value": b.value,
|
|
4286
4333
|
"options-id": m.value,
|
|
4287
4334
|
shown: n.value,
|
|
4288
4335
|
"onUpdate:modelValue": y,
|
|
4289
|
-
onClose:
|
|
4336
|
+
onClose: q[1] || (q[1] = (R) => n.value = !1)
|
|
4290
4337
|
}, {
|
|
4291
|
-
default:
|
|
4292
|
-
|
|
4338
|
+
default: L(() => [
|
|
4339
|
+
D(Pe, { options: S.value }, Ye({ _: 2 }, [
|
|
4293
4340
|
e.loading ? {
|
|
4294
4341
|
name: "no-options",
|
|
4295
|
-
fn:
|
|
4296
|
-
|
|
4297
|
-
|
|
4342
|
+
fn: L(() => [
|
|
4343
|
+
I("span", sl, [
|
|
4344
|
+
D(vt, { size: "sm" })
|
|
4298
4345
|
])
|
|
4299
4346
|
]),
|
|
4300
4347
|
key: "0"
|
|
4301
4348
|
} : {
|
|
4302
4349
|
name: "no-options",
|
|
4303
|
-
fn:
|
|
4350
|
+
fn: L(() => [
|
|
4304
4351
|
W("No results found")
|
|
4305
4352
|
]),
|
|
4306
4353
|
key: "1"
|
|
@@ -4314,13 +4361,13 @@ const ln = {
|
|
|
4314
4361
|
}, 8, ["anchor-id", "shown"])
|
|
4315
4362
|
], 64));
|
|
4316
4363
|
}
|
|
4317
|
-
},
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
],
|
|
4364
|
+
}, dl = ["data-size", "data-variant"], ul = /* @__PURE__ */ I("span", null, null, -1), cl = /* @__PURE__ */ I("span", null, null, -1), fl = /* @__PURE__ */ I("span", null, null, -1), pl = /* @__PURE__ */ I("span", null, null, -1), hl = /* @__PURE__ */ I("span", { class: "visually-hidden" }, "Loading", -1), vl = [
|
|
4365
|
+
ul,
|
|
4366
|
+
cl,
|
|
4367
|
+
fl,
|
|
4368
|
+
pl,
|
|
4369
|
+
hl
|
|
4370
|
+
], Jo = {
|
|
4324
4371
|
__name: "BsLoader",
|
|
4325
4372
|
props: {
|
|
4326
4373
|
size: {
|
|
@@ -4339,9 +4386,9 @@ const ln = {
|
|
|
4339
4386
|
"data-size": e.size,
|
|
4340
4387
|
"data-variant": e.variant,
|
|
4341
4388
|
role: "status"
|
|
4342
|
-
},
|
|
4389
|
+
}, vl, 8, dl));
|
|
4343
4390
|
}
|
|
4344
|
-
},
|
|
4391
|
+
}, ml = ["data-shown"], bl = {
|
|
4345
4392
|
__name: "BsOverlay",
|
|
4346
4393
|
props: {
|
|
4347
4394
|
shown: {
|
|
@@ -4370,7 +4417,7 @@ const ln = {
|
|
|
4370
4417
|
},
|
|
4371
4418
|
emits: ["after-enter", "after-leave"],
|
|
4372
4419
|
setup(e, { emit: a }) {
|
|
4373
|
-
const t = e, l = a, { transition: n } =
|
|
4420
|
+
const t = e, l = a, { transition: n } = Le(t);
|
|
4374
4421
|
H(() => {
|
|
4375
4422
|
i();
|
|
4376
4423
|
}), j(n, () => {
|
|
@@ -4379,23 +4426,23 @@ const ln = {
|
|
|
4379
4426
|
function i() {
|
|
4380
4427
|
n.value ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
|
|
4381
4428
|
}
|
|
4382
|
-
return (s, o) => (u(),
|
|
4429
|
+
return (s, o) => (u(), V(qe, {
|
|
4383
4430
|
name: "bs-overlay",
|
|
4384
4431
|
shown: c(n),
|
|
4385
4432
|
preloaded: e.preloaded,
|
|
4386
4433
|
onAfterEnter: o[0] || (o[0] = (d) => l("after-enter")),
|
|
4387
4434
|
onAfterLeave: o[1] || (o[1] = (d) => l("after-leave"))
|
|
4388
4435
|
}, {
|
|
4389
|
-
default:
|
|
4390
|
-
|
|
4436
|
+
default: L(() => [
|
|
4437
|
+
I("div", {
|
|
4391
4438
|
class: "bs-overlay",
|
|
4392
4439
|
"data-shown": c(n)
|
|
4393
|
-
}, null, 8,
|
|
4440
|
+
}, null, 8, ml)
|
|
4394
4441
|
]),
|
|
4395
4442
|
_: 1
|
|
4396
4443
|
}, 8, ["shown", "preloaded"]));
|
|
4397
4444
|
}
|
|
4398
|
-
},
|
|
4445
|
+
}, gl = ["id", "role", "aria-labelledby", "data-shown"], yl = ["id"], _o = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
4399
4446
|
__name: "BsModal",
|
|
4400
4447
|
props: {
|
|
4401
4448
|
modalId: {
|
|
@@ -4440,37 +4487,37 @@ const ln = {
|
|
|
4440
4487
|
},
|
|
4441
4488
|
emits: ["close", "after-enter", "after-leave"],
|
|
4442
4489
|
setup(e, { emit: a }) {
|
|
4443
|
-
const t = e, l = a, { transition: n } =
|
|
4490
|
+
const t = e, l = a, { transition: n } = Le(t), [i] = X();
|
|
4444
4491
|
let s = !1;
|
|
4445
|
-
const o =
|
|
4492
|
+
const o = k(null), d = (m) => {
|
|
4446
4493
|
o.value && m.target.closest(".bs-overlay") && l("close", t.modalId);
|
|
4447
4494
|
};
|
|
4448
4495
|
H(() => {
|
|
4449
4496
|
document.addEventListener("click", d);
|
|
4450
|
-
}),
|
|
4497
|
+
}), $e(() => {
|
|
4451
4498
|
document.removeEventListener("click", d);
|
|
4452
4499
|
}), pe(["Escape"], () => {
|
|
4453
4500
|
s && l("close", t.modalId);
|
|
4454
4501
|
});
|
|
4455
4502
|
const r = () => !t.title && t.closeButton, f = () => t.title && t.closeButton;
|
|
4456
4503
|
return (m, b) => (u(), v(G, null, [
|
|
4457
|
-
|
|
4504
|
+
D(bl, {
|
|
4458
4505
|
shown: c(n),
|
|
4459
4506
|
preloaded: e.preloaded,
|
|
4460
4507
|
"enter-controlled": e.enterControlled,
|
|
4461
4508
|
"enter-trigger": e.enterTrigger,
|
|
4462
4509
|
"leave-trigger": e.leaveTrigger
|
|
4463
4510
|
}, null, 8, ["shown", "preloaded", "enter-controlled", "enter-trigger", "leave-trigger"]),
|
|
4464
|
-
|
|
4511
|
+
D(qe, {
|
|
4465
4512
|
name: "bs-modal",
|
|
4466
4513
|
preloaded: e.preloaded,
|
|
4467
4514
|
shown: c(n),
|
|
4468
4515
|
onAfterEnter: b[1] || (b[1] = (S) => l("after-enter")),
|
|
4469
4516
|
onAfterLeave: b[2] || (b[2] = (S) => l("after-leave")),
|
|
4470
|
-
onEnter: b[3] || (b[3] = (S) =>
|
|
4517
|
+
onEnter: b[3] || (b[3] = (S) => zt(s) ? s.value = !0 : s = !0)
|
|
4471
4518
|
}, {
|
|
4472
|
-
default:
|
|
4473
|
-
|
|
4519
|
+
default: L(() => [
|
|
4520
|
+
I("div", N({
|
|
4474
4521
|
id: e.modalId,
|
|
4475
4522
|
class: "bs-modal",
|
|
4476
4523
|
role: e.alert ? "alertdialog" : "dialog",
|
|
@@ -4492,7 +4539,7 @@ const ln = {
|
|
|
4492
4539
|
key: 0,
|
|
4493
4540
|
id: c(i),
|
|
4494
4541
|
class: "modal-title"
|
|
4495
|
-
},
|
|
4542
|
+
}, A(e.title), 9, yl)) : C("", !0),
|
|
4496
4543
|
e.closeButton ? (u(), v("button", {
|
|
4497
4544
|
key: 1,
|
|
4498
4545
|
type: "button",
|
|
@@ -4500,26 +4547,26 @@ const ln = {
|
|
|
4500
4547
|
"aria-label": "Close Modal",
|
|
4501
4548
|
onClick: b[0] || (b[0] = (S) => l("close", e.modalId))
|
|
4502
4549
|
}, [
|
|
4503
|
-
|
|
4504
|
-
])) :
|
|
4505
|
-
], 2)) :
|
|
4506
|
-
|
|
4507
|
-
], 16,
|
|
4550
|
+
D(c(Be), { class: "close-button" })
|
|
4551
|
+
])) : C("", !0)
|
|
4552
|
+
], 2)) : C("", !0),
|
|
4553
|
+
E(m.$slots, "default")
|
|
4554
|
+
], 16, gl)
|
|
4508
4555
|
]),
|
|
4509
4556
|
_: 3
|
|
4510
4557
|
}, 8, ["preloaded", "shown"])
|
|
4511
4558
|
], 64));
|
|
4512
4559
|
}
|
|
4513
|
-
}),
|
|
4560
|
+
}), Sl = ["data-variant", "data-fixed"], wl = {
|
|
4514
4561
|
key: 0,
|
|
4515
4562
|
class: "bs-pagination-carets"
|
|
4516
|
-
},
|
|
4563
|
+
}, $l = ["aria-label", "title", "disabled"], Bl = { key: 0 }, Il = ["aria-label", "title", "disabled"], kl = { key: 0 }, Cl = {
|
|
4517
4564
|
key: 1,
|
|
4518
4565
|
class: "bs-pagination-page-numbers"
|
|
4519
|
-
},
|
|
4566
|
+
}, xl = ["title", "data-selected", "onClick"], Tl = { key: 2 }, Al = { key: 3 }, Vl = /* @__PURE__ */ I("span", null, "Results Per Page:", -1), Ol = { class: "bs-pagination-results-numbers" }, El = ["data-selected", "disabled", "onClick"], Ll = {
|
|
4520
4567
|
key: 5,
|
|
4521
4568
|
class: "bs-pagination-carets"
|
|
4522
|
-
},
|
|
4569
|
+
}, Dl = ["aria-label", "title", "disabled"], ql = { key: 0 }, Pl = ["aria-label", "title", "disabled"], Ml = { key: 0 }, ei = {
|
|
4523
4570
|
__name: "BsPagination",
|
|
4524
4571
|
props: {
|
|
4525
4572
|
// Used for all
|
|
@@ -4605,17 +4652,17 @@ const ln = {
|
|
|
4605
4652
|
},
|
|
4606
4653
|
emits: ["selchange", "update:modelValue"],
|
|
4607
4654
|
setup(e, { emit: a }) {
|
|
4608
|
-
const t = e, l = a, n =
|
|
4655
|
+
const t = e, l = a, n = k(null);
|
|
4609
4656
|
H(() => {
|
|
4610
|
-
i.value ? n.value = i.value : t.variant === "results" ? n.value =
|
|
4657
|
+
i.value ? n.value = i.value : t.variant === "results" ? n.value = B.value[0] : n.value = 1;
|
|
4611
4658
|
});
|
|
4612
4659
|
const i = p(() => t.modelValue || t.selection);
|
|
4613
4660
|
j(() => t.selection, (h) => {
|
|
4614
4661
|
n.value = h;
|
|
4615
4662
|
}), j(() => t.modelValue, (h) => {
|
|
4616
4663
|
n.value = h;
|
|
4617
|
-
}), j(n, (h,
|
|
4618
|
-
|
|
4664
|
+
}), j(n, (h, $) => {
|
|
4665
|
+
$ !== null && (l("selchange", h), l("update:modelValue", h));
|
|
4619
4666
|
});
|
|
4620
4667
|
const s = p(() => {
|
|
4621
4668
|
if (t.variant === "group")
|
|
@@ -4641,22 +4688,22 @@ const ln = {
|
|
|
4641
4688
|
const b = p(() => {
|
|
4642
4689
|
if (t.pageCount <= t.pageRange)
|
|
4643
4690
|
return [...Array(t.pageCount + 1).keys()].slice(1);
|
|
4644
|
-
const h = [1],
|
|
4645
|
-
let y = n.value -
|
|
4691
|
+
const h = [1], $ = (t.pageRange - 1) / 2;
|
|
4692
|
+
let y = n.value - $, g = n.value + $;
|
|
4646
4693
|
y < 1 && (g += 1 - y, y = 1), g > t.pageCount && (y -= g - t.pageCount, g = t.pageCount), y = Math.max(y, 2), g = Math.min(g, t.pageCount - 1), y > 2 && h.push(t.breakText);
|
|
4647
4694
|
for (let M = y; M <= g; M++)
|
|
4648
4695
|
h.push(M);
|
|
4649
4696
|
return g < t.pageCount - 1 && h.push(t.breakText), h.push(t.pageCount), h;
|
|
4650
4697
|
}), S = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${s.value}`), w = p(() => {
|
|
4651
|
-
const h = (n.value - 1) * t.itemsPerGroup + 1,
|
|
4652
|
-
return `${t.centerLabel ?? "Results"} ${h} - ${
|
|
4653
|
-
}),
|
|
4654
|
-
return (h,
|
|
4698
|
+
const h = (n.value - 1) * t.itemsPerGroup + 1, $ = Math.min(h - 1 + t.itemsPerGroup, t.itemsCount);
|
|
4699
|
+
return `${t.centerLabel ?? "Results"} ${h} - ${$} of ${t.itemsCount}`;
|
|
4700
|
+
}), B = p(() => t.resultsIncrements.split(",").map((h) => parseInt(h)));
|
|
4701
|
+
return (h, $) => (u(), v("div", {
|
|
4655
4702
|
class: "bs-pagination",
|
|
4656
4703
|
"data-variant": o.value,
|
|
4657
4704
|
"data-fixed": t.fixed
|
|
4658
4705
|
}, [
|
|
4659
|
-
e.variant === "base" || e.variant === "group" ? (u(), v("div",
|
|
4706
|
+
e.variant === "base" || e.variant === "group" ? (u(), v("div", wl, [
|
|
4660
4707
|
e.showFirstLastButtons ? (u(), v("button", {
|
|
4661
4708
|
key: 0,
|
|
4662
4709
|
type: "button",
|
|
@@ -4666,10 +4713,10 @@ const ln = {
|
|
|
4666
4713
|
disabled: n.value === 1,
|
|
4667
4714
|
onClick: d
|
|
4668
4715
|
}, [
|
|
4669
|
-
|
|
4670
|
-
e.firstPageText ? (u(), v("span",
|
|
4671
|
-
], 10,
|
|
4672
|
-
|
|
4716
|
+
D(c(Ut)),
|
|
4717
|
+
e.firstPageText ? (u(), v("span", Bl, A(e.firstPageText), 1)) : C("", !0)
|
|
4718
|
+
], 10, $l)) : C("", !0),
|
|
4719
|
+
I("button", {
|
|
4673
4720
|
type: "button",
|
|
4674
4721
|
class: ie(e.prevPageText ? "bs-pagination-word-caret" : void 0),
|
|
4675
4722
|
"aria-label": e.prevPageText ? void 0 : "Previous Page",
|
|
@@ -4677,35 +4724,35 @@ const ln = {
|
|
|
4677
4724
|
disabled: n.value === 1,
|
|
4678
4725
|
onClick: r
|
|
4679
4726
|
}, [
|
|
4680
|
-
|
|
4681
|
-
e.prevPageText ? (u(), v("span",
|
|
4682
|
-
], 10,
|
|
4683
|
-
])) :
|
|
4684
|
-
e.variant === "base" && e.centerDisplay === "numbers" ? (u(), v("div",
|
|
4727
|
+
D(c(Bt)),
|
|
4728
|
+
e.prevPageText ? (u(), v("span", kl, A(e.prevPageText), 1)) : C("", !0)
|
|
4729
|
+
], 10, Il)
|
|
4730
|
+
])) : C("", !0),
|
|
4731
|
+
e.variant === "base" && e.centerDisplay === "numbers" ? (u(), v("div", Cl, [
|
|
4685
4732
|
(u(!0), v(G, null, ee(b.value, (y) => (u(), v("button", {
|
|
4686
4733
|
key: `page-${y}-button`,
|
|
4687
4734
|
type: "button",
|
|
4688
4735
|
title: `Page ${y}`,
|
|
4689
4736
|
"data-selected": y === n.value,
|
|
4690
4737
|
onClick: (g) => n.value = y
|
|
4691
|
-
},
|
|
4692
|
-
])) :
|
|
4693
|
-
t.variant === "base" && t.centerDisplay === "text" ? (u(), v("span",
|
|
4694
|
-
t.variant === "group" ? (u(), v("span",
|
|
4738
|
+
}, A(y), 9, xl))), 128))
|
|
4739
|
+
])) : C("", !0),
|
|
4740
|
+
t.variant === "base" && t.centerDisplay === "text" ? (u(), v("span", Tl, A(S.value), 1)) : C("", !0),
|
|
4741
|
+
t.variant === "group" ? (u(), v("span", Al, A(w.value), 1)) : C("", !0),
|
|
4695
4742
|
t.variant === "results" ? (u(), v(G, { key: 4 }, [
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
(u(!0), v(G, null, ee(
|
|
4743
|
+
Vl,
|
|
4744
|
+
I("div", Ol, [
|
|
4745
|
+
(u(!0), v(G, null, ee(B.value, (y) => (u(), v("button", {
|
|
4699
4746
|
type: "button",
|
|
4700
4747
|
key: `results-${y}`,
|
|
4701
4748
|
"data-selected": y === n.value,
|
|
4702
4749
|
disabled: n.value === y,
|
|
4703
4750
|
onClick: (g) => n.value = y
|
|
4704
|
-
},
|
|
4751
|
+
}, A(y), 9, El))), 128))
|
|
4705
4752
|
])
|
|
4706
|
-
], 64)) :
|
|
4707
|
-
e.variant === "base" || e.variant === "group" ? (u(), v("div",
|
|
4708
|
-
|
|
4753
|
+
], 64)) : C("", !0),
|
|
4754
|
+
e.variant === "base" || e.variant === "group" ? (u(), v("div", Ll, [
|
|
4755
|
+
I("button", {
|
|
4709
4756
|
type: "button",
|
|
4710
4757
|
class: ie(e.nextPageText ? "bs-pagination-word-caret" : void 0),
|
|
4711
4758
|
"aria-label": e.nextPageText ? void 0 : "Next Page",
|
|
@@ -4713,9 +4760,9 @@ const ln = {
|
|
|
4713
4760
|
disabled: n.value === s.value,
|
|
4714
4761
|
onClick: f
|
|
4715
4762
|
}, [
|
|
4716
|
-
e.nextPageText ? (u(), v("span",
|
|
4717
|
-
|
|
4718
|
-
], 10,
|
|
4763
|
+
e.nextPageText ? (u(), v("span", ql, A(e.nextPageText), 1)) : C("", !0),
|
|
4764
|
+
D(c($t))
|
|
4765
|
+
], 10, Dl),
|
|
4719
4766
|
e.showFirstLastButtons ? (u(), v("button", {
|
|
4720
4767
|
key: 0,
|
|
4721
4768
|
type: "button",
|
|
@@ -4725,13 +4772,13 @@ const ln = {
|
|
|
4725
4772
|
disabled: n.value === s.value,
|
|
4726
4773
|
onClick: m
|
|
4727
4774
|
}, [
|
|
4728
|
-
e.lastPageText ? (u(), v("span",
|
|
4729
|
-
|
|
4730
|
-
], 10,
|
|
4731
|
-
])) :
|
|
4732
|
-
], 8,
|
|
4775
|
+
e.lastPageText ? (u(), v("span", Ml, A(e.lastPageText), 1)) : C("", !0),
|
|
4776
|
+
D(c(Wt))
|
|
4777
|
+
], 10, Pl)) : C("", !0)
|
|
4778
|
+
])) : C("", !0)
|
|
4779
|
+
], 8, Sl));
|
|
4733
4780
|
}
|
|
4734
|
-
},
|
|
4781
|
+
}, zl = ["data-truncate"], ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
4735
4782
|
__name: "BsPill",
|
|
4736
4783
|
props: {
|
|
4737
4784
|
active: { type: Boolean, default: !1 },
|
|
@@ -4755,8 +4802,8 @@ const ln = {
|
|
|
4755
4802
|
}
|
|
4756
4803
|
},
|
|
4757
4804
|
setup(e) {
|
|
4758
|
-
const a = e, { onLinkClick: t } =
|
|
4759
|
-
return (o, d) => (u(),
|
|
4805
|
+
const a = e, { onLinkClick: t } = Ne(a), l = ve(), { rootTag: n, attrsToBind: i, hrefUrl: s } = ze(a, l, "span");
|
|
4806
|
+
return (o, d) => (u(), V(te(c(n)), N({
|
|
4760
4807
|
class: "bs-pill",
|
|
4761
4808
|
"data-active": e.active,
|
|
4762
4809
|
"data-component": "bs-pill",
|
|
@@ -4765,25 +4812,25 @@ const ln = {
|
|
|
4765
4812
|
disabled: e.disabled,
|
|
4766
4813
|
".href": c(s)
|
|
4767
4814
|
}, c(i), { onClick: c(t) }), {
|
|
4768
|
-
default:
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
], 8,
|
|
4815
|
+
default: L(() => [
|
|
4816
|
+
I("span", { "data-truncate": e.truncate }, [
|
|
4817
|
+
E(o.$slots, "default")
|
|
4818
|
+
], 8, zl)
|
|
4772
4819
|
]),
|
|
4773
4820
|
_: 3
|
|
4774
4821
|
}, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
|
|
4775
4822
|
}
|
|
4776
|
-
}),
|
|
4823
|
+
}), Nl = { class: "bs-profile-details" }, Rl = {
|
|
4777
4824
|
class: "bs-profile-name",
|
|
4778
4825
|
"data-size": "sm",
|
|
4779
4826
|
"data-weight": "bold"
|
|
4780
|
-
},
|
|
4827
|
+
}, Fl = {
|
|
4781
4828
|
key: 1,
|
|
4782
4829
|
"data-weight": "bold"
|
|
4783
|
-
},
|
|
4830
|
+
}, jl = { key: 2 }, Ul = { key: 3 }, Wl = {
|
|
4784
4831
|
key: 4,
|
|
4785
4832
|
"data-icon": "true"
|
|
4786
|
-
},
|
|
4833
|
+
}, Gl = {
|
|
4787
4834
|
__name: "BsProfileDetails",
|
|
4788
4835
|
props: {
|
|
4789
4836
|
profileName: {
|
|
@@ -4800,40 +4847,40 @@ const ln = {
|
|
|
4800
4847
|
},
|
|
4801
4848
|
emits: ["action-toggled"],
|
|
4802
4849
|
setup(e, { emit: a }) {
|
|
4803
|
-
const t = e, l = a, { icon: n } =
|
|
4850
|
+
const t = e, l = a, { icon: n } = Ve(t, "actionIcon"), { icon: i } = Ve(t, "miscMetaIcon");
|
|
4804
4851
|
function s(o) {
|
|
4805
4852
|
o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), l("action-toggled"));
|
|
4806
4853
|
}
|
|
4807
|
-
return (o, d) => (u(), v("div",
|
|
4854
|
+
return (o, d) => (u(), v("div", Nl, [
|
|
4808
4855
|
e.action || o.$slots.action ? (u(), v("button", {
|
|
4809
4856
|
key: 0,
|
|
4810
4857
|
"data-icon": "true",
|
|
4811
4858
|
onClick: s
|
|
4812
4859
|
}, [
|
|
4813
|
-
|
|
4814
|
-
e.actionIcon ? (u(),
|
|
4860
|
+
E(o.$slots, "action", {}, () => [
|
|
4861
|
+
e.actionIcon ? (u(), V(te(c(n) ? c(n) : "span"), {
|
|
4815
4862
|
key: 0,
|
|
4816
4863
|
class: "bs-icon"
|
|
4817
|
-
})) :
|
|
4818
|
-
W(" " +
|
|
4864
|
+
})) : C("", !0),
|
|
4865
|
+
W(" " + A(e.action), 1)
|
|
4819
4866
|
])
|
|
4820
|
-
])) :
|
|
4821
|
-
|
|
4822
|
-
e.company ? (u(), v("span",
|
|
4823
|
-
e.jobTitle ? (u(), v("span",
|
|
4824
|
-
e.email ? (u(), v("span",
|
|
4825
|
-
e.miscMeta || o.$slots.misc ? (u(), v("span",
|
|
4826
|
-
|
|
4827
|
-
e.miscMetaIcon ? (u(),
|
|
4867
|
+
])) : C("", !0),
|
|
4868
|
+
I("span", Rl, A(e.profileName), 1),
|
|
4869
|
+
e.company ? (u(), v("span", Fl, A(e.company), 1)) : C("", !0),
|
|
4870
|
+
e.jobTitle ? (u(), v("span", jl, A(e.jobTitle), 1)) : C("", !0),
|
|
4871
|
+
e.email ? (u(), v("span", Ul, A(e.email), 1)) : C("", !0),
|
|
4872
|
+
e.miscMeta || o.$slots.misc ? (u(), v("span", Wl, [
|
|
4873
|
+
E(o.$slots, "misc", {}, () => [
|
|
4874
|
+
e.miscMetaIcon ? (u(), V(te(c(i) ? c(i) : "span"), {
|
|
4828
4875
|
key: 0,
|
|
4829
4876
|
class: "bs-icon"
|
|
4830
|
-
})) :
|
|
4831
|
-
W(" " +
|
|
4877
|
+
})) : C("", !0),
|
|
4878
|
+
W(" " + A(e.miscMeta), 1)
|
|
4832
4879
|
])
|
|
4833
|
-
])) :
|
|
4880
|
+
])) : C("", !0)
|
|
4834
4881
|
]));
|
|
4835
4882
|
}
|
|
4836
|
-
},
|
|
4883
|
+
}, ai = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
4837
4884
|
__name: "BsProfile",
|
|
4838
4885
|
props: {
|
|
4839
4886
|
layout: {
|
|
@@ -4863,21 +4910,21 @@ const ln = {
|
|
|
4863
4910
|
},
|
|
4864
4911
|
emits: ["action-toggled"],
|
|
4865
4912
|
setup(e, { emit: a }) {
|
|
4866
|
-
const t = e, l = a, n = ve(), { onLinkClick: i } =
|
|
4867
|
-
return (r, f) => (u(),
|
|
4913
|
+
const t = e, l = a, n = ve(), { onLinkClick: i } = Ne(t), { rootTag: s, attrsToBind: o, hrefUrl: d } = ze(t, n, "div");
|
|
4914
|
+
return (r, f) => (u(), V(te(c(s)), N({
|
|
4868
4915
|
class: "bs-profile",
|
|
4869
4916
|
".href": c(d),
|
|
4870
4917
|
"data-layout": e.layout
|
|
4871
4918
|
}, c(o), { onClick: c(i) }), {
|
|
4872
|
-
default:
|
|
4873
|
-
|
|
4919
|
+
default: L(() => [
|
|
4920
|
+
D(Tt, {
|
|
4874
4921
|
src: e.imageSrc,
|
|
4875
4922
|
size: e.imageSize,
|
|
4876
4923
|
initials: e.initials,
|
|
4877
4924
|
"profile-name": e.profileName,
|
|
4878
4925
|
"use-alt-text": !1
|
|
4879
4926
|
}, null, 8, ["src", "size", "initials", "profile-name"]),
|
|
4880
|
-
|
|
4927
|
+
D(Gl, {
|
|
4881
4928
|
"profile-name": e.profileName,
|
|
4882
4929
|
company: e.company,
|
|
4883
4930
|
"job-title": e.jobTitle,
|
|
@@ -4888,11 +4935,11 @@ const ln = {
|
|
|
4888
4935
|
"misc-meta-icon": e.miscMetaIcon,
|
|
4889
4936
|
onActionToggled: f[0] || (f[0] = (m) => l("action-toggled"))
|
|
4890
4937
|
}, {
|
|
4891
|
-
action:
|
|
4892
|
-
|
|
4938
|
+
action: L(() => [
|
|
4939
|
+
E(r.$slots, "action")
|
|
4893
4940
|
]),
|
|
4894
|
-
misc:
|
|
4895
|
-
|
|
4941
|
+
misc: L(() => [
|
|
4942
|
+
E(r.$slots, "misc")
|
|
4896
4943
|
]),
|
|
4897
4944
|
_: 3
|
|
4898
4945
|
}, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
|
|
@@ -4926,7 +4973,7 @@ function Et(e) {
|
|
|
4926
4973
|
getStatus: l
|
|
4927
4974
|
};
|
|
4928
4975
|
}
|
|
4929
|
-
const
|
|
4976
|
+
const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-status"], ni = {
|
|
4930
4977
|
__name: "BsProgressBar",
|
|
4931
4978
|
props: {
|
|
4932
4979
|
/** @type {Status} */
|
|
@@ -4969,11 +5016,11 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
4969
5016
|
key: o.id || o.label,
|
|
4970
5017
|
role: "status"
|
|
4971
5018
|
}, [
|
|
4972
|
-
|
|
4973
|
-
], 8,
|
|
4974
|
-
], 8,
|
|
5019
|
+
I("span", null, A(o.label || o) + " : " + A(c(n)(o.status, d) || "not started"), 1)
|
|
5020
|
+
], 8, Kl))), 128))
|
|
5021
|
+
], 8, Hl));
|
|
4975
5022
|
}
|
|
4976
|
-
},
|
|
5023
|
+
}, Yl = ["data-disabled", "data-error", "data-size"], Zl = ["checked", "disabled", "id", "required", "value", "data-error"], li = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
4977
5024
|
__name: "BsRadio",
|
|
4978
5025
|
props: {
|
|
4979
5026
|
label: {
|
|
@@ -5018,14 +5065,14 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5018
5065
|
emits: ["update:modelValue"],
|
|
5019
5066
|
setup(e, { emit: a }) {
|
|
5020
5067
|
const t = e, [l] = X(), n = p(() => et.concat(t.passAttrs.split(","))), i = p(() => t.inputId || l.value), s = p(() => t.checked || t.modelValue && t.modelValue === t.value);
|
|
5021
|
-
return (o, d) => (u(), v("div",
|
|
5068
|
+
return (o, d) => (u(), v("div", N({
|
|
5022
5069
|
class: "bs-boolean",
|
|
5023
5070
|
"data-component": "bs-radio",
|
|
5024
5071
|
"data-disabled": e.disabled,
|
|
5025
5072
|
"data-error": e.error,
|
|
5026
5073
|
"data-size": e.size
|
|
5027
5074
|
}, c(Y)(o.$attrs, n.value).remaining), [
|
|
5028
|
-
|
|
5075
|
+
I("input", N({
|
|
5029
5076
|
checked: s.value,
|
|
5030
5077
|
disabled: e.disabled,
|
|
5031
5078
|
id: o.$attrs.id || i.value,
|
|
@@ -5035,23 +5082,23 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5035
5082
|
"data-error": e.error
|
|
5036
5083
|
}, c(Y)(o.$attrs, n.value).filtered, {
|
|
5037
5084
|
onChange: d[0] || (d[0] = (r) => o.$emit("update:modelValue", r.target.value))
|
|
5038
|
-
}), null, 16,
|
|
5039
|
-
e.label || o.$slots.label ? (u(),
|
|
5085
|
+
}), null, 16, Zl),
|
|
5086
|
+
e.label || o.$slots.label ? (u(), V(ae, {
|
|
5040
5087
|
key: 0,
|
|
5041
5088
|
for: o.$attrs.id || i.value,
|
|
5042
5089
|
disabled: e.disabled,
|
|
5043
5090
|
required: e.required
|
|
5044
5091
|
}, {
|
|
5045
|
-
default:
|
|
5046
|
-
|
|
5047
|
-
W(
|
|
5092
|
+
default: L(() => [
|
|
5093
|
+
E(o.$slots, "label", {}, () => [
|
|
5094
|
+
W(A(e.label), 1)
|
|
5048
5095
|
])
|
|
5049
5096
|
]),
|
|
5050
5097
|
_: 3
|
|
5051
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
5052
|
-
], 16,
|
|
5098
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0)
|
|
5099
|
+
], 16, Yl));
|
|
5053
5100
|
}
|
|
5054
|
-
}),
|
|
5101
|
+
}), Xl = ["id", "disabled", "required", "data-error", "value"], Ql = {
|
|
5055
5102
|
__name: "BsSelect",
|
|
5056
5103
|
props: {
|
|
5057
5104
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -5065,7 +5112,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5065
5112
|
emits: ["update:modelValue"],
|
|
5066
5113
|
setup(e, { emit: a }) {
|
|
5067
5114
|
const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
|
|
5068
|
-
return (n, i) => (u(), v("select",
|
|
5115
|
+
return (n, i) => (u(), v("select", N({
|
|
5069
5116
|
id: n.$attrs.id || e.inputId,
|
|
5070
5117
|
class: "bs-select",
|
|
5071
5118
|
"data-component": "bs-select",
|
|
@@ -5076,10 +5123,10 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5076
5123
|
}, l.value, {
|
|
5077
5124
|
onChange: i[0] || (i[0] = (s) => n.$emit("update:modelValue", s.target.value))
|
|
5078
5125
|
}), [
|
|
5079
|
-
|
|
5080
|
-
], 16,
|
|
5126
|
+
E(n.$slots, "default")
|
|
5127
|
+
], 16, Xl));
|
|
5081
5128
|
}
|
|
5082
|
-
},
|
|
5129
|
+
}, Jl = ["selected", "disabled"], _l = ["disabled", "selected", "value"], oi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5083
5130
|
__name: "BsSelectField",
|
|
5084
5131
|
props: {
|
|
5085
5132
|
data: {
|
|
@@ -5123,26 +5170,26 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5123
5170
|
modelValue: [String, Number]
|
|
5124
5171
|
},
|
|
5125
5172
|
setup(e) {
|
|
5126
|
-
const a = e, [t, l] = X(2), n = p(() =>
|
|
5173
|
+
const a = e, [t, l] = X(2), n = p(() => za.concat(a.passAttrs.split(","))), i = p(() => {
|
|
5127
5174
|
var r, f;
|
|
5128
5175
|
return ((f = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
|
|
5129
5176
|
`)) || a.hints;
|
|
5130
5177
|
}), s = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = p(() => a.inputId || t.value), d = p(() => a.value || a.modelValue);
|
|
5131
|
-
return (r, f) => (u(), v("div",
|
|
5132
|
-
e.label || r.$slots.label ? (u(),
|
|
5178
|
+
return (r, f) => (u(), v("div", N({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
|
|
5179
|
+
e.label || r.$slots.label ? (u(), V(ae, {
|
|
5133
5180
|
key: 0,
|
|
5134
5181
|
for: r.$attrs.id || o.value,
|
|
5135
5182
|
disabled: e.disabled,
|
|
5136
5183
|
required: e.required
|
|
5137
5184
|
}, {
|
|
5138
|
-
default:
|
|
5139
|
-
|
|
5140
|
-
W(
|
|
5185
|
+
default: L(() => [
|
|
5186
|
+
E(r.$slots, "label", {}, () => [
|
|
5187
|
+
W(A(e.label), 1)
|
|
5141
5188
|
])
|
|
5142
5189
|
]),
|
|
5143
5190
|
_: 3
|
|
5144
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
5145
|
-
|
|
5191
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
5192
|
+
D(Ql, N({
|
|
5146
5193
|
disabled: e.disabled,
|
|
5147
5194
|
error: e.error,
|
|
5148
5195
|
"hint-id": c(l),
|
|
@@ -5151,32 +5198,32 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5151
5198
|
value: d.value,
|
|
5152
5199
|
"onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
|
|
5153
5200
|
}, c(Y)(r.$attrs, n.value).filtered), {
|
|
5154
|
-
default:
|
|
5155
|
-
|
|
5201
|
+
default: L(() => [
|
|
5202
|
+
I("option", {
|
|
5156
5203
|
selected: !d.value,
|
|
5157
5204
|
value: "",
|
|
5158
5205
|
disabled: !!d.value
|
|
5159
|
-
},
|
|
5206
|
+
}, A(e.disabled ? "" : e.placeholder), 9, Jl),
|
|
5160
5207
|
(u(!0), v(G, null, ee(e.data, (m) => (u(), v("option", {
|
|
5161
5208
|
key: m.value,
|
|
5162
5209
|
disabled: m.disabled,
|
|
5163
5210
|
selected: d.value === m.value,
|
|
5164
5211
|
value: m.value
|
|
5165
|
-
},
|
|
5212
|
+
}, A(m.label), 9, _l))), 128))
|
|
5166
5213
|
]),
|
|
5167
5214
|
_: 1
|
|
5168
5215
|
}, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
|
|
5169
|
-
s.value ? (u(),
|
|
5216
|
+
s.value ? (u(), V(ge, {
|
|
5170
5217
|
key: 1,
|
|
5171
5218
|
"data-disabled": e.disabled,
|
|
5172
5219
|
error: e.error,
|
|
5173
5220
|
"error-msg": e.errorMsg,
|
|
5174
5221
|
hint: e.hint || i.value,
|
|
5175
5222
|
"hint-id": c(l)
|
|
5176
|
-
}, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) :
|
|
5223
|
+
}, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
5177
5224
|
], 16));
|
|
5178
5225
|
}
|
|
5179
|
-
}),
|
|
5226
|
+
}), eo = ["data-disabled", "data-size"], to = ["data-disabled", "data-pending", "data-size"], ao = ["checked", "disabled", "id"], no = ["data-inner-on-label", "data-inner-off-label"], ii = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5180
5227
|
__name: "BsSwitch",
|
|
5181
5228
|
props: {
|
|
5182
5229
|
checked: {
|
|
@@ -5223,48 +5270,48 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5223
5270
|
emits: ["update:modelValue"],
|
|
5224
5271
|
setup(e, { emit: a }) {
|
|
5225
5272
|
const t = e, l = a, [n] = X(), i = p(() => et.concat(t.passAttrs.split(","))), s = p(() => t.inputId || n.value), o = p(() => t.checked || t.modelValue);
|
|
5226
|
-
return (d, r) => (u(), v("div",
|
|
5273
|
+
return (d, r) => (u(), v("div", N({
|
|
5227
5274
|
class: "bs-boolean",
|
|
5228
5275
|
"data-component": "bs-switch",
|
|
5229
5276
|
"data-disabled": e.disabled,
|
|
5230
5277
|
"data-size": e.size
|
|
5231
5278
|
}, c(Y)(d.$attrs, i.value).remaining), [
|
|
5232
|
-
e.label || d.$slots.label ? (u(),
|
|
5279
|
+
e.label || d.$slots.label ? (u(), V(ae, {
|
|
5233
5280
|
key: 0,
|
|
5234
5281
|
for: d.$attrs.id || s.value,
|
|
5235
5282
|
disabled: e.disabled,
|
|
5236
5283
|
hide: e.hideLabel
|
|
5237
5284
|
}, {
|
|
5238
|
-
default:
|
|
5239
|
-
|
|
5240
|
-
W(
|
|
5285
|
+
default: L(() => [
|
|
5286
|
+
E(d.$slots, "label", {}, () => [
|
|
5287
|
+
W(A(e.label), 1)
|
|
5241
5288
|
])
|
|
5242
5289
|
]),
|
|
5243
5290
|
_: 3
|
|
5244
|
-
}, 8, ["for", "disabled", "hide"])) :
|
|
5245
|
-
|
|
5291
|
+
}, 8, ["for", "disabled", "hide"])) : C("", !0),
|
|
5292
|
+
I("div", {
|
|
5246
5293
|
class: "bs-switch",
|
|
5247
5294
|
"data-disabled": e.disabled,
|
|
5248
5295
|
"data-pending": e.pending,
|
|
5249
5296
|
"data-size": e.size
|
|
5250
5297
|
}, [
|
|
5251
|
-
|
|
5298
|
+
I("input", N({
|
|
5252
5299
|
checked: o.value,
|
|
5253
5300
|
disabled: e.disabled,
|
|
5254
5301
|
id: d.$attrs.id || s.value,
|
|
5255
5302
|
type: "checkbox"
|
|
5256
5303
|
}, c(Y)(d.$attrs, i.value).filtered, {
|
|
5257
5304
|
onChange: r[0] || (r[0] = (f) => l("update:modelValue", f.target.checked))
|
|
5258
|
-
}), null, 16,
|
|
5259
|
-
|
|
5305
|
+
}), null, 16, ao),
|
|
5306
|
+
I("span", {
|
|
5260
5307
|
"aria-hidden": "true",
|
|
5261
5308
|
"data-inner-on-label": e.innerOnLabel,
|
|
5262
5309
|
"data-inner-off-label": e.innerOffLabel
|
|
5263
|
-
}, null, 8,
|
|
5264
|
-
], 8,
|
|
5265
|
-
], 16,
|
|
5310
|
+
}, null, 8, no)
|
|
5311
|
+
], 8, to)
|
|
5312
|
+
], 16, eo));
|
|
5266
5313
|
}
|
|
5267
|
-
}),
|
|
5314
|
+
}), lo = ["aria-controls", "aria-selected", "data-hidden"], ri = {
|
|
5268
5315
|
__name: "BsTab",
|
|
5269
5316
|
props: {
|
|
5270
5317
|
activeTabId: {
|
|
@@ -5281,7 +5328,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5281
5328
|
},
|
|
5282
5329
|
emits: ["tabClick"],
|
|
5283
5330
|
setup(e, { emit: a }) {
|
|
5284
|
-
const t = e, l = ve(), n =
|
|
5331
|
+
const t = e, l = ve(), n = k(), i = p(() => t.activeTabId === l.id), s = p(() => t.panelId || `${l.id}-panel`);
|
|
5285
5332
|
function o(r) {
|
|
5286
5333
|
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), d());
|
|
5287
5334
|
}
|
|
@@ -5303,10 +5350,10 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5303
5350
|
onClick: d,
|
|
5304
5351
|
onKeydown: o
|
|
5305
5352
|
}, [
|
|
5306
|
-
|
|
5307
|
-
], 40,
|
|
5353
|
+
E(r.$slots, "default")
|
|
5354
|
+
], 40, lo));
|
|
5308
5355
|
}
|
|
5309
|
-
},
|
|
5356
|
+
}, oo = ["id", "data-resizing"], io = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], ro = 73, so = 20, Ue = 16, si = {
|
|
5310
5357
|
__name: "BsTabList",
|
|
5311
5358
|
props: {
|
|
5312
5359
|
activeTabId: { type: String, required: !0 },
|
|
@@ -5317,155 +5364,155 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5317
5364
|
},
|
|
5318
5365
|
emits: ["tabChange", "update:modelValue"],
|
|
5319
5366
|
setup(e, { emit: a }) {
|
|
5320
|
-
const t = e, l = a, n =
|
|
5321
|
-
var
|
|
5322
|
-
return M.value ? (
|
|
5323
|
-
}), _ = p(() => M.value ? f.value[g.value] - f.value[g.value - 1] +
|
|
5367
|
+
const t = e, l = a, n = k(!1), i = k(!1), s = k([]), o = k(!1), d = k(!1), r = k(), f = k([]), m = k(!1), b = k([]), S = k(), w = k([]), B = k(), h = k(), [$, y] = X(2), g = p(() => t.activeTabId ? b.value.findIndex((x) => x.id === t.activeTabId) : 0), M = p(() => s.value.some((x) => x.id === t.activeTabId)), T = p(() => `${y.value}-options`), q = p(() => `${y.value}-toggle`), R = p(() => {
|
|
5368
|
+
var x;
|
|
5369
|
+
return M.value ? (x = b.value[g.value]) == null ? void 0 : x.textContent : "More";
|
|
5370
|
+
}), _ = p(() => M.value ? f.value[g.value] - f.value[g.value - 1] + so + Ue : ro + Ue);
|
|
5324
5371
|
function J() {
|
|
5325
5372
|
var se;
|
|
5326
|
-
let
|
|
5373
|
+
let x = !1, z, U = 0, Q = !1, le = [];
|
|
5327
5374
|
if ((se = b.value) != null && se.length) {
|
|
5328
5375
|
for (let oe = 0; oe < b.value.length; oe++) {
|
|
5329
|
-
if (
|
|
5330
|
-
|
|
5376
|
+
if (z = b.value[oe], z.setAttribute("tabindex", "-1"), Q && oe !== g.value) {
|
|
5377
|
+
z.dataset.hidden = "true", le.push(z);
|
|
5331
5378
|
continue;
|
|
5332
5379
|
}
|
|
5333
5380
|
if (U = oe < b.value.length - 1 ? h.value - _.value : h.value, f.value[oe] > U) {
|
|
5334
|
-
|
|
5381
|
+
z.dataset.hidden = "true", le.push(z), x = !0, Q = !0;
|
|
5335
5382
|
continue;
|
|
5336
5383
|
}
|
|
5337
|
-
|
|
5384
|
+
z.dataset.hidden = "false", z.setAttribute("tabindex", "0");
|
|
5338
5385
|
}
|
|
5339
|
-
d.value =
|
|
5340
|
-
Dt(),
|
|
5386
|
+
d.value = x, s.value = le, n.value || Ae(() => n.value = !0), setTimeout(() => {
|
|
5387
|
+
Dt(), P(), m.value = !0;
|
|
5341
5388
|
}, m.value ? 25 : 1e3);
|
|
5342
5389
|
}
|
|
5343
5390
|
}
|
|
5344
|
-
function ne(
|
|
5345
|
-
l("tabChange",
|
|
5391
|
+
function ne(x) {
|
|
5392
|
+
l("tabChange", x), l("update:modelValue", x);
|
|
5346
5393
|
}
|
|
5347
|
-
function me(
|
|
5394
|
+
function me(x) {
|
|
5348
5395
|
var Q, le, se;
|
|
5349
|
-
const
|
|
5350
|
-
return
|
|
5396
|
+
const z = (se = (le = (Q = b.value[x]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : le.call(Q)) == null ? void 0 : se.width;
|
|
5397
|
+
return z || (x === 0 ? f.value[0] : f.value[x] - f.value[x - 1]) || 0;
|
|
5351
5398
|
}
|
|
5352
5399
|
function ye() {
|
|
5353
|
-
var
|
|
5354
|
-
(
|
|
5400
|
+
var x;
|
|
5401
|
+
(x = b.value[g.value]) == null || x.setAttribute("aria-selected", "true"), J();
|
|
5355
5402
|
}
|
|
5356
5403
|
function ke() {
|
|
5357
|
-
var
|
|
5358
|
-
(
|
|
5404
|
+
var x;
|
|
5405
|
+
(x = S.value) == null || x.focus(), o.value = !1;
|
|
5359
5406
|
}
|
|
5360
5407
|
function Ce() {
|
|
5361
5408
|
o.value = !o.value, i.value || (i.value = !0);
|
|
5362
5409
|
}
|
|
5363
|
-
function re(
|
|
5364
|
-
var
|
|
5365
|
-
o.value = !1, (
|
|
5410
|
+
function re(x) {
|
|
5411
|
+
var z;
|
|
5412
|
+
o.value = !1, (z = S.value) == null || z.focus(), ne(x);
|
|
5366
5413
|
}
|
|
5367
|
-
function xe(
|
|
5414
|
+
function xe(x) {
|
|
5368
5415
|
if (t.withBsTabs)
|
|
5369
5416
|
return;
|
|
5370
|
-
const
|
|
5371
|
-
if (!
|
|
5417
|
+
const z = x.target.closest('[role="tab"]');
|
|
5418
|
+
if (!z || z.getAttribute("aria-selected") === "true")
|
|
5372
5419
|
return;
|
|
5373
|
-
const U =
|
|
5420
|
+
const U = z.getAttribute("id");
|
|
5374
5421
|
ne(U);
|
|
5375
5422
|
}
|
|
5376
|
-
function Se(
|
|
5377
|
-
if (
|
|
5378
|
-
const
|
|
5379
|
-
if (
|
|
5423
|
+
function Se(x) {
|
|
5424
|
+
if (x.key === "ArrowLeft" || x.key === "ArrowRight") {
|
|
5425
|
+
const z = w.value.findIndex((U) => U.id === x.target.id);
|
|
5426
|
+
if (z === -1)
|
|
5380
5427
|
return;
|
|
5381
|
-
|
|
5428
|
+
x.preventDefault(), x.stopPropagation(), x.key === "ArrowLeft" ? F(z) : O(z);
|
|
5382
5429
|
}
|
|
5383
5430
|
}
|
|
5384
|
-
function
|
|
5431
|
+
function O(x) {
|
|
5385
5432
|
var U;
|
|
5386
|
-
const
|
|
5387
|
-
(U = w.value[
|
|
5433
|
+
const z = (x + 1) % w.value.length;
|
|
5434
|
+
(U = w.value[z]) == null || U.focus();
|
|
5388
5435
|
}
|
|
5389
|
-
function F(
|
|
5436
|
+
function F(x) {
|
|
5390
5437
|
var U;
|
|
5391
|
-
const
|
|
5392
|
-
(U = w.value[
|
|
5438
|
+
const z = x === 0 ? w.value.length - 1 : x - 1;
|
|
5439
|
+
(U = w.value[z]) == null || U.focus();
|
|
5393
5440
|
}
|
|
5394
|
-
function
|
|
5441
|
+
function P() {
|
|
5395
5442
|
var se, oe, it, rt;
|
|
5396
|
-
const
|
|
5443
|
+
const x = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, z = h.value;
|
|
5397
5444
|
let U = 300, Q = ((oe = (se = w.value) == null ? void 0 : se[g.value]) == null ? void 0 : oe.offsetLeft) || 0, le = me(g.value);
|
|
5398
|
-
d.value && M.value && (Q = (it = S.value) == null ? void 0 : it.offsetLeft, le = (rt = S.value) == null ? void 0 : rt.offsetWidth), U = Math.max(Math.abs((Q -
|
|
5445
|
+
d.value && M.value && (Q = (it = S.value) == null ? void 0 : it.offsetLeft, le = (rt = S.value) == null ? void 0 : rt.offsetWidth), U = Math.max(Math.abs((Q - x) / z * 300), 100), r.value.style.setProperty("--active-line-max-width", `${z}px`), r.value.style.setProperty("--active-line-scale", `${le / z}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${U}ms`);
|
|
5399
5446
|
}
|
|
5400
5447
|
function K() {
|
|
5401
|
-
var
|
|
5402
|
-
(
|
|
5448
|
+
var x, z;
|
|
5449
|
+
(z = (x = B.value) == null ? void 0 : x.disconnect) == null || z.call(x), B.value = null;
|
|
5403
5450
|
}
|
|
5404
5451
|
function Z() {
|
|
5405
|
-
const
|
|
5452
|
+
const x = Oe(() => {
|
|
5406
5453
|
h.value = r.value.clientWidth, J();
|
|
5407
5454
|
}, 25);
|
|
5408
|
-
|
|
5455
|
+
B.value = new ResizeObserver(x), B.value.observe(document.body);
|
|
5409
5456
|
}
|
|
5410
5457
|
function Te() {
|
|
5411
|
-
b.value = Array.from(r.value.children).filter((
|
|
5458
|
+
b.value = Array.from(r.value.children).filter((x) => x.role === "tab");
|
|
5412
5459
|
}
|
|
5413
5460
|
function Lt() {
|
|
5414
|
-
let
|
|
5415
|
-
b.value.forEach((
|
|
5416
|
-
|
|
5461
|
+
let x;
|
|
5462
|
+
b.value.forEach((z, U) => {
|
|
5463
|
+
x = z.getBoundingClientRect().width + Ue, f.value.push(U ? x + f.value[U - 1] : x);
|
|
5417
5464
|
});
|
|
5418
5465
|
}
|
|
5419
5466
|
function Dt() {
|
|
5420
|
-
var
|
|
5421
|
-
let
|
|
5467
|
+
var z, U;
|
|
5468
|
+
let x = [];
|
|
5422
5469
|
if (typeof window > "u")
|
|
5423
|
-
return
|
|
5470
|
+
return x;
|
|
5424
5471
|
for (let Q of b.value) {
|
|
5425
|
-
if (((
|
|
5472
|
+
if (((z = Q.dataset) == null ? void 0 : z.hidden) === "true" || ((U = Q.dataset) == null ? void 0 : U.hidden) === "" || Q.getAttribute("tabindex") === "-1")
|
|
5426
5473
|
break;
|
|
5427
|
-
|
|
5474
|
+
x.push(Q);
|
|
5428
5475
|
}
|
|
5429
|
-
d.value &&
|
|
5476
|
+
d.value && x.push(r.value.querySelector(".bs-tab-list-toggle")), w.value = x;
|
|
5430
5477
|
}
|
|
5431
5478
|
return j(() => t.activeTabId, ye), H(() => {
|
|
5432
|
-
var
|
|
5479
|
+
var x;
|
|
5433
5480
|
try {
|
|
5434
|
-
Te(), Lt(), Z(), h.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (
|
|
5435
|
-
} catch (
|
|
5436
|
-
console.log("tab error",
|
|
5481
|
+
Te(), Lt(), Z(), h.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (x = b.value[g.value]) == null || x.setAttribute("aria-selected", "true");
|
|
5482
|
+
} catch (z) {
|
|
5483
|
+
console.log("tab error", z);
|
|
5437
5484
|
}
|
|
5438
|
-
}),
|
|
5485
|
+
}), $e(K), (x, z) => (u(), v("div", {
|
|
5439
5486
|
class: "bs-tab-list",
|
|
5440
5487
|
"data-component": "bs-tab-list",
|
|
5441
|
-
id:
|
|
5488
|
+
id: x.$attrs.id || c($),
|
|
5442
5489
|
ref_key: "hostEl",
|
|
5443
5490
|
ref: r,
|
|
5444
5491
|
role: "tablist",
|
|
5445
5492
|
"data-resizing": !n.value || void 0,
|
|
5446
5493
|
onClick: xe,
|
|
5447
|
-
"on:tabClick":
|
|
5494
|
+
"on:tabClick": z[0] || (z[0] = (U) => ne(U.detail)),
|
|
5448
5495
|
onKeydown: Se
|
|
5449
5496
|
}, [
|
|
5450
|
-
|
|
5451
|
-
|
|
5497
|
+
E(x.$slots, "default"),
|
|
5498
|
+
I("button", {
|
|
5452
5499
|
"aria-controls": c(y),
|
|
5453
5500
|
"aria-expanded": o.value,
|
|
5454
5501
|
class: "bs-tab-list-toggle",
|
|
5455
5502
|
"data-active": M.value || void 0,
|
|
5456
5503
|
"data-hidden": !d.value,
|
|
5457
|
-
id:
|
|
5504
|
+
id: q.value,
|
|
5458
5505
|
ref_key: "dropdownToggle",
|
|
5459
5506
|
ref: S,
|
|
5460
5507
|
onClick: Ce
|
|
5461
5508
|
}, [
|
|
5462
|
-
|
|
5463
|
-
W(" " +
|
|
5464
|
-
], 8,
|
|
5465
|
-
|
|
5466
|
-
"anchor-id":
|
|
5509
|
+
D(c(Gt), { size: "sm" }),
|
|
5510
|
+
W(" " + A(R.value), 1)
|
|
5511
|
+
], 8, io),
|
|
5512
|
+
D(Ot, {
|
|
5513
|
+
"anchor-id": q.value,
|
|
5467
5514
|
breakout: "",
|
|
5468
|
-
"container-id":
|
|
5515
|
+
"container-id": x.$attrs.id || c($),
|
|
5469
5516
|
"helper-description": e.helperDescription || void 0,
|
|
5470
5517
|
"helper-text": e.helperText,
|
|
5471
5518
|
id: c(y),
|
|
@@ -5477,23 +5524,23 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5477
5524
|
onClose: ke,
|
|
5478
5525
|
"onUpdate:modelValue": re
|
|
5479
5526
|
}, {
|
|
5480
|
-
default:
|
|
5481
|
-
(u(!0), v(G, null, ee(s.value, (U) => (u(),
|
|
5527
|
+
default: L(() => [
|
|
5528
|
+
(u(!0), v(G, null, ee(s.value, (U) => (u(), V(ot, {
|
|
5482
5529
|
key: U.id,
|
|
5483
5530
|
value: U.id,
|
|
5484
5531
|
"options-id": T.value
|
|
5485
5532
|
}, {
|
|
5486
|
-
default:
|
|
5487
|
-
W(
|
|
5533
|
+
default: L(() => [
|
|
5534
|
+
W(A(U.textContent), 1)
|
|
5488
5535
|
]),
|
|
5489
5536
|
_: 2
|
|
5490
5537
|
}, 1032, ["value", "options-id"]))), 128))
|
|
5491
5538
|
]),
|
|
5492
5539
|
_: 1
|
|
5493
5540
|
}, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
|
|
5494
|
-
], 40,
|
|
5541
|
+
], 40, oo));
|
|
5495
5542
|
}
|
|
5496
|
-
},
|
|
5543
|
+
}, uo = ["aria-labelledby", "data-active", "id"], di = {
|
|
5497
5544
|
__name: "BsTabPanel",
|
|
5498
5545
|
props: {
|
|
5499
5546
|
activeTabId: {
|
|
@@ -5514,10 +5561,10 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5514
5561
|
id: n.value,
|
|
5515
5562
|
role: "tabpanel"
|
|
5516
5563
|
}, [
|
|
5517
|
-
|
|
5518
|
-
], 8,
|
|
5564
|
+
E(i.$slots, "default")
|
|
5565
|
+
], 8, uo));
|
|
5519
5566
|
}
|
|
5520
|
-
},
|
|
5567
|
+
}, co = ["data-error", "id", "rows", "value"], fo = {
|
|
5521
5568
|
__name: "BsTextarea",
|
|
5522
5569
|
props: {
|
|
5523
5570
|
error: {
|
|
@@ -5533,7 +5580,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5533
5580
|
emits: ["update:modelValue"],
|
|
5534
5581
|
setup(e, { emit: a }) {
|
|
5535
5582
|
const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
|
|
5536
|
-
return (n, i) => (u(), v("textarea",
|
|
5583
|
+
return (n, i) => (u(), v("textarea", N({
|
|
5537
5584
|
class: "bs-textarea",
|
|
5538
5585
|
"data-component": "bs-textarea",
|
|
5539
5586
|
"data-error": e.error,
|
|
@@ -5541,9 +5588,9 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5541
5588
|
rows: n.$attrs.rows || 6,
|
|
5542
5589
|
value: e.value || e.modelValue,
|
|
5543
5590
|
onInput: i[0] || (i[0] = (s) => n.$emit("update:modelValue", s.target.value))
|
|
5544
|
-
}, l.value), null, 16,
|
|
5591
|
+
}, l.value), null, 16, co));
|
|
5545
5592
|
}
|
|
5546
|
-
},
|
|
5593
|
+
}, ui = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5547
5594
|
__name: "BsTextareaField",
|
|
5548
5595
|
props: {
|
|
5549
5596
|
/** Sets the maximum value this textarea will allow. Will also display character count if present. This does not set maxlength, so users are able to enter text that is longer and edit it down. Enforcement of length must be by the developer. */
|
|
@@ -5592,7 +5639,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5592
5639
|
},
|
|
5593
5640
|
emits: ["update:modelValue"],
|
|
5594
5641
|
setup(e, { emit: a }) {
|
|
5595
|
-
const t = e, [l, n] = X(2), i = p(() =>
|
|
5642
|
+
const t = e, [l, n] = X(2), i = p(() => Na.concat(t.passAttrs.split(","))), s = p(() => {
|
|
5596
5643
|
var f;
|
|
5597
5644
|
return ((f = t.value || t.modelValue) == null ? void 0 : f.length) || 0;
|
|
5598
5645
|
}), o = p(() => {
|
|
@@ -5600,21 +5647,21 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5600
5647
|
return ((m = (f = t.hints) == null ? void 0 : f.join) == null ? void 0 : m.call(f, `
|
|
5601
5648
|
`)) || t.hints;
|
|
5602
5649
|
}), d = p(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = p(() => t.inputId || l.value);
|
|
5603
|
-
return (f, m) => (u(), v("div",
|
|
5604
|
-
e.label || f.$slots.label ? (u(),
|
|
5650
|
+
return (f, m) => (u(), v("div", N({ "data-component": "bs-textarea-field" }, c(Y)(f.$attrs, i.value).remaining), [
|
|
5651
|
+
e.label || f.$slots.label ? (u(), V(ae, {
|
|
5605
5652
|
key: 0,
|
|
5606
5653
|
for: f.$attrs.id || r.value,
|
|
5607
5654
|
disabled: e.disabled,
|
|
5608
5655
|
required: e.required
|
|
5609
5656
|
}, {
|
|
5610
|
-
default:
|
|
5611
|
-
|
|
5612
|
-
W(
|
|
5657
|
+
default: L(() => [
|
|
5658
|
+
E(f.$slots, "label", {}, () => [
|
|
5659
|
+
W(A(e.label), 1)
|
|
5613
5660
|
])
|
|
5614
5661
|
]),
|
|
5615
5662
|
_: 3
|
|
5616
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
5617
|
-
|
|
5663
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
5664
|
+
D(fo, N({
|
|
5618
5665
|
disabled: e.disabled,
|
|
5619
5666
|
error: e.error,
|
|
5620
5667
|
"hint-id": c(n),
|
|
@@ -5625,7 +5672,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5625
5672
|
value: e.value || e.modelValue,
|
|
5626
5673
|
"onUpdate:modelValue": m[0] || (m[0] = (b) => f.$emit("update:modelValue", b))
|
|
5627
5674
|
}, c(Y)(f.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
|
|
5628
|
-
d.value || e.charMax ? (u(),
|
|
5675
|
+
d.value || e.charMax ? (u(), V(ge, {
|
|
5629
5676
|
key: 1,
|
|
5630
5677
|
"char-count": s.value,
|
|
5631
5678
|
"char-max": e.charMax,
|
|
@@ -5634,19 +5681,19 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
|
|
|
5634
5681
|
"error-msg": e.errorMsg,
|
|
5635
5682
|
hint: e.hint || o.value,
|
|
5636
5683
|
"hint-id": c(n)
|
|
5637
|
-
}, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) :
|
|
5684
|
+
}, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
5638
5685
|
], 16));
|
|
5639
5686
|
}
|
|
5640
5687
|
});
|
|
5641
|
-
function
|
|
5688
|
+
function po(e) {
|
|
5642
5689
|
const a = /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/.test(e), t = /^([01]?[0-9]|2[0-3])[0-5][0-9]$/.test(e), l = /^([0]?[0-9]|1[0-2]):[0-5][0-9] ?(a|p|am|pm)$/i.test(e), n = /^([0]?[0-9]|1[0-2])[0-5][0-9] ?(a|p|am|pm)$/i.test(e);
|
|
5643
5690
|
return a ? "uFmt" : t ? "uFmtNoColon" : l ? "amPm" : n ? "amPmNoColon" : "";
|
|
5644
5691
|
}
|
|
5645
5692
|
const we = (e) => parseInt(e, 10);
|
|
5646
|
-
function
|
|
5693
|
+
function ho(e = "") {
|
|
5647
5694
|
const a = /[^0-9:apmAPM]/g;
|
|
5648
5695
|
let t, l;
|
|
5649
|
-
switch (e = e.replaceAll(a, "").toLowerCase(),
|
|
5696
|
+
switch (e = e.replaceAll(a, "").toLowerCase(), po(e)) {
|
|
5650
5697
|
case "uFmt":
|
|
5651
5698
|
case "uFmtNoColon":
|
|
5652
5699
|
l = we(e.slice(-2)), t = we(e.slice(0, -2));
|
|
@@ -5669,11 +5716,11 @@ function be(e = "") {
|
|
|
5669
5716
|
const [t, l] = e.split(":"), n = we(t), i = we(l), s = n < 12 ? "AM" : "PM";
|
|
5670
5717
|
return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${s}`;
|
|
5671
5718
|
}
|
|
5672
|
-
function
|
|
5673
|
-
const { hours: a, minutes: t } =
|
|
5719
|
+
function vo(e = "") {
|
|
5720
|
+
const { hours: a, minutes: t } = ho(e);
|
|
5674
5721
|
return isNaN(a) || isNaN(t) ? "" : `${a.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
|
|
5675
5722
|
}
|
|
5676
|
-
const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under",
|
|
5723
|
+
const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5677
5724
|
__name: "BsTimePicker",
|
|
5678
5725
|
props: {
|
|
5679
5726
|
disabled: {
|
|
@@ -5738,31 +5785,31 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5738
5785
|
},
|
|
5739
5786
|
emits: ["update:modelValue"],
|
|
5740
5787
|
setup(e, { expose: a, emit: t }) {
|
|
5741
|
-
const l = e, n = t, i =
|
|
5788
|
+
const l = e, n = t, i = k(be(l.modelValue)), s = k([]), o = k(""), d = k(!1);
|
|
5742
5789
|
function r() {
|
|
5743
|
-
const
|
|
5790
|
+
const $ = [];
|
|
5744
5791
|
let y = !1;
|
|
5745
5792
|
for (let g = 0; g < 24 && !y; g++)
|
|
5746
5793
|
for (let M = 0; M < 60; M += l.step) {
|
|
5747
|
-
const T = b(g, M),
|
|
5748
|
-
if (
|
|
5749
|
-
if (
|
|
5794
|
+
const T = b(g, M), q = m(T);
|
|
5795
|
+
if (q !== mt) {
|
|
5796
|
+
if (q === bt) {
|
|
5750
5797
|
y = !0;
|
|
5751
5798
|
break;
|
|
5752
5799
|
}
|
|
5753
|
-
|
|
5800
|
+
$.push({
|
|
5754
5801
|
label: be(T),
|
|
5755
5802
|
value: T
|
|
5756
5803
|
});
|
|
5757
5804
|
}
|
|
5758
5805
|
}
|
|
5759
|
-
return
|
|
5806
|
+
return $;
|
|
5760
5807
|
}
|
|
5761
|
-
function f(
|
|
5762
|
-
return
|
|
5808
|
+
function f($) {
|
|
5809
|
+
return $ ? l.minTime && $ < l.minTime ? He : l.maxTime && $ > l.maxTime ? Ge : l.disabledTimes.includes($) ? We : "" : "";
|
|
5763
5810
|
}
|
|
5764
|
-
function m(
|
|
5765
|
-
switch (f(
|
|
5811
|
+
function m($) {
|
|
5812
|
+
switch (f($)) {
|
|
5766
5813
|
case Ge:
|
|
5767
5814
|
return bt;
|
|
5768
5815
|
case He:
|
|
@@ -5772,21 +5819,21 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5772
5819
|
return "";
|
|
5773
5820
|
}
|
|
5774
5821
|
}
|
|
5775
|
-
function b(
|
|
5776
|
-
return
|
|
5822
|
+
function b($, y) {
|
|
5823
|
+
return $ = $.toString().padStart(2, "0"), y = y.toString().padStart(2, "0"), `${$}:${y}`;
|
|
5777
5824
|
}
|
|
5778
|
-
function S(
|
|
5779
|
-
const y =
|
|
5780
|
-
y === l.modelValue && (i.value = be(l.modelValue)),
|
|
5825
|
+
function S($) {
|
|
5826
|
+
const y = vo($);
|
|
5827
|
+
y === l.modelValue && (i.value = be(l.modelValue)), B(y);
|
|
5781
5828
|
}
|
|
5782
5829
|
function w() {
|
|
5783
5830
|
s.value = r();
|
|
5784
5831
|
}
|
|
5785
|
-
function $
|
|
5786
|
-
h(
|
|
5832
|
+
function B($) {
|
|
5833
|
+
h($), n("update:modelValue", $);
|
|
5787
5834
|
}
|
|
5788
|
-
function h(
|
|
5789
|
-
switch (f(
|
|
5835
|
+
function h($) {
|
|
5836
|
+
switch (f($)) {
|
|
5790
5837
|
case Ge:
|
|
5791
5838
|
o.value = `Time must be before ${be(l.maxTime)}`, d.value = !0;
|
|
5792
5839
|
break;
|
|
@@ -5810,12 +5857,12 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5810
5857
|
() => l.maxTime,
|
|
5811
5858
|
() => l.minTime,
|
|
5812
5859
|
() => l.modelValue
|
|
5813
|
-
], () => h(l.modelValue)), j(() => l.modelValue, (
|
|
5814
|
-
i.value = l.modelValue ? be(
|
|
5860
|
+
], () => h(l.modelValue)), j(() => l.modelValue, ($) => {
|
|
5861
|
+
i.value = l.modelValue ? be($) : "";
|
|
5815
5862
|
}), a({
|
|
5816
5863
|
validationErr: d,
|
|
5817
5864
|
validationErrMsg: o
|
|
5818
|
-
}), (
|
|
5865
|
+
}), ($, y) => (u(), V(At, {
|
|
5819
5866
|
disabled: e.disabled,
|
|
5820
5867
|
"display-value": i.value,
|
|
5821
5868
|
"dropdown-position": e.dropdownPosition,
|
|
@@ -5833,7 +5880,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5833
5880
|
"onUpdate:modelValue": S
|
|
5834
5881
|
}, null, 8, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "model-value", "options", "placeholder", "required"]));
|
|
5835
5882
|
}
|
|
5836
|
-
}),
|
|
5883
|
+
}), ci = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5837
5884
|
__name: "BsTimePickerField",
|
|
5838
5885
|
props: {
|
|
5839
5886
|
disabled: {
|
|
@@ -5902,7 +5949,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5902
5949
|
},
|
|
5903
5950
|
emits: ["update:modelValue"],
|
|
5904
5951
|
setup(e, { expose: a, emit: t }) {
|
|
5905
|
-
const l = e, [n, i] = X(2), s =
|
|
5952
|
+
const l = e, [n, i] = X(2), s = k(null), o = p(() => l.errorMsg || m.value), d = p(() => l.error || b.value), r = p(() => l.inputId || n.value), f = p(() => l.hint || d.value && o.value), m = p(() => {
|
|
5906
5953
|
var S;
|
|
5907
5954
|
return (S = s.value) == null ? void 0 : S.validationErrMsg;
|
|
5908
5955
|
}), b = p(() => {
|
|
@@ -5912,24 +5959,24 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5912
5959
|
return a({
|
|
5913
5960
|
validationErr: b,
|
|
5914
5961
|
validationErrMsg: m
|
|
5915
|
-
}), (S, w) => (u(), v("div",
|
|
5962
|
+
}), (S, w) => (u(), v("div", N({
|
|
5916
5963
|
"aria-live": "polite",
|
|
5917
5964
|
"data-component": "bs-time-picker-field"
|
|
5918
5965
|
}, c(Y)(S.$attrs, c(he)).remaining), [
|
|
5919
|
-
e.label || S.$slots.label ? (u(),
|
|
5966
|
+
e.label || S.$slots.label ? (u(), V(ae, {
|
|
5920
5967
|
key: 0,
|
|
5921
5968
|
for: S.$attrs.id || r.value,
|
|
5922
5969
|
disabled: e.disabled,
|
|
5923
5970
|
required: e.required
|
|
5924
5971
|
}, {
|
|
5925
|
-
default:
|
|
5926
|
-
|
|
5927
|
-
W(
|
|
5972
|
+
default: L(() => [
|
|
5973
|
+
E(S.$slots, "label", {}, () => [
|
|
5974
|
+
W(A(e.label), 1)
|
|
5928
5975
|
])
|
|
5929
5976
|
]),
|
|
5930
5977
|
_: 3
|
|
5931
|
-
}, 8, ["for", "disabled", "required"])) :
|
|
5932
|
-
|
|
5978
|
+
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
5979
|
+
D(mo, N({
|
|
5933
5980
|
ref_key: "timePicker",
|
|
5934
5981
|
ref: s,
|
|
5935
5982
|
disabled: e.disabled,
|
|
@@ -5947,9 +5994,9 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5947
5994
|
placeholder: e.placeholder,
|
|
5948
5995
|
required: e.required,
|
|
5949
5996
|
step: e.step,
|
|
5950
|
-
"onUpdate:modelValue": w[0] || (w[0] = (
|
|
5997
|
+
"onUpdate:modelValue": w[0] || (w[0] = (B) => S.$emit("update:modelValue", B))
|
|
5951
5998
|
}, c(Y)(S.$attrs, c(he)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
|
|
5952
|
-
de(
|
|
5999
|
+
de(D(ge, {
|
|
5953
6000
|
error: d.value,
|
|
5954
6001
|
"error-msg": o.value,
|
|
5955
6002
|
hint: e.hint,
|
|
@@ -5959,7 +6006,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
5959
6006
|
])
|
|
5960
6007
|
], 16));
|
|
5961
6008
|
}
|
|
5962
|
-
}),
|
|
6009
|
+
}), bo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], go = ["data-status"], yo = { class: "visually-hidden" }, fi = {
|
|
5963
6010
|
__name: "BsTimeline",
|
|
5964
6011
|
props: {
|
|
5965
6012
|
/** @type {Status} */
|
|
@@ -6013,18 +6060,18 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
6013
6060
|
key: r.id || r.label,
|
|
6014
6061
|
role: "status"
|
|
6015
6062
|
}, [
|
|
6016
|
-
(u(),
|
|
6063
|
+
(u(), V(te(s(r.status, f)), {
|
|
6017
6064
|
class: "bs-step-icon",
|
|
6018
6065
|
role: "presentation"
|
|
6019
6066
|
})),
|
|
6020
|
-
|
|
6021
|
-
W(
|
|
6022
|
-
|
|
6067
|
+
I("p", null, [
|
|
6068
|
+
W(A(r.label || r) + " ", 1),
|
|
6069
|
+
I("span", yo, " : " + A(c(i)(r.status, f) || "not started"), 1)
|
|
6023
6070
|
])
|
|
6024
|
-
], 8,
|
|
6025
|
-
], 8,
|
|
6071
|
+
], 8, go))), 128))
|
|
6072
|
+
], 8, bo));
|
|
6026
6073
|
}
|
|
6027
|
-
},
|
|
6074
|
+
}, So = ["data-variant", "data-shown", "data-stacked"], pi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
6028
6075
|
__name: "BsToast",
|
|
6029
6076
|
props: {
|
|
6030
6077
|
shown: {
|
|
@@ -6070,7 +6117,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
6070
6117
|
},
|
|
6071
6118
|
emits: ["dismiss", "after-enter", "after-leave"],
|
|
6072
6119
|
setup(e, { emit: a }) {
|
|
6073
|
-
const t = e, l = a, { transition: n } =
|
|
6120
|
+
const t = e, l = a, { transition: n } = Le(t);
|
|
6074
6121
|
let i = null;
|
|
6075
6122
|
ce("variant", t.variant), ce("handleDismiss", o);
|
|
6076
6123
|
const s = fe("stacked", t.stacked);
|
|
@@ -6082,31 +6129,31 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
6082
6129
|
o();
|
|
6083
6130
|
}, t.duration)), l("after-enter");
|
|
6084
6131
|
}
|
|
6085
|
-
return (r, f) => (u(),
|
|
6132
|
+
return (r, f) => (u(), V(qe, {
|
|
6086
6133
|
name: "bs-toast",
|
|
6087
6134
|
shown: c(n),
|
|
6088
6135
|
preloaded: e.preloaded,
|
|
6089
6136
|
onAfterEnter: d,
|
|
6090
6137
|
onAfterLeave: f[0] || (f[0] = (m) => l("after-leave"))
|
|
6091
6138
|
}, {
|
|
6092
|
-
default:
|
|
6093
|
-
|
|
6139
|
+
default: L(() => [
|
|
6140
|
+
I("div", N({
|
|
6094
6141
|
class: "bs-toast",
|
|
6095
6142
|
"data-variant": e.variant,
|
|
6096
6143
|
"data-shown": c(n),
|
|
6097
6144
|
"data-stacked": c(s) || void 0,
|
|
6098
6145
|
role: "alert"
|
|
6099
6146
|
}, r.$attrs), [
|
|
6100
|
-
|
|
6101
|
-
], 16,
|
|
6147
|
+
E(r.$slots, "default")
|
|
6148
|
+
], 16, So)
|
|
6102
6149
|
]),
|
|
6103
6150
|
_: 3
|
|
6104
6151
|
}, 8, ["shown", "preloaded"]));
|
|
6105
6152
|
}
|
|
6106
|
-
}),
|
|
6153
|
+
}), wo = ["data-stacked"], hi = {
|
|
6107
6154
|
__name: "BsToastActions",
|
|
6108
6155
|
setup(e) {
|
|
6109
|
-
const a =
|
|
6156
|
+
const a = k(!1);
|
|
6110
6157
|
H(() => {
|
|
6111
6158
|
var n;
|
|
6112
6159
|
const l = yt();
|
|
@@ -6117,32 +6164,32 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
|
|
|
6117
6164
|
class: "bs-toast-actions",
|
|
6118
6165
|
"data-stacked": a.value || void 0
|
|
6119
6166
|
}, [
|
|
6120
|
-
|
|
6121
|
-
|
|
6167
|
+
E(l.$slots, "default", {}, () => [
|
|
6168
|
+
D(Ia, {
|
|
6122
6169
|
size: "sm",
|
|
6123
6170
|
"text-btn": "",
|
|
6124
6171
|
onClick: c(t)
|
|
6125
6172
|
}, {
|
|
6126
|
-
default:
|
|
6173
|
+
default: L(() => [
|
|
6127
6174
|
W(" Dismiss ")
|
|
6128
6175
|
]),
|
|
6129
6176
|
_: 1
|
|
6130
6177
|
}, 8, ["onClick"])
|
|
6131
6178
|
])
|
|
6132
|
-
], 8,
|
|
6179
|
+
], 8, wo));
|
|
6133
6180
|
}
|
|
6134
|
-
},
|
|
6181
|
+
}, $o = (e, a) => {
|
|
6135
6182
|
const t = e.__vccOpts || e;
|
|
6136
6183
|
for (const [l, n] of a)
|
|
6137
6184
|
t[l] = n;
|
|
6138
6185
|
return t;
|
|
6139
|
-
},
|
|
6140
|
-
function
|
|
6141
|
-
return u(), v("div",
|
|
6142
|
-
|
|
6186
|
+
}, Bo = {}, Io = { class: "bs-toast-body" };
|
|
6187
|
+
function ko(e, a) {
|
|
6188
|
+
return u(), v("div", Io, [
|
|
6189
|
+
E(e.$slots, "default")
|
|
6143
6190
|
]);
|
|
6144
6191
|
}
|
|
6145
|
-
const
|
|
6192
|
+
const vi = /* @__PURE__ */ $o(Bo, [["render", ko]]), Co = ["data-variant"], mi = {
|
|
6146
6193
|
__name: "BsToastHeader",
|
|
6147
6194
|
setup(e) {
|
|
6148
6195
|
const a = fe("variant"), t = p(() => {
|
|
@@ -6161,20 +6208,20 @@ const ui = /* @__PURE__ */ go(yo, [["render", wo]]), Bo = ["data-variant"], ci =
|
|
|
6161
6208
|
class: "bs-toast-header",
|
|
6162
6209
|
"data-variant": c(a)
|
|
6163
6210
|
}, [
|
|
6164
|
-
(u(),
|
|
6165
|
-
|
|
6166
|
-
|
|
6211
|
+
(u(), V(te(t.value), { class: "bs-toast-header-icon" })),
|
|
6212
|
+
I("h5", null, [
|
|
6213
|
+
E(l.$slots, "default")
|
|
6167
6214
|
])
|
|
6168
|
-
], 8,
|
|
6215
|
+
], 8, Co));
|
|
6169
6216
|
}
|
|
6170
|
-
},
|
|
6217
|
+
}, xo = { class: "bs-toaster" }, bi = {
|
|
6171
6218
|
__name: "BsToaster",
|
|
6172
6219
|
setup(e) {
|
|
6173
|
-
return ce("stacked", !0), (a, t) => (u(), v("div",
|
|
6174
|
-
|
|
6220
|
+
return ce("stacked", !0), (a, t) => (u(), v("div", xo, [
|
|
6221
|
+
E(a.$slots, "default")
|
|
6175
6222
|
]));
|
|
6176
6223
|
}
|
|
6177
|
-
},
|
|
6224
|
+
}, To = ["data-position"], Ao = ["id"], gi = {
|
|
6178
6225
|
__name: "BsTooltip",
|
|
6179
6226
|
props: {
|
|
6180
6227
|
tooltipId: {
|
|
@@ -6201,7 +6248,7 @@ const ui = /* @__PURE__ */ go(yo, [["render", wo]]), Bo = ["data-variant"], ci =
|
|
|
6201
6248
|
}
|
|
6202
6249
|
},
|
|
6203
6250
|
setup(e) {
|
|
6204
|
-
const a = e, t =
|
|
6251
|
+
const a = e, t = k(!1), l = k(!1), n = p(() => {
|
|
6205
6252
|
let o = "bs-tooltip-text";
|
|
6206
6253
|
return l.value && (a.position === void 0 || a.position === "top" || a.position === "bottom" ? o += " escaped-x" : a.position === "left" || a.position === "right" ? o += " escaped-y" : o += " escaped"), o;
|
|
6207
6254
|
});
|
|
@@ -6223,73 +6270,74 @@ const ui = /* @__PURE__ */ go(yo, [["render", wo]]), Bo = ["data-variant"], ci =
|
|
|
6223
6270
|
onMouseleave: s,
|
|
6224
6271
|
onFocusout: s
|
|
6225
6272
|
}, [
|
|
6226
|
-
|
|
6273
|
+
E(o.$slots, "default"),
|
|
6227
6274
|
e.content ? (u(), v("div", {
|
|
6228
6275
|
key: 0,
|
|
6229
6276
|
class: ie(n.value),
|
|
6230
6277
|
id: e.tooltipId,
|
|
6231
6278
|
role: "tooltip"
|
|
6232
|
-
},
|
|
6233
|
-
], 40,
|
|
6279
|
+
}, A(e.content), 11, Ao)) : C("", !0)
|
|
6280
|
+
], 40, To));
|
|
6234
6281
|
}
|
|
6235
6282
|
};
|
|
6236
6283
|
export {
|
|
6237
|
-
|
|
6284
|
+
zo as BsAccordion,
|
|
6238
6285
|
Sa as BsBadge,
|
|
6239
|
-
|
|
6286
|
+
No as BsBanner,
|
|
6240
6287
|
Ia as BsButton,
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6288
|
+
Ro as BsCalendar,
|
|
6289
|
+
Fo as BsCaretButton,
|
|
6290
|
+
jo as BsCaretTextButton,
|
|
6291
|
+
Uo as BsChartBar,
|
|
6292
|
+
Wo as BsCheckbox,
|
|
6246
6293
|
Ct as BsCircleButton,
|
|
6247
6294
|
lt as BsDropdown,
|
|
6248
6295
|
At as BsDropdownCombobox,
|
|
6249
|
-
|
|
6296
|
+
Go as BsDropdownComboboxField,
|
|
6250
6297
|
Vt as BsDropdownMultiselect,
|
|
6251
6298
|
ot as BsDropdownOption,
|
|
6252
|
-
|
|
6299
|
+
Pe as BsDropdownOptionBuilder,
|
|
6253
6300
|
Re as BsDropdownOptionList,
|
|
6254
6301
|
Ot as BsDropdownWithOptions,
|
|
6255
6302
|
En as BsDropdownWithToggle,
|
|
6303
|
+
Ho as BsEmptyState,
|
|
6256
6304
|
ge as BsFieldDetails,
|
|
6257
6305
|
wn as BsFilterButton,
|
|
6258
|
-
|
|
6259
|
-
|
|
6306
|
+
Ko as BsFlyout,
|
|
6307
|
+
Yo as BsIconGradientWrapper,
|
|
6260
6308
|
Ie as BsInput,
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6309
|
+
De as BsInputAddon,
|
|
6310
|
+
Zo as BsInputField,
|
|
6311
|
+
Xo as BsInputPhone,
|
|
6312
|
+
el as BsInputSearch,
|
|
6313
|
+
Qo as BsInputTypeahead,
|
|
6266
6314
|
ae as BsLabel,
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6315
|
+
Jo as BsLoader,
|
|
6316
|
+
_o as BsModal,
|
|
6317
|
+
bl as BsOverlay,
|
|
6318
|
+
ei as BsPagination,
|
|
6319
|
+
ti as BsPill,
|
|
6320
|
+
ai as BsProfile,
|
|
6321
|
+
Gl as BsProfileDetails,
|
|
6274
6322
|
Tt as BsProfileImg,
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6323
|
+
ni as BsProgressBar,
|
|
6324
|
+
li as BsRadio,
|
|
6325
|
+
Ql as BsSelect,
|
|
6326
|
+
oi as BsSelectField,
|
|
6279
6327
|
vt as BsSpinner,
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6328
|
+
ii as BsSwitch,
|
|
6329
|
+
ri as BsTab,
|
|
6330
|
+
si as BsTabList,
|
|
6331
|
+
di as BsTabPanel,
|
|
6332
|
+
fo as BsTextarea,
|
|
6333
|
+
ui as BsTextareaField,
|
|
6334
|
+
mo as BsTimePicker,
|
|
6335
|
+
ci as BsTimePickerField,
|
|
6336
|
+
fi as BsTimeline,
|
|
6337
|
+
pi as BsToast,
|
|
6338
|
+
hi as BsToastActions,
|
|
6339
|
+
vi as BsToastBody,
|
|
6340
|
+
mi as BsToastHeader,
|
|
6341
|
+
bi as BsToaster,
|
|
6342
|
+
gi as BsTooltip
|
|
6295
6343
|
};
|