@gct-paas/word 0.1.74-beta.24 → 0.1.74-beta.25
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.
- package/dist/domain/table/business/shared/scan-action.d.ts +9 -1
- package/dist/index.es.js +744 -606
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/business-scan-menu.d.ts +4 -1
- package/dist/runtime/renderer/dropdowns/components/tables/utils/quick-search.d.ts +4 -3
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields-editor.vue.d.ts +3 -3
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +6 -0
- package/dist/suites/shared/panel/config/editor/quick-search-editor/quick-search.util.d.ts +1 -0
- package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
- package/dist/word.css +11 -11
- package/package.json +1 -1
|
@@ -24,9 +24,17 @@ 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
|
+
* 扫码入行:优先回填首个空壳占位行,否则在活跃区末尾新增。
|
|
29
|
+
* 避免版面默认空行时 insertAt 导致「第一行空、第二行有数据」。
|
|
30
|
+
*/
|
|
31
|
+
export declare function appendOrFillScanRow(doc: Doc, subFieldKey: string, row: Record<string, unknown>): number;
|
|
27
32
|
/** 将 widget 上的条码解析规则 id 字符串转为配置对象 */
|
|
28
33
|
export declare function toParseRuleConfig(value?: string): ParseRuleProps | undefined;
|
|
29
34
|
/**
|
|
30
35
|
* 业务子表统一扫码入口:同一个 CommonScanModal,差异只在 onScan 业务处理
|
|
31
36
|
*/
|
|
32
|
-
export declare function openBusinessTableScan(ctx: BusinessScanContext, onScan: BusinessScanHandler
|
|
37
|
+
export declare function openBusinessTableScan(ctx: BusinessScanContext, onScan: BusinessScanHandler, formFieldOptions?: {
|
|
38
|
+
label: string;
|
|
39
|
+
value: string;
|
|
40
|
+
}[]): Promise<void>;
|