@gct-paas/excel 0.1.17 → 0.1.19

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 (216) hide show
  1. package/dist/{BaseComponent-DJNL1tGs.js → BaseComponent-xTm5lvAr.js} +1 -0
  2. package/dist/{VueVideoPlayer-Db7qcsRE.js → VueVideoPlayer-Bt1Le9qP.js} +2 -2
  3. package/dist/{agg-design-BjqRVeg1.js → agg-design-B_5evAJ0.js} +1 -1
  4. package/dist/{agg-props-CrdosdGr.js → agg-props-C62Ecenu.js} +1 -1
  5. package/dist/{agg-style-CfZoOE-b.js → agg-style-Q0xSL8Ye.js} +1 -1
  6. package/dist/{align-editor-BaNT0jhx.js → align-editor-D_LtYlh3.js} +1 -1
  7. package/dist/{attach-fields-editor-CThobu8X.js → attach-fields-editor-3v3VNOfe.js} +2 -2
  8. package/dist/{barcode-design-CHjIeaiJ.js → barcode-design-lusKmMnv.js} +3 -2
  9. package/dist/base/index.es.js +370 -151
  10. package/dist/base-font-editor-DmasOst9.js +119 -0
  11. package/dist/{boolean-design-BYAdX-h5.js → boolean-design-BqGJVhKn.js} +3 -2
  12. package/dist/{boolean-props-jKvjhdlG.js → boolean-props-DS7J4GHS.js} +3 -3
  13. package/dist/{boolean-style-RsMRzVBL.js → boolean-style-C9FslVV7.js} +5 -4
  14. package/dist/cell-upload-BFw5Yg_j.js +33 -0
  15. package/dist/date-range-editor-PmJBHc8i.js +471 -0
  16. package/dist/{date-time-design-Du8pmDo-.js → date-time-design-DQ_Z-xUx.js} +1 -1
  17. package/dist/date-time-props-DfZoJukN.js +105 -0
  18. package/dist/{date-time-style-DSEnmxAE.js → date-time-style-Doye-MHk.js} +1 -1
  19. package/dist/{decimal-design-C2GbzP9k.js → decimal-design-Bg-tdrtL.js} +7 -3
  20. package/dist/{decimal-display-mode-CagizhJW.js → decimal-display-mode-D_K6_XX1.js} +3 -2
  21. package/dist/{decimal-props-CGLqWy8I.js → decimal-props-4QveEdf3.js} +5 -4
  22. package/dist/{decimal-style-6j22QKYO.js → decimal-style-B-n8SfAy.js} +1 -1
  23. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-C5K6qhB-.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B3GvGAje.js} +110 -39
  24. package/dist/{diagonal-design-Cq3oxdHe.js → diagonal-design-B_l3lV5s.js} +2 -2
  25. package/dist/{double-design-CyXEqcV7.js → double-design-BaWZXLjK.js} +6 -3
  26. package/dist/{double-props-DaJoio1W.js → double-props-sDsBpAER.js} +4 -4
  27. package/dist/{double-style-B4lIth-J.js → double-style--oSjQw07.js} +1 -1
  28. package/dist/{document-sub-table-action-rz6gyez5.js → dynamic-table-action-zLjamAaN.js} +1124 -654
  29. package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js} +2312 -1402
  30. package/dist/{edit.utils-CXmmCnxE-DW8ClKe9.js → edit.utils-CXmmCnxE-BrwRVXLT.js} +1 -1
  31. package/dist/{enum-design-DSx09tOO.js → enum-design-BgVuHvvu.js} +13 -7
  32. package/dist/{enum-props-CJNuQLJ_.js → enum-props-DYN6LsLg.js} +4 -4
  33. package/dist/{enum-style-5N5xmgRJ.js → enum-style-D56_-gMw.js} +37 -9
  34. package/dist/excel.css +1480 -664
  35. package/dist/{exceljs.min-D9gV8q6H.js → exceljs.min-DQkwXbni.js} +2 -2
  36. package/dist/{expression-design-BJDbafot.js → expression-design-CIMwIArR.js} +1 -1
  37. package/dist/{expression-props-BpHbrsle.js → expression-props--l3LwKAM.js} +1 -1
  38. package/dist/{expression-style-qPh81w7Q.js → expression-style-CjM5oro9.js} +1 -1
  39. package/dist/{file-design-B7si04Bi.js → file-design-BYcXA55B.js} +1 -1
  40. package/dist/{file-props-DTtOnHQy.js → file-props-DvsQZUcL.js} +2 -2
  41. package/dist/{file-style-C6KW_szu.js → file-style-BiWmCsMZ.js} +1 -1
  42. package/dist/{font-editor-DgGgvmB2.js → font-editor-BaRVmXey.js} +3 -3
  43. package/dist/{form-annotation-controller-CoABDD4X.js → form-annotation-controller-Zw6OoPLe.js} +80 -23
  44. package/dist/{image-design-B92Xkcf-.js → image-design-Bad-BXel.js} +3 -2
  45. package/dist/{image-design-CCfpT4Rp.js → image-design-Dr_w89Hq.js} +2 -2
  46. package/dist/{image-props-DZgfzMta.js → image-props-4lKEAwDq.js} +1 -1
  47. package/dist/{image-style-DX6Q_gF4.js → image-style-LoHD1zvr.js} +1 -1
  48. package/dist/{index-Bnbl3VER.js → index--Bxx_VqV.js} +3 -2
  49. package/dist/{index-DsASTvC2.js → index-3qfB5NN-.js} +2 -1
  50. package/dist/{index-CtTSTTkq.js → index-B-2N8GeG.js} +3 -2
  51. package/dist/{index-Bg-x1hF6.js → index-B3YoA1vo.js} +3 -2
  52. package/dist/{index-BzhFcvnJ.js → index-B9IMST50.js} +3 -2
  53. package/dist/{index-Doxcf2Zs.js → index-BSfbsA-W.js} +3 -2
  54. package/dist/{index-DJISlRXi.js → index-BZYuG4zS.js} +5 -2
  55. package/dist/{index-DzIKEtWw.js → index-B_VejD7m.js} +4 -1
  56. package/dist/{index-BXMOCfWv.js → index-Bki98NXv.js} +3 -2
  57. package/dist/{index-DFgGQBCZ.js → index-Bm6Hdoud.js} +53 -110
  58. package/dist/{index-CmaPtyCh.js → index-BsUkUBZV.js} +5 -2
  59. package/dist/{index-BB5uSbo3.js → index-Bsjegt_0.js} +2 -1
  60. package/dist/{index-rn6aiccW.js → index-ByXwQO9g.js} +6 -3
  61. package/dist/{index-DOFSbVSN.js → index-C6mtZJIQ.js} +2 -1
  62. package/dist/{index-DRKvAxuA.js → index-C7KdVTwU.js} +2 -1
  63. package/dist/{index-tbaOl7Nd.js → index-CEufXc_2.js} +2 -1
  64. package/dist/{index-D6diRqWG.js → index-CH--dgZ4.js} +3 -2
  65. package/dist/{index-BEBKoAOg.js → index-COiTpNXf.js} +3 -2
  66. package/dist/{index-BYl8cK0A.js → index-CP099vf_.js} +2 -1
  67. package/dist/{index-BhzF0Rp3.js → index-CQ7Hcly4.js} +5 -3
  68. package/dist/{index-Be7TFwwX.js → index-CcLTIQGc.js} +5 -2
  69. package/dist/{index-C8qPy1oW.js → index-Ce0SltjH.js} +3 -2
  70. package/dist/{index-bvhV6lsn.js → index-CqjhgxKH.js} +15 -7
  71. package/dist/{index-B2iip4UC.js → index-D-mFMP7t.js} +3 -2
  72. package/dist/{index-IUYnmIJe.js → index-D4Yb4Urx.js} +2 -1
  73. package/dist/{index-Da7W9uBC.js → index-D9CHdykS.js} +3 -2
  74. package/dist/{index-DRd2oRK1.js → index-DDnUeBCP.js} +3 -2
  75. package/dist/{index-XbgrTOMF.js → index-DRYxbbtG.js} +2 -1
  76. package/dist/{index-Cw_YFCZT.js → index-Dk-CUvB9.js} +3876 -3389
  77. package/dist/{index-Dsj3FuVs.js → index-DpPrrfLV.js} +3 -2
  78. package/dist/{index-DgHRTRH5.js → index-Dq72GFzs.js} +3 -2
  79. package/dist/{index-p-Q3DQmv.js → index-Vx5npC-J.js} +4 -3
  80. package/dist/{index-CIoB2iny.js → index-pPTh0-mL.js} +2 -1
  81. package/dist/index.es.js +6 -5
  82. package/dist/{integer-design-CPzJPZon.js → integer-design-C2EkL0hc.js} +6 -3
  83. package/dist/{integer-props-deCDvNET.js → integer-props-Cs-CvjQS.js} +5 -4
  84. package/dist/{integer-style-DwZIRXEW.js → integer-style-BtAfQCAn.js} +1 -1
  85. package/dist/{mb-render-Bejyn-ep.js → mb-render-CsWNoQnS.js} +1 -1
  86. package/dist/{number-input-ex-CgwOH18n.js → number-input-ex-eza87s5O.js} +12 -4
  87. package/dist/{org-props-BeFVQ-QY.js → org-props-BJ6FKaVj.js} +3 -2
  88. package/dist/{org-style-CLVWLtyd.js → org-style-LRy5QsV5.js} +1 -1
  89. package/dist/{pagination-design-CT0EQmxW.js → pagination-design-sA-kbILI.js} +3 -2
  90. package/dist/paper-widget-design-BGY5qu-K.js +4 -0
  91. package/dist/{qrcode-design-CjOkp2xa.js → qrcode-design-BsWJrsvD.js} +1 -1
  92. package/dist/{ref-autofill-editor-B2KcQvyt.js → ref-autofill-editor-BbozAOcm.js} +2 -2
  93. package/dist/{ref-props-DPnt_pys.js → ref-props-BInJu7PN.js} +3 -3
  94. package/dist/{ref-style-D0XKTtP1.js → ref-style-Dgc_9tko.js} +1 -1
  95. package/dist/regex-editor-C09XpMhm.js +796 -0
  96. package/dist/{revo-grid.entry-ztDhASK3.js → revo-grid.entry-BIm5A5wM.js} +1 -1
  97. package/dist/{revogr-attribution_7.entry-BtXV91vv.js → revogr-attribution_7.entry-B06XF5B_.js} +3 -3
  98. package/dist/{revogr-clipboard_3.entry-DXpq4oNb.js → revogr-clipboard_3.entry-C8dVJYtR.js} +2 -2
  99. package/dist/{revogr-data_4.entry-WA1PNcGb.js → revogr-data_4.entry-Dgp6vYqe.js} +2 -2
  100. package/dist/{revogr-filter-panel.entry-unpVAD7l.js → revogr-filter-panel.entry-xo_juIUc.js} +1 -1
  101. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-CqaEwsvS.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-vIUGBOWr.js} +3 -2
  102. package/dist/{serialnumber-design-ClArHZWU.js → serialnumber-design-mWcys6hI.js} +1 -1
  103. package/dist/shared/index.es.js +18 -18
  104. package/dist/{signature-design-Cg2Ejj3g.js → signature-design-Dl-Lv5Z5.js} +5 -2
  105. package/dist/{signature-props-CNuLBWtc.js → signature-props-DSzpO-_r.js} +3 -3
  106. package/dist/{signature-style-DtlZdeFB.js → signature-style-Bk34vOsk.js} +1 -1
  107. package/dist/{single-field-drop-COLR9RIu.js → single-field-drop-CiPUMT9B.js} +2 -2
  108. package/dist/{size-editor-DyGGEX3s.js → size-editor-B5aunbUM.js} +1 -1
  109. package/dist/src/adapter/index.d.ts +1 -0
  110. package/dist/src/adapter/setup.d.ts +1 -1
  111. package/dist/src/nocode-base/src/_utils_/uuid.d.ts +6 -1
  112. package/dist/src/nocode-base/src/components/border-td.vue.d.ts +1 -0
  113. package/dist/src/nocode-base/src/components/{document-quick-fill-modal.vue.d.ts → document-quick-fill/dynamic-quick-fill-modal.vue.d.ts} +1 -1
  114. package/dist/src/nocode-base/src/components/{document-quick-fillin.vue.d.ts → document-quick-fill/fixed-quick-fill-modal.vue.d.ts} +6 -4
  115. package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +17 -0
  116. package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +13 -0
  117. package/dist/src/nocode-base/src/components/index.d.ts +4 -3
  118. package/dist/src/nocode-base/src/constant/index.d.ts +11 -0
  119. package/dist/src/nocode-base/src/hooks/annotation/collect-annotation-items.d.ts +15 -0
  120. package/dist/src/nocode-base/src/hooks/annotation/form-annotation-controller.d.ts +5 -2
  121. package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +60 -0
  122. package/dist/src/nocode-base/src/hooks/annotation/index.d.ts +2 -0
  123. package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +2 -2
  124. package/dist/src/nocode-base/src/hooks/index.d.ts +2 -1
  125. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +3 -1
  126. package/dist/src/nocode-base/src/hooks/model-relation/index.d.ts +1 -1
  127. package/dist/src/nocode-base/src/hooks/service-util/sn-rule.d.ts +1 -1
  128. package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +1 -1
  129. package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +4 -2
  130. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +39 -4
  131. package/dist/src/nocode-base/src/hooks/useValidator.d.ts +6 -6
  132. package/dist/src/nocode-base/src/hooks/validation/admission.d.ts +19 -0
  133. package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +24 -0
  134. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +35 -0
  135. package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
  136. package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +24 -0
  137. package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +17 -0
  138. package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
  139. package/dist/src/nocode-base/src/hooks/validation/types.d.ts +44 -0
  140. package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +39 -0
  141. package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +24 -0
  142. package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
  143. package/dist/src/nocode-base/src/interface/render.d.ts +1 -1
  144. package/dist/src/nocode-base/src/types/common/base.d.ts +16 -2
  145. package/dist/src/nocode-base/src/types/fields/i-datepicker.d.ts +5 -1
  146. package/dist/src/nocode-base/src/types/fields/i-datetimepicker.d.ts +5 -1
  147. package/dist/src/nocode-base/src/types/fields/i-enum-select.d.ts +2 -0
  148. package/dist/src/nocode-base/src/types/fields/i-inputdouble.d.ts +5 -1
  149. package/dist/src/nocode-base/src/types/fields/i-inputnumber.d.ts +5 -1
  150. package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +27 -1
  151. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +3 -1
  152. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -1
  153. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +2 -0
  154. package/dist/src/nocode-base/src/types/widgets/i-sub-table.d.ts +4 -0
  155. package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +2 -0
  156. package/dist/src/nocode-web-render/src/render/index.d.ts +2 -2
  157. package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +3 -1
  158. package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +3 -1
  159. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +1 -2
  160. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +3 -1
  161. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +2 -0
  162. package/dist/src/online-form/src/utils/field.enum.d.ts +3 -2
  163. package/dist/src/online-form/src/views/__cell_widgets__/common/keep-exception-highlight-editor/keep-exception-highlight-editor.vue.d.ts +10 -0
  164. package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/common-regex-api.d.ts +11 -0
  165. package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/editor.d.ts +8 -0
  166. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +28 -0
  167. package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -1
  168. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +43 -2
  169. package/dist/src/{nocode-web-render/src/render/sub-table/material-consume/scan-modal.vue.d.ts → online-form/src/views/designer/modules/panel/comps/confirm-before-delete-config.vue.d.ts} +2 -4
  170. package/dist/src/online-form/src/views/designer/modules/panel/comps/quick-fill-config.vue.d.ts +8 -0
  171. package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +2 -2
  172. 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
  173. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/form-field-tree-select.vue.d.ts +2 -2
  174. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/material-rdo-select.vue.d.ts +2 -2
  175. package/dist/src/online-form/src/views/designer/modules/sheet/sheet-cell.vue.d.ts +1 -0
  176. package/dist/src/online-form/src/views/designer/types/index.d.ts +4 -0
  177. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +3 -0
  178. package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts +3 -1
  179. package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +5 -0
  180. package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
  181. package/dist/src/shared/utils/host-api.d.ts +3 -11
  182. package/dist/{text-design-DjJS6aM4.js → text-design-BIFz5gw1.js} +3 -2
  183. package/dist/{text-design-490okDpw.js → text-design-C0dORvkP.js} +10 -6
  184. package/dist/{text-props-Dh4S3iN0.js → text-props-ClHI-4aM.js} +21 -252
  185. package/dist/{text-style-BGeNrOMv.js → text-style-DANM5fvy.js} +1 -1
  186. package/dist/{throttle-Cpk1LoGk-BWXeZXFZ.js → throttle-Cpk1LoGk-Da5HSLWc.js} +1 -1
  187. package/dist/{timediff-design-DEh9xNVa.js → timediff-design-BDCsQIal.js} +2 -1
  188. package/dist/{trace-design-Dk0irY70.js → trace-design-CKqq1WH_.js} +2 -2
  189. package/dist/{trace-props-DRBrPqIq.js → trace-props-BI24XFMc.js} +53 -16
  190. package/dist/{trace-style-6lXlaJ2o.js → trace-style-CX1f7oZH.js} +1 -1
  191. package/dist/{user-props-yasRJPzM.js → user-props-gF7KPnP8.js} +3 -2
  192. package/dist/{user-style-dkDUDf63.js → user-style-DIouAMWa.js} +1 -1
  193. package/dist/{value-editor.vue_vue_type_style_index_0_lang-8rhhfLv7.js → value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js} +3 -2
  194. package/dist/{version-select-dvsx-Ifv.js → version-select-CL3QQGND.js} +2 -2
  195. package/dist/web-render/index.es.js +9 -9
  196. package/dist/{widget-barcode-BfzXe5MQ.js → widget-barcode-DZiCyrQW.js} +5 -4
  197. package/dist/{widget-diagonal-R5qdvCvE.js → widget-diagonal-D_Oz8te1.js} +3 -3
  198. package/dist/{widget-image-C0zAtiuf.js → widget-image-TL_SLOap.js} +5 -5
  199. package/dist/{widget-line-z4TTPDkL.js → widget-line-BQ-qcBUA.js} +3 -2
  200. package/dist/{widget-pagination-CeO9pmmu.js → widget-pagination-DciJE9qC.js} +6 -5
  201. package/dist/{widget-power-CP1DLxkZ.js → widget-power-B9KTIpwA.js} +3 -3
  202. package/dist/{widget-qrcode-Boz_t9l9.js → widget-qrcode-DRoj5rSy.js} +4 -3
  203. package/dist/{widget-rangelimit-B9kRG_Fa.js → widget-rangelimit-Ckgx3i4r.js} +3 -3
  204. package/dist/{widget-serialnumber-BBUxx4nB.js → widget-serialnumber-aUkR-0yC.js} +1 -1
  205. package/dist/{widget-text-qvLZssGe.js → widget-text-CJIT-hY3.js} +5 -5
  206. package/dist/{widget-timediff-BBmssjfJ.js → widget-timediff-x-RQMdNg.js} +3 -2
  207. package/package.json +1 -1
  208. package/dist/base-font-editor-BiSPxwVH.js +0 -83
  209. package/dist/cell-upload-JxFLM1bV.js +0 -25
  210. package/dist/date-format-editor-BZ89hVjL.js +0 -240
  211. package/dist/date-time-props-BWvuzNXX.js +0 -265
  212. package/dist/paper-widget-design-DKBVqvH3.js +0 -4
  213. package/dist/src/nocode-base/src/hooks/form-model/fetcher.d.ts +0 -40
  214. package/dist/src/nocode-base/src/interface/data.d.ts +0 -47
  215. package/dist/src/nocode-base/src/interface/util.d.ts +0 -108
  216. /package/dist/src/nocode-base/src/components/document-sub-table-action/{document-sub-table-action.vue.d.ts → dynamic-table-action.vue.d.ts} +0 -0
@@ -1,12 +1,12 @@
1
- import { aw as fetchHistoryConsume, ax as isBomGranted, F as FIELD_TYPE, i as api, ao as getParseRuleInfo, ap as getParseRuleValue, ay as calcFillData, az as extractKeywordFromQueryData, t as FormTypeEnum, aA as transformUtils, g as SubTableType, al as NCB_PROVIDE, aB as clearFormRules, aC as baseDataUtils, aq as RenderModeEnum, e as ComponentTypeEnum, aD as validate, aE as calcUtils, a2 as CheckDsTypeEnum, ah as renderUtils, H as PlatformEnum, aF as uuid2, aG as normalizeToArray, aH as safeParseArray, aI as BpmnNodeTypeEnum, aJ as mergeByMultiKey, av as useNocodeEmitter, a1 as EntityModelCategoryEnum, aK as getSubTableQuickFillInfo, h as CellType, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
- import { a5, a7, aj, w, aL, aM, B, aN, J, aO, aP, aQ, ai, ak, a6, a3, a4, K, aR, as, N, aS, $, a9, v, M, L, aT, aU, O, b, P, a0, a, m, a8, aV, ag, z, x, y, A, aW, T, V, W, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, am, an, b5, ad, b6, ac, aa, u, ae, af, ar, ab } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.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-rz6gyez5.js";
4
- import { B as B2, p, D, _, q, e, f, F, r, d, a as a2, b as b7, s, u as u2, c } from "../document-sub-table-action-rz6gyez5.js";
5
- import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock, withModifiers } from "vue";
6
- import { defaults, pick, merge, has, isEmpty, cloneDeep } from "lodash-es";
1
+ import { av as fetchHistoryConsume, aw as isBomGranted, F as FIELD_TYPE, i as api, am as getParseRuleInfo, an as getParseRuleValue, ax as calcFillData, ay as extractKeywordFromQueryData, v as FormTypeEnum, az as transformUtils, g as SubTableType, aj as NCB_PROVIDE, aA as settleAndValidateDisplay, aB as unregisterValidationContext, aC as clearFormRules, aD as registerValidationContext, e as ComponentTypeEnum, aq as RenderModeEnum, aE as requestFullValidation, aF as requestDisplayValidation, aG as closeValidatorPopovers, aH as baseDataUtils, aI as getRawFormRuleMeta, aJ as enrichFormChangeRowDetails, aK as settleAfterModeSwitch, aL as calcUtils, a2 as CheckDsTypeEnum, ag as renderUtils, H as PlatformEnum, aM as uuid2, aN as normalizeToArray, aO as safeParseArray, aP as BpmnNodeTypeEnum, aQ as mergeByMultiKey, au as useNocodeEmitter, a1 as EntityModelCategoryEnum, aR as getRowId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
2
+ import { a5, a7, ah, y, aS, aT, B, aU, h, J, aV, aW, aX, af, ai, a6, a3, a4, K, aY, ar, N, aZ, $, a9, x, M, L, a_, a$, O, b, P, a0, a, m, a8, b0, b1, ap, D, z, A, E, b2, T, V, W, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, ak, bq, br, al, bs, bt, bu, bv, bw, ad, bx, ac, aa, n, ao, ae, ab } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.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, v as validate, n as commonUtils } from "../dynamic-table-action-zLjamAaN.js";
4
+ import { B as B2, o, D as D2, _, p, e, q, f, F, r, s, c, a as a2, t, u, b as b10, d } from "../dynamic-table-action-zLjamAaN.js";
5
+ import { ref, provide, watch, computed } from "vue";
6
+ import { defaults, pick, merge, has, isEmpty, cloneDeep, debounce } from "lodash-es";
7
7
  import dayjs from "dayjs";
8
- import { B as B3, C, F as F2, a as a10, M as M2 } from "../form-annotation-controller-CoABDD4X.js";
9
- import { B as B4, F as F3, I, M as M3, b as b8, u as u3 } from "../mb-render-Bejyn-ep.js";
8
+ import { B as B3, C, F as F2, a as a10, M as M2, c as c2, f as f2 } from "../form-annotation-controller-Zw6OoPLe.js";
9
+ import { B as B4, F as F3, I, M as M3, b as b11, u as u2 } from "../mb-render-CsWNoQnS.js";
10
10
  function useLatestRequest(execFn) {
11
11
  let lastReqId = 0;
12
12
  const loading = ref(false);
@@ -172,7 +172,7 @@ class FormTmplBomController {
172
172
  }
173
173
  async submitValidate() {
174
174
  const results = await Promise.allSettled(
175
- Object.values(this.tableControllers).map((c2) => c2.submitValidate())
175
+ Object.values(this.tableControllers).map((c3) => c3.submitValidate())
176
176
  );
177
177
  const successful = results.filter((result) => result.status === "fulfilled").map((result) => result.value);
178
178
  const fieldArr = successful.filter(Boolean);
@@ -1910,6 +1910,34 @@ function useRenderPageFactory(props, payload) {
1910
1910
  const subTableCoreFactoryMap = ref({});
1911
1911
  provide(NCB_PROVIDE.SUB_TABLE_CORE_FACTORY_MAP, subTableCoreFactoryMap);
1912
1912
  const { getConsumeData } = useMaterialBalance();
1913
+ const validationSyncStops = /* @__PURE__ */ new Map();
1914
+ const validationSuppressUntil = /* @__PURE__ */ new Map();
1915
+ function unbindFormValidationSync(uniqueId) {
1916
+ validationSyncStops.get(uniqueId)?.forEach((stop) => stop());
1917
+ validationSyncStops.delete(uniqueId);
1918
+ validationSuppressUntil.delete(uniqueId);
1919
+ }
1920
+ function bindFormValidationSync(uniqueId) {
1921
+ unbindFormValidationSync(uniqueId);
1922
+ validationSuppressUntil.set(uniqueId, Date.now() + 5e3);
1923
+ const stops = [];
1924
+ stops.push(
1925
+ watch(
1926
+ () => formStateMap.value[uniqueId],
1927
+ () => {
1928
+ if ((validationSuppressUntil.get(uniqueId) ?? 0) > Date.now()) return;
1929
+ const info = basicInfoList.value.find((item) => item.uniqueId === uniqueId);
1930
+ if (!info) return;
1931
+ if (info.renderModeType === RenderModeEnum.FormMode) {
1932
+ requestFullValidation(uniqueId, { trigger: "change" });
1933
+ }
1934
+ requestDisplayValidation(uniqueId);
1935
+ },
1936
+ { deep: true }
1937
+ )
1938
+ );
1939
+ validationSyncStops.set(uniqueId, stops);
1940
+ }
1913
1941
  const callbackName = {
1914
1942
  template: requestTemplateInfo,
1915
1943
  instance: requestSelfInfo,
@@ -1949,6 +1977,8 @@ function useRenderPageFactory(props, payload) {
1949
1977
  Object.assign(subTableCoreFactoryMap.value, res.subTableCoreFactory);
1950
1978
  basicInfoList.value.push(res.basicInfo);
1951
1979
  selfInfoList.value.push(res.selfInfo);
1980
+ registerFormValidationContext(res.basicInfo.uniqueId);
1981
+ bindFormValidationSync(res.basicInfo.uniqueId);
1952
1982
  }
1953
1983
  });
1954
1984
  console.log(
@@ -1968,13 +1998,18 @@ function useRenderPageFactory(props, payload) {
1968
1998
  tmplBomCMap.value
1969
1999
  );
1970
2000
  finisher.value++;
2001
+ void (async () => {
2002
+ for (const info of basicInfoList.value) {
2003
+ await settleAndValidateDisplay(info.uniqueId);
2004
+ validationSuppressUntil.set(info.uniqueId, 0);
2005
+ }
2006
+ })();
1971
2007
  },
1972
2008
  { immediate: true }
1973
2009
  );
1974
2010
  watch(
1975
2011
  () => finisher.value,
1976
2012
  () => {
1977
- console.log("请求成功");
1978
2013
  const selfId = props.selfId;
1979
2014
  if (payload.onFinisher) {
1980
2015
  const info = findBasicInsInfo(selfId);
@@ -2427,6 +2462,7 @@ function useRenderPageFactory(props, payload) {
2427
2462
  annSwitchStatus: false,
2428
2463
  annCellLocationList: [],
2429
2464
  annSelectId: void 0,
2465
+ annRowDetails: [],
2430
2466
  validatorLocationList: [],
2431
2467
  validatorMessageMap: {},
2432
2468
  mobileTdIdGroups: fieldInfoMap.tdIdGroups,
@@ -2436,7 +2472,8 @@ function useRenderPageFactory(props, payload) {
2436
2472
  paramsConfig?._gct_nocode_trace_values_
2437
2473
  )
2438
2474
  } : {},
2439
- productSearchFields: payload?.deviceConfig?.defaultProductSearchFields
2475
+ productSearchFields: payload?.deviceConfig?.defaultProductSearchFields,
2476
+ showPrintFieldBg: paramsConfig?.showPrintFieldBg
2440
2477
  },
2441
2478
  selfInfo: {
2442
2479
  ...selfInfo,
@@ -2451,6 +2488,10 @@ function useRenderPageFactory(props, payload) {
2451
2488
  return updates;
2452
2489
  }
2453
2490
  function clear() {
2491
+ basicInfoList.value.forEach((info) => {
2492
+ unbindFormValidationSync(info.uniqueId);
2493
+ unregisterValidationContext(info.uniqueId);
2494
+ });
2454
2495
  clearFormRules();
2455
2496
  dataCenterMap.value = {};
2456
2497
  pageDataMap.value = {};
@@ -2463,6 +2504,42 @@ function useRenderPageFactory(props, payload) {
2463
2504
  basicInfoList.value = [];
2464
2505
  selfInfoList.value = [];
2465
2506
  }
2507
+ function applyValidatorComments(uniqueId, comments) {
2508
+ const map = comments && Object.keys(comments).length ? comments : {};
2509
+ const nextLocations = Object.keys(map);
2510
+ basicInfoList.value.forEach((info) => {
2511
+ if (info.uniqueId !== uniqueId) return;
2512
+ const prevLocations = info.validatorLocationList ?? [];
2513
+ const prevMap = info.validatorMessageMap ?? {};
2514
+ const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((k, i) => k === prevLocations[i]);
2515
+ const sameMessages = sameLocations && nextLocations.every((k) => {
2516
+ const a11 = prevMap[k];
2517
+ const b12 = map[k];
2518
+ return JSON.stringify(a11) === JSON.stringify(b12);
2519
+ });
2520
+ if (sameMessages) return;
2521
+ closeValidatorPopovers();
2522
+ info.validatorLocationList = nextLocations;
2523
+ info.validatorMessageMap = map;
2524
+ });
2525
+ }
2526
+ function registerFormValidationContext(uniqueId) {
2527
+ registerValidationContext({
2528
+ uniqueId,
2529
+ getFormData: () => formStateMap.value?.[uniqueId] ?? {},
2530
+ getPaper: () => dataCenterMap.value?.[uniqueId]?.[ComponentTypeEnum.PAPER],
2531
+ getKeepExceptionHighlight: () => {
2532
+ const paper = dataCenterMap.value?.[uniqueId]?.[ComponentTypeEnum.PAPER];
2533
+ return paper?.props?.keepExceptionHighlight;
2534
+ },
2535
+ applyComments: (comments) => applyValidatorComments(uniqueId, comments),
2536
+ getComments: () => {
2537
+ const info = basicInfoList.value.find((item) => item.uniqueId === uniqueId);
2538
+ const map = info?.validatorMessageMap;
2539
+ return map && Object.keys(map).length ? map : null;
2540
+ }
2541
+ });
2542
+ }
2466
2543
  const findFormInsInfo = (id) => {
2467
2544
  return selfInfoList.value.find((item) => item.id === id);
2468
2545
  };
@@ -2477,27 +2554,46 @@ function useRenderPageFactory(props, payload) {
2477
2554
  );
2478
2555
  };
2479
2556
  const updateRenderModeType = (uniqueId, newRenderModeType, updateButton = false) => {
2557
+ let prevMode;
2480
2558
  basicInfoList.value.forEach((info) => {
2481
2559
  if (info.uniqueId === uniqueId) {
2560
+ prevMode = info.renderModeType;
2482
2561
  info.renderModeType = newRenderModeType;
2483
2562
  if (updateButton) {
2484
2563
  info.btnRenderModeType = newRenderModeType;
2485
2564
  }
2486
2565
  }
2487
2566
  });
2567
+ if (prevMode === newRenderModeType || !uniqueId) return;
2568
+ void (async () => {
2569
+ validationSuppressUntil.set(uniqueId, Date.now() + 1e4);
2570
+ await settleAfterModeSwitch(uniqueId, {
2571
+ runChangeLive: newRenderModeType === RenderModeEnum.FormMode
2572
+ });
2573
+ validationSuppressUntil.set(uniqueId, 0);
2574
+ })();
2488
2575
  };
2489
2576
  async function validate$1(uniqueId) {
2490
2577
  const formState = formStateMap.value?.[uniqueId];
2491
2578
  const dataCenter = dataCenterMap.value?.[uniqueId];
2492
2579
  const bomC = tmplBomCMap.value?.[uniqueId];
2493
- const res = await validate(formState, dataCenter[ComponentTypeEnum.PAPER]);
2580
+ const res = await validate(formState, dataCenter[ComponentTypeEnum.PAPER], uniqueId);
2494
2581
  if (bomC) {
2495
2582
  const bomRes = await bomC.submitValidate();
2496
2583
  if (!bomRes.isValid) {
2497
2584
  merge(res, bomRes);
2585
+ const info = basicInfoList.value.find((item) => item.uniqueId === uniqueId);
2586
+ const current = {
2587
+ ...info?.validatorMessageMap ?? {},
2588
+ ...bomRes.fields ?? {}
2589
+ };
2590
+ applyValidatorComments(uniqueId, Object.keys(current).length ? current : null);
2591
+ return res;
2498
2592
  }
2499
2593
  }
2500
- setValidatorViewStatus(uniqueId, res?.fields ?? {});
2594
+ if (res && !res.uiApplied) {
2595
+ setValidatorViewStatus(uniqueId, res?.fields ?? {});
2596
+ }
2501
2597
  return res;
2502
2598
  }
2503
2599
  const getFormState = (uniqueId) => {
@@ -2521,26 +2617,61 @@ function useRenderPageFactory(props, payload) {
2521
2617
  return true;
2522
2618
  };
2523
2619
  const setAnnotationViewStatus = (uniqueId, status, config) => {
2620
+ const locations = Array.isArray(config) ? config : config?.locations || [];
2621
+ const rowDetails = Array.isArray(config) ? void 0 : config?.rowDetails;
2524
2622
  basicInfoList.value.forEach((info) => {
2525
2623
  if (info.uniqueId === uniqueId) {
2526
2624
  info.annSwitchStatus = status;
2527
- info.annCellLocationList = status ? cloneDeep(config) : [];
2625
+ info.annCellLocationList = status ? cloneDeep(locations) : [];
2528
2626
  info.annSelectId = void 0;
2627
+ if (!status) {
2628
+ info.annRowDetails = [];
2629
+ } else if (rowDetails !== void 0) {
2630
+ info.annRowDetails = cloneDeep(rowDetails);
2631
+ }
2632
+ if (status) {
2633
+ info.validatorLocationList = [];
2634
+ info.validatorMessageMap = {};
2635
+ closeValidatorPopovers();
2636
+ }
2529
2637
  }
2530
2638
  });
2531
2639
  return true;
2532
2640
  };
2533
- const setValidatorViewStatus = (uniqueId, config) => {
2641
+ const setFormChangeRowViewDetails = (uniqueId, rowDetails, _historyId) => {
2534
2642
  basicInfoList.value.forEach((info) => {
2535
2643
  if (info.uniqueId === uniqueId) {
2536
- info.validatorLocationList = Object.keys(config);
2537
- info.validatorMessageMap = config;
2644
+ info.annRowDetails = rowDetails?.length ? cloneDeep(rowDetails) : [];
2645
+ info.annSelectId = void 0;
2538
2646
  }
2539
2647
  });
2540
2648
  return true;
2541
2649
  };
2650
+ const setValidatorViewStatus = (uniqueId, config) => {
2651
+ const nextConfig = config && Object.keys(config).length ? { ...config } : {};
2652
+ if (!Object.keys(nextConfig).length) {
2653
+ applyValidatorComments(uniqueId, null);
2654
+ return true;
2655
+ }
2656
+ const info = basicInfoList.value.find((item) => item.uniqueId === uniqueId);
2657
+ if (!info) return true;
2658
+ const meta = getRawFormRuleMeta();
2659
+ const current = { ...info.validatorMessageMap ?? {} };
2660
+ for (const key of Object.keys(current)) {
2661
+ if (!meta[key]?.blocked && !nextConfig[key]) {
2662
+ delete current[key];
2663
+ }
2664
+ }
2665
+ Object.assign(current, nextConfig);
2666
+ applyValidatorComments(uniqueId, Object.keys(current).length ? current : null);
2667
+ return true;
2668
+ };
2542
2669
  const getAnnotationContentList = (uniqueId, options = {}) => {
2543
2670
  const info = basicInfoList.value.find((item) => item.uniqueId === uniqueId);
2671
+ const formState = formStateMap.value?.[uniqueId];
2672
+ if (info?.formChangeNewData) {
2673
+ enrichFormChangeRowDetails(info.formChangeNewData, formState);
2674
+ }
2544
2675
  const data = info ? cloneDeep(info.formChangeNewData) : {};
2545
2676
  basicInfoList.value.forEach((info2) => {
2546
2677
  if (info2.uniqueId === uniqueId) {
@@ -2625,6 +2756,7 @@ function useRenderPageFactory(props, payload) {
2625
2756
  getFormState,
2626
2757
  setFromEditStatus,
2627
2758
  setAnnotationViewStatus,
2759
+ setFormChangeRowViewDetails,
2628
2760
  getAnnotationContentList,
2629
2761
  setValidatorViewStatus,
2630
2762
  quickSearchRenderData,
@@ -3114,6 +3246,142 @@ function useEbrWikiFactoryV2(props, payload) {
3114
3246
  updateAppendixCounter
3115
3247
  };
3116
3248
  }
3249
+ function useFormulaExpWatcher(options) {
3250
+ const {
3251
+ props,
3252
+ currentPageFormState,
3253
+ needMinValidateCalc,
3254
+ needMaxValidateCalc,
3255
+ onCalculateFormula,
3256
+ onMinComputed,
3257
+ onMaxComputed,
3258
+ debounceMs = 200,
3259
+ returnType = "string"
3260
+ } = options;
3261
+ let calcReqId = 0;
3262
+ async function computeMinMaxOnce() {
3263
+ const myId = ++calcReqId;
3264
+ const getValue = (v) => {
3265
+ if (returnType === "number") {
3266
+ const parsed = v == null ? null : parseFloat(String(v));
3267
+ return Number.isFinite(parsed) ? parsed : null;
3268
+ }
3269
+ return v;
3270
+ };
3271
+ if (needMinValidateCalc) {
3272
+ try {
3273
+ const v = await onCalculateFormula("min");
3274
+ if (myId !== calcReqId) return;
3275
+ onMinComputed?.(getValue(v));
3276
+ } catch (e2) {
3277
+ }
3278
+ }
3279
+ if (needMaxValidateCalc) {
3280
+ try {
3281
+ const v = await onCalculateFormula("max");
3282
+ if (myId !== calcReqId) return;
3283
+ onMaxComputed?.(getValue(v));
3284
+ } catch (e2) {
3285
+ }
3286
+ }
3287
+ }
3288
+ const debouncedCompute = debounce(computeMinMaxOnce, debounceMs);
3289
+ const topStops = [];
3290
+ const hashRowStops = /* @__PURE__ */ new Map();
3291
+ const clearAllStops = () => {
3292
+ while (topStops.length) {
3293
+ const s2 = topStops.shift();
3294
+ try {
3295
+ s2 && s2();
3296
+ } catch (e2) {
3297
+ }
3298
+ }
3299
+ for (const [, rowMap] of hashRowStops) {
3300
+ for (const stop2 of rowMap.values()) {
3301
+ try {
3302
+ stop2 && stop2();
3303
+ } catch (e2) {
3304
+ }
3305
+ }
3306
+ }
3307
+ hashRowStops.clear();
3308
+ debouncedCompute.cancel?.();
3309
+ calcReqId++;
3310
+ };
3311
+ const setupWatchesFromMerged = (parseInfos = []) => {
3312
+ if (!needMinValidateCalc && !needMaxValidateCalc) return;
3313
+ if (!Array.isArray(parseInfos) || parseInfos.length === 0) {
3314
+ debouncedCompute();
3315
+ return;
3316
+ }
3317
+ for (const p2 of parseInfos) {
3318
+ const { type, processed, hashValue } = p2;
3319
+ if (type === "plain") {
3320
+ const stop2 = watch(
3321
+ () => currentPageFormState.value?.[processed],
3322
+ () => {
3323
+ console.log("plain");
3324
+ debouncedCompute();
3325
+ },
3326
+ { immediate: true }
3327
+ );
3328
+ topStops.push(stop2);
3329
+ } else if (type === "underscore") {
3330
+ const stop2 = watch(
3331
+ () => props.formData?.[processed],
3332
+ () => {
3333
+ console.log("underscore");
3334
+ debouncedCompute();
3335
+ },
3336
+ { immediate: true }
3337
+ );
3338
+ topStops.push(stop2);
3339
+ } else if (type === "hash") {
3340
+ if (!hashRowStops.has(hashValue)) hashRowStops.set(hashValue, /* @__PURE__ */ new Map());
3341
+ const rowMap = hashRowStops.get(hashValue);
3342
+ const stopLen = watch(
3343
+ () => currentPageFormState.value?.[hashValue]?.length ?? 0,
3344
+ () => {
3345
+ const arr = currentPageFormState.value?.[hashValue];
3346
+ for (const row of arr) {
3347
+ const rid = `${getRowId(row)}_${processed}`;
3348
+ if (!rowMap.has(rid)) {
3349
+ const stopPerRow = watch(
3350
+ () => [row?.[processed], row?.deleted_],
3351
+ () => {
3352
+ debouncedCompute();
3353
+ },
3354
+ { immediate: true }
3355
+ );
3356
+ rowMap.set(rid, stopPerRow);
3357
+ }
3358
+ }
3359
+ const existingIds = new Set(arr.map(getRowId));
3360
+ for (const r2 of Array.from(rowMap.keys())) {
3361
+ if (!existingIds.has(r2)) {
3362
+ const rid = `${r2}_${processed}`;
3363
+ const s2 = rowMap.get(rid);
3364
+ s2 && s2();
3365
+ rowMap.delete(rid);
3366
+ }
3367
+ }
3368
+ debouncedCompute();
3369
+ },
3370
+ { immediate: true }
3371
+ );
3372
+ topStops.push(stopLen);
3373
+ }
3374
+ }
3375
+ debouncedCompute();
3376
+ };
3377
+ const stop = () => {
3378
+ clearAllStops();
3379
+ };
3380
+ return {
3381
+ setupWatchesFromMerged,
3382
+ stop
3383
+ };
3384
+ }
3117
3385
  function useMaterialStocktake() {
3118
3386
  async function getStockDataByWarehouse({ cloneRuntimeJson, warehouseId, locationId }) {
3119
3387
  const stocktakeTables = cloneRuntimeJson?.paper?.props?.materialStocktakeList;
@@ -3144,143 +3412,67 @@ function useMaterialStocktake() {
3144
3412
  openScanModal
3145
3413
  };
3146
3414
  }
3147
- const _sfc_main = /* @__PURE__ */ defineComponent({
3148
- __name: "document-quick-fillin",
3149
- props: {
3150
- subTableFieldId: {},
3151
- mobileTdIdGroups: {},
3152
- widgetCenter: {},
3153
- handleMenuClick: { type: Function }
3154
- },
3155
- setup(__props) {
3156
- const props = __props;
3157
- const fieldColumn = computed(() => {
3158
- const info = getSubTableQuickFillInfo(props.subTableFieldId, props.mobileTdIdGroups);
3159
- if (!info?.mainWidgetIds?.length) return [];
3160
- const allowed = /* @__PURE__ */ new Set([
3161
- FIELD_TYPE.TEXT,
3162
- FIELD_TYPE.LONG_TEXT,
3163
- FIELD_TYPE.INTEGER,
3164
- FIELD_TYPE.LONG,
3165
- FIELD_TYPE.DOUBLE,
3166
- FIELD_TYPE.DECIMAL,
3167
- FIELD_TYPE.DATE,
3168
- FIELD_TYPE.TIME,
3169
- FIELD_TYPE.DATE_TIME,
3170
- FIELD_TYPE.OPTION,
3171
- FIELD_TYPE.OPTION_MULTI,
3172
- FIELD_TYPE.MATERIAL_NO,
3173
- FIELD_TYPE.STERILIZE_LOT,
3174
- FIELD_TYPE.MATERIAL_LOT,
3175
- FIELD_TYPE.RELATED_LOT_NO,
3176
- FIELD_TYPE.SCRAP_MATERIAL_NO
3177
- ]);
3178
- return info.mainWidgetIds.flatMap((tdId) => {
3179
- const widget = props.widgetCenter?.[tdId];
3180
- if (!widget) return [];
3181
- const { cellWidget, cellValueType } = widget;
3182
- if (cellValueType !== CellType.Field) return [];
3183
- if (!cellWidget || cellWidget.component === ComponentTypeEnum.CombineFields) return [];
3184
- const wProps = cellWidget.props || {};
3185
- const { isFieldModel, field, fieldType, newSpecificConfig } = wProps;
3186
- if (isFieldModel) return [];
3187
- if (!allowed.has(fieldType)) return [];
3188
- return {
3189
- fieldType,
3190
- field,
3191
- name: newSpecificConfig?.newFieldName,
3192
- prop: field,
3193
- newOptions: newSpecificConfig?.newOptions
3194
- };
3195
- });
3196
- });
3197
- const openQuickFillModal = async () => {
3198
- const res = await window.NocodeAdapter.utils.overlay.modal(
3199
- DocumentQuickFillModal,
3200
- { columns: fieldColumn.value },
3201
- { title: "快速填报", width: "1060px" }
3202
- );
3203
- console.log("res", res);
3204
- if (res.ok && res.params && res.params.data.length) {
3205
- props.handleMenuClick?.({
3206
- key: "insertRowAfter",
3207
- actionValue: {
3208
- upRowNum: 1,
3209
- downRowNum: res.params.data.length,
3210
- data: res.params.data
3211
- }
3212
- });
3213
- }
3214
- };
3215
- return (_ctx, _cache) => {
3216
- return openBlock(), createElementBlock("div", {
3217
- class: "sub-table-quick-fill-btn",
3218
- onClick: withModifiers(openQuickFillModal, ["stop"])
3219
- }, " 快速填报 ");
3220
- };
3221
- }
3222
- });
3223
- const documentQuickFillin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a18386ab"]]);
3224
3415
  export {
3225
3416
  a5 as AITooltips,
3226
3417
  AllocateTableCore,
3227
3418
  B4 as BaseFormModelFetcher,
3228
3419
  a7 as BinarizeMethodOptions,
3229
- aj as BindCmpStyleEnum,
3230
- w as BooleanShowMode,
3420
+ ah as BindCmpStyleEnum,
3421
+ y as BooleanShowMode,
3231
3422
  B2 as BorderTD,
3232
3423
  BpmnNodeTypeEnum,
3233
- aL as BpmnSignatureTypeEnum,
3424
+ aS as BpmnSignatureTypeEnum,
3234
3425
  B3 as BuiltinAction,
3235
- aM as ButtonTypeEnum,
3426
+ aT as ButtonTypeEnum,
3236
3427
  B as BwipCodeType,
3237
- aN as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3238
- CellType,
3428
+ aU as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3429
+ h as CellType,
3239
3430
  J as CellWidgetViewState,
3240
3431
  C as ChangeType,
3241
3432
  CheckDsTypeEnum,
3242
- aO as CodeRunner,
3433
+ aV as CodeRunner,
3243
3434
  ComponentTypeEnum,
3244
- aP as Config_Fields,
3245
- aQ as ControlStatusEnum,
3246
- ai as DateFormat,
3247
- ak as DecimalDisplayMode,
3435
+ aW as Config_Fields,
3436
+ aX as ControlStatusEnum,
3437
+ af as DateFormat,
3438
+ ai as DecimalDisplayMode,
3248
3439
  a6 as DenoiseMethodOptions,
3249
- p as DeviceConnector,
3440
+ o as DeviceConnector,
3250
3441
  a3 as DeviceLink,
3251
- D as DeviceLinkTmplUtil,
3442
+ D2 as DeviceLinkTmplUtil,
3252
3443
  a4 as DeviceParamsTypeTitle,
3253
3444
  K as DiagonalDirection,
3254
3445
  _ as DocumentLayout,
3255
- q as DocumentLoading,
3446
+ p as DocumentLoading,
3256
3447
  e as DocumentPaper,
3257
- documentQuickFillin as DocumentQuickFillin,
3258
- f as DocumentSubTableAction,
3259
- aR as EBR_PROVIDE_ENUM,
3260
- as as EFieldBizTypeEnum,
3448
+ q as DynamicQuickFillModal,
3449
+ f as DynamicTableAction,
3450
+ aY as EBR_PROVIDE_ENUM,
3451
+ ar as EFieldBizTypeEnum,
3261
3452
  N as EmptySymbol,
3262
- aS as FieldSysVarDefaultValueEnum,
3453
+ aZ as FieldSysVarDefaultValueEnum,
3263
3454
  F2 as FillingTypeEnum,
3455
+ F as FixedQuickFillModal,
3264
3456
  a10 as FormAnnotationController,
3265
3457
  F3 as FormModelController,
3266
3458
  FormTmplBomController,
3267
- F as FormTmplConfigController,
3459
+ r as FormTmplConfigController,
3268
3460
  FormTypeEnum,
3269
3461
  $ as ImageDisplayModeEnum,
3270
3462
  I as InstanceStatusValues,
3271
3463
  a9 as JoinModelTypeEum,
3272
- v as LabelPosition,
3464
+ x as LabelPosition,
3273
3465
  M as LineDirection,
3274
3466
  L as LineType,
3275
3467
  M3 as MBRender,
3276
- r as MCDataUtil,
3277
- b8 as MCRender,
3468
+ s as MCDataUtil,
3469
+ b11 as MCRender,
3278
3470
  MaterialConsumeTableController,
3279
3471
  MaterialConsumptionPatternEnum,
3280
3472
  M2 as MaterialStatusEnum,
3281
- aT as MobileFillTypeEnum,
3473
+ a_ as MobileFillTypeEnum,
3282
3474
  NCB_PROVIDE,
3283
- aU as OfficeTypeEnum,
3475
+ a$ as OfficeTypeEnum,
3284
3476
  O as Orientation,
3285
3477
  b as PageSizeEnum,
3286
3478
  P as PaginationFormat,
@@ -3289,70 +3481,97 @@ export {
3289
3481
  m as PaperWidgeValueType,
3290
3482
  a8 as ParamModelTypeEnum,
3291
3483
  PlatformEnum,
3292
- aV as PosEnum,
3484
+ b0 as PosEnum,
3293
3485
  PretreatmentListTableCore,
3294
- ag as RangeValidateMode,
3486
+ b1 as RangeCompareOp,
3487
+ ap as RangeValidateMode,
3295
3488
  RenderModeEnum,
3296
- z as SignShowTypeEnum,
3297
- x as SignatureNumberTypeEnum,
3298
- y as SignatureTimeTypeEnum,
3299
- A as SignatureTypeEnum,
3489
+ D as SignShowTypeEnum,
3490
+ z as SignatureNumberTypeEnum,
3491
+ A as SignatureTimeTypeEnum,
3492
+ E as SignatureTypeEnum,
3300
3493
  SterilizeBatchTableCore,
3301
3494
  StocktakeTableCore,
3302
3495
  SubTableCore,
3303
3496
  SubTableCoreFactory,
3304
3497
  SubTableType,
3305
- aW as SummaryApproveHisTypeEnum,
3498
+ b2 as SummaryApproveHisTypeEnum,
3306
3499
  T as TimeDiffFormat,
3307
3500
  V as ViewTypeEnum,
3308
3501
  W as WidgetImageSizeMode,
3309
- aX as applyCheckDsDataToRuntime,
3310
- aY as applyMedProCheckDsDataToRuntime,
3502
+ b3 as applyCheckDsDataToRuntime,
3503
+ b4 as applyMedProCheckDsDataToRuntime,
3311
3504
  baseDataUtils,
3505
+ b5 as buildFormChangeDisplayRows,
3506
+ b6 as buildStableFieldLocation,
3312
3507
  calcFillData,
3313
3508
  calcUtils,
3314
3509
  clearFormRules,
3510
+ c2 as collectAnnotationItemsByLocation,
3511
+ b7 as collectFormChangeFieldLocations,
3315
3512
  commonUtils,
3316
- aZ as deleteSubtableRow,
3513
+ b8 as deleteSubtableRow,
3514
+ b9 as detailsHaveFormChangeRowOps,
3515
+ enrichFormChangeRowDetails,
3516
+ ba as extractFormChangeRowDetails,
3317
3517
  extractKeywordFromQueryData,
3318
- a_ as fetchCheckDsDataForTable,
3319
- a$ as fetchCustomCheckDsData,
3320
- b0 as fetchMedProCheckDsData,
3518
+ bb as fetchCheckDsDataForTable,
3519
+ bc as fetchCustomCheckDsData,
3520
+ bd as fetchMedProCheckDsData,
3521
+ f2 as filterAnnotationItemsUpToCurrent,
3321
3522
  getAppInfo,
3322
- b1 as getParseRuleConfig,
3523
+ be as getFormChangeRowKey,
3524
+ bf as getFormChangeRowOp,
3525
+ bg as getParseRuleConfig,
3323
3526
  getParseRuleInfo,
3324
3527
  getParseRuleValue,
3325
- getSubTableQuickFillInfo,
3528
+ bh as getSubTableQuickFillInfo,
3326
3529
  getSuiteKey,
3327
- b2 as handleOldConfig,
3530
+ bi as handleOldConfig,
3531
+ bj as insertSubtableRows,
3532
+ bk as isAnnLocationSelected,
3328
3533
  isEdhrSuite,
3329
- b3 as isMedProSuite,
3330
- b4 as jsonSchemaUtils,
3331
- am as normalizeRefLoaderResult,
3332
- an as refUtils,
3534
+ bl as isFormChangeGhostRow,
3535
+ bm as isMedProSuite,
3536
+ bn as isRowAddedInCurrentFormChange,
3537
+ bo as jsonSchemaUtils,
3538
+ bp as nextFormChangeRowViewHistoryId,
3539
+ ak as normalizeRefLoaderResult,
3540
+ bq as recordSubtableRowAdd,
3541
+ br as recordSubtableRowDelete,
3542
+ al as refUtils,
3543
+ registerValidationContext,
3544
+ bs as relocateDeletedRowsToEnd,
3333
3545
  renderUtils,
3334
- b5 as requestNonMedProCheckDsData,
3546
+ requestDisplayValidation,
3547
+ requestFullValidation,
3548
+ bt as requestNonMedProCheckDsData,
3549
+ bu as resolveAnnotationFieldLocation,
3550
+ bv as resolveFormChangeRowUi,
3551
+ bw as resolveRowFormChangeMark,
3335
3552
  ad as setSelectAnnotationId,
3336
- b6 as setSelectMobileTdId,
3553
+ bx as setSelectMobileTdId,
3337
3554
  ac as setSelectValidatorId,
3555
+ settleAndValidateDisplay,
3338
3556
  aa as sqlUtils,
3339
3557
  transformUtils,
3340
- u as useCalculateFormula,
3341
- ae as useCurrentPageFormState,
3342
- d as useDependency,
3558
+ unregisterValidationContext,
3559
+ n as useCalculateFormula,
3560
+ ao as useCurrentPageFormState,
3561
+ c as useDependency,
3343
3562
  useEbrWikiFactoryV2,
3344
- u3 as useFormModel,
3563
+ u2 as useFormModel,
3345
3564
  a2 as useFormTmplConfig,
3346
- b7 as useFormulaExpWatcher,
3565
+ useFormulaExpWatcher,
3347
3566
  useMaterialBalance,
3348
3567
  useMaterialStocktake,
3349
3568
  useNocodeEmitter,
3350
- af as useNocodeFormWidget,
3351
- s as useOnlineFormActionButton,
3352
- u2 as useOnlineFormTransformField2Component,
3569
+ ae as useNocodeFormWidget,
3570
+ t as useOnlineFormActionButton,
3571
+ u as useOnlineFormTransformField2Component,
3353
3572
  useRenderPageFactory,
3354
- c as useStyles,
3355
- ar as useValidator,
3573
+ b10 as useStyles,
3574
+ d as useValidator,
3356
3575
  ab as useWidgetStaticAttrs,
3357
3576
  validate
3358
3577
  };