bt-core-app 2.0.45 → 2.0.47
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 +146 -149
- package/dist/index.d.ts +3 -4
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var gE = Object.defineProperty;
|
|
2
2
|
var yE = (e, t, a) => t in e ? gE(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var tt = (e, t, a) => (yE(e, typeof t != "symbol" ? t + "" : t, a), a);
|
|
4
|
-
import { ref as q, shallowRef as Ne, computed as A, toValue as
|
|
4
|
+
import { ref as q, shallowRef as Ne, computed as A, toValue as ht, toRaw as jt, onMounted as yt, watch as _e, h as un, Fragment as Me, reactive as Ea, watchEffect as Ua, toRef as xe, capitalize as ji, isVNode as XC, Comment as QC, camelize as Df, unref as _, warn as Ui, getCurrentInstance as n1, provide as Jt, inject as at, defineComponent as et, createVNode as w, mergeProps as be, createElementVNode as ae, normalizeClass as De, toRefs as oh, getCurrentScope as l1, onScopeDispose as ea, Text as JC, normalizeStyle as Oe, isRef as Un, TransitionGroup as au, Transition as Va, onBeforeMount as Yi, nextTick as nt, onBeforeUnmount as Sa, withDirectives as Rt, vShow as Qa, openBlock as N, createBlock as ce, normalizeProps as Lt, guardReactiveProps as Yt, withCtx as H, effectScope as es, useId as ui, onUpdated as sh, readonly as nu, resolveDynamicComponent as ci, toDisplayString as Fe, renderSlot as fe, withModifiers as Wt, createElementBlock as le, markRaw as eM, resolveComponent as wn, createCommentVNode as ee, createTextVNode as We, onDeactivated as uh, onActivated as tM, Teleport as ch, onBeforeUpdate as dh, cloneVNode as aM, renderList as Ge, withKeys as Qd, createSlots as Xt, onUnmounted as Yn, getTransitionRawChildren as nM, useSlots as ql, render as sm, useAttrs as bE, vModelText as lM, resolveDirective as qi } from "vue";
|
|
5
5
|
import { watchArray as ty, useStorage as rM, useEventListener as Jn, toValue as ro, useResizeObserver as wE, useFileDialog as iM, useArrayUnique as xE, useArrayDifference as Jw, watchDebounced as oM, tryOnMounted as kE } from "@vueuse/core";
|
|
6
6
|
import { defineStore as fh, getActivePinia as SE } from "pinia";
|
|
7
7
|
import { useRouter as mc, useRoute as Af } from "vue-router";
|
|
@@ -7689,7 +7689,7 @@ function tP(e) {
|
|
|
7689
7689
|
});
|
|
7690
7690
|
}
|
|
7691
7691
|
const y_ = (e) => {
|
|
7692
|
-
let t =
|
|
7692
|
+
let t = ht(e.url) ?? void 0;
|
|
7693
7693
|
if (e.additionalUrl != null && (t == null ? t = e.additionalUrl : t = yn(t, e.additionalUrl)), e.id != null && (t != null && t.includes("{id}") ? t = t.replaceAll("{id}", e.id) : t = yn(t, e.id)), e.params != null) {
|
|
7694
7694
|
t ?? (t = "");
|
|
7695
7695
|
let a = new URLSearchParams();
|
|
@@ -8004,9 +8004,9 @@ function lP(e) {
|
|
|
8004
8004
|
async function c() {
|
|
8005
8005
|
if (l == !0) {
|
|
8006
8006
|
const S = {
|
|
8007
|
-
meta:
|
|
8008
|
-
data:
|
|
8009
|
-
count:
|
|
8007
|
+
meta: ht(i),
|
|
8008
|
+
data: ht(t) ?? [],
|
|
8009
|
+
count: ht(a) ?? 0,
|
|
8010
8010
|
filters: []
|
|
8011
8011
|
};
|
|
8012
8012
|
try {
|
|
@@ -8271,7 +8271,7 @@ function rP(e) {
|
|
|
8271
8271
|
}
|
|
8272
8272
|
async function m() {
|
|
8273
8273
|
if (l == !0) {
|
|
8274
|
-
const M = { data:
|
|
8274
|
+
const M = { data: ht(t) ?? [] }, T = ht(o);
|
|
8275
8275
|
try {
|
|
8276
8276
|
const D = zl();
|
|
8277
8277
|
D.setItem(d(), JSON.parse(JSON.stringify(M))), D.setItem(`${d()}_meta`, JSON.parse(JSON.stringify(T)));
|
|
@@ -8604,7 +8604,7 @@ function iP(e) {
|
|
|
8604
8604
|
}), y.toString();
|
|
8605
8605
|
}
|
|
8606
8606
|
function i(h) {
|
|
8607
|
-
let y =
|
|
8607
|
+
let y = ht(h.url) ?? void 0, v = ht(h.id);
|
|
8608
8608
|
return y == null && (e == null ? void 0 : e.findPath) != null && (y = e.findPath(h.nav)), h.additionalUrl != null && (y == null ? y = h.additionalUrl : y = yn(y, h.additionalUrl)), v != null && (y != null && y.includes("{id}") ? y = y.replaceAll("{id}", v) : y = yn(y, v)), h.params != null && (y = `${y}?${a(h.params)}`), h.finalUrl = y, h.finalUrl ?? "";
|
|
8609
8609
|
}
|
|
8610
8610
|
function o(h, y) {
|
|
@@ -9088,7 +9088,7 @@ function bh(e) {
|
|
|
9088
9088
|
storeMode: v.storeMode,
|
|
9089
9089
|
storageMode: v.storageMode,
|
|
9090
9090
|
proxyID: v.proxyID
|
|
9091
|
-
})),
|
|
9091
|
+
})), S != null ? v.onGetAsync ?? (v.onGetAsync = async () => await S().get(v)) : v.onGetAsync ?? (v.onGetAsync = () => {
|
|
9092
9092
|
var k;
|
|
9093
9093
|
const b = v.id ?? ((k = v.data) == null ? void 0 : k.id);
|
|
9094
9094
|
return b == null ? Promise.resolve(void 0) : Promise.resolve({ data: x.find((C) => C.id == b) });
|
|
@@ -9330,7 +9330,7 @@ function cP(e) {
|
|
|
9330
9330
|
return !1;
|
|
9331
9331
|
if (L.requiresAuth === !1)
|
|
9332
9332
|
return !0;
|
|
9333
|
-
const $ =
|
|
9333
|
+
const $ = ht(r);
|
|
9334
9334
|
if ($.isSuspended && L.ignoreSuspension !== !0)
|
|
9335
9335
|
return !1;
|
|
9336
9336
|
if ($.isGlobalAdmin)
|
|
@@ -9343,7 +9343,7 @@ function cP(e) {
|
|
|
9343
9343
|
return !0;
|
|
9344
9344
|
}
|
|
9345
9345
|
function o(D) {
|
|
9346
|
-
const L =
|
|
9346
|
+
const L = ht(r);
|
|
9347
9347
|
if (L.userPermissions != null)
|
|
9348
9348
|
for (var $ = 0; $ < L.userPermissions.length; $++) {
|
|
9349
9349
|
var P = L.userPermissions[$].split(".");
|
|
@@ -9360,7 +9360,7 @@ function cP(e) {
|
|
|
9360
9360
|
return !1;
|
|
9361
9361
|
if (L.requiresAuth === !1)
|
|
9362
9362
|
return !0;
|
|
9363
|
-
const $ =
|
|
9363
|
+
const $ = ht(r);
|
|
9364
9364
|
if ($.isSuspended && L.ignoreSuspension !== !0)
|
|
9365
9365
|
return !1;
|
|
9366
9366
|
if ($.isGlobalAdmin)
|
|
@@ -9373,7 +9373,7 @@ function cP(e) {
|
|
|
9373
9373
|
return !0;
|
|
9374
9374
|
}
|
|
9375
9375
|
function u(D) {
|
|
9376
|
-
const L =
|
|
9376
|
+
const L = ht(r);
|
|
9377
9377
|
if (L.userPermissions != null)
|
|
9378
9378
|
for (var $ = 0; $ < L.userPermissions.length; $++) {
|
|
9379
9379
|
var P = L.userPermissions[$].split(".");
|
|
@@ -9384,7 +9384,7 @@ function cP(e) {
|
|
|
9384
9384
|
}
|
|
9385
9385
|
function c(D, L, $) {
|
|
9386
9386
|
let P = !0;
|
|
9387
|
-
return
|
|
9387
|
+
return ht(r).isGlobalAdmin ? !0 : (L != null && L.length > 0 && L.forEach((I) => {
|
|
9388
9388
|
$ == "edit" ? o(I) || (P = !1) : u(I) || (P = !1);
|
|
9389
9389
|
}), D != null && D.length > 0 && (D.some((I) => g(I)) || (P = !1)), P);
|
|
9390
9390
|
}
|
|
@@ -9409,7 +9409,7 @@ function cP(e) {
|
|
|
9409
9409
|
return D == null ? 0 : (($ = (e.subscriptionOptions ?? []).find((P) => P.code == D)) == null ? void 0 : $.value) ?? 0;
|
|
9410
9410
|
}
|
|
9411
9411
|
function g(D) {
|
|
9412
|
-
const L =
|
|
9412
|
+
const L = ht(r);
|
|
9413
9413
|
if (L.subscriptionCode == null)
|
|
9414
9414
|
return !1;
|
|
9415
9415
|
if (L.subscriptionCode == D)
|
|
@@ -9421,7 +9421,7 @@ function cP(e) {
|
|
|
9421
9421
|
r.value = void 0, k(), D != null && e.router != null && e.router.currentRoute.value.path != D && e.router.push({ path: D });
|
|
9422
9422
|
}
|
|
9423
9423
|
function h(D, L) {
|
|
9424
|
-
const $ =
|
|
9424
|
+
const $ = ht(r);
|
|
9425
9425
|
if (T() || !$.isLoggedIn) {
|
|
9426
9426
|
p();
|
|
9427
9427
|
let P = m(D);
|
|
@@ -9501,7 +9501,7 @@ function cP(e) {
|
|
|
9501
9501
|
r.value ?? (r.value = {}), (D = r.value).timeZone ?? (D.timeZone = e.defaultTimeZone ?? Rp);
|
|
9502
9502
|
}
|
|
9503
9503
|
function C() {
|
|
9504
|
-
const D =
|
|
9504
|
+
const D = ht(r);
|
|
9505
9505
|
return D.isLoggedIn && T() && M() && (p(), window.location.href = m()), D.isLoggedIn;
|
|
9506
9506
|
}
|
|
9507
9507
|
function M() {
|
|
@@ -9511,7 +9511,7 @@ function cP(e) {
|
|
|
9511
9511
|
return ut.utc() < D;
|
|
9512
9512
|
}
|
|
9513
9513
|
function T() {
|
|
9514
|
-
const D =
|
|
9514
|
+
const D = ht(r);
|
|
9515
9515
|
if (D == null || D.expiresOn == null)
|
|
9516
9516
|
return !0;
|
|
9517
9517
|
const L = ut.fromFormat(D.expiresOn, t), $ = ut.utc();
|
|
@@ -9612,11 +9612,11 @@ function fP(e, t, a = {}) {
|
|
|
9612
9612
|
} = a, i = { capture: a.capture ?? !0 };
|
|
9613
9613
|
let o = { x: 0, y: 0 }, s = { x: 0, y: 0 }, u = { x: 0, y: 0 }, c = [], d = [], m = q(!1);
|
|
9614
9614
|
function f(x) {
|
|
9615
|
-
|
|
9615
|
+
ht(n) && x.preventDefault(), ht(l) && x.stopPropagation();
|
|
9616
9616
|
}
|
|
9617
9617
|
function g(x) {
|
|
9618
9618
|
var T;
|
|
9619
|
-
const b =
|
|
9619
|
+
const b = ht(e);
|
|
9620
9620
|
if (!b)
|
|
9621
9621
|
return;
|
|
9622
9622
|
const k = b.$el, M = x.type === "touchstart" && x.touches.length > 0 ? x.touches[0] : x;
|
|
@@ -9630,7 +9630,7 @@ function fP(e, t, a = {}) {
|
|
|
9630
9630
|
}
|
|
9631
9631
|
function p(x) {
|
|
9632
9632
|
var D;
|
|
9633
|
-
if (!u || !
|
|
9633
|
+
if (!u || !ht(e))
|
|
9634
9634
|
return;
|
|
9635
9635
|
const C = x.type === "touchmove" && x.touches.length > 0 ? x.touches[0] : x;
|
|
9636
9636
|
let M = C.clientX - u.x, T = C.clientY - u.y;
|
|
@@ -9643,25 +9643,25 @@ function fP(e, t, a = {}) {
|
|
|
9643
9643
|
}), d.length = 0, (b = a.onEnd) == null || b.call(a, o, x), f(x);
|
|
9644
9644
|
}
|
|
9645
9645
|
function y(x) {
|
|
9646
|
-
const b =
|
|
9646
|
+
const b = ht(e);
|
|
9647
9647
|
if (!b)
|
|
9648
9648
|
return;
|
|
9649
9649
|
const k = b.$el;
|
|
9650
9650
|
k.style.left = `${x.x}px`, k.style.top = `${x.y}px`;
|
|
9651
9651
|
}
|
|
9652
9652
|
function v() {
|
|
9653
|
-
if (
|
|
9653
|
+
if (ht(m))
|
|
9654
9654
|
return;
|
|
9655
|
-
const x =
|
|
9655
|
+
const x = ht(t);
|
|
9656
9656
|
if (!x)
|
|
9657
9657
|
return;
|
|
9658
9658
|
const b = x.$el;
|
|
9659
9659
|
b.style.cursor = "move", c.push(Jn(b, "mousedown", g, i)), c.push(Jn(b, "touchstart", g, i)), m.value = !0;
|
|
9660
9660
|
}
|
|
9661
9661
|
function S() {
|
|
9662
|
-
if (!
|
|
9662
|
+
if (!ht(m))
|
|
9663
9663
|
return;
|
|
9664
|
-
const x =
|
|
9664
|
+
const x = ht(t);
|
|
9665
9665
|
if (!x)
|
|
9666
9666
|
return;
|
|
9667
9667
|
const b = x.$el;
|
|
@@ -11778,7 +11778,7 @@ function Yoe(e, t) {
|
|
|
11778
11778
|
style: A(() => {
|
|
11779
11779
|
if (Es == null)
|
|
11780
11780
|
return "";
|
|
11781
|
-
var a =
|
|
11781
|
+
var a = ht(e);
|
|
11782
11782
|
return `height: calc(100vh - ${t == !0 ? a : Es.getUsedHeight(a)}px); overflow-y: auto;`;
|
|
11783
11783
|
})
|
|
11784
11784
|
// usedHeight: aHeight
|
|
@@ -12900,7 +12900,7 @@ function l6(e) {
|
|
|
12900
12900
|
}
|
|
12901
12901
|
return !1;
|
|
12902
12902
|
}
|
|
12903
|
-
function
|
|
12903
|
+
function mt(e) {
|
|
12904
12904
|
const t = Rn("useRender");
|
|
12905
12905
|
t.render = e;
|
|
12906
12906
|
}
|
|
@@ -13008,7 +13008,7 @@ const o6 = (e) => {
|
|
|
13008
13008
|
return {
|
|
13009
13009
|
iconData: A(() => {
|
|
13010
13010
|
var s;
|
|
13011
|
-
const n =
|
|
13011
|
+
const n = ht(e);
|
|
13012
13012
|
if (!n)
|
|
13013
13013
|
return {
|
|
13014
13014
|
component: ak
|
|
@@ -13176,7 +13176,7 @@ function qoe(e) {
|
|
|
13176
13176
|
}
|
|
13177
13177
|
function nT(e, t) {
|
|
13178
13178
|
const a = q(!1), n = xe(e);
|
|
13179
|
-
let l = r(
|
|
13179
|
+
let l = r(ht(e));
|
|
13180
13180
|
(t == null ? void 0 : t.useTracker) !== !1 && _e(n, (o) => {
|
|
13181
13181
|
a.value = r(o) != l;
|
|
13182
13182
|
}, { deep: !0 });
|
|
@@ -13191,7 +13191,7 @@ function nT(e, t) {
|
|
|
13191
13191
|
})), JSON.stringify(s);
|
|
13192
13192
|
}
|
|
13193
13193
|
function i() {
|
|
13194
|
-
l = r(
|
|
13194
|
+
l = r(ht(n)), a.value = !1;
|
|
13195
13195
|
}
|
|
13196
13196
|
return {
|
|
13197
13197
|
asyncItem: n,
|
|
@@ -13235,20 +13235,20 @@ function lT(e, t, a) {
|
|
|
13235
13235
|
}), I = A(() => {
|
|
13236
13236
|
if ($.value == "new")
|
|
13237
13237
|
return !1;
|
|
13238
|
-
const te =
|
|
13238
|
+
const te = ht(h);
|
|
13239
13239
|
return te != null && e.onCanDelete != null ? e.onCanDelete(te) : (te == null ? void 0 : te.isInactive) !== !0;
|
|
13240
13240
|
}), R = A(() => {
|
|
13241
13241
|
if ($.value == "new")
|
|
13242
13242
|
return !1;
|
|
13243
|
-
const te =
|
|
13243
|
+
const te = ht(h);
|
|
13244
13244
|
return e.onCanEdit != null ? e.onCanEdit(te) : !0;
|
|
13245
13245
|
}), E = A(() => {
|
|
13246
13246
|
if ($.value == "new")
|
|
13247
13247
|
return !1;
|
|
13248
|
-
const te =
|
|
13248
|
+
const te = ht(h);
|
|
13249
13249
|
return e.onCanRestore != null ? e.onCanRestore(te) : (te == null ? void 0 : te.isInactive) === !0;
|
|
13250
13250
|
}), j = A(() => {
|
|
13251
|
-
const te =
|
|
13251
|
+
const te = ht(h);
|
|
13252
13252
|
return e.onCanSave != null ? e.onCanSave(te) : !0;
|
|
13253
13253
|
}), K = e.onUpdateAsyncItem ?? ((te, me) => {
|
|
13254
13254
|
me.hasOwnProperty("rowVersion") && (te.rowVersion = me.rowVersion), me.hasOwnProperty("version") && (te.version = me.version), me.hasOwnProperty("isDeleted") && (te.isDeleted = me.isDeleted), me.hasOwnProperty("isInactive") && (te.isInactive = me.isInactive), me.hasOwnProperty("id") && (te.id = me.id);
|
|
@@ -13374,13 +13374,10 @@ function lT(e, t, a) {
|
|
|
13374
13374
|
storeKey: s
|
|
13375
13375
|
});
|
|
13376
13376
|
}
|
|
13377
|
-
function re() {
|
|
13378
|
-
|
|
13379
|
-
!te || te == "view" ? ($.value = "edit", t != null && t("edit", h.value)) : te == "edit" && ($.value = "view");
|
|
13377
|
+
async function re() {
|
|
13378
|
+
$.value == "view" ? (e.onBeforeEditAsync != null && await e.onBeforeEditAsync(h.value), $.value = "edit") : (e.onBeforeViewAsync != null && await e.onBeforeViewAsync(h.value), $.value = "view");
|
|
13380
13379
|
}
|
|
13381
|
-
return _e(
|
|
13382
|
-
te == "view" && e.onViewAsync != null ? await e.onViewAsync(h.value) : te == "edit" && e.onEditAsync != null && await e.onEditAsync(h.value);
|
|
13383
|
-
}), _e(M, (te) => {
|
|
13380
|
+
return _e(M, (te) => {
|
|
13384
13381
|
P.value = te != null;
|
|
13385
13382
|
}), _e(() => e.refreshToggle, () => {
|
|
13386
13383
|
W({ deepRefresh: !0 });
|
|
@@ -13450,7 +13447,7 @@ function yc(e, t, a) {
|
|
|
13450
13447
|
bladeStartShowing: e.bladeStartShowing
|
|
13451
13448
|
}), o = e.useBladeSrc ?? !!e.bladeName, s = e.useRouteSrc ?? e.variant == "page", u = e.nav ?? e.bladeName ?? e.itemBladeName ?? "basic", c = e.storeKey ?? (a == null ? void 0 : a.storeKey);
|
|
13452
13449
|
var d = l.findItem(u);
|
|
13453
|
-
const m = e.storeMode ?? (d == null ? void 0 : d.storeMode), f = e.storageMode ?? (d == null ? void 0 : d.storageMode), g = d == null ? void 0 : d.deleteStrat, p = q(((Be = d == null ? void 0 : d.externalConfig) == null ? void 0 : Be.parties) ?? []), h = q([]), y =
|
|
13450
|
+
const m = e.storeMode ?? (d == null ? void 0 : d.storeMode), f = e.storageMode ?? (d == null ? void 0 : d.storageMode), g = d == null ? void 0 : d.deleteStrat, p = q(((Be = d == null ? void 0 : d.externalConfig) == null ? void 0 : Be.parties) ?? []), h = q([]), y = ht(e.customFilters) ?? [], v = q([]), S = A(() => xE([
|
|
13454
13451
|
...(e.localFilters ?? []).filter((Ve) => Ve.predicate != null || Ve.onFilter != null).map((Ve) => Ve.name),
|
|
13455
13452
|
...y.filter((Ve) => Ve.name != null).map((Ve) => Ve.name),
|
|
13456
13453
|
...e.defaultFilters ?? [],
|
|
@@ -13482,7 +13479,7 @@ function yc(e, t, a) {
|
|
|
13482
13479
|
let Ve;
|
|
13483
13480
|
return Ve == null && o && ((Qe = i == null ? void 0 : i.bladeData) == null ? void 0 : Qe.data) != null && (Ve = i.bladeData.data[L]), Ve == null && s && (Ve = (Mt = (Xe = a == null ? void 0 : a.route) == null ? void 0 : Xe.query) == null ? void 0 : Mt[L]), Ve;
|
|
13484
13481
|
}
|
|
13485
|
-
const V = q(
|
|
13482
|
+
const V = q(ht(e.startShowingInactive) ?? !1), I = A(() => [
|
|
13486
13483
|
...e.searchProps ?? [],
|
|
13487
13484
|
...(e.headers ?? []).filter((Ve) => Ve.searchable != null && Ve.value != null).map((Ve) => Ve.value ?? "")
|
|
13488
13485
|
]), R = q(), E = Ne([]), j = q([]);
|
|
@@ -13606,7 +13603,7 @@ function yc(e, t, a) {
|
|
|
13606
13603
|
});
|
|
13607
13604
|
}
|
|
13608
13605
|
function al(Ve) {
|
|
13609
|
-
const Qe =
|
|
13606
|
+
const Qe = ht(Ve), {
|
|
13610
13607
|
additionalUrl: Xe,
|
|
13611
13608
|
onCanSaveAsync: Mt,
|
|
13612
13609
|
onGetSaveAsync: It,
|
|
@@ -13721,7 +13718,7 @@ function yc(e, t, a) {
|
|
|
13721
13718
|
}
|
|
13722
13719
|
function he(Ve, Qe) {
|
|
13723
13720
|
var Mt;
|
|
13724
|
-
const Xe =
|
|
13721
|
+
const Xe = ht(Ve);
|
|
13725
13722
|
e.canUnselect ? K = Xe === K ? null : Xe : K = Xe ?? K, e.canSelect == !0 && (e.onCanSelectItem == null || e.onCanSelectItem(Xe)) && (e.onSelectItem != null ? e.onSelectItem(K) : e.itemBladeName && K == null ? i == null || i.closeBlade({ bladeName: e.itemBladeName }) : Qe == "page" ? (Mt = a == null ? void 0 : a.router) == null || Mt.push({
|
|
13726
13723
|
name: e.itemBladeName,
|
|
13727
13724
|
params: { id: Xe.id }
|
|
@@ -14035,7 +14032,7 @@ const AB = Ue({
|
|
|
14035
14032
|
});
|
|
14036
14033
|
function I1(e) {
|
|
14037
14034
|
return k1(() => {
|
|
14038
|
-
const t =
|
|
14035
|
+
const t = ht(e), a = [], n = {};
|
|
14039
14036
|
if (t.background)
|
|
14040
14037
|
if ($y(t.background)) {
|
|
14041
14038
|
if (n.backgroundColor = t.background, !t.text && W4(t.background)) {
|
|
@@ -14058,7 +14055,7 @@ function ur(e) {
|
|
|
14058
14055
|
colorClasses: t,
|
|
14059
14056
|
colorStyles: a
|
|
14060
14057
|
} = I1(() => ({
|
|
14061
|
-
text:
|
|
14058
|
+
text: ht(e)
|
|
14062
14059
|
}));
|
|
14063
14060
|
return {
|
|
14064
14061
|
textColorClasses: t,
|
|
@@ -14070,7 +14067,7 @@ function Xn(e) {
|
|
|
14070
14067
|
colorClasses: t,
|
|
14071
14068
|
colorStyles: a
|
|
14072
14069
|
} = I1(() => ({
|
|
14073
|
-
background:
|
|
14070
|
+
background: ht(e)
|
|
14074
14071
|
}));
|
|
14075
14072
|
return {
|
|
14076
14073
|
backgroundColorClasses: t,
|
|
@@ -14456,7 +14453,7 @@ const RB = Ue({
|
|
|
14456
14453
|
textColorClasses: s,
|
|
14457
14454
|
textColorStyles: u
|
|
14458
14455
|
} = ur(() => e.color);
|
|
14459
|
-
return
|
|
14456
|
+
return mt(() => {
|
|
14460
14457
|
var m, f;
|
|
14461
14458
|
const c = (m = n.default) == null ? void 0 : m.call(n);
|
|
14462
14459
|
c && (l.value = (f = F_(c).filter((g) => g.type === JC && g.children && typeof g.children == "string")[0]) == null ? void 0 : f.children);
|
|
@@ -14529,7 +14526,7 @@ const uT = Ue({
|
|
|
14529
14526
|
} = zB(e), {
|
|
14530
14527
|
dimensionStyles: l
|
|
14531
14528
|
} = Ar(e);
|
|
14532
|
-
return
|
|
14529
|
+
return mt(() => {
|
|
14533
14530
|
var r;
|
|
14534
14531
|
return ae("div", {
|
|
14535
14532
|
class: De(["v-responsive", {
|
|
@@ -14821,7 +14818,7 @@ const HB = {
|
|
|
14821
14818
|
}), $());
|
|
14822
14819
|
});
|
|
14823
14820
|
}
|
|
14824
|
-
return
|
|
14821
|
+
return mt(() => {
|
|
14825
14822
|
const $ = ck.filterProps(e);
|
|
14826
14823
|
return Rt(w(ck, be({
|
|
14827
14824
|
class: ["v-img", {
|
|
@@ -14900,7 +14897,7 @@ function jc(e) {
|
|
|
14900
14897
|
const a = xe(() => {
|
|
14901
14898
|
const {
|
|
14902
14899
|
variant: r
|
|
14903
|
-
} =
|
|
14900
|
+
} = ht(e);
|
|
14904
14901
|
return `${t}--variant-${r}`;
|
|
14905
14902
|
}), {
|
|
14906
14903
|
colorClasses: n,
|
|
@@ -14909,7 +14906,7 @@ function jc(e) {
|
|
|
14909
14906
|
const {
|
|
14910
14907
|
variant: r,
|
|
14911
14908
|
color: i
|
|
14912
|
-
} =
|
|
14909
|
+
} = ht(e);
|
|
14913
14910
|
return {
|
|
14914
14911
|
[["elevated", "flat"].includes(r) ? "background" : "text"]: i
|
|
14915
14912
|
};
|
|
@@ -14959,7 +14956,7 @@ const YB = Ue({
|
|
|
14959
14956
|
sizeClasses: c,
|
|
14960
14957
|
sizeStyles: d
|
|
14961
14958
|
} = Rf(e);
|
|
14962
|
-
return
|
|
14959
|
+
return mt(() => w(e.tag, {
|
|
14963
14960
|
class: De(["v-avatar", {
|
|
14964
14961
|
"v-avatar--start": e.start,
|
|
14965
14962
|
"v-avatar--end": e.end
|
|
@@ -15084,7 +15081,7 @@ const dT = Ue({
|
|
|
15084
15081
|
flat: !0,
|
|
15085
15082
|
variant: xe(() => e.variant)
|
|
15086
15083
|
}
|
|
15087
|
-
}),
|
|
15084
|
+
}), mt(() => w(e.tag, {
|
|
15088
15085
|
class: De(["v-btn-group", `v-btn-group--${e.direction}`, {
|
|
15089
15086
|
"v-btn-group--divided": e.divided
|
|
15090
15087
|
}, n.value, r.value, l.value, i.value, o.value, e.class]),
|
|
@@ -15305,7 +15302,7 @@ const vT = Symbol.for("vuetify:v-btn-toggle"), QB = Ue({
|
|
|
15305
15302
|
select: i,
|
|
15306
15303
|
selected: o
|
|
15307
15304
|
} = Ch(e, vT);
|
|
15308
|
-
return
|
|
15305
|
+
return mt(() => {
|
|
15309
15306
|
const s = dk.filterProps(e);
|
|
15310
15307
|
return w(dk, be({
|
|
15311
15308
|
class: ["v-btn-toggle", e.class]
|
|
@@ -15418,7 +15415,7 @@ const JB = Ue({
|
|
|
15418
15415
|
} = Ks(), y = xe(() => Tn(parseFloat(e.modelValue), 0, 100)), v = xe(() => Number(e.width)), S = xe(() => s.value ? Number(e.size) : h.value ? h.value.width : Math.max(v.value, 32)), x = xe(() => n / (1 - v.value / S.value) * 2), b = xe(() => v.value / S.value * x.value), k = xe(() => bt((100 - y.value) / 100 * l));
|
|
15419
15416
|
return Ua(() => {
|
|
15420
15417
|
f.value = r.value, p.value = r.value;
|
|
15421
|
-
}),
|
|
15418
|
+
}), mt(() => w(e.tag, {
|
|
15422
15419
|
ref: r,
|
|
15423
15420
|
class: De(["v-progress-circular", {
|
|
15424
15421
|
"v-progress-circular--indeterminate": !!e.indeterminate,
|
|
@@ -15887,7 +15884,7 @@ const i8 = Ue({
|
|
|
15887
15884
|
} = y.value.getBoundingClientRect(), R = C.value ? I - $.clientX + (V - I) : $.clientX - P;
|
|
15888
15885
|
n.value = Math.round(R / I * S.value);
|
|
15889
15886
|
}
|
|
15890
|
-
return
|
|
15887
|
+
return mt(() => w(e.tag, {
|
|
15891
15888
|
ref: y,
|
|
15892
15889
|
class: De(["v-progress-linear", {
|
|
15893
15890
|
"v-progress-linear--absolute": e.absolute,
|
|
@@ -16361,7 +16358,7 @@ const p8 = {
|
|
|
16361
16358
|
var $;
|
|
16362
16359
|
C.value || h.isLink.value && (L.metaKey || L.ctrlKey || L.shiftKey || L.button !== 0 || a.target === "_blank") || (($ = h.navigate) == null || $.call(h, L), p == null || p.toggle());
|
|
16363
16360
|
}
|
|
16364
|
-
return c8(h, p == null ? void 0 : p.select),
|
|
16361
|
+
return c8(h, p == null ? void 0 : p.select), mt(() => {
|
|
16365
16362
|
const L = h.isLink.value ? "a" : e.tag, $ = !!(e.prependIcon || n.prepend), P = !!(e.appendIcon || n.append), V = !!(e.icon && e.icon !== !0);
|
|
16366
16363
|
return Rt(w(L, be({
|
|
16367
16364
|
type: L === "a" ? void 0 : "button",
|
|
@@ -16802,7 +16799,7 @@ const Ba = fr("slide-x-transition"), Hf = fr("slide-x-reverse-transition"), Wn =
|
|
|
16802
16799
|
slim: !0,
|
|
16803
16800
|
variant: "text"
|
|
16804
16801
|
}
|
|
16805
|
-
}),
|
|
16802
|
+
}), mt(() => {
|
|
16806
16803
|
var n;
|
|
16807
16804
|
return ae("div", {
|
|
16808
16805
|
class: De(["v-card-actions", e.class]),
|
|
@@ -16821,7 +16818,7 @@ const Ba = fr("slide-x-transition"), Hf = fr("slide-x-reverse-transition"), Wn =
|
|
|
16821
16818
|
let {
|
|
16822
16819
|
slots: a
|
|
16823
16820
|
} = t;
|
|
16824
|
-
return
|
|
16821
|
+
return mt(() => w(e.tag, {
|
|
16825
16822
|
class: De(["v-card-subtitle", e.class]),
|
|
16826
16823
|
style: Oe([{
|
|
16827
16824
|
"--v-card-subtitle-opacity": e.opacity
|
|
@@ -16850,7 +16847,7 @@ const Ba = fr("slide-x-transition"), Hf = fr("slide-x-reverse-transition"), Wn =
|
|
|
16850
16847
|
let {
|
|
16851
16848
|
slots: a
|
|
16852
16849
|
} = t;
|
|
16853
|
-
return
|
|
16850
|
+
return mt(() => {
|
|
16854
16851
|
var u;
|
|
16855
16852
|
const n = !!(e.prependAvatar || e.prependIcon), l = !!(n || a.prepend), r = !!(e.appendAvatar || e.appendIcon), i = !!(r || a.append), o = !!(e.title != null || a.title), s = !!(e.subtitle != null || a.subtitle);
|
|
16856
16853
|
return ae("div", {
|
|
@@ -16934,7 +16931,7 @@ const Ba = fr("slide-x-transition"), Hf = fr("slide-x-reverse-transition"), Wn =
|
|
|
16934
16931
|
let {
|
|
16935
16932
|
slots: a
|
|
16936
16933
|
} = t;
|
|
16937
|
-
return
|
|
16934
|
+
return mt(() => w(e.tag, {
|
|
16938
16935
|
class: De(["v-card-text", e.class]),
|
|
16939
16936
|
style: Oe([{
|
|
16940
16937
|
"--v-card-text-opacity": e.opacity
|
|
@@ -17019,7 +17016,7 @@ const Ba = fr("slide-x-transition"), Hf = fr("slide-x-reverse-transition"), Wn =
|
|
|
17019
17016
|
} = Th(e), {
|
|
17020
17017
|
roundedClasses: p
|
|
17021
17018
|
} = Al(e), h = Dh(e, a);
|
|
17022
|
-
return
|
|
17019
|
+
return mt(() => {
|
|
17023
17020
|
const y = e.link !== !1 && h.isLink.value, v = !e.disabled && e.link !== !1 && (e.link || h.isClickable.value), S = y ? "a" : e.tag, x = !!(n.title || e.title != null), b = !!(n.subtitle || e.subtitle != null), k = x || b, C = !!(n.append || e.appendAvatar || e.appendIcon), M = !!(n.prepend || e.prependAvatar || e.prependIcon), T = !!(n.image || e.image), D = k || M || C, L = !!(n.text || e.text != null);
|
|
17024
17021
|
return Rt(w(S, be({
|
|
17025
17022
|
class: ["v-card", {
|
|
@@ -17290,7 +17287,7 @@ const A8 = Ue({
|
|
|
17290
17287
|
m && ((f = r.value) == null || f.submit());
|
|
17291
17288
|
}), u.preventDefault();
|
|
17292
17289
|
}
|
|
17293
|
-
return
|
|
17290
|
+
return mt(() => {
|
|
17294
17291
|
var s;
|
|
17295
17292
|
return ae("form", {
|
|
17296
17293
|
ref: r,
|
|
@@ -17322,7 +17319,7 @@ const A8 = Ue({
|
|
|
17322
17319
|
} = el(), {
|
|
17323
17320
|
dimensionStyles: l
|
|
17324
17321
|
} = Ar(e);
|
|
17325
|
-
return
|
|
17322
|
+
return mt(() => w(e.tag, {
|
|
17326
17323
|
class: De(["v-container", {
|
|
17327
17324
|
"v-container--fluid": e.fluid
|
|
17328
17325
|
}, n.value, e.class]),
|
|
@@ -17637,6 +17634,8 @@ const O8 = Ue({
|
|
|
17637
17634
|
localPredicate: {},
|
|
17638
17635
|
nav: {},
|
|
17639
17636
|
navSuffix: {},
|
|
17637
|
+
onBeforeEditAsync: {},
|
|
17638
|
+
onBeforeViewAsync: {},
|
|
17640
17639
|
onCanDelete: {},
|
|
17641
17640
|
onCanDeleteAsync: {},
|
|
17642
17641
|
onCanEdit: {},
|
|
@@ -17646,7 +17645,6 @@ const O8 = Ue({
|
|
|
17646
17645
|
onCanSaveAsync: {},
|
|
17647
17646
|
onDeleteAsync: {},
|
|
17648
17647
|
onDeleteSuccessAsync: {},
|
|
17649
|
-
onEditAsync: {},
|
|
17650
17648
|
onError: {},
|
|
17651
17649
|
onGetAsync: {},
|
|
17652
17650
|
onGetListAsync: {},
|
|
@@ -17661,7 +17659,6 @@ const O8 = Ue({
|
|
|
17661
17659
|
onSaveAsync: {},
|
|
17662
17660
|
onSaveSuccessAsync: {},
|
|
17663
17661
|
onUpdateAsyncItem: {},
|
|
17664
|
-
onViewAsync: {},
|
|
17665
17662
|
params: {},
|
|
17666
17663
|
proxyID: {},
|
|
17667
17664
|
proxyKey: {},
|
|
@@ -17679,7 +17676,7 @@ const O8 = Ue({
|
|
|
17679
17676
|
useRouteSrc: { type: Boolean, default: void 0 },
|
|
17680
17677
|
variant: { default: "page" }
|
|
17681
17678
|
},
|
|
17682
|
-
emits: ["
|
|
17679
|
+
emits: ["fetched", "saved"],
|
|
17683
17680
|
setup(e, { emit: t }) {
|
|
17684
17681
|
const a = t, n = e, l = Ff(n.preset), r = q(), { findSingleDisplay: i } = Gi(), o = ko(), s = wh(), u = at("size", () => q("small"), !0), c = lT(
|
|
17685
17682
|
n,
|
|
@@ -18855,7 +18852,7 @@ const NN = Ue({
|
|
|
18855
18852
|
const s = {};
|
|
18856
18853
|
return e.length && (s[e.vertical ? "height" : "width"] = bt(e.length)), e.thickness && (s[e.vertical ? "borderRightWidth" : "borderTopWidth"] = bt(e.thickness)), s;
|
|
18857
18854
|
});
|
|
18858
|
-
return
|
|
18855
|
+
return mt(() => {
|
|
18859
18856
|
const s = ae("hr", {
|
|
18860
18857
|
class: De([{
|
|
18861
18858
|
"v-divider": !0,
|
|
@@ -19433,7 +19430,7 @@ const W1 = (e) => {
|
|
|
19433
19430
|
};
|
|
19434
19431
|
return Jt(sf, g), g.root;
|
|
19435
19432
|
}, lD = (e, t, a) => {
|
|
19436
|
-
const n = at(sf, nD), l = Symbol("nested item"), r = A(() => jt(
|
|
19433
|
+
const n = at(sf, nD), l = Symbol("nested item"), r = A(() => jt(ht(e)) ?? l), i = {
|
|
19437
19434
|
...n,
|
|
19438
19435
|
id: r,
|
|
19439
19436
|
open: (o, s) => n.root.open(r.value, o, s),
|
|
@@ -19449,7 +19446,7 @@ const W1 = (e) => {
|
|
|
19449
19446
|
isGroupActivator: n.isGroupActivator
|
|
19450
19447
|
};
|
|
19451
19448
|
return Yi(() => {
|
|
19452
|
-
n.isGroupActivator || n.root.register(r.value, n.id.value,
|
|
19449
|
+
n.isGroupActivator || n.root.register(r.value, n.id.value, ht(t), a);
|
|
19453
19450
|
}), Sa(() => {
|
|
19454
19451
|
n.isGroupActivator || n.root.unregister(r.value);
|
|
19455
19452
|
}), a && Jt(sf, i), i;
|
|
@@ -19540,7 +19537,7 @@ const GN = di({
|
|
|
19540
19537
|
value: e.value
|
|
19541
19538
|
}
|
|
19542
19539
|
}));
|
|
19543
|
-
return
|
|
19540
|
+
return mt(() => w(e.tag, {
|
|
19544
19541
|
class: De(["v-list-group", {
|
|
19545
19542
|
"v-list-group--prepend": o == null ? void 0 : o.hasPrepend.value,
|
|
19546
19543
|
"v-list-group--fluid": e.fluid,
|
|
@@ -19588,7 +19585,7 @@ const GN = di({
|
|
|
19588
19585
|
let {
|
|
19589
19586
|
slots: a
|
|
19590
19587
|
} = t;
|
|
19591
|
-
return
|
|
19588
|
+
return mt(() => w(e.tag, {
|
|
19592
19589
|
class: De(["v-list-item-subtitle", e.class]),
|
|
19593
19590
|
style: Oe([{
|
|
19594
19591
|
"--v-list-item-subtitle-opacity": e.opacity
|
|
@@ -19722,7 +19719,7 @@ const GN = di({
|
|
|
19722
19719
|
const re = Q.target;
|
|
19723
19720
|
["INPUT", "TEXTAREA"].includes(re.tagName) || (Q.key === "Enter" || Q.key === " " && !(v != null && v.filterable)) && (Q.preventDefault(), Q.stopPropagation(), Q.target.dispatchEvent(new MouseEvent("click", Q)));
|
|
19724
19721
|
}
|
|
19725
|
-
return
|
|
19722
|
+
return mt(() => {
|
|
19726
19723
|
const Q = x.value ? "a" : e.tag, re = n.title || e.title != null, B = n.subtitle || e.subtitle != null, te = !!(e.appendAvatar || e.appendIcon), me = !!(te || n.append), ye = !!(e.prependAvatar || e.prependIcon), pe = !!(ye || n.prepend);
|
|
19727
19724
|
return v == null || v.updateHasPrepend(pe), e.activeColor && j_("active-color", ["color", "base-color"]), Rt(w(Q, be({
|
|
19728
19725
|
class: ["v-list-item", {
|
|
@@ -19864,7 +19861,7 @@ const GN = di({
|
|
|
19864
19861
|
textColorClasses: n,
|
|
19865
19862
|
textColorStyles: l
|
|
19866
19863
|
} = ur(() => e.color);
|
|
19867
|
-
return
|
|
19864
|
+
return mt(() => {
|
|
19868
19865
|
const r = !!(a.default || e.title);
|
|
19869
19866
|
return w(e.tag, {
|
|
19870
19867
|
class: De(["v-list-subheader", {
|
|
@@ -20240,7 +20237,7 @@ const l7 = Ue({
|
|
|
20240
20237
|
if (k.value)
|
|
20241
20238
|
return Od(k.value, P);
|
|
20242
20239
|
}
|
|
20243
|
-
return
|
|
20240
|
+
return mt(() => w(e.tag, {
|
|
20244
20241
|
ref: k,
|
|
20245
20242
|
class: De(["v-list", {
|
|
20246
20243
|
"v-list--disabled": e.disabled,
|
|
@@ -20903,11 +20900,11 @@ function x7(e, t, a) {
|
|
|
20903
20900
|
activeChildren: /* @__PURE__ */ new Set()
|
|
20904
20901
|
});
|
|
20905
20902
|
Jt(Vk, i);
|
|
20906
|
-
const o = Ne(Number(
|
|
20903
|
+
const o = Ne(Number(ht(t)));
|
|
20907
20904
|
Jr(e, () => {
|
|
20908
20905
|
var d;
|
|
20909
20906
|
const c = (d = cd.at(-1)) == null ? void 0 : d[1];
|
|
20910
|
-
o.value = c ? c + 10 : Number(
|
|
20907
|
+
o.value = c ? c + 10 : Number(ht(t)), l && cd.push([n.uid, o.value]), r == null || r.activeChildren.add(n.uid), ea(() => {
|
|
20911
20908
|
if (l) {
|
|
20912
20909
|
const m = jt(cd).findIndex((f) => f[0] === n.uid);
|
|
20913
20910
|
cd.splice(m, 1);
|
|
@@ -21189,7 +21186,7 @@ const G1 = Ue({
|
|
|
21189
21186
|
function re() {
|
|
21190
21187
|
p(), l("afterLeave");
|
|
21191
21188
|
}
|
|
21192
|
-
return
|
|
21189
|
+
return mt(() => {
|
|
21193
21190
|
var B;
|
|
21194
21191
|
return ae(Me, null, [(B = a.activator) == null ? void 0 : B.call(a, {
|
|
21195
21192
|
isActive: c.value,
|
|
@@ -21342,7 +21339,7 @@ const G1 = Ue({
|
|
|
21342
21339
|
"aria-controls": o.value,
|
|
21343
21340
|
onKeydown: g
|
|
21344
21341
|
}, e.activatorProps));
|
|
21345
|
-
return
|
|
21342
|
+
return mt(() => {
|
|
21346
21343
|
const h = _r.filterProps(e);
|
|
21347
21344
|
return w(_r, be({
|
|
21348
21345
|
ref: s,
|
|
@@ -21628,7 +21625,7 @@ const A7 = Ue({
|
|
|
21628
21625
|
function C(M) {
|
|
21629
21626
|
M.key === My.left && !e.disabled && l.value > Number(e.start) ? (l.value = l.value - 1, nt(k)) : M.key === My.right && !e.disabled && l.value < f.value + m.value - 1 && (l.value = l.value + 1, nt(k));
|
|
21630
21627
|
}
|
|
21631
|
-
return
|
|
21628
|
+
return mt(() => w(e.tag, {
|
|
21632
21629
|
ref: d,
|
|
21633
21630
|
class: De(["v-pagination", s.value, e.class]),
|
|
21634
21631
|
style: Oe(e.style),
|
|
@@ -21703,7 +21700,7 @@ const A7 = Ue({
|
|
|
21703
21700
|
} = dn(e), {
|
|
21704
21701
|
densityClasses: r
|
|
21705
21702
|
} = $r(e);
|
|
21706
|
-
return
|
|
21703
|
+
return mt(() => w(e.tag, {
|
|
21707
21704
|
class: De(["v-table", {
|
|
21708
21705
|
"v-table--fixed-height": !!e.height,
|
|
21709
21706
|
"v-table--fixed-header": e.fixedHeader,
|
|
@@ -21750,7 +21747,7 @@ const A7 = Ue({
|
|
|
21750
21747
|
slots: a
|
|
21751
21748
|
} = t;
|
|
21752
21749
|
const n = xe(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
|
|
21753
|
-
return
|
|
21750
|
+
return mt(() => w(fo, {
|
|
21754
21751
|
transition: e.transition
|
|
21755
21752
|
}, {
|
|
21756
21753
|
default: () => [Rt(ae("div", {
|
|
@@ -21777,7 +21774,7 @@ const A7 = Ue({
|
|
|
21777
21774
|
let {
|
|
21778
21775
|
slots: a
|
|
21779
21776
|
} = t;
|
|
21780
|
-
return
|
|
21777
|
+
return mt(() => {
|
|
21781
21778
|
var n;
|
|
21782
21779
|
return ae("label", {
|
|
21783
21780
|
class: De(["v-label", {
|
|
@@ -21798,7 +21795,7 @@ const A7 = Ue({
|
|
|
21798
21795
|
let {
|
|
21799
21796
|
slots: a
|
|
21800
21797
|
} = t;
|
|
21801
|
-
return
|
|
21798
|
+
return mt(() => w(Z1, {
|
|
21802
21799
|
class: De(["v-field-label", {
|
|
21803
21800
|
"v-field-label--floating": e.floating
|
|
21804
21801
|
}, e.class]),
|
|
@@ -21979,7 +21976,7 @@ const L7 = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-f
|
|
|
21979
21976
|
function I(R) {
|
|
21980
21977
|
R.target !== document.activeElement && R.preventDefault();
|
|
21981
21978
|
}
|
|
21982
|
-
return
|
|
21979
|
+
return mt(() => {
|
|
21983
21980
|
var O, U, Z;
|
|
21984
21981
|
const R = e.variant === "outlined", E = !!(l["prepend-inner"] || e.prependInnerIcon), j = !!(e.clearable || l.clear) && !e.disabled, K = !!(l["append-inner"] || e.appendInnerIcon || j), Y = () => l.label ? l.label({
|
|
21985
21982
|
...V.value,
|
|
@@ -22147,7 +22144,7 @@ const L7 = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-f
|
|
|
22147
22144
|
textColorClasses: l,
|
|
22148
22145
|
textColorStyles: r
|
|
22149
22146
|
} = ur(() => e.color);
|
|
22150
|
-
return
|
|
22147
|
+
return mt(() => w(fo, {
|
|
22151
22148
|
transition: e.transition,
|
|
22152
22149
|
tag: "div",
|
|
22153
22150
|
class: De(["v-messages", l.value, e.class]),
|
|
@@ -22380,7 +22377,7 @@ const Yc = Ue({
|
|
|
22380
22377
|
if (e.iconColor)
|
|
22381
22378
|
return e.iconColor === !0 ? $.value : e.iconColor;
|
|
22382
22379
|
});
|
|
22383
|
-
return
|
|
22380
|
+
return mt(() => {
|
|
22384
22381
|
var R, E, j, K;
|
|
22385
22382
|
const V = !!(n.prepend || e.prependIcon), I = !!(n.append || e.appendIcon);
|
|
22386
22383
|
return ae("div", {
|
|
@@ -22511,7 +22508,7 @@ const O7 = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
22511
22508
|
});
|
|
22512
22509
|
}
|
|
22513
22510
|
}
|
|
22514
|
-
return
|
|
22511
|
+
return mt(() => {
|
|
22515
22512
|
const k = !!(l.counter || e.counter !== !1 && e.counter != null), C = !!(k || l.details), [M, T] = Pf(a), {
|
|
22516
22513
|
modelValue: D,
|
|
22517
22514
|
...L
|
|
@@ -23691,7 +23688,7 @@ const nF = {
|
|
|
23691
23688
|
},
|
|
23692
23689
|
...e.touch === !0 ? {} : e.touch
|
|
23693
23690
|
});
|
|
23694
|
-
return
|
|
23691
|
+
return mt(() => Rt(w(e.tag, {
|
|
23695
23692
|
ref: o,
|
|
23696
23693
|
class: De(["v-window", {
|
|
23697
23694
|
"v-window--show-arrows-on-hover": e.showArrows === "hover",
|
|
@@ -23783,7 +23780,7 @@ const nF = {
|
|
|
23783
23780
|
}), {
|
|
23784
23781
|
hasContent: f
|
|
23785
23782
|
} = mD(e, l.isSelected);
|
|
23786
|
-
return
|
|
23783
|
+
return mt(() => w(fo, {
|
|
23787
23784
|
transition: m.value,
|
|
23788
23785
|
disabled: !r.value
|
|
23789
23786
|
}, {
|
|
@@ -23940,7 +23937,7 @@ const nF = {
|
|
|
23940
23937
|
useRouteSrc: { type: Boolean, default: void 0 },
|
|
23941
23938
|
variant: { default: "page" }
|
|
23942
23939
|
},
|
|
23943
|
-
emits: ["change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item", "
|
|
23940
|
+
emits: ["change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item", "saved"],
|
|
23944
23941
|
setup(e, { emit: t }) {
|
|
23945
23942
|
const a = t, n = e, l = A(() => n.steps ?? []), r = q(null), i = q(null), { xs: o } = Qi(), s = Af(), u = Ff(n.preset), c = mc(), { findDisplay: d, findSingleDisplay: m } = Gi(), f = ko(), g = wh(), p = yc(n, a, {
|
|
23946
23943
|
hideActions: !0,
|
|
@@ -25046,7 +25043,7 @@ const gF = () => {
|
|
|
25046
25043
|
};
|
|
25047
25044
|
function Ld(e, t = mF, a = {}) {
|
|
25048
25045
|
const n = a.onRest || gF, l = q(
|
|
25049
|
-
Un(e) ? e :
|
|
25046
|
+
Un(e) ? e : ht(e)
|
|
25050
25047
|
);
|
|
25051
25048
|
let r = !1, i = 0, o = 0, s;
|
|
25052
25049
|
_e(
|
|
@@ -25087,8 +25084,8 @@ function Ld(e, t = mF, a = {}) {
|
|
|
25087
25084
|
bF(
|
|
25088
25085
|
S,
|
|
25089
25086
|
v,
|
|
25090
|
-
|
|
25091
|
-
|
|
25087
|
+
ht(t),
|
|
25088
|
+
ht(l),
|
|
25092
25089
|
c.value,
|
|
25093
25090
|
d.value,
|
|
25094
25091
|
m,
|
|
@@ -25418,7 +25415,7 @@ const DF = ["success", "info", "warning", "error"], AF = Ue({
|
|
|
25418
25415
|
let {
|
|
25419
25416
|
slots: a
|
|
25420
25417
|
} = t;
|
|
25421
|
-
return
|
|
25418
|
+
return mt(() => {
|
|
25422
25419
|
const n = !!(a.default || a.text || e.text);
|
|
25423
25420
|
return w(e.tag, {
|
|
25424
25421
|
class: De(["v-toolbar-title", e.class]),
|
|
@@ -25492,7 +25489,7 @@ const DF = ["success", "info", "warning", "error"], AF = Ue({
|
|
|
25492
25489
|
VBtn: {
|
|
25493
25490
|
variant: "text"
|
|
25494
25491
|
}
|
|
25495
|
-
}),
|
|
25492
|
+
}), mt(() => {
|
|
25496
25493
|
var y;
|
|
25497
25494
|
const g = !!(e.title || a.title), p = !!(a.image || e.image), h = (y = a.extension) == null ? void 0 : y.call(a);
|
|
25498
25495
|
return c.value = e.extended === null ? !!h : e.extended, w(e.tag, {
|
|
@@ -25586,7 +25583,7 @@ const DF = ["success", "info", "warning", "error"], AF = Ue({
|
|
|
25586
25583
|
height: "inherit",
|
|
25587
25584
|
variant: xe(() => e.variant)
|
|
25588
25585
|
}
|
|
25589
|
-
}),
|
|
25586
|
+
}), mt(() => {
|
|
25590
25587
|
var n;
|
|
25591
25588
|
return ae("div", {
|
|
25592
25589
|
class: De(["v-toolbar-items", e.class]),
|
|
@@ -26491,7 +26488,7 @@ const DF = ["success", "info", "warning", "error"], AF = Ue({
|
|
|
26491
26488
|
}, {
|
|
26492
26489
|
deep: !0,
|
|
26493
26490
|
immediate: !0
|
|
26494
|
-
}), yt(() => p()),
|
|
26491
|
+
}), yt(() => p()), mt(() => ae("div", {
|
|
26495
26492
|
ref: c,
|
|
26496
26493
|
class: De(["v-color-picker-canvas", e.class]),
|
|
26497
26494
|
style: Oe(e.style),
|
|
@@ -26744,7 +26741,7 @@ const uR = {
|
|
|
26744
26741
|
};
|
|
26745
26742
|
});
|
|
26746
26743
|
});
|
|
26747
|
-
return
|
|
26744
|
+
return mt(() => {
|
|
26748
26745
|
var r;
|
|
26749
26746
|
return ae("div", {
|
|
26750
26747
|
class: De(["v-color-picker-edit", e.class]),
|
|
@@ -27086,7 +27083,7 @@ const gR = Ue({
|
|
|
27086
27083
|
const re = Z(Q, e.modelValue);
|
|
27087
27084
|
re != null && n("update:modelValue", re);
|
|
27088
27085
|
}
|
|
27089
|
-
return
|
|
27086
|
+
return mt(() => {
|
|
27090
27087
|
const Q = bt(k.value ? 100 - e.position : e.position, "%");
|
|
27091
27088
|
return ae("div", {
|
|
27092
27089
|
class: De(["v-slider-thumb", {
|
|
@@ -27202,7 +27199,7 @@ const gR = Ue({
|
|
|
27202
27199
|
index: P
|
|
27203
27200
|
})) ?? $.label])]);
|
|
27204
27201
|
}) : []);
|
|
27205
|
-
return
|
|
27202
|
+
return mt(() => ae("div", {
|
|
27206
27203
|
class: De(["v-slider-track", h.value, e.class]),
|
|
27207
27204
|
style: Oe([{
|
|
27208
27205
|
"--v-slider-track-size": bt(d.value),
|
|
@@ -27292,7 +27289,7 @@ const gR = Ue({
|
|
|
27292
27289
|
focus: b,
|
|
27293
27290
|
blur: k
|
|
27294
27291
|
} = Uc(e), C = A(() => h(s.value));
|
|
27295
|
-
return
|
|
27292
|
+
return mt(() => {
|
|
27296
27293
|
const M = Fi.filterProps(e), T = !!(e.label || a.label || a.prepend);
|
|
27297
27294
|
return w(Fi, be({
|
|
27298
27295
|
ref: r,
|
|
@@ -27398,7 +27395,7 @@ const gR = Ue({
|
|
|
27398
27395
|
} catch {
|
|
27399
27396
|
}
|
|
27400
27397
|
}
|
|
27401
|
-
return
|
|
27398
|
+
return mt(() => {
|
|
27402
27399
|
var r, i;
|
|
27403
27400
|
return ae("div", {
|
|
27404
27401
|
class: De(["v-color-picker-preview", {
|
|
@@ -27481,7 +27478,7 @@ const AR = di({
|
|
|
27481
27478
|
let {
|
|
27482
27479
|
emit: a
|
|
27483
27480
|
} = t;
|
|
27484
|
-
return
|
|
27481
|
+
return mt(() => ae("div", {
|
|
27485
27482
|
class: De(["v-color-picker-swatches", e.class]),
|
|
27486
27483
|
style: Oe([{
|
|
27487
27484
|
maxHeight: bt(e.maxHeight)
|
|
@@ -27540,7 +27537,7 @@ const AR = di({
|
|
|
27540
27537
|
} = Th(e), {
|
|
27541
27538
|
roundedClasses: d
|
|
27542
27539
|
} = Al(e);
|
|
27543
|
-
return
|
|
27540
|
+
return mt(() => w(e.tag, {
|
|
27544
27541
|
class: De(["v-sheet", n.value, l.value, i.value, s.value, c.value, d.value, e.class]),
|
|
27545
27542
|
style: Oe([r.value, o.value, u.value, e.style])
|
|
27546
27543
|
}, a)), {};
|
|
@@ -27563,7 +27560,7 @@ const AR = di({
|
|
|
27563
27560
|
backgroundColorClasses: n,
|
|
27564
27561
|
backgroundColorStyles: l
|
|
27565
27562
|
} = Xn(() => e.color);
|
|
27566
|
-
return
|
|
27563
|
+
return mt(() => {
|
|
27567
27564
|
const r = zk.filterProps(e), i = !!(e.title || a.title);
|
|
27568
27565
|
return w(zk, be(r, {
|
|
27569
27566
|
color: e.bgColor,
|
|
@@ -27690,7 +27687,7 @@ const AR = di({
|
|
|
27690
27687
|
trackColor: void 0,
|
|
27691
27688
|
trackFillColor: void 0
|
|
27692
27689
|
}
|
|
27693
|
-
}),
|
|
27690
|
+
}), mt(() => {
|
|
27694
27691
|
const c = Ok.filterProps(e);
|
|
27695
27692
|
return w(Ok, be(c, {
|
|
27696
27693
|
class: ["v-color-picker", o.value, e.class],
|
|
@@ -28058,7 +28055,7 @@ const AR = di({
|
|
|
28058
28055
|
c || (await nt(), (d = i.value.activatorEl) == null || d.focus({
|
|
28059
28056
|
preventScroll: !0
|
|
28060
28057
|
}));
|
|
28061
|
-
}),
|
|
28058
|
+
}), mt(() => {
|
|
28062
28059
|
const c = _r.filterProps(e), d = be({
|
|
28063
28060
|
"aria-haspopup": "dialog"
|
|
28064
28061
|
}, e.activatorProps), m = be({
|
|
@@ -35537,7 +35534,7 @@ const a0 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
|
|
|
35537
35534
|
}, ue = () => {
|
|
35538
35535
|
z("selectCurrentDate");
|
|
35539
35536
|
}, Se = (ge, qe) => {
|
|
35540
|
-
z("presetDate",
|
|
35537
|
+
z("presetDate", ht(ge), qe);
|
|
35541
35538
|
}, de = () => {
|
|
35542
35539
|
z("clearHoverDate");
|
|
35543
35540
|
}, Ce = (ge, qe) => {
|
|
@@ -36987,6 +36984,8 @@ const cW = /* @__PURE__ */ et({
|
|
|
36987
36984
|
localPredicate: {},
|
|
36988
36985
|
nav: {},
|
|
36989
36986
|
navSuffix: {},
|
|
36987
|
+
onBeforeEditAsync: {},
|
|
36988
|
+
onBeforeViewAsync: {},
|
|
36990
36989
|
onCanDelete: {},
|
|
36991
36990
|
onCanDeleteAsync: {},
|
|
36992
36991
|
onCanEdit: {},
|
|
@@ -36996,7 +36995,6 @@ const cW = /* @__PURE__ */ et({
|
|
|
36996
36995
|
onCanSaveAsync: {},
|
|
36997
36996
|
onDeleteAsync: {},
|
|
36998
36997
|
onDeleteSuccessAsync: {},
|
|
36999
|
-
onEditAsync: {},
|
|
37000
36998
|
onError: {},
|
|
37001
36999
|
onGetAsync: {},
|
|
37002
37000
|
onGetListAsync: {},
|
|
@@ -37011,7 +37009,6 @@ const cW = /* @__PURE__ */ et({
|
|
|
37011
37009
|
onSaveAsync: {},
|
|
37012
37010
|
onSaveSuccessAsync: {},
|
|
37013
37011
|
onUpdateAsyncItem: {},
|
|
37014
|
-
onViewAsync: {},
|
|
37015
37012
|
params: {},
|
|
37016
37013
|
proxyID: {},
|
|
37017
37014
|
proxyKey: {},
|
|
@@ -37029,14 +37026,14 @@ const cW = /* @__PURE__ */ et({
|
|
|
37029
37026
|
useRouteSrc: { type: Boolean },
|
|
37030
37027
|
variant: {}
|
|
37031
37028
|
},
|
|
37032
|
-
emits: ["
|
|
37029
|
+
emits: ["fetched", "saved"],
|
|
37033
37030
|
setup(e, { emit: t }) {
|
|
37034
37031
|
const a = t, n = e, l = ru(), r = lT(n, a, {
|
|
37035
37032
|
onGetItem: (u) => {
|
|
37036
37033
|
n.assignToObject != null && n.assignToProp != null && (n.assignToObject[n.assignToProp] = u);
|
|
37037
37034
|
}
|
|
37038
37035
|
}), i = Gi(), o = n.itemText ?? (n.nav != null ? i.findItemText(n.nav) : void 0) ?? void 0, s = A(() => {
|
|
37039
|
-
var u =
|
|
37036
|
+
var u = ht(r.asyncItem);
|
|
37040
37037
|
return n.textFunction != null && (u = n.textFunction(u)), o != null && (u = Fn(r.asyncItem.value, o)), n.textFilter != null ? l.findFilter(n.textFilter)(u) : u;
|
|
37041
37038
|
});
|
|
37042
37039
|
return (u, c) => (N(), le("div", {
|
|
@@ -37259,7 +37256,7 @@ ot()({
|
|
|
37259
37256
|
type: xe(() => e.type),
|
|
37260
37257
|
valueComparator: xe(() => e.valueComparator)
|
|
37261
37258
|
}
|
|
37262
|
-
}),
|
|
37259
|
+
}), mt(() => {
|
|
37263
37260
|
var s;
|
|
37264
37261
|
return ae("div", {
|
|
37265
37262
|
class: De(["v-selection-control-group", {
|
|
@@ -37363,7 +37360,7 @@ const Vm = ot()({
|
|
|
37363
37360
|
}
|
|
37364
37361
|
e.readonly && l && nt(() => l.forceUpdate()), o.value = C.target.checked;
|
|
37365
37362
|
}
|
|
37366
|
-
return
|
|
37363
|
+
return mt(() => {
|
|
37367
37364
|
var L, $;
|
|
37368
37365
|
const C = n.label ? n.label({
|
|
37369
37366
|
label: e.label,
|
|
@@ -37460,7 +37457,7 @@ const Vm = ot()({
|
|
|
37460
37457
|
n.value && (n.value = !1);
|
|
37461
37458
|
}
|
|
37462
37459
|
const i = xe(() => n.value ? e.indeterminateIcon : e.falseIcon), o = xe(() => n.value ? e.indeterminateIcon : e.trueIcon);
|
|
37463
|
-
return
|
|
37460
|
+
return mt(() => {
|
|
37464
37461
|
const s = Zi(Vm.filterProps(e), ["modelValue"]);
|
|
37465
37462
|
return w(Vm, be(s, {
|
|
37466
37463
|
modelValue: l.value,
|
|
@@ -37495,7 +37492,7 @@ const Vm = ot()({
|
|
|
37495
37492
|
focus: i,
|
|
37496
37493
|
blur: o
|
|
37497
37494
|
} = Uc(e), s = q(), u = ui();
|
|
37498
|
-
return
|
|
37495
|
+
return mt(() => {
|
|
37499
37496
|
const [c, d] = Pf(a), m = Fi.filterProps(e), f = Lm.filterProps(e);
|
|
37500
37497
|
return w(Fi, be({
|
|
37501
37498
|
ref: s,
|
|
@@ -37899,7 +37896,7 @@ const Vm = ot()({
|
|
|
37899
37896
|
var S, x;
|
|
37900
37897
|
v.stopPropagation(), v.preventDefault(), (x = (S = c.value) == null ? void 0 : S.input) == null || x.click();
|
|
37901
37898
|
}
|
|
37902
|
-
return
|
|
37899
|
+
return mt(() => {
|
|
37903
37900
|
const [v, S] = Pf(a), x = Fi.filterProps(e), b = Vm.filterProps(e);
|
|
37904
37901
|
return w(Fi, be({
|
|
37905
37902
|
ref: d,
|
|
@@ -38314,7 +38311,7 @@ const BW = Symbol.for("vuetify:v-slide-group"), xb = Ue({
|
|
|
38314
38311
|
const O = s2(d.value, m.el), U = PW(d.value, m.el);
|
|
38315
38312
|
return O - U - Math.abs(s.value) > 1;
|
|
38316
38313
|
});
|
|
38317
|
-
return
|
|
38314
|
+
return mt(() => w(e.tag, {
|
|
38318
38315
|
class: De(["v-slide-group", {
|
|
38319
38316
|
"v-slide-group--vertical": !d.value,
|
|
38320
38317
|
"v-slide-group--has-affixes": j.value,
|
|
@@ -38415,7 +38412,7 @@ const BW = Symbol.for("vuetify:v-slide-group"), xb = Ue({
|
|
|
38415
38412
|
filter: xe(() => e.filter),
|
|
38416
38413
|
variant: xe(() => e.variant)
|
|
38417
38414
|
}
|
|
38418
|
-
}),
|
|
38415
|
+
}), mt(() => {
|
|
38419
38416
|
const u = Pm.filterProps(e);
|
|
38420
38417
|
return w(Pm, be(u, {
|
|
38421
38418
|
class: ["v-chip-group", {
|
|
@@ -38713,7 +38710,7 @@ const BW = Symbol.for("vuetify:v-slide-group"), xb = Ue({
|
|
|
38713
38710
|
return (o = i.value) == null ? void 0 : o.height;
|
|
38714
38711
|
}, (o) => {
|
|
38715
38712
|
o != null && n("update:height", o);
|
|
38716
|
-
}),
|
|
38713
|
+
}), mt(() => {
|
|
38717
38714
|
var o, s;
|
|
38718
38715
|
return e.renderless ? ae(Me, null, [(o = l.default) == null ? void 0 : o.call(l, {
|
|
38719
38716
|
itemRef: r
|
|
@@ -38921,7 +38918,7 @@ const qW = Ue({
|
|
|
38921
38918
|
yt(() => {
|
|
38922
38919
|
i.value = tT(n.vnode.el, !0), p(!0);
|
|
38923
38920
|
}), ea(p);
|
|
38924
|
-
}),
|
|
38921
|
+
}), mt(() => {
|
|
38925
38922
|
const p = g.value.map((h) => w(OW, {
|
|
38926
38923
|
key: h.key,
|
|
38927
38924
|
renderless: e.renderless,
|
|
@@ -39195,7 +39192,7 @@ const EA = Ue({
|
|
|
39195
39192
|
}
|
|
39196
39193
|
}), _e(() => e.items, (Y, O) => {
|
|
39197
39194
|
b.value || g.value && e.hideNoData && !O.length && Y.length && (b.value = !0);
|
|
39198
|
-
}),
|
|
39195
|
+
}), mt(() => {
|
|
39199
39196
|
const Y = !!(e.chips || a.chip), O = !!(!e.hideNoData || v.value.length || a["prepend-item"] || a["append-item"] || a["no-data"]), U = c.value.length > 0, Z = Za.filterProps(e), W = U || !g.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
|
|
39200
39197
|
return w(Za, be({
|
|
39201
39198
|
ref: l
|
|
@@ -39686,7 +39683,7 @@ const ej = Ue({
|
|
|
39686
39683
|
}
|
|
39687
39684
|
}), _e(() => e.items, (J, ne) => {
|
|
39688
39685
|
V.value || i.value && !ne.length && J.length && (V.value = !0);
|
|
39689
|
-
}),
|
|
39686
|
+
}), mt(() => {
|
|
39690
39687
|
const J = !!(!e.hideNoData || L.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), ne = v.value.length > 0, ve = Za.filterProps(e);
|
|
39691
39688
|
return w(Za, be({
|
|
39692
39689
|
ref: r
|
|
@@ -40052,7 +40049,7 @@ const ej = Ue({
|
|
|
40052
40049
|
L ? (D = new ResizeObserver(T), D.observe(k.value)) : D == null || D.disconnect();
|
|
40053
40050
|
}), Sa(() => {
|
|
40054
40051
|
D == null || D.disconnect();
|
|
40055
|
-
}),
|
|
40052
|
+
}), mt(() => {
|
|
40056
40053
|
const L = !!(l.counter || e.counter || e.counterValue), $ = !!(L || l.details), [P, V] = Pf(a), {
|
|
40057
40054
|
modelValue: I,
|
|
40058
40055
|
...R
|
|
@@ -42901,7 +42898,7 @@ const EU = ["start", "end", "left", "right", "top", "bottom"], VU = Ue({
|
|
|
42901
42898
|
VList: {
|
|
42902
42899
|
bgColor: "transparent"
|
|
42903
42900
|
}
|
|
42904
|
-
}),
|
|
42901
|
+
}), mt(() => {
|
|
42905
42902
|
const Y = l.image || e.image;
|
|
42906
42903
|
return ae(Me, null, [w(e.tag, be({
|
|
42907
42904
|
ref: v,
|
|
@@ -44500,17 +44497,17 @@ const eY = /* @__PURE__ */ et({
|
|
|
44500
44497
|
emits: ["change", "update:modelValue"],
|
|
44501
44498
|
setup(e, { emit: t }) {
|
|
44502
44499
|
const a = t, n = e, l = q(), r = q(!1), i = q(null), o = ou(), s = A(() => {
|
|
44503
|
-
const S =
|
|
44500
|
+
const S = ht(i);
|
|
44504
44501
|
if (S != null)
|
|
44505
44502
|
return S.signaturePad.canvas.height / window.devicePixelRatio;
|
|
44506
44503
|
}), u = A(() => {
|
|
44507
|
-
const S =
|
|
44504
|
+
const S = ht(i);
|
|
44508
44505
|
if (S != null)
|
|
44509
44506
|
return S.signaturePad.canvas.width / window.devicePixelRatio;
|
|
44510
44507
|
}), c = A(() => n.fullscreen == !0 ? `height: calc(100vh - ${n.usedHeight}px); width: ${n.width};` : `height: ${n.height}; width: ${n.width};`), d = A(() => !!n.canEdit), m = A(() => n.lineColor ?? (o.name.value == "dark" ? "white" : "black")), f = A(() => l.value != null && l.value != n.modelValue), g = A(() => ({
|
|
44511
44508
|
dotSize: 0.5,
|
|
44512
44509
|
onEnd: () => {
|
|
44513
|
-
const S =
|
|
44510
|
+
const S = ht(i);
|
|
44514
44511
|
if (S != null && !S.isEmpty()) {
|
|
44515
44512
|
const x = S.toData(), b = [];
|
|
44516
44513
|
x.forEach((M) => {
|
|
@@ -44542,10 +44539,10 @@ const eY = /* @__PURE__ */ et({
|
|
|
44542
44539
|
l.value = n.modelValue, p(S, n.modelValue), d.value || (x = i.value) == null || x.lockSignaturePad();
|
|
44543
44540
|
}), _e(() => n.refreshToggle, () => {
|
|
44544
44541
|
var S;
|
|
44545
|
-
l.value = n.modelValue, p(
|
|
44542
|
+
l.value = n.modelValue, p(ht(i), l.value), d.value || (S = i.value) == null || S.lockSignaturePad();
|
|
44546
44543
|
}), _e(() => n.modelValue, (S) => {
|
|
44547
44544
|
var x;
|
|
44548
|
-
l.value = S, p(
|
|
44545
|
+
l.value = S, p(ht(i), S), d.value || (x = i.value) == null || x.lockSignaturePad();
|
|
44549
44546
|
});
|
|
44550
44547
|
function h(S) {
|
|
44551
44548
|
if (s.value != null && u.value != null) {
|
|
@@ -44561,15 +44558,15 @@ const eY = /* @__PURE__ */ et({
|
|
|
44561
44558
|
return S;
|
|
44562
44559
|
}
|
|
44563
44560
|
function y() {
|
|
44564
|
-
a("change", l.value), a("update:modelValue", l.value), n.clearOnOk && (l.value = void 0, p(
|
|
44561
|
+
a("change", l.value), a("update:modelValue", l.value), n.clearOnOk && (l.value = void 0, p(ht(i), l.value));
|
|
44565
44562
|
}
|
|
44566
44563
|
function v() {
|
|
44567
|
-
const S =
|
|
44564
|
+
const S = ht(i);
|
|
44568
44565
|
S != null && !S.isEmpty() && S.clearSignature(), l.value = void 0;
|
|
44569
44566
|
}
|
|
44570
44567
|
return yt(() => {
|
|
44571
44568
|
var S;
|
|
44572
|
-
l.value = n.modelValue, p(
|
|
44569
|
+
l.value = n.modelValue, p(ht(i), l.value), d.value || (S = i.value) == null || S.lockSignaturePad(), r.value = !0;
|
|
44573
44570
|
}), Yn(() => {
|
|
44574
44571
|
r.value = !1;
|
|
44575
44572
|
}), (S, x) => (N(), ce(Et, {
|
|
@@ -44660,12 +44657,12 @@ const eY = /* @__PURE__ */ et({
|
|
|
44660
44657
|
}), _e(() => n.openToggle, () => {
|
|
44661
44658
|
p();
|
|
44662
44659
|
}), _e(() => n.modelValue, (h) => {
|
|
44663
|
-
d(
|
|
44660
|
+
d(ht(o), h);
|
|
44664
44661
|
}), _e(() => n.signature, (h) => {
|
|
44665
|
-
d(
|
|
44662
|
+
d(ht(o), h);
|
|
44666
44663
|
});
|
|
44667
44664
|
function m() {
|
|
44668
|
-
const h =
|
|
44665
|
+
const h = ht(o);
|
|
44669
44666
|
if (h != null && !h.isEmpty()) {
|
|
44670
44667
|
const y = h.toData(), v = [];
|
|
44671
44668
|
y.forEach((k) => {
|
|
@@ -44685,7 +44682,7 @@ const eY = /* @__PURE__ */ et({
|
|
|
44685
44682
|
a("cancel"), a("close"), i.value = !1;
|
|
44686
44683
|
}
|
|
44687
44684
|
function g() {
|
|
44688
|
-
const h =
|
|
44685
|
+
const h = ht(o);
|
|
44689
44686
|
h != null && !h.isEmpty() && h.clearSignature(), r.value = void 0;
|
|
44690
44687
|
}
|
|
44691
44688
|
function p() {
|
|
@@ -45122,7 +45119,7 @@ const oY = Ue({
|
|
|
45122
45119
|
function p(h) {
|
|
45123
45120
|
return a["item-label"] ? a["item-label"](h) : h.label ? ae("span", null, [h.label]) : ae("span", null, [We(" ")]);
|
|
45124
45121
|
}
|
|
45125
|
-
return
|
|
45122
|
+
return mt(() => {
|
|
45126
45123
|
var y;
|
|
45127
45124
|
const h = !!((y = e.itemLabels) != null && y.length) || a["item-label"];
|
|
45128
45125
|
return w(e.tag, {
|
|
@@ -45211,7 +45208,7 @@ const oY = Ue({
|
|
|
45211
45208
|
});
|
|
45212
45209
|
}
|
|
45213
45210
|
}
|
|
45214
|
-
return
|
|
45211
|
+
return mt(() => {
|
|
45215
45212
|
const d = Pe.filterProps(e);
|
|
45216
45213
|
return w(Pe, be({
|
|
45217
45214
|
symbol: $b,
|
|
@@ -45260,7 +45257,7 @@ const oY = Ue({
|
|
|
45260
45257
|
l.value = i;
|
|
45261
45258
|
}
|
|
45262
45259
|
});
|
|
45263
|
-
return
|
|
45260
|
+
return mt(() => {
|
|
45264
45261
|
const i = xc.filterProps(e);
|
|
45265
45262
|
return w(xc, be({
|
|
45266
45263
|
_as: "VTabsWindow"
|
|
@@ -45283,7 +45280,7 @@ const oY = Ue({
|
|
|
45283
45280
|
let {
|
|
45284
45281
|
slots: a
|
|
45285
45282
|
} = t;
|
|
45286
|
-
return
|
|
45283
|
+
return mt(() => {
|
|
45287
45284
|
const n = Ti.filterProps(e);
|
|
45288
45285
|
return w(Ti, be({
|
|
45289
45286
|
_as: "VTabsWindowItem"
|
|
@@ -45354,7 +45351,7 @@ const fY = Ue({
|
|
|
45354
45351
|
sliderColor: xe(() => e.sliderColor),
|
|
45355
45352
|
hideSlider: xe(() => e.hideSlider)
|
|
45356
45353
|
}
|
|
45357
|
-
}),
|
|
45354
|
+
}), mt(() => {
|
|
45358
45355
|
const c = Pm.filterProps(e), d = !!(n.window || e.items.length > 0);
|
|
45359
45356
|
return ae(Me, null, [w(Pm, be(c, {
|
|
45360
45357
|
modelValue: l.value,
|
|
@@ -46578,7 +46575,7 @@ const fY = Ue({
|
|
|
46578
46575
|
}), n = q(), l = A(() => JSON.stringify(t.data)), r = A(() => l.value != n.value), { style: i } = s4({
|
|
46579
46576
|
getUsedHeight() {
|
|
46580
46577
|
var h = 64 + t.actualUsedHeight + (o.value == "half-and-half" ? 0 : 32);
|
|
46581
|
-
return
|
|
46578
|
+
return h;
|
|
46582
46579
|
},
|
|
46583
46580
|
overflow: !0
|
|
46584
46581
|
}), o = A(() => t.variant ?? t.schema.variant ?? "basic"), s = q(0), u = q(), c = q(!1), d = q(), m = A(() => t.isEditing && !c.value), f = A(() => {
|
|
@@ -61882,7 +61879,7 @@ const PQ = () => {
|
|
|
61882
61879
|
};
|
|
61883
61880
|
function Wv(e, t = EQ, a = {}) {
|
|
61884
61881
|
const n = a.onRest || PQ, l = q(
|
|
61885
|
-
Un(e) ? e :
|
|
61882
|
+
Un(e) ? e : ht(e)
|
|
61886
61883
|
);
|
|
61887
61884
|
let r = !1, i = 0, o = 0, s;
|
|
61888
61885
|
_e(
|
|
@@ -61923,8 +61920,8 @@ function Wv(e, t = EQ, a = {}) {
|
|
|
61923
61920
|
NQ(
|
|
61924
61921
|
S,
|
|
61925
61922
|
v,
|
|
61926
|
-
|
|
61927
|
-
|
|
61923
|
+
ht(t),
|
|
61924
|
+
ht(l),
|
|
61928
61925
|
c.value,
|
|
61929
61926
|
d.value,
|
|
61930
61927
|
m,
|
|
@@ -78509,7 +78506,7 @@ const pie = Ue({
|
|
|
78509
78506
|
} = dn(e), {
|
|
78510
78507
|
t: s
|
|
78511
78508
|
} = So(), u = A(() => op(_l(e.type).join(",")));
|
|
78512
|
-
return
|
|
78509
|
+
return mt(() => {
|
|
78513
78510
|
var m;
|
|
78514
78511
|
const c = !a.default || e.loading, d = e.boilerplate || !c ? {} : {
|
|
78515
78512
|
ariaLive: "polite",
|
package/dist/index.d.ts
CHANGED
|
@@ -1016,7 +1016,6 @@ export declare function isNullOrEmpty(val: string | undefined): boolean;
|
|
|
1016
1016
|
export declare function isSameDownToHour(firstDate?: string, secondDate?: string): boolean;
|
|
1017
1017
|
|
|
1018
1018
|
export declare interface ItemEvents {
|
|
1019
|
-
(e: 'edit', item: any): void;
|
|
1020
1019
|
(e: 'fetched', item: any): void;
|
|
1021
1020
|
(e: 'saved', item: any): void;
|
|
1022
1021
|
}
|
|
@@ -1042,6 +1041,8 @@ export declare interface ItemProps<T, TSave, TReturn> {
|
|
|
1042
1041
|
localPredicate?: (item: any) => boolean;
|
|
1043
1042
|
nav?: string;
|
|
1044
1043
|
navSuffix?: string;
|
|
1044
|
+
onBeforeEditAsync?: (item: TReturn | TReturn[] | undefined) => Promise<TReturn | TReturn[] | undefined>;
|
|
1045
|
+
onBeforeViewAsync?: (item: TReturn | TReturn[] | undefined) => Promise<TReturn | TReturn[] | undefined>;
|
|
1045
1046
|
onCanDelete?: (item: TReturn) => boolean;
|
|
1046
1047
|
onCanDeleteAsync?: OnCanDoAsync<TReturn>;
|
|
1047
1048
|
onCanEdit?: (item: TReturn) => boolean;
|
|
@@ -1051,7 +1052,6 @@ export declare interface ItemProps<T, TSave, TReturn> {
|
|
|
1051
1052
|
onCanSaveAsync?: OnCanDoAsync<TReturn | TSave>;
|
|
1052
1053
|
onDeleteAsync?: OnDoActionAsync<TReturn>;
|
|
1053
1054
|
onDeleteSuccessAsync?: OnDoMaybeSuccessAsync<TReturn, TReturn>;
|
|
1054
|
-
onEditAsync?: (item?: TReturn | TReturn[]) => Promise<TReturn | TReturn[] | undefined>;
|
|
1055
1055
|
onError?: (err: any) => void;
|
|
1056
1056
|
onGetAsync?: OnGetAsync<T>;
|
|
1057
1057
|
onGetListAsync?: OnGetAllAsync<T>;
|
|
@@ -1066,7 +1066,6 @@ export declare interface ItemProps<T, TSave, TReturn> {
|
|
|
1066
1066
|
onSaveAsync?: (item: TSave | TReturn) => Promise<TReturn | undefined>;
|
|
1067
1067
|
onSaveSuccessAsync?: OnDoSuccessAsync<TReturn, TReturn>;
|
|
1068
1068
|
onUpdateAsyncItem?: (asyncItem: TReturn | TReturn[] | undefined, newVersionItem: T) => void;
|
|
1069
|
-
onViewAsync?: (item?: TReturn | TReturn[]) => Promise<TReturn | TReturn[] | undefined>;
|
|
1070
1069
|
params?: any;
|
|
1071
1070
|
proxyID?: string;
|
|
1072
1071
|
proxyKey?: string;
|
|
@@ -2281,7 +2280,7 @@ export declare function useItem<T, TSave, TReturn>(props: ItemProps<T, TSave, TR
|
|
|
2281
2280
|
restoreItem: (dItem: any) => Promise<TReturn | undefined>;
|
|
2282
2281
|
saveItem: (dItem: any, options?: SaveItemOptions) => Promise<TReturn | undefined>;
|
|
2283
2282
|
showError: ShallowRef<boolean, boolean>;
|
|
2284
|
-
toggleMode: () => void
|
|
2283
|
+
toggleMode: () => Promise<void>;
|
|
2285
2284
|
};
|
|
2286
2285
|
|
|
2287
2286
|
export declare interface UseItemOptions {
|
package/package.json
CHANGED