@gct-paas/word 0.2.7 → 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.
@@ -17,8 +17,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
17
17
  "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
18
18
  onChange?: ((value: Date | null) => any) | undefined;
19
19
  }>, {
20
- showClearBtn: boolean;
21
20
  mode: "datetime" | "date";
21
+ showClearBtn: boolean;
22
22
  weekStart: number;
23
23
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
24
  export default _default;
@@ -24,8 +24,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
24
24
  }>, {
25
25
  modelCategory: string;
26
26
  disabled: boolean;
27
- pageSize: number;
28
27
  placeholder: string;
28
+ pageSize: number;
29
29
  popperWidth: number;
30
30
  allowClear: boolean;
31
31
  disabledParent: boolean;
@@ -67,13 +67,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
67
67
  default: string;
68
68
  };
69
69
  }>> & Readonly<{}>, {
70
+ tag: string;
70
71
  noresize: boolean;
71
72
  native: boolean;
72
73
  wrapStyle: string | Record<string, any> | unknown[];
73
74
  wrapClass: string | unknown[];
74
75
  viewClass: string | unknown[];
75
76
  viewStyle: string | unknown[];
76
- tag: string;
77
77
  }, {}, {
78
78
  Bar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
79
79
  vertical: BooleanConstructor;
@@ -11,6 +11,8 @@ type CreateCompanionEnricherConfig = {
11
11
  getCompanionPath: (valuePath: string) => string;
12
12
  buildCacheKey: (path: string, value: unknown, doc: Doc) => Record<string, unknown>;
13
13
  resolveCompanion: (path: string, value: unknown, doc: Doc, cacheKey: Record<string, unknown>) => Promise<unknown>;
14
+ /** 将查询结果转换为字段更新;默认只写 companion 字段。 */
15
+ buildResolvedUpdates?: (resolved: unknown, path: string, value: unknown, companionPath: string) => Record<string, unknown> | void;
14
16
  /** hydrate 且 value 未变时保留已有 companion */
15
17
  preserveOnHydrate?: boolean;
16
18
  /** value 非空且 companion 已有值时跳过(如下拉同次写入 id) */
@@ -5,3 +5,5 @@ export * from './image';
5
5
  export * from './widget';
6
6
  export * from './device';
7
7
  export * from './lot';
8
+ export * from './product';
9
+ export * from './production-identification';
@@ -0,0 +1,9 @@
1
+ /** 产品类型(product_type_) */
2
+ export declare enum ProductTypeEnum {
3
+ /** 原材料 */
4
+ RAW_MATERIAL = "rawMaterial",
5
+ /** 半成品 */
6
+ SEMI_FINISHED_PRODUCT = "semiFinishedProduct",
7
+ /** 产成品 */
8
+ FINISHED_PRODUCT = "finishedProduct"
9
+ }
@@ -0,0 +1,19 @@
1
+ /** 生产标识类型(production_identification_type_) */
2
+ export declare enum ProductionIdentificationTypeEnum {
3
+ /** 物料批 */
4
+ MATERIAL = "MATERIAL",
5
+ /** 生产批次 */
6
+ LOT = "LOT",
7
+ /** 生产序列号 */
8
+ SN = "SN",
9
+ /** 灭菌批 */
10
+ STERILIZATION = "STERILIZATION",
11
+ /** 检验批 */
12
+ INSPECTION_CONTAINER = "INSPECTION_CONTAINER",
13
+ /** 旧检验批取值 */
14
+ LEGACY_INSPECTION = "inspection",
15
+ /** 包装箱 */
16
+ PACK_BOX = "PACK_BOX",
17
+ /** 医疗器械唯一标识 */
18
+ UDI = "UDI"
19
+ }
@@ -0,0 +1,2 @@
1
+ /** 查询到的生产标识能否作为物料批使用;返回非空文案表示不能使用。 */
2
+ export declare function getInvalidMaterialLotReason(record: Record<string, unknown>, keyword: string): string | null;