@gct-paas/word 0.1.74-beta.13 → 0.1.74-beta.15
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/base/utils/image-size-util.d.ts +2 -0
- package/dist/core/model/document/Wtbl/Calculation.d.ts +8 -2
- package/dist/core/model/document/Wtbl/RowColumnOps.d.ts +15 -3
- package/dist/domain/field/field-type.d.ts +8 -0
- package/dist/domain/table/business/check/check-table/actions/fetch-check-items.d.ts +1 -0
- package/dist/index.es.js +574 -269
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/quick-fill.util.d.ts +5 -1
- package/dist/runtime/renderer/dropdowns/components/tables/utils/assoc-filter.d.ts +3 -3
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +1 -1
- package/dist/suites/edhr/manifest/field/business/operation-output-qty-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/business/operation-receive-qty-manifest.d.ts +2 -0
- package/dist/word.css +112 -115
- package/package.json +1 -1
|
@@ -34,6 +34,8 @@ export declare function computeContainLayout(natural: ImageSize, box: ImageSize)
|
|
|
34
34
|
* 在目标框内等比缩放(contain),不压缩、不拉伸
|
|
35
35
|
*/
|
|
36
36
|
export declare function computeContainDisplaySize(natural: ImageSize, box: ImageSize): ImageSize;
|
|
37
|
+
/** 同步取无图签名缓存(布局重建时可避免先闪占位再异步补图) */
|
|
38
|
+
export declare function getCachedSignatureImage(name: string, width?: number, height?: number, time?: number | string): HTMLImageElement | null;
|
|
37
39
|
/**
|
|
38
40
|
* 创建无图签名兜底图(用户名 + 电子签名 + 验证日期)
|
|
39
41
|
* 按字段宽高绘制,显示框设多大,字就按多大排
|
|
@@ -25,7 +25,13 @@ export declare class WtblCalculation {
|
|
|
25
25
|
*/
|
|
26
26
|
private static processBounded;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* 按 itemRegion.id 查找嵌套的数据分组 / 动态关联区域
|
|
29
|
+
* (itemRegion 不在 table.regions 顶层,不能用 findRegionById)
|
|
30
|
+
*/
|
|
31
|
+
private static findItemRegionById;
|
|
32
|
+
private static applyBoundsToItemRegion;
|
|
33
|
+
/**
|
|
34
|
+
* 处理 boundedItem 数据(更新父级 bounded 的 itemRegion 边界)
|
|
29
35
|
*/
|
|
30
36
|
private static processBoundedItem;
|
|
31
37
|
/**
|
|
@@ -33,7 +39,7 @@ export declare class WtblCalculation {
|
|
|
33
39
|
*/
|
|
34
40
|
private static processCheckTable;
|
|
35
41
|
/**
|
|
36
|
-
* 处理 dataGroup2D
|
|
42
|
+
* 处理 dataGroup2D 数据(更新检验表 / 二维表上的 itemRegion 边界)
|
|
37
43
|
*/
|
|
38
44
|
private static processDataGroup2D;
|
|
39
45
|
}
|
|
@@ -9,11 +9,23 @@ export declare class WtblRowColumnOps {
|
|
|
9
9
|
/** 仅外表需要做「删除行/列/表时联动删除嵌套表」 */
|
|
10
10
|
private static detachNestedTablesFromOuterTable;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* 新单元格同步引用信息(mergeId / subTable / subTableItem / header)
|
|
13
|
+
*
|
|
14
|
+
* 必须两侧参考单元格都存在,且对应字段一致,才写入新格。
|
|
15
|
+
* 单侧缺失(表边界、子表外侧空行)不同步,避免检验表等 region
|
|
16
|
+
* 在「上一行/下一行插入」时被错误扩大,进而触发重叠校验误报。
|
|
15
17
|
*/
|
|
16
18
|
private static syncRefInfo;
|
|
19
|
+
/**
|
|
20
|
+
* 在 insertIndex 处插入一行后,将落在该行及以下的 region / itemRegion 行号整体 +1。
|
|
21
|
+
* 否则仅靠单元格标记回写时,动态关联 itemRegion 若未能匹配 id,边界会留在原行,
|
|
22
|
+
* 设计端字段与背景框就不会随检验表下移。
|
|
23
|
+
*/
|
|
24
|
+
private static shiftRegionsForRowInsert;
|
|
25
|
+
/**
|
|
26
|
+
* 在 insertIndex 处插入一列后,将落在该列及右侧的 region / itemRegion 列号整体 +1。
|
|
27
|
+
*/
|
|
28
|
+
private static shiftRegionsForColInsert;
|
|
17
29
|
/**
|
|
18
30
|
* 在指定行位置插入新行
|
|
19
31
|
*/
|
|
@@ -305,6 +305,14 @@ export declare enum FIELD_TYPE {
|
|
|
305
305
|
* 材料检验数量
|
|
306
306
|
*/
|
|
307
307
|
MATERIAL_CHECK_QTY = "material_check_qty",
|
|
308
|
+
/**
|
|
309
|
+
* 工序接收数量
|
|
310
|
+
*/
|
|
311
|
+
OPERATION_RECEIVE_QTY = "operation_receive_qty",
|
|
312
|
+
/**
|
|
313
|
+
* 工序实际产出数量
|
|
314
|
+
*/
|
|
315
|
+
OPERATION_OUTPUT_QTY = "operation_output_qty",
|
|
308
316
|
/**
|
|
309
317
|
* 设备关联(MedPro)
|
|
310
318
|
*/
|
|
@@ -2,6 +2,7 @@ import { CheckTableItemInfosPayload, CheckTableRegionRef } from '../types';
|
|
|
2
2
|
import { ICheckTableConfig } from '../front-config';
|
|
3
3
|
/**
|
|
4
4
|
* 按已扫描的检验表 region 并行解析检验项(有快照用快照,否则请求)。
|
|
5
|
+
* @param instanceId 真实填报实例 id;设计态 / 模拟填报应传空字符串(默认数据源将跳过请求)
|
|
5
6
|
* @returns infosMap / countMap(count 至少为 1,用于占位行)/ 待落库 byTable 快照
|
|
6
7
|
*/
|
|
7
8
|
export declare function fetchCheckItemsForRegions(instanceId: string, regions: CheckTableRegionRef[], checkTableConfig?: ICheckTableConfig): Promise<{
|