bt-core-app 1.4.720 → 1.4.722
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 +159 -159
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -2,7 +2,7 @@ var q0 = Object.defineProperty;
|
|
|
2
2
|
var G0 = (e, t, a) => t in e ? q0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var je = (e, t, a) => (G0(e, typeof t != "symbol" ? t + "" : t, a), a);
|
|
4
4
|
import { ref as z, shallowRef as ze, computed as _, toValue as it, toRaw as Gt, watch as Se, onMounted as Ct, h as rl, Fragment as we, reactive as Ga, watchEffect as pn, toRefs as xd, capitalize as xo, isVNode as Z0, Comment as K0, unref as M, warn as So, getCurrentInstance as X0, provide as da, inject as Ke, defineComponent as Ze, camelize as Vh, createVNode as b, mergeProps as pe, toRef as Pe, isRef as mn, Text as J0, TransitionGroup as Sd, Transition as un, onBeforeMount as Co, nextTick as ft, onBeforeUnmount as Oa, withDirectives as Kt, resolveDirective as cl, vShow as Mn, openBlock as P, createBlock as X, normalizeProps as zt, guardReactiveProps as sa, withCtx as B, createElementVNode as Fe, onScopeDispose as Va, effectScope as Cd, onUpdated as $h, readonly as Td, resolveDynamicComponent as To, markRaw as Q0, resolveComponent as Fa, renderSlot as fe, createCommentVNode as K, normalizeStyle as Dt, createElementBlock as re, createTextVNode as Ne, onDeactivated as Ph, onActivated as eb, Teleport as Bh, onBeforeUpdate as Nh, cloneVNode as tb, renderList as qe, withKeys as io, toDisplayString as Re, normalizeClass as Je, createSlots as fa, withModifiers as ya, getTransitionRawChildren as ab, onUnmounted as dl, useSlots as Lr, render as nm, getCurrentScope as nb, vModelText as lb } from "vue";
|
|
5
|
-
import { watchArray as pc, useStorage as Fh, useEventListener as
|
|
5
|
+
import { watchArray as pc, useStorage as Fh, useEventListener as Ta, toValue as Xn, useParentElement as rb, useResizeObserver as ib, useFileDialog as Rh, useArrayUnique as ob, useArrayDifference as lm, watchDebounced as zh, tryOnMounted as sb } from "@vueuse/core";
|
|
6
6
|
import { defineStore as Xs, getActivePinia as ub } from "pinia";
|
|
7
7
|
import { useRouter as ci, useRoute as Mo } from "vue-router";
|
|
8
8
|
function cb(e) {
|
|
@@ -5386,7 +5386,7 @@ function g$(e) {
|
|
|
5386
5386
|
}
|
|
5387
5387
|
function y$(e, t, a = !0) {
|
|
5388
5388
|
return e.sort(function(n, l) {
|
|
5389
|
-
return t ? typeof t == "string" ?
|
|
5389
|
+
return t ? typeof t == "string" ? Da(n, t) > Da(l, t) ? a === !0 ? 1 : -1 : Da(n, t) < Da(l, t) ? a === !0 ? -1 : 1 : 0 : t(n) > t(l) ? a === !0 ? 1 : -1 : t(n) < t(l) ? a === !0 ? -1 : 1 : 0 : n > l ? a === !0 ? 1 : -1 : n < l ? a === !0 ? -1 : 1 : 0;
|
|
5390
5390
|
});
|
|
5391
5391
|
}
|
|
5392
5392
|
function qt(e, t, a = "/") {
|
|
@@ -5412,7 +5412,7 @@ function yk(e, t) {
|
|
|
5412
5412
|
return [...new Set(e.map((n) => n))];
|
|
5413
5413
|
const a = [];
|
|
5414
5414
|
return typeof t == "string" ? e.forEach((n) => {
|
|
5415
|
-
a.some((l) =>
|
|
5415
|
+
a.some((l) => Da(n, t) == Da(l, t)) || a.push(n);
|
|
5416
5416
|
}) : e.forEach((n) => {
|
|
5417
5417
|
a.some((l) => t(n) == t(l)) || a.push(n);
|
|
5418
5418
|
}), a;
|
|
@@ -5543,7 +5543,7 @@ function Ck(e, t) {
|
|
|
5543
5543
|
function rt(e, t = 0) {
|
|
5544
5544
|
return e != null && Array.isArray(e) && e.length > t;
|
|
5545
5545
|
}
|
|
5546
|
-
function
|
|
5546
|
+
function Ma(e) {
|
|
5547
5547
|
return e == null || e.length == 0;
|
|
5548
5548
|
}
|
|
5549
5549
|
function Tk(e) {
|
|
@@ -5636,7 +5636,7 @@ function Vk(e, t, a) {
|
|
|
5636
5636
|
return !1;
|
|
5637
5637
|
for (let l = 0; l < a.length; l++) {
|
|
5638
5638
|
const r = a[l];
|
|
5639
|
-
var n =
|
|
5639
|
+
var n = Da(e, r);
|
|
5640
5640
|
if (n != null && (typeof n == "string" || typeof n == "number") && _k(n, t))
|
|
5641
5641
|
return !0;
|
|
5642
5642
|
}
|
|
@@ -5650,7 +5650,7 @@ function _$(e = 2e3) {
|
|
|
5650
5650
|
setTimeout(() => t(), e);
|
|
5651
5651
|
});
|
|
5652
5652
|
}
|
|
5653
|
-
function
|
|
5653
|
+
function Da(e, t) {
|
|
5654
5654
|
if (e == null || e == null || !t)
|
|
5655
5655
|
return null;
|
|
5656
5656
|
var a = t.split(".");
|
|
@@ -6667,7 +6667,7 @@ var Yg = { exports: {} };
|
|
|
6667
6667
|
function st(U, ae, j) {
|
|
6668
6668
|
return nt.apply(this, [U, ae, j, 1]);
|
|
6669
6669
|
}
|
|
6670
|
-
function
|
|
6670
|
+
function Ft(U, ae) {
|
|
6671
6671
|
var j = this;
|
|
6672
6672
|
U = y(U);
|
|
6673
6673
|
var ce = new f(function(de, oe) {
|
|
@@ -6684,7 +6684,7 @@ var Yg = { exports: {} };
|
|
|
6684
6684
|
});
|
|
6685
6685
|
return g(ce, ae), ce;
|
|
6686
6686
|
}
|
|
6687
|
-
function
|
|
6687
|
+
function _a(U) {
|
|
6688
6688
|
var ae = this, j = new f(function(ce, de) {
|
|
6689
6689
|
ae.ready().then(function() {
|
|
6690
6690
|
var oe = ae._dbInfo;
|
|
@@ -6809,8 +6809,8 @@ var Yg = { exports: {} };
|
|
|
6809
6809
|
iterate: Te,
|
|
6810
6810
|
getItem: ve,
|
|
6811
6811
|
setItem: st,
|
|
6812
|
-
removeItem:
|
|
6813
|
-
clear:
|
|
6812
|
+
removeItem: Ft,
|
|
6813
|
+
clear: _a,
|
|
6814
6814
|
length: la,
|
|
6815
6815
|
key: Ja,
|
|
6816
6816
|
keys: Mu,
|
|
@@ -7224,7 +7224,7 @@ function $$() {
|
|
|
7224
7224
|
saveAsync: n
|
|
7225
7225
|
};
|
|
7226
7226
|
}
|
|
7227
|
-
const
|
|
7227
|
+
const Ca = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
|
7228
7228
|
let Mc;
|
|
7229
7229
|
function nu() {
|
|
7230
7230
|
return Mc;
|
|
@@ -7232,16 +7232,16 @@ function nu() {
|
|
|
7232
7232
|
function zk(e) {
|
|
7233
7233
|
const t = e.getUTC ?? Ye.utc;
|
|
7234
7234
|
function a(u) {
|
|
7235
|
-
return u == null ? t() : Ye.fromFormat(u,
|
|
7235
|
+
return u == null ? t() : Ye.fromFormat(u, Ca);
|
|
7236
7236
|
}
|
|
7237
7237
|
function n(u) {
|
|
7238
|
-
return u == null ? t().toFormat(
|
|
7238
|
+
return u == null ? t().toFormat(Ca) : u.toFormat(Ca);
|
|
7239
7239
|
}
|
|
7240
7240
|
function l() {
|
|
7241
|
-
return i().startOf("day").toUTC().toFormat(
|
|
7241
|
+
return i().startOf("day").toUTC().toFormat(Ca) ?? "";
|
|
7242
7242
|
}
|
|
7243
7243
|
function r() {
|
|
7244
|
-
return i().startOf("day").plus({ day: 1 }).toUTC().toFormat(
|
|
7244
|
+
return i().startOf("day").plus({ day: 1 }).toUTC().toFormat(Ca) ?? "";
|
|
7245
7245
|
}
|
|
7246
7246
|
function i(u, f) {
|
|
7247
7247
|
return u == null ? t().setZone(e.getTimeZone()) : f ? Ye.fromFormat(u, f, { zone: e.getTimeZone() }) : Ye.fromISO(u, { zone: e.getTimeZone() });
|
|
@@ -7249,22 +7249,22 @@ function zk(e) {
|
|
|
7249
7249
|
function o(u, f, g) {
|
|
7250
7250
|
if (u == null) {
|
|
7251
7251
|
const y = t().setZone(e.getTimeZone());
|
|
7252
|
-
return f ? y.toFormat(f) : y.toFormat(
|
|
7252
|
+
return f ? y.toFormat(f) : y.toFormat(Ca);
|
|
7253
7253
|
}
|
|
7254
7254
|
if (u == "Invalid DateTime")
|
|
7255
7255
|
return "";
|
|
7256
7256
|
const m = g ? Ye.fromFormat(u, g, { zone: e.getTimeZone() }) : Ye.fromISO(u, { zone: e.getTimeZone() });
|
|
7257
|
-
return f ? m.toFormat(f) : m == null ? void 0 : m.toFormat(
|
|
7257
|
+
return f ? m.toFormat(f) : m == null ? void 0 : m.toFormat(Ca);
|
|
7258
7258
|
}
|
|
7259
7259
|
function s(u, f) {
|
|
7260
7260
|
return u == null ? t() : f ? Ye.fromFormat(u, f) : Ye.fromISO(u);
|
|
7261
7261
|
}
|
|
7262
7262
|
function c(u, f, g) {
|
|
7263
7263
|
if (u == null)
|
|
7264
|
-
return f ? t().toFormat(f) : t().toFormat(
|
|
7264
|
+
return f ? t().toFormat(f) : t().toFormat(Ca);
|
|
7265
7265
|
{
|
|
7266
7266
|
const m = g ? Ye.fromFormat(u, g) : Ye.fromISO(u);
|
|
7267
|
-
return f ? m.toFormat(f) : m.toFormat(
|
|
7267
|
+
return f ? m.toFormat(f) : m.toFormat(Ca);
|
|
7268
7268
|
}
|
|
7269
7269
|
}
|
|
7270
7270
|
return Mc = {
|
|
@@ -7942,12 +7942,12 @@ function qk(e) {
|
|
|
7942
7942
|
let D = e.dates.btDate(x.left.dateFrom), E = e.dates.btDate(x.left.dateTo);
|
|
7943
7943
|
for (; E.diff(D).as("days") > e.bundlingDays; )
|
|
7944
7944
|
T.left.push({
|
|
7945
|
-
dateFrom: D.toFormat(
|
|
7946
|
-
dateTo: D.plus({ days: e.bundlingDays }).toFormat(
|
|
7945
|
+
dateFrom: D.toFormat(Ca),
|
|
7946
|
+
dateTo: D.plus({ days: e.bundlingDays }).toFormat(Ca)
|
|
7947
7947
|
}), D = D.plus({ days: e.bundlingDays });
|
|
7948
7948
|
T.left.push({
|
|
7949
|
-
dateFrom: D.toFormat(
|
|
7950
|
-
dateTo: E.toFormat(
|
|
7949
|
+
dateFrom: D.toFormat(Ca),
|
|
7950
|
+
dateTo: E.toFormat(Ca)
|
|
7951
7951
|
});
|
|
7952
7952
|
}
|
|
7953
7953
|
if (x.right != null) {
|
|
@@ -7955,12 +7955,12 @@ function qk(e) {
|
|
|
7955
7955
|
let D = e.dates.btDate(x.right.dateFrom), E = e.dates.btDate(x.right.dateTo);
|
|
7956
7956
|
for (; E.diff(D).as("days") > e.bundlingDays; )
|
|
7957
7957
|
T.right.push({
|
|
7958
|
-
dateFrom: D.toFormat(
|
|
7959
|
-
dateTo: D.plus({ days: e.bundlingDays }).toFormat(
|
|
7958
|
+
dateFrom: D.toFormat(Ca),
|
|
7959
|
+
dateTo: D.plus({ days: e.bundlingDays }).toFormat(Ca)
|
|
7960
7960
|
}), D = D.plus({ days: e.bundlingDays });
|
|
7961
7961
|
T.right.push({
|
|
7962
|
-
dateFrom: D.toFormat(
|
|
7963
|
-
dateTo: E.toFormat(
|
|
7962
|
+
dateFrom: D.toFormat(Ca),
|
|
7963
|
+
dateTo: E.toFormat(Ca)
|
|
7964
7964
|
});
|
|
7965
7965
|
}
|
|
7966
7966
|
return T;
|
|
@@ -9032,11 +9032,11 @@ function Jk(e) {
|
|
|
9032
9032
|
let L = g(D);
|
|
9033
9033
|
E != null && (L.includes("?") || (L = L + "?"), L.includes("&") && (L = L + "&"), L = L + new URLSearchParams(E).toString()), window.location.href = L;
|
|
9034
9034
|
} else
|
|
9035
|
-
!
|
|
9035
|
+
!Ma(D) && e.router != null && e.router.push({ path: D });
|
|
9036
9036
|
}
|
|
9037
9037
|
async function p() {
|
|
9038
9038
|
return e.tryRefreshToken ?? (e.tryRefreshToken = async () => {
|
|
9039
|
-
if (e.useTokenRefresh !== !0 ||
|
|
9039
|
+
if (e.useTokenRefresh !== !0 || Ma(r.value.refreshToken) || Ma(r.value.refreshExpiresOn))
|
|
9040
9040
|
return;
|
|
9041
9041
|
const D = Ye.fromFormat(r.value.refreshExpiresOn, t), E = Ye.utc(), I = D.plus({ minutes: 0 - a });
|
|
9042
9042
|
if (!(E.toString() > D.toString()) && !(E.toString() < I.toString())) {
|
|
@@ -9115,7 +9115,7 @@ function Jk(e) {
|
|
|
9115
9115
|
return D.isLoggedIn && T() && x() && (h(), window.location.href = g()), D.isLoggedIn;
|
|
9116
9116
|
}
|
|
9117
9117
|
function x() {
|
|
9118
|
-
if (!e.useTokenRefresh ||
|
|
9118
|
+
if (!e.useTokenRefresh || Ma(r.value.refreshExpiresOn) || Ma(r.value.refreshToken))
|
|
9119
9119
|
return !0;
|
|
9120
9120
|
const D = Ye.fromFormat(r.value.refreshExpiresOn, t);
|
|
9121
9121
|
return Ye.utc() < D;
|
|
@@ -9171,7 +9171,7 @@ function Qk(e, t, a = {}) {
|
|
|
9171
9171
|
}, o = {
|
|
9172
9172
|
x: w.offsetLeft,
|
|
9173
9173
|
y: w.offsetTop
|
|
9174
|
-
}, ((T = a.onStart) == null ? void 0 : T.call(a, c, S)) !== !1 && (f.push(
|
|
9174
|
+
}, ((T = a.onStart) == null ? void 0 : T.call(a, c, S)) !== !1 && (f.push(Ta("mousemove", h)), f.push(Ta("touchmove", h)), f.push(Ta("mouseup", v)), f.push(Ta("touchend", v)), m(S));
|
|
9175
9175
|
}
|
|
9176
9176
|
function h(S) {
|
|
9177
9177
|
var D;
|
|
@@ -9201,7 +9201,7 @@ function Qk(e, t, a = {}) {
|
|
|
9201
9201
|
if (!S)
|
|
9202
9202
|
return;
|
|
9203
9203
|
const C = S.$el;
|
|
9204
|
-
C.style.cursor = "move", u.push(
|
|
9204
|
+
C.style.cursor = "move", u.push(Ta(C, "mousedown", y, i)), u.push(Ta(C, "touchstart", y, i)), g.value = !0;
|
|
9205
9205
|
}
|
|
9206
9206
|
function k() {
|
|
9207
9207
|
if (!it(g))
|
|
@@ -9258,7 +9258,7 @@ function tx(e, t = {}) {
|
|
|
9258
9258
|
}, A = ri(w), ((ne = t.onStart) == null ? void 0 : ne.call(t, C.value, q)) === !1)
|
|
9259
9259
|
return;
|
|
9260
9260
|
let te = q.target;
|
|
9261
|
-
document.documentElement.style.cursor = $(te.dataset.handle), f = te.dataset.handle, k.push(
|
|
9261
|
+
document.documentElement.style.cursor = $(te.dataset.handle), f = te.dataset.handle, k.push(Ta("mousemove", L)), k.push(Ta("mouseup", V)), k.push(Ta("touchmove", L)), k.push(Ta("touchend", V)), x(q);
|
|
9262
9262
|
}
|
|
9263
9263
|
function L(q) {
|
|
9264
9264
|
const Z = Xn(e);
|
|
@@ -9317,7 +9317,7 @@ function tx(e, t = {}) {
|
|
|
9317
9317
|
top: 0,
|
|
9318
9318
|
left: 0,
|
|
9319
9319
|
position: void 0
|
|
9320
|
-
}),
|
|
9320
|
+
}), Ta(R, "transitionend", () => {
|
|
9321
9321
|
R.style.width = "auto", R.style.top = "", R.style.left = "", R.style.position = "", R.style.transition = "", m.value = !1;
|
|
9322
9322
|
}, { once: !0 });
|
|
9323
9323
|
} else if ((a == "page" || Z.$el.style.position !== "absolute") && q !== "page") {
|
|
@@ -9341,7 +9341,7 @@ function tx(e, t = {}) {
|
|
|
9341
9341
|
top: (ee.top ?? 0) + 2,
|
|
9342
9342
|
left: (ee.left ?? 0) + 2,
|
|
9343
9343
|
position: "absolute"
|
|
9344
|
-
}), F(A),
|
|
9344
|
+
}), F(A), Ta(R, "transitionend", () => {
|
|
9345
9345
|
R.style.transition = "", m.value = !1;
|
|
9346
9346
|
}, { once: !0 });
|
|
9347
9347
|
}
|
|
@@ -9357,7 +9357,7 @@ function tx(e, t = {}) {
|
|
|
9357
9357
|
if (S.value)
|
|
9358
9358
|
return;
|
|
9359
9359
|
const R = Xn(e);
|
|
9360
|
-
R && (T(R, q ?? ex), d.push(
|
|
9360
|
+
R && (T(R, q ?? ex), d.push(Ta(R.$el, "mousedown", I)), d.push(Ta(R.$el, "touchstart", I)), S.value = !0, a = Z);
|
|
9361
9361
|
}
|
|
9362
9362
|
function Q(q) {
|
|
9363
9363
|
if (!S.value)
|
|
@@ -10088,7 +10088,7 @@ function Dx(e) {
|
|
|
10088
10088
|
if (a.value != S) {
|
|
10089
10089
|
a.value = S;
|
|
10090
10090
|
let C = !1, w = !1, A = !1, x = !1;
|
|
10091
|
-
if (
|
|
10091
|
+
if (Ma(a.value) || !rt(p(), 4))
|
|
10092
10092
|
C = !0;
|
|
10093
10093
|
else {
|
|
10094
10094
|
const T = p();
|
|
@@ -10212,7 +10212,7 @@ function Ax(e) {
|
|
|
10212
10212
|
v.replacingDate = void 0, v.isAdjusting = !1;
|
|
10213
10213
|
}
|
|
10214
10214
|
function m(v) {
|
|
10215
|
-
if (!
|
|
10215
|
+
if (!Ma(v)) {
|
|
10216
10216
|
if (v != null && v.includes("undefined"))
|
|
10217
10217
|
return;
|
|
10218
10218
|
const p = v == null ? void 0 : v.split("|");
|
|
@@ -10228,7 +10228,7 @@ function Ax(e) {
|
|
|
10228
10228
|
replacingDate: C,
|
|
10229
10229
|
//other props
|
|
10230
10230
|
isInSchedule: !1,
|
|
10231
|
-
leadLeftDate: C != null ? t(C).plus({ minutes: d }).toFormat(
|
|
10231
|
+
leadLeftDate: C != null ? t(C).plus({ minutes: d }).toFormat(Ca) : void 0
|
|
10232
10232
|
// replacingTime: replacingDate != null ? tzString(replacingDate, 'HH:mm') : '00:00',
|
|
10233
10233
|
// leadDateLeft: replacingDate != null ? utcDate(replacingDate).plus({ minutes: leftLead }) : undefined,
|
|
10234
10234
|
// leadDateRight: replacingDate != null ? utcDate(replacingDate).plus({ minutes: rightLead }) : undefined
|
|
@@ -10305,7 +10305,7 @@ function _x(e) {
|
|
|
10305
10305
|
for (let D = 0; D < y.length; D++) {
|
|
10306
10306
|
const E = y[D];
|
|
10307
10307
|
var d = null;
|
|
10308
|
-
typeof E.value == "function" ? d = E.value(T) : typeof E.value == "string" && (d =
|
|
10308
|
+
typeof E.value == "function" ? d = E.value(T) : typeof E.value == "string" && (d = Da(T, E.value)), E.itemText != null ? v[E.header] = Da(d, E.itemText) : v[E.header] = d;
|
|
10309
10309
|
}
|
|
10310
10310
|
h.push(v), rt(p) && p.forEach((D) => {
|
|
10311
10311
|
h.push(D);
|
|
@@ -10871,7 +10871,7 @@ function G$(e) {
|
|
|
10871
10871
|
return o = l({
|
|
10872
10872
|
...i,
|
|
10873
10873
|
getXAxis: (c) => {
|
|
10874
|
-
const u = typeof i.xSpanProp == "string" ?
|
|
10874
|
+
const u = typeof i.xSpanProp == "string" ? Da(c, i.xSpanProp) : i.xSpanProp(c), f = s(u);
|
|
10875
10875
|
return f ?? t(u).startOf(i.xSpan).toFormat(i.xLabelFilter ?? "");
|
|
10876
10876
|
}
|
|
10877
10877
|
}), i.fillGaps && (o = o), o;
|
|
@@ -12540,8 +12540,8 @@ function vi(e, t, a) {
|
|
|
12540
12540
|
}), ne = _(() => e.errorMsg ?? O.value), G = z(), ue = _(() => G.value ?? e.loadingMsg ?? Q.value), Ce = _(() => ue.value != null), se = ze(!1), Ue = ze(e.startShowingSearch == !0), Y = z(0), le = _(() => {
|
|
12541
12541
|
let J, ve = [];
|
|
12542
12542
|
p.value.forEach((nt) => {
|
|
12543
|
-
const st = v.value[nt],
|
|
12544
|
-
|
|
12543
|
+
const st = v.value[nt], Ft = y.find((_a) => _a.name == st);
|
|
12544
|
+
Ft != null ? J = J != null ? `${J}ANDALSO${Ft.filterFunction()}` : Ft.filterFunction() : ve.push(st);
|
|
12545
12545
|
});
|
|
12546
12546
|
const Te = {};
|
|
12547
12547
|
return rt(ve) && (Te.filterBy = ve.toString()), J != null && (Te.query = J), Te;
|
|
@@ -12553,8 +12553,8 @@ function vi(e, t, a) {
|
|
|
12553
12553
|
var ve, Te, nt;
|
|
12554
12554
|
let J = e.params != null ? { ...e.params } : {};
|
|
12555
12555
|
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 }), E.value && (J.includeInactive = !0), rt(e.selectProps) && (J.properties = (ve = e.selectProps) == null ? void 0 : ve.toString()), T.value != null && (J.searchString = T.value), rt(e.queryParams) && ((Te = a == null ? void 0 : a.route) == null ? void 0 : Te.query) != null && ((nt = e.queryParams) == null || nt.forEach((st) => {
|
|
12556
|
-
var
|
|
12557
|
-
typeof st == "string" ? ((
|
|
12556
|
+
var Ft, _a, la, Ja;
|
|
12557
|
+
typeof st == "string" ? ((Ft = a.route) == null ? void 0 : Ft.query[st]) != null && (J[st] = (_a = a.route) == null ? void 0 : _a.query[st]) : ((la = a.route) == null ? void 0 : la.query[st.key]) != null && (J[st.value] = (Ja = a.route) == null ? void 0 : Ja.query[st.key]);
|
|
12558
12558
|
})), J;
|
|
12559
12559
|
}), be = _(() => (J) => e.onCanDelete != null ? e.onCanDelete(J) : !(J != null && J.isInactive === !0)), ie = _(() => (J) => E.value ? e.onCanRestore != null ? e.onCanRestore(J) : (J == null ? void 0 : J.isInactive) === !0 : !1), Me = e.onUpdateAsyncItem ?? ((J, ve) => {
|
|
12560
12560
|
ve.hasOwnProperty("rowVersion") && (J.rowVersion = ve.rowVersion), ve.hasOwnProperty("version") && (J.version = ve.version), ve.hasOwnProperty("isDeleted") && (J.isDeleted = ve.isDeleted), ve.hasOwnProperty("isInactive") && (J.isInactive = ve.isInactive), ve.hasOwnProperty("id") && (J.id = ve.id);
|
|
@@ -12589,19 +12589,19 @@ function vi(e, t, a) {
|
|
|
12589
12589
|
} = { ...e };
|
|
12590
12590
|
if (ve == null)
|
|
12591
12591
|
return;
|
|
12592
|
-
const st = (
|
|
12593
|
-
if (
|
|
12592
|
+
const st = (Ft, _a) => {
|
|
12593
|
+
if (Ft == null || !Array.isArray(Ft))
|
|
12594
12594
|
return !1;
|
|
12595
|
-
if (
|
|
12596
|
-
let la =
|
|
12595
|
+
if (_a != null) {
|
|
12596
|
+
let la = Ft.findIndex((Ja) => r(Ja) == _a);
|
|
12597
12597
|
if (la > -1)
|
|
12598
|
-
return
|
|
12598
|
+
return Ft.splice(la, 1), !0;
|
|
12599
12599
|
} else {
|
|
12600
|
-
let la =
|
|
12600
|
+
let la = Ft.findIndex((Ja) => Ja === J);
|
|
12601
12601
|
if (la == -1)
|
|
12602
|
-
return la =
|
|
12602
|
+
return la = Ft.findIndex((Ja) => Ja == J), !0;
|
|
12603
12603
|
if (la > -1)
|
|
12604
|
-
return
|
|
12604
|
+
return Ft.splice(la, 1), !0;
|
|
12605
12605
|
}
|
|
12606
12606
|
return !1;
|
|
12607
12607
|
};
|
|
@@ -12611,7 +12611,7 @@ function vi(e, t, a) {
|
|
|
12611
12611
|
nav: c,
|
|
12612
12612
|
onCanDeleteAsync: e.onCanDeleteAsync,
|
|
12613
12613
|
onDeleteAsync: nt,
|
|
12614
|
-
onDeleteSuccessAsync: async (
|
|
12614
|
+
onDeleteSuccessAsync: async (Ft) => (m != "soft" ? st(e.items, ve) : (Me(J, Ft), E.value || st(V.value, ve)), e.onDeleteSuccessAsync != null ? e.onDeleteSuccessAsync(J) : Promise.resolve(void 0)),
|
|
12615
12615
|
proxyID: A.value,
|
|
12616
12616
|
storeKey: u
|
|
12617
12617
|
// ...(useBladeSrc ? bladeData.value : {}),
|
|
@@ -12641,8 +12641,8 @@ function vi(e, t, a) {
|
|
|
12641
12641
|
additionalUrl: Te,
|
|
12642
12642
|
onCanSaveAsync: nt,
|
|
12643
12643
|
onGetSaveAsync: st,
|
|
12644
|
-
onSaveAsync:
|
|
12645
|
-
onSaveSuccessAsync:
|
|
12644
|
+
onSaveAsync: Ft,
|
|
12645
|
+
onSaveSuccessAsync: _a
|
|
12646
12646
|
} = { ...e };
|
|
12647
12647
|
return te({
|
|
12648
12648
|
additionalUrl: Te,
|
|
@@ -12650,8 +12650,8 @@ function vi(e, t, a) {
|
|
|
12650
12650
|
nav: c,
|
|
12651
12651
|
onCanSaveAsync: nt,
|
|
12652
12652
|
onGetSaveAsync: st,
|
|
12653
|
-
onSaveAsync:
|
|
12654
|
-
onSaveSuccessAsync:
|
|
12653
|
+
onSaveAsync: Ft,
|
|
12654
|
+
onSaveSuccessAsync: _a,
|
|
12655
12655
|
proxyID: A.value,
|
|
12656
12656
|
storeKey: u
|
|
12657
12657
|
});
|
|
@@ -12683,7 +12683,7 @@ function vi(e, t, a) {
|
|
|
12683
12683
|
let ve = (S.value - 1) * e.itemsPerPage, Te = ve + e.itemsPerPage;
|
|
12684
12684
|
Te >= J.length && (Te = J.length), J = J.slice(ve, Te);
|
|
12685
12685
|
}
|
|
12686
|
-
e.sortProp != null && (J = J.sort(Wa.firstBy((ve) =>
|
|
12686
|
+
e.sortProp != null && (J = J.sort(Wa.firstBy((ve) => Da(ve, e.sortProp)))), V.value = J;
|
|
12687
12687
|
}
|
|
12688
12688
|
function yl() {
|
|
12689
12689
|
const J = (a == null ? void 0 : a.hideActions) ?? e.hideActions;
|
|
@@ -12696,7 +12696,7 @@ function vi(e, t, a) {
|
|
|
12696
12696
|
Te <= 0 || (e.paginate == "server" ? ve != null && (Y.value = Math.ceil(ve / Te)) : e.paginate == "local" && (Y.value = Math.ceil(J.length / Te)));
|
|
12697
12697
|
}
|
|
12698
12698
|
async function Pa(J) {
|
|
12699
|
-
if (se.value = !1, (J == null ? void 0 : J.resetSearch) === !0 && (Ue.value = !1, T.value = void 0),
|
|
12699
|
+
if (se.value = !1, (J == null ? void 0 : J.resetSearch) === !0 && (Ue.value = !1, T.value = void 0), e.items != null) {
|
|
12700
12700
|
let ve = { data: e.items };
|
|
12701
12701
|
G.value = "Loading";
|
|
12702
12702
|
let Te = e.onGetSuccessAsync != null ? await e.onGetSuccessAsync(ve) : ve;
|
|
@@ -12898,7 +12898,7 @@ function Py() {
|
|
|
12898
12898
|
const { findFilter: e } = Ai();
|
|
12899
12899
|
function t(a, n, l) {
|
|
12900
12900
|
let r = a;
|
|
12901
|
-
if (n != null && (r =
|
|
12901
|
+
if (n != null && (r = Da(a, n)), l != null) {
|
|
12902
12902
|
const i = e(l);
|
|
12903
12903
|
if (i != null)
|
|
12904
12904
|
return i(l);
|
|
@@ -12988,7 +12988,7 @@ function t4(e, t, a, n) {
|
|
|
12988
12988
|
return { name: a };
|
|
12989
12989
|
} else
|
|
12990
12990
|
return r.login(window.location.pathname), { name: a };
|
|
12991
|
-
else if (f(), l.updateNavigationChange(e, t), e.path == "/" && r.tryLogin() &&
|
|
12991
|
+
else if (f(), l.updateNavigationChange(e, t), e.path == "/" && r.tryLogin() && Ma((g = t.name) == null ? void 0 : g.toString()))
|
|
12992
12992
|
return { name: n };
|
|
12993
12993
|
}
|
|
12994
12994
|
function a4(e) {
|
|
@@ -13017,7 +13017,7 @@ const ES = De({
|
|
|
13017
13017
|
reset: [Number, String],
|
|
13018
13018
|
root: [Boolean, String],
|
|
13019
13019
|
scoped: Boolean
|
|
13020
|
-
}, "VDefaultsProvider"),
|
|
13020
|
+
}, "VDefaultsProvider"), Nt = Oe(!1)({
|
|
13021
13021
|
name: "VDefaultsProvider",
|
|
13022
13022
|
props: ES(),
|
|
13023
13023
|
setup(e, t) {
|
|
@@ -13890,7 +13890,7 @@ const US = De({
|
|
|
13890
13890
|
}, n.value, l.value, r.value, s.value, c.value, u.value, o.value, e.class],
|
|
13891
13891
|
style: [i.value, f.value, e.style]
|
|
13892
13892
|
}, {
|
|
13893
|
-
default: () => [a.default ? b(
|
|
13893
|
+
default: () => [a.default ? b(Nt, {
|
|
13894
13894
|
key: "content-defaults",
|
|
13895
13895
|
defaults: {
|
|
13896
13896
|
VImg: {
|
|
@@ -15242,7 +15242,7 @@ const Vi = {
|
|
|
15242
15242
|
return [Ii(!0, "v-btn"), !e.icon && I && b("span", {
|
|
15243
15243
|
key: "prepend",
|
|
15244
15244
|
class: "v-btn__prepend"
|
|
15245
|
-
}, [n.prepend ? b(
|
|
15245
|
+
}, [n.prepend ? b(Nt, {
|
|
15246
15246
|
key: "prepend-defaults",
|
|
15247
15247
|
disabled: !e.prependIcon,
|
|
15248
15248
|
defaults: {
|
|
@@ -15259,7 +15259,7 @@ const Vi = {
|
|
|
15259
15259
|
}, [!n.default && V ? b(lt, {
|
|
15260
15260
|
key: "content-icon",
|
|
15261
15261
|
icon: e.icon
|
|
15262
|
-
}, null) : b(
|
|
15262
|
+
}, null) : b(Nt, {
|
|
15263
15263
|
key: "content-defaults",
|
|
15264
15264
|
disabled: !V,
|
|
15265
15265
|
defaults: {
|
|
@@ -15275,7 +15275,7 @@ const Vi = {
|
|
|
15275
15275
|
})]), !e.icon && L && b("span", {
|
|
15276
15276
|
key: "append",
|
|
15277
15277
|
class: "v-btn__append"
|
|
15278
|
-
}, [n.append ? b(
|
|
15278
|
+
}, [n.append ? b(Nt, {
|
|
15279
15279
|
key: "append-defaults",
|
|
15280
15280
|
disabled: !e.appendIcon,
|
|
15281
15281
|
defaults: {
|
|
@@ -15365,7 +15365,7 @@ const Vi = {
|
|
|
15365
15365
|
}, [l && b("div", {
|
|
15366
15366
|
key: "prepend",
|
|
15367
15367
|
class: "v-card-item__prepend"
|
|
15368
|
-
}, [a.prepend ? b(
|
|
15368
|
+
}, [a.prepend ? b(Nt, {
|
|
15369
15369
|
key: "prepend-defaults",
|
|
15370
15370
|
disabled: !n,
|
|
15371
15371
|
defaults: {
|
|
@@ -15405,7 +15405,7 @@ const Vi = {
|
|
|
15405
15405
|
}), (c = a.default) == null ? void 0 : c.call(a)]), i && b("div", {
|
|
15406
15406
|
key: "append",
|
|
15407
15407
|
class: "v-card-item__append"
|
|
15408
|
-
}, [a.append ? b(
|
|
15408
|
+
}, [a.append ? b(Nt, {
|
|
15409
15409
|
key: "append-defaults",
|
|
15410
15410
|
disabled: !r,
|
|
15411
15411
|
defaults: {
|
|
@@ -15534,7 +15534,7 @@ const Vi = {
|
|
|
15534
15534
|
return [T && b("div", {
|
|
15535
15535
|
key: "image",
|
|
15536
15536
|
class: "v-card__image"
|
|
15537
|
-
}, [n.image ? b(
|
|
15537
|
+
}, [n.image ? b(Nt, {
|
|
15538
15538
|
key: "image-defaults",
|
|
15539
15539
|
disabled: !e.image,
|
|
15540
15540
|
defaults: {
|
|
@@ -16065,7 +16065,7 @@ const $C = De({
|
|
|
16065
16065
|
...h1,
|
|
16066
16066
|
...at(),
|
|
16067
16067
|
...Lt()
|
|
16068
|
-
}, "VRow"),
|
|
16068
|
+
}, "VRow"), Aa = Oe()({
|
|
16069
16069
|
name: "VRow",
|
|
16070
16070
|
props: $C(),
|
|
16071
16071
|
setup(e, t) {
|
|
@@ -18275,7 +18275,7 @@ const GT = Un({
|
|
|
18275
18275
|
}, e.class],
|
|
18276
18276
|
style: e.style
|
|
18277
18277
|
}, {
|
|
18278
|
-
default: () => [a.activator && b(
|
|
18278
|
+
default: () => [a.activator && b(Nt, {
|
|
18279
18279
|
defaults: g.value
|
|
18280
18280
|
}, {
|
|
18281
18281
|
default: () => [b(GT, null, {
|
|
@@ -18462,7 +18462,7 @@ const GT = Un({
|
|
|
18462
18462
|
return [Ii(w.value || k.value, "v-list-item"), se && b("div", {
|
|
18463
18463
|
key: "prepend",
|
|
18464
18464
|
class: "v-list-item__prepend"
|
|
18465
|
-
}, [n.prepend ? b(
|
|
18465
|
+
}, [n.prepend ? b(Nt, {
|
|
18466
18466
|
key: "prepend-defaults",
|
|
18467
18467
|
disabled: !Ce,
|
|
18468
18468
|
defaults: {
|
|
@@ -18517,7 +18517,7 @@ const GT = Un({
|
|
|
18517
18517
|
}), (Ue = n.default) == null ? void 0 : Ue.call(n, Z.value)]), ue && b("div", {
|
|
18518
18518
|
key: "append",
|
|
18519
18519
|
class: "v-list-item__append"
|
|
18520
|
-
}, [n.append ? b(
|
|
18520
|
+
}, [n.append ? b(Nt, {
|
|
18521
18521
|
key: "append-defaults",
|
|
18522
18522
|
disabled: !G,
|
|
18523
18523
|
defaults: {
|
|
@@ -20003,7 +20003,7 @@ const hf = De({
|
|
|
20003
20003
|
default: function() {
|
|
20004
20004
|
for (var p = arguments.length, d = new Array(p), k = 0; k < p; k++)
|
|
20005
20005
|
d[k] = arguments[k];
|
|
20006
|
-
return b(
|
|
20006
|
+
return b(Nt, {
|
|
20007
20007
|
root: "VMenu"
|
|
20008
20008
|
}, {
|
|
20009
20009
|
default: () => {
|
|
@@ -20681,7 +20681,7 @@ const VM = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-f
|
|
|
20681
20681
|
onMousedown: (R) => {
|
|
20682
20682
|
R.preventDefault(), R.stopPropagation();
|
|
20683
20683
|
}
|
|
20684
|
-
}, [b(
|
|
20684
|
+
}, [b(Nt, {
|
|
20685
20685
|
defaults: {
|
|
20686
20686
|
VIcon: {
|
|
20687
20687
|
icon: e.clearIcon
|
|
@@ -21349,7 +21349,7 @@ const Pi = De({
|
|
|
21349
21349
|
return `height: calc(100vh - ${g.getUsedHeight(n.actualUsedHeight)}px)`;
|
|
21350
21350
|
{
|
|
21351
21351
|
let I = 154;
|
|
21352
|
-
return n.hideSubtoolbar == !0 && (I -= 48), n.hideToolbar == !0 && (I -= 48),
|
|
21352
|
+
return n.hideSubtoolbar == !0 && (I -= 48), n.hideToolbar == !0 && (I -= 48), Ma(n.paginate) && (I -= 58), `height: calc(100vh - ${g.getUsedHeight(I)}px)`;
|
|
21353
21353
|
}
|
|
21354
21354
|
}), T = z([]), D = _({
|
|
21355
21355
|
get() {
|
|
@@ -21801,7 +21801,7 @@ const Pi = De({
|
|
|
21801
21801
|
I.hideActions ? void 0 : {
|
|
21802
21802
|
name: "append",
|
|
21803
21803
|
fn: B(() => [
|
|
21804
|
-
b(
|
|
21804
|
+
b(Aa, {
|
|
21805
21805
|
"no-gutters": "",
|
|
21806
21806
|
class: Je(v.value ? "actionButtons" : null)
|
|
21807
21807
|
}, {
|
|
@@ -21915,7 +21915,7 @@ const Pi = De({
|
|
|
21915
21915
|
}, [
|
|
21916
21916
|
b(Dr, { "hide-on-leave": "" }, {
|
|
21917
21917
|
default: B(() => [
|
|
21918
|
-
b(
|
|
21918
|
+
b(Aa, {
|
|
21919
21919
|
"no-gutters": "",
|
|
21920
21920
|
class: Je([v.value ? "actionButtons" : null, "flex-nowrap"])
|
|
21921
21921
|
}, {
|
|
@@ -21987,7 +21987,7 @@ const Pi = De({
|
|
|
21987
21987
|
items: M(m).filteredItems.value
|
|
21988
21988
|
}, void 0, !0)
|
|
21989
21989
|
], !0),
|
|
21990
|
-
M(
|
|
21990
|
+
M(Ma)(I.paginate) ? K("", !0) : (P(), re("div", UM, [
|
|
21991
21991
|
b(Y1, {
|
|
21992
21992
|
modelValue: M(m).currentPage.value,
|
|
21993
21993
|
"onUpdate:modelValue": L[10] || (L[10] = (O) => M(m).currentPage.value = O),
|
|
@@ -22314,7 +22314,7 @@ const tD = iu("v-alert-title"), aD = ["success", "info", "warning", "error"], nD
|
|
|
22314
22314
|
}, null), C && b("div", {
|
|
22315
22315
|
key: "prepend",
|
|
22316
22316
|
class: "v-alert__prepend"
|
|
22317
|
-
}, [n.prepend ? b(
|
|
22317
|
+
}, [n.prepend ? b(Nt, {
|
|
22318
22318
|
key: "prepend-defaults",
|
|
22319
22319
|
disabled: !r.value,
|
|
22320
22320
|
defaults: {
|
|
@@ -22344,7 +22344,7 @@ const tD = iu("v-alert-title"), aD = ["success", "info", "warning", "error"], nD
|
|
|
22344
22344
|
}, [n.append()]), A && b("div", {
|
|
22345
22345
|
key: "close",
|
|
22346
22346
|
class: "v-alert__close"
|
|
22347
|
-
}, [n.close ? b(
|
|
22347
|
+
}, [n.close ? b(Nt, {
|
|
22348
22348
|
key: "close-defaults",
|
|
22349
22349
|
defaults: {
|
|
22350
22350
|
VBtn: {
|
|
@@ -22468,7 +22468,7 @@ const tD = iu("v-alert-title"), aD = ["success", "info", "warning", "error"], nD
|
|
|
22468
22468
|
default: () => [h && b("div", {
|
|
22469
22469
|
key: "image",
|
|
22470
22470
|
class: "v-toolbar__image"
|
|
22471
|
-
}, [a.image ? b(
|
|
22471
|
+
}, [a.image ? b(Nt, {
|
|
22472
22472
|
key: "image-defaults",
|
|
22473
22473
|
disabled: !e.image,
|
|
22474
22474
|
defaults: {
|
|
@@ -22481,7 +22481,7 @@ const tD = iu("v-alert-title"), aD = ["success", "info", "warning", "error"], nD
|
|
|
22481
22481
|
key: "image-img",
|
|
22482
22482
|
cover: !0,
|
|
22483
22483
|
src: e.image
|
|
22484
|
-
}, null)]), b(
|
|
22484
|
+
}, null)]), b(Nt, {
|
|
22485
22485
|
defaults: {
|
|
22486
22486
|
VTabs: {
|
|
22487
22487
|
height: Xe(f.value)
|
|
@@ -22506,7 +22506,7 @@ const tD = iu("v-alert-title"), aD = ["success", "info", "warning", "error"], nD
|
|
|
22506
22506
|
class: "v-toolbar__append"
|
|
22507
22507
|
}, [(S = a.append) == null ? void 0 : S.call(a)])])];
|
|
22508
22508
|
}
|
|
22509
|
-
}), b(
|
|
22509
|
+
}), b(Nt, {
|
|
22510
22510
|
defaults: {
|
|
22511
22511
|
VTabs: {
|
|
22512
22512
|
height: Xe(g.value)
|
|
@@ -22688,7 +22688,7 @@ const tD = iu("v-alert-title"), aD = ["success", "info", "warning", "error"], nD
|
|
|
22688
22688
|
]),
|
|
22689
22689
|
_: 3
|
|
22690
22690
|
}),
|
|
22691
|
-
!x.hideToolbar && (M(m).variant.value == "inline" || M(m).variant.value == "dialog") ? (P(), X(
|
|
22691
|
+
!x.hideToolbar && (M(m).variant.value == "inline" || M(m).variant.value == "dialog") ? (P(), X(Aa, {
|
|
22692
22692
|
key: 0,
|
|
22693
22693
|
"no-gutters": ""
|
|
22694
22694
|
}, {
|
|
@@ -24736,7 +24736,7 @@ const nA = Un({
|
|
|
24736
24736
|
}),
|
|
24737
24737
|
b(wt, null, {
|
|
24738
24738
|
default: B(() => [
|
|
24739
|
-
(P(), re(we, null, qe(t, (s, c) => b(
|
|
24739
|
+
(P(), re(we, null, qe(t, (s, c) => b(Aa, {
|
|
24740
24740
|
dense: "",
|
|
24741
24741
|
key: c,
|
|
24742
24742
|
onClick: (u) => r(s)
|
|
@@ -24877,7 +24877,7 @@ const nA = Un({
|
|
|
24877
24877
|
default: function() {
|
|
24878
24878
|
for (var m = arguments.length, y = new Array(m), h = 0; h < m; h++)
|
|
24879
24879
|
y[h] = arguments[h];
|
|
24880
|
-
return b(
|
|
24880
|
+
return b(Nt, {
|
|
24881
24881
|
root: "VDialog"
|
|
24882
24882
|
}, {
|
|
24883
24883
|
default: () => {
|
|
@@ -24949,7 +24949,7 @@ const nA = Un({
|
|
|
24949
24949
|
s.unpack(a.modelValue);
|
|
24950
24950
|
}), (h, v) => {
|
|
24951
24951
|
const p = Fa("bt-select-inline"), d = Fa("bt-field-string"), k = Fa("bt-number"), S = Fa("bt-span"), C = Fa("bt-date");
|
|
24952
|
-
return P(), X(
|
|
24952
|
+
return P(), X(Aa, { class: "align-center ml-2" }, {
|
|
24953
24953
|
default: B(() => [
|
|
24954
24954
|
b(wa, {
|
|
24955
24955
|
"hide-on-leave": "",
|
|
@@ -25070,7 +25070,7 @@ const nA = Un({
|
|
|
25070
25070
|
key: "9"
|
|
25071
25071
|
}, {
|
|
25072
25072
|
default: B(() => [
|
|
25073
|
-
b(
|
|
25073
|
+
b(Aa, { class: "align-center" }, {
|
|
25074
25074
|
default: B(() => [
|
|
25075
25075
|
b(wa, {
|
|
25076
25076
|
"hide-on-leave": "",
|
|
@@ -25299,7 +25299,7 @@ const nA = Un({
|
|
|
25299
25299
|
}),
|
|
25300
25300
|
b(Ns, null, {
|
|
25301
25301
|
default: B(() => [
|
|
25302
|
-
b(
|
|
25302
|
+
b(Aa, { dense: "" }, {
|
|
25303
25303
|
default: B(() => [
|
|
25304
25304
|
b(ct, { cols: "12" }, {
|
|
25305
25305
|
default: B(() => [
|
|
@@ -28569,7 +28569,7 @@ const A3 = (e, t, a) => {
|
|
|
28569
28569
|
}, L3 = (e) => ({ type: "dot", ...e ?? {} }), Cp = (e) => Array.isArray(e) ? !!e[0] && !!e[1] : !1, Bf = {
|
|
28570
28570
|
prop: (e) => `"${e}" prop must be enabled!`,
|
|
28571
28571
|
dateArr: (e) => `You need to use array as "model-value" binding in order to support "${e}"`
|
|
28572
|
-
},
|
|
28572
|
+
}, xa = (e) => e, Xv = (e) => e === 0 ? e : !e || isNaN(+e) ? null : +e, Jv = (e) => e === null, Tp = (e) => {
|
|
28573
28573
|
if (e)
|
|
28574
28574
|
return [...e.querySelectorAll("input, button, select, textarea, a[href]")][0];
|
|
28575
28575
|
}, I3 = (e) => {
|
|
@@ -29114,9 +29114,9 @@ const $3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29114
29114
|
q(G[0]),
|
|
29115
29115
|
G[1] ? q(G[1]) : jr(r.value.partialRange)
|
|
29116
29116
|
];
|
|
29117
|
-
}, D = () => n.value[1] ? T() : q(
|
|
29117
|
+
}, D = () => n.value[1] ? T() : q(xa(n.value[0])), E = () => (n.value || []).map((G) => q(G)), I = (G = !1) => (G || x(), t.modelAuto ? D() : o.value.enabled ? E() : Array.isArray(n.value) ? us(() => T(), r.value.enabled) : q(xa(n.value))), L = (G) => !G || Array.isArray(G) && !G.length ? null : t.timePicker ? k(xa(G)) : t.monthPicker ? S(xa(G)) : t.yearPicker ? p(xa(G)) : o.value.enabled ? C(xa(G)) : t.weekPicker ? w(xa(G)) : A(xa(G)), V = (G) => {
|
|
29118
29118
|
const ue = L(G);
|
|
29119
|
-
sd(
|
|
29119
|
+
sd(xa(ue)) ? (n.value = xa(ue), O()) : (n.value = null, c.value = "");
|
|
29120
29120
|
}, $ = () => {
|
|
29121
29121
|
const G = (ue) => nl(ue, l.value.format);
|
|
29122
29122
|
return `${G(n.value[0])} ${l.value.rangeSeparator} ${n.value[1] ? G(n.value[1]) : ""}`;
|
|
@@ -29136,19 +29136,19 @@ const $3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29136
29136
|
if (Ce)
|
|
29137
29137
|
return G;
|
|
29138
29138
|
if (e("update:model-value", G), i.value.emitTimezone && ue) {
|
|
29139
|
-
const se = Array.isArray(G) ? G.map((Ue) => sn(
|
|
29139
|
+
const se = Array.isArray(G) ? G.map((Ue) => sn(xa(Ue), i.value.emitTimezone)) : sn(xa(G), i.value.emitTimezone);
|
|
29140
29140
|
e("update:model-timezone-value", se);
|
|
29141
29141
|
}
|
|
29142
29142
|
}, R = (G) => Array.isArray(n.value) ? o.value.enabled ? n.value.map((ue) => G(ue)) : [
|
|
29143
29143
|
G(n.value[0]),
|
|
29144
29144
|
n.value[1] ? G(n.value[1]) : jr(r.value.partialRange)
|
|
29145
|
-
] : G(
|
|
29145
|
+
] : G(xa(n.value)), ee = () => {
|
|
29146
29146
|
if (Array.isArray(n.value)) {
|
|
29147
29147
|
const G = bl(n.value[0], t.weekStart), ue = n.value[1] ? bl(n.value[1], t.weekStart) : [];
|
|
29148
29148
|
return [G.map((Ce) => _e(Ce)), ue.map((Ce) => _e(Ce))];
|
|
29149
29149
|
}
|
|
29150
29150
|
return bl(n.value, t.weekStart).map((G) => _e(G));
|
|
29151
|
-
}, N = (G, ue) => Z(
|
|
29151
|
+
}, N = (G, ue) => Z(xa(R(G)), !1, ue), te = (G) => {
|
|
29152
29152
|
const ue = ee();
|
|
29153
29153
|
return G ? ue : e("update:model-value", ee());
|
|
29154
29154
|
}, ne = (G = !1) => (G || O(), t.monthPicker ? N(v, G) : t.timePicker ? N(h, G) : t.yearPicker ? N(ot, G) : t.weekPicker ? te(G) : Z(I(G), !0, G));
|
|
@@ -29367,7 +29367,7 @@ const $3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29367
29367
|
() => !g.value(n.internalModelValue) || !m.value(n.internalModelValue) || !w.value
|
|
29368
29368
|
), x = () => {
|
|
29369
29369
|
const $ = r.value;
|
|
29370
|
-
return n.timePicker || n.monthPicker, $(
|
|
29370
|
+
return n.timePicker || n.monthPicker, $(xa(n.internalModelValue));
|
|
29371
29371
|
}, T = () => {
|
|
29372
29372
|
const $ = n.internalModelValue;
|
|
29373
29373
|
return i.value.count > 0 ? `${D($[0])} - ${D($[1])}` : [D($[0]), D($[1])];
|
|
@@ -29535,7 +29535,7 @@ const $3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
29535
29535
|
}, W = () => {
|
|
29536
29536
|
var R, ee;
|
|
29537
29537
|
const N = (R = o.headerRefs) != null && R.length ? [o.headerRefs].concat(h.value) : h.value.concat([o.skipButtonRef ? [] : [p.value]]);
|
|
29538
|
-
l(
|
|
29538
|
+
l(xa(N), (ee = o.headerRefs) != null && ee.length ? "monthPicker" : "selectionGrid");
|
|
29539
29539
|
}, F = (R) => {
|
|
29540
29540
|
o.arrowNavigation || Yl(R, u.value, !0);
|
|
29541
29541
|
}, O = (R) => {
|
|
@@ -31513,9 +31513,9 @@ const $3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
31513
31513
|
}
|
|
31514
31514
|
}, be = (me, Ee, ye, J) => {
|
|
31515
31515
|
if (e.sixWeeks && me.length < 6) {
|
|
31516
|
-
const ve = 6 - me.length, Te = (Ee.getDay() + 7 - J) % 7, nt = 6 - (ye.getDay() + 7 - J) % 7, [st,
|
|
31517
|
-
for (let
|
|
31518
|
-
if (
|
|
31516
|
+
const ve = 6 - me.length, Te = (Ee.getDay() + 7 - J) % 7, nt = 6 - (ye.getDay() + 7 - J) % 7, [st, Ft] = H(Te, nt);
|
|
31517
|
+
for (let _a = 1; _a <= ve; _a++)
|
|
31518
|
+
if (Ft ? !!(_a % 2) == st : st) {
|
|
31519
31519
|
const la = me[0].days[0], Ja = ie(Pn(la.value, -7), ht(Ee));
|
|
31520
31520
|
me.unshift({ days: Ja });
|
|
31521
31521
|
} else {
|
|
@@ -31537,12 +31537,12 @@ const $3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
31537
31537
|
}
|
|
31538
31538
|
return J;
|
|
31539
31539
|
}, Me = (me, Ee) => {
|
|
31540
|
-
const ye = [], J = new Date(Ee, me), ve = new Date(Ee, me + 1, 0), Te = e.weekStart, nt = Hn(J, { weekStartsOn: Te }), st = (
|
|
31541
|
-
const
|
|
31542
|
-
if (ye.push({ days:
|
|
31540
|
+
const ye = [], J = new Date(Ee, me), ve = new Date(Ee, me + 1, 0), Te = e.weekStart, nt = Hn(J, { weekStartsOn: Te }), st = (Ft) => {
|
|
31541
|
+
const _a = ie(Ft, me);
|
|
31542
|
+
if (ye.push({ days: _a }), !ye[ye.length - 1].days.some(
|
|
31543
31543
|
(la) => yt(Za(la.value), Za(ve))
|
|
31544
31544
|
)) {
|
|
31545
|
-
const la = Pn(
|
|
31545
|
+
const la = Pn(Ft, 7);
|
|
31546
31546
|
st(la);
|
|
31547
31547
|
}
|
|
31548
31548
|
};
|
|
@@ -32775,13 +32775,13 @@ const h5 = ({
|
|
|
32775
32775
|
e.maxTime,
|
|
32776
32776
|
n.value.maxDate,
|
|
32777
32777
|
"max",
|
|
32778
|
-
|
|
32778
|
+
xa(W),
|
|
32779
32779
|
$
|
|
32780
32780
|
)), (e.minTime || n.value.minDate) && ($ = eh(
|
|
32781
32781
|
e.minTime,
|
|
32782
32782
|
n.value.minDate,
|
|
32783
32783
|
"min",
|
|
32784
|
-
|
|
32784
|
+
xa(W),
|
|
32785
32785
|
$
|
|
32786
32786
|
)), T(V, $);
|
|
32787
32787
|
}, E = (V) => {
|
|
@@ -33426,12 +33426,12 @@ const L5 = /* @__PURE__ */ Ze({
|
|
|
33426
33426
|
n(k ? "startDragging" : "stopDragging");
|
|
33427
33427
|
});
|
|
33428
33428
|
function h() {
|
|
33429
|
-
g.push(
|
|
33429
|
+
g.push(Ta("mousemove", d)), g.push(Ta("touchmove", d)), i.value = !0, s.value = !0, l.value = a.modelValue ?? 0, r.value = "x1", c = m.x;
|
|
33430
33430
|
}
|
|
33431
33431
|
function v(k) {
|
|
33432
33432
|
o.value = !0;
|
|
33433
33433
|
const C = k.type === "touchstart" && k.touches.length > 0 ? k.touches[0] : k;
|
|
33434
|
-
m = { x: C.clientX, y: C.clientY }, g.push(
|
|
33434
|
+
m = { x: C.clientX, y: C.clientY }, g.push(Ta("mouseup", p)), g.push(Ta("touchend", p));
|
|
33435
33435
|
const w = a.delay ?? 0;
|
|
33436
33436
|
w <= 0 ? h() : setTimeout(() => {
|
|
33437
33437
|
o.value && h();
|
|
@@ -33571,7 +33571,7 @@ const L5 = /* @__PURE__ */ Ze({
|
|
|
33571
33571
|
setup(e, { emit: t }) {
|
|
33572
33572
|
const a = t, n = e, l = Ai(), r = $y(n, a), i = fl(), o = n.itemText ?? (n.nav != null ? i.findItemText(n.nav) : void 0) ?? void 0, s = _(() => {
|
|
33573
33573
|
var c = it(r.asyncItem);
|
|
33574
|
-
return n.textFunction != null && (c = n.textFunction(c)), o != null && (c =
|
|
33574
|
+
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;
|
|
33575
33575
|
});
|
|
33576
33576
|
return (c, u) => (P(), re("div", {
|
|
33577
33577
|
class: Je(c.inline ? "d-inline" : "")
|
|
@@ -34402,7 +34402,7 @@ const Os = Oe()({
|
|
|
34402
34402
|
"v-switch__thumb--filled": V || e.loading
|
|
34403
34403
|
}, e.inset || f ? void 0 : $.value],
|
|
34404
34404
|
style: e.inset ? void 0 : W.value
|
|
34405
|
-
}, [n.thumb ? b(
|
|
34405
|
+
}, [n.thumb ? b(Nt, {
|
|
34406
34406
|
defaults: {
|
|
34407
34407
|
VIcon: {
|
|
34408
34408
|
icon: V,
|
|
@@ -34986,7 +34986,7 @@ const tI = Symbol.for("vuetify:v-slide-group"), Wf = De({
|
|
|
34986
34986
|
}, {
|
|
34987
34987
|
default: () => [Kt(b("div", {
|
|
34988
34988
|
class: "v-chip__filter"
|
|
34989
|
-
}, [l.filter ? b(
|
|
34989
|
+
}, [l.filter ? b(Nt, {
|
|
34990
34990
|
key: "filter-defaults",
|
|
34991
34991
|
disabled: !e.filterIcon,
|
|
34992
34992
|
defaults: {
|
|
@@ -35001,7 +35001,7 @@ const tI = Symbol.for("vuetify:v-slide-group"), Wf = De({
|
|
|
35001
35001
|
}), L && b("div", {
|
|
35002
35002
|
key: "prepend",
|
|
35003
35003
|
class: "v-chip__prepend"
|
|
35004
|
-
}, [l.prepend ? b(
|
|
35004
|
+
}, [l.prepend ? b(Nt, {
|
|
35005
35005
|
key: "prepend-defaults",
|
|
35006
35006
|
disabled: !I,
|
|
35007
35007
|
defaults: {
|
|
@@ -35035,7 +35035,7 @@ const tI = Symbol.for("vuetify:v-slide-group"), Wf = De({
|
|
|
35035
35035
|
})) ?? e.text]), T && b("div", {
|
|
35036
35036
|
key: "append",
|
|
35037
35037
|
class: "v-chip__append"
|
|
35038
|
-
}, [l.append ? b(
|
|
35038
|
+
}, [l.append ? b(Nt, {
|
|
35039
35039
|
key: "append-defaults",
|
|
35040
35040
|
disabled: !x,
|
|
35041
35041
|
defaults: {
|
|
@@ -35061,7 +35061,7 @@ const tI = Symbol.for("vuetify:v-slide-group"), Wf = De({
|
|
|
35061
35061
|
class: "v-chip__close",
|
|
35062
35062
|
type: "button",
|
|
35063
35063
|
"data-testid": "close-chip"
|
|
35064
|
-
}, S.value), [l.close ? b(
|
|
35064
|
+
}, S.value), [l.close ? b(Nt, {
|
|
35065
35065
|
key: "close-defaults",
|
|
35066
35066
|
defaults: {
|
|
35067
35067
|
VIcon: {
|
|
@@ -35698,7 +35698,7 @@ const Zp = De({
|
|
|
35698
35698
|
return b("div", {
|
|
35699
35699
|
key: N.value,
|
|
35700
35700
|
class: "v-select__selection"
|
|
35701
|
-
}, [Q ? a.chip ? b(
|
|
35701
|
+
}, [Q ? a.chip ? b(Nt, {
|
|
35702
35702
|
key: "chip-defaults",
|
|
35703
35703
|
defaults: {
|
|
35704
35704
|
VChip: {
|
|
@@ -36158,7 +36158,7 @@ const wI = De({
|
|
|
36158
36158
|
key: H.value,
|
|
36159
36159
|
class: ["v-combobox__selection", be === m.value && ["v-combobox__selection--selected", S.value]],
|
|
36160
36160
|
style: be === m.value ? C.value : {}
|
|
36161
|
-
}, [x.value ? n.chip ? b(
|
|
36161
|
+
}, [x.value ? n.chip ? b(Nt, {
|
|
36162
36162
|
key: "chip-defaults",
|
|
36163
36163
|
defaults: {
|
|
36164
36164
|
VChip: {
|
|
@@ -36634,7 +36634,7 @@ const wI = De({
|
|
|
36634
36634
|
default: B(() => [
|
|
36635
36635
|
b(dt, { class: "ma-0 pa-0" }, {
|
|
36636
36636
|
append: B(() => [
|
|
36637
|
-
b(
|
|
36637
|
+
b(Aa, { "no-gutters": "" }, {
|
|
36638
36638
|
default: B(() => [
|
|
36639
36639
|
b(ct, null, {
|
|
36640
36640
|
default: B(() => [
|
|
@@ -36836,7 +36836,7 @@ const wI = De({
|
|
|
36836
36836
|
}),
|
|
36837
36837
|
b(Ar, null, {
|
|
36838
36838
|
default: B(() => [
|
|
36839
|
-
b(
|
|
36839
|
+
b(Aa, { dense: "" }, {
|
|
36840
36840
|
default: B(() => [
|
|
36841
36841
|
T.useAutomation || T.useAutomationDaily || T.useAutomationLarge ? (P(), re("span", TI, Re(T.automation), 1)) : K("", !0),
|
|
36842
36842
|
T.useGuide || T.useGuideList ? (P(), re("span", MI, Re(T.guide), 1)) : K("", !0),
|
|
@@ -36865,7 +36865,7 @@ const wI = De({
|
|
|
36865
36865
|
setup(e) {
|
|
36866
36866
|
const t = e, a = Ai(), n = _(() => (r) => {
|
|
36867
36867
|
let i = r;
|
|
36868
|
-
return t.option.textFunction != null ? i = t.option.textFunction(i) : t.option.value != null && (i =
|
|
36868
|
+
return t.option.textFunction != null ? i = t.option.textFunction(i) : t.option.value != null && (i = Da(r, t.option.value)), t.option.textFilter != null && (i = a.findFilter(t.option.textFilter)(i)), i;
|
|
36869
36869
|
}), l = _(() => t.option.truncate == !0 && t.option.width != null ? `display: inline-block; width: ${t.option.width.includes("px") || t.option.width.includes("%") ? t.option.width : `${t.option.width}px`};` : "");
|
|
36870
36870
|
return (r, i) => {
|
|
36871
36871
|
const o = Fa("bt-entity");
|
|
@@ -36873,7 +36873,7 @@ const wI = De({
|
|
|
36873
36873
|
default: B(() => [
|
|
36874
36874
|
r.option.prefix != null ? (P(), re("span", LI, Re(r.option.prefix), 1)) : K("", !0),
|
|
36875
36875
|
r.option.bool != null ? (P(), re("span", II, [
|
|
36876
|
-
M(
|
|
36876
|
+
M(Da)(r.data, r.option.value) === !0 ? (P(), X(lt, {
|
|
36877
36877
|
key: 0,
|
|
36878
36878
|
size: r.size
|
|
36879
36879
|
}, {
|
|
@@ -36886,7 +36886,7 @@ const wI = De({
|
|
|
36886
36886
|
key: 2,
|
|
36887
36887
|
inline: "",
|
|
36888
36888
|
itemText: r.option.itemText,
|
|
36889
|
-
itemID: M(
|
|
36889
|
+
itemID: M(Da)(r.data, r.option.value),
|
|
36890
36890
|
nav: r.option.nav,
|
|
36891
36891
|
isSingle: !0,
|
|
36892
36892
|
textFilter: r.option.textFilter,
|
|
@@ -37143,11 +37143,11 @@ function Ul(e, t) {
|
|
|
37143
37143
|
function tE(e, t) {
|
|
37144
37144
|
return e.classList ? e.classList.contains(t) : e.className.indexOf(t) > -1;
|
|
37145
37145
|
}
|
|
37146
|
-
function
|
|
37146
|
+
function Sa(e, t) {
|
|
37147
37147
|
if (t) {
|
|
37148
37148
|
if (gt(e.length)) {
|
|
37149
37149
|
ga(e, function(n) {
|
|
37150
|
-
|
|
37150
|
+
Sa(n, t);
|
|
37151
37151
|
});
|
|
37152
37152
|
return;
|
|
37153
37153
|
}
|
|
@@ -37182,7 +37182,7 @@ function ai(e, t, a) {
|
|
|
37182
37182
|
});
|
|
37183
37183
|
return;
|
|
37184
37184
|
}
|
|
37185
|
-
a ?
|
|
37185
|
+
a ? Sa(e, t) : ll(e, t);
|
|
37186
37186
|
}
|
|
37187
37187
|
}
|
|
37188
37188
|
var aE = /([a-z\d])([A-Z])/g;
|
|
@@ -37462,7 +37462,7 @@ var hE = {
|
|
|
37462
37462
|
},
|
|
37463
37463
|
initContainer: function() {
|
|
37464
37464
|
var e = this.element, t = this.options, a = this.container, n = this.cropper, l = Number(t.minContainerWidth), r = Number(t.minContainerHeight);
|
|
37465
|
-
|
|
37465
|
+
Sa(n, tn), ll(e, tn);
|
|
37466
37466
|
var i = {
|
|
37467
37467
|
width: Math.max(a.offsetWidth, l >= 0 ? l : l0),
|
|
37468
37468
|
height: Math.max(a.offsetHeight, r >= 0 ? r : r0)
|
|
@@ -37470,7 +37470,7 @@ var hE = {
|
|
|
37470
37470
|
this.containerData = i, Ul(n, {
|
|
37471
37471
|
width: i.width,
|
|
37472
37472
|
height: i.height
|
|
37473
|
-
}),
|
|
37473
|
+
}), Sa(e, tn), ll(n, tn);
|
|
37474
37474
|
},
|
|
37475
37475
|
// Canvas (image wrapper)
|
|
37476
37476
|
initCanvas: function() {
|
|
@@ -37659,7 +37659,7 @@ var hE = {
|
|
|
37659
37659
|
}) : l[e.pointerId || 0] = fs(e), Object.keys(l).length > 1 && n.zoomable && n.zoomOnTouch ? r = t0 : r = bd(e.target, wo), YI.test(r) && ui(this.element, yd, {
|
|
37660
37660
|
originalEvent: e,
|
|
37661
37661
|
action: r
|
|
37662
|
-
}) !== !1 && (e.preventDefault(), this.action = r, this.cropping = !1, r === Qp && (this.cropping = !0,
|
|
37662
|
+
}) !== !1 && (e.preventDefault(), this.action = r, this.cropping = !1, r === Qp && (this.cropping = !0, Sa(this.dragBox, qs)));
|
|
37663
37663
|
}
|
|
37664
37664
|
},
|
|
37665
37665
|
cropMove: function(e) {
|
|
@@ -37805,7 +37805,7 @@ var hE = {
|
|
|
37805
37805
|
}, wE = {
|
|
37806
37806
|
// Show the crop box manually
|
|
37807
37807
|
crop: function() {
|
|
37808
|
-
return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal &&
|
|
37808
|
+
return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && Sa(this.dragBox, qs), ll(this.cropBox, tn), this.setCropBoxData(this.initialCropBoxData)), this;
|
|
37809
37809
|
},
|
|
37810
37810
|
// Reset the image and crop box to their initial states
|
|
37811
37811
|
reset: function() {
|
|
@@ -37818,7 +37818,7 @@ var hE = {
|
|
|
37818
37818
|
top: 0,
|
|
37819
37819
|
width: 0,
|
|
37820
37820
|
height: 0
|
|
37821
|
-
}), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), ll(this.dragBox, qs),
|
|
37821
|
+
}), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), ll(this.dragBox, qs), Sa(this.cropBox, tn)), this;
|
|
37822
37822
|
},
|
|
37823
37823
|
/**
|
|
37824
37824
|
* Replace the image's src and rebuild the cropper
|
|
@@ -37838,7 +37838,7 @@ var hE = {
|
|
|
37838
37838
|
},
|
|
37839
37839
|
// Disable (freeze) the cropper
|
|
37840
37840
|
disable: function() {
|
|
37841
|
-
return this.ready && !this.disabled && (this.disabled = !0,
|
|
37841
|
+
return this.ready && !this.disabled && (this.disabled = !0, Sa(this.cropper, sh)), this;
|
|
37842
37842
|
},
|
|
37843
37843
|
/**
|
|
37844
37844
|
* Destroy the cropper and remove the instance from the image
|
|
@@ -38179,7 +38179,7 @@ var hE = {
|
|
|
38179
38179
|
var t = this.element, a = this.url, n = t.crossOrigin, l = a;
|
|
38180
38180
|
this.options.checkCrossOrigin && wh(a) && (n || (n = "anonymous"), l = kh(a)), this.crossOrigin = n, this.crossOriginUrl = l;
|
|
38181
38181
|
var r = document.createElement("img");
|
|
38182
|
-
n && (r.crossOrigin = n), r.src = l || a, r.alt = t.alt || "The image to crop", this.image = r, r.onload = this.start.bind(this), r.onerror = this.stop.bind(this),
|
|
38182
|
+
n && (r.crossOrigin = n), r.src = l || a, r.alt = t.alt || "The image to crop", this.image = r, r.onload = this.start.bind(this), r.onerror = this.stop.bind(this), Sa(r, uh), t.parentNode.insertBefore(r, t.nextSibling);
|
|
38183
38183
|
}
|
|
38184
38184
|
}, {
|
|
38185
38185
|
key: "start",
|
|
@@ -38215,7 +38215,7 @@ var hE = {
|
|
|
38215
38215
|
var t = this.element, a = this.options, n = this.image, l = t.parentNode, r = document.createElement("div");
|
|
38216
38216
|
r.innerHTML = ZI;
|
|
38217
38217
|
var i = r.querySelector(".".concat(Ut, "-container")), o = i.querySelector(".".concat(Ut, "-canvas")), s = i.querySelector(".".concat(Ut, "-drag-box")), c = i.querySelector(".".concat(Ut, "-crop-box")), u = c.querySelector(".".concat(Ut, "-face"));
|
|
38218
|
-
this.container = l, this.cropper = i, this.canvas = o, this.dragBox = s, this.cropBox = c, this.viewBox = i.querySelector(".".concat(Ut, "-view-box")), this.face = u, o.appendChild(n),
|
|
38218
|
+
this.container = l, this.cropper = i, this.canvas = o, this.dragBox = s, this.cropBox = c, this.viewBox = i.querySelector(".".concat(Ut, "-view-box")), this.face = u, o.appendChild(n), Sa(t, tn), l.insertBefore(i, t.nextSibling), ll(n, uh), this.initPreview(), this.bind(), a.initialAspectRatio = Math.max(0, a.initialAspectRatio) || NaN, a.aspectRatio = Math.max(0, a.aspectRatio) || NaN, a.viewMode = Math.max(0, Math.min(3, Math.round(a.viewMode))) || 0, Sa(c, tn), a.guides || Sa(c.getElementsByClassName("".concat(Ut, "-dashed")), tn), a.center || Sa(c.getElementsByClassName("".concat(Ut, "-center")), tn), a.background && Sa(i, "".concat(Ut, "-bg")), a.highlight || Sa(u, HI), a.cropBoxMovable && (Sa(u, md), ko(u, wo, jf)), a.cropBoxResizable || (Sa(c.getElementsByClassName("".concat(Ut, "-line")), tn), Sa(c.getElementsByClassName("".concat(Ut, "-point")), tn)), this.render(), this.ready = !0, this.setDragMode(a.dragMode), a.autoCrop && this.crop(), this.setData(a.data), en(a.ready) && Sn(t, vh, a.ready, {
|
|
38219
38219
|
once: !0
|
|
38220
38220
|
}), ui(t, vh);
|
|
38221
38221
|
}
|
|
@@ -38645,7 +38645,7 @@ const PE = /* @__PURE__ */ Ze({
|
|
|
38645
38645
|
default: B(({ isHovering: S, props: C }) => [
|
|
38646
38646
|
b(Ns, pe({ class: "pa-0 ma-0" }, C), {
|
|
38647
38647
|
default: B(() => [
|
|
38648
|
-
M(
|
|
38648
|
+
M(Ma)(p.label) ? K("", !0) : (P(), re("div", RE, Re(p.label), 1)),
|
|
38649
38649
|
b(ql, {
|
|
38650
38650
|
height: p.height,
|
|
38651
38651
|
src: m.value,
|
|
@@ -39209,7 +39209,7 @@ const QE = ["start", "end", "left", "right", "top", "bottom"], eV = De({
|
|
|
39209
39209
|
return [Z && b("div", {
|
|
39210
39210
|
key: "image",
|
|
39211
39211
|
class: "v-navigation-drawer__img"
|
|
39212
|
-
}, [l.image ? b(
|
|
39212
|
+
}, [l.image ? b(Nt, {
|
|
39213
39213
|
key: "image-defaults",
|
|
39214
39214
|
disabled: !e.image,
|
|
39215
39215
|
defaults: {
|
|
@@ -39301,7 +39301,7 @@ const QE = ["start", "end", "left", "right", "top", "bottom"], eV = De({
|
|
|
39301
39301
|
})
|
|
39302
39302
|
]),
|
|
39303
39303
|
append: B(() => [
|
|
39304
|
-
b(
|
|
39304
|
+
b(Aa, { class: "mr-1" }, {
|
|
39305
39305
|
default: B(() => [
|
|
39306
39306
|
b(ke, {
|
|
39307
39307
|
onClick: M(a),
|
|
@@ -39479,7 +39479,7 @@ const QE = ["start", "end", "left", "right", "top", "bottom"], eV = De({
|
|
|
39479
39479
|
"onUpdate:modelValue": v[0] || (v[0] = (p) => l.value = p)
|
|
39480
39480
|
}, null, 8, ["disabled", "modelValue"])
|
|
39481
39481
|
]),
|
|
39482
|
-
b(
|
|
39482
|
+
b(Aa, { class: "ma-0 pa-0" }, {
|
|
39483
39483
|
default: B(() => [
|
|
39484
39484
|
(P(!0), re(we, null, qe(s.value, (p, d) => (P(), X(ct, {
|
|
39485
39485
|
class: "ma-0 pa-0",
|
|
@@ -39532,7 +39532,7 @@ const QE = ["start", "end", "left", "right", "top", "bottom"], eV = De({
|
|
|
39532
39532
|
}),
|
|
39533
39533
|
b(NC, { "hide-on-leave": "" }, {
|
|
39534
39534
|
default: B(() => [
|
|
39535
|
-
r.value && h.showAddRemove ? (P(), X(
|
|
39535
|
+
r.value && h.showAddRemove ? (P(), X(Aa, {
|
|
39536
39536
|
key: 0,
|
|
39537
39537
|
class: "ma-0 pa-0"
|
|
39538
39538
|
}, {
|
|
@@ -39758,7 +39758,7 @@ function dV(e, t, a, n, l, r) {
|
|
|
39758
39758
|
group: ""
|
|
39759
39759
|
}, {
|
|
39760
39760
|
default: B(() => [
|
|
39761
|
-
(P(!0), re(we, null, qe(e.itemRows, (i, o) => (P(), X(
|
|
39761
|
+
(P(!0), re(we, null, qe(e.itemRows, (i, o) => (P(), X(Aa, {
|
|
39762
39762
|
key: o,
|
|
39763
39763
|
"no-gutters": ""
|
|
39764
39764
|
}, {
|
|
@@ -39910,10 +39910,10 @@ const fV = /* @__PURE__ */ Ro(cV, [["render", dV]]), mV = /* @__PURE__ */ Ze({
|
|
|
39910
39910
|
// useRouteSrc: false
|
|
39911
39911
|
}), c = Ai(), u = _(() => (S) => {
|
|
39912
39912
|
let C = n.subtextFunction != null ? n.subtextFunction(S) : S;
|
|
39913
|
-
return C = n.itemSubtext != null ?
|
|
39913
|
+
return C = n.itemSubtext != null ? Da(C, n.itemSubtext) : C, n.subtextFilter != null ? c.findFilter(n.subtextFilter)(C) : C;
|
|
39914
39914
|
}), f = _(() => (S) => {
|
|
39915
39915
|
let C = n.textFunction != null ? n.textFunction(S) : S;
|
|
39916
|
-
return C = n.itemText != null ?
|
|
39916
|
+
return C = n.itemText != null ? Da(C, n.itemText) : C, n.textFilter != null ? c.findFilter(n.textFilter)(C) : C;
|
|
39917
39917
|
}), g = _(() => (S) => (n.itemValue ? S[n.itemValue] : S) == n.modelValue);
|
|
39918
39918
|
function m() {
|
|
39919
39919
|
o.value && (l.value = !0);
|
|
@@ -39942,7 +39942,7 @@ const fV = /* @__PURE__ */ Ro(cV, [["render", dV]]), mV = /* @__PURE__ */ Ze({
|
|
|
39942
39942
|
subtitle: S.label
|
|
39943
39943
|
}, {
|
|
39944
39944
|
append: B(() => [
|
|
39945
|
-
b(
|
|
39945
|
+
b(Aa, { class: "ma-0 pa-0" }, {
|
|
39946
39946
|
default: B(() => [
|
|
39947
39947
|
fe(S.$slots, "actions"),
|
|
39948
39948
|
b(lt, null, {
|
|
@@ -40113,7 +40113,7 @@ const fV = /* @__PURE__ */ Ro(cV, [["render", dV]]), mV = /* @__PURE__ */ Ze({
|
|
|
40113
40113
|
subtitle: f.value(h.value) ?? S.placeholder
|
|
40114
40114
|
}, {
|
|
40115
40115
|
append: B(() => [
|
|
40116
|
-
b(
|
|
40116
|
+
b(Aa, { "no-gutters": "" }, {
|
|
40117
40117
|
default: B(() => [
|
|
40118
40118
|
fe(S.$slots, "actions"),
|
|
40119
40119
|
b(lt, null, {
|
|
@@ -41909,7 +41909,7 @@ const NV = De({
|
|
|
41909
41909
|
hideDialogTemporarily: i,
|
|
41910
41910
|
menuRouteName: o,
|
|
41911
41911
|
tab: s
|
|
41912
|
-
} = Kk(), c = Mo(), u = z([]), f = z([]), g = z(!1), m = z(), y = z(), h = z(), { sendAsync: v } = Vx(), { xs: p } = gl(), d = _(() => !
|
|
41912
|
+
} = Kk(), c = Mo(), u = z([]), f = z([]), g = z(!1), m = z(), y = z(), h = z(), { sendAsync: v } = Vx(), { xs: p } = gl(), d = _(() => !Ma(y.value) || m.value != null);
|
|
41913
41913
|
async function k() {
|
|
41914
41914
|
try {
|
|
41915
41915
|
var w = await v({
|
|
@@ -42533,7 +42533,7 @@ const NV = De({
|
|
|
42533
42533
|
return `height: calc(100vh - ${y.getUsedHeight(n.actualUsedHeight)}px)`;
|
|
42534
42534
|
{
|
|
42535
42535
|
let H = 154;
|
|
42536
|
-
return n.hideSubtoolbar == !0 && (H -= 48), n.hideToolbar == !0 && (H -= 48),
|
|
42536
|
+
return n.hideSubtoolbar == !0 && (H -= 48), n.hideToolbar == !0 && (H -= 48), Ma(n.paginate) && (H -= 58), `height: calc(100vh - ${y.getUsedHeight(H)}px)`;
|
|
42537
42537
|
}
|
|
42538
42538
|
}), R = _(() => `height: calc(100vh - ${y.getUsedHeight(48)}px)`);
|
|
42539
42539
|
function ee() {
|
|
@@ -42608,7 +42608,7 @@ const NV = De({
|
|
|
42608
42608
|
}
|
|
42609
42609
|
if (H == 0 ? v.value = [H] : p.value != H && (v.value.length == 0 && v.value.push(0), v.value.push(H)), H == 0) {
|
|
42610
42610
|
const Ae = { ...s, params: {}, query: {}, replace: !0 };
|
|
42611
|
-
u.replace(Ae);
|
|
42611
|
+
u.replace(Ae), n.startEditing == !0 ? h.mode.value = "edit" : h.mode.value = "view";
|
|
42612
42612
|
}
|
|
42613
42613
|
}
|
|
42614
42614
|
function le(H) {
|
|
@@ -42638,7 +42638,7 @@ const NV = De({
|
|
|
42638
42638
|
}), Ct(() => {
|
|
42639
42639
|
ee();
|
|
42640
42640
|
var H = s.query.step;
|
|
42641
|
-
console.log(H), H != null && le(H),
|
|
42641
|
+
console.log(H), H != null && le(H), Ma(n.stepsID) || LS(n.stepsID, {
|
|
42642
42642
|
canFinish: A,
|
|
42643
42643
|
canMoveBack: k,
|
|
42644
42644
|
canMoveNext: S,
|
|
@@ -42661,7 +42661,7 @@ const NV = De({
|
|
|
42661
42661
|
stepOptions: n.steps
|
|
42662
42662
|
});
|
|
42663
42663
|
}), dl(() => {
|
|
42664
|
-
|
|
42664
|
+
Ma(n.stepsID) || IS(n.stepsID);
|
|
42665
42665
|
}), (H, be) => {
|
|
42666
42666
|
const ie = Fa("bt-header-option"), Me = Fa("bt-blade");
|
|
42667
42667
|
return P(), X(Me, {
|
|
@@ -43131,7 +43131,7 @@ const NV = De({
|
|
|
43131
43131
|
H.hideActions ? void 0 : {
|
|
43132
43132
|
name: "append",
|
|
43133
43133
|
fn: B(() => [
|
|
43134
|
-
b(
|
|
43134
|
+
b(Aa, {
|
|
43135
43135
|
"no-gutters": "",
|
|
43136
43136
|
class: Je(I.value ? "actionButtons" : null)
|
|
43137
43137
|
}, {
|
|
@@ -43245,7 +43245,7 @@ const NV = De({
|
|
|
43245
43245
|
}, [
|
|
43246
43246
|
b(Dr, { "hide-on-leave": "" }, {
|
|
43247
43247
|
default: B(() => [
|
|
43248
|
-
b(
|
|
43248
|
+
b(Aa, {
|
|
43249
43249
|
"no-gutters": "",
|
|
43250
43250
|
class: Je([I.value ? "actionButtons" : null, "flex-nowrap"])
|
|
43251
43251
|
}, {
|
|
@@ -43400,7 +43400,7 @@ const NV = De({
|
|
|
43400
43400
|
items: M(h).filteredItems.value
|
|
43401
43401
|
}, void 0, !0)
|
|
43402
43402
|
], !0),
|
|
43403
|
-
p.value == 0 && !M(
|
|
43403
|
+
p.value == 0 && !M(Ma)(H.paginate) ? (P(), re("div", e$, [
|
|
43404
43404
|
b(Y1, {
|
|
43405
43405
|
modelValue: M(h).currentPage.value,
|
|
43406
43406
|
"onUpdate:modelValue": be[11] || (be[11] = (Ie) => M(h).currentPage.value = Ie),
|
|
@@ -43412,7 +43412,7 @@ const NV = De({
|
|
|
43412
43412
|
}, 8, ["bladeName", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "preset", "size", "transparent", "variant"]);
|
|
43413
43413
|
};
|
|
43414
43414
|
}
|
|
43415
|
-
}), i4 = /* @__PURE__ */ Ro(t$, [["__scopeId", "data-v-
|
|
43415
|
+
}), i4 = /* @__PURE__ */ Ro(t$, [["__scopeId", "data-v-7712f62e"]]), a$ = { class: "d-flex align-center" }, o4 = /* @__PURE__ */ Ze({
|
|
43416
43416
|
__name: "BT-Dialog-Select",
|
|
43417
43417
|
setup(e) {
|
|
43418
43418
|
const t = z(!1), a = z({}), n = z([]), { getValue: l } = Py();
|
|
@@ -43621,7 +43621,7 @@ const NV = De({
|
|
|
43621
43621
|
setup(e) {
|
|
43622
43622
|
const t = z(!1), a = z({}), n = z({}), l = z("number"), r = z(""), i = z(""), o = _(() => r.value != null && r.value.length > 0 && !Number.isNaN(r.value)), s = _(() => {
|
|
43623
43623
|
var d;
|
|
43624
|
-
if (
|
|
43624
|
+
if (Ma(i.value))
|
|
43625
43625
|
return !1;
|
|
43626
43626
|
if (rt(n.value.rules)) {
|
|
43627
43627
|
let k;
|
|
@@ -43645,7 +43645,7 @@ const NV = De({
|
|
|
43645
43645
|
{ cols: 4, num: 7 },
|
|
43646
43646
|
{ cols: 4, num: 8 },
|
|
43647
43647
|
{ cols: 4, num: 9 },
|
|
43648
|
-
{ cols: 4, num: void 0, icon: "$backspace", disabled:
|
|
43648
|
+
{ cols: 4, num: void 0, icon: "$backspace", disabled: Ma(r.value) },
|
|
43649
43649
|
{ cols: 4, num: 0 },
|
|
43650
43650
|
{ cols: 2, num: "-", disabled: a.value.showNegative == !1 },
|
|
43651
43651
|
{ cols: 2, num: ".", disabled: a.value.showDecimal == !1 }
|
|
@@ -43707,7 +43707,7 @@ const NV = De({
|
|
|
43707
43707
|
}, {
|
|
43708
43708
|
default: B(() => [
|
|
43709
43709
|
Fe("div", n$, Re(a.value.prefix) + Re(r.value), 1),
|
|
43710
|
-
b(
|
|
43710
|
+
b(Aa, { class: "ma-0 pa-0 mb-4" }, {
|
|
43711
43711
|
default: B(() => [
|
|
43712
43712
|
(P(!0), re(we, null, qe(u.value, (S, C) => (P(), X(ct, {
|
|
43713
43713
|
class: "ma-0 pa-0",
|
|
@@ -43898,7 +43898,7 @@ const NV = De({
|
|
|
43898
43898
|
export {
|
|
43899
43899
|
r4 as BTAssistantMenu,
|
|
43900
43900
|
i4 as BTBladeSteps,
|
|
43901
|
-
|
|
43901
|
+
Ca as BTDateFormat,
|
|
43902
43902
|
c4 as BTDemoProfileSelect,
|
|
43903
43903
|
u4 as BTDialogDate,
|
|
43904
43904
|
s4 as BTDialogNumber,
|
|
@@ -43962,14 +43962,14 @@ export {
|
|
|
43962
43962
|
Ck as isArrayOfLength,
|
|
43963
43963
|
rt as isLengthyArray,
|
|
43964
43964
|
Tk as isMinDate,
|
|
43965
|
-
|
|
43965
|
+
Ma as isNullOrEmpty,
|
|
43966
43966
|
Mk as isSameDownToHour,
|
|
43967
43967
|
vk as jwtDecrypt,
|
|
43968
43968
|
hk as jwtEncrypt,
|
|
43969
43969
|
Xo as log,
|
|
43970
43970
|
Tx as monthOptions,
|
|
43971
43971
|
By as navigationKey,
|
|
43972
|
-
|
|
43972
|
+
Da as nestedValue,
|
|
43973
43973
|
y$ as orderBy,
|
|
43974
43974
|
Ts as registerDialog,
|
|
43975
43975
|
IS as releaseSteps,
|