@gct-paas/word 0.1.72 → 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 +8795 -4760
- 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/data.d.ts +2 -0
- 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/plugins/index.d.ts +1 -0
- 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/model-field-runtime/field-provider.d.ts +2 -0
- package/dist/suites/edhr/model-field-runtime/model-provider.d.ts +2 -0
- 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/eqm/index.d.ts +3 -0
- 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
|
@@ -26,8 +26,12 @@ export declare const FieldStateColors: {
|
|
|
26
26
|
readonly readonlyPlaceholderBg: "#f5f7fa";
|
|
27
27
|
readonly readonlyPlaceholderBgActive: "#eef1f5";
|
|
28
28
|
readonly readonlyPlaceholderLine: "#c4c9d0";
|
|
29
|
-
/**
|
|
29
|
+
/** 详情页普通字符底色 */
|
|
30
30
|
readonly printBg: "transparent";
|
|
31
|
+
/** 详情页字段底色 */
|
|
32
|
+
readonly printFieldBg: "#E8F3FF";
|
|
33
|
+
/** 详情页字段校验失败底色 */
|
|
34
|
+
readonly printFieldErrorBg: "#FEECED";
|
|
31
35
|
/** 字段括号 [] 颜色 */
|
|
32
36
|
readonly markerDefault: "#000000";
|
|
33
37
|
readonly markerReadonly: "#8c8c8c";
|
|
@@ -42,7 +46,9 @@ export declare const FieldStateColors: {
|
|
|
42
46
|
readonly disabledText: "#c9c9c9";
|
|
43
47
|
readonly disabledLine: "#c9c9c9";
|
|
44
48
|
readonly disabledFill: "rgba(0, 0, 0, 0.04)";
|
|
45
|
-
/**
|
|
49
|
+
/** 字段变更(批注高亮字色) */
|
|
50
|
+
readonly fieldChangeText: "#FF9442";
|
|
51
|
+
/** 校验失败 */
|
|
46
52
|
readonly validationErrorText: "#ff4d4f";
|
|
47
53
|
readonly validationErrorLine: "#ff4d4f";
|
|
48
54
|
readonly validationErrorBg: "#fff2f2";
|
|
@@ -52,3 +58,9 @@ export declare const FieldStateColors: {
|
|
|
52
58
|
readonly validationErrorDisabledBg: "#f5f5f5";
|
|
53
59
|
readonly validationErrorDisabledBgActive: "#f0f0f0";
|
|
54
60
|
};
|
|
61
|
+
/** 详情页字段内容四周内边距 */
|
|
62
|
+
export declare const PRINT_FIELD_PAD = 2;
|
|
63
|
+
/** 详情页相邻字段背景间距 */
|
|
64
|
+
export declare const PRINT_FIELD_GAP = 2;
|
|
65
|
+
/** 详情页字段空值占位尺寸 */
|
|
66
|
+
export declare const PRINT_EMPTY_FIELD_SIZE = 20;
|
|
@@ -11,11 +11,11 @@ type __VLS_Props = {
|
|
|
11
11
|
showClearBtn?: boolean;
|
|
12
12
|
};
|
|
13
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
"update:modelValue": (value: Date | null) => any;
|
|
15
14
|
change: (value: Date | null) => any;
|
|
15
|
+
"update:modelValue": (value: Date | null) => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
-
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
18
17
|
onChange?: ((value: Date | null) => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
showClearBtn: boolean;
|
|
21
21
|
mode: "datetime" | "date";
|
|
@@ -10,10 +10,10 @@ type __VLS_Props = {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
"update:modelValue": (...args: any[]) => void;
|
|
14
13
|
change: (...args: any[]) => void;
|
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
16
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
19
|
export default _default;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (...args: any[]) => void;
|
|
17
16
|
change: (...args: any[]) => void;
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
size: string;
|
|
@@ -15,11 +15,11 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (...args: any[]) => void;
|
|
19
18
|
change: (...args: any[]) => void;
|
|
19
|
+
"update:modelValue": (...args: any[]) => void;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
21
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
} & {
|
|
10
10
|
change: (val: string) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
12
|
onChange?: ((val: string) => any) | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
tooltip: string;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -63,12 +63,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
63
63
|
getRef: import('vue').Ref<any, any>;
|
|
64
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
65
|
edit: (...args: any[]) => void;
|
|
66
|
-
"update:modelValue": (...args: any[]) => void;
|
|
67
66
|
change: (...args: any[]) => void;
|
|
67
|
+
"update:modelValue": (...args: any[]) => void;
|
|
68
68
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
70
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
options: DropdownOption[] | DropdownOptionGroup[];
|
|
74
74
|
showCheck: boolean;
|
|
@@ -32,13 +32,13 @@ declare function __VLS_template(): {
|
|
|
32
32
|
};
|
|
33
33
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
34
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
35
|
-
"update:modelValue": (val: string | number | null) => any;
|
|
36
35
|
change: (val: string | number | null) => any;
|
|
37
36
|
blur: () => any;
|
|
37
|
+
"update:modelValue": (val: string | number | null) => any;
|
|
38
38
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
-
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
40
39
|
onChange?: ((val: string | number | null) => any) | undefined;
|
|
41
40
|
onBlur?: (() => any) | undefined;
|
|
41
|
+
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
disabled: boolean;
|
|
44
44
|
modelValue: ValueType;
|
|
@@ -21,9 +21,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
21
21
|
search: (value: string | number) => any;
|
|
22
22
|
clear: () => any;
|
|
23
23
|
focus: (event: FocusEvent) => any;
|
|
24
|
-
"update:modelValue": (value: string | number) => any;
|
|
25
24
|
change: (value: string | number, event: Event) => any;
|
|
26
25
|
blur: (event: FocusEvent) => any;
|
|
26
|
+
"update:modelValue": (value: string | number) => any;
|
|
27
27
|
keydown: (event: KeyboardEvent) => any;
|
|
28
28
|
keypress: (event: KeyboardEvent) => any;
|
|
29
29
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -33,9 +33,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
33
33
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
34
34
|
onClear?: (() => any) | undefined;
|
|
35
35
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
37
36
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
38
37
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
39
39
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
40
40
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
41
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -19,9 +19,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
19
19
|
search: (value: string | number) => any;
|
|
20
20
|
clear: () => any;
|
|
21
21
|
focus: (event: FocusEvent) => any;
|
|
22
|
-
"update:modelValue": (value: string | number) => any;
|
|
23
22
|
change: (value: string | number, event: Event) => any;
|
|
24
23
|
blur: (event: FocusEvent) => any;
|
|
24
|
+
"update:modelValue": (value: string | number) => any;
|
|
25
25
|
keydown: (event: KeyboardEvent) => any;
|
|
26
26
|
keypress: (event: KeyboardEvent) => any;
|
|
27
27
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -31,9 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
31
31
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
32
32
|
onClear?: (() => any) | undefined;
|
|
33
33
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
34
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
35
34
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
36
35
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
37
37
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
38
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
39
39
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
tip: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -8,9 +8,11 @@ declare const _default: import('vue').DefineComponent<IModalProps, {}, {}, {}, {
|
|
|
8
8
|
closable: boolean;
|
|
9
9
|
closeOnEsc: boolean;
|
|
10
10
|
closeOnMaskClick: boolean;
|
|
11
|
+
showHeader: boolean;
|
|
11
12
|
showFooter: boolean;
|
|
12
13
|
showCancel: boolean;
|
|
13
14
|
showConfirmContinue: boolean;
|
|
15
|
+
plainFooter: boolean;
|
|
14
16
|
confirmText: string;
|
|
15
17
|
confirmContinueText: string;
|
|
16
18
|
cancelText: string;
|
|
@@ -8,7 +8,7 @@ export interface IModalContext extends IModalInstance {
|
|
|
8
8
|
setOnConfirm: (fn: any) => void;
|
|
9
9
|
}
|
|
10
10
|
export interface IModalOptions {
|
|
11
|
-
title
|
|
11
|
+
title?: string;
|
|
12
12
|
body: Component | null;
|
|
13
13
|
bodyProps?: any;
|
|
14
14
|
width?: number;
|
|
@@ -18,9 +18,11 @@ export interface IModalOptions {
|
|
|
18
18
|
closable?: boolean;
|
|
19
19
|
closeOnEsc?: boolean;
|
|
20
20
|
closeOnMaskClick?: boolean;
|
|
21
|
+
showHeader?: boolean;
|
|
21
22
|
showFooter?: boolean;
|
|
22
23
|
showCancel?: boolean;
|
|
23
24
|
showConfirmContinue?: boolean;
|
|
25
|
+
plainFooter?: boolean;
|
|
24
26
|
confirmText?: string;
|
|
25
27
|
confirmContinueText?: string;
|
|
26
28
|
cancelText?: string;
|
|
@@ -14,11 +14,11 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
"update:modelValue": (...args: any[]) => void;
|
|
18
17
|
change: (...args: any[]) => void;
|
|
18
|
+
"update:modelValue": (...args: any[]) => void;
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
20
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
size: string;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (...args: any[]) => void;
|
|
17
16
|
change: (...args: any[]) => void;
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -14,12 +14,12 @@ type __VLS_Props = {
|
|
|
14
14
|
showSearch?: boolean;
|
|
15
15
|
};
|
|
16
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
-
"update:modelValue": (value?: string | null | undefined) => any;
|
|
18
17
|
change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
|
|
18
|
+
"update:modelValue": (value?: string | null | undefined) => any;
|
|
19
19
|
"update:fullPathValue": (value?: string | null | undefined) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
22
21
|
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
23
23
|
"onUpdate:fullPathValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
modelCategory: string;
|
|
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
wrapStyle: {
|
|
7
|
-
type: (ArrayConstructor | StringConstructor)[];
|
|
7
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
wrapClass: {
|
|
@@ -29,7 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
29
29
|
moveY: import('vue').Ref<number, number>;
|
|
30
30
|
sizeWidth: import('vue').Ref<string, string>;
|
|
31
31
|
sizeHeight: import('vue').Ref<string, string>;
|
|
32
|
-
style: import('vue').ComputedRef<string | Record<string,
|
|
32
|
+
style: import('vue').ComputedRef<string | Record<string, any>>;
|
|
33
33
|
wrap: import('vue').Ref<any, any>;
|
|
34
34
|
resize: import('vue').Ref<any, any>;
|
|
35
35
|
update: () => void;
|
|
@@ -46,7 +46,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
48
|
wrapStyle: {
|
|
49
|
-
type: (ArrayConstructor | StringConstructor)[];
|
|
49
|
+
type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
|
|
50
50
|
default: string;
|
|
51
51
|
};
|
|
52
52
|
wrapClass: {
|
|
@@ -69,7 +69,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
70
|
noresize: boolean;
|
|
71
71
|
native: boolean;
|
|
72
|
-
wrapStyle: string | unknown[];
|
|
72
|
+
wrapStyle: string | Record<string, any> | unknown[];
|
|
73
73
|
wrapClass: string | unknown[];
|
|
74
74
|
viewClass: string | unknown[];
|
|
75
75
|
viewStyle: string | unknown[];
|
|
@@ -18,11 +18,11 @@ type __VLS_Props = {
|
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
};
|
|
20
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
-
"update:modelValue": (v: any) => any;
|
|
22
21
|
change: (v: any) => any;
|
|
22
|
+
"update:modelValue": (v: any) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
25
24
|
onChange?: ((v: any) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
27
|
rootRef: HTMLDivElement;
|
|
28
28
|
}, HTMLDivElement>;
|
|
@@ -28,6 +28,8 @@ type __VLS_Props = {
|
|
|
28
28
|
picker?: boolean;
|
|
29
29
|
/** 是否需要分组展示 */
|
|
30
30
|
grouped?: boolean;
|
|
31
|
+
/** 是否支持输入创建 tag */
|
|
32
|
+
allowCreate?: boolean;
|
|
31
33
|
};
|
|
32
34
|
declare function __VLS_template(): {
|
|
33
35
|
attrs: Partial<{}>;
|
|
@@ -55,6 +57,7 @@ declare function __VLS_template(): {
|
|
|
55
57
|
Defaults: {};
|
|
56
58
|
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
57
59
|
triggerRef: HTMLDivElement;
|
|
60
|
+
inputRef: HTMLInputElement;
|
|
58
61
|
};
|
|
59
62
|
rootEl: HTMLDivElement;
|
|
60
63
|
};
|
|
@@ -63,12 +66,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
63
66
|
getRef: import('vue').Ref<any, any>;
|
|
64
67
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
65
68
|
edit: (option: DropdownOption) => any;
|
|
66
|
-
|
|
69
|
+
click: () => any;
|
|
67
70
|
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
71
|
+
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
68
72
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
73
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
70
|
-
|
|
74
|
+
onClick?: (() => any) | undefined;
|
|
71
75
|
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
76
|
+
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
72
77
|
}>, {
|
|
73
78
|
disabled: boolean;
|
|
74
79
|
options: DropdownOption[];
|
|
@@ -84,6 +89,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
84
89
|
Defaults: {};
|
|
85
90
|
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
86
91
|
triggerRef: HTMLDivElement;
|
|
92
|
+
inputRef: HTMLInputElement;
|
|
87
93
|
}, HTMLDivElement>;
|
|
88
94
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
89
95
|
export default _default;
|
|
@@ -9,11 +9,11 @@ type __VLS_Props = {
|
|
|
9
9
|
popperWidth?: number;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
-
"update:modelValue": (val?: string | number | undefined) => any;
|
|
13
12
|
change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
|
|
13
|
+
"update:modelValue": (val?: string | number | undefined) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
|
|
16
15
|
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
readonly: boolean;
|
|
19
19
|
disabled: boolean;
|
|
@@ -6,16 +6,16 @@ type __VLS_Props = {
|
|
|
6
6
|
tooltipConvert?: (v: number) => string | number;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (...args: any[]) => void;
|
|
10
9
|
change: (...args: any[]) => void;
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
12
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
+
max: number;
|
|
16
|
+
min: number;
|
|
15
17
|
modelValue: number;
|
|
16
18
|
step: number;
|
|
17
|
-
min: number;
|
|
18
|
-
max: number;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
20
|
sliderRef: HTMLDivElement;
|
|
21
21
|
}, any>;
|
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
size?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (...args: any[]) => void;
|
|
8
7
|
change: (...args: any[]) => void;
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
10
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
size: string;
|
|
@@ -23,12 +23,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
23
23
|
getRef: import('vue').Ref<any, any>;
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
25
|
edit: (option: DropdownOption) => any;
|
|
26
|
-
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
27
26
|
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
27
|
+
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
28
28
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
29
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
30
|
-
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
31
30
|
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
31
|
+
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
placeholder: string;
|
|
34
34
|
popperWidth: number;
|
|
@@ -55,5 +55,14 @@ export declare class AssetHelper {
|
|
|
55
55
|
*/
|
|
56
56
|
private static createWhiteImageWithText;
|
|
57
57
|
static clear(): void;
|
|
58
|
+
private static fileSizeCache;
|
|
59
|
+
/**
|
|
60
|
+
* 远程文件大小:优先 HEAD Content-Length,失败再试 Range
|
|
61
|
+
* 附件持久化只有 url 时用来补 size
|
|
62
|
+
*/
|
|
63
|
+
static fetchFileSize(src?: string | null): Promise<number | undefined>;
|
|
64
|
+
private static readSizeByHead;
|
|
65
|
+
private static readSizeByRange;
|
|
66
|
+
private static parseContentLength;
|
|
58
67
|
}
|
|
59
68
|
export {};
|
|
@@ -12,10 +12,24 @@ export interface ImageSizeOptions {
|
|
|
12
12
|
/** 默认最大显示宽度 */
|
|
13
13
|
maxDefaultWidth?: number;
|
|
14
14
|
}
|
|
15
|
+
export interface ImageCropRect {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
}
|
|
15
21
|
/**
|
|
16
22
|
* 根据图片原始尺寸 + 配置,计算最终显示尺寸
|
|
17
23
|
*/
|
|
18
24
|
export declare function computeImageDisplaySize(natural: ImageSize, opts?: ImageSizeOptions): ImageSize;
|
|
25
|
+
/** object-fit: cover —— 铺满目标框且不拉伸;从左上角开始裁剪 */
|
|
26
|
+
export declare function computeCoverCrop(natural: ImageSize, display: ImageSize): ImageCropRect;
|
|
27
|
+
export interface ContainLayout extends ImageSize {
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
}
|
|
31
|
+
/** object-fit: contain —— 等比缩放到目标框内并居中,保证完整显示 */
|
|
32
|
+
export declare function computeContainLayout(natural: ImageSize, box: ImageSize): ContainLayout;
|
|
19
33
|
/** 将签名姓名绘制为图片 DataURL */
|
|
20
34
|
export declare function createSignatureImageDataUrl(name: string, width: number, height: number): string;
|
|
21
35
|
/** 创建签名图片 */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_CONFIRM_TIP = "\u786E\u8BA4\u6267\u884C?";
|
|
@@ -26,6 +26,9 @@ export declare const DEFAULT_PAGE_SIZE: {
|
|
|
26
26
|
export declare const DEFAULT_PAGE_PADDING: [number, number, number, number];
|
|
27
27
|
export declare const DEFAULT_CELL_PADDING: [number, number, number, number];
|
|
28
28
|
export declare const DEFAULT_FONT_SIZE = 16;
|
|
29
|
+
export declare const DEFAULT_LINE_HEIGHT = 1.6;
|
|
30
|
+
/** 图片 / 签名行高,略高于内容,避免贴行又不过松 */
|
|
31
|
+
export declare const IMAGE_LINE_HEIGHT = 1.1;
|
|
29
32
|
export declare const DEFAULT_FONT_FAMILY = "Roboto,RobotoDraft,Helvetica,Arial,sans-serif";
|
|
30
33
|
export declare const DEFAULT_TEXT_COLOR = "black";
|
|
31
34
|
export declare const ZERO_WIDTH_SPACE = "\u200B";
|
|
@@ -52,6 +52,8 @@ export declare class DataManager {
|
|
|
52
52
|
* 避免秒存或懒读 defaults 导致提交缺标签。
|
|
53
53
|
*/
|
|
54
54
|
prepareForSubmit(): Promise<void>;
|
|
55
|
+
/** 所有子表行补齐 front_row_key_ */
|
|
56
|
+
ensureSubtableFrontRowKeys(): void;
|
|
55
57
|
/**
|
|
56
58
|
* 将 defaults Map 中尚未进入 rawData 的项物化写入(source: hydrate)。
|
|
57
59
|
* @returns 本次物化的路径列表
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
/** 子表行软删(与后端 deleted_ 约定一致;活跃行密排在前、软删行仅在后缀) */
|
|
2
1
|
export type AxisType = 'x' | 'y';
|
|
2
|
+
/** 变更认人用的前端行稳定键 */
|
|
3
|
+
export declare const FRONT_ROW_KEY = "front_row_key_";
|
|
4
|
+
/** 预览态可见标记:软删/幽灵行也参与展开 */
|
|
5
|
+
export declare const WORD_ROW_PREVIEW_VISIBLE_KEY = "__fcPreviewVisible";
|
|
6
|
+
/** 增后删幽灵标记 */
|
|
7
|
+
export declare const FORM_CHANGE_ORPHAN_ADD_KEY = "__fcOrphanAdd";
|
|
3
8
|
type PersistedSubtableRowContext = {
|
|
4
9
|
rawData?: Record<string, any>;
|
|
5
10
|
/** 子表 key,如 f_ewb、f_ewblink(不含 $.) */
|
|
6
11
|
tableKey?: string;
|
|
7
12
|
axis?: AxisType;
|
|
8
13
|
};
|
|
14
|
+
/** 仅 front_row_key_ → id_ */
|
|
15
|
+
export declare function rowIdentityKeys(row: Record<string, any> | null | undefined): string[];
|
|
16
|
+
export declare function getFrontRowKey(row: Record<string, any> | null | undefined): string | undefined;
|
|
17
|
+
/** 当前行是不是「空壳占位行」,有没有真正的业务内容 */
|
|
18
|
+
export declare function hasSubtableBusinessData(row: Record<string, any> | null | undefined): boolean;
|
|
19
|
+
/** 确保子表行有 front_row_key_ */
|
|
20
|
+
export declare function ensureFrontRowKey(row: Record<string, any> | null | undefined): string | undefined;
|
|
9
21
|
/** 是否应软删(打 deleted_ 并移到后缀)而非物理删除 */
|
|
10
22
|
export declare function isPersistedSubtableRow(row: Record<string, any> | undefined | null, ctx?: PersistedSubtableRowContext): boolean;
|
|
11
|
-
/**
|
|
23
|
+
/** 未软删的行数;预览态带 __fcPreviewVisible 的软删/幽灵行也计入;空数组返回 0 */
|
|
12
24
|
export declare function countActiveSubtableRows(rows: unknown): number;
|
|
13
25
|
/** 按字段列表拼接行分组/合并 key,空值视为 '' */
|
|
14
26
|
export declare function buildRowGroupKey(row: Record<string, unknown>, fieldKeys: readonly string[], separator?: string): string;
|
|
@@ -11,7 +11,6 @@ export declare class InteractionHandler implements IEventHandler {
|
|
|
11
11
|
private handleChangeHoverModelId;
|
|
12
12
|
private handleFocusWidget;
|
|
13
13
|
private handleShowValidationComment;
|
|
14
|
-
private handleShowRangeHighlight;
|
|
15
14
|
private handleFocusValidation;
|
|
16
15
|
private handleChangeHeader2footerBool;
|
|
17
16
|
private handleSetAnnotation;
|
|
@@ -20,9 +20,20 @@ export declare class InteractionController {
|
|
|
20
20
|
onChangeDragHoverId(hitId: string): void;
|
|
21
21
|
onSetActiveTableId(tableId: string): void;
|
|
22
22
|
clearActiveTableId(): void;
|
|
23
|
-
/**
|
|
24
|
-
private
|
|
23
|
+
/** 解析字段批注 key */
|
|
24
|
+
private resolveFieldCommentKey;
|
|
25
|
+
/**
|
|
26
|
+
* 详情 / 填报只读禁用字段点击:
|
|
27
|
+
* - 详情:仅展开批注,不激活字段 chrome、不落光标
|
|
28
|
+
* - 填报 blocked:有异常则聚焦并展开;无异常当作点空白
|
|
29
|
+
* @returns 是否已处理
|
|
30
|
+
*/
|
|
31
|
+
private settleNonEditableFieldClick;
|
|
32
|
+
/** 点选字段时:有校验异常则展开该字段错误信息,否则收起 */
|
|
33
|
+
private syncFocusValidationByModelId;
|
|
25
34
|
private syncActiveTableByMeta;
|
|
35
|
+
/** 详情或填报 blocked 字段:统一 settle;可编辑填报返回 false */
|
|
36
|
+
private trySettleNonEditableWidget;
|
|
26
37
|
resolveIntent(id: string | undefined, hitId: string | undefined): void;
|
|
27
38
|
onActivePanelData(payload: {
|
|
28
39
|
type: PanelType;
|
|
@@ -41,11 +52,6 @@ export declare class InteractionController {
|
|
|
41
52
|
fieldValue: any;
|
|
42
53
|
message: string;
|
|
43
54
|
}[]> | null): void;
|
|
44
|
-
onShowRangeHighlight(payload: Record<string, {
|
|
45
|
-
field: string;
|
|
46
|
-
fieldValue: any;
|
|
47
|
-
message: string;
|
|
48
|
-
}[]> | null): void;
|
|
49
55
|
onFocusValidation(payload: string): void;
|
|
50
56
|
onContextMenu(payload: ContextMenuParams & {
|
|
51
57
|
contextMenuRef: any;
|
|
@@ -23,31 +23,26 @@ export type InteractionState = {
|
|
|
23
23
|
panelData: ActivePanelData | null;
|
|
24
24
|
/** 引用字段配置定位(与 panel:attach-field 配合) */
|
|
25
25
|
attachFieldTarget: AttachFieldTarget | null;
|
|
26
|
-
/**
|
|
26
|
+
/** 字段填写校验批 */
|
|
27
27
|
validationCommentMap: Record<string, Array<{
|
|
28
28
|
field: string;
|
|
29
29
|
fieldValue: any;
|
|
30
30
|
message: string;
|
|
31
31
|
}>> | null;
|
|
32
|
-
/**
|
|
33
|
-
* 禁用/只读字段上下限标红(仅展示,不进校验清单、不挡提交)
|
|
34
|
-
* 与 validationCommentMap 分离,避免提交全量替换时冲掉标红
|
|
35
|
-
*/
|
|
36
|
-
rangeHighlightMap: Record<string, Array<{
|
|
37
|
-
field: string;
|
|
38
|
-
fieldValue: any;
|
|
39
|
-
message: string;
|
|
40
|
-
}>> | null;
|
|
41
32
|
/** 当前 focus 的字段校验批注信息 */
|
|
42
33
|
focusValidation: string | '';
|
|
43
34
|
/** 页眉页脚配置开关 */
|
|
44
35
|
isHeaderFooterEdit: boolean;
|
|
45
36
|
/** 记录变更的字段列表 */
|
|
46
37
|
annotationIds: string[] | null;
|
|
38
|
+
/** 变更查看模式已开启 */
|
|
39
|
+
annotationViewActive: boolean;
|
|
47
40
|
/** 当前点击的记录变更 id */
|
|
48
41
|
focusAnnotationId: string | null;
|
|
49
|
-
/**
|
|
50
|
-
|
|
42
|
+
/** 行变更预览明细 */
|
|
43
|
+
formChangeRowDetails: any[] | null;
|
|
44
|
+
/** 行变更预览前的 rawData 备份 */
|
|
45
|
+
formChangeRowPreviewBackup: Record<string, any[]> | null;
|
|
51
46
|
/** 扫码字段模式记忆(true=扫码,false=搜索) */
|
|
52
47
|
scanModeMap: Record<string, boolean>;
|
|
53
48
|
};
|