@gct-paas/excel 0.1.16 → 0.1.18

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 (192) hide show
  1. package/dist/{BaseComponent-DJNL1tGs.js → BaseComponent-xTm5lvAr.js} +1 -0
  2. package/dist/{VueVideoPlayer-Db7qcsRE.js → VueVideoPlayer-D3u-ZHom.js} +2 -2
  3. package/dist/{agg-design-BjqRVeg1.js → agg-design-D7CkIPCA.js} +1 -1
  4. package/dist/{agg-props-CrdosdGr.js → agg-props-DNNO9ucx.js} +1 -1
  5. package/dist/{agg-style-CfZoOE-b.js → agg-style-v_94dzX8.js} +1 -1
  6. package/dist/{align-editor-BaNT0jhx.js → align-editor-COpCDpFf.js} +1 -1
  7. package/dist/{attach-fields-editor-CThobu8X.js → attach-fields-editor-o_7W-2sr.js} +2 -2
  8. package/dist/{barcode-design-CHjIeaiJ.js → barcode-design-CvsGGAio.js} +2 -2
  9. package/dist/base/index.es.js +347 -53
  10. package/dist/{base-font-editor-BiSPxwVH.js → base-font-editor-BmC423aB.js} +2 -2
  11. package/dist/{boolean-design-BYAdX-h5.js → boolean-design-Hc8Es5l1.js} +2 -2
  12. package/dist/{boolean-props-jKvjhdlG.js → boolean-props-CGamLGXA.js} +3 -3
  13. package/dist/{boolean-style-RsMRzVBL.js → boolean-style-m-WuSO6S.js} +4 -4
  14. package/dist/{cell-upload-JxFLM1bV.js → cell-upload-CiXVE0Ii.js} +2 -2
  15. package/dist/date-range-editor-BZkhUU-x.js +470 -0
  16. package/dist/{date-time-design-Du8pmDo-.js → date-time-design-B_oFOcft.js} +1 -1
  17. package/dist/date-time-props-hGnSGQKc.js +105 -0
  18. package/dist/{date-time-style-DSEnmxAE.js → date-time-style-CGKG8i3K.js} +1 -1
  19. package/dist/{decimal-design-C2GbzP9k.js → decimal-design-B5Artgk6.js} +1 -1
  20. package/dist/{decimal-display-mode-CagizhJW.js → decimal-display-mode-C4XUezoP.js} +2 -2
  21. package/dist/{decimal-props-CGLqWy8I.js → decimal-props-Q37uOcWl.js} +4 -4
  22. package/dist/{decimal-style-6j22QKYO.js → decimal-style-C2CnGPVG.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-DTnbLBVW.js} +109 -39
  24. package/dist/{diagonal-design-Cq3oxdHe.js → diagonal-design-CyUvkcvp.js} +2 -2
  25. package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js → document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js} +2295 -1388
  26. package/dist/{document-sub-table-action-rz6gyez5.js → document-sub-table-action-Cy6Rd8OS.js} +384 -193
  27. package/dist/{double-design-CyXEqcV7.js → double-design-D_ipWcRm.js} +1 -1
  28. package/dist/{double-props-DaJoio1W.js → double-props-D4FGbfe2.js} +4 -4
  29. package/dist/{double-style-B4lIth-J.js → double-style-BbD_6_Os.js} +1 -1
  30. package/dist/{edit.utils-CXmmCnxE-DW8ClKe9.js → edit.utils-CXmmCnxE-BK4QnSP-.js} +1 -1
  31. package/dist/{enum-design-DSx09tOO.js → enum-design-lOufLU6Z.js} +2 -2
  32. package/dist/{enum-props-CJNuQLJ_.js → enum-props-brKRP5Uz.js} +4 -4
  33. package/dist/{enum-style-5N5xmgRJ.js → enum-style-BQQHkDUD.js} +2 -2
  34. package/dist/excel.css +943 -440
  35. package/dist/{exceljs.min-D9gV8q6H.js → exceljs.min-CUwGyNAf.js} +2 -2
  36. package/dist/{expression-design-BJDbafot.js → expression-design-BPEci3dg.js} +1 -1
  37. package/dist/{expression-props-BpHbrsle.js → expression-props-Cvg-9V-B.js} +1 -1
  38. package/dist/{expression-style-qPh81w7Q.js → expression-style-Dv3Hl8lm.js} +1 -1
  39. package/dist/{file-design-B7si04Bi.js → file-design-BIzi6cpq.js} +1 -1
  40. package/dist/{file-props-DTtOnHQy.js → file-props-oV2U7bpO.js} +2 -2
  41. package/dist/{file-style-C6KW_szu.js → file-style-CZrxokgP.js} +1 -1
  42. package/dist/{font-editor-DgGgvmB2.js → font-editor-B41KgpWJ.js} +3 -3
  43. package/dist/{form-annotation-controller-KcMm2QYA.js → form-annotation-controller-CdNmJKv-.js} +87 -31
  44. package/dist/{image-design-B92Xkcf-.js → image-design-C3FEtW6i.js} +2 -2
  45. package/dist/{image-design-CCfpT4Rp.js → image-design-DMfBfSkD.js} +2 -2
  46. package/dist/{image-props-DZgfzMta.js → image-props-DPibJk7n.js} +1 -1
  47. package/dist/{image-style-DX6Q_gF4.js → image-style-DLudd5Vt.js} +1 -1
  48. package/dist/{index-Bnbl3VER.js → index-B1CG-75q.js} +2 -2
  49. package/dist/{index-tbaOl7Nd.js → index-B1r6-Uxf.js} +1 -1
  50. package/dist/{index-bvhV6lsn.js → index-B7lz2J6V.js} +14 -7
  51. package/dist/{index-DRd2oRK1.js → index-B8ey1U_N.js} +2 -2
  52. package/dist/{index-BXMOCfWv.js → index-B8wKNUsK.js} +2 -2
  53. package/dist/{index-DzIKEtWw.js → index-BOis3jsA.js} +1 -1
  54. package/dist/{index-BYl8cK0A.js → index-BZ1jj7Nu.js} +1 -1
  55. package/dist/{index-DsASTvC2.js → index-BgZkpQKh.js} +1 -1
  56. package/dist/{index-Bg-x1hF6.js → index-BiNVmD5v.js} +2 -2
  57. package/dist/{index-BEBKoAOg.js → index-Bppcm2iQ.js} +2 -2
  58. package/dist/{index-Dsj3FuVs.js → index-Bvjplnz_.js} +2 -2
  59. package/dist/{index-DgHRTRH5.js → index-C5bYd42n.js} +2 -2
  60. package/dist/{index-BzhFcvnJ.js → index-CUIGN7Rt.js} +2 -2
  61. package/dist/{index-B2iip4UC.js → index-Cjz0GLDq.js} +2 -2
  62. package/dist/{index-DOFSbVSN.js → index-CkYbgRrH.js} +1 -1
  63. package/dist/{index-BB5uSbo3.js → index-Cn_c3-eW.js} +1 -1
  64. package/dist/{index-Be7TFwwX.js → index-Cp7mC3Qt.js} +4 -2
  65. package/dist/{index-DFgGQBCZ.js → index-CtiiIgjs.js} +2 -2
  66. package/dist/{index-D6diRqWG.js → index-D0YZX_c7.js} +2 -2
  67. package/dist/{index-DRKvAxuA.js → index-D7fFpHaN.js} +1 -1
  68. package/dist/{index-C8qPy1oW.js → index-DAqYc474.js} +2 -2
  69. package/dist/{index-p-Q3DQmv.js → index-DDpNgyvD.js} +3 -3
  70. package/dist/{index-IUYnmIJe.js → index-DFoELlwd.js} +1 -1
  71. package/dist/{index-DJISlRXi.js → index-DHVK-P9J.js} +4 -2
  72. package/dist/{index-BhzF0Rp3.js → index-DH_EZe8p.js} +4 -3
  73. package/dist/{index-CIoB2iny.js → index-DJIzgsog.js} +1 -1
  74. package/dist/{index-Doxcf2Zs.js → index-DPQkm6_v.js} +2 -2
  75. package/dist/{index-CtTSTTkq.js → index-DsNRjyQD.js} +2 -2
  76. package/dist/{index-Da7W9uBC.js → index-I_FRG0Ho.js} +2 -2
  77. package/dist/{index-CmaPtyCh.js → index-oSIIidoF.js} +4 -2
  78. package/dist/{index-rn6aiccW.js → index-rXMzwu77.js} +3 -3
  79. package/dist/{index-XbgrTOMF.js → index-vZZ5q2xJ.js} +1 -1
  80. package/dist/{index-Cw_YFCZT.js → index-yih5hGsL.js} +1467 -1345
  81. package/dist/index.es.js +6 -5
  82. package/dist/{integer-design-CPzJPZon.js → integer-design-DhkNa9IA.js} +1 -1
  83. package/dist/{integer-props-deCDvNET.js → integer-props-c_aQpjaT.js} +4 -4
  84. package/dist/{integer-style-DwZIRXEW.js → integer-style-CS5v7Bhq.js} +1 -1
  85. package/dist/{mb-render-Bejyn-ep.js → mb-render-Cs7LUxzk.js} +1 -1
  86. package/dist/{number-input-ex-CgwOH18n.js → number-input-ex-CwKIHfk1.js} +1 -1
  87. package/dist/{org-props-BeFVQ-QY.js → org-props-BcbW62Jg.js} +2 -2
  88. package/dist/{org-style-CLVWLtyd.js → org-style-Bk7mgML3.js} +1 -1
  89. package/dist/{pagination-design-CT0EQmxW.js → pagination-design-B1KyJUAG.js} +2 -2
  90. package/dist/paper-widget-design-Cp0ioo8c.js +4 -0
  91. package/dist/{qrcode-design-CjOkp2xa.js → qrcode-design-EafZURDZ.js} +1 -1
  92. package/dist/{ref-autofill-editor-B2KcQvyt.js → ref-autofill-editor-OtclaSqy.js} +2 -2
  93. package/dist/{ref-props-DPnt_pys.js → ref-props-C95McyZp.js} +3 -3
  94. package/dist/{ref-style-D0XKTtP1.js → ref-style-BxdvOF-4.js} +1 -1
  95. package/dist/regex-editor-BGukvOEI.js +796 -0
  96. package/dist/{revo-grid.entry-ztDhASK3.js → revo-grid.entry-BeRVTVKO.js} +1 -1
  97. package/dist/{revogr-attribution_7.entry-BtXV91vv.js → revogr-attribution_7.entry-CHtbU2lV.js} +3 -3
  98. package/dist/{revogr-clipboard_3.entry-DXpq4oNb.js → revogr-clipboard_3.entry-DnvQ-Rl7.js} +2 -2
  99. package/dist/{revogr-data_4.entry-WA1PNcGb.js → revogr-data_4.entry-DLRSuaN8.js} +2 -2
  100. package/dist/{revogr-filter-panel.entry-unpVAD7l.js → revogr-filter-panel.entry-BDkhY-74.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-ChESg_eM.js} +2 -2
  102. package/dist/{serialnumber-design-ClArHZWU.js → serialnumber-design-CRaym9J-.js} +1 -1
  103. package/dist/shared/index.es.js +16 -16
  104. package/dist/{signature-design-Cg2Ejj3g.js → signature-design-BJHfLDNV.js} +1 -1
  105. package/dist/{signature-props-CNuLBWtc.js → signature-props-B9hfppHh.js} +3 -3
  106. package/dist/{signature-style-DtlZdeFB.js → signature-style-DM4rqHnN.js} +1 -1
  107. package/dist/{single-field-drop-COLR9RIu.js → single-field-drop-eClQhTSv.js} +2 -2
  108. package/dist/{size-editor-DyGGEX3s.js → size-editor-BjlCmEWf.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/constant/index.d.ts +11 -0
  113. package/dist/src/nocode-base/src/hooks/annotation/collect-annotation-items.d.ts +15 -0
  114. package/dist/src/nocode-base/src/hooks/annotation/form-annotation-controller.d.ts +5 -2
  115. package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +60 -0
  116. package/dist/src/nocode-base/src/hooks/annotation/index.d.ts +2 -0
  117. package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +2 -2
  118. package/dist/src/nocode-base/src/hooks/index.d.ts +2 -1
  119. package/dist/src/nocode-base/src/hooks/model-relation/index.d.ts +1 -1
  120. package/dist/src/nocode-base/src/hooks/service-util/sn-rule.d.ts +1 -1
  121. package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +1 -1
  122. package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +4 -2
  123. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +36 -4
  124. package/dist/src/nocode-base/src/hooks/useValidator.d.ts +6 -6
  125. package/dist/src/nocode-base/src/hooks/validation/admission.d.ts +19 -0
  126. package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +24 -0
  127. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +35 -0
  128. package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
  129. package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +24 -0
  130. package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +17 -0
  131. package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
  132. package/dist/src/nocode-base/src/hooks/validation/types.d.ts +44 -0
  133. package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +39 -0
  134. package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +24 -0
  135. package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
  136. package/dist/src/nocode-base/src/interface/render.d.ts +1 -1
  137. package/dist/src/nocode-base/src/types/common/base.d.ts +14 -2
  138. package/dist/src/nocode-base/src/types/fields/i-datepicker.d.ts +5 -1
  139. package/dist/src/nocode-base/src/types/fields/i-datetimepicker.d.ts +5 -1
  140. package/dist/src/nocode-base/src/types/fields/i-inputdouble.d.ts +5 -1
  141. package/dist/src/nocode-base/src/types/fields/i-inputnumber.d.ts +5 -1
  142. package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +27 -1
  143. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +2 -0
  144. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +2 -0
  145. package/dist/src/online-form/src/views/__cell_widgets__/common/keep-exception-highlight-editor/keep-exception-highlight-editor.vue.d.ts +10 -0
  146. package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/common-regex-api.d.ts +11 -0
  147. package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/editor.d.ts +8 -0
  148. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +12 -0
  149. package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -1
  150. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +16 -0
  151. package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +2 -2
  152. 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
  153. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/form-field-tree-select.vue.d.ts +2 -2
  154. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/material-rdo-select.vue.d.ts +2 -2
  155. package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -0
  156. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +3 -0
  157. package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts +3 -1
  158. package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +5 -0
  159. package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
  160. package/dist/src/shared/utils/host-api.d.ts +3 -11
  161. package/dist/{text-design-DjJS6aM4.js → text-design-BGxM7gzI.js} +2 -2
  162. package/dist/{text-design-490okDpw.js → text-design-C3RhersV.js} +2 -2
  163. package/dist/{text-props-Dh4S3iN0.js → text-props-CIpXslMv.js} +21 -252
  164. package/dist/{text-style-BGeNrOMv.js → text-style-BPjaT5Ic.js} +1 -1
  165. package/dist/{throttle-Cpk1LoGk-BWXeZXFZ.js → throttle-Cpk1LoGk-LNQ7rPwu.js} +1 -1
  166. package/dist/{timediff-design-DEh9xNVa.js → timediff-design-DqVuVrmx.js} +1 -1
  167. package/dist/{trace-design-Dk0irY70.js → trace-design-IbjVLAhv.js} +2 -2
  168. package/dist/{trace-props-DRBrPqIq.js → trace-props-C-F_eDG2.js} +53 -16
  169. package/dist/{trace-style-6lXlaJ2o.js → trace-style-DRenZ1n1.js} +1 -1
  170. package/dist/{user-props-yasRJPzM.js → user-props-qQx7HZ7T.js} +2 -2
  171. package/dist/{user-style-dkDUDf63.js → user-style-BPFOx0xn.js} +1 -1
  172. package/dist/{value-editor.vue_vue_type_style_index_0_lang-8rhhfLv7.js → value-editor.vue_vue_type_style_index_0_lang-Crnt5d7x.js} +2 -2
  173. package/dist/{version-select-dvsx-Ifv.js → version-select-BkZzH36D.js} +1 -1
  174. package/dist/web-render/index.es.js +4 -4
  175. package/dist/{widget-barcode-BfzXe5MQ.js → widget-barcode-CPZjarSa.js} +4 -4
  176. package/dist/{widget-diagonal-R5qdvCvE.js → widget-diagonal-DebN3u9t.js} +3 -3
  177. package/dist/{widget-image-C0zAtiuf.js → widget-image-BSMWxm9c.js} +5 -5
  178. package/dist/{widget-line-z4TTPDkL.js → widget-line-CyavTHOV.js} +2 -2
  179. package/dist/{widget-pagination-CeO9pmmu.js → widget-pagination-ZCBdy6HQ.js} +5 -5
  180. package/dist/{widget-power-CP1DLxkZ.js → widget-power-B1NFysHT.js} +3 -3
  181. package/dist/{widget-qrcode-Boz_t9l9.js → widget-qrcode-B0TTSoSK.js} +3 -3
  182. package/dist/{widget-rangelimit-B9kRG_Fa.js → widget-rangelimit-C_ureKDr.js} +3 -3
  183. package/dist/{widget-serialnumber-BBUxx4nB.js → widget-serialnumber-Dq15dHnk.js} +1 -1
  184. package/dist/{widget-text-qvLZssGe.js → widget-text-B9EXKFiM.js} +5 -5
  185. package/dist/{widget-timediff-BBmssjfJ.js → widget-timediff-BhLrQuGb.js} +2 -2
  186. package/package.json +1 -1
  187. package/dist/date-format-editor-BZ89hVjL.js +0 -240
  188. package/dist/date-time-props-BWvuzNXX.js +0 -265
  189. package/dist/paper-widget-design-DKBVqvH3.js +0 -4
  190. package/dist/src/nocode-base/src/hooks/form-model/fetcher.d.ts +0 -40
  191. package/dist/src/nocode-base/src/interface/data.d.ts +0 -47
  192. package/dist/src/nocode-base/src/interface/util.d.ts +0 -108
@@ -2,10 +2,10 @@ type __VLS_Props = {
2
2
  value: string | undefined;
3
3
  };
4
4
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
- "update:value": (value?: string | undefined) => any;
6
5
  change: (value?: string | undefined, index?: number | undefined) => any;
6
+ "update:value": (value?: string | undefined) => any;
7
7
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- "onUpdate:value"?: ((value?: string | undefined) => any) | undefined;
9
8
  onChange?: ((value?: string | undefined, index?: number | undefined) => any) | undefined;
9
+ "onUpdate:value"?: ((value?: string | undefined) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
@@ -14,10 +14,10 @@ type __VLS_Props = {
14
14
  boundTableField?: string;
15
15
  };
16
16
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
- "update:value": (value?: string | undefined) => any;
18
17
  change: (value?: string | undefined, option?: FieldTreeNode | undefined) => any;
18
+ "update:value": (value?: string | undefined) => any;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- "onUpdate:value"?: ((value?: string | undefined) => any) | undefined;
21
20
  onChange?: ((value?: string | undefined, option?: FieldTreeNode | undefined) => any) | undefined;
21
+ "onUpdate:value"?: ((value?: string | undefined) => any) | undefined;
22
22
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
23
  export default _default;
@@ -8,11 +8,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
8
8
  value: string;
9
9
  }[];
10
10
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "update:modelValue": (...args: any[]) => void;
12
11
  change: (...args: any[]) => void;
12
+ "update:modelValue": (...args: any[]) => void;
13
13
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
14
  onChange?: ((...args: any[]) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
16
16
  }>, {
17
17
  placeholder: string;
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -270,6 +270,8 @@ export interface IPaper {
270
270
  /** 签名互斥 */
271
271
  signatureMutex?: boolean;
272
272
  checkSignatureConfig?: string;
273
+ /** 是否保留异常提示,未配置时默认 true */
274
+ keepExceptionHighlight?: boolean;
273
275
  }
274
276
  export interface ICallback {
275
277
  save: Function;
@@ -60,6 +60,7 @@ export declare class XlsxParser {
60
60
  modelMetaMap?: import('../hooks/useModelFields').IModelMetaMap;
61
61
  signatureMutex?: boolean;
62
62
  checkSignatureConfig?: string;
63
+ keepExceptionHighlight?: boolean;
63
64
  } | undefined>;
64
65
  static xlsx2jsonWithFields(file: any, keyList: string[]): Promise<{
65
66
  paper: {
@@ -104,6 +105,7 @@ export declare class XlsxParser {
104
105
  modelMetaMap?: import('../hooks/useModelFields').IModelMetaMap;
105
106
  signatureMutex?: boolean;
106
107
  checkSignatureConfig?: string;
108
+ keepExceptionHighlight?: boolean;
107
109
  } | null;
108
110
  fields: ImportedFieldMeta[] | null;
109
111
  paperFields: CellField[];
@@ -150,6 +152,7 @@ export declare class XlsxParser {
150
152
  modelMetaMap?: import('../hooks/useModelFields').IModelMetaMap;
151
153
  signatureMutex?: boolean;
152
154
  checkSignatureConfig?: string;
155
+ keepExceptionHighlight?: boolean;
153
156
  };
154
157
  /**
155
158
  * 根据 sheet 内容解析字段信息
@@ -14,10 +14,12 @@ type __VLS_Props = {
14
14
  pageRowIndex?: number;
15
15
  /** 二维子表数据行数index */
16
16
  childSubTableDataIndex?: number;
17
+ /** 子表行 key */
18
+ rowKey?: string;
17
19
  /** 引用信息 */
18
20
  referenceInfo?: {
19
21
  belongFieldId: string;
20
- optionValue: string;
22
+ optionValue: string | boolean | number;
21
23
  multiple: boolean;
22
24
  };
23
25
  /** 行高自适应配置 */
@@ -25,9 +25,14 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import('vue').DefineComponent<Props, {
26
26
  input: import('vue').Ref<any, any>;
27
27
  onChangeValue: (event: any) => void;
28
+ onInputChange: (value: any) => void;
28
29
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ change: (...args: any[]) => void;
31
+ blur: (...args: any[]) => void;
29
32
  "update:doubleValue": (...args: any[]) => void;
30
33
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
34
+ onChange?: ((...args: any[]) => any) | undefined;
35
+ onBlur?: ((...args: any[]) => any) | undefined;
31
36
  "onUpdate:doubleValue"?: ((...args: any[]) => any) | undefined;
32
37
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
38
  inputNumberRef: unknown;
@@ -13,13 +13,13 @@ type __VLS_Props = {
13
13
  };
14
14
  };
15
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ change: (...args: any[]) => void;
16
17
  "update:modelValue": (...args: any[]) => void;
17
18
  "update:fullPathValue": (...args: any[]) => void;
18
- change: (...args: any[]) => void;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onChange?: ((...args: any[]) => any) | undefined;
20
21
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
22
  "onUpdate:fullPathValue"?: ((...args: any[]) => any) | undefined;
22
- onChange?: ((...args: any[]) => any) | undefined;
23
23
  }>, {
24
24
  placeholder: string;
25
25
  modelCategory: string;
@@ -1,11 +1,3 @@
1
- /**
2
- * 全局 `_gct.api` / `_gct.HttpUtil` 的包内代理。
3
- * - 正式环境:宿主已挂好 `_gct`
4
- * - 本地 demo:main.ts 中 `_gct.api = api`、`_gct.HttpUtil = HttpUtil`
5
- */
6
- /** 代理到 `_gct.api` */
7
- export declare const api: any;
8
- /** 代理到 `_gct.HttpUtil` */
9
- export declare const HttpUtil: {
10
- use(...args: any[]): any;
11
- };
1
+ import { ApiMap } from '@gct-paas/api';
2
+ export declare function getApi(): ApiMap;
3
+ export declare const api: ApiMap;
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { m as PaperWidgeValueType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
+ import { m as PaperWidgeValueType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
4
4
  import "dayjs";
5
- import { f as useSpreadSheet, u as useModelFields } from "./index-Cw_YFCZT.js";
5
+ import { f as useSpreadSheet, u as useModelFields } from "./index-yih5hGsL.js";
6
6
  const _hoisted_1 = { class: "ws-pre-wrap" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "text-design",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-Cw_YFCZT.js";
3
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { C as CellWidgetRenderComp } from "./index-yih5hGsL.js";
3
+ import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "text-design",
6
6
  props: {
@@ -1,226 +1,10 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, renderSlot, reactive, ref, createBlock, withCtx, toRaw, createTextVNode, toDisplayString, onUnmounted, h, onMounted, mergeProps, unref, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, C as CellWidgetRenderComp } from "./index-Cw_YFCZT.js";
3
- import { isNil, debounce, pick } from "lodash-es";
4
- import { _ as _export_sfc, D as useModal, i as api, F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
- import { s as useIntersectionObserver, t as cacheAdapter } from "./index-DFgGQBCZ.js";
6
- import { w as watchDebounced } from "./mb-render-Bejyn-ep.js";
7
- const _hoisted_1 = { class: "number-range" };
8
- const _hoisted_2 = { class: "middle" };
9
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
10
- __name: "number-range",
11
- props: {
12
- min: {},
13
- max: {},
14
- precision: { default: 0 },
15
- disabled: { type: Boolean, default: false },
16
- lowerLimit: { default: 0 },
17
- upperLimit: { default: Infinity },
18
- minPlaceholder: { default: $t("sys.inputText") },
19
- maxPlaceholder: { default: $t("sys.inputText") }
20
- },
21
- emits: ["update:min", "update:max"],
22
- setup(__props, { emit: __emit }) {
23
- const props = __props;
24
- const emit = __emit;
25
- const minValue = computed({
26
- get() {
27
- return props.min;
28
- },
29
- set(v) {
30
- emit("update:min", v);
31
- }
32
- });
33
- const maxValue = computed({
34
- get() {
35
- return props.max;
36
- },
37
- set(v) {
38
- emit("update:max", v);
39
- }
40
- });
41
- const minLimit = computed(() => {
42
- const lowerLimit = props.lowerLimit;
43
- const upperLimit = isNil(maxValue.value) ? props.upperLimit : maxValue.value;
44
- return {
45
- lowerLimit,
46
- upperLimit
47
- };
48
- });
49
- const maxLimit = computed(() => {
50
- const lowerLimit = isNil(minValue.value) ? props.lowerLimit : minValue.value;
51
- const upperLimit = props.upperLimit;
52
- return {
53
- lowerLimit,
54
- upperLimit
55
- };
56
- });
57
- return (_ctx, _cache) => {
58
- const _component_a_input_number = resolveComponent("a-input-number");
59
- return openBlock(), createElementBlock("div", _hoisted_1, [
60
- createVNode(_component_a_input_number, {
61
- value: minValue.value,
62
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => minValue.value = $event),
63
- min: minLimit.value.lowerLimit,
64
- max: minLimit.value.upperLimit,
65
- disabled: __props.disabled,
66
- precision: __props.precision,
67
- placeholder: __props.minPlaceholder,
68
- size: "small"
69
- }, null, 8, ["value", "min", "max", "disabled", "precision", "placeholder"]),
70
- createElementVNode("div", _hoisted_2, [
71
- renderSlot(_ctx.$slots, "middle", {}, () => [
72
- _cache[2] || (_cache[2] = createElementVNode("span", { class: "line" }, null, -1))
73
- ], true)
74
- ]),
75
- createVNode(_component_a_input_number, {
76
- value: maxValue.value,
77
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => maxValue.value = $event),
78
- min: maxLimit.value.lowerLimit,
79
- max: maxLimit.value.upperLimit,
80
- disabled: __props.disabled,
81
- precision: __props.precision,
82
- placeholder: __props.maxPlaceholder,
83
- size: "small"
84
- }, null, 8, ["value", "min", "max", "disabled", "precision", "placeholder"])
85
- ]);
86
- };
87
- }
88
- });
89
- const NumberRange = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9f447043"]]);
90
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
91
- __name: "regex-editor-modal",
92
- props: {
93
- value: {},
94
- modal: {}
95
- },
96
- setup(__props) {
97
- const formState = reactive({});
98
- const props = __props;
99
- if (props.value) {
100
- Object.assign(formState, props.value);
101
- }
102
- const formRef = ref();
103
- async function onSave() {
104
- console.log("关闭回调");
105
- try {
106
- await formRef.value?.validate();
107
- return {
108
- ok: true,
109
- data: [toRaw(formState)]
110
- };
111
- } catch (err) {
112
- console.warn(err);
113
- }
114
- return {
115
- ok: false
116
- };
117
- }
118
- useModal(onSave);
119
- return (_ctx, _cache) => {
120
- const _component_a_input = resolveComponent("a-input");
121
- const _component_a_form_item = resolveComponent("a-form-item");
122
- const _component_a_textarea = resolveComponent("a-textarea");
123
- const _component_a_form = resolveComponent("a-form");
124
- const _component_view_container = resolveComponent("view-container");
125
- return openBlock(), createBlock(_component_view_container, { class: "transform-data-model-info pt-24px" }, {
126
- default: withCtx(() => [
127
- createVNode(_component_a_form, {
128
- ref_key: "formRef",
129
- ref: formRef,
130
- model: formState,
131
- "label-col": { span: 6 },
132
- "wrapper-col": { span: 16 },
133
- autocomplete: "off"
134
- }, {
135
- default: withCtx(() => [
136
- createVNode(_component_a_form_item, {
137
- label: _ctx.$t("sys.pageDesigner.regex"),
138
- name: "regex"
139
- }, {
140
- default: withCtx(() => [
141
- createVNode(_component_a_input, {
142
- value: formState.regex,
143
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.regex = $event),
144
- maxlength: 128,
145
- "show-count": ""
146
- }, null, 8, ["value"])
147
- ]),
148
- _: 1
149
- }, 8, ["label"]),
150
- createVNode(_component_a_form_item, {
151
- label: _ctx.$t("sys.pageDesigner.regHint"),
152
- name: "regexHint",
153
- rules: [{ required: !!formState.regex }]
154
- }, {
155
- default: withCtx(() => [
156
- createVNode(_component_a_textarea, {
157
- value: formState.regexHint,
158
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.regexHint = $event),
159
- maxlength: 64,
160
- "show-count": "",
161
- class: "i18n-textarea"
162
- }, null, 8, ["value"])
163
- ]),
164
- _: 1
165
- }, 8, ["label", "rules"])
166
- ]),
167
- _: 1
168
- }, 8, ["model"])
169
- ]),
170
- _: 1
171
- });
172
- };
173
- }
174
- });
175
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
176
- __name: "regex-editor",
177
- props: {
178
- modelValue: {}
179
- },
180
- emits: ["update:modelValue"],
181
- setup(__props, { emit: __emit }) {
182
- const props = __props;
183
- const emit = __emit;
184
- const openModal = async () => {
185
- console.log("sdfsdd");
186
- const result = await window.NocodeAdapter.utils.overlay.modal(
187
- _sfc_main$4,
188
- {
189
- value: props.modelValue
190
- },
191
- {
192
- title: $t("sys.pageDesigner.regConfig"),
193
- width: 640,
194
- minHeight: 250,
195
- showFooter: true,
196
- okText: $t("sys.okText"),
197
- cancelText: $t("sys.cancelText")
198
- }
199
- );
200
- if (result.ok) {
201
- console.log($t("sys.model.modifySuccess"), result);
202
- const data = result.data?.[0] || {};
203
- emit("update:modelValue", { regex: data.regex, regexHint: data.regexHint });
204
- }
205
- };
206
- return (_ctx, _cache) => {
207
- const _component_a_button = resolveComponent("a-button");
208
- return openBlock(), createBlock(_component_a_button, {
209
- block: "",
210
- size: "small",
211
- class: "regex-editor",
212
- onClick: openModal,
213
- type: !!props.modelValue ? "primary" : void 0
214
- }, {
215
- default: withCtx(() => [
216
- createTextVNode(toDisplayString(`${_ctx.$t("sys.pageDesigner.add")}${_ctx.$t("sys.pageDesigner.regex")}`), 1)
217
- ]),
218
- _: 1
219
- }, 8, ["type"]);
220
- };
221
- }
222
- });
223
- const RegexEditor = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-359390d0"]]);
1
+ import { defineComponent, ref, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, h, computed, onMounted, createBlock, mergeProps, unref, withCtx, Fragment, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-yih5hGsL.js";
3
+ import { N as NumberRange, R as RegexEditor } from "./regex-editor-BGukvOEI.js";
4
+ import { i as api, F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
5
+ import { s as useIntersectionObserver, t as cacheAdapter } from "./index-CtiiIgjs.js";
6
+ import { debounce } from "lodash-es";
7
+ import { w as watchDebounced } from "./mb-render-Cs7LUxzk.js";
224
8
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
225
9
  __name: "select-more",
226
10
  emits: ["next"],
@@ -515,17 +299,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
515
299
  formRef.value.validate();
516
300
  }
517
301
  });
518
- const regValue = computed({
519
- get() {
520
- if (!formState.value.regex || !formState.value.regexHint) {
521
- return void 0;
522
- }
523
- return pick(formState.value, ["regex", "regexHint"]);
524
- },
525
- set(v) {
526
- Object.assign(props.widget, v);
527
- }
528
- });
529
302
  const defaultValueValidator = (rule, value, callback) => {
530
303
  if (!value) {
531
304
  return;
@@ -590,7 +363,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
590
363
  _: 1
591
364
  }, 8, ["label", "rules"]),
592
365
  createVNode(FormItem, {
593
- label: `${_ctx.$t("sys.component.fieldTypeProps.textLengthRange")}`,
366
+ label: `${_ctx.$t("sys.fieldTypeProps.lengthLimit")}`,
594
367
  inline: false
595
368
  }, {
596
369
  default: withCtx(() => [
@@ -600,24 +373,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
600
373
  max: maxlengthVal.value,
601
374
  "onUpdate:max": _cache[3] || (_cache[3] = ($event) => maxlengthVal.value = $event),
602
375
  precision: 0,
603
- disabled: __props.disabled
604
- }, null, 8, ["min", "max", "disabled"])
376
+ disabled: __props.disabled,
377
+ "min-placeholder": _ctx.$t("sys.fieldTypeProps.minLength"),
378
+ "max-placeholder": _ctx.$t("sys.fieldTypeProps.maxLength")
379
+ }, null, 8, ["min", "max", "disabled", "min-placeholder", "max-placeholder"])
605
380
  ]),
606
381
  _: 1
607
382
  }, 8, ["label"]),
608
- createVNode(FormItem, {
609
- label: `${_ctx.$t("sys.pageDesigner.regSwitch")}`,
610
- inline: false
611
- }, {
612
- default: withCtx(() => [
613
- createVNode(RegexEditor, {
614
- modelValue: regValue.value,
615
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => regValue.value = $event),
616
- disabled: __props.disabled
617
- }, null, 8, ["modelValue", "disabled"])
618
- ]),
619
- _: 1
620
- }, 8, ["label"])
383
+ createVNode(RegexEditor, {
384
+ regex: formState.value.regex,
385
+ "onUpdate:regex": _cache[4] || (_cache[4] = ($event) => formState.value.regex = $event),
386
+ "regex-hint": formState.value.regexHint,
387
+ "onUpdate:regexHint": _cache[5] || (_cache[5] = ($event) => formState.value.regexHint = $event),
388
+ disabled: __props.disabled
389
+ }, null, 8, ["regex", "regex-hint", "disabled"])
621
390
  ], 64)) : createCommentVNode("", true),
622
391
  createVNode(FormItem, {
623
392
  label: `${_ctx.$t("sys.pageDesigner.widgetType")}`,
@@ -627,7 +396,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
627
396
  createVNode(_component_a_select, {
628
397
  size: "small",
629
398
  value: formState.value.renderComp,
630
- "onUpdate:value": _cache[5] || (_cache[5] = ($event) => formState.value.renderComp = $event),
399
+ "onUpdate:value": _cache[6] || (_cache[6] = ($event) => formState.value.renderComp = $event),
631
400
  disabled: __props.disabled,
632
401
  class: "w-full"
633
402
  }, {
@@ -662,7 +431,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
662
431
  default: withCtx(() => [
663
432
  createVNode(_sfc_main$1, {
664
433
  modelValue: formState.value.relatedEsopId,
665
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => formState.value.relatedEsopId = $event),
434
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => formState.value.relatedEsopId = $event),
666
435
  "model-key": "em_document"
667
436
  }, null, 8, ["modelValue"])
668
437
  ]),
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-BiSPxwVH.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-BmC423aB.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "text-style",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { cl as isObject, bL as debounce } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { cS as isObject, cg as debounce } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
3
3
  const initialParams = {
4
4
  contentSize: 0,
5
5
  clientSize: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
2
- import { T as TimeDiffFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { T as TimeDiffFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, unref } from "vue";
2
2
  import dayjs from "dayjs";
3
- import { F as FIELD_TYPE, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
- import { C as CellWidgetRenderComp } from "./index-Cw_YFCZT.js";
3
+ import { F as FIELD_TYPE, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-DKTGEH4Q.js";
4
+ import { C as CellWidgetRenderComp } from "./index-yih5hGsL.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "trace-design",
7
7
  props: {