@gct-paas/word 0.1.74-beta.33 → 0.1.74-beta.35

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.
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4
4
  default: boolean;
5
5
  };
6
6
  wrapStyle: {
7
- type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
7
+ type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
8
8
  default: string;
9
9
  };
10
10
  wrapClass: {
@@ -46,7 +46,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
46
46
  default: boolean;
47
47
  };
48
48
  wrapStyle: {
49
- type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
49
+ type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
50
50
  default: string;
51
51
  };
52
52
  wrapClass: {
@@ -0,0 +1,19 @@
1
+ import { Doc } from '../..';
2
+ import { DataEnricherRegistration } from '..';
3
+ import { FIELD_TYPE } from '../../../domain/field/field-type';
4
+ export interface OperationReceiveQtyWidgetTarget {
5
+ valuePath: string;
6
+ }
7
+ type OperationReceiveQtyWidgetInstance = {
8
+ widgetMeta?: {
9
+ field?: {
10
+ fieldType?: FIELD_TYPE;
11
+ };
12
+ };
13
+ valuePath?: string;
14
+ };
15
+ /** 从单个 widget 实例解析工序接收数量 enrich 目标 */
16
+ export declare function tryCollectOperationReceiveQtyTarget(instance: OperationReceiveQtyWidgetInstance): OperationReceiveQtyWidgetTarget | null;
17
+ /** 工序接收数量:params 取 containerId / routingOperationId,空值时拉取 qty_current_ */
18
+ export declare function createOperationReceiveQtyEnricher(doc: Doc, targets: OperationReceiveQtyWidgetTarget[]): DataEnricherRegistration;
19
+ export {};