@gct-paas/word 0.2.5-beta.7 → 0.2.6
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/svgs/table/index.d.ts +0 -1
- package/dist/base/input/src/input-number.vue.d.ts +0 -1
- package/dist/base/message/src/Message.vue.d.ts +0 -2
- package/dist/base/message/src/message.d.ts +0 -2
- package/dist/base/modal/src/modal.type.d.ts +1 -3
- package/dist/base/select/src/basic-select.vue.d.ts +4 -16
- package/dist/core/command/commands/DeleteRow.d.ts +1 -1
- package/dist/core/data/DataManager.d.ts +1 -6
- package/dist/core/data/types/runtime-config.d.ts +0 -11
- package/dist/core/index.d.ts +0 -2
- package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +1 -4
- package/dist/core/model/logic/subtable/shared/merged-table-range.d.ts +4 -0
- package/dist/core/view/Doc.d.ts +0 -3
- package/dist/domain/active/active-types.d.ts +1 -3
- package/dist/domain/field/field-type.d.ts +0 -56
- package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/domain/table/business/material/types.d.ts +1 -2
- package/dist/domain/table/design/ribbon-options.d.ts +0 -2
- package/dist/domain/table/design/sub-model-matcher.d.ts +0 -2
- package/dist/domain/table/index.d.ts +0 -2
- package/dist/domain/table/registry.d.ts +1 -1
- package/dist/domain/table/runtime/table-runtime.d.ts +0 -1
- package/dist/domain/table/types.d.ts +3 -11
- package/dist/index.es.js +5018 -25430
- package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +2 -10
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +0 -6
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/fixed-quick-fill-layout.d.ts +30 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/quick-fill.util.d.ts +2 -1
- package/dist/runtime/interface/computed.d.ts +1 -1
- package/dist/runtime/renderer/dialogs/device-scan/submit-device-scan.d.ts +0 -3
- package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +0 -1
- package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +0 -1
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useSelectTable.d.ts +0 -2
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -2
- package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +2 -2
- package/dist/runtime/validation/useFormValidator.d.ts +0 -4
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +0 -5
- package/dist/sdk/setup.d.ts +0 -2
- package/dist/sdk/types/index.d.ts +0 -5
- package/dist/sdk/vue/index.d.ts +0 -6
- package/dist/suites/edhr/panel-schema/index.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +3 -8
- package/dist/suites/edhr/panel-schema/rule/types.d.ts +0 -3
- package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +0 -12
- package/dist/suites/shared/panel/modules/field-formula-module/field-formula-module.vue.d.ts +0 -1
- package/dist/word.css +342 -802
- package/package.json +4 -4
- package/dist/core/data/enrichers/udi-enricher.d.ts +0 -23
- package/dist/core/data/formula/business-functions.d.ts +0 -4
- package/dist/core/runtime/DocumentRuntimeManager.d.ts +0 -34
- package/dist/domain/document-rule/index.d.ts +0 -3
- package/dist/domain/document-rule/runtime/decision-rule-evaluator.d.ts +0 -13
- package/dist/domain/document-rule/runtime/document-rule-runtime.d.ts +0 -19
- package/dist/domain/document-rule/types.d.ts +0 -50
- package/dist/domain/table/business/device/maintenance/index.d.ts +0 -1
- package/dist/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
- package/dist/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
- package/dist/domain/table/business/device/point-inspection/index.d.ts +0 -1
- package/dist/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
- package/dist/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
- package/dist/domain/table/business/device/runtime/device-signature-lock-engine.d.ts +0 -13
- package/dist/domain/table/business/device/signature-lock.d.ts +0 -26
- package/dist/domain/table/business/material/material-substitution/actions/scan.d.ts +0 -3
- package/dist/domain/table/business/material/material-substitution/index.d.ts +0 -3
- package/dist/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -39
- package/dist/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
- package/dist/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -3
- package/dist/domain/table/design/hooks/on-bounded-default-props.d.ts +0 -3
- package/dist/runtime/designer/ribbon/hooks/useDhrEdition.d.ts +0 -7
- package/dist/runtime/renderer/dialogs/document-rule-prompt/document-rule-prompt.vue.d.ts +0 -5
- package/dist/runtime/renderer/dialogs/document-rule-prompt/open-document-rule-prompt.d.ts +0 -2
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/material-consume-history.d.ts +0 -17
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useSearchEnter.d.ts +0 -18
- package/dist/sdk/doc-runtime/composables/useDocumentRulePrompt.d.ts +0 -3
- package/dist/suites/edhr/manifest/field/business/inspection-module-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/udi-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/device-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/inspection-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/process-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/inspection-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/sterilization-date-manifest.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/material-substitution-table/material-substitution-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/components/decision-rule-condition.vue.d.ts +0 -19
- package/dist/suites/edhr/panel-schema/rule/components/decision-rule-group.vue.d.ts +0 -16
- package/dist/suites/edhr/panel-schema/rule/modals/inspection-decision-modal.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/rule/modals/open-inspection-decision-modal.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/rule/utils/decision-rule.d.ts +0 -34
- package/dist/suites/shared/panel/utils/default-value-visibility.d.ts +0 -3
|
@@ -24,7 +24,6 @@ export declare const TABLE_BUSINESS_SVG: {
|
|
|
24
24
|
readonly 'material-consume': string;
|
|
25
25
|
readonly 'material-balance': string;
|
|
26
26
|
readonly 'material-requisition': string;
|
|
27
|
-
readonly 'material-substitution': string;
|
|
28
27
|
readonly 'check-table': string;
|
|
29
28
|
readonly 'pretreatment-list': string;
|
|
30
29
|
readonly 'entrust-steril-batch-list': string;
|
|
@@ -2,10 +2,8 @@ import { VNode } from 'vue';
|
|
|
2
2
|
export interface MessageOptions {
|
|
3
3
|
type?: 'info' | 'success' | 'warning' | 'error';
|
|
4
4
|
message: string | VNode | (() => VNode);
|
|
5
|
-
title?: string;
|
|
6
5
|
duration?: number;
|
|
7
6
|
closeable?: boolean;
|
|
8
|
-
key?: string;
|
|
9
7
|
}
|
|
10
8
|
declare function GctMessage(options: MessageOptions): void;
|
|
11
9
|
declare namespace GctMessage {
|
|
@@ -5,7 +5,7 @@ export interface IModalInstance {
|
|
|
5
5
|
setLoading: (v: boolean) => void;
|
|
6
6
|
}
|
|
7
7
|
export interface IModalContext extends IModalInstance {
|
|
8
|
-
setOnConfirm: (fn:
|
|
8
|
+
setOnConfirm: (fn: any) => void;
|
|
9
9
|
}
|
|
10
10
|
export interface IModalOptions {
|
|
11
11
|
title?: string;
|
|
@@ -13,8 +13,6 @@ export interface IModalOptions {
|
|
|
13
13
|
bodyProps?: any;
|
|
14
14
|
width?: number;
|
|
15
15
|
height?: number;
|
|
16
|
-
/** 弹框最大高度,数字按 px,字符串可传 90vh 等 CSS 值。 */
|
|
17
|
-
maxHeight?: number | string;
|
|
18
16
|
zIndex?: number;
|
|
19
17
|
className?: string;
|
|
20
18
|
closable?: boolean;
|
|
@@ -42,10 +42,6 @@ type __VLS_Props = {
|
|
|
42
42
|
allowCreate?: boolean;
|
|
43
43
|
/** 下拉选项是否可搜索 */
|
|
44
44
|
searchable?: boolean;
|
|
45
|
-
/** 由外部请求搜索结果,跳过本地过滤 */
|
|
46
|
-
remote?: boolean;
|
|
47
|
-
/** 当前选中项的回显信息,可不在搜索结果中 */
|
|
48
|
-
selectedOption?: DropdownOption;
|
|
49
45
|
};
|
|
50
46
|
declare function __VLS_template(): {
|
|
51
47
|
attrs: Partial<{}>;
|
|
@@ -62,7 +58,6 @@ declare function __VLS_template(): {
|
|
|
62
58
|
'option-icon'?(_: {
|
|
63
59
|
option: DropdownOption;
|
|
64
60
|
}): any;
|
|
65
|
-
'bottom-bar'?(_: {}): any;
|
|
66
61
|
};
|
|
67
62
|
refs: {
|
|
68
63
|
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -84,21 +79,15 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
84
79
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
85
80
|
getRef: import('vue').Ref<any, any>;
|
|
86
81
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
87
|
-
search: (keyword: string) => any;
|
|
88
82
|
edit: (option: DropdownOption) => any;
|
|
89
83
|
click: (evt: any) => any;
|
|
90
|
-
"update:modelValue": (val: string | number | (string | number)[]
|
|
91
|
-
change: (val: string | number | (string | number)[]
|
|
92
|
-
"dropdown-show": () => any;
|
|
93
|
-
"reach-bottom": () => any;
|
|
84
|
+
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
85
|
+
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
94
86
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
95
|
-
onSearch?: ((keyword: string) => any) | undefined;
|
|
96
87
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
97
88
|
onClick?: ((evt: any) => any) | undefined;
|
|
98
|
-
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]
|
|
99
|
-
onChange?: ((val: string | number | (string | number)[]
|
|
100
|
-
"onDropdown-show"?: (() => any) | undefined;
|
|
101
|
-
"onReach-bottom"?: (() => any) | undefined;
|
|
89
|
+
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
90
|
+
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
102
91
|
}>, {
|
|
103
92
|
disabled: boolean;
|
|
104
93
|
options: DropdownOption[];
|
|
@@ -107,7 +96,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
107
96
|
allowClear: boolean;
|
|
108
97
|
unremovableValues: Array<string | number>;
|
|
109
98
|
searchable: boolean;
|
|
110
|
-
remote: boolean;
|
|
111
99
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
112
100
|
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
113
101
|
P: {};
|
|
@@ -4,7 +4,7 @@ import { CommandBase, PostCommandContext } from '../base/CommandBase';
|
|
|
4
4
|
/**
|
|
5
5
|
* 表格行删除命令
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 删除指定索引处的行
|
|
8
8
|
*/
|
|
9
9
|
export declare class DeleteRow extends CommandBase<'deleteRow'> {
|
|
10
10
|
constructor(doc: Doc, payload?: CommandPayloadMap['deleteRow']);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Doc } from '../view/Doc';
|
|
2
|
-
import { EmitSource, Data, PartialData,
|
|
2
|
+
import { EmitSource, Data, PartialData, FieldRuntimeSpecificConfig, PostChangePipelineContext } from './types';
|
|
3
3
|
type JsonPath = string;
|
|
4
4
|
type SubscriptionCallback = (newValue: any, oldValue: any) => void;
|
|
5
5
|
/**
|
|
@@ -72,11 +72,6 @@ export declare class DataManager {
|
|
|
72
72
|
setRuntimeSpecificConfig(entries: any): void;
|
|
73
73
|
getFieldRuntimeSpecificConfig(path: JsonPath): FieldRuntimeSpecificConfig | undefined;
|
|
74
74
|
setFieldRuntimeSpecificConfig(path: JsonPath, partial: FieldRuntimeSpecificConfig): void;
|
|
75
|
-
/**
|
|
76
|
-
* 原子替换某一功能来源施加的全部字段约束。
|
|
77
|
-
* 未出现在 constraintsByPath 中的旧约束会被清理,其他来源和普通运行时配置不受影响。
|
|
78
|
-
*/
|
|
79
|
-
replaceFieldRuntimeConstraints(source: string, constraintsByPath: ReadonlyMap<JsonPath, FieldRuntimeConstraint>): void;
|
|
80
75
|
/** 子表插行后:index 及之后的行配置下标 +1 */
|
|
81
76
|
private shiftFieldRuntimeConfigAfterRowInsert;
|
|
82
77
|
/** 子表删行后:移除该行配置,其后行配置下标 -1 */
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 独立运行时功能施加的字段约束。
|
|
3
|
-
*
|
|
4
|
-
* 多个来源互不覆盖,最终状态按“任一来源为 true”聚合。
|
|
5
|
-
*/
|
|
6
|
-
export type FieldRuntimeConstraint = {
|
|
7
|
-
readonly?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
};
|
|
10
1
|
/** 组件依赖按 runtime valuePath 写入的运行时配置(子表各行独立) */
|
|
11
2
|
export type FieldRuntimeSpecificConfig = {
|
|
12
3
|
newReadonly?: boolean;
|
|
13
4
|
newRequired?: boolean;
|
|
14
5
|
newDisabled?: boolean;
|
|
15
|
-
/** 按功能来源隔离的强制约束,避免解除某项约束时覆盖其他运行时规则 */
|
|
16
|
-
runtimeConstraints?: Record<string, FieldRuntimeConstraint>;
|
|
17
6
|
/** assignment 策略「始终覆盖」时按行不可输入 */
|
|
18
7
|
cannotInput?: boolean;
|
|
19
8
|
/** 实例数字段:用户手填后不再被 API 回填覆盖 */
|
package/dist/core/index.d.ts
CHANGED
|
@@ -9,8 +9,6 @@ export { validateTextWidgetMarker } from './layout/logic/LayoutBuilder';
|
|
|
9
9
|
export { CommandType } from './command/types';
|
|
10
10
|
export { ModelConverter } from './model';
|
|
11
11
|
export { DocumentEventBridge } from './event/DocumentEventBridge';
|
|
12
|
-
export { DocumentRuntimeManager } from './runtime/DocumentRuntimeManager';
|
|
13
|
-
export type { DocumentRuntimeExtension, DocumentValidationContext, DocumentValidationDecision, } from './runtime/DocumentRuntimeManager';
|
|
14
12
|
export { DocModeTypeConst, PaperSizeConst, BuiltinComponentTypeConst } from './constants';
|
|
15
13
|
export { default as CursorOverlay } from './cursor/render/cursor-overlay.vue';
|
|
16
14
|
export { default as HiddenInput } from './cursor/render/hidden-input.vue';
|
|
@@ -29,7 +29,7 @@ export declare const SUB_TABLE_REGION_TYPES: readonly ["repeating", "bounded", "
|
|
|
29
29
|
* 子表 layout 类型
|
|
30
30
|
* Ribbon 面板、子表主题色均使用此类型;主题配置见 @/domain/table 各 Profile.theme
|
|
31
31
|
*/
|
|
32
|
-
export type SubTableLayoutType = 'dynamic-table' | 'fixed-table' | '2d-table' | 'check-table' | 'material-consume-table' | 'material-balance-table' | 'material-requisition-table' | '
|
|
32
|
+
export type SubTableLayoutType = 'dynamic-table' | 'fixed-table' | '2d-table' | 'check-table' | 'material-consume-table' | 'material-balance-table' | 'material-requisition-table' | 'warehouse-in-table' | 'warehouse-inbound-table' | 'warehouse-out-table' | 'warehouse-outbound-table' | 'warehouse-in-out-table' | 'warehouse-inventory-table' | 'part-stocktake-table' | 'device-part-consume-table' | 'warehouse-allocate-table' | 'pretreatment-list-table' | 'entrust-steril-batch-list-table';
|
|
33
33
|
/** 表头 layout 类型 */
|
|
34
34
|
export type TableHeaderLayoutType = 'table-header';
|
|
35
35
|
/** 所有子表表格 layout 类型 */
|
|
@@ -63,14 +63,11 @@ export type MaterialBalanceTableProps = RepeatingWidgetPropsBase & {
|
|
|
63
63
|
export type MaterialRequisitionTableProps = RepeatingWidgetPropsBase & {
|
|
64
64
|
layoutType: 'material-requisition-table';
|
|
65
65
|
};
|
|
66
|
-
export type MaterialSubstitutionTableProps = RepeatingWidgetPropsBase & {
|
|
67
|
-
layoutType: 'material-substitution-table';
|
|
68
|
-
};
|
|
69
66
|
export type WarehouseAllocateTableProps = RepeatingWidgetPropsBase & {
|
|
70
67
|
layoutType: 'warehouse-allocate-table';
|
|
71
68
|
barcode_parsing_rules_id_?: string;
|
|
72
69
|
};
|
|
73
|
-
export type RepeatingWidgetPropsMeta = DynamicTableProps | WarehouseInTableProps | WarehouseInboundTableProps | WarehouseOutTableProps | WarehouseOutboundTableProps | WarehouseInOutTableProps | WarehouseInventoryTableProps | PartStocktakeTableProps | DevicePartConsumeTableProps | WarehouseAllocateTableProps | MaterialBalanceTableProps | MaterialRequisitionTableProps |
|
|
70
|
+
export type RepeatingWidgetPropsMeta = DynamicTableProps | WarehouseInTableProps | WarehouseInboundTableProps | WarehouseOutTableProps | WarehouseOutboundTableProps | WarehouseInOutTableProps | WarehouseInventoryTableProps | PartStocktakeTableProps | DevicePartConsumeTableProps | WarehouseAllocateTableProps | MaterialBalanceTableProps | MaterialRequisitionTableProps | EntrustSterilBatchListTableProps | PretreatmentListTableProps;
|
|
74
71
|
export type RepeatingWidgetMeta = {
|
|
75
72
|
props: RepeatingWidgetPropsMeta;
|
|
76
73
|
};
|
package/dist/core/view/Doc.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ import { DocModeType } from '../constants';
|
|
|
11
11
|
import { CommandPayloadMap, RequiredPayloadCommands, OptionalPayloadCommands } from '../command/types';
|
|
12
12
|
import { DocModel } from '../model';
|
|
13
13
|
import { DocRuntimeMeta, FieldModelQuery, IDeviceConfig } from '../../sdk/types';
|
|
14
|
-
import { DocumentRuntimeManager } from '../runtime/DocumentRuntimeManager';
|
|
15
14
|
export interface DocInitOptions {
|
|
16
15
|
mode?: DocModeType;
|
|
17
16
|
model?: DocModel;
|
|
@@ -68,8 +67,6 @@ export declare class Doc {
|
|
|
68
67
|
eventManager: EventManager;
|
|
69
68
|
dataManager: DataManager;
|
|
70
69
|
interactionManager: InteractionManager;
|
|
71
|
-
/** 文档级业务运行时统一生命周期。 */
|
|
72
|
-
runtimeManager: DocumentRuntimeManager;
|
|
73
70
|
pageSize: {
|
|
74
71
|
width: number;
|
|
75
72
|
height: number;
|
|
@@ -32,10 +32,8 @@ export type PanelType =
|
|
|
32
32
|
| 'panel:device-part-consume-table'
|
|
33
33
|
/** 物料平衡表 */
|
|
34
34
|
| 'panel:material-balance-table'
|
|
35
|
-
/**
|
|
35
|
+
/** 生产收料表 */
|
|
36
36
|
| 'panel:material-requisition-table'
|
|
37
|
-
/** 物料替换表 */
|
|
38
|
-
| 'panel:material-substitution-table'
|
|
39
37
|
/** 库存调拨表 */
|
|
40
38
|
| 'panel:warehouse-allocate-table'
|
|
41
39
|
/** 二维表 */
|
|
@@ -334,10 +334,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
334
334
|
* 检验数量
|
|
335
335
|
*/
|
|
336
336
|
readonly INSPECTION_QTY: "inspection_qty";
|
|
337
|
-
/**
|
|
338
|
-
* 受检数量
|
|
339
|
-
*/
|
|
340
|
-
readonly INSPECTION_MODULE_QTY: "inspection_module_qty";
|
|
341
337
|
/**
|
|
342
338
|
* 工序接收数量
|
|
343
339
|
*/
|
|
@@ -390,18 +386,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
390
386
|
* 物料日期对象
|
|
391
387
|
*/
|
|
392
388
|
readonly DATE_OBJECT: "date_object";
|
|
393
|
-
/**
|
|
394
|
-
* 检验参数对象
|
|
395
|
-
*/
|
|
396
|
-
readonly INSPECTION_PARAMETER_OBJECT: "inspection_parameter_object";
|
|
397
|
-
/**
|
|
398
|
-
* 工艺参数对象
|
|
399
|
-
*/
|
|
400
|
-
readonly PROCESS_PARAMETER_OBJECT: "process_parameter_object";
|
|
401
|
-
/**
|
|
402
|
-
* 设备参数对象
|
|
403
|
-
*/
|
|
404
|
-
readonly DEVICE_PARAMETER_OBJECT: "device_parameter_object";
|
|
405
389
|
/**
|
|
406
390
|
* 有效期
|
|
407
391
|
*/
|
|
@@ -434,10 +418,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
434
418
|
* 表单实例数
|
|
435
419
|
*/
|
|
436
420
|
readonly OF_INST_NUM: "of_inst_num";
|
|
437
|
-
/**
|
|
438
|
-
* 医疗器械唯一标识
|
|
439
|
-
*/
|
|
440
|
-
readonly UDI: "udi";
|
|
441
421
|
/**
|
|
442
422
|
* 生产数量
|
|
443
423
|
*/
|
|
@@ -454,14 +434,6 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
454
434
|
* 灭菌批(追溯)
|
|
455
435
|
*/
|
|
456
436
|
readonly STERILIZATION_CONTAINER: "sterilization_container";
|
|
457
|
-
/**
|
|
458
|
-
* 检验批
|
|
459
|
-
*/
|
|
460
|
-
readonly INSPECTION_CONTAINER: "inspection_container";
|
|
461
|
-
/**
|
|
462
|
-
* 灭菌日期
|
|
463
|
-
*/
|
|
464
|
-
readonly STERILIZATION_DATE: "sterilization_date";
|
|
465
437
|
};
|
|
466
438
|
export type BusinessFieldType = (typeof BUSINESS_FIELD_TYPE)[keyof typeof BUSINESS_FIELD_TYPE];
|
|
467
439
|
/** 字段类型 = 基础 + 业务 */
|
|
@@ -582,10 +554,6 @@ export declare const FIELD_TYPE: {
|
|
|
582
554
|
* 检验数量
|
|
583
555
|
*/
|
|
584
556
|
readonly INSPECTION_QTY: "inspection_qty";
|
|
585
|
-
/**
|
|
586
|
-
* 受检数量
|
|
587
|
-
*/
|
|
588
|
-
readonly INSPECTION_MODULE_QTY: "inspection_module_qty";
|
|
589
557
|
/**
|
|
590
558
|
* 工序接收数量
|
|
591
559
|
*/
|
|
@@ -638,18 +606,6 @@ export declare const FIELD_TYPE: {
|
|
|
638
606
|
* 物料日期对象
|
|
639
607
|
*/
|
|
640
608
|
readonly DATE_OBJECT: "date_object";
|
|
641
|
-
/**
|
|
642
|
-
* 检验参数对象
|
|
643
|
-
*/
|
|
644
|
-
readonly INSPECTION_PARAMETER_OBJECT: "inspection_parameter_object";
|
|
645
|
-
/**
|
|
646
|
-
* 工艺参数对象
|
|
647
|
-
*/
|
|
648
|
-
readonly PROCESS_PARAMETER_OBJECT: "process_parameter_object";
|
|
649
|
-
/**
|
|
650
|
-
* 设备参数对象
|
|
651
|
-
*/
|
|
652
|
-
readonly DEVICE_PARAMETER_OBJECT: "device_parameter_object";
|
|
653
609
|
/**
|
|
654
610
|
* 有效期
|
|
655
611
|
*/
|
|
@@ -682,10 +638,6 @@ export declare const FIELD_TYPE: {
|
|
|
682
638
|
* 表单实例数
|
|
683
639
|
*/
|
|
684
640
|
readonly OF_INST_NUM: "of_inst_num";
|
|
685
|
-
/**
|
|
686
|
-
* 医疗器械唯一标识
|
|
687
|
-
*/
|
|
688
|
-
readonly UDI: "udi";
|
|
689
641
|
/**
|
|
690
642
|
* 生产数量
|
|
691
643
|
*/
|
|
@@ -702,14 +654,6 @@ export declare const FIELD_TYPE: {
|
|
|
702
654
|
* 灭菌批(追溯)
|
|
703
655
|
*/
|
|
704
656
|
readonly STERILIZATION_CONTAINER: "sterilization_container";
|
|
705
|
-
/**
|
|
706
|
-
* 检验批
|
|
707
|
-
*/
|
|
708
|
-
readonly INSPECTION_CONTAINER: "inspection_container";
|
|
709
|
-
/**
|
|
710
|
-
* 灭菌日期
|
|
711
|
-
*/
|
|
712
|
-
readonly STERILIZATION_DATE: "sterilization_date";
|
|
713
657
|
/**
|
|
714
658
|
* 文本
|
|
715
659
|
*/
|
|
@@ -7,8 +7,6 @@ export interface RibbonTableOptionsParams {
|
|
|
7
7
|
suiteKey?: string;
|
|
8
8
|
/** 套件级需从 Ribbon 隐藏的业务表类型 */
|
|
9
9
|
hiddenBusinessTableTypes?: BusinessSubTableType[];
|
|
10
|
-
/** 是否可使用仅向 eDHR Max / Ultra 开放的业务表 */
|
|
11
|
-
canUseMaxEditionTables?: boolean;
|
|
12
10
|
}
|
|
13
11
|
/** 生成 Ribbon「数据表」「业务表」下拉选项 */
|
|
14
12
|
export declare function getRibbonTableOptions(params?: RibbonTableOptionsParams): {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { FieldMeta } from '../../../capabilities/model-field-runtime';
|
|
2
2
|
import { DropdownOption } from '../../../base';
|
|
3
|
-
/** 是否为仅能通过固定表入口选择的业务子模型。 */
|
|
4
|
-
export declare function isFixedOnlyBusinessRefModelType(refModelType: string | undefined | null): boolean;
|
|
5
3
|
/**
|
|
6
4
|
* 生成「选择子模型」下拉选项
|
|
7
5
|
* @param tableTypeOrRibbonAction 表类型或 Ribbon action
|
|
@@ -13,7 +13,5 @@ export * from './runtime/table-runtime';
|
|
|
13
13
|
export * from './design/hooks/on-subtable-create';
|
|
14
14
|
export * from './design/hooks/on-field-attach';
|
|
15
15
|
export * from './design/hooks/on-repeating-default-props';
|
|
16
|
-
export * from './design/hooks/on-bounded-default-props';
|
|
17
16
|
export * from './design/validate-table-selection';
|
|
18
17
|
export * from './design/validate-nested-table-region';
|
|
19
|
-
export * from './business/device/signature-lock';
|
|
@@ -15,5 +15,5 @@ export declare function getProfileByLayoutType(layoutType: string): TableProfile
|
|
|
15
15
|
*/
|
|
16
16
|
export declare function getAllBusinessRefModelTypes(): string[];
|
|
17
17
|
/** 按 refModelType 获取业务表 Profile */
|
|
18
|
-
export declare function getBusinessProfileByRefModelType(refModelType: string
|
|
18
|
+
export declare function getBusinessProfileByRefModelType(refModelType: string): BusinessSubTableProfile | undefined;
|
|
19
19
|
export { ALL_TABLE_PROFILES };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FIELD_TYPE } from '../field/field-type';
|
|
2
2
|
import { SubTableLayoutType } from '../../core/model/document/wtcRegionRef';
|
|
3
|
-
import { RequiredQtyCalcRule } from './business/material/types';
|
|
4
3
|
/**
|
|
5
4
|
* 数据表类型
|
|
6
5
|
* @property dynamic-table - 动态表
|
|
@@ -21,15 +20,12 @@ export type DataTableType = 'dynamic-table' | 'fixed-table' | 'two-d-table';
|
|
|
21
20
|
* @property warehouse-allocate - 库存调拨表
|
|
22
21
|
* @property material-consume - 物料消耗表
|
|
23
22
|
* @property material-balance - 物料平衡表
|
|
24
|
-
* @property material-requisition -
|
|
25
|
-
* @property material-substitution - 物料替换表
|
|
26
|
-
* @property point-inspection - 设备点检表(固定表业务模型)
|
|
27
|
-
* @property maintenance - 设备保养表(固定表业务模型)
|
|
23
|
+
* @property material-requisition - 生产收料表
|
|
28
24
|
* @property check-table - 检验表
|
|
29
25
|
* @property pretreatment-list - 预处理表
|
|
30
26
|
* @property entrust-steril-batch-list - 委托灭菌生产批次表
|
|
31
27
|
*/
|
|
32
|
-
export type BusinessSubTableType = 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | '
|
|
28
|
+
export type BusinessSubTableType = 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | 'check-table' | 'pretreatment-list' | 'entrust-steril-batch-list';
|
|
33
29
|
/** 所有子表类型(数据表 + 业务表) */
|
|
34
30
|
export type TableType = DataTableType | BusinessSubTableType;
|
|
35
31
|
/**
|
|
@@ -109,10 +105,8 @@ export interface BusinessSubTableProfile extends TableProfileBase {
|
|
|
109
105
|
category: 'business';
|
|
110
106
|
type: BusinessSubTableType;
|
|
111
107
|
match: BusinessTableMatchRule;
|
|
112
|
-
/** fixed-table-model 不注册独立 Ribbon 入口,仅借用固定表选择业务子模型。 */
|
|
113
|
-
entry?: 'ribbon' | 'fixed-table-model';
|
|
114
108
|
/** Ribbon 业务表分组名 */
|
|
115
|
-
ribbonGroup
|
|
109
|
+
ribbonGroup: string;
|
|
116
110
|
ribbonGroupDivider?: boolean;
|
|
117
111
|
/** 仅在这些套件的 Ribbon 中展示;省略则所有套件可见(仍受 suite hidden 列表约束) */
|
|
118
112
|
ribbonSuites?: SuiteKey[];
|
|
@@ -477,8 +471,6 @@ export type RuleTrigger = 'always' | 'onRowInit' | 'onFieldChange' | 'onRowConfi
|
|
|
477
471
|
export interface RuleContext {
|
|
478
472
|
/** 当前文档是否为模拟填报 */
|
|
479
473
|
isMockReport: boolean;
|
|
480
|
-
/** 物料消耗表的需求数量计算规则 */
|
|
481
|
-
requiredQtyCalcRule?: RequiredQtyCalcRule;
|
|
482
474
|
/** 子表在 rawData 中的 fieldKey */
|
|
483
475
|
subFieldKey: string;
|
|
484
476
|
/** 业务子模型 refModelType */
|