ss-component-new 1.1.205 → 1.1.206
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/{array-JF6CCAiw.cjs → array-C951I9ZR.cjs} +1 -1
- package/dist/{array-559oEJXO.js → array-DT5eMpZM.js} +7 -7
- package/dist/{cloneDeep-kffz0j_1.js → cloneDeep-BSnjcvv5.js} +1 -1
- package/dist/{cloneDeep-DgLlm_Jw.cjs → cloneDeep-Dm67A16r.cjs} +1 -1
- package/dist/{index-BWI4uVaO.js → index-9MBPFY_y.js} +7 -7
- package/dist/{index-DjnHoGb3.cjs → index-9RBep-vE.cjs} +1 -1
- package/dist/{index-D7EBAesk.js → index-B2NSkb9j.js} +90 -86
- package/dist/{index-Da2go7Uv.js → index-B54pC41M.js} +6 -6
- package/dist/{index-BHZ8bNd2.js → index-B5uYKK-r.js} +3 -3
- package/dist/{index-CL9GlVkc.cjs → index-BRXLwo6T.cjs} +1 -1
- package/dist/{index-DBaP5Lzq.cjs → index-BRmrz6hs.cjs} +1 -1
- package/dist/{index-DdcX3YIo.js → index-BS5_L6So.js} +1 -1
- package/dist/{index-mnZaFu-c.cjs → index-BY0RSTld.cjs} +1 -1
- package/dist/{index-Cku8YAjO.js → index-BgxS38-5.js} +3 -3
- package/dist/{index-BzA74Y1p.cjs → index-BhOam20Y.cjs} +1 -1
- package/dist/{index-Dq97ANpj.cjs → index-Bo4f4i3u.cjs} +1 -1
- package/dist/{index-q5Gg854X.cjs → index-BoohLrvx.cjs} +1 -1
- package/dist/{index-mNyTYmUr.js → index-BqXb4jkx.js} +5 -5
- package/dist/{index-BTM77A0p.cjs → index-BtYV9wZ1.cjs} +1 -1
- package/dist/{index-Di-GQc7_.cjs → index-Btvdv2CB.cjs} +1 -1
- package/dist/{index-CpuZnsAt.cjs → index-C79DONYl.cjs} +1 -1
- package/dist/{index-DCGTTpF2.cjs → index-C7LTVxjJ.cjs} +1 -1
- package/dist/{index-d9UDAExx.cjs → index-C8YFIcCS.cjs} +1 -1
- package/dist/{index-rEsquz6p.cjs → index-CAD75-U5.cjs} +1 -1
- package/dist/{index-D4FO3D_8.cjs → index-CDOQqVS9.cjs} +1 -1
- package/dist/{index-Br8oy8H7.js → index-CJ2vvRlp.js} +3 -3
- package/dist/{index-CmAGO9_x.js → index-COnCsnye.js} +4 -4
- package/dist/{index-Bjnr25kk.cjs → index-CPli5lGn.cjs} +2 -2
- package/dist/{index-ByzV6Koo.js → index-CU_CVgGm.js} +5 -5
- package/dist/{index-rMiaCknf.js → index-CVG4BxhU.js} +6 -6
- package/dist/{index-D8Lvkefh.cjs → index-CbKf1srR.cjs} +1 -1
- package/dist/{index-DxiqylE3.js → index-ChXx47Nd.js} +1 -1
- package/dist/{index-BWnExbkP.cjs → index-D67H_i_2.cjs} +1 -1
- package/dist/{index-38ObDEJY.cjs → index-D9LgYDJ7.cjs} +1 -1
- package/dist/{index-BbYQJXfY.js → index-D9m-yKwB.js} +7 -7
- package/dist/{index-Uy4ZULgP.js → index-DGcfdKSc.js} +6 -6
- package/dist/{index-DI1EtlEj.js → index-Dcgzhk0g.js} +11 -11
- package/dist/{index-BbCBJn_d.js → index-DfizSel-.js} +5 -5
- package/dist/{index-Sz6D3nDL.js → index-DfzxzUaD.js} +6 -6
- package/dist/{index-CI8WhwPR.js → index-DjgWFWcx.js} +1 -1
- package/dist/{index-C2PxHmUq.js → index-DtrdClhp.js} +8 -8
- package/dist/{index-Bvyk67qH.cjs → index-Dvh9OOmZ.cjs} +1 -1
- package/dist/{index-Da_uUHWz.cjs → index-FBqo5pat.cjs} +1 -1
- package/dist/{index-D7wUxg_x.cjs → index-P0iufRrZ.cjs} +1 -1
- package/dist/{index-Ctav4Baa.js → index-VZljavSJ.js} +1 -1
- package/dist/{index-1-nR6fwq.cjs → index-me3dUHxR.cjs} +1 -1
- package/dist/{index-CohpVqQ6.cjs → index-nJWX2ZAR.cjs} +1 -1
- package/dist/{index-DIororWD.js → index-tiwgrLDl.js} +1 -1
- package/dist/{index-BBpo28RV.js → index-vz7bNYGF.js} +5 -5
- package/dist/{index-D25GS4Fu.js → index-xaYo22hv.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-jGbdA3_K.cjs → index.vue_vue_type_script_setup_true_lang-BLu51RWf.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CUKF21sz.js → index.vue_vue_type_script_setup_true_lang-D5gRxTFE.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dtsi4tHS.cjs → index.vue_vue_type_script_setup_true_lang-DICDRYNs.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DvtsjpQB.js → index.vue_vue_type_script_setup_true_lang-D_Cis3-0.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_997b1786_lang-5kUSujk8.cjs → index.vue_vue_type_style_index_0_scoped_997b1786_lang-C4FBcW_5.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_997b1786_lang-2WQdUmow.js → index.vue_vue_type_style_index_0_scoped_997b1786_lang-kOZc_2yO.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_fb273504_lang-BLwmOIyf.cjs → index.vue_vue_type_style_index_0_scoped_fb273504_lang-B5jMmftD.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_fb273504_lang-CnYwrRxC.js → index.vue_vue_type_style_index_0_scoped_fb273504_lang-BGkRxRkA.js} +8 -8
- package/dist/{login-BqSU9LPd.js → login-DKhzW5Yh.js} +2 -2
- package/dist/{login-CG_skqJM.cjs → login-lrq6SlO-.cjs} +1 -1
- package/dist/{main-CJUqYuHI.cjs → main-CLXZpchu.cjs} +1 -1
- package/dist/{main-BoJ9T3Yc.js → main-CRH-nlgJ.js} +5 -5
- package/dist/{menu-CCoQanzl.js → menu-BH9-dUQM.js} +1 -1
- package/dist/{menu-C29TTYR-.cjs → menu-CjMhVMcW.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ref as L, resolveComponent as j, createBlock as H, openBlock as y, withCtx as N, createElementBlock as V, Fragment as ie, renderList as ae, createTextVNode as je, toDisplayString as we, watch as $e, renderSlot as le, createCommentVNode as J, resolveDynamicComponent as rt, createSlots as ze, mergeProps as Wt, onMounted as
|
|
1
|
+
import { ref as L, resolveComponent as j, createBlock as H, openBlock as y, withCtx as N, createElementBlock as V, Fragment as ie, renderList as ae, createTextVNode as je, toDisplayString as we, watch as $e, renderSlot as le, createCommentVNode as J, resolveDynamicComponent as rt, createSlots as ze, mergeProps as Wt, onMounted as it, normalizeProps as Cn, guardReactiveProps as xn, defineComponent as rn, nextTick as pt, createVNode as fe, normalizeStyle as ve, createElementVNode as te, unref as zt, reactive as $n, normalizeClass as Tn } from "vue";
|
|
2
2
|
import { _ as Pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { c as xt } from "./cloneDeep-
|
|
4
|
-
import { E as ln } from "./menu-
|
|
5
|
-
import kn from "./index-
|
|
6
|
-
import { _ as On } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { f as Gt } from "./index-
|
|
3
|
+
import { c as xt } from "./cloneDeep-BSnjcvv5.js";
|
|
4
|
+
import { E as ln } from "./menu-BH9-dUQM.js";
|
|
5
|
+
import kn from "./index-ChXx47Nd.js";
|
|
6
|
+
import { _ as On } from "./index.vue_vue_type_script_setup_true_lang-D_Cis3-0.js";
|
|
7
|
+
import { f as Gt } from "./index-D9m-yKwB.js";
|
|
8
8
|
function In(n) {
|
|
9
9
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
10
10
|
}
|
|
11
|
-
var
|
|
11
|
+
var gt = { exports: {} }, Mn = gt.exports, qt;
|
|
12
12
|
function An() {
|
|
13
13
|
return qt || (qt = 1, function(n, t) {
|
|
14
14
|
(function(e, o) {
|
|
@@ -156,13 +156,13 @@ function An() {
|
|
|
156
156
|
}, v.format = function(p) {
|
|
157
157
|
var S = this, b = this.$locale();
|
|
158
158
|
if (!this.isValid()) return b.invalidDate || C;
|
|
159
|
-
var M = p || "YYYY-MM-DDTHH:mm:ssZ", A = I.z(this), W = this.$H, z = this.$m, oe = this.$M, se = b.weekdays, ye = b.months, Ye = b.meridiem, Re = function(he, Oe, Je,
|
|
160
|
-
return he && (he[Oe] || he(S, M)) || Je[Oe].slice(0,
|
|
159
|
+
var M = p || "YYYY-MM-DDTHH:mm:ssZ", A = I.z(this), W = this.$H, z = this.$m, oe = this.$M, se = b.weekdays, ye = b.months, Ye = b.meridiem, Re = function(he, Oe, Je, ut) {
|
|
160
|
+
return he && (he[Oe] || he(S, M)) || Je[Oe].slice(0, ut);
|
|
161
161
|
}, qe = function(he) {
|
|
162
162
|
return I.s(W % 12 || 12, he, "0");
|
|
163
163
|
}, Ve = Ye || function(he, Oe, Je) {
|
|
164
|
-
var
|
|
165
|
-
return Je ?
|
|
164
|
+
var ut = he < 12 ? "AM" : "PM";
|
|
165
|
+
return Je ? ut.toLowerCase() : ut;
|
|
166
166
|
};
|
|
167
167
|
return M.replace(c, function(he, Oe) {
|
|
168
168
|
return Oe || function(Je) {
|
|
@@ -284,7 +284,7 @@ function An() {
|
|
|
284
284
|
return P(1e3 * E);
|
|
285
285
|
}, P.en = _[X], P.Ls = _, P.p = {}, P;
|
|
286
286
|
});
|
|
287
|
-
}(
|
|
287
|
+
}(gt)), gt.exports;
|
|
288
288
|
}
|
|
289
289
|
var Pn = An();
|
|
290
290
|
const sn = /* @__PURE__ */ In(Pn), Rn = {
|
|
@@ -583,7 +583,7 @@ const sn = /* @__PURE__ */ In(Pn), Rn = {
|
|
|
583
583
|
},
|
|
584
584
|
setup(n) {
|
|
585
585
|
const t = n;
|
|
586
|
-
return
|
|
586
|
+
return it(() => {
|
|
587
587
|
document.querySelectorAll(".el-tab-pane").forEach((o) => {
|
|
588
588
|
o.style.display = "block";
|
|
589
589
|
});
|
|
@@ -629,13 +629,13 @@ function Ce(n) {
|
|
|
629
629
|
}
|
|
630
630
|
return n;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function mt(n) {
|
|
633
633
|
"@babel/helpers - typeof";
|
|
634
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
634
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? mt = function(t) {
|
|
635
635
|
return typeof t;
|
|
636
|
-
} :
|
|
636
|
+
} : mt = function(t) {
|
|
637
637
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
638
|
-
},
|
|
638
|
+
}, mt(n);
|
|
639
639
|
}
|
|
640
640
|
function Xn(n, t, e) {
|
|
641
641
|
return t in n ? Object.defineProperty(n, t, {
|
|
@@ -677,7 +677,7 @@ function xe(n) {
|
|
|
677
677
|
if (typeof window < "u" && window.navigator)
|
|
678
678
|
return !!/* @__PURE__ */ navigator.userAgent.match(n);
|
|
679
679
|
}
|
|
680
|
-
var ke = xe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),
|
|
680
|
+
var ke = xe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), lt = xe(/Edge/i), Zt = xe(/firefox/i), et = xe(/safari/i) && !xe(/chrome/i) && !xe(/android/i), Ht = xe(/iP(ad|od|hone)/i), dn = xe(/chrome/i) && xe(/android/i), cn = {
|
|
681
681
|
capture: !1,
|
|
682
682
|
passive: !1
|
|
683
683
|
};
|
|
@@ -687,7 +687,7 @@ function Y(n, t, e) {
|
|
|
687
687
|
function B(n, t, e) {
|
|
688
688
|
n.removeEventListener(t, e, !ke && cn);
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function wt(n, t) {
|
|
691
691
|
if (t) {
|
|
692
692
|
if (t[0] === ">" && (t = t.substring(1)), n)
|
|
693
693
|
try {
|
|
@@ -710,7 +710,7 @@ function Ee(n, t, e, o) {
|
|
|
710
710
|
if (n) {
|
|
711
711
|
e = e || document;
|
|
712
712
|
do {
|
|
713
|
-
if (t != null && (t[0] === ">" ? n.parentNode === e &&
|
|
713
|
+
if (t != null && (t[0] === ">" ? n.parentNode === e && wt(n, t) : wt(n, t)) || o && n === e)
|
|
714
714
|
return n;
|
|
715
715
|
if (n === e) break;
|
|
716
716
|
} while (n = fn(n));
|
|
@@ -807,7 +807,7 @@ function Ge(n, t, e, o) {
|
|
|
807
807
|
return null;
|
|
808
808
|
}
|
|
809
809
|
function Ut(n, t) {
|
|
810
|
-
for (var e = n.lastElementChild; e && (e === k.ghost || O(e, "display") === "none" || t && !
|
|
810
|
+
for (var e = n.lastElementChild; e && (e === k.ghost || O(e, "display") === "none" || t && !wt(e, t)); )
|
|
811
811
|
e = e.previousElementSibling;
|
|
812
812
|
return e || null;
|
|
813
813
|
}
|
|
@@ -816,7 +816,7 @@ function _e(n, t) {
|
|
|
816
816
|
if (!n || !n.parentNode)
|
|
817
817
|
return -1;
|
|
818
818
|
for (; n = n.previousElementSibling; )
|
|
819
|
-
n.nodeName.toUpperCase() !== "TEMPLATE" && n !== k.clone && (!t ||
|
|
819
|
+
n.nodeName.toUpperCase() !== "TEMPLATE" && n !== k.clone && (!t || wt(n, t)) && e++;
|
|
820
820
|
return e;
|
|
821
821
|
}
|
|
822
822
|
function en(n) {
|
|
@@ -958,7 +958,7 @@ function to(n, t, e, o) {
|
|
|
958
958
|
}
|
|
959
959
|
var We = [], kt = {
|
|
960
960
|
initializeByDefault: !0
|
|
961
|
-
},
|
|
961
|
+
}, st = {
|
|
962
962
|
mount: function(t) {
|
|
963
963
|
for (var e in kt)
|
|
964
964
|
kt.hasOwnProperty(e) && !(e in t) && (t[e] = kt[e]);
|
|
@@ -1012,11 +1012,11 @@ function no(n) {
|
|
|
1012
1012
|
var t = n.sortable, e = n.rootEl, o = n.name, a = n.targetEl, r = n.cloneEl, i = n.toEl, l = n.fromEl, s = n.oldIndex, u = n.newIndex, f = n.oldDraggableIndex, d = n.newDraggableIndex, D = n.originalEvent, m = n.putSortable, h = n.extraEventProperties;
|
|
1013
1013
|
if (t = t || e && e[ge], !!t) {
|
|
1014
1014
|
var C, x = t.options, c = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
1015
|
-
window.CustomEvent && !ke && !
|
|
1015
|
+
window.CustomEvent && !ke && !lt ? C = new CustomEvent(o, {
|
|
1016
1016
|
bubbles: !0,
|
|
1017
1017
|
cancelable: !0
|
|
1018
1018
|
}) : (C = document.createEvent("Event"), C.initEvent(o, !0, !0)), C.to = i || e, C.from = l || e, C.item = a || e, C.clone = r, C.oldIndex = s, C.newIndex = u, C.oldDraggableIndex = f, C.newDraggableIndex = d, C.originalEvent = D, C.pullMode = m ? m.lastPutMode : void 0;
|
|
1019
|
-
var F = Ce(Ce({}, h),
|
|
1019
|
+
var F = Ce(Ce({}, h), st.getEventProperties(o, t));
|
|
1020
1020
|
for (var $ in F)
|
|
1021
1021
|
C[$] = F[$];
|
|
1022
1022
|
e && e.dispatchEvent(C), x[c] && x[c].call(t, C);
|
|
@@ -1024,13 +1024,13 @@ function no(n) {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
var oo = ["evt"], pe = function(t, e) {
|
|
1026
1026
|
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = o.evt, r = Gn(o, oo);
|
|
1027
|
-
|
|
1027
|
+
st.pluginEvent.bind(k)(t, e, Ce({
|
|
1028
1028
|
dragEl: g,
|
|
1029
1029
|
parentEl: Z,
|
|
1030
1030
|
ghostEl: R,
|
|
1031
1031
|
rootEl: G,
|
|
1032
1032
|
nextEl: Fe,
|
|
1033
|
-
lastDownEl:
|
|
1033
|
+
lastDownEl: vt,
|
|
1034
1034
|
cloneEl: q,
|
|
1035
1035
|
cloneHidden: Me,
|
|
1036
1036
|
dragStarted: Ze,
|
|
@@ -1070,7 +1070,7 @@ function ce(n) {
|
|
|
1070
1070
|
newDraggableIndex: Ie
|
|
1071
1071
|
}, n));
|
|
1072
1072
|
}
|
|
1073
|
-
var g, Z, R, G, Fe,
|
|
1073
|
+
var g, Z, R, G, Fe, vt, q, Me, Le, be, nt, Ie, dt, re, Ue = !1, Dt = !1, Et = [], Ne, De, Ot, It, tn, nn, Ze, He, ot, at = !1, ct = !1, bt, ue, Mt = [], Nt = !1, St = [], $t = typeof document < "u", ft = Ht, on = lt || ke ? "cssFloat" : "float", ao = $t && !dn && !Ht && "draggable" in document.createElement("div"), bn = function() {
|
|
1074
1074
|
if ($t) {
|
|
1075
1075
|
if (ke)
|
|
1076
1076
|
return !1;
|
|
@@ -1093,7 +1093,7 @@ var g, Z, R, G, Fe, mt, q, Me, Le, be, nt, Ie, ut, re, Ue = !1, wt = !1, Dt = []
|
|
|
1093
1093
|
return a === l || r === s || a + i / 2 === l + u / 2;
|
|
1094
1094
|
}, io = function(t, e) {
|
|
1095
1095
|
var o;
|
|
1096
|
-
return
|
|
1096
|
+
return Et.some(function(a) {
|
|
1097
1097
|
var r = a[ge].options.emptyInsertThreshold;
|
|
1098
1098
|
if (!(!r || Ut(a))) {
|
|
1099
1099
|
var i = ee(a), l = t >= i.left - r && t <= i.right + r, s = e >= i.top - r && e <= i.bottom + r;
|
|
@@ -1118,7 +1118,7 @@ var g, Z, R, G, Fe, mt, q, Me, Le, be, nt, Ie, ut, re, Ue = !1, wt = !1, Dt = []
|
|
|
1118
1118
|
};
|
|
1119
1119
|
}
|
|
1120
1120
|
var o = {}, a = t.group;
|
|
1121
|
-
(!a ||
|
|
1121
|
+
(!a || mt(a) != "object") && (a = {
|
|
1122
1122
|
name: a
|
|
1123
1123
|
}), o.name = a.name, o.checkPull = e(a.pull, !0), o.checkPut = e(a.put), o.revertClone = a.revertClone, t.group = o;
|
|
1124
1124
|
}, wn = function() {
|
|
@@ -1127,8 +1127,8 @@ var g, Z, R, G, Fe, mt, q, Me, Le, be, nt, Ie, ut, re, Ue = !1, wt = !1, Dt = []
|
|
|
1127
1127
|
!bn && R && O(R, "display", "");
|
|
1128
1128
|
};
|
|
1129
1129
|
$t && !dn && document.addEventListener("click", function(n) {
|
|
1130
|
-
if (
|
|
1131
|
-
return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(),
|
|
1130
|
+
if (Dt)
|
|
1131
|
+
return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Dt = !1, !1;
|
|
1132
1132
|
}, !0);
|
|
1133
1133
|
var Be = function(t) {
|
|
1134
1134
|
if (g) {
|
|
@@ -1194,13 +1194,13 @@ function k(n, t) {
|
|
|
1194
1194
|
supportPointer: k.supportPointer !== !1 && "PointerEvent" in window && (!et || Ht),
|
|
1195
1195
|
emptyInsertThreshold: 5
|
|
1196
1196
|
};
|
|
1197
|
-
|
|
1197
|
+
st.initializePlugins(this, n, e);
|
|
1198
1198
|
for (var o in e)
|
|
1199
1199
|
!(o in t) && (t[o] = e[o]);
|
|
1200
1200
|
_n(t);
|
|
1201
1201
|
for (var a in this)
|
|
1202
1202
|
a.charAt(0) === "_" && typeof this[a] == "function" && (this[a] = this[a].bind(this));
|
|
1203
|
-
this.nativeDraggable = t.forceFallback ? !1 : ao, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? Y(n, "pointerdown", this._onTapStart) : (Y(n, "mousedown", this._onTapStart), Y(n, "touchstart", this._onTapStart)), this.nativeDraggable && (Y(n, "dragover", this), Y(n, "dragenter", this)),
|
|
1203
|
+
this.nativeDraggable = t.forceFallback ? !1 : ao, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? Y(n, "pointerdown", this._onTapStart) : (Y(n, "mousedown", this._onTapStart), Y(n, "touchstart", this._onTapStart)), this.nativeDraggable && (Y(n, "dragover", this), Y(n, "dragenter", this)), Et.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Te(this, Qn());
|
|
1204
1204
|
}
|
|
1205
1205
|
k.prototype = /** @lends Sortable.prototype */
|
|
1206
1206
|
{
|
|
@@ -1214,7 +1214,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1214
1214
|
_onTapStart: function(t) {
|
|
1215
1215
|
if (t.cancelable) {
|
|
1216
1216
|
var e = this, o = this.el, a = this.options, r = a.preventOnFilter, i = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, f = a.filter;
|
|
1217
|
-
if (mo(o), !g && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || a.disabled) && !u.isContentEditable && !(!this.nativeDraggable && et && s && s.tagName.toUpperCase() === "SELECT") && (s = Ee(s, a.draggable, o, !1), !(s && s.animated) &&
|
|
1217
|
+
if (mo(o), !g && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || a.disabled) && !u.isContentEditable && !(!this.nativeDraggable && et && s && s.tagName.toUpperCase() === "SELECT") && (s = Ee(s, a.draggable, o, !1), !(s && s.animated) && vt !== s)) {
|
|
1218
1218
|
if (Le = _e(s), nt = _e(s, a.draggable), typeof f == "function") {
|
|
1219
1219
|
if (f.call(this, t, s, this)) {
|
|
1220
1220
|
ce({
|
|
@@ -1253,7 +1253,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1253
1253
|
var a = this, r = a.el, i = a.options, l = r.ownerDocument, s;
|
|
1254
1254
|
if (o && !g && o.parentNode === r) {
|
|
1255
1255
|
var u = ee(o);
|
|
1256
|
-
if (G = r, g = o, Z = g.parentNode, Fe = g.nextSibling,
|
|
1256
|
+
if (G = r, g = o, Z = g.parentNode, Fe = g.nextSibling, vt = o, dt = i.group, k.dragged = g, Ne = {
|
|
1257
1257
|
target: g,
|
|
1258
1258
|
clientX: (e || t).clientX,
|
|
1259
1259
|
clientY: (e || t).clientY
|
|
@@ -1273,7 +1273,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1273
1273
|
hn(g, f.trim(), At);
|
|
1274
1274
|
}), Y(l, "dragover", Be), Y(l, "mousemove", Be), Y(l, "touchmove", Be), i.supportPointer ? (Y(l, "pointerup", a._onDrop), !this.nativeDraggable && Y(l, "pointercancel", a._onDrop)) : (Y(l, "mouseup", a._onDrop), Y(l, "touchend", a._onDrop), Y(l, "touchcancel", a._onDrop)), Zt && this.nativeDraggable && (this.options.touchStartThreshold = 4, g.draggable = !0), pe("delayStart", this, {
|
|
1275
1275
|
evt: t
|
|
1276
|
-
}), i.delay && (!i.delayOnTouchOnly || e) && (!this.nativeDraggable || !(
|
|
1276
|
+
}), i.delay && (!i.delayOnTouchOnly || e) && (!this.nativeDraggable || !(lt || ke))) {
|
|
1277
1277
|
if (k.eventCanceled) {
|
|
1278
1278
|
this._onDrop();
|
|
1279
1279
|
return;
|
|
@@ -1297,7 +1297,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1297
1297
|
_triggerDragStart: function(t, e) {
|
|
1298
1298
|
e = e || t.pointerType == "touch" && t, !this.nativeDraggable || e ? this.options.supportPointer ? Y(document, "pointermove", this._onTouchMove) : e ? Y(document, "touchmove", this._onTouchMove) : Y(document, "mousemove", this._onTouchMove) : (Y(g, "dragend", this), Y(G, "dragstart", this._onDragStart));
|
|
1299
1299
|
try {
|
|
1300
|
-
document.selection ?
|
|
1300
|
+
document.selection ? yt(function() {
|
|
1301
1301
|
document.selection.empty();
|
|
1302
1302
|
}) : window.getSelection().removeAllRanges();
|
|
1303
1303
|
} catch {
|
|
@@ -1341,7 +1341,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1341
1341
|
},
|
|
1342
1342
|
_onTouchMove: function(t) {
|
|
1343
1343
|
if (Ne) {
|
|
1344
|
-
var e = this.options, o = e.fallbackTolerance, a = e.fallbackOffset, r = t.touches ? t.touches[0] : t, i = R && Xe(R, !0), l = R && i && i.a, s = R && i && i.d, u =
|
|
1344
|
+
var e = this.options, o = e.fallbackTolerance, a = e.fallbackOffset, r = t.touches ? t.touches[0] : t, i = R && Xe(R, !0), l = R && i && i.a, s = R && i && i.d, u = ft && ue && en(ue), f = (r.clientX - Ne.clientX + a.x) / (l || 1) + (u ? u[0] - Mt[0] : 0) / (l || 1), d = (r.clientY - Ne.clientY + a.y) / (s || 1) + (u ? u[1] - Mt[1] : 0) / (s || 1);
|
|
1345
1345
|
if (!k.active && !Ue) {
|
|
1346
1346
|
if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
|
|
1347
1347
|
return;
|
|
@@ -1364,13 +1364,13 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1364
1364
|
},
|
|
1365
1365
|
_appendGhost: function() {
|
|
1366
1366
|
if (!R) {
|
|
1367
|
-
var t = this.options.fallbackOnBody ? document.body : G, e = ee(g, !0,
|
|
1368
|
-
if (
|
|
1367
|
+
var t = this.options.fallbackOnBody ? document.body : G, e = ee(g, !0, ft, !0, t), o = this.options;
|
|
1368
|
+
if (ft) {
|
|
1369
1369
|
for (ue = t; O(ue, "position") === "static" && O(ue, "transform") === "none" && ue !== document; )
|
|
1370
1370
|
ue = ue.parentNode;
|
|
1371
1371
|
ue !== document.body && ue !== document.documentElement ? (ue === document && (ue = Se()), e.top += ue.scrollTop, e.left += ue.scrollLeft) : ue = Se(), Mt = en(ue);
|
|
1372
1372
|
}
|
|
1373
|
-
R = g.cloneNode(!0), me(R, o.ghostClass, !1), me(R, o.fallbackClass, !0), me(R, o.dragClass, !0), O(R, "transition", ""), O(R, "transform", ""), O(R, "box-sizing", "border-box"), O(R, "margin", 0), O(R, "top", e.top), O(R, "left", e.left), O(R, "width", e.width), O(R, "height", e.height), O(R, "opacity", "0.8"), O(R, "position",
|
|
1373
|
+
R = g.cloneNode(!0), me(R, o.ghostClass, !1), me(R, o.fallbackClass, !0), me(R, o.dragClass, !0), O(R, "transition", ""), O(R, "transform", ""), O(R, "box-sizing", "border-box"), O(R, "margin", 0), O(R, "top", e.top), O(R, "left", e.left), O(R, "width", e.width), O(R, "height", e.height), O(R, "opacity", "0.8"), O(R, "position", ft ? "absolute" : "fixed"), O(R, "zIndex", "100000"), O(R, "pointerEvents", "none"), k.ghost = R, t.appendChild(R), O(R, "transform-origin", tn / parseInt(R.style.width) * 100 + "% " + nn / parseInt(R.style.height) * 100 + "%");
|
|
1374
1374
|
}
|
|
1375
1375
|
},
|
|
1376
1376
|
_onDragStart: function(t, e) {
|
|
@@ -1381,16 +1381,16 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1381
1381
|
this._onDrop();
|
|
1382
1382
|
return;
|
|
1383
1383
|
}
|
|
1384
|
-
pe("setupClone", this), k.eventCanceled || (q = mn(g), q.removeAttribute("id"), q.draggable = !1, q.style["will-change"] = "", this._hideClone(), me(q, this.options.chosenClass, !1), k.clone = q), o.cloneId =
|
|
1384
|
+
pe("setupClone", this), k.eventCanceled || (q = mn(g), q.removeAttribute("id"), q.draggable = !1, q.style["will-change"] = "", this._hideClone(), me(q, this.options.chosenClass, !1), k.clone = q), o.cloneId = yt(function() {
|
|
1385
1385
|
pe("clone", o), !k.eventCanceled && (o.options.removeCloneOnHide || G.insertBefore(q, g), o._hideClone(), ce({
|
|
1386
1386
|
sortable: o,
|
|
1387
1387
|
name: "clone"
|
|
1388
1388
|
}));
|
|
1389
|
-
}), !e && me(g, r.dragClass, !0), e ? (
|
|
1389
|
+
}), !e && me(g, r.dragClass, !0), e ? (Dt = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (B(document, "mouseup", o._onDrop), B(document, "touchend", o._onDrop), B(document, "touchcancel", o._onDrop), a && (a.effectAllowed = "move", r.setData && r.setData.call(o, a, g)), Y(document, "drop", o), O(g, "transform", "translateZ(0)")), Ue = !0, o._dragStartId = yt(o._dragStarted.bind(o, e, t)), Y(document, "selectstart", o), Ze = !0, window.getSelection().removeAllRanges(), et && O(document.body, "user-select", "none");
|
|
1390
1390
|
},
|
|
1391
1391
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1392
1392
|
_onDragOver: function(t) {
|
|
1393
|
-
var e = this.el, o = t.target, a, r, i, l = this.options, s = l.group, u = k.active, f =
|
|
1393
|
+
var e = this.el, o = t.target, a, r, i, l = this.options, s = l.group, u = k.active, f = dt === s, d = l.sort, D = re || u, m, h = this, C = !1;
|
|
1394
1394
|
if (Nt) return;
|
|
1395
1395
|
function x(b, M) {
|
|
1396
1396
|
pe(b, h, Ce({
|
|
@@ -1405,7 +1405,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1405
1405
|
target: o,
|
|
1406
1406
|
completed: F,
|
|
1407
1407
|
onMove: function(W, z) {
|
|
1408
|
-
return
|
|
1408
|
+
return ht(G, e, g, a, W, ee(W), t, z);
|
|
1409
1409
|
},
|
|
1410
1410
|
changed: $
|
|
1411
1411
|
}, M));
|
|
@@ -1433,7 +1433,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1433
1433
|
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o = Ee(o, l.draggable, e, !0), x("dragOver"), k.eventCanceled) return C;
|
|
1434
1434
|
if (g.contains(t.target) || o.animated && o.animatingX && o.animatingY || h._ignoreWhileAnimating === o)
|
|
1435
1435
|
return F(!1);
|
|
1436
|
-
if (
|
|
1436
|
+
if (Dt = !1, u && !l.disabled && (f ? d || (i = Z !== G) : re === this || (this.lastPutMode = dt.checkPull(this, u, g, t)) && s.checkPut(this, u, g, t))) {
|
|
1437
1437
|
if (m = this._getDirection(t, o) === "vertical", a = ee(g), x("dragOverValid"), k.eventCanceled) return C;
|
|
1438
1438
|
if (i)
|
|
1439
1439
|
return Z = G, c(), this._hideClone(), x("revert"), k.eventCanceled || (Fe ? G.insertBefore(g, Fe) : G.appendChild(g)), F(!0);
|
|
@@ -1441,18 +1441,18 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1441
1441
|
if (!U || fo(t, m, this) && !U.animated) {
|
|
1442
1442
|
if (U === g)
|
|
1443
1443
|
return F(!1);
|
|
1444
|
-
if (U && e === t.target && (o = U), o && (r = ee(o)),
|
|
1444
|
+
if (U && e === t.target && (o = U), o && (r = ee(o)), ht(G, e, g, a, o, r, t, !!o) !== !1)
|
|
1445
1445
|
return c(), U && U.nextSibling ? e.insertBefore(g, U.nextSibling) : e.appendChild(g), Z = e, $(), F(!0);
|
|
1446
1446
|
} else if (U && co(t, m, this)) {
|
|
1447
1447
|
var X = Ge(e, 0, l, !0);
|
|
1448
1448
|
if (X === g)
|
|
1449
1449
|
return F(!1);
|
|
1450
|
-
if (o = X, r = ee(o),
|
|
1450
|
+
if (o = X, r = ee(o), ht(G, e, g, a, o, r, t, !1) !== !1)
|
|
1451
1451
|
return c(), e.insertBefore(g, X), Z = e, $(), F(!0);
|
|
1452
1452
|
} else if (o.parentNode === e) {
|
|
1453
1453
|
r = ee(o);
|
|
1454
1454
|
var _ = 0, K, w = g.parentNode !== e, T = !ro(g.animated && g.toRect || a, o.animated && o.toRect || r, m), P = m ? "top" : "left", I = Qt(o, "top", "top") || Qt(g, "top", "top"), de = I ? I.scrollTop : void 0;
|
|
1455
|
-
He !== o && (K = r[P], at = !1,
|
|
1455
|
+
He !== o && (K = r[P], at = !1, ct = !T && l.invertSwap || w), _ = ho(t, o, r, m, T ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, ct, He === o);
|
|
1456
1456
|
var ne;
|
|
1457
1457
|
if (_ !== 0) {
|
|
1458
1458
|
var E = _e(g);
|
|
@@ -1465,9 +1465,9 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1465
1465
|
He = o, ot = _;
|
|
1466
1466
|
var v = o.nextElementSibling, p = !1;
|
|
1467
1467
|
p = _ === 1;
|
|
1468
|
-
var S =
|
|
1468
|
+
var S = ht(G, e, g, a, o, r, t, p);
|
|
1469
1469
|
if (S !== !1)
|
|
1470
|
-
return (S === 1 || S === -1) && (p = S === 1), Nt = !0, setTimeout(uo, 30), c(), p && !v ? e.appendChild(g) : o.parentNode.insertBefore(g, p ? v : o), I && gn(I, 0, de - I.scrollTop), Z = g.parentNode, K !== void 0 && !
|
|
1470
|
+
return (S === 1 || S === -1) && (p = S === 1), Nt = !0, setTimeout(uo, 30), c(), p && !v ? e.appendChild(g) : o.parentNode.insertBefore(g, p ? v : o), I && gn(I, 0, de - I.scrollTop), Z = g.parentNode, K !== void 0 && !ct && (bt = Math.abs(K - ee(o)[P])), $(), F(!0);
|
|
1471
1471
|
}
|
|
1472
1472
|
if (e.contains(g))
|
|
1473
1473
|
return F(!1);
|
|
@@ -1490,7 +1490,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1490
1490
|
this._nulling();
|
|
1491
1491
|
return;
|
|
1492
1492
|
}
|
|
1493
|
-
Ue = !1,
|
|
1493
|
+
Ue = !1, ct = !1, at = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Bt(this.cloneId), Bt(this._dragStartId), this.nativeDraggable && (B(document, "drop", this), B(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), et && O(document.body, "user-select", ""), O(g, "transform", ""), t && (Ze && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), R && R.parentNode && R.parentNode.removeChild(R), (G === Z || re && re.lastPutMode !== "clone") && q && q.parentNode && q.parentNode.removeChild(q), g && (this.nativeDraggable && B(g, "dragend", this), At(g), g.style["will-change"] = "", Ze && !Ue && me(g, re ? re.options.ghostClass : this.options.ghostClass, !1), me(g, this.options.chosenClass, !1), ce({
|
|
1494
1494
|
sortable: this,
|
|
1495
1495
|
name: "unchoose",
|
|
1496
1496
|
toEl: Z,
|
|
@@ -1537,9 +1537,9 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1537
1537
|
}), this.save()))), this._nulling();
|
|
1538
1538
|
},
|
|
1539
1539
|
_nulling: function() {
|
|
1540
|
-
pe("nulling", this), G = g = Z = R = Fe = q =
|
|
1540
|
+
pe("nulling", this), G = g = Z = R = Fe = q = vt = Me = Ne = De = Ze = be = Ie = Le = nt = He = ot = re = dt = k.dragged = k.ghost = k.clone = k.active = null, St.forEach(function(t) {
|
|
1541
1541
|
t.checked = !0;
|
|
1542
|
-
}),
|
|
1542
|
+
}), St.length = Ot = It = 0;
|
|
1543
1543
|
},
|
|
1544
1544
|
handleEvent: function(t) {
|
|
1545
1545
|
switch (t.type) {
|
|
@@ -1604,7 +1604,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1604
1604
|
var o = this.options;
|
|
1605
1605
|
if (e === void 0)
|
|
1606
1606
|
return o[t];
|
|
1607
|
-
var a =
|
|
1607
|
+
var a = st.modifyOption(this, t, e);
|
|
1608
1608
|
typeof a < "u" ? o[t] = a : o[t] = e, t === "group" && _n(o);
|
|
1609
1609
|
},
|
|
1610
1610
|
/**
|
|
@@ -1615,7 +1615,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1615
1615
|
var t = this.el;
|
|
1616
1616
|
t[ge] = null, B(t, "mousedown", this._onTapStart), B(t, "touchstart", this._onTapStart), B(t, "pointerdown", this._onTapStart), this.nativeDraggable && (B(t, "dragover", this), B(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(e) {
|
|
1617
1617
|
e.removeAttribute("draggable");
|
|
1618
|
-
}), this._onDrop(), this._disableDelayedDragEvents(),
|
|
1618
|
+
}), this._onDrop(), this._disableDelayedDragEvents(), Et.splice(Et.indexOf(this.el), 1), this.el = t = null;
|
|
1619
1619
|
},
|
|
1620
1620
|
_hideClone: function() {
|
|
1621
1621
|
if (!Me) {
|
|
@@ -1637,9 +1637,9 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1637
1637
|
function so(n) {
|
|
1638
1638
|
n.dataTransfer && (n.dataTransfer.dropEffect = "move"), n.cancelable && n.preventDefault();
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1640
|
+
function ht(n, t, e, o, a, r, i, l) {
|
|
1641
1641
|
var s, u = n[ge], f = u.options.onMove, d;
|
|
1642
|
-
return window.CustomEvent && !ke && !
|
|
1642
|
+
return window.CustomEvent && !ke && !lt ? s = new CustomEvent("move", {
|
|
1643
1643
|
bubbles: !0,
|
|
1644
1644
|
cancelable: !0
|
|
1645
1645
|
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = n, s.dragged = e, s.draggedRect = o, s.related = a || t, s.relatedRect = r || ee(t), s.willInsertAfter = l, s.originalEvent = i, n.dispatchEvent(s), f && (d = f.call(u, s, i)), d;
|
|
@@ -1661,10 +1661,10 @@ function fo(n, t, e) {
|
|
|
1661
1661
|
function ho(n, t, e, o, a, r, i, l) {
|
|
1662
1662
|
var s = o ? n.clientY : n.clientX, u = o ? e.height : e.width, f = o ? e.top : e.left, d = o ? e.bottom : e.right, D = !1;
|
|
1663
1663
|
if (!i) {
|
|
1664
|
-
if (l &&
|
|
1664
|
+
if (l && bt < u * a) {
|
|
1665
1665
|
if (!at && (ot === 1 ? s > f + u * r / 2 : s < d - u * r / 2) && (at = !0), at)
|
|
1666
1666
|
D = !0;
|
|
1667
|
-
else if (ot === 1 ? s < f +
|
|
1667
|
+
else if (ot === 1 ? s < f + bt : s > d - bt)
|
|
1668
1668
|
return -ot;
|
|
1669
1669
|
} else if (s > f + u * (1 - a) / 2 && s < d - u * (1 - a) / 2)
|
|
1670
1670
|
return po(t);
|
|
@@ -1680,13 +1680,13 @@ function go(n) {
|
|
|
1680
1680
|
return o.toString(36);
|
|
1681
1681
|
}
|
|
1682
1682
|
function mo(n) {
|
|
1683
|
-
|
|
1683
|
+
St.length = 0;
|
|
1684
1684
|
for (var t = n.getElementsByTagName("input"), e = t.length; e--; ) {
|
|
1685
1685
|
var o = t[e];
|
|
1686
|
-
o.checked &&
|
|
1686
|
+
o.checked && St.push(o);
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function yt(n) {
|
|
1690
1690
|
return setTimeout(n, 0);
|
|
1691
1691
|
}
|
|
1692
1692
|
function Bt(n) {
|
|
@@ -1709,7 +1709,7 @@ k.utils = {
|
|
|
1709
1709
|
toggleClass: me,
|
|
1710
1710
|
clone: mn,
|
|
1711
1711
|
index: _e,
|
|
1712
|
-
nextTick:
|
|
1712
|
+
nextTick: yt,
|
|
1713
1713
|
cancelNextTick: Bt,
|
|
1714
1714
|
detectDirection: yn,
|
|
1715
1715
|
getChild: Ge,
|
|
@@ -1724,14 +1724,14 @@ k.mount = function() {
|
|
|
1724
1724
|
t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
|
|
1725
1725
|
if (!o.prototype || !o.prototype.constructor)
|
|
1726
1726
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
|
|
1727
|
-
o.utils && (k.utils = Ce(Ce({}, k.utils), o.utils)),
|
|
1727
|
+
o.utils && (k.utils = Ce(Ce({}, k.utils), o.utils)), st.mount(o);
|
|
1728
1728
|
});
|
|
1729
1729
|
};
|
|
1730
1730
|
k.create = function(n, t) {
|
|
1731
1731
|
return new k(n, t);
|
|
1732
1732
|
};
|
|
1733
1733
|
k.version = qn;
|
|
1734
|
-
var Q = [], Ke, Ft, Yt = !1, Pt, Rt,
|
|
1734
|
+
var Q = [], Ke, Ft, Yt = !1, Pt, Rt, Ct, Qe;
|
|
1735
1735
|
function vo() {
|
|
1736
1736
|
function n() {
|
|
1737
1737
|
this.defaults = {
|
|
@@ -1754,26 +1754,26 @@ function vo() {
|
|
|
1754
1754
|
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
1755
1755
|
},
|
|
1756
1756
|
drop: function() {
|
|
1757
|
-
this.sortable.nativeDraggable ? B(document, "dragover", this._handleAutoScroll) : (B(document, "pointermove", this._handleFallbackAutoScroll), B(document, "touchmove", this._handleFallbackAutoScroll), B(document, "mousemove", this._handleFallbackAutoScroll)), an(),
|
|
1757
|
+
this.sortable.nativeDraggable ? B(document, "dragover", this._handleAutoScroll) : (B(document, "pointermove", this._handleFallbackAutoScroll), B(document, "touchmove", this._handleFallbackAutoScroll), B(document, "mousemove", this._handleFallbackAutoScroll)), an(), _t(), Kn();
|
|
1758
1758
|
},
|
|
1759
1759
|
nulling: function() {
|
|
1760
|
-
|
|
1760
|
+
Ct = Ft = Ke = Yt = Qe = Pt = Rt = null, Q.length = 0;
|
|
1761
1761
|
},
|
|
1762
1762
|
_handleFallbackAutoScroll: function(e) {
|
|
1763
1763
|
this._handleAutoScroll(e, !0);
|
|
1764
1764
|
},
|
|
1765
1765
|
_handleAutoScroll: function(e, o) {
|
|
1766
1766
|
var a = this, r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, l = document.elementFromPoint(r, i);
|
|
1767
|
-
if (
|
|
1767
|
+
if (Ct = e, o || this.options.forceAutoScrollFallback || lt || ke || et) {
|
|
1768
1768
|
Vt(e, this.options, l, o);
|
|
1769
1769
|
var s = Ae(l, !0);
|
|
1770
1770
|
Yt && (!Qe || r !== Pt || i !== Rt) && (Qe && an(), Qe = setInterval(function() {
|
|
1771
1771
|
var u = Ae(document.elementFromPoint(r, i), !0);
|
|
1772
|
-
u !== s && (s = u,
|
|
1772
|
+
u !== s && (s = u, _t()), Vt(e, a.options, u, o);
|
|
1773
1773
|
}, 10), Pt = r, Rt = i);
|
|
1774
1774
|
} else {
|
|
1775
1775
|
if (!this.options.bubbleScroll || Ae(l, !0) === Se()) {
|
|
1776
|
-
|
|
1776
|
+
_t();
|
|
1777
1777
|
return;
|
|
1778
1778
|
}
|
|
1779
1779
|
Vt(e, this.options, Ae(l, !1), !1);
|
|
@@ -1784,7 +1784,7 @@ function vo() {
|
|
|
1784
1784
|
initializeByDefault: !0
|
|
1785
1785
|
});
|
|
1786
1786
|
}
|
|
1787
|
-
function
|
|
1787
|
+
function _t() {
|
|
1788
1788
|
Q.forEach(function(n) {
|
|
1789
1789
|
clearInterval(n.pid);
|
|
1790
1790
|
}), Q = [];
|
|
@@ -1795,7 +1795,7 @@ function an() {
|
|
|
1795
1795
|
var Vt = pn(function(n, t, e, o) {
|
|
1796
1796
|
if (t.scroll) {
|
|
1797
1797
|
var a = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, i = t.scrollSensitivity, l = t.scrollSpeed, s = Se(), u = !1, f;
|
|
1798
|
-
Ft !== e && (Ft = e,
|
|
1798
|
+
Ft !== e && (Ft = e, _t(), Ke = t.scroll, f = t.scrollFn, Ke === !0 && (Ke = Ae(e, !0)));
|
|
1799
1799
|
var d = 0, D = Ke;
|
|
1800
1800
|
do {
|
|
1801
1801
|
var m = D, h = ee(m), C = h.top, x = h.bottom, c = h.left, F = h.right, $ = h.width, U = h.height, X = void 0, _ = void 0, K = m.scrollWidth, w = m.scrollHeight, T = O(m), P = m.scrollLeft, I = m.scrollTop;
|
|
@@ -1805,9 +1805,9 @@ var Vt = pn(function(n, t, e, o) {
|
|
|
1805
1805
|
for (var E = 0; E <= d; E++)
|
|
1806
1806
|
Q[E] || (Q[E] = {});
|
|
1807
1807
|
(Q[d].vx != de || Q[d].vy != ne || Q[d].el !== m) && (Q[d].el = m, Q[d].vx = de, Q[d].vy = ne, clearInterval(Q[d].pid), (de != 0 || ne != 0) && (u = !0, Q[d].pid = setInterval((function() {
|
|
1808
|
-
o && this.layer === 0 && k.active._onTouchMove(
|
|
1808
|
+
o && this.layer === 0 && k.active._onTouchMove(Ct);
|
|
1809
1809
|
var v = Q[this.layer].vy ? Q[this.layer].vy * l : 0, p = Q[this.layer].vx ? Q[this.layer].vx * l : 0;
|
|
1810
|
-
typeof f == "function" && f.call(k.dragged.parentNode[ge], p, v, n,
|
|
1810
|
+
typeof f == "function" && f.call(k.dragged.parentNode[ge], p, v, n, Ct, Q[this.layer].el) !== "continue" || gn(Q[this.layer].el, p, v);
|
|
1811
1811
|
}).bind({
|
|
1812
1812
|
layer: d
|
|
1813
1813
|
}), 24))), d++;
|
|
@@ -1885,7 +1885,7 @@ const bo = { class: "extra-button-content" }, yo = {
|
|
|
1885
1885
|
name: (l == null ? void 0 : l.prop) ?? ""
|
|
1886
1886
|
}));
|
|
1887
1887
|
};
|
|
1888
|
-
return
|
|
1888
|
+
return it(() => {
|
|
1889
1889
|
a(e.columns);
|
|
1890
1890
|
}), $e(
|
|
1891
1891
|
() => e.columns,
|
|
@@ -2031,7 +2031,7 @@ const bo = { class: "extra-button-content" }, yo = {
|
|
|
2031
2031
|
emits: ["dbClickRow", "fixRow", "deleteRow", "doSizeChange", "doCurrentChange", "buttonClick", "contentClick"],
|
|
2032
2032
|
setup(n, { emit: t }) {
|
|
2033
2033
|
const e = n, o = L([]), a = L([]), r = L(0), i = L(null), l = L(null), s = t;
|
|
2034
|
-
|
|
2034
|
+
it(() => {
|
|
2035
2035
|
o.value = e == null ? void 0 : e.columns, a.value = e == null ? void 0 : e.tableData, e.isMoveColumn && C(), x();
|
|
2036
2036
|
});
|
|
2037
2037
|
const u = ($) => {
|
|
@@ -2064,7 +2064,7 @@ const bo = { class: "extra-button-content" }, yo = {
|
|
|
2064
2064
|
onEnd: (X) => {
|
|
2065
2065
|
r.value++;
|
|
2066
2066
|
const _ = X.oldIndex, K = X.newIndex, w = o.value.splice(_, 1)[0];
|
|
2067
|
-
o.value.splice(K, 0, w), e.isMoveColumn &&
|
|
2067
|
+
o.value.splice(K, 0, w), e.isMoveColumn && pt(() => {
|
|
2068
2068
|
C(), x();
|
|
2069
2069
|
});
|
|
2070
2070
|
}
|
|
@@ -2073,7 +2073,7 @@ const bo = { class: "extra-button-content" }, yo = {
|
|
|
2073
2073
|
$e(
|
|
2074
2074
|
() => e.isMoveColumn,
|
|
2075
2075
|
() => {
|
|
2076
|
-
e.isMoveColumn &&
|
|
2076
|
+
e.isMoveColumn && pt(() => {
|
|
2077
2077
|
C(), x();
|
|
2078
2078
|
});
|
|
2079
2079
|
}
|
|
@@ -2089,7 +2089,7 @@ const bo = { class: "extra-button-content" }, yo = {
|
|
|
2089
2089
|
// 拖拽时的样式
|
|
2090
2090
|
onEnd: ({ newIndex: X, oldIndex: _ }) => {
|
|
2091
2091
|
const K = [...a.value], [w] = K.splice(_, 1);
|
|
2092
|
-
K.splice(X, 0, w), a.value = K,
|
|
2092
|
+
K.splice(X, 0, w), a.value = K, pt(() => {
|
|
2093
2093
|
x();
|
|
2094
2094
|
});
|
|
2095
2095
|
}
|
|
@@ -2583,9 +2583,13 @@ const bo = { class: "extra-button-content" }, yo = {
|
|
|
2583
2583
|
passwordNew2: "",
|
|
2584
2584
|
cropperTitle: ""
|
|
2585
2585
|
}), r = t;
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2586
|
+
it(() => {
|
|
2587
|
+
console.log("signaturePadRef-mounted:", o.value);
|
|
2588
|
+
}), $e(a.signOptions, () => {
|
|
2589
|
+
console.log("signOptions:", a.signOptions), pt(() => {
|
|
2590
|
+
var u;
|
|
2591
|
+
const s = (u = o.value) == null ? void 0 : u.signaturePad;
|
|
2592
|
+
console.log("signaturePadRef:", o.value), s ? (s.penColor = a.signOptions.penColor, s.minWidth = a.signOptions.minWidth) : console.error("signaturePadRef没有被初始化");
|
|
2589
2593
|
});
|
|
2590
2594
|
});
|
|
2591
2595
|
const i = () => {
|
|
@@ -2668,7 +2672,7 @@ const bo = { class: "extra-button-content" }, yo = {
|
|
|
2668
2672
|
], 64);
|
|
2669
2673
|
};
|
|
2670
2674
|
}
|
|
2671
|
-
}, qo = /* @__PURE__ */ Pe(Go, [["__scopeId", "data-v-
|
|
2675
|
+
}, qo = /* @__PURE__ */ Pe(Go, [["__scopeId", "data-v-af9b93c0"]]), Jo = {
|
|
2672
2676
|
AVATARUPLOAD: On,
|
|
2673
2677
|
SIGNATURE: qo,
|
|
2674
2678
|
SWITCH: Rn,
|
|
@@ -2727,7 +2731,7 @@ const fa = (n) => n.match(/\((.*)\)/)[1], Zo = (n) => {
|
|
|
2727
2731
|
emits: ["change", "onButtonClick"],
|
|
2728
2732
|
setup(n, { emit: t }) {
|
|
2729
2733
|
const e = n;
|
|
2730
|
-
|
|
2734
|
+
it(() => {
|
|
2731
2735
|
console.log("表单", e);
|
|
2732
2736
|
});
|
|
2733
2737
|
const o = t, a = L(null), r = L(null), i = L(), l = L(), s = (f) => Xt(f);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { computed as T, getCurrentInstance as Re, inject as Rt, unref as p, ref as k, onMounted as wt, watch as tt, toRef as Ee, onUnmounted as Xr, shallowRef as ve, nextTick as Q, defineComponent as ct, useAttrs as Jr, useSlots as dr, createElementBlock as j, openBlock as x, normalizeStyle as we, normalizeClass as I, createCommentVNode as C, Fragment as ge, createElementVNode as Y, renderSlot as nt, createBlock as O, withCtx as U, resolveDynamicComponent as et, mergeProps as Ge, withModifiers as qt, createVNode as gt, toDisplayString as ft, onBeforeUnmount as Qt, provide as pr, Text as Qr, reactive as on, h as ti, watchEffect as ei, isRef as ni, onScopeDispose as ri, resolveComponent as zt, Transition as ii, withDirectives as Pe, withKeys as ne, createTextVNode as Fe, vShow as Le, markRaw as Ye, toRefs as si, isVNode as vr, render as gr } from "vue";
|
|
2
|
-
import { g as yr, c as oi, a as ai, d as ui, u as li } from "./index-
|
|
3
|
-
import { E as Gt, s as an, u as fi } from "./menu-
|
|
4
|
-
import { a as ci } from "./index-
|
|
5
|
-
import { u as hi } from "./login-
|
|
6
|
-
import { S as Rn, i as mr, g as un, t as br, h as Bn, j as di, k as Et, m as Cn, n as Be, o as At, p as Ft, q as Te, s as Sr, v as It, w as pi, x as vi, y as gi, z as yi, A as $t, B as Wt, C as Zt, _ as te, D as Bt, V as mi, F as bi, G as Si, H as Ei, I as yt, N as ye, J as wi, K as xe, L as Er, O as ln, P as Ti, Q as We, R as xi, T as On, U as Di, W as kn, X as Ai, Y as Ii, Z as Ri, $ as Bi, a0 as Ci, a1 as Oi, a2 as Mn, a3 as Nn, a4 as ki } from "./index-
|
|
2
|
+
import { g as yr, c as oi, a as ai, d as ui, u as li } from "./index-VZljavSJ.js";
|
|
3
|
+
import { E as Gt, s as an, u as fi } from "./menu-BH9-dUQM.js";
|
|
4
|
+
import { a as ci } from "./index-COnCsnye.js";
|
|
5
|
+
import { u as hi } from "./login-DKhzW5Yh.js";
|
|
6
|
+
import { S as Rn, i as mr, g as un, t as br, h as Bn, j as di, k as Et, m as Cn, n as Be, o as At, p as Ft, q as Te, s as Sr, v as It, w as pi, x as vi, y as gi, z as yi, A as $t, B as Wt, C as Zt, _ as te, D as Bt, V as mi, F as bi, G as Si, H as Ei, I as yt, N as ye, J as wi, K as xe, L as Er, O as ln, P as Ti, Q as We, R as xi, T as On, U as Di, W as kn, X as Ai, Y as Ii, Z as Ri, $ as Bi, a0 as Ci, a1 as Oi, a2 as Mn, a3 as Nn, a4 as ki } from "./index-D9m-yKwB.js";
|
|
7
7
|
import { m as Mi } from "./typescript-BpuhIBuJ.js";
|
|
8
|
-
import { d as Vn, e as wr, f as Ni, h as Vi, j as Tr, k as Pi, c as Fi } from "./cloneDeep-
|
|
8
|
+
import { d as Vn, e as wr, f as Ni, h as Vi, j as Tr, k as Pi, c as Fi } from "./cloneDeep-BSnjcvv5.js";
|
|
9
9
|
import { i as xr } from "./isNil-CjWwlQS3.js";
|
|
10
10
|
function Li(e) {
|
|
11
11
|
return e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as y, p } from "./index-
|
|
2
|
-
import { u as D } from "./login-
|
|
3
|
-
import { u as K, E as g } from "./menu-
|
|
1
|
+
import { g as y, p } from "./index-VZljavSJ.js";
|
|
2
|
+
import { u as D } from "./login-DKhzW5Yh.js";
|
|
3
|
+
import { u as K, E as g } from "./menu-BH9-dUQM.js";
|
|
4
4
|
const I = K(p), l = D(p), P = () => {
|
|
5
5
|
const S = y({
|
|
6
6
|
key: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";const n=require("vue"),c=require("./index-BtYV9wZ1.cjs"),u=require("./index-CAD75-U5.cjs"),d=require("vue-router"),D=require("./menu-CjMhVMcW.cjs");d.useRoute();const g=c.useModelComp(),{itemData:i}=D.storeToRefs(g),f=n.ref([{label:"机构名称",value:"",name:"deptName"}]),m=e=>{console.log("handleQueryChange",e)},s=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),h=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName)},C=e=>{console.log("onDoubleClick",e)},k=(e,t)=>{console.log("onButtonClick",e,t)},S=async e=>{const t=await u.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=t==null?void 0:t.map(a=>{var o;return{id:a.id,tableData:(o=a==null?void 0:a.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(a=>{var o;if(Array.isArray(a==null?void 0:a.tableData)){let r={id:a.id};return(o=a==null?void 0:a.tableData)==null||o.forEach((b,y)=>{r[`a${y}`]=b}),r}else return{...a.tableData,id:a.id}})},p={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};n.watch(()=>i.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(s.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const T=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:S,handleItemDataChange:h,handleQueryChange:m,onButtonClick:k,onDoubleClick:C,pageData:s,queryFormData:f,tempDeptPageData:p},Symbol.toStringTag,{value:"Module"}));exports.State=T;exports.tempDeptPageData=p;
|