bt-core-app 1.4.694 → 1.4.695
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 +93 -93
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var j0 = Object.defineProperty;
|
|
2
2
|
var q0 = (e, t, a) => t in e ? j0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var je = (e, t, a) => (q0(e, typeof t != "symbol" ? t + "" : t, a), a);
|
|
4
|
-
import { ref as z, shallowRef as He, computed as D, toValue as
|
|
4
|
+
import { ref as z, shallowRef as He, computed as D, toValue as rt, toRaw as qt, watch as Se, onMounted as St, h as ll, Fragment as ke, reactive as Ga, watchEffect as pn, toRefs as wd, capitalize as ko, isVNode as G0, Comment as Z0, unref as M, warn as xo, getCurrentInstance as K0, provide as sa, inject as Ze, defineComponent as Ke, camelize as Ih, createVNode as w, mergeProps as pe, toRef as Pe, isRef as mn, Text as X0, TransitionGroup as kd, Transition as un, onBeforeMount as So, nextTick as ft, onBeforeUnmount as Ua, withDirectives as Zt, resolveDirective as ul, vShow as Mn, openBlock as P, createBlock as X, normalizeProps as zt, guardReactiveProps as ra, withCtx as B, createElementVNode as ze, onScopeDispose as Va, effectScope as xd, onUpdated as Vh, readonly as Sd, resolveDynamicComponent as Co, markRaw as J0, resolveComponent as Fa, renderSlot as ve, createCommentVNode as K, normalizeStyle as Mt, createElementBlock as ie, createTextVNode as Ne, onDeactivated as $h, onActivated as Q0, Teleport as Ph, onBeforeUpdate as Bh, cloneVNode as eb, renderList as qe, withKeys as lo, toDisplayString as Re, normalizeClass as Je, createSlots as ya, withModifiers as va, getTransitionRawChildren as tb, onUnmounted as Sl, useSlots as _r, render as am, getCurrentScope as ab, vModelText as nb } from "vue";
|
|
5
5
|
import { watchArray as gc, useStorage as Nh, useEventListener as Ma, toValue as Kn, useParentElement as lb, useResizeObserver as rb, useFileDialog as Fh, useArrayUnique as ib, useArrayDifference as nm, watchDebounced as Rh, tryOnMounted as ob } from "@vueuse/core";
|
|
6
6
|
import { defineStore as Ks, getActivePinia as sb } from "pinia";
|
|
7
7
|
import { useRouter as si, useRoute as To } from "vue-router";
|
|
@@ -5540,7 +5540,7 @@ function p$(e, t) {
|
|
|
5540
5540
|
function Sk(e, t) {
|
|
5541
5541
|
return e != null && Array.isArray(e) && e.length == t;
|
|
5542
5542
|
}
|
|
5543
|
-
function
|
|
5543
|
+
function lt(e, t = 0) {
|
|
5544
5544
|
return e != null && Array.isArray(e) && e.length > t;
|
|
5545
5545
|
}
|
|
5546
5546
|
function _a(e) {
|
|
@@ -5600,10 +5600,10 @@ function Ug(e, t = (a) => a) {
|
|
|
5600
5600
|
if (e == null)
|
|
5601
5601
|
return [];
|
|
5602
5602
|
const a = Array.isArray(e) ? e : t(e);
|
|
5603
|
-
return
|
|
5603
|
+
return lt(a) ? [...a.reduce((n, l) => {
|
|
5604
5604
|
n.push(l);
|
|
5605
5605
|
const r = Ug(l, t);
|
|
5606
|
-
return
|
|
5606
|
+
return lt(r) && n.push(...r), n;
|
|
5607
5607
|
}, [])] : [];
|
|
5608
5608
|
}
|
|
5609
5609
|
function _k(e) {
|
|
@@ -7330,7 +7330,7 @@ function Wk(e) {
|
|
|
7330
7330
|
});
|
|
7331
7331
|
}
|
|
7332
7332
|
const qg = (e) => {
|
|
7333
|
-
let t =
|
|
7333
|
+
let t = rt(e.url) ?? void 0;
|
|
7334
7334
|
if (e.additionalUrl != null && (t == null ? t = e.additionalUrl : t = jt(t, e.additionalUrl)), e.id != null && (t != null && t.includes("{id}") ? t = t.replaceAll("{id}", e.id) : t = jt(t, e.id)), e.params != null) {
|
|
7335
7335
|
t ?? (t = "");
|
|
7336
7336
|
let a = new URLSearchParams();
|
|
@@ -7637,9 +7637,9 @@ function Yk(e) {
|
|
|
7637
7637
|
async function u() {
|
|
7638
7638
|
if (l == !0) {
|
|
7639
7639
|
const x = {
|
|
7640
|
-
meta:
|
|
7641
|
-
data:
|
|
7642
|
-
count:
|
|
7640
|
+
meta: rt(i),
|
|
7641
|
+
data: rt(t) ?? [],
|
|
7642
|
+
count: rt(a) ?? 0,
|
|
7643
7643
|
filters: []
|
|
7644
7644
|
};
|
|
7645
7645
|
try {
|
|
@@ -7878,7 +7878,7 @@ function jk(e) {
|
|
|
7878
7878
|
}
|
|
7879
7879
|
async function g() {
|
|
7880
7880
|
if (l == !0) {
|
|
7881
|
-
const k = { data:
|
|
7881
|
+
const k = { data: rt(t) ?? [] }, A = rt(o);
|
|
7882
7882
|
try {
|
|
7883
7883
|
const L = nn();
|
|
7884
7884
|
L.setItem(f(), JSON.parse(JSON.stringify(k))), L.setItem(`${f()}_meta`, JSON.parse(JSON.stringify(A)));
|
|
@@ -8208,7 +8208,7 @@ function qk(e) {
|
|
|
8208
8208
|
}), b.toString();
|
|
8209
8209
|
}
|
|
8210
8210
|
function i(v) {
|
|
8211
|
-
let b =
|
|
8211
|
+
let b = rt(v.url) ?? void 0, d = rt(v.id);
|
|
8212
8212
|
return b == null && (e == null ? void 0 : e.findPath) != null && (b = e.findPath(v.nav)), v.additionalUrl != null && (b == null ? b = v.additionalUrl : b = jt(b, v.additionalUrl)), d != null && (b != null && b.includes("{id}") ? b = b.replaceAll("{id}", d) : b = jt(b, d)), v.params != null && (b = `${b}?${a(v.params)}`), v.finalUrl = b, v.finalUrl ?? "";
|
|
8213
8213
|
}
|
|
8214
8214
|
function o(v) {
|
|
@@ -8928,7 +8928,7 @@ function Xk(e) {
|
|
|
8928
8928
|
return !1;
|
|
8929
8929
|
if (V.requiresAuth === !1)
|
|
8930
8930
|
return !0;
|
|
8931
|
-
const E =
|
|
8931
|
+
const E = rt(r);
|
|
8932
8932
|
if (E.isSuspended && V.ignoreSuspension !== !0)
|
|
8933
8933
|
return !1;
|
|
8934
8934
|
if (E.isGlobalAdmin)
|
|
@@ -8941,7 +8941,7 @@ function Xk(e) {
|
|
|
8941
8941
|
return !0;
|
|
8942
8942
|
}
|
|
8943
8943
|
function o(L) {
|
|
8944
|
-
const V =
|
|
8944
|
+
const V = rt(r);
|
|
8945
8945
|
if (V.userPermissions != null)
|
|
8946
8946
|
for (var E = 0; E < V.userPermissions.length; E++) {
|
|
8947
8947
|
var _ = V.userPermissions[E].split(".");
|
|
@@ -8958,7 +8958,7 @@ function Xk(e) {
|
|
|
8958
8958
|
return !1;
|
|
8959
8959
|
if (V.requiresAuth === !1)
|
|
8960
8960
|
return !0;
|
|
8961
|
-
const E =
|
|
8961
|
+
const E = rt(r);
|
|
8962
8962
|
if (E.isSuspended && V.ignoreSuspension !== !0)
|
|
8963
8963
|
return !1;
|
|
8964
8964
|
if (E.isGlobalAdmin)
|
|
@@ -8971,7 +8971,7 @@ function Xk(e) {
|
|
|
8971
8971
|
return !0;
|
|
8972
8972
|
}
|
|
8973
8973
|
function c(L) {
|
|
8974
|
-
const V =
|
|
8974
|
+
const V = rt(r);
|
|
8975
8975
|
if (V.userPermissions != null)
|
|
8976
8976
|
for (var E = 0; E < V.userPermissions.length; E++) {
|
|
8977
8977
|
var _ = V.userPermissions[E].split(".");
|
|
@@ -8982,7 +8982,7 @@ function Xk(e) {
|
|
|
8982
8982
|
}
|
|
8983
8983
|
function u(L, V, E) {
|
|
8984
8984
|
let _ = !0;
|
|
8985
|
-
return
|
|
8985
|
+
return rt(r).isGlobalAdmin ? !0 : (V != null && V.length > 0 && V.forEach(($) => {
|
|
8986
8986
|
E == "edit" ? o($) || (_ = !1) : c($) || (_ = !1);
|
|
8987
8987
|
}), L != null && L.length > 0 && (L.some(($) => y($)) || (_ = !1)), _);
|
|
8988
8988
|
}
|
|
@@ -8992,7 +8992,7 @@ function Xk(e) {
|
|
|
8992
8992
|
if (E == null)
|
|
8993
8993
|
return !1;
|
|
8994
8994
|
let I = E.subscriptions ?? [], $ = E.permissions ?? [], H = u(I, $, "view");
|
|
8995
|
-
return H || !V || !
|
|
8995
|
+
return H || !V || !lt(E.children) ? H : ((E == null ? void 0 : E.children) != null && E.children.forEach((F) => {
|
|
8996
8996
|
f(F, !0) && (_ = !0);
|
|
8997
8997
|
}), _);
|
|
8998
8998
|
}
|
|
@@ -9007,7 +9007,7 @@ function Xk(e) {
|
|
|
9007
9007
|
return L == null ? 0 : ((E = (e.subscriptionOptions ?? []).find((_) => _.code == L)) == null ? void 0 : E.value) ?? 0;
|
|
9008
9008
|
}
|
|
9009
9009
|
function y(L) {
|
|
9010
|
-
const V =
|
|
9010
|
+
const V = rt(r);
|
|
9011
9011
|
if (V.subscriptionCode == null)
|
|
9012
9012
|
return !1;
|
|
9013
9013
|
if (V.subscriptionCode == L)
|
|
@@ -9019,7 +9019,7 @@ function Xk(e) {
|
|
|
9019
9019
|
r.value = void 0, p(), L != null && e.router != null && e.router.currentRoute.value.path != L && e.router.push({ path: L });
|
|
9020
9020
|
}
|
|
9021
9021
|
function v(L, V) {
|
|
9022
|
-
const E =
|
|
9022
|
+
const E = rt(r);
|
|
9023
9023
|
if (A() || !E.isLoggedIn) {
|
|
9024
9024
|
h();
|
|
9025
9025
|
let _ = g(L);
|
|
@@ -9104,7 +9104,7 @@ function Xk(e) {
|
|
|
9104
9104
|
r.value ?? (r.value = {}), (L = r.value).timeZone ?? (L.timeZone = e.defaultTimeZone ?? Nu);
|
|
9105
9105
|
}
|
|
9106
9106
|
function T() {
|
|
9107
|
-
const L =
|
|
9107
|
+
const L = rt(r);
|
|
9108
9108
|
return L.isLoggedIn && A() && k() && (h(), window.location.href = g()), L.isLoggedIn;
|
|
9109
9109
|
}
|
|
9110
9110
|
function k() {
|
|
@@ -9114,7 +9114,7 @@ function Xk(e) {
|
|
|
9114
9114
|
return Ye.utc() < L;
|
|
9115
9115
|
}
|
|
9116
9116
|
function A() {
|
|
9117
|
-
const L =
|
|
9117
|
+
const L = rt(r);
|
|
9118
9118
|
if (L == null || L.expiresOn == null)
|
|
9119
9119
|
return !0;
|
|
9120
9120
|
const V = Ye.fromFormat(L.expiresOn, t), E = Ye.utc();
|
|
@@ -9150,11 +9150,11 @@ function Jk(e, t, a = {}) {
|
|
|
9150
9150
|
} = a, i = { capture: a.capture ?? !0 };
|
|
9151
9151
|
let o = { x: 0, y: 0 }, s = { x: 0, y: 0 }, c = { x: 0, y: 0 }, u = [], f = [], g = z(!1);
|
|
9152
9152
|
function m(S) {
|
|
9153
|
-
|
|
9153
|
+
rt(n) && S.preventDefault(), rt(l) && S.stopPropagation();
|
|
9154
9154
|
}
|
|
9155
9155
|
function y(S) {
|
|
9156
9156
|
var A;
|
|
9157
|
-
const C =
|
|
9157
|
+
const C = rt(e);
|
|
9158
9158
|
if (!C)
|
|
9159
9159
|
return;
|
|
9160
9160
|
const p = C.$el, k = S.type === "touchstart" && S.touches.length > 0 ? S.touches[0] : S;
|
|
@@ -9168,7 +9168,7 @@ function Jk(e, t, a = {}) {
|
|
|
9168
9168
|
}
|
|
9169
9169
|
function h(S) {
|
|
9170
9170
|
var L;
|
|
9171
|
-
if (!c || !
|
|
9171
|
+
if (!c || !rt(e))
|
|
9172
9172
|
return;
|
|
9173
9173
|
const T = S.type === "touchmove" && S.touches.length > 0 ? S.touches[0] : S;
|
|
9174
9174
|
let k = T.clientX - c.x, A = T.clientY - c.y;
|
|
@@ -9181,25 +9181,25 @@ function Jk(e, t, a = {}) {
|
|
|
9181
9181
|
}), f.length = 0, (C = a.onEnd) == null || C.call(a, o, S), m(S);
|
|
9182
9182
|
}
|
|
9183
9183
|
function b(S) {
|
|
9184
|
-
const C =
|
|
9184
|
+
const C = rt(e);
|
|
9185
9185
|
if (!C)
|
|
9186
9186
|
return;
|
|
9187
9187
|
const p = C.$el;
|
|
9188
9188
|
p.style.left = `${S.x}px`, p.style.top = `${S.y}px`;
|
|
9189
9189
|
}
|
|
9190
9190
|
function d() {
|
|
9191
|
-
if (
|
|
9191
|
+
if (rt(g))
|
|
9192
9192
|
return;
|
|
9193
|
-
const S =
|
|
9193
|
+
const S = rt(t);
|
|
9194
9194
|
if (!S)
|
|
9195
9195
|
return;
|
|
9196
9196
|
const C = S.$el;
|
|
9197
9197
|
C.style.cursor = "move", u.push(Ma(C, "mousedown", y, i)), u.push(Ma(C, "touchstart", y, i)), g.value = !0;
|
|
9198
9198
|
}
|
|
9199
9199
|
function x() {
|
|
9200
|
-
if (!
|
|
9200
|
+
if (!rt(g))
|
|
9201
9201
|
return;
|
|
9202
|
-
const S =
|
|
9202
|
+
const S = rt(t);
|
|
9203
9203
|
if (!S)
|
|
9204
9204
|
return;
|
|
9205
9205
|
const C = S.$el;
|
|
@@ -10081,7 +10081,7 @@ function Mx(e) {
|
|
|
10081
10081
|
if (a.value != S) {
|
|
10082
10082
|
a.value = S;
|
|
10083
10083
|
let C = !1, p = !1, T = !1, k = !1;
|
|
10084
|
-
if (_a(a.value) || !
|
|
10084
|
+
if (_a(a.value) || !lt(b(), 4))
|
|
10085
10085
|
C = !0;
|
|
10086
10086
|
else {
|
|
10087
10087
|
const A = b();
|
|
@@ -10118,7 +10118,7 @@ function Mx(e) {
|
|
|
10118
10118
|
const I = _.split(",");
|
|
10119
10119
|
I.some(($) => !vs.some((H) => H.value == $)) ? C = !0 : y.value = I;
|
|
10120
10120
|
}
|
|
10121
|
-
if (
|
|
10121
|
+
if (lt(A, 5) && e.useLeadTimeLeft) {
|
|
10122
10122
|
const I = A[5].split("-");
|
|
10123
10123
|
if (e.useLeadTimeRight && I.length > 1) {
|
|
10124
10124
|
const $ = Number.parseInt(I[1]);
|
|
@@ -10153,7 +10153,7 @@ function Mx(e) {
|
|
|
10153
10153
|
if (s.value == "Custom")
|
|
10154
10154
|
return a.value;
|
|
10155
10155
|
let S = "0";
|
|
10156
|
-
return S = jt(S, f.value, " "),
|
|
10156
|
+
return S = jt(S, f.value, " "), lt(m.value) ? S = jt(S, (C = m.value) == null ? void 0 : C.toString(), " ") : S = jt(S, "*", " "), lt(g.value) ? S = jt(S, (p = g.value) == null ? void 0 : p.toString(), " ") : S = jt(S, "*", " "), ((T = y.value) == null ? void 0 : T.length) == 7 ? S = jt(S, "*", " ") : S = jt(S, (k = y.value) == null ? void 0 : k.toString(), " "), S = jt(S, `${c.value}-${u.value}`, " "), a.value = S, a.value;
|
|
10157
10157
|
}
|
|
10158
10158
|
return d(e.value ?? e.defaultExpression ?? t()), {
|
|
10159
10159
|
applyRawExpression: h,
|
|
@@ -10198,7 +10198,7 @@ function Dx(e) {
|
|
|
10198
10198
|
return `${v.dateTrigger}|${v.replacingDate ?? ""}|${v.leadTimeLeft.toString()}-${v.leadTimeRight.toString()}`;
|
|
10199
10199
|
}
|
|
10200
10200
|
function f(v) {
|
|
10201
|
-
if (
|
|
10201
|
+
if (lt(v))
|
|
10202
10202
|
return v.filter((b) => b.isAdjusting == !0).map((b) => u(b)).filter((b) => b != null && !b.includes("undefined")).toString();
|
|
10203
10203
|
}
|
|
10204
10204
|
function g(v) {
|
|
@@ -10209,7 +10209,7 @@ function Dx(e) {
|
|
|
10209
10209
|
if (v != null && v.includes("undefined"))
|
|
10210
10210
|
return;
|
|
10211
10211
|
const b = v == null ? void 0 : v.split("|");
|
|
10212
|
-
if (
|
|
10212
|
+
if (lt(b, 2)) {
|
|
10213
10213
|
let d = 0, x = 0, S = b[2].split("-");
|
|
10214
10214
|
S.length > 0 && (d = Number.parseInt(S[0])), S.length > 1 && (x = Number.parseInt(S[1]));
|
|
10215
10215
|
let C = b[1].length > 1 ? b[1] : void 0;
|
|
@@ -10283,14 +10283,14 @@ function Ax(e) {
|
|
|
10283
10283
|
fileName: g = "data.csv",
|
|
10284
10284
|
format: m = "file"
|
|
10285
10285
|
} = c;
|
|
10286
|
-
if (console.log(u), !
|
|
10286
|
+
if (console.log(u), !lt(u))
|
|
10287
10287
|
return;
|
|
10288
10288
|
let y = [];
|
|
10289
10289
|
f != null && (y = f == null ? void 0 : f.filter((k) => (k.csv ?? k.csvText ?? k.csvFilter ?? k.csvArray) != null).map((k) => ({
|
|
10290
10290
|
header: k.title ?? k.value ?? "",
|
|
10291
10291
|
itemText: k.itemText,
|
|
10292
10292
|
value: k.value
|
|
10293
|
-
}))),
|
|
10293
|
+
}))), lt(y) || (y = Object.keys(u[0]).map((k) => ({ header: wk(k) ?? "", value: k }))), y = y.filter((k) => k.header.length > 0);
|
|
10294
10294
|
var h = [];
|
|
10295
10295
|
for (let k = 0; k < u.length; k++) {
|
|
10296
10296
|
const A = u[k];
|
|
@@ -10300,7 +10300,7 @@ function Ax(e) {
|
|
|
10300
10300
|
var d = null;
|
|
10301
10301
|
typeof V.value == "function" ? d = V.value(A) : typeof V.value == "string" && (d = Da(A, V.value)), V.itemText != null ? v[V.header] = Da(d, V.itemText) : v[V.header] = d;
|
|
10302
10302
|
}
|
|
10303
|
-
h.push(v),
|
|
10303
|
+
h.push(v), lt(b) && b.forEach((L) => {
|
|
10304
10304
|
h.push(L);
|
|
10305
10305
|
}), b = [];
|
|
10306
10306
|
}
|
|
@@ -10352,9 +10352,9 @@ function Ax(e) {
|
|
|
10352
10352
|
if (h != null) {
|
|
10353
10353
|
let C = h.split(`
|
|
10354
10354
|
`);
|
|
10355
|
-
if (
|
|
10355
|
+
if (lt(C)) {
|
|
10356
10356
|
var v = [];
|
|
10357
|
-
|
|
10357
|
+
lt(c == null ? void 0 : c.headers) ? v = c.headers.map((T) => {
|
|
10358
10358
|
var k;
|
|
10359
10359
|
return typeof T == "string" ? k = {
|
|
10360
10360
|
headerName: o(T),
|
|
@@ -10927,7 +10927,7 @@ function U$(e, t) {
|
|
|
10927
10927
|
style: D(() => {
|
|
10928
10928
|
if (vr == null)
|
|
10929
10929
|
return "";
|
|
10930
|
-
var a =
|
|
10930
|
+
var a = rt(e);
|
|
10931
10931
|
return `height: calc(100vh - ${t == !0 ? a : vr.getUsedHeight(a)}px); overflow-y: auto;`;
|
|
10932
10932
|
})
|
|
10933
10933
|
// usedHeight: aHeight
|
|
@@ -12222,7 +12222,7 @@ function O$(e) {
|
|
|
12222
12222
|
}
|
|
12223
12223
|
function Iy(e, t) {
|
|
12224
12224
|
const a = z(!1), n = Pe(e);
|
|
12225
|
-
let l = r(
|
|
12225
|
+
let l = r(rt(e));
|
|
12226
12226
|
(t == null ? void 0 : t.useTracker) !== !1 && Se(n, (o) => {
|
|
12227
12227
|
a.value = r(o) != l;
|
|
12228
12228
|
}, { deep: !0 });
|
|
@@ -12237,7 +12237,7 @@ function Iy(e, t) {
|
|
|
12237
12237
|
})), JSON.stringify(s);
|
|
12238
12238
|
}
|
|
12239
12239
|
function i() {
|
|
12240
|
-
l = r(
|
|
12240
|
+
l = r(rt(n)), a.value = !1;
|
|
12241
12241
|
}
|
|
12242
12242
|
return {
|
|
12243
12243
|
asyncItem: n,
|
|
@@ -12277,20 +12277,20 @@ function Vy(e, t, a) {
|
|
|
12277
12277
|
}), $ = D(() => {
|
|
12278
12278
|
if (E.value == "new")
|
|
12279
12279
|
return !1;
|
|
12280
|
-
const ue =
|
|
12280
|
+
const ue = rt(v);
|
|
12281
12281
|
return ue != null && e.onCanDelete != null ? e.onCanDelete(ue) : (ue == null ? void 0 : ue.isInactive) !== !0;
|
|
12282
12282
|
}), H = D(() => {
|
|
12283
12283
|
if (E.value == "new")
|
|
12284
12284
|
return !1;
|
|
12285
|
-
const ue =
|
|
12285
|
+
const ue = rt(v);
|
|
12286
12286
|
return e.onCanEdit != null ? e.onCanEdit(ue) : !0;
|
|
12287
12287
|
}), F = D(() => {
|
|
12288
12288
|
if (E.value == "new")
|
|
12289
12289
|
return !1;
|
|
12290
|
-
const ue =
|
|
12290
|
+
const ue = rt(v);
|
|
12291
12291
|
return e.onCanRestore != null ? e.onCanRestore(ue) : (ue == null ? void 0 : ue.isInactive) === !0;
|
|
12292
12292
|
}), O = D(() => {
|
|
12293
|
-
const ue =
|
|
12293
|
+
const ue = rt(v);
|
|
12294
12294
|
return e.onCanSave != null ? e.onCanSave(ue) : !0;
|
|
12295
12295
|
}), Q = e.onUpdateAsyncItem ?? ((ue, Me) => {
|
|
12296
12296
|
Me.hasOwnProperty("rowVersion") && (ue.rowVersion = Me.rowVersion), Me.hasOwnProperty("version") && (ue.version = Me.version), Me.hasOwnProperty("isDeleted") && (ue.isDeleted = Me.isDeleted), Me.hasOwnProperty("isInactive") && (ue.isInactive = Me.isInactive), Me.hasOwnProperty("id") && (ue.id = Me.id);
|
|
@@ -12412,7 +12412,7 @@ function Vy(e, t, a) {
|
|
|
12412
12412
|
});
|
|
12413
12413
|
}
|
|
12414
12414
|
function ne() {
|
|
12415
|
-
const ue =
|
|
12415
|
+
const ue = rt(E);
|
|
12416
12416
|
!ue || ue == "view" ? E.value = "edit" : ue == "edit" && (E.value = "view");
|
|
12417
12417
|
}
|
|
12418
12418
|
return Se(k, (ue) => {
|
|
@@ -12481,7 +12481,7 @@ function fi(e, t, a) {
|
|
|
12481
12481
|
Pa({ deepRefresh: !1, resetSearch: !0 });
|
|
12482
12482
|
},
|
|
12483
12483
|
bladeStartShowing: e.bladeStartShowing
|
|
12484
|
-
}), o = e.useBladeSrc ?? e.variant == "blade", s = e.useRouteSrc ?? e.variant == "page", c = e.nav ?? e.bladeName ?? e.itemBladeName ?? "basic", u = e.storeKey ?? (a == null ? void 0 : a.storeKey), f = e.storeMode ?? ((Dl = l.findItem(c)) == null ? void 0 : Dl.storeMode), g = e.storageMode ?? ((Al = l.findItem(c)) == null ? void 0 : Al.storageMode), m = (me = l.findItem(c)) == null ? void 0 : me.deleteStrat, y =
|
|
12484
|
+
}), o = e.useBladeSrc ?? e.variant == "blade", s = e.useRouteSrc ?? e.variant == "page", c = e.nav ?? e.bladeName ?? e.itemBladeName ?? "basic", u = e.storeKey ?? (a == null ? void 0 : a.storeKey), f = e.storeMode ?? ((Dl = l.findItem(c)) == null ? void 0 : Dl.storeMode), g = e.storageMode ?? ((Al = l.findItem(c)) == null ? void 0 : Al.storageMode), m = (me = l.findItem(c)) == null ? void 0 : me.deleteStrat, y = rt(e.customFilters) ?? [], h = z([]), v = D(() => ib([
|
|
12485
12485
|
...(e.localFilters ?? []).filter((J) => J.predicate != null || J.onFilter != null).map((J) => J.name),
|
|
12486
12486
|
...y.filter((J) => J.name != null).map((J) => J.name),
|
|
12487
12487
|
...e.defaultFilters ?? [],
|
|
@@ -12513,7 +12513,7 @@ function fi(e, t, a) {
|
|
|
12513
12513
|
let J;
|
|
12514
12514
|
return J == null && o && (J = i == null ? void 0 : i.bladeData.data[k]), J == null && s && (J = (Ce = (he = a == null ? void 0 : a.route) == null ? void 0 : he.query) == null ? void 0 : Ce[k]), J;
|
|
12515
12515
|
}
|
|
12516
|
-
const V = z(
|
|
12516
|
+
const V = z(rt(e.startShowingInactive) ?? !1), E = D(() => [
|
|
12517
12517
|
...e.searchProps ?? [],
|
|
12518
12518
|
...(e.headers ?? []).filter((J) => J.searchable != null && J.value != null).map((J) => J.value ?? "")
|
|
12519
12519
|
]), _ = He(), I = He([]), $ = z([]);
|
|
@@ -12537,7 +12537,7 @@ function fi(e, t, a) {
|
|
|
12537
12537
|
Nt != null ? J = J != null ? `${J}ANDALSO${Nt.filterFunction()}` : Nt.filterFunction() : he.push(st);
|
|
12538
12538
|
});
|
|
12539
12539
|
const Ce = {};
|
|
12540
|
-
return
|
|
12540
|
+
return lt(he) && (Ce.filterBy = he.toString()), J != null && (Ce.query = J), Ce;
|
|
12541
12541
|
}), ge = D(() => {
|
|
12542
12542
|
var he, Ce, at, st;
|
|
12543
12543
|
let J = e.itemID;
|
|
@@ -12545,7 +12545,7 @@ function fi(e, t, a) {
|
|
|
12545
12545
|
}), U = z(ge.value == "new" ? "new" : e.startEditing ? "edit" : "view"), re = D(() => {
|
|
12546
12546
|
var he, Ce, at;
|
|
12547
12547
|
let J = e.params != null ? { ...e.params } : {};
|
|
12548
|
-
return e.paginate == "server" && e.itemsPerPage != null && (J.includeCount = !0, J.takeAmount = e.itemsPerPage, J.takeFrom = (S.value - 1) * e.itemsPerPage), le.value != null && (J = { ...J, ...le.value }), V.value && (J.includeInactive = !0),
|
|
12548
|
+
return e.paginate == "server" && e.itemsPerPage != null && (J.includeCount = !0, J.takeAmount = e.itemsPerPage, J.takeFrom = (S.value - 1) * e.itemsPerPage), le.value != null && (J = { ...J, ...le.value }), V.value && (J.includeInactive = !0), lt(e.selectProps) && (J.properties = (he = e.selectProps) == null ? void 0 : he.toString()), A.value != null && (J.searchString = A.value), lt(e.queryParams) && ((Ce = a == null ? void 0 : a.route) == null ? void 0 : Ce.query) != null && ((at = e.queryParams) == null || at.forEach((st) => {
|
|
12549
12549
|
var Nt, xa, ta, Ja;
|
|
12550
12550
|
typeof st == "string" ? ((Nt = a.route) == null ? void 0 : Nt.query[st]) != null && (J[st] = (xa = a.route) == null ? void 0 : xa.query[st]) : ((ta = a.route) == null ? void 0 : ta.query[st.key]) != null && (J[st.value] = (Ja = a.route) == null ? void 0 : Ja.query[st.key]);
|
|
12551
12551
|
})), J;
|
|
@@ -12630,7 +12630,7 @@ function fi(e, t, a) {
|
|
|
12630
12630
|
});
|
|
12631
12631
|
}
|
|
12632
12632
|
function ka(J) {
|
|
12633
|
-
const he =
|
|
12633
|
+
const he = rt(J), {
|
|
12634
12634
|
additionalUrl: Ce,
|
|
12635
12635
|
onCanSaveAsync: at,
|
|
12636
12636
|
onGetSaveAsync: st,
|
|
@@ -12660,7 +12660,7 @@ function fi(e, t, a) {
|
|
|
12660
12660
|
return;
|
|
12661
12661
|
}
|
|
12662
12662
|
let J = e.onFilter ? e.onFilter(_.value) : _.value;
|
|
12663
|
-
if (
|
|
12663
|
+
if (lt(e.localFilters) && b.value.forEach((he) => {
|
|
12664
12664
|
var at;
|
|
12665
12665
|
const Ce = (at = e.localFilters) == null ? void 0 : at.find((st) => st.name == v.value[he]);
|
|
12666
12666
|
Ce != null && (Ce.onFilter != null ? J = Ce.onFilter(J) : Ce.predicate != null && (J = J.filter((st) => Ce.predicate(st))));
|
|
@@ -12670,7 +12670,7 @@ function fi(e, t, a) {
|
|
|
12670
12670
|
}
|
|
12671
12671
|
if (A.value != null && A.value.length > 0) {
|
|
12672
12672
|
let he = [...E.value];
|
|
12673
|
-
e.itemText && he.push(e.itemText),
|
|
12673
|
+
e.itemText && he.push(e.itemText), lt(he) && (J = J.filter((Ce) => Ik(Ce, A.value, he)));
|
|
12674
12674
|
}
|
|
12675
12675
|
if (e.paginate == "local" && _a(A.value) && e.itemsPerPage != null) {
|
|
12676
12676
|
let he = (S.value - 1) * e.itemsPerPage, Ce = he + e.itemsPerPage;
|
|
@@ -12744,7 +12744,7 @@ function fi(e, t, a) {
|
|
|
12744
12744
|
}
|
|
12745
12745
|
function Ml(J, he) {
|
|
12746
12746
|
var at;
|
|
12747
|
-
const Ce =
|
|
12747
|
+
const Ce = rt(J);
|
|
12748
12748
|
e.canUnselect ? H = Ce === H ? null : Ce : H = Ce ?? H, e.canSelect == !0 && (e.onCanSelectItem == null || e.onCanSelectItem(Ce)) && (e.onSelectItem != null ? e.onSelectItem(H) : he == "blade" && H == null ? i == null || i.closeBlade({ bladeName: e.itemBladeName }) : he == "page" ? (at = a == null ? void 0 : a.router) == null || at.push({
|
|
12749
12749
|
name: e.itemBladeName,
|
|
12750
12750
|
params: { id: Ce.id }
|
|
@@ -12869,7 +12869,7 @@ function TS() {
|
|
|
12869
12869
|
routeName: ""
|
|
12870
12870
|
}, l.push(u));
|
|
12871
12871
|
let f = [];
|
|
12872
|
-
c.subFilters != null && (Array.isArray(c.subFilters) ? f = c.subFilters : f = [c.subFilters]), (s == null ? void 0 : s.subFilters) != null && !
|
|
12872
|
+
c.subFilters != null && (Array.isArray(c.subFilters) ? f = c.subFilters : f = [c.subFilters]), (s == null ? void 0 : s.subFilters) != null && !lt(f) && (f = Array.isArray(s.subFilters) ? s.subFilters : [s.subFilters]), (Pl.currentView.value == null || !lt(f) || f.some((m) => m == "All" || Pl.currentView.value == m)) && ((g = u.items) == null || g.push({
|
|
12873
12873
|
displayName: (c == null ? void 0 : c.displayName) ?? t.findDisplay(s ?? void 0),
|
|
12874
12874
|
icon: (c == null ? void 0 : c.icon) ?? t.findIcon(s ?? void 0),
|
|
12875
12875
|
permissions: (c == null ? void 0 : c.permissions) ?? (s == null ? void 0 : s.permissions) ?? [],
|
|
@@ -21317,7 +21317,7 @@ const Vi = Te({
|
|
|
21317
21317
|
var _, I, $;
|
|
21318
21318
|
let E = n.label ?? (n.variant == "page" ? (_ = s == null ? void 0 : s.meta) == null ? void 0 : _.displayName : void 0) ?? u(n.nav ?? n.bladeName ?? "");
|
|
21319
21319
|
return n.showCount == !0 && ((I = m.filteredItems.value) == null ? void 0 : I.length) != null && (($ = m.asyncItems.value) == null ? void 0 : $.length) != null && (E = `${E} (${m.filteredItems.value.length} of ${m.asyncItems.value.length})`), E;
|
|
21320
|
-
}), p = D(() => n.variant == "dialog" && (n.canSearch ||
|
|
21320
|
+
}), p = D(() => n.variant == "dialog" && (n.canSearch || lt(n.searchProps))), T = D(() => n.variant == "inline" && (n.canSearch || lt(n.searchProps))), k = D(() => {
|
|
21321
21321
|
if (n.actualHeight != null)
|
|
21322
21322
|
return `height: calc(${n.actualHeight})`;
|
|
21323
21323
|
if (n.actualUsedHeight != null)
|
|
@@ -21333,17 +21333,17 @@ const Vi = Te({
|
|
|
21333
21333
|
if (n.selectSingle && !Array.isArray(_) && (_ = [_]), n.returnIndex && n.returnCSV)
|
|
21334
21334
|
return _.map(($) => Number.parseInt($));
|
|
21335
21335
|
let I = [];
|
|
21336
|
-
return n.itemValue != null &&
|
|
21336
|
+
return n.itemValue != null && lt(_) ? m.filteredItems.value.forEach(($) => {
|
|
21337
21337
|
const H = i($, n.itemValue);
|
|
21338
21338
|
_.some((F) => F == H) && I.push($);
|
|
21339
|
-
}) : n.itemValue == null && I.push(..._), n.selectSingle ?
|
|
21339
|
+
}) : n.itemValue == null && I.push(..._), n.selectSingle ? lt(I) ? [I[0]] : [] : I;
|
|
21340
21340
|
},
|
|
21341
21341
|
set(E) {
|
|
21342
21342
|
if (E == null)
|
|
21343
21343
|
a("update:selected", E), A.value = [];
|
|
21344
21344
|
else {
|
|
21345
21345
|
let _ = E;
|
|
21346
|
-
n.returnIndex ? _ = E.map((I) => m.filteredItems.value.indexOf(($) => $ === I)) : n.itemValue != null && (_ = E.map((I) => i(I, n.itemValue))), n.selectSingle ? (_ =
|
|
21346
|
+
n.returnIndex ? _ = E.map((I) => m.filteredItems.value.indexOf(($) => $ === I)) : n.itemValue != null && (_ = E.map((I) => i(I, n.itemValue))), n.selectSingle ? (_ = lt(_) ? _[0] : void 0, A.value = _ != null ? [_] : []) : A.value = _, n.returnCSV && _ != null && (_ = _.toString()), a("update:selected", _), A.value = _;
|
|
21347
21347
|
}
|
|
21348
21348
|
}
|
|
21349
21349
|
});
|
|
@@ -21518,13 +21518,13 @@ const Vi = Te({
|
|
|
21518
21518
|
"hide-on-leave": ""
|
|
21519
21519
|
}, {
|
|
21520
21520
|
default: B(() => [
|
|
21521
|
-
(E.canSearch !== !1 || M(
|
|
21521
|
+
(E.canSearch !== !1 || M(lt)(E.searchProps)) && !M(m).showSearch.value ? (P(), X(we, {
|
|
21522
21522
|
icon: "$magnify",
|
|
21523
21523
|
key: "11",
|
|
21524
21524
|
size: E.size,
|
|
21525
21525
|
onClick: M(m).toggleSearch
|
|
21526
21526
|
}, null, 8, ["size", "onClick"])) : K("", !0),
|
|
21527
|
-
(E.canSearch !== !1 || M(
|
|
21527
|
+
(E.canSearch !== !1 || M(lt)(E.searchProps)) && M(m).showSearch.value ? (P(), X(Ia, {
|
|
21528
21528
|
"onClick:appendInner": M(m).refresh,
|
|
21529
21529
|
"onClick:prependInner": M(m).toggleSearch,
|
|
21530
21530
|
onKeyup: lo(M(m).refresh, ["native", "enter"]),
|
|
@@ -21553,7 +21553,7 @@ const Vi = Te({
|
|
|
21553
21553
|
allItems: M(m).asyncItems.value,
|
|
21554
21554
|
size: E.size
|
|
21555
21555
|
}, void 0, !0),
|
|
21556
|
-
!d.value && M(
|
|
21556
|
+
!d.value && M(lt)(M(m).filters.value) ? (P(), X(ga, {
|
|
21557
21557
|
key: 2,
|
|
21558
21558
|
"close-on-content-click": !1,
|
|
21559
21559
|
density: E.density,
|
|
@@ -21681,7 +21681,7 @@ const Vi = Te({
|
|
|
21681
21681
|
allItems: M(m).asyncItems.value,
|
|
21682
21682
|
items: M(m).filteredItems.value
|
|
21683
21683
|
}, void 0, !0),
|
|
21684
|
-
M(
|
|
21684
|
+
M(lt)(M(m).asyncItems.value) ? E.selectSingle || E.selectMulti || E.showListOnly === !0 || F ? (P(), X(It, {
|
|
21685
21685
|
key: 2,
|
|
21686
21686
|
"active-class": E.activeClass,
|
|
21687
21687
|
class: Je(["pt-0", E.scrollY ? "overflow-y-auto" : ""]),
|
|
@@ -22005,7 +22005,7 @@ const jM = () => {
|
|
|
22005
22005
|
};
|
|
22006
22006
|
function Xi(e, t = UM, a = {}) {
|
|
22007
22007
|
const n = a.onRest || jM, l = z(
|
|
22008
|
-
mn(e) ? e :
|
|
22008
|
+
mn(e) ? e : rt(e)
|
|
22009
22009
|
);
|
|
22010
22010
|
let r = !1, i = 0, o = 0, s;
|
|
22011
22011
|
Se(
|
|
@@ -22046,8 +22046,8 @@ function Xi(e, t = UM, a = {}) {
|
|
|
22046
22046
|
GM(
|
|
22047
22047
|
x,
|
|
22048
22048
|
d,
|
|
22049
|
-
|
|
22050
|
-
|
|
22049
|
+
rt(t),
|
|
22050
|
+
rt(l),
|
|
22051
22051
|
u.value,
|
|
22052
22052
|
f.value,
|
|
22053
22053
|
g,
|
|
@@ -22765,7 +22765,7 @@ const JM = ru("v-alert-title"), QM = ["success", "info", "warning", "error"], eD
|
|
|
22765
22765
|
function y() {
|
|
22766
22766
|
var p;
|
|
22767
22767
|
const C = (p = o.value) == null ? void 0 : p.getVideoTracks();
|
|
22768
|
-
|
|
22768
|
+
lt(C) && (C == null || C.forEach((T) => T.stop()));
|
|
22769
22769
|
}
|
|
22770
22770
|
async function h(C) {
|
|
22771
22771
|
s.value != null && (r.value = C, o.value = await navigator.mediaDevices.getUserMedia({
|
|
@@ -33553,7 +33553,7 @@ const T5 = /* @__PURE__ */ Ke({
|
|
|
33553
33553
|
emits: ["fetched", "saved"],
|
|
33554
33554
|
setup(e, { emit: t }) {
|
|
33555
33555
|
const a = t, n = e, l = Mi(), r = Vy(n, a), i = cl(), o = n.itemText ?? (n.nav != null ? i.findItemText(n.nav) : void 0) ?? void 0, s = D(() => {
|
|
33556
|
-
var c =
|
|
33556
|
+
var c = rt(r.asyncItem);
|
|
33557
33557
|
return n.textFunction != null && (c = n.textFunction(c)), o != null && (c = Da(r.asyncItem.value, o)), n.textFilter != null ? l.findFilter(n.textFilter)(c) : c;
|
|
33558
33558
|
});
|
|
33559
33559
|
return (c, u) => (P(), ie("div", {
|
|
@@ -36213,7 +36213,7 @@ const vE = Te({
|
|
|
36213
36213
|
return a.isArray ? a.modelValue : (m = a.modelValue) == null ? void 0 : m.split(",");
|
|
36214
36214
|
},
|
|
36215
36215
|
set(m) {
|
|
36216
|
-
a.isArray ? n("update:modelValue", m) : n("update:modelValue",
|
|
36216
|
+
a.isArray ? n("update:modelValue", m) : n("update:modelValue", lt(m) ? m.toString() : null);
|
|
36217
36217
|
}
|
|
36218
36218
|
}), r = Ze("isEditing", () => z(!1), !0), i = D(() => a.isEditing ?? r.value), o = Ze("isMobile", () => z(!1), !0), s = Ze("fieldVariant", "underlined"), c = Ze("fieldEditVariant", "outlined"), u = D(() => a.isMobile ?? o.value ? !1 : a.lg), f = D(() => a.isMobile ?? o.value ? !1 : a.md), g = D(() => a.isMobile ?? o.value ? !1 : a.sm);
|
|
36219
36219
|
return (m, y) => (P(), X(ct, {
|
|
@@ -39967,7 +39967,7 @@ const iV = /* @__PURE__ */ Fo(lV, [["render", rV]]), oV = /* @__PURE__ */ Ke({
|
|
|
39967
39967
|
group: ""
|
|
39968
39968
|
}, {
|
|
39969
39969
|
default: B(() => [
|
|
39970
|
-
(S.alwaysOpen || l.value) && M(
|
|
39970
|
+
(S.alwaysOpen || l.value) && M(lt)(S.searchProps) ? (P(), X(Ia, {
|
|
39971
39971
|
"onClick:prependInner": C[2] || (C[2] = (p) => M(s).searchString.value = void 0),
|
|
39972
39972
|
"hide-details": "",
|
|
39973
39973
|
key: "1",
|
|
@@ -40732,11 +40732,11 @@ const mV = /* @__PURE__ */ Ke({
|
|
|
40732
40732
|
emits: ["cancel", "change", "close", "open", "update:modelValue"],
|
|
40733
40733
|
setup(e, { emit: t }) {
|
|
40734
40734
|
const a = e, n = z(null), l = Di(), r = D(() => {
|
|
40735
|
-
const u =
|
|
40735
|
+
const u = rt(n);
|
|
40736
40736
|
if (u != null)
|
|
40737
40737
|
return u.signaturePad.canvas.height / window.devicePixelRatio;
|
|
40738
40738
|
}), i = D(() => {
|
|
40739
|
-
const u =
|
|
40739
|
+
const u = rt(n);
|
|
40740
40740
|
if (u != null)
|
|
40741
40741
|
return u.signaturePad.canvas.width / window.devicePixelRatio;
|
|
40742
40742
|
}), o = D(() => a.lineColor ?? (l.name.value == "dark" ? "white" : "black")), s = D(() => ({
|
|
@@ -40749,7 +40749,7 @@ const mV = /* @__PURE__ */ Ke({
|
|
|
40749
40749
|
f != null && f.length > 0 && (u == null || u.fromData([{ color: o.value, points: c(f) }]));
|
|
40750
40750
|
}
|
|
40751
40751
|
}), Se(() => a.modelValue, (u) => {
|
|
40752
|
-
const f =
|
|
40752
|
+
const f = rt(n);
|
|
40753
40753
|
if (f != null)
|
|
40754
40754
|
if (u == null)
|
|
40755
40755
|
f.clearSignature();
|
|
@@ -40833,12 +40833,12 @@ const mV = /* @__PURE__ */ Ke({
|
|
|
40833
40833
|
}), Se(() => n.openToggle, () => {
|
|
40834
40834
|
h();
|
|
40835
40835
|
}), Se(() => n.modelValue, (v) => {
|
|
40836
|
-
f(
|
|
40836
|
+
f(rt(o), v);
|
|
40837
40837
|
}), Se(() => n.signature, (v) => {
|
|
40838
|
-
f(
|
|
40838
|
+
f(rt(o), v);
|
|
40839
40839
|
});
|
|
40840
40840
|
function g() {
|
|
40841
|
-
const v =
|
|
40841
|
+
const v = rt(o);
|
|
40842
40842
|
if (v != null && !v.isEmpty()) {
|
|
40843
40843
|
const b = v.toData(), d = [];
|
|
40844
40844
|
b.forEach((p) => {
|
|
@@ -40858,7 +40858,7 @@ const mV = /* @__PURE__ */ Ke({
|
|
|
40858
40858
|
a("cancel"), a("close"), i.value = !1;
|
|
40859
40859
|
}
|
|
40860
40860
|
function y() {
|
|
40861
|
-
const v =
|
|
40861
|
+
const v = rt(o);
|
|
40862
40862
|
v != null && !v.isEmpty() && v.clearSignature(), r.value = void 0;
|
|
40863
40863
|
}
|
|
40864
40864
|
function h() {
|
|
@@ -41893,7 +41893,7 @@ const LV = Te({
|
|
|
41893
41893
|
var p, T;
|
|
41894
41894
|
c.name != null && (u.value = n((p = c.name) == null ? void 0 : p.toString(), t.tags).sort(ja.firstBy((k) => k.sort ?? 0)) ?? [], f.value = l((T = c.name) == null ? void 0 : T.toString(), t.tags).sort(ja.firstBy((k) => k.sort ?? 0)) ?? [], a(c.name) && (g.value = !0));
|
|
41895
41895
|
}), (p, T) => (P(), ie("div", null, [
|
|
41896
|
-
M(
|
|
41896
|
+
M(lt)(u.value) || M(lt)(f.value) ? (P(), X(ga, {
|
|
41897
41897
|
key: 0,
|
|
41898
41898
|
"max-width": "450",
|
|
41899
41899
|
"close-on-content-click": !1
|
|
@@ -41949,7 +41949,7 @@ const LV = Te({
|
|
|
41949
41949
|
w(It, { class: "pa-2" }, {
|
|
41950
41950
|
default: B(() => [
|
|
41951
41951
|
ze("div", IV, [
|
|
41952
|
-
M(
|
|
41952
|
+
M(lt)(u.value) ? (P(), X(hn, { key: 0 }, {
|
|
41953
41953
|
default: B(() => [
|
|
41954
41954
|
Ne(" Relevant Links ")
|
|
41955
41955
|
]),
|
|
@@ -41976,7 +41976,7 @@ const LV = Te({
|
|
|
41976
41976
|
title: k.title,
|
|
41977
41977
|
subtitle: k.subtitle
|
|
41978
41978
|
}, null, 8, ["prepend-icon", "href", "text", "append-avatar", "title", "subtitle"]))), 128)),
|
|
41979
|
-
M(
|
|
41979
|
+
M(lt)(f.value) ? (P(), X(hn, { key: 0 }, {
|
|
41980
41980
|
default: B(() => [
|
|
41981
41981
|
Ne("Other Helpful Links")
|
|
41982
41982
|
]),
|
|
@@ -42161,7 +42161,7 @@ const LV = Te({
|
|
|
42161
42161
|
w(wl),
|
|
42162
42162
|
w(It, { class: "pa-2" }, {
|
|
42163
42163
|
default: B(() => [
|
|
42164
|
-
M(
|
|
42164
|
+
M(lt)(u.value) ? (P(), X(hn, { key: 0 }, {
|
|
42165
42165
|
default: B(() => [
|
|
42166
42166
|
Ne(" Relevant Links ")
|
|
42167
42167
|
]),
|
|
@@ -42178,7 +42178,7 @@ const LV = Te({
|
|
|
42178
42178
|
title: k.title,
|
|
42179
42179
|
subtitle: k.subtitle
|
|
42180
42180
|
}, null, 8, ["prepend-icon", "href", "text", "append-avatar", "title", "subtitle"]))), 128)),
|
|
42181
|
-
M(
|
|
42181
|
+
M(lt)(f.value) ? (P(), X(hn, { key: 1 }, {
|
|
42182
42182
|
default: B(() => [
|
|
42183
42183
|
Ne("Other Helpful Links")
|
|
42184
42184
|
]),
|
|
@@ -42420,7 +42420,7 @@ const LV = Te({
|
|
|
42420
42420
|
U.code == 401 && (m.logout(), m.login(location.pathname));
|
|
42421
42421
|
},
|
|
42422
42422
|
onFinishedAsync: async (U) => {
|
|
42423
|
-
if (console.log(`${n.nav} finished async`), console.log(U), n.defaultNew === !0 && !
|
|
42423
|
+
if (console.log(`${n.nav} finished async`), console.log(U), n.defaultNew === !0 && !lt(U))
|
|
42424
42424
|
Me();
|
|
42425
42425
|
else if (h.id.value != null) {
|
|
42426
42426
|
if (h.id.value == "new")
|
|
@@ -42480,7 +42480,7 @@ const LV = Te({
|
|
|
42480
42480
|
item: N.value,
|
|
42481
42481
|
meta: ae.value
|
|
42482
42482
|
}) : n.getLabel != null ? n.getLabel(N.value, d.value) : g(n.nav ?? n.bladeName ?? "");
|
|
42483
|
-
}), Q = D(() => n.variant == "dialog" && (n.canSearch ||
|
|
42483
|
+
}), Q = D(() => n.variant == "dialog" && (n.canSearch || lt(n.searchProps))), q = D(() => n.variant == "inline" && (n.canSearch || lt(n.searchProps))), Z = D(() => {
|
|
42484
42484
|
if (n.actualHeight != null)
|
|
42485
42485
|
return `height: calc(${n.actualHeight})`;
|
|
42486
42486
|
if (n.actualUsedHeight != null)
|
|
@@ -42740,13 +42740,13 @@ const LV = Te({
|
|
|
42740
42740
|
"hide-on-leave": ""
|
|
42741
42741
|
}, {
|
|
42742
42742
|
default: B(() => [
|
|
42743
|
-
(U.canSearch !== !1 || M(
|
|
42743
|
+
(U.canSearch !== !1 || M(lt)(U.searchProps)) && !M(h).showSearch.value ? (P(), X(we, {
|
|
42744
42744
|
icon: "$magnify",
|
|
42745
42745
|
key: "11",
|
|
42746
42746
|
size: U.size,
|
|
42747
42747
|
onClick: M(h).toggleSearch
|
|
42748
42748
|
}, null, 8, ["size", "onClick"])) : K("", !0),
|
|
42749
|
-
(U.canSearch !== !1 || M(
|
|
42749
|
+
(U.canSearch !== !1 || M(lt)(U.searchProps)) && M(h).showSearch.value ? (P(), X(Ia, {
|
|
42750
42750
|
"onClick:appendInner": M(h).refresh,
|
|
42751
42751
|
"onClick:prependInner": M(h).toggleSearch,
|
|
42752
42752
|
onKeyup: lo(M(h).refresh, ["native", "enter"]),
|
|
@@ -42775,7 +42775,7 @@ const LV = Te({
|
|
|
42775
42775
|
allItems: M(h).asyncItems.value,
|
|
42776
42776
|
size: U.size
|
|
42777
42777
|
}, void 0, !0),
|
|
42778
|
-
!I.value && M(
|
|
42778
|
+
!I.value && M(lt)(M(h).filters.value) ? (P(), X(ga, {
|
|
42779
42779
|
key: 2,
|
|
42780
42780
|
"close-on-content-click": !1,
|
|
42781
42781
|
density: U.density,
|
|
@@ -42956,7 +42956,7 @@ const LV = Te({
|
|
|
42956
42956
|
w(wi, null, {
|
|
42957
42957
|
default: B(() => [
|
|
42958
42958
|
ve(U.$slots, "firstStep", {}, () => [
|
|
42959
|
-
M(
|
|
42959
|
+
M(lt)(M(h).asyncItems.value) ? U.showListOnly || $e ? (P(), X(It, {
|
|
42960
42960
|
key: 1,
|
|
42961
42961
|
"active-class": U.activeClass,
|
|
42962
42962
|
class: Je(["pt-0", U.scrollY ? "overflow-y-auto" : ""]),
|
|
@@ -43409,7 +43409,7 @@ const LV = Te({
|
|
|
43409
43409
|
}, {
|
|
43410
43410
|
default: B(() => [
|
|
43411
43411
|
ze("div", ZV, [
|
|
43412
|
-
M(
|
|
43412
|
+
M(lt)(a.value.searchProps) ? (P(), X(Ia, {
|
|
43413
43413
|
key: 0,
|
|
43414
43414
|
autofocus: "",
|
|
43415
43415
|
"hide-details": "",
|
|
@@ -43427,8 +43427,8 @@ const LV = Te({
|
|
|
43427
43427
|
]),
|
|
43428
43428
|
_: 1
|
|
43429
43429
|
}, 8, ["modelValue"])) : K("", !0),
|
|
43430
|
-
M(
|
|
43431
|
-
M(
|
|
43430
|
+
M(lt)(a.value.searchProps) ? K("", !0) : (P(), X(ha, { key: 1 })),
|
|
43431
|
+
M(lt)(a.value.searchProps) ? K("", !0) : (P(), X(we, {
|
|
43432
43432
|
key: 2,
|
|
43433
43433
|
onClick: h[2] || (h[2] = va((d) => M(i).refresh({ deepRefresh: !0 }), ["stop"])),
|
|
43434
43434
|
icon: "$refresh",
|
|
@@ -43526,7 +43526,7 @@ const LV = Te({
|
|
|
43526
43526
|
var d;
|
|
43527
43527
|
if (_a(i.value))
|
|
43528
43528
|
return !1;
|
|
43529
|
-
if (
|
|
43529
|
+
if (lt(n.value.rules)) {
|
|
43530
43530
|
let x;
|
|
43531
43531
|
if ((d = n.value.rules) == null || d.forEach((S) => {
|
|
43532
43532
|
let C = S(i.value);
|
|
@@ -43862,7 +43862,7 @@ export {
|
|
|
43862
43862
|
G$ as guardRoute,
|
|
43863
43863
|
Ik as hasSearch,
|
|
43864
43864
|
Sk as isArrayOfLength,
|
|
43865
|
-
|
|
43865
|
+
lt as isLengthyArray,
|
|
43866
43866
|
Ck as isMinDate,
|
|
43867
43867
|
_a as isNullOrEmpty,
|
|
43868
43868
|
Tk as isSameDownToHour,
|
package/package.json
CHANGED