@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,8 +1,9 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useModelFields, f as useSpreadSheet, b as useDrop, p as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, q as SingleDrop, c as getFieldIcon } from "./index-Cw_YFCZT.js";
4
- import { m as PaperWidgeValueType, X as ExpressionModeEnum, Y as ExpressionTabEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
+ import { u as useModelFields, f as useSpreadSheet, b as useDrop, p as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, q as SingleDrop, c as getFieldIcon } from "./index-Dk-CUvB9.js";
4
+ import { m as PaperWidgeValueType, X as ExpressionModeEnum, Y as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  import "dayjs";
6
+ import "ant-design-vue";
6
7
  const _hoisted_1 = { class: "mt-4px" };
7
8
  const _hoisted_2 = ["id"];
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,9 @@
1
1
  import { createVNode, defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, withCtx, withKeys, normalizeClass, toDisplayString, createTextVNode, createCommentVNode, Fragment, renderList, normalizeStyle, computed, createBlock, withModifiers, toRaw, unref, nextTick, mergeProps, h } from "vue";
2
- import { t as FormTypeEnum, i as api, D as useModal, _ as _export_sfc, bm as FormDesignEnum, E as useNamespace, aQ as ControlStatusEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { v as FormTypeEnum, i as api, u as useModal, _ as _export_sfc, bT as FormDesignEnum, G as useNamespace, aX as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
3
  import { orderBy, isArray, cloneDeep } from "lodash-es";
4
4
  import "dayjs";
5
- import { I as Icon } from "./AntdIcon-C3RMq2zm.js";
6
5
  import { Form } from "ant-design-vue";
6
+ import { I as Icon } from "./AntdIcon-C3RMq2zm.js";
7
7
  var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
8
8
  SEARCH_SEVICE2["EQ"] = "eq";
9
9
  SEARCH_SEVICE2["IEQ"] = "iEq";
@@ -1,11 +1,11 @@
1
- import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-DFgGQBCZ.js";
2
- import { A, B, l, m, P, n, p, q, j, i, a } from "../index-DFgGQBCZ.js";
1
+ import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-Bm6Hdoud.js";
2
+ import { A, B, l, P, m, n, p, j, i, a } from "../index-Bm6Hdoud.js";
3
3
  import { message, Modal } from "ant-design-vue";
4
- import { i as api, D as useModal, E as useNamespace, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
+ import { i as api, u as useModal, G as useNamespace, _ as _export_sfc } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  import { createVNode, defineComponent, ref, reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, withCtx, computed, createBlock, mergeProps, createElementVNode, toDisplayString, createCommentVNode, createTextVNode } from "vue";
6
6
  import "lodash-es";
7
7
  import dayjs from "dayjs";
8
- import { a as FormAnnotationController } from "../form-annotation-controller-CoABDD4X.js";
8
+ import { a as FormAnnotationController } from "../form-annotation-controller-Zw6OoPLe.js";
9
9
  import { I as Icon } from "../AntdIcon-C3RMq2zm.js";
10
10
  var PrintModeEnum = /* @__PURE__ */ ((PrintModeEnum2) => {
11
11
  PrintModeEnum2["ASYNC"] = "async";
@@ -21,7 +21,8 @@ const printPolling = useSingletonPolling();
21
21
  async function formPrint(tmplInstantId, printConfig) {
22
22
  const key = await api.apaas.fileTask.postSubmit({
23
23
  tmplInstantId,
24
- type: "FORM"
24
+ type: "FORM",
25
+ showPrintFieldBg: printConfig?.showPrintFieldBg
25
26
  });
26
27
  if (!key) return;
27
28
  const hide = message.loading("打印中...", 0);
@@ -1082,13 +1083,12 @@ export {
1082
1083
  B as BomViewerModal,
1083
1084
  l as CommonScanModal,
1084
1085
  FileModeEnum,
1085
- m as MaterialConsumeScanModal,
1086
1086
  P as ParseRuleModal,
1087
1087
  PrintModeEnum,
1088
- n as StocktakeScanModal,
1089
- p as StocktakeWebRender,
1088
+ m as StocktakeScanModal,
1089
+ n as StocktakeWebRender,
1090
1090
  formPrint,
1091
- q as initRenderToAdapter,
1091
+ p as initRenderToAdapter,
1092
1092
  j as initWebNocodeAdapter,
1093
1093
  i as initWebPaasUploadApis,
1094
1094
  useWebAnnotation,
@@ -1,10 +1,11 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { f as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-8rhhfLv7.js";
4
- import { a as PaperWidgeType } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { f as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js";
4
+ import { a as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
- import { A as AlignEditor } from "./align-editor-BaNT0jhx.js";
7
+ import "ant-design-vue";
8
+ import { A as AlignEditor } from "./align-editor-D_LtYlh3.js";
8
9
  const _hoisted_1 = { class: "pl-6px" };
9
10
  const _hoisted_2 = { class: "flex justify-end" };
10
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, S as SelectEx } from "./index-Cw_YFCZT.js";
2
+ import { F as FormItem, S as SelectEx } from "./index-Dk-CUvB9.js";
3
3
  import { defaults } from "lodash-es";
4
- import { E as useNamespace, F as FIELD_TYPE, _ as _export_sfc, K as DiagonalDirection } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
+ import { G as useNamespace, F as FIELD_TYPE, _ as _export_sfc, K as DiagonalDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  import "dayjs";
6
- import { S as SingleFieldDrop } from "./single-field-drop-COLR9RIu.js";
7
6
  import { message } from "ant-design-vue";
7
+ import { S as SingleFieldDrop } from "./single-field-drop-CiPUMT9B.js";
8
8
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "diagonal-name-editor",
10
10
  props: {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
2
- import { L as LeftOutlined, R as RightOutlined, r as isClient, f as useSpreadSheet, F as FormItem, s as ImgParser } from "./index-Cw_YFCZT.js";
3
- import { S as SizeEditor } from "./size-editor-DyGGEX3s.js";
2
+ import { L as LeftOutlined, R as RightOutlined, r as isClient, f as useSpreadSheet, F as FormItem, s as ImgParser } from "./index-Dk-CUvB9.js";
3
+ import { S as SizeEditor } from "./size-editor-B5aunbUM.js";
4
4
  import { message } from "ant-design-vue";
5
- import { W as WidgetImageSizeMode, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
+ import { W as WidgetImageSizeMode, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
- import { a as useWebUpload } from "./index-DFgGQBCZ.js";
9
- import { C as CloseOutlined } from "./version-select-dvsx-Ifv.js";
8
+ import { a as useWebUpload } from "./index-Bm6Hdoud.js";
9
+ import { C as CloseOutlined } from "./version-select-CL3QQGND.js";
10
10
  const resumeSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307154239'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7317'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M316%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208zM512%20622c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039zM512%20482c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039z'%20p-id='7318'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M880%20112H144c-17.7%200-32%2014.3-32%2032v736c0%2017.7%2014.3%2032%2032%2032h736c17.7%200%2032-14.3%2032-32V144c0-17.7-14.3-32-32-32z%20m-40%20728H184V184h656v656z'%20p-id='7319'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M648%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208z'%20p-id='7320'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
11
11
  const rotateSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595306944988'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1820'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M1464.3%20279.7'%20p-id='1821'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M512%20960c-60.5%200-119.1-11.9-174.4-35.2-53.4-22.6-101.3-54.9-142.4-96s-73.4-89-96-142.4C75.9%20631.1%2064%20572.5%2064%20512s11.9-119.1%2035.2-174.4c22.6-53.4%2054.9-101.3%2096-142.4s89-73.4%20142.4-96C392.9%2075.9%20451.5%2064%20512%2064s119.1%2011.9%20174.4%2035.2c53.4%2022.6%20101.3%2054.9%20142.4%2096s73.4%2089%2096%20142.4C948.1%20392.9%20960%20451.5%20960%20512c0%2019.1-15.5%2034.6-34.6%2034.6s-34.6-15.5-34.6-34.6c0-51.2-10-100.8-29.8-147.4-19.1-45.1-46.4-85.6-81.2-120.4C745%20209.4%20704.5%20182%20659.4%20163c-46.7-19.7-96.3-29.8-147.4-29.8-51.2%200-100.8%2010-147.4%2029.8-45.1%2019.1-85.6%2046.4-120.4%2081.2S182%20319.5%20163%20364.6c-19.7%2046.7-29.8%2096.3-29.8%20147.4%200%2051.2%2010%20100.8%2029.8%20147.4%2019.1%2045.1%2046.4%2085.6%2081.2%20120.4C279%20814.6%20319.5%20842%20364.6%20861c46.7%2019.7%2096.3%2029.8%20147.4%2029.8%2064.6%200%20128.4-16.5%20184.4-47.8%2054.4-30.4%20100.9-74.1%20134.6-126.6%2010.3-16.1%2031.7-20.8%2047.8-10.4%2016.1%2010.3%2020.8%2031.7%2010.4%2047.8-39.8%2062-94.8%20113.7-159.1%20149.6-66.2%2037-141.7%2056.6-218.1%2056.6z'%20p-id='1822'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M924%20552c-19.8%200-36-16.2-36-36V228c0-19.8%2016.2-36%2036-36s36%2016.2%2036%2036v288c0%2019.8-16.2%2036-36%2036zM275.4%20575.5c9.5-2.5%2019.1%202.9%2022.3%2012.2%203.5%2010.2%209.9%2017.7%2019.1%2022.6%207.1%203.9%2015.1%205.8%2024%205.8%2016.6%200%2030.8-6.9%2042.5-20.8%2011.7-13.8%2020-32.7%2024.9-75.1-7.7%2012.2-17.3%2020.8-28.7%2025.8-11.4%205-23.7%207.4-36.8%207.4-26.7%200-47.7-8.3-63.3-24.9-15.5-16.6-23.3-37.9-23.3-64.1%200-25.1%207.7-47.1%2023-66.2%2015.3-19%2037.9-28.6%2067.8-28.6%2040.3%200%2068.1%2018.1%2083.4%2054.4%208.5%2019.9%2012.7%2044.9%2012.7%2074.9%200%2033.8-5.1%2063.8-15.3%2089.9-16.9%2043.5-45.5%2065.2-85.8%2065.2-27%200-47.6-7.1-61.6-21.2-10-10.1-16.4-22-19.3-35.8-2-9.6%204-19.1%2013.5-21.6l0.9%200.1z%20m103-74.4c9.4-7.5%2014.1-20.6%2014.1-39.3%200-16.8-4.2-29.3-12.7-37.5S360.6%20412%20347.5%20412c-14%200-25.2%204.7-33.4%2014.1-8.2%209.4-12.4%2022-12.4%2037.7%200%2014.9%203.6%2026.7%2010.9%2035.5%207.2%208.8%2018.8%2013.1%2034.6%2013.1%2011.4%200%2021.8-3.8%2031.2-11.3zM646.6%20414.4c12.4%2022.8%2018.5%2054%2018.5%2093.7%200%2037.6-5.6%2068.7-16.8%2093.3-16.2%2035.3-42.8%2052.9-79.6%2052.9-33.2%200-57.9-14.4-74.2-43.3-13.5-24.1-20.3-56.4-20.3-97%200-31.4%204.1-58.4%2012.2-80.9%2015.2-42%2042.7-63%2082.5-63%2035.9%200%2061.8%2014.8%2077.7%2044.3z%20m-40.2%20173.3c9.4-13.9%2014-39.9%2014-78%200-27.4-3.4-50-10.1-67.7-6.8-17.7-19.9-26.6-39.4-26.6-17.9%200-31%208.4-39.3%2025.2-8.3%2016.8-12.4%2041.6-12.4%2074.3%200%2024.6%202.6%2044.4%207.9%2059.4%208.1%2022.8%2022%2034.3%2041.6%2034.3%2015.7%200%2028.3-7%2037.7-20.9zM803.3%20387.2c11.2%2011.3%2016.8%2025%2016.8%2041.2%200%2016.7-5.8%2030.7-17.5%2041.8C791%20481.4%20777.4%20487%20762%20487c-17.1%200-31.2-5.8-42.1-17.4-10.9-11.6-16.4-25.1-16.4-40.6%200-16.5%205.8-30.4%2017.3-41.7%2011.5-11.3%2025.3-17%2041.2-17%2016.3%200%2030.1%205.7%2041.3%2016.9zM739.5%20451c6.2%206.2%2013.7%209.3%2022.5%209.3%208.4%200%2015.8-3.1%2022.1-9.3%206.3-6.2%209.4-13.7%209.4-22.6%200-8.5-3.1-15.9-9.3-22.1-6.2-6.2-13.6-9.3-22.2-9.3s-16.1%203.1-22.4%209.3c-6.3%206.2-9.4%2013.7-9.4%2022.6-0.1%208.4%203%2015.8%209.3%2022.1z'%20p-id='1823'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
12
12
  const scaleSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307195033'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8116'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M887.081%20904.791a25.8%2025.8%200%200%201-18.376-7.619L705.618%20734.075l-4.163%203.369c-58.255%2047.18-131.522%2073.16-206.32%2073.16-181.07%200-328.377-147.308-328.377-328.367%200-181.068%20147.308-328.376%20328.377-328.376%20181.063%200%20328.376%20147.308%20328.376%20328.376%200%2077.072-27.412%20152.07-77.169%20211.17l-3.522%204.173%20162.719%20162.744a25.846%2025.846%200%200%201%207.639%2018.432%2026.081%2026.081%200%200%201-26.051%2026.045l-0.046-0.01zM495.13%20205.957c-152.336%200-276.27%20123.935-276.27%20276.27%200%20152.33%20123.934%20276.27%20276.27%20276.27%20152.34%200%20276.275-123.94%20276.275-276.27%200-152.335-123.935-276.27-276.275-276.27z'%20fill='%23ffffff'%20p-id='8117'%3e%3c/path%3e%3cpath%20d='M626.545%20508.355h-262.83a26.127%2026.127%200%200%201%200-52.255h262.83a26.127%2026.127%200%200%201%200%2052.255z'%20fill='%23ffffff'%20p-id='8118'%3e%3c/path%3e%3cpath%20d='M495.13%20639.77a26.127%2026.127%200%200%201-26.128-26.128v-262.83a26.127%2026.127%200%200%201%2052.255%200v262.835a26.127%2026.127%200%200%201-26.127%2026.123z'%20fill='%23ffffff'%20p-id='8119'%3e%3c/path%3e%3c/svg%3e";
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, normalizeClass, toDisplayString, renderList, createBlock, normalizeStyle } from "vue";
2
- import { M as LineDirection } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { M as LineDirection } 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 { F as FormItem, v as LineStyleOptions, w as ColorPicker } from "./index-Cw_YFCZT.js";
5
+ import "ant-design-vue";
6
+ import { F as FormItem, v as LineStyleOptions, w as ColorPicker } from "./index-Dk-CUvB9.js";
6
7
  const _hoisted_1 = { class: "ks-row-middle" };
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  __name: "widget-line",
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
2
- import { P as PaginationFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { P as PaginationFormat } 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 { F as FormItem, x as PaginationFormatOptions } from "./index-Cw_YFCZT.js";
6
- import { S as SizeEditor } from "./size-editor-DyGGEX3s.js";
7
- import { A as AlignEditor } from "./align-editor-BaNT0jhx.js";
8
- import { F as FontEditor } from "./font-editor-DgGgvmB2.js";
5
+ import "ant-design-vue";
6
+ import { F as FormItem, x as PaginationFormatOptions } from "./index-Dk-CUvB9.js";
7
+ import { S as SizeEditor } from "./size-editor-B5aunbUM.js";
8
+ import { A as AlignEditor } from "./align-editor-D_LtYlh3.js";
9
+ import { F as FontEditor } from "./font-editor-BaRVmXey.js";
9
10
  const _hoisted_1 = { class: "pl-6px" };
10
11
  const _hoisted_2 = { class: "pl-6px" };
11
12
  const DefaultCustomFormat = "Page ${no} / ${total}";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { f as useSpreadSheet, h as useReverseModeling, F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-COLR9RIu.js";
4
- import { F as FIELD_TYPE, E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { f as useSpreadSheet, h as useReverseModeling, F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-CiPUMT9B.js";
4
+ import { F as FIELD_TYPE, G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  import { message } from "ant-design-vue";
6
6
  import "lodash-es";
7
7
  import "dayjs";
@@ -1,9 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
2
- import { f as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-8rhhfLv7.js";
4
- import { a as PaperWidgeType } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { f as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js";
4
+ import { a as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
+ import "ant-design-vue";
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  __name: "widget-qrcode",
9
10
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-COLR9RIu.js";
4
- import { F as FIELD_TYPE, E as useNamespace, _ 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 { S as SingleFieldDrop } from "./single-field-drop-CiPUMT9B.js";
4
+ import { F as FIELD_TYPE, G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  import { message } from "ant-design-vue";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "widget-rangelimit",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-Cw_YFCZT.js";
2
+ import { F as FormItem } from "./index-Dk-CUvB9.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "widget-serialnumber",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
2
- import { f as useSpreadSheet, F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-8rhhfLv7.js";
4
- import { S as SizeEditor } from "./size-editor-DyGGEX3s.js";
5
- import { A as AlignEditor } from "./align-editor-BaNT0jhx.js";
6
- import { F as FontEditor } from "./font-editor-DgGgvmB2.js";
2
+ import { f as useSpreadSheet, F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js";
4
+ import { S as SizeEditor } from "./size-editor-B5aunbUM.js";
5
+ import { A as AlignEditor } from "./align-editor-D_LtYlh3.js";
6
+ import { F as FontEditor } from "./font-editor-BaRVmXey.js";
7
7
  const _hoisted_1 = { class: "pl-6px" };
8
8
  const _hoisted_2 = { class: "pl-6px" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { f as useSpreadSheet, u as useModelFields, F as FormItem } from "./index-Cw_YFCZT.js";
3
- import { F as FIELD_TYPE, T as TimeDiffFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { f as useSpreadSheet, u as useModelFields, F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { F as FIELD_TYPE, T as TimeDiffFormat } 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: "widget-timediff",
8
9
  props: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/excel",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "GCT Excel online form rendering",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,83 +0,0 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode } from "vue";
2
- import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
- import { F as FormItem } from "./index-Cw_YFCZT.js";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "base-font-editor",
6
- props: {
7
- fontSize: {},
8
- letterSpace: {},
9
- noLetterSpace: { type: Boolean },
10
- disabled: { type: Boolean }
11
- },
12
- emits: ["update:fontSize", "update:letterSpace"],
13
- setup(__props, { emit: __emit }) {
14
- const ns = useNamespace("base-font-editor");
15
- const props = __props;
16
- const emit = __emit;
17
- const fontSizeOptions = Array.from({ length: 8 }, (_, i) => i * 2 + 10).map((num) => ({
18
- label: num,
19
- value: num
20
- }));
21
- const _fontSize = computed({
22
- get() {
23
- return props.fontSize;
24
- },
25
- set(v) {
26
- emit("update:fontSize", v);
27
- }
28
- });
29
- const _letterSpace = computed({
30
- get() {
31
- return props.letterSpace;
32
- },
33
- set(v) {
34
- emit("update:letterSpace", v);
35
- }
36
- });
37
- return (_ctx, _cache) => {
38
- const _component_a_select = resolveComponent("a-select");
39
- const _component_a_input_number = resolveComponent("a-input-number");
40
- return openBlock(), createElementBlock("div", {
41
- class: normalizeClass([unref(ns).b()])
42
- }, [
43
- createVNode(FormItem, {
44
- class: normalizeClass(unref(ns).e("item")),
45
- inline: false,
46
- label: _ctx.$t("sys.cardDesign.cfg_form.size_mode")
47
- }, {
48
- default: withCtx(() => [
49
- createVNode(_component_a_select, {
50
- value: _fontSize.value,
51
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => _fontSize.value = $event),
52
- options: unref(fontSizeOptions),
53
- size: "small",
54
- disabled: __props.disabled,
55
- placeholder: _ctx.$t("sys.inputText")
56
- }, null, 8, ["value", "options", "disabled", "placeholder"])
57
- ]),
58
- _: 1
59
- }, 8, ["class", "label"]),
60
- !__props.noLetterSpace ? (openBlock(), createBlock(FormItem, {
61
- key: 0,
62
- class: normalizeClass(unref(ns).e("item")),
63
- inline: false,
64
- label: _ctx.$t("sys.onlineForm.spacing")
65
- }, {
66
- default: withCtx(() => [
67
- createVNode(_component_a_input_number, {
68
- value: _letterSpace.value,
69
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => _letterSpace.value = $event),
70
- disabled: __props.disabled,
71
- precision: 0
72
- }, null, 8, ["value", "disabled"])
73
- ]),
74
- _: 1
75
- }, 8, ["class", "label"])) : createCommentVNode("", true)
76
- ], 2);
77
- };
78
- }
79
- });
80
- const BaseFontEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ade86355"]]);
81
- export {
82
- BaseFontEditor as B
83
- };
@@ -1,25 +0,0 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode } from "vue";
2
- import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
- import { P as PlusOutlined } from "./index-Cw_YFCZT.js";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "cell-upload",
6
- props: {
7
- disabled: { type: Boolean }
8
- },
9
- setup(__props) {
10
- const ns = useNamespace("cell-upload");
11
- return (_ctx, _cache) => {
12
- return openBlock(), createElementBlock("div", {
13
- class: normalizeClass([unref(ns).b(), __props.disabled && unref(ns).m("disabled")])
14
- }, [
15
- createVNode(unref(PlusOutlined), {
16
- class: normalizeClass(["iconfont", "icon-a-", unref(ns).e("add-icon")])
17
- }, null, 8, ["class"])
18
- ], 2);
19
- };
20
- }
21
- });
22
- const CellUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3eba04bd"]]);
23
- export {
24
- CellUpload as C
25
- };
@@ -1,240 +0,0 @@
1
- import { watch, computed, defineComponent, toRefs, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, isRef, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
- import { F as FormItem } from "./index-Cw_YFCZT.js";
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
- const DateFormatSeparators = ["-", "/", "."];
5
- const DateFormatTemplates = [
6
- { value: "YYYY", supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE] },
7
- {
8
- value: "YYYY${sep}MM",
9
- supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE]
10
- },
11
- {
12
- value: "YYYY${sep}MM${sep}DD",
13
- supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE]
14
- },
15
- { value: "YYYY${sep}MM${sep}DD HH", supportFieldTypes: [FIELD_TYPE.DATE_TIME] },
16
- {
17
- value: "YYYY${sep}MM${sep}DD HH:mm",
18
- supportFieldTypes: [FIELD_TYPE.DATE_TIME]
19
- },
20
- {
21
- value: "YYYY${sep}MM${sep}DD HH:mm:ss",
22
- supportFieldTypes: [FIELD_TYPE.DATE_TIME]
23
- },
24
- { value: "HH", supportFieldTypes: [FIELD_TYPE.TIME] },
25
- { value: "HH:mm", supportFieldTypes: [FIELD_TYPE.TIME] },
26
- { value: "HH:mm:ss", supportFieldTypes: [FIELD_TYPE.TIME] }
27
- ];
28
- function calcFinalFormat(template, separator) {
29
- return template.replace(/\${sep}/g, separator);
30
- }
31
- function setWidgetDefault(widget, type) {
32
- if (!widget.customFormat && !widget.format) {
33
- if (!widget.formatSeparator) {
34
- widget.formatSeparator = DateFormatSeparators[0];
35
- }
36
- if (!widget.formatTemplate) {
37
- let defaultFormatTemplate;
38
- switch (type) {
39
- case FIELD_TYPE.TIME:
40
- defaultFormatTemplate = "HH:mm:ss";
41
- break;
42
- case FIELD_TYPE.DATE_TIME:
43
- defaultFormatTemplate = "YYYY${sep}MM${sep}DD HH:mm:ss";
44
- break;
45
- case FIELD_TYPE.DATE:
46
- case FIELD_TYPE.WAREHOUSE_RECEIPT_DATE:
47
- default:
48
- defaultFormatTemplate = "YYYY${sep}MM${sep}DD";
49
- }
50
- widget.formatTemplate = defaultFormatTemplate;
51
- }
52
- if (!widget.format) {
53
- widget.format = calcFinalFormat(widget.formatTemplate, widget.formatSeparator);
54
- }
55
- }
56
- }
57
- function useDateFormatEditor(formState, fieldType) {
58
- watch(
59
- formState,
60
- () => {
61
- setWidgetDefault(formState.value, fieldType.value);
62
- },
63
- { immediate: true }
64
- );
65
- const setCustom = (isCustom) => {
66
- if (isCustom === formState.value.customFormat) {
67
- return;
68
- }
69
- formState.value.customFormat = isCustom;
70
- if (isCustom) {
71
- formState.value.format = void 0;
72
- } else {
73
- formState.value.format = void 0;
74
- }
75
- };
76
- const calcAndSetFormat = () => {
77
- if (formState.value.formatSeparator && formState.value.formatTemplate) {
78
- formState.value.format = calcFinalFormat(
79
- formState.value.formatTemplate,
80
- formState.value.formatSeparator
81
- );
82
- }
83
- };
84
- const separatorValue = computed({
85
- get() {
86
- return formState.value.formatSeparator;
87
- },
88
- set(v) {
89
- setCustom(false);
90
- formState.value.formatSeparator = v;
91
- calcAndSetFormat();
92
- }
93
- });
94
- const templateValue = computed({
95
- get() {
96
- return formState.value.formatTemplate;
97
- },
98
- set(v) {
99
- setCustom(false);
100
- formState.value.formatTemplate = v;
101
- calcAndSetFormat();
102
- }
103
- });
104
- const customFormat = computed({
105
- get() {
106
- return !!formState.value.customFormat;
107
- },
108
- set(v) {
109
- if (v) {
110
- setCustom(true);
111
- } else {
112
- setCustom(false);
113
- }
114
- }
115
- });
116
- const templateOptions = computed(() => {
117
- if (!separatorValue.value) {
118
- return [];
119
- }
120
- return DateFormatTemplates.filter(
121
- (item) => item.supportFieldTypes.includes(fieldType.value)
122
- ).map((item) => {
123
- return {
124
- label: calcFinalFormat(item.value, separatorValue.value),
125
- value: item.value
126
- };
127
- });
128
- });
129
- const separatorOptions = DateFormatSeparators.map((separator) => ({
130
- label: separator,
131
- value: separator
132
- }));
133
- return {
134
- separatorValue,
135
- templateValue,
136
- separatorOptions,
137
- templateOptions,
138
- customFormat
139
- };
140
- }
141
- const _hoisted_1 = { class: "date-format-editor__switch" };
142
- const _hoisted_2 = { class: "date-format-editor__switch_text" };
143
- const _sfc_main = /* @__PURE__ */ defineComponent({
144
- __name: "date-format-editor",
145
- props: {
146
- widget: {},
147
- fieldType: {},
148
- disabled: { type: Boolean }
149
- },
150
- setup(__props) {
151
- const props = __props;
152
- const { widget, fieldType } = toRefs(props);
153
- const { customFormat, separatorValue, templateValue, separatorOptions, templateOptions } = useDateFormatEditor(widget, fieldType);
154
- return (_ctx, _cache) => {
155
- const _component_a_switch = resolveComponent("a-switch");
156
- const _component_a_select = resolveComponent("a-select");
157
- const _component_a_col = resolveComponent("a-col");
158
- const _component_a_input = resolveComponent("a-input");
159
- const _component_a_row = resolveComponent("a-row");
160
- return openBlock(), createBlock(FormItem, {
161
- class: "date-format-editor",
162
- label: _ctx.$t("sys.component.fieldTypeProps.dateFormat"),
163
- inline: false
164
- }, {
165
- label: withCtx(() => [
166
- createElementVNode("span", null, toDisplayString(_ctx.$t("sys.component.fieldTypeProps.dateFormat")), 1),
167
- createElementVNode("div", _hoisted_1, [
168
- createElementVNode("span", _hoisted_2, toDisplayString(_ctx.$t("sys.customize")), 1),
169
- createVNode(_component_a_switch, {
170
- size: "small",
171
- checked: unref(customFormat),
172
- "onUpdate:checked": _cache[0] || (_cache[0] = ($event) => isRef(customFormat) ? customFormat.value = $event : null),
173
- disabled: __props.disabled
174
- }, null, 8, ["checked", "disabled"])
175
- ])
176
- ]),
177
- default: withCtx(() => [
178
- createVNode(_component_a_row, null, {
179
- default: withCtx(() => [
180
- !unref(customFormat) ? (openBlock(), createBlock(_component_a_col, {
181
- key: 0,
182
- span: 5
183
- }, {
184
- default: withCtx(() => [
185
- createVNode(_component_a_select, {
186
- class: "date-format-editor__separator",
187
- size: "small",
188
- value: unref(separatorValue),
189
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => isRef(separatorValue) ? separatorValue.value = $event : null),
190
- options: unref(separatorOptions),
191
- disabled: __props.disabled
192
- }, null, 8, ["value", "options", "disabled"])
193
- ]),
194
- _: 1
195
- })) : createCommentVNode("", true),
196
- !unref(customFormat) ? (openBlock(), createBlock(_component_a_col, {
197
- key: 1,
198
- span: 19
199
- }, {
200
- default: withCtx(() => [
201
- createVNode(_component_a_select, {
202
- class: "date-format-editor__template",
203
- size: "small",
204
- value: unref(templateValue),
205
- "onUpdate:value": _cache[2] || (_cache[2] = ($event) => isRef(templateValue) ? templateValue.value = $event : null),
206
- options: unref(templateOptions),
207
- disabled: __props.disabled
208
- }, null, 8, ["value", "options", "disabled"])
209
- ]),
210
- _: 1
211
- })) : createCommentVNode("", true),
212
- !!unref(customFormat) ? (openBlock(), createBlock(_component_a_col, {
213
- key: 2,
214
- span: 24
215
- }, {
216
- default: withCtx(() => [
217
- createVNode(_component_a_input, {
218
- class: "date-format-editor__custom",
219
- size: "small",
220
- value: unref(widget).format,
221
- "onUpdate:value": _cache[3] || (_cache[3] = ($event) => unref(widget).format = $event),
222
- disabled: __props.disabled,
223
- placeholder: _ctx.$t("sys.pleaseInputSth", { sth: _ctx.$t("sys.component.fieldTypeProps.dateFormat") })
224
- }, null, 8, ["value", "disabled", "placeholder"])
225
- ]),
226
- _: 1
227
- })) : createCommentVNode("", true)
228
- ]),
229
- _: 1
230
- })
231
- ]),
232
- _: 1
233
- }, 8, ["label"]);
234
- };
235
- }
236
- });
237
- const DateFormatEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-49f9bd2f"]]);
238
- export {
239
- DateFormatEditor as D
240
- };