@gct-paas/word 0.2.40 → 0.2.41-beta.1

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 (181) hide show
  1. package/README.md +25 -1
  2. package/dist/assets/svgs/table/index.d.ts +1 -0
  3. package/dist/base/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  4. package/dist/base/checkbox/src/checkbox-group.vue.d.ts +1 -1
  5. package/dist/base/date-time-picker/src/DateTimePicker.vue.d.ts +1 -1
  6. package/dist/base/form-item/src/form-item.vue.d.ts +1 -1
  7. package/dist/base/icon/src/icon.vue.d.ts +1 -1
  8. package/dist/base/input/src/input-number.vue.d.ts +1 -0
  9. package/dist/base/input/src/input.vue.d.ts +3 -3
  10. package/dist/base/input/src/text-area.vue.d.ts +1 -1
  11. package/dist/base/message/src/Message.vue.d.ts +2 -0
  12. package/dist/base/message/src/message.d.ts +2 -0
  13. package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -1
  14. package/dist/base/modal/src/index.d.ts +2 -1
  15. package/dist/base/modal/src/modal.type.d.ts +3 -1
  16. package/dist/base/radio/src/radio-group.vue.d.ts +1 -1
  17. package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +1 -1
  18. package/dist/base/select/src/basic-select.vue.d.ts +17 -5
  19. package/dist/base/select/src/searchable-select.vue.d.ts +1 -1
  20. package/dist/base/switch/src/switch.vue.d.ts +1 -1
  21. package/dist/base/table/src/table.vue.d.ts +1 -1
  22. package/dist/base/utils/image-size-util.d.ts +12 -6
  23. package/dist/capabilities/model-field-runtime/types/field.d.ts +4 -0
  24. package/dist/core/command/base/FloatingFieldCommand.d.ts +9 -0
  25. package/dist/core/command/commands/DeleteCol.d.ts +1 -1
  26. package/dist/core/command/commands/DeleteRow.d.ts +1 -1
  27. package/dist/core/command/commands/InsertFloatingField.d.ts +9 -0
  28. package/dist/core/command/commands/InsertTable.d.ts +0 -1
  29. package/dist/core/command/commands/MoveFloatingField.d.ts +10 -0
  30. package/dist/core/command/commands/RemoveFloatingField.d.ts +12 -0
  31. package/dist/core/command/types.d.ts +16 -0
  32. package/dist/core/data/DataManager.d.ts +6 -1
  33. package/dist/core/data/enrichers/inspection-module-qty-enricher.d.ts +19 -0
  34. package/dist/core/data/enrichers/udi-enricher.d.ts +23 -0
  35. package/dist/core/data/formula/business-functions.d.ts +10 -0
  36. package/dist/core/data/formula/formula-params-cache.d.ts +15 -0
  37. package/dist/core/data/types/runtime-config.d.ts +13 -0
  38. package/dist/core/event/handlers/IMEHandler.d.ts +1 -0
  39. package/dist/core/index.d.ts +2 -0
  40. package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
  41. package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +4 -1
  42. package/dist/core/model/logic/subtable/shared/dataGroupSlotCount.d.ts +37 -1
  43. package/dist/core/model/overlays/Wlayout.d.ts +4 -0
  44. package/dist/core/runtime/DocumentRuntimeManager.d.ts +38 -0
  45. package/dist/core/view/Doc.d.ts +5 -0
  46. package/dist/core/widget/types.d.ts +2 -2
  47. package/dist/domain/active/active-types.d.ts +3 -1
  48. package/dist/domain/document-business/business/product-release/profile.d.ts +2 -0
  49. package/dist/domain/document-business/business/product-release/service.d.ts +2 -0
  50. package/dist/domain/document-business/index.d.ts +2 -0
  51. package/dist/domain/document-business/registry.d.ts +2 -0
  52. package/dist/domain/document-business/runtime/field-query-runtime.d.ts +4 -0
  53. package/dist/domain/document-business/types.d.ts +24 -0
  54. package/dist/domain/document-rule/index.d.ts +3 -0
  55. package/dist/domain/document-rule/runtime/decision-rule-evaluator.d.ts +13 -0
  56. package/dist/domain/document-rule/runtime/document-rule-runtime.d.ts +19 -0
  57. package/dist/domain/document-rule/types.d.ts +50 -0
  58. package/dist/domain/field/field-props-schema-type.d.ts +1 -1
  59. package/dist/domain/field/field-type.d.ts +64 -0
  60. package/dist/domain/field/form-value.d.ts +6 -0
  61. package/dist/domain/field/query-filter.d.ts +15 -0
  62. package/dist/domain/field/seal/seal-binding.d.ts +19 -0
  63. package/dist/domain/field/seal/seal-display.d.ts +34 -0
  64. package/dist/domain/field/seal/seal-value.d.ts +39 -0
  65. package/dist/domain/table/business/device/maintenance/index.d.ts +1 -0
  66. package/dist/domain/table/business/device/maintenance/profile/field-keys.d.ts +9 -0
  67. package/dist/domain/table/business/device/maintenance/profile/fields.d.ts +2 -0
  68. package/dist/domain/table/business/device/maintenance/profile/index.d.ts +3 -0
  69. package/dist/domain/table/business/device/point-inspection/index.d.ts +1 -0
  70. package/dist/domain/table/business/device/point-inspection/profile/field-keys.d.ts +9 -0
  71. package/dist/domain/table/business/device/point-inspection/profile/fields.d.ts +2 -0
  72. package/dist/domain/table/business/device/point-inspection/profile/index.d.ts +3 -0
  73. package/dist/domain/table/business/device/runtime/device-signature-lock-engine.d.ts +13 -0
  74. package/dist/domain/table/business/device/signature-lock.d.ts +26 -0
  75. package/dist/domain/table/business/material/material-consume/profile/product-fields.d.ts +6 -0
  76. package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  77. package/dist/domain/table/business/material/material-substitution/actions/scan.d.ts +3 -0
  78. package/dist/domain/table/business/material/material-substitution/index.d.ts +3 -0
  79. package/dist/domain/table/business/material/material-substitution/profile/field-keys.d.ts +41 -0
  80. package/dist/domain/table/business/material/material-substitution/profile/fields.d.ts +2 -0
  81. package/dist/domain/table/business/material/material-substitution/profile/index.d.ts +4 -0
  82. package/dist/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +1 -0
  83. package/dist/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +6 -0
  84. package/dist/domain/table/business/material/material-substitution/runtime/scan-fill.d.ts +4 -0
  85. package/dist/domain/table/business/material/types.d.ts +2 -1
  86. package/dist/domain/table/design/hooks/on-bounded-default-props.d.ts +3 -0
  87. package/dist/domain/table/design/hooks/on-field-attach.d.ts +3 -0
  88. package/dist/domain/table/design/sub-model-matcher.d.ts +2 -0
  89. package/dist/domain/table/design/validate-nested-table-insert.d.ts +3 -0
  90. package/dist/domain/table/index.d.ts +3 -0
  91. package/dist/domain/table/registry.d.ts +1 -1
  92. package/dist/domain/table/runtime/option-fill-updates.d.ts +6 -0
  93. package/dist/domain/table/runtime/table-runtime.d.ts +3 -0
  94. package/dist/domain/table/types.d.ts +13 -3
  95. package/dist/index.es.js +34027 -7341
  96. package/dist/runtime/canvas/__common__/context-menu/resolve-table-context.d.ts +10 -0
  97. package/dist/runtime/canvas/node/seal-overlay.vue.d.ts +6 -0
  98. package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +18 -5
  99. package/dist/runtime/canvas/table/render/material-consume/initial-product-autofill.d.ts +6 -0
  100. package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +17 -7
  101. package/dist/runtime/canvas/table/render/material-consume/product-autofill.d.ts +7 -0
  102. package/dist/runtime/canvas/table/render/material-consume/product-source.d.ts +4 -0
  103. package/dist/runtime/canvas/table/render/material-consume/scan-fill.d.ts +7 -2
  104. package/dist/runtime/factories/createDesignWidgetFactory.d.ts +2 -0
  105. package/dist/runtime/interface/render.d.ts +2 -1
  106. package/dist/runtime/interface/sterilization-date.d.ts +9 -0
  107. package/dist/runtime/interface/validate-designer-default.d.ts +5 -0
  108. package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +7 -7
  109. package/dist/runtime/renderer/dialogs/document-rule-prompt/document-rule-prompt.vue.d.ts +5 -0
  110. package/dist/runtime/renderer/dialogs/document-rule-prompt/open-document-rule-prompt.d.ts +2 -0
  111. package/dist/runtime/renderer/dialogs/seal/open-seal-flow.d.ts +3 -0
  112. package/dist/runtime/renderer/dialogs/seal/seal-api.d.ts +17 -0
  113. package/dist/runtime/renderer/dialogs/seal/seal-confirm-dialog.vue.d.ts +7 -0
  114. package/dist/runtime/renderer/dialogs/seal/seal-runtime.d.ts +30 -0
  115. package/dist/runtime/renderer/dialogs/seal/types.d.ts +17 -0
  116. package/dist/runtime/renderer/dialogs/seal/use-seal-confirm.d.ts +27 -0
  117. package/dist/runtime/renderer/dialogs/signature/authentication/signature-authentication.vue.d.ts +27 -0
  118. package/dist/runtime/renderer/dialogs/signature/authentication/types.d.ts +30 -0
  119. package/dist/runtime/renderer/dialogs/signature/authentication/useSignatureAuthentication.d.ts +29 -0
  120. package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +2 -2
  121. package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +54 -1
  122. package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +1 -0
  123. package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +1 -0
  124. package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +7 -7
  125. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/material-consume-history.d.ts +17 -0
  126. package/dist/runtime/renderer/dropdowns/components/tables/composables/useMaterialSubstitutionSource.d.ts +7 -0
  127. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +7 -7
  128. package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +7 -7
  129. package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +7 -7
  130. package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +7 -7
  131. package/dist/runtime/validation/layout.d.ts +20 -0
  132. package/dist/runtime/validation/state.d.ts +7 -3
  133. package/dist/runtime/validation/useFormValidator.d.ts +4 -0
  134. package/dist/sdk/doc-runtime/composables/useDocumentRulePrompt.d.ts +3 -0
  135. package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +1 -1
  136. package/dist/sdk/doc-runtime/factories/runtime-data-sources.d.ts +39 -0
  137. package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +5 -0
  138. package/dist/sdk/doc-runtime/factories/value-change-data-sources.d.ts +7 -0
  139. package/dist/sdk/doc-runtime/queries/template-placed-fields.d.ts +7 -0
  140. package/dist/sdk/engine/index.d.ts +3 -1
  141. package/dist/sdk/index.d.ts +1 -0
  142. package/dist/sdk/setup.d.ts +10 -2
  143. package/dist/sdk/types/index.d.ts +8 -0
  144. package/dist/sdk/types/placed-form-field.d.ts +6 -0
  145. package/dist/sdk/vue/index.d.ts +6 -0
  146. package/dist/suites/edhr/component/gct-seal-render.vue.d.ts +7 -0
  147. package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +3 -3
  148. package/dist/suites/edhr/manifest/field/business/product-release-qty-manifest.d.ts +2 -0
  149. package/dist/suites/edhr/manifest/field/business/udi-manifest.d.ts +2 -0
  150. package/dist/suites/edhr/manifest/field/logic/seal-manifest.d.ts +2 -0
  151. package/dist/suites/edhr/manifest/field/object-type/device-parameter-object-manifest.d.ts +2 -0
  152. package/dist/suites/edhr/manifest/field/object-type/inspection-parameter-object-manifest.d.ts +2 -0
  153. package/dist/suites/edhr/manifest/field/object-type/process-parameter-object-manifest.d.ts +2 -0
  154. package/dist/suites/edhr/manifest/field/trace/inspection-container-manifest.d.ts +2 -0
  155. package/dist/suites/edhr/manifest/field/trace/sterilization-date-manifest.d.ts +2 -0
  156. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +6 -5
  157. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/linkage.d.ts +7 -0
  158. package/dist/suites/edhr/panel-schema/index.d.ts +1 -0
  159. package/dist/suites/edhr/panel-schema/material-substitution-table/material-substitution-table.basic.d.ts +1 -0
  160. package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +10 -3
  161. package/dist/suites/edhr/panel-schema/rule/components/decision-rule-condition.vue.d.ts +19 -0
  162. package/dist/suites/edhr/panel-schema/rule/components/decision-rule-group.vue.d.ts +16 -0
  163. package/dist/suites/edhr/panel-schema/rule/components/field-map-row.vue.d.ts +1 -1
  164. package/dist/suites/edhr/panel-schema/rule/message-config/message-rule-modal.vue.d.ts +12 -0
  165. package/dist/suites/edhr/panel-schema/rule/message-config/message-rule.d.ts +22 -0
  166. package/dist/suites/edhr/panel-schema/rule/message-config/message-time-picker.vue.d.ts +18 -0
  167. package/dist/suites/edhr/panel-schema/rule/message-config/with-word-message-rule-fields.d.ts +5 -0
  168. package/dist/suites/edhr/panel-schema/rule/modals/inspection-decision-modal.vue.d.ts +11 -0
  169. package/dist/suites/edhr/panel-schema/rule/modals/open-inspection-decision-modal.d.ts +8 -0
  170. package/dist/suites/edhr/panel-schema/rule/types.d.ts +5 -0
  171. package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +22 -0
  172. package/dist/suites/edhr/panel-schema/rule/utils/decision-rule.d.ts +34 -0
  173. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/autofill-runtime.d.ts +2 -0
  174. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +1 -1
  175. package/dist/suites/shared/panel/modules/field-formula-module/field-formula-module.vue.d.ts +1 -0
  176. package/dist/suites/shared/panel/utils/default-value-visibility.d.ts +3 -0
  177. package/dist/utils/adapters/ServiceUtil.d.ts +9 -0
  178. package/dist/utils/func/number-util.d.ts +9 -0
  179. package/dist/utils/pdf/collect-seal-draw-ops.d.ts +4 -0
  180. package/dist/word.css +1489 -584
  181. package/package.json +4 -4
package/README.md CHANGED
@@ -138,7 +138,7 @@ app.mount('#app');
138
138
  - `triggerHandler?`:触发主工程交互(可选)
139
139
  - `plugins?`:要安装的 suite 插件列表(如 `edhrSuitePlugin`)
140
140
 
141
- ### `setupVueRuntime({ app })`
141
+ ### `setupVueRuntime({ app, components? })`
142
142
 
143
143
  Vue 运行时注册函数。建议在 `createApp` 后、`mount` 前调用。
144
144
 
@@ -147,6 +147,30 @@ Vue 运行时注册函数。建议在 `createApp` 后、`mount` 前调用。
147
147
  - 注册 `FloatingVue`
148
148
  - 注册 `VueKonva`
149
149
  - 注册 SDK 所需全局指令
150
+ - 将 `components` 中的宿主业务组件按名称注册到当前 Vue 应用
151
+
152
+ ### 宿主业务组件
153
+
154
+ 宿主初始化应用时,可将人员选择、消息配置等业务组件一次性传入。Word 在当前应用内的任意组件都可以直接通过组件名使用:
155
+
156
+ ```ts
157
+ import { setupVueRuntime } from '@gct-paas/word';
158
+
159
+ // ApprovalUserSelectConfig、MessageConfig 使用宿主现有组件的 import。
160
+ setupVueRuntime({
161
+ app,
162
+ components: {
163
+ ApprovalUserSelectConfig,
164
+ MessageConfig,
165
+ },
166
+ });
167
+ ```
168
+
169
+ 组件使用 Vue 原生的应用级注册机制,无需 `provide/inject` 或专用 key,也可由宿主自行调用 `app.component(name, component)` 注册。不同 Vue 应用分别注册,Word 不保存宿主应用实例。
170
+
171
+ 消息弹窗留在 Word 内,由入口显式传入当前应用上下文以使用这些组件;其他弹窗继续使用原有挂载方式。独立挂载的弹窗若要使用宿主组件,也需显式传入对应应用上下文。
172
+
173
+ 应用上下文包含应用级插件、全局组件和应用级注入,不包含祖先组件的局部 `provide`。消息表单已提供 `bpmnMainModelKey`;宿主组件若还需要其他局部注入,应在消息入口显式传递。
150
174
 
151
175
  ## 核心运行时 API
152
176
 
@@ -24,6 +24,7 @@ export declare const TABLE_BUSINESS_SVG: {
24
24
  readonly 'material-consume': string;
25
25
  readonly 'material-balance': string;
26
26
  readonly 'material-requisition': string;
27
+ readonly 'material-substitution': string;
27
28
  readonly 'check-table': string;
28
29
  readonly 'pretreatment-list': string;
29
30
  readonly 'entrust-steril-batch-list': string;
@@ -13,8 +13,8 @@ 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, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
- disabled: boolean;
17
16
  path: string;
17
+ disabled: boolean;
18
18
  isLast: boolean;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
20
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
19
19
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
20
  onChange?: ((...args: any[]) => any) | undefined;
21
21
  }>, {
22
- disabled: boolean;
23
22
  size: string;
23
+ disabled: boolean;
24
24
  modelValue: Array<string | number | boolean>;
25
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -10,8 +10,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
10
10
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
11
  "onUpdate:modelValue"?: ((v: string | undefined) => any) | undefined;
12
12
  }>, {
13
- disabled: boolean;
14
13
  placeholder: string;
14
+ disabled: boolean;
15
15
  format: string;
16
16
  calendarProps: any;
17
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -20,8 +20,8 @@ declare function __VLS_template(): {
20
20
  };
21
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
22
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
- required: boolean;
24
23
  size: "small" | "default" | "large";
24
+ required: boolean;
25
25
  inline: boolean;
26
26
  disableSpacing: boolean;
27
27
  colon: boolean;
@@ -5,8 +5,8 @@ type __VLS_Props = {
5
5
  icon: string;
6
6
  };
7
7
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ size: number | string;
8
9
  version: "v1" | "v2";
9
10
  color: string;
10
- size: number | string;
11
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
12
12
  export default _default;
@@ -21,6 +21,7 @@ type __VLS_Props = {
21
21
  emptyValue?: string | number;
22
22
  /** 小数截取处理规则 */
23
23
  roundingMode?: 1 | 4 | 6;
24
+ maxlength?: number;
24
25
  };
25
26
  declare function __VLS_template(): {
26
27
  attrs: Partial<{}>;
@@ -41,13 +41,13 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
41
41
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
42
42
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
43
43
  }>, {
44
- type: import('./types').InputType;
45
44
  id: string;
45
+ type: import('./types').InputType;
46
46
  name: string;
47
+ placeholder: string;
48
+ size: import('./types').InputSize;
47
49
  readonly: boolean;
48
50
  disabled: boolean;
49
- size: import('./types').InputSize;
50
- placeholder: string;
51
51
  modelValue: string | number;
52
52
  prefix: string;
53
53
  suffix: string;
@@ -40,9 +40,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
40
40
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
41
41
  }>, {
42
42
  name: string;
43
+ placeholder: string;
43
44
  readonly: boolean;
44
45
  disabled: boolean;
45
- placeholder: string;
46
46
  modelValue: string | number;
47
47
  allowClear: boolean;
48
48
  showCount: boolean;
@@ -3,8 +3,10 @@ interface MessageItem {
3
3
  id: number;
4
4
  type: 'info' | 'success' | 'warning' | 'error';
5
5
  message: string | VNode;
6
+ title?: string;
6
7
  closeable: boolean;
7
8
  duration: number;
9
+ key?: string;
8
10
  timer?: number;
9
11
  startTime?: number;
10
12
  remaining: number;
@@ -2,8 +2,10 @@ import { VNode } from 'vue';
2
2
  export interface MessageOptions {
3
3
  type?: 'info' | 'success' | 'warning' | 'error';
4
4
  message: string | VNode | (() => VNode);
5
+ title?: string;
5
6
  duration?: number;
6
7
  closeable?: boolean;
8
+ key?: string;
7
9
  }
8
10
  declare function GctMessage(options: MessageOptions): void;
9
11
  declare namespace GctMessage {
@@ -1,7 +1,7 @@
1
1
  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
- body: import('vue').Component | null;
4
3
  title: string;
4
+ body: import('vue').Component | null;
5
5
  readonly: boolean;
6
6
  width: number;
7
7
  zIndex: number;
@@ -1,6 +1,7 @@
1
+ import { AppContext } from 'vue';
1
2
  import { IModalOptions, IModalInstance } from './modal.type';
2
3
  declare const GctModal: {
3
- open(options: IModalOptions): IModalInstance;
4
+ open(options: IModalOptions, appContext?: AppContext): IModalInstance;
4
5
  confirm(tip: string, cb: () => void): void;
5
6
  };
6
7
  export default GctModal;
@@ -5,7 +5,7 @@ export interface IModalInstance {
5
5
  setLoading: (v: boolean) => void;
6
6
  }
7
7
  export interface IModalContext extends IModalInstance {
8
- setOnConfirm: (fn: any) => void;
8
+ setOnConfirm: (fn: (ins: IModalInstance) => Promise<void> | void) => void;
9
9
  }
10
10
  export interface IModalOptions {
11
11
  title?: string;
@@ -13,6 +13,8 @@ export interface IModalOptions {
13
13
  bodyProps?: any;
14
14
  width?: number;
15
15
  height?: number;
16
+ /** 弹框最大高度,数字按 px,字符串可传 90vh 等 CSS 值。 */
17
+ maxHeight?: number | string;
16
18
  zIndex?: number;
17
19
  className?: string;
18
20
  closable?: boolean;
@@ -20,8 +20,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
20
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
21
  onChange?: ((...args: any[]) => any) | undefined;
22
22
  }>, {
23
- disabled: boolean;
24
23
  size: string;
24
+ disabled: boolean;
25
25
  optionType: string;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -22,9 +22,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
22
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
+ placeholder: string;
25
26
  modelCategory: string;
26
27
  disabled: boolean;
27
- placeholder: string;
28
28
  pageSize: number;
29
29
  popperWidth: number;
30
30
  allowClear: boolean;
@@ -44,6 +44,10 @@ type __VLS_Props = {
44
44
  allowCreate?: boolean;
45
45
  /** 下拉选项是否可搜索 */
46
46
  searchable?: boolean;
47
+ /** 由外部请求搜索结果,跳过本地过滤 */
48
+ remote?: boolean;
49
+ /** 当前选中项的回显信息,可不在搜索结果中 */
50
+ selectedOption?: DropdownOption;
47
51
  };
48
52
  declare function __VLS_template(): {
49
53
  attrs: Partial<{}>;
@@ -60,6 +64,7 @@ declare function __VLS_template(): {
60
64
  'option-icon'?(_: {
61
65
  option: DropdownOption;
62
66
  }): any;
67
+ 'bottom-bar'?(_: {}): any;
63
68
  };
64
69
  refs: {
65
70
  dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -81,24 +86,31 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
81
86
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
82
87
  getRef: import('vue').Ref<any, any>;
83
88
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
89
+ search: (keyword: string) => any;
84
90
  edit: (option: DropdownOption) => any;
85
91
  click: (evt: any) => any;
86
- "update:modelValue": (val: string | number | (string | number)[]) => any;
87
- change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
92
+ "update:modelValue": (val: string | number | (string | number)[] | undefined) => any;
93
+ change: (val: string | number | (string | number)[] | undefined, item?: DropdownOption | undefined) => any;
94
+ "dropdown-show": () => any;
95
+ "reach-bottom": () => any;
88
96
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
97
+ onSearch?: ((keyword: string) => any) | undefined;
89
98
  onEdit?: ((option: DropdownOption) => any) | undefined;
90
99
  onClick?: ((evt: any) => any) | undefined;
91
- "onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
92
- onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
100
+ "onUpdate:modelValue"?: ((val: string | number | (string | number)[] | undefined) => any) | undefined;
101
+ onChange?: ((val: string | number | (string | number)[] | undefined, item?: DropdownOption | undefined) => any) | undefined;
102
+ "onDropdown-show"?: (() => any) | undefined;
103
+ "onReach-bottom"?: (() => any) | undefined;
93
104
  }>, {
105
+ placeholder: string;
94
106
  disabled: boolean;
95
107
  options: DropdownOption[];
96
- placeholder: string;
97
108
  showCheck: boolean;
98
109
  allowClear: boolean;
99
110
  multipleClearable: boolean;
100
111
  unremovableValues: Array<string | number>;
101
112
  searchable: boolean;
113
+ remote: boolean;
102
114
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
103
115
  dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
104
116
  P: {};
@@ -35,10 +35,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
35
35
  "onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
36
36
  onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
37
37
  }>, {
38
+ placeholder: string;
38
39
  readonly: boolean;
39
40
  disabled: boolean;
40
41
  options: DropdownOption[];
41
- placeholder: string;
42
42
  grouped: boolean;
43
43
  allowClear: boolean;
44
44
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -10,8 +10,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
10
10
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
11
  onChange?: ((...args: any[]) => any) | undefined;
12
12
  }>, {
13
- disabled: boolean;
14
13
  size: string;
14
+ disabled: boolean;
15
15
  modelValue: boolean;
16
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
17
17
  export default _default;
@@ -31,9 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<TableProps, {}, {},
31
31
  onSelect?: ((keys: string[]) => any) | undefined;
32
32
  "onRow-click"?: ((row: TableRow) => any) | undefined;
33
33
  }>, {
34
+ size: "small" | "middle" | "large";
34
35
  loading: boolean;
35
36
  multiple: boolean;
36
- size: "small" | "middle" | "large";
37
37
  columns: TableColumn[];
38
38
  stripe: boolean;
39
39
  selectable: boolean;
@@ -18,10 +18,10 @@ export interface ImageCropRect {
18
18
  width: number;
19
19
  height: number;
20
20
  }
21
- /** 固定 360×204 兜底图同一比例,按 2 倍像素绘制 */
21
+ /** 无图签名的默认尺寸;已有字段沿用各自配置的宽高 */
22
22
  export declare const FALLBACK_SIGN_DISPLAY_SIZE: {
23
- readonly width: 180;
24
- readonly height: 102;
23
+ readonly width: 120;
24
+ readonly height: 68;
25
25
  };
26
26
  /**
27
27
  * 根据图片原始尺寸 + 配置,计算最终显示尺寸
@@ -39,11 +39,17 @@ export declare function computeContainLayout(natural: ImageSize, box: ImageSize)
39
39
  * 在目标框内等比缩放(contain),不压缩、不拉伸
40
40
  */
41
41
  export declare function computeContainDisplaySize(natural: ImageSize, box: ImageSize): ImageSize;
42
- /** 同步取无图签名缓存(布局重建时可避免先闪占位再异步补图)。宽高参数仅为兼容现有调用。 */
43
- export declare function getCachedSignatureImage(name: string, _width?: number, _height?: number, time?: number | string, fallbackSignType?: string, signatureImageDirection?: string): HTMLImageElement | null;
42
+ /** 横向“姓名 + 日期”兜底签名按文字内容决定宽度,高度沿用字段配置。 */
43
+ export declare function getFormSignFallbackSize(name: string, time?: number | string, height?: number): ImageSize;
44
+ /** 仅姓名兜底签名按最长一行文字宽度和左右各 8px 留白确定画布宽度。 */
45
+ export declare function getSimpleNameFallbackSize(name: string, height: number): ImageSize;
46
+ /** 兜底签名悬浮预览的逻辑尺寸,与默认尺寸生成的图片保持一致。 */
47
+ export declare function getFormSignPreviewSize(name: string, time?: number | string, fallbackSignType?: string, signatureImageDirection?: string): ImageSize;
48
+ /** 同步取无图签名缓存(布局重建时可避免先闪占位再异步补图)。 */
49
+ export declare function getCachedSignatureImage(name: string, width?: number, height?: number, time?: number | string, fallbackSignType?: string, signatureImageDirection?: string): HTMLImageElement | null;
44
50
  /**
45
51
  * 创建无图签名兜底图
46
52
  * 默认仅绘制用户名;显式配置用户名 + 签署日期时绘制完整兜底签名
47
53
  */
48
- export declare function createSignatureImageDataUrl(name: string, _width?: number, _height?: number, time?: number | string, fallbackSignType?: string, signatureImageDirection?: string): string;
54
+ export declare function createSignatureImageDataUrl(name: string, imageWidth?: number, imageHeight?: number, time?: number | string, fallbackSignType?: string, signatureImageDirection?: string): string;
49
55
  export declare function createSignatureImage(name: string, width?: number, height?: number, time?: number | string, fallbackSignType?: string, signatureImageDirection?: string): Promise<HTMLImageElement>;
@@ -16,6 +16,10 @@ export interface FieldMeta {
16
16
  bizType?: FIELD_TYPE;
17
17
  /** 是否必填 */
18
18
  required?: boolean;
19
+ /** 建字段时配置的默认值,拖入表单时用于初始化组件 */
20
+ defaultValue?: {
21
+ value?: unknown;
22
+ } | null;
19
23
  /** 字段创建类型 */
20
24
  createType: CreateType;
21
25
  /** 映射类型(公式,函数等实际映射的类型) */
@@ -0,0 +1,9 @@
1
+ import { CommandBase } from './CommandBase';
2
+ import { CommandType } from '../types';
3
+ /** Existing commands snapshot only the body; floating field commands also own their overlays. */
4
+ export declare abstract class FloatingFieldCommand<T extends CommandType> extends CommandBase<T> {
5
+ private overlays?;
6
+ private overlayIdentities?;
7
+ protected saveSnapshot(): import('../../model/types').RawElement | undefined;
8
+ protected restoreSnapshot(): void;
9
+ }
@@ -4,7 +4,7 @@ import { CommandBase, PostCommandContext } from '../base/CommandBase';
4
4
  /**
5
5
  * 表格列删除命令
6
6
  *
7
- * 删除指定索引处的列
7
+ * 删除指定列,或当前选区中同一表格的连续多列
8
8
  */
9
9
  export declare class DeleteCol extends CommandBase<'deleteCol'> {
10
10
  constructor(doc: Doc, payload?: CommandPayloadMap['deleteCol']);
@@ -4,7 +4,7 @@ import { CommandBase, PostCommandContext } from '../base/CommandBase';
4
4
  /**
5
5
  * 表格行删除命令
6
6
  *
7
- * 删除指定索引处的行
7
+ * 删除指定行,或当前选区中同一表格的连续多行
8
8
  */
9
9
  export declare class DeleteRow extends CommandBase<'deleteRow'> {
10
10
  constructor(doc: Doc, payload?: CommandPayloadMap['deleteRow']);
@@ -0,0 +1,9 @@
1
+ import { FloatingFieldCommand } from '../base/FloatingFieldCommand';
2
+ import { WrField } from '../../model/document';
3
+ export declare class InsertFloatingField extends FloatingFieldCommand<'insertFloatingField'> {
4
+ protected execute(): Promise<{
5
+ wr: WrField;
6
+ pos: number;
7
+ side: "before";
8
+ } | null>;
9
+ }
@@ -5,7 +5,6 @@ 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;
9
8
  protected execute(): Promise<PostCommandContext>;
10
9
  private insertAtCursor;
11
10
  private insertIntoBody;
@@ -0,0 +1,10 @@
1
+ import { FloatingFieldCommand } from '../base/FloatingFieldCommand';
2
+ export declare class MoveFloatingField extends FloatingFieldCommand<'moveFloatingField'> {
3
+ private fieldId?;
4
+ protected execute(): Promise<{
5
+ wr: import('../../model/document').WrField;
6
+ pos: number;
7
+ side: "after";
8
+ } | null>;
9
+ protected afterUndo(): import('../types').CursorMeta | null;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { FloatingFieldCommand } from '../base/FloatingFieldCommand';
2
+ export declare class RemoveFloatingField extends FloatingFieldCommand<'removeFloatingField'> {
3
+ private fieldId?;
4
+ private bindingSnapshot;
5
+ protected execute(): Promise<{
6
+ wp: import('../../model/document').Wp;
7
+ pos: number;
8
+ side: "before";
9
+ } | null>;
10
+ protected restoreSnapshot(): void;
11
+ protected afterUndo(): import('../types').CursorMeta | null;
12
+ }
@@ -1,5 +1,6 @@
1
1
  import { TableBorderPreset } from '../model/types/table-border';
2
2
  import { VOrientationType } from '../../domain/constants/enum';
3
+ import { FIELD_TYPE } from '../../domain/field/field-type';
3
4
  import { Doc } from '../view/Doc';
4
5
  import { WidgetMeta } from '../widget/widget-meta';
5
6
  import { WordHighlight } from '../model/types';
@@ -40,6 +41,9 @@ export declare const CommandType: {
40
41
  readonly insertField: "insertField";
41
42
  readonly insertPaperWidget: "insertPaperWidget";
42
43
  readonly insertFloatingOverlay: "insertFloatingOverlay";
44
+ readonly insertFloatingField: "insertFloatingField";
45
+ readonly moveFloatingField: "moveFloatingField";
46
+ readonly removeFloatingField: "removeFloatingField";
43
47
  readonly delete: "delete";
44
48
  readonly backspace: "backspace";
45
49
  readonly enter: "enter";
@@ -90,6 +94,7 @@ export type CommandPayloadMap = {
90
94
  };
91
95
  commitValidateNumber: CommandPayload & {
92
96
  valuePath?: string;
97
+ fieldType?: FIELD_TYPE;
93
98
  type?: 'fw:number' | 'fw:double';
94
99
  digits?: number;
95
100
  roundingMode?: 1 | 4 | 6;
@@ -113,6 +118,17 @@ export type CommandPayloadMap = {
113
118
  hit: PointerHitResult;
114
119
  pageWidgetMeta: WidgetMeta;
115
120
  };
121
+ insertFloatingField: CommandPayload & {
122
+ hit: PointerHitResult;
123
+ widgetMeta: WidgetMeta;
124
+ };
125
+ moveFloatingField: CommandPayload & {
126
+ id: string;
127
+ position: import('../../domain/field/seal/seal-value').SealPosition;
128
+ };
129
+ removeFloatingField: CommandPayload & {
130
+ id: string;
131
+ };
116
132
  delete: CommandPayload & Record<string, never>;
117
133
  backspace: CommandPayload & Record<string, never>;
118
134
  enter: CommandPayload & Record<string, never>;
@@ -1,5 +1,5 @@
1
1
  import { Doc } from '../view/Doc';
2
- import { EmitSource, Data, PartialData, FieldRuntimeSpecificConfig, PostChangePipelineContext } from './types';
2
+ import { EmitSource, Data, PartialData, FieldRuntimeConstraint, FieldRuntimeSpecificConfig, PostChangePipelineContext } from './types';
3
3
  type JsonPath = string;
4
4
  /** 原始写入信息;向父路径通知时保留,不替换为 parent。 */
5
5
  type SubscriptionChange = {
@@ -84,6 +84,11 @@ export declare class DataManager {
84
84
  setRuntimeSpecificConfig(entries: any): void;
85
85
  getFieldRuntimeSpecificConfig(path: JsonPath): FieldRuntimeSpecificConfig | undefined;
86
86
  setFieldRuntimeSpecificConfig(path: JsonPath, partial: FieldRuntimeSpecificConfig): void;
87
+ /**
88
+ * 原子替换某一功能来源施加的全部字段约束。
89
+ * 未出现在 constraintsByPath 中的旧约束会被清理,其他来源和普通运行时配置不受影响。
90
+ */
91
+ replaceFieldRuntimeConstraints(source: string, constraintsByPath: ReadonlyMap<JsonPath, FieldRuntimeConstraint>): void;
87
92
  /** 子表插行后:index 及之后的行配置下标 +1 */
88
93
  private shiftFieldRuntimeConfigAfterRowInsert;
89
94
  /** 子表删行后:移除该行配置,其后行配置下标 -1 */
@@ -0,0 +1,19 @@
1
+ import { Doc } from '../../view/Doc';
2
+ import { DataEnricherRegistration } from '../types';
3
+ import { FIELD_TYPE } from '../../../domain/field/field-type';
4
+ export interface InspectionModuleQtyWidgetTarget {
5
+ valuePath: string;
6
+ }
7
+ type InspectionModuleQtyWidgetInstance = {
8
+ widgetMeta?: {
9
+ field?: {
10
+ fieldType?: FIELD_TYPE;
11
+ };
12
+ };
13
+ valuePath?: string;
14
+ };
15
+ /** 仅收集检验数量 inspection_module_qty;inspection_qty 为送检数量。 */
16
+ export declare function tryCollectInspectionModuleQtyTarget(instance: InspectionModuleQtyWidgetInstance): InspectionModuleQtyWidgetTarget | null;
17
+ /** 检验数量:用 detail.txnInstId 查询检验单,仅补空值,手工修改后不再回填。 */
18
+ export declare function createInspectionModuleQtyEnricher(doc: Doc, targets: InspectionModuleQtyWidgetTarget[]): DataEnricherRegistration;
19
+ export {};
@@ -0,0 +1,23 @@
1
+ import { Doc } from '../../view/Doc';
2
+ import { DataEnricherRegistration } from '../types';
3
+ import { FIELD_TYPE } from '../../../domain/field/field-type';
4
+ export interface UdiWidgetTarget {
5
+ valuePath: string;
6
+ }
7
+ type UdiWidgetInstance = {
8
+ widgetMeta?: {
9
+ field?: {
10
+ fieldType?: FIELD_TYPE;
11
+ };
12
+ };
13
+ valuePath?: string;
14
+ };
15
+ /** paramsConfig 中 containerId 优先;没有时使用 snId。 */
16
+ export declare function resolveUdiQuery(doc: Doc): Record<string, string> | undefined;
17
+ /** listAll 返回第一条 UDI;兼容接口返回 udi / name_ 的历史形态。 */
18
+ export declare function parseUdi(res: unknown): string | undefined;
19
+ /** 从单个 widget 实例解析 UDI enrich 目标。 */
20
+ export declare function tryCollectUdiTarget(instance: UdiWidgetInstance): UdiWidgetTarget | null;
21
+ /** UDI:按 paramsConfig.containerId / snId 查询并回填尚未赋值的字段。 */
22
+ export declare function createUdiEnricher(doc: Doc, targets: UdiWidgetTarget[]): DataEnricherRegistration;
23
+ export {};
@@ -0,0 +1,10 @@
1
+ export { setFormulaParamsConfig } from './formula-params-cache';
2
+ export type FormulaRegister = (name: string, executor: (...args: any[]) => any) => void;
3
+ interface DeviceParamConfig {
4
+ customFieldKey: string;
5
+ lowerLimit?: number | string | null;
6
+ upperLimit?: number | string | null;
7
+ }
8
+ type FetchDeviceParamLimits = (id: any) => Promise<DeviceParamConfig[] | null>;
9
+ export declare function configureDeviceParamCheck(fetcher: FetchDeviceParamLimits): void;
10
+ export declare function registerFormulaFuncs(register?: FormulaRegister): void;
@@ -0,0 +1,15 @@
1
+ interface FormulaParam {
2
+ customFieldKey: string;
3
+ lowerLimit?: number | string | null;
4
+ upperLimit?: number | string | null;
5
+ }
6
+ export declare const currentParamsConfig: {
7
+ readonly routingParamList: FormulaParam[];
8
+ readonly inspectionParamList: FormulaParam[];
9
+ readonly deviceParamList: FormulaParam[];
10
+ };
11
+ /** Excel、Word 共用参数;空配置也要覆盖旧值。 */
12
+ export declare function setFormulaParamsConfig(paramsConfig?: Record<string, any> | null): void;
13
+ /** 随应用绑定一次失效通知,不包装或替换宿主计算函数。 */
14
+ export declare function bindFormulaCacheInvalidation(value: unknown): void;
15
+ export {};
@@ -1,10 +1,23 @@
1
+ /**
2
+ * 独立运行时功能施加的字段约束。
3
+ *
4
+ * 多个来源互不覆盖,最终状态按“任一来源为 true”聚合。
5
+ */
6
+ export type FieldRuntimeConstraint = {
7
+ readonly?: boolean;
8
+ disabled?: boolean;
9
+ };
1
10
  /** 组件依赖按 runtime valuePath 写入的运行时配置(子表各行独立) */
2
11
  export type FieldRuntimeSpecificConfig = {
3
12
  newReadonly?: boolean;
4
13
  newRequired?: boolean;
5
14
  newDisabled?: boolean;
15
+ /** 按功能来源隔离的强制约束,避免解除某项约束时覆盖其他运行时规则 */
16
+ runtimeConstraints?: Record<string, FieldRuntimeConstraint>;
6
17
  /** assignment 策略「始终覆盖」时按行不可输入 */
7
18
  cannotInput?: boolean;
8
19
  /** 实例数字段:用户手填后不再被 API 回填覆盖 */
9
20
  ofInstNumUserEdited?: boolean;
21
+ /** 检验数量字段:用户手填(含清空)后不再被 API 回填覆盖 */
22
+ inspectionModuleQtyUserEdited?: boolean;
10
23
  };
@@ -16,6 +16,7 @@ export declare class IMEHandler implements IEventHandler {
16
16
  private handleInput;
17
17
  private handlePaste;
18
18
  private handleKeydown;
19
+ private tryRemoveSelectedSeal;
19
20
  /** 入队文本,延迟批量执行 InsertText */
20
21
  private enqueueInsert;
21
22
  private handleCommitValidate;
@@ -9,6 +9,8 @@ export { validateTextWidgetMarker } from './layout/logic/LayoutBuilder';
9
9
  export { CommandType } from './command/types';
10
10
  export { ModelConverter } from './model';
11
11
  export { DocumentEventBridge } from './event/DocumentEventBridge';
12
+ export { DocumentRuntimeManager } from './runtime/DocumentRuntimeManager';
13
+ export type { DocumentRuntimeExtension, DocumentValidationContext, DocumentValidationDecision, } from './runtime/DocumentRuntimeManager';
12
14
  export { DocModeTypeConst, PaperSizeConst, BuiltinComponentTypeConst } from './constants';
13
15
  export { default as CursorOverlay } from './cursor/render/cursor-overlay.vue';
14
16
  export { default as HiddenInput } from './cursor/render/hidden-input.vue';