@gct-paas/word 0.1.62-beta.4 → 0.1.62-patch.2
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/README.md +1 -1
- package/dist/assets/svgs/table/index.d.ts +0 -2
- package/dist/base/button/src/button.type.d.ts +1 -1
- package/dist/base/form-item/src/form-item.vue.d.ts +2 -5
- package/dist/base/modal/src/ModalRoot.vue.d.ts +0 -2
- package/dist/base/modal/src/modal.type.d.ts +0 -4
- package/dist/base/select/src/basic-select.vue.d.ts +0 -5
- package/dist/base/utils/image-size-util.d.ts +10 -4
- package/dist/core/command/types.d.ts +2 -10
- package/dist/core/constants/index.d.ts +7 -10
- package/dist/core/data/DataManager.d.ts +0 -2
- package/dist/core/data/derived-fields.d.ts +0 -17
- package/dist/core/data/enrichers/build-field-enrichers.d.ts +4 -0
- package/dist/core/data/pipeline-logger.d.ts +1 -1
- package/dist/core/data/post-change-pipeline.d.ts +0 -5
- package/dist/core/event/handlers/InteractionHandler.d.ts +0 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/interaction/InteractionController.d.ts +0 -5
- package/dist/core/interaction/types.d.ts +1 -10
- package/dist/core/interaction/useInteraction.d.ts +0 -7
- package/dist/core/model/document/WsecPr.d.ts +1 -14
- package/dist/core/model/document/wtcRegionRef.d.ts +2 -2
- package/dist/core/model/logic/subtable/repeating/MaterialConsumeTableRegion.d.ts +0 -3
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +1 -14
- package/dist/core/utils/unit-converter-util.d.ts +0 -2
- package/dist/core/view/Doc.d.ts +1 -5
- package/dist/core/view/Section.d.ts +7 -16
- package/dist/core/view/runs/ImageWidget.d.ts +4 -0
- package/dist/domain/active/active-types.d.ts +2 -12
- package/dist/domain/constants/field-state.d.ts +0 -9
- package/dist/domain/field/field-props-schema-type.d.ts +2 -2
- package/dist/domain/field/field-type.d.ts +1 -29
- package/dist/domain/table/business/material/material-balance/index.d.ts +0 -1
- package/dist/domain/table/business/material/material-balance/profile/index.d.ts +0 -1
- package/dist/domain/table/business/material/material-consume/profile/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +14 -10
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/index.d.ts +0 -1
- package/dist/domain/table/design/autofill-expander.d.ts +1 -3
- package/dist/domain/table/runtime/api/biz-service-api.d.ts +0 -2
- package/dist/domain/table/runtime/engines/init-load-engine.d.ts +0 -1
- package/dist/domain/table/runtime/engines/linkage-engine.d.ts +2 -0
- package/dist/domain/table/runtime/engines/remote-sync-engine.d.ts +1 -1
- package/dist/domain/table/runtime/runtime-handlers.d.ts +11 -15
- package/dist/domain/table/runtime/table-runtime-context.d.ts +4 -4
- package/dist/domain/table/runtime/table-runtime-utils.d.ts +0 -8
- package/dist/domain/table/runtime/table-runtime.d.ts +1 -11
- package/dist/domain/table/types.d.ts +4 -53
- package/dist/index.es.js +174883 -141506
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +1 -12
- package/dist/runtime/canvas/table/render/material-consume/tmpl-bom-controller.d.ts +1 -1
- package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +0 -7
- package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +3 -5
- package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +18 -18
- package/dist/runtime/factories/createValidateFactory.d.ts +0 -2
- package/dist/runtime/factories/useFormValidator.d.ts +1 -9
- package/dist/runtime/interface/computed.d.ts +2 -14
- package/dist/runtime/interface/fetchers.d.ts +6 -28
- package/dist/runtime/interface/render.d.ts +24 -0
- package/dist/runtime/renderer/dialogs/signature/logic.d.ts +0 -2
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +0 -2
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/rdo-ref.d.ts +0 -17
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -1
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +2 -3
- package/dist/sdk/doc-runtime/composables/useDocOperations.d.ts +0 -3
- package/dist/sdk/doc-runtime/factories/runtime-json-builder.d.ts +2 -2
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +12 -1
- package/dist/sdk/engine/index.d.ts +2 -2
- package/dist/sdk/types/index.d.ts +1 -16
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +5 -7
- package/dist/suites/edhr/panel-schema/data-init/utils/index.d.ts +1 -3
- package/dist/suites/edhr/panel-schema/index.d.ts +0 -8
- package/dist/{domain/table/business/material/material-balance/components/material-consume-modal.vue.d.ts → suites/edhr/panel-schema/warehouse-allocate-table/WarehouseAllocateTablePanel.vue.d.ts} +4 -2
- package/dist/suites/edhr/panel-schema/warehouse-inventory-table/WarehouseInventoryTablePanel.vue.d.ts +8 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/types.d.ts +0 -11
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/utils.d.ts +0 -2
- package/dist/types/material.type.d.ts +0 -10
- package/dist/utils/TriggerUtil.d.ts +1 -1
- package/dist/utils/composables/usePagesToPdf.d.ts +2 -2
- package/dist/utils/func/core.d.ts +0 -4
- package/dist/utils/func/form.d.ts +0 -8
- package/dist/word.css +3907 -4913
- package/package.json +4 -2
- package/dist/assets/svgs/toolkit/index.d.ts +0 -10
- package/dist/core/command/commands/SetWsecSize.d.ts +0 -10
- package/dist/core/data/enrichers/path-templates.d.ts +0 -2
- package/dist/core/data/enrichers/subtable-path.d.ts +0 -15
- package/dist/core/widget/e-sop-view.d.ts +0 -4
- package/dist/domain/field/index.d.ts +0 -1
- package/dist/domain/field/of-inst-num/index.d.ts +0 -1
- package/dist/domain/field/of-inst-num/of-inst-num-enricher.d.ts +0 -23
- package/dist/domain/table/business/material/material-balance/actions/fetch-material-consume-data.d.ts +0 -7
- package/dist/domain/table/business/material/material-balance/actions/index.d.ts +0 -3
- package/dist/domain/table/business/material/material-balance/actions/open-consume-modal.d.ts +0 -7
- package/dist/domain/table/business/material/material-balance/profile/field-keys.d.ts +0 -25
- package/dist/domain/table/business/material/material-balance/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-balance/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-balance/runtime/use-consume-modal-cleanup.d.ts +0 -3
- package/dist/domain/table/business/material/material-consume/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-consume/runtime/row-change-handlers.d.ts +0 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/index.d.ts +0 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/scan.d.ts +0 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/index.d.ts +0 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +0 -45
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/index.d.ts +0 -3
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +0 -25
- package/dist/domain/table/business/shared/change-parse-rule.d.ts +0 -10
- package/dist/domain/table/business/shared/scan-action.d.ts +0 -25
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/index.d.ts +0 -2
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/scan.d.ts +0 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/index.d.ts +0 -2
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -28
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/index.d.ts +0 -3
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/row-change-handlers.d.ts +0 -5
- package/dist/domain/table/business/warehouse/warehouse-in-out/profile/field-keys.d.ts +0 -8
- package/dist/domain/table/runtime/row-change-utils.d.ts +0 -25
- package/dist/runtime/canvas/table/render/material-consume/uom-convert-runtime.d.ts +0 -36
- package/dist/runtime/designer/toolkit/svg/toolkit-svg-icon.vue.d.ts +0 -9
- package/dist/runtime/interface/context-defaults.d.ts +0 -9
- package/dist/runtime/renderer/dialogs/signature/validate-signature-config.d.ts +0 -5
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/biz.d.ts +0 -22
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/merge-select-source.d.ts +0 -10
- package/dist/suites/edhr/manifest/field/business/of-inst-num-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/e-sop-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/e-sop-version-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/material-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/production-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/shopfloor-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/sterilization-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/entrust-steril-batch-list-table/entrust-steril-batch-list-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/material-balance-table/material-balance-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/paper/modules/page-size-config.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/paper/modules/signature-config.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/paper/modules/table-setting-config.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/pretreatment-list-table/pretreatment-list-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/RulePanel.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +0 -6
- package/dist/suites/edhr/panel-schema/rule/components/field-map-row.vue.d.ts +0 -35
- package/dist/suites/edhr/panel-schema/rule/components/rule-item-card.vue.d.ts +0 -12
- package/dist/suites/edhr/panel-schema/rule/components/rule-section.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/rule/constants/builtin-field-maps.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/rule/modals/open-rule-modal.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/rule/modals/unit-field-map-modal.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/rule/rule.basic.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/rule/types.d.ts +0 -47
- package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +0 -48
- package/dist/suites/edhr/panel-schema/rule/utils/rule-field-map.d.ts +0 -29
- package/dist/suites/edhr/panel-schema/rule/utils/uom-convert-rule.d.ts +0 -26
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/autofill-runtime.d.ts +0 -15
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-node.vue.d.ts +0 -19
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +0 -26
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-utils.d.ts +0 -22
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/from-field-tree-utils.d.ts +0 -5
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/to-field-tree-utils.d.ts +0 -19
- package/dist/suites/shared/panel/modules/online-form-tmpl-module/online-form-tmpl-utils.d.ts +0 -3
package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts
CHANGED
|
@@ -198,9 +198,7 @@ export declare class MaterialConsumeTableController {
|
|
|
198
198
|
/**
|
|
199
199
|
* 校验数据,并退出编辑
|
|
200
200
|
*/
|
|
201
|
-
confirm(option: UpdateRowOption, subModelKey: string
|
|
202
|
-
/** 校验确认前:命中单位转换规则则写回转换结果字段 */
|
|
203
|
-
private applyUnitConversionBeforeConfirm;
|
|
201
|
+
confirm(option: UpdateRowOption, subModelKey: string): Promise<void>;
|
|
204
202
|
/**
|
|
205
203
|
* 生成校验清单格式的报错
|
|
206
204
|
* @param message
|
|
@@ -224,15 +222,6 @@ export declare class MaterialConsumeTableController {
|
|
|
224
222
|
* @param row
|
|
225
223
|
*/
|
|
226
224
|
editRow(option: UpdateRowOption): void;
|
|
227
|
-
/**
|
|
228
|
-
* 更新整个数组的所有行的已消耗数量
|
|
229
|
-
*
|
|
230
|
-
* 调用时机:[物料消耗表]任意一行
|
|
231
|
-
* - qty_ 字段变动时
|
|
232
|
-
* - 复制行
|
|
233
|
-
* - 删除行
|
|
234
|
-
*/
|
|
235
|
-
updateRowConsumed(doc: Doc): void;
|
|
236
225
|
/**
|
|
237
226
|
* 设置默认值,如工序,需求数量/已消耗数量
|
|
238
227
|
* @param row
|
|
@@ -45,13 +45,6 @@ export declare function useTableSelection(): {
|
|
|
45
45
|
readonly message: string;
|
|
46
46
|
}[];
|
|
47
47
|
} | null | undefined;
|
|
48
|
-
readonly rangeHighlightMap?: {
|
|
49
|
-
readonly [x: string]: readonly {
|
|
50
|
-
readonly field: string;
|
|
51
|
-
readonly fieldValue: any;
|
|
52
|
-
readonly message: string;
|
|
53
|
-
}[];
|
|
54
|
-
} | null | undefined;
|
|
55
48
|
readonly focusValidation?: string | undefined;
|
|
56
49
|
readonly isHeaderFooterEdit?: boolean | undefined;
|
|
57
50
|
readonly annotationIds?: readonly string[] | null | undefined;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ToolkitSvgKey } from '../../../assets/svgs/toolkit';
|
|
2
1
|
type __VLS_Props = {
|
|
3
|
-
icon:
|
|
2
|
+
icon: string;
|
|
3
|
+
version: 'v1' | 'v2';
|
|
4
4
|
label: string;
|
|
5
5
|
title: string;
|
|
6
6
|
noDropdown?: boolean;
|
|
7
|
-
/** 外部控制的激活态,面板打开时保持高亮 */
|
|
8
|
-
active?: boolean;
|
|
9
7
|
};
|
|
10
8
|
declare function __VLS_template(): {
|
|
11
9
|
attrs: Partial<{}>;
|
|
@@ -43,7 +41,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
43
41
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
44
42
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
45
43
|
}>, {
|
|
46
|
-
|
|
44
|
+
version: "v1" | "v2";
|
|
47
45
|
noDropdown: boolean;
|
|
48
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
49
47
|
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -3,11 +3,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
3
3
|
$: import('vue').ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: {
|
|
6
|
-
readonly icon:
|
|
6
|
+
readonly icon: string;
|
|
7
|
+
readonly version: "v1" | "v2";
|
|
7
8
|
readonly label: string;
|
|
8
9
|
readonly title: string;
|
|
9
10
|
readonly noDropdown?: boolean | undefined;
|
|
10
|
-
readonly active?: boolean | undefined;
|
|
11
11
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
readonly "onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
13
13
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -35,11 +35,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
35
35
|
$emit: ((event: "close", ...args: any[]) => void) & ((event: "visible-change", ...args: any[]) => void);
|
|
36
36
|
$el: HTMLDivElement;
|
|
37
37
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
38
|
-
icon:
|
|
38
|
+
icon: string;
|
|
39
|
+
version: "v1" | "v2";
|
|
39
40
|
label: string;
|
|
40
41
|
title: string;
|
|
41
42
|
noDropdown?: boolean;
|
|
42
|
-
active?: boolean;
|
|
43
43
|
}> & Readonly<{
|
|
44
44
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -58,7 +58,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
58
58
|
close: (...args: any[]) => void;
|
|
59
59
|
"visible-change": (...args: any[]) => void;
|
|
60
60
|
}, string, {
|
|
61
|
-
|
|
61
|
+
version: "v1" | "v2";
|
|
62
62
|
noDropdown: boolean;
|
|
63
63
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
64
64
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -81,18 +81,18 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
81
81
|
$nextTick: typeof import('vue').nextTick;
|
|
82
82
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
83
83
|
} & Readonly<{
|
|
84
|
-
|
|
84
|
+
version: "v1" | "v2";
|
|
85
85
|
noDropdown: boolean;
|
|
86
86
|
}> & Omit<Readonly<{
|
|
87
|
-
icon:
|
|
87
|
+
icon: string;
|
|
88
|
+
version: "v1" | "v2";
|
|
88
89
|
label: string;
|
|
89
90
|
title: string;
|
|
90
91
|
noDropdown?: boolean;
|
|
91
|
-
active?: boolean;
|
|
92
92
|
}> & Readonly<{
|
|
93
93
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
94
94
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
95
|
-
}>, "close" | "getRef" | "isVisible" | ("
|
|
95
|
+
}>, "close" | "getRef" | "isVisible" | ("version" | "noDropdown")> & import('vue').ShallowUnwrapRef<{
|
|
96
96
|
getRef: () => import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
97
97
|
P: {};
|
|
98
98
|
B: {};
|
|
@@ -112,11 +112,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
112
112
|
$: import('vue').ComponentInternalInstance;
|
|
113
113
|
$data: {};
|
|
114
114
|
$props: {
|
|
115
|
-
readonly icon:
|
|
115
|
+
readonly icon: string;
|
|
116
|
+
readonly version: "v1" | "v2";
|
|
116
117
|
readonly label: string;
|
|
117
118
|
readonly title: string;
|
|
118
119
|
readonly noDropdown?: boolean | undefined;
|
|
119
|
-
readonly active?: boolean | undefined;
|
|
120
120
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
readonly "onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
122
122
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -144,11 +144,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
144
144
|
$emit: ((event: "close", ...args: any[]) => void) & ((event: "visible-change", ...args: any[]) => void);
|
|
145
145
|
$el: HTMLDivElement;
|
|
146
146
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
147
|
-
icon:
|
|
147
|
+
icon: string;
|
|
148
|
+
version: "v1" | "v2";
|
|
148
149
|
label: string;
|
|
149
150
|
title: string;
|
|
150
151
|
noDropdown?: boolean;
|
|
151
|
-
active?: boolean;
|
|
152
152
|
}> & Readonly<{
|
|
153
153
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
154
154
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -167,7 +167,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
167
167
|
close: (...args: any[]) => void;
|
|
168
168
|
"visible-change": (...args: any[]) => void;
|
|
169
169
|
}, string, {
|
|
170
|
-
|
|
170
|
+
version: "v1" | "v2";
|
|
171
171
|
noDropdown: boolean;
|
|
172
172
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
173
173
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -190,18 +190,18 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
190
190
|
$nextTick: typeof import('vue').nextTick;
|
|
191
191
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
192
192
|
} & Readonly<{
|
|
193
|
-
|
|
193
|
+
version: "v1" | "v2";
|
|
194
194
|
noDropdown: boolean;
|
|
195
195
|
}> & Omit<Readonly<{
|
|
196
|
-
icon:
|
|
196
|
+
icon: string;
|
|
197
|
+
version: "v1" | "v2";
|
|
197
198
|
label: string;
|
|
198
199
|
title: string;
|
|
199
200
|
noDropdown?: boolean;
|
|
200
|
-
active?: boolean;
|
|
201
201
|
}> & Readonly<{
|
|
202
202
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
203
203
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
204
|
-
}>, "close" | "getRef" | "isVisible" | ("
|
|
204
|
+
}>, "close" | "getRef" | "isVisible" | ("version" | "noDropdown")> & import('vue').ShallowUnwrapRef<{
|
|
205
205
|
getRef: () => import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
206
206
|
P: {};
|
|
207
207
|
B: {};
|
|
@@ -4,6 +4,4 @@ export type ValidateTrigger = 'change' | 'blur' | 'focus' | 'manual';
|
|
|
4
4
|
export declare function filterRulesByTrigger(rules: any[], trigger: ValidateTrigger | 'all'): any[];
|
|
5
5
|
/** 组装校验 */
|
|
6
6
|
export declare const assembleRules: (ctx: any) => any;
|
|
7
|
-
/** 仅上下限相关规则 */
|
|
8
|
-
export declare const assembleRangeRules: (ctx: any) => any;
|
|
9
7
|
export declare const createValidatorContext: (doc: Doc, ctx: any) => any;
|
|
@@ -8,24 +8,16 @@ export type ValidationCommentMap = Record<string, Array<{
|
|
|
8
8
|
export type ValidationRunMode = ValidateTrigger | 'all';
|
|
9
9
|
/** 移除布局中已不存在字段的批注(子表删行等场景) */
|
|
10
10
|
export declare function pruneStaleValidationComments(doc: Doc, map: ValidationCommentMap): ValidationCommentMap;
|
|
11
|
-
/**
|
|
11
|
+
/** 更新校验批注面板 */
|
|
12
12
|
export declare function showValidationComments(doc: Doc, map: ValidationCommentMap): void;
|
|
13
|
-
/** 更新禁用/只读上下限标红(仅展示) */
|
|
14
|
-
export declare function showRangeHighlights(doc: Doc, map: ValidationCommentMap): void;
|
|
15
13
|
/** 立即清理失效批注并刷新面板(子表删行等) */
|
|
16
14
|
export declare function pruneValidationComments(doc: Doc): void;
|
|
17
15
|
export declare function hasValidationComments(doc: Doc | null | undefined): boolean;
|
|
18
|
-
/** 判断字段是否在校验批注中 */
|
|
19
|
-
export declare function hasFieldValidationError(map: ValidationCommentMap, runtimeValuePath: string): boolean;
|
|
20
|
-
/** 字段是否应标红(批注错误或禁用上下限标红) */
|
|
21
|
-
export declare function hasFieldErrorHighlight(validationCommentMap: ValidationCommentMap, rangeHighlightMap: ValidationCommentMap, runtimeValuePath: string): boolean;
|
|
22
16
|
/** 按运行时 valuePath 在布局树中查找对应 widget 节点(子表每行 path 唯一) */
|
|
23
17
|
export declare function findLayoutNodeByValuePath(doc: Doc, runtimeValuePath: string): any;
|
|
24
18
|
/** 校验批注连线坐标:优先按 valuePath 存取,兼容旧版 modelId */
|
|
25
19
|
export declare function getValidationCommentPoints(widgetMeta: any, runtimeValuePath: string, modelId?: string): any;
|
|
26
20
|
export declare function listWidgetValuePaths(doc: Doc): string[];
|
|
27
|
-
/** 禁用/只读字段是否仅做上下限标红(不参与提交校验) */
|
|
28
|
-
export declare function isRangeHighlightOnlyField(doc: Doc, widget: any, runtimeValuePath: string): boolean;
|
|
29
21
|
/** 请求全量校验(编辑时按 trigger 过滤规则;按钮提交用 mode=all) */
|
|
30
22
|
export declare function requestFullValidation(doc: Doc, options?: {
|
|
31
23
|
immediate?: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FIELD_TYPE } from '../../domain/field/field-type';
|
|
2
|
-
import { Doc } from '../../core';
|
|
3
2
|
import { ComputedRule } from '../../domain/field/field-props-schema-type';
|
|
4
3
|
import { FieldDataBindingMeta } from '../../domain/field/field-binding';
|
|
5
4
|
export declare const RUNTIME_DATE_DEFAULT_PREFIX = "runtimeValue:date:";
|
|
@@ -20,18 +19,7 @@ export declare function buildFieldValueUpdate(valuePath: string, value: unknown)
|
|
|
20
19
|
export declare function enrichApiDefaultValues(defaults: Record<string, any> | undefined, rule: ComputedRule, valuePath: string, fieldMeta: FieldDataBindingMeta, context: Record<string, unknown>, options?: {
|
|
21
20
|
allowSubModelRequest?: boolean;
|
|
22
21
|
}): Record<string, any> | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* 渲染端:用 context[fieldType] 补全默认值(设计态 defaultValue 优先,仅空值时填充)
|
|
25
|
-
* 适用于文本等非 api 类型字段从 paramsConfig 注入默认值
|
|
26
|
-
*/
|
|
27
|
-
export declare function enrichContextDefaultValues(defaults: Record<string, any> | undefined, valuePath: string, fieldType: FIELD_TYPE, context: Record<string, unknown>): Record<string, any> | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* E-SOP 版本字段:配置了 SOP 后的默认值补全
|
|
30
|
-
* 优先级:设计态 defaultValue > paramsConfig.sopList > 接口 default_ 版本
|
|
31
|
-
*/
|
|
32
|
-
export declare function enrichESopVersionDefaultValues(defaults: Record<string, any> | undefined, valuePath: string, props: Record<string, any>, context: Record<string, unknown>): Promise<Record<string, any> | undefined>;
|
|
33
|
-
export declare function fetchAutofillSource(field: FieldDataBindingMeta, context: any): Promise<any>;
|
|
34
22
|
/** 默认值-数据填充 */
|
|
35
|
-
export declare function loadDefaultValueByAutofillRules(instances: any[], autofillRules: any[], field: FieldDataBindingMeta, context: Record<string, unknown
|
|
23
|
+
export declare function loadDefaultValueByAutofillRules(instances: any[], autofillRules: any[], field: FieldDataBindingMeta, context: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
36
24
|
/** 选择值-数据填充 */
|
|
37
|
-
export declare function loadDataValuesByAutofillRules(record: Record<string, unknown>, autofillRules: any[], sourceValuePath: string
|
|
25
|
+
export declare function loadDataValuesByAutofillRules(record: Record<string, unknown>, instances: any[], autofillRules: any[], sourceValuePath: string): Record<string, unknown>;
|
|
@@ -5,10 +5,6 @@ interface FetcherConfig {
|
|
|
5
5
|
fetchMany?: (ids: string[], params: RequestParams) => Promise<any[]>;
|
|
6
6
|
/** 下拉列表查询 */
|
|
7
7
|
fetchDataList?: (params: RequestParams) => Promise<FetchResult>;
|
|
8
|
-
/** 根据父 id 查询全部子版本 */
|
|
9
|
-
rdoListAllVersion?: (params: RequestParams & {
|
|
10
|
-
baseId: string;
|
|
11
|
-
}) => Promise<any[]>;
|
|
12
8
|
/** 选项转换器 */
|
|
13
9
|
transformers?: {
|
|
14
10
|
toOption?: (item: any) => Option;
|
|
@@ -30,16 +26,6 @@ interface RequestParams {
|
|
|
30
26
|
isRdo?: boolean;
|
|
31
27
|
needDataLink?: boolean;
|
|
32
28
|
isLinkQuery?: boolean;
|
|
33
|
-
optionMapping?: {
|
|
34
|
-
value?: string;
|
|
35
|
-
label?: string;
|
|
36
|
-
};
|
|
37
|
-
api?: {
|
|
38
|
-
modelCategory?: string;
|
|
39
|
-
modelKey?: string;
|
|
40
|
-
modelKeyFromRef?: boolean;
|
|
41
|
-
bsKey: string;
|
|
42
|
-
};
|
|
43
29
|
[key: string]: any;
|
|
44
30
|
}
|
|
45
31
|
interface FetchResult {
|
|
@@ -74,20 +60,10 @@ declare class APIFetcher {
|
|
|
74
60
|
getOptionByIds(ids: string[], params: RequestParams): Promise<Option[]>;
|
|
75
61
|
/** 获取下拉列表选项 */
|
|
76
62
|
getOptions(params: RequestParams): Promise<OptionResult>;
|
|
77
|
-
/** 根据父 id 查询全部子版本(仅 rdo2ref 支持) */
|
|
78
|
-
rdoListAllVersion(params: RequestParams & {
|
|
79
|
-
baseId: string;
|
|
80
|
-
}): Promise<any[]>;
|
|
81
63
|
/** 单条转 Option */
|
|
82
|
-
protected toOption(item: any
|
|
83
|
-
value?: string;
|
|
84
|
-
label?: string;
|
|
85
|
-
}): Option;
|
|
64
|
+
protected toOption(item: any): Option;
|
|
86
65
|
/** 多条转 Options */
|
|
87
|
-
protected toOptions(items: any[]
|
|
88
|
-
value?: string;
|
|
89
|
-
label?: string;
|
|
90
|
-
}): Option[];
|
|
66
|
+
protected toOptions(items: any[]): Option[];
|
|
91
67
|
}
|
|
92
68
|
export declare const apiFetchers: {
|
|
93
69
|
/** 部门列表 */
|
|
@@ -98,9 +74,11 @@ export declare const apiFetchers: {
|
|
|
98
74
|
ref: APIFetcher;
|
|
99
75
|
/** Lot/SN 列表 */
|
|
100
76
|
lot2sn: APIFetcher;
|
|
77
|
+
/** ref但要Lot/SN 列表 */
|
|
78
|
+
ref2lot2sn: APIFetcher;
|
|
101
79
|
/** rdo引用数据列表 */
|
|
102
80
|
rdo2ref: APIFetcher;
|
|
103
|
-
/**
|
|
104
|
-
|
|
81
|
+
/** 产品但要 ref */
|
|
82
|
+
productRdo2ref: APIFetcher;
|
|
105
83
|
};
|
|
106
84
|
export type { FetcherConfig, RequestParams, OptionResult, Option };
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
import { DocModeType } from '../../core';
|
|
2
2
|
import { DesignSuiteContext } from '../_register_/context/DesignSuiteContext';
|
|
3
3
|
import { FieldMeta } from '../../capabilities/model-field-runtime';
|
|
4
|
+
/**
|
|
5
|
+
* 根据字段类型获取默认的查询ID值
|
|
6
|
+
* 用于根据不同类型的ID请求实验室(Lab)相关数据
|
|
7
|
+
* @returns {Object} 按字段类型映射的默认查询值对象
|
|
8
|
+
*/
|
|
9
|
+
export declare function getDefaultQueryIdsByFieldType(payload: {
|
|
10
|
+
materialNumber?: string;
|
|
11
|
+
mainRelatedLotNumber?: string;
|
|
12
|
+
productId?: string;
|
|
13
|
+
routingOperation?: string;
|
|
14
|
+
manufacturingOrderId?: string;
|
|
15
|
+
defaultUserId?: string;
|
|
16
|
+
defaultOrgId?: string;
|
|
17
|
+
}): {
|
|
18
|
+
material_no: string | undefined;
|
|
19
|
+
related_lot_no: string | undefined;
|
|
20
|
+
product: string | undefined;
|
|
21
|
+
routing_operation: string | undefined;
|
|
22
|
+
mfg_order: string | undefined;
|
|
23
|
+
user: string | undefined;
|
|
24
|
+
user_multi: string | undefined;
|
|
25
|
+
org: string | undefined;
|
|
26
|
+
org_multi: string | undefined;
|
|
27
|
+
};
|
|
4
28
|
/** 获取默认值集合 */
|
|
5
29
|
export declare function loadDefaultValuesByFields(instances: any[], ctx: DesignSuiteContext, context: any, masterSlaveList: FieldMeta[]): Promise<Record<string, any>>;
|
|
6
30
|
/** 获取数据初始化数据 */
|
|
@@ -15,8 +15,6 @@ export interface SignInfo {
|
|
|
15
15
|
* @param {string} type
|
|
16
16
|
*/
|
|
17
17
|
export declare function getSignImgByAccount(username: string, password: string, type: string): Promise<SignInfo>;
|
|
18
|
-
/** 从接口异常中提取签名错误提示 */
|
|
19
|
-
export declare function getSignatureErrorMessage(error: unknown): string;
|
|
20
18
|
export declare function getSignWay(enableSignPassword: number): {
|
|
21
19
|
label: string;
|
|
22
20
|
type: string;
|
|
@@ -3,20 +3,3 @@ export declare const rdoRefColumns: {
|
|
|
3
3
|
field: string;
|
|
4
4
|
minWidth: number;
|
|
5
5
|
}[];
|
|
6
|
-
export declare const eSopRdoRefColumns: ({
|
|
7
|
-
title: string;
|
|
8
|
-
field: string;
|
|
9
|
-
minWidth: number;
|
|
10
|
-
} | {
|
|
11
|
-
slots: {
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
title: string;
|
|
15
|
-
field: string;
|
|
16
|
-
minWidth: number;
|
|
17
|
-
} | {
|
|
18
|
-
slots: null;
|
|
19
|
-
title: string;
|
|
20
|
-
field: string;
|
|
21
|
-
minWidth: number;
|
|
22
|
-
})[];
|
|
@@ -12,7 +12,7 @@ export declare function useTableDropdown(props: any, searchFilters?: MaybeRef<Ta
|
|
|
12
12
|
}) => Promise<FetcherResult>;
|
|
13
13
|
columns: import('vue').ComputedRef<any>;
|
|
14
14
|
fieldInfo: import('vue').ComputedRef<import('../../../../../../capabilities/model-field-runtime').FieldMeta | null>;
|
|
15
|
-
strategy: import('vue').ComputedRef<import('../strategy/
|
|
15
|
+
strategy: import('vue').ComputedRef<import('../strategy/selectStrategy').SelectStrategy>;
|
|
16
16
|
message: import('vue').ComputedRef<string>;
|
|
17
17
|
showSearch: import('vue').ComputedRef<boolean>;
|
|
18
18
|
enableLinkage: import('vue').ComputedRef<boolean>;
|
|
@@ -21,10 +21,9 @@ export interface SelectQueryResult {
|
|
|
21
21
|
queryData?: Record<string, any>;
|
|
22
22
|
exp?: string;
|
|
23
23
|
}
|
|
24
|
-
export type SelectFetcherKey = 'lot2sn' | 'ref' | 'rdo2ref' | 'dept' | 'user' | 'biz';
|
|
25
24
|
export interface SelectStrategy {
|
|
26
25
|
columnsKey: string;
|
|
27
|
-
fetcher:
|
|
26
|
+
fetcher: 'lot2sn' | 'ref' | 'rdo2ref' | 'ref2lot2sn' | 'productRdo2ref';
|
|
28
27
|
isTree?: boolean;
|
|
29
28
|
/** 关联字段 key */
|
|
30
29
|
linkFieldId?: string;
|
|
@@ -52,4 +51,4 @@ export interface SelectStrategy {
|
|
|
52
51
|
*/
|
|
53
52
|
export declare function shouldEnableLinkage(doc: Doc, clickedFieldType: FIELD_TYPE, clickedKey: string): boolean;
|
|
54
53
|
export declare const selectStrategyMap: Record<string, SelectStrategy>;
|
|
55
|
-
export declare function getSelectStrategy(fieldType?: string): SelectStrategy;
|
|
54
|
+
export declare function getSelectStrategy(widgetProps: WidgetPropsMeta, fieldType?: string): SelectStrategy;
|
|
@@ -4,7 +4,6 @@ import { FieldChangeItem, WidgetFieldMetaMap } from '../../../runtime/interface/
|
|
|
4
4
|
import { DesignerValidationResult } from '../../types/designer-validation';
|
|
5
5
|
import { SubTableInfo } from '../../types';
|
|
6
6
|
import { IActionButtonItem } from '../../../types/main.type';
|
|
7
|
-
import { IPaperInfo } from '../../../core/constants';
|
|
8
7
|
/** 数据变更基线上下文 */
|
|
9
8
|
export interface DocBaselineContext {
|
|
10
9
|
baselineSnapshot: Record<string, any> | undefined;
|
|
@@ -27,8 +26,6 @@ export interface DocOperations {
|
|
|
27
26
|
validateDesigner(): DesignerValidationResult;
|
|
28
27
|
/** 获取文档模型的 XmlJson(用于保存) */
|
|
29
28
|
exportModel(): any;
|
|
30
|
-
/** 导出尺寸信息 */
|
|
31
|
-
exportPaperInfo(): IPaperInfo;
|
|
32
29
|
/**
|
|
33
30
|
* 获取文档中所有附件文件路径列表
|
|
34
31
|
* @param types 需要筛选的组件类型,默认 ['fw:file']
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageSizeEnum } from '../../../core/constants';
|
|
2
2
|
export declare class RuntimeJsonBuilder {
|
|
3
3
|
private json;
|
|
4
4
|
constructor(base: any);
|
|
@@ -6,7 +6,7 @@ export declare class RuntimeJsonBuilder {
|
|
|
6
6
|
/**
|
|
7
7
|
* 页面设置
|
|
8
8
|
*/
|
|
9
|
-
setPageSize(
|
|
9
|
+
setPageSize(size: PageSizeEnum, options: {
|
|
10
10
|
width: number;
|
|
11
11
|
height: number;
|
|
12
12
|
direction?: 'portrait' | 'landscape';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, MaybeRef, Ref, ShallowRef } from 'vue';
|
|
2
2
|
import { DocModeType, Doc } from '../../../core';
|
|
3
|
-
import { DocInfo, FieldPermissionInfo
|
|
3
|
+
import { DocInfo, FieldPermissionInfo } from '../../types';
|
|
4
4
|
import { DesignSuiteContext } from '../../../runtime/_register_/context/DesignSuiteContext';
|
|
5
5
|
import { OnlineFormInstanceResponse, OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
6
6
|
import { FormTmplBomController } from '../../../runtime/canvas/table/render/material-consume';
|
|
@@ -12,6 +12,16 @@ export interface IDocProps {
|
|
|
12
12
|
/** 查询条件 */
|
|
13
13
|
requestQuery?: Record<string, any>;
|
|
14
14
|
}
|
|
15
|
+
interface IDeviceConfig {
|
|
16
|
+
/** 默认的用户id */
|
|
17
|
+
defaultUserId: string | undefined;
|
|
18
|
+
/** 默认的部门id */
|
|
19
|
+
defaultOrgId: string | undefined;
|
|
20
|
+
/** 默认的物料查询条件 */
|
|
21
|
+
defaultProductSearchFields: string;
|
|
22
|
+
/** 是否启用人员字段 false: 不使用 true: 使用;先留着扩展,后续如果需要在字段列表过滤才使用 */
|
|
23
|
+
enableUserField: boolean;
|
|
24
|
+
}
|
|
15
25
|
export interface IDocTemplatePayload {
|
|
16
26
|
/** 渲染模式类型 */
|
|
17
27
|
renderModeType?: DocModeType;
|
|
@@ -96,3 +106,4 @@ export interface Execute {
|
|
|
96
106
|
* 职责:响应 requestId 变化 → 拉取数据 → 初始化引擎 → 暴露响应式状态
|
|
97
107
|
*/
|
|
98
108
|
export declare function useDocumentFactory(props: IDocProps, payload: IDocPayload): DocumentFactory;
|
|
109
|
+
export {};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* @gct-paas/word/engine
|
|
3
3
|
* 引擎公共 API 与类型
|
|
4
4
|
*/
|
|
5
|
-
export { DocModeTypeConst,
|
|
5
|
+
export { DocModeTypeConst, PageSizeEnumConst, BuiltinComponentTypeConst } from '../../core';
|
|
6
6
|
export type { DocModeType, CompleteComponentType, BuiltinComponentType } from '../../core';
|
|
7
|
-
export type { DocController, DocQueryAPI, WordRuntime, DocInfo, DocRuntimeMeta, DocRuntimeMetaHandleInfo, DocUnsavedChanges, DocGetUnsavedChangesOptions, DesignerValidationError, DesignerValidationResult, DesignerValidationSource, UseWordProps, UseWordOptions, FieldModelQuery,
|
|
7
|
+
export type { DocController, DocQueryAPI, WordRuntime, DocInfo, DocRuntimeMeta, DocRuntimeMetaHandleInfo, DocUnsavedChanges, DocGetUnsavedChangesOptions, DesignerValidationError, DesignerValidationResult, DesignerValidationSource, UseWordProps, UseWordOptions, FieldModelQuery, } from '../types';
|
|
8
8
|
export type { Execute } from '../doc-runtime/factories/useDocumentFactory';
|
|
9
9
|
export { useWord } from '../doc-runtime/useWord';
|
|
10
10
|
export { useDocSuite } from '../doc-runtime/composables/useDocSuite';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, Ref, ShallowRef } from 'vue';
|
|
2
|
-
import { DocModeType
|
|
2
|
+
import { DocModeType } from '../../core/constants';
|
|
3
3
|
import { DocModel } from '../../core/model';
|
|
4
4
|
import { Page } from '../../core';
|
|
5
5
|
import { DocBaselineContext, DocUnsavedChanges, DocOperations, DocGetUnsavedChangesOptions } from '../doc-runtime/composables/useDocOperations';
|
|
@@ -11,19 +11,6 @@ import { IActionButtonItem } from '../../types/main.type';
|
|
|
11
11
|
export type { DocUnsavedChanges, DocGetUnsavedChangesOptions, } from '../doc-runtime/composables/useDocOperations';
|
|
12
12
|
export type { DesignerValidationError, DesignerValidationResult, DesignerValidationSource, } from './designer-validation';
|
|
13
13
|
export type { FieldModelQuery } from './field-model-query';
|
|
14
|
-
/** 设备配置信息 */
|
|
15
|
-
export interface IDeviceConfig {
|
|
16
|
-
/** 默认的用户id */
|
|
17
|
-
defaultUserId: string | undefined;
|
|
18
|
-
/** 默认的部门id */
|
|
19
|
-
defaultOrgId: string | undefined;
|
|
20
|
-
/** 默认的登录账号 */
|
|
21
|
-
defaultLoginAccount?: string;
|
|
22
|
-
/** 默认的物料查询条件 */
|
|
23
|
-
defaultProductSearchFields: string;
|
|
24
|
-
/** 是否启用人员字段 false: 不使用 true: 使用;先留着扩展,后续如果需要在字段列表过滤才使用 */
|
|
25
|
-
enableUserField: boolean;
|
|
26
|
-
}
|
|
27
14
|
/** 文档模型层子表元信息 */
|
|
28
15
|
export interface SubTableInfo {
|
|
29
16
|
field: string;
|
|
@@ -113,8 +100,6 @@ export interface DocControllerMethods extends DocOperations {
|
|
|
113
100
|
validateDesigner(): DesignerValidationResult;
|
|
114
101
|
/** 导出当前文档模型 XmlJson(常用于保存) */
|
|
115
102
|
exportModel(): any;
|
|
116
|
-
/** 导出尺寸信息 */
|
|
117
|
-
exportPaperInfo(): IPaperInfo;
|
|
118
103
|
/** 获取文档内附件路径列表(默认提取 fw:file 组件) */
|
|
119
104
|
getDocumentAttachmentPaths(types?: string[]): string[];
|
|
120
105
|
/** 记录当前数据基线并切换到填报模式(用于后续变更比对) */
|
|
@@ -7,7 +7,6 @@ export declare const commonDefaultProps: {
|
|
|
7
7
|
readonly emptySymbol: null;
|
|
8
8
|
readonly required: true;
|
|
9
9
|
readonly disabled: false;
|
|
10
|
-
readonly fieldDisabled: false;
|
|
11
10
|
readonly defaultValue: null;
|
|
12
11
|
readonly placeholder: null;
|
|
13
12
|
readonly componentDependency: ComponentDependency;
|
|
@@ -15,10 +14,6 @@ export declare const commonDefaultProps: {
|
|
|
15
14
|
readonly cannotInput: false;
|
|
16
15
|
readonly newSpecificConfig: {};
|
|
17
16
|
};
|
|
18
|
-
export declare const autofillFieldDefaultProps: {
|
|
19
|
-
readonly autofillEnabled: false;
|
|
20
|
-
readonly autofillRules: readonly [];
|
|
21
|
-
};
|
|
22
17
|
export declare const dateFieldDefaultProps: {
|
|
23
18
|
readonly enableCustomFormat: false;
|
|
24
19
|
readonly formatSeparator: "-";
|
|
@@ -36,8 +31,6 @@ export declare const dateFieldDefaultProps: {
|
|
|
36
31
|
export declare const numberFieldDefaultProps: {
|
|
37
32
|
readonly displayMode: string;
|
|
38
33
|
readonly enableRangeValidate: false;
|
|
39
|
-
/** 禁用/只读时仍校验上下限(仅编辑态标红,不参与提交校验) */
|
|
40
|
-
readonly enableRangeValidateWhenBlocked: false;
|
|
41
34
|
readonly maxValidateMode: string;
|
|
42
35
|
readonly minValidateMode: string;
|
|
43
36
|
readonly minValue: undefined;
|
|
@@ -75,6 +68,11 @@ export declare const styleSizeDefaultProps: {
|
|
|
75
68
|
/** 组件默认高度 */
|
|
76
69
|
readonly height: 68;
|
|
77
70
|
};
|
|
71
|
+
/** 签名/报工人等:与无图兜底画布同比例(≈1.76:1),默认略放大便于阅读 */
|
|
72
|
+
export declare const signStyleSizeDefaultProps: {
|
|
73
|
+
readonly width: 180;
|
|
74
|
+
readonly height: 102;
|
|
75
|
+
};
|
|
78
76
|
export declare const labelPriorityConfig: PriorityRule;
|
|
79
77
|
export declare const labelResolveDateConfig: ResolveRule;
|
|
80
78
|
export declare const labelResolveUserConfig: ResolveRule;
|
|
@@ -8,11 +8,8 @@ export declare function registryPanelSchemas(): {
|
|
|
8
8
|
'warehouse-in-out-table.basic': import('../../..').PanelSchema;
|
|
9
9
|
'warehouse-inventory-table.basic': import('../../..').PanelSchema;
|
|
10
10
|
'warehouse-allocate-table.basic': import('../../..').PanelSchema;
|
|
11
|
-
'entrust-steril-batch-list-table.basic': import('../../..').PanelSchema;
|
|
12
|
-
'pretreatment-list-table.basic': import('../../..').PanelSchema;
|
|
13
11
|
'2d-table.basic': import('../../..').PanelSchema;
|
|
14
12
|
'material-consume-table.basic': import('../../..').PanelSchema;
|
|
15
|
-
'material-balance-table.basic': import('../../..').PanelSchema;
|
|
16
13
|
'fixed-table.basic': import('../../..').PanelSchema;
|
|
17
14
|
'check-table.basic': import('../../..').PanelSchema;
|
|
18
15
|
'data-group.basic': {
|
|
@@ -49,11 +46,6 @@ export declare function registryPanelSchemas(): {
|
|
|
49
46
|
title: string;
|
|
50
47
|
render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
51
48
|
};
|
|
52
|
-
'rule.basic': {
|
|
53
|
-
key: string;
|
|
54
|
-
title: string;
|
|
55
|
-
render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
56
|
-
};
|
|
57
49
|
'paper-header-footer.basic': {
|
|
58
50
|
key: string;
|
|
59
51
|
title: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActivePanelData } from '../../../../domain/active/active-types';
|
|
2
|
+
import { Wtbl } from '../../../../core';
|
|
2
3
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
+
widget: Wtbl;
|
|
5
|
+
active: ActivePanelData;
|
|
4
6
|
};
|
|
5
7
|
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>;
|
|
6
8
|
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActivePanelData } from '../../../../domain/active/active-types';
|
|
2
|
+
import { Wtbl } from '../../../../core';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
widget: Wtbl;
|
|
5
|
+
active: ActivePanelData;
|
|
6
|
+
};
|
|
7
|
+
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>;
|
|
8
|
+
export default _default;
|