zhytech-ui 1.0.17 → 1.0.18

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.
@@ -1,7 +1,7 @@
1
1
  var Tn = Object.defineProperty;
2
2
  var On = (t, o, e) => o in t ? Tn(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e;
3
3
  var Ie = (t, o, e) => (On(t, typeof o != "symbol" ? o + "" : o, e), e);
4
- import { defineComponent as Z, resolveComponent as V, openBlock as h, createBlock as z, withCtx as _, createElementBlock as E, createCommentVNode as L, createElementVNode as S, useCssVars as Mo, unref as i, toRefs as Se, watch as K, computed as je, Fragment as Q, createVNode as p, renderList as ge, ref as N, onMounted as ln, TransitionGroup as Pn, h as Uo, nextTick as ot, inject as te, withModifiers as Gt, normalizeClass as we, normalizeStyle as dt, resolveDynamicComponent as It, toDisplayString as ee, isRef as fe, createTextVNode as G, getCurrentInstance as Fn, renderSlot as Lt, provide as Qe, mergeModels as Bo, useModel as Un, reactive as Bn, withKeys as Nn } from "vue";
4
+ import { defineComponent as Z, resolveComponent as V, openBlock as f, createBlock as z, withCtx as _, createElementBlock as E, createCommentVNode as L, createElementVNode as S, useCssVars as Mo, unref as i, toRefs as Se, watch as K, computed as je, Fragment as Q, createVNode as p, renderList as ge, ref as N, onMounted as ln, TransitionGroup as Pn, h as Uo, nextTick as tt, inject as te, withModifiers as Gt, normalizeClass as we, normalizeStyle as rt, resolveDynamicComponent as It, toDisplayString as ee, isRef as fe, createTextVNode as G, getCurrentInstance as Fn, renderSlot as Lt, provide as ft, mergeModels as Bo, useModel as Un, reactive as Bn, withKeys as Nn } from "vue";
5
5
  import { ElMessage as Hn } from "element-plus";
6
6
  const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
7
  __proto__: null,
@@ -1006,13 +1006,13 @@ const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1006
1006
  setup(t) {
1007
1007
  return (o, e) => {
1008
1008
  const n = V("el-icon");
1009
- return h(), z(n, {
1009
+ return f(), z(n, {
1010
1010
  size: t.size,
1011
1011
  color: t.color,
1012
1012
  class: "icon-item"
1013
1013
  }, {
1014
1014
  default: _(() => [
1015
- t.name == "component" ? (h(), E("svg", Rn, jn)) : t.name == "pc" ? (h(), E("svg", Gn, Xn)) : t.name == "pad" ? (h(), E("svg", Yn, Zn)) : t.name == "mobile" ? (h(), E("svg", Qn, n3)) : t.name == "input" ? (h(), E("svg", l3, a3)) : t.name == "textarea" ? (h(), E("svg", r3, c3)) : t.name == "inputnumber" ? (h(), E("svg", p3, f3)) : t.name == "radio" ? (h(), E("svg", h3, _3)) : t.name == "checkbox" ? (h(), E("svg", b3, w3)) : t.name == "select" ? (h(), E("svg", C3, V3)) : t.name == "rate" ? (h(), E("svg", E3, M3)) : t.name == "time" ? (h(), E("svg", z3, L3)) : t.name == "date" ? (h(), E("svg", A3, P3)) : t.name == "color" ? (h(), E("svg", F3, N3)) : t.name == "switch" ? (h(), E("svg", H3, j3)) : t.name == "slider" ? (h(), E("svg", G3, X3)) : t.name == "label" ? (h(), E("svg", Y3, J3)) : t.name == "html" ? (h(), E("svg", Z3, el)) : t.name == "button" ? (h(), E("svg", tl, il)) : t.name == "link" ? (h(), E("svg", sl, dl)) : t.name == "divider" ? (h(), E("svg", ul, pl)) : t.name == "image" ? (h(), E("svg", ml, vl)) : t.name == "images" ? (h(), E("svg", gl, wl)) : t.name == "upload" ? (h(), E("svg", Cl, Dl)) : t.name == "uploadImage" ? (h(), E("svg", Vl, Sl)) : t.name == "region" ? (h(), E("svg", kl, zl)) : t.name == "cascader" ? (h(), E("svg", $l, Ll)) : t.name == "editor" ? (h(), E("svg", Al, Pl)) : t.name == "table" ? (h(), E("svg", Fl, Bl)) : t.name == "delete" ? (h(), E("svg", Nl, Gl)) : t.name == "copy" ? (h(), E("svg", Wl, Yl)) : t.name == "v-move" ? (h(), E("svg", Kl, Zl)) : t.name == "move" ? (h(), E("svg", Ql, t1)) : t.name == "clear" ? (h(), E("svg", o1, l1)) : t.name == "preview" ? (h(), E("svg", i1, r1)) : t.name == "json" ? (h(), E("svg", d1, c1)) : t.name == "plus" ? (h(), E("svg", p1, f1)) : t.name == "add" ? (h(), E("svg", h1, g1)) : t.name == "forbid" ? (h(), E("svg", _1, y1)) : t.name == "tab" ? (h(), E("svg", w1, D1)) : t.name == "grade" ? (h(), E("svg", V1, S1)) : t.name == "employee" ? (h(), E("svg", k1, z1)) : t.name == "previewData" ? (h(), E("svg", $1, A1)) : t.name == "validate" ? (h(), E("svg", T1, P1)) : t.name == "reset" ? (h(), E("svg", F1, B1)) : t.name == "save" ? (h(), E("svg", N1, R1)) : t.name == "post" ? (h(), E("svg", q1, G1)) : t.name == "previewImage" ? (h(), E("svg", W1, Y1)) : t.name == "groupLayout" ? (h(), E("svg", K1, Z1)) : t.name == "description" ? (h(), E("svg", Q1, ti)) : t.name == "tip" ? (h(), E("svg", oi, li)) : t.name == "batchAdd" ? (h(), E("svg", ii, ri)) : t.name == "search" ? (h(), E("svg", di, pi)) : t.name == "form" ? (h(), E("svg", mi, gi)) : t.name == "examination" ? (h(), E("svg", _i, wi)) : L("", !0)
1015
+ t.name == "component" ? (f(), E("svg", Rn, jn)) : t.name == "pc" ? (f(), E("svg", Gn, Xn)) : t.name == "pad" ? (f(), E("svg", Yn, Zn)) : t.name == "mobile" ? (f(), E("svg", Qn, n3)) : t.name == "input" ? (f(), E("svg", l3, a3)) : t.name == "textarea" ? (f(), E("svg", r3, c3)) : t.name == "inputnumber" ? (f(), E("svg", p3, f3)) : t.name == "radio" ? (f(), E("svg", h3, _3)) : t.name == "checkbox" ? (f(), E("svg", b3, w3)) : t.name == "select" ? (f(), E("svg", C3, V3)) : t.name == "rate" ? (f(), E("svg", E3, M3)) : t.name == "time" ? (f(), E("svg", z3, L3)) : t.name == "date" ? (f(), E("svg", A3, P3)) : t.name == "color" ? (f(), E("svg", F3, N3)) : t.name == "switch" ? (f(), E("svg", H3, j3)) : t.name == "slider" ? (f(), E("svg", G3, X3)) : t.name == "label" ? (f(), E("svg", Y3, J3)) : t.name == "html" ? (f(), E("svg", Z3, el)) : t.name == "button" ? (f(), E("svg", tl, il)) : t.name == "link" ? (f(), E("svg", sl, dl)) : t.name == "divider" ? (f(), E("svg", ul, pl)) : t.name == "image" ? (f(), E("svg", ml, vl)) : t.name == "images" ? (f(), E("svg", gl, wl)) : t.name == "upload" ? (f(), E("svg", Cl, Dl)) : t.name == "uploadImage" ? (f(), E("svg", Vl, Sl)) : t.name == "region" ? (f(), E("svg", kl, zl)) : t.name == "cascader" ? (f(), E("svg", $l, Ll)) : t.name == "editor" ? (f(), E("svg", Al, Pl)) : t.name == "table" ? (f(), E("svg", Fl, Bl)) : t.name == "delete" ? (f(), E("svg", Nl, Gl)) : t.name == "copy" ? (f(), E("svg", Wl, Yl)) : t.name == "v-move" ? (f(), E("svg", Kl, Zl)) : t.name == "move" ? (f(), E("svg", Ql, t1)) : t.name == "clear" ? (f(), E("svg", o1, l1)) : t.name == "preview" ? (f(), E("svg", i1, r1)) : t.name == "json" ? (f(), E("svg", d1, c1)) : t.name == "plus" ? (f(), E("svg", p1, f1)) : t.name == "add" ? (f(), E("svg", h1, g1)) : t.name == "forbid" ? (f(), E("svg", _1, y1)) : t.name == "tab" ? (f(), E("svg", w1, D1)) : t.name == "grade" ? (f(), E("svg", V1, S1)) : t.name == "employee" ? (f(), E("svg", k1, z1)) : t.name == "previewData" ? (f(), E("svg", $1, A1)) : t.name == "validate" ? (f(), E("svg", T1, P1)) : t.name == "reset" ? (f(), E("svg", F1, B1)) : t.name == "save" ? (f(), E("svg", N1, R1)) : t.name == "post" ? (f(), E("svg", q1, G1)) : t.name == "previewImage" ? (f(), E("svg", W1, Y1)) : t.name == "groupLayout" ? (f(), E("svg", K1, Z1)) : t.name == "description" ? (f(), E("svg", Q1, ti)) : t.name == "tip" ? (f(), E("svg", oi, li)) : t.name == "batchAdd" ? (f(), E("svg", ii, ri)) : t.name == "search" ? (f(), E("svg", di, pi)) : t.name == "form" ? (f(), E("svg", mi, gi)) : t.name == "examination" ? (f(), E("svg", _i, wi)) : L("", !0)
1016
1016
  ]),
1017
1017
  _: 1
1018
1018
  }, 8, ["size", "color"]);
@@ -1097,12 +1097,12 @@ const xi = {
1097
1097
  };
1098
1098
  return (d, m) => {
1099
1099
  var M, C, D;
1100
- const f = V("el-switch"), v = V("filter-item", !0), c = _e, b = V("el-option"), g = V("el-select"), y = V("el-cascader"), x = V("el-input");
1101
- return i(n) ? (h(), E("div", xi, [
1100
+ const h = V("el-switch"), v = V("filter-item", !0), c = _e, b = V("el-option"), g = V("el-select"), y = V("el-cascader"), x = V("el-input");
1101
+ return i(n) ? (f(), E("div", xi, [
1102
1102
  S("div", Di, [
1103
- t.showConditionType ? (h(), E(Q, { key: 0 }, [
1103
+ t.showConditionType ? (f(), E(Q, { key: 0 }, [
1104
1104
  Vi,
1105
- p(f, {
1105
+ p(h, {
1106
1106
  modelValue: i(n).conditionType,
1107
1107
  "onUpdate:modelValue": m[0] || (m[0] = (w) => i(n).conditionType = w),
1108
1108
  "inline-prompt": "",
@@ -1114,9 +1114,9 @@ const xi = {
1114
1114
  }, null, 8, ["modelValue"])
1115
1115
  ], 64)) : L("", !0)
1116
1116
  ]),
1117
- (M = i(n).children) != null && M.length ? (h(), E("div", Ei, [
1117
+ (M = i(n).children) != null && M.length ? (f(), E("div", Ei, [
1118
1118
  S("div", Si, [
1119
- (h(!0), E(Q, null, ge(i(n).children, (w, $) => (h(), z(v, {
1119
+ (f(!0), E(Q, null, ge(i(n).children, (w, $) => (f(), z(v, {
1120
1120
  key: $,
1121
1121
  modelValue: i(n).children[$],
1122
1122
  "onUpdate:modelValue": (P) => i(n).children[$] = P,
@@ -1139,7 +1139,7 @@ const xi = {
1139
1139
  color: "#ff0000",
1140
1140
  onClick: m[2] || (m[2] = (w) => l("delete"))
1141
1141
  })
1142
- ])) : (h(), E(Q, { key: 1 }, [
1142
+ ])) : (f(), E(Q, { key: 1 }, [
1143
1143
  S("div", ki, [
1144
1144
  p(g, {
1145
1145
  modelValue: i(n).itemID,
@@ -1149,7 +1149,7 @@ const xi = {
1149
1149
  onChange: a
1150
1150
  }, {
1151
1151
  default: _(() => [
1152
- (h(!0), E(Q, null, ge(t.items, (w, $) => (h(), z(b, {
1152
+ (f(!0), E(Q, null, ge(t.items, (w, $) => (f(), z(b, {
1153
1153
  key: $,
1154
1154
  label: w.label,
1155
1155
  value: w.id
@@ -1165,7 +1165,7 @@ const xi = {
1165
1165
  onChange: m[5] || (m[5] = (w) => i(n).value = "")
1166
1166
  }, {
1167
1167
  default: _(() => [
1168
- (h(!0), E(Q, null, ge(t.filterConditions[i(n).itemID], (w, $) => (h(), z(b, {
1168
+ (f(!0), E(Q, null, ge(t.filterConditions[i(n).itemID], (w, $) => (f(), z(b, {
1169
1169
  key: $,
1170
1170
  label: w.label,
1171
1171
  value: w.value
@@ -1174,7 +1174,7 @@ const xi = {
1174
1174
  _: 1
1175
1175
  }, 8, ["modelValue"]),
1176
1176
  S("div", Mi, [
1177
- i(n).condition === "EMPTY" ? (h(), E(Q, { key: 0 }, [], 64)) : ((C = t.conditionProps[i(n).itemID]) == null ? void 0 : C.type) === "selector" ? (h(), z(g, {
1177
+ i(n).condition === "EMPTY" ? (f(), E(Q, { key: 0 }, [], 64)) : ((C = t.conditionProps[i(n).itemID]) == null ? void 0 : C.type) === "selector" ? (f(), z(g, {
1178
1178
  key: 1,
1179
1179
  modelValue: i(n).value,
1180
1180
  "onUpdate:modelValue": m[6] || (m[6] = (w) => i(n).value = w),
@@ -1182,14 +1182,14 @@ const xi = {
1182
1182
  clearable: ""
1183
1183
  }, {
1184
1184
  default: _(() => [
1185
- (h(!0), E(Q, null, ge(t.conditionProps[i(n).itemID].options, (w, $) => (h(), z(b, {
1185
+ (f(!0), E(Q, null, ge(t.conditionProps[i(n).itemID].options, (w, $) => (f(), z(b, {
1186
1186
  key: $,
1187
1187
  label: w.label,
1188
1188
  value: w.value
1189
1189
  }, null, 8, ["label", "value"]))), 128))
1190
1190
  ]),
1191
1191
  _: 1
1192
- }, 8, ["modelValue"])) : ((D = t.conditionProps[i(n).itemID]) == null ? void 0 : D.type) === "cascaderSelector" ? (h(), z(y, {
1192
+ }, 8, ["modelValue"])) : ((D = t.conditionProps[i(n).itemID]) == null ? void 0 : D.type) === "cascaderSelector" ? (f(), z(y, {
1193
1193
  key: 2,
1194
1194
  class: "cascader-select",
1195
1195
  modelValue: i(n).value,
@@ -1197,7 +1197,7 @@ const xi = {
1197
1197
  placeholder: "请选择",
1198
1198
  options: t.conditionProps[i(n).itemID].cascaders,
1199
1199
  "show-all-levels": !1
1200
- }, null, 8, ["modelValue", "options"])) : (h(), z(x, {
1200
+ }, null, 8, ["modelValue", "options"])) : (f(), z(x, {
1201
1201
  key: 3,
1202
1202
  modelValue: i(n).value,
1203
1203
  "onUpdate:modelValue": m[8] || (m[8] = (w) => i(n).value = w)
@@ -1254,19 +1254,19 @@ function ke() {
1254
1254
  mb: (r) => 1048576 * r,
1255
1255
  gb: (r) => 1073741824 * r
1256
1256
  }, a = (r, u, d, m) => {
1257
- let f = [], v = [];
1257
+ let h = [], v = [];
1258
1258
  return u ? (u.forEach((c) => {
1259
1259
  const b = c[d];
1260
1260
  if (b === r) {
1261
- v.unshift(c), f.unshift(b);
1261
+ v.unshift(c), h.unshift(b);
1262
1262
  return;
1263
1263
  }
1264
1264
  const g = a(r, c[m], d, m);
1265
1265
  if (g != null && g.length) {
1266
1266
  const y = g[0], x = g[1];
1267
- y != null && y.length && (f.unshift(b), f = [...f, ...y]), x.length && (v.unshift(c), v = [...v, ...x]);
1267
+ y != null && y.length && (h.unshift(b), h = [...h, ...y]), x.length && (v.unshift(c), v = [...v, ...x]);
1268
1268
  }
1269
- }), [f, v]) : f;
1269
+ }), [h, v]) : h;
1270
1270
  };
1271
1271
  return {
1272
1272
  /**
@@ -1329,11 +1329,11 @@ function ke() {
1329
1329
  * @param isImage 是否为图片
1330
1330
  * @return
1331
1331
  */
1332
- checkFile(r, u, d, m, f) {
1333
- const v = r.size, c = f ? "图片" : "文件";
1332
+ checkFile(r, u, d, m, h) {
1333
+ const v = r.size, c = h ? "图片" : "文件";
1334
1334
  if (!v)
1335
1335
  return ze("error", `无效${c},请重新选择!`), !1;
1336
- if (f && r.type.indexOf("image") === -1)
1336
+ if (h && r.type.indexOf("image") === -1)
1337
1337
  return ze("error", "不是有效的图片文件或图片格式不支持,请重新选择!"), !1;
1338
1338
  const b = s[m.toLowerCase()](d);
1339
1339
  return v > b ? (ze("error", `最大可以上传${d}${m}的${c},请重新选择!`), !1) : ((u == null ? void 0 : u.findIndex((y) => y.name === r.name)) ?? -1) !== -1 ? (ze("error", `${c}重复,请重新选择!`), !1) : !0;
@@ -1347,12 +1347,12 @@ function ke() {
1347
1347
  * @param multipleFlag 是否是多选
1348
1348
  * @returns
1349
1349
  */
1350
- getCascaderFullValue(r, u, d, m, f) {
1350
+ getCascaderFullValue(r, u, d, m, h) {
1351
1351
  let v = [], c = [];
1352
1352
  if (!r || !u.length)
1353
1353
  return [v, c];
1354
1354
  let b = [];
1355
- f ? b = r : b.push(r);
1355
+ h ? b = r : b.push(r);
1356
1356
  let g = [], y = [];
1357
1357
  return b.forEach((x) => {
1358
1358
  let M = [], C = [];
@@ -1368,7 +1368,7 @@ function ke() {
1368
1368
  P != null && P.length && (M.unshift(w), M = [...M, ...P]), F.length && (C.unshift(D), C = [...C, ...F]);
1369
1369
  }
1370
1370
  }), g.push(M), y.push(C);
1371
- }), f ? (v = g, y.forEach((x) => {
1371
+ }), h ? (v = g, y.forEach((x) => {
1372
1372
  c.push(x[x.length - 1]);
1373
1373
  })) : (v = g[0], c = y[0][y[0].length - 1]), [v, c];
1374
1374
  },
@@ -1474,7 +1474,7 @@ const $i = { class: "dynamic-filter no-rem" }, Ii = {
1474
1474
  a.value.splice(b, 1);
1475
1475
  }, d = (b, g) => b ? g ? b === "and" ? "&&" : "||" : (l.showStyle ? "<b><span style='color:typeColor;font-size:14px'>type</span></b>" : "type").replace("typeColor", b === "and" ? "#08c979" : "#116fff").replace("type", b === "and" ? "并且" : "或") : "";
1476
1476
  let m = "condition";
1477
- const f = /* @__PURE__ */ new Map([
1477
+ const h = /* @__PURE__ */ new Map([
1478
1478
  ["EQUALS", { expression: "'{id}'==='{value}'", content: `{id}${m.replace("condition", "等于")}{value}` }],
1479
1479
  ["NOT_EQUALS", { expression: "'{id}'!=='{value}'", content: `{id}${m.replace("condition", "不等于")}{value}` }],
1480
1480
  ["GREATER_THAN", { expression: "'{id}'>'{value}'", content: `{id}${m.replace("condition", "大于")}{value}` }],
@@ -1489,7 +1489,7 @@ const $i = { class: "dynamic-filter no-rem" }, Ii = {
1489
1489
  var P, F, A, X, W, se;
1490
1490
  let y = "";
1491
1491
  const x = l.items.find((H) => H.id === b.itemID);
1492
- let M = "label", C = "value", D = (P = f.get(b.condition)) == null ? void 0 : P.expression.replace("{id}", `{${b.itemID}}`), w = (F = f.get(b.condition)) == null ? void 0 : F.content.replace("{id}", M.replace("label", x == null ? void 0 : x.label)), $ = [];
1492
+ let M = "label", C = "value", D = (P = h.get(b.condition)) == null ? void 0 : P.expression.replace("{id}", `{${b.itemID}}`), w = (F = h.get(b.condition)) == null ? void 0 : F.content.replace("{id}", M.replace("label", x == null ? void 0 : x.label)), $ = [];
1493
1493
  if (l.conditionProps[x == null ? void 0 : x.id].type === "selector" && ($ = l.conditionProps[x == null ? void 0 : x.id].options), b.condition === "RANGE") {
1494
1494
  const H = b.value.split(",");
1495
1495
  if (g)
@@ -1553,8 +1553,8 @@ const $i = { class: "dynamic-filter no-rem" }, Ii = {
1553
1553
  }
1554
1554
  }), (b, g) => {
1555
1555
  const y = _e;
1556
- return h(), E("div", $i, [
1557
- (h(!0), E(Q, null, ge(i(a), (x, M) => (h(), E("div", {
1556
+ return f(), E("div", $i, [
1557
+ (f(!0), E(Q, null, ge(i(a), (x, M) => (f(), E("div", {
1558
1558
  key: M,
1559
1559
  class: "filter-items"
1560
1560
  }, [
@@ -1750,7 +1750,7 @@ function O(t, o, e) {
1750
1750
  !(o in n) && o.indexOf("webkit") === -1 && (o = "-webkit-" + o), n[o] = e + (typeof e == "string" ? "" : "px");
1751
1751
  }
1752
1752
  }
1753
- function rt(t, o) {
1753
+ function at(t, o) {
1754
1754
  var e = "";
1755
1755
  if (typeof t == "string")
1756
1756
  e = t;
@@ -1778,8 +1778,8 @@ function qe() {
1778
1778
  }
1779
1779
  function re(t, o, e, n, l) {
1780
1780
  if (!(!t.getBoundingClientRect && t !== window)) {
1781
- var s, a, r, u, d, m, f;
1782
- if (t !== window && t.parentNode && t !== qe() ? (s = t.getBoundingClientRect(), a = s.top, r = s.left, u = s.bottom, d = s.right, m = s.height, f = s.width) : (a = 0, r = 0, u = window.innerHeight, d = window.innerWidth, m = window.innerHeight, f = window.innerWidth), (o || e) && t !== window && (l = l || t.parentNode, !Ke))
1781
+ var s, a, r, u, d, m, h;
1782
+ if (t !== window && t.parentNode && t !== qe() ? (s = t.getBoundingClientRect(), a = s.top, r = s.left, u = s.bottom, d = s.right, m = s.height, h = s.width) : (a = 0, r = 0, u = window.innerHeight, d = window.innerWidth, m = window.innerHeight, h = window.innerWidth), (o || e) && t !== window && (l = l || t.parentNode, !Ke))
1783
1783
  do
1784
1784
  if (l && l.getBoundingClientRect && (O(l, "transform") !== "none" || e && O(l, "position") !== "static")) {
1785
1785
  var v = l.getBoundingClientRect();
@@ -1788,27 +1788,27 @@ function re(t, o, e, n, l) {
1788
1788
  }
1789
1789
  while (l = l.parentNode);
1790
1790
  if (n && t !== window) {
1791
- var c = rt(l || t), b = c && c.a, g = c && c.d;
1792
- c && (a /= g, r /= b, f /= b, m /= g, u = a + m, d = r + f);
1791
+ var c = at(l || t), b = c && c.a, g = c && c.d;
1792
+ c && (a /= g, r /= b, h /= b, m /= g, u = a + m, d = r + h);
1793
1793
  }
1794
1794
  return {
1795
1795
  top: a,
1796
1796
  left: r,
1797
1797
  bottom: u,
1798
1798
  right: d,
1799
- width: f,
1799
+ width: h,
1800
1800
  height: m
1801
1801
  };
1802
1802
  }
1803
1803
  }
1804
1804
  function qo(t, o, e) {
1805
- for (var n = tt(t, !0), l = re(t)[o]; n; ) {
1805
+ for (var n = et(t, !0), l = re(t)[o]; n; ) {
1806
1806
  var s = re(n)[e], a = void 0;
1807
1807
  if (e === "top" || e === "left" ? a = l >= s : a = l <= s, !a)
1808
1808
  return n;
1809
1809
  if (n === qe())
1810
1810
  break;
1811
- n = tt(n, !1);
1811
+ n = et(n, !1);
1812
1812
  }
1813
1813
  return !1;
1814
1814
  }
@@ -1840,7 +1840,7 @@ function jo(t) {
1840
1840
  var o = 0, e = 0, n = qe();
1841
1841
  if (t)
1842
1842
  do {
1843
- var l = rt(t), s = l.a, a = l.d;
1843
+ var l = at(t), s = l.a, a = l.d;
1844
1844
  o += t.scrollLeft * s, e += t.scrollTop * a;
1845
1845
  } while (t !== n && (t = t.parentNode));
1846
1846
  return [o, e];
@@ -1854,7 +1854,7 @@ function Ri(t, o) {
1854
1854
  }
1855
1855
  return -1;
1856
1856
  }
1857
- function tt(t, o) {
1857
+ function et(t, o) {
1858
1858
  if (!t || !t.getBoundingClientRect)
1859
1859
  return qe();
1860
1860
  var e = t, n = !1;
@@ -1933,7 +1933,7 @@ function Gi() {
1933
1933
  });
1934
1934
  var s = Ge({}, t[t.length - 1].rect);
1935
1935
  if (l.thisAnimationDuration) {
1936
- var a = rt(l, !0);
1936
+ var a = at(l, !0);
1937
1937
  a && (s.top -= a.f, s.left -= a.e);
1938
1938
  }
1939
1939
  l.fromRect = s;
@@ -1957,9 +1957,9 @@ function Gi() {
1957
1957
  }
1958
1958
  var s = !1, a = 0;
1959
1959
  t.forEach(function(r) {
1960
- var u = 0, d = r.target, m = d.fromRect, f = re(d), v = d.prevFromRect, c = d.prevToRect, b = r.rect, g = rt(d, !0);
1961
- g && (f.top -= g.f, f.left -= g.e), d.toRect = f, d.thisAnimationDuration && co(v, f) && !co(m, f) && // Make sure animatingRect is on line between toRect & fromRect
1962
- (b.top - f.top) / (b.left - f.left) === (m.top - f.top) / (m.left - f.left) && (u = Xi(b, v, c, l.options)), co(f, m) || (d.prevFromRect = m, d.prevToRect = f, u || (u = l.options.animation), l.animate(d, b, f, u)), u && (s = !0, a = Math.max(a, u), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
1960
+ var u = 0, d = r.target, m = d.fromRect, h = re(d), v = d.prevFromRect, c = d.prevToRect, b = r.rect, g = at(d, !0);
1961
+ g && (h.top -= g.f, h.left -= g.e), d.toRect = h, d.thisAnimationDuration && co(v, h) && !co(m, h) && // Make sure animatingRect is on line between toRect & fromRect
1962
+ (b.top - h.top) / (b.left - h.left) === (m.top - h.top) / (m.left - h.left) && (u = Xi(b, v, c, l.options)), co(h, m) || (d.prevFromRect = m, d.prevToRect = h, u || (u = l.options.animation), l.animate(d, b, h, u)), u && (s = !0, a = Math.max(a, u), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
1963
1963
  d.animationTime = 0, d.prevFromRect = null, d.fromRect = null, d.prevToRect = null, d.thisAnimationDuration = null;
1964
1964
  }, u), d.thisAnimationDuration = u);
1965
1965
  }), clearTimeout(o), s ? o = setTimeout(function() {
@@ -1969,8 +1969,8 @@ function Gi() {
1969
1969
  animate: function(n, l, s, a) {
1970
1970
  if (a) {
1971
1971
  O(n, "transition", ""), O(n, "transform", "");
1972
- var r = rt(this.el), u = r && r.a, d = r && r.d, m = (l.left - s.left) / (u || 1), f = (l.top - s.top) / (d || 1);
1973
- n.animatingX = !!m, n.animatingY = !!f, O(n, "transform", "translate3d(" + m + "px," + f + "px,0)"), this.forRepaintDummy = Wi(n), O(n, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), O(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1972
+ var r = at(this.el), u = r && r.a, d = r && r.d, m = (l.left - s.left) / (u || 1), h = (l.top - s.top) / (d || 1);
1973
+ n.animatingX = !!m, n.animatingY = !!h, O(n, "transform", "translate3d(" + m + "px," + h + "px,0)"), this.forRepaintDummy = Wi(n), O(n, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), O(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1974
1974
  O(n, "transition", ""), O(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
1975
1975
  }, a);
1976
1976
  }
@@ -1983,16 +1983,16 @@ function Wi(t) {
1983
1983
  function Xi(t, o, e, n) {
1984
1984
  return Math.sqrt(Math.pow(o.top - t.top, 2) + Math.pow(o.left - t.left, 2)) / Math.sqrt(Math.pow(o.top - e.top, 2) + Math.pow(o.left - e.left, 2)) * n.animation;
1985
1985
  }
1986
- var ct = [], mo = {
1986
+ var ut = [], mo = {
1987
1987
  initializeByDefault: !0
1988
1988
  }, Tt = {
1989
1989
  mount: function(o) {
1990
1990
  for (var e in mo)
1991
1991
  mo.hasOwnProperty(e) && !(e in o) && (o[e] = mo[e]);
1992
- ct.forEach(function(n) {
1992
+ ut.forEach(function(n) {
1993
1993
  if (n.pluginName === o.pluginName)
1994
1994
  throw "Sortable: Cannot mount plugin ".concat(o.pluginName, " more than once");
1995
- }), ct.push(o);
1995
+ }), ut.push(o);
1996
1996
  },
1997
1997
  pluginEvent: function(o, e, n) {
1998
1998
  var l = this;
@@ -2000,7 +2000,7 @@ var ct = [], mo = {
2000
2000
  l.eventCanceled = !0;
2001
2001
  };
2002
2002
  var s = o + "Global";
2003
- ct.forEach(function(a) {
2003
+ ut.forEach(function(a) {
2004
2004
  e[a.pluginName] && (e[a.pluginName][s] && e[a.pluginName][s](Ge({
2005
2005
  sortable: e
2006
2006
  }, n)), e.options[a.pluginName] && e[a.pluginName][o] && e[a.pluginName][o](Ge({
@@ -2009,7 +2009,7 @@ var ct = [], mo = {
2009
2009
  });
2010
2010
  },
2011
2011
  initializePlugins: function(o, e, n, l) {
2012
- ct.forEach(function(r) {
2012
+ ut.forEach(function(r) {
2013
2013
  var u = r.pluginName;
2014
2014
  if (!(!o.options[u] && !r.initializeByDefault)) {
2015
2015
  var d = new r(o, e, o.options);
@@ -2024,25 +2024,25 @@ var ct = [], mo = {
2024
2024
  },
2025
2025
  getEventProperties: function(o, e) {
2026
2026
  var n = {};
2027
- return ct.forEach(function(l) {
2027
+ return ut.forEach(function(l) {
2028
2028
  typeof l.eventProperties == "function" && Be(n, l.eventProperties.call(e[l.pluginName], o));
2029
2029
  }), n;
2030
2030
  },
2031
2031
  modifyOption: function(o, e, n) {
2032
2032
  var l;
2033
- return ct.forEach(function(s) {
2033
+ return ut.forEach(function(s) {
2034
2034
  o[s.pluginName] && s.optionListeners && typeof s.optionListeners[e] == "function" && (l = s.optionListeners[e].call(o[s.pluginName], n));
2035
2035
  }), l;
2036
2036
  }
2037
2037
  };
2038
2038
  function Ct(t) {
2039
- var o = t.sortable, e = t.rootEl, n = t.name, l = t.targetEl, s = t.cloneEl, a = t.toEl, r = t.fromEl, u = t.oldIndex, d = t.newIndex, m = t.oldDraggableIndex, f = t.newDraggableIndex, v = t.originalEvent, c = t.putSortable, b = t.extraEventProperties;
2039
+ var o = t.sortable, e = t.rootEl, n = t.name, l = t.targetEl, s = t.cloneEl, a = t.toEl, r = t.fromEl, u = t.oldIndex, d = t.newIndex, m = t.oldDraggableIndex, h = t.newDraggableIndex, v = t.originalEvent, c = t.putSortable, b = t.extraEventProperties;
2040
2040
  if (o = o || e && e[Ee], !!o) {
2041
2041
  var g, y = o.options, x = "on" + n.charAt(0).toUpperCase() + n.substr(1);
2042
2042
  window.CustomEvent && !Ke && !At ? g = new CustomEvent(n, {
2043
2043
  bubbles: !0,
2044
2044
  cancelable: !0
2045
- }) : (g = document.createEvent("Event"), g.initEvent(n, !0, !0)), g.to = a || e, g.from = r || e, g.item = l || e, g.clone = s, g.oldIndex = u, g.newIndex = d, g.oldDraggableIndex = m, g.newDraggableIndex = f, g.originalEvent = v, g.pullMode = c ? c.lastPutMode : void 0;
2045
+ }) : (g = document.createEvent("Event"), g.initEvent(n, !0, !0)), g.to = a || e, g.from = r || e, g.item = l || e, g.clone = s, g.oldIndex = u, g.newIndex = d, g.oldDraggableIndex = m, g.newDraggableIndex = h, g.originalEvent = v, g.pullMode = c ? c.lastPutMode : void 0;
2046
2046
  var M = Ge(Ge({}, b), Tt.getEventProperties(n, o));
2047
2047
  for (var C in M)
2048
2048
  g[C] = M[C];
@@ -2056,10 +2056,10 @@ var Yi = ["evt"], Le = function(o, e) {
2056
2056
  parentEl: he,
2057
2057
  ghostEl: j,
2058
2058
  rootEl: ue,
2059
- nextEl: at,
2059
+ nextEl: st,
2060
2060
  lastDownEl: Xt,
2061
2061
  cloneEl: pe,
2062
- cloneHidden: et,
2062
+ cloneHidden: Qe,
2063
2063
  dragStarted: xt,
2064
2064
  putSortable: De,
2065
2065
  activeSortable: B.active,
@@ -2071,10 +2071,10 @@ var Yi = ["evt"], Le = function(o, e) {
2071
2071
  hideGhostForTarget: vn,
2072
2072
  unhideGhostForTarget: gn,
2073
2073
  cloneNowHidden: function() {
2074
- et = !0;
2074
+ Qe = !0;
2075
2075
  },
2076
2076
  cloneNowShown: function() {
2077
- et = !1;
2077
+ Qe = !1;
2078
2078
  },
2079
2079
  dispatchSortableEvent: function(r) {
2080
2080
  Me({
@@ -2097,7 +2097,7 @@ function Me(t) {
2097
2097
  newDraggableIndex: Ze
2098
2098
  }, t));
2099
2099
  }
2100
- var I, he, j, ue, at, Xt, pe, et, ht, Oe, Mt, Ze, Ut, De, ft = !1, eo = !1, to = [], lt, He, fo, ho, Wo, Xo, xt, pt, zt, $t = !1, Bt = !1, Yt, Ve, vo = [], xo = !1, oo = [], ro = typeof document < "u", Nt = sn, Yo = At || Ke ? "cssFloat" : "float", Ki = ro && !an && !sn && "draggable" in document.createElement("div"), mn = function() {
2100
+ var I, he, j, ue, st, Xt, pe, Qe, ht, Oe, Mt, Ze, Ut, De, mt = !1, eo = !1, to = [], nt, He, fo, ho, Wo, Xo, xt, ct, zt, $t = !1, Bt = !1, Yt, Ve, vo = [], xo = !1, oo = [], ro = typeof document < "u", Nt = sn, Yo = At || Ke ? "cssFloat" : "float", Ki = ro && !an && !sn && "draggable" in document.createElement("div"), mn = function() {
2101
2101
  if (ro) {
2102
2102
  if (Ke)
2103
2103
  return !1;
@@ -2111,8 +2111,8 @@ var I, he, j, ue, at, Xt, pe, et, ht, Oe, Mt, Ze, Ut, De, ft = !1, eo = !1, to =
2111
2111
  if (n.display === "grid")
2112
2112
  return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
2113
2113
  if (s && r.float && r.float !== "none") {
2114
- var f = r.float === "left" ? "left" : "right";
2115
- return a && (u.clear === "both" || u.clear === f) ? "vertical" : "horizontal";
2114
+ var h = r.float === "left" ? "left" : "right";
2115
+ return a && (u.clear === "both" || u.clear === h) ? "vertical" : "horizontal";
2116
2116
  }
2117
2117
  return s && (r.display === "block" || r.display === "flex" || r.display === "table" || r.display === "grid" || d >= l && n[Yo] === "none" || a && n[Yo] === "none" && d + m > l) ? "vertical" : "horizontal";
2118
2118
  }, Ji = function(o, e, n) {
@@ -2131,8 +2131,8 @@ var I, he, j, ue, at, Xt, pe, et, ht, Oe, Mt, Ze, Ut, De, ft = !1, eo = !1, to =
2131
2131
  }, hn = function(o) {
2132
2132
  function e(s, a) {
2133
2133
  return function(r, u, d, m) {
2134
- var f = r.options.group.name && u.options.group.name && r.options.group.name === u.options.group.name;
2135
- if (s == null && (a || f))
2134
+ var h = r.options.group.name && u.options.group.name && r.options.group.name === u.options.group.name;
2135
+ if (s == null && (a || h))
2136
2136
  return !0;
2137
2137
  if (s == null || s === !1)
2138
2138
  return !1;
@@ -2157,7 +2157,7 @@ ro && !an && document.addEventListener("click", function(t) {
2157
2157
  if (eo)
2158
2158
  return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), eo = !1, !1;
2159
2159
  }, !0);
2160
- var it = function(o) {
2160
+ var lt = function(o) {
2161
2161
  if (I) {
2162
2162
  o = o.touches ? o.touches[0] : o;
2163
2163
  var e = Zi(o.clientX, o.clientY);
@@ -2232,7 +2232,7 @@ B.prototype = /** @lends Sortable.prototype */
2232
2232
  {
2233
2233
  constructor: B,
2234
2234
  _isOutsideThisEl: function(o) {
2235
- !this.el.contains(o) && o !== this.el && (pt = null);
2235
+ !this.el.contains(o) && o !== this.el && (ct = null);
2236
2236
  },
2237
2237
  _getDirection: function(o, e) {
2238
2238
  return typeof this.options.direction == "function" ? this.options.direction.call(this, o, e, I) : this.options.direction;
@@ -2255,11 +2255,11 @@ B.prototype = /** @lends Sortable.prototype */
2255
2255
  }), s && o.cancelable && o.preventDefault();
2256
2256
  return;
2257
2257
  }
2258
- } else if (m && (m = m.split(",").some(function(f) {
2259
- if (f = Ue(d, f.trim(), n, !1), f)
2258
+ } else if (m && (m = m.split(",").some(function(h) {
2259
+ if (h = Ue(d, h.trim(), n, !1), h)
2260
2260
  return Me({
2261
2261
  sortable: e,
2262
- rootEl: f,
2262
+ rootEl: h,
2263
2263
  name: "filter",
2264
2264
  targetEl: u,
2265
2265
  fromEl: n,
@@ -2279,11 +2279,11 @@ B.prototype = /** @lends Sortable.prototype */
2279
2279
  var l = this, s = l.el, a = l.options, r = s.ownerDocument, u;
2280
2280
  if (n && !I && n.parentNode === s) {
2281
2281
  var d = re(n);
2282
- if (ue = s, I = n, he = I.parentNode, at = I.nextSibling, Xt = n, Ut = a.group, B.dragged = I, lt = {
2282
+ if (ue = s, I = n, he = I.parentNode, st = I.nextSibling, Xt = n, Ut = a.group, B.dragged = I, nt = {
2283
2283
  target: I,
2284
2284
  clientX: (e || o).clientX,
2285
2285
  clientY: (e || o).clientY
2286
- }, Wo = lt.clientX - d.left, Xo = lt.clientY - d.top, this._lastX = (e || o).clientX, this._lastY = (e || o).clientY, I.style["will-change"] = "all", u = function() {
2286
+ }, Wo = nt.clientX - d.left, Xo = nt.clientY - d.top, this._lastX = (e || o).clientX, this._lastY = (e || o).clientY, I.style["will-change"] = "all", u = function() {
2287
2287
  if (Le("delayEnded", l, {
2288
2288
  evt: o
2289
2289
  }), B.eventCanceled) {
@@ -2297,7 +2297,7 @@ B.prototype = /** @lends Sortable.prototype */
2297
2297
  }), me(I, a.chosenClass, !0);
2298
2298
  }, a.ignore.split(",").forEach(function(m) {
2299
2299
  dn(I, m.trim(), go);
2300
- }), J(r, "dragover", it), J(r, "mousemove", it), J(r, "touchmove", it), J(r, "mouseup", l._onDrop), J(r, "touchend", l._onDrop), J(r, "touchcancel", l._onDrop), Ho && this.nativeDraggable && (this.options.touchStartThreshold = 4, I.draggable = !0), Le("delayStart", this, {
2300
+ }), J(r, "dragover", lt), J(r, "mousemove", lt), J(r, "touchmove", lt), J(r, "mouseup", l._onDrop), J(r, "touchend", l._onDrop), J(r, "touchcancel", l._onDrop), Ho && this.nativeDraggable && (this.options.touchStartThreshold = 4, I.draggable = !0), Le("delayStart", this, {
2301
2301
  evt: o
2302
2302
  }), a.delay && (!a.delayOnTouchOnly || e) && (!this.nativeDraggable || !(At || Ke))) {
2303
2303
  if (B.eventCanceled) {
@@ -2330,7 +2330,7 @@ B.prototype = /** @lends Sortable.prototype */
2330
2330
  }
2331
2331
  },
2332
2332
  _dragStarted: function(o, e) {
2333
- if (ft = !1, ue && I) {
2333
+ if (mt = !1, ue && I) {
2334
2334
  Le("dragStarted", this, {
2335
2335
  evt: e
2336
2336
  }), this.nativeDraggable && J(document, "dragover", Qi);
@@ -2366,24 +2366,24 @@ B.prototype = /** @lends Sortable.prototype */
2366
2366
  }
2367
2367
  },
2368
2368
  _onTouchMove: function(o) {
2369
- if (lt) {
2370
- var e = this.options, n = e.fallbackTolerance, l = e.fallbackOffset, s = o.touches ? o.touches[0] : o, a = j && rt(j, !0), r = j && a && a.a, u = j && a && a.d, d = Nt && Ve && jo(Ve), m = (s.clientX - lt.clientX + l.x) / (r || 1) + (d ? d[0] - vo[0] : 0) / (r || 1), f = (s.clientY - lt.clientY + l.y) / (u || 1) + (d ? d[1] - vo[1] : 0) / (u || 1);
2371
- if (!B.active && !ft) {
2369
+ if (nt) {
2370
+ var e = this.options, n = e.fallbackTolerance, l = e.fallbackOffset, s = o.touches ? o.touches[0] : o, a = j && at(j, !0), r = j && a && a.a, u = j && a && a.d, d = Nt && Ve && jo(Ve), m = (s.clientX - nt.clientX + l.x) / (r || 1) + (d ? d[0] - vo[0] : 0) / (r || 1), h = (s.clientY - nt.clientY + l.y) / (u || 1) + (d ? d[1] - vo[1] : 0) / (u || 1);
2371
+ if (!B.active && !mt) {
2372
2372
  if (n && Math.max(Math.abs(s.clientX - this._lastX), Math.abs(s.clientY - this._lastY)) < n)
2373
2373
  return;
2374
2374
  this._onDragStart(o, !0);
2375
2375
  }
2376
2376
  if (j) {
2377
- a ? (a.e += m - (fo || 0), a.f += f - (ho || 0)) : a = {
2377
+ a ? (a.e += m - (fo || 0), a.f += h - (ho || 0)) : a = {
2378
2378
  a: 1,
2379
2379
  b: 0,
2380
2380
  c: 0,
2381
2381
  d: 1,
2382
2382
  e: m,
2383
- f
2383
+ f: h
2384
2384
  };
2385
2385
  var v = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
2386
- O(j, "webkitTransform", v), O(j, "mozTransform", v), O(j, "msTransform", v), O(j, "transform", v), fo = m, ho = f, He = s;
2386
+ O(j, "webkitTransform", v), O(j, "mozTransform", v), O(j, "msTransform", v), O(j, "transform", v), fo = m, ho = h, He = s;
2387
2387
  }
2388
2388
  o.cancelable && o.preventDefault();
2389
2389
  }
@@ -2412,11 +2412,11 @@ B.prototype = /** @lends Sortable.prototype */
2412
2412
  sortable: n,
2413
2413
  name: "clone"
2414
2414
  }));
2415
- }), !e && me(I, s.dragClass, !0), e ? (eo = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Y(document, "mouseup", n._onDrop), Y(document, "touchend", n._onDrop), Y(document, "touchcancel", n._onDrop), l && (l.effectAllowed = "move", s.setData && s.setData.call(n, l, I)), J(document, "drop", n), O(I, "transform", "translateZ(0)")), ft = !0, n._dragStartId = Kt(n._dragStarted.bind(n, e, o)), J(document, "selectstart", n), xt = !0, St && O(document.body, "user-select", "none");
2415
+ }), !e && me(I, s.dragClass, !0), e ? (eo = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Y(document, "mouseup", n._onDrop), Y(document, "touchend", n._onDrop), Y(document, "touchcancel", n._onDrop), l && (l.effectAllowed = "move", s.setData && s.setData.call(n, l, I)), J(document, "drop", n), O(I, "transform", "translateZ(0)")), mt = !0, n._dragStartId = Kt(n._dragStarted.bind(n, e, o)), J(document, "selectstart", n), xt = !0, St && O(document.body, "user-select", "none");
2416
2416
  },
2417
2417
  // Returns true - if no further action is needed (either inserted or another condition)
2418
2418
  _onDragOver: function(o) {
2419
- var e = this.el, n = o.target, l, s, a, r = this.options, u = r.group, d = B.active, m = Ut === u, f = r.sort, v = De || d, c, b = this, g = !1;
2419
+ var e = this.el, n = o.target, l, s, a, r = this.options, u = r.group, d = B.active, m = Ut === u, h = r.sort, v = De || d, c, b = this, g = !1;
2420
2420
  if (xo)
2421
2421
  return;
2422
2422
  function y($e, Ne) {
@@ -2427,7 +2427,7 @@ B.prototype = /** @lends Sortable.prototype */
2427
2427
  revert: a,
2428
2428
  dragRect: l,
2429
2429
  targetRect: s,
2430
- canSort: f,
2430
+ canSort: h,
2431
2431
  fromSortable: v,
2432
2432
  target: n,
2433
2433
  completed: M,
@@ -2445,7 +2445,7 @@ B.prototype = /** @lends Sortable.prototype */
2445
2445
  insertion: $e
2446
2446
  }), $e && (m ? d._hideClone() : d._showClone(b), b !== v && (me(I, De ? De.options.ghostClass : d.options.ghostClass, !1), me(I, r.ghostClass, !0)), De !== b && b !== B.active ? De = b : b === B.active && De && (De = null), v === b && (b._ignoreWhileAnimating = n), b.animateAll(function() {
2447
2447
  y("dragOverAnimationComplete"), b._ignoreWhileAnimating = null;
2448
- }), b !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (n === I && !I.animated || n === e && !n.animated) && (pt = null), !r.dragoverBubble && !o.rootEl && n !== document && (I.parentNode[Ee]._isOutsideThisEl(o.target), !$e && it(o)), !r.dragoverBubble && o.stopPropagation && o.stopPropagation(), g = !0;
2448
+ }), b !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (n === I && !I.animated || n === e && !n.animated) && (ct = null), !r.dragoverBubble && !o.rootEl && n !== document && (I.parentNode[Ee]._isOutsideThisEl(o.target), !$e && lt(o)), !r.dragoverBubble && o.stopPropagation && o.stopPropagation(), g = !0;
2449
2449
  }
2450
2450
  function C() {
2451
2451
  Oe = ve(I), Ze = ve(I, r.draggable), Me({
@@ -2461,11 +2461,11 @@ B.prototype = /** @lends Sortable.prototype */
2461
2461
  return g;
2462
2462
  if (I.contains(o.target) || n.animated && n.animatingX && n.animatingY || b._ignoreWhileAnimating === n)
2463
2463
  return M(!1);
2464
- if (eo = !1, d && !r.disabled && (m ? f || (a = he !== ue) : De === this || (this.lastPutMode = Ut.checkPull(this, d, I, o)) && u.checkPut(this, d, I, o))) {
2464
+ if (eo = !1, d && !r.disabled && (m ? h || (a = he !== ue) : De === this || (this.lastPutMode = Ut.checkPull(this, d, I, o)) && u.checkPut(this, d, I, o))) {
2465
2465
  if (c = this._getDirection(o, n) === "vertical", l = re(I), y("dragOverValid"), B.eventCanceled)
2466
2466
  return g;
2467
2467
  if (a)
2468
- return he = ue, x(), this._hideClone(), y("revert"), B.eventCanceled || (at ? ue.insertBefore(I, at) : ue.appendChild(I)), M(!0);
2468
+ return he = ue, x(), this._hideClone(), y("revert"), B.eventCanceled || (st ? ue.insertBefore(I, st) : ue.appendChild(I)), M(!0);
2469
2469
  var D = zo(e, r.draggable);
2470
2470
  if (!D || n2(o, c, this) && !D.animated) {
2471
2471
  if (D === I)
@@ -2481,7 +2481,7 @@ B.prototype = /** @lends Sortable.prototype */
2481
2481
  } else if (n.parentNode === e) {
2482
2482
  s = re(n);
2483
2483
  var $ = 0, P, F = I.parentNode !== e, A = !Ji(I.animated && I.toRect || l, n.animated && n.toRect || s, c), X = c ? "top" : "left", W = qo(n, "top", "top") || qo(I, "top", "top"), se = W ? W.scrollTop : void 0;
2484
- pt !== n && (P = s[X], $t = !1, Bt = !A && r.invertSwap || F), $ = l2(o, n, s, c, A ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, Bt, pt === n);
2484
+ ct !== n && (P = s[X], $t = !1, Bt = !A && r.invertSwap || F), $ = l2(o, n, s, c, A ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, Bt, ct === n);
2485
2485
  var H;
2486
2486
  if ($ !== 0) {
2487
2487
  var ne = ve(I);
@@ -2491,7 +2491,7 @@ B.prototype = /** @lends Sortable.prototype */
2491
2491
  }
2492
2492
  if ($ === 0 || H === n)
2493
2493
  return M(!1);
2494
- pt = n, zt = $;
2494
+ ct = n, zt = $;
2495
2495
  var de = n.nextElementSibling, Ce = !1;
2496
2496
  Ce = $ === 1;
2497
2497
  var ye = Ht(ue, e, I, l, n, s, o, Ce);
@@ -2505,7 +2505,7 @@ B.prototype = /** @lends Sortable.prototype */
2505
2505
  },
2506
2506
  _ignoreWhileAnimating: null,
2507
2507
  _offMoveEvents: function() {
2508
- Y(document, "mousemove", this._onTouchMove), Y(document, "touchmove", this._onTouchMove), Y(document, "pointermove", this._onTouchMove), Y(document, "dragover", it), Y(document, "mousemove", it), Y(document, "touchmove", it);
2508
+ Y(document, "mousemove", this._onTouchMove), Y(document, "touchmove", this._onTouchMove), Y(document, "pointermove", this._onTouchMove), Y(document, "dragover", lt), Y(document, "mousemove", lt), Y(document, "touchmove", lt);
2509
2509
  },
2510
2510
  _offUpEvents: function() {
2511
2511
  var o = this.el.ownerDocument;
@@ -2519,7 +2519,7 @@ B.prototype = /** @lends Sortable.prototype */
2519
2519
  this._nulling();
2520
2520
  return;
2521
2521
  }
2522
- ft = !1, Bt = !1, $t = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Do(this.cloneId), Do(this._dragStartId), this.nativeDraggable && (Y(document, "drop", this), Y(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), St && O(document.body, "user-select", ""), O(I, "transform", ""), o && (xt && (o.cancelable && o.preventDefault(), !n.dropBubble && o.stopPropagation()), j && j.parentNode && j.parentNode.removeChild(j), (ue === he || De && De.lastPutMode !== "clone") && pe && pe.parentNode && pe.parentNode.removeChild(pe), I && (this.nativeDraggable && Y(I, "dragend", this), go(I), I.style["will-change"] = "", xt && !ft && me(I, De ? De.options.ghostClass : this.options.ghostClass, !1), me(I, this.options.chosenClass, !1), Me({
2522
+ mt = !1, Bt = !1, $t = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Do(this.cloneId), Do(this._dragStartId), this.nativeDraggable && (Y(document, "drop", this), Y(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), St && O(document.body, "user-select", ""), O(I, "transform", ""), o && (xt && (o.cancelable && o.preventDefault(), !n.dropBubble && o.stopPropagation()), j && j.parentNode && j.parentNode.removeChild(j), (ue === he || De && De.lastPutMode !== "clone") && pe && pe.parentNode && pe.parentNode.removeChild(pe), I && (this.nativeDraggable && Y(I, "dragend", this), go(I), I.style["will-change"] = "", xt && !mt && me(I, De ? De.options.ghostClass : this.options.ghostClass, !1), me(I, this.options.chosenClass, !1), Me({
2523
2523
  sortable: this,
2524
2524
  name: "unchoose",
2525
2525
  toEl: he,
@@ -2566,7 +2566,7 @@ B.prototype = /** @lends Sortable.prototype */
2566
2566
  }), this.save()))), this._nulling();
2567
2567
  },
2568
2568
  _nulling: function() {
2569
- Le("nulling", this), ue = I = he = j = at = pe = Xt = et = lt = He = xt = Oe = Ze = ht = Mt = pt = zt = De = Ut = B.dragged = B.ghost = B.clone = B.active = null, oo.forEach(function(o) {
2569
+ Le("nulling", this), ue = I = he = j = st = pe = Xt = Qe = nt = He = xt = Oe = Ze = ht = Mt = ct = zt = De = Ut = B.dragged = B.ghost = B.clone = B.active = null, oo.forEach(function(o) {
2570
2570
  o.checked = !0;
2571
2571
  }), oo.length = fo = ho = 0;
2572
2572
  },
@@ -2647,10 +2647,10 @@ B.prototype = /** @lends Sortable.prototype */
2647
2647
  }), this._onDrop(), this._disableDelayedDragEvents(), to.splice(to.indexOf(this.el), 1), this.el = o = null;
2648
2648
  },
2649
2649
  _hideClone: function() {
2650
- if (!et) {
2650
+ if (!Qe) {
2651
2651
  if (Le("hideClone", this), B.eventCanceled)
2652
2652
  return;
2653
- O(pe, "display", "none"), this.options.removeCloneOnHide && pe.parentNode && pe.parentNode.removeChild(pe), et = !0;
2653
+ O(pe, "display", "none"), this.options.removeCloneOnHide && pe.parentNode && pe.parentNode.removeChild(pe), Qe = !0;
2654
2654
  }
2655
2655
  },
2656
2656
  _showClone: function(o) {
@@ -2658,10 +2658,10 @@ B.prototype = /** @lends Sortable.prototype */
2658
2658
  this._hideClone();
2659
2659
  return;
2660
2660
  }
2661
- if (et) {
2661
+ if (Qe) {
2662
2662
  if (Le("showClone", this), B.eventCanceled)
2663
2663
  return;
2664
- I.parentNode == ue && !this.options.group.revertClone ? ue.insertBefore(pe, I) : at ? ue.insertBefore(pe, at) : ue.appendChild(pe), this.options.group.revertClone && this.animate(I, pe), O(pe, "display", ""), et = !1;
2664
+ I.parentNode == ue && !this.options.group.revertClone ? ue.insertBefore(pe, I) : st ? ue.insertBefore(pe, st) : ue.appendChild(pe), this.options.group.revertClone && this.animate(I, pe), O(pe, "display", ""), Qe = !1;
2665
2665
  }
2666
2666
  }
2667
2667
  };
@@ -2669,11 +2669,11 @@ function e2(t) {
2669
2669
  t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
2670
2670
  }
2671
2671
  function Ht(t, o, e, n, l, s, a, r) {
2672
- var u, d = t[Ee], m = d.options.onMove, f;
2672
+ var u, d = t[Ee], m = d.options.onMove, h;
2673
2673
  return window.CustomEvent && !Ke && !At ? u = new CustomEvent("move", {
2674
2674
  bubbles: !0,
2675
2675
  cancelable: !0
2676
- }) : (u = document.createEvent("Event"), u.initEvent("move", !0, !0)), u.to = o, u.from = t, u.dragged = e, u.draggedRect = n, u.related = l || o, u.relatedRect = s || re(o), u.willInsertAfter = r, u.originalEvent = a, t.dispatchEvent(u), m && (f = m.call(d, u, a)), f;
2676
+ }) : (u = document.createEvent("Event"), u.initEvent("move", !0, !0)), u.to = o, u.from = t, u.dragged = e, u.draggedRect = n, u.related = l || o, u.relatedRect = s || re(o), u.willInsertAfter = r, u.originalEvent = a, t.dispatchEvent(u), m && (h = m.call(d, u, a)), h;
2677
2677
  }
2678
2678
  function go(t) {
2679
2679
  t.draggable = !1;
@@ -2690,17 +2690,17 @@ function n2(t, o, e) {
2690
2690
  return o ? t.clientX > l.right + s || t.clientY > n.bottom && t.clientX > n.left : t.clientY > l.bottom + s || t.clientX > n.right && t.clientY > n.top;
2691
2691
  }
2692
2692
  function l2(t, o, e, n, l, s, a, r) {
2693
- var u = n ? t.clientY : t.clientX, d = n ? e.height : e.width, m = n ? e.top : e.left, f = n ? e.bottom : e.right, v = !1;
2693
+ var u = n ? t.clientY : t.clientX, d = n ? e.height : e.width, m = n ? e.top : e.left, h = n ? e.bottom : e.right, v = !1;
2694
2694
  if (!a) {
2695
2695
  if (r && Yt < d * l) {
2696
- if (!$t && (zt === 1 ? u > m + d * s / 2 : u < f - d * s / 2) && ($t = !0), $t)
2696
+ if (!$t && (zt === 1 ? u > m + d * s / 2 : u < h - d * s / 2) && ($t = !0), $t)
2697
2697
  v = !0;
2698
- else if (zt === 1 ? u < m + Yt : u > f - Yt)
2698
+ else if (zt === 1 ? u < m + Yt : u > h - Yt)
2699
2699
  return -zt;
2700
- } else if (u > m + d * (1 - l) / 2 && u < f - d * (1 - l) / 2)
2700
+ } else if (u > m + d * (1 - l) / 2 && u < h - d * (1 - l) / 2)
2701
2701
  return i2(o);
2702
2702
  }
2703
- return v = v || a, v && (u < m + d * s / 2 || u > f - d * s / 2) ? u > m + d / 2 ? 1 : -1 : 0;
2703
+ return v = v || a, v && (u < m + d * s / 2 || u > h - d * s / 2) ? u > m + d / 2 ? 1 : -1 : 0;
2704
2704
  }
2705
2705
  function i2(t) {
2706
2706
  return ve(I) < ve(t) ? 1 : -1;
@@ -2724,7 +2724,7 @@ function Do(t) {
2724
2724
  return clearTimeout(t);
2725
2725
  }
2726
2726
  ro && J(document, "touchmove", function(t) {
2727
- (B.active || ft) && t.cancelable && t.preventDefault();
2727
+ (B.active || mt) && t.cancelable && t.preventDefault();
2728
2728
  });
2729
2729
  B.utils = {
2730
2730
  on: J,
@@ -2796,17 +2796,17 @@ function r2() {
2796
2796
  var l = this, s = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, r = document.elementFromPoint(s, a);
2797
2797
  if (no = e, n || this.options.forceAutoScrollFallback || At || Ke || St) {
2798
2798
  yo(e, this.options, r, n);
2799
- var u = tt(r, !0);
2799
+ var u = et(r, !0);
2800
2800
  Eo && (!Vt || s !== _o || a !== bo) && (Vt && Ko(), Vt = setInterval(function() {
2801
- var d = tt(document.elementFromPoint(s, a), !0);
2801
+ var d = et(document.elementFromPoint(s, a), !0);
2802
2802
  d !== u && (u = d, Jt()), yo(e, l.options, d, n);
2803
2803
  }, 10), _o = s, bo = a);
2804
2804
  } else {
2805
- if (!this.options.bubbleScroll || tt(r, !0) === qe()) {
2805
+ if (!this.options.bubbleScroll || et(r, !0) === qe()) {
2806
2806
  Jt();
2807
2807
  return;
2808
2808
  }
2809
- yo(e, this.options, tt(r, !1), !1);
2809
+ yo(e, this.options, et(r, !1), !1);
2810
2810
  }
2811
2811
  }
2812
2812
  }, Be(t, {
@@ -2825,23 +2825,23 @@ function Ko() {
2825
2825
  var yo = un(function(t, o, e, n) {
2826
2826
  if (o.scroll) {
2827
2827
  var l = (t.touches ? t.touches[0] : t).clientX, s = (t.touches ? t.touches[0] : t).clientY, a = o.scrollSensitivity, r = o.scrollSpeed, u = qe(), d = !1, m;
2828
- Vo !== e && (Vo = e, Jt(), Dt = o.scroll, m = o.scrollFn, Dt === !0 && (Dt = tt(e, !0)));
2829
- var f = 0, v = Dt;
2828
+ Vo !== e && (Vo = e, Jt(), Dt = o.scroll, m = o.scrollFn, Dt === !0 && (Dt = et(e, !0)));
2829
+ var h = 0, v = Dt;
2830
2830
  do {
2831
2831
  var c = v, b = re(c), g = b.top, y = b.bottom, x = b.left, M = b.right, C = b.width, D = b.height, w = void 0, $ = void 0, P = c.scrollWidth, F = c.scrollHeight, A = O(c), X = c.scrollLeft, W = c.scrollTop;
2832
2832
  c === u ? (w = C < P && (A.overflowX === "auto" || A.overflowX === "scroll" || A.overflowX === "visible"), $ = D < F && (A.overflowY === "auto" || A.overflowY === "scroll" || A.overflowY === "visible")) : (w = C < P && (A.overflowX === "auto" || A.overflowX === "scroll"), $ = D < F && (A.overflowY === "auto" || A.overflowY === "scroll"));
2833
2833
  var se = w && (Math.abs(M - l) <= a && X + C < P) - (Math.abs(x - l) <= a && !!X), H = $ && (Math.abs(y - s) <= a && W + D < F) - (Math.abs(g - s) <= a && !!W);
2834
- if (!be[f])
2835
- for (var ne = 0; ne <= f; ne++)
2834
+ if (!be[h])
2835
+ for (var ne = 0; ne <= h; ne++)
2836
2836
  be[ne] || (be[ne] = {});
2837
- (be[f].vx != se || be[f].vy != H || be[f].el !== c) && (be[f].el = c, be[f].vx = se, be[f].vy = H, clearInterval(be[f].pid), (se != 0 || H != 0) && (d = !0, be[f].pid = setInterval((function() {
2837
+ (be[h].vx != se || be[h].vy != H || be[h].el !== c) && (be[h].el = c, be[h].vx = se, be[h].vy = H, clearInterval(be[h].pid), (se != 0 || H != 0) && (d = !0, be[h].pid = setInterval((function() {
2838
2838
  n && this.layer === 0 && B.active._onTouchMove(no);
2839
2839
  var de = be[this.layer].vy ? be[this.layer].vy * r : 0, Ce = be[this.layer].vx ? be[this.layer].vx * r : 0;
2840
2840
  typeof m == "function" && m.call(B.dragged.parentNode[Ee], Ce, de, t, no, be[this.layer].el) !== "continue" || cn(be[this.layer].el, Ce, de);
2841
2841
  }).bind({
2842
- layer: f
2843
- }), 24))), f++;
2844
- } while (o.bubbleScroll && v !== u && (v = tt(v, !1)));
2842
+ layer: h
2843
+ }), 24))), h++;
2844
+ } while (o.bubbleScroll && v !== u && (v = et(v, !1)));
2845
2845
  Eo = d;
2846
2846
  }
2847
2847
  }, 30), _n = function(o) {
@@ -2849,8 +2849,8 @@ var yo = un(function(t, o, e, n) {
2849
2849
  if (e) {
2850
2850
  var d = n || s;
2851
2851
  r();
2852
- var m = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, f = document.elementFromPoint(m.clientX, m.clientY);
2853
- u(), d && !d.el.contains(f) && (a("spill"), this.onSpill({
2852
+ var m = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, h = document.elementFromPoint(m.clientX, m.clientY);
2853
+ u(), d && !d.el.contains(h) && (a("spill"), this.onSpill({
2854
2854
  dragEl: l,
2855
2855
  putSortable: n
2856
2856
  }));
@@ -2904,8 +2904,8 @@ function d2() {
2904
2904
  if (a.options.swap) {
2905
2905
  var d = this.sortable.el, m = this.options;
2906
2906
  if (l && l !== d) {
2907
- var f = Fe;
2908
- s(l) !== !1 ? (me(l, m.swapClass, !0), Fe = l) : Fe = null, f && f !== Fe && me(f, m.swapClass, !1);
2907
+ var h = Fe;
2908
+ s(l) !== !1 ? (me(l, m.swapClass, !0), Fe = l) : Fe = null, h && h !== Fe && me(h, m.swapClass, !1);
2909
2909
  }
2910
2910
  r(), n(!0), u();
2911
2911
  }
@@ -2930,7 +2930,7 @@ function u2(t, o) {
2930
2930
  var e = t.parentNode, n = o.parentNode, l, s;
2931
2931
  !e || !n || e.isEqualNode(o) || n.isEqualNode(t) || (l = ve(t), s = ve(o), e.isEqualNode(n) && l < s && s++, e.insertBefore(o, e.children[l]), n.insertBefore(t, n.children[s]));
2932
2932
  }
2933
- var q = [], Te = [], _t, Re, bt = !1, Ae = !1, mt = !1, ie, yt, Rt;
2933
+ var q = [], Te = [], _t, Re, bt = !1, Ae = !1, pt = !1, ie, yt, Rt;
2934
2934
  function c2() {
2935
2935
  function t(o) {
2936
2936
  for (var e in this)
@@ -2988,7 +2988,7 @@ function c2() {
2988
2988
  n.sortableIndex = ve(n);
2989
2989
  }), q = q.sort(function(n, l) {
2990
2990
  return n.sortableIndex - l.sortableIndex;
2991
- }), mt = !0;
2991
+ }), pt = !0;
2992
2992
  },
2993
2993
  dragStarted: function(e) {
2994
2994
  var n = this, l = e.sortable;
@@ -3033,8 +3033,8 @@ function c2() {
3033
3033
  }
3034
3034
  if (!l)
3035
3035
  if (Ae || qt(), q.length > 1) {
3036
- var f = Rt;
3037
- a._showClone(n), a.options.animation && !Rt && f && Te.forEach(function(v) {
3036
+ var h = Rt;
3037
+ a._showClone(n), a.options.animation && !Rt && h && Te.forEach(function(v) {
3038
3038
  a.addAnimationState({
3039
3039
  target: v,
3040
3040
  rect: yt
@@ -3050,7 +3050,7 @@ function c2() {
3050
3050
  r.thisAnimationDuration = null;
3051
3051
  }), s.options.animation && !l && s.multiDrag.isMultiDrag) {
3052
3052
  yt = Be({}, n);
3053
- var a = rt(ie, !0);
3053
+ var a = at(ie, !0);
3054
3054
  yt.top -= a.f, yt.left -= a.e;
3055
3055
  }
3056
3056
  },
@@ -3060,9 +3060,9 @@ function c2() {
3060
3060
  drop: function(e) {
3061
3061
  var n = e.originalEvent, l = e.rootEl, s = e.parentEl, a = e.sortable, r = e.dispatchSortableEvent, u = e.oldIndex, d = e.putSortable, m = d || this.sortable;
3062
3062
  if (n) {
3063
- var f = this.options, v = s.children;
3064
- if (!mt)
3065
- if (f.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), me(ie, f.selectedClass, !~q.indexOf(ie)), ~q.indexOf(ie))
3063
+ var h = this.options, v = s.children;
3064
+ if (!pt)
3065
+ if (h.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), me(ie, h.selectedClass, !~q.indexOf(ie)), ~q.indexOf(ie))
3066
3066
  q.splice(q.indexOf(ie), 1), _t = null, Ct({
3067
3067
  sortable: a,
3068
3068
  rootEl: l,
@@ -3082,7 +3082,7 @@ function c2() {
3082
3082
  if (~c && ~b && c !== b) {
3083
3083
  var g, y;
3084
3084
  for (b > c ? (y = c, g = b) : (y = b, g = c + 1); y < g; y++)
3085
- ~q.indexOf(v[y]) || (me(v[y], f.selectedClass, !0), q.push(v[y]), Ct({
3085
+ ~q.indexOf(v[y]) || (me(v[y], h.selectedClass, !0), q.push(v[y]), Ct({
3086
3086
  sortable: a,
3087
3087
  rootEl: l,
3088
3088
  name: "select",
@@ -3094,10 +3094,10 @@ function c2() {
3094
3094
  _t = ie;
3095
3095
  Re = m;
3096
3096
  }
3097
- if (mt && this.isMultiDrag) {
3097
+ if (pt && this.isMultiDrag) {
3098
3098
  if (Ae = !1, (s[Ee].options.sort || s !== l) && q.length > 1) {
3099
3099
  var x = re(ie), M = ve(ie, ":not(." + this.options.selectedClass + ")");
3100
- if (!bt && f.animation && (ie.thisAnimationDuration = null), m.captureAnimationState(), !bt && (f.animation && (ie.fromRect = x, q.forEach(function(D) {
3100
+ if (!bt && h.animation && (ie.thisAnimationDuration = null), m.captureAnimationState(), !bt && (h.animation && (ie.fromRect = x, q.forEach(function(D) {
3101
3101
  if (D.thisAnimationDuration = null, D !== ie) {
3102
3102
  var w = Ae ? re(D) : x;
3103
3103
  D.fromRect = w, m.addAnimationState({
@@ -3128,13 +3128,13 @@ function c2() {
3128
3128
  }
3129
3129
  },
3130
3130
  nullingGlobal: function() {
3131
- this.isMultiDrag = mt = !1, Te.length = 0;
3131
+ this.isMultiDrag = pt = !1, Te.length = 0;
3132
3132
  },
3133
3133
  destroyGlobal: function() {
3134
3134
  this._deselectMultiDrag(), Y(document, "pointerup", this._deselectMultiDrag), Y(document, "mouseup", this._deselectMultiDrag), Y(document, "touchend", this._deselectMultiDrag), Y(document, "keydown", this._checkKeyDown), Y(document, "keyup", this._checkKeyUp);
3135
3135
  },
3136
3136
  _deselectMultiDrag: function(e) {
3137
- if (!(typeof mt < "u" && mt) && Re === this.sortable && !(e && Ue(e.target, this.options.draggable, this.sortable.el, !1)) && !(e && e.button !== 0))
3137
+ if (!(typeof pt < "u" && pt) && Re === this.sortable && !(e && Ue(e.target, this.options.draggable, this.sortable.el, !1)) && !(e && e.button !== 0))
3138
3138
  for (; q.length; ) {
3139
3139
  var n = q[0];
3140
3140
  me(n, this.options.selectedClass, !1), q.shift(), Ct({
@@ -3218,7 +3218,7 @@ function qt() {
3218
3218
  }
3219
3219
  B.mount(new r2());
3220
3220
  B.mount(Lo, Io);
3221
- function st(t) {
3221
+ function it(t) {
3222
3222
  t.parentElement !== null && t.parentElement.removeChild(t);
3223
3223
  }
3224
3224
  function wt(t, o, e) {
@@ -3467,7 +3467,7 @@ function k2({ $slots: t, realList: o, getKey: e, itemDataSet: n }) {
3467
3467
  if (!u)
3468
3468
  throw new Error("draggable element must have an item slot");
3469
3469
  const d = s.flatMap(
3470
- (m, f) => u({ element: m, index: f }).map((v) => {
3470
+ (m, h) => u({ element: m, index: h }).map((v) => {
3471
3471
  v.key = e(m);
3472
3472
  const c = l == null ? void 0 : l(m);
3473
3473
  return c ? v.props = { ...v.props || {}, "data-draggable": !0, ...c } : v.props = { ...v.props || {}, "data-draggable": !0 }, v;
@@ -3494,7 +3494,7 @@ function z2({ $slots: t, tag: o, realList: e, getKey: n, itemDataSet: l }) {
3494
3494
  return new E2({ nodes: s, root: a, realList: e });
3495
3495
  }
3496
3496
  function Vn(t, o) {
3497
- ot(() => this.$emit(t.toLowerCase(), o));
3497
+ tt(() => this.$emit(t.toLowerCase(), o));
3498
3498
  }
3499
3499
  function En(t) {
3500
3500
  return (o, e) => {
@@ -3628,7 +3628,7 @@ const L2 = {
3628
3628
  return t.__draggable_component__;
3629
3629
  },
3630
3630
  emitChanges(t) {
3631
- ot(() => this.$emit("change", t));
3631
+ tt(() => this.$emit("change", t));
3632
3632
  },
3633
3633
  alterList(t) {
3634
3634
  if (this.list) {
@@ -3689,7 +3689,7 @@ const L2 = {
3689
3689
  const o = t.item._underlying_vm_multidrag_;
3690
3690
  if (o === void 0)
3691
3691
  return;
3692
- t.items.forEach((l) => st(l));
3692
+ t.items.forEach((l) => it(l));
3693
3693
  const e = this.getVmIndexFromDomIndex(t.newIndex);
3694
3694
  this.spliceList(e, 0, ...o);
3695
3695
  const n = o.map((l, s) => ({
@@ -3703,7 +3703,7 @@ const L2 = {
3703
3703
  if (e === void 0)
3704
3704
  return;
3705
3705
  const n = o ? t.from.children[t.oldIndex] : null;
3706
- st(t.item);
3706
+ it(t.item);
3707
3707
  let l = this.getVmIndexFromDomIndex(t.newIndex);
3708
3708
  o && (l = l === 0 ? 0 : l - 1), this.spliceList(l, o ? 1 : 0, e);
3709
3709
  const s = { element: e, newIndex: l, from: t.from, to: t.to };
@@ -3717,7 +3717,7 @@ const L2 = {
3717
3717
  newIndex: t.oldIndex,
3718
3718
  swap: !0
3719
3719
  };
3720
- ot(() => {
3720
+ tt(() => {
3721
3721
  const r = a.to.__draggable_component__;
3722
3722
  r.onDragStart(a), r.onDragAdd(a);
3723
3723
  });
@@ -3730,7 +3730,7 @@ const L2 = {
3730
3730
  if (e.forEach(({ multiDragElement: s, index: a }) => {
3731
3731
  wt(this.$el, s, a), s.parentNode && B.utils.deselect(s);
3732
3732
  }), t.pullMode === "clone") {
3733
- t.clones.forEach((s) => st(s));
3733
+ t.clones.forEach((s) => it(s));
3734
3734
  return;
3735
3735
  }
3736
3736
  const n = I2(e, o);
@@ -3743,7 +3743,7 @@ const L2 = {
3743
3743
  if (this._sortable.options && this._sortable.options.swap)
3744
3744
  return this.emitChanges({ removed: n });
3745
3745
  if (wt(this.$el, t.item, t.oldIndex), t.pullMode === "clone") {
3746
- st(t.clone);
3746
+ it(t.clone);
3747
3747
  return;
3748
3748
  }
3749
3749
  this.spliceList(o, 1), this.emitChanges({ removed: n });
@@ -3753,13 +3753,13 @@ const L2 = {
3753
3753
  },
3754
3754
  onDragUpdateMulti(t) {
3755
3755
  const { items: o, from: e } = t, n = (this.$slots.header ? this.$slots.header() : []).length || 0;
3756
- o.forEach((u) => st(u));
3756
+ o.forEach((u) => it(u));
3757
3757
  const l = Array.from(t.oldIndicies).sort(({ index: u }, { index: d }) => u - d);
3758
3758
  l.forEach((u) => wt(e, u.multiDragElement, u.index));
3759
3759
  const s = l.map(({ index: u }) => u - n), a = this.getVmIndexFromDomIndex(t.newIndex);
3760
3760
  this.updatePositions(Array.from(s), a);
3761
3761
  const r = s.map((u, d) => ({
3762
- element: this.multidragContexts.find((f) => f.index === u).element,
3762
+ element: this.multidragContexts.find((h) => h.index === u).element,
3763
3763
  oldIndex: u,
3764
3764
  newIndex: a + d
3765
3765
  }));
@@ -3767,7 +3767,7 @@ const L2 = {
3767
3767
  },
3768
3768
  onDragUpdateSingle(t) {
3769
3769
  const o = this._sortable.options && this._sortable.options.swap, e = o ? t.from.children[t.oldIndex] : null;
3770
- st(t.item), wt(t.from, t.item, t.oldIndex), o && (st(e), wt(t.from, e, t.newIndex));
3770
+ it(t.item), wt(t.from, t.item, t.oldIndex), o && (it(e), wt(t.from, e, t.newIndex));
3771
3771
  const n = this.context.index, l = this.getVmIndexFromDomIndex(t.newIndex);
3772
3772
  o ? this.swapPosition(n, l) : this.updatePosition(n, l);
3773
3773
  const s = { element: this.context.element, oldIndex: n, newIndex: l };
@@ -3877,8 +3877,8 @@ const O2 = /* @__PURE__ */ Z({
3877
3877
  setup(t) {
3878
3878
  let e = te("formDesignerData").selectComponent.props;
3879
3879
  return (n, l) => {
3880
- const s = V("el-color-picker"), a = V("el-form-item"), r = V("el-switch"), u = V("el-option"), d = V("el-select"), m = V("el-input-number"), f = V("el-form");
3881
- return h(), z(f, {
3880
+ const s = V("el-color-picker"), a = V("el-form-item"), r = V("el-switch"), u = V("el-option"), d = V("el-select"), m = V("el-input-number"), h = V("el-form");
3881
+ return f(), z(h, {
3882
3882
  "label-width": "80px",
3883
3883
  "label-suffix": ":",
3884
3884
  class: "group-layout-props-editor"
@@ -3902,7 +3902,7 @@ const O2 = /* @__PURE__ */ Z({
3902
3902
  ]),
3903
3903
  _: 1
3904
3904
  }),
3905
- i(e).showBorder ? (h(), E(Q, { key: 0 }, [
3905
+ i(e).showBorder ? (f(), E(Q, { key: 0 }, [
3906
3906
  p(a, { label: "边框样式" }, {
3907
3907
  default: _(() => [
3908
3908
  p(d, {
@@ -4010,12 +4010,12 @@ const P2 = ["onClick"], F2 = {
4010
4010
  const r = t, { components: u } = Se(r), d = o;
4011
4011
  K(u, () => d("update:components", u), { immediate: !0, deep: !0 });
4012
4012
  const m = (g) => {
4013
- g.added ? f(g.added.element) : g.moved && f(g.moved.element);
4014
- }, f = (g) => {
4015
- a.selectComponent = void 0, ot(() => a.selectComponent = g);
4013
+ g.added ? h(g.added.element) : g.moved && h(g.moved.element);
4014
+ }, h = (g) => {
4015
+ a.selectComponent = void 0, tt(() => a.selectComponent = g);
4016
4016
  }, v = (g) => {
4017
4017
  const y = c(g);
4018
- u.value.push(y), f(y);
4018
+ u.value.push(y), h(y);
4019
4019
  }, c = (g) => {
4020
4020
  var x, M;
4021
4021
  let y = l(g);
@@ -4039,7 +4039,7 @@ const P2 = ["onClick"], F2 = {
4039
4039
  };
4040
4040
  return (g, y) => {
4041
4041
  const x = V("el-form-item"), M = _e;
4042
- return h(), z(i(Ot), {
4042
+ return f(), z(i(Ot), {
4043
4043
  list: i(u),
4044
4044
  "item-key": "id",
4045
4045
  class: "form-draggable",
@@ -4049,22 +4049,22 @@ const P2 = ["onClick"], F2 = {
4049
4049
  }, {
4050
4050
  item: _(({ element: C, index: D }) => [
4051
4051
  S("div", {
4052
- onClick: Gt((w) => f(C), ["stop"]),
4052
+ onClick: Gt((w) => h(C), ["stop"]),
4053
4053
  class: we([
4054
4054
  "form-item-wrap",
4055
4055
  { "is-selected": i(a).selectComponent == C },
4056
4056
  { "is-hidden": !C.props.showFlag }
4057
4057
  ]),
4058
- style: dt({ width: `${C.props.width * 100 / i(s).props.column}%`, "padding-left": `${C.props.paddingLeft}px` })
4058
+ style: rt({ width: `${C.props.width * 100 / i(s).props.column}%`, "padding-left": `${C.props.paddingLeft}px` })
4059
4059
  }, [
4060
- C.isLayout ? (h(), z(It(e[C.type].renderer), {
4060
+ C.isLayout ? (f(), z(It(e[C.type].renderer), {
4061
4061
  key: 0,
4062
4062
  isDesigner: "",
4063
4063
  componentID: C.id,
4064
4064
  component: i(u)[D],
4065
4065
  "onUpdate:component": (w) => i(u)[D] = w,
4066
4066
  onDeleteComponent: y[0] || (y[0] = (w) => d("deleteComponent", w))
4067
- }, null, 40, ["componentID", "component", "onUpdate:component"])) : (h(), z(x, {
4067
+ }, null, 40, ["componentID", "component", "onUpdate:component"])) : (f(), z(x, {
4068
4068
  key: 1,
4069
4069
  prop: C.id,
4070
4070
  class: we(["form-item", { "label-new-line": C.props.labelNewLine }]),
@@ -4073,7 +4073,7 @@ const P2 = ["onClick"], F2 = {
4073
4073
  }, {
4074
4074
  label: _(() => [
4075
4075
  S("span", {
4076
- style: dt({
4076
+ style: rt({
4077
4077
  color: C.props.color || "#000000",
4078
4078
  "font-size": C.props.fontSize + "px",
4079
4079
  "font-weight": C.props.isBold ? "bold" : "normal"
@@ -4081,7 +4081,7 @@ const P2 = ["onClick"], F2 = {
4081
4081
  }, ee(C.props.showLabel ? C.props.label + ":" : ""), 5)
4082
4082
  ]),
4083
4083
  default: _(() => [
4084
- (h(), z(It(e[C.type].renderer), {
4084
+ (f(), z(It(e[C.type].renderer), {
4085
4085
  isDesigner: "",
4086
4086
  componentID: C.id,
4087
4087
  componentProps: C.props,
@@ -4092,8 +4092,8 @@ const P2 = ["onClick"], F2 = {
4092
4092
  ]),
4093
4093
  _: 2
4094
4094
  }, 1032, ["prop", "class", "label-width", "rules"])),
4095
- i(a).selectComponent == C ? (h(), E("div", F2, [
4096
- C.allowRepeat ? (h(), z(M, {
4095
+ i(a).selectComponent == C ? (f(), E("div", F2, [
4096
+ C.allowRepeat ? (f(), z(M, {
4097
4097
  key: 0,
4098
4098
  name: "copy",
4099
4099
  color: "#0000ff",
@@ -4156,25 +4156,25 @@ const U2 = /* @__PURE__ */ Z({
4156
4156
  }), a = o, r = (u) => {
4157
4157
  a("deleteComponent", u);
4158
4158
  };
4159
- return (u, d) => (h(), E("div", {
4159
+ return (u, d) => (f(), E("div", {
4160
4160
  class: we(["layout", "group-layout-component", { "is-designer": t.isDesigner }]),
4161
- style: dt(i(s))
4161
+ style: rt(i(s))
4162
4162
  }, [
4163
- i(n).props.showLabel ? (h(), E("div", {
4163
+ i(n).props.showLabel ? (f(), E("div", {
4164
4164
  key: 0,
4165
4165
  class: "group-title",
4166
- style: dt({
4166
+ style: rt({
4167
4167
  color: i(n).props.color,
4168
4168
  "font-size": i(n).props.fontSize + "px",
4169
4169
  "font-weight": i(n).props.isBold ? "bold" : "normal"
4170
4170
  })
4171
4171
  }, ee(i(n).props.label), 5)) : L("", !0),
4172
- t.isDesigner ? (h(), z(Sn, {
4172
+ t.isDesigner ? (f(), z(Sn, {
4173
4173
  key: 1,
4174
4174
  components: i(n).children,
4175
4175
  "onUpdate:components": d[0] || (d[0] = (m) => i(n).children = m),
4176
4176
  onDeleteComponent: r
4177
- }, null, 8, ["components"])) : (h(), z(kn, {
4177
+ }, null, 8, ["components"])) : (f(), z(kn, {
4178
4178
  key: 2,
4179
4179
  components: i(n).children,
4180
4180
  showDescription: i(l)
@@ -4210,8 +4210,8 @@ const N2 = { component: B2, renderer: U2, propEditor: O2 }, H2 = /* @__PURE__ */
4210
4210
  let e = te("formDesignerData").selectComponent.props;
4211
4211
  const n = N(e.fileSize);
4212
4212
  return K(n, () => e.fileSize = Number(n.value)), (l, s) => {
4213
- const a = V("el-switch"), r = V("el-form-item"), u = V("el-input-number"), d = V("el-option"), m = V("el-select"), f = V("el-input"), v = V("el-form");
4214
- return h(), z(v, {
4213
+ const a = V("el-switch"), r = V("el-form-item"), u = V("el-input-number"), d = V("el-option"), m = V("el-select"), h = V("el-input"), v = V("el-form");
4214
+ return f(), z(v, {
4215
4215
  "label-width": "80px",
4216
4216
  "label-suffix": ":",
4217
4217
  class: "upload-props-editor"
@@ -4239,7 +4239,7 @@ const N2 = { component: B2, renderer: U2, propEditor: O2 }, H2 = /* @__PURE__ */
4239
4239
  }),
4240
4240
  p(r, { label: "文件大小" }, {
4241
4241
  default: _(() => [
4242
- p(f, {
4242
+ p(h, {
4243
4243
  class: "file-size-input",
4244
4244
  type: "number",
4245
4245
  min: 0,
@@ -4269,7 +4269,7 @@ const N2 = { component: B2, renderer: U2, propEditor: O2 }, H2 = /* @__PURE__ */
4269
4269
  }),
4270
4270
  p(r, { label: "文件类型" }, {
4271
4271
  default: _(() => [
4272
- p(f, {
4272
+ p(h, {
4273
4273
  modelValue: i(e).fileType,
4274
4274
  "onUpdate:modelValue": s[4] || (s[4] = (c) => i(e).fileType = c),
4275
4275
  autosize: { minRows: 2, maxRows: 4 },
@@ -4328,7 +4328,7 @@ const R2 = { class: "upload-component" }, q2 = /* @__PURE__ */ S("span", { class
4328
4328
  },
4329
4329
  setup(t) {
4330
4330
  const { checkFile: o } = ke(), e = t;
4331
- let n = te("uploadOptions"), l = te("formType");
4331
+ let n = te("uploadOptions"), l = te("formData");
4332
4332
  const { datas: s, componentProps: a } = Se(e), r = N();
4333
4333
  s.value[e.componentID] || (s.value[e.componentID] = []);
4334
4334
  const u = (v) => {
@@ -4355,14 +4355,14 @@ const R2 = { class: "upload-component" }, q2 = /* @__PURE__ */ S("span", { class
4355
4355
  b !== -1 && s.value[e.componentID].splice(b, 1);
4356
4356
  }, m = (v) => {
4357
4357
  d(v, !1);
4358
- }, f = () => {
4358
+ }, h = () => {
4359
4359
  var c;
4360
4360
  let v = `最多只能上传${a.value.fileLimit}个文件`;
4361
4361
  (c = s.value[e.componentID]) != null && c.length && (v += `,您已上传了${s.value[e.componentID].length}个文件,最多还能选择${a.value.fileLimit - s.value[e.componentID].length}个文件`), ze("error", v);
4362
4362
  };
4363
4363
  return (v, c) => {
4364
4364
  const b = _e, g = V("el-button"), y = V("el-upload");
4365
- return h(), E("div", R2, [
4365
+ return f(), E("div", R2, [
4366
4366
  p(y, {
4367
4367
  ref_key: "uploadRef",
4368
4368
  ref: r,
@@ -4375,14 +4375,14 @@ const R2 = { class: "upload-component" }, q2 = /* @__PURE__ */ S("span", { class
4375
4375
  "file-list": i(s)[t.componentID],
4376
4376
  accept: i(a).fileType,
4377
4377
  "auto-upload": i(n).autoUpload,
4378
- "on-exceed": f,
4378
+ "on-exceed": h,
4379
4379
  "on-change": u,
4380
4380
  "on-remove": m
4381
4381
  }, {
4382
4382
  default: _(() => {
4383
4383
  var x;
4384
4384
  return [
4385
- i(a).fileLimit > (((x = i(s)[t.componentID]) == null ? void 0 : x.length) || 0) ? (h(), z(g, {
4385
+ i(a).fileLimit > (((x = i(s)[t.componentID]) == null ? void 0 : x.length) || 0) ? (f(), z(g, {
4386
4386
  key: 0,
4387
4387
  size: "large",
4388
4388
  color: "#409eff"
@@ -4402,12 +4402,12 @@ const R2 = { class: "upload-component" }, q2 = /* @__PURE__ */ S("span", { class
4402
4402
  }),
4403
4403
  _: 1
4404
4404
  }, 8, ["action", "headers", "data", "multiple", "limit", "file-list", "accept", "auto-upload"]),
4405
- t.isDesigner && i(a).description || t.showDescription && (i(l) === "2" || i(a).description) ? (h(), E("div", j2, [
4405
+ t.isDesigner && i(a).description || t.showDescription && (i(l).props.formType === "2" || i(a).description) ? (f(), E("div", j2, [
4406
4406
  p(b, {
4407
4407
  name: "tip",
4408
4408
  color: "#ff0000"
4409
4409
  }),
4410
- G(" " + ee(`${i(l) === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
4410
+ G(" " + ee(`${i(l).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
4411
4411
  ])) : L("", !0)
4412
4412
  ]);
4413
4413
  };
@@ -4440,8 +4440,8 @@ const X2 = { component: W2, renderer: G2, propEditor: H2 }, Y2 = /* @__PURE__ */
4440
4440
  let e = te("formDesignerData").selectComponent.props;
4441
4441
  const n = N(e.fileSize);
4442
4442
  return K(n, () => e.fileSize = Number(n.value)), (l, s) => {
4443
- const a = V("el-switch"), r = V("el-form-item"), u = V("el-input-number"), d = V("el-option"), m = V("el-select"), f = V("el-input"), v = V("el-form");
4444
- return h(), z(v, {
4443
+ const a = V("el-switch"), r = V("el-form-item"), u = V("el-input-number"), d = V("el-option"), m = V("el-select"), h = V("el-input"), v = V("el-form");
4444
+ return f(), z(v, {
4445
4445
  "label-width": "80px",
4446
4446
  "label-suffix": ":",
4447
4447
  class: "upload-props-editor"
@@ -4469,7 +4469,7 @@ const X2 = { component: W2, renderer: G2, propEditor: H2 }, Y2 = /* @__PURE__ */
4469
4469
  }),
4470
4470
  p(r, { label: "图片大小" }, {
4471
4471
  default: _(() => [
4472
- p(f, {
4472
+ p(h, {
4473
4473
  class: "file-size-input",
4474
4474
  type: "number",
4475
4475
  min: 0,
@@ -4499,7 +4499,7 @@ const X2 = { component: W2, renderer: G2, propEditor: H2 }, Y2 = /* @__PURE__ */
4499
4499
  }),
4500
4500
  p(r, { label: "图片类型" }, {
4501
4501
  default: _(() => [
4502
- p(f, {
4502
+ p(h, {
4503
4503
  modelValue: i(e).fileType,
4504
4504
  "onUpdate:modelValue": s[4] || (s[4] = (c) => i(e).fileType = c),
4505
4505
  autosize: { minRows: 2, maxRows: 4 },
@@ -4558,7 +4558,7 @@ const K2 = { class: "upload-image-component" }, J2 = { class: "el-upload-list__i
4558
4558
  },
4559
4559
  setup(t) {
4560
4560
  const { checkFile: o } = ke(), e = t;
4561
- let n = te("uploadOptions"), l = te("formType");
4561
+ let n = te("uploadOptions"), l = te("formData");
4562
4562
  const { datas: s, componentProps: a } = Se(e), r = N(), u = N();
4563
4563
  s.value[e.componentID] || (s.value[e.componentID] = []);
4564
4564
  const d = (c) => {
@@ -4583,7 +4583,7 @@ const K2 = { class: "upload-image-component" }, J2 = { class: "el-upload-list__i
4583
4583
  r.value.handleRemove(c);
4584
4584
  const b = s.value[e.componentID].findIndex((g) => g.url === c.url);
4585
4585
  b !== -1 && s.value[e.componentID].splice(b, 1);
4586
- }, f = () => {
4586
+ }, h = () => {
4587
4587
  u.value.$el.children[0].click();
4588
4588
  }, v = () => {
4589
4589
  var b;
@@ -4593,7 +4593,7 @@ const K2 = { class: "upload-image-component" }, J2 = { class: "el-upload-list__i
4593
4593
  return (c, b) => {
4594
4594
  var M;
4595
4595
  const g = _e, y = V("el-image"), x = V("el-upload");
4596
- return h(), E("div", K2, [
4596
+ return f(), E("div", K2, [
4597
4597
  p(x, {
4598
4598
  ref_key: "uploadImageRef",
4599
4599
  ref: r,
@@ -4631,7 +4631,7 @@ const K2 = { class: "upload-image-component" }, J2 = { class: "el-upload-list__i
4631
4631
  p(g, {
4632
4632
  name: "previewImage",
4633
4633
  color: "#00ff00",
4634
- onClick: f
4634
+ onClick: h
4635
4635
  })
4636
4636
  ]),
4637
4637
  S("span", Q2, [
@@ -4645,12 +4645,12 @@ const K2 = { class: "upload-image-component" }, J2 = { class: "el-upload-list__i
4645
4645
  ]),
4646
4646
  _: 1
4647
4647
  }, 8, ["class", "action", "headers", "data", "multiple", "limit", "file-list", "accept", "auto-upload"]),
4648
- t.isDesigner && i(a).description || t.showDescription && (i(l) === "2" || i(a).description) ? (h(), E("div", es, [
4648
+ t.isDesigner && i(a).description || t.showDescription && (i(l).props.formType === "2" || i(a).description) ? (f(), E("div", es, [
4649
4649
  p(g, {
4650
4650
  name: "tip",
4651
4651
  color: "#ff0000"
4652
4652
  }),
4653
- G(" " + ee(`${i(l) === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
4653
+ G(" " + ee(`${i(l).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
4654
4654
  ])) : L("", !0)
4655
4655
  ]);
4656
4656
  };
@@ -4697,8 +4697,8 @@ function ss(t, o = {}) {
4697
4697
  };
4698
4698
  return (r) => {
4699
4699
  const u = lo(t), d = lo(o.maxWait);
4700
- return e && s(e), u <= 0 || d !== void 0 && d <= 0 ? (n && (s(n), n = null), Promise.resolve(r())) : new Promise((m, f) => {
4701
- l = o.rejectOnCancel ? f : m, d && !n && (n = setTimeout(() => {
4700
+ return e && s(e), u <= 0 || d !== void 0 && d <= 0 ? (n && (s(n), n = null), Promise.resolve(r())) : new Promise((m, h) => {
4701
+ l = o.rejectOnCancel ? h : m, d && !n && (n = setTimeout(() => {
4702
4702
  e && s(e), n = null, m(r());
4703
4703
  }, d)), e = setTimeout(() => {
4704
4704
  n && s(n), n = null, m(r());
@@ -4725,12 +4725,12 @@ function us(t, o, e, n = {}) {
4725
4725
  passive: u = !1,
4726
4726
  eventName: d,
4727
4727
  deep: m = !1,
4728
- defaultValue: f,
4728
+ defaultValue: h,
4729
4729
  shouldEmit: v
4730
4730
  } = n, c = Fn(), b = e || (c == null ? void 0 : c.emit) || ((l = c == null ? void 0 : c.$emit) == null ? void 0 : l.bind(c)) || ((a = (s = c == null ? void 0 : c.proxy) == null ? void 0 : s.$emit) == null ? void 0 : a.bind(c == null ? void 0 : c.proxy));
4731
4731
  let g = d;
4732
4732
  o || (o = "modelValue"), g = g || `update:${o.toString()}`;
4733
- const y = (C) => r ? typeof r == "function" ? r(C) : ds(C) : C, x = () => ls(t[o]) ? y(t[o]) : f, M = (C) => {
4733
+ const y = (C) => r ? typeof r == "function" ? r(C) : ds(C) : C, x = () => ls(t[o]) ? y(t[o]) : h, M = (C) => {
4734
4734
  v ? v(C) && b(g, C) : b(g, C);
4735
4735
  };
4736
4736
  if (u) {
@@ -4739,7 +4739,7 @@ function us(t, o, e, n = {}) {
4739
4739
  return K(
4740
4740
  () => t[o],
4741
4741
  ($) => {
4742
- w || (w = !0, D.value = y($), ot(() => w = !1));
4742
+ w || (w = !0, D.value = y($), tt(() => w = !1));
4743
4743
  }
4744
4744
  ), K(
4745
4745
  D,
@@ -4786,7 +4786,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4786
4786
  r.value = !0, d(v).then((c) => {
4787
4787
  u.value = c, r.value = !1;
4788
4788
  });
4789
- }, f = (v, c) => {
4789
+ }, h = (v, c) => {
4790
4790
  const b = u.value.find((g) => g.value === v);
4791
4791
  e.options[c] = {
4792
4792
  label: b == null ? void 0 : b.label,
@@ -4795,7 +4795,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4795
4795
  };
4796
4796
  return (v, c) => {
4797
4797
  const b = V("el-radio-button"), g = V("el-radio-group"), y = V("el-form-item"), x = V("el-switch"), M = V("el-input-number"), C = V("el-divider"), D = _e, w = V("el-option"), $ = V("el-select"), P = V("el-button"), F = V("el-form");
4798
- return h(), z(F, {
4798
+ return f(), z(F, {
4799
4799
  "label-width": "80px",
4800
4800
  "label-suffix": ":",
4801
4801
  class: "employee-props-editor"
@@ -4833,7 +4833,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4833
4833
  ]),
4834
4834
  _: 1
4835
4835
  }),
4836
- i(e).type !== "selector" ? (h(), z(y, {
4836
+ i(e).type !== "selector" ? (f(), z(y, {
4837
4837
  key: 0,
4838
4838
  label: "人员换行"
4839
4839
  }, {
@@ -4844,7 +4844,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4844
4844
  }, null, 8, ["modelValue"])
4845
4845
  ]),
4846
4846
  _: 1
4847
- })) : (h(), z(y, {
4847
+ })) : (f(), z(y, {
4848
4848
  key: 1,
4849
4849
  label: "是否多选"
4850
4850
  }, {
@@ -4856,7 +4856,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4856
4856
  ]),
4857
4857
  _: 1
4858
4858
  })),
4859
- i(e).type === "checkbox" ? (h(), E(Q, { key: 2 }, [
4859
+ i(e).type === "checkbox" ? (f(), E(Q, { key: 2 }, [
4860
4860
  p(y, { label: "最少选择" }, {
4861
4861
  default: _(() => {
4862
4862
  var A;
@@ -4906,7 +4906,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4906
4906
  }, {
4907
4907
  item: _(({ element: A, index: X }) => [
4908
4908
  S("div", cs, [
4909
- i(e).options.length > 1 ? (h(), z(D, {
4909
+ i(e).options.length > 1 ? (f(), z(D, {
4910
4910
  key: 0,
4911
4911
  name: "move",
4912
4912
  color: "#ff0000",
@@ -4924,10 +4924,10 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4924
4924
  "remote-method": m,
4925
4925
  loading: i(r),
4926
4926
  "loading-text": "加载中……",
4927
- onChange: (W) => f(W, X)
4927
+ onChange: (W) => h(W, X)
4928
4928
  }, {
4929
4929
  default: _(() => [
4930
- (h(!0), E(Q, null, ge(i(u), (W, se) => (h(), z(w, {
4930
+ (f(!0), E(Q, null, ge(i(u), (W, se) => (f(), z(w, {
4931
4931
  key: se,
4932
4932
  label: W.label,
4933
4933
  value: W.value
@@ -4947,7 +4947,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4947
4947
  ]),
4948
4948
  _: 2
4949
4949
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "loading", "onChange"]),
4950
- i(o).selectComponent.allowModify ? (h(), z(D, {
4950
+ i(o).selectComponent.allowModify ? (f(), z(D, {
4951
4951
  key: 1,
4952
4952
  name: "delete",
4953
4953
  color: "#ff0000",
@@ -4961,7 +4961,7 @@ const cs = { class: "option-wrap" }, ps = { style: { float: "left" } }, ms = { s
4961
4961
  ]),
4962
4962
  _: 3
4963
4963
  }),
4964
- i(o).selectComponent.allowModify ? (h(), z(y, {
4964
+ i(o).selectComponent.allowModify ? (f(), z(y, {
4965
4965
  key: 3,
4966
4966
  class: "add-option"
4967
4967
  }, {
@@ -5043,7 +5043,7 @@ const hs = { class: "employee-component" }, vs = {
5043
5043
  emits: ["update:datas", "update:componentProps"],
5044
5044
  setup(t, { emit: o }) {
5045
5045
  const e = t;
5046
- let n = te("formType");
5046
+ let n = te("formData");
5047
5047
  const { datas: l, componentProps: s } = Se(e), a = N(l.value[e.componentID]);
5048
5048
  K(a, (m) => m ? l.value[e.componentID] = m : delete l.value[e.componentID]);
5049
5049
  const r = o;
@@ -5052,27 +5052,27 @@ const hs = { class: "employee-component" }, vs = {
5052
5052
  K(
5053
5053
  s,
5054
5054
  (m) => {
5055
- u.value = !1, ot(() => {
5055
+ u.value = !1, tt(() => {
5056
5056
  s.value.defaultValue = void 0, e.isDesigner && (a.value = s.value.defaultValue), u.value = !0;
5057
5057
  }), r("update:componentProps", m);
5058
5058
  },
5059
5059
  { immediate: !0 }
5060
5060
  );
5061
- const d = (m, f) => {
5062
- s.value.clearable && l.value[e.componentID] === f && (a.value = void 0, m.preventDefault());
5061
+ const d = (m, h) => {
5062
+ s.value.clearable && l.value[e.componentID] === h && (a.value = void 0, m.preventDefault());
5063
5063
  };
5064
- return (m, f) => {
5064
+ return (m, h) => {
5065
5065
  const v = V("el-radio"), c = V("el-radio-group"), b = V("el-checkbox"), g = V("el-checkbox-group"), y = V("el-option"), x = V("el-select"), M = _e;
5066
- return h(), E("div", hs, [
5067
- i(s).type === "radio" ? (h(), z(c, {
5066
+ return f(), E("div", hs, [
5067
+ i(s).type === "radio" ? (f(), z(c, {
5068
5068
  key: 0,
5069
5069
  class: we(["radio-type", { "new-line": i(s).newLine }]),
5070
5070
  modelValue: i(a),
5071
- "onUpdate:modelValue": f[0] || (f[0] = (C) => fe(a) ? a.value = C : null),
5071
+ "onUpdate:modelValue": h[0] || (h[0] = (C) => fe(a) ? a.value = C : null),
5072
5072
  disabled: t.disabled
5073
5073
  }, {
5074
5074
  default: _(() => [
5075
- (h(!0), E(Q, null, ge(i(s).options, (C, D) => (h(), z(v, {
5075
+ (f(!0), E(Q, null, ge(i(s).options, (C, D) => (f(), z(v, {
5076
5076
  key: D,
5077
5077
  value: C.value,
5078
5078
  onClick: (w) => d(w, C.value)
@@ -5085,17 +5085,17 @@ const hs = { class: "employee-component" }, vs = {
5085
5085
  ]),
5086
5086
  _: 1
5087
5087
  }, 8, ["class", "modelValue", "disabled"])) : L("", !0),
5088
- i(s).type === "checkbox" ? (h(), z(g, {
5088
+ i(s).type === "checkbox" ? (f(), z(g, {
5089
5089
  key: 1,
5090
5090
  class: we(["checkbox-type", { "new-line": i(s).newLine }]),
5091
5091
  modelValue: i(a),
5092
- "onUpdate:modelValue": f[1] || (f[1] = (C) => fe(a) ? a.value = C : null),
5092
+ "onUpdate:modelValue": h[1] || (h[1] = (C) => fe(a) ? a.value = C : null),
5093
5093
  disabled: t.disabled,
5094
5094
  min: i(s).min,
5095
5095
  max: i(s).max
5096
5096
  }, {
5097
5097
  default: _(() => [
5098
- (h(!0), E(Q, null, ge(i(s).options, (C, D) => (h(), z(b, {
5098
+ (f(!0), E(Q, null, ge(i(s).options, (C, D) => (f(), z(b, {
5099
5099
  value: C.value,
5100
5100
  key: D
5101
5101
  }, {
@@ -5107,16 +5107,16 @@ const hs = { class: "employee-component" }, vs = {
5107
5107
  ]),
5108
5108
  _: 1
5109
5109
  }, 8, ["class", "modelValue", "disabled", "min", "max"])) : L("", !0),
5110
- i(s).type === "selector" ? (h(), z(x, {
5110
+ i(s).type === "selector" ? (f(), z(x, {
5111
5111
  key: 2,
5112
5112
  class: "selector-type",
5113
5113
  modelValue: i(a),
5114
- "onUpdate:modelValue": f[2] || (f[2] = (C) => fe(a) ? a.value = C : null),
5114
+ "onUpdate:modelValue": h[2] || (h[2] = (C) => fe(a) ? a.value = C : null),
5115
5115
  multiple: i(s).multiple,
5116
5116
  placeholder: "请选择"
5117
5117
  }, {
5118
5118
  default: _(() => [
5119
- (h(!0), E(Q, null, ge(i(s).options, (C, D) => (h(), z(y, {
5119
+ (f(!0), E(Q, null, ge(i(s).options, (C, D) => (f(), z(y, {
5120
5120
  key: D,
5121
5121
  label: C.label,
5122
5122
  value: C.value
@@ -5124,12 +5124,12 @@ const hs = { class: "employee-component" }, vs = {
5124
5124
  ]),
5125
5125
  _: 1
5126
5126
  }, 8, ["modelValue", "multiple"])) : L("", !0),
5127
- t.isDesigner && i(s).description || t.showDescription && (i(n) === "2" || i(s).description) ? (h(), E("div", vs, [
5127
+ t.isDesigner && i(s).description || t.showDescription && (i(n).props.formType === "2" || i(s).description) ? (f(), E("div", vs, [
5128
5128
  p(M, {
5129
5129
  name: "tip",
5130
5130
  color: "#ff0000"
5131
5131
  }),
5132
- G(" " + ee(`${i(n) === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
5132
+ G(" " + ee(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
5133
5133
  ])) : L("", !0)
5134
5134
  ]);
5135
5135
  };
@@ -5219,8 +5219,8 @@ const ys = /* @__PURE__ */ Z({
5219
5219
  },
5220
5220
  { immediate: !0 }
5221
5221
  ), (s, a) => {
5222
- const r = V("el-option"), u = V("el-select"), d = V("el-form-item"), m = V("el-input-number"), f = V("el-switch"), v = V("el-form");
5223
- return h(), z(v, {
5222
+ const r = V("el-option"), u = V("el-select"), d = V("el-form-item"), m = V("el-input-number"), h = V("el-switch"), v = V("el-form");
5223
+ return f(), z(v, {
5224
5224
  "label-width": "80px",
5225
5225
  "label-suffix": ":"
5226
5226
  }, {
@@ -5234,7 +5234,7 @@ const ys = /* @__PURE__ */ Z({
5234
5234
  placeholder: "请选择默认值"
5235
5235
  }, {
5236
5236
  default: _(() => [
5237
- (h(!0), E(Q, null, ge(i(l), (c, b) => (h(), z(r, {
5237
+ (f(!0), E(Q, null, ge(i(l), (c, b) => (f(), z(r, {
5238
5238
  key: b,
5239
5239
  label: c.label,
5240
5240
  value: c.value
@@ -5258,7 +5258,7 @@ const ys = /* @__PURE__ */ Z({
5258
5258
  }),
5259
5259
  p(d, { label: "显示0分" }, {
5260
5260
  default: _(() => [
5261
- p(f, {
5261
+ p(h, {
5262
5262
  modelValue: i(e).showZero,
5263
5263
  "onUpdate:modelValue": a[2] || (a[2] = (c) => i(e).showZero = c)
5264
5264
  }, null, 8, ["modelValue"])
@@ -5267,7 +5267,7 @@ const ys = /* @__PURE__ */ Z({
5267
5267
  }),
5268
5268
  p(d, { label: "显示不考评" }, {
5269
5269
  default: _(() => [
5270
- p(f, {
5270
+ p(h, {
5271
5271
  modelValue: i(e).showNotGrade,
5272
5272
  "onUpdate:modelValue": a[3] || (a[3] = (c) => i(e).showNotGrade = c)
5273
5273
  }, null, 8, ["modelValue"])
@@ -5276,7 +5276,7 @@ const ys = /* @__PURE__ */ Z({
5276
5276
  }),
5277
5277
  p(d, { label: "分数倒序" }, {
5278
5278
  default: _(() => [
5279
- p(f, {
5279
+ p(h, {
5280
5280
  modelValue: i(e).scoreReverseFlag,
5281
5281
  "onUpdate:modelValue": a[4] || (a[4] = (c) => i(e).scoreReverseFlag = c)
5282
5282
  }, null, 8, ["modelValue"])
@@ -5285,7 +5285,7 @@ const ys = /* @__PURE__ */ Z({
5285
5285
  }),
5286
5286
  p(d, { label: "分数换行" }, {
5287
5287
  default: _(() => [
5288
- p(f, {
5288
+ p(h, {
5289
5289
  modelValue: i(e).newLine,
5290
5290
  "onUpdate:modelValue": a[5] || (a[5] = (c) => i(e).newLine = c)
5291
5291
  }, null, 8, ["modelValue"])
@@ -5294,7 +5294,7 @@ const ys = /* @__PURE__ */ Z({
5294
5294
  }),
5295
5295
  p(d, { label: "显示问题" }, {
5296
5296
  default: _(() => [
5297
- p(f, {
5297
+ p(h, {
5298
5298
  modelValue: i(e).showProblem,
5299
5299
  "onUpdate:modelValue": a[6] || (a[6] = (c) => i(e).showProblem = c)
5300
5300
  }, null, 8, ["modelValue"])
@@ -5303,7 +5303,7 @@ const ys = /* @__PURE__ */ Z({
5303
5303
  }),
5304
5304
  p(d, { label: "显示亮点" }, {
5305
5305
  default: _(() => [
5306
- p(f, {
5306
+ p(h, {
5307
5307
  modelValue: i(e).showBrightSpot,
5308
5308
  "onUpdate:modelValue": a[7] || (a[7] = (c) => i(e).showBrightSpot = c)
5309
5309
  }, null, 8, ["modelValue"])
@@ -5312,7 +5312,7 @@ const ys = /* @__PURE__ */ Z({
5312
5312
  }),
5313
5313
  p(d, { label: "显示备注" }, {
5314
5314
  default: _(() => [
5315
- p(f, {
5315
+ p(h, {
5316
5316
  modelValue: i(e).showRemark,
5317
5317
  "onUpdate:modelValue": a[8] || (a[8] = (c) => i(e).showRemark = c)
5318
5318
  }, null, 8, ["modelValue"])
@@ -5321,7 +5321,7 @@ const ys = /* @__PURE__ */ Z({
5321
5321
  }),
5322
5322
  p(d, { label: "单项否决" }, {
5323
5323
  default: _(() => [
5324
- p(f, {
5324
+ p(h, {
5325
5325
  modelValue: i(e).showVeto,
5326
5326
  "onUpdate:modelValue": a[9] || (a[9] = (c) => i(e).showVeto = c)
5327
5327
  }, null, 8, ["modelValue"])
@@ -5383,11 +5383,11 @@ const ys = /* @__PURE__ */ Z({
5383
5383
  }, m = (c) => ({
5384
5384
  start: (g) => g.value.toLowerCase().indexOf(c.toLowerCase()) === 0,
5385
5385
  random: (g) => g.value.indexOf(c) >= 0
5386
- })[n.matchMode], f = te("convertPX"), v = je(() => `${f(s.value)}px`);
5386
+ })[n.matchMode], h = te("convertPX"), v = je(() => `${h(s.value)}px`);
5387
5387
  return (c, b) => {
5388
5388
  const g = V("el-autocomplete");
5389
- return h(), E("div", ws, [
5390
- t.label ? (h(), E("span", Cs, ee(t.label), 1)) : L("", !0),
5389
+ return f(), E("div", ws, [
5390
+ t.label ? (f(), E("span", Cs, ee(t.label), 1)) : L("", !0),
5391
5391
  p(g, {
5392
5392
  ref_key: "autoCompleteRef",
5393
5393
  ref: e,
@@ -5461,17 +5461,17 @@ const Ds = { class: "grade-component" }, Vs = {
5461
5461
  emits: ["update:datas"],
5462
5462
  setup(t, { emit: o }) {
5463
5463
  const e = t, { getGradeItems: n } = Ao();
5464
- let l = te("formType");
5464
+ let l = te("formData");
5465
5465
  const { datas: s, componentProps: a } = Se(e), r = N(s.value[e.componentID] || {});
5466
5466
  K(
5467
5467
  r,
5468
- (f) => {
5469
- s.value[e.componentID] = f, Object.keys(s.value[e.componentID] || {}).length && (s.value[e.componentID].maxScore = a.value.maxScore);
5468
+ (h) => {
5469
+ s.value[e.componentID] = h, Object.keys(s.value[e.componentID] || {}).length && (s.value[e.componentID].maxScore = a.value.maxScore);
5470
5470
  },
5471
5471
  { deep: !0 }
5472
5472
  );
5473
5473
  const u = je(() => n(a.value)), d = o;
5474
- K(s, (f) => d("update:datas", f)), K(
5474
+ K(s, (h) => d("update:datas", h)), K(
5475
5475
  a,
5476
5476
  () => {
5477
5477
  e.isDesigner && (r.value = a.value.defaultValue ? { score: a.value.defaultValue } : {});
@@ -5481,12 +5481,12 @@ const Ds = { class: "grade-component" }, Vs = {
5481
5481
  deep: !0
5482
5482
  }
5483
5483
  );
5484
- const m = (f, v) => {
5485
- a.value.clearable && r.value.score === v && (delete r.value.score, f.preventDefault());
5484
+ const m = (h, v) => {
5485
+ a.value.clearable && r.value.score === v && (delete r.value.score, h.preventDefault());
5486
5486
  };
5487
- return (f, v) => {
5487
+ return (h, v) => {
5488
5488
  const c = V("el-radio"), b = V("el-radio-group"), g = xs, y = _e;
5489
- return h(), E("div", Ds, [
5489
+ return f(), E("div", Ds, [
5490
5490
  p(b, {
5491
5491
  class: we(["grade-items", { "new-line": i(a).newLine }]),
5492
5492
  modelValue: i(r).score,
@@ -5494,7 +5494,7 @@ const Ds = { class: "grade-component" }, Vs = {
5494
5494
  disabled: t.disabled
5495
5495
  }, {
5496
5496
  default: _(() => [
5497
- (h(!0), E(Q, null, ge(i(u), (x, M) => (h(), z(c, {
5497
+ (f(!0), E(Q, null, ge(i(u), (x, M) => (f(), z(c, {
5498
5498
  key: M,
5499
5499
  value: x.value,
5500
5500
  onClick: (C) => m(C, x.value)
@@ -5507,7 +5507,7 @@ const Ds = { class: "grade-component" }, Vs = {
5507
5507
  ]),
5508
5508
  _: 1
5509
5509
  }, 8, ["class", "modelValue", "disabled"]),
5510
- i(a).showProblem ? (h(), z(g, {
5510
+ i(a).showProblem ? (f(), z(g, {
5511
5511
  key: 0,
5512
5512
  class: "problem",
5513
5513
  modelValue: i(r).problem,
@@ -5519,7 +5519,7 @@ const Ds = { class: "grade-component" }, Vs = {
5519
5519
  disabled: t.disabled,
5520
5520
  options: i(a).remarkOptions
5521
5521
  }, null, 8, ["modelValue", "disabled", "options"])) : L("", !0),
5522
- i(a).showBrightSpot ? (h(), z(g, {
5522
+ i(a).showBrightSpot ? (f(), z(g, {
5523
5523
  key: 1,
5524
5524
  class: "bright-spot",
5525
5525
  modelValue: i(r).brightSpot,
@@ -5531,7 +5531,7 @@ const Ds = { class: "grade-component" }, Vs = {
5531
5531
  disabled: t.disabled,
5532
5532
  options: i(a).remarkOptions
5533
5533
  }, null, 8, ["modelValue", "disabled", "options"])) : L("", !0),
5534
- i(a).showRemark ? (h(), z(g, {
5534
+ i(a).showRemark ? (f(), z(g, {
5535
5535
  key: 2,
5536
5536
  class: "bright-spot",
5537
5537
  modelValue: i(r).remark,
@@ -5543,12 +5543,12 @@ const Ds = { class: "grade-component" }, Vs = {
5543
5543
  disabled: t.disabled,
5544
5544
  options: i(a).remarkOptions
5545
5545
  }, null, 8, ["modelValue", "disabled", "options"])) : L("", !0),
5546
- t.isDesigner && i(a).description || t.showDescription && (i(l) === "2" || i(a).description) ? (h(), E("div", Vs, [
5546
+ t.isDesigner && i(a).description || t.showDescription && (i(l).props.formType === "2" || i(a).description) ? (f(), E("div", Vs, [
5547
5547
  p(y, {
5548
5548
  name: "tip",
5549
5549
  color: "#ff0000"
5550
5550
  }),
5551
- G(" " + ee(`${i(l) === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
5551
+ G(" " + ee(`${i(l).props.formType === "1" ? "项目说明" : "答案解析"}:${i(a).description || "无"}`), 1)
5552
5552
  ])) : L("", !0)
5553
5553
  ]);
5554
5554
  };
@@ -5637,8 +5637,8 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5637
5637
  e.type === "radio" ? (e.defaultValue = "", e.min = void 0, e.max = void 0, e.multiple = void 0) : e.type === "checkbox" ? (e.defaultValue = [], e.multiple = void 0) : e.type === "selector" && (e.defaultValue = "", e.min = void 0, e.max = void 0);
5638
5638
  };
5639
5639
  return (l, s) => {
5640
- const a = V("el-radio-button"), r = V("el-radio-group"), u = V("el-form-item"), d = V("el-switch"), m = V("el-input-number"), f = V("el-form");
5641
- return h(), z(f, {
5640
+ const a = V("el-radio-button"), r = V("el-radio-group"), u = V("el-form-item"), d = V("el-switch"), m = V("el-input-number"), h = V("el-form");
5641
+ return f(), z(h, {
5642
5642
  "label-width": "80px",
5643
5643
  "label-suffix": ":"
5644
5644
  }, {
@@ -5675,7 +5675,7 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5675
5675
  ]),
5676
5676
  _: 1
5677
5677
  }),
5678
- i(e).type !== "selector" ? (h(), z(u, {
5678
+ i(e).type !== "selector" ? (f(), z(u, {
5679
5679
  key: 0,
5680
5680
  label: "岗位换行"
5681
5681
  }, {
@@ -5686,7 +5686,7 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5686
5686
  }, null, 8, ["modelValue"])
5687
5687
  ]),
5688
5688
  _: 1
5689
- })) : (h(), z(u, {
5689
+ })) : (f(), z(u, {
5690
5690
  key: 1,
5691
5691
  label: "是否多选"
5692
5692
  }, {
@@ -5698,7 +5698,7 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5698
5698
  ]),
5699
5699
  _: 1
5700
5700
  })),
5701
- i(e).type === "checkbox" ? (h(), E(Q, { key: 2 }, [
5701
+ i(e).type === "checkbox" ? (f(), E(Q, { key: 2 }, [
5702
5702
  p(u, { label: "最少选择" }, {
5703
5703
  default: _(() => {
5704
5704
  var v;
@@ -5787,7 +5787,7 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5787
5787
  emits: ["update:datas", "update:componentProps"],
5788
5788
  setup(t, { emit: o }) {
5789
5789
  const e = t;
5790
- let n = te("formType");
5790
+ let n = te("formData");
5791
5791
  const { datas: l, componentProps: s } = Se(e), a = N(l.value[e.componentID]);
5792
5792
  K(a, (m) => m ? l.value[e.componentID] = m : delete l.value[e.componentID]);
5793
5793
  const r = o;
@@ -5796,27 +5796,27 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5796
5796
  K(
5797
5797
  s,
5798
5798
  (m) => {
5799
- u.value = !1, ot(() => {
5799
+ u.value = !1, tt(() => {
5800
5800
  s.value.defaultValue = void 0, e.isDesigner && (a.value = s.value.defaultValue), u.value = !0;
5801
5801
  }), r("update:componentProps", m);
5802
5802
  },
5803
5803
  { immediate: !0 }
5804
5804
  );
5805
- const d = (m, f) => {
5806
- s.value.clearable && l.value[e.componentID] === f && (a.value = void 0, m.preventDefault());
5805
+ const d = (m, h) => {
5806
+ s.value.clearable && l.value[e.componentID] === h && (a.value = void 0, m.preventDefault());
5807
5807
  };
5808
- return (m, f) => {
5808
+ return (m, h) => {
5809
5809
  const v = V("el-radio"), c = V("el-radio-group"), b = V("el-checkbox"), g = V("el-checkbox-group"), y = V("el-option"), x = V("el-select"), M = _e;
5810
- return h(), E("div", Is, [
5811
- i(s).type === "radio" ? (h(), z(c, {
5810
+ return f(), E("div", Is, [
5811
+ i(s).type === "radio" ? (f(), z(c, {
5812
5812
  key: 0,
5813
5813
  class: we(["radio-type", { "new-line": i(s).newLine }]),
5814
5814
  modelValue: i(a),
5815
- "onUpdate:modelValue": f[0] || (f[0] = (C) => fe(a) ? a.value = C : null),
5815
+ "onUpdate:modelValue": h[0] || (h[0] = (C) => fe(a) ? a.value = C : null),
5816
5816
  disabled: t.disabled
5817
5817
  }, {
5818
5818
  default: _(() => [
5819
- (h(!0), E(Q, null, ge(i(s).options, (C, D) => (h(), z(v, {
5819
+ (f(!0), E(Q, null, ge(i(s).options, (C, D) => (f(), z(v, {
5820
5820
  key: D,
5821
5821
  value: C.value,
5822
5822
  onClick: (w) => d(w, C.value)
@@ -5829,17 +5829,17 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5829
5829
  ]),
5830
5830
  _: 1
5831
5831
  }, 8, ["class", "modelValue", "disabled"])) : L("", !0),
5832
- i(s).type === "checkbox" ? (h(), z(g, {
5832
+ i(s).type === "checkbox" ? (f(), z(g, {
5833
5833
  key: 1,
5834
5834
  class: we(["checkbox-type", { "new-line": i(s).newLine }]),
5835
5835
  modelValue: i(a),
5836
- "onUpdate:modelValue": f[1] || (f[1] = (C) => fe(a) ? a.value = C : null),
5836
+ "onUpdate:modelValue": h[1] || (h[1] = (C) => fe(a) ? a.value = C : null),
5837
5837
  disabled: t.disabled,
5838
5838
  min: i(s).min,
5839
5839
  max: i(s).max
5840
5840
  }, {
5841
5841
  default: _(() => [
5842
- (h(!0), E(Q, null, ge(i(s).options, (C, D) => (h(), z(b, {
5842
+ (f(!0), E(Q, null, ge(i(s).options, (C, D) => (f(), z(b, {
5843
5843
  value: C.value,
5844
5844
  key: D
5845
5845
  }, {
@@ -5851,16 +5851,16 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5851
5851
  ]),
5852
5852
  _: 1
5853
5853
  }, 8, ["class", "modelValue", "disabled", "min", "max"])) : L("", !0),
5854
- i(s).type === "selector" ? (h(), z(x, {
5854
+ i(s).type === "selector" ? (f(), z(x, {
5855
5855
  key: 2,
5856
5856
  class: "selector-type",
5857
5857
  modelValue: i(a),
5858
- "onUpdate:modelValue": f[2] || (f[2] = (C) => fe(a) ? a.value = C : null),
5858
+ "onUpdate:modelValue": h[2] || (h[2] = (C) => fe(a) ? a.value = C : null),
5859
5859
  multiple: i(s).multiple,
5860
5860
  placeholder: "请选择"
5861
5861
  }, {
5862
5862
  default: _(() => [
5863
- (h(!0), E(Q, null, ge(i(s).options, (C, D) => (h(), z(y, {
5863
+ (f(!0), E(Q, null, ge(i(s).options, (C, D) => (f(), z(y, {
5864
5864
  key: D,
5865
5865
  label: C.label,
5866
5866
  value: C.value
@@ -5868,12 +5868,12 @@ const zs = { component: Ms, renderer: Es, propEditor: ys }, $s = /* @__PURE__ */
5868
5868
  ]),
5869
5869
  _: 1
5870
5870
  }, 8, ["modelValue", "multiple"])) : L("", !0),
5871
- t.isDesigner && i(s).description || t.showDescription && (i(n) === "2" || i(s).description) ? (h(), E("div", Ls, [
5871
+ t.isDesigner && i(s).description || t.showDescription && (i(n).props.formType === "2" || i(s).description) ? (f(), E("div", Ls, [
5872
5872
  p(M, {
5873
5873
  name: "tip",
5874
5874
  color: "#ff0000"
5875
5875
  }),
5876
- G(" " + ee(`${i(n) === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
5876
+ G(" " + ee(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
5877
5877
  ])) : L("", !0)
5878
5878
  ]);
5879
5879
  };
@@ -5976,10 +5976,10 @@ const Os = { component: Ts, renderer: As, propEditor: $s }, Ps = { class: "dicti
5976
5976
  let r = N([]);
5977
5977
  const u = (b) => {
5978
5978
  r.value = b ? d(b) : n.dictionary.dictionaryItems;
5979
- }, d = (b) => n.dictionary.dictionaryItems.filter((g) => g.label.toLocaleLowerCase().includes(b.toLocaleLowerCase())), m = o, { getTempID: f } = ke(), v = (b) => {
5979
+ }, d = (b) => n.dictionary.dictionaryItems.filter((g) => g.label.toLocaleLowerCase().includes(b.toLocaleLowerCase())), m = o, { getTempID: h } = ke(), v = (b) => {
5980
5980
  let g = r.value.find((y) => y.value === b);
5981
5981
  g || (g = {
5982
- value: f(),
5982
+ value: h(),
5983
5983
  label: b,
5984
5984
  itemSourceType: e
5985
5985
  }), m("update:modelValue", g.label), m("change", g);
@@ -5987,8 +5987,8 @@ const Os = { component: Ts, renderer: As, propEditor: $s }, Ps = { class: "dicti
5987
5987
  return (b, g) => {
5988
5988
  var M;
5989
5989
  const y = V("el-select-v2"), x = V("el-input");
5990
- return h(), E("div", Ps, [
5991
- (M = t.dictionary) != null && M.dictionaryItems.length ? (h(), z(y, {
5990
+ return f(), E("div", Ps, [
5991
+ (M = t.dictionary) != null && M.dictionaryItems.length ? (f(), z(y, {
5992
5992
  key: 0,
5993
5993
  modelValue: i(s),
5994
5994
  "onUpdate:modelValue": g[0] || (g[0] = (C) => fe(s) ? s.value = C : null),
@@ -6009,11 +6009,11 @@ const Os = { component: Ts, renderer: As, propEditor: $s }, Ps = { class: "dicti
6009
6009
  default: _(({ item: C }) => [
6010
6010
  S("div", Fs, [
6011
6011
  S("span", Us, ee(C.label), 1),
6012
- i(l) ? (h(), E("span", Bs, ee(i(a).get(C.itemSourceType)), 1)) : L("", !0)
6012
+ i(l) ? (f(), E("span", Bs, ee(i(a).get(C.itemSourceType)), 1)) : L("", !0)
6013
6013
  ])
6014
6014
  ]),
6015
6015
  _: 1
6016
- }, 8, ["modelValue", "placeholder", "options", "item-height", "height", "disabled"])) : (h(), z(x, {
6016
+ }, 8, ["modelValue", "placeholder", "options", "item-height", "height", "disabled"])) : (f(), z(x, {
6017
6017
  key: 1,
6018
6018
  modelValue: i(s),
6019
6019
  "onUpdate:modelValue": g[1] || (g[1] = (C) => fe(s) ? s.value = C : null),
@@ -6051,8 +6051,8 @@ const Ns = { class: "option-wrap" }, Hs = /* @__PURE__ */ Z({
6051
6051
  d.value = u.value, d.itemSourceType = u.itemSourceType;
6052
6052
  };
6053
6053
  return (u, d) => {
6054
- const m = V("el-option"), f = V("el-select"), v = V("el-form-item"), c = V("el-switch"), b = V("el-input-number"), g = V("el-divider"), y = _e, x = V("el-checkbox"), M = V("el-tooltip"), C = V("el-button"), D = V("el-form");
6055
- return h(), z(D, {
6054
+ const m = V("el-option"), h = V("el-select"), v = V("el-form-item"), c = V("el-switch"), b = V("el-input-number"), g = V("el-divider"), y = _e, x = V("el-checkbox"), M = V("el-tooltip"), C = V("el-button"), D = V("el-form");
6055
+ return f(), z(D, {
6056
6056
  "label-width": "80px",
6057
6057
  "label-suffix": ":",
6058
6058
  class: "checkbox-props-editor"
@@ -6060,7 +6060,7 @@ const Ns = { class: "option-wrap" }, Hs = /* @__PURE__ */ Z({
6060
6060
  default: _(() => [
6061
6061
  p(v, { label: "默认值" }, {
6062
6062
  default: _(() => [
6063
- p(f, {
6063
+ p(h, {
6064
6064
  modelValue: i(n).defaultValue,
6065
6065
  "onUpdate:modelValue": d[0] || (d[0] = (w) => i(n).defaultValue = w),
6066
6066
  multiple: "",
@@ -6068,7 +6068,7 @@ const Ns = { class: "option-wrap" }, Hs = /* @__PURE__ */ Z({
6068
6068
  placeholder: "请选择默认值"
6069
6069
  }, {
6070
6070
  default: _(() => [
6071
- (h(!0), E(Q, null, ge(i(n).options, (w, $) => (h(), z(m, {
6071
+ (f(!0), E(Q, null, ge(i(n).options, (w, $) => (f(), z(m, {
6072
6072
  key: $,
6073
6073
  label: w.label,
6074
6074
  value: w.value
@@ -6132,7 +6132,7 @@ const Ns = { class: "option-wrap" }, Hs = /* @__PURE__ */ Z({
6132
6132
  }, {
6133
6133
  item: _(({ element: w, index: $ }) => [
6134
6134
  S("div", Ns, [
6135
- i(n).options.length > 1 ? (h(), z(y, {
6135
+ i(n).options.length > 1 ? (f(), z(y, {
6136
6136
  key: 0,
6137
6137
  name: "move",
6138
6138
  color: "#ff0000",
@@ -6163,7 +6163,7 @@ const Ns = { class: "option-wrap" }, Hs = /* @__PURE__ */ Z({
6163
6163
  ]),
6164
6164
  _: 2
6165
6165
  }, 1024),
6166
- i(o).selectComponent.allowModify ? (h(), z(y, {
6166
+ i(o).selectComponent.allowModify ? (f(), z(y, {
6167
6167
  key: 1,
6168
6168
  name: "delete",
6169
6169
  color: "#ff0000",
@@ -6177,7 +6177,7 @@ const Ns = { class: "option-wrap" }, Hs = /* @__PURE__ */ Z({
6177
6177
  ]),
6178
6178
  _: 1
6179
6179
  }),
6180
- i(o).selectComponent.allowModify ? (h(), z(v, {
6180
+ i(o).selectComponent.allowModify ? (f(), z(v, {
6181
6181
  key: 0,
6182
6182
  class: "add-option"
6183
6183
  }, {
@@ -6259,7 +6259,7 @@ const Rs = { class: "checkbox-component" }, qs = {
6259
6259
  emits: ["update:datas"],
6260
6260
  setup(t, { emit: o }) {
6261
6261
  const e = t;
6262
- let n = te("formType");
6262
+ let n = te("formData");
6263
6263
  const { datas: l, componentProps: s } = Se(e), a = N(l.value[e.componentID]);
6264
6264
  K(a, (d) => l.value[e.componentID] = d);
6265
6265
  const r = o;
@@ -6272,13 +6272,13 @@ const Rs = { class: "checkbox-component" }, qs = {
6272
6272
  );
6273
6273
  const u = (d) => {
6274
6274
  s.value.options.forEach((m) => {
6275
- const f = `${e.componentID}||${m.value}`;
6276
- !d.includes(m.value) && l.value[f] && delete l.value[f];
6275
+ const h = `${e.componentID}||${m.value}`;
6276
+ !d.includes(m.value) && l.value[h] && delete l.value[h];
6277
6277
  });
6278
6278
  };
6279
6279
  return (d, m) => {
6280
- const f = V("el-checkbox"), v = V("el-input"), c = V("el-checkbox-group"), b = _e;
6281
- return h(), E("div", Rs, [
6280
+ const h = V("el-checkbox"), v = V("el-input"), c = V("el-checkbox-group"), b = _e;
6281
+ return f(), E("div", Rs, [
6282
6282
  p(c, {
6283
6283
  class: we({ "new-line": i(s).newLine }),
6284
6284
  modelValue: i(a),
@@ -6289,13 +6289,13 @@ const Rs = { class: "checkbox-component" }, qs = {
6289
6289
  onChange: u
6290
6290
  }, {
6291
6291
  default: _(() => [
6292
- (h(!0), E(Q, null, ge(i(s).options, (g, y) => {
6292
+ (f(!0), E(Q, null, ge(i(s).options, (g, y) => {
6293
6293
  var x;
6294
- return h(), E("div", {
6294
+ return f(), E("div", {
6295
6295
  class: "checkbox-wrap",
6296
6296
  key: y
6297
6297
  }, [
6298
- p(f, {
6298
+ p(h, {
6299
6299
  value: g.value
6300
6300
  }, {
6301
6301
  default: _(() => [
@@ -6303,7 +6303,7 @@ const Rs = { class: "checkbox-component" }, qs = {
6303
6303
  ]),
6304
6304
  _: 2
6305
6305
  }, 1032, ["value"]),
6306
- g.inputEnable && (t.isDesigner || (x = i(a)) != null && x.includes(g.value)) ? (h(), z(v, {
6306
+ g.inputEnable && (t.isDesigner || (x = i(a)) != null && x.includes(g.value)) ? (f(), z(v, {
6307
6307
  key: 0,
6308
6308
  class: "option-input",
6309
6309
  modelValue: i(l)[`${t.componentID}||${g.value}`],
@@ -6314,12 +6314,12 @@ const Rs = { class: "checkbox-component" }, qs = {
6314
6314
  ]),
6315
6315
  _: 1
6316
6316
  }, 8, ["class", "modelValue", "disabled", "min", "max"]),
6317
- t.isDesigner && i(s).description || t.showDescription && (i(n) === "2" || i(s).description) ? (h(), E("div", qs, [
6317
+ t.isDesigner && i(s).description || t.showDescription && (i(n).props.formType === "2" || i(s).description) ? (f(), E("div", qs, [
6318
6318
  p(b, {
6319
6319
  name: "tip",
6320
6320
  color: "#ff0000"
6321
6321
  }),
6322
- G(" " + ee(`${i(n) === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
6322
+ G(" " + ee(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
6323
6323
  ])) : L("", !0)
6324
6324
  ]);
6325
6325
  };
@@ -6391,13 +6391,13 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6391
6391
  u === "text" && (n.showPassword = !1);
6392
6392
  };
6393
6393
  return (u, d) => {
6394
- const m = V("el-input"), f = V("el-form-item"), v = V("el-radio-button"), c = V("el-radio-group"), b = V("el-switch"), g = V("el-form");
6395
- return h(), z(g, {
6394
+ const m = V("el-input"), h = V("el-form-item"), v = V("el-radio-button"), c = V("el-radio-group"), b = V("el-switch"), g = V("el-form");
6395
+ return f(), z(g, {
6396
6396
  "label-width": "80px",
6397
6397
  "label-suffix": ":"
6398
6398
  }, {
6399
6399
  default: _(() => [
6400
- p(f, { label: "默认值" }, {
6400
+ p(h, { label: "默认值" }, {
6401
6401
  default: _(() => [
6402
6402
  p(m, {
6403
6403
  modelValue: i(n).defaultValue,
@@ -6407,7 +6407,7 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6407
6407
  ]),
6408
6408
  _: 1
6409
6409
  }),
6410
- p(f, { label: "类型" }, {
6410
+ p(h, { label: "类型" }, {
6411
6411
  default: _(() => [
6412
6412
  p(c, {
6413
6413
  modelValue: i(n).type,
@@ -6433,7 +6433,7 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6433
6433
  ]),
6434
6434
  _: 1
6435
6435
  }),
6436
- i(n).type == "password" ? (h(), z(f, {
6436
+ i(n).type == "password" ? (f(), z(h, {
6437
6437
  key: 0,
6438
6438
  label: "显示密码"
6439
6439
  }, {
@@ -6445,7 +6445,7 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6445
6445
  ]),
6446
6446
  _: 1
6447
6447
  })) : L("", !0),
6448
- p(f, { label: "正则验证" }, {
6448
+ p(h, { label: "正则验证" }, {
6449
6449
  default: _(() => [
6450
6450
  p(m, {
6451
6451
  onChange: s,
@@ -6455,7 +6455,7 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6455
6455
  ]),
6456
6456
  _: 1
6457
6457
  }),
6458
- i(n).pattern ? (h(), z(f, {
6458
+ i(n).pattern ? (f(), z(h, {
6459
6459
  key: 1,
6460
6460
  label: "正则提示"
6461
6461
  }, {
@@ -6532,7 +6532,7 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6532
6532
  emits: ["update:datas"],
6533
6533
  setup(t, { emit: o }) {
6534
6534
  const e = t;
6535
- let n = te("formType");
6535
+ let n = te("formData");
6536
6536
  const { datas: l, componentProps: s } = Se(e), a = N(l.value[e.componentID]);
6537
6537
  K(a, (u) => l.value[e.componentID] = u);
6538
6538
  const r = o;
@@ -6543,8 +6543,8 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6543
6543
  },
6544
6544
  { immediate: !0, deep: !0 }
6545
6545
  ), (u, d) => {
6546
- const m = V("el-input"), f = _e;
6547
- return h(), E("div", Ys, [
6546
+ const m = V("el-input"), h = _e;
6547
+ return f(), E("div", Ys, [
6548
6548
  p(m, {
6549
6549
  type: i(s).type,
6550
6550
  "show-password": i(s).showPassword,
@@ -6555,12 +6555,12 @@ const Ws = { component: Gs, renderer: js, propEditor: Hs }, Xs = /* @__PURE__ */
6555
6555
  disabled: t.disabled,
6556
6556
  readonly: t.readonly
6557
6557
  }, null, 8, ["type", "show-password", "modelValue", "placeholder", "clearable", "disabled", "readonly"]),
6558
- t.isDesigner && i(s).description || t.showDescription && (i(n) === "2" || i(s).description) ? (h(), E("div", Ks, [
6559
- p(f, {
6558
+ t.isDesigner && i(s).description || t.showDescription && (i(n).props.formType === "2" || i(s).description) ? (f(), E("div", Ks, [
6559
+ p(h, {
6560
6560
  name: "tip",
6561
6561
  color: "#ff0000"
6562
6562
  }),
6563
- G(" " + ee(`${i(n) === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
6563
+ G(" " + ee(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
6564
6564
  ])) : L("", !0)
6565
6565
  ]);
6566
6566
  };
@@ -6630,9 +6630,9 @@ const Qs = { component: Zs, renderer: Js, propEditor: Xs }, ea = /* @__PURE__ */
6630
6630
  }
6631
6631
  },
6632
6632
  setup(t) {
6633
- return (o, e) => (h(), E("label", {
6633
+ return (o, e) => (f(), E("label", {
6634
6634
  class: "label-content",
6635
- style: dt({
6635
+ style: rt({
6636
6636
  color: t.componentProps.color,
6637
6637
  "font-size": t.componentProps.fontSize + "px",
6638
6638
  "font-weight": t.componentProps.isBold ? "bold" : "normal"
@@ -6682,8 +6682,8 @@ const oa = { component: ta, renderer: ea, undefined: void 0 }, na = { class: "op
6682
6682
  d.value = u.value, d.itemSourceType = u.itemSourceType;
6683
6683
  };
6684
6684
  return (u, d) => {
6685
- const m = V("el-option"), f = V("el-select"), v = V("el-form-item"), c = V("el-switch"), b = V("el-divider"), g = _e, y = V("el-checkbox"), x = V("el-tooltip"), M = V("el-button"), C = V("el-form");
6686
- return h(), z(C, {
6685
+ const m = V("el-option"), h = V("el-select"), v = V("el-form-item"), c = V("el-switch"), b = V("el-divider"), g = _e, y = V("el-checkbox"), x = V("el-tooltip"), M = V("el-button"), C = V("el-form");
6686
+ return f(), z(C, {
6687
6687
  "label-width": "80px",
6688
6688
  "label-suffix": ":",
6689
6689
  class: "radio-props-editor"
@@ -6691,14 +6691,14 @@ const oa = { component: ta, renderer: ea, undefined: void 0 }, na = { class: "op
6691
6691
  default: _(() => [
6692
6692
  p(v, { label: "默认值" }, {
6693
6693
  default: _(() => [
6694
- p(f, {
6694
+ p(h, {
6695
6695
  modelValue: i(n).defaultValue,
6696
6696
  "onUpdate:modelValue": d[0] || (d[0] = (D) => i(n).defaultValue = D),
6697
6697
  clearable: "",
6698
6698
  placeholder: "请选择默认值"
6699
6699
  }, {
6700
6700
  default: _(() => [
6701
- (h(!0), E(Q, null, ge(i(n).options, (D, w) => (h(), z(m, {
6701
+ (f(!0), E(Q, null, ge(i(n).options, (D, w) => (f(), z(m, {
6702
6702
  key: w,
6703
6703
  label: D.label,
6704
6704
  value: D.value
@@ -6738,7 +6738,7 @@ const oa = { component: ta, renderer: ea, undefined: void 0 }, na = { class: "op
6738
6738
  }, {
6739
6739
  item: _(({ element: D, index: w }) => [
6740
6740
  S("div", na, [
6741
- i(n).options.length > 1 ? (h(), z(g, {
6741
+ i(n).options.length > 1 ? (f(), z(g, {
6742
6742
  key: 0,
6743
6743
  name: "move",
6744
6744
  color: "#ff0000",
@@ -6769,7 +6769,7 @@ const oa = { component: ta, renderer: ea, undefined: void 0 }, na = { class: "op
6769
6769
  ]),
6770
6770
  _: 2
6771
6771
  }, 1024),
6772
- i(o).selectComponent.allowModify ? (h(), z(g, {
6772
+ i(o).selectComponent.allowModify ? (f(), z(g, {
6773
6773
  key: 1,
6774
6774
  name: "delete",
6775
6775
  color: "#ff0000",
@@ -6783,7 +6783,7 @@ const oa = { component: ta, renderer: ea, undefined: void 0 }, na = { class: "op
6783
6783
  ]),
6784
6784
  _: 1
6785
6785
  }),
6786
- i(o).selectComponent.allowModify ? (h(), z(v, {
6786
+ i(o).selectComponent.allowModify ? (f(), z(v, {
6787
6787
  key: 0,
6788
6788
  class: "add-option"
6789
6789
  }, {
@@ -6865,7 +6865,7 @@ const ia = { class: "radio-component" }, sa = {
6865
6865
  emits: ["update:datas"],
6866
6866
  setup(t, { emit: o }) {
6867
6867
  const e = t;
6868
- let n = te("formType");
6868
+ let n = te("formData");
6869
6869
  const { datas: l, componentProps: s } = Se(e), a = N(l.value[e.componentID]);
6870
6870
  K(a, (m) => l.value[e.componentID] = m);
6871
6871
  const r = o;
@@ -6877,31 +6877,31 @@ const ia = { class: "radio-component" }, sa = {
6877
6877
  { immediate: !0, deep: !0 }
6878
6878
  );
6879
6879
  const u = (m) => {
6880
- s.value.options.forEach((f) => {
6881
- const v = `${e.componentID}||${f.value}`;
6882
- m !== f.value && l.value[v] && delete l.value[v];
6880
+ s.value.options.forEach((h) => {
6881
+ const v = `${e.componentID}||${h.value}`;
6882
+ m !== h.value && l.value[v] && delete l.value[v];
6883
6883
  });
6884
- }, d = (m, f) => {
6885
- if (s.value.clearable && a.value === f) {
6884
+ }, d = (m, h) => {
6885
+ if (s.value.clearable && a.value === h) {
6886
6886
  a.value = void 0;
6887
- const v = `${e.componentID}||${f}`;
6887
+ const v = `${e.componentID}||${h}`;
6888
6888
  l.value[v] && delete l.value[v], m.preventDefault();
6889
6889
  }
6890
6890
  };
6891
- return (m, f) => {
6891
+ return (m, h) => {
6892
6892
  const v = V("el-radio"), c = V("el-input"), b = V("el-radio-group"), g = _e;
6893
- return h(), E("div", ia, [
6893
+ return f(), E("div", ia, [
6894
6894
  p(b, {
6895
6895
  class: we({ "new-line": i(s).newLine }),
6896
6896
  modelValue: i(a),
6897
- "onUpdate:modelValue": f[0] || (f[0] = (y) => fe(a) ? a.value = y : null),
6897
+ "onUpdate:modelValue": h[0] || (h[0] = (y) => fe(a) ? a.value = y : null),
6898
6898
  disabled: t.disabled,
6899
6899
  onChange: u
6900
6900
  }, {
6901
6901
  default: _(() => [
6902
- (h(!0), E(Q, null, ge(i(s).options, (y, x) => {
6902
+ (f(!0), E(Q, null, ge(i(s).options, (y, x) => {
6903
6903
  var M;
6904
- return h(), E("div", {
6904
+ return f(), E("div", {
6905
6905
  class: "radio-wrap",
6906
6906
  key: x
6907
6907
  }, [
@@ -6914,7 +6914,7 @@ const ia = { class: "radio-component" }, sa = {
6914
6914
  ]),
6915
6915
  _: 2
6916
6916
  }, 1032, ["value", "onClick"]),
6917
- y.inputEnable && (t.isDesigner || (M = i(a)) != null && M.includes(y.value)) ? (h(), z(c, {
6917
+ y.inputEnable && (t.isDesigner || (M = i(a)) != null && M.includes(y.value)) ? (f(), z(c, {
6918
6918
  key: 0,
6919
6919
  class: "option-input",
6920
6920
  modelValue: i(l)[`${t.componentID}||${y.value}`],
@@ -6925,12 +6925,12 @@ const ia = { class: "radio-component" }, sa = {
6925
6925
  ]),
6926
6926
  _: 1
6927
6927
  }, 8, ["class", "modelValue", "disabled"]),
6928
- t.isDesigner && i(s).description || t.showDescription && (i(n) === "2" || i(s).description) ? (h(), E("div", sa, [
6928
+ t.isDesigner && i(s).description || t.showDescription && (i(n).props.formType === "2" || i(s).description) ? (f(), E("div", sa, [
6929
6929
  p(g, {
6930
6930
  name: "tip",
6931
6931
  color: "#ff0000"
6932
6932
  }),
6933
- G(" " + ee(`${i(n) === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
6933
+ G(" " + ee(`${i(n).props.formType === "1" ? "项目说明" : "答案解析"}:${i(s).description || "无"}`), 1)
6934
6934
  ])) : L("", !0)
6935
6935
  ]);
6936
6936
  };
@@ -7053,13 +7053,13 @@ const da = { component: ra, renderer: aa, propEditor: la }, ua = {
7053
7053
  });
7054
7054
  }
7055
7055
  return y;
7056
- }, f = o, v = (c) => {
7057
- f("select", c);
7056
+ }, h = o, v = (c) => {
7057
+ h("select", c);
7058
7058
  };
7059
7059
  return (c, b) => {
7060
7060
  const g = V("el-checkbox"), y = V("el-form-item");
7061
- return h(!0), E(Q, null, ge(i(a), (x, M) => (h(), E(Q, { key: M }, [
7062
- i(u) || m(x, "show") ? (h(), E("div", {
7061
+ return f(!0), E(Q, null, ge(i(a), (x, M) => (f(), E(Q, { key: M }, [
7062
+ i(u) || m(x, "show") ? (f(), E("div", {
7063
7063
  key: 0,
7064
7064
  class: we([
7065
7065
  "form-item-wrap",
@@ -7067,10 +7067,10 @@ const da = { component: ra, renderer: aa, propEditor: la }, ua = {
7067
7067
  { "is-hidden": !x.props.showFlag },
7068
7068
  { selected: x.selected }
7069
7069
  ]),
7070
- style: dt({ width: `${x.props.width * 100 / i(l).props.column}%`, "padding-left": `${x.props.paddingLeft}px` })
7070
+ style: rt({ width: `${x.props.width * 100 / i(l).props.column}%`, "padding-left": `${x.props.paddingLeft}px` })
7071
7071
  }, [
7072
- m(x, "readonly") ? (h(), E("div", ua)) : L("", !0),
7073
- i(u) ? (h(), z(g, {
7072
+ m(x, "readonly") ? (f(), E("div", ua)) : L("", !0),
7073
+ i(u) ? (f(), z(g, {
7074
7074
  key: 1,
7075
7075
  class: "select-item",
7076
7076
  modelValue: x.selected,
@@ -7078,13 +7078,13 @@ const da = { component: ra, renderer: aa, propEditor: la }, ua = {
7078
7078
  label: "选择",
7079
7079
  onChange: (C) => v(x)
7080
7080
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : L("", !0),
7081
- x.isLayout ? (h(), z(It(e[x.type].renderer), {
7081
+ x.isLayout ? (f(), z(It(e[x.type].renderer), {
7082
7082
  key: 2,
7083
7083
  componentID: x.id,
7084
7084
  showDescription: i(r),
7085
7085
  component: i(a)[M],
7086
7086
  "onUpdate:component": (C) => i(a)[M] = C
7087
- }, null, 40, ["componentID", "showDescription", "component", "onUpdate:component"])) : (h(), z(y, {
7087
+ }, null, 40, ["componentID", "showDescription", "component", "onUpdate:component"])) : (f(), z(y, {
7088
7088
  key: 3,
7089
7089
  class: we(["form-item", { "label-new-line": x.props.labelNewLine }]),
7090
7090
  prop: x.id,
@@ -7093,7 +7093,7 @@ const da = { component: ra, renderer: aa, propEditor: la }, ua = {
7093
7093
  }, {
7094
7094
  label: _(() => [
7095
7095
  S("span", {
7096
- style: dt({
7096
+ style: rt({
7097
7097
  color: x.props.color || "#000000",
7098
7098
  "font-size": x.props.fontSize + "px",
7099
7099
  "font-weight": x.props.isBold ? "bold" : "normal"
@@ -7101,7 +7101,7 @@ const da = { component: ra, renderer: aa, propEditor: la }, ua = {
7101
7101
  }, ee(x.props.showLabel ? x.props.label + ":" : ""), 5)
7102
7102
  ]),
7103
7103
  default: _(() => [
7104
- (h(), z(It(e[x.type].renderer), {
7104
+ (f(), z(It(e[x.type].renderer), {
7105
7105
  componentID: x.id,
7106
7106
  disabled: m(x, "disabled"),
7107
7107
  showDescription: i(r),
@@ -7198,12 +7198,12 @@ const ca = {
7198
7198
  },
7199
7199
  emits: ["change", "select"],
7200
7200
  setup(t, { expose: o, emit: e }) {
7201
- const { removeEmptyAttribute: n } = ke(), l = { ...io, ...ao, ...so }, s = N(), a = N(!1), r = N(!1), u = N(!1), d = t, m = e, { formData: f, selectMode: v } = Se(d), c = N(d.selectComponents);
7202
- Qe("uploadOptions", d.uploadOptions), Qe("formData", f), Qe("formType", f.value.props.formType);
7201
+ const { removeEmptyAttribute: n } = ke(), l = { ...io, ...ao, ...so }, s = N(), a = N(!1), r = N(!1), u = N(!1), d = t, m = e, { formData: h, selectMode: v } = Se(d), c = N(d.selectComponents);
7202
+ ft("uploadOptions", d.uploadOptions), ft("formData", h);
7203
7203
  const b = (D) => {
7204
7204
  var w, $, P, F;
7205
7205
  if ((w = c.value) != null && w.length || (c.value = []), !D) {
7206
- c.value = [], f.value.components.forEach((A) => {
7206
+ c.value = [], h.value.components.forEach((A) => {
7207
7207
  A.selected = r.value, r.value && c.value.push(A);
7208
7208
  }), u.value = !1, m("select", c.value);
7209
7209
  return;
@@ -7221,7 +7221,7 @@ const ca = {
7221
7221
  u.value = !1, r.value = !1;
7222
7222
  return;
7223
7223
  }
7224
- if (((w = c.value) == null ? void 0 : w.length) < f.value.components.length) {
7224
+ if (((w = c.value) == null ? void 0 : w.length) < h.value.components.length) {
7225
7225
  u.value = !0;
7226
7226
  return;
7227
7227
  }
@@ -7233,9 +7233,9 @@ const ca = {
7233
7233
  $.isEdit && (w.props.required || w.props.pattern) && (w.rules = $.getRules(w.props)), d.selectMode && ((P = c.value) != null && P.length) && c.value.findIndex((X) => X.id === w.id) !== -1 && (w.selected = !0), w.isLayout && ((F = w == null ? void 0 : w.children) != null && F.length) && y(w.children);
7234
7234
  }), d.selectMode && g());
7235
7235
  };
7236
- K(f, () => y(f.value.components), { immediate: !0 });
7236
+ K(h, () => y(h.value.components), { immediate: !0 });
7237
7237
  const x = () => {
7238
- let D = n(f.value.datas), w = [], $ = [];
7238
+ let D = n(h.value.datas), w = [], $ = [];
7239
7239
  const P = Object.keys(D);
7240
7240
  for (let F of P) {
7241
7241
  if (F.includes("||")) {
@@ -7252,7 +7252,7 @@ const ca = {
7252
7252
  }
7253
7253
  continue;
7254
7254
  }
7255
- M(f.value.components, w, $, F, D);
7255
+ M(h.value.components, w, $, F, D);
7256
7256
  }
7257
7257
  return { data: w, fileList: $ };
7258
7258
  }, M = (D, w, $, P, F) => {
@@ -7315,7 +7315,7 @@ const ca = {
7315
7315
  }
7316
7316
  };
7317
7317
  return d.watching && K(
7318
- () => f.value.datas,
7318
+ () => h.value.datas,
7319
7319
  () => {
7320
7320
  const D = x();
7321
7321
  m("change", D.data, D.fileList);
@@ -7367,10 +7367,10 @@ const ca = {
7367
7367
  }
7368
7368
  }), (D, w) => {
7369
7369
  const $ = V("el-checkbox"), P = V("el-form");
7370
- return h(), E("div", {
7371
- class: we(["form-renderer", t.device, { "examination-paper": i(f).props.formType === "2" }, { "select-mode": i(v) }])
7370
+ return f(), E("div", {
7371
+ class: we(["form-renderer", t.device, { "examination-paper": i(h).props.formType === "2" }, { "select-mode": i(v) }])
7372
7372
  }, [
7373
- i(v) ? (h(), E("div", ca, [
7373
+ i(v) ? (f(), E("div", ca, [
7374
7374
  pa,
7375
7375
  p($, {
7376
7376
  class: "select-all",
@@ -7380,22 +7380,22 @@ const ca = {
7380
7380
  indeterminate: i(u),
7381
7381
  onChange: w[1] || (w[1] = (F) => b())
7382
7382
  }, null, 8, ["modelValue", "indeterminate"])
7383
- ])) : i(f).props.formName ? (h(), E("h1", ma, ee(i(f).props.formName), 1)) : L("", !0),
7383
+ ])) : i(h).props.formName ? (f(), E("h1", ma, ee(i(h).props.formName), 1)) : L("", !0),
7384
7384
  p(P, {
7385
7385
  ref_key: "formRenderer",
7386
7386
  ref: s,
7387
7387
  class: "renderer-form",
7388
- model: i(f).datas,
7389
- "label-position": i(f).props.labelPosition,
7390
- "label-width": i(f).props.labelWidth,
7391
- size: i(f).props.size,
7388
+ model: i(h).datas,
7389
+ "label-position": i(h).props.labelPosition,
7390
+ "label-width": i(h).props.labelWidth,
7391
+ size: i(h).props.size,
7392
7392
  "scroll-to-error": "",
7393
7393
  disabled: t.disabled
7394
7394
  }, {
7395
7395
  default: _(() => [
7396
- i(v) ? (h(), E("div", fa)) : L("", !0),
7396
+ i(v) ? (f(), E("div", fa)) : L("", !0),
7397
7397
  p(kn, {
7398
- components: i(f).components,
7398
+ components: i(h).components,
7399
7399
  showDescription: i(a),
7400
7400
  selectMode: i(v),
7401
7401
  onSelect: b
@@ -7403,7 +7403,7 @@ const ca = {
7403
7403
  ]),
7404
7404
  _: 1
7405
7405
  }, 8, ["model", "label-position", "label-width", "size", "disabled"]),
7406
- t.device === "mobile" ? (h(), E("div", ha)) : L("", !0)
7406
+ t.device === "mobile" ? (f(), E("div", ha)) : L("", !0)
7407
7407
  ], 2);
7408
7408
  };
7409
7409
  }
@@ -7429,8 +7429,8 @@ const ga = { class: "form-list-wrap" }, _a = { class: "form-list" }, ba = ["onCl
7429
7429
  datas: {},
7430
7430
  components: [],
7431
7431
  props: {}
7432
- }), f = N(r.value.formList), v = () => {
7433
- f.value = r.value.formList, u.value && (f.value = r.value.formList.filter((F) => F.formName.includes(u.value)));
7432
+ }), h = N(r.value.formList), v = () => {
7433
+ h.value = r.value.formList, u.value && (h.value = r.value.formList.filter((F) => F.formName.includes(u.value)));
7434
7434
  }, c = async (F) => {
7435
7435
  d.value !== F && (d.value = F, m.value = {
7436
7436
  datas: {},
@@ -7471,7 +7471,7 @@ const ga = { class: "form-list-wrap" }, _a = { class: "form-list" }, ba = ["onCl
7471
7471
  };
7472
7472
  return (F, A) => {
7473
7473
  const X = _e, W = V("el-input"), se = V("el-empty"), H = vt, ne = V("el-link"), de = V("el-button"), Ce = V("el-dialog");
7474
- return h(), E("div", null, [
7474
+ return f(), E("div", null, [
7475
7475
  p(Ce, {
7476
7476
  modelValue: s.value,
7477
7477
  "onUpdate:modelValue": A[2] || (A[2] = (ye) => s.value = ye),
@@ -7539,7 +7539,7 @@ const ga = { class: "form-list-wrap" }, _a = { class: "form-list" }, ba = ["onCl
7539
7539
  _: 1
7540
7540
  }, 8, ["modelValue", "placeholder"]),
7541
7541
  S("div", _a, [
7542
- (h(!0), E(Q, null, ge(i(f), (Ne, Je) => (h(), E("div", {
7542
+ (f(!0), E(Q, null, ge(i(h), (Ne, Je) => (f(), E("div", {
7543
7543
  class: we(["form-item", { selected: i(d) === Ne.formID }]),
7544
7544
  key: Je,
7545
7545
  onClick: (Xe) => c(Ne.formID)
@@ -7556,11 +7556,11 @@ const ga = { class: "form-list-wrap" }, _a = { class: "form-list" }, ba = ["onCl
7556
7556
  ])
7557
7557
  ]),
7558
7558
  S("div", wa, [
7559
- i(d) ? L("", !0) : (h(), z(se, {
7559
+ i(d) ? L("", !0) : (f(), z(se, {
7560
7560
  key: 0,
7561
7561
  description: `请先选择左侧${i(n)}`
7562
7562
  }, null, 8, ["description"])),
7563
- ($e = (ye = i(m)) == null ? void 0 : ye.components) != null && $e.length ? (h(), z(H, {
7563
+ ($e = (ye = i(m)) == null ? void 0 : ye.components) != null && $e.length ? (f(), z(H, {
7564
7564
  key: 1,
7565
7565
  formData: i(m),
7566
7566
  selectMode: "",
@@ -7592,7 +7592,7 @@ const ga = { class: "form-list-wrap" }, _a = { class: "form-list" }, ba = ["onCl
7592
7592
  default: _(() => {
7593
7593
  var ye, $e;
7594
7594
  return [
7595
- ($e = (ye = i(D)) == null ? void 0 : ye.components) != null && $e.length ? (h(), z(H, {
7595
+ ($e = (ye = i(D)) == null ? void 0 : ye.components) != null && $e.length ? (f(), z(H, {
7596
7596
  key: 0,
7597
7597
  formData: i(D)
7598
7598
  }, null, 8, ["formData"])) : L("", !0)
@@ -7650,13 +7650,13 @@ const ka = {
7650
7650
  setup(t, { emit: o }) {
7651
7651
  let e = te("formDesignerData"), n = te("formData"), l = e.selectComponent;
7652
7652
  const s = N(), a = N(!1), r = N([]), u = N({}), d = N({}), m = () => {
7653
- r.value = [], u.value = {}, d.value = {}, f(n.value.components), a.value = !0;
7654
- }, f = (y) => {
7653
+ r.value = [], u.value = {}, d.value = {}, h(n.value.components), a.value = !0;
7654
+ }, h = (y) => {
7655
7655
  y.forEach((x) => {
7656
7656
  var M;
7657
7657
  if (l.id !== x.id) {
7658
7658
  if (x.isLayout && ((M = x.children) != null && M.length)) {
7659
- f(x.children);
7659
+ h(x.children);
7660
7660
  return;
7661
7661
  }
7662
7662
  x.isEdit && (r.value.push({ label: x.props.label, id: x.id }), u.value[x.id] = v(x.excludeFilterConditions), d.value[x.id] = x.filterConditionProps);
@@ -7670,20 +7670,20 @@ const ka = {
7670
7670
  };
7671
7671
  return (y, x) => {
7672
7672
  const M = V("el-button"), C = V("el-dialog");
7673
- return h(), E(Q, null, [
7673
+ return f(), E(Q, null, [
7674
7674
  S("div", {
7675
7675
  class: "condition-input",
7676
7676
  onClick: m
7677
7677
  }, [
7678
- t.clearable && t.content ? (h(), E("div", {
7678
+ t.clearable && t.content ? (f(), E("div", {
7679
7679
  key: 0,
7680
7680
  class: "close",
7681
7681
  onClick: Gt(g, ["stop"])
7682
7682
  }, "x")) : L("", !0),
7683
- t.content ? (h(), E("span", {
7683
+ t.content ? (f(), E("span", {
7684
7684
  key: 2,
7685
7685
  innerHTML: t.content
7686
- }, null, 8, Ma)) : (h(), E("span", ka, "单击设置条件"))
7686
+ }, null, 8, Ma)) : (f(), E("span", ka, "单击设置条件"))
7687
7687
  ]),
7688
7688
  p(C, {
7689
7689
  class: "filter-dialog",
@@ -7739,12 +7739,12 @@ const za = /* @__PURE__ */ Z({
7739
7739
  };
7740
7740
  return (s, a) => {
7741
7741
  const r = V("el-form-item"), u = V("el-switch"), d = V("el-form");
7742
- return h(), z(d, {
7742
+ return f(), z(d, {
7743
7743
  "label-width": "90px",
7744
7744
  "label-suffix": ":"
7745
7745
  }, {
7746
7746
  default: _(() => [
7747
- i(e).props.showFlag ? L("", !0) : (h(), z(r, {
7747
+ i(e).props.showFlag ? L("", !0) : (f(), z(r, {
7748
7748
  key: 0,
7749
7749
  label: "显示条件"
7750
7750
  }, {
@@ -7761,7 +7761,7 @@ const za = /* @__PURE__ */ Z({
7761
7761
  ]),
7762
7762
  _: 1
7763
7763
  })),
7764
- i(e).props.showFlag ? (h(), z(r, {
7764
+ i(e).props.showFlag ? (f(), z(r, {
7765
7765
  key: 1,
7766
7766
  label: "隐藏条件"
7767
7767
  }, {
@@ -7778,7 +7778,7 @@ const za = /* @__PURE__ */ Z({
7778
7778
  ]),
7779
7779
  _: 1
7780
7780
  })) : L("", !0),
7781
- i(e).props.readonly ? L("", !0) : (h(), z(r, {
7781
+ i(e).props.readonly ? L("", !0) : (f(), z(r, {
7782
7782
  key: 2,
7783
7783
  label: "只读条件"
7784
7784
  }, {
@@ -7795,7 +7795,7 @@ const za = /* @__PURE__ */ Z({
7795
7795
  ]),
7796
7796
  _: 1
7797
7797
  })),
7798
- i(e).isEdit ? (h(), E(Q, { key: 3 }, [
7798
+ i(e).isEdit ? (f(), E(Q, { key: 3 }, [
7799
7799
  p(r, { label: "参与统计" }, {
7800
7800
  default: _(() => [
7801
7801
  p(u, {
@@ -7805,7 +7805,7 @@ const za = /* @__PURE__ */ Z({
7805
7805
  ]),
7806
7806
  _: 1
7807
7807
  }),
7808
- i(e).props.disabled ? L("", !0) : (h(), z(r, {
7808
+ i(e).props.disabled ? L("", !0) : (f(), z(r, {
7809
7809
  key: 0,
7810
7810
  label: "禁用条件"
7811
7811
  }, {
@@ -7854,17 +7854,17 @@ const za = /* @__PURE__ */ Z({
7854
7854
  s[0].required = v;
7855
7855
  }, m = (v) => {
7856
7856
  s[0].message = v;
7857
- }, f = (v) => {
7857
+ }, h = (v) => {
7858
7858
  typeof v.value != "string" && (l.itemID = v.value), l.id = v.value, l.itemSourceType = v.itemSourceType;
7859
7859
  };
7860
7860
  return (v, c) => {
7861
7861
  const b = V("el-switch"), g = V("el-form-item"), y = V("el-input-number"), x = V("el-color-picker"), M = V("el-slider"), C = V("el-input"), D = V("el-form");
7862
- return h(), z(D, {
7862
+ return f(), z(D, {
7863
7863
  "label-width": "80px",
7864
7864
  "label-suffix": ":"
7865
7865
  }, {
7866
7866
  default: _(() => [
7867
- i(n) === "1" && i(l).type !== "label" ? (h(), z(g, {
7867
+ i(n) === "1" && i(l).type !== "label" ? (f(), z(g, {
7868
7868
  key: 0,
7869
7869
  label: "显示标题"
7870
7870
  }, {
@@ -7876,7 +7876,7 @@ const za = /* @__PURE__ */ Z({
7876
7876
  ]),
7877
7877
  _: 1
7878
7878
  })) : L("", !0),
7879
- i(l).props.showLabel || i(l).type === "label" ? (h(), z(g, {
7879
+ i(l).props.showLabel || i(l).type === "label" ? (f(), z(g, {
7880
7880
  key: 1,
7881
7881
  label: i(l).type === "label" ? "标签" : i(n) === "1" ? "标题" : "题目"
7882
7882
  }, {
@@ -7888,7 +7888,7 @@ const za = /* @__PURE__ */ Z({
7888
7888
  placeholder: i(l).type === "label" ? "标签内容" : i(n) === "1" ? "请输入标题" : "请输入题目",
7889
7889
  "item-height": 50,
7890
7890
  height: "100px",
7891
- onChange: f
7891
+ onChange: h
7892
7892
  }, null, 8, ["modelValue", "dictionary", "placeholder"])
7893
7893
  ]),
7894
7894
  _: 1
@@ -7906,7 +7906,7 @@ const za = /* @__PURE__ */ Z({
7906
7906
  ]),
7907
7907
  _: 1
7908
7908
  }, 8, ["label"]),
7909
- i(n) === "1" && i(l).props.showLabel ? (h(), E(Q, { key: 2 }, [
7909
+ i(n) === "1" && i(l).props.showLabel ? (f(), E(Q, { key: 2 }, [
7910
7910
  p(g, { label: "标题宽度" }, {
7911
7911
  default: _(() => [
7912
7912
  p(y, {
@@ -7927,7 +7927,7 @@ const za = /* @__PURE__ */ Z({
7927
7927
  _: 1
7928
7928
  })
7929
7929
  ], 64)) : L("", !0),
7930
- i(l).props.showLabel || i(l).type === "label" ? (h(), E(Q, { key: 3 }, [
7930
+ i(l).props.showLabel || i(l).type === "label" ? (f(), E(Q, { key: 3 }, [
7931
7931
  p(g, {
7932
7932
  label: i(l).type === "label" ? "字体加粗" : i(n) === "1" ? "标题加粗" : "题目加粗"
7933
7933
  }, {
@@ -7984,7 +7984,7 @@ const za = /* @__PURE__ */ Z({
7984
7984
  ]),
7985
7985
  _: 1
7986
7986
  }),
7987
- i(l).isInput ? (h(), z(g, {
7987
+ i(l).isInput ? (f(), z(g, {
7988
7988
  key: 4,
7989
7989
  label: "占位提示"
7990
7990
  }, {
@@ -7997,7 +7997,7 @@ const za = /* @__PURE__ */ Z({
7997
7997
  ]),
7998
7998
  _: 1
7999
7999
  })) : L("", !0),
8000
- i(l).isEdit ? (h(), E(Q, { key: 5 }, [
8000
+ i(l).isEdit ? (f(), E(Q, { key: 5 }, [
8001
8001
  p(g, { label: "允许清空" }, {
8002
8002
  default: _(() => [
8003
8003
  p(b, {
@@ -8027,7 +8027,7 @@ const za = /* @__PURE__ */ Z({
8027
8027
  ]),
8028
8028
  _: 1
8029
8029
  }),
8030
- i(l).props.required ? (h(), z(g, {
8030
+ i(l).props.required ? (f(), z(g, {
8031
8031
  key: 0,
8032
8032
  label: "必填提示"
8033
8033
  }, {
@@ -8051,7 +8051,7 @@ const za = /* @__PURE__ */ Z({
8051
8051
  _: 1
8052
8052
  })
8053
8053
  ], 64)) : L("", !0),
8054
- i(l).type !== "label" && !i(l).isLayout ? (h(), z(g, {
8054
+ i(l).type !== "label" && !i(l).isLayout ? (f(), z(g, {
8055
8055
  key: 6,
8056
8056
  label: i(n) === "1" ? "项目说明" : "答案解析"
8057
8057
  }, {
@@ -8082,8 +8082,8 @@ const za = /* @__PURE__ */ Z({
8082
8082
  return await n.value.validate(s);
8083
8083
  }
8084
8084
  }), (s, a) => {
8085
- const r = V("el-radio-button"), u = V("el-radio-group"), d = V("el-form-item"), m = V("el-input"), f = V("el-input-number"), v = V("el-form");
8086
- return h(), z(v, {
8085
+ const r = V("el-radio-button"), u = V("el-radio-group"), d = V("el-form-item"), m = V("el-input"), h = V("el-input-number"), v = V("el-form");
8086
+ return f(), z(v, {
8087
8087
  ref_key: "formRef",
8088
8088
  ref: n,
8089
8089
  model: i(e).props,
@@ -8138,7 +8138,7 @@ const za = /* @__PURE__ */ Z({
8138
8138
  ]),
8139
8139
  _: 1
8140
8140
  }, 8, ["label"]),
8141
- i(e).props.formType === "1" ? (h(), z(d, {
8141
+ i(e).props.formType === "1" ? (f(), z(d, {
8142
8142
  key: 0,
8143
8143
  prop: "labelPosition",
8144
8144
  label: "标题位置"
@@ -8178,7 +8178,7 @@ const za = /* @__PURE__ */ Z({
8178
8178
  label: "标题宽度"
8179
8179
  }, {
8180
8180
  default: _(() => [
8181
- p(f, {
8181
+ p(h, {
8182
8182
  modelValue: i(e).props.labelWidth,
8183
8183
  "onUpdate:modelValue": a[3] || (a[3] = (c) => i(e).props.labelWidth = c),
8184
8184
  step: 5,
@@ -8261,7 +8261,7 @@ const za = /* @__PURE__ */ Z({
8261
8261
  n("validateForm");
8262
8262
  }, m = () => {
8263
8263
  n("resetForm");
8264
- }, f = () => {
8264
+ }, h = () => {
8265
8265
  n("viewDataJson");
8266
8266
  }, v = N(!1), c = () => {
8267
8267
  v.value = !v.value, n("toggleDescription", v.value);
@@ -8269,10 +8269,10 @@ const za = /* @__PURE__ */ Z({
8269
8269
  return (b, g) => {
8270
8270
  var C;
8271
8271
  const y = _e, x = V("el-button"), M = V("el-popconfirm");
8272
- return h(), E("div", La, [
8272
+ return f(), E("div", La, [
8273
8273
  Aa,
8274
8274
  S("div", Ta, [
8275
- t.operates.includes("clearComponents") ? (h(), z(M, {
8275
+ t.operates.includes("clearComponents") ? (f(), z(M, {
8276
8276
  key: 0,
8277
8277
  confirmButtonText: "是",
8278
8278
  cancelButtonText: "否",
@@ -8300,7 +8300,7 @@ const za = /* @__PURE__ */ Z({
8300
8300
  }),
8301
8301
  _: 1
8302
8302
  })) : L("", !0),
8303
- t.operates.includes("batchAdd") ? (h(), z(x, {
8303
+ t.operates.includes("batchAdd") ? (f(), z(x, {
8304
8304
  key: 1,
8305
8305
  text: "",
8306
8306
  type: "primary",
@@ -8316,7 +8316,7 @@ const za = /* @__PURE__ */ Z({
8316
8316
  ]),
8317
8317
  _: 1
8318
8318
  })) : L("", !0),
8319
- t.operates.includes("viewFormJson") ? (h(), z(x, {
8319
+ t.operates.includes("viewFormJson") ? (f(), z(x, {
8320
8320
  key: 2,
8321
8321
  text: "",
8322
8322
  type: "primary",
@@ -8328,7 +8328,7 @@ const za = /* @__PURE__ */ Z({
8328
8328
  ]),
8329
8329
  _: 1
8330
8330
  })) : L("", !0),
8331
- t.operates.includes("previewFrom") ? (h(), z(x, {
8331
+ t.operates.includes("previewFrom") ? (f(), z(x, {
8332
8332
  key: 3,
8333
8333
  text: "",
8334
8334
  type: "primary",
@@ -8344,7 +8344,7 @@ const za = /* @__PURE__ */ Z({
8344
8344
  ]),
8345
8345
  _: 1
8346
8346
  }, 8, ["disabled"])) : L("", !0),
8347
- t.operates.includes("saveFrom") ? (h(), z(x, {
8347
+ t.operates.includes("saveFrom") ? (f(), z(x, {
8348
8348
  key: 4,
8349
8349
  text: "",
8350
8350
  type: "primary",
@@ -8360,7 +8360,7 @@ const za = /* @__PURE__ */ Z({
8360
8360
  ]),
8361
8361
  _: 1
8362
8362
  })) : L("", !0),
8363
- t.operates.includes("validateForm") ? (h(), z(x, {
8363
+ t.operates.includes("validateForm") ? (f(), z(x, {
8364
8364
  key: 5,
8365
8365
  text: "",
8366
8366
  type: "warning",
@@ -8375,7 +8375,7 @@ const za = /* @__PURE__ */ Z({
8375
8375
  ]),
8376
8376
  _: 1
8377
8377
  })) : L("", !0),
8378
- t.operates.includes("resetForm") ? (h(), z(x, {
8378
+ t.operates.includes("resetForm") ? (f(), z(x, {
8379
8379
  key: 6,
8380
8380
  text: "",
8381
8381
  type: "danger",
@@ -8390,11 +8390,11 @@ const za = /* @__PURE__ */ Z({
8390
8390
  ]),
8391
8391
  _: 1
8392
8392
  })) : L("", !0),
8393
- t.operates.includes("viewDataJson") ? (h(), z(x, {
8393
+ t.operates.includes("viewDataJson") ? (f(), z(x, {
8394
8394
  key: 7,
8395
8395
  text: "",
8396
8396
  type: "primary",
8397
- onClick: f
8397
+ onClick: h
8398
8398
  }, {
8399
8399
  default: _(() => [
8400
8400
  p(y, {
@@ -8405,7 +8405,7 @@ const za = /* @__PURE__ */ Z({
8405
8405
  ]),
8406
8406
  _: 1
8407
8407
  })) : L("", !0),
8408
- t.operates.includes("toggleDescription") ? (h(), z(x, {
8408
+ t.operates.includes("toggleDescription") ? (f(), z(x, {
8409
8409
  key: 8,
8410
8410
  text: "",
8411
8411
  type: "primary",
@@ -8505,7 +8505,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8505
8505
  }
8506
8506
  },
8507
8507
  setup(t) {
8508
- const o = t, { getTempID: e, clone: n, stringifyJson: l, isEmpty: s } = ke(), a = { ...io, ...ao, ...so }, { formData: r, componentGroups: u, mergeGroup: d, batchAddComponentParams: m } = Se(o), f = Bn({
8508
+ const o = t, { getTempID: e, clone: n, stringifyJson: l, isEmpty: s } = ke(), a = { ...io, ...ao, ...so }, { formData: r, componentGroups: u, mergeGroup: d, batchAddComponentParams: m } = Se(o), h = Bn({
8509
8509
  selectComponent: void 0,
8510
8510
  propTab: "form",
8511
8511
  device: "pc"
@@ -8552,13 +8552,13 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8552
8552
  ln(() => {
8553
8553
  $(), D();
8554
8554
  }), K(
8555
- () => f.selectComponent,
8555
+ () => h.selectComponent,
8556
8556
  (T) => {
8557
- if (f.propTab = "component", !T) {
8557
+ if (h.propTab = "component", !T) {
8558
8558
  c.value = [];
8559
8559
  return;
8560
8560
  }
8561
- c.value = ["base"], a[f.selectComponent.type].propEditor && c.value.push("exclusive");
8561
+ c.value = ["base"], a[h.selectComponent.type].propEditor && c.value.push("exclusive");
8562
8562
  }
8563
8563
  ), K(
8564
8564
  [u, d],
@@ -8568,9 +8568,9 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8568
8568
  { deep: !0 }
8569
8569
  ), K(r, () => {
8570
8570
  D();
8571
- }), Qe("uploadOptions", o.uploadOptions), Qe("formDesignerData", f), Qe("formData", r), Qe("defaultSourceType", o.defaultSourceType), Qe("formType", r.value.props.formType);
8571
+ }), ft("uploadOptions", o.uploadOptions), ft("formDesignerData", h), ft("formData", r), ft("defaultSourceType", o.defaultSourceType);
8572
8572
  const D = () => {
8573
- f.selectComponent = void 0, r.value.datas || (r.value.datas = {}), r.value.components ? w(r.value.components) : r.value.components = [], r.value.props ? r.value.props = Object.assign(x, r.value.props) : r.value.props = x, y.value = !r.value.props.formName;
8573
+ h.selectComponent = void 0, r.value.datas || (r.value.datas = {}), r.value.components ? w(r.value.components) : r.value.components = [], r.value.props ? r.value.props = Object.assign(x, r.value.props) : r.value.props = x, y.value = !r.value.props.formName;
8574
8574
  }, w = (T) => {
8575
8575
  T.forEach(async (k) => {
8576
8576
  var U;
@@ -8595,7 +8595,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8595
8595
  if (xe) {
8596
8596
  let ae = [];
8597
8597
  U.components.forEach((ce) => {
8598
- const Pe = xe.components.find((ut) => ut.type === ce.type);
8598
+ const Pe = xe.components.find((dt) => dt.type === ce.type);
8599
8599
  Pe ? ae.push(Pe) : ae.push(ce);
8600
8600
  }), oe.components = ae;
8601
8601
  }
@@ -8637,7 +8637,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8637
8637
  const R = X(T);
8638
8638
  r.value.components.push(R);
8639
8639
  const U = k.types.findIndex((oe) => T != null && T.id.includes("temp") ? oe.type === T.type : (oe == null ? void 0 : oe.id) === T.id);
8640
- U !== -1 && W(U, k), f.selectComponent = void 0, ot(() => f.selectComponent = R);
8640
+ U !== -1 && W(U, k), h.selectComponent = void 0, tt(() => h.selectComponent = R);
8641
8641
  }, X = (T) => {
8642
8642
  var U, oe;
8643
8643
  let k = n(T);
@@ -8656,7 +8656,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8656
8656
  }), k.types = R;
8657
8657
  });
8658
8658
  }, H = () => {
8659
- r.value.components.splice(0, r.value.components.length), f.selectComponent = void 0;
8659
+ r.value.components.splice(0, r.value.components.length), h.selectComponent = void 0;
8660
8660
  }, ne = N(!1), de = () => {
8661
8661
  ne.value = !0;
8662
8662
  }, Ce = (T) => {
@@ -8694,7 +8694,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8694
8694
  Je.value.toggleDescription();
8695
8695
  }, Ln = async () => {
8696
8696
  if (!await $e.value.validate()) {
8697
- ze("error", "请将表单属性填写完整!"), f.propTab = "form";
8697
+ ze("error", "请将表单属性填写完整!"), h.propTab = "form";
8698
8698
  return;
8699
8699
  }
8700
8700
  let k = ["单选框", "多选框", "选项", "标签", "文本框", "分组面板"], R = n(r.value);
@@ -8711,9 +8711,9 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8711
8711
  }
8712
8712
  if ((oe = ce.props.options) != null && oe.length) {
8713
8713
  for (let Pe = 0; Pe < ce.props.options.length; Pe++) {
8714
- let ut = ce.props.options[Pe];
8715
- if (T.find((Ft) => ut.label.indexOf(Ft) === 0)) {
8716
- ze("error", `请将【${ce.props.label}】的第${Pe + 1}个选项的【${ut.label}】调整为合理描述!`), U = !1;
8714
+ let dt = ce.props.options[Pe];
8715
+ if (T.find((Ft) => dt.label.indexOf(Ft) === 0)) {
8716
+ ze("error", `请将【${ce.props.label}】的第${Pe + 1}个选项的【${dt.label}】调整为合理描述!`), U = !1;
8717
8717
  break;
8718
8718
  }
8719
8719
  }
@@ -8726,8 +8726,8 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8726
8726
  };
8727
8727
  return (T, k) => {
8728
8728
  var Fo;
8729
- const R = _e, U = V("el-collapse-item"), oe = V("el-collapse"), xe = V("el-input"), ae = V("el-form"), ce = V("el-empty"), Pe = V("el-tab-pane"), ut = V("el-tabs"), Ft = V("el-dialog");
8730
- return h(), E(Q, null, [
8729
+ const R = _e, U = V("el-collapse-item"), oe = V("el-collapse"), xe = V("el-input"), ae = V("el-form"), ce = V("el-empty"), Pe = V("el-tab-pane"), dt = V("el-tabs"), Ft = V("el-dialog");
8730
+ return f(), E(Q, null, [
8731
8731
  S("div", qa, [
8732
8732
  S("div", ja, [
8733
8733
  p(oe, {
@@ -8735,7 +8735,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8735
8735
  "onUpdate:modelValue": k[0] || (k[0] = (le) => fe(b) ? b.value = le : null)
8736
8736
  }, {
8737
8737
  default: _(() => [
8738
- (h(!0), E(Q, null, ge(i(g), (le, An) => (h(), z(U, {
8738
+ (f(!0), E(Q, null, ge(i(g), (le, An) => (f(), z(U, {
8739
8739
  key: An,
8740
8740
  title: le.name,
8741
8741
  name: le.name
@@ -8746,21 +8746,21 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8746
8746
  "item-key": "type",
8747
8747
  tag: "div",
8748
8748
  class: "component-list",
8749
- clone: (nt) => X(nt),
8749
+ clone: (ot) => X(ot),
8750
8750
  sort: !1,
8751
- onRemove: (nt) => W(nt.oldIndex, le),
8751
+ onRemove: (ot) => W(ot.oldIndex, le),
8752
8752
  group: { name: "component", pull: "clone", put: !1 }
8753
8753
  }, {
8754
- item: _(({ element: nt }) => [
8754
+ item: _(({ element: ot }) => [
8755
8755
  S("div", {
8756
8756
  class: "component-item",
8757
- onClick: (o6) => A(nt, le)
8757
+ onClick: (o6) => A(ot, le)
8758
8758
  }, [
8759
8759
  p(R, {
8760
- name: nt.type,
8760
+ name: ot.type,
8761
8761
  color: "#fc8720"
8762
8762
  }, null, 8, ["name"]),
8763
- S("span", Wa, ee(nt.name), 1)
8763
+ S("span", Wa, ee(ot.name), 1)
8764
8764
  ], 8, Ga)
8765
8765
  ]),
8766
8766
  _: 2
@@ -8772,7 +8772,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8772
8772
  _: 1
8773
8773
  }, 8, ["modelValue"])
8774
8774
  ]),
8775
- i(r).props ? (h(), E("div", {
8775
+ i(r).props ? (f(), E("div", {
8776
8776
  key: 0,
8777
8777
  class: we(["center-wrap", { "open-props": i(v) }])
8778
8778
  }, [
@@ -8785,9 +8785,9 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8785
8785
  onSaveFrom: Ne
8786
8786
  }, null, 8, ["operates"]),
8787
8787
  S("div", {
8788
- class: we(["component-form", i(f).device])
8788
+ class: we(["component-form", i(h).device])
8789
8789
  }, [
8790
- i(y) ? (h(), z(xe, {
8790
+ i(y) ? (f(), z(xe, {
8791
8791
  key: 0,
8792
8792
  class: "title-input",
8793
8793
  modelValue: i(r).props.formName,
@@ -8795,12 +8795,12 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8795
8795
  placeholder: "单击输入标题",
8796
8796
  onBlur: k[2] || (k[2] = (le) => y.value = !1),
8797
8797
  onKeydown: k[3] || (k[3] = Nn((le) => y.value = !1, ["enter"]))
8798
- }, null, 8, ["modelValue"])) : (h(), E("h2", {
8798
+ }, null, 8, ["modelValue"])) : (f(), E("h2", {
8799
8799
  key: 1,
8800
8800
  class: "title",
8801
8801
  onClick: k[4] || (k[4] = (le) => y.value = !0)
8802
8802
  }, ee(i(r).props.formName), 1)),
8803
- (Fo = i(r).components) != null && Fo.length ? L("", !0) : (h(), E("div", Xa, "从左侧拖拽组件")),
8803
+ (Fo = i(r).components) != null && Fo.length ? L("", !0) : (f(), E("div", Xa, "从左侧拖拽组件")),
8804
8804
  p(ae, {
8805
8805
  class: "designer-form",
8806
8806
  "label-position": i(r).props.labelPosition,
@@ -8819,7 +8819,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8819
8819
  ]),
8820
8820
  _: 1
8821
8821
  }, 8, ["label-position", "label-width", "size"]),
8822
- i(f).device === "mobile" ? (h(), E("div", Ya)) : L("", !0)
8822
+ i(h).device === "mobile" ? (f(), E("div", Ya)) : L("", !0)
8823
8823
  ], 2)
8824
8824
  ], 2)) : L("", !0),
8825
8825
  S("i", {
@@ -8827,11 +8827,11 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8827
8827
  title: i(v) ? "隐藏属性配置面板" : "打开属性配置面板",
8828
8828
  onClick: k[6] || (k[6] = (le) => v.value = !i(v))
8829
8829
  }, null, 10, Ka),
8830
- i(v) ? (h(), E("div", Ja, [
8831
- p(ut, {
8830
+ i(v) ? (f(), E("div", Ja, [
8831
+ p(dt, {
8832
8832
  class: "prop-tabs",
8833
- modelValue: i(f).propTab,
8834
- "onUpdate:modelValue": k[9] || (k[9] = (le) => i(f).propTab = le),
8833
+ modelValue: i(h).propTab,
8834
+ "onUpdate:modelValue": k[9] || (k[9] = (le) => i(h).propTab = le),
8835
8835
  type: "border-card"
8836
8836
  }, {
8837
8837
  default: _(() => [
@@ -8840,7 +8840,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8840
8840
  name: "component"
8841
8841
  }, {
8842
8842
  default: _(() => [
8843
- i(f).selectComponent ? (h(), z(oe, {
8843
+ i(h).selectComponent ? (f(), z(oe, {
8844
8844
  key: 1,
8845
8845
  modelValue: i(c),
8846
8846
  "onUpdate:modelValue": k[8] || (k[8] = (le) => fe(c) ? c.value = le : null)
@@ -8855,15 +8855,15 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8855
8855
  ]),
8856
8856
  _: 1
8857
8857
  }),
8858
- a[i(f).selectComponent.type].propEditor ? (h(), z(U, {
8858
+ a[i(h).selectComponent.type].propEditor ? (f(), z(U, {
8859
8859
  key: 0,
8860
8860
  title: "专有属性",
8861
8861
  name: "exclusive"
8862
8862
  }, {
8863
8863
  default: _(() => [
8864
- (h(), z(It(a[i(f).selectComponent.type].propEditor), {
8865
- componentProps: i(f).selectComponent.props,
8866
- "onUpdate:componentProps": k[7] || (k[7] = (le) => i(f).selectComponent.props = le),
8864
+ (f(), z(It(a[i(h).selectComponent.type].propEditor), {
8865
+ componentProps: i(h).selectComponent.props,
8866
+ "onUpdate:componentProps": k[7] || (k[7] = (le) => i(h).selectComponent.props = le),
8867
8867
  dictionary: t.dictionary
8868
8868
  }, null, 40, ["componentProps", "dictionary"]))
8869
8869
  ]),
@@ -8880,7 +8880,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8880
8880
  })
8881
8881
  ]),
8882
8882
  _: 1
8883
- }, 8, ["modelValue"])) : (h(), z(ce, {
8883
+ }, 8, ["modelValue"])) : (f(), z(ce, {
8884
8884
  key: 0,
8885
8885
  description: "请选择组件"
8886
8886
  }))
@@ -8893,7 +8893,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8893
8893
  class: "form-props"
8894
8894
  }, {
8895
8895
  default: _(() => [
8896
- i(r).props ? (h(), z(Ia, {
8896
+ i(r).props ? (f(), z(Ia, {
8897
8897
  key: 0,
8898
8898
  ref_key: "formPropsEditorRef",
8899
8899
  ref: $e
@@ -8937,7 +8937,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8937
8937
  ref: Je,
8938
8938
  formData: i(r),
8939
8939
  uploadOptions: t.uploadOptions,
8940
- device: i(f).device
8940
+ device: i(h).device
8941
8941
  }, null, 8, ["formData", "uploadOptions", "device"])
8942
8942
  ])
8943
8943
  ]),
@@ -8956,7 +8956,7 @@ const qa = { class: "form-designer" }, ja = { class: "left-wrap" }, Ga = ["onCli
8956
8956
  ]),
8957
8957
  _: 1
8958
8958
  }, 8, ["modelValue"]),
8959
- i(ne) ? (h(), z(Sa, {
8959
+ i(ne) ? (f(), z(Sa, {
8960
8960
  key: 0,
8961
8961
  modelValue: i(ne),
8962
8962
  "onUpdate:modelValue": k[12] || (k[12] = (le) => fe(ne) ? ne.value = le : null),