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