@gct-paas/excel 0.1.2 → 0.1.3

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 (157) hide show
  1. package/README.md +15 -6
  2. package/dist/{VueVideoPlayer-dTA6rv55.js → VueVideoPlayer-B8RJGNTv.js} +2 -2
  3. package/dist/{agg-design-BSh_tHX-.js → agg-design-6IuqtI73.js} +1 -1
  4. package/dist/{agg-props-DgdpMWgC.js → agg-props-MejKEFS3.js} +1 -1
  5. package/dist/{agg-style-aUn3JT2k.js → agg-style-BSiu_IYt.js} +1 -1
  6. package/dist/{align-editor-BNAaRXra.js → align-editor-tfk5DTJa.js} +1 -1
  7. package/dist/{attach-fields-editor-CnCVzcVh.js → attach-fields-editor-DuBBB0a5.js} +3 -2
  8. package/dist/{barcode-design-BPj7bVmK.js → barcode-design-9v8E6kVo.js} +3 -3
  9. package/dist/base/index.es.js +99 -837
  10. package/dist/{base-font-editor-C2g5pe1r.js → base-font-editor-DXO4gdQ6.js} +2 -2
  11. package/dist/{boolean-design-DQcD63hA.js → boolean-design-BUPhr8Uf.js} +3 -3
  12. package/dist/{boolean-props-foEwOqoS.js → boolean-props-DG8zyoUM.js} +3 -3
  13. package/dist/{boolean-style-BjM3jV9-.js → boolean-style-FpaFLB6X.js} +5 -5
  14. package/dist/{cell-upload-Cg6qgXIl.js → cell-upload-Su9wnjob.js} +2 -2
  15. package/dist/{date-format-editor-B5TNYQOa.js → date-format-editor-CbbECWXa.js} +3 -2
  16. package/dist/{date-time-design-DtFbeX45.js → date-time-design-gtD8VkTL.js} +1 -1
  17. package/dist/{date-time-props-Bg68phPu.js → date-time-props-x5cDoV3t.js} +4 -4
  18. package/dist/{date-time-style-R3n3DWXL.js → date-time-style-DLhE9q9h.js} +1 -1
  19. package/dist/{decimal-design-OvRMF5yY.js → decimal-design-z2oZaw3i.js} +1 -1
  20. package/dist/{decimal-display-mode-CMDX0MxE.js → decimal-display-mode-B08WxfSe.js} +3 -3
  21. package/dist/{decimal-props-CiZcfWWs.js → decimal-props-8FH554Dg.js} +5 -4
  22. package/dist/{decimal-style-VcGRGgo0.js → decimal-style-B1U-geax.js} +1 -1
  23. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-JAtSG3Hg.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BjuOuKER.js} +3 -3
  24. package/dist/{diagonal-design-DckKhSUa.js → diagonal-design-DA6rVQ0d.js} +2 -2
  25. package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-C7m8TMOx.js → document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-rs6NI9l0.js} +257 -2062
  26. package/dist/{Scrollbar-CZkJPRdu.js → document-sub-table-action-CfTQbFR6.js} +32 -69
  27. package/dist/{double-design-BM09f_KU.js → double-design-BE1NVkXA.js} +1 -1
  28. package/dist/{double-props-CeLgHsjo.js → double-props-CmFhTl5t.js} +4 -4
  29. package/dist/{double-style-DMLsVFfm.js → double-style-B3zUPrSx.js} +1 -1
  30. package/dist/{edit.utils-CXmmCnxE-DSPt0ECN.js → edit.utils-CXmmCnxE-CPiVjLsA.js} +1 -1
  31. package/dist/{enum-design-CQV-mqqb.js → enum-design-CLuy-erC.js} +3 -2
  32. package/dist/{enum-props-BHfTLRzU.js → enum-props-B-Xo79Ev.js} +5 -4
  33. package/dist/{enum-style-BEacuGVm.js → enum-style-BNUQk0PW.js} +2 -2
  34. package/dist/excel.css +2832 -2757
  35. package/dist/{exceljs.min-BcrTQ29P.js → exceljs.min-6SjJb8ko.js} +2 -2
  36. package/dist/{expression-design-Vrtb7ZND.js → expression-design-iNK25Lw-.js} +1 -1
  37. package/dist/{expression-props-DK-FoXcG.js → expression-props-Di7qnQBB.js} +1 -1
  38. package/dist/{expression-style-ClfZ23YJ.js → expression-style-C2nPzbvt.js} +1 -1
  39. package/dist/{file-design-Cqn1H4ZT.js → file-design-DGvWpVgB.js} +1 -1
  40. package/dist/{file-props-C4TOFyAy.js → file-props-Mr9Usm5W.js} +3 -2
  41. package/dist/{file-style-B8L7LTU_.js → file-style-CxbaWDp-.js} +1 -1
  42. package/dist/{font-editor-Buf4R-Dg.js → font-editor-tQ6vcAaI.js} +3 -3
  43. package/dist/{form-annotation-controller-Cg8TG2fi.js → form-annotation-controller-Bvw0Tqum.js} +2 -2
  44. package/dist/{image-design-DqAVKsuU.js → image-design-Bd6LITZu.js} +2 -2
  45. package/dist/{image-design-ChrM491B.js → image-design-DVioYMro.js} +3 -2
  46. package/dist/{image-props-yqaLEHSt.js → image-props-DJTJ1Dz9.js} +1 -1
  47. package/dist/{image-style-DVsD4FVx.js → image-style-C6LMREtT.js} +1 -1
  48. package/dist/{index-Dhkp_b7I.js → index-0qy5-Y9L.js} +2 -2
  49. package/dist/{index-BVjCKddq.js → index-64eDxMq_.js} +2 -2
  50. package/dist/{index-UvBvlRH6.js → index-B1ARoYyx.js} +3 -3
  51. package/dist/{index-GdSr850L.js → index-B2KpQKV0.js} +2 -2
  52. package/dist/{index-D4oVIylK.js → index-BBinKvOy.js} +2 -2
  53. package/dist/{index-CmL4Be-K.js → index-BHl4jxdE.js} +2 -2
  54. package/dist/index-BKGFjeh6.js +1154 -0
  55. package/dist/{index-BNXmOMqP.js → index-BKu3iJlW.js} +3 -3
  56. package/dist/{index-C6J0DxCZ.js → index-B__ScMj2.js} +2 -2
  57. package/dist/{index-Dlfg1YKC.js → index-BdhDAfPE.js} +2 -2
  58. package/dist/{index-E8vZZFog.js → index-BlCF5lMK.js} +2 -2
  59. package/dist/{index-ZwgghSxK.js → index-Bo735WQG.js} +2 -2
  60. package/dist/{index-D2VzxQne.js → index-C0clscii.js} +2 -2
  61. package/dist/{index-BTeqM5Kn.js → index-C8QF5XdL.js} +2 -2
  62. package/dist/{index-ou_rGN3F.js → index-C_zt8qy-.js} +2 -2
  63. package/dist/{index-BufHZCTt.js → index-CdNcHC4Z.js} +3170 -1929
  64. package/dist/{index-BOR8Q8y9.js → index-CgYv7OwC.js} +2 -2
  65. package/dist/{index-D1YtyRKV.js → index-CsbYG4aV.js} +2 -2
  66. package/dist/{index-B6HMGpdJ.js → index-DBAbIwxZ.js} +2 -2
  67. package/dist/{index-DjFpScza.js → index-DGoSq-oY.js} +2 -2
  68. package/dist/{index-CR24b9nh.js → index-DHCu3ETv.js} +2 -2
  69. package/dist/{index-ByW44_lg.js → index-DLvd5e4P.js} +5 -9
  70. package/dist/{index-DUTCTiG6.js → index-Dmlcu0Lr.js} +3 -3
  71. package/dist/{index-BU5CPVZ9.js → index-Dpd2Dd4N.js} +2 -2
  72. package/dist/{index-DCOAv1RI.js → index-DqK-PVTg.js} +2 -2
  73. package/dist/{index-BLiD7NWb.js → index-DuIhcas9.js} +2 -2
  74. package/dist/{index-C-PCNtnr.js → index-Dw7ZToXD.js} +2 -2
  75. package/dist/{index-CEbxeuOx.js → index-Gbo2wZHI.js} +3 -3
  76. package/dist/{index-DOQB5bpZ.js → index-NFyuCXad.js} +2 -2
  77. package/dist/{index-CI1cxVRo.js → index-NlHiBl2x.js} +2 -2
  78. package/dist/{index-DiW6xxVC.js → index-iJg221as.js} +2 -2
  79. package/dist/{index-Cbu-reyu.js → index-j9Py4hbh.js} +2 -2
  80. package/dist/{index-CxWoK5T3.js → index-m7_RhgY4.js} +3 -3
  81. package/dist/{index-B5bl5kGU.js → index-mc9loCb9.js} +2 -2
  82. package/dist/index.es.js +30 -7
  83. package/dist/{integer-design-C6VCvXTM.js → integer-design-B9Lp5hBQ.js} +1 -1
  84. package/dist/{integer-props-BD4PuU4P.js → integer-props-BSO1Cwfa.js} +4 -3
  85. package/dist/{integer-style-Dn7g1ycQ.js → integer-style-dFRGH8Le.js} +1 -1
  86. package/dist/{number-input-ex-Cul_CZQ0.js → number-input-ex-b4ufZ0Km.js} +1 -1
  87. package/dist/{org-props-DREu4eul.js → org-props-VtCTqAmn.js} +3 -3
  88. package/dist/{org-style-DWgicBvo.js → org-style-DxE-Lz3h.js} +1 -1
  89. package/dist/{pagination-design-C7Y3dklf.js → pagination-design-JJtLgAEi.js} +3 -3
  90. package/dist/paper-widget-design-B5-4PAz2.js +4 -0
  91. package/dist/{qrcode-design-fGE8BQ-O.js → qrcode-design-Ch1o3wA6.js} +1 -1
  92. package/dist/{ref-autofill-editor-B-Fso3FS.js → ref-autofill-editor-BFSb_gl6.js} +3 -2
  93. package/dist/{ref-props-Bkx5kKf6.js → ref-props-Cdu2o-sk.js} +4 -3
  94. package/dist/{ref-style-EN9Ns73A.js → ref-style-Dp62tx5p.js} +1 -1
  95. package/dist/{revo-grid.entry-C51uy2x-.js → revo-grid.entry-BnyHDT6o.js} +1 -1
  96. package/dist/{revogr-attribution_7.entry-6GWxPTYu.js → revogr-attribution_7.entry-DUpUhrV1.js} +3 -3
  97. package/dist/{revogr-clipboard_3.entry-MHLzoSuG.js → revogr-clipboard_3.entry-82fw5UeH.js} +2 -2
  98. package/dist/{revogr-data_4.entry-D1WYZoa6.js → revogr-data_4.entry-Kfvjfmkw.js} +2 -2
  99. package/dist/{revogr-filter-panel.entry-BpgqhpkQ.js → revogr-filter-panel.entry-DpD_Noa2.js} +1 -1
  100. package/dist/search-DIHOEAeY.js +36 -0
  101. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-Bvjy4qIw.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-DsGpyqp2.js} +3 -3
  102. package/dist/{serialnumber-design-C0T0j8QO.js → serialnumber-design-dCxPhyNA.js} +1 -1
  103. package/dist/shared/index.d.ts +1 -0
  104. package/dist/shared/index.es.js +86 -0
  105. package/dist/signature-DDUs5vB9.js +9 -0
  106. package/dist/{signature-design-DYWt8Ey-.js → signature-design-GOamY3lf.js} +1 -1
  107. package/dist/{signature-props-BtQoL2UQ.js → signature-props-MuXYV3T5.js} +4 -3
  108. package/dist/{signature-style-BXxi_a0T.js → signature-style-weIWDkZN.js} +1 -1
  109. package/dist/{single-field-drop-Ddtf_x2v.js → single-field-drop-BNFdHzHJ.js} +2 -2
  110. package/dist/{size-editor-Dw9e652e.js → size-editor-BZj8kZja.js} +1 -1
  111. package/dist/src/adapter/adapter.d.ts +2 -0
  112. package/dist/src/adapter/setup.d.ts +4 -0
  113. package/dist/src/index.d.ts +13 -1
  114. package/dist/src/nocode-base/src/components/index.d.ts +1 -4
  115. package/dist/src/nocode-mobile-render/src/integration/form-ins/change-form-ins-popup.vue.d.ts +2 -2
  116. package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-fill-modal.vue.d.ts +1 -67
  117. package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-menu.vue.d.ts +4 -4
  118. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/index.d.ts +2 -2
  119. package/dist/src/online-form/src/views/designer/modules/header.vue.d.ts +2 -0
  120. package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +2 -2
  121. 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
  122. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/form-field-tree-select.vue.d.ts +2 -2
  123. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/material-rdo-select.vue.d.ts +2 -2
  124. package/dist/src/online-form/src/views/designer/public-api.d.ts +5 -0
  125. package/dist/src/{nocode-base/src/components/error-group-panel.vue.d.ts → online-form/src/views/integration/apaas_dp/designer/apaas-dp-print-sheet-view.vue.d.ts} +2 -3
  126. package/dist/src/online-form/src/views/integration/apaas_dp/designer/apaas-dp-print.vue.d.ts +2 -0
  127. package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
  128. package/dist/src/shared/components/version-select/version-select.vue.d.ts +2 -2
  129. package/dist/src/shared/index.d.ts +3 -0
  130. package/dist/{text-design-vceuHLPE.js → text-design-Denb-SXq.js} +3 -3
  131. package/dist/{text-design-Cd-SRz7Y.js → text-design-oQp6-LBZ.js} +2 -2
  132. package/dist/{text-props-CxTkG4Zm.js → text-props-DOpTFgI4.js} +4 -3
  133. package/dist/{text-style-DVy49LXX.js → text-style-BxvSgLR_.js} +1 -1
  134. package/dist/{throttle-Cpk1LoGk-BVaBzkFx.js → throttle-Cpk1LoGk-Dl3YvY9P.js} +1 -1
  135. package/dist/{timediff-design-W6UPLRAX.js → timediff-design-ysLUnCMM.js} +2 -2
  136. package/dist/{trace-design-BuhIchCy.js → trace-design-DV38DOb_.js} +3 -2
  137. package/dist/{trace-props-0E_STwaq.js → trace-props-BVf4__TH.js} +6 -5
  138. package/dist/{trace-style-CfSg0-lN.js → trace-style-BT-657QB.js} +1 -1
  139. package/dist/{user-props-BiFKaiMZ.js → user-props-Dok53NqT.js} +3 -3
  140. package/dist/{user-style-CxsyKyXC.js → user-style-C5BidVxP.js} +1 -1
  141. package/dist/{value-editor.vue_vue_type_style_index_0_lang-BrTKGp_z.js → value-editor.vue_vue_type_style_index_0_lang-DCAy89F-.js} +3 -3
  142. package/dist/web-render/index.es.js +6 -5
  143. package/dist/{widget-barcode-Ctswl_H6.js → widget-barcode-Dkql6Uuz.js} +5 -5
  144. package/dist/{widget-diagonal-CkutzUiE.js → widget-diagonal-I0vD8vIp.js} +4 -3
  145. package/dist/{widget-image-CiGzVibD.js → widget-image-BEEAwq9h.js} +5 -4
  146. package/dist/{widget-line-C-Nz3ZEK.js → widget-line-BA7Pco_E.js} +3 -3
  147. package/dist/{widget-pagination-B2fU-QnL.js → widget-pagination-CwX2P1_j.js} +6 -6
  148. package/dist/{widget-power-CU5Fx3HO.js → widget-power-C1q4qOsP.js} +4 -3
  149. package/dist/{widget-qrcode-DwZUkDpg.js → widget-qrcode-DiVEFdHj.js} +4 -4
  150. package/dist/{widget-rangelimit-CCYANaY4.js → widget-rangelimit-BsmL-mcZ.js} +4 -3
  151. package/dist/{widget-serialnumber-vbZRJ1zL.js → widget-serialnumber-CWo03Wxc.js} +1 -1
  152. package/dist/{widget-text-BQpus-v_.js → widget-text-Cg0AHGYz.js} +5 -5
  153. package/dist/{widget-timediff-C2PnkPsn.js → widget-timediff-BtMh8N_W.js} +3 -3
  154. package/package.json +8 -2
  155. package/dist/paper-widget-design-CZ2TYnKG.js +0 -4
  156. package/dist/src/nocode-base/src/components/ebr-wiki-layout.vue.d.ts +0 -34
  157. package/dist/src/nocode-base/src/components/edhr-new-wiki-tree.vue.d.ts +0 -46
@@ -1,12 +1,12 @@
1
- import { aE as fetchHistoryConsume, aF as isBomGranted, F as FIELD_TYPE, i as api, av as getParseRuleInfo, aw as getParseRuleValue, aG as calcFillData, aH as extractKeywordFromQueryData, t as FormTypeEnum, aI as transformUtils, g as SubTableType, aq as NCB_PROVIDE, aJ as clearFormRules, aK as baseDataUtils, ax as RenderModeEnum, e as ComponentTypeEnum, aL as validate, aM as calcUtils, a6 as CheckDsTypeEnum, am as renderUtils, H as PlatformEnum, aN as uuid2, aO as normalizeToArray, aP as safeParseArray, aQ as BpmnNodeTypeEnum, aR as mergeByMultiKey, aD as useNocodeEmitter, at as EntityModelCategoryEnum, _ as _export_sfc, aS as MobileFillTypeEnum, D as useModal, aT as getSubTableQuickFillInfo, h as CellType } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-C7m8TMOx.js";
2
- import { a9, aU, ab, ao, w, aV, aW, B, aX, J, aY, aZ, a_, an, ap, aa, a7, a8, K, a$, az, Z, b0, b1, a4, ar, ae, v, M, L, b2, b3, b4, O, b, P, a5, a, m, ad, b5, al, z, x, y, A, b6, T, V, W, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, as, au, bh, ai, bi, ah, af, u, aj, N, ak, ay, ag } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-C7m8TMOx.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 DocumentLoading, q as _imports_0, S as Scrollbar, r as DocumentQuickFillModal } from "../Scrollbar-CZkJPRdu.js";
4
- import { B as B2, s, D, _, e, f, F, t, d, a as a2, b as b10, v as v2, u as u2, c } from "../Scrollbar-CZkJPRdu.js";
5
- import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock, createVNode, renderSlot, createElementVNode, normalizeClass, createCommentVNode, withDirectives, vShow, toDisplayString, resolveComponent, withCtx, unref, createBlock, Fragment, renderList, withModifiers, createTextVNode, nextTick, normalizeStyle } from "vue";
1
+ import { ak as fetchHistoryConsume, al as isBomGranted, f as api, ad as getParseRuleInfo, ae as getParseRuleValue, am as calcFillData, an as extractKeywordFromQueryData, F as FormTypeEnum, ao as transformUtils, c as SubTableType, a9 as NCB_PROVIDE, ap as clearFormRules, aq as baseDataUtils, af as RenderModeEnum, C as ComponentTypeEnum, ar as validate, as as calcUtils, K as CheckDsTypeEnum, a5 as renderUtils, w as PlatformEnum, at as uuid2, au as normalizeToArray, av as safeParseArray, aw as BpmnNodeTypeEnum, ax as mergeByMultiKey, aj as useNocodeEmitter, ay as getSubTableQuickFillInfo, d as CellType, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-rs6NI9l0.js";
2
+ import { Q, az, U, a7, k, aA, aB, B, aC, x, aD, aE, aF, a6, a8, R, M, N, D, aG, ah, H, aH, aI, I, aa, Y, j, y, L, aJ, aK, aL, aM, O, b, P, J, a, i, X, aN, a4, n, l, m, o, aO, T, V, W, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, ab, ac, aZ, a1, a_, a0, Z, u, a2, z, a3, ag, $ } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-rs6NI9l0.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-CfTQbFR6.js";
4
+ import { B as B2, p, D as D2, _, q, e, f, F, r, d, a as a5, b as b2, s, u as u2, c } from "../document-sub-table-action-CfTQbFR6.js";
5
+ import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock, withModifiers } from "vue";
6
6
  import { defaults, pick, merge, has, isEmpty, cloneDeep } from "lodash-es";
7
+ import { F as FIELD_TYPE, i as EntityModelCategoryEnum } from "../index-BKGFjeh6.js";
7
8
  import dayjs from "dayjs";
8
- import { B as B3, C, F as F2, a as a3, M as M2 } from "../form-annotation-controller-Cg8TG2fi.js";
9
- import { Empty } from "ant-design-vue";
9
+ import { B as B3, C, F as F2, a as a9, M as M2 } from "../form-annotation-controller-Bvw0Tqum.js";
10
10
  function useLatestRequest(execFn) {
11
11
  let lastReqId = 0;
12
12
  const loading = ref(false);
@@ -364,13 +364,13 @@ function dispositionScanRecord(record, visibleRows, groupByWarehouse) {
364
364
  const scanKey = buildScanMergeKey(record);
365
365
  const warehouseKey = buildWarehouseGroupKey(record);
366
366
  let hasWaitingRow = false;
367
- for (let i = 0; i < visibleRows.length; i++) {
368
- const row = visibleRows[i];
367
+ for (let i2 = 0; i2 < visibleRows.length; i2++) {
368
+ const row = visibleRows[i2];
369
369
  if (buildScanMergeKey(row) === scanKey) {
370
370
  if (isBlank(row[F$2.location])) {
371
371
  return { kind: "skip-location-not-selected" };
372
372
  }
373
- return { kind: "accumulate", index: i };
373
+ return { kind: "accumulate", index: i2 };
374
374
  }
375
375
  if (!hasWaitingRow && buildWarehouseGroupKey(row) === warehouseKey && isBlank(row[F$2.location])) {
376
376
  hasWaitingRow = true;
@@ -625,8 +625,8 @@ class StocktakeTableCore extends SubTableCore {
625
625
  const visibleRows = this.tableData.filter((e2) => !e2.deleted_);
626
626
  const deletedRows = this.tableData.filter((e2) => e2.deleted_);
627
627
  const warningList = [];
628
- for (let i = 0; i < materialGroups.length; i += 1) {
629
- const groupRecords = materialGroups[i];
628
+ for (let i2 = 0; i2 < materialGroups.length; i2 += 1) {
629
+ const groupRecords = materialGroups[i2];
630
630
  const result = processScanRecordGroup({
631
631
  groupRecords,
632
632
  visibleRows,
@@ -948,7 +948,7 @@ class AllocateTableCore extends SubTableCore {
948
948
  if (btn.type === "Submit" && btn.buttonType === "builtin") {
949
949
  const calcUniqueKey = (key1, key2) => `${key1 ?? ""}:${key2 ?? ""}`;
950
950
  const find = this.tableData.find(
951
- (i) => calcUniqueKey(i.origin_warehouse_id_, i.origin_location_id_) === calcUniqueKey(i.warehouse_id_, i.location_id_)
951
+ (i2) => calcUniqueKey(i2.origin_warehouse_id_, i2.origin_location_id_) === calcUniqueKey(i2.warehouse_id_, i2.location_id_)
952
952
  );
953
953
  if (find) {
954
954
  const isPass = await this.openUtil.confirmModal({
@@ -1041,14 +1041,14 @@ const fillFromOption$1 = [
1041
1041
  toField: F$1.qty
1042
1042
  }
1043
1043
  ];
1044
- function applyFillFromOption$1(A2, B4) {
1045
- const writableA = A2;
1044
+ function applyFillFromOption$1(A, B4) {
1045
+ const writableA = A;
1046
1046
  fillFromOption$1.forEach(({ optionField, toField }) => {
1047
1047
  if (has(B4, optionField)) {
1048
1048
  writableA[toField] = B4[optionField];
1049
1049
  }
1050
1050
  });
1051
- return A2;
1051
+ return A;
1052
1052
  }
1053
1053
  function mapContainerRowsToOptions(data = []) {
1054
1054
  return data.map((item) => ({
@@ -1412,28 +1412,28 @@ const fillFromProductOption = [
1412
1412
  }
1413
1413
  ];
1414
1414
  const CLEAR_ON_PRODUCT_EMPTY = [F3.productName, F3.productCode, F3.productSpec];
1415
- function applyFillFromMapping(A2, B4, mapping) {
1416
- const writableA = A2;
1415
+ function applyFillFromMapping(A, B4, mapping) {
1416
+ const writableA = A;
1417
1417
  mapping.forEach(({ optionField, toField }) => {
1418
1418
  if (has(B4, optionField)) {
1419
1419
  writableA[toField] = B4[optionField];
1420
1420
  }
1421
1421
  });
1422
- return A2;
1422
+ return A;
1423
1423
  }
1424
- function applyFillFromOption(A2, B4) {
1425
- return applyFillFromMapping(A2, B4, fillFromOption);
1424
+ function applyFillFromOption(A, B4) {
1425
+ return applyFillFromMapping(A, B4, fillFromOption);
1426
1426
  }
1427
- function applyFillFromProductOption(A2, B4) {
1428
- return applyFillFromMapping(A2, B4, fillFromProductOption);
1427
+ function applyFillFromProductOption(A, B4) {
1428
+ return applyFillFromMapping(A, B4, fillFromProductOption);
1429
1429
  }
1430
- function applyFillFromMfgOrderOption(A2, B4) {
1431
- applyFillFromMapping(A2, B4, fillFromMfgOrderOption);
1432
- const writableA = A2;
1430
+ function applyFillFromMfgOrderOption(A, B4) {
1431
+ applyFillFromMapping(A, B4, fillFromMfgOrderOption);
1432
+ const writableA = A;
1433
1433
  if (!has(B4, "code_") && (B4.label != null || B4.__LABEL__ != null)) {
1434
1434
  writableA[F3.mfgOrderCode] = B4.label ?? B4.__LABEL__;
1435
1435
  }
1436
- return A2;
1436
+ return A;
1437
1437
  }
1438
1438
  function mapRefRowsToOptions(data = [], labelKey = "name_") {
1439
1439
  return data.map((item) => ({
@@ -3144,741 +3144,6 @@ function useMaterialStocktake() {
3144
3144
  openScanModal
3145
3145
  };
3146
3146
  }
3147
- const _hoisted_1$2 = { class: "ebr-wiki-edhr-builder-wrapper" };
3148
- const _hoisted_2$2 = {
3149
- key: 0,
3150
- class: "nocode-common-loading-warp"
3151
- };
3152
- const _hoisted_3$2 = {
3153
- key: 1,
3154
- class: "ebr-wiki-edhr-builder-container"
3155
- };
3156
- const _hoisted_4$2 = { class: "ebr-wiki-edhr-builder-right" };
3157
- const _hoisted_5$2 = { class: "ebr-wiki-edhr-builder-right__content" };
3158
- const _hoisted_6$2 = {
3159
- key: 0,
3160
- class: "nocode-common-loading-warp ebr-wiki-right-loading"
3161
- };
3162
- const _hoisted_7$2 = {
3163
- key: 2,
3164
- class: "nocode-common-loading-warp"
3165
- };
3166
- const _hoisted_8$2 = { class: "w200px text-center color-[#666]" };
3167
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3168
- __name: "ebr-wiki-layout",
3169
- props: {
3170
- loading: { type: Boolean },
3171
- hasData: { type: Boolean },
3172
- rightLoading: { type: Boolean, default: false },
3173
- leftLoading: { type: Boolean, default: false },
3174
- showFullScreen: { type: Boolean }
3175
- },
3176
- setup(__props) {
3177
- const isFullScreen = ref(false);
3178
- function changeIsFullScreen() {
3179
- isFullScreen.value = !isFullScreen.value;
3180
- }
3181
- return (_ctx, _cache) => {
3182
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
3183
- __props.loading ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
3184
- createVNode(DocumentLoading)
3185
- ])) : __props.hasData || __props.rightLoading || __props.leftLoading ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
3186
- renderSlot(_ctx.$slots, "ebr-left", {}, void 0, true),
3187
- createElementVNode("div", {
3188
- class: normalizeClass(["ebr-wiki-edhr-builder-content", { isFullScreen: isFullScreen.value }])
3189
- }, [
3190
- __props.showFullScreen ? (openBlock(), createElementBlock("div", {
3191
- key: 0,
3192
- class: "ebr-container-full-screen",
3193
- onClick: changeIsFullScreen
3194
- }, [
3195
- createElementVNode("i", {
3196
- class: normalizeClass(["iconfont", isFullScreen.value ? "icon-tuichuquanping" : "icon-quanping"])
3197
- }, null, 2)
3198
- ])) : createCommentVNode("", true),
3199
- createElementVNode("div", _hoisted_4$2, [
3200
- withDirectives(createElementVNode("div", _hoisted_5$2, [
3201
- renderSlot(_ctx.$slots, "ebr-right", {}, void 0, true)
3202
- ], 512), [
3203
- [vShow, !__props.rightLoading]
3204
- ]),
3205
- __props.rightLoading ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
3206
- createVNode(DocumentLoading)
3207
- ])) : createCommentVNode("", true)
3208
- ])
3209
- ], 2),
3210
- renderSlot(_ctx.$slots, "ebr-action", {}, void 0, true)
3211
- ])) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
3212
- createElementVNode("div", _hoisted_8$2, [
3213
- _cache[0] || (_cache[0] = createElementVNode("img", {
3214
- class: "w100% h100%",
3215
- src: _imports_0,
3216
- alt: ""
3217
- }, null, -1)),
3218
- createElementVNode("span", null, toDisplayString(_ctx.$t("sys.noData")), 1)
3219
- ])
3220
- ]))
3221
- ]);
3222
- };
3223
- }
3224
- });
3225
- const ebrWikiLayout = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-df9f2da6"]]);
3226
- const _hoisted_1$1 = { class: "edhr-new-wiki-tree-wrapper" };
3227
- const _hoisted_2$1 = { class: "edhr-new-wiki-tree-menu" };
3228
- const _hoisted_3$1 = ["title"];
3229
- const _hoisted_4$1 = {
3230
- key: 0,
3231
- class: "doc-icon"
3232
- };
3233
- const _hoisted_5$1 = { class: "appendix-list" };
3234
- const _hoisted_6$1 = ["onClick"];
3235
- const _hoisted_7$1 = { class: "appendix-item__title" };
3236
- const _hoisted_8$1 = { class: "appendix-list" };
3237
- const _hoisted_9$1 = ["onClick"];
3238
- const _hoisted_10$1 = { class: "appendix-item__title" };
3239
- const _hoisted_11$1 = { class: "ebr-new-wiki-print-btn" };
3240
- const _hoisted_12$1 = { class: "header-title" };
3241
- const _hoisted_13 = { class: "instance-content" };
3242
- const _hoisted_14 = ["onClick"];
3243
- const _hoisted_15 = { class: "title" };
3244
- const _hoisted_16 = { class: "status" };
3245
- const _hoisted_17 = ["onClick"];
3246
- const f_key = "id";
3247
- const f_title = "name";
3248
- const f_children = "children";
3249
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3250
- __name: "edhr-new-wiki-tree",
3251
- props: {
3252
- wikiTreeData: {},
3253
- appendixList: {},
3254
- docList: {},
3255
- docInstanceList: {},
3256
- treeSelectDocData: {},
3257
- selectSelfInfo: {},
3258
- hideInstanceArea: { type: Boolean }
3259
- },
3260
- emits: ["update:treeSelectDocData", "update:selectSelfInfo", "selectDoc"],
3261
- setup(__props, { emit: __emit }) {
3262
- const treeSettings = {
3263
- children: f_children,
3264
- title: f_title,
3265
- key: f_key
3266
- };
3267
- const props = __props;
3268
- const emit = __emit;
3269
- const treeVisible = ref(true);
3270
- const collapseActiveKey = ref(["1"]);
3271
- const activeKey = ref("1");
3272
- const isShowInstanceArea = computed(() => {
3273
- return !props?.hideInstanceArea && [FormTypeEnum.BASE, FormTypeEnum.PROCESS, FormTypeEnum.FILE].includes(
3274
- props.selectSelfInfo?.formType
3275
- );
3276
- });
3277
- const computedDocInstancesList = computed(() => {
3278
- return props.docInstanceList?.filter((item) => item.formType) ?? [];
3279
- });
3280
- const computedAppendixList = computed(() => {
3281
- const seen = /* @__PURE__ */ new Set();
3282
- return props.appendixList?.filter((item) => item.formType)?.filter((item) => {
3283
- const key = item.tmplId;
3284
- if (seen.has(key)) return false;
3285
- seen.add(key);
3286
- return true;
3287
- }) ?? [];
3288
- });
3289
- const handleTreeToggle = async () => {
3290
- await nextTick();
3291
- setTimeout(() => {
3292
- treeVisible.value = !treeVisible.value;
3293
- }, 1);
3294
- };
3295
- function onSelect(_2, e2) {
3296
- const { dataRef } = e2.node || {};
3297
- if (props.treeSelectDocData && props.treeSelectDocData.id === dataRef.id) {
3298
- return;
3299
- }
3300
- emit("update:treeSelectDocData", dataRef);
3301
- emit("update:selectSelfInfo", null);
3302
- }
3303
- function onSelectAppendix(dataRef) {
3304
- if (props.treeSelectDocData && props.treeSelectDocData.id === dataRef.id) {
3305
- return;
3306
- }
3307
- emit("update:treeSelectDocData", dataRef);
3308
- emit("update:selectSelfInfo", null);
3309
- }
3310
- function onSelectDoc(data) {
3311
- emit("selectDoc", data);
3312
- }
3313
- function onSelectInstanceItem(data) {
3314
- if (props.selectSelfInfo?.id === data.id) {
3315
- return;
3316
- }
3317
- emit("update:selectSelfInfo", data);
3318
- }
3319
- return (_ctx, _cache) => {
3320
- const _component_a_tree = resolveComponent("a-tree");
3321
- const _component_a_tab_pane = resolveComponent("a-tab-pane");
3322
- const _component_a_empty = resolveComponent("a-empty");
3323
- const _component_a_tabs = resolveComponent("a-tabs");
3324
- const _component_UpOutlined = resolveComponent("UpOutlined");
3325
- const _component_CaretRightOutlined = resolveComponent("CaretRightOutlined");
3326
- const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
3327
- const _component_a_descriptions = resolveComponent("a-descriptions");
3328
- const _component_a_collapse_panel = resolveComponent("a-collapse-panel");
3329
- const _component_a_collapse = resolveComponent("a-collapse");
3330
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
3331
- createElementVNode("div", {
3332
- class: normalizeClass(["edhr-new-wiki-tree-container", {
3333
- "edhr-new-wiki-tree--hidden": !treeVisible.value
3334
- }])
3335
- }, [
3336
- createElementVNode("div", {
3337
- class: "edhr-new-wiki-tree-toggle",
3338
- onClick: handleTreeToggle
3339
- }, [..._cache[2] || (_cache[2] = [
3340
- createElementVNode("i", { class: "iconfont icon-a-Leftarrow" }, null, -1)
3341
- ])]),
3342
- createElementVNode("div", _hoisted_2$1, [
3343
- createVNode(_component_a_tabs, {
3344
- activeKey: activeKey.value,
3345
- "onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => activeKey.value = $event),
3346
- centered: ""
3347
- }, {
3348
- default: withCtx(() => [
3349
- createVNode(_component_a_tab_pane, {
3350
- key: "1",
3351
- tab: _ctx.$t("sys.edhr.ebr.category.catalogue")
3352
- }, {
3353
- default: withCtx(() => [
3354
- createVNode(unref(Scrollbar), { class: "px-4px pb-8px" }, {
3355
- default: withCtx(() => [
3356
- createVNode(_component_a_tree, {
3357
- class: "tree-instance",
3358
- "auto-expand-parent": "",
3359
- "default-expand-all": "",
3360
- "block-node": "",
3361
- showIcon: "",
3362
- fieldNames: treeSettings,
3363
- "tree-data": __props.wikiTreeData,
3364
- selectedKeys: [__props.treeSelectDocData.id],
3365
- onSelect
3366
- }, {
3367
- title: withCtx(({ data }) => [
3368
- createElementVNode("div", {
3369
- class: normalizeClass(["tree-node", data.type === "DOC" && "type-doc"])
3370
- }, [
3371
- createElementVNode("span", {
3372
- class: "tree-node__title",
3373
- title: data[f_title]
3374
- }, toDisplayString(data[f_title]), 9, _hoisted_3$1)
3375
- ], 2)
3376
- ]),
3377
- icon: withCtx(({ data }) => [
3378
- data.type === "DOC" ? (openBlock(), createElementBlock("i", _hoisted_4$1)) : createCommentVNode("", true)
3379
- ]),
3380
- _: 1
3381
- }, 8, ["tree-data", "selectedKeys"])
3382
- ]),
3383
- _: 1
3384
- })
3385
- ]),
3386
- _: 1
3387
- }, 8, ["tab"]),
3388
- createVNode(_component_a_tab_pane, {
3389
- key: "2",
3390
- tab: _ctx.$t("sys.edhr.ebr.subModule.appendix")
3391
- }, {
3392
- default: withCtx(() => [
3393
- computedAppendixList.value?.length ? (openBlock(), createBlock(unref(Scrollbar), {
3394
- key: 0,
3395
- class: "px-4px pb-8px"
3396
- }, {
3397
- default: withCtx(() => [
3398
- createElementVNode("div", _hoisted_5$1, [
3399
- (openBlock(true), createElementBlock(Fragment, null, renderList(computedAppendixList.value, (item) => {
3400
- return openBlock(), createElementBlock("div", {
3401
- class: normalizeClass(["appendix-item", __props.treeSelectDocData.id === item.id && "appendix-item--selected"]),
3402
- key: item.id,
3403
- onClick: ($event) => onSelectAppendix(item)
3404
- }, [
3405
- createElementVNode("div", _hoisted_7$1, toDisplayString(item.tmplName), 1)
3406
- ], 10, _hoisted_6$1);
3407
- }), 128))
3408
- ])
3409
- ]),
3410
- _: 1
3411
- })) : (openBlock(), createBlock(_component_a_empty, {
3412
- key: 1,
3413
- image: unref(Empty).PRESENTED_IMAGE_SIMPLE
3414
- }, null, 8, ["image"]))
3415
- ]),
3416
- _: 1
3417
- }, 8, ["tab"]),
3418
- createVNode(_component_a_tab_pane, {
3419
- key: "3",
3420
- tab: _ctx.$t("sys.file")
3421
- }, {
3422
- default: withCtx(() => [
3423
- __props.docList?.length ? (openBlock(), createBlock(unref(Scrollbar), {
3424
- key: 0,
3425
- class: "px-4px pb-8px"
3426
- }, {
3427
- default: withCtx(() => [
3428
- createElementVNode("div", _hoisted_8$1, [
3429
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.docList, (item) => {
3430
- return openBlock(), createElementBlock("div", {
3431
- class: "appendix-item",
3432
- key: item.id_,
3433
- onClick: ($event) => onSelectDoc(item)
3434
- }, [
3435
- createElementVNode("div", _hoisted_10$1, toDisplayString(item.name_), 1)
3436
- ], 8, _hoisted_9$1);
3437
- }), 128))
3438
- ])
3439
- ]),
3440
- _: 1
3441
- })) : (openBlock(), createBlock(_component_a_empty, {
3442
- key: 1,
3443
- image: unref(Empty).PRESENTED_IMAGE_SIMPLE
3444
- }, null, 8, ["image"]))
3445
- ]),
3446
- _: 1
3447
- }, 8, ["tab"])
3448
- ]),
3449
- _: 1
3450
- }, 8, ["activeKey"])
3451
- ]),
3452
- createElementVNode("div", _hoisted_11$1, [
3453
- renderSlot(_ctx.$slots, "print", {}, void 0, true)
3454
- ]),
3455
- isShowInstanceArea.value && computedDocInstancesList.value?.length ? (openBlock(), createBlock(_component_a_collapse, {
3456
- key: 0,
3457
- class: "edhr-new-wiki-instance-collapse",
3458
- activeKey: collapseActiveKey.value,
3459
- "onUpdate:activeKey": _cache[1] || (_cache[1] = ($event) => collapseActiveKey.value = $event),
3460
- bordered: false,
3461
- expandIconPosition: "right",
3462
- ghost: ""
3463
- }, {
3464
- expandIcon: withCtx(({ isActive }) => [
3465
- createVNode(_component_UpOutlined, {
3466
- rotate: isActive ? 180 : 0
3467
- }, null, 8, ["rotate"])
3468
- ]),
3469
- default: withCtx(() => [
3470
- createVNode(_component_a_collapse_panel, { key: "1" }, {
3471
- header: withCtx(() => [
3472
- createElementVNode("div", _hoisted_12$1, toDisplayString(_ctx.$t("sys.edhr.formInstRecords")), 1)
3473
- ]),
3474
- default: withCtx(() => [
3475
- createElementVNode("div", _hoisted_13, [
3476
- createVNode(unref(Scrollbar), { class: "px-4px py-4px" }, {
3477
- default: withCtx(() => [
3478
- createVNode(_component_a_collapse, {
3479
- bordered: false,
3480
- ghost: "",
3481
- class: "edhr-new-wiki-instance-collapse-inner"
3482
- }, {
3483
- expandIcon: withCtx(({ isActive }) => [
3484
- createVNode(_component_CaretRightOutlined, {
3485
- rotate: isActive ? 90 : 0
3486
- }, null, 8, ["rotate"])
3487
- ]),
3488
- default: withCtx(() => [
3489
- (openBlock(true), createElementBlock(Fragment, null, renderList(computedDocInstancesList.value, (item, index) => {
3490
- return openBlock(), createBlock(_component_a_collapse_panel, {
3491
- key: item.id,
3492
- class: normalizeClass({
3493
- "edhr-new-wiki-instance-item--selected": __props.selectSelfInfo?.id === item.id
3494
- })
3495
- }, {
3496
- header: withCtx(() => [
3497
- createElementVNode("div", {
3498
- class: "header-title-content",
3499
- onClick: withModifiers(($event) => onSelectInstanceItem(item), ["stop"])
3500
- }, [
3501
- createElementVNode("span", _hoisted_15, toDisplayString(`#${(computedDocInstancesList.value.length ?? 0) - index}
3502
- 【${item.ext2 ?? item.tmplName}】
3503
- ${index === 0 ? "(" + _ctx.$t("sys.edhr.latest") + ")" : ""}`), 1),
3504
- createElementVNode("div", _hoisted_16, [
3505
- renderSlot(_ctx.$slots, "status", { item }, void 0, true)
3506
- ])
3507
- ], 8, _hoisted_14)
3508
- ]),
3509
- default: withCtx(() => [
3510
- createElementVNode("div", {
3511
- class: "content",
3512
- onClick: withModifiers(($event) => onSelectInstanceItem(item), ["stop"])
3513
- }, [
3514
- createVNode(_component_a_descriptions, {
3515
- column: 1,
3516
- colon: true,
3517
- labelStyle: { color: "#666", fontSize: "12px" },
3518
- contentStyle: { color: "#252525", fontSize: "12px" }
3519
- }, {
3520
- default: withCtx(() => [
3521
- createVNode(_component_a_descriptions_item, {
3522
- label: _ctx.$t("sys.createTime")
3523
- }, {
3524
- default: withCtx(() => [
3525
- createTextVNode(toDisplayString(item.createTime), 1)
3526
- ]),
3527
- _: 2
3528
- }, 1032, ["label"]),
3529
- createVNode(_component_a_descriptions_item, {
3530
- label: _ctx.$t("sys.updateTime")
3531
- }, {
3532
- default: withCtx(() => [
3533
- createTextVNode(toDisplayString(item.modifyTime), 1)
3534
- ]),
3535
- _: 2
3536
- }, 1032, ["label"]),
3537
- createVNode(_component_a_descriptions_item, {
3538
- label: _ctx.$t("sys.updatePerson")
3539
- }, {
3540
- default: withCtx(() => [
3541
- createTextVNode(toDisplayString(item.modifyUserName), 1)
3542
- ]),
3543
- _: 2
3544
- }, 1032, ["label"])
3545
- ]),
3546
- _: 2
3547
- }, 1024)
3548
- ], 8, _hoisted_17)
3549
- ]),
3550
- _: 2
3551
- }, 1032, ["class"]);
3552
- }), 128))
3553
- ]),
3554
- _: 3
3555
- })
3556
- ]),
3557
- _: 3
3558
- })
3559
- ])
3560
- ]),
3561
- _: 3
3562
- })
3563
- ]),
3564
- _: 3
3565
- }, 8, ["activeKey"])) : createCommentVNode("", true)
3566
- ], 2)
3567
- ]);
3568
- };
3569
- }
3570
- });
3571
- const edhrNewWikiTree = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-3754577e"]]);
3572
- const _hoisted_1 = { class: "error-group-panel-wrapper" };
3573
- const _hoisted_2 = { class: "header-title-content" };
3574
- const _hoisted_3 = { class: "title-area" };
3575
- const _hoisted_4 = { class: "title" };
3576
- const _hoisted_5 = { class: "tooltip-content" };
3577
- const _hoisted_6 = { class: "content" };
3578
- const _hoisted_7 = { class: "title" };
3579
- const _hoisted_8 = { class: "tooltip-content" };
3580
- const _hoisted_9 = { class: "message-title" };
3581
- const _hoisted_10 = { class: "title" };
3582
- const _hoisted_11 = { class: "tooltip-content" };
3583
- const _hoisted_12 = { class: "message-title" };
3584
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3585
- __name: "error-group-panel",
3586
- props: {
3587
- errorMap: {},
3588
- subTableInfo: {}
3589
- },
3590
- setup(__props) {
3591
- const statusMap = {
3592
- [MobileFillTypeEnum.MAIN_FIELD]: {
3593
- textColor: "#309C41",
3594
- background: "rgba(48,156,65,0.2)",
3595
- placeholder: $t("sys.component.fieldTransfer.subMainModel")
3596
- },
3597
- [MobileFillTypeEnum.SUB_TABLE]: {
3598
- textColor: "#742fb2",
3599
- background: "rgba(116, 47, 178, 0.2)",
3600
- placeholder: $t("sys.onlineForm.subTableType.DEFAULT")
3601
- },
3602
- [MobileFillTypeEnum.FIXED_TABLE]: {
3603
- textColor: "#845832",
3604
- background: "rgba(132,88,50, 0.2)",
3605
- placeholder: $t("sys.onlineForm.subTableType.FIXED")
3606
- },
3607
- [MobileFillTypeEnum.SUB_TABLE_2D]: {
3608
- textColor: "#6D82B0",
3609
- background: "#E6EEFF",
3610
- placeholder: $t("sys.onlineForm.subTableType.2D")
3611
- },
3612
- [MobileFillTypeEnum.SUB_TABLE_2D_LINK]: {
3613
- textColor: "#F77E4A",
3614
- background: "rgba(247,126,74,0.2)",
3615
- placeholder: $t("sys.onlineForm.subTable2DLink")
3616
- },
3617
- [MobileFillTypeEnum.CHECK_TABLE_2D]: {
3618
- textColor: "#13C2C2",
3619
- background: "rgba(19,194,194,0.2)",
3620
- placeholder: $t("sys.onlineForm.subTableType.CHECK")
3621
- },
3622
- [MobileFillTypeEnum.CHECK_TABLE_2D_LINK]: {
3623
- textColor: "#F77E4A",
3624
- background: "rgba(247,126,74,0.2)",
3625
- placeholder: $t("sys.onlineForm.checkTable2DLink")
3626
- },
3627
- [MobileFillTypeEnum.MATERIAL_CONSUME_TABLE]: {
3628
- textColor: "#4C8CAA",
3629
- background: "rgba(76,140,170,0.12)",
3630
- placeholder: $t("sys.onlineForm.subTableType.MATERIAL_CONSUMPTION")
3631
- }
3632
- };
3633
- const props = __props;
3634
- const groupedByModelKey = computed(() => {
3635
- const result = {};
3636
- const addToSet = (map, key, val) => {
3637
- if (!map[key]) map[key] = /* @__PURE__ */ new Set();
3638
- map[key].add(val);
3639
- };
3640
- for (const errorList of Object.values(props.errorMap)) {
3641
- for (const { field, message: messageJson } of errorList) {
3642
- const { showModelName, showModelKey, showFieldName, subFieldKey, targetFieldId, message } = JSON.parse(messageJson);
3643
- if (!result[showModelKey]) {
3644
- const info = props.subTableInfo.find((item) => item.field === subFieldKey);
3645
- const themeConfig = statusMap[info?.subType ?? MobileFillTypeEnum.MAIN_FIELD];
3646
- result[showModelKey] = {
3647
- showModelName,
3648
- showModelKey,
3649
- subFieldKey,
3650
- themeConfig,
3651
- fields: {}
3652
- };
3653
- }
3654
- const modelGroup = result[showModelKey];
3655
- if (!modelGroup.fields[targetFieldId]) {
3656
- modelGroup.fields[targetFieldId] = {
3657
- showFieldName,
3658
- targetFieldId,
3659
- linkFields: targetFieldId === "value_" ? {} : /* @__PURE__ */ new Set(),
3660
- messages: targetFieldId === "value_" ? {} : /* @__PURE__ */ new Set()
3661
- };
3662
- }
3663
- const fieldGroup = modelGroup.fields[targetFieldId];
3664
- if (targetFieldId === "value_") {
3665
- const m2 = field.match(/^(.*_value_)_(\d+)$/);
3666
- const groupKey = m2 ? m2[1] : /^.+_\d+_value_$/.test(field) ? field : null;
3667
- if (!groupKey) continue;
3668
- addToSet(fieldGroup.linkFields, groupKey, field);
3669
- addToSet(fieldGroup.messages, groupKey, message);
3670
- } else {
3671
- fieldGroup.linkFields.add(field);
3672
- fieldGroup.messages.add(message);
3673
- }
3674
- }
3675
- }
3676
- for (const model of Object.values(result)) {
3677
- for (const field of Object.values(model.fields)) {
3678
- if (field.targetFieldId === "value_") {
3679
- for (const key in field.linkFields) {
3680
- field.linkFields[key] = [...field.linkFields[key]];
3681
- field.messages[key] = [...field.messages[key]];
3682
- }
3683
- } else {
3684
- field.linkFields = [...field.linkFields];
3685
- field.messages = [...field.messages];
3686
- }
3687
- }
3688
- }
3689
- return result;
3690
- });
3691
- const activeKeys = ref(Object.keys(groupedByModelKey.value));
3692
- useModal(async () => {
3693
- return {
3694
- // 修改过后返回ok,外面刷新数据
3695
- ok: true
3696
- };
3697
- });
3698
- return (_ctx, _cache) => {
3699
- const _component_CaretRightOutlined = resolveComponent("CaretRightOutlined");
3700
- const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
3701
- const _component_a_descriptions = resolveComponent("a-descriptions");
3702
- const _component_a_tooltip = resolveComponent("a-tooltip");
3703
- const _component_a_collapse_panel = resolveComponent("a-collapse-panel");
3704
- const _component_a_collapse = resolveComponent("a-collapse");
3705
- return openBlock(), createElementBlock("div", _hoisted_1, [
3706
- createVNode(_component_a_collapse, {
3707
- class: "error-group-panel--collapse",
3708
- activeKey: activeKeys.value,
3709
- "onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => activeKeys.value = $event),
3710
- bordered: false
3711
- }, {
3712
- expandIcon: withCtx(({ isActive }) => [
3713
- createVNode(_component_CaretRightOutlined, {
3714
- rotate: isActive ? 90 : 0
3715
- }, null, 8, ["rotate"])
3716
- ]),
3717
- default: withCtx(() => [
3718
- (openBlock(true), createElementBlock(Fragment, null, renderList(groupedByModelKey.value, (group) => {
3719
- return openBlock(), createBlock(_component_a_collapse_panel, {
3720
- key: group.showModelKey
3721
- }, {
3722
- header: withCtx(() => [
3723
- createElementVNode("div", _hoisted_2, [
3724
- createElementVNode("div", _hoisted_3, [
3725
- createElementVNode("span", _hoisted_4, toDisplayString(group.showModelName), 1),
3726
- createVNode(_component_a_tooltip, null, {
3727
- title: withCtx(() => [
3728
- createElementVNode("div", _hoisted_5, [
3729
- createVNode(_component_a_descriptions, {
3730
- column: 1,
3731
- colon: true,
3732
- labelStyle: { color: "#fff", fontSize: "12px" },
3733
- contentStyle: { color: "#fff", fontSize: "12px" }
3734
- }, {
3735
- default: withCtx(() => [
3736
- createVNode(_component_a_descriptions_item, {
3737
- label: group.subFieldKey ? _ctx.$t("sys.model.childModelKey") : _ctx.$t("sys.model.modelKey")
3738
- }, {
3739
- default: withCtx(() => [
3740
- createTextVNode(toDisplayString(group.showModelKey), 1)
3741
- ]),
3742
- _: 2
3743
- }, 1032, ["label"]),
3744
- group.subFieldKey ? (openBlock(), createBlock(_component_a_descriptions_item, {
3745
- key: 0,
3746
- label: _ctx.$t("sys.model.viewFieldKey")
3747
- }, {
3748
- default: withCtx(() => [
3749
- createTextVNode(toDisplayString(group.subFieldKey), 1)
3750
- ]),
3751
- _: 2
3752
- }, 1032, ["label"])) : createCommentVNode("", true)
3753
- ]),
3754
- _: 2
3755
- }, 1024)
3756
- ])
3757
- ]),
3758
- default: withCtx(() => [
3759
- _cache[1] || (_cache[1] = createElementVNode("i", { class: "iconfont icon-assist" }, null, -1))
3760
- ]),
3761
- _: 2
3762
- }, 1024)
3763
- ]),
3764
- createElementVNode("span", {
3765
- class: "sub-type-status",
3766
- style: normalizeStyle({
3767
- "--nocode-textColor": group.themeConfig?.textColor,
3768
- "--nocode-bgColor": group.themeConfig?.background
3769
- })
3770
- }, toDisplayString(group.themeConfig?.placeholder), 5)
3771
- ])
3772
- ]),
3773
- default: withCtx(() => [
3774
- createElementVNode("div", _hoisted_6, [
3775
- createVNode(_component_a_descriptions, {
3776
- bordered: "",
3777
- column: 1,
3778
- size: "small",
3779
- labelStyle: { color: "#252525", fontSize: "12px", width: "200px" },
3780
- contentStyle: { color: "#ff4d4f", fontSize: "12px" }
3781
- }, {
3782
- default: withCtx(() => [
3783
- (openBlock(true), createElementBlock(Fragment, null, renderList(group.fields, (field) => {
3784
- return openBlock(), createElementBlock(Fragment, {
3785
- key: field.targetFieldId
3786
- }, [
3787
- Array.isArray(field.messages) ? (openBlock(), createBlock(_component_a_descriptions_item, { key: 0 }, {
3788
- label: withCtx(() => [
3789
- createElementVNode("span", _hoisted_7, toDisplayString(field.showFieldName), 1),
3790
- createVNode(_component_a_tooltip, null, {
3791
- title: withCtx(() => [
3792
- createElementVNode("div", _hoisted_8, [
3793
- createVNode(_component_a_descriptions, {
3794
- colon: true,
3795
- labelStyle: { color: "#fff", fontSize: "12px" },
3796
- contentStyle: { color: "#fff", fontSize: "12px" }
3797
- }, {
3798
- default: withCtx(() => [
3799
- createVNode(_component_a_descriptions_item, {
3800
- label: _ctx.$t("sys.model.viewFieldKey")
3801
- }, {
3802
- default: withCtx(() => [
3803
- createTextVNode(toDisplayString(field.targetFieldId), 1)
3804
- ]),
3805
- _: 2
3806
- }, 1032, ["label"])
3807
- ]),
3808
- _: 2
3809
- }, 1024)
3810
- ])
3811
- ]),
3812
- default: withCtx(() => [
3813
- _cache[2] || (_cache[2] = createElementVNode("i", { class: "iconfont icon-assist text-14px! ml-4px" }, null, -1))
3814
- ]),
3815
- _: 2
3816
- }, 1024)
3817
- ]),
3818
- default: withCtx(() => [
3819
- (openBlock(true), createElementBlock(Fragment, null, renderList(field.messages, (message) => {
3820
- return openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(message), 1);
3821
- }), 256))
3822
- ]),
3823
- _: 2
3824
- }, 1024)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(field.messages, (messages, index) => {
3825
- return openBlock(), createBlock(_component_a_descriptions_item, null, {
3826
- label: withCtx(() => [
3827
- createElementVNode("span", _hoisted_10, toDisplayString(field.showFieldName), 1),
3828
- createVNode(_component_a_tooltip, null, {
3829
- title: withCtx(() => [
3830
- createElementVNode("div", _hoisted_11, [
3831
- createVNode(_component_a_descriptions, {
3832
- colon: true,
3833
- labelStyle: { color: "#fff", fontSize: "12px" },
3834
- contentStyle: { color: "#fff", fontSize: "12px" }
3835
- }, {
3836
- default: withCtx(() => [
3837
- createVNode(_component_a_descriptions_item, {
3838
- label: _ctx.$t("sys.model.viewFieldKey")
3839
- }, {
3840
- default: withCtx(() => [
3841
- createTextVNode(toDisplayString(field.targetFieldId), 1)
3842
- ]),
3843
- _: 2
3844
- }, 1032, ["label"])
3845
- ]),
3846
- _: 2
3847
- }, 1024)
3848
- ])
3849
- ]),
3850
- default: withCtx(() => [
3851
- _cache[3] || (_cache[3] = createElementVNode("i", { class: "iconfont icon-assist text-14px! ml-4px" }, null, -1))
3852
- ]),
3853
- _: 2
3854
- }, 1024)
3855
- ]),
3856
- default: withCtx(() => [
3857
- (openBlock(true), createElementBlock(Fragment, null, renderList(messages, (message) => {
3858
- return openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(message), 1);
3859
- }), 256))
3860
- ]),
3861
- _: 2
3862
- }, 1024);
3863
- }), 256))
3864
- ], 64);
3865
- }), 128))
3866
- ]),
3867
- _: 2
3868
- }, 1024)
3869
- ])
3870
- ]),
3871
- _: 2
3872
- }, 1024);
3873
- }), 128))
3874
- ]),
3875
- _: 1
3876
- }, 8, ["activeKey"])
3877
- ]);
3878
- };
3879
- }
3880
- });
3881
- const errorGroupPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-570406b0"]]);
3882
3147
  const _sfc_main = /* @__PURE__ */ defineComponent({
3883
3148
  __name: "document-quick-fillin",
3884
3149
  props: {
@@ -3957,140 +3222,137 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3957
3222
  });
3958
3223
  const documentQuickFillin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a18386ab"]]);
3959
3224
  export {
3960
- a9 as AITooltips,
3225
+ Q as AITooltips,
3961
3226
  AllocateTableCore,
3962
- aU as BaseFormModelFetcher,
3963
- ab as BinarizeMethodOptions,
3964
- ao as BindCmpStyleEnum,
3965
- w as BooleanShowMode,
3227
+ az as BaseFormModelFetcher,
3228
+ U as BinarizeMethodOptions,
3229
+ a7 as BindCmpStyleEnum,
3230
+ k as BooleanShowMode,
3966
3231
  B2 as BorderTD,
3967
3232
  BpmnNodeTypeEnum,
3968
- aV as BpmnSignatureTypeEnum,
3233
+ aA as BpmnSignatureTypeEnum,
3969
3234
  B3 as BuiltinAction,
3970
- aW as ButtonTypeEnum,
3235
+ aB as ButtonTypeEnum,
3971
3236
  B as BwipCodeType,
3972
- aX as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3237
+ aC as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3973
3238
  CellType,
3974
- J as CellWidgetViewState,
3239
+ x as CellWidgetViewState,
3975
3240
  C as ChangeType,
3976
3241
  CheckDsTypeEnum,
3977
- aY as CodeRunner,
3242
+ aD as CodeRunner,
3978
3243
  ComponentTypeEnum,
3979
- aZ as Config_Fields,
3980
- a_ as ControlStatusEnum,
3981
- an as DateFormat,
3982
- ap as DecimalDisplayMode,
3983
- aa as DenoiseMethodOptions,
3984
- s as DeviceConnector,
3985
- a7 as DeviceLink,
3986
- D as DeviceLinkTmplUtil,
3987
- a8 as DeviceParamsTypeTitle,
3988
- K as DiagonalDirection,
3244
+ aE as Config_Fields,
3245
+ aF as ControlStatusEnum,
3246
+ a6 as DateFormat,
3247
+ a8 as DecimalDisplayMode,
3248
+ R as DenoiseMethodOptions,
3249
+ p as DeviceConnector,
3250
+ M as DeviceLink,
3251
+ D2 as DeviceLinkTmplUtil,
3252
+ N as DeviceParamsTypeTitle,
3253
+ D as DiagonalDirection,
3989
3254
  _ as DocumentLayout,
3990
- DocumentLoading,
3255
+ q as DocumentLoading,
3991
3256
  e as DocumentPaper,
3992
3257
  documentQuickFillin as DocumentQuickFillin,
3993
3258
  f as DocumentSubTableAction,
3994
- a$ as EBR_PROVIDE_ENUM,
3995
- az as EFieldBizTypeEnum,
3996
- ebrWikiLayout as EbrWikiLayout,
3997
- edhrNewWikiTree as EdhrNewWikiTree,
3998
- Z as EmptySymbol,
3999
- errorGroupPanel as ErrorGroupPanel,
4000
- b0 as FieldSysVarDefaultValueEnum,
3259
+ aG as EBR_PROVIDE_ENUM,
3260
+ ah as EFieldBizTypeEnum,
3261
+ H as EmptySymbol,
3262
+ aH as FieldSysVarDefaultValueEnum,
4001
3263
  F2 as FillingTypeEnum,
4002
- a3 as FormAnnotationController,
4003
- b1 as FormModelController,
3264
+ a9 as FormAnnotationController,
3265
+ aI as FormModelController,
4004
3266
  FormTmplBomController,
4005
3267
  F as FormTmplConfigController,
4006
3268
  FormTypeEnum,
4007
- a4 as ImageDisplayModeEnum,
4008
- ar as InstanceStatusValues,
4009
- ae as JoinModelTypeEum,
4010
- v as LabelPosition,
4011
- M as LineDirection,
3269
+ I as ImageDisplayModeEnum,
3270
+ aa as InstanceStatusValues,
3271
+ Y as JoinModelTypeEum,
3272
+ j as LabelPosition,
3273
+ y as LineDirection,
4012
3274
  L as LineType,
4013
- b2 as MBRender,
4014
- t as MCDataUtil,
4015
- b3 as MCRender,
3275
+ aJ as MBRender,
3276
+ r as MCDataUtil,
3277
+ aK as MCRender,
4016
3278
  MaterialConsumeTableController,
4017
3279
  MaterialConsumptionPatternEnum,
4018
3280
  M2 as MaterialStatusEnum,
4019
- MobileFillTypeEnum,
3281
+ aL as MobileFillTypeEnum,
4020
3282
  NCB_PROVIDE,
4021
- b4 as OfficeTypeEnum,
3283
+ aM as OfficeTypeEnum,
4022
3284
  O as Orientation,
4023
3285
  b as PageSizeEnum,
4024
3286
  P as PaginationFormat,
4025
- a5 as PaperSizeMap,
3287
+ J as PaperSizeMap,
4026
3288
  a as PaperWidgeType,
4027
- m as PaperWidgeValueType,
4028
- ad as ParamModelTypeEnum,
3289
+ i as PaperWidgeValueType,
3290
+ X as ParamModelTypeEnum,
4029
3291
  PlatformEnum,
4030
- b5 as PosEnum,
3292
+ aN as PosEnum,
4031
3293
  PretreatmentListTableCore,
4032
- al as RangeValidateMode,
3294
+ a4 as RangeValidateMode,
4033
3295
  RenderModeEnum,
4034
- z as SignShowTypeEnum,
4035
- x as SignatureNumberTypeEnum,
4036
- y as SignatureTimeTypeEnum,
4037
- A as SignatureTypeEnum,
3296
+ n as SignShowTypeEnum,
3297
+ l as SignatureNumberTypeEnum,
3298
+ m as SignatureTimeTypeEnum,
3299
+ o as SignatureTypeEnum,
4038
3300
  SterilizeBatchTableCore,
4039
3301
  StocktakeTableCore,
4040
3302
  SubTableCore,
4041
3303
  SubTableCoreFactory,
4042
3304
  SubTableType,
4043
- b6 as SummaryApproveHisTypeEnum,
3305
+ aO as SummaryApproveHisTypeEnum,
4044
3306
  T as TimeDiffFormat,
4045
3307
  V as ViewTypeEnum,
4046
3308
  W as WidgetImageSizeMode,
4047
- b7 as applyCheckDsDataToRuntime,
4048
- b8 as applyMedProCheckDsDataToRuntime,
3309
+ aP as applyCheckDsDataToRuntime,
3310
+ aQ as applyMedProCheckDsDataToRuntime,
4049
3311
  baseDataUtils,
4050
3312
  calcFillData,
4051
3313
  calcUtils,
4052
3314
  clearFormRules,
4053
3315
  commonUtils,
4054
- b9 as deleteSubtableRow,
3316
+ aR as deleteSubtableRow,
4055
3317
  extractKeywordFromQueryData,
4056
- ba as fetchCheckDsDataForTable,
4057
- bb as fetchCustomCheckDsData,
4058
- bc as fetchMedProCheckDsData,
3318
+ aS as fetchCheckDsDataForTable,
3319
+ aT as fetchCustomCheckDsData,
3320
+ aU as fetchMedProCheckDsData,
4059
3321
  getAppInfo,
4060
- bd as getParseRuleConfig,
3322
+ aV as getParseRuleConfig,
4061
3323
  getParseRuleInfo,
4062
3324
  getParseRuleValue,
4063
3325
  getSubTableQuickFillInfo,
4064
3326
  getSuiteKey,
4065
- be as handleOldConfig,
3327
+ aW as handleOldConfig,
4066
3328
  isEdhrSuite,
4067
- bf as isMedProSuite,
4068
- bg as jsonSchemaUtils,
4069
- as as normalizeRefLoaderResult,
4070
- au as refUtils,
3329
+ aX as isMedProSuite,
3330
+ aY as jsonSchemaUtils,
3331
+ ab as normalizeRefLoaderResult,
3332
+ ac as refUtils,
4071
3333
  renderUtils,
4072
- bh as requestNonMedProCheckDsData,
4073
- ai as setSelectAnnotationId,
4074
- bi as setSelectMobileTdId,
4075
- ah as setSelectValidatorId,
4076
- af as sqlUtils,
3334
+ aZ as requestNonMedProCheckDsData,
3335
+ a1 as setSelectAnnotationId,
3336
+ a_ as setSelectMobileTdId,
3337
+ a0 as setSelectValidatorId,
3338
+ Z as sqlUtils,
4077
3339
  transformUtils,
4078
3340
  u as useCalculateFormula,
4079
- aj as useCurrentPageFormState,
3341
+ a2 as useCurrentPageFormState,
4080
3342
  d as useDependency,
4081
3343
  useEbrWikiFactoryV2,
4082
- N as useFormModel,
4083
- a2 as useFormTmplConfig,
4084
- b10 as useFormulaExpWatcher,
3344
+ z as useFormModel,
3345
+ a5 as useFormTmplConfig,
3346
+ b2 as useFormulaExpWatcher,
4085
3347
  useMaterialBalance,
4086
3348
  useMaterialStocktake,
4087
3349
  useNocodeEmitter,
4088
- ak as useNocodeFormWidget,
4089
- v2 as useOnlineFormActionButton,
3350
+ a3 as useNocodeFormWidget,
3351
+ s as useOnlineFormActionButton,
4090
3352
  u2 as useOnlineFormTransformField2Component,
4091
3353
  useRenderPageFactory,
4092
3354
  c as useStyles,
4093
- ay as useValidator,
4094
- ag as useWidgetStaticAttrs,
3355
+ ag as useValidator,
3356
+ $ as useWidgetStaticAttrs,
4095
3357
  validate
4096
3358
  };