@baosight/erm 1.1.7 → 1.1.9
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 +7 -8
- package/lib/ermList/ermList.vue.d.ts +145 -144
- package/lib/index.css +2 -2
- package/lib/index.esm.css +260 -73
- package/lib/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import "vant/lib/index.css";
|
|
2
|
+
import "vant/lib/checkbox";
|
|
3
|
+
import "vant/lib/checkbox-group";
|
|
4
|
+
import "ag-grid-community/styles/ag-grid.css";
|
|
5
|
+
import "ag-grid-community/styles/ag-theme-quartz.css";
|
|
6
|
+
import "ag-grid-community/styles/ag-theme-alpine.css";
|
|
7
7
|
declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
/**
|
|
9
9
|
* 传入表数据
|
|
@@ -90,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
};
|
|
91
91
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
92
92
|
[key: string]: any;
|
|
93
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("gridReady" | "gridDataReady" | "selectionChanged"
|
|
93
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("gridReady" | "gridDataReady" | "selectionChanged")[], "gridReady" | "gridDataReady" | "selectionChanged", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
94
|
/**
|
|
95
95
|
* 传入表数据
|
|
96
96
|
* @type {Array}
|
|
@@ -178,7 +178,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
178
178
|
onGridReady?: (...args: any[]) => any;
|
|
179
179
|
onGridDataReady?: (...args: any[]) => any;
|
|
180
180
|
onSelectionChanged?: (...args: any[]) => any;
|
|
181
|
-
onItemConfigChange?: (...args: any[]) => any;
|
|
182
181
|
}, {
|
|
183
182
|
maxHeight: string;
|
|
184
183
|
partName: string;
|
|
@@ -2,162 +2,162 @@ import 'vant/lib/index.css';
|
|
|
2
2
|
import 'vant/lib/checkbox';
|
|
3
3
|
import 'vant/lib/checkbox-group';
|
|
4
4
|
type SelectMode = 'singleRow' | 'multiRow';
|
|
5
|
-
type ViewType = 'list' | 'card';
|
|
5
|
+
type ViewType = 'list' | 'card' | 'card2' | 'list2';
|
|
6
6
|
declare const _default: import("vue").DefineComponent<{
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
* 传入表数据
|
|
9
|
+
* @type {Array}
|
|
10
|
+
* @
|
|
11
|
+
*/
|
|
12
12
|
data: any[];
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
* 最大高度,默认auto
|
|
15
|
+
* @type {String}
|
|
16
|
+
*/
|
|
17
17
|
maxHeight: {
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
* 初始化Service
|
|
23
|
+
* @type {String}
|
|
24
|
+
*/
|
|
25
25
|
initSvc: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
require: boolean;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* 初始化Service的分区
|
|
31
|
-
* @type {String}
|
|
32
|
-
*/
|
|
30
|
+
* 初始化Service的分区
|
|
31
|
+
* @type {String}
|
|
32
|
+
*/
|
|
33
33
|
partName: {
|
|
34
34
|
type: StringConstructor;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
* SI011X-formName
|
|
39
|
+
* @type {String}
|
|
40
|
+
*/
|
|
41
41
|
formName: {
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
require: boolean;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
* SI011X-functionId
|
|
47
|
+
* @type {String}
|
|
48
|
+
*/
|
|
49
49
|
functionId: {
|
|
50
50
|
type: StringConstructor;
|
|
51
51
|
require: boolean;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
* 左侧部分是否显示
|
|
55
|
+
* @type {Boolean}
|
|
56
|
+
*/
|
|
57
57
|
showLeft: {
|
|
58
58
|
type: BooleanConstructor;
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
* 右侧部分是否显示
|
|
63
|
+
* @type {Boolean}
|
|
64
|
+
*/
|
|
65
65
|
showRight: {
|
|
66
66
|
type: BooleanConstructor;
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
* 主标题
|
|
71
|
+
* @type {String}
|
|
72
|
+
*/
|
|
73
73
|
mainTitle: {
|
|
74
74
|
type: StringConstructor;
|
|
75
75
|
default: boolean;
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
* 左图标url
|
|
79
|
+
* @type {String}
|
|
80
|
+
*/
|
|
81
81
|
leftIconUrl: {
|
|
82
82
|
type: StringConstructor;
|
|
83
83
|
default: string;
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
* 右图标url
|
|
87
|
+
* @type {String}
|
|
88
|
+
*/
|
|
89
89
|
rightIconUrl: {
|
|
90
90
|
type: StringConstructor;
|
|
91
91
|
default: string;
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
* 左图标大小
|
|
95
|
+
* @type {Array}
|
|
96
|
+
*/
|
|
97
97
|
leftIconSize: {
|
|
98
98
|
type: ArrayConstructor;
|
|
99
99
|
default: string[];
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
* 右图标大小
|
|
103
|
+
* @type {Array}
|
|
104
|
+
*/
|
|
105
105
|
rightIconSize: {
|
|
106
106
|
type: ArrayConstructor;
|
|
107
107
|
default: string[];
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
* 开启多选
|
|
111
|
+
* @type {Boolean}
|
|
112
|
+
*/
|
|
113
113
|
showSelect: {
|
|
114
114
|
type: BooleanConstructor;
|
|
115
115
|
default: boolean;
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
* 多选模式
|
|
119
|
+
* @type {String}
|
|
120
|
+
*/
|
|
121
121
|
selectMode: {
|
|
122
122
|
type: () => SelectMode;
|
|
123
123
|
default: string;
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
* 是否禁用下拉刷新
|
|
127
|
+
* @type {Boolean}
|
|
128
|
+
*/
|
|
129
129
|
pullDisabled: {
|
|
130
130
|
type: BooleanConstructor;
|
|
131
131
|
default: boolean;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
* 是否禁用上滑加载
|
|
135
|
+
* @type {Boolean}
|
|
136
|
+
*/
|
|
137
137
|
pullDownDisabled: {
|
|
138
138
|
type: BooleanConstructor;
|
|
139
139
|
default: boolean;
|
|
140
140
|
};
|
|
141
141
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
* 是否左滑多选
|
|
143
|
+
* @type {Boolean}
|
|
144
|
+
*/
|
|
145
145
|
leftSwiperSelect: {
|
|
146
146
|
type: BooleanConstructor;
|
|
147
147
|
default: boolean;
|
|
148
148
|
};
|
|
149
149
|
/**
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
* 是否右滑删除
|
|
151
|
+
* @type {Boolean}
|
|
152
|
+
*/
|
|
153
153
|
rightSwiperDelete: {
|
|
154
154
|
type: BooleanConstructor;
|
|
155
155
|
default: boolean;
|
|
156
156
|
};
|
|
157
157
|
/**
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
* 显示模式 list|card
|
|
159
|
+
* @type {String}
|
|
160
|
+
*/
|
|
161
161
|
viewType: {
|
|
162
162
|
type: () => ViewType;
|
|
163
163
|
default: string;
|
|
@@ -171,187 +171,187 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
171
171
|
default: boolean;
|
|
172
172
|
};
|
|
173
173
|
/**
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
* 字体大小
|
|
175
|
+
* @type {String}
|
|
176
|
+
*/
|
|
177
177
|
fontSize: {
|
|
178
178
|
type: StringConstructor;
|
|
179
179
|
default: string;
|
|
180
180
|
};
|
|
181
181
|
/**
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
* 字体
|
|
183
|
+
* @type {String}
|
|
184
|
+
*/
|
|
185
185
|
fontFamily: {
|
|
186
186
|
type: StringConstructor;
|
|
187
187
|
default: string;
|
|
188
188
|
};
|
|
189
189
|
/**
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
* 一行显示列数
|
|
191
|
+
* 可选值:1、2、3、4
|
|
192
|
+
* @type {Number}
|
|
193
|
+
*/
|
|
194
194
|
controlsInRow: {
|
|
195
195
|
type: () => 1 | 2 | 3 | 4;
|
|
196
196
|
default: number;
|
|
197
197
|
};
|
|
198
198
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
199
199
|
[key: string]: any;
|
|
200
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange")[], "leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
200
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange" | "dataListReady")[], "leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange" | "dataListReady", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
201
201
|
/**
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
202
|
+
* 传入表数据
|
|
203
|
+
* @type {Array}
|
|
204
|
+
* @
|
|
205
|
+
*/
|
|
206
206
|
data: any[];
|
|
207
207
|
/**
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
* 最大高度,默认auto
|
|
209
|
+
* @type {String}
|
|
210
|
+
*/
|
|
211
211
|
maxHeight: {
|
|
212
212
|
type: StringConstructor;
|
|
213
213
|
default: string;
|
|
214
214
|
};
|
|
215
215
|
/**
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
* 初始化Service
|
|
217
|
+
* @type {String}
|
|
218
|
+
*/
|
|
219
219
|
initSvc: {
|
|
220
220
|
type: StringConstructor;
|
|
221
221
|
require: boolean;
|
|
222
222
|
};
|
|
223
223
|
/**
|
|
224
|
-
* 初始化Service的分区
|
|
225
|
-
* @type {String}
|
|
226
|
-
*/
|
|
224
|
+
* 初始化Service的分区
|
|
225
|
+
* @type {String}
|
|
226
|
+
*/
|
|
227
227
|
partName: {
|
|
228
228
|
type: StringConstructor;
|
|
229
229
|
default: string;
|
|
230
230
|
};
|
|
231
231
|
/**
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
* SI011X-formName
|
|
233
|
+
* @type {String}
|
|
234
|
+
*/
|
|
235
235
|
formName: {
|
|
236
236
|
type: StringConstructor;
|
|
237
237
|
require: boolean;
|
|
238
238
|
};
|
|
239
239
|
/**
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
* SI011X-functionId
|
|
241
|
+
* @type {String}
|
|
242
|
+
*/
|
|
243
243
|
functionId: {
|
|
244
244
|
type: StringConstructor;
|
|
245
245
|
require: boolean;
|
|
246
246
|
};
|
|
247
247
|
/**
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
248
|
+
* 左侧部分是否显示
|
|
249
|
+
* @type {Boolean}
|
|
250
|
+
*/
|
|
251
251
|
showLeft: {
|
|
252
252
|
type: BooleanConstructor;
|
|
253
253
|
default: boolean;
|
|
254
254
|
};
|
|
255
255
|
/**
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
256
|
+
* 右侧部分是否显示
|
|
257
|
+
* @type {Boolean}
|
|
258
|
+
*/
|
|
259
259
|
showRight: {
|
|
260
260
|
type: BooleanConstructor;
|
|
261
261
|
default: boolean;
|
|
262
262
|
};
|
|
263
263
|
/**
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
* 主标题
|
|
265
|
+
* @type {String}
|
|
266
|
+
*/
|
|
267
267
|
mainTitle: {
|
|
268
268
|
type: StringConstructor;
|
|
269
269
|
default: boolean;
|
|
270
270
|
};
|
|
271
271
|
/**
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
272
|
+
* 左图标url
|
|
273
|
+
* @type {String}
|
|
274
|
+
*/
|
|
275
275
|
leftIconUrl: {
|
|
276
276
|
type: StringConstructor;
|
|
277
277
|
default: string;
|
|
278
278
|
};
|
|
279
279
|
/**
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
280
|
+
* 右图标url
|
|
281
|
+
* @type {String}
|
|
282
|
+
*/
|
|
283
283
|
rightIconUrl: {
|
|
284
284
|
type: StringConstructor;
|
|
285
285
|
default: string;
|
|
286
286
|
};
|
|
287
287
|
/**
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
* 左图标大小
|
|
289
|
+
* @type {Array}
|
|
290
|
+
*/
|
|
291
291
|
leftIconSize: {
|
|
292
292
|
type: ArrayConstructor;
|
|
293
293
|
default: string[];
|
|
294
294
|
};
|
|
295
295
|
/**
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
* 右图标大小
|
|
297
|
+
* @type {Array}
|
|
298
|
+
*/
|
|
299
299
|
rightIconSize: {
|
|
300
300
|
type: ArrayConstructor;
|
|
301
301
|
default: string[];
|
|
302
302
|
};
|
|
303
303
|
/**
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
* 开启多选
|
|
305
|
+
* @type {Boolean}
|
|
306
|
+
*/
|
|
307
307
|
showSelect: {
|
|
308
308
|
type: BooleanConstructor;
|
|
309
309
|
default: boolean;
|
|
310
310
|
};
|
|
311
311
|
/**
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
312
|
+
* 多选模式
|
|
313
|
+
* @type {String}
|
|
314
|
+
*/
|
|
315
315
|
selectMode: {
|
|
316
316
|
type: () => SelectMode;
|
|
317
317
|
default: string;
|
|
318
318
|
};
|
|
319
319
|
/**
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
320
|
+
* 是否禁用下拉刷新
|
|
321
|
+
* @type {Boolean}
|
|
322
|
+
*/
|
|
323
323
|
pullDisabled: {
|
|
324
324
|
type: BooleanConstructor;
|
|
325
325
|
default: boolean;
|
|
326
326
|
};
|
|
327
327
|
/**
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
* 是否禁用上滑加载
|
|
329
|
+
* @type {Boolean}
|
|
330
|
+
*/
|
|
331
331
|
pullDownDisabled: {
|
|
332
332
|
type: BooleanConstructor;
|
|
333
333
|
default: boolean;
|
|
334
334
|
};
|
|
335
335
|
/**
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
336
|
+
* 是否左滑多选
|
|
337
|
+
* @type {Boolean}
|
|
338
|
+
*/
|
|
339
339
|
leftSwiperSelect: {
|
|
340
340
|
type: BooleanConstructor;
|
|
341
341
|
default: boolean;
|
|
342
342
|
};
|
|
343
343
|
/**
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
* 是否右滑删除
|
|
345
|
+
* @type {Boolean}
|
|
346
|
+
*/
|
|
347
347
|
rightSwiperDelete: {
|
|
348
348
|
type: BooleanConstructor;
|
|
349
349
|
default: boolean;
|
|
350
350
|
};
|
|
351
351
|
/**
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
352
|
+
* 显示模式 list|card
|
|
353
|
+
* @type {String}
|
|
354
|
+
*/
|
|
355
355
|
viewType: {
|
|
356
356
|
type: () => ViewType;
|
|
357
357
|
default: string;
|
|
@@ -365,26 +365,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
365
365
|
default: boolean;
|
|
366
366
|
};
|
|
367
367
|
/**
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
368
|
+
* 字体大小
|
|
369
|
+
* @type {String}
|
|
370
|
+
*/
|
|
371
371
|
fontSize: {
|
|
372
372
|
type: StringConstructor;
|
|
373
373
|
default: string;
|
|
374
374
|
};
|
|
375
375
|
/**
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
376
|
+
* 字体
|
|
377
|
+
* @type {String}
|
|
378
|
+
*/
|
|
379
379
|
fontFamily: {
|
|
380
380
|
type: StringConstructor;
|
|
381
381
|
default: string;
|
|
382
382
|
};
|
|
383
383
|
/**
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
384
|
+
* 一行显示列数
|
|
385
|
+
* 可选值:1、2、3、4
|
|
386
|
+
* @type {Number}
|
|
387
|
+
*/
|
|
388
388
|
controlsInRow: {
|
|
389
389
|
type: () => 1 | 2 | 3 | 4;
|
|
390
390
|
default: number;
|
|
@@ -398,6 +398,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
398
398
|
onPullRefresh?: (...args: any[]) => any;
|
|
399
399
|
onPullUpdate?: (...args: any[]) => any;
|
|
400
400
|
onCheckDataChange?: (...args: any[]) => any;
|
|
401
|
+
onDataListReady?: (...args: any[]) => any;
|
|
401
402
|
}, {
|
|
402
403
|
mainTitle: string;
|
|
403
404
|
maxHeight: string;
|