command-center-v3-common 0.0.4 → 0.0.6

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/dist/index.d.ts CHANGED
@@ -1,11 +1,230 @@
1
- import { AllowedComponentProps } from 'vue';
2
- import { ComponentCustomProps } from 'vue';
3
- import { ComponentOptionsBase } from 'vue';
4
1
  import { ComponentOptionsMixin } from 'vue';
5
- import { CreateComponentPublicInstance } from 'vue';
6
2
  import { DefineComponent } from 'vue';
3
+ import { PropType as PropType_2 } from 'vue';
7
4
  import { PublicProps } from 'vue';
8
- import { VNodeProps } from 'vue';
5
+
6
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+
8
+ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
9
+
10
+ declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
11
+
12
+ declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
13
+
14
+ declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
15
+
16
+ declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
17
+
18
+ declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
19
+
20
+ declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
21
+
22
+ declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
23
+
24
+ declare type __VLS_Prettify<T> = {
25
+ [K in keyof T]: T[K];
26
+ } & {};
27
+
28
+ declare type __VLS_Prettify_2<T> = {
29
+ [K in keyof T]: T[K];
30
+ } & {};
31
+
32
+ declare type __VLS_Prettify_3<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
35
+
36
+ declare type __VLS_Prettify_4<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
39
+
40
+ declare type __VLS_Prettify_5<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
43
+
44
+ declare type __VLS_Prettify_6<T> = {
45
+ [K in keyof T]: T[K];
46
+ } & {};
47
+
48
+ declare type __VLS_Prettify_7<T> = {
49
+ [K in keyof T]: T[K];
50
+ } & {};
51
+
52
+ declare type __VLS_Prettify_8<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
55
+
56
+ declare type __VLS_Prettify_9<T> = {
57
+ [K in keyof T]: T[K];
58
+ } & {};
59
+
60
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
61
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
62
+ type: PropType_2<__VLS_NonUndefinedable<T[K]>>;
63
+ } : {
64
+ type: PropType_2<T[K]>;
65
+ required: true;
66
+ };
67
+ };
68
+
69
+ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
70
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
71
+ type: PropType_2<__VLS_NonUndefinedable_2<T[K]>>;
72
+ } : {
73
+ type: PropType_2<T[K]>;
74
+ required: true;
75
+ };
76
+ };
77
+
78
+ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
79
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
80
+ type: PropType_2<__VLS_NonUndefinedable_3<T[K]>>;
81
+ } : {
82
+ type: PropType_2<T[K]>;
83
+ required: true;
84
+ };
85
+ };
86
+
87
+ declare type __VLS_TypePropsToRuntimeProps_4<T> = {
88
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
89
+ type: PropType_2<__VLS_NonUndefinedable_4<T[K]>>;
90
+ } : {
91
+ type: PropType_2<T[K]>;
92
+ required: true;
93
+ };
94
+ };
95
+
96
+ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
97
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
98
+ type: PropType_2<__VLS_NonUndefinedable_5<T[K]>>;
99
+ } : {
100
+ type: PropType_2<T[K]>;
101
+ required: true;
102
+ };
103
+ };
104
+
105
+ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
106
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
107
+ type: PropType_2<__VLS_NonUndefinedable_6<T[K]>>;
108
+ } : {
109
+ type: PropType_2<T[K]>;
110
+ required: true;
111
+ };
112
+ };
113
+
114
+ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
115
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
116
+ type: PropType_2<__VLS_NonUndefinedable_7<T[K]>>;
117
+ } : {
118
+ type: PropType_2<T[K]>;
119
+ required: true;
120
+ };
121
+ };
122
+
123
+ declare type __VLS_TypePropsToRuntimeProps_8<T> = {
124
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
125
+ type: PropType_2<__VLS_NonUndefinedable_8<T[K]>>;
126
+ } : {
127
+ type: PropType_2<T[K]>;
128
+ required: true;
129
+ };
130
+ };
131
+
132
+ declare type __VLS_TypePropsToRuntimeProps_9<T> = {
133
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
134
+ type: PropType_2<__VLS_NonUndefinedable_9<T[K]>>;
135
+ } : {
136
+ type: PropType_2<T[K]>;
137
+ required: true;
138
+ };
139
+ };
140
+
141
+ declare type __VLS_WithDefaults<P, D> = {
142
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
143
+ default: D[K];
144
+ }> : P[K];
145
+ };
146
+
147
+ declare type __VLS_WithDefaults_2<P, D> = {
148
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
149
+ default: D[K];
150
+ }> : P[K];
151
+ };
152
+
153
+ declare type __VLS_WithDefaults_3<P, D> = {
154
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
155
+ default: D[K];
156
+ }> : P[K];
157
+ };
158
+
159
+ declare type __VLS_WithDefaults_4<P, D> = {
160
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
161
+ default: D[K];
162
+ }> : P[K];
163
+ };
164
+
165
+ declare type __VLS_WithDefaults_5<P, D> = {
166
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
167
+ default: D[K];
168
+ }> : P[K];
169
+ };
170
+
171
+ declare type __VLS_WithDefaults_6<P, D> = {
172
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
173
+ default: D[K];
174
+ }> : P[K];
175
+ };
176
+
177
+ declare type __VLS_WithDefaults_7<P, D> = {
178
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
179
+ default: D[K];
180
+ }> : P[K];
181
+ };
182
+
183
+ declare type __VLS_WithDefaults_8<P, D> = {
184
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
185
+ default: D[K];
186
+ }> : P[K];
187
+ };
188
+
189
+ declare type __VLS_WithDefaults_9<P, D> = {
190
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_9<P[K] & {
191
+ default: D[K];
192
+ }> : P[K];
193
+ };
194
+
195
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
196
+ new (): {
197
+ $slots: S;
198
+ };
199
+ };
200
+
201
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
202
+ new (): {
203
+ $slots: S;
204
+ };
205
+ };
206
+
207
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
208
+ new (): {
209
+ $slots: S;
210
+ };
211
+ };
212
+
213
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
214
+ new (): {
215
+ $slots: S;
216
+ };
217
+ };
218
+
219
+ declare interface BoxBorderProps {
220
+ [key: string]: any;
221
+ prefix?: string;
222
+ name: string;
223
+ className?: string;
224
+ color?: string;
225
+ width?: string | number;
226
+ height?: string | number;
227
+ }
9
228
 
10
229
  declare interface ChanneItem {
11
230
  deviceId: string;
@@ -15,6 +234,19 @@ declare interface ChanneItem {
15
234
  onlineState?: number;
16
235
  }
17
236
 
237
+ declare function clearSelection(): void;
238
+
239
+ declare interface ColumnList {
240
+ prop: string;
241
+ label: string;
242
+ slotName?: string;
243
+ headerSlotName?: string;
244
+ headerAlign?: 'left' | 'center' | 'right';
245
+ align?: 'left' | 'center' | 'right';
246
+ width?: string | number;
247
+ isSearch: boolean;
248
+ }
249
+
18
250
  declare interface ConfigType {
19
251
  width: number | string;
20
252
  tipsTitleIcon: string;
@@ -30,678 +262,6 @@ declare interface ConfigType {
30
262
  submitBtnType: '' | 'default' | 'success' | 'warning' | 'info' | 'text' | 'primary' | 'danger';
31
263
  }
32
264
 
33
- declare const _default: {
34
- HyBoxBorder: {
35
- new (...args: any[]): CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
36
- [x: string]: {
37
- type: globalThis.PropType<any>;
38
- };
39
- [x: number]: {
40
- type: globalThis.PropType<any>;
41
- };
42
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
43
- [x: string]: {
44
- type: globalThis.PropType<any>;
45
- };
46
- [x: number]: {
47
- type: globalThis.PropType<any>;
48
- };
49
- }>>, {}, true, {}, {}, {
50
- P: {};
51
- B: {};
52
- D: {};
53
- C: {};
54
- M: {};
55
- Defaults: {};
56
- }, Readonly<globalThis.ExtractPropTypes<{
57
- [x: string]: {
58
- type: globalThis.PropType<any>;
59
- };
60
- [x: number]: {
61
- type: globalThis.PropType<any>;
62
- };
63
- }>>, {}, {}, {}, {}, {}>;
64
- __isFragment?: never;
65
- __isTeleport?: never;
66
- __isSuspense?: never;
67
- } & ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
68
- [x: string]: {
69
- type: globalThis.PropType<any>;
70
- };
71
- [x: number]: {
72
- type: globalThis.PropType<any>;
73
- };
74
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
75
- $slots: {
76
- content?(_: {}): any;
77
- };
78
- });
79
- HyRoundButton: DefineComponent< {
80
- [x: string]: {
81
- type: globalThis.PropType<any>;
82
- };
83
- [x: number]: {
84
- type: globalThis.PropType<any>;
85
- };
86
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
87
- click: (...args: any[]) => void;
88
- }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
89
- [x: string]: {
90
- type: globalThis.PropType<any>;
91
- };
92
- [x: number]: {
93
- type: globalThis.PropType<any>;
94
- };
95
- }>> & {
96
- onClick?: (...args: any[]) => any;
97
- }, {}, {}>;
98
- HyUserHead: {
99
- new (...args: any[]): CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
100
- [x: string]: {
101
- type: globalThis.PropType<any>;
102
- };
103
- [x: number]: {
104
- type: globalThis.PropType<any>;
105
- };
106
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
107
- [x: string]: {
108
- type: globalThis.PropType<any>;
109
- };
110
- [x: number]: {
111
- type: globalThis.PropType<any>;
112
- };
113
- }>>, {}, true, {}, {}, {
114
- P: {};
115
- B: {};
116
- D: {};
117
- C: {};
118
- M: {};
119
- Defaults: {};
120
- }, Readonly<globalThis.ExtractPropTypes<{
121
- [x: string]: {
122
- type: globalThis.PropType<any>;
123
- };
124
- [x: number]: {
125
- type: globalThis.PropType<any>;
126
- };
127
- }>>, {}, {}, {}, {}, {}>;
128
- __isFragment?: never;
129
- __isTeleport?: never;
130
- __isSuspense?: never;
131
- } & ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
132
- [x: string]: {
133
- type: globalThis.PropType<any>;
134
- };
135
- [x: number]: {
136
- type: globalThis.PropType<any>;
137
- };
138
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
139
- $slots: {
140
- content?(_: {}): any;
141
- };
142
- });
143
- HySelectDevice: DefineComponent< {
144
- showCheckbox: {
145
- type: globalThis.PropType<boolean>;
146
- default: boolean;
147
- };
148
- getData: {
149
- type: globalThis.PropType<() => any>;
150
- default: FunctionConstructor;
151
- };
152
- checkStrictly: {
153
- type: globalThis.PropType<boolean>;
154
- default: boolean;
155
- };
156
- defaultCheckedKeys: {
157
- type: globalThis.PropType<string[]>;
158
- default: () => any[];
159
- };
160
- parentCheckbox: {
161
- type: globalThis.PropType<boolean>;
162
- default: boolean;
163
- };
164
- showRadio: {
165
- type: globalThis.PropType<boolean>;
166
- default: boolean;
167
- };
168
- disableDeviceList: {
169
- type: globalThis.PropType<Device[]>;
170
- default: () => any[];
171
- };
172
- returnDisableDevice: {
173
- type: globalThis.PropType<boolean>;
174
- default: boolean;
175
- };
176
- showOnlineOnly: {
177
- type: globalThis.PropType<boolean>;
178
- default: boolean;
179
- };
180
- }, {
181
- setCheckedKeys: (keys: string[]) => void;
182
- setDeviceList: (dataList: Device[]) => void;
183
- setChecked: (device: Device, type: boolean) => void;
184
- handlerDeviceStateChange: (payload: Device) => void;
185
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
186
- onCurrentDevice: (...args: any[]) => void;
187
- onCurrentDeviceDelete: (...args: any[]) => void;
188
- onSelectedData: (...args: any[]) => void;
189
- onCurrentDepartment: (...args: any[]) => void;
190
- }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
191
- showCheckbox: {
192
- type: globalThis.PropType<boolean>;
193
- default: boolean;
194
- };
195
- getData: {
196
- type: globalThis.PropType<() => any>;
197
- default: FunctionConstructor;
198
- };
199
- checkStrictly: {
200
- type: globalThis.PropType<boolean>;
201
- default: boolean;
202
- };
203
- defaultCheckedKeys: {
204
- type: globalThis.PropType<string[]>;
205
- default: () => any[];
206
- };
207
- parentCheckbox: {
208
- type: globalThis.PropType<boolean>;
209
- default: boolean;
210
- };
211
- showRadio: {
212
- type: globalThis.PropType<boolean>;
213
- default: boolean;
214
- };
215
- disableDeviceList: {
216
- type: globalThis.PropType<Device[]>;
217
- default: () => any[];
218
- };
219
- returnDisableDevice: {
220
- type: globalThis.PropType<boolean>;
221
- default: boolean;
222
- };
223
- showOnlineOnly: {
224
- type: globalThis.PropType<boolean>;
225
- default: boolean;
226
- };
227
- }>> & {
228
- onOnCurrentDevice?: (...args: any[]) => any;
229
- onOnCurrentDeviceDelete?: (...args: any[]) => any;
230
- onOnSelectedData?: (...args: any[]) => any;
231
- onOnCurrentDepartment?: (...args: any[]) => any;
232
- }, {
233
- showCheckbox: boolean;
234
- getData: () => any;
235
- checkStrictly: boolean;
236
- defaultCheckedKeys: string[];
237
- parentCheckbox: boolean;
238
- showRadio: boolean;
239
- disableDeviceList: Device[];
240
- returnDisableDevice: boolean;
241
- showOnlineOnly: boolean;
242
- }, {}>;
243
- HyImageViewer: DefineComponent< {}, {
244
- onShowViewer: (urlListParams: string | string[], initialIndexParams?: number) => void;
245
- imageViewerClose: () => void;
246
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
247
- HyTipsModal: typeof HyTipsModal;
248
- HyTable: {
249
- new (...args: any[]): CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
250
- [x: string]: {
251
- type: globalThis.PropType<any>;
252
- };
253
- [x: number]: {
254
- type: globalThis.PropType<any>;
255
- };
256
- }>> & {
257
- onGetTotal?: (...args: any[]) => any;
258
- onSelectionChange?: (...args: any[]) => any;
259
- onOnRowcClick?: (...args: any[]) => any;
260
- }, {
261
- getTableData: (queryInfo?: any) => Promise<void>;
262
- setSelectedData: (list: any[]) => void;
263
- clearSelection: () => void;
264
- selectedData: globalThis.Ref<any>;
265
- setTableData: (data: TableList) => void;
266
- handleCurrentChange: (page?: number) => void;
267
- getSearchForm: () => {
268
- query: any;
269
- size: number;
270
- page: number;
271
- };
272
- getTableList: () => {
273
- totalElements?: number;
274
- number?: number;
275
- totalPages?: number;
276
- size?: number;
277
- content: any;
278
- };
279
- getTotalElements: () => number;
280
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
281
- getTotal: (...args: any[]) => void;
282
- selectionChange: (...args: any[]) => void;
283
- onRowcClick: (...args: any[]) => void;
284
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
285
- [x: string]: {
286
- type: globalThis.PropType<any>;
287
- };
288
- [x: number]: {
289
- type: globalThis.PropType<any>;
290
- };
291
- }>> & {
292
- onGetTotal?: (...args: any[]) => any;
293
- onSelectionChange?: (...args: any[]) => any;
294
- onOnRowcClick?: (...args: any[]) => any;
295
- }, {}, true, {}, {}, {
296
- P: {};
297
- B: {};
298
- D: {};
299
- C: {};
300
- M: {};
301
- Defaults: {};
302
- }, Readonly<globalThis.ExtractPropTypes<{
303
- [x: string]: {
304
- type: globalThis.PropType<any>;
305
- };
306
- [x: number]: {
307
- type: globalThis.PropType<any>;
308
- };
309
- }>> & {
310
- onGetTotal?: (...args: any[]) => any;
311
- onSelectionChange?: (...args: any[]) => any;
312
- onOnRowcClick?: (...args: any[]) => any;
313
- }, {
314
- getTableData: (queryInfo?: any) => Promise<void>;
315
- setSelectedData: (list: any[]) => void;
316
- clearSelection: () => void;
317
- selectedData: globalThis.Ref<any>;
318
- setTableData: (data: TableList) => void;
319
- handleCurrentChange: (page?: number) => void;
320
- getSearchForm: () => {
321
- query: any;
322
- size: number;
323
- page: number;
324
- };
325
- getTableList: () => {
326
- totalElements?: number;
327
- number?: number;
328
- totalPages?: number;
329
- size?: number;
330
- content: any;
331
- };
332
- getTotalElements: () => number;
333
- }, {}, {}, {}, {}>;
334
- __isFragment?: never;
335
- __isTeleport?: never;
336
- __isSuspense?: never;
337
- } & ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
338
- [x: string]: {
339
- type: globalThis.PropType<any>;
340
- };
341
- [x: number]: {
342
- type: globalThis.PropType<any>;
343
- };
344
- }>> & {
345
- onGetTotal?: (...args: any[]) => any;
346
- onSelectionChange?: (...args: any[]) => any;
347
- onOnRowcClick?: (...args: any[]) => any;
348
- }, {
349
- getTableData: (queryInfo?: any) => Promise<void>;
350
- setSelectedData: (list: any[]) => void;
351
- clearSelection: () => void;
352
- selectedData: globalThis.Ref<any>;
353
- setTableData: (data: TableList) => void;
354
- handleCurrentChange: (page?: number) => void;
355
- getSearchForm: () => {
356
- query: any;
357
- size: number;
358
- page: number;
359
- };
360
- getTableList: () => {
361
- totalElements?: number;
362
- number?: number;
363
- totalPages?: number;
364
- size?: number;
365
- content: any;
366
- };
367
- getTotalElements: () => number;
368
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
369
- getTotal: (...args: any[]) => void;
370
- selectionChange: (...args: any[]) => void;
371
- onRowcClick: (...args: any[]) => void;
372
- }, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
373
- $slots: Partial<Record<any, (_: any) => any>> & Partial<Record<any, (_: any) => any>> & {
374
- tableLeft?(_: {}): any;
375
- tableRight?(_: {}): any;
376
- customContent?(_: {
377
- tableData: any;
378
- }): any;
379
- empty?(_: {}): any;
380
- statisticalQuantityLeft?(_: {}): any;
381
- statisticalQuantityRight?(_: {}): any;
382
- footer?(_: {}): any;
383
- };
384
- });
385
- HyVueCropper: DefineComponent< {}, {
386
- onShowModal: (config?: Option_2) => Promise<unknown>;
387
- onSubmit: () => void;
388
- onClose: () => void;
389
- getCropData: () => Promise<string>;
390
- getCropBlob: () => Promise<Blob>;
391
- getBlobToData: (blob: Blob) => Promise<any>;
392
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
393
- HySelect: DefineComponent< {
394
- optionLabel: {
395
- type: globalThis.PropType<string>;
396
- default: string;
397
- };
398
- optionValue: {
399
- type: globalThis.PropType<string>;
400
- default: string;
401
- };
402
- modelValue: {
403
- type: globalThis.PropType<any>;
404
- default: string;
405
- };
406
- placeholder: {
407
- type: globalThis.PropType<string>;
408
- default: string;
409
- };
410
- clearable: {
411
- type: globalThis.PropType<boolean>;
412
- default: boolean;
413
- };
414
- size: {
415
- type: globalThis.PropType<string>;
416
- default: string;
417
- };
418
- requestParams: {
419
- type: globalThis.PropType<any>;
420
- default: {};
421
- };
422
- controller: {
423
- type: globalThis.PropType<string>;
424
- default: string;
425
- };
426
- filterDataList: {
427
- type: globalThis.PropType<any[]>;
428
- default: () => any[];
429
- };
430
- customDataList: {
431
- type: globalThis.PropType<any[]>;
432
- default: () => any[];
433
- };
434
- selectedDataList: {
435
- type: globalThis.PropType<any[]>;
436
- default: () => any[];
437
- };
438
- requestimmediately: {
439
- type: globalThis.PropType<boolean>;
440
- default: boolean;
441
- };
442
- multiple: {
443
- type: globalThis.PropType<boolean>;
444
- default: boolean;
445
- };
446
- }, {
447
- remoteMethod: (param: string) => void;
448
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
449
- input: (...args: any[]) => void;
450
- change: (...args: any[]) => void;
451
- "on-selectItem": (...args: any[]) => void;
452
- visibleChange: (...args: any[]) => void;
453
- "update:modelValue": (...args: any[]) => void;
454
- "on-changeSelectItem": (...args: any[]) => void;
455
- }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
456
- optionLabel: {
457
- type: globalThis.PropType<string>;
458
- default: string;
459
- };
460
- optionValue: {
461
- type: globalThis.PropType<string>;
462
- default: string;
463
- };
464
- modelValue: {
465
- type: globalThis.PropType<any>;
466
- default: string;
467
- };
468
- placeholder: {
469
- type: globalThis.PropType<string>;
470
- default: string;
471
- };
472
- clearable: {
473
- type: globalThis.PropType<boolean>;
474
- default: boolean;
475
- };
476
- size: {
477
- type: globalThis.PropType<string>;
478
- default: string;
479
- };
480
- requestParams: {
481
- type: globalThis.PropType<any>;
482
- default: {};
483
- };
484
- controller: {
485
- type: globalThis.PropType<string>;
486
- default: string;
487
- };
488
- filterDataList: {
489
- type: globalThis.PropType<any[]>;
490
- default: () => any[];
491
- };
492
- customDataList: {
493
- type: globalThis.PropType<any[]>;
494
- default: () => any[];
495
- };
496
- selectedDataList: {
497
- type: globalThis.PropType<any[]>;
498
- default: () => any[];
499
- };
500
- requestimmediately: {
501
- type: globalThis.PropType<boolean>;
502
- default: boolean;
503
- };
504
- multiple: {
505
- type: globalThis.PropType<boolean>;
506
- default: boolean;
507
- };
508
- }>> & {
509
- onChange?: (...args: any[]) => any;
510
- onInput?: (...args: any[]) => any;
511
- "onOn-selectItem"?: (...args: any[]) => any;
512
- onVisibleChange?: (...args: any[]) => any;
513
- "onUpdate:modelValue"?: (...args: any[]) => any;
514
- "onOn-changeSelectItem"?: (...args: any[]) => any;
515
- }, {
516
- optionLabel: string;
517
- optionValue: string;
518
- modelValue: any;
519
- placeholder: string;
520
- clearable: boolean;
521
- size: string;
522
- requestParams: any;
523
- controller: string;
524
- filterDataList: any[];
525
- customDataList: any[];
526
- selectedDataList: any[];
527
- requestimmediately: boolean;
528
- multiple: boolean;
529
- }, {}>;
530
- HyOrgCascader: {
531
- new (...args: any[]): CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
532
- className: {
533
- type: globalThis.PropType<string>;
534
- default: string;
535
- };
536
- disabled: {
537
- type: globalThis.PropType<boolean>;
538
- default: boolean;
539
- };
540
- placeholder: {
541
- type: globalThis.PropType<string>;
542
- default: string;
543
- };
544
- size: {
545
- type: globalThis.PropType<string>;
546
- default: string;
547
- };
548
- contentType: {
549
- type: globalThis.PropType<boolean>;
550
- default: boolean;
551
- };
552
- }>> & {
553
- onChange?: (...args: any[]) => any;
554
- }, {
555
- setDefaultValue: (organizationId: any) => void;
556
- getData: () => Promise<void>;
557
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
558
- change: (...args: any[]) => void;
559
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
560
- className: {
561
- type: globalThis.PropType<string>;
562
- default: string;
563
- };
564
- disabled: {
565
- type: globalThis.PropType<boolean>;
566
- default: boolean;
567
- };
568
- placeholder: {
569
- type: globalThis.PropType<string>;
570
- default: string;
571
- };
572
- size: {
573
- type: globalThis.PropType<string>;
574
- default: string;
575
- };
576
- contentType: {
577
- type: globalThis.PropType<boolean>;
578
- default: boolean;
579
- };
580
- }>> & {
581
- onChange?: (...args: any[]) => any;
582
- }, {
583
- className: string;
584
- disabled: boolean;
585
- placeholder: string;
586
- size: string;
587
- contentType: boolean;
588
- }, true, {}, {}, {
589
- P: {};
590
- B: {};
591
- D: {};
592
- C: {};
593
- M: {};
594
- Defaults: {};
595
- }, Readonly<globalThis.ExtractPropTypes<{
596
- className: {
597
- type: globalThis.PropType<string>;
598
- default: string;
599
- };
600
- disabled: {
601
- type: globalThis.PropType<boolean>;
602
- default: boolean;
603
- };
604
- placeholder: {
605
- type: globalThis.PropType<string>;
606
- default: string;
607
- };
608
- size: {
609
- type: globalThis.PropType<string>;
610
- default: string;
611
- };
612
- contentType: {
613
- type: globalThis.PropType<boolean>;
614
- default: boolean;
615
- };
616
- }>> & {
617
- onChange?: (...args: any[]) => any;
618
- }, {
619
- setDefaultValue: (organizationId: any) => void;
620
- getData: () => Promise<void>;
621
- }, {}, {}, {}, {
622
- className: string;
623
- disabled: boolean;
624
- placeholder: string;
625
- size: string;
626
- contentType: boolean;
627
- }>;
628
- __isFragment?: never;
629
- __isTeleport?: never;
630
- __isSuspense?: never;
631
- } & ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
632
- className: {
633
- type: globalThis.PropType<string>;
634
- default: string;
635
- };
636
- disabled: {
637
- type: globalThis.PropType<boolean>;
638
- default: boolean;
639
- };
640
- placeholder: {
641
- type: globalThis.PropType<string>;
642
- default: string;
643
- };
644
- size: {
645
- type: globalThis.PropType<string>;
646
- default: string;
647
- };
648
- contentType: {
649
- type: globalThis.PropType<boolean>;
650
- default: boolean;
651
- };
652
- }>> & {
653
- onChange?: (...args: any[]) => any;
654
- }, {
655
- setDefaultValue: (organizationId: any) => void;
656
- getData: () => Promise<void>;
657
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
658
- change: (...args: any[]) => void;
659
- }, string, {
660
- className: string;
661
- disabled: boolean;
662
- placeholder: string;
663
- size: string;
664
- contentType: boolean;
665
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
666
- $slots: {
667
- default?(_: {}): any;
668
- };
669
- });
670
- HyMenuComponents: DefineComponent< {
671
- menuList: {
672
- type: globalThis.PropType<MenuItem[]>;
673
- required: true;
674
- default: () => any[];
675
- };
676
- menuTitle: {
677
- type: globalThis.PropType<string>;
678
- required: true;
679
- default: string;
680
- };
681
- }, {
682
- setRouterPath: (fullPath: string) => void;
683
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
684
- onChange: (...args: any[]) => void;
685
- }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
686
- menuList: {
687
- type: globalThis.PropType<MenuItem[]>;
688
- required: true;
689
- default: () => any[];
690
- };
691
- menuTitle: {
692
- type: globalThis.PropType<string>;
693
- required: true;
694
- default: string;
695
- };
696
- }>> & {
697
- onOnChange?: (...args: any[]) => any;
698
- }, {
699
- menuList: MenuItem[];
700
- menuTitle: string;
701
- }, {}>;
702
- };
703
- export default _default;
704
-
705
265
  declare interface Device {
706
266
  isofn: number;
707
267
  aspectRatio: string;
@@ -1116,7 +676,348 @@ declare interface Device {
1116
676
  zoomControlSupport?: number;
1117
677
  }
1118
678
 
1119
- declare function HyTipsModal(configParams: ConfigType, submitCallBackParams?: () => void, closesCallBackParams?: () => void): Promise<unknown>;
679
+ declare function getBlobToData(blob: Blob): Promise<any>;
680
+
681
+ declare function getCropBlob(): Promise<Blob>;
682
+
683
+ declare function getCropData(): Promise<string>;
684
+
685
+ declare function getSearchForm(): {
686
+ query: any;
687
+ size: number;
688
+ page: number;
689
+ };
690
+
691
+ declare function getTableData(queryInfo?: any): Promise<void>;
692
+
693
+ declare function getTableList(): {
694
+ totalElements?: number;
695
+ number?: number;
696
+ totalPages?: number;
697
+ size?: number;
698
+ content: any;
699
+ };
700
+
701
+ declare function getTotalElements(): number;
702
+
703
+ declare function handleCurrentChange(page?: number): void;
704
+
705
+ export declare const HyBoxBorder: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxBorderProps>, {
706
+ prefix: string;
707
+ name: string;
708
+ className: string;
709
+ color: string;
710
+ width: string;
711
+ height: string;
712
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxBorderProps>, {
713
+ prefix: string;
714
+ name: string;
715
+ className: string;
716
+ color: string;
717
+ width: string;
718
+ height: string;
719
+ }>>>, {}, {}>, {
720
+ content?(_: {}): any;
721
+ }>;
722
+
723
+ export declare const HyImageViewer: DefineComponent< {}, {
724
+ onShowViewer: typeof onShowViewer;
725
+ imageViewerClose: typeof imageViewerClose;
726
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
727
+
728
+ export declare const HyMenuComponents: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<Props_4>, {
729
+ menuList: () => any[];
730
+ menuTitle: string;
731
+ }>, {
732
+ setRouterPath: typeof setRouterPath;
733
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
734
+ onChange: (...args: any[]) => void;
735
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<Props_4>, {
736
+ menuList: () => any[];
737
+ menuTitle: string;
738
+ }>>> & {
739
+ onOnChange?: (...args: any[]) => any;
740
+ }, {
741
+ menuList: MenuItem[];
742
+ menuTitle: string;
743
+ }, {}>;
744
+
745
+ export declare const HyOrgCascader: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<Props_3>, {
746
+ size: string;
747
+ className: string;
748
+ placeholder: string;
749
+ contentType: boolean;
750
+ disabled: boolean;
751
+ }>, {
752
+ setDefaultValue: (organizationId: any) => void;
753
+ getData: () => Promise<void>;
754
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
755
+ change: (...args: any[]) => void;
756
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<Props_3>, {
757
+ size: string;
758
+ className: string;
759
+ placeholder: string;
760
+ contentType: boolean;
761
+ disabled: boolean;
762
+ }>>> & {
763
+ onChange?: (...args: any[]) => any;
764
+ }, {
765
+ className: string;
766
+ disabled: boolean;
767
+ placeholder: string;
768
+ size: string;
769
+ contentType: boolean;
770
+ }, {}>, {
771
+ default?(_: {}): any;
772
+ }>;
773
+
774
+ export declare const HyRoundButton: DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<RoundButton>, {
775
+ name: string;
776
+ className: string;
777
+ color: string;
778
+ width: string;
779
+ height: string;
780
+ tips: string;
781
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
782
+ click: (...args: any[]) => void;
783
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<RoundButton>, {
784
+ name: string;
785
+ className: string;
786
+ color: string;
787
+ width: string;
788
+ height: string;
789
+ tips: string;
790
+ }>>> & {
791
+ onClick?: (...args: any[]) => any;
792
+ }, {}, {}>;
793
+
794
+ export declare const HySelect: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_2>, {
795
+ modelValue: string;
796
+ requestParams: {};
797
+ controller: string;
798
+ filterDataList: () => any[];
799
+ customDataList: () => any[];
800
+ selectedDataList: () => any[];
801
+ requestimmediately: boolean;
802
+ clearable: boolean;
803
+ multiple: boolean;
804
+ optionLabel: string;
805
+ optionValue: string;
806
+ size: string;
807
+ placeholder: string;
808
+ }>, {
809
+ remoteMethod: (param: string) => void;
810
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
811
+ input: (...args: any[]) => void;
812
+ change: (...args: any[]) => void;
813
+ "on-selectItem": (...args: any[]) => void;
814
+ visibleChange: (...args: any[]) => void;
815
+ "update:modelValue": (...args: any[]) => void;
816
+ "on-changeSelectItem": (...args: any[]) => void;
817
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_2>, {
818
+ modelValue: string;
819
+ requestParams: {};
820
+ controller: string;
821
+ filterDataList: () => any[];
822
+ customDataList: () => any[];
823
+ selectedDataList: () => any[];
824
+ requestimmediately: boolean;
825
+ clearable: boolean;
826
+ multiple: boolean;
827
+ optionLabel: string;
828
+ optionValue: string;
829
+ size: string;
830
+ placeholder: string;
831
+ }>>> & {
832
+ onChange?: (...args: any[]) => any;
833
+ onInput?: (...args: any[]) => any;
834
+ "onOn-selectItem"?: (...args: any[]) => any;
835
+ onVisibleChange?: (...args: any[]) => any;
836
+ "onUpdate:modelValue"?: (...args: any[]) => any;
837
+ "onOn-changeSelectItem"?: (...args: any[]) => any;
838
+ }, {
839
+ optionLabel: string;
840
+ optionValue: string;
841
+ modelValue: any;
842
+ placeholder: string;
843
+ clearable: boolean;
844
+ size: string;
845
+ requestParams: any;
846
+ controller: string;
847
+ filterDataList: any[];
848
+ customDataList: any[];
849
+ selectedDataList: any[];
850
+ requestimmediately: boolean;
851
+ multiple: boolean;
852
+ }, {}>;
853
+
854
+ export declare const HySelectDevice: DefineComponent<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<Props>, {
855
+ getData: FunctionConstructor;
856
+ showOnlineOnly: boolean;
857
+ checkStrictly: boolean;
858
+ showCheckbox: boolean;
859
+ parentCheckbox: boolean;
860
+ showRadio: boolean;
861
+ defaultCheckedKeys: () => any[];
862
+ disableDeviceList: () => any[];
863
+ returnDisableDevice: boolean;
864
+ }>, {
865
+ setCheckedKeys: (keys: string[]) => void;
866
+ setDeviceList: (dataList: Device[]) => void;
867
+ setChecked: (device: Device, type: boolean) => void;
868
+ handlerDeviceStateChange: (payload: Device) => void;
869
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
870
+ onCurrentDevice: (...args: any[]) => void;
871
+ onCurrentDeviceDelete: (...args: any[]) => void;
872
+ onSelectedData: (...args: any[]) => void;
873
+ onCurrentDepartment: (...args: any[]) => void;
874
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<Props>, {
875
+ getData: FunctionConstructor;
876
+ showOnlineOnly: boolean;
877
+ checkStrictly: boolean;
878
+ showCheckbox: boolean;
879
+ parentCheckbox: boolean;
880
+ showRadio: boolean;
881
+ defaultCheckedKeys: () => any[];
882
+ disableDeviceList: () => any[];
883
+ returnDisableDevice: boolean;
884
+ }>>> & {
885
+ onOnCurrentDevice?: (...args: any[]) => any;
886
+ onOnCurrentDeviceDelete?: (...args: any[]) => any;
887
+ onOnSelectedData?: (...args: any[]) => any;
888
+ onOnCurrentDepartment?: (...args: any[]) => any;
889
+ }, {
890
+ showCheckbox: boolean;
891
+ getData: () => any;
892
+ checkStrictly: boolean;
893
+ defaultCheckedKeys: string[];
894
+ parentCheckbox: boolean;
895
+ showRadio: boolean;
896
+ disableDeviceList: Device[];
897
+ returnDisableDevice: boolean;
898
+ showOnlineOnly: boolean;
899
+ }, {}>;
900
+
901
+ export declare const HySvgIcon: DefineComponent<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<IconProps>, {
902
+ prefix: string;
903
+ name: string;
904
+ className: string;
905
+ color: string;
906
+ width: string;
907
+ height: string;
908
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<IconProps>, {
909
+ prefix: string;
910
+ name: string;
911
+ className: string;
912
+ color: string;
913
+ width: string;
914
+ height: string;
915
+ }>>>, {}, {}>;
916
+
917
+ export declare const HyTable: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<TableProps>, {
918
+ height: number;
919
+ columnList: () => any[];
920
+ searchArr: () => any[];
921
+ showIndexColumn: boolean;
922
+ defaultGetData: boolean;
923
+ selectColumnType: SelectType;
924
+ childrenProps: () => {};
925
+ showFooter: boolean;
926
+ reqUrl: string;
927
+ customUrl: any;
928
+ cellStyle: () => {};
929
+ headerCellStyle: () => {};
930
+ disableIds: () => any[];
931
+ searchForm: () => {};
932
+ selectKey: string;
933
+ paginationLayout: string;
934
+ treeProps: () => {};
935
+ }>, {
936
+ getTableData: typeof getTableData;
937
+ setSelectedData: typeof setSelectedData;
938
+ clearSelection: typeof clearSelection;
939
+ selectedData: globalThis.Ref<any>;
940
+ setTableData: typeof setTableData;
941
+ handleCurrentChange: typeof handleCurrentChange;
942
+ getSearchForm: typeof getSearchForm;
943
+ getTableList: typeof getTableList;
944
+ getTotalElements: typeof getTotalElements;
945
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
946
+ getTotal: (...args: any[]) => void;
947
+ selectionChange: (...args: any[]) => void;
948
+ onRowcClick: (...args: any[]) => void;
949
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<TableProps>, {
950
+ height: number;
951
+ columnList: () => any[];
952
+ searchArr: () => any[];
953
+ showIndexColumn: boolean;
954
+ defaultGetData: boolean;
955
+ selectColumnType: SelectType;
956
+ childrenProps: () => {};
957
+ showFooter: boolean;
958
+ reqUrl: string;
959
+ customUrl: any;
960
+ cellStyle: () => {};
961
+ headerCellStyle: () => {};
962
+ disableIds: () => any[];
963
+ searchForm: () => {};
964
+ selectKey: string;
965
+ paginationLayout: string;
966
+ treeProps: () => {};
967
+ }>>> & {
968
+ onGetTotal?: (...args: any[]) => any;
969
+ onSelectionChange?: (...args: any[]) => any;
970
+ onOnRowcClick?: (...args: any[]) => any;
971
+ }, {}, {}>, Partial<Record<any, (_: any) => any>> & Partial<Record<any, (_: any) => any>> & {
972
+ tableLeft?(_: {}): any;
973
+ tableRight?(_: {}): any;
974
+ customContent?(_: {
975
+ tableData: any;
976
+ }): any;
977
+ empty?(_: {}): any;
978
+ statisticalQuantityLeft?(_: {}): any;
979
+ statisticalQuantityRight?(_: {}): any;
980
+ footer?(_: {}): any;
981
+ }>;
982
+
983
+ export declare function HyTipsModal(configParams: ConfigType, submitCallBackParams?: () => void, closesCallBackParams?: () => void): Promise<unknown>;
984
+
985
+ export declare const HyUserHead: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<RoundButton_2>, {
986
+ gbDevice: boolean;
987
+ url: string;
988
+ headBoxClassName: string;
989
+ name: string;
990
+ className: string;
991
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<RoundButton_2>, {
992
+ gbDevice: boolean;
993
+ url: string;
994
+ headBoxClassName: string;
995
+ name: string;
996
+ className: string;
997
+ }>>>, {}, {}>, {
998
+ content?(_: {}): any;
999
+ }>;
1000
+
1001
+ export declare const HyVueCropper: DefineComponent< {}, {
1002
+ onShowModal: typeof onShowModal;
1003
+ onSubmit: typeof onSubmit;
1004
+ onClose: typeof onClose;
1005
+ getCropData: typeof getCropData;
1006
+ getCropBlob: typeof getCropBlob;
1007
+ getBlobToData: typeof getBlobToData;
1008
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
1009
+
1010
+ declare interface IconProps {
1011
+ [key: string]: any;
1012
+ prefix?: string;
1013
+ name: string;
1014
+ className?: string;
1015
+ color?: string;
1016
+ width?: string | number;
1017
+ height?: string | number;
1018
+ }
1019
+
1020
+ declare function imageViewerClose(): void;
1120
1021
 
1121
1022
  declare interface MenuItem {
1122
1023
  label: string;
@@ -1125,6 +1026,18 @@ declare interface MenuItem {
1125
1026
  path: string;
1126
1027
  }
1127
1028
 
1029
+ declare function onClose(): void;
1030
+
1031
+ /**
1032
+ * 显示裁剪并更新裁剪配置和回调函数。
1033
+ * @param config - 可选参数,用于更新裁剪的配置选项。
1034
+ */
1035
+ declare function onShowModal(config?: Option_2): Promise<unknown>;
1036
+
1037
+ declare function onShowViewer(urlListParams: string | string[], initialIndexParams?: number): void;
1038
+
1039
+ declare function onSubmit(): void;
1040
+
1128
1041
  declare interface Option_2 {
1129
1042
  dialogWidth: number;
1130
1043
  img: string | Blob | ArrayBuffer | ArrayBufferView;
@@ -1152,6 +1065,78 @@ declare interface Option_2 {
1152
1065
  fillColor: string;
1153
1066
  }
1154
1067
 
1068
+ declare interface Props {
1069
+ getData?: () => any;
1070
+ defaultCheckedKeys?: string[];
1071
+ showOnlineOnly?: boolean;
1072
+ checkStrictly?: boolean;
1073
+ showCheckbox?: boolean;
1074
+ parentCheckbox?: boolean;
1075
+ showRadio?: boolean;
1076
+ disableDeviceList?: Device[];
1077
+ returnDisableDevice?: boolean;
1078
+ }
1079
+
1080
+ declare interface Props_2 {
1081
+ modelValue?: any;
1082
+ requestParams?: any;
1083
+ controller?: string;
1084
+ filterDataList?: any[];
1085
+ customDataList?: any[];
1086
+ selectedDataList?: any[];
1087
+ requestimmediately?: boolean;
1088
+ clearable?: boolean;
1089
+ multiple?: boolean;
1090
+ optionLabel?: string;
1091
+ optionValue?: string;
1092
+ size?: string;
1093
+ placeholder?: string;
1094
+ }
1095
+
1096
+ declare interface Props_3 {
1097
+ size?: string;
1098
+ className?: string;
1099
+ placeholder?: string;
1100
+ contentType?: boolean;
1101
+ disabled?: boolean;
1102
+ }
1103
+
1104
+ declare interface Props_4 {
1105
+ menuList: MenuItem[];
1106
+ menuTitle: string;
1107
+ }
1108
+
1109
+ declare interface RoundButton {
1110
+ [key: string]: any;
1111
+ name: string;
1112
+ className?: string;
1113
+ color?: string;
1114
+ width?: string | number;
1115
+ height?: string | number;
1116
+ tips?: string;
1117
+ }
1118
+
1119
+ declare interface RoundButton_2 {
1120
+ [key: string]: any;
1121
+ url?: string;
1122
+ gbDevice?: boolean;
1123
+ headBoxClassName?: string;
1124
+ name?: string;
1125
+ className?: string;
1126
+ }
1127
+
1128
+ declare enum SelectType {
1129
+ NULL = 0,
1130
+ RADIO = 1,
1131
+ CHECKBOX = 2
1132
+ }
1133
+
1134
+ declare function setRouterPath(fullPath: string): void;
1135
+
1136
+ declare function setSelectedData(list: any[]): void;
1137
+
1138
+ declare function setTableData(data: TableList): void;
1139
+
1155
1140
  declare interface TableList {
1156
1141
  totalElements?: number;
1157
1142
  number?: number;
@@ -1160,4 +1145,32 @@ declare interface TableList {
1160
1145
  content: any;
1161
1146
  }
1162
1147
 
1148
+ declare interface TableProps {
1149
+ [key: string]: any;
1150
+ height?: string | number;
1151
+ columnList: ColumnList[];
1152
+ searchArr: {
1153
+ label?: string;
1154
+ prop?: string;
1155
+ }[];
1156
+ showIndexColumn?: boolean;
1157
+ defaultGetData?: boolean;
1158
+ selectColumnType?: SelectType;
1159
+ childrenProps?: object;
1160
+ showFooter?: boolean;
1161
+ reqUrl: string;
1162
+ customUrl?: string;
1163
+ cellStyle?: () => any;
1164
+ headerCellStyle?: () => any;
1165
+ disableIds?: [];
1166
+ searchForm?: object;
1167
+ searchKey?: string;
1168
+ selectKey?: string;
1169
+ paginationLayout?: string;
1170
+ treeProps?: {
1171
+ hasChildren?: string;
1172
+ children?: string;
1173
+ };
1174
+ }
1175
+
1163
1176
  export { }