ss-component-new 1.1.237 → 1.1.239
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-DI6hm2O5.cjs → array-D-J_e91G.cjs} +1 -1
- package/dist/{array-XiW93OPp.js → array-DAwa7XAV.js} +8 -8
- package/dist/{cloneDeep-DD6IIacv.js → cloneDeep-BcK4cO7a.js} +1 -1
- package/dist/{cloneDeep-CJYxvbkp.cjs → cloneDeep-kbsGGN_Q.cjs} +1 -1
- package/dist/{index-BfFcoIcW.js → index-3g7rW5vQ.js} +1 -1
- package/dist/{index-ItBGckSL.cjs → index-5JXCiHw3.cjs} +1 -1
- package/dist/{index-BxOh6BEJ.js → index-8hwiS85r.js} +5 -5
- package/dist/{index-Ya4rFbSY.cjs → index-B2KK3HzA.cjs} +1 -1
- package/dist/{index-DRxCMsAf.js → index-B66Qf5rw.js} +6 -6
- package/dist/{index-C0dpqsuW.js → index-B9K0EIpS.js} +5 -5
- package/dist/{index-DkotFjz2.js → index-BAWROpdj.js} +1 -1
- package/dist/{index-C4DMm-9q.cjs → index-BFPZALXc.cjs} +1 -1
- package/dist/{index-DhHo9ub3.js → index-BMrHnCTf.js} +4 -4
- package/dist/{index-Bs4dpkna.cjs → index-BOzSvFJA.cjs} +1 -1
- package/dist/{index-BYxKXFVW.cjs → index-BUga6nNK.cjs} +1 -1
- package/dist/{index-D5HzgxVF.cjs → index-BZHxtM--.cjs} +1 -1
- package/dist/{index-DIBaD8Dz.js → index-B_VMMfxb.js} +3 -3
- package/dist/{index-D0S1Fwnn.cjs → index-BdiQsOpb.cjs} +1 -1
- package/dist/index-Be4n2ecn.js +906 -0
- package/dist/{index-CnbFplgw.cjs → index-BhOckTgC.cjs} +1 -1
- package/dist/{index-BOcg5OyD.js → index-Bkc0R0j5.js} +89 -93
- package/dist/{index-CbTnDm6Y.js → index-BoA0FuEi.js} +7 -7
- package/dist/{index-xzKwlwN1.cjs → index-C3UTqVyv.cjs} +11 -11
- package/dist/{index-BoGW0rHI.js → index-C7Y_BQCw.js} +7 -7
- package/dist/{index-DrDjMudp.js → index-C8nLtJQB.js} +6 -6
- package/dist/{index-C6r0D7bs.js → index-CG01yKU1.js} +367 -353
- package/dist/{index-lSUKeup-.cjs → index-CK7nt4bL.cjs} +1 -1
- package/dist/{index-CJCpFXP6.cjs → index-CQ0bJWFx.cjs} +1 -1
- package/dist/{index-DSx-_9X6.cjs → index-CWsALJ8f.cjs} +1 -1
- package/dist/{index-BaXDQtLf.cjs → index-Cbj_oJPC.cjs} +1 -1
- package/dist/{index-Qvf8lEEi.js → index-CgxSbKBz.js} +4 -4
- package/dist/{index-C2Yo86eF.js → index-CiTgFX9o.js} +7 -7
- package/dist/{index-Dzd-BSIy.cjs → index-CoH0G-uS.cjs} +1 -1
- package/dist/{index-BvPVHCZ9.cjs → index-CrSVdnus.cjs} +1 -1
- package/dist/{index-CRFv3mU8.js → index-CrdlZPHq.js} +4 -4
- package/dist/{index-Cu4Nrk6I.js → index-D-auhS5f.js} +3 -3
- package/dist/{index-CqvUtrx4.cjs → index-D0FNjq6G.cjs} +1 -1
- package/dist/{index-XfC1YU_R.cjs → index-D0hUHQHn.cjs} +1 -1
- package/dist/{index-BjgJwjU0.js → index-DRcuI2gm.js} +4 -4
- package/dist/{index-BP6-wpOt.js → index-DX3jtjLG.js} +3 -3
- package/dist/{index-4oU6C2JI.js → index-DcymGmWj.js} +1 -1
- package/dist/{index-pdOAGERi.cjs → index-DqLOgQsT.cjs} +1 -1
- package/dist/{index-BRtYsist.js → index-DreX5xyP.js} +5 -5
- package/dist/{index-Gd5o0mO3.js → index-Du-s_IGe.js} +1 -1
- package/dist/{index-DBbaEqVU.cjs → index-DxzvUr7M.cjs} +1 -1
- package/dist/{index-Bg25SwqX.cjs → index-FX9zIOBz.cjs} +1 -1
- package/dist/{index-BR4fdQ1R.js → index-FaQ9vBep.js} +4 -4
- package/dist/{index-rKrFVhox.cjs → index-Gc1epwAE.cjs} +1 -1
- package/dist/{index-CCJsj4V5.cjs → index-GlyYi8eO.cjs} +1 -1
- package/dist/{index-DI7LyQuc.js → index-NdocPiqA.js} +9 -9
- package/dist/{index-DMKQK1ps.js → index-P_6AmAJ6.js} +1 -1
- package/dist/{index-_PQG-wQ3.cjs → index-V9D4K_Sf.cjs} +1 -1
- package/dist/index-VVRul53o.cjs +1 -0
- package/dist/{index-BTwMwAiQ.cjs → index-bC_377mt.cjs} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-DUR36an7.cjs → index.vue_vue_type_script_setup_true_lang-7hOFb1P0.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CRHsd8hz.js → index.vue_vue_type_script_setup_true_lang-DVmAEsPP.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_11cfc8a8_lang-DawuGbvY.cjs → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-DI887Xui.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_11cfc8a8_lang-CND-nizm.js → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Rrc8X2Wa.js} +6 -6
- package/dist/index.vue_vue_type_style_index_0_scoped_aefda2d8_lang-CMvvh_Fa.js +612 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_aefda2d8_lang-Df3FKHF1.cjs +1 -0
- package/dist/{login-5hYAfzY7.cjs → login-C0pHH-1V.cjs} +1 -1
- package/dist/{login-C8oHBbmr.js → login-CbLjVnvi.js} +2 -2
- package/dist/{main-B6KpGooi.js → main-DLdZKJUK.js} +6 -6
- package/dist/{main-BrPLM7nL.cjs → main-wtI2yJ--.cjs} +1 -1
- package/dist/{menu-G9lGQLbm.js → menu-CAlO6ojx.js} +4 -4
- package/dist/{menu-BCqnRbPI.cjs → menu-LlBjM6b8.cjs} +3 -3
- package/dist/{modelComp-DWhwoJ78.cjs → modelComp-Af3CYJjb.cjs} +1 -1
- package/dist/{modelComp-CYG_7mmb.js → modelComp-D9gZ6ZkE.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +7 -7
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-BeiMmjtu.js +0 -913
- package/dist/index-Ctlqzbp7.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_4d31b674_lang-C0YpKhME.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_4d31b674_lang-C6BHHnmI.js +0 -563
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ref as z, resolveComponent as X, createBlock as W, openBlock as w, withCtx as B, createElementBlock as F, Fragment as ct, renderList as lt, createTextVNode as jt, toDisplayString as Et, watch as xt, renderSlot as st, createCommentVNode as tt, resolveDynamicComponent as se, createSlots as qt, mergeProps as je, onMounted as
|
|
1
|
+
import { ref as z, resolveComponent as X, createBlock as W, openBlock as w, withCtx as B, createElementBlock as F, Fragment as ct, renderList as lt, createTextVNode as jt, toDisplayString as Et, watch as xt, renderSlot as st, createCommentVNode as tt, resolveDynamicComponent as se, createSlots as qt, mergeProps as je, onMounted as $e, normalizeProps as Bn, guardReactiveProps as Vn, defineComponent as Xe, nextTick as Xt, createVNode as ht, normalizeStyle as bt, createElementVNode as it, unref as We, h as tn, reactive as _n, computed as en, onBeforeUnmount as Ln, toRefs as Wn, withDirectives as nn, vShow as on, normalizeClass as Un } from "vue";
|
|
2
2
|
import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { c as ke } from "./cloneDeep-
|
|
4
|
-
import { E as wn } from "./menu-
|
|
5
|
-
import Yn from "./index-
|
|
6
|
-
import { _ as zn } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { c as an } from "./index-
|
|
3
|
+
import { c as ke } from "./cloneDeep-BcK4cO7a.js";
|
|
4
|
+
import { E as wn } from "./menu-CAlO6ojx.js";
|
|
5
|
+
import Yn from "./index-DcymGmWj.js";
|
|
6
|
+
import { _ as zn } from "./index.vue_vue_type_script_setup_true_lang-DVmAEsPP.js";
|
|
7
|
+
import { c as an } from "./index-C7Y_BQCw.js";
|
|
8
8
|
function Hn(o) {
|
|
9
9
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
10
10
|
}
|
|
11
|
-
var
|
|
11
|
+
var me = { exports: {} }, jn = me.exports, rn;
|
|
12
12
|
function Xn() {
|
|
13
13
|
return rn || (rn = 1, function(o, e) {
|
|
14
14
|
(function(t, n) {
|
|
@@ -156,13 +156,13 @@ function Xn() {
|
|
|
156
156
|
}, _.format = function(m) {
|
|
157
157
|
var C = this, E = this.$locale();
|
|
158
158
|
if (!this.isValid()) return E.invalidDate || y;
|
|
159
|
-
var M = m || "YYYY-MM-DDTHH:mm:ssZ", R = g.z(this), j = this.$H, q = this.$m, et = this.$M, nt = E.weekdays, dt = E.months, Wt = E.meridiem, Nt = function(gt, Pt, Zt,
|
|
160
|
-
return gt && (gt[Pt] || gt(C, M)) || Zt[Pt].slice(0,
|
|
159
|
+
var M = m || "YYYY-MM-DDTHH:mm:ssZ", R = g.z(this), j = this.$H, q = this.$m, et = this.$M, nt = E.weekdays, dt = E.months, Wt = E.meridiem, Nt = function(gt, Pt, Zt, de) {
|
|
160
|
+
return gt && (gt[Pt] || gt(C, M)) || Zt[Pt].slice(0, de);
|
|
161
161
|
}, Kt = function(gt) {
|
|
162
162
|
return g.s(j % 12 || 12, gt, "0");
|
|
163
163
|
}, Ft = Wt || function(gt, Pt, Zt) {
|
|
164
|
-
var
|
|
165
|
-
return Zt ?
|
|
164
|
+
var de = gt < 12 ? "AM" : "PM";
|
|
165
|
+
return Zt ? de.toLowerCase() : de;
|
|
166
166
|
};
|
|
167
167
|
return M.replace(S, function(gt, Pt) {
|
|
168
168
|
return Pt || function(Zt) {
|
|
@@ -284,7 +284,7 @@ function Xn() {
|
|
|
284
284
|
return Y(1e3 * A);
|
|
285
285
|
}, Y.en = x[O], Y.Ls = x, Y.p = {}, Y;
|
|
286
286
|
});
|
|
287
|
-
}(
|
|
287
|
+
}(me)), me.exports;
|
|
288
288
|
}
|
|
289
289
|
var Gn = Xn();
|
|
290
290
|
const ln = /* @__PURE__ */ Hn(Gn), qn = {
|
|
@@ -606,7 +606,7 @@ const ln = /* @__PURE__ */ Hn(Gn), qn = {
|
|
|
606
606
|
},
|
|
607
607
|
setup(o) {
|
|
608
608
|
const e = o;
|
|
609
|
-
return
|
|
609
|
+
return $e(() => {
|
|
610
610
|
document.querySelectorAll(".el-tab-pane").forEach((n) => {
|
|
611
611
|
n.style.display = "block";
|
|
612
612
|
});
|
|
@@ -652,13 +652,13 @@ function Tt(o) {
|
|
|
652
652
|
}
|
|
653
653
|
return o;
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function ve(o) {
|
|
656
656
|
"@babel/helpers - typeof";
|
|
657
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
657
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ve = function(e) {
|
|
658
658
|
return typeof e;
|
|
659
|
-
} :
|
|
659
|
+
} : ve = function(e) {
|
|
660
660
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
661
|
-
},
|
|
661
|
+
}, ve(o);
|
|
662
662
|
}
|
|
663
663
|
function ro(o, e, t) {
|
|
664
664
|
return e in o ? Object.defineProperty(o, e, {
|
|
@@ -700,7 +700,7 @@ function At(o) {
|
|
|
700
700
|
if (typeof window < "u" && window.navigator)
|
|
701
701
|
return !!/* @__PURE__ */ navigator.userAgent.match(o);
|
|
702
702
|
}
|
|
703
|
-
var kt = At(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),
|
|
703
|
+
var kt = At(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ue = At(/Edge/i), un = At(/firefox/i), ne = At(/safari/i) && !At(/chrome/i) && !At(/android/i), Ge = At(/iP(ad|od|hone)/i), Dn = At(/chrome/i) && At(/android/i), Sn = {
|
|
704
704
|
capture: !1,
|
|
705
705
|
passive: !1
|
|
706
706
|
};
|
|
@@ -710,7 +710,7 @@ function U(o, e, t) {
|
|
|
710
710
|
function L(o, e, t) {
|
|
711
711
|
o.removeEventListener(e, t, !kt && Sn);
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Ee(o, e) {
|
|
714
714
|
if (e) {
|
|
715
715
|
if (e[0] === ">" && (e = e.substring(1)), o)
|
|
716
716
|
try {
|
|
@@ -733,7 +733,7 @@ function St(o, e, t, n) {
|
|
|
733
733
|
if (o) {
|
|
734
734
|
t = t || document;
|
|
735
735
|
do {
|
|
736
|
-
if (e != null && (e[0] === ">" ? o.parentNode === t &&
|
|
736
|
+
if (e != null && (e[0] === ">" ? o.parentNode === t && Ee(o, e) : Ee(o, e)) || n && o === t)
|
|
737
737
|
return o;
|
|
738
738
|
if (o === t) break;
|
|
739
739
|
} while (o = xn(o));
|
|
@@ -830,7 +830,7 @@ function Jt(o, e, t, n) {
|
|
|
830
830
|
return null;
|
|
831
831
|
}
|
|
832
832
|
function qe(o, e) {
|
|
833
|
-
for (var t = o.lastElementChild; t && (t === k.ghost || P(t, "display") === "none" || e && !
|
|
833
|
+
for (var t = o.lastElementChild; t && (t === k.ghost || P(t, "display") === "none" || e && !Ee(t, e)); )
|
|
834
834
|
t = t.previousElementSibling;
|
|
835
835
|
return t || null;
|
|
836
836
|
}
|
|
@@ -839,7 +839,7 @@ function wt(o, e) {
|
|
|
839
839
|
if (!o || !o.parentNode)
|
|
840
840
|
return -1;
|
|
841
841
|
for (; o = o.previousElementSibling; )
|
|
842
|
-
o.nodeName.toUpperCase() !== "TEMPLATE" && o !== k.clone && (!e ||
|
|
842
|
+
o.nodeName.toUpperCase() !== "TEMPLATE" && o !== k.clone && (!e || Ee(o, e)) && t++;
|
|
843
843
|
return t;
|
|
844
844
|
}
|
|
845
845
|
function fn(o) {
|
|
@@ -981,7 +981,7 @@ function mo(o, e, t, n) {
|
|
|
981
981
|
}
|
|
982
982
|
var Ut = [], Me = {
|
|
983
983
|
initializeByDefault: !0
|
|
984
|
-
},
|
|
984
|
+
}, ce = {
|
|
985
985
|
mount: function(e) {
|
|
986
986
|
for (var t in Me)
|
|
987
987
|
Me.hasOwnProperty(t) && !(t in e) && (e[t] = Me[t]);
|
|
@@ -1035,11 +1035,11 @@ function vo(o) {
|
|
|
1035
1035
|
var e = o.sortable, t = o.rootEl, n = o.name, a = o.targetEl, i = o.cloneEl, r = o.toEl, l = o.fromEl, s = o.oldIndex, u = o.newIndex, c = o.oldDraggableIndex, f = o.newDraggableIndex, v = o.originalEvent, p = o.putSortable, h = o.extraEventProperties;
|
|
1036
1036
|
if (e = e || t && t[vt], !!e) {
|
|
1037
1037
|
var y, T = e.options, S = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
|
1038
|
-
window.CustomEvent && !kt && !
|
|
1038
|
+
window.CustomEvent && !kt && !ue ? y = new CustomEvent(n, {
|
|
1039
1039
|
bubbles: !0,
|
|
1040
1040
|
cancelable: !0
|
|
1041
1041
|
}) : (y = document.createEvent("Event"), y.initEvent(n, !0, !0)), y.to = r || t, y.from = l || t, y.item = a || t, y.clone = i, y.oldIndex = s, y.newIndex = u, y.oldDraggableIndex = c, y.newDraggableIndex = f, y.originalEvent = v, y.pullMode = p ? p.lastPutMode : void 0;
|
|
1042
|
-
var d = Tt(Tt({}, h),
|
|
1042
|
+
var d = Tt(Tt({}, h), ce.getEventProperties(n, e));
|
|
1043
1043
|
for (var H in d)
|
|
1044
1044
|
y[H] = d[H];
|
|
1045
1045
|
t && t.dispatchEvent(y), T[S] && T[S].call(e, y);
|
|
@@ -1047,13 +1047,13 @@ function vo(o) {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
var yo = ["evt"], pt = function(e, t) {
|
|
1049
1049
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.evt, i = so(n, yo);
|
|
1050
|
-
|
|
1050
|
+
ce.pluginEvent.bind(k)(e, t, Tt({
|
|
1051
1051
|
dragEl: b,
|
|
1052
1052
|
parentEl: Q,
|
|
1053
1053
|
ghostEl: N,
|
|
1054
1054
|
rootEl: K,
|
|
1055
1055
|
nextEl: Lt,
|
|
1056
|
-
lastDownEl:
|
|
1056
|
+
lastDownEl: ye,
|
|
1057
1057
|
cloneEl: Z,
|
|
1058
1058
|
cloneHidden: Mt,
|
|
1059
1059
|
dragStarted: Qt,
|
|
@@ -1093,7 +1093,7 @@ function ft(o) {
|
|
|
1093
1093
|
newDraggableIndex: Ot
|
|
1094
1094
|
}, o));
|
|
1095
1095
|
}
|
|
1096
|
-
var b, Q, N, K, Lt,
|
|
1096
|
+
var b, Q, N, K, Lt, ye, Z, Mt, Ht, _t, ae, Ot, fe, rt, zt = !1, De = !1, Se = [], Bt, Dt, Ie, Re, hn, gn, Qt, Yt, ie, re = !1, he = !1, be, ut, Ne = [], Ue = !1, xe = [], Pe = typeof document < "u", ge = Ge, pn = ue || kt ? "cssFloat" : "float", bo = Pe && !Dn && !Ge && "draggable" in document.createElement("div"), Pn = function() {
|
|
1097
1097
|
if (Pe) {
|
|
1098
1098
|
if (kt)
|
|
1099
1099
|
return !1;
|
|
@@ -1116,7 +1116,7 @@ var b, Q, N, K, Lt, be, Z, Mt, Ht, _t, ae, Ot, he, rt, zt = !1, Se = !1, xe = []
|
|
|
1116
1116
|
return a === l || i === s || a + r / 2 === l + u / 2;
|
|
1117
1117
|
}, wo = function(e, t) {
|
|
1118
1118
|
var n;
|
|
1119
|
-
return
|
|
1119
|
+
return Se.some(function(a) {
|
|
1120
1120
|
var i = a[vt].options.emptyInsertThreshold;
|
|
1121
1121
|
if (!(!i || qe(a))) {
|
|
1122
1122
|
var r = at(a), l = e >= r.left - i && e <= r.right + i, s = t >= r.top - i && t <= r.bottom + i;
|
|
@@ -1141,7 +1141,7 @@ var b, Q, N, K, Lt, be, Z, Mt, Ht, _t, ae, Ot, he, rt, zt = !1, Se = !1, xe = []
|
|
|
1141
1141
|
};
|
|
1142
1142
|
}
|
|
1143
1143
|
var n = {}, a = e.group;
|
|
1144
|
-
(!a ||
|
|
1144
|
+
(!a || ve(a) != "object") && (a = {
|
|
1145
1145
|
name: a
|
|
1146
1146
|
}), n.name = a.name, n.checkPull = t(a.pull, !0), n.checkPut = t(a.put), n.revertClone = a.revertClone, e.group = n;
|
|
1147
1147
|
}, In = function() {
|
|
@@ -1150,8 +1150,8 @@ var b, Q, N, K, Lt, be, Z, Mt, Ht, _t, ae, Ot, he, rt, zt = !1, Se = !1, xe = []
|
|
|
1150
1150
|
!Pn && N && P(N, "display", "");
|
|
1151
1151
|
};
|
|
1152
1152
|
Pe && !Dn && document.addEventListener("click", function(o) {
|
|
1153
|
-
if (
|
|
1154
|
-
return o.preventDefault(), o.stopPropagation && o.stopPropagation(), o.stopImmediatePropagation && o.stopImmediatePropagation(),
|
|
1153
|
+
if (De)
|
|
1154
|
+
return o.preventDefault(), o.stopPropagation && o.stopPropagation(), o.stopImmediatePropagation && o.stopImmediatePropagation(), De = !1, !1;
|
|
1155
1155
|
}, !0);
|
|
1156
1156
|
var Vt = function(e) {
|
|
1157
1157
|
if (b) {
|
|
@@ -1217,13 +1217,13 @@ function k(o, e) {
|
|
|
1217
1217
|
supportPointer: k.supportPointer !== !1 && "PointerEvent" in window && (!ne || Ge),
|
|
1218
1218
|
emptyInsertThreshold: 5
|
|
1219
1219
|
};
|
|
1220
|
-
|
|
1220
|
+
ce.initializePlugins(this, o, t);
|
|
1221
1221
|
for (var n in t)
|
|
1222
1222
|
!(n in e) && (e[n] = t[n]);
|
|
1223
1223
|
Mn(e);
|
|
1224
1224
|
for (var a in this)
|
|
1225
1225
|
a.charAt(0) === "_" && typeof this[a] == "function" && (this[a] = this[a].bind(this));
|
|
1226
|
-
this.nativeDraggable = e.forceFallback ? !1 : bo, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? U(o, "pointerdown", this._onTapStart) : (U(o, "mousedown", this._onTapStart), U(o, "touchstart", this._onTapStart)), this.nativeDraggable && (U(o, "dragover", this), U(o, "dragenter", this)),
|
|
1226
|
+
this.nativeDraggable = e.forceFallback ? !1 : bo, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? U(o, "pointerdown", this._onTapStart) : (U(o, "mousedown", this._onTapStart), U(o, "touchstart", this._onTapStart)), this.nativeDraggable && (U(o, "dragover", this), U(o, "dragenter", this)), Se.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), $t(this, go());
|
|
1227
1227
|
}
|
|
1228
1228
|
k.prototype = /** @lends Sortable.prototype */
|
|
1229
1229
|
{
|
|
@@ -1237,7 +1237,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1237
1237
|
_onTapStart: function(e) {
|
|
1238
1238
|
if (e.cancelable) {
|
|
1239
1239
|
var t = this, n = this.el, a = this.options, i = a.preventOnFilter, r = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, c = a.filter;
|
|
1240
|
-
if (ko(n), !b && !(/mousedown|pointerdown/.test(r) && e.button !== 0 || a.disabled) && !u.isContentEditable && !(!this.nativeDraggable && ne && s && s.tagName.toUpperCase() === "SELECT") && (s = St(s, a.draggable, n, !1), !(s && s.animated) &&
|
|
1240
|
+
if (ko(n), !b && !(/mousedown|pointerdown/.test(r) && e.button !== 0 || a.disabled) && !u.isContentEditable && !(!this.nativeDraggable && ne && s && s.tagName.toUpperCase() === "SELECT") && (s = St(s, a.draggable, n, !1), !(s && s.animated) && ye !== s)) {
|
|
1241
1241
|
if (Ht = wt(s), ae = wt(s, a.draggable), typeof c == "function") {
|
|
1242
1242
|
if (c.call(this, e, s, this)) {
|
|
1243
1243
|
ft({
|
|
@@ -1276,7 +1276,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1276
1276
|
var a = this, i = a.el, r = a.options, l = i.ownerDocument, s;
|
|
1277
1277
|
if (n && !b && n.parentNode === i) {
|
|
1278
1278
|
var u = at(n);
|
|
1279
|
-
if (K = i, b = n, Q = b.parentNode, Lt = b.nextSibling,
|
|
1279
|
+
if (K = i, b = n, Q = b.parentNode, Lt = b.nextSibling, ye = n, fe = r.group, k.dragged = b, Bt = {
|
|
1280
1280
|
target: b,
|
|
1281
1281
|
clientX: (t || e).clientX,
|
|
1282
1282
|
clientY: (t || e).clientY
|
|
@@ -1296,7 +1296,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1296
1296
|
Cn(b, c.trim(), Fe);
|
|
1297
1297
|
}), U(l, "dragover", Vt), U(l, "mousemove", Vt), U(l, "touchmove", Vt), r.supportPointer ? (U(l, "pointerup", a._onDrop), !this.nativeDraggable && U(l, "pointercancel", a._onDrop)) : (U(l, "mouseup", a._onDrop), U(l, "touchend", a._onDrop), U(l, "touchcancel", a._onDrop)), un && this.nativeDraggable && (this.options.touchStartThreshold = 4, b.draggable = !0), pt("delayStart", this, {
|
|
1298
1298
|
evt: e
|
|
1299
|
-
}), r.delay && (!r.delayOnTouchOnly || t) && (!this.nativeDraggable || !(
|
|
1299
|
+
}), r.delay && (!r.delayOnTouchOnly || t) && (!this.nativeDraggable || !(ue || kt))) {
|
|
1300
1300
|
if (k.eventCanceled) {
|
|
1301
1301
|
this._onDrop();
|
|
1302
1302
|
return;
|
|
@@ -1320,7 +1320,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1320
1320
|
_triggerDragStart: function(e, t) {
|
|
1321
1321
|
t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? U(document, "pointermove", this._onTouchMove) : t ? U(document, "touchmove", this._onTouchMove) : U(document, "mousemove", this._onTouchMove) : (U(b, "dragend", this), U(K, "dragstart", this._onDragStart));
|
|
1322
1322
|
try {
|
|
1323
|
-
document.selection ?
|
|
1323
|
+
document.selection ? _e(function() {
|
|
1324
1324
|
document.selection.empty();
|
|
1325
1325
|
}) : window.getSelection().removeAllRanges();
|
|
1326
1326
|
} catch {
|
|
@@ -1364,7 +1364,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1364
1364
|
},
|
|
1365
1365
|
_onTouchMove: function(e) {
|
|
1366
1366
|
if (Bt) {
|
|
1367
|
-
var t = this.options, n = t.fallbackTolerance, a = t.fallbackOffset, i = e.touches ? e.touches[0] : e, r = N && Gt(N, !0), l = N && r && r.a, s = N && r && r.d, u =
|
|
1367
|
+
var t = this.options, n = t.fallbackTolerance, a = t.fallbackOffset, i = e.touches ? e.touches[0] : e, r = N && Gt(N, !0), l = N && r && r.a, s = N && r && r.d, u = ge && ut && fn(ut), c = (i.clientX - Bt.clientX + a.x) / (l || 1) + (u ? u[0] - Ne[0] : 0) / (l || 1), f = (i.clientY - Bt.clientY + a.y) / (s || 1) + (u ? u[1] - Ne[1] : 0) / (s || 1);
|
|
1368
1368
|
if (!k.active && !zt) {
|
|
1369
1369
|
if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n)
|
|
1370
1370
|
return;
|
|
@@ -1387,13 +1387,13 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1387
1387
|
},
|
|
1388
1388
|
_appendGhost: function() {
|
|
1389
1389
|
if (!N) {
|
|
1390
|
-
var e = this.options.fallbackOnBody ? document.body : K, t = at(b, !0,
|
|
1391
|
-
if (
|
|
1390
|
+
var e = this.options.fallbackOnBody ? document.body : K, t = at(b, !0, ge, !0, e), n = this.options;
|
|
1391
|
+
if (ge) {
|
|
1392
1392
|
for (ut = e; P(ut, "position") === "static" && P(ut, "transform") === "none" && ut !== document; )
|
|
1393
1393
|
ut = ut.parentNode;
|
|
1394
1394
|
ut !== document.body && ut !== document.documentElement ? (ut === document && (ut = Ct()), t.top += ut.scrollTop, t.left += ut.scrollLeft) : ut = Ct(), Ne = fn(ut);
|
|
1395
1395
|
}
|
|
1396
|
-
N = b.cloneNode(!0), yt(N, n.ghostClass, !1), yt(N, n.fallbackClass, !0), yt(N, n.dragClass, !0), P(N, "transition", ""), P(N, "transform", ""), P(N, "box-sizing", "border-box"), P(N, "margin", 0), P(N, "top", t.top), P(N, "left", t.left), P(N, "width", t.width), P(N, "height", t.height), P(N, "opacity", "0.8"), P(N, "position",
|
|
1396
|
+
N = b.cloneNode(!0), yt(N, n.ghostClass, !1), yt(N, n.fallbackClass, !0), yt(N, n.dragClass, !0), P(N, "transition", ""), P(N, "transform", ""), P(N, "box-sizing", "border-box"), P(N, "margin", 0), P(N, "top", t.top), P(N, "left", t.left), P(N, "width", t.width), P(N, "height", t.height), P(N, "opacity", "0.8"), P(N, "position", ge ? "absolute" : "fixed"), P(N, "zIndex", "100000"), P(N, "pointerEvents", "none"), k.ghost = N, e.appendChild(N), P(N, "transform-origin", hn / parseInt(N.style.width) * 100 + "% " + gn / parseInt(N.style.height) * 100 + "%");
|
|
1397
1397
|
}
|
|
1398
1398
|
},
|
|
1399
1399
|
_onDragStart: function(e, t) {
|
|
@@ -1404,16 +1404,16 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1404
1404
|
this._onDrop();
|
|
1405
1405
|
return;
|
|
1406
1406
|
}
|
|
1407
|
-
pt("setupClone", this), k.eventCanceled || (Z = $n(b), Z.removeAttribute("id"), Z.draggable = !1, Z.style["will-change"] = "", this._hideClone(), yt(Z, this.options.chosenClass, !1), k.clone = Z), n.cloneId =
|
|
1407
|
+
pt("setupClone", this), k.eventCanceled || (Z = $n(b), Z.removeAttribute("id"), Z.draggable = !1, Z.style["will-change"] = "", this._hideClone(), yt(Z, this.options.chosenClass, !1), k.clone = Z), n.cloneId = _e(function() {
|
|
1408
1408
|
pt("clone", n), !k.eventCanceled && (n.options.removeCloneOnHide || K.insertBefore(Z, b), n._hideClone(), ft({
|
|
1409
1409
|
sortable: n,
|
|
1410
1410
|
name: "clone"
|
|
1411
1411
|
}));
|
|
1412
|
-
}), !t && yt(b, i.dragClass, !0), t ? (
|
|
1412
|
+
}), !t && yt(b, i.dragClass, !0), t ? (De = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (L(document, "mouseup", n._onDrop), L(document, "touchend", n._onDrop), L(document, "touchcancel", n._onDrop), a && (a.effectAllowed = "move", i.setData && i.setData.call(n, a, b)), U(document, "drop", n), P(b, "transform", "translateZ(0)")), zt = !0, n._dragStartId = _e(n._dragStarted.bind(n, t, e)), U(document, "selectstart", n), Qt = !0, window.getSelection().removeAllRanges(), ne && P(document.body, "user-select", "none");
|
|
1413
1413
|
},
|
|
1414
1414
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1415
1415
|
_onDragOver: function(e) {
|
|
1416
|
-
var t = this.el, n = e.target, a, i, r, l = this.options, s = l.group, u = k.active, c =
|
|
1416
|
+
var t = this.el, n = e.target, a, i, r, l = this.options, s = l.group, u = k.active, c = fe === s, f = l.sort, v = rt || u, p, h = this, y = !1;
|
|
1417
1417
|
if (Ue) return;
|
|
1418
1418
|
function T(E, M) {
|
|
1419
1419
|
pt(E, h, Tt({
|
|
@@ -1428,7 +1428,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1428
1428
|
target: n,
|
|
1429
1429
|
completed: d,
|
|
1430
1430
|
onMove: function(j, q) {
|
|
1431
|
-
return
|
|
1431
|
+
return pe(K, t, b, a, j, at(j), e, q);
|
|
1432
1432
|
},
|
|
1433
1433
|
changed: H
|
|
1434
1434
|
}, M));
|
|
@@ -1456,7 +1456,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1456
1456
|
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = St(n, l.draggable, t, !0), T("dragOver"), k.eventCanceled) return y;
|
|
1457
1457
|
if (b.contains(e.target) || n.animated && n.animatingX && n.animatingY || h._ignoreWhileAnimating === n)
|
|
1458
1458
|
return d(!1);
|
|
1459
|
-
if (
|
|
1459
|
+
if (De = !1, u && !l.disabled && (c ? f || (r = Q !== K) : rt === this || (this.lastPutMode = fe.checkPull(this, u, b, e)) && s.checkPut(this, u, b, e))) {
|
|
1460
1460
|
if (p = this._getDirection(e, n) === "vertical", a = at(b), T("dragOverValid"), k.eventCanceled) return y;
|
|
1461
1461
|
if (r)
|
|
1462
1462
|
return Q = K, S(), this._hideClone(), T("revert"), k.eventCanceled || (Lt ? K.insertBefore(b, Lt) : K.appendChild(b)), d(!0);
|
|
@@ -1464,18 +1464,18 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1464
1464
|
if (!J || Co(e, p, this) && !J.animated) {
|
|
1465
1465
|
if (J === b)
|
|
1466
1466
|
return d(!1);
|
|
1467
|
-
if (J && t === e.target && (n = J), n && (i = at(n)),
|
|
1467
|
+
if (J && t === e.target && (n = J), n && (i = at(n)), pe(K, t, b, a, n, i, e, !!n) !== !1)
|
|
1468
1468
|
return S(), J && J.nextSibling ? t.insertBefore(b, J.nextSibling) : t.appendChild(b), Q = t, H(), d(!0);
|
|
1469
1469
|
} else if (J && xo(e, p, this)) {
|
|
1470
1470
|
var O = Jt(t, 0, l, !0);
|
|
1471
1471
|
if (O === b)
|
|
1472
1472
|
return d(!1);
|
|
1473
|
-
if (n = O, i = at(n),
|
|
1473
|
+
if (n = O, i = at(n), pe(K, t, b, a, n, i, e, !1) !== !1)
|
|
1474
1474
|
return S(), t.insertBefore(b, O), Q = t, H(), d(!0);
|
|
1475
1475
|
} else if (n.parentNode === t) {
|
|
1476
1476
|
i = at(n);
|
|
1477
1477
|
var x = 0, I, V = b.parentNode !== t, D = !_o(b.animated && b.toRect || a, n.animated && n.toRect || i, p), Y = p ? "top" : "left", g = dn(n, "top", "top") || dn(b, "top", "top"), $ = g ? g.scrollTop : void 0;
|
|
1478
|
-
Yt !== n && (I = i[Y], re = !1,
|
|
1478
|
+
Yt !== n && (I = i[Y], re = !1, he = !D && l.invertSwap || V), x = To(e, n, i, p, D ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, he, Yt === n);
|
|
1479
1479
|
var G;
|
|
1480
1480
|
if (x !== 0) {
|
|
1481
1481
|
var A = wt(b);
|
|
@@ -1488,9 +1488,9 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1488
1488
|
Yt = n, ie = x;
|
|
1489
1489
|
var _ = n.nextElementSibling, m = !1;
|
|
1490
1490
|
m = x === 1;
|
|
1491
|
-
var C =
|
|
1491
|
+
var C = pe(K, t, b, a, n, i, e, m);
|
|
1492
1492
|
if (C !== !1)
|
|
1493
|
-
return (C === 1 || C === -1) && (m = C === 1), Ue = !0, setTimeout(So, 30), S(), m && !_ ? t.appendChild(b) : n.parentNode.insertBefore(b, m ? _ : n), g && An(g, 0, $ - g.scrollTop), Q = b.parentNode, I !== void 0 && !
|
|
1493
|
+
return (C === 1 || C === -1) && (m = C === 1), Ue = !0, setTimeout(So, 30), S(), m && !_ ? t.appendChild(b) : n.parentNode.insertBefore(b, m ? _ : n), g && An(g, 0, $ - g.scrollTop), Q = b.parentNode, I !== void 0 && !he && (be = Math.abs(I - at(n)[Y])), H(), d(!0);
|
|
1494
1494
|
}
|
|
1495
1495
|
if (t.contains(b))
|
|
1496
1496
|
return d(!1);
|
|
@@ -1513,7 +1513,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1513
1513
|
this._nulling();
|
|
1514
1514
|
return;
|
|
1515
1515
|
}
|
|
1516
|
-
zt = !1,
|
|
1516
|
+
zt = !1, he = !1, re = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ye(this.cloneId), Ye(this._dragStartId), this.nativeDraggable && (L(document, "drop", this), L(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ne && P(document.body, "user-select", ""), P(b, "transform", ""), e && (Qt && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), N && N.parentNode && N.parentNode.removeChild(N), (K === Q || rt && rt.lastPutMode !== "clone") && Z && Z.parentNode && Z.parentNode.removeChild(Z), b && (this.nativeDraggable && L(b, "dragend", this), Fe(b), b.style["will-change"] = "", Qt && !zt && yt(b, rt ? rt.options.ghostClass : this.options.ghostClass, !1), yt(b, this.options.chosenClass, !1), ft({
|
|
1517
1517
|
sortable: this,
|
|
1518
1518
|
name: "unchoose",
|
|
1519
1519
|
toEl: Q,
|
|
@@ -1560,9 +1560,9 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1560
1560
|
}), this.save()))), this._nulling();
|
|
1561
1561
|
},
|
|
1562
1562
|
_nulling: function() {
|
|
1563
|
-
pt("nulling", this), K = b = Q = N = Lt = Z =
|
|
1563
|
+
pt("nulling", this), K = b = Q = N = Lt = Z = ye = Mt = Bt = Dt = Qt = _t = Ot = Ht = ae = Yt = ie = rt = fe = k.dragged = k.ghost = k.clone = k.active = null, xe.forEach(function(e) {
|
|
1564
1564
|
e.checked = !0;
|
|
1565
|
-
}),
|
|
1565
|
+
}), xe.length = Ie = Re = 0;
|
|
1566
1566
|
},
|
|
1567
1567
|
handleEvent: function(e) {
|
|
1568
1568
|
switch (e.type) {
|
|
@@ -1627,7 +1627,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1627
1627
|
var n = this.options;
|
|
1628
1628
|
if (t === void 0)
|
|
1629
1629
|
return n[e];
|
|
1630
|
-
var a =
|
|
1630
|
+
var a = ce.modifyOption(this, e, t);
|
|
1631
1631
|
typeof a < "u" ? n[e] = a : n[e] = t, e === "group" && Mn(n);
|
|
1632
1632
|
},
|
|
1633
1633
|
/**
|
|
@@ -1638,7 +1638,7 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1638
1638
|
var e = this.el;
|
|
1639
1639
|
e[vt] = null, L(e, "mousedown", this._onTapStart), L(e, "touchstart", this._onTapStart), L(e, "pointerdown", this._onTapStart), this.nativeDraggable && (L(e, "dragover", this), L(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
|
|
1640
1640
|
t.removeAttribute("draggable");
|
|
1641
|
-
}), this._onDrop(), this._disableDelayedDragEvents(),
|
|
1641
|
+
}), this._onDrop(), this._disableDelayedDragEvents(), Se.splice(Se.indexOf(this.el), 1), this.el = e = null;
|
|
1642
1642
|
},
|
|
1643
1643
|
_hideClone: function() {
|
|
1644
1644
|
if (!Mt) {
|
|
@@ -1660,9 +1660,9 @@ k.prototype = /** @lends Sortable.prototype */
|
|
|
1660
1660
|
function Do(o) {
|
|
1661
1661
|
o.dataTransfer && (o.dataTransfer.dropEffect = "move"), o.cancelable && o.preventDefault();
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1663
|
+
function pe(o, e, t, n, a, i, r, l) {
|
|
1664
1664
|
var s, u = o[vt], c = u.options.onMove, f;
|
|
1665
|
-
return window.CustomEvent && !kt && !
|
|
1665
|
+
return window.CustomEvent && !kt && !ue ? s = new CustomEvent("move", {
|
|
1666
1666
|
bubbles: !0,
|
|
1667
1667
|
cancelable: !0
|
|
1668
1668
|
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = o, s.dragged = t, s.draggedRect = n, s.related = a || e, s.relatedRect = i || at(e), s.willInsertAfter = l, s.originalEvent = r, o.dispatchEvent(s), c && (f = c.call(u, s, r)), f;
|
|
@@ -1684,10 +1684,10 @@ function Co(o, e, t) {
|
|
|
1684
1684
|
function To(o, e, t, n, a, i, r, l) {
|
|
1685
1685
|
var s = n ? o.clientY : o.clientX, u = n ? t.height : t.width, c = n ? t.top : t.left, f = n ? t.bottom : t.right, v = !1;
|
|
1686
1686
|
if (!r) {
|
|
1687
|
-
if (l &&
|
|
1687
|
+
if (l && be < u * a) {
|
|
1688
1688
|
if (!re && (ie === 1 ? s > c + u * i / 2 : s < f - u * i / 2) && (re = !0), re)
|
|
1689
1689
|
v = !0;
|
|
1690
|
-
else if (ie === 1 ? s < c +
|
|
1690
|
+
else if (ie === 1 ? s < c + be : s > f - be)
|
|
1691
1691
|
return -ie;
|
|
1692
1692
|
} else if (s > c + u * (1 - a) / 2 && s < f - u * (1 - a) / 2)
|
|
1693
1693
|
return Ao(e);
|
|
@@ -1703,13 +1703,13 @@ function $o(o) {
|
|
|
1703
1703
|
return n.toString(36);
|
|
1704
1704
|
}
|
|
1705
1705
|
function ko(o) {
|
|
1706
|
-
|
|
1706
|
+
xe.length = 0;
|
|
1707
1707
|
for (var e = o.getElementsByTagName("input"), t = e.length; t--; ) {
|
|
1708
1708
|
var n = e[t];
|
|
1709
|
-
n.checked &&
|
|
1709
|
+
n.checked && xe.push(n);
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1712
|
+
function _e(o) {
|
|
1713
1713
|
return setTimeout(o, 0);
|
|
1714
1714
|
}
|
|
1715
1715
|
function Ye(o) {
|
|
@@ -1732,7 +1732,7 @@ k.utils = {
|
|
|
1732
1732
|
toggleClass: yt,
|
|
1733
1733
|
clone: $n,
|
|
1734
1734
|
index: wt,
|
|
1735
|
-
nextTick:
|
|
1735
|
+
nextTick: _e,
|
|
1736
1736
|
cancelNextTick: Ye,
|
|
1737
1737
|
detectDirection: On,
|
|
1738
1738
|
getChild: Jt,
|
|
@@ -1747,14 +1747,14 @@ k.mount = function() {
|
|
|
1747
1747
|
e[0].constructor === Array && (e = e[0]), e.forEach(function(n) {
|
|
1748
1748
|
if (!n.prototype || !n.prototype.constructor)
|
|
1749
1749
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
|
|
1750
|
-
n.utils && (k.utils = Tt(Tt({}, k.utils), n.utils)),
|
|
1750
|
+
n.utils && (k.utils = Tt(Tt({}, k.utils), n.utils)), ce.mount(n);
|
|
1751
1751
|
});
|
|
1752
1752
|
};
|
|
1753
1753
|
k.create = function(o, e) {
|
|
1754
1754
|
return new k(o, e);
|
|
1755
1755
|
};
|
|
1756
1756
|
k.version = uo;
|
|
1757
|
-
var ot = [], te, ze, He = !1, Be, Ve,
|
|
1757
|
+
var ot = [], te, ze, He = !1, Be, Ve, Ce, ee;
|
|
1758
1758
|
function Po() {
|
|
1759
1759
|
function o() {
|
|
1760
1760
|
this.defaults = {
|
|
@@ -1777,26 +1777,26 @@ function Po() {
|
|
|
1777
1777
|
!this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
|
|
1778
1778
|
},
|
|
1779
1779
|
drop: function() {
|
|
1780
|
-
this.sortable.nativeDraggable ? L(document, "dragover", this._handleAutoScroll) : (L(document, "pointermove", this._handleFallbackAutoScroll), L(document, "touchmove", this._handleFallbackAutoScroll), L(document, "mousemove", this._handleFallbackAutoScroll)), mn(),
|
|
1780
|
+
this.sortable.nativeDraggable ? L(document, "dragover", this._handleAutoScroll) : (L(document, "pointermove", this._handleFallbackAutoScroll), L(document, "touchmove", this._handleFallbackAutoScroll), L(document, "mousemove", this._handleFallbackAutoScroll)), mn(), we(), ho();
|
|
1781
1781
|
},
|
|
1782
1782
|
nulling: function() {
|
|
1783
|
-
|
|
1783
|
+
Ce = ze = te = He = ee = Be = Ve = null, ot.length = 0;
|
|
1784
1784
|
},
|
|
1785
1785
|
_handleFallbackAutoScroll: function(t) {
|
|
1786
1786
|
this._handleAutoScroll(t, !0);
|
|
1787
1787
|
},
|
|
1788
1788
|
_handleAutoScroll: function(t, n) {
|
|
1789
1789
|
var a = this, i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(i, r);
|
|
1790
|
-
if (
|
|
1790
|
+
if (Ce = t, n || this.options.forceAutoScrollFallback || ue || kt || ne) {
|
|
1791
1791
|
Le(t, this.options, l, n);
|
|
1792
1792
|
var s = It(l, !0);
|
|
1793
1793
|
He && (!ee || i !== Be || r !== Ve) && (ee && mn(), ee = setInterval(function() {
|
|
1794
1794
|
var u = It(document.elementFromPoint(i, r), !0);
|
|
1795
|
-
u !== s && (s = u,
|
|
1795
|
+
u !== s && (s = u, we()), Le(t, a.options, u, n);
|
|
1796
1796
|
}, 10), Be = i, Ve = r);
|
|
1797
1797
|
} else {
|
|
1798
1798
|
if (!this.options.bubbleScroll || It(l, !0) === Ct()) {
|
|
1799
|
-
|
|
1799
|
+
we();
|
|
1800
1800
|
return;
|
|
1801
1801
|
}
|
|
1802
1802
|
Le(t, this.options, It(l, !1), !1);
|
|
@@ -1807,7 +1807,7 @@ function Po() {
|
|
|
1807
1807
|
initializeByDefault: !0
|
|
1808
1808
|
});
|
|
1809
1809
|
}
|
|
1810
|
-
function
|
|
1810
|
+
function we() {
|
|
1811
1811
|
ot.forEach(function(o) {
|
|
1812
1812
|
clearInterval(o.pid);
|
|
1813
1813
|
}), ot = [];
|
|
@@ -1818,7 +1818,7 @@ function mn() {
|
|
|
1818
1818
|
var Le = Tn(function(o, e, t, n) {
|
|
1819
1819
|
if (e.scroll) {
|
|
1820
1820
|
var a = (o.touches ? o.touches[0] : o).clientX, i = (o.touches ? o.touches[0] : o).clientY, r = e.scrollSensitivity, l = e.scrollSpeed, s = Ct(), u = !1, c;
|
|
1821
|
-
ze !== t && (ze = t,
|
|
1821
|
+
ze !== t && (ze = t, we(), te = e.scroll, c = e.scrollFn, te === !0 && (te = It(t, !0)));
|
|
1822
1822
|
var f = 0, v = te;
|
|
1823
1823
|
do {
|
|
1824
1824
|
var p = v, h = at(p), y = h.top, T = h.bottom, S = h.left, d = h.right, H = h.width, J = h.height, O = void 0, x = void 0, I = p.scrollWidth, V = p.scrollHeight, D = P(p), Y = p.scrollLeft, g = p.scrollTop;
|
|
@@ -1828,9 +1828,9 @@ var Le = Tn(function(o, e, t, n) {
|
|
|
1828
1828
|
for (var A = 0; A <= f; A++)
|
|
1829
1829
|
ot[A] || (ot[A] = {});
|
|
1830
1830
|
(ot[f].vx != $ || ot[f].vy != G || ot[f].el !== p) && (ot[f].el = p, ot[f].vx = $, ot[f].vy = G, clearInterval(ot[f].pid), ($ != 0 || G != 0) && (u = !0, ot[f].pid = setInterval((function() {
|
|
1831
|
-
n && this.layer === 0 && k.active._onTouchMove(
|
|
1831
|
+
n && this.layer === 0 && k.active._onTouchMove(Ce);
|
|
1832
1832
|
var _ = ot[this.layer].vy ? ot[this.layer].vy * l : 0, m = ot[this.layer].vx ? ot[this.layer].vx * l : 0;
|
|
1833
|
-
typeof c == "function" && c.call(k.dragged.parentNode[vt], m, _, o,
|
|
1833
|
+
typeof c == "function" && c.call(k.dragged.parentNode[vt], m, _, o, Ce, ot[this.layer].el) !== "continue" || An(ot[this.layer].el, m, _);
|
|
1834
1834
|
}).bind({
|
|
1835
1835
|
layer: f
|
|
1836
1836
|
}), 24))), f++;
|
|
@@ -1908,7 +1908,7 @@ const Oo = { class: "extra-button-content" }, Mo = {
|
|
|
1908
1908
|
name: (l == null ? void 0 : l.prop) ?? ""
|
|
1909
1909
|
}));
|
|
1910
1910
|
};
|
|
1911
|
-
return
|
|
1911
|
+
return $e(() => {
|
|
1912
1912
|
a(t.columns);
|
|
1913
1913
|
}), xt(
|
|
1914
1914
|
() => t.columns,
|
|
@@ -2054,7 +2054,7 @@ const Oo = { class: "extra-button-content" }, Mo = {
|
|
|
2054
2054
|
emits: ["dbClickRow", "fixRow", "deleteRow", "doSizeChange", "doCurrentChange", "buttonClick", "contentClick"],
|
|
2055
2055
|
setup(o, { emit: e }) {
|
|
2056
2056
|
const t = o, n = z([]), a = z([]), i = z(0), r = z(null), l = z(null), s = e;
|
|
2057
|
-
|
|
2057
|
+
$e(() => {
|
|
2058
2058
|
n.value = t == null ? void 0 : t.columns, a.value = t == null ? void 0 : t.tableData, t.isMoveColumn && S(), d();
|
|
2059
2059
|
});
|
|
2060
2060
|
const u = (O) => {
|
|
@@ -2621,7 +2621,7 @@ const Oo = { class: "extra-button-content" }, Mo = {
|
|
|
2621
2621
|
* Signature Pad v3.0.0-beta.4 | https://github.com/szimek/signature_pad
|
|
2622
2622
|
* (c) 2020 Szymon Nowak | Released under the MIT license
|
|
2623
2623
|
*/
|
|
2624
|
-
class
|
|
2624
|
+
class Te {
|
|
2625
2625
|
constructor(e, t, n) {
|
|
2626
2626
|
this.x = e, this.y = t, this.time = n || Date.now();
|
|
2627
2627
|
}
|
|
@@ -2646,8 +2646,8 @@ class Ze {
|
|
|
2646
2646
|
static calculateControlPoints(e, t, n) {
|
|
2647
2647
|
const a = e.x - t.x, i = e.y - t.y, r = t.x - n.x, l = t.y - n.y, s = { x: (e.x + t.x) / 2, y: (e.y + t.y) / 2 }, u = { x: (t.x + n.x) / 2, y: (t.y + n.y) / 2 }, c = Math.sqrt(a * a + i * i), f = Math.sqrt(r * r + l * l), v = s.x - u.x, p = s.y - u.y, h = f / (c + f), y = { x: u.x + v * h, y: u.y + p * h }, T = t.x - y.x, S = t.y - y.y;
|
|
2648
2648
|
return {
|
|
2649
|
-
c1: new
|
|
2650
|
-
c2: new
|
|
2649
|
+
c1: new Te(s.x + T, s.y + S),
|
|
2650
|
+
c2: new Te(u.x + T, u.y + S)
|
|
2651
2651
|
};
|
|
2652
2652
|
}
|
|
2653
2653
|
length() {
|
|
@@ -2676,7 +2676,7 @@ function aa(o, e = 250) {
|
|
|
2676
2676
|
return i = this, r = u, f <= 0 || f > e ? (n && (clearTimeout(n), n = null), t = c, a = o.apply(i, r), n || (i = null, r = [])) : n || (n = window.setTimeout(l, f)), a;
|
|
2677
2677
|
};
|
|
2678
2678
|
}
|
|
2679
|
-
class
|
|
2679
|
+
class Ae {
|
|
2680
2680
|
constructor(e, t = {}) {
|
|
2681
2681
|
this.canvas = e, this.options = t, this._handleMouseDown = (n) => {
|
|
2682
2682
|
n.which === 1 && (this._mouseButtonDown = !0, this._strokeBegin(n));
|
|
@@ -2701,7 +2701,7 @@ class $e {
|
|
|
2701
2701
|
}
|
|
2702
2702
|
}, this.velocityFilterWeight = t.velocityFilterWeight || 0.7, this.minWidth = t.minWidth || 0.5, this.maxWidth = t.maxWidth || 2.5, this.throttle = "throttle" in t ? t.throttle : 16, this.minDistance = "minDistance" in t ? t.minDistance : 5, this.dotSize = t.dotSize || function() {
|
|
2703
2703
|
return (this.minWidth + this.maxWidth) / 2;
|
|
2704
|
-
}, this.penColor = t.penColor || "black", this.backgroundColor = t.backgroundColor || "rgba(0,0,0,0)", this.onBegin = t.onBegin, this.onEnd = t.onEnd, this._strokeMoveUpdate = this.throttle ? aa(
|
|
2704
|
+
}, this.penColor = t.penColor || "black", this.backgroundColor = t.backgroundColor || "rgba(0,0,0,0)", this.onBegin = t.onBegin, this.onEnd = t.onEnd, this._strokeMoveUpdate = this.throttle ? aa(Ae.prototype._strokeUpdate, this.throttle) : Ae.prototype._strokeUpdate, this._ctx = e.getContext("2d"), this.clear(), this.on();
|
|
2705
2705
|
}
|
|
2706
2706
|
clear() {
|
|
2707
2707
|
const { _ctx: e, canvas: t } = this;
|
|
@@ -2777,7 +2777,7 @@ class $e {
|
|
|
2777
2777
|
}
|
|
2778
2778
|
_createPoint(e, t) {
|
|
2779
2779
|
const n = this.canvas.getBoundingClientRect();
|
|
2780
|
-
return new
|
|
2780
|
+
return new Te(e - n.left, t - n.top, (/* @__PURE__ */ new Date()).getTime());
|
|
2781
2781
|
}
|
|
2782
2782
|
_addPoint(e) {
|
|
2783
2783
|
const { _lastPoints: t } = this;
|
|
@@ -2825,7 +2825,7 @@ class $e {
|
|
|
2825
2825
|
const { color: i, points: r } = a;
|
|
2826
2826
|
if (r.length > 1)
|
|
2827
2827
|
for (let l = 0; l < r.length; l += 1) {
|
|
2828
|
-
const s = r[l], u = new
|
|
2828
|
+
const s = r[l], u = new Te(s.x, s.y, s.time);
|
|
2829
2829
|
this.penColor = i, l === 0 && this._reset();
|
|
2830
2830
|
const c = this._addPoint(u);
|
|
2831
2831
|
c && t({ color: i, curve: c });
|
|
@@ -3097,8 +3097,8 @@ var ua = /* @__PURE__ */ Xe({
|
|
|
3097
3097
|
function O() {
|
|
3098
3098
|
t.signaturePad.clear(), e.emit("input", null);
|
|
3099
3099
|
}
|
|
3100
|
-
return
|
|
3101
|
-
const x = a.value, I = new
|
|
3100
|
+
return $e(() => {
|
|
3101
|
+
const x = a.value, I = new Ae(x, {
|
|
3102
3102
|
onEnd: u,
|
|
3103
3103
|
...o.options
|
|
3104
3104
|
});
|
|
@@ -3330,11 +3330,7 @@ const ya = { class: "form-content-view" }, ba = { class: "form-item-label-child"
|
|
|
3330
3330
|
},
|
|
3331
3331
|
emits: ["change", "onButtonClick"],
|
|
3332
3332
|
setup(o, { emit: e }) {
|
|
3333
|
-
const t = o
|
|
3334
|
-
ue(() => {
|
|
3335
|
-
console.log("表单", t);
|
|
3336
|
-
});
|
|
3337
|
-
const n = e, a = z(null), i = z(null), r = z(), l = z(), s = (v) => Qe(v), u = () => {
|
|
3333
|
+
const t = o, n = e, a = z(null), i = z(null), r = z(), l = z(), s = (v) => Qe(v), u = () => {
|
|
3338
3334
|
Xt(() => {
|
|
3339
3335
|
a.value && a.value.resetFields(), i.value && i.value.resetFields();
|
|
3340
3336
|
});
|
|
@@ -3541,7 +3537,7 @@ const ya = { class: "form-content-view" }, ba = { class: "form-item-label-child"
|
|
|
3541
3537
|
], 4);
|
|
3542
3538
|
};
|
|
3543
3539
|
}
|
|
3544
|
-
}, xa = /* @__PURE__ */ Rt(Sa, [["__scopeId", "data-v-
|
|
3540
|
+
}, xa = /* @__PURE__ */ Rt(Sa, [["__scopeId", "data-v-f1cb4dff"]]);
|
|
3545
3541
|
export {
|
|
3546
3542
|
ma as S,
|
|
3547
3543
|
Jn as _,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as b, computed as K, watch as D } from "vue";
|
|
2
|
-
import { c as H, u as x, d as B, g as M } from "./index-
|
|
3
|
-
import { E as n, s as f, u as E } from "./menu-
|
|
4
|
-
import { a as F } from "./index-
|
|
2
|
+
import { c as H, u as x, d as B, g as M } from "./index-Du-s_IGe.js";
|
|
3
|
+
import { E as n, s as f, u as E } from "./menu-CAlO6ojx.js";
|
|
4
|
+
import { a as F } from "./index-DreX5xyP.js";
|
|
5
5
|
import { d as S, i as I, e as C } from "./crypto-BRyGpjGR.js";
|
|
6
|
-
import { u as N } from "./login-
|
|
7
|
-
import { u as P } from "./modelComp-
|
|
8
|
-
import { E as w } from "./index-
|
|
9
|
-
import { c as _ } from "./cloneDeep-
|
|
6
|
+
import { u as N } from "./login-CbLjVnvi.js";
|
|
7
|
+
import { u as P } from "./modelComp-D9gZ6ZkE.js";
|
|
8
|
+
import { E as w } from "./index-D-auhS5f.js";
|
|
9
|
+
import { c as _ } from "./cloneDeep-BcK4cO7a.js";
|
|
10
10
|
const T = N(), { superAdminInfo: O, cryptoInfo: r } = f(T), U = E(), { activeMenuPath: d } = f(U), y = "123456", j = P(), { itemData: z } = f(j), g = b(0), L = b([
|
|
11
11
|
{
|
|
12
12
|
label: "用户名称",
|