@baosight/erm 1.1.0 → 1.1.1
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/lib/ermGrid/ermGrid.vue.d.ts +69 -89
- package/lib/index.css +2 -2
- package/lib/index.esm.css +131 -132
- package/lib/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1,190 +1,171 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "vant/lib/index.css";
|
|
2
|
+
import "vant/lib/checkbox";
|
|
3
|
+
import "vant/lib/checkbox-group";
|
|
4
4
|
import "ag-grid-community/styles/ag-grid.css";
|
|
5
5
|
import "ag-grid-community/styles/ag-theme-quartz.css";
|
|
6
6
|
import "ag-grid-community/styles/ag-theme-alpine.css";
|
|
7
|
-
declare type ViewType = 'ag-theme-alpine' | 'ag-theme-quartz';
|
|
8
7
|
declare const _default: import("vue").DefineComponent<{
|
|
9
8
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
* 传入表数据
|
|
10
|
+
* @type {Array}
|
|
11
|
+
* @
|
|
12
|
+
*/
|
|
14
13
|
data: any[];
|
|
15
14
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
* 最大高度,默认auto
|
|
16
|
+
* @type {String}
|
|
17
|
+
*/
|
|
19
18
|
maxHeight: {
|
|
20
19
|
type: StringConstructor;
|
|
21
20
|
default: string;
|
|
22
21
|
};
|
|
23
22
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
* 初始化Service
|
|
24
|
+
* @type {String}
|
|
25
|
+
*/
|
|
27
26
|
initSvc: {
|
|
28
27
|
type: StringConstructor;
|
|
29
28
|
require: boolean;
|
|
30
29
|
};
|
|
31
30
|
/**
|
|
32
|
-
* 初始化Service的分区
|
|
33
|
-
* @type {String}
|
|
34
|
-
*/
|
|
31
|
+
* 初始化Service的分区
|
|
32
|
+
* @type {String}
|
|
33
|
+
*/
|
|
35
34
|
partName: {
|
|
36
35
|
type: StringConstructor;
|
|
37
36
|
default: string;
|
|
38
37
|
};
|
|
39
38
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
* SI011X-formName
|
|
40
|
+
* @type {String}
|
|
41
|
+
*/
|
|
43
42
|
formName: {
|
|
44
43
|
type: StringConstructor;
|
|
45
44
|
require: boolean;
|
|
46
45
|
};
|
|
47
46
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
* SI011X-functionId
|
|
48
|
+
* @type {String}
|
|
49
|
+
*/
|
|
51
50
|
functionId: {
|
|
52
51
|
type: StringConstructor;
|
|
53
52
|
require: boolean;
|
|
54
53
|
};
|
|
55
54
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
* 开启多选
|
|
56
|
+
* @type {Boolean}
|
|
57
|
+
*/
|
|
59
58
|
rowSelection: {
|
|
60
59
|
type: StringConstructor;
|
|
61
|
-
default: any;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* 显示模式 list|card
|
|
65
|
-
* @type {String}
|
|
66
|
-
|
|
67
|
-
viewType: { type: String, default: 'ag-theme-alpine' }, */
|
|
68
|
-
viewType: {
|
|
69
|
-
type: () => ViewType;
|
|
70
60
|
default: string;
|
|
71
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* 显示模式 list|card
|
|
64
|
+
* @type {String}
|
|
65
|
+
|
|
66
|
+
viewType: { type: String, default: 'ag-theme-alpine' }, */
|
|
72
67
|
/**
|
|
73
68
|
* 字段描述和字段值是否显示间隔
|
|
74
69
|
* @type {Boolean}
|
|
75
70
|
*/
|
|
76
71
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
* 字体大小
|
|
73
|
+
* @type {String}
|
|
74
|
+
*/
|
|
80
75
|
fontSize: {
|
|
81
76
|
type: StringConstructor;
|
|
82
77
|
default: string;
|
|
83
78
|
};
|
|
84
79
|
/**
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
80
|
+
* 字体
|
|
81
|
+
* @type {String}
|
|
82
|
+
*/
|
|
88
83
|
fontFamily: {
|
|
89
84
|
type: StringConstructor;
|
|
90
85
|
default: string;
|
|
91
86
|
};
|
|
92
|
-
/**
|
|
93
|
-
* 默认配置
|
|
94
|
-
* @type {Object}
|
|
95
|
-
*/
|
|
96
|
-
defaultColDef: {};
|
|
97
87
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
98
88
|
[key: string]: any;
|
|
99
89
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("gridReady" | "gridDataReady" | "selectionChanged")[], "gridReady" | "gridDataReady" | "selectionChanged", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
90
|
/**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
91
|
+
* 传入表数据
|
|
92
|
+
* @type {Array}
|
|
93
|
+
* @
|
|
94
|
+
*/
|
|
105
95
|
data: any[];
|
|
106
96
|
/**
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
97
|
+
* 最大高度,默认auto
|
|
98
|
+
* @type {String}
|
|
99
|
+
*/
|
|
110
100
|
maxHeight: {
|
|
111
101
|
type: StringConstructor;
|
|
112
102
|
default: string;
|
|
113
103
|
};
|
|
114
104
|
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
105
|
+
* 初始化Service
|
|
106
|
+
* @type {String}
|
|
107
|
+
*/
|
|
118
108
|
initSvc: {
|
|
119
109
|
type: StringConstructor;
|
|
120
110
|
require: boolean;
|
|
121
111
|
};
|
|
122
112
|
/**
|
|
123
|
-
* 初始化Service的分区
|
|
124
|
-
* @type {String}
|
|
125
|
-
*/
|
|
113
|
+
* 初始化Service的分区
|
|
114
|
+
* @type {String}
|
|
115
|
+
*/
|
|
126
116
|
partName: {
|
|
127
117
|
type: StringConstructor;
|
|
128
118
|
default: string;
|
|
129
119
|
};
|
|
130
120
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
121
|
+
* SI011X-formName
|
|
122
|
+
* @type {String}
|
|
123
|
+
*/
|
|
134
124
|
formName: {
|
|
135
125
|
type: StringConstructor;
|
|
136
126
|
require: boolean;
|
|
137
127
|
};
|
|
138
128
|
/**
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
129
|
+
* SI011X-functionId
|
|
130
|
+
* @type {String}
|
|
131
|
+
*/
|
|
142
132
|
functionId: {
|
|
143
133
|
type: StringConstructor;
|
|
144
134
|
require: boolean;
|
|
145
135
|
};
|
|
146
136
|
/**
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
137
|
+
* 开启多选
|
|
138
|
+
* @type {Boolean}
|
|
139
|
+
*/
|
|
150
140
|
rowSelection: {
|
|
151
141
|
type: StringConstructor;
|
|
152
|
-
default: any;
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* 显示模式 list|card
|
|
156
|
-
* @type {String}
|
|
157
|
-
|
|
158
|
-
viewType: { type: String, default: 'ag-theme-alpine' }, */
|
|
159
|
-
viewType: {
|
|
160
|
-
type: () => ViewType;
|
|
161
142
|
default: string;
|
|
162
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* 显示模式 list|card
|
|
146
|
+
* @type {String}
|
|
147
|
+
|
|
148
|
+
viewType: { type: String, default: 'ag-theme-alpine' }, */
|
|
163
149
|
/**
|
|
164
150
|
* 字段描述和字段值是否显示间隔
|
|
165
151
|
* @type {Boolean}
|
|
166
152
|
*/
|
|
167
153
|
/**
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
154
|
+
* 字体大小
|
|
155
|
+
* @type {String}
|
|
156
|
+
*/
|
|
171
157
|
fontSize: {
|
|
172
158
|
type: StringConstructor;
|
|
173
159
|
default: string;
|
|
174
160
|
};
|
|
175
161
|
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
162
|
+
* 字体
|
|
163
|
+
* @type {String}
|
|
164
|
+
*/
|
|
179
165
|
fontFamily: {
|
|
180
166
|
type: StringConstructor;
|
|
181
167
|
default: string;
|
|
182
168
|
};
|
|
183
|
-
/**
|
|
184
|
-
* 默认配置
|
|
185
|
-
* @type {Object}
|
|
186
|
-
*/
|
|
187
|
-
defaultColDef: {};
|
|
188
169
|
}>> & {
|
|
189
170
|
onGridReady?: (...args: any[]) => any;
|
|
190
171
|
onGridDataReady?: (...args: any[]) => any;
|
|
@@ -193,7 +174,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
193
174
|
maxHeight: string;
|
|
194
175
|
partName: string;
|
|
195
176
|
rowSelection: string;
|
|
196
|
-
viewType: ViewType;
|
|
197
177
|
fontSize: string;
|
|
198
178
|
fontFamily: string;
|
|
199
179
|
}, {}>;
|