zhytech-ui 1.0.24 → 1.0.25
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/zhytech-ui.es.js +192 -185
- package/dist/zhytech-ui.umd.js +2 -2
- package/package.json +3 -2
package/dist/zhytech-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Un = Object.defineProperty;
|
|
2
2
|
var Fn = (t, o, e) => o in t ? Un(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e;
|
|
3
3
|
var Le = (t, o, e) => (Fn(t, typeof o != "symbol" ? o + "" : o, e), e);
|
|
4
|
-
import { defineComponent as
|
|
4
|
+
import { defineComponent as ne, resolveComponent as D, openBlock as f, createBlock as M, withCtx as g, createElementBlock as E, createCommentVNode as I, createElementVNode as S, useCssVars as Uo, unref as i, toRefs as Me, watch as Q, computed as Ye, Fragment as te, createVNode as p, renderList as he, ref as H, onMounted as Fo, TransitionGroup as Rn, h as Wo, nextTick as lt, inject as le, withModifiers as to, normalizeClass as xe, normalizeStyle as mt, resolveDynamicComponent as Ft, toDisplayString as oe, isRef as _e, createTextVNode as j, getCurrentInstance as Nn, renderSlot as Rt, provide as bt, mergeModels as Yo, useModel as Bn, reactive as Hn, withKeys as qn } from "vue";
|
|
5
5
|
import { ElMessage as jn, dayjs as Xo } from "element-plus";
|
|
6
6
|
const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
7
|
__proto__: null,
|
|
@@ -989,7 +989,7 @@ const Wn = {
|
|
|
989
989
|
Di
|
|
990
990
|
], Ei = {
|
|
991
991
|
name: "zhy-icon"
|
|
992
|
-
},
|
|
992
|
+
}, ye = /* @__PURE__ */ ne({
|
|
993
993
|
...Ei,
|
|
994
994
|
props: {
|
|
995
995
|
name: {
|
|
@@ -1027,7 +1027,7 @@ const Si = {
|
|
|
1027
1027
|
}, ki = { class: "condition-type" }, Mi = /* @__PURE__ */ S("span", { class: "line" }, null, -1), zi = {
|
|
1028
1028
|
key: 0,
|
|
1029
1029
|
class: "sub-filter-items-wrap"
|
|
1030
|
-
}, $i = { class: "sub-filter-items" }, Ii = { class: "filter-item-wrap" }, Ai = { class: "filter-value" }, Li = /* @__PURE__ */
|
|
1030
|
+
}, $i = { class: "sub-filter-items" }, Ii = { class: "filter-item-wrap" }, Ai = { class: "filter-value" }, Li = /* @__PURE__ */ ne({
|
|
1031
1031
|
__name: "filterItem",
|
|
1032
1032
|
props: {
|
|
1033
1033
|
/**
|
|
@@ -1099,7 +1099,7 @@ const Si = {
|
|
|
1099
1099
|
};
|
|
1100
1100
|
return (d, m) => {
|
|
1101
1101
|
var z, x, V;
|
|
1102
|
-
const h = D("el-switch"), v = D("filter-item", !0), c =
|
|
1102
|
+
const h = D("el-switch"), v = D("filter-item", !0), c = ye, b = D("el-option"), _ = D("el-select"), y = D("el-cascader"), C = D("el-input");
|
|
1103
1103
|
return i(n) ? (f(), E("div", Si, [
|
|
1104
1104
|
S("div", ki, [
|
|
1105
1105
|
t.showConditionType ? (f(), E(te, { key: 0 }, [
|
|
@@ -1407,7 +1407,7 @@ function ze() {
|
|
|
1407
1407
|
}
|
|
1408
1408
|
const Ti = { class: "dynamic-filter no-rem" }, Oi = {
|
|
1409
1409
|
name: "zhy-dynamic-filter"
|
|
1410
|
-
}, At = /* @__PURE__ */
|
|
1410
|
+
}, At = /* @__PURE__ */ ne({
|
|
1411
1411
|
...Oi,
|
|
1412
1412
|
props: {
|
|
1413
1413
|
/**
|
|
@@ -1498,7 +1498,7 @@ const Ti = { class: "dynamic-filter no-rem" }, Oi = {
|
|
|
1498
1498
|
y = V == null ? void 0 : V.replace("{value1}", T[0]).replace("{value2}", T[1]);
|
|
1499
1499
|
else {
|
|
1500
1500
|
let Z = "", re = "";
|
|
1501
|
-
$.length ? (Z = (N = $.find((
|
|
1501
|
+
$.length ? (Z = (N = $.find((be) => be.value === T[0])) == null ? void 0 : N.label, re = (O = $.find((be) => be.value === T[1])) == null ? void 0 : O.label) : (Z = x.replace("value", T[0]), re = x.replace("value", T[1])), y = w == null ? void 0 : w.replace("{value1}", Z).replace("{value2}", re);
|
|
1502
1502
|
}
|
|
1503
1503
|
return y;
|
|
1504
1504
|
}
|
|
@@ -1554,7 +1554,7 @@ const Ti = { class: "dynamic-filter no-rem" }, Oi = {
|
|
|
1554
1554
|
return b.message && (b.filterConditionExpression = "", b.filterConditionContent = "", b.filterConditions = [], Se("error", b.message)), b;
|
|
1555
1555
|
}
|
|
1556
1556
|
}), (b, _) => {
|
|
1557
|
-
const y =
|
|
1557
|
+
const y = ye;
|
|
1558
1558
|
return f(), E("div", Ti, [
|
|
1559
1559
|
(f(!0), E(te, null, he(i(s), (C, z) => (f(), E("div", {
|
|
1560
1560
|
key: z,
|
|
@@ -2056,7 +2056,7 @@ var Qi = ["evt"], Te = function(o, e) {
|
|
|
2056
2056
|
Bt.pluginEvent.bind(B)(o, e, Xe({
|
|
2057
2057
|
dragEl: A,
|
|
2058
2058
|
parentEl: ve,
|
|
2059
|
-
ghostEl:
|
|
2059
|
+
ghostEl: W,
|
|
2060
2060
|
rootEl: ce,
|
|
2061
2061
|
nextEl: ct,
|
|
2062
2062
|
lastDownEl: no,
|
|
@@ -2099,7 +2099,7 @@ function Ae(t) {
|
|
|
2099
2099
|
newDraggableIndex: tt
|
|
2100
2100
|
}, t));
|
|
2101
2101
|
}
|
|
2102
|
-
var A, ve,
|
|
2102
|
+
var A, ve, W, ce, ct, no, me, ot, yt, Fe, Ot, tt, Yt, Ve, _t = !1, co = !1, po = [], rt, qe, xo, Do, on, nn, zt, vt, Pt, Ut = !1, Xt = !1, lo, Ee, Vo = [], Io = !1, mo = [], bo = typeof document < "u", Jt = fn, ln = Nt || Ze ? "cssFloat" : "float", e2 = bo && !hn && !fn && "draggable" in document.createElement("div"), wn = function() {
|
|
2103
2103
|
if (bo) {
|
|
2104
2104
|
if (Ze)
|
|
2105
2105
|
return !1;
|
|
@@ -2151,9 +2151,9 @@ var A, ve, G, ce, ct, no, me, ot, yt, Fe, Ot, tt, Yt, Ve, _t = !1, co = !1, po =
|
|
|
2151
2151
|
name: l
|
|
2152
2152
|
}), n.name = l.name, n.checkPull = e(l.pull, !0), n.checkPut = e(l.put), n.revertClone = l.revertClone, o.group = n;
|
|
2153
2153
|
}, Dn = function() {
|
|
2154
|
-
!wn &&
|
|
2154
|
+
!wn && W && U(W, "display", "none");
|
|
2155
2155
|
}, Vn = function() {
|
|
2156
|
-
!wn &&
|
|
2156
|
+
!wn && W && U(W, "display", "");
|
|
2157
2157
|
};
|
|
2158
2158
|
bo && !hn && document.addEventListener("click", function(t) {
|
|
2159
2159
|
if (co)
|
|
@@ -2369,13 +2369,13 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
2369
2369
|
},
|
|
2370
2370
|
_onTouchMove: function(o) {
|
|
2371
2371
|
if (rt) {
|
|
2372
|
-
var e = this.options, n = e.fallbackTolerance, l = e.fallbackOffset, a = o.touches ? o.touches[0] : o, s =
|
|
2372
|
+
var e = this.options, n = e.fallbackTolerance, l = e.fallbackOffset, a = o.touches ? o.touches[0] : o, s = W && pt(W, !0), r = W && s && s.a, u = W && s && s.d, d = Jt && Ee && en(Ee), m = (a.clientX - rt.clientX + l.x) / (r || 1) + (d ? d[0] - Vo[0] : 0) / (r || 1), h = (a.clientY - rt.clientY + l.y) / (u || 1) + (d ? d[1] - Vo[1] : 0) / (u || 1);
|
|
2373
2373
|
if (!B.active && !_t) {
|
|
2374
2374
|
if (n && Math.max(Math.abs(a.clientX - this._lastX), Math.abs(a.clientY - this._lastY)) < n)
|
|
2375
2375
|
return;
|
|
2376
2376
|
this._onDragStart(o, !0);
|
|
2377
2377
|
}
|
|
2378
|
-
if (
|
|
2378
|
+
if (W) {
|
|
2379
2379
|
s ? (s.e += m - (xo || 0), s.f += h - (Do || 0)) : s = {
|
|
2380
2380
|
a: 1,
|
|
2381
2381
|
b: 0,
|
|
@@ -2385,20 +2385,20 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
2385
2385
|
f: h
|
|
2386
2386
|
};
|
|
2387
2387
|
var v = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
|
|
2388
|
-
U(
|
|
2388
|
+
U(W, "webkitTransform", v), U(W, "mozTransform", v), U(W, "msTransform", v), U(W, "transform", v), xo = m, Do = h, qe = a;
|
|
2389
2389
|
}
|
|
2390
2390
|
o.cancelable && o.preventDefault();
|
|
2391
2391
|
}
|
|
2392
2392
|
},
|
|
2393
2393
|
_appendGhost: function() {
|
|
2394
|
-
if (!
|
|
2394
|
+
if (!W) {
|
|
2395
2395
|
var o = this.options.fallbackOnBody ? document.body : ce, e = ue(A, !0, Jt, !0, o), n = this.options;
|
|
2396
2396
|
if (Jt) {
|
|
2397
2397
|
for (Ee = o; U(Ee, "position") === "static" && U(Ee, "transform") === "none" && Ee !== document; )
|
|
2398
2398
|
Ee = Ee.parentNode;
|
|
2399
2399
|
Ee !== document.body && Ee !== document.documentElement ? (Ee === document && (Ee = We()), e.top += Ee.scrollTop, e.left += Ee.scrollLeft) : Ee = We(), Vo = en(Ee);
|
|
2400
2400
|
}
|
|
2401
|
-
|
|
2401
|
+
W = A.cloneNode(!0), fe(W, n.ghostClass, !1), fe(W, n.fallbackClass, !0), fe(W, n.dragClass, !0), U(W, "transition", ""), U(W, "transform", ""), U(W, "box-sizing", "border-box"), U(W, "margin", 0), U(W, "top", e.top), U(W, "left", e.left), U(W, "width", e.width), U(W, "height", e.height), U(W, "opacity", "0.8"), U(W, "position", Jt ? "absolute" : "fixed"), U(W, "zIndex", "100000"), U(W, "pointerEvents", "none"), B.ghost = W, o.appendChild(W), U(W, "transform-origin", on / parseInt(W.style.width) * 100 + "% " + nn / parseInt(W.style.height) * 100 + "%");
|
|
2402
2402
|
}
|
|
2403
2403
|
},
|
|
2404
2404
|
_onDragStart: function(o, e) {
|
|
@@ -2489,16 +2489,16 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
2489
2489
|
var Z = ge(A);
|
|
2490
2490
|
do
|
|
2491
2491
|
Z -= $, T = ve.children[Z];
|
|
2492
|
-
while (T && (U(T, "display") === "none" || T ===
|
|
2492
|
+
while (T && (U(T, "display") === "none" || T === W));
|
|
2493
2493
|
}
|
|
2494
2494
|
if ($ === 0 || T === n)
|
|
2495
2495
|
return z(!1);
|
|
2496
2496
|
vt = n, Pt = $;
|
|
2497
|
-
var re = n.nextElementSibling,
|
|
2498
|
-
|
|
2499
|
-
var $e = Kt(ce, e, A, l, n, a, o,
|
|
2497
|
+
var re = n.nextElementSibling, be = !1;
|
|
2498
|
+
be = $ === 1;
|
|
2499
|
+
var $e = Kt(ce, e, A, l, n, a, o, be);
|
|
2500
2500
|
if ($e !== !1)
|
|
2501
|
-
return ($e === 1 || $e === -1) && (
|
|
2501
|
+
return ($e === 1 || $e === -1) && (be = $e === 1), Io = !0, setTimeout(i2, 30), C(), be && !re ? e.appendChild(A) : n.parentNode.insertBefore(A, be ? re : n), P && bn(P, 0, X - P.scrollTop), ve = A.parentNode, F !== void 0 && !Xt && (lo = Math.abs(F - ue(n)[O])), x(), z(!0);
|
|
2502
2502
|
}
|
|
2503
2503
|
if (e.contains(A))
|
|
2504
2504
|
return z(!1);
|
|
@@ -2521,7 +2521,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
2521
2521
|
this._nulling();
|
|
2522
2522
|
return;
|
|
2523
2523
|
}
|
|
2524
|
-
_t = !1, Xt = !1, Ut = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ao(this.cloneId), Ao(this._dragStartId), this.nativeDraggable && (K(document, "drop", this), K(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Lt && U(document.body, "user-select", ""), U(A, "transform", ""), o && (zt && (o.cancelable && o.preventDefault(), !n.dropBubble && o.stopPropagation()),
|
|
2524
|
+
_t = !1, Xt = !1, Ut = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ao(this.cloneId), Ao(this._dragStartId), this.nativeDraggable && (K(document, "drop", this), K(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Lt && U(document.body, "user-select", ""), U(A, "transform", ""), o && (zt && (o.cancelable && o.preventDefault(), !n.dropBubble && o.stopPropagation()), W && W.parentNode && W.parentNode.removeChild(W), (ce === ve || Ve && Ve.lastPutMode !== "clone") && me && me.parentNode && me.parentNode.removeChild(me), A && (this.nativeDraggable && K(A, "dragend", this), Eo(A), A.style["will-change"] = "", zt && !_t && fe(A, Ve ? Ve.options.ghostClass : this.options.ghostClass, !1), fe(A, this.options.chosenClass, !1), Ae({
|
|
2525
2525
|
sortable: this,
|
|
2526
2526
|
name: "unchoose",
|
|
2527
2527
|
toEl: ve,
|
|
@@ -2568,7 +2568,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
2568
2568
|
}), this.save()))), this._nulling();
|
|
2569
2569
|
},
|
|
2570
2570
|
_nulling: function() {
|
|
2571
|
-
Te("nulling", this), ce = A = ve =
|
|
2571
|
+
Te("nulling", this), ce = A = ve = W = ct = me = no = ot = rt = qe = zt = Fe = tt = yt = Ot = vt = Pt = Ve = Yt = B.dragged = B.ghost = B.clone = B.active = null, mo.forEach(function(o) {
|
|
2572
2572
|
o.checked = !0;
|
|
2573
2573
|
}), mo.length = xo = Do = 0;
|
|
2574
2574
|
},
|
|
@@ -2684,11 +2684,11 @@ function i2() {
|
|
|
2684
2684
|
Io = !1;
|
|
2685
2685
|
}
|
|
2686
2686
|
function a2(t, o, e) {
|
|
2687
|
-
var n = ue(Ct(e.el, 0, e.options, !0)), l = yn(e.el, e.options,
|
|
2687
|
+
var n = ue(Ct(e.el, 0, e.options, !0)), l = yn(e.el, e.options, W), a = 10;
|
|
2688
2688
|
return o ? t.clientX < l.left - a || t.clientY < n.top && t.clientX < n.right : t.clientY < l.top - a || t.clientY < n.bottom && t.clientX < n.left;
|
|
2689
2689
|
}
|
|
2690
2690
|
function s2(t, o, e) {
|
|
2691
|
-
var n = ue(Ro(e.el, e.options.draggable)), l = yn(e.el, e.options,
|
|
2691
|
+
var n = ue(Ro(e.el, e.options.draggable)), l = yn(e.el, e.options, W), a = 10;
|
|
2692
2692
|
return o ? t.clientX > l.right + a || t.clientY > n.bottom && t.clientX > n.left : t.clientY > l.bottom + a || t.clientX > n.right && t.clientY > n.top;
|
|
2693
2693
|
}
|
|
2694
2694
|
function r2(t, o, e, n, l, a, s, r) {
|
|
@@ -2838,8 +2838,8 @@ var Mo = _n(function(t, o, e, n) {
|
|
|
2838
2838
|
we[Z] || (we[Z] = {});
|
|
2839
2839
|
(we[h].vx != X || we[h].vy != T || we[h].el !== c) && (we[h].el = c, we[h].vx = X, we[h].vy = T, clearInterval(we[h].pid), (X != 0 || T != 0) && (d = !0, we[h].pid = setInterval((function() {
|
|
2840
2840
|
n && this.layer === 0 && B.active._onTouchMove(fo);
|
|
2841
|
-
var re = we[this.layer].vy ? we[this.layer].vy * r : 0,
|
|
2842
|
-
typeof m == "function" && m.call(B.dragged.parentNode[ke],
|
|
2841
|
+
var re = we[this.layer].vy ? we[this.layer].vy * r : 0, be = we[this.layer].vx ? we[this.layer].vx * r : 0;
|
|
2842
|
+
typeof m == "function" && m.call(B.dragged.parentNode[ke], be, re, t, fo, we[this.layer].el) !== "continue" || bn(we[this.layer].el, be, re);
|
|
2843
2843
|
}).bind({
|
|
2844
2844
|
layer: h
|
|
2845
2845
|
}), 24))), h++;
|
|
@@ -2932,7 +2932,7 @@ function f2(t, o) {
|
|
|
2932
2932
|
var e = t.parentNode, n = o.parentNode, l, a;
|
|
2933
2933
|
!e || !n || e.isEqualNode(o) || n.isEqualNode(t) || (l = ge(t), a = ge(o), e.isEqualNode(n) && l < a && a++, e.insertBefore(o, e.children[l]), n.insertBefore(t, n.children[a]));
|
|
2934
2934
|
}
|
|
2935
|
-
var
|
|
2935
|
+
var G = [], Ue = [], Vt, je, Et = !1, Oe = !1, gt = !1, se, St, Zt;
|
|
2936
2936
|
function h2() {
|
|
2937
2937
|
function t(o) {
|
|
2938
2938
|
for (var e in this)
|
|
@@ -2943,7 +2943,7 @@ function h2() {
|
|
|
2943
2943
|
avoidImplicitDeselect: !1,
|
|
2944
2944
|
setData: function(l, a) {
|
|
2945
2945
|
var s = "";
|
|
2946
|
-
|
|
2946
|
+
G.length && je === o ? G.forEach(function(r, u) {
|
|
2947
2947
|
s += (u ? ", " : "") + r.textContent;
|
|
2948
2948
|
}) : s = a.textContent, l.setData("Text", s);
|
|
2949
2949
|
}
|
|
@@ -2957,19 +2957,19 @@ function h2() {
|
|
|
2957
2957
|
se = n;
|
|
2958
2958
|
},
|
|
2959
2959
|
delayEnded: function() {
|
|
2960
|
-
this.isMultiDrag = ~
|
|
2960
|
+
this.isMultiDrag = ~G.indexOf(se);
|
|
2961
2961
|
},
|
|
2962
2962
|
setupClone: function(e) {
|
|
2963
2963
|
var n = e.sortable, l = e.cancel;
|
|
2964
2964
|
if (this.isMultiDrag) {
|
|
2965
|
-
for (var a = 0; a <
|
|
2966
|
-
Ue.push(No(
|
|
2965
|
+
for (var a = 0; a < G.length; a++)
|
|
2966
|
+
Ue.push(No(G[a])), Ue[a].sortableIndex = G[a].sortableIndex, Ue[a].draggable = !1, Ue[a].style["will-change"] = "", fe(Ue[a], this.options.selectedClass, !1), G[a] === se && fe(Ue[a], this.options.chosenClass, !1);
|
|
2967
2967
|
n._hideClone(), l();
|
|
2968
2968
|
}
|
|
2969
2969
|
},
|
|
2970
2970
|
clone: function(e) {
|
|
2971
2971
|
var n = e.sortable, l = e.rootEl, a = e.dispatchSortableEvent, s = e.cancel;
|
|
2972
|
-
this.isMultiDrag && (this.options.removeCloneOnHide ||
|
|
2972
|
+
this.isMultiDrag && (this.options.removeCloneOnHide || G.length && je === n && (sn(!0, l), a("clone"), s()));
|
|
2973
2973
|
},
|
|
2974
2974
|
showClone: function(e) {
|
|
2975
2975
|
var n = e.cloneNowShown, l = e.rootEl, a = e.cancel;
|
|
@@ -2986,9 +2986,9 @@ function h2() {
|
|
|
2986
2986
|
}), l(), Zt = !0, a());
|
|
2987
2987
|
},
|
|
2988
2988
|
dragStartGlobal: function(e) {
|
|
2989
|
-
e.sortable, !this.isMultiDrag && je && je.multiDrag._deselectMultiDrag(),
|
|
2989
|
+
e.sortable, !this.isMultiDrag && je && je.multiDrag._deselectMultiDrag(), G.forEach(function(n) {
|
|
2990
2990
|
n.sortableIndex = ge(n);
|
|
2991
|
-
}),
|
|
2991
|
+
}), G = G.sort(function(n, l) {
|
|
2992
2992
|
return n.sortableIndex - l.sortableIndex;
|
|
2993
2993
|
}), gt = !0;
|
|
2994
2994
|
},
|
|
@@ -2996,16 +2996,16 @@ function h2() {
|
|
|
2996
2996
|
var n = this, l = e.sortable;
|
|
2997
2997
|
if (this.isMultiDrag) {
|
|
2998
2998
|
if (this.options.sort && (l.captureAnimationState(), this.options.animation)) {
|
|
2999
|
-
|
|
2999
|
+
G.forEach(function(s) {
|
|
3000
3000
|
s !== se && U(s, "position", "absolute");
|
|
3001
3001
|
});
|
|
3002
3002
|
var a = ue(se, !1, !0, !0);
|
|
3003
|
-
|
|
3003
|
+
G.forEach(function(s) {
|
|
3004
3004
|
s !== se && tn(s, a);
|
|
3005
3005
|
}), Oe = !0, Et = !0;
|
|
3006
3006
|
}
|
|
3007
3007
|
l.animateAll(function() {
|
|
3008
|
-
Oe = !1, Et = !1, n.options.animation &&
|
|
3008
|
+
Oe = !1, Et = !1, n.options.animation && G.forEach(function(s) {
|
|
3009
3009
|
wo(s);
|
|
3010
3010
|
}), n.options.sort && Qt();
|
|
3011
3011
|
});
|
|
@@ -3013,11 +3013,11 @@ function h2() {
|
|
|
3013
3013
|
},
|
|
3014
3014
|
dragOver: function(e) {
|
|
3015
3015
|
var n = e.target, l = e.completed, a = e.cancel;
|
|
3016
|
-
Oe && ~
|
|
3016
|
+
Oe && ~G.indexOf(n) && (l(!1), a());
|
|
3017
3017
|
},
|
|
3018
3018
|
revert: function(e) {
|
|
3019
3019
|
var n = e.fromSortable, l = e.rootEl, a = e.sortable, s = e.dragRect;
|
|
3020
|
-
|
|
3020
|
+
G.length > 1 && (G.forEach(function(r) {
|
|
3021
3021
|
a.addAnimationState({
|
|
3022
3022
|
target: r,
|
|
3023
3023
|
rect: Oe ? ue(r) : s
|
|
@@ -3027,14 +3027,14 @@ function h2() {
|
|
|
3027
3027
|
dragOverCompleted: function(e) {
|
|
3028
3028
|
var n = e.sortable, l = e.isOwner, a = e.insertion, s = e.activeSortable, r = e.parentEl, u = e.putSortable, d = this.options;
|
|
3029
3029
|
if (a) {
|
|
3030
|
-
if (l && s._hideClone(), Et = !1, d.animation &&
|
|
3030
|
+
if (l && s._hideClone(), Et = !1, d.animation && G.length > 1 && (Oe || !l && !s.options.sort && !u)) {
|
|
3031
3031
|
var m = ue(se, !1, !0, !0);
|
|
3032
|
-
|
|
3032
|
+
G.forEach(function(v) {
|
|
3033
3033
|
v !== se && (tn(v, m), r.appendChild(v));
|
|
3034
3034
|
}), Oe = !0;
|
|
3035
3035
|
}
|
|
3036
3036
|
if (!l)
|
|
3037
|
-
if (Oe || Qt(),
|
|
3037
|
+
if (Oe || Qt(), G.length > 1) {
|
|
3038
3038
|
var h = Zt;
|
|
3039
3039
|
s._showClone(n), s.options.animation && !Zt && h && Ue.forEach(function(v) {
|
|
3040
3040
|
s.addAnimationState({
|
|
@@ -3048,7 +3048,7 @@ function h2() {
|
|
|
3048
3048
|
},
|
|
3049
3049
|
dragOverAnimationCapture: function(e) {
|
|
3050
3050
|
var n = e.dragRect, l = e.isOwner, a = e.activeSortable;
|
|
3051
|
-
if (
|
|
3051
|
+
if (G.forEach(function(r) {
|
|
3052
3052
|
r.thisAnimationDuration = null;
|
|
3053
3053
|
}), a.options.animation && !l && a.multiDrag.isMultiDrag) {
|
|
3054
3054
|
St = He({}, n);
|
|
@@ -3064,8 +3064,8 @@ function h2() {
|
|
|
3064
3064
|
if (n) {
|
|
3065
3065
|
var h = this.options, v = a.children;
|
|
3066
3066
|
if (!gt)
|
|
3067
|
-
if (h.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), fe(se, h.selectedClass, !~
|
|
3068
|
-
|
|
3067
|
+
if (h.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), fe(se, h.selectedClass, !~G.indexOf(se)), ~G.indexOf(se))
|
|
3068
|
+
G.splice(G.indexOf(se), 1), Vt = null, Mt({
|
|
3069
3069
|
sortable: s,
|
|
3070
3070
|
rootEl: l,
|
|
3071
3071
|
name: "deselect",
|
|
@@ -3073,7 +3073,7 @@ function h2() {
|
|
|
3073
3073
|
originalEvent: n
|
|
3074
3074
|
});
|
|
3075
3075
|
else {
|
|
3076
|
-
if (
|
|
3076
|
+
if (G.push(se), Mt({
|
|
3077
3077
|
sortable: s,
|
|
3078
3078
|
rootEl: l,
|
|
3079
3079
|
name: "select",
|
|
@@ -3084,7 +3084,7 @@ function h2() {
|
|
|
3084
3084
|
if (~c && ~b && c !== b) {
|
|
3085
3085
|
var _, y;
|
|
3086
3086
|
for (b > c ? (y = c, _ = b) : (y = b, _ = c + 1); y < _; y++)
|
|
3087
|
-
~
|
|
3087
|
+
~G.indexOf(v[y]) || (fe(v[y], h.selectedClass, !0), G.push(v[y]), Mt({
|
|
3088
3088
|
sortable: s,
|
|
3089
3089
|
rootEl: l,
|
|
3090
3090
|
name: "select",
|
|
@@ -3097,9 +3097,9 @@ function h2() {
|
|
|
3097
3097
|
je = m;
|
|
3098
3098
|
}
|
|
3099
3099
|
if (gt && this.isMultiDrag) {
|
|
3100
|
-
if (Oe = !1, (a[ke].options.sort || a !== l) &&
|
|
3100
|
+
if (Oe = !1, (a[ke].options.sort || a !== l) && G.length > 1) {
|
|
3101
3101
|
var C = ue(se), z = ge(se, ":not(." + this.options.selectedClass + ")");
|
|
3102
|
-
if (!Et && h.animation && (se.thisAnimationDuration = null), m.captureAnimationState(), !Et && (h.animation && (se.fromRect = C,
|
|
3102
|
+
if (!Et && h.animation && (se.thisAnimationDuration = null), m.captureAnimationState(), !Et && (h.animation && (se.fromRect = C, G.forEach(function(V) {
|
|
3103
3103
|
if (V.thisAnimationDuration = null, V !== se) {
|
|
3104
3104
|
var w = Oe ? ue(V) : C;
|
|
3105
3105
|
V.fromRect = w, m.addAnimationState({
|
|
@@ -3107,18 +3107,18 @@ function h2() {
|
|
|
3107
3107
|
rect: w
|
|
3108
3108
|
});
|
|
3109
3109
|
}
|
|
3110
|
-
})), Qt(),
|
|
3110
|
+
})), Qt(), G.forEach(function(V) {
|
|
3111
3111
|
v[z] ? a.insertBefore(V, v[z]) : a.appendChild(V), z++;
|
|
3112
3112
|
}), u === ge(se))) {
|
|
3113
3113
|
var x = !1;
|
|
3114
|
-
|
|
3114
|
+
G.forEach(function(V) {
|
|
3115
3115
|
if (V.sortableIndex !== ge(V)) {
|
|
3116
3116
|
x = !0;
|
|
3117
3117
|
return;
|
|
3118
3118
|
}
|
|
3119
3119
|
}), x && (r("update"), r("sort"));
|
|
3120
3120
|
}
|
|
3121
|
-
|
|
3121
|
+
G.forEach(function(V) {
|
|
3122
3122
|
wo(V);
|
|
3123
3123
|
}), m.animateAll();
|
|
3124
3124
|
}
|
|
@@ -3137,9 +3137,9 @@ function h2() {
|
|
|
3137
3137
|
},
|
|
3138
3138
|
_deselectMultiDrag: function(e) {
|
|
3139
3139
|
if (!(typeof gt < "u" && gt) && je === this.sortable && !(e && Be(e.target, this.options.draggable, this.sortable.el, !1)) && !(e && e.button !== 0))
|
|
3140
|
-
for (;
|
|
3141
|
-
var n =
|
|
3142
|
-
fe(n, this.options.selectedClass, !1),
|
|
3140
|
+
for (; G.length; ) {
|
|
3141
|
+
var n = G[0];
|
|
3142
|
+
fe(n, this.options.selectedClass, !1), G.shift(), Mt({
|
|
3143
3143
|
sortable: this.sortable,
|
|
3144
3144
|
rootEl: this.sortable.el,
|
|
3145
3145
|
name: "deselect",
|
|
@@ -3164,20 +3164,20 @@ function h2() {
|
|
|
3164
3164
|
*/
|
|
3165
3165
|
select: function(e) {
|
|
3166
3166
|
var n = e.parentNode[ke];
|
|
3167
|
-
!n || !n.options.multiDrag || ~
|
|
3167
|
+
!n || !n.options.multiDrag || ~G.indexOf(e) || (je && je !== n && (je.multiDrag._deselectMultiDrag(), je = n), fe(e, n.options.selectedClass, !0), G.push(e));
|
|
3168
3168
|
},
|
|
3169
3169
|
/**
|
|
3170
3170
|
* Deselects the provided multi-drag item
|
|
3171
3171
|
* @param {HTMLElement} el The element to be deselected
|
|
3172
3172
|
*/
|
|
3173
3173
|
deselect: function(e) {
|
|
3174
|
-
var n = e.parentNode[ke], l =
|
|
3175
|
-
!n || !n.options.multiDrag || !~l || (fe(e, n.options.selectedClass, !1),
|
|
3174
|
+
var n = e.parentNode[ke], l = G.indexOf(e);
|
|
3175
|
+
!n || !n.options.multiDrag || !~l || (fe(e, n.options.selectedClass, !1), G.splice(l, 1));
|
|
3176
3176
|
}
|
|
3177
3177
|
},
|
|
3178
3178
|
eventProperties: function() {
|
|
3179
3179
|
var e = this, n = [], l = [];
|
|
3180
|
-
return
|
|
3180
|
+
return G.forEach(function(a) {
|
|
3181
3181
|
n.push({
|
|
3182
3182
|
multiDragElement: a,
|
|
3183
3183
|
index: a.sortableIndex
|
|
@@ -3188,7 +3188,7 @@ function h2() {
|
|
|
3188
3188
|
index: s
|
|
3189
3189
|
});
|
|
3190
3190
|
}), {
|
|
3191
|
-
items: Ri(
|
|
3191
|
+
items: Ri(G),
|
|
3192
3192
|
clones: [].concat(Ue),
|
|
3193
3193
|
oldIndicies: n,
|
|
3194
3194
|
newIndicies: l
|
|
@@ -3202,7 +3202,7 @@ function h2() {
|
|
|
3202
3202
|
});
|
|
3203
3203
|
}
|
|
3204
3204
|
function v2(t, o) {
|
|
3205
|
-
|
|
3205
|
+
G.forEach(function(e, n) {
|
|
3206
3206
|
var l = o.children[e.sortableIndex + (t ? Number(n) : 0)];
|
|
3207
3207
|
l ? o.insertBefore(e, l) : o.appendChild(e);
|
|
3208
3208
|
});
|
|
@@ -3214,7 +3214,7 @@ function sn(t, o) {
|
|
|
3214
3214
|
});
|
|
3215
3215
|
}
|
|
3216
3216
|
function Qt() {
|
|
3217
|
-
|
|
3217
|
+
G.forEach(function(t) {
|
|
3218
3218
|
t !== se && t.parentNode && t.parentNode.removeChild(t);
|
|
3219
3219
|
});
|
|
3220
3220
|
}
|
|
@@ -3550,7 +3550,7 @@ const P2 = {
|
|
|
3550
3550
|
required: !1,
|
|
3551
3551
|
default: null
|
|
3552
3552
|
}
|
|
3553
|
-
}, U2 = ["update:modelValue", "change", ...[...Oo.manageAndEmit, ...Oo.emit].map((t) => t.toLowerCase())], Ht =
|
|
3553
|
+
}, U2 = ["update:modelValue", "change", ...[...Oo.manageAndEmit, ...Oo.emit].map((t) => t.toLowerCase())], Ht = ne({
|
|
3554
3554
|
name: "draggable",
|
|
3555
3555
|
inheritAttrs: !1,
|
|
3556
3556
|
props: P2,
|
|
@@ -3873,7 +3873,7 @@ let Je = class {
|
|
|
3873
3873
|
this.type = o, this.name = e, this.isEdit = n, this.isInput = l, this.id = F2(), this.props = {}, this.rules = [{ message: "必填项", required: !1 }], this.excludeFilterConditions = [], this.filterConditionProps = void 0, this.isLayout = !1, this.children = void 0;
|
|
3874
3874
|
}
|
|
3875
3875
|
};
|
|
3876
|
-
const R2 = /* @__PURE__ */
|
|
3876
|
+
const R2 = /* @__PURE__ */ ne({
|
|
3877
3877
|
__name: "propsEditor",
|
|
3878
3878
|
props: {},
|
|
3879
3879
|
setup(t) {
|
|
@@ -3994,7 +3994,7 @@ const R2 = /* @__PURE__ */ oe({
|
|
|
3994
3994
|
const N2 = ["onClick"], B2 = {
|
|
3995
3995
|
key: 2,
|
|
3996
3996
|
class: "operates"
|
|
3997
|
-
}, Tn = /* @__PURE__ */
|
|
3997
|
+
}, Tn = /* @__PURE__ */ ne({
|
|
3998
3998
|
__name: "componentDesigner",
|
|
3999
3999
|
props: {
|
|
4000
4000
|
/**
|
|
@@ -4040,7 +4040,7 @@ const N2 = ["onClick"], B2 = {
|
|
|
4040
4040
|
u.value.splice(_, 1), s.selectComponent = void 0, d("deleteComponent", y);
|
|
4041
4041
|
};
|
|
4042
4042
|
return (_, y) => {
|
|
4043
|
-
const C = D("el-form-item"), z =
|
|
4043
|
+
const C = D("el-form-item"), z = ye;
|
|
4044
4044
|
return f(), M(i(Ht), {
|
|
4045
4045
|
list: i(u),
|
|
4046
4046
|
"item-key": "id",
|
|
@@ -4080,7 +4080,7 @@ const N2 = ["onClick"], B2 = {
|
|
|
4080
4080
|
"font-size": x.props.fontSize + "px",
|
|
4081
4081
|
"font-weight": x.props.isBold ? "bold" : "normal"
|
|
4082
4082
|
})
|
|
4083
|
-
},
|
|
4083
|
+
}, oe(x.props.showLabel ? x.props.label + ":" : ""), 5)
|
|
4084
4084
|
]),
|
|
4085
4085
|
default: g(() => [
|
|
4086
4086
|
(f(), M(Ft(e[x.type].renderer), {
|
|
@@ -4114,7 +4114,7 @@ const N2 = ["onClick"], B2 = {
|
|
|
4114
4114
|
};
|
|
4115
4115
|
}
|
|
4116
4116
|
});
|
|
4117
|
-
const H2 = /* @__PURE__ */
|
|
4117
|
+
const H2 = /* @__PURE__ */ ne({
|
|
4118
4118
|
__name: "renderer",
|
|
4119
4119
|
props: {
|
|
4120
4120
|
/**
|
|
@@ -4170,7 +4170,7 @@ const H2 = /* @__PURE__ */ oe({
|
|
|
4170
4170
|
"font-size": i(n).props.fontSize + "px",
|
|
4171
4171
|
"font-weight": i(n).props.isBold ? "bold" : "normal"
|
|
4172
4172
|
})
|
|
4173
|
-
},
|
|
4173
|
+
}, oe(i(n).props.label), 5)) : I("", !0),
|
|
4174
4174
|
t.isDesigner ? (f(), M(Tn, {
|
|
4175
4175
|
key: 1,
|
|
4176
4176
|
components: i(n).children,
|
|
@@ -4205,7 +4205,7 @@ let q2 = class extends Je {
|
|
|
4205
4205
|
}, this.isLayout = !0, this.children = [];
|
|
4206
4206
|
}
|
|
4207
4207
|
};
|
|
4208
|
-
const j2 = { component: q2, renderer: H2, propEditor: R2 }, G2 = /* @__PURE__ */
|
|
4208
|
+
const j2 = { component: q2, renderer: H2, propEditor: R2 }, G2 = /* @__PURE__ */ ne({
|
|
4209
4209
|
__name: "propsEditor",
|
|
4210
4210
|
props: {},
|
|
4211
4211
|
setup(t) {
|
|
@@ -4289,7 +4289,7 @@ const j2 = { component: q2, renderer: H2, propEditor: R2 }, G2 = /* @__PURE__ */
|
|
|
4289
4289
|
const W2 = { class: "upload-component" }, Y2 = /* @__PURE__ */ S("span", { class: "button-text" }, "上传文件", -1), X2 = {
|
|
4290
4290
|
key: 0,
|
|
4291
4291
|
class: "description"
|
|
4292
|
-
}, J2 = /* @__PURE__ */
|
|
4292
|
+
}, J2 = /* @__PURE__ */ ne({
|
|
4293
4293
|
__name: "renderer",
|
|
4294
4294
|
props: {
|
|
4295
4295
|
/**
|
|
@@ -4363,7 +4363,7 @@ const W2 = { class: "upload-component" }, Y2 = /* @__PURE__ */ S("span", { class
|
|
|
4363
4363
|
(c = a.value[e.componentID]) != null && c.length && (v += `,您已上传了${a.value[e.componentID].length}个文件,最多还能选择${s.value.fileLimit - a.value[e.componentID].length}个文件`), Se("error", v);
|
|
4364
4364
|
};
|
|
4365
4365
|
return (v, c) => {
|
|
4366
|
-
const b =
|
|
4366
|
+
const b = ye, _ = D("el-button"), y = D("el-upload");
|
|
4367
4367
|
return f(), E("div", W2, [
|
|
4368
4368
|
p(y, {
|
|
4369
4369
|
ref_key: "uploadRef",
|
|
@@ -4409,7 +4409,7 @@ const W2 = { class: "upload-component" }, Y2 = /* @__PURE__ */ S("span", { class
|
|
|
4409
4409
|
name: "tip",
|
|
4410
4410
|
color: "#ff0000"
|
|
4411
4411
|
}),
|
|
4412
|
-
|
|
4412
|
+
j(" " + oe(`${i(l).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
|
|
4413
4413
|
])) : I("", !0)
|
|
4414
4414
|
]);
|
|
4415
4415
|
};
|
|
@@ -4435,7 +4435,7 @@ let K2 = class extends Je {
|
|
|
4435
4435
|
};
|
|
4436
4436
|
}
|
|
4437
4437
|
};
|
|
4438
|
-
const Z2 = { component: K2, renderer: J2, propEditor: G2 }, Q2 = /* @__PURE__ */
|
|
4438
|
+
const Z2 = { component: K2, renderer: J2, propEditor: G2 }, Q2 = /* @__PURE__ */ ne({
|
|
4439
4439
|
__name: "propsEditor",
|
|
4440
4440
|
props: {},
|
|
4441
4441
|
setup(t) {
|
|
@@ -4519,7 +4519,7 @@ const Z2 = { component: K2, renderer: J2, propEditor: G2 }, Q2 = /* @__PURE__ */
|
|
|
4519
4519
|
const ea = { class: "upload-image-component" }, ta = { class: "el-upload-list__item-actions" }, oa = { class: "el-upload-list__item-preview" }, na = { class: "el-upload-list__item-delete" }, la = {
|
|
4520
4520
|
key: 0,
|
|
4521
4521
|
class: "description"
|
|
4522
|
-
}, ia = /* @__PURE__ */
|
|
4522
|
+
}, ia = /* @__PURE__ */ ne({
|
|
4523
4523
|
__name: "renderer",
|
|
4524
4524
|
props: {
|
|
4525
4525
|
/**
|
|
@@ -4594,7 +4594,7 @@ const ea = { class: "upload-image-component" }, ta = { class: "el-upload-list__i
|
|
|
4594
4594
|
};
|
|
4595
4595
|
return (c, b) => {
|
|
4596
4596
|
var z;
|
|
4597
|
-
const _ =
|
|
4597
|
+
const _ = ye, y = D("el-image"), C = D("el-upload");
|
|
4598
4598
|
return f(), E("div", ea, [
|
|
4599
4599
|
p(C, {
|
|
4600
4600
|
ref_key: "uploadImageRef",
|
|
@@ -4652,7 +4652,7 @@ const ea = { class: "upload-image-component" }, ta = { class: "el-upload-list__i
|
|
|
4652
4652
|
name: "tip",
|
|
4653
4653
|
color: "#ff0000"
|
|
4654
4654
|
}),
|
|
4655
|
-
|
|
4655
|
+
j(" " + oe(`${i(l).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
|
|
4656
4656
|
])) : I("", !0)
|
|
4657
4657
|
]);
|
|
4658
4658
|
};
|
|
@@ -4760,7 +4760,7 @@ function fa(t, o, e, n = {}) {
|
|
|
4760
4760
|
}
|
|
4761
4761
|
});
|
|
4762
4762
|
}
|
|
4763
|
-
const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { style: { float: "right", color: "#8492a6" } }, _a = /* @__PURE__ */
|
|
4763
|
+
const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { style: { float: "right", color: "#8492a6" } }, _a = /* @__PURE__ */ ne({
|
|
4764
4764
|
__name: "propsEditor",
|
|
4765
4765
|
setup(t) {
|
|
4766
4766
|
let o = le("formDesignerData"), e = o.selectComponent.props;
|
|
@@ -4796,7 +4796,7 @@ const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { s
|
|
|
4796
4796
|
}, u.value = e.options;
|
|
4797
4797
|
};
|
|
4798
4798
|
return (v, c) => {
|
|
4799
|
-
const b = D("el-radio-button"), _ = D("el-radio-group"), y = D("el-form-item"), C = D("el-switch"), z = D("el-input-number"), x = D("el-divider"), V =
|
|
4799
|
+
const b = D("el-radio-button"), _ = D("el-radio-group"), y = D("el-form-item"), C = D("el-switch"), z = D("el-input-number"), x = D("el-divider"), V = ye, w = D("el-option"), $ = D("el-select"), F = D("el-button"), Y = D("el-form");
|
|
4800
4800
|
return f(), M(Y, {
|
|
4801
4801
|
"label-width": "80px",
|
|
4802
4802
|
"label-suffix": ":",
|
|
@@ -4813,19 +4813,19 @@ const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { s
|
|
|
4813
4813
|
default: g(() => [
|
|
4814
4814
|
p(b, { value: "radio" }, {
|
|
4815
4815
|
default: g(() => [
|
|
4816
|
-
|
|
4816
|
+
j("单选")
|
|
4817
4817
|
]),
|
|
4818
4818
|
_: 1
|
|
4819
4819
|
}),
|
|
4820
4820
|
p(b, { value: "checkbox" }, {
|
|
4821
4821
|
default: g(() => [
|
|
4822
|
-
|
|
4822
|
+
j("多选")
|
|
4823
4823
|
]),
|
|
4824
4824
|
_: 1
|
|
4825
4825
|
}),
|
|
4826
4826
|
p(b, { value: "selector" }, {
|
|
4827
4827
|
default: g(() => [
|
|
4828
|
-
|
|
4828
|
+
j("下拉框")
|
|
4829
4829
|
]),
|
|
4830
4830
|
_: 1
|
|
4831
4831
|
})
|
|
@@ -4892,7 +4892,7 @@ const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { s
|
|
|
4892
4892
|
], 64)) : I("", !0),
|
|
4893
4893
|
p(x, null, {
|
|
4894
4894
|
default: g(() => [
|
|
4895
|
-
|
|
4895
|
+
j("选项列表")
|
|
4896
4896
|
]),
|
|
4897
4897
|
_: 1
|
|
4898
4898
|
}),
|
|
@@ -4940,8 +4940,8 @@ const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { s
|
|
|
4940
4940
|
label: P.label,
|
|
4941
4941
|
suffix: P.suffix
|
|
4942
4942
|
}, () => [
|
|
4943
|
-
S("span", va,
|
|
4944
|
-
S("span", ga,
|
|
4943
|
+
S("span", va, oe(P.label), 1),
|
|
4944
|
+
S("span", ga, oe(P.suffix), 1)
|
|
4945
4945
|
])
|
|
4946
4946
|
]),
|
|
4947
4947
|
_: 2
|
|
@@ -4980,7 +4980,7 @@ const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { s
|
|
|
4980
4980
|
color: "#08c979",
|
|
4981
4981
|
size: "16px"
|
|
4982
4982
|
}),
|
|
4983
|
-
|
|
4983
|
+
j(" 添加 ")
|
|
4984
4984
|
]),
|
|
4985
4985
|
_: 1
|
|
4986
4986
|
})
|
|
@@ -4996,7 +4996,7 @@ const ha = { class: "option-wrap" }, va = { style: { float: "left" } }, ga = { s
|
|
|
4996
4996
|
const ba = { class: "employee-component" }, ya = {
|
|
4997
4997
|
key: 3,
|
|
4998
4998
|
class: "description"
|
|
4999
|
-
}, wa = /* @__PURE__ */
|
|
4999
|
+
}, wa = /* @__PURE__ */ ne({
|
|
5000
5000
|
__name: "renderer",
|
|
5001
5001
|
props: {
|
|
5002
5002
|
/**
|
|
@@ -5064,7 +5064,7 @@ const ba = { class: "employee-component" }, ya = {
|
|
|
5064
5064
|
a.value.clearable && l.value[e.componentID] === h && (s.value = void 0, m.preventDefault());
|
|
5065
5065
|
};
|
|
5066
5066
|
return (m, h) => {
|
|
5067
|
-
const v = D("el-radio"), c = D("el-radio-group"), b = D("el-checkbox"), _ = D("el-checkbox-group"), y = D("el-option"), C = D("el-select"), z =
|
|
5067
|
+
const v = D("el-radio"), c = D("el-radio-group"), b = D("el-checkbox"), _ = D("el-checkbox-group"), y = D("el-option"), C = D("el-select"), z = ye;
|
|
5068
5068
|
return f(), E("div", ba, [
|
|
5069
5069
|
i(a).type === "radio" ? (f(), M(c, {
|
|
5070
5070
|
key: 0,
|
|
@@ -5080,7 +5080,7 @@ const ba = { class: "employee-component" }, ya = {
|
|
|
5080
5080
|
onClick: (w) => d(w, x.value)
|
|
5081
5081
|
}, {
|
|
5082
5082
|
default: g(() => [
|
|
5083
|
-
|
|
5083
|
+
j(oe(x.label), 1)
|
|
5084
5084
|
]),
|
|
5085
5085
|
_: 2
|
|
5086
5086
|
}, 1032, ["value", "onClick"]))), 128))
|
|
@@ -5102,7 +5102,7 @@ const ba = { class: "employee-component" }, ya = {
|
|
|
5102
5102
|
key: V
|
|
5103
5103
|
}, {
|
|
5104
5104
|
default: g(() => [
|
|
5105
|
-
|
|
5105
|
+
j(oe(x.label), 1)
|
|
5106
5106
|
]),
|
|
5107
5107
|
_: 2
|
|
5108
5108
|
}, 1032, ["value"]))), 128))
|
|
@@ -5131,7 +5131,7 @@ const ba = { class: "employee-component" }, ya = {
|
|
|
5131
5131
|
name: "tip",
|
|
5132
5132
|
color: "#ff0000"
|
|
5133
5133
|
}),
|
|
5134
|
-
|
|
5134
|
+
j(" " + oe(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
|
|
5135
5135
|
])) : I("", !0)
|
|
5136
5136
|
]);
|
|
5137
5137
|
};
|
|
@@ -5209,7 +5209,7 @@ function qo() {
|
|
|
5209
5209
|
}
|
|
5210
5210
|
};
|
|
5211
5211
|
}
|
|
5212
|
-
const Da = /* @__PURE__ */
|
|
5212
|
+
const Da = /* @__PURE__ */ ne({
|
|
5213
5213
|
__name: "propsEditor",
|
|
5214
5214
|
setup(t) {
|
|
5215
5215
|
let o = le("formDesignerData"), e = o.selectComponent.props;
|
|
@@ -5335,7 +5335,7 @@ const Da = /* @__PURE__ */ oe({
|
|
|
5335
5335
|
});
|
|
5336
5336
|
};
|
|
5337
5337
|
}
|
|
5338
|
-
}), Va = { class: "auto-complete" }, Ea = { key: 0 }, Sa = /* @__PURE__ */
|
|
5338
|
+
}), Va = { class: "auto-complete" }, Ea = { key: 0 }, Sa = /* @__PURE__ */ ne({
|
|
5339
5339
|
__name: "autoComplete",
|
|
5340
5340
|
props: {
|
|
5341
5341
|
modelValue: {
|
|
@@ -5389,7 +5389,7 @@ const Da = /* @__PURE__ */ oe({
|
|
|
5389
5389
|
return (c, b) => {
|
|
5390
5390
|
const _ = D("el-autocomplete");
|
|
5391
5391
|
return f(), E("div", Va, [
|
|
5392
|
-
t.label ? (f(), E("span", Ea,
|
|
5392
|
+
t.label ? (f(), E("span", Ea, oe(t.label), 1)) : I("", !0),
|
|
5393
5393
|
p(_, {
|
|
5394
5394
|
ref_key: "autoCompleteRef",
|
|
5395
5395
|
ref: e,
|
|
@@ -5403,7 +5403,7 @@ const Da = /* @__PURE__ */ oe({
|
|
|
5403
5403
|
onBlur: u
|
|
5404
5404
|
}, {
|
|
5405
5405
|
default: g(({ item: y }) => [
|
|
5406
|
-
S("span", null,
|
|
5406
|
+
S("span", null, oe(y.value), 1)
|
|
5407
5407
|
]),
|
|
5408
5408
|
_: 1
|
|
5409
5409
|
}, 8, ["modelValue", "select-when-unmatched", "disabled"])
|
|
@@ -5414,7 +5414,7 @@ const Da = /* @__PURE__ */ oe({
|
|
|
5414
5414
|
const ka = { class: "grade-component" }, Ma = {
|
|
5415
5415
|
key: 3,
|
|
5416
5416
|
class: "description"
|
|
5417
|
-
}, za = /* @__PURE__ */
|
|
5417
|
+
}, za = /* @__PURE__ */ ne({
|
|
5418
5418
|
__name: "renderer",
|
|
5419
5419
|
props: {
|
|
5420
5420
|
/**
|
|
@@ -5487,7 +5487,7 @@ const ka = { class: "grade-component" }, Ma = {
|
|
|
5487
5487
|
s.value.clearable && r.value.score === v && (delete r.value.score, h.preventDefault());
|
|
5488
5488
|
};
|
|
5489
5489
|
return (h, v) => {
|
|
5490
|
-
const c = D("el-radio"), b = D("el-radio-group"), _ = Sa, y =
|
|
5490
|
+
const c = D("el-radio"), b = D("el-radio-group"), _ = Sa, y = ye;
|
|
5491
5491
|
return f(), E("div", ka, [
|
|
5492
5492
|
p(b, {
|
|
5493
5493
|
class: xe(["grade-items", { "new-line": i(s).newLine }]),
|
|
@@ -5502,7 +5502,7 @@ const ka = { class: "grade-component" }, Ma = {
|
|
|
5502
5502
|
onClick: (x) => m(x, C.value)
|
|
5503
5503
|
}, {
|
|
5504
5504
|
default: g(() => [
|
|
5505
|
-
|
|
5505
|
+
j(oe(C.label), 1)
|
|
5506
5506
|
]),
|
|
5507
5507
|
_: 2
|
|
5508
5508
|
}, 1032, ["value", "onClick"]))), 128))
|
|
@@ -5550,7 +5550,7 @@ const ka = { class: "grade-component" }, Ma = {
|
|
|
5550
5550
|
name: "tip",
|
|
5551
5551
|
color: "#ff0000"
|
|
5552
5552
|
}),
|
|
5553
|
-
|
|
5553
|
+
j(" " + oe(`${i(l).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
|
|
5554
5554
|
])) : I("", !0)
|
|
5555
5555
|
]);
|
|
5556
5556
|
};
|
|
@@ -5622,7 +5622,7 @@ let Aa = class extends Je {
|
|
|
5622
5622
|
return ["INCLUDES", "EXCLUDE", "RANGE", "EMPTY"];
|
|
5623
5623
|
}
|
|
5624
5624
|
};
|
|
5625
|
-
const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */
|
|
5625
|
+
const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */ ne({
|
|
5626
5626
|
__name: "propsEditor",
|
|
5627
5627
|
setup(t) {
|
|
5628
5628
|
let o = le("formDesignerData"), e = o.selectComponent.props;
|
|
@@ -5655,19 +5655,19 @@ const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */
|
|
|
5655
5655
|
default: g(() => [
|
|
5656
5656
|
p(s, { value: "radio" }, {
|
|
5657
5657
|
default: g(() => [
|
|
5658
|
-
|
|
5658
|
+
j("单选")
|
|
5659
5659
|
]),
|
|
5660
5660
|
_: 1
|
|
5661
5661
|
}),
|
|
5662
5662
|
p(s, { value: "checkbox" }, {
|
|
5663
5663
|
default: g(() => [
|
|
5664
|
-
|
|
5664
|
+
j("多选")
|
|
5665
5665
|
]),
|
|
5666
5666
|
_: 1
|
|
5667
5667
|
}),
|
|
5668
5668
|
p(s, { value: "selector" }, {
|
|
5669
5669
|
default: g(() => [
|
|
5670
|
-
|
|
5670
|
+
j("下拉框")
|
|
5671
5671
|
]),
|
|
5672
5672
|
_: 1
|
|
5673
5673
|
})
|
|
@@ -5740,7 +5740,7 @@ const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */
|
|
|
5740
5740
|
}), Oa = { class: "post-component" }, Pa = {
|
|
5741
5741
|
key: 3,
|
|
5742
5742
|
class: "description"
|
|
5743
|
-
}, Ua = /* @__PURE__ */
|
|
5743
|
+
}, Ua = /* @__PURE__ */ ne({
|
|
5744
5744
|
__name: "renderer",
|
|
5745
5745
|
props: {
|
|
5746
5746
|
/**
|
|
@@ -5808,7 +5808,7 @@ const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */
|
|
|
5808
5808
|
a.value.clearable && l.value[e.componentID] === h && (s.value = void 0, m.preventDefault());
|
|
5809
5809
|
};
|
|
5810
5810
|
return (m, h) => {
|
|
5811
|
-
const v = D("el-radio"), c = D("el-radio-group"), b = D("el-checkbox"), _ = D("el-checkbox-group"), y = D("el-option"), C = D("el-select"), z =
|
|
5811
|
+
const v = D("el-radio"), c = D("el-radio-group"), b = D("el-checkbox"), _ = D("el-checkbox-group"), y = D("el-option"), C = D("el-select"), z = ye;
|
|
5812
5812
|
return f(), E("div", Oa, [
|
|
5813
5813
|
i(a).type === "radio" ? (f(), M(c, {
|
|
5814
5814
|
key: 0,
|
|
@@ -5824,7 +5824,7 @@ const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */
|
|
|
5824
5824
|
onClick: (w) => d(w, x.value)
|
|
5825
5825
|
}, {
|
|
5826
5826
|
default: g(() => [
|
|
5827
|
-
|
|
5827
|
+
j(oe(x.label), 1)
|
|
5828
5828
|
]),
|
|
5829
5829
|
_: 2
|
|
5830
5830
|
}, 1032, ["value", "onClick"]))), 128))
|
|
@@ -5846,7 +5846,7 @@ const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */
|
|
|
5846
5846
|
key: V
|
|
5847
5847
|
}, {
|
|
5848
5848
|
default: g(() => [
|
|
5849
|
-
|
|
5849
|
+
j(oe(x.label), 1)
|
|
5850
5850
|
]),
|
|
5851
5851
|
_: 2
|
|
5852
5852
|
}, 1032, ["value"]))), 128))
|
|
@@ -5875,7 +5875,7 @@ const La = { component: Aa, renderer: za, propEditor: Da }, Ta = /* @__PURE__ */
|
|
|
5875
5875
|
name: "tip",
|
|
5876
5876
|
color: "#ff0000"
|
|
5877
5877
|
}),
|
|
5878
|
-
|
|
5878
|
+
j(" " + oe(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
|
|
5879
5879
|
])) : I("", !0)
|
|
5880
5880
|
]);
|
|
5881
5881
|
};
|
|
@@ -5934,7 +5934,7 @@ let Fa = class extends Je {
|
|
|
5934
5934
|
const Ra = { component: Fa, renderer: Ua, propEditor: Ta }, Na = { class: "dictionary-binder" }, Ba = { class: "item" }, Ha = { class: "label" }, qa = {
|
|
5935
5935
|
key: 0,
|
|
5936
5936
|
class: "item-souce-type"
|
|
5937
|
-
}, jo = /* @__PURE__ */
|
|
5937
|
+
}, jo = /* @__PURE__ */ ne({
|
|
5938
5938
|
__name: "dictionaryBinder",
|
|
5939
5939
|
props: {
|
|
5940
5940
|
modelValue: {
|
|
@@ -6010,8 +6010,8 @@ const Ra = { component: Fa, renderer: Ua, propEditor: Ta }, Na = { class: "dicti
|
|
|
6010
6010
|
}, {
|
|
6011
6011
|
default: g(({ item: x }) => [
|
|
6012
6012
|
S("div", Ba, [
|
|
6013
|
-
S("span", Ha,
|
|
6014
|
-
i(l) ? (f(), E("span", qa,
|
|
6013
|
+
S("span", Ha, oe(x.label), 1),
|
|
6014
|
+
i(l) ? (f(), E("span", qa, oe(i(s).get(x.itemSourceType)), 1)) : I("", !0)
|
|
6015
6015
|
])
|
|
6016
6016
|
]),
|
|
6017
6017
|
_: 1
|
|
@@ -6028,7 +6028,7 @@ const Ra = { component: Fa, renderer: Ua, propEditor: Ta }, Na = { class: "dicti
|
|
|
6028
6028
|
};
|
|
6029
6029
|
}
|
|
6030
6030
|
});
|
|
6031
|
-
const ja = { class: "option-wrap" }, Ga = /* @__PURE__ */
|
|
6031
|
+
const ja = { class: "option-wrap" }, Ga = /* @__PURE__ */ ne({
|
|
6032
6032
|
__name: "propsEditor",
|
|
6033
6033
|
props: {
|
|
6034
6034
|
/**
|
|
@@ -6053,7 +6053,7 @@ const ja = { class: "option-wrap" }, Ga = /* @__PURE__ */ oe({
|
|
|
6053
6053
|
d.value = u.value, d.itemSourceType = u.itemSourceType;
|
|
6054
6054
|
};
|
|
6055
6055
|
return (u, d) => {
|
|
6056
|
-
const m = D("el-option"), h = D("el-select"), v = D("el-form-item"), c = D("el-switch"), b = D("el-input-number"), _ = D("el-divider"), y =
|
|
6056
|
+
const m = D("el-option"), h = D("el-select"), v = D("el-form-item"), c = D("el-switch"), b = D("el-input-number"), _ = D("el-divider"), y = ye, C = D("el-checkbox"), z = D("el-tooltip"), x = D("el-button"), V = D("el-form");
|
|
6057
6057
|
return f(), M(V, {
|
|
6058
6058
|
"label-width": "80px",
|
|
6059
6059
|
"label-suffix": ":",
|
|
@@ -6116,7 +6116,7 @@ const ja = { class: "option-wrap" }, Ga = /* @__PURE__ */ oe({
|
|
|
6116
6116
|
}),
|
|
6117
6117
|
p(_, null, {
|
|
6118
6118
|
default: g(() => [
|
|
6119
|
-
|
|
6119
|
+
j("选项列表")
|
|
6120
6120
|
]),
|
|
6121
6121
|
_: 1
|
|
6122
6122
|
}),
|
|
@@ -6196,7 +6196,7 @@ const ja = { class: "option-wrap" }, Ga = /* @__PURE__ */ oe({
|
|
|
6196
6196
|
color: "#08c979",
|
|
6197
6197
|
size: "16px"
|
|
6198
6198
|
}),
|
|
6199
|
-
|
|
6199
|
+
j(" 添加 ")
|
|
6200
6200
|
]),
|
|
6201
6201
|
_: 1
|
|
6202
6202
|
})
|
|
@@ -6212,7 +6212,7 @@ const ja = { class: "option-wrap" }, Ga = /* @__PURE__ */ oe({
|
|
|
6212
6212
|
const Wa = { class: "checkbox-component" }, Ya = {
|
|
6213
6213
|
key: 0,
|
|
6214
6214
|
class: "description"
|
|
6215
|
-
}, Xa = /* @__PURE__ */
|
|
6215
|
+
}, Xa = /* @__PURE__ */ ne({
|
|
6216
6216
|
__name: "renderer",
|
|
6217
6217
|
props: {
|
|
6218
6218
|
/**
|
|
@@ -6279,7 +6279,7 @@ const Wa = { class: "checkbox-component" }, Ya = {
|
|
|
6279
6279
|
});
|
|
6280
6280
|
};
|
|
6281
6281
|
return (d, m) => {
|
|
6282
|
-
const h = D("el-checkbox"), v = D("el-input"), c = D("el-checkbox-group"), b =
|
|
6282
|
+
const h = D("el-checkbox"), v = D("el-input"), c = D("el-checkbox-group"), b = ye;
|
|
6283
6283
|
return f(), E("div", Wa, [
|
|
6284
6284
|
p(c, {
|
|
6285
6285
|
class: xe({ "new-line": i(a).newLine }),
|
|
@@ -6301,7 +6301,7 @@ const Wa = { class: "checkbox-component" }, Ya = {
|
|
|
6301
6301
|
value: _.value
|
|
6302
6302
|
}, {
|
|
6303
6303
|
default: g(() => [
|
|
6304
|
-
|
|
6304
|
+
j(oe(_.label), 1)
|
|
6305
6305
|
]),
|
|
6306
6306
|
_: 2
|
|
6307
6307
|
}, 1032, ["value"]),
|
|
@@ -6321,7 +6321,7 @@ const Wa = { class: "checkbox-component" }, Ya = {
|
|
|
6321
6321
|
name: "tip",
|
|
6322
6322
|
color: "#ff0000"
|
|
6323
6323
|
}),
|
|
6324
|
-
|
|
6324
|
+
j(" " + oe(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
|
|
6325
6325
|
])) : I("", !0)
|
|
6326
6326
|
]);
|
|
6327
6327
|
};
|
|
@@ -6380,7 +6380,7 @@ let Ja = class extends Je {
|
|
|
6380
6380
|
return ["RANGE"];
|
|
6381
6381
|
}
|
|
6382
6382
|
};
|
|
6383
|
-
const Ka = { component: Ja, renderer: Xa, propEditor: Ga }, Za = /* @__PURE__ */
|
|
6383
|
+
const Ka = { component: Ja, renderer: Xa, propEditor: Ga }, Za = /* @__PURE__ */ ne({
|
|
6384
6384
|
__name: "propsEditor",
|
|
6385
6385
|
setup(t) {
|
|
6386
6386
|
const { computedExpression: o } = ze();
|
|
@@ -6419,13 +6419,13 @@ const Ka = { component: Ja, renderer: Xa, propEditor: Ga }, Za = /* @__PURE__ */
|
|
|
6419
6419
|
default: g(() => [
|
|
6420
6420
|
p(v, { value: "text" }, {
|
|
6421
6421
|
default: g(() => [
|
|
6422
|
-
|
|
6422
|
+
j("文本")
|
|
6423
6423
|
]),
|
|
6424
6424
|
_: 1
|
|
6425
6425
|
}),
|
|
6426
6426
|
p(v, { value: "password" }, {
|
|
6427
6427
|
default: g(() => [
|
|
6428
|
-
|
|
6428
|
+
j("密码")
|
|
6429
6429
|
]),
|
|
6430
6430
|
_: 1
|
|
6431
6431
|
})
|
|
@@ -6478,7 +6478,7 @@ const Ka = { component: Ja, renderer: Xa, propEditor: Ga }, Za = /* @__PURE__ */
|
|
|
6478
6478
|
}), Qa = { class: "input-component" }, es = {
|
|
6479
6479
|
key: 0,
|
|
6480
6480
|
class: "description"
|
|
6481
|
-
}, ts = /* @__PURE__ */
|
|
6481
|
+
}, ts = /* @__PURE__ */ ne({
|
|
6482
6482
|
__name: "renderer",
|
|
6483
6483
|
props: {
|
|
6484
6484
|
/**
|
|
@@ -6545,7 +6545,7 @@ const Ka = { component: Ja, renderer: Xa, propEditor: Ga }, Za = /* @__PURE__ */
|
|
|
6545
6545
|
},
|
|
6546
6546
|
{ immediate: !0, deep: !0 }
|
|
6547
6547
|
), (u, d) => {
|
|
6548
|
-
const m = D("el-input"), h =
|
|
6548
|
+
const m = D("el-input"), h = ye;
|
|
6549
6549
|
return f(), E("div", Qa, [
|
|
6550
6550
|
p(m, {
|
|
6551
6551
|
type: i(a).type,
|
|
@@ -6562,7 +6562,7 @@ const Ka = { component: Ja, renderer: Xa, propEditor: Ga }, Za = /* @__PURE__ */
|
|
|
6562
6562
|
name: "tip",
|
|
6563
6563
|
color: "#ff0000"
|
|
6564
6564
|
}),
|
|
6565
|
-
|
|
6565
|
+
j(" " + oe(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
|
|
6566
6566
|
])) : I("", !0)
|
|
6567
6567
|
]);
|
|
6568
6568
|
};
|
|
@@ -6623,7 +6623,7 @@ let os = class extends Je {
|
|
|
6623
6623
|
return ["RANGE"];
|
|
6624
6624
|
}
|
|
6625
6625
|
};
|
|
6626
|
-
const ns = { component: os, renderer: ts, propEditor: Za }, ls = /* @__PURE__ */
|
|
6626
|
+
const ns = { component: os, renderer: ts, propEditor: Za }, ls = /* @__PURE__ */ ne({
|
|
6627
6627
|
__name: "renderer",
|
|
6628
6628
|
props: {
|
|
6629
6629
|
componentProps: {
|
|
@@ -6639,7 +6639,7 @@ const ns = { component: os, renderer: ts, propEditor: Za }, ls = /* @__PURE__ */
|
|
|
6639
6639
|
"font-size": t.componentProps.fontSize + "px",
|
|
6640
6640
|
"font-weight": t.componentProps.isBold ? "bold" : "normal"
|
|
6641
6641
|
})
|
|
6642
|
-
},
|
|
6642
|
+
}, oe(t.componentProps.label), 5));
|
|
6643
6643
|
}
|
|
6644
6644
|
});
|
|
6645
6645
|
let is = class extends Je {
|
|
@@ -6659,7 +6659,7 @@ let is = class extends Je {
|
|
|
6659
6659
|
};
|
|
6660
6660
|
}
|
|
6661
6661
|
};
|
|
6662
|
-
const as = { component: is, renderer: ls, undefined: void 0 }, ss = { class: "option-wrap" }, rs = /* @__PURE__ */
|
|
6662
|
+
const as = { component: is, renderer: ls, undefined: void 0 }, ss = { class: "option-wrap" }, rs = /* @__PURE__ */ ne({
|
|
6663
6663
|
__name: "propsEditor",
|
|
6664
6664
|
props: {
|
|
6665
6665
|
/**
|
|
@@ -6684,7 +6684,7 @@ const as = { component: is, renderer: ls, undefined: void 0 }, ss = { class: "op
|
|
|
6684
6684
|
d.value = u.value, d.itemSourceType = u.itemSourceType;
|
|
6685
6685
|
};
|
|
6686
6686
|
return (u, d) => {
|
|
6687
|
-
const m = D("el-option"), h = D("el-select"), v = D("el-form-item"), c = D("el-switch"), b = D("el-divider"), _ =
|
|
6687
|
+
const m = D("el-option"), h = D("el-select"), v = D("el-form-item"), c = D("el-switch"), b = D("el-divider"), _ = ye, y = D("el-checkbox"), C = D("el-tooltip"), z = D("el-button"), x = D("el-form");
|
|
6688
6688
|
return f(), M(x, {
|
|
6689
6689
|
"label-width": "80px",
|
|
6690
6690
|
"label-suffix": ":",
|
|
@@ -6722,7 +6722,7 @@ const as = { component: is, renderer: ls, undefined: void 0 }, ss = { class: "op
|
|
|
6722
6722
|
}),
|
|
6723
6723
|
p(b, null, {
|
|
6724
6724
|
default: g(() => [
|
|
6725
|
-
|
|
6725
|
+
j("选项列表")
|
|
6726
6726
|
]),
|
|
6727
6727
|
_: 1
|
|
6728
6728
|
}),
|
|
@@ -6802,7 +6802,7 @@ const as = { component: is, renderer: ls, undefined: void 0 }, ss = { class: "op
|
|
|
6802
6802
|
color: "#08c979",
|
|
6803
6803
|
size: "16px"
|
|
6804
6804
|
}),
|
|
6805
|
-
|
|
6805
|
+
j(" 添加 ")
|
|
6806
6806
|
]),
|
|
6807
6807
|
_: 1
|
|
6808
6808
|
})
|
|
@@ -6818,7 +6818,7 @@ const as = { component: is, renderer: ls, undefined: void 0 }, ss = { class: "op
|
|
|
6818
6818
|
const ds = { class: "radio-component" }, us = {
|
|
6819
6819
|
key: 0,
|
|
6820
6820
|
class: "description"
|
|
6821
|
-
}, cs = /* @__PURE__ */
|
|
6821
|
+
}, cs = /* @__PURE__ */ ne({
|
|
6822
6822
|
__name: "renderer",
|
|
6823
6823
|
props: {
|
|
6824
6824
|
/**
|
|
@@ -6891,7 +6891,7 @@ const ds = { class: "radio-component" }, us = {
|
|
|
6891
6891
|
}
|
|
6892
6892
|
};
|
|
6893
6893
|
return (m, h) => {
|
|
6894
|
-
const v = D("el-radio"), c = D("el-input"), b = D("el-radio-group"), _ =
|
|
6894
|
+
const v = D("el-radio"), c = D("el-input"), b = D("el-radio-group"), _ = ye;
|
|
6895
6895
|
return f(), E("div", ds, [
|
|
6896
6896
|
p(b, {
|
|
6897
6897
|
class: xe({ "new-line": i(a).newLine }),
|
|
@@ -6912,7 +6912,7 @@ const ds = { class: "radio-component" }, us = {
|
|
|
6912
6912
|
onClick: (x) => d(x, y.value)
|
|
6913
6913
|
}, {
|
|
6914
6914
|
default: g(() => [
|
|
6915
|
-
|
|
6915
|
+
j(oe(y.label), 1)
|
|
6916
6916
|
]),
|
|
6917
6917
|
_: 2
|
|
6918
6918
|
}, 1032, ["value", "onClick"]),
|
|
@@ -6932,7 +6932,7 @@ const ds = { class: "radio-component" }, us = {
|
|
|
6932
6932
|
name: "tip",
|
|
6933
6933
|
color: "#ff0000"
|
|
6934
6934
|
}),
|
|
6935
|
-
|
|
6935
|
+
j(" " + oe(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
|
|
6936
6936
|
])) : I("", !0)
|
|
6937
6937
|
]);
|
|
6938
6938
|
};
|
|
@@ -6994,7 +6994,7 @@ class ps extends Je {
|
|
|
6994
6994
|
const ms = { component: ps, renderer: cs, propEditor: rs }, fs = {
|
|
6995
6995
|
key: 0,
|
|
6996
6996
|
class: "component-readonly-mask"
|
|
6997
|
-
}, On = /* @__PURE__ */
|
|
6997
|
+
}, On = /* @__PURE__ */ ne({
|
|
6998
6998
|
__name: "componentRenderer",
|
|
6999
6999
|
props: {
|
|
7000
7000
|
/**
|
|
@@ -7100,7 +7100,7 @@ const ms = { component: ps, renderer: cs, propEditor: rs }, fs = {
|
|
|
7100
7100
|
"font-size": C.props.fontSize + "px",
|
|
7101
7101
|
"font-weight": C.props.isBold ? "bold" : "normal"
|
|
7102
7102
|
})
|
|
7103
|
-
},
|
|
7103
|
+
}, oe(C.props.showLabel ? C.props.label + ":" : ""), 5)
|
|
7104
7104
|
]),
|
|
7105
7105
|
default: g(() => [
|
|
7106
7106
|
(f(), M(Ft(e[C.type].renderer), {
|
|
@@ -7134,7 +7134,7 @@ const hs = {
|
|
|
7134
7134
|
class: "mobile-key"
|
|
7135
7135
|
}, ys = {
|
|
7136
7136
|
name: "zhy-form-renderer"
|
|
7137
|
-
}, wt = /* @__PURE__ */
|
|
7137
|
+
}, wt = /* @__PURE__ */ ne({
|
|
7138
7138
|
...ys,
|
|
7139
7139
|
props: {
|
|
7140
7140
|
/**
|
|
@@ -7382,7 +7382,7 @@ const hs = {
|
|
|
7382
7382
|
indeterminate: i(u),
|
|
7383
7383
|
onChange: w[1] || (w[1] = (Y) => b())
|
|
7384
7384
|
}, null, 8, ["modelValue", "indeterminate"])
|
|
7385
|
-
])) : i(h).props.formName ? (f(), E("h1", gs,
|
|
7385
|
+
])) : i(h).props.formName ? (f(), E("h1", gs, oe(i(h).props.formName), 1)) : I("", !0),
|
|
7386
7386
|
p(F, {
|
|
7387
7387
|
ref_key: "formRenderer",
|
|
7388
7388
|
ref: a,
|
|
@@ -7410,7 +7410,7 @@ const hs = {
|
|
|
7410
7410
|
};
|
|
7411
7411
|
}
|
|
7412
7412
|
});
|
|
7413
|
-
const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onClick"], Ds = ["title"], Vs = { class: "form-template" }, Es = { class: "dialog-footer" }, Ss = { class: "left-wrap" }, ks = { class: "select-count-wrap" }, Ms = { class: "count" }, zs = { class: "right-wrap" }, $s = /* @__PURE__ */
|
|
7413
|
+
const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onClick"], Ds = ["title"], Vs = { class: "form-template" }, Es = { class: "dialog-footer" }, Ss = { class: "left-wrap" }, ks = { class: "select-count-wrap" }, Ms = { class: "count" }, zs = { class: "right-wrap" }, $s = /* @__PURE__ */ ne({
|
|
7414
7414
|
__name: "batchAddDialog",
|
|
7415
7415
|
props: /* @__PURE__ */ Yo({
|
|
7416
7416
|
/**
|
|
@@ -7427,7 +7427,9 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7427
7427
|
}),
|
|
7428
7428
|
emits: /* @__PURE__ */ Yo(["select"], ["update:modelValue"]),
|
|
7429
7429
|
setup(t, { emit: o }) {
|
|
7430
|
-
const { clone: e } = ze(), n = le("formData"), l = n.value.props.formType === "2" ? "试卷" : "表单", a = n.value.props.formType === "2" ? "题目" : "项目", s = Bn(t, "modelValue"), r = t, { params: u } = Me(r)
|
|
7430
|
+
const { clone: e } = ze(), n = le("formData"), l = n.value.props.formType === "2" ? "试卷" : "表单", a = n.value.props.formType === "2" ? "题目" : "项目", s = Bn(t, "modelValue"), r = t, { params: u } = Me(r);
|
|
7431
|
+
console.log("batchAddDialog--------", u.value);
|
|
7432
|
+
const d = H({}), m = H(""), h = H({
|
|
7431
7433
|
datas: {},
|
|
7432
7434
|
components: [],
|
|
7433
7435
|
props: {}
|
|
@@ -7448,14 +7450,16 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7448
7450
|
var re;
|
|
7449
7451
|
if (!d.value[X])
|
|
7450
7452
|
return;
|
|
7451
|
-
const T = (re = u.value.searchParams) == null ? void 0 : re.find((
|
|
7453
|
+
const T = (re = u.value.searchParams) == null ? void 0 : re.find((be) => be.key === X);
|
|
7452
7454
|
if (!(T != null && T.type))
|
|
7453
7455
|
return;
|
|
7454
7456
|
const Z = T.type;
|
|
7455
|
-
c.value = c.value.filter((
|
|
7456
|
-
|
|
7457
|
+
c.value = c.value.filter((be) => {
|
|
7458
|
+
if (!Object.keys(be).includes(T.key))
|
|
7459
|
+
return Se("error", `参数配置错误,【${T.label}】的属性(${T.key})在数据中不存在!`), !1;
|
|
7460
|
+
const $e = be[T.key];
|
|
7457
7461
|
if (!$e)
|
|
7458
|
-
return
|
|
7462
|
+
return !0;
|
|
7459
7463
|
if ([Ce.DATETIME, Ce.DATE, Ce.TIME].includes(Z))
|
|
7460
7464
|
return v($e, d.value[X], Z);
|
|
7461
7465
|
if (Z === Ce.SELECTOR)
|
|
@@ -7513,7 +7517,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7513
7517
|
Y("select", O), s.value = !1;
|
|
7514
7518
|
};
|
|
7515
7519
|
return (O, P) => {
|
|
7516
|
-
const X =
|
|
7520
|
+
const X = ye, T = D("el-input"), Z = D("el-option"), re = D("el-select"), be = D("el-cascader"), $e = D("el-date-picker"), Ie = D("el-time-picker"), it = D("el-form-item"), Qe = D("el-form"), Ge = D("el-divider"), xt = D("el-empty"), at = wt, qt = D("el-link"), Dt = D("el-button"), jt = D("el-dialog");
|
|
7517
7521
|
return f(), E("div", null, [
|
|
7518
7522
|
p(jt, {
|
|
7519
7523
|
modelValue: s.value,
|
|
@@ -7526,9 +7530,9 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7526
7530
|
S("div", Es, [
|
|
7527
7531
|
S("div", Ss, [
|
|
7528
7532
|
S("span", ks, [
|
|
7529
|
-
|
|
7530
|
-
S("span", Ms,
|
|
7531
|
-
S("span", null,
|
|
7533
|
+
j(" 已选 "),
|
|
7534
|
+
S("span", Ms, oe(` ${i(z)} `), 1),
|
|
7535
|
+
S("span", null, oe(` 个${i(a)}`), 1)
|
|
7532
7536
|
]),
|
|
7533
7537
|
p(qt, {
|
|
7534
7538
|
type: "primary",
|
|
@@ -7536,7 +7540,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7536
7540
|
onClick: F
|
|
7537
7541
|
}, {
|
|
7538
7542
|
default: g(() => [
|
|
7539
|
-
|
|
7543
|
+
j(oe(`查看已选${i(a)}`), 1)
|
|
7540
7544
|
]),
|
|
7541
7545
|
_: 1
|
|
7542
7546
|
}, 8, ["disabled"])
|
|
@@ -7546,7 +7550,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7546
7550
|
onClick: P[0] || (P[0] = (Pe) => s.value = !1)
|
|
7547
7551
|
}, {
|
|
7548
7552
|
default: g(() => [
|
|
7549
|
-
|
|
7553
|
+
j("关闭")
|
|
7550
7554
|
]),
|
|
7551
7555
|
_: 1
|
|
7552
7556
|
}),
|
|
@@ -7555,7 +7559,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7555
7559
|
onClick: N
|
|
7556
7560
|
}, {
|
|
7557
7561
|
default: g(() => [
|
|
7558
|
-
|
|
7562
|
+
j(" 确定 ")
|
|
7559
7563
|
]),
|
|
7560
7564
|
_: 1
|
|
7561
7565
|
})
|
|
@@ -7566,6 +7570,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7566
7570
|
var Pe, st, Gt;
|
|
7567
7571
|
return [
|
|
7568
7572
|
S("div", ws, [
|
|
7573
|
+
j(oe(i(u).searchParams) + " ", 1),
|
|
7569
7574
|
(Pe = i(u).searchParams) != null && Pe.length ? (f(), M(Qe, {
|
|
7570
7575
|
key: 0,
|
|
7571
7576
|
model: i(d),
|
|
@@ -7612,7 +7617,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7612
7617
|
]),
|
|
7613
7618
|
_: 2
|
|
7614
7619
|
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : I("", !0),
|
|
7615
|
-
J.type === i(Ce).CASCADER_SELECTOR ? (f(), M(
|
|
7620
|
+
J.type === i(Ce).CASCADER_SELECTOR ? (f(), M(be, {
|
|
7616
7621
|
key: 2,
|
|
7617
7622
|
ref_for: !0,
|
|
7618
7623
|
ref: "cascaderRef",
|
|
@@ -7665,7 +7670,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7665
7670
|
S("div", {
|
|
7666
7671
|
class: "form-item-name",
|
|
7667
7672
|
title: J.formName
|
|
7668
|
-
},
|
|
7673
|
+
}, oe(J.formName), 9, Ds)
|
|
7669
7674
|
], 10, xs))), 128))
|
|
7670
7675
|
])
|
|
7671
7676
|
]),
|
|
@@ -7698,7 +7703,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7698
7703
|
onClick: P[2] || (P[2] = (Pe) => w.value = !1)
|
|
7699
7704
|
}, {
|
|
7700
7705
|
default: g(() => [
|
|
7701
|
-
|
|
7706
|
+
j("关闭")
|
|
7702
7707
|
]),
|
|
7703
7708
|
_: 1
|
|
7704
7709
|
})
|
|
@@ -7721,7 +7726,7 @@ const ws = { class: "form-list-wrap" }, Cs = { class: "form-list" }, xs = ["onCl
|
|
|
7721
7726
|
const Is = {
|
|
7722
7727
|
key: 1,
|
|
7723
7728
|
class: "tip"
|
|
7724
|
-
}, As = ["innerHTML"], eo = /* @__PURE__ */
|
|
7729
|
+
}, As = ["innerHTML"], eo = /* @__PURE__ */ ne({
|
|
7725
7730
|
__name: "conditionInput",
|
|
7726
7731
|
props: {
|
|
7727
7732
|
/**
|
|
@@ -7811,7 +7816,7 @@ const Is = {
|
|
|
7811
7816
|
onClick: C[0] || (C[0] = (V) => s.value = !1)
|
|
7812
7817
|
}, {
|
|
7813
7818
|
default: g(() => [
|
|
7814
|
-
|
|
7819
|
+
j("取消")
|
|
7815
7820
|
]),
|
|
7816
7821
|
_: 1
|
|
7817
7822
|
}),
|
|
@@ -7820,7 +7825,7 @@ const Is = {
|
|
|
7820
7825
|
onClick: b
|
|
7821
7826
|
}, {
|
|
7822
7827
|
default: g(() => [
|
|
7823
|
-
|
|
7828
|
+
j("确定")
|
|
7824
7829
|
]),
|
|
7825
7830
|
_: 1
|
|
7826
7831
|
})
|
|
@@ -7842,7 +7847,7 @@ const Is = {
|
|
|
7842
7847
|
};
|
|
7843
7848
|
}
|
|
7844
7849
|
});
|
|
7845
|
-
const Ls = /* @__PURE__ */
|
|
7850
|
+
const Ls = /* @__PURE__ */ ne({
|
|
7846
7851
|
__name: "componentAdvancedPropsEditor",
|
|
7847
7852
|
setup(t) {
|
|
7848
7853
|
let e = le("formDesignerData").selectComponent;
|
|
@@ -7942,7 +7947,7 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
7942
7947
|
});
|
|
7943
7948
|
};
|
|
7944
7949
|
}
|
|
7945
|
-
}), Ts = /* @__PURE__ */
|
|
7950
|
+
}), Ts = /* @__PURE__ */ ne({
|
|
7946
7951
|
__name: "componentBasePropsEditor",
|
|
7947
7952
|
props: {
|
|
7948
7953
|
/**
|
|
@@ -8184,7 +8189,7 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
8184
8189
|
});
|
|
8185
8190
|
};
|
|
8186
8191
|
}
|
|
8187
|
-
}), Os = /* @__PURE__ */
|
|
8192
|
+
}), Os = /* @__PURE__ */ ne({
|
|
8188
8193
|
__name: "formPropsEditor",
|
|
8189
8194
|
setup(t, { expose: o }) {
|
|
8190
8195
|
const e = le("formData"), n = H(), l = () => {
|
|
@@ -8221,13 +8226,13 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
8221
8226
|
default: g(() => [
|
|
8222
8227
|
p(r, { value: "1" }, {
|
|
8223
8228
|
default: g(() => [
|
|
8224
|
-
|
|
8229
|
+
j("问卷")
|
|
8225
8230
|
]),
|
|
8226
8231
|
_: 1
|
|
8227
8232
|
}),
|
|
8228
8233
|
p(r, { value: "2" }, {
|
|
8229
8234
|
default: g(() => [
|
|
8230
|
-
|
|
8235
|
+
j("试卷")
|
|
8231
8236
|
]),
|
|
8232
8237
|
_: 1
|
|
8233
8238
|
})
|
|
@@ -8265,19 +8270,19 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
8265
8270
|
default: g(() => [
|
|
8266
8271
|
p(r, { value: "top" }, {
|
|
8267
8272
|
default: g(() => [
|
|
8268
|
-
|
|
8273
|
+
j("上")
|
|
8269
8274
|
]),
|
|
8270
8275
|
_: 1
|
|
8271
8276
|
}),
|
|
8272
8277
|
p(r, { value: "left" }, {
|
|
8273
8278
|
default: g(() => [
|
|
8274
|
-
|
|
8279
|
+
j("左")
|
|
8275
8280
|
]),
|
|
8276
8281
|
_: 1
|
|
8277
8282
|
}),
|
|
8278
8283
|
p(r, { value: "right" }, {
|
|
8279
8284
|
default: g(() => [
|
|
8280
|
-
|
|
8285
|
+
j("右")
|
|
8281
8286
|
]),
|
|
8282
8287
|
_: 1
|
|
8283
8288
|
})
|
|
@@ -8313,19 +8318,19 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
8313
8318
|
default: g(() => [
|
|
8314
8319
|
p(r, { value: "small" }, {
|
|
8315
8320
|
default: g(() => [
|
|
8316
|
-
|
|
8321
|
+
j("小")
|
|
8317
8322
|
]),
|
|
8318
8323
|
_: 1
|
|
8319
8324
|
}),
|
|
8320
8325
|
p(r, { value: "default" }, {
|
|
8321
8326
|
default: g(() => [
|
|
8322
|
-
|
|
8327
|
+
j("正常")
|
|
8323
8328
|
]),
|
|
8324
8329
|
_: 1
|
|
8325
8330
|
}),
|
|
8326
8331
|
p(r, { value: "large" }, {
|
|
8327
8332
|
default: g(() => [
|
|
8328
|
-
|
|
8333
|
+
j("大")
|
|
8329
8334
|
]),
|
|
8330
8335
|
_: 1
|
|
8331
8336
|
})
|
|
@@ -8341,7 +8346,7 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
8341
8346
|
}, 8, ["model"]);
|
|
8342
8347
|
};
|
|
8343
8348
|
}
|
|
8344
|
-
}), Ps = { class: "toolbar" }, Us = /* @__PURE__ */ S("div", { class: "devices" }, null, -1), Fs = { class: "operates" }, Rs = /* @__PURE__ */ S("span", null, "清空", -1), Ns = /* @__PURE__ */ S("span", null, "模板导入", -1), Bs = /* @__PURE__ */ S("span", null, "查看JSON", -1), Hs = /* @__PURE__ */ S("span", null, "预览", -1), qs = /* @__PURE__ */ S("span", null, "保存", -1), js = /* @__PURE__ */ S("span", null, "验证表单", -1), Gs = /* @__PURE__ */ S("span", null, "重置表单", -1), Ws = /* @__PURE__ */ S("span", null, "表单数据", -1), mn = /* @__PURE__ */
|
|
8349
|
+
}), Ps = { class: "toolbar" }, Us = /* @__PURE__ */ S("div", { class: "devices" }, null, -1), Fs = { class: "operates" }, Rs = /* @__PURE__ */ S("span", null, "清空", -1), Ns = /* @__PURE__ */ S("span", null, "模板导入", -1), Bs = /* @__PURE__ */ S("span", null, "查看JSON", -1), Hs = /* @__PURE__ */ S("span", null, "预览", -1), qs = /* @__PURE__ */ S("span", null, "保存", -1), js = /* @__PURE__ */ S("span", null, "验证表单", -1), Gs = /* @__PURE__ */ S("span", null, "重置表单", -1), Ws = /* @__PURE__ */ S("span", null, "表单数据", -1), mn = /* @__PURE__ */ ne({
|
|
8345
8350
|
__name: "toolbar",
|
|
8346
8351
|
props: {
|
|
8347
8352
|
operates: {
|
|
@@ -8382,7 +8387,7 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
8382
8387
|
};
|
|
8383
8388
|
return (b, _) => {
|
|
8384
8389
|
var x;
|
|
8385
|
-
const y =
|
|
8390
|
+
const y = ye, C = D("el-button"), z = D("el-popconfirm");
|
|
8386
8391
|
return f(), E("div", Ps, [
|
|
8387
8392
|
Us,
|
|
8388
8393
|
S("div", Fs, [
|
|
@@ -8530,7 +8535,7 @@ const Ls = /* @__PURE__ */ oe({
|
|
|
8530
8535
|
name: "description",
|
|
8531
8536
|
color: "#08c979"
|
|
8532
8537
|
}),
|
|
8533
|
-
S("span", null,
|
|
8538
|
+
S("span", null, oe(`${i(v) ? "隐藏" : "显示"}${i(e).props.formType === "1" ? "项目说明" : "答案解析"}`), 1)
|
|
8534
8539
|
]),
|
|
8535
8540
|
_: 1
|
|
8536
8541
|
})) : I("", !0)
|
|
@@ -8550,7 +8555,7 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
8550
8555
|
class: "right-wrap"
|
|
8551
8556
|
}, o6 = { class: "preview-wrap" }, n6 = {
|
|
8552
8557
|
name: "zhy-form-designer"
|
|
8553
|
-
}, so = /* @__PURE__ */
|
|
8558
|
+
}, so = /* @__PURE__ */ ne({
|
|
8554
8559
|
...n6,
|
|
8555
8560
|
props: {
|
|
8556
8561
|
/**
|
|
@@ -8619,7 +8624,9 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
8619
8624
|
}
|
|
8620
8625
|
},
|
|
8621
8626
|
setup(t) {
|
|
8622
|
-
const o = t, { getTempID: e, clone: n, stringifyJson: l, isEmpty: a } = ze(), s = { ...vo, ..._o, ...go }, { formData: r, componentGroups: u, mergeGroup: d, batchAddComponentParams: m } = Me(o)
|
|
8627
|
+
const o = t, { getTempID: e, clone: n, stringifyJson: l, isEmpty: a } = ze(), s = { ...vo, ..._o, ...go }, { formData: r, componentGroups: u, mergeGroup: d, batchAddComponentParams: m } = Me(o);
|
|
8628
|
+
console.log("formDesigner--------", m.value);
|
|
8629
|
+
const h = Hn({
|
|
8623
8630
|
selectComponent: void 0,
|
|
8624
8631
|
propTab: "form",
|
|
8625
8632
|
device: "pc"
|
|
@@ -8773,7 +8780,7 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
8773
8780
|
r.value.components.splice(0, r.value.components.length), h.selectComponent = void 0;
|
|
8774
8781
|
}, Z = H(!1), re = () => {
|
|
8775
8782
|
Z.value = !0;
|
|
8776
|
-
},
|
|
8783
|
+
}, be = (L) => {
|
|
8777
8784
|
L != null && L.length && (w(L), L.forEach((k) => r.value.components.push(k)));
|
|
8778
8785
|
}, $e = () => {
|
|
8779
8786
|
qt.value = l(r.value), at.value = !0;
|
|
@@ -8840,7 +8847,7 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
8840
8847
|
};
|
|
8841
8848
|
return (L, k) => {
|
|
8842
8849
|
var Go;
|
|
8843
|
-
const q =
|
|
8850
|
+
const q = ye, R = D("el-collapse-item"), ie = D("el-collapse"), De = D("el-input"), de = D("el-form"), pe = D("el-empty"), Re = D("el-tab-pane"), ft = D("el-tabs"), Wt = D("el-dialog");
|
|
8844
8851
|
return f(), E(te, null, [
|
|
8845
8852
|
S("div", Ys, [
|
|
8846
8853
|
S("div", Xs, [
|
|
@@ -8875,7 +8882,7 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
8875
8882
|
name: et.type,
|
|
8876
8883
|
color: "#fc8720"
|
|
8877
8884
|
}, null, 8, ["name"]),
|
|
8878
|
-
S("span", Ks,
|
|
8885
|
+
S("span", Ks, oe(et.name), 1)
|
|
8879
8886
|
], 8, Js)
|
|
8880
8887
|
]),
|
|
8881
8888
|
_: 2
|
|
@@ -8914,7 +8921,7 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
8914
8921
|
key: 1,
|
|
8915
8922
|
class: "title",
|
|
8916
8923
|
onClick: k[4] || (k[4] = (ae) => y.value = !0)
|
|
8917
|
-
},
|
|
8924
|
+
}, oe(i(r).props.formName), 1)),
|
|
8918
8925
|
(Go = i(r).components) != null && Go.length ? I("", !0) : (f(), E("div", Zs, "从左侧拖拽组件")),
|
|
8919
8926
|
p(de, {
|
|
8920
8927
|
class: "designer-form",
|
|
@@ -9067,7 +9074,7 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
9067
9074
|
width: "600px"
|
|
9068
9075
|
}, {
|
|
9069
9076
|
default: g(() => [
|
|
9070
|
-
S("pre", null,
|
|
9077
|
+
S("pre", null, oe(i(qt)), 1)
|
|
9071
9078
|
]),
|
|
9072
9079
|
_: 1
|
|
9073
9080
|
}, 8, ["modelValue"]),
|
|
@@ -9076,7 +9083,7 @@ const Ys = { class: "form-designer" }, Xs = { class: "left-wrap" }, Js = ["onCli
|
|
|
9076
9083
|
modelValue: i(Z),
|
|
9077
9084
|
"onUpdate:modelValue": k[12] || (k[12] = (ae) => _e(Z) ? Z.value = ae : null),
|
|
9078
9085
|
params: i(m),
|
|
9079
|
-
onSelect:
|
|
9086
|
+
onSelect: be
|
|
9080
9087
|
}, null, 8, ["modelValue", "params"])) : I("", !0)
|
|
9081
9088
|
], 64);
|
|
9082
9089
|
};
|
|
@@ -9088,10 +9095,10 @@ so.install = function(t) {
|
|
|
9088
9095
|
wt.install = function(t) {
|
|
9089
9096
|
t.component(wt.name, wt);
|
|
9090
9097
|
};
|
|
9091
|
-
|
|
9092
|
-
t.component(
|
|
9098
|
+
ye.install = function(t) {
|
|
9099
|
+
t.component(ye.name, ye);
|
|
9093
9100
|
};
|
|
9094
|
-
const l6 = [
|
|
9101
|
+
const l6 = [ye, so, wt, At], i6 = function(t, o) {
|
|
9095
9102
|
l6.forEach((e) => {
|
|
9096
9103
|
t.component(e.name, e);
|
|
9097
9104
|
});
|
|
@@ -9104,5 +9111,5 @@ export {
|
|
|
9104
9111
|
At as zhyDynamicFilter,
|
|
9105
9112
|
so as zhyFormDesigner,
|
|
9106
9113
|
wt as zhyFormRenderer,
|
|
9107
|
-
|
|
9114
|
+
ye as zhyIcon
|
|
9108
9115
|
};
|