@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
@@ -0,0 +1,119 @@
1
+ import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode } from "vue";
2
+ import { G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
+ import { F as FormItem } from "./index-Dk-CUvB9.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "base-font-editor",
6
+ props: {
7
+ fontSize: {},
8
+ letterSpace: {},
9
+ noLetterSpace: { type: Boolean },
10
+ optionGap: {},
11
+ showOptionGap: { type: Boolean },
12
+ disabled: { type: Boolean }
13
+ },
14
+ emits: ["update:fontSize", "update:letterSpace", "update:optionGap"],
15
+ setup(__props, { emit: __emit }) {
16
+ const ns = useNamespace("base-font-editor");
17
+ const props = __props;
18
+ const emit = __emit;
19
+ const fontSizeOptions = Array.from({ length: 8 }, (_, i) => i * 2 + 10).map((num) => ({
20
+ label: num,
21
+ value: num
22
+ }));
23
+ const _fontSize = computed({
24
+ get() {
25
+ return props.fontSize;
26
+ },
27
+ set(v) {
28
+ emit("update:fontSize", v);
29
+ }
30
+ });
31
+ const _letterSpace = computed({
32
+ get() {
33
+ return props.letterSpace;
34
+ },
35
+ set(v) {
36
+ emit("update:letterSpace", v);
37
+ }
38
+ });
39
+ const _optionGap = computed({
40
+ get() {
41
+ return props.optionGap;
42
+ },
43
+ set(v) {
44
+ emit("update:optionGap", v);
45
+ }
46
+ });
47
+ return (_ctx, _cache) => {
48
+ const _component_a_select = resolveComponent("a-select");
49
+ const _component_a_input_number = resolveComponent("a-input-number");
50
+ return openBlock(), createElementBlock(Fragment, null, [
51
+ createElementVNode("div", {
52
+ class: normalizeClass([unref(ns).b(), __props.showOptionGap && unref(ns).m("equal-control")])
53
+ }, [
54
+ createVNode(FormItem, {
55
+ class: normalizeClass(unref(ns).e("item")),
56
+ inline: false,
57
+ label: _ctx.$t("sys.cardDesign.cfg_form.size_mode")
58
+ }, {
59
+ default: withCtx(() => [
60
+ createVNode(_component_a_select, {
61
+ value: _fontSize.value,
62
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => _fontSize.value = $event),
63
+ options: unref(fontSizeOptions),
64
+ size: "small",
65
+ disabled: __props.disabled,
66
+ placeholder: _ctx.$t("sys.inputText")
67
+ }, null, 8, ["value", "options", "disabled", "placeholder"])
68
+ ]),
69
+ _: 1
70
+ }, 8, ["class", "label"]),
71
+ !__props.noLetterSpace ? (openBlock(), createBlock(FormItem, {
72
+ key: 0,
73
+ class: normalizeClass(unref(ns).e("item")),
74
+ inline: false,
75
+ label: _ctx.$t("sys.onlineForm.spacing")
76
+ }, {
77
+ default: withCtx(() => [
78
+ createVNode(_component_a_input_number, {
79
+ value: _letterSpace.value,
80
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => _letterSpace.value = $event),
81
+ disabled: __props.disabled,
82
+ precision: 0,
83
+ size: __props.showOptionGap ? "small" : void 0
84
+ }, null, 8, ["value", "disabled", "size"])
85
+ ]),
86
+ _: 1
87
+ }, 8, ["class", "label"])) : createCommentVNode("", true)
88
+ ], 2),
89
+ __props.showOptionGap ? (openBlock(), createElementBlock("div", {
90
+ key: 0,
91
+ class: normalizeClass([unref(ns).b(), unref(ns).m("equal-control")])
92
+ }, [
93
+ createVNode(FormItem, {
94
+ class: normalizeClass(unref(ns).e("item")),
95
+ inline: false,
96
+ label: _ctx.$t("sys.optionSpacing")
97
+ }, {
98
+ default: withCtx(() => [
99
+ createVNode(_component_a_input_number, {
100
+ value: _optionGap.value,
101
+ "onUpdate:value": _cache[2] || (_cache[2] = ($event) => _optionGap.value = $event),
102
+ disabled: __props.disabled,
103
+ precision: 0,
104
+ min: 0,
105
+ max: 100,
106
+ size: "small"
107
+ }, null, 8, ["value", "disabled"])
108
+ ]),
109
+ _: 1
110
+ }, 8, ["class", "label"])
111
+ ], 2)) : createCommentVNode("", true)
112
+ ], 64);
113
+ };
114
+ }
115
+ });
116
+ const BaseFontEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dd554509"]]);
117
+ export {
118
+ BaseFontEditor as B
119
+ };
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, createVNode, unref, normalizeStyle, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
2
- import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-Cw_YFCZT.js";
3
- import { w as BooleanShowMode, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-Dk-CUvB9.js";
3
+ import { y as BooleanShowMode, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
4
4
  import { isNil } from "lodash-es";
5
5
  import "dayjs";
6
+ import "ant-design-vue";
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "boolean-design",
8
9
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
2
- import { F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { A as AttachFieldEditor } from "./attach-fields-editor-CThobu8X.js";
4
- import { _ as _export_sfc } 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 { A as AttachFieldEditor } from "./attach-fields-editor-3v3VNOfe.js";
4
+ import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  const _hoisted_1 = { style: { "float": "right" } };
6
6
  const _hoisted_2 = { class: "option-container" };
7
7
  const _hoisted_3 = { class: "option" };
@@ -1,10 +1,11 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, unref, createBlock, withCtx, createCommentVNode } from "vue";
2
- import { w as BooleanShowMode } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { y as BooleanShowMode } 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 { C as CellWidgetRenderComp, F as FormItem } from "./index-Cw_YFCZT.js";
6
- import { B as BaseFontEditor } from "./base-font-editor-BiSPxwVH.js";
7
- import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-CqaEwsvS.js";
5
+ import "ant-design-vue";
6
+ import { C as CellWidgetRenderComp, F as FormItem } from "./index-Dk-CUvB9.js";
7
+ import { B as BaseFontEditor } from "./base-font-editor-DmasOst9.js";
8
+ import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-vIUGBOWr.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "boolean-style",
10
11
  props: {
@@ -0,0 +1,33 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createVNode, createElementVNode, toDisplayString } from "vue";
2
+ import { G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
+ import { P as PlusOutlined } from "./index-Dk-CUvB9.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "cell-upload",
6
+ props: {
7
+ disabled: { type: Boolean },
8
+ uploadType: { default: "attachment" }
9
+ },
10
+ setup(__props) {
11
+ const ns = useNamespace("cell-upload");
12
+ const props = __props;
13
+ const uploadLabel = computed(() => {
14
+ if (props.uploadType === "image") return $t("sys.addImage");
15
+ if (props.uploadType === "signature") return $t("sys.addSignature");
16
+ return $t("sys.addAttachment");
17
+ });
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createElementBlock("div", {
20
+ class: normalizeClass([unref(ns).b(), __props.disabled && unref(ns).m("disabled")])
21
+ }, [
22
+ createVNode(unref(PlusOutlined), {
23
+ class: normalizeClass(["iconfont", "icon-a-", unref(ns).e("add-icon")])
24
+ }, null, 8, ["class"]),
25
+ createElementVNode("span", null, toDisplayString(uploadLabel.value), 1)
26
+ ], 2);
27
+ };
28
+ }
29
+ });
30
+ const CellUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e15f772c"]]);
31
+ export {
32
+ CellUpload as C
33
+ };
@@ -0,0 +1,471 @@
1
+ import { watch, computed, defineComponent, toRefs, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, isRef, createCommentVNode, createElementVNode, toDisplayString, createElementBlock, normalizeClass, Fragment } from "vue";
2
+ import { F as FormItem, S as SelectEx, e as FormulaEditor } from "./index-Dk-CUvB9.js";
3
+ import { F as FIELD_TYPE, _ as _export_sfc, ap as RangeValidateMode, b1 as RangeCompareOp, G as useNamespace } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
4
+ import { isNil } from "lodash-es";
5
+ import "dayjs";
6
+ import "ant-design-vue";
7
+ const DateFormatSeparators = ["-", "/", "."];
8
+ const DateFormatTemplates = [
9
+ { value: "YYYY", supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE] },
10
+ {
11
+ value: "YYYY${sep}MM",
12
+ supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE]
13
+ },
14
+ {
15
+ value: "YYYY${sep}MM${sep}DD",
16
+ supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE]
17
+ },
18
+ { value: "YYYY${sep}MM${sep}DD HH", supportFieldTypes: [FIELD_TYPE.DATE_TIME] },
19
+ {
20
+ value: "YYYY${sep}MM${sep}DD HH:mm",
21
+ supportFieldTypes: [FIELD_TYPE.DATE_TIME]
22
+ },
23
+ {
24
+ value: "YYYY${sep}MM${sep}DD HH:mm:ss",
25
+ supportFieldTypes: [FIELD_TYPE.DATE_TIME]
26
+ },
27
+ { value: "HH", supportFieldTypes: [FIELD_TYPE.TIME] },
28
+ { value: "HH:mm", supportFieldTypes: [FIELD_TYPE.TIME] },
29
+ { value: "HH:mm:ss", supportFieldTypes: [FIELD_TYPE.TIME] }
30
+ ];
31
+ function calcFinalFormat(template, separator) {
32
+ return template.replace(/\${sep}/g, separator);
33
+ }
34
+ function setWidgetDefault(widget, type) {
35
+ if (!widget.customFormat && !widget.format) {
36
+ if (!widget.formatSeparator) {
37
+ widget.formatSeparator = DateFormatSeparators[0];
38
+ }
39
+ if (!widget.formatTemplate) {
40
+ let defaultFormatTemplate;
41
+ switch (type) {
42
+ case FIELD_TYPE.TIME:
43
+ defaultFormatTemplate = "HH:mm:ss";
44
+ break;
45
+ case FIELD_TYPE.DATE_TIME:
46
+ defaultFormatTemplate = "YYYY${sep}MM${sep}DD HH:mm:ss";
47
+ break;
48
+ case FIELD_TYPE.DATE:
49
+ case FIELD_TYPE.WAREHOUSE_RECEIPT_DATE:
50
+ default:
51
+ defaultFormatTemplate = "YYYY${sep}MM${sep}DD";
52
+ }
53
+ widget.formatTemplate = defaultFormatTemplate;
54
+ }
55
+ if (!widget.format) {
56
+ widget.format = calcFinalFormat(widget.formatTemplate, widget.formatSeparator);
57
+ }
58
+ }
59
+ }
60
+ function useDateFormatEditor(formState, fieldType) {
61
+ watch(
62
+ formState,
63
+ () => {
64
+ setWidgetDefault(formState.value, fieldType.value);
65
+ },
66
+ { immediate: true }
67
+ );
68
+ const setCustom = (isCustom) => {
69
+ if (isCustom === formState.value.customFormat) {
70
+ return;
71
+ }
72
+ formState.value.customFormat = isCustom;
73
+ if (isCustom) {
74
+ formState.value.format = void 0;
75
+ } else {
76
+ formState.value.format = void 0;
77
+ }
78
+ };
79
+ const calcAndSetFormat = () => {
80
+ if (formState.value.formatSeparator && formState.value.formatTemplate) {
81
+ formState.value.format = calcFinalFormat(
82
+ formState.value.formatTemplate,
83
+ formState.value.formatSeparator
84
+ );
85
+ }
86
+ };
87
+ const separatorValue = computed({
88
+ get() {
89
+ return formState.value.formatSeparator;
90
+ },
91
+ set(v) {
92
+ setCustom(false);
93
+ formState.value.formatSeparator = v;
94
+ calcAndSetFormat();
95
+ }
96
+ });
97
+ const templateValue = computed({
98
+ get() {
99
+ return formState.value.formatTemplate;
100
+ },
101
+ set(v) {
102
+ setCustom(false);
103
+ formState.value.formatTemplate = v;
104
+ calcAndSetFormat();
105
+ }
106
+ });
107
+ const customFormat = computed({
108
+ get() {
109
+ return !!formState.value.customFormat;
110
+ },
111
+ set(v) {
112
+ if (v) {
113
+ setCustom(true);
114
+ } else {
115
+ setCustom(false);
116
+ }
117
+ }
118
+ });
119
+ const templateOptions = computed(() => {
120
+ if (!separatorValue.value) {
121
+ return [];
122
+ }
123
+ return DateFormatTemplates.filter(
124
+ (item) => item.supportFieldTypes.includes(fieldType.value)
125
+ ).map((item) => {
126
+ return {
127
+ label: calcFinalFormat(item.value, separatorValue.value),
128
+ value: item.value
129
+ };
130
+ });
131
+ });
132
+ const separatorOptions = DateFormatSeparators.map((separator) => ({
133
+ label: separator,
134
+ value: separator
135
+ }));
136
+ return {
137
+ separatorValue,
138
+ templateValue,
139
+ separatorOptions,
140
+ templateOptions,
141
+ customFormat
142
+ };
143
+ }
144
+ const _hoisted_1 = { class: "date-format-editor__switch" };
145
+ const _hoisted_2 = { class: "date-format-editor__switch_text" };
146
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
147
+ __name: "date-format-editor",
148
+ props: {
149
+ widget: {},
150
+ fieldType: {},
151
+ disabled: { type: Boolean }
152
+ },
153
+ setup(__props) {
154
+ const props = __props;
155
+ const { widget, fieldType } = toRefs(props);
156
+ const { customFormat, separatorValue, templateValue, separatorOptions, templateOptions } = useDateFormatEditor(widget, fieldType);
157
+ return (_ctx, _cache) => {
158
+ const _component_a_switch = resolveComponent("a-switch");
159
+ const _component_a_select = resolveComponent("a-select");
160
+ const _component_a_col = resolveComponent("a-col");
161
+ const _component_a_input = resolveComponent("a-input");
162
+ const _component_a_row = resolveComponent("a-row");
163
+ return openBlock(), createBlock(FormItem, {
164
+ class: "date-format-editor",
165
+ label: _ctx.$t("sys.component.fieldTypeProps.dateFormat"),
166
+ inline: false
167
+ }, {
168
+ label: withCtx(() => [
169
+ createElementVNode("span", null, toDisplayString(_ctx.$t("sys.component.fieldTypeProps.dateFormat")), 1),
170
+ createElementVNode("div", _hoisted_1, [
171
+ createElementVNode("span", _hoisted_2, toDisplayString(_ctx.$t("sys.customize")), 1),
172
+ createVNode(_component_a_switch, {
173
+ size: "small",
174
+ checked: unref(customFormat),
175
+ "onUpdate:checked": _cache[0] || (_cache[0] = ($event) => isRef(customFormat) ? customFormat.value = $event : null),
176
+ disabled: __props.disabled
177
+ }, null, 8, ["checked", "disabled"])
178
+ ])
179
+ ]),
180
+ default: withCtx(() => [
181
+ createVNode(_component_a_row, null, {
182
+ default: withCtx(() => [
183
+ !unref(customFormat) ? (openBlock(), createBlock(_component_a_col, {
184
+ key: 0,
185
+ span: 5
186
+ }, {
187
+ default: withCtx(() => [
188
+ createVNode(_component_a_select, {
189
+ class: "date-format-editor__separator",
190
+ size: "small",
191
+ value: unref(separatorValue),
192
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => isRef(separatorValue) ? separatorValue.value = $event : null),
193
+ options: unref(separatorOptions),
194
+ disabled: __props.disabled
195
+ }, null, 8, ["value", "options", "disabled"])
196
+ ]),
197
+ _: 1
198
+ })) : createCommentVNode("", true),
199
+ !unref(customFormat) ? (openBlock(), createBlock(_component_a_col, {
200
+ key: 1,
201
+ span: 19
202
+ }, {
203
+ default: withCtx(() => [
204
+ createVNode(_component_a_select, {
205
+ class: "date-format-editor__template",
206
+ size: "small",
207
+ value: unref(templateValue),
208
+ "onUpdate:value": _cache[2] || (_cache[2] = ($event) => isRef(templateValue) ? templateValue.value = $event : null),
209
+ options: unref(templateOptions),
210
+ disabled: __props.disabled
211
+ }, null, 8, ["value", "options", "disabled"])
212
+ ]),
213
+ _: 1
214
+ })) : createCommentVNode("", true),
215
+ !!unref(customFormat) ? (openBlock(), createBlock(_component_a_col, {
216
+ key: 2,
217
+ span: 24
218
+ }, {
219
+ default: withCtx(() => [
220
+ createVNode(_component_a_input, {
221
+ class: "date-format-editor__custom",
222
+ size: "small",
223
+ value: unref(widget).format,
224
+ "onUpdate:value": _cache[3] || (_cache[3] = ($event) => unref(widget).format = $event),
225
+ disabled: __props.disabled,
226
+ placeholder: _ctx.$t("sys.pleaseInputSth", { sth: _ctx.$t("sys.component.fieldTypeProps.dateFormat") })
227
+ }, null, 8, ["value", "disabled", "placeholder"])
228
+ ]),
229
+ _: 1
230
+ })) : createCommentVNode("", true)
231
+ ]),
232
+ _: 1
233
+ })
234
+ ]),
235
+ _: 1
236
+ }, 8, ["label"]);
237
+ };
238
+ }
239
+ });
240
+ const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-49f9bd2f"]]);
241
+ const _sfc_main = /* @__PURE__ */ defineComponent({
242
+ __name: "date-range-editor",
243
+ props: {
244
+ fieldMeta: {},
245
+ widget: {},
246
+ fieldType: {},
247
+ readonly: { type: Boolean },
248
+ disabled: { type: Boolean }
249
+ },
250
+ setup(__props) {
251
+ const ns = useNamespace("date-range-editor");
252
+ const props = __props;
253
+ const formState = computed({
254
+ get() {
255
+ return props.widget;
256
+ },
257
+ set(v) {
258
+ Object.assign(props.widget, v);
259
+ }
260
+ });
261
+ const onEnableChange = (checked) => {
262
+ if (checked === true) {
263
+ if (isNil(formState.value.maxValidateMode)) {
264
+ formState.value.maxValidateMode = RangeValidateMode.No_Validate;
265
+ }
266
+ if (isNil(formState.value.minValidateMode)) {
267
+ formState.value.minValidateMode = RangeValidateMode.No_Validate;
268
+ }
269
+ if (isNil(formState.value.maxCompareOp)) {
270
+ formState.value.maxCompareOp = RangeCompareOp.LE;
271
+ }
272
+ if (isNil(formState.value.minCompareOp)) {
273
+ formState.value.minCompareOp = RangeCompareOp.GE;
274
+ }
275
+ }
276
+ };
277
+ watch(
278
+ () => formState.value.maxValidateMode,
279
+ (mode) => {
280
+ if (mode === RangeValidateMode.Fixed_Number && isNil(formState.value.maxCompareOp)) {
281
+ formState.value.maxCompareOp = RangeCompareOp.LE;
282
+ }
283
+ }
284
+ );
285
+ watch(
286
+ () => formState.value.minValidateMode,
287
+ (mode) => {
288
+ if (mode === RangeValidateMode.Fixed_Number && isNil(formState.value.minCompareOp)) {
289
+ formState.value.minCompareOp = RangeCompareOp.GE;
290
+ }
291
+ }
292
+ );
293
+ const validateModeOptions = Object.values(RangeValidateMode).map((val) => {
294
+ return {
295
+ label: $t(`sys.numberRangeValidateMode.${val}`),
296
+ value: val
297
+ };
298
+ });
299
+ const maxCompareOpOptions = [
300
+ { label: $t("sys.rangeCompareOp.le"), value: RangeCompareOp.LE },
301
+ { label: $t("sys.rangeCompareOp.lt"), value: RangeCompareOp.LT }
302
+ ];
303
+ const minCompareOpOptions = [
304
+ { label: $t("sys.rangeCompareOp.ge"), value: RangeCompareOp.GE },
305
+ { label: $t("sys.rangeCompareOp.gt"), value: RangeCompareOp.GT }
306
+ ];
307
+ const isDateTime = computed(() => props.fieldType === FIELD_TYPE.DATE_TIME);
308
+ const pickerFormat = computed(() => isDateTime.value ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
309
+ const valueFormat = computed(() => isDateTime.value ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
310
+ function disabledMinDate(current) {
311
+ if (!formState.value.max) return false;
312
+ return current.isAfter(formState.value.max, "second");
313
+ }
314
+ function disabledMaxDate(current) {
315
+ if (!formState.value.min) return false;
316
+ return current.isBefore(formState.value.min, "second");
317
+ }
318
+ return (_ctx, _cache) => {
319
+ const _component_a_switch = resolveComponent("a-switch");
320
+ const _component_a_select = resolveComponent("a-select");
321
+ const _component_a_date_picker = resolveComponent("a-date-picker");
322
+ const _component_a_input_group = resolveComponent("a-input-group");
323
+ return openBlock(), createElementBlock("div", {
324
+ class: normalizeClass([unref(ns).b()])
325
+ }, [
326
+ createVNode(FormItem, {
327
+ label: _ctx.$t("sys.isEnableRangeValidate")
328
+ }, {
329
+ default: withCtx(() => [
330
+ createVNode(_component_a_switch, {
331
+ class: normalizeClass([unref(ns).e("switch")]),
332
+ size: "small",
333
+ checked: formState.value.enableRangeValidate,
334
+ "onUpdate:checked": _cache[0] || (_cache[0] = ($event) => formState.value.enableRangeValidate = $event),
335
+ disabled: __props.disabled || __props.readonly,
336
+ onChange: onEnableChange
337
+ }, null, 8, ["class", "checked", "disabled"])
338
+ ]),
339
+ _: 1
340
+ }, 8, ["label"]),
341
+ formState.value.enableRangeValidate ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
342
+ createVNode(FormItem, {
343
+ label: _ctx.$t("sys.maxValidateMode"),
344
+ inline: false
345
+ }, {
346
+ default: withCtx(() => [
347
+ createVNode(unref(SelectEx), {
348
+ "show-mode": "icon-label",
349
+ "icon-type": "custom",
350
+ "style-type": "buttons",
351
+ class: "w-full",
352
+ options: unref(validateModeOptions),
353
+ value: formState.value.maxValidateMode,
354
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.value.maxValidateMode = $event),
355
+ disabled: __props.disabled || __props.readonly
356
+ }, null, 8, ["options", "value", "disabled"])
357
+ ]),
358
+ _: 1
359
+ }, 8, ["label"]),
360
+ formState.value.maxValidateMode === unref(RangeValidateMode).Fixed_Number ? (openBlock(), createBlock(_component_a_input_group, {
361
+ key: 0,
362
+ compact: "",
363
+ class: normalizeClass([unref(ns).e("fixed-row")])
364
+ }, {
365
+ default: withCtx(() => [
366
+ createVNode(_component_a_select, {
367
+ size: "small",
368
+ class: normalizeClass([unref(ns).e("op")]),
369
+ options: maxCompareOpOptions,
370
+ value: formState.value.maxCompareOp || unref(RangeCompareOp).LE,
371
+ disabled: __props.disabled || __props.readonly,
372
+ "dropdown-match-select-width": false,
373
+ "dropdown-style": { minWidth: "110px" },
374
+ onChange: _cache[2] || (_cache[2] = (v) => formState.value.maxCompareOp = v)
375
+ }, null, 8, ["class", "value", "disabled"]),
376
+ createVNode(_component_a_date_picker, {
377
+ size: "small",
378
+ class: normalizeClass([unref(ns).e("value")]),
379
+ value: formState.value.max,
380
+ "onUpdate:value": _cache[3] || (_cache[3] = ($event) => formState.value.max = $event),
381
+ "disabled-date": disabledMaxDate,
382
+ "show-time": isDateTime.value,
383
+ format: pickerFormat.value,
384
+ "value-format": valueFormat.value,
385
+ placeholder: _ctx.$t("sys.pleaseSelectUpperDateLimit"),
386
+ disabled: __props.disabled || __props.readonly
387
+ }, null, 8, ["class", "value", "show-time", "format", "value-format", "placeholder", "disabled"])
388
+ ]),
389
+ _: 1
390
+ }, 8, ["class"])) : createCommentVNode("", true),
391
+ formState.value.maxValidateMode === unref(RangeValidateMode).Variable_Validate ? (openBlock(), createBlock(unref(FormulaEditor), {
392
+ key: 1,
393
+ class: normalizeClass([unref(ns).e("formula")]),
394
+ size: "small",
395
+ modelKey: __props.fieldMeta.model,
396
+ disabled: __props.disabled,
397
+ expr: formState.value.maxExpr,
398
+ "onUpdate:expr": _cache[4] || (_cache[4] = ($event) => formState.value.maxExpr = $event),
399
+ "expr-echo": formState.value.maxExprEcho,
400
+ "onUpdate:exprEcho": _cache[5] || (_cache[5] = ($event) => formState.value.maxExprEcho = $event)
401
+ }, null, 8, ["class", "modelKey", "disabled", "expr", "expr-echo"])) : createCommentVNode("", true),
402
+ createVNode(FormItem, {
403
+ label: _ctx.$t("sys.minValidateMode"),
404
+ inline: false
405
+ }, {
406
+ default: withCtx(() => [
407
+ createVNode(unref(SelectEx), {
408
+ "show-mode": "icon-label",
409
+ "icon-type": "custom",
410
+ "style-type": "buttons",
411
+ class: "w-full",
412
+ options: unref(validateModeOptions),
413
+ disabled: __props.disabled,
414
+ value: formState.value.minValidateMode,
415
+ "onUpdate:value": _cache[6] || (_cache[6] = ($event) => formState.value.minValidateMode = $event)
416
+ }, null, 8, ["options", "disabled", "value"])
417
+ ]),
418
+ _: 1
419
+ }, 8, ["label"]),
420
+ formState.value.minValidateMode === unref(RangeValidateMode).Fixed_Number ? (openBlock(), createBlock(_component_a_input_group, {
421
+ key: 2,
422
+ compact: "",
423
+ class: normalizeClass([unref(ns).e("fixed-row")])
424
+ }, {
425
+ default: withCtx(() => [
426
+ createVNode(_component_a_select, {
427
+ size: "small",
428
+ class: normalizeClass([unref(ns).e("op")]),
429
+ options: minCompareOpOptions,
430
+ value: formState.value.minCompareOp || unref(RangeCompareOp).GE,
431
+ disabled: __props.disabled || __props.readonly,
432
+ "dropdown-match-select-width": false,
433
+ "dropdown-style": { minWidth: "110px" },
434
+ onChange: _cache[7] || (_cache[7] = (v) => formState.value.minCompareOp = v)
435
+ }, null, 8, ["class", "value", "disabled"]),
436
+ createVNode(_component_a_date_picker, {
437
+ size: "small",
438
+ class: normalizeClass([unref(ns).e("value")]),
439
+ value: formState.value.min,
440
+ "onUpdate:value": _cache[8] || (_cache[8] = ($event) => formState.value.min = $event),
441
+ "disabled-date": disabledMinDate,
442
+ "show-time": isDateTime.value,
443
+ format: pickerFormat.value,
444
+ "value-format": valueFormat.value,
445
+ placeholder: _ctx.$t("sys.pleaseSelectLowerDateLimit"),
446
+ disabled: __props.disabled || __props.readonly
447
+ }, null, 8, ["class", "value", "show-time", "format", "value-format", "placeholder", "disabled"])
448
+ ]),
449
+ _: 1
450
+ }, 8, ["class"])) : createCommentVNode("", true),
451
+ formState.value.minValidateMode === unref(RangeValidateMode).Variable_Validate ? (openBlock(), createBlock(unref(FormulaEditor), {
452
+ key: 3,
453
+ class: normalizeClass([unref(ns).e("formula")]),
454
+ size: "small",
455
+ modelKey: __props.fieldMeta.model,
456
+ disabled: __props.disabled,
457
+ expr: formState.value.minExpr,
458
+ "onUpdate:expr": _cache[9] || (_cache[9] = ($event) => formState.value.minExpr = $event),
459
+ "expr-echo": formState.value.minExprEcho,
460
+ "onUpdate:exprEcho": _cache[10] || (_cache[10] = ($event) => formState.value.minExprEcho = $event)
461
+ }, null, 8, ["class", "modelKey", "disabled", "expr", "expr-echo"])) : createCommentVNode("", true)
462
+ ], 64)) : createCommentVNode("", true)
463
+ ], 2);
464
+ };
465
+ }
466
+ });
467
+ const DateRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0d979f2b"]]);
468
+ export {
469
+ DateFormatEditor as D,
470
+ DateRangeEditor as a
471
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock } from "vue";
2
- import { F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
3
  import dayjs from "dayjs";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "date-time-design",