bt-core-app 1.4.215 → 1.4.217
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 +270 -270
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ng = Object.defineProperty;
|
|
2
2
|
var ag = (e, t, n) => t in e ? ng(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Ee = (e, t, n) => (ag(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { ref as Y, shallowRef as Ve, computed as C, toValue as
|
|
4
|
+
import { ref as Y, shallowRef as Ve, computed as C, toValue as Je, watch as De, onMounted as Tt, onScopeDispose as on, effectScope as eu, Fragment as Ce, reactive as In, watchEffect as Dn, toRefs as tu, capitalize as Ul, isVNode as rg, Comment as lg, unref as A, warn as ql, provide as an, inject as Be, defineComponent as je, camelize as Sf, h as tr, getCurrentInstance as ig, toRaw as wn, createVNode as S, mergeProps as be, onBeforeUnmount as En, readonly as nu, onDeactivated as sg, onActivated as og, nextTick as dt, TransitionGroup as au, Transition as pn, isRef as Ia, toRef as Pe, onBeforeMount as kf, withDirectives as en, resolveDirective as nr, vShow as ca, onUpdated as Cf, Text as ug, resolveDynamicComponent as Gl, markRaw as cg, Teleport as xf, cloneVNode as dg, createTextVNode as Xe, onBeforeUpdate as Tf, vModelText as fg, resolveComponent as Gr, openBlock as z, createBlock as se, withCtx as j, renderSlot as me, createCommentVNode as re, createElementBlock as ie, renderList as Qe, withKeys as Ge, toDisplayString as Ye, normalizeStyle as Xt, withModifiers as gt, createElementVNode as ze, normalizeClass as tt, useSlots as Cr, onUnmounted as ls, createSlots as vn, normalizeProps as At, guardReactiveProps as Ut, render as gc, getCurrentScope as mg, getTransitionRawChildren as vg } from "vue";
|
|
5
5
|
import { watchArray as Mf, useStorage as hg, useEventListener as hn, toValue as na, useParentElement as yg, useResizeObserver as gg, useArrayUnique as bg, useArrayDifference as bc, watchDebounced as wg, useFocus as pg, tryOnMounted as Sg } from "@vueuse/core";
|
|
6
6
|
import { defineStore as Af } from "pinia";
|
|
7
7
|
import { useRouter as is, useRoute as ru } from "vue-router";
|
|
@@ -6354,7 +6354,7 @@ var Im = { exports: {} };
|
|
|
6354
6354
|
function Ae() {
|
|
6355
6355
|
return typeof openDatabase == "function";
|
|
6356
6356
|
}
|
|
6357
|
-
var ge = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", xe = "~~local_forage_type~", he = /^~~local_forage_type~([^~]+)~/, ht = "__lfsc__:", nt = ht.length, Pt = "arbf", at = "blob", fn = "si08", kn = "ui08", rn = "uic8", Nt = "si16", Cn = "si32", Ra = "ur16", ka = "ui32", Ca = "fl32", xa = "fl64",
|
|
6357
|
+
var ge = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", xe = "~~local_forage_type~", he = /^~~local_forage_type~([^~]+)~/, ht = "__lfsc__:", nt = ht.length, Pt = "arbf", at = "blob", fn = "si08", kn = "ui08", rn = "uic8", Nt = "si16", Cn = "si32", Ra = "ur16", ka = "ui32", Ca = "fl32", xa = "fl64", fe = nt + Pt.length, K = Object.prototype.toString;
|
|
6358
6358
|
function oe(L) {
|
|
6359
6359
|
var G = L.length * 0.75, O = L.length, X, te = 0, Q, ce, ye, pe;
|
|
6360
6360
|
L[L.length - 1] === "=" && (G--, L[L.length - 2] === "=" && G--);
|
|
@@ -6387,10 +6387,10 @@ var Im = { exports: {} };
|
|
|
6387
6387
|
console.error("Couldn't convert value into a JSON string: ", L), G(null, ce);
|
|
6388
6388
|
}
|
|
6389
6389
|
}
|
|
6390
|
-
function
|
|
6390
|
+
function de(L) {
|
|
6391
6391
|
if (L.substring(0, nt) !== ht)
|
|
6392
6392
|
return JSON.parse(L);
|
|
6393
|
-
var G = L.substring(
|
|
6393
|
+
var G = L.substring(fe), O = L.substring(nt, fe), X;
|
|
6394
6394
|
if (O === at && he.test(G)) {
|
|
6395
6395
|
var te = G.match(he);
|
|
6396
6396
|
X = te[1], G = G.substring(te[0].length);
|
|
@@ -6425,7 +6425,7 @@ var Im = { exports: {} };
|
|
|
6425
6425
|
}
|
|
6426
6426
|
var Le = {
|
|
6427
6427
|
serialize: He,
|
|
6428
|
-
deserialize:
|
|
6428
|
+
deserialize: de,
|
|
6429
6429
|
stringToBuffer: oe,
|
|
6430
6430
|
bufferToString: Te
|
|
6431
6431
|
};
|
|
@@ -7098,7 +7098,7 @@ function O0(e) {
|
|
|
7098
7098
|
return W0(t);
|
|
7099
7099
|
}
|
|
7100
7100
|
const z0 = (e) => {
|
|
7101
|
-
let t =
|
|
7101
|
+
let t = Je(e.url) ?? void 0;
|
|
7102
7102
|
if (e.additionalUrl != null && (t == null ? t = e.additionalUrl : t = Va(t, e.additionalUrl)), e.id != null && (t != null && t.includes("{id}") ? t = t.replaceAll("{id}", e.id) : t = Va(t, e.id)), e.params != null) {
|
|
7103
7103
|
t ?? (t = "");
|
|
7104
7104
|
let n = new URLSearchParams();
|
|
@@ -7305,9 +7305,9 @@ function Kc(e) {
|
|
|
7305
7305
|
async function d() {
|
|
7306
7306
|
if (s == !0) {
|
|
7307
7307
|
const p = {
|
|
7308
|
-
meta:
|
|
7309
|
-
data:
|
|
7310
|
-
count:
|
|
7308
|
+
meta: Je(l),
|
|
7309
|
+
data: Je(t) ?? [],
|
|
7310
|
+
count: Je(n) ?? 0,
|
|
7311
7311
|
filters: []
|
|
7312
7312
|
};
|
|
7313
7313
|
try {
|
|
@@ -7515,7 +7515,7 @@ function Y0(e) {
|
|
|
7515
7515
|
}), o.toString();
|
|
7516
7516
|
}
|
|
7517
7517
|
function i(c) {
|
|
7518
|
-
let o =
|
|
7518
|
+
let o = Je(c.url) ?? void 0, y = Je(c.id);
|
|
7519
7519
|
return o == null && (e == null ? void 0 : e.findPath) != null && (o = e.findPath(c.nav)), c.additionalUrl != null && (o == null ? o = c.additionalUrl : o = Va(o, c.additionalUrl)), y != null && (o != null && o.includes("{id}") ? o = o.replaceAll("{id}", y) : o = Va(o, y)), c.params != null && (o = `${o}?${n(c.params)}`), c.finalUrl = o, c.finalUrl ?? "";
|
|
7520
7520
|
}
|
|
7521
7521
|
function s(c) {
|
|
@@ -7863,7 +7863,7 @@ function U0(e) {
|
|
|
7863
7863
|
return !1;
|
|
7864
7864
|
if (w.requiresAuth === !1)
|
|
7865
7865
|
return !0;
|
|
7866
|
-
const D =
|
|
7866
|
+
const D = Je(r);
|
|
7867
7867
|
if (D.isSuspended && w.ignoreSuspension !== !0)
|
|
7868
7868
|
return !1;
|
|
7869
7869
|
if (D.isGlobalAdmin)
|
|
@@ -7876,7 +7876,7 @@ function U0(e) {
|
|
|
7876
7876
|
return !0;
|
|
7877
7877
|
}
|
|
7878
7878
|
function i(h) {
|
|
7879
|
-
const w =
|
|
7879
|
+
const w = Je(r);
|
|
7880
7880
|
if (w.userPermissions != null)
|
|
7881
7881
|
for (var D = 0; D < w.userPermissions.length; D++) {
|
|
7882
7882
|
var _ = w.userPermissions[D].split(".");
|
|
@@ -7893,7 +7893,7 @@ function U0(e) {
|
|
|
7893
7893
|
return !1;
|
|
7894
7894
|
if (w.requiresAuth === !1)
|
|
7895
7895
|
return !0;
|
|
7896
|
-
const D =
|
|
7896
|
+
const D = Je(r);
|
|
7897
7897
|
if (D.isSuspended && w.ignoreSuspension !== !0)
|
|
7898
7898
|
return !1;
|
|
7899
7899
|
if (D.isGlobalAdmin)
|
|
@@ -7906,7 +7906,7 @@ function U0(e) {
|
|
|
7906
7906
|
return !0;
|
|
7907
7907
|
}
|
|
7908
7908
|
function u(h) {
|
|
7909
|
-
const w =
|
|
7909
|
+
const w = Je(r);
|
|
7910
7910
|
if (w.userPermissions != null)
|
|
7911
7911
|
for (var D = 0; D < w.userPermissions.length; D++) {
|
|
7912
7912
|
var _ = w.userPermissions[D].split(".");
|
|
@@ -7917,7 +7917,7 @@ function U0(e) {
|
|
|
7917
7917
|
}
|
|
7918
7918
|
function d(h, w, D) {
|
|
7919
7919
|
let _ = !0;
|
|
7920
|
-
return
|
|
7920
|
+
return Je(r).isGlobalAdmin ? !0 : (w != null && w.length > 0 && w.forEach(($) => {
|
|
7921
7921
|
D == "edit" ? i($) || (_ = !1) : u($) || (_ = !1);
|
|
7922
7922
|
}), h != null && h.length > 0 && (h.some(($) => c($)) || (_ = !1)), _);
|
|
7923
7923
|
}
|
|
@@ -7942,7 +7942,7 @@ function U0(e) {
|
|
|
7942
7942
|
return h == null ? 0 : ((D = (e.subscriptionOptions ?? []).find((_) => _.code == h)) == null ? void 0 : D.value) ?? 0;
|
|
7943
7943
|
}
|
|
7944
7944
|
function c(h) {
|
|
7945
|
-
const w =
|
|
7945
|
+
const w = Je(r);
|
|
7946
7946
|
if (w.subscriptionCode == null)
|
|
7947
7947
|
return !1;
|
|
7948
7948
|
if (w.subscriptionCode == h)
|
|
@@ -7963,7 +7963,7 @@ function U0(e) {
|
|
|
7963
7963
|
}
|
|
7964
7964
|
function g(h) {
|
|
7965
7965
|
var D;
|
|
7966
|
-
|
|
7966
|
+
Je(r).isLoggedIn || ((D = e.demo) == null || D.endDemo(), b() && (y(), window.location.href = f(h)));
|
|
7967
7967
|
}
|
|
7968
7968
|
async function p(h, w) {
|
|
7969
7969
|
return e.getToken ?? (e.getToken = async () => {
|
|
@@ -7999,11 +7999,11 @@ function U0(e) {
|
|
|
7999
7999
|
r.value ?? (r.value = {}), (h = r.value).timeZone ?? (h.timeZone = e.defaultTimeZone ?? Hs);
|
|
8000
8000
|
}
|
|
8001
8001
|
function x() {
|
|
8002
|
-
const h =
|
|
8002
|
+
const h = Je(r);
|
|
8003
8003
|
return h.isLoggedIn && b() && (y(), window.location.href = f()), h.isLoggedIn;
|
|
8004
8004
|
}
|
|
8005
8005
|
function b() {
|
|
8006
|
-
const h =
|
|
8006
|
+
const h = Je(r);
|
|
8007
8007
|
if (h == null || h.expiresOn == null)
|
|
8008
8008
|
return !0;
|
|
8009
8009
|
const w = Oe.fromFormat(h.expiresOn, t), D = Oe.utc();
|
|
@@ -8037,11 +8037,11 @@ function q0(e, t, n = {}) {
|
|
|
8037
8037
|
} = n, i = { capture: n.capture ?? !0 };
|
|
8038
8038
|
let s = { x: 0, y: 0 }, u = { x: 0, y: 0 }, d = { x: 0, y: 0 }, m = [], f = [], v = Y(!1);
|
|
8039
8039
|
function c(T) {
|
|
8040
|
-
|
|
8040
|
+
Je(a) && T.preventDefault(), Je(r) && T.stopPropagation();
|
|
8041
8041
|
}
|
|
8042
8042
|
function o(T) {
|
|
8043
8043
|
var D;
|
|
8044
|
-
const x =
|
|
8044
|
+
const x = Je(e);
|
|
8045
8045
|
if (!x)
|
|
8046
8046
|
return;
|
|
8047
8047
|
const b = x.$el, w = T.type === "touchstart" && T.touches.length > 0 ? T.touches[0] : T;
|
|
@@ -8055,7 +8055,7 @@ function q0(e, t, n = {}) {
|
|
|
8055
8055
|
}
|
|
8056
8056
|
function y(T) {
|
|
8057
8057
|
var _;
|
|
8058
|
-
if (!d || !
|
|
8058
|
+
if (!d || !Je(e))
|
|
8059
8059
|
return;
|
|
8060
8060
|
const h = T.type === "touchmove" && T.touches.length > 0 ? T.touches[0] : T;
|
|
8061
8061
|
let w = h.clientX - d.x, D = h.clientY - d.y;
|
|
@@ -8068,25 +8068,25 @@ function q0(e, t, n = {}) {
|
|
|
8068
8068
|
}), f.length = 0, (x = n.onEnd) == null || x.call(n, s, T), c(T);
|
|
8069
8069
|
}
|
|
8070
8070
|
function p(T) {
|
|
8071
|
-
const x =
|
|
8071
|
+
const x = Je(e);
|
|
8072
8072
|
if (!x)
|
|
8073
8073
|
return;
|
|
8074
8074
|
const b = x.$el;
|
|
8075
8075
|
b.style.left = `${T.x}px`, b.style.top = `${T.y}px`;
|
|
8076
8076
|
}
|
|
8077
8077
|
function M() {
|
|
8078
|
-
if (
|
|
8078
|
+
if (Je(v))
|
|
8079
8079
|
return;
|
|
8080
|
-
const T =
|
|
8080
|
+
const T = Je(t);
|
|
8081
8081
|
if (!T)
|
|
8082
8082
|
return;
|
|
8083
8083
|
const x = T.$el;
|
|
8084
8084
|
x.style.cursor = "move", m.push(hn(x, "mousedown", o, i)), m.push(hn(x, "touchstart", o, i)), v.value = !0;
|
|
8085
8085
|
}
|
|
8086
8086
|
function k() {
|
|
8087
|
-
if (!
|
|
8087
|
+
if (!Je(v))
|
|
8088
8088
|
return;
|
|
8089
|
-
const T =
|
|
8089
|
+
const T = Je(t);
|
|
8090
8090
|
if (!T)
|
|
8091
8091
|
return;
|
|
8092
8092
|
const x = T.$el;
|
|
@@ -9368,7 +9368,7 @@ function ke(e, t) {
|
|
|
9368
9368
|
} : a[r] = i, t && !a[r].source && (a[r].source = t), a;
|
|
9369
9369
|
}, {});
|
|
9370
9370
|
}
|
|
9371
|
-
const
|
|
9371
|
+
const Ke = ke({
|
|
9372
9372
|
class: [String, Array, Object],
|
|
9373
9373
|
style: {
|
|
9374
9374
|
type: [String, Array, Object],
|
|
@@ -9469,7 +9469,7 @@ function cl(e) {
|
|
|
9469
9469
|
}
|
|
9470
9470
|
function Fe() {
|
|
9471
9471
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
9472
|
-
return (t) => (e ? cl :
|
|
9472
|
+
return (t) => (e ? cl : je)(t);
|
|
9473
9473
|
}
|
|
9474
9474
|
function fs(e) {
|
|
9475
9475
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0;
|
|
@@ -9480,7 +9480,7 @@ function fs(e) {
|
|
|
9480
9480
|
type: String,
|
|
9481
9481
|
default: t
|
|
9482
9482
|
},
|
|
9483
|
-
...
|
|
9483
|
+
...Ke()
|
|
9484
9484
|
},
|
|
9485
9485
|
setup(a, r) {
|
|
9486
9486
|
let {
|
|
@@ -11320,7 +11320,7 @@ const Vt = ke({
|
|
|
11320
11320
|
}
|
|
11321
11321
|
}, "tag"), lp = ke({
|
|
11322
11322
|
text: String,
|
|
11323
|
-
...
|
|
11323
|
+
...Ke(),
|
|
11324
11324
|
...Vt()
|
|
11325
11325
|
}, "VToolbarTitle"), uv = Fe()({
|
|
11326
11326
|
name: "VToolbarTitle",
|
|
@@ -11655,7 +11655,7 @@ const hv = ke({
|
|
|
11655
11655
|
aspectRatio: [String, Number],
|
|
11656
11656
|
contentClass: null,
|
|
11657
11657
|
inline: Boolean,
|
|
11658
|
-
...
|
|
11658
|
+
...Ke(),
|
|
11659
11659
|
...La()
|
|
11660
11660
|
}, "VResponsive"), Pd = Fe()({
|
|
11661
11661
|
name: "VResponsive",
|
|
@@ -11843,7 +11843,7 @@ const mp = {
|
|
|
11843
11843
|
srcset: String,
|
|
11844
11844
|
position: String,
|
|
11845
11845
|
...hv(),
|
|
11846
|
-
...
|
|
11846
|
+
...Ke(),
|
|
11847
11847
|
...Sn(),
|
|
11848
11848
|
...fl()
|
|
11849
11849
|
}, "VImg"), ni = Fe()({
|
|
@@ -12096,7 +12096,7 @@ const hp = [null, "prominent", "default", "comfortable", "compact"], yp = ke({
|
|
|
12096
12096
|
image: String,
|
|
12097
12097
|
title: String,
|
|
12098
12098
|
...Na(),
|
|
12099
|
-
...
|
|
12099
|
+
...Ke(),
|
|
12100
12100
|
...pa(),
|
|
12101
12101
|
...Sn(),
|
|
12102
12102
|
...Vt({
|
|
@@ -12279,7 +12279,7 @@ const bv = ke({
|
|
|
12279
12279
|
baseColor: String,
|
|
12280
12280
|
divided: Boolean,
|
|
12281
12281
|
...Na(),
|
|
12282
|
-
...
|
|
12282
|
+
...Ke(),
|
|
12283
12283
|
...$n(),
|
|
12284
12284
|
...pa(),
|
|
12285
12285
|
...Sn(),
|
|
@@ -12539,7 +12539,7 @@ const Cp = ke({
|
|
|
12539
12539
|
start: Boolean,
|
|
12540
12540
|
end: Boolean,
|
|
12541
12541
|
icon: ot,
|
|
12542
|
-
...
|
|
12542
|
+
...Ke(),
|
|
12543
12543
|
...hl(),
|
|
12544
12544
|
...Vt({
|
|
12545
12545
|
tag: "i"
|
|
@@ -12626,7 +12626,7 @@ const xp = ke({
|
|
|
12626
12626
|
type: [Number, String],
|
|
12627
12627
|
default: 4
|
|
12628
12628
|
},
|
|
12629
|
-
...
|
|
12629
|
+
...Ke(),
|
|
12630
12630
|
...hl(),
|
|
12631
12631
|
...Vt({
|
|
12632
12632
|
tag: "div"
|
|
@@ -12779,7 +12779,7 @@ const Tp = ke({
|
|
|
12779
12779
|
stream: Boolean,
|
|
12780
12780
|
striped: Boolean,
|
|
12781
12781
|
roundedBar: Boolean,
|
|
12782
|
-
...
|
|
12782
|
+
...Ke(),
|
|
12783
12783
|
...hs({
|
|
12784
12784
|
location: "top"
|
|
12785
12785
|
}),
|
|
@@ -13212,7 +13212,7 @@ const ri = {
|
|
|
13212
13212
|
},
|
|
13213
13213
|
text: String,
|
|
13214
13214
|
...Na(),
|
|
13215
|
-
...
|
|
13215
|
+
...Ke(),
|
|
13216
13216
|
...$n(),
|
|
13217
13217
|
...La(),
|
|
13218
13218
|
...pa(),
|
|
@@ -13402,7 +13402,7 @@ const ri = {
|
|
|
13402
13402
|
type: String,
|
|
13403
13403
|
validator: (e) => Rp.includes(e)
|
|
13404
13404
|
},
|
|
13405
|
-
...
|
|
13405
|
+
...Ke(),
|
|
13406
13406
|
...$n(),
|
|
13407
13407
|
...La(),
|
|
13408
13408
|
...pa(),
|
|
@@ -13544,7 +13544,7 @@ const ri = {
|
|
|
13544
13544
|
icon: ot,
|
|
13545
13545
|
image: String,
|
|
13546
13546
|
text: String,
|
|
13547
|
-
...
|
|
13547
|
+
...Ke(),
|
|
13548
13548
|
...$n(),
|
|
13549
13549
|
...Sn(),
|
|
13550
13550
|
...hl(),
|
|
@@ -13608,7 +13608,7 @@ const ri = {
|
|
|
13608
13608
|
}), zp = ke({
|
|
13609
13609
|
text: String,
|
|
13610
13610
|
onClick: Gn(),
|
|
13611
|
-
...
|
|
13611
|
+
...Ke(),
|
|
13612
13612
|
...Ht()
|
|
13613
13613
|
}, "VLabel"), Pv = Fe()({
|
|
13614
13614
|
name: "VLabel",
|
|
@@ -13659,7 +13659,7 @@ const ri = {
|
|
|
13659
13659
|
type: Function,
|
|
13660
13660
|
default: ul
|
|
13661
13661
|
},
|
|
13662
|
-
...
|
|
13662
|
+
...Ke(),
|
|
13663
13663
|
...$n(),
|
|
13664
13664
|
...Ht()
|
|
13665
13665
|
}, "SelectionControlGroup"), Wp = ke({
|
|
@@ -13723,7 +13723,7 @@ const Lu = ke({
|
|
|
13723
13723
|
trueValue: null,
|
|
13724
13724
|
falseValue: null,
|
|
13725
13725
|
value: null,
|
|
13726
|
-
...
|
|
13726
|
+
...Ke(),
|
|
13727
13727
|
...$v()
|
|
13728
13728
|
}, "VSelectionControl");
|
|
13729
13729
|
function Yp(e) {
|
|
@@ -13946,7 +13946,7 @@ const Up = ke({
|
|
|
13946
13946
|
type: [Array, String],
|
|
13947
13947
|
default: () => []
|
|
13948
13948
|
},
|
|
13949
|
-
...
|
|
13949
|
+
...Ke(),
|
|
13950
13950
|
...fl({
|
|
13951
13951
|
transition: {
|
|
13952
13952
|
component: ti,
|
|
@@ -14243,7 +14243,7 @@ const ii = ke({
|
|
|
14243
14243
|
},
|
|
14244
14244
|
"onClick:prepend": Gn(),
|
|
14245
14245
|
"onClick:append": Gn(),
|
|
14246
|
-
...
|
|
14246
|
+
...Ke(),
|
|
14247
14247
|
...$n(),
|
|
14248
14248
|
...rb(La(), ["maxWidth", "minWidth", "width"]),
|
|
14249
14249
|
...Ht(),
|
|
@@ -14465,7 +14465,7 @@ const nS = Symbol.for("vuetify:v-slide-group"), zv = ke({
|
|
|
14465
14465
|
type: [Boolean, String],
|
|
14466
14466
|
validator: (e) => typeof e == "boolean" || ["always", "desktop", "mobile"].includes(e)
|
|
14467
14467
|
},
|
|
14468
|
-
...
|
|
14468
|
+
...Ke(),
|
|
14469
14469
|
...lv({
|
|
14470
14470
|
mobile: null
|
|
14471
14471
|
}),
|
|
@@ -14697,7 +14697,7 @@ const nS = Symbol.for("vuetify:v-slide-group"), zv = ke({
|
|
|
14697
14697
|
default: ul
|
|
14698
14698
|
},
|
|
14699
14699
|
...zv(),
|
|
14700
|
-
...
|
|
14700
|
+
...Ke(),
|
|
14701
14701
|
...Du({
|
|
14702
14702
|
selectedClass: "v-chip--selected"
|
|
14703
14703
|
}),
|
|
@@ -14794,7 +14794,7 @@ const rS = ke({
|
|
|
14794
14794
|
onClick: Gn(),
|
|
14795
14795
|
onClickOnce: Gn(),
|
|
14796
14796
|
...Na(),
|
|
14797
|
-
...
|
|
14797
|
+
...Ke(),
|
|
14798
14798
|
...$n(),
|
|
14799
14799
|
...pa(),
|
|
14800
14800
|
...wv(),
|
|
@@ -15523,7 +15523,7 @@ const Nu = (e) => {
|
|
|
15523
15523
|
subgroup: Boolean,
|
|
15524
15524
|
title: String,
|
|
15525
15525
|
value: null,
|
|
15526
|
-
...
|
|
15526
|
+
...Ke(),
|
|
15527
15527
|
...Vt()
|
|
15528
15528
|
}, "VListGroup"), zo = Fe()({
|
|
15529
15529
|
name: "VListGroup",
|
|
@@ -15597,7 +15597,7 @@ const Nu = (e) => {
|
|
|
15597
15597
|
}
|
|
15598
15598
|
}), gS = ke({
|
|
15599
15599
|
opacity: [Number, String],
|
|
15600
|
-
...
|
|
15600
|
+
...Ke(),
|
|
15601
15601
|
...Vt()
|
|
15602
15602
|
}, "VListItemSubtitle"), Qa = Fe()({
|
|
15603
15603
|
name: "VListItemSubtitle",
|
|
@@ -15644,7 +15644,7 @@ const Nu = (e) => {
|
|
|
15644
15644
|
onClick: Gn(),
|
|
15645
15645
|
onClickOnce: Gn(),
|
|
15646
15646
|
...Na(),
|
|
15647
|
-
...
|
|
15647
|
+
...Ke(),
|
|
15648
15648
|
...$n(),
|
|
15649
15649
|
...La(),
|
|
15650
15650
|
...pa(),
|
|
@@ -15848,7 +15848,7 @@ const Nu = (e) => {
|
|
|
15848
15848
|
inset: Boolean,
|
|
15849
15849
|
sticky: Boolean,
|
|
15850
15850
|
title: String,
|
|
15851
|
-
...
|
|
15851
|
+
...Ke(),
|
|
15852
15852
|
...Vt()
|
|
15853
15853
|
}, "VListSubheader"), Qv = Fe()({
|
|
15854
15854
|
name: "VListSubheader",
|
|
@@ -15888,7 +15888,7 @@ const Nu = (e) => {
|
|
|
15888
15888
|
opacity: [Number, String],
|
|
15889
15889
|
thickness: [Number, String],
|
|
15890
15890
|
vertical: Boolean,
|
|
15891
|
-
...
|
|
15891
|
+
...Ke(),
|
|
15892
15892
|
...Ht()
|
|
15893
15893
|
}, "VDivider"), Xv = Fe()({
|
|
15894
15894
|
name: "VDivider",
|
|
@@ -16136,7 +16136,7 @@ const TS = ke({
|
|
|
16136
16136
|
openStrategy: "list"
|
|
16137
16137
|
}),
|
|
16138
16138
|
...Na(),
|
|
16139
|
-
...
|
|
16139
|
+
...Ke(),
|
|
16140
16140
|
...$n(),
|
|
16141
16141
|
...La(),
|
|
16142
16142
|
...pa(),
|
|
@@ -17015,7 +17015,7 @@ const fh = ke({
|
|
|
17015
17015
|
default: 2e3
|
|
17016
17016
|
},
|
|
17017
17017
|
...RS(),
|
|
17018
|
-
...
|
|
17018
|
+
...Ke(),
|
|
17019
17019
|
...La(),
|
|
17020
17020
|
...zS(),
|
|
17021
17021
|
...AS(),
|
|
@@ -17407,7 +17407,7 @@ const KS = ke({
|
|
|
17407
17407
|
type: [Number, String],
|
|
17408
17408
|
default: 0
|
|
17409
17409
|
},
|
|
17410
|
-
...
|
|
17410
|
+
...Ke(),
|
|
17411
17411
|
...fl({
|
|
17412
17412
|
transition: {
|
|
17413
17413
|
component: ti
|
|
@@ -17439,7 +17439,7 @@ const KS = ke({
|
|
|
17439
17439
|
}
|
|
17440
17440
|
}), QS = ke({
|
|
17441
17441
|
floating: Boolean,
|
|
17442
|
-
...
|
|
17442
|
+
...Ke()
|
|
17443
17443
|
}, "VFieldLabel"), Mi = Fe()({
|
|
17444
17444
|
name: "VFieldLabel",
|
|
17445
17445
|
props: QS(),
|
|
@@ -17490,7 +17490,7 @@ const KS = ke({
|
|
|
17490
17490
|
"onClick:clear": Gn(),
|
|
17491
17491
|
"onClick:appendInner": Gn(),
|
|
17492
17492
|
"onClick:prependInner": Gn(),
|
|
17493
|
-
...
|
|
17493
|
+
...Ke(),
|
|
17494
17494
|
...Iu(),
|
|
17495
17495
|
...Sn(),
|
|
17496
17496
|
...Ht()
|
|
@@ -17883,7 +17883,7 @@ const ek = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
17883
17883
|
}
|
|
17884
17884
|
}), tk = ke({
|
|
17885
17885
|
renderless: Boolean,
|
|
17886
|
-
...
|
|
17886
|
+
...Ke()
|
|
17887
17887
|
}, "VVirtualScrollItem"), nk = Fe()({
|
|
17888
17888
|
name: "VVirtualScrollItem",
|
|
17889
17889
|
inheritAttrs: !1,
|
|
@@ -18066,7 +18066,7 @@ const ok = ke({
|
|
|
18066
18066
|
},
|
|
18067
18067
|
renderless: Boolean,
|
|
18068
18068
|
...lk(),
|
|
18069
|
-
...
|
|
18069
|
+
...Ke(),
|
|
18070
18070
|
...La()
|
|
18071
18071
|
}, "VVirtualScroll"), zu = Fe()({
|
|
18072
18072
|
name: "VVirtualScroll",
|
|
@@ -18612,7 +18612,7 @@ function vk(e, t, n, a) {
|
|
|
18612
18612
|
}
|
|
18613
18613
|
const gh = Fe()({
|
|
18614
18614
|
name: "VCardActions",
|
|
18615
|
-
props:
|
|
18615
|
+
props: Ke(),
|
|
18616
18616
|
setup(e, t) {
|
|
18617
18617
|
let {
|
|
18618
18618
|
slots: n
|
|
@@ -18632,7 +18632,7 @@ const gh = Fe()({
|
|
|
18632
18632
|
}
|
|
18633
18633
|
}), hk = ke({
|
|
18634
18634
|
opacity: [Number, String],
|
|
18635
|
-
...
|
|
18635
|
+
...Ke(),
|
|
18636
18636
|
...Vt()
|
|
18637
18637
|
}, "VCardSubtitle"), yk = Fe()({
|
|
18638
18638
|
name: "VCardSubtitle",
|
|
@@ -18655,7 +18655,7 @@ const gh = Fe()({
|
|
|
18655
18655
|
prependIcon: ot,
|
|
18656
18656
|
subtitle: [String, Number],
|
|
18657
18657
|
title: [String, Number],
|
|
18658
|
-
...
|
|
18658
|
+
...Ke(),
|
|
18659
18659
|
...$n()
|
|
18660
18660
|
}, "VCardItem"), wk = Fe()({
|
|
18661
18661
|
name: "VCardItem",
|
|
@@ -18739,7 +18739,7 @@ const gh = Fe()({
|
|
|
18739
18739
|
}
|
|
18740
18740
|
}), pk = ke({
|
|
18741
18741
|
opacity: [Number, String],
|
|
18742
|
-
...
|
|
18742
|
+
...Ke(),
|
|
18743
18743
|
...Vt()
|
|
18744
18744
|
}, "VCardText"), Qr = Fe()({
|
|
18745
18745
|
name: "VCardText",
|
|
@@ -18776,7 +18776,7 @@ const gh = Fe()({
|
|
|
18776
18776
|
text: [String, Number],
|
|
18777
18777
|
title: [String, Number],
|
|
18778
18778
|
...Na(),
|
|
18779
|
-
...
|
|
18779
|
+
...Ke(),
|
|
18780
18780
|
...$n(),
|
|
18781
18781
|
...La(),
|
|
18782
18782
|
...pa(),
|
|
@@ -19362,7 +19362,7 @@ const Mk = ke({
|
|
|
19362
19362
|
},
|
|
19363
19363
|
showFirstLastPage: Boolean,
|
|
19364
19364
|
...Na(),
|
|
19365
|
-
...
|
|
19365
|
+
...Ke(),
|
|
19366
19366
|
...$n(),
|
|
19367
19367
|
...pa(),
|
|
19368
19368
|
...Sn(),
|
|
@@ -19587,7 +19587,7 @@ const Mk = ke({
|
|
|
19587
19587
|
fixedFooter: Boolean,
|
|
19588
19588
|
height: [Number, String],
|
|
19589
19589
|
hover: Boolean,
|
|
19590
|
-
...
|
|
19590
|
+
...Ke(),
|
|
19591
19591
|
...$n(),
|
|
19592
19592
|
...Vt(),
|
|
19593
19593
|
...Ht()
|
|
@@ -19677,7 +19677,7 @@ const Ek = ["auto", "start", "end", "center", "baseline", "stretch"], Vk = ke({
|
|
|
19677
19677
|
default: null,
|
|
19678
19678
|
validator: (e) => Ek.includes(e)
|
|
19679
19679
|
},
|
|
19680
|
-
...
|
|
19680
|
+
...Ke(),
|
|
19681
19681
|
...Vt()
|
|
19682
19682
|
}, "VCol"), nn = Fe()({
|
|
19683
19683
|
name: "VCol",
|
|
@@ -19771,7 +19771,7 @@ const Rk = ke({
|
|
|
19771
19771
|
validator: Mh
|
|
19772
19772
|
},
|
|
19773
19773
|
...Ah,
|
|
19774
|
-
...
|
|
19774
|
+
...Ke(),
|
|
19775
19775
|
...Vt()
|
|
19776
19776
|
}, "VRow"), er = Fe()({
|
|
19777
19777
|
name: "VRow",
|
|
@@ -19805,7 +19805,7 @@ const Rk = ke({
|
|
|
19805
19805
|
};
|
|
19806
19806
|
}
|
|
19807
19807
|
}), Xi = fs("v-spacer", "div", "VSpacer"), Fk = ke({
|
|
19808
|
-
...
|
|
19808
|
+
...Ke(),
|
|
19809
19809
|
...Gp()
|
|
19810
19810
|
}, "VForm"), Hk = Fe()({
|
|
19811
19811
|
name: "VForm",
|
|
@@ -20084,7 +20084,7 @@ const Gk = ["start", "end", "left", "right", "top", "bottom"], Zk = ke({
|
|
|
20084
20084
|
},
|
|
20085
20085
|
sticky: Boolean,
|
|
20086
20086
|
...Na(),
|
|
20087
|
-
...
|
|
20087
|
+
...Ke(),
|
|
20088
20088
|
...sh(),
|
|
20089
20089
|
...lv({
|
|
20090
20090
|
mobile: null
|
|
@@ -20758,22 +20758,22 @@ function qu(e, t, n) {
|
|
|
20758
20758
|
Cn({ deepRefresh: !1, resetSearch: !0 });
|
|
20759
20759
|
},
|
|
20760
20760
|
bladeStartShowing: e.bladeStartShowing
|
|
20761
|
-
}), u = e.useBladeSrc ?? e.variant == "blade", d = e.useRouteSrc ?? e.variant == "page", m = e.nav ?? e.bladeName ?? e.itemBladeName ?? "basic", f = e.storeMode ?? ((Ca = r.findItem(m)) == null ? void 0 : Ca.storeMode), v = e.storageMode ?? ((xa = r.findItem(m)) == null ? void 0 : xa.storageMode), c =
|
|
20762
|
-
...c.filter((
|
|
20761
|
+
}), u = e.useBladeSrc ?? e.variant == "blade", d = e.useRouteSrc ?? e.variant == "page", m = e.nav ?? e.bladeName ?? e.itemBladeName ?? "basic", f = e.storeMode ?? ((Ca = r.findItem(m)) == null ? void 0 : Ca.storeMode), v = e.storageMode ?? ((xa = r.findItem(m)) == null ? void 0 : xa.storageMode), c = Je(e.customFilters) ?? [], o = Y([]), y = C(() => bg([
|
|
20762
|
+
...c.filter((fe) => fe.name != null).map((fe) => fe.name),
|
|
20763
20763
|
...e.defaultFilters ?? [],
|
|
20764
20764
|
...o.value
|
|
20765
|
-
]).value), g = Y((e.defaultFilters ?? []).map((
|
|
20765
|
+
]).value), g = Y((e.defaultFilters ?? []).map((fe) => y.value.indexOf(fe)));
|
|
20766
20766
|
let p = Y([...g.value]);
|
|
20767
20767
|
const M = C(() => bc(p, g).value.length > 0 || bc(g, p).value.length > 0), k = Y(T());
|
|
20768
20768
|
function T() {
|
|
20769
|
-
var
|
|
20769
|
+
var fe;
|
|
20770
20770
|
if (u) {
|
|
20771
20771
|
const K = s.bladeData.data.page;
|
|
20772
20772
|
if (K != null)
|
|
20773
20773
|
return Number.parseInt(K);
|
|
20774
20774
|
}
|
|
20775
20775
|
if (d) {
|
|
20776
|
-
const K = (
|
|
20776
|
+
const K = (fe = i == null ? void 0 : i.query) == null ? void 0 : fe.page;
|
|
20777
20777
|
if (K != null)
|
|
20778
20778
|
return Number.parseInt(typeof K == "string" ? K : K.toString());
|
|
20779
20779
|
}
|
|
@@ -20781,17 +20781,17 @@ function qu(e, t, n) {
|
|
|
20781
20781
|
}
|
|
20782
20782
|
const x = e.proxyKey ?? "proxyID", b = C(() => {
|
|
20783
20783
|
var K;
|
|
20784
|
-
let
|
|
20785
|
-
return
|
|
20784
|
+
let fe = e.proxyID;
|
|
20785
|
+
return fe == null && u && (fe = s.bladeData.data[x]), fe == null && d && (fe = (K = i == null ? void 0 : i.query) == null ? void 0 : K[x]), fe;
|
|
20786
20786
|
}), h = e.searchKey ?? "search", w = Y(D());
|
|
20787
20787
|
function D() {
|
|
20788
20788
|
var K;
|
|
20789
|
-
let
|
|
20790
|
-
return
|
|
20789
|
+
let fe;
|
|
20790
|
+
return fe == null && u && (fe = s.bladeData.data[h]), fe == null && d && (fe = (K = i == null ? void 0 : i.query) == null ? void 0 : K[h]), fe;
|
|
20791
20791
|
}
|
|
20792
|
-
const _ = Y(
|
|
20792
|
+
const _ = Y(Je(e.startShowingInactive) ?? !1), V = C(() => [
|
|
20793
20793
|
...e.searchProps ?? [],
|
|
20794
|
-
...(e.headers ?? []).filter((
|
|
20794
|
+
...(e.headers ?? []).filter((fe) => fe.searchable != null && fe.value != null).map((fe) => fe.value ?? "")
|
|
20795
20795
|
]), $ = Y([]), B = Ve([]), U = Y([]);
|
|
20796
20796
|
let F;
|
|
20797
20797
|
const { actionErrorMsg: N, actionLoadingMsg: J, deleteItem: Z, doAction: ee, getItem: H, getAllItems: R, restoreItem: P, saveItem: I } = Pm({
|
|
@@ -20805,49 +20805,49 @@ function qu(e, t, n) {
|
|
|
20805
20805
|
nav: m
|
|
20806
20806
|
})
|
|
20807
20807
|
}), E = C(() => e.errorMsg ?? N.value), q = C(() => e.loadingMsg ?? J.value), ae = C(() => q.value != null), we = Ve(!1), Ie = Ve(e.showSearch ?? !0), ne = Y(0), ue = C(() => {
|
|
20808
|
-
let
|
|
20808
|
+
let fe, K = [];
|
|
20809
20809
|
g.value.forEach((Te) => {
|
|
20810
|
-
const He = y.value[Te],
|
|
20811
|
-
|
|
20810
|
+
const He = y.value[Te], de = c.find((Le) => Le.name == He);
|
|
20811
|
+
de != null ? fe = fe != null ? `${fe}ANDALSO${de.filterFunction()}` : de.filterFunction() : K.push(He);
|
|
20812
20812
|
});
|
|
20813
20813
|
const oe = {};
|
|
20814
|
-
return ln(K) && (oe.filterBy = K.toString()),
|
|
20814
|
+
return ln(K) && (oe.filterBy = K.toString()), fe != null && (oe.query = fe), oe;
|
|
20815
20815
|
}), Re = C(() => {
|
|
20816
20816
|
var K;
|
|
20817
|
-
let
|
|
20818
|
-
return
|
|
20817
|
+
let fe = e.itemID;
|
|
20818
|
+
return fe == null && u && (fe = s.bladeData.data.id), fe == null && d && (fe = (K = i == null ? void 0 : i.query) == null ? void 0 : K.id), fe;
|
|
20819
20819
|
}), W = C(() => {
|
|
20820
20820
|
var K;
|
|
20821
|
-
let
|
|
20822
|
-
return e.useServerPagination && e.itemsPerPage != null && (
|
|
20823
|
-
}), le = C(() => (
|
|
20824
|
-
let
|
|
20821
|
+
let fe = e.params != null ? { ...e.params } : {};
|
|
20822
|
+
return e.useServerPagination && e.itemsPerPage != null && (fe.includeCount = !0, fe.takeAmount = e.itemsPerPage, fe.takeFrom = (k.value - 1) * e.itemsPerPage), ue.value != null && (fe = { ...fe, ...ue.value }), _.value && (fe.includeInactive = !0), ln(e.selectProps) && (fe.properties = (K = e.selectProps) == null ? void 0 : K.toString()), w.value != null && (fe.searchString = w.value), fe;
|
|
20823
|
+
}), le = C(() => (fe) => e.onCanDelete != null ? e.onCanDelete(fe) : !(fe != null && fe.isInactive === !0)), Ae = C(() => (fe) => _.value ? e.onCanRestore != null ? e.onCanRestore(fe) : (fe == null ? void 0 : fe.isInactive) === !0 : !1), ge = C(() => U.value.filter((fe) => !fe.hide)), xe = C(() => {
|
|
20824
|
+
let fe = new Array();
|
|
20825
20825
|
return ge.value.filter((oe) => oe.sublevel != null).forEach((oe) => {
|
|
20826
|
-
let Te =
|
|
20827
|
-
Te == null ?
|
|
20828
|
-
}),
|
|
20826
|
+
let Te = fe.find((He) => He.position == oe.sublevel);
|
|
20827
|
+
Te == null ? fe.push({ position: oe.sublevel ?? 0, values: [oe] }) : Te.values.push(oe);
|
|
20828
|
+
}), fe.sort(Sr.firstBy((oe) => oe.position));
|
|
20829
20829
|
}), he = C(() => {
|
|
20830
|
-
let
|
|
20830
|
+
let fe = new Array();
|
|
20831
20831
|
return ge.value.filter((oe) => oe.level != null).forEach((oe) => {
|
|
20832
|
-
let Te =
|
|
20833
|
-
Te == null ?
|
|
20834
|
-
}),
|
|
20835
|
-
}), ht = C(() => ge.value.filter((
|
|
20836
|
-
function nt(
|
|
20832
|
+
let Te = fe.find((He) => He.position == oe.level);
|
|
20833
|
+
Te == null ? fe.push({ position: oe.level ?? 0, values: [oe] }) : Te.values.push(oe);
|
|
20834
|
+
}), fe.sort(Sr.firstBy((oe) => oe.position));
|
|
20835
|
+
}), ht = C(() => ge.value.filter((fe) => fe.nav != null && fe.itemText != null || fe.textFilter != null || fe.display != null || fe.bool != null));
|
|
20836
|
+
function nt(fe) {
|
|
20837
20837
|
const K = e.addBladeName ?? e.itemBladeName;
|
|
20838
|
-
K != null && (
|
|
20838
|
+
K != null && (fe == "page" ? l.push({
|
|
20839
20839
|
name: K,
|
|
20840
20840
|
params: { id: "new" }
|
|
20841
|
-
}) :
|
|
20841
|
+
}) : fe == "blade" && s.updateBlade({
|
|
20842
20842
|
data: { id: "new" },
|
|
20843
20843
|
bladeName: K
|
|
20844
20844
|
}));
|
|
20845
20845
|
}
|
|
20846
|
-
function Pt(
|
|
20846
|
+
function Pt(fe) {
|
|
20847
20847
|
const {
|
|
20848
20848
|
additionalUrl: K,
|
|
20849
20849
|
onDeleteAsync: oe
|
|
20850
|
-
} = { ...e }, Te =
|
|
20850
|
+
} = { ...e }, Te = Je(fe), He = Te.id, de = (Le) => {
|
|
20851
20851
|
if (Le != null) {
|
|
20852
20852
|
let $e = $.value.findIndex((Dt) => Dt.id == Le);
|
|
20853
20853
|
if ($e > -1 && $.value.splice($e, 1), e.items != null) {
|
|
@@ -20862,21 +20862,21 @@ function qu(e, t, n) {
|
|
|
20862
20862
|
}
|
|
20863
20863
|
}
|
|
20864
20864
|
};
|
|
20865
|
-
e.localOnly == !0 || m == null ?
|
|
20865
|
+
e.localOnly == !0 || m == null ? de(He) : Z({
|
|
20866
20866
|
additionalUrl: K,
|
|
20867
20867
|
data: Te,
|
|
20868
20868
|
nav: m,
|
|
20869
20869
|
onCanDeleteAsync: e.onCanDeleteAsync,
|
|
20870
20870
|
onDeleteAsync: oe,
|
|
20871
|
-
onDeleteSuccessAsync: async () => (
|
|
20871
|
+
onDeleteSuccessAsync: async () => (de(He), e.onDeleteSuccessAsync != null ? e.onDeleteSuccessAsync(Te) : Promise.resolve(void 0)),
|
|
20872
20872
|
proxyID: b.value
|
|
20873
20873
|
// ...(useBladeSrc ? bladeData.value : {}),
|
|
20874
20874
|
// requireConfirmation: true
|
|
20875
|
-
}), t && t("deleted",
|
|
20875
|
+
}), t && t("deleted", fe);
|
|
20876
20876
|
}
|
|
20877
|
-
function at(
|
|
20878
|
-
P({
|
|
20879
|
-
data:
|
|
20877
|
+
function at(fe) {
|
|
20878
|
+
return P({
|
|
20879
|
+
data: Je(fe),
|
|
20880
20880
|
additionalUrl: e.additionalUrl,
|
|
20881
20881
|
nav: m,
|
|
20882
20882
|
onCanRestoreAsync: e.onCanRestoreAsync,
|
|
@@ -20886,24 +20886,24 @@ function qu(e, t, n) {
|
|
|
20886
20886
|
// ...(useBladeSrc ? bladeData.value : {})
|
|
20887
20887
|
});
|
|
20888
20888
|
}
|
|
20889
|
-
function fn(
|
|
20890
|
-
const K =
|
|
20889
|
+
function fn(fe) {
|
|
20890
|
+
const K = Je(fe), {
|
|
20891
20891
|
additionalUrl: oe,
|
|
20892
20892
|
onCanSaveAsync: Te,
|
|
20893
20893
|
onGetSaveAsync: He,
|
|
20894
|
-
onSaveAsync:
|
|
20894
|
+
onSaveAsync: de,
|
|
20895
20895
|
onSaveSuccessAsync: Le
|
|
20896
20896
|
} = { ...e };
|
|
20897
|
-
I({
|
|
20897
|
+
return I({
|
|
20898
20898
|
additionalUrl: oe,
|
|
20899
|
-
data:
|
|
20899
|
+
data: K,
|
|
20900
20900
|
nav: m,
|
|
20901
20901
|
onCanSaveAsync: Te,
|
|
20902
20902
|
onGetSaveAsync: He,
|
|
20903
|
-
onSaveAsync:
|
|
20903
|
+
onSaveAsync: de,
|
|
20904
20904
|
onSaveSuccessAsync: Le,
|
|
20905
|
-
proxyID: b.value
|
|
20906
|
-
mode:
|
|
20905
|
+
proxyID: b.value
|
|
20906
|
+
// mode: item.id == null ? 'new' : 'edit'
|
|
20907
20907
|
});
|
|
20908
20908
|
}
|
|
20909
20909
|
function kn() {
|
|
@@ -20912,19 +20912,19 @@ function qu(e, t, n) {
|
|
|
20912
20912
|
}, { loadingMsg: "Exporting to CSV" });
|
|
20913
20913
|
}
|
|
20914
20914
|
function rn() {
|
|
20915
|
-
let
|
|
20916
|
-
if (
|
|
20915
|
+
let fe = Je($);
|
|
20916
|
+
if (fe = e.onFilter ? e.onFilter(fe) : fe, w.value != null && w.value.length > 0) {
|
|
20917
20917
|
let K = [...V.value];
|
|
20918
|
-
e.itemText && K.push(e.itemText), ln(K) && (
|
|
20918
|
+
e.itemText && K.push(e.itemText), ln(K) && (fe = fe.filter((oe) => L0(oe, w.value, K)));
|
|
20919
20919
|
}
|
|
20920
|
-
B.value =
|
|
20920
|
+
B.value = fe;
|
|
20921
20921
|
}
|
|
20922
20922
|
function Nt() {
|
|
20923
|
-
const
|
|
20924
|
-
e.headers != null && (U.value = [...e.headers],
|
|
20923
|
+
const fe = (n == null ? void 0 : n.hideActions) ?? e.hideActions;
|
|
20924
|
+
e.headers != null && (U.value = [...e.headers], fe || U.value.push({ title: "Actions", value: "itemActions", align: "end" }));
|
|
20925
20925
|
}
|
|
20926
|
-
async function Cn(
|
|
20927
|
-
if (we.value = !1, (
|
|
20926
|
+
async function Cn(fe) {
|
|
20927
|
+
if (we.value = !1, (fe == null ? void 0 : fe.resetSearch) === !0 && (Ie.value = e.showSearch ?? !1, w.value = void 0), e.items != null) {
|
|
20928
20928
|
$.value = e.onGetSuccessAsync != null ? await e.onGetSuccessAsync(e.items) : e.items, e.onFinished && e.onFinished();
|
|
20929
20929
|
return;
|
|
20930
20930
|
}
|
|
@@ -20937,7 +20937,7 @@ function qu(e, t, n) {
|
|
|
20937
20937
|
...u ? s.bladeData.data.params : {}
|
|
20938
20938
|
},
|
|
20939
20939
|
proxyID: b.value,
|
|
20940
|
-
refresh: (
|
|
20940
|
+
refresh: (fe == null ? void 0 : fe.deepRefresh) ?? !1,
|
|
20941
20941
|
onGetAsync: e.onGetAsync,
|
|
20942
20942
|
onGetSuccessAsync: e.onGetSuccessAsync
|
|
20943
20943
|
};
|
|
@@ -20947,16 +20947,16 @@ function qu(e, t, n) {
|
|
|
20947
20947
|
let oe = await R({
|
|
20948
20948
|
...K,
|
|
20949
20949
|
onGetSuccessAsync: async (Te, He) => {
|
|
20950
|
-
let
|
|
20951
|
-
return o.value = (Te == null ? void 0 : Te.filters) ?? [], f != "whole-last-updated" && e.useServerPagination === !0 && e.itemsPerPage && Te.count && (ne.value = Math.ceil(Te.count / e.itemsPerPage)), e.onGetSuccessAsync != null && (
|
|
20950
|
+
let de = Te == null ? void 0 : Te.data;
|
|
20951
|
+
return o.value = (Te == null ? void 0 : Te.filters) ?? [], f != "whole-last-updated" && e.useServerPagination === !0 && e.itemsPerPage && Te.count && (ne.value = Math.ceil(Te.count / e.itemsPerPage)), e.onGetSuccessAsync != null && (de = await e.onGetSuccessAsync(de, He)), de;
|
|
20952
20952
|
}
|
|
20953
20953
|
});
|
|
20954
20954
|
$.value = oe, p.value = [...g.value];
|
|
20955
20955
|
}
|
|
20956
20956
|
rn();
|
|
20957
20957
|
}
|
|
20958
|
-
function Ra(
|
|
20959
|
-
const oe =
|
|
20958
|
+
function Ra(fe, K) {
|
|
20959
|
+
const oe = Je(fe);
|
|
20960
20960
|
oe != null && oe === F && e.canUnselect ? F = null : F = oe, e.canSelect == !0 && (e.onCanSelectItem == null || e.onCanSelectItem(oe)) && (e.onSelectItem != null ? e.onSelectItem(F) : K == "blade" && F == null ? s.closeBlade({ bladeName: e.itemBladeName }) : K == "page" ? l.push({
|
|
20961
20961
|
name: e.itemBladeName,
|
|
20962
20962
|
params: { id: oe.id }
|
|
@@ -20972,15 +20972,15 @@ function qu(e, t, n) {
|
|
|
20972
20972
|
rn();
|
|
20973
20973
|
}, { debounce: 500, maxWait: 500 }), De([_, k], async () => {
|
|
20974
20974
|
await Cn();
|
|
20975
|
-
}), De([E, () => e.errorMsg], ([
|
|
20976
|
-
we.value =
|
|
20975
|
+
}), De([E, () => e.errorMsg], ([fe, K]) => {
|
|
20976
|
+
we.value = fe != null || K != null;
|
|
20977
20977
|
}), De(() => e.refreshToggle, () => {
|
|
20978
20978
|
Cn({ deepRefresh: !0 });
|
|
20979
20979
|
}), Mf([$, () => e.items], () => {
|
|
20980
20980
|
rn();
|
|
20981
20981
|
}), Tt(async () => {
|
|
20982
|
-
var
|
|
20983
|
-
e.eager == !0 && await Cn({ deepRefresh: ((
|
|
20982
|
+
var fe;
|
|
20983
|
+
e.eager == !0 && await Cn({ deepRefresh: ((fe = i == null ? void 0 : i.params) == null ? void 0 : fe.refresh) == "true" });
|
|
20984
20984
|
}), {
|
|
20985
20985
|
add: nt,
|
|
20986
20986
|
asyncItems: $,
|
|
@@ -21180,7 +21180,7 @@ function a2(e) {
|
|
|
21180
21180
|
const r2 = {
|
|
21181
21181
|
key: 0,
|
|
21182
21182
|
class: "d-flex"
|
|
21183
|
-
}, l2 = { key: "itemActions" }, i2 = ["onClick"], s2 = { key: 0 }, o2 = /* @__PURE__ */
|
|
21183
|
+
}, l2 = { key: "itemActions" }, i2 = ["onClick"], s2 = { key: 0 }, o2 = /* @__PURE__ */ je({
|
|
21184
21184
|
__name: "BT-Blade-Items",
|
|
21185
21185
|
props: {
|
|
21186
21186
|
activeClass: {},
|
|
@@ -26203,7 +26203,7 @@ const Zx = ({
|
|
|
26203
26203
|
}, eT = ["id", "name", "inputmode", "placeholder", "disabled", "readonly", "required", "value", "autocomplete", "aria-label", "aria-disabled", "aria-invalid"], tT = {
|
|
26204
26204
|
key: 2,
|
|
26205
26205
|
class: "dp__clear_icon"
|
|
26206
|
-
}, nT = /* @__PURE__ */
|
|
26206
|
+
}, nT = /* @__PURE__ */ je({
|
|
26207
26207
|
compatConfig: {
|
|
26208
26208
|
MODE: 3
|
|
26209
26209
|
},
|
|
@@ -26388,7 +26388,7 @@ const Zx = ({
|
|
|
26388
26388
|
]);
|
|
26389
26389
|
};
|
|
26390
26390
|
}
|
|
26391
|
-
}), aT = ["title"], rT = ["disabled"], lT = /* @__PURE__ */
|
|
26391
|
+
}), aT = ["title"], rT = ["disabled"], lT = /* @__PURE__ */ je({
|
|
26392
26392
|
compatConfig: {
|
|
26393
26393
|
MODE: 3
|
|
26394
26394
|
},
|
|
@@ -26517,7 +26517,7 @@ const Zx = ({
|
|
|
26517
26517
|
], 64))
|
|
26518
26518
|
], 512));
|
|
26519
26519
|
}
|
|
26520
|
-
}), iT = ["onKeydown"], sT = { class: "dp__selection_grid_header" }, oT = ["aria-selected", "aria-disabled", "onClick", "onKeydown", "onMouseover"], uT = ["aria-label"], ci = /* @__PURE__ */
|
|
26520
|
+
}), iT = ["onKeydown"], sT = { class: "dp__selection_grid_header" }, oT = ["aria-selected", "aria-disabled", "onClick", "onKeydown", "onMouseover"], uT = ["aria-label"], ci = /* @__PURE__ */ je({
|
|
26521
26521
|
__name: "SelectionOverlay",
|
|
26522
26522
|
props: {
|
|
26523
26523
|
items: {},
|
|
@@ -26698,7 +26698,7 @@ const Zx = ({
|
|
|
26698
26698
|
], 46, iT);
|
|
26699
26699
|
};
|
|
26700
26700
|
}
|
|
26701
|
-
}), xs = /* @__PURE__ */
|
|
26701
|
+
}), xs = /* @__PURE__ */ je({
|
|
26702
26702
|
__name: "InstanceWrap",
|
|
26703
26703
|
props: {
|
|
26704
26704
|
multiCalendars: {},
|
|
@@ -26730,7 +26730,7 @@ const Zx = ({
|
|
|
26730
26730
|
], 2))), 128))
|
|
26731
26731
|
], 2));
|
|
26732
26732
|
}
|
|
26733
|
-
}), cT = ["aria-label", "aria-disabled"], El = /* @__PURE__ */
|
|
26733
|
+
}), cT = ["aria-label", "aria-disabled"], El = /* @__PURE__ */ je({
|
|
26734
26734
|
compatConfig: {
|
|
26735
26735
|
MODE: 3
|
|
26736
26736
|
},
|
|
@@ -26763,7 +26763,7 @@ const Zx = ({
|
|
|
26763
26763
|
], 2)
|
|
26764
26764
|
], 40, cT));
|
|
26765
26765
|
}
|
|
26766
|
-
}), dT = { class: "dp--year-mode-picker" }, fT = ["aria-label"], cy = /* @__PURE__ */
|
|
26766
|
+
}), dT = { class: "dp--year-mode-picker" }, fT = ["aria-label"], cy = /* @__PURE__ */ je({
|
|
26767
26767
|
__name: "YearModePicker",
|
|
26768
26768
|
props: {
|
|
26769
26769
|
...ea,
|
|
@@ -27066,7 +27066,7 @@ const Zx = ({
|
|
|
27066
27066
|
handleYear: w,
|
|
27067
27067
|
getModelMonthYear: V
|
|
27068
27068
|
};
|
|
27069
|
-
}, vT = /* @__PURE__ */
|
|
27069
|
+
}, vT = /* @__PURE__ */ je({
|
|
27070
27070
|
compatConfig: {
|
|
27071
27071
|
MODE: 3
|
|
27072
27072
|
},
|
|
@@ -27197,7 +27197,7 @@ const Zx = ({
|
|
|
27197
27197
|
n.value = c(o), t("auto-apply");
|
|
27198
27198
|
}
|
|
27199
27199
|
};
|
|
27200
|
-
}, yT = /* @__PURE__ */
|
|
27200
|
+
}, yT = /* @__PURE__ */ je({
|
|
27201
27201
|
compatConfig: {
|
|
27202
27202
|
MODE: 3
|
|
27203
27203
|
},
|
|
@@ -27251,7 +27251,7 @@ const Zx = ({
|
|
|
27251
27251
|
}), gT = {
|
|
27252
27252
|
key: 0,
|
|
27253
27253
|
class: "dp__time_input"
|
|
27254
|
-
}, bT = ["aria-label", "onKeydown", "onClick"], wT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), pT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), ST = ["aria-label", "disabled", "onKeydown", "onClick"], kT = ["aria-label", "onKeydown", "onClick"], CT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), xT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), TT = { key: 0 }, MT = ["aria-label", "onKeydown"], AT = /* @__PURE__ */
|
|
27254
|
+
}, bT = ["aria-label", "onKeydown", "onClick"], wT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), pT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), ST = ["aria-label", "disabled", "onKeydown", "onClick"], kT = ["aria-label", "onKeydown", "onClick"], CT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), xT = /* @__PURE__ */ ze("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), TT = { key: 0 }, MT = ["aria-label", "onKeydown"], AT = /* @__PURE__ */ je({
|
|
27255
27255
|
compatConfig: {
|
|
27256
27256
|
MODE: 3
|
|
27257
27257
|
},
|
|
@@ -27523,7 +27523,7 @@ const Zx = ({
|
|
|
27523
27523
|
]));
|
|
27524
27524
|
};
|
|
27525
27525
|
}
|
|
27526
|
-
}), DT = { class: "dp--tp-wrap" }, _T = ["aria-label", "tabindex"], IT = ["tabindex"], ET = ["aria-label"], vy = /* @__PURE__ */
|
|
27526
|
+
}), DT = { class: "dp--tp-wrap" }, _T = ["aria-label", "tabindex"], IT = ["tabindex"], ET = ["aria-label"], vy = /* @__PURE__ */ je({
|
|
27527
27527
|
compatConfig: {
|
|
27528
27528
|
MODE: 3
|
|
27529
27529
|
},
|
|
@@ -27813,7 +27813,7 @@ const Zx = ({
|
|
|
27813
27813
|
},
|
|
27814
27814
|
validateTime: f
|
|
27815
27815
|
};
|
|
27816
|
-
}, PT = /* @__PURE__ */
|
|
27816
|
+
}, PT = /* @__PURE__ */ je({
|
|
27817
27817
|
compatConfig: {
|
|
27818
27818
|
MODE: 3
|
|
27819
27819
|
},
|
|
@@ -27856,7 +27856,7 @@ const Zx = ({
|
|
|
27856
27856
|
_: 3
|
|
27857
27857
|
}));
|
|
27858
27858
|
}
|
|
27859
|
-
}), LT = { class: "dp__month_year_row" }, $T = ["aria-label", "onClick", "onKeydown"], NT = /* @__PURE__ */
|
|
27859
|
+
}), LT = { class: "dp__month_year_row" }, $T = ["aria-label", "onClick", "onKeydown"], NT = /* @__PURE__ */ je({
|
|
27860
27860
|
compatConfig: {
|
|
27861
27861
|
MODE: 3
|
|
27862
27862
|
},
|
|
@@ -28099,7 +28099,7 @@ const Zx = ({
|
|
|
28099
28099
|
key: 0,
|
|
28100
28100
|
role: "gridcell",
|
|
28101
28101
|
class: "dp__calendar_item dp__week_num"
|
|
28102
|
-
}, YT = { class: "dp__cell_inner" }, UT = ["id", "aria-selected", "aria-disabled", "aria-label", "onClick", "onKeydown", "onMouseenter", "onMouseleave", "onMousedown"], qT = /* @__PURE__ */
|
|
28102
|
+
}, YT = { class: "dp__cell_inner" }, UT = ["id", "aria-selected", "aria-disabled", "aria-label", "onClick", "onKeydown", "onMouseenter", "onMouseleave", "onMousedown"], qT = /* @__PURE__ */ je({
|
|
28103
28103
|
compatConfig: {
|
|
28104
28104
|
MODE: 3
|
|
28105
28105
|
},
|
|
@@ -28360,8 +28360,8 @@ const Zx = ({
|
|
|
28360
28360
|
), _ = C(
|
|
28361
28361
|
() => (K) => s.value[K] ? s.value[K].year : 0
|
|
28362
28362
|
), V = (K, oe, Te) => {
|
|
28363
|
-
var He,
|
|
28364
|
-
s.value[K] || (s.value[K] = { month: 0, year: 0 }), s.value[K].month = sf(oe) ? (He = s.value[K]) == null ? void 0 : He.month : oe, s.value[K].year = sf(Te) ? (
|
|
28363
|
+
var He, de;
|
|
28364
|
+
s.value[K] || (s.value[K] = { month: 0, year: 0 }), s.value[K].month = sf(oe) ? (He = s.value[K]) == null ? void 0 : He.month : oe, s.value[K].year = sf(Te) ? (de = s.value[K]) == null ? void 0 : de.year : Te;
|
|
28365
28365
|
}, $ = () => {
|
|
28366
28366
|
e.autoApply && t("select-date");
|
|
28367
28367
|
};
|
|
@@ -28387,8 +28387,8 @@ const Zx = ({
|
|
|
28387
28387
|
}, N = () => Array.isArray(i.value) && f.value.enabled ? it(i.value[0]) === it(i.value[1] ?? i.value[0]) : !1, J = (K, oe = !1) => {
|
|
28388
28388
|
if ((!d.value.count || !d.value.static || oe) && V(0, it(K), et(K)), d.value.count && (!d.value.solo || !i.value || N()))
|
|
28389
28389
|
for (let Te = 1; Te < d.value.count; Te++) {
|
|
28390
|
-
const He = Mt(ve(), { month: D.value(Te - 1), year: _.value(Te - 1) }),
|
|
28391
|
-
s.value[Te] = { month: it(
|
|
28390
|
+
const He = Mt(ve(), { month: D.value(Te - 1), year: _.value(Te - 1) }), de = Ih(He, { months: 1 });
|
|
28391
|
+
s.value[Te] = { month: it(de), year: et(de) };
|
|
28392
28392
|
}
|
|
28393
28393
|
}, Z = (K, oe) => {
|
|
28394
28394
|
J(K), x("hours", Kn(K)), x("minutes", va(K)), x("seconds", el(K)), d.value.count && oe && q();
|
|
@@ -28402,9 +28402,9 @@ const Zx = ({
|
|
|
28402
28402
|
return 1;
|
|
28403
28403
|
}, H = (K, oe) => {
|
|
28404
28404
|
K[1] && f.value.showLastInRange ? J(K[ee(K)], oe) : J(K[0], oe);
|
|
28405
|
-
const Te = (He,
|
|
28405
|
+
const Te = (He, de) => [
|
|
28406
28406
|
He(K[0]),
|
|
28407
|
-
K[1] ? He(K[1]) : u[
|
|
28407
|
+
K[1] ? He(K[1]) : u[de][1]
|
|
28408
28408
|
];
|
|
28409
28409
|
x("hours", Te(Kn, "hours")), x("minutes", Te(va, "minutes")), x("seconds", Te(el, "seconds"));
|
|
28410
28410
|
}, R = (K, oe) => {
|
|
@@ -28433,8 +28433,8 @@ const Zx = ({
|
|
|
28433
28433
|
if (Array.isArray(i.value) && i.value.length === 2) {
|
|
28434
28434
|
const K = ve(
|
|
28435
28435
|
ve(i.value[1] ? i.value[1] : jn(i.value[0], 1))
|
|
28436
|
-
), [oe, Te] = [it(i.value[0]), et(i.value[0])], [He,
|
|
28437
|
-
(oe !== He || oe === He && Te !==
|
|
28436
|
+
), [oe, Te] = [it(i.value[0]), et(i.value[0])], [He, de] = [it(i.value[1]), et(i.value[1])];
|
|
28437
|
+
(oe !== He || oe === He && Te !== de) && d.value.solo && V(1, it(K), et(K));
|
|
28438
28438
|
} else
|
|
28439
28439
|
i.value && !Array.isArray(i.value) && (V(0, it(i.value), et(i.value)), J(ve()));
|
|
28440
28440
|
}, ae = () => {
|
|
@@ -28442,8 +28442,8 @@ const Zx = ({
|
|
|
28442
28442
|
}, we = (K, oe) => {
|
|
28443
28443
|
if (e.monthChangeOnScroll) {
|
|
28444
28444
|
const Te = (/* @__PURE__ */ new Date()).getTime() - l.value.getTime(), He = Math.abs(K.deltaY);
|
|
28445
|
-
let
|
|
28446
|
-
He > 1 && (
|
|
28445
|
+
let de = 500;
|
|
28446
|
+
He > 1 && (de = 100), He > 100 && (de = 0), Te > de && (l.value = /* @__PURE__ */ new Date(), I(e.monthChangeOnScroll !== "inverse" ? -K.deltaY : K.deltaY, oe));
|
|
28447
28447
|
}
|
|
28448
28448
|
}, Ie = (K, oe, Te = !1) => {
|
|
28449
28449
|
e.monthChangeOnArrows && e.vertical === Te && ne(K, oe);
|
|
@@ -28467,8 +28467,8 @@ const Zx = ({
|
|
|
28467
28467
|
}
|
|
28468
28468
|
}, W = (K, oe, Te, He) => {
|
|
28469
28469
|
if (e.sixWeeks && K.length < 6) {
|
|
28470
|
-
const
|
|
28471
|
-
for (let Ta = 1; Ta <=
|
|
28470
|
+
const de = 6 - K.length, Le = (oe.getDay() + 7 - He) % 7, $e = 6 - (Te.getDay() + 7 - He) % 7, [Dt, _t] = Re(Le, $e);
|
|
28471
|
+
for (let Ta = 1; Ta <= de; Ta++)
|
|
28472
28472
|
if (_t ? !!(Ta % 2) == Dt : Dt) {
|
|
28473
28473
|
const ta = K[0].days[0], Ar = le(Wn(ta.value, -7), it(oe));
|
|
28474
28474
|
K.unshift({ days: Ar });
|
|
@@ -28480,8 +28480,8 @@ const Zx = ({
|
|
|
28480
28480
|
return K;
|
|
28481
28481
|
}, le = (K, oe) => {
|
|
28482
28482
|
const Te = ve(K), He = [];
|
|
28483
|
-
for (let
|
|
28484
|
-
const Le = Wn(Te,
|
|
28483
|
+
for (let de = 0; de < 7; de++) {
|
|
28484
|
+
const Le = Wn(Te, de), $e = it(Le) !== oe;
|
|
28485
28485
|
He.push({
|
|
28486
28486
|
text: e.hideOffsetDates && $e ? "" : Le.getDate(),
|
|
28487
28487
|
value: Le,
|
|
@@ -28491,16 +28491,16 @@ const Zx = ({
|
|
|
28491
28491
|
}
|
|
28492
28492
|
return He;
|
|
28493
28493
|
}, Ae = (K, oe) => {
|
|
28494
|
-
const Te = [], He = new Date(oe, K),
|
|
28494
|
+
const Te = [], He = new Date(oe, K), de = new Date(oe, K + 1, 0), Le = e.weekStart, $e = ga(He, { weekStartsOn: Le }), Dt = (_t) => {
|
|
28495
28495
|
const Ta = le(_t, K);
|
|
28496
28496
|
if (Te.push({ days: Ta }), !Te[Te.length - 1].days.some(
|
|
28497
|
-
(ta) => st(_n(ta.value), _n(
|
|
28497
|
+
(ta) => st(_n(ta.value), _n(de))
|
|
28498
28498
|
)) {
|
|
28499
28499
|
const ta = Wn(_t, 7);
|
|
28500
28500
|
Dt(ta);
|
|
28501
28501
|
}
|
|
28502
28502
|
};
|
|
28503
|
-
return Dt($e), W(Te, He,
|
|
28503
|
+
return Dt($e), W(Te, He, de, Le);
|
|
28504
28504
|
}, ge = (K) => {
|
|
28505
28505
|
const oe = Ka(ve(K.value), u.hours, u.minutes, fn());
|
|
28506
28506
|
t("date-update", oe), o.value.enabled ? cc(oe, i, o.value.limit) : i.value = oe, a(), dt().then(() => {
|
|
@@ -28518,10 +28518,10 @@ const Zx = ({
|
|
|
28518
28518
|
const oe = it(ve(K)), Te = et(ve(K));
|
|
28519
28519
|
if (V(0, oe, Te), d.value.count > 0)
|
|
28520
28520
|
for (let He = 1; He < d.value.count; He++) {
|
|
28521
|
-
const
|
|
28521
|
+
const de = Cx(
|
|
28522
28522
|
Mt(ve(K), { year: D.value(He - 1), month: _.value(He - 1) })
|
|
28523
28523
|
);
|
|
28524
|
-
V(He,
|
|
28524
|
+
V(He, de.month, de.year);
|
|
28525
28525
|
}
|
|
28526
28526
|
}, Pt = (K) => {
|
|
28527
28527
|
if (xe(K.value) || !M(K.value, i.value, f.value.fixedStart ? 0 : 1))
|
|
@@ -28568,14 +28568,14 @@ const Zx = ({
|
|
|
28568
28568
|
}, xa = () => {
|
|
28569
28569
|
if (Array.isArray(i.value))
|
|
28570
28570
|
if (o.value.enabled) {
|
|
28571
|
-
const K =
|
|
28571
|
+
const K = fe();
|
|
28572
28572
|
i.value[i.value.length - 1] = T(K);
|
|
28573
28573
|
} else
|
|
28574
28574
|
i.value = i.value.map((K, oe) => K && T(K, oe));
|
|
28575
28575
|
else
|
|
28576
28576
|
i.value = T(i.value);
|
|
28577
28577
|
t("time-update");
|
|
28578
|
-
},
|
|
28578
|
+
}, fe = () => Array.isArray(i.value) && i.value.length ? i.value[i.value.length - 1] : null;
|
|
28579
28579
|
return {
|
|
28580
28580
|
calendars: s,
|
|
28581
28581
|
modelValue: i,
|
|
@@ -28597,7 +28597,7 @@ const Zx = ({
|
|
|
28597
28597
|
k(K, oe, Te, xa);
|
|
28598
28598
|
}
|
|
28599
28599
|
};
|
|
28600
|
-
}, ZT = { key: 0 }, jT = /* @__PURE__ */
|
|
28600
|
+
}, ZT = { key: 0 }, jT = /* @__PURE__ */ je({
|
|
28601
28601
|
__name: "DatePicker",
|
|
28602
28602
|
props: {
|
|
28603
28603
|
...ea
|
|
@@ -28860,7 +28860,7 @@ const Zx = ({
|
|
|
28860
28860
|
handleYearSelect: T,
|
|
28861
28861
|
handleYear: x
|
|
28862
28862
|
};
|
|
28863
|
-
}, JT = { class: "dp--quarter-items" }, QT = ["disabled", "onClick", "onMouseover"], XT = /* @__PURE__ */
|
|
28863
|
+
}, JT = { class: "dp--quarter-items" }, QT = ["disabled", "onClick", "onMouseover"], XT = /* @__PURE__ */ je({
|
|
28864
28864
|
compatConfig: {
|
|
28865
28865
|
MODE: 3
|
|
28866
28866
|
},
|
|
@@ -28970,7 +28970,7 @@ const Zx = ({
|
|
|
28970
28970
|
}, sM = {
|
|
28971
28971
|
key: 3,
|
|
28972
28972
|
class: "dp__action_extra"
|
|
28973
|
-
}, mf = /* @__PURE__ */
|
|
28973
|
+
}, mf = /* @__PURE__ */ je({
|
|
28974
28974
|
compatConfig: {
|
|
28975
28975
|
MODE: 3
|
|
28976
28976
|
},
|
|
@@ -29253,7 +29253,7 @@ const Zx = ({
|
|
|
29253
29253
|
const s = Qt(e), u = Qt(t);
|
|
29254
29254
|
!s || !u || s === i.target || i.composedPath().includes(s) || i.composedPath().includes(u) || n(i);
|
|
29255
29255
|
}, { passive: !0 }) : void 0;
|
|
29256
|
-
}, fM = /* @__PURE__ */
|
|
29256
|
+
}, fM = /* @__PURE__ */ je({
|
|
29257
29257
|
compatConfig: {
|
|
29258
29258
|
MODE: 3
|
|
29259
29259
|
},
|
|
@@ -29298,14 +29298,14 @@ const Zx = ({
|
|
|
29298
29298
|
Tt(() => {
|
|
29299
29299
|
E(r.modelValue), dt().then(() => {
|
|
29300
29300
|
if (!w.value.enabled) {
|
|
29301
|
-
const
|
|
29302
|
-
|
|
29301
|
+
const de = H(c.value);
|
|
29302
|
+
de == null || de.addEventListener("scroll", le), window == null || window.addEventListener("resize", Ae);
|
|
29303
29303
|
}
|
|
29304
29304
|
}), w.value.enabled && (i.value = !0), window == null || window.addEventListener("keyup", ge), window == null || window.addEventListener("keydown", xe);
|
|
29305
29305
|
}), ls(() => {
|
|
29306
29306
|
if (!w.value.enabled) {
|
|
29307
|
-
const
|
|
29308
|
-
|
|
29307
|
+
const de = H(c.value);
|
|
29308
|
+
de == null || de.removeEventListener("scroll", le), window == null || window.removeEventListener("resize", Ae);
|
|
29309
29309
|
}
|
|
29310
29310
|
window == null || window.removeEventListener("keyup", ge), window == null || window.removeEventListener("keydown", xe);
|
|
29311
29311
|
});
|
|
@@ -29348,64 +29348,64 @@ const Zx = ({
|
|
|
29348
29348
|
})), Re = C(() => ({ class: "dp__outer_menu_wrap" })), W = C(() => w.value.enabled && (r.timePicker || r.monthPicker || r.yearPicker || r.quarterPicker)), le = () => {
|
|
29349
29349
|
i.value && (D.value.closeOnScroll ? Nt() : ee());
|
|
29350
29350
|
}, Ae = () => {
|
|
29351
|
-
var
|
|
29351
|
+
var de;
|
|
29352
29352
|
i.value && ee();
|
|
29353
|
-
const Le = (
|
|
29353
|
+
const Le = (de = m.value) == null ? void 0 : de.$el.getBoundingClientRect().width;
|
|
29354
29354
|
g.value = document.body.offsetWidth <= Le;
|
|
29355
|
-
}, ge = (
|
|
29356
|
-
|
|
29357
|
-
}, xe = (
|
|
29358
|
-
y.value =
|
|
29355
|
+
}, ge = (de) => {
|
|
29356
|
+
de.key === "Tab" && !w.value.enabled && !r.teleport && D.value.tabOutClosesMenu && (c.value.contains(document.activeElement) || Nt()), y.value = de.shiftKey;
|
|
29357
|
+
}, xe = (de) => {
|
|
29358
|
+
y.value = de.shiftKey;
|
|
29359
29359
|
}, he = () => {
|
|
29360
29360
|
!r.disabled && !r.readonly && (R(mf, r), ee(!1), i.value = !0, i.value && a("open"), i.value || rn(), E(r.modelValue));
|
|
29361
29361
|
}, ht = () => {
|
|
29362
|
-
var
|
|
29363
|
-
P.value = "", rn(), (
|
|
29362
|
+
var de;
|
|
29363
|
+
P.value = "", rn(), (de = f.value) == null || de.setParsedDate(null), a("update:model-value", null), a("update:model-timezone-value", null), a("cleared"), D.value.closeOnClearValue && Nt();
|
|
29364
29364
|
}, nt = () => {
|
|
29365
|
-
const
|
|
29366
|
-
return !
|
|
29365
|
+
const de = I.value;
|
|
29366
|
+
return !de || !Array.isArray(de) && T(de) ? !0 : Array.isArray(de) ? V.value.enabled || de.length === 2 && T(de[0]) && T(de[1]) ? !0 : _.value.partialRange && !r.timePicker ? T(de[0]) : !1 : !1;
|
|
29367
29367
|
}, Pt = () => {
|
|
29368
29368
|
we() && nt() ? (q(), Nt()) : a("invalid-select", I.value);
|
|
29369
|
-
}, at = (
|
|
29370
|
-
fn(), q(), D.value.closeOnAutoApply && !
|
|
29369
|
+
}, at = (de) => {
|
|
29370
|
+
fn(), q(), D.value.closeOnAutoApply && !de && Nt();
|
|
29371
29371
|
}, fn = () => {
|
|
29372
29372
|
f.value && h.value.enabled && f.value.setParsedDate(I.value);
|
|
29373
|
-
}, kn = (
|
|
29374
|
-
r.autoApply && x(I.value) && nt() && (_.value.enabled && Array.isArray(I.value) ? (_.value.partialRange || I.value.length === 2) && at(
|
|
29373
|
+
}, kn = (de = !1) => {
|
|
29374
|
+
r.autoApply && x(I.value) && nt() && (_.value.enabled && Array.isArray(I.value) ? (_.value.partialRange || I.value.length === 2) && at(de) : at(de));
|
|
29375
29375
|
}, rn = () => {
|
|
29376
29376
|
h.value.enabled || (I.value = null);
|
|
29377
29377
|
}, Nt = () => {
|
|
29378
29378
|
w.value.enabled || (i.value && (i.value = !1, Z.value = !1, p(!1), M(!1), k(), a("closed"), P.value && E(s.value)), rn(), a("blur"));
|
|
29379
|
-
}, Cn = (
|
|
29380
|
-
if (!
|
|
29379
|
+
}, Cn = (de, Le, $e = !1) => {
|
|
29380
|
+
if (!de) {
|
|
29381
29381
|
I.value = null;
|
|
29382
29382
|
return;
|
|
29383
29383
|
}
|
|
29384
|
-
const Dt = Array.isArray(
|
|
29385
|
-
Dt && _t && (I.value =
|
|
29384
|
+
const Dt = Array.isArray(de) ? !de.some((Ta) => !T(Ta)) : T(de), _t = x(de);
|
|
29385
|
+
Dt && _t && (I.value = de, Le && (o.value = $e, Pt(), a("text-submit")));
|
|
29386
29386
|
}, Ra = () => {
|
|
29387
29387
|
r.autoApply && x(I.value) && q(), fn();
|
|
29388
|
-
}, ka = () => i.value ? Nt() : he(), Ca = (
|
|
29389
|
-
I.value =
|
|
29388
|
+
}, ka = () => i.value ? Nt() : he(), Ca = (de) => {
|
|
29389
|
+
I.value = de;
|
|
29390
29390
|
}, xa = () => {
|
|
29391
29391
|
h.value.enabled && (v.value = !0, ae()), a("focus");
|
|
29392
|
-
},
|
|
29392
|
+
}, fe = () => {
|
|
29393
29393
|
if (h.value.enabled && (v.value = !1, E(r.modelValue), o.value)) {
|
|
29394
|
-
const
|
|
29395
|
-
|
|
29394
|
+
const de = bx(c.value, y.value);
|
|
29395
|
+
de == null || de.focus();
|
|
29396
29396
|
}
|
|
29397
29397
|
a("blur");
|
|
29398
|
-
}, K = (
|
|
29398
|
+
}, K = (de) => {
|
|
29399
29399
|
m.value && m.value.updateMonthYear(0, {
|
|
29400
|
-
month: lf(
|
|
29401
|
-
year: lf(
|
|
29400
|
+
month: lf(de.month),
|
|
29401
|
+
year: lf(de.year)
|
|
29402
29402
|
});
|
|
29403
|
-
}, oe = (
|
|
29404
|
-
E(
|
|
29405
|
-
}, Te = (
|
|
29403
|
+
}, oe = (de) => {
|
|
29404
|
+
E(de ?? r.modelValue);
|
|
29405
|
+
}, Te = (de, Le) => {
|
|
29406
29406
|
var $e;
|
|
29407
|
-
($e = m.value) == null || $e.switchView(
|
|
29408
|
-
}, He = (
|
|
29407
|
+
($e = m.value) == null || $e.switchView(de, Le);
|
|
29408
|
+
}, He = (de) => D.value.onClickOutside ? D.value.onClickOutside(de) : Nt();
|
|
29409
29409
|
return dM(d, f, () => He(nt)), t({
|
|
29410
29410
|
closeMenu: Nt,
|
|
29411
29411
|
selectDate: Pt,
|
|
@@ -29420,7 +29420,7 @@ const Zx = ({
|
|
|
29420
29420
|
parseModel: oe,
|
|
29421
29421
|
switchView: Te,
|
|
29422
29422
|
toggleMenu: ka
|
|
29423
|
-
}), (
|
|
29423
|
+
}), (de, Le) => (z(), ie("div", {
|
|
29424
29424
|
ref_key: "pickerWrapperRef",
|
|
29425
29425
|
ref: c,
|
|
29426
29426
|
class: tt(Ie.value),
|
|
@@ -29432,7 +29432,7 @@ const Zx = ({
|
|
|
29432
29432
|
"input-value": A(P),
|
|
29433
29433
|
"onUpdate:inputValue": Le[0] || (Le[0] = ($e) => Ia(P) ? P.value = $e : null),
|
|
29434
29434
|
"is-menu-open": i.value
|
|
29435
|
-
},
|
|
29435
|
+
}, de.$props, {
|
|
29436
29436
|
onClear: ht,
|
|
29437
29437
|
onOpen: he,
|
|
29438
29438
|
onSetInputDate: Cn,
|
|
@@ -29441,17 +29441,17 @@ const Zx = ({
|
|
|
29441
29441
|
onToggle: ka,
|
|
29442
29442
|
onClose: Nt,
|
|
29443
29443
|
onFocus: xa,
|
|
29444
|
-
onBlur:
|
|
29444
|
+
onBlur: fe,
|
|
29445
29445
|
onRealBlur: Le[1] || (Le[1] = ($e) => v.value = !1)
|
|
29446
29446
|
}), vn({ _: 2 }, [
|
|
29447
29447
|
Qe(A(F), ($e, Dt) => ({
|
|
29448
29448
|
name: $e,
|
|
29449
29449
|
fn: j((_t) => [
|
|
29450
|
-
me(
|
|
29450
|
+
me(de.$slots, $e, At(Ut(_t)))
|
|
29451
29451
|
])
|
|
29452
29452
|
}))
|
|
29453
29453
|
]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
|
|
29454
|
-
(z(), se(Gl(
|
|
29454
|
+
(z(), se(Gl(de.teleport ? xf : "div"), At(Ut(ue.value)), {
|
|
29455
29455
|
default: j(() => [
|
|
29456
29456
|
S(pn, {
|
|
29457
29457
|
name: A($)(A(N)),
|
|
@@ -29469,10 +29469,10 @@ const Zx = ({
|
|
|
29469
29469
|
S(mf, be({
|
|
29470
29470
|
ref_key: "dpMenuRef",
|
|
29471
29471
|
ref: m
|
|
29472
|
-
},
|
|
29472
|
+
}, de.$props, {
|
|
29473
29473
|
"internal-model-value": A(I),
|
|
29474
29474
|
"onUpdate:internalModelValue": Le[2] || (Le[2] = ($e) => Ia(I) ? I.value = $e : null),
|
|
29475
|
-
class: { [ne.value]: !0, "dp--menu-wrapper":
|
|
29475
|
+
class: { [ne.value]: !0, "dp--menu-wrapper": de.teleport },
|
|
29476
29476
|
"open-on-top": A(N),
|
|
29477
29477
|
"no-overlay-focus": W.value,
|
|
29478
29478
|
collapse: g.value,
|
|
@@ -29480,26 +29480,26 @@ const Zx = ({
|
|
|
29480
29480
|
onSelectDate: Pt,
|
|
29481
29481
|
onAutoApply: kn,
|
|
29482
29482
|
onTimeUpdate: Ra,
|
|
29483
|
-
onFlowStep: Le[3] || (Le[3] = ($e) =>
|
|
29484
|
-
onUpdateMonthYear: Le[4] || (Le[4] = ($e) =>
|
|
29485
|
-
onInvalidSelect: Le[5] || (Le[5] = ($e) =>
|
|
29486
|
-
onAutoApplyInvalid: Le[6] || (Le[6] = ($e) =>
|
|
29487
|
-
onInvalidFixedRange: Le[7] || (Le[7] = ($e) =>
|
|
29483
|
+
onFlowStep: Le[3] || (Le[3] = ($e) => de.$emit("flow-step", $e)),
|
|
29484
|
+
onUpdateMonthYear: Le[4] || (Le[4] = ($e) => de.$emit("update-month-year", $e)),
|
|
29485
|
+
onInvalidSelect: Le[5] || (Le[5] = ($e) => de.$emit("invalid-select", A(I))),
|
|
29486
|
+
onAutoApplyInvalid: Le[6] || (Le[6] = ($e) => de.$emit("invalid-select", $e)),
|
|
29487
|
+
onInvalidFixedRange: Le[7] || (Le[7] = ($e) => de.$emit("invalid-fixed-range", $e)),
|
|
29488
29488
|
onRecalculatePosition: A(ee),
|
|
29489
|
-
onTooltipOpen: Le[8] || (Le[8] = ($e) =>
|
|
29490
|
-
onTooltipClose: Le[9] || (Le[9] = ($e) =>
|
|
29491
|
-
onTimePickerOpen: Le[10] || (Le[10] = ($e) =>
|
|
29492
|
-
onTimePickerClose: Le[11] || (Le[11] = ($e) =>
|
|
29493
|
-
onAmPmChange: Le[12] || (Le[12] = ($e) =>
|
|
29494
|
-
onRangeStart: Le[13] || (Le[13] = ($e) =>
|
|
29495
|
-
onRangeEnd: Le[14] || (Le[14] = ($e) =>
|
|
29496
|
-
onDateUpdate: Le[15] || (Le[15] = ($e) =>
|
|
29497
|
-
onInvalidDate: Le[16] || (Le[16] = ($e) =>
|
|
29489
|
+
onTooltipOpen: Le[8] || (Le[8] = ($e) => de.$emit("tooltip-open", $e)),
|
|
29490
|
+
onTooltipClose: Le[9] || (Le[9] = ($e) => de.$emit("tooltip-close", $e)),
|
|
29491
|
+
onTimePickerOpen: Le[10] || (Le[10] = ($e) => de.$emit("time-picker-open", $e)),
|
|
29492
|
+
onTimePickerClose: Le[11] || (Le[11] = ($e) => de.$emit("time-picker-close", $e)),
|
|
29493
|
+
onAmPmChange: Le[12] || (Le[12] = ($e) => de.$emit("am-pm-change", $e)),
|
|
29494
|
+
onRangeStart: Le[13] || (Le[13] = ($e) => de.$emit("range-start", $e)),
|
|
29495
|
+
onRangeEnd: Le[14] || (Le[14] = ($e) => de.$emit("range-end", $e)),
|
|
29496
|
+
onDateUpdate: Le[15] || (Le[15] = ($e) => de.$emit("date-update", $e)),
|
|
29497
|
+
onInvalidDate: Le[16] || (Le[16] = ($e) => de.$emit("invalid-date", $e))
|
|
29498
29498
|
}), vn({ _: 2 }, [
|
|
29499
29499
|
Qe(A(U), ($e, Dt) => ({
|
|
29500
29500
|
name: $e,
|
|
29501
29501
|
fn: j((_t) => [
|
|
29502
|
-
me(
|
|
29502
|
+
me(de.$slots, $e, At(Ut({ ..._t })))
|
|
29503
29503
|
])
|
|
29504
29504
|
}))
|
|
29505
29505
|
]), 1040, ["internal-model-value", "class", "open-on-top", "no-overlay-focus", "collapse", "onRecalculatePosition"])
|
|
@@ -29524,7 +29524,7 @@ const Zx = ({
|
|
|
29524
29524
|
Object.entries(mM).forEach(([e, t]) => {
|
|
29525
29525
|
e !== "default" && (Ms[e] = t);
|
|
29526
29526
|
});
|
|
29527
|
-
const yy = /* @__PURE__ */
|
|
29527
|
+
const yy = /* @__PURE__ */ je({
|
|
29528
29528
|
inheritAttrs: !1,
|
|
29529
29529
|
__name: "BT-Date",
|
|
29530
29530
|
props: {
|
|
@@ -29565,7 +29565,7 @@ const yy = /* @__PURE__ */ Ke({
|
|
|
29565
29565
|
"onUpdate:modelValue": u[0] || (u[0] = (d) => i.value = d)
|
|
29566
29566
|
}), null, 16, ["dark", "enable-time-picker", "time-picker-inline", "timezone", "modelValue"]));
|
|
29567
29567
|
}
|
|
29568
|
-
}), gy = /* @__PURE__ */
|
|
29568
|
+
}), gy = /* @__PURE__ */ je({
|
|
29569
29569
|
inheritAttrs: !1,
|
|
29570
29570
|
__name: "BT-Number",
|
|
29571
29571
|
props: {
|
|
@@ -29769,7 +29769,7 @@ function hD(e) {
|
|
|
29769
29769
|
}
|
|
29770
29770
|
function RM(e, t) {
|
|
29771
29771
|
const n = Y(!1), a = Pe(e);
|
|
29772
|
-
let r = l(
|
|
29772
|
+
let r = l(Je(e));
|
|
29773
29773
|
(t == null ? void 0 : t.useTracker) !== !1 && De(a, (s) => {
|
|
29774
29774
|
n.value = l(s) != r;
|
|
29775
29775
|
}, { deep: !0 });
|
|
@@ -29782,7 +29782,7 @@ function RM(e, t) {
|
|
|
29782
29782
|
})), JSON.stringify(u);
|
|
29783
29783
|
}
|
|
29784
29784
|
function i() {
|
|
29785
|
-
r = l(
|
|
29785
|
+
r = l(Je(a)), n.value = !1;
|
|
29786
29786
|
}
|
|
29787
29787
|
return {
|
|
29788
29788
|
asyncItem: a,
|
|
@@ -29821,20 +29821,20 @@ function by(e, t) {
|
|
|
29821
29821
|
}), V = C(() => {
|
|
29822
29822
|
if (w.value == "new")
|
|
29823
29823
|
return !1;
|
|
29824
|
-
const P =
|
|
29824
|
+
const P = Je(v);
|
|
29825
29825
|
return e.onCanDelete != null ? e.onCanDelete(P) : (P == null ? void 0 : P.isInactive) !== !0;
|
|
29826
29826
|
}), $ = C(() => {
|
|
29827
29827
|
if (w.value == "new")
|
|
29828
29828
|
return !1;
|
|
29829
|
-
const P =
|
|
29829
|
+
const P = Je(v);
|
|
29830
29830
|
return e.onCanEdit != null ? e.onCanEdit(P) : !0;
|
|
29831
29831
|
}), B = C(() => {
|
|
29832
29832
|
if (w.value == "new")
|
|
29833
29833
|
return !1;
|
|
29834
|
-
const P =
|
|
29834
|
+
const P = Je(v);
|
|
29835
29835
|
return e.onCanRestore != null ? e.onCanRestore(P) : (P == null ? void 0 : P.isInactive) === !0;
|
|
29836
29836
|
}), U = C(() => {
|
|
29837
|
-
const P =
|
|
29837
|
+
const P = Je(v);
|
|
29838
29838
|
return e.onCanSave != null ? e.onCanSave(P) : !0;
|
|
29839
29839
|
}), { isChanged: F, restartTracker: N } = RM(v, {
|
|
29840
29840
|
useTracker: e.trackChanges,
|
|
@@ -29865,7 +29865,7 @@ function by(e, t) {
|
|
|
29865
29865
|
onRestoreAsync: E,
|
|
29866
29866
|
onRestoreSuccessAsync: q
|
|
29867
29867
|
} = { ...e };
|
|
29868
|
-
M({
|
|
29868
|
+
return M({
|
|
29869
29869
|
additionalUrl: I,
|
|
29870
29870
|
data: P,
|
|
29871
29871
|
nav: s,
|
|
@@ -29912,7 +29912,7 @@ function by(e, t) {
|
|
|
29912
29912
|
onSaveAsync: we,
|
|
29913
29913
|
onSaveSuccessAsync: Ie = (ne) => ((I == null ? void 0 : I.navBack) === !0 ? e.variant == "blade" ? m.closeBlade({ bladeName: e.bladeName }) : u() : (P.rowVersion != null && ne.rowVersion != null && (P.rowVersion = ne.rowVersion), N(), w.value = "view"), Promise.resolve(void 0))
|
|
29914
29914
|
} = { ...e };
|
|
29915
|
-
k({
|
|
29915
|
+
return k({
|
|
29916
29916
|
additionalUrl: E,
|
|
29917
29917
|
data: P,
|
|
29918
29918
|
nav: s,
|
|
@@ -29927,7 +29927,7 @@ function by(e, t) {
|
|
|
29927
29927
|
});
|
|
29928
29928
|
}
|
|
29929
29929
|
function R() {
|
|
29930
|
-
const P =
|
|
29930
|
+
const P = Je(w);
|
|
29931
29931
|
!P || P == "view" ? w.value = "edit" : P == "edit" && (w.value = "view");
|
|
29932
29932
|
}
|
|
29933
29933
|
return De(T, (P) => {
|
|
@@ -30086,7 +30086,7 @@ function wD(e) {
|
|
|
30086
30086
|
const t = [];
|
|
30087
30087
|
return (e == null ? void 0 : e.required) == !0 && t.push((n) => !!n || "Field is required"), (e == null ? void 0 : e.otherRules) != null && (Array.isArray(e == null ? void 0 : e.otherRules) ? t.push(...e.otherRules) : t.push(e.otherRules)), (e == null ? void 0 : e.forPassword) == !0 && (t.push((n) => !!n || "Password is required"), t.push((n) => n != null && n.length > 9 || "Password must be 10 or more characters"), t.push((n) => /^(.*[a-z].*)$/.test(n) || "Password must contain a lowercase letter"), t.push((n) => /^(.*[A-Z].*)$/.test(n) || "Password must contain an uppercase letter"), t.push((n) => /^(.*\d.*)$/.test(n) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((n) => !!n || "Email is required"), t.push((n) => $0(n) || "Email must be valid")), t;
|
|
30088
30088
|
}
|
|
30089
|
-
const WM = /* @__PURE__ */
|
|
30089
|
+
const WM = /* @__PURE__ */ je({
|
|
30090
30090
|
__name: "BT-Blade-Item",
|
|
30091
30091
|
props: {
|
|
30092
30092
|
actualHeight: {},
|
|
@@ -30372,7 +30372,7 @@ const GM = () => {
|
|
|
30372
30372
|
};
|
|
30373
30373
|
function Dl(e, t = YM, n = {}) {
|
|
30374
30374
|
const a = n.onRest || GM, r = Y(
|
|
30375
|
-
Ia(e) ? e :
|
|
30375
|
+
Ia(e) ? e : Je(e)
|
|
30376
30376
|
);
|
|
30377
30377
|
let l = !1, i = 0, s = 0, u;
|
|
30378
30378
|
De(
|
|
@@ -30413,8 +30413,8 @@ function Dl(e, t = YM, n = {}) {
|
|
|
30413
30413
|
jM(
|
|
30414
30414
|
k,
|
|
30415
30415
|
M,
|
|
30416
|
-
|
|
30417
|
-
|
|
30416
|
+
Je(t),
|
|
30417
|
+
Je(r),
|
|
30418
30418
|
m.value,
|
|
30419
30419
|
f.value,
|
|
30420
30420
|
v,
|
|
@@ -30463,7 +30463,7 @@ function jM(e, t, n, a, r, l, i, s) {
|
|
|
30463
30463
|
}
|
|
30464
30464
|
}
|
|
30465
30465
|
const ky = /* @__PURE__ */ new WeakMap(), Cy = /* @__PURE__ */ new WeakMap();
|
|
30466
|
-
|
|
30466
|
+
je({
|
|
30467
30467
|
name: "TransitionGroup",
|
|
30468
30468
|
props: {
|
|
30469
30469
|
config: Object,
|
|
@@ -30543,7 +30543,7 @@ function JM(e, t) {
|
|
|
30543
30543
|
function QM() {
|
|
30544
30544
|
return document.body.offsetHeight;
|
|
30545
30545
|
}
|
|
30546
|
-
const XM = /* @__PURE__ */
|
|
30546
|
+
const XM = /* @__PURE__ */ je({
|
|
30547
30547
|
__name: "BT-Blade",
|
|
30548
30548
|
props: {
|
|
30549
30549
|
density: { default: "compact" },
|
|
@@ -30744,7 +30744,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
30744
30744
|
_: 3
|
|
30745
30745
|
}));
|
|
30746
30746
|
}
|
|
30747
|
-
}), eA = /* @__PURE__ */
|
|
30747
|
+
}), eA = /* @__PURE__ */ je({
|
|
30748
30748
|
__name: "BT-Btn",
|
|
30749
30749
|
props: {
|
|
30750
30750
|
icon: { default: void 0 },
|
|
@@ -30762,7 +30762,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
30762
30762
|
variant: u.value
|
|
30763
30763
|
}), null, 16, ["disabled", "icon", "size", "variant"]));
|
|
30764
30764
|
}
|
|
30765
|
-
}), tA = /* @__PURE__ */
|
|
30765
|
+
}), tA = /* @__PURE__ */ je({
|
|
30766
30766
|
__name: "BT-Col",
|
|
30767
30767
|
props: {
|
|
30768
30768
|
cols: { type: [String, Boolean], default: "12" },
|
|
@@ -30790,7 +30790,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
30790
30790
|
}), nA = {
|
|
30791
30791
|
key: 0,
|
|
30792
30792
|
class: "align-center justify-center text-center"
|
|
30793
|
-
}, aA = { key: "3" }, rA = /* @__PURE__ */
|
|
30793
|
+
}, aA = { key: "3" }, rA = /* @__PURE__ */ je({
|
|
30794
30794
|
__name: "BT-Entity",
|
|
30795
30795
|
props: {
|
|
30796
30796
|
alternateText: {},
|
|
@@ -30848,7 +30848,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
30848
30848
|
},
|
|
30849
30849
|
setup(e) {
|
|
30850
30850
|
const t = e, n = si(), a = by(t), r = Tr(), l = t.itemText ?? (t.nav != null ? r.findItemText(t.nav) : void 0) ?? void 0, i = C(() => {
|
|
30851
|
-
var s =
|
|
30851
|
+
var s = Je(a.asyncItem);
|
|
30852
30852
|
return l != null && (s = da(a.asyncItem.value, l)), t.textFilter != null ? n.findFilter(t.textFilter)(s) : s;
|
|
30853
30853
|
});
|
|
30854
30854
|
return (s, u) => (z(), ie("div", {
|
|
@@ -30909,7 +30909,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
30909
30909
|
}, 8, ["modelValue"]))
|
|
30910
30910
|
], 2));
|
|
30911
30911
|
}
|
|
30912
|
-
}), lA = /* @__PURE__ */
|
|
30912
|
+
}), lA = /* @__PURE__ */ je({
|
|
30913
30913
|
inheritAttrs: !1,
|
|
30914
30914
|
__name: "BT-Field-Checkbox",
|
|
30915
30915
|
props: {
|
|
@@ -30954,7 +30954,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
30954
30954
|
_: 1
|
|
30955
30955
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
30956
30956
|
}
|
|
30957
|
-
}), iA = /* @__PURE__ */
|
|
30957
|
+
}), iA = /* @__PURE__ */ je({
|
|
30958
30958
|
inheritAttrs: !1,
|
|
30959
30959
|
__name: "BT-Field-Date",
|
|
30960
30960
|
props: {
|
|
@@ -31045,7 +31045,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31045
31045
|
_: 1
|
|
31046
31046
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
31047
31047
|
}
|
|
31048
|
-
}), sA = /* @__PURE__ */
|
|
31048
|
+
}), sA = /* @__PURE__ */ je({
|
|
31049
31049
|
inheritAttrs: !1,
|
|
31050
31050
|
__name: "BT-Field-Entity",
|
|
31051
31051
|
props: {
|
|
@@ -31090,7 +31090,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31090
31090
|
}, 8, ["lg", "md", "sm", "cols"]);
|
|
31091
31091
|
};
|
|
31092
31092
|
}
|
|
31093
|
-
}), oA = /* @__PURE__ */
|
|
31093
|
+
}), oA = /* @__PURE__ */ je({
|
|
31094
31094
|
inheritAttrs: !1,
|
|
31095
31095
|
__name: "BT-Field-Select",
|
|
31096
31096
|
props: {
|
|
@@ -31142,7 +31142,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31142
31142
|
}, 8, ["lg", "md", "sm", "cols"]);
|
|
31143
31143
|
};
|
|
31144
31144
|
}
|
|
31145
|
-
}), uA = /* @__PURE__ */
|
|
31145
|
+
}), uA = /* @__PURE__ */ je({
|
|
31146
31146
|
inheritAttrs: !1,
|
|
31147
31147
|
__name: "BT-Field-String",
|
|
31148
31148
|
props: {
|
|
@@ -31187,7 +31187,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31187
31187
|
_: 1
|
|
31188
31188
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
31189
31189
|
}
|
|
31190
|
-
}), cA = /* @__PURE__ */
|
|
31190
|
+
}), cA = /* @__PURE__ */ je({
|
|
31191
31191
|
inheritAttrs: !1,
|
|
31192
31192
|
__name: "BT-Field-Switch",
|
|
31193
31193
|
props: {
|
|
@@ -31246,7 +31246,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31246
31246
|
_: 1
|
|
31247
31247
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
31248
31248
|
}
|
|
31249
|
-
}), dA = /* @__PURE__ */
|
|
31249
|
+
}), dA = /* @__PURE__ */ je({
|
|
31250
31250
|
inheritAttrs: !1,
|
|
31251
31251
|
__name: "BT-Field-Tags",
|
|
31252
31252
|
props: {
|
|
@@ -31290,7 +31290,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31290
31290
|
_: 1
|
|
31291
31291
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
31292
31292
|
}
|
|
31293
|
-
}), fA = /* @__PURE__ */
|
|
31293
|
+
}), fA = /* @__PURE__ */ je({
|
|
31294
31294
|
inheritAttrs: !1,
|
|
31295
31295
|
__name: "BT-Field-Textarea",
|
|
31296
31296
|
props: {
|
|
@@ -31344,7 +31344,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31344
31344
|
}, yA = {
|
|
31345
31345
|
key: 3,
|
|
31346
31346
|
class: "mx-1"
|
|
31347
|
-
}, gA = /* @__PURE__ */
|
|
31347
|
+
}, gA = /* @__PURE__ */ je({
|
|
31348
31348
|
inheritAttrs: !1,
|
|
31349
31349
|
__name: "BT-Field-Trigger",
|
|
31350
31350
|
props: {
|
|
@@ -31689,7 +31689,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31689
31689
|
_: 1
|
|
31690
31690
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
31691
31691
|
}
|
|
31692
|
-
}), bA = { key: 0 }, wA = { key: 1 }, pA = { key: 3 }, SA = /* @__PURE__ */
|
|
31692
|
+
}), bA = { key: 0 }, wA = { key: 1 }, pA = { key: 3 }, SA = /* @__PURE__ */ je({
|
|
31693
31693
|
__name: "BT-Header-Option",
|
|
31694
31694
|
props: {
|
|
31695
31695
|
data: {},
|
|
@@ -31730,7 +31730,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31730
31730
|
});
|
|
31731
31731
|
};
|
|
31732
31732
|
}
|
|
31733
|
-
}), kA = ["innerHTML"], CA = /* @__PURE__ */
|
|
31733
|
+
}), kA = ["innerHTML"], CA = /* @__PURE__ */ je({
|
|
31734
31734
|
__name: "BT-Json",
|
|
31735
31735
|
props: ["value"],
|
|
31736
31736
|
setup(e) {
|
|
@@ -31760,7 +31760,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31760
31760
|
_: 1
|
|
31761
31761
|
}));
|
|
31762
31762
|
}
|
|
31763
|
-
}), xA = /* @__PURE__ */
|
|
31763
|
+
}), xA = /* @__PURE__ */ je({
|
|
31764
31764
|
__name: "BT-Loader",
|
|
31765
31765
|
props: ["loadingMsg"],
|
|
31766
31766
|
setup(e) {
|
|
@@ -31789,7 +31789,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31789
31789
|
_: 1
|
|
31790
31790
|
}, 8, ["modelValue"]));
|
|
31791
31791
|
}
|
|
31792
|
-
}), TA = /* @__PURE__ */
|
|
31792
|
+
}), TA = /* @__PURE__ */ je({
|
|
31793
31793
|
__name: "BT-Nav-Sidebar",
|
|
31794
31794
|
props: {
|
|
31795
31795
|
iconSrc: {},
|
|
@@ -31916,7 +31916,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
31916
31916
|
_: 3
|
|
31917
31917
|
}, 8, ["rail", "modelValue"]));
|
|
31918
31918
|
}
|
|
31919
|
-
}), MA = /* @__PURE__ */
|
|
31919
|
+
}), MA = /* @__PURE__ */ je({
|
|
31920
31920
|
inheritAttrs: !1,
|
|
31921
31921
|
__name: "BT-Select-List-Box",
|
|
31922
31922
|
props: {
|
|
@@ -32267,7 +32267,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
32267
32267
|
_: 3
|
|
32268
32268
|
}, 8, ["class", "lg", "md", "sm", "cols"]));
|
|
32269
32269
|
}
|
|
32270
|
-
}), AA = /* @__PURE__ */
|
|
32270
|
+
}), AA = /* @__PURE__ */ je({
|
|
32271
32271
|
__name: "BT-Select",
|
|
32272
32272
|
props: {
|
|
32273
32273
|
additionalUrl: {},
|
|
@@ -32361,7 +32361,7 @@ const XM = /* @__PURE__ */ Ke({
|
|
|
32361
32361
|
_: 3
|
|
32362
32362
|
}, 8, ["append-icon", "clearable", "items", "item-title", "item-value", "variant"]));
|
|
32363
32363
|
}
|
|
32364
|
-
}), DA = /* @__PURE__ */
|
|
32364
|
+
}), DA = /* @__PURE__ */ je({
|
|
32365
32365
|
__name: "BT-Span",
|
|
32366
32366
|
props: {
|
|
32367
32367
|
customFilter: {},
|