@gct-paas/word 0.1.74-beta.41 → 0.1.74-beta.43

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.
@@ -24,12 +24,14 @@ export declare function resolveScanParsedValue<T extends Record<string, unknown>
24
24
  export declare function resolveScanFillData(input: ScanModalInput): Record<string, unknown>;
25
25
  /** 取扫码数量调整方向,默认 add */
26
26
  export declare function resolveScanAdjustType(input: ScanModalInput): ScanAdjustType;
27
+ /** 出入库空行:物料、批次都没值 */
28
+ export declare function isProductBatchEmptyRow(row: Record<string, unknown>): boolean;
27
29
  /**
28
30
  * 扫码入行:优先回填首个空壳占位行,否则在活跃区末尾新增。
29
31
  * 避免版面默认空行时 insertAt 导致「第一行空、第二行有数据」。
30
32
  * 回填时空壳行按字段合并,保留 front_row_key_ / group_ 等元数据。
31
33
  */
32
- export declare function appendOrFillScanRow(doc: Doc, subFieldKey: string, row: Record<string, unknown>): number;
34
+ export declare function appendOrFillScanRow(doc: Doc, subFieldKey: string, row: Record<string, unknown>, isEmptyRow?: (item: Record<string, unknown>) => boolean): number;
33
35
  /** 将 widget 上的条码解析规则 id 字符串转为配置对象 */
34
36
  export declare function toParseRuleConfig(value?: string): ParseRuleProps | undefined;
35
37
  /**