@gct-paas/excel 0.1.6 → 0.1.7

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 (148) hide show
  1. package/dist/{document-sub-table-action-DTmf8djY.js → Scrollbar-B7JBEV1a.js} +101 -30
  2. package/dist/{VueVideoPlayer-ZLD8hL4k.js → VueVideoPlayer-DaQz5GJ-.js} +2 -2
  3. package/dist/{agg-design-CFDHQV7p.js → agg-design-DQ-BW6Wp.js} +1 -1
  4. package/dist/{agg-props-CGmbXrHl.js → agg-props-pP0E3mbR.js} +1 -1
  5. package/dist/{agg-style-BTBtrS5F.js → agg-style-CPNDZOrv.js} +1 -1
  6. package/dist/{align-editor-DPdYAGLc.js → align-editor-DUCeImpf.js} +1 -1
  7. package/dist/{attach-fields-editor-DbieTu3Y.js → attach-fields-editor-CdtnInv8.js} +2 -2
  8. package/dist/{barcode-design-DWKmt1QG.js → barcode-design-D_FwFBHn.js} +3 -2
  9. package/dist/base/index.es.js +851 -79
  10. package/dist/{base-font-editor-DeOB4CbL.js → base-font-editor-BxXZUYlm.js} +2 -2
  11. package/dist/{boolean-design-DNgaw8Bn.js → boolean-design-CJ54p6GD.js} +3 -2
  12. package/dist/{boolean-props-B916huYF.js → boolean-props-CqnHYhfU.js} +3 -3
  13. package/dist/{boolean-style-7QgavPVq.js → boolean-style-BISfAKQN.js} +5 -4
  14. package/dist/{cell-upload-CjLmAmrx.js → cell-upload-BhvgDxZZ.js} +2 -2
  15. package/dist/{date-format-editor-BvMOnu8_.js → date-format-editor-BfpAkGaH.js} +2 -2
  16. package/dist/{date-time-design-CuMNyFsU.js → date-time-design-iHzRcZ2Z.js} +1 -1
  17. package/dist/{date-time-props-BlCfAI-2.js → date-time-props-DKu8RxHo.js} +4 -3
  18. package/dist/{date-time-style-iaoWzgJt.js → date-time-style-BuceVhbM.js} +1 -1
  19. package/dist/{decimal-design-D6FK5-3M.js → decimal-design-qNDqq7oV.js} +1 -1
  20. package/dist/{decimal-display-mode-CBapqAse.js → decimal-display-mode-CRE2lUH0.js} +3 -2
  21. package/dist/{decimal-props-w8vIW26P.js → decimal-props-DlZ1tbs4.js} +5 -4
  22. package/dist/{decimal-style-DHFNVhvh.js → decimal-style-pShvLMIT.js} +1 -1
  23. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Cq9-JA6N.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-DjWHIcsL.js} +3 -2
  24. package/dist/{diagonal-design-BizS498x.js → diagonal-design-Cds1_VOU.js} +2 -2
  25. package/dist/{double-design-CgvwQhau.js → double-design-KpjZVekY.js} +1 -1
  26. package/dist/{double-props-CYFLOVzy.js → double-props-CLDo0OMF.js} +4 -4
  27. package/dist/{double-style-DmKQVihS.js → double-style-Dk4bWTOC.js} +1 -1
  28. package/dist/{edit.utils-CXmmCnxE-BdPovZCI.js → edit.utils-CXmmCnxE-DmboFGWY.js} +1 -1
  29. package/dist/{enum-design-upyui6-Q.js → enum-design-DWBVKgpn.js} +2 -2
  30. package/dist/{enum-props-yxbdmogr.js → enum-props-BMqvi-h7.js} +4 -4
  31. package/dist/{enum-style-BOcNGDz1.js → enum-style-Dg8FVDC8.js} +2 -2
  32. package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js → error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-_YqKZ9BJ.js} +2049 -280
  33. package/dist/excel.css +760 -61
  34. package/dist/{exceljs.min-Q7cd3slm.js → exceljs.min-D8o4bQuo.js} +2 -2
  35. package/dist/{expression-design-q1dAYuEs.js → expression-design-C2wvd8JA.js} +1 -1
  36. package/dist/{expression-props-D7Zk2Lj6.js → expression-props-DCxZKIhB.js} +1 -1
  37. package/dist/{expression-style-B8IzNr0y.js → expression-style-BHrUq0q6.js} +1 -1
  38. package/dist/{file-design-gZHj9Op8.js → file-design-CAIp6Sxw.js} +1 -1
  39. package/dist/{file-props-CVTWDt3n.js → file-props-RSS1kA9M.js} +2 -2
  40. package/dist/{file-style-C2uWZfTL.js → file-style-C_egOJZs.js} +1 -1
  41. package/dist/{font-editor-CIVs3ds5.js → font-editor-bSMMIfN6.js} +3 -3
  42. package/dist/{form-annotation-controller-NcH3tnGJ.js → form-annotation-controller-BW5Z5Km-.js} +3 -2
  43. package/dist/{image-design-Cs3Iu9Rq.js → image-design-9zFKEj7j.js} +2 -2
  44. package/dist/{image-design-DSbpGyCq.js → image-design-D43cm8v9.js} +2 -2
  45. package/dist/{image-props-DY7iWz-p.js → image-props-BhAoKssZ.js} +1 -1
  46. package/dist/{image-style-ChKqwGjs.js → image-style-CWSi-cNF.js} +1 -1
  47. package/dist/{index-DfJnS3jv.js → index-3-nPfz8f.js} +2 -1
  48. package/dist/{index-DP-fe4OH.js → index-B0826EbX.js} +2 -1
  49. package/dist/{index-CqU4WE9q.js → index-B5OinRVD.js} +3 -2
  50. package/dist/{index-DM8guHf_.js → index-B8Ishhy1.js} +3 -3
  51. package/dist/{index-CKWk_Iax.js → index-BR6tPbJL.js} +2 -1
  52. package/dist/{index-BLZe6LV2.js → index-C5UcOth6.js} +2 -1
  53. package/dist/{index-D_W1JQG3.js → index-CSfsaSES.js} +2 -1
  54. package/dist/{index-DifLG137.js → index-CXO7yNtU.js} +3 -2
  55. package/dist/{index-Co6IQUXW.js → index-CYx4a6ZF.js} +3 -2
  56. package/dist/{index-C-R-S828.js → index-CZTQaArc.js} +2 -1
  57. package/dist/{index-BIBsEVp6.js → index-Ce5aQSOG.js} +2 -1
  58. package/dist/{index-CpFGw3N1.js → index-Cf66ceay.js} +2 -1
  59. package/dist/{index-3c5jyp0H.js → index-Cg_oo-85.js} +3 -2
  60. package/dist/{index-3W4ojOsw.js → index-CiJDBVfG.js} +2 -1
  61. package/dist/{index-I4RvYVZ5.js → index-CisiQ6o8.js} +2 -1
  62. package/dist/{index-C8L2NmXe.js → index-D0oKqTXq.js} +3 -2
  63. package/dist/{index-uZMZ5Sw0.js → index-DC7jXgI1.js} +2 -1
  64. package/dist/{index-BQlGsxLp.js → index-DCUzC9E1.js} +2 -1
  65. package/dist/{index-CiCyHGDi.js → index-DDsAwVgc.js} +2 -1
  66. package/dist/{index-0fm9o8n6.js → index-DOLGt-oq.js} +2 -1
  67. package/dist/{index-BlD4K4x9.js → index-DPic0PAg.js} +2 -1
  68. package/dist/{index-Bp_dDukK.js → index-DUwxlUsk.js} +2 -1
  69. package/dist/{index-CnSZi6Rb.js → index-DdHFG9gu.js} +2 -1
  70. package/dist/{index-CLfbQ9Km.js → index-DoHv-Wat.js} +2 -1
  71. package/dist/{index-O45aIP0d.js → index-DuyXOtQd.js} +1078 -1883
  72. package/dist/{index-CrsYNoBp.js → index-DxpaKPpt.js} +2 -1
  73. package/dist/{index-qQN-nVT9.js → index-EgjSgxmn.js} +2 -1
  74. package/dist/{index-Cejm_o4O.js → index-G8p5DlES.js} +2 -1
  75. package/dist/{index-B5sCWlDl.js → index-Wc8s0XWz.js} +2 -1
  76. package/dist/{index-Czp4LZY9.js → index-n-nmT24v.js} +2 -1
  77. package/dist/{index-BomC1N9j.js → index-v2uwFW0w.js} +2 -1
  78. package/dist/{index-DSzP8X8O.js → index-v5VaTR1M.js} +2 -1
  79. package/dist/{index-j478qavG.js → index-wT1_RQsk.js} +2 -1
  80. package/dist/index.es.js +2 -2
  81. package/dist/{integer-design-D9JByLVX.js → integer-design-CZY_GaX4.js} +1 -1
  82. package/dist/{integer-props-CC-f4ADN.js → integer-props-CiWN81iV.js} +5 -4
  83. package/dist/{integer-style-CIvRKskQ.js → integer-style-CmDVOU3z.js} +1 -1
  84. package/dist/{mb-render-JL1sDSy6.js → mb-render-DH3wjHF6.js} +1 -1
  85. package/dist/{number-input-ex-3TUi3vyu.js → number-input-ex-DBP6bH2g.js} +1 -1
  86. package/dist/{org-props-D-uKjxJ8.js → org-props-BbognFne.js} +3 -2
  87. package/dist/{org-style-CTSneeEZ.js → org-style-CKcKh--d.js} +1 -1
  88. package/dist/{pagination-design-DHyyK1YF.js → pagination-design-CGQoxT1c.js} +3 -2
  89. package/dist/paper-widget-design-C2R1vq4x.js +4 -0
  90. package/dist/{qrcode-design-Cv1U_tLU.js → qrcode-design-nmvc6IKq.js} +1 -1
  91. package/dist/{ref-autofill-editor-DdjUciLC.js → ref-autofill-editor-BuwJ25wY.js} +2 -2
  92. package/dist/{ref-props-DrLbqECJ.js → ref-props-GcDi5wEa.js} +3 -3
  93. package/dist/{ref-style-BV_eK_or.js → ref-style-CiNfw28x.js} +1 -1
  94. package/dist/{revo-grid.entry-DNrCIdcu.js → revo-grid.entry-0NNTZ0B8.js} +1 -1
  95. package/dist/{revogr-attribution_7.entry-g7DReToZ.js → revogr-attribution_7.entry-CoBqkZ5n.js} +3 -3
  96. package/dist/{revogr-clipboard_3.entry-vJotBpPb.js → revogr-clipboard_3.entry-CAhzTbEf.js} +2 -2
  97. package/dist/{revogr-data_4.entry-CoP8SHrP.js → revogr-data_4.entry-CFMX1h_E.js} +2 -2
  98. package/dist/{revogr-filter-panel.entry-Cl_ZKbCr.js → revogr-filter-panel.entry-D-iVwIOe.js} +1 -1
  99. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-BMtQpv50.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-BVkJaE6C.js} +3 -2
  100. package/dist/{serialnumber-design-DCbPl9zc.js → serialnumber-design-Bh-HXqce.js} +1 -1
  101. package/dist/shared/index.es.js +28 -28
  102. package/dist/signature-DDUs5vB9.js +9 -0
  103. package/dist/{signature-design-CbDzTsgj.js → signature-design-dZn3EpuN.js} +1 -1
  104. package/dist/{signature-props-BkWQd4EP.js → signature-props-_279L5dA.js} +3 -3
  105. package/dist/{signature-style-dr1T4Dfx.js → signature-style-BjgT1D8c.js} +1 -1
  106. package/dist/{single-field-drop-DF5zYnk0.js → single-field-drop-HJs82PTz.js} +2 -2
  107. package/dist/{size-editor-BSZoEseb.js → size-editor-DqrqaJWc.js} +1 -1
  108. package/dist/src/nocode-base/src/components/ebr-wiki-layout.vue.d.ts +34 -0
  109. package/dist/src/nocode-base/src/components/edhr-new-wiki-tree.vue.d.ts +46 -0
  110. package/dist/src/nocode-base/src/components/error-group-panel.vue.d.ts +7 -0
  111. package/dist/src/nocode-base/src/components/index.d.ts +4 -1
  112. package/dist/src/nocode-mobile-render/src/integration/form-ins/change-form-ins-popup.vue.d.ts +2 -2
  113. package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-fill-modal.vue.d.ts +67 -1
  114. package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-menu.vue.d.ts +4 -4
  115. package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +2 -2
  116. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-builtin-param/add-builtin-param-select.vue.d.ts +2 -2
  117. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/form-field-tree-select.vue.d.ts +2 -2
  118. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/material-rdo-select.vue.d.ts +2 -2
  119. package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
  120. package/dist/src/shared/components/version-select/version-select.vue.d.ts +2 -2
  121. package/dist/{text-design-ISafIyBi.js → text-design-BDWhD2sy.js} +3 -2
  122. package/dist/{text-design-DFtzBEcT.js → text-design-BaXlEfHf.js} +2 -2
  123. package/dist/{text-props-Dp0IZbyX.js → text-props-BAQWLAYY.js} +4 -4
  124. package/dist/{text-style-B5qZYv8P.js → text-style-BpCU0KMs.js} +1 -1
  125. package/dist/{throttle-Cpk1LoGk-BjiiSDKG.js → throttle-Cpk1LoGk-Cuw2Gnao.js} +1 -1
  126. package/dist/{timediff-design-OvKUg4IL.js → timediff-design-CJnQ__0R.js} +2 -1
  127. package/dist/{trace-design-CcRc_Em1.js → trace-design-C6D8PxA2.js} +2 -2
  128. package/dist/{trace-props-CStXAusV.js → trace-props-BIqLaT63.js} +5 -5
  129. package/dist/{trace-style-C2hsdG9S.js → trace-style-Dukw7NV9.js} +1 -1
  130. package/dist/{user-props-p-kB2mls.js → user-props-DBYsHkOT.js} +3 -2
  131. package/dist/{user-style-D_jPtKA_.js → user-style-BuDaimJL.js} +1 -1
  132. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DYhI3w_m.js → value-editor.vue_vue_type_style_index_0_lang-CDf0_29c.js} +3 -2
  133. package/dist/{version-select-D6Jjs5hL.js → version-select-1agZAO_o.js} +1 -2
  134. package/dist/web-render/index.es.js +36 -37
  135. package/dist/{widget-barcode-I5Mn77Dn.js → widget-barcode-DFhW7uOh.js} +5 -4
  136. package/dist/{widget-diagonal-AW-PDhLK.js → widget-diagonal-qNoAh0-Z.js} +3 -3
  137. package/dist/{widget-image-D_XgRUVn.js → widget-image-DrviL5SX.js} +5 -5
  138. package/dist/{widget-line-3J_HpAQ8.js → widget-line-DGdSOlvg.js} +3 -2
  139. package/dist/{widget-pagination-CMm9Wc0O.js → widget-pagination-CPG8FDLZ.js} +6 -5
  140. package/dist/{widget-power-DrEkw7Mj.js → widget-power-Drk4rLyc.js} +3 -3
  141. package/dist/{widget-qrcode-Du1Hspts.js → widget-qrcode-DOVzlS-t.js} +4 -3
  142. package/dist/{widget-rangelimit-Dqjtf3R-.js → widget-rangelimit-Dn1QB6xI.js} +3 -3
  143. package/dist/{widget-serialnumber-zHZNg_gD.js → widget-serialnumber-ByGCzq5B.js} +1 -1
  144. package/dist/{widget-text-i4doVGPB.js → widget-text-BUUOZTKg.js} +5 -5
  145. package/dist/{widget-timediff-XPadJBfx.js → widget-timediff-BviY2xd0.js} +3 -2
  146. package/package.json +1 -1
  147. package/dist/AntdIcon-C3RMq2zm.js +0 -1040
  148. package/dist/paper-widget-design-BzDMRbec.js +0 -4
@@ -1,12 +1,13 @@
1
- import { az as fetchHistoryConsume, aA as isBomGranted, F as FIELD_TYPE, i as api, aq as getParseRuleInfo, ar as getParseRuleValue, aB as calcFillData, aC as extractKeywordFromQueryData, t as FormTypeEnum, aD as transformUtils, g as SubTableType, an as NCB_PROVIDE, aE as clearFormRules, aF as baseDataUtils, as as RenderModeEnum, e as ComponentTypeEnum, aG as validate, aH as calcUtils, a3 as CheckDsTypeEnum, aj as renderUtils, H as PlatformEnum, aI as uuid2, aJ as normalizeToArray, aK as safeParseArray, aL as BpmnNodeTypeEnum, aM as mergeByMultiKey, ay as useNocodeEmitter, a2 as EntityModelCategoryEnum, aN as getSubTableQuickFillInfo, h as CellType, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
2
- import { a6, a8, al, w, aO, aP, B, aQ, J, aR, aS, aT, ak, am, a7, a4, a5, K, aU, au, Q, aV, a0, ab, v, M, L, aW, aX, O, b, P, a1, a, m, aa, aY, ai, z, x, y, A, aZ, T, V, W, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, ao, ap, b8, af, b9, ae, ac, u, ag, ah, at, ad } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
3
- import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController, S as SubTableCore, h as SubTableActionMenuTypeEnum, i as getMenuByAction, j as SubTableActionEnum, k as getCopySubMenu, l as getInsertSubMenu, m as useMaterialBalance, n as commonUtils, o as DocumentQuickFillModal } from "../document-sub-table-action-DTmf8djY.js";
4
- import { B as B2, p, D, _, q, e, f, F, r, d, a as a2, b as b10, s, u as u2, c } from "../document-sub-table-action-DTmf8djY.js";
5
- import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock, withModifiers } from "vue";
1
+ import { aD as fetchHistoryConsume, aE as isBomGranted, F as FIELD_TYPE, j as api, au as getParseRuleInfo, av as getParseRuleValue, aF as calcFillData, aG as extractKeywordFromQueryData, x as FormTypeEnum, aH as transformUtils, h as SubTableType, ar as NCB_PROVIDE, aI as clearFormRules, aJ as baseDataUtils, aw as RenderModeEnum, f as ComponentTypeEnum, aK as validate, aL as calcUtils, a7 as CheckDsTypeEnum, an as renderUtils, M as PlatformEnum, aM as uuid2, aN as normalizeToArray, aO as safeParseArray, aP as BpmnNodeTypeEnum, aQ as mergeByMultiKey, aC as useNocodeEmitter, a6 as EntityModelCategoryEnum, aR as getSubTableQuickFillInfo, i as CellType, _ as _export_sfc, I as Icon, aS as MobileFillTypeEnum, H as useModal } from "../error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-_YqKZ9BJ.js";
2
+ import { aa, ac, ap, z, aT, aU, B, aV, Q, aW, aX, aY, ao, aq, ab, a8, a9, R, aZ, ay, Z, a_, a4, af, y, T, L, a$, O, b, P, a5, a, n, ae, b0, am, E, A, D, G, b1, V, X, W, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, as, at, bc, aj, bd, ai, ag, o, ak, al, ax, ah } from "../error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-_YqKZ9BJ.js";
3
+ import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController, h as SubTableCore, i as SubTableActionMenuTypeEnum, j as getMenuByAction, k as SubTableActionEnum, l as getCopySubMenu, m as getInsertSubMenu, n as useMaterialBalance, o as commonUtils, p as DocumentQuickFillModal, q as DocumentLoading, r as _imports_0, S as Scrollbar, C as CaretRightOutlined } from "../Scrollbar-B7JBEV1a.js";
4
+ import { B as B2, s, D as D2, _, e, f, F, t, d, a as a2, b as b10, v, u, c } from "../Scrollbar-B7JBEV1a.js";
5
+ import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock, withModifiers, createVNode, renderSlot, createElementVNode, normalizeClass, createCommentVNode, withDirectives, vShow, toDisplayString, resolveComponent, withCtx, unref, createBlock, Fragment, renderList, createTextVNode, nextTick, normalizeStyle } from "vue";
6
6
  import { defaults, pick, merge, has, isEmpty, cloneDeep } from "lodash-es";
7
7
  import dayjs from "dayjs";
8
- import { B as B3, C, F as F2, a as a3, M as M2 } from "../form-annotation-controller-NcH3tnGJ.js";
9
- import { B as B4, F as F3, I, M as M3, b as b11, u as u3 } from "../mb-render-JL1sDSy6.js";
8
+ import { B as B3, C, F as F2, a as a3, M } from "../form-annotation-controller-BW5Z5Km-.js";
9
+ import { B as B4, F as F3, I, M as M2, b as b11, u as u2 } from "../mb-render-DH3wjHF6.js";
10
+ import { Empty } from "ant-design-vue";
10
11
  function useLatestRequest(execFn) {
11
12
  let lastReqId = 0;
12
13
  const loading = ref(false);
@@ -3144,7 +3145,7 @@ function useMaterialStocktake() {
3144
3145
  openScanModal
3145
3146
  };
3146
3147
  }
3147
- const _sfc_main = /* @__PURE__ */ defineComponent({
3148
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3148
3149
  __name: "document-quick-fillin",
3149
3150
  props: {
3150
3151
  subTableFieldId: {},
@@ -3220,139 +3221,910 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3220
3221
  };
3221
3222
  }
3222
3223
  });
3223
- const documentQuickFillin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a18386ab"]]);
3224
+ const documentQuickFillin = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-a18386ab"]]);
3225
+ const _hoisted_1$2 = { class: "ebr-wiki-edhr-builder-wrapper" };
3226
+ const _hoisted_2$2 = {
3227
+ key: 0,
3228
+ class: "nocode-common-loading-warp"
3229
+ };
3230
+ const _hoisted_3$2 = {
3231
+ key: 1,
3232
+ class: "ebr-wiki-edhr-builder-container"
3233
+ };
3234
+ const _hoisted_4$2 = { class: "ebr-wiki-edhr-builder-right" };
3235
+ const _hoisted_5$2 = { class: "ebr-wiki-edhr-builder-right__content" };
3236
+ const _hoisted_6$2 = {
3237
+ key: 0,
3238
+ class: "nocode-common-loading-warp ebr-wiki-right-loading"
3239
+ };
3240
+ const _hoisted_7$2 = {
3241
+ key: 2,
3242
+ class: "nocode-common-loading-warp"
3243
+ };
3244
+ const _hoisted_8$2 = { class: "w200px text-center color-[#666]" };
3245
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3246
+ __name: "ebr-wiki-layout",
3247
+ props: {
3248
+ loading: { type: Boolean },
3249
+ hasData: { type: Boolean },
3250
+ rightLoading: { type: Boolean, default: false },
3251
+ leftLoading: { type: Boolean, default: false },
3252
+ showFullScreen: { type: Boolean }
3253
+ },
3254
+ setup(__props) {
3255
+ const isFullScreen = ref(false);
3256
+ function changeIsFullScreen() {
3257
+ isFullScreen.value = !isFullScreen.value;
3258
+ }
3259
+ return (_ctx, _cache) => {
3260
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
3261
+ __props.loading ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
3262
+ createVNode(DocumentLoading)
3263
+ ])) : __props.hasData || __props.rightLoading || __props.leftLoading ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
3264
+ renderSlot(_ctx.$slots, "ebr-left", {}, void 0, true),
3265
+ createElementVNode("div", {
3266
+ class: normalizeClass(["ebr-wiki-edhr-builder-content", { isFullScreen: isFullScreen.value }])
3267
+ }, [
3268
+ __props.showFullScreen ? (openBlock(), createElementBlock("div", {
3269
+ key: 0,
3270
+ class: "ebr-container-full-screen",
3271
+ onClick: changeIsFullScreen
3272
+ }, [
3273
+ createElementVNode("i", {
3274
+ class: normalizeClass(["iconfont", isFullScreen.value ? "icon-tuichuquanping" : "icon-quanping"])
3275
+ }, null, 2)
3276
+ ])) : createCommentVNode("", true),
3277
+ createElementVNode("div", _hoisted_4$2, [
3278
+ withDirectives(createElementVNode("div", _hoisted_5$2, [
3279
+ renderSlot(_ctx.$slots, "ebr-right", {}, void 0, true)
3280
+ ], 512), [
3281
+ [vShow, !__props.rightLoading]
3282
+ ]),
3283
+ __props.rightLoading ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
3284
+ createVNode(DocumentLoading)
3285
+ ])) : createCommentVNode("", true)
3286
+ ])
3287
+ ], 2),
3288
+ renderSlot(_ctx.$slots, "ebr-action", {}, void 0, true)
3289
+ ])) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
3290
+ createElementVNode("div", _hoisted_8$2, [
3291
+ _cache[0] || (_cache[0] = createElementVNode("img", {
3292
+ class: "w100% h100%",
3293
+ src: _imports_0,
3294
+ alt: ""
3295
+ }, null, -1)),
3296
+ createElementVNode("span", null, toDisplayString(_ctx.$t("sys.noData")), 1)
3297
+ ])
3298
+ ]))
3299
+ ]);
3300
+ };
3301
+ }
3302
+ });
3303
+ const ebrWikiLayout = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-bc2d89dc"]]);
3304
+ var UpOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
3305
+ function _objectSpread(target) {
3306
+ for (var i = 1; i < arguments.length; i++) {
3307
+ var source = arguments[i] != null ? Object(arguments[i]) : {};
3308
+ var ownKeys = Object.keys(source);
3309
+ if (typeof Object.getOwnPropertySymbols === "function") {
3310
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
3311
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
3312
+ }));
3313
+ }
3314
+ ownKeys.forEach(function(key) {
3315
+ _defineProperty(target, key, source[key]);
3316
+ });
3317
+ }
3318
+ return target;
3319
+ }
3320
+ function _defineProperty(obj, key, value) {
3321
+ if (key in obj) {
3322
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
3323
+ } else {
3324
+ obj[key] = value;
3325
+ }
3326
+ return obj;
3327
+ }
3328
+ var UpOutlined = function UpOutlined2(props, context) {
3329
+ var p = _objectSpread({}, props, context.attrs);
3330
+ return createVNode(Icon, _objectSpread({}, p, {
3331
+ "icon": UpOutlined$1
3332
+ }), null);
3333
+ };
3334
+ UpOutlined.displayName = "UpOutlined";
3335
+ UpOutlined.inheritAttrs = false;
3336
+ const _hoisted_1$1 = { class: "edhr-new-wiki-tree-wrapper" };
3337
+ const _hoisted_2$1 = { class: "edhr-new-wiki-tree-menu" };
3338
+ const _hoisted_3$1 = ["title"];
3339
+ const _hoisted_4$1 = {
3340
+ key: 0,
3341
+ class: "doc-icon"
3342
+ };
3343
+ const _hoisted_5$1 = { class: "appendix-list" };
3344
+ const _hoisted_6$1 = ["onClick"];
3345
+ const _hoisted_7$1 = { class: "appendix-item__title" };
3346
+ const _hoisted_8$1 = { class: "appendix-list" };
3347
+ const _hoisted_9$1 = ["onClick"];
3348
+ const _hoisted_10$1 = { class: "appendix-item__title" };
3349
+ const _hoisted_11 = { class: "ebr-new-wiki-print-btn" };
3350
+ const _hoisted_12 = { class: "header-title" };
3351
+ const _hoisted_13 = { class: "instance-content" };
3352
+ const _hoisted_14 = ["onClick"];
3353
+ const _hoisted_15 = { class: "title" };
3354
+ const _hoisted_16 = { class: "status" };
3355
+ const _hoisted_17 = ["onClick"];
3356
+ const f_key = "id";
3357
+ const f_title = "name";
3358
+ const f_children = "children";
3359
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3360
+ __name: "edhr-new-wiki-tree",
3361
+ props: {
3362
+ wikiTreeData: {},
3363
+ appendixList: {},
3364
+ docList: {},
3365
+ docInstanceList: {},
3366
+ treeSelectDocData: {},
3367
+ selectSelfInfo: {},
3368
+ hideInstanceArea: { type: Boolean }
3369
+ },
3370
+ emits: ["update:treeSelectDocData", "update:selectSelfInfo", "selectDoc"],
3371
+ setup(__props, { emit: __emit }) {
3372
+ const treeSettings = {
3373
+ children: f_children,
3374
+ title: f_title,
3375
+ key: f_key
3376
+ };
3377
+ const props = __props;
3378
+ const emit = __emit;
3379
+ const treeVisible = ref(true);
3380
+ const collapseActiveKey = ref(["1"]);
3381
+ const activeKey = ref("1");
3382
+ const isShowInstanceArea = computed(() => {
3383
+ return !props?.hideInstanceArea && [FormTypeEnum.BASE, FormTypeEnum.PROCESS, FormTypeEnum.FILE].includes(
3384
+ props.selectSelfInfo?.formType
3385
+ );
3386
+ });
3387
+ const computedDocInstancesList = computed(() => {
3388
+ return props.docInstanceList?.filter((item) => item.formType) ?? [];
3389
+ });
3390
+ const computedAppendixList = computed(() => {
3391
+ const seen = /* @__PURE__ */ new Set();
3392
+ return props.appendixList?.filter((item) => item.formType)?.filter((item) => {
3393
+ const key = item.tmplId;
3394
+ if (seen.has(key)) return false;
3395
+ seen.add(key);
3396
+ return true;
3397
+ }) ?? [];
3398
+ });
3399
+ const handleTreeToggle = async () => {
3400
+ await nextTick();
3401
+ setTimeout(() => {
3402
+ treeVisible.value = !treeVisible.value;
3403
+ }, 1);
3404
+ };
3405
+ function onSelect(_2, e2) {
3406
+ const { dataRef } = e2.node || {};
3407
+ if (props.treeSelectDocData && props.treeSelectDocData.id === dataRef.id) {
3408
+ return;
3409
+ }
3410
+ emit("update:treeSelectDocData", dataRef);
3411
+ emit("update:selectSelfInfo", null);
3412
+ }
3413
+ function onSelectAppendix(dataRef) {
3414
+ if (props.treeSelectDocData && props.treeSelectDocData.id === dataRef.id) {
3415
+ return;
3416
+ }
3417
+ emit("update:treeSelectDocData", dataRef);
3418
+ emit("update:selectSelfInfo", null);
3419
+ }
3420
+ function onSelectDoc(data) {
3421
+ emit("selectDoc", data);
3422
+ }
3423
+ function onSelectInstanceItem(data) {
3424
+ if (props.selectSelfInfo?.id === data.id) {
3425
+ return;
3426
+ }
3427
+ emit("update:selectSelfInfo", data);
3428
+ }
3429
+ return (_ctx, _cache) => {
3430
+ const _component_a_tree = resolveComponent("a-tree");
3431
+ const _component_a_tab_pane = resolveComponent("a-tab-pane");
3432
+ const _component_a_empty = resolveComponent("a-empty");
3433
+ const _component_a_tabs = resolveComponent("a-tabs");
3434
+ const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
3435
+ const _component_a_descriptions = resolveComponent("a-descriptions");
3436
+ const _component_a_collapse_panel = resolveComponent("a-collapse-panel");
3437
+ const _component_a_collapse = resolveComponent("a-collapse");
3438
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [
3439
+ createElementVNode("div", {
3440
+ class: normalizeClass(["edhr-new-wiki-tree-container", {
3441
+ "edhr-new-wiki-tree--hidden": !treeVisible.value
3442
+ }])
3443
+ }, [
3444
+ createElementVNode("div", {
3445
+ class: "edhr-new-wiki-tree-toggle",
3446
+ onClick: handleTreeToggle
3447
+ }, [..._cache[2] || (_cache[2] = [
3448
+ createElementVNode("i", { class: "iconfont icon-a-Leftarrow" }, null, -1)
3449
+ ])]),
3450
+ createElementVNode("div", _hoisted_2$1, [
3451
+ createVNode(_component_a_tabs, {
3452
+ activeKey: activeKey.value,
3453
+ "onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => activeKey.value = $event),
3454
+ centered: ""
3455
+ }, {
3456
+ default: withCtx(() => [
3457
+ createVNode(_component_a_tab_pane, {
3458
+ key: "1",
3459
+ tab: _ctx.$t("sys.edhr.ebr.category.catalogue")
3460
+ }, {
3461
+ default: withCtx(() => [
3462
+ createVNode(unref(Scrollbar), { class: "px-4px pb-8px" }, {
3463
+ default: withCtx(() => [
3464
+ createVNode(_component_a_tree, {
3465
+ class: "tree-instance",
3466
+ "auto-expand-parent": "",
3467
+ "default-expand-all": "",
3468
+ "block-node": "",
3469
+ showIcon: "",
3470
+ fieldNames: treeSettings,
3471
+ "tree-data": __props.wikiTreeData,
3472
+ selectedKeys: [__props.treeSelectDocData.id],
3473
+ onSelect
3474
+ }, {
3475
+ title: withCtx(({ data }) => [
3476
+ createElementVNode("div", {
3477
+ class: normalizeClass(["tree-node", data.type === "DOC" && "type-doc"])
3478
+ }, [
3479
+ createElementVNode("span", {
3480
+ class: "tree-node__title",
3481
+ title: data[f_title]
3482
+ }, toDisplayString(data[f_title]), 9, _hoisted_3$1)
3483
+ ], 2)
3484
+ ]),
3485
+ icon: withCtx(({ data }) => [
3486
+ data.type === "DOC" ? (openBlock(), createElementBlock("i", _hoisted_4$1)) : createCommentVNode("", true)
3487
+ ]),
3488
+ _: 1
3489
+ }, 8, ["tree-data", "selectedKeys"])
3490
+ ]),
3491
+ _: 1
3492
+ })
3493
+ ]),
3494
+ _: 1
3495
+ }, 8, ["tab"]),
3496
+ createVNode(_component_a_tab_pane, {
3497
+ key: "2",
3498
+ tab: _ctx.$t("sys.edhr.ebr.subModule.appendix")
3499
+ }, {
3500
+ default: withCtx(() => [
3501
+ computedAppendixList.value?.length ? (openBlock(), createBlock(unref(Scrollbar), {
3502
+ key: 0,
3503
+ class: "px-4px pb-8px"
3504
+ }, {
3505
+ default: withCtx(() => [
3506
+ createElementVNode("div", _hoisted_5$1, [
3507
+ (openBlock(true), createElementBlock(Fragment, null, renderList(computedAppendixList.value, (item) => {
3508
+ return openBlock(), createElementBlock("div", {
3509
+ class: normalizeClass(["appendix-item", __props.treeSelectDocData.id === item.id && "appendix-item--selected"]),
3510
+ key: item.id,
3511
+ onClick: ($event) => onSelectAppendix(item)
3512
+ }, [
3513
+ createElementVNode("div", _hoisted_7$1, toDisplayString(item.tmplName), 1)
3514
+ ], 10, _hoisted_6$1);
3515
+ }), 128))
3516
+ ])
3517
+ ]),
3518
+ _: 1
3519
+ })) : (openBlock(), createBlock(_component_a_empty, {
3520
+ key: 1,
3521
+ image: unref(Empty).PRESENTED_IMAGE_SIMPLE
3522
+ }, null, 8, ["image"]))
3523
+ ]),
3524
+ _: 1
3525
+ }, 8, ["tab"]),
3526
+ createVNode(_component_a_tab_pane, {
3527
+ key: "3",
3528
+ tab: _ctx.$t("sys.file")
3529
+ }, {
3530
+ default: withCtx(() => [
3531
+ __props.docList?.length ? (openBlock(), createBlock(unref(Scrollbar), {
3532
+ key: 0,
3533
+ class: "px-4px pb-8px"
3534
+ }, {
3535
+ default: withCtx(() => [
3536
+ createElementVNode("div", _hoisted_8$1, [
3537
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.docList, (item) => {
3538
+ return openBlock(), createElementBlock("div", {
3539
+ class: "appendix-item",
3540
+ key: item.id_,
3541
+ onClick: ($event) => onSelectDoc(item)
3542
+ }, [
3543
+ createElementVNode("div", _hoisted_10$1, toDisplayString(item.name_), 1)
3544
+ ], 8, _hoisted_9$1);
3545
+ }), 128))
3546
+ ])
3547
+ ]),
3548
+ _: 1
3549
+ })) : (openBlock(), createBlock(_component_a_empty, {
3550
+ key: 1,
3551
+ image: unref(Empty).PRESENTED_IMAGE_SIMPLE
3552
+ }, null, 8, ["image"]))
3553
+ ]),
3554
+ _: 1
3555
+ }, 8, ["tab"])
3556
+ ]),
3557
+ _: 1
3558
+ }, 8, ["activeKey"])
3559
+ ]),
3560
+ createElementVNode("div", _hoisted_11, [
3561
+ renderSlot(_ctx.$slots, "print", {}, void 0, true)
3562
+ ]),
3563
+ isShowInstanceArea.value && computedDocInstancesList.value?.length ? (openBlock(), createBlock(_component_a_collapse, {
3564
+ key: 0,
3565
+ class: "edhr-new-wiki-instance-collapse",
3566
+ activeKey: collapseActiveKey.value,
3567
+ "onUpdate:activeKey": _cache[1] || (_cache[1] = ($event) => collapseActiveKey.value = $event),
3568
+ bordered: false,
3569
+ expandIconPosition: "right",
3570
+ ghost: ""
3571
+ }, {
3572
+ expandIcon: withCtx(({ isActive }) => [
3573
+ createVNode(unref(UpOutlined), {
3574
+ rotate: isActive ? 180 : 0
3575
+ }, null, 8, ["rotate"])
3576
+ ]),
3577
+ default: withCtx(() => [
3578
+ createVNode(_component_a_collapse_panel, { key: "1" }, {
3579
+ header: withCtx(() => [
3580
+ createElementVNode("div", _hoisted_12, toDisplayString(_ctx.$t("sys.edhr.formInstRecords")), 1)
3581
+ ]),
3582
+ default: withCtx(() => [
3583
+ createElementVNode("div", _hoisted_13, [
3584
+ createVNode(unref(Scrollbar), { class: "px-4px py-4px" }, {
3585
+ default: withCtx(() => [
3586
+ createVNode(_component_a_collapse, {
3587
+ bordered: false,
3588
+ ghost: "",
3589
+ class: "edhr-new-wiki-instance-collapse-inner"
3590
+ }, {
3591
+ expandIcon: withCtx(({ isActive }) => [
3592
+ createVNode(unref(CaretRightOutlined), {
3593
+ rotate: isActive ? 90 : 0
3594
+ }, null, 8, ["rotate"])
3595
+ ]),
3596
+ default: withCtx(() => [
3597
+ (openBlock(true), createElementBlock(Fragment, null, renderList(computedDocInstancesList.value, (item, index) => {
3598
+ return openBlock(), createBlock(_component_a_collapse_panel, {
3599
+ key: item.id,
3600
+ class: normalizeClass({
3601
+ "edhr-new-wiki-instance-item--selected": __props.selectSelfInfo?.id === item.id
3602
+ })
3603
+ }, {
3604
+ header: withCtx(() => [
3605
+ createElementVNode("div", {
3606
+ class: "header-title-content",
3607
+ onClick: withModifiers(($event) => onSelectInstanceItem(item), ["stop"])
3608
+ }, [
3609
+ createElementVNode("span", _hoisted_15, toDisplayString(`#${(computedDocInstancesList.value.length ?? 0) - index}
3610
+ 【${item.ext2 ?? item.tmplName}】
3611
+ ${index === 0 ? "(" + _ctx.$t("sys.edhr.latest") + ")" : ""}`), 1),
3612
+ createElementVNode("div", _hoisted_16, [
3613
+ renderSlot(_ctx.$slots, "status", { item }, void 0, true)
3614
+ ])
3615
+ ], 8, _hoisted_14)
3616
+ ]),
3617
+ default: withCtx(() => [
3618
+ createElementVNode("div", {
3619
+ class: "content",
3620
+ onClick: withModifiers(($event) => onSelectInstanceItem(item), ["stop"])
3621
+ }, [
3622
+ createVNode(_component_a_descriptions, {
3623
+ column: 1,
3624
+ colon: true,
3625
+ labelStyle: { color: "#666", fontSize: "12px" },
3626
+ contentStyle: { color: "#252525", fontSize: "12px" }
3627
+ }, {
3628
+ default: withCtx(() => [
3629
+ createVNode(_component_a_descriptions_item, {
3630
+ label: _ctx.$t("sys.createTime")
3631
+ }, {
3632
+ default: withCtx(() => [
3633
+ createTextVNode(toDisplayString(item.createTime), 1)
3634
+ ]),
3635
+ _: 2
3636
+ }, 1032, ["label"]),
3637
+ createVNode(_component_a_descriptions_item, {
3638
+ label: _ctx.$t("sys.updateTime")
3639
+ }, {
3640
+ default: withCtx(() => [
3641
+ createTextVNode(toDisplayString(item.modifyTime), 1)
3642
+ ]),
3643
+ _: 2
3644
+ }, 1032, ["label"]),
3645
+ createVNode(_component_a_descriptions_item, {
3646
+ label: _ctx.$t("sys.updatePerson")
3647
+ }, {
3648
+ default: withCtx(() => [
3649
+ createTextVNode(toDisplayString(item.modifyUserName), 1)
3650
+ ]),
3651
+ _: 2
3652
+ }, 1032, ["label"])
3653
+ ]),
3654
+ _: 2
3655
+ }, 1024)
3656
+ ], 8, _hoisted_17)
3657
+ ]),
3658
+ _: 2
3659
+ }, 1032, ["class"]);
3660
+ }), 128))
3661
+ ]),
3662
+ _: 3
3663
+ })
3664
+ ]),
3665
+ _: 3
3666
+ })
3667
+ ])
3668
+ ]),
3669
+ _: 3
3670
+ })
3671
+ ]),
3672
+ _: 3
3673
+ }, 8, ["activeKey"])) : createCommentVNode("", true)
3674
+ ], 2)
3675
+ ]);
3676
+ };
3677
+ }
3678
+ });
3679
+ const edhrNewWikiTree = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-3d1e6af6"]]);
3680
+ const _hoisted_1 = { class: "error-group-panel-wrapper" };
3681
+ const _hoisted_2 = { class: "header-title-content" };
3682
+ const _hoisted_3 = { class: "title-area" };
3683
+ const _hoisted_4 = { class: "title" };
3684
+ const _hoisted_5 = { class: "tooltip-content" };
3685
+ const _hoisted_6 = { class: "content" };
3686
+ const _hoisted_7 = { class: "title" };
3687
+ const _hoisted_8 = { class: "tooltip-content" };
3688
+ const _hoisted_9 = { class: "title" };
3689
+ const _hoisted_10 = { class: "tooltip-content" };
3690
+ const _sfc_main = /* @__PURE__ */ defineComponent({
3691
+ __name: "error-group-panel",
3692
+ props: {
3693
+ errorMap: {},
3694
+ subTableInfo: {}
3695
+ },
3696
+ setup(__props) {
3697
+ const statusMap = {
3698
+ [MobileFillTypeEnum.MAIN_FIELD]: {
3699
+ textColor: "#309C41",
3700
+ background: "rgba(48,156,65,0.2)",
3701
+ placeholder: $t("sys.component.fieldTransfer.subMainModel")
3702
+ },
3703
+ [MobileFillTypeEnum.SUB_TABLE]: {
3704
+ textColor: "#742fb2",
3705
+ background: "rgba(116, 47, 178, 0.2)",
3706
+ placeholder: $t("sys.onlineForm.subTableType.DEFAULT")
3707
+ },
3708
+ [MobileFillTypeEnum.FIXED_TABLE]: {
3709
+ textColor: "#845832",
3710
+ background: "rgba(132,88,50, 0.2)",
3711
+ placeholder: $t("sys.onlineForm.subTableType.FIXED")
3712
+ },
3713
+ [MobileFillTypeEnum.SUB_TABLE_2D]: {
3714
+ textColor: "#6D82B0",
3715
+ background: "#E6EEFF",
3716
+ placeholder: $t("sys.onlineForm.subTableType.2D")
3717
+ },
3718
+ [MobileFillTypeEnum.SUB_TABLE_2D_LINK]: {
3719
+ textColor: "#F77E4A",
3720
+ background: "rgba(247,126,74,0.2)",
3721
+ placeholder: $t("sys.onlineForm.subTable2DLink")
3722
+ },
3723
+ [MobileFillTypeEnum.CHECK_TABLE_2D]: {
3724
+ textColor: "#13C2C2",
3725
+ background: "rgba(19,194,194,0.2)",
3726
+ placeholder: $t("sys.onlineForm.subTableType.CHECK")
3727
+ },
3728
+ [MobileFillTypeEnum.CHECK_TABLE_2D_LINK]: {
3729
+ textColor: "#F77E4A",
3730
+ background: "rgba(247,126,74,0.2)",
3731
+ placeholder: $t("sys.onlineForm.checkTable2DLink")
3732
+ },
3733
+ [MobileFillTypeEnum.MATERIAL_CONSUME_TABLE]: {
3734
+ textColor: "#4C8CAA",
3735
+ background: "rgba(76,140,170,0.12)",
3736
+ placeholder: $t("sys.onlineForm.subTableType.MATERIAL_CONSUMPTION")
3737
+ }
3738
+ };
3739
+ const props = __props;
3740
+ const groupedByModelKey = computed(() => {
3741
+ const result = {};
3742
+ const addToSet = (map, key, val) => {
3743
+ if (!map[key]) map[key] = /* @__PURE__ */ new Set();
3744
+ map[key].add(val);
3745
+ };
3746
+ for (const errorList of Object.values(props.errorMap)) {
3747
+ for (const { field, message: messageJson } of errorList) {
3748
+ const { showModelName, showModelKey, showFieldName, subFieldKey, targetFieldId, message } = JSON.parse(messageJson);
3749
+ if (!result[showModelKey]) {
3750
+ const info = props.subTableInfo.find((item) => item.field === subFieldKey);
3751
+ const themeConfig = statusMap[info?.subType ?? MobileFillTypeEnum.MAIN_FIELD];
3752
+ result[showModelKey] = {
3753
+ showModelName,
3754
+ showModelKey,
3755
+ subFieldKey,
3756
+ themeConfig,
3757
+ fields: {}
3758
+ };
3759
+ }
3760
+ const modelGroup = result[showModelKey];
3761
+ if (!modelGroup.fields[targetFieldId]) {
3762
+ modelGroup.fields[targetFieldId] = {
3763
+ showFieldName,
3764
+ targetFieldId,
3765
+ linkFields: targetFieldId === "value_" ? {} : /* @__PURE__ */ new Set(),
3766
+ messages: targetFieldId === "value_" ? {} : /* @__PURE__ */ new Set()
3767
+ };
3768
+ }
3769
+ const fieldGroup = modelGroup.fields[targetFieldId];
3770
+ if (targetFieldId === "value_") {
3771
+ const m = field.match(/^(.*_value_)_(\d+)$/);
3772
+ const groupKey = m ? m[1] : /^.+_\d+_value_$/.test(field) ? field : null;
3773
+ if (!groupKey) continue;
3774
+ addToSet(fieldGroup.linkFields, groupKey, field);
3775
+ addToSet(fieldGroup.messages, groupKey, message);
3776
+ } else {
3777
+ fieldGroup.linkFields.add(field);
3778
+ fieldGroup.messages.add(message);
3779
+ }
3780
+ }
3781
+ }
3782
+ for (const model of Object.values(result)) {
3783
+ for (const field of Object.values(model.fields)) {
3784
+ if (field.targetFieldId === "value_") {
3785
+ for (const key in field.linkFields) {
3786
+ field.linkFields[key] = [...field.linkFields[key]];
3787
+ field.messages[key] = [...field.messages[key]];
3788
+ }
3789
+ } else {
3790
+ field.linkFields = [...field.linkFields];
3791
+ field.messages = [...field.messages];
3792
+ }
3793
+ }
3794
+ }
3795
+ return result;
3796
+ });
3797
+ const activeKeys = ref(Object.keys(groupedByModelKey.value));
3798
+ useModal(async () => {
3799
+ return {
3800
+ // 修改过后返回ok,外面刷新数据
3801
+ ok: true
3802
+ };
3803
+ });
3804
+ return (_ctx, _cache) => {
3805
+ const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
3806
+ const _component_a_descriptions = resolveComponent("a-descriptions");
3807
+ const _component_a_tooltip = resolveComponent("a-tooltip");
3808
+ const _component_a_collapse_panel = resolveComponent("a-collapse-panel");
3809
+ const _component_a_collapse = resolveComponent("a-collapse");
3810
+ return openBlock(), createElementBlock("div", _hoisted_1, [
3811
+ createVNode(_component_a_collapse, {
3812
+ class: "error-group-panel--collapse",
3813
+ activeKey: activeKeys.value,
3814
+ "onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => activeKeys.value = $event),
3815
+ bordered: false
3816
+ }, {
3817
+ expandIcon: withCtx(({ isActive }) => [
3818
+ createVNode(unref(CaretRightOutlined), {
3819
+ rotate: isActive ? 90 : 0
3820
+ }, null, 8, ["rotate"])
3821
+ ]),
3822
+ default: withCtx(() => [
3823
+ (openBlock(true), createElementBlock(Fragment, null, renderList(groupedByModelKey.value, (group) => {
3824
+ return openBlock(), createBlock(_component_a_collapse_panel, {
3825
+ key: group.showModelKey
3826
+ }, {
3827
+ header: withCtx(() => [
3828
+ createElementVNode("div", _hoisted_2, [
3829
+ createElementVNode("div", _hoisted_3, [
3830
+ createElementVNode("span", _hoisted_4, toDisplayString(group.showModelName), 1),
3831
+ createVNode(_component_a_tooltip, null, {
3832
+ title: withCtx(() => [
3833
+ createElementVNode("div", _hoisted_5, [
3834
+ createVNode(_component_a_descriptions, {
3835
+ column: 1,
3836
+ colon: true,
3837
+ labelStyle: { color: "#fff", fontSize: "12px" },
3838
+ contentStyle: { color: "#fff", fontSize: "12px" }
3839
+ }, {
3840
+ default: withCtx(() => [
3841
+ createVNode(_component_a_descriptions_item, {
3842
+ label: group.subFieldKey ? _ctx.$t("sys.model.childModelKey") : _ctx.$t("sys.model.modelKey")
3843
+ }, {
3844
+ default: withCtx(() => [
3845
+ createTextVNode(toDisplayString(group.showModelKey), 1)
3846
+ ]),
3847
+ _: 2
3848
+ }, 1032, ["label"]),
3849
+ group.subFieldKey ? (openBlock(), createBlock(_component_a_descriptions_item, {
3850
+ key: 0,
3851
+ label: _ctx.$t("sys.model.viewFieldKey")
3852
+ }, {
3853
+ default: withCtx(() => [
3854
+ createTextVNode(toDisplayString(group.subFieldKey), 1)
3855
+ ]),
3856
+ _: 2
3857
+ }, 1032, ["label"])) : createCommentVNode("", true)
3858
+ ]),
3859
+ _: 2
3860
+ }, 1024)
3861
+ ])
3862
+ ]),
3863
+ default: withCtx(() => [
3864
+ _cache[1] || (_cache[1] = createElementVNode("i", { class: "iconfont icon-assist" }, null, -1))
3865
+ ]),
3866
+ _: 2
3867
+ }, 1024)
3868
+ ]),
3869
+ createElementVNode("span", {
3870
+ class: "sub-type-status",
3871
+ style: normalizeStyle({
3872
+ "--nocode-textColor": group.themeConfig?.textColor,
3873
+ "--nocode-bgColor": group.themeConfig?.background
3874
+ })
3875
+ }, toDisplayString(group.themeConfig?.placeholder), 5)
3876
+ ])
3877
+ ]),
3878
+ default: withCtx(() => [
3879
+ createElementVNode("div", _hoisted_6, [
3880
+ createVNode(_component_a_descriptions, {
3881
+ bordered: "",
3882
+ column: 1,
3883
+ size: "small",
3884
+ labelStyle: { color: "#252525", fontSize: "12px", width: "200px" },
3885
+ contentStyle: { color: "#ff4d4f", fontSize: "12px" }
3886
+ }, {
3887
+ default: withCtx(() => [
3888
+ (openBlock(true), createElementBlock(Fragment, null, renderList(group.fields, (field) => {
3889
+ return openBlock(), createElementBlock(Fragment, {
3890
+ key: field.targetFieldId
3891
+ }, [
3892
+ Array.isArray(field.messages) ? (openBlock(), createBlock(_component_a_descriptions_item, { key: 0 }, {
3893
+ label: withCtx(() => [
3894
+ createElementVNode("span", _hoisted_7, toDisplayString(field.showFieldName), 1),
3895
+ createVNode(_component_a_tooltip, null, {
3896
+ title: withCtx(() => [
3897
+ createElementVNode("div", _hoisted_8, [
3898
+ createVNode(_component_a_descriptions, {
3899
+ colon: true,
3900
+ labelStyle: { color: "#fff", fontSize: "12px" },
3901
+ contentStyle: { color: "#fff", fontSize: "12px" }
3902
+ }, {
3903
+ default: withCtx(() => [
3904
+ createVNode(_component_a_descriptions_item, {
3905
+ label: _ctx.$t("sys.model.viewFieldKey")
3906
+ }, {
3907
+ default: withCtx(() => [
3908
+ createTextVNode(toDisplayString(field.targetFieldId), 1)
3909
+ ]),
3910
+ _: 2
3911
+ }, 1032, ["label"])
3912
+ ]),
3913
+ _: 2
3914
+ }, 1024)
3915
+ ])
3916
+ ]),
3917
+ default: withCtx(() => [
3918
+ _cache[2] || (_cache[2] = createElementVNode("i", { class: "iconfont icon-assist text-14px! ml-4px" }, null, -1))
3919
+ ]),
3920
+ _: 2
3921
+ }, 1024)
3922
+ ]),
3923
+ default: withCtx(() => [
3924
+ (openBlock(true), createElementBlock(Fragment, null, renderList(field.messages, (message, index) => {
3925
+ return openBlock(), createElementBlock("span", {
3926
+ class: "message-title",
3927
+ key: index
3928
+ }, toDisplayString(message), 1);
3929
+ }), 128))
3930
+ ]),
3931
+ _: 2
3932
+ }, 1024)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(field.messages, (messages, index) => {
3933
+ return openBlock(), createBlock(_component_a_descriptions_item, { key: index }, {
3934
+ label: withCtx(() => [
3935
+ createElementVNode("span", _hoisted_9, toDisplayString(field.showFieldName), 1),
3936
+ createVNode(_component_a_tooltip, null, {
3937
+ title: withCtx(() => [
3938
+ createElementVNode("div", _hoisted_10, [
3939
+ createVNode(_component_a_descriptions, {
3940
+ colon: true,
3941
+ labelStyle: { color: "#fff", fontSize: "12px" },
3942
+ contentStyle: { color: "#fff", fontSize: "12px" }
3943
+ }, {
3944
+ default: withCtx(() => [
3945
+ createVNode(_component_a_descriptions_item, {
3946
+ label: _ctx.$t("sys.model.viewFieldKey")
3947
+ }, {
3948
+ default: withCtx(() => [
3949
+ createTextVNode(toDisplayString(field.targetFieldId), 1)
3950
+ ]),
3951
+ _: 2
3952
+ }, 1032, ["label"])
3953
+ ]),
3954
+ _: 2
3955
+ }, 1024)
3956
+ ])
3957
+ ]),
3958
+ default: withCtx(() => [
3959
+ _cache[3] || (_cache[3] = createElementVNode("i", { class: "iconfont icon-assist text-14px! ml-4px" }, null, -1))
3960
+ ]),
3961
+ _: 2
3962
+ }, 1024)
3963
+ ]),
3964
+ default: withCtx(() => [
3965
+ (openBlock(true), createElementBlock(Fragment, null, renderList(messages, (message, index2) => {
3966
+ return openBlock(), createElementBlock("span", {
3967
+ class: "message-title",
3968
+ key: index2
3969
+ }, toDisplayString(message), 1);
3970
+ }), 128))
3971
+ ]),
3972
+ _: 2
3973
+ }, 1024);
3974
+ }), 128))
3975
+ ], 64);
3976
+ }), 128))
3977
+ ]),
3978
+ _: 2
3979
+ }, 1024)
3980
+ ])
3981
+ ]),
3982
+ _: 2
3983
+ }, 1024);
3984
+ }), 128))
3985
+ ]),
3986
+ _: 1
3987
+ }, 8, ["activeKey"])
3988
+ ]);
3989
+ };
3990
+ }
3991
+ });
3992
+ const errorGroupPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b94cd584"]]);
3224
3993
  export {
3225
- a6 as AITooltips,
3994
+ aa as AITooltips,
3226
3995
  AllocateTableCore,
3227
3996
  B4 as BaseFormModelFetcher,
3228
- a8 as BinarizeMethodOptions,
3229
- al as BindCmpStyleEnum,
3230
- w as BooleanShowMode,
3997
+ ac as BinarizeMethodOptions,
3998
+ ap as BindCmpStyleEnum,
3999
+ z as BooleanShowMode,
3231
4000
  B2 as BorderTD,
3232
4001
  BpmnNodeTypeEnum,
3233
- aO as BpmnSignatureTypeEnum,
4002
+ aT as BpmnSignatureTypeEnum,
3234
4003
  B3 as BuiltinAction,
3235
- aP as ButtonTypeEnum,
4004
+ aU as ButtonTypeEnum,
3236
4005
  B as BwipCodeType,
3237
- aQ as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
4006
+ aV as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3238
4007
  CellType,
3239
- J as CellWidgetViewState,
4008
+ Q as CellWidgetViewState,
3240
4009
  C as ChangeType,
3241
4010
  CheckDsTypeEnum,
3242
- aR as CodeRunner,
4011
+ aW as CodeRunner,
3243
4012
  ComponentTypeEnum,
3244
- aS as Config_Fields,
3245
- aT as ControlStatusEnum,
3246
- ak as DateFormat,
3247
- am as DecimalDisplayMode,
3248
- a7 as DenoiseMethodOptions,
3249
- p as DeviceConnector,
3250
- a4 as DeviceLink,
3251
- D as DeviceLinkTmplUtil,
3252
- a5 as DeviceParamsTypeTitle,
3253
- K as DiagonalDirection,
4013
+ aX as Config_Fields,
4014
+ aY as ControlStatusEnum,
4015
+ ao as DateFormat,
4016
+ aq as DecimalDisplayMode,
4017
+ ab as DenoiseMethodOptions,
4018
+ s as DeviceConnector,
4019
+ a8 as DeviceLink,
4020
+ D2 as DeviceLinkTmplUtil,
4021
+ a9 as DeviceParamsTypeTitle,
4022
+ R as DiagonalDirection,
3254
4023
  _ as DocumentLayout,
3255
- q as DocumentLoading,
4024
+ DocumentLoading,
3256
4025
  e as DocumentPaper,
3257
4026
  documentQuickFillin as DocumentQuickFillin,
3258
4027
  f as DocumentSubTableAction,
3259
- aU as EBR_PROVIDE_ENUM,
3260
- au as EFieldBizTypeEnum,
3261
- Q as EmptySymbol,
3262
- aV as FieldSysVarDefaultValueEnum,
4028
+ aZ as EBR_PROVIDE_ENUM,
4029
+ ay as EFieldBizTypeEnum,
4030
+ ebrWikiLayout as EbrWikiLayout,
4031
+ edhrNewWikiTree as EdhrNewWikiTree,
4032
+ Z as EmptySymbol,
4033
+ errorGroupPanel as ErrorGroupPanel,
4034
+ a_ as FieldSysVarDefaultValueEnum,
3263
4035
  F2 as FillingTypeEnum,
3264
4036
  a3 as FormAnnotationController,
3265
4037
  F3 as FormModelController,
3266
4038
  FormTmplBomController,
3267
4039
  F as FormTmplConfigController,
3268
4040
  FormTypeEnum,
3269
- a0 as ImageDisplayModeEnum,
4041
+ a4 as ImageDisplayModeEnum,
3270
4042
  I as InstanceStatusValues,
3271
- ab as JoinModelTypeEum,
3272
- v as LabelPosition,
3273
- M as LineDirection,
4043
+ af as JoinModelTypeEum,
4044
+ y as LabelPosition,
4045
+ T as LineDirection,
3274
4046
  L as LineType,
3275
- M3 as MBRender,
3276
- r as MCDataUtil,
4047
+ M2 as MBRender,
4048
+ t as MCDataUtil,
3277
4049
  b11 as MCRender,
3278
4050
  MaterialConsumeTableController,
3279
4051
  MaterialConsumptionPatternEnum,
3280
- M2 as MaterialStatusEnum,
3281
- aW as MobileFillTypeEnum,
4052
+ M as MaterialStatusEnum,
4053
+ MobileFillTypeEnum,
3282
4054
  NCB_PROVIDE,
3283
- aX as OfficeTypeEnum,
4055
+ a$ as OfficeTypeEnum,
3284
4056
  O as Orientation,
3285
4057
  b as PageSizeEnum,
3286
4058
  P as PaginationFormat,
3287
- a1 as PaperSizeMap,
4059
+ a5 as PaperSizeMap,
3288
4060
  a as PaperWidgeType,
3289
- m as PaperWidgeValueType,
3290
- aa as ParamModelTypeEnum,
4061
+ n as PaperWidgeValueType,
4062
+ ae as ParamModelTypeEnum,
3291
4063
  PlatformEnum,
3292
- aY as PosEnum,
4064
+ b0 as PosEnum,
3293
4065
  PretreatmentListTableCore,
3294
- ai as RangeValidateMode,
4066
+ am as RangeValidateMode,
3295
4067
  RenderModeEnum,
3296
- z as SignShowTypeEnum,
3297
- x as SignatureNumberTypeEnum,
3298
- y as SignatureTimeTypeEnum,
3299
- A as SignatureTypeEnum,
4068
+ E as SignShowTypeEnum,
4069
+ A as SignatureNumberTypeEnum,
4070
+ D as SignatureTimeTypeEnum,
4071
+ G as SignatureTypeEnum,
3300
4072
  SterilizeBatchTableCore,
3301
4073
  StocktakeTableCore,
3302
4074
  SubTableCore,
3303
4075
  SubTableCoreFactory,
3304
4076
  SubTableType,
3305
- aZ as SummaryApproveHisTypeEnum,
3306
- T as TimeDiffFormat,
3307
- V as ViewTypeEnum,
4077
+ b1 as SummaryApproveHisTypeEnum,
4078
+ V as TimeDiffFormat,
4079
+ X as ViewTypeEnum,
3308
4080
  W as WidgetImageSizeMode,
3309
- a_ as applyCheckDsDataToRuntime,
3310
- a$ as applyMedProCheckDsDataToRuntime,
4081
+ b2 as applyCheckDsDataToRuntime,
4082
+ b3 as applyMedProCheckDsDataToRuntime,
3311
4083
  baseDataUtils,
3312
4084
  calcFillData,
3313
4085
  calcUtils,
3314
4086
  clearFormRules,
3315
4087
  commonUtils,
3316
- b0 as deleteSubtableRow,
4088
+ b4 as deleteSubtableRow,
3317
4089
  extractKeywordFromQueryData,
3318
- b1 as fetchCheckDsDataForTable,
3319
- b2 as fetchCustomCheckDsData,
3320
- b3 as fetchMedProCheckDsData,
4090
+ b5 as fetchCheckDsDataForTable,
4091
+ b6 as fetchCustomCheckDsData,
4092
+ b7 as fetchMedProCheckDsData,
3321
4093
  getAppInfo,
3322
- b4 as getParseRuleConfig,
4094
+ b8 as getParseRuleConfig,
3323
4095
  getParseRuleInfo,
3324
4096
  getParseRuleValue,
3325
4097
  getSubTableQuickFillInfo,
3326
4098
  getSuiteKey,
3327
- b5 as handleOldConfig,
4099
+ b9 as handleOldConfig,
3328
4100
  isEdhrSuite,
3329
- b6 as isMedProSuite,
3330
- b7 as jsonSchemaUtils,
3331
- ao as normalizeRefLoaderResult,
3332
- ap as refUtils,
4101
+ ba as isMedProSuite,
4102
+ bb as jsonSchemaUtils,
4103
+ as as normalizeRefLoaderResult,
4104
+ at as refUtils,
3333
4105
  renderUtils,
3334
- b8 as requestNonMedProCheckDsData,
3335
- af as setSelectAnnotationId,
3336
- b9 as setSelectMobileTdId,
3337
- ae as setSelectValidatorId,
3338
- ac as sqlUtils,
4106
+ bc as requestNonMedProCheckDsData,
4107
+ aj as setSelectAnnotationId,
4108
+ bd as setSelectMobileTdId,
4109
+ ai as setSelectValidatorId,
4110
+ ag as sqlUtils,
3339
4111
  transformUtils,
3340
- u as useCalculateFormula,
3341
- ag as useCurrentPageFormState,
4112
+ o as useCalculateFormula,
4113
+ ak as useCurrentPageFormState,
3342
4114
  d as useDependency,
3343
4115
  useEbrWikiFactoryV2,
3344
- u3 as useFormModel,
4116
+ u2 as useFormModel,
3345
4117
  a2 as useFormTmplConfig,
3346
4118
  b10 as useFormulaExpWatcher,
3347
4119
  useMaterialBalance,
3348
4120
  useMaterialStocktake,
3349
4121
  useNocodeEmitter,
3350
- ah as useNocodeFormWidget,
3351
- s as useOnlineFormActionButton,
3352
- u2 as useOnlineFormTransformField2Component,
4122
+ al as useNocodeFormWidget,
4123
+ v as useOnlineFormActionButton,
4124
+ u as useOnlineFormTransformField2Component,
3353
4125
  useRenderPageFactory,
3354
4126
  c as useStyles,
3355
- at as useValidator,
3356
- ad as useWidgetStaticAttrs,
4127
+ ax as useValidator,
4128
+ ah as useWidgetStaticAttrs,
3357
4129
  validate
3358
4130
  };