command-center-v3-common 0.0.3 → 0.0.5

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,1129 @@
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { DefineComponent } from 'vue';
3
+ import { PropType as PropType_2 } from 'vue';
4
+ import { PublicProps } 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_Prettify<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
25
+
26
+ declare type __VLS_Prettify_2<T> = {
27
+ [K in keyof T]: T[K];
28
+ } & {};
29
+
30
+ declare type __VLS_Prettify_3<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
33
+
34
+ declare type __VLS_Prettify_4<T> = {
35
+ [K in keyof T]: T[K];
36
+ } & {};
37
+
38
+ declare type __VLS_Prettify_5<T> = {
39
+ [K in keyof T]: T[K];
40
+ } & {};
41
+
42
+ declare type __VLS_Prettify_6<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
45
+
46
+ declare type __VLS_Prettify_7<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
49
+
50
+ declare type __VLS_Prettify_8<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
53
+
54
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
55
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ type: PropType_2<__VLS_NonUndefinedable<T[K]>>;
57
+ } : {
58
+ type: PropType_2<T[K]>;
59
+ required: true;
60
+ };
61
+ };
62
+
63
+ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
64
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
65
+ type: PropType_2<__VLS_NonUndefinedable_2<T[K]>>;
66
+ } : {
67
+ type: PropType_2<T[K]>;
68
+ required: true;
69
+ };
70
+ };
71
+
72
+ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
73
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
74
+ type: PropType_2<__VLS_NonUndefinedable_3<T[K]>>;
75
+ } : {
76
+ type: PropType_2<T[K]>;
77
+ required: true;
78
+ };
79
+ };
80
+
81
+ declare type __VLS_TypePropsToRuntimeProps_4<T> = {
82
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
83
+ type: PropType_2<__VLS_NonUndefinedable_4<T[K]>>;
84
+ } : {
85
+ type: PropType_2<T[K]>;
86
+ required: true;
87
+ };
88
+ };
89
+
90
+ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
91
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
92
+ type: PropType_2<__VLS_NonUndefinedable_5<T[K]>>;
93
+ } : {
94
+ type: PropType_2<T[K]>;
95
+ required: true;
96
+ };
97
+ };
98
+
99
+ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
100
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
101
+ type: PropType_2<__VLS_NonUndefinedable_6<T[K]>>;
102
+ } : {
103
+ type: PropType_2<T[K]>;
104
+ required: true;
105
+ };
106
+ };
107
+
108
+ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
109
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
110
+ type: PropType_2<__VLS_NonUndefinedable_7<T[K]>>;
111
+ } : {
112
+ type: PropType_2<T[K]>;
113
+ required: true;
114
+ };
115
+ };
116
+
117
+ declare type __VLS_TypePropsToRuntimeProps_8<T> = {
118
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
119
+ type: PropType_2<__VLS_NonUndefinedable_8<T[K]>>;
120
+ } : {
121
+ type: PropType_2<T[K]>;
122
+ required: true;
123
+ };
124
+ };
125
+
126
+ declare type __VLS_WithDefaults<P, D> = {
127
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
128
+ default: D[K];
129
+ }> : P[K];
130
+ };
131
+
132
+ declare type __VLS_WithDefaults_2<P, D> = {
133
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
134
+ default: D[K];
135
+ }> : P[K];
136
+ };
137
+
138
+ declare type __VLS_WithDefaults_3<P, D> = {
139
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
140
+ default: D[K];
141
+ }> : P[K];
142
+ };
143
+
144
+ declare type __VLS_WithDefaults_4<P, D> = {
145
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
146
+ default: D[K];
147
+ }> : P[K];
148
+ };
149
+
150
+ declare type __VLS_WithDefaults_5<P, D> = {
151
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
152
+ default: D[K];
153
+ }> : P[K];
154
+ };
155
+
156
+ declare type __VLS_WithDefaults_6<P, D> = {
157
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
158
+ default: D[K];
159
+ }> : P[K];
160
+ };
161
+
162
+ declare type __VLS_WithDefaults_7<P, D> = {
163
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
164
+ default: D[K];
165
+ }> : P[K];
166
+ };
167
+
168
+ declare type __VLS_WithDefaults_8<P, D> = {
169
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
170
+ default: D[K];
171
+ }> : P[K];
172
+ };
173
+
174
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
175
+ new (): {
176
+ $slots: S;
177
+ };
178
+ };
179
+
180
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
181
+ new (): {
182
+ $slots: S;
183
+ };
184
+ };
185
+
186
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
187
+ new (): {
188
+ $slots: S;
189
+ };
190
+ };
191
+
192
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
193
+ new (): {
194
+ $slots: S;
195
+ };
196
+ };
197
+
198
+ declare interface BoxBorderProps {
199
+ [key: string]: any;
200
+ prefix?: string;
201
+ name: string;
202
+ className?: string;
203
+ color?: string;
204
+ width?: string | number;
205
+ height?: string | number;
206
+ }
207
+
208
+ declare interface ChanneItem {
209
+ deviceId: string;
210
+ channelId: string;
211
+ channelName?: string;
212
+ channelList?: ChanneItem[];
213
+ onlineState?: number;
214
+ }
215
+
216
+ declare function clearSelection(): void;
217
+
218
+ declare interface ColumnList {
219
+ prop: string;
220
+ label: string;
221
+ slotName?: string;
222
+ headerSlotName?: string;
223
+ headerAlign?: 'left' | 'center' | 'right';
224
+ align?: 'left' | 'center' | 'right';
225
+ width?: string | number;
226
+ isSearch: boolean;
227
+ }
228
+
229
+ declare interface ConfigType {
230
+ width: number | string;
231
+ tipsTitleIcon: string;
232
+ setClose?: (closeNextTick: () => void) => void;
233
+ tipsTitleIconClass: string;
234
+ tipsTitle: string;
235
+ tipsContent: string;
236
+ isShowClose: boolean;
237
+ isShowSubmit: boolean;
238
+ closeBtnText: string;
239
+ submitBtnText: string;
240
+ closeBtnType: '' | 'default' | 'success' | 'warning' | 'info' | 'text' | 'primary' | 'danger';
241
+ submitBtnType: '' | 'default' | 'success' | 'warning' | 'info' | 'text' | 'primary' | 'danger';
242
+ }
243
+
244
+ declare interface Device {
245
+ isofn: number;
246
+ aspectRatio: string;
247
+ facereLoading?: boolean;
248
+ broadcastType?: boolean;
249
+ disabled?: boolean;
250
+ muted?: boolean;
251
+ pfacereLoading?: boolean;
252
+ platereLoading?: boolean;
253
+ /**
254
+ * 位置地址
255
+ */
256
+ address?: string;
257
+ /**
258
+ * APP用户Marker图标
259
+ */
260
+ appHeadImg?: string;
261
+ /**
262
+ * 到达时间
263
+ */
264
+ arriveDtm?: Date;
265
+ /**
266
+ * 是否已经关注(1已经关注)
267
+ */
268
+ attenFlag?: number;
269
+ /**
270
+ * [是否支持音频广播]{0:不支持;1:支持}
271
+ */
272
+ audioBroadcastSupport?: number;
273
+ /**
274
+ * [是否在录音]{0:不在;1:在;}
275
+ */
276
+ audioRecording?: number;
277
+ authPassword?: string;
278
+ /**
279
+ * 国标设备-35114国密认证方式:0不开启国密认证;1:35114单向;2:35114双向
280
+ */
281
+ authType?: number;
282
+ authUsername?: string;
283
+ /**
284
+ * [是否被监控]{0:不在;1:在;}
285
+ */
286
+ beMonitor?: number;
287
+ /**
288
+ * [绑定群组状态]{0:未绑定;1:已经绑定;}
289
+ */
290
+ bindGroupState?: number;
291
+ /**
292
+ * [是否在广播]{0:不在;1:在;}
293
+ */
294
+ broadcast?: number;
295
+ /**
296
+ * [是否支持广播]{0:不支持;1:支持}
297
+ */
298
+ broadcastSupport?: number;
299
+ /**
300
+ * [是否作废]{1:未作废;2:已作废;}
301
+ */
302
+ cancelStatus?: number;
303
+ /**
304
+ * [是否支持车辆识别]{0:不支持;1:支持}
305
+ */
306
+ carReSupport?: number;
307
+ errorCode?: number;
308
+ errorReason?: string;
309
+ methodType?: string;
310
+ audioContextType?: boolean;
311
+ roomId?: string;
312
+ channelList?: ChanneItem[];
313
+ /**
314
+ * 国标设备-35114国密认证的证书或证书请求的objectKey
315
+ */
316
+ cerFileCloudKey?: string;
317
+ /**
318
+ * 国标设备-35114国密认证文件的类型(1证书、2证书请求)
319
+ */
320
+ cerFileType?: number;
321
+ /**
322
+ * [是否支持查看本机媒体文件]{0:不支持;1:支持}
323
+ */
324
+ clfSupport?: number;
325
+ /**
326
+ * 登高预警高度
327
+ */
328
+ climbLimit?: number;
329
+ /**
330
+ * [是否支持登高预警]{0:不支持;1:支持}
331
+ */
332
+ climbSupport?: number;
333
+ /**
334
+ * [是否支持云台控制功能]{0:不支持;1:支持}
335
+ */
336
+ cloudControlSupport?: number;
337
+ /**
338
+ * 国标设备接收广播前是否主动打洞(1打洞)
339
+ */
340
+ comedia?: number;
341
+ /**
342
+ * 创建时间
343
+ */
344
+ createDtm?: Date;
345
+ /**
346
+ * 设备编码
347
+ */
348
+ deviceCode?: string;
349
+ /**
350
+ * 设备ID
351
+ */
352
+ deviceId?: string;
353
+ channelId?: string;
354
+ /**
355
+ * 设备名称
356
+ */
357
+ devName?: string;
358
+ /**
359
+ * 距离(KM)、距离现场
360
+ */
361
+ distance?: number;
362
+ /**
363
+ * [启用状态]{1:启用;2:停用;}
364
+ */
365
+ enableStatus?: number;
366
+ /**
367
+ * 有效期至
368
+ */
369
+ expiredDtm?: Date;
370
+ /**
371
+ * 启用状态
372
+ */
373
+ expiredState?: number;
374
+ /**
375
+ * [是否在设备人脸识别]{0:不在;1:在;}
376
+ */
377
+ facere?: number;
378
+ /**
379
+ * [是否支持人脸识别]{0:不支持;1:支持}
380
+ */
381
+ faceReSupport?: number;
382
+ /**
383
+ * [是否是国标GB28181设备]{0:不是;1:是;}
384
+ */
385
+ gbDevice?: number;
386
+ gbExpire?: string;
387
+ /**
388
+ * 国标设备文件回传策略(1自动上传、2停止上传)
389
+ */
390
+ gbUploadType?: number;
391
+ /**
392
+ * 燃气险情出动中(1出动中)
393
+ */
394
+ gcDispatching?: number;
395
+ gpsDtm?: Date;
396
+ /**
397
+ * 所属群组id
398
+ */
399
+ groupId?: number;
400
+ /**
401
+ * 所属群组名称
402
+ */
403
+ groupName?: string;
404
+ /**
405
+ * 设置中心是否有psw(0没有、1有)
406
+ */
407
+ hadSettingPsw?: number;
408
+ hardwareVer?: string;
409
+ /**
410
+ * 头像
411
+ */
412
+ headImg?: string;
413
+ /**
414
+ * iccid
415
+ */
416
+ iccid?: string;
417
+ id?: number;
418
+ /**
419
+ * 设备型号图片
420
+ */
421
+ images?: string;
422
+ /**
423
+ * imei
424
+ */
425
+ imei?: string;
426
+ /**
427
+ * imsi
428
+ */
429
+ imsi?: string;
430
+ /**
431
+ * [是否在语音通话]{0:不在;1:在;}
432
+ */
433
+ intercomCall?: number;
434
+ /**
435
+ * [是否在固定群组对讲]{0:不在;1:在;}
436
+ */
437
+ intercomGroupNature?: number;
438
+ /**
439
+ * [是否在临时群组对讲]{0:不在;1:在;}
440
+ */
441
+ intercomGroupTem?: number;
442
+ /**
443
+ * [是否支持对讲]{0:不支持;1:支持}
444
+ */
445
+ intercomSupport?: number;
446
+ /**
447
+ * 设备使用者职位
448
+ */
449
+ job?: string;
450
+ /**
451
+ * 设备使用者工号
452
+ */
453
+ jobNum?: string;
454
+ label?: string;
455
+ /**
456
+ * [是否使用jt808定位]{0:不是;1:是;}
457
+ */
458
+ jt808locationSupport?: number;
459
+ /**
460
+ * jt808注册状态(1未注册、2已注册)
461
+ */
462
+ jtReg?: number;
463
+ /**
464
+ * 纬度
465
+ */
466
+ lat?: number;
467
+ /**
468
+ * 经度
469
+ */
470
+ lng?: number;
471
+ /**
472
+ * [是否在监控]{0:不在;1:在;}
473
+ */
474
+ monitor?: number;
475
+ /**
476
+ * [是否支持监听]{0:不支持;1:支持}
477
+ */
478
+ monitorListenSupport?: number;
479
+ /**
480
+ * [是否支持监控]{0:不支持;1:支持}
481
+ */
482
+ monitorSupport?: number;
483
+ /**
484
+ * 设备使用者姓名
485
+ */
486
+ name?: string;
487
+ /**
488
+ * 近电预警(0停用、1启用)
489
+ */
490
+ nearEle?: number;
491
+ /**
492
+ * 近电预警电压范围
493
+ */
494
+ nearEleScope?: string;
495
+ /**
496
+ * [是否支持近电报警]{0:不支持;1:支持}
497
+ */
498
+ nearEleSupport?: number;
499
+ /**
500
+ * [是否是向上级联的设备]{0:不是;1:是;}
501
+ */
502
+ northDevice?: number;
503
+ /**
504
+ * [在线状态]{1:在线;2:离线;}
505
+ */
506
+ onlineState?: number;
507
+ /**
508
+ * 所属部门id
509
+ */
510
+ organizationId?: number;
511
+ /**
512
+ * 部门编码
513
+ */
514
+ orgCode?: string;
515
+ /**
516
+ * 所属部门
517
+ */
518
+ orgName?: string;
519
+ otaVer?: string;
520
+ /**
521
+ * [是否在平台人脸识别]{0:不在;1:在;}
522
+ */
523
+ pfacere?: number;
524
+ /**
525
+ * 用户帐号
526
+ */
527
+ phone?: string;
528
+ /**
529
+ * [是否支持拨打电话]{0:不支持;1:支持}
530
+ */
531
+ phoneCallSupport?: number;
532
+ /**
533
+ * [是否在设备车牌识别]{0:不在;1:在;}
534
+ */
535
+ platere?: number;
536
+ prodBrand?: string;
537
+ prodFactory?: string;
538
+ /**
539
+ * 型号
540
+ */
541
+ prodModel?: string;
542
+ protocolVer?: string;
543
+ province?: string;
544
+ /**
545
+ * 接警时间
546
+ */
547
+ receiveDtm?: Date;
548
+ /**
549
+ * [是否支持录像]{0:不支持;1:支持}
550
+ */
551
+ recSupport?: number;
552
+ remark?: string;
553
+ /**
554
+ * [是否支持重启]{0:不支持;1:支持}
555
+ */
556
+ restartSupport?: number;
557
+ /**
558
+ * [是否支持规则]{0:不支持;1:支持}
559
+ */
560
+ ruleSupport?: number;
561
+ /**
562
+ * [是否支持下发文件]{0:不支持;1:支持}
563
+ */
564
+ sendFileSupport?: number;
565
+ /**
566
+ * [是否支持下发消息]{0:不支持;1:支持}
567
+ */
568
+ sendMsgSupport?: number;
569
+ /**
570
+ * 设备使用者短号
571
+ */
572
+ serialNum?: string;
573
+ /**
574
+ * [是否支持关机]{0:不支持;1:支持}
575
+ */
576
+ shutdownSupport?: number;
577
+ simNum?: string;
578
+ sipServerId?: string;
579
+ sipServerIp?: string;
580
+ sipServerPort?: number;
581
+ sipServerRegion?: string;
582
+ softwareVer?: string;
583
+ /**
584
+ * [是否在SOS]{0:不在;1:在;}
585
+ */
586
+ sos?: number;
587
+ /**
588
+ * [是否支持录音]{0:不支持;1:支持}
589
+ */
590
+ soundRecordingSupport?: number;
591
+ /**
592
+ * [是否支持抽查]{0:不支持;1:支持}
593
+ */
594
+ spotCheckSupport?: number;
595
+ /**
596
+ * 剩余电量
597
+ */
598
+ surplusEle?: number;
599
+ /**
600
+ * [是否支持拍照]{0:不支持;1:支持}
601
+ */
602
+ takePhotoSupport?: number;
603
+ /**
604
+ * [是否支持任务]{0:不支持;1:支持}
605
+ */
606
+ taskSupport?: number;
607
+ /**
608
+ * 租户ID
609
+ */
610
+ tenantId?: string;
611
+ /**
612
+ *
613
+ * [设备类型]{1:执法记录仪;2:对讲机;3:消防调度台;4:消防值班台;5:PhoneAPP;6:布控球;7:IPC摄像头;8:头盔;9:手电筒;10:工牌;11:无人机;12:车载云台;13:向下级联设备;}
614
+ */
615
+ type?: number;
616
+ /**
617
+ * 设备类型名称
618
+ */
619
+ typeName?: string;
620
+ /**
621
+ * 设备使用者id
622
+ */
623
+ userId?: number;
624
+ /**
625
+ * 用户所属部门
626
+ */
627
+ userOrgName?: string;
628
+ /**
629
+ * [是否在视频通话]{0:不在;1:在;}
630
+ */
631
+ videoCall?: number;
632
+ /**
633
+ * [是否支持视频通话]{0:不支持;1:支持}
634
+ */
635
+ videoCallSupport?: number;
636
+ /**
637
+ * [是否在视频会议]{0:不在;1:在;}
638
+ */
639
+ videoMeeting?: number;
640
+ /**
641
+ * [是否在录像]{0:不在;1:在;}
642
+ */
643
+ videoRecording?: number;
644
+ /**
645
+ * viid 设备ID
646
+ */
647
+ viidApeId?: string;
648
+ /**
649
+ * [是否支持GAT/1400]{0:不支持;1:支持}
650
+ */
651
+ viidSupport?: number;
652
+ /**
653
+ * [是否支持倍焦控制功能]{0:不支持;1:支持}
654
+ */
655
+ zoomControlSupport?: number;
656
+ }
657
+
658
+ declare function getBlobToData(blob: Blob): Promise<any>;
659
+
660
+ declare function getCropBlob(): Promise<Blob>;
661
+
662
+ declare function getCropData(): Promise<string>;
663
+
664
+ declare function getSearchForm(): {
665
+ query: any;
666
+ size: number;
667
+ page: number;
668
+ };
669
+
670
+ declare function getTableData(queryInfo?: any): Promise<void>;
671
+
672
+ declare function getTableList(): {
673
+ totalElements?: number;
674
+ number?: number;
675
+ totalPages?: number;
676
+ size?: number;
677
+ content: any;
678
+ };
679
+
680
+ declare function getTotalElements(): number;
681
+
682
+ declare function handleCurrentChange(page?: number): void;
683
+
684
+ export declare const HyBoxBorder: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxBorderProps>, {
685
+ prefix: string;
686
+ name: string;
687
+ className: string;
688
+ color: string;
689
+ width: string;
690
+ height: string;
691
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxBorderProps>, {
692
+ prefix: string;
693
+ name: string;
694
+ className: string;
695
+ color: string;
696
+ width: string;
697
+ height: string;
698
+ }>>>, {}, {}>, {
699
+ content?(_: {}): any;
700
+ }>;
701
+
702
+ export declare const HyImageViewer: DefineComponent< {}, {
703
+ onShowViewer: typeof onShowViewer;
704
+ imageViewerClose: typeof imageViewerClose;
705
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
706
+
707
+ export declare const HyMenuComponents: DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<Props_4>, {
708
+ menuList: () => any[];
709
+ menuTitle: string;
710
+ }>, {
711
+ setRouterPath: typeof setRouterPath;
712
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
713
+ onChange: (...args: any[]) => void;
714
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<Props_4>, {
715
+ menuList: () => any[];
716
+ menuTitle: string;
717
+ }>>> & {
718
+ onOnChange?: (...args: any[]) => any;
719
+ }, {
720
+ menuList: MenuItem[];
721
+ menuTitle: string;
722
+ }, {}>;
723
+
724
+ export declare const HyOrgCascader: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_3>, {
725
+ size: string;
726
+ className: string;
727
+ placeholder: string;
728
+ contentType: boolean;
729
+ disabled: boolean;
730
+ }>, {
731
+ setDefaultValue: (organizationId: any) => void;
732
+ getData: () => Promise<void>;
733
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
734
+ change: (...args: any[]) => void;
735
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_3>, {
736
+ size: string;
737
+ className: string;
738
+ placeholder: string;
739
+ contentType: boolean;
740
+ disabled: boolean;
741
+ }>>> & {
742
+ onChange?: (...args: any[]) => any;
743
+ }, {
744
+ className: string;
745
+ disabled: boolean;
746
+ placeholder: string;
747
+ size: string;
748
+ contentType: boolean;
749
+ }, {}>, {
750
+ default?(_: {}): any;
751
+ }>;
752
+
753
+ export declare const HyRoundButton: DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<RoundButton>, {
754
+ name: string;
755
+ className: string;
756
+ color: string;
757
+ width: string;
758
+ height: string;
759
+ tips: string;
760
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
761
+ click: (...args: any[]) => void;
762
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<RoundButton>, {
763
+ name: string;
764
+ className: string;
765
+ color: string;
766
+ width: string;
767
+ height: string;
768
+ tips: string;
769
+ }>>> & {
770
+ onClick?: (...args: any[]) => any;
771
+ }, {}, {}>;
772
+
773
+ export declare const HySelect: DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<Props_2>, {
774
+ modelValue: string;
775
+ requestParams: {};
776
+ controller: string;
777
+ filterDataList: () => any[];
778
+ customDataList: () => any[];
779
+ selectedDataList: () => any[];
780
+ requestimmediately: boolean;
781
+ clearable: boolean;
782
+ multiple: boolean;
783
+ optionLabel: string;
784
+ optionValue: string;
785
+ size: string;
786
+ placeholder: string;
787
+ }>, {
788
+ remoteMethod: (param: string) => void;
789
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
790
+ input: (...args: any[]) => void;
791
+ change: (...args: any[]) => void;
792
+ "on-selectItem": (...args: any[]) => void;
793
+ visibleChange: (...args: any[]) => void;
794
+ "update:modelValue": (...args: any[]) => void;
795
+ "on-changeSelectItem": (...args: any[]) => void;
796
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<Props_2>, {
797
+ modelValue: string;
798
+ requestParams: {};
799
+ controller: string;
800
+ filterDataList: () => any[];
801
+ customDataList: () => any[];
802
+ selectedDataList: () => any[];
803
+ requestimmediately: boolean;
804
+ clearable: boolean;
805
+ multiple: boolean;
806
+ optionLabel: string;
807
+ optionValue: string;
808
+ size: string;
809
+ placeholder: string;
810
+ }>>> & {
811
+ onChange?: (...args: any[]) => any;
812
+ onInput?: (...args: any[]) => any;
813
+ "onOn-selectItem"?: (...args: any[]) => any;
814
+ onVisibleChange?: (...args: any[]) => any;
815
+ "onUpdate:modelValue"?: (...args: any[]) => any;
816
+ "onOn-changeSelectItem"?: (...args: any[]) => any;
817
+ }, {
818
+ optionLabel: string;
819
+ optionValue: string;
820
+ modelValue: any;
821
+ placeholder: string;
822
+ clearable: boolean;
823
+ size: string;
824
+ requestParams: any;
825
+ controller: string;
826
+ filterDataList: any[];
827
+ customDataList: any[];
828
+ selectedDataList: any[];
829
+ requestimmediately: boolean;
830
+ multiple: boolean;
831
+ }, {}>;
832
+
833
+ export declare const HySelectDevice: DefineComponent<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<Props>, {
834
+ getData: FunctionConstructor;
835
+ showOnlineOnly: boolean;
836
+ checkStrictly: boolean;
837
+ showCheckbox: boolean;
838
+ parentCheckbox: boolean;
839
+ showRadio: boolean;
840
+ defaultCheckedKeys: () => any[];
841
+ disableDeviceList: () => any[];
842
+ returnDisableDevice: boolean;
843
+ }>, {
844
+ setCheckedKeys: (keys: string[]) => void;
845
+ setDeviceList: (dataList: Device[]) => void;
846
+ setChecked: (device: Device, type: boolean) => void;
847
+ handlerDeviceStateChange: (payload: Device) => void;
848
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
849
+ onCurrentDevice: (...args: any[]) => void;
850
+ onCurrentDeviceDelete: (...args: any[]) => void;
851
+ onSelectedData: (...args: any[]) => void;
852
+ onCurrentDepartment: (...args: any[]) => void;
853
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<Props>, {
854
+ getData: FunctionConstructor;
855
+ showOnlineOnly: boolean;
856
+ checkStrictly: boolean;
857
+ showCheckbox: boolean;
858
+ parentCheckbox: boolean;
859
+ showRadio: boolean;
860
+ defaultCheckedKeys: () => any[];
861
+ disableDeviceList: () => any[];
862
+ returnDisableDevice: boolean;
863
+ }>>> & {
864
+ onOnCurrentDevice?: (...args: any[]) => any;
865
+ onOnCurrentDeviceDelete?: (...args: any[]) => any;
866
+ onOnSelectedData?: (...args: any[]) => any;
867
+ onOnCurrentDepartment?: (...args: any[]) => any;
868
+ }, {
869
+ showCheckbox: boolean;
870
+ getData: () => any;
871
+ checkStrictly: boolean;
872
+ defaultCheckedKeys: string[];
873
+ parentCheckbox: boolean;
874
+ showRadio: boolean;
875
+ disableDeviceList: Device[];
876
+ returnDisableDevice: boolean;
877
+ showOnlineOnly: boolean;
878
+ }, {}>;
879
+
880
+ export declare const HyTable: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<TableProps>, {
881
+ height: number;
882
+ columnList: () => any[];
883
+ searchArr: () => any[];
884
+ showIndexColumn: boolean;
885
+ defaultGetData: boolean;
886
+ selectColumnType: SelectType;
887
+ childrenProps: () => {};
888
+ showFooter: boolean;
889
+ reqUrl: string;
890
+ customUrl: any;
891
+ cellStyle: () => {};
892
+ headerCellStyle: () => {};
893
+ disableIds: () => any[];
894
+ searchForm: () => {};
895
+ selectKey: string;
896
+ paginationLayout: string;
897
+ treeProps: () => {};
898
+ }>, {
899
+ getTableData: typeof getTableData;
900
+ setSelectedData: typeof setSelectedData;
901
+ clearSelection: typeof clearSelection;
902
+ selectedData: globalThis.Ref<any>;
903
+ setTableData: typeof setTableData;
904
+ handleCurrentChange: typeof handleCurrentChange;
905
+ getSearchForm: typeof getSearchForm;
906
+ getTableList: typeof getTableList;
907
+ getTotalElements: typeof getTotalElements;
908
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
909
+ getTotal: (...args: any[]) => void;
910
+ selectionChange: (...args: any[]) => void;
911
+ onRowcClick: (...args: any[]) => void;
912
+ }, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<TableProps>, {
913
+ height: number;
914
+ columnList: () => any[];
915
+ searchArr: () => any[];
916
+ showIndexColumn: boolean;
917
+ defaultGetData: boolean;
918
+ selectColumnType: SelectType;
919
+ childrenProps: () => {};
920
+ showFooter: boolean;
921
+ reqUrl: string;
922
+ customUrl: any;
923
+ cellStyle: () => {};
924
+ headerCellStyle: () => {};
925
+ disableIds: () => any[];
926
+ searchForm: () => {};
927
+ selectKey: string;
928
+ paginationLayout: string;
929
+ treeProps: () => {};
930
+ }>>> & {
931
+ onGetTotal?: (...args: any[]) => any;
932
+ onSelectionChange?: (...args: any[]) => any;
933
+ onOnRowcClick?: (...args: any[]) => any;
934
+ }, {}, {}>, Partial<Record<any, (_: any) => any>> & Partial<Record<any, (_: any) => any>> & {
935
+ tableLeft?(_: {}): any;
936
+ tableRight?(_: {}): any;
937
+ customContent?(_: {
938
+ tableData: any;
939
+ }): any;
940
+ empty?(_: {}): any;
941
+ statisticalQuantityLeft?(_: {}): any;
942
+ statisticalQuantityRight?(_: {}): any;
943
+ footer?(_: {}): any;
944
+ }>;
945
+
946
+ export declare function HyTipsModal(configParams: ConfigType, submitCallBackParams?: () => void, closesCallBackParams?: () => void): Promise<unknown>;
947
+
948
+ export declare const HyUserHead: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<RoundButton_2>, {
949
+ gbDevice: boolean;
950
+ url: string;
951
+ headBoxClassName: string;
952
+ name: string;
953
+ className: string;
954
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<RoundButton_2>, {
955
+ gbDevice: boolean;
956
+ url: string;
957
+ headBoxClassName: string;
958
+ name: string;
959
+ className: string;
960
+ }>>>, {}, {}>, {
961
+ content?(_: {}): any;
962
+ }>;
963
+
964
+ export declare const HyVueCropper: DefineComponent< {}, {
965
+ onShowModal: typeof onShowModal;
966
+ onSubmit: typeof onSubmit;
967
+ onClose: typeof onClose;
968
+ getCropData: typeof getCropData;
969
+ getCropBlob: typeof getCropBlob;
970
+ getBlobToData: typeof getBlobToData;
971
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
972
+
973
+ declare function imageViewerClose(): void;
974
+
975
+ declare interface MenuItem {
976
+ label: string;
977
+ permission: string;
978
+ iconName: string;
979
+ path: string;
980
+ }
981
+
982
+ declare function onClose(): void;
983
+
984
+ /**
985
+ * 显示裁剪并更新裁剪配置和回调函数。
986
+ * @param config - 可选参数,用于更新裁剪的配置选项。
987
+ */
988
+ declare function onShowModal(config?: Option_2): Promise<unknown>;
989
+
990
+ declare function onShowViewer(urlListParams: string | string[], initialIndexParams?: number): void;
991
+
992
+ declare function onSubmit(): void;
993
+
994
+ declare interface Option_2 {
995
+ dialogWidth: number;
996
+ img: string | Blob | ArrayBuffer | ArrayBufferView;
997
+ outputSize: number;
998
+ outputType: 'jpeg' | 'png' | 'webp';
999
+ info: boolean;
1000
+ canScale: boolean;
1001
+ autoCrop: boolean;
1002
+ autoCropWidth: number;
1003
+ autoCropHeight: number;
1004
+ fixed: boolean;
1005
+ fixedNumber: number[];
1006
+ full: boolean;
1007
+ fixedBox: boolean;
1008
+ canMove: boolean;
1009
+ canMoveBox: boolean;
1010
+ original: boolean;
1011
+ centerBox: boolean;
1012
+ high: boolean;
1013
+ infoTrue: boolean;
1014
+ maxImgSize: number;
1015
+ enlarge: number;
1016
+ mode: 'contain' | 'cover' | '100px' | '100% auto';
1017
+ limitMinSize: number | string | [];
1018
+ fillColor: string;
1019
+ }
1020
+
1021
+ declare interface Props {
1022
+ getData?: () => any;
1023
+ defaultCheckedKeys?: string[];
1024
+ showOnlineOnly?: boolean;
1025
+ checkStrictly?: boolean;
1026
+ showCheckbox?: boolean;
1027
+ parentCheckbox?: boolean;
1028
+ showRadio?: boolean;
1029
+ disableDeviceList?: Device[];
1030
+ returnDisableDevice?: boolean;
1031
+ }
1032
+
1033
+ declare interface Props_2 {
1034
+ modelValue?: any;
1035
+ requestParams?: any;
1036
+ controller?: string;
1037
+ filterDataList?: any[];
1038
+ customDataList?: any[];
1039
+ selectedDataList?: any[];
1040
+ requestimmediately?: boolean;
1041
+ clearable?: boolean;
1042
+ multiple?: boolean;
1043
+ optionLabel?: string;
1044
+ optionValue?: string;
1045
+ size?: string;
1046
+ placeholder?: string;
1047
+ }
1048
+
1049
+ declare interface Props_3 {
1050
+ size?: string;
1051
+ className?: string;
1052
+ placeholder?: string;
1053
+ contentType?: boolean;
1054
+ disabled?: boolean;
1055
+ }
1056
+
1057
+ declare interface Props_4 {
1058
+ menuList: MenuItem[];
1059
+ menuTitle: string;
1060
+ }
1061
+
1062
+ declare interface RoundButton {
1063
+ [key: string]: any;
1064
+ name: string;
1065
+ className?: string;
1066
+ color?: string;
1067
+ width?: string | number;
1068
+ height?: string | number;
1069
+ tips?: string;
1070
+ }
1071
+
1072
+ declare interface RoundButton_2 {
1073
+ [key: string]: any;
1074
+ url?: string;
1075
+ gbDevice?: boolean;
1076
+ headBoxClassName?: string;
1077
+ name?: string;
1078
+ className?: string;
1079
+ }
1080
+
1081
+ declare enum SelectType {
1082
+ NULL = 0,
1083
+ RADIO = 1,
1084
+ CHECKBOX = 2
1085
+ }
1086
+
1087
+ declare function setRouterPath(fullPath: string): void;
1088
+
1089
+ declare function setSelectedData(list: any[]): void;
1090
+
1091
+ declare function setTableData(data: TableList): void;
1092
+
1093
+ declare interface TableList {
1094
+ totalElements?: number;
1095
+ number?: number;
1096
+ totalPages?: number;
1097
+ size?: number;
1098
+ content: any;
1099
+ }
1100
+
1101
+ declare interface TableProps {
1102
+ [key: string]: any;
1103
+ height?: string | number;
1104
+ columnList: ColumnList[];
1105
+ searchArr: {
1106
+ label?: string;
1107
+ prop?: string;
1108
+ }[];
1109
+ showIndexColumn?: boolean;
1110
+ defaultGetData?: boolean;
1111
+ selectColumnType?: SelectType;
1112
+ childrenProps?: object;
1113
+ showFooter?: boolean;
1114
+ reqUrl: string;
1115
+ customUrl?: string;
1116
+ cellStyle?: () => any;
1117
+ headerCellStyle?: () => any;
1118
+ disableIds?: [];
1119
+ searchForm?: object;
1120
+ searchKey?: string;
1121
+ selectKey?: string;
1122
+ paginationLayout?: string;
1123
+ treeProps?: {
1124
+ hasChildren?: string;
1125
+ children?: string;
1126
+ };
1127
+ }
1128
+
1129
+ export { }