@gct-paas/word 0.1.52-beta.6 → 0.1.52-beta.7
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/core/data/DataManager.d.ts +5 -0
- package/dist/core/utils/expand.d.ts +1 -1
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/scan-config.d.ts +7 -0
- package/dist/domain/table/design/sub-model-matcher.d.ts +5 -0
- package/dist/index.es.js +1886 -1036
- package/dist/runtime/designer/ribbon/components/sub-table-form-modal.vue.d.ts +1 -0
- package/dist/sdk/doc-runtime/check-table/index.d.ts +2 -2
- package/dist/sdk/doc-runtime/check-table/map-check-table-item-infos.d.ts +2 -6
- package/dist/sdk/doc-runtime/check-table/resolve-check-table-item-infos.d.ts +5 -5
- package/dist/sdk/doc-runtime/check-table/types.d.ts +1 -1
- package/dist/suites/edhr/panel-schema/check-table/CheckTablePanel.vue.d.ts +8 -0
- package/dist/suites/edhr/panel-schema/check-table/add-ds-btn.vue.d.ts +14 -0
- package/dist/suites/edhr/panel-schema/check-table/types.d.ts +20 -0
- package/dist/utils/TriggerUtil.d.ts +1 -1
- package/dist/word.css +35 -6
- package/package.json +2 -2
|
@@ -123,6 +123,11 @@ export declare class DataManager {
|
|
|
123
123
|
getHref<T = string>(path: JsonPath): T | null | undefined;
|
|
124
124
|
/** 子表数组路径下未软删行数 */
|
|
125
125
|
countActiveSubtableRows(arrayPath: JsonPath): number;
|
|
126
|
+
/**
|
|
127
|
+
* 统计 defaults 中按 `$.subFieldKey[i].*` 展开的检验项行数。
|
|
128
|
+
* 检验表纵向轴配置只进 defaults,rawData 可能尚未物化多行。
|
|
129
|
+
*/
|
|
130
|
+
countDefaultsIndexedRows(subFieldKey: string): number;
|
|
126
131
|
/** 版面可见行下标 → rawData 数组实际下标 */
|
|
127
132
|
resolveSubtableVisibleIndex(arrayPath: JsonPath, visibleIndex: number): number;
|
|
128
133
|
private assignField;
|
|
@@ -124,7 +124,7 @@ export declare class TableExpander {
|
|
|
124
124
|
*/
|
|
125
125
|
private applyCheckTableYDataIndex;
|
|
126
126
|
private resolveCheckTableYDataIndex;
|
|
127
|
-
/**
|
|
127
|
+
/** 检验表主体数据条数 */
|
|
128
128
|
private getCheckTableDataCount;
|
|
129
129
|
/** 单条数据占用的主体模板行数(接口预扩行后由「扩后行数 / 数据条数」反推) */
|
|
130
130
|
private getCheckTableTemplateBodyRowStride;
|
|
@@ -13,6 +13,13 @@ export interface WarehouseInventoryScanInput {
|
|
|
13
13
|
type: WarehouseInventoryScanAdjustType;
|
|
14
14
|
}
|
|
15
15
|
export declare const SCAN_QTY_ASSIGN_STRATEGY: ScanQtyAssignStrategy;
|
|
16
|
+
/** 单次扫码内的 qty 写入状态(跨物料组共享) */
|
|
17
|
+
export interface ScanQtyAssignState {
|
|
18
|
+
qtyAssignedOnScan: boolean;
|
|
19
|
+
qtyAssignedRowIndexes: Set<number>;
|
|
20
|
+
}
|
|
21
|
+
export declare function createScanQtyAssignState(): ScanQtyAssignState;
|
|
22
|
+
export declare function markScanQtyAssigned(state: ScanQtyAssignState, rowIndex: number): void;
|
|
16
23
|
export declare function shouldAssignScanQty(options: {
|
|
17
24
|
strategy: ScanQtyAssignStrategy;
|
|
18
25
|
assignScanQty: boolean;
|
|
@@ -7,6 +7,11 @@ import { DropdownOption } from '../../../base';
|
|
|
7
7
|
* @param usedKeys 文档中已占用的子模型 field key(不可重复绑定)
|
|
8
8
|
*/
|
|
9
9
|
export declare function getSubModelOptions(tableTypeOrRibbonAction: string, fields: FieldMeta[], usedKeys?: string[]): DropdownOption[];
|
|
10
|
+
/**
|
|
11
|
+
* 动态关联模型下拉选项
|
|
12
|
+
* 仅可选普通子模型
|
|
13
|
+
*/
|
|
14
|
+
export declare function getDynamicLinkSubModelOptions(fields: FieldMeta[], usedKeys?: string[]): DropdownOption[];
|
|
10
15
|
/**
|
|
11
16
|
* 创建子表前兜底校验
|
|
12
17
|
* @throws 子模型与表类型不匹配时抛出 Error
|