@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
@@ -14,10 +14,12 @@ type __VLS_Props = {
14
14
  pageRowIndex?: number;
15
15
  /** 二维子表数据行数index */
16
16
  childSubTableDataIndex?: number;
17
+ /** 子表行 key */
18
+ rowKey?: string;
17
19
  /** 引用信息 */
18
20
  referenceInfo?: {
19
21
  belongFieldId: string;
20
- optionValue: string;
22
+ optionValue: string | boolean | number;
21
23
  multiple: boolean;
22
24
  };
23
25
  /** 行高自适应配置 */
@@ -25,9 +25,14 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import('vue').DefineComponent<Props, {
26
26
  input: import('vue').Ref<any, any>;
27
27
  onChangeValue: (event: any) => void;
28
+ onInputChange: (value: any) => void;
28
29
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ change: (...args: any[]) => void;
31
+ blur: (...args: any[]) => void;
29
32
  "update:doubleValue": (...args: any[]) => void;
30
33
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
34
+ onChange?: ((...args: any[]) => any) | undefined;
35
+ onBlur?: ((...args: any[]) => any) | undefined;
31
36
  "onUpdate:doubleValue"?: ((...args: any[]) => any) | undefined;
32
37
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
38
  inputNumberRef: unknown;
@@ -13,13 +13,13 @@ type __VLS_Props = {
13
13
  };
14
14
  };
15
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ change: (...args: any[]) => void;
16
17
  "update:modelValue": (...args: any[]) => void;
17
18
  "update:fullPathValue": (...args: any[]) => void;
18
- change: (...args: any[]) => void;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onChange?: ((...args: any[]) => any) | undefined;
20
21
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
22
  "onUpdate:fullPathValue"?: ((...args: any[]) => any) | undefined;
22
- onChange?: ((...args: any[]) => any) | undefined;
23
23
  }>, {
24
24
  placeholder: string;
25
25
  modelCategory: string;
@@ -1,11 +1,3 @@
1
- /**
2
- * 全局 `_gct.api` / `_gct.HttpUtil` 的包内代理。
3
- * - 正式环境:宿主已挂好 `_gct`
4
- * - 本地 demo:main.ts 中 `_gct.api = api`、`_gct.HttpUtil = HttpUtil`
5
- */
6
- /** 代理到 `_gct.api` */
7
- export declare const api: any;
8
- /** 代理到 `_gct.HttpUtil` */
9
- export declare const HttpUtil: {
10
- use(...args: any[]): any;
11
- };
1
+ import { ApiMap } from '@gct-paas/api';
2
+ export declare function getApi(): ApiMap;
3
+ export declare const api: ApiMap;
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { m as PaperWidgeValueType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
+ import { m as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
4
4
  import "dayjs";
5
- import { f as useSpreadSheet, u as useModelFields } from "./index-Cw_YFCZT.js";
5
+ import "ant-design-vue";
6
+ import { f as useSpreadSheet, u as useModelFields } from "./index-Dk-CUvB9.js";
6
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  __name: "text-design",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-Cw_YFCZT.js";
3
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { C as CellWidgetRenderComp } from "./index-Dk-CUvB9.js";
3
+ import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "text-design",
6
6
  props: {
@@ -17,19 +17,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  disabled: __props.disabled,
18
18
  placeholder: __props.fieldWidget.placeholder,
19
19
  value: __props.fieldWidget.defaultValue,
20
+ maxlength: __props.fieldWidget.maxlength,
21
+ minlength: __props.fieldWidget.minlength,
20
22
  size: "small"
21
- }, null, 8, ["disabled", "placeholder", "value"])) : (openBlock(), createBlock(_component_a_textarea, {
23
+ }, null, 8, ["disabled", "placeholder", "value", "maxlength", "minlength"])) : (openBlock(), createBlock(_component_a_textarea, {
22
24
  key: 1,
23
25
  class: "cell-text-design-textarea-warp",
24
26
  disabled: __props.disabled,
25
27
  placeholder: __props.fieldWidget.placeholder,
26
- value: __props.fieldWidget.defaultValue
27
- }, null, 8, ["disabled", "placeholder", "value"]))
28
+ value: __props.fieldWidget.defaultValue,
29
+ maxlength: __props.fieldWidget.maxlength,
30
+ minlength: __props.fieldWidget.minlength
31
+ }, null, 8, ["disabled", "placeholder", "value", "maxlength", "minlength"]))
28
32
  ]);
29
33
  };
30
34
  }
31
35
  });
32
- const textDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e6504f7e"]]);
36
+ const textDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1547f82"]]);
33
37
  export {
34
38
  textDesign as default
35
39
  };
@@ -1,226 +1,10 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, renderSlot, reactive, ref, createBlock, withCtx, toRaw, createTextVNode, toDisplayString, onUnmounted, h, onMounted, mergeProps, unref, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, C as CellWidgetRenderComp } from "./index-Cw_YFCZT.js";
3
- import { isNil, debounce, pick } from "lodash-es";
4
- import { _ as _export_sfc, D as useModal, i as api, F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
- import { s as useIntersectionObserver, t as cacheAdapter } from "./index-DFgGQBCZ.js";
6
- import { w as watchDebounced } from "./mb-render-Bejyn-ep.js";
7
- const _hoisted_1 = { class: "number-range" };
8
- const _hoisted_2 = { class: "middle" };
9
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
10
- __name: "number-range",
11
- props: {
12
- min: {},
13
- max: {},
14
- precision: { default: 0 },
15
- disabled: { type: Boolean, default: false },
16
- lowerLimit: { default: 0 },
17
- upperLimit: { default: Infinity },
18
- minPlaceholder: { default: $t("sys.inputText") },
19
- maxPlaceholder: { default: $t("sys.inputText") }
20
- },
21
- emits: ["update:min", "update:max"],
22
- setup(__props, { emit: __emit }) {
23
- const props = __props;
24
- const emit = __emit;
25
- const minValue = computed({
26
- get() {
27
- return props.min;
28
- },
29
- set(v) {
30
- emit("update:min", v);
31
- }
32
- });
33
- const maxValue = computed({
34
- get() {
35
- return props.max;
36
- },
37
- set(v) {
38
- emit("update:max", v);
39
- }
40
- });
41
- const minLimit = computed(() => {
42
- const lowerLimit = props.lowerLimit;
43
- const upperLimit = isNil(maxValue.value) ? props.upperLimit : maxValue.value;
44
- return {
45
- lowerLimit,
46
- upperLimit
47
- };
48
- });
49
- const maxLimit = computed(() => {
50
- const lowerLimit = isNil(minValue.value) ? props.lowerLimit : minValue.value;
51
- const upperLimit = props.upperLimit;
52
- return {
53
- lowerLimit,
54
- upperLimit
55
- };
56
- });
57
- return (_ctx, _cache) => {
58
- const _component_a_input_number = resolveComponent("a-input-number");
59
- return openBlock(), createElementBlock("div", _hoisted_1, [
60
- createVNode(_component_a_input_number, {
61
- value: minValue.value,
62
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => minValue.value = $event),
63
- min: minLimit.value.lowerLimit,
64
- max: minLimit.value.upperLimit,
65
- disabled: __props.disabled,
66
- precision: __props.precision,
67
- placeholder: __props.minPlaceholder,
68
- size: "small"
69
- }, null, 8, ["value", "min", "max", "disabled", "precision", "placeholder"]),
70
- createElementVNode("div", _hoisted_2, [
71
- renderSlot(_ctx.$slots, "middle", {}, () => [
72
- _cache[2] || (_cache[2] = createElementVNode("span", { class: "line" }, null, -1))
73
- ], true)
74
- ]),
75
- createVNode(_component_a_input_number, {
76
- value: maxValue.value,
77
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => maxValue.value = $event),
78
- min: maxLimit.value.lowerLimit,
79
- max: maxLimit.value.upperLimit,
80
- disabled: __props.disabled,
81
- precision: __props.precision,
82
- placeholder: __props.maxPlaceholder,
83
- size: "small"
84
- }, null, 8, ["value", "min", "max", "disabled", "precision", "placeholder"])
85
- ]);
86
- };
87
- }
88
- });
89
- const NumberRange = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9f447043"]]);
90
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
91
- __name: "regex-editor-modal",
92
- props: {
93
- value: {},
94
- modal: {}
95
- },
96
- setup(__props) {
97
- const formState = reactive({});
98
- const props = __props;
99
- if (props.value) {
100
- Object.assign(formState, props.value);
101
- }
102
- const formRef = ref();
103
- async function onSave() {
104
- console.log("关闭回调");
105
- try {
106
- await formRef.value?.validate();
107
- return {
108
- ok: true,
109
- data: [toRaw(formState)]
110
- };
111
- } catch (err) {
112
- console.warn(err);
113
- }
114
- return {
115
- ok: false
116
- };
117
- }
118
- useModal(onSave);
119
- return (_ctx, _cache) => {
120
- const _component_a_input = resolveComponent("a-input");
121
- const _component_a_form_item = resolveComponent("a-form-item");
122
- const _component_a_textarea = resolveComponent("a-textarea");
123
- const _component_a_form = resolveComponent("a-form");
124
- const _component_view_container = resolveComponent("view-container");
125
- return openBlock(), createBlock(_component_view_container, { class: "transform-data-model-info pt-24px" }, {
126
- default: withCtx(() => [
127
- createVNode(_component_a_form, {
128
- ref_key: "formRef",
129
- ref: formRef,
130
- model: formState,
131
- "label-col": { span: 6 },
132
- "wrapper-col": { span: 16 },
133
- autocomplete: "off"
134
- }, {
135
- default: withCtx(() => [
136
- createVNode(_component_a_form_item, {
137
- label: _ctx.$t("sys.pageDesigner.regex"),
138
- name: "regex"
139
- }, {
140
- default: withCtx(() => [
141
- createVNode(_component_a_input, {
142
- value: formState.regex,
143
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.regex = $event),
144
- maxlength: 128,
145
- "show-count": ""
146
- }, null, 8, ["value"])
147
- ]),
148
- _: 1
149
- }, 8, ["label"]),
150
- createVNode(_component_a_form_item, {
151
- label: _ctx.$t("sys.pageDesigner.regHint"),
152
- name: "regexHint",
153
- rules: [{ required: !!formState.regex }]
154
- }, {
155
- default: withCtx(() => [
156
- createVNode(_component_a_textarea, {
157
- value: formState.regexHint,
158
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.regexHint = $event),
159
- maxlength: 64,
160
- "show-count": "",
161
- class: "i18n-textarea"
162
- }, null, 8, ["value"])
163
- ]),
164
- _: 1
165
- }, 8, ["label", "rules"])
166
- ]),
167
- _: 1
168
- }, 8, ["model"])
169
- ]),
170
- _: 1
171
- });
172
- };
173
- }
174
- });
175
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
176
- __name: "regex-editor",
177
- props: {
178
- modelValue: {}
179
- },
180
- emits: ["update:modelValue"],
181
- setup(__props, { emit: __emit }) {
182
- const props = __props;
183
- const emit = __emit;
184
- const openModal = async () => {
185
- console.log("sdfsdd");
186
- const result = await window.NocodeAdapter.utils.overlay.modal(
187
- _sfc_main$4,
188
- {
189
- value: props.modelValue
190
- },
191
- {
192
- title: $t("sys.pageDesigner.regConfig"),
193
- width: 640,
194
- minHeight: 250,
195
- showFooter: true,
196
- okText: $t("sys.okText"),
197
- cancelText: $t("sys.cancelText")
198
- }
199
- );
200
- if (result.ok) {
201
- console.log($t("sys.model.modifySuccess"), result);
202
- const data = result.data?.[0] || {};
203
- emit("update:modelValue", { regex: data.regex, regexHint: data.regexHint });
204
- }
205
- };
206
- return (_ctx, _cache) => {
207
- const _component_a_button = resolveComponent("a-button");
208
- return openBlock(), createBlock(_component_a_button, {
209
- block: "",
210
- size: "small",
211
- class: "regex-editor",
212
- onClick: openModal,
213
- type: !!props.modelValue ? "primary" : void 0
214
- }, {
215
- default: withCtx(() => [
216
- createTextVNode(toDisplayString(`${_ctx.$t("sys.pageDesigner.add")}${_ctx.$t("sys.pageDesigner.regex")}`), 1)
217
- ]),
218
- _: 1
219
- }, 8, ["type"]);
220
- };
221
- }
222
- });
223
- const RegexEditor = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-359390d0"]]);
1
+ import { defineComponent, ref, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, h, computed, onMounted, createBlock, mergeProps, unref, withCtx, Fragment, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-Dk-CUvB9.js";
3
+ import { N as NumberRange, R as RegexEditor } from "./regex-editor-C09XpMhm.js";
4
+ import { i as api, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
+ import { r as useIntersectionObserver, s as cacheAdapter } from "./index-Bm6Hdoud.js";
6
+ import { debounce } from "lodash-es";
7
+ import { w as watchDebounced } from "./mb-render-CsWNoQnS.js";
224
8
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
225
9
  __name: "select-more",
226
10
  emits: ["next"],
@@ -515,17 +299,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
515
299
  formRef.value.validate();
516
300
  }
517
301
  });
518
- const regValue = computed({
519
- get() {
520
- if (!formState.value.regex || !formState.value.regexHint) {
521
- return void 0;
522
- }
523
- return pick(formState.value, ["regex", "regexHint"]);
524
- },
525
- set(v) {
526
- Object.assign(props.widget, v);
527
- }
528
- });
529
302
  const defaultValueValidator = (rule, value, callback) => {
530
303
  if (!value) {
531
304
  return;
@@ -590,7 +363,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
590
363
  _: 1
591
364
  }, 8, ["label", "rules"]),
592
365
  createVNode(FormItem, {
593
- label: `${_ctx.$t("sys.component.fieldTypeProps.textLengthRange")}`,
366
+ label: `${_ctx.$t("sys.fieldTypeProps.lengthLimit")}`,
594
367
  inline: false
595
368
  }, {
596
369
  default: withCtx(() => [
@@ -600,24 +373,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
600
373
  max: maxlengthVal.value,
601
374
  "onUpdate:max": _cache[3] || (_cache[3] = ($event) => maxlengthVal.value = $event),
602
375
  precision: 0,
603
- disabled: __props.disabled
604
- }, null, 8, ["min", "max", "disabled"])
376
+ disabled: __props.disabled,
377
+ "min-placeholder": _ctx.$t("sys.fieldTypeProps.minLength"),
378
+ "max-placeholder": _ctx.$t("sys.fieldTypeProps.maxLength")
379
+ }, null, 8, ["min", "max", "disabled", "min-placeholder", "max-placeholder"])
605
380
  ]),
606
381
  _: 1
607
382
  }, 8, ["label"]),
608
- createVNode(FormItem, {
609
- label: `${_ctx.$t("sys.pageDesigner.regSwitch")}`,
610
- inline: false
611
- }, {
612
- default: withCtx(() => [
613
- createVNode(RegexEditor, {
614
- modelValue: regValue.value,
615
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => regValue.value = $event),
616
- disabled: __props.disabled
617
- }, null, 8, ["modelValue", "disabled"])
618
- ]),
619
- _: 1
620
- }, 8, ["label"])
383
+ createVNode(RegexEditor, {
384
+ regex: formState.value.regex,
385
+ "onUpdate:regex": _cache[4] || (_cache[4] = ($event) => formState.value.regex = $event),
386
+ "regex-hint": formState.value.regexHint,
387
+ "onUpdate:regexHint": _cache[5] || (_cache[5] = ($event) => formState.value.regexHint = $event),
388
+ disabled: __props.disabled
389
+ }, null, 8, ["regex", "regex-hint", "disabled"])
621
390
  ], 64)) : createCommentVNode("", true),
622
391
  createVNode(FormItem, {
623
392
  label: `${_ctx.$t("sys.pageDesigner.widgetType")}`,
@@ -627,7 +396,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
627
396
  createVNode(_component_a_select, {
628
397
  size: "small",
629
398
  value: formState.value.renderComp,
630
- "onUpdate:value": _cache[5] || (_cache[5] = ($event) => formState.value.renderComp = $event),
399
+ "onUpdate:value": _cache[6] || (_cache[6] = ($event) => formState.value.renderComp = $event),
631
400
  disabled: __props.disabled,
632
401
  class: "w-full"
633
402
  }, {
@@ -662,7 +431,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
662
431
  default: withCtx(() => [
663
432
  createVNode(_sfc_main$1, {
664
433
  modelValue: formState.value.relatedEsopId,
665
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => formState.value.relatedEsopId = $event),
434
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => formState.value.relatedEsopId = $event),
666
435
  "model-key": "em_document"
667
436
  }, null, 8, ["modelValue"])
668
437
  ]),
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-BiSPxwVH.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DmasOst9.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "text-style",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { cl as isObject, bL as debounce } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { cS as isObject, cg as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
3
  const initialParams = {
4
4
  contentSize: 0,
5
5
  clientSize: 0,
@@ -1,7 +1,8 @@
1
1
  import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
2
- import { T as TimeDiffFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { T as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
+ import "ant-design-vue";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "timediff-design",
7
8
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, unref } from "vue";
2
2
  import dayjs from "dayjs";
3
- import { F as FIELD_TYPE, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
- import { C as CellWidgetRenderComp } from "./index-Cw_YFCZT.js";
3
+ import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
4
+ import { C as CellWidgetRenderComp } from "./index-Dk-CUvB9.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "trace-design",
7
7
  props: {
@@ -1,12 +1,13 @@
1
1
  import { defineComponent, computed, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString, unref, createTextVNode } from "vue";
2
- import { u as useModelFields, f as useSpreadSheet, h as useReverseModeling, F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { D as DateFormatEditor } from "./date-format-editor-BZ89hVjL.js";
4
- import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-B2KcQvyt.js";
5
- import { F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { u as useModelFields, f as useSpreadSheet, h as useReverseModeling, F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-PmJBHc8i.js";
4
+ import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-BbozAOcm.js";
5
+ import { N as NumberRange, R as RegexEditor } from "./regex-editor-C09XpMhm.js";
6
+ import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
6
7
  import "lodash-es";
7
8
  import "dayjs";
8
9
  import "ant-design-vue";
9
- import { A as AddRuleBtn } from "./index-DFgGQBCZ.js";
10
+ import { A as AddRuleBtn } from "./index-Bm6Hdoud.js";
10
11
  const _hoisted_1 = { class: "mt-4px" };
11
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
13
  __name: "trace-props",
@@ -68,6 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
68
69
  const isTraceDate = computed(() => props.fieldType === FIELD_TYPE.TRACE_DATE);
69
70
  const isRecordNo = computed(() => props.fieldType === FIELD_TYPE.RECORD_NO);
70
71
  const isDevice = computed(() => props.fieldType === FIELD_TYPE.DEVICE);
72
+ const isMaterialNo = computed(() => props.fieldType === FIELD_TYPE.MATERIAL_NO);
71
73
  const fixedFieldType = computed(() => FIELD_TYPE.DATE);
72
74
  const isRefType = computed(() => {
73
75
  const bizType = props.fieldMeta.bizType;
@@ -148,15 +150,42 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
148
150
  ]),
149
151
  _: 1
150
152
  }, 8, ["label"])) : createCommentVNode("", true),
151
- !__props.readonly && isRecordNo.value ? (openBlock(), createBlock(FormItem, {
153
+ !__props.readonly && isMaterialNo.value ? (openBlock(), createBlock(FormItem, {
152
154
  key: 1,
155
+ label: `${_ctx.$t("sys.fieldTypeProps.lengthLimit")}`,
156
+ inline: false
157
+ }, {
158
+ default: withCtx(() => [
159
+ createVNode(NumberRange, {
160
+ min: formState.value.minlength,
161
+ "onUpdate:min": _cache[1] || (_cache[1] = ($event) => formState.value.minlength = $event),
162
+ max: formState.value.maxlength,
163
+ "onUpdate:max": _cache[2] || (_cache[2] = ($event) => formState.value.maxlength = $event),
164
+ precision: 0,
165
+ disabled: __props.disabled,
166
+ "min-placeholder": _ctx.$t("sys.fieldTypeProps.minLength"),
167
+ "max-placeholder": _ctx.$t("sys.fieldTypeProps.maxLength")
168
+ }, null, 8, ["min", "max", "disabled", "min-placeholder", "max-placeholder"])
169
+ ]),
170
+ _: 1
171
+ }, 8, ["label"])) : createCommentVNode("", true),
172
+ !__props.readonly && isMaterialNo.value ? (openBlock(), createBlock(RegexEditor, {
173
+ key: 2,
174
+ regex: formState.value.regex,
175
+ "onUpdate:regex": _cache[3] || (_cache[3] = ($event) => formState.value.regex = $event),
176
+ "regex-hint": formState.value.regexHint,
177
+ "onUpdate:regexHint": _cache[4] || (_cache[4] = ($event) => formState.value.regexHint = $event),
178
+ disabled: __props.disabled
179
+ }, null, 8, ["regex", "regex-hint", "disabled"])) : createCommentVNode("", true),
180
+ !__props.readonly && isRecordNo.value ? (openBlock(), createBlock(FormItem, {
181
+ key: 3,
153
182
  label: _ctx.$t("sys.model.fieldAttr"),
154
183
  inline: false
155
184
  }, {
156
185
  default: withCtx(() => [
157
186
  createVNode(_component_a_radio_group, {
158
187
  value: refRecordNo.value,
159
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => refRecordNo.value = $event),
188
+ "onUpdate:value": _cache[5] || (_cache[5] = ($event) => refRecordNo.value = $event),
160
189
  options: options.value,
161
190
  disabled: __props.disabled || !canEditDigits.value,
162
191
  onChange
@@ -166,7 +195,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
166
195
  _: 1
167
196
  }, 8, ["label"])) : createCommentVNode("", true),
168
197
  showParseRule.value ? (openBlock(), createBlock(FormItem, {
169
- key: 2,
198
+ key: 4,
170
199
  inline: false,
171
200
  label: _ctx.$t("sys.edhr.mcTable.parseRule"),
172
201
  class: "justify-between"
@@ -174,34 +203,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
174
203
  default: withCtx(() => [
175
204
  createVNode(unref(AddRuleBtn), {
176
205
  modelValue: formState.value.parseRuleProps,
177
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formState.value.parseRuleProps = $event),
206
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => formState.value.parseRuleProps = $event),
178
207
  subModelKey: __props.fieldMeta.subModelKey
179
208
  }, null, 8, ["modelValue", "subModelKey"])
180
209
  ]),
181
210
  _: 1
182
211
  }, 8, ["label"])) : createCommentVNode("", true),
183
212
  isDevice.value ? (openBlock(), createBlock(_sfc_main$1, {
184
- key: 3,
213
+ key: 5,
185
214
  fieldMeta: __props.fieldMeta,
186
215
  disabled: __props.disabled,
187
216
  "search-field": formState.value.searchField,
188
217
  "onUpdate:searchField": onSearchFieldChange
189
218
  }, null, 8, ["fieldMeta", "disabled", "search-field"])) : createCommentVNode("", true),
190
219
  isTraceDate.value ? (openBlock(), createBlock(DateFormatEditor, {
191
- key: 4,
220
+ key: 6,
192
221
  widget: props.widget,
193
222
  "field-type": fixedFieldType.value,
194
223
  disabled: __props.disabled
195
224
  }, null, 8, ["widget", "field-type", "disabled"])) : createCommentVNode("", true),
196
225
  isTraceDate.value && !__props.readonly ? (openBlock(), createBlock(FormItem, {
197
- key: 5,
226
+ key: 7,
198
227
  label: `${_ctx.$t("sys.defaultValue")}`,
199
228
  inline: false
200
229
  }, {
201
230
  default: withCtx(() => [
202
231
  createVNode(_component_a_checkbox, {
203
232
  checked: formState.value.defaultSystemDate,
204
- "onUpdate:checked": _cache[3] || (_cache[3] = ($event) => formState.value.defaultSystemDate = $event),
233
+ "onUpdate:checked": _cache[7] || (_cache[7] = ($event) => formState.value.defaultSystemDate = $event),
205
234
  disabled: __props.disabled
206
235
  }, {
207
236
  default: withCtx(() => [
@@ -212,14 +241,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
212
241
  ]),
213
242
  _: 1
214
243
  }, 8, ["label"])) : createCommentVNode("", true),
244
+ isTraceDate.value ? (openBlock(), createBlock(DateRangeEditor, {
245
+ key: 8,
246
+ "field-meta": __props.fieldMeta,
247
+ widget: props.widget,
248
+ "field-type": fixedFieldType.value,
249
+ readonly: __props.readonly,
250
+ disabled: __props.disabled
251
+ }, null, 8, ["field-meta", "widget", "field-type", "readonly", "disabled"])) : createCommentVNode("", true),
215
252
  isRefType.value ? (openBlock(), createBlock(RefAutofillEditor, {
216
- key: 6,
253
+ key: 9,
217
254
  fieldMeta: __props.fieldMeta,
218
255
  disabled: __props.disabled,
219
256
  "autofill-rules": autofillRules.value,
220
- "onUpdate:autofillRules": _cache[4] || (_cache[4] = ($event) => autofillRules.value = $event),
257
+ "onUpdate:autofillRules": _cache[8] || (_cache[8] = ($event) => autofillRules.value = $event),
221
258
  "enable-autofill": enableAutofill.value,
222
- "onUpdate:enableAutofill": _cache[5] || (_cache[5] = ($event) => enableAutofill.value = $event)
259
+ "onUpdate:enableAutofill": _cache[9] || (_cache[9] = ($event) => enableAutofill.value = $event)
223
260
  }, null, 8, ["fieldMeta", "disabled", "autofill-rules", "enable-autofill"])) : createCommentVNode("", true)
224
261
  ], 64);
225
262
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-BiSPxwVH.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DmasOst9.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "trace-style",
5
5
  props: {
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
2
- import { F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { aS as FieldSysVarDefaultValueEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { aZ as FieldSysVarDefaultValueEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
+ import "ant-design-vue";
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "user-props",
8
9
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-BiSPxwVH.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DmasOst9.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "user-style",
5
5
  props: {