@gct-paas/excel 0.1.18 → 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 (163) hide show
  1. package/dist/{VueVideoPlayer-D3u-ZHom.js → VueVideoPlayer-Bt1Le9qP.js} +2 -2
  2. package/dist/{agg-design-D7CkIPCA.js → agg-design-B_5evAJ0.js} +1 -1
  3. package/dist/{agg-props-DNNO9ucx.js → agg-props-C62Ecenu.js} +1 -1
  4. package/dist/{agg-style-v_94dzX8.js → agg-style-Q0xSL8Ye.js} +1 -1
  5. package/dist/{align-editor-COpCDpFf.js → align-editor-D_LtYlh3.js} +1 -1
  6. package/dist/{attach-fields-editor-o_7W-2sr.js → attach-fields-editor-3v3VNOfe.js} +2 -2
  7. package/dist/{barcode-design-CvsGGAio.js → barcode-design-lusKmMnv.js} +3 -2
  8. package/dist/base/index.es.js +63 -138
  9. package/dist/base-font-editor-DmasOst9.js +119 -0
  10. package/dist/{boolean-design-Hc8Es5l1.js → boolean-design-BqGJVhKn.js} +3 -2
  11. package/dist/{boolean-props-CGamLGXA.js → boolean-props-DS7J4GHS.js} +3 -3
  12. package/dist/{boolean-style-m-WuSO6S.js → boolean-style-C9FslVV7.js} +5 -4
  13. package/dist/cell-upload-BFw5Yg_j.js +33 -0
  14. package/dist/{date-range-editor-BZkhUU-x.js → date-range-editor-PmJBHc8i.js} +3 -2
  15. package/dist/{date-time-design-B_oFOcft.js → date-time-design-DQ_Z-xUx.js} +1 -1
  16. package/dist/{date-time-props-hGnSGQKc.js → date-time-props-DfZoJukN.js} +3 -3
  17. package/dist/{date-time-style-CGKG8i3K.js → date-time-style-Doye-MHk.js} +1 -1
  18. package/dist/{decimal-design-B5Artgk6.js → decimal-design-Bg-tdrtL.js} +7 -3
  19. package/dist/{decimal-display-mode-C4XUezoP.js → decimal-display-mode-D_K6_XX1.js} +3 -2
  20. package/dist/{decimal-props-Q37uOcWl.js → decimal-props-4QveEdf3.js} +5 -4
  21. package/dist/{decimal-style-C2CnGPVG.js → decimal-style-B-n8SfAy.js} +1 -1
  22. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-DTnbLBVW.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B3GvGAje.js} +3 -2
  23. package/dist/{diagonal-design-CyUvkcvp.js → diagonal-design-B_l3lV5s.js} +2 -2
  24. package/dist/{double-design-D_ipWcRm.js → double-design-BaWZXLjK.js} +6 -3
  25. package/dist/{double-props-D4FGbfe2.js → double-props-sDsBpAER.js} +4 -4
  26. package/dist/{double-style-BbD_6_Os.js → double-style--oSjQw07.js} +1 -1
  27. package/dist/{document-sub-table-action-Cy6Rd8OS.js → dynamic-table-action-zLjamAaN.js} +746 -467
  28. package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js} +50 -47
  29. package/dist/{edit.utils-CXmmCnxE-BK4QnSP-.js → edit.utils-CXmmCnxE-BrwRVXLT.js} +1 -1
  30. package/dist/{enum-design-lOufLU6Z.js → enum-design-BgVuHvvu.js} +13 -7
  31. package/dist/{enum-props-brKRP5Uz.js → enum-props-DYN6LsLg.js} +4 -4
  32. package/dist/{enum-style-BQQHkDUD.js → enum-style-D56_-gMw.js} +37 -9
  33. package/dist/excel.css +565 -252
  34. package/dist/{exceljs.min-CUwGyNAf.js → exceljs.min-DQkwXbni.js} +2 -2
  35. package/dist/{expression-design-BPEci3dg.js → expression-design-CIMwIArR.js} +1 -1
  36. package/dist/{expression-props-Cvg-9V-B.js → expression-props--l3LwKAM.js} +1 -1
  37. package/dist/{expression-style-Dv3Hl8lm.js → expression-style-CjM5oro9.js} +1 -1
  38. package/dist/{file-design-BIzi6cpq.js → file-design-BYcXA55B.js} +1 -1
  39. package/dist/{file-props-oV2U7bpO.js → file-props-DvsQZUcL.js} +2 -2
  40. package/dist/{file-style-CZrxokgP.js → file-style-BiWmCsMZ.js} +1 -1
  41. package/dist/{font-editor-B41KgpWJ.js → font-editor-BaRVmXey.js} +3 -3
  42. package/dist/{form-annotation-controller-CdNmJKv-.js → form-annotation-controller-Zw6OoPLe.js} +3 -2
  43. package/dist/{image-design-C3FEtW6i.js → image-design-Bad-BXel.js} +3 -2
  44. package/dist/{image-design-DMfBfSkD.js → image-design-Dr_w89Hq.js} +2 -2
  45. package/dist/{image-props-DPibJk7n.js → image-props-4lKEAwDq.js} +1 -1
  46. package/dist/{image-style-DLudd5Vt.js → image-style-LoHD1zvr.js} +1 -1
  47. package/dist/{index-B1CG-75q.js → index--Bxx_VqV.js} +3 -2
  48. package/dist/{index-BgZkpQKh.js → index-3qfB5NN-.js} +2 -1
  49. package/dist/{index-DsNRjyQD.js → index-B-2N8GeG.js} +2 -1
  50. package/dist/{index-BiNVmD5v.js → index-B3YoA1vo.js} +2 -1
  51. package/dist/{index-CUIGN7Rt.js → index-B9IMST50.js} +2 -1
  52. package/dist/{index-DPQkm6_v.js → index-BSfbsA-W.js} +2 -1
  53. package/dist/{index-DHVK-P9J.js → index-BZYuG4zS.js} +2 -1
  54. package/dist/{index-BOis3jsA.js → index-B_VejD7m.js} +4 -1
  55. package/dist/{index-B8wKNUsK.js → index-Bki98NXv.js} +2 -1
  56. package/dist/{index-CtiiIgjs.js → index-Bm6Hdoud.js} +53 -110
  57. package/dist/{index-oSIIidoF.js → index-BsUkUBZV.js} +2 -1
  58. package/dist/{index-Cn_c3-eW.js → index-Bsjegt_0.js} +2 -1
  59. package/dist/{index-rXMzwu77.js → index-ByXwQO9g.js} +5 -2
  60. package/dist/{index-CkYbgRrH.js → index-C6mtZJIQ.js} +2 -1
  61. package/dist/{index-D7fFpHaN.js → index-C7KdVTwU.js} +2 -1
  62. package/dist/{index-B1r6-Uxf.js → index-CEufXc_2.js} +2 -1
  63. package/dist/{index-D0YZX_c7.js → index-CH--dgZ4.js} +2 -1
  64. package/dist/{index-Bppcm2iQ.js → index-COiTpNXf.js} +2 -1
  65. package/dist/{index-BZ1jj7Nu.js → index-CP099vf_.js} +2 -1
  66. package/dist/{index-DH_EZe8p.js → index-CQ7Hcly4.js} +2 -1
  67. package/dist/{index-Cp7mC3Qt.js → index-CcLTIQGc.js} +2 -1
  68. package/dist/{index-DAqYc474.js → index-Ce0SltjH.js} +2 -1
  69. package/dist/{index-B7lz2J6V.js → index-CqjhgxKH.js} +2 -1
  70. package/dist/{index-Cjz0GLDq.js → index-D-mFMP7t.js} +3 -2
  71. package/dist/{index-DFoELlwd.js → index-D4Yb4Urx.js} +2 -1
  72. package/dist/{index-I_FRG0Ho.js → index-D9CHdykS.js} +2 -1
  73. package/dist/{index-B8ey1U_N.js → index-DDnUeBCP.js} +2 -1
  74. package/dist/{index-vZZ5q2xJ.js → index-DRYxbbtG.js} +2 -1
  75. package/dist/{index-yih5hGsL.js → index-Dk-CUvB9.js} +2910 -2545
  76. package/dist/{index-Bvjplnz_.js → index-DpPrrfLV.js} +2 -1
  77. package/dist/{index-C5bYd42n.js → index-Dq72GFzs.js} +3 -2
  78. package/dist/{index-DDpNgyvD.js → index-Vx5npC-J.js} +3 -2
  79. package/dist/{index-DJIzgsog.js → index-pPTh0-mL.js} +2 -1
  80. package/dist/index.es.js +2 -2
  81. package/dist/{integer-design-DhkNa9IA.js → integer-design-C2EkL0hc.js} +6 -3
  82. package/dist/{integer-props-c_aQpjaT.js → integer-props-Cs-CvjQS.js} +5 -4
  83. package/dist/{integer-style-CS5v7Bhq.js → integer-style-BtAfQCAn.js} +1 -1
  84. package/dist/{mb-render-Cs7LUxzk.js → mb-render-CsWNoQnS.js} +1 -1
  85. package/dist/{number-input-ex-CwKIHfk1.js → number-input-ex-eza87s5O.js} +12 -4
  86. package/dist/{org-props-BcbW62Jg.js → org-props-BJ6FKaVj.js} +3 -2
  87. package/dist/{org-style-Bk7mgML3.js → org-style-LRy5QsV5.js} +1 -1
  88. package/dist/{pagination-design-B1KyJUAG.js → pagination-design-sA-kbILI.js} +3 -2
  89. package/dist/paper-widget-design-BGY5qu-K.js +4 -0
  90. package/dist/{qrcode-design-EafZURDZ.js → qrcode-design-BsWJrsvD.js} +1 -1
  91. package/dist/{ref-autofill-editor-OtclaSqy.js → ref-autofill-editor-BbozAOcm.js} +2 -2
  92. package/dist/{ref-props-C95McyZp.js → ref-props-BInJu7PN.js} +3 -3
  93. package/dist/{ref-style-BxdvOF-4.js → ref-style-Dgc_9tko.js} +1 -1
  94. package/dist/{regex-editor-BGukvOEI.js → regex-editor-C09XpMhm.js} +2 -2
  95. package/dist/{revo-grid.entry-BeRVTVKO.js → revo-grid.entry-BIm5A5wM.js} +1 -1
  96. package/dist/{revogr-attribution_7.entry-CHtbU2lV.js → revogr-attribution_7.entry-B06XF5B_.js} +3 -3
  97. package/dist/{revogr-clipboard_3.entry-DnvQ-Rl7.js → revogr-clipboard_3.entry-C8dVJYtR.js} +2 -2
  98. package/dist/{revogr-data_4.entry-DLRSuaN8.js → revogr-data_4.entry-Dgp6vYqe.js} +2 -2
  99. package/dist/{revogr-filter-panel.entry-BDkhY-74.js → revogr-filter-panel.entry-xo_juIUc.js} +1 -1
  100. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-ChESg_eM.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-vIUGBOWr.js} +3 -2
  101. package/dist/{serialnumber-design-CRaym9J-.js → serialnumber-design-mWcys6hI.js} +1 -1
  102. package/dist/shared/index.es.js +4 -4
  103. package/dist/{signature-design-BJHfLDNV.js → signature-design-Dl-Lv5Z5.js} +5 -2
  104. package/dist/{signature-props-B9hfppHh.js → signature-props-DSzpO-_r.js} +3 -3
  105. package/dist/{signature-style-DM4rqHnN.js → signature-style-Bk34vOsk.js} +1 -1
  106. package/dist/{single-field-drop-eClQhTSv.js → single-field-drop-CiPUMT9B.js} +2 -2
  107. package/dist/{size-editor-BjlCmEWf.js → size-editor-B5aunbUM.js} +1 -1
  108. package/dist/src/nocode-base/src/components/border-td.vue.d.ts +1 -0
  109. 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
  110. 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
  111. package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +17 -0
  112. package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +13 -0
  113. package/dist/src/nocode-base/src/components/index.d.ts +4 -3
  114. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +3 -1
  115. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
  116. package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
  117. package/dist/src/nocode-base/src/types/fields/i-enum-select.d.ts +2 -0
  118. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +3 -1
  119. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -1
  120. package/dist/src/nocode-base/src/types/widgets/i-sub-table.d.ts +4 -0
  121. package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +2 -0
  122. package/dist/src/nocode-web-render/src/render/index.d.ts +2 -2
  123. package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +3 -1
  124. package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +3 -1
  125. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +1 -2
  126. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +3 -1
  127. package/dist/src/online-form/src/utils/field.enum.d.ts +3 -2
  128. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +16 -0
  129. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +27 -2
  130. 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
  131. package/dist/src/online-form/src/views/designer/modules/panel/comps/quick-fill-config.vue.d.ts +8 -0
  132. package/dist/src/online-form/src/views/designer/modules/sheet/sheet-cell.vue.d.ts +1 -0
  133. package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -0
  134. package/dist/{text-design-BGxM7gzI.js → text-design-BIFz5gw1.js} +3 -2
  135. package/dist/{text-design-C3RhersV.js → text-design-C0dORvkP.js} +10 -6
  136. package/dist/{text-props-CIpXslMv.js → text-props-ClHI-4aM.js} +5 -5
  137. package/dist/{text-style-BPjaT5Ic.js → text-style-DANM5fvy.js} +1 -1
  138. package/dist/{throttle-Cpk1LoGk-LNQ7rPwu.js → throttle-Cpk1LoGk-Da5HSLWc.js} +1 -1
  139. package/dist/{timediff-design-DqVuVrmx.js → timediff-design-BDCsQIal.js} +2 -1
  140. package/dist/{trace-design-IbjVLAhv.js → trace-design-CKqq1WH_.js} +2 -2
  141. package/dist/{trace-props-C-F_eDG2.js → trace-props-BI24XFMc.js} +6 -6
  142. package/dist/{trace-style-DRenZ1n1.js → trace-style-CX1f7oZH.js} +1 -1
  143. package/dist/{user-props-qQx7HZ7T.js → user-props-gF7KPnP8.js} +3 -2
  144. package/dist/{user-style-BPFOx0xn.js → user-style-DIouAMWa.js} +1 -1
  145. package/dist/{value-editor.vue_vue_type_style_index_0_lang-Crnt5d7x.js → value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js} +3 -2
  146. package/dist/{version-select-BkZzH36D.js → version-select-CL3QQGND.js} +2 -2
  147. package/dist/web-render/index.es.js +9 -9
  148. package/dist/{widget-barcode-CPZjarSa.js → widget-barcode-DZiCyrQW.js} +5 -4
  149. package/dist/{widget-diagonal-DebN3u9t.js → widget-diagonal-D_Oz8te1.js} +3 -3
  150. package/dist/{widget-image-BSMWxm9c.js → widget-image-TL_SLOap.js} +5 -5
  151. package/dist/{widget-line-CyavTHOV.js → widget-line-BQ-qcBUA.js} +3 -2
  152. package/dist/{widget-pagination-ZCBdy6HQ.js → widget-pagination-DciJE9qC.js} +6 -5
  153. package/dist/{widget-power-B1NFysHT.js → widget-power-B9KTIpwA.js} +3 -3
  154. package/dist/{widget-qrcode-B0TTSoSK.js → widget-qrcode-DRoj5rSy.js} +4 -3
  155. package/dist/{widget-rangelimit-C_ureKDr.js → widget-rangelimit-Ckgx3i4r.js} +3 -3
  156. package/dist/{widget-serialnumber-Dq15dHnk.js → widget-serialnumber-aUkR-0yC.js} +1 -1
  157. package/dist/{widget-text-B9EXKFiM.js → widget-text-CJIT-hY3.js} +5 -5
  158. package/dist/{widget-timediff-BhLrQuGb.js → widget-timediff-x-RQMdNg.js} +3 -2
  159. package/package.json +1 -1
  160. package/dist/base-font-editor-BmC423aB.js +0 -83
  161. package/dist/cell-upload-CiXVE0Ii.js +0 -25
  162. package/dist/paper-widget-design-Cp0ioo8c.js +0 -4
  163. /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,6 +1,6 @@
1
1
  import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
2
- import { k as commonjsGlobal, l as getDefaultExportFromCjs } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
3
- import { v as require$$0 } from "./index-CtiiIgjs.js";
2
+ import { k as commonjsGlobal, l as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
+ import { t as require$$0 } from "./index-Bm6Hdoud.js";
4
4
  var window_1;
5
5
  var hasRequiredWindow;
6
6
  function requireWindow() {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, toDisplayString } from "vue";
2
- import { u as useModelFields } from "./index-yih5hGsL.js";
2
+ import { u as useModelFields } from "./index-Dk-CUvB9.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "agg-design",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { openBlock, createElementBlock } from "vue";
2
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
2
+ import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
3
  const _sfc_main = {};
4
4
  function _sfc_render(_ctx, _cache) {
5
5
  return openBlock(), createElementBlock("div");
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-BmC423aB.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DmasOst9.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "agg-style",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
2
+ import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
3
  const _hoisted_1 = { class: "align-group-box" };
4
4
  const _hoisted_2 = ["onClick"];
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { message } from "ant-design-vue";
3
- import { F as FIELD_TYPE, E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
4
- import { u as useModelFields, b as useDrop, T as TransferType, c as getFieldIcon, M as MultipleDrop, d as FieldConfig } from "./index-yih5hGsL.js";
3
+ 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";
4
+ import { u as useModelFields, b as useDrop, T as TransferType, c as getFieldIcon, M as MultipleDrop, d as FieldConfig } from "./index-Dk-CUvB9.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "attach-fields-editor",
7
7
  props: {
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { f as useSpreadSheet, u as useModelFields, n as loadBwip } from "./index-yih5hGsL.js";
4
- import { m as PaperWidgeValueType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
3
+ import { f as useSpreadSheet, u as useModelFields, n as loadBwip } from "./index-Dk-CUvB9.js";
4
+ import { m as PaperWidgeValueType, _ as _export_sfc } 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: "wrapper" };
7
8
  const _hoisted_2 = {
8
9
  key: 0,
@@ -1,12 +1,12 @@
1
- import { av as fetchHistoryConsume, aw as isBomGranted, F as FIELD_TYPE, i as api, am as getParseRuleInfo, an as getParseRuleValue, ax as calcFillData, ay as extractKeywordFromQueryData, t as FormTypeEnum, az as transformUtils, g as SubTableType, aj as NCB_PROVIDE, aA as settleAndValidateDisplay, aB as unregisterValidationContext, aC as clearFormRules, aD as registerValidationContext, e as ComponentTypeEnum, aq as RenderModeEnum, aE as requestFullValidation, aF as requestDisplayValidation, aG as closeValidatorPopovers, aH as baseDataUtils, aI as getRawFormRuleMeta, aJ as enrichFormChangeRowDetails, aK as settleAfterModeSwitch, aL as calcUtils, a2 as CheckDsTypeEnum, ag as renderUtils, H as PlatformEnum, aM as uuid2, aN as normalizeToArray, aO as safeParseArray, aP as BpmnNodeTypeEnum, aQ as mergeByMultiKey, au as useNocodeEmitter, a1 as EntityModelCategoryEnum, aR as getRowId, aS as getSubTableQuickFillInfo, h as CellType, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
2
- import { a5, a7, ah, w, aT, aU, B, aV, J, aW, aX, aY, af, ai, a6, a3, a4, K, aZ, ar, N, a_, $, a9, v, M, L, a$, b0, O, b, P, a0, a, m, a8, b1, b2, ap, z, x, y, A, b3, T, V, W, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, ak, bq, br, al, bs, bt, bu, bv, bw, ad, bx, ac, aa, u, ao, ae, ab } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
3
- import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController, S as SubTableCore, h as SubTableActionMenuTypeEnum, i as getMenuByAction, j as SubTableActionEnum, k as getCopySubMenu, l as getInsertSubMenu, m as useMaterialBalance, v as validate, n as commonUtils, o as DocumentQuickFillModal } from "../document-sub-table-action-Cy6Rd8OS.js";
4
- import { B as B2, p, D, _, q, e, f, F, r, c, a as a2, s, u as u2, b as b10, d } from "../document-sub-table-action-Cy6Rd8OS.js";
5
- import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock, withModifiers } from "vue";
1
+ import { av as fetchHistoryConsume, aw as isBomGranted, F as FIELD_TYPE, i as api, am as getParseRuleInfo, an as getParseRuleValue, ax as calcFillData, ay as extractKeywordFromQueryData, v as FormTypeEnum, az as transformUtils, g as SubTableType, aj as NCB_PROVIDE, aA as settleAndValidateDisplay, aB as unregisterValidationContext, aC as clearFormRules, aD as registerValidationContext, e as ComponentTypeEnum, aq as RenderModeEnum, aE as requestFullValidation, aF as requestDisplayValidation, aG as closeValidatorPopovers, aH as baseDataUtils, aI as getRawFormRuleMeta, aJ as enrichFormChangeRowDetails, aK as settleAfterModeSwitch, aL as calcUtils, a2 as CheckDsTypeEnum, ag as renderUtils, H as PlatformEnum, aM as uuid2, aN as normalizeToArray, aO as safeParseArray, aP as BpmnNodeTypeEnum, aQ as mergeByMultiKey, au as useNocodeEmitter, a1 as EntityModelCategoryEnum, aR as getRowId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
2
+ import { a5, a7, ah, y, aS, aT, B, aU, h, J, aV, aW, aX, af, ai, a6, a3, a4, K, aY, ar, N, aZ, $, a9, x, M, L, a_, a$, O, b, P, a0, a, m, a8, b0, b1, ap, D, z, A, E, b2, T, V, W, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, ak, bq, br, al, bs, bt, bu, bv, bw, ad, bx, ac, aa, n, ao, ae, ab } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
3
+ import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController, S as SubTableCore, h as SubTableActionMenuTypeEnum, i as getMenuByAction, j as SubTableActionEnum, k as getCopySubMenu, l as getInsertSubMenu, m as useMaterialBalance, v as validate, n as commonUtils } from "../dynamic-table-action-zLjamAaN.js";
4
+ import { B as B2, o, D as D2, _, p, e, q, f, F, r, s, c, a as a2, t, u, b as b10, d } from "../dynamic-table-action-zLjamAaN.js";
5
+ import { ref, provide, watch, computed } from "vue";
6
6
  import { defaults, pick, merge, has, isEmpty, cloneDeep, debounce } from "lodash-es";
7
7
  import dayjs from "dayjs";
8
- import { B as B3, C, F as F2, a as a10, M as M2, c as c2, f as f2 } from "../form-annotation-controller-CdNmJKv-.js";
9
- import { B as B4, F as F3, I, M as M3, b as b11, u as u3 } from "../mb-render-Cs7LUxzk.js";
8
+ import { B as B3, C, F as F2, a as a10, M as M2, c as c2, f as f2 } from "../form-annotation-controller-Zw6OoPLe.js";
9
+ import { B as B4, F as F3, I, M as M3, b as b11, u as u2 } from "../mb-render-CsWNoQnS.js";
10
10
  function useLatestRequest(execFn) {
11
11
  let lastReqId = 0;
12
12
  const loading = ref(false);
@@ -2472,7 +2472,8 @@ function useRenderPageFactory(props, payload) {
2472
2472
  paramsConfig?._gct_nocode_trace_values_
2473
2473
  )
2474
2474
  } : {},
2475
- productSearchFields: payload?.deviceConfig?.defaultProductSearchFields
2475
+ productSearchFields: payload?.deviceConfig?.defaultProductSearchFields,
2476
+ showPrintFieldBg: paramsConfig?.showPrintFieldBg
2476
2477
  },
2477
2478
  selfInfo: {
2478
2479
  ...selfInfo,
@@ -3260,26 +3261,26 @@ function useFormulaExpWatcher(options) {
3260
3261
  let calcReqId = 0;
3261
3262
  async function computeMinMaxOnce() {
3262
3263
  const myId = ++calcReqId;
3263
- const getValue = (v2) => {
3264
+ const getValue = (v) => {
3264
3265
  if (returnType === "number") {
3265
- const parsed = v2 == null ? null : parseFloat(String(v2));
3266
+ const parsed = v == null ? null : parseFloat(String(v));
3266
3267
  return Number.isFinite(parsed) ? parsed : null;
3267
3268
  }
3268
- return v2;
3269
+ return v;
3269
3270
  };
3270
3271
  if (needMinValidateCalc) {
3271
3272
  try {
3272
- const v2 = await onCalculateFormula("min");
3273
+ const v = await onCalculateFormula("min");
3273
3274
  if (myId !== calcReqId) return;
3274
- onMinComputed?.(getValue(v2));
3275
+ onMinComputed?.(getValue(v));
3275
3276
  } catch (e2) {
3276
3277
  }
3277
3278
  }
3278
3279
  if (needMaxValidateCalc) {
3279
3280
  try {
3280
- const v2 = await onCalculateFormula("max");
3281
+ const v = await onCalculateFormula("max");
3281
3282
  if (myId !== calcReqId) return;
3282
- onMaxComputed?.(getValue(v2));
3283
+ onMaxComputed?.(getValue(v));
3283
3284
  } catch (e2) {
3284
3285
  }
3285
3286
  }
@@ -3411,143 +3412,67 @@ function useMaterialStocktake() {
3411
3412
  openScanModal
3412
3413
  };
3413
3414
  }
3414
- const _sfc_main = /* @__PURE__ */ defineComponent({
3415
- __name: "document-quick-fillin",
3416
- props: {
3417
- subTableFieldId: {},
3418
- mobileTdIdGroups: {},
3419
- widgetCenter: {},
3420
- handleMenuClick: { type: Function }
3421
- },
3422
- setup(__props) {
3423
- const props = __props;
3424
- const fieldColumn = computed(() => {
3425
- const info = getSubTableQuickFillInfo(props.subTableFieldId, props.mobileTdIdGroups);
3426
- if (!info?.mainWidgetIds?.length) return [];
3427
- const allowed = /* @__PURE__ */ new Set([
3428
- FIELD_TYPE.TEXT,
3429
- FIELD_TYPE.LONG_TEXT,
3430
- FIELD_TYPE.INTEGER,
3431
- FIELD_TYPE.LONG,
3432
- FIELD_TYPE.DOUBLE,
3433
- FIELD_TYPE.DECIMAL,
3434
- FIELD_TYPE.DATE,
3435
- FIELD_TYPE.TIME,
3436
- FIELD_TYPE.DATE_TIME,
3437
- FIELD_TYPE.OPTION,
3438
- FIELD_TYPE.OPTION_MULTI,
3439
- FIELD_TYPE.MATERIAL_NO,
3440
- FIELD_TYPE.STERILIZE_LOT,
3441
- FIELD_TYPE.MATERIAL_LOT,
3442
- FIELD_TYPE.RELATED_LOT_NO,
3443
- FIELD_TYPE.SCRAP_MATERIAL_NO
3444
- ]);
3445
- return info.mainWidgetIds.flatMap((tdId) => {
3446
- const widget = props.widgetCenter?.[tdId];
3447
- if (!widget) return [];
3448
- const { cellWidget, cellValueType } = widget;
3449
- if (cellValueType !== CellType.Field) return [];
3450
- if (!cellWidget || cellWidget.component === ComponentTypeEnum.CombineFields) return [];
3451
- const wProps = cellWidget.props || {};
3452
- const { isFieldModel, field, fieldType, newSpecificConfig } = wProps;
3453
- if (isFieldModel) return [];
3454
- if (!allowed.has(fieldType)) return [];
3455
- return {
3456
- fieldType,
3457
- field,
3458
- name: newSpecificConfig?.newFieldName,
3459
- prop: field,
3460
- newOptions: newSpecificConfig?.newOptions
3461
- };
3462
- });
3463
- });
3464
- const openQuickFillModal = async () => {
3465
- const res = await window.NocodeAdapter.utils.overlay.modal(
3466
- DocumentQuickFillModal,
3467
- { columns: fieldColumn.value },
3468
- { title: "快速填报", width: "1060px" }
3469
- );
3470
- console.log("res", res);
3471
- if (res.ok && res.params && res.params.data.length) {
3472
- props.handleMenuClick?.({
3473
- key: "insertRowAfter",
3474
- actionValue: {
3475
- upRowNum: 1,
3476
- downRowNum: res.params.data.length,
3477
- data: res.params.data
3478
- }
3479
- });
3480
- }
3481
- };
3482
- return (_ctx, _cache) => {
3483
- return openBlock(), createElementBlock("div", {
3484
- class: "sub-table-quick-fill-btn",
3485
- onClick: withModifiers(openQuickFillModal, ["stop"])
3486
- }, " 快速填报 ");
3487
- };
3488
- }
3489
- });
3490
- const documentQuickFillin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a18386ab"]]);
3491
3415
  export {
3492
3416
  a5 as AITooltips,
3493
3417
  AllocateTableCore,
3494
3418
  B4 as BaseFormModelFetcher,
3495
3419
  a7 as BinarizeMethodOptions,
3496
3420
  ah as BindCmpStyleEnum,
3497
- w as BooleanShowMode,
3421
+ y as BooleanShowMode,
3498
3422
  B2 as BorderTD,
3499
3423
  BpmnNodeTypeEnum,
3500
- aT as BpmnSignatureTypeEnum,
3424
+ aS as BpmnSignatureTypeEnum,
3501
3425
  B3 as BuiltinAction,
3502
- aU as ButtonTypeEnum,
3426
+ aT as ButtonTypeEnum,
3503
3427
  B as BwipCodeType,
3504
- aV as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3505
- CellType,
3428
+ aU as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3429
+ h as CellType,
3506
3430
  J as CellWidgetViewState,
3507
3431
  C as ChangeType,
3508
3432
  CheckDsTypeEnum,
3509
- aW as CodeRunner,
3433
+ aV as CodeRunner,
3510
3434
  ComponentTypeEnum,
3511
- aX as Config_Fields,
3512
- aY as ControlStatusEnum,
3435
+ aW as Config_Fields,
3436
+ aX as ControlStatusEnum,
3513
3437
  af as DateFormat,
3514
3438
  ai as DecimalDisplayMode,
3515
3439
  a6 as DenoiseMethodOptions,
3516
- p as DeviceConnector,
3440
+ o as DeviceConnector,
3517
3441
  a3 as DeviceLink,
3518
- D as DeviceLinkTmplUtil,
3442
+ D2 as DeviceLinkTmplUtil,
3519
3443
  a4 as DeviceParamsTypeTitle,
3520
3444
  K as DiagonalDirection,
3521
3445
  _ as DocumentLayout,
3522
- q as DocumentLoading,
3446
+ p as DocumentLoading,
3523
3447
  e as DocumentPaper,
3524
- documentQuickFillin as DocumentQuickFillin,
3525
- f as DocumentSubTableAction,
3526
- aZ as EBR_PROVIDE_ENUM,
3448
+ q as DynamicQuickFillModal,
3449
+ f as DynamicTableAction,
3450
+ aY as EBR_PROVIDE_ENUM,
3527
3451
  ar as EFieldBizTypeEnum,
3528
3452
  N as EmptySymbol,
3529
- a_ as FieldSysVarDefaultValueEnum,
3453
+ aZ as FieldSysVarDefaultValueEnum,
3530
3454
  F2 as FillingTypeEnum,
3455
+ F as FixedQuickFillModal,
3531
3456
  a10 as FormAnnotationController,
3532
3457
  F3 as FormModelController,
3533
3458
  FormTmplBomController,
3534
- F as FormTmplConfigController,
3459
+ r as FormTmplConfigController,
3535
3460
  FormTypeEnum,
3536
3461
  $ as ImageDisplayModeEnum,
3537
3462
  I as InstanceStatusValues,
3538
3463
  a9 as JoinModelTypeEum,
3539
- v as LabelPosition,
3464
+ x as LabelPosition,
3540
3465
  M as LineDirection,
3541
3466
  L as LineType,
3542
3467
  M3 as MBRender,
3543
- r as MCDataUtil,
3468
+ s as MCDataUtil,
3544
3469
  b11 as MCRender,
3545
3470
  MaterialConsumeTableController,
3546
3471
  MaterialConsumptionPatternEnum,
3547
3472
  M2 as MaterialStatusEnum,
3548
- a$ as MobileFillTypeEnum,
3473
+ a_ as MobileFillTypeEnum,
3549
3474
  NCB_PROVIDE,
3550
- b0 as OfficeTypeEnum,
3475
+ a$ as OfficeTypeEnum,
3551
3476
  O as Orientation,
3552
3477
  b as PageSizeEnum,
3553
3478
  P as PaginationFormat,
@@ -3556,51 +3481,51 @@ export {
3556
3481
  m as PaperWidgeValueType,
3557
3482
  a8 as ParamModelTypeEnum,
3558
3483
  PlatformEnum,
3559
- b1 as PosEnum,
3484
+ b0 as PosEnum,
3560
3485
  PretreatmentListTableCore,
3561
- b2 as RangeCompareOp,
3486
+ b1 as RangeCompareOp,
3562
3487
  ap as RangeValidateMode,
3563
3488
  RenderModeEnum,
3564
- z as SignShowTypeEnum,
3565
- x as SignatureNumberTypeEnum,
3566
- y as SignatureTimeTypeEnum,
3567
- A as SignatureTypeEnum,
3489
+ D as SignShowTypeEnum,
3490
+ z as SignatureNumberTypeEnum,
3491
+ A as SignatureTimeTypeEnum,
3492
+ E as SignatureTypeEnum,
3568
3493
  SterilizeBatchTableCore,
3569
3494
  StocktakeTableCore,
3570
3495
  SubTableCore,
3571
3496
  SubTableCoreFactory,
3572
3497
  SubTableType,
3573
- b3 as SummaryApproveHisTypeEnum,
3498
+ b2 as SummaryApproveHisTypeEnum,
3574
3499
  T as TimeDiffFormat,
3575
3500
  V as ViewTypeEnum,
3576
3501
  W as WidgetImageSizeMode,
3577
- b4 as applyCheckDsDataToRuntime,
3578
- b5 as applyMedProCheckDsDataToRuntime,
3502
+ b3 as applyCheckDsDataToRuntime,
3503
+ b4 as applyMedProCheckDsDataToRuntime,
3579
3504
  baseDataUtils,
3580
- b6 as buildFormChangeDisplayRows,
3581
- b7 as buildStableFieldLocation,
3505
+ b5 as buildFormChangeDisplayRows,
3506
+ b6 as buildStableFieldLocation,
3582
3507
  calcFillData,
3583
3508
  calcUtils,
3584
3509
  clearFormRules,
3585
3510
  c2 as collectAnnotationItemsByLocation,
3586
- b8 as collectFormChangeFieldLocations,
3511
+ b7 as collectFormChangeFieldLocations,
3587
3512
  commonUtils,
3588
- b9 as deleteSubtableRow,
3589
- ba as detailsHaveFormChangeRowOps,
3513
+ b8 as deleteSubtableRow,
3514
+ b9 as detailsHaveFormChangeRowOps,
3590
3515
  enrichFormChangeRowDetails,
3591
- bb as extractFormChangeRowDetails,
3516
+ ba as extractFormChangeRowDetails,
3592
3517
  extractKeywordFromQueryData,
3593
- bc as fetchCheckDsDataForTable,
3594
- bd as fetchCustomCheckDsData,
3595
- be as fetchMedProCheckDsData,
3518
+ bb as fetchCheckDsDataForTable,
3519
+ bc as fetchCustomCheckDsData,
3520
+ bd as fetchMedProCheckDsData,
3596
3521
  f2 as filterAnnotationItemsUpToCurrent,
3597
3522
  getAppInfo,
3598
- bf as getFormChangeRowKey,
3599
- bg as getFormChangeRowOp,
3600
- bh as getParseRuleConfig,
3523
+ be as getFormChangeRowKey,
3524
+ bf as getFormChangeRowOp,
3525
+ bg as getParseRuleConfig,
3601
3526
  getParseRuleInfo,
3602
3527
  getParseRuleValue,
3603
- getSubTableQuickFillInfo,
3528
+ bh as getSubTableQuickFillInfo,
3604
3529
  getSuiteKey,
3605
3530
  bi as handleOldConfig,
3606
3531
  bj as insertSubtableRows,
@@ -3631,19 +3556,19 @@ export {
3631
3556
  aa as sqlUtils,
3632
3557
  transformUtils,
3633
3558
  unregisterValidationContext,
3634
- u as useCalculateFormula,
3559
+ n as useCalculateFormula,
3635
3560
  ao as useCurrentPageFormState,
3636
3561
  c as useDependency,
3637
3562
  useEbrWikiFactoryV2,
3638
- u3 as useFormModel,
3563
+ u2 as useFormModel,
3639
3564
  a2 as useFormTmplConfig,
3640
3565
  useFormulaExpWatcher,
3641
3566
  useMaterialBalance,
3642
3567
  useMaterialStocktake,
3643
3568
  useNocodeEmitter,
3644
3569
  ae as useNocodeFormWidget,
3645
- s as useOnlineFormActionButton,
3646
- u2 as useOnlineFormTransformField2Component,
3570
+ t as useOnlineFormActionButton,
3571
+ u as useOnlineFormTransformField2Component,
3647
3572
  useRenderPageFactory,
3648
3573
  b10 as useStyles,
3649
3574
  d as useValidator,
@@ -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-yih5hGsL.js";
3
- import { w as BooleanShowMode, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.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-yih5hGsL.js";
3
- import { A as AttachFieldEditor } from "./attach-fields-editor-o_7W-2sr.js";
4
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.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-DKTGEH4Q.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-yih5hGsL.js";
6
- import { B as BaseFontEditor } from "./base-font-editor-BmC423aB.js";
7
- import { _ as _sfc_main$1, a as _sfc_main$2 } from "./select-render-type-editor.vue_vue_type_script_setup_true_lang-ChESg_eM.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
+ };
@@ -1,8 +1,9 @@
1
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-yih5hGsL.js";
3
- import { F as FIELD_TYPE, _ as _export_sfc, ap as RangeValidateMode, b2 as RangeCompareOp, E as useNamespace } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
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
4
  import { isNil } from "lodash-es";
5
5
  import "dayjs";
6
+ import "ant-design-vue";
6
7
  const DateFormatSeparators = ["-", "/", "."];
7
8
  const DateFormatTemplates = [
8
9
  { value: "YYYY", supportFieldTypes: [FIELD_TYPE.DATE, FIELD_TYPE.WAREHOUSE_RECEIPT_DATE] },
@@ -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-DKTGEH4Q.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",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
- import { F as FormItem } from "./index-yih5hGsL.js";
3
- import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-BZkhUU-x.js";
4
- import { F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
2
+ import { F as FormItem } from "./index-Dk-CUvB9.js";
3
+ import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-PmJBHc8i.js";
4
+ import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "date-time-props",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-BmC423aB.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DmasOst9.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "date-time-style",
5
5
  props: {