@gct-paas/excel 0.1.37-beta.2 → 0.1.37

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 (318) hide show
  1. package/dist/{BaseComponent-DN5v-Q_h.js → BaseComponent-5QpH6Rui.js} +2 -20
  2. package/dist/{VueVideoPlayer-C49th9G_.js → VueVideoPlayer-DZh8_F3v.js} +2 -2
  3. package/dist/{align-editor-CpscpDxA.js → align-editor-BTvIuOVN.js} +1 -1
  4. package/dist/{barcode-design-B7AoHzux.js → barcode-design-D3g_D7hp.js} +2 -3
  5. package/dist/base/index.es.js +2799 -2279
  6. package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-BinP4Wlt.js} +2 -3
  7. package/dist/{dynamic-table-action-zR6VwiFi.js → dynamic-table-action-Ckc4yetB.js} +3015 -7111
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js} +24570 -23749
  9. package/dist/{edit.utils-CXmmCnxE-evcsspEJ.js → edit.utils-CXmmCnxE-DDvf_1B1.js} +1 -1
  10. package/dist/excel.css +1204 -2454
  11. package/dist/{exceljs.min-DYYU4xe-.js → exceljs.min-jNu29iVm.js} +2 -2
  12. package/dist/{font-editor-hpUeXFv_.js → font-editor-B6cYSWqo.js} +3 -3
  13. package/dist/{image-design-BnDK5Jwf.js → image-design-kQ2vbtwc.js} +2 -2
  14. package/dist/{index-BcfmxYW-.js → index-B5HIN-qO.js} +2 -3
  15. package/dist/{index-DPiPri6e.js → index-B9sZfT3j.js} +2 -3
  16. package/dist/{index-CRj08TWu.js → index-BJyfzYBO.js} +2 -3
  17. package/dist/{index-D3t6B-9k.js → index-BNiGRPzJ.js} +1 -2
  18. package/dist/{index-BWvyGnI_.js → index-BPKmoc5N.js} +2 -3
  19. package/dist/{index-sQI9wXhV.js → index-BWEQIjQE.js} +1 -2
  20. package/dist/{index-Dfs0gE3N.js → index-BaCxUMCF.js} +2 -3
  21. package/dist/{index-3n5gOxbD.js → index-Bk8MpwGt.js} +2 -3
  22. package/dist/{index-B8tTsX2y.js → index-BqI7r_XC.js} +2 -3
  23. package/dist/{index-D9pfqRAP.js → index-BtZbUJqv.js} +3 -6
  24. package/dist/{index-D1C_tY7a.js → index-C1DOk9t-.js} +1 -2
  25. package/dist/{index-BEyidTCC.js → index-C3HGy13G.js} +1 -2
  26. package/dist/{index-CLyowrpG.js → index-C4tkNDTa.js} +2 -3
  27. package/dist/{index-DP1WApp-.js → index-C5ESFU7b.js} +1 -2
  28. package/dist/{index-CZv8lo_f.js → index-C8ArafDL.js} +2 -3
  29. package/dist/{index-BY7_uLSS.js → index-C91SfhAb.js} +1 -2
  30. package/dist/{index-B9q2iVJw.js → index-CkgB26Uk.js} +3 -4
  31. package/dist/{index-YuHHwSzv.js → index-ClnlX2jZ.js} +1 -2
  32. package/dist/{index-BezxcVwZ.js → index-CnTC_LFJ.js} +2 -3
  33. package/dist/{index-CUhR3L97.js → index-D3Oj5SoQ.js} +3 -4
  34. package/dist/{index-CXBwY7ba.js → index-DCMnBDPA.js} +237 -432
  35. package/dist/{index-HNE-yLqK.js → index-DF5irDE9.js} +2 -3
  36. package/dist/{index-DX1Nqubf.js → index-DSISN2ys.js} +2 -3
  37. package/dist/{index-557u9lSs.js → index-Dg6nmj-a.js} +74 -9
  38. package/dist/{index-CUhlQ0aK.js → index-DgUHgge3.js} +3 -4
  39. package/dist/{index-DKAk8Fzf.js → index-DnLs4s1z.js} +2 -14
  40. package/dist/{index-Crs2UUiJ.js → index-DqDGmouR.js} +2 -3
  41. package/dist/{index-BboAW45l.js → index-DqkJPwx3.js} +3 -4
  42. package/dist/{index-DULgJ5M_.js → index-Dxh55nQw.js} +1 -2
  43. package/dist/{index-CA25B2UR.js → index-Dzydpwhf.js} +2 -3
  44. package/dist/{index-D6T0GkNc.js → index-KBj0_MsM.js} +2 -3
  45. package/dist/{index-BaC0Py3z.js → index-O4srBJlA.js} +6845 -12285
  46. package/dist/{index-Bxgg0txy.js → index-YlVy61FH.js} +1 -2
  47. package/dist/{index-tRVTXeIS.js → index-avQcYIlZ.js} +2 -3
  48. package/dist/index.es.js +49 -51
  49. package/dist/{mb-render-jAsNtPqY.js → mb-render-BtXKf12F.js} +15 -21
  50. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Cxs9ZecX.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js} +8 -2
  51. package/dist/{pagination-design-lgUGQHWo.js → pagination-design-D2EHYcDi.js} +2 -3
  52. package/dist/paper-widget-design-Cn1RcpGb.js +4 -0
  53. package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-_uIcWgfD.js} +1 -1
  54. package/dist/{revo-grid.entry-Bygattd8.js → revo-grid.entry-h26i-X1O.js} +1 -1
  55. package/dist/{revogr-attribution_7.entry-BqzhD1hP.js → revogr-attribution_7.entry-DnWhGt3I.js} +3 -3
  56. package/dist/{revogr-clipboard_3.entry-Wr7KhnJ_.js → revogr-clipboard_3.entry-DHP6m3aV.js} +2 -2
  57. package/dist/{revogr-data_4.entry-CrFW39f1.js → revogr-data_4.entry-CBEPKC2v.js} +2 -2
  58. package/dist/{revogr-filter-panel.entry-9khS41SL.js → revogr-filter-panel.entry-DpaMxMlv.js} +1 -1
  59. package/dist/{serialnumber-design-eXgfrjw9.js → serialnumber-design-KRWMAGLy.js} +1 -1
  60. package/dist/shared/index.es.js +26 -32
  61. package/dist/{single-field-drop-rKr_LXW8.js → single-field-drop-yih8_AXA.js} +2 -2
  62. package/dist/{size-editor-OEPrJU0W.js → size-editor-BqOSTI8R.js} +1 -1
  63. package/dist/src/adapter/adapter.d.ts +1 -6
  64. package/dist/src/assets/svgs/table/index.d.ts +0 -1
  65. package/dist/src/domain/field/types.d.ts +2 -2
  66. package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  67. package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
  68. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
  69. package/dist/src/domain/table/design/index.d.ts +1 -1
  70. package/dist/src/domain/table/design/ribbon-options.d.ts +0 -1
  71. package/dist/src/domain/table/design/sub-model-matcher.d.ts +0 -1
  72. package/dist/src/domain/table/index.d.ts +2 -3
  73. package/dist/src/domain/table/registry.d.ts +0 -1
  74. package/dist/src/domain/table/types.d.ts +3 -8
  75. package/dist/src/index.d.ts +0 -6
  76. package/dist/src/nocode-base/src/_utils_/uuid.d.ts +0 -8
  77. package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +0 -3
  78. package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
  79. package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +17 -0
  80. package/dist/src/nocode-base/src/constant/index.d.ts +2 -8
  81. package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +3 -11
  82. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +1 -0
  83. package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
  84. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +1 -23
  85. package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +1 -0
  86. package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +1 -0
  87. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +5 -0
  88. package/dist/src/nocode-base/src/core/types/index.d.ts +0 -4
  89. package/dist/src/nocode-base/src/emit/enum.d.ts +12 -2
  90. package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +5 -7
  91. package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +6 -0
  92. package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
  93. package/dist/src/nocode-base/src/hooks/index.d.ts +3 -5
  94. package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
  95. package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
  96. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -10
  97. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +25 -13
  98. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +6 -5
  99. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +4 -8
  100. package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +1 -0
  101. package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +0 -3
  102. package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +13 -0
  103. package/dist/src/nocode-base/src/hooks/useDependency.d.ts +1 -2
  104. package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +4 -7
  105. package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +15 -0
  106. package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +2 -3
  107. package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +9 -1
  108. package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +24 -8
  109. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +99 -102
  110. package/dist/src/nocode-base/src/hooks/useValidator.d.ts +18 -0
  111. package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +10 -4
  112. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +0 -1
  113. package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
  114. package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +2 -3
  115. package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +8 -5
  116. package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
  117. package/dist/src/nocode-base/src/hooks/validation/types.d.ts +8 -15
  118. package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +41 -0
  119. package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +0 -6
  120. package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
  121. package/dist/src/nocode-base/src/index.d.ts +0 -2
  122. package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
  123. package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +3 -4
  124. package/dist/src/nocode-base/src/interface/code-runner.d.ts +0 -4
  125. package/dist/src/nocode-base/src/interface/render.d.ts +2 -5
  126. package/dist/src/nocode-base/src/interface/transform.d.ts +22 -26
  127. package/dist/src/nocode-base/src/types/business/index.d.ts +1 -8
  128. package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +0 -3
  129. package/dist/src/nocode-base/src/types/common/base.d.ts +6 -62
  130. package/dist/src/nocode-base/src/types/fields/index.d.ts +0 -1
  131. package/dist/src/nocode-base/src/types/index.d.ts +1 -1
  132. package/dist/src/nocode-base/src/types/render/mb-render.d.ts +2 -4
  133. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
  134. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -3
  135. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +35 -4
  136. package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +1 -0
  137. package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +7 -4
  138. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +6 -8
  139. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  140. package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +0 -2
  141. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +0 -3
  142. package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +0 -4
  143. package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -7
  144. package/dist/src/online-form/src/views/designer/enums/index.d.ts +1 -5
  145. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +0 -4
  146. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +0 -1
  147. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +678 -1208
  148. package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -5
  149. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2480 -503
  150. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
  151. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +1 -18
  152. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +327 -209
  153. package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +2 -0
  154. package/dist/src/online-form/src/views/designer/types/index.d.ts +26 -48
  155. package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +3 -8
  156. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +108 -11
  157. package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +4 -2
  158. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
  159. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
  160. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +1 -2
  161. package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +0 -1
  162. package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +1 -2
  163. package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
  164. package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +19 -21
  165. package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
  166. package/dist/src/shared/components/Signature/index.d.ts +2 -1
  167. package/dist/src/shared/components/Signature/logic/index.d.ts +14 -1
  168. package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +29 -0
  169. package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +2 -4
  170. package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +18 -0
  171. package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +118 -0
  172. package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -1
  173. package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
  174. package/dist/src/shared/enum/field-type.d.ts +0 -23
  175. package/dist/src/shared/enum/online-form.d.ts +2 -8
  176. package/dist/src/shared/index.d.ts +0 -1
  177. package/dist/src/shared/types/field-meta.d.ts +0 -1
  178. package/dist/src/shared/utils/field-size.d.ts +2 -4
  179. package/dist/src/shared/utils/lot2sn.d.ts +0 -5
  180. package/dist/{text-design-Dd5uT-hc.js → text-design-BK_VsTtK.js} +2 -3
  181. package/dist/{throttle-Cpk1LoGk-DxTostCa.js → throttle-Cpk1LoGk-DadArQT5.js} +1 -1
  182. package/dist/{timediff-design-DhxYymPd.js → timediff-design-q-J7ObPi.js} +1 -2
  183. package/dist/{trace-like-wrapper-CczUTJwp.js → trace-like-wrapper-CtthDv9M.js} +2 -3
  184. package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzAhq5rc.js → value-editor.vue_vue_type_style_index_0_lang-B40m6f0M.js} +2 -3
  185. package/dist/web-render/index.es.js +5 -6
  186. package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-DePyj-oR.js} +4 -5
  187. package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-BoPK84Km.js} +3 -4
  188. package/dist/{widget-image-bPGudw8R.js → widget-image-Bd-hAzWZ.js} +5 -5
  189. package/dist/{widget-line-Dw1mkN0H.js → widget-line-DcQ4GjjX.js} +2 -3
  190. package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-D6IFtegJ.js} +5 -6
  191. package/dist/{widget-power-Ceni1m5s.js → widget-power-dAEtqR3T.js} +3 -4
  192. package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-GkDxu48J.js} +3 -4
  193. package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-TRqqVGXL.js} +3 -3
  194. package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-BdZLWmtI.js} +1 -1
  195. package/dist/{widget-text-BIMT_dmX.js → widget-text-DS8vSuAy.js} +5 -5
  196. package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-C1n_nRUs.js} +2 -3
  197. package/package.json +4 -4
  198. package/dist/index-Bfrtgjub.js +0 -27
  199. package/dist/paper-widget-design-B6GKQFw2.js +0 -4
  200. package/dist/print-runtime-instance-MxA8-bHV.js +0 -36
  201. package/dist/print-snapshot-renderer-D6sRzdVe.js +0 -76
  202. package/dist/seal-design-CJO9Kmm0.js +0 -4
  203. package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +0 -2
  204. package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +0 -2
  205. package/dist/src/domain/field/seal/seal-manifest.d.ts +0 -2
  206. package/dist/src/domain/field/select/inspection-container-manifest.d.ts +0 -2
  207. package/dist/src/domain/field/text/udi-manifest.d.ts +0 -2
  208. package/dist/src/domain/table/business/device/maintenance/index.d.ts +0 -1
  209. package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
  210. package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
  211. package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
  212. package/dist/src/domain/table/business/device/point-inspection/index.d.ts +0 -1
  213. package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
  214. package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
  215. package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
  216. package/dist/src/domain/table/business/device/signature-lock.d.ts +0 -9
  217. package/dist/src/domain/table/business/material/material-substitution/index.d.ts +0 -2
  218. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -75
  219. package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
  220. package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
  221. package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
  222. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -6
  223. package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +0 -7
  224. package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +0 -17
  225. package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +0 -11
  226. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +0 -56
  227. package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
  228. package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +0 -24
  229. package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +0 -17
  230. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +0 -67
  231. package/dist/src/nocode-base/src/hooks/udi.d.ts +0 -6
  232. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +0 -3
  233. package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +0 -4
  234. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -65
  235. package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +0 -16
  236. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +0 -66
  237. package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +0 -2
  238. package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +0 -4
  239. package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +0 -15
  240. package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +0 -11
  241. package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +0 -7
  242. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +0 -21
  243. package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +0 -8
  244. package/dist/src/nocode-base/src/runtime/field-identity.d.ts +0 -21
  245. package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +0 -7
  246. package/dist/src/nocode-base/src/runtime/index.d.ts +0 -18
  247. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +0 -43
  248. package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +0 -36
  249. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +0 -122
  250. package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +0 -82
  251. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +0 -26
  252. package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +0 -90
  253. package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +0 -7
  254. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +0 -15
  255. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +0 -132
  256. package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +0 -80
  257. package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +0 -17
  258. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +0 -296
  259. package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +0 -93
  260. package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +0 -37
  261. package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +0 -99
  262. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +0 -44
  263. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +0 -23
  264. package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +0 -10
  265. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +0 -78
  266. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +0 -43
  267. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +0 -194
  268. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +0 -28
  269. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +0 -6
  270. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +0 -145
  271. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +0 -11
  272. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +0 -31
  273. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +0 -40
  274. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +0 -2
  275. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +0 -6
  276. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +0 -4
  277. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +0 -2
  278. package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +0 -2
  279. package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +0 -2
  280. package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +0 -9
  281. package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +0 -7
  282. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +0 -19
  283. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +0 -16
  284. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +0 -54
  285. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +0 -24
  286. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +0 -30
  287. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +0 -12
  288. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +0 -9
  289. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +0 -33
  290. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +0 -12
  291. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +0 -23
  292. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +0 -36
  293. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +0 -21
  294. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +0 -30
  295. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +0 -17
  296. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +0 -20
  297. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +0 -8
  298. package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +0 -2
  299. package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +0 -2
  300. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +0 -16
  301. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +0 -17
  302. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -9
  303. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -9
  304. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +0 -29
  305. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -58
  306. package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +0 -14
  307. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +0 -10
  308. package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +0 -15
  309. package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +0 -9
  310. package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +0 -11
  311. package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +0 -11
  312. package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +0 -27
  313. package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +0 -24
  314. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +0 -14
  315. package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +0 -6
  316. package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +0 -38
  317. package/dist/src/shared/seal/index.d.ts +0 -44
  318. package/dist/sub-table-factory-DLXJkTHY.js +0 -2118
@@ -1,27 +0,0 @@
1
- import { C as ComponentTypeEnum, ac as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
2
- import "vue";
3
- import "lodash-es";
4
- import "dayjs";
5
- import "@gct-paas/form-base";
6
- import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-DN5v-Q_h.js";
8
- class Seal extends BaseComponent {
9
- component = ComponentTypeEnum.Seal;
10
- wrapperCmpConfig({ data }) {
11
- return {
12
- props: {
13
- ...this.getCommonProps(data),
14
- sealSourceId: data.info.sealSourceId,
15
- diameterMm: normalizeSealDiameter(data.info.diameterMm),
16
- sealPosition: { ...data.info.sealPosition }
17
- },
18
- style: {},
19
- event: this.getCommonEvent(data),
20
- formItem: true
21
- };
22
- }
23
- }
24
- const index = new Seal();
25
- export {
26
- index as default
27
- };
@@ -1,4 +0,0 @@
1
- import { k as _sfc_main } from "./index-BaC0Py3z.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,36 +0,0 @@
1
- import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-BaC0Py3z.js";
2
- async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
3
- if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
4
- const snapshot = await record.controller.preparePrintSnapshot(
5
- (formState, revision) => captureRuntimePrintSnapshot(record, formState, revision, basicInfo)
6
- );
7
- if (signal.aborted) throw new Error("打印已取消");
8
- const view = await renderSnapshot(snapshot);
9
- void view.element.offsetHeight;
10
- await waitPrintFonts(document, signal);
11
- await waitPrintImages(view.element, signal);
12
- await view.whenReady();
13
- if (signal.aborted) throw new Error("打印已取消");
14
- const elements = Array.from(view.element.querySelectorAll(".cmp-paper-wrapper"));
15
- const pages = [];
16
- let pageIndex = 0;
17
- snapshot.context.sheets.forEach((sheet, sheetIndex) => {
18
- const { pageWidth, pageHeight } = sheet.dataCenter.paper.props;
19
- sheet.pageData.forEach(() => {
20
- const element = elements[pageIndex++];
21
- if (!element) throw new Error(`工作表「${sheet.title}」的打印页面未完整渲染`);
22
- pages.push({
23
- element,
24
- sheetIndex,
25
- sheetId: sheet.sheetId,
26
- width: Number(pageWidth),
27
- height: Number(pageHeight)
28
- });
29
- });
30
- });
31
- if (pageIndex !== elements.length) throw new Error("打印页数与分页结果不一致");
32
- await printPagesInIframe(pages, options.title ?? "", signal);
33
- }
34
- export {
35
- printRuntimeInstance
36
- };
@@ -1,76 +0,0 @@
1
- import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
2
- import { R as RuntimeFormStateStore, G as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-zR6VwiFi.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-DLXJkTHY.js";
4
- import { _ as _sfc_main$1 } from "./index-BaC0Py3z.js";
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "print-snapshot-renderer",
7
- props: {
8
- snapshot: {}
9
- },
10
- setup(__props, { expose: __expose }) {
11
- const props = __props;
12
- const { snapshot } = props;
13
- const registry = new RuntimeInstanceRegistry();
14
- const tableKeys = new Set(
15
- snapshot.fieldMetadata.fields.map((field) => field.subFieldKey).filter((key) => !!key)
16
- );
17
- snapshot.context.businessIndex.subTableInfo.forEach((table) => {
18
- if (table.field) tableKeys.add(table.field);
19
- });
20
- const store = new RuntimeFormStateStore(snapshot.formState, tableKeys, [
21
- ...snapshot.context.businessIndex.subTable2DList,
22
- ...snapshot.context.businessIndex.checkTable2DList
23
- ]);
24
- const factory = new SubTableCoreFactory(snapshot.pageContexts);
25
- factory.bindFormStateStore(store);
26
- snapshot.context.services.subTableCoreFactory = factory;
27
- const record = registry.register(snapshot.context, {
28
- formStateStore: store,
29
- fieldMetadata: snapshot.fieldMetadata,
30
- dependencyOutputs: snapshot.dependencyOutputs
31
- });
32
- registry.attachController(
33
- record.context.uniqueId,
34
- new RuntimeInstanceController({
35
- context: record.context,
36
- sheetService: record.sheetService,
37
- persistenceCoordinator: record.persistence,
38
- onValidate: () => {
39
- throw new Error("打印副本不能执行提交校验");
40
- },
41
- onGetSubmitData: () => {
42
- throw new Error("打印副本不能提交业务数据");
43
- }
44
- })
45
- );
46
- record.sheetService.dispose();
47
- record.persistence.dispose();
48
- provide(NCB_PROVIDE.RUNTIME_INSTANCE_REGISTRY, registry);
49
- provide(NCB_PROVIDE.IS_PDF, false);
50
- const sheetsRef = ref();
51
- let renderError;
52
- onErrorCaptured((error) => {
53
- renderError = error;
54
- return false;
55
- });
56
- __expose({
57
- whenReady: async () => {
58
- if (!sheetsRef.value) throw renderError ?? new Error("打印页面未完成渲染");
59
- await sheetsRef.value.whenReady();
60
- if (renderError) throw renderError;
61
- }
62
- });
63
- onBeforeUnmount(() => registry.clear());
64
- return (_ctx, _cache) => {
65
- return openBlock(), createBlock(_sfc_main$1, {
66
- ref_key: "sheetsRef",
67
- ref: sheetsRef,
68
- record: unref(record),
69
- "basic-info": unref(snapshot).basicInfo
70
- }, null, 8, ["record", "basic-info"]);
71
- };
72
- }
73
- });
74
- export {
75
- _sfc_main as default
76
- };
@@ -1,4 +0,0 @@
1
- import { f as _sfc_main } from "./index-BaC0Py3z.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,2 +0,0 @@
1
- import { FieldMainSetItem } from '../types';
2
- export declare const manifest: FieldMainSetItem;
@@ -1,2 +0,0 @@
1
- import { FieldMainSetItem } from '../types';
2
- export declare const manifest: FieldMainSetItem;
@@ -1,2 +0,0 @@
1
- import { FieldMainSetItem } from '../types';
2
- export declare const manifest: FieldMainSetItem;
@@ -1,2 +0,0 @@
1
- import { FieldMainSetItem } from '../types';
2
- export declare const manifest: FieldMainSetItem;
@@ -1,2 +0,0 @@
1
- import { FieldMainSetItem } from '../types';
2
- export declare const manifest: FieldMainSetItem;
@@ -1 +0,0 @@
1
- export { profile as maintenanceProfile } from './profile';
@@ -1,9 +0,0 @@
1
- /** 设备保养表内置字段 key */
2
- export declare const F: {
3
- /** 点检日期 */
4
- readonly inspectionDate: "inspection_date_";
5
- /** 点检人 */
6
- readonly inspector: "inspector_";
7
- /** 复核人 */
8
- readonly reviewer: "reviewer_";
9
- };
@@ -1,2 +0,0 @@
1
- import { BusinessFieldProfile } from '../../../../types';
2
- export declare const fields: BusinessFieldProfile[];
@@ -1,3 +0,0 @@
1
- import { BusinessSubTableProfile } from '../../../../types';
2
- export declare const TABLE_TYPE: "maintenance";
3
- export declare const profile: BusinessSubTableProfile;
@@ -1 +0,0 @@
1
- export { profile as pointInspectionProfile } from './profile';
@@ -1,9 +0,0 @@
1
- /** 设备点检表内置字段 key */
2
- export declare const F: {
3
- /** 点检日期 */
4
- readonly inspectionDate: "inspection_date_";
5
- /** 点检人 */
6
- readonly inspector: "inspector_";
7
- /** 复核人 */
8
- readonly reviewer: "reviewer_";
9
- };
@@ -1,2 +0,0 @@
1
- import { BusinessFieldProfile } from '../../../../types';
2
- export declare const fields: BusinessFieldProfile[];
@@ -1,3 +0,0 @@
1
- import { BusinessSubTableProfile } from '../../../../types';
2
- export declare const TABLE_TYPE: "point-inspection";
3
- export declare const profile: BusinessSubTableProfile;
@@ -1,9 +0,0 @@
1
- export interface FixedDeviceOperationConfig {
2
- mainFieldBindings?: string[];
3
- dataLockControlField?: 'inspector_' | 'reviewer_';
4
- }
5
- /** 签名字段有有效数据时,认为该行已经进入锁定状态。 */
6
- export declare function hasSignatureValue(value: unknown): boolean;
7
- export declare function isSignatureLockActive(config: FixedDeviceOperationConfig | undefined, rowData: Record<string, any> | undefined): boolean;
8
- /** 已保存的固定表行,其控制签名不可再删除。 */
9
- export declare function isPersistedSignatureLockActive(config: FixedDeviceOperationConfig | undefined, rowData: Record<string, any> | undefined): boolean;
@@ -1,2 +0,0 @@
1
- export { profile as materialSubstitutionProfile, TABLE_TYPE } from './profile';
2
- export * from './profile/field-keys';
@@ -1,75 +0,0 @@
1
- /**
2
- * 物料替换表(MATERIAL_SUBSTITUTION)字段 key
3
- */
4
- export declare const F: {
5
- /** 工序节点 */
6
- readonly routingOperation: "routing_operation_id_";
7
- /** SN */
8
- readonly productionContainer: "production_container_id_";
9
- /** 被替换物料批号 */
10
- readonly sourceMaterialNo: "source_material_no_";
11
- /** 被替换物料批号展示值 */
12
- readonly sourceMaterialNoLb: "source_material_no__lb_";
13
- /** 被替换物料 */
14
- readonly sourceProduct: "source_product_id_";
15
- /** 被替换物料展示值 */
16
- readonly sourceProductLb: "source_product_id__lb_";
17
- /** 被替换物料名称 */
18
- readonly sourceProductName: "source_product_id_name_";
19
- /** 被替换物料编码 */
20
- readonly sourceProductCode: "source_product_id_code_";
21
- /** 被替换物料规格 */
22
- readonly sourceProductSpec: "source_product_id_spec_";
23
- /** 原上料数量 */
24
- readonly sourceQtyConsumed: "source_qty_consumed_";
25
- /** 替换物料批号 */
26
- readonly targetMaterialNo: "target_material_no_";
27
- /** 替换物料批号 ID */
28
- readonly targetMaterialNoId: "target_material_no__id_";
29
- /** 替换物料 */
30
- readonly targetProduct: "target_product_id_";
31
- /** 替换物料名称 */
32
- readonly targetProductName: "target_product_id_name_";
33
- /** 替换物料编码 */
34
- readonly targetProductCode: "target_product_id_code_";
35
- /** 替换物料规格 */
36
- readonly targetProductSpec: "target_product_id_spec_";
37
- /** 替换数量 */
38
- readonly targetQtyConsumed: "target_qty_consumed_";
39
- };
40
- export type MaterialSubstitutionFieldKey = (typeof F)[keyof typeof F];
41
- /** 设计态固定禁用、运行态禁用的物料信息字段 */
42
- export declare const DISABLED_INPUT_FIELDS: readonly ["source_material_no_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
43
- export declare const CLEAR_ON_SOURCE_PRODUCT_EMPTY: readonly ["source_material_no_", "source_material_no__lb_", "source_product_id__lb_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_"];
44
- /** 替换物料批号清空 / 手输时需清空的物料字段 */
45
- export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
46
- /** 历史消耗选项 → 被替换物料行字段 */
47
- export declare const FILL_FROM_SOURCE_PRODUCT_OPTION: readonly [{
48
- readonly optionField: "material_name_";
49
- readonly toField: "source_material_no_";
50
- }, {
51
- readonly optionField: "product_id_.name_";
52
- readonly toField: "source_product_id_name_";
53
- }, {
54
- readonly optionField: "product_id_.code_";
55
- readonly toField: "source_product_id_code_";
56
- }, {
57
- readonly optionField: "product_id_.spec_";
58
- readonly toField: "source_product_id_spec_";
59
- }, {
60
- readonly optionField: "qty_consumed_";
61
- readonly toField: "source_qty_consumed_";
62
- }];
63
- /** 替换物料批号选项 → 替换物料信息 */
64
- export declare const FILL_FROM_TARGET_MATERIAL_NO_OPTION: readonly [{
65
- readonly optionField: "product_id_name_";
66
- readonly toField: "target_product_id_name_";
67
- }, {
68
- readonly optionField: "product_id_code_";
69
- readonly toField: "target_product_id_code_";
70
- }, {
71
- readonly optionField: "product_id_spec_";
72
- readonly toField: "target_product_id_spec_";
73
- }];
74
- /** SN / 工序不影响扫码结果能否复用当前空行。 */
75
- export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "source_product_id_", "target_material_no_", "target_product_id_"];
@@ -1,2 +0,0 @@
1
- import { BusinessFieldProfile } from '../../../../types';
2
- export declare const fields: BusinessFieldProfile[];
@@ -1,4 +0,0 @@
1
- import { BusinessSubTableProfile } from '../../../../types';
2
- export declare const TABLE_TYPE: "material-substitution";
3
- export declare const profile: BusinessSubTableProfile;
4
- export { profile as materialSubstitutionProfile };
@@ -1,6 +0,0 @@
1
- export declare function handleSourceProductChange(ctx: {
2
- rowData: Record<string, any>;
3
- }): void;
4
- export declare function handleTargetMaterialNoChange(ctx: {
5
- rowData: Record<string, any>;
6
- }): void;
@@ -1,7 +0,0 @@
1
- import { IModal } from '../../../shared/types';
2
- type __VLS_Props = {
3
- modal: IModal;
4
- content: string;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
- export default _default;
@@ -1,17 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { IBasicInfoItem } from '../../types';
3
- import { RenderModeEnum } from '../../constant';
4
- import { RuntimeInstanceRegistry, RuntimeNavigationTarget } from '../../runtime';
5
- import { FormChangeRowDetailMeta } from './form-change-row';
6
- import { IProps, IPayload } from '../render-page/types';
7
- export declare function createRuntimeAnnotationBinding(runtimeRegistry: RuntimeInstanceRegistry, basicInfoList: Ref<IBasicInfoItem[]>, props: IProps, payload: IPayload, updateRenderModeType: (uniqueId: string, mode: RenderModeEnum, updateButton?: boolean) => Promise<unknown>): {
8
- normalizeAnnotationLocation: (uniqueId: string, path: string, sheetId?: string) => string;
9
- navigateRuntimeLocation: (uniqueId: string, target: RuntimeNavigationTarget) => Promise<boolean>;
10
- setFromEditStatus: (uniqueId: string) => Promise<boolean>;
11
- setAnnotationViewStatus: (uniqueId: string, status: boolean, config?: string[] | {
12
- locations?: string[];
13
- rowDetails?: FormChangeRowDetailMeta[];
14
- }) => boolean;
15
- setFormChangeRowViewDetails: (uniqueId: string, rowDetails?: FormChangeRowDetailMeta[] | null) => Promise<boolean>;
16
- getAnnotationContentList: (uniqueId: string, options?: {}) => any[];
17
- };
@@ -1,11 +0,0 @@
1
- import { IDecisionRuleGroup, IInspectionDecisionRule } from '../../types';
2
- type FormRow = Record<string, any>;
3
- /** 安全解析设计端保存的规则树;无效或空配置不命中。 */
4
- export declare function parseInspectionDecisionRuleTree(dataRuleConfig?: string): IDecisionRuleGroup | null;
5
- /**
6
- * 计算规则树。同一子表的条件绑定到同一候选行;引用多个子表时按行组合判断。
7
- * 子表为空时保留空绑定,使 OR 分组中的主表条件仍可以独立命中。
8
- */
9
- export declare function evaluateDecisionRuleTree(root: IDecisionRuleGroup, formState: FormRow): boolean;
10
- export declare function evaluateInspectionDecisionRule(rule: IInspectionDecisionRule | null | undefined, formState: FormRow | null | undefined): boolean;
11
- export {};
@@ -1,56 +0,0 @@
1
- import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
2
- import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
3
- import { IProps, IPayload, RuntimeInstanceSource } from './types';
4
- import { useMaterialBalance } from '../material-balance/useMaterialBalance';
5
- export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource) => Promise<{
6
- runtimeContext: import('../..').RuntimeInstanceContext;
7
- runtimeFormStateStore: RuntimeFormStateStore;
8
- runtimeFieldMetadata: import('../..').RuntimeFieldMetadata;
9
- scriptRunner: any;
10
- basicInfo: {
11
- key: string;
12
- tid: string;
13
- uniqueId: string;
14
- modelKey: string;
15
- formType: FormTypeEnum;
16
- platformType: PlatformEnum;
17
- isMockReport: boolean;
18
- renderModeType: RenderModeEnum;
19
- btnRenderModeType: RenderModeEnum;
20
- bpmnType: import('../..').BpmnNodeTypeEnum | undefined;
21
- bpmnFieldAuthMap: Record<string, any> | undefined;
22
- gct_stashData: boolean;
23
- formChangeStatus: boolean;
24
- formChangeOriginData: {};
25
- formChangeNewData: {};
26
- annSwitchStatus: boolean;
27
- annCellLocationList: never[];
28
- annSelectId: undefined;
29
- annRowDetails: never[];
30
- validatorLocationList: never[];
31
- validatorMessageMap: {};
32
- mcValidatorLocationList: never[];
33
- mcValidatorMessageMap: {};
34
- mobileTdIdGroups: Map<any, any>;
35
- mobileSelectTdId: undefined;
36
- contentHighlight: {
37
- trace: any[];
38
- } | {
39
- trace?: undefined;
40
- };
41
- productSearchFields: string;
42
- showPrintFieldBg: any;
43
- paramsConfig: Record<string, any> | undefined;
44
- instanceStatus: any;
45
- };
46
- selfInfo: {
47
- formType: FormTypeEnum;
48
- viewType: import('../..').ViewTypeEnum;
49
- modelKey: string;
50
- bindKey?: string;
51
- } & Record<string, any>;
52
- } | undefined>;
53
- export type PreparedRuntimeInstance = NonNullable<Awaited<ReturnType<ReturnType<typeof createRuntimeInstanceInitializer>>>>;
54
- /** 过期请求和批量初始化失败的结果未注册,资源在此释放,不影响当前页面的实例。 */
55
- export declare function disposePreparedRuntime(instance: PreparedRuntimeInstance): void;
56
- export declare function bindRuntimeBusinessServices(runtimeRegistry: RuntimeInstanceRegistry, record: RuntimeInstanceRecord, dataStatus?: string): void;
@@ -1,45 +0,0 @@
1
- import { IBasicInfoItem } from '../../types';
2
- import { RuntimeInstanceRecord, RuntimeInstanceRegistry } from '../../runtime';
3
- import { IPayload, RuntimeSelfInfo } from './types';
4
- export declare function createRuntimeDataSourceBinding(registry: RuntimeInstanceRegistry, payload: IPayload): {
5
- dataSourceManagerMap: import('vue').ShallowRef<Record<string, {
6
- getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
7
- getContext: () => Record<string, unknown>;
8
- canExecute: () => boolean;
9
- reload: (key: string) => Promise<unknown>;
10
- reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
11
- states: {
12
- readonly [x: string]: {
13
- readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
14
- readonly data?: Readonly<unknown> | undefined;
15
- readonly error?: string | undefined;
16
- };
17
- };
18
- query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
19
- cancel: (key: string) => boolean;
20
- getResult(key: string): unknown;
21
- initialize: () => Promise<PromiseSettledResult<unknown>[]>;
22
- queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
23
- dispose(): void;
24
- }>, Record<string, {
25
- getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
26
- getContext: () => Record<string, unknown>;
27
- canExecute: () => boolean;
28
- reload: (key: string) => Promise<unknown>;
29
- reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
30
- states: {
31
- readonly [x: string]: {
32
- readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
33
- readonly data?: Readonly<unknown> | undefined;
34
- readonly error?: string | undefined;
35
- };
36
- };
37
- query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
38
- cancel: (key: string) => boolean;
39
- getResult(key: string): unknown;
40
- initialize: () => Promise<PromiseSettledResult<unknown>[]>;
41
- queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
42
- dispose(): void;
43
- }>>;
44
- bindDataSources: (record: RuntimeInstanceRecord, info: IBasicInfoItem, selfInfo: RuntimeSelfInfo) => Promise<void>;
45
- };
@@ -1,24 +0,0 @@
1
- import { RuntimeInstanceRegistry, RuntimeSaveToken } from '../../runtime';
2
- import { IProps, IPayload, RuntimeSelfInfo, RuntimeInstanceSource } from './types';
3
- import { PreparedRuntimeInstance } from './initialize-runtime';
4
- export declare function createRuntimeRequestSource(props: IProps, payload: IPayload): (ids: string[]) => Promise<RuntimeInstanceSource[]>;
5
- /** 等全部初始化结束后再决定是否安装;失败时释放同批已成功准备的资源。 */
6
- export declare function prepareRuntimeBatch(instances: RuntimeInstanceSource[], initialize: (id: string, source: RuntimeInstanceSource) => Promise<PreparedRuntimeInstance | undefined>): Promise<PreparedRuntimeInstance[]>;
7
- /** 加载序号覆盖请求、实例准备和安装全过程;过期错误与完成通知都不会影响新页面。 */
8
- export declare function createRuntimeLoadPipeline(state: {
9
- loading: boolean;
10
- error: Error | undefined;
11
- }, options: {
12
- request(ids: string[]): Promise<RuntimeInstanceSource[]>;
13
- prepare(sources: RuntimeInstanceSource[]): Promise<PreparedRuntimeInstance[]>;
14
- install(prepared: PreparedRuntimeInstance[], isCurrent: () => boolean): Promise<void>;
15
- }): {
16
- load(ids: string[]): Promise<boolean>;
17
- invalidate(): void;
18
- };
19
- /** 保存后回填与附件读取共用实例索引,不再接收或生成 newBackupInfo 副本。 */
20
- export declare function createRuntimePersistenceAccess(runtimeRegistry: RuntimeInstanceRegistry, props: IProps, payload: IPayload): {
21
- quickSearchRenderData: (uniqueId: string, currentSelfInfo: RuntimeSelfInfo, saveToken?: RuntimeSaveToken) => Promise<boolean>;
22
- getAppendixInfos: (uniqueId: string, types?: any[]) => string[];
23
- getPdfInfos: (uniqueId: string) => any;
24
- };
@@ -1,17 +0,0 @@
1
- import { IBasicInfoItem, ValidateFieldErrorMap } from '../../types';
2
- import { RenderModeEnum, PlatformEnum } from '../../constant';
3
- import { RuntimeInstanceRecord, RuntimeInstanceRegistry } from '../../runtime';
4
- import { ValidationCommentMap } from '../validation/types';
5
- /** 普通字段和物料消耗错误共用更新算法,原生 Error.message 变化也要更新。 */
6
- export declare function applyValidationComments(info: IBasicInfoItem | undefined, comments: ValidationCommentMap, kind: 'field' | 'material'): void;
7
- export declare function createRuntimeValidationBinding(runtimeRegistry: RuntimeInstanceRegistry, getInfo: (uniqueId: string) => IBasicInfoItem | undefined, platformType: PlatformEnum): {
8
- bindRuntimeValidation: (uniqueId: string) => void;
9
- bindFormValidationSync: (uniqueId: string) => void;
10
- runSubmissionValidation: (uniqueId: string) => Promise<{
11
- /** 是否通过校验 */
12
- isValid: boolean;
13
- fields?: ValidateFieldErrorMap;
14
- } | undefined>;
15
- updateRenderModeType: (uniqueId: string, mode: RenderModeEnum, updateButton?: boolean) => Promise<void>;
16
- prepareInitialView: (record: RuntimeInstanceRecord) => Promise<void>;
17
- };
@@ -1,67 +0,0 @@
1
- import { RenderModeEnum, PlatformEnum, BpmnNodeTypeEnum } from '../../constant';
2
- import { baseDataUtils } from '../../interface';
3
- import { RuntimeFormStateStore } from '../../runtime';
4
- import { DataSourceManagerOptions } from '@gct-paas/form-base';
5
- export interface IProps {
6
- /** 模板实例id或者模板id */
7
- selfId: string | string[] | undefined;
8
- /** 批次号 */
9
- materialNo?: string;
10
- /** 查询条件 */
11
- query?: Record<string, any>;
12
- }
13
- interface ITemplatePayload {
14
- /** 渲染模式类型 */
15
- renderModeType?: RenderModeEnum;
16
- }
17
- interface IInstancePayload {
18
- /** 是否是详情页面 */
19
- isDetailPage?: boolean | (() => boolean);
20
- /** 获取按钮显示规则 */
21
- getBtnDisplayRules?: boolean | (() => boolean);
22
- /** 组件传进来的参数 */
23
- paramExtraProps?: Record<string, any>;
24
- }
25
- interface IDeviceConfig {
26
- /** 默认的用户id */
27
- defaultUserId: string | undefined;
28
- /** 默认的部门id */
29
- defaultOrgId: string | undefined;
30
- /** 默认的物料查询条件 */
31
- defaultProductSearchFields: string;
32
- }
33
- export interface IPayload extends ITemplatePayload, IInstancePayload {
34
- /** 工厂类型 */
35
- factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
36
- /** 表单、实体和业务数源的宿主查询适配器。 */
37
- dataSourceAdapters?: DataSourceManagerOptions['adapters'];
38
- /** 请求接口函数 */
39
- requestCallback: (...args: any[]) => any;
40
- /** 平台参数类型 */
41
- platformType: PlatformEnum;
42
- /** 是否是模拟填报 */
43
- isMockReport: boolean;
44
- /** 设备配置信息 */
45
- deviceConfig?: IDeviceConfig;
46
- /**所有数据更新加载完后 */
47
- onFinisher?: (...args: any[]) => unknown;
48
- /**表单打印方法 */
49
- formPrint?: (...args: any[]) => unknown;
50
- /** 实例注册/保存回填完成后交付当前 Store,宿主用于建立自身的自动保存基准。 */
51
- onFormStateReady?: (store: RuntimeFormStateStore) => unknown;
52
- }
53
- /** 不同平台接口的开放业务元信息;不是运行时索引或提交数据的副本。 */
54
- export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info'];
55
- /** 请求适配后的内部初始化输入,单个/批量入口使用同一约定。 */
56
- export interface RuntimeInstanceSource {
57
- id?: string;
58
- tid: string;
59
- selfInfo: RuntimeSelfInfo;
60
- paramsConfig?: Record<string, any>;
61
- fillModeType: RenderModeEnum;
62
- btnModelType?: RenderModeEnum;
63
- bpmnType?: BpmnNodeTypeEnum;
64
- bpmnFieldAuthMap?: Record<string, any>;
65
- query?: Record<string, any>;
66
- }
67
- export {};
@@ -1,6 +0,0 @@
1
- /** paramsConfig 中 containerId 优先;没有时使用 snId。 */
2
- export declare function resolveUdiQuery(paramsConfig?: Record<string, unknown>): Record<string, string> | undefined;
3
- /** listAll 返回第一条 UDI;兼容接口返回 data / data.data 的历史形态。 */
4
- export declare function parseUdi(res: unknown): string | undefined;
5
- /** 请求本身不缓存;默认值服务按实例合并请求并管理生命周期。 */
6
- export declare function fetchUdi(paramsConfig?: Record<string, unknown>): Promise<string | undefined>;
@@ -1,3 +0,0 @@
1
- /** 更新当前表单的参数配置;未传入配置时清空上次的数据。 */
2
- export declare function setFormulaParamsConfig(paramsConfig?: Record<string, any> | null): void;
3
- export declare function registerFormulaFuncs(): void;
@@ -1,4 +0,0 @@
1
- /** 仅生成控件样式;不注册、覆盖或删除实例校验规则。 */
2
- export declare function useFieldPresentation(props: any): {
3
- widgetStyles: import('vue').ComputedRef<{}>;
4
- };