liyu-pc-base 1.0.748 → 1.0.757

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.
@@ -2,28 +2,29 @@ import { t as e } from "./RemoteSelect-C9PN5B3f.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { t as n } from "./RemoteCascader-CGdD6rUw.js";
4
4
  import { t as r } from "./lodash-CC0qDxjV.js";
5
- import { N as i, P as a, s as o } from "./function-BPdgB84k.js";
6
- import { i as s, t as c } from "./RemoteModal-LBD1h5AF.js";
7
- import { n as l, r as u, t as d } from "./RemoteSelectPro-BCoUHPwT.js";
8
- import { t as f } from "./RemoteFilterSelect-BCv2zIHS.js";
9
- import { t as p } from "./AttributeNomTable-HiLsOuv9.js";
10
- import { t as m } from "./AttributeTable-BeZnyj9P.js";
11
- import { t as h } from "./JsonStr-Bx2WI6jK.js";
12
- import { t as g } from "./JsonObj-DIlhMCbj.js";
13
- import { t as _ } from "./RemoteText-BVqSMfSl.js";
14
- import { t as v } from "./modal-tools-CrXdI5sg.js";
15
- import { resolveContextValue as y } from "./components/FormRender/utils.js";
16
- import { exportJsonToExcelByTokenHeader as b } from "./utils/excel.js";
17
- import { a as x, c as S, d as C, f as w, i as T, l as E, n as D, o as ee, r as O, s as te, t as ne, u as re } from "./TinymceEditor-VlIMhy_4.js";
18
- import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as F, createTextVNode as I, createVNode as L, defineAsyncComponent as R, defineComponent as z, h as ie, mergeModels as ae, mergeProps as oe, normalizeClass as se, normalizeStyle as ce, onMounted as B, onUnmounted as V, openBlock as H, reactive as U, ref as W, renderList as G, renderSlot as le, resolveComponent as K, resolveDynamicComponent as q, toDisplayString as J, unref as ue, useModel as de, vShow as fe, watch as Y, withCtx as X, withDirectives as pe } from "vue";
19
- import { Modal as me, message as he } from "ant-design-vue";
20
- import { debounce as ge, isArray as _e } from "lodash-es";
21
- import Z from "moment";
22
- import { ExclamationCircleOutlined as ve, PlusOutlined as ye } from "@ant-design/icons-vue";
23
- import { useI18n as be } from "vue-i18n";
24
- import xe from "mitt";
5
+ import { getApiData as i } from "./api/api-model.js";
6
+ import { N as a, P as o, k as s, s as c } from "./function-BPdgB84k.js";
7
+ import { i as l, t as u } from "./RemoteModal-LBD1h5AF.js";
8
+ import { n as d, r as f, t as p } from "./RemoteSelectPro-BCoUHPwT.js";
9
+ import { t as m } from "./RemoteFilterSelect-BCv2zIHS.js";
10
+ import { t as h } from "./AttributeNomTable-HiLsOuv9.js";
11
+ import { t as g } from "./AttributeTable-BeZnyj9P.js";
12
+ import { t as _ } from "./JsonStr-Bx2WI6jK.js";
13
+ import { t as v } from "./JsonObj-DIlhMCbj.js";
14
+ import { t as y } from "./RemoteText-BVqSMfSl.js";
15
+ import { t as b } from "./modal-tools-CrXdI5sg.js";
16
+ import { resolveContextValue as x } from "./components/FormRender/utils.js";
17
+ import { exportJsonToExcelByTokenHeader as ee } from "./utils/excel.js";
18
+ import { a as S, c as te, d as C, f as w, i as T, l as ne, n as E, o as D, r as re, s as ie, t as ae, u as oe } from "./TinymceEditor-VlIMhy_4.js";
19
+ import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as P, createTextVNode as F, createVNode as I, defineAsyncComponent as L, defineComponent as R, h as se, mergeModels as ce, mergeProps as le, normalizeClass as ue, normalizeStyle as de, onMounted as z, onUnmounted as B, openBlock as V, reactive as H, ref as U, renderList as W, renderSlot as fe, resolveComponent as G, resolveDynamicComponent as K, toDisplayString as q, unref as pe, useModel as me, vShow as he, watch as J, withCtx as Y, withDirectives as ge } from "vue";
20
+ import { Modal as _e, message as ve } from "ant-design-vue";
21
+ import { debounce as ye, isArray as be } from "lodash-es";
22
+ import X from "moment";
23
+ import { ExclamationCircleOutlined as xe, PlusOutlined as Z } from "@ant-design/icons-vue";
24
+ import { useI18n as Se } from "vue-i18n";
25
+ import Ce from "mitt";
25
26
  //#region src/components/FormRender/FormTemplate/FormItem.vue?vue&type=script&lang.ts
26
- var Se = z({
27
+ var we = R({
27
28
  name: "FormTemplate",
28
29
  components: {},
29
30
  props: {
@@ -81,45 +82,45 @@ var Se = z({
81
82
  },
82
83
  emits: ["update:value", "remove"],
83
84
  setup(e, { emit: t }) {
84
- let n = U({ ...e.field.form.rules }), r = W({}), i = R(() => import("./FormRender3-DrVfwX_S.js").then((e) => e.n)), a, o = () => {
85
+ let n = H({ ...e.field.form.rules }), r = U({}), i = L(() => import("./FormRender3-DEuv5tRK.js").then((e) => e.n)), a, o = () => {
85
86
  let e = /* @__PURE__ */ new Uint8Array(16);
86
87
  return window.crypto.getRandomValues(e), Array.from(e, (e) => e.toString(16).padStart(2, "0")).join("");
87
- }, c = W([]), l = o(), u = ([t, i]) => {
88
+ }, s = U([]), c = o(), u = ([t, i]) => {
88
89
  let o = {};
89
90
  Object.keys(n).forEach((e) => {
90
91
  e in t && !i[e] && (o[e] = n[e]);
91
92
  });
92
- let c = s(t, o);
93
- a = c.validate, r.value = c.validateInfos, e.nestValidate && (e.nestValidate[l] = a);
93
+ let s = l(t, o);
94
+ a = s.validate, r.value = s.validateInfos, e.nestValidate && (e.nestValidate[c] = a);
94
95
  };
95
- return Y(() => e.value, (e) => {
96
- u([e, c.value]);
96
+ return J(() => e.value, (e) => {
97
+ u([e, s.value]);
97
98
  }, {
98
99
  deep: !0,
99
100
  immediate: !0
100
- }), B(() => {}), V(() => {
101
- e.nestValidate && delete e.nestValidate[l];
101
+ }), z(() => {}), B(() => {
102
+ e.nestValidate && delete e.nestValidate[c];
102
103
  }), {
103
104
  FormRender3Async: i,
104
105
  validateInfos: r,
105
106
  onUpdateModel: async (t) => {
106
- t.add_key ? (delete c.value[t.add_key], u([e.value, c.value])) : t.remove_key && (c.value[t.remove_key] = !0, u([e.value, c.value]));
107
+ t.add_key ? (delete s.value[t.add_key], u([e.value, s.value])) : t.remove_key && (s.value[t.remove_key] = !0, u([e.value, s.value]));
107
108
  },
108
109
  removeFormItem: () => {
109
- e.nestValidate && delete e.nestValidate[l], t("remove");
110
+ e.nestValidate && delete e.nestValidate[c], t("remove");
110
111
  }
111
112
  };
112
113
  },
113
114
  data() {
114
115
  return { model: this.value };
115
116
  }
116
- }), Ce = { class: "form-wrap" }, we = { class: "form-content" }, Te = {
117
+ }), Te = { class: "form-wrap" }, Ee = { class: "form-content" }, De = {
117
118
  key: 0,
118
119
  class: "form-action"
119
120
  };
120
- function Ee(e, t, n, r, i, a) {
121
- let o = K("DeleteOutlined"), s = K("a-button");
122
- return H(), N("div", Ce, [P("div", we, [(H(), j(q(e.FormRender3Async), {
121
+ function Oe(e, t, n, r, i, a) {
122
+ let o = G("DeleteOutlined"), s = G("a-button");
123
+ return V(), M("div", Te, [N("div", Ee, [(V(), A(K(e.FormRender3Async), {
123
124
  form: e.field.form,
124
125
  model: e.value,
125
126
  "onUpdate:model": t[0] ||= (t) => e.value = t,
@@ -150,18 +151,18 @@ function Ee(e, t, n, r, i, a) {
150
151
  "modalType",
151
152
  "base-key-path",
152
153
  "worker-host-functions"
153
- ]))]), e.field.max_count === e.min_count ? M("", !0) : (H(), N("div", Te, [L(s, {
154
+ ]))]), e.field.max_count === e.min_count ? j("", !0) : (V(), M("div", De, [I(s, {
154
155
  onClick: e.removeFormItem,
155
156
  size: "small",
156
157
  type: "link",
157
158
  danger: "",
158
159
  disabled: e.listLength <= e.min_count
159
160
  }, {
160
- icon: X(() => [L(o)]),
161
+ icon: Y(() => [I(o)]),
161
162
  _: 1
162
163
  }, 8, ["onClick", "disabled"])]))]);
163
164
  }
164
- var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]]), Oe = { key: 1 }, ke = /*#__PURE__*/ t(/* @__PURE__ */ z({
165
+ var ke = /*#__PURE__*/ t(we, [["render", Oe], ["__scopeId", "data-v-d6626b20"]]), Ae = { key: 1 }, je = /*#__PURE__*/ t(/* @__PURE__ */ R({
165
166
  __name: "TableCell",
166
167
  props: {
167
168
  field: {
@@ -209,22 +210,22 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
209
210
  },
210
211
  emits: ["update_model", "update_name2"],
211
212
  setup(e, { emit: t }) {
212
- let n = e, r = t, i = W(!0), a = (e) => {
213
+ let n = e, r = t, i = U(!0), a = (e) => {
213
214
  r("update_model", e);
214
215
  }, o = (e) => {
215
216
  r("update_name2", e);
216
- }, s = A(() => i.value && !n.field.disabled && n.field.type !== "dynamicvaluefield");
217
+ }, s = k(() => i.value && !n.field.disabled && n.field.type !== "dynamicvaluefield");
217
218
  return (t, n) => {
218
- let r = K("a-form");
219
- return H(), j(r, {
219
+ let r = G("a-form");
220
+ return V(), A(r, {
220
221
  model: e.model,
221
222
  layout: "inline",
222
223
  class: "table-cell-form"
223
224
  }, {
224
- default: X(() => [pe(P("div", { class: se(["field-cell-item", {
225
+ default: Y(() => [ge(N("div", { class: ue(["field-cell-item", {
225
226
  editable: s.value,
226
227
  "item-required": e.has_reqrired
227
- }]) }, [e.field.type === "dynamicvaluefield" ? (H(), N("span", Oe, J(e.model[e.field.name]), 1)) : (H(), j(ft, {
228
+ }]) }, [e.field.type === "dynamicvaluefield" ? (V(), M("span", Ae, q(e.model[e.field.name]), 1)) : (V(), A(_t, {
228
229
  is_show_label: !1,
229
230
  value: e.model[e.field.name],
230
231
  "onUpdate:value": n[0] ||= (t) => e.model[e.field.name] = t,
@@ -261,12 +262,12 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
261
262
  "base-key-path",
262
263
  "worker-host-functions",
263
264
  "is_form_design"
264
- ]))], 2), [[fe, i.value]])]),
265
+ ]))], 2), [[he, i.value]])]),
265
266
  _: 1
266
267
  }, 8, ["model"]);
267
268
  };
268
269
  }
269
- }), [["__scopeId", "data-v-00188241"]]), Ae = { key: 0 }, je = { key: 1 }, Me = /* @__PURE__ */ z({
270
+ }), [["__scopeId", "data-v-00188241"]]), Me = { key: 0 }, Ne = { key: 1 }, Pe = /* @__PURE__ */ R({
270
271
  __name: "TableSummary",
271
272
  props: {
272
273
  summaryParams: {
@@ -279,7 +280,7 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
279
280
  }
280
281
  },
281
282
  setup(e) {
282
- let t = e, n = A(() => {
283
+ let t = e, n = k(() => {
283
284
  let e = 0;
284
285
  for (let n of t.tableDataSource) {
285
286
  let r = n[t.summaryParams.column.dataIndex];
@@ -302,22 +303,22 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
302
303
  return parseFloat((e + t).toFixed(n));
303
304
  }
304
305
  let o = (e, t) => (typeof t == "string" && (e.addonAfter && (t = r(t, e.addonAfter, "")), e.addonBefore && (t = i(t, e.addonBefore, "")), t = parseFloat(t)), t);
305
- return (t, r) => (H(), N(k, null, [
306
- e.summaryParams?.column?.field?.addonBefore ? (H(), N("span", Ae, J(e.summaryParams.column.field.addonBefore), 1)) : M("", !0),
307
- I(" " + J(n.value) + " ", 1),
308
- e.summaryParams?.column?.field?.addonAfter ? (H(), N("span", je, J(e.summaryParams.column.field.addonAfter), 1)) : M("", !0)
306
+ return (t, r) => (V(), M(O, null, [
307
+ e.summaryParams?.column?.field?.addonBefore ? (V(), M("span", Me, q(e.summaryParams.column.field.addonBefore), 1)) : j("", !0),
308
+ F(" " + q(n.value) + " ", 1),
309
+ e.summaryParams?.column?.field?.addonAfter ? (V(), M("span", Ne, q(e.summaryParams.column.field.addonAfter), 1)) : j("", !0)
309
310
  ], 64));
310
311
  }
311
- }), Ne = {
312
+ }), Fe = {
312
313
  key: 0,
313
314
  class: "required-star"
314
- }, Pe = {
315
+ }, Ie = {
315
316
  key: 0,
316
317
  class: "cell-item"
317
- }, Fe = {
318
+ }, Le = {
318
319
  key: 1,
319
320
  class: "cell-item"
320
- }, Ie = /*#__PURE__*/ t(/* @__PURE__ */ z({
321
+ }, Re = /*#__PURE__*/ t(/* @__PURE__ */ R({
321
322
  __name: "FormTemplateTable",
322
323
  props: {
323
324
  value: {},
@@ -334,16 +335,16 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
334
335
  },
335
336
  emits: ["remove"],
336
337
  setup(e, { emit: t }) {
337
- let n = W({
338
+ let n = U({
338
339
  showQuickJumper: !0,
339
340
  showSizeChanger: !1,
340
341
  showTotal: (e) => `共 ${e} 条记录`,
341
342
  pageSize: 5,
342
343
  current: 1
343
- }), r = e, i = t, a = U({ ...r.field.form?.rules || {} }), c = W([]), l = W([]), u = W([]), d = (() => {
344
+ }), r = e, i = t, a = H({ ...r.field.form?.rules || {} }), o = U([]), s = U([]), u = U([]), d = (() => {
344
345
  let e = /* @__PURE__ */ new Uint8Array(16);
345
346
  return window.crypto.getRandomValues(e), Array.from(e, (e) => e.toString(16).padStart(2, "0")).join("");
346
- })(), f = W([]), p = () => {
347
+ })(), f = U([]), p = () => {
347
348
  let e = [], t = [];
348
349
  (r.value || []).forEach((n, r) => {
349
350
  u.value[r] || (u.value[r] = {});
@@ -351,37 +352,37 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
351
352
  Object.keys(a).forEach((e) => {
352
353
  e in n && !i[e] && (o[e] = a[e]);
353
354
  });
354
- let { validate: c, validateInfos: l } = s(n, o);
355
- e[r] = l, t[r] = c;
356
- }), c.value = e, l.value = t, r.nestValidate && (r.nestValidate[d] = async () => {
355
+ let { validate: s, validateInfos: c } = l(n, o);
356
+ e[r] = c, t[r] = s;
357
+ }), o.value = e, s.value = t, r.nestValidate && (r.nestValidate[d] = async () => {
357
358
  let e = t.map((e) => e());
358
359
  return Promise.all(e);
359
360
  });
360
361
  }, m = (e, t) => {
361
362
  u.value[e] || (u.value[e] = {}), t.add_key ? (delete u.value[e][t.add_key], p()) : t.remove_key && (u.value[e][t.remove_key] = !0, p());
362
363
  };
363
- Y(() => r.value, () => {
364
+ J(() => r.value, () => {
364
365
  p();
365
366
  }, {
366
367
  deep: !0,
367
368
  immediate: !0
368
- }), Y(() => r.field, () => {
369
+ }), J(() => r.field, () => {
369
370
  v();
370
- }, { deep: !0 }), Y(() => r.formModel, () => {
371
+ }, { deep: !0 }), J(() => r.formModel, () => {
371
372
  v();
372
- }, { deep: !0 }), Y(() => r.context, () => {
373
+ }, { deep: !0 }), J(() => r.context, () => {
373
374
  v();
374
- }, { deep: !0 }), B(() => {
375
+ }, { deep: !0 }), z(() => {
375
376
  v();
376
- }), V(() => {
377
+ }), B(() => {
377
378
  r.nestValidate && delete r.nestValidate[d];
378
379
  });
379
- let h = A(() => {
380
+ let h = k(() => {
380
381
  let e = 0;
381
382
  return f.value.forEach((t) => {
382
383
  e += t._width || 150;
383
384
  }), e;
384
- }), g = A(() => (r.value || []).map((e, t) => ({
385
+ }), g = k(() => (r.value || []).map((e, t) => ({
385
386
  ...e,
386
387
  _key: t
387
388
  }))), _ = (e) => {
@@ -430,7 +431,7 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
430
431
  }), r.field.dynamicTitle?.enable) {
431
432
  let t = r.field.dynamicTitle.code;
432
433
  try {
433
- let n = await o(t, {
434
+ let n = await c(t, {
434
435
  innerModel: r.innerModel,
435
436
  globalInnerModel: r.globalInnerModel,
436
437
  field: r.field,
@@ -448,24 +449,24 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
448
449
  f.value = e;
449
450
  }, y = (e) => {
450
451
  u.value.splice(e, 1), i("remove", e);
451
- }, b = A(() => {
452
+ }, b = k(() => {
452
453
  if (r.innerModel) {
453
454
  let e = r.innerModel[r.field.name] || [];
454
455
  return (r.value || []).map((t, n) => e[n] || {});
455
456
  }
456
457
  return [];
457
- }), x = A(() => {
458
+ }), x = k(() => {
458
459
  let e = [], t = 0;
459
460
  for (let n of f.value) n.is_summary && e.push({ index: t }), t++;
460
461
  return e;
461
462
  });
462
463
  return (e, t) => {
463
- let r = K("DeleteOutlined"), i = K("a-button"), a = K("s-table-summary-cell"), o = K("s-table-summary-row"), s = K("s-table");
464
- return H(), j(C, {
464
+ let r = G("DeleteOutlined"), i = G("a-button"), a = G("s-table-summary-cell"), s = G("s-table-summary-row"), c = G("s-table");
465
+ return V(), A(C, {
465
466
  "dynamic-title": e.field.dynamicTitle,
466
467
  "onUpdate:dynamicTitle": t[1] ||= (t) => e.field.dynamicTitle = t
467
468
  }, {
468
- default: X(() => [(H(), j(s, {
469
+ default: Y(() => [(V(), A(c, {
469
470
  dataSource: g.value,
470
471
  columns: f.value,
471
472
  autoRowHeight: !0,
@@ -479,22 +480,22 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
479
480
  pagination: n.value,
480
481
  "onUpdate:pagination": t[0] ||= (e) => n.value = e,
481
482
  rangeSelection: !1
482
- }, F({
483
- headerCell: X(({ column: e }) => [P("span", null, J(e.title), 1), e.has_reqrired ? (H(), N("span", Ne, " * ")) : M("", !0)]),
484
- bodyCell: X(({ column: t, record: n }) => [t.key === "action" ? (H(), N("div", Pe, [L(i, {
483
+ }, P({
484
+ headerCell: Y(({ column: e }) => [N("span", null, q(e.title), 1), e.has_reqrired ? (V(), M("span", Fe, " * ")) : j("", !0)]),
485
+ bodyCell: Y(({ column: t, record: n }) => [t.key === "action" ? (V(), M("div", Ie, [I(i, {
485
486
  onClick: (e) => y(n._key),
486
487
  size: "small",
487
488
  type: "link",
488
489
  danger: "",
489
490
  disabled: e.value.length <= e.min_count
490
491
  }, {
491
- icon: X(() => [L(r)]),
492
+ icon: Y(() => [I(r)]),
492
493
  _: 2
493
- }, 1032, ["onClick", "disabled"])])) : t.key === "index" ? (H(), N("div", Fe, J(n._key + 1), 1)) : t.field ? (H(), j(ke, {
494
+ }, 1032, ["onClick", "disabled"])])) : t.key === "index" ? (V(), M("div", Le, q(n._key + 1), 1)) : t.field ? (V(), A(je, {
494
495
  key: `${n._key}_${t.dataIndex}`,
495
496
  field: t.field,
496
497
  model: e.value[n._key],
497
- validateInfos: c.value[n._key] || {},
498
+ validateInfos: o.value[n._key] || {},
498
499
  options: e.field.form?.options || {},
499
500
  context: e.context,
500
501
  innerModel: b.value[n._key],
@@ -523,19 +524,19 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
523
524
  "is_form_design",
524
525
  "has_reqrired",
525
526
  "onUpdate_model"
526
- ])) : M("", !0)]),
527
+ ])) : j("", !0)]),
527
528
  _: 2
528
529
  }, [x.value.length > 0 ? {
529
530
  name: "summary",
530
- fn: X(() => [L(o, null, {
531
- default: X(() => [L(a, { index: 0 }, {
532
- default: X(() => t[2] ||= [I("合计")]),
531
+ fn: Y(() => [I(s, null, {
532
+ default: Y(() => [I(a, { index: 0 }, {
533
+ default: Y(() => t[2] ||= [F("合计")]),
533
534
  _: 1
534
- }), (H(!0), N(k, null, G(x.value, (e) => (H(), j(a, {
535
+ }), (V(!0), M(O, null, W(x.value, (e) => (V(), A(a, {
535
536
  key: e.index,
536
537
  index: e.index
537
538
  }, {
538
- default: X((e) => [L(Me, {
539
+ default: Y((e) => [I(Pe, {
539
540
  "summary-params": e,
540
541
  tableDataSource: g.value
541
542
  }, null, 8, ["summary-params", "tableDataSource"])]),
@@ -554,11 +555,28 @@ var De = /*#__PURE__*/ t(Se, [["render", Ee], ["__scopeId", "data-v-d6626b20"]])
554
555
  }, 8, ["dynamic-title"]);
555
556
  };
556
557
  }
557
- }), [["__scopeId", "data-v-f3f0dcf2"]]);
558
- //#endregion
559
- //#region src/components/FormRender/DynamicValueField/computeDynamicValue.ts
560
- async function Le(e) {
561
- let { field: t, currentValue: n, innerModel: r, globalInnerModel: i, formModel: a, context: s, baseKeyPath: c = [], workerHostFunctions: l = {} } = e;
558
+ }), [["__scopeId", "data-v-f3f0dcf2"]]), ze = /* @__PURE__ */ new Set();
559
+ function Be(e, t = []) {
560
+ return [...t, e.name || e.code || "field"].join("__");
561
+ }
562
+ async function Ve(e) {
563
+ try {
564
+ let t = e.serialConfig || {};
565
+ return { value: await i({
566
+ org_id: s(),
567
+ mode: t.mode || "M1",
568
+ kwargs: JSON.stringify(t),
569
+ preview: !0
570
+ }, "/approve/get_approve_serial_number", !1) };
571
+ } catch (e) {
572
+ return console.error(e), {
573
+ value: void 0,
574
+ error: e?.message || "流水号预览失败"
575
+ };
576
+ }
577
+ }
578
+ async function He(e) {
579
+ let { field: t, currentValue: n, innerModel: r, globalInnerModel: a, formModel: o, context: l, baseKeyPath: u = [], workerHostFunctions: d = {}, is_form_design: f = !1 } = e;
562
580
  if (t.watchType === "scoped") {
563
581
  if (t.valueType === "single") {
564
582
  let e = r?.[t.fieldName];
@@ -575,11 +593,11 @@ async function Le(e) {
575
593
  }
576
594
  } else if (t.watchType === "global") {
577
595
  if (t.valueType === "single") {
578
- let e = i?.[t.fieldName];
596
+ let e = a?.[t.fieldName];
579
597
  if (t.valueKey && (e = e?.[t.valueKey]), e === void 0 && n !== void 0) return null;
580
598
  if (e !== n) return { value: e };
581
599
  } else if (t.valueType === "multiple") {
582
- let e = i?.[t.fieldName];
600
+ let e = a?.[t.fieldName];
583
601
  if (t.valueKeyList && t.valueKeyList.length) {
584
602
  let r = [];
585
603
  for (let n of t.valueKeyList) e?.[n] && r.push(e?.[n]);
@@ -588,7 +606,7 @@ async function Le(e) {
588
606
  }
589
607
  }
590
608
  } else if (t.watchType === "context") {
591
- let e = y(t.fieldName || "", s, ["formModel", ...c]);
609
+ let e = x(t.fieldName || "", l, ["formModel", ...u]);
592
610
  if (t.valueType === "single") {
593
611
  let r = e;
594
612
  if (t.valueKey && (r = r?.[t.valueKey]), r === void 0 && n !== void 0) return null;
@@ -603,14 +621,14 @@ async function Le(e) {
603
621
  }
604
622
  }
605
623
  } else if (t.watchType === "code") try {
606
- let e = await o(t.code, {
624
+ let e = await c(t.code, {
607
625
  innerModel: r,
608
- globalInnerModel: i,
626
+ globalInnerModel: a,
609
627
  field: t,
610
- formModel: a,
611
- context: s,
612
- keyPath: [...c, t.name]
613
- }, l);
628
+ formModel: o,
629
+ context: l,
630
+ keyPath: [...u, t.name]
631
+ }, d);
614
632
  if (e === void 0 && n !== void 0) return null;
615
633
  if (e !== n) return { value: e };
616
634
  } catch (e) {
@@ -619,11 +637,33 @@ async function Le(e) {
619
637
  error: e.message
620
638
  };
621
639
  }
640
+ else if (t.watchType === "serial") {
641
+ if (f) return await Ve(t);
642
+ if (n != null && n !== "") return null;
643
+ let e = Be(t, u);
644
+ if (ze.has(e)) return null;
645
+ ze.add(e);
646
+ try {
647
+ let e = t.serialConfig || {}, r = await i({
648
+ org_id: s(),
649
+ mode: e.mode || "M1",
650
+ kwargs: JSON.stringify(e)
651
+ }, "/approve/get_approve_serial_number", !1);
652
+ if (r !== n) return { value: r };
653
+ } catch (e) {
654
+ return console.error(e), {
655
+ value: void 0,
656
+ error: e?.message || "流水号分配失败"
657
+ };
658
+ } finally {
659
+ ze.delete(e);
660
+ }
661
+ }
622
662
  return null;
623
663
  }
624
664
  //#endregion
625
665
  //#region src/components/FormRender/FormTemplate/FormTemplate.vue?vue&type=script&setup=true&lang.ts
626
- var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
666
+ var Q = r(), Ue = { class: "top_btn" }, We = /*#__PURE__*/ t(/* @__PURE__ */ R({
627
667
  __name: "FormTemplate",
628
668
  props: {
629
669
  field: {},
@@ -645,16 +685,16 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
645
685
  },
646
686
  emits: ["update:value"],
647
687
  setup(e, { emit: t }) {
648
- let n = e, r = t, i = W(0), a = xe(), s = [{
688
+ let n = e, r = t, i = U(0), a = Ce(), o = [{
649
689
  label: "添加(add)",
650
690
  value: "add"
651
691
  }, {
652
692
  label: "整体更新(update)",
653
693
  value: "update"
654
- }], c = R(() => import("./ImportExcelModal-Dds857L2.js")), l = A(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("download"))), u = A(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("import"))), d = () => {
655
- me.confirm({
694
+ }], s = L(() => import("./ImportExcelModal-Dds857L2.js")), l = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("download"))), u = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("import"))), d = () => {
695
+ _e.confirm({
656
696
  title: "确认清空吗?",
657
- icon: L(ve),
697
+ icon: I(xe),
658
698
  content: "清空后将无法恢复",
659
699
  okText: "确认",
660
700
  cancelText: "取消",
@@ -662,11 +702,11 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
662
702
  r("update:value", []);
663
703
  }
664
704
  });
665
- }, f = A(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("clear"))), p = A(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("add"))), m = {}, h = () => {
666
- let e = [];
667
- (n.field.form?.dynamicFieldList || []).forEach((t) => {
705
+ }, f = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("clear"))), p = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("add"))), m = {}, h = () => {
706
+ let e = [], t = n.field.form?.dynamicFieldList || [];
707
+ t.forEach((t) => {
668
708
  t.children instanceof Array && t.children.forEach((t) => {
669
- if (t.is_table_hide_column) return;
709
+ if (t.is_table_hide_column || t.type === "dynamicvaluefield") return;
670
710
  let r = { ...t };
671
711
  t?.name2 && (m[t.name] = t?.name2), [
672
712
  "select",
@@ -677,31 +717,35 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
677
717
  ].includes(t.type) && (r.options = n.field.form?.options?.[t.name] || t.options), e.push(r);
678
718
  });
679
719
  });
680
- let t = U({
720
+ let i = H({
681
721
  open: !0,
682
722
  loading: !1,
683
- component: c,
723
+ component: s,
684
724
  title: "导入Excel数据",
685
725
  configList: e,
686
726
  ok: (e) => {
687
- let i = [], a = [];
727
+ let a = [], o = [];
688
728
  e.forEach((e) => {
689
- let t = (0, Q.cloneDeep)(n.field.form.model || {});
690
- Object.keys(e).forEach((n) => {
691
- e[n].error && i.push(ie("li", e[n].error + "(" + e[n].excel_position + ")")), t[n] = e[n].value, m[n] && (t[m[n]] = e[n].raw_value);
692
- }), a.push(t);
693
- }), i.length > 0 ? me.warning({
729
+ let r = (0, Q.cloneDeep)(n.field.form.model || {});
730
+ Object.keys(e).forEach((t) => {
731
+ e[t].error && a.push(se("li", e[t].error + "(" + e[t].excel_position + ")")), r[t] = e[t].value, m[t] && (r[m[t]] = e[t].raw_value);
732
+ }), t?.length && t.forEach((e) => {
733
+ e.children instanceof Array && e.children.forEach((e) => {
734
+ e.type === "dynamicvaluefield" && delete r[e.name];
735
+ });
736
+ }), o.push(r);
737
+ }), a.length > 0 ? _e.warning({
694
738
  title: "导入Excel报错, 请改正后再尝试导入",
695
- content: ie("ol", i),
696
- icon: L(ve)
697
- }) : r("update:value", [...n.value || [], ...a]), t.open = !1;
739
+ content: se("ol", a),
740
+ icon: I(xe)
741
+ }) : r("update:value", [...n.value || [], ...o]), i.open = !1;
698
742
  },
699
743
  onCancel: () => {
700
- t.open = !1;
744
+ i.open = !1;
701
745
  }
702
746
  });
703
- v(t);
704
- }, g = W(!1), _ = (e) => {
747
+ b(i);
748
+ }, g = U(!1), _ = (e) => {
705
749
  if (n.field?.form?.rules) {
706
750
  let t = n.field?.form?.rules[e];
707
751
  if (t) {
@@ -709,17 +753,17 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
709
753
  }
710
754
  }
711
755
  return !1;
712
- }, y = () => {
756
+ }, v = () => {
713
757
  g.value = !0;
714
758
  let e = [], t = [];
715
759
  (n.field.form?.dynamicFieldList || []).forEach((r) => {
716
760
  r.children instanceof Array && r.children.forEach((r) => {
717
- r.is_hide || r.is_table_hide_column || (e.push(_(r.name) ? { title: [r.label, {
761
+ r.is_hide || r.is_table_hide_column || r.type !== "dynamicvaluefield" && (e.push(_(r.name) ? { title: [r.label, {
718
762
  text: "[必填]",
719
763
  color: "FFFF0000"
720
764
  }] } : { title: [r.label] }), n.value && n.value.length > 0 ? t.push(n.value[0][r.name] ? n.value[0][r.name].toString() : "") : t.push(""));
721
765
  });
722
- }), b({
766
+ }), ee({
723
767
  data: [t],
724
768
  autoWidth: !0,
725
769
  filename: n.field.label || "导入模板",
@@ -727,24 +771,24 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
727
771
  }), setTimeout(() => {
728
772
  g.value = !1;
729
773
  }, 1500);
730
- }, x = A(() => n.field.min_count ?? 0), S = A(() => {
774
+ }, y = k(() => n.field.min_count ?? 0), x = k(() => {
731
775
  if (n.innerModel) {
732
776
  n.innerModel[n.field.name] || (n.innerModel[n.field.name] = []);
733
777
  for (let e = 0; e < n.value.length; e++) n.innerModel[n.field.name][e] || (n.innerModel[n.field.name][e] = {});
734
778
  return n.innerModel[n.field.name];
735
779
  }
736
780
  return [];
737
- }), w = async (e) => {
781
+ }), S = async (e) => {
738
782
  if (e.code) {
739
783
  let t;
740
784
  try {
741
- t = await o(e.code, {
785
+ t = await c(e.code, {
742
786
  context: n.context,
743
787
  value: n.value,
744
788
  keyPath: [...n.baseKeyPath, n.field.name]
745
789
  }, n.workerHostFunctions || {});
746
790
  } catch (e) {
747
- he.error(e.message);
791
+ ve.error(e.message);
748
792
  return;
749
793
  }
750
794
  if (e.action == "add") {
@@ -763,16 +807,16 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
763
807
  r("update:value", e);
764
808
  }
765
809
  }
766
- }, T = () => {
810
+ }, te = () => {
767
811
  let e = n.value || [];
768
812
  e.push((0, Q.cloneDeep)(n.field.form.model || {})), r("update:value", e);
769
- }, E = (e) => {
813
+ }, w = (e) => {
770
814
  let t = n.value || [];
771
815
  t.splice(e, 1), r("update:value", t);
772
- }, D = (0, Q.debounce)(() => {
816
+ }, T = (0, Q.debounce)(() => {
773
817
  i.value = window.innerHeight - 165;
774
- }, 200), ee = () => {
775
- v(U({
818
+ }, 200), ne = () => {
819
+ b(H({
776
820
  open: !0,
777
821
  loading: !1,
778
822
  component: "InnerFormDesignModal",
@@ -791,137 +835,145 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
791
835
  }
792
836
  }));
793
837
  };
794
- Y(() => n.value, (e) => {
795
- if (!(e instanceof Array) || e.length < x.value) {
838
+ J(() => n.value, (e) => {
839
+ if (!(e instanceof Array) || e.length < y.value) {
796
840
  let t = [...e || []];
797
- for (; t.length < x.value;) t.push((0, Q.cloneDeep)(n.field.form.model || {}));
841
+ for (; t.length < y.value;) t.push((0, Q.cloneDeep)(n.field.form.model || {}));
798
842
  r("update:value", t);
799
843
  }
800
844
  });
801
- let O = A(() => {
845
+ let E = k(() => {
802
846
  let e = [];
803
847
  return (n.field?.form?.dynamicFieldList || []).forEach((t) => {
804
848
  t.children instanceof Array && t.children.forEach((t) => {
805
849
  t.type === "dynamicvaluefield" && e.push(t);
806
850
  });
807
851
  }), e;
808
- }), te = (0, Q.debounce)(async () => {
809
- let e = n.value;
810
- if (!e || e.length === 0 || O.value.length === 0) return;
811
- let t = !1, i = [...e];
812
- for (let e = 0; e < i.length; e++) {
813
- let r = n.innerModel?.[n.field.name]?.[e], a = [
814
- ...n.baseKeyPath || [],
815
- n.field.name,
816
- e
817
- ];
818
- for (let o of O.value) {
819
- let s = i[e]?.[o.name], c = await Le({
820
- field: o,
821
- currentValue: s,
822
- innerModel: r,
823
- globalInnerModel: n.globalInnerModel,
824
- formModel: i[e],
825
- context: n.context,
826
- baseKeyPath: a,
827
- workerHostFunctions: n.workerHostFunctions || {}
828
- });
829
- c && (i[e] = {
830
- ...i[e],
831
- [o.name]: c.value
832
- }, t = !0);
852
+ }), D = (0, Q.debounce)(async () => {
853
+ if (!D.isAllocating) {
854
+ D.isAllocating = !0;
855
+ try {
856
+ let e = n.value;
857
+ if (!e || e.length === 0 || E.value.length === 0) return;
858
+ let t = !1, i = [...e];
859
+ for (let e = 0; e < i.length; e++) {
860
+ let r = x.value[e], a = [
861
+ ...n.baseKeyPath || [],
862
+ n.field.name,
863
+ e
864
+ ];
865
+ for (let o of E.value) {
866
+ let s = i[e]?.[o.name], c = await He({
867
+ field: o,
868
+ currentValue: s,
869
+ innerModel: r,
870
+ globalInnerModel: n.globalInnerModel,
871
+ formModel: i[e],
872
+ context: n.context,
873
+ baseKeyPath: a,
874
+ workerHostFunctions: n.workerHostFunctions || {},
875
+ is_form_design: n.is_form_design
876
+ });
877
+ c && c.value !== void 0 && c.value !== null && c.value !== "" && (i[e] = {
878
+ ...i[e],
879
+ [o.name]: c.value
880
+ }, t = !0);
881
+ }
882
+ }
883
+ t && r("update:value", i);
884
+ } finally {
885
+ D.isAllocating = !1;
833
886
  }
834
887
  }
835
- t && r("update:value", i);
836
888
  }, 200);
837
- return Y(() => [
889
+ return J(() => [
838
890
  n.value,
839
891
  n.innerModel,
840
892
  n.globalInnerModel,
841
893
  n.context,
842
894
  n.field
843
895
  ], () => {
844
- te();
896
+ D();
845
897
  }, {
846
898
  deep: !0,
847
899
  immediate: !0
848
- }), B(() => {
849
- if (window.addEventListener("resize", D), D(), !(n.value instanceof Array) || n.value.length < x.value) {
900
+ }), z(() => {
901
+ if (window.addEventListener("resize", T), T(), !(n.value instanceof Array) || n.value.length < y.value) {
850
902
  let e = [...n.value || []];
851
- for (; e.length < x.value;) e.push((0, Q.cloneDeep)(n.field.form.model || {}));
903
+ for (; e.length < y.value;) e.push((0, Q.cloneDeep)(n.field.form.model || {}));
852
904
  r("update:value", e);
853
905
  }
854
- }), V(() => {
855
- window.removeEventListener("resize", D);
906
+ }), B(() => {
907
+ window.removeEventListener("resize", T);
856
908
  }), (e, t) => {
857
- let n = K("a-button");
858
- return H(), N(k, null, [P("div", Re, [
859
- e.is_form_design ? (H(), j(n, {
909
+ let n = G("a-button");
910
+ return V(), M(O, null, [N("div", Ue, [
911
+ e.is_form_design ? (V(), A(n, {
860
912
  key: 0,
861
913
  type: "primary",
862
914
  size: "small",
863
- onClick: ee,
915
+ onClick: ne,
864
916
  ghost: !0
865
917
  }, {
866
- default: X(() => t[0] ||= [I(" 编辑表单 ")]),
918
+ default: Y(() => t[0] ||= [F(" 编辑表单 ")]),
867
919
  _: 1
868
- })) : M("", !0),
869
- f.value ? (H(), j(n, {
920
+ })) : j("", !0),
921
+ f.value ? (V(), A(n, {
870
922
  key: 1,
871
923
  size: "small",
872
924
  type: "primary",
873
925
  onClick: d,
874
926
  danger: !0
875
927
  }, {
876
- default: X(() => t[1] ||= [I(" 清空 ")]),
928
+ default: Y(() => t[1] ||= [F(" 清空 ")]),
877
929
  _: 1
878
- })) : M("", !0),
879
- l.value ? (H(), j(n, {
930
+ })) : j("", !0),
931
+ l.value ? (V(), A(n, {
880
932
  key: 2,
881
933
  size: "small",
882
934
  type: "primary",
883
935
  loading: g.value,
884
- onClick: y
936
+ onClick: v
885
937
  }, {
886
- default: X(() => t[2] ||= [I(" 下载导入模版 ")]),
938
+ default: Y(() => t[2] ||= [F(" 下载导入模版 ")]),
887
939
  _: 1
888
- }, 8, ["loading"])) : M("", !0),
889
- u.value ? (H(), j(n, {
940
+ }, 8, ["loading"])) : j("", !0),
941
+ u.value ? (V(), A(n, {
890
942
  key: 3,
891
943
  size: "small",
892
944
  type: "primary",
893
945
  onClick: h
894
946
  }, {
895
- default: X(() => t[3] ||= [I(" 导入Excel数据 ")]),
947
+ default: Y(() => t[3] ||= [F(" 导入Excel数据 ")]),
896
948
  _: 1
897
- })) : M("", !0),
898
- p.value && (!e.field.custom_btn_list?.length || e.field.max_count !== x.value) ? (H(), j(n, {
949
+ })) : j("", !0),
950
+ p.value && (!e.field.custom_btn_list?.length || e.field.max_count !== y.value) ? (V(), A(n, {
899
951
  key: 4,
900
952
  type: "primary",
901
953
  size: "small",
902
- onClick: T,
954
+ onClick: te,
903
955
  disabled: e.field.max_count && e.value.length >= e.field.max_count
904
956
  }, {
905
- icon: X(() => [L(ue(ye))]),
906
- default: X(() => [I(" " + J(e.field.btn_title || "添加"), 1)]),
957
+ icon: Y(() => [I(pe(Z))]),
958
+ default: Y(() => [F(" " + q(e.field.btn_title || "添加"), 1)]),
907
959
  _: 1
908
- }, 8, ["disabled"])) : M("", !0),
909
- (H(!0), N(k, null, G(e.field.custom_btn_list, (t) => (H(), j(C, {
960
+ }, 8, ["disabled"])) : j("", !0),
961
+ (V(!0), M(O, null, W(e.field.custom_btn_list, (t) => (V(), A(C, {
910
962
  action_code_id: t.action_code_id,
911
963
  code: t.code,
912
964
  "onUpdate:code": (e) => t.code = e,
913
965
  action: t.action,
914
966
  "onUpdate:action": (e) => t.action = e,
915
- options: s
967
+ options: o
916
968
  }, {
917
- default: X(() => [L(n, {
969
+ default: Y(() => [I(n, {
918
970
  size: "small",
919
971
  type: t.type,
920
972
  danger: t.danger,
921
- onClick: (e) => w(t),
973
+ onClick: (e) => S(t),
922
974
  disabled: e.field.max_count && e.value.length >= e.field.max_count && t.action === "add"
923
975
  }, {
924
- default: X(() => [I(J(t.label), 1)]),
976
+ default: Y(() => [F(q(t.label), 1)]),
925
977
  _: 2
926
978
  }, 1032, [
927
979
  "type",
@@ -937,7 +989,7 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
937
989
  "action",
938
990
  "onUpdate:action"
939
991
  ]))), 256))
940
- ]), e.field.showType === "table" ? (H(), j(Ie, {
992
+ ]), e.field.showType === "table" ? (V(), A(Re, {
941
993
  key: 0,
942
994
  value: e.value,
943
995
  field: e.field,
@@ -948,9 +1000,9 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
948
1000
  nestValidate: e.nestValidate,
949
1001
  "base-key-path": e.baseKeyPath,
950
1002
  "worker-host-functions": e.workerHostFunctions,
951
- min_count: x.value,
1003
+ min_count: y.value,
952
1004
  formModel: e.formModel,
953
- onRemove: E
1005
+ onRemove: w
954
1006
  }, null, 8, [
955
1007
  "value",
956
1008
  "field",
@@ -963,7 +1015,7 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
963
1015
  "worker-host-functions",
964
1016
  "min_count",
965
1017
  "formModel"
966
- ])) : (H(!0), N(k, { key: 1 }, G(e.value, (t, n) => (H(), j(De, {
1018
+ ])) : (V(!0), M(O, { key: 1 }, W(e.value, (t, n) => (V(), A(ke, {
967
1019
  form: e.field.form,
968
1020
  field: e.field,
969
1021
  value: e.value[n],
@@ -971,15 +1023,15 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
971
1023
  options: e.field.form?.options,
972
1024
  alwaysShowGroup: e.alwaysShowGroup,
973
1025
  is_form_design: e.is_form_design,
974
- "inner-model": S.value[n],
1026
+ "inner-model": x.value[n],
975
1027
  "global-inner-model": e.globalInnerModel,
976
1028
  modalTypeList: e.modalTypeList,
977
1029
  modalType: e.modalType,
978
1030
  nestValidate: e.nestValidate,
979
- min_count: x.value,
1031
+ min_count: y.value,
980
1032
  listLength: e.value.length,
981
1033
  context: e.context,
982
- onRemove: (e) => E(n),
1034
+ onRemove: (e) => w(n),
983
1035
  "base-key-path": [
984
1036
  ...e.baseKeyPath,
985
1037
  e.field.name,
@@ -1008,10 +1060,10 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
1008
1060
  ]))), 256))], 64);
1009
1061
  };
1010
1062
  }
1011
- }), [["__scopeId", "data-v-c86c2d37"]]), Be = {
1063
+ }), [["__scopeId", "data-v-028954a7"]]), Ge = {
1012
1064
  key: 0,
1013
1065
  class: "error-msg"
1014
- }, Ve = /*#__PURE__*/ t(/* @__PURE__ */ z({
1066
+ }, Ke = /*#__PURE__*/ t(/* @__PURE__ */ R({
1015
1067
  name: "DynamicValueField",
1016
1068
  __name: "DynamicValueField",
1017
1069
  props: {
@@ -1043,12 +1095,16 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
1043
1095
  workerHostFunctions: {
1044
1096
  type: Object,
1045
1097
  default: () => {}
1098
+ },
1099
+ is_form_design: {
1100
+ type: Boolean,
1101
+ default: !1
1046
1102
  }
1047
1103
  },
1048
1104
  emits: ["update:value"],
1049
1105
  setup(e, { emit: t }) {
1050
- let n = e, r = t, i = W(null), a = (0, Q.debounce)(async (e, t, a, o) => {
1051
- let s = await Le({
1106
+ let n = e, r = t, i = U(null), a = (0, Q.debounce)(async (e, t, a, o) => {
1107
+ let s = await He({
1052
1108
  field: a,
1053
1109
  currentValue: n.value,
1054
1110
  innerModel: e,
@@ -1056,11 +1112,12 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
1056
1112
  formModel: o,
1057
1113
  context: n.context,
1058
1114
  baseKeyPath: n.baseKeyPath,
1059
- workerHostFunctions: n.workerHostFunctions || {}
1115
+ workerHostFunctions: n.workerHostFunctions || {},
1116
+ is_form_design: n.is_form_design
1060
1117
  });
1061
- s && (r("update:value", s.value), a.watchType === "code" && (i.value = s.error || null));
1118
+ s && (s.value !== void 0 && s.value !== null && s.value !== "" && r("update:value", s.value), (a.watchType === "code" || a.watchType === "serial") && (i.value = s.error || null));
1062
1119
  }, 200);
1063
- return Y(() => [
1120
+ return J(() => [
1064
1121
  n.innerModel,
1065
1122
  n.globalInnerModel,
1066
1123
  n.field,
@@ -1072,22 +1129,22 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
1072
1129
  immediate: !0,
1073
1130
  deep: !0
1074
1131
  }), (t, n) => {
1075
- let r = K("a-input");
1076
- return H(), N(k, null, [L(C, {
1132
+ let r = G("a-input");
1133
+ return V(), M(O, null, [I(C, {
1077
1134
  "value-code": e.field,
1078
1135
  "show-debug-code": e.field.watchType === "code"
1079
1136
  }, {
1080
- default: X(() => [L(r, {
1137
+ default: Y(() => [I(r, {
1081
1138
  value: e.value,
1082
1139
  readonly: "",
1083
1140
  size: "small",
1084
1141
  style: { "background-color": "#f5f5f5" }
1085
1142
  }, null, 8, ["value"])]),
1086
1143
  _: 1
1087
- }, 8, ["value-code", "show-debug-code"]), i.value ? (H(), N("span", Be, J(i.value), 1)) : M("", !0)], 64);
1144
+ }, 8, ["value-code", "show-debug-code"]), i.value ? (V(), M("span", Ge, q(i.value), 1)) : j("", !0)], 64);
1088
1145
  };
1089
1146
  }
1090
- }), [["__scopeId", "data-v-fa20c879"]]), He = z({
1147
+ }), [["__scopeId", "data-v-10895af3"]]), qe = R({
1091
1148
  name: "FormButton",
1092
1149
  components: { debugCode: C },
1093
1150
  props: {
@@ -1136,13 +1193,13 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
1136
1193
  if (e.field.code) {
1137
1194
  let t;
1138
1195
  try {
1139
- t = await o(e.field.code, {
1196
+ t = await c(e.field.code, {
1140
1197
  context: e.context,
1141
1198
  formModel: e.formModel,
1142
1199
  keyPath: [...e.baseKeyPath, e.field.name]
1143
1200
  }, e.workerHostFunctions || {});
1144
1201
  } catch (e) {
1145
- he.error(e.message);
1202
+ ve.error(e.message);
1146
1203
  return;
1147
1204
  }
1148
1205
  t && Object.assign(e.formModel, t);
@@ -1155,21 +1212,21 @@ var Q = r(), Re = { class: "top_btn" }, ze = /*#__PURE__*/ t(/* @__PURE__ */ z({
1155
1212
  });
1156
1213
  //#endregion
1157
1214
  //#region src/components/FormRender/FormButton/FormButton.vue
1158
- function Ue(e, t, n, r, i, a) {
1159
- let o = K("a-button"), s = K("debug-code");
1160
- return H(), j(s, {
1215
+ function Je(e, t, n, r, i, a) {
1216
+ let o = G("a-button"), s = G("debug-code");
1217
+ return V(), A(s, {
1161
1218
  action_code_id: e.field.action_code_id,
1162
1219
  code: e.field.code,
1163
1220
  "onUpdate:code": t[0] ||= (t) => e.field.code = t
1164
1221
  }, {
1165
- default: X(() => [L(o, {
1222
+ default: Y(() => [I(o, {
1166
1223
  danger: e.field.danger,
1167
1224
  type: e.field.btn_type,
1168
1225
  disabled: e.field.disabled,
1169
1226
  size: "small",
1170
1227
  onClick: e.handlClick
1171
1228
  }, {
1172
- default: X(() => [I(J(e.field.label), 1)]),
1229
+ default: Y(() => [F(q(e.field.label), 1)]),
1173
1230
  _: 1
1174
1231
  }, 8, [
1175
1232
  "danger",
@@ -1180,7 +1237,7 @@ function Ue(e, t, n, r, i, a) {
1180
1237
  _: 1
1181
1238
  }, 8, ["action_code_id", "code"]);
1182
1239
  }
1183
- var We = /*#__PURE__*/ t(He, [["render", Ue]]), Ge = z({
1240
+ var Ye = /*#__PURE__*/ t(qe, [["render", Je]]), Xe = R({
1184
1241
  name: "InputNumberPro",
1185
1242
  components: {},
1186
1243
  props: {
@@ -1207,7 +1264,7 @@ var We = /*#__PURE__*/ t(He, [["render", Ue]]), Ge = z({
1207
1264
  }
1208
1265
  return {
1209
1266
  update: n,
1210
- innerValue: A(() => {
1267
+ innerValue: k(() => {
1211
1268
  let t = e.value;
1212
1269
  return typeof t == "string" && (e.field.addonAfter && (t = r(t, e.field.addonAfter, "")), e.field.addonBefore && (t = i(t, e.field.addonBefore, "")), t = parseFloat(t), isNaN(t) && (t = null)), t;
1213
1270
  })
@@ -1216,10 +1273,10 @@ var We = /*#__PURE__*/ t(He, [["render", Ue]]), Ge = z({
1216
1273
  data() {
1217
1274
  return { model: this.value };
1218
1275
  }
1219
- }), Ke = { key: 0 }, qe = { key: 0 }, Je = { key: 0 };
1220
- function Ye(e, t, n, r, i, a) {
1221
- let o = K("a-input-number");
1222
- return H(), j(o, {
1276
+ }), Ze = { key: 0 }, Qe = { key: 0 }, $e = { key: 0 };
1277
+ function et(e, t, n, r, i, a) {
1278
+ let o = G("a-input-number");
1279
+ return V(), A(o, {
1223
1280
  value: e.innerValue,
1224
1281
  autocomplete: e.field.autocomplete == null ? "off" : e.field.autocomplete,
1225
1282
  "default-value": e.field.defaultValue,
@@ -1232,20 +1289,20 @@ function Ye(e, t, n, r, i, a) {
1232
1289
  step: e.field.step,
1233
1290
  size: "small",
1234
1291
  "onUpdate:value": e.update
1235
- }, F({ _: 2 }, [
1292
+ }, P({ _: 2 }, [
1236
1293
  e.field?.prefix || e.field?.prefixIcon ? {
1237
1294
  name: "prefix",
1238
- fn: X(() => [e.field?.prefix ? (H(), N("span", Ke, J(e.field.prefix), 1)) : M("", !0), e.field?.prefixIcon ? (H(), j(q(e.field?.prefixIcon), { key: 1 })) : M("", !0)]),
1295
+ fn: Y(() => [e.field?.prefix ? (V(), M("span", Ze, q(e.field.prefix), 1)) : j("", !0), e.field?.prefixIcon ? (V(), A(K(e.field?.prefixIcon), { key: 1 })) : j("", !0)]),
1239
1296
  key: "0"
1240
1297
  } : void 0,
1241
1298
  e.field?.addonBefore || e.field?.addonBeforeIcon ? {
1242
1299
  name: "addonBefore",
1243
- fn: X(() => [e.field?.addonBefore ? (H(), N("span", qe, J(e.field.addonBefore), 1)) : M("", !0), e.field?.addonBeforeIcon ? (H(), j(q(e.field?.addonBeforeIcon), { key: 1 })) : M("", !0)]),
1300
+ fn: Y(() => [e.field?.addonBefore ? (V(), M("span", Qe, q(e.field.addonBefore), 1)) : j("", !0), e.field?.addonBeforeIcon ? (V(), A(K(e.field?.addonBeforeIcon), { key: 1 })) : j("", !0)]),
1244
1301
  key: "1"
1245
1302
  } : void 0,
1246
1303
  e.field?.addonAfter || e.field?.addonAfterIcon ? {
1247
1304
  name: "addonAfter",
1248
- fn: X(() => [e.field?.addonAfter ? (H(), N("span", Je, J(e.field.addonAfter), 1)) : M("", !0), e.field?.addonAfterIcon ? (H(), j(q(e.field?.addonAfterIcon), { key: 1 })) : M("", !0)]),
1305
+ fn: Y(() => [e.field?.addonAfter ? (V(), M("span", $e, q(e.field.addonAfter), 1)) : j("", !0), e.field?.addonAfterIcon ? (V(), A(K(e.field?.addonAfterIcon), { key: 1 })) : j("", !0)]),
1249
1306
  key: "2"
1250
1307
  } : void 0
1251
1308
  ]), 1032, [
@@ -1262,9 +1319,9 @@ function Ye(e, t, n, r, i, a) {
1262
1319
  "onUpdate:value"
1263
1320
  ]);
1264
1321
  }
1265
- var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]]), Ze = { key: 0 }, Qe = { key: 0 }, $e = { key: 0 }, et = { key: 0 }, tt = /*#__PURE__*/ t(/* @__PURE__ */ z({
1322
+ var tt = /*#__PURE__*/ t(Xe, [["render", et], ["__scopeId", "data-v-1c2384e8"]]), nt = { key: 0 }, rt = { key: 0 }, it = { key: 0 }, at = { key: 0 }, ot = /*#__PURE__*/ t(/* @__PURE__ */ R({
1266
1323
  __name: "InputPro",
1267
- props: /*@__PURE__*/ ae({ field: {
1324
+ props: /*@__PURE__*/ ce({ field: {
1268
1325
  type: Object,
1269
1326
  required: !0
1270
1327
  } }, {
@@ -1273,8 +1330,8 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1273
1330
  }),
1274
1331
  emits: ["update:value"],
1275
1332
  setup(e) {
1276
- let t = de(e, "value"), n = e, r = W("");
1277
- Y(() => t.value, (e) => {
1333
+ let t = me(e, "value"), n = e, r = U("");
1334
+ J(() => t.value, (e) => {
1278
1335
  let t = e;
1279
1336
  n.field.extraAddonAfter && n.field.addonAfter && (t = o(t, n.field.addonAfter, "")), n.field.extraAddonBefore && n.field.addonBefore && (t = a(t, n.field.addonBefore, "")), r.value = t;
1280
1337
  }, { immediate: !0 });
@@ -1288,8 +1345,8 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1288
1345
  return e?.endsWith(t) ? e.slice(0, -t.length) + n : e;
1289
1346
  }
1290
1347
  return (t, n) => {
1291
- let a = K("a-input");
1292
- return H(), j(a, {
1348
+ let a = G("a-input");
1349
+ return V(), A(a, {
1293
1350
  value: r.value,
1294
1351
  "onUpdate:value": n[0] ||= (e) => r.value = e,
1295
1352
  "allow-clear": e.field.allowClear == null ? !0 : e.field.allowClear,
@@ -1300,26 +1357,26 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1300
1357
  placeholder: e.field.placeholder ? e.field.placeholder : t.$t("请输入") + e.field.label,
1301
1358
  type: e.field.inputType ? e.field.inputType : "text",
1302
1359
  size: "small",
1303
- onChange: n[1] ||= (e) => ue(i)(e.target.value)
1304
- }, F({ _: 2 }, [
1360
+ onChange: n[1] ||= (e) => pe(i)(e.target.value)
1361
+ }, P({ _: 2 }, [
1305
1362
  e.field?.prefix || e.field?.prefixIcon ? {
1306
1363
  name: "prefix",
1307
- fn: X(() => [e.field?.prefix ? (H(), N("span", Ze, J(e.field.prefix), 1)) : M("", !0), e.field?.prefixIcon ? (H(), j(q(e.field?.prefixIcon), { key: 1 })) : M("", !0)]),
1364
+ fn: Y(() => [e.field?.prefix ? (V(), M("span", nt, q(e.field.prefix), 1)) : j("", !0), e.field?.prefixIcon ? (V(), A(K(e.field?.prefixIcon), { key: 1 })) : j("", !0)]),
1308
1365
  key: "0"
1309
1366
  } : void 0,
1310
1367
  e.field?.suffix || e.field?.suffixIcon ? {
1311
1368
  name: "suffix",
1312
- fn: X(() => [e.field?.suffix ? (H(), N("span", Qe, J(e.field.suffix), 1)) : M("", !0), e.field?.suffixIcon ? (H(), j(q(e.field?.suffixIcon), { key: 1 })) : M("", !0)]),
1369
+ fn: Y(() => [e.field?.suffix ? (V(), M("span", rt, q(e.field.suffix), 1)) : j("", !0), e.field?.suffixIcon ? (V(), A(K(e.field?.suffixIcon), { key: 1 })) : j("", !0)]),
1313
1370
  key: "1"
1314
1371
  } : void 0,
1315
1372
  e.field?.addonBefore || e.field?.addonBeforeIcon ? {
1316
1373
  name: "addonBefore",
1317
- fn: X(() => [e.field?.addonBefore ? (H(), N("span", $e, J(e.field.addonBefore), 1)) : M("", !0), e.field?.addonBeforeIcon ? (H(), j(q(e.field?.addonBeforeIcon), { key: 1 })) : M("", !0)]),
1374
+ fn: Y(() => [e.field?.addonBefore ? (V(), M("span", it, q(e.field.addonBefore), 1)) : j("", !0), e.field?.addonBeforeIcon ? (V(), A(K(e.field?.addonBeforeIcon), { key: 1 })) : j("", !0)]),
1318
1375
  key: "2"
1319
1376
  } : void 0,
1320
1377
  e.field?.addonAfter || e.field?.addonAfterIcon ? {
1321
1378
  name: "addonAfter",
1322
- fn: X(() => [e.field?.addonAfter ? (H(), N("span", et, J(e.field.addonAfter), 1)) : M("", !0), e.field?.addonAfterIcon ? (H(), j(q(e.field?.addonAfterIcon), { key: 1 })) : M("", !0)]),
1379
+ fn: Y(() => [e.field?.addonAfter ? (V(), M("span", at, q(e.field.addonAfter), 1)) : j("", !0), e.field?.addonAfterIcon ? (V(), A(K(e.field?.addonAfterIcon), { key: 1 })) : j("", !0)]),
1323
1380
  key: "3"
1324
1381
  } : void 0
1325
1382
  ]), 1032, [
@@ -1334,9 +1391,9 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1334
1391
  ]);
1335
1392
  };
1336
1393
  }
1337
- }), [["__scopeId", "data-v-a5e3757b"]]), $ = (e, t = "YYYY-MM-DD") => Z(e, t, !0).isValid(), nt = (e, t = "YYYY-MM-DD HH:mm:ss") => Z(e, t, !0).isValid(), rt = (e, t = "HH:mm:ss") => Z(e, t, !0).isValid(), it = z({
1394
+ }), [["__scopeId", "data-v-a5e3757b"]]), $ = (e, t = "YYYY-MM-DD") => X(e, t, !0).isValid(), st = (e, t = "YYYY-MM-DD HH:mm:ss") => X(e, t, !0).isValid(), ct = (e, t = "HH:mm:ss") => X(e, t, !0).isValid(), lt = R({
1338
1395
  name: "FieldRender2",
1339
- methods: { isArray: _e },
1396
+ methods: { isArray: be },
1340
1397
  props: {
1341
1398
  field: {
1342
1399
  type: Object,
@@ -1434,46 +1491,46 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1434
1491
  "update_name2"
1435
1492
  ],
1436
1493
  setup(e, { emit: t }) {
1437
- let n = W({ ...e.formModel }), r = (e) => typeof e == "string" && e.indexOf(",") >= 0 ? e.split(",") : e, o = (e, t) => {
1494
+ let n = U({ ...e.formModel }), r = (e) => typeof e == "string" && e.indexOf(",") >= 0 ? e.split(",") : e, i = (e, t) => {
1438
1495
  let n;
1439
- return t == "int" ? a(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1440
- a(e) && typeof e == "string" ? n.push(Number(e)) : n.push(e);
1441
- })) : n = a(e) && typeof e == "string" ? Number(e) : e : t == "str" ? a(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1442
- a(e) && typeof e == "number" ? n.push(e.toString()) : n.push(e);
1443
- })) : n = a(e) && typeof e == "number" ? e.toString() : e : t == "date" ? a(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1444
- $(e) && typeof e == "string" ? n.push(Z(e, "YYYY-MM-DD")) : n.push(e);
1445
- })) : n = $(e) && typeof e == "string" ? e.toString() : e : t == "datetime" ? a(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1446
- nt(e) && typeof e == "string" ? n.push(Z(e, "YYYY-MM-DD HH:mm:ss")) : n.push(e);
1447
- })) : n = nt(e) && typeof e == "string" ? Z(e, "YYYY-MM-DD HH:mm:ss") : e : t == "time" ? a(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1448
- rt(e) && typeof e == "string" ? n.push(Z(e, "HH:mm:ss")) : n.push(e);
1449
- })) : n = rt(e) && typeof e == "string" ? Z(e, "HH:mm:ss") : e : t == "float" ? a(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1450
- a(e) && typeof e == "string" ? n.push(Number(e)) : n.push(e);
1451
- })) : n = a(e) && typeof e == "string" ? Number(e) : e : t == "bool" && (a(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1452
- a(e) && typeof e == "string" ? n.push(!!e) : n.push(e);
1453
- })) : n = a(e) && typeof e == "string" ? !!e : e), n;
1454
- }, s = W(e.is_show_field), c = W(!1), l = A(() => e.is_form_design && e.field.type === "remotetablepro"), u = () => {
1496
+ return t == "int" ? o(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1497
+ o(e) && typeof e == "string" ? n.push(Number(e)) : n.push(e);
1498
+ })) : n = o(e) && typeof e == "string" ? Number(e) : e : t == "str" ? o(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1499
+ o(e) && typeof e == "number" ? n.push(e.toString()) : n.push(e);
1500
+ })) : n = o(e) && typeof e == "number" ? e.toString() : e : t == "date" ? o(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1501
+ $(e) && typeof e == "string" ? n.push(X(e, "YYYY-MM-DD")) : n.push(e);
1502
+ })) : n = $(e) && typeof e == "string" ? e.toString() : e : t == "datetime" ? o(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1503
+ st(e) && typeof e == "string" ? n.push(X(e, "YYYY-MM-DD HH:mm:ss")) : n.push(e);
1504
+ })) : n = st(e) && typeof e == "string" ? X(e, "YYYY-MM-DD HH:mm:ss") : e : t == "time" ? o(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1505
+ ct(e) && typeof e == "string" ? n.push(X(e, "HH:mm:ss")) : n.push(e);
1506
+ })) : n = ct(e) && typeof e == "string" ? X(e, "HH:mm:ss") : e : t == "float" ? o(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1507
+ o(e) && typeof e == "string" ? n.push(Number(e)) : n.push(e);
1508
+ })) : n = o(e) && typeof e == "string" ? Number(e) : e : t == "bool" && (o(e) && e instanceof Array ? (n = [], e.forEach((e) => {
1509
+ o(e) && typeof e == "string" ? n.push(!!e) : n.push(e);
1510
+ })) : n = o(e) && typeof e == "string" ? !!e : e), n;
1511
+ }, s = U(e.is_show_field), c = U(!1), l = k(() => e.is_form_design && e.field.type === "remotetablepro"), u = () => {
1455
1512
  t("update:is_edit", c.value);
1456
1513
  }, d = () => {
1457
1514
  t("add");
1458
- }, f = ge(() => {
1515
+ }, f = ye(() => {
1459
1516
  let r = s.value;
1460
1517
  e.field?.is_hide && (s.value = !1, s.value !== r && (s.value ? (n.value[e.field.name] = null, t("update_model", {
1461
1518
  add_key: e.field.name,
1462
1519
  value: null
1463
1520
  })) : (delete n.value[e.field.name], t("update_model", { remove_key: e.field.name }))));
1464
- let a = [];
1521
+ let o = [];
1465
1522
  for (let t in e.field?.conditions) {
1466
1523
  let n = e.field?.conditions[t], r = [];
1467
1524
  for (let t in n) {
1468
- let a = n[t], s = e.formModel[a.watchKey], c;
1469
- c = a.class_name ? o(a.value, a.class_name) : a.value;
1525
+ let o = n[t], s = e.formModel[o.watchKey], c;
1526
+ c = o.class_name ? i(o.value, o.class_name) : o.value;
1470
1527
  let l, u;
1471
- c instanceof Array && ([l, u] = c), a.operator == "lt" ? typeof l == "number" ? i(s) ? r.push(!1) : s < l ? r.push(!0) : r.push(!1) : $(l) && (i(s) ? r.push(!1) : Z(s).isBefore(Z(l)) ? r.push(!0) : r.push(!1)) : a.operator == "lte" ? typeof l == "number" ? i(s) ? r.push(!1) : s <= l ? r.push(!0) : r.push(!1) : $(l) && (i(s) ? r.push(!1) : Z(s).isBefore(Z(l)) || Z(s).isSame(Z(l)) ? r.push(!0) : r.push(!1)) : a.operator == "gt" ? typeof l == "number" ? i(s) ? r.push(!1) : s > l ? r.push(!0) : r.push(!1) : $(l) && (i(s) ? r.push(!1) : Z(s).isAfter(Z(l)) ? r.push(!0) : r.push(!1)) : a.operator == "gte" ? typeof l == "number" ? i(s) ? r.push(!1) : s >= l ? r.push(!0) : r.push(!1) : $(l) && (i(s) ? r.push(!1) : Z(s).isAfter(Z(l)) || Z(s).isSame(Z(l)) ? r.push(!0) : r.push(!1)) : a.operator == "between" ? typeof l == "number" && typeof u == "number" && l && u ? i(s) ? r.push(!1) : s >= l && s <= u ? r.push(!0) : r.push(!1) : $(l) && (i(s) ? r.push(!1) : (Z(s).isAfter(Z(l)) || Z(s).isSame(Z(l))) && (Z(s).isBefore(Z(u)) || Z(s).isSame(Z(u))) ? r.push(!0) : r.push(!1)) : a.operator == "notbetween" ? typeof l == "number" && typeof u == "number" && l && u ? i(s) ? r.push(!1) : s < l || s > u ? r.push(!0) : r.push(!1) : $(l) && (i(s) ? r.push(!1) : Z(s).isBefore(Z(l)) || Z(s).isAfter(Z(u)) ? r.push(!0) : r.push(!1)) : a.operator == "in" ? s instanceof Array ? c.filter((e) => s.includes(e)).length > 0 ? r.push(!0) : r.push(!1) : (typeof s == "string" || typeof s == "number" || i(s)) && (c.find((e) => s == e) ? r.push(!0) : r.push(!1)) : a.operator == "eq" ? s === l ? r.push(!0) : r.push(!1) : a.operator == "contains" ? s.toString().indexOf(l) > -1 ? r.push(!0) : r.push(!1) : a.operator == "startswith" ? s.toString().startsWith(l) ? r.push(!0) : r.push(!1) : a.operator == "notin" ? s instanceof Array ? c.filter((e) => s.includes(e)).length > 0 ? r.push(!0) : r.push(!1) : (typeof s == "string" || typeof s == "number" || i(s)) && (c.find((e) => s == e) ? r.push(!1) : r.push(!0)) : a.operator == "notcontains" ? s.toString().indexOf(l) == -1 ? r.push(!0) : r.push(!1) : a.operator == "_eq" || (a.operator == "json_list_not_blank_not_null" ? s ? r.push(!0) : r.push(!1) : a.operator == "json_list_is_blank_is_null" || a.operator == "not_eq" ? s ? r.push(!1) : r.push(!0) : a.operator == "not_blank_not_null" && (s ? r.push(!0) : r.push(!1)));
1528
+ c instanceof Array && ([l, u] = c), o.operator == "lt" ? typeof l == "number" ? a(s) ? r.push(!1) : s < l ? r.push(!0) : r.push(!1) : $(l) && (a(s) ? r.push(!1) : X(s).isBefore(X(l)) ? r.push(!0) : r.push(!1)) : o.operator == "lte" ? typeof l == "number" ? a(s) ? r.push(!1) : s <= l ? r.push(!0) : r.push(!1) : $(l) && (a(s) ? r.push(!1) : X(s).isBefore(X(l)) || X(s).isSame(X(l)) ? r.push(!0) : r.push(!1)) : o.operator == "gt" ? typeof l == "number" ? a(s) ? r.push(!1) : s > l ? r.push(!0) : r.push(!1) : $(l) && (a(s) ? r.push(!1) : X(s).isAfter(X(l)) ? r.push(!0) : r.push(!1)) : o.operator == "gte" ? typeof l == "number" ? a(s) ? r.push(!1) : s >= l ? r.push(!0) : r.push(!1) : $(l) && (a(s) ? r.push(!1) : X(s).isAfter(X(l)) || X(s).isSame(X(l)) ? r.push(!0) : r.push(!1)) : o.operator == "between" ? typeof l == "number" && typeof u == "number" && l && u ? a(s) ? r.push(!1) : s >= l && s <= u ? r.push(!0) : r.push(!1) : $(l) && (a(s) ? r.push(!1) : (X(s).isAfter(X(l)) || X(s).isSame(X(l))) && (X(s).isBefore(X(u)) || X(s).isSame(X(u))) ? r.push(!0) : r.push(!1)) : o.operator == "notbetween" ? typeof l == "number" && typeof u == "number" && l && u ? a(s) ? r.push(!1) : s < l || s > u ? r.push(!0) : r.push(!1) : $(l) && (a(s) ? r.push(!1) : X(s).isBefore(X(l)) || X(s).isAfter(X(u)) ? r.push(!0) : r.push(!1)) : o.operator == "in" ? s instanceof Array ? c.filter((e) => s.includes(e)).length > 0 ? r.push(!0) : r.push(!1) : (typeof s == "string" || typeof s == "number" || a(s)) && (c.find((e) => s == e) ? r.push(!0) : r.push(!1)) : o.operator == "eq" ? s === l ? r.push(!0) : r.push(!1) : o.operator == "contains" ? s.toString().indexOf(l) > -1 ? r.push(!0) : r.push(!1) : o.operator == "startswith" ? s.toString().startsWith(l) ? r.push(!0) : r.push(!1) : o.operator == "notin" ? s instanceof Array ? c.filter((e) => s.includes(e)).length > 0 ? r.push(!0) : r.push(!1) : (typeof s == "string" || typeof s == "number" || a(s)) && (c.find((e) => s == e) ? r.push(!1) : r.push(!0)) : o.operator == "notcontains" ? s.toString().indexOf(l) == -1 ? r.push(!0) : r.push(!1) : o.operator == "_eq" || (o.operator == "json_list_not_blank_not_null" ? s ? r.push(!0) : r.push(!1) : o.operator == "json_list_is_blank_is_null" || o.operator == "not_eq" ? s ? r.push(!1) : r.push(!0) : o.operator == "not_blank_not_null" && (s ? r.push(!0) : r.push(!1)));
1472
1529
  }
1473
- a.push(r);
1530
+ o.push(r);
1474
1531
  }
1475
1532
  let c = [];
1476
- a.forEach((e) => {
1533
+ o.forEach((e) => {
1477
1534
  let t = e.filter((e) => e === !1);
1478
1535
  t && t.length > 0 ? c.push(!1) : c.push(!0);
1479
1536
  });
@@ -1482,8 +1539,8 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1482
1539
  add_key: e.field.name,
1483
1540
  value: null
1484
1541
  })) : (delete n.value[e.field.name], t("update_model", { remove_key: e.field.name })));
1485
- }, 300), p = W(""), m = W(e.label);
1486
- Y(() => p.value, (n) => {
1542
+ }, 300), p = U(""), m = U(e.label);
1543
+ J(() => p.value, (n) => {
1487
1544
  if (t("update:value", n), e.field.name2) {
1488
1545
  let r;
1489
1546
  if (e.field.type === "radio") r = e.options.find((t) => t[e.field.valueKey ? e.field.valueKey : "value"] == n)?.[e.field.labelKey ? e.field.labelKey : "label"];
@@ -1494,7 +1551,7 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1494
1551
  n == r?.[e.field.valueKey ? e.field.valueKey : "value"] && t.push(r?.[e.field.labelKey ? e.field.labelKey : "label"]);
1495
1552
  });
1496
1553
  }), r = t.toString();
1497
- } else if (e.field.type === "select") if (_e(n)) {
1554
+ } else if (e.field.type === "select") if (be(n)) {
1498
1555
  let t = [];
1499
1556
  e.options.forEach((r) => {
1500
1557
  n.forEach((n) => {
@@ -1507,27 +1564,27 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1507
1564
  value: r
1508
1565
  });
1509
1566
  }
1510
- }, { deep: !0 }), Y(() => e.value, (t) => {
1567
+ }, { deep: !0 }), J(() => e.value, (t) => {
1511
1568
  let n = t;
1512
1569
  e.field.type === "rangepicker" && n ? n = r(n) : e.field.type === "input" && n && (n = n.toString().replace(/(^\s*)|(\s*$)/g, "")), s.value && (p.value = n);
1513
- }, { immediate: !0 }), Y(() => m.value, (n) => {
1570
+ }, { immediate: !0 }), J(() => m.value, (n) => {
1514
1571
  t("update:label", n), "name2" in e.field && t("update_name2", {
1515
1572
  key: e.field.name2,
1516
1573
  value: n.toString()
1517
1574
  });
1518
- }, { deep: !0 }), Y(() => e.label, (e) => {
1575
+ }, { deep: !0 }), J(() => e.label, (e) => {
1519
1576
  m.value = e;
1520
- }), Y(() => e.formModel, (e) => {
1577
+ }), J(() => e.formModel, (e) => {
1521
1578
  n.value = { ...e };
1522
- }, { deep: !0 }), Y(() => n.value, (t, n) => {
1579
+ }, { deep: !0 }), J(() => n.value, (t, n) => {
1523
1580
  e.field?.conditions && e.field?.conditions.forEach((e) => {
1524
1581
  e.forEach((e) => {
1525
1582
  n[e.watchKey] != t[e.watchKey] && f();
1526
1583
  });
1527
1584
  });
1528
- }, { deep: !0 }), Y(() => [e.conditionsVisibleNum, e.isUseConditions], () => {
1585
+ }, { deep: !0 }), J(() => [e.conditionsVisibleNum, e.isUseConditions], () => {
1529
1586
  e.field?.is_hide ? (s.value = !1, t("update:is_show_field", s.value)) : e.field?.conditions && e.isUseConditions ? f() : (s.value = !0, t("update:is_show_field", s.value));
1530
- }), B(() => {
1587
+ }), z(() => {
1531
1588
  if (e.field?.is_hide ? (s.value = !1, t("update:is_show_field", s.value)) : e.field?.conditions instanceof Array && e.field?.conditions.length > 0 ? f() : (s.value = !0, t("update:is_show_field", s.value)), !s.value) delete n.value[e.field.name], t("update_model", { remove_key: e.field.name });
1532
1589
  else {
1533
1590
  let r = n.value[e.field.name];
@@ -1538,7 +1595,7 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1538
1595
  }
1539
1596
  l.value && t("update:is_edit", c.value);
1540
1597
  });
1541
- let { t: h } = be();
1598
+ let { t: h } = Se();
1542
1599
  return {
1543
1600
  t: h,
1544
1601
  is_show_field: s,
@@ -1553,48 +1610,48 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1553
1610
  },
1554
1611
  components: {
1555
1612
  IconSelect: T,
1556
- RichTextEditor: x,
1557
- Upload: ee,
1558
- RemoteCascaderPro: te,
1559
- RemoteTreeSelectPro: S,
1560
- RemoteSelectPro: d,
1561
- RemoteComplete: E,
1562
- AttributeTable: m,
1563
- AttributeNomTable: p,
1564
- RemoteFilterSelect: f,
1565
- RemoteModal: c,
1613
+ RichTextEditor: S,
1614
+ Upload: D,
1615
+ RemoteCascaderPro: ie,
1616
+ RemoteTreeSelectPro: te,
1617
+ RemoteSelectPro: p,
1618
+ RemoteComplete: ne,
1619
+ AttributeTable: g,
1620
+ AttributeNomTable: h,
1621
+ RemoteFilterSelect: m,
1622
+ RemoteModal: u,
1566
1623
  RemoteSelect: e,
1567
1624
  RemoteCascader: n,
1568
- RemoteTreeSelect: u,
1569
- RemoteTable: l,
1570
- JsonStr: h,
1571
- JsonObj: g,
1572
- RemoteText: _,
1573
- RemoteTablePro: re,
1574
- FormTemplate: ze,
1575
- DynamicValueField: Ve,
1576
- FormButton: We,
1577
- PlusOutlined: ye,
1578
- MonthPicker: O,
1579
- MonthRangePicker: D,
1625
+ RemoteTreeSelect: f,
1626
+ RemoteTable: d,
1627
+ JsonStr: _,
1628
+ JsonObj: v,
1629
+ RemoteText: y,
1630
+ RemoteTablePro: oe,
1631
+ FormTemplate: We,
1632
+ DynamicValueField: Ke,
1633
+ FormButton: Ye,
1634
+ PlusOutlined: Z,
1635
+ MonthPicker: re,
1636
+ MonthRangePicker: E,
1580
1637
  CodeEditor: w,
1581
- TinymceEditor: ne,
1582
- InputNumberPro: Xe,
1583
- InputPro: tt
1638
+ TinymceEditor: ae,
1639
+ InputNumberPro: tt,
1640
+ InputPro: ot
1584
1641
  }
1585
- }), at = {
1642
+ }), ut = {
1586
1643
  key: 0,
1587
1644
  style: {
1588
1645
  height: "62px",
1589
1646
  width: "100%"
1590
1647
  }
1591
- }, ot = { key: 1 }, st = { key: 0 }, ct = { key: 1 }, lt = {
1648
+ }, dt = { key: 1 }, ft = { key: 0 }, pt = { key: 1 }, mt = {
1592
1649
  key: 3,
1593
1650
  style: {
1594
1651
  height: "30px",
1595
1652
  position: "relative"
1596
1653
  }
1597
- }, ut = { style: {
1654
+ }, ht = { style: {
1598
1655
  position: "absolute",
1599
1656
  bottom: "0",
1600
1657
  padding: "0",
@@ -1602,39 +1659,39 @@ var Xe = /*#__PURE__*/ t(Ge, [["render", Ye], ["__scopeId", "data-v-1c2384e8"]])
1602
1659
  "font-weight": "bolder",
1603
1660
  "font-size": "17px"
1604
1661
  } };
1605
- function dt(e, t, n, r, i, a) {
1606
- let o = K("a-switch"), s = K("plus-outlined"), c = K("a-button"), l = K("a-tag"), u = K("a-rate"), d = K("InputPro"), f = K("a-input-number"), p = K("InputNumberPro"), m = K("a-input"), h = K("attribute-table"), g = K("attribute-nom-table"), _ = K("a-textarea"), v = K("json-str"), y = K("json-obj"), b = K("rich-text-editor"), x = K("a-input-password"), S = K("a-select-option"), C = K("a-select"), w = K("a-cascader"), T = K("remote-cascader"), E = K("remote-cascader-pro"), D = K("month-picker"), ee = K("a-date-picker"), O = K("a-range-picker"), te = K("month-range-picker"), ne = K("a-time-picker"), re = K("a-time-range-picker"), A = K("a-radio"), R = K("a-radio-group"), z = K("a-checkbox"), ie = K("a-checkbox-group"), ae = K("a-tree-select"), se = K("remote-filter-select"), B = K("remote-select"), V = K("remote-select-pro"), U = K("remote-complete"), W = K("remote-tree-select"), ue = K("remote-tree-select-pro"), de = K("remote-modal"), fe = K("remote-table"), Y = K("remote-table-pro"), pe = K("FormTemplate"), me = K("DynamicValueField"), he = K("remote-text"), ge = K("upload"), _e = K("code-editor"), Z = K("TinymceEditor"), ve = K("icon-select"), ye = K("a-form-item"), be = K("a-divider"), xe = K("FormButton");
1607
- return H(), N(k, null, [
1608
- e.field.type !== "divider" && e.field.type !== "button" && (e.field?.is_search_show !== !1 || e.field_render_show) ? (H(), j(ye, oe({
1662
+ function gt(e, t, n, r, i, a) {
1663
+ let o = G("a-switch"), s = G("plus-outlined"), c = G("a-button"), l = G("a-tag"), u = G("a-rate"), d = G("InputPro"), f = G("a-input-number"), p = G("InputNumberPro"), m = G("a-input"), h = G("attribute-table"), g = G("attribute-nom-table"), _ = G("a-textarea"), v = G("json-str"), y = G("json-obj"), b = G("rich-text-editor"), x = G("a-input-password"), ee = G("a-select-option"), S = G("a-select"), te = G("a-cascader"), C = G("remote-cascader"), w = G("remote-cascader-pro"), T = G("month-picker"), ne = G("a-date-picker"), E = G("a-range-picker"), D = G("month-range-picker"), re = G("a-time-picker"), ie = G("a-time-range-picker"), ae = G("a-radio"), oe = G("a-radio-group"), k = G("a-checkbox"), L = G("a-checkbox-group"), R = G("a-tree-select"), se = G("remote-filter-select"), ce = G("remote-select"), ue = G("remote-select-pro"), z = G("remote-complete"), B = G("remote-tree-select"), H = G("remote-tree-select-pro"), U = G("remote-modal"), pe = G("remote-table"), me = G("remote-table-pro"), he = G("FormTemplate"), J = G("DynamicValueField"), ge = G("remote-text"), _e = G("upload"), ve = G("code-editor"), ye = G("TinymceEditor"), be = G("icon-select"), X = G("a-form-item"), xe = G("a-divider"), Z = G("FormButton");
1664
+ return V(), M(O, null, [
1665
+ e.field.type !== "divider" && e.field.type !== "button" && (e.field?.is_search_show !== !1 || e.field_render_show) ? (V(), A(X, le({
1609
1666
  key: 0,
1610
1667
  extra: e.field.extra,
1611
1668
  name: e.field.name
1612
- }, e.validateInfos ? e.validateInfos[e.field.name] : null), F({
1613
- default: X(() => [
1614
- le(e.$slots, "default", {}, void 0, !0),
1615
- e.field.type === "kong" ? (H(), N("div", at)) : M("", !0),
1616
- e.field.type === "tag" ? (H(), N("div", ot, [e.field.content && e.field.content(e.field, e.model) || e.model ? (H(), j(l, {
1669
+ }, e.validateInfos ? e.validateInfos[e.field.name] : null), P({
1670
+ default: Y(() => [
1671
+ fe(e.$slots, "default", {}, void 0, !0),
1672
+ e.field.type === "kong" ? (V(), M("div", ut)) : j("", !0),
1673
+ e.field.type === "tag" ? (V(), M("div", dt, [e.field.content && e.field.content(e.field, e.model) || e.model ? (V(), A(l, {
1617
1674
  key: 0,
1618
1675
  color: e.field.color ? e.field.color(e.field, e.model) : "green",
1619
- style: ce(e.field.style),
1676
+ style: de(e.field.style),
1620
1677
  onClick: t[1] ||= (t) => e.field.cb ? e.field.cb(e.field, e.model) : ""
1621
1678
  }, {
1622
- default: X(() => [e.field.content ? (H(), N("span", st, J(e.field.content(e.field, e.model)), 1)) : (H(), N("span", ct, J(e.model), 1))]),
1679
+ default: Y(() => [e.field.content ? (V(), M("span", ft, q(e.field.content(e.field, e.model)), 1)) : (V(), M("span", pt, q(e.model), 1))]),
1623
1680
  _: 1
1624
- }, 8, ["color", "style"])) : M("", !0)])) : M("", !0),
1625
- e.field.type === "kong_title" ? (H(), N("div", {
1681
+ }, 8, ["color", "style"])) : j("", !0)])) : j("", !0),
1682
+ e.field.type === "kong_title" ? (V(), M("div", {
1626
1683
  key: 2,
1627
- style: ce("height: " + e.field.height + "px")
1628
- }, null, 4)) : M("", !0),
1629
- e.field.type === "title" ? (H(), N("div", lt, [P("span", ut, J(e.field.name), 1)])) : M("", !0),
1630
- e.field.type === "rate" ? (H(), j(u, {
1684
+ style: de("height: " + e.field.height + "px")
1685
+ }, null, 4)) : j("", !0),
1686
+ e.field.type === "title" ? (V(), M("div", mt, [N("span", ht, q(e.field.name), 1)])) : j("", !0),
1687
+ e.field.type === "rate" ? (V(), A(u, {
1631
1688
  key: 4,
1632
1689
  value: e.model,
1633
1690
  "onUpdate:value": t[2] ||= (t) => e.model = t,
1634
1691
  disabled: e.field.disabled,
1635
1692
  "allow-half": ""
1636
- }, null, 8, ["value", "disabled"])) : M("", !0),
1637
- e.field.type === "input" ? (H(), j(d, {
1693
+ }, null, 8, ["value", "disabled"])) : j("", !0),
1694
+ e.field.type === "input" ? (V(), A(d, {
1638
1695
  key: 5,
1639
1696
  field: e.field,
1640
1697
  value: e.model,
@@ -1646,8 +1703,8 @@ function dt(e, t, n, r, i, a) {
1646
1703
  "value",
1647
1704
  "base-key-path",
1648
1705
  "worker-host-functions"
1649
- ])) : M("", !0),
1650
- e.field.type === "money" ? (H(), j(f, {
1706
+ ])) : j("", !0),
1707
+ e.field.type === "money" ? (V(), A(f, {
1651
1708
  key: 6,
1652
1709
  size: "small",
1653
1710
  value: e.model,
@@ -1673,8 +1730,8 @@ function dt(e, t, n, r, i, a) {
1673
1730
  "precision",
1674
1731
  "step",
1675
1732
  "placeholder"
1676
- ])) : M("", !0),
1677
- e.field.type === "number" ? (H(), j(p, {
1733
+ ])) : j("", !0),
1734
+ e.field.type === "number" ? (V(), A(p, {
1678
1735
  key: 7,
1679
1736
  value: e.model,
1680
1737
  "onUpdate:value": t[5] ||= (t) => e.model = t,
@@ -1687,8 +1744,8 @@ function dt(e, t, n, r, i, a) {
1687
1744
  "field",
1688
1745
  "base-key-path",
1689
1746
  "worker-host-functions"
1690
- ])) : M("", !0),
1691
- e.field.type === "volume" ? (H(), j(m, {
1747
+ ])) : j("", !0),
1748
+ e.field.type === "volume" ? (V(), A(m, {
1692
1749
  key: 8,
1693
1750
  value: e.model,
1694
1751
  "onUpdate:value": t[6] ||= (t) => e.model = t,
@@ -1709,8 +1766,8 @@ function dt(e, t, n, r, i, a) {
1709
1766
  "disabled",
1710
1767
  "maxlength",
1711
1768
  "placeholder"
1712
- ])) : M("", !0),
1713
- e.field.type === "weight" ? (H(), j(m, {
1769
+ ])) : j("", !0),
1770
+ e.field.type === "weight" ? (V(), A(m, {
1714
1771
  key: 9,
1715
1772
  value: e.model,
1716
1773
  "onUpdate:value": t[7] ||= (t) => e.model = t,
@@ -1731,8 +1788,8 @@ function dt(e, t, n, r, i, a) {
1731
1788
  "disabled",
1732
1789
  "maxlength",
1733
1790
  "placeholder"
1734
- ])) : M("", !0),
1735
- e.field.type === "attributetable" ? (H(), j(h, {
1791
+ ])) : j("", !0),
1792
+ e.field.type === "attributetable" ? (V(), A(h, {
1736
1793
  key: 10,
1737
1794
  value: e.model,
1738
1795
  "onUpdate:value": t[8] ||= (t) => e.model = t,
@@ -1749,8 +1806,8 @@ function dt(e, t, n, r, i, a) {
1749
1806
  "init_model",
1750
1807
  "base-key-path",
1751
1808
  "worker-host-functions"
1752
- ])) : M("", !0),
1753
- e.field.type === "attributenomtable" ? (H(), j(g, {
1809
+ ])) : j("", !0),
1810
+ e.field.type === "attributenomtable" ? (V(), A(g, {
1754
1811
  key: 11,
1755
1812
  size: "small",
1756
1813
  value: e.model,
@@ -1767,8 +1824,8 @@ function dt(e, t, n, r, i, a) {
1767
1824
  "init_model",
1768
1825
  "base-key-path",
1769
1826
  "worker-host-functions"
1770
- ])) : M("", !0),
1771
- e.field.type === "textarea" ? (H(), j(_, {
1827
+ ])) : j("", !0),
1828
+ e.field.type === "textarea" ? (V(), A(_, {
1772
1829
  key: 12,
1773
1830
  value: e.model,
1774
1831
  "onUpdate:value": t[10] ||= (t) => e.model = t,
@@ -1787,8 +1844,8 @@ function dt(e, t, n, r, i, a) {
1787
1844
  "autocomplete",
1788
1845
  "disabled",
1789
1846
  "placeholder"
1790
- ])) : M("", !0),
1791
- e.field.type === "jsonstr" ? (H(), j(v, {
1847
+ ])) : j("", !0),
1848
+ e.field.type === "jsonstr" ? (V(), A(v, {
1792
1849
  key: 13,
1793
1850
  value: e.model,
1794
1851
  "onUpdate:value": t[11] ||= (t) => e.model = t,
@@ -1802,8 +1859,8 @@ function dt(e, t, n, r, i, a) {
1802
1859
  "disabled",
1803
1860
  "rows",
1804
1861
  "placeholder"
1805
- ])) : M("", !0),
1806
- e.field.type === "jsonobj" ? (H(), j(y, {
1862
+ ])) : j("", !0),
1863
+ e.field.type === "jsonobj" ? (V(), A(y, {
1807
1864
  key: 14,
1808
1865
  value: e.model,
1809
1866
  "onUpdate:value": t[12] ||= (t) => e.model = t,
@@ -1819,8 +1876,8 @@ function dt(e, t, n, r, i, a) {
1819
1876
  "mode",
1820
1877
  "fullWidthButton",
1821
1878
  "darkTheme"
1822
- ])) : M("", !0),
1823
- e.field.type === "richtexteditor" ? (H(), j(b, {
1879
+ ])) : j("", !0),
1880
+ e.field.type === "richtexteditor" ? (V(), A(b, {
1824
1881
  key: 15,
1825
1882
  value: e.model,
1826
1883
  "onUpdate:value": t[13] ||= (t) => e.model = t,
@@ -1830,8 +1887,8 @@ function dt(e, t, n, r, i, a) {
1830
1887
  "value",
1831
1888
  "readOnly",
1832
1889
  "placeholder"
1833
- ])) : M("", !0),
1834
- e.field.type === "password" ? (H(), j(x, {
1890
+ ])) : j("", !0),
1891
+ e.field.type === "password" ? (V(), A(x, {
1835
1892
  key: 16,
1836
1893
  value: e.model,
1837
1894
  "onUpdate:value": t[14] ||= (t) => e.model = t,
@@ -1862,8 +1919,8 @@ function dt(e, t, n, r, i, a) {
1862
1919
  "precision",
1863
1920
  "step",
1864
1921
  "visibilityToggle"
1865
- ])) : M("", !0),
1866
- e.field.type === "select" ? (H(), N(k, { key: 17 }, [e.field.mode === "default" ? (H(), j(C, {
1922
+ ])) : j("", !0),
1923
+ e.field.type === "select" ? (V(), M(O, { key: 17 }, [e.field.mode === "default" ? (V(), A(S, {
1867
1924
  key: 0,
1868
1925
  value: e.model,
1869
1926
  "onUpdate:value": t[16] ||= (t) => e.model = t,
@@ -1878,11 +1935,11 @@ function dt(e, t, n, r, i, a) {
1878
1935
  size: "small",
1879
1936
  style: { width: "100%" }
1880
1937
  }, {
1881
- default: X(() => [(H(!0), N(k, null, G(e.options, (t) => (H(), j(S, {
1938
+ default: Y(() => [(V(!0), M(O, null, W(e.options, (t) => (V(), A(ee, {
1882
1939
  key: t[e.field.valueKey ? e.field.valueKey : "value"],
1883
1940
  value: t[e.field.valueKey ? e.field.valueKey : "value"]
1884
1941
  }, {
1885
- default: X(() => [I(J(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
1942
+ default: Y(() => [F(q(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
1886
1943
  _: 2
1887
1944
  }, 1032, ["value"]))), 128))]),
1888
1945
  _: 1
@@ -1895,7 +1952,7 @@ function dt(e, t, n, r, i, a) {
1895
1952
  "maxTagCount",
1896
1953
  "placeholder",
1897
1954
  "show-search"
1898
- ])) : (H(), j(C, {
1955
+ ])) : (V(), A(S, {
1899
1956
  key: 1,
1900
1957
  value: e.model,
1901
1958
  "onUpdate:value": t[17] ||= (t) => e.model = t,
@@ -1910,11 +1967,11 @@ function dt(e, t, n, r, i, a) {
1910
1967
  size: "small",
1911
1968
  style: { "min-width": "150px" }
1912
1969
  }, {
1913
- default: X(() => [(H(!0), N(k, null, G(e.options, (t, n) => (H(), j(S, {
1970
+ default: Y(() => [(V(!0), M(O, null, W(e.options, (t, n) => (V(), A(ee, {
1914
1971
  key: n,
1915
1972
  value: t[e.field.valueKey ? e.field.valueKey : "value"]
1916
1973
  }, {
1917
- default: X(() => [I(J(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
1974
+ default: Y(() => [F(q(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
1918
1975
  _: 2
1919
1976
  }, 1032, ["value"]))), 128))]),
1920
1977
  _: 1
@@ -1927,8 +1984,8 @@ function dt(e, t, n, r, i, a) {
1927
1984
  "mode",
1928
1985
  "placeholder",
1929
1986
  "show-search"
1930
- ]))], 64)) : M("", !0),
1931
- e.field.type === "groupselect" ? (H(), N(k, { key: 18 }, [e.field.mode === "default" ? (H(), j(C, {
1987
+ ]))], 64)) : j("", !0),
1988
+ e.field.type === "groupselect" ? (V(), M(O, { key: 18 }, [e.field.mode === "default" ? (V(), A(S, {
1932
1989
  key: 0,
1933
1990
  value: e.model,
1934
1991
  "onUpdate:value": t[18] ||= (t) => e.model = t,
@@ -1957,7 +2014,7 @@ function dt(e, t, n, r, i, a) {
1957
2014
  "options",
1958
2015
  "placeholder",
1959
2016
  "show-search"
1960
- ])) : (H(), j(C, {
2017
+ ])) : (V(), A(S, {
1961
2018
  key: 1,
1962
2019
  value: e.model,
1963
2020
  "onUpdate:value": t[19] ||= (t) => e.model = t,
@@ -1986,8 +2043,8 @@ function dt(e, t, n, r, i, a) {
1986
2043
  "options",
1987
2044
  "placeholder",
1988
2045
  "show-search"
1989
- ]))], 64)) : M("", !0),
1990
- e.field.type === "cascader" ? (H(), j(w, {
2046
+ ]))], 64)) : j("", !0),
2047
+ e.field.type === "cascader" ? (V(), A(te, {
1991
2048
  key: 19,
1992
2049
  value: e.model,
1993
2050
  "onUpdate:value": t[20] ||= (t) => e.model = t,
@@ -2010,8 +2067,8 @@ function dt(e, t, n, r, i, a) {
2010
2067
  "changeOnSelect",
2011
2068
  "options",
2012
2069
  "placeholder"
2013
- ])) : M("", !0),
2014
- e.field.type === "remotecascader" ? (H(), j(T, {
2070
+ ])) : j("", !0),
2071
+ e.field.type === "remotecascader" ? (V(), A(C, {
2015
2072
  key: 20,
2016
2073
  value: e.model,
2017
2074
  "onUpdate:value": t[21] ||= (t) => e.model = t,
@@ -2036,8 +2093,8 @@ function dt(e, t, n, r, i, a) {
2036
2093
  "label-space",
2037
2094
  "search_config",
2038
2095
  "value-key"
2039
- ])) : M("", !0),
2040
- e.field.type === "remotecascaderpro" ? (H(), j(E, {
2096
+ ])) : j("", !0),
2097
+ e.field.type === "remotecascaderpro" ? (V(), A(w, {
2041
2098
  key: 21,
2042
2099
  label: e.labelModel,
2043
2100
  "onUpdate:label": t[23] ||= (t) => e.labelModel = t,
@@ -2084,8 +2141,8 @@ function dt(e, t, n, r, i, a) {
2084
2141
  "init_watch",
2085
2142
  "is_form_design",
2086
2143
  "placeholder"
2087
- ])) : M("", !0),
2088
- e.field.type === "monthpicker" ? (H(), j(D, {
2144
+ ])) : j("", !0),
2145
+ e.field.type === "monthpicker" ? (V(), A(T, {
2089
2146
  key: 22,
2090
2147
  value: e.model,
2091
2148
  "onUpdate:value": t[25] ||= (t) => e.model = t,
@@ -2113,8 +2170,8 @@ function dt(e, t, n, r, i, a) {
2113
2170
  "start_offset_day",
2114
2171
  "end_offset_day",
2115
2172
  "fix_day"
2116
- ])) : M("", !0),
2117
- e.field.type === "datepicker" ? (H(), j(ee, {
2173
+ ])) : j("", !0),
2174
+ e.field.type === "datepicker" ? (V(), A(ne, {
2118
2175
  key: 23,
2119
2176
  value: e.model,
2120
2177
  "onUpdate:value": t[26] ||= (t) => e.model = t,
@@ -2140,8 +2197,8 @@ function dt(e, t, n, r, i, a) {
2140
2197
  "placeholder",
2141
2198
  "show-time",
2142
2199
  "value-format"
2143
- ])) : M("", !0),
2144
- e.field.type === "rangepicker" ? (H(), j(O, {
2200
+ ])) : j("", !0),
2201
+ e.field.type === "rangepicker" ? (V(), A(E, {
2145
2202
  key: 24,
2146
2203
  value: e.model,
2147
2204
  "onUpdate:value": t[27] ||= (t) => e.model = t,
@@ -2165,8 +2222,8 @@ function dt(e, t, n, r, i, a) {
2165
2222
  "show-time",
2166
2223
  "value-format",
2167
2224
  "picker"
2168
- ])) : M("", !0),
2169
- e.field.type === "monthrangepicker" ? (H(), j(te, {
2225
+ ])) : j("", !0),
2226
+ e.field.type === "monthrangepicker" ? (V(), A(D, {
2170
2227
  key: 25,
2171
2228
  value: e.model,
2172
2229
  "onUpdate:value": t[28] ||= (t) => e.model = t,
@@ -2192,8 +2249,8 @@ function dt(e, t, n, r, i, a) {
2192
2249
  "start_offset_day",
2193
2250
  "end_offset_day",
2194
2251
  "fix_day"
2195
- ])) : M("", !0),
2196
- e.field.type === "timepicker" ? (H(), j(ne, {
2252
+ ])) : j("", !0),
2253
+ e.field.type === "timepicker" ? (V(), A(re, {
2197
2254
  key: 26,
2198
2255
  value: e.model,
2199
2256
  "onUpdate:value": t[29] ||= (t) => e.model = t,
@@ -2213,8 +2270,8 @@ function dt(e, t, n, r, i, a) {
2213
2270
  "format",
2214
2271
  "placeholder",
2215
2272
  "value-format"
2216
- ])) : M("", !0),
2217
- e.field.type === "timerangepicker" ? (H(), j(re, {
2273
+ ])) : j("", !0),
2274
+ e.field.type === "timerangepicker" ? (V(), A(ie, {
2218
2275
  key: 27,
2219
2276
  value: e.model,
2220
2277
  "onUpdate:value": t[30] ||= (t) => e.model = t,
@@ -2234,8 +2291,8 @@ function dt(e, t, n, r, i, a) {
2234
2291
  "format",
2235
2292
  "placeholder",
2236
2293
  "value-format"
2237
- ])) : M("", !0),
2238
- e.field.type === "radio" ? (H(), j(R, {
2294
+ ])) : j("", !0),
2295
+ e.field.type === "radio" ? (V(), A(oe, {
2239
2296
  key: 28,
2240
2297
  value: e.model,
2241
2298
  "onUpdate:value": t[31] ||= (t) => e.model = t,
@@ -2243,12 +2300,12 @@ function dt(e, t, n, r, i, a) {
2243
2300
  disabled: e.field.disabled,
2244
2301
  size: "small"
2245
2302
  }, {
2246
- default: X(() => [(H(!0), N(k, null, G(e.options, (t) => (H(), j(A, {
2303
+ default: Y(() => [(V(!0), M(O, null, W(e.options, (t) => (V(), A(ae, {
2247
2304
  key: t[e.field.valueKey ? e.field.valueKey : "value"],
2248
2305
  disabled: t.disabled,
2249
2306
  value: t[e.field.valueKey ? e.field.valueKey : "value"]
2250
2307
  }, {
2251
- default: X(() => [I(J(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
2308
+ default: Y(() => [F(q(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
2252
2309
  _: 2
2253
2310
  }, 1032, ["disabled", "value"]))), 128))]),
2254
2311
  _: 1
@@ -2256,8 +2313,8 @@ function dt(e, t, n, r, i, a) {
2256
2313
  "value",
2257
2314
  "default-value",
2258
2315
  "disabled"
2259
- ])) : M("", !0),
2260
- e.field.type === "checkbox" ? (H(), j(ie, {
2316
+ ])) : j("", !0),
2317
+ e.field.type === "checkbox" ? (V(), A(L, {
2261
2318
  key: 29,
2262
2319
  value: e.model,
2263
2320
  "onUpdate:value": t[32] ||= (t) => e.model = t,
@@ -2265,12 +2322,12 @@ function dt(e, t, n, r, i, a) {
2265
2322
  disabled: e.field.disabled,
2266
2323
  size: "small"
2267
2324
  }, {
2268
- default: X(() => [(H(!0), N(k, null, G(e.options, (t) => (H(), j(z, {
2325
+ default: Y(() => [(V(!0), M(O, null, W(e.options, (t) => (V(), A(k, {
2269
2326
  key: t[e.field.valueKey ? e.field.valueKey : "value"],
2270
2327
  disabled: t.disabled,
2271
2328
  value: t[e.field.valueKey ? e.field.valueKey : "value"]
2272
2329
  }, {
2273
- default: X(() => [I(J(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
2330
+ default: Y(() => [F(q(t[e.field.labelKey ? e.field.labelKey : "label"]), 1)]),
2274
2331
  _: 2
2275
2332
  }, 1032, ["disabled", "value"]))), 128))]),
2276
2333
  _: 1
@@ -2278,8 +2335,8 @@ function dt(e, t, n, r, i, a) {
2278
2335
  "value",
2279
2336
  "default-value",
2280
2337
  "disabled"
2281
- ])) : M("", !0),
2282
- e.field.type === "treeselect" ? (H(), j(ae, {
2338
+ ])) : j("", !0),
2339
+ e.field.type === "treeselect" ? (V(), A(R, {
2283
2340
  key: 30,
2284
2341
  value: e.model,
2285
2342
  "onUpdate:value": t[33] ||= (t) => e.model = t,
@@ -2305,8 +2362,8 @@ function dt(e, t, n, r, i, a) {
2305
2362
  "tree-data",
2306
2363
  "tree-label-prop",
2307
2364
  "tree-node-filter-prop"
2308
- ])) : M("", !0),
2309
- e.field.type === "remotefilterselect" ? (H(), j(se, {
2365
+ ])) : j("", !0),
2366
+ e.field.type === "remotefilterselect" ? (V(), A(se, {
2310
2367
  key: 31,
2311
2368
  label: e.labelModel,
2312
2369
  "onUpdate:label": t[34] ||= (t) => e.labelModel = t,
@@ -2333,8 +2390,8 @@ function dt(e, t, n, r, i, a) {
2333
2390
  "label-space",
2334
2391
  "search_config",
2335
2392
  "value-key"
2336
- ])) : M("", !0),
2337
- e.field.type === "remoteselect" ? (H(), j(B, {
2393
+ ])) : j("", !0),
2394
+ e.field.type === "remoteselect" ? (V(), A(ce, {
2338
2395
  key: 32,
2339
2396
  label: e.labelModel,
2340
2397
  "onUpdate:label": t[36] ||= (t) => e.labelModel = t,
@@ -2361,8 +2418,8 @@ function dt(e, t, n, r, i, a) {
2361
2418
  "label-space",
2362
2419
  "search_config",
2363
2420
  "value-key"
2364
- ])) : M("", !0),
2365
- e.field.type === "remoteselectpro" ? (H(), j(V, {
2421
+ ])) : j("", !0),
2422
+ e.field.type === "remoteselectpro" ? (V(), A(ue, {
2366
2423
  key: 33,
2367
2424
  label: e.labelModel,
2368
2425
  "onUpdate:label": t[38] ||= (t) => e.labelModel = t,
@@ -2409,8 +2466,8 @@ function dt(e, t, n, r, i, a) {
2409
2466
  "context",
2410
2467
  "base-key-path",
2411
2468
  "placeholder"
2412
- ])) : M("", !0),
2413
- e.field.type === "remotecomplete" ? (H(), j(U, {
2469
+ ])) : j("", !0),
2470
+ e.field.type === "remotecomplete" ? (V(), A(z, {
2414
2471
  key: 34,
2415
2472
  value: e.model,
2416
2473
  "onUpdate:value": t[40] ||= (t) => e.model = t,
@@ -2448,8 +2505,8 @@ function dt(e, t, n, r, i, a) {
2448
2505
  "is_input",
2449
2506
  "is_form_design",
2450
2507
  "placeholder"
2451
- ])) : M("", !0),
2452
- e.field.type === "remotetreeselect" ? (H(), j(W, {
2508
+ ])) : j("", !0),
2509
+ e.field.type === "remotetreeselect" ? (V(), A(B, {
2453
2510
  key: 35,
2454
2511
  label: e.labelModel,
2455
2512
  "onUpdate:label": t[41] ||= (t) => e.labelModel = t,
@@ -2476,8 +2533,8 @@ function dt(e, t, n, r, i, a) {
2476
2533
  "label-key",
2477
2534
  "search_config",
2478
2535
  "value-key"
2479
- ])) : M("", !0),
2480
- e.field.type === "remotetreeselectpro" ? (H(), j(ue, {
2536
+ ])) : j("", !0),
2537
+ e.field.type === "remotetreeselectpro" ? (V(), A(H, {
2481
2538
  key: 36,
2482
2539
  label: e.labelModel,
2483
2540
  "onUpdate:label": t[43] ||= (t) => e.labelModel = t,
@@ -2522,8 +2579,8 @@ function dt(e, t, n, r, i, a) {
2522
2579
  "init_watch",
2523
2580
  "is_form_design",
2524
2581
  "placeholder"
2525
- ])) : M("", !0),
2526
- e.field.type === "remotemodal" ? (H(), j(de, {
2582
+ ])) : j("", !0),
2583
+ e.field.type === "remotemodal" ? (V(), A(U, {
2527
2584
  key: 37,
2528
2585
  label: e.labelModel,
2529
2586
  "onUpdate:label": t[45] ||= (t) => e.labelModel = t,
@@ -2548,8 +2605,8 @@ function dt(e, t, n, r, i, a) {
2548
2605
  "modalType",
2549
2606
  "search_config",
2550
2607
  "watch"
2551
- ])) : M("", !0),
2552
- e.field.type === "remotetable" ? (H(), j(fe, {
2608
+ ])) : j("", !0),
2609
+ e.field.type === "remotetable" ? (V(), A(pe, {
2553
2610
  key: 38,
2554
2611
  value: e.model,
2555
2612
  "onUpdate:value": t[47] ||= (t) => e.model = t,
@@ -2577,8 +2634,8 @@ function dt(e, t, n, r, i, a) {
2577
2634
  "watch",
2578
2635
  "base-key-path",
2579
2636
  "worker-host-functions"
2580
- ])) : M("", !0),
2581
- e.field.type === "remotetablepro" && !e.self_is_edit ? (H(), j(Y, {
2637
+ ])) : j("", !0),
2638
+ e.field.type === "remotetablepro" && !e.self_is_edit ? (V(), A(me, {
2582
2639
  key: 39,
2583
2640
  value: e.model,
2584
2641
  "onUpdate:value": t[48] ||= (t) => e.model = t,
@@ -2612,8 +2669,8 @@ function dt(e, t, n, r, i, a) {
2612
2669
  "global-inner-model",
2613
2670
  "base-key-path",
2614
2671
  "worker-host-functions"
2615
- ])) : M("", !0),
2616
- e.field.type === "formtemplate" ? (H(), j(pe, {
2672
+ ])) : j("", !0),
2673
+ e.field.type === "formtemplate" ? (V(), A(he, {
2617
2674
  key: 40,
2618
2675
  value: e.model,
2619
2676
  "onUpdate:value": t[49] ||= (t) => e.model = t,
@@ -2657,8 +2714,8 @@ function dt(e, t, n, r, i, a) {
2657
2714
  "base-key-path",
2658
2715
  "worker-host-functions",
2659
2716
  "contextOptions"
2660
- ])) : M("", !0),
2661
- e.field.type === "dynamicvaluefield" ? (H(), j(me, {
2717
+ ])) : j("", !0),
2718
+ e.field.type === "dynamicvaluefield" ? (V(), A(J, {
2662
2719
  key: 41,
2663
2720
  value: e.model,
2664
2721
  "onUpdate:value": t[50] ||= (t) => e.model = t,
@@ -2696,8 +2753,8 @@ function dt(e, t, n, r, i, a) {
2696
2753
  "context",
2697
2754
  "base-key-path",
2698
2755
  "worker-host-functions"
2699
- ])) : M("", !0),
2700
- e.field.type === "remotetext" ? (H(), j(he, {
2756
+ ])) : j("", !0),
2757
+ e.field.type === "remotetext" ? (V(), A(ge, {
2701
2758
  key: 42,
2702
2759
  value: e.model,
2703
2760
  "onUpdate:value": t[51] ||= (t) => e.model = t,
@@ -2719,8 +2776,8 @@ function dt(e, t, n, r, i, a) {
2719
2776
  "modalType",
2720
2777
  "search_config",
2721
2778
  "watch"
2722
- ])) : M("", !0),
2723
- e.field.type === "upload" ? (H(), j(ge, {
2779
+ ])) : j("", !0),
2780
+ e.field.type === "upload" ? (V(), A(_e, {
2724
2781
  key: 43,
2725
2782
  value: e.model,
2726
2783
  "onUpdate:value": t[52] ||= (t) => e.model = t,
@@ -2736,8 +2793,8 @@ function dt(e, t, n, r, i, a) {
2736
2793
  "listType",
2737
2794
  "maxCount",
2738
2795
  "acceptList"
2739
- ])) : M("", !0),
2740
- e.field.type === "codeeditor" ? (H(), j(_e, {
2796
+ ])) : j("", !0),
2797
+ e.field.type === "codeeditor" ? (V(), A(ve, {
2741
2798
  key: 44,
2742
2799
  editorValue: e.model,
2743
2800
  "onUpdate:editorValue": t[53] ||= (t) => e.model = t,
@@ -2749,8 +2806,8 @@ function dt(e, t, n, r, i, a) {
2749
2806
  "options",
2750
2807
  "mode",
2751
2808
  "lineWrapping"
2752
- ])) : M("", !0),
2753
- e.field.type === "tinymceeditor" ? (H(), j(Z, {
2809
+ ])) : j("", !0),
2810
+ e.field.type === "tinymceeditor" ? (V(), A(ye, {
2754
2811
  key: 45,
2755
2812
  modelValue: e.model,
2756
2813
  "onUpdate:modelValue": t[54] ||= (t) => e.model = t,
@@ -2760,14 +2817,14 @@ function dt(e, t, n, r, i, a) {
2760
2817
  "modelValue",
2761
2818
  "options",
2762
2819
  "mode"
2763
- ])) : M("", !0),
2764
- e.field.type === "iconselect" ? (H(), j(ve, {
2820
+ ])) : j("", !0),
2821
+ e.field.type === "iconselect" ? (V(), A(be, {
2765
2822
  key: 46,
2766
2823
  value: e.model,
2767
2824
  "onUpdate:value": t[55] ||= (t) => e.model = t,
2768
2825
  placeholder: e.field.placeholder_i18n == null ? e.field.placeholder ? e.field.placeholder : e.$t("请选择") + e.field.label : e.t(e.field.placeholder_i18n)
2769
- }, null, 8, ["value", "placeholder"])) : M("", !0),
2770
- e.field.type === "rate" ? (H(), j(u, {
2826
+ }, null, 8, ["value", "placeholder"])) : j("", !0),
2827
+ e.field.type === "rate" ? (V(), A(u, {
2771
2828
  key: 47,
2772
2829
  value: e.model,
2773
2830
  "onUpdate:value": t[56] ||= (t) => e.model = t,
@@ -2777,8 +2834,8 @@ function dt(e, t, n, r, i, a) {
2777
2834
  "value",
2778
2835
  "count",
2779
2836
  "allow-half"
2780
- ])) : M("", !0),
2781
- e.field.type === "radio-color" ? (H(), j(R, {
2837
+ ])) : j("", !0),
2838
+ e.field.type === "radio-color" ? (V(), A(oe, {
2782
2839
  key: 48,
2783
2840
  value: e.model,
2784
2841
  "onUpdate:value": t[57] ||= (t) => e.model = t,
@@ -2786,12 +2843,12 @@ function dt(e, t, n, r, i, a) {
2786
2843
  disabled: e.field.disabled,
2787
2844
  size: "small"
2788
2845
  }, {
2789
- default: X(() => [(H(!0), N(k, null, G(e.options, (t) => (H(), j(A, {
2846
+ default: Y(() => [(V(!0), M(O, null, W(e.options, (t) => (V(), A(ae, {
2790
2847
  key: t[e.field.valueKey ? e.field.valueKey : "value"],
2791
2848
  disabled: t.disabled,
2792
2849
  value: t[e.field.valueKey ? e.field.valueKey : "value"]
2793
2850
  }, {
2794
- default: X(() => [P("div", { style: ce({
2851
+ default: Y(() => [N("div", { style: de({
2795
2852
  width: "20px",
2796
2853
  height: "20px",
2797
2854
  backgroundColor: t[e.field.valueKey ? e.field.valueKey : "value"]
@@ -2803,8 +2860,8 @@ function dt(e, t, n, r, i, a) {
2803
2860
  "value",
2804
2861
  "default-value",
2805
2862
  "disabled"
2806
- ])) : M("", !0),
2807
- e.field.type?.startsWith("CustomField") ? (H(), j(q(e.field.type), {
2863
+ ])) : j("", !0),
2864
+ e.field.type?.startsWith("CustomField") ? (V(), A(K(e.field.type), {
2808
2865
  key: 49,
2809
2866
  label: e.labelModel,
2810
2867
  "onUpdate:label": t[58] ||= (t) => e.labelModel = t,
@@ -2829,14 +2886,14 @@ function dt(e, t, n, r, i, a) {
2829
2886
  "init_watch",
2830
2887
  "is_form_design",
2831
2888
  "placeholder"
2832
- ])) : M("", !0)
2889
+ ])) : j("", !0)
2833
2890
  ]),
2834
2891
  _: 2
2835
2892
  }, [e.is_show_label ? {
2836
2893
  name: "label",
2837
- fn: X(() => [
2838
- I(J(e.is_show_label ? e.field.label_i18n == null ? e.field.label : e.t(e.field.label_i18n) : null) + " ", 1),
2839
- e.is_show_edit ? (H(), j(o, {
2894
+ fn: Y(() => [
2895
+ F(q(e.is_show_label ? e.field.label_i18n == null ? e.field.label : e.t(e.field.label_i18n) : null) + " ", 1),
2896
+ e.is_show_edit ? (V(), A(o, {
2840
2897
  key: 0,
2841
2898
  checked: e.self_is_edit,
2842
2899
  "onUpdate:checked": t[0] ||= (t) => e.self_is_edit = t,
@@ -2844,28 +2901,28 @@ function dt(e, t, n, r, i, a) {
2844
2901
  onChange: e.handleToggleEdit,
2845
2902
  "checked-children": "表单",
2846
2903
  "un-checked-children": "列表"
2847
- }, null, 8, ["checked", "onChange"])) : M("", !0),
2848
- e.is_show_edit && e.self_is_edit ? (H(), j(c, {
2904
+ }, null, 8, ["checked", "onChange"])) : j("", !0),
2905
+ e.is_show_edit && e.self_is_edit ? (V(), A(c, {
2849
2906
  key: 1,
2850
2907
  size: "small",
2851
2908
  type: "primary",
2852
2909
  onClick: e.handleAdd
2853
2910
  }, {
2854
- icon: X(() => [L(s)]),
2855
- default: X(() => [t[61] ||= I(" 添加分组 ")]),
2911
+ icon: Y(() => [I(s)]),
2912
+ default: Y(() => [t[61] ||= F(" 添加分组 ")]),
2856
2913
  _: 1
2857
- }, 8, ["onClick"])) : M("", !0)
2914
+ }, 8, ["onClick"])) : j("", !0)
2858
2915
  ]),
2859
2916
  key: "0"
2860
- } : void 0]), 1040, ["extra", "name"])) : M("", !0),
2861
- e.field.type === "divider" ? (H(), j(be, {
2917
+ } : void 0]), 1040, ["extra", "name"])) : j("", !0),
2918
+ e.field.type === "divider" ? (V(), A(xe, {
2862
2919
  key: 1,
2863
2920
  orientation: e.field.orientation
2864
2921
  }, {
2865
- default: X(() => [I(J(e.field.label), 1)]),
2922
+ default: Y(() => [F(q(e.field.label), 1)]),
2866
2923
  _: 1
2867
- }, 8, ["orientation"])) : M("", !0),
2868
- e.field.type === "button" ? (H(), j(xe, {
2924
+ }, 8, ["orientation"])) : j("", !0),
2925
+ e.field.type === "button" ? (V(), A(Z, {
2869
2926
  key: 2,
2870
2927
  value: e.model,
2871
2928
  "onUpdate:value": t[60] ||= (t) => e.model = t,
@@ -2887,9 +2944,9 @@ function dt(e, t, n, r, i, a) {
2887
2944
  "context",
2888
2945
  "base-key-path",
2889
2946
  "worker-host-functions"
2890
- ])) : M("", !0)
2947
+ ])) : j("", !0)
2891
2948
  ], 64);
2892
2949
  }
2893
- var ft = /*#__PURE__*/ t(it, [["render", dt], ["__scopeId", "data-v-4d903c12"]]);
2950
+ var _t = /*#__PURE__*/ t(lt, [["render", gt], ["__scopeId", "data-v-4d903c12"]]);
2894
2951
  //#endregion
2895
- export { ft as t };
2952
+ export { _t as t };