@gct-paas/word 0.1.73 → 0.1.74-beta.0
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/assets/theme/field-state.d.ts +14 -2
- package/dist/base/calendar/src/calendar.vue.d.ts +2 -2
- package/dist/base/calendar/src/time.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox.vue.d.ts +2 -2
- package/dist/base/color-picker/src/ColorPicker.vue.d.ts +1 -1
- package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +2 -2
- package/dist/base/input/src/input-number.vue.d.ts +2 -2
- package/dist/base/input/src/input.vue.d.ts +2 -2
- package/dist/base/input/src/text-area.vue.d.ts +2 -2
- package/dist/base/modal/src/ConfirmTip.vue.d.ts +5 -0
- package/dist/base/modal/src/ModalRoot.vue.d.ts +2 -0
- package/dist/base/modal/src/index.d.ts +1 -0
- package/dist/base/modal/src/modal.type.d.ts +3 -1
- package/dist/base/radio/src/radio-group.vue.d.ts +2 -2
- package/dist/base/radio/src/radio.vue.d.ts +2 -2
- package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +2 -2
- package/dist/base/scrollbar/src/scrollbar.vue.d.ts +4 -4
- package/dist/base/segment-slider/src/segment-slider.vue.d.ts +2 -2
- package/dist/base/select/src/basic-select.vue.d.ts +8 -2
- package/dist/base/select/src/searchable-select.vue.d.ts +2 -2
- package/dist/base/slider/src/slider.vue.d.ts +4 -4
- package/dist/base/switch/src/switch.vue.d.ts +2 -2
- package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
- package/dist/base/utils/asset-helper-util.d.ts +9 -0
- package/dist/base/utils/image-size-util.d.ts +14 -0
- package/dist/core/constants/common.d.ts +1 -0
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/paper.d.ts +3 -0
- package/dist/core/data/DataManager.d.ts +2 -0
- package/dist/core/data/subtable/row.d.ts +14 -2
- package/dist/core/event/handlers/InteractionHandler.d.ts +0 -1
- package/dist/core/interaction/InteractionController.d.ts +13 -7
- package/dist/core/interaction/InteractionManager.d.ts +0 -2
- package/dist/core/interaction/types.d.ts +7 -12
- package/dist/core/interaction/useInteraction.d.ts +5 -8
- package/dist/core/layout/LayoutContext.d.ts +4 -0
- package/dist/core/layout/handlers/fields/AttachmentHandler.d.ts +2 -5
- package/dist/core/layout/handlers/fields/FieldBaseHandler.d.ts +10 -0
- package/dist/core/layout/handlers/fields/FieldImageHandler.d.ts +20 -0
- package/dist/core/model/logic/subtable/repeating/MaterialConsumeTableRegion.d.ts +4 -0
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +4 -0
- package/dist/core/view/Doc.d.ts +8 -0
- package/dist/core/view/Paragraph.d.ts +5 -1
- package/dist/core/view/runs/ImageRun.d.ts +2 -0
- package/dist/domain/constants/enum/view.d.ts +12 -0
- package/dist/domain/constants/enum/widget.d.ts +13 -1
- package/dist/domain/field/field-type.d.ts +18 -0
- package/dist/index.es.js +8738 -4746
- package/dist/runtime/canvas/__common__/widget-container/overlay-layer.vue.d.ts +3 -0
- package/dist/runtime/canvas/__common__/widget-container/overlay-render.vue.d.ts +69 -1
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/bounded-table-action.vue.d.ts +10 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/index.d.ts +3 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/quick-fill.util.d.ts +27 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/{sub-table-action.vue.d.ts → sub-table-action/repeating-table-action.vue.d.ts} +2 -2
- package/dist/runtime/canvas/table/shared/resolve-cell-row-change-style.d.ts +30 -0
- package/dist/runtime/canvas/table/shared/table-form-change-overlay.vue.d.ts +6 -0
- package/dist/runtime/canvas/table/utils/index.d.ts +2 -1
- package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +5 -8
- package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -1
- package/dist/runtime/interface/change-diff.d.ts +0 -4
- package/dist/runtime/interface/form-change-row.d.ts +79 -0
- package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +5 -5
- package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +182 -1
- package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +5 -5
- package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +5 -5
- package/dist/runtime/renderer/dropdowns/components/tables/utils/assoc-filter.d.ts +12 -0
- package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +182 -1
- package/dist/runtime/renderer/field-preview/active-preview.d.ts +7 -0
- package/dist/runtime/renderer/field-preview/attachment-file-popover.vue.d.ts +8 -0
- package/dist/runtime/renderer/field-preview/field-preview-overlay.vue.d.ts +34 -0
- package/dist/runtime/renderer/field-preview/image-preview-popover.vue.d.ts +7 -0
- package/dist/runtime/renderer/field-preview/index.d.ts +4 -0
- package/dist/runtime/renderer/field-preview/types.d.ts +5 -0
- package/dist/runtime/renderer/main/preview-canvas.vue.d.ts +3 -2
- package/dist/runtime/renderer/validation/validation-comment-layer.vue.d.ts +1 -1
- package/dist/runtime/validation/admission.d.ts +29 -0
- package/dist/runtime/{factories → validation}/createValidateFactory.d.ts +8 -3
- package/dist/runtime/validation/index.d.ts +6 -0
- package/dist/runtime/validation/layout.d.ts +15 -0
- package/dist/runtime/validation/merge.d.ts +15 -0
- package/dist/runtime/validation/state.d.ts +16 -0
- package/dist/runtime/validation/useFormValidator.d.ts +18 -0
- package/dist/sdk/doc-runtime/composables/useDocOperations.d.ts +9 -1
- package/dist/sdk/doc-runtime/composables/useValidationFullSync.d.ts +7 -2
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +2 -0
- package/dist/sdk/engine/index.d.ts +1 -1
- package/dist/sdk/types/index.d.ts +24 -6
- package/dist/sdk/vue/layouts/doc-render-layout.vue.d.ts +7 -6
- package/dist/suites/edhr/component/resolve-field-render-colors.d.ts +20 -0
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +6 -2
- package/dist/suites/edhr/panel-schema/2d-table/2DSubTablePanel.vue.d.ts +8 -0
- package/dist/{runtime/renderer/annotation/annotation-comment-layer.vue.d.ts → suites/edhr/panel-schema/paper/modules/keep-exception-config.vue.d.ts} +1 -1
- package/dist/suites/shared/panel/config/editor/assoc-filter-editor/utils.d.ts +9 -0
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields-editor.vue.d.ts +15 -0
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +11 -0
- package/dist/suites/shared/panel/config/editor/display-fields-editor/index.d.ts +3 -0
- package/dist/suites/shared/panel/config/editor/quick-search-editor/quick-search.util.d.ts +14 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +2 -2
- package/dist/suites/shared/panel/config/editor/regex-editor/common-regex-api.d.ts +11 -0
- package/dist/suites/shared/panel/config/editor/regex-editor/types.d.ts +8 -0
- package/dist/suites/shared/panel/modules/confirm-before-delete-config.vue.d.ts +5 -0
- package/dist/suites/shared/panel/modules/quick-fill-config.vue.d.ts +6 -0
- package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
- package/dist/utils/func/core.d.ts +5 -0
- package/dist/word.css +1719 -790
- package/package.json +1 -1
- package/dist/runtime/factories/useFormValidator.d.ts +0 -36
- package/dist/runtime/renderer/annotation/annotation-comment-item.vue.d.ts +0 -13
|
@@ -46,18 +46,15 @@ export declare function useInteraction(docRef: Ref<Doc | null>): {
|
|
|
46
46
|
readonly message: string;
|
|
47
47
|
}[];
|
|
48
48
|
} | null | undefined;
|
|
49
|
-
readonly rangeHighlightMap?: {
|
|
50
|
-
readonly [x: string]: readonly {
|
|
51
|
-
readonly field: string;
|
|
52
|
-
readonly fieldValue: any;
|
|
53
|
-
readonly message: string;
|
|
54
|
-
}[];
|
|
55
|
-
} | null | undefined;
|
|
56
49
|
readonly focusValidation?: string | undefined;
|
|
57
50
|
readonly isHeaderFooterEdit?: boolean | undefined;
|
|
58
51
|
readonly annotationIds?: readonly string[] | null | undefined;
|
|
52
|
+
readonly annotationViewActive?: boolean | undefined;
|
|
59
53
|
readonly focusAnnotationId?: string | null | undefined;
|
|
60
|
-
readonly
|
|
54
|
+
readonly formChangeRowDetails?: readonly any[] | null | undefined;
|
|
55
|
+
readonly formChangeRowPreviewBackup?: {
|
|
56
|
+
readonly [x: string]: readonly any[];
|
|
57
|
+
} | null | undefined;
|
|
61
58
|
readonly scanModeMap?: {
|
|
62
59
|
readonly [x: string]: boolean;
|
|
63
60
|
} | undefined;
|
|
@@ -28,6 +28,8 @@ export declare class LayoutContext {
|
|
|
28
28
|
modelRef?: {
|
|
29
29
|
id: string;
|
|
30
30
|
};
|
|
31
|
+
/** 当前行内布局等待应用到下一个 run 的间距(等价于 flex gap,不生成占位节点) */
|
|
32
|
+
private pendingInlineGap;
|
|
31
33
|
onPageCreated?: (page: Page) => void;
|
|
32
34
|
/** 当前 section 内的页码 */
|
|
33
35
|
constructor(options: ContextOptions);
|
|
@@ -39,6 +41,8 @@ export declare class LayoutContext {
|
|
|
39
41
|
ensurePageParagraphSpace(itemWidth: number, itemHeight: number): void;
|
|
40
42
|
ensureParagraphSpace(itemWidth: number, itemHeight: number): void;
|
|
41
43
|
insertLineBreak(): void;
|
|
44
|
+
/** 设置下一个 run 与当前 run 之间的行内 gap。 */
|
|
45
|
+
setInlineGap(gap: number): void;
|
|
42
46
|
createNewPage(payload?: Partial<PageOptions>): Page;
|
|
43
47
|
createNewParagraph(y?: number): Paragraph;
|
|
44
48
|
resetModelRef(id: string): void;
|
|
@@ -4,12 +4,9 @@ import { HandlerContext } from '../../types';
|
|
|
4
4
|
export declare class AttachmentHandler extends FieldBaseHandler {
|
|
5
5
|
static layout(ctx: HandlerContext): void;
|
|
6
6
|
static layoutField(ctx: HandlerContext): void;
|
|
7
|
-
static
|
|
7
|
+
static layoutFileSummary(payload: {
|
|
8
8
|
ctx: HandlerContext;
|
|
9
|
-
|
|
10
|
-
itemIndex: number;
|
|
9
|
+
count: number;
|
|
11
10
|
layoutStyle: ReturnType<typeof TextRun.textStyle2LayoutStyle>;
|
|
12
|
-
itemIsFirst: boolean;
|
|
13
|
-
itemIsLast: boolean;
|
|
14
11
|
}): void;
|
|
15
12
|
}
|
|
@@ -10,11 +10,21 @@ export declare class FieldBaseHandler extends RunHandlerBase {
|
|
|
10
10
|
static hasValue(value: ValueType): boolean;
|
|
11
11
|
/** 将展示文案拆成逐字 run;空串 split 会得到 [],需单独处理 */
|
|
12
12
|
static toLayoutChars(label: unknown): string[];
|
|
13
|
+
static isPrint(ctx: HandlerContext): boolean;
|
|
13
14
|
/**
|
|
14
15
|
* 展示内容为空时补一个带 widgetMeta/valuePath 的占位 run
|
|
15
16
|
* 避免段落只剩默认 TextRun(isPlaceholder=true)导致 getWidgetInstances 收集不到
|
|
16
17
|
*/
|
|
17
18
|
static ensureFieldWidgetAnchor(ctx: HandlerContext, layoutStyle: Partial<TextRun>, extra?: Partial<TextWidget>): void;
|
|
19
|
+
/** 详情页:字段内容左右各留 2px,给底色内边距占位 */
|
|
20
|
+
static addPrintFieldPad(ctx: HandlerContext): void;
|
|
21
|
+
/**
|
|
22
|
+
* 详情页:字段背景之间的 2px 间距。
|
|
23
|
+
* 不带 widgetMeta,避免被算进字段分组底色。
|
|
24
|
+
*/
|
|
25
|
+
static addPrintFieldGap(ctx: HandlerContext): void;
|
|
26
|
+
static beginPrintField(ctx: HandlerContext, hasContent: boolean): void;
|
|
27
|
+
static endPrintField(ctx: HandlerContext, hasContent: boolean): void;
|
|
18
28
|
static getModelRefId(context: LayoutContext, wr: WrText): string;
|
|
19
29
|
static getDataSlotIndex(context: LayoutContext): DataSlotIndex | undefined;
|
|
20
30
|
static getValue(ctx: HandlerContext, valuePath: string): any;
|
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import { FieldBaseHandler } from './FieldBaseHandler';
|
|
2
|
+
import { ImageWidget } from '../../../view/runs/ImageWidget';
|
|
2
3
|
import { HandlerContext } from '../../types';
|
|
4
|
+
import { Paragraph } from '../../../view/Paragraph';
|
|
5
|
+
import { TableCell } from '../../../view/TableCell';
|
|
6
|
+
import { LayoutNode } from '../../../view/base';
|
|
3
7
|
/** 表单字段 fw:image 的布局处理 */
|
|
4
8
|
export declare class FieldImageHandler extends FieldBaseHandler {
|
|
5
9
|
static layout(ctx: HandlerContext): void;
|
|
6
10
|
static layoutField(ctx: HandlerContext): void;
|
|
11
|
+
/** 非自适应:固定 24×24;自适应:沿用配置宽高 */
|
|
12
|
+
static resolveImageSize(props: {
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
15
|
+
} | undefined, adaptiveInCell: boolean): {
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
};
|
|
19
|
+
/** 自适应宽度:单元格内容宽减去填报模式左右 [] */
|
|
20
|
+
static resolveAdaptiveImageWidth(cell: TableCell, paragraph: Paragraph): number;
|
|
21
|
+
/** 段落内左右字段括号占用宽度(打印模式无括号则为 0) */
|
|
22
|
+
static getFieldMarkersWidth(paragraph: Paragraph): number;
|
|
23
|
+
static isFieldMarker(node: LayoutNode): boolean;
|
|
24
|
+
static findImageRun(paragraph: Paragraph): ImageWidget | undefined;
|
|
25
|
+
/** 按子 run 宽度从左到右重排 x,避免图片变宽后右括号留在原位置 */
|
|
26
|
+
static reflowParagraphRuns(paragraph: Paragraph): void;
|
|
7
27
|
}
|
|
@@ -8,6 +8,10 @@ export type MaterialConsumeTableWidgetPropsMeta = {
|
|
|
8
8
|
personal_bom_enabled_?: boolean;
|
|
9
9
|
entries_?: any[];
|
|
10
10
|
sequence_loading_enabled_?: boolean;
|
|
11
|
+
/** 删除二次确认 */
|
|
12
|
+
confirmBeforeDelete: boolean;
|
|
13
|
+
/** 删除二次确认提示 */
|
|
14
|
+
confirmBeforeDeleteTip: string;
|
|
11
15
|
[key: string]: any;
|
|
12
16
|
};
|
|
13
17
|
export type MaterialConsumeTableWidgetMeta = {
|
|
@@ -5,6 +5,10 @@ import { SubTableLayoutType } from '../../../document/wtcRegionRef';
|
|
|
5
5
|
export type RepeatingWidgetPropsBase = {
|
|
6
6
|
/** 快速填报 */
|
|
7
7
|
quickFill: boolean;
|
|
8
|
+
/** 删除二次确认 */
|
|
9
|
+
confirmBeforeDelete: boolean;
|
|
10
|
+
/** 删除二次确认提示 */
|
|
11
|
+
confirmBeforeDeleteTip: string;
|
|
8
12
|
};
|
|
9
13
|
export type DynamicTableProps = RepeatingWidgetPropsBase & {
|
|
10
14
|
layoutType?: 'dynamic-table';
|
package/dist/core/view/Doc.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export interface DocInitOptions {
|
|
|
15
15
|
mode?: DocModeType;
|
|
16
16
|
model?: DocModel;
|
|
17
17
|
preview?: boolean;
|
|
18
|
+
/** 是否是模拟填报 */
|
|
19
|
+
isMockReport?: boolean;
|
|
18
20
|
mainModelKey: ModelKey;
|
|
19
21
|
/** 文档运行时元信息(接口数据 + 业务数据) */
|
|
20
22
|
docRuntimeMeta: DocRuntimeMeta;
|
|
@@ -45,6 +47,10 @@ export declare class Doc {
|
|
|
45
47
|
btnRenderModeType: DocModeType;
|
|
46
48
|
/** 是否是设计器预览模式 */
|
|
47
49
|
preview: boolean;
|
|
50
|
+
/** 是否是模拟填报 */
|
|
51
|
+
isMockReport: boolean;
|
|
52
|
+
/** 填报内容区底色开关配置 */
|
|
53
|
+
showPrintFieldBg: boolean;
|
|
48
54
|
model?: DocModel;
|
|
49
55
|
pages: Page[];
|
|
50
56
|
commandManager: CommandManager;
|
|
@@ -125,6 +131,8 @@ export declare class Doc {
|
|
|
125
131
|
isInFillMode(): boolean;
|
|
126
132
|
/** 是否是打印模式 */
|
|
127
133
|
isInPrintMode(): boolean;
|
|
134
|
+
/** 打印时临时开关填报内容区底色 */
|
|
135
|
+
setShowPrintFieldBg(show: boolean): void;
|
|
128
136
|
bumpUpdateTick(): void;
|
|
129
137
|
increaseTextRunCount(): void;
|
|
130
138
|
/**
|
|
@@ -20,6 +20,7 @@ export declare class Paragraph extends LayoutGroup<LayoutNode> {
|
|
|
20
20
|
baseline: number;
|
|
21
21
|
/** 上次 layout 应用的水平对齐偏移,避免重复 layout 时累加 */
|
|
22
22
|
private _alignmentOffset;
|
|
23
|
+
private _inlineGapWidth;
|
|
23
24
|
splitFillEvent: EventUtil;
|
|
24
25
|
constructor(options: ParagraphOptions);
|
|
25
26
|
/**
|
|
@@ -30,9 +31,12 @@ export declare class Paragraph extends LayoutGroup<LayoutNode> {
|
|
|
30
31
|
* 子节点添加后的钩子
|
|
31
32
|
* @param child 新添加的子节点
|
|
32
33
|
*/
|
|
33
|
-
protected onChildAdded(
|
|
34
|
+
protected onChildAdded(_child: LayoutNode): void;
|
|
35
|
+
private measureContentLineHeight;
|
|
36
|
+
private hasImageLikeRun;
|
|
34
37
|
get width(): number;
|
|
35
38
|
getContextWidth(): number;
|
|
39
|
+
addInlineGap(gap: number): void;
|
|
36
40
|
/**
|
|
37
41
|
* 获取剩余空间
|
|
38
42
|
*/
|
|
@@ -40,6 +40,8 @@ export declare class ImageRun extends LayoutNode implements IImageRun {
|
|
|
40
40
|
src: string;
|
|
41
41
|
/** 是否保持等比 */
|
|
42
42
|
keepAspect: boolean;
|
|
43
|
+
/** 签名/图片行高,略高于内容本身,避免贴行 */
|
|
44
|
+
lineHeight: number;
|
|
43
45
|
decorations?: ImageRunOptions['decorations'];
|
|
44
46
|
get width(): number;
|
|
45
47
|
set width(value: number);
|
|
@@ -63,6 +63,18 @@ export declare const RangeValidateModeTypeConst: {
|
|
|
63
63
|
Variable_Validate: string;
|
|
64
64
|
};
|
|
65
65
|
export type RangeValidateModeType = ValueOf<typeof RangeValidateModeTypeConst>;
|
|
66
|
+
/** 日期上下限比较运算符 */
|
|
67
|
+
export declare const RangeCompareOpTypeConst: {
|
|
68
|
+
/** 小于等于 */
|
|
69
|
+
readonly LE: "le";
|
|
70
|
+
/** 小于 */
|
|
71
|
+
readonly LT: "lt";
|
|
72
|
+
/** 大于等于 */
|
|
73
|
+
readonly GE: "ge";
|
|
74
|
+
/** 大于 */
|
|
75
|
+
readonly GT: "gt";
|
|
76
|
+
};
|
|
77
|
+
export type RangeCompareOpType = ValueOf<typeof RangeCompareOpTypeConst>;
|
|
66
78
|
/** 字段默认值系统变量 */
|
|
67
79
|
export declare const FieldSysVarDefaultValueConst: {
|
|
68
80
|
NULL: string;
|
|
@@ -16,7 +16,7 @@ export declare const ValueTypeConst: {
|
|
|
16
16
|
Formula: string;
|
|
17
17
|
};
|
|
18
18
|
export type ValueType = ValueOf<typeof ValueTypeConst>;
|
|
19
|
-
/**
|
|
19
|
+
/** 分栏的方向(两栏) */
|
|
20
20
|
export declare const DiagonalDirectionTypeConst: {
|
|
21
21
|
/** 从左上到右下 */
|
|
22
22
|
Forward: string;
|
|
@@ -24,6 +24,18 @@ export declare const DiagonalDirectionTypeConst: {
|
|
|
24
24
|
Backward: string;
|
|
25
25
|
};
|
|
26
26
|
export type DiagonalDirectionType = ValueOf<typeof DiagonalDirectionTypeConst>;
|
|
27
|
+
/** 分栏放射顶点(三栏) */
|
|
28
|
+
export declare const DiagonalVertexTypeConst: {
|
|
29
|
+
readonly TopLeft: "topLeft";
|
|
30
|
+
readonly TopRight: "topRight";
|
|
31
|
+
readonly BottomLeft: "bottomLeft";
|
|
32
|
+
readonly BottomRight: "bottomRight";
|
|
33
|
+
};
|
|
34
|
+
export type DiagonalVertexType = ValueOf<typeof DiagonalVertexTypeConst>;
|
|
35
|
+
/** 将旧版三栏分栏方向迁移为放射顶点 */
|
|
36
|
+
export declare function migrateDiagonalDirectionToVertex(direction: DiagonalDirectionType): DiagonalVertexType;
|
|
37
|
+
/** 解析三栏放射顶点,兼容未设置 vertex 的老数据 */
|
|
38
|
+
export declare function resolveDiagonalVertex(size: number, direction: DiagonalDirectionType, vertex?: DiagonalVertexType, hasVertexKey?: boolean): DiagonalVertexType | undefined;
|
|
27
39
|
/** 时间差格式类型 */
|
|
28
40
|
export declare const TimeDiffFormatTypeConst: {
|
|
29
41
|
/** 天时分秒 */
|
|
@@ -217,6 +217,10 @@ export declare enum FIELD_TYPE {
|
|
|
217
217
|
* 车间
|
|
218
218
|
*/
|
|
219
219
|
SHOPFLOOR = "shopfloor",
|
|
220
|
+
/**
|
|
221
|
+
* 建模关联
|
|
222
|
+
*/
|
|
223
|
+
MODEL_RELATION = "model_relation",
|
|
220
224
|
/**
|
|
221
225
|
* 记录单号
|
|
222
226
|
*/
|
|
@@ -386,6 +390,20 @@ export declare enum FIELD_TYPE {
|
|
|
386
390
|
*/
|
|
387
391
|
STERILIZATION_CONTAINER = "sterilization_container"
|
|
388
392
|
}
|
|
393
|
+
export declare enum FIELD_TYPE_TRACE {
|
|
394
|
+
MATERIAL_NO = "material_no",
|
|
395
|
+
STERILIZE_LOT = "sterilization_container",
|
|
396
|
+
MATERIAL_LOT = "material_container",
|
|
397
|
+
RELATED_LOT_NO = "related_lot_no",
|
|
398
|
+
PRODUCT = "product",
|
|
399
|
+
SHOPFLOOR = "shopfloor",
|
|
400
|
+
DEVICE = "device",
|
|
401
|
+
MFG_ORDER = "mfg_order",
|
|
402
|
+
RECORD_NO = "record_no",
|
|
403
|
+
TRACE_DATE = "trace_date",
|
|
404
|
+
ORDER_NO = "order_no",
|
|
405
|
+
EXTERNAL_REF_NO = "external_reference_no"
|
|
406
|
+
}
|
|
389
407
|
export type FieldTypeSource = Pick<FieldMeta, 'type' | 'bizType'>;
|
|
390
408
|
/** manifest / 面板 / 渲染 / icon 查找用的类型 */
|
|
391
409
|
export declare function resolveFieldManifestType(field: FieldTypeSource): FIELD_TYPE;
|