@gct-paas/word 0.1.74-beta.2 → 0.1.74-beta.21

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 (240) hide show
  1. package/README.md +4 -1
  2. package/dist/assets/svgs/table/index.d.ts +7 -0
  3. package/dist/assets/theme/field-state.d.ts +64 -56
  4. package/dist/base/calendar/src/calendar.vue.d.ts +2 -2
  5. package/dist/base/calendar/src/time.vue.d.ts +2 -2
  6. package/dist/base/checkbox/src/checkbox-group.vue.d.ts +2 -2
  7. package/dist/base/checkbox/src/checkbox.vue.d.ts +2 -2
  8. package/dist/base/collapse/src/collapse.vue.d.ts +3 -0
  9. package/dist/base/color-picker/src/ColorPicker.vue.d.ts +1 -1
  10. package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +2 -2
  11. package/dist/base/empty/src/empty.vue.d.ts +1 -1
  12. package/dist/base/image-upload/src/image-upload.vue.d.ts +1 -1
  13. package/dist/base/input/src/input-number.vue.d.ts +2 -2
  14. package/dist/base/input/src/input.vue.d.ts +5 -5
  15. package/dist/base/input/src/text-area.vue.d.ts +4 -4
  16. package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -0
  17. package/dist/base/modal/src/modal.type.d.ts +5 -0
  18. package/dist/base/radio/src/radio-group.vue.d.ts +2 -2
  19. package/dist/base/radio/src/radio.vue.d.ts +2 -2
  20. package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +2 -2
  21. package/dist/base/segment-slider/src/segment-slider.vue.d.ts +2 -2
  22. package/dist/base/select/src/basic-select.vue.d.ts +4 -4
  23. package/dist/base/select/src/searchable-select.vue.d.ts +30 -3
  24. package/dist/base/slider/src/slider.vue.d.ts +4 -4
  25. package/dist/base/switch/src/switch.vue.d.ts +2 -2
  26. package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
  27. package/dist/base/utils/image-size-util.d.ts +12 -4
  28. package/dist/core/command/commands/InsertTable.d.ts +4 -0
  29. package/dist/core/constants/index.d.ts +1 -0
  30. package/dist/core/constants/paper.d.ts +3 -1
  31. package/dist/core/constants/table.d.ts +11 -0
  32. package/dist/core/cursor/logic/getSelectionRects.d.ts +15 -2
  33. package/dist/core/cursor/logic/index.d.ts +2 -1
  34. package/dist/core/cursor/logic/selectionAnalyzer.d.ts +31 -6
  35. package/dist/core/data/enrichers/build-field-enrichers.d.ts +1 -1
  36. package/dist/core/data/enrichers/lot-parent-label-enricher.d.ts +13 -0
  37. package/dist/core/data/paths/field-paths.d.ts +2 -0
  38. package/dist/core/data/updates/field-updates.d.ts +7 -2
  39. package/dist/core/event/types.d.ts +1 -1
  40. package/dist/core/index.d.ts +1 -1
  41. package/dist/core/interaction/InteractionController.d.ts +11 -0
  42. package/dist/core/interaction/types.d.ts +8 -0
  43. package/dist/core/interaction/useInteraction.d.ts +6 -0
  44. package/dist/core/layout/LayoutManager.d.ts +5 -1
  45. package/dist/core/layout/providers/TableInfoProvider.d.ts +2 -2
  46. package/dist/core/layout/table/split-table.d.ts +10 -0
  47. package/dist/core/layout/types/index.d.ts +2 -0
  48. package/dist/core/model/document/Wbody.d.ts +4 -0
  49. package/dist/core/model/document/Wtbl/Calculation.d.ts +8 -2
  50. package/dist/core/model/document/Wtbl/RowColumnOps.d.ts +24 -3
  51. package/dist/core/model/document/Wtbl/Serialization.d.ts +26 -1
  52. package/dist/core/model/document/Wtbl.d.ts +31 -3
  53. package/dist/core/model/document/Wtc.d.ts +13 -2
  54. package/dist/core/model/document/Wtr.d.ts +2 -1
  55. package/dist/core/model/document/index.d.ts +1 -0
  56. package/dist/core/model/document/utils/ensure-paragraphs-around-tables.d.ts +18 -0
  57. package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
  58. package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +28 -1
  59. package/dist/core/model/templates/tableCell.template.d.ts +2 -0
  60. package/dist/core/view/Doc.d.ts +13 -1
  61. package/dist/core/view/Page.d.ts +2 -2
  62. package/dist/core/view/Table.d.ts +13 -0
  63. package/dist/core/view/TableCell.d.ts +2 -1
  64. package/dist/core/view/base/LayoutGroup.d.ts +11 -0
  65. package/dist/core/view/context/DocPubApiContext.d.ts +1 -0
  66. package/dist/core/view/runs/ImageWidget.d.ts +4 -0
  67. package/dist/core/view/utils/TextUtil.d.ts +1 -9
  68. package/dist/domain/active/active-types.d.ts +15 -1
  69. package/dist/domain/constants/enum/view.d.ts +15 -0
  70. package/dist/domain/field/field-type.d.ts +14 -2
  71. package/dist/domain/field/form-value.d.ts +5 -0
  72. package/dist/domain/table/business/check/check-table/actions/fetch-check-items.d.ts +1 -0
  73. package/dist/domain/table/business/material/material-requisition/index.d.ts +2 -0
  74. package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +34 -0
  75. package/dist/domain/table/business/material/material-requisition/profile/fields.d.ts +2 -0
  76. package/dist/domain/table/business/material/material-requisition/profile/index.d.ts +4 -0
  77. package/dist/domain/table/business/material/material-requisition/runtime/register-handlers.d.ts +1 -0
  78. package/dist/domain/table/business/material/material-requisition/runtime/row-change-handlers.d.ts +5 -0
  79. package/dist/domain/table/business/material/types.d.ts +41 -0
  80. package/dist/domain/table/business/preprocess/pretreatment-list/actions/index.d.ts +0 -1
  81. package/dist/domain/table/business/preprocess/pretreatment-list/actions/scan.d.ts +6 -7
  82. package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +7 -7
  83. package/dist/domain/table/business/shared/production-identification-scan-api.d.ts +13 -0
  84. package/dist/domain/table/business/shared/scan-action.d.ts +27 -20
  85. package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/index.d.ts +0 -1
  86. package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/scan.d.ts +6 -7
  87. package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -2
  88. package/dist/domain/table/business/warehouse/device-part-consume/index.d.ts +2 -0
  89. package/dist/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +35 -0
  90. package/dist/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +2 -0
  91. package/dist/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +3 -0
  92. package/dist/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +1 -0
  93. package/dist/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +3 -0
  94. package/dist/domain/table/business/warehouse/part-stocktake/index.d.ts +2 -0
  95. package/dist/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +38 -0
  96. package/dist/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +2 -0
  97. package/dist/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +3 -0
  98. package/dist/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +1 -0
  99. package/dist/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +6 -0
  100. package/dist/domain/table/business/warehouse/shared/inventory-scan-api.d.ts +15 -0
  101. package/dist/domain/table/business/warehouse/warehouse-allocate/actions/index.d.ts +0 -1
  102. package/dist/domain/table/business/warehouse/warehouse-allocate/actions/scan.d.ts +7 -7
  103. package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +31 -10
  104. package/dist/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +0 -1
  105. package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +2 -5
  106. package/dist/domain/table/business/warehouse/warehouse-in/actions/index.d.ts +1 -0
  107. package/dist/domain/table/business/warehouse/warehouse-in/actions/scan.d.ts +3 -0
  108. package/dist/domain/table/business/warehouse/warehouse-in/index.d.ts +3 -0
  109. package/dist/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +39 -0
  110. package/dist/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
  111. package/dist/domain/table/business/warehouse/warehouse-in/profile/index.d.ts +3 -0
  112. package/dist/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
  113. package/dist/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +5 -0
  114. package/dist/domain/table/business/warehouse/warehouse-inbound/index.d.ts +2 -0
  115. package/dist/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +32 -0
  116. package/dist/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +2 -0
  117. package/dist/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +3 -0
  118. package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +1 -0
  119. package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +2 -0
  120. package/dist/domain/table/business/warehouse/warehouse-inventory/actions/index.d.ts +0 -1
  121. package/dist/domain/table/business/warehouse/warehouse-inventory/actions/scan.d.ts +9 -7
  122. package/dist/domain/table/business/warehouse/warehouse-inventory/index.d.ts +1 -0
  123. package/dist/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +3 -0
  124. package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +25 -43
  125. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/index.d.ts +1 -2
  126. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +2 -18
  127. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +8 -59
  128. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +10 -0
  129. package/dist/domain/table/business/warehouse/warehouse-inventory/types.d.ts +22 -22
  130. package/dist/domain/table/business/warehouse/warehouse-out/actions/index.d.ts +1 -0
  131. package/dist/domain/table/business/warehouse/warehouse-out/actions/scan.d.ts +7 -0
  132. package/dist/domain/table/business/warehouse/warehouse-out/index.d.ts +3 -0
  133. package/dist/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +44 -0
  134. package/dist/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
  135. package/dist/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +3 -0
  136. package/dist/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
  137. package/dist/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +5 -0
  138. package/dist/domain/table/business/warehouse/warehouse-outbound/index.d.ts +2 -0
  139. package/dist/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +34 -0
  140. package/dist/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +2 -0
  141. package/dist/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +3 -0
  142. package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +1 -0
  143. package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +2 -0
  144. package/dist/domain/table/design/ribbon-options.d.ts +8 -1
  145. package/dist/domain/table/design/validate-nested-table-region.d.ts +31 -0
  146. package/dist/domain/table/design/validate-table-selection.d.ts +8 -0
  147. package/dist/domain/table/index.d.ts +1 -0
  148. package/dist/domain/table/runtime/engines/linkage-engine.d.ts +9 -2
  149. package/dist/domain/table/runtime/engines/main-field-bind-engine.d.ts +2 -0
  150. package/dist/domain/table/runtime/table-runtime-utils.d.ts +6 -1
  151. package/dist/domain/table/runtime/table-runtime.d.ts +2 -0
  152. package/dist/domain/table/types.d.ts +60 -7
  153. package/dist/index.es.js +21189 -11330
  154. package/dist/runtime/canvas/inline-image/resize-box.vue.d.ts +2 -2
  155. package/dist/runtime/canvas/table/render/label-parse-rule/type.d.ts +7 -1
  156. package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +141 -18
  157. package/dist/runtime/canvas/table/render/material-consume/context-key.d.ts +4 -0
  158. package/dist/runtime/canvas/table/render/material-consume/index.d.ts +1 -0
  159. package/dist/runtime/canvas/table/render/material-consume/material-consume-group-merge.d.ts +19 -0
  160. package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +79 -20
  161. package/dist/runtime/canvas/table/render/material-consume/material-consume.util.d.ts +2 -3
  162. package/dist/runtime/canvas/table/render/material-consume/product-id-query.d.ts +31 -0
  163. package/dist/runtime/canvas/table/render/material-consume/scan-fill.d.ts +13 -0
  164. package/dist/runtime/canvas/table/render/material-consume/scan-validator.d.ts +192 -0
  165. package/dist/runtime/canvas/table/render/material-consume/service.d.ts +6 -0
  166. package/dist/runtime/canvas/table/render/material-consume/transform.d.ts +12 -0
  167. package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/business-scan-menu.d.ts +9 -0
  168. package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/index.d.ts +1 -1
  169. package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/quick-fill.util.d.ts +5 -1
  170. package/dist/runtime/canvas/table/table-design.vue.d.ts +1 -0
  171. package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +6 -0
  172. package/dist/runtime/designer/panel/panel-breadcrumb-separator.vue.d.ts +2 -0
  173. package/dist/runtime/designer/panel/panel.vue.d.ts +1 -1
  174. package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -1
  175. package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +13 -12
  176. package/dist/runtime/renderer/dialogs/device-scan/submit-device-scan.d.ts +1 -0
  177. package/dist/runtime/renderer/dialogs/field-hyperlink/open-field-hyperlink.d.ts +0 -22
  178. package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +14 -0
  179. package/dist/runtime/renderer/dialogs/signature/security-config.d.ts +6 -0
  180. package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +4 -0
  181. package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +12 -12
  182. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/biz.d.ts +11 -0
  183. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-inventory-ndo.d.ts +11 -0
  184. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-ndo.d.ts +11 -0
  185. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/product-ndo.d.ts +12 -0
  186. package/dist/runtime/renderer/dropdowns/components/tables/columns/columns.d.ts +6 -3
  187. package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
  188. package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -0
  189. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +12 -12
  190. package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +12 -1
  191. package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +12 -12
  192. package/dist/runtime/renderer/dropdowns/components/tables/utils/assoc-filter.d.ts +3 -3
  193. package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +12 -12
  194. package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +3 -1
  195. package/dist/sdk/types/index.d.ts +6 -1
  196. package/dist/suites/edhr/component/resolve-field-render-colors.d.ts +6 -4
  197. package/dist/suites/edhr/component/resolve-marker-color.d.ts +7 -0
  198. package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +6 -1
  199. package/dist/suites/edhr/manifest/field/business/operation-output-qty-manifest.d.ts +2 -0
  200. package/dist/suites/edhr/manifest/field/business/operation-receive-qty-manifest.d.ts +2 -0
  201. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +52 -0
  202. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/index.d.ts +2 -0
  203. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/use-tmpl-bom.d.ts +13 -0
  204. package/dist/suites/edhr/panel-schema/data-init/object-init/object-init.vue.d.ts +7 -5
  205. package/dist/suites/edhr/panel-schema/device-part-consume-table/device-part-consume-table.basic.d.ts +1 -0
  206. package/dist/suites/edhr/panel-schema/field/field-attribute-value.vue.d.ts +26 -0
  207. package/dist/suites/edhr/panel-schema/field/field-panel-chevron.vue.d.ts +5 -0
  208. package/dist/suites/edhr/panel-schema/field/field-panel-text-icon.vue.d.ts +2 -0
  209. package/dist/suites/edhr/panel-schema/index.d.ts +7 -0
  210. package/dist/suites/edhr/panel-schema/material-requisition-table/material-requisition-table.basic.d.ts +1 -0
  211. package/dist/suites/edhr/panel-schema/part-stocktake-table/part-stocktake-table.basic.d.ts +1 -0
  212. package/dist/suites/edhr/panel-schema/warehouse-in-table/warehouse-in-table.basic.d.ts +1 -0
  213. package/dist/suites/edhr/panel-schema/warehouse-inbound-table/warehouse-inbound-table.basic.d.ts +1 -0
  214. package/dist/suites/edhr/panel-schema/warehouse-out-table/warehouse-out-table.basic.d.ts +1 -0
  215. package/dist/suites/edhr/panel-schema/warehouse-outbound-table/warehouse-outbound-table.basic.d.ts +1 -0
  216. package/dist/suites/shared/components/option-control-colors.d.ts +14 -0
  217. package/dist/suites/shared/hooks/useFieldPanel.d.ts +1 -0
  218. package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +2 -0
  219. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +2 -2
  220. package/dist/suites/shared/panel/modules/field-dependency-module/field-dependency-modal.vue.d.ts +2 -0
  221. package/dist/suites/shared/panel/utils/open-design-modal.d.ts +7 -0
  222. package/dist/suites/shared/suite-features.d.ts +17 -0
  223. package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
  224. package/dist/utils/func/file.d.ts +1 -1
  225. package/dist/utils/pdf/resolve-pdf-text-baseline.d.ts +1 -2
  226. package/dist/word.css +1434 -1175
  227. package/package.json +5 -3
  228. package/vite/index.mjs +4 -0
  229. package/dist/domain/table/business/preprocess/pretreatment-list/actions/change-parse-rule.d.ts +0 -7
  230. package/dist/domain/table/business/preprocess/pretreatment-list/runtime/remote-sync-apply.d.ts +0 -2
  231. package/dist/domain/table/business/shared/change-parse-rule.d.ts +0 -10
  232. package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/change-parse-rule.d.ts +0 -7
  233. package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/remote-sync-apply.d.ts +0 -2
  234. package/dist/domain/table/business/warehouse/warehouse-allocate/actions/change-parse-rule.d.ts +0 -7
  235. package/dist/domain/table/business/warehouse/warehouse-allocate/types.d.ts +0 -38
  236. package/dist/domain/table/business/warehouse/warehouse-inventory/actions/change-parse-rule.d.ts +0 -7
  237. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/remote-sync-apply.d.ts +0 -9
  238. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/scan-config.d.ts +0 -38
  239. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/warehouse-context.d.ts +0 -3
  240. package/dist/utils/fonts/cjk-optical-offset.d.ts +0 -12
package/README.md CHANGED
@@ -158,7 +158,10 @@ Vue 运行时注册函数。建议在 `createApp` 后、`mount` 前调用。
158
158
  - `options.factoryType`:`'template' | 'instance'`
159
159
  - `options.modelKey`:主模型 key
160
160
  - `options.suiteKey?`:套件 key(默认常用 `edhr`)
161
- - `options.isPreview?` / `options.isDetailPage?` / `options.renderModeType?`:运行模式控制
161
+ - `options.isPreview?` / `options.isRefer?` / `options.isDetailPage?` / `options.renderModeType?`:运行模式控制
162
+ - `isPreview`:设计器预览,隐藏 ribbon / toolkit / panel
163
+ - `isRefer`:设计器引用只读(对齐 Excel `DesignMode.Refer`),仅保留右侧属性 panel(隐藏 ribbon / toolkit),禁止编辑
164
+ - `isPreview` 与 `isRefer` **互斥**;同时为 true 时忽略 `isPreview`,仅启用 `isRefer`
162
165
 
163
166
  返回值:
164
167
 
@@ -12,11 +12,18 @@ export declare const TABLE_DATA_SVG: {
12
12
  };
13
13
  /** 业务表下拉项图标(按 tableType) */
14
14
  export declare const TABLE_BUSINESS_SVG: {
15
+ readonly 'warehouse-in': string;
16
+ readonly 'warehouse-inbound': string;
17
+ readonly 'warehouse-out': string;
18
+ readonly 'warehouse-outbound': string;
15
19
  readonly 'warehouse-in-out': string;
16
20
  readonly 'warehouse-inventory': string;
21
+ readonly 'part-stocktake': string;
22
+ readonly 'device-part-consume': string;
17
23
  readonly 'warehouse-allocate': string;
18
24
  readonly 'material-consume': string;
19
25
  readonly 'material-balance': string;
26
+ readonly 'material-requisition': string;
20
27
  readonly 'check-table': string;
21
28
  readonly 'pretreatment-list': string;
22
29
  readonly 'entrust-steril-batch-list': string;
@@ -1,66 +1,74 @@
1
1
  /**
2
- * 字段交互态配色(Canvas 渲染使用)。
3
- * Less 侧见 field-state.less,修改时请同步两处。
2
+ * 字段态配色 —— 唯一数据源(Canvas / PDF / 布局)。
3
+ *
4
+ * DOM 控件(input / select)另见 field-state.less,仅保留 DOM 用到的子集;
5
+ * 改色时以本文件为准,并同步 less 中同语义变量。
6
+ *
7
+ * 空值占位 / 括号 [](填报,同色):
8
+ * 可编辑 editable.placeholderColor / marker.default
9
+ * 必填 required.placeholderColor
10
+ * 只读 readonly.placeholderColor / marker.readonly
11
+ * 必填+只读 requiredReadonly.placeholderColor / color + background
12
+ * 禁用 disabled.color / marker.disabled
4
13
  */
5
14
  export declare const FieldStateColors: {
6
- /** 可编辑:浅蓝底 */
7
- readonly editableBg: "#F2F8FE";
8
- readonly editableBgActive: "rgba(147, 197, 253, 0.4)";
9
- readonly editableLine: "#999999";
10
- /** 暗提示(空值占位文字) */
11
- readonly editablePlaceholderText: "#b8b8b8";
12
- readonly readonlyPlaceholderText: "#b0b0b0";
13
- readonly printPlaceholderText: "#b8b8b8";
14
- /** 只读:灰底 + 灰边框,与可编辑蓝底形成对比 */
15
- readonly readonlyBg: "#f5f6f8";
16
- readonly readonlyBgActive: "#eff1f4";
17
- readonly readonlyBorder: "#d9d9d9";
18
- readonly readonlyLine: "#bfbfbf";
19
- readonly readonlyText: "rgba(0, 0, 0, 0.65)";
20
- /** 填报只读 - 有值文本(gct-text-render) */
21
- readonly readonlyValueBg: "#f0f2f5";
22
- readonly readonlyValueBgActive: "#e8ebf0";
23
- readonly readonlyValueText: "rgba(0, 0, 0, 0.78)";
24
- readonly readonlyValueLine: "#adb5bd";
25
- /** 填报只读 - 空值占位(gct-placeholder-render) */
26
- readonly readonlyPlaceholderBg: "#f5f7fa";
27
- readonly readonlyPlaceholderBgActive: "#eef1f5";
28
- readonly readonlyPlaceholderLine: "#c4c9d0";
29
- /** 详情页普通字符底色 */
30
- readonly printBg: "transparent";
31
- /** 详情页字段底色 */
32
- readonly printFieldBg: "#E8F3FF";
33
- /** 详情页字段校验失败底色 */
34
- readonly printFieldErrorBg: "#FEECED";
35
- /** 字段括号 [] 颜色 */
36
- readonly markerDefault: "#000000";
37
- readonly markerReadonly: "#8c8c8c";
38
- readonly markerDisabled: "#c9c9c9";
39
- /** 只读选中态(checkbox / radio) */
40
- readonly readonlyCheckedBorder: "#91caff";
41
- readonly readonlyCheckedBg: "#e6f4ff";
42
- readonly readonlyCheckedFill: "#69b1ff";
15
+ /** 字段括号 []:默认可编辑黑;只读/禁用见下;必填 / 必填+只读复用对应 placeholderColor */
16
+ readonly marker: {
17
+ readonly default: "#1A1D23";
18
+ readonly readonly: "#8c8c8c";
19
+ readonly disabled: "#C6C6C6";
20
+ };
21
+ /** 可编辑 */
22
+ readonly editable: {
23
+ readonly background: "#E8F3FF";
24
+ readonly placeholderColor: "#8B8B8B";
25
+ };
26
+ /** 必填 */
27
+ readonly required: {
28
+ readonly placeholderColor: "#F54547";
29
+ readonly background: "#FEECED";
30
+ };
43
31
  /** 禁用 */
44
- readonly disabledBg: "#f5f5f5";
45
- readonly disabledBgActive: "#f0f0f0";
46
- readonly disabledText: "#c9c9c9";
47
- readonly disabledLine: "#c9c9c9";
48
- readonly disabledFill: "rgba(0, 0, 0, 0.04)";
49
- /** 字段变更(批注高亮字色) */
50
- readonly fieldChangeText: "#FF9442";
32
+ readonly disabled: {
33
+ readonly background: "#F1F2F5";
34
+ readonly color: "#C6C6C6";
35
+ };
36
+ /** 必填 + 只读(他岗字段,弱提示:字色 + 底色) */
37
+ readonly requiredReadonly: {
38
+ readonly placeholderColor: "#FAA9AA";
39
+ readonly color: "#FAA9AA";
40
+ readonly background: "#FFF4F4";
41
+ };
42
+ /** 只读 */
43
+ readonly readonly: {
44
+ readonly background: "#f5f6f8";
45
+ readonly border: "#d9d9d9";
46
+ /** DOM overlay / 下拉等 */
47
+ readonly color: "rgba(0, 0, 0, 0.65)";
48
+ readonly placeholderColor: "#b0b0b0";
49
+ readonly valueColor: "rgba(0, 0, 0, 0.78)";
50
+ };
51
+ /** 详情页 / 打印 */
52
+ readonly print: {
53
+ /** run 级底(字段组底由 fieldBackground 绘制) */
54
+ readonly background: "transparent";
55
+ readonly fieldBackground: "#E8F3FF";
56
+ readonly fieldErrorBackground: "#FEECED";
57
+ readonly placeholderColor: "#b8b8b8";
58
+ };
51
59
  /** 校验失败 */
52
- readonly validationErrorText: "#ff4d4f";
53
- readonly validationErrorLine: "#ff4d4f";
54
- readonly validationErrorBg: "#fff2f2";
55
- /** 禁用态校验失败 */
56
- readonly validationErrorDisabledText: "#ff7072";
57
- readonly validationErrorDisabledLine: "#ff8a8c";
58
- readonly validationErrorDisabledBg: "#f5f5f5";
59
- readonly validationErrorDisabledBgActive: "#f0f0f0";
60
+ readonly validation: {
61
+ readonly color: "#ff4d4f";
62
+ readonly background: "#fff2f2";
63
+ readonly disabledColor: "#ff7072";
64
+ readonly disabledBackground: "#f5f5f5";
65
+ };
66
+ /** 字段变更批注字色 */
67
+ readonly fieldChange: "#FF9442";
60
68
  };
61
69
  /** 详情页字段内容四周内边距 */
62
70
  export declare const PRINT_FIELD_PAD = 2;
63
71
  /** 详情页相邻字段背景间距 */
64
72
  export declare const PRINT_FIELD_GAP = 2;
65
- /** 详情页字段空值占位尺寸 */
66
- export declare const PRINT_EMPTY_FIELD_SIZE = 20;
73
+ /** 详情页字段空值占位尺寸(默认字号 + MEASURE_LINE_HEIGHT 1.1 下字高) */
74
+ export declare const PRINT_EMPTY_FIELD_SIZE = 21;
@@ -11,11 +11,11 @@ type __VLS_Props = {
11
11
  showClearBtn?: boolean;
12
12
  };
13
13
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
- change: (value: Date | null) => any;
15
14
  "update:modelValue": (value: Date | null) => any;
15
+ change: (value: Date | null) => any;
16
16
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
- onChange?: ((value: Date | null) => any) | undefined;
18
17
  "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
18
+ onChange?: ((value: Date | null) => any) | undefined;
19
19
  }>, {
20
20
  showClearBtn: boolean;
21
21
  mode: "datetime" | "date";
@@ -10,10 +10,10 @@ type __VLS_Props = {
10
10
  };
11
11
  };
12
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
- change: (...args: any[]) => void;
14
13
  "update:modelValue": (...args: any[]) => void;
14
+ change: (...args: any[]) => void;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onChange?: ((...args: any[]) => any) | undefined;
17
16
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
+ onChange?: ((...args: any[]) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  export default _default;
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
15
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- change: (...args: any[]) => void;
17
16
  "update:modelValue": (...args: any[]) => void;
17
+ change: (...args: any[]) => void;
18
18
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
- onChange?: ((...args: any[]) => any) | undefined;
20
19
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
+ onChange?: ((...args: any[]) => any) | undefined;
21
21
  }>, {
22
22
  disabled: boolean;
23
23
  size: string;
@@ -15,11 +15,11 @@ declare function __VLS_template(): {
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
- change: (...args: any[]) => void;
19
18
  "update:modelValue": (...args: any[]) => void;
19
+ change: (...args: any[]) => void;
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
- onChange?: ((...args: any[]) => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ onChange?: ((...args: any[]) => any) | undefined;
23
23
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
25
  export default _default;
@@ -5,6 +5,9 @@ type __VLS_Props = {
5
5
  declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: {
8
+ expandIcon?(_: {
9
+ open: boolean;
10
+ }): any;
8
11
  default?(_: {}): any;
9
12
  };
10
13
  refs: {
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
9
9
  } & {
10
10
  change: (val: string) => any;
11
11
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- onChange?: ((val: string) => any) | undefined;
13
12
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ onChange?: ((val: string) => any) | undefined;
14
14
  }>, {
15
15
  tooltip: string;
16
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -63,12 +63,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
63
63
  getRef: import('vue').Ref<any, any>;
64
64
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
65
65
  edit: (...args: any[]) => void;
66
- change: (...args: any[]) => void;
67
66
  "update:modelValue": (...args: any[]) => void;
67
+ change: (...args: any[]) => void;
68
68
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
69
69
  onEdit?: ((...args: any[]) => any) | undefined;
70
- onChange?: ((...args: any[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
+ onChange?: ((...args: any[]) => any) | undefined;
72
72
  }>, {
73
73
  options: DropdownOption[] | DropdownOptionGroup[];
74
74
  showCheck: boolean;
@@ -1,7 +1,7 @@
1
1
  import { IEmptyProps } from './empty';
2
2
  declare const _default: import('vue').DefineComponent<IEmptyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IEmptyProps> & Readonly<{}>, {
3
- width: number | string;
4
3
  height: number | string;
4
+ width: number | string;
5
5
  tip: string;
6
6
  iconSrc: string;
7
7
  iconHeight: number | string;
@@ -6,8 +6,8 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
6
6
  onChange?: ((...args: any[]) => any) | undefined;
7
7
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
8
8
  }>, {
9
- width: string;
10
9
  height: string;
10
+ width: string;
11
11
  tip: string;
12
12
  accept: string;
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -34,13 +34,13 @@ declare function __VLS_template(): {
34
34
  };
35
35
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
36
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
37
+ "update:modelValue": (val: string | number | null) => any;
37
38
  change: (val: string | number | null) => any;
38
39
  blur: () => any;
39
- "update:modelValue": (val: string | number | null) => any;
40
40
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
41
+ "onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
41
42
  onChange?: ((val: string | number | null) => any) | undefined;
42
43
  onBlur?: (() => any) | undefined;
43
- "onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
44
44
  }>, {
45
45
  disabled: boolean;
46
46
  modelValue: ValueType;
@@ -20,10 +20,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
20
20
  input: (value: string | number, event: Event) => any;
21
21
  search: (value: string | number) => any;
22
22
  clear: () => any;
23
- focus: (event: FocusEvent) => any;
23
+ "update:modelValue": (value: string | number) => any;
24
24
  change: (value: string | number, event: Event) => any;
25
25
  blur: (event: FocusEvent) => any;
26
- "update:modelValue": (value: string | number) => any;
26
+ focus: (event: FocusEvent) => any;
27
27
  keydown: (event: KeyboardEvent) => any;
28
28
  keypress: (event: KeyboardEvent) => any;
29
29
  keyup: (event: KeyboardEvent) => any;
@@ -32,10 +32,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
32
32
  onInput?: ((value: string | number, event: Event) => any) | undefined;
33
33
  onSearch?: ((value: string | number) => any) | undefined;
34
34
  onClear?: (() => any) | undefined;
35
- onFocus?: ((event: FocusEvent) => any) | undefined;
35
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
36
36
  onChange?: ((value: string | number, event: Event) => any) | undefined;
37
37
  onBlur?: ((event: FocusEvent) => any) | undefined;
38
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
38
+ onFocus?: ((event: FocusEvent) => any) | undefined;
39
39
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
40
40
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
41
41
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
@@ -48,9 +48,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
48
48
  disabled: boolean;
49
49
  size: import('./types').InputSize;
50
50
  placeholder: string;
51
- suffix: string;
52
51
  modelValue: string | number;
53
52
  prefix: string;
53
+ suffix: string;
54
54
  addonBefore: string;
55
55
  addonAfter: string;
56
56
  allowClear: boolean;
@@ -18,10 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
18
18
  input: (value: string | number, event: Event) => any;
19
19
  search: (value: string | number) => any;
20
20
  clear: () => any;
21
- focus: (event: FocusEvent) => any;
21
+ "update:modelValue": (value: string | number) => any;
22
22
  change: (value: string | number, event: Event) => any;
23
23
  blur: (event: FocusEvent) => any;
24
- "update:modelValue": (value: string | number) => any;
24
+ focus: (event: FocusEvent) => any;
25
25
  keydown: (event: KeyboardEvent) => any;
26
26
  keypress: (event: KeyboardEvent) => any;
27
27
  keyup: (event: KeyboardEvent) => any;
@@ -30,10 +30,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
30
30
  onInput?: ((value: string | number, event: Event) => any) | undefined;
31
31
  onSearch?: ((value: string | number) => any) | undefined;
32
32
  onClear?: (() => any) | undefined;
33
- onFocus?: ((event: FocusEvent) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
34
34
  onChange?: ((value: string | number, event: Event) => any) | undefined;
35
35
  onBlur?: ((event: FocusEvent) => any) | undefined;
36
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
36
+ onFocus?: ((event: FocusEvent) => any) | undefined;
37
37
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
38
38
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
39
39
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
@@ -2,6 +2,7 @@ import { IModalProps } from './modal.type';
2
2
  declare const _default: import('vue').DefineComponent<IModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IModalProps> & Readonly<{}>, {
3
3
  body: import('vue').Component | null;
4
4
  title: string;
5
+ readonly: boolean;
5
6
  width: number;
6
7
  zIndex: number;
7
8
  className: string;
@@ -30,6 +30,11 @@ export interface IModalOptions {
30
30
  draggable?: boolean;
31
31
  /** 是否显示遮罩,draggable 时默认 false */
32
32
  showMask?: boolean;
33
+ /**
34
+ * 只读查看:隐藏取消/继续确认,确认按钮变为「关闭」且不落盘;
35
+ * body 内容入口锁,仅可滚动查看。
36
+ */
37
+ readonly?: boolean;
33
38
  onConfirm?: (ins: IModalInstance) => Promise<void> | void;
34
39
  onConfirmContinue?: (ins: IModalInstance) => Promise<void> | void;
35
40
  onCancel?: (ins: IModalInstance) => Promise<void> | void;
@@ -14,11 +14,11 @@ declare function __VLS_template(): {
14
14
  };
15
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
16
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- change: (...args: any[]) => void;
18
17
  "update:modelValue": (...args: any[]) => void;
18
+ change: (...args: any[]) => void;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onChange?: ((...args: any[]) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
+ onChange?: ((...args: any[]) => any) | undefined;
22
22
  }>, {
23
23
  disabled: boolean;
24
24
  size: string;
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
15
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- change: (...args: any[]) => void;
17
16
  "update:modelValue": (...args: any[]) => void;
17
+ change: (...args: any[]) => void;
18
18
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
- onChange?: ((...args: any[]) => any) | undefined;
20
19
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
+ onChange?: ((...args: any[]) => any) | undefined;
21
21
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
@@ -14,12 +14,12 @@ type __VLS_Props = {
14
14
  showSearch?: boolean;
15
15
  };
16
16
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
- change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
18
17
  "update:modelValue": (value?: string | null | undefined) => any;
18
+ change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
19
19
  "update:fullPathValue": (value?: string | null | undefined) => any;
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
- onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((value?: string | null | undefined) => any) | undefined;
22
+ onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
23
23
  "onUpdate:fullPathValue"?: ((value?: string | null | undefined) => any) | undefined;
24
24
  }>, {
25
25
  modelCategory: string;
@@ -18,11 +18,11 @@ type __VLS_Props = {
18
18
  multiple?: boolean;
19
19
  };
20
20
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
21
- change: (v: any) => any;
22
21
  "update:modelValue": (v: any) => any;
22
+ change: (v: any) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- onChange?: ((v: any) => any) | undefined;
25
24
  "onUpdate:modelValue"?: ((v: any) => any) | undefined;
25
+ onChange?: ((v: any) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
27
  rootRef: HTMLDivElement;
28
28
  }, HTMLDivElement>;
@@ -66,14 +66,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
66
66
  getRef: import('vue').Ref<any, any>;
67
67
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
68
68
  edit: (option: DropdownOption) => any;
69
- click: () => any;
70
- change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
69
+ click: (evt: any) => any;
71
70
  "update:modelValue": (val: string | number | (string | number)[]) => any;
71
+ change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
72
72
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
73
73
  onEdit?: ((option: DropdownOption) => any) | undefined;
74
- onClick?: (() => any) | undefined;
75
- onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
74
+ onClick?: ((evt: any) => any) | undefined;
76
75
  "onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
76
+ onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
79
  options: DropdownOption[];
@@ -7,22 +7,49 @@ type __VLS_Props = {
7
7
  readonly?: boolean;
8
8
  allowClear?: boolean;
9
9
  popperWidth?: number;
10
+ /** 是否需要分组展示 */
11
+ grouped?: boolean;
10
12
  };
11
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
- change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
13
+ declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
15
+ slots: {
16
+ option?(_: {
17
+ option: DropdownOption;
18
+ }): any;
19
+ 'gct-ss-option-icon'?(_: {
20
+ option: DropdownOption;
21
+ }): any;
22
+ };
23
+ refs: {
24
+ rootRef: HTMLDivElement;
25
+ inputRef: HTMLInputElement;
26
+ dropdownRef: HTMLDivElement;
27
+ };
28
+ rootEl: HTMLDivElement;
29
+ };
30
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
32
  "update:modelValue": (val?: string | number | undefined) => any;
33
+ change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
14
34
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
16
35
  "onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
36
+ onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
17
37
  }>, {
18
38
  readonly: boolean;
19
39
  disabled: boolean;
20
40
  options: DropdownOption[];
21
41
  placeholder: string;
42
+ grouped: boolean;
22
43
  allowClear: boolean;
23
44
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
45
  rootRef: HTMLDivElement;
25
46
  inputRef: HTMLInputElement;
26
47
  dropdownRef: HTMLDivElement;
27
48
  }, HTMLDivElement>;
49
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
50
  export default _default;
51
+ type __VLS_WithTemplateSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -6,16 +6,16 @@ type __VLS_Props = {
6
6
  tooltipConvert?: (v: number) => string | number;
7
7
  };
8
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- change: (...args: any[]) => void;
10
9
  "update:modelValue": (...args: any[]) => void;
10
+ change: (...args: any[]) => void;
11
11
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- onChange?: ((...args: any[]) => any) | undefined;
13
12
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
+ onChange?: ((...args: any[]) => any) | undefined;
14
14
  }>, {
15
- max: number;
16
- min: number;
17
15
  modelValue: number;
18
16
  step: number;
17
+ min: number;
18
+ max: number;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
20
  sliderRef: HTMLDivElement;
21
21
  }, any>;
@@ -4,11 +4,11 @@ type __VLS_Props = {
4
4
  size?: string;
5
5
  };
6
6
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- change: (...args: any[]) => void;
8
7
  "update:modelValue": (...args: any[]) => void;
8
+ change: (...args: any[]) => void;
9
9
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- onChange?: ((...args: any[]) => any) | undefined;
11
10
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
+ onChange?: ((...args: any[]) => any) | undefined;
12
12
  }>, {
13
13
  disabled: boolean;
14
14
  size: string;
@@ -23,12 +23,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
23
23
  getRef: import('vue').Ref<any, any>;
24
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
25
25
  edit: (option: DropdownOption) => any;
26
- change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
27
26
  "update:modelValue": (val: string | number | (string | number)[]) => any;
27
+ change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
28
28
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
29
  onEdit?: ((option: DropdownOption) => any) | undefined;
30
- onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
31
30
  "onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
31
+ onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
32
32
  }>, {
33
33
  placeholder: string;
34
34
  popperWidth: number;
@@ -30,7 +30,15 @@ export interface ContainLayout extends ImageSize {
30
30
  }
31
31
  /** object-fit: contain —— 等比缩放到目标框内并居中,保证完整显示 */
32
32
  export declare function computeContainLayout(natural: ImageSize, box: ImageSize): ContainLayout;
33
- /** 将签名姓名绘制为图片 DataURL */
34
- export declare function createSignatureImageDataUrl(name: string, width: number, height: number): string;
35
- /** 创建签名图片 */
36
- export declare function createSignatureImage(name: string, width: number, height: number): Promise<unknown>;
33
+ /**
34
+ * 在目标框内等比缩放(contain),不压缩、不拉伸
35
+ */
36
+ export declare function computeContainDisplaySize(natural: ImageSize, box: ImageSize): ImageSize;
37
+ /** 同步取无图签名缓存(布局重建时可避免先闪占位再异步补图) */
38
+ export declare function getCachedSignatureImage(name: string, width?: number, height?: number, time?: number | string): HTMLImageElement | null;
39
+ /**
40
+ * 创建无图签名兜底图(用户名 + 电子签名 + 验证日期)
41
+ * 按字段宽高绘制,显示框设多大,字就按多大排
42
+ */
43
+ export declare function createSignatureImageDataUrl(name: string, width?: number, height?: number, time?: number | string): string;
44
+ export declare function createSignatureImage(name: string, width?: number, height?: number, time?: number | string): Promise<HTMLImageElement>;
@@ -5,5 +5,9 @@ import { Wtbl } from '../../model/document';
5
5
  export declare class InsertTable extends CommandBase<'insertTable'> {
6
6
  constructor(doc: Doc, payload?: CommandPayloadMap['insertTable']);
7
7
  protected createTable(width: number, rowCount?: number, colCount?: number): Wtbl;
8
+ private resolveBlockedTableLabel;
8
9
  protected execute(): Promise<PostCommandContext>;
10
+ private insertAtCursor;
11
+ private insertIntoBody;
12
+ private insertIntoCell;
9
13
  }
@@ -2,3 +2,4 @@ export * from './common';
2
2
  export * from './component';
3
3
  export * from './doc-mode';
4
4
  export * from './paper';
5
+ export * from './table';
@@ -27,7 +27,9 @@ export declare const DEFAULT_PAGE_PADDING: [number, number, number, number];
27
27
  export declare const DEFAULT_CELL_PADDING: [number, number, number, number];
28
28
  export declare const DEFAULT_FONT_SIZE = 16;
29
29
  /** 默认黑体 */
30
- export declare const DEFAULT_LINE_HEIGHT = 1.6;
30
+ export declare const DEFAULT_LINE_HEIGHT = 1.5715;
31
+ /** Konva 度量 lineHeight(仅量字盒,不含段落 DEFAULT_LINE_HEIGHT) */
32
+ export declare const MEASURE_LINE_HEIGHT = 1.1;
31
33
  /** 图片 / 签名行高,略高于内容,避免贴行又不过松 */
32
34
  export declare const IMAGE_LINE_HEIGHT = 1.1;
33
35
  export declare const DEFAULT_FONT_FAMILY = "\"Noto Sans SC\", \"NotoSansSC\", \"\u9ED1\u4F53\", \"SimHei\", sans-serif";