@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,157 @@
1
+ /** 设备互联命名空间 */
2
+ export declare namespace DeviceLink {
3
+ /**
4
+ * 设备互联模板类型枚举
5
+ * @export
6
+ * @enum {number}
7
+ */
8
+ enum TmplTypeEnum {
9
+ /** 设备互联 */
10
+ DEVICE_INTERCONNECTION = "DEVICE_INTERCONNECTION",
11
+ /** AI OCR 识别 */
12
+ AI_OCR = "AI_OCR"
13
+ }
14
+ /**
15
+ * 降噪方法类型枚举
16
+ * @export
17
+ * @enum {number}
18
+ */
19
+ enum DenoiseMethodEnum {
20
+ /** 高斯模糊 */
21
+ GAUSSIAN = "gaussian",
22
+ /** 双边滤波 */
23
+ BILATERAL = "bilateral",
24
+ /** 中值滤波 */
25
+ MEDIAN = "bilateral"
26
+ }
27
+ /**
28
+ * 二值化方法类型枚举
29
+ * @export
30
+ * @enum {number}
31
+ */
32
+ enum BinarizeMethodEnum {
33
+ /** 自适应阈值 */
34
+ ADAPTIVE = "adaptive",
35
+ /** Otsu 自适应 */
36
+ OTSU = "otsu",
37
+ /** 简单阈值 */
38
+ SIMPLE = "simple"
39
+ }
40
+ /** ai 识别输入方式枚举 */
41
+ enum AiInputModeEnum {
42
+ /** 图片上传 */
43
+ UPLOAD = "UPLOAD",
44
+ /** 摄像头 */
45
+ CAMERA = "CAMERA"
46
+ }
47
+ /** 模板配置的通用结构 */
48
+ interface BasicTmpl {
49
+ /** 模板id(前端生成,唯一标识) */
50
+ id: string;
51
+ /** 模板类型 */
52
+ type: TmplTypeEnum;
53
+ }
54
+ /**
55
+ * 设备字段和表单字段映射关系
56
+ * @export
57
+ * @interface Device2FormFieldMap
58
+ */
59
+ interface Device2FormFieldMap {
60
+ /** 设备字段id */
61
+ deviceField: string;
62
+ /** 设备参数配置信息备份仅显示使用 */
63
+ deviceLinkParams?: IDeviceLinkParams;
64
+ /** 表单字段id(模型key.字段key)*/
65
+ formField?: string;
66
+ /** 是否是子表字段 */
67
+ isSubField?: boolean;
68
+ /** 子表字段映射关系 */
69
+ children?: Device2FormFieldMap[];
70
+ }
71
+ /**
72
+ * 设备互联模板
73
+ * @export
74
+ * @interface DeviceInterconnectionTmpl
75
+ */
76
+ interface DeviceInterconnectionTmpl extends BasicTmpl {
77
+ /** 设备名称 */
78
+ deviceName: string;
79
+ /** 设备id */
80
+ deviceId: string;
81
+ /**
82
+ * 设备字段和表单字段映射关系
83
+ * key: 设备字段id(设备字段id)
84
+ * value: 表单字段id(模型key.字段key)
85
+ * */
86
+ fieldMaps: Device2FormFieldMap[];
87
+ /** 运行时设备id */
88
+ runtimeDeviceId?: string;
89
+ /** 运行时设备编码 */
90
+ runtimeDeviceKey?: string;
91
+ /** 运行时设备类型,IPAAS,MQTT */
92
+ runtimeDeviceType?: string;
93
+ }
94
+ interface AIOcrTmplIdentifyParams {
95
+ /** 提示词 */
96
+ prompt: string;
97
+ /** 表单字段id(模型key.字段key)*/
98
+ formField: string;
99
+ }
100
+ /**
101
+ * AI OCR模板
102
+ * @export
103
+ * @interface AIOcrTmpl
104
+ */
105
+ interface AIOcrTmpl extends BasicTmpl {
106
+ /** 识别模板名 */
107
+ name: string;
108
+ /** 设备名称 */
109
+ deviceName: string;
110
+ /** 是否启用降噪 */
111
+ enableDenoise: boolean;
112
+ /** 降噪方法 */
113
+ denoiseMethod?: DenoiseMethodEnum;
114
+ /** 是否启用增强对比 */
115
+ enableContrast: boolean;
116
+ /** 增强对比强度值(1.0~3.0) */
117
+ contrastAlpha?: number;
118
+ /** 是否启用二值化 */
119
+ enableBinarize: boolean;
120
+ /** 二值化方法 */
121
+ binarizeMethod?: BinarizeMethodEnum;
122
+ /** 识别参数数组 */
123
+ identifyParams?: AIOcrTmplIdentifyParams[];
124
+ /** 额外提示词 */
125
+ extraPrompt: string;
126
+ /** 输入方式 */
127
+ inputMode?: AiInputModeEnum;
128
+ /** 运行时最终使用的完整提示词 */
129
+ runtimePrompt?: string;
130
+ }
131
+ /** 设备互联类型枚举 */
132
+ enum DeviceLinkTypeEnum {
133
+ /** 接口 */
134
+ IPAAS = "IPAAS",
135
+ /** */
136
+ MQTT = "MQTT"
137
+ }
138
+ /** 转换成可读的设备参数接口 */
139
+ interface IDeviceLinkParams {
140
+ code: string;
141
+ name: string;
142
+ type: string;
143
+ remark: string;
144
+ children?: IDeviceLinkParams[];
145
+ }
146
+ /** 组件内部用的设备参数接口 */
147
+ interface IDeviceLink {
148
+ /** 设备id */
149
+ id: string;
150
+ /** 设备名称 */
151
+ name: string;
152
+ /** 类型 */
153
+ type: DeviceLinkTypeEnum;
154
+ /** 树形的参数配置 */
155
+ params?: IDeviceLinkParams[];
156
+ }
157
+ }
@@ -0,0 +1,67 @@
1
+ import { DeviceLink } from '../device-link';
2
+ /**
3
+ * 表单模板配置控制器
4
+ * @export
5
+ * @class FormTmplConfigController
6
+ */
7
+ export declare class FormTmplConfigController {
8
+ /** 存储响应式变量 */
9
+ state: {
10
+ tmpls: {
11
+ id: string;
12
+ type: DeviceLink.TmplTypeEnum;
13
+ }[];
14
+ runningTmpls: {
15
+ deviceName: string;
16
+ deviceId: string;
17
+ fieldMaps: {
18
+ deviceField: string;
19
+ deviceLinkParams?: {
20
+ code: string;
21
+ name: string;
22
+ type: string;
23
+ remark: string;
24
+ children?: /*elided*/ any[] | undefined;
25
+ } | undefined;
26
+ formField?: string | undefined;
27
+ isSubField?: boolean | undefined;
28
+ children?: /*elided*/ any[] | undefined;
29
+ }[];
30
+ runtimeDeviceId?: string | undefined;
31
+ runtimeDeviceKey?: string | undefined;
32
+ runtimeDeviceType?: string | undefined;
33
+ id: string;
34
+ type: DeviceLink.TmplTypeEnum;
35
+ }[];
36
+ };
37
+ /** 表单模板id */
38
+ tmplId: string;
39
+ /** 是否手动模式,手动模式不触发接口 */
40
+ isManual: boolean;
41
+ /**
42
+ * 初始化
43
+ *
44
+ * @param opts
45
+ * - tmplId 表单模板id
46
+ */
47
+ init(opts: {
48
+ tmplId: string;
49
+ isManual?: boolean;
50
+ }): Promise<void>;
51
+ /**
52
+ * 设置获取到的配置数据字符串
53
+ * @param configStr
54
+ */
55
+ setConfigStr(configStr?: string): void;
56
+ getConfigStr(): string;
57
+ /** 调用接口加载数据 */
58
+ protected load(): Promise<void>;
59
+ /** 调用接口保存数据 */
60
+ save(): Promise<void>;
61
+ /** 调用接口刷新数据 */
62
+ refresh(): Promise<void>;
63
+ /** 添加或更新模板,并且调用接口保存并刷新数据 */
64
+ createOrUpdate(tmpl: DeviceLink.BasicTmpl): Promise<void>;
65
+ /** 缓存运行中的模板 */
66
+ cacheRunningTmpl(tmpl: DeviceLink.BasicTmpl): void;
67
+ }
@@ -0,0 +1,2 @@
1
+ export * from './use-form-tmpl-config';
2
+ export * from './form-tmpl-config-controller';
@@ -0,0 +1,10 @@
1
+ import { FormTmplConfigController } from './form-tmpl-config-controller';
2
+ /**
3
+ * 表单模板里的设备互联模板配置
4
+ * @export
5
+ * @return {*}
6
+ */
7
+ export declare function useFormTmplConfig(): {
8
+ provideController: (c?: FormTmplConfigController) => FormTmplConfigController;
9
+ injectController: () => FormTmplConfigController;
10
+ };
@@ -18,6 +18,20 @@ export declare function registryPanelSchemas(): {
18
18
  active: import('../../../domain/active/active-types').ActivePanelData;
19
19
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
20
  };
21
+ '2d-table.basic': {
22
+ key: string;
23
+ title: {
24
+ key: string;
25
+ value: string;
26
+ }[];
27
+ render: import('vue').DefineComponent<{
28
+ widget: import('../../../core').Wtbl;
29
+ active: import('../../../domain/active/active-types').ActivePanelData;
30
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
31
+ widget: import('../../../core').Wtbl;
32
+ active: import('../../../domain/active/active-types').ActivePanelData;
33
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
34
+ };
21
35
  'fixed-table.basic': {
22
36
  key: string;
23
37
  title: {
@@ -32,6 +46,20 @@ export declare function registryPanelSchemas(): {
32
46
  active: import('../../../domain/active/active-types').ActivePanelData;
33
47
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
34
48
  };
49
+ 'check-table.basic': {
50
+ key: string;
51
+ title: {
52
+ key: string;
53
+ value: string;
54
+ }[];
55
+ render: import('vue').DefineComponent<{
56
+ widget: import('../../../core').Wtbl;
57
+ active: import('../../../domain/active/active-types').ActivePanelData;
58
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
59
+ widget: import('../../../core').Wtbl;
60
+ active: import('../../../domain/active/active-types').ActivePanelData;
61
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
62
+ };
35
63
  'data-group.basic': {
36
64
  key: string;
37
65
  title: {
@@ -46,11 +74,35 @@ export declare function registryPanelSchemas(): {
46
74
  active: import('../../../domain/active/active-types').ActivePanelData;
47
75
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
48
76
  };
77
+ 'data-group-2d.basic': {
78
+ key: string;
79
+ title: {
80
+ key: string;
81
+ value: string;
82
+ }[];
83
+ render: import('vue').DefineComponent<{
84
+ widget: import('../../../core').Wtbl;
85
+ active: import('../../../domain/active/active-types').ActivePanelData;
86
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
87
+ widget: import('../../../core').Wtbl;
88
+ active: import('../../../domain/active/active-types').ActivePanelData;
89
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
90
+ };
49
91
  'data-init.basic': {
50
92
  key: string;
51
93
  title: string;
52
94
  render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
53
95
  };
96
+ 'data-load.basic': {
97
+ key: string;
98
+ title: string;
99
+ render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
100
+ };
101
+ 'paper-header-footer.basic': {
102
+ key: string;
103
+ title: string;
104
+ render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
105
+ };
54
106
  'field.basic': {
55
107
  key: string;
56
108
  title: string;
@@ -60,9 +112,26 @@ export declare function registryPanelSchemas(): {
60
112
  widget: import('../../../core').ITextWidget;
61
113
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
62
114
  };
115
+ 'table-header.basic': {
116
+ key: string;
117
+ title: string;
118
+ render: import('vue').DefineComponent<{
119
+ widget: import('../../../core').Wtbl;
120
+ active: import('../../../domain/active/active-types').ActivePanelData;
121
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
122
+ widget: import('../../../core').Wtbl;
123
+ active: import('../../../domain/active/active-types').ActivePanelData;
124
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
125
+ };
63
126
  'paper-widget.basic': {
64
127
  key: string;
65
128
  title: string;
66
- render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
129
+ render: import('vue').DefineComponent<{
130
+ widget: import('../../../core').ITextWidget;
131
+ active: import('../../../domain/active/active-types').ActivePanelData | null;
132
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
133
+ widget: import('../../../core').ITextWidget;
134
+ active: import('../../../domain/active/active-types').ActivePanelData | null;
135
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
67
136
  };
68
137
  };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const schema: {
2
+ key: string;
3
+ title: string;
4
+ render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
5
+ };
@@ -1,2 +1,8 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
1
+ import { ITextWidget } from '../../../../core';
2
+ import { ActivePanelData } from '../../../../domain/active/active-types';
3
+ type __VLS_Props = {
4
+ widget: ITextWidget;
5
+ active: ActivePanelData | null;
6
+ };
7
+ 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>;
2
8
  export default _default;
@@ -1,5 +1,11 @@
1
1
  export declare const schema: {
2
2
  key: string;
3
3
  title: string;
4
- render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
4
+ render: import('vue').DefineComponent<{
5
+ widget: import('../../../../core').ITextWidget;
6
+ active: import('../../../../domain/active/active-types').ActivePanelData | null;
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
8
+ widget: import('../../../../core').ITextWidget;
9
+ active: import('../../../../domain/active/active-types').ActivePanelData | null;
10
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
11
  };
@@ -0,0 +1,8 @@
1
+ import { Wtbl } from '../../../../core';
2
+ import { ActivePanelData } from '../../../../domain/active/active-types';
3
+ type __VLS_Props = {
4
+ widget: Wtbl;
5
+ active: ActivePanelData;
6
+ };
7
+ 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>;
8
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export declare const schema: {
2
+ key: string;
3
+ title: string;
4
+ render: import('vue').DefineComponent<{
5
+ widget: import('../../../../core').Wtbl;
6
+ active: import('../../../../domain/active/active-types').ActivePanelData;
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
8
+ widget: import('../../../../core').Wtbl;
9
+ active: import('../../../../domain/active/active-types').ActivePanelData;
10
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ };
@@ -0,0 +1,2 @@
1
+ import { PaperWidgetManifest } from '../../../../capabilities/paper-widget-manifest';
2
+ export declare const manifest: PaperWidgetManifest;
@@ -0,0 +1,2 @@
1
+ import { PaperWidgetManifest } from '../../../../capabilities/paper-widget-manifest';
2
+ export declare const manifest: PaperWidgetManifest;
@@ -1,13 +1,11 @@
1
1
  type __VLS_Props = {
2
- /** 类型 */
3
- type: 'horizontal' | 'vertical' | 'fontStyle';
4
- /** */
5
- value: string | object;
6
- disabled?: boolean;
2
+ label: string;
3
+ modelValue?: number;
4
+ numberProps?: Record<string, any>;
7
5
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- "update:value": (...args: any[]) => void;
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
+ "update:modelValue": (v?: number | undefined) => any;
10
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
9
+ "onUpdate:modelValue"?: ((v?: number | undefined) => any) | undefined;
12
10
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
11
  export default _default;
@@ -0,0 +1,9 @@
1
+ import { FieldDataBindingMeta } from '../../../../../../domain/field/field-binding';
2
+ export type SingleItem = {
3
+ fieldData: FieldDataBindingMeta;
4
+ fieldIdentity: {
5
+ icon: string;
6
+ label: string;
7
+ version: 'v1' | 'v2';
8
+ };
9
+ };
@@ -1,9 +1,10 @@
1
+ import { SubTableHeaderRegion, TableHeaderRegion } from '../../../../core/model/logic';
1
2
  type __VLS_Props = {
2
- item: {
3
- thName?: string;
3
+ type: 'table-header' | 'fixed-table' | 'check-table' | 'dynamic-table' | '2d-table';
4
+ list: {
4
5
  name: string;
5
- };
6
- type: 'thead' | 'fixed-table' | 'sub-table';
6
+ thead?: TableHeaderRegion | SubTableHeaderRegion;
7
+ }[];
7
8
  };
8
9
  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>;
9
10
  export default _default;
@@ -1,4 +1,4 @@
1
- type TriggerName = 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL';
1
+ type TriggerName = 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL' | 'OPEN_DATA_LOAD_DEVICE_INTERCONNECTION_ADD_PARAM_MAPPING_MODAL';
2
2
  export type TriggerHandler = (name: TriggerName, options?: any) => Promise<any>;
3
3
  interface TriggerUtilHandlers {
4
4
  handle?: TriggerHandler;
@@ -36,6 +36,7 @@ export declare function getBeforeBracket(str: string): string;
36
36
  /** 防抖特性的RAF,同一帧内多次调用 schedule() 只会执行一次 */
37
37
  export declare function createRafOnce(): {
38
38
  schedule: (fn: () => void) => void;
39
+ syncSchedule: <T>(fn: () => T) => Promise<T>;
39
40
  cancel: () => void;
40
41
  };
41
42
  export declare function listToTree<T extends {
@@ -48,3 +49,9 @@ export declare function listToTree<T extends {
48
49
  export declare function flattenTree<T extends Record<string, any>>(tree: T[], childrenKey?: string): T[];
49
50
  /** 从 URL 提取 name */
50
51
  export declare function getFileName(url: string): string;
52
+ /**
53
+ * 校验文本是否为合法数值类型
54
+ * @param {string} text 输入的任意内容
55
+ * @returns {boolean} true=合法数值,false=非数值
56
+ */
57
+ export declare function isNumberText(text: any): boolean;
@@ -18,6 +18,11 @@ export type Callbacks<T extends DndGenericTypes = DndGenericTypes> = {
18
18
  clientX: number;
19
19
  clientY: number;
20
20
  }, opts?: Record<string, unknown>) => void;
21
+ /**
22
+ * 是否允许在当前位置放置
23
+ * 返回 false 时阻止 dragover 和 drop,可用于区域限制(如页眉页脚模式)
24
+ */
25
+ canDrop?: (e: DragEvent, isOutOfFlow: boolean) => boolean;
21
26
  };
22
27
  export type DndTransferData<T extends DndGenericTypes = DndGenericTypes> = {
23
28
  type: typeof DndTransferTypeConst.Field;
@@ -28,7 +33,7 @@ export type DndTransferData<T extends DndGenericTypes = DndGenericTypes> = {
28
33
  };
29
34
  export declare const DndTransferKey: "__gct_dnd_transfer__";
30
35
  /** 设置传输数据 */
31
- export declare function setDndTransferData(e: DragEvent, data: DndTransferData): void;
36
+ export declare function setDndTransferData(e: DragEvent, data: DndTransferData, outOfFlow: boolean): void;
32
37
  export declare function useDragdrop(allowTypes: DndTransferType[], callbacks?: Callbacks): {
33
38
  handleDrop: (e: DragEvent, opts?: any) => void;
34
39
  handleDragOver: (e: DragEvent, opts?: any) => void;
@@ -1,2 +1,2 @@
1
- export declare function getUploadFileIcon(name?: string): "attachment" | "doc" | "pdf" | "xlsx" | "mp4" | "ppt" | "img";
1
+ export declare function getUploadFileIcon(name?: string): "attachment" | "doc" | "img" | "pdf" | "xlsx" | "mp4" | "ppt";
2
2
  export declare const formatSize: (size?: number) => string;
@@ -2,4 +2,10 @@ export declare const DESIGN_SUITE_CONTEXT_KEY: unique symbol;
2
2
  export declare const DOC_PUBLIC_API_KEY: unique symbol;
3
3
  export declare const DOC_INFO_KEY: unique symbol;
4
4
  export declare const INTERACTION_KEY: unique symbol;
5
- export declare const DOC_SELF_INFO_KEY: unique symbol;
5
+ export declare const DOC_DESIGN_LAYOUT_PROPS: unique symbol;
6
+ /** 文档加载中状态(ComputedRef<boolean>) */
7
+ export declare const DOC_LOADING_KEY: unique symbol;
8
+ /** 文档是否有数据(ComputedRef<boolean>) */
9
+ export declare const DOC_HAS_DATA_KEY: unique symbol;
10
+ /** 原始 Doc 实例(仅供内部渲染组件使用,不对外暴露) */
11
+ export declare const DOC_INSTANCE_KEY: unique symbol;