@ecan-bi/datav 1.3.16 → 1.3.17

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.
@@ -0,0 +1,324 @@
1
+ export declare const EcanDataSelect: import('../../utils/withInstall').SFCWithInstall<import("vue").DefineComponent<{
2
+ data: {
3
+ type?: import("vue").PropType<import("./props").DataSelectOptions>;
4
+ default?: import("./props").DataSelectOptions;
5
+ };
6
+ value: {
7
+ type?: import("vue").PropType<string>;
8
+ default?: string;
9
+ };
10
+ dataFieldNames: {
11
+ type?: import("vue").PropType<{
12
+ label: string;
13
+ value: string;
14
+ options: string;
15
+ }>;
16
+ default?: {
17
+ label: string;
18
+ value: string;
19
+ options: string;
20
+ };
21
+ };
22
+ mode: {
23
+ type?: import("vue").PropType<"multiple" | "tags" | "combobox">;
24
+ default?: "multiple" | "tags" | "combobox";
25
+ };
26
+ maxTagCount: {
27
+ type?: import("vue").PropType<number>;
28
+ default?: number;
29
+ };
30
+ autoClearSearchValue: {
31
+ type?: import("vue").PropType<boolean>;
32
+ default?: boolean;
33
+ };
34
+ placeholder: {
35
+ type?: import("vue").PropType<string>;
36
+ default?: string;
37
+ };
38
+ selectFirstOption: {
39
+ type?: import("vue").PropType<boolean>;
40
+ default?: boolean;
41
+ };
42
+ graphicConfig: {
43
+ type?: import("vue").PropType<{
44
+ [key: string]: any;
45
+ }>;
46
+ default?: {
47
+ [key: string]: any;
48
+ };
49
+ };
50
+ valueType: {
51
+ type?: import("vue").PropType<"label" | "value">;
52
+ default?: "label" | "value";
53
+ };
54
+ isAllowClear: {
55
+ type?: import("vue").PropType<boolean>;
56
+ default?: boolean;
57
+ };
58
+ optionFontSize: {
59
+ type?: import("vue").PropType<string>;
60
+ default?: string;
61
+ };
62
+ id: {
63
+ type?: import("vue").PropType<string>;
64
+ default?: string;
65
+ };
66
+ name: {
67
+ type?: import("vue").PropType<string>;
68
+ default?: string;
69
+ };
70
+ keyName: {
71
+ type?: import("vue").PropType<string>;
72
+ default?: string;
73
+ };
74
+ type: {
75
+ type?: import("vue").PropType<string>;
76
+ default?: string;
77
+ };
78
+ width: {
79
+ type?: import("vue").PropType<string>;
80
+ default?: string;
81
+ };
82
+ height: {
83
+ type?: import("vue").PropType<string>;
84
+ default?: string;
85
+ };
86
+ position: {
87
+ type?: import("vue").PropType<string>;
88
+ default?: string;
89
+ };
90
+ top: {
91
+ type?: import("vue").PropType<string>;
92
+ default?: string;
93
+ };
94
+ left: {
95
+ type?: import("vue").PropType<string>;
96
+ default?: string;
97
+ };
98
+ zIndex: {
99
+ type?: import("vue").PropType<number>;
100
+ default?: number;
101
+ };
102
+ rotate: {
103
+ type?: import("vue").PropType<string>;
104
+ default?: string;
105
+ };
106
+ isShow: {
107
+ type?: import("vue").PropType<boolean>;
108
+ default?: boolean;
109
+ };
110
+ isRender: {
111
+ type?: import("vue").PropType<boolean>;
112
+ default?: boolean;
113
+ };
114
+ events: {
115
+ type?: import("vue").PropType<import("../../utils/props").Events>;
116
+ default?: import("../../utils/props").Events;
117
+ };
118
+ requestUrl: {
119
+ type?: import("vue").PropType<string>;
120
+ default?: string;
121
+ };
122
+ requestMethod: {
123
+ type?: import("vue").PropType<import("../../utils/props").RequestMethod>;
124
+ default?: import("../../utils/props").RequestMethod;
125
+ };
126
+ requestHeaders: {
127
+ type?: import("vue").PropType<{
128
+ [key: string]: any;
129
+ }>;
130
+ default?: {
131
+ [key: string]: any;
132
+ };
133
+ };
134
+ isOpenRequestTimer: {
135
+ type?: import("vue").PropType<boolean>;
136
+ default?: boolean;
137
+ };
138
+ requestInterval: {
139
+ type?: import("vue").PropType<number>;
140
+ default?: number;
141
+ };
142
+ requestParams: {
143
+ type?: import("vue").PropType<import("../../utils/props").RequestParams>;
144
+ default?: import("../../utils/props").RequestParams;
145
+ };
146
+ requestSort: {
147
+ type?: import("vue").PropType<number>;
148
+ default?: number;
149
+ };
150
+ dataType: {
151
+ type?: import("vue").PropType<"indicator" | "static" | "request">;
152
+ default?: "indicator" | "static" | "request";
153
+ };
154
+ }, {
155
+ style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
156
+ getPopupContainer: () => HTMLElement;
157
+ myValue: import("vue").Ref<any>;
158
+ selectChange: () => void;
159
+ options: import("vue").Ref<{
160
+ value: any;
161
+ label: string;
162
+ disabled?: boolean;
163
+ key?: string;
164
+ title?: string;
165
+ }[]>;
166
+ filterOption: (input: string, option: any) => boolean;
167
+ loading: import("vue").Ref<boolean>;
168
+ resultValue: import("vue").WritableComputedRef<any>;
169
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
170
+ data: {
171
+ type?: import("vue").PropType<import("./props").DataSelectOptions>;
172
+ default?: import("./props").DataSelectOptions;
173
+ };
174
+ value: {
175
+ type?: import("vue").PropType<string>;
176
+ default?: string;
177
+ };
178
+ dataFieldNames: {
179
+ type?: import("vue").PropType<{
180
+ label: string;
181
+ value: string;
182
+ options: string;
183
+ }>;
184
+ default?: {
185
+ label: string;
186
+ value: string;
187
+ options: string;
188
+ };
189
+ };
190
+ mode: {
191
+ type?: import("vue").PropType<"multiple" | "tags" | "combobox">;
192
+ default?: "multiple" | "tags" | "combobox";
193
+ };
194
+ maxTagCount: {
195
+ type?: import("vue").PropType<number>;
196
+ default?: number;
197
+ };
198
+ autoClearSearchValue: {
199
+ type?: import("vue").PropType<boolean>;
200
+ default?: boolean;
201
+ };
202
+ placeholder: {
203
+ type?: import("vue").PropType<string>;
204
+ default?: string;
205
+ };
206
+ selectFirstOption: {
207
+ type?: import("vue").PropType<boolean>;
208
+ default?: boolean;
209
+ };
210
+ graphicConfig: {
211
+ type?: import("vue").PropType<{
212
+ [key: string]: any;
213
+ }>;
214
+ default?: {
215
+ [key: string]: any;
216
+ };
217
+ };
218
+ valueType: {
219
+ type?: import("vue").PropType<"label" | "value">;
220
+ default?: "label" | "value";
221
+ };
222
+ isAllowClear: {
223
+ type?: import("vue").PropType<boolean>;
224
+ default?: boolean;
225
+ };
226
+ optionFontSize: {
227
+ type?: import("vue").PropType<string>;
228
+ default?: string;
229
+ };
230
+ id: {
231
+ type?: import("vue").PropType<string>;
232
+ default?: string;
233
+ };
234
+ name: {
235
+ type?: import("vue").PropType<string>;
236
+ default?: string;
237
+ };
238
+ keyName: {
239
+ type?: import("vue").PropType<string>;
240
+ default?: string;
241
+ };
242
+ type: {
243
+ type?: import("vue").PropType<string>;
244
+ default?: string;
245
+ };
246
+ width: {
247
+ type?: import("vue").PropType<string>;
248
+ default?: string;
249
+ };
250
+ height: {
251
+ type?: import("vue").PropType<string>;
252
+ default?: string;
253
+ };
254
+ position: {
255
+ type?: import("vue").PropType<string>;
256
+ default?: string;
257
+ };
258
+ top: {
259
+ type?: import("vue").PropType<string>;
260
+ default?: string;
261
+ };
262
+ left: {
263
+ type?: import("vue").PropType<string>;
264
+ default?: string;
265
+ };
266
+ zIndex: {
267
+ type?: import("vue").PropType<number>;
268
+ default?: number;
269
+ };
270
+ rotate: {
271
+ type?: import("vue").PropType<string>;
272
+ default?: string;
273
+ };
274
+ isShow: {
275
+ type?: import("vue").PropType<boolean>;
276
+ default?: boolean;
277
+ };
278
+ isRender: {
279
+ type?: import("vue").PropType<boolean>;
280
+ default?: boolean;
281
+ };
282
+ events: {
283
+ type?: import("vue").PropType<import("../../utils/props").Events>;
284
+ default?: import("../../utils/props").Events;
285
+ };
286
+ requestUrl: {
287
+ type?: import("vue").PropType<string>;
288
+ default?: string;
289
+ };
290
+ requestMethod: {
291
+ type?: import("vue").PropType<import("../../utils/props").RequestMethod>;
292
+ default?: import("../../utils/props").RequestMethod;
293
+ };
294
+ requestHeaders: {
295
+ type?: import("vue").PropType<{
296
+ [key: string]: any;
297
+ }>;
298
+ default?: {
299
+ [key: string]: any;
300
+ };
301
+ };
302
+ isOpenRequestTimer: {
303
+ type?: import("vue").PropType<boolean>;
304
+ default?: boolean;
305
+ };
306
+ requestInterval: {
307
+ type?: import("vue").PropType<number>;
308
+ default?: number;
309
+ };
310
+ requestParams: {
311
+ type?: import("vue").PropType<import("../../utils/props").RequestParams>;
312
+ default?: import("../../utils/props").RequestParams;
313
+ };
314
+ requestSort: {
315
+ type?: import("vue").PropType<number>;
316
+ default?: number;
317
+ };
318
+ dataType: {
319
+ type?: import("vue").PropType<"indicator" | "static" | "request">;
320
+ default?: "indicator" | "static" | "request";
321
+ };
322
+ }>>, {}>> & Record<string, any>;
323
+ export default EcanDataSelect;
324
+ export * from './props';
@@ -0,0 +1,185 @@
1
+ import { Props } from '../../utils/props';
2
+ export interface DataSelectOption {
3
+ value: any;
4
+ label: string;
5
+ disabled?: boolean;
6
+ key?: string;
7
+ title?: string;
8
+ }
9
+ export declare type DataSelectOptions = DataSelectOption[];
10
+ export interface DataSelectProps extends Props {
11
+ data: DataSelectOptions;
12
+ value: string;
13
+ dataFieldNames: {
14
+ label: string;
15
+ value: string;
16
+ options: string;
17
+ };
18
+ mode: 'multiple' | 'tags' | 'combobox' | undefined;
19
+ maxTagCount: number | undefined;
20
+ autoClearSearchValue: boolean;
21
+ placeholder: string;
22
+ selectFirstOption: boolean;
23
+ graphicConfig: {
24
+ [key: string]: any;
25
+ };
26
+ valueType: 'label' | 'value';
27
+ isAllowClear: boolean;
28
+ optionFontSize: string;
29
+ }
30
+ export declare const dataSelectProps: DataSelectProps;
31
+ export declare const dataSelectComponentProps: {
32
+ data: {
33
+ type?: import("vue").PropType<DataSelectOptions>;
34
+ default?: DataSelectOptions;
35
+ };
36
+ value: {
37
+ type?: import("vue").PropType<string>;
38
+ default?: string;
39
+ };
40
+ dataFieldNames: {
41
+ type?: import("vue").PropType<{
42
+ label: string;
43
+ value: string;
44
+ options: string;
45
+ }>;
46
+ default?: {
47
+ label: string;
48
+ value: string;
49
+ options: string;
50
+ };
51
+ };
52
+ mode: {
53
+ type?: import("vue").PropType<"multiple" | "tags" | "combobox">;
54
+ default?: "multiple" | "tags" | "combobox";
55
+ };
56
+ maxTagCount: {
57
+ type?: import("vue").PropType<number>;
58
+ default?: number;
59
+ };
60
+ autoClearSearchValue: {
61
+ type?: import("vue").PropType<boolean>;
62
+ default?: boolean;
63
+ };
64
+ placeholder: {
65
+ type?: import("vue").PropType<string>;
66
+ default?: string;
67
+ };
68
+ selectFirstOption: {
69
+ type?: import("vue").PropType<boolean>;
70
+ default?: boolean;
71
+ };
72
+ graphicConfig: {
73
+ type?: import("vue").PropType<{
74
+ [key: string]: any;
75
+ }>;
76
+ default?: {
77
+ [key: string]: any;
78
+ };
79
+ };
80
+ valueType: {
81
+ type?: import("vue").PropType<"label" | "value">;
82
+ default?: "label" | "value";
83
+ };
84
+ isAllowClear: {
85
+ type?: import("vue").PropType<boolean>;
86
+ default?: boolean;
87
+ };
88
+ optionFontSize: {
89
+ type?: import("vue").PropType<string>;
90
+ default?: string;
91
+ };
92
+ id: {
93
+ type?: import("vue").PropType<string>;
94
+ default?: string;
95
+ };
96
+ name: {
97
+ type?: import("vue").PropType<string>;
98
+ default?: string;
99
+ };
100
+ keyName: {
101
+ type?: import("vue").PropType<string>;
102
+ default?: string;
103
+ };
104
+ type: {
105
+ type?: import("vue").PropType<string>;
106
+ default?: string;
107
+ };
108
+ width: {
109
+ type?: import("vue").PropType<string>;
110
+ default?: string;
111
+ };
112
+ height: {
113
+ type?: import("vue").PropType<string>;
114
+ default?: string;
115
+ };
116
+ position: {
117
+ type?: import("vue").PropType<string>;
118
+ default?: string;
119
+ };
120
+ top: {
121
+ type?: import("vue").PropType<string>;
122
+ default?: string;
123
+ };
124
+ left: {
125
+ type?: import("vue").PropType<string>;
126
+ default?: string;
127
+ };
128
+ zIndex: {
129
+ type?: import("vue").PropType<number>;
130
+ default?: number;
131
+ };
132
+ rotate: {
133
+ type?: import("vue").PropType<string>;
134
+ default?: string;
135
+ };
136
+ isShow: {
137
+ type?: import("vue").PropType<boolean>;
138
+ default?: boolean;
139
+ };
140
+ isRender: {
141
+ type?: import("vue").PropType<boolean>;
142
+ default?: boolean;
143
+ };
144
+ events: {
145
+ type?: import("vue").PropType<import('../../utils/props').Events>;
146
+ default?: import('../../utils/props').Events;
147
+ };
148
+ requestUrl: {
149
+ type?: import("vue").PropType<string>;
150
+ default?: string;
151
+ };
152
+ requestMethod: {
153
+ type?: import("vue").PropType<import('../../utils/props').RequestMethod>;
154
+ default?: import('../../utils/props').RequestMethod;
155
+ };
156
+ requestHeaders: {
157
+ type?: import("vue").PropType<{
158
+ [key: string]: any;
159
+ }>;
160
+ default?: {
161
+ [key: string]: any;
162
+ };
163
+ };
164
+ isOpenRequestTimer: {
165
+ type?: import("vue").PropType<boolean>;
166
+ default?: boolean;
167
+ };
168
+ requestInterval: {
169
+ type?: import("vue").PropType<number>;
170
+ default?: number;
171
+ };
172
+ requestParams: {
173
+ type?: import("vue").PropType<import('../../utils/props').RequestParams>;
174
+ default?: import('../../utils/props').RequestParams;
175
+ };
176
+ requestSort: {
177
+ type?: import("vue").PropType<number>;
178
+ default?: number;
179
+ };
180
+ dataType: {
181
+ type?: import("vue").PropType<"indicator" | "static" | "request">;
182
+ default?: "indicator" | "static" | "request";
183
+ };
184
+ };
185
+ export declare const dataSelectEvents: string[];
@@ -0,0 +1 @@
1
+ export * from './data-select';