@gct-paas/render-web 0.1.6-dev.4 → 0.1.6-dev.40
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/index.min.css +1 -1
- package/dist/loader.esm.min.js +2 -1
- package/es/Event/Events.d.ts +1 -0
- package/es/Event/Events.mjs +7 -3
- package/es/_virtual/_rolldown/runtime.mjs +13 -0
- package/es/components/card-view-render/card-view-render.css +71 -0
- package/es/components/card-view-render/card-view-render.d.ts +38 -0
- package/es/components/card-view-render/card-view-render.mjs +84 -0
- package/es/components/collapse-detail/components/collapse-list.vue.d.ts +24 -0
- package/es/components/collapse-detail/components/collapse-list.vue.mjs +5 -0
- package/es/components/collapse-detail/components/collapse-list.vue_vue_type_script_setup_true_lang.mjs +103 -0
- package/es/components/collapse-detail/components/enum-tag-label.vue.d.ts +6 -0
- package/es/components/collapse-detail/components/enum-tag-label.vue.mjs +5 -0
- package/es/components/collapse-detail/components/enum-tag-label.vue_vue_type_script_setup_true_lang.mjs +61 -0
- package/es/components/collapse-detail/components/instance-status-label.vue.d.ts +34 -0
- package/es/components/collapse-detail/components/instance-status-label.vue.mjs +7 -0
- package/es/components/collapse-detail/components/instance-status-label.vue_vue_type_script_setup_true_lang.mjs +76 -0
- package/es/components/collapse-detail/components/instance-status-label.vue_vue_type_style_index_0_scoped_610b0bb3_lang.css +77 -0
- package/es/components/collapse-detail/components/label-tag.vue.d.ts +6 -0
- package/es/components/collapse-detail/components/label-tag.vue.mjs +7 -0
- package/es/components/collapse-detail/components/label-tag.vue_vue_type_script_setup_true_lang.mjs +34 -0
- package/es/components/collapse-detail/components/label-tag.vue_vue_type_style_index_0_scoped_b25afce5_lang.css +39 -0
- package/es/components/collapse-detail/constants/instance-theme-config.d.ts +64 -0
- package/es/components/collapse-detail/constants/instance-theme-config.mjs +100 -0
- package/es/components/collapse-detail/constants/status.d.ts +36 -0
- package/es/components/collapse-detail/constants/status.mjs +34 -0
- package/es/components/collapse-detail/index.d.ts +3 -0
- package/es/components/collapse-detail/index.mjs +1 -0
- package/es/components/collapse-detail/index.vue.d.ts +37 -0
- package/es/components/collapse-detail/index.vue.mjs +7 -0
- package/es/components/collapse-detail/index.vue_vue_type_script_setup_true_name_collapse-detail_lang.mjs +90 -0
- package/es/components/collapse-detail/index.vue_vue_type_style_index_0_scoped_b4b9903c_lang.css +83 -0
- package/es/components/collapse-detail/typing.d.ts +44 -0
- package/es/components/collapse-detail/typing.mjs +17 -0
- package/es/components/field-search-cascader/field-cascader.vue.d.ts +17 -0
- package/es/components/field-search-cascader/field-cascader.vue.mjs +8 -0
- package/es/components/field-search-cascader/field-cascader.vue_vue_type_script_setup_true_lang.mjs +297 -0
- package/es/components/field-search-cascader/field-cascader.vue_vue_type_style_index_0_scoped_cb5e4d67_lang.css +52 -0
- package/es/components/field-search-cascader/field-cascader.vue_vue_type_style_index_1_lang.css +3 -0
- package/es/components/field-search-cascader/index.d.ts +2 -0
- package/es/components/field-search-cascader/index.mjs +1 -0
- package/es/components/form-component/FieldSelect.css +22 -0
- package/es/components/form-component/FieldSelect.d.ts +9 -0
- package/es/components/form-component/FieldSelect.mjs +19 -8
- package/es/components/form-component/field-label/ref-card-label-render.vue_vue_type_script_setup_true_lang.mjs +2 -1
- package/es/components/form-component/field-label/tag-label.vue.d.ts +1 -0
- package/es/components/form-component/field-label/tag-label.vue.mjs +2 -2
- package/es/components/form-component/field-label/tag-label.vue_vue_type_script_setup_true_name_TagLabel_lang.mjs +15 -13
- package/es/components/form-component/field-label/tag-label.vue_vue_type_style_index_0_scoped_5e1146da_lang.css +18 -0
- package/es/components/form-component/field-label/tag-span.vue.mjs +1 -1
- package/es/components/form-component/field-readonly.vue_vue_type_script_setup_true_lang.mjs +26 -44
- package/es/components/index.d.ts +7 -0
- package/es/components/index.mjs +9 -0
- package/es/components/layouts/basic-page/basic-page.vue.d.ts +30 -0
- package/es/components/layouts/basic-page/basic-page.vue.mjs +7 -0
- package/es/components/layouts/basic-page/basic-page.vue_vue_type_script_setup_true_name_basic-page_lang.mjs +30 -0
- package/es/components/layouts/basic-page/basic-page.vue_vue_type_style_index_0_scoped_23453a1b_lang.css +20 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue.d.ts +30 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue.mjs +7 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue_vue_type_script_setup_true_name_BasicPageRender_lang.mjs +30 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue_vue_type_style_index_0_scoped_3c6aba55_lang.css +20 -0
- package/es/components/multi-field/multi-field-display.vue.mjs +2 -2
- package/es/components/multi-field/multi-field-display.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/multi-field/{multi-field-display.vue_vue_type_style_index_0_scoped_0f2f02cc_lang.css → multi-field-display.vue_vue_type_style_index_0_scoped_a62c7691_lang.css} +1 -1
- package/es/components/rich-editor/index.d.ts +2 -0
- package/es/components/rich-editor/index.mjs +1 -0
- package/es/components/rich-editor/rich-editor.vue.d.ts +22 -0
- package/es/components/rich-editor/rich-editor.vue.mjs +5 -0
- package/es/components/rich-editor/rich-editor.vue_vue_type_script_setup_true_lang.mjs +150 -0
- package/es/components/rich-editor/style.css +747 -0
- package/es/constants/xlsx-parser.d.ts +15 -0
- package/es/constants/xlsx-parser.mjs +58 -0
- package/es/enums/xlsx-parser.d.ts +293 -0
- package/es/enums/xlsx-parser.mjs +36 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/refCardList.mjs +6 -6
- package/es/hooks/useQuickSearch.d.ts +8 -0
- package/es/hooks/useQuickSearch.mjs +96 -0
- package/es/index.d.ts +3 -0
- package/es/index.mjs +13 -1
- package/es/interface/xlsx-parser/base.d.ts +151 -0
- package/es/interface/xlsx-parser/index.d.ts +246 -0
- package/es/locale/auto-register.d.ts +2 -0
- package/es/locale/auto-register.mjs +31 -0
- package/es/locale/sys/appDesigner.d.ts +11 -0
- package/es/locale/sys/appDesigner.mjs +11 -0
- package/es/locale/sys/bi.d.ts +4 -0
- package/es/locale/sys/bi.mjs +6 -0
- package/es/locale/sys/bpmn.d.ts +10 -0
- package/es/locale/sys/bpmn.mjs +12 -0
- package/es/locale/sys/component.d.ts +15 -0
- package/es/locale/sys/component.mjs +15 -0
- package/es/locale/sys/developer.d.ts +6 -0
- package/es/locale/sys/developer.mjs +6 -0
- package/es/locale/sys/edhr.d.ts +19 -0
- package/es/locale/sys/edhr.mjs +15 -0
- package/es/locale/sys/message.d.ts +4 -0
- package/es/locale/sys/message.mjs +6 -0
- package/es/locale/sys/model.d.ts +34 -0
- package/es/locale/sys/model.mjs +38 -0
- package/es/locale/sys/onlineForm.d.ts +8 -0
- package/es/locale/sys/onlineForm.mjs +12 -0
- package/es/locale/sys/pageDesigner.d.ts +7 -0
- package/es/locale/sys/pageDesigner.mjs +9 -0
- package/es/locale/sys.d.ts +10 -0
- package/es/locale/sys.mjs +14 -0
- package/es/modules/app-mqtt/app-mqtt.interface.d.ts +26 -0
- package/es/modules/app-mqtt/app-mqtt.service.d.ts +73 -0
- package/es/modules/app-mqtt/app-mqtt.service.mjs +134 -0
- package/es/modules/app-mqtt/index.d.ts +2 -0
- package/es/modules/app-mqtt/index.mjs +1 -0
- package/es/plugins/render-card-field/render-card-field.css +171 -0
- package/es/plugins/render-card-field/render-card-field.d.ts +48 -0
- package/es/plugins/render-card-field/render-card-field.mjs +157 -0
- package/es/plugins/render-card-field/render-card-field.provider.d.ts +7 -0
- package/es/plugins/render-card-field/render-card-field.provider.mjs +10 -0
- package/es/plugins/render-card-view-page/render-card-view-page.css +72 -0
- package/es/plugins/render-card-view-page/render-card-view-page.d.ts +33 -0
- package/es/plugins/render-card-view-page/render-card-view-page.mjs +61 -0
- package/es/plugins/render-card-view-page/render-card-view-page.provider.d.ts +7 -0
- package/es/plugins/render-card-view-page/render-card-view-page.provider.mjs +10 -0
- package/es/plugins/render-design-editor/index.d.ts +5 -0
- package/es/plugins/render-design-editor/upload-file/index.d.ts +4 -0
- package/es/plugins/render-design-editor/upload-file/upload-file.d.ts +51 -0
- package/es/plugins/render-design-editor/upload-image/index.d.ts +4 -0
- package/es/plugins/render-design-editor/upload-image/upload-image.d.ts +51 -0
- package/es/plugins/render-design-editor/user-signature/index.d.ts +4 -0
- package/es/plugins/render-design-editor/user-signature/user-signature.d.ts +51 -0
- package/es/setup-app.d.ts +2 -0
- package/es/setup-app.mjs +22 -0
- package/es/types/shims-modules.d.ts +11 -0
- package/es/utils/cell-border.d.ts +73 -0
- package/es/utils/cell-border.mjs +203 -0
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +1 -0
- package/es/utils/xlsx-parser.d.ts +141 -0
- package/es/utils/xlsx-parser.mjs +262 -0
- package/package.json +22 -12
- package/es/components/form-component/field-label/tag-label.vue_vue_type_style_index_0_scoped_6c507fe8_lang.css +0 -15
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { CreateType, FIELD_TYPE } from '@gct-paas/core';
|
|
2
|
+
import { FieldMetaDTO } from '@gct-paas/api/apaas';
|
|
3
|
+
import { onlineFormMasterModelTypeEnum } from '../../enums/xlsx-parser';
|
|
4
|
+
export interface IBindField {
|
|
5
|
+
/** 字段key */
|
|
6
|
+
field?: string;
|
|
7
|
+
/** 字段类型 */
|
|
8
|
+
fieldType?: FIELD_TYPE;
|
|
9
|
+
/** 字段所属模型 */
|
|
10
|
+
model?: string;
|
|
11
|
+
/** 模型链路 */
|
|
12
|
+
modelLink?: string;
|
|
13
|
+
/** 字段链路 */
|
|
14
|
+
fieldLink?: string;
|
|
15
|
+
/** 是否是关联模型字段 */
|
|
16
|
+
isFieldModel?: boolean;
|
|
17
|
+
/** 子表模型key */
|
|
18
|
+
subModelKey?: string;
|
|
19
|
+
/** 子表模型类型 */
|
|
20
|
+
subModelType?: string;
|
|
21
|
+
/** 子表字段key */
|
|
22
|
+
subFieldKey?: string;
|
|
23
|
+
/** 字段来源 */
|
|
24
|
+
createType?: CreateType;
|
|
25
|
+
/** 引用的模型key */
|
|
26
|
+
refModelKey?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface IToFieldItem {
|
|
29
|
+
/** 字段key */
|
|
30
|
+
field: string | undefined;
|
|
31
|
+
/** 字段类型 */
|
|
32
|
+
fieldType: string | undefined;
|
|
33
|
+
/** 字段来源 */
|
|
34
|
+
createType?: CreateType;
|
|
35
|
+
}
|
|
36
|
+
export interface ICellBorder {
|
|
37
|
+
left?: boolean;
|
|
38
|
+
top?: boolean;
|
|
39
|
+
right?: boolean;
|
|
40
|
+
bottom?: boolean;
|
|
41
|
+
bold?: boolean;
|
|
42
|
+
boldLeft?: boolean;
|
|
43
|
+
boldTop?: boolean;
|
|
44
|
+
boldRight?: boolean;
|
|
45
|
+
boldBottom?: boolean;
|
|
46
|
+
}
|
|
47
|
+
/** bom明细对象 */
|
|
48
|
+
export interface IBomEntry {
|
|
49
|
+
/** 明细id */
|
|
50
|
+
id_: string;
|
|
51
|
+
/** 排序字段 */
|
|
52
|
+
sort_num_: number;
|
|
53
|
+
/** 物料id */
|
|
54
|
+
product_id_: string;
|
|
55
|
+
/** 物料编码 */
|
|
56
|
+
product_code_: string;
|
|
57
|
+
/** 物料名称 */
|
|
58
|
+
product_name_: string;
|
|
59
|
+
/** 物料版本 */
|
|
60
|
+
product_version_: string;
|
|
61
|
+
/** 规格型号 */
|
|
62
|
+
product_spec_: string;
|
|
63
|
+
/** 单位用量 */
|
|
64
|
+
qty_required_: number;
|
|
65
|
+
/** 删除标记 */
|
|
66
|
+
deleted_?: boolean;
|
|
67
|
+
/** 上料方式 */
|
|
68
|
+
type_: 'by_lot' | 'by_number' | 'view';
|
|
69
|
+
/** 是否启用替代料 */
|
|
70
|
+
substitute_material_enabled_: boolean;
|
|
71
|
+
/** 替代策略 */
|
|
72
|
+
substitute_policy_: 'only_one' | 'mixing';
|
|
73
|
+
/** 替代料配置 */
|
|
74
|
+
substitute_material_entries_: {
|
|
75
|
+
/** 物料标识 */
|
|
76
|
+
product_id_: string;
|
|
77
|
+
/** 物料编码 */
|
|
78
|
+
product_code_: string;
|
|
79
|
+
/** 单位用量 */
|
|
80
|
+
qty_required_: number;
|
|
81
|
+
/** 物料名称 */
|
|
82
|
+
product_name_: string;
|
|
83
|
+
/** 物料版本 */
|
|
84
|
+
product_version_: string;
|
|
85
|
+
/** 规格型号 */
|
|
86
|
+
product_spec_: string;
|
|
87
|
+
}[];
|
|
88
|
+
/** 是否启用混批的校验 */
|
|
89
|
+
lot_mixing_enabled_: boolean;
|
|
90
|
+
/** 混批次数 */
|
|
91
|
+
lot_mixing_times_: number;
|
|
92
|
+
/** 是否启用数量校验 */
|
|
93
|
+
qty_validation_enabled_: boolean;
|
|
94
|
+
/** 数量校验规则 */
|
|
95
|
+
qty_validation_rule_: 'eq' | 'gte' | 'lte';
|
|
96
|
+
/** 顺序 */
|
|
97
|
+
operation_sort_num_?: number;
|
|
98
|
+
}
|
|
99
|
+
/** 物料消耗表业务配置 */
|
|
100
|
+
export interface IFormTmplBom {
|
|
101
|
+
/** 唯一标识 */
|
|
102
|
+
id_?: string;
|
|
103
|
+
/** 表单模板id */
|
|
104
|
+
form_tmpl_id_?: string;
|
|
105
|
+
/** 表单里物料消耗表的id */
|
|
106
|
+
table_key_: string;
|
|
107
|
+
/** 是否启用上下料模式 */
|
|
108
|
+
material_loading_model_enabled_: boolean;
|
|
109
|
+
/** 条码解析规则 */
|
|
110
|
+
barcode_parsing_rules_id_?: string;
|
|
111
|
+
/** 从BOM初始化 */
|
|
112
|
+
bom_init_enabled_?: boolean;
|
|
113
|
+
/** 人为指定物料 */
|
|
114
|
+
personal_bom_enabled_?: boolean;
|
|
115
|
+
/** 按顺序上料 */
|
|
116
|
+
sequence_loading_enabled_?: boolean;
|
|
117
|
+
/** bom明细 */
|
|
118
|
+
entries_: IBomEntry[];
|
|
119
|
+
/** 删除标记 */
|
|
120
|
+
deleted_?: boolean;
|
|
121
|
+
}
|
|
122
|
+
export interface IModel {
|
|
123
|
+
key?: string;
|
|
124
|
+
name?: string;
|
|
125
|
+
subModel?: number;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
subModelType?: onlineFormMasterModelTypeEnum;
|
|
130
|
+
}
|
|
131
|
+
/** 表单里所有模型信息 */
|
|
132
|
+
export type IModelMetaMap = Record<string, {
|
|
133
|
+
meta: IModel;
|
|
134
|
+
fields: FieldMetaDTO[];
|
|
135
|
+
}>;
|
|
136
|
+
export interface CellField {
|
|
137
|
+
x: number;
|
|
138
|
+
y: number;
|
|
139
|
+
fieldKey?: string;
|
|
140
|
+
fieldName?: string;
|
|
141
|
+
fieldType: string;
|
|
142
|
+
}
|
|
143
|
+
export interface ImportedFieldMeta {
|
|
144
|
+
key?: string;
|
|
145
|
+
tmpOldKey?: string;
|
|
146
|
+
name: string;
|
|
147
|
+
type: string;
|
|
148
|
+
required: string;
|
|
149
|
+
uniqueConstraint: any;
|
|
150
|
+
disabled: string;
|
|
151
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { CellType, Orientation, ParamModelTypeEnum, SubTableType } from '../../enums/xlsx-parser';
|
|
2
|
+
import { IBindField, ICellBorder, IFormTmplBom, IModelMetaMap, IToFieldItem } from './base';
|
|
3
|
+
import { CellWidget } from './cell-widget';
|
|
4
|
+
import { PaperWidget } from './paper-widget';
|
|
5
|
+
export type ICellStyle = Record<string, string | number | undefined>;
|
|
6
|
+
export interface IColRange {
|
|
7
|
+
l: number;
|
|
8
|
+
r: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IRowRange {
|
|
11
|
+
t: number;
|
|
12
|
+
b: number;
|
|
13
|
+
}
|
|
14
|
+
export type IRange = IColRange & IRowRange;
|
|
15
|
+
export interface IMedia {
|
|
16
|
+
id: string;
|
|
17
|
+
src: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IImage {
|
|
20
|
+
id: string;
|
|
21
|
+
mediaId: string;
|
|
22
|
+
layout: {
|
|
23
|
+
top: number;
|
|
24
|
+
left: number;
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface IParamToField {
|
|
30
|
+
id: string;
|
|
31
|
+
key: string;
|
|
32
|
+
toModel: string;
|
|
33
|
+
toField: string;
|
|
34
|
+
subModelField?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IGlobalOption {
|
|
37
|
+
id: string;
|
|
38
|
+
title: string;
|
|
39
|
+
options: {
|
|
40
|
+
id: string;
|
|
41
|
+
text: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}[];
|
|
44
|
+
}
|
|
45
|
+
export interface ICheckTableDataSource {
|
|
46
|
+
id: string;
|
|
47
|
+
data: any[];
|
|
48
|
+
modelKey: string;
|
|
49
|
+
subFieldKey: string;
|
|
50
|
+
}
|
|
51
|
+
export interface IJoinIpaasConfig {
|
|
52
|
+
/** 请求方式 */
|
|
53
|
+
reqMethod: string | undefined;
|
|
54
|
+
/** 请求url路径 */
|
|
55
|
+
reqPath: string | undefined;
|
|
56
|
+
/** body参数 */
|
|
57
|
+
metaHeader: string | undefined;
|
|
58
|
+
/** 头部参数 */
|
|
59
|
+
metaBody: string | undefined;
|
|
60
|
+
/** 查询参数 */
|
|
61
|
+
metaQuery: string | undefined;
|
|
62
|
+
/** 路径参数 */
|
|
63
|
+
metaUri: string | undefined;
|
|
64
|
+
/** 出参查看 */
|
|
65
|
+
outputBodyParameters: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface IParameterMapping {
|
|
68
|
+
/** 唯一标识 */
|
|
69
|
+
id: string;
|
|
70
|
+
/** 参数key */
|
|
71
|
+
formKey: string | undefined;
|
|
72
|
+
/** 参数映射类型 */
|
|
73
|
+
paramMapType: ParamModelTypeEnum | undefined;
|
|
74
|
+
/** 模型key */
|
|
75
|
+
modelKey: string | undefined;
|
|
76
|
+
/** 是否是子表 */
|
|
77
|
+
subModel: number | undefined;
|
|
78
|
+
/** 子表字段key */
|
|
79
|
+
subFieldKey: string | undefined;
|
|
80
|
+
/** 映射的字段信息 */
|
|
81
|
+
toFields: IToFieldItem[];
|
|
82
|
+
}
|
|
83
|
+
export interface IFieldMapItem {
|
|
84
|
+
/** 唯一标识 */
|
|
85
|
+
id: string;
|
|
86
|
+
/** 模型key */
|
|
87
|
+
modelKey: string | undefined;
|
|
88
|
+
/** 是否是子表 */
|
|
89
|
+
subModel: number | undefined;
|
|
90
|
+
/** 子表字段key */
|
|
91
|
+
subFieldKey: string | undefined;
|
|
92
|
+
/**是否检验表 */
|
|
93
|
+
isCheckTable: boolean | undefined;
|
|
94
|
+
fields: {
|
|
95
|
+
/** 当前表单模型字段key */
|
|
96
|
+
leftFieldKey: string;
|
|
97
|
+
/** 映射的字段key */
|
|
98
|
+
rightFieldKey: string | undefined;
|
|
99
|
+
/** 所属模型pos */
|
|
100
|
+
cascaderKey: string | undefined;
|
|
101
|
+
/** 是否是关联模型字段 */
|
|
102
|
+
isFieldModel?: boolean | undefined;
|
|
103
|
+
/** 字段链路 */
|
|
104
|
+
fieldLink?: string | undefined;
|
|
105
|
+
}[];
|
|
106
|
+
}
|
|
107
|
+
export interface IExpressionItem {
|
|
108
|
+
/** 唯一标识 */
|
|
109
|
+
id: string;
|
|
110
|
+
/** 字段key */
|
|
111
|
+
fieldKey: string | undefined;
|
|
112
|
+
/** 字段类型 */
|
|
113
|
+
fieldType: string | undefined;
|
|
114
|
+
/** 条件 */
|
|
115
|
+
operator: string | undefined;
|
|
116
|
+
/** 参数key */
|
|
117
|
+
formKey: string | undefined;
|
|
118
|
+
/** 参数映射类型 */
|
|
119
|
+
paramMapType: ParamModelTypeEnum | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface ICustomDataSource {
|
|
122
|
+
/** 唯一标识 */
|
|
123
|
+
id: string;
|
|
124
|
+
/** 关联模型类型 */
|
|
125
|
+
joinModelType: string | undefined;
|
|
126
|
+
/** 关联表单id */
|
|
127
|
+
joinFormRefId: string | undefined;
|
|
128
|
+
/** 关联模型key */
|
|
129
|
+
joinModelKey: string | undefined;
|
|
130
|
+
/** 是否是子表 */
|
|
131
|
+
joinSubModel: boolean | undefined;
|
|
132
|
+
/** 关联SQL语句 */
|
|
133
|
+
joinSqlJson: string | undefined;
|
|
134
|
+
/** 关联IPAAS配置 */
|
|
135
|
+
joinIpaasConfig: IJoinIpaasConfig;
|
|
136
|
+
/** 关联内置业务配置 */
|
|
137
|
+
joinBuiltinConfig: string | undefined;
|
|
138
|
+
/** 模型关联条件 */
|
|
139
|
+
onExpressions: IExpressionItem[];
|
|
140
|
+
/** 字段映射 */
|
|
141
|
+
onFieldMap: IFieldMapItem[];
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* 子表
|
|
145
|
+
*/
|
|
146
|
+
export interface ITable {
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
field: string;
|
|
150
|
+
model: string;
|
|
151
|
+
mainModel: string;
|
|
152
|
+
range: IRange;
|
|
153
|
+
thName?: string;
|
|
154
|
+
thRange?: IRange;
|
|
155
|
+
type?: SubTableType;
|
|
156
|
+
colField?: string;
|
|
157
|
+
colModel?: string;
|
|
158
|
+
dgRange?: IRange;
|
|
159
|
+
autoFill?: boolean;
|
|
160
|
+
quickFill?: boolean;
|
|
161
|
+
fillDirection?: 'x' | 'y';
|
|
162
|
+
indexedTd?: boolean;
|
|
163
|
+
refColField?: string;
|
|
164
|
+
refRowField?: string;
|
|
165
|
+
checkDsId?: string;
|
|
166
|
+
rowRange?: IRange;
|
|
167
|
+
/** 物料消耗表的业务配置 */
|
|
168
|
+
mcBomConfig?: IFormTmplBom;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* 固定表
|
|
172
|
+
*/
|
|
173
|
+
export type IFixedTable = ITable;
|
|
174
|
+
export interface ICell {
|
|
175
|
+
type?: CellType;
|
|
176
|
+
value?: any;
|
|
177
|
+
style?: ICellStyle;
|
|
178
|
+
border?: ICellBorder;
|
|
179
|
+
/**
|
|
180
|
+
* 字段信息
|
|
181
|
+
*/
|
|
182
|
+
fieldMeta?: IBindField;
|
|
183
|
+
/**
|
|
184
|
+
* 字段渲染组件
|
|
185
|
+
*/
|
|
186
|
+
fieldWidget?: CellWidget.BasicSchema;
|
|
187
|
+
/**
|
|
188
|
+
* 组件
|
|
189
|
+
*/
|
|
190
|
+
paperWidget?: PaperWidget.BasicSchema;
|
|
191
|
+
/**
|
|
192
|
+
* 组合字段
|
|
193
|
+
*/
|
|
194
|
+
multiFields?: boolean;
|
|
195
|
+
multiFieldsContent?: {
|
|
196
|
+
id: string;
|
|
197
|
+
type?: CellType;
|
|
198
|
+
fieldMeta?: IBindField;
|
|
199
|
+
fieldWidget?: CellWidget.BasicSchema;
|
|
200
|
+
}[];
|
|
201
|
+
autoMerge?: boolean;
|
|
202
|
+
xAutoMerge?: boolean;
|
|
203
|
+
fillDirection?: 'x' | 'y';
|
|
204
|
+
}
|
|
205
|
+
export interface IPaper {
|
|
206
|
+
/** 当前sheet页的唯一标识 */
|
|
207
|
+
sheetId: string;
|
|
208
|
+
orientation: Orientation;
|
|
209
|
+
padding: IRange;
|
|
210
|
+
cols: {
|
|
211
|
+
width: number;
|
|
212
|
+
manual?: boolean;
|
|
213
|
+
}[];
|
|
214
|
+
rows: {
|
|
215
|
+
height: number;
|
|
216
|
+
manual?: boolean;
|
|
217
|
+
}[];
|
|
218
|
+
cells: ICell[][];
|
|
219
|
+
mergedCells: IRange[];
|
|
220
|
+
thead?: {
|
|
221
|
+
thName?: string;
|
|
222
|
+
thRange?: IRange;
|
|
223
|
+
};
|
|
224
|
+
dynamicTables?: ITable[];
|
|
225
|
+
fixedTables?: IFixedTable[];
|
|
226
|
+
medias?: IMedia[];
|
|
227
|
+
images?: IImage[];
|
|
228
|
+
paramToField?: IParamToField[];
|
|
229
|
+
paperHeader?: boolean;
|
|
230
|
+
paperHeaderWidgets?: PaperWidget.BasicSchema[];
|
|
231
|
+
paperFooter?: boolean;
|
|
232
|
+
paperFooterWidgets?: PaperWidget.BasicSchema[];
|
|
233
|
+
javascript?: string;
|
|
234
|
+
/** 全局配置-枚举分组 */
|
|
235
|
+
globalOptions?: IGlobalOption[];
|
|
236
|
+
/** 数据初始化-参数映射 */
|
|
237
|
+
parameterMapping?: IParameterMapping[];
|
|
238
|
+
/** 数据初始化-数据源 */
|
|
239
|
+
customDataSource?: ICustomDataSource[];
|
|
240
|
+
/** 检验表的数据源 */
|
|
241
|
+
checkTableDataSource?: ICheckTableDataSource[];
|
|
242
|
+
/** 主模型key */
|
|
243
|
+
mainModelKey?: string;
|
|
244
|
+
/** 缓存的临时数据模型结构 */
|
|
245
|
+
modelMetaMap?: IModelMetaMap;
|
|
246
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { appDesigner_exports } from "./sys/appDesigner.mjs";
|
|
2
|
+
import { bi_exports } from "./sys/bi.mjs";
|
|
3
|
+
import { bpmn_exports } from "./sys/bpmn.mjs";
|
|
4
|
+
import { component_exports } from "./sys/component.mjs";
|
|
5
|
+
import { developer_exports } from "./sys/developer.mjs";
|
|
6
|
+
import { edhr_exports } from "./sys/edhr.mjs";
|
|
7
|
+
import { message_exports } from "./sys/message.mjs";
|
|
8
|
+
import { model_exports } from "./sys/model.mjs";
|
|
9
|
+
import { onlineForm_exports } from "./sys/onlineForm.mjs";
|
|
10
|
+
import { pageDesigner_exports } from "./sys/pageDesigner.mjs";
|
|
11
|
+
import { sys_exports } from "./sys.mjs";
|
|
12
|
+
//#region src/locale/auto-register.ts
|
|
13
|
+
var localeModules = /* @__PURE__ */ Object.assign({
|
|
14
|
+
"./sys/appDesigner.ts": appDesigner_exports,
|
|
15
|
+
"./sys/bi.ts": bi_exports,
|
|
16
|
+
"./sys/bpmn.ts": bpmn_exports,
|
|
17
|
+
"./sys/component.ts": component_exports,
|
|
18
|
+
"./sys/developer.ts": developer_exports,
|
|
19
|
+
"./sys/edhr.ts": edhr_exports,
|
|
20
|
+
"./sys/message.ts": message_exports,
|
|
21
|
+
"./sys/model.ts": model_exports,
|
|
22
|
+
"./sys/onlineForm.ts": onlineForm_exports,
|
|
23
|
+
"./sys/pageDesigner.ts": pageDesigner_exports,
|
|
24
|
+
"./sys.ts": sys_exports
|
|
25
|
+
});
|
|
26
|
+
/** 注册 render-web 包的 locale 多语言资源 */
|
|
27
|
+
function registerRenderWebLocale() {
|
|
28
|
+
_gct.i18nUtil.autoRegisterLocale(localeModules);
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { registerRenderWebLocale };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/appDesigner.ts
|
|
3
|
+
var appDesigner_exports = /* @__PURE__ */ __exportAll({ default: () => appDesigner_default });
|
|
4
|
+
var appDesigner_default = {
|
|
5
|
+
appLogoImage: "图片",
|
|
6
|
+
basicInformation: "基本信息",
|
|
7
|
+
approval: { button: { PartialSubmit: "部分提交" } },
|
|
8
|
+
template: "模板"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { appDesigner_exports };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/bpmn.ts
|
|
3
|
+
var bpmn_exports = /* @__PURE__ */ __exportAll({ default: () => bpmn_default });
|
|
4
|
+
var bpmn_default = {
|
|
5
|
+
flowNodeInstStatus: {
|
|
6
|
+
COMPLETED: "已完成",
|
|
7
|
+
EXCEPTION: "异常"
|
|
8
|
+
},
|
|
9
|
+
bizNodeInstStatus: { running: "进行中" }
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { bpmn_exports };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/component.ts
|
|
3
|
+
var component_exports = /* @__PURE__ */ __exportAll({ default: () => component_default });
|
|
4
|
+
var component_default = { dataConnection: { modelField: {
|
|
5
|
+
integer: "整数",
|
|
6
|
+
long: "长整数",
|
|
7
|
+
double: "小数",
|
|
8
|
+
decimal: "精度小数",
|
|
9
|
+
boolean: "布尔",
|
|
10
|
+
date: "日期",
|
|
11
|
+
user: "人员关联",
|
|
12
|
+
org: "部门关联"
|
|
13
|
+
} } };
|
|
14
|
+
//#endregion
|
|
15
|
+
export { component_exports };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/developer.ts
|
|
3
|
+
var developer_exports = /* @__PURE__ */ __exportAll({ default: () => developer_default });
|
|
4
|
+
var developer_default = { devive: { index: "设备" } };
|
|
5
|
+
//#endregion
|
|
6
|
+
export { developer_exports };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
formInsStatusEnum: {
|
|
3
|
+
STASH: string;
|
|
4
|
+
};
|
|
5
|
+
instanceStatus2DhrEnum: {
|
|
6
|
+
UNFILLED: string;
|
|
7
|
+
FILLED: string;
|
|
8
|
+
};
|
|
9
|
+
dhrLogType: {
|
|
10
|
+
ABANDON: string;
|
|
11
|
+
};
|
|
12
|
+
recordBook: {
|
|
13
|
+
archived: string;
|
|
14
|
+
};
|
|
15
|
+
instanceStatus2FormEnum: {
|
|
16
|
+
IN_AUDIT: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/edhr.ts
|
|
3
|
+
var edhr_exports = /* @__PURE__ */ __exportAll({ default: () => edhr_default });
|
|
4
|
+
var edhr_default = {
|
|
5
|
+
formInsStatusEnum: { STASH: "暂存中" },
|
|
6
|
+
instanceStatus2DhrEnum: {
|
|
7
|
+
UNFILLED: "未填报",
|
|
8
|
+
FILLED: "已填报"
|
|
9
|
+
},
|
|
10
|
+
dhrLogType: { ABANDON: "作废" },
|
|
11
|
+
recordBook: { archived: "封存" },
|
|
12
|
+
instanceStatus2FormEnum: { IN_AUDIT: "变更中" }
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { edhr_exports };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/message.ts
|
|
3
|
+
var message_exports = /* @__PURE__ */ __exportAll({ default: () => message_default });
|
|
4
|
+
var message_default = { metaFiled: "业务字段" };
|
|
5
|
+
//#endregion
|
|
6
|
+
export { message_exports };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
uniqueOrNot: string;
|
|
3
|
+
option: string;
|
|
4
|
+
related_lot_no: string;
|
|
5
|
+
product: string;
|
|
6
|
+
mfg_order: string;
|
|
7
|
+
record_no: string;
|
|
8
|
+
trace_date: string;
|
|
9
|
+
order_no: string;
|
|
10
|
+
routing_operation: string;
|
|
11
|
+
good_qty: string;
|
|
12
|
+
not_good_qty: string;
|
|
13
|
+
report_start_time: string;
|
|
14
|
+
report_end_time: string;
|
|
15
|
+
work_hours: string;
|
|
16
|
+
production_date: string;
|
|
17
|
+
reporter: string;
|
|
18
|
+
not_good_reason: string;
|
|
19
|
+
not_good_group: string;
|
|
20
|
+
scrap_reason: string;
|
|
21
|
+
scrap_group: string;
|
|
22
|
+
scrap_qty: string;
|
|
23
|
+
scrap_material: string;
|
|
24
|
+
scrap_material_no: string;
|
|
25
|
+
destructive_test_qty: string;
|
|
26
|
+
product_check_qty: string;
|
|
27
|
+
warehouse_receipt_no: string;
|
|
28
|
+
warehouse_receipt_date: string;
|
|
29
|
+
warehouse_manager: string;
|
|
30
|
+
qty_required: string;
|
|
31
|
+
qty_consumed: string;
|
|
32
|
+
qty: string;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/model.ts
|
|
3
|
+
var model_exports = /* @__PURE__ */ __exportAll({ default: () => model_default });
|
|
4
|
+
var model_default = {
|
|
5
|
+
uniqueOrNot: "是否唯一",
|
|
6
|
+
option: "枚举单选",
|
|
7
|
+
related_lot_no: "关联批次",
|
|
8
|
+
product: "物料",
|
|
9
|
+
mfg_order: "工单号",
|
|
10
|
+
record_no: "记录单号",
|
|
11
|
+
trace_date: "追溯日期",
|
|
12
|
+
order_no: "订单号",
|
|
13
|
+
routing_operation: "工序",
|
|
14
|
+
good_qty: "良品数量",
|
|
15
|
+
not_good_qty: "不良品数量",
|
|
16
|
+
report_start_time: "报工开始时间",
|
|
17
|
+
report_end_time: "报工结束时间",
|
|
18
|
+
work_hours: "工时",
|
|
19
|
+
production_date: "生产日期",
|
|
20
|
+
reporter: "报工人",
|
|
21
|
+
not_good_reason: "不良原因",
|
|
22
|
+
not_good_group: "不良分类",
|
|
23
|
+
scrap_reason: "报废原因",
|
|
24
|
+
scrap_group: "报废分类",
|
|
25
|
+
scrap_qty: "报废数量",
|
|
26
|
+
scrap_material: "报废物料",
|
|
27
|
+
scrap_material_no: "报废物料批次",
|
|
28
|
+
destructive_test_qty: "破坏性试验数量",
|
|
29
|
+
product_check_qty: "产品检验数量",
|
|
30
|
+
warehouse_receipt_no: "单据编号",
|
|
31
|
+
warehouse_receipt_date: "单据日期",
|
|
32
|
+
warehouse_manager: "仓管员",
|
|
33
|
+
qty_required: "需求数量",
|
|
34
|
+
qty_consumed: "已消耗数量",
|
|
35
|
+
qty: "数量"
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { model_exports };
|