low-code-form-generator 1.0.18 → 1.0.19
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/low-code-form.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, createElementBlock as l, openBlock as o, createElementVNode as r, ref as F, nextTick as J2, reactive as L1, normalizeClass as P0, unref as M2, renderSlot as l1, computed as G2, onUnmounted as s1, normalizeStyle as i1, onMounted as c1, resolveComponent as N, createBlock as
|
|
1
|
+
import { defineComponent as s, createElementBlock as l, openBlock as o, createElementVNode as r, ref as F, nextTick as J2, reactive as L1, normalizeClass as P0, unref as M2, renderSlot as l1, computed as G2, onUnmounted as s1, normalizeStyle as i1, onMounted as c1, resolveComponent as N, createBlock as Q, withCtx as z, resolveDynamicComponent as T1, h as f2, createVNode as g, withDirectives as B0, createCommentVNode as z2, vShow as A0, Fragment as V2, createTextVNode as w2, renderList as z0, createSlots as r4, toDisplayString as h0, createApp as u1, watch as x1, onBeforeUnmount as n4, Teleport as o4 } from "vue";
|
|
2
2
|
import * as L2 from "element-plus";
|
|
3
3
|
import { ElMessage as C1, ElMessageBox as l4 } from "element-plus";
|
|
4
4
|
const s4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -166,7 +166,7 @@ function y2() {
|
|
|
166
166
|
var t = document.scrollingElement;
|
|
167
167
|
return t || document.documentElement;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Z(t, e, a, n, i) {
|
|
170
170
|
if (!(!t.getBoundingClientRect && t !== window)) {
|
|
171
171
|
var c, u, p, _, m, d, h;
|
|
172
172
|
if (t !== window && t.parentNode && t !== y2() ? (c = t.getBoundingClientRect(), u = c.top, p = c.left, _ = c.bottom, m = c.right, d = c.height, h = c.width) : (u = 0, p = 0, _ = window.innerHeight, m = window.innerWidth, d = window.innerHeight, h = window.innerWidth), (e || a) && t !== window && (i = i || t.parentNode, !F2))
|
|
@@ -192,8 +192,8 @@ function Q(t, e, a, n, i) {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
function H1(t, e, a) {
|
|
195
|
-
for (var n = R2(t, !0), i =
|
|
196
|
-
var c =
|
|
195
|
+
for (var n = R2(t, !0), i = Z(t)[e]; n; ) {
|
|
196
|
+
var c = Z(n)[a], u = void 0;
|
|
197
197
|
if (u = i >= c, !u) return n;
|
|
198
198
|
if (n === y2()) break;
|
|
199
199
|
n = R2(n, !1);
|
|
@@ -291,7 +291,7 @@ function q1(t, e, a) {
|
|
|
291
291
|
return Array.from(t.children).forEach(function(i) {
|
|
292
292
|
var c, u, p, _;
|
|
293
293
|
if (!(!H2(i, e.draggable, t, !1) || i.animated || i === a)) {
|
|
294
|
-
var m =
|
|
294
|
+
var m = Z(i);
|
|
295
295
|
n.left = Math.min((c = n.left) !== null && c !== void 0 ? c : 1 / 0, m.left), n.top = Math.min((u = n.top) !== null && u !== void 0 ? u : 1 / 0, m.top), n.right = Math.max((p = n.right) !== null && p !== void 0 ? p : -1 / 0, m.right), n.bottom = Math.max((_ = n.bottom) !== null && _ !== void 0 ? _ : -1 / 0, m.bottom);
|
|
296
296
|
}
|
|
297
297
|
}), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
|
|
@@ -307,7 +307,7 @@ function d4() {
|
|
|
307
307
|
if (!(V(i, "display") === "none" || i === H.ghost)) {
|
|
308
308
|
t.push({
|
|
309
309
|
target: i,
|
|
310
|
-
rect:
|
|
310
|
+
rect: Z(i)
|
|
311
311
|
});
|
|
312
312
|
var c = S2({}, t[t.length - 1].rect);
|
|
313
313
|
if (i.thisAnimationDuration) {
|
|
@@ -335,7 +335,7 @@ function d4() {
|
|
|
335
335
|
}
|
|
336
336
|
var c = !1, u = 0;
|
|
337
337
|
t.forEach(function(p) {
|
|
338
|
-
var _ = 0, m = p.target, d = m.fromRect, h =
|
|
338
|
+
var _ = 0, m = p.target, d = m.fromRect, h = Z(m), w = m.prevFromRect, E = m.prevToRect, M = p.rect, y = e0(m, !0);
|
|
339
339
|
y && (h.top -= y.f, h.left -= y.e), m.toRect = h, m.thisAnimationDuration && q0(w, h) && !q0(d, h) && // Make sure animatingRect is on line between toRect & fromRect
|
|
340
340
|
(M.top - h.top) / (M.left - h.left) === (d.top - h.top) / (d.left - h.left) && (_ = f4(M, w, E, i.options)), q0(h, d) || (m.prevFromRect = d, m.prevToRect = h, _ || (_ = i.options.animation), i.animate(m, M, h, _)), _ && (c = !0, u = Math.max(u, _), clearTimeout(m.animationResetTimer), m.animationResetTimer = setTimeout(function() {
|
|
341
341
|
m.animationTime = 0, m.prevFromRect = null, m.fromRect = null, m.prevToRect = null, m.thisAnimationDuration = null;
|
|
@@ -361,12 +361,12 @@ function v4(t) {
|
|
|
361
361
|
function f4(t, e, a, n) {
|
|
362
362
|
return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - a.top, 2) + Math.pow(e.left - a.left, 2)) * n.animation;
|
|
363
363
|
}
|
|
364
|
-
var X2 = [],
|
|
364
|
+
var X2 = [], $0 = {
|
|
365
365
|
initializeByDefault: !0
|
|
366
366
|
}, v0 = {
|
|
367
367
|
mount: function(e) {
|
|
368
|
-
for (var a in
|
|
369
|
-
|
|
368
|
+
for (var a in $0)
|
|
369
|
+
$0.hasOwnProperty(a) && !(a in e) && (e[a] = $0[a]);
|
|
370
370
|
X2.forEach(function(n) {
|
|
371
371
|
if (n.pluginName === e.pluginName)
|
|
372
372
|
throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
|
|
@@ -422,8 +422,8 @@ function w4(t) {
|
|
|
422
422
|
cancelable: !0
|
|
423
423
|
}) : (y = document.createEvent("Event"), y.initEvent(n, !0, !0)), y.to = u || a, y.from = p || a, y.item = i || a, y.clone = c, y.oldIndex = _, y.newIndex = m, y.oldDraggableIndex = d, y.newDraggableIndex = h, y.originalEvent = w, y.pullMode = E ? E.lastPutMode : void 0;
|
|
424
424
|
var O = S2(S2({}, M), v0.getEventProperties(n, e));
|
|
425
|
-
for (var
|
|
426
|
-
y[
|
|
425
|
+
for (var e2 in O)
|
|
426
|
+
y[e2] = O[e2];
|
|
427
427
|
a && a.dispatchEvent(y), L[R] && L[R].call(e, y);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
@@ -433,7 +433,7 @@ var g4 = ["evt"], u2 = function(e, a) {
|
|
|
433
433
|
dragEl: f,
|
|
434
434
|
parentEl: G,
|
|
435
435
|
ghostEl: S,
|
|
436
|
-
rootEl:
|
|
436
|
+
rootEl: j,
|
|
437
437
|
nextEl: W2,
|
|
438
438
|
lastDownEl: E0,
|
|
439
439
|
cloneEl: Y,
|
|
@@ -468,22 +468,22 @@ function l2(t) {
|
|
|
468
468
|
putSortable: a2,
|
|
469
469
|
cloneEl: Y,
|
|
470
470
|
targetEl: f,
|
|
471
|
-
rootEl:
|
|
471
|
+
rootEl: j,
|
|
472
472
|
oldIndex: Z2,
|
|
473
473
|
oldDraggableIndex: u0,
|
|
474
474
|
newIndex: v2,
|
|
475
475
|
newDraggableIndex: N2
|
|
476
476
|
}, t));
|
|
477
477
|
}
|
|
478
|
-
var f, G, S,
|
|
478
|
+
var f, G, S, j, W2, E0, Y, P2, Z2, v2, u0, N2, g0, a2, Q2 = !1, L0 = !1, T0 = [], U2, b2, j0, U0, V1, y1, o0, K2, p0, _0 = !1, x0 = !1, V0, n2, Y0 = [], Q0 = !1, F0 = [], I0 = typeof document < "u", C0 = p1, S1 = d0 || F2 ? "cssFloat" : "float", x4 = I0 && !F1 && !p1 && "draggable" in document.createElement("div"), $1 = function() {
|
|
479
479
|
if (I0) {
|
|
480
480
|
if (F2)
|
|
481
481
|
return !1;
|
|
482
482
|
var t = document.createElement("x");
|
|
483
483
|
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
484
484
|
}
|
|
485
|
-
}(),
|
|
486
|
-
var n = V(e), i = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), c = t0(e, 0, a), u = t0(e, 1, a), p = c && V(c), _ = u && V(u), m = p && parseInt(p.marginLeft) + parseInt(p.marginRight) +
|
|
485
|
+
}(), j1 = function(e, a) {
|
|
486
|
+
var n = V(e), i = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), c = t0(e, 0, a), u = t0(e, 1, a), p = c && V(c), _ = u && V(u), m = p && parseInt(p.marginLeft) + parseInt(p.marginRight) + Z(c).width, d = _ && parseInt(_.marginLeft) + parseInt(_.marginRight) + Z(u).width;
|
|
487
487
|
if (n.display === "flex")
|
|
488
488
|
return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
489
489
|
if (n.display === "grid")
|
|
@@ -501,7 +501,7 @@ var f, G, S, $, W2, E0, Y, P2, Z2, v2, u0, N2, g0, a2, Q2 = !1, L0 = !1, T0 = []
|
|
|
501
501
|
return T0.some(function(i) {
|
|
502
502
|
var c = i[_2].options.emptyInsertThreshold;
|
|
503
503
|
if (!(!c || _1(i))) {
|
|
504
|
-
var u =
|
|
504
|
+
var u = Z(i), p = e >= u.left - c && e <= u.right + c, _ = a >= u.top - c && a <= u.bottom + c;
|
|
505
505
|
if (p && _)
|
|
506
506
|
return n = i;
|
|
507
507
|
}
|
|
@@ -527,9 +527,9 @@ var f, G, S, $, W2, E0, Y, P2, Z2, v2, u0, N2, g0, a2, Q2 = !1, L0 = !1, T0 = []
|
|
|
527
527
|
name: i
|
|
528
528
|
}), n.name = i.name, n.checkPull = a(i.pull, !0), n.checkPut = a(i.put), n.revertClone = i.revertClone, e.group = n;
|
|
529
529
|
}, Y1 = function() {
|
|
530
|
-
|
|
530
|
+
!$1 && S && V(S, "display", "none");
|
|
531
531
|
}, W1 = function() {
|
|
532
|
-
|
|
532
|
+
!$1 && S && V(S, "display", "");
|
|
533
533
|
};
|
|
534
534
|
I0 && !F1 && document.addEventListener("click", function(t) {
|
|
535
535
|
if (L0)
|
|
@@ -568,7 +568,7 @@ function H(t, e) {
|
|
|
568
568
|
// will be set to same as swapThreshold if default
|
|
569
569
|
removeCloneOnHide: !0,
|
|
570
570
|
direction: function() {
|
|
571
|
-
return
|
|
571
|
+
return j1(t, this.options);
|
|
572
572
|
},
|
|
573
573
|
ghostClass: "sortable-ghost",
|
|
574
574
|
chosenClass: "sortable-chosen",
|
|
@@ -657,8 +657,8 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
657
657
|
_prepareDragStart: function(e, a, n) {
|
|
658
658
|
var i = this, c = i.el, u = i.options, p = c.ownerDocument, _;
|
|
659
659
|
if (n && !f && n.parentNode === c) {
|
|
660
|
-
var m =
|
|
661
|
-
if (
|
|
660
|
+
var m = Z(n);
|
|
661
|
+
if (j = c, f = n, G = f.parentNode, W2 = f.nextSibling, E0 = n, g0 = u.group, H.dragged = f, U2 = {
|
|
662
662
|
target: f,
|
|
663
663
|
clientX: (a || e).clientX,
|
|
664
664
|
clientY: (a || e).clientY
|
|
@@ -700,7 +700,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
700
700
|
D(e, "mouseup", this._disableDelayedDrag), D(e, "touchend", this._disableDelayedDrag), D(e, "touchcancel", this._disableDelayedDrag), D(e, "pointerup", this._disableDelayedDrag), D(e, "pointercancel", this._disableDelayedDrag), D(e, "mousemove", this._delayedDragTouchMoveHandler), D(e, "touchmove", this._delayedDragTouchMoveHandler), D(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
701
701
|
},
|
|
702
702
|
_triggerDragStart: function(e, a) {
|
|
703
|
-
a = a || e.pointerType == "touch" && e, !this.nativeDraggable || a ? this.options.supportPointer ? T(document, "pointermove", this._onTouchMove) : a ? T(document, "touchmove", this._onTouchMove) : T(document, "mousemove", this._onTouchMove) : (T(f, "dragend", this), T(
|
|
703
|
+
a = a || e.pointerType == "touch" && e, !this.nativeDraggable || a ? this.options.supportPointer ? T(document, "pointermove", this._onTouchMove) : a ? T(document, "touchmove", this._onTouchMove) : T(document, "mousemove", this._onTouchMove) : (T(f, "dragend", this), T(j, "dragstart", this._onDragStart));
|
|
704
704
|
try {
|
|
705
705
|
document.selection ? y0(function() {
|
|
706
706
|
document.selection.empty();
|
|
@@ -709,7 +709,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
709
709
|
}
|
|
710
710
|
},
|
|
711
711
|
_dragStarted: function(e, a) {
|
|
712
|
-
if (Q2 = !1,
|
|
712
|
+
if (Q2 = !1, j && f) {
|
|
713
713
|
u2("dragStarted", this, {
|
|
714
714
|
evt: a
|
|
715
715
|
}), this.nativeDraggable && T(document, "dragover", b4);
|
|
@@ -753,7 +753,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
753
753
|
this._onDragStart(e, !0);
|
|
754
754
|
}
|
|
755
755
|
if (S) {
|
|
756
|
-
u ? (u.e += d - (
|
|
756
|
+
u ? (u.e += d - (j0 || 0), u.f += h - (U0 || 0)) : u = {
|
|
757
757
|
a: 1,
|
|
758
758
|
b: 0,
|
|
759
759
|
c: 0,
|
|
@@ -762,14 +762,14 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
762
762
|
f: h
|
|
763
763
|
};
|
|
764
764
|
var w = "matrix(".concat(u.a, ",").concat(u.b, ",").concat(u.c, ",").concat(u.d, ",").concat(u.e, ",").concat(u.f, ")");
|
|
765
|
-
V(S, "webkitTransform", w), V(S, "mozTransform", w), V(S, "msTransform", w), V(S, "transform", w),
|
|
765
|
+
V(S, "webkitTransform", w), V(S, "mozTransform", w), V(S, "msTransform", w), V(S, "transform", w), j0 = d, U0 = h, b2 = c;
|
|
766
766
|
}
|
|
767
767
|
e.cancelable && e.preventDefault();
|
|
768
768
|
}
|
|
769
769
|
},
|
|
770
770
|
_appendGhost: function() {
|
|
771
771
|
if (!S) {
|
|
772
|
-
var e = this.options.fallbackOnBody ? document.body :
|
|
772
|
+
var e = this.options.fallbackOnBody ? document.body : j, a = Z(f, !0, C0, !0, e), n = this.options;
|
|
773
773
|
if (C0) {
|
|
774
774
|
for (n2 = e; V(n2, "position") === "static" && V(n2, "transform") === "none" && n2 !== document; )
|
|
775
775
|
n2 = n2.parentNode;
|
|
@@ -787,7 +787,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
787
787
|
return;
|
|
788
788
|
}
|
|
789
789
|
u2("setupClone", this), H.eventCanceled || (Y = R1(f), Y.removeAttribute("id"), Y.draggable = !1, Y.style["will-change"] = "", this._hideClone(), d2(Y, this.options.chosenClass, !1), H.clone = Y), n.cloneId = y0(function() {
|
|
790
|
-
u2("clone", n), !H.eventCanceled && (n.options.removeCloneOnHide ||
|
|
790
|
+
u2("clone", n), !H.eventCanceled && (n.options.removeCloneOnHide || j.insertBefore(Y, f), n._hideClone(), l2({
|
|
791
791
|
sortable: n,
|
|
792
792
|
name: "clone"
|
|
793
793
|
}));
|
|
@@ -810,9 +810,9 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
810
810
|
target: n,
|
|
811
811
|
completed: O,
|
|
812
812
|
onMove: function(v, b) {
|
|
813
|
-
return M0(
|
|
813
|
+
return M0(j, a, f, i, v, Z(v), e, b);
|
|
814
814
|
},
|
|
815
|
-
changed:
|
|
815
|
+
changed: e2
|
|
816
816
|
}, r2));
|
|
817
817
|
}
|
|
818
818
|
function R() {
|
|
@@ -825,7 +825,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
825
825
|
L("dragOverAnimationComplete"), M._ignoreWhileAnimating = null;
|
|
826
826
|
}), M !== w && (w.animateAll(), w._ignoreWhileAnimating = null)), (n === f && !f.animated || n === a && !n.animated) && (K2 = null), !p.dragoverBubble && !e.rootEl && n !== document && (f.parentNode[_2]._isOutsideThisEl(e.target), !B2 && Y2(e)), !p.dragoverBubble && e.stopPropagation && e.stopPropagation(), y = !0;
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function e2() {
|
|
829
829
|
v2 = g2(f), N2 = g2(f, p.draggable), l2({
|
|
830
830
|
sortable: M,
|
|
831
831
|
name: "change",
|
|
@@ -838,41 +838,41 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
838
838
|
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = H2(n, p.draggable, a, !0), L("dragOver"), H.eventCanceled) return y;
|
|
839
839
|
if (f.contains(e.target) || n.animated && n.animatingX && n.animatingY || M._ignoreWhileAnimating === n)
|
|
840
840
|
return O(!1);
|
|
841
|
-
if (L0 = !1, m && !p.disabled && (d ? h || (u = G !==
|
|
842
|
-
if (E = this._getDirection(e, n) === "vertical", i =
|
|
841
|
+
if (L0 = !1, m && !p.disabled && (d ? h || (u = G !== j) : a2 === this || (this.lastPutMode = g0.checkPull(this, m, f, e)) && _.checkPut(this, m, f, e))) {
|
|
842
|
+
if (E = this._getDirection(e, n) === "vertical", i = Z(f), L("dragOverValid"), H.eventCanceled) return y;
|
|
843
843
|
if (u)
|
|
844
|
-
return G =
|
|
844
|
+
return G = j, R(), this._hideClone(), L("revert"), H.eventCanceled || (W2 ? j.insertBefore(f, W2) : j.appendChild(f)), O(!0);
|
|
845
845
|
var P = _1(a, p.draggable);
|
|
846
846
|
if (!P || V4(e, E, this) && !P.animated) {
|
|
847
847
|
if (P === f)
|
|
848
848
|
return O(!1);
|
|
849
|
-
if (P && a === e.target && (n = P), n && (c =
|
|
850
|
-
return R(), P && P.nextSibling ? a.insertBefore(f, P.nextSibling) : a.appendChild(f), G = a,
|
|
849
|
+
if (P && a === e.target && (n = P), n && (c = Z(n)), M0(j, a, f, i, n, c, e, !!n) !== !1)
|
|
850
|
+
return R(), P && P.nextSibling ? a.insertBefore(f, P.nextSibling) : a.appendChild(f), G = a, e2(), O(!0);
|
|
851
851
|
} else if (P && E4(e, E, this)) {
|
|
852
852
|
var m2 = t0(a, 0, p, !0);
|
|
853
853
|
if (m2 === f)
|
|
854
854
|
return O(!1);
|
|
855
|
-
if (n = m2, c =
|
|
856
|
-
return R(), a.insertBefore(f, m2), G = a,
|
|
855
|
+
if (n = m2, c = Z(n), M0(j, a, f, i, n, c, e, !1) !== !1)
|
|
856
|
+
return R(), a.insertBefore(f, m2), G = a, e2(), O(!0);
|
|
857
857
|
} else if (n.parentNode === a) {
|
|
858
|
-
c =
|
|
859
|
-
var s2 = 0, i2, E2 = f.parentNode !== a, t2 = !C4(f.animated && f.toRect || i, n.animated && n.toRect || c, E), A = E ? "top" : "left", x = H1(n, "top", "top") || H1(f, "top", "top"),
|
|
858
|
+
c = Z(n);
|
|
859
|
+
var s2 = 0, i2, E2 = f.parentNode !== a, t2 = !C4(f.animated && f.toRect || i, n.animated && n.toRect || c, E), A = E ? "top" : "left", x = H1(n, "top", "top") || H1(f, "top", "top"), J = x ? x.scrollTop : void 0;
|
|
860
860
|
K2 !== n && (i2 = c[A], _0 = !1, x0 = !t2 && p.invertSwap || E2), s2 = y4(e, n, c, E, t2 ? 1 : p.swapThreshold, p.invertedSwapThreshold == null ? p.swapThreshold : p.invertedSwapThreshold, x0, K2 === n);
|
|
861
|
-
var
|
|
861
|
+
var X;
|
|
862
862
|
if (s2 !== 0) {
|
|
863
863
|
var o2 = g2(f);
|
|
864
864
|
do
|
|
865
|
-
o2 -= s2,
|
|
866
|
-
while (
|
|
865
|
+
o2 -= s2, X = G.children[o2];
|
|
866
|
+
while (X && (V(X, "display") === "none" || X === S));
|
|
867
867
|
}
|
|
868
|
-
if (s2 === 0 ||
|
|
868
|
+
if (s2 === 0 || X === n)
|
|
869
869
|
return O(!1);
|
|
870
870
|
K2 = n, p0 = s2;
|
|
871
871
|
var W = n.nextElementSibling, I = !1;
|
|
872
872
|
I = s2 === 1;
|
|
873
|
-
var O2 = M0(
|
|
873
|
+
var O2 = M0(j, a, f, i, n, c, e, I);
|
|
874
874
|
if (O2 !== !1)
|
|
875
|
-
return (O2 === 1 || O2 === -1) && (I = O2 === 1), Q0 = !0, setTimeout(H4, 30), R(), I && !W ? a.appendChild(f) : n.parentNode.insertBefore(f, I ? W : n), x && I1(x, 0,
|
|
875
|
+
return (O2 === 1 || O2 === -1) && (I = O2 === 1), Q0 = !0, setTimeout(H4, 30), R(), I && !W ? a.appendChild(f) : n.parentNode.insertBefore(f, I ? W : n), x && I1(x, 0, J - x.scrollTop), G = f.parentNode, i2 !== void 0 && !x0 && (V0 = Math.abs(i2 - Z(n)[A])), e2(), O(!0);
|
|
876
876
|
}
|
|
877
877
|
if (a.contains(f))
|
|
878
878
|
return O(!1);
|
|
@@ -895,18 +895,18 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
895
895
|
this._nulling();
|
|
896
896
|
return;
|
|
897
897
|
}
|
|
898
|
-
Q2 = !1, x0 = !1, _0 = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Z0(this.cloneId), Z0(this._dragStartId), this.nativeDraggable && (D(document, "drop", this), D(a, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), i0 && V(document.body, "user-select", ""), V(f, "transform", ""), e && (o0 && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), S && S.parentNode && S.parentNode.removeChild(S), (
|
|
898
|
+
Q2 = !1, x0 = !1, _0 = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Z0(this.cloneId), Z0(this._dragStartId), this.nativeDraggable && (D(document, "drop", this), D(a, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), i0 && V(document.body, "user-select", ""), V(f, "transform", ""), e && (o0 && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), S && S.parentNode && S.parentNode.removeChild(S), (j === G || a2 && a2.lastPutMode !== "clone") && Y && Y.parentNode && Y.parentNode.removeChild(Y), f && (this.nativeDraggable && D(f, "dragend", this), W0(f), f.style["will-change"] = "", o0 && !Q2 && d2(f, a2 ? a2.options.ghostClass : this.options.ghostClass, !1), d2(f, this.options.chosenClass, !1), l2({
|
|
899
899
|
sortable: this,
|
|
900
900
|
name: "unchoose",
|
|
901
901
|
toEl: G,
|
|
902
902
|
newIndex: null,
|
|
903
903
|
newDraggableIndex: null,
|
|
904
904
|
originalEvent: e
|
|
905
|
-
}),
|
|
905
|
+
}), j !== G ? (v2 >= 0 && (l2({
|
|
906
906
|
rootEl: G,
|
|
907
907
|
name: "add",
|
|
908
908
|
toEl: G,
|
|
909
|
-
fromEl:
|
|
909
|
+
fromEl: j,
|
|
910
910
|
originalEvent: e
|
|
911
911
|
}), l2({
|
|
912
912
|
sortable: this,
|
|
@@ -917,7 +917,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
917
917
|
rootEl: G,
|
|
918
918
|
name: "sort",
|
|
919
919
|
toEl: G,
|
|
920
|
-
fromEl:
|
|
920
|
+
fromEl: j,
|
|
921
921
|
originalEvent: e
|
|
922
922
|
}), l2({
|
|
923
923
|
sortable: this,
|
|
@@ -942,9 +942,9 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
942
942
|
}), this.save()))), this._nulling();
|
|
943
943
|
},
|
|
944
944
|
_nulling: function() {
|
|
945
|
-
u2("nulling", this),
|
|
945
|
+
u2("nulling", this), j = f = G = S = W2 = Y = E0 = P2 = U2 = b2 = o0 = v2 = N2 = Z2 = u0 = K2 = p0 = a2 = g0 = H.dragged = H.ghost = H.clone = H.active = null, F0.forEach(function(e) {
|
|
946
946
|
e.checked = !0;
|
|
947
|
-
}), F0.length =
|
|
947
|
+
}), F0.length = j0 = U0 = 0;
|
|
948
948
|
},
|
|
949
949
|
handleEvent: function(e) {
|
|
950
950
|
switch (e.type) {
|
|
@@ -1035,7 +1035,7 @@ H.prototype = /** @lends Sortable.prototype */
|
|
|
1035
1035
|
}
|
|
1036
1036
|
if (P2) {
|
|
1037
1037
|
if (u2("showClone", this), H.eventCanceled) return;
|
|
1038
|
-
f.parentNode ==
|
|
1038
|
+
f.parentNode == j && !this.options.group.revertClone ? j.insertBefore(Y, f) : W2 ? j.insertBefore(Y, W2) : j.appendChild(Y), this.options.group.revertClone && this.animate(f, Y), V(Y, "display", ""), P2 = !1;
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
1041
|
};
|
|
@@ -1047,7 +1047,7 @@ function M0(t, e, a, n, i, c, u, p) {
|
|
|
1047
1047
|
return window.CustomEvent && !F2 && !d0 ? _ = new CustomEvent("move", {
|
|
1048
1048
|
bubbles: !0,
|
|
1049
1049
|
cancelable: !0
|
|
1050
|
-
}) : (_ = document.createEvent("Event"), _.initEvent("move", !0, !0)), _.to = e, _.from = t, _.dragged = a, _.draggedRect = n, _.related = i || e, _.relatedRect = c ||
|
|
1050
|
+
}) : (_ = document.createEvent("Event"), _.initEvent("move", !0, !0)), _.to = e, _.from = t, _.dragged = a, _.draggedRect = n, _.related = i || e, _.relatedRect = c || Z(e), _.willInsertAfter = p, _.originalEvent = u, t.dispatchEvent(_), d && (h = d.call(m, _, u)), h;
|
|
1051
1051
|
}
|
|
1052
1052
|
function W0(t) {
|
|
1053
1053
|
t.draggable = !1;
|
|
@@ -1056,11 +1056,11 @@ function H4() {
|
|
|
1056
1056
|
Q0 = !1;
|
|
1057
1057
|
}
|
|
1058
1058
|
function E4(t, e, a) {
|
|
1059
|
-
var n =
|
|
1059
|
+
var n = Z(t0(a.el, 0, a.options, !0)), i = q1(a.el, a.options, S), c = 10;
|
|
1060
1060
|
return e ? t.clientX < i.left - c || t.clientY < n.top && t.clientX < n.right : t.clientY < i.top - c || t.clientY < n.bottom && t.clientX < n.left;
|
|
1061
1061
|
}
|
|
1062
1062
|
function V4(t, e, a) {
|
|
1063
|
-
var n =
|
|
1063
|
+
var n = Z(_1(a.el, a.options.draggable)), i = q1(a.el, a.options, S), c = 10;
|
|
1064
1064
|
return e ? t.clientX > i.right + c || t.clientY > n.bottom && t.clientX > n.left : t.clientY > i.bottom + c || t.clientX > n.right && t.clientY > n.top;
|
|
1065
1065
|
}
|
|
1066
1066
|
function y4(t, e, a, n, i, c, u, p) {
|
|
@@ -1116,7 +1116,7 @@ H.utils = {
|
|
|
1116
1116
|
index: g2,
|
|
1117
1117
|
nextTick: y0,
|
|
1118
1118
|
cancelNextTick: Z0,
|
|
1119
|
-
detectDirection:
|
|
1119
|
+
detectDirection: j1,
|
|
1120
1120
|
getChild: t0,
|
|
1121
1121
|
expando: _2
|
|
1122
1122
|
};
|
|
@@ -1136,7 +1136,7 @@ H.create = function(t, e) {
|
|
|
1136
1136
|
return new H(t, e);
|
|
1137
1137
|
};
|
|
1138
1138
|
H.version = p4;
|
|
1139
|
-
var
|
|
1139
|
+
var K = [], l0, e1, t1 = !1, G0, J0, k0, s0;
|
|
1140
1140
|
function D4() {
|
|
1141
1141
|
function t() {
|
|
1142
1142
|
this.defaults = {
|
|
@@ -1162,7 +1162,7 @@ function D4() {
|
|
|
1162
1162
|
this.sortable.nativeDraggable ? D(document, "dragover", this._handleAutoScroll) : (D(document, "pointermove", this._handleFallbackAutoScroll), D(document, "touchmove", this._handleFallbackAutoScroll), D(document, "mousemove", this._handleFallbackAutoScroll)), B1(), S0(), h4();
|
|
1163
1163
|
},
|
|
1164
1164
|
nulling: function() {
|
|
1165
|
-
k0 = e1 = l0 = t1 = s0 = G0 = J0 = null,
|
|
1165
|
+
k0 = e1 = l0 = t1 = s0 = G0 = J0 = null, K.length = 0;
|
|
1166
1166
|
},
|
|
1167
1167
|
_handleFallbackAutoScroll: function(a) {
|
|
1168
1168
|
this._handleAutoScroll(a, !0);
|
|
@@ -1190,9 +1190,9 @@ function D4() {
|
|
|
1190
1190
|
});
|
|
1191
1191
|
}
|
|
1192
1192
|
function S0() {
|
|
1193
|
-
|
|
1193
|
+
K.forEach(function(t) {
|
|
1194
1194
|
clearInterval(t.pid);
|
|
1195
|
-
}),
|
|
1195
|
+
}), K = [];
|
|
1196
1196
|
}
|
|
1197
1197
|
function B1() {
|
|
1198
1198
|
clearInterval(s0);
|
|
@@ -1203,16 +1203,16 @@ var X0 = P1(function(t, e, a, n) {
|
|
|
1203
1203
|
e1 !== a && (e1 = a, S0(), l0 = e.scroll, d = e.scrollFn, l0 === !0 && (l0 = R2(a, !0)));
|
|
1204
1204
|
var h = 0, w = l0;
|
|
1205
1205
|
do {
|
|
1206
|
-
var E = w, M =
|
|
1207
|
-
E === _ ? (m2 =
|
|
1208
|
-
var
|
|
1209
|
-
if (!
|
|
1206
|
+
var E = w, M = Z(E), y = M.top, L = M.bottom, R = M.left, O = M.right, e2 = M.width, P = M.height, m2 = void 0, s2 = void 0, i2 = E.scrollWidth, E2 = E.scrollHeight, t2 = V(E), A = E.scrollLeft, x = E.scrollTop;
|
|
1207
|
+
E === _ ? (m2 = e2 < i2 && (t2.overflowX === "auto" || t2.overflowX === "scroll" || t2.overflowX === "visible"), s2 = P < E2 && (t2.overflowY === "auto" || t2.overflowY === "scroll" || t2.overflowY === "visible")) : (m2 = e2 < i2 && (t2.overflowX === "auto" || t2.overflowX === "scroll"), s2 = P < E2 && (t2.overflowY === "auto" || t2.overflowY === "scroll"));
|
|
1208
|
+
var J = m2 && (Math.abs(O - i) <= u && A + e2 < i2) - (Math.abs(R - i) <= u && !!A), X = s2 && (Math.abs(L - c) <= u && x + P < E2) - (Math.abs(y - c) <= u && !!x);
|
|
1209
|
+
if (!K[h])
|
|
1210
1210
|
for (var o2 = 0; o2 <= h; o2++)
|
|
1211
|
-
|
|
1212
|
-
(
|
|
1211
|
+
K[o2] || (K[o2] = {});
|
|
1212
|
+
(K[h].vx != J || K[h].vy != X || K[h].el !== E) && (K[h].el = E, K[h].vx = J, K[h].vy = X, clearInterval(K[h].pid), (J != 0 || X != 0) && (m = !0, K[h].pid = setInterval((function() {
|
|
1213
1213
|
n && this.layer === 0 && H.active._onTouchMove(k0);
|
|
1214
|
-
var W =
|
|
1215
|
-
typeof d == "function" && d.call(H.dragged.parentNode[_2], I, W, t, k0,
|
|
1214
|
+
var W = K[this.layer].vy ? K[this.layer].vy * p : 0, I = K[this.layer].vx ? K[this.layer].vx * p : 0;
|
|
1215
|
+
typeof d == "function" && d.call(H.dragged.parentNode[_2], I, W, t, k0, K[this.layer].el) !== "continue" || I1(K[this.layer].el, I, W);
|
|
1216
1216
|
}).bind({
|
|
1217
1217
|
layer: h
|
|
1218
1218
|
}), 24))), h++;
|
|
@@ -1533,7 +1533,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
1533
1533
|
})
|
|
1534
1534
|
]));
|
|
1535
1535
|
}
|
|
1536
|
-
}), q4 = R4,
|
|
1536
|
+
}), q4 = R4, $4 = /* @__PURE__ */ s({
|
|
1537
1537
|
name: "ArrowDown",
|
|
1538
1538
|
__name: "arrow-down",
|
|
1539
1539
|
setup(t) {
|
|
@@ -1547,7 +1547,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
1547
1547
|
})
|
|
1548
1548
|
]));
|
|
1549
1549
|
}
|
|
1550
|
-
}),
|
|
1550
|
+
}), j4 = $4, U4 = /* @__PURE__ */ s({
|
|
1551
1551
|
name: "ArrowLeftBold",
|
|
1552
1552
|
__name: "arrow-left-bold",
|
|
1553
1553
|
setup(t) {
|
|
@@ -1959,7 +1959,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
1959
1959
|
})
|
|
1960
1960
|
]));
|
|
1961
1961
|
}
|
|
1962
|
-
}), qe = Re,
|
|
1962
|
+
}), qe = Re, $e = /* @__PURE__ */ s({
|
|
1963
1963
|
name: "CaretLeft",
|
|
1964
1964
|
__name: "caret-left",
|
|
1965
1965
|
setup(t) {
|
|
@@ -1973,7 +1973,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
1973
1973
|
})
|
|
1974
1974
|
]));
|
|
1975
1975
|
}
|
|
1976
|
-
}),
|
|
1976
|
+
}), je = $e, Ue = /* @__PURE__ */ s({
|
|
1977
1977
|
name: "CaretRight",
|
|
1978
1978
|
__name: "caret-right",
|
|
1979
1979
|
setup(t) {
|
|
@@ -2386,7 +2386,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
2386
2386
|
})
|
|
2387
2387
|
]));
|
|
2388
2388
|
}
|
|
2389
|
-
}), q6 = R6,
|
|
2389
|
+
}), q6 = R6, $6 = /* @__PURE__ */ s({
|
|
2390
2390
|
name: "Coin",
|
|
2391
2391
|
__name: "coin",
|
|
2392
2392
|
setup(t) {
|
|
@@ -2408,7 +2408,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
2408
2408
|
})
|
|
2409
2409
|
]));
|
|
2410
2410
|
}
|
|
2411
|
-
}),
|
|
2411
|
+
}), j6 = $6, U6 = /* @__PURE__ */ s({
|
|
2412
2412
|
name: "ColdDrink",
|
|
2413
2413
|
__name: "cold-drink",
|
|
2414
2414
|
setup(t) {
|
|
@@ -2838,7 +2838,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
2838
2838
|
})
|
|
2839
2839
|
]));
|
|
2840
2840
|
}
|
|
2841
|
-
}),
|
|
2841
|
+
}), $3 = q3, j3 = /* @__PURE__ */ s({
|
|
2842
2842
|
name: "DocumentDelete",
|
|
2843
2843
|
__name: "document-delete",
|
|
2844
2844
|
setup(t) {
|
|
@@ -2852,7 +2852,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
2852
2852
|
})
|
|
2853
2853
|
]));
|
|
2854
2854
|
}
|
|
2855
|
-
}), U3 =
|
|
2855
|
+
}), U3 = j3, Y3 = /* @__PURE__ */ s({
|
|
2856
2856
|
name: "DocumentRemove",
|
|
2857
2857
|
__name: "document-remove",
|
|
2858
2858
|
setup(t) {
|
|
@@ -3236,7 +3236,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
3236
3236
|
})
|
|
3237
3237
|
]));
|
|
3238
3238
|
}
|
|
3239
|
-
}), qt = Rt,
|
|
3239
|
+
}), qt = Rt, $t = /* @__PURE__ */ s({
|
|
3240
3240
|
name: "Football",
|
|
3241
3241
|
__name: "football",
|
|
3242
3242
|
setup(t) {
|
|
@@ -3254,7 +3254,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
3254
3254
|
})
|
|
3255
3255
|
]));
|
|
3256
3256
|
}
|
|
3257
|
-
}),
|
|
3257
|
+
}), jt = $t, Ut = /* @__PURE__ */ s({
|
|
3258
3258
|
name: "ForkSpoon",
|
|
3259
3259
|
__name: "fork-spoon",
|
|
3260
3260
|
setup(t) {
|
|
@@ -3632,7 +3632,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
3632
3632
|
})
|
|
3633
3633
|
]));
|
|
3634
3634
|
}
|
|
3635
|
-
}), qa = Ra,
|
|
3635
|
+
}), qa = Ra, $a = /* @__PURE__ */ s({
|
|
3636
3636
|
name: "IceTea",
|
|
3637
3637
|
__name: "ice-tea",
|
|
3638
3638
|
setup(t) {
|
|
@@ -3646,7 +3646,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
3646
3646
|
})
|
|
3647
3647
|
]));
|
|
3648
3648
|
}
|
|
3649
|
-
}),
|
|
3649
|
+
}), ja = $a, Ua = /* @__PURE__ */ s({
|
|
3650
3650
|
name: "InfoFilled",
|
|
3651
3651
|
__name: "info-filled",
|
|
3652
3652
|
setup(t) {
|
|
@@ -4059,7 +4059,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
4059
4059
|
})
|
|
4060
4060
|
]));
|
|
4061
4061
|
}
|
|
4062
|
-
}), q8 = R8,
|
|
4062
|
+
}), q8 = R8, $8 = /* @__PURE__ */ s({
|
|
4063
4063
|
name: "Minus",
|
|
4064
4064
|
__name: "minus",
|
|
4065
4065
|
setup(t) {
|
|
@@ -4073,7 +4073,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
4073
4073
|
})
|
|
4074
4074
|
]));
|
|
4075
4075
|
}
|
|
4076
|
-
}),
|
|
4076
|
+
}), j8 = $8, U8 = /* @__PURE__ */ s({
|
|
4077
4077
|
name: "Money",
|
|
4078
4078
|
__name: "money",
|
|
4079
4079
|
setup(t) {
|
|
@@ -4493,7 +4493,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
4493
4493
|
})
|
|
4494
4494
|
]));
|
|
4495
4495
|
}
|
|
4496
|
-
}), qr = Rr,
|
|
4496
|
+
}), qr = Rr, $r = /* @__PURE__ */ s({
|
|
4497
4497
|
name: "PictureRounded",
|
|
4498
4498
|
__name: "picture-rounded",
|
|
4499
4499
|
setup(t) {
|
|
@@ -4511,7 +4511,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
4511
4511
|
})
|
|
4512
4512
|
]));
|
|
4513
4513
|
}
|
|
4514
|
-
}),
|
|
4514
|
+
}), jr = $r, Ur = /* @__PURE__ */ s({
|
|
4515
4515
|
name: "Picture",
|
|
4516
4516
|
__name: "picture",
|
|
4517
4517
|
setup(t) {
|
|
@@ -4932,7 +4932,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
4932
4932
|
})
|
|
4933
4933
|
]));
|
|
4934
4934
|
}
|
|
4935
|
-
}),
|
|
4935
|
+
}), $n = qn, jn = /* @__PURE__ */ s({
|
|
4936
4936
|
name: "School",
|
|
4937
4937
|
__name: "school",
|
|
4938
4938
|
setup(t) {
|
|
@@ -4954,7 +4954,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
4954
4954
|
})
|
|
4955
4955
|
]));
|
|
4956
4956
|
}
|
|
4957
|
-
}), Un =
|
|
4957
|
+
}), Un = jn, Yn = /* @__PURE__ */ s({
|
|
4958
4958
|
name: "Scissor",
|
|
4959
4959
|
__name: "scissor",
|
|
4960
4960
|
setup(t) {
|
|
@@ -5333,7 +5333,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
5333
5333
|
})
|
|
5334
5334
|
]));
|
|
5335
5335
|
}
|
|
5336
|
-
}), qo = Ro,
|
|
5336
|
+
}), qo = Ro, $o = /* @__PURE__ */ s({
|
|
5337
5337
|
name: "SuccessFilled",
|
|
5338
5338
|
__name: "success-filled",
|
|
5339
5339
|
setup(t) {
|
|
@@ -5347,7 +5347,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
5347
5347
|
})
|
|
5348
5348
|
]));
|
|
5349
5349
|
}
|
|
5350
|
-
}),
|
|
5350
|
+
}), jo = $o, Uo = /* @__PURE__ */ s({
|
|
5351
5351
|
name: "Sugar",
|
|
5352
5352
|
__name: "sugar",
|
|
5353
5353
|
setup(t) {
|
|
@@ -5768,7 +5768,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
5768
5768
|
})
|
|
5769
5769
|
]));
|
|
5770
5770
|
}
|
|
5771
|
-
}),
|
|
5771
|
+
}), $l = ql, jl = /* @__PURE__ */ s({
|
|
5772
5772
|
name: "User",
|
|
5773
5773
|
__name: "user",
|
|
5774
5774
|
setup(t) {
|
|
@@ -5782,7 +5782,7 @@ var L4 = /* @__PURE__ */ s({
|
|
|
5782
5782
|
})
|
|
5783
5783
|
]));
|
|
5784
5784
|
}
|
|
5785
|
-
}), Ul =
|
|
5785
|
+
}), Ul = jl, Yl = /* @__PURE__ */ s({
|
|
5786
5786
|
name: "Van",
|
|
5787
5787
|
__name: "van",
|
|
5788
5788
|
setup(t) {
|
|
@@ -6030,7 +6030,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6030
6030
|
Aim: k4,
|
|
6031
6031
|
AlarmClock: N4,
|
|
6032
6032
|
Apple: I4,
|
|
6033
|
-
ArrowDown:
|
|
6033
|
+
ArrowDown: j4,
|
|
6034
6034
|
ArrowDownBold: q4,
|
|
6035
6035
|
ArrowLeft: G4,
|
|
6036
6036
|
ArrowLeftBold: Y4,
|
|
@@ -6058,7 +6058,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6058
6058
|
Camera: Ie,
|
|
6059
6059
|
CameraFilled: Ne,
|
|
6060
6060
|
CaretBottom: qe,
|
|
6061
|
-
CaretLeft:
|
|
6061
|
+
CaretLeft: je,
|
|
6062
6062
|
CaretRight: Ye,
|
|
6063
6063
|
CaretTop: Ge,
|
|
6064
6064
|
Cellphone: Xe,
|
|
@@ -6085,7 +6085,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6085
6085
|
Cloudy: N6,
|
|
6086
6086
|
Coffee: q6,
|
|
6087
6087
|
CoffeeCup: I6,
|
|
6088
|
-
Coin:
|
|
6088
|
+
Coin: j6,
|
|
6089
6089
|
ColdDrink: Y6,
|
|
6090
6090
|
Collection: X6,
|
|
6091
6091
|
CollectionTag: G6,
|
|
@@ -6113,7 +6113,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6113
6113
|
Document: J3,
|
|
6114
6114
|
DocumentAdd: P3,
|
|
6115
6115
|
DocumentChecked: R3,
|
|
6116
|
-
DocumentCopy:
|
|
6116
|
+
DocumentCopy: $3,
|
|
6117
6117
|
DocumentDelete: U3,
|
|
6118
6118
|
DocumentRemove: W3,
|
|
6119
6119
|
Download: J1,
|
|
@@ -6140,7 +6140,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6140
6140
|
FolderOpened: kt,
|
|
6141
6141
|
FolderRemove: Nt,
|
|
6142
6142
|
Food: qt,
|
|
6143
|
-
Football:
|
|
6143
|
+
Football: jt,
|
|
6144
6144
|
ForkSpoon: Yt,
|
|
6145
6145
|
Fries: Gt,
|
|
6146
6146
|
FullScreen: Xt,
|
|
@@ -6167,7 +6167,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6167
6167
|
IceCreamRound: ka,
|
|
6168
6168
|
IceCreamSquare: Na,
|
|
6169
6169
|
IceDrink: qa,
|
|
6170
|
-
IceTea:
|
|
6170
|
+
IceTea: ja,
|
|
6171
6171
|
InfoFilled: Ya,
|
|
6172
6172
|
Iphone: Ga,
|
|
6173
6173
|
Key: Xa,
|
|
@@ -6194,7 +6194,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6194
6194
|
Mic: N8,
|
|
6195
6195
|
Microphone: I8,
|
|
6196
6196
|
MilkTea: q8,
|
|
6197
|
-
Minus:
|
|
6197
|
+
Minus: j8,
|
|
6198
6198
|
Money: Y8,
|
|
6199
6199
|
Monitor: G8,
|
|
6200
6200
|
Moon: Q8,
|
|
@@ -6222,7 +6222,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6222
6222
|
PhoneFilled: Nr,
|
|
6223
6223
|
Picture: Yr,
|
|
6224
6224
|
PictureFilled: qr,
|
|
6225
|
-
PictureRounded:
|
|
6225
|
+
PictureRounded: jr,
|
|
6226
6226
|
PieChart: Gr,
|
|
6227
6227
|
Place: Xr,
|
|
6228
6228
|
Platform: Qr,
|
|
@@ -6247,7 +6247,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6247
6247
|
Remove: Pn,
|
|
6248
6248
|
RemoveFilled: On,
|
|
6249
6249
|
Right: Rn,
|
|
6250
|
-
ScaleToOriginal:
|
|
6250
|
+
ScaleToOriginal: $n,
|
|
6251
6251
|
School: Un,
|
|
6252
6252
|
Scissor: Wn,
|
|
6253
6253
|
Search: Jn,
|
|
@@ -6274,7 +6274,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6274
6274
|
Star: Io,
|
|
6275
6275
|
StarFilled: No,
|
|
6276
6276
|
Stopwatch: qo,
|
|
6277
|
-
SuccessFilled:
|
|
6277
|
+
SuccessFilled: jo,
|
|
6278
6278
|
Sugar: Yo,
|
|
6279
6279
|
Suitcase: Xo,
|
|
6280
6280
|
SuitcaseLine: Go,
|
|
@@ -6302,7 +6302,7 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6302
6302
|
Upload: X1,
|
|
6303
6303
|
UploadFilled: Il,
|
|
6304
6304
|
User: Ul,
|
|
6305
|
-
UserFilled:
|
|
6305
|
+
UserFilled: $l,
|
|
6306
6306
|
Van: Wl,
|
|
6307
6307
|
VideoCamera: Kl,
|
|
6308
6308
|
VideoCameraFilled: Jl,
|
|
@@ -6575,7 +6575,7 @@ const y5 = ["data-component", "data-id"], A1 = {
|
|
|
6575
6575
|
], 10, y5);
|
|
6576
6576
|
};
|
|
6577
6577
|
}
|
|
6578
|
-
},
|
|
6578
|
+
}, $2 = {
|
|
6579
6579
|
styles: {},
|
|
6580
6580
|
SET_STYLES(t, e) {
|
|
6581
6581
|
this.styles[t] = `{
|
|
@@ -6622,10 +6622,10 @@ ${this.styleObjectToCssString(e)}
|
|
|
6622
6622
|
textAlign: e.textAlign,
|
|
6623
6623
|
padding: e.padding
|
|
6624
6624
|
};
|
|
6625
|
-
return
|
|
6625
|
+
return $2.SET_STYLES(e.class.split(" ")[1], n), n;
|
|
6626
6626
|
});
|
|
6627
6627
|
return s1(() => {
|
|
6628
|
-
|
|
6628
|
+
$2.DELETE_STYLES(e.class.split(" ")[1]);
|
|
6629
6629
|
}), (n, i) => (o(), l("div", {
|
|
6630
6630
|
class: P0(["element block-element", { "div-border": !t.isPreview }]),
|
|
6631
6631
|
style: i1(a.value)
|
|
@@ -6658,10 +6658,10 @@ ${this.styleObjectToCssString(e)}
|
|
|
6658
6658
|
"grid-template-columns": `repeat(${e.columns || 1}, calc(100% / ${e.columns || 1} - ${(e.gap ? e.gap : 0) + "px"}))`,
|
|
6659
6659
|
"grid-gap": `${e.gap}px`
|
|
6660
6660
|
};
|
|
6661
|
-
return
|
|
6661
|
+
return $2.SET_STYLES(e.class.split(" ")[1], { ...n, display: "grid" }), n;
|
|
6662
6662
|
});
|
|
6663
6663
|
return s1(() => {
|
|
6664
|
-
|
|
6664
|
+
$2.DELETE_STYLES(e.class.split(" ")[1]);
|
|
6665
6665
|
}), (n, i) => (o(), l("div", {
|
|
6666
6666
|
class: P0(["element grid", { "grid-border": !t.isPreview }]),
|
|
6667
6667
|
style: i1(a.value)
|
|
@@ -6698,19 +6698,19 @@ ${this.styleObjectToCssString(e)}
|
|
|
6698
6698
|
setup(t) {
|
|
6699
6699
|
const e = t, a = G2(() => {
|
|
6700
6700
|
const n = {};
|
|
6701
|
-
return e.fontSize && (n.fontSize = `${e.fontSize}px`), e.color && (n.color = e.color), Object.keys(n).length ?
|
|
6701
|
+
return e.fontSize && (n.fontSize = `${e.fontSize}px`), e.color && (n.color = e.color), Object.keys(n).length ? $2.SET_STYLES(`${e.class} ::v-deep(.el-icon)`, n) : $2.DELETE_STYLES(`${e.class} ::v-deep(.el-icon)`), n;
|
|
6702
6702
|
});
|
|
6703
6703
|
return c1(() => {
|
|
6704
6704
|
D1.SET_ICONS(e.class, e.icon);
|
|
6705
6705
|
}), s1(() => {
|
|
6706
|
-
D1.DELETE_ICONS(e.class),
|
|
6706
|
+
D1.DELETE_ICONS(e.class), $2.DELETE_STYLES(`${e.class} ::v-deep(.el-icon)`);
|
|
6707
6707
|
}), (n, i) => {
|
|
6708
6708
|
const c = N("el-icon");
|
|
6709
|
-
return o(),
|
|
6709
|
+
return o(), Q(c, {
|
|
6710
6710
|
style: i1(a.value)
|
|
6711
6711
|
}, {
|
|
6712
6712
|
default: z(() => [
|
|
6713
|
-
(o(),
|
|
6713
|
+
(o(), Q(T1(b5[e.icon])))
|
|
6714
6714
|
]),
|
|
6715
6715
|
_: 1
|
|
6716
6716
|
}, 8, ["style"]);
|
|
@@ -6839,10 +6839,10 @@ const O5 = [
|
|
|
6839
6839
|
{ key: "inline-prompt", value: !1, name: "显示在点内" },
|
|
6840
6840
|
{ key: "active-text", value: "", name: "on 文字描述" },
|
|
6841
6841
|
{ key: "inactive-text", value: "", name: "off 文字描述" }
|
|
6842
|
-
],
|
|
6842
|
+
], $5 = [
|
|
6843
6843
|
{ key: "label", value: "", name: "标题" },
|
|
6844
6844
|
{ key: "shadow", values: ["always", "hover", "never"], name: "卡片阴影" }
|
|
6845
|
-
],
|
|
6845
|
+
], j5 = [
|
|
6846
6846
|
// {key: 'rows', value: 1, name: '行数'},
|
|
6847
6847
|
{ key: "columns", value: 1, name: "列数" },
|
|
6848
6848
|
{ key: "gap", value: 0, name: "间距" }
|
|
@@ -6880,7 +6880,7 @@ const O5 = [
|
|
|
6880
6880
|
__proto__: null,
|
|
6881
6881
|
DivComponentConfigProps: U5,
|
|
6882
6882
|
ElButtonConfigProps: Y5,
|
|
6883
|
-
ElCardConfigProps:
|
|
6883
|
+
ElCardConfigProps: $5,
|
|
6884
6884
|
ElCheckboxGroupConfigProps: I5,
|
|
6885
6885
|
ElDatePickerConfigProps: R5,
|
|
6886
6886
|
ElDividerConfigProps: W5,
|
|
@@ -6890,7 +6890,7 @@ const O5 = [
|
|
|
6890
6890
|
ElSwitchConfigProps: q5,
|
|
6891
6891
|
ElTableConfigProps: J5,
|
|
6892
6892
|
ElUploadConfigProps: G5,
|
|
6893
|
-
GridComponentConfigProps:
|
|
6893
|
+
GridComponentConfigProps: j5
|
|
6894
6894
|
}, Symbol.toStringTag, { value: "Module" })), N0 = {
|
|
6895
6895
|
tableData: [],
|
|
6896
6896
|
tableKeys: [],
|
|
@@ -6916,7 +6916,7 @@ const O5 = [
|
|
|
6916
6916
|
formRef: Object
|
|
6917
6917
|
},
|
|
6918
6918
|
setup(t, { expose: e }) {
|
|
6919
|
-
e({ reset: P, select:
|
|
6919
|
+
e({ reset: P, select: e2 });
|
|
6920
6920
|
const a = t, n = F(""), i = F(null), c = F(!1), u = F(null), p = F(null), _ = F([]), m = F([]), d = F([]), h = F(!1), w = ["ElTabs"], E = ["ElCard", "ElButton", "ElDivider", "GridComponent", "DivComponent"];
|
|
6921
6921
|
let M = !1;
|
|
6922
6922
|
const y = G2(() => u.value ? !u.value.noUseForm : !1), L = G2(() => (v) => {
|
|
@@ -6937,7 +6937,7 @@ const O5 = [
|
|
|
6937
6937
|
}
|
|
6938
6938
|
return p.value.props;
|
|
6939
6939
|
}), R = G2(() => (v) => p.value.componentName === "ElUpload" && v.key === "text" ? p.value.children[0].props : p.value.props), O = G2(() => (v) => p.value.componentName === "ElUpload" && v.key === "fontSize" ? p.value.children[0].props.iconStyle : p.value.props);
|
|
6940
|
-
function
|
|
6940
|
+
function e2(v) {
|
|
6941
6941
|
var b, k;
|
|
6942
6942
|
if (h.value = v.componentName === "ElTable", M = v.componentName === "ElTabs", _.value = [], u.value = v, p.value = E.indexOf(v.componentName) > -1 || h.value ? u.value : u.value.children[0], v.props && (n.value = v.props.label, i.value = v.props["label-width"], c.value = ((b = v.props.rules) == null ? void 0 : b.required) || !1), d.value = [], m.value = [], v.children && v.children[0] && ((k = v.children[0]) == null ? void 0 : k.componentName) !== "ElUpload" && !v.parentId) {
|
|
6943
6943
|
let q;
|
|
@@ -6994,7 +6994,7 @@ const O5 = [
|
|
|
6994
6994
|
}
|
|
6995
6995
|
b === "type" && k === "ElDatePicker" && B.SET_FORM_DATA([`field${u.value.children[0].id}`], null);
|
|
6996
6996
|
}
|
|
6997
|
-
function
|
|
6997
|
+
function J(v, b) {
|
|
6998
6998
|
if (h.value && v === "rows") {
|
|
6999
6999
|
const k = {};
|
|
7000
7000
|
p.value.children.forEach((q) => {
|
|
@@ -7005,7 +7005,7 @@ const O5 = [
|
|
|
7005
7005
|
m2();
|
|
7006
7006
|
}
|
|
7007
7007
|
}
|
|
7008
|
-
function
|
|
7008
|
+
function X(v, b) {
|
|
7009
7009
|
if (v === "collapse-tags") {
|
|
7010
7010
|
typeof u.value.children[0].props["collapse-tags-tooltip"] == "boolean" && !b ? (delete u.value.children[0].props["collapse-tags-tooltip"], delete u.value.children[0].props["collapse-tags"]) : u.value.children[0].props["collapse-tags-tooltip"] = b;
|
|
7011
7011
|
return;
|
|
@@ -7036,7 +7036,7 @@ const O5 = [
|
|
|
7036
7036
|
m.value[b].name = v;
|
|
7037
7037
|
}
|
|
7038
7038
|
function g1() {
|
|
7039
|
-
var h2, a0, r0,
|
|
7039
|
+
var h2, a0, r0, j2, n0, f0, w0;
|
|
7040
7040
|
if (!((a0 = (h2 = u.value) == null ? void 0 : h2.children) != null && a0.length))
|
|
7041
7041
|
return;
|
|
7042
7042
|
const v = M || h.value ? u.value.children : (r0 = u.value.children[0]) == null ? void 0 : r0.children;
|
|
@@ -7046,7 +7046,7 @@ const O5 = [
|
|
|
7046
7046
|
label: "New Option",
|
|
7047
7047
|
...M ? { name: b } : { [h.value ? "prop" : "value"]: b.toString() }
|
|
7048
7048
|
};
|
|
7049
|
-
(n0 = (
|
|
7049
|
+
(n0 = (j2 = u.value.children[0]) == null ? void 0 : j2.props) != null && n0.border && (k.border = !0);
|
|
7050
7050
|
const q = M || h.value ? u.value.children[0].componentName : (w0 = (f0 = u.value.children[0]) == null ? void 0 : f0.children[0]) == null ? void 0 : w0.componentName;
|
|
7051
7051
|
if (!q)
|
|
7052
7052
|
return;
|
|
@@ -7063,7 +7063,7 @@ const O5 = [
|
|
|
7063
7063
|
}), A2(C2());
|
|
7064
7064
|
}
|
|
7065
7065
|
return (v, b) => {
|
|
7066
|
-
const k = N("el-divider"), q = N("el-input"), U = N("el-form-item"), h2 = N("el-icon"), a0 = N("el-input-number"), r0 = N("el-switch"),
|
|
7066
|
+
const k = N("el-divider"), q = N("el-input"), U = N("el-form-item"), h2 = N("el-icon"), a0 = N("el-input-number"), r0 = N("el-switch"), j2 = N("el-option"), n0 = N("el-select"), f0 = N("el-button"), w0 = N("el-form");
|
|
7067
7067
|
return o(), l("div", null, [
|
|
7068
7068
|
g(w0, { "label-width": "90px" }, {
|
|
7069
7069
|
default: z(() => [
|
|
@@ -7122,7 +7122,7 @@ const O5 = [
|
|
|
7122
7122
|
]),
|
|
7123
7123
|
_: 1
|
|
7124
7124
|
}),
|
|
7125
|
-
c.value ? (o(),
|
|
7125
|
+
c.value ? (o(), Q(U, {
|
|
7126
7126
|
key: 0,
|
|
7127
7127
|
label: "必填提示"
|
|
7128
7128
|
}, {
|
|
@@ -7144,42 +7144,42 @@ const O5 = [
|
|
|
7144
7144
|
[A0, _.value && _.value.length]
|
|
7145
7145
|
]),
|
|
7146
7146
|
(o(!0), l(V2, null, z0(_.value, (C) => (o(), l(V2, null, [
|
|
7147
|
-
t2(C) ? (o(),
|
|
7147
|
+
t2(C) ? (o(), Q(U, {
|
|
7148
7148
|
key: 0,
|
|
7149
7149
|
label: C.name
|
|
7150
7150
|
}, r4({
|
|
7151
7151
|
default: z(() => [
|
|
7152
|
-
C.values ? (o(),
|
|
7152
|
+
C.values ? (o(), Q(n0, {
|
|
7153
7153
|
key: 0,
|
|
7154
7154
|
modelValue: p.value.props[C.key],
|
|
7155
|
-
"onUpdate:modelValue": (
|
|
7155
|
+
"onUpdate:modelValue": ($) => p.value.props[C.key] = $,
|
|
7156
7156
|
placeholder: "请选择",
|
|
7157
|
-
onChange: (
|
|
7157
|
+
onChange: ($) => x(p.value.props[C.key], C.key, p.value.componentName),
|
|
7158
7158
|
clearable: C.clearable
|
|
7159
7159
|
}, {
|
|
7160
7160
|
default: z(() => [
|
|
7161
|
-
(o(!0), l(V2, null, z0(C.values, (
|
|
7162
|
-
value:
|
|
7163
|
-
label:
|
|
7161
|
+
(o(!0), l(V2, null, z0(C.values, ($) => (o(), Q(j2, {
|
|
7162
|
+
value: $,
|
|
7163
|
+
label: $
|
|
7164
7164
|
}, null, 8, ["value", "label"]))), 256))
|
|
7165
7165
|
]),
|
|
7166
7166
|
_: 2
|
|
7167
7167
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "clearable"])) : (o(), l(V2, { key: 1 }, [
|
|
7168
|
-
typeof C.value == "boolean" ? (o(),
|
|
7168
|
+
typeof C.value == "boolean" ? (o(), Q(r0, {
|
|
7169
7169
|
key: 0,
|
|
7170
7170
|
modelValue: R.value(C)[C.key],
|
|
7171
|
-
"onUpdate:modelValue": (
|
|
7172
|
-
onChange: (
|
|
7173
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : typeof C.value == "number" ? (o(),
|
|
7171
|
+
"onUpdate:modelValue": ($) => R.value(C)[C.key] = $,
|
|
7172
|
+
onChange: ($) => X(C.key, p.value.props[C.key])
|
|
7173
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : typeof C.value == "number" ? (o(), Q(a0, {
|
|
7174
7174
|
key: 1,
|
|
7175
7175
|
modelValue: O.value(C)[C.key],
|
|
7176
|
-
"onUpdate:modelValue": (
|
|
7177
|
-
onChange: (
|
|
7176
|
+
"onUpdate:modelValue": ($) => O.value(C)[C.key] = $,
|
|
7177
|
+
onChange: ($) => J(C.key, O.value(C)[C.key]),
|
|
7178
7178
|
min: 0
|
|
7179
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (o(),
|
|
7179
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (o(), Q(q, {
|
|
7180
7180
|
key: 2,
|
|
7181
7181
|
modelValue: L.value(C)[C.key],
|
|
7182
|
-
"onUpdate:modelValue": (
|
|
7182
|
+
"onUpdate:modelValue": ($) => L.value(C)[C.key] = $,
|
|
7183
7183
|
placeholder: `请输入${C.name}`,
|
|
7184
7184
|
clearable: C.clearable
|
|
7185
7185
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"]))
|
|
@@ -7213,18 +7213,18 @@ const O5 = [
|
|
|
7213
7213
|
_: 1
|
|
7214
7214
|
}),
|
|
7215
7215
|
r("ul", null, [
|
|
7216
|
-
(o(!0), l(V2, null, z0(m.value, (C,
|
|
7216
|
+
(o(!0), l(V2, null, z0(m.value, (C, $) => (o(), l("li", null, [
|
|
7217
7217
|
g(U, { label: "文本" }, {
|
|
7218
7218
|
default: z(() => [
|
|
7219
7219
|
g(q, {
|
|
7220
|
-
modelValue: d.value[
|
|
7221
|
-
"onUpdate:modelValue": (c2) => d.value[
|
|
7222
|
-
onChange: (c2) => B2(d.value[
|
|
7220
|
+
modelValue: d.value[$],
|
|
7221
|
+
"onUpdate:modelValue": (c2) => d.value[$] = c2,
|
|
7222
|
+
onChange: (c2) => B2(d.value[$], $)
|
|
7223
7223
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
7224
7224
|
]),
|
|
7225
7225
|
_: 2
|
|
7226
7226
|
}, 1024),
|
|
7227
|
-
typeof C.value < "u" ? (o(),
|
|
7227
|
+
typeof C.value < "u" ? (o(), Q(U, {
|
|
7228
7228
|
key: 0,
|
|
7229
7229
|
label: "值(value)"
|
|
7230
7230
|
}, {
|
|
@@ -7254,15 +7254,15 @@ const O5 = [
|
|
|
7254
7254
|
clearable: ""
|
|
7255
7255
|
}, {
|
|
7256
7256
|
default: z(() => [
|
|
7257
|
-
g(
|
|
7257
|
+
g(j2, {
|
|
7258
7258
|
value: "center",
|
|
7259
7259
|
label: "center"
|
|
7260
7260
|
}),
|
|
7261
|
-
g(
|
|
7261
|
+
g(j2, {
|
|
7262
7262
|
value: "right",
|
|
7263
7263
|
label: "right"
|
|
7264
7264
|
}),
|
|
7265
|
-
g(
|
|
7265
|
+
g(j2, {
|
|
7266
7266
|
value: "left",
|
|
7267
7267
|
label: "left"
|
|
7268
7268
|
})
|
|
@@ -7272,7 +7272,7 @@ const O5 = [
|
|
|
7272
7272
|
]),
|
|
7273
7273
|
_: 2
|
|
7274
7274
|
}, 1024)
|
|
7275
|
-
], 64)) : p.value.componentName !== "ElButton" ? (o(),
|
|
7275
|
+
], 64)) : p.value.componentName !== "ElButton" ? (o(), Q(U, {
|
|
7276
7276
|
key: 2,
|
|
7277
7277
|
label: "值(name)"
|
|
7278
7278
|
}, {
|
|
@@ -7280,7 +7280,7 @@ const O5 = [
|
|
|
7280
7280
|
g(q, {
|
|
7281
7281
|
modelValue: C.name,
|
|
7282
7282
|
"onUpdate:modelValue": (c2) => C.name = c2,
|
|
7283
|
-
onChange: (c2) => r2(C.name,
|
|
7283
|
+
onChange: (c2) => r2(C.name, $)
|
|
7284
7284
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
7285
7285
|
]),
|
|
7286
7286
|
_: 2
|
|
@@ -7288,7 +7288,7 @@ const O5 = [
|
|
|
7288
7288
|
m.value.length > 1 ? (o(), l("div", Q5, [
|
|
7289
7289
|
g(h2, {
|
|
7290
7290
|
class: "delete",
|
|
7291
|
-
onClick: (c2) => o2(
|
|
7291
|
+
onClick: (c2) => o2($),
|
|
7292
7292
|
title: "删除"
|
|
7293
7293
|
}, {
|
|
7294
7294
|
default: z(() => [
|
|
@@ -7296,9 +7296,9 @@ const O5 = [
|
|
|
7296
7296
|
]),
|
|
7297
7297
|
_: 2
|
|
7298
7298
|
}, 1032, ["onClick"]),
|
|
7299
|
-
|
|
7299
|
+
$ !== 0 ? (o(), Q(h2, {
|
|
7300
7300
|
key: 0,
|
|
7301
|
-
onClick: (c2) => I(
|
|
7301
|
+
onClick: (c2) => I($),
|
|
7302
7302
|
title: "上移"
|
|
7303
7303
|
}, {
|
|
7304
7304
|
default: z(() => [
|
|
@@ -7306,9 +7306,9 @@ const O5 = [
|
|
|
7306
7306
|
]),
|
|
7307
7307
|
_: 2
|
|
7308
7308
|
}, 1032, ["onClick"])) : z2("", !0),
|
|
7309
|
-
m.value.length - 1 !==
|
|
7309
|
+
m.value.length - 1 !== $ ? (o(), Q(h2, {
|
|
7310
7310
|
key: 1,
|
|
7311
|
-
onClick: (c2) => O2(
|
|
7311
|
+
onClick: (c2) => O2($),
|
|
7312
7312
|
title: "下移"
|
|
7313
7313
|
}, {
|
|
7314
7314
|
default: z(() => [
|
|
@@ -7359,8 +7359,8 @@ const O5 = [
|
|
|
7359
7359
|
n("inlineChange", h);
|
|
7360
7360
|
}
|
|
7361
7361
|
return (h, w) => {
|
|
7362
|
-
const E = N("el-icon"), M = N("el-input-number"), y = N("el-form-item"), L = N("el-radio"), R = N("el-radio-group"), O = N("el-switch"),
|
|
7363
|
-
return o(),
|
|
7362
|
+
const E = N("el-icon"), M = N("el-input-number"), y = N("el-form-item"), L = N("el-radio"), R = N("el-radio-group"), O = N("el-switch"), e2 = N("el-form");
|
|
7363
|
+
return o(), Q(e2, { "label-width": "100px" }, {
|
|
7364
7364
|
default: z(() => [
|
|
7365
7365
|
g(y, null, {
|
|
7366
7366
|
label: z(() => [
|
|
@@ -7479,7 +7479,7 @@ const O5 = [
|
|
|
7479
7479
|
}
|
|
7480
7480
|
return (h, w) => {
|
|
7481
7481
|
const E = N("el-button"), M = N("el-dialog");
|
|
7482
|
-
return o(),
|
|
7482
|
+
return o(), Q(M, {
|
|
7483
7483
|
modelValue: a.value,
|
|
7484
7484
|
"onUpdate:modelValue": w[0] || (w[0] = (y) => a.value = y),
|
|
7485
7485
|
title: "预览",
|
|
@@ -7793,14 +7793,14 @@ function q9(t, e) {
|
|
|
7793
7793
|
r("path", { d: "M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32" }, null, -1)
|
|
7794
7794
|
]));
|
|
7795
7795
|
}
|
|
7796
|
-
const
|
|
7796
|
+
const $9 = { render: q9 }, j9 = () => ({
|
|
7797
7797
|
componentName: "ElInput",
|
|
7798
|
-
icon:
|
|
7798
|
+
icon: $9,
|
|
7799
7799
|
text: "输入框",
|
|
7800
7800
|
props: { placeholder: "请输入内容" }
|
|
7801
7801
|
}), U9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7802
7802
|
__proto__: null,
|
|
7803
|
-
default:
|
|
7803
|
+
default: j9
|
|
7804
7804
|
}, Symbol.toStringTag, { value: "Module" })), Y9 = {
|
|
7805
7805
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7806
7806
|
width: "200",
|
|
@@ -8138,7 +8138,7 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8138
8138
|
E5(), L = !0, B.CLEAR_ALL(), u.value.init(B.formOptions), O.data && O.data.forms ? (B.SET_FORM_OPTIONS_INIT(O.data.formOptions.inline), B.SET_FORM_OPTIONS(O.data.formOptions), b0(O.data.forms)) : b0([]);
|
|
8139
8139
|
});
|
|
8140
8140
|
const {
|
|
8141
|
-
initSortable:
|
|
8141
|
+
initSortable: e2,
|
|
8142
8142
|
schema: P
|
|
8143
8143
|
} = H5();
|
|
8144
8144
|
c1(() => {
|
|
@@ -8158,18 +8158,20 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8158
8158
|
animation: 150,
|
|
8159
8159
|
setData: t4,
|
|
8160
8160
|
onStart(x) {
|
|
8161
|
-
B.formOptions.inline && x.item.classList.add("inline-block")
|
|
8161
|
+
B.formOptions.inline && x.item.classList.add("inline-block");
|
|
8162
|
+
const J = x.item.clientWidth;
|
|
8163
|
+
x.item.classList.remove("item-component"), x.item.style.width = `${J}px`;
|
|
8162
8164
|
},
|
|
8163
8165
|
onEnd(x) {
|
|
8164
8166
|
x.originalEvent.dataTransfer.getData("type") && !x.to.classList.contains("component-box") ? x.item.remove() : x.item.classList.add("item-component");
|
|
8165
8167
|
}
|
|
8166
8168
|
}), J2(() => {
|
|
8167
|
-
|
|
8169
|
+
e2({ el: p.value });
|
|
8168
8170
|
});
|
|
8169
8171
|
});
|
|
8170
8172
|
},
|
|
8171
8173
|
updated() {
|
|
8172
|
-
L && (f1(P.value.components,
|
|
8174
|
+
L && (f1(P.value.components, e2), L = !1);
|
|
8173
8175
|
},
|
|
8174
8176
|
render() {
|
|
8175
8177
|
O.data && O.data.forms && b0(O.data.forms);
|
|
@@ -8189,7 +8191,7 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8189
8191
|
class: "drop-zone-box",
|
|
8190
8192
|
onClick: m2
|
|
8191
8193
|
}, {
|
|
8192
|
-
default: () => x.map((
|
|
8194
|
+
default: () => x.map((J) => (I2.SET_COMPONENT_DATA_MAP(J.id, J), A(J)))
|
|
8193
8195
|
})
|
|
8194
8196
|
]
|
|
8195
8197
|
}
|
|
@@ -8200,14 +8202,14 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8200
8202
|
b0([]), B.CLEAR_ALL(), R.unmount();
|
|
8201
8203
|
});
|
|
8202
8204
|
function m2(A) {
|
|
8203
|
-
const x = A.target.closest(".drop-item"),
|
|
8204
|
-
if (
|
|
8205
|
+
const x = A.target.closest(".drop-item"), J = C2();
|
|
8206
|
+
if (J && J.classList.remove("selected-component"), !x) {
|
|
8205
8207
|
i2();
|
|
8206
8208
|
return;
|
|
8207
8209
|
}
|
|
8208
8210
|
z5(x), x.classList.add("selected-component");
|
|
8209
|
-
const
|
|
8210
|
-
y =
|
|
8211
|
+
const X = I2.componentDataMap;
|
|
8212
|
+
y = X[x.dataset.id], d.value.select(X[x.dataset.id]), A2(x);
|
|
8211
8213
|
const o2 = A.target.className === "cell";
|
|
8212
8214
|
if (A.target.parentElement.tagName !== "TH" && A.target.tagName !== "TH" && (A.target.className.indexOf("el-table__cell") > -1 || o2)) {
|
|
8213
8215
|
let W;
|
|
@@ -8227,20 +8229,20 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8227
8229
|
x && (x.classList.remove("selected-component"), m0.SET_TELEPORT_TO(null), d.value.reset());
|
|
8228
8230
|
}
|
|
8229
8231
|
function E2(A) {
|
|
8230
|
-
var
|
|
8232
|
+
var J;
|
|
8231
8233
|
let x = A;
|
|
8232
|
-
A || (x = y, C2().remove(), e4(P.value.components, x.id), i2()), delete I2.componentDataMap[x.id], (
|
|
8233
|
-
E2(
|
|
8234
|
+
A || (x = y, C2().remove(), e4(P.value.components, x.id), i2()), delete I2.componentDataMap[x.id], (J = x.children) != null && J[0] && (delete I2.componentDataMap[x.children[0].id], (x.componentName === "ElFormItem" || x.componentName === "ElTabs") && (B.DELETE_FORM_DATA(x.props.prop || `field${x.id}`), B.DELETE_RULES(x.props.prop))), x.componentName === "ElUpload" && $2.DELETE_STYLES(`${x.children[0].props.class} ::v-deep(.el-icon)`), x.children && x.children.length && x.children.forEach((X) => {
|
|
8235
|
+
E2(X);
|
|
8234
8236
|
});
|
|
8235
8237
|
}
|
|
8236
8238
|
function t2() {
|
|
8237
8239
|
P.value.components = [], B.CLEAR_ALL(), I2.componentDataMap = {}, u.value.init(B.formOptions), i2();
|
|
8238
8240
|
}
|
|
8239
8241
|
return (A, x) => {
|
|
8240
|
-
const
|
|
8241
|
-
return o(),
|
|
8242
|
+
const J = N("el-icon"), X = N("el-tab-pane"), o2 = N("el-tabs"), W = N("el-aside"), I = N("el-header"), O2 = N("el-main"), B2 = N("el-container");
|
|
8243
|
+
return o(), Q(B2, { style: { position: "relative" } }, {
|
|
8242
8244
|
default: z(() => [
|
|
8243
|
-
w.value ? (o(),
|
|
8245
|
+
w.value ? (o(), Q(o4, {
|
|
8244
8246
|
key: 0,
|
|
8245
8247
|
to: w.value
|
|
8246
8248
|
}, [
|
|
@@ -8249,7 +8251,7 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8249
8251
|
ref_key: "toolbarRef",
|
|
8250
8252
|
ref: m
|
|
8251
8253
|
}, [
|
|
8252
|
-
g(
|
|
8254
|
+
g(J, {
|
|
8253
8255
|
class: "delete",
|
|
8254
8256
|
title: "删除",
|
|
8255
8257
|
onClick: x[0] || (x[0] = (r2) => E2())
|
|
@@ -8271,7 +8273,7 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8271
8273
|
"onUpdate:modelValue": x[1] || (x[1] = (r2) => n.value = r2)
|
|
8272
8274
|
}, {
|
|
8273
8275
|
default: z(() => [
|
|
8274
|
-
g(
|
|
8276
|
+
g(X, {
|
|
8275
8277
|
label: "组件库",
|
|
8276
8278
|
name: "first"
|
|
8277
8279
|
}, {
|
|
@@ -8287,7 +8289,7 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8287
8289
|
class: "item item-component grab",
|
|
8288
8290
|
"data-component": r2.componentName
|
|
8289
8291
|
}, [
|
|
8290
|
-
r2.icon ? (o(),
|
|
8292
|
+
r2.icon ? (o(), Q(T1(r2.icon), { key: 0 })) : z2("", !0),
|
|
8291
8293
|
w2(" " + h0(r2.text || r2.label), 1)
|
|
8292
8294
|
], 8, Bs))
|
|
8293
8295
|
], 64))), 256))
|
|
@@ -8330,11 +8332,11 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8330
8332
|
"onUpdate:modelValue": x[2] || (x[2] = (r2) => i.value = r2)
|
|
8331
8333
|
}, {
|
|
8332
8334
|
default: z(() => [
|
|
8333
|
-
g(
|
|
8335
|
+
g(X, {
|
|
8334
8336
|
label: "组件设置",
|
|
8335
8337
|
name: "first"
|
|
8336
8338
|
}),
|
|
8337
|
-
g(
|
|
8339
|
+
g(X, {
|
|
8338
8340
|
label: "表单设置",
|
|
8339
8341
|
name: "form"
|
|
8340
8342
|
})
|
|
@@ -8348,7 +8350,7 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8348
8350
|
ref_key: "setComponentRef",
|
|
8349
8351
|
ref: d,
|
|
8350
8352
|
formRef: _.value,
|
|
8351
|
-
initSortable: M2(
|
|
8353
|
+
initSortable: M2(e2)
|
|
8352
8354
|
}, null, 8, ["formRef", "initSortable"]), [
|
|
8353
8355
|
[A0, i.value === "first"]
|
|
8354
8356
|
]),
|
|
@@ -8368,7 +8370,7 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8368
8370
|
});
|
|
8369
8371
|
};
|
|
8370
8372
|
}
|
|
8371
|
-
}, Ts = /* @__PURE__ */ k2(Ls, [["__scopeId", "data-v-
|
|
8373
|
+
}, Ts = /* @__PURE__ */ k2(Ls, [["__scopeId", "data-v-1c5d1245"]]), Fs = { id: "preview-panel" }, ks = {
|
|
8372
8374
|
__name: "previewPanel",
|
|
8373
8375
|
props: {
|
|
8374
8376
|
data: { type: Object, required: !0, default: () => ({}) },
|
|
@@ -8432,14 +8434,14 @@ const ys = ["index.js", "imports.js"], p2 = Vs(ys), o1 = [
|
|
|
8432
8434
|
return u !== "right" && u !== "" && (m.labelPosition = u), p !== "" && p !== "auto" && (m.labelWidth = p), _ && (m.inline = _), { formOptions: m, forms: x2.value.components };
|
|
8433
8435
|
}
|
|
8434
8436
|
return (u, p) => (o(), l("div", Ns, [
|
|
8435
|
-
t.isPreview ? (o(),
|
|
8437
|
+
t.isPreview ? (o(), Q(Os, {
|
|
8436
8438
|
key: 1,
|
|
8437
8439
|
ref_key: "previewRef",
|
|
8438
8440
|
ref: a,
|
|
8439
8441
|
data: t.data,
|
|
8440
8442
|
variables: t.variables,
|
|
8441
8443
|
callback: t.callback
|
|
8442
|
-
}, null, 8, ["data", "variables", "callback"])) : (o(),
|
|
8444
|
+
}, null, 8, ["data", "variables", "callback"])) : (o(), Q(Ts, {
|
|
8443
8445
|
key: 0,
|
|
8444
8446
|
data: t.data
|
|
8445
8447
|
}, null, 8, ["data"]))
|