@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
@@ -1,4 +1,4 @@
1
- import { createApp, Component } from 'vue';
1
+ import { createApp } from 'vue';
2
2
  import { TriggerHandler } from '../utils/adapters/TriggerUtil';
3
3
  import { WordSuitePlugin } from './types';
4
4
  export interface SetupPlatformAdaptersOptions {
@@ -9,10 +9,6 @@ export interface SetupPlatformAdaptersOptions {
9
9
  interceptors?: any;
10
10
  /** 获取应用信息/默认内置参数 */
11
11
  getAppInfo: any;
12
- /** 获取业务配置,供填报及模拟填报的 SOP 选项过滤使用。 */
13
- getBusinessSetting?: () => Promise<{
14
- enableSopDocApprove?: number | boolean;
15
- }>;
16
12
  /** 文件解析方法 */
17
13
  parseFile: any;
18
14
  /** 文件上传方法 */
@@ -21,8 +17,6 @@ export interface SetupPlatformAdaptersOptions {
21
17
  formulaIdentify?: any;
22
18
  /** 公式计算(可选) */
23
19
  formulaCalculate?: any;
24
- /** 注入业务函数 */
25
- formulaRegister?: any;
26
20
  /** 触发主工程交互(可选) */
27
21
  triggerHandler?: TriggerHandler;
28
22
  /** 需要安装的 Suite 插件列表 */
@@ -51,12 +45,10 @@ export declare function setupPlatformAdapters(options: SetupPlatformAdaptersOpti
51
45
  export interface SetupVueRuntimeOptions {
52
46
  /** Vue 应用实例(createApp 的返回值) */
53
47
  app: ReturnType<typeof createApp>;
54
- /** 宿主业务组件;按名称注册到当前应用,Word 内可直接使用。 */
55
- components?: Readonly<Record<string, Component>>;
56
48
  }
57
49
  /**
58
50
  * Vue 运行时注册(在 createApp 之后调用)
59
- * 注册宿主业务组件、Vue 插件(FloatingVue、VueKonva)和全局指令
51
+ * 注册 Vue 插件(FloatingVue、VueKonva)和全局指令
60
52
  *
61
53
  * @example
62
54
  * const app = createApp(App);
@@ -1,4 +1,3 @@
1
- import { DataSourceManager, DataSourceManagerOptions } from '@gct-paas/form-base';
2
1
  import { ComputedRef, Ref, ShallowRef } from 'vue';
3
2
  import { DocModeType, IPaperInfo } from '../../core/constants';
4
3
  import { DocModel } from '../../core/model';
@@ -13,7 +12,6 @@ export type { DocUnsavedChanges, DocGetUnsavedChangesOptions, } from '../doc-run
13
12
  export type { DesignerValidationError, DesignerValidationResult, DesignerValidationSource, } from './designer-validation';
14
13
  export type { FieldModelQuery } from './field-model-query';
15
14
  export type { IActionButtonItem } from './action-button';
16
- export type { PlacedFormField } from './placed-form-field';
17
15
  /** 设备配置信息 */
18
16
  export interface IDeviceConfig {
19
17
  /** 默认的用户id */
@@ -195,8 +193,6 @@ export interface DocRuntimeMetaHandleInfo {
195
193
  }
196
194
  /** 文档运行时元信息(接口返回字段 + 业务拼接字段) */
197
195
  export interface DocRuntimeMeta extends OnlineFormInstanceResponse, OnlineFormTmplResponse {
198
- /** detail 返回的交易实例 id,供检验数量等业务字段查询使用 */
199
- txnInstId?: string;
200
196
  /** 业务拼接的运行时处理信息 */
201
197
  handleInfo: DocRuntimeMetaHandleInfo;
202
198
  /**
@@ -214,8 +210,6 @@ export interface DocRuntimeMeta extends OnlineFormInstanceResponse, OnlineFormTm
214
210
  * useWord 返回的运行时对象(SDK 公共面)
215
211
  */
216
212
  export interface WordRuntime {
217
- /** 填报实例的数源管理器,支持 query(key) 和读取 states。 */
218
- dataSourceManager: ShallowRef<DataSourceManager | undefined>;
219
213
  /**
220
214
  * 对外暴露的文档控制器引用。
221
215
  *
@@ -260,8 +254,6 @@ export interface WordPrintCaptureOptions {
260
254
  }
261
255
  /** useWord 配置选项 */
262
256
  export interface UseWordOptions {
263
- /** 表单、实体、业务数源等宿主查询实现。 */
264
- dataSourceAdapters?: DataSourceManagerOptions['adapters'];
265
257
  /** 工厂类型:template(模板) | instance(实例) */
266
258
  factoryType: 'template' | 'instance';
267
259
  /** 主模型 key */
@@ -5,9 +5,3 @@
5
5
  export { default as DocDesignLayout } from './layouts/doc-design-layout.vue';
6
6
  export { default as DocRenderLayout } from './layouts/doc-render-layout.vue';
7
7
  export { GctLayout } from '../../base';
8
- /**
9
- * 共用数据获取列表:设计配置与运行时查看、手动加载
10
- * word, excel 都暴露出去了,gct-dhr-kit 可从中任用一个
11
- */
12
- export { DataSources } from '@gct-paas/form-base';
13
- export type { DataSourceManager } from '@gct-paas/form-base';
@@ -84,10 +84,10 @@ export declare const styleSizeDefaultProps: {
84
84
  /** 组件默认高度 */
85
85
  readonly height: 68;
86
86
  };
87
- /** 签名/报工人等:与无图兜底画布同比例(≈1.76:1) */
87
+ /** 签名/报工人等:与无图兜底画布同比例(≈1.76:1),默认略放大便于阅读 */
88
88
  export declare const signStyleSizeDefaultProps: {
89
- readonly width: 120;
90
- readonly height: 68;
89
+ readonly width: 180;
90
+ readonly height: 102;
91
91
  };
92
92
  export declare const labelPriorityConfig: PriorityRule;
93
93
  export declare const labelResolveDateConfig: ResolveRule;
@@ -52,20 +52,19 @@ export declare function getObjectBomDropdownQuery(fieldType: string | undefined,
52
52
  } | {
53
53
  'id_.in': string[];
54
54
  } | null;
55
- export interface ObjectBomQtyError {
56
- field: string;
57
- message: string;
58
- }
59
55
  /**
60
56
  * 表单提交:校验所有物料消耗对象的数量 vs 需求数量
61
57
  * - 开了数量校验且需求数量有值才校验
62
58
  * - 人为指定:用 objectBom.entries_[0];否则用 bomEntries 中与对象物料匹配的明细
63
- * - 收集全部对象的 field/message 错误,无错误返回空数组
59
+ * - 失败返回与物料消耗表 submitValidate 同类的 field/message 结构
64
60
  */
65
61
  export declare function validateObjectBomQtyOnSubmit(opts: {
66
62
  formState: Record<string, any>;
67
63
  objectFieldList?: IMaterialConsumeObjectInfo[];
68
64
  modelFields: readonly FieldMeta[];
69
65
  formInstBom?: FormInstBomResponse | null;
70
- }): Promise<ObjectBomQtyError[]>;
66
+ }): Promise<{
67
+ field: string;
68
+ message: string;
69
+ } | null>;
71
70
  export {};
@@ -25,15 +25,8 @@ export interface ConsumeObjectSelectUpdatesOpts {
25
25
  /** 表单实例 BOM 信息,用于 BOM 模式下写入 bom_entry_id_ */
26
26
  formInstBom?: FormInstBomResponse | null;
27
27
  }
28
- interface ConsumeObjectFieldPaths {
29
- productPath?: string;
30
- materialNoPath?: string;
31
- /** bom_entry_id_ 子字段路径(bizType = 'bom_entry_id') */
32
- bomEntryIdPath?: string;
33
- }
34
28
  /** 提交前按当前产品值补齐所有物料消耗对象的 BOM 明细 ID。 */
35
29
  export declare function buildConsumeObjectBomSubmitUpdates(doc: ConsumeObjectDoc, formInstBom?: FormInstBomResponse | null): Record<string, unknown>;
36
- export declare function collectConsumeObjectPaths(doc: ConsumeObjectDoc, belongingObject: string): ConsumeObjectFieldPaths;
37
30
  /**
38
31
  * 消耗对象批次下拉:同组物料有值时按该物料版本过滤,替换 BOM versionIn。
39
32
  */
@@ -16,7 +16,6 @@ export declare function registryPanelSchemas(): {
16
16
  'material-consume-table.basic': import('../../..').PanelSchema;
17
17
  'material-balance-table.basic': import('../../..').PanelSchema;
18
18
  'material-requisition-table.basic': import('../../..').PanelSchema;
19
- 'material-substitution-table.basic': import('../../..').PanelSchema;
20
19
  'fixed-table.basic': import('../../..').PanelSchema;
21
20
  'check-table.basic': import('../../..').PanelSchema;
22
21
  'data-group.basic': {
@@ -1,13 +1,6 @@
1
- type __VLS_Props = {
2
- label?: string;
3
- plain?: boolean;
4
- };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
2
  click: () => any;
7
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
4
  onClick?: (() => any) | undefined;
9
- }>, {
10
- label: string;
11
- plain: boolean;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
13
6
  export default _default;
@@ -27,8 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
27
27
  "onUpdate:formSubModel"?: ((value?: number | undefined) => any) | undefined;
28
28
  "onUpdate:formSubFieldKey"?: ((value?: string | undefined) => any) | undefined;
29
29
  }>, {
30
- fixed: boolean;
31
30
  required: boolean;
31
+ fixed: boolean;
32
32
  treeData: FieldTreeNode[];
33
33
  leftTitle: string;
34
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1,7 +1,4 @@
1
1
  import { Doc } from '../../../../core';
2
- import { MessageRuleConfig } from './message-config/message-rule';
3
- import { InspectionDecisionRule } from '../../../../domain/document-rule';
4
- export type { DecisionRuleCondition, DecisionRuleField, DecisionRuleGroup, DecisionRuleRelation, DecisionRuleRightValue, DecisionRuleValueType, InspectionDecisionRule, } from '../../../../domain/document-rule';
5
2
  export type UnitConversionFieldKey = 'sourceUnit' | 'targetUnit';
6
3
  /** 字段映射行 */
7
4
  export interface RuleFieldMap {
@@ -37,9 +34,7 @@ export interface BaseRuleItem {
37
34
  fieldMaps?: RuleFieldMap[];
38
35
  }
39
36
  export interface DocumentRulesConfig {
40
- messageRuleConfig: MessageRuleConfig;
41
37
  unitConversionRules: BaseRuleItem[];
42
- inspectionDecisionRule: InspectionDecisionRule;
43
38
  }
44
39
  export type RulePanelRuleKind = 'barcodeParsing' | 'unitConversion';
45
40
  export type RulePanelModalMode = 'create' | 'edit';
@@ -1,11 +1,6 @@
1
1
  import { DocumentRulesConfig } from './types';
2
2
  export declare function useRulesConfig(): {
3
3
  formState: import('vue').Ref<{
4
- messageRuleConfig: {
5
- notifyTimes: string;
6
- noticeMessageTmplConfig: string;
7
- noticeRange: string;
8
- };
9
4
  unitConversionRules: {
10
5
  id: string;
11
6
  ruleId?: string | undefined;
@@ -27,18 +22,7 @@ export declare function useRulesConfig(): {
27
22
  required?: boolean | undefined;
28
23
  }[] | undefined;
29
24
  }[];
30
- inspectionDecisionRule: {
31
- dataRuleEnabled: boolean;
32
- dataRule: string;
33
- dataRuleConfig: string;
34
- prompt: string;
35
- };
36
25
  }, DocumentRulesConfig | {
37
- messageRuleConfig: {
38
- notifyTimes: string;
39
- noticeMessageTmplConfig: string;
40
- noticeRange: string;
41
- };
42
26
  unitConversionRules: {
43
27
  id: string;
44
28
  ruleId?: string | undefined;
@@ -60,11 +44,5 @@ export declare function useRulesConfig(): {
60
44
  required?: boolean | undefined;
61
45
  }[] | undefined;
62
46
  }[];
63
- inspectionDecisionRule: {
64
- dataRuleEnabled: boolean;
65
- dataRule: string;
66
- dataRuleConfig: string;
67
- prompt: string;
68
- };
69
47
  }>;
70
48
  };
@@ -9,8 +9,6 @@ type AutofillApplyOptions = {
9
9
  /** 仅写入指定子表行(插行场景) */
10
10
  rowIndexes?: number[];
11
11
  };
12
- /** 只解析目标路径,不执行来源取值或填充。 */
13
- export declare function getAutofillTargetPaths(autofillRules: AutofillRule[], opts?: AutofillApplyOptions): string[];
14
12
  export declare function applyAutofillRules(record: Record<string, unknown>, autofillRules: AutofillRule[], opts?: AutofillApplyOptions): Record<string, unknown>;
15
13
  /**
16
14
  * 子表插行 / 行初始化:从主表规则补默认值
@@ -16,9 +16,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
16
16
  "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
17
17
  onChange?: ((value?: string | undefined, node?: FieldTreeNodeType | undefined) => any) | undefined;
18
18
  }>, {
19
- placeholder: string;
20
19
  disabled: boolean;
21
20
  treeData: FieldTreeNodeType[];
21
+ placeholder: string;
22
22
  defaultExpanded: boolean;
23
23
  defaultExpandedValues: string[];
24
24
  groupOnlyExpand: boolean;
@@ -4,7 +4,6 @@ type __VLS_Props = {
4
4
  expr?: string;
5
5
  exprEcho?: string;
6
6
  formulaFieldOptions?: IdentifierGroupInterface[];
7
- functions?: any[];
8
7
  };
9
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
9
  "update:expr": (expr: string) => any;
@@ -1,7 +1,4 @@
1
1
  type GetAppInfoMethod = () => Promise<any>;
2
- type GetBusinessSettingMethod = () => Promise<{
3
- enableSopDocApprove?: number | boolean;
4
- }>;
5
2
  type ParseFileResult = {
6
3
  data?: string;
7
4
  } | string;
@@ -16,7 +13,6 @@ type FormulaIdentify = (expr: string) => string[];
16
13
  type FormulaCalculate = (expr: string, values: Record<string, any>) => Promise<any>;
17
14
  interface ServiceUtilHandlers {
18
15
  getAppInfo?: GetAppInfoMethod;
19
- getBusinessSetting?: GetBusinessSettingMethod;
20
16
  parseFile?: ParseFileMethod;
21
17
  uploadFile?: UploadFileMethod;
22
18
  formulaIdentify?: FormulaIdentify;
@@ -25,7 +21,6 @@ interface ServiceUtilHandlers {
25
21
  declare class ServiceUtil {
26
22
  private static instance;
27
23
  private _getAppInfo?;
28
- private _getBusinessSetting?;
29
24
  private _parseFileImpl?;
30
25
  private _uploadFileImpl?;
31
26
  private _formulaIdentifyImpl?;
@@ -44,10 +39,6 @@ declare class ServiceUtil {
44
39
  * 获取应用信息
45
40
  */
46
41
  getAppInfo(): Promise<any>;
47
- /** 由宿主加载业务配置,未注入时保持原有查询行为。 */
48
- getBusinessSetting(): Promise<{
49
- enableSopDocApprove?: number | boolean;
50
- }>;
51
42
  /**
52
43
  * 解析文件
53
44
  * @param file - 文件对象