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

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 (180) hide show
  1. package/README.md +1 -25
  2. package/dist/assets/svgs/table/index.d.ts +0 -1
  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 +0 -1
  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 +0 -2
  12. package/dist/base/message/src/message.d.ts +0 -2
  13. package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -1
  14. package/dist/base/modal/src/index.d.ts +1 -2
  15. package/dist/base/modal/src/modal.type.d.ts +1 -3
  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 +5 -17
  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 +6 -12
  23. package/dist/capabilities/model-field-runtime/types/field.d.ts +0 -4
  24. package/dist/core/command/commands/DeleteCol.d.ts +1 -1
  25. package/dist/core/command/commands/DeleteRow.d.ts +1 -1
  26. package/dist/core/command/commands/InsertTable.d.ts +1 -0
  27. package/dist/core/command/types.d.ts +0 -16
  28. package/dist/core/data/DataManager.d.ts +1 -6
  29. package/dist/core/data/types/runtime-config.d.ts +0 -13
  30. package/dist/core/event/handlers/IMEHandler.d.ts +0 -1
  31. package/dist/core/index.d.ts +0 -2
  32. package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
  33. package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +1 -4
  34. package/dist/core/model/logic/subtable/shared/dataGroupSlotCount.d.ts +1 -37
  35. package/dist/core/model/overlays/Wlayout.d.ts +0 -4
  36. package/dist/core/view/Doc.d.ts +0 -5
  37. package/dist/core/widget/types.d.ts +2 -2
  38. package/dist/domain/active/active-types.d.ts +1 -3
  39. package/dist/domain/field/field-props-schema-type.d.ts +1 -1
  40. package/dist/domain/field/field-type.d.ts +0 -64
  41. package/dist/domain/field/form-value.d.ts +0 -6
  42. package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  43. package/dist/domain/table/business/material/types.d.ts +1 -2
  44. package/dist/domain/table/design/hooks/on-field-attach.d.ts +0 -3
  45. package/dist/domain/table/design/sub-model-matcher.d.ts +0 -2
  46. package/dist/domain/table/index.d.ts +0 -3
  47. package/dist/domain/table/registry.d.ts +1 -1
  48. package/dist/domain/table/runtime/table-runtime.d.ts +0 -3
  49. package/dist/domain/table/types.d.ts +3 -13
  50. package/dist/index.es.js +6452 -32837
  51. package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +2 -10
  52. package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +7 -17
  53. package/dist/runtime/canvas/table/render/material-consume/scan-fill.d.ts +2 -7
  54. package/dist/runtime/factories/createDesignWidgetFactory.d.ts +0 -2
  55. package/dist/runtime/interface/render.d.ts +1 -2
  56. package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +7 -7
  57. package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +2 -2
  58. package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +1 -54
  59. package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +0 -1
  60. package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +0 -1
  61. package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +7 -7
  62. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +7 -7
  63. package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +7 -7
  64. package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +7 -7
  65. package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +7 -7
  66. package/dist/runtime/validation/layout.d.ts +0 -20
  67. package/dist/runtime/validation/state.d.ts +3 -7
  68. package/dist/runtime/validation/useFormValidator.d.ts +0 -4
  69. package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +1 -1
  70. package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +0 -5
  71. package/dist/sdk/engine/index.d.ts +1 -3
  72. package/dist/sdk/index.d.ts +0 -1
  73. package/dist/sdk/setup.d.ts +2 -10
  74. package/dist/sdk/types/index.d.ts +0 -8
  75. package/dist/sdk/vue/index.d.ts +0 -6
  76. package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +3 -3
  77. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +5 -6
  78. package/dist/suites/edhr/panel-schema/data-init/material-consume-object/linkage.d.ts +0 -7
  79. package/dist/suites/edhr/panel-schema/index.d.ts +0 -1
  80. package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +3 -10
  81. package/dist/suites/edhr/panel-schema/rule/components/field-map-row.vue.d.ts +1 -1
  82. package/dist/suites/edhr/panel-schema/rule/types.d.ts +0 -5
  83. package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +0 -22
  84. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/autofill-runtime.d.ts +0 -2
  85. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +1 -1
  86. package/dist/suites/shared/panel/modules/field-formula-module/field-formula-module.vue.d.ts +0 -1
  87. package/dist/utils/adapters/ServiceUtil.d.ts +0 -9
  88. package/dist/word.css +578 -1483
  89. package/package.json +4 -4
  90. package/dist/core/command/base/FloatingFieldCommand.d.ts +0 -9
  91. package/dist/core/command/commands/InsertFloatingField.d.ts +0 -9
  92. package/dist/core/command/commands/MoveFloatingField.d.ts +0 -10
  93. package/dist/core/command/commands/RemoveFloatingField.d.ts +0 -12
  94. package/dist/core/data/enrichers/inspection-module-qty-enricher.d.ts +0 -19
  95. package/dist/core/data/enrichers/udi-enricher.d.ts +0 -23
  96. package/dist/core/data/formula/business-functions.d.ts +0 -10
  97. package/dist/core/data/formula/formula-params-cache.d.ts +0 -15
  98. package/dist/core/runtime/DocumentRuntimeManager.d.ts +0 -38
  99. package/dist/domain/document-business/business/product-release/profile.d.ts +0 -2
  100. package/dist/domain/document-business/business/product-release/service.d.ts +0 -2
  101. package/dist/domain/document-business/index.d.ts +0 -2
  102. package/dist/domain/document-business/registry.d.ts +0 -2
  103. package/dist/domain/document-business/runtime/field-query-runtime.d.ts +0 -4
  104. package/dist/domain/document-business/types.d.ts +0 -24
  105. package/dist/domain/document-rule/index.d.ts +0 -3
  106. package/dist/domain/document-rule/runtime/decision-rule-evaluator.d.ts +0 -13
  107. package/dist/domain/document-rule/runtime/document-rule-runtime.d.ts +0 -19
  108. package/dist/domain/document-rule/types.d.ts +0 -50
  109. package/dist/domain/field/query-filter.d.ts +0 -15
  110. package/dist/domain/field/seal/seal-binding.d.ts +0 -19
  111. package/dist/domain/field/seal/seal-display.d.ts +0 -34
  112. package/dist/domain/field/seal/seal-value.d.ts +0 -39
  113. package/dist/domain/table/business/device/maintenance/index.d.ts +0 -1
  114. package/dist/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
  115. package/dist/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
  116. package/dist/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
  117. package/dist/domain/table/business/device/point-inspection/index.d.ts +0 -1
  118. package/dist/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
  119. package/dist/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
  120. package/dist/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
  121. package/dist/domain/table/business/device/runtime/device-signature-lock-engine.d.ts +0 -13
  122. package/dist/domain/table/business/device/signature-lock.d.ts +0 -26
  123. package/dist/domain/table/business/material/material-consume/profile/product-fields.d.ts +0 -6
  124. package/dist/domain/table/business/material/material-substitution/actions/scan.d.ts +0 -3
  125. package/dist/domain/table/business/material/material-substitution/index.d.ts +0 -3
  126. package/dist/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -41
  127. package/dist/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
  128. package/dist/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
  129. package/dist/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
  130. package/dist/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -6
  131. package/dist/domain/table/business/material/material-substitution/runtime/scan-fill.d.ts +0 -4
  132. package/dist/domain/table/design/hooks/on-bounded-default-props.d.ts +0 -3
  133. package/dist/domain/table/design/validate-nested-table-insert.d.ts +0 -3
  134. package/dist/domain/table/runtime/option-fill-updates.d.ts +0 -6
  135. package/dist/runtime/canvas/__common__/context-menu/resolve-table-context.d.ts +0 -10
  136. package/dist/runtime/canvas/node/seal-overlay.vue.d.ts +0 -6
  137. package/dist/runtime/canvas/table/render/material-consume/initial-product-autofill.d.ts +0 -6
  138. package/dist/runtime/canvas/table/render/material-consume/product-autofill.d.ts +0 -7
  139. package/dist/runtime/canvas/table/render/material-consume/product-source.d.ts +0 -4
  140. package/dist/runtime/interface/sterilization-date.d.ts +0 -9
  141. package/dist/runtime/interface/validate-designer-default.d.ts +0 -5
  142. package/dist/runtime/renderer/dialogs/document-rule-prompt/document-rule-prompt.vue.d.ts +0 -5
  143. package/dist/runtime/renderer/dialogs/document-rule-prompt/open-document-rule-prompt.d.ts +0 -2
  144. package/dist/runtime/renderer/dialogs/seal/open-seal-flow.d.ts +0 -3
  145. package/dist/runtime/renderer/dialogs/seal/seal-api.d.ts +0 -17
  146. package/dist/runtime/renderer/dialogs/seal/seal-confirm-dialog.vue.d.ts +0 -7
  147. package/dist/runtime/renderer/dialogs/seal/seal-runtime.d.ts +0 -30
  148. package/dist/runtime/renderer/dialogs/seal/types.d.ts +0 -17
  149. package/dist/runtime/renderer/dialogs/seal/use-seal-confirm.d.ts +0 -27
  150. package/dist/runtime/renderer/dialogs/signature/authentication/signature-authentication.vue.d.ts +0 -27
  151. package/dist/runtime/renderer/dialogs/signature/authentication/types.d.ts +0 -30
  152. package/dist/runtime/renderer/dialogs/signature/authentication/useSignatureAuthentication.d.ts +0 -29
  153. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/material-consume-history.d.ts +0 -17
  154. package/dist/runtime/renderer/dropdowns/components/tables/composables/useMaterialSubstitutionSource.d.ts +0 -7
  155. package/dist/sdk/doc-runtime/composables/useDocumentRulePrompt.d.ts +0 -3
  156. package/dist/sdk/doc-runtime/factories/runtime-data-sources.d.ts +0 -39
  157. package/dist/sdk/doc-runtime/factories/value-change-data-sources.d.ts +0 -7
  158. package/dist/sdk/doc-runtime/queries/template-placed-fields.d.ts +0 -7
  159. package/dist/sdk/types/placed-form-field.d.ts +0 -6
  160. package/dist/suites/edhr/component/gct-seal-render.vue.d.ts +0 -7
  161. package/dist/suites/edhr/manifest/field/business/product-release-qty-manifest.d.ts +0 -2
  162. package/dist/suites/edhr/manifest/field/business/udi-manifest.d.ts +0 -2
  163. package/dist/suites/edhr/manifest/field/logic/seal-manifest.d.ts +0 -2
  164. package/dist/suites/edhr/manifest/field/object-type/device-parameter-object-manifest.d.ts +0 -2
  165. package/dist/suites/edhr/manifest/field/object-type/inspection-parameter-object-manifest.d.ts +0 -2
  166. package/dist/suites/edhr/manifest/field/object-type/process-parameter-object-manifest.d.ts +0 -2
  167. package/dist/suites/edhr/manifest/field/trace/inspection-container-manifest.d.ts +0 -2
  168. package/dist/suites/edhr/manifest/field/trace/sterilization-date-manifest.d.ts +0 -2
  169. package/dist/suites/edhr/panel-schema/material-substitution-table/material-substitution-table.basic.d.ts +0 -1
  170. package/dist/suites/edhr/panel-schema/rule/components/decision-rule-condition.vue.d.ts +0 -19
  171. package/dist/suites/edhr/panel-schema/rule/components/decision-rule-group.vue.d.ts +0 -16
  172. package/dist/suites/edhr/panel-schema/rule/message-config/message-rule-modal.vue.d.ts +0 -12
  173. package/dist/suites/edhr/panel-schema/rule/message-config/message-rule.d.ts +0 -22
  174. package/dist/suites/edhr/panel-schema/rule/message-config/message-time-picker.vue.d.ts +0 -18
  175. package/dist/suites/edhr/panel-schema/rule/message-config/with-word-message-rule-fields.d.ts +0 -5
  176. package/dist/suites/edhr/panel-schema/rule/modals/inspection-decision-modal.vue.d.ts +0 -11
  177. package/dist/suites/edhr/panel-schema/rule/modals/open-inspection-decision-modal.d.ts +0 -8
  178. package/dist/suites/edhr/panel-schema/rule/utils/decision-rule.d.ts +0 -34
  179. package/dist/suites/shared/panel/utils/default-value-visibility.d.ts +0 -3
  180. package/dist/utils/pdf/collect-seal-draw-ops.d.ts +0 -4
@@ -32,8 +32,6 @@ export declare class BomEntryValidator {
32
32
  mainMaterialNo: string;
33
33
  /** 物料消耗模式 */
34
34
  noBomMode: boolean;
35
- /** 自定义需求数量,由表格行手动填写 */
36
- isCustomRequiredQty: boolean;
37
35
  /** 该明细使用到的产品的id集合 */
38
36
  productIds: string[];
39
37
  /** 物料和code的映射 */
@@ -59,9 +57,7 @@ export declare class BomEntryValidator {
59
57
  /** 表单实例的批次号 */
60
58
  mainMaterialNo: string,
61
59
  /** 物料消耗模式 */
62
- noBomMode: boolean,
63
- /** 自定义需求数量,由表格行手动填写 */
64
- isCustomRequiredQty?: boolean);
60
+ noBomMode: boolean);
65
61
  /**
66
62
  * 翻译物料的code
67
63
  * @param productId
@@ -152,8 +148,6 @@ export declare class BomEntriesValidator {
152
148
  mainMaterialNo: string;
153
149
  /** 物料消耗模式 */
154
150
  noBomMode: boolean;
155
- /** 需求数量由表格行手动填写 */
156
- isCustomRequiredQty: boolean;
157
151
  bomEntryValidators: BomEntryValidator[];
158
152
  constructor(entries: IBomEntry[],
159
153
  /** 是否启用顺序投料 */
@@ -165,9 +159,7 @@ export declare class BomEntriesValidator {
165
159
  /** 表单实例的批次号 */
166
160
  mainMaterialNo: string,
167
161
  /** 物料消耗模式 */
168
- noBomMode: boolean,
169
- /** 需求数量由表格行手动填写 */
170
- isCustomRequiredQty?: boolean);
162
+ noBomMode: boolean);
171
163
  /** 当前批次/生产数量 */
172
164
  get materialNoNum(): number;
173
165
  /**
@@ -144,12 +144,6 @@ export declare class MaterialConsumeTableController {
144
144
  */
145
145
  set actualTableData(value: IMaterialConsumeData[]);
146
146
  constructor(tmplBomController: FormTmplBomController, tmplBom: IFormTmplBom);
147
- get isCustomRequiredQty(): boolean;
148
- private getBomGroupForRow;
149
- private getMatchingBomGroupForRow;
150
- /** 自定义规则的需求数量在同一 BOM 组内保持一致。 */
151
- getCustomGroupRequiredQty(row: IMaterialConsumeData): number | undefined;
152
- private syncCustomGroupRequiredQty;
153
147
  /** 错误信息 */
154
148
  error(message: string): void;
155
149
  /**
@@ -175,7 +169,7 @@ export declare class MaterialConsumeTableController {
175
169
  * 未填报时初始化消耗表行数据
176
170
  * @param defaultData 子表行默认值(含工序等)
177
171
  */
178
- initTableData(doc: Doc, subFieldKey: string, defaultData?: Record<string, any>): Promise<number[]>;
172
+ initTableData(dataManager: DataManager, subFieldKey: string, defaultData?: Record<string, any>): number[];
179
173
  /**
180
174
  * 根据数据计算需要禁用的字段
181
175
  * @param row
@@ -344,18 +338,14 @@ export declare class MaterialConsumeTableController {
344
338
  */
345
339
  setDefaultValue(row: IMaterialConsumeData, doc: Doc): void;
346
340
  getDefaultValue(row: IMaterialConsumeData): any;
347
- /** 下拉写入前校验,只生成更新,不修改当前行。 */
348
- prepareSelectChange({ pending, selectedOption, doc, parsed, dataIndex, }: {
349
- pending: Record<string, unknown>;
341
+ /**
342
+ * 处理[物料消耗表]下拉字段变更
343
+ */
344
+ handleSelectChange({ changedData, selectedOption, doc, parsed, dataIndex, }: {
345
+ changedData: any;
350
346
  selectedOption: any;
351
347
  doc: Doc;
352
348
  parsed: ParsedValuePath;
353
349
  dataIndex: number;
354
- }): Promise<Record<string, unknown>>;
355
- /** 提交成功后刷新查询条件、禁用状态及派生数量。 */
356
- afterSelectChange({ doc, parsed, dataIndex, }: {
357
- doc: Doc;
358
- parsed: ParsedValuePath;
359
- dataIndex: number;
360
- }): void;
350
+ }): Promise<void>;
361
351
  }
@@ -1,15 +1,10 @@
1
1
  import { BomEntryValidator, ScanFillPlan } from './bom-validator';
2
2
  import { IMaterialConsumeData } from '../../../../../domain/table/business/material/types';
3
3
  export type ValidateCurrentGroupForSwitch = (table: IMaterialConsumeData[], current: BomEntryValidator) => void | Promise<void>;
4
- export interface ScanFillResult {
5
- rows: IMaterialConsumeData[];
6
- /** 本次扫码实际写入行的稳定身份 */
7
- filledRowKey: string;
8
- }
9
4
  /**
10
- * 按 ScanFillPlan 切组 / 建组 / 填充,返回新表及本次写入行的身份(不改入参 arr)。
5
+ * 按 ScanFillPlan 切组 / 建组 / 填充,返回新表(不改入参 arr)。
11
6
  * needSwitch 时通过 options.validateCurrentGroupForSwitch 先校验当前组。
12
7
  */
13
8
  export declare function applyScanFillPlan(arr: IMaterialConsumeData[], scanRow: IMaterialConsumeData, plan?: ScanFillPlan, options?: {
14
9
  validateCurrentGroupForSwitch?: ValidateCurrentGroupForSwitch;
15
- }): Promise<ScanFillResult>;
10
+ }): Promise<IMaterialConsumeData[]>;
@@ -14,8 +14,6 @@ export interface CreateWidgetFromPaletteOptions {
14
14
  overrideProps?: Record<string, any>;
15
15
  /** 用于解析子表业务 Profile */
16
16
  refModelType?: string;
17
- /** 当前模型的完整字段列表,包含对象及对象子字段。 */
18
- modelFields?: readonly FieldMeta[];
19
17
  }
20
18
  export declare function createDesignFieldToWidgetFactory(getFieldManifestForField: (f: FieldTypeSource) => FieldManifest | undefined): (field: FieldMeta, opts?: CreateWidgetFromPaletteOptions) => WidgetMeta;
21
19
  export declare function createDesignPaperWidgetToWidgetFactory(getManifest: (type: PAPER_WIDGET_TYPE) => PaperWidgetManifest | undefined): (widget: PaperWidgetMeta, opts?: CreateWidgetFromPaletteOptions) => WidgetMeta;
@@ -1,9 +1,8 @@
1
1
  import { DocModeType } from '../../core';
2
2
  import { DesignSuiteContext } from '../_register_/context/DesignSuiteContext';
3
3
  import { FieldMeta } from '../../capabilities/model-field-runtime';
4
- import { shouldInitializeDocumentData } from '../../core/data/initialization';
5
4
  /** 获取默认值集合 */
6
- export declare function loadDefaultValuesByFields(instances: any[], ctx: DesignSuiteContext, context: any, masterSlaveList: FieldMeta[], initialization?: Parameters<typeof shouldInitializeDocumentData>[0]): Promise<Record<string, any>>;
5
+ export declare function loadDefaultValuesByFields(instances: any[], ctx: DesignSuiteContext, context: any, masterSlaveList: FieldMeta[]): Promise<Record<string, any>>;
7
6
  /** 获取数据初始化数据 */
8
7
  export declare const loadDataInitValues: (
9
8
  /** 文档渲染模式 */
@@ -105,13 +105,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
105
105
  keyup: (event: KeyboardEvent) => any;
106
106
  pressEnter: (event: KeyboardEvent) => any;
107
107
  }, string, {
108
- id: string;
109
108
  type: import('../../../../base/input/src/types').InputType;
109
+ id: string;
110
110
  name: string;
111
- placeholder: string;
112
- size: import('../../../../base/input/src/types').InputSize;
113
111
  readonly: boolean;
114
112
  disabled: boolean;
113
+ size: import('../../../../base/input/src/types').InputSize;
114
+ placeholder: string;
115
115
  modelValue: string | number;
116
116
  prefix: string;
117
117
  suffix: string;
@@ -149,13 +149,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
149
149
  $nextTick: typeof nextTick;
150
150
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
151
151
  } & Readonly<{
152
- id: string;
153
152
  type: import('../../../../base/input/src/types').InputType;
153
+ id: string;
154
154
  name: string;
155
- placeholder: string;
156
- size: import('../../../../base/input/src/types').InputSize;
157
155
  readonly: boolean;
158
156
  disabled: boolean;
157
+ size: import('../../../../base/input/src/types').InputSize;
158
+ placeholder: string;
159
159
  modelValue: string | number;
160
160
  prefix: string;
161
161
  suffix: string;
@@ -184,7 +184,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
184
184
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
185
185
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
186
186
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
187
- }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
187
+ }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
188
188
  focus: () => void;
189
189
  blur: () => void;
190
190
  select: () => void;
@@ -4,10 +4,10 @@ type __VLS_Props = {
4
4
  };
5
5
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
6
  success: () => any;
7
- status: (status: "success" | "warning" | "error" | "waiting") => any;
7
+ status: (status: "error" | "success" | "warning" | "waiting") => any;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onSuccess?: (() => any) | undefined;
10
- onStatus?: ((status: "success" | "warning" | "error" | "waiting") => any) | undefined;
10
+ onStatus?: ((status: "error" | "success" | "warning" | "waiting") => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
12
12
  inputRef: HTMLInputElement;
13
13
  }, HTMLDivElement>;
@@ -1,6 +1,5 @@
1
1
  import { ExternalComponentType } from '../../../../core/widget';
2
2
  import { WidgetNode } from '../../../canvas/types';
3
- import { AuthenticationState } from './authentication/types';
4
3
  type __VLS_Props = {
5
4
  widgetType: ExternalComponentType;
6
5
  widget: WidgetNode;
@@ -20,57 +19,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
20
19
  } | undefined>;
21
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
21
  enableSignPassword: number;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
- authenticationRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
25
- defaultLoginAccount?: string;
26
- enableSignPassword?: number;
27
- imageDirection?: string;
28
- showForm?: boolean;
29
- disabled?: boolean;
30
- submitCard: (code: string) => Promise<void>;
31
- }> & Readonly<{
32
- "onState-change"?: ((state: AuthenticationState) => any) | undefined;
33
- "onCard-complete"?: (() => any) | undefined;
34
- }>, {
35
- authenticatePassword(): Promise<import('./authentication/types').AuthenticationAttempt | undefined>;
36
- authenticateCard(code: string): Promise<import('./authentication/types').AuthenticationAttempt>;
37
- hasInput(): boolean;
38
- reset(): void;
39
- invalidate(): void;
40
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
41
- "state-change": (state: AuthenticationState) => any;
42
- "card-complete": () => any;
43
- }, import('vue').PublicProps, {
44
- disabled: boolean;
45
- enableSignPassword: number;
46
- showForm: boolean;
47
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
48
- P: {};
49
- B: {};
50
- D: {};
51
- C: {};
52
- M: {};
53
- Defaults: {};
54
- }, Readonly<{
55
- defaultLoginAccount?: string;
56
- enableSignPassword?: number;
57
- imageDirection?: string;
58
- showForm?: boolean;
59
- disabled?: boolean;
60
- submitCard: (code: string) => Promise<void>;
61
- }> & Readonly<{
62
- "onState-change"?: ((state: AuthenticationState) => any) | undefined;
63
- "onCard-complete"?: (() => any) | undefined;
64
- }>, {
65
- authenticatePassword(): Promise<import('./authentication/types').AuthenticationAttempt | undefined>;
66
- authenticateCard(code: string): Promise<import('./authentication/types').AuthenticationAttempt>;
67
- hasInput(): boolean;
68
- reset(): void;
69
- invalidate(): void;
70
- }, {}, {}, {}, {
71
- disabled: boolean;
72
- enableSignPassword: number;
73
- showForm: boolean;
74
- }> | null;
75
- }, HTMLDivElement>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
76
23
  export default _default;
@@ -15,7 +15,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
17
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
- videoRef: HTMLVideoElement;
19
18
  inputRef: HTMLInputElement;
20
19
  }, HTMLDivElement>;
21
20
  export default _default;
@@ -30,7 +30,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
30
30
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
31
  "update:modelValue": (...args: any[]) => void;
32
32
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
33
- videoRef: HTMLVideoElement;
34
33
  inputRef: HTMLInputElement;
35
34
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
36
35
  P: {};
@@ -103,13 +103,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
103
103
  keyup: (event: KeyboardEvent) => any;
104
104
  pressEnter: (event: KeyboardEvent) => any;
105
105
  }, string, {
106
- id: string;
107
106
  type: import('../../../../base/input/src/types').InputType;
107
+ id: string;
108
108
  name: string;
109
- placeholder: string;
110
- size: import('../../../../base/input/src/types').InputSize;
111
109
  readonly: boolean;
112
110
  disabled: boolean;
111
+ size: import('../../../../base/input/src/types').InputSize;
112
+ placeholder: string;
113
113
  modelValue: string | number;
114
114
  prefix: string;
115
115
  suffix: string;
@@ -147,13 +147,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
147
147
  $nextTick: typeof import('vue').nextTick;
148
148
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
149
149
  } & Readonly<{
150
- id: string;
151
150
  type: import('../../../../base/input/src/types').InputType;
151
+ id: string;
152
152
  name: string;
153
- placeholder: string;
154
- size: import('../../../../base/input/src/types').InputSize;
155
153
  readonly: boolean;
156
154
  disabled: boolean;
155
+ size: import('../../../../base/input/src/types').InputSize;
156
+ placeholder: string;
157
157
  modelValue: string | number;
158
158
  prefix: string;
159
159
  suffix: string;
@@ -182,7 +182,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
182
182
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
183
183
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
184
184
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
185
- }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
185
+ }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
186
186
  focus: () => void;
187
187
  blur: () => void;
188
188
  select: () => void;
@@ -105,13 +105,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
105
105
  keyup: (event: KeyboardEvent) => any;
106
106
  pressEnter: (event: KeyboardEvent) => any;
107
107
  }, string, {
108
- id: string;
109
108
  type: import('../../../../../base/input/src/types').InputType;
109
+ id: string;
110
110
  name: string;
111
- placeholder: string;
112
- size: import('../../../../../base/input/src/types').InputSize;
113
111
  readonly: boolean;
114
112
  disabled: boolean;
113
+ size: import('../../../../../base/input/src/types').InputSize;
114
+ placeholder: string;
115
115
  modelValue: string | number;
116
116
  prefix: string;
117
117
  suffix: string;
@@ -149,13 +149,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
149
149
  $nextTick: typeof import('vue').nextTick;
150
150
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
151
151
  } & Readonly<{
152
- id: string;
153
152
  type: import('../../../../../base/input/src/types').InputType;
153
+ id: string;
154
154
  name: string;
155
- placeholder: string;
156
- size: import('../../../../../base/input/src/types').InputSize;
157
155
  readonly: boolean;
158
156
  disabled: boolean;
157
+ size: import('../../../../../base/input/src/types').InputSize;
158
+ placeholder: string;
159
159
  modelValue: string | number;
160
160
  prefix: string;
161
161
  suffix: string;
@@ -184,7 +184,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
184
184
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
185
185
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
186
186
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
187
- }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
187
+ }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
188
188
  focus: () => void;
189
189
  blur: () => void;
190
190
  select: () => void;
@@ -100,13 +100,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
100
100
  keyup: (event: KeyboardEvent) => any;
101
101
  pressEnter: (event: KeyboardEvent) => any;
102
102
  }, string, {
103
- id: string;
104
103
  type: import('../../../../../base/input/src/types').InputType;
104
+ id: string;
105
105
  name: string;
106
- placeholder: string;
107
- size: import('../../../../../base/input/src/types').InputSize;
108
106
  readonly: boolean;
109
107
  disabled: boolean;
108
+ size: import('../../../../../base/input/src/types').InputSize;
109
+ placeholder: string;
110
110
  modelValue: string | number;
111
111
  prefix: string;
112
112
  suffix: string;
@@ -144,13 +144,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
144
144
  $nextTick: typeof import('vue').nextTick;
145
145
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
146
146
  } & Readonly<{
147
- id: string;
148
147
  type: import('../../../../../base/input/src/types').InputType;
148
+ id: string;
149
149
  name: string;
150
- placeholder: string;
151
- size: import('../../../../../base/input/src/types').InputSize;
152
150
  readonly: boolean;
153
151
  disabled: boolean;
152
+ size: import('../../../../../base/input/src/types').InputSize;
153
+ placeholder: string;
154
154
  modelValue: string | number;
155
155
  prefix: string;
156
156
  suffix: string;
@@ -179,7 +179,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
179
179
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
180
180
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
181
181
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
182
- }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
182
+ }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
183
183
  focus: () => void;
184
184
  blur: () => void;
185
185
  select: () => void;
@@ -122,13 +122,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
122
122
  keyup: (event: KeyboardEvent) => any;
123
123
  pressEnter: (event: KeyboardEvent) => any;
124
124
  }, string, {
125
- id: string;
126
125
  type: import('../../../../../base/input/src/types').InputType;
126
+ id: string;
127
127
  name: string;
128
- placeholder: string;
129
- size: import('../../../../../base/input/src/types').InputSize;
130
128
  readonly: boolean;
131
129
  disabled: boolean;
130
+ size: import('../../../../../base/input/src/types').InputSize;
131
+ placeholder: string;
132
132
  modelValue: string | number;
133
133
  prefix: string;
134
134
  suffix: string;
@@ -166,13 +166,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
166
166
  $nextTick: typeof nextTick;
167
167
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
168
168
  } & Readonly<{
169
- id: string;
170
169
  type: import('../../../../../base/input/src/types').InputType;
170
+ id: string;
171
171
  name: string;
172
- placeholder: string;
173
- size: import('../../../../../base/input/src/types').InputSize;
174
172
  readonly: boolean;
175
173
  disabled: boolean;
174
+ size: import('../../../../../base/input/src/types').InputSize;
175
+ placeholder: string;
176
176
  modelValue: string | number;
177
177
  prefix: string;
178
178
  suffix: string;
@@ -201,7 +201,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
201
201
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
202
202
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
203
203
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
204
- }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
204
+ }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
205
205
  focus: () => void;
206
206
  blur: () => void;
207
207
  select: () => void;
@@ -102,13 +102,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
102
102
  keyup: (event: KeyboardEvent) => any;
103
103
  pressEnter: (event: KeyboardEvent) => any;
104
104
  }, string, {
105
- id: string;
106
105
  type: import('../../../../../base/input/src/types').InputType;
106
+ id: string;
107
107
  name: string;
108
- placeholder: string;
109
- size: import('../../../../../base/input/src/types').InputSize;
110
108
  readonly: boolean;
111
109
  disabled: boolean;
110
+ size: import('../../../../../base/input/src/types').InputSize;
111
+ placeholder: string;
112
112
  modelValue: string | number;
113
113
  prefix: string;
114
114
  suffix: string;
@@ -146,13 +146,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
146
146
  $nextTick: typeof import('vue').nextTick;
147
147
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
148
148
  } & Readonly<{
149
- id: string;
150
149
  type: import('../../../../../base/input/src/types').InputType;
150
+ id: string;
151
151
  name: string;
152
- placeholder: string;
153
- size: import('../../../../../base/input/src/types').InputSize;
154
152
  readonly: boolean;
155
153
  disabled: boolean;
154
+ size: import('../../../../../base/input/src/types').InputSize;
155
+ placeholder: string;
156
156
  modelValue: string | number;
157
157
  prefix: string;
158
158
  suffix: string;
@@ -181,7 +181,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
181
181
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
182
182
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
183
183
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
184
- }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
184
+ }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
185
185
  focus: () => void;
186
186
  blur: () => void;
187
187
  select: () => void;
@@ -9,26 +9,6 @@ export declare function buildWidgetPathIndex(doc: Doc): Map<string, any>;
9
9
  export declare function listWidgetNodes(doc: Doc): WidgetLayoutEntry[];
10
10
  /** 校验批注连线坐标:优先按 valuePath 存取,兼容旧版 modelId */
11
11
  export declare function getValidationCommentPoints(widgetMeta: any, runtimeValuePath: string, modelId?: string): any;
12
- /** Floating seals do not mount the inline field overlay that normally records these points. */
13
- export declare function getSealValidationCommentPoints(doc: Doc, widget: any): {
14
- fieldLeft?: undefined;
15
- fieldTop?: undefined;
16
- startX?: undefined;
17
- startY?: undefined;
18
- lineWidth?: undefined;
19
- midX?: undefined;
20
- midY?: undefined;
21
- panelLeft?: undefined;
22
- } | {
23
- fieldLeft: number;
24
- fieldTop: number;
25
- startX: number;
26
- startY: number;
27
- lineWidth: number;
28
- midX: number;
29
- midY: number;
30
- panelLeft: number;
31
- };
32
12
  /** 收集当前文档里所有可校验字段的 runtime valuePath */
33
13
  export declare function listWidgetValuePaths(doc: Doc): string[];
34
14
  /** 由 modelId 解析运行时 valuePath(优先布局 run,兼容子表行) */
@@ -6,8 +6,7 @@ export type ValidationCommentMap = Record<string, Array<{
6
6
  }>> | null;
7
7
  type ValidationSource = 'interactive' | 'manual' | 'business' | 'display';
8
8
  export type ValidationRun = {
9
- scopePaths?: ReadonlySet<string>;
10
- isCurrent(source: ValidationSource, path?: string): boolean;
9
+ isCurrent(source: ValidationSource): boolean;
11
10
  };
12
11
  export type ValidationUpdate = Partial<Record<ValidationSource, ValidationCommentMap>> & {
13
12
  validatedPaths?: string[];
@@ -17,11 +16,8 @@ export type ValidationUpdate = Partial<Record<ValidationSource, ValidationCommen
17
16
  };
18
17
  /** 等待 settle 的任务也属于当前会话,重置后不能重新创建旧结果。 */
19
18
  export declare function captureValidationSession(doc: Doc): () => boolean;
20
- /** 提交前扩展也属于提交请求;较早请求的裁决不能覆盖后发请求。 */
21
- export declare function captureSubmissionValidation(doc: Doc, showComments: boolean): () => boolean;
22
- export declare function listManualValidationPaths(doc: Doc): string[];
23
- /** 按来源和字段范围控制异步写回,分别维护提交、实时、业务和展示结果。 */
24
- export declare function beginValidationRun(doc: Doc, sources: ValidationSource[], scopePaths?: ReadonlySet<string>, isRequestCurrent?: () => boolean): ValidationRun;
19
+ /** 按来源控制异步写回,分别维护提交、实时、业务和展示结果。 */
20
+ export declare function beginValidationRun(doc: Doc, sources: ValidationSource[]): ValidationRun;
25
21
  /** 只更新本轮拥有的来源和实际执行规则的字段。 */
26
22
  export declare function applyValidationResults(doc: Doc, run: ValidationRun, update: ValidationUpdate): ValidationCommentMap;
27
23
  /** 数据变化清理旧业务快照,不取消业务校验自身写回数据后的在途结果。 */
@@ -12,10 +12,6 @@ export declare function disposeDocValidationScheduler(doc: Doc): void;
12
12
  export declare const validateAllFields: (doc: Doc, options?: {
13
13
  showComments?: boolean;
14
14
  }) => Promise<Record<string, any[]> | null>;
15
- /** 对指定运行时字段路径执行提交级完整校验。 */
16
- export declare const validateFields: (doc: Doc, paths: Iterable<string>, options?: {
17
- showComments?: boolean;
18
- }) => Promise<Record<string, any[]> | null>;
19
15
  type ValidateOptions = {
20
16
  /** 调用方已 settle 时可跳过,避免打开时重复等待 */
21
17
  settle?: boolean;
@@ -27,9 +27,9 @@ export interface DocumentFieldContext {
27
27
  }
28
28
  export declare function prepareDocumentFieldContext(options: PrepareFieldContextOptions): Promise<DocumentFieldContext>;
29
29
  export interface PrepareRenderDataOptions {
30
- fillModeType: DocModeType;
31
30
  requestInfo: Execute['requestInfo'];
32
31
  initializeValues?: boolean;
32
+ fillModeType: DocModeType;
33
33
  payload: IDocPayload;
34
34
  materialNo: string;
35
35
  query: Record<string, any>;
@@ -4,7 +4,6 @@ import { DocInfo, FieldPermissionInfo, IDeviceConfig } from '../../types';
4
4
  import { DesignSuiteContext } from '../../../runtime/_register_/context/DesignSuiteContext';
5
5
  import { OnlineFormInstanceResponse, OnlineFormTmplResponse } from '@gct-paas/api/apaas';
6
6
  import { FormTmplBomController } from '../../../runtime/canvas/table/render/material-consume';
7
- import { DataSourceManager, DataSourceManagerOptions } from '@gct-paas/form-base';
8
7
  export interface IDocProps {
9
8
  /** 文档实例id或者文档模板id */
10
9
  requestId: MaybeRef<string | undefined>;
@@ -28,8 +27,6 @@ export interface IDocInstancePayload {
28
27
  export interface IDocPayload extends IDocTemplatePayload, IDocInstancePayload {
29
28
  /** 工厂类型 */
30
29
  factoryType: 'template' | 'instance';
31
- /** 表单、实体和业务等数源的宿主查询适配器。 */
32
- dataSourceAdapters?: DataSourceManagerOptions['adapters'];
33
30
  /** 模型 key */
34
31
  modelKey?: ModelKey;
35
32
  /** 设备配置信息 */
@@ -51,8 +48,6 @@ export interface IDocPayload extends IDocTemplatePayload, IDocInstancePayload {
51
48
  }
52
49
  /** 文档加载工厂 — 只负责响应式加载与生命周期,不包含业务操作 */
53
50
  export interface DocumentFactory {
54
- /** 当前填报实例的数源查询、状态与手动刷新入口。 */
55
- dataSourceManager: ShallowRef<DataSourceManager | undefined>;
56
51
  /** 文档引擎实例 */
57
52
  docIns: ShallowRef<Doc | null>;
58
53
  /** 文档页面信息(响应式,驱动 canvas 渲染) */
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export { DocModeTypeConst, PaperSizeConst, BuiltinComponentTypeConst } from '../../core';
6
6
  export type { DocModeType, CompleteComponentType, BuiltinComponentType } from '../../core';
7
- export type { DocController, DocQueryAPI, WordRuntime, DocInfo, DocRuntimeMeta, DocRuntimeMetaHandleInfo, DocUnsavedChanges, DocGetUnsavedChangesOptions, DesignerValidationError, DesignerValidationResult, DesignerValidationSource, UseWordProps, UseWordOptions, WordPrintCaptureOptions, FieldModelQuery, IDeviceConfig, PlacedFormField, } from '../types';
7
+ export type { DocController, DocQueryAPI, WordRuntime, DocInfo, DocRuntimeMeta, DocRuntimeMetaHandleInfo, DocUnsavedChanges, DocGetUnsavedChangesOptions, DesignerValidationError, DesignerValidationResult, DesignerValidationSource, UseWordProps, UseWordOptions, WordPrintCaptureOptions, FieldModelQuery, IDeviceConfig, } from '../types';
8
8
  export type { Execute } from '../doc-runtime/factories/useDocumentFactory';
9
9
  export { useWord } from '../doc-runtime/useWord';
10
10
  export { useDocSuite } from '../doc-runtime/composables/useDocSuite';
@@ -12,8 +12,6 @@ export { useDocumentFactory } from '../doc-runtime/factories/useDocumentFactory'
12
12
  export { useDocRuntimeProvider } from '../doc-runtime/composables/useDocRuntimeProvider';
13
13
  export { useDocOperations } from '../doc-runtime/composables/useDocOperations';
14
14
  export { useDocController } from '../doc-runtime/composables/useDocController';
15
- export { getPlacedFieldsByType, getPlacedSealFields, } from '../doc-runtime/queries/template-placed-fields';
16
15
  export { useFormTmplAndModelInit } from '../doc-runtime/device-link/useFormTmplAndModelInit';
17
16
  export { calcUsedFieldsFromRuntimeJson, type CalcUsedFieldsFromRuntimeJsonOptions, type UsedFieldInfo, } from '../../utils/func/calc-used-fields';
18
17
  export type { TableBorderPreset } from '../../core/model/types/table-border';
19
- export { withWordMessageRuleFields } from '../../suites/edhr/panel-schema/rule/message-config/with-word-message-rule-fields';
@@ -12,4 +12,3 @@ export type { SetupPlatformAdaptersOptions, SetupVueRuntimeOptions } from './set
12
12
  export * from './engine';
13
13
  export * from './vue';
14
14
  export * from './plugins';
15
- export declare function showWordValidationWarning(text: string): void;