super-page-runtime 2.3.41 → 2.3.42-sit1

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.
Files changed (77) hide show
  1. package/dist/es/components/runtime/utils/api/api-util.js +7 -4
  2. package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
  3. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +22 -22
  4. package/dist/es/components/runtime/utils/events/event-util.js +142 -140
  5. package/dist/es/components/runtime/utils/events/print-label.js +33 -34
  6. package/dist/es/components/runtime/utils/events/standard-event.js +23 -23
  7. package/dist/es/components/runtime/utils/events/validator-util.js +69 -72
  8. package/dist/es/components/runtime/utils/page-init-util.js +41 -43
  9. package/dist/es/components/runtime/utils/page-store.js +1 -1
  10. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  11. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  12. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  14. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  16. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  18. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  19. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +8 -8
  21. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +95 -100
  26. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +3 -3
  27. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +95 -94
  28. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  29. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  30. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  31. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  34. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  35. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  37. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  38. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  39. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
  40. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +10 -9
  41. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  42. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  43. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  45. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  46. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +22 -22
  47. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  48. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  49. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +6 -7
  50. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +5 -6
  51. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  52. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +47 -48
  53. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +4 -6
  54. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +7 -9
  55. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  56. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -9
  58. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  59. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  60. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  61. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  62. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  63. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +63 -63
  64. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +3 -3
  66. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  67. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  68. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  69. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  70. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  71. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -0
  72. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  73. package/dist/es/components/runtime/views/super-page.vue2.js +155 -150
  74. package/dist/es/i18n/langs/cn.js +1 -1
  75. package/dist/es/i18n/langs/en.js +1 -1
  76. package/dist/es/style.css +76 -76
  77. package/package.json +2 -2
@@ -11,7 +11,7 @@ import { setStoreInfo as v } from "../store-util.js";
11
11
  import { getPermissionCodes as I, getDefaultValue as S, getModelFields as R } from "../page-init-util.js";
12
12
  import { caculateShowCondition as M, updateChartDatasources as x, getVariableValue as N, setVariableValue as O } from "../page-helper-util.js";
13
13
  import A from "./print-label.js";
14
- import { getTableNameByTableUuid as U, getCurrentUserFileTasks as E, setFileTaskRead as _ } from "../table-utils.js";
14
+ import { getTableNameByTableUuid as E, getCurrentUserFileTasks as U, setFileTaskRead as _ } from "../table-utils.js";
15
15
  import { getWorkflowRules as j, packageCustomRules as D } from "./validator-util.js";
16
16
  import { functions as W } from "../api/page-expose-util.js";
17
17
  import { usePageContextStore as L } from "../page-store.js";
@@ -51,7 +51,7 @@ const Y = { save: function(e2) {
51
51
  if (!a2 || 0 === a2.length) return u({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseSelectRecord") }), void s2(true);
52
52
  p.confirm(l().t("superPageRuntimeMessage.whetherToConfirmDeletion"), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
53
53
  var _a, _b, _c;
54
- const r2 = e3.pageContext, l2 = e3.configureObj, u2 = l2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = l2.props.base.tableUuid ? l2.props.base.tableUuid : e3.tableUuid, f2 = U(r2, m2);
54
+ const r2 = e3.pageContext, l2 = e3.configureObj, u2 = l2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = l2.props.base.tableUuid ? l2.props.base.tableUuid : e3.tableUuid, f2 = E(r2, m2);
55
55
  let g2 = t(d2, r2.isTest) + "/dsc/commons/" + f2;
56
56
  g2 = n(g2, p2, d2, r2.isTest);
57
57
  const C2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, b2 = o(r2), T2 = I(l2, r2), k2 = { ids: a2, functionCode: T2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: b2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
@@ -286,8 +286,7 @@ const Y = { save: function(e2) {
286
286
  let t2 = null;
287
287
  try {
288
288
  if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
289
- } catch (t3) {
290
- console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
289
+ } catch (e4) {
291
290
  }
292
291
  A.printLabel(e3, t2);
293
292
  }(e2);
@@ -481,10 +480,11 @@ function oe(t2, n2, o2, s2, i2) {
481
480
  let i3 = n3.props.base.successOperation;
482
481
  const a3 = n3.props.base.isNeedValueMapping, r2 = y(t3, n3);
483
482
  i3 || ce.includes(n3.name) || (i3 = "refresh");
484
- if ("refresh" === i3) if (r2) {
485
- w(t3, r2).refresh();
486
- } else console.error("tableUuid is empty");
487
- else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
483
+ if ("refresh" === i3) {
484
+ if (r2) {
485
+ w(t3, r2).refresh();
486
+ }
487
+ } else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
488
488
  const s4 = e(t3.entity.page);
489
489
  let i4 = o3;
490
490
  i4 || (i4 = {}), Object.assign(s4, i4), ae(t3, n3, s4, a3);
@@ -518,7 +518,7 @@ function ie(e2, t2, n2) {
518
518
  const o2 = t2.props.base.successOperation;
519
519
  if (!o2 || null === o2) return;
520
520
  const s2 = t2.props.base.isNeedValueMapping;
521
- "noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ? Ee(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== o2 && "closeWindowAndRefresh" !== o2 || (ae(e2, t2, n2, s2), e2.canClick = true);
521
+ "noOperation" === o2 ? e2.canClick = true : "refresh" === o2 ? n2 && (n2.id || n2.ID) ? Ue(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== o2 && "closeWindowAndRefresh" !== o2 || (ae(e2, t2, n2, s2), e2.canClick = true);
522
522
  }
523
523
  function ae(e2, t2, n2, o2) {
524
524
  const s2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
@@ -556,10 +556,10 @@ function le(e2, t2, n2, o2) {
556
556
  const n3 = y(e2, t2);
557
557
  if (n3) {
558
558
  w(e2, n3).refresh();
559
- } else console.error("tableUuid is empty");
559
+ }
560
560
  } else if (i2 && "form" === i2) {
561
561
  const t3 = e2.entity.data;
562
- Ee(e2, t3.ID ? t3.ID : t3.id);
562
+ Ue(e2, t3.ID ? t3.ID : t3.id);
563
563
  }
564
564
  }
565
565
  }
@@ -573,7 +573,7 @@ function ue(e2, o2, s2, i2) {
573
573
  let T2 = d2.tableName;
574
574
  if (o2) {
575
575
  const t2 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
576
- T2 = U(d2, t2);
576
+ T2 = E(d2, t2);
577
577
  } else $(d2.code, d2.entity.data);
578
578
  const k2 = function(e3, o3, s3, i3, r3, u3, d3, m3, f3) {
579
579
  return new Promise((g3, C3) => {
@@ -601,7 +601,7 @@ function ue(e2, o2, s2, i2) {
601
601
  }
602
602
  function pe(e2, s2) {
603
603
  var _a, _b, _c;
604
- const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, p2 = a2.props.base, d2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, m2 = U(i2, d2), f2 = new FormData();
604
+ const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, p2 = a2.props.base, d2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, m2 = E(i2, d2), f2 = new FormData();
605
605
  f2.append("multipartFile", s2), m2 && f2.append("tableName", m2);
606
606
  const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
607
607
  g2 && f2.append("currentOperation", g2), f2.append("isMobile", B()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
@@ -653,7 +653,7 @@ function me(e2) {
653
653
  let r2 = I(n2, t2);
654
654
  r2 || (r2 = a2 + ".xxx"), o2.id || o2.ID || (o2.PAGE_CODE = t2.code, o2.PAGE_VERSION = t2.version);
655
655
  const c2 = { entity: o2, pageMoel: t2.entity.page, formNoRuleCode: t2.formNoRuleCode, tableName: t2.tableName, emailTemplateCode: t2.emailTemplateCode, definitionId: t2.definitionId, functionCode: r2, systemCode: i2, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
656
- t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (s(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
656
+ t2.dataTypeMaps && Object.keys(t2.dataTypeMaps).length > 0 && (c2.dataTypeMap = t2.dataTypeMaps), t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (s(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
657
657
  const l2 = n2.props.base.conversionCodes;
658
658
  l2 && (s(l2) ? c2.dataConversionRule = l2.join(",") : "string" == typeof l2 && (c2.dataConversionRule = l2));
659
659
  const u2 = We(n2);
@@ -661,7 +661,7 @@ function me(e2) {
661
661
  const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
662
662
  p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
663
663
  const d2 = ke(t2);
664
- c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids ? c2.ids = [d2.ids] : console.error("ids参数类型错误"));
664
+ c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids && (c2.ids = [d2.ids]));
665
665
  const m2 = n2.props.base.successOperation;
666
666
  m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
667
667
  const f2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
@@ -993,7 +993,7 @@ function Ae(e2, t2, n2, o2, s2, i2) {
993
993
  const o3 = m(), s3 = o3 ? o3.loginName : null;
994
994
  if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === s3 || n3.CREATOR === s3)) return true;
995
995
  return false;
996
- }(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = Ue(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
996
+ }(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = Ee(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
997
997
  if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
998
998
  return false;
999
999
  }(n2) : function(e3, t3) {
@@ -1022,12 +1022,12 @@ function Ae(e2, t2, n2, o2, s2, i2) {
1022
1022
  e2.workflowOpinion.isRequired = t3, t3 && (e2.workflowOpinion.showOpinionBox = true);
1023
1023
  }
1024
1024
  }
1025
- return e2.workflowOpinion, a2;
1025
+ return a2;
1026
1026
  }
1027
- function Ue(e2, t2, n2) {
1027
+ function Ee(e2, t2, n2) {
1028
1028
  return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
1029
1029
  }
1030
- function Ee(e2, t2) {
1030
+ function Ue(e2, t2) {
1031
1031
  e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, _e(e2, t2).then((t3) => {
1032
1032
  e2.isRefresh = true;
1033
1033
  });
@@ -1043,7 +1043,7 @@ function _e(e2, n2, s2) {
1043
1043
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1044
1044
  void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
1045
1045
  const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1046
- if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1046
+ if ((!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1047
1047
  const t2 = {};
1048
1048
  e3.tableUuids.forEach((e4) => {
1049
1049
  const n4 = r(l2, u2, e4);
@@ -1100,7 +1100,7 @@ function _e(e2, n2, s2) {
1100
1100
  let d2 = n3 || null, m2 = n3 ? [n3] : null;
1101
1101
  void 0 === o2 || o2 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), m2 || (m2 = p2 ? p2.ids : null)) : (d2 = null, m2 = null, p2._id = p2.id, p2.id = null);
1102
1102
  const f2 = p2 ? p2.taskId : null, C2 = l2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: l2, pageVersion: u2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1103
- if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = De(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (w2.withDataPermission = true), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1103
+ if (!w2.id && p2 && p2._t_ && g(p2._t_ + "_id") && (w2.id = g(p2._t_ + "_id")), m2 && (w2.ids = De(m2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), f2 && (w2.taskId = f2), ((_a = e3.props) == null ? void 0 : _a.enableFormDataPermission) && (w2.withDataPermission = true), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1104
1104
  const t2 = {};
1105
1105
  e3.tableUuids.forEach((e4) => {
1106
1106
  const n4 = r(l2, u2, e4);
@@ -1179,7 +1179,7 @@ function qe(e2, t2, n2) {
1179
1179
  }, 3e3));
1180
1180
  }
1181
1181
  function He(e2, t2) {
1182
- return E(e2, t2);
1182
+ return U(e2, t2);
1183
1183
  }
1184
1184
  function Ge(e2, t2, n2, o2) {
1185
1185
  _(e2, n2).then(() => {
@@ -1217,7 +1217,7 @@ export {
1217
1217
  de as judgeDataNumber,
1218
1218
  Be as listChartConditions,
1219
1219
  le as refreshFormOrListPage,
1220
- Ee as refreshPage,
1220
+ Ue as refreshPage,
1221
1221
  Le as saveChartConditionBase,
1222
1222
  Y as standardEvents,
1223
1223
  re as updateValuesWhenCloseDialog
@@ -1,12 +1,12 @@
1
1
  import e from "async-validator";
2
2
  import { ElMessage as t } from "element-plus";
3
3
  import { getComponentRefByCode as s, getComponentRef as n, getAllComponentRefs as r } from "../global-refs.js";
4
- import { getI18n as o } from "agilebuilder-ui/src/utils/util";
5
- import { getAdditionalParamMap as i } from "./standard-event.js";
4
+ import { getI18n as i } from "agilebuilder-ui/src/utils/util";
5
+ import { getAdditionalParamMap as o } from "./standard-event.js";
6
6
  import { isPromise as l } from "agilebuilder-ui/src/utils/common-util";
7
7
  import { parseSubTablePermissionCondition as a } from "agilebuilder-ui/src/utils/calculator/calculator-util";
8
- import { isWorkflowPage as u, getListCode as c } from "../common-util.js";
9
- import { scrollIntoComponentWithCode as f, scrollIntoComponentWithUuid as d } from "../anchor-util.js";
8
+ import { isWorkflowPage as u, getListCode as f } from "../common-util.js";
9
+ import { scrollIntoComponentWithCode as c, scrollIntoComponentWithUuid as d } from "../anchor-util.js";
10
10
  const m = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"];
11
11
  function p(e2, t2 = /* @__PURE__ */ new WeakMap()) {
12
12
  if ("function" == typeof structuredClone) try {
@@ -45,32 +45,32 @@ function g(e2, t2, s2) {
45
45
  const n2 = {};
46
46
  t2 || (t2 = {});
47
47
  let r2 = 0;
48
- const o2 = e2.split(".");
49
- return o2.forEach((e3) => {
50
- let i2;
51
- if (r2 === o2.length - 1) i2 = function(e4, t3, s3) {
48
+ const i2 = e2.split(".");
49
+ return i2.forEach((e3) => {
50
+ let o2;
51
+ if (r2 === i2.length - 1) o2 = function(e4, t3, s3) {
52
52
  let n3;
53
53
  for (let r3 = 0; r3 < t3.length; r3++) if (n3 = 0 === r3 ? e4[t3[r3]] : n3.fields[t3[r3]], r3 !== t3.length - 1) {
54
54
  if (t3[r3 + 1] === s3) break;
55
55
  }
56
56
  return n3;
57
- }(n2, o2, e3), i2.fields[e3] = s2;
57
+ }(n2, i2, e3), o2.fields[e3] = s2;
58
58
  else {
59
59
  let s3;
60
- 0 === r2 ? i2 = t2 : (s3 = function(e4, t3, s4) {
60
+ 0 === r2 ? o2 = t2 : (s3 = function(e4, t3, s4) {
61
61
  let n3;
62
62
  for (let r3 = 0; r3 < t3.length; r3++) {
63
- const o3 = t3[r3];
64
- if (n3 = 0 === r3 ? e4[o3] : n3.fields[t3[r3]], o3 === s4) break;
63
+ const i3 = t3[r3];
64
+ if (n3 = 0 === r3 ? e4[i3] : n3.fields[t3[r3]], i3 === s4) break;
65
65
  }
66
66
  return n3;
67
- }(n2, o2, o2[r2 - 1]), i2 = s3.fields), i2[e3] || (i2[e3] = { type: "object", required: true, fields: {} }), 0 === r2 ? n2[e3] = i2[e3] : s3.fields[e3] = i2[e3];
67
+ }(n2, i2, i2[r2 - 1]), o2 = s3.fields), o2[e3] || (o2[e3] = { type: "object", required: true, fields: {} }), 0 === r2 ? n2[e3] = o2[e3] : s3.fields[e3] = o2[e3];
68
68
  }
69
69
  r2++;
70
70
  }), n2;
71
71
  }
72
- function b(e2, t2, s2, n2, r2, o2) {
73
- return w(e2, t2, s2, n2, true, r2, o2);
72
+ function b(e2, t2, s2, n2, r2, i2) {
73
+ return w(e2, t2, s2, n2, true, r2, i2);
74
74
  }
75
75
  function h(e2) {
76
76
  if (e2) return Object.keys(e2).forEach((t2) => {
@@ -80,30 +80,29 @@ function h(e2) {
80
80
  }
81
81
  }), e2;
82
82
  }
83
- function w(n2, r2, o2, i2, l2, a2, u2) {
84
- let c2, d2 = h(r2);
85
- if (r2 && null !== r2 || !o2 || (d2 = {}), !d2 || 0 === Object.keys(d2).length) return n2.validateErrorField = "", true;
83
+ function w(n2, r2, i2, o2, l2, a2, u2) {
84
+ let f2, d2 = h(r2);
85
+ if (r2 && null !== r2 || !i2 || (d2 = {}), !d2 || 0 === Object.keys(d2).length) return n2.validateErrorField = "", true;
86
86
  return new e(d2).validate(n2, { first: true }, (e2, d3) => {
87
87
  let m2;
88
88
  if (e2) {
89
- c2 = e2[0].message, m2 = e2[0].field, t({ message: c2, showClose: true, type: "warning", duration: 3e3 });
89
+ f2 = e2[0].message, m2 = e2[0].field, t({ message: f2, showClose: true, type: "warning", duration: 3e3 });
90
90
  const n3 = s(u2, m2);
91
91
  if (n3 && n3.addRequiredClass) {
92
92
  n3.addRequiredClass();
93
93
  try {
94
- f(u2, m2);
94
+ c(u2, m2);
95
95
  } catch (e3) {
96
- console.error("滚动失败", e3);
97
96
  }
98
97
  }
99
- } else c2 = true;
98
+ } else f2 = true;
100
99
  if (m2 && true === l2) {
101
100
  if (/[A-Z]+/.test(m2) && void 0 !== n2[m2.toLowerCase()]) {
102
101
  const e3 = JSON.parse(JSON.stringify(n2));
103
- e3[m2.toUpperCase()] = n2[m2.toLowerCase()], delete e3[m2.toLowerCase()], c2 = w(e3, r2, o2, i2, false, a2, u2);
102
+ e3[m2.toUpperCase()] = n2[m2.toLowerCase()], delete e3[m2.toLowerCase()], f2 = w(e3, r2, i2, o2, false, a2, u2);
104
103
  }
105
104
  }
106
- }), c2;
105
+ }), f2;
107
106
  }
108
107
  function y(e2, n2, r2, l2) {
109
108
  if (r2) {
@@ -111,71 +110,69 @@ function y(e2, n2, r2, l2) {
111
110
  e3(true);
112
111
  });
113
112
  }
114
- const c2 = e2.entity.data, d2 = { ...e2.entity.page, ...c2 }, m2 = e2.rules, g2 = n2.props.base ? n2.props.base.isEnableRequired : null;
113
+ const f2 = e2.entity.data, d2 = { ...e2.entity.page, ...f2 }, m2 = e2.rules, g2 = n2.props.base ? n2.props.base.isEnableRequired : null;
115
114
  return null != g2 && (l2 = g2), null == l2 && (l2 = false), function(e3, n3, r3, l3) {
116
115
  if (e3) {
117
116
  return u(l3) ? function(e4, n4, r4) {
118
117
  return new Promise((l4, u2) => {
119
- const c3 = i(n4), d3 = n4.entity.context, m3 = n4.entity.task, g3 = true, b2 = n4.subTablePageInfo;
118
+ const f3 = o(n4), d3 = n4.entity.context, m3 = n4.entity.task, g3 = true, b2 = n4.subTablePageInfo;
120
119
  E(e4, n4, r4).then((r5) => {
121
120
  if (r5) {
122
- let i2, u3, h2, w2, y2 = r5;
121
+ let o2, u3, h2, w2, y2 = r5;
123
122
  const R2 = n4.workflowRules;
124
123
  if (R2) {
125
124
  if (!function(e5, n5) {
126
125
  var _a, _b, _c, _d;
127
126
  if (!e5.actionPermissions) return true;
128
127
  const r7 = Object.keys(e5.actionPermissions);
129
- for (let i3 = 0; i3 < r7.length; i3++) {
130
- const l5 = r7[i3], u4 = e5.actionPermissions[l5];
128
+ for (let o3 = 0; o3 < r7.length; o3++) {
129
+ const l5 = r7[o3], u4 = e5.actionPermissions[l5];
131
130
  if (u4 && u4.notEmpty) {
132
131
  if ((_a = e5.hiddenNotValidatorCodes) == null ? void 0 : _a.has(l5)) continue;
133
132
  let r8 = false;
134
133
  if (n5[l5] ? Array.isArray(n5[l5]) && 0 === n5[l5].length && (r8 = true) : r8 = true, r8) {
135
134
  const r9 = s(e5, l5);
136
135
  if (!r9) return true;
137
- const i4 = r9.getConfigure();
136
+ const o4 = r9.getConfigure();
138
137
  if ((_b = u4.notEmptyCondition) == null ? void 0 : _b.parentCondition) {
139
138
  if (false === a(u4.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e5.dataTypeMaps, n5, {}, (_c = e5.entity) == null ? void 0 : _c.request, (_d = e5.entity) == null ? void 0 : _d.task, e5.contextParam)) return true;
140
139
  }
141
- return t({ showClose: true, message: o().t("superPageRuntimeMessage.xxxNotEmpty", { label: i4.title ? i4.title : l5 }), type: "warning" }), false;
140
+ return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: o4.title ? o4.title : l5 }), type: "warning" }), false;
142
141
  }
143
142
  }
144
143
  }
145
144
  return true;
146
145
  }(n4, e4)) return void l4(false);
147
- const r6 = true, f2 = p(R2), E2 = n4.hiddenNotValidatorCodes;
146
+ const r6 = true, c2 = p(R2), E2 = n4.hiddenNotValidatorCodes;
148
147
  E2 && E2.size > 0 && E2.forEach((e5) => {
149
- f2.subRules && delete f2.subRules[e5], f2.rules && delete f2.rules[e5];
150
- }), f2.subRules && (Object.keys(f2.subRules).length > 0 ? f2.totalSubRules || (f2.totalSubRules = {}) : delete f2.subRules);
151
- const v2 = window.$vueApp.config.globalProperties.$formValidator(e4, f2, g3, c3, m3, d3, b2, r6);
152
- y2 = v2.msg, i2 = v2.field, u3 = v2.listCode, h2 = v2.rowIndex, w2 = v2.pageNum;
148
+ delete c2[e5], c2.subRules && delete c2.subRules[e5], c2.rules && delete c2.rules[e5];
149
+ }), c2.subRules && (Object.keys(c2.subRules).length > 0 ? c2.totalSubRules || (c2.totalSubRules = {}) : delete c2.subRules);
150
+ const v2 = window.$vueApp.config.globalProperties.$formValidator(e4, c2, g3, f3, m3, d3, b2, r6);
151
+ y2 = v2.msg, o2 = v2.field, u3 = v2.listCode, h2 = v2.rowIndex, w2 = v2.pageNum;
153
152
  } else y2 = true;
154
153
  if (true !== y2) {
155
154
  if (t({ showClose: true, message: y2 + "", type: "warning" }), u3) {
156
155
  const e5 = s(n4, u3);
157
156
  if (e5 && e5.addRequiredClass) {
158
- e5.addRequiredClass(i2, h2, w2);
157
+ e5.addRequiredClass(o2, h2, w2);
159
158
  try {
160
- f(n4, u3), e5.scrollToCell({ fieldName: i2, rowIndex: h2, pageNum: w2 });
159
+ c(n4, u3), e5.scrollToCell({ fieldName: o2, rowIndex: h2, pageNum: w2 });
161
160
  } catch (e6) {
162
- console.error("滚动到验证失败的子表字段失败,可能是表格组件版本较低没有scrollToCell方法", e6);
163
161
  }
164
162
  }
165
163
  } else {
166
- const e5 = s(n4, i2);
164
+ const e5 = s(n4, o2);
167
165
  if (e5 && e5.addRequiredClass) {
168
166
  e5.addRequiredClass();
169
167
  try {
170
- f(n4, i2);
168
+ c(n4, o2);
171
169
  } catch (e6) {
172
- console.error("滚动失败", e6);
173
170
  }
174
171
  }
175
172
  }
176
173
  l4(false);
177
174
  } else Object.keys(e4).indexOf("validateErrorField") >= 0 && delete e4.validateErrorField, l4(e4);
178
- } else u2(new Error(o().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
175
+ } else u2(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
179
176
  }).catch((e5) => {
180
177
  u2(e5);
181
178
  });
@@ -200,8 +197,8 @@ function y(e2, n2, r2, l2) {
200
197
  }
201
198
  function R(e2) {
202
199
  return new Promise((t2, s2) => {
203
- const r2 = [], o2 = e2.customValidatorUuids;
204
- o2 && o2.forEach((t3) => {
200
+ const r2 = [], i2 = e2.customValidatorUuids;
201
+ i2 && i2.forEach((t3) => {
205
202
  const s3 = n(e2, t3);
206
203
  s3 && s3.validator && r2.push(s3.validator());
207
204
  }), r2 && r2.length > 0 ? Promise.all(r2).then((e3) => {
@@ -211,11 +208,11 @@ function R(e2) {
211
208
  }
212
209
  function E(e2, t2, s2) {
213
210
  return new Promise((n2, r2) => {
214
- const i2 = JSON.parse(JSON.stringify(e2)), a2 = p(s2), u2 = t2.hiddenNotValidatorCodes;
211
+ const o2 = JSON.parse(JSON.stringify(e2)), a2 = p(s2), u2 = t2.hiddenNotValidatorCodes;
215
212
  if (a2 && u2 && u2.size > 0 && u2.forEach((e3) => {
216
213
  delete a2[e3];
217
214
  }), a2 && 0 !== Object.keys(a2).length) {
218
- if (true === b(i2, a2, null, null, true, t2)) {
215
+ if (true === b(o2, a2, null, null, true, t2)) {
219
216
  if (true === P(t2)) {
220
217
  const e3 = x(t2);
221
218
  e3 && l(e3) ? e3.then((e4) => {
@@ -225,8 +222,8 @@ function E(e2, t2, s2) {
225
222
  }) : R(t2).then((e4) => {
226
223
  n2(e4);
227
224
  });
228
- } else r2(new Error(o().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
229
- } else r2(new Error(o().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
225
+ } else r2(new Error(i().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
226
+ } else r2(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
230
227
  } else {
231
228
  if (true === P(t2)) {
232
229
  const e3 = x(t2);
@@ -237,21 +234,21 @@ function E(e2, t2, s2) {
237
234
  }) : R(t2).then((e4) => {
238
235
  n2(e4);
239
236
  });
240
- } else r2(new Error(o().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
237
+ } else r2(new Error(i().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
241
238
  }
242
239
  });
243
240
  }
244
241
  function v(e2, t2, s2) {
245
242
  if (!t2) return s2;
246
243
  s2 || (s2 = {});
247
- const n2 = u(e2), r2 = Object.keys(t2), o2 = t2;
244
+ const n2 = u(e2), r2 = Object.keys(t2), i2 = t2;
248
245
  return r2.forEach((e3) => {
249
246
  if ("__subRules" === e3) {
250
- const e4 = o2.__subRules;
247
+ const e4 = i2.__subRules;
251
248
  Object.keys(e4).forEach((t3) => {
252
249
  s2.subRules || (s2.subRules = {}), s2.subRules[t3] ? Object.assign(s2.subRules[t3], e4[t3]) : s2.subRules[t3] = e4[t3];
253
250
  });
254
- } else S(o2[e3]), n2 ? (s2.rules[e3] = o2[e3], s2[e3] && (s2[e3] = o2[e3])) : s2[e3] = o2[e3];
251
+ } else S(i2[e3]), n2 ? (s2.rules[e3] = i2[e3], s2[e3] && (s2[e3] = i2[e3])) : s2[e3] = i2[e3];
255
252
  }), h(s2);
256
253
  }
257
254
  function P(e2) {
@@ -261,9 +258,9 @@ function P(e2) {
261
258
  const s2 = e2.tableUuids;
262
259
  if (!s2) return true;
263
260
  for (let r2 = 0; r2 < s2.length; r2++) {
264
- const i2 = s2[r2], l2 = e2.hiddenNotValidatorCodes;
265
- if (l2 && l2.size > 0 && l2.has(i2)) continue;
266
- const a2 = n(e2, i2);
261
+ const o2 = s2[r2], l2 = e2.hiddenNotValidatorCodes;
262
+ if (l2 && l2.size > 0 && l2.has(o2)) continue;
263
+ const a2 = n(e2, o2);
267
264
  if (a2) {
268
265
  if (a2.getConfigure()) {
269
266
  const s3 = a2.getConfigure();
@@ -271,16 +268,16 @@ function P(e2) {
271
268
  const n2 = a2.getTableData();
272
269
  if (!n2 || !Array.isArray(n2) || 0 === n2.length) {
273
270
  try {
274
- d(e2, i2);
271
+ d(e2, o2);
275
272
  } catch (e3) {
276
273
  }
277
- return t({ showClose: true, message: o().t("superPageRuntimeMessage.xxxNotEmpty", { label: s3.title ? s3.title : s3.code }), type: "warning" }), false;
274
+ return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: s3.title ? s3.title : s3.code }), type: "warning" }), false;
278
275
  }
279
276
  }
280
277
  }
281
278
  if (false === a2.validatorSunTableListData()) {
282
279
  try {
283
- d(e2, i2);
280
+ d(e2, o2);
284
281
  } catch (e3) {
285
282
  }
286
283
  return false;
@@ -293,24 +290,24 @@ function k(e2) {
293
290
  if (!e2 || 0 === Object.keys(e2).length) return;
294
291
  const t2 = {}, s2 = Object.keys(e2);
295
292
  for (let n2 = 0; n2 < s2.length; n2++) {
296
- const r2 = s2[n2], o2 = e2[r2];
297
- C(o2), r2.indexOf(".") > 0 ? g(r2, t2, o2) : o2 && o2.length > 0 && (t2[r2] = [...o2]);
293
+ const r2 = s2[n2], i2 = e2[r2];
294
+ C(i2), r2.indexOf(".") > 0 ? g(r2, t2, i2) : i2 && i2.length > 0 && (t2[r2] = [...i2]);
298
295
  }
299
296
  return t2;
300
297
  }
301
298
  function C(e2, t2) {
302
299
  e2.forEach((e3) => {
303
300
  e3.message;
304
- const t3 = e3.label, s2 = o().t(t3);
305
- e3.required && (e3.message = o().t("superPageRuntimeMessage.required", { label: s2 })), e3.myType && (e3.message = o().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), e3.patternType && (e3.message = o().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), void 0 !== e3.max && null !== e3.max && (e3.message = o().t("superPageRuntimeMessage.overMaxLength", { label: s2, value: e3.max })), void 0 !== e3.min && null !== e3.min && (e3.message = o().t("superPageRuntimeMessage.limitMinLength", { label: s2, value: e3.min }));
301
+ const t3 = e3.label, s2 = i().t(t3);
302
+ e3.required && (e3.message = i().t("superPageRuntimeMessage.required", { label: s2 })), e3.myType && (e3.message = i().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), e3.patternType && (e3.message = i().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), void 0 !== e3.max && null !== e3.max && (e3.message = i().t("superPageRuntimeMessage.overMaxLength", { label: s2, value: e3.max })), void 0 !== e3.min && null !== e3.min && (e3.message = i().t("superPageRuntimeMessage.limitMinLength", { label: s2, value: e3.min }));
306
303
  });
307
304
  }
308
305
  function O(e2) {
309
- const t2 = e2.entity.data, s2 = { ...e2.entity.page, ...t2 }, n2 = i(e2), r2 = e2.entity.context, o2 = e2.entity.task;
306
+ const t2 = e2.entity.data, s2 = { ...e2.entity.page, ...t2 }, n2 = o(e2), r2 = e2.entity.context, i2 = e2.entity.task;
310
307
  e2.formPropTiltleMap && Object.keys(e2.formPropTiltleMap).length > 0 && e2.completeTaskParam.fieldPermissions && e2.completeTaskParam.fieldPermissions.length > 0 && e2.completeTaskParam.fieldPermissions.forEach((t3) => {
311
308
  t3.name && e2.formPropTiltleMap[t3.name] && (t3.label = e2.formPropTiltleMap[t3.name]);
312
309
  });
313
- let l2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, s2, true, n2, o2, r2);
310
+ let l2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, s2, true, n2, i2, r2);
314
311
  const a2 = e2.customRules;
315
312
  return l2 = v(e2, a2, l2), l2 && (l2.rules || (l2.rules = {}), l2.subRules || (l2.subRules = {})), l2;
316
313
  }
@@ -328,7 +325,7 @@ function x(e2) {
328
325
  }), r2.includes(false) && e3(false), n2.length > 0 ? Promise.all(n2).then((t3) => {
329
326
  t3.includes(false) ? e3(false) : e3(true);
330
327
  }).catch((t3) => {
331
- console.error(t3), e3(false);
328
+ e3(false);
332
329
  }) : e3(true);
333
330
  }) : null;
334
331
  }
@@ -365,16 +362,16 @@ function M(e2, t2) {
365
362
  }
366
363
  function N(e2, t2, r2) {
367
364
  var _a;
368
- let o2, i2;
369
- if (r2 ? (o2 = s(e2, r2), i2 = o2 ? o2.getTableUuid() : null) : (i2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, o2 = i2 ? n(e2, i2) : null), !o2) return;
370
- const l2 = e2.code, a2 = e2.version, u2 = c(l2, a2, i2);
365
+ let i2, o2;
366
+ if (r2 ? (i2 = s(e2, r2), o2 = i2 ? i2.getTableUuid() : null) : (o2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, i2 = o2 ? n(e2, o2) : null), !i2) return;
367
+ const l2 = e2.code, a2 = e2.version, u2 = f(l2, a2, o2);
371
368
  if (e2.workflowRules || (e2.workflowRules = { rules: {}, subRules: {} }), e2.workflowRules.subRules || (e2.workflowRules.subRules = {}), e2.workflowRules.subRules[r2] || (e2.workflowRules.subRules[r2] = {}), ((_a = e2.workflowRules) == null ? void 0 : _a.subRules) && e2.workflowRules.subRules[r2]) {
372
369
  const s2 = e2.workflowRules.subRules[r2];
373
370
  t2.forEach((e3) => {
374
371
  s2[e3.name] = e3;
375
372
  });
376
373
  }
377
- o2.dynamicControlTableEdit(e2, t2, u2);
374
+ i2.dynamicControlTableEdit(e2, t2, u2);
378
375
  }
379
376
  function q(e2, t2, s2) {
380
377
  var _a, _b, _c;
@@ -382,8 +379,8 @@ function q(e2, t2, s2) {
382
379
  const n2 = t2.getConfigure();
383
380
  if (void 0 !== s2.show && (s2.show ? t2.show() : t2.hide()), void 0 !== s2.required && ((_a = n2 == null ? void 0 : n2.runtime) == null ? void 0 : _a.props) && (n2.runtime.props.required = s2.required), void 0 !== s2.readonly && ((_b = n2 == null ? void 0 : n2.runtime) == null ? void 0 : _b.props) && (s2.readonly ? n2.runtime.props.state = "readonly" : n2.runtime.props.state = "enabled"), void 0 !== s2.disabled && n2 && (((_c = n2 == null ? void 0 : n2.runtime) == null ? void 0 : _c.props) && (s2.disabled ? n2.runtime.props.state = "disabled" : n2.runtime.props.state = "enabled"), "table" === n2.name)) {
384
381
  t2.changeOperationAddState(false);
385
- const s3 = t2 ? t2.getTableUuid() : null, n3 = e2.code, r2 = e2.version, o2 = c(n3, r2, s3), i2 = [{ name: "_all_fields", disabled: true }];
386
- t2.dynamicControlTableEdit(e2, i2, o2);
382
+ const s3 = t2 ? t2.getTableUuid() : null, n3 = e2.code, r2 = e2.version, i2 = f(n3, r2, s3), o2 = [{ name: "_all_fields", disabled: true }];
383
+ t2.dynamicControlTableEdit(e2, o2, i2);
387
384
  }
388
385
  }
389
386
  }