@baosight/erm 1.2.5 → 1.2.7
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/components/MobileCheckGrid.vue.d.ts +214 -0
- package/lib/components/MobileRadio.vue.d.ts +175 -0
- package/lib/ermGrid/ermGrid.vue.d.ts +8 -7
- package/lib/ermList/ermList.vue.d.ts +5 -5
- package/lib/index.css +2 -2
- package/lib/index.esm.css +155 -81
- package/lib/index.esm.js +1 -1
- package/lib/use/eiService.d.ts +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { EI } from "@baosight/ei";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
codeSet: {
|
|
14
|
+
type: typeof EI.EiBlock;
|
|
15
|
+
};
|
|
16
|
+
valueCol: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
displayCol: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
showSearch: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
checkFlag: {
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
readOnly: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
valueVisible: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
placeholder: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
required: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
option: {
|
|
48
|
+
type: {
|
|
49
|
+
(arrayLength: number): {
|
|
50
|
+
text: string;
|
|
51
|
+
value: string;
|
|
52
|
+
}[];
|
|
53
|
+
(...items: {
|
|
54
|
+
text: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}[]): {
|
|
57
|
+
text: string;
|
|
58
|
+
value: string;
|
|
59
|
+
}[];
|
|
60
|
+
new (arrayLength: number): {
|
|
61
|
+
text: string;
|
|
62
|
+
value: string;
|
|
63
|
+
}[];
|
|
64
|
+
new (...items: {
|
|
65
|
+
text: string;
|
|
66
|
+
value: string;
|
|
67
|
+
}[]): {
|
|
68
|
+
text: string;
|
|
69
|
+
value: string;
|
|
70
|
+
}[];
|
|
71
|
+
isArray(arg: any): arg is any[];
|
|
72
|
+
readonly prototype: any[];
|
|
73
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
74
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
75
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
76
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
77
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
78
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
79
|
+
};
|
|
80
|
+
default: () => any[];
|
|
81
|
+
required: false;
|
|
82
|
+
};
|
|
83
|
+
defaultValue: {
|
|
84
|
+
type: ObjectConstructor;
|
|
85
|
+
default: () => any[];
|
|
86
|
+
required: false;
|
|
87
|
+
};
|
|
88
|
+
disabled: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
required: false;
|
|
92
|
+
};
|
|
93
|
+
showCode: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
required: false;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
101
|
+
data: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
value: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
};
|
|
107
|
+
title: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
codeSet: {
|
|
112
|
+
type: typeof EI.EiBlock;
|
|
113
|
+
};
|
|
114
|
+
valueCol: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
};
|
|
117
|
+
displayCol: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
};
|
|
120
|
+
showSearch: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
checkFlag: {
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
readOnly: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
valueVisible: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
placeholder: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
required: false;
|
|
139
|
+
};
|
|
140
|
+
required: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
required: false;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
option: {
|
|
146
|
+
type: {
|
|
147
|
+
(arrayLength: number): {
|
|
148
|
+
text: string;
|
|
149
|
+
value: string;
|
|
150
|
+
}[];
|
|
151
|
+
(...items: {
|
|
152
|
+
text: string;
|
|
153
|
+
value: string;
|
|
154
|
+
}[]): {
|
|
155
|
+
text: string;
|
|
156
|
+
value: string;
|
|
157
|
+
}[];
|
|
158
|
+
new (arrayLength: number): {
|
|
159
|
+
text: string;
|
|
160
|
+
value: string;
|
|
161
|
+
}[];
|
|
162
|
+
new (...items: {
|
|
163
|
+
text: string;
|
|
164
|
+
value: string;
|
|
165
|
+
}[]): {
|
|
166
|
+
text: string;
|
|
167
|
+
value: string;
|
|
168
|
+
}[];
|
|
169
|
+
isArray(arg: any): arg is any[];
|
|
170
|
+
readonly prototype: any[];
|
|
171
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
172
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
173
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
174
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
175
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
176
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
177
|
+
};
|
|
178
|
+
default: () => any[];
|
|
179
|
+
required: false;
|
|
180
|
+
};
|
|
181
|
+
defaultValue: {
|
|
182
|
+
type: ObjectConstructor;
|
|
183
|
+
default: () => any[];
|
|
184
|
+
required: false;
|
|
185
|
+
};
|
|
186
|
+
disabled: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
required: false;
|
|
190
|
+
};
|
|
191
|
+
showCode: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
required: false;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
}>> & {
|
|
197
|
+
onInput?: (...args: any[]) => any;
|
|
198
|
+
}, {
|
|
199
|
+
title: string;
|
|
200
|
+
showSearch: boolean;
|
|
201
|
+
checkFlag: boolean;
|
|
202
|
+
readOnly: boolean;
|
|
203
|
+
valueVisible: boolean;
|
|
204
|
+
placeholder: string;
|
|
205
|
+
required: boolean;
|
|
206
|
+
option: {
|
|
207
|
+
text: string;
|
|
208
|
+
value: string;
|
|
209
|
+
}[];
|
|
210
|
+
defaultValue: Record<string, any>;
|
|
211
|
+
disabled: boolean;
|
|
212
|
+
showCode: boolean;
|
|
213
|
+
}, {}>;
|
|
214
|
+
export default _default;
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { EI } from "@baosight/ei";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
codeSet: {
|
|
14
|
+
type: typeof EI.EiBlock;
|
|
15
|
+
};
|
|
16
|
+
valueCol: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
displayCol: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
showSearch: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
checkFlag: {
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
readOnly: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
valueVisible: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
ename: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
option: {
|
|
43
|
+
type: {
|
|
44
|
+
(arrayLength: number): {
|
|
45
|
+
text: string;
|
|
46
|
+
value: string;
|
|
47
|
+
}[];
|
|
48
|
+
(...items: {
|
|
49
|
+
text: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[]): {
|
|
52
|
+
text: string;
|
|
53
|
+
value: string;
|
|
54
|
+
}[];
|
|
55
|
+
new (arrayLength: number): {
|
|
56
|
+
text: string;
|
|
57
|
+
value: string;
|
|
58
|
+
}[];
|
|
59
|
+
new (...items: {
|
|
60
|
+
text: string;
|
|
61
|
+
value: string;
|
|
62
|
+
}[]): {
|
|
63
|
+
text: string;
|
|
64
|
+
value: string;
|
|
65
|
+
}[];
|
|
66
|
+
isArray(arg: any): arg is any[];
|
|
67
|
+
readonly prototype: any[];
|
|
68
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
69
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
70
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
71
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
72
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
73
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
74
|
+
};
|
|
75
|
+
defaule: () => any[];
|
|
76
|
+
};
|
|
77
|
+
defaultValue: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
82
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
data: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
88
|
+
value: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
};
|
|
91
|
+
title: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
codeSet: {
|
|
96
|
+
type: typeof EI.EiBlock;
|
|
97
|
+
};
|
|
98
|
+
valueCol: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
displayCol: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
showSearch: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
checkFlag: {
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
readOnly: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
valueVisible: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
ename: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
required: true;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
option: {
|
|
125
|
+
type: {
|
|
126
|
+
(arrayLength: number): {
|
|
127
|
+
text: string;
|
|
128
|
+
value: string;
|
|
129
|
+
}[];
|
|
130
|
+
(...items: {
|
|
131
|
+
text: string;
|
|
132
|
+
value: string;
|
|
133
|
+
}[]): {
|
|
134
|
+
text: string;
|
|
135
|
+
value: string;
|
|
136
|
+
}[];
|
|
137
|
+
new (arrayLength: number): {
|
|
138
|
+
text: string;
|
|
139
|
+
value: string;
|
|
140
|
+
}[];
|
|
141
|
+
new (...items: {
|
|
142
|
+
text: string;
|
|
143
|
+
value: string;
|
|
144
|
+
}[]): {
|
|
145
|
+
text: string;
|
|
146
|
+
value: string;
|
|
147
|
+
}[];
|
|
148
|
+
isArray(arg: any): arg is any[];
|
|
149
|
+
readonly prototype: any[];
|
|
150
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
151
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
152
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
153
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
154
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
155
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
156
|
+
};
|
|
157
|
+
defaule: () => any[];
|
|
158
|
+
};
|
|
159
|
+
defaultValue: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
default: string;
|
|
162
|
+
required: false;
|
|
163
|
+
};
|
|
164
|
+
}>> & {
|
|
165
|
+
onInput?: (...args: any[]) => any;
|
|
166
|
+
}, {
|
|
167
|
+
title: string;
|
|
168
|
+
showSearch: boolean;
|
|
169
|
+
checkFlag: boolean;
|
|
170
|
+
readOnly: boolean;
|
|
171
|
+
valueVisible: boolean;
|
|
172
|
+
ename: string;
|
|
173
|
+
defaultValue: string;
|
|
174
|
+
}, {}>;
|
|
175
|
+
export default _default;
|
|
@@ -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")[], "gridReady" | "gridDataReady" | "selectionChanged", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("gridReady" | "gridDataReady" | "selectionChanged" | "onCellClicked")[], "gridReady" | "gridDataReady" | "selectionChanged" | "onCellClicked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
94
|
/**
|
|
95
95
|
* 传入表数据
|
|
96
96
|
* @type {Array}
|
|
@@ -178,6 +178,7 @@ 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
|
+
onOnCellClicked?: (...args: any[]) => any;
|
|
181
182
|
}, {
|
|
182
183
|
maxHeight: string;
|
|
183
184
|
partName: string;
|
|
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
*/
|
|
12
12
|
data: any[];
|
|
13
13
|
isFilter: {
|
|
14
|
-
type:
|
|
15
|
-
default:
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* 最大高度,默认auto
|
|
@@ -209,8 +209,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
209
|
*/
|
|
210
210
|
data: any[];
|
|
211
211
|
isFilter: {
|
|
212
|
-
type:
|
|
213
|
-
default:
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
default: string;
|
|
214
214
|
};
|
|
215
215
|
/**
|
|
216
216
|
* 最大高度,默认auto
|
|
@@ -409,7 +409,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
409
409
|
onDataListReady?: (...args: any[]) => any;
|
|
410
410
|
}, {
|
|
411
411
|
mainTitle: string;
|
|
412
|
-
isFilter:
|
|
412
|
+
isFilter: string;
|
|
413
413
|
maxHeight: string;
|
|
414
414
|
partName: string;
|
|
415
415
|
showLeft: boolean;
|