hs-admin-ui 17.0.5 → 17.0.7
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/{bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-BcYE-BQ8.js → bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js} +10060 -8461
- package/dist/{components-BQqQsHab.js → components-jA6cfy0p.js} +9 -6
- package/dist/element-plus-ui.mjs +5 -5
- package/dist/h5.mjs +8 -5
- package/dist/{index-BUCSA3Vy.js → index-B6IjumNu.js} +13 -7
- package/dist/{index-CmuHspNk.js → index-BEjZGPL9.js} +29 -15
- package/dist/{index-8j3cHwnv.js → index-CvU85qzE.js} +3118 -3007
- package/dist/{index-B8REha8K.js → index-DQ__Y1be.js} +200 -101
- package/dist/index.mjs +6 -6
- package/dist/{setting-BjaCWt3K.js → setting-C2i4nh7B.js} +8 -5
- package/dist/{table-xRAByXLr.js → table-dXIZiY9l.js} +2 -2
- package/dist/types/src/components/base/DatePicker/src/DatePicker.vue.d.ts +5 -0
- package/dist/types/src/components/base/index.d.ts +10 -0
- package/dist/types/src/components/business/bcVisual/bcVisual.vue.d.ts +2 -2
- package/dist/vxe-table-ui.mjs +4 -4
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { b as zt, d as ze, i as Yl, a as ct, c as Zl, _ as Qn, u as Kt, e as Mn, f as an, E as Jn, w as Ka, g as lr, h as ir, j as rr, r as sr, k as ur, l as dr, m as cr, n as fr, t as An, o as un, p as mr, q as hr, s as gr, v as Yt, P as fa, x as ll, y as vr, z as Lo, A as pr, B as br, C as yr, D as _r, F as wr, G as Sr, H as b, I as ya, J as Rt, K as Dt, L as ht, M as He, N as vt, O as Dr, Q as _o, R as wo, S as Zt, T as oa, U as za, V as Cr, W as Qt, X as Ln, Y as Na, Z as ei, $ as Fn, a0 as ti, a1 as ai, a2 as So, a3 as We, a4 as pn, a5 as Do, a6 as xr, a7 as Fo, a8 as ut, a9 as Ha, aa as _a, ab as Ir, ac as jn, ad as kr, ae as il, af as Er, ag as $r, ah as Rr, ai as jo, aj as ni, ak as oi, al as Tr, am as qr, an as Bo, ao as Or, ap as li, aq as Pt, ar as Me, as as ia, at as Ua, au as Co, av as Vr, aw as Nr, ax as rl, ay as Mr, az as Po, aA as Ar, aB as Lr, aC as Fr, aD as sl, aE as jr, aF as Br, aG as Pr, aH as zr, aI as ul, aJ as xo, aK as Hr, aL as Ur, aM as Wr, aN as Kr, aO as Xr, aP as Gr, aQ as Qr, aR as Bn, aS as Nt, aT as En, aU as we, aV as Jr, aW as Pe, aX as Yr, aY as Zr, aZ as es, a_ as ts, a$ as as, b0 as ns, b1 as os, b2 as ls, b3 as is, b4 as rs } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
2
|
-
import { c as ss } from "./index-
|
|
3
|
-
import { V as us } from "./components-
|
|
4
|
-
import { E as ds, I as dl, S as cl, v as Ta, F as wn, u as cs, A as $a, B as fl, g as Sn, R as fs, a as ml, b as ms, c as hl, d as gl, i as vl, e as hs, C as Fa, f as Io, h as ko, j as ii, D as pl, k as gs, l as vs, m as ps, n as bs, o as ys, p as _s, q as ws } from "./index-
|
|
1
|
+
import { b as zt, d as ze, i as Yl, a as ct, c as Zl, _ as Qn, u as Kt, e as Mn, f as an, E as Jn, w as Ka, g as lr, h as ir, j as rr, r as sr, k as ur, l as dr, m as cr, n as fr, t as An, o as un, p as mr, q as hr, s as gr, v as Yt, P as fa, x as ll, y as vr, z as Lo, A as pr, B as br, C as yr, D as _r, F as wr, G as Sr, H as b, I as ya, J as Rt, K as Dt, L as ht, M as He, N as vt, O as Dr, Q as _o, R as wo, S as Zt, T as oa, U as za, V as Cr, W as Qt, X as Ln, Y as Na, Z as ei, $ as Fn, a0 as ti, a1 as ai, a2 as So, a3 as We, a4 as pn, a5 as Do, a6 as xr, a7 as Fo, a8 as ut, a9 as Ha, aa as _a, ab as Ir, ac as jn, ad as kr, ae as il, af as Er, ag as $r, ah as Rr, ai as jo, aj as ni, ak as oi, al as Tr, am as qr, an as Bo, ao as Or, ap as li, aq as Pt, ar as Me, as as ia, at as Ua, au as Co, av as Vr, aw as Nr, ax as rl, ay as Mr, az as Po, aA as Ar, aB as Lr, aC as Fr, aD as sl, aE as jr, aF as Br, aG as Pr, aH as zr, aI as ul, aJ as xo, aK as Hr, aL as Ur, aM as Wr, aN as Kr, aO as Xr, aP as Gr, aQ as Qr, aR as Bn, aS as Nt, aT as En, aU as we, aV as Jr, aW as Pe, aX as Yr, aY as Zr, aZ as es, a_ as ts, a$ as as, b0 as ns, b1 as os, b2 as ls, b3 as is, b4 as rs } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-vyql0LvH.js";
|
|
2
|
+
import { c as ss } from "./index-B6IjumNu.js";
|
|
3
|
+
import { V as us } from "./components-jA6cfy0p.js";
|
|
4
|
+
import { E as ds, I as dl, S as cl, v as Ta, F as wn, u as cs, A as $a, B as fl, g as Sn, R as fs, a as ml, b as ms, c as hl, d as gl, i as vl, e as hs, C as Fa, f as Io, h as ko, j as ii, D as pl, k as gs, l as vs, m as ps, n as bs, o as ys, p as _s, q as ws } from "./index-CvU85qzE.js";
|
|
5
5
|
import { _ as Ss } from "./bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-DoEyyD3x.js";
|
|
6
6
|
import { ref as Z, onMounted as gt, watch as at, defineComponent as be, computed as G, createElementBlock as B, openBlock as E, normalizeStyle as nt, normalizeClass as Ke, unref as h, createBlock as Q, renderSlot as _e, withCtx as F, resolveDynamicComponent as kt, useSlots as Ds, createCommentVNode as ce, createElementVNode as H, createVNode as N, createTextVNode as Ae, toDisplayString as Ze, getCurrentInstance as Xa, nextTick as Le, h as aa, Fragment as $e, toRef as Eo, mergeProps as pe, renderList as xe, normalizeProps as dt, watchEffect as Cs, isVNode as da, shallowRef as Oe, onBeforeUnmount as jt, inject as Xe, provide as Lt, useAttrs as Yn, resolveComponent as U, onBeforeMount as Zn, resolveDirective as Ga, withDirectives as sa, createSlots as bt, guardReactiveProps as pt, onActivated as zo, onDeactivated as ri, withModifiers as dn, onUnmounted as wa, toRefs as xs, reactive as Sa, isRef as qa, createStaticVNode as Ho, toValue as Te, mergeModels as cn, useModel as Vt, vShow as $o, Teleport as Is, Transition as ks, shallowReactive as Es, withAsyncContext as $s, Suspense as Rs, KeepAlive as Ts, triggerRef as qs, defineAsyncComponent as bl } from "vue";
|
|
7
|
-
import { g as Os, p as Vs, e as Ns, a as Ms, b as As, c as Ls, D as Fs, d as js } from "./index-
|
|
7
|
+
import { g as Os, p as Vs, e as Ns, a as Ms, b as As, c as Ls, D as Fs, d as js } from "./index-BEjZGPL9.js";
|
|
8
8
|
(function(e, a) {
|
|
9
9
|
a(e), typeof define == "function" && define.amd ? define([], a) : typeof module < "u" && module.exports ? module.exports = a() : e.ws = a();
|
|
10
10
|
})(window, function(e, a) {
|
|
11
|
-
if (!("WebSocket" in window))
|
|
11
|
+
if (!("WebSocket" in window))
|
|
12
|
+
return;
|
|
12
13
|
var n, t = document.createElement("div"), o = {
|
|
13
14
|
automaticOpen: !0,
|
|
14
15
|
reconnectDecay: 1.5,
|
|
@@ -47,7 +48,8 @@ import { g as Os, p as Vs, e as Ns, a as Ms, b as As, c as Ls, D as Fs, d as js
|
|
|
47
48
|
for (var m in o)
|
|
48
49
|
typeof c[m] < "u" ? this[m] = c[m] : this[m] = o[m];
|
|
49
50
|
this.host = d || this.host, this.port = u || this.port, this.url = this.getURL(), this.readyState = WebSocket.CONNECTING;
|
|
50
|
-
for (var p in i)
|
|
51
|
+
for (var p in i)
|
|
52
|
+
this[p] = i[p];
|
|
51
53
|
return t.addEventListener("connecting", function(v) {
|
|
52
54
|
f !== window && f.onconnecting(v);
|
|
53
55
|
}), t.addEventListener("open", function(v) {
|
|
@@ -75,8 +77,10 @@ import { g as Os, p as Vs, e as Ns, a as Ms, b as As, c as Ls, D as Fs, d as js
|
|
|
75
77
|
}, s.prototype.send = function(d) {
|
|
76
78
|
if (this.wsocket && this.wsocket.readyState === 1) {
|
|
77
79
|
var u = "";
|
|
78
|
-
if (typeof d == "string")
|
|
79
|
-
|
|
80
|
+
if (typeof d == "string")
|
|
81
|
+
u = d;
|
|
82
|
+
else if (typeof d == "object")
|
|
83
|
+
u = JSON.stringify(d, null, 2);
|
|
80
84
|
else {
|
|
81
85
|
var c = r("error", {
|
|
82
86
|
message: "Invalid data format, only json string or json object is allowed."
|
|
@@ -2880,7 +2884,8 @@ const Ku = "ElTableV2", Xu = be({
|
|
|
2880
2884
|
});
|
|
2881
2885
|
function Yu(e) {
|
|
2882
2886
|
var n, t, o, l;
|
|
2883
|
-
if (b.isEmpty(e))
|
|
2887
|
+
if (b.isEmpty(e))
|
|
2888
|
+
return {};
|
|
2884
2889
|
const a = {
|
|
2885
2890
|
config_type: e.config_type,
|
|
2886
2891
|
config_name: e.config_name,
|
|
@@ -2930,7 +2935,8 @@ function Yu(e) {
|
|
|
2930
2935
|
}
|
|
2931
2936
|
function Zu(e) {
|
|
2932
2937
|
var n, t;
|
|
2933
|
-
if (b.isEmpty(e))
|
|
2938
|
+
if (b.isEmpty(e))
|
|
2939
|
+
return {};
|
|
2934
2940
|
const a = {
|
|
2935
2941
|
config_type: e.config_type,
|
|
2936
2942
|
config_name: e.config_name,
|
|
@@ -3132,7 +3138,8 @@ async function ld(e) {
|
|
|
3132
3138
|
}
|
|
3133
3139
|
}).then((a) => {
|
|
3134
3140
|
const n = b.get(a, "data", {});
|
|
3135
|
-
if (b.isEmpty(n) || b.isEmpty(e.varsion))
|
|
3141
|
+
if (b.isEmpty(n) || b.isEmpty(e.varsion))
|
|
3142
|
+
return !1;
|
|
3136
3143
|
if (b.isEqual(e.varsion, n))
|
|
3137
3144
|
return He({
|
|
3138
3145
|
url: `/${e.projectCode}-web/pri/v2/perminssion/get_menu_perm_version`,
|
|
@@ -3785,7 +3792,8 @@ const pd = /* @__PURE__ */ be({
|
|
|
3785
3792
|
b.isEmpty(_) || (i.value = _, typeof (t == null ? void 0 : t.setOptionMap) == "function" && (t == null || t.setOptionMap(o.field, _)), typeof (n == null ? void 0 : n.setOptions) == "function" && (n == null || n.setOptions(o.field, _)));
|
|
3786
3793
|
return;
|
|
3787
3794
|
}
|
|
3788
|
-
if (!((p = o == null ? void 0 : o.groupAttrs) != null && p.url))
|
|
3795
|
+
if (!((p = o == null ? void 0 : o.groupAttrs) != null && p.url))
|
|
3796
|
+
return;
|
|
3789
3797
|
const f = (v = o == null ? void 0 : o.groupAttrs) != null && v.params ? new Function("return " + ((C = o == null ? void 0 : o.groupAttrs) == null ? void 0 : C.params))() : {};
|
|
3790
3798
|
return Object.assign(f, c), r((g = o == null ? void 0 : o.groupAttrs) == null ? void 0 : g.url, f);
|
|
3791
3799
|
}
|
|
@@ -3867,7 +3875,8 @@ const pd = /* @__PURE__ */ be({
|
|
|
3867
3875
|
b.isEmpty(w) || (d.value = w, typeof (l == null ? void 0 : l.setOptionMap) == "function" && (l == null || l.setOptionMap(i.field, w)), typeof (o == null ? void 0 : o.setOptions) == "function" && (o == null || o.setOptions(i.field, w)));
|
|
3868
3876
|
return;
|
|
3869
3877
|
}
|
|
3870
|
-
if (!((g = i == null ? void 0 : i.groupAttrs) != null && g.url))
|
|
3878
|
+
if (!((g = i == null ? void 0 : i.groupAttrs) != null && g.url))
|
|
3879
|
+
return;
|
|
3871
3880
|
const v = (S = i == null ? void 0 : i.groupAttrs) != null && S.params ? new Function("return " + ((_ = i == null ? void 0 : i.groupAttrs) == null ? void 0 : _.params))() : {};
|
|
3872
3881
|
return Object.assign(v, p), c((I = i == null ? void 0 : i.groupAttrs) == null ? void 0 : I.url, v);
|
|
3873
3882
|
}
|
|
@@ -3941,7 +3950,8 @@ function Ei(e, a = { isIinit: !0 }) {
|
|
|
3941
3950
|
const n = Z([]), t = {};
|
|
3942
3951
|
let o = !1;
|
|
3943
3952
|
const l = () => {
|
|
3944
|
-
if (o)
|
|
3953
|
+
if (o)
|
|
3954
|
+
return;
|
|
3945
3955
|
o = !0;
|
|
3946
3956
|
const s = (u, c, f) => {
|
|
3947
3957
|
u.forEach((m) => {
|
|
@@ -4016,7 +4026,8 @@ function Cd(e) {
|
|
|
4016
4026
|
), c = at(a, (D) => {
|
|
4017
4027
|
var V, R, P, K, le, z;
|
|
4018
4028
|
const k = D == null ? void 0 : D.closest(".el-form-item"), x = i.findIndex((M) => M === k);
|
|
4019
|
-
if (x > -1 && (r.root = x), !((V = a.value) != null && V.closest(".hs-form-wraper")))
|
|
4029
|
+
if (x > -1 && (r.root = x), !((V = a.value) != null && V.closest(".hs-form-wraper")))
|
|
4030
|
+
return;
|
|
4020
4031
|
const $ = (R = t.value) == null ? void 0 : R.closest(".el-tab-pane");
|
|
4021
4032
|
if ($) {
|
|
4022
4033
|
$.style.display !== "none" && (P = e.data) != null && P.config_name && (ut.value = (K = b.cloneDeep(e.data)) == null ? void 0 : K.config_unique_id);
|
|
@@ -4070,17 +4081,21 @@ function Cd(e) {
|
|
|
4070
4081
|
}
|
|
4071
4082
|
function p(D) {
|
|
4072
4083
|
var V, R, P, K;
|
|
4073
|
-
if (((V = a.value) == null ? void 0 : V.getAttribute("type")) === "number" || (D.preventDefault(), ut.value !== ((R = e.data) == null ? void 0 : R.config_unique_id)) || !((P = a.value) != null && P.closest(".hs-form-wraper")))
|
|
4084
|
+
if (((V = a.value) == null ? void 0 : V.getAttribute("type")) === "number" || (D.preventDefault(), ut.value !== ((R = e.data) == null ? void 0 : R.config_unique_id)) || !((P = a.value) != null && P.closest(".hs-form-wraper")))
|
|
4085
|
+
return;
|
|
4074
4086
|
const { fieldID: k, colSpan: x } = g((K = a.value) == null ? void 0 : K.closest(".el-form-item"));
|
|
4075
|
-
if (!k)
|
|
4087
|
+
if (!k)
|
|
4088
|
+
return;
|
|
4076
4089
|
const $ = Number(d[k]);
|
|
4077
4090
|
C($ - x, "up") ? x > 1 && x < $ ? r.root = r.root - $ + x : r.root = r.root - Number(d[k]) : r.root--, r.root < 0 && (r.root = i.length - 1), I();
|
|
4078
4091
|
}
|
|
4079
4092
|
function v(D) {
|
|
4080
4093
|
var V, R, P, K;
|
|
4081
|
-
if (((V = a.value) == null ? void 0 : V.getAttribute("type")) === "number" || (D.preventDefault(), ut.value !== ((R = e.data) == null ? void 0 : R.config_unique_id)) || !((P = a.value) != null && P.closest(".hs-form-wraper")))
|
|
4094
|
+
if (((V = a.value) == null ? void 0 : V.getAttribute("type")) === "number" || (D.preventDefault(), ut.value !== ((R = e.data) == null ? void 0 : R.config_unique_id)) || !((P = a.value) != null && P.closest(".hs-form-wraper")))
|
|
4095
|
+
return;
|
|
4082
4096
|
const { fieldID: k, colSpan: x } = g((K = a.value) == null ? void 0 : K.closest(".el-form-item"));
|
|
4083
|
-
if (!k)
|
|
4097
|
+
if (!k)
|
|
4098
|
+
return;
|
|
4084
4099
|
const $ = Number(d[k]);
|
|
4085
4100
|
x > 1 && x < $ ? r.root = r.root + $ - x : C($, "down") ? r.root = r.root + $ : r.root++, r.root > i.length - 1 && (r.root = 0), I();
|
|
4086
4101
|
}
|
|
@@ -4109,7 +4124,8 @@ function Cd(e) {
|
|
|
4109
4124
|
function _(D, k) {
|
|
4110
4125
|
var V;
|
|
4111
4126
|
let x = {};
|
|
4112
|
-
if (!D)
|
|
4127
|
+
if (!D)
|
|
4128
|
+
return x;
|
|
4113
4129
|
const $ = (V = n == null ? void 0 : n.getDataInstance().form) == null ? void 0 : V.find((R) => R.formItemType === "form" && R.fieldID === D);
|
|
4114
4130
|
if ($) {
|
|
4115
4131
|
for (let R in $.config)
|
|
@@ -4520,7 +4536,8 @@ const xd = {
|
|
|
4520
4536
|
}
|
|
4521
4537
|
}, $ = (A, X, J = !0) => {
|
|
4522
4538
|
const re = Array.isArray(X) ? X : [X], ne = u.value.form.find((ge) => ge.formItemType === "form" && ge.fieldID === A);
|
|
4523
|
-
if (!ne)
|
|
4539
|
+
if (!ne)
|
|
4540
|
+
return;
|
|
4524
4541
|
const ye = ne.config.reduce(
|
|
4525
4542
|
(ge, Se) => {
|
|
4526
4543
|
const [Fe] = Se.config;
|
|
@@ -4534,7 +4551,8 @@ const xd = {
|
|
|
4534
4551
|
});
|
|
4535
4552
|
}, V = (A, X, J = !0) => {
|
|
4536
4553
|
const re = Array.isArray(X) ? X : [X], ne = u.value.form.find((ge) => ge.formItemType === "form" && ge.fieldID === A);
|
|
4537
|
-
if (!ne)
|
|
4554
|
+
if (!ne)
|
|
4555
|
+
return;
|
|
4538
4556
|
const ye = ne.config.reduce(
|
|
4539
4557
|
(ge, Se) => {
|
|
4540
4558
|
const [Fe] = Se.config;
|
|
@@ -4548,7 +4566,8 @@ const xd = {
|
|
|
4548
4566
|
});
|
|
4549
4567
|
}, R = (A, X, J = !0) => {
|
|
4550
4568
|
const re = Array.isArray(X) ? X : [X], ne = u.value.form.find((ge) => ge.formItemType === "form" && ge.fieldID === A);
|
|
4551
|
-
if (!ne)
|
|
4569
|
+
if (!ne)
|
|
4570
|
+
return;
|
|
4552
4571
|
const ye = ne.config.reduce(
|
|
4553
4572
|
(ge, Se) => {
|
|
4554
4573
|
const [Fe] = Se.config;
|
|
@@ -4742,7 +4761,8 @@ function Hd(e, a) {
|
|
|
4742
4761
|
return at(Fo(), (s) => {
|
|
4743
4762
|
var f, m, p, v, C, g;
|
|
4744
4763
|
const r = b.find((f = s == null ? void 0 : s.closest(".el-form-item")) == null ? void 0 : f.classList, (S) => S.includes("query_"));
|
|
4745
|
-
if (!r)
|
|
4764
|
+
if (!r)
|
|
4765
|
+
return;
|
|
4746
4766
|
const d = r.replace("query_", ""), u = (m = e.value) == null ? void 0 : m.find((S) => S.data.baseData.prop === d);
|
|
4747
4767
|
!u || b.find(n, (S) => s === S) || (p = s == null ? void 0 : s.classList) != null && p.contains("el-select__input") || (v = s == null ? void 0 : s.classList) != null && v.contains("el-select__wrapper") || ((g = (C = u.data) == null ? void 0 : C.baseData) == null ? void 0 : g.el2) != "hs-date-picker" && (u.data.baseData.isCloseQuickSearch || (n.push(s), s == null || s.addEventListener("keydown", (S) => {
|
|
4748
4768
|
S.key === "Enter" && a();
|
|
@@ -4988,14 +5008,19 @@ const Ud = { class: "bc-form__wrapper" }, Wd = { class: "bc-form__btn" }, Tl = 1
|
|
|
4988
5008
|
}
|
|
4989
5009
|
}), Gd = /* @__PURE__ */ We(Xd, [["__scopeId", "data-v-864edff0"]]);
|
|
4990
5010
|
var Qd = Object.defineProperty, Hn = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Vl = (e, a, n) => a in e ? Qd(e, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[a] = n, ja = (e, a) => {
|
|
4991
|
-
for (var n in a || (a = {}))
|
|
4992
|
-
|
|
5011
|
+
for (var n in a || (a = {}))
|
|
5012
|
+
$i.call(a, n) && Vl(e, n, a[n]);
|
|
5013
|
+
if (Hn)
|
|
5014
|
+
for (var n of Hn(a))
|
|
5015
|
+
Ri.call(a, n) && Vl(e, n, a[n]);
|
|
4993
5016
|
return e;
|
|
4994
5017
|
}, Ti = (e, a) => {
|
|
4995
5018
|
var n = {};
|
|
4996
|
-
for (var t in e)
|
|
5019
|
+
for (var t in e)
|
|
5020
|
+
$i.call(e, t) && a.indexOf(t) < 0 && (n[t] = e[t]);
|
|
4997
5021
|
if (e != null && Hn)
|
|
4998
|
-
for (var t of Hn(e))
|
|
5022
|
+
for (var t of Hn(e))
|
|
5023
|
+
a.indexOf(t) < 0 && Ri.call(e, t) && (n[t] = e[t]);
|
|
4999
5024
|
return n;
|
|
5000
5025
|
};
|
|
5001
5026
|
const qi = "[vue-draggable-plus]: ";
|
|
@@ -5018,10 +5043,12 @@ function ec(e) {
|
|
|
5018
5043
|
);
|
|
5019
5044
|
}
|
|
5020
5045
|
function tc(e, a) {
|
|
5021
|
-
if (Array.isArray(e))
|
|
5046
|
+
if (Array.isArray(e))
|
|
5047
|
+
return e.splice(a, 1);
|
|
5022
5048
|
}
|
|
5023
5049
|
function ac(e, a, n) {
|
|
5024
|
-
if (Array.isArray(e))
|
|
5050
|
+
if (Array.isArray(e))
|
|
5051
|
+
return e.splice(a, 0, n);
|
|
5025
5052
|
}
|
|
5026
5053
|
function nc(e) {
|
|
5027
5054
|
return typeof e > "u";
|
|
@@ -5114,14 +5141,16 @@ function ua() {
|
|
|
5114
5141
|
}, ua.apply(this, arguments);
|
|
5115
5142
|
}
|
|
5116
5143
|
function cc(e, a) {
|
|
5117
|
-
if (e == null)
|
|
5144
|
+
if (e == null)
|
|
5145
|
+
return {};
|
|
5118
5146
|
var n = {}, t = Object.keys(e), o, l;
|
|
5119
5147
|
for (l = 0; l < t.length; l++)
|
|
5120
5148
|
o = t[l], !(a.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
5121
5149
|
return n;
|
|
5122
5150
|
}
|
|
5123
5151
|
function fc(e, a) {
|
|
5124
|
-
if (e == null)
|
|
5152
|
+
if (e == null)
|
|
5153
|
+
return {};
|
|
5125
5154
|
var n = cc(e, a), t, o;
|
|
5126
5155
|
if (Object.getOwnPropertySymbols) {
|
|
5127
5156
|
var l = Object.getOwnPropertySymbols(e);
|
|
@@ -5149,9 +5178,12 @@ function Un(e, a) {
|
|
|
5149
5178
|
if (a) {
|
|
5150
5179
|
if (a[0] === ">" && (a = a.substring(1)), e)
|
|
5151
5180
|
try {
|
|
5152
|
-
if (e.matches)
|
|
5153
|
-
|
|
5154
|
-
if (e.
|
|
5181
|
+
if (e.matches)
|
|
5182
|
+
return e.matches(a);
|
|
5183
|
+
if (e.msMatchesSelector)
|
|
5184
|
+
return e.msMatchesSelector(a);
|
|
5185
|
+
if (e.webkitMatchesSelector)
|
|
5186
|
+
return e.webkitMatchesSelector(a);
|
|
5155
5187
|
} catch {
|
|
5156
5188
|
return !1;
|
|
5157
5189
|
}
|
|
@@ -5167,7 +5199,8 @@ function Jt(e, a, n, t) {
|
|
|
5167
5199
|
do {
|
|
5168
5200
|
if (a != null && (a[0] === ">" ? e.parentNode === n && Un(e, a) : Un(e, a)) || t && e === n)
|
|
5169
5201
|
return e;
|
|
5170
|
-
if (e === n)
|
|
5202
|
+
if (e === n)
|
|
5203
|
+
break;
|
|
5171
5204
|
} while (e = hc(e));
|
|
5172
5205
|
}
|
|
5173
5206
|
return null;
|
|
@@ -5175,7 +5208,8 @@ function Jt(e, a, n, t) {
|
|
|
5175
5208
|
var Fl = /\s+/g;
|
|
5176
5209
|
function Mt(e, a, n) {
|
|
5177
5210
|
if (e && a)
|
|
5178
|
-
if (e.classList)
|
|
5211
|
+
if (e.classList)
|
|
5212
|
+
e.classList[n ? "add" : "remove"](a);
|
|
5179
5213
|
else {
|
|
5180
5214
|
var t = (" " + e.className + " ").replace(Fl, " ").replace(" " + a + " ", " ");
|
|
5181
5215
|
e.className = (t + (n ? " " + a : "")).replace(Fl, " ");
|
|
@@ -5191,7 +5225,8 @@ function Ee(e, a, n) {
|
|
|
5191
5225
|
}
|
|
5192
5226
|
function Pa(e, a) {
|
|
5193
5227
|
var n = "";
|
|
5194
|
-
if (typeof e == "string")
|
|
5228
|
+
if (typeof e == "string")
|
|
5229
|
+
n = e;
|
|
5195
5230
|
else
|
|
5196
5231
|
do {
|
|
5197
5232
|
var t = Ee(e, "transform");
|
|
@@ -5203,7 +5238,9 @@ function Pa(e, a) {
|
|
|
5203
5238
|
function Mi(e, a, n) {
|
|
5204
5239
|
if (e) {
|
|
5205
5240
|
var t = e.getElementsByTagName(a), o = 0, l = t.length;
|
|
5206
|
-
if (n)
|
|
5241
|
+
if (n)
|
|
5242
|
+
for (; o < l; o++)
|
|
5243
|
+
n(t[o], o);
|
|
5207
5244
|
return t;
|
|
5208
5245
|
}
|
|
5209
5246
|
return [];
|
|
@@ -5246,7 +5283,8 @@ function jl(e, a, n) {
|
|
|
5246
5283
|
var l = mt(t)[n], i = void 0;
|
|
5247
5284
|
if (i = o >= l, !i)
|
|
5248
5285
|
return t;
|
|
5249
|
-
if (t === ea())
|
|
5286
|
+
if (t === ea())
|
|
5287
|
+
break;
|
|
5250
5288
|
t = pa(t, !1);
|
|
5251
5289
|
}
|
|
5252
5290
|
return !1;
|
|
@@ -5254,7 +5292,8 @@ function jl(e, a, n) {
|
|
|
5254
5292
|
function Wa(e, a, n, t) {
|
|
5255
5293
|
for (var o = 0, l = 0, i = e.children; l < i.length; ) {
|
|
5256
5294
|
if (i[l].style.display !== "none" && i[l] !== qe.ghost && (t || i[l] !== qe.dragged) && Jt(i[l], n.draggable, e, !1)) {
|
|
5257
|
-
if (o === a)
|
|
5295
|
+
if (o === a)
|
|
5296
|
+
return i[l];
|
|
5258
5297
|
o++;
|
|
5259
5298
|
}
|
|
5260
5299
|
l++;
|
|
@@ -5268,7 +5307,8 @@ function Yo(e, a) {
|
|
|
5268
5307
|
}
|
|
5269
5308
|
function Bt(e, a) {
|
|
5270
5309
|
var n = 0;
|
|
5271
|
-
if (!e || !e.parentNode)
|
|
5310
|
+
if (!e || !e.parentNode)
|
|
5311
|
+
return -1;
|
|
5272
5312
|
for (; e = e.previousElementSibling; )
|
|
5273
5313
|
e.nodeName.toUpperCase() !== "TEMPLATE" && e !== qe.clone && (!a || Un(e, a)) && n++;
|
|
5274
5314
|
return n;
|
|
@@ -5286,19 +5326,23 @@ function gc(e, a) {
|
|
|
5286
5326
|
for (var n in e)
|
|
5287
5327
|
if (e.hasOwnProperty(n)) {
|
|
5288
5328
|
for (var t in a)
|
|
5289
|
-
if (a.hasOwnProperty(t) && a[t] === e[n][t])
|
|
5329
|
+
if (a.hasOwnProperty(t) && a[t] === e[n][t])
|
|
5330
|
+
return Number(n);
|
|
5290
5331
|
}
|
|
5291
5332
|
return -1;
|
|
5292
5333
|
}
|
|
5293
5334
|
function pa(e, a) {
|
|
5294
|
-
if (!e || !e.getBoundingClientRect)
|
|
5335
|
+
if (!e || !e.getBoundingClientRect)
|
|
5336
|
+
return ea();
|
|
5295
5337
|
var n = e, t = !1;
|
|
5296
5338
|
do
|
|
5297
5339
|
if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
|
|
5298
5340
|
var o = Ee(n);
|
|
5299
5341
|
if (n.clientWidth < n.scrollWidth && (o.overflowX == "auto" || o.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (o.overflowY == "auto" || o.overflowY == "scroll")) {
|
|
5300
|
-
if (!n.getBoundingClientRect || n === document.body)
|
|
5301
|
-
|
|
5342
|
+
if (!n.getBoundingClientRect || n === document.body)
|
|
5343
|
+
return ea();
|
|
5344
|
+
if (t || a)
|
|
5345
|
+
return n;
|
|
5302
5346
|
t = !0;
|
|
5303
5347
|
}
|
|
5304
5348
|
}
|
|
@@ -5306,7 +5350,9 @@ function pa(e, a) {
|
|
|
5306
5350
|
return ea();
|
|
5307
5351
|
}
|
|
5308
5352
|
function vc(e, a) {
|
|
5309
|
-
if (e && a)
|
|
5353
|
+
if (e && a)
|
|
5354
|
+
for (var n in a)
|
|
5355
|
+
a.hasOwnProperty(n) && (e[n] = a[n]);
|
|
5310
5356
|
return e;
|
|
5311
5357
|
}
|
|
5312
5358
|
function io(e, a) {
|
|
@@ -5409,7 +5455,8 @@ var Ma = [], ro = {
|
|
|
5409
5455
|
initializeByDefault: !0
|
|
5410
5456
|
}, _n = {
|
|
5411
5457
|
mount: function(e) {
|
|
5412
|
-
for (var a in ro)
|
|
5458
|
+
for (var a in ro)
|
|
5459
|
+
ro.hasOwnProperty(a) && !(a in e) && (e[a] = ro[a]);
|
|
5413
5460
|
Ma.forEach(function(n) {
|
|
5414
5461
|
if (n.pluginName === e.pluginName)
|
|
5415
5462
|
throw "Sortable: Cannot mount plugin ".concat(
|
|
@@ -5478,7 +5525,8 @@ function wc(e) {
|
|
|
5478
5525
|
cancelable: !0
|
|
5479
5526
|
}) : (v = document.createEvent("Event"), v.initEvent(t, !0, !0)), v.to = i || n, v.from = s || n, v.item = o || n, v.clone = l, v.oldIndex = r, v.newIndex = d, v.oldDraggableIndex = u, v.newDraggableIndex = c, v.originalEvent = f, v.pullMode = m ? m.lastPutMode : void 0;
|
|
5480
5527
|
var S = ta(ta({}, p), _n.getEventProperties(t, a));
|
|
5481
|
-
for (var _ in S)
|
|
5528
|
+
for (var _ in S)
|
|
5529
|
+
v[_] = S[_];
|
|
5482
5530
|
n && n.dispatchEvent(v), C[g] && C[g].call(a, v);
|
|
5483
5531
|
}
|
|
5484
5532
|
}
|
|
@@ -5544,7 +5592,8 @@ function $t(e) {
|
|
|
5544
5592
|
}
|
|
5545
5593
|
var de, st, je, ot, ka, qn, rt, ga, Ba, At, ln, ha, Cn, St, La = !1, Wn = !1, Kn = [], xa, Ut, so, uo, Pl, zl, Za, Aa, rn, sn = !1, xn = !1, On, It, co = [], Oo = !1, Xn = [], to = typeof document < "u", In = Oi, Hl = yn || ca ? "cssFloat" : "float", Dc = to && !Vi && !Oi && "draggable" in document.createElement("div"), Bi = function() {
|
|
5546
5594
|
if (to) {
|
|
5547
|
-
if (ca)
|
|
5595
|
+
if (ca)
|
|
5596
|
+
return !1;
|
|
5548
5597
|
var e = document.createElement("x");
|
|
5549
5598
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
5550
5599
|
}
|
|
@@ -5568,17 +5617,22 @@ var de, st, je, ot, ka, qn, rt, ga, Ba, At, ln, ha, Cn, St, La = !1, Wn = !1, Kn
|
|
|
5568
5617
|
var o = t[Ft].options.emptyInsertThreshold;
|
|
5569
5618
|
if (!(!o || Yo(t))) {
|
|
5570
5619
|
var l = mt(t), i = e >= l.left - o && e <= l.right + o, s = a >= l.top - o && a <= l.bottom + o;
|
|
5571
|
-
if (i && s)
|
|
5620
|
+
if (i && s)
|
|
5621
|
+
return n = t;
|
|
5572
5622
|
}
|
|
5573
5623
|
}), n;
|
|
5574
5624
|
}, zi = function(e) {
|
|
5575
5625
|
function a(o, l) {
|
|
5576
5626
|
return function(i, s, r, d) {
|
|
5577
5627
|
var u = i.options.group.name && s.options.group.name && i.options.group.name === s.options.group.name;
|
|
5578
|
-
if (o == null && (l || u))
|
|
5579
|
-
|
|
5580
|
-
if (
|
|
5581
|
-
|
|
5628
|
+
if (o == null && (l || u))
|
|
5629
|
+
return !0;
|
|
5630
|
+
if (o == null || o === !1)
|
|
5631
|
+
return !1;
|
|
5632
|
+
if (l && o === "clone")
|
|
5633
|
+
return o;
|
|
5634
|
+
if (typeof o == "function")
|
|
5635
|
+
return a(o(i, s, r, d), l)(i, s, r, d);
|
|
5582
5636
|
var c = (l ? i : s).options.group.name;
|
|
5583
5637
|
return o === !0 || typeof o == "string" && o === c || o.join && o.indexOf(c) > -1;
|
|
5584
5638
|
};
|
|
@@ -5606,7 +5660,8 @@ var Ia = function(e) {
|
|
|
5606
5660
|
var a = xc(e.clientX, e.clientY);
|
|
5607
5661
|
if (a) {
|
|
5608
5662
|
var n = {};
|
|
5609
|
-
for (var t in e)
|
|
5663
|
+
for (var t in e)
|
|
5664
|
+
e.hasOwnProperty(t) && (n[t] = e[t]);
|
|
5610
5665
|
n.target = n.rootEl = a, n.preventDefault = void 0, n.stopPropagation = void 0, a[Ft]._onDragOver(n);
|
|
5611
5666
|
}
|
|
5612
5667
|
}
|
|
@@ -5668,7 +5723,8 @@ function qe(e, a) {
|
|
|
5668
5723
|
emptyInsertThreshold: 5
|
|
5669
5724
|
};
|
|
5670
5725
|
_n.initializePlugins(this, e, n);
|
|
5671
|
-
for (var t in n)
|
|
5726
|
+
for (var t in n)
|
|
5727
|
+
!(t in a) && (a[t] = n[t]);
|
|
5672
5728
|
zi(a);
|
|
5673
5729
|
for (var o in this)
|
|
5674
5730
|
o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
|
|
@@ -5751,7 +5807,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
5751
5807
|
return;
|
|
5752
5808
|
}
|
|
5753
5809
|
Ye(i, "mouseup", t._disableDelayedDrag), Ye(i, "touchend", t._disableDelayedDrag), Ye(i, "touchcancel", t._disableDelayedDrag), Ye(i, "mousemove", t._delayedDragTouchMoveHandler), Ye(i, "touchmove", t._delayedDragTouchMoveHandler), l.supportPointer && Ye(i, "pointermove", t._delayedDragTouchMoveHandler), t._dragStartTimer = setTimeout(s, l.delay);
|
|
5754
|
-
} else
|
|
5810
|
+
} else
|
|
5811
|
+
s();
|
|
5755
5812
|
}
|
|
5756
5813
|
},
|
|
5757
5814
|
_delayedDragTouchMoveHandler: function(e) {
|
|
@@ -5790,7 +5847,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
5790
5847
|
name: "start",
|
|
5791
5848
|
originalEvent: a
|
|
5792
5849
|
});
|
|
5793
|
-
} else
|
|
5850
|
+
} else
|
|
5851
|
+
this._nulling();
|
|
5794
5852
|
},
|
|
5795
5853
|
_emulateDragOver: function() {
|
|
5796
5854
|
if (Ut) {
|
|
@@ -5873,7 +5931,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
5873
5931
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
5874
5932
|
_onDragOver: function(e) {
|
|
5875
5933
|
var a = this.el, n = e.target, t, o, l, i = this.options, s = i.group, r = qe.active, d = Cn === s, u = i.sort, c = St || r, f, m = this, p = !1;
|
|
5876
|
-
if (Oo)
|
|
5934
|
+
if (Oo)
|
|
5935
|
+
return;
|
|
5877
5936
|
function v(K, le) {
|
|
5878
5937
|
qt(
|
|
5879
5938
|
K,
|
|
@@ -5930,12 +5989,14 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
5930
5989
|
return st = ot, C(), this._hideClone(), v("revert"), qe.eventCanceled || (ka ? ot.insertBefore(de, ka) : ot.appendChild(de)), g(!0);
|
|
5931
5990
|
var _ = Yo(a, i.draggable);
|
|
5932
5991
|
if (!_ || Rc(e, f, this) && !_.animated) {
|
|
5933
|
-
if (_ === de)
|
|
5992
|
+
if (_ === de)
|
|
5993
|
+
return g(!1);
|
|
5934
5994
|
if (_ && a === e.target && (n = _), n && (o = mt(n)), kn(ot, a, de, t, n, o, e, !!n) !== !1)
|
|
5935
5995
|
return C(), _ && _.nextSibling ? a.insertBefore(de, _.nextSibling) : a.appendChild(de), st = a, S(), g(!0);
|
|
5936
5996
|
} else if (_ && $c(e, f, this)) {
|
|
5937
5997
|
var I = Wa(a, 0, i, !0);
|
|
5938
|
-
if (I === de)
|
|
5998
|
+
if (I === de)
|
|
5999
|
+
return g(!1);
|
|
5939
6000
|
if (n = I, o = mt(n), kn(ot, a, de, t, n, o, e, !1) !== !1)
|
|
5940
6001
|
return C(), a.insertBefore(de, I), st = a, S(), g(!0);
|
|
5941
6002
|
} else if (n.parentNode === a) {
|
|
@@ -5962,7 +6023,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
5962
6023
|
$ -= T, x = st.children[$];
|
|
5963
6024
|
while (x && (Ee(x, "display") === "none" || x === je));
|
|
5964
6025
|
}
|
|
5965
|
-
if (T === 0 || x === n)
|
|
6026
|
+
if (T === 0 || x === n)
|
|
6027
|
+
return g(!1);
|
|
5966
6028
|
Aa = n, rn = T;
|
|
5967
6029
|
var V = n.nextElementSibling, R = !1;
|
|
5968
6030
|
R = T === 1;
|
|
@@ -5970,7 +6032,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
5970
6032
|
if (P !== !1)
|
|
5971
6033
|
return (P === 1 || P === -1) && (R = P === 1), Oo = !0, setTimeout(Ec, 30), C(), R && !V ? a.appendChild(de) : n.parentNode.insertBefore(de, R ? V : n), D && Fi(D, 0, k - D.scrollTop), st = de.parentNode, w !== void 0 && !xn && (On = Math.abs(w - mt(n)[O])), S(), g(!0);
|
|
5972
6034
|
}
|
|
5973
|
-
if (a.contains(de))
|
|
6035
|
+
if (a.contains(de))
|
|
6036
|
+
return g(!1);
|
|
5974
6037
|
}
|
|
5975
6038
|
return !1;
|
|
5976
6039
|
},
|
|
@@ -6102,7 +6165,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
6102
6165
|
*/
|
|
6103
6166
|
option: function(e, a) {
|
|
6104
6167
|
var n = this.options;
|
|
6105
|
-
if (a === void 0)
|
|
6168
|
+
if (a === void 0)
|
|
6169
|
+
return n[e];
|
|
6106
6170
|
var t = _n.modifyOption(this, e, a);
|
|
6107
6171
|
typeof t < "u" ? n[e] = t : n[e] = a, e === "group" && zi(n);
|
|
6108
6172
|
},
|
|
@@ -6121,7 +6185,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
6121
6185
|
},
|
|
6122
6186
|
_hideClone: function() {
|
|
6123
6187
|
if (!ga) {
|
|
6124
|
-
if (qt("hideClone", this), qe.eventCanceled)
|
|
6188
|
+
if (qt("hideClone", this), qe.eventCanceled)
|
|
6189
|
+
return;
|
|
6125
6190
|
Ee(rt, "display", "none"), this.options.removeCloneOnHide && rt.parentNode && rt.parentNode.removeChild(rt), ga = !0;
|
|
6126
6191
|
}
|
|
6127
6192
|
},
|
|
@@ -6131,7 +6196,8 @@ qe.prototype = /** @lends Sortable.prototype */
|
|
|
6131
6196
|
return;
|
|
6132
6197
|
}
|
|
6133
6198
|
if (ga) {
|
|
6134
|
-
if (qt("showClone", this), qe.eventCanceled)
|
|
6199
|
+
if (qt("showClone", this), qe.eventCanceled)
|
|
6200
|
+
return;
|
|
6135
6201
|
de.parentNode == ot && !this.options.group.revertClone ? ot.insertBefore(rt, de) : ka ? ot.insertBefore(rt, ka) : ot.appendChild(rt), this.options.group.revertClone && this.animate(de, rt), Ee(rt, "display", ""), ga = !1;
|
|
6136
6202
|
}
|
|
6137
6203
|
}
|
|
@@ -6166,7 +6232,8 @@ function Tc(e, a, n, t, o, l, i, s) {
|
|
|
6166
6232
|
if (s && On < d * o) {
|
|
6167
6233
|
if (!sn && (rn === 1 ? r > u + d * l / 2 : r < c - d * l / 2) && (sn = !0), sn)
|
|
6168
6234
|
f = !0;
|
|
6169
|
-
else if (rn === 1 ? r < u + On : r > c - On)
|
|
6235
|
+
else if (rn === 1 ? r < u + On : r > c - On)
|
|
6236
|
+
return -rn;
|
|
6170
6237
|
} else if (r > u + d * (1 - o) / 2 && r < c - d * (1 - o) / 2)
|
|
6171
6238
|
return qc(a);
|
|
6172
6239
|
}
|
|
@@ -6303,7 +6370,9 @@ var go = Li(function(e, a, n, t) {
|
|
|
6303
6370
|
var m = f, p = mt(m), v = p.top, C = p.bottom, g = p.left, S = p.right, _ = p.width, I = p.height, T = void 0, w = void 0, y = m.scrollWidth, q = m.scrollHeight, O = Ee(m), D = m.scrollLeft, k = m.scrollTop;
|
|
6304
6371
|
m === r ? (T = _ < y && (O.overflowX === "auto" || O.overflowX === "scroll" || O.overflowX === "visible"), w = I < q && (O.overflowY === "auto" || O.overflowY === "scroll" || O.overflowY === "visible")) : (T = _ < y && (O.overflowX === "auto" || O.overflowX === "scroll"), w = I < q && (O.overflowY === "auto" || O.overflowY === "scroll"));
|
|
6305
6372
|
var x = T && (Math.abs(S - o) <= i && D + _ < y) - (Math.abs(g - o) <= i && !!D), $ = w && (Math.abs(C - l) <= i && k + I < q) - (Math.abs(v - l) <= i && !!k);
|
|
6306
|
-
if (!ft[c])
|
|
6373
|
+
if (!ft[c])
|
|
6374
|
+
for (var V = 0; V <= c; V++)
|
|
6375
|
+
ft[V] || (ft[V] = {});
|
|
6307
6376
|
(ft[c].vx != x || ft[c].vy != $ || ft[c].el !== m) && (ft[c].el = m, ft[c].vx = x, ft[c].vy = $, clearInterval(ft[c].pid), (x != 0 || $ != 0) && (d = !0, ft[c].pid = setInterval(
|
|
6308
6377
|
(function() {
|
|
6309
6378
|
t && this.layer === 0 && qe.active._onTouchMove(Gn);
|
|
@@ -6791,7 +6860,8 @@ const Ao = [
|
|
|
6791
6860
|
function S() {
|
|
6792
6861
|
typeof r.getReportBaseConfig == "function" && (s.value = !0, r.getReportBaseConfig().then((w) => {
|
|
6793
6862
|
var q, O, D;
|
|
6794
|
-
if (!w)
|
|
6863
|
+
if (!w)
|
|
6864
|
+
return;
|
|
6795
6865
|
w.tables.forEach((k) => {
|
|
6796
6866
|
c._color[k.id] = "#000", c._stripe[k.id] = k.baseData.stripe ?? !0, c._border[k.id] = k.baseData.border ?? "full";
|
|
6797
6867
|
});
|
|
@@ -7099,11 +7169,13 @@ function uf(e, a, n, t) {
|
|
|
7099
7169
|
const re = J[V];
|
|
7100
7170
|
!((ne = re == null ? void 0 : re.editRender) != null && ne.enabled) && $ < 1 && (V++, V > J.length - 1 && ($++, V = 0), P(J));
|
|
7101
7171
|
};
|
|
7102
|
-
if ((W = (ee = x.column) == null ? void 0 : ee.editRender) != null && W.enabled)
|
|
7172
|
+
if ((W = (ee = x.column) == null ? void 0 : ee.editRender) != null && W.enabled)
|
|
7173
|
+
return;
|
|
7103
7174
|
const { visibleColumn: K } = x.$table.getTableColumn();
|
|
7104
7175
|
P(K);
|
|
7105
7176
|
const le = (te = K[V]) == null ? void 0 : te.field;
|
|
7106
|
-
if (!le || b.isEqual(u, { rowIndex: R, columnField: le }))
|
|
7177
|
+
if (!le || b.isEqual(u, { rowIndex: R, columnField: le }))
|
|
7178
|
+
return;
|
|
7107
7179
|
const { scrollLeft: z = 0, scrollTop: M = 0 } = ((A = x.$table) == null ? void 0 : A.getScroll()) || {};
|
|
7108
7180
|
(X = x.$table) == null || X.setEditCell(x.row, le).then(() => {
|
|
7109
7181
|
var ye, ge, Se;
|
|
@@ -7979,7 +8051,8 @@ const _f = { class: "sort-form-wraper" }, wf = { class: "sort-form-wraper__conte
|
|
|
7979
8051
|
function C() {
|
|
7980
8052
|
typeof a.getReportBaseConfig == "function" && a.getReportBaseConfig().then((_) => {
|
|
7981
8053
|
var T, w;
|
|
7982
|
-
if (!_)
|
|
8054
|
+
if (!_)
|
|
8055
|
+
return;
|
|
7983
8056
|
const I = (w = (T = _.form) == null ? void 0 : T.formConfig) == null ? void 0 : w.reduce(
|
|
7984
8057
|
(y, q) => (y[q.data.baseData.prop] = {
|
|
7985
8058
|
el: q.data.baseData.el,
|
|
@@ -8354,7 +8427,8 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8354
8427
|
t("keydown", { $event: M, $table: W, $api: te, type: A });
|
|
8355
8428
|
}
|
|
8356
8429
|
function S(M) {
|
|
8357
|
-
if (M.type !== "table")
|
|
8430
|
+
if (M.type !== "table")
|
|
8431
|
+
return;
|
|
8358
8432
|
M.$event.preventDefault();
|
|
8359
8433
|
const { visibleColumn: ee } = f.getApi().getTableColumn(), W = f.getActiveTab();
|
|
8360
8434
|
Me.columnIndex[W] || b.set(Me, `columnIndex.${W}`, 0), Me.columnIndex[W]++, Me.columnIndex[W] > ee.length - 1 && b.set(Me, `columnIndex.${W}`, 0);
|
|
@@ -8362,7 +8436,8 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8362
8436
|
return u = 0, $(ee), te !== Me.rowIndex[W] ? (Me.rowIndex[W] || b.set(Me, `rowIndex.${W}`, 0), Me.rowIndex[W]--, w(M)) : V();
|
|
8363
8437
|
}
|
|
8364
8438
|
function _({ $event: M, $api: ee, type: W }) {
|
|
8365
|
-
if (W !== "table")
|
|
8439
|
+
if (W !== "table")
|
|
8440
|
+
return;
|
|
8366
8441
|
M.preventDefault();
|
|
8367
8442
|
const A = e.data.tables.find((X) => X.id === (ee == null ? void 0 : ee.getActiveTab())).baseData.table_page_data;
|
|
8368
8443
|
return A.currentPage < A.pagerCount ? (A.currentPage++, n({
|
|
@@ -8374,7 +8449,8 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8374
8449
|
})) : Le();
|
|
8375
8450
|
}
|
|
8376
8451
|
function I({ $event: M, $api: ee, type: W }) {
|
|
8377
|
-
if (W !== "table")
|
|
8452
|
+
if (W !== "table")
|
|
8453
|
+
return;
|
|
8378
8454
|
M.preventDefault();
|
|
8379
8455
|
const A = e.data.tables.find((X) => X.id === (ee == null ? void 0 : ee.getActiveTab())).baseData.table_page_data;
|
|
8380
8456
|
return A.currentPage > 1 ? (A.currentPage--, n({
|
|
@@ -8387,7 +8463,8 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8387
8463
|
}
|
|
8388
8464
|
function T(M) {
|
|
8389
8465
|
var W, te, A, X;
|
|
8390
|
-
if (M.type !== "table")
|
|
8466
|
+
if (M.type !== "table")
|
|
8467
|
+
return;
|
|
8391
8468
|
M.$event.preventDefault();
|
|
8392
8469
|
const ee = f.getActiveTab();
|
|
8393
8470
|
if (Me.rowIndex[ee] || b.set(Me, `rowIndex.${ee}`, 0), Me.rowIndex[ee]--, Me.rowIndex[ee] < 0) {
|
|
@@ -8402,13 +8479,15 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8402
8479
|
return V();
|
|
8403
8480
|
}
|
|
8404
8481
|
function w({ $event: M, $table: ee, type: W }) {
|
|
8405
|
-
if (W !== "table")
|
|
8482
|
+
if (W !== "table")
|
|
8483
|
+
return;
|
|
8406
8484
|
M.preventDefault();
|
|
8407
8485
|
const te = f.getActiveTab(), A = ee.getData();
|
|
8408
8486
|
return Me.rowIndex[te] || b.set(Me, `rowIndex.${te}`, 0), Me.rowIndex[te]++, Me.rowIndex[te] > A.length - 1 && b.set(Me, `rowIndex.${te}`, 0), V();
|
|
8409
8487
|
}
|
|
8410
8488
|
function y(M, ee) {
|
|
8411
|
-
if (M.type !== "table")
|
|
8489
|
+
if (M.type !== "table")
|
|
8490
|
+
return;
|
|
8412
8491
|
let { data: W, uniqId: te } = f.getCheckboxRow();
|
|
8413
8492
|
const A = M.$table.getCurrentRecord(), X = W.some((re) => re[te] === A[te]);
|
|
8414
8493
|
if (X) {
|
|
@@ -8420,7 +8499,8 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8420
8499
|
}
|
|
8421
8500
|
function q(M) {
|
|
8422
8501
|
var J, re;
|
|
8423
|
-
if (M.type !== "query")
|
|
8502
|
+
if (M.type !== "query")
|
|
8503
|
+
return;
|
|
8424
8504
|
M.$event.preventDefault();
|
|
8425
8505
|
const ee = document.activeElement, W = (J = Te(a)) == null ? void 0 : J.getComponents(), te = W.length - 1;
|
|
8426
8506
|
let A = W.findIndex((ne) => (ne != null && ne.activeElement && (ne = ne.activeElement()), ne == ee)), X = A < 0 ? -1 : A;
|
|
@@ -8428,14 +8508,16 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8428
8508
|
}
|
|
8429
8509
|
function O(M) {
|
|
8430
8510
|
var re, ne, ye;
|
|
8431
|
-
if (M.type !== "query")
|
|
8511
|
+
if (M.type !== "query")
|
|
8512
|
+
return;
|
|
8432
8513
|
const ee = document.activeElement, { isSeelcted: W, selectionStart: te } = k(ee);
|
|
8433
8514
|
if (ee.value && W) {
|
|
8434
8515
|
const ge = ((re = ee.value) == null ? void 0 : re.length) || 0;
|
|
8435
8516
|
ee.setSelectionRange(ge, ge);
|
|
8436
8517
|
return;
|
|
8437
8518
|
}
|
|
8438
|
-
if (te !== 0)
|
|
8519
|
+
if (te !== 0)
|
|
8520
|
+
return;
|
|
8439
8521
|
M.$event.preventDefault();
|
|
8440
8522
|
const A = (ne = Te(a)) == null ? void 0 : ne.getComponents();
|
|
8441
8523
|
let X = A.findIndex((ge) => (ge != null && ge.activeElement && (ge = ge.activeElement()), ge == ee)), J = X < 0 ? A.length - 1 : X;
|
|
@@ -8443,13 +8525,15 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8443
8525
|
}
|
|
8444
8526
|
function D(M) {
|
|
8445
8527
|
var ye, ge, Se;
|
|
8446
|
-
if (M.type !== "query")
|
|
8528
|
+
if (M.type !== "query")
|
|
8529
|
+
return;
|
|
8447
8530
|
const ee = document.activeElement, { isSeelcted: W, selectionEnd: te } = k(ee), A = ((ye = ee.value) == null ? void 0 : ye.length) || 0;
|
|
8448
8531
|
if (ee.value && W) {
|
|
8449
8532
|
ee.setSelectionRange(A, A);
|
|
8450
8533
|
return;
|
|
8451
8534
|
}
|
|
8452
|
-
if (te !== A)
|
|
8535
|
+
if (te !== A)
|
|
8536
|
+
return;
|
|
8453
8537
|
M.$event.preventDefault();
|
|
8454
8538
|
const X = (ge = Te(a)) == null ? void 0 : ge.getComponents(), J = X.length - 1;
|
|
8455
8539
|
let re = X.findIndex((Fe) => (Fe != null && Fe.activeElement && (Fe = Fe.activeElement()), Fe == ee)), ne = re < 0 ? -1 : re;
|
|
@@ -8464,7 +8548,8 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8464
8548
|
};
|
|
8465
8549
|
}
|
|
8466
8550
|
function x(M) {
|
|
8467
|
-
if (M.type !== "query")
|
|
8551
|
+
if (M.type !== "query")
|
|
8552
|
+
return;
|
|
8468
8553
|
M.$event.preventDefault();
|
|
8469
8554
|
const ee = f.getActiveTab();
|
|
8470
8555
|
b.set(Me, `rowIndex.${ee}`, 0), b.set(Me, `columnIndex.${ee}`, 0);
|
|
@@ -8517,7 +8602,8 @@ function Of({ props: e, formRef: a, onPageChange: n, emit: t }) {
|
|
|
8517
8602
|
async function K(M) {
|
|
8518
8603
|
var re, ne, ye;
|
|
8519
8604
|
const { row: ee, column: W } = M.item;
|
|
8520
|
-
if (!W.field)
|
|
8605
|
+
if (!W.field)
|
|
8606
|
+
return;
|
|
8521
8607
|
const te = f == null ? void 0 : f.getApi(), A = f == null ? void 0 : f.getActiveTab(), X = ((ne = (re = f == null ? void 0 : f.getDataInstance()) == null ? void 0 : re.tables.find((ge) => ge.id == A)) == null ? void 0 : ne.tableData) || [], J = te.getRowIndex(ee);
|
|
8522
8608
|
(ye = le()) == null || ye.then((ge) => {
|
|
8523
8609
|
R(J, W.field).then(() => {
|
|
@@ -8873,7 +8959,8 @@ function Af(e, a) {
|
|
|
8873
8959
|
}, 20));
|
|
8874
8960
|
}, y = (L, j = !0) => {
|
|
8875
8961
|
const Y = Array.isArray(L) ? L : [L];
|
|
8876
|
-
if (b.isEmpty(r.value.form))
|
|
8962
|
+
if (b.isEmpty(r.value.form))
|
|
8963
|
+
return;
|
|
8877
8964
|
const ae = r.value.form.formConfig.reduce((ue, Ce) => (b.set(ue, Ce.data.baseData.prop, Ce), ue), {}), ve = b.get(xo.value, `query.${c()}`, []);
|
|
8878
8965
|
b.set(xo.value, `query.${c()}`, [.../* @__PURE__ */ new Set([...ve, ...Y])]), Y.forEach((ue) => {
|
|
8879
8966
|
const Ce = b.get(ae, ue);
|
|
@@ -9089,7 +9176,8 @@ function Af(e, a) {
|
|
|
9089
9176
|
};
|
|
9090
9177
|
}
|
|
9091
9178
|
function lt(L) {
|
|
9092
|
-
if (!L)
|
|
9179
|
+
if (!L)
|
|
9180
|
+
return Zt.error("请选择要删除的数据!");
|
|
9093
9181
|
const j = b.isString(L) ? L : b.get(L, l.value.uniqId);
|
|
9094
9182
|
Object.entries(l.value.data).forEach(([Y, ae]) => {
|
|
9095
9183
|
const ve = ae.findIndex((ue) => b.get(ue, l.value.uniqId) == j);
|
|
@@ -9124,7 +9212,8 @@ function Af(e, a) {
|
|
|
9124
9212
|
const Y = L === "-1" ? c() : L || c(), ae = (ve = r.value.tables) == null ? void 0 : ve.find((ue) => ue.id === Y);
|
|
9125
9213
|
return L == "-1" && (ae != null && ae.baseData.isSimulate || ae != null && ae.baseData.isGetCanche) ? Le().then(() => yt ? new Promise((ue) => {
|
|
9126
9214
|
t.on("updated-cell-value", async () => {
|
|
9127
|
-
if (yt)
|
|
9215
|
+
if (yt)
|
|
9216
|
+
return;
|
|
9128
9217
|
const Ce = await ht(
|
|
9129
9218
|
{
|
|
9130
9219
|
mid: r.value.mid,
|
|
@@ -9882,7 +9971,8 @@ const Wf = ["id"], Kf = ["onClick"], Xf = /* @__PURE__ */ be({
|
|
|
9882
9971
|
b.isEmpty(_) || c(_);
|
|
9883
9972
|
return;
|
|
9884
9973
|
}
|
|
9885
|
-
if (!l.url)
|
|
9974
|
+
if (!l.url)
|
|
9975
|
+
return;
|
|
9886
9976
|
const g = l.params ? new Function("return " + l.params)() : {};
|
|
9887
9977
|
return Object.assign(g, C), u(l.url, g);
|
|
9888
9978
|
}
|
|
@@ -10071,7 +10161,8 @@ const Wf = ["id"], Kf = ["onClick"], Xf = /* @__PURE__ */ be({
|
|
|
10071
10161
|
return me;
|
|
10072
10162
|
}
|
|
10073
10163
|
async function K(se, me) {
|
|
10074
|
-
if (!t.showCheckbox)
|
|
10164
|
+
if (!t.showCheckbox)
|
|
10165
|
+
return;
|
|
10075
10166
|
const { value: De, children: fe } = s.props;
|
|
10076
10167
|
if (_.currentNodeKey = se[De], t.multiple)
|
|
10077
10168
|
g.value = me.checkedNodes.map((oe) => b.omit(oe, fe));
|
|
@@ -10086,7 +10177,8 @@ const Wf = ["id"], Kf = ["onClick"], Xf = /* @__PURE__ */ be({
|
|
|
10086
10177
|
}
|
|
10087
10178
|
async function le(se) {
|
|
10088
10179
|
var fe;
|
|
10089
|
-
if (t.showCheckbox)
|
|
10180
|
+
if (t.showCheckbox)
|
|
10181
|
+
return;
|
|
10090
10182
|
const { value: me, children: De } = s.props;
|
|
10091
10183
|
_.currentNodeKey = se[me], g.value = [b.omit(se, De)], t.isString && (g.value = ((fe = g.value) == null ? void 0 : fe.map((oe) => oe[me]).toString()) || ""), o("change", g.value), o("update:modelValue", g.value), re();
|
|
10092
10184
|
}
|
|
@@ -10313,7 +10405,8 @@ const Wf = ["id"], Kf = ["onClick"], Xf = /* @__PURE__ */ be({
|
|
|
10313
10405
|
b.isEmpty(g) || (r.value = g, typeof (i == null ? void 0 : i.setOptionMap) == "function" && (i == null || i.setOptionMap(t.field, g)), typeof (l == null ? void 0 : l.setOptions) == "function" && (l == null || l.setOptions(t.field, r.value)));
|
|
10314
10406
|
return;
|
|
10315
10407
|
}
|
|
10316
|
-
if (!t.url)
|
|
10408
|
+
if (!t.url)
|
|
10409
|
+
return;
|
|
10317
10410
|
const v = t.params ? new Function("return " + t.params)() : {};
|
|
10318
10411
|
return Object.assign(v, p), u(t.url, v);
|
|
10319
10412
|
}
|
|
@@ -10496,7 +10589,8 @@ function Xi(e, a, n) {
|
|
|
10496
10589
|
if (!r || !r["__QObject*__"] || r.id === void 0)
|
|
10497
10590
|
return r;
|
|
10498
10591
|
let d = r.id;
|
|
10499
|
-
if (n.objects[d])
|
|
10592
|
+
if (n.objects[d])
|
|
10593
|
+
return n.objects[d];
|
|
10500
10594
|
if (!r.data) {
|
|
10501
10595
|
console.error("Cannot unwrap unknown QObject " + d + " without data.");
|
|
10502
10596
|
return;
|
|
@@ -10672,7 +10766,8 @@ const rm = { class: "w-[800px] flex flex-col" }, sm = { class: "flex justify-cen
|
|
|
10672
10766
|
f = f.substr(14);
|
|
10673
10767
|
let m = document.getElementById("resolutionList");
|
|
10674
10768
|
m.add(new Option(f)), m.options.length > 1 && (m.selectedIndex = 1);
|
|
10675
|
-
} else
|
|
10769
|
+
} else
|
|
10770
|
+
f.indexOf("savePhoto_success:") >= 0;
|
|
10676
10771
|
}), l.send_priPhotoData.connect((f) => {
|
|
10677
10772
|
let m = "data:image/jpg;base64," + f;
|
|
10678
10773
|
l.get_actionType("closePriVideo");
|
|
@@ -13219,7 +13314,8 @@ function vn(e) {
|
|
|
13219
13314
|
}, vn(e);
|
|
13220
13315
|
}
|
|
13221
13316
|
function og(e, a) {
|
|
13222
|
-
if (!(e instanceof a))
|
|
13317
|
+
if (!(e instanceof a))
|
|
13318
|
+
throw new TypeError("Cannot call a class as a function");
|
|
13223
13319
|
}
|
|
13224
13320
|
function lg(e, a) {
|
|
13225
13321
|
for (var n = 0; n < a.length; n++) {
|
|
@@ -13235,11 +13331,13 @@ function rg(e) {
|
|
|
13235
13331
|
return vn(a) == "symbol" ? a : a + "";
|
|
13236
13332
|
}
|
|
13237
13333
|
function sg(e, a) {
|
|
13238
|
-
if (vn(e) != "object" || !e)
|
|
13334
|
+
if (vn(e) != "object" || !e)
|
|
13335
|
+
return e;
|
|
13239
13336
|
var n = e[Symbol.toPrimitive];
|
|
13240
13337
|
if (n !== void 0) {
|
|
13241
13338
|
var t = n.call(e, a);
|
|
13242
|
-
if (vn(t) != "object")
|
|
13339
|
+
if (vn(t) != "object")
|
|
13340
|
+
return t;
|
|
13243
13341
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13244
13342
|
}
|
|
13245
13343
|
return String(e);
|
|
@@ -13353,7 +13451,8 @@ var ug = /Android|iPhone|iPad|Mobile/i.test(navigator.userAgent), Ql = /* @__PUR
|
|
|
13353
13451
|
}, this.drawSmoothLine = function(o, l) {
|
|
13354
13452
|
var i = l.x - o.x, s = l.y - o.y;
|
|
13355
13453
|
if (Math.abs(i) + Math.abs(s) <= t.scale ? (l.lastX1 = l.lastX2 = o.x + i * 0.5, l.lastY1 = l.lastY2 = o.y + s * 0.5) : (l.lastX1 = o.x + i * 0.3, l.lastY1 = o.y + s * 0.3, l.lastX2 = o.x + i * 0.7, l.lastY2 = o.y + s * 0.7), l.perLineWidth = (o.lineWidth + l.lineWidth) / 2, typeof o.lastX1 == "number") {
|
|
13356
|
-
if (t.drawCurveLine(o.lastX2, o.lastY2, o.x, o.y, l.lastX1, l.lastY1, l.perLineWidth), o.isFirstPoint || o.lastX1 === o.lastX2 && o.lastY1 === o.lastY2)
|
|
13454
|
+
if (t.drawCurveLine(o.lastX2, o.lastY2, o.x, o.y, l.lastX1, l.lastY1, l.perLineWidth), o.isFirstPoint || o.lastX1 === o.lastX2 && o.lastY1 === o.lastY2)
|
|
13455
|
+
return;
|
|
13357
13456
|
var r = t.getRadianData(o.lastX1, o.lastY1, o.lastX2, o.lastY2), d = t.getRadianPoints(r, o.lastX1, o.lastY1, o.perLineWidth / 2), u = t.getRadianPoints(r, o.lastX2, o.lastY2, l.perLineWidth / 2);
|
|
13358
13457
|
t.drawTrapezoid(d[0], u[0], u[1], d[1], l.color);
|
|
13359
13458
|
} else
|
|
@@ -14068,7 +14167,7 @@ const kg = {
|
|
|
14068
14167
|
}
|
|
14069
14168
|
},
|
|
14070
14169
|
setup(e) {
|
|
14071
|
-
const a = bl(() => import("./setting-
|
|
14170
|
+
const a = bl(() => import("./setting-C2i4nh7B.js")), n = bl(() => import("./table-dXIZiY9l.js")), t = e, o = Oe(), l = Z(!1), i = Z(), s = Sa({
|
|
14072
14171
|
querys: [],
|
|
14073
14172
|
columns: [],
|
|
14074
14173
|
indicator: [],
|