@gct-paas/word 0.1.13 → 0.1.15

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 (260) hide show
  1. package/dist/base/avatar/index.d.ts +1 -0
  2. package/dist/base/avatar/src/Avatar.vue.d.ts +9 -0
  3. package/dist/base/avatar/src/utils/useFile.d.ts +3 -0
  4. package/dist/base/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  5. package/dist/base/color-picker/index.d.ts +1 -0
  6. package/dist/base/color-picker/src/ColorPicker.vue.d.ts +88 -0
  7. package/dist/base/color-picker/src/constant/index.d.ts +6 -0
  8. package/dist/base/divider/index.d.ts +1 -0
  9. package/dist/base/divider/src/divider.d.ts +7 -0
  10. package/dist/base/divider/src/divider.vue.d.ts +19 -0
  11. package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +2 -2
  12. package/dist/base/empty/index.d.ts +1 -0
  13. package/dist/base/empty/src/empty.d.ts +8 -0
  14. package/dist/base/empty/src/empty.vue.d.ts +9 -0
  15. package/dist/base/index.d.ts +5 -0
  16. package/dist/base/input/index.d.ts +1 -0
  17. package/dist/base/input/src/input-number.vue.d.ts +24 -2
  18. package/dist/base/input/src/input.vue.d.ts +7 -7
  19. package/dist/base/input/src/text-area.vue.d.ts +65 -0
  20. package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -1
  21. package/dist/base/select/src/basic-select.vue.d.ts +3 -3
  22. package/dist/base/slider/index.d.ts +1 -0
  23. package/dist/base/slider/src/slider.vue.d.ts +22 -0
  24. package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
  25. package/dist/base/utils/asset-helper-util.d.ts +23 -2
  26. package/dist/capabilities/panel/config/types.d.ts +2 -1
  27. package/dist/capabilities/paper-widget-manifest/types.d.ts +13 -2
  28. package/dist/core/command/InputComposition.d.ts +2 -1
  29. package/dist/core/command/base/CommandBase.d.ts +1 -0
  30. package/dist/core/command/base/SetStyleBase.d.ts +4 -0
  31. package/dist/core/command/commands/Delete2DTable.d.ts +12 -0
  32. package/dist/core/command/commands/DeleteCheckTable.d.ts +12 -0
  33. package/dist/core/command/commands/DeleteDataGroup2D.d.ts +12 -0
  34. package/dist/core/command/commands/DeleteTableHeader.d.ts +12 -0
  35. package/dist/core/command/commands/InsertFloatingOverlay.d.ts +9 -0
  36. package/dist/core/command/commands/InsertPaperWidget.d.ts +2 -42
  37. package/dist/core/command/commands/ResizeOverlayLayout.d.ts +7 -0
  38. package/dist/core/command/commands/Set2DTable.d.ts +7 -0
  39. package/dist/core/command/commands/SetCheckTable.d.ts +7 -0
  40. package/dist/core/command/commands/SetDataGroup2D.d.ts +25 -0
  41. package/dist/core/command/commands/SetHeaderFooterConfig.d.ts +11 -0
  42. package/dist/core/command/commands/SetSubTableHeader.d.ts +8 -0
  43. package/dist/core/command/commands/SetTableHeader.d.ts +7 -0
  44. package/dist/core/command/types.d.ts +67 -3
  45. package/dist/core/constants/index.d.ts +7 -0
  46. package/dist/core/cursor/CursorController.d.ts +15 -0
  47. package/dist/core/cursor/hit/OverlayLayoutHitHandler.d.ts +9 -0
  48. package/dist/core/cursor/hit/types.d.ts +17 -0
  49. package/dist/core/cursor/layout/baseMeta.d.ts +1 -1
  50. package/dist/core/data/DataManager.d.ts +5 -0
  51. package/dist/core/event/DocumentEventBridge.d.ts +5 -1
  52. package/dist/core/event/EventManager.d.ts +1 -1
  53. package/dist/core/event/handlers/InteractionHandler.d.ts +3 -0
  54. package/dist/core/event/handlers/KonvaHandler.d.ts +3 -0
  55. package/dist/core/index.d.ts +9 -4
  56. package/dist/core/interaction/InteractionController.d.ts +8 -1
  57. package/dist/core/interaction/InteractionPolicy.d.ts +2 -0
  58. package/dist/core/interaction/types.d.ts +8 -0
  59. package/dist/core/interaction/useInteraction.d.ts +7 -3
  60. package/dist/core/layout/LayoutContext.d.ts +13 -3
  61. package/dist/core/layout/LayoutManager.d.ts +14 -0
  62. package/dist/core/layout/LayoutMapper.d.ts +0 -2
  63. package/dist/core/layout/handlers/PageWidgetHandler.d.ts +5 -0
  64. package/dist/core/layout/handlers/TextHandler.d.ts +11 -0
  65. package/dist/core/layout/handlers/base/BaseHandler.d.ts +26 -0
  66. package/dist/core/layout/handlers/fields/BaseHandler.d.ts +11 -0
  67. package/dist/core/layout/handlers/fields/{ImgHandler.d.ts → ImageHandler.d.ts} +1 -1
  68. package/dist/core/layout/handlers/fields/index.d.ts +1 -1
  69. package/dist/core/layout/handlers/index.d.ts +1 -0
  70. package/dist/core/layout/handlers/pageWidgets/BarcodeHandler.d.ts +11 -0
  71. package/dist/core/layout/handlers/pageWidgets/DefaultHandler.d.ts +4 -0
  72. package/dist/core/layout/handlers/pageWidgets/DiagonalHandler.d.ts +4 -0
  73. package/dist/core/layout/handlers/pageWidgets/ImageHandler.d.ts +4 -0
  74. package/dist/core/layout/handlers/pageWidgets/LineHandler.d.ts +4 -0
  75. package/dist/core/layout/handlers/pageWidgets/PaginationHandler.d.ts +7 -0
  76. package/dist/core/layout/handlers/pageWidgets/QrCodeHandler.d.ts +4 -0
  77. package/dist/core/layout/handlers/pageWidgets/SerialNumberHandler.d.ts +4 -0
  78. package/dist/core/layout/handlers/pageWidgets/index.d.ts +8 -0
  79. package/dist/core/layout/logic/LayoutBuilder.d.ts +19 -3
  80. package/dist/core/layout/logic/ModelBuilder.d.ts +2 -1
  81. package/dist/core/layout/providers/TableInfoProvider.d.ts +8 -2
  82. package/dist/core/layout/types/index.d.ts +7 -0
  83. package/dist/core/model/DocModel.d.ts +20 -0
  84. package/dist/core/model/base/ModelNode.d.ts +4 -0
  85. package/dist/core/model/base/RefManager.d.ts +50 -0
  86. package/dist/core/model/base/index.d.ts +1 -0
  87. package/dist/core/model/document/Wdocument.d.ts +2 -0
  88. package/dist/core/model/document/Wp.d.ts +14 -1
  89. package/dist/core/model/document/WpPr.d.ts +13 -0
  90. package/dist/core/model/document/WrPageWidget.d.ts +8 -0
  91. package/dist/core/model/document/WrText.d.ts +5 -2
  92. package/dist/core/model/document/WsecPr.d.ts +61 -1
  93. package/dist/core/model/document/Wtbl/Calculation.d.ts +12 -0
  94. package/dist/core/model/document/Wtbl/RegionManager.d.ts +13 -1
  95. package/dist/core/model/document/Wtbl/RowColumnOps.d.ts +6 -0
  96. package/dist/core/model/document/Wtbl.d.ts +14 -1
  97. package/dist/core/model/document/Wtc.d.ts +8 -0
  98. package/dist/core/model/document/index.d.ts +1 -0
  99. package/dist/core/model/footers/Wfooter.d.ts +40 -0
  100. package/dist/core/model/footers/Wfooters.d.ts +42 -0
  101. package/dist/core/model/headers/Wheader.d.ts +40 -0
  102. package/dist/core/model/headers/Wheaders.d.ts +45 -0
  103. package/dist/core/model/logic/CheckTableRegion.d.ts +44 -0
  104. package/dist/core/model/logic/DataGroup2DRegion.d.ts +12 -0
  105. package/dist/core/model/logic/SubTableHeaderRegion.d.ts +22 -0
  106. package/dist/core/model/logic/TableHeaderRegion.d.ts +16 -0
  107. package/dist/core/model/logic/_2DTableRegion.d.ts +44 -0
  108. package/dist/core/model/logic/index.d.ts +14 -1
  109. package/dist/core/model/overlays/Wlayout.d.ts +70 -0
  110. package/dist/core/model/overlays/Woverlay.d.ts +41 -0
  111. package/dist/core/model/overlays/Woverlays.d.ts +45 -0
  112. package/dist/core/model/settings/Wsettings.d.ts +47 -0
  113. package/dist/core/model/templates/footer.template.d.ts +75 -0
  114. package/dist/core/model/templates/header.template.d.ts +75 -0
  115. package/dist/core/model/templates/layout.template.d.ts +66 -0
  116. package/dist/core/model/templates/overlay.template.d.ts +22 -0
  117. package/dist/core/model/types/model.d.ts +3 -0
  118. package/dist/core/model/types/region.d.ts +1 -0
  119. package/dist/core/sdk/DocPubApiContext.d.ts +14 -12
  120. package/dist/core/sdk/createDoc.d.ts +1 -3
  121. package/dist/core/sdk/usePagesToPdf.d.ts +13 -4
  122. package/dist/core/utils/expand.d.ts +28 -4
  123. package/dist/core/utils/index.d.ts +4 -0
  124. package/dist/core/utils/unit-converter-util.d.ts +12 -2
  125. package/dist/core/view/Doc.d.ts +14 -3
  126. package/dist/core/view/Page.d.ts +50 -1
  127. package/dist/core/view/Paragraph.d.ts +2 -0
  128. package/dist/core/view/Section.d.ts +21 -1
  129. package/dist/core/view/Table.d.ts +3 -0
  130. package/dist/core/view/TableCell.d.ts +4 -2
  131. package/dist/core/view/TableRow.d.ts +2 -0
  132. package/dist/core/view/base/BandContainer.d.ts +49 -0
  133. package/dist/core/view/base/LayoutGroup.d.ts +11 -0
  134. package/dist/core/view/base/LayoutNode.d.ts +3 -0
  135. package/dist/core/view/base/OverlayContainer.d.ts +31 -0
  136. package/dist/core/view/base/OverlayLayout.d.ts +19 -0
  137. package/dist/core/view/base/index.d.ts +2 -0
  138. package/dist/core/view/runs/ImageRun.d.ts +9 -0
  139. package/dist/core/view/runs/ImageWidget.d.ts +12 -6
  140. package/dist/core/view/runs/TextRun.d.ts +26 -3
  141. package/dist/core/view/runs/TextWidget.d.ts +20 -7
  142. package/dist/core/view/utils/EventUtil.d.ts +22 -0
  143. package/dist/core/view/utils/TextUtil.d.ts +47 -0
  144. package/dist/core/widget/widget-meta.d.ts +5 -0
  145. package/dist/domain/active/active-types.d.ts +12 -6
  146. package/dist/domain/constants/enum.d.ts +34 -0
  147. package/dist/domain/constants/options.d.ts +4 -0
  148. package/dist/domain/field/field-props-schema-type.d.ts +1 -1
  149. package/dist/domain/paper-widget/paper-widget-props-schema-type.d.ts +2 -0
  150. package/dist/domain/paper-widget/paper-widget-type.d.ts +10 -141
  151. package/dist/domain/paper-widget/widget-binding.d.ts +8 -0
  152. package/dist/domain/widget/component-type.d.ts +10 -2
  153. package/dist/index.d.ts +5 -10
  154. package/dist/index.es.js +56818 -47196
  155. package/dist/runtime/_register_/composables/panel/useActivePanel.d.ts +2 -2
  156. package/dist/runtime/_register_/context/DesignSuiteContext.d.ts +2 -0
  157. package/dist/runtime/canvas/__common__/context-menu/index.vue.d.ts +3 -1
  158. package/dist/runtime/canvas/doc-layout.vue.d.ts +11 -5
  159. package/dist/runtime/canvas/inline-image/resize-box.vue.d.ts +22 -6
  160. package/dist/{suites/edhr/panel-schema/data-init/common/add-ipaas/input-param-modal.vue.d.ts → runtime/canvas/node/overlay-layout.vue.d.ts} +2 -6
  161. package/dist/{suites/edhr/panel-schema/paper-widget/widgets/barcode.vue.d.ts → runtime/canvas/overlay/page-overlay-group.vue.d.ts} +4 -3
  162. package/dist/{suites/edhr/panel-schema/data-init/common/add-ipaas/out-param-modal.vue.d.ts → runtime/canvas/paper/header-footer-guides.vue.d.ts} +2 -3
  163. package/dist/{suites/edhr/panel-schema/paper-widget/widgets/qrcode.vue.d.ts → runtime/canvas/paper/inner-corner-mark.vue.d.ts} +2 -3
  164. package/dist/runtime/canvas/paper/paper-group.vue.d.ts +2 -1
  165. package/dist/runtime/canvas/paper/paper-hit-rect.vue.d.ts +7 -0
  166. package/dist/runtime/canvas/table/design/table-structure-overlay/dynamic-label.vue.d.ts +1 -0
  167. package/dist/runtime/canvas/table/design/table-structure-overlay/placeholder-label.vue.d.ts +1 -0
  168. package/dist/runtime/canvas/table/utils/index.d.ts +21 -3
  169. package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +5 -1
  170. package/dist/runtime/designer/main/editable-canvas.vue.d.ts +6 -3
  171. package/dist/runtime/designer/ribbon/components/set-table-header-form-modal.vue.d.ts +18 -0
  172. package/dist/runtime/designer/ribbon/components/sub-table-form-modal.vue.d.ts +4 -1
  173. package/dist/runtime/factories/usePwRenderData.d.ts +13 -0
  174. package/dist/runtime/factories/useRenderData.d.ts +1 -1
  175. package/dist/runtime/interface/change-diff.d.ts +26 -0
  176. package/dist/runtime/interface/render.d.ts +18 -0
  177. package/dist/runtime/renderer/annotation/annotation-comment-item.vue.d.ts +13 -0
  178. package/dist/runtime/renderer/annotation/annotation-comment-layer.vue.d.ts +2 -0
  179. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +16 -16
  180. package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +16 -16
  181. package/dist/runtime/renderer/main/preview-canvas.vue.d.ts +8 -4
  182. package/dist/sdk/doc-runtime/composables/useDocController.d.ts +17 -0
  183. package/dist/sdk/doc-runtime/composables/useDocOperations.d.ts +41 -0
  184. package/dist/sdk/doc-runtime/composables/useDocRuntimeProvider.d.ts +19 -0
  185. package/dist/sdk/doc-runtime/composables/useDocSuite.d.ts +20 -0
  186. package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +10 -0
  187. package/dist/sdk/doc-runtime/factories/document-request-strategy.d.ts +3 -0
  188. package/dist/{runtime → sdk/doc-runtime}/factories/useDocumentFactory.d.ts +33 -6
  189. package/dist/sdk/doc-runtime/useWord.d.ts +12 -0
  190. package/dist/sdk/engine/index.d.ts +14 -0
  191. package/dist/sdk/index.d.ts +14 -0
  192. package/dist/sdk/plugins/index.d.ts +15 -0
  193. package/dist/sdk/setup.d.ts +55 -0
  194. package/dist/sdk/types/index.d.ts +119 -0
  195. package/dist/sdk/vue/index.d.ts +7 -0
  196. package/dist/sdk/vue/layouts/doc-design-layout.d.ts +7 -0
  197. package/dist/sdk/vue/layouts/doc-design-layout.vue.d.ts +10 -0
  198. package/dist/{runtime/renderer → sdk/vue/layouts}/doc-render-layout.vue.d.ts +17 -11
  199. package/dist/suites/edhr/field-manifest/_common_/basic.d.ts +6 -0
  200. package/dist/suites/edhr/index.d.ts +3 -2
  201. package/dist/suites/edhr/panel-config/index.d.ts +2 -1
  202. package/dist/suites/edhr/panel-schema/2d-table/2d-table.basic.d.ts +14 -0
  203. package/dist/suites/edhr/panel-schema/{paper-widget/widgets/editors/diagonal-name-editor.vue.d.ts → 2d-table/_2DTablePanel.vue.d.ts} +4 -5
  204. package/dist/suites/edhr/panel-schema/{paper-widget/widgets/diagonal.vue.d.ts → check-table/CheckTablePanel.vue.d.ts} +5 -4
  205. package/dist/suites/edhr/panel-schema/check-table/check-table.basic.d.ts +14 -0
  206. package/dist/suites/edhr/panel-schema/data-group-2d/DataGroup2DPanel.vue.d.ts +8 -0
  207. package/dist/suites/edhr/panel-schema/data-group-2d/data-group-2d.basic.d.ts +14 -0
  208. package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-field/add-builtin-field-modal.vue.d.ts +3 -1
  209. package/dist/suites/edhr/panel-schema/data-init/common/add-ipaas/ipaas-param-config.vue.d.ts +1 -1
  210. package/dist/suites/edhr/panel-schema/data-init/utils/index.d.ts +26 -2
  211. package/dist/suites/edhr/panel-schema/data-init/utils/json-schema.d.ts +18 -0
  212. package/dist/suites/edhr/panel-schema/data-load/DataLoadPanel.vue.d.ts +2 -0
  213. package/dist/suites/edhr/panel-schema/data-load/ai-tmpl/ai-tmpl-editor.vue.d.ts +6 -0
  214. package/dist/suites/edhr/panel-schema/{data-init/common/add-ipaas/json-param-editor.vue.d.ts → data-load/ai-tmpl/identify-param-card.vue.d.ts} +7 -7
  215. package/dist/suites/edhr/panel-schema/data-load/common/add-tmpl-btn.vue.d.ts +16 -0
  216. package/dist/suites/edhr/panel-schema/data-load/common/decimal-slider.vue.d.ts +21 -0
  217. package/dist/suites/edhr/panel-schema/data-load/common/form-field-select.vue.d.ts +19 -0
  218. package/dist/suites/edhr/panel-schema/data-load/common/icon-tooltip.vue.d.ts +10 -0
  219. package/dist/suites/edhr/panel-schema/data-load/common/remove-icon.vue.d.ts +7 -0
  220. package/dist/suites/edhr/panel-schema/data-load/common/tmpl-card.vue.d.ts +25 -0
  221. package/dist/suites/edhr/panel-schema/data-load/data-load.basic.d.ts +5 -0
  222. package/dist/suites/edhr/panel-schema/data-load/device-tmpl/device-field-status.vue.d.ts +9 -0
  223. package/dist/suites/edhr/panel-schema/data-load/device-tmpl/device-tmpl-editor.vue.d.ts +6 -0
  224. package/dist/suites/edhr/panel-schema/data-load/device-tmpl/params-item-card.vue.d.ts +30 -0
  225. package/dist/suites/edhr/panel-schema/data-load/hooks/device-link/constant.d.ts +44 -0
  226. package/dist/suites/edhr/panel-schema/data-load/hooks/device-link/controller.d.ts +38 -0
  227. package/dist/suites/edhr/panel-schema/data-load/hooks/device-link/index.d.ts +3 -0
  228. package/dist/suites/edhr/panel-schema/data-load/hooks/device-link/types.d.ts +157 -0
  229. package/dist/suites/edhr/panel-schema/data-load/hooks/form-tmpl-config/form-tmpl-config-controller.d.ts +67 -0
  230. package/dist/suites/edhr/panel-schema/data-load/hooks/form-tmpl-config/index.d.ts +2 -0
  231. package/dist/suites/edhr/panel-schema/data-load/hooks/form-tmpl-config/use-form-tmpl-config.d.ts +10 -0
  232. package/dist/suites/edhr/panel-schema/index.d.ts +70 -1
  233. package/dist/suites/edhr/panel-schema/paper-header-footer/PaperHeaderFooterPanel.vue.d.ts +2 -0
  234. package/dist/suites/edhr/panel-schema/paper-header-footer/paper-header-footer.basic.d.ts +5 -0
  235. package/dist/suites/edhr/panel-schema/paper-widget/PaperWidgetPanel.vue.d.ts +7 -1
  236. package/dist/suites/edhr/panel-schema/paper-widget/paper-widget.basic.d.ts +7 -1
  237. package/dist/suites/edhr/panel-schema/table-header/TableHeaderPanel.vue.d.ts +8 -0
  238. package/dist/suites/edhr/panel-schema/table-header/table-header.basic.d.ts +11 -0
  239. package/dist/suites/edhr/paper-widget-manifest/basic/line-manifest.d.ts +2 -0
  240. package/dist/suites/edhr/paper-widget-manifest/basic/pagination-manifest.d.ts +2 -0
  241. package/dist/suites/{edhr/panel-schema/paper-widget/widgets/editors/align-editor.vue.d.ts → shared/panel/config/editor/FormNumberEditor.vue.d.ts} +6 -8
  242. package/dist/suites/shared/panel/config/editor/single-field-editor/types.d.ts +9 -0
  243. package/dist/suites/shared/panel/modules/table-setting-module.vue.d.ts +5 -4
  244. package/dist/utils/TriggerUtil.d.ts +1 -1
  245. package/dist/utils/func/core.d.ts +7 -0
  246. package/dist/utils/func/dragdrop.d.ts +6 -1
  247. package/dist/utils/func/file.d.ts +1 -1
  248. package/dist/utils/symbol/contextKey.d.ts +7 -1
  249. package/dist/word.css +9284 -8173
  250. package/package.json +4 -1
  251. package/dist/core/sdk/types/public-types.d.ts +0 -78
  252. package/dist/runtime/designer/doc-design-layout.vue.d.ts +0 -6
  253. package/dist/runtime/useDocEngine.d.ts +0 -36
  254. package/dist/setup.d.ts +0 -46
  255. package/dist/suites/edhr/panel-schema/paper-widget/widgets/editors/img-parser.d.ts +0 -9
  256. package/dist/suites/edhr/panel-schema/paper-widget/widgets/editors/size-editor.vue.d.ts +0 -13
  257. package/dist/suites/edhr/panel-schema/paper-widget/widgets/editors/value-editor.vue.d.ts +0 -46
  258. package/dist/suites/edhr/panel-schema/paper-widget/widgets/image.vue.d.ts +0 -8
  259. package/dist/suites/edhr/panel-schema/paper-widget/widgets/serialnumber.vue.d.ts +0 -7
  260. /package/dist/suites/edhr/panel-config/{file → field/file}/upload.d.ts +0 -0
@@ -0,0 +1,75 @@
1
+ /**
2
+ * 页脚模板 - TypeScript 版本
3
+ * 保留变量占位符位置:{{paraId}} {{embedId}} {{index}}
4
+ */
5
+ export declare const FOOTER_TEMPLATE: {
6
+ '@attrs': {
7
+ 'xmlns:o': string;
8
+ 'xmlns:w10': string;
9
+ 'xmlns:r': string;
10
+ 'xmlns:w14': string;
11
+ 'xmlns:wps': string;
12
+ 'xmlns:w15': string;
13
+ 'xmlns:wpi': string;
14
+ 'xmlns:w': string;
15
+ 'xmlns:v': string;
16
+ 'mc:Ignorable': string;
17
+ 'xmlns:wpg': string;
18
+ 'xmlns:wne': string;
19
+ 'xmlns:wpsCustomData': string;
20
+ 'xmlns:wp': string;
21
+ 'xmlns:wpc': string;
22
+ 'xmlns:mc': string;
23
+ 'xmlns:wp14': string;
24
+ 'xmlns:m': string;
25
+ };
26
+ elements: {
27
+ '@attrs': {
28
+ 'w14:paraId': string;
29
+ };
30
+ elements: {
31
+ elements: ({
32
+ '@attrs': {
33
+ 'w:val': string;
34
+ };
35
+ name: string;
36
+ type: string;
37
+ elements?: undefined;
38
+ } | {
39
+ elements: ({
40
+ '@attrs': {
41
+ 'w:eastAsiaTheme': string;
42
+ 'w:hint': string;
43
+ 'w:val'?: undefined;
44
+ 'w:eastAsia'?: undefined;
45
+ };
46
+ name: string;
47
+ type: string;
48
+ } | {
49
+ '@attrs': {
50
+ 'w:val': string;
51
+ 'w:eastAsia': string;
52
+ 'w:eastAsiaTheme'?: undefined;
53
+ 'w:hint'?: undefined;
54
+ };
55
+ name: string;
56
+ type: string;
57
+ })[];
58
+ name: string;
59
+ type: string;
60
+ '@attrs'?: undefined;
61
+ })[];
62
+ name: string;
63
+ type: string;
64
+ }[];
65
+ name: string;
66
+ type: string;
67
+ }[];
68
+ name: string;
69
+ '@Relationship': {
70
+ Type: string;
71
+ Target: string;
72
+ Id: string;
73
+ };
74
+ type: string;
75
+ };
@@ -0,0 +1,75 @@
1
+ /**
2
+ * 页眉模板 - TypeScript 版本
3
+ * 保留变量占位符位置:{{paraId}} {{embedId}} {{index}}
4
+ */
5
+ export declare const HEADER_TEMPLATE: {
6
+ '@attrs': {
7
+ 'xmlns:o': string;
8
+ 'xmlns:w10': string;
9
+ 'xmlns:r': string;
10
+ 'xmlns:w14': string;
11
+ 'xmlns:wps': string;
12
+ 'xmlns:w15': string;
13
+ 'xmlns:wpi': string;
14
+ 'xmlns:w': string;
15
+ 'xmlns:v': string;
16
+ 'mc:Ignorable': string;
17
+ 'xmlns:wpg': string;
18
+ 'xmlns:wne': string;
19
+ 'xmlns:wpsCustomData': string;
20
+ 'xmlns:wp': string;
21
+ 'xmlns:wpc': string;
22
+ 'xmlns:mc': string;
23
+ 'xmlns:wp14': string;
24
+ 'xmlns:m': string;
25
+ };
26
+ elements: {
27
+ '@attrs': {
28
+ 'w14:paraId': string;
29
+ };
30
+ elements: {
31
+ elements: ({
32
+ '@attrs': {
33
+ 'w:val': string;
34
+ };
35
+ name: string;
36
+ type: string;
37
+ elements?: undefined;
38
+ } | {
39
+ elements: ({
40
+ '@attrs': {
41
+ 'w:eastAsiaTheme': string;
42
+ 'w:hint': string;
43
+ 'w:val'?: undefined;
44
+ 'w:eastAsia'?: undefined;
45
+ };
46
+ name: string;
47
+ type: string;
48
+ } | {
49
+ '@attrs': {
50
+ 'w:val': string;
51
+ 'w:eastAsia': string;
52
+ 'w:eastAsiaTheme'?: undefined;
53
+ 'w:hint'?: undefined;
54
+ };
55
+ name: string;
56
+ type: string;
57
+ })[];
58
+ name: string;
59
+ type: string;
60
+ '@attrs'?: undefined;
61
+ })[];
62
+ name: string;
63
+ type: string;
64
+ }[];
65
+ name: string;
66
+ type: string;
67
+ }[];
68
+ name: string;
69
+ '@Relationship': {
70
+ Type: string;
71
+ Target: string;
72
+ Id: string;
73
+ };
74
+ type: string;
75
+ };
@@ -0,0 +1,66 @@
1
+ /**
2
+ * 容器层模板 - TypeScript 版本
3
+ * 保留变量占位符位置:{{layoutId}} {{x}} {{y}} {{width}} {{height}} {{zIndex}} {{paraId}}
4
+ */
5
+ export declare const LAYOUT_TEMPLATE: {
6
+ '@attrs': {
7
+ 'xmlns:w': string;
8
+ 'xmlns:r': string;
9
+ 'xmlns:mc': string;
10
+ 'xmlns:o': string;
11
+ 'xmlns:v': string;
12
+ 'mc:Ignorable': string;
13
+ 'data-layout-id': string;
14
+ };
15
+ '@layout': {
16
+ x: string;
17
+ y: string;
18
+ width: string;
19
+ height: string;
20
+ zIndex: string;
21
+ };
22
+ elements: {
23
+ '@attrs': {
24
+ 'w14:paraId': string;
25
+ };
26
+ elements: {
27
+ elements: ({
28
+ '@attrs': {
29
+ 'w:val': string;
30
+ };
31
+ name: string;
32
+ type: string;
33
+ elements?: undefined;
34
+ } | {
35
+ elements: ({
36
+ '@attrs': {
37
+ 'w:eastAsiaTheme': string;
38
+ 'w:hint': string;
39
+ 'w:val'?: undefined;
40
+ 'w:eastAsia'?: undefined;
41
+ };
42
+ name: string;
43
+ type: string;
44
+ } | {
45
+ '@attrs': {
46
+ 'w:val': string;
47
+ 'w:eastAsia': string;
48
+ 'w:eastAsiaTheme'?: undefined;
49
+ 'w:hint'?: undefined;
50
+ };
51
+ name: string;
52
+ type: string;
53
+ })[];
54
+ name: string;
55
+ type: string;
56
+ '@attrs'?: undefined;
57
+ })[];
58
+ name: string;
59
+ type: string;
60
+ }[];
61
+ name: string;
62
+ type: string;
63
+ }[];
64
+ name: string;
65
+ type: string;
66
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * 悬浮层模板 - TypeScript 版本
3
+ * 保留变量占位符位置:{{embedId}} {{index}}
4
+ */
5
+ export declare const OVERLAY_TEMPLATE: {
6
+ '@attrs': {
7
+ 'xmlns:w': string;
8
+ 'xmlns:r': string;
9
+ 'xmlns:mc': string;
10
+ 'xmlns:o': string;
11
+ 'xmlns:v': string;
12
+ 'mc:Ignorable': string;
13
+ };
14
+ elements: never[];
15
+ name: string;
16
+ '@Relationship': {
17
+ Type: string;
18
+ Target: string;
19
+ Id: string;
20
+ };
21
+ type: string;
22
+ };
@@ -63,8 +63,11 @@ export type TableCellSnapshot = {
63
63
  mergeFromId?: string;
64
64
  mergeId?: string;
65
65
  repeatingId?: string;
66
+ _2DTableId?: string;
66
67
  boundedId?: string;
67
68
  boundedItemId?: string;
69
+ checkTableId?: string;
70
+ dataGroup2DId?: string;
68
71
  rawProperties?: any;
69
72
  };
70
73
  /**
@@ -1,4 +1,5 @@
1
1
  export type RegionJson = {
2
+ id: string;
2
3
  start: {
3
4
  col: number;
4
5
  row: number;
@@ -1,17 +1,19 @@
1
- import { Ref, ShallowRef } from 'vue';
2
- import { DocInfo, EnginePublic } from '..';
3
- import { SelfInfo } from './types/public-types';
1
+ import { ComputedRef, Ref, ShallowRef } from 'vue';
2
+ import { Doc } from '../view/Doc';
3
+ import { DocController, DocInfo } from '../../sdk/types';
4
4
  export declare function useDocPubApiContext(): {
5
- /** 原始 api */
6
- pubDocApi: ShallowRef<EnginePublic>;
5
+ /** 受控文档句柄(公共 API) */
6
+ controller: ShallowRef<DocController>;
7
7
  docInfo: Ref<DocInfo, DocInfo>;
8
8
  /** doc 实例 */
9
- docInst: import('vue').ComputedRef<import('..').Doc>;
10
- /** 实例接口信息 */
11
- selfInfo: Ref<SelfInfo, SelfInfo>;
9
+ docInst: ShallowRef<Doc>;
12
10
  /** query 服务 */
13
- query: import('vue').ComputedRef<import('./types/public-types').QueryAPI>;
14
- updateTick: import('vue').ComputedRef<number>;
15
- isDesignMode: import('vue').ComputedRef<boolean>;
16
- withLayoutComputed: <T>(getter: () => T) => import('vue').ComputedRef<T>;
11
+ query: ComputedRef<import('../../sdk/types').DocQueryAPI>;
12
+ updateTick: ComputedRef<number>;
13
+ isDesignMode: ComputedRef<boolean>;
14
+ loading: ComputedRef<boolean>;
15
+ hasData: ComputedRef<boolean>;
16
+ hasPages: ComputedRef<boolean>;
17
+ hasValidPageData: ComputedRef<boolean>;
18
+ withLayoutComputed: <T>(getter: () => T) => ComputedRef<T>;
17
19
  };
@@ -1,4 +1,2 @@
1
1
  import { Doc, DocInitOptions } from '../view/Doc';
2
- import { DocInfo, EnginePublic } from './types/public-types';
3
- export declare function createDoc(options: DocInitOptions): EnginePublic;
4
- export declare function createDocInfo(doc?: Doc): DocInfo;
2
+ export declare function newDoc(options: DocInitOptions): Doc;
@@ -1,10 +1,19 @@
1
- import { default as Konva } from 'konva';
2
1
  import { PageSizeEnum } from '../constants';
3
- interface ExportPdfOptions {
2
+ import { VOrientationType } from '../../domain/constants/enum';
3
+ interface IPrintOption {
4
4
  pageSize: PageSizeEnum;
5
- dpi?: number;
5
+ direction: VOrientationType;
6
6
  customSize?: number[];
7
7
  fileName?: string;
8
8
  }
9
- export declare function usePagesToPdf(stage: Konva.Stage, pages: string[], pageGroupRefs: Record<string, Konva.Group>, options: ExportPdfOptions): Promise<void>;
9
+ export type PaperItem = {
10
+ base64: string;
11
+ width: number;
12
+ height: number;
13
+ };
14
+ export declare function usePrint(): {
15
+ printView: (paperList: Array<PaperItem>, options: IPrintOption) => Promise<void>;
16
+ exportWordPDF: (paperList: Array<PaperItem>, options: IPrintOption) => void;
17
+ getPdfBuffer: (paperList: Array<PaperItem>, options: IPrintOption) => ArrayBuffer;
18
+ };
10
19
  export {};
@@ -1,6 +1,6 @@
1
1
  import { DataManager } from '../data/DataManager';
2
2
  import { Wtr, Wtbl, Wtc } from '../model/document';
3
- import { RepeatingRegion, BoundedRegion } from '../model/logic';
3
+ import { RepeatingRegion, BoundedRegion, TableHeaderRegion, SubTableHeaderRegion, CheckTableRegion, _2DTableRegion } from '../model/logic';
4
4
  import { Doc } from '../view/Doc';
5
5
  export type CellFragment = {
6
6
  id: string;
@@ -9,8 +9,11 @@ export type CellFragment = {
9
9
  colspan: number;
10
10
  dataIndex?: number;
11
11
  repeatingId?: string;
12
+ _2DTableId?: string;
12
13
  boundedId?: string;
14
+ checkTableId?: string;
13
15
  mergeFromId?: string;
16
+ headerId?: string;
14
17
  };
15
18
  type RowFragment = {
16
19
  id: string;
@@ -18,6 +21,11 @@ type RowFragment = {
18
21
  cells: CellFragment[];
19
22
  };
20
23
  type ModelNode = Wtr | Wtc;
24
+ type IndexMap = Map<string, {
25
+ dataIndex: number;
26
+ refPos?: string;
27
+ refCellId?: string;
28
+ }>;
21
29
  export declare class TableExpander {
22
30
  table: Wtbl;
23
31
  doc: Doc;
@@ -25,20 +33,36 @@ export declare class TableExpander {
25
33
  modelMapper: Map<string, ModelNode>;
26
34
  instanceMapper: Map<string, RowFragment | CellFragment>;
27
35
  rowIndexRepeatingMapper: Map<number, RepeatingRegion>;
36
+ rowIndex2DTableMapper: Map<number, _2DTableRegion>;
28
37
  rowIndexBoundedMapper: Map<number, BoundedRegion>;
29
- boundedCellDataIndexMap: Map<string, number>;
38
+ rowIndexCheckTableMapper: Map<number, CheckTableRegion>;
39
+ rowIndexTableHeaderMapper: Map<number, TableHeaderRegion | SubTableHeaderRegion>;
40
+ rowIdTableHeaderMapper: Map<string, TableHeaderRegion | SubTableHeaderRegion>;
41
+ rowIdSubTableMapper: Map<string, RepeatingRegion | BoundedRegion | CheckTableRegion>;
42
+ boundedCellDataIndexMap: IndexMap;
43
+ checkTableCellDataIndexMap: IndexMap;
30
44
  rows: RowFragment[];
45
+ regionIdTableHeaderMetaMap: Map<string, {
46
+ rowIds: string[];
47
+ }>;
31
48
  constructor(table: Wtbl, doc: Doc);
32
49
  getModelById<T extends ModelNode = Wtc>(id: string): T | undefined;
33
50
  initialize(): void;
34
51
  private initializeModelMapper;
35
52
  private initializeRepeatingMapper;
53
+ private initialize2DTableMapper;
36
54
  private initializeBoundedMapper;
55
+ private initializeCheckTableMapper;
56
+ private initializeTableHeaderMapper;
37
57
  private initializeBoundedItemDataIndex;
58
+ private initializeDataGroup2DDataIndex;
38
59
  private initializeRows;
39
- getRepeatingTimes(region: RepeatingRegion): number;
60
+ getDataCount(region: RepeatingRegion | _2DTableRegion): number;
40
61
  private initializeRepeatingRowsInRange;
62
+ private initialize2DTableRowsInRange;
41
63
  private initializeBoundedRowInRange;
64
+ private initializeCheckTableRowInRange;
65
+ private initializeTableHeaderRowInRange;
42
66
  private initializeNormalRowInRange;
43
67
  private transformMergeRelations;
44
68
  /**
@@ -73,6 +97,6 @@ export declare class TableExpander {
73
97
  row: number;
74
98
  col: number;
75
99
  };
76
- }): Map<string, number>;
100
+ }): IndexMap;
77
101
  }
78
102
  export {};
@@ -24,3 +24,7 @@ export declare function repeat(count: number, callback: (index: number) => void)
24
24
  * distributeInteger(10, 3) // [3, 3, 4]
25
25
  */
26
26
  export declare function distributeInteger(total: number, count: number): number[];
27
+ /**
28
+ * 将主工程的数据转换为 Word 的 JSONPath 格式数据
29
+ */
30
+ export declare const mainData2WordData: (data: Record<string, any>) => Record<string, any>;
@@ -22,10 +22,20 @@ export declare class UnitConverter {
22
22
  * @param twips Twips 值
23
23
  * @param dpi 屏幕 DPI(默认 96)
24
24
  * @returns 像素值
25
- * @example
26
- * UnitConverter.twipToPixel(1440) // 96
27
25
  */
28
26
  static twipToPixel(twips: number, dpi?: number): number;
27
+ /**
28
+ * 将 twips 转换为cm
29
+ * @param twips Twips 值
30
+ * @returns cm
31
+ */
32
+ static twipToCm(twip: number): number;
33
+ /**
34
+ * 将 cm 转换为twips
35
+ * @param cm cm 值
36
+ * @returns Twips 值
37
+ */
38
+ static cmToTwip(cm: number): number;
29
39
  /**
30
40
  * 将像素转换为 twips
31
41
  * @param pixel 像素值
@@ -1,7 +1,6 @@
1
1
  import { CommandManager } from '../command/CommandManager';
2
2
  import { Page } from './Page';
3
3
  import { LayoutNode } from './base';
4
- import { Section } from './Section';
5
4
  import { LayoutManager } from '../layout/LayoutManager';
6
5
  import { LayoutMapper } from '../layout/LayoutMapper';
7
6
  import { CursorManager } from '../cursor/CursorManager';
@@ -11,11 +10,16 @@ import { InteractionManager } from '../interaction/InteractionManager';
11
10
  import { DocModeType } from '../constants';
12
11
  import { CommandPayloadMap, RequiredPayloadCommands, OptionalPayloadCommands } from '../command/types';
13
12
  import { DocModel } from '../model';
13
+ import { DocRuntimeMeta } from '../../sdk';
14
14
  export interface DocInitOptions {
15
15
  mode?: DocModeType;
16
16
  model?: DocModel;
17
17
  preview?: boolean;
18
18
  mainModelKey: ModelKey;
19
+ /** 文档运行时元信息(接口数据 + 业务数据) */
20
+ docRuntimeMeta: DocRuntimeMeta;
21
+ formType: string;
22
+ paramsConfig: Record<string, any>;
19
23
  pageSize?: {
20
24
  width: number;
21
25
  height: number;
@@ -28,10 +32,9 @@ export declare class Doc {
28
32
  id: string;
29
33
  /** 渲染模式 */
30
34
  mode: DocModeType;
31
- /** 是否是预览模式 */
35
+ /** 是否是设计器预览模式 */
32
36
  preview: boolean;
33
37
  model?: DocModel;
34
- sections: Section[];
35
38
  pages: Page[];
36
39
  commandManager: CommandManager;
37
40
  layoutManager: LayoutManager;
@@ -47,6 +50,12 @@ export declare class Doc {
47
50
  pagePadding: [number, number, number, number];
48
51
  /** 当前表单主模型 key */
49
52
  mainModelKey: string;
53
+ /** 当前表单类型 */
54
+ formType: string;
55
+ /** 文档运行时元信息(接口数据 + 业务数据) */
56
+ docRuntimeMeta: DocRuntimeMeta;
57
+ /** 外部的参数配置 */
58
+ paramsConfig: Record<string, any>;
50
59
  /** 安全距离-上下 */
51
60
  SAFE_DIST_Y: number;
52
61
  /** 安全距离-左右 */
@@ -67,6 +76,7 @@ export declare class Doc {
67
76
  pageMaxWidth: number;
68
77
  /** UI 变更计数器 */
69
78
  private _updateTick;
79
+ private _textRunCount;
70
80
  onLayoutChange?: (doc: Doc) => void;
71
81
  onSelectionChange?: (doc: Doc) => void;
72
82
  constructor(options: DocInitOptions);
@@ -101,6 +111,7 @@ export declare class Doc {
101
111
  /** 是否是打印模式 */
102
112
  isInPrintMode(): boolean;
103
113
  bumpUpdateTick(): void;
114
+ increaseTextRunCount(): void;
104
115
  /**
105
116
  * 获取所有同时存在 widgetMeta 和 valuePath 的实例
106
117
  * @returns Wr 实例数组(包含 widgetMeta 和 valuePath 的文本或图片 run)
@@ -1,24 +1,73 @@
1
1
  import { Paragraph, ParagraphOptions } from './Paragraph';
2
2
  import { Table } from './Table';
3
- import { LayoutGroup, LayoutGroupOptions } from './base';
3
+ import { LayoutGroup, BandContainer, OverlayContainer, LayoutGroupOptions } from './base';
4
4
  import { IContainerMetrics } from './types';
5
5
  import { Section } from './Section';
6
6
  export type PageChild = Paragraph | Table;
7
7
  export interface PageOptions extends LayoutGroupOptions {
8
8
  section: Section;
9
+ pageIndex: number;
9
10
  initParagraph?: boolean;
10
11
  paragraphOptions?: ParagraphOptions;
11
12
  }
12
13
  export declare class Page extends LayoutGroup<PageChild> implements IContainerMetrics {
13
14
  section: Section;
14
15
  component: "paper";
16
+ headerBand: BandContainer;
17
+ footerBand: BandContainer;
18
+ overlayBand: OverlayContainer;
19
+ /** 当前页在所属 section 中的页码,从 1 开始 */
20
+ /** 当前页的页码 */
21
+ pageIndex: number;
15
22
  constructor(options: PageOptions);
23
+ /**
24
+ * 获取页面总宽度
25
+ * 从所属章节的页面尺寸中获取
26
+ */
16
27
  get width(): number;
28
+ /**
29
+ * 获取页面总高度
30
+ * 从所属章节的页面尺寸中获取
31
+ */
17
32
  get height(): number;
33
+ /**
34
+ * 获取页面内边距
35
+ * 格式:[上, 右, 下, 左],从所属章节中获取
36
+ */
18
37
  get padding(): [number, number, number, number];
38
+ /**
39
+ * 原始页边距(来自 section,不含页眉/页脚内容占位)
40
+ */
41
+ get basePadding(): [number, number, number, number];
42
+ /** 页眉内容高度 */
43
+ get headerBandHeight(): number;
44
+ /** 页脚内容高度 */
45
+ get footerBandHeight(): number;
46
+ /** 面板展示用:当前页眉实际占用的顶部 inset */
47
+ get headerActualOccupiedHeight(): number;
48
+ /** 面板展示用:当前页脚实际占用的底部 inset */
49
+ get footerActualOccupiedHeight(): number;
50
+ /**
51
+ * 获取正文最大可用宽度
52
+ * 总宽度 - 左右内边距
53
+ */
19
54
  get contentMaxWidth(): number;
55
+ /**
56
+ * 获取正文最大可用高度
57
+ * 总宽度 - 上下内边距
58
+ */
20
59
  get contentMaxHeight(): number;
60
+ /**
61
+ * 获取当前页面所有子元素的总高度
62
+ * 累加段落、表格等子组件的高度
63
+ */
21
64
  getContentHeight(): number;
65
+ /** 获取当前是第几页 */
66
+ getCurrentIndex(): number;
67
+ /**
68
+ * 获取页面剩余可用空间高度
69
+ * 正文最大高度 - 已占用内容高度
70
+ */
22
71
  getRemainingSize(): number;
23
72
  layout(): void;
24
73
  }
@@ -1,6 +1,7 @@
1
1
  import { LayoutGroup, LayoutNode, LayoutGroupOptions } from './base';
2
2
  import { Page } from './Page';
3
3
  import { TableCell } from './TableCell';
4
+ import { EventUtil } from './utils/EventUtil';
4
5
  type ParagraphParent = Page | TableCell;
5
6
  export interface ParagraphOptions extends LayoutGroupOptions {
6
7
  }
@@ -17,6 +18,7 @@ export declare class Paragraph extends LayoutGroup<LayoutNode> {
17
18
  component: "paragraph";
18
19
  parent: ParagraphParent;
19
20
  baseline: number;
21
+ splitFillEvent: EventUtil;
20
22
  constructor(options: ParagraphOptions);
21
23
  /**
22
24
  * 重写 addChild 方法,添加后置钩子
@@ -1,4 +1,4 @@
1
- import { WsecPr } from '../model/document';
1
+ import { PageMargins, WsecPr } from '../model/document';
2
2
  export type SectionOption = {
3
3
  pageSize?: {
4
4
  width: number;
@@ -12,8 +12,14 @@ export declare class Section {
12
12
  id: string;
13
13
  pageSize: SectionOption['pageSize'];
14
14
  pagePadding: SectionOption['pagePadding'];
15
+ margins?: PageMargins;
15
16
  bgColor?: string;
16
17
  refId: string;
18
+ wsecPr?: WsecPr;
19
+ /** 页眉距页面顶边的距离(px) */
20
+ headerSpacing: number;
21
+ /** 页脚距页面底边的距离(px) */
22
+ footerSpacing: number;
17
23
  constructor(options?: Partial<SectionOption>);
18
24
  /**
19
25
  * 从 WsecPr 模型创建 Section 视图
@@ -22,6 +28,20 @@ export declare class Section {
22
28
  * @returns Section 视图实例
23
29
  */
24
30
  static fromModel(json: WsecPr, dpi?: number): Section;
31
+ /**
32
+ * 根据 pageIndex 获取页眉引用
33
+ * @param pageIndex 页码
34
+ * @param evenAndOddHeaders 是否启用奇偶页
35
+ */
36
+ getHeaderRef(pageIndex: number, evenAndOddHeaders: boolean): string | null;
37
+ /**
38
+ * 根据 pageIndex 获取页脚引用
39
+ * @param pageIndex 页码
40
+ * @param evenAndOddHeaders 是否启用奇偶页
41
+ */
42
+ getFooterRef(pageIndex: number, evenAndOddHeaders: boolean): string | null;
43
+ /** 根据章节 id 获取对应的浮层引用 */
44
+ getOverlayRef(): string | null;
25
45
  /**
26
46
  * 获取内容区域宽度(页面宽度 - 左边距 - 右边距)
27
47
  * @returns 内容宽度(px)
@@ -1,6 +1,7 @@
1
1
  import { LayoutGroup, LayoutGroupOptions } from './base';
2
2
  import { TableRow } from './TableRow';
3
3
  import { Border } from './types';
4
+ import { EventUtil } from './utils/EventUtil';
4
5
  export interface TableOptions extends LayoutGroupOptions {
5
6
  colWidths?: number[];
6
7
  }
@@ -9,6 +10,8 @@ export declare class Table extends LayoutGroup<TableRow> {
9
10
  component: "table";
10
11
  cellPadding: [number, number, number, number];
11
12
  colWidths?: number[];
13
+ /** redistribute 完成事件 */
14
+ redistributeEvent: EventUtil;
12
15
  /** 表格边框 */
13
16
  border?: Border;
14
17
  /** 表格背景色 */
@@ -5,6 +5,7 @@ import { Table } from './Table';
5
5
  import { TableRow } from './TableRow';
6
6
  import { RepeatingWidgetMeta } from '../model/logic/RepeatingRegion';
7
7
  import { BoundedWidgetMeta } from '../model/logic/BoundedRegion';
8
+ import { CheckTableWidgetMeta } from '../model/logic/CheckTableRegion';
8
9
  export interface TableCellOptions extends LayoutGroupOptions {
9
10
  colspan?: number;
10
11
  rowspan?: number;
@@ -15,10 +16,10 @@ export interface TableCellOptions extends LayoutGroupOptions {
15
16
  }
16
17
  export type SubRenderer = {
17
18
  id: string;
18
- type: 'sub-table' | 'fixed-table' | 's-thead';
19
+ type: 'dynamic-table' | '2d-table' | 'fixed-table' | 'check-table' | 'table-header';
19
20
  dataIndex?: number;
20
21
  valuePath: string;
21
- widgetMeta?: RepeatingWidgetMeta | BoundedWidgetMeta;
22
+ widgetMeta?: RepeatingWidgetMeta | BoundedWidgetMeta | CheckTableWidgetMeta;
22
23
  };
23
24
  export declare class TableCell extends LayoutGroup<Paragraph> implements IContainerMetrics {
24
25
  component: "tableCell";
@@ -32,6 +33,7 @@ export declare class TableCell extends LayoutGroup<Paragraph> implements IContai
32
33
  /** 设计渲染时 */
33
34
  subRenderer?: SubRenderer;
34
35
  parent: TableRow;
36
+ skipSplitMeasure: boolean;
35
37
  get table(): Table;
36
38
  get padding(): [number, number, number, number];
37
39
  constructor(options: TableCellOptions);