@wwtdev/bsds-components-vue3 2.16.0 → 2.17.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 +811 -804
- package/lib/components.css +1 -1
- package/package.json +3 -3
package/lib/bsds-components.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { computed as f, ref as
|
|
2
|
-
import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as
|
|
3
|
-
import { DatePicker as
|
|
4
|
-
import { Filler as
|
|
1
|
+
import { computed as f, ref as $, onMounted as X, onUnmounted as $e, shallowRef as Wt, watch as G, defineAsyncComponent as Je, useId as yt, openBlock as d, createElementBlock as b, unref as c, createElementVNode as B, renderSlot as V, createBlock as O, resolveDynamicComponent as ae, createCommentVNode as C, createTextVNode as j, toDisplayString as A, createVNode as P, normalizeClass as le, useAttrs as re, mergeProps as z, withCtx as D, Fragment as K, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as St, nextTick as Ae, createSlots as Ze, useSlots as et, renderList as te, Teleport as jt, withDirectives as ue, Transition as dt, vShow as ce, provide as fe, inject as pe, withModifiers as wt, isRef as Ut } from "vue";
|
|
2
|
+
import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as Ie, BsIconCalendar as Bt, BsIconCaretRight as $t, BsIconCaretLeft as It, BsIconSmallCaretRight as Gt, BsIconSmallCaretLeft as Ht, BsIconSearch as Kt, BsIconCaretSort as Yt, BsIconCaretLeftDouble as Zt, BsIconCaretRightDouble as Xt, BsIconActionEllipsis as Qt, BsIconGraphPieEmpty as ut, BsIconCircleStop as Jt, BsIconCircleCheck as _t, BsIconCircleX as ea, BsIconCircleEllipsis as ta, BsIconCirclePlay as aa, BsIconCirclePause as na, BsIconCircleExclamation as kt, BsIconThumbsUpStroke as la } from "@wwtdev/bsds-icons-vue3";
|
|
3
|
+
import { DatePicker as oa } from "v-calendar";
|
|
4
|
+
import { Filler as ia, Chart as We, BarController as ra, BarElement as sa, CategoryScale as da, LinearScale as ua, Legend as ca, TimeScale as fa, Tooltip as pa } from "chart.js";
|
|
5
5
|
import "chartjs-adapter-date-fns";
|
|
6
6
|
import Ne from "lodash.merge";
|
|
7
|
-
import { getSupportedCallingCodes as
|
|
7
|
+
import { getSupportedCallingCodes as ma, getRegionCodeForCountryCode as ba, parsePhoneNumber as ct } from "awesome-phonenumber";
|
|
8
8
|
const ft = {
|
|
9
9
|
href: "a",
|
|
10
10
|
linkTo: "a",
|
|
@@ -13,7 +13,7 @@ const ft = {
|
|
|
13
13
|
type: "button"
|
|
14
14
|
};
|
|
15
15
|
function ze(e, a, t = "button") {
|
|
16
|
-
const l =
|
|
16
|
+
const l = ha(e, a, t), n = f(() => {
|
|
17
17
|
const o = l.value === "button", s = {};
|
|
18
18
|
return o ? (s.type = a.type || "button", s.autocomplete = "off", e.disabled && (s.disabled = !0)) : e.disabled && (s["aria-disabled"] = "true", s.tabindex = "-1"), s;
|
|
19
19
|
}), i = f(() => {
|
|
@@ -22,11 +22,11 @@ function ze(e, a, t = "button") {
|
|
|
22
22
|
}), u = f(() => e.linkTo || e.href);
|
|
23
23
|
return { rootTag: l, attrsToBind: i, hrefUrl: u };
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
const l = Object.keys(ft).find((n) =>
|
|
27
|
-
return
|
|
25
|
+
function ha(e, a, t) {
|
|
26
|
+
const l = Object.keys(ft).find((n) => va(e, a, n));
|
|
27
|
+
return $(ft[l] || t);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function va(e, a, t) {
|
|
30
30
|
return e[t] || a[t];
|
|
31
31
|
}
|
|
32
32
|
const Ct = (e, a) => {
|
|
@@ -38,7 +38,7 @@ const Ct = (e, a) => {
|
|
|
38
38
|
};
|
|
39
39
|
X(() => {
|
|
40
40
|
document.addEventListener("mouseup", t);
|
|
41
|
-
}),
|
|
41
|
+
}), $e(() => {
|
|
42
42
|
document.removeEventListener("mouseup", t);
|
|
43
43
|
});
|
|
44
44
|
};
|
|
@@ -73,7 +73,7 @@ const Oe = (e, a) => {
|
|
|
73
73
|
return s;
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
const l =
|
|
76
|
+
const l = Wt(), n = e[a] || ((i = e == null ? void 0 : e.value) == null ? void 0 : i[a]);
|
|
77
77
|
return l.value = t(n), G(
|
|
78
78
|
[
|
|
79
79
|
() => e[a],
|
|
@@ -88,7 +88,7 @@ const Oe = (e, a) => {
|
|
|
88
88
|
function Q(e = 1) {
|
|
89
89
|
const a = [];
|
|
90
90
|
for (let t = 0; t < e; t++)
|
|
91
|
-
a.push(
|
|
91
|
+
a.push($(""));
|
|
92
92
|
return X(() => {
|
|
93
93
|
a.forEach((t) => t.value = yt());
|
|
94
94
|
}), a;
|
|
@@ -103,18 +103,18 @@ const me = (e, a, t = void 0) => {
|
|
|
103
103
|
};
|
|
104
104
|
X(() => {
|
|
105
105
|
((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", l);
|
|
106
|
-
}),
|
|
106
|
+
}), $e(() => {
|
|
107
107
|
((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", l);
|
|
108
108
|
});
|
|
109
|
-
},
|
|
109
|
+
}, ga = (e, a, t) => {
|
|
110
110
|
let l = null;
|
|
111
111
|
X(() => {
|
|
112
112
|
l = new MutationObserver(a), l.observe(e.value, t);
|
|
113
|
-
}),
|
|
113
|
+
}), $e(() => {
|
|
114
114
|
l.disconnect();
|
|
115
115
|
});
|
|
116
116
|
}, Ee = (e) => {
|
|
117
|
-
const a =
|
|
117
|
+
const a = $(!1);
|
|
118
118
|
return X(() => {
|
|
119
119
|
e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
|
|
120
120
|
}), G(() => e.shown, (t) => {
|
|
@@ -124,11 +124,11 @@ const me = (e, a, t = void 0) => {
|
|
|
124
124
|
}), G(() => e.leaveTrigger, (t) => {
|
|
125
125
|
t && (a.value = !1);
|
|
126
126
|
}), { transition: a };
|
|
127
|
-
},
|
|
127
|
+
}, ya = ["id", "data-stacked"], Sa = ["data-open"], wa = ["aria-controls", "aria-expanded"], Ba = {
|
|
128
128
|
key: 0,
|
|
129
129
|
"data-position": "start",
|
|
130
130
|
style: { display: "inline-flex" }
|
|
131
|
-
},
|
|
131
|
+
}, $a = ["id"], Ia = ["aria-labelledby", "data-open", "id"], Eo = {
|
|
132
132
|
__name: "BsAccordion",
|
|
133
133
|
props: {
|
|
134
134
|
controlled: { type: Boolean, default: !1 },
|
|
@@ -145,7 +145,7 @@ const me = (e, a, t = void 0) => {
|
|
|
145
145
|
},
|
|
146
146
|
emits: ["toggled"],
|
|
147
147
|
setup(e, { emit: a }) {
|
|
148
|
-
const t = e, l = a, n =
|
|
148
|
+
const t = e, l = a, n = $(null), i = $(!1), { icon: u } = Oe(t, "icon"), [o] = Q(), s = f(() => o.value + "-content"), r = f(() => o.value + "-title"), m = f(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), g = f(() => t.controlled ? m.value : i.value);
|
|
149
149
|
function v() {
|
|
150
150
|
l("toggled", o.value), t.controlled || (i.value = !i.value);
|
|
151
151
|
}
|
|
@@ -157,33 +157,33 @@ const me = (e, a, t = void 0) => {
|
|
|
157
157
|
"data-component": "bs-accordion",
|
|
158
158
|
"data-stacked": e.stacked
|
|
159
159
|
}, [
|
|
160
|
-
|
|
160
|
+
B("header", {
|
|
161
161
|
part: "header",
|
|
162
162
|
"data-open": g.value
|
|
163
163
|
}, [
|
|
164
|
-
|
|
164
|
+
B("button", {
|
|
165
165
|
"aria-controls": s.value,
|
|
166
166
|
"aria-expanded": g.value,
|
|
167
167
|
type: "button",
|
|
168
168
|
onClick: v
|
|
169
169
|
}, [
|
|
170
|
-
e.icon || h.$slots.icon ? (d(), b("span",
|
|
170
|
+
e.icon || h.$slots.icon ? (d(), b("span", Ba, [
|
|
171
171
|
V(h.$slots, "icon", {}, () => [
|
|
172
172
|
e.icon ? (d(), O(ae(c(u) ? c(u) : "span"), { key: 0 })) : C("", !0)
|
|
173
173
|
])
|
|
174
174
|
])) : C("", !0),
|
|
175
|
-
|
|
175
|
+
B("span", { id: r.value }, [
|
|
176
176
|
V(h.$slots, "header", {}, () => [
|
|
177
|
-
|
|
177
|
+
j(A(e.headerText), 1)
|
|
178
178
|
])
|
|
179
|
-
], 8,
|
|
179
|
+
], 8, $a),
|
|
180
180
|
P(c(Me), {
|
|
181
181
|
size: "md",
|
|
182
182
|
"data-position": "end"
|
|
183
183
|
})
|
|
184
|
-
], 8,
|
|
185
|
-
], 8,
|
|
186
|
-
|
|
184
|
+
], 8, wa)
|
|
185
|
+
], 8, Sa),
|
|
186
|
+
B("div", {
|
|
187
187
|
"aria-labelledby": r.value,
|
|
188
188
|
class: "bs-accordion-content",
|
|
189
189
|
"data-open": g.value,
|
|
@@ -191,13 +191,13 @@ const me = (e, a, t = void 0) => {
|
|
|
191
191
|
part: "content",
|
|
192
192
|
role: "region"
|
|
193
193
|
}, [
|
|
194
|
-
|
|
194
|
+
B("div", null, [
|
|
195
195
|
V(h.$slots, "default")
|
|
196
196
|
])
|
|
197
|
-
], 8,
|
|
198
|
-
], 8,
|
|
197
|
+
], 8, Ia)
|
|
198
|
+
], 8, ya));
|
|
199
199
|
}
|
|
200
|
-
},
|
|
200
|
+
}, ka = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Ca = {
|
|
201
201
|
__name: "BsBadge",
|
|
202
202
|
props: {
|
|
203
203
|
/** Pass value to set `data-badge-color`. */
|
|
@@ -244,7 +244,7 @@ const me = (e, a, t = void 0) => {
|
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
setup(e) {
|
|
247
|
-
const a = e, t =
|
|
247
|
+
const a = e, t = $(null), l = f(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = f(() => {
|
|
248
248
|
var s, r;
|
|
249
249
|
const i = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", u = l.value ? l.value + " " : "";
|
|
250
250
|
if (!u && !a.dot) return i;
|
|
@@ -265,35 +265,35 @@ const me = (e, a, t = void 0) => {
|
|
|
265
265
|
role: "status"
|
|
266
266
|
}, [
|
|
267
267
|
e.variant !== "notext" ? V(i.$slots, "default", { key: 0 }) : C("", !0)
|
|
268
|
-
], 10,
|
|
268
|
+
], 10, ka));
|
|
269
269
|
}
|
|
270
|
-
},
|
|
270
|
+
}, xa = {
|
|
271
271
|
key: 0,
|
|
272
272
|
role: "alert",
|
|
273
273
|
class: "bs-banner",
|
|
274
274
|
"data-component": "bs-banner"
|
|
275
|
-
},
|
|
275
|
+
}, Ta = { class: "bs-banner-content" }, Aa = { class: "bs-banner-warning-icon" }, Do = {
|
|
276
276
|
__name: "BsBanner",
|
|
277
277
|
emits: ["dismiss"],
|
|
278
278
|
setup(e, { emit: a }) {
|
|
279
|
-
const t = a, l =
|
|
279
|
+
const t = a, l = $(!1);
|
|
280
280
|
function n() {
|
|
281
281
|
l.value = !0, t("dismiss");
|
|
282
282
|
}
|
|
283
|
-
return (i, u) => l.value ? C("", !0) : (d(), b("div",
|
|
284
|
-
|
|
285
|
-
|
|
283
|
+
return (i, u) => l.value ? C("", !0) : (d(), b("div", xa, [
|
|
284
|
+
B("div", Ta, [
|
|
285
|
+
B("div", Aa, [
|
|
286
286
|
P(c(Xe), { size: "lg" })
|
|
287
287
|
]),
|
|
288
|
-
|
|
288
|
+
B("p", null, [
|
|
289
289
|
V(i.$slots, "default")
|
|
290
290
|
]),
|
|
291
|
-
|
|
291
|
+
B("button", {
|
|
292
292
|
type: "button",
|
|
293
293
|
title: "Close Banner",
|
|
294
294
|
onClick: n
|
|
295
295
|
}, [
|
|
296
|
-
P(c(
|
|
296
|
+
P(c(Ie))
|
|
297
297
|
])
|
|
298
298
|
])
|
|
299
299
|
]));
|
|
@@ -345,10 +345,10 @@ const me = (e, a, t = void 0) => {
|
|
|
345
345
|
_: 3
|
|
346
346
|
}, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
|
|
347
347
|
}
|
|
348
|
-
}),
|
|
348
|
+
}), Oa = {
|
|
349
349
|
class: "bs-field-details",
|
|
350
350
|
"data-component": "bs-field-details"
|
|
351
|
-
},
|
|
351
|
+
}, Va = ["id", "data-error"], La = ["data-error"], ye = {
|
|
352
352
|
__name: "BsFieldDetails",
|
|
353
353
|
props: {
|
|
354
354
|
/** The number of characters that have been entered by the user. */
|
|
@@ -369,22 +369,22 @@ const me = (e, a, t = void 0) => {
|
|
|
369
369
|
},
|
|
370
370
|
setup(e) {
|
|
371
371
|
const a = e, t = f(() => a.error && a.errorMsg || a.hint);
|
|
372
|
-
return (l, n) => (d(), b("div",
|
|
372
|
+
return (l, n) => (d(), b("div", Oa, [
|
|
373
373
|
t.value ? (d(), b("span", {
|
|
374
374
|
key: 0,
|
|
375
375
|
id: e.hintId,
|
|
376
376
|
class: "bs-hint",
|
|
377
377
|
"data-error": e.error
|
|
378
|
-
},
|
|
378
|
+
}, A(t.value), 9, Va)) : C("", !0),
|
|
379
379
|
e.charMax ? (d(), b("span", {
|
|
380
380
|
key: 1,
|
|
381
381
|
"aria-description": "character count over character limit for the preceding text field",
|
|
382
382
|
class: "bs-character-count",
|
|
383
383
|
"data-error": a.charCount > a.charMax
|
|
384
|
-
},
|
|
384
|
+
}, A(a.charCount || "0") + " / " + A(a.charMax), 9, La)) : C("", !0)
|
|
385
385
|
]));
|
|
386
386
|
}
|
|
387
|
-
},
|
|
387
|
+
}, Ea = ["data-disabled", "for"], ne = {
|
|
388
388
|
__name: "BsLabel",
|
|
389
389
|
props: {
|
|
390
390
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -399,19 +399,19 @@ const me = (e, a, t = void 0) => {
|
|
|
399
399
|
"data-disabled": e.disabled,
|
|
400
400
|
for: e.for
|
|
401
401
|
}, [
|
|
402
|
-
|
|
402
|
+
B("span", null, [
|
|
403
403
|
V(a.$slots, "default")
|
|
404
404
|
]),
|
|
405
405
|
e.required ? (d(), b(K, { key: 0 }, [
|
|
406
|
-
t[0] || (t[0] =
|
|
406
|
+
t[0] || (t[0] = B("span", {
|
|
407
407
|
"data-required": "true",
|
|
408
408
|
"aria-hidden": "true"
|
|
409
409
|
}, " *", -1)),
|
|
410
|
-
t[1] || (t[1] =
|
|
410
|
+
t[1] || (t[1] = B("span", { class: "visually-hidden" }, "required", -1))
|
|
411
411
|
], 64)) : C("", !0)
|
|
412
|
-
], 10,
|
|
412
|
+
], 10, Ea));
|
|
413
413
|
}
|
|
414
|
-
},
|
|
414
|
+
}, Da = ["data-error", "id", "value"], ke = {
|
|
415
415
|
__name: "BsInput",
|
|
416
416
|
props: {
|
|
417
417
|
error: {
|
|
@@ -438,9 +438,9 @@ const me = (e, a, t = void 0) => {
|
|
|
438
438
|
id: o.$attrs.id || e.inputId,
|
|
439
439
|
value: e.value || e.modelValue,
|
|
440
440
|
onInput: u
|
|
441
|
-
}, i.value), null, 16,
|
|
441
|
+
}, i.value), null, 16, Da));
|
|
442
442
|
}
|
|
443
|
-
},
|
|
443
|
+
}, Pa = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
|
|
444
444
|
__name: "BsInputAddon",
|
|
445
445
|
props: {
|
|
446
446
|
autopad: { type: Boolean, default: !1 },
|
|
@@ -462,9 +462,9 @@ const me = (e, a, t = void 0) => {
|
|
|
462
462
|
"data-multifocus": e.multifocus
|
|
463
463
|
}, [
|
|
464
464
|
V(a.$slots, "default")
|
|
465
|
-
], 8,
|
|
465
|
+
], 8, Pa));
|
|
466
466
|
}
|
|
467
|
-
},
|
|
467
|
+
}, qa = {
|
|
468
468
|
__name: "BsInputDateSingle",
|
|
469
469
|
props: {
|
|
470
470
|
disabled: {
|
|
@@ -503,7 +503,7 @@ const me = (e, a, t = void 0) => {
|
|
|
503
503
|
}, {
|
|
504
504
|
default: D(() => [
|
|
505
505
|
P(c(Bt)),
|
|
506
|
-
P(
|
|
506
|
+
P(ke, z({
|
|
507
507
|
"data-autowidth": "",
|
|
508
508
|
disabled: e.disabled,
|
|
509
509
|
id: e.inputId,
|
|
@@ -525,7 +525,7 @@ function Ve(e, a, t) {
|
|
|
525
525
|
}, a);
|
|
526
526
|
};
|
|
527
527
|
}
|
|
528
|
-
const
|
|
528
|
+
const Ma = ["disabled", "id", "model-value"], Na = ["disabled", "id", "model-value"], za = {
|
|
529
529
|
__name: "BsInputDateRange",
|
|
530
530
|
props: {
|
|
531
531
|
disabled: {
|
|
@@ -562,14 +562,14 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
|
|
|
562
562
|
},
|
|
563
563
|
emits: ["ui-focusin", "ui-input"],
|
|
564
564
|
setup(e, { emit: a }) {
|
|
565
|
-
const t = e, l = a, n =
|
|
565
|
+
const t = e, l = a, n = $(null), i = $(null);
|
|
566
566
|
function u(v) {
|
|
567
567
|
const h = new Event("change", { bubbles: !0, cancelable: !0 });
|
|
568
568
|
v.dispatchEvent(h);
|
|
569
569
|
}
|
|
570
570
|
function o(v) {
|
|
571
|
-
const { value: h } = v.target, [y,
|
|
572
|
-
n.value.value = y || "", i.value.value =
|
|
571
|
+
const { value: h } = v.target, [y, w] = h.split(/ to | - /);
|
|
572
|
+
n.value.value = y || "", i.value.value = w || "", u(n.value), u(i.value);
|
|
573
573
|
}
|
|
574
574
|
const s = Ve(o, 1e3);
|
|
575
575
|
function r(v) {
|
|
@@ -582,7 +582,7 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
|
|
|
582
582
|
}, {
|
|
583
583
|
default: D(() => [
|
|
584
584
|
P(c(Bt)),
|
|
585
|
-
P(
|
|
585
|
+
P(ke, {
|
|
586
586
|
"data-autowidth": "",
|
|
587
587
|
disabled: e.disabled,
|
|
588
588
|
id: e.inputId,
|
|
@@ -593,28 +593,28 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
|
|
|
593
593
|
onInput: r,
|
|
594
594
|
onChange: o
|
|
595
595
|
}, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
|
|
596
|
-
|
|
596
|
+
B("input", z({
|
|
597
597
|
ref_key: "hiddenStart",
|
|
598
598
|
ref: n,
|
|
599
599
|
type: "hidden",
|
|
600
600
|
disabled: e.disabled,
|
|
601
601
|
id: `${e.inputId}-start`,
|
|
602
602
|
"model-value": e.inputValue.start
|
|
603
|
-
}, Ye(m.value, !0)), null, 16,
|
|
604
|
-
|
|
603
|
+
}, Ye(m.value, !0)), null, 16, Ma),
|
|
604
|
+
B("input", z({
|
|
605
605
|
ref_key: "hiddenEnd",
|
|
606
606
|
ref: i,
|
|
607
607
|
type: "hidden",
|
|
608
608
|
disabled: e.disabled,
|
|
609
609
|
id: `${e.inputId}-end`,
|
|
610
610
|
"model-value": e.inputValue.end
|
|
611
|
-
}, Ye(g.value, !0)), null, 16,
|
|
611
|
+
}, Ye(g.value, !0)), null, 16, Na)
|
|
612
612
|
]),
|
|
613
613
|
_: 1
|
|
614
614
|
}, 8, ["disabled", "error"]));
|
|
615
615
|
}
|
|
616
616
|
};
|
|
617
|
-
function
|
|
617
|
+
function Fa(e) {
|
|
618
618
|
function a(n) {
|
|
619
619
|
var i, u;
|
|
620
620
|
return ((u = (i = n == null ? void 0 : n.classList) == null ? void 0 : i.contains) == null ? void 0 : u.call(i, "vc-arrow")) && (n.classList.contains("vc-prev") || n.classList.contains("vc-next"));
|
|
@@ -648,7 +648,7 @@ const tt = [
|
|
|
648
648
|
"form",
|
|
649
649
|
"id",
|
|
650
650
|
"name"
|
|
651
|
-
],
|
|
651
|
+
], Ra = [
|
|
652
652
|
"aria-describedby",
|
|
653
653
|
"aria-label",
|
|
654
654
|
"autocomplete",
|
|
@@ -659,7 +659,7 @@ const tt = [
|
|
|
659
659
|
"multiple",
|
|
660
660
|
"name",
|
|
661
661
|
"size"
|
|
662
|
-
],
|
|
662
|
+
], Wa = [
|
|
663
663
|
"aria-describedby",
|
|
664
664
|
"aria-label",
|
|
665
665
|
"autocapitalize",
|
|
@@ -706,7 +706,7 @@ function Z(e, a = []) {
|
|
|
706
706
|
a.includes(n) ? t[n] = e[n] : l[n] = e[n];
|
|
707
707
|
}), { filtered: t, remaining: l };
|
|
708
708
|
}
|
|
709
|
-
const
|
|
709
|
+
const ja = ["data-range"], mt = "(min-width: 752px)", Po = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
710
710
|
__name: "BsCalendar",
|
|
711
711
|
props: {
|
|
712
712
|
disabled: {
|
|
@@ -773,7 +773,7 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
773
773
|
},
|
|
774
774
|
emits: ["update:modelValue"],
|
|
775
775
|
setup(e, { emit: a }) {
|
|
776
|
-
const t = e, l =
|
|
776
|
+
const t = e, l = $(null), n = $(1), i = $(null), [u, o] = Q(2), s = $(1), { filtered: r, remaining: m } = Z(re(), [
|
|
777
777
|
"attributes",
|
|
778
778
|
"data-cy",
|
|
779
779
|
"expanded",
|
|
@@ -782,34 +782,34 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
782
782
|
"masks",
|
|
783
783
|
"rows",
|
|
784
784
|
"trim-weeks"
|
|
785
|
-
]), g = f(() => t.inputId || u.value), v = f(() => ({ range: t.isRange })), h = f(() => !!(t.error && t.errorMsg || t.hint)), y = f(() => t.step),
|
|
786
|
-
|
|
785
|
+
]), g = f(() => t.inputId || u.value), v = f(() => ({ range: t.isRange })), h = f(() => !!(t.error && t.errorMsg || t.hint)), y = f(() => t.step), w = f(() => t.variant);
|
|
786
|
+
Fa(i), Qe(
|
|
787
787
|
mt,
|
|
788
|
-
(
|
|
789
|
-
[
|
|
788
|
+
(I) => n.value = I != null && I.matches && w.value == "2-col" ? 2 : 1,
|
|
789
|
+
[w]
|
|
790
790
|
), Qe(
|
|
791
791
|
mt,
|
|
792
|
-
(
|
|
793
|
-
[y,
|
|
792
|
+
(I) => s.value = I != null && I.matches && w.value == "2-col" ? y.value : 1,
|
|
793
|
+
[y, w]
|
|
794
794
|
), X(() => {
|
|
795
795
|
t.inputMode || k();
|
|
796
796
|
}), G(() => {
|
|
797
|
-
var
|
|
798
|
-
return (
|
|
799
|
-
}, (
|
|
800
|
-
|
|
797
|
+
var I, q;
|
|
798
|
+
return (q = (I = l.value) == null ? void 0 : I.popoverRef) == null ? void 0 : q.isVisible;
|
|
799
|
+
}, (I) => {
|
|
800
|
+
I && Ae(k);
|
|
801
801
|
});
|
|
802
|
-
function p(
|
|
803
|
-
return t.isRange &&
|
|
802
|
+
function p(I) {
|
|
803
|
+
return t.isRange && I.start && I.end ? `${I.start} to ${I.end}` : !t.isRange && I ? I : "";
|
|
804
804
|
}
|
|
805
|
-
function S(
|
|
806
|
-
!t.isRange || i.value.contains(
|
|
805
|
+
function S(I) {
|
|
806
|
+
!t.isRange || i.value.contains(I.relatedTarget) || l.value.hidePopover();
|
|
807
807
|
}
|
|
808
808
|
function k() {
|
|
809
|
-
const
|
|
810
|
-
|
|
809
|
+
const I = i.value.querySelector("button.vc-prev"), q = i.value.querySelector("button.vc-next");
|
|
810
|
+
I && I.setAttribute("aria-label", "Previous month"), q && q.setAttribute("aria-label", "Next month");
|
|
811
811
|
}
|
|
812
|
-
return (
|
|
812
|
+
return (I, q) => (d(), b("div", z({
|
|
813
813
|
ref_key: "container",
|
|
814
814
|
ref: i,
|
|
815
815
|
class: "bs-calendar",
|
|
@@ -817,20 +817,20 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
817
817
|
"data-range": e.isRange,
|
|
818
818
|
onFocusout: S
|
|
819
819
|
}, c(m)), [
|
|
820
|
-
e.label ||
|
|
820
|
+
e.label || I.$slots.label ? (d(), O(ne, {
|
|
821
821
|
key: 0,
|
|
822
822
|
for: g.value,
|
|
823
823
|
disabled: e.disabled,
|
|
824
824
|
required: e.required
|
|
825
825
|
}, {
|
|
826
826
|
default: D(() => [
|
|
827
|
-
V(
|
|
828
|
-
|
|
827
|
+
V(I.$slots, "label", {}, () => [
|
|
828
|
+
j(A(e.label), 1)
|
|
829
829
|
])
|
|
830
830
|
]),
|
|
831
831
|
_: 3
|
|
832
832
|
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
833
|
-
P(c(
|
|
833
|
+
P(c(oa), z({
|
|
834
834
|
ref_key: "calendar",
|
|
835
835
|
ref: l,
|
|
836
836
|
columns: n.value,
|
|
@@ -843,30 +843,30 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
843
843
|
popover: { visibility: "focus" },
|
|
844
844
|
rows: 1,
|
|
845
845
|
step: s.value,
|
|
846
|
-
"onUpdate:modelValue":
|
|
846
|
+
"onUpdate:modelValue": q[0] || (q[0] = (T) => I.$emit("update:modelValue", T))
|
|
847
847
|
}, c(r)), Ze({ _: 2 }, [
|
|
848
848
|
e.inputMode ? {
|
|
849
849
|
name: "default",
|
|
850
|
-
fn: D(({ inputValue:
|
|
851
|
-
e.isRange ? (d(), O(
|
|
850
|
+
fn: D(({ inputValue: T, inputEvents: L, showPopover: F }) => [
|
|
851
|
+
e.isRange ? (d(), O(za, {
|
|
852
852
|
key: 1,
|
|
853
853
|
disabled: e.disabled,
|
|
854
854
|
error: e.error,
|
|
855
855
|
"input-id": g.value,
|
|
856
|
-
"input-value":
|
|
857
|
-
"input-value-fmt": p(
|
|
856
|
+
"input-value": T,
|
|
857
|
+
"input-value-fmt": p(T),
|
|
858
858
|
listeners: L,
|
|
859
859
|
placeholder: e.placeholder,
|
|
860
860
|
required: e.required,
|
|
861
|
-
onUiFocusin:
|
|
862
|
-
onUiInput:
|
|
863
|
-
}, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (d(), O(
|
|
861
|
+
onUiFocusin: F,
|
|
862
|
+
onUiInput: F
|
|
863
|
+
}, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (d(), O(qa, {
|
|
864
864
|
key: 0,
|
|
865
865
|
disabled: e.disabled,
|
|
866
866
|
error: e.error,
|
|
867
867
|
"input-id": g.value,
|
|
868
868
|
listeners: L,
|
|
869
|
-
"model-value": p(
|
|
869
|
+
"model-value": p(T),
|
|
870
870
|
placeholder: e.placeholder,
|
|
871
871
|
required: e.required
|
|
872
872
|
}, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
|
|
@@ -874,19 +874,19 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
874
874
|
key: "0"
|
|
875
875
|
} : void 0
|
|
876
876
|
]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
|
|
877
|
-
h.value ? (d(), O(
|
|
877
|
+
h.value ? (d(), O(ye, {
|
|
878
878
|
key: 1,
|
|
879
879
|
error: e.error,
|
|
880
880
|
"error-msg": e.errorMsg,
|
|
881
881
|
hint: e.hint,
|
|
882
882
|
"hint-id": c(o)
|
|
883
883
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
884
|
-
], 16,
|
|
884
|
+
], 16, ja));
|
|
885
885
|
}
|
|
886
|
-
}),
|
|
886
|
+
}), Ua = { key: 0 }, Ga = {
|
|
887
887
|
class: "bs-circle-button-icon",
|
|
888
888
|
role: "presentation"
|
|
889
|
-
},
|
|
889
|
+
}, Ha = { key: 1 }, Tt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
890
890
|
__name: "BsCircleButton",
|
|
891
891
|
props: {
|
|
892
892
|
disabled: {
|
|
@@ -943,7 +943,7 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
943
943
|
return {
|
|
944
944
|
icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${p}` : p)
|
|
945
945
|
};
|
|
946
|
-
}), g = f(() => a.textBtn || !!(l != null && l.default)), v = f(() => g.value && a.iconPosition !== "left"), h = f(() => g.value && a.iconPosition === "left"), y = f(() => a.variant ? `color-${a.variant}` : void 0), { icon:
|
|
946
|
+
}), g = f(() => a.textBtn || !!(l != null && l.default)), v = f(() => g.value && a.iconPosition !== "left"), h = f(() => g.value && a.iconPosition === "left"), y = f(() => a.variant ? `color-${a.variant}` : void 0), { icon: w } = Oe(m, "icon");
|
|
947
947
|
return (p, S) => (d(), O(ae(c(n)), z({
|
|
948
948
|
class: "bs-circle-button",
|
|
949
949
|
"data-disabled": e.disabled,
|
|
@@ -956,26 +956,26 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
956
956
|
".href": c(u)
|
|
957
957
|
}, { ...c(i), ...s.value }, { onClick: c(o) }), {
|
|
958
958
|
default: D(() => [
|
|
959
|
-
v.value ? (d(), b("span",
|
|
959
|
+
v.value ? (d(), b("span", Ua, [
|
|
960
960
|
V(p.$slots, "default", {}, () => [
|
|
961
|
-
|
|
961
|
+
j(A(e.label), 1)
|
|
962
962
|
])
|
|
963
963
|
])) : C("", !0),
|
|
964
|
-
|
|
964
|
+
B("span", Ga, [
|
|
965
965
|
V(p.$slots, "icon", {}, () => [
|
|
966
|
-
(d(), O(ae(c(
|
|
966
|
+
(d(), O(ae(c(w))))
|
|
967
967
|
])
|
|
968
968
|
]),
|
|
969
|
-
h.value ? (d(), b("span",
|
|
969
|
+
h.value ? (d(), b("span", Ha, [
|
|
970
970
|
V(p.$slots, "default", {}, () => [
|
|
971
|
-
|
|
971
|
+
j(A(e.label), 1)
|
|
972
972
|
])
|
|
973
973
|
])) : C("", !0)
|
|
974
974
|
]),
|
|
975
975
|
_: 3
|
|
976
976
|
}, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
|
|
977
977
|
}
|
|
978
|
-
}),
|
|
978
|
+
}), qo = {
|
|
979
979
|
__name: "BsCaretButton",
|
|
980
980
|
props: {
|
|
981
981
|
direction: {
|
|
@@ -1026,7 +1026,7 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
1026
1026
|
_: 1
|
|
1027
1027
|
}, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
|
|
1028
1028
|
}
|
|
1029
|
-
},
|
|
1029
|
+
}, Mo = {
|
|
1030
1030
|
__name: "BsCaretTextButton",
|
|
1031
1031
|
props: {
|
|
1032
1032
|
direction: {
|
|
@@ -1078,20 +1078,20 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
1078
1078
|
variant: e.variant
|
|
1079
1079
|
}, {
|
|
1080
1080
|
icon: D(() => [
|
|
1081
|
-
e.direction == "right" ? (d(), O(c(
|
|
1081
|
+
e.direction == "right" ? (d(), O(c(Gt), { key: 0 })) : (d(), O(c(Ht), { key: 1 }))
|
|
1082
1082
|
]),
|
|
1083
1083
|
default: D(() => [
|
|
1084
1084
|
V(a.$slots, "default", {}, () => [
|
|
1085
|
-
|
|
1085
|
+
j(A(e.label), 1)
|
|
1086
1086
|
])
|
|
1087
1087
|
]),
|
|
1088
1088
|
_: 3
|
|
1089
1089
|
}, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size", "variant"]));
|
|
1090
1090
|
}
|
|
1091
|
-
},
|
|
1091
|
+
}, Ka = {
|
|
1092
1092
|
class: "bs-chart-table",
|
|
1093
1093
|
"data-component": "bs-chart-table"
|
|
1094
|
-
},
|
|
1094
|
+
}, Ya = ["summary"], Za = ["colspan"], Xa = { scope: "col" }, Qa = { scope: "row" }, Ja = {
|
|
1095
1095
|
__name: "BsChartTable",
|
|
1096
1096
|
props: {
|
|
1097
1097
|
chartType: {
|
|
@@ -1125,7 +1125,7 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
1125
1125
|
}
|
|
1126
1126
|
},
|
|
1127
1127
|
setup(e) {
|
|
1128
|
-
const a = e, t =
|
|
1128
|
+
const a = e, t = $(!1), l = (m) => {
|
|
1129
1129
|
const g = new Date(m), v = g.toTimeString().split(" ")[0], h = g.toDateString().split(" ").slice(1, 3).join(" ");
|
|
1130
1130
|
return `${v} (${h})`;
|
|
1131
1131
|
}, n = f(() => {
|
|
@@ -1138,8 +1138,8 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
1138
1138
|
const v = g.label;
|
|
1139
1139
|
let h = [];
|
|
1140
1140
|
if (g.data.some((y) => (y == null ? void 0 : y.x) && (y == null ? void 0 : y.y))) {
|
|
1141
|
-
const y = g.data.reduce((
|
|
1142
|
-
h = a.dataIdxLabels.map((
|
|
1141
|
+
const y = g.data.reduce((w, p) => (w[p.x] = p.y, w), {});
|
|
1142
|
+
h = a.dataIdxLabels.map((w) => ({ value: y[w] ?? null }));
|
|
1143
1143
|
} else
|
|
1144
1144
|
h = g.data.map((y) => ({ value: y }));
|
|
1145
1145
|
return { rowLabel: v, dataCells: h };
|
|
@@ -1150,16 +1150,16 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
1150
1150
|
}
|
|
1151
1151
|
function u(m) {
|
|
1152
1152
|
try {
|
|
1153
|
-
const g = m.reduce((y,
|
|
1154
|
-
const p =
|
|
1153
|
+
const g = m.reduce((y, w) => {
|
|
1154
|
+
const p = w.data.map((S) => S == null ? void 0 : S.x);
|
|
1155
1155
|
return [...y, ...p];
|
|
1156
1156
|
}, []), v = Array.from(new Set(g));
|
|
1157
|
-
return (a.xAxisType === "time" || a.xAxisType === "linear") && v.sort((y,
|
|
1158
|
-
const
|
|
1157
|
+
return (a.xAxisType === "time" || a.xAxisType === "linear") && v.sort((y, w) => (typeof y == "string" && typeof w == "string" && (y = y.toLowerCase(), w = w.toLowerCase()), y < w ? -1 : y > w ? 1 : 0)), v.map((y) => {
|
|
1158
|
+
const w = { rowLabel: y }, p = [];
|
|
1159
1159
|
return m.forEach((S) => {
|
|
1160
|
-
const k = { datasetLabel: S.label },
|
|
1161
|
-
k.value =
|
|
1162
|
-
}),
|
|
1160
|
+
const k = { datasetLabel: S.label }, I = S.data.find((q) => q.x === y);
|
|
1161
|
+
k.value = I ? I.y : null, p.push(k);
|
|
1162
|
+
}), w.dataCells = p, a.xAxisType === "time" && (w.rowLabelFmt = l(y)), w;
|
|
1163
1163
|
});
|
|
1164
1164
|
} catch {
|
|
1165
1165
|
return [];
|
|
@@ -1177,41 +1177,41 @@ const Fa = ["data-range"], mt = "(min-width: 752px)", Lo = /* @__PURE__ */ Objec
|
|
|
1177
1177
|
});
|
|
1178
1178
|
return X(() => {
|
|
1179
1179
|
t.value = !0;
|
|
1180
|
-
}), (m, g) => (d(), b("div",
|
|
1180
|
+
}), (m, g) => (d(), b("div", Ka, [
|
|
1181
1181
|
r.value ? (d(), b("table", {
|
|
1182
1182
|
key: 0,
|
|
1183
1183
|
summary: s.value.title
|
|
1184
1184
|
}, [
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1185
|
+
B("thead", null, [
|
|
1186
|
+
B("tr", null, [
|
|
1187
|
+
B("th", {
|
|
1188
1188
|
colspan: s.value.colspan
|
|
1189
|
-
},
|
|
1189
|
+
}, A(s.value.title), 9, Za)
|
|
1190
1190
|
]),
|
|
1191
|
-
|
|
1192
|
-
|
|
1191
|
+
B("tr", null, [
|
|
1192
|
+
B("th", Xa, A(s.value.colHeadingFirst), 1),
|
|
1193
1193
|
(d(!0), b(K, null, te(s.value.colHeadings, (v) => (d(), b("th", {
|
|
1194
1194
|
key: v,
|
|
1195
1195
|
scope: "col"
|
|
1196
|
-
},
|
|
1196
|
+
}, A(v), 1))), 128))
|
|
1197
1197
|
])
|
|
1198
1198
|
]),
|
|
1199
|
-
|
|
1199
|
+
B("tbody", null, [
|
|
1200
1200
|
(d(!0), b(K, null, te(s.value.rows, (v) => (d(), b("tr", {
|
|
1201
1201
|
key: v.rowLabelFmt || v.rowLabel
|
|
1202
1202
|
}, [
|
|
1203
|
-
|
|
1203
|
+
B("th", Qa, A(v.rowLabelFmt || v.rowLabel), 1),
|
|
1204
1204
|
(d(!0), b(K, null, te(v.dataCells, (h) => (d(), b("td", {
|
|
1205
1205
|
key: `${v.rowLabelFmt || v.rowLabel}${h.datasetLabel}${h.value}`
|
|
1206
|
-
},
|
|
1206
|
+
}, A(h.value), 1))), 128))
|
|
1207
1207
|
]))), 128))
|
|
1208
1208
|
])
|
|
1209
|
-
], 8,
|
|
1209
|
+
], 8, Ya)) : C("", !0)
|
|
1210
1210
|
]));
|
|
1211
1211
|
}
|
|
1212
|
-
}, Le = 16,
|
|
1213
|
-
function
|
|
1214
|
-
const t =
|
|
1212
|
+
}, Le = 16, _a = 20;
|
|
1213
|
+
function en(e, a) {
|
|
1214
|
+
const t = $(null), l = $(!1), n = $(null), i = "(min-width: 1166px)", u = { tickSize: Le }, o = { tickSize: _a };
|
|
1215
1215
|
let s, r;
|
|
1216
1216
|
function m(p, S) {
|
|
1217
1217
|
let k;
|
|
@@ -1225,27 +1225,27 @@ function Qa(e, a) {
|
|
|
1225
1225
|
default:
|
|
1226
1226
|
throw new Error(`Unsupported chart type: ${p}`);
|
|
1227
1227
|
}
|
|
1228
|
-
return new
|
|
1228
|
+
return new rn().setCommonConfigs(S).setCustomOptions(S)[k](S).setPlugins([tn(n), ia]).build();
|
|
1229
1229
|
}
|
|
1230
1230
|
function g(p) {
|
|
1231
1231
|
p.preventDefault(), p.stopImmediatePropagation();
|
|
1232
1232
|
const S = p.target.closest("li");
|
|
1233
1233
|
if (S && s) {
|
|
1234
|
-
const { labelIndex: k, datasetIndex:
|
|
1235
|
-
s.setDatasetVisibility(
|
|
1234
|
+
const { labelIndex: k, datasetIndex: I } = S.dataset;
|
|
1235
|
+
s.setDatasetVisibility(I, !s.isDatasetVisible(I)), s.update(), p.preventDefault(), p.stopImmediatePropagation(), v(I, k);
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
1238
|
function v(p, S) {
|
|
1239
|
-
var
|
|
1240
|
-
const k = `[data-dataset-index="${p}"][data-label-index="${S}"]`,
|
|
1241
|
-
(
|
|
1239
|
+
var q;
|
|
1240
|
+
const k = `[data-dataset-index="${p}"][data-label-index="${S}"]`, I = n.value.querySelector(k);
|
|
1241
|
+
(q = I == null ? void 0 : I.focus) == null || q.call(I);
|
|
1242
1242
|
}
|
|
1243
1243
|
function h(...p) {
|
|
1244
|
-
!r || !t.value || (
|
|
1244
|
+
!r || !t.value || (We.register(...p), We.defaults.font.family = "'Roobert', sans-serif", s = new We(t.value, r));
|
|
1245
1245
|
}
|
|
1246
1246
|
const y = Ve(function(p) {
|
|
1247
1247
|
r && (r.updateOptions(p), s.options = r.options, s.update());
|
|
1248
|
-
}, 100),
|
|
1248
|
+
}, 100), w = Ve(function(p) {
|
|
1249
1249
|
r && (r.updateData(p), s.data = r.data, s.update());
|
|
1250
1250
|
}, 100);
|
|
1251
1251
|
return Qe(
|
|
@@ -1284,7 +1284,7 @@ function Qa(e, a) {
|
|
|
1284
1284
|
() => a.data,
|
|
1285
1285
|
() => a.dataIdxLabels
|
|
1286
1286
|
],
|
|
1287
|
-
() =>
|
|
1287
|
+
() => w(a),
|
|
1288
1288
|
{ deep: !0 }
|
|
1289
1289
|
), {
|
|
1290
1290
|
canvasRef: t,
|
|
@@ -1292,7 +1292,7 @@ function Qa(e, a) {
|
|
|
1292
1292
|
registerChart: h
|
|
1293
1293
|
};
|
|
1294
1294
|
}
|
|
1295
|
-
const
|
|
1295
|
+
const tn = (e) => ({
|
|
1296
1296
|
id: "htmlLegend",
|
|
1297
1297
|
afterUpdate(a) {
|
|
1298
1298
|
e.value.innerHTML = "", e.value.style.setProperty("--cjs-legend-padding-inline", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((l) => {
|
|
@@ -1358,10 +1358,10 @@ function at(e, a = 1) {
|
|
|
1358
1358
|
], l = t[e % t.length], n = Math.floor(e / t.length) + a;
|
|
1359
1359
|
return `rgba(${l.toString()}, ${1 / n})`;
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1361
|
+
function an(e) {
|
|
1362
1362
|
return at(e);
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1364
|
+
function nn(e) {
|
|
1365
1365
|
return {
|
|
1366
1366
|
maintainAspectRatio: !1,
|
|
1367
1367
|
plugins: {
|
|
@@ -1468,7 +1468,7 @@ class At {
|
|
|
1468
1468
|
return a;
|
|
1469
1469
|
}
|
|
1470
1470
|
}
|
|
1471
|
-
class
|
|
1471
|
+
class ln extends At {
|
|
1472
1472
|
constructor({ data: a, options: t, plugins: l }) {
|
|
1473
1473
|
super({ type: "bar", data: a, options: t, plugins: l });
|
|
1474
1474
|
}
|
|
@@ -1492,7 +1492,7 @@ class tn extends At {
|
|
|
1492
1492
|
this.options = n;
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
|
-
class
|
|
1495
|
+
class on extends At {
|
|
1496
1496
|
constructor({ data: a, options: t, plugins: l }) {
|
|
1497
1497
|
super({ type: "line", data: a, options: t, plugins: l });
|
|
1498
1498
|
}
|
|
@@ -1500,7 +1500,7 @@ class an extends At {
|
|
|
1500
1500
|
return a.map((t, l) => ({
|
|
1501
1501
|
...t,
|
|
1502
1502
|
backgroundColor: at(l, 2),
|
|
1503
|
-
borderColor:
|
|
1503
|
+
borderColor: an(l),
|
|
1504
1504
|
borderWidth: 4
|
|
1505
1505
|
}));
|
|
1506
1506
|
}
|
|
@@ -1517,7 +1517,7 @@ class an extends At {
|
|
|
1517
1517
|
this.options = n;
|
|
1518
1518
|
}
|
|
1519
1519
|
}
|
|
1520
|
-
class
|
|
1520
|
+
class rn {
|
|
1521
1521
|
constructor() {
|
|
1522
1522
|
return this;
|
|
1523
1523
|
}
|
|
@@ -1534,7 +1534,7 @@ class nn {
|
|
|
1534
1534
|
*/
|
|
1535
1535
|
setCommonConfigs(a) {
|
|
1536
1536
|
const { data: t } = a;
|
|
1537
|
-
return this.commonOptionsBasic =
|
|
1537
|
+
return this.commonOptionsBasic = nn(a), this.commonOptionsStrict = nt(), this.datasets = t, this;
|
|
1538
1538
|
}
|
|
1539
1539
|
setCustomOptions(a) {
|
|
1540
1540
|
return this.customOptions = a.customOptions, this;
|
|
@@ -1586,18 +1586,18 @@ class nn {
|
|
|
1586
1586
|
};
|
|
1587
1587
|
switch (this.type) {
|
|
1588
1588
|
case "bar":
|
|
1589
|
-
return new
|
|
1589
|
+
return new ln(a);
|
|
1590
1590
|
case "line":
|
|
1591
|
-
return new
|
|
1591
|
+
return new on(a);
|
|
1592
1592
|
default:
|
|
1593
1593
|
throw new Error(`Unsupported chart type: ${this.type}`);
|
|
1594
1594
|
}
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
1597
|
-
const
|
|
1597
|
+
const sn = {
|
|
1598
1598
|
class: "bs-chart bs-chart-bar",
|
|
1599
1599
|
"data-component": "bs-chart-bar"
|
|
1600
|
-
},
|
|
1600
|
+
}, dn = ["aria-label"], un = ["data-hidden"], No = {
|
|
1601
1601
|
__name: "BsChartBar",
|
|
1602
1602
|
props: {
|
|
1603
1603
|
chartTitle: {
|
|
@@ -1668,27 +1668,27 @@ const ln = {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
},
|
|
1670
1670
|
setup(e) {
|
|
1671
|
-
const a = e, { canvasRef: t, legendListRef: l, registerChart: n } =
|
|
1671
|
+
const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = en("bar", a), i = f(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
|
|
1672
1672
|
return X(() => n(
|
|
1673
|
-
la,
|
|
1674
|
-
oa,
|
|
1675
|
-
ia,
|
|
1676
1673
|
ra,
|
|
1677
1674
|
sa,
|
|
1678
1675
|
da,
|
|
1679
|
-
ua
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1676
|
+
ua,
|
|
1677
|
+
ca,
|
|
1678
|
+
fa,
|
|
1679
|
+
pa
|
|
1680
|
+
)), (u, o) => (d(), b("div", sn, [
|
|
1681
|
+
B("figure", null, [
|
|
1682
|
+
B("div", null, [
|
|
1683
|
+
B("canvas", {
|
|
1684
1684
|
"aria-label": i.value,
|
|
1685
1685
|
ref_key: "canvasRef",
|
|
1686
1686
|
ref: t,
|
|
1687
1687
|
role: "img"
|
|
1688
|
-
}, null, 8,
|
|
1688
|
+
}, null, 8, dn)
|
|
1689
1689
|
]),
|
|
1690
|
-
|
|
1691
|
-
P(
|
|
1690
|
+
B("div", null, [
|
|
1691
|
+
P(Ja, {
|
|
1692
1692
|
"chart-type": "bar",
|
|
1693
1693
|
data: e.data,
|
|
1694
1694
|
"data-idx-labels": e.dataIdxLabels,
|
|
@@ -1697,19 +1697,19 @@ const ln = {
|
|
|
1697
1697
|
"x-label": e.xLabel,
|
|
1698
1698
|
"y-label": e.yLabel
|
|
1699
1699
|
}, null, 8, ["data", "data-idx-labels", "table-title", "x-axis-type", "x-label", "y-label"]),
|
|
1700
|
-
|
|
1700
|
+
B("figcaption", {
|
|
1701
1701
|
"data-hidden": !e.showLegend
|
|
1702
1702
|
}, [
|
|
1703
|
-
|
|
1703
|
+
B("ul", {
|
|
1704
1704
|
ref_key: "legendListRef",
|
|
1705
1705
|
ref: l
|
|
1706
1706
|
}, null, 512)
|
|
1707
|
-
], 8,
|
|
1707
|
+
], 8, un)
|
|
1708
1708
|
])
|
|
1709
1709
|
])
|
|
1710
1710
|
]));
|
|
1711
1711
|
}
|
|
1712
|
-
},
|
|
1712
|
+
}, cn = ["data-disabled", "data-error", "data-size"], fn = ["checked", "data-error", "disabled", "id", "required", "value"], zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
1713
1713
|
__name: "BsCheckbox",
|
|
1714
1714
|
props: {
|
|
1715
1715
|
/** Sets the label. */
|
|
@@ -1772,7 +1772,7 @@ const ln = {
|
|
|
1772
1772
|
},
|
|
1773
1773
|
emits: ["update:modelValue"],
|
|
1774
1774
|
setup(e, { emit: a }) {
|
|
1775
|
-
const t = e, l = a, [n] = Q(), i = f(() => tt.concat(t.passAttrs.split(","))), u =
|
|
1775
|
+
const t = e, l = a, [n] = Q(), i = f(() => tt.concat(t.passAttrs.split(","))), u = $(null), o = f(() => t.inputId || n.value), s = f(() => t.checked || g.value), r = f(() => t.indeterminate || t.checkedPartially), m = f(() => Array.isArray(t.modelValue) && t.value), g = f(() => m.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
|
|
1776
1776
|
function v() {
|
|
1777
1777
|
u.value && (u.value.indeterminate = r.value && !s.value);
|
|
1778
1778
|
}
|
|
@@ -1783,7 +1783,7 @@ const ln = {
|
|
|
1783
1783
|
const S = [...t.modelValue];
|
|
1784
1784
|
p ? S.push(t.value) : S.splice(S.indexOf(t.value), 1), l("update:modelValue", S);
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function w(p) {
|
|
1787
1787
|
const { checked: S } = p.target;
|
|
1788
1788
|
m.value ? y(S) : h(S);
|
|
1789
1789
|
}
|
|
@@ -1794,7 +1794,7 @@ const ln = {
|
|
|
1794
1794
|
"data-error": e.error,
|
|
1795
1795
|
"data-size": e.size
|
|
1796
1796
|
}, c(Z)(p.$attrs, i.value).remaining), [
|
|
1797
|
-
|
|
1797
|
+
B("input", z({
|
|
1798
1798
|
ref_key: "inputEl",
|
|
1799
1799
|
ref: u,
|
|
1800
1800
|
checked: s.value,
|
|
@@ -1804,8 +1804,8 @@ const ln = {
|
|
|
1804
1804
|
required: e.required,
|
|
1805
1805
|
value: e.value || "on",
|
|
1806
1806
|
type: "checkbox",
|
|
1807
|
-
onChange:
|
|
1808
|
-
}, c(Z)(p.$attrs, i.value).filtered), null, 16,
|
|
1807
|
+
onChange: w
|
|
1808
|
+
}, c(Z)(p.$attrs, i.value).filtered), null, 16, fn),
|
|
1809
1809
|
e.label || p.$slots.label ? (d(), O(ne, {
|
|
1810
1810
|
key: 0,
|
|
1811
1811
|
for: p.$attrs.id || o.value,
|
|
@@ -1814,14 +1814,14 @@ const ln = {
|
|
|
1814
1814
|
}, {
|
|
1815
1815
|
default: D(() => [
|
|
1816
1816
|
V(p.$slots, "label", {}, () => [
|
|
1817
|
-
|
|
1817
|
+
j(A(e.label), 1)
|
|
1818
1818
|
])
|
|
1819
1819
|
]),
|
|
1820
1820
|
_: 3
|
|
1821
1821
|
}, 8, ["for", "disabled", "required"])) : C("", !0)
|
|
1822
|
-
], 16,
|
|
1822
|
+
], 16, cn));
|
|
1823
1823
|
}
|
|
1824
|
-
}),
|
|
1824
|
+
}), pn = {
|
|
1825
1825
|
__name: "BsDropdownContainer",
|
|
1826
1826
|
props: {
|
|
1827
1827
|
breakout: {
|
|
@@ -1842,9 +1842,9 @@ const ln = {
|
|
|
1842
1842
|
}
|
|
1843
1843
|
},
|
|
1844
1844
|
setup(e, { expose: a }) {
|
|
1845
|
-
const t =
|
|
1845
|
+
const t = $(null);
|
|
1846
1846
|
return a({ internalContainerRef: t }), (l, n) => (d(), b(K, null, [
|
|
1847
|
-
e.breakout && e.breakoutMounted ? (d(), O(
|
|
1847
|
+
e.breakout && e.breakoutMounted ? (d(), O(jt, {
|
|
1848
1848
|
key: 0,
|
|
1849
1849
|
to: e.breakoutStub
|
|
1850
1850
|
}, [
|
|
@@ -1930,19 +1930,19 @@ const ln = {
|
|
|
1930
1930
|
_: 3
|
|
1931
1931
|
}, 8, ["name"]));
|
|
1932
1932
|
}
|
|
1933
|
-
},
|
|
1934
|
-
const l =
|
|
1933
|
+
}, mn = (e, a = void 0, t = "relative") => {
|
|
1934
|
+
const l = $(null), n = $(null), i = $(!1);
|
|
1935
1935
|
let u = !1;
|
|
1936
1936
|
return X(() => {
|
|
1937
1937
|
e && (l.value = a || yt(), document.getElementById(l.value) ? (n.value = document.getElementById(l.value), u = !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);
|
|
1938
|
-
}),
|
|
1938
|
+
}), $e(() => {
|
|
1939
1939
|
var o;
|
|
1940
1940
|
e && !u && ((o = document.getElementById(l.value)) == null || o.remove());
|
|
1941
1941
|
}), { breakoutId: l, breakoutStub: n, breakoutMounted: i };
|
|
1942
|
-
},
|
|
1942
|
+
}, bn = {
|
|
1943
1943
|
key: 0,
|
|
1944
1944
|
class: "bs-dropdown-backdrop"
|
|
1945
|
-
},
|
|
1945
|
+
}, hn = ["data-width", "data-shown", "data-no-mobile"], vn = { key: 0 }, gn = { key: 0 }, yn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
1946
1946
|
__name: "BsDropdownNew",
|
|
1947
1947
|
props: {
|
|
1948
1948
|
anchorId: {
|
|
@@ -1995,60 +1995,60 @@ const ln = {
|
|
|
1995
1995
|
"after-leave"
|
|
1996
1996
|
],
|
|
1997
1997
|
setup(e, { emit: a }) {
|
|
1998
|
-
const t = e, l = a, n =
|
|
1998
|
+
const t = e, l = a, n = $(null), i = $(null), u = $(!1), o = $(!1), s = f(() => document.getElementById(t.anchorId)), r = f(() => t.breakout ? g.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), m = f(() => t.width === "anchor" ? void 0 : t.width);
|
|
1999
1999
|
Ct([i, s], () => {
|
|
2000
2000
|
o.value && l("close");
|
|
2001
2001
|
}), me(["Escape"], () => {
|
|
2002
2002
|
o.value && l("close");
|
|
2003
2003
|
});
|
|
2004
|
-
const { breakoutStub: g, breakoutMounted: v } =
|
|
2004
|
+
const { breakoutStub: g, breakoutMounted: v } = mn(t.breakout, t.containerId);
|
|
2005
2005
|
fe("dropdownEnter", u), fe("dropdownAfterEnter", o), fe("dropdownShown", f(() => t.shown));
|
|
2006
|
-
const h = (
|
|
2007
|
-
i.value.style.setProperty(
|
|
2006
|
+
const h = (T, L) => {
|
|
2007
|
+
i.value.style.setProperty(T, L);
|
|
2008
2008
|
};
|
|
2009
2009
|
function y() {
|
|
2010
|
-
const
|
|
2011
|
-
|
|
2010
|
+
const T = r.value.getBoundingClientRect(), L = s.value.getBoundingClientRect(), F = i.value.getBoundingClientRect();
|
|
2011
|
+
w(T, L), p(T, L, F);
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function w(T, L) {
|
|
2014
2014
|
if (t.position === "top") {
|
|
2015
|
-
const
|
|
2016
|
-
h("--dropdown-wscreen-top", "auto"), h("--dropdown-wscreen-bottom", `${
|
|
2015
|
+
const F = T.bottom - L.bottom;
|
|
2016
|
+
h("--dropdown-wscreen-top", "auto"), h("--dropdown-wscreen-bottom", `${F + L.height + 8}px`);
|
|
2017
2017
|
} else {
|
|
2018
|
-
const
|
|
2019
|
-
h("--dropdown-wscreen-top", `${
|
|
2018
|
+
const F = L.top - T.top;
|
|
2019
|
+
h("--dropdown-wscreen-top", `${F + L.height + 8}px`), h("--dropdown-wscreen-bottom", "auto");
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
2022
|
-
function p(
|
|
2023
|
-
const
|
|
2022
|
+
function p(T, L, F) {
|
|
2023
|
+
const R = L.left - T.left;
|
|
2024
2024
|
if (t.position === "center") {
|
|
2025
|
-
const
|
|
2026
|
-
h("--dropdown-wscreen-left", `${
|
|
2025
|
+
const U = (L.width - F.width) / 2;
|
|
2026
|
+
h("--dropdown-wscreen-left", `${R + U}px`), h("--dropdown-wscreen-right", "auto");
|
|
2027
2027
|
} else if (t.position === "right") {
|
|
2028
|
-
const
|
|
2029
|
-
h("--dropdown-wscreen-left", "auto"), h("--dropdown-wscreen-right", `${
|
|
2028
|
+
const U = T.right - L.right;
|
|
2029
|
+
h("--dropdown-wscreen-left", "auto"), h("--dropdown-wscreen-right", `${U}px`);
|
|
2030
2030
|
} else
|
|
2031
|
-
h("--dropdown-wscreen-left", `${
|
|
2031
|
+
h("--dropdown-wscreen-left", `${R}px`), h("--dropdown-wscreen-right", "auto");
|
|
2032
2032
|
}
|
|
2033
2033
|
function S() {
|
|
2034
2034
|
if (t.width === "anchor") {
|
|
2035
|
-
const
|
|
2036
|
-
h("--dropdown-wscreen-width", `${
|
|
2035
|
+
const T = s.value.getBoundingClientRect();
|
|
2036
|
+
h("--dropdown-wscreen-width", `${T.width}px`);
|
|
2037
2037
|
} else
|
|
2038
2038
|
h("--dropdown-wscreen-width", "");
|
|
2039
2039
|
}
|
|
2040
2040
|
function k() {
|
|
2041
2041
|
u.value = !0, y(), S(), l("enter");
|
|
2042
2042
|
}
|
|
2043
|
-
function
|
|
2043
|
+
function I() {
|
|
2044
2044
|
o.value = !0, l("after-enter");
|
|
2045
2045
|
}
|
|
2046
|
-
function
|
|
2046
|
+
function q() {
|
|
2047
2047
|
u.value = !1, o.value = !1, l("after-leave");
|
|
2048
2048
|
}
|
|
2049
|
-
return (
|
|
2050
|
-
e.useMobileStyle && e.shown ? (d(), b("div",
|
|
2051
|
-
P(
|
|
2049
|
+
return (T, L) => (d(), b(K, null, [
|
|
2050
|
+
e.useMobileStyle && e.shown ? (d(), b("div", bn)) : C("", !0),
|
|
2051
|
+
P(pn, {
|
|
2052
2052
|
ref_key: "dropdownContainerRef",
|
|
2053
2053
|
ref: n,
|
|
2054
2054
|
breakout: e.breakout,
|
|
@@ -2061,34 +2061,34 @@ const ln = {
|
|
|
2061
2061
|
name: "bs-dropdown",
|
|
2062
2062
|
preloaded: e.preloaded,
|
|
2063
2063
|
shown: e.shown,
|
|
2064
|
-
onAfterEnter:
|
|
2064
|
+
onAfterEnter: I,
|
|
2065
2065
|
onEnter: k,
|
|
2066
|
-
onAfterLeave:
|
|
2066
|
+
onAfterLeave: q
|
|
2067
2067
|
}, {
|
|
2068
2068
|
default: D(() => [
|
|
2069
|
-
|
|
2069
|
+
B("div", z({
|
|
2070
2070
|
ref_key: "dropdownRef",
|
|
2071
2071
|
ref: i,
|
|
2072
2072
|
class: "bs-dropdown",
|
|
2073
2073
|
"data-width": m.value,
|
|
2074
2074
|
"data-shown": e.shown,
|
|
2075
2075
|
"data-no-mobile": !e.useMobileStyle
|
|
2076
|
-
},
|
|
2077
|
-
e.helperText ? (d(), b("header",
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
e.helperDescription ? (d(), b("p",
|
|
2076
|
+
}, T.$attrs), [
|
|
2077
|
+
e.helperText ? (d(), b("header", vn, [
|
|
2078
|
+
B("div", null, [
|
|
2079
|
+
B("h3", null, A(e.helperText), 1),
|
|
2080
|
+
e.helperDescription ? (d(), b("p", gn, A(e.helperDescription), 1)) : C("", !0)
|
|
2081
2081
|
]),
|
|
2082
|
-
|
|
2082
|
+
B("button", {
|
|
2083
2083
|
type: "button",
|
|
2084
2084
|
title: "close",
|
|
2085
2085
|
onClick: L[0] || (L[0] = () => l("close"))
|
|
2086
2086
|
}, [
|
|
2087
|
-
P(c(
|
|
2087
|
+
P(c(Ie))
|
|
2088
2088
|
])
|
|
2089
2089
|
])) : C("", !0),
|
|
2090
|
-
V(
|
|
2091
|
-
], 16,
|
|
2090
|
+
V(T.$slots, "default")
|
|
2091
|
+
], 16, hn)
|
|
2092
2092
|
]),
|
|
2093
2093
|
_: 3
|
|
2094
2094
|
}, 8, ["preloaded", "shown"])
|
|
@@ -2188,7 +2188,7 @@ const ln = {
|
|
|
2188
2188
|
],
|
|
2189
2189
|
setup(e, { emit: a }) {
|
|
2190
2190
|
const t = e, l = a, { transition: n } = Ee(t), i = f(() => t.width === "toggle" ? "anchor" : t.width), u = f(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = f(() => t.toggleId ? t.toggleId : t.anchorId);
|
|
2191
|
-
return (s, r) => (d(), O(
|
|
2191
|
+
return (s, r) => (d(), O(yn, {
|
|
2192
2192
|
"anchor-id": o.value,
|
|
2193
2193
|
breakout: e.breakout,
|
|
2194
2194
|
"container-id": e.containerId,
|
|
@@ -2210,7 +2210,7 @@ const ln = {
|
|
|
2210
2210
|
_: 3
|
|
2211
2211
|
}, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
|
|
2212
2212
|
}
|
|
2213
|
-
},
|
|
2213
|
+
}, Sn = ["aria-controls", "aria-expanded", "data-open", "disabled", "id", "tabindex"], wn = { class: "visually-hidden" }, Bn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
2214
2214
|
__name: "BsInputCombobox",
|
|
2215
2215
|
props: {
|
|
2216
2216
|
containerId: {
|
|
@@ -2252,7 +2252,7 @@ const ln = {
|
|
|
2252
2252
|
setup(e, { emit: a }) {
|
|
2253
2253
|
const t = e, l = a;
|
|
2254
2254
|
let n = !1;
|
|
2255
|
-
const i =
|
|
2255
|
+
const i = $(null), [u] = Q(1), o = f(() => ({
|
|
2256
2256
|
icon: t.modelValue ? "close" : t.optionsId ? "caret-down" : "",
|
|
2257
2257
|
show: !!(t.modelValue || t.optionsId),
|
|
2258
2258
|
text: t.modelValue ? "Clear this field" : t.optionsId ? "Toggle options dropdown" : ""
|
|
@@ -2261,9 +2261,9 @@ const ln = {
|
|
|
2261
2261
|
t.modelValue && l("clear"), n = !0, i.value.$el.focus();
|
|
2262
2262
|
}
|
|
2263
2263
|
function r(g) {
|
|
2264
|
-
var y,
|
|
2264
|
+
var y, w;
|
|
2265
2265
|
const v = ((y = g.relatedTarget) == null ? void 0 : y.id) === u.value;
|
|
2266
|
-
!(((
|
|
2266
|
+
!(((w = g.relatedTarget) == null ? void 0 : w.id) === t.optionsId) && (!v || !n) && m(!0), n = !1;
|
|
2267
2267
|
}
|
|
2268
2268
|
const m = Ve((g) => l("toggled", g), 200, !0);
|
|
2269
2269
|
return (g, v) => (d(), O(De, {
|
|
@@ -2276,7 +2276,7 @@ const ln = {
|
|
|
2276
2276
|
onClick: c(m)
|
|
2277
2277
|
}, {
|
|
2278
2278
|
default: D(() => [
|
|
2279
|
-
P(
|
|
2279
|
+
P(ke, z({
|
|
2280
2280
|
ref_key: "inputRef",
|
|
2281
2281
|
ref: i,
|
|
2282
2282
|
"aria-controls": e.optionsId,
|
|
@@ -2294,7 +2294,7 @@ const ln = {
|
|
|
2294
2294
|
onFocus: r,
|
|
2295
2295
|
onInput: v[0] || (v[0] = (h) => g.$emit("update:modelValue", h.target.value))
|
|
2296
2296
|
}, g.$attrs), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-invalid", "data-error", "disabled", "model-value", "placeholder", "required", "role"]),
|
|
2297
|
-
ue(
|
|
2297
|
+
ue(B("button", {
|
|
2298
2298
|
"aria-controls": !e.modelValue && e.optionsId ? e.optionsId : void 0,
|
|
2299
2299
|
"aria-expanded": !e.modelValue && e.optionsId ? e.open : void 0,
|
|
2300
2300
|
"data-open": e.modelValue ? void 0 : e.open,
|
|
@@ -2305,27 +2305,27 @@ const ln = {
|
|
|
2305
2305
|
type: "button",
|
|
2306
2306
|
onClick: s
|
|
2307
2307
|
}, [
|
|
2308
|
-
|
|
2308
|
+
B("span", wn, A(o.value.text), 1),
|
|
2309
2309
|
ue(P(c(Me), {
|
|
2310
2310
|
role: "presentation",
|
|
2311
2311
|
size: "md"
|
|
2312
2312
|
}, null, 512), [
|
|
2313
2313
|
[ce, o.value.icon == "caret-down"]
|
|
2314
2314
|
]),
|
|
2315
|
-
ue(P(c(
|
|
2315
|
+
ue(P(c(Ie), {
|
|
2316
2316
|
role: "presentation",
|
|
2317
2317
|
size: "md"
|
|
2318
2318
|
}, null, 512), [
|
|
2319
2319
|
[ce, o.value.icon == "close"]
|
|
2320
2320
|
])
|
|
2321
|
-
], 8,
|
|
2321
|
+
], 8, Sn), [
|
|
2322
2322
|
[ce, o.value.show]
|
|
2323
2323
|
])
|
|
2324
2324
|
]),
|
|
2325
2325
|
_: 1
|
|
2326
2326
|
}, 8, ["disabled", "error", "id", "onClick"]));
|
|
2327
2327
|
}
|
|
2328
|
-
}),
|
|
2328
|
+
}), $n = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], In = {
|
|
2329
2329
|
__name: "BsFilterButton",
|
|
2330
2330
|
props: {
|
|
2331
2331
|
badgeCount: {
|
|
@@ -2366,7 +2366,7 @@ const ln = {
|
|
|
2366
2366
|
disabled: e.disabled,
|
|
2367
2367
|
type: "button"
|
|
2368
2368
|
}, [
|
|
2369
|
-
t.value ? (d(), O(
|
|
2369
|
+
t.value ? (d(), O(Ca, {
|
|
2370
2370
|
key: 0,
|
|
2371
2371
|
color: "blue",
|
|
2372
2372
|
count: e.badgeCount,
|
|
@@ -2375,12 +2375,12 @@ const ln = {
|
|
|
2375
2375
|
variant: "notext"
|
|
2376
2376
|
}, null, 8, ["count"])) : C("", !0),
|
|
2377
2377
|
V(l.$slots, "label", {}, () => [
|
|
2378
|
-
|
|
2378
|
+
j(A(e.label), 1)
|
|
2379
2379
|
]),
|
|
2380
2380
|
P(c(Me))
|
|
2381
|
-
], 8,
|
|
2381
|
+
], 8, $n));
|
|
2382
2382
|
}
|
|
2383
|
-
},
|
|
2383
|
+
}, kn = ["data-value", "data-value-type", "data-variant", "id"], it = {
|
|
2384
2384
|
__name: "BsDropdownOption",
|
|
2385
2385
|
props: {
|
|
2386
2386
|
value: {
|
|
@@ -2393,7 +2393,7 @@ const ln = {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
},
|
|
2395
2395
|
setup(e) {
|
|
2396
|
-
const a = e, t =
|
|
2396
|
+
const a = e, t = $(null), l = pe("optionsId", ""), n = pe("handleOptionSelect", () => {
|
|
2397
2397
|
}), i = f(() => `${l.value}-option-${a.value}`);
|
|
2398
2398
|
function u(o) {
|
|
2399
2399
|
n(t.value), o.stopPropagation();
|
|
@@ -2410,9 +2410,9 @@ const ln = {
|
|
|
2410
2410
|
onClick: u
|
|
2411
2411
|
}, [
|
|
2412
2412
|
V(o.$slots, "default")
|
|
2413
|
-
], 8,
|
|
2413
|
+
], 8, kn));
|
|
2414
2414
|
}
|
|
2415
|
-
},
|
|
2415
|
+
}, Cn = ["data-img-size", "data-initials", "data-no-img"], xn = ["src", "alt"], Ot = {
|
|
2416
2416
|
__name: "BsProfileImg",
|
|
2417
2417
|
props: {
|
|
2418
2418
|
src: String,
|
|
@@ -2431,7 +2431,7 @@ const ln = {
|
|
|
2431
2431
|
}
|
|
2432
2432
|
},
|
|
2433
2433
|
setup(e) {
|
|
2434
|
-
const a = e, t =
|
|
2434
|
+
const a = e, t = $(!1), l = $(!!a.src);
|
|
2435
2435
|
return X(() => t.value = !0), (n, i) => (d(), b("div", {
|
|
2436
2436
|
class: "bs-profile-img",
|
|
2437
2437
|
"data-component": "bs-profile-img",
|
|
@@ -2444,10 +2444,10 @@ const ln = {
|
|
|
2444
2444
|
src: e.src,
|
|
2445
2445
|
alt: e.useAltText ? e.profileName : "",
|
|
2446
2446
|
onError: i[0] || (i[0] = (u) => l.value = !1)
|
|
2447
|
-
}, null, 40,
|
|
2448
|
-
], 8,
|
|
2447
|
+
}, null, 40, xn)) : C("", !0)
|
|
2448
|
+
], 8, Cn));
|
|
2449
2449
|
}
|
|
2450
|
-
},
|
|
2450
|
+
}, Tn = ["id", "data-checked"], An = { key: 1 }, On = ["innerHTML"], Vn = { key: 4 }, Ln = { key: 5 }, En = {
|
|
2451
2451
|
key: 0,
|
|
2452
2452
|
role: "option",
|
|
2453
2453
|
"data-no-hover": ""
|
|
@@ -2522,8 +2522,8 @@ const ln = {
|
|
|
2522
2522
|
"aria-hidden": "true",
|
|
2523
2523
|
class: "bs-checkbox",
|
|
2524
2524
|
"data-checked": r.checkbox.checked
|
|
2525
|
-
}, null, 8,
|
|
2526
|
-
r.icon ? (d(), b("span",
|
|
2525
|
+
}, null, 8, Tn)) : C("", !0),
|
|
2526
|
+
r.icon ? (d(), b("span", An, [
|
|
2527
2527
|
(d(), O(ae(t[r.icon])))
|
|
2528
2528
|
])) : C("", !0),
|
|
2529
2529
|
r.profileImg ? (d(), O(Ot, {
|
|
@@ -2537,14 +2537,14 @@ const ln = {
|
|
|
2537
2537
|
r.labelHtml ? (d(), b("span", {
|
|
2538
2538
|
key: 3,
|
|
2539
2539
|
innerHTML: r.labelHtml
|
|
2540
|
-
}, null, 8,
|
|
2541
|
-
r.description ? (d(), b("span",
|
|
2540
|
+
}, null, 8, On)) : (d(), b("span", Vn, A(r.label), 1)),
|
|
2541
|
+
r.description ? (d(), b("span", Ln, A(r.description), 1)) : C("", !0)
|
|
2542
2542
|
]),
|
|
2543
2543
|
_: 2
|
|
2544
2544
|
}, 1032, ["aria-checked", "value", "variant"]))), 128)),
|
|
2545
|
-
e.showNoOptions && e.options.length === 0 ? (d(), b("li",
|
|
2545
|
+
e.showNoOptions && e.options.length === 0 ? (d(), b("li", En, [
|
|
2546
2546
|
V(o.$slots, "no-options", {}, () => [
|
|
2547
|
-
s[0] || (s[0] =
|
|
2547
|
+
s[0] || (s[0] = j("No options"))
|
|
2548
2548
|
])
|
|
2549
2549
|
])) : C("", !0)
|
|
2550
2550
|
], 64));
|
|
@@ -2602,8 +2602,8 @@ const ln = {
|
|
|
2602
2602
|
disabled: e.disabled
|
|
2603
2603
|
}, c(Z)(i.$attrs, l.value).remaining), {
|
|
2604
2604
|
default: D(() => [
|
|
2605
|
-
e.hideSearchIcon ? C("", !0) : (d(), O(c(
|
|
2606
|
-
P(
|
|
2605
|
+
e.hideSearchIcon ? C("", !0) : (d(), O(c(Kt), { key: 0 })),
|
|
2606
|
+
P(ke, z({
|
|
2607
2607
|
"data-autowidth": "",
|
|
2608
2608
|
disabled: e.disabled,
|
|
2609
2609
|
"input-id": i.$attrs.id || e.inputId,
|
|
@@ -2612,12 +2612,12 @@ const ln = {
|
|
|
2612
2612
|
}, c(Z)(i.$attrs, l.value).filtered, {
|
|
2613
2613
|
"onUpdate:modelValue": u[0] || (u[0] = (o) => i.$emit("update:modelValue", o))
|
|
2614
2614
|
}), null, 16, ["disabled", "input-id", "placeholder", "value"]),
|
|
2615
|
-
ue(
|
|
2615
|
+
ue(B("button", {
|
|
2616
2616
|
title: "Clear",
|
|
2617
2617
|
type: "button",
|
|
2618
2618
|
onClick: u[1] || (u[1] = (o) => i.$emit("clear"))
|
|
2619
2619
|
}, [
|
|
2620
|
-
P(c(
|
|
2620
|
+
P(c(Ie), { size: "sm" })
|
|
2621
2621
|
], 512), [
|
|
2622
2622
|
[ce, n.value]
|
|
2623
2623
|
])
|
|
@@ -2625,10 +2625,10 @@ const ln = {
|
|
|
2625
2625
|
_: 1
|
|
2626
2626
|
}, 16, ["data-variant", "disabled"]));
|
|
2627
2627
|
}
|
|
2628
|
-
}),
|
|
2628
|
+
}), Dn = ["id"], Pn = {
|
|
2629
2629
|
key: 0,
|
|
2630
2630
|
class: "filter-input-container"
|
|
2631
|
-
},
|
|
2631
|
+
}, qn = {
|
|
2632
2632
|
key: 1,
|
|
2633
2633
|
class: "mobile-select-button-container"
|
|
2634
2634
|
}, Lt = {
|
|
@@ -2741,14 +2741,14 @@ const ln = {
|
|
|
2741
2741
|
setup(e, { emit: a }) {
|
|
2742
2742
|
const t = e, l = a;
|
|
2743
2743
|
let n = null;
|
|
2744
|
-
const [i, u] = Q(2), o =
|
|
2745
|
-
function
|
|
2746
|
-
const
|
|
2747
|
-
return !
|
|
2744
|
+
const [i, u] = Q(2), o = $(!1), s = $(""), r = $([...t.options]), m = f(() => t.selectedOptions.length), g = f(() => Je(async () => await (t.multiselect ? Promise.resolve().then(() => Rn) : Promise.resolve().then(() => Nn)))), v = f(() => t.optionsId || u.value), h = f(() => t.toggleId || i.value), y = () => n || (n = document.getElementById(h.value));
|
|
2745
|
+
function w() {
|
|
2746
|
+
const R = document.activeElement;
|
|
2747
|
+
return !R || R.tagName === "BODY" || R.id === v.value;
|
|
2748
2748
|
}
|
|
2749
2749
|
function p() {
|
|
2750
|
-
var
|
|
2751
|
-
o.value = !1, l("close"),
|
|
2750
|
+
var R, U;
|
|
2751
|
+
o.value = !1, l("close"), w() && ((U = (R = y()) == null ? void 0 : R.focus) == null || U.call(R));
|
|
2752
2752
|
}
|
|
2753
2753
|
function S() {
|
|
2754
2754
|
o.value && p();
|
|
@@ -2756,36 +2756,36 @@ const ln = {
|
|
|
2756
2756
|
function k() {
|
|
2757
2757
|
o.value = !0;
|
|
2758
2758
|
}
|
|
2759
|
-
function
|
|
2760
|
-
const
|
|
2761
|
-
l("update:selectedOptions",
|
|
2759
|
+
function I(R) {
|
|
2760
|
+
const U = t.selectedOptions.filter((_) => _ !== R);
|
|
2761
|
+
l("update:selectedOptions", U), l("uncheck-option", R);
|
|
2762
2762
|
}
|
|
2763
|
-
function
|
|
2764
|
-
const
|
|
2765
|
-
l("update:selectedOptions",
|
|
2763
|
+
function q(R) {
|
|
2764
|
+
const U = [...t.selectedOptions, R];
|
|
2765
|
+
l("update:selectedOptions", U), l("check-option", R);
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2768
|
-
t.multiselect || (l("update:selectedOption",
|
|
2767
|
+
function T(R) {
|
|
2768
|
+
t.multiselect || (l("update:selectedOption", R), p());
|
|
2769
2769
|
}
|
|
2770
2770
|
function L() {
|
|
2771
2771
|
s.value = "", r.value = t.options;
|
|
2772
2772
|
}
|
|
2773
|
-
function R
|
|
2774
|
-
s.value =
|
|
2773
|
+
function F(R) {
|
|
2774
|
+
s.value = R, r.value = t.options.filter((U) => {
|
|
2775
2775
|
var _;
|
|
2776
|
-
return
|
|
2776
|
+
return U.label.toLowerCase().startsWith((_ = s.value) == null ? void 0 : _.toLowerCase());
|
|
2777
2777
|
});
|
|
2778
2778
|
}
|
|
2779
|
-
return (
|
|
2779
|
+
return (R, U) => (d(), b("div", {
|
|
2780
2780
|
class: "bs-dropdown-with-toggle",
|
|
2781
|
-
id:
|
|
2781
|
+
id: R.$attrs.id
|
|
2782
2782
|
}, [
|
|
2783
|
-
V(
|
|
2783
|
+
V(R.$slots, "toggle", {
|
|
2784
2784
|
anchorId: e.anchorId,
|
|
2785
2785
|
optionsId: v.value,
|
|
2786
2786
|
toggleId: h.value
|
|
2787
2787
|
}, () => [
|
|
2788
|
-
P(
|
|
2788
|
+
P(In, {
|
|
2789
2789
|
"aria-controls": v.value,
|
|
2790
2790
|
"aria-expanded": e.open,
|
|
2791
2791
|
disabled: e.disabled,
|
|
@@ -2794,11 +2794,11 @@ const ln = {
|
|
|
2794
2794
|
"options-id": v.value,
|
|
2795
2795
|
size: e.toggleSize,
|
|
2796
2796
|
"badge-count": e.showBadgeCount && e.multiselect ? m.value : void 0,
|
|
2797
|
-
onClick:
|
|
2797
|
+
onClick: U[0] || (U[0] = (_) => R.$emit("toggled"))
|
|
2798
2798
|
}, {
|
|
2799
2799
|
label: D(() => [
|
|
2800
|
-
V(
|
|
2801
|
-
|
|
2800
|
+
V(R.$slots, "toggle-label", {}, () => [
|
|
2801
|
+
j(A(e.toggleLabel), 1)
|
|
2802
2802
|
])
|
|
2803
2803
|
]),
|
|
2804
2804
|
_: 3
|
|
@@ -2818,12 +2818,12 @@ const ln = {
|
|
|
2818
2818
|
onEnter: k
|
|
2819
2819
|
}, {
|
|
2820
2820
|
default: D(() => [
|
|
2821
|
-
e.filter ? (d(), b("div",
|
|
2821
|
+
e.filter ? (d(), b("div", Pn, [
|
|
2822
2822
|
P(Vt, {
|
|
2823
2823
|
"aria-label": e.filterLabel,
|
|
2824
2824
|
"model-value": s.value,
|
|
2825
2825
|
placeholder: e.filterPlaceholder,
|
|
2826
|
-
"onUpdate:modelValue":
|
|
2826
|
+
"onUpdate:modelValue": F,
|
|
2827
2827
|
onClear: L
|
|
2828
2828
|
}, null, 8, ["aria-label", "model-value", "placeholder"])
|
|
2829
2829
|
])) : C("", !0),
|
|
@@ -2835,10 +2835,10 @@ const ln = {
|
|
|
2835
2835
|
"options-id": v.value,
|
|
2836
2836
|
"selected-options": e.selectedOptions,
|
|
2837
2837
|
shown: e.open,
|
|
2838
|
-
"onUpdate:modelValue":
|
|
2839
|
-
onCheckOption:
|
|
2840
|
-
onUncheckOption:
|
|
2841
|
-
onClose:
|
|
2838
|
+
"onUpdate:modelValue": T,
|
|
2839
|
+
onCheckOption: q,
|
|
2840
|
+
onUncheckOption: I,
|
|
2841
|
+
onClose: U[1] || (U[1] = (_) => e.multiselect ? void 0 : S())
|
|
2842
2842
|
}, {
|
|
2843
2843
|
default: D(() => [
|
|
2844
2844
|
e.multiselect ? C("", !0) : (d(), O(qe, {
|
|
@@ -2848,14 +2848,14 @@ const ln = {
|
|
|
2848
2848
|
]),
|
|
2849
2849
|
_: 1
|
|
2850
2850
|
}, 8, ["class", "label", "model-value", "options", "options-id", "selected-options", "shown"]),
|
|
2851
|
-
e.multiselect ? (d(), b("div",
|
|
2851
|
+
e.multiselect ? (d(), b("div", qn, [
|
|
2852
2852
|
P(xt, {
|
|
2853
2853
|
title: e.filterButtonText,
|
|
2854
2854
|
class: "mobile-select-button",
|
|
2855
|
-
onClick:
|
|
2855
|
+
onClick: U[2] || (U[2] = () => l("close"))
|
|
2856
2856
|
}, {
|
|
2857
2857
|
default: D(() => [
|
|
2858
|
-
|
|
2858
|
+
j(A(e.filterButtonText), 1)
|
|
2859
2859
|
]),
|
|
2860
2860
|
_: 1
|
|
2861
2861
|
}, 8, ["title"])
|
|
@@ -2863,7 +2863,7 @@ const ln = {
|
|
|
2863
2863
|
]),
|
|
2864
2864
|
_: 1
|
|
2865
2865
|
}, 8, ["anchor-id", "breakout", "helper-text", "helper-description", "position", "shown", "use-mobile-style", "width"])
|
|
2866
|
-
], 8,
|
|
2866
|
+
], 8, Dn));
|
|
2867
2867
|
}
|
|
2868
2868
|
}, Et = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
2869
2869
|
__name: "BsDropdownCombobox",
|
|
@@ -2924,7 +2924,7 @@ const ln = {
|
|
|
2924
2924
|
},
|
|
2925
2925
|
emits: ["update:modelValue", "combobox:change", "combobox:input"],
|
|
2926
2926
|
setup(e, { emit: a }) {
|
|
2927
|
-
const t = e, l = a, [n, i, u] = Q(3), o =
|
|
2927
|
+
const t = e, l = a, [n, i, u] = Q(3), o = $(!1), s = f(() => t.inputId || n.value);
|
|
2928
2928
|
function r(y) {
|
|
2929
2929
|
l("combobox:change", y.target.value), l("update:modelValue", y.target.value);
|
|
2930
2930
|
}
|
|
@@ -2932,8 +2932,8 @@ const ln = {
|
|
|
2932
2932
|
l("combobox:change", ""), l("update:modelValue", "");
|
|
2933
2933
|
}
|
|
2934
2934
|
function g(y) {
|
|
2935
|
-
var
|
|
2936
|
-
(
|
|
2935
|
+
var w, p;
|
|
2936
|
+
(w = y.relatedTarget) != null && w.closest(`#${u.value}`) || (p = y.relatedTarget) != null && p.closest(`#${i.value}`) || (o.value = !1);
|
|
2937
2937
|
}
|
|
2938
2938
|
function v(y) {
|
|
2939
2939
|
l("combobox:input", y.target.value), t.updateOnInput && l("update:modelValue", y.target.value);
|
|
@@ -2941,7 +2941,7 @@ const ln = {
|
|
|
2941
2941
|
function h(y) {
|
|
2942
2942
|
y === !0 || y === !1 ? o.value = y : o.value = !o.value;
|
|
2943
2943
|
}
|
|
2944
|
-
return (y,
|
|
2944
|
+
return (y, w) => (d(), O(Lt, {
|
|
2945
2945
|
"anchor-id": c(i),
|
|
2946
2946
|
disabled: e.disabled,
|
|
2947
2947
|
"dropdown-position": e.dropdownPosition,
|
|
@@ -2954,12 +2954,12 @@ const ln = {
|
|
|
2954
2954
|
"options-id": c(u),
|
|
2955
2955
|
"selected-option": e.modelValue,
|
|
2956
2956
|
"toggle-id": y.$attrs.id || s.value,
|
|
2957
|
-
onClose:
|
|
2957
|
+
onClose: w[0] || (w[0] = (p) => o.value = !1),
|
|
2958
2958
|
onFocusout: g,
|
|
2959
|
-
"onUpdate:selectedOption":
|
|
2959
|
+
"onUpdate:selectedOption": w[1] || (w[1] = (p) => y.$emit("update:modelValue", p))
|
|
2960
2960
|
}, {
|
|
2961
2961
|
toggle: D(() => [
|
|
2962
|
-
P(
|
|
2962
|
+
P(Bn, z({
|
|
2963
2963
|
id: y.$attrs.id || s.value,
|
|
2964
2964
|
"container-id": c(i),
|
|
2965
2965
|
disabled: e.disabled,
|
|
@@ -2979,7 +2979,7 @@ const ln = {
|
|
|
2979
2979
|
_: 1
|
|
2980
2980
|
}, 8, ["anchor-id", "disabled", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options", "options-id", "selected-option", "toggle-id"]));
|
|
2981
2981
|
}
|
|
2982
|
-
}),
|
|
2982
|
+
}), Fo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
2983
2983
|
__name: "BsDropdownComboboxField",
|
|
2984
2984
|
props: {
|
|
2985
2985
|
disabled: {
|
|
@@ -3057,7 +3057,7 @@ const ln = {
|
|
|
3057
3057
|
}, {
|
|
3058
3058
|
default: D(() => [
|
|
3059
3059
|
V(o.$slots, "label", {}, () => [
|
|
3060
|
-
|
|
3060
|
+
j(A(e.label), 1)
|
|
3061
3061
|
])
|
|
3062
3062
|
]),
|
|
3063
3063
|
_: 3
|
|
@@ -3081,7 +3081,7 @@ const ln = {
|
|
|
3081
3081
|
"onCombobox:input": s[1] || (s[1] = (r) => o.$emit("combobox:input", r)),
|
|
3082
3082
|
"onUpdate:modelValue": s[2] || (s[2] = (r) => o.$emit("update:modelValue", r))
|
|
3083
3083
|
}, c(Z)(o.$attrs, c(be)).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"]),
|
|
3084
|
-
i.value ? (d(), O(
|
|
3084
|
+
i.value ? (d(), O(ye, {
|
|
3085
3085
|
key: 1,
|
|
3086
3086
|
error: e.error,
|
|
3087
3087
|
"error-msg": e.errorMsg,
|
|
@@ -3090,7 +3090,7 @@ const ln = {
|
|
|
3090
3090
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
3091
3091
|
], 16));
|
|
3092
3092
|
}
|
|
3093
|
-
}),
|
|
3093
|
+
}), Mn = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
|
|
3094
3094
|
__name: "BsDropdownOptionList",
|
|
3095
3095
|
props: {
|
|
3096
3096
|
optionsId: {
|
|
@@ -3126,72 +3126,72 @@ const ln = {
|
|
|
3126
3126
|
"update:modelValue"
|
|
3127
3127
|
],
|
|
3128
3128
|
setup(e, { expose: a, emit: t }) {
|
|
3129
|
-
const l = e, n = t, i =
|
|
3130
|
-
fe("optionsId", f(() => l.optionsId)), fe("handleOptionSelect",
|
|
3129
|
+
const l = e, n = t, i = $(null), u = $(null), o = $(-1), s = $(-1), r = $(null), m = $(!1), g = pe("dropdownEnter", $(!1)), v = pe("dropdownAfterEnter", $(!1)), h = pe("dropdownShown", $(!1));
|
|
3130
|
+
fe("optionsId", f(() => l.optionsId)), fe("handleOptionSelect", Se), ga(i, I, { childList: !0 }), me([" ", "Enter", "NumpadEnter"], ve, i), me(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
|
|
3131
3131
|
const p = [/^[a-zA-Z0-9]{1}$/], S = {
|
|
3132
3132
|
keys: "",
|
|
3133
3133
|
lastTyped: 0
|
|
3134
3134
|
};
|
|
3135
3135
|
me(p, (E) => xe(E, S)), X(() => {
|
|
3136
|
-
|
|
3136
|
+
I(), U(h.value);
|
|
3137
3137
|
}), G(
|
|
3138
3138
|
[g, () => {
|
|
3139
3139
|
var E;
|
|
3140
3140
|
return (E = r.value) == null ? void 0 : E.length;
|
|
3141
3141
|
}],
|
|
3142
|
-
([E,
|
|
3143
|
-
(E ||
|
|
3142
|
+
([E, W]) => {
|
|
3143
|
+
(E || W > 0) && (m.value = i.value.scrollHeight > i.value.clientHeight);
|
|
3144
3144
|
}
|
|
3145
3145
|
), G(v, (E) => {
|
|
3146
|
-
E && (
|
|
3147
|
-
}), G(h, (E) =>
|
|
3146
|
+
E && (q(), T());
|
|
3147
|
+
}), G(h, (E) => U(E));
|
|
3148
3148
|
const k = f(() => l.modelValue || l.selectedValue);
|
|
3149
|
-
function
|
|
3149
|
+
function I() {
|
|
3150
3150
|
r.value = Array.from(
|
|
3151
3151
|
i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
|
|
3152
3152
|
);
|
|
3153
3153
|
}
|
|
3154
|
-
function
|
|
3154
|
+
function q() {
|
|
3155
3155
|
i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
|
|
3156
3156
|
}
|
|
3157
|
-
function
|
|
3157
|
+
function T() {
|
|
3158
3158
|
var E;
|
|
3159
|
-
o.value > -1 && (
|
|
3159
|
+
o.value > -1 && (q(), (E = r.value[o.value]) == null || E.scrollIntoView({ block: "nearest" }));
|
|
3160
3160
|
}
|
|
3161
3161
|
function L() {
|
|
3162
|
-
var E,
|
|
3163
|
-
o.value > -1 && ((E = r.value[o.value]) == null || E.setAttribute("data-active", ""), u.value = (
|
|
3162
|
+
var E, W;
|
|
3163
|
+
o.value > -1 && ((E = r.value[o.value]) == null || E.setAttribute("data-active", ""), u.value = (W = r.value[o.value]) == null ? void 0 : W.id, T());
|
|
3164
3164
|
}
|
|
3165
|
-
function
|
|
3165
|
+
function F() {
|
|
3166
3166
|
var E;
|
|
3167
3167
|
o.value > -1 && ((E = r.value[o.value]) == null || E.removeAttribute("data-active"));
|
|
3168
3168
|
}
|
|
3169
|
-
function
|
|
3169
|
+
function R() {
|
|
3170
3170
|
var E;
|
|
3171
3171
|
o.value < 0 && (o.value = 0, u.value = (E = r.value[0]) == null ? void 0 : E.id), L();
|
|
3172
3172
|
}
|
|
3173
|
-
function
|
|
3173
|
+
function U(E) {
|
|
3174
3174
|
E ? _() : he();
|
|
3175
3175
|
}
|
|
3176
3176
|
function _() {
|
|
3177
|
-
var E,
|
|
3177
|
+
var E, W;
|
|
3178
3178
|
l.multiselect || (s.value = r.value.findIndex(
|
|
3179
|
-
(
|
|
3180
|
-
), !l.multiselect && s.value > -1 && ((E = r.value[s.value]) == null || E.setAttribute("data-selected", ""), (
|
|
3179
|
+
(M) => M.getAttribute("data-value") === String(k.value)
|
|
3180
|
+
), !l.multiselect && s.value > -1 && ((E = r.value[s.value]) == null || E.setAttribute("data-selected", ""), (W = r.value[s.value]) == null || W.setAttribute("aria-selected", "true")), o.value = s.value);
|
|
3181
3181
|
}
|
|
3182
3182
|
function he() {
|
|
3183
3183
|
r.value.forEach((E) => {
|
|
3184
3184
|
E.removeAttribute("data-selected"), E.setAttribute("aria-selected", "false");
|
|
3185
|
-
}),
|
|
3185
|
+
}), F(), s.value = -1, o.value = -1, u.value = null;
|
|
3186
3186
|
}
|
|
3187
|
-
function
|
|
3188
|
-
var
|
|
3189
|
-
(
|
|
3190
|
-
let
|
|
3191
|
-
E.getAttribute("data-value-type") === "number" && (
|
|
3187
|
+
function Se(E) {
|
|
3188
|
+
var M;
|
|
3189
|
+
(M = E.querySelector("a")) == null || M.click();
|
|
3190
|
+
let W = E.getAttribute("data-value");
|
|
3191
|
+
E.getAttribute("data-value-type") === "number" && (W = Number(W)), u.value = E.id, F(), n("optselected", W), n("update:modelValue", W), n("close");
|
|
3192
3192
|
}
|
|
3193
|
-
function
|
|
3194
|
-
|
|
3193
|
+
function ve(E) {
|
|
3194
|
+
Se(r.value[o.value]), E.preventDefault();
|
|
3195
3195
|
}
|
|
3196
3196
|
function Ce(E) {
|
|
3197
3197
|
if (h.value)
|
|
@@ -3211,39 +3211,39 @@ const ln = {
|
|
|
3211
3211
|
}
|
|
3212
3212
|
}
|
|
3213
3213
|
function se(E) {
|
|
3214
|
-
let
|
|
3214
|
+
let W;
|
|
3215
3215
|
switch (E) {
|
|
3216
3216
|
case "up":
|
|
3217
|
-
|
|
3217
|
+
W = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
|
|
3218
3218
|
break;
|
|
3219
3219
|
case "down":
|
|
3220
|
-
|
|
3220
|
+
W = (o.value + 1) % r.value.length;
|
|
3221
3221
|
break;
|
|
3222
3222
|
case "home":
|
|
3223
|
-
|
|
3223
|
+
W = 0;
|
|
3224
3224
|
break;
|
|
3225
3225
|
case "end":
|
|
3226
|
-
|
|
3226
|
+
W = r.value.length - 1;
|
|
3227
3227
|
break;
|
|
3228
3228
|
}
|
|
3229
|
-
|
|
3229
|
+
we(W);
|
|
3230
3230
|
}
|
|
3231
|
-
function xe(E,
|
|
3231
|
+
function xe(E, W) {
|
|
3232
3232
|
if (!h.value) return;
|
|
3233
|
-
|
|
3234
|
-
const
|
|
3235
|
-
|
|
3233
|
+
W.keys = E.timeStamp - W.lastTyped > 500 ? E.key : W.keys + E.key, W.lastTyped = E.timeStamp;
|
|
3234
|
+
const M = r.value.findIndex((Y) => Y.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(W.keys));
|
|
3235
|
+
M > -1 && we(M, !1);
|
|
3236
3236
|
}
|
|
3237
|
-
function
|
|
3238
|
-
|
|
3237
|
+
function we(E, W = !0) {
|
|
3238
|
+
F(), o.value = E, document.activeElement !== i.value && W ? i.value.focus() : L();
|
|
3239
3239
|
}
|
|
3240
3240
|
return a({
|
|
3241
3241
|
activeIndex: o,
|
|
3242
3242
|
optionEls: r,
|
|
3243
3243
|
optionsRef: i,
|
|
3244
|
-
refreshOptions:
|
|
3244
|
+
refreshOptions: I,
|
|
3245
3245
|
setCurrentActive: L
|
|
3246
|
-
}), (E,
|
|
3246
|
+
}), (E, W) => (d(), b("ul", {
|
|
3247
3247
|
ref_key: "optionsRef",
|
|
3248
3248
|
ref: i,
|
|
3249
3249
|
"aria-activedescendant": u.value || void 0,
|
|
@@ -3255,18 +3255,18 @@ const ln = {
|
|
|
3255
3255
|
id: e.optionsId,
|
|
3256
3256
|
role: "listbox",
|
|
3257
3257
|
tabindex: c(h) ? 0 : void 0,
|
|
3258
|
-
onBlur:
|
|
3259
|
-
onFocus:
|
|
3260
|
-
onMousedown:
|
|
3258
|
+
onBlur: F,
|
|
3259
|
+
onFocus: R,
|
|
3260
|
+
onMousedown: W[0] || (W[0] = wt(() => {
|
|
3261
3261
|
}, ["prevent"]))
|
|
3262
3262
|
}, [
|
|
3263
3263
|
V(E.$slots, "default")
|
|
3264
|
-
], 40,
|
|
3264
|
+
], 40, Mn));
|
|
3265
3265
|
}
|
|
3266
|
-
},
|
|
3266
|
+
}, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3267
3267
|
__proto__: null,
|
|
3268
3268
|
default: Re
|
|
3269
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3269
|
+
}, Symbol.toStringTag, { value: "Module" })), zn = { role: "separator" }, Fn = {
|
|
3270
3270
|
key: 1,
|
|
3271
3271
|
role: "option",
|
|
3272
3272
|
"data-no-hover": "true"
|
|
@@ -3304,12 +3304,12 @@ const ln = {
|
|
|
3304
3304
|
"uncheck-option"
|
|
3305
3305
|
],
|
|
3306
3306
|
setup(e, { emit: a }) {
|
|
3307
|
-
const t = e, l = a, n =
|
|
3308
|
-
var
|
|
3309
|
-
return ((
|
|
3307
|
+
const t = e, l = a, n = $(null), i = $([]), u = $([]), o = f(() => {
|
|
3308
|
+
var w, p;
|
|
3309
|
+
return ((w = i.value) == null ? void 0 : w.length) && ((p = u.value) == null ? void 0 : p.length);
|
|
3310
3310
|
}), s = f(() => {
|
|
3311
|
-
var
|
|
3312
|
-
return ((
|
|
3311
|
+
var w, p;
|
|
3312
|
+
return ((w = i.value) == null ? void 0 : w.length) || ((p = u.value) == null ? void 0 : p.length);
|
|
3313
3313
|
});
|
|
3314
3314
|
let r = !1;
|
|
3315
3315
|
G(() => t.options, () => {
|
|
@@ -3318,8 +3318,8 @@ const ln = {
|
|
|
3318
3318
|
() => t.selectedOptions,
|
|
3319
3319
|
v,
|
|
3320
3320
|
{ immediate: !0 }
|
|
3321
|
-
), G(() => t.shown, (
|
|
3322
|
-
|
|
3321
|
+
), G(() => t.shown, (w) => {
|
|
3322
|
+
w && t.focusOnOpen && Ae(m);
|
|
3323
3323
|
});
|
|
3324
3324
|
function m() {
|
|
3325
3325
|
n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
|
|
@@ -3327,28 +3327,28 @@ const ln = {
|
|
|
3327
3327
|
function g() {
|
|
3328
3328
|
n.value && (n.value.refreshOptions(), n.value.setCurrentActive());
|
|
3329
3329
|
}
|
|
3330
|
-
function v(
|
|
3331
|
-
const p = new Set(
|
|
3332
|
-
t.options.forEach((
|
|
3333
|
-
const
|
|
3334
|
-
p.has(
|
|
3330
|
+
function v(w = []) {
|
|
3331
|
+
const p = new Set(w), S = [], k = [];
|
|
3332
|
+
t.options.forEach((I) => {
|
|
3333
|
+
const q = { ...I }, T = `${t.optionsId}-${I.value}-cb`;
|
|
3334
|
+
p.has(I.value) ? (q.checkbox = { inputId: T, checked: !0 }, S.push(q)) : (q.checkbox = { inputId: T, checked: !1 }, k.push(q));
|
|
3335
3335
|
}), i.value = S, Ae(() => {
|
|
3336
3336
|
u.value = k, Ae(() => {
|
|
3337
3337
|
r && g(), r = !1;
|
|
3338
3338
|
});
|
|
3339
3339
|
});
|
|
3340
3340
|
}
|
|
3341
|
-
function h(
|
|
3342
|
-
const p = new Set(
|
|
3341
|
+
function h(w = []) {
|
|
3342
|
+
const p = new Set(w), S = [];
|
|
3343
3343
|
return t.options.forEach((k) => {
|
|
3344
3344
|
p.has(k.value) && S.push(k.value);
|
|
3345
3345
|
}), S;
|
|
3346
3346
|
}
|
|
3347
|
-
function y(
|
|
3347
|
+
function y(w) {
|
|
3348
3348
|
let p = [];
|
|
3349
|
-
t.selectedOptions.includes(
|
|
3349
|
+
t.selectedOptions.includes(w) ? (p = t.selectedOptions.filter((S) => S !== w), l("uncheck-option", w)) : (p = h([...t.selectedOptions, w]), l("check-option", w)), r = !0, l("update:selectedOptions", p);
|
|
3350
3350
|
}
|
|
3351
|
-
return (
|
|
3351
|
+
return (w, p) => (d(), O(Re, {
|
|
3352
3352
|
ref_key: "optlist",
|
|
3353
3353
|
ref: n,
|
|
3354
3354
|
"aria-multiselectable": "true",
|
|
@@ -3365,8 +3365,8 @@ const ln = {
|
|
|
3365
3365
|
options: i.value,
|
|
3366
3366
|
"show-no-options": !1
|
|
3367
3367
|
}, null, 8, ["options"]),
|
|
3368
|
-
ue(
|
|
3369
|
-
|
|
3368
|
+
ue(B("li", zn, p[0] || (p[0] = [
|
|
3369
|
+
B("hr", null, null, -1)
|
|
3370
3370
|
]), 512), [
|
|
3371
3371
|
[ce, o.value]
|
|
3372
3372
|
]),
|
|
@@ -3374,19 +3374,19 @@ const ln = {
|
|
|
3374
3374
|
options: u.value,
|
|
3375
3375
|
"show-no-options": !1
|
|
3376
3376
|
}, null, 8, ["options"])
|
|
3377
|
-
], 64)) : (d(), b("li",
|
|
3378
|
-
V(
|
|
3379
|
-
p[1] || (p[1] =
|
|
3377
|
+
], 64)) : (d(), b("li", Fn, [
|
|
3378
|
+
V(w.$slots, "no-options", {}, () => [
|
|
3379
|
+
p[1] || (p[1] = j("No options"))
|
|
3380
3380
|
])
|
|
3381
3381
|
]))
|
|
3382
3382
|
]),
|
|
3383
3383
|
_: 3
|
|
3384
3384
|
}, 8, ["label", "options-id", "shown"]));
|
|
3385
3385
|
}
|
|
3386
|
-
},
|
|
3386
|
+
}, Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3387
3387
|
__proto__: null,
|
|
3388
3388
|
default: Dt
|
|
3389
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3389
|
+
}, Symbol.toStringTag, { value: "Module" })), Wn = {
|
|
3390
3390
|
__name: "BsDropdownWithOptionsNew",
|
|
3391
3391
|
props: {
|
|
3392
3392
|
// DROPDOWN PROPS
|
|
@@ -3461,7 +3461,7 @@ const ln = {
|
|
|
3461
3461
|
"after-leave"
|
|
3462
3462
|
],
|
|
3463
3463
|
setup(e, { emit: a }) {
|
|
3464
|
-
const t = a, l =
|
|
3464
|
+
const t = a, l = $(!1);
|
|
3465
3465
|
function n() {
|
|
3466
3466
|
l.value = !0;
|
|
3467
3467
|
}
|
|
@@ -3624,7 +3624,7 @@ const ln = {
|
|
|
3624
3624
|
function r(m) {
|
|
3625
3625
|
l("optselected", m), l("update:modelValue", m);
|
|
3626
3626
|
}
|
|
3627
|
-
return (m, g) => (d(), O(
|
|
3627
|
+
return (m, g) => (d(), O(Wn, {
|
|
3628
3628
|
"anchor-id": o.value,
|
|
3629
3629
|
breakout: e.breakout,
|
|
3630
3630
|
"container-id": e.containerId,
|
|
@@ -3650,10 +3650,10 @@ const ln = {
|
|
|
3650
3650
|
_: 3
|
|
3651
3651
|
}, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
|
|
3652
3652
|
}
|
|
3653
|
-
},
|
|
3653
|
+
}, jn = ["data-size"], Un = { class: "bs-empty-state-icon" }, Gn = { class: "bs-empty-state-title" }, Hn = {
|
|
3654
3654
|
key: 0,
|
|
3655
3655
|
class: "bs-empty-state-description"
|
|
3656
|
-
},
|
|
3656
|
+
}, Ro = {
|
|
3657
3657
|
__name: "BsEmptyState",
|
|
3658
3658
|
props: {
|
|
3659
3659
|
description: {
|
|
@@ -3681,23 +3681,23 @@ const ln = {
|
|
|
3681
3681
|
"data-component": "bs-empty-state",
|
|
3682
3682
|
"data-size": e.size
|
|
3683
3683
|
}, [
|
|
3684
|
-
|
|
3684
|
+
B("div", Un, [
|
|
3685
3685
|
V(l.$slots, "icon", {}, () => [
|
|
3686
3686
|
(d(), O(ae(c(t)), { size: "auto" }))
|
|
3687
3687
|
])
|
|
3688
3688
|
]),
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
e.size !== "xs" ? (d(), b("p",
|
|
3689
|
+
B("div", null, [
|
|
3690
|
+
B("p", Gn, A(e.title), 1),
|
|
3691
|
+
e.size !== "xs" ? (d(), b("p", Hn, [
|
|
3692
3692
|
V(l.$slots, "description", {}, () => [
|
|
3693
|
-
|
|
3693
|
+
j(A(e.description), 1)
|
|
3694
3694
|
])
|
|
3695
3695
|
])) : C("", !0),
|
|
3696
3696
|
V(l.$slots, "call-to-action")
|
|
3697
3697
|
])
|
|
3698
|
-
], 8,
|
|
3698
|
+
], 8, jn));
|
|
3699
3699
|
}
|
|
3700
|
-
},
|
|
3700
|
+
}, Kn = ["data-absolute", "data-position", "data-shown", "data-size"], Yn = { class: "bs-flyout-close-container" }, Wo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3701
3701
|
__name: "BsFlyout",
|
|
3702
3702
|
props: {
|
|
3703
3703
|
absolute: {
|
|
@@ -3733,7 +3733,7 @@ const ln = {
|
|
|
3733
3733
|
},
|
|
3734
3734
|
emits: ["close"],
|
|
3735
3735
|
setup(e, { emit: a }) {
|
|
3736
|
-
const t = e, l = a, n =
|
|
3736
|
+
const t = e, l = a, n = $(null), i = f(() => document.getElementById(t.toggleId));
|
|
3737
3737
|
Ct([n, i], u), me(["Escape"], u);
|
|
3738
3738
|
function u() {
|
|
3739
3739
|
t.shown && l("close");
|
|
@@ -3744,7 +3744,7 @@ const ln = {
|
|
|
3744
3744
|
shown: e.shown
|
|
3745
3745
|
}, {
|
|
3746
3746
|
default: D(() => [
|
|
3747
|
-
|
|
3747
|
+
B("div", z({
|
|
3748
3748
|
ref_key: "flyout",
|
|
3749
3749
|
ref: n,
|
|
3750
3750
|
class: "bs-flyout",
|
|
@@ -3754,26 +3754,26 @@ const ln = {
|
|
|
3754
3754
|
"data-shown": e.shown,
|
|
3755
3755
|
"data-size": e.size
|
|
3756
3756
|
}, o.$attrs), [
|
|
3757
|
-
|
|
3758
|
-
|
|
3757
|
+
B("div", Yn, [
|
|
3758
|
+
B("button", {
|
|
3759
3759
|
type: "button",
|
|
3760
3760
|
title: "Close",
|
|
3761
3761
|
"aria-label": "Close",
|
|
3762
3762
|
onClick: u
|
|
3763
3763
|
}, [
|
|
3764
|
-
P(c(
|
|
3764
|
+
P(c(Ie))
|
|
3765
3765
|
])
|
|
3766
3766
|
]),
|
|
3767
3767
|
V(o.$slots, "default")
|
|
3768
|
-
], 16,
|
|
3768
|
+
], 16, Kn)
|
|
3769
3769
|
]),
|
|
3770
3770
|
_: 3
|
|
3771
3771
|
}, 8, ["preloaded", "shown"]));
|
|
3772
3772
|
}
|
|
3773
|
-
}),
|
|
3773
|
+
}), Zn = ["view-box"], Xn = ["id"], Qn = ["offset", "stop-color"], jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3774
3774
|
__name: "BsIconGradientWrapper",
|
|
3775
3775
|
setup(e) {
|
|
3776
|
-
const a =
|
|
3776
|
+
const a = $(null), t = $(null), l = [
|
|
3777
3777
|
{ offset: 0.1326, color: "#EE282A" },
|
|
3778
3778
|
{ offset: 0.5466, color: "#1C0087" },
|
|
3779
3779
|
{ offset: 0.9715, color: "#0086EA" }
|
|
@@ -3781,7 +3781,7 @@ const ln = {
|
|
|
3781
3781
|
return X(() => {
|
|
3782
3782
|
t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
|
|
3783
3783
|
}), (i, u) => (d(), b(K, null, [
|
|
3784
|
-
|
|
3784
|
+
B("span", z({
|
|
3785
3785
|
ref_key: "svgWrapperRef",
|
|
3786
3786
|
ref: a,
|
|
3787
3787
|
class: "bs-icon-gradient-wrapper",
|
|
@@ -3795,7 +3795,7 @@ const ln = {
|
|
|
3795
3795
|
width: "0",
|
|
3796
3796
|
height: "0"
|
|
3797
3797
|
}, [
|
|
3798
|
-
|
|
3798
|
+
B("linearGradient", {
|
|
3799
3799
|
id: c(n),
|
|
3800
3800
|
x1: "0",
|
|
3801
3801
|
y1: "0",
|
|
@@ -3803,16 +3803,16 @@ const ln = {
|
|
|
3803
3803
|
y2: "100%",
|
|
3804
3804
|
"gradient-units": "userSpaceOnUse"
|
|
3805
3805
|
}, [
|
|
3806
|
-
(d(), b(K, null, te(l, (o) =>
|
|
3806
|
+
(d(), b(K, null, te(l, (o) => B("stop", {
|
|
3807
3807
|
key: o.offset,
|
|
3808
3808
|
offset: o.offset,
|
|
3809
3809
|
"stop-color": o.color
|
|
3810
|
-
}, null, 8,
|
|
3811
|
-
], 8,
|
|
3812
|
-
], 8,
|
|
3810
|
+
}, null, 8, Qn)), 64))
|
|
3811
|
+
], 8, Xn)
|
|
3812
|
+
], 8, Zn))
|
|
3813
3813
|
], 64));
|
|
3814
3814
|
}
|
|
3815
|
-
}),
|
|
3815
|
+
}), Uo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3816
3816
|
__name: "BsInputField",
|
|
3817
3817
|
props: {
|
|
3818
3818
|
/** Sets the disabled state on input, disabled styles on label. */
|
|
@@ -3873,12 +3873,12 @@ const ln = {
|
|
|
3873
3873
|
}, {
|
|
3874
3874
|
default: D(() => [
|
|
3875
3875
|
V(r.$slots, "label", {}, () => [
|
|
3876
|
-
|
|
3876
|
+
j(A(e.label), 1)
|
|
3877
3877
|
])
|
|
3878
3878
|
]),
|
|
3879
3879
|
_: 3
|
|
3880
3880
|
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
3881
|
-
P(
|
|
3881
|
+
P(ke, z({
|
|
3882
3882
|
disabled: e.disabled,
|
|
3883
3883
|
error: e.error,
|
|
3884
3884
|
"hint-id": c(n),
|
|
@@ -3889,7 +3889,7 @@ const ln = {
|
|
|
3889
3889
|
value: e.value || e.modelValue,
|
|
3890
3890
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => r.$emit("update:modelValue", g))
|
|
3891
3891
|
}, c(Z)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
|
|
3892
|
-
o.value ? (d(), O(
|
|
3892
|
+
o.value ? (d(), O(ye, {
|
|
3893
3893
|
key: 1,
|
|
3894
3894
|
error: e.error,
|
|
3895
3895
|
"error-msg": e.errorMsg,
|
|
@@ -3925,7 +3925,7 @@ const ln = {
|
|
|
3925
3925
|
X: "🇽",
|
|
3926
3926
|
Y: "🇾",
|
|
3927
3927
|
Z: "🇿"
|
|
3928
|
-
},
|
|
3928
|
+
}, je = {
|
|
3929
3929
|
data: {
|
|
3930
3930
|
allCountries: null,
|
|
3931
3931
|
byCountryCode: null,
|
|
@@ -3951,8 +3951,8 @@ const ln = {
|
|
|
3951
3951
|
* @returns {Country[]} an array of country objects
|
|
3952
3952
|
*/
|
|
3953
3953
|
initSourceData() {
|
|
3954
|
-
return this.data.allCountries || (this.data.allCountries =
|
|
3955
|
-
const a =
|
|
3954
|
+
return this.data.allCountries || (this.data.allCountries = ma().map((e) => {
|
|
3955
|
+
const a = ba(e), t = bt[a[0]] + bt[a[1]] || "";
|
|
3956
3956
|
return {
|
|
3957
3957
|
label: `+${e}`,
|
|
3958
3958
|
flag: t,
|
|
@@ -3966,10 +3966,10 @@ const ln = {
|
|
|
3966
3966
|
this.data[e][t[a]] = t;
|
|
3967
3967
|
}));
|
|
3968
3968
|
}
|
|
3969
|
-
},
|
|
3969
|
+
}, Jn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], _n = { key: 0 }, el = {
|
|
3970
3970
|
"aria-hidden": "true",
|
|
3971
3971
|
style: { width: "1.25rem" }
|
|
3972
|
-
},
|
|
3972
|
+
}, tl = { "aria-hidden": "true" }, Go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3973
3973
|
__name: "BsInputPhone",
|
|
3974
3974
|
props: {
|
|
3975
3975
|
deferValidation: {
|
|
@@ -4031,124 +4031,124 @@ const ln = {
|
|
|
4031
4031
|
"Escape",
|
|
4032
4032
|
"Home",
|
|
4033
4033
|
"Tab"
|
|
4034
|
-
], u =
|
|
4034
|
+
], u = $(null), o = $(1), s = $([]), r = $(null), [
|
|
4035
4035
|
m,
|
|
4036
4036
|
g,
|
|
4037
4037
|
v,
|
|
4038
4038
|
h
|
|
4039
|
-
] = Q(4), y =
|
|
4039
|
+
] = Q(4), y = $(!1), w = $(""), p = $(""), S = $(!1), k = $(!1), I = $(!0);
|
|
4040
4040
|
a({
|
|
4041
4041
|
validationErr: S,
|
|
4042
4042
|
validationErrMsg: p
|
|
4043
4043
|
});
|
|
4044
|
-
const
|
|
4045
|
-
G(
|
|
4046
|
-
n("update:modelValue",
|
|
4044
|
+
const q = f(() => w.value ? `+${o.value}${w.value}` : ""), T = f(() => `Country code: ${o.value}. Click to change.`), L = f(() => I.value ? l.errorMsg || p.value : ""), F = f(() => l.error || S.value), R = f(() => l.hint || F.value && L.value), U = f(() => I.value && F.value);
|
|
4045
|
+
G(q, (M) => {
|
|
4046
|
+
n("update:modelValue", M), W(M);
|
|
4047
4047
|
}), G(() => l.modelValue, _), xe(), X(() => y.value = !0);
|
|
4048
|
-
function _(
|
|
4049
|
-
|
|
4048
|
+
function _(M, Y) {
|
|
4049
|
+
M === "" && M !== Y && (w.value = "");
|
|
4050
4050
|
}
|
|
4051
4051
|
function he() {
|
|
4052
|
-
var
|
|
4053
|
-
k.value && (k.value = !1, (
|
|
4052
|
+
var M;
|
|
4053
|
+
k.value && (k.value = !1, (M = u.value) == null || M.focus());
|
|
4054
4054
|
}
|
|
4055
|
-
function
|
|
4055
|
+
function Se(M) {
|
|
4056
4056
|
var Y;
|
|
4057
|
-
o.value =
|
|
4057
|
+
o.value = M, k.value = !1, (Y = u.value) == null || Y.focus(), E(M);
|
|
4058
4058
|
}
|
|
4059
|
-
function
|
|
4060
|
-
l.deferValidation && (
|
|
4059
|
+
function ve() {
|
|
4060
|
+
l.deferValidation && (I.value = !0), n("input-blur");
|
|
4061
4061
|
}
|
|
4062
|
-
function Ce(
|
|
4063
|
-
|
|
4062
|
+
function Ce(M) {
|
|
4063
|
+
w.value = M.target.value, l.deferValidation && (I.value = !1);
|
|
4064
4064
|
}
|
|
4065
|
-
function se(
|
|
4065
|
+
function se(M) {
|
|
4066
4066
|
var Y, J;
|
|
4067
|
-
!((J = (Y =
|
|
4067
|
+
!((J = (Y = M.key) == null ? void 0 : Y.match) != null && J.call(Y, /[0-9]/)) && !i.includes(M.key) && !M.ctrlKey && !M.metaKey && M.preventDefault();
|
|
4068
4068
|
}
|
|
4069
4069
|
function xe() {
|
|
4070
|
-
|
|
4070
|
+
je.initSourceData(), we(), E(o.value), W(q.value);
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function we() {
|
|
4073
4073
|
var Y, J;
|
|
4074
|
-
let
|
|
4075
|
-
|
|
4074
|
+
let M = ct(l.modelValue);
|
|
4075
|
+
M.valid || M.countryCode && ((J = (Y = l.modelValue) == null ? void 0 : Y.startsWith) != null && J.call(Y, "+")) ? (o.value = M.countryCode, w.value = M.number.significant) : w.value = l.modelValue, s.value = je.data.allCountries.map((Te) => ({
|
|
4076
4076
|
...Te,
|
|
4077
4077
|
isSelected: o.value === Te
|
|
4078
4078
|
}));
|
|
4079
4079
|
}
|
|
4080
|
-
function E(
|
|
4081
|
-
r.value =
|
|
4080
|
+
function E(M) {
|
|
4081
|
+
r.value = je.getCountryByCountryCode(M);
|
|
4082
4082
|
}
|
|
4083
|
-
function
|
|
4084
|
-
S.value =
|
|
4083
|
+
function W(M) {
|
|
4084
|
+
S.value = M ? !ct(M).valid : !1, p.value = S.value ? "Invalid phone number" : "";
|
|
4085
4085
|
}
|
|
4086
|
-
return (
|
|
4086
|
+
return (M, Y) => (d(), b("div", z({
|
|
4087
4087
|
class: "bs-input-phone",
|
|
4088
4088
|
"data-component": "bs-input-phone"
|
|
4089
|
-
}, c(Z)(
|
|
4089
|
+
}, c(Z)(M.$attrs, c(be)).remaining), [
|
|
4090
4090
|
P(ne, {
|
|
4091
|
-
for:
|
|
4091
|
+
for: M.$attrs.id || e.inputId || c(h),
|
|
4092
4092
|
required: e.required,
|
|
4093
4093
|
disabled: e.disabled,
|
|
4094
4094
|
class: le({ "visually-hidden": e.hideLabel })
|
|
4095
4095
|
}, {
|
|
4096
4096
|
default: D(() => [
|
|
4097
|
-
|
|
4097
|
+
j(A(e.label), 1)
|
|
4098
4098
|
]),
|
|
4099
4099
|
_: 1
|
|
4100
4100
|
}, 8, ["for", "required", "disabled", "class"]),
|
|
4101
4101
|
P(De, {
|
|
4102
4102
|
disabled: e.disabled,
|
|
4103
|
-
error:
|
|
4103
|
+
error: U.value,
|
|
4104
4104
|
multifocus: !0,
|
|
4105
4105
|
variant: "inner-bordered"
|
|
4106
4106
|
}, {
|
|
4107
4107
|
default: D(() => {
|
|
4108
4108
|
var J;
|
|
4109
4109
|
return [
|
|
4110
|
-
|
|
4110
|
+
B("button", {
|
|
4111
4111
|
id: c(m),
|
|
4112
4112
|
ref_key: "countryCodesToggle",
|
|
4113
4113
|
ref: u,
|
|
4114
4114
|
"aria-controls": c(g),
|
|
4115
4115
|
"aria-expanded": k.value,
|
|
4116
4116
|
"aria-haspopup": "listbox",
|
|
4117
|
-
"aria-label":
|
|
4117
|
+
"aria-label": T.value,
|
|
4118
4118
|
disabled: e.disabled,
|
|
4119
4119
|
type: "button",
|
|
4120
4120
|
onClick: Y[0] || (Y[0] = (Te) => k.value = !k.value)
|
|
4121
4121
|
}, [
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
P(c(
|
|
4125
|
-
], 8,
|
|
4126
|
-
P(
|
|
4127
|
-
"input-id":
|
|
4122
|
+
B("span", null, A((J = r.value) == null ? void 0 : J.flag), 1),
|
|
4123
|
+
B("span", null, "+" + A(o.value), 1),
|
|
4124
|
+
P(c(Yt), { size: "sm" })
|
|
4125
|
+
], 8, Jn),
|
|
4126
|
+
P(ke, z({
|
|
4127
|
+
"input-id": M.$attrs.id || e.inputId || c(h),
|
|
4128
4128
|
disabled: e.disabled,
|
|
4129
4129
|
"hint-id": c(v),
|
|
4130
4130
|
placeholder: e.placeholder,
|
|
4131
|
-
value:
|
|
4131
|
+
value: w.value,
|
|
4132
4132
|
"data-autowidth": "",
|
|
4133
4133
|
type: "tel"
|
|
4134
|
-
}, c(Z)(
|
|
4134
|
+
}, c(Z)(M.$attrs, c(be)).filtered, {
|
|
4135
4135
|
onInput: Ce,
|
|
4136
|
-
onFocusout:
|
|
4136
|
+
onFocusout: ve,
|
|
4137
4137
|
onKeydown: se
|
|
4138
4138
|
}), null, 16, ["input-id", "disabled", "hint-id", "placeholder", "value"])
|
|
4139
4139
|
];
|
|
4140
4140
|
}),
|
|
4141
4141
|
_: 1
|
|
4142
4142
|
}, 8, ["disabled", "error"]),
|
|
4143
|
-
ue(P(
|
|
4144
|
-
error:
|
|
4143
|
+
ue(P(ye, {
|
|
4144
|
+
error: F.value,
|
|
4145
4145
|
"error-msg": L.value,
|
|
4146
4146
|
hint: e.hint,
|
|
4147
4147
|
"hint-id": c(v)
|
|
4148
4148
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
|
|
4149
|
-
[ce,
|
|
4149
|
+
[ce, R.value]
|
|
4150
4150
|
]),
|
|
4151
|
-
y.value ? (d(), b("div",
|
|
4151
|
+
y.value ? (d(), b("div", _n, [
|
|
4152
4152
|
P(Pt, {
|
|
4153
4153
|
"anchor-id": c(m),
|
|
4154
4154
|
"helper-text": "Country Code",
|
|
@@ -4159,7 +4159,7 @@ const ln = {
|
|
|
4159
4159
|
shown: k.value,
|
|
4160
4160
|
width: "content",
|
|
4161
4161
|
onClose: he,
|
|
4162
|
-
"onUpdate:modelValue":
|
|
4162
|
+
"onUpdate:modelValue": Se
|
|
4163
4163
|
}, {
|
|
4164
4164
|
default: D(() => [
|
|
4165
4165
|
y.value ? (d(!0), b(K, { key: 0 }, te(s.value, (J) => (d(), O(it, {
|
|
@@ -4169,8 +4169,8 @@ const ln = {
|
|
|
4169
4169
|
variant: "2-col"
|
|
4170
4170
|
}, {
|
|
4171
4171
|
default: D(() => [
|
|
4172
|
-
|
|
4173
|
-
|
|
4172
|
+
B("span", el, A(J == null ? void 0 : J.flag), 1),
|
|
4173
|
+
B("span", tl, A(J.label), 1)
|
|
4174
4174
|
]),
|
|
4175
4175
|
_: 2
|
|
4176
4176
|
}, 1032, ["aria-label", "value"]))), 128)) : C("", !0)
|
|
@@ -4180,7 +4180,7 @@ const ln = {
|
|
|
4180
4180
|
])) : C("", !0)
|
|
4181
4181
|
], 16));
|
|
4182
4182
|
}
|
|
4183
|
-
}),
|
|
4183
|
+
}), al = ["data-size", "data-variant"], nl = ["stroke"], ll = { key: 0 }, ht = {
|
|
4184
4184
|
__name: "BsSpinner",
|
|
4185
4185
|
props: {
|
|
4186
4186
|
label: {
|
|
@@ -4207,24 +4207,24 @@ const ln = {
|
|
|
4207
4207
|
viewBox: "0 0 100 100",
|
|
4208
4208
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4209
4209
|
}, [
|
|
4210
|
-
|
|
4211
|
-
|
|
4210
|
+
B("title", null, A(e.label), 1),
|
|
4211
|
+
B("circle", {
|
|
4212
4212
|
cx: "50",
|
|
4213
4213
|
cy: "50",
|
|
4214
4214
|
pathLength: "100",
|
|
4215
4215
|
r: "45",
|
|
4216
4216
|
stroke: e.variant === "gradient" ? "url(#bs-spinner-gradient)" : void 0
|
|
4217
|
-
}, null, 8,
|
|
4218
|
-
e.variant === "gradient" ? (d(), b("defs",
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4217
|
+
}, null, 8, nl),
|
|
4218
|
+
e.variant === "gradient" ? (d(), b("defs", ll, t[0] || (t[0] = [
|
|
4219
|
+
B("linearGradient", { id: "bs-spinner-gradient" }, [
|
|
4220
|
+
B("stop", { offset: "0%" }),
|
|
4221
|
+
B("stop", { offset: "49%" }),
|
|
4222
|
+
B("stop", { offset: "100%" })
|
|
4223
4223
|
], -1)
|
|
4224
4224
|
]))) : C("", !0)
|
|
4225
|
-
], 8,
|
|
4225
|
+
], 8, al));
|
|
4226
4226
|
}
|
|
4227
|
-
},
|
|
4227
|
+
}, ol = ["id"], il = { style: { display: "flex", "justify-content": "center" } }, rl = { style: { display: "flex", "justify-content": "center" } }, Ho = {
|
|
4228
4228
|
__name: "BsInputTypeahead",
|
|
4229
4229
|
props: {
|
|
4230
4230
|
characterThreshold: {
|
|
@@ -4296,30 +4296,30 @@ const ln = {
|
|
|
4296
4296
|
},
|
|
4297
4297
|
emits: ["update:inputValue", "update:optionsValue"],
|
|
4298
4298
|
setup(e, { emit: a }) {
|
|
4299
|
-
const t = e, l = a, n =
|
|
4299
|
+
const t = e, l = a, n = $(!1), i = $(!1), [u] = Q();
|
|
4300
4300
|
let o = [];
|
|
4301
4301
|
G(() => t.inputValue, () => {
|
|
4302
4302
|
i.value ? i.value = !1 : p();
|
|
4303
4303
|
});
|
|
4304
4304
|
const s = f(() => t.typeaheadId || u.value), r = f(() => `${s.value}-input-container`), m = f(() => `${s.value}-input`), g = f(() => `${s.value}-options`), v = f(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), h = f(() => {
|
|
4305
4305
|
if (n.value) {
|
|
4306
|
-
let
|
|
4307
|
-
const L = t.inputValue.toLowerCase(),
|
|
4308
|
-
return t.inputValue.length >= t.characterThreshold && (
|
|
4306
|
+
let T = t.options;
|
|
4307
|
+
const L = t.inputValue.toLowerCase(), F = t.filterType === "includes" ? "includes" : "startsWith";
|
|
4308
|
+
return t.inputValue.length >= t.characterThreshold && (T = y(T, L, F), T = T.slice(0, t.maxOptions), T = w(T, L, F), o = T), T;
|
|
4309
4309
|
} else
|
|
4310
4310
|
return o;
|
|
4311
4311
|
});
|
|
4312
|
-
function y(
|
|
4313
|
-
return t.internalFiltering ?
|
|
4312
|
+
function y(T, L, F) {
|
|
4313
|
+
return t.internalFiltering ? T.filter((R) => R.label.toLowerCase()[F](L)) : T;
|
|
4314
4314
|
}
|
|
4315
|
-
function
|
|
4316
|
-
return
|
|
4317
|
-
let
|
|
4315
|
+
function w(T, L, F) {
|
|
4316
|
+
return T.map((R) => {
|
|
4317
|
+
let U = R.label;
|
|
4318
4318
|
if (L !== "") {
|
|
4319
|
-
const _ =
|
|
4320
|
-
|
|
4319
|
+
const _ = F === "includes" ? "gi" : "i", he = new RegExp(`(${L})`, _);
|
|
4320
|
+
U = R.label.replace(he, '<span style="color: var(--bs-blue-base)">$1</span>');
|
|
4321
4321
|
}
|
|
4322
|
-
return { ...
|
|
4322
|
+
return { ...R, labelHtml: U };
|
|
4323
4323
|
});
|
|
4324
4324
|
}
|
|
4325
4325
|
function p() {
|
|
@@ -4328,34 +4328,34 @@ const ln = {
|
|
|
4328
4328
|
function S() {
|
|
4329
4329
|
l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(m.value).focus();
|
|
4330
4330
|
}
|
|
4331
|
-
function k(
|
|
4331
|
+
function k(T) {
|
|
4332
4332
|
i.value = !0;
|
|
4333
|
-
const L = h.value.find((
|
|
4334
|
-
l("update:inputValue", L.label), l("update:optionsValue",
|
|
4333
|
+
const L = h.value.find((F) => F.value === T);
|
|
4334
|
+
l("update:inputValue", L.label), l("update:optionsValue", T);
|
|
4335
4335
|
}
|
|
4336
|
-
function
|
|
4337
|
-
const L = [...v.value,
|
|
4336
|
+
function I(T) {
|
|
4337
|
+
const L = [...v.value, T];
|
|
4338
4338
|
l("update:optionsValue", L);
|
|
4339
4339
|
}
|
|
4340
|
-
function
|
|
4341
|
-
const L = v.value.filter((
|
|
4340
|
+
function q(T) {
|
|
4341
|
+
const L = v.value.filter((F) => F !== T);
|
|
4342
4342
|
l("update:optionsValue", L);
|
|
4343
4343
|
}
|
|
4344
|
-
return (
|
|
4345
|
-
e.label ||
|
|
4344
|
+
return (T, L) => (d(), b(K, null, [
|
|
4345
|
+
e.label || T.$slots.label ? (d(), O(ne, {
|
|
4346
4346
|
key: 0,
|
|
4347
4347
|
for: m.value,
|
|
4348
4348
|
disabled: e.disabled,
|
|
4349
4349
|
required: e.required
|
|
4350
4350
|
}, {
|
|
4351
4351
|
default: D(() => [
|
|
4352
|
-
V(
|
|
4353
|
-
|
|
4352
|
+
V(T.$slots, "label", {}, () => [
|
|
4353
|
+
j(A(e.label), 1)
|
|
4354
4354
|
])
|
|
4355
4355
|
]),
|
|
4356
4356
|
_: 3
|
|
4357
4357
|
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
4358
|
-
|
|
4358
|
+
B("div", {
|
|
4359
4359
|
id: r.value,
|
|
4360
4360
|
class: "typeahead-search-wrapper"
|
|
4361
4361
|
}, [
|
|
@@ -4372,19 +4372,19 @@ const ln = {
|
|
|
4372
4372
|
placeholder: e.placeholder,
|
|
4373
4373
|
role: "combobox",
|
|
4374
4374
|
value: e.inputValue
|
|
4375
|
-
},
|
|
4375
|
+
}, T.$attrs, {
|
|
4376
4376
|
onClear: S,
|
|
4377
4377
|
onFocusin: p,
|
|
4378
|
-
"onUpdate:modelValue": L[0] || (L[0] = (
|
|
4378
|
+
"onUpdate:modelValue": L[0] || (L[0] = (F) => l("update:inputValue", F))
|
|
4379
4379
|
}), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
|
|
4380
|
-
], 8,
|
|
4380
|
+
], 8, ol),
|
|
4381
4381
|
P(ot, {
|
|
4382
4382
|
"anchor-id": r.value,
|
|
4383
4383
|
preloaded: !0,
|
|
4384
4384
|
shown: n.value,
|
|
4385
4385
|
"use-mobile-style": !1,
|
|
4386
4386
|
width: "toggle",
|
|
4387
|
-
onClose: L[2] || (L[2] = (
|
|
4387
|
+
onClose: L[2] || (L[2] = (F) => n.value = !1)
|
|
4388
4388
|
}, {
|
|
4389
4389
|
default: D(() => [
|
|
4390
4390
|
e.multiselect ? (d(), O(Dt, {
|
|
@@ -4395,13 +4395,13 @@ const ln = {
|
|
|
4395
4395
|
"options-id": g.value,
|
|
4396
4396
|
"selected-options": v.value,
|
|
4397
4397
|
shown: n.value,
|
|
4398
|
-
onCheckOption:
|
|
4399
|
-
onUncheckOption:
|
|
4398
|
+
onCheckOption: I,
|
|
4399
|
+
onUncheckOption: q
|
|
4400
4400
|
}, Ze({ _: 2 }, [
|
|
4401
4401
|
e.loading ? {
|
|
4402
4402
|
name: "no-options",
|
|
4403
4403
|
fn: D(() => [
|
|
4404
|
-
|
|
4404
|
+
B("span", il, [
|
|
4405
4405
|
P(ht, { size: "sm" })
|
|
4406
4406
|
])
|
|
4407
4407
|
]),
|
|
@@ -4409,7 +4409,7 @@ const ln = {
|
|
|
4409
4409
|
} : {
|
|
4410
4410
|
name: "no-options",
|
|
4411
4411
|
fn: D(() => [
|
|
4412
|
-
L[3] || (L[3] =
|
|
4412
|
+
L[3] || (L[3] = j("No results found"))
|
|
4413
4413
|
]),
|
|
4414
4414
|
key: "1"
|
|
4415
4415
|
}
|
|
@@ -4420,14 +4420,14 @@ const ln = {
|
|
|
4420
4420
|
"options-id": g.value,
|
|
4421
4421
|
shown: n.value,
|
|
4422
4422
|
"onUpdate:modelValue": k,
|
|
4423
|
-
onClose: L[1] || (L[1] = (
|
|
4423
|
+
onClose: L[1] || (L[1] = (F) => n.value = !1)
|
|
4424
4424
|
}, {
|
|
4425
4425
|
default: D(() => [
|
|
4426
4426
|
P(qe, { options: h.value }, Ze({ _: 2 }, [
|
|
4427
4427
|
e.loading ? {
|
|
4428
4428
|
name: "no-options",
|
|
4429
4429
|
fn: D(() => [
|
|
4430
|
-
|
|
4430
|
+
B("span", rl, [
|
|
4431
4431
|
P(ht, { size: "sm" })
|
|
4432
4432
|
])
|
|
4433
4433
|
]),
|
|
@@ -4435,7 +4435,7 @@ const ln = {
|
|
|
4435
4435
|
} : {
|
|
4436
4436
|
name: "no-options",
|
|
4437
4437
|
fn: D(() => [
|
|
4438
|
-
L[4] || (L[4] =
|
|
4438
|
+
L[4] || (L[4] = j("No results found"))
|
|
4439
4439
|
]),
|
|
4440
4440
|
key: "1"
|
|
4441
4441
|
}
|
|
@@ -4448,7 +4448,7 @@ const ln = {
|
|
|
4448
4448
|
}, 8, ["anchor-id", "shown"])
|
|
4449
4449
|
], 64));
|
|
4450
4450
|
}
|
|
4451
|
-
},
|
|
4451
|
+
}, sl = ["data-size", "data-variant"], Ko = {
|
|
4452
4452
|
__name: "BsLoader",
|
|
4453
4453
|
props: {
|
|
4454
4454
|
size: {
|
|
@@ -4468,14 +4468,14 @@ const ln = {
|
|
|
4468
4468
|
"data-variant": e.variant,
|
|
4469
4469
|
role: "status"
|
|
4470
4470
|
}, t[0] || (t[0] = [
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
]), 8,
|
|
4471
|
+
B("span", null, null, -1),
|
|
4472
|
+
B("span", null, null, -1),
|
|
4473
|
+
B("span", null, null, -1),
|
|
4474
|
+
B("span", null, null, -1),
|
|
4475
|
+
B("span", { class: "visually-hidden" }, "Loading", -1)
|
|
4476
|
+
]), 8, sl));
|
|
4477
4477
|
}
|
|
4478
|
-
},
|
|
4478
|
+
}, dl = ["data-shown"], ul = {
|
|
4479
4479
|
__name: "BsOverlay",
|
|
4480
4480
|
props: {
|
|
4481
4481
|
shown: {
|
|
@@ -4521,18 +4521,18 @@ const ln = {
|
|
|
4521
4521
|
onAfterLeave: o[1] || (o[1] = (s) => l("after-leave"))
|
|
4522
4522
|
}, {
|
|
4523
4523
|
default: D(() => [
|
|
4524
|
-
|
|
4524
|
+
B("div", {
|
|
4525
4525
|
class: "bs-overlay",
|
|
4526
4526
|
"data-shown": c(n)
|
|
4527
|
-
}, null, 8,
|
|
4527
|
+
}, null, 8, dl)
|
|
4528
4528
|
]),
|
|
4529
4529
|
_: 1
|
|
4530
4530
|
}, 8, ["shown", "preloaded"]));
|
|
4531
4531
|
}
|
|
4532
|
-
},
|
|
4532
|
+
}, cl = ["id", "role", "aria-labelledby", "data-shown", "data-full-width", "data-full-height"], fl = ["id"], pl = {
|
|
4533
4533
|
key: 1,
|
|
4534
4534
|
class: "modal-footer"
|
|
4535
|
-
},
|
|
4535
|
+
}, Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
4536
4536
|
__name: "BsModal",
|
|
4537
4537
|
props: {
|
|
4538
4538
|
modalId: {
|
|
@@ -4587,19 +4587,19 @@ const ln = {
|
|
|
4587
4587
|
setup(e, { emit: a }) {
|
|
4588
4588
|
const t = et(), l = e, n = a, { transition: i } = Ee(l), [u] = Q();
|
|
4589
4589
|
let o = !1;
|
|
4590
|
-
const s =
|
|
4590
|
+
const s = $(null), r = (v) => {
|
|
4591
4591
|
s.value && v.target.closest(".bs-overlay") && n("close", l.modalId);
|
|
4592
4592
|
};
|
|
4593
4593
|
X(() => {
|
|
4594
4594
|
document.addEventListener("click", r);
|
|
4595
|
-
}),
|
|
4595
|
+
}), $e(() => {
|
|
4596
4596
|
document.removeEventListener("click", r);
|
|
4597
4597
|
}), me(["Escape"], () => {
|
|
4598
4598
|
o && n("close", l.modalId);
|
|
4599
4599
|
});
|
|
4600
4600
|
const m = f(() => !l.title && !t.title && l.closeButton), g = f(() => (l.title || t.title) && l.closeButton);
|
|
4601
4601
|
return (v, h) => (d(), b(K, null, [
|
|
4602
|
-
P(
|
|
4602
|
+
P(ul, {
|
|
4603
4603
|
shown: c(i),
|
|
4604
4604
|
preloaded: e.preloaded,
|
|
4605
4605
|
"enter-controlled": e.enterControlled,
|
|
@@ -4612,10 +4612,10 @@ const ln = {
|
|
|
4612
4612
|
shown: c(i),
|
|
4613
4613
|
onAfterEnter: h[1] || (h[1] = (y) => n("after-enter")),
|
|
4614
4614
|
onAfterLeave: h[2] || (h[2] = (y) => n("after-leave")),
|
|
4615
|
-
onEnter: h[3] || (h[3] = (y) =>
|
|
4615
|
+
onEnter: h[3] || (h[3] = (y) => Ut(o) ? o.value = !0 : o = !0)
|
|
4616
4616
|
}, {
|
|
4617
4617
|
default: D(() => [
|
|
4618
|
-
|
|
4618
|
+
B("div", z({
|
|
4619
4619
|
id: e.modalId,
|
|
4620
4620
|
class: "bs-modal",
|
|
4621
4621
|
"data-component": "bs-modal",
|
|
@@ -4641,7 +4641,7 @@ const ln = {
|
|
|
4641
4641
|
key: 0,
|
|
4642
4642
|
id: c(u),
|
|
4643
4643
|
class: "modal-title"
|
|
4644
|
-
},
|
|
4644
|
+
}, A(e.title), 9, fl)) : C("", !0)
|
|
4645
4645
|
]),
|
|
4646
4646
|
e.closeButton ? (d(), b("button", {
|
|
4647
4647
|
key: 0,
|
|
@@ -4651,31 +4651,31 @@ const ln = {
|
|
|
4651
4651
|
class: le({ "full-width-header-close-button": e.fullWidth || e.fullHeight }),
|
|
4652
4652
|
onClick: h[0] || (h[0] = (y) => n("close", e.modalId))
|
|
4653
4653
|
}, [
|
|
4654
|
-
P(c(
|
|
4654
|
+
P(c(Ie), { class: "close-button" })
|
|
4655
4655
|
], 2)) : C("", !0)
|
|
4656
4656
|
], 2)) : C("", !0),
|
|
4657
|
-
|
|
4657
|
+
B("div", null, [
|
|
4658
4658
|
V(v.$slots, "default")
|
|
4659
4659
|
]),
|
|
4660
|
-
v.$slots.footer ? (d(), b("footer",
|
|
4660
|
+
v.$slots.footer ? (d(), b("footer", pl, [
|
|
4661
4661
|
V(v.$slots, "footer")
|
|
4662
4662
|
])) : C("", !0)
|
|
4663
|
-
], 16,
|
|
4663
|
+
], 16, cl)
|
|
4664
4664
|
]),
|
|
4665
4665
|
_: 3
|
|
4666
4666
|
}, 8, ["preloaded", "shown"])
|
|
4667
4667
|
], 64));
|
|
4668
4668
|
}
|
|
4669
|
-
}),
|
|
4669
|
+
}), ml = ["data-variant", "data-fixed"], bl = {
|
|
4670
4670
|
key: 0,
|
|
4671
4671
|
class: "bs-pagination-carets"
|
|
4672
|
-
},
|
|
4672
|
+
}, hl = ["aria-label", "title", "disabled"], vl = { key: 0 }, gl = ["aria-label", "title", "disabled"], yl = { key: 0 }, Sl = {
|
|
4673
4673
|
key: 1,
|
|
4674
4674
|
class: "bs-pagination-page-numbers"
|
|
4675
|
-
},
|
|
4675
|
+
}, wl = ["title", "data-selected", "onClick"], Bl = { key: 2 }, $l = { key: 3 }, Il = { class: "bs-pagination-results-numbers" }, kl = ["data-selected", "disabled", "onClick"], Cl = {
|
|
4676
4676
|
key: 5,
|
|
4677
4677
|
class: "bs-pagination-carets"
|
|
4678
|
-
},
|
|
4678
|
+
}, xl = ["aria-label", "title", "disabled"], Tl = { key: 0 }, Al = ["aria-label", "title", "disabled"], Ol = { key: 0 }, Zo = {
|
|
4679
4679
|
__name: "BsPagination",
|
|
4680
4680
|
props: {
|
|
4681
4681
|
// Used for all
|
|
@@ -4761,9 +4761,9 @@ const ln = {
|
|
|
4761
4761
|
},
|
|
4762
4762
|
emits: ["selchange", "update:modelValue"],
|
|
4763
4763
|
setup(e, { emit: a }) {
|
|
4764
|
-
const t = e, l = a, n =
|
|
4764
|
+
const t = e, l = a, n = $(null);
|
|
4765
4765
|
X(() => {
|
|
4766
|
-
i.value ? n.value = i.value : t.variant === "results" ? n.value =
|
|
4766
|
+
i.value ? n.value = i.value : t.variant === "results" ? n.value = w.value[0] : n.value = 1;
|
|
4767
4767
|
});
|
|
4768
4768
|
const i = f(() => t.modelValue || t.selection);
|
|
4769
4769
|
G(() => t.selection, (p) => {
|
|
@@ -4798,22 +4798,22 @@ const ln = {
|
|
|
4798
4798
|
if (t.pageCount <= t.pageRange)
|
|
4799
4799
|
return [...Array(t.pageCount + 1).keys()].slice(1);
|
|
4800
4800
|
const p = [1], S = (t.pageRange - 1) / 2;
|
|
4801
|
-
let k = n.value - S,
|
|
4802
|
-
k < 1 && (
|
|
4803
|
-
for (let
|
|
4804
|
-
p.push(
|
|
4805
|
-
return
|
|
4801
|
+
let k = n.value - S, I = n.value + S;
|
|
4802
|
+
k < 1 && (I += 1 - k, k = 1), I > t.pageCount && (k -= I - t.pageCount, I = t.pageCount), k = Math.max(k, 2), I = Math.min(I, t.pageCount - 1), k > 2 && p.push(t.breakText);
|
|
4803
|
+
for (let q = k; q <= I; q++)
|
|
4804
|
+
p.push(q);
|
|
4805
|
+
return I < t.pageCount - 1 && p.push(t.breakText), p.push(t.pageCount), p;
|
|
4806
4806
|
}), h = f(() => `${t.centerLabel ?? "Page"} ${n.value} of ${u.value}`), y = f(() => {
|
|
4807
4807
|
const p = (n.value - 1) * t.itemsPerGroup + 1, S = Math.min(p - 1 + t.itemsPerGroup, t.itemsCount);
|
|
4808
4808
|
return `${t.centerLabel ?? "Results"} ${p} - ${S} of ${t.itemsCount}`;
|
|
4809
|
-
}),
|
|
4809
|
+
}), w = f(() => t.resultsIncrements.split(",").map((p) => parseInt(p)));
|
|
4810
4810
|
return (p, S) => (d(), b("div", {
|
|
4811
4811
|
class: "bs-pagination",
|
|
4812
4812
|
"data-component": "bs-pagination",
|
|
4813
4813
|
"data-variant": o.value,
|
|
4814
4814
|
"data-fixed": t.fixed
|
|
4815
4815
|
}, [
|
|
4816
|
-
e.variant === "base" || e.variant === "group" ? (d(), b("div",
|
|
4816
|
+
e.variant === "base" || e.variant === "group" ? (d(), b("div", bl, [
|
|
4817
4817
|
e.showFirstLastButtons ? (d(), b("button", {
|
|
4818
4818
|
key: 0,
|
|
4819
4819
|
type: "button",
|
|
@@ -4823,10 +4823,10 @@ const ln = {
|
|
|
4823
4823
|
disabled: n.value === 1,
|
|
4824
4824
|
onClick: s
|
|
4825
4825
|
}, [
|
|
4826
|
-
P(c(
|
|
4827
|
-
e.firstPageText ? (d(), b("span",
|
|
4828
|
-
], 10,
|
|
4829
|
-
|
|
4826
|
+
P(c(Zt)),
|
|
4827
|
+
e.firstPageText ? (d(), b("span", vl, A(e.firstPageText), 1)) : C("", !0)
|
|
4828
|
+
], 10, hl)) : C("", !0),
|
|
4829
|
+
B("button", {
|
|
4830
4830
|
type: "button",
|
|
4831
4831
|
class: le(e.prevPageText ? "bs-pagination-word-caret" : void 0),
|
|
4832
4832
|
"aria-label": e.prevPageText ? void 0 : "Previous Page",
|
|
@@ -4835,34 +4835,34 @@ const ln = {
|
|
|
4835
4835
|
onClick: r
|
|
4836
4836
|
}, [
|
|
4837
4837
|
P(c(It)),
|
|
4838
|
-
e.prevPageText ? (d(), b("span",
|
|
4839
|
-
], 10,
|
|
4838
|
+
e.prevPageText ? (d(), b("span", yl, A(e.prevPageText), 1)) : C("", !0)
|
|
4839
|
+
], 10, gl)
|
|
4840
4840
|
])) : C("", !0),
|
|
4841
|
-
e.variant === "base" && e.centerDisplay === "numbers" ? (d(), b("div",
|
|
4841
|
+
e.variant === "base" && e.centerDisplay === "numbers" ? (d(), b("div", Sl, [
|
|
4842
4842
|
(d(!0), b(K, null, te(v.value, (k) => (d(), b("button", {
|
|
4843
4843
|
key: `page-${k}-button`,
|
|
4844
4844
|
type: "button",
|
|
4845
4845
|
title: `Page ${k}`,
|
|
4846
4846
|
"data-selected": k === n.value,
|
|
4847
|
-
onClick: (
|
|
4848
|
-
},
|
|
4847
|
+
onClick: (I) => n.value = k
|
|
4848
|
+
}, A(k), 9, wl))), 128))
|
|
4849
4849
|
])) : C("", !0),
|
|
4850
|
-
t.variant === "base" && t.centerDisplay === "text" ? (d(), b("span",
|
|
4851
|
-
t.variant === "group" ? (d(), b("span",
|
|
4850
|
+
t.variant === "base" && t.centerDisplay === "text" ? (d(), b("span", Bl, A(h.value), 1)) : C("", !0),
|
|
4851
|
+
t.variant === "group" ? (d(), b("span", $l, A(y.value), 1)) : C("", !0),
|
|
4852
4852
|
t.variant === "results" ? (d(), b(K, { key: 4 }, [
|
|
4853
|
-
S[0] || (S[0] =
|
|
4854
|
-
|
|
4855
|
-
(d(!0), b(K, null, te(
|
|
4853
|
+
S[0] || (S[0] = B("span", null, "Results Per Page:", -1)),
|
|
4854
|
+
B("div", Il, [
|
|
4855
|
+
(d(!0), b(K, null, te(w.value, (k) => (d(), b("button", {
|
|
4856
4856
|
type: "button",
|
|
4857
4857
|
key: `results-${k}`,
|
|
4858
4858
|
"data-selected": k === n.value,
|
|
4859
4859
|
disabled: n.value === k,
|
|
4860
|
-
onClick: (
|
|
4861
|
-
},
|
|
4860
|
+
onClick: (I) => n.value = k
|
|
4861
|
+
}, A(k), 9, kl))), 128))
|
|
4862
4862
|
])
|
|
4863
4863
|
], 64)) : C("", !0),
|
|
4864
|
-
e.variant === "base" || e.variant === "group" ? (d(), b("div",
|
|
4865
|
-
|
|
4864
|
+
e.variant === "base" || e.variant === "group" ? (d(), b("div", Cl, [
|
|
4865
|
+
B("button", {
|
|
4866
4866
|
type: "button",
|
|
4867
4867
|
class: le(e.nextPageText ? "bs-pagination-word-caret" : void 0),
|
|
4868
4868
|
"aria-label": e.nextPageText ? void 0 : "Next Page",
|
|
@@ -4870,9 +4870,9 @@ const ln = {
|
|
|
4870
4870
|
disabled: n.value === u.value,
|
|
4871
4871
|
onClick: m
|
|
4872
4872
|
}, [
|
|
4873
|
-
e.nextPageText ? (d(), b("span",
|
|
4873
|
+
e.nextPageText ? (d(), b("span", Tl, A(e.nextPageText), 1)) : C("", !0),
|
|
4874
4874
|
P(c($t))
|
|
4875
|
-
], 10,
|
|
4875
|
+
], 10, xl),
|
|
4876
4876
|
e.showFirstLastButtons ? (d(), b("button", {
|
|
4877
4877
|
key: 0,
|
|
4878
4878
|
type: "button",
|
|
@@ -4882,13 +4882,13 @@ const ln = {
|
|
|
4882
4882
|
disabled: n.value === u.value,
|
|
4883
4883
|
onClick: g
|
|
4884
4884
|
}, [
|
|
4885
|
-
e.lastPageText ? (d(), b("span",
|
|
4886
|
-
P(c(
|
|
4887
|
-
], 10,
|
|
4885
|
+
e.lastPageText ? (d(), b("span", Ol, A(e.lastPageText), 1)) : C("", !0),
|
|
4886
|
+
P(c(Xt))
|
|
4887
|
+
], 10, Al)) : C("", !0)
|
|
4888
4888
|
])) : C("", !0)
|
|
4889
|
-
], 8,
|
|
4889
|
+
], 8, ml));
|
|
4890
4890
|
}
|
|
4891
|
-
},
|
|
4891
|
+
}, Vl = ["data-truncate"], Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
4892
4892
|
__name: "BsPill",
|
|
4893
4893
|
props: {
|
|
4894
4894
|
active: { type: Boolean, default: !1 },
|
|
@@ -4923,27 +4923,27 @@ const ln = {
|
|
|
4923
4923
|
".href": c(u)
|
|
4924
4924
|
}, c(i), { onClick: c(t) }), {
|
|
4925
4925
|
default: D(() => [
|
|
4926
|
-
|
|
4926
|
+
B("span", { "data-truncate": e.truncate }, [
|
|
4927
4927
|
V(o.$slots, "default")
|
|
4928
|
-
], 8,
|
|
4928
|
+
], 8, Vl)
|
|
4929
4929
|
]),
|
|
4930
4930
|
_: 3
|
|
4931
4931
|
}, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
|
|
4932
4932
|
}
|
|
4933
|
-
}),
|
|
4933
|
+
}), Ll = {
|
|
4934
4934
|
class: "bs-profile-details",
|
|
4935
4935
|
"data-component": "bs-profile-details"
|
|
4936
|
-
},
|
|
4936
|
+
}, El = {
|
|
4937
4937
|
class: "bs-profile-name",
|
|
4938
4938
|
"data-size": "sm",
|
|
4939
4939
|
"data-weight": "bold"
|
|
4940
|
-
},
|
|
4940
|
+
}, Dl = {
|
|
4941
4941
|
key: 1,
|
|
4942
4942
|
"data-weight": "bold"
|
|
4943
|
-
},
|
|
4943
|
+
}, Pl = { key: 2 }, ql = { key: 3 }, Ml = {
|
|
4944
4944
|
key: 4,
|
|
4945
4945
|
"data-icon": "true"
|
|
4946
|
-
},
|
|
4946
|
+
}, Nl = {
|
|
4947
4947
|
__name: "BsProfileDetails",
|
|
4948
4948
|
props: {
|
|
4949
4949
|
profileName: {
|
|
@@ -4964,7 +4964,7 @@ const ln = {
|
|
|
4964
4964
|
function u(o) {
|
|
4965
4965
|
o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), l("action-toggled"));
|
|
4966
4966
|
}
|
|
4967
|
-
return (o, s) => (d(), b("div",
|
|
4967
|
+
return (o, s) => (d(), b("div", Ll, [
|
|
4968
4968
|
e.action || o.$slots.action ? (d(), b("button", {
|
|
4969
4969
|
key: 0,
|
|
4970
4970
|
"data-icon": "true",
|
|
@@ -4975,25 +4975,25 @@ const ln = {
|
|
|
4975
4975
|
key: 0,
|
|
4976
4976
|
class: "bs-icon"
|
|
4977
4977
|
})) : C("", !0),
|
|
4978
|
-
|
|
4978
|
+
j(" " + A(e.action), 1)
|
|
4979
4979
|
])
|
|
4980
4980
|
])) : C("", !0),
|
|
4981
|
-
|
|
4982
|
-
e.company ? (d(), b("span",
|
|
4983
|
-
e.jobTitle ? (d(), b("span",
|
|
4984
|
-
e.email ? (d(), b("span",
|
|
4985
|
-
e.miscMeta || o.$slots.misc ? (d(), b("span",
|
|
4981
|
+
B("span", El, A(e.profileName), 1),
|
|
4982
|
+
e.company ? (d(), b("span", Dl, A(e.company), 1)) : C("", !0),
|
|
4983
|
+
e.jobTitle ? (d(), b("span", Pl, A(e.jobTitle), 1)) : C("", !0),
|
|
4984
|
+
e.email ? (d(), b("span", ql, A(e.email), 1)) : C("", !0),
|
|
4985
|
+
e.miscMeta || o.$slots.misc ? (d(), b("span", Ml, [
|
|
4986
4986
|
V(o.$slots, "misc", {}, () => [
|
|
4987
4987
|
e.miscMetaIcon ? (d(), O(ae(c(i) ? c(i) : "span"), {
|
|
4988
4988
|
key: 0,
|
|
4989
4989
|
class: "bs-icon"
|
|
4990
4990
|
})) : C("", !0),
|
|
4991
|
-
|
|
4991
|
+
j(" " + A(e.miscMeta), 1)
|
|
4992
4992
|
])
|
|
4993
4993
|
])) : C("", !0)
|
|
4994
4994
|
]));
|
|
4995
4995
|
}
|
|
4996
|
-
},
|
|
4996
|
+
}, Qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
4997
4997
|
__name: "BsProfile",
|
|
4998
4998
|
props: {
|
|
4999
4999
|
layout: {
|
|
@@ -5038,7 +5038,7 @@ const ln = {
|
|
|
5038
5038
|
"profile-name": e.profileName,
|
|
5039
5039
|
"use-alt-text": !1
|
|
5040
5040
|
}, null, 8, ["src", "size", "initials", "profile-name"]),
|
|
5041
|
-
P(
|
|
5041
|
+
P(Nl, {
|
|
5042
5042
|
"profile-name": e.profileName,
|
|
5043
5043
|
company: e.company,
|
|
5044
5044
|
"job-title": e.jobTitle,
|
|
@@ -5087,7 +5087,7 @@ function qt(e) {
|
|
|
5087
5087
|
getStatus: l
|
|
5088
5088
|
};
|
|
5089
5089
|
}
|
|
5090
|
-
const
|
|
5090
|
+
const zl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Fl = ["data-status"], Jo = {
|
|
5091
5091
|
__name: "BsProgressBar",
|
|
5092
5092
|
props: {
|
|
5093
5093
|
/** @type {Status} */
|
|
@@ -5131,11 +5131,11 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5131
5131
|
key: o.id || o.label,
|
|
5132
5132
|
role: "status"
|
|
5133
5133
|
}, [
|
|
5134
|
-
|
|
5135
|
-
], 8,
|
|
5136
|
-
], 8,
|
|
5134
|
+
B("span", null, A(o.label || o) + " : " + A(c(n)(o.status, s) || "not started"), 1)
|
|
5135
|
+
], 8, Fl))), 128))
|
|
5136
|
+
], 8, zl));
|
|
5137
5137
|
}
|
|
5138
|
-
},
|
|
5138
|
+
}, Rl = ["data-disabled", "data-error", "data-size"], Wl = ["checked", "disabled", "id", "required", "value", "data-error"], _o = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5139
5139
|
__name: "BsRadio",
|
|
5140
5140
|
props: {
|
|
5141
5141
|
label: {
|
|
@@ -5187,7 +5187,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5187
5187
|
"data-error": e.error,
|
|
5188
5188
|
"data-size": e.size
|
|
5189
5189
|
}, c(Z)(o.$attrs, n.value).remaining), [
|
|
5190
|
-
|
|
5190
|
+
B("input", z({
|
|
5191
5191
|
checked: u.value,
|
|
5192
5192
|
disabled: e.disabled,
|
|
5193
5193
|
id: o.$attrs.id || i.value,
|
|
@@ -5197,7 +5197,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5197
5197
|
"data-error": e.error
|
|
5198
5198
|
}, c(Z)(o.$attrs, n.value).filtered, {
|
|
5199
5199
|
onChange: s[0] || (s[0] = (r) => o.$emit("update:modelValue", r.target.value))
|
|
5200
|
-
}), null, 16,
|
|
5200
|
+
}), null, 16, Wl),
|
|
5201
5201
|
e.label || o.$slots.label ? (d(), O(ne, {
|
|
5202
5202
|
key: 0,
|
|
5203
5203
|
for: o.$attrs.id || i.value,
|
|
@@ -5206,14 +5206,14 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5206
5206
|
}, {
|
|
5207
5207
|
default: D(() => [
|
|
5208
5208
|
V(o.$slots, "label", {}, () => [
|
|
5209
|
-
|
|
5209
|
+
j(A(e.label), 1)
|
|
5210
5210
|
])
|
|
5211
5211
|
]),
|
|
5212
5212
|
_: 3
|
|
5213
5213
|
}, 8, ["for", "disabled", "required"])) : C("", !0)
|
|
5214
|
-
], 16,
|
|
5214
|
+
], 16, Rl));
|
|
5215
5215
|
}
|
|
5216
|
-
}),
|
|
5216
|
+
}), jl = ["id", "disabled", "required", "data-error", "value"], Ul = {
|
|
5217
5217
|
__name: "BsSelect",
|
|
5218
5218
|
props: {
|
|
5219
5219
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -5239,9 +5239,9 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5239
5239
|
onChange: i[0] || (i[0] = (u) => n.$emit("update:modelValue", u.target.value))
|
|
5240
5240
|
}), [
|
|
5241
5241
|
V(n.$slots, "default")
|
|
5242
|
-
], 16,
|
|
5242
|
+
], 16, jl));
|
|
5243
5243
|
}
|
|
5244
|
-
},
|
|
5244
|
+
}, Gl = ["selected", "disabled"], Hl = ["disabled", "selected", "value"], ei = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5245
5245
|
__name: "BsSelectField",
|
|
5246
5246
|
props: {
|
|
5247
5247
|
data: {
|
|
@@ -5285,7 +5285,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5285
5285
|
modelValue: [String, Number]
|
|
5286
5286
|
},
|
|
5287
5287
|
setup(e) {
|
|
5288
|
-
const a = e, [t, l] = Q(2), n = f(() =>
|
|
5288
|
+
const a = e, [t, l] = Q(2), n = f(() => Ra.concat(a.passAttrs.split(","))), i = f(() => {
|
|
5289
5289
|
var r, m;
|
|
5290
5290
|
return ((m = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : m.call(r, `
|
|
5291
5291
|
`)) || a.hints;
|
|
@@ -5299,12 +5299,12 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5299
5299
|
}, {
|
|
5300
5300
|
default: D(() => [
|
|
5301
5301
|
V(r.$slots, "label", {}, () => [
|
|
5302
|
-
|
|
5302
|
+
j(A(e.label), 1)
|
|
5303
5303
|
])
|
|
5304
5304
|
]),
|
|
5305
5305
|
_: 3
|
|
5306
5306
|
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
5307
|
-
P(
|
|
5307
|
+
P(Ul, z({
|
|
5308
5308
|
disabled: e.disabled,
|
|
5309
5309
|
error: e.error,
|
|
5310
5310
|
"hint-id": c(l),
|
|
@@ -5314,21 +5314,21 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5314
5314
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => r.$emit("update:modelValue", g))
|
|
5315
5315
|
}, c(Z)(r.$attrs, n.value).filtered), {
|
|
5316
5316
|
default: D(() => [
|
|
5317
|
-
|
|
5317
|
+
B("option", {
|
|
5318
5318
|
selected: !s.value,
|
|
5319
5319
|
value: "",
|
|
5320
5320
|
disabled: !!s.value
|
|
5321
|
-
},
|
|
5321
|
+
}, A(e.disabled ? "" : e.placeholder), 9, Gl),
|
|
5322
5322
|
(d(!0), b(K, null, te(e.data, (g) => (d(), b("option", {
|
|
5323
5323
|
key: g.value,
|
|
5324
5324
|
disabled: g.disabled,
|
|
5325
5325
|
selected: s.value === g.value,
|
|
5326
5326
|
value: g.value
|
|
5327
|
-
},
|
|
5327
|
+
}, A(g.label), 9, Hl))), 128))
|
|
5328
5328
|
]),
|
|
5329
5329
|
_: 1
|
|
5330
5330
|
}, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
|
|
5331
|
-
u.value ? (d(), O(
|
|
5331
|
+
u.value ? (d(), O(ye, {
|
|
5332
5332
|
key: 1,
|
|
5333
5333
|
"data-disabled": e.disabled,
|
|
5334
5334
|
error: e.error,
|
|
@@ -5338,7 +5338,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5338
5338
|
}, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
|
|
5339
5339
|
], 16));
|
|
5340
5340
|
}
|
|
5341
|
-
}),
|
|
5341
|
+
}), Kl = ["id", "name", "value"], Yl = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5342
5342
|
__name: "BsSelectWithDropdown",
|
|
5343
5343
|
props: {
|
|
5344
5344
|
breakout: {
|
|
@@ -5414,7 +5414,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5414
5414
|
},
|
|
5415
5415
|
emits: ["update:model-value"],
|
|
5416
5416
|
setup(e, { emit: a }) {
|
|
5417
|
-
const t = e, l = a, [n, i] = Q(2), u = re(), o =
|
|
5417
|
+
const t = e, l = a, [n, i] = Q(2), u = re(), o = $(!1), s = f(() => t.selectId || u.id || n.value), r = f(() => t.optionsId || i.value), m = f(() => {
|
|
5418
5418
|
if (t.modelValue) {
|
|
5419
5419
|
const v = t.options.find((h) => h.value === t.modelValue);
|
|
5420
5420
|
return v ? v.label : t.placeholder;
|
|
@@ -5430,7 +5430,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5430
5430
|
}, {
|
|
5431
5431
|
default: D(() => [
|
|
5432
5432
|
V(v.$slots, "label", {}, () => [
|
|
5433
|
-
|
|
5433
|
+
j(A(e.label), 1)
|
|
5434
5434
|
])
|
|
5435
5435
|
]),
|
|
5436
5436
|
_: 3
|
|
@@ -5441,7 +5441,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5441
5441
|
name: e.inputName,
|
|
5442
5442
|
type: "hidden",
|
|
5443
5443
|
value: e.modelValue
|
|
5444
|
-
}, null, 8,
|
|
5444
|
+
}, null, 8, Kl)) : C("", !0),
|
|
5445
5445
|
P(Lt, {
|
|
5446
5446
|
"anchor-id": s.value,
|
|
5447
5447
|
breakout: e.breakout,
|
|
@@ -5459,7 +5459,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5459
5459
|
"onUpdate:selectedOption": h[2] || (h[2] = (y) => l("update:model-value", y))
|
|
5460
5460
|
}, {
|
|
5461
5461
|
toggle: D(() => [
|
|
5462
|
-
|
|
5462
|
+
B("button", z({
|
|
5463
5463
|
"aria-controls": r.value,
|
|
5464
5464
|
"aria-describedby": e.hintId,
|
|
5465
5465
|
"aria-expanded": o.value,
|
|
@@ -5479,18 +5479,18 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5479
5479
|
}, v.$attrs, {
|
|
5480
5480
|
onClick: h[0] || (h[0] = wt((y) => o.value = !o.value, ["prevent"]))
|
|
5481
5481
|
}), [
|
|
5482
|
-
|
|
5482
|
+
B("span", null, A(m.value), 1),
|
|
5483
5483
|
e.disabled ? C("", !0) : (d(), O(c(Me), {
|
|
5484
5484
|
key: 0,
|
|
5485
5485
|
size: "md"
|
|
5486
5486
|
}))
|
|
5487
|
-
], 16,
|
|
5487
|
+
], 16, Yl)
|
|
5488
5488
|
]),
|
|
5489
5489
|
_: 1
|
|
5490
5490
|
}, 8, ["anchor-id", "breakout", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options-id", "options", "selected-option", "toggle-id"])
|
|
5491
5491
|
]));
|
|
5492
5492
|
}
|
|
5493
|
-
}),
|
|
5493
|
+
}), Zl = ["data-disabled", "data-size"], Xl = ["data-disabled", "data-pending", "data-size"], Ql = ["checked", "disabled", "id"], Jl = ["data-inner-on-label", "data-inner-off-label"], ai = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5494
5494
|
__name: "BsSwitch",
|
|
5495
5495
|
props: {
|
|
5496
5496
|
checked: {
|
|
@@ -5551,34 +5551,34 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5551
5551
|
}, {
|
|
5552
5552
|
default: D(() => [
|
|
5553
5553
|
V(s.$slots, "label", {}, () => [
|
|
5554
|
-
|
|
5554
|
+
j(A(e.label), 1)
|
|
5555
5555
|
])
|
|
5556
5556
|
]),
|
|
5557
5557
|
_: 3
|
|
5558
5558
|
}, 8, ["for", "disabled", "hide"])) : C("", !0),
|
|
5559
|
-
|
|
5559
|
+
B("div", {
|
|
5560
5560
|
class: "bs-switch",
|
|
5561
5561
|
"data-disabled": e.disabled,
|
|
5562
5562
|
"data-pending": e.pending,
|
|
5563
5563
|
"data-size": e.size
|
|
5564
5564
|
}, [
|
|
5565
|
-
|
|
5565
|
+
B("input", z({
|
|
5566
5566
|
checked: o.value,
|
|
5567
5567
|
disabled: e.disabled,
|
|
5568
5568
|
id: s.$attrs.id || u.value,
|
|
5569
5569
|
type: "checkbox"
|
|
5570
5570
|
}, c(Z)(s.$attrs, i.value).filtered, {
|
|
5571
5571
|
onChange: r[0] || (r[0] = (m) => l("update:modelValue", m.target.checked))
|
|
5572
|
-
}), null, 16,
|
|
5573
|
-
|
|
5572
|
+
}), null, 16, Ql),
|
|
5573
|
+
B("span", {
|
|
5574
5574
|
"aria-hidden": "true",
|
|
5575
5575
|
"data-inner-on-label": e.innerOnLabel,
|
|
5576
5576
|
"data-inner-off-label": e.innerOffLabel
|
|
5577
|
-
}, null, 8,
|
|
5578
|
-
], 8,
|
|
5579
|
-
], 16,
|
|
5577
|
+
}, null, 8, Jl)
|
|
5578
|
+
], 8, Xl)
|
|
5579
|
+
], 16, Zl));
|
|
5580
5580
|
}
|
|
5581
|
-
}),
|
|
5581
|
+
}), _l = ["aria-controls", "aria-selected", "data-hidden"], ni = {
|
|
5582
5582
|
__name: "BsTab",
|
|
5583
5583
|
props: {
|
|
5584
5584
|
activeTabId: {
|
|
@@ -5595,7 +5595,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5595
5595
|
},
|
|
5596
5596
|
emits: ["tabClick"],
|
|
5597
5597
|
setup(e, { emit: a }) {
|
|
5598
|
-
const t = e, l = re(), n =
|
|
5598
|
+
const t = e, l = re(), n = $(), i = f(() => t.activeTabId === l.id), u = f(() => t.panelId || `${l.id}-panel`);
|
|
5599
5599
|
function o(r) {
|
|
5600
5600
|
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
|
|
5601
5601
|
}
|
|
@@ -5618,9 +5618,9 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5618
5618
|
onKeydown: o
|
|
5619
5619
|
}, [
|
|
5620
5620
|
V(r.$slots, "default")
|
|
5621
|
-
], 40,
|
|
5621
|
+
], 40, _l));
|
|
5622
5622
|
}
|
|
5623
|
-
},
|
|
5623
|
+
}, eo = ["id", "data-resizing"], to = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], ao = 73, no = 20, Ue = 16, li = {
|
|
5624
5624
|
__name: "BsTabList",
|
|
5625
5625
|
props: {
|
|
5626
5626
|
activeTabId: { type: String, required: !0 },
|
|
@@ -5631,103 +5631,111 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5631
5631
|
},
|
|
5632
5632
|
emits: ["tabChange", "update:modelValue"],
|
|
5633
5633
|
setup(e, { emit: a }) {
|
|
5634
|
-
const t = e, l = a, n =
|
|
5634
|
+
const t = e, l = a, n = $(!1), i = $(!1), u = $([]), o = $(!1), s = $(!1), r = $(), m = $([]), g = $(!1), v = $([]), h = $(), y = $([]), w = $(), p = $(), [S, k] = Q(2);
|
|
5635
|
+
let I;
|
|
5636
|
+
const q = f(() => t.activeTabId ? v.value.findIndex((x) => x.id === t.activeTabId) : 0), T = f(() => u.value.some((x) => x.id === t.activeTabId)), L = f(() => `${k.value}-options`), F = f(() => `${k.value}-toggle`), R = f(() => {
|
|
5635
5637
|
var x;
|
|
5636
|
-
return
|
|
5637
|
-
}),
|
|
5638
|
-
function
|
|
5638
|
+
return T.value ? (x = v.value[q.value]) == null ? void 0 : x.textContent : "More";
|
|
5639
|
+
}), U = f(() => T.value ? m.value[q.value] - m.value[q.value - 1] + no + Ue : ao + Ue);
|
|
5640
|
+
function _() {
|
|
5639
5641
|
var de;
|
|
5640
5642
|
let x = !1, N, H = 0, ee = !1, oe = [];
|
|
5641
5643
|
if ((de = v.value) != null && de.length) {
|
|
5642
5644
|
for (let ie = 0; ie < v.value.length; ie++) {
|
|
5643
|
-
if (N = v.value[ie], N.setAttribute("tabindex", "-1"), ee && ie !==
|
|
5645
|
+
if (N = v.value[ie], N.setAttribute("tabindex", "-1"), ee && ie !== q.value) {
|
|
5644
5646
|
N.dataset.hidden = "true", oe.push(N);
|
|
5645
5647
|
continue;
|
|
5646
5648
|
}
|
|
5647
|
-
if (H = ie < v.value.length - 1 ? p.value -
|
|
5649
|
+
if (H = ie < v.value.length - 1 ? p.value - U.value : p.value, m.value[ie] > H) {
|
|
5648
5650
|
N.dataset.hidden = "true", oe.push(N), x = !0, ee = !0;
|
|
5649
5651
|
continue;
|
|
5650
5652
|
}
|
|
5651
5653
|
N.dataset.hidden = "false", N.setAttribute("tabindex", "0");
|
|
5652
5654
|
}
|
|
5653
|
-
s.value = x, u.value = oe, n.value || Ae(() => n.value = !0), setTimeout(() => {
|
|
5654
|
-
|
|
5655
|
+
s.value = x, u.value = oe, n.value || Ae(() => n.value = !0), I = setTimeout(() => {
|
|
5656
|
+
r.value && (Rt(), Te(), g.value = !0);
|
|
5655
5657
|
}, g.value ? 25 : 1e3);
|
|
5656
5658
|
}
|
|
5657
5659
|
}
|
|
5658
|
-
function
|
|
5660
|
+
function he() {
|
|
5661
|
+
clearTimeout(I);
|
|
5662
|
+
}
|
|
5663
|
+
function Se() {
|
|
5664
|
+
he(), Mt();
|
|
5665
|
+
}
|
|
5666
|
+
function ve(x) {
|
|
5659
5667
|
l("tabChange", x), l("update:modelValue", x);
|
|
5660
5668
|
}
|
|
5661
|
-
function
|
|
5669
|
+
function Ce(x) {
|
|
5662
5670
|
var ee, oe, de;
|
|
5663
5671
|
const N = (de = (oe = (ee = v.value[x]) == null ? void 0 : ee.getBoundingClientRect) == null ? void 0 : oe.call(ee)) == null ? void 0 : de.width;
|
|
5664
5672
|
return N || (x === 0 ? m.value[0] : m.value[x] - m.value[x - 1]) || 0;
|
|
5665
5673
|
}
|
|
5666
|
-
function
|
|
5674
|
+
function se() {
|
|
5667
5675
|
var x;
|
|
5668
|
-
(x = v.value[
|
|
5676
|
+
(x = v.value[q.value]) == null || x.setAttribute("aria-selected", "true"), _();
|
|
5669
5677
|
}
|
|
5670
|
-
function
|
|
5678
|
+
function xe() {
|
|
5671
5679
|
var x;
|
|
5672
5680
|
(x = h.value) == null || x.focus(), o.value = !1;
|
|
5673
5681
|
}
|
|
5674
|
-
function
|
|
5682
|
+
function we() {
|
|
5675
5683
|
o.value = !o.value, i.value || (i.value = !0);
|
|
5676
5684
|
}
|
|
5677
|
-
function
|
|
5685
|
+
function E(x) {
|
|
5678
5686
|
var N;
|
|
5679
|
-
o.value = !1, (N = h.value) == null || N.focus(),
|
|
5687
|
+
o.value = !1, (N = h.value) == null || N.focus(), ve(x);
|
|
5680
5688
|
}
|
|
5681
|
-
function
|
|
5689
|
+
function W(x) {
|
|
5682
5690
|
if (t.withBsTabs) return;
|
|
5683
5691
|
const N = x.target.closest('[role="tab"]');
|
|
5684
5692
|
if (!N || N.getAttribute("aria-selected") === "true") return;
|
|
5685
5693
|
const H = N.getAttribute("id");
|
|
5686
|
-
|
|
5694
|
+
ve(H);
|
|
5687
5695
|
}
|
|
5688
|
-
function
|
|
5696
|
+
function M(x) {
|
|
5689
5697
|
if (x.key === "ArrowLeft" || x.key === "ArrowRight") {
|
|
5690
5698
|
const N = y.value.findIndex((H) => H.id === x.target.id);
|
|
5691
5699
|
if (N === -1) return;
|
|
5692
|
-
x.preventDefault(), x.stopPropagation(), x.key === "ArrowLeft" ?
|
|
5700
|
+
x.preventDefault(), x.stopPropagation(), x.key === "ArrowLeft" ? J(N) : Y(N);
|
|
5693
5701
|
}
|
|
5694
5702
|
}
|
|
5695
|
-
function
|
|
5703
|
+
function Y(x) {
|
|
5696
5704
|
var H;
|
|
5697
5705
|
const N = (x + 1) % y.value.length;
|
|
5698
5706
|
(H = y.value[N]) == null || H.focus();
|
|
5699
5707
|
}
|
|
5700
|
-
function
|
|
5708
|
+
function J(x) {
|
|
5701
5709
|
var H;
|
|
5702
5710
|
const N = x === 0 ? y.value.length - 1 : x - 1;
|
|
5703
5711
|
(H = y.value[N]) == null || H.focus();
|
|
5704
5712
|
}
|
|
5705
|
-
function
|
|
5713
|
+
function Te() {
|
|
5706
5714
|
var de, ie, rt, st;
|
|
5707
5715
|
const x = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = p.value;
|
|
5708
|
-
let H = 300, ee = ((ie = (de = y.value) == null ? void 0 : de[
|
|
5709
|
-
s.value &&
|
|
5716
|
+
let H = 300, ee = ((ie = (de = y.value) == null ? void 0 : de[q.value]) == null ? void 0 : ie.offsetLeft) || 0, oe = Ce(q.value);
|
|
5717
|
+
s.value && T.value && (ee = (rt = h.value) == null ? void 0 : rt.offsetLeft, oe = (st = h.value) == null ? void 0 : st.offsetWidth), H = Math.max(Math.abs((ee - x) / N * 300), 100), r.value.style.setProperty("--active-line-max-width", `${N}px`), r.value.style.setProperty("--active-line-scale", `${oe / N}`), r.value.style.setProperty("--active-line-offset", `${ee}px`), r.value.style.setProperty("--active-line-transition-duration", `${H}ms`);
|
|
5710
5718
|
}
|
|
5711
|
-
function
|
|
5719
|
+
function Mt() {
|
|
5712
5720
|
var x, N;
|
|
5713
|
-
(N = (x =
|
|
5721
|
+
(N = (x = w.value) == null ? void 0 : x.disconnect) == null || N.call(x), w.value = null;
|
|
5714
5722
|
}
|
|
5715
|
-
function
|
|
5723
|
+
function Nt() {
|
|
5716
5724
|
const x = Ve(() => {
|
|
5717
|
-
p.value = r.value.clientWidth,
|
|
5725
|
+
p.value = r.value.clientWidth, _();
|
|
5718
5726
|
}, 25);
|
|
5719
|
-
|
|
5727
|
+
w.value = new ResizeObserver(x), w.value.observe(document.body), r.value && w.value.observe(r.value);
|
|
5720
5728
|
}
|
|
5721
|
-
function
|
|
5729
|
+
function zt() {
|
|
5722
5730
|
v.value = Array.from(r.value.children).filter((x) => x.role === "tab");
|
|
5723
5731
|
}
|
|
5724
|
-
function
|
|
5732
|
+
function Ft() {
|
|
5725
5733
|
let x;
|
|
5726
5734
|
v.value.forEach((N, H) => {
|
|
5727
5735
|
x = N.getBoundingClientRect().width + Ue, m.value.push(H ? x + m.value[H - 1] : x);
|
|
5728
5736
|
});
|
|
5729
5737
|
}
|
|
5730
|
-
function
|
|
5738
|
+
function Rt() {
|
|
5731
5739
|
var N, H;
|
|
5732
5740
|
let x = [];
|
|
5733
5741
|
if (typeof window > "u") return x;
|
|
@@ -5737,14 +5745,14 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5737
5745
|
}
|
|
5738
5746
|
s.value && x.push(r.value.querySelector(".bs-tab-list-toggle")), y.value = x;
|
|
5739
5747
|
}
|
|
5740
|
-
return G(() => t.activeTabId,
|
|
5748
|
+
return G(() => t.activeTabId, se), X(() => {
|
|
5741
5749
|
var x;
|
|
5742
5750
|
try {
|
|
5743
|
-
|
|
5751
|
+
zt(), Ft(), Nt(), p.value = r.value.getBoundingClientRect().width, _(), t.withBsTabs || (x = v.value[q.value]) == null || x.setAttribute("aria-selected", "true");
|
|
5744
5752
|
} catch (N) {
|
|
5745
5753
|
console.log("tab error", N);
|
|
5746
5754
|
}
|
|
5747
|
-
}),
|
|
5755
|
+
}), $e(Se), (x, N) => (d(), b("div", {
|
|
5748
5756
|
class: "bs-tab-list",
|
|
5749
5757
|
"data-component": "bs-tab-list",
|
|
5750
5758
|
id: x.$attrs.id || c(S),
|
|
@@ -5752,57 +5760,56 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5752
5760
|
ref: r,
|
|
5753
5761
|
role: "tablist",
|
|
5754
5762
|
"data-resizing": !n.value || void 0,
|
|
5755
|
-
onClick:
|
|
5756
|
-
"on:tabClick": N[0] || (N[0] = (H) =>
|
|
5757
|
-
onKeydown:
|
|
5763
|
+
onClick: W,
|
|
5764
|
+
"on:tabClick": N[0] || (N[0] = (H) => ve(H.detail)),
|
|
5765
|
+
onKeydown: M
|
|
5758
5766
|
}, [
|
|
5759
5767
|
V(x.$slots, "default"),
|
|
5760
|
-
|
|
5768
|
+
B("button", {
|
|
5761
5769
|
"aria-controls": c(k),
|
|
5762
5770
|
"aria-expanded": o.value,
|
|
5763
5771
|
class: "bs-tab-list-toggle",
|
|
5764
|
-
"data-active":
|
|
5772
|
+
"data-active": T.value || void 0,
|
|
5765
5773
|
"data-hidden": !s.value,
|
|
5766
|
-
id:
|
|
5774
|
+
id: F.value,
|
|
5767
5775
|
ref_key: "dropdownToggle",
|
|
5768
5776
|
ref: h,
|
|
5769
|
-
onClick:
|
|
5777
|
+
onClick: we
|
|
5770
5778
|
}, [
|
|
5771
|
-
P(c(
|
|
5772
|
-
|
|
5773
|
-
], 8,
|
|
5779
|
+
P(c(Qt), { size: "sm" }),
|
|
5780
|
+
j(" " + A(R.value), 1)
|
|
5781
|
+
], 8, to),
|
|
5774
5782
|
P(Pt, {
|
|
5775
|
-
"anchor-id":
|
|
5776
|
-
breakout: "",
|
|
5783
|
+
"anchor-id": F.value,
|
|
5777
5784
|
"container-id": x.$attrs.id || c(S),
|
|
5778
5785
|
"helper-description": e.helperDescription || void 0,
|
|
5779
5786
|
"helper-text": e.helperText,
|
|
5780
5787
|
id: c(k),
|
|
5781
|
-
"options-id":
|
|
5788
|
+
"options-id": L.value,
|
|
5782
5789
|
position: "right",
|
|
5783
5790
|
preloaded: "",
|
|
5784
5791
|
shown: o.value,
|
|
5785
5792
|
width: "content",
|
|
5786
|
-
onClose:
|
|
5787
|
-
"onUpdate:modelValue":
|
|
5793
|
+
onClose: xe,
|
|
5794
|
+
"onUpdate:modelValue": E
|
|
5788
5795
|
}, {
|
|
5789
5796
|
default: D(() => [
|
|
5790
5797
|
(d(!0), b(K, null, te(u.value, (H) => (d(), O(it, {
|
|
5791
5798
|
key: H.id,
|
|
5792
5799
|
value: H.id,
|
|
5793
|
-
"options-id":
|
|
5800
|
+
"options-id": L.value
|
|
5794
5801
|
}, {
|
|
5795
5802
|
default: D(() => [
|
|
5796
|
-
|
|
5803
|
+
j(A(H.textContent), 1)
|
|
5797
5804
|
]),
|
|
5798
5805
|
_: 2
|
|
5799
5806
|
}, 1032, ["value", "options-id"]))), 128))
|
|
5800
5807
|
]),
|
|
5801
5808
|
_: 1
|
|
5802
5809
|
}, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
|
|
5803
|
-
], 40,
|
|
5810
|
+
], 40, eo));
|
|
5804
5811
|
}
|
|
5805
|
-
},
|
|
5812
|
+
}, lo = ["aria-labelledby", "data-active", "id"], oi = {
|
|
5806
5813
|
__name: "BsTabPanel",
|
|
5807
5814
|
props: {
|
|
5808
5815
|
activeTabId: {
|
|
@@ -5824,9 +5831,9 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5824
5831
|
role: "tabpanel"
|
|
5825
5832
|
}, [
|
|
5826
5833
|
V(i.$slots, "default")
|
|
5827
|
-
], 8,
|
|
5834
|
+
], 8, lo));
|
|
5828
5835
|
}
|
|
5829
|
-
},
|
|
5836
|
+
}, oo = ["data-error", "id", "rows", "value"], io = {
|
|
5830
5837
|
__name: "BsTextarea",
|
|
5831
5838
|
props: {
|
|
5832
5839
|
error: {
|
|
@@ -5850,9 +5857,9 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5850
5857
|
rows: n.$attrs.rows || 6,
|
|
5851
5858
|
value: e.value || e.modelValue,
|
|
5852
5859
|
onInput: i[0] || (i[0] = (u) => n.$emit("update:modelValue", u.target.value))
|
|
5853
|
-
}, l.value), null, 16,
|
|
5860
|
+
}, l.value), null, 16, oo));
|
|
5854
5861
|
}
|
|
5855
|
-
},
|
|
5862
|
+
}, ii = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5856
5863
|
__name: "BsTextareaField",
|
|
5857
5864
|
props: {
|
|
5858
5865
|
/** 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. */
|
|
@@ -5901,7 +5908,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5901
5908
|
},
|
|
5902
5909
|
emits: ["update:modelValue"],
|
|
5903
5910
|
setup(e, { emit: a }) {
|
|
5904
|
-
const t = e, [l, n] = Q(2), i = f(() =>
|
|
5911
|
+
const t = e, [l, n] = Q(2), i = f(() => Wa.concat(t.passAttrs.split(","))), u = f(() => {
|
|
5905
5912
|
var m;
|
|
5906
5913
|
return ((m = t.value || t.modelValue) == null ? void 0 : m.length) || 0;
|
|
5907
5914
|
}), o = f(() => {
|
|
@@ -5918,12 +5925,12 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5918
5925
|
}, {
|
|
5919
5926
|
default: D(() => [
|
|
5920
5927
|
V(m.$slots, "label", {}, () => [
|
|
5921
|
-
|
|
5928
|
+
j(A(e.label), 1)
|
|
5922
5929
|
])
|
|
5923
5930
|
]),
|
|
5924
5931
|
_: 3
|
|
5925
5932
|
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
5926
|
-
P(
|
|
5933
|
+
P(io, z({
|
|
5927
5934
|
disabled: e.disabled,
|
|
5928
5935
|
error: e.error,
|
|
5929
5936
|
"hint-id": c(n),
|
|
@@ -5934,7 +5941,7 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5934
5941
|
value: e.value || e.modelValue,
|
|
5935
5942
|
"onUpdate:modelValue": g[0] || (g[0] = (v) => m.$emit("update:modelValue", v))
|
|
5936
5943
|
}, c(Z)(m.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
|
|
5937
|
-
s.value || e.charMax ? (d(), O(
|
|
5944
|
+
s.value || e.charMax ? (d(), O(ye, {
|
|
5938
5945
|
key: 1,
|
|
5939
5946
|
"char-count": u.value,
|
|
5940
5947
|
"char-max": e.charMax,
|
|
@@ -5947,23 +5954,23 @@ const ql = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ml = ["data-sta
|
|
|
5947
5954
|
], 16));
|
|
5948
5955
|
}
|
|
5949
5956
|
});
|
|
5950
|
-
function
|
|
5957
|
+
function ro(e) {
|
|
5951
5958
|
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);
|
|
5952
5959
|
return a ? "uFmt" : t ? "uFmtNoColon" : l ? "amPm" : n ? "amPmNoColon" : "";
|
|
5953
5960
|
}
|
|
5954
|
-
const
|
|
5955
|
-
function
|
|
5961
|
+
const Be = (e) => parseInt(e, 10);
|
|
5962
|
+
function so(e = "") {
|
|
5956
5963
|
const a = /[^0-9:apmAPM]/g;
|
|
5957
5964
|
let t, l;
|
|
5958
|
-
switch (e = e.replaceAll(a, "").toLowerCase(),
|
|
5965
|
+
switch (e = e.replaceAll(a, "").toLowerCase(), ro(e)) {
|
|
5959
5966
|
case "uFmt":
|
|
5960
5967
|
case "uFmtNoColon":
|
|
5961
|
-
l =
|
|
5968
|
+
l = Be(e.slice(-2)), t = Be(e.slice(0, -2));
|
|
5962
5969
|
break;
|
|
5963
5970
|
case "amPm":
|
|
5964
5971
|
case "amPmNoColon":
|
|
5965
5972
|
const i = e.split(/(a|p|am|pm)/), u = e.includes("p");
|
|
5966
|
-
l =
|
|
5973
|
+
l = Be(i[0].slice(-2)), t = Be(i[0].slice(0, -2)), t < 12 && u && (t += 12), t === 12 && !u && (t = 0), t === 24 && (t = 0);
|
|
5967
5974
|
break;
|
|
5968
5975
|
}
|
|
5969
5976
|
return {
|
|
@@ -5971,17 +5978,17 @@ function oo(e = "") {
|
|
|
5971
5978
|
minutes: l
|
|
5972
5979
|
};
|
|
5973
5980
|
}
|
|
5974
|
-
function
|
|
5981
|
+
function ge(e = "") {
|
|
5975
5982
|
const a = /[^0-9:]/g;
|
|
5976
5983
|
if (e = e.replaceAll(a, ""), !e) return "";
|
|
5977
|
-
const [t, l] = e.split(":"), n =
|
|
5984
|
+
const [t, l] = e.split(":"), n = Be(t), i = Be(l), u = n < 12 ? "AM" : "PM";
|
|
5978
5985
|
return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${u}`;
|
|
5979
5986
|
}
|
|
5980
|
-
function
|
|
5981
|
-
const { hours: a, minutes: t } =
|
|
5987
|
+
function uo(e = "") {
|
|
5988
|
+
const { hours: a, minutes: t } = so(e);
|
|
5982
5989
|
return isNaN(a) || isNaN(t) ? "" : `${a.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
|
|
5983
5990
|
}
|
|
5984
|
-
const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under",
|
|
5991
|
+
const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", co = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5985
5992
|
__name: "BsTimePicker",
|
|
5986
5993
|
props: {
|
|
5987
5994
|
disabled: {
|
|
@@ -6046,21 +6053,21 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6046
6053
|
},
|
|
6047
6054
|
emits: ["update:modelValue"],
|
|
6048
6055
|
setup(e, { expose: a, emit: t }) {
|
|
6049
|
-
const l = e, n = t, i =
|
|
6056
|
+
const l = e, n = t, i = $(ge(l.modelValue)), u = $([]), o = $(""), s = $(!1);
|
|
6050
6057
|
function r() {
|
|
6051
6058
|
const S = [];
|
|
6052
6059
|
let k = !1;
|
|
6053
|
-
for (let
|
|
6054
|
-
for (let
|
|
6055
|
-
const
|
|
6060
|
+
for (let I = 0; I < 24 && !k; I++)
|
|
6061
|
+
for (let q = 0; q < 60; q += l.step) {
|
|
6062
|
+
const T = v(I, q), L = g(T);
|
|
6056
6063
|
if (L !== vt) {
|
|
6057
6064
|
if (L === gt) {
|
|
6058
6065
|
k = !0;
|
|
6059
6066
|
break;
|
|
6060
6067
|
}
|
|
6061
6068
|
S.push({
|
|
6062
|
-
label:
|
|
6063
|
-
value:
|
|
6069
|
+
label: ge(T),
|
|
6070
|
+
value: T
|
|
6064
6071
|
});
|
|
6065
6072
|
}
|
|
6066
6073
|
}
|
|
@@ -6084,25 +6091,25 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6084
6091
|
return S = S.toString().padStart(2, "0"), k = k.toString().padStart(2, "0"), `${S}:${k}`;
|
|
6085
6092
|
}
|
|
6086
6093
|
function h(S) {
|
|
6087
|
-
const k =
|
|
6088
|
-
k === l.modelValue && (i.value =
|
|
6094
|
+
const k = uo(S);
|
|
6095
|
+
k === l.modelValue && (i.value = ge(l.modelValue)), w(k);
|
|
6089
6096
|
}
|
|
6090
6097
|
function y() {
|
|
6091
6098
|
u.value = r();
|
|
6092
6099
|
}
|
|
6093
|
-
function
|
|
6100
|
+
function w(S) {
|
|
6094
6101
|
p(S), n("update:modelValue", S);
|
|
6095
6102
|
}
|
|
6096
6103
|
function p(S) {
|
|
6097
6104
|
switch (m(S)) {
|
|
6098
6105
|
case He:
|
|
6099
|
-
o.value = `Time must be before ${
|
|
6106
|
+
o.value = `Time must be before ${ge(l.maxTime)}`, s.value = !0;
|
|
6100
6107
|
break;
|
|
6101
6108
|
case Ke:
|
|
6102
|
-
o.value = `Time must be after ${
|
|
6109
|
+
o.value = `Time must be after ${ge(l.minTime)}`, s.value = !0;
|
|
6103
6110
|
break;
|
|
6104
6111
|
case Ge:
|
|
6105
|
-
o.value = `The following times are disabled: ${l.disabledTimes.map((
|
|
6112
|
+
o.value = `The following times are disabled: ${l.disabledTimes.map((I) => ge(I)).join(", ")}`, s.value = !0;
|
|
6106
6113
|
break;
|
|
6107
6114
|
default:
|
|
6108
6115
|
o.value = "", s.value = !1;
|
|
@@ -6119,7 +6126,7 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6119
6126
|
() => l.minTime,
|
|
6120
6127
|
() => l.modelValue
|
|
6121
6128
|
], () => p(l.modelValue)), G(() => l.modelValue, (S) => {
|
|
6122
|
-
i.value = l.modelValue ?
|
|
6129
|
+
i.value = l.modelValue ? ge(S) : "";
|
|
6123
6130
|
}), a({
|
|
6124
6131
|
validationErr: s,
|
|
6125
6132
|
validationErrMsg: o
|
|
@@ -6141,7 +6148,7 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6141
6148
|
"onUpdate:modelValue": h
|
|
6142
6149
|
}, null, 8, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "model-value", "options", "placeholder", "required"]));
|
|
6143
6150
|
}
|
|
6144
|
-
}),
|
|
6151
|
+
}), ri = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
6145
6152
|
__name: "BsTimePickerField",
|
|
6146
6153
|
props: {
|
|
6147
6154
|
disabled: {
|
|
@@ -6210,7 +6217,7 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6210
6217
|
},
|
|
6211
6218
|
emits: ["update:modelValue"],
|
|
6212
6219
|
setup(e, { expose: a, emit: t }) {
|
|
6213
|
-
const l = e, [n, i] = Q(2), u =
|
|
6220
|
+
const l = e, [n, i] = Q(2), u = $(null), o = f(() => l.errorMsg || g.value), s = f(() => l.error || v.value), r = f(() => l.inputId || n.value), m = f(() => l.hint || s.value && o.value), g = f(() => {
|
|
6214
6221
|
var h;
|
|
6215
6222
|
return (h = u.value) == null ? void 0 : h.validationErrMsg;
|
|
6216
6223
|
}), v = f(() => {
|
|
@@ -6232,12 +6239,12 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6232
6239
|
}, {
|
|
6233
6240
|
default: D(() => [
|
|
6234
6241
|
V(h.$slots, "label", {}, () => [
|
|
6235
|
-
|
|
6242
|
+
j(A(e.label), 1)
|
|
6236
6243
|
])
|
|
6237
6244
|
]),
|
|
6238
6245
|
_: 3
|
|
6239
6246
|
}, 8, ["for", "disabled", "required"])) : C("", !0),
|
|
6240
|
-
P(
|
|
6247
|
+
P(co, z({
|
|
6241
6248
|
ref_key: "timePicker",
|
|
6242
6249
|
ref: u,
|
|
6243
6250
|
disabled: e.disabled,
|
|
@@ -6255,9 +6262,9 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6255
6262
|
placeholder: e.placeholder,
|
|
6256
6263
|
required: e.required,
|
|
6257
6264
|
step: e.step,
|
|
6258
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
6265
|
+
"onUpdate:modelValue": y[0] || (y[0] = (w) => h.$emit("update:modelValue", w))
|
|
6259
6266
|
}, c(Z)(h.$attrs, c(be)).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"]),
|
|
6260
|
-
ue(P(
|
|
6267
|
+
ue(P(ye, {
|
|
6261
6268
|
error: s.value,
|
|
6262
6269
|
"error-msg": o.value,
|
|
6263
6270
|
hint: e.hint,
|
|
@@ -6267,7 +6274,7 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6267
6274
|
])
|
|
6268
6275
|
], 16));
|
|
6269
6276
|
}
|
|
6270
|
-
}),
|
|
6277
|
+
}), fo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], po = ["data-status"], mo = { class: "visually-hidden" }, si = {
|
|
6271
6278
|
__name: "BsTimeline",
|
|
6272
6279
|
props: {
|
|
6273
6280
|
/** @type {Status} */
|
|
@@ -6296,13 +6303,13 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6296
6303
|
},
|
|
6297
6304
|
setup(e) {
|
|
6298
6305
|
const a = e, t = {
|
|
6299
|
-
cancelled:
|
|
6300
|
-
complete:
|
|
6301
|
-
error:
|
|
6302
|
-
"in-progress":
|
|
6306
|
+
cancelled: Jt,
|
|
6307
|
+
complete: _t,
|
|
6308
|
+
error: ea,
|
|
6309
|
+
"in-progress": ta,
|
|
6303
6310
|
"not-started": ut,
|
|
6304
|
-
ongoing:
|
|
6305
|
-
paused:
|
|
6311
|
+
ongoing: aa,
|
|
6312
|
+
paused: na,
|
|
6306
6313
|
warning: kt
|
|
6307
6314
|
}, { progressStep: l, progressText: n, getStatus: i } = qt(a);
|
|
6308
6315
|
function u(o, s) {
|
|
@@ -6326,14 +6333,14 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6326
6333
|
class: "bs-step-icon",
|
|
6327
6334
|
role: "presentation"
|
|
6328
6335
|
})),
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6336
|
+
B("p", null, [
|
|
6337
|
+
j(A(r.label || r) + " ", 1),
|
|
6338
|
+
B("span", mo, " : " + A(c(i)(r.status, m) || "not started"), 1)
|
|
6332
6339
|
])
|
|
6333
|
-
], 8,
|
|
6334
|
-
], 8,
|
|
6340
|
+
], 8, po))), 128))
|
|
6341
|
+
], 8, fo));
|
|
6335
6342
|
}
|
|
6336
|
-
},
|
|
6343
|
+
}, bo = ["data-variant", "data-shown", "data-stacked"], di = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
6337
6344
|
__name: "BsToast",
|
|
6338
6345
|
props: {
|
|
6339
6346
|
shown: {
|
|
@@ -6399,7 +6406,7 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6399
6406
|
onAfterLeave: m[0] || (m[0] = (g) => l("after-leave"))
|
|
6400
6407
|
}, {
|
|
6401
6408
|
default: D(() => [
|
|
6402
|
-
|
|
6409
|
+
B("div", z({
|
|
6403
6410
|
class: "bs-toast",
|
|
6404
6411
|
"data-component": "bs-toast",
|
|
6405
6412
|
"data-variant": e.variant,
|
|
@@ -6408,12 +6415,12 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6408
6415
|
role: "alert"
|
|
6409
6416
|
}, r.$attrs), [
|
|
6410
6417
|
V(r.$slots, "default")
|
|
6411
|
-
], 16,
|
|
6418
|
+
], 16, bo)
|
|
6412
6419
|
]),
|
|
6413
6420
|
_: 3
|
|
6414
6421
|
}, 8, ["shown", "preloaded"]));
|
|
6415
6422
|
}
|
|
6416
|
-
}),
|
|
6423
|
+
}), ho = ["data-stacked"], ui = {
|
|
6417
6424
|
__name: "BsToastActions",
|
|
6418
6425
|
setup(e) {
|
|
6419
6426
|
const a = pe("handleDismiss", () => {
|
|
@@ -6434,28 +6441,28 @@ const Ge = "excluded", He = "over", vt = "skip", gt = "stop", Ke = "under", ro =
|
|
|
6434
6441
|
onClick: c(a)
|
|
6435
6442
|
}, {
|
|
6436
6443
|
default: D(() => n[0] || (n[0] = [
|
|
6437
|
-
|
|
6444
|
+
j(" Dismiss ")
|
|
6438
6445
|
])),
|
|
6439
6446
|
_: 1
|
|
6440
6447
|
}, 8, ["onClick"])
|
|
6441
6448
|
])
|
|
6442
|
-
], 8,
|
|
6449
|
+
], 8, ho));
|
|
6443
6450
|
}
|
|
6444
|
-
},
|
|
6451
|
+
}, vo = (e, a) => {
|
|
6445
6452
|
const t = e.__vccOpts || e;
|
|
6446
6453
|
for (const [l, n] of a)
|
|
6447
6454
|
t[l] = n;
|
|
6448
6455
|
return t;
|
|
6449
|
-
},
|
|
6456
|
+
}, go = {}, yo = {
|
|
6450
6457
|
class: "bs-toast-body",
|
|
6451
6458
|
"data-component": "bs-toast-body"
|
|
6452
6459
|
};
|
|
6453
|
-
function
|
|
6454
|
-
return d(), b("div",
|
|
6460
|
+
function So(e, a) {
|
|
6461
|
+
return d(), b("div", yo, [
|
|
6455
6462
|
V(e.$slots, "default")
|
|
6456
6463
|
]);
|
|
6457
6464
|
}
|
|
6458
|
-
const
|
|
6465
|
+
const ci = /* @__PURE__ */ vo(go, [["render", So]]), wo = ["data-variant"], fi = {
|
|
6459
6466
|
__name: "BsToastHeader",
|
|
6460
6467
|
setup(e) {
|
|
6461
6468
|
const a = pe("variant", void 0), t = f(() => {
|
|
@@ -6463,7 +6470,7 @@ const si = /* @__PURE__ */ mo(bo, [["render", vo]]), go = ["data-variant"], di =
|
|
|
6463
6470
|
case "warning":
|
|
6464
6471
|
return Xe;
|
|
6465
6472
|
case "positive":
|
|
6466
|
-
return
|
|
6473
|
+
return la;
|
|
6467
6474
|
case "negative":
|
|
6468
6475
|
return Xe;
|
|
6469
6476
|
default:
|
|
@@ -6476,22 +6483,22 @@ const si = /* @__PURE__ */ mo(bo, [["render", vo]]), go = ["data-variant"], di =
|
|
|
6476
6483
|
"data-variant": c(a)
|
|
6477
6484
|
}, [
|
|
6478
6485
|
(d(), O(ae(t.value), { class: "bs-toast-header-icon" })),
|
|
6479
|
-
|
|
6486
|
+
B("h5", null, [
|
|
6480
6487
|
V(l.$slots, "default")
|
|
6481
6488
|
])
|
|
6482
|
-
], 8,
|
|
6489
|
+
], 8, wo));
|
|
6483
6490
|
}
|
|
6484
|
-
},
|
|
6491
|
+
}, Bo = {
|
|
6485
6492
|
class: "bs-toaster",
|
|
6486
6493
|
"data-component": "bs-toaster"
|
|
6487
|
-
},
|
|
6494
|
+
}, pi = {
|
|
6488
6495
|
__name: "BsToaster",
|
|
6489
6496
|
setup(e) {
|
|
6490
|
-
return fe("stacked", !0), (a, t) => (d(), b("div",
|
|
6497
|
+
return fe("stacked", !0), (a, t) => (d(), b("div", Bo, [
|
|
6491
6498
|
V(a.$slots, "default")
|
|
6492
6499
|
]));
|
|
6493
6500
|
}
|
|
6494
|
-
},
|
|
6501
|
+
}, $o = ["data-position"], Io = ["id"], mi = {
|
|
6495
6502
|
__name: "BsTooltip",
|
|
6496
6503
|
props: {
|
|
6497
6504
|
tooltipId: {
|
|
@@ -6518,7 +6525,7 @@ const si = /* @__PURE__ */ mo(bo, [["render", vo]]), go = ["data-variant"], di =
|
|
|
6518
6525
|
}
|
|
6519
6526
|
},
|
|
6520
6527
|
setup(e) {
|
|
6521
|
-
const a = e, t =
|
|
6528
|
+
const a = e, t = $(!1), l = $(!1), n = f(() => {
|
|
6522
6529
|
let o = "bs-tooltip-text";
|
|
6523
6530
|
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;
|
|
6524
6531
|
});
|
|
@@ -6546,10 +6553,10 @@ const si = /* @__PURE__ */ mo(bo, [["render", vo]]), go = ["data-variant"], di =
|
|
|
6546
6553
|
class: le(n.value),
|
|
6547
6554
|
id: e.tooltipId,
|
|
6548
6555
|
role: "tooltip"
|
|
6549
|
-
},
|
|
6550
|
-
], 40,
|
|
6556
|
+
}, A(e.content), 11, Io)) : C("", !0)
|
|
6557
|
+
], 40, $o));
|
|
6551
6558
|
}
|
|
6552
|
-
},
|
|
6559
|
+
}, ko = {
|
|
6553
6560
|
accordion: "[data-component=bs-accordion]",
|
|
6554
6561
|
badge: "[data-component=bs-badge]",
|
|
6555
6562
|
banner: "[data-component=bs-banner]",
|
|
@@ -6606,69 +6613,69 @@ const si = /* @__PURE__ */ mo(bo, [["render", vo]]), go = ["data-variant"], di =
|
|
|
6606
6613
|
toastHeader: "[data-component=bs-toast-header]",
|
|
6607
6614
|
toaster: "[data-component=bs-toaster]",
|
|
6608
6615
|
tooltip: "[data-component=bs-tooltip]"
|
|
6609
|
-
},
|
|
6610
|
-
bsSelectors:
|
|
6616
|
+
}, bi = {
|
|
6617
|
+
bsSelectors: ko
|
|
6611
6618
|
};
|
|
6612
6619
|
export {
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6620
|
+
Eo as BsAccordion,
|
|
6621
|
+
Ca as BsBadge,
|
|
6622
|
+
Do as BsBanner,
|
|
6616
6623
|
xt as BsButton,
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6624
|
+
Po as BsCalendar,
|
|
6625
|
+
qo as BsCaretButton,
|
|
6626
|
+
Mo as BsCaretTextButton,
|
|
6627
|
+
No as BsChartBar,
|
|
6628
|
+
zo as BsCheckbox,
|
|
6622
6629
|
Tt as BsCircleButton,
|
|
6623
6630
|
ot as BsDropdown,
|
|
6624
6631
|
Et as BsDropdownCombobox,
|
|
6625
|
-
|
|
6632
|
+
Fo as BsDropdownComboboxField,
|
|
6626
6633
|
Dt as BsDropdownMultiselect,
|
|
6627
6634
|
it as BsDropdownOption,
|
|
6628
6635
|
qe as BsDropdownOptionBuilder,
|
|
6629
6636
|
Re as BsDropdownOptionList,
|
|
6630
6637
|
Pt as BsDropdownWithOptions,
|
|
6631
6638
|
Lt as BsDropdownWithToggle,
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6639
|
+
Ro as BsEmptyState,
|
|
6640
|
+
ye as BsFieldDetails,
|
|
6641
|
+
In as BsFilterButton,
|
|
6642
|
+
Wo as BsFlyout,
|
|
6643
|
+
jo as BsIconGradientWrapper,
|
|
6644
|
+
ke as BsInput,
|
|
6638
6645
|
De as BsInputAddon,
|
|
6639
|
-
|
|
6640
|
-
|
|
6646
|
+
Uo as BsInputField,
|
|
6647
|
+
Go as BsInputPhone,
|
|
6641
6648
|
Vt as BsInputSearch,
|
|
6642
|
-
|
|
6649
|
+
Ho as BsInputTypeahead,
|
|
6643
6650
|
ne as BsLabel,
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
+
Ko as BsLoader,
|
|
6652
|
+
Yo as BsModal,
|
|
6653
|
+
ul as BsOverlay,
|
|
6654
|
+
Zo as BsPagination,
|
|
6655
|
+
Xo as BsPill,
|
|
6656
|
+
Qo as BsProfile,
|
|
6657
|
+
Nl as BsProfileDetails,
|
|
6651
6658
|
Ot as BsProfileImg,
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6659
|
+
Jo as BsProgressBar,
|
|
6660
|
+
_o as BsRadio,
|
|
6661
|
+
Ul as BsSelect,
|
|
6662
|
+
ei as BsSelectField,
|
|
6663
|
+
ti as BsSelectWithDropdown,
|
|
6657
6664
|
ht as BsSpinner,
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6665
|
+
ai as BsSwitch,
|
|
6666
|
+
ni as BsTab,
|
|
6667
|
+
li as BsTabList,
|
|
6668
|
+
oi as BsTabPanel,
|
|
6669
|
+
io as BsTextarea,
|
|
6670
|
+
ii as BsTextareaField,
|
|
6671
|
+
co as BsTimePicker,
|
|
6672
|
+
ri as BsTimePickerField,
|
|
6673
|
+
si as BsTimeline,
|
|
6674
|
+
di as BsToast,
|
|
6675
|
+
ui as BsToastActions,
|
|
6676
|
+
ci as BsToastBody,
|
|
6677
|
+
fi as BsToastHeader,
|
|
6678
|
+
pi as BsToaster,
|
|
6679
|
+
mi as BsTooltip,
|
|
6680
|
+
bi as bsSelectors
|
|
6674
6681
|
};
|