@gct-paas/word 0.2.7-beta.4 → 0.2.8

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 (160) hide show
  1. package/dist/assets/svgs/table/index.d.ts +0 -1
  2. package/dist/base/calendar/src/calendar.vue.d.ts +1 -1
  3. package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +0 -6
  4. package/dist/base/input/src/input-number.vue.d.ts +0 -1
  5. package/dist/base/message/src/Message.vue.d.ts +0 -2
  6. package/dist/base/message/src/message.d.ts +0 -2
  7. package/dist/base/modal/src/modal.type.d.ts +1 -3
  8. package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +1 -1
  9. package/dist/base/scrollbar/src/scrollbar.vue.d.ts +1 -1
  10. package/dist/base/select/src/basic-select.vue.d.ts +4 -16
  11. package/dist/base/utils/image-size-util.d.ts +7 -11
  12. package/dist/capabilities/model-field-runtime/types/field.d.ts +0 -4
  13. package/dist/core/command/commands/DeleteCol.d.ts +1 -1
  14. package/dist/core/command/commands/DeleteRow.d.ts +1 -1
  15. package/dist/core/command/commands/InsertTable.d.ts +1 -0
  16. package/dist/core/command/types.d.ts +0 -21
  17. package/dist/core/data/DataManager.d.ts +1 -6
  18. package/dist/core/data/enrichers/companion-enricher.d.ts +2 -0
  19. package/dist/core/data/types/runtime-config.d.ts +0 -11
  20. package/dist/core/event/handlers/IMEHandler.d.ts +0 -1
  21. package/dist/core/index.d.ts +0 -2
  22. package/dist/core/model/document/WtblPr.d.ts +0 -2
  23. package/dist/core/model/document/Wtc.d.ts +0 -2
  24. package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
  25. package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +1 -4
  26. package/dist/core/model/logic/subtable/shared/dataGroupSlotCount.d.ts +1 -37
  27. package/dist/core/model/overlays/Wlayout.d.ts +0 -4
  28. package/dist/core/view/Doc.d.ts +0 -5
  29. package/dist/core/view/TableCell.d.ts +0 -3
  30. package/dist/core/widget/types.d.ts +2 -2
  31. package/dist/domain/active/active-types.d.ts +1 -3
  32. package/dist/domain/constants/enum/index.d.ts +2 -0
  33. package/dist/domain/constants/enum/product.d.ts +9 -0
  34. package/dist/domain/constants/enum/production-identification.d.ts +19 -0
  35. package/dist/domain/field/field-props-schema-type.d.ts +1 -1
  36. package/dist/domain/field/field-type.d.ts +0 -58
  37. package/dist/domain/field/form-value.d.ts +0 -6
  38. package/dist/domain/field/material-lot-validation.d.ts +2 -0
  39. package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  40. package/dist/domain/table/business/material/types.d.ts +1 -2
  41. package/dist/domain/table/design/ribbon-options.d.ts +0 -2
  42. package/dist/domain/table/design/sub-model-matcher.d.ts +0 -2
  43. package/dist/domain/table/index.d.ts +0 -3
  44. package/dist/domain/table/registry.d.ts +2 -5
  45. package/dist/domain/table/runtime/table-runtime.d.ts +0 -3
  46. package/dist/domain/table/types.d.ts +3 -13
  47. package/dist/index.es.js +9731 -31467
  48. package/dist/runtime/canvas/doc-layout.vue.d.ts +2 -1
  49. package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +2 -10
  50. package/dist/runtime/canvas/table/render/material-consume/material-consume-group-merge.d.ts +0 -1
  51. package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +0 -6
  52. package/dist/runtime/canvas/table/shared/table-lines.vue.d.ts +0 -1
  53. package/dist/runtime/interface/computed.d.ts +1 -1
  54. package/dist/runtime/renderer/dialogs/device-scan/submit-device-scan.d.ts +0 -3
  55. package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +1 -54
  56. package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +0 -1
  57. package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +0 -1
  58. package/dist/runtime/renderer/dropdowns/components/tables/composables/useSelectTable.d.ts +0 -2
  59. package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -2
  60. package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +4 -4
  61. package/dist/runtime/renderer/dropdowns/factories/dropdown-factory.d.ts +5 -1
  62. package/dist/runtime/validation/layout.d.ts +0 -20
  63. package/dist/runtime/validation/useFormValidator.d.ts +0 -4
  64. package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +0 -1
  65. package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +0 -5
  66. package/dist/sdk/engine/index.d.ts +1 -3
  67. package/dist/sdk/setup.d.ts +0 -6
  68. package/dist/sdk/types/index.d.ts +0 -6
  69. package/dist/sdk/vue/index.d.ts +0 -6
  70. package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +3 -3
  71. package/dist/suites/edhr/panel-schema/index.d.ts +0 -1
  72. package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +3 -8
  73. package/dist/suites/edhr/panel-schema/rule/types.d.ts +0 -3
  74. package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +0 -12
  75. package/dist/suites/shared/panel/modules/field-formula-module/field-formula-module.vue.d.ts +0 -1
  76. package/dist/utils/adapters/ServiceUtil.d.ts +0 -9
  77. package/dist/word.css +1317 -1704
  78. package/package.json +4 -4
  79. package/dist/core/command/base/FloatingFieldCommand.d.ts +0 -9
  80. package/dist/core/command/commands/InsertFloatingField.d.ts +0 -9
  81. package/dist/core/command/commands/MoveFloatingField.d.ts +0 -10
  82. package/dist/core/command/commands/RemoveFloatingField.d.ts +0 -12
  83. package/dist/core/command/commands/SetTableBorder.d.ts +0 -14
  84. package/dist/core/data/enrichers/udi-enricher.d.ts +0 -23
  85. package/dist/core/data/formula/business-functions.d.ts +0 -10
  86. package/dist/core/data/formula/formula-params-cache.d.ts +0 -15
  87. package/dist/core/model/types/table-border.d.ts +0 -18
  88. package/dist/core/runtime/DocumentRuntimeManager.d.ts +0 -34
  89. package/dist/core/table/border-selection.d.ts +0 -9
  90. package/dist/core/table/borders.d.ts +0 -42
  91. package/dist/domain/document-rule/index.d.ts +0 -3
  92. package/dist/domain/document-rule/runtime/decision-rule-evaluator.d.ts +0 -13
  93. package/dist/domain/document-rule/runtime/document-rule-runtime.d.ts +0 -19
  94. package/dist/domain/document-rule/types.d.ts +0 -50
  95. package/dist/domain/field/seal/seal-binding.d.ts +0 -19
  96. package/dist/domain/field/seal/seal-display.d.ts +0 -32
  97. package/dist/domain/field/seal/seal-value.d.ts +0 -39
  98. package/dist/domain/table/business/device/maintenance/index.d.ts +0 -1
  99. package/dist/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
  100. package/dist/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
  101. package/dist/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
  102. package/dist/domain/table/business/device/point-inspection/index.d.ts +0 -1
  103. package/dist/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
  104. package/dist/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
  105. package/dist/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
  106. package/dist/domain/table/business/device/runtime/device-signature-lock-engine.d.ts +0 -13
  107. package/dist/domain/table/business/device/signature-lock.d.ts +0 -26
  108. package/dist/domain/table/business/material/material-consume/profile/fields.d.ts +0 -2
  109. package/dist/domain/table/business/material/material-substitution/actions/scan.d.ts +0 -3
  110. package/dist/domain/table/business/material/material-substitution/index.d.ts +0 -3
  111. package/dist/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -41
  112. package/dist/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
  113. package/dist/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
  114. package/dist/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
  115. package/dist/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -4
  116. package/dist/domain/table/design/hooks/on-bounded-default-props.d.ts +0 -3
  117. package/dist/domain/table/design/validate-nested-table-insert.d.ts +0 -3
  118. package/dist/domain/table/runtime/option-fill-updates.d.ts +0 -6
  119. package/dist/runtime/canvas/__common__/context-menu/resolve-table-context.d.ts +0 -10
  120. package/dist/runtime/canvas/node/seal-overlay.vue.d.ts +0 -6
  121. package/dist/runtime/canvas/print-capture.d.ts +0 -12
  122. package/dist/runtime/canvas/table/table-presentation.d.ts +0 -16
  123. package/dist/runtime/canvas/table/utils/paint-table-borders.d.ts +0 -4
  124. package/dist/runtime/designer/ribbon/hooks/useDhrEdition.d.ts +0 -7
  125. package/dist/runtime/designer/ribbon/svg/table-border-icon.vue.d.ts +0 -6
  126. package/dist/runtime/interface/sterilization-date.d.ts +0 -9
  127. package/dist/runtime/renderer/dialogs/document-rule-prompt/document-rule-prompt.vue.d.ts +0 -5
  128. package/dist/runtime/renderer/dialogs/document-rule-prompt/open-document-rule-prompt.d.ts +0 -2
  129. package/dist/runtime/renderer/dialogs/seal/open-seal-flow.d.ts +0 -3
  130. package/dist/runtime/renderer/dialogs/seal/seal-api.d.ts +0 -17
  131. package/dist/runtime/renderer/dialogs/seal/seal-auth-dialog.vue.d.ts +0 -60
  132. package/dist/runtime/renderer/dialogs/seal/seal-confirm-dialog.vue.d.ts +0 -9
  133. package/dist/runtime/renderer/dialogs/seal/seal-runtime.d.ts +0 -30
  134. package/dist/runtime/renderer/dialogs/seal/types.d.ts +0 -24
  135. package/dist/runtime/renderer/dialogs/seal/use-seal-confirm.d.ts +0 -27
  136. package/dist/runtime/renderer/dialogs/signature/authentication/signature-authentication.vue.d.ts +0 -27
  137. package/dist/runtime/renderer/dialogs/signature/authentication/types.d.ts +0 -30
  138. package/dist/runtime/renderer/dialogs/signature/authentication/useSignatureAuthentication.d.ts +0 -29
  139. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/material-consume-history.d.ts +0 -17
  140. package/dist/runtime/renderer/dropdowns/components/tables/composables/useSearchEnter.d.ts +0 -18
  141. package/dist/sdk/doc-runtime/composables/useDocumentRulePrompt.d.ts +0 -3
  142. package/dist/sdk/doc-runtime/queries/template-placed-fields.d.ts +0 -7
  143. package/dist/sdk/types/placed-form-field.d.ts +0 -6
  144. package/dist/suites/edhr/component/gct-seal-render.vue.d.ts +0 -7
  145. package/dist/suites/edhr/manifest/field/business/inspection-module-qty-manifest.d.ts +0 -2
  146. package/dist/suites/edhr/manifest/field/business/udi-manifest.d.ts +0 -2
  147. package/dist/suites/edhr/manifest/field/logic/seal-manifest.d.ts +0 -2
  148. package/dist/suites/edhr/manifest/field/object-type/device-parameter-object-manifest.d.ts +0 -2
  149. package/dist/suites/edhr/manifest/field/object-type/inspection-parameter-object-manifest.d.ts +0 -2
  150. package/dist/suites/edhr/manifest/field/object-type/process-parameter-object-manifest.d.ts +0 -2
  151. package/dist/suites/edhr/manifest/field/trace/inspection-container-manifest.d.ts +0 -2
  152. package/dist/suites/edhr/manifest/field/trace/sterilization-date-manifest.d.ts +0 -2
  153. package/dist/suites/edhr/panel-schema/material-substitution-table/material-substitution-table.basic.d.ts +0 -1
  154. package/dist/suites/edhr/panel-schema/rule/components/decision-rule-condition.vue.d.ts +0 -19
  155. package/dist/suites/edhr/panel-schema/rule/components/decision-rule-group.vue.d.ts +0 -16
  156. package/dist/suites/edhr/panel-schema/rule/modals/inspection-decision-modal.vue.d.ts +0 -11
  157. package/dist/suites/edhr/panel-schema/rule/modals/open-inspection-decision-modal.d.ts +0 -8
  158. package/dist/suites/edhr/panel-schema/rule/utils/decision-rule.d.ts +0 -34
  159. package/dist/suites/shared/panel/utils/default-value-visibility.d.ts +0 -3
  160. package/dist/utils/pdf/collect-seal-draw-ops.d.ts +0 -4
@@ -1,11 +1,12 @@
1
1
  import { Ref } from 'vue';
2
2
  import { Page } from '../../core';
3
+ import { PaperItem } from '../../utils/composables/usePagesToPdf';
3
4
  type __VLS_Props = {
4
5
  pages: Array<Page>;
5
6
  scrollRef: HTMLElement | null;
6
7
  };
7
8
  /** 获取页面的 dataURL */
8
- declare function getPagesDataURL(): Record<string, import('../../utils/composables/usePagesToPdf').PaperItem>;
9
+ declare function getPagesDataURL(): Record<string, PaperItem>;
9
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
10
11
  stageRef: Ref<any, any>;
11
12
  contentLayerRef: Ref<any, any>;
@@ -31,8 +31,6 @@ export declare class BomEntryValidator {
31
31
  mainMaterialNo: string;
32
32
  /** 物料消耗模式 */
33
33
  noBomMode: boolean;
34
- /** 自定义需求数量,由表格行手动填写 */
35
- isCustomRequiredQty: boolean;
36
34
  /** 该明细使用到的产品的id集合 */
37
35
  productIds: string[];
38
36
  /** 物料和code的映射 */
@@ -55,9 +53,7 @@ export declare class BomEntryValidator {
55
53
  /** 表单实例的批次号 */
56
54
  mainMaterialNo: string,
57
55
  /** 物料消耗模式 */
58
- noBomMode: boolean,
59
- /** 自定义需求数量,由表格行手动填写 */
60
- isCustomRequiredQty?: boolean);
56
+ noBomMode: boolean);
61
57
  /**
62
58
  * 翻译物料的code
63
59
  * @param productId
@@ -146,8 +142,6 @@ export declare class BomEntriesValidator {
146
142
  mainMaterialNo: string;
147
143
  /** 物料消耗模式 */
148
144
  noBomMode: boolean;
149
- /** 需求数量由表格行手动填写 */
150
- isCustomRequiredQty: boolean;
151
145
  bomEntryValidators: BomEntryValidator[];
152
146
  constructor(entries: IBomEntry[],
153
147
  /** 是否启用顺序投料 */
@@ -159,9 +153,7 @@ export declare class BomEntriesValidator {
159
153
  /** 表单实例的批次号 */
160
154
  mainMaterialNo: string,
161
155
  /** 物料消耗模式 */
162
- noBomMode: boolean,
163
- /** 需求数量由表格行手动填写 */
164
- isCustomRequiredQty?: boolean);
156
+ noBomMode: boolean);
165
157
  /** 当前批次/生产数量 */
166
158
  get materialNoNum(): number;
167
159
  /**
@@ -24,7 +24,6 @@ export declare function withGroupSerialNumber(cell: Row['cells'][number], groupO
24
24
  height: number;
25
25
  mergeFromId?: string;
26
26
  backgroundColor?: string;
27
- borderEdges?: import('../../../../../core/model/types/table-border').ResolvedCellBorders;
28
27
  isNested: boolean;
29
28
  pl: number;
30
29
  pr: number;
@@ -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
  /**
@@ -6,7 +6,6 @@ type __VLS_Props = {
6
6
  rows: Row[];
7
7
  tableWidth: number;
8
8
  tableHeight: number;
9
- showGuides?: boolean;
10
9
  };
11
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
11
  export default _default;
@@ -38,4 +38,4 @@ export declare function fetchAutofillSource(field: FieldDataBindingMeta, context
38
38
  /** 默认值-数据填充 */
39
39
  export declare function loadDefaultValueByAutofillRules(instances: any[], autofillRules: any[], field: FieldDataBindingMeta, context: Record<string, unknown>, autofillEnabled?: boolean, rawData?: Record<string, unknown>): Promise<Record<string, unknown>>;
40
40
  /** 选择值-数据填充 */
41
- export declare function loadDataValuesByAutofillRules(record: Record<string, unknown> | null | undefined, autofillRules: any[], sourceValuePath: string, autofillEnabled?: boolean, doc?: Doc): Record<string, unknown>;
41
+ export declare function loadDataValuesByAutofillRules(record: Record<string, unknown>, autofillRules: any[], sourceValuePath: string, autofillEnabled?: boolean, doc?: Doc): Record<string, unknown>;
@@ -1,6 +1,5 @@
1
1
  import { FIELD_TYPE } from '../../../../domain/field/field-type';
2
2
  import { ParseRules } from '../../../../suites/shared/panel/config/editor/qrcode-parse-editor/types';
3
- import { ParseRuleConfig } from '../../../../suites/shared/panel/config/editor/qrcode-parse-editor/utils';
4
3
  export type DeviceScanFieldInfo = {
5
4
  key: string;
6
5
  modelKey: string;
@@ -22,8 +21,6 @@ export type DeviceScanSubmitResult = {
22
21
  ok: false;
23
22
  message: string;
24
23
  };
25
- export declare function getRuleCodeByFieldType(parsed: Record<string, any>, config: ParseRuleConfig | undefined, fieldType?: FIELD_TYPE): string | undefined;
26
- export declare function appendFillMapPayload(payload: Record<string, any>, parsed: Record<string, any>, parseRules: ParseRules | undefined, runtimeValuePath: string): void;
27
24
  /** 解析条码、校验设备编码、查询设备并生成写入 payload */
28
25
  export declare function submitDeviceScan(params: DeviceScanSubmitParams): Promise<DeviceScanSubmitResult>;
29
26
  export declare function showDeviceScanError(message: string): void;
@@ -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: {};
@@ -3,8 +3,6 @@ import { Ref, ComputedRef } from 'vue';
3
3
  * Fetcher 返回结果类型
4
4
  */
5
5
  type FetcherResult = {
6
- /** 请求已被新查询取代,禁止回填。 */
7
- stale?: boolean;
8
6
  /** 展示的数据 table 或 tree */
9
7
  data: any[];
10
8
  /** 总页数 */
@@ -4,12 +4,11 @@ export interface TableDropdownSearchFilters {
4
4
  deviceTypeId?: string;
5
5
  }
6
6
  export declare function useTableDropdown(props: any, searchFilters?: MaybeRef<TableDropdownSearchFilters | undefined>): {
7
- fetcher: ({ keyword, pageNo, pageSize, deviceTypeId, exactCode, }: {
7
+ fetcher: ({ keyword, pageNo, pageSize, deviceTypeId, }: {
8
8
  keyword?: string;
9
9
  pageNo: number;
10
10
  pageSize: number;
11
11
  deviceTypeId?: string;
12
- exactCode?: string;
13
12
  }) => Promise<FetcherResult>;
14
13
  columns: import('vue').ComputedRef<any>;
15
14
  fieldInfo: import('vue').ComputedRef<import('../../../../../../capabilities/model-field-runtime').FieldMeta | null>;
@@ -16,7 +16,7 @@ type __VLS_Props = {
16
16
  hasNextPage: boolean;
17
17
  };
18
18
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
19
- search: (event: KeyboardEvent) => any;
19
+ search: () => any;
20
20
  clear: () => any;
21
21
  "load-more": () => any;
22
22
  "change-select": (row: any) => any;
@@ -24,7 +24,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
24
24
  "manual-input": () => any;
25
25
  "device-type-change": (value?: string | undefined) => any;
26
26
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
- onSearch?: ((event: KeyboardEvent) => any) | undefined;
27
+ onSearch?: (() => any) | undefined;
28
28
  onClear?: (() => any) | undefined;
29
29
  "onLoad-more"?: (() => any) | undefined;
30
30
  "onChange-select"?: ((row: any) => any) | undefined;
@@ -255,13 +255,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
255
255
  } | number) => void;
256
256
  setScrollTop: (top: number) => void;
257
257
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
258
+ tag: string;
258
259
  noresize: boolean;
259
260
  native: boolean;
260
261
  wrapStyle: string | Record<string, any> | unknown[];
261
262
  wrapClass: string | unknown[];
262
263
  viewClass: string | unknown[];
263
264
  viewStyle: string | unknown[];
264
- tag: string;
265
265
  }, true, {}, {}, {
266
266
  Bar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
267
267
  vertical: BooleanConstructor;
@@ -326,13 +326,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
326
326
  } | number) => void;
327
327
  setScrollTop: (top: number) => void;
328
328
  }, {}, {}, {}, {
329
+ tag: string;
329
330
  noresize: boolean;
330
331
  native: boolean;
331
332
  wrapStyle: string | Record<string, any> | unknown[];
332
333
  wrapClass: string | unknown[];
333
334
  viewClass: string | unknown[];
334
335
  viewStyle: string | unknown[];
335
- tag: string;
336
336
  }> | null;
337
337
  }, HTMLDivElement>;
338
338
  export default _default;
@@ -22,4 +22,8 @@ export interface DropdownOverlayActionConfig {
22
22
  /**
23
23
  * 统一获取 overlay action 配置(icon + 行为 + 对应 body)
24
24
  */
25
- export declare function getDropdownOverlayActionConfig(type: ExternalComponentType): DropdownOverlayActionConfig;
25
+ export declare function getDropdownOverlayActionConfig(type: ExternalComponentType, options?: {
26
+ enableScan?: boolean;
27
+ hasParseRules?: boolean;
28
+ scanMode?: boolean;
29
+ }): DropdownOverlayActionConfig;
@@ -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,兼容子表行) */
@@ -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,7 +27,6 @@ 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
  payload: IDocPayload;
33
32
  materialNo: string;
@@ -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,7 +12,5 @@ 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
- export type { TableBorderPreset } from '../../core/model/types/table-border';
@@ -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 插件列表 */
@@ -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 */
@@ -212,8 +210,6 @@ export interface DocRuntimeMeta extends OnlineFormInstanceResponse, OnlineFormTm
212
210
  * useWord 返回的运行时对象(SDK 公共面)
213
211
  */
214
212
  export interface WordRuntime {
215
- /** 填报实例的数源管理器,支持 query(key) 和读取 states。 */
216
- dataSourceManager: ShallowRef<DataSourceManager | undefined>;
217
213
  /**
218
214
  * 对外暴露的文档控制器引用。
219
215
  *
@@ -258,8 +254,6 @@ export interface WordPrintCaptureOptions {
258
254
  }
259
255
  /** useWord 配置选项 */
260
256
  export interface UseWordOptions {
261
- /** 表单、实体、业务数源等宿主查询实现。 */
262
- dataSourceAdapters?: DataSourceManagerOptions['adapters'];
263
257
  /** 工厂类型:template(模板) | instance(实例) */
264
258
  factoryType: 'template' | 'instance';
265
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;
@@ -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,11 +1,6 @@
1
- type __VLS_Props = {
2
- label?: string;
3
- };
4
- 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, {} & {
5
2
  click: () => any;
6
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
7
4
  onClick?: (() => any) | undefined;
8
- }>, {
9
- label: string;
10
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
11
6
  export default _default;
@@ -1,6 +1,4 @@
1
1
  import { Doc } from '../../../../core';
2
- import { InspectionDecisionRule } from '../../../../domain/document-rule';
3
- export type { DecisionRuleCondition, DecisionRuleField, DecisionRuleGroup, DecisionRuleRelation, DecisionRuleRightValue, DecisionRuleValueType, InspectionDecisionRule, } from '../../../../domain/document-rule';
4
2
  export type UnitConversionFieldKey = 'sourceUnit' | 'targetUnit';
5
3
  /** 字段映射行 */
6
4
  export interface RuleFieldMap {
@@ -37,7 +35,6 @@ export interface BaseRuleItem {
37
35
  }
38
36
  export interface DocumentRulesConfig {
39
37
  unitConversionRules: BaseRuleItem[];
40
- inspectionDecisionRule: InspectionDecisionRule;
41
38
  }
42
39
  export type RulePanelRuleKind = 'barcodeParsing' | 'unitConversion';
43
40
  export type RulePanelModalMode = 'create' | 'edit';
@@ -22,12 +22,6 @@ export declare function useRulesConfig(): {
22
22
  required?: boolean | undefined;
23
23
  }[] | undefined;
24
24
  }[];
25
- inspectionDecisionRule: {
26
- dataRuleEnabled: boolean;
27
- dataRule: string;
28
- dataRuleConfig: string;
29
- prompt: string;
30
- };
31
25
  }, DocumentRulesConfig | {
32
26
  unitConversionRules: {
33
27
  id: string;
@@ -50,11 +44,5 @@ export declare function useRulesConfig(): {
50
44
  required?: boolean | undefined;
51
45
  }[] | undefined;
52
46
  }[];
53
- inspectionDecisionRule: {
54
- dataRuleEnabled: boolean;
55
- dataRule: string;
56
- dataRuleConfig: string;
57
- prompt: string;
58
- };
59
47
  }>;
60
48
  };
@@ -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 - 文件对象