zhytech-ui 1.1.33 → 1.1.35
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/README.md +7 -1
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +364 -360
- package/dist/zhytech-ui.umd.js +3 -3
- package/package.json +1 -1
package/dist/zhytech-ui.es.js
CHANGED
|
@@ -200,19 +200,19 @@ function it() {
|
|
|
200
200
|
E ? _ = k : _.push(k);
|
|
201
201
|
let $ = [], D = [];
|
|
202
202
|
return _.forEach((S) => {
|
|
203
|
-
let
|
|
203
|
+
let T = [], A = [];
|
|
204
204
|
z.forEach((N) => {
|
|
205
205
|
const H = N[v];
|
|
206
206
|
if (H === S) {
|
|
207
|
-
|
|
207
|
+
T.unshift(H), A.unshift(N);
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
210
|
const Z = u(S, N[y], v, y);
|
|
211
211
|
if (Z != null && Z.length) {
|
|
212
212
|
const W = Z[0], le = Z[1];
|
|
213
|
-
W != null && W.length && (
|
|
213
|
+
W != null && W.length && (T.unshift(H), T = [...T, ...W]), le.length && (A.unshift(N), A = [...A, ...le]);
|
|
214
214
|
}
|
|
215
|
-
}), $.push(
|
|
215
|
+
}), $.push(T), D.push(A);
|
|
216
216
|
}), E ? (w = $, D.forEach((S) => {
|
|
217
217
|
p.push(S[S.length - 1]);
|
|
218
218
|
})) : (w = $[0], p = D[0][D[0].length - 1]), [w, p];
|
|
@@ -278,12 +278,12 @@ const { session: ei } = it();
|
|
|
278
278
|
D.appendChild(d), l.write(D.innerHTML);
|
|
279
279
|
}
|
|
280
280
|
function S() {
|
|
281
|
-
var
|
|
282
|
-
|
|
283
|
-
var
|
|
284
|
-
m.style.fontSize =
|
|
281
|
+
var T = m.getBoundingClientRect().width;
|
|
282
|
+
T / u > 540 && (T = T * u);
|
|
283
|
+
var A = T / 10;
|
|
284
|
+
m.style.fontSize = A + "px", v.rem = a.rem = A;
|
|
285
285
|
let N = ei("currRemSize");
|
|
286
|
-
N =
|
|
286
|
+
N = A, ei("currRemSize", N);
|
|
287
287
|
}
|
|
288
288
|
a.addEventListener(
|
|
289
289
|
"resize",
|
|
@@ -293,22 +293,22 @@ const { session: ei } = it();
|
|
|
293
293
|
!1
|
|
294
294
|
), a.addEventListener(
|
|
295
295
|
"pageshow",
|
|
296
|
-
function(
|
|
297
|
-
|
|
296
|
+
function(T) {
|
|
297
|
+
T.persisted && (clearTimeout(z), z = setTimeout(S, 300));
|
|
298
298
|
},
|
|
299
299
|
!1
|
|
300
300
|
), l.readyState === "complete" ? l.body.style.fontSize = 12 * u + "px" : l.addEventListener(
|
|
301
301
|
"DOMContentLoaded",
|
|
302
|
-
function(
|
|
302
|
+
function(T) {
|
|
303
303
|
l.body.style.fontSize = 12 * u + "px";
|
|
304
304
|
},
|
|
305
305
|
!1
|
|
306
|
-
), S(), v.dpr = a.dpr = u, v.refreshRem = S, v.rem2px = function(
|
|
307
|
-
var
|
|
308
|
-
return typeof
|
|
309
|
-
}, v.px2rem = function(
|
|
310
|
-
var
|
|
311
|
-
return typeof
|
|
306
|
+
), S(), v.dpr = a.dpr = u, v.refreshRem = S, v.rem2px = function(T) {
|
|
307
|
+
var A = parseFloat(T) * this.rem;
|
|
308
|
+
return typeof T == "string" && T.match(/rem$/) && (A += "px"), A;
|
|
309
|
+
}, v.px2rem = function(T) {
|
|
310
|
+
var A = parseFloat(T) / this.rem;
|
|
311
|
+
return typeof T == "string" && T.match(/px$/) && (A += "rem"), A;
|
|
312
312
|
};
|
|
313
313
|
})(window, window.lib || (window.lib = {}));
|
|
314
314
|
(() => {
|
|
@@ -393,9 +393,9 @@ const { session: ei } = it();
|
|
|
393
393
|
}
|
|
394
394
|
return i;
|
|
395
395
|
}
|
|
396
|
-
let
|
|
396
|
+
let T = S, A = /[\w\u00A0-\uFFFF%-?]/;
|
|
397
397
|
function N(e = "") {
|
|
398
|
-
return
|
|
398
|
+
return A.test(e);
|
|
399
399
|
}
|
|
400
400
|
function H(e) {
|
|
401
401
|
return typeof e == "function" ? { match: e } : e;
|
|
@@ -611,8 +611,8 @@ const { session: ei } = it();
|
|
|
611
611
|
B === void 0 && (B = v), B && !U.includes(B) && U.unshift(B), U.sort((Y, De) => (Y.order || 0) - (De.order || 0));
|
|
612
612
|
let P = C("rules"), q = {}, ee = P.length, ue = P.filter((Y) => {
|
|
613
613
|
var De;
|
|
614
|
-
return ae(Y) ? (y(((De = Y[2]) == null ? void 0 : De.prefix) || "").forEach((
|
|
615
|
-
q[
|
|
614
|
+
return ae(Y) ? (y(((De = Y[2]) == null ? void 0 : De.prefix) || "").forEach((Re) => {
|
|
615
|
+
q[Re + Y[0]] = Y;
|
|
616
616
|
}), !1) : !0;
|
|
617
617
|
}).reverse(), _e = Je(c.map((Y) => Y.theme)), ze = C("extendTheme");
|
|
618
618
|
for (let Y of ze)
|
|
@@ -743,8 +743,8 @@ const { session: ei } = it();
|
|
|
743
743
|
if (se != null) {
|
|
744
744
|
q instanceof Map ? q.set(be, { data: se, count: $(U) ? U.getCount(be) : -1 }) : q.add(be);
|
|
745
745
|
for (let De of se) {
|
|
746
|
-
let
|
|
747
|
-
ee.has(
|
|
746
|
+
let Re = De[3] || "", zt = (Y = De[4]) == null ? void 0 : Y.layer;
|
|
747
|
+
ee.has(Re) || ee.set(Re, []), ee.get(Re).push(De), zt && P.add(zt);
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
750
|
});
|
|
@@ -755,7 +755,7 @@ const { session: ei } = it();
|
|
|
755
755
|
this.config.preflights.forEach(({ layer: Y = m }) => {
|
|
756
756
|
P.add(Y), se.add(Y);
|
|
757
757
|
}), ue = Object.fromEntries(await Promise.all(Array.from(se).map(async (Y) => {
|
|
758
|
-
let De = (await Promise.all(this.config.preflights.filter((
|
|
758
|
+
let De = (await Promise.all(this.config.preflights.filter((Re) => (Re.layer || m) === Y).map(async (Re) => await Re.getCSS(be)))).filter(Boolean).join(B);
|
|
759
759
|
return [Y, De];
|
|
760
760
|
})));
|
|
761
761
|
})();
|
|
@@ -766,10 +766,10 @@ const { session: ei } = it();
|
|
|
766
766
|
}, Ie = (be = l) => {
|
|
767
767
|
if (Ve[be])
|
|
768
768
|
return Ve[be];
|
|
769
|
-
let se = Array.from(ee).sort((
|
|
769
|
+
let se = Array.from(ee).sort((Re, zt) => {
|
|
770
770
|
var po;
|
|
771
|
-
return (this.parentOrders.get(
|
|
772
|
-
}).map(([
|
|
771
|
+
return (this.parentOrders.get(Re[0]) ?? 0) - (this.parentOrders.get(zt[0]) ?? 0) || ((po = Re[0]) == null ? void 0 : po.localeCompare(zt[0] || "")) || 0;
|
|
772
|
+
}).map(([Re, zt]) => {
|
|
773
773
|
let po = zt.length, mo = zt.filter((pe) => {
|
|
774
774
|
var $e;
|
|
775
775
|
return ((($e = pe[4]) == null ? void 0 : $e.layer) || l) === be;
|
|
@@ -792,9 +792,9 @@ const { session: ei } = it();
|
|
|
792
792
|
}).map((ft) => ft[0]).filter(Boolean)) : [];
|
|
793
793
|
return vt.length ? `${vt.join(`,${B}`)}{${$e}}` : $e;
|
|
794
794
|
}).filter(Boolean).reverse().join(B);
|
|
795
|
-
if (!
|
|
795
|
+
if (!Re)
|
|
796
796
|
return So;
|
|
797
|
-
let Lo =
|
|
797
|
+
let Lo = Re.split(" $$ ");
|
|
798
798
|
return `${Lo.join("{")}{${B}${So}${B}${"}".repeat(Lo.length)}`;
|
|
799
799
|
}).filter(Boolean).join(B);
|
|
800
800
|
c && (se = [ue[be], se].filter(Boolean).join(B));
|
|
@@ -927,8 +927,8 @@ const { session: ei } = it();
|
|
|
927
927
|
if (p(se))
|
|
928
928
|
return [be, se, Ve];
|
|
929
929
|
let Y = B, De = Ve;
|
|
930
|
-
for (let
|
|
931
|
-
|
|
930
|
+
for (let Re of se)
|
|
931
|
+
Re[0] === Et.variants ? Y = [...y(Re[1]), ...Y] : Re[0] === Et.parent ? Y = [{ parent: Re[1] }, ...Y] : Re[0] === Et.selector ? Y = [{ selector: Re[1] }, ...Y] : Re[0] === Et.layer ? Y = [{ layer: Re[1] }, ...Y] : Re[0] === Et.sort && (De = { ...De, sort: Re[1] });
|
|
932
932
|
return [be, C, se, De, Y];
|
|
933
933
|
});
|
|
934
934
|
}
|
|
@@ -1041,7 +1041,7 @@ const { session: ei } = it();
|
|
|
1041
1041
|
}
|
|
1042
1042
|
let nt = /^\[(.+?)(~?=)"(.*)"\]$/;
|
|
1043
1043
|
function qe(e) {
|
|
1044
|
-
return nt.test(e) ? e.replace(nt, (t, o, r, i) => `[${
|
|
1044
|
+
return nt.test(e) ? e.replace(nt, (t, o, r, i) => `[${T(o)}${r}"${T(i)}"]`) : `.${T(e)}`;
|
|
1045
1045
|
}
|
|
1046
1046
|
function Ye(e, t) {
|
|
1047
1047
|
return t(e);
|
|
@@ -3556,11 +3556,11 @@ const { session: ei } = it();
|
|
|
3556
3556
|
let pe = ($e = c.observer) != null && $e.target ? c.observer.target() : B();
|
|
3557
3557
|
pe && (se.observe(pe, { childList: !0, subtree: !0, attributes: !0, attributeFilter: (Ce = c.observer) == null ? void 0 : Ce.attributeFilter }), Y = !0);
|
|
3558
3558
|
}
|
|
3559
|
-
function
|
|
3559
|
+
function Re() {
|
|
3560
3560
|
c.bypassDefined && id(C.blocked), be(), De();
|
|
3561
3561
|
}
|
|
3562
3562
|
function zt() {
|
|
3563
|
-
o.readyState === "loading" ? t.addEventListener("DOMContentLoaded",
|
|
3563
|
+
o.readyState === "loading" ? t.addEventListener("DOMContentLoaded", Re) : Re();
|
|
3564
3564
|
}
|
|
3565
3565
|
let po = t.__unocss_runtime = t.__unocss_runtime = { version: C.version, uno: C, async extract(pe) {
|
|
3566
3566
|
p(pe) || (pe.forEach(($e) => ee.add($e)), pe = ""), await st(pe);
|
|
@@ -4677,7 +4677,7 @@ const ye = (a, h) => {
|
|
|
4677
4677
|
for (const [m, d] of h)
|
|
4678
4678
|
l[m] = d;
|
|
4679
4679
|
return l;
|
|
4680
|
-
}, Xe = /* @__PURE__ */ ye(Uc, [["__scopeId", "data-v-
|
|
4680
|
+
}, Xe = /* @__PURE__ */ ye(Uc, [["__scopeId", "data-v-64d8642f"]]), Oc = {
|
|
4681
4681
|
key: 0,
|
|
4682
4682
|
class: "filter-item no-rem flex items-center"
|
|
4683
4683
|
}, Bc = { class: "condition-type" }, Nc = {
|
|
@@ -4742,7 +4742,7 @@ const ye = (a, h) => {
|
|
|
4742
4742
|
emits: ["update:modelValue", "add", "delete"],
|
|
4743
4743
|
setup(a, { emit: h }) {
|
|
4744
4744
|
sr((w) => ({
|
|
4745
|
-
|
|
4745
|
+
d4d79c5c: n(k)
|
|
4746
4746
|
}));
|
|
4747
4747
|
const l = ["INCLUDES", "EXCLUDE"], m = a, { modelValue: d } = at(m), s = h;
|
|
4748
4748
|
de(d, () => {
|
|
@@ -4778,7 +4778,7 @@ const ye = (a, h) => {
|
|
|
4778
4778
|
};
|
|
4779
4779
|
return (w, p) => {
|
|
4780
4780
|
var H, Z, W;
|
|
4781
|
-
const _ = L("el-switch"), $ = L("filter-item", !0), D = Xe, S = L("el-option"),
|
|
4781
|
+
const _ = L("el-switch"), $ = L("filter-item", !0), D = Xe, S = L("el-option"), T = L("el-select"), A = L("el-cascader"), N = L("el-input");
|
|
4782
4782
|
return n(d) ? (g(), M("div", Oc, [
|
|
4783
4783
|
j("div", Bc, [
|
|
4784
4784
|
a.showConditionType ? (g(), M(me, { key: 0 }, [
|
|
@@ -4821,7 +4821,7 @@ const ye = (a, h) => {
|
|
|
4821
4821
|
})
|
|
4822
4822
|
])) : (g(), M(me, { key: 1 }, [
|
|
4823
4823
|
j("div", Pc, [
|
|
4824
|
-
f(
|
|
4824
|
+
f(T, {
|
|
4825
4825
|
modelValue: n(d).itemID,
|
|
4826
4826
|
"onUpdate:modelValue": p[3] || (p[3] = (le) => n(d).itemID = le),
|
|
4827
4827
|
placeholder: "请选择",
|
|
@@ -4837,7 +4837,7 @@ const ye = (a, h) => {
|
|
|
4837
4837
|
]),
|
|
4838
4838
|
_: 1
|
|
4839
4839
|
}, 8, ["modelValue"]),
|
|
4840
|
-
f(
|
|
4840
|
+
f(T, {
|
|
4841
4841
|
modelValue: n(d).condition,
|
|
4842
4842
|
"onUpdate:modelValue": p[4] || (p[4] = (le) => n(d).condition = le),
|
|
4843
4843
|
placeholder: "请选择",
|
|
@@ -4854,7 +4854,7 @@ const ye = (a, h) => {
|
|
|
4854
4854
|
_: 1
|
|
4855
4855
|
}, 8, ["modelValue"]),
|
|
4856
4856
|
j("div", Hc, [
|
|
4857
|
-
n(d).condition === "EMPTY" ? (g(), M(me, { key: 0 }, [], 64)) : ((Z = a.conditionProps[n(d).itemID]) == null ? void 0 : Z.type) === n(rt).SELECTOR ? (g(), F(
|
|
4857
|
+
n(d).condition === "EMPTY" ? (g(), M(me, { key: 0 }, [], 64)) : ((Z = a.conditionProps[n(d).itemID]) == null ? void 0 : Z.type) === n(rt).SELECTOR ? (g(), F(T, {
|
|
4858
4858
|
key: 1,
|
|
4859
4859
|
class: "zhy",
|
|
4860
4860
|
modelValue: n(d).value,
|
|
@@ -4878,7 +4878,7 @@ const ye = (a, h) => {
|
|
|
4878
4878
|
}, 1032, ["label", "value"]))), 128))
|
|
4879
4879
|
]),
|
|
4880
4880
|
_: 1
|
|
4881
|
-
}, 8, ["modelValue", "multiple"])) : ((W = a.conditionProps[n(d).itemID]) == null ? void 0 : W.type) === n(rt).CASCADER_SELECTOR ? (g(), F(
|
|
4881
|
+
}, 8, ["modelValue", "multiple"])) : ((W = a.conditionProps[n(d).itemID]) == null ? void 0 : W.type) === n(rt).CASCADER_SELECTOR ? (g(), F(A, {
|
|
4882
4882
|
key: 2,
|
|
4883
4883
|
class: "zhy w-full",
|
|
4884
4884
|
modelValue: n(d).value,
|
|
@@ -4915,7 +4915,7 @@ const ye = (a, h) => {
|
|
|
4915
4915
|
};
|
|
4916
4916
|
}
|
|
4917
4917
|
});
|
|
4918
|
-
const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-
|
|
4918
|
+
const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-acca8650"]]), Zc = {
|
|
4919
4919
|
name: "zhy-dynamic-filter"
|
|
4920
4920
|
}, Jc = /* @__PURE__ */ ve({
|
|
4921
4921
|
...Zc,
|
|
@@ -5007,9 +5007,9 @@ const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-8768ea44"]]), Zc = {
|
|
|
5007
5007
|
]), w = ($, D) => {
|
|
5008
5008
|
var le, Q, oe, te, J, ne;
|
|
5009
5009
|
let S = "";
|
|
5010
|
-
const
|
|
5011
|
-
let
|
|
5012
|
-
if (d.conditionProps[
|
|
5010
|
+
const T = d.items.find((ce) => ce.id === $.itemID);
|
|
5011
|
+
let A = "label", N = "value", H = (le = E.get($.condition)) == null ? void 0 : le.expression.replace("{id}", `{${$.itemID}}`), Z = (Q = E.get($.condition)) == null ? void 0 : Q.content.replace("{id}", A.replace("label", T == null ? void 0 : T.label)), W = [];
|
|
5012
|
+
if (d.conditionProps[T.id].type === rt.SELECTOR && (W = d.conditionProps[T.id].options ?? []), $.condition === "RANGE") {
|
|
5013
5013
|
const ce = $.value.split(",");
|
|
5014
5014
|
if (D)
|
|
5015
5015
|
S = H == null ? void 0 : H.replace("{value1}", ce[0]).replace("{value2}", ce[1]);
|
|
@@ -5026,11 +5026,11 @@ const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-8768ea44"]]), Zc = {
|
|
|
5026
5026
|
let ce = "";
|
|
5027
5027
|
if (W.length)
|
|
5028
5028
|
typeof $.value != "string" && $.value.length ? ce = W.filter((Me) => $.value.includes(Me.value)).map((Me) => Me.label).join(",") : ce = ((J = W.find((Me) => Me.value === $.value)) == null ? void 0 : J.label) ?? "";
|
|
5029
|
-
else if (d.conditionProps[
|
|
5029
|
+
else if (d.conditionProps[T.id].type === rt.CASCADER_SELECTOR) {
|
|
5030
5030
|
let [Me, Ge] = p($);
|
|
5031
5031
|
const re = m(
|
|
5032
5032
|
Me,
|
|
5033
|
-
d.conditionProps[
|
|
5033
|
+
d.conditionProps[T.id].options,
|
|
5034
5034
|
"value",
|
|
5035
5035
|
"children",
|
|
5036
5036
|
Ge
|
|
@@ -5043,7 +5043,7 @@ const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-8768ea44"]]), Zc = {
|
|
|
5043
5043
|
return S;
|
|
5044
5044
|
}, p = ($) => {
|
|
5045
5045
|
let D = $.value, S = Array.isArray($.value);
|
|
5046
|
-
return S && (D = $.value.map((
|
|
5046
|
+
return S && (D = $.value.map((T) => Array.isArray(T) && T.length ? T[T.length - 1] : T)), [D, S];
|
|
5047
5047
|
}, _ = ($) => {
|
|
5048
5048
|
let D = {
|
|
5049
5049
|
filterConditionExpression: "",
|
|
@@ -5051,16 +5051,16 @@ const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-8768ea44"]]), Zc = {
|
|
|
5051
5051
|
filterConditions: [],
|
|
5052
5052
|
message: ""
|
|
5053
5053
|
};
|
|
5054
|
-
return $.forEach((S,
|
|
5054
|
+
return $.forEach((S, T) => {
|
|
5055
5055
|
var H;
|
|
5056
5056
|
if (D.message)
|
|
5057
5057
|
return D;
|
|
5058
|
-
const
|
|
5058
|
+
const A = v(S.conditionType, !1), N = v(S.conditionType, !0);
|
|
5059
5059
|
if ((H = S.children) != null && H.length) {
|
|
5060
5060
|
const Z = _(S.children);
|
|
5061
5061
|
if (Z.message)
|
|
5062
|
-
return D.message = `第${
|
|
5063
|
-
D.filterConditionExpression += `${
|
|
5062
|
+
return D.message = `第${T + 1}行子条件的${Z.message}`, D;
|
|
5063
|
+
D.filterConditionExpression += `${T === 0 ? "" : N}(${Z.filterConditionExpression})`, D.filterConditionContent += `${T === 0 ? "" : A}(${Z.filterConditionContent})`, D.filterConditions.push({
|
|
5064
5064
|
condition: S.condition,
|
|
5065
5065
|
itemID: S.itemID,
|
|
5066
5066
|
value: S.value,
|
|
@@ -5069,8 +5069,8 @@ const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-8768ea44"]]), Zc = {
|
|
|
5069
5069
|
});
|
|
5070
5070
|
} else {
|
|
5071
5071
|
if (!S.itemID || !S.condition || S.condition !== "EMPTY" && !S.value && !String(S.value).length)
|
|
5072
|
-
return D.message = `第${
|
|
5073
|
-
D.filterConditionExpression += `${
|
|
5072
|
+
return D.message = `第${T + 1}行条件设置不完整`, D;
|
|
5073
|
+
D.filterConditionExpression += `${T === 0 ? "" : N}${w(S, !0)}`, D.filterConditionContent += `${T === 0 ? "" : A}${w(S, !1)}`;
|
|
5074
5074
|
let Z = l(S);
|
|
5075
5075
|
Z.value = Array.isArray(S.value) ? S.value.map((W) => Array.isArray(W) && W.length ? W[W.length - 1] : W) : S.value, D.filterConditions.push(Z);
|
|
5076
5076
|
}
|
|
@@ -5091,29 +5091,29 @@ const Kc = /* @__PURE__ */ ye(Gc, [["__scopeId", "data-v-8768ea44"]]), Zc = {
|
|
|
5091
5091
|
return g(), M("div", {
|
|
5092
5092
|
class: Se(["dynamic-filter w-full", { "hidden-type": n(u).length <= 1 }])
|
|
5093
5093
|
}, [
|
|
5094
|
-
(g(!0), M(me, null, Te(n(u), (
|
|
5095
|
-
key:
|
|
5096
|
-
modelValue: n(u)[
|
|
5097
|
-
"onUpdate:modelValue": (N) => n(u)[
|
|
5098
|
-
showConditionType:
|
|
5094
|
+
(g(!0), M(me, null, Te(n(u), (T, A) => (g(), F(Kc, {
|
|
5095
|
+
key: A,
|
|
5096
|
+
modelValue: n(u)[A],
|
|
5097
|
+
"onUpdate:modelValue": (N) => n(u)[A] = N,
|
|
5098
|
+
showConditionType: A > 0,
|
|
5099
5099
|
items: a.items,
|
|
5100
5100
|
filterConditions: n(s),
|
|
5101
5101
|
conditionProps: a.conditionProps,
|
|
5102
5102
|
allowMultiLevel: a.allowMultiLevel,
|
|
5103
5103
|
isFirstLevel: "",
|
|
5104
5104
|
onAdd: D[0] || (D[0] = (N) => k(n(u))),
|
|
5105
|
-
onDelete: (N) => z(
|
|
5105
|
+
onDelete: (N) => z(A)
|
|
5106
5106
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "showConditionType", "items", "filterConditions", "conditionProps", "allowMultiLevel", "onDelete"]))), 128)),
|
|
5107
5107
|
f(S, {
|
|
5108
5108
|
name: "plus",
|
|
5109
5109
|
class: Se(`float-right mt-10 mr-${a.allowMultiLevel ? 26 : 4}px theme-color-create`),
|
|
5110
|
-
onClick: D[1] || (D[1] = (
|
|
5110
|
+
onClick: D[1] || (D[1] = (T) => k(n(u)))
|
|
5111
5111
|
}, null, 8, ["class"])
|
|
5112
5112
|
], 2);
|
|
5113
5113
|
};
|
|
5114
5114
|
}
|
|
5115
5115
|
});
|
|
5116
|
-
const Ao = /* @__PURE__ */ ye(Jc, [["__scopeId", "data-v-
|
|
5116
|
+
const Ao = /* @__PURE__ */ ye(Jc, [["__scopeId", "data-v-bafca8dc"]]);
|
|
5117
5117
|
Ao.install = function(a) {
|
|
5118
5118
|
a.component(Ao.name, Ao);
|
|
5119
5119
|
};
|
|
@@ -5913,7 +5913,7 @@ const _u = /* @__PURE__ */ ve({
|
|
|
5913
5913
|
};
|
|
5914
5914
|
}
|
|
5915
5915
|
});
|
|
5916
|
-
const ku = /* @__PURE__ */ ye(_u, [["__scopeId", "data-v-
|
|
5916
|
+
const ku = /* @__PURE__ */ ye(_u, [["__scopeId", "data-v-06c3dca9"]]), $u = { key: 0 }, Cu = ["onClick"], Vu = {
|
|
5917
5917
|
key: 2,
|
|
5918
5918
|
class: "pos-absolute bottom--5px right-10px"
|
|
5919
5919
|
}, zu = /* @__PURE__ */ ve({
|
|
@@ -5948,20 +5948,20 @@ const ku = /* @__PURE__ */ ye(_u, [["__scopeId", "data-v-03f113e4"]]), $u = { ke
|
|
|
5948
5948
|
const D = p($);
|
|
5949
5949
|
v.value.push(D), E(D), s("change");
|
|
5950
5950
|
}, p = ($) => {
|
|
5951
|
-
var S,
|
|
5951
|
+
var S, T;
|
|
5952
5952
|
let D = d($);
|
|
5953
5953
|
if (D.id = m(), delete D.itemID, (S = D.props.options) != null && S.length) {
|
|
5954
5954
|
D.props.options.forEach((N) => {
|
|
5955
5955
|
N.value.includes("temp-") && (N.value = m());
|
|
5956
5956
|
});
|
|
5957
|
-
let
|
|
5958
|
-
D.filterConditionProps =
|
|
5957
|
+
let A = new l[$.type].component();
|
|
5958
|
+
D.filterConditionProps = A.getFilterConditionProps(D.props);
|
|
5959
5959
|
}
|
|
5960
|
-
if (D.isLayout && ((
|
|
5961
|
-
let
|
|
5960
|
+
if (D.isLayout && ((T = D.children) != null && T.length)) {
|
|
5961
|
+
let A = [];
|
|
5962
5962
|
D.children.forEach((N) => {
|
|
5963
|
-
|
|
5964
|
-
}), D.children =
|
|
5963
|
+
A.push(p(N));
|
|
5964
|
+
}), D.children = A;
|
|
5965
5965
|
}
|
|
5966
5966
|
return D;
|
|
5967
5967
|
}, _ = ($) => {
|
|
@@ -5969,76 +5969,76 @@ const ku = /* @__PURE__ */ ye(_u, [["__scopeId", "data-v-03f113e4"]]), $u = { ke
|
|
|
5969
5969
|
v.value.splice($, 1), k.selectComponent = void 0, s("change"), s("deleteComponent", D);
|
|
5970
5970
|
};
|
|
5971
5971
|
return ($, D) => {
|
|
5972
|
-
const S = L("el-form-item"),
|
|
5972
|
+
const S = L("el-form-item"), T = Xe;
|
|
5973
5973
|
return g(), F(n(bo), {
|
|
5974
5974
|
list: n(v),
|
|
5975
5975
|
"item-key": "id",
|
|
5976
|
-
class: "
|
|
5976
|
+
class: "wh-full",
|
|
5977
5977
|
sort: !0,
|
|
5978
5978
|
group: { name: "component", pull: !0, put: !0 },
|
|
5979
5979
|
onChange: y
|
|
5980
5980
|
}, {
|
|
5981
|
-
item: x(({ element:
|
|
5981
|
+
item: x(({ element: A, index: N }) => [
|
|
5982
5982
|
j("span", null, [
|
|
5983
|
-
|
|
5983
|
+
A.props.lineBreak ? (g(), M("br", $u)) : O("", !0),
|
|
5984
5984
|
j("div", {
|
|
5985
|
-
onClick: mn((H) => E(
|
|
5985
|
+
onClick: mn((H) => E(A), ["stop"]),
|
|
5986
5986
|
class: Se([
|
|
5987
5987
|
"pos-relative pr-10! py-5 box-border",
|
|
5988
|
-
`pl-${
|
|
5989
|
-
`h-${
|
|
5990
|
-
{ "theme-bgc-selectBgColor sons-class-layout:bg-transparent!": n(k).selectComponent ==
|
|
5991
|
-
{ "mb-10 b-3 b-dashed theme-bc-borderColor son-class-el-form-item:opacity-40": !
|
|
5992
|
-
{ "w-auto! inline-block": a.layoutMode === "horizontal" && !
|
|
5988
|
+
`pl-${A.props.paddingLeft || 10}px w-${A.props.width * 100 / n(u).props.column}%`,
|
|
5989
|
+
`h-${A.isLayout && A.props.height ? A.props.height + A.props.heightUnit : "auto"}`,
|
|
5990
|
+
{ "theme-bgc-selectBgColor sons-class-layout:bg-transparent!": n(k).selectComponent == A },
|
|
5991
|
+
{ "mb-10 b-3 b-dashed theme-bc-borderColor son-class-el-form-item:opacity-40": !A.props.showFlag },
|
|
5992
|
+
{ "w-auto! inline-block": a.layoutMode === "horizontal" && !A.isLayout }
|
|
5993
5993
|
])
|
|
5994
5994
|
}, [
|
|
5995
|
-
|
|
5995
|
+
A.isLayout ? (g(), F(Io(l[A.type].renderer), {
|
|
5996
5996
|
key: 0,
|
|
5997
5997
|
isDesigner: "",
|
|
5998
|
-
componentID:
|
|
5998
|
+
componentID: A.id,
|
|
5999
5999
|
component: n(v)[N],
|
|
6000
6000
|
"onUpdate:component": (H) => n(v)[N] = H,
|
|
6001
6001
|
onDeleteComponent: D[0] || (D[0] = (H) => s("deleteComponent", H)),
|
|
6002
6002
|
onChange: D[1] || (D[1] = (H) => s("change"))
|
|
6003
6003
|
}, null, 40, ["componentID", "component", "onUpdate:component"])) : (g(), F(S, {
|
|
6004
6004
|
key: 1,
|
|
6005
|
-
prop:
|
|
6005
|
+
prop: A.id,
|
|
6006
6006
|
class: Se([
|
|
6007
6007
|
"pb-10 sons-class-el-form-item__label:fw-normal sons-class-el-form-item__label:h-auto",
|
|
6008
|
-
{ "block sons-class-el-form-item__label:w-full sons-class-el-form-item__label:justify-start
|
|
6008
|
+
{ "block sons-class-el-form-item__label:w-full sons-class-el-form-item__label:justify-start": A.props.labelNewLine },
|
|
6009
6009
|
{
|
|
6010
|
-
"flex! items-center
|
|
6010
|
+
"flex! items-center mr-10! sons-class-el-form-item__label:mb-0! sons-class-el-form-item__label:w-auto! sons-class-el-form-item__content:pl-0! sons-class-checkbox-component:mt--8px! sons-class-radio-component:pt-4px!": a.layoutMode === "horizontal"
|
|
6011
6011
|
}
|
|
6012
6012
|
]),
|
|
6013
|
-
"label-width":
|
|
6014
|
-
rules:
|
|
6013
|
+
"label-width": A.props.showLabel && n(u).props.labelPosition != "top" ? A.props.labelWidth : "auto",
|
|
6014
|
+
rules: A.rules
|
|
6015
6015
|
}, {
|
|
6016
6016
|
label: x(() => [
|
|
6017
6017
|
j("span", {
|
|
6018
|
-
class: Se(`line-height-normal c-${
|
|
6019
|
-
style: Yt({ "font-size":
|
|
6020
|
-
}, he(
|
|
6018
|
+
class: Se(`line-height-normal c-${A.props.color || "#000000"} fw-${A.props.isBold ? "bold" : "normal"}`),
|
|
6019
|
+
style: Yt({ "font-size": A.props.fontSize + "px" })
|
|
6020
|
+
}, he(A.props.showLabel ? A.props.label + ":" : ""), 7)
|
|
6021
6021
|
]),
|
|
6022
6022
|
default: x(() => [
|
|
6023
|
-
(g(), F(Io(l[
|
|
6023
|
+
(g(), F(Io(l[A.type].renderer), {
|
|
6024
6024
|
isDesigner: "",
|
|
6025
|
-
componentID:
|
|
6026
|
-
componentProps:
|
|
6027
|
-
"onUpdate:componentProps": (H) =>
|
|
6025
|
+
componentID: A.id,
|
|
6026
|
+
componentProps: A.props,
|
|
6027
|
+
"onUpdate:componentProps": (H) => A.props = H,
|
|
6028
6028
|
datas: n(u).datas,
|
|
6029
6029
|
"onUpdate:datas": D[2] || (D[2] = (H) => n(u).datas = H)
|
|
6030
6030
|
}, null, 40, ["componentID", "componentProps", "onUpdate:componentProps", "datas"]))
|
|
6031
6031
|
]),
|
|
6032
6032
|
_: 2
|
|
6033
6033
|
}, 1032, ["prop", "class", "label-width", "rules"])),
|
|
6034
|
-
n(k).selectComponent ==
|
|
6035
|
-
|
|
6034
|
+
n(k).selectComponent == A ? (g(), M("div", Vu, [
|
|
6035
|
+
A.allowRepeat ? (g(), F(T, {
|
|
6036
6036
|
key: 0,
|
|
6037
6037
|
name: "copy",
|
|
6038
6038
|
color: "#0000ff",
|
|
6039
|
-
onClick: mn((H) => w(
|
|
6039
|
+
onClick: mn((H) => w(A), ["stop"])
|
|
6040
6040
|
}, null, 8, ["onClick"])) : O("", !0),
|
|
6041
|
-
f(
|
|
6041
|
+
f(T, {
|
|
6042
6042
|
name: "delete",
|
|
6043
6043
|
class: "theme-color-danger",
|
|
6044
6044
|
onClick: mn((H) => _(N), ["stop"])
|
|
@@ -6052,7 +6052,7 @@ const ku = /* @__PURE__ */ ye(_u, [["__scopeId", "data-v-03f113e4"]]), $u = { ke
|
|
|
6052
6052
|
};
|
|
6053
6053
|
}
|
|
6054
6054
|
});
|
|
6055
|
-
const dr = /* @__PURE__ */ ye(zu, [["__scopeId", "data-v-
|
|
6055
|
+
const dr = /* @__PURE__ */ ye(zu, [["__scopeId", "data-v-1b720aa3"]]), Du = /* @__PURE__ */ ve({
|
|
6056
6056
|
__name: "renderer",
|
|
6057
6057
|
props: {
|
|
6058
6058
|
/**
|
|
@@ -6143,7 +6143,7 @@ const dr = /* @__PURE__ */ ye(zu, [["__scopeId", "data-v-9068776d"]]), Du = /* @
|
|
|
6143
6143
|
], 2));
|
|
6144
6144
|
}
|
|
6145
6145
|
});
|
|
6146
|
-
const Eu = /* @__PURE__ */ ye(Du, [["__scopeId", "data-v-
|
|
6146
|
+
const Eu = /* @__PURE__ */ ye(Du, [["__scopeId", "data-v-1db593a2"]]);
|
|
6147
6147
|
let Su = class extends yt {
|
|
6148
6148
|
constructor() {
|
|
6149
6149
|
super("groupLayout", "分组"), this.props = {
|
|
@@ -6210,7 +6210,7 @@ const Lu = { component: Su, renderer: Eu, propEditor: ku }, Mu = { class: "dicti
|
|
|
6210
6210
|
setup(a, { emit: h }) {
|
|
6211
6211
|
var p;
|
|
6212
6212
|
sr((_) => ({
|
|
6213
|
-
|
|
6213
|
+
bcbec1a2: a.height
|
|
6214
6214
|
}));
|
|
6215
6215
|
let l = we("defaultSourceType");
|
|
6216
6216
|
const m = a, d = X(), s = X(m.modelValue), u = (p = m.dictionary) == null ? void 0 : p.sourceTypeMap;
|
|
@@ -6227,10 +6227,10 @@ const Lu = { component: Su, renderer: Eu, propEditor: ku }, Mu = { class: "dicti
|
|
|
6227
6227
|
}), y("update:modelValue", $.label), y("change", $);
|
|
6228
6228
|
};
|
|
6229
6229
|
return (_, $) => {
|
|
6230
|
-
var
|
|
6231
|
-
const D = L("el-tooltip"), S = L("el-select-v2"),
|
|
6230
|
+
var A;
|
|
6231
|
+
const D = L("el-tooltip"), S = L("el-select-v2"), T = L("el-input");
|
|
6232
6232
|
return g(), M("div", Mu, [
|
|
6233
|
-
(
|
|
6233
|
+
(A = a.dictionary) != null && A.dictionaryItems.length ? (g(), F(S, {
|
|
6234
6234
|
key: 0,
|
|
6235
6235
|
modelValue: n(s),
|
|
6236
6236
|
"onUpdate:modelValue": $[0] || ($[0] = (N) => Fe(s) ? s.value = N : null),
|
|
@@ -6269,7 +6269,7 @@ const Lu = { component: Su, renderer: Eu, propEditor: ku }, Mu = { class: "dicti
|
|
|
6269
6269
|
])
|
|
6270
6270
|
]),
|
|
6271
6271
|
_: 1
|
|
6272
|
-
}, 8, ["modelValue", "allow-create", "placeholder", "options", "item-height", "height", "disabled"])) : (g(), F(
|
|
6272
|
+
}, 8, ["modelValue", "allow-create", "placeholder", "options", "item-height", "height", "disabled"])) : (g(), F(T, {
|
|
6273
6273
|
key: 1,
|
|
6274
6274
|
modelValue: n(s),
|
|
6275
6275
|
"onUpdate:modelValue": $[1] || ($[1] = (N) => Fe(s) ? s.value = N : null),
|
|
@@ -6282,7 +6282,7 @@ const Lu = { component: Su, renderer: Eu, propEditor: ku }, Mu = { class: "dicti
|
|
|
6282
6282
|
};
|
|
6283
6283
|
}
|
|
6284
6284
|
});
|
|
6285
|
-
const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-
|
|
6285
|
+
const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-c931c47d"]]), Ou = { class: "flex items-center my-5" }, Bu = /* @__PURE__ */ ve({
|
|
6286
6286
|
__name: "propsEditor",
|
|
6287
6287
|
props: {
|
|
6288
6288
|
/**
|
|
@@ -6311,8 +6311,8 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6311
6311
|
v.value = z.value, v.itemSourceType = z.itemSourceType;
|
|
6312
6312
|
};
|
|
6313
6313
|
return (z, v) => {
|
|
6314
|
-
const y = L("el-option"), E = L("el-select"), w = L("el-input"), p = L("el-form-item"), _ = L("el-divider"), $ = Xe, D = L("el-button"), S = L("el-switch"),
|
|
6315
|
-
return g(), F(
|
|
6314
|
+
const y = L("el-option"), E = L("el-select"), w = L("el-input"), p = L("el-form-item"), _ = L("el-divider"), $ = Xe, D = L("el-button"), S = L("el-switch"), T = L("el-form");
|
|
6315
|
+
return g(), F(T, {
|
|
6316
6316
|
"label-width": "80px",
|
|
6317
6317
|
"label-suffix": ":",
|
|
6318
6318
|
class: "zhy tabs-props-editor"
|
|
@@ -6325,13 +6325,13 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6325
6325
|
type: "number",
|
|
6326
6326
|
min: 0,
|
|
6327
6327
|
modelValue: n(m).height,
|
|
6328
|
-
"onUpdate:modelValue": v[1] || (v[1] = (
|
|
6328
|
+
"onUpdate:modelValue": v[1] || (v[1] = (A) => n(m).height = A)
|
|
6329
6329
|
}, {
|
|
6330
6330
|
append: x(() => [
|
|
6331
6331
|
f(E, {
|
|
6332
6332
|
class: "w-85",
|
|
6333
6333
|
modelValue: n(m).heightUnit,
|
|
6334
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
6334
|
+
"onUpdate:modelValue": v[0] || (v[0] = (A) => n(m).heightUnit = A),
|
|
6335
6335
|
modelModifiers: { number: !0 }
|
|
6336
6336
|
}, {
|
|
6337
6337
|
default: x(() => [
|
|
@@ -6350,7 +6350,7 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6350
6350
|
default: x(() => [
|
|
6351
6351
|
f(E, {
|
|
6352
6352
|
modelValue: n(m).tabType,
|
|
6353
|
-
"onUpdate:modelValue": v[2] || (v[2] = (
|
|
6353
|
+
"onUpdate:modelValue": v[2] || (v[2] = (A) => n(m).tabType = A)
|
|
6354
6354
|
}, {
|
|
6355
6355
|
default: x(() => [
|
|
6356
6356
|
f(y, {
|
|
@@ -6375,12 +6375,12 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6375
6375
|
default: x(() => [
|
|
6376
6376
|
f(E, {
|
|
6377
6377
|
modelValue: n(m).defaultValue,
|
|
6378
|
-
"onUpdate:modelValue": v[3] || (v[3] = (
|
|
6378
|
+
"onUpdate:modelValue": v[3] || (v[3] = (A) => n(m).defaultValue = A)
|
|
6379
6379
|
}, {
|
|
6380
6380
|
default: x(() => [
|
|
6381
|
-
(g(!0), M(me, null, Te(n(m).pages, (
|
|
6381
|
+
(g(!0), M(me, null, Te(n(m).pages, (A, N) => (g(), F(y, {
|
|
6382
6382
|
key: N,
|
|
6383
|
-
label:
|
|
6383
|
+
label: A.label,
|
|
6384
6384
|
value: String(N)
|
|
6385
6385
|
}, null, 8, ["label", "value"]))), 128))
|
|
6386
6386
|
]),
|
|
@@ -6407,7 +6407,7 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6407
6407
|
tag: "div",
|
|
6408
6408
|
group: { name: "componentOptions", put: !1 }
|
|
6409
6409
|
}, {
|
|
6410
|
-
item: x(({ element:
|
|
6410
|
+
item: x(({ element: A, index: N }) => [
|
|
6411
6411
|
j("div", Ou, [
|
|
6412
6412
|
n(m).pages.length > 1 ? (g(), F($, {
|
|
6413
6413
|
key: 0,
|
|
@@ -6417,15 +6417,15 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6417
6417
|
})) : O("", !0),
|
|
6418
6418
|
f(Vn, {
|
|
6419
6419
|
class: "mx-5",
|
|
6420
|
-
modelValue:
|
|
6421
|
-
"onUpdate:modelValue": (H) =>
|
|
6420
|
+
modelValue: A.label,
|
|
6421
|
+
"onUpdate:modelValue": (H) => A.label = H,
|
|
6422
6422
|
dictionary: a.dictionary,
|
|
6423
6423
|
allowCreateDictionary: a.allowCreateDictionary,
|
|
6424
6424
|
placeholder: "请输入标签",
|
|
6425
6425
|
"item-height": 50,
|
|
6426
6426
|
height: "40px",
|
|
6427
6427
|
disabled: !n(h).selectComponent.allowModify,
|
|
6428
|
-
onChange: (H) => k(H,
|
|
6428
|
+
onChange: (H) => k(H, A)
|
|
6429
6429
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "dictionary", "allowCreateDictionary", "disabled", "onChange"]),
|
|
6430
6430
|
n(h).selectComponent.allowModify && n(m).pages.length > 1 ? (g(), F($, {
|
|
6431
6431
|
key: 1,
|
|
@@ -6469,7 +6469,7 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6469
6469
|
default: x(() => [
|
|
6470
6470
|
f(E, {
|
|
6471
6471
|
modelValue: n(m).tabPosition,
|
|
6472
|
-
"onUpdate:modelValue": v[4] || (v[4] = (
|
|
6472
|
+
"onUpdate:modelValue": v[4] || (v[4] = (A) => n(m).tabPosition = A)
|
|
6473
6473
|
}, {
|
|
6474
6474
|
default: x(() => [
|
|
6475
6475
|
f(y, {
|
|
@@ -6498,7 +6498,7 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6498
6498
|
default: x(() => [
|
|
6499
6499
|
f(S, {
|
|
6500
6500
|
modelValue: n(m).showNavigation,
|
|
6501
|
-
"onUpdate:modelValue": v[5] || (v[5] = (
|
|
6501
|
+
"onUpdate:modelValue": v[5] || (v[5] = (A) => n(m).showNavigation = A)
|
|
6502
6502
|
}, null, 8, ["modelValue"])
|
|
6503
6503
|
]),
|
|
6504
6504
|
_: 1
|
|
@@ -6509,7 +6509,7 @@ const Vn = /* @__PURE__ */ ye(Uu, [["__scopeId", "data-v-ae7df8e3"]]), Ou = { cl
|
|
|
6509
6509
|
};
|
|
6510
6510
|
}
|
|
6511
6511
|
});
|
|
6512
|
-
const Nu = /* @__PURE__ */ ye(Bu, [["__scopeId", "data-v-
|
|
6512
|
+
const Nu = /* @__PURE__ */ ye(Bu, [["__scopeId", "data-v-ab5ffdf7"]]), Ru = {
|
|
6513
6513
|
key: 2,
|
|
6514
6514
|
class: "w-full text-right"
|
|
6515
6515
|
}, Pu = /* @__PURE__ */ ve({
|
|
@@ -6605,42 +6605,42 @@ const Nu = /* @__PURE__ */ ye(Bu, [["__scopeId", "data-v-e03b3b10"]]), Ru = {
|
|
|
6605
6605
|
"onUpdate:modelValue": p[2] || (p[2] = (S) => Fe(s) ? s.value = S : null)
|
|
6606
6606
|
}, {
|
|
6607
6607
|
default: x(() => [
|
|
6608
|
-
(g(!0), M(me, null, Te(n(m).props.pages, (S,
|
|
6608
|
+
(g(!0), M(me, null, Te(n(m).props.pages, (S, T) => (g(), F($, {
|
|
6609
6609
|
class: "y-aline-start overflow-hidden",
|
|
6610
|
-
key:
|
|
6610
|
+
key: T,
|
|
6611
6611
|
label: S.label,
|
|
6612
|
-
name: String(
|
|
6612
|
+
name: String(T)
|
|
6613
6613
|
}, {
|
|
6614
6614
|
default: x(() => [
|
|
6615
6615
|
a.isDesigner ? (g(), F(dr, {
|
|
6616
6616
|
key: 0,
|
|
6617
6617
|
class: "overflow-auto",
|
|
6618
|
-
components: n(u)[
|
|
6619
|
-
"onUpdate:components": (
|
|
6618
|
+
components: n(u)[T],
|
|
6619
|
+
"onUpdate:components": (A) => n(u)[T] = A,
|
|
6620
6620
|
onDeleteComponent: y,
|
|
6621
6621
|
onChange: E
|
|
6622
6622
|
}, null, 8, ["components", "onUpdate:components"])) : (g(), F(ur, {
|
|
6623
6623
|
key: 1,
|
|
6624
6624
|
class: "overflow-auto",
|
|
6625
|
-
components: n(u)[
|
|
6625
|
+
components: n(u)[T],
|
|
6626
6626
|
showDescription: n(d)
|
|
6627
6627
|
}, null, 8, ["components", "showDescription"])),
|
|
6628
6628
|
n(m).props.showNavigation ? (g(), M("div", Ru, [
|
|
6629
|
-
|
|
6629
|
+
T !== 0 ? (g(), F(_, {
|
|
6630
6630
|
key: 0,
|
|
6631
6631
|
class: "zhy print-button",
|
|
6632
|
-
onClick: p[0] || (p[0] = (
|
|
6632
|
+
onClick: p[0] || (p[0] = (A) => z("p"))
|
|
6633
6633
|
}, {
|
|
6634
6634
|
default: x(() => [...p[3] || (p[3] = [
|
|
6635
6635
|
K("上一页", -1)
|
|
6636
6636
|
])]),
|
|
6637
6637
|
_: 1
|
|
6638
6638
|
})) : O("", !0),
|
|
6639
|
-
|
|
6639
|
+
T !== n(m).props.pages.length - 1 ? (g(), F(_, {
|
|
6640
6640
|
key: 1,
|
|
6641
6641
|
class: "zhy",
|
|
6642
6642
|
type: "success",
|
|
6643
|
-
onClick: p[1] || (p[1] = (
|
|
6643
|
+
onClick: p[1] || (p[1] = (A) => z("n"))
|
|
6644
6644
|
}, {
|
|
6645
6645
|
default: x(() => [...p[4] || (p[4] = [
|
|
6646
6646
|
K(" 下一页 ", -1)
|
|
@@ -6658,7 +6658,7 @@ const Nu = /* @__PURE__ */ ye(Bu, [["__scopeId", "data-v-e03b3b10"]]), Ru = {
|
|
|
6658
6658
|
};
|
|
6659
6659
|
}
|
|
6660
6660
|
});
|
|
6661
|
-
const Hu = /* @__PURE__ */ ye(Pu, [["__scopeId", "data-v-
|
|
6661
|
+
const Hu = /* @__PURE__ */ ye(Pu, [["__scopeId", "data-v-229baa64"]]);
|
|
6662
6662
|
let qu = class extends yt {
|
|
6663
6663
|
constructor() {
|
|
6664
6664
|
super("tabs", "标签页"), this.props = {
|
|
@@ -6765,8 +6765,8 @@ const Wu = { component: qu, renderer: Hu, propEditor: Nu }, Yu = /* @__PURE__ */
|
|
|
6765
6765
|
};
|
|
6766
6766
|
}
|
|
6767
6767
|
});
|
|
6768
|
-
const Xu = /* @__PURE__ */ ye(Yu, [["__scopeId", "data-v-
|
|
6769
|
-
var
|
|
6768
|
+
const Xu = /* @__PURE__ */ ye(Yu, [["__scopeId", "data-v-96ff51d7"]]);
|
|
6769
|
+
var Ne = /* @__PURE__ */ ((a) => (a.Form = "1", a.Examination = "2", a))(Ne || {}), Fo = /* @__PURE__ */ ((a) => (a[a.NotAnswered = 1] = "NotAnswered", a[a.Correct = 2] = "Correct", a[a.Error = 3] = "Error", a))(Fo || {}), oo = /* @__PURE__ */ ((a) => (a.upperLimit = "上限值", a.lowerLimit = "下限值", a.decimalPlace = "小数位", a))(oo || {}), Uo = /* @__PURE__ */ ((a) => (a.error = "错误", a.warning = "警告", a))(Uo || {});
|
|
6770
6770
|
const Gu = { class: "upload-component w-full" }, Ku = {
|
|
6771
6771
|
key: 0,
|
|
6772
6772
|
class: "dynamic-form-item-description show-description"
|
|
@@ -6884,18 +6884,18 @@ const Gu = { class: "upload-component w-full" }, Ku = {
|
|
|
6884
6884
|
}),
|
|
6885
6885
|
_: 1
|
|
6886
6886
|
}, 8, ["action", "headers", "data", "multiple", "limit", "file-list", "accept", "auto-upload"]),
|
|
6887
|
-
a.isDesigner && n(u).description || a.showDescription && (n(d).props.formType === n(
|
|
6887
|
+
a.isDesigner && n(u).description || a.showDescription && (n(d).props.formType === n(Ne).Examination || n(u).description) ? (g(), M("div", Ku, [
|
|
6888
6888
|
f(_, {
|
|
6889
6889
|
class: "description-tip",
|
|
6890
6890
|
name: "tip"
|
|
6891
6891
|
}),
|
|
6892
|
-
K(" " + he(`${n(d).props.formType === n(
|
|
6892
|
+
K(" " + he(`${n(d).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(u).description || "无"}`), 1)
|
|
6893
6893
|
])) : O("", !0)
|
|
6894
6894
|
]);
|
|
6895
6895
|
};
|
|
6896
6896
|
}
|
|
6897
6897
|
});
|
|
6898
|
-
const Ju = /* @__PURE__ */ ye(Zu, [["__scopeId", "data-v-
|
|
6898
|
+
const Ju = /* @__PURE__ */ ye(Zu, [["__scopeId", "data-v-53465004"]]);
|
|
6899
6899
|
let Qu = class extends yt {
|
|
6900
6900
|
constructor() {
|
|
6901
6901
|
super("upload", "文件上传"), this.props = {
|
|
@@ -6997,7 +6997,7 @@ const e2 = { component: Qu, renderer: Ju, propEditor: Xu }, t2 = /* @__PURE__ */
|
|
|
6997
6997
|
};
|
|
6998
6998
|
}
|
|
6999
6999
|
});
|
|
7000
|
-
const o2 = /* @__PURE__ */ ye(t2, [["__scopeId", "data-v-
|
|
7000
|
+
const o2 = /* @__PURE__ */ ye(t2, [["__scopeId", "data-v-feffc46a"]]), n2 = { class: "upload-image-component w-full" }, r2 = { class: "el-upload-list__item-actions" }, l2 = { class: "el-upload-list__item-preview" }, a2 = { class: "el-upload-list__item-delete" }, i2 = {
|
|
7001
7001
|
key: 0,
|
|
7002
7002
|
class: "dynamic-form-item-description show-description"
|
|
7003
7003
|
}, s2 = /* @__PURE__ */ ve({
|
|
@@ -7074,13 +7074,13 @@ const o2 = /* @__PURE__ */ ye(t2, [["__scopeId", "data-v-3356e4d4"]]), n2 = { cl
|
|
|
7074
7074
|
(_ = s.value[l.componentID]) != null && _.length && (p += `,您已上传了${s.value[l.componentID].length}个图片,最多还能选择${u.value.fileLimit - s.value[l.componentID].length}个图片`), We("error", p);
|
|
7075
7075
|
};
|
|
7076
7076
|
return (p, _) => {
|
|
7077
|
-
var
|
|
7077
|
+
var T;
|
|
7078
7078
|
const $ = Xe, D = L("el-image"), S = L("el-upload");
|
|
7079
7079
|
return g(), M("div", n2, [
|
|
7080
7080
|
f(S, {
|
|
7081
7081
|
ref_key: "uploadImageRef",
|
|
7082
7082
|
ref: k,
|
|
7083
|
-
class: Se({ "hidden-trigger": n(u).fileLimit <= (((
|
|
7083
|
+
class: Se({ "hidden-trigger": n(u).fileLimit <= (((T = n(s)[a.componentID]) == null ? void 0 : T.length) || 0) }),
|
|
7084
7084
|
"list-type": "picture-card",
|
|
7085
7085
|
action: n(m).serverApi,
|
|
7086
7086
|
headers: n(m).headers,
|
|
@@ -7100,13 +7100,13 @@ const o2 = /* @__PURE__ */ ye(t2, [["__scopeId", "data-v-3356e4d4"]]), n2 = { cl
|
|
|
7100
7100
|
size: "30"
|
|
7101
7101
|
})
|
|
7102
7102
|
]),
|
|
7103
|
-
file: x(({ file:
|
|
7103
|
+
file: x(({ file: A }) => [
|
|
7104
7104
|
f(D, {
|
|
7105
7105
|
ref_key: "imageRef",
|
|
7106
7106
|
ref: z,
|
|
7107
7107
|
class: "w-120 h-120",
|
|
7108
|
-
src:
|
|
7109
|
-
"preview-src-list": [
|
|
7108
|
+
src: A.url,
|
|
7109
|
+
"preview-src-list": [A.url],
|
|
7110
7110
|
fit: "cover"
|
|
7111
7111
|
}, null, 8, ["src", "preview-src-list"]),
|
|
7112
7112
|
j("span", r2, [
|
|
@@ -7121,25 +7121,25 @@ const o2 = /* @__PURE__ */ ye(t2, [["__scopeId", "data-v-3356e4d4"]]), n2 = { cl
|
|
|
7121
7121
|
f($, {
|
|
7122
7122
|
name: "delete",
|
|
7123
7123
|
class: "theme-color-danger",
|
|
7124
|
-
onClick: (N) => y(
|
|
7124
|
+
onClick: (N) => y(A)
|
|
7125
7125
|
}, null, 8, ["onClick"])
|
|
7126
7126
|
])
|
|
7127
7127
|
])
|
|
7128
7128
|
]),
|
|
7129
7129
|
_: 1
|
|
7130
7130
|
}, 8, ["class", "action", "headers", "data", "multiple", "limit", "file-list", "accept", "auto-upload"]),
|
|
7131
|
-
a.isDesigner && n(u).description || a.showDescription && (n(d).props.formType === n(
|
|
7131
|
+
a.isDesigner && n(u).description || a.showDescription && (n(d).props.formType === n(Ne).Examination || n(u).description) ? (g(), M("div", i2, [
|
|
7132
7132
|
f($, {
|
|
7133
7133
|
class: "description-tip",
|
|
7134
7134
|
name: "tip"
|
|
7135
7135
|
}),
|
|
7136
|
-
K(" " + he(`${n(d).props.formType === n(
|
|
7136
|
+
K(" " + he(`${n(d).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(u).description || "无"}`), 1)
|
|
7137
7137
|
])) : O("", !0)
|
|
7138
7138
|
]);
|
|
7139
7139
|
};
|
|
7140
7140
|
}
|
|
7141
7141
|
});
|
|
7142
|
-
const d2 = /* @__PURE__ */ ye(s2, [["__scopeId", "data-v-
|
|
7142
|
+
const d2 = /* @__PURE__ */ ye(s2, [["__scopeId", "data-v-fcb8ae20"]]);
|
|
7143
7143
|
let c2 = class extends yt {
|
|
7144
7144
|
constructor() {
|
|
7145
7145
|
super("uploadImage", "图片上传"), this.props = {
|
|
@@ -7195,7 +7195,7 @@ const u2 = { component: c2, renderer: d2, propEditor: o2 }, p2 = { class: "flex
|
|
|
7195
7195
|
}, z.value = l.options;
|
|
7196
7196
|
};
|
|
7197
7197
|
return (w, p) => {
|
|
7198
|
-
const _ = L("el-radio-button"), $ = L("el-radio-group"), D = L("el-form-item"), S = L("el-switch"),
|
|
7198
|
+
const _ = L("el-radio-button"), $ = L("el-radio-group"), D = L("el-form-item"), S = L("el-switch"), T = L("el-input-number"), A = L("el-divider"), N = Xe, H = L("el-option"), Z = L("el-select"), W = L("el-button"), le = L("el-form");
|
|
7199
7199
|
return g(), F(le, {
|
|
7200
7200
|
"label-width": "80px",
|
|
7201
7201
|
"label-suffix": ":",
|
|
@@ -7262,7 +7262,7 @@ const u2 = { component: c2, renderer: d2, propEditor: o2 }, p2 = { class: "flex
|
|
|
7262
7262
|
default: x(() => {
|
|
7263
7263
|
var Q;
|
|
7264
7264
|
return [
|
|
7265
|
-
f(
|
|
7265
|
+
f(T, {
|
|
7266
7266
|
modelValue: n(l).min,
|
|
7267
7267
|
"onUpdate:modelValue": p[3] || (p[3] = (oe) => n(l).min = oe),
|
|
7268
7268
|
step: 1,
|
|
@@ -7277,7 +7277,7 @@ const u2 = { component: c2, renderer: d2, propEditor: o2 }, p2 = { class: "flex
|
|
|
7277
7277
|
default: x(() => {
|
|
7278
7278
|
var Q;
|
|
7279
7279
|
return [
|
|
7280
|
-
f(
|
|
7280
|
+
f(T, {
|
|
7281
7281
|
modelValue: n(l).max,
|
|
7282
7282
|
"onUpdate:modelValue": p[4] || (p[4] = (oe) => n(l).max = oe),
|
|
7283
7283
|
step: 1,
|
|
@@ -7289,7 +7289,7 @@ const u2 = { component: c2, renderer: d2, propEditor: o2 }, p2 = { class: "flex
|
|
|
7289
7289
|
_: 1
|
|
7290
7290
|
})
|
|
7291
7291
|
], 64)) : O("", !0),
|
|
7292
|
-
f(
|
|
7292
|
+
f(A, null, {
|
|
7293
7293
|
default: x(() => [...p[8] || (p[8] = [
|
|
7294
7294
|
K("选项列表", -1)
|
|
7295
7295
|
])]),
|
|
@@ -7389,7 +7389,7 @@ const u2 = { component: c2, renderer: d2, propEditor: o2 }, p2 = { class: "flex
|
|
|
7389
7389
|
};
|
|
7390
7390
|
}
|
|
7391
7391
|
});
|
|
7392
|
-
const g2 = /* @__PURE__ */ ye(h2, [["__scopeId", "data-v-
|
|
7392
|
+
const g2 = /* @__PURE__ */ ye(h2, [["__scopeId", "data-v-380e765c"]]), b2 = { class: "employee-component w-full" }, v2 = {
|
|
7393
7393
|
key: 3,
|
|
7394
7394
|
class: "dynamic-form-item-description show-description"
|
|
7395
7395
|
}, y2 = /* @__PURE__ */ ve({
|
|
@@ -7460,24 +7460,24 @@ const g2 = /* @__PURE__ */ ye(h2, [["__scopeId", "data-v-ddce3f6a"]]), b2 = { cl
|
|
|
7460
7460
|
s.value.clearable && d.value[l.componentID] === E && (u.value = void 0, y.preventDefault());
|
|
7461
7461
|
};
|
|
7462
7462
|
return (y, E) => {
|
|
7463
|
-
const w = L("el-radio"), p = L("el-radio-group"), _ = L("el-checkbox"), $ = L("el-checkbox-group"), D = L("el-option"), S = L("el-select"),
|
|
7463
|
+
const w = L("el-radio"), p = L("el-radio-group"), _ = L("el-checkbox"), $ = L("el-checkbox-group"), D = L("el-option"), S = L("el-select"), T = Xe;
|
|
7464
7464
|
return g(), M("div", b2, [
|
|
7465
7465
|
n(s).type === "radio" ? (g(), F(p, {
|
|
7466
7466
|
key: 0,
|
|
7467
7467
|
class: Se({ block: n(s).newLine }),
|
|
7468
7468
|
modelValue: n(u),
|
|
7469
|
-
"onUpdate:modelValue": E[0] || (E[0] = (
|
|
7469
|
+
"onUpdate:modelValue": E[0] || (E[0] = (A) => Fe(u) ? u.value = A : null),
|
|
7470
7470
|
disabled: a.disabled
|
|
7471
7471
|
}, {
|
|
7472
7472
|
default: x(() => [
|
|
7473
|
-
(g(!0), M(me, null, Te(n(s).options, (
|
|
7473
|
+
(g(!0), M(me, null, Te(n(s).options, (A, N) => (g(), F(w, {
|
|
7474
7474
|
class: Se(["zhy", { block: n(s).newLine }]),
|
|
7475
7475
|
key: N,
|
|
7476
|
-
value:
|
|
7477
|
-
onClick: (H) => v(H,
|
|
7476
|
+
value: A.value,
|
|
7477
|
+
onClick: (H) => v(H, A.value)
|
|
7478
7478
|
}, {
|
|
7479
7479
|
default: x(() => [
|
|
7480
|
-
K(he(
|
|
7480
|
+
K(he(A.label), 1)
|
|
7481
7481
|
]),
|
|
7482
7482
|
_: 2
|
|
7483
7483
|
}, 1032, ["class", "value", "onClick"]))), 128))
|
|
@@ -7487,19 +7487,19 @@ const g2 = /* @__PURE__ */ ye(h2, [["__scopeId", "data-v-ddce3f6a"]]), b2 = { cl
|
|
|
7487
7487
|
n(s).type === "checkbox" ? (g(), F($, {
|
|
7488
7488
|
key: 1,
|
|
7489
7489
|
modelValue: n(u),
|
|
7490
|
-
"onUpdate:modelValue": E[1] || (E[1] = (
|
|
7490
|
+
"onUpdate:modelValue": E[1] || (E[1] = (A) => Fe(u) ? u.value = A : null),
|
|
7491
7491
|
disabled: a.disabled,
|
|
7492
7492
|
min: n(s).min,
|
|
7493
7493
|
max: n(s).max
|
|
7494
7494
|
}, {
|
|
7495
7495
|
default: x(() => [
|
|
7496
|
-
(g(!0), M(me, null, Te(n(s).options, (
|
|
7496
|
+
(g(!0), M(me, null, Te(n(s).options, (A, N) => (g(), F(_, {
|
|
7497
7497
|
class: Se(["zhy", { block: n(s).newLine }]),
|
|
7498
|
-
value:
|
|
7498
|
+
value: A.value,
|
|
7499
7499
|
key: N
|
|
7500
7500
|
}, {
|
|
7501
7501
|
default: x(() => [
|
|
7502
|
-
K(he(
|
|
7502
|
+
K(he(A.label), 1)
|
|
7503
7503
|
]),
|
|
7504
7504
|
_: 2
|
|
7505
7505
|
}, 1032, ["class", "value"]))), 128))
|
|
@@ -7510,31 +7510,31 @@ const g2 = /* @__PURE__ */ ye(h2, [["__scopeId", "data-v-ddce3f6a"]]), b2 = { cl
|
|
|
7510
7510
|
key: 2,
|
|
7511
7511
|
class: "selector-type",
|
|
7512
7512
|
modelValue: n(u),
|
|
7513
|
-
"onUpdate:modelValue": E[2] || (E[2] = (
|
|
7513
|
+
"onUpdate:modelValue": E[2] || (E[2] = (A) => Fe(u) ? u.value = A : null),
|
|
7514
7514
|
multiple: n(s).multiple,
|
|
7515
7515
|
placeholder: "请选择"
|
|
7516
7516
|
}, {
|
|
7517
7517
|
default: x(() => [
|
|
7518
|
-
(g(!0), M(me, null, Te(n(s).options, (
|
|
7518
|
+
(g(!0), M(me, null, Te(n(s).options, (A, N) => (g(), F(D, {
|
|
7519
7519
|
key: N,
|
|
7520
|
-
label:
|
|
7521
|
-
value:
|
|
7520
|
+
label: A.label,
|
|
7521
|
+
value: A.value
|
|
7522
7522
|
}, null, 8, ["label", "value"]))), 128))
|
|
7523
7523
|
]),
|
|
7524
7524
|
_: 1
|
|
7525
7525
|
}, 8, ["modelValue", "multiple"])) : O("", !0),
|
|
7526
|
-
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(
|
|
7527
|
-
f(
|
|
7526
|
+
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(s).description) ? (g(), M("div", v2, [
|
|
7527
|
+
f(T, {
|
|
7528
7528
|
class: "description-tip",
|
|
7529
7529
|
name: "tip"
|
|
7530
7530
|
}),
|
|
7531
|
-
K(" " + he(`${n(m).props.formType === n(
|
|
7531
|
+
K(" " + he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(s).description || "无"}`), 1)
|
|
7532
7532
|
])) : O("", !0)
|
|
7533
7533
|
]);
|
|
7534
7534
|
};
|
|
7535
7535
|
}
|
|
7536
7536
|
});
|
|
7537
|
-
const x2 = /* @__PURE__ */ ye(y2, [["__scopeId", "data-v-
|
|
7537
|
+
const x2 = /* @__PURE__ */ ye(y2, [["__scopeId", "data-v-7740fe91"]]);
|
|
7538
7538
|
let w2 = class extends yt {
|
|
7539
7539
|
constructor() {
|
|
7540
7540
|
super("employee", "人员", !0), this.props = {
|
|
@@ -7731,7 +7731,7 @@ const k2 = /* @__PURE__ */ ve({
|
|
|
7731
7731
|
};
|
|
7732
7732
|
}
|
|
7733
7733
|
});
|
|
7734
|
-
const $2 = /* @__PURE__ */ ye(k2, [["__scopeId", "data-v-
|
|
7734
|
+
const $2 = /* @__PURE__ */ ye(k2, [["__scopeId", "data-v-a197013c"]]), C2 = { class: "auto-complete" }, V2 = {
|
|
7735
7735
|
key: 0,
|
|
7736
7736
|
class: "theme-color-fontColor"
|
|
7737
7737
|
}, z2 = /* @__PURE__ */ ve({
|
|
@@ -7772,7 +7772,7 @@ const $2 = /* @__PURE__ */ ye(k2, [["__scopeId", "data-v-001eb2e1"]]), C2 = { cl
|
|
|
7772
7772
|
emits: ["update:modelValue", "change"],
|
|
7773
7773
|
setup(a, { emit: h }) {
|
|
7774
7774
|
sr((p) => ({
|
|
7775
|
-
|
|
7775
|
+
c6921556: n(w)
|
|
7776
7776
|
}));
|
|
7777
7777
|
const l = X(), m = a;
|
|
7778
7778
|
let { options: d, width: s } = at(m);
|
|
@@ -7810,7 +7810,7 @@ const $2 = /* @__PURE__ */ ye(k2, [["__scopeId", "data-v-001eb2e1"]]), C2 = { cl
|
|
|
7810
7810
|
};
|
|
7811
7811
|
}
|
|
7812
7812
|
});
|
|
7813
|
-
const D2 = /* @__PURE__ */ ye(z2, [["__scopeId", "data-v-
|
|
7813
|
+
const D2 = /* @__PURE__ */ ye(z2, [["__scopeId", "data-v-c7a330dc"]]), E2 = {
|
|
7814
7814
|
key: 3,
|
|
7815
7815
|
class: "dynamic-form-item-description show-description"
|
|
7816
7816
|
}, S2 = /* @__PURE__ */ ve({
|
|
@@ -7899,18 +7899,18 @@ const D2 = /* @__PURE__ */ ye(z2, [["__scopeId", "data-v-de8002ad"]]), E2 = {
|
|
|
7899
7899
|
f($, {
|
|
7900
7900
|
class: Se({ block: n(u).newLine }),
|
|
7901
7901
|
modelValue: n(z).score,
|
|
7902
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
7902
|
+
"onUpdate:modelValue": p[0] || (p[0] = (T) => n(z).score = T),
|
|
7903
7903
|
disabled: a.disabled
|
|
7904
7904
|
}, {
|
|
7905
7905
|
default: x(() => [
|
|
7906
|
-
(g(!0), M(me, null, Te(n(v), (
|
|
7906
|
+
(g(!0), M(me, null, Te(n(v), (T, A) => (g(), F(_, {
|
|
7907
7907
|
class: Se(["zhy", { block: n(u).newLine }]),
|
|
7908
|
-
key:
|
|
7909
|
-
value:
|
|
7910
|
-
onClick: (N) => E(N,
|
|
7908
|
+
key: A,
|
|
7909
|
+
value: T.value,
|
|
7910
|
+
onClick: (N) => E(N, T.value)
|
|
7911
7911
|
}, {
|
|
7912
7912
|
default: x(() => [
|
|
7913
|
-
K(he(
|
|
7913
|
+
K(he(T.label), 1)
|
|
7914
7914
|
]),
|
|
7915
7915
|
_: 2
|
|
7916
7916
|
}, 1032, ["class", "value", "onClick"]))), 128))
|
|
@@ -7920,7 +7920,7 @@ const D2 = /* @__PURE__ */ ye(z2, [["__scopeId", "data-v-de8002ad"]]), E2 = {
|
|
|
7920
7920
|
n(u).showProblem ? (g(), F(D, {
|
|
7921
7921
|
key: 0,
|
|
7922
7922
|
modelValue: n(z).problem,
|
|
7923
|
-
"onUpdate:modelValue": p[1] || (p[1] = (
|
|
7923
|
+
"onUpdate:modelValue": p[1] || (p[1] = (T) => n(z).problem = T),
|
|
7924
7924
|
label: "问题:",
|
|
7925
7925
|
filterable: "",
|
|
7926
7926
|
"default-first-option": "",
|
|
@@ -7931,7 +7931,7 @@ const D2 = /* @__PURE__ */ ye(z2, [["__scopeId", "data-v-de8002ad"]]), E2 = {
|
|
|
7931
7931
|
n(u).showBrightSpot ? (g(), F(D, {
|
|
7932
7932
|
key: 1,
|
|
7933
7933
|
modelValue: n(z).brightSpot,
|
|
7934
|
-
"onUpdate:modelValue": p[2] || (p[2] = (
|
|
7934
|
+
"onUpdate:modelValue": p[2] || (p[2] = (T) => n(z).brightSpot = T),
|
|
7935
7935
|
label: "亮点:",
|
|
7936
7936
|
filterable: "",
|
|
7937
7937
|
"default-first-option": "",
|
|
@@ -7942,7 +7942,7 @@ const D2 = /* @__PURE__ */ ye(z2, [["__scopeId", "data-v-de8002ad"]]), E2 = {
|
|
|
7942
7942
|
n(u).showRemark ? (g(), F(D, {
|
|
7943
7943
|
key: 2,
|
|
7944
7944
|
modelValue: n(z).remark,
|
|
7945
|
-
"onUpdate:modelValue": p[3] || (p[3] = (
|
|
7945
|
+
"onUpdate:modelValue": p[3] || (p[3] = (T) => n(z).remark = T),
|
|
7946
7946
|
label: "备注:",
|
|
7947
7947
|
filterable: "",
|
|
7948
7948
|
"default-first-option": "",
|
|
@@ -7950,18 +7950,18 @@ const D2 = /* @__PURE__ */ ye(z2, [["__scopeId", "data-v-de8002ad"]]), E2 = {
|
|
|
7950
7950
|
disabled: a.disabled,
|
|
7951
7951
|
options: n(u).remarkOptions
|
|
7952
7952
|
}, null, 8, ["modelValue", "disabled", "options"])) : O("", !0),
|
|
7953
|
-
a.isDesigner && n(u).description || a.showDescription && (n(d).props.formType === n(
|
|
7953
|
+
a.isDesigner && n(u).description || a.showDescription && (n(d).props.formType === n(Ne).Examination || n(u).description) ? (g(), M("div", E2, [
|
|
7954
7954
|
f(S, {
|
|
7955
7955
|
class: "description-tip",
|
|
7956
7956
|
name: "tip"
|
|
7957
7957
|
}),
|
|
7958
|
-
K(" " + he(`${n(d).props.formType === n(
|
|
7958
|
+
K(" " + he(`${n(d).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(u).description || "无"}`), 1)
|
|
7959
7959
|
])) : O("", !0)
|
|
7960
7960
|
], 2);
|
|
7961
7961
|
};
|
|
7962
7962
|
}
|
|
7963
7963
|
});
|
|
7964
|
-
const L2 = /* @__PURE__ */ ye(S2, [["__scopeId", "data-v-
|
|
7964
|
+
const L2 = /* @__PURE__ */ ye(S2, [["__scopeId", "data-v-b47ba3d1"]]), { isEmpty: M2 } = it(), { getGradeItems: T2 } = cr();
|
|
7965
7965
|
let A2 = class extends yt {
|
|
7966
7966
|
constructor() {
|
|
7967
7967
|
super("grade", "考评分数", !0), this.props = {
|
|
@@ -8144,7 +8144,7 @@ const I2 = { component: A2, renderer: L2, propEditor: $2 }, j2 = /* @__PURE__ */
|
|
|
8144
8144
|
};
|
|
8145
8145
|
}
|
|
8146
8146
|
});
|
|
8147
|
-
const F2 = /* @__PURE__ */ ye(j2, [["__scopeId", "data-v-
|
|
8147
|
+
const F2 = /* @__PURE__ */ ye(j2, [["__scopeId", "data-v-dca74e29"]]), U2 = { class: "post-component w-full" }, O2 = {
|
|
8148
8148
|
key: 3,
|
|
8149
8149
|
class: "dynamic-form-item-description show-description"
|
|
8150
8150
|
}, B2 = /* @__PURE__ */ ve({
|
|
@@ -8215,24 +8215,24 @@ const F2 = /* @__PURE__ */ ye(j2, [["__scopeId", "data-v-be6b5075"]]), U2 = { cl
|
|
|
8215
8215
|
s.value.clearable && d.value[l.componentID] === E && (u.value = void 0, y.preventDefault());
|
|
8216
8216
|
};
|
|
8217
8217
|
return (y, E) => {
|
|
8218
|
-
const w = L("el-radio"), p = L("el-radio-group"), _ = L("el-checkbox"), $ = L("el-checkbox-group"), D = L("el-option"), S = L("el-select"),
|
|
8218
|
+
const w = L("el-radio"), p = L("el-radio-group"), _ = L("el-checkbox"), $ = L("el-checkbox-group"), D = L("el-option"), S = L("el-select"), T = Xe;
|
|
8219
8219
|
return g(), M("div", U2, [
|
|
8220
8220
|
n(s).type === "radio" ? (g(), F(p, {
|
|
8221
8221
|
key: 0,
|
|
8222
8222
|
class: Se({ block: n(s).newLine }),
|
|
8223
8223
|
modelValue: n(u),
|
|
8224
|
-
"onUpdate:modelValue": E[0] || (E[0] = (
|
|
8224
|
+
"onUpdate:modelValue": E[0] || (E[0] = (A) => Fe(u) ? u.value = A : null),
|
|
8225
8225
|
disabled: a.disabled
|
|
8226
8226
|
}, {
|
|
8227
8227
|
default: x(() => [
|
|
8228
|
-
(g(!0), M(me, null, Te(n(s).options, (
|
|
8228
|
+
(g(!0), M(me, null, Te(n(s).options, (A, N) => (g(), F(w, {
|
|
8229
8229
|
class: Se(["zhy", { block: n(s).newLine }]),
|
|
8230
8230
|
key: N,
|
|
8231
|
-
value:
|
|
8232
|
-
onClick: (H) => v(H,
|
|
8231
|
+
value: A.value,
|
|
8232
|
+
onClick: (H) => v(H, A.value)
|
|
8233
8233
|
}, {
|
|
8234
8234
|
default: x(() => [
|
|
8235
|
-
K(he(
|
|
8235
|
+
K(he(A.label), 1)
|
|
8236
8236
|
]),
|
|
8237
8237
|
_: 2
|
|
8238
8238
|
}, 1032, ["class", "value", "onClick"]))), 128))
|
|
@@ -8242,19 +8242,19 @@ const F2 = /* @__PURE__ */ ye(j2, [["__scopeId", "data-v-be6b5075"]]), U2 = { cl
|
|
|
8242
8242
|
n(s).type === "checkbox" ? (g(), F($, {
|
|
8243
8243
|
key: 1,
|
|
8244
8244
|
modelValue: n(u),
|
|
8245
|
-
"onUpdate:modelValue": E[1] || (E[1] = (
|
|
8245
|
+
"onUpdate:modelValue": E[1] || (E[1] = (A) => Fe(u) ? u.value = A : null),
|
|
8246
8246
|
disabled: a.disabled,
|
|
8247
8247
|
min: n(s).min,
|
|
8248
8248
|
max: n(s).max
|
|
8249
8249
|
}, {
|
|
8250
8250
|
default: x(() => [
|
|
8251
|
-
(g(!0), M(me, null, Te(n(s).options, (
|
|
8251
|
+
(g(!0), M(me, null, Te(n(s).options, (A, N) => (g(), F(_, {
|
|
8252
8252
|
class: Se(["zhy", { block: n(s).newLine }]),
|
|
8253
|
-
value:
|
|
8253
|
+
value: A.value,
|
|
8254
8254
|
key: N
|
|
8255
8255
|
}, {
|
|
8256
8256
|
default: x(() => [
|
|
8257
|
-
K(he(
|
|
8257
|
+
K(he(A.label), 1)
|
|
8258
8258
|
]),
|
|
8259
8259
|
_: 2
|
|
8260
8260
|
}, 1032, ["class", "value"]))), 128))
|
|
@@ -8265,31 +8265,31 @@ const F2 = /* @__PURE__ */ ye(j2, [["__scopeId", "data-v-be6b5075"]]), U2 = { cl
|
|
|
8265
8265
|
key: 2,
|
|
8266
8266
|
class: "selector-type",
|
|
8267
8267
|
modelValue: n(u),
|
|
8268
|
-
"onUpdate:modelValue": E[2] || (E[2] = (
|
|
8268
|
+
"onUpdate:modelValue": E[2] || (E[2] = (A) => Fe(u) ? u.value = A : null),
|
|
8269
8269
|
multiple: n(s).multiple,
|
|
8270
8270
|
placeholder: "请选择"
|
|
8271
8271
|
}, {
|
|
8272
8272
|
default: x(() => [
|
|
8273
|
-
(g(!0), M(me, null, Te(n(s).options, (
|
|
8273
|
+
(g(!0), M(me, null, Te(n(s).options, (A, N) => (g(), F(D, {
|
|
8274
8274
|
key: N,
|
|
8275
|
-
label:
|
|
8276
|
-
value:
|
|
8275
|
+
label: A.label,
|
|
8276
|
+
value: A.value
|
|
8277
8277
|
}, null, 8, ["label", "value"]))), 128))
|
|
8278
8278
|
]),
|
|
8279
8279
|
_: 1
|
|
8280
8280
|
}, 8, ["modelValue", "multiple"])) : O("", !0),
|
|
8281
|
-
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(
|
|
8282
|
-
f(
|
|
8281
|
+
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(s).description) ? (g(), M("div", O2, [
|
|
8282
|
+
f(T, {
|
|
8283
8283
|
class: "description-tip",
|
|
8284
8284
|
name: "tip"
|
|
8285
8285
|
}),
|
|
8286
|
-
K(" " + he(`${n(m).props.formType === n(
|
|
8286
|
+
K(" " + he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(s).description || "无"}`), 1)
|
|
8287
8287
|
])) : O("", !0)
|
|
8288
8288
|
]);
|
|
8289
8289
|
};
|
|
8290
8290
|
}
|
|
8291
8291
|
});
|
|
8292
|
-
const N2 = /* @__PURE__ */ ye(B2, [["__scopeId", "data-v-
|
|
8292
|
+
const N2 = /* @__PURE__ */ ye(B2, [["__scopeId", "data-v-bb899aa8"]]);
|
|
8293
8293
|
let R2 = class extends yt {
|
|
8294
8294
|
constructor() {
|
|
8295
8295
|
super("post", "岗位", !0), this.props = {
|
|
@@ -8369,7 +8369,7 @@ const P2 = { component: R2, renderer: N2, propEditor: F2 }, H2 = { class: "flex
|
|
|
8369
8369
|
v.value = z.value, v.itemSourceType = z.itemSourceType;
|
|
8370
8370
|
};
|
|
8371
8371
|
return (z, v) => {
|
|
8372
|
-
const y = L("el-option"), E = L("el-select"), w = L("el-form-item"), p = L("el-switch"), _ = L("el-input-number"), $ = L("el-divider"), D = Xe, S = L("el-checkbox"),
|
|
8372
|
+
const y = L("el-option"), E = L("el-select"), w = L("el-form-item"), p = L("el-switch"), _ = L("el-input-number"), $ = L("el-divider"), D = Xe, S = L("el-checkbox"), T = L("el-tooltip"), A = L("el-button"), N = L("el-form");
|
|
8373
8373
|
return g(), F(N, {
|
|
8374
8374
|
"label-width": "80px",
|
|
8375
8375
|
"label-suffix": ":",
|
|
@@ -8468,7 +8468,7 @@ const P2 = { component: R2, renderer: N2, propEditor: F2 }, H2 = { class: "flex
|
|
|
8468
8468
|
disabled: !n(h).selectComponent.allowModify,
|
|
8469
8469
|
onChange: (W) => k(W, H)
|
|
8470
8470
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "dictionary", "allowCreateDictionary", "disabled", "onChange"]),
|
|
8471
|
-
f(
|
|
8471
|
+
f(T, {
|
|
8472
8472
|
effect: "dark",
|
|
8473
8473
|
content: "允许填空",
|
|
8474
8474
|
placement: "top"
|
|
@@ -8501,7 +8501,7 @@ const P2 = { component: R2, renderer: N2, propEditor: F2 }, H2 = { class: "flex
|
|
|
8501
8501
|
class: "pb-20"
|
|
8502
8502
|
}, {
|
|
8503
8503
|
default: x(() => [
|
|
8504
|
-
f(
|
|
8504
|
+
f(A, {
|
|
8505
8505
|
class: "zhy add-button pos-absolute top--3px right--8px",
|
|
8506
8506
|
text: "",
|
|
8507
8507
|
onClick: s
|
|
@@ -8525,7 +8525,7 @@ const P2 = { component: R2, renderer: N2, propEditor: F2 }, H2 = { class: "flex
|
|
|
8525
8525
|
};
|
|
8526
8526
|
}
|
|
8527
8527
|
});
|
|
8528
|
-
const W2 = /* @__PURE__ */ ye(q2, [["__scopeId", "data-v-
|
|
8528
|
+
const W2 = /* @__PURE__ */ ye(q2, [["__scopeId", "data-v-1fc52886"]]), Y2 = { class: "checkbox-component w-full" }, X2 = { key: 0 }, G2 = /* @__PURE__ */ ve({
|
|
8529
8529
|
__name: "renderer",
|
|
8530
8530
|
props: {
|
|
8531
8531
|
/**
|
|
@@ -8587,7 +8587,7 @@ const W2 = /* @__PURE__ */ ye(q2, [["__scopeId", "data-v-73d68197"]]), Y2 = { cl
|
|
|
8587
8587
|
);
|
|
8588
8588
|
const y = X(!1), E = (w) => {
|
|
8589
8589
|
var p, _;
|
|
8590
|
-
m.value.props.formType ===
|
|
8590
|
+
m.value.props.formType === Ne.Examination && d.value && (w != null && w.length) && ((p = k.value.correctOptions) != null && p.length) && (!w.find((D) => {
|
|
8591
8591
|
var S;
|
|
8592
8592
|
return !((S = k.value.correctOptions) != null && S.includes(D));
|
|
8593
8593
|
}) && ((_ = k.value.correctOptions) == null ? void 0 : _.length) === w.length ? (k.value.examinationStatus = Fo.Correct, k.value.color = "#000000", y.value = !1) : (k.value.examinationStatus = Fo.Error, k.value.color = "#ff0000", y.value = !0)), k.value.options.forEach(($) => {
|
|
@@ -8600,40 +8600,40 @@ const W2 = /* @__PURE__ */ ye(q2, [["__scopeId", "data-v-73d68197"]]), Y2 = { cl
|
|
|
8600
8600
|
return g(), M("div", Y2, [
|
|
8601
8601
|
f(D, {
|
|
8602
8602
|
modelValue: n(z),
|
|
8603
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
8603
|
+
"onUpdate:modelValue": p[0] || (p[0] = (T) => Fe(z) ? z.value = T : null),
|
|
8604
8604
|
disabled: a.disabled,
|
|
8605
8605
|
min: n(k).min,
|
|
8606
8606
|
max: n(k).max,
|
|
8607
8607
|
onChange: E
|
|
8608
8608
|
}, {
|
|
8609
8609
|
default: x(() => [
|
|
8610
|
-
(g(!0), M(me, null, Te(n(k).options, (
|
|
8610
|
+
(g(!0), M(me, null, Te(n(k).options, (T, A) => {
|
|
8611
8611
|
var N;
|
|
8612
8612
|
return g(), M("div", {
|
|
8613
8613
|
class: Se(["inline-flex items-center", { "block!": n(k).newLine }]),
|
|
8614
|
-
key:
|
|
8614
|
+
key: A
|
|
8615
8615
|
}, [
|
|
8616
8616
|
f(_, {
|
|
8617
8617
|
class: "zhy whitespace-normal",
|
|
8618
|
-
value:
|
|
8618
|
+
value: T.value
|
|
8619
8619
|
}, {
|
|
8620
8620
|
default: x(() => [
|
|
8621
|
-
K(he(
|
|
8621
|
+
K(he(T.label), 1)
|
|
8622
8622
|
]),
|
|
8623
8623
|
_: 2
|
|
8624
8624
|
}, 1032, ["value"]),
|
|
8625
|
-
|
|
8625
|
+
T.inputEnable && (a.isDesigner || (N = n(z)) != null && N.includes(T.value)) ? (g(), F($, {
|
|
8626
8626
|
key: 0,
|
|
8627
8627
|
class: "w-300 mr-20 ml--20px",
|
|
8628
|
-
modelValue: n(u)[`${a.componentID}||${
|
|
8629
|
-
"onUpdate:modelValue": (H) => n(u)[`${a.componentID}||${
|
|
8628
|
+
modelValue: n(u)[`${a.componentID}||${T.value}`],
|
|
8629
|
+
"onUpdate:modelValue": (H) => n(u)[`${a.componentID}||${T.value}`] = H
|
|
8630
8630
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : O("", !0)
|
|
8631
8631
|
], 2);
|
|
8632
8632
|
}), 128))
|
|
8633
8633
|
]),
|
|
8634
8634
|
_: 1
|
|
8635
8635
|
}, 8, ["modelValue", "disabled", "min", "max"]),
|
|
8636
|
-
a.isDesigner && n(k).description || n(s) || n(y) || a.showDescription && (n(m).props.formType === n(
|
|
8636
|
+
a.isDesigner && n(k).description || n(s) || n(y) || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(k).description) ? (g(), M("div", {
|
|
8637
8637
|
key: 0,
|
|
8638
8638
|
class: Se([
|
|
8639
8639
|
"dynamic-form-item-description",
|
|
@@ -8643,15 +8643,15 @@ const W2 = /* @__PURE__ */ ye(q2, [["__scopeId", "data-v-73d68197"]]), Y2 = { cl
|
|
|
8643
8643
|
f(S, {
|
|
8644
8644
|
class: Se(["description-tip", { "cursor-default!": !n(s) }]),
|
|
8645
8645
|
name: "tip",
|
|
8646
|
-
onClick: p[1] || (p[1] = (
|
|
8646
|
+
onClick: p[1] || (p[1] = (T) => n(s) && (y.value = !n(y)))
|
|
8647
8647
|
}, null, 8, ["class"]),
|
|
8648
|
-
a.isDesigner && n(k).description || a.showDescription || n(y) ? (g(), M("div", X2, he(`${n(m).props.formType === n(
|
|
8648
|
+
a.isDesigner && n(k).description || a.showDescription || n(y) ? (g(), M("div", X2, he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(k).description || "无"}`), 1)) : O("", !0)
|
|
8649
8649
|
], 2)) : O("", !0)
|
|
8650
8650
|
]);
|
|
8651
8651
|
};
|
|
8652
8652
|
}
|
|
8653
8653
|
});
|
|
8654
|
-
const K2 = /* @__PURE__ */ ye(G2, [["__scopeId", "data-v-
|
|
8654
|
+
const K2 = /* @__PURE__ */ ye(G2, [["__scopeId", "data-v-48f3289a"]]), { getTempID: ni } = it();
|
|
8655
8655
|
let Z2 = class extends yt {
|
|
8656
8656
|
constructor() {
|
|
8657
8657
|
super("checkbox", "多选框", !0), this.props = {
|
|
@@ -8801,7 +8801,7 @@ const J2 = { component: Z2, renderer: K2, propEditor: W2 }, Q2 = /* @__PURE__ */
|
|
|
8801
8801
|
};
|
|
8802
8802
|
}
|
|
8803
8803
|
});
|
|
8804
|
-
const ep = /* @__PURE__ */ ye(Q2, [["__scopeId", "data-v-
|
|
8804
|
+
const ep = /* @__PURE__ */ ye(Q2, [["__scopeId", "data-v-50c8d2b2"]]), tp = { class: "input-component w-full" }, op = { key: 0 }, np = /* @__PURE__ */ ve({
|
|
8805
8805
|
__name: "renderer",
|
|
8806
8806
|
props: {
|
|
8807
8807
|
/**
|
|
@@ -8880,7 +8880,7 @@ const ep = /* @__PURE__ */ ye(Q2, [["__scopeId", "data-v-0a088ae5"]]), tp = { cl
|
|
|
8880
8880
|
disabled: a.disabled,
|
|
8881
8881
|
readonly: a.readonly
|
|
8882
8882
|
}, null, 8, ["type", "show-password", "modelValue", "placeholder", "clearable", "disabled", "readonly"]),
|
|
8883
|
-
a.isDesigner && n(k).description || n(d) || n(s) || a.showDescription && (n(m).props.formType === n(
|
|
8883
|
+
a.isDesigner && n(k).description || n(d) || n(s) || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(k).description) ? (g(), M("div", {
|
|
8884
8884
|
key: 0,
|
|
8885
8885
|
class: Se([
|
|
8886
8886
|
"dynamic-form-item-description",
|
|
@@ -8892,13 +8892,13 @@ const ep = /* @__PURE__ */ ye(Q2, [["__scopeId", "data-v-0a088ae5"]]), tp = { cl
|
|
|
8892
8892
|
name: "tip",
|
|
8893
8893
|
onClick: E[1] || (E[1] = (_) => n(d) && (s.value = !n(s)))
|
|
8894
8894
|
}, null, 8, ["class"]),
|
|
8895
|
-
a.isDesigner && n(k).description || a.showDescription || n(s) ? (g(), M("div", op, he(`${n(m).props.formType === n(
|
|
8895
|
+
a.isDesigner && n(k).description || a.showDescription || n(s) ? (g(), M("div", op, he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(k).description || "无"}`), 1)) : O("", !0)
|
|
8896
8896
|
], 2)) : O("", !0)
|
|
8897
8897
|
]);
|
|
8898
8898
|
};
|
|
8899
8899
|
}
|
|
8900
8900
|
});
|
|
8901
|
-
const rp = /* @__PURE__ */ ye(np, [["__scopeId", "data-v-
|
|
8901
|
+
const rp = /* @__PURE__ */ ye(np, [["__scopeId", "data-v-fb710792"]]);
|
|
8902
8902
|
let lp = class extends yt {
|
|
8903
8903
|
/**
|
|
8904
8904
|
* @description: 构造器
|
|
@@ -8973,7 +8973,7 @@ const ap = { component: lp, renderer: rp, propEditor: ep }, ip = /* @__PURE__ */
|
|
|
8973
8973
|
}, he(a.componentProps.label), 5));
|
|
8974
8974
|
}
|
|
8975
8975
|
});
|
|
8976
|
-
const sp = /* @__PURE__ */ ye(ip, [["__scopeId", "data-v-
|
|
8976
|
+
const sp = /* @__PURE__ */ ye(ip, [["__scopeId", "data-v-3b66c88d"]]);
|
|
8977
8977
|
let dp = class extends yt {
|
|
8978
8978
|
/**
|
|
8979
8979
|
* @description: 构造器
|
|
@@ -9020,8 +9020,8 @@ const cp = { component: dp, renderer: sp, undefined: void 0 }, up = { class: "fl
|
|
|
9020
9020
|
v.value = z.value, v.itemSourceType = z.itemSourceType;
|
|
9021
9021
|
};
|
|
9022
9022
|
return (z, v) => {
|
|
9023
|
-
const y = L("el-option"), E = L("el-select"), w = L("el-form-item"), p = L("el-switch"), _ = L("el-divider"), $ = Xe, D = L("el-checkbox"), S = L("el-tooltip"),
|
|
9024
|
-
return g(), F(
|
|
9023
|
+
const y = L("el-option"), E = L("el-select"), w = L("el-form-item"), p = L("el-switch"), _ = L("el-divider"), $ = Xe, D = L("el-checkbox"), S = L("el-tooltip"), T = L("el-button"), A = L("el-form");
|
|
9024
|
+
return g(), F(A, {
|
|
9025
9025
|
"label-width": "80px",
|
|
9026
9026
|
"label-suffix": ":",
|
|
9027
9027
|
class: "zhy radio-props-editor"
|
|
@@ -9127,7 +9127,7 @@ const cp = { component: dp, renderer: sp, undefined: void 0 }, up = { class: "fl
|
|
|
9127
9127
|
class: "pb-20"
|
|
9128
9128
|
}, {
|
|
9129
9129
|
default: x(() => [
|
|
9130
|
-
f(
|
|
9130
|
+
f(T, {
|
|
9131
9131
|
class: "zhy add-button pos-absolute top--3px right--8px",
|
|
9132
9132
|
text: "",
|
|
9133
9133
|
onClick: s
|
|
@@ -9151,7 +9151,7 @@ const cp = { component: dp, renderer: sp, undefined: void 0 }, up = { class: "fl
|
|
|
9151
9151
|
};
|
|
9152
9152
|
}
|
|
9153
9153
|
});
|
|
9154
|
-
const mp = /* @__PURE__ */ ye(pp, [["__scopeId", "data-v-
|
|
9154
|
+
const mp = /* @__PURE__ */ ye(pp, [["__scopeId", "data-v-fa409895"]]), fp = { class: "radio-component w-full" }, hp = { key: 0 }, gp = /* @__PURE__ */ ve({
|
|
9155
9155
|
__name: "renderer",
|
|
9156
9156
|
props: {
|
|
9157
9157
|
/**
|
|
@@ -9213,7 +9213,7 @@ const mp = /* @__PURE__ */ ye(pp, [["__scopeId", "data-v-d94e7452"]]), fp = { cl
|
|
|
9213
9213
|
);
|
|
9214
9214
|
const y = X(!1), E = (p) => {
|
|
9215
9215
|
var _, $;
|
|
9216
|
-
m.value.props.formType ===
|
|
9216
|
+
m.value.props.formType === Ne.Examination && d.value && p && ((_ = k.value.correctOptions) != null && _.length) && (($ = k.value.correctOptions) != null && $.includes(p) ? (k.value.examinationStatus = Fo.Correct, k.value.color = "#000000", y.value = !1) : (k.value.examinationStatus = Fo.Error, k.value.color = "#ff0000", y.value = !0)), k.value.options.forEach((D) => {
|
|
9217
9217
|
const S = `${l.componentID}||${D.value}`;
|
|
9218
9218
|
p !== D.value && u.value[S] && delete u.value[S];
|
|
9219
9219
|
});
|
|
@@ -9227,17 +9227,17 @@ const mp = /* @__PURE__ */ ye(pp, [["__scopeId", "data-v-d94e7452"]]), fp = { cl
|
|
|
9227
9227
|
}
|
|
9228
9228
|
};
|
|
9229
9229
|
return (p, _) => {
|
|
9230
|
-
const $ = L("el-radio"), D = L("el-input"), S = L("el-radio-group"),
|
|
9230
|
+
const $ = L("el-radio"), D = L("el-input"), S = L("el-radio-group"), T = Xe;
|
|
9231
9231
|
return g(), M("div", fp, [
|
|
9232
9232
|
f(S, {
|
|
9233
9233
|
class: Se({ block: n(k).newLine }),
|
|
9234
9234
|
modelValue: n(z),
|
|
9235
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
9235
|
+
"onUpdate:modelValue": _[0] || (_[0] = (A) => Fe(z) ? z.value = A : null),
|
|
9236
9236
|
disabled: a.disabled,
|
|
9237
9237
|
onChange: E
|
|
9238
9238
|
}, {
|
|
9239
9239
|
default: x(() => [
|
|
9240
|
-
(g(!0), M(me, null, Te(n(k).options, (
|
|
9240
|
+
(g(!0), M(me, null, Te(n(k).options, (A, N) => {
|
|
9241
9241
|
var H;
|
|
9242
9242
|
return g(), M("div", {
|
|
9243
9243
|
class: "flex items-center",
|
|
@@ -9245,44 +9245,44 @@ const mp = /* @__PURE__ */ ye(pp, [["__scopeId", "data-v-d94e7452"]]), fp = { cl
|
|
|
9245
9245
|
}, [
|
|
9246
9246
|
f($, {
|
|
9247
9247
|
class: "zhy whitespace-normal",
|
|
9248
|
-
value:
|
|
9249
|
-
onClick: (Z) => w(Z,
|
|
9248
|
+
value: A.value,
|
|
9249
|
+
onClick: (Z) => w(Z, A.value)
|
|
9250
9250
|
}, {
|
|
9251
9251
|
default: x(() => [
|
|
9252
|
-
K(he(
|
|
9252
|
+
K(he(A.label), 1)
|
|
9253
9253
|
]),
|
|
9254
9254
|
_: 2
|
|
9255
9255
|
}, 1032, ["value", "onClick"]),
|
|
9256
|
-
|
|
9256
|
+
A.inputEnable && (a.isDesigner || (H = n(z)) != null && H.includes(A.value)) ? (g(), F(D, {
|
|
9257
9257
|
key: 0,
|
|
9258
9258
|
class: "w-300 mr-20 ml--20px",
|
|
9259
|
-
modelValue: n(u)[`${a.componentID}||${
|
|
9260
|
-
"onUpdate:modelValue": (Z) => n(u)[`${a.componentID}||${
|
|
9259
|
+
modelValue: n(u)[`${a.componentID}||${A.value}`],
|
|
9260
|
+
"onUpdate:modelValue": (Z) => n(u)[`${a.componentID}||${A.value}`] = Z
|
|
9261
9261
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : O("", !0)
|
|
9262
9262
|
]);
|
|
9263
9263
|
}), 128))
|
|
9264
9264
|
]),
|
|
9265
9265
|
_: 1
|
|
9266
9266
|
}, 8, ["class", "modelValue", "disabled"]),
|
|
9267
|
-
a.isDesigner && n(k).description || n(s) || n(y) || a.showDescription && (n(m).props.formType === n(
|
|
9267
|
+
a.isDesigner && n(k).description || n(s) || n(y) || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(k).description) ? (g(), M("div", {
|
|
9268
9268
|
key: 0,
|
|
9269
9269
|
class: Se([
|
|
9270
9270
|
"dynamic-form-item-description",
|
|
9271
9271
|
{ "show-description": a.isDesigner && n(k).description || a.showDescription || n(y) }
|
|
9272
9272
|
])
|
|
9273
9273
|
}, [
|
|
9274
|
-
f(
|
|
9274
|
+
f(T, {
|
|
9275
9275
|
class: Se(["description-tip", { "cursor-default!": !n(s) }]),
|
|
9276
9276
|
name: "tip",
|
|
9277
|
-
onClick: _[1] || (_[1] = (
|
|
9277
|
+
onClick: _[1] || (_[1] = (A) => n(s) && (y.value = !n(y)))
|
|
9278
9278
|
}, null, 8, ["class"]),
|
|
9279
|
-
a.isDesigner && n(k).description || a.showDescription || n(y) ? (g(), M("div", hp, he(`${n(m).props.formType === n(
|
|
9279
|
+
a.isDesigner && n(k).description || a.showDescription || n(y) ? (g(), M("div", hp, he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(k).description || "无"}`), 1)) : O("", !0)
|
|
9280
9280
|
], 2)) : O("", !0)
|
|
9281
9281
|
]);
|
|
9282
9282
|
};
|
|
9283
9283
|
}
|
|
9284
9284
|
});
|
|
9285
|
-
const bp = /* @__PURE__ */ ye(gp, [["__scopeId", "data-v-
|
|
9285
|
+
const bp = /* @__PURE__ */ ye(gp, [["__scopeId", "data-v-6ad8027e"]]), { getTempID: ri } = it();
|
|
9286
9286
|
let vp = class extends yt {
|
|
9287
9287
|
constructor() {
|
|
9288
9288
|
super("radio", "单选框", !0), this.props = {
|
|
@@ -9466,7 +9466,7 @@ const xp = { class: "unit" }, wp = { class: "ml-10" }, _p = /* @__PURE__ */ ve({
|
|
|
9466
9466
|
class: "zhy date-props-editor"
|
|
9467
9467
|
}, {
|
|
9468
9468
|
default: x(() => {
|
|
9469
|
-
var S,
|
|
9469
|
+
var S, T, A, N, H, Z, W, le;
|
|
9470
9470
|
return [
|
|
9471
9471
|
f(w, { label: "类型" }, {
|
|
9472
9472
|
default: x(() => [
|
|
@@ -9512,7 +9512,7 @@ const xp = { class: "unit" }, wp = { class: "ml-10" }, _p = /* @__PURE__ */ ve({
|
|
|
9512
9512
|
]),
|
|
9513
9513
|
_: 1
|
|
9514
9514
|
})) : O("", !0),
|
|
9515
|
-
(
|
|
9515
|
+
(T = n(u)) != null && T.props.includes("format") ? (g(), F(w, {
|
|
9516
9516
|
key: 1,
|
|
9517
9517
|
label: "显示格式"
|
|
9518
9518
|
}, {
|
|
@@ -9525,7 +9525,7 @@ const xp = { class: "unit" }, wp = { class: "ml-10" }, _p = /* @__PURE__ */ ve({
|
|
|
9525
9525
|
]),
|
|
9526
9526
|
_: 1
|
|
9527
9527
|
})) : O("", !0),
|
|
9528
|
-
(
|
|
9528
|
+
(A = n(u)) != null && A.props.includes("valueFormat") ? (g(), F(w, {
|
|
9529
9529
|
key: 2,
|
|
9530
9530
|
label: "值格式"
|
|
9531
9531
|
}, {
|
|
@@ -9624,7 +9624,7 @@ const xp = { class: "unit" }, wp = { class: "ml-10" }, _p = /* @__PURE__ */ ve({
|
|
|
9624
9624
|
};
|
|
9625
9625
|
}
|
|
9626
9626
|
});
|
|
9627
|
-
const kp = /* @__PURE__ */ ye(_p, [["__scopeId", "data-v-
|
|
9627
|
+
const kp = /* @__PURE__ */ ye(_p, [["__scopeId", "data-v-d03ec532"]]);
|
|
9628
9628
|
function yn(a, h) {
|
|
9629
9629
|
let l = Dt(a || /* @__PURE__ */ new Date()).format(h || "YYYY-MM-DD");
|
|
9630
9630
|
return l === "Invalid Date" && (l = Dt(`${yn(/* @__PURE__ */ new Date())} ${a}`).format(h || "YYYY-MM-DD")), l;
|
|
@@ -9757,18 +9757,18 @@ const Dp = { class: "date-component w-full" }, Ep = {
|
|
|
9757
9757
|
readonly: a.readonly,
|
|
9758
9758
|
style: Yt({ width: `${n(s).componentWidth}px` })
|
|
9759
9759
|
}, null, 8, ["modelValue", "type", "format", "value-format", "placeholder", "clearable", "disabled", "readonly", "style"]),
|
|
9760
|
-
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(
|
|
9760
|
+
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(s).description) ? (g(), M("div", Ep, [
|
|
9761
9761
|
f(w, {
|
|
9762
9762
|
class: "description-tip",
|
|
9763
9763
|
name: "tip"
|
|
9764
9764
|
}),
|
|
9765
|
-
K(" " + he(`${n(m).props.formType === n(
|
|
9765
|
+
K(" " + he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(s).description || "无"}`), 1)
|
|
9766
9766
|
])) : O("", !0)
|
|
9767
9767
|
]);
|
|
9768
9768
|
};
|
|
9769
9769
|
}
|
|
9770
9770
|
});
|
|
9771
|
-
const Lp = /* @__PURE__ */ ye(Sp, [["__scopeId", "data-v-
|
|
9771
|
+
const Lp = /* @__PURE__ */ ye(Sp, [["__scopeId", "data-v-7fc44e6a"]]);
|
|
9772
9772
|
let Mp = class extends yt {
|
|
9773
9773
|
/**
|
|
9774
9774
|
* @description: 构造器
|
|
@@ -9851,7 +9851,7 @@ const Tp = { component: Mp, renderer: Lp, propEditor: kp }, Ap = /* @__PURE__ */
|
|
|
9851
9851
|
class: "zhy time-props-editor"
|
|
9852
9852
|
}, {
|
|
9853
9853
|
default: x(() => {
|
|
9854
|
-
var
|
|
9854
|
+
var T, A, N, H, Z, W, le, Q, oe, te;
|
|
9855
9855
|
return [
|
|
9856
9856
|
f(w, { label: "类型" }, {
|
|
9857
9857
|
default: x(() => [
|
|
@@ -9885,7 +9885,7 @@ const Tp = { component: Mp, renderer: Lp, propEditor: kp }, Ap = /* @__PURE__ */
|
|
|
9885
9885
|
]),
|
|
9886
9886
|
_: 1
|
|
9887
9887
|
}),
|
|
9888
|
-
(
|
|
9888
|
+
(T = n(u)) != null && T.props.includes("isRange") ? (g(), F(w, {
|
|
9889
9889
|
key: 0,
|
|
9890
9890
|
label: "时间范围"
|
|
9891
9891
|
}, {
|
|
@@ -9897,7 +9897,7 @@ const Tp = { component: Mp, renderer: Lp, propEditor: kp }, Ap = /* @__PURE__ */
|
|
|
9897
9897
|
]),
|
|
9898
9898
|
_: 1
|
|
9899
9899
|
})) : O("", !0),
|
|
9900
|
-
(
|
|
9900
|
+
(A = n(u)) != null && A.props.includes("rangeSeparator") && n(d).isRange ? (g(), F(w, {
|
|
9901
9901
|
key: 1,
|
|
9902
9902
|
label: "分隔符"
|
|
9903
9903
|
}, {
|
|
@@ -10042,7 +10042,7 @@ const Tp = { component: Mp, renderer: Lp, propEditor: kp }, Ap = /* @__PURE__ */
|
|
|
10042
10042
|
};
|
|
10043
10043
|
}
|
|
10044
10044
|
});
|
|
10045
|
-
const Ip = /* @__PURE__ */ ye(Ap, [["__scopeId", "data-v-
|
|
10045
|
+
const Ip = /* @__PURE__ */ ye(Ap, [["__scopeId", "data-v-3ca67e80"]]), jp = { class: "date-component w-full" }, Fp = {
|
|
10046
10046
|
key: 2,
|
|
10047
10047
|
class: "dynamic-form-item-description show-description"
|
|
10048
10048
|
}, Up = /* @__PURE__ */ ve({
|
|
@@ -10154,7 +10154,7 @@ const Ip = /* @__PURE__ */ ye(Ap, [["__scopeId", "data-v-59aa99be"]]), jp = { cl
|
|
|
10154
10154
|
class: "zhy sons-class-el-range__icon:fs-24!",
|
|
10155
10155
|
"popper-class": "zhy",
|
|
10156
10156
|
modelValue: n(u),
|
|
10157
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
10157
|
+
"onUpdate:modelValue": _[0] || (_[0] = (T) => Fe(u) ? u.value = T : null),
|
|
10158
10158
|
format: n(s).format,
|
|
10159
10159
|
"value-format": n(s).valueFormat,
|
|
10160
10160
|
"disabled-hours": E,
|
|
@@ -10169,7 +10169,7 @@ const Ip = /* @__PURE__ */ ye(Ap, [["__scopeId", "data-v-59aa99be"]]), jp = { cl
|
|
|
10169
10169
|
n(s).datetimeType === "timeSelect" ? (g(), F(D, {
|
|
10170
10170
|
key: 1,
|
|
10171
10171
|
modelValue: n(u),
|
|
10172
|
-
"onUpdate:modelValue": _[1] || (_[1] = (
|
|
10172
|
+
"onUpdate:modelValue": _[1] || (_[1] = (T) => Fe(u) ? u.value = T : null),
|
|
10173
10173
|
class: "zhy",
|
|
10174
10174
|
"popper-class": "zhy",
|
|
10175
10175
|
start: n(s).startTime,
|
|
@@ -10182,18 +10182,18 @@ const Ip = /* @__PURE__ */ ye(Ap, [["__scopeId", "data-v-59aa99be"]]), jp = { cl
|
|
|
10182
10182
|
clearable: n(s).clearable,
|
|
10183
10183
|
style: Yt({ width: `${n(s).componentWidth}px` })
|
|
10184
10184
|
}, null, 8, ["modelValue", "start", "end", "step", "min-time", "max-time", "placeholder", "disabled", "clearable", "style"])) : O("", !0),
|
|
10185
|
-
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(
|
|
10185
|
+
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(s).description) ? (g(), M("div", Fp, [
|
|
10186
10186
|
f(S, {
|
|
10187
10187
|
class: "description-tip",
|
|
10188
10188
|
name: "tip"
|
|
10189
10189
|
}),
|
|
10190
|
-
K(" " + he(`${n(m).props.formType === n(
|
|
10190
|
+
K(" " + he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(s).description || "无"}`), 1)
|
|
10191
10191
|
])) : O("", !0)
|
|
10192
10192
|
]);
|
|
10193
10193
|
};
|
|
10194
10194
|
}
|
|
10195
10195
|
});
|
|
10196
|
-
const Op = /* @__PURE__ */ ye(Up, [["__scopeId", "data-v-
|
|
10196
|
+
const Op = /* @__PURE__ */ ye(Up, [["__scopeId", "data-v-5ce2c18b"]]);
|
|
10197
10197
|
let Bp = class extends yt {
|
|
10198
10198
|
/**
|
|
10199
10199
|
* @description: 构造器
|
|
@@ -10284,7 +10284,7 @@ const Np = { component: Bp, renderer: Op, propEditor: Ip }, Rp = { class: "input
|
|
|
10284
10284
|
We("warning", "此功能尚未开发!");
|
|
10285
10285
|
};
|
|
10286
10286
|
return (p, _) => {
|
|
10287
|
-
const $ = L("el-input-number"), D = L("el-form-item"), S = L("el-input"),
|
|
10287
|
+
const $ = L("el-input-number"), D = L("el-form-item"), S = L("el-input"), T = L("el-switch"), A = L("el-divider"), N = Xe, H = L("el-button"), Z = L("el-table-column"), W = L("el-table"), le = L("el-form"), Q = L("el-option"), oe = L("el-select"), te = L("el-drawer");
|
|
10288
10288
|
return g(), M("div", Rp, [
|
|
10289
10289
|
f(le, {
|
|
10290
10290
|
"label-width": "80px",
|
|
@@ -10326,7 +10326,7 @@ const Np = { component: Bp, renderer: Op, propEditor: Ip }, Rp = { class: "input
|
|
|
10326
10326
|
}),
|
|
10327
10327
|
f(D, { label: "允许文本" }, {
|
|
10328
10328
|
default: x(() => [
|
|
10329
|
-
f(
|
|
10329
|
+
f(T, {
|
|
10330
10330
|
modelValue: n(l).allowText,
|
|
10331
10331
|
"onUpdate:modelValue": _[3] || (_[3] = (ne) => n(l).allowText = ne)
|
|
10332
10332
|
}, null, 8, ["modelValue"])
|
|
@@ -10334,7 +10334,7 @@ const Np = { component: Bp, renderer: Op, propEditor: Ip }, Rp = { class: "input
|
|
|
10334
10334
|
_: 1
|
|
10335
10335
|
}),
|
|
10336
10336
|
n(l).allowText && n(l).allowTextOptions ? (g(), M(me, { key: 0 }, [
|
|
10337
|
-
f(
|
|
10337
|
+
f(A, null, {
|
|
10338
10338
|
default: x(() => [..._[7] || (_[7] = [
|
|
10339
10339
|
K("允许输入文本", -1)
|
|
10340
10340
|
])]),
|
|
@@ -10390,7 +10390,7 @@ const Np = { component: Bp, renderer: Op, propEditor: Ip }, Rp = { class: "input
|
|
|
10390
10390
|
_: 1
|
|
10391
10391
|
})) : O("", !0)
|
|
10392
10392
|
], 64)) : O("", !0),
|
|
10393
|
-
f(
|
|
10393
|
+
f(A, null, {
|
|
10394
10394
|
default: x(() => [..._[9] || (_[9] = [
|
|
10395
10395
|
K("异常值检核", -1)
|
|
10396
10396
|
])]),
|
|
@@ -10471,7 +10471,7 @@ const Np = { component: Bp, renderer: Op, propEditor: Ip }, Rp = { class: "input
|
|
|
10471
10471
|
]),
|
|
10472
10472
|
_: 1
|
|
10473
10473
|
}, 8, ["data"])) : O("", !0),
|
|
10474
|
-
f(
|
|
10474
|
+
f(A, null, {
|
|
10475
10475
|
default: x(() => [..._[12] || (_[12] = [
|
|
10476
10476
|
K("关联触发条件", -1)
|
|
10477
10477
|
])]),
|
|
@@ -10642,7 +10642,7 @@ const Np = { component: Bp, renderer: Op, propEditor: Ip }, Rp = { class: "input
|
|
|
10642
10642
|
};
|
|
10643
10643
|
}
|
|
10644
10644
|
});
|
|
10645
|
-
const Wp = /* @__PURE__ */ ye(qp, [["__scopeId", "data-v-
|
|
10645
|
+
const Wp = /* @__PURE__ */ ye(qp, [["__scopeId", "data-v-ef1beef8"]]), Yp = { class: "input-number-component w-full" }, Xp = {
|
|
10646
10646
|
key: 0,
|
|
10647
10647
|
class: "dynamic-form-item-description show-description"
|
|
10648
10648
|
}, Gp = /* @__PURE__ */ ve({
|
|
@@ -10767,18 +10767,18 @@ const Wp = /* @__PURE__ */ ye(qp, [["__scopeId", "data-v-2e02e99a"]]), Yp = { cl
|
|
|
10767
10767
|
key: "0"
|
|
10768
10768
|
} : void 0
|
|
10769
10769
|
]), 1032, ["type", "modelValue", "placeholder", "clearable", "disabled", "readonly", "style"]),
|
|
10770
|
-
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(
|
|
10770
|
+
a.isDesigner && n(s).description || a.showDescription && (n(m).props.formType === n(Ne).Examination || n(s).description) ? (g(), M("div", Xp, [
|
|
10771
10771
|
f($, {
|
|
10772
10772
|
class: "description-tip",
|
|
10773
10773
|
name: "tip"
|
|
10774
10774
|
}),
|
|
10775
|
-
K(" " + he(`${n(m).props.formType === n(
|
|
10775
|
+
K(" " + he(`${n(m).props.formType === n(Ne).Form ? "项目说明" : "答案解析"}:${n(s).description || "无"}`), 1)
|
|
10776
10776
|
])) : O("", !0)
|
|
10777
10777
|
]);
|
|
10778
10778
|
};
|
|
10779
10779
|
}
|
|
10780
10780
|
});
|
|
10781
|
-
const Kp = /* @__PURE__ */ ye(Gp, [["__scopeId", "data-v-
|
|
10781
|
+
const Kp = /* @__PURE__ */ ye(Gp, [["__scopeId", "data-v-a185b2ff"]]);
|
|
10782
10782
|
class Zp extends yt {
|
|
10783
10783
|
/**
|
|
10784
10784
|
* @description: 构造器
|
|
@@ -10832,7 +10832,7 @@ class Zp extends yt {
|
|
|
10832
10832
|
return [];
|
|
10833
10833
|
}
|
|
10834
10834
|
}
|
|
10835
|
-
const Jp = { component: Zp, renderer: Kp, propEditor: Wp }, Qp = { class: "
|
|
10835
|
+
const Jp = { component: Zp, renderer: Kp, propEditor: Wp }, Qp = { class: "wh-full" }, e4 = { key: 0 }, t4 = {
|
|
10836
10836
|
key: 0,
|
|
10837
10837
|
class: "pos-absolute left-0 top-0 wh-full bg-#aaaaaa opacity-10 z-99"
|
|
10838
10838
|
}, o4 = /* @__PURE__ */ ve({
|
|
@@ -10891,7 +10891,7 @@ const Jp = { component: Zp, renderer: Kp, propEditor: Wp }, Qp = { class: "compo
|
|
|
10891
10891
|
// 只读动态条件
|
|
10892
10892
|
readonly: (_) => _.readonlyConditionExpression || String(_.readonly === void 0 ? !1 : _.readonly)
|
|
10893
10893
|
}, E = (_, $) => {
|
|
10894
|
-
var
|
|
10894
|
+
var T;
|
|
10895
10895
|
let D = y[$](_.props);
|
|
10896
10896
|
if (!D)
|
|
10897
10897
|
return;
|
|
@@ -10904,8 +10904,8 @@ const Jp = { component: Zp, renderer: Kp, propEditor: Wp }, Qp = { class: "compo
|
|
|
10904
10904
|
});
|
|
10905
10905
|
const S = m(D);
|
|
10906
10906
|
if ($ === "show" && !S) {
|
|
10907
|
-
let
|
|
10908
|
-
_.isLayout && ((
|
|
10907
|
+
let A = [];
|
|
10908
|
+
_.isLayout && ((T = _.children) != null && T.length) ? A = _.children : A = [_], A.forEach((N) => {
|
|
10909
10909
|
d.value.datas[N.id] && (N.type === "grade" ? delete d.value.datas[N.id].score : delete d.value.datas[N.id]);
|
|
10910
10910
|
});
|
|
10911
10911
|
}
|
|
@@ -10916,60 +10916,61 @@ const Jp = { component: Zp, renderer: Kp, propEditor: Wp }, Qp = { class: "compo
|
|
|
10916
10916
|
return (_, $) => {
|
|
10917
10917
|
const D = L("el-checkbox"), S = L("el-form-item");
|
|
10918
10918
|
return g(), M("div", Qp, [
|
|
10919
|
-
(g(!0), M(me, null, Te(n(u), (
|
|
10919
|
+
(g(!0), M(me, null, Te(n(u), (T, A) => {
|
|
10920
10920
|
var N;
|
|
10921
|
-
return g(), M(me, { key:
|
|
10922
|
-
|
|
10923
|
-
(n(z) || E(
|
|
10921
|
+
return g(), M(me, { key: A }, [
|
|
10922
|
+
T.props.lineBreak && (n(z) || E(T, "show")) ? (g(), M("br", e4)) : O("", !0),
|
|
10923
|
+
(n(z) || E(T, "show")) && !n(v).length || (N = n(v)) != null && N.find((H) => H == null ? void 0 : H.includes(T.id)) ? (g(), M("div", {
|
|
10924
10924
|
key: 1,
|
|
10925
10925
|
class: Se([
|
|
10926
10926
|
"pos-relative p-1px box-border",
|
|
10927
|
-
`pl-${
|
|
10927
|
+
`pl-${T.props.paddingLeft || 10}px! w-${T.props.width * 100 / n(d).props.column}%`,
|
|
10928
|
+
`h-${T.isLayout && T.props.height ? T.props.height + T.props.heightUnit : "auto"}`,
|
|
10928
10929
|
{ "h-auto b-1-#98e9ce mb-10 px-20! box-border flex! flex-col": n(z) },
|
|
10929
|
-
{ "w-auto! inline-block": a.layoutMode === "horizontal" && !
|
|
10930
|
+
{ "w-auto! inline-block": a.layoutMode === "horizontal" && !T.isLayout }
|
|
10930
10931
|
])
|
|
10931
10932
|
}, [
|
|
10932
|
-
E(
|
|
10933
|
+
E(T, "readonly") ? (g(), M("div", t4)) : O("", !0),
|
|
10933
10934
|
n(z) ? (g(), F(D, {
|
|
10934
10935
|
key: 1,
|
|
10935
10936
|
class: "zhy select-item fw-bold self-end z-100",
|
|
10936
|
-
modelValue:
|
|
10937
|
-
"onUpdate:modelValue": (H) =>
|
|
10937
|
+
modelValue: T.selected,
|
|
10938
|
+
"onUpdate:modelValue": (H) => T.selected = H,
|
|
10938
10939
|
label: "选择",
|
|
10939
|
-
onChange: (H) => p(
|
|
10940
|
+
onChange: (H) => p(T)
|
|
10940
10941
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : O("", !0),
|
|
10941
|
-
|
|
10942
|
+
T.isLayout ? (g(), F(Io(l[T.type].renderer), {
|
|
10942
10943
|
key: 2,
|
|
10943
|
-
component: n(u)[
|
|
10944
|
-
componentID:
|
|
10944
|
+
component: n(u)[A],
|
|
10945
|
+
componentID: T.id,
|
|
10945
10946
|
showDescription: n(k),
|
|
10946
10947
|
currentShowIDArray: n(v)
|
|
10947
10948
|
}, null, 8, ["component", "componentID", "showDescription", "currentShowIDArray"])) : (g(), F(S, {
|
|
10948
10949
|
key: 3,
|
|
10949
10950
|
class: Se([
|
|
10950
10951
|
"sons-class-el-form-item__label:fw-normal sons-class-el-form-item__label:h-auto",
|
|
10951
|
-
{ "block sons-class-el-form-item__label:w-full sons-class-el-form-item__label:justify-start":
|
|
10952
|
+
{ "block sons-class-el-form-item__label:w-full sons-class-el-form-item__label:justify-start": T.props.labelNewLine },
|
|
10952
10953
|
{
|
|
10953
|
-
"flex! mr-
|
|
10954
|
+
"flex! items-center mr-10 sons-class-el-form-item__label:mb-0! sons-class-el-form-item__label:w-auto! sons-class-el-form-item__content:pl-0! sons-class-checkbox-component:mt--8px! sons-class-radio-component:pt-4px!": a.layoutMode === "horizontal"
|
|
10954
10955
|
}
|
|
10955
10956
|
]),
|
|
10956
|
-
prop:
|
|
10957
|
-
"label-width":
|
|
10958
|
-
rules:
|
|
10957
|
+
prop: T.id,
|
|
10958
|
+
"label-width": T.props.showLabel && n(d).props.labelPosition != "top" ? T.props.labelWidth : "auto",
|
|
10959
|
+
rules: T.rules
|
|
10959
10960
|
}, {
|
|
10960
10961
|
label: x(() => [
|
|
10961
10962
|
j("span", {
|
|
10962
|
-
class: Se(`line-height-normal c-${
|
|
10963
|
-
style: Yt({ "font-size":
|
|
10964
|
-
}, he(
|
|
10963
|
+
class: Se(`line-height-normal c-${T.props.color || "#000000"} fw-${T.props.isBold ? "bold" : "normal"}`),
|
|
10964
|
+
style: Yt({ "font-size": T.props.fontSize + "px" })
|
|
10965
|
+
}, he(T.props.showLabel ? T.props.label + ":" : ""), 7)
|
|
10965
10966
|
]),
|
|
10966
10967
|
default: x(() => [
|
|
10967
|
-
(g(), F(Io(l[
|
|
10968
|
-
componentID:
|
|
10969
|
-
disabled: E(
|
|
10968
|
+
(g(), F(Io(l[T.type].renderer), {
|
|
10969
|
+
componentID: T.id,
|
|
10970
|
+
disabled: E(T, "disabled"),
|
|
10970
10971
|
showDescription: n(k),
|
|
10971
|
-
componentProps:
|
|
10972
|
-
"onUpdate:componentProps": (H) =>
|
|
10972
|
+
componentProps: T.props,
|
|
10973
|
+
"onUpdate:componentProps": (H) => T.props = H,
|
|
10973
10974
|
datas: n(d).datas,
|
|
10974
10975
|
"onUpdate:datas": $[0] || ($[0] = (H) => n(d).datas = H)
|
|
10975
10976
|
}, null, 40, ["componentID", "disabled", "showDescription", "componentProps", "onUpdate:componentProps", "datas"]))
|
|
@@ -10983,7 +10984,7 @@ const Jp = { component: Zp, renderer: Kp, propEditor: Wp }, Qp = { class: "compo
|
|
|
10983
10984
|
};
|
|
10984
10985
|
}
|
|
10985
10986
|
});
|
|
10986
|
-
const ur = /* @__PURE__ */ ye(o4, [["__scopeId", "data-v-
|
|
10987
|
+
const ur = /* @__PURE__ */ ye(o4, [["__scopeId", "data-v-5f55fcb2"]]), n4 = { class: "answer-sheet-item w-full" }, r4 = {
|
|
10987
10988
|
key: 0,
|
|
10988
10989
|
class: "aline-left pl-10 my-15 b-1-#cccccc first:mt-5"
|
|
10989
10990
|
}, l4 = { class: "w-full fs-16 mt-4" }, a4 = /* @__PURE__ */ ve({
|
|
@@ -11043,7 +11044,7 @@ const ur = /* @__PURE__ */ ye(o4, [["__scopeId", "data-v-4d781515"]]), n4 = { cl
|
|
|
11043
11044
|
};
|
|
11044
11045
|
}
|
|
11045
11046
|
});
|
|
11046
|
-
const i4 = /* @__PURE__ */ ye(a4, [["__scopeId", "data-v-
|
|
11047
|
+
const i4 = /* @__PURE__ */ ye(a4, [["__scopeId", "data-v-25c1b364"]]), s4 = { class: "y-aline-start overflow-y-auto h-full" }, d4 = { class: "mb-10 ml-20 mr-0 fs-16 fw-bold c-#000000" }, c4 = { class: "flex-auto h-full overflow-y-auto px-10 box-border" }, u4 = /* @__PURE__ */ ve({
|
|
11047
11048
|
__name: "index",
|
|
11048
11049
|
props: {
|
|
11049
11050
|
/**
|
|
@@ -11123,7 +11124,7 @@ const i4 = /* @__PURE__ */ ye(a4, [["__scopeId", "data-v-845946fc"]]), s4 = { cl
|
|
|
11123
11124
|
};
|
|
11124
11125
|
}
|
|
11125
11126
|
});
|
|
11126
|
-
const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-
|
|
11127
|
+
const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-d3c85c04"]]), m4 = {
|
|
11127
11128
|
key: 0,
|
|
11128
11129
|
class: "aline-between px-36"
|
|
11129
11130
|
}, f4 = {
|
|
@@ -11234,7 +11235,7 @@ const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-ab04921d"]]), m4 = {
|
|
|
11234
11235
|
*/
|
|
11235
11236
|
showAnswerSheet: {
|
|
11236
11237
|
type: Boolean,
|
|
11237
|
-
default: !
|
|
11238
|
+
default: !0
|
|
11238
11239
|
},
|
|
11239
11240
|
/**
|
|
11240
11241
|
* 答题卡显示正确与否
|
|
@@ -11247,14 +11248,14 @@ const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-ab04921d"]]), m4 = {
|
|
|
11247
11248
|
emits: ["change", "select"],
|
|
11248
11249
|
setup(a, { expose: h, emit: l }) {
|
|
11249
11250
|
const { removeEmptyAttribute: m } = it(), d = { ..._n, ...Cn, ...kn, ...$n }, s = X(), u = X(!1), k = X(!1), z = X(!1), v = a, y = l, { formData: E, selectMode: w, realTimeDisplayAnswerMode: p, everyItemDisplayAnalysisSwitch: _, showAnswerSheet: $, showCorrectOrNot: D } = at(v), S = X(v.selectComponents);
|
|
11250
|
-
It("uploadOptions", v.uploadOptions), It("formData", E), It("realTimeDisplayAnswerMode", p), It("everyItemDisplayAnalysisSwitch", _), Xt(() =>
|
|
11251
|
-
const
|
|
11252
|
-
|
|
11253
|
-
},
|
|
11251
|
+
It("uploadOptions", v.uploadOptions), It("formData", E), It("realTimeDisplayAnswerMode", p), It("everyItemDisplayAnalysisSwitch", _), Xt(() => T()), de(E, () => T());
|
|
11252
|
+
const T = () => {
|
|
11253
|
+
A(E.value.components), v.selectMode && H(), E.value.props.formType === Ne.Examination && (le.value = te(E.value.components), oe());
|
|
11254
|
+
}, A = (re) => {
|
|
11254
11255
|
re != null && re.length && re.forEach((ae) => {
|
|
11255
11256
|
var Ee, He;
|
|
11256
11257
|
let ke = new d[ae.type].component();
|
|
11257
|
-
ke.isEdit && (ae.props.required || ae.props.pattern) && (ae.rules = ke.getRules(ae.props)), v.selectMode && ((Ee = S.value) != null && Ee.length) ? S.value.findIndex((lt) => lt.id === ae.id) !== -1 && (ae.selected = !0) : ae.selected = !1, ae.isLayout && ((He = ae == null ? void 0 : ae.children) != null && He.length) &&
|
|
11258
|
+
ke.isEdit && (ae.props.required || ae.props.pattern) && (ae.rules = ke.getRules(ae.props)), v.selectMode && ((Ee = S.value) != null && Ee.length) ? S.value.findIndex((lt) => lt.id === ae.id) !== -1 && (ae.selected = !0) : ae.selected = !1, ae.isLayout && ((He = ae == null ? void 0 : ae.children) != null && He.length) && A(ae.children);
|
|
11258
11259
|
});
|
|
11259
11260
|
}, N = (re) => {
|
|
11260
11261
|
var ae, ke, Ee, He;
|
|
@@ -11382,7 +11383,7 @@ const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-ab04921d"]]), m4 = {
|
|
|
11382
11383
|
);
|
|
11383
11384
|
const Ge = (re) => {
|
|
11384
11385
|
if (re) {
|
|
11385
|
-
if (E.value.props.formType ===
|
|
11386
|
+
if (E.value.props.formType === Ne.Examination && Q.value.length) {
|
|
11386
11387
|
const ae = le.value.findIndex((Ee) => Ee.includes(re)), ke = Math.ceil((ae + 1) / W.value);
|
|
11387
11388
|
ke !== Z.value && J(ke);
|
|
11388
11389
|
}
|
|
@@ -11439,7 +11440,10 @@ const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-ab04921d"]]), m4 = {
|
|
|
11439
11440
|
class: Se([
|
|
11440
11441
|
"wh-full",
|
|
11441
11442
|
{
|
|
11442
|
-
"dynamic-form-examination": n(E).props.formType === n(
|
|
11443
|
+
"dynamic-form-examination": n(E).props.formType === n(Ne).Examination
|
|
11444
|
+
},
|
|
11445
|
+
{
|
|
11446
|
+
"show-answer-sheet": n(E).props.formType === n(Ne).Examination && n($)
|
|
11443
11447
|
},
|
|
11444
11448
|
{
|
|
11445
11449
|
"sons-class-form-renderer:hc--70": n(Q).length
|
|
@@ -11510,7 +11514,7 @@ const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-ab04921d"]]), m4 = {
|
|
|
11510
11514
|
onCurrentChange: J
|
|
11511
11515
|
}, null, 8, ["current-page", "page-size", "total"])) : O("", !0)
|
|
11512
11516
|
]),
|
|
11513
|
-
n(E).props.formType === n(
|
|
11517
|
+
n(E).props.formType === n(Ne).Examination && n($) ? (g(), M("div", v4, [
|
|
11514
11518
|
f(p4, {
|
|
11515
11519
|
showCorrectOrNot: n(D),
|
|
11516
11520
|
formData: n(E),
|
|
@@ -11521,7 +11525,7 @@ const p4 = /* @__PURE__ */ ye(u4, [["__scopeId", "data-v-ab04921d"]]), m4 = {
|
|
|
11521
11525
|
};
|
|
11522
11526
|
}
|
|
11523
11527
|
});
|
|
11524
|
-
const go = /* @__PURE__ */ ye(x4, [["__scopeId", "data-v-
|
|
11528
|
+
const go = /* @__PURE__ */ ye(x4, [["__scopeId", "data-v-fd07114e"]]), w4 = { class: "form-list-wrap float-left h-full w-360 y-aline-start b-r-1 b-r-solid theme-bc-borderColor box-border p-10" }, _4 = { class: "flex-auto overflow-y-auto" }, k4 = ["onClick"], $4 = ["title"], C4 = { class: "float-right h-full wc--360" }, V4 = { class: "aline-between fw-bold" }, z4 = { class: "fs-20 mr-30 ml-20" }, D4 = { class: "c-#ff0000" }, E4 = { class: "right-wrap" }, S4 = /* @__PURE__ */ ve({
|
|
11525
11529
|
__name: "batchAddDialog",
|
|
11526
11530
|
props: /* @__PURE__ */ rr({
|
|
11527
11531
|
/**
|
|
@@ -11593,12 +11597,12 @@ const go = /* @__PURE__ */ ye(x4, [["__scopeId", "data-v-582de1f6"]]), w4 = { cl
|
|
|
11593
11597
|
components: [],
|
|
11594
11598
|
props: {}
|
|
11595
11599
|
}, z.value.getFormTemplate && (E.value = await z.value.getFormTemplate(oe)));
|
|
11596
|
-
}, S = X(/* @__PURE__ */ new Map()),
|
|
11600
|
+
}, S = X(/* @__PURE__ */ new Map()), T = _t(() => {
|
|
11597
11601
|
let oe = 0;
|
|
11598
11602
|
for (const [, te] of S.value)
|
|
11599
11603
|
oe += te.length;
|
|
11600
11604
|
return oe;
|
|
11601
|
-
}),
|
|
11605
|
+
}), A = (oe) => {
|
|
11602
11606
|
S.value.has(y.value) ? oe.length ? S.value.set(y.value, oe) : S.value.delete(y.value) : S.value.set(y.value, oe);
|
|
11603
11607
|
}, N = () => {
|
|
11604
11608
|
let oe = [];
|
|
@@ -11640,7 +11644,7 @@ const go = /* @__PURE__ */ ye(x4, [["__scopeId", "data-v-582de1f6"]]), w4 = { cl
|
|
|
11640
11644
|
j("div", null, [
|
|
11641
11645
|
j("span", z4, [
|
|
11642
11646
|
te[4] || (te[4] = K(" 已选 ", -1)),
|
|
11643
|
-
j("span", D4, he(` ${n(
|
|
11647
|
+
j("span", D4, he(` ${n(T)} `), 1),
|
|
11644
11648
|
j("span", null, he(` 个${n(s)}`), 1)
|
|
11645
11649
|
]),
|
|
11646
11650
|
f(dt, {
|
|
@@ -11799,7 +11803,7 @@ const go = /* @__PURE__ */ ye(x4, [["__scopeId", "data-v-582de1f6"]]), w4 = { cl
|
|
|
11799
11803
|
formData: n(E),
|
|
11800
11804
|
selectMode: "",
|
|
11801
11805
|
selectComponents: n(S).get(n(y)),
|
|
11802
|
-
onSelect:
|
|
11806
|
+
onSelect: A
|
|
11803
11807
|
}, null, 8, ["formData", "selectComponents"])) : O("", !0)
|
|
11804
11808
|
])
|
|
11805
11809
|
];
|
|
@@ -11839,7 +11843,7 @@ const go = /* @__PURE__ */ ye(x4, [["__scopeId", "data-v-582de1f6"]]), w4 = { cl
|
|
|
11839
11843
|
};
|
|
11840
11844
|
}
|
|
11841
11845
|
});
|
|
11842
|
-
const L4 = /* @__PURE__ */ ye(S4, [["__scopeId", "data-v-
|
|
11846
|
+
const L4 = /* @__PURE__ */ ye(S4, [["__scopeId", "data-v-96d7f1c6"]]), M4 = {
|
|
11843
11847
|
key: 1,
|
|
11844
11848
|
class: "c-#a8abb2"
|
|
11845
11849
|
}, T4 = ["innerHTML"], A4 = /* @__PURE__ */ ve({
|
|
@@ -11888,23 +11892,23 @@ const L4 = /* @__PURE__ */ ye(S4, [["__scopeId", "data-v-d0f024d8"]]), M4 = {
|
|
|
11888
11892
|
k.value = [], z.value = {}, v.value = {}, E(m.value.components), u.value = !0;
|
|
11889
11893
|
}, E = (D) => {
|
|
11890
11894
|
D.forEach((S) => {
|
|
11891
|
-
var
|
|
11895
|
+
var T;
|
|
11892
11896
|
if (d.id !== S.id) {
|
|
11893
|
-
if (S.isLayout && ((
|
|
11897
|
+
if (S.isLayout && ((T = S.children) != null && T.length)) {
|
|
11894
11898
|
E(S.children);
|
|
11895
11899
|
return;
|
|
11896
11900
|
}
|
|
11897
11901
|
S.isEdit && (k.value.push({ label: S.props.label, id: S.id }), z.value[S.id] = w(S.excludeFilterConditions), v.value[S.id] = S.filterConditionProps);
|
|
11898
11902
|
}
|
|
11899
11903
|
});
|
|
11900
|
-
}, w = (D) => Object.keys(vn).filter((
|
|
11904
|
+
}, w = (D) => Object.keys(vn).filter((T) => !(D != null && D.includes(T))), p = h, _ = () => {
|
|
11901
11905
|
const D = s.value.getFilterData();
|
|
11902
11906
|
D.message || (u.value = !1, p("result", D));
|
|
11903
11907
|
}, $ = () => {
|
|
11904
11908
|
p("clear");
|
|
11905
11909
|
};
|
|
11906
11910
|
return (D, S) => {
|
|
11907
|
-
const
|
|
11911
|
+
const T = L("el-button"), A = L("el-dialog");
|
|
11908
11912
|
return g(), M(me, null, [
|
|
11909
11913
|
j("div", {
|
|
11910
11914
|
class: "condition-input pos-relative w-full min-h-36px max-h-90px line-height-32px px-5 box-border b-1 b-solid theme-bc-borderColor overflow-auto cursor-pointer",
|
|
@@ -11920,7 +11924,7 @@ const L4 = /* @__PURE__ */ ye(S4, [["__scopeId", "data-v-d0f024d8"]]), M4 = {
|
|
|
11920
11924
|
innerHTML: a.content
|
|
11921
11925
|
}, null, 8, T4)) : (g(), M("span", M4, "单击设置条件"))
|
|
11922
11926
|
]),
|
|
11923
|
-
f(
|
|
11927
|
+
f(A, {
|
|
11924
11928
|
class: "zhy filter-dialog",
|
|
11925
11929
|
modelValue: n(u),
|
|
11926
11930
|
"onUpdate:modelValue": S[1] || (S[1] = (N) => Fe(u) ? u.value = N : null),
|
|
@@ -11928,7 +11932,7 @@ const L4 = /* @__PURE__ */ ye(S4, [["__scopeId", "data-v-d0f024d8"]]), M4 = {
|
|
|
11928
11932
|
title: a.title
|
|
11929
11933
|
}, {
|
|
11930
11934
|
footer: x(() => [
|
|
11931
|
-
f(
|
|
11935
|
+
f(T, {
|
|
11932
11936
|
class: "zhy",
|
|
11933
11937
|
onClick: S[0] || (S[0] = (N) => u.value = !1)
|
|
11934
11938
|
}, {
|
|
@@ -11937,7 +11941,7 @@ const L4 = /* @__PURE__ */ ye(S4, [["__scopeId", "data-v-d0f024d8"]]), M4 = {
|
|
|
11937
11941
|
])]),
|
|
11938
11942
|
_: 1
|
|
11939
11943
|
}),
|
|
11940
|
-
f(
|
|
11944
|
+
f(T, {
|
|
11941
11945
|
class: "zhy",
|
|
11942
11946
|
type: "primary",
|
|
11943
11947
|
onClick: _
|
|
@@ -11966,7 +11970,7 @@ const L4 = /* @__PURE__ */ ye(S4, [["__scopeId", "data-v-d0f024d8"]]), M4 = {
|
|
|
11966
11970
|
};
|
|
11967
11971
|
}
|
|
11968
11972
|
});
|
|
11969
|
-
const pn = /* @__PURE__ */ ye(A4, [["__scopeId", "data-v-
|
|
11973
|
+
const pn = /* @__PURE__ */ ye(A4, [["__scopeId", "data-v-15b226fc"]]), I4 = /* @__PURE__ */ ve({
|
|
11970
11974
|
__name: "componentAdvancedPropsEditor",
|
|
11971
11975
|
setup(a) {
|
|
11972
11976
|
let l = we("formDesignerData").selectComponent;
|
|
@@ -12068,7 +12072,7 @@ const pn = /* @__PURE__ */ ye(A4, [["__scopeId", "data-v-98cf9227"]]), I4 = /* @
|
|
|
12068
12072
|
};
|
|
12069
12073
|
}
|
|
12070
12074
|
});
|
|
12071
|
-
const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-
|
|
12075
|
+
const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-77694b72"]]), F4 = /* @__PURE__ */ ve({
|
|
12072
12076
|
__name: "componentBasePropsEditor",
|
|
12073
12077
|
props: {
|
|
12074
12078
|
/**
|
|
@@ -12111,7 +12115,7 @@ const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-f2a0aa71"]]), F4 = /* @
|
|
|
12111
12115
|
_.value.includes("temp-") || (s.itemID = _.value), s.id = _.value, s.itemSourceType = _.itemSourceType;
|
|
12112
12116
|
};
|
|
12113
12117
|
return (_, $) => {
|
|
12114
|
-
const D = L("el-switch"), S = L("el-form-item"),
|
|
12118
|
+
const D = L("el-switch"), S = L("el-form-item"), T = L("el-input-number"), A = L("el-color-picker"), N = L("el-slider"), H = L("el-input"), Z = L("el-form");
|
|
12115
12119
|
return g(), F(Z, {
|
|
12116
12120
|
"label-width": "80px",
|
|
12117
12121
|
"label-suffix": ":",
|
|
@@ -12153,7 +12157,7 @@ const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-f2a0aa71"]]), F4 = /* @
|
|
|
12153
12157
|
label: n(s).type === "label" ? "字体大小" : n(d) === "1" ? "标题字号" : "题目字号"
|
|
12154
12158
|
}, {
|
|
12155
12159
|
default: x(() => [
|
|
12156
|
-
f(
|
|
12160
|
+
f(T, {
|
|
12157
12161
|
modelValue: n(s).props.fontSize,
|
|
12158
12162
|
"onUpdate:modelValue": $[2] || ($[2] = (W) => n(s).props.fontSize = W),
|
|
12159
12163
|
min: 12,
|
|
@@ -12165,7 +12169,7 @@ const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-f2a0aa71"]]), F4 = /* @
|
|
|
12165
12169
|
n(d) === "1" && n(s).props.showLabel ? (g(), M(me, { key: 2 }, [
|
|
12166
12170
|
f(S, { label: "标题宽度" }, {
|
|
12167
12171
|
default: x(() => [
|
|
12168
|
-
f(
|
|
12172
|
+
f(T, {
|
|
12169
12173
|
modelValue: n(s).props.labelWidth,
|
|
12170
12174
|
"onUpdate:modelValue": $[3] || ($[3] = (W) => n(s).props.labelWidth = W),
|
|
12171
12175
|
min: 0
|
|
@@ -12199,7 +12203,7 @@ const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-f2a0aa71"]]), F4 = /* @
|
|
|
12199
12203
|
label: n(s).type === "label" ? "字体颜色" : n(d) === "1" ? "标题颜色" : "题目颜色"
|
|
12200
12204
|
}, {
|
|
12201
12205
|
default: x(() => [
|
|
12202
|
-
f(
|
|
12206
|
+
f(A, {
|
|
12203
12207
|
modelValue: n(s).props.color,
|
|
12204
12208
|
"onUpdate:modelValue": $[6] || ($[6] = (W) => n(s).props.color = W)
|
|
12205
12209
|
}, null, 8, ["modelValue"])
|
|
@@ -12222,7 +12226,7 @@ const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-f2a0aa71"]]), F4 = /* @
|
|
|
12222
12226
|
}),
|
|
12223
12227
|
f(S, { label: "左缩进" }, {
|
|
12224
12228
|
default: x(() => [
|
|
12225
|
-
f(
|
|
12229
|
+
f(T, {
|
|
12226
12230
|
modelValue: n(s).props.paddingLeft,
|
|
12227
12231
|
"onUpdate:modelValue": $[8] || ($[8] = (W) => n(s).props.paddingLeft = W),
|
|
12228
12232
|
min: 0,
|
|
@@ -12340,7 +12344,7 @@ const j4 = /* @__PURE__ */ ye(I4, [["__scopeId", "data-v-f2a0aa71"]]), F4 = /* @
|
|
|
12340
12344
|
};
|
|
12341
12345
|
}
|
|
12342
12346
|
});
|
|
12343
|
-
const U4 = /* @__PURE__ */ ye(F4, [["__scopeId", "data-v-
|
|
12347
|
+
const U4 = /* @__PURE__ */ ye(F4, [["__scopeId", "data-v-3dfed368"]]), O4 = /* @__PURE__ */ ve({
|
|
12344
12348
|
__name: "formPropsEditor",
|
|
12345
12349
|
setup(a, { expose: h }) {
|
|
12346
12350
|
const l = we("formData"), m = X(), d = () => {
|
|
@@ -12524,7 +12528,7 @@ const U4 = /* @__PURE__ */ ye(F4, [["__scopeId", "data-v-3cb7430f"]]), O4 = /* @
|
|
|
12524
12528
|
};
|
|
12525
12529
|
}
|
|
12526
12530
|
});
|
|
12527
|
-
const B4 = /* @__PURE__ */ ye(O4, [["__scopeId", "data-v-
|
|
12531
|
+
const B4 = /* @__PURE__ */ ye(O4, [["__scopeId", "data-v-dcef9a8d"]]), N4 = { class: "toolbar bg-#ffffff" }, R4 = { class: "operates" }, P4 = /* @__PURE__ */ ve({
|
|
12528
12532
|
__name: "toolbar",
|
|
12529
12533
|
props: {
|
|
12530
12534
|
operates: {
|
|
@@ -12564,17 +12568,17 @@ const B4 = /* @__PURE__ */ ye(O4, [["__scopeId", "data-v-042d1f39"]]), N4 = { cl
|
|
|
12564
12568
|
w.value = !w.value, m("toggleDescription", w.value);
|
|
12565
12569
|
};
|
|
12566
12570
|
return (_, $) => {
|
|
12567
|
-
var
|
|
12568
|
-
const D = Xe, S = L("el-link"),
|
|
12571
|
+
var A, N;
|
|
12572
|
+
const D = Xe, S = L("el-link"), T = L("el-popconfirm");
|
|
12569
12573
|
return g(), M("div", N4, [
|
|
12570
12574
|
$[8] || ($[8] = j("div", { class: "devices" }, null, -1)),
|
|
12571
12575
|
j("div", R4, [
|
|
12572
|
-
a.operates.includes("clearComponents") ? (g(), F(
|
|
12576
|
+
a.operates.includes("clearComponents") ? (g(), F(T, {
|
|
12573
12577
|
key: 0,
|
|
12574
12578
|
confirmButtonText: "是",
|
|
12575
12579
|
cancelButtonText: "否",
|
|
12576
12580
|
title: "确定要清空所有组件吗?",
|
|
12577
|
-
width: ((
|
|
12581
|
+
width: ((A = n(l).components) == null ? void 0 : A.length) == 0 ? 0 : 160,
|
|
12578
12582
|
onConfirm: d
|
|
12579
12583
|
}, {
|
|
12580
12584
|
reference: x(() => {
|
|
@@ -12723,7 +12727,7 @@ const B4 = /* @__PURE__ */ ye(O4, [["__scopeId", "data-v-042d1f39"]]), N4 = { cl
|
|
|
12723
12727
|
};
|
|
12724
12728
|
}
|
|
12725
12729
|
});
|
|
12726
|
-
const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-
|
|
12730
|
+
const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-95537171"]]), H4 = { class: "zhy-form-designer theme-bgc-backgroundColor relative wh-full min-h-800px min-w-600px bgc-#ffffff" }, q4 = { class: "absolute top-0 left-0 h-full overflow-y-auto w-410 pt-5 pl-10 box-border shw-5-3-12-3-#000000-0.2" }, W4 = ["onClick", "title"], Y4 = { class: "t-ofse-2 line-height-0.5 pl-3" }, X4 = {
|
|
12727
12731
|
key: 0,
|
|
12728
12732
|
class: "pos-absolute bottom-0.4 lc-50-30 w-60 h-60 border-rd-md bgc-#ffffff"
|
|
12729
12733
|
}, G4 = {
|
|
@@ -12835,7 +12839,7 @@ const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-57778df7"]]), H4 = { cl
|
|
|
12835
12839
|
selectComponent: void 0,
|
|
12836
12840
|
propTab: "form",
|
|
12837
12841
|
device: "pc"
|
|
12838
|
-
}), $ = X(!0), D = X([]), S = _t(() =>
|
|
12842
|
+
}), $ = X(!0), D = X([]), S = _t(() => T.value.map((G) => G.expand && G.name)), T = X([]), A = X(!1), N = {
|
|
12839
12843
|
labelPosition: "top",
|
|
12840
12844
|
labelWidth: 90,
|
|
12841
12845
|
size: "small",
|
|
@@ -12908,21 +12912,21 @@ const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-57778df7"]]), H4 = { cl
|
|
|
12908
12912
|
}), It("uploadOptions", l.uploadOptions), It("formDesignerData", _), It("formData", y), It("defaultSourceType", l.defaultSourceType), It("realTimeDisplayAnswerMode", !1), It("everyItemDisplayAnalysisSwitch", !1);
|
|
12909
12913
|
const le = () => {
|
|
12910
12914
|
var G;
|
|
12911
|
-
_.selectComponent = void 0, (G = y.value).allowCreateDictionary ?? (G.allowCreateDictionary = !0), y.value.datas || (y.value.datas = {}), y.value.components ? Q(y.value.components) : y.value.components = [], !y.value.props || !Object.keys(y.value.props).length ? y.value.props = N : (y.value.props = Object.assign(N, y.value.props), y.value.props.formType === "2" && (y.value.props.labelPosition = "top")),
|
|
12915
|
+
_.selectComponent = void 0, (G = y.value).allowCreateDictionary ?? (G.allowCreateDictionary = !0), y.value.datas || (y.value.datas = {}), y.value.components ? Q(y.value.components) : y.value.components = [], !y.value.props || !Object.keys(y.value.props).length ? y.value.props = N : (y.value.props = Object.assign(N, y.value.props), y.value.props.formType === "2" && (y.value.props.labelPosition = "top")), A.value = !y.value.props.formName;
|
|
12912
12916
|
}, Q = (G) => {
|
|
12913
12917
|
G.forEach(async (R) => {
|
|
12914
12918
|
var ie;
|
|
12915
12919
|
let ge = new v[R.type].component();
|
|
12916
|
-
R.name = ge.name, R.isEdit = ge.isEdit, R.isInput = ge.isInput, R.props = Object.assign(ge.props, R.props), R.isEdit && (R.rules = ge.getRules(R.props), R.filterConditionProps = await ge.getFilterConditionProps(R.props), R.excludeFilterConditions = ge.getExcludeFilterConditions()),
|
|
12920
|
+
R.name = ge.name, R.isEdit = ge.isEdit, R.isInput = ge.isInput, R.props = Object.assign(ge.props, R.props), R.isEdit && (R.rules = ge.getRules(R.props), R.filterConditionProps = await ge.getFilterConditionProps(R.props), R.excludeFilterConditions = ge.getExcludeFilterConditions()), T.value.forEach((Ae) => {
|
|
12917
12921
|
const nt = Ae.types.findIndex((qe) => qe != null && qe.id.includes("temp") ? qe.type === R.type : (qe == null ? void 0 : qe.id) === R.id);
|
|
12918
12922
|
nt !== -1 && (R.allowRepeat = Ae.types[nt].allowRepeat, R.allowModify = Ae.types[nt].allowModify, R.fixedItemID = Ae.types[nt].fixedItemID, te(R, Ae.types[nt], !0), Me(nt, Ae));
|
|
12919
12923
|
}), R.isLayout && ((ie = R == null ? void 0 : R.children) != null && ie.length) && Q(R.children);
|
|
12920
12924
|
});
|
|
12921
12925
|
}, oe = () => {
|
|
12922
12926
|
var G;
|
|
12923
|
-
if (
|
|
12927
|
+
if (T.value = [], !((G = E.value) != null && G.length)) {
|
|
12924
12928
|
H.forEach((R) => {
|
|
12925
|
-
|
|
12929
|
+
T.value.push(J(R));
|
|
12926
12930
|
});
|
|
12927
12931
|
return;
|
|
12928
12932
|
}
|
|
@@ -12937,15 +12941,15 @@ const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-57778df7"]]), H4 = { cl
|
|
|
12937
12941
|
bt ? qe.push(bt) : qe.push(Ye);
|
|
12938
12942
|
}), Ae.components = qe;
|
|
12939
12943
|
}
|
|
12940
|
-
|
|
12944
|
+
T.value.push(J(Ae));
|
|
12941
12945
|
});
|
|
12942
12946
|
const R = H.map((ie) => ie.name);
|
|
12943
12947
|
E.value.filter((ie) => !R.includes(ie.name)).forEach((ie) => {
|
|
12944
|
-
|
|
12948
|
+
T.value.push(J(ie));
|
|
12945
12949
|
});
|
|
12946
12950
|
} else
|
|
12947
12951
|
E.value.forEach((R) => {
|
|
12948
|
-
|
|
12952
|
+
T.value.push(J(R));
|
|
12949
12953
|
});
|
|
12950
12954
|
}, te = (G, R, ge) => {
|
|
12951
12955
|
const ie = {
|
|
@@ -12987,7 +12991,7 @@ const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-57778df7"]]), H4 = { cl
|
|
|
12987
12991
|
}, Me = (G, R) => {
|
|
12988
12992
|
R.types[G].allowRepeat || R.types.splice(G, 1);
|
|
12989
12993
|
}, Ge = (G) => {
|
|
12990
|
-
G.allowRepeat ||
|
|
12994
|
+
G.allowRepeat || T.value.forEach((R) => {
|
|
12991
12995
|
let ge = [];
|
|
12992
12996
|
R.dynamicTypes.forEach((ie, Ae) => {
|
|
12993
12997
|
R.types.findIndex((qe) => ie != null && ie.id.includes("temp") ? ie.type === qe.type : (ie == null ? void 0 : ie.id) === qe.id) !== -1 && ge.push(s(R.dynamicTypes[Ae])), (ie != null && ie.id.includes("temp") && ie.type === G.type || (ie == null ? void 0 : ie.id) === G.id) && ge.push(s(R.dynamicTypes[Ae]));
|
|
@@ -13092,7 +13096,7 @@ const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-57778df7"]]), H4 = { cl
|
|
|
13092
13096
|
"onUpdate:modelValue": R[0] || (R[0] = (Oe) => Fe(S) ? S.value = Oe : null)
|
|
13093
13097
|
}, {
|
|
13094
13098
|
default: x(() => [
|
|
13095
|
-
(g(!0), M(me, null, Te(n(
|
|
13099
|
+
(g(!0), M(me, null, Te(n(T), (Oe, En) => (g(), F(ie, {
|
|
13096
13100
|
key: En,
|
|
13097
13101
|
title: Oe.name,
|
|
13098
13102
|
name: Oe.name
|
|
@@ -13150,18 +13154,18 @@ const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-57778df7"]]), H4 = { cl
|
|
|
13150
13154
|
{ "dynamic-form-device-mobile": n(_).device === "mobile" }
|
|
13151
13155
|
])
|
|
13152
13156
|
}, [
|
|
13153
|
-
n(
|
|
13157
|
+
n(A) ? (g(), F(nt, {
|
|
13154
13158
|
key: 0,
|
|
13155
13159
|
class: "w-80% mt-30 mb-10 mx-10%",
|
|
13156
13160
|
modelValue: n(y).props.formName,
|
|
13157
13161
|
"onUpdate:modelValue": R[1] || (R[1] = (Oe) => n(y).props.formName = Oe),
|
|
13158
13162
|
placeholder: "单击输入标题",
|
|
13159
|
-
onBlur: R[2] || (R[2] = (Oe) =>
|
|
13160
|
-
onKeydown: R[3] || (R[3] = hd((Oe) =>
|
|
13163
|
+
onBlur: R[2] || (R[2] = (Oe) => A.value = !1),
|
|
13164
|
+
onKeydown: R[3] || (R[3] = hd((Oe) => A.value = !1, ["enter"]))
|
|
13161
13165
|
}, null, 8, ["modelValue"])) : (g(), M("h2", {
|
|
13162
13166
|
key: 1,
|
|
13163
13167
|
class: "text-align-center cursor-pointer",
|
|
13164
|
-
onClick: R[4] || (R[4] = (Oe) =>
|
|
13168
|
+
onClick: R[4] || (R[4] = (Oe) => A.value = !0)
|
|
13165
13169
|
}, he(n(y).props.formName), 1)),
|
|
13166
13170
|
(No = n(y).components) != null && No.length ? O("", !0) : (g(), M("div", G4, "从左侧拖拽组件")),
|
|
13167
13171
|
f(qe, {
|
|
@@ -13340,7 +13344,7 @@ const ii = /* @__PURE__ */ ye(P4, [["__scopeId", "data-v-57778df7"]]), H4 = { cl
|
|
|
13340
13344
|
};
|
|
13341
13345
|
}
|
|
13342
13346
|
});
|
|
13343
|
-
const fn = /* @__PURE__ */ ye(e6, [["__scopeId", "data-v-
|
|
13347
|
+
const fn = /* @__PURE__ */ ye(e6, [["__scopeId", "data-v-614bc124"]]);
|
|
13344
13348
|
fn.install = function(a) {
|
|
13345
13349
|
a.component(fn.name, fn);
|
|
13346
13350
|
};
|
|
@@ -13373,7 +13377,7 @@ const t6 = /* @__PURE__ */ ve({
|
|
|
13373
13377
|
}, null, 512));
|
|
13374
13378
|
}
|
|
13375
13379
|
});
|
|
13376
|
-
const o6 = /* @__PURE__ */ ye(t6, [["__scopeId", "data-v-
|
|
13380
|
+
const o6 = /* @__PURE__ */ ye(t6, [["__scopeId", "data-v-6dddc3b3"]]);
|
|
13377
13381
|
const n6 = /* @__PURE__ */ ve({
|
|
13378
13382
|
__name: "xlsxPreview",
|
|
13379
13383
|
props: {
|
|
@@ -13397,7 +13401,7 @@ const n6 = /* @__PURE__ */ ve({
|
|
|
13397
13401
|
}, null, 512));
|
|
13398
13402
|
}
|
|
13399
13403
|
});
|
|
13400
|
-
const r6 = /* @__PURE__ */ ye(n6, [["__scopeId", "data-v-
|
|
13404
|
+
const r6 = /* @__PURE__ */ ye(n6, [["__scopeId", "data-v-3d94fa14"]]);
|
|
13401
13405
|
let hn, xn = 0;
|
|
13402
13406
|
const l6 = (a) => {
|
|
13403
13407
|
xn === 0 && (hn = ud.service({
|
|
@@ -13485,7 +13489,7 @@ const i6 = {
|
|
|
13485
13489
|
}, null, 512));
|
|
13486
13490
|
}
|
|
13487
13491
|
});
|
|
13488
|
-
const d6 = /* @__PURE__ */ ye(s6, [["__scopeId", "data-v-
|
|
13492
|
+
const d6 = /* @__PURE__ */ ye(s6, [["__scopeId", "data-v-eb417461"]]);
|
|
13489
13493
|
const c6 = {
|
|
13490
13494
|
key: 0,
|
|
13491
13495
|
class: "h-full w-300 absolute top-0 left-0 shw-5-3-12-3-#000000-0.2"
|
|
@@ -13624,7 +13628,7 @@ const c6 = {
|
|
|
13624
13628
|
};
|
|
13625
13629
|
}
|
|
13626
13630
|
});
|
|
13627
|
-
const gn = /* @__PURE__ */ ye($6, [["__scopeId", "data-v-
|
|
13631
|
+
const gn = /* @__PURE__ */ ye($6, [["__scopeId", "data-v-f58643e2"]]);
|
|
13628
13632
|
gn.install = function(a) {
|
|
13629
13633
|
a.component(gn.name, gn);
|
|
13630
13634
|
};
|
|
@@ -13798,7 +13802,7 @@ const V6 = {
|
|
|
13798
13802
|
])) : O("", !0);
|
|
13799
13803
|
}
|
|
13800
13804
|
});
|
|
13801
|
-
const bn = /* @__PURE__ */ ye(D6, [["__scopeId", "data-v-
|
|
13805
|
+
const bn = /* @__PURE__ */ ye(D6, [["__scopeId", "data-v-f57e77a3"]]);
|
|
13802
13806
|
bn.install = function(a) {
|
|
13803
13807
|
a.component(bn.name, bn);
|
|
13804
13808
|
};
|