bt-core-app 1.4.625 → 1.4.627
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/dist/bt-core-app.js +91 -85
- package/dist/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -5540,7 +5540,7 @@ function PV(e, t) {
|
|
|
5540
5540
|
function ik(e, t) {
|
|
5541
5541
|
return e != null && Array.isArray(e) && e.length == t;
|
|
5542
5542
|
}
|
|
5543
|
-
function
|
|
5543
|
+
function tt(e, t = 0) {
|
|
5544
5544
|
return e != null && Array.isArray(e) && e.length > t;
|
|
5545
5545
|
}
|
|
5546
5546
|
function $n(e) {
|
|
@@ -5600,10 +5600,10 @@ function _g(e, t = (n) => n) {
|
|
|
5600
5600
|
if (e == null)
|
|
5601
5601
|
return [];
|
|
5602
5602
|
const n = Array.isArray(e) ? e : t(e);
|
|
5603
|
-
return
|
|
5603
|
+
return tt(n) ? [...n.reduce((a, l) => {
|
|
5604
5604
|
a.push(l);
|
|
5605
5605
|
const r = _g(l, t);
|
|
5606
|
-
return
|
|
5606
|
+
return tt(r) && a.push(...r), a;
|
|
5607
5607
|
}, [])] : [];
|
|
5608
5608
|
}
|
|
5609
5609
|
function fk(e) {
|
|
@@ -8856,7 +8856,7 @@ function Pk(e) {
|
|
|
8856
8856
|
if (L == null)
|
|
8857
8857
|
return !1;
|
|
8858
8858
|
let E = L.subscriptions ?? [], P = L.permissions ?? [], H = u(E, P, "view");
|
|
8859
|
-
return H || !V || !
|
|
8859
|
+
return H || !V || !tt(L.children) ? H : ((L == null ? void 0 : L.children) != null && L.children.forEach((N) => {
|
|
8860
8860
|
m(N, !0) && (D = !0);
|
|
8861
8861
|
}), D);
|
|
8862
8862
|
}
|
|
@@ -9945,7 +9945,7 @@ function ux(e) {
|
|
|
9945
9945
|
if (n.value != w) {
|
|
9946
9946
|
n.value = w;
|
|
9947
9947
|
let C = !1, k = !1, S = !1, M = !1;
|
|
9948
|
-
if ($n(n.value) || !
|
|
9948
|
+
if ($n(n.value) || !tt(d(), 4))
|
|
9949
9949
|
C = !0;
|
|
9950
9950
|
else {
|
|
9951
9951
|
const I = d();
|
|
@@ -9982,7 +9982,7 @@ function ux(e) {
|
|
|
9982
9982
|
const E = D.split(",");
|
|
9983
9983
|
E.some((P) => !us.some((H) => H.value == P)) ? C = !0 : v.value = E;
|
|
9984
9984
|
}
|
|
9985
|
-
if (
|
|
9985
|
+
if (tt(I, 5) && e.useLeadTimeLeft) {
|
|
9986
9986
|
const E = I[5].split("-");
|
|
9987
9987
|
if (e.useLeadTimeRight && E.length > 1) {
|
|
9988
9988
|
const P = Number.parseInt(E[1]);
|
|
@@ -10017,7 +10017,7 @@ function ux(e) {
|
|
|
10017
10017
|
if (s.value == "Custom")
|
|
10018
10018
|
return n.value;
|
|
10019
10019
|
let w = "0";
|
|
10020
|
-
return w = en(w, m.value, " "),
|
|
10020
|
+
return w = en(w, m.value, " "), tt(f.value) ? w = en(w, (C = f.value) == null ? void 0 : C.toString(), " ") : w = en(w, "*", " "), tt(h.value) ? w = en(w, (k = h.value) == null ? void 0 : k.toString(), " ") : w = en(w, "*", " "), ((S = v.value) == null ? void 0 : S.length) == 7 ? w = en(w, "*", " ") : w = en(w, (M = v.value) == null ? void 0 : M.toString(), " "), w = en(w, `${c.value}-${u.value}`, " "), n.value = w, n.value;
|
|
10021
10021
|
}
|
|
10022
10022
|
return b(e.value ?? e.defaultExpression ?? t()), {
|
|
10023
10023
|
applyRawExpression: g,
|
|
@@ -10062,7 +10062,7 @@ function cx(e) {
|
|
|
10062
10062
|
return `${y.dateTrigger}|${y.replacingDate ?? ""}|${y.leadTimeLeft.toString()}-${y.leadTimeRight.toString()}`;
|
|
10063
10063
|
}
|
|
10064
10064
|
function m(y) {
|
|
10065
|
-
if (
|
|
10065
|
+
if (tt(y))
|
|
10066
10066
|
return y.filter((d) => d.isAdjusting == !0).map((d) => u(d)).filter((d) => d != null && !d.includes("undefined")).toString();
|
|
10067
10067
|
}
|
|
10068
10068
|
function h(y) {
|
|
@@ -10073,7 +10073,7 @@ function cx(e) {
|
|
|
10073
10073
|
if (y != null && y.includes("undefined"))
|
|
10074
10074
|
return;
|
|
10075
10075
|
const d = y == null ? void 0 : y.split("|");
|
|
10076
|
-
if (
|
|
10076
|
+
if (tt(d, 2)) {
|
|
10077
10077
|
let b = 0, x = 0, w = d[2].split("-");
|
|
10078
10078
|
w.length > 0 && (b = Number.parseInt(w[0])), w.length > 1 && (x = Number.parseInt(w[1]));
|
|
10079
10079
|
let C = d[1].length > 1 ? d[1] : void 0;
|
|
@@ -10147,14 +10147,14 @@ function dx(e) {
|
|
|
10147
10147
|
fileName: h = "data.csv",
|
|
10148
10148
|
format: f = "file"
|
|
10149
10149
|
} = c;
|
|
10150
|
-
if (console.log(u), !
|
|
10150
|
+
if (console.log(u), !tt(u))
|
|
10151
10151
|
return;
|
|
10152
10152
|
let v = [];
|
|
10153
10153
|
m != null && (v = m == null ? void 0 : m.filter((M) => (M.csv ?? M.csvText ?? M.csvFilter ?? M.csvArray) != null).map((M) => ({
|
|
10154
10154
|
header: M.title ?? M.value ?? "",
|
|
10155
10155
|
itemText: M.itemText,
|
|
10156
10156
|
value: M.value
|
|
10157
|
-
}))),
|
|
10157
|
+
}))), tt(v) || (v = Object.keys(u[0]).map((M) => ({ header: ak(M) ?? "", value: M }))), v = v.filter((M) => M.header.length > 0);
|
|
10158
10158
|
var g = [];
|
|
10159
10159
|
for (let M = 0; M < u.length; M++) {
|
|
10160
10160
|
const I = u[M];
|
|
@@ -10164,7 +10164,7 @@ function dx(e) {
|
|
|
10164
10164
|
var b = null;
|
|
10165
10165
|
typeof V.value == "function" ? b = V.value(I) : typeof V.value == "string" && (b = Tn(I, V.value)), V.itemText != null ? y[V.header] = Tn(b, V.itemText) : y[V.header] = b;
|
|
10166
10166
|
}
|
|
10167
|
-
g.push(y),
|
|
10167
|
+
g.push(y), tt(d) && d.forEach((_) => {
|
|
10168
10168
|
g.push(_);
|
|
10169
10169
|
}), d = [];
|
|
10170
10170
|
}
|
|
@@ -10216,9 +10216,9 @@ function dx(e) {
|
|
|
10216
10216
|
if (g != null) {
|
|
10217
10217
|
let C = g.split(`
|
|
10218
10218
|
`);
|
|
10219
|
-
if (
|
|
10219
|
+
if (tt(C)) {
|
|
10220
10220
|
var y = [];
|
|
10221
|
-
|
|
10221
|
+
tt(c == null ? void 0 : c.headers) ? y = c.headers.map((S) => {
|
|
10222
10222
|
var M;
|
|
10223
10223
|
return typeof S == "string" ? M = {
|
|
10224
10224
|
headerName: o(S),
|
|
@@ -10762,8 +10762,10 @@ function aP(e) {
|
|
|
10762
10762
|
};
|
|
10763
10763
|
}
|
|
10764
10764
|
function lP(e, t) {
|
|
10765
|
+
const n = W(e);
|
|
10765
10766
|
return {
|
|
10766
|
-
style: A(() => ur == null ? "" : `height: calc(100vh - ${t == !0 ?
|
|
10767
|
+
style: A(() => ur == null ? "" : `height: calc(100vh - ${t == !0 ? n.value : ur.getUsedHeight(n.value)}px); overflow-y: auto;`),
|
|
10768
|
+
usedHeight: n
|
|
10767
10769
|
};
|
|
10768
10770
|
}
|
|
10769
10771
|
const gx = {
|
|
@@ -12361,7 +12363,7 @@ function si(e, t, n) {
|
|
|
12361
12363
|
kt != null ? ee = ee != null ? `${ee}ANDALSO${kt.filterFunction()}` : kt.filterFunction() : le.push(st);
|
|
12362
12364
|
});
|
|
12363
12365
|
const se = {};
|
|
12364
|
-
return
|
|
12366
|
+
return tt(le) && (se.filterBy = le.toString()), ee != null && (se.query = ee), se;
|
|
12365
12367
|
}), ae = A(() => {
|
|
12366
12368
|
var le, se;
|
|
12367
12369
|
let ee = e.itemID;
|
|
@@ -12369,7 +12371,7 @@ function si(e, t, n) {
|
|
|
12369
12371
|
}), ge = A(() => {
|
|
12370
12372
|
var le;
|
|
12371
12373
|
let ee = e.params != null ? { ...e.params } : {};
|
|
12372
|
-
return e.paginate == "server" && e.itemsPerPage != null && (ee.includeCount = !0, ee.takeAmount = e.itemsPerPage, ee.takeFrom = (w.value - 1) * e.itemsPerPage), Z.value != null && (ee = { ...ee, ...Z.value }), V.value && (ee.includeInactive = !0),
|
|
12374
|
+
return e.paginate == "server" && e.itemsPerPage != null && (ee.includeCount = !0, ee.takeAmount = e.itemsPerPage, ee.takeFrom = (w.value - 1) * e.itemsPerPage), Z.value != null && (ee = { ...ee, ...Z.value }), V.value && (ee.includeInactive = !0), tt(e.selectProps) && (ee.properties = (le = e.selectProps) == null ? void 0 : le.toString()), I.value != null && (ee.searchString = I.value), ee;
|
|
12373
12375
|
}), ye = A(() => (ee) => e.onCanDelete != null ? e.onCanDelete(ee) : !(ee != null && ee.isInactive === !0)), he = A(() => (ee) => V.value ? e.onCanRestore != null ? e.onCanRestore(ee) : (ee == null ? void 0 : ee.isInactive) === !0 : !1), Re = e.onUpdateAsyncItem ?? ((ee, le) => {
|
|
12374
12376
|
ee.hasOwnProperty("rowVersion") && (ee.rowVersion = le.rowVersion), ee.hasOwnProperty("version") && (ee.version = le.version), ee.hasOwnProperty("isDeleted") && (ee.isDeleted = le.isDeleted), ee.hasOwnProperty("isInactive") && (ee.isInactive = le.isInactive);
|
|
12375
12377
|
}), de = A(() => P.value.filter((ee) => !ee.hide)), De = A(() => {
|
|
@@ -12475,7 +12477,7 @@ function si(e, t, n) {
|
|
|
12475
12477
|
return;
|
|
12476
12478
|
}
|
|
12477
12479
|
let ee = e.onFilter ? e.onFilter(D.value) : D.value;
|
|
12478
|
-
if (
|
|
12480
|
+
if (tt(e.localFilters) && d.value.forEach((le) => {
|
|
12479
12481
|
var Ce;
|
|
12480
12482
|
const se = (Ce = e.localFilters) == null ? void 0 : Ce.find((st) => st.name == y.value[le]);
|
|
12481
12483
|
se != null && (se.onFilter != null ? ee = se.onFilter(ee) : se.predicate != null && (ee = ee.filter((st) => se.predicate(st))));
|
|
@@ -12485,7 +12487,7 @@ function si(e, t, n) {
|
|
|
12485
12487
|
}
|
|
12486
12488
|
if (I.value != null && I.value.length > 0) {
|
|
12487
12489
|
let le = [...L.value];
|
|
12488
|
-
e.itemText && le.push(e.itemText),
|
|
12490
|
+
e.itemText && le.push(e.itemText), tt(le) && (ee = ee.filter((se) => hk(se, I.value, le)));
|
|
12489
12491
|
}
|
|
12490
12492
|
if (e.paginate == "local" && $n(I.value) && e.itemsPerPage != null) {
|
|
12491
12493
|
let le = (w.value - 1) * e.itemsPerPage, se = le + e.itemsPerPage;
|
|
@@ -12681,7 +12683,7 @@ function eS() {
|
|
|
12681
12683
|
routeName: ""
|
|
12682
12684
|
}, l.push(u));
|
|
12683
12685
|
let m = [];
|
|
12684
|
-
c.subFilters != null && (Array.isArray(c.subFilters) ? m = c.subFilters : m = [c.subFilters]), (s == null ? void 0 : s.subFilters) != null && !
|
|
12686
|
+
c.subFilters != null && (Array.isArray(c.subFilters) ? m = c.subFilters : m = [c.subFilters]), (s == null ? void 0 : s.subFilters) != null && !tt(m) && (m = Array.isArray(s.subFilters) ? s.subFilters : [s.subFilters]), ($l.currentView.value == null || m == null || m.some((f) => f == "All" || $l.currentView.value == f)) && ((h = u.items) == null || h.push({
|
|
12685
12687
|
displayName: (c == null ? void 0 : c.displayName) ?? t.findDisplay(s ?? void 0),
|
|
12686
12688
|
icon: (c == null ? void 0 : c.icon) ?? t.findIcon(s ?? void 0),
|
|
12687
12689
|
permissions: (c == null ? void 0 : c.permissions) ?? (s == null ? void 0 : s.permissions) ?? [],
|
|
@@ -21126,7 +21128,7 @@ const _i = Se({
|
|
|
21126
21128
|
var D, E, P;
|
|
21127
21129
|
let L = a.label ?? (a.variant == "page" ? (D = s == null ? void 0 : s.meta) == null ? void 0 : D.displayName : void 0) ?? u(a.nav ?? a.bladeName ?? "");
|
|
21128
21130
|
return a.showCount == !0 && ((E = f.filteredItems.value) == null ? void 0 : E.length) != null && ((P = f.asyncItems.value) == null ? void 0 : P.length) != null && (L = `${L} (${f.filteredItems.value.length} of ${f.asyncItems.value.length})`), L;
|
|
21129
|
-
}), k = A(() => a.variant == "dialog" && (a.canSearch ||
|
|
21131
|
+
}), k = A(() => a.variant == "dialog" && (a.canSearch || tt(a.searchProps))), S = A(() => a.variant == "inline" && (a.canSearch || tt(a.searchProps))), M = A(() => {
|
|
21130
21132
|
if (a.actualHeight != null)
|
|
21131
21133
|
return `height: calc(${a.actualHeight})`;
|
|
21132
21134
|
if (a.actualUsedHeight != null)
|
|
@@ -21142,17 +21144,17 @@ const _i = Se({
|
|
|
21142
21144
|
if (a.selectSingle && !Array.isArray(D) && (D = [D]), a.returnIndex && a.returnCSV)
|
|
21143
21145
|
return D.map((P) => Number.parseInt(P));
|
|
21144
21146
|
let E = [];
|
|
21145
|
-
return a.itemValue != null &&
|
|
21147
|
+
return a.itemValue != null && tt(D) ? f.filteredItems.value.forEach((P) => {
|
|
21146
21148
|
const H = i(P, a.itemValue);
|
|
21147
21149
|
D.some((N) => N == H) && E.push(P);
|
|
21148
|
-
}) : a.itemValue == null && E.push(...D), a.selectSingle ?
|
|
21150
|
+
}) : a.itemValue == null && E.push(...D), a.selectSingle ? tt(E) ? [E[0]] : [] : E;
|
|
21149
21151
|
},
|
|
21150
21152
|
set(L) {
|
|
21151
21153
|
if (L == null)
|
|
21152
21154
|
n("update:selected", L), I.value = [];
|
|
21153
21155
|
else {
|
|
21154
21156
|
let D = L;
|
|
21155
|
-
a.returnIndex ? D = L.map((E) => f.filteredItems.value.indexOf((P) => P === E)) : a.itemValue != null && (D = L.map((E) => i(E, a.itemValue))), a.selectSingle ? (D =
|
|
21157
|
+
a.returnIndex ? D = L.map((E) => f.filteredItems.value.indexOf((P) => P === E)) : a.itemValue != null && (D = L.map((E) => i(E, a.itemValue))), a.selectSingle ? (D = tt(D) ? D[0] : void 0, I.value = D != null ? [D] : []) : I.value = D, a.returnCSV && D != null && (D = D.toString()), n("update:selected", D), I.value = D;
|
|
21156
21158
|
}
|
|
21157
21159
|
}
|
|
21158
21160
|
});
|
|
@@ -21327,13 +21329,13 @@ const _i = Se({
|
|
|
21327
21329
|
"hide-on-leave": ""
|
|
21328
21330
|
}, {
|
|
21329
21331
|
default: B(() => [
|
|
21330
|
-
(L.canSearch !== !1 || T(
|
|
21332
|
+
(L.canSearch !== !1 || T(tt)(L.searchProps)) && !T(f).showSearch.value ? ($(), Q(xe, {
|
|
21331
21333
|
icon: "$magnify",
|
|
21332
21334
|
key: "11",
|
|
21333
21335
|
size: L.size,
|
|
21334
21336
|
onClick: T(f).toggleSearch
|
|
21335
21337
|
}, null, 8, ["size", "onClick"])) : X("", !0),
|
|
21336
|
-
(L.canSearch !== !1 || T(
|
|
21338
|
+
(L.canSearch !== !1 || T(tt)(L.searchProps)) && T(f).showSearch.value ? ($(), Q(Mn, {
|
|
21337
21339
|
"onClick:appendInner": T(f).refresh,
|
|
21338
21340
|
"onClick:prependInner": T(f).toggleSearch,
|
|
21339
21341
|
onKeyup: eo(T(f).refresh, ["native", "enter"]),
|
|
@@ -21362,7 +21364,7 @@ const _i = Se({
|
|
|
21362
21364
|
allItems: T(f).asyncItems.value,
|
|
21363
21365
|
size: L.size
|
|
21364
21366
|
}, void 0, !0),
|
|
21365
|
-
!b.value && T(
|
|
21367
|
+
!b.value && T(tt)(T(f).filters.value) ? ($(), Q(fn, {
|
|
21366
21368
|
key: 2,
|
|
21367
21369
|
"close-on-content-click": !1,
|
|
21368
21370
|
density: L.density,
|
|
@@ -21490,7 +21492,7 @@ const _i = Se({
|
|
|
21490
21492
|
allItems: T(f).asyncItems.value,
|
|
21491
21493
|
items: T(f).filteredItems.value
|
|
21492
21494
|
}, void 0, !0),
|
|
21493
|
-
T(
|
|
21495
|
+
T(tt)(T(f).asyncItems.value) ? L.selectSingle || L.selectMulti || L.showListOnly === !0 || N ? ($(), Q(_t, {
|
|
21494
21496
|
key: 2,
|
|
21495
21497
|
"active-class": L.activeClass,
|
|
21496
21498
|
class: Ge(["pt-0", L.scrollY ? "overflow-y-auto" : ""]),
|
|
@@ -22570,7 +22572,7 @@ const _M = Js("v-alert-title"), LM = ["success", "info", "warning", "error"], IM
|
|
|
22570
22572
|
function v() {
|
|
22571
22573
|
var k;
|
|
22572
22574
|
const C = (k = o.value) == null ? void 0 : k.getVideoTracks();
|
|
22573
|
-
|
|
22575
|
+
tt(C) && (C == null || C.forEach((S) => S.stop()));
|
|
22574
22576
|
}
|
|
22575
22577
|
async function g(C) {
|
|
22576
22578
|
s.value != null && (r.value = C, o.value = await navigator.mediaDevices.getUserMedia({
|
|
@@ -26522,7 +26524,7 @@ function dt(e) {
|
|
|
26522
26524
|
function di(e) {
|
|
26523
26525
|
return Xe(e).getSeconds();
|
|
26524
26526
|
}
|
|
26525
|
-
function
|
|
26527
|
+
function nt(e) {
|
|
26526
26528
|
return Xe(e).getFullYear();
|
|
26527
26529
|
}
|
|
26528
26530
|
function fi(e, t) {
|
|
@@ -28466,7 +28468,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
28466
28468
|
seconds: di(e)
|
|
28467
28469
|
}), u1 = (e, t) => {
|
|
28468
28470
|
if (t) {
|
|
28469
|
-
const n =
|
|
28471
|
+
const n = nt(Te(t));
|
|
28470
28472
|
if (n > e)
|
|
28471
28473
|
return 12;
|
|
28472
28474
|
if (n === e)
|
|
@@ -28474,18 +28476,18 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
28474
28476
|
}
|
|
28475
28477
|
}, c1 = (e, t) => {
|
|
28476
28478
|
if (t) {
|
|
28477
|
-
const n =
|
|
28479
|
+
const n = nt(Te(t));
|
|
28478
28480
|
return n < e ? -1 : n === e ? dt(Te(t)) : void 0;
|
|
28479
28481
|
}
|
|
28480
28482
|
}, hi = (e) => {
|
|
28481
28483
|
if (e)
|
|
28482
|
-
return
|
|
28484
|
+
return nt(Te(e));
|
|
28483
28485
|
}, d1 = (e, t) => {
|
|
28484
28486
|
const n = tn(e, t) ? t : e, a = tn(t, e) ? t : e;
|
|
28485
28487
|
return Op({ start: n, end: a });
|
|
28486
28488
|
}, c3 = (e) => {
|
|
28487
28489
|
const t = Va(e, 1);
|
|
28488
|
-
return { month: dt(t), year:
|
|
28490
|
+
return { month: dt(t), year: nt(t) };
|
|
28489
28491
|
}, vl = (e, t) => {
|
|
28490
28492
|
const n = Ba(e, { weekStartsOn: +t }), a = Yp(e, { weekStartsOn: +t });
|
|
28491
28493
|
return [n, a];
|
|
@@ -28502,7 +28504,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
28502
28504
|
}, m1 = (e, t, n, a, l) => {
|
|
28503
28505
|
if (!a || l && !t || !l && !n)
|
|
28504
28506
|
return !1;
|
|
28505
|
-
const r = l ? Va(e, 1) : mi(e, 1), i = [dt(r),
|
|
28507
|
+
const r = l ? Va(e, 1) : mi(e, 1), i = [dt(r), nt(r)];
|
|
28506
28508
|
return l ? !f3(...i, t) : !d3(...i, n);
|
|
28507
28509
|
}, d3 = (e, t, n) => Zt(...zl(n, e, t)) || vt(...zl(n, e, t)), f3 = (e, t, n) => tn(...zl(n, e, t)) || vt(...zl(n, e, t)), v1 = (e, t, n, a, l, r, i) => {
|
|
28508
28510
|
if (typeof t == "function" && !i)
|
|
@@ -28536,7 +28538,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
28536
28538
|
}
|
|
28537
28539
|
const r = Ju(e, a, t);
|
|
28538
28540
|
return Xu(a, r, n, !!t) && l;
|
|
28539
|
-
}, Qu = (e) => Pt(Te(), pr(e)), v3 = (e, t) => e instanceof Map ? Array.from(e.values()).filter((n) =>
|
|
28541
|
+
}, Qu = (e) => Pt(Te(), pr(e)), v3 = (e, t) => e instanceof Map ? Array.from(e.values()).filter((n) => nt(Te(n)) === t).map((n) => dt(n)) : [], h1 = (e, t, n) => typeof e == "function" ? e({ month: t, year: n }) : !!e.months.find((a) => a.month === t && a.year === n), Tf = (e, t) => typeof e == "function" ? e(t) : e.years.includes(t), g1 = (e) => Qa(e, "yyyy-MM-dd"), Ri = Un({
|
|
28540
28542
|
menuFocused: !1,
|
|
28541
28543
|
shiftKeyInMenu: !1
|
|
28542
28544
|
}), y1 = () => {
|
|
@@ -28848,7 +28850,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
28848
28850
|
hours: kl(Y),
|
|
28849
28851
|
minutes: Zl(Y),
|
|
28850
28852
|
seconds: t.enableSeconds ? di(Y) : 0
|
|
28851
|
-
} : null, y = (Y) => t.modelType ? U(Y) : { month: dt(Y), year:
|
|
28853
|
+
} : null, y = (Y) => t.modelType ? U(Y) : { month: dt(Y), year: nt(Y) }, d = (Y) => Array.isArray(Y) ? o.value.enabled ? Y.map((oe) => b(oe, Xa(Te(), oe))) : as(
|
|
28852
28854
|
() => [
|
|
28853
28855
|
Xa(Te(), Y[0]),
|
|
28854
28856
|
Y[1] ? Xa(Te(), Y[1]) : zr(r.value.partialRange)
|
|
@@ -28939,7 +28941,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
28939
28941
|
}, F = (Y, oe) => G(pn(R(Y)), !1, oe), K = (Y) => {
|
|
28940
28942
|
const oe = J();
|
|
28941
28943
|
return Y ? oe : e("update:model-value", J());
|
|
28942
|
-
}, te = (Y = !1) => (Y || j(), t.monthPicker ? F(y, Y) : t.timePicker ? F(g, Y) : t.yearPicker ? F(
|
|
28944
|
+
}, te = (Y = !1) => (Y || j(), t.monthPicker ? F(y, Y) : t.timePicker ? F(g, Y) : t.yearPicker ? F(nt, Y) : t.weekPicker ? K(Y) : G(L(Y), !0, Y));
|
|
28943
28945
|
return {
|
|
28944
28946
|
inputValue: c,
|
|
28945
28947
|
internalModelValue: a,
|
|
@@ -28954,13 +28956,13 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
28954
28956
|
return n.value.months.includes(dt(h)) ? (h = m ? Va(u, 1) : mi(u, 1), r(h, m)) : h;
|
|
28955
28957
|
}, i = (u, m) => {
|
|
28956
28958
|
let h = u;
|
|
28957
|
-
return n.value.years.includes(
|
|
28959
|
+
return n.value.years.includes(nt(h)) ? (h = m ? cf(u, 1) : a1(u, 1), i(h, m)) : h;
|
|
28958
28960
|
}, o = (u, m = !1) => {
|
|
28959
28961
|
const h = Pt(Te(), { month: e.month, year: e.year });
|
|
28960
28962
|
let f = u ? Va(h, 1) : mi(h, 1);
|
|
28961
28963
|
e.disableYearSelect && (f = Xa(f, e.year));
|
|
28962
|
-
let v = dt(f), g =
|
|
28963
|
-
n.value.months.includes(v) && (f = r(f, u), v = dt(f), g =
|
|
28964
|
+
let v = dt(f), g = nt(f);
|
|
28965
|
+
n.value.months.includes(v) && (f = r(f, u), v = dt(f), g = nt(f)), n.value.years.includes(g) && (f = i(f, u), g = nt(f)), l(v, g, u, e.preventMinMaxNavigation) && s(v, g, m);
|
|
28964
28966
|
}, s = (u, m, h) => {
|
|
28965
28967
|
t("update-month-year", { month: u, year: m, fromNav: h });
|
|
28966
28968
|
}, c = A(() => (u) => m1(
|
|
@@ -29649,24 +29651,24 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29649
29651
|
else if (_ === e.value.count - 1 && v())
|
|
29650
29652
|
l.value[_] = {
|
|
29651
29653
|
month: dt(r.value[1]),
|
|
29652
|
-
year:
|
|
29654
|
+
year: nt(r.value[1])
|
|
29653
29655
|
};
|
|
29654
29656
|
else {
|
|
29655
29657
|
const V = Pt(Te(), l.value[_ - 1]);
|
|
29656
|
-
l.value[_] = { month: dt(V), year:
|
|
29658
|
+
l.value[_] = { month: dt(V), year: nt(cf(V, 1)) };
|
|
29657
29659
|
}
|
|
29658
29660
|
}, y = (_) => {
|
|
29659
29661
|
if (!_)
|
|
29660
29662
|
return g();
|
|
29661
29663
|
const V = Pt(Te(), l.value[_]);
|
|
29662
|
-
return l.value[0].year =
|
|
29664
|
+
return l.value[0].year = nt(a1(V, e.value.count - 1)), g();
|
|
29663
29665
|
}, d = (_, V) => {
|
|
29664
29666
|
const L = eA(V, _);
|
|
29665
29667
|
return t.value.showLastInRange && L > 1 ? V : _;
|
|
29666
29668
|
}, b = (_) => i.focusStartDate || e.value.solo ? _[0] : _[1] ? d(_[0], _[1]) : _[0], x = () => {
|
|
29667
29669
|
if (r.value) {
|
|
29668
29670
|
const _ = Array.isArray(r.value) ? b(r.value) : r.value;
|
|
29669
|
-
l.value[0] = { month: dt(_), year:
|
|
29671
|
+
l.value[0] = { month: dt(_), year: nt(_) };
|
|
29670
29672
|
}
|
|
29671
29673
|
}, w = () => {
|
|
29672
29674
|
x(), e.value.count && g();
|
|
@@ -29718,7 +29720,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29718
29720
|
defaultedFilters: u,
|
|
29719
29721
|
defaultedMultiDates: m
|
|
29720
29722
|
} = qt(e), h = () => {
|
|
29721
|
-
e.isTextInputDate && w(
|
|
29723
|
+
e.isTextInputDate && w(nt(Te(e.startDate)), 0);
|
|
29722
29724
|
}, { modelValue: f, year: v, month: g, calendars: y } = No(e, t, h), d = A(() => r1(e.formatLocale, e.locale, e.monthNameFormat)), b = W(null), { checkMinMaxRange: x } = Jl(e), {
|
|
29723
29725
|
selectYear: w,
|
|
29724
29726
|
groupedYears: C,
|
|
@@ -29741,9 +29743,9 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29741
29743
|
emit: t
|
|
29742
29744
|
});
|
|
29743
29745
|
wt(() => {
|
|
29744
|
-
e.startDate && (f.value && e.focusStartDate || !f.value) && w(
|
|
29746
|
+
e.startDate && (f.value && e.focusStartDate || !f.value) && w(nt(Te(e.startDate)), 0);
|
|
29745
29747
|
});
|
|
29746
|
-
const V = (F) => F ? { month: dt(F), year:
|
|
29748
|
+
const V = (F) => F ? { month: dt(F), year: nt(F) } : { month: null, year: null }, L = () => f.value ? Array.isArray(f.value) ? f.value.map((F) => V(F)) : V(f.value) : V(), D = (F, K) => {
|
|
29747
29749
|
const te = y.value[F], Y = L();
|
|
29748
29750
|
return Array.isArray(Y) ? Y.some((oe) => oe.year === (te == null ? void 0 : te.year) && oe.month === K) : (te == null ? void 0 : te.year) === Y.year && K === Y.month;
|
|
29749
29751
|
}, E = (F, K, te) => {
|
|
@@ -29937,12 +29939,12 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29937
29939
|
}
|
|
29938
29940
|
}), Y3 = (e, t) => {
|
|
29939
29941
|
const n = () => {
|
|
29940
|
-
e.isTextInputDate && (u.value =
|
|
29942
|
+
e.isTextInputDate && (u.value = nt(Te(e.startDate)));
|
|
29941
29943
|
}, { modelValue: a } = No(e, t, n), l = W(null), { defaultedHighlight: r, defaultedMultiDates: i, defaultedFilters: o, defaultedRange: s, propDates: c } = qt(e), u = W();
|
|
29942
29944
|
wt(() => {
|
|
29943
|
-
e.startDate && (a.value && e.focusStartDate || !a.value) && (u.value =
|
|
29945
|
+
e.startDate && (a.value && e.focusStartDate || !a.value) && (u.value = nt(Te(e.startDate)));
|
|
29944
29946
|
});
|
|
29945
|
-
const m = (g) => Array.isArray(a.value) ? a.value.some((y) =>
|
|
29947
|
+
const m = (g) => Array.isArray(a.value) ? a.value.some((y) => nt(y) === g) : a.value ? nt(a.value) === g : !1, h = (g) => s.value.enabled && Array.isArray(a.value) ? uu(a.value, l.value, v(g)) : !1, f = A(() => vi(xf(e.yearRange, e.locale, e.reverseYears), (g) => {
|
|
29946
29948
|
const y = m(g.value), d = fo(
|
|
29947
29949
|
g.value,
|
|
29948
29950
|
hi(c.value.minDate),
|
|
@@ -29960,7 +29962,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29960
29962
|
selectYear: (g) => {
|
|
29961
29963
|
var y;
|
|
29962
29964
|
if (t("update-month-year", { instance: 0, year: g }), i.value.enabled)
|
|
29963
|
-
return a.value ? Array.isArray(a.value) && (((y = a.value) == null ? void 0 : y.map((d) =>
|
|
29965
|
+
return a.value ? Array.isArray(a.value) && (((y = a.value) == null ? void 0 : y.map((d) => nt(d))).includes(g) ? a.value = a.value.filter((d) => nt(d) !== g) : a.value.push(Xa(Yn(Te()), g))) : a.value = [Xa(Yn(uo(Te())), g)], t("auto-apply", !0);
|
|
29964
29966
|
s.value.enabled ? (a.value = Df(a, v(g), t), ut().then(() => {
|
|
29965
29967
|
fu(a.value, t, e.autoApply, e.modelAuto);
|
|
29966
29968
|
})) : (a.value = v(g), t("auto-apply"));
|
|
@@ -31219,10 +31221,10 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
31219
31221
|
if (h.value.count && me && !e.startDate)
|
|
31220
31222
|
return R(Te(), me);
|
|
31221
31223
|
}, G = () => Array.isArray(s.value) && v.value.enabled ? dt(s.value[0]) === dt(s.value[1] ?? s.value[0]) : !1, R = (me = /* @__PURE__ */ new Date(), ee = !1) => {
|
|
31222
|
-
if ((!h.value.count || !h.value.static || ee) && H(0, dt(me),
|
|
31224
|
+
if ((!h.value.count || !h.value.static || ee) && H(0, dt(me), nt(me)), h.value.count && (!h.value.solo || !s.value || G()))
|
|
31223
31225
|
for (let le = 1; le < h.value.count; le++) {
|
|
31224
31226
|
const se = Pt(Te(), { month: D.value(le - 1), year: E.value(le - 1) }), Ce = Np(se, { months: 1 });
|
|
31225
|
-
c.value[le] = { month: dt(Ce), year:
|
|
31227
|
+
c.value[le] = { month: dt(Ce), year: nt(Ce) };
|
|
31226
31228
|
}
|
|
31227
31229
|
}, J = (me, ee) => {
|
|
31228
31230
|
R(me), I("hours", kl(me)), I("minutes", Zl(me)), I("seconds", di(me)), h.value.count && ee && ce();
|
|
@@ -31253,26 +31255,26 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
31253
31255
|
te(ee, me), h.value.count && h.value.solo && ce();
|
|
31254
31256
|
}, oe = (me, ee) => {
|
|
31255
31257
|
const le = Pt(Te(), { month: D.value(ee), year: E.value(ee) }), se = me < 0 ? Va(le, 1) : mi(le, 1);
|
|
31256
|
-
x(dt(se),
|
|
31258
|
+
x(dt(se), nt(se), me < 0, e.preventMinMaxNavigation) && (H(ee, dt(se), nt(se)), t("update-month-year", { instance: ee, month: dt(se), year: nt(se) }), h.value.count && !h.value.solo && Me(ee), n());
|
|
31257
31259
|
}, Me = (me) => {
|
|
31258
31260
|
for (let ee = me - 1; ee >= 0; ee--) {
|
|
31259
31261
|
const le = mi(Pt(Te(), { month: D.value(ee + 1), year: E.value(ee + 1) }), 1);
|
|
31260
|
-
H(ee, dt(le),
|
|
31262
|
+
H(ee, dt(le), nt(le));
|
|
31261
31263
|
}
|
|
31262
31264
|
for (let ee = me + 1; ee <= h.value.count - 1; ee++) {
|
|
31263
31265
|
const le = Va(Pt(Te(), { month: D.value(ee - 1), year: E.value(ee - 1) }), 1);
|
|
31264
|
-
H(ee, dt(le),
|
|
31266
|
+
H(ee, dt(le), nt(le));
|
|
31265
31267
|
}
|
|
31266
31268
|
}, ce = () => {
|
|
31267
31269
|
if (Array.isArray(s.value) && s.value.length === 2) {
|
|
31268
31270
|
const me = Te(
|
|
31269
31271
|
Te(s.value[1] ? s.value[1] : Va(s.value[0], 1))
|
|
31270
|
-
), [ee, le] = [dt(s.value[0]),
|
|
31271
|
-
(ee !== se || ee === se && le !== Ce) && h.value.solo && H(1, dt(me),
|
|
31272
|
+
), [ee, le] = [dt(s.value[0]), nt(s.value[0])], [se, Ce] = [dt(s.value[1]), nt(s.value[1])];
|
|
31273
|
+
(ee !== se || ee === se && le !== Ce) && h.value.solo && H(1, dt(me), nt(me));
|
|
31272
31274
|
} else
|
|
31273
|
-
s.value && !Array.isArray(s.value) && (H(0, dt(s.value),
|
|
31275
|
+
s.value && !Array.isArray(s.value) && (H(0, dt(s.value), nt(s.value)), R(Te()));
|
|
31274
31276
|
}, He = () => {
|
|
31275
|
-
e.startDate && (H(0, dt(Te(e.startDate)),
|
|
31277
|
+
e.startDate && (H(0, dt(Te(e.startDate)), nt(Te(e.startDate))), h.value.count && Me(0));
|
|
31276
31278
|
}, Z = (me, ee) => {
|
|
31277
31279
|
if (e.monthChangeOnScroll) {
|
|
31278
31280
|
const le = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), se = Math.abs(me.deltaY);
|
|
@@ -31349,7 +31351,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
31349
31351
|
];
|
|
31350
31352
|
C(le) ? (ee && _n(me.value), l.value = le) : t("invalid-date", me.value);
|
|
31351
31353
|
}, _n = (me) => {
|
|
31352
|
-
const ee = dt(Te(me)), le =
|
|
31354
|
+
const ee = dt(Te(me)), le = nt(Te(me));
|
|
31353
31355
|
if (H(0, ee, le), h.value.count > 0)
|
|
31354
31356
|
for (let se = 1; se < h.value.count; se++) {
|
|
31355
31357
|
const Ce = c3(
|
|
@@ -31687,7 +31689,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
31687
31689
|
return !1;
|
|
31688
31690
|
}
|
|
31689
31691
|
return !1;
|
|
31690
|
-
}, I = (P, H) => P.quarter === _v(H) && P.year ===
|
|
31692
|
+
}, I = (P, H) => P.quarter === _v(H) && P.year === nt(H), _ = (P) => typeof r.value == "function" ? r.value({ quarter: _v(P), year: nt(P) }) : !!r.value.quarters.find((H) => I(H, P)), V = A(() => (P) => {
|
|
31691
31693
|
const H = Pt(/* @__PURE__ */ new Date(), { year: m.value(P) });
|
|
31692
31694
|
return tA({
|
|
31693
31695
|
start: uo(H),
|
|
@@ -32331,7 +32333,7 @@ const HL = ({
|
|
|
32331
32333
|
const t = A(() => (a) => e.value ? a ? e.value.open : e.value.close : ""), n = A(() => (a) => e.value ? a ? e.value.menuAppearTop : e.value.menuAppearBottom : "");
|
|
32332
32334
|
return { transitionName: t, showTransition: !!e.value, menuTransition: n };
|
|
32333
32335
|
}, No = (e, t, n) => {
|
|
32334
|
-
const { defaultedRange: a, defaultedTz: l } = qt(e), r = Te(na(Te(), l.value.timezone)), i = W([{ month: dt(r), year:
|
|
32336
|
+
const { defaultedRange: a, defaultedTz: l } = qt(e), r = Te(na(Te(), l.value.timezone)), i = W([{ month: dt(r), year: nt(r) }]), o = (h) => {
|
|
32335
32337
|
const f = {
|
|
32336
32338
|
hours: kl(r),
|
|
32337
32339
|
minutes: Zl(r),
|
|
@@ -32517,8 +32519,8 @@ const HL = ({
|
|
|
32517
32519
|
}
|
|
32518
32520
|
};
|
|
32519
32521
|
}, Jl = (e) => {
|
|
32520
|
-
const { defaultedFilters: t, defaultedRange: n, propDates: a, defaultedMultiDates: l } = qt(e), r = (E) => a.value.disabledDates ? typeof a.value.disabledDates == "function" ? a.value.disabledDates(Te(E)) : !!Ns(E, a.value.disabledDates) : !1, i = (E) => a.value.maxDate ? e.yearPicker ?
|
|
32521
|
-
const P = i(E), H = o(E), N = r(E), j = t.value.months.map((J) => +J).includes(dt(E)), z = e.disabledWeekDays.length ? e.disabledWeekDays.some((J) => +J === GA(E)) : !1, U = f(E), G =
|
|
32522
|
+
const { defaultedFilters: t, defaultedRange: n, propDates: a, defaultedMultiDates: l } = qt(e), r = (E) => a.value.disabledDates ? typeof a.value.disabledDates == "function" ? a.value.disabledDates(Te(E)) : !!Ns(E, a.value.disabledDates) : !1, i = (E) => a.value.maxDate ? e.yearPicker ? nt(E) > nt(a.value.maxDate) : tn(E, a.value.maxDate) : !1, o = (E) => a.value.minDate ? e.yearPicker ? nt(E) < nt(a.value.minDate) : Zt(E, a.value.minDate) : !1, s = (E) => {
|
|
32523
|
+
const P = i(E), H = o(E), N = r(E), j = t.value.months.map((J) => +J).includes(dt(E)), z = e.disabledWeekDays.length ? e.disabledWeekDays.some((J) => +J === GA(E)) : !1, U = f(E), G = nt(E), R = G < +e.yearRange[0] || G > +e.yearRange[1];
|
|
32522
32524
|
return !(P || H || N || j || R || z || U);
|
|
32523
32525
|
}, c = (E, P) => Zt(...zl(a.value.minDate, E, P)) || vt(...zl(a.value.minDate, E, P)), u = (E, P) => tn(...zl(a.value.maxDate, E, P)) || vt(...zl(a.value.maxDate, E, P)), m = (E, P, H) => {
|
|
32524
32526
|
let N = !1;
|
|
@@ -32528,7 +32530,7 @@ const HL = ({
|
|
|
32528
32530
|
return N ? a.value.minDate && a.value.maxDate ? j = m(E, P, H) : (a.value.minDate && c(E, P) || a.value.maxDate && u(E, P)) && (j = !0) : j = !0, j;
|
|
32529
32531
|
}, f = (E) => Array.isArray(a.value.allowedDates) && !a.value.allowedDates.length ? !0 : a.value.allowedDates ? !Ns(E, a.value.allowedDates) : !1, v = (E) => !s(E), g = (E) => n.value.noDisabledRange ? !Op({ start: E[0], end: E[1] }).some((P) => v(P)) : !0, y = (E) => {
|
|
32530
32532
|
if (E) {
|
|
32531
|
-
const P =
|
|
32533
|
+
const P = nt(E);
|
|
32532
32534
|
return P >= +e.yearRange[0] && P <= e.yearRange[1];
|
|
32533
32535
|
}
|
|
32534
32536
|
return !0;
|
|
@@ -36017,7 +36019,7 @@ const YI = Se({
|
|
|
36017
36019
|
return n.isArray ? n.modelValue : (f = n.modelValue) == null ? void 0 : f.split(",");
|
|
36018
36020
|
},
|
|
36019
36021
|
set(f) {
|
|
36020
|
-
n.isArray ? a("update:modelValue", f) : a("update:modelValue",
|
|
36022
|
+
n.isArray ? a("update:modelValue", f) : a("update:modelValue", tt(f) ? f.toString() : null);
|
|
36021
36023
|
}
|
|
36022
36024
|
}), r = qe("isEditing", () => W(!1), !0), i = A(() => n.isEditing ?? r.value), o = qe("isMobile", () => W(!1), !0), s = qe("fieldVariant", "underlined"), c = qe("fieldEditVariant", "outlined"), u = A(() => n.isMobile ?? o.value ? !1 : n.lg), m = A(() => n.isMobile ?? o.value ? !1 : n.md), h = A(() => n.isMobile ?? o.value ? !1 : n.sm);
|
|
36023
36025
|
return (f, v) => ($(), Q(it, {
|
|
@@ -39767,7 +39769,7 @@ const F5 = /* @__PURE__ */ Vo(B5, [["render", N5]]), R5 = /* @__PURE__ */ je({
|
|
|
39767
39769
|
group: ""
|
|
39768
39770
|
}, {
|
|
39769
39771
|
default: B(() => [
|
|
39770
|
-
(w.alwaysOpen || l.value) && T(
|
|
39772
|
+
(w.alwaysOpen || l.value) && T(tt)(w.searchProps) ? ($(), Q(Mn, {
|
|
39771
39773
|
"onClick:prependInner": C[2] || (C[2] = (k) => T(s).searchString.value = void 0),
|
|
39772
39774
|
"hide-details": "",
|
|
39773
39775
|
key: "1",
|
|
@@ -41229,7 +41231,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41229
41231
|
var h, f;
|
|
41230
41232
|
o.name != null && (s.value = l((h = o.name) == null ? void 0 : h.toString(), t.tags).sort(ia.firstBy((v) => v.sort ?? 0)) ?? [], c.value = r((f = o.name) == null ? void 0 : f.toString(), t.tags).sort(ia.firstBy((v) => v.sort ?? 0)) ?? [], a(o.name) && (u.value = !0));
|
|
41231
41233
|
}), (h, f) => ($(), re("div", null, [
|
|
41232
|
-
T(
|
|
41234
|
+
T(tt)(s.value) || T(tt)(c.value) ? ($(), Q(fn, {
|
|
41233
41235
|
key: 0,
|
|
41234
41236
|
"max-width": "450"
|
|
41235
41237
|
}, {
|
|
@@ -41242,7 +41244,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41242
41244
|
default: B(() => [
|
|
41243
41245
|
p(_t, { class: "pa-2" }, {
|
|
41244
41246
|
default: B(() => [
|
|
41245
|
-
T(
|
|
41247
|
+
T(tt)(s.value) ? ($(), Q(ua, { key: 0 }, {
|
|
41246
41248
|
default: B(() => [
|
|
41247
41249
|
Pe("Relevant Links")
|
|
41248
41250
|
]),
|
|
@@ -41259,7 +41261,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41259
41261
|
title: v.title,
|
|
41260
41262
|
subtitle: v.subtitle
|
|
41261
41263
|
}, null, 8, ["prepend-icon", "href", "text", "append-avatar", "title", "subtitle"]))), 128)),
|
|
41262
|
-
T(
|
|
41264
|
+
T(tt)(c.value) ? ($(), Q(ua, { key: 1 }, {
|
|
41263
41265
|
default: B(() => [
|
|
41264
41266
|
Pe("Other Helpful Links")
|
|
41265
41267
|
]),
|
|
@@ -41305,7 +41307,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41305
41307
|
p(yl),
|
|
41306
41308
|
p(_t, { class: "pa-2" }, {
|
|
41307
41309
|
default: B(() => [
|
|
41308
|
-
T(
|
|
41310
|
+
T(tt)(s.value) ? ($(), Q(ua, { key: 0 }, {
|
|
41309
41311
|
default: B(() => [
|
|
41310
41312
|
Pe("Relevant Links")
|
|
41311
41313
|
]),
|
|
@@ -41322,7 +41324,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41322
41324
|
title: v.title,
|
|
41323
41325
|
subtitle: v.subtitle
|
|
41324
41326
|
}, null, 8, ["prepend-icon", "href", "text", "append-avatar", "title", "subtitle"]))), 128)),
|
|
41325
|
-
T(
|
|
41327
|
+
T(tt)(c.value) ? ($(), Q(ua, { key: 1 }, {
|
|
41326
41328
|
default: B(() => [
|
|
41327
41329
|
Pe("Other Helpful Links")
|
|
41328
41330
|
]),
|
|
@@ -41374,6 +41376,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41374
41376
|
canRestore: { type: Boolean },
|
|
41375
41377
|
canSearch: { type: Boolean, default: !0 },
|
|
41376
41378
|
canShowInactive: { type: Boolean },
|
|
41379
|
+
defaultNew: { type: Boolean },
|
|
41377
41380
|
density: { default: "compact" },
|
|
41378
41381
|
dividers: { type: Boolean, default: !0 },
|
|
41379
41382
|
fadingActions: { type: Boolean, default: void 0 },
|
|
@@ -41490,6 +41493,9 @@ const fP = /* @__PURE__ */ je({
|
|
|
41490
41493
|
onError: (z) => {
|
|
41491
41494
|
z.code == 401 && (m.logout(), m.login(location.pathname));
|
|
41492
41495
|
},
|
|
41496
|
+
onFinished: () => {
|
|
41497
|
+
a.defaultNew === !0 && !tt(f.asyncItems.value) && E();
|
|
41498
|
+
},
|
|
41493
41499
|
router: wo(),
|
|
41494
41500
|
route: s
|
|
41495
41501
|
}), v = W([]), g = A(() => v.value.length > 0 ? v.value[v.value.length - 1] : 0), y = A(() => a.actionButtonSize ?? a.size), d = A(() => c.canAdd ?? a.canAdd), b = A(() => {
|
|
@@ -41499,7 +41505,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41499
41505
|
var U, G, R;
|
|
41500
41506
|
let z = a.label ?? (a.variant == "page" ? (U = s == null ? void 0 : s.meta) == null ? void 0 : U.displayName : void 0) ?? u(a.nav ?? a.bladeName ?? "");
|
|
41501
41507
|
return a.showCount == !0 && ((G = f.filteredItems.value) == null ? void 0 : G.length) != null && ((R = f.asyncItems.value) == null ? void 0 : R.length) != null && (z = `${z} (${f.filteredItems.value.length} of ${f.asyncItems.value.length})`), z;
|
|
41502
|
-
}), M = A(() => a.variant == "dialog" && (a.canSearch ||
|
|
41508
|
+
}), M = A(() => a.variant == "dialog" && (a.canSearch || tt(a.searchProps))), I = A(() => a.variant == "inline" && (a.canSearch || tt(a.searchProps))), _ = A(() => {
|
|
41503
41509
|
if (a.actualHeight != null)
|
|
41504
41510
|
return `height: calc(${a.actualHeight})`;
|
|
41505
41511
|
if (a.actualUsedHeight != null)
|
|
@@ -41702,13 +41708,13 @@ const fP = /* @__PURE__ */ je({
|
|
|
41702
41708
|
"hide-on-leave": ""
|
|
41703
41709
|
}, {
|
|
41704
41710
|
default: B(() => [
|
|
41705
|
-
(z.canSearch !== !1 || T(
|
|
41711
|
+
(z.canSearch !== !1 || T(tt)(z.searchProps)) && !T(f).showSearch.value ? ($(), Q(xe, {
|
|
41706
41712
|
icon: "$magnify",
|
|
41707
41713
|
key: "11",
|
|
41708
41714
|
size: z.size,
|
|
41709
41715
|
onClick: T(f).toggleSearch
|
|
41710
41716
|
}, null, 8, ["size", "onClick"])) : X("", !0),
|
|
41711
|
-
(z.canSearch !== !1 || T(
|
|
41717
|
+
(z.canSearch !== !1 || T(tt)(z.searchProps)) && T(f).showSearch.value ? ($(), Q(Mn, {
|
|
41712
41718
|
"onClick:appendInner": T(f).refresh,
|
|
41713
41719
|
"onClick:prependInner": T(f).toggleSearch,
|
|
41714
41720
|
onKeyup: eo(T(f).refresh, ["native", "enter"]),
|
|
@@ -41737,7 +41743,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41737
41743
|
allItems: T(f).asyncItems.value,
|
|
41738
41744
|
size: z.size
|
|
41739
41745
|
}, void 0, !0),
|
|
41740
|
-
!w.value && T(
|
|
41746
|
+
!w.value && T(tt)(T(f).filters.value) ? ($(), Q(fn, {
|
|
41741
41747
|
key: 2,
|
|
41742
41748
|
"close-on-content-click": !1,
|
|
41743
41749
|
density: z.density,
|
|
@@ -41873,7 +41879,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
41873
41879
|
default: B(() => [
|
|
41874
41880
|
p(Os, null, {
|
|
41875
41881
|
default: B(() => [
|
|
41876
|
-
T(
|
|
41882
|
+
T(tt)(T(f).asyncItems.value) ? z.showListOnly === !0 || F ? ($(), Q(_t, {
|
|
41877
41883
|
key: 1,
|
|
41878
41884
|
"active-class": z.activeClass,
|
|
41879
41885
|
class: Ge(["pt-0", z.scrollY ? "overflow-y-auto" : ""]),
|
|
@@ -42247,7 +42253,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
42247
42253
|
}, 8, ["bladeName", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "preset", "size", "transparent", "variant"]);
|
|
42248
42254
|
};
|
|
42249
42255
|
}
|
|
42250
|
-
}), mP = /* @__PURE__ */ Vo(cV, [["__scopeId", "data-v-
|
|
42256
|
+
}), mP = /* @__PURE__ */ Vo(cV, [["__scopeId", "data-v-5f530dd5"]]), dV = { class: "d-flex align-center" }, vP = /* @__PURE__ */ je({
|
|
42251
42257
|
__name: "BT-Dialog-Select",
|
|
42252
42258
|
setup(e) {
|
|
42253
42259
|
const t = W(!1), n = W({}), a = W([]), { getValue: l } = py();
|
|
@@ -42341,7 +42347,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
42341
42347
|
}, {
|
|
42342
42348
|
default: B(() => [
|
|
42343
42349
|
Fe("div", dV, [
|
|
42344
|
-
T(
|
|
42350
|
+
T(tt)(n.value.searchProps) ? ($(), Q(Mn, {
|
|
42345
42351
|
key: 0,
|
|
42346
42352
|
autofocus: "",
|
|
42347
42353
|
"hide-details": "",
|
|
@@ -42359,8 +42365,8 @@ const fP = /* @__PURE__ */ je({
|
|
|
42359
42365
|
]),
|
|
42360
42366
|
_: 1
|
|
42361
42367
|
}, 8, ["modelValue"])) : X("", !0),
|
|
42362
|
-
T(
|
|
42363
|
-
T(
|
|
42368
|
+
T(tt)(n.value.searchProps) ? X("", !0) : ($(), Q(yn, { key: 1 })),
|
|
42369
|
+
T(tt)(n.value.searchProps) ? X("", !0) : ($(), Q(xe, {
|
|
42364
42370
|
key: 2,
|
|
42365
42371
|
onClick: g[2] || (g[2] = dn((b) => T(i).refresh({ deepRefresh: !0 }), ["stop"])),
|
|
42366
42372
|
icon: "$refresh",
|
|
@@ -42458,7 +42464,7 @@ const fP = /* @__PURE__ */ je({
|
|
|
42458
42464
|
var b;
|
|
42459
42465
|
if ($n(i.value))
|
|
42460
42466
|
return !1;
|
|
42461
|
-
if (
|
|
42467
|
+
if (tt(a.value.rules)) {
|
|
42462
42468
|
let x;
|
|
42463
42469
|
if ((b = a.value.rules) == null || b.forEach((w) => {
|
|
42464
42470
|
let C = w(i.value);
|
|
@@ -42790,7 +42796,7 @@ export {
|
|
|
42790
42796
|
uP as guardRoute,
|
|
42791
42797
|
hk as hasSearch,
|
|
42792
42798
|
ik as isArrayOfLength,
|
|
42793
|
-
|
|
42799
|
+
tt as isLengthyArray,
|
|
42794
42800
|
ok as isMinDate,
|
|
42795
42801
|
$n as isNullOrEmpty,
|
|
42796
42802
|
sk as isSameDownToHour,
|