@zy-frontend/business 1.0.141

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,1834 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import { ButtonType } from 'element-plus';
3
+ import { ComponentOptionsMixin } from 'vue';
4
+ import { ComponentProvideOptions } from 'vue';
5
+ import { DefineComponent } from 'vue';
6
+ import { ElTableColumn } from 'element-plus';
7
+ import { ExtractPropTypes } from 'vue';
8
+ import { InjectionKey } from 'vue';
9
+ import { PaginationProps } from 'element-plus';
10
+ import { Placement } from 'element-plus';
11
+ import { Plugin as Plugin_2 } from 'vue';
12
+ import { Plus } from '@element-plus/icons-vue';
13
+ import { PropType } from 'vue';
14
+ import { PublicProps } from 'vue';
15
+ import { RendererElement } from 'vue';
16
+ import { RendererNode } from 'vue';
17
+ import { TableProps } from 'element-plus';
18
+ import { TreeKey } from 'element-plus/es/components/tree-v2/src/types.mjs';
19
+ import { TreeNodeData } from 'element-plus/es/components/tree-v2/src/types.mjs';
20
+ import { TreeOptionProps } from 'element-plus/es/components/tree-v2/src/types.mjs';
21
+ import { TreeProps } from 'element-plus/es/components/tree-v2/src/types.mjs';
22
+ import { VNode } from 'vue';
23
+
24
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchProps>>, {
25
+ getQueryString: () => string;
26
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
27
+ search: (...args: any[]) => void;
28
+ reset: (...args: any[]) => void;
29
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchProps>>> & Readonly<{
30
+ onSearch?: ((...args: any[]) => any) | undefined;
31
+ onReset?: ((...args: any[]) => any) | undefined;
32
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
33
+
34
+ declare const __VLS_component_10: DefineComponent<ExtractPropTypes< {
35
+ modelValue: {
36
+ required: true;
37
+ type: PropType<Record<string, any>>;
38
+ };
39
+ projectId: {
40
+ type: PropType<string | number>;
41
+ };
42
+ eventId: {
43
+ type: PropType<string | number>;
44
+ };
45
+ items: {
46
+ type: PropType<ZYSearchFormItem[]>;
47
+ };
48
+ configCode: {
49
+ type: PropType<string>;
50
+ };
51
+ showAll: {
52
+ type: PropType<boolean>;
53
+ default: boolean;
54
+ };
55
+ maxRowNum: {
56
+ type: PropType<number>;
57
+ default: number;
58
+ };
59
+ customize: {
60
+ type: PropType<boolean>;
61
+ default: boolean;
62
+ };
63
+ foldMinRowNum: {
64
+ type: PropType<number>;
65
+ default: number;
66
+ };
67
+ defaultFormData: {
68
+ type: PropType<Record<string, any>>;
69
+ };
70
+ customComponents: {
71
+ type: PropType<Record<string, any>>;
72
+ };
73
+ }>, {
74
+ updateInitialFormDataBackup: () => void;
75
+ getFormattedFormData: (data?: Record<string, any>) => Record<string, any>[];
76
+ search: () => Promise<void>;
77
+ reset: (refresh?: boolean) => void;
78
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
79
+ search: (...args: any[]) => void;
80
+ reset: (...args: any[]) => void;
81
+ change: (...args: any[]) => void;
82
+ "config-loaded": (...args: any[]) => void;
83
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
84
+ modelValue: {
85
+ required: true;
86
+ type: PropType<Record<string, any>>;
87
+ };
88
+ projectId: {
89
+ type: PropType<string | number>;
90
+ };
91
+ eventId: {
92
+ type: PropType<string | number>;
93
+ };
94
+ items: {
95
+ type: PropType<ZYSearchFormItem[]>;
96
+ };
97
+ configCode: {
98
+ type: PropType<string>;
99
+ };
100
+ showAll: {
101
+ type: PropType<boolean>;
102
+ default: boolean;
103
+ };
104
+ maxRowNum: {
105
+ type: PropType<number>;
106
+ default: number;
107
+ };
108
+ customize: {
109
+ type: PropType<boolean>;
110
+ default: boolean;
111
+ };
112
+ foldMinRowNum: {
113
+ type: PropType<number>;
114
+ default: number;
115
+ };
116
+ defaultFormData: {
117
+ type: PropType<Record<string, any>>;
118
+ };
119
+ customComponents: {
120
+ type: PropType<Record<string, any>>;
121
+ };
122
+ }>> & Readonly<{
123
+ onSearch?: ((...args: any[]) => any) | undefined;
124
+ onReset?: ((...args: any[]) => any) | undefined;
125
+ onChange?: ((...args: any[]) => any) | undefined;
126
+ "onConfig-loaded"?: ((...args: any[]) => any) | undefined;
127
+ }>, {
128
+ showAll: boolean;
129
+ maxRowNum: number;
130
+ customize: boolean;
131
+ foldMinRowNum: number;
132
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
133
+
134
+ declare const __VLS_component_11: DefineComponent<ExtractPropTypes< {
135
+ modelValue: PropType<ZYTableData>;
136
+ isLoading: PropType<boolean>;
137
+ selections: PropType<Record<string, any>[]>;
138
+ config: {
139
+ type: PropType<ZYTableConfig>;
140
+ required: true;
141
+ };
142
+ getDataImmediately: {
143
+ type: PropType<boolean>;
144
+ default: boolean;
145
+ };
146
+ requestFn: {
147
+ type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
148
+ };
149
+ actionLetterWidth: {
150
+ type: PropType<number>;
151
+ default: number;
152
+ };
153
+ }>, {
154
+ refresh: (query?: Record<string, any>, isSearch?: boolean) => Promise<void>;
155
+ setScrollTop: (top?: number) => void | undefined;
156
+ setScrollLeft: (left?: number) => void | undefined;
157
+ sort: (prop: string, order: "ascending" | "descending") => void | undefined;
158
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
159
+ "selection-change": (...args: any[]) => void;
160
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
161
+ modelValue: PropType<ZYTableData>;
162
+ isLoading: PropType<boolean>;
163
+ selections: PropType<Record<string, any>[]>;
164
+ config: {
165
+ type: PropType<ZYTableConfig>;
166
+ required: true;
167
+ };
168
+ getDataImmediately: {
169
+ type: PropType<boolean>;
170
+ default: boolean;
171
+ };
172
+ requestFn: {
173
+ type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
174
+ };
175
+ actionLetterWidth: {
176
+ type: PropType<number>;
177
+ default: number;
178
+ };
179
+ }>> & Readonly<{
180
+ "onSelection-change"?: ((...args: any[]) => any) | undefined;
181
+ }>, {
182
+ getDataImmediately: boolean;
183
+ actionLetterWidth: number;
184
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
185
+
186
+ declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
187
+ modelValue: {
188
+ required: true;
189
+ type: PropType<ZYAnchorTabValue>;
190
+ };
191
+ scrolling: PropType<boolean>;
192
+ tabs: {
193
+ type: PropType<ZYAnchorTab[]>;
194
+ required: true;
195
+ default: () => never[];
196
+ };
197
+ scrollDuration: {
198
+ type: PropType<number>;
199
+ default: number;
200
+ };
201
+ }>, {
202
+ scrollTo: (...args: any) => void;
203
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
204
+ modelValue: {
205
+ required: true;
206
+ type: PropType<ZYAnchorTabValue>;
207
+ };
208
+ scrolling: PropType<boolean>;
209
+ tabs: {
210
+ type: PropType<ZYAnchorTab[]>;
211
+ required: true;
212
+ default: () => never[];
213
+ };
214
+ scrollDuration: {
215
+ type: PropType<number>;
216
+ default: number;
217
+ };
218
+ }>> & Readonly<{}>, {
219
+ tabs: ZYAnchorTab[];
220
+ scrollDuration: number;
221
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
222
+
223
+ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_2<ZYAnchorTabItemProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_2<ZYAnchorTabItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
224
+
225
+ declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
226
+ modelValue: PropType<any>;
227
+ height: {
228
+ type: PropType<string>;
229
+ default: string;
230
+ };
231
+ downloadOptions: {
232
+ type: PropType< {
233
+ backgroundColor?: string;
234
+ excludeComponents?: string[];
235
+ extraTitle?: string;
236
+ }>;
237
+ };
238
+ requestParams: {
239
+ type: PropType<Record<string, any>>;
240
+ default: () => {};
241
+ };
242
+ clickable: {
243
+ type: PropType<boolean>;
244
+ default: boolean;
245
+ };
246
+ chartListConfig: {
247
+ type: PropType<ZYChartListConfig>;
248
+ required: true;
249
+ };
250
+ toolbar: {
251
+ type: PropType<ZYChartToolType[]>;
252
+ };
253
+ hoverShowToolbar: {
254
+ type: PropType<boolean>;
255
+ };
256
+ showEmpty: {
257
+ type: PropType<boolean>;
258
+ };
259
+ defaultActivatedCode: {
260
+ type: PropType<string>;
261
+ };
262
+ chartClass: {
263
+ type: PropType<string>;
264
+ };
265
+ showChartHeader: {
266
+ type: PropType<boolean>;
267
+ default: boolean;
268
+ };
269
+ theme: {
270
+ type: PropType<"light" | "dark" | {
271
+ name: string;
272
+ options: Record<string, any>;
273
+ }>;
274
+ default: string;
275
+ };
276
+ }>, {
277
+ refresh: (slotKey?: string, extraParams?: Record<string, any>) => void;
278
+ getChartConfig: (statCode: string) => {} | undefined;
279
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
280
+ click: (...args: any[]) => void;
281
+ mounted: (...args: any[]) => void;
282
+ "chart-click": (...args: any[]) => void;
283
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
284
+ modelValue: PropType<any>;
285
+ height: {
286
+ type: PropType<string>;
287
+ default: string;
288
+ };
289
+ downloadOptions: {
290
+ type: PropType< {
291
+ backgroundColor?: string;
292
+ excludeComponents?: string[];
293
+ extraTitle?: string;
294
+ }>;
295
+ };
296
+ requestParams: {
297
+ type: PropType<Record<string, any>>;
298
+ default: () => {};
299
+ };
300
+ clickable: {
301
+ type: PropType<boolean>;
302
+ default: boolean;
303
+ };
304
+ chartListConfig: {
305
+ type: PropType<ZYChartListConfig>;
306
+ required: true;
307
+ };
308
+ toolbar: {
309
+ type: PropType<ZYChartToolType[]>;
310
+ };
311
+ hoverShowToolbar: {
312
+ type: PropType<boolean>;
313
+ };
314
+ showEmpty: {
315
+ type: PropType<boolean>;
316
+ };
317
+ defaultActivatedCode: {
318
+ type: PropType<string>;
319
+ };
320
+ chartClass: {
321
+ type: PropType<string>;
322
+ };
323
+ showChartHeader: {
324
+ type: PropType<boolean>;
325
+ default: boolean;
326
+ };
327
+ theme: {
328
+ type: PropType<"light" | "dark" | {
329
+ name: string;
330
+ options: Record<string, any>;
331
+ }>;
332
+ default: string;
333
+ };
334
+ }>> & Readonly<{
335
+ onClick?: ((...args: any[]) => any) | undefined;
336
+ onMounted?: ((...args: any[]) => any) | undefined;
337
+ "onChart-click"?: ((...args: any[]) => any) | undefined;
338
+ }>, {
339
+ height: string;
340
+ requestParams: Record<string, any>;
341
+ clickable: boolean;
342
+ showChartHeader: boolean;
343
+ theme: "light" | "dark" | {
344
+ name: string;
345
+ options: Record<string, any>;
346
+ };
347
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
348
+
349
+ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps_3<{
350
+ title?: string;
351
+ charts?: ZYChartConfig[];
352
+ options?: Record<string, any>;
353
+ height?: string;
354
+ requestParams: Record<string, any>;
355
+ toolbar?: ZYChartToolType[];
356
+ hideToolbar?: boolean;
357
+ hoverShowToolbar?: boolean;
358
+ showEmpty?: boolean;
359
+ downloadOptions?: {
360
+ backgroundColor?: string;
361
+ excludeComponents?: string[];
362
+ extraTitle?: string;
363
+ };
364
+ clickable?: boolean;
365
+ chartClickable?: boolean;
366
+ activated?: boolean;
367
+ theme?: "light" | "dark" | {
368
+ name: string;
369
+ options: Record<string, any>;
370
+ };
371
+ showChartHeader?: boolean;
372
+ }>, {
373
+ requestParams: () => {};
374
+ toolbar: () => ZYChartToolType[];
375
+ downloadOptions: () => {
376
+ backgroundColor: string;
377
+ excludeComponents: string[];
378
+ };
379
+ theme: string;
380
+ showChartHeader: boolean;
381
+ hideToolbar: boolean;
382
+ }>>, {
383
+ refresh: (extraParams?: Record<string, any>) => Promise<void>;
384
+ getConfig: () => {};
385
+ dispose: () => void;
386
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
387
+ click: (...args: any[]) => void;
388
+ "chart-click": (...args: any[]) => void;
389
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps_3<{
390
+ title?: string;
391
+ charts?: ZYChartConfig[];
392
+ options?: Record<string, any>;
393
+ height?: string;
394
+ requestParams: Record<string, any>;
395
+ toolbar?: ZYChartToolType[];
396
+ hideToolbar?: boolean;
397
+ hoverShowToolbar?: boolean;
398
+ showEmpty?: boolean;
399
+ downloadOptions?: {
400
+ backgroundColor?: string;
401
+ excludeComponents?: string[];
402
+ extraTitle?: string;
403
+ };
404
+ clickable?: boolean;
405
+ chartClickable?: boolean;
406
+ activated?: boolean;
407
+ theme?: "light" | "dark" | {
408
+ name: string;
409
+ options: Record<string, any>;
410
+ };
411
+ showChartHeader?: boolean;
412
+ }>, {
413
+ requestParams: () => {};
414
+ toolbar: () => ZYChartToolType[];
415
+ downloadOptions: () => {
416
+ backgroundColor: string;
417
+ excludeComponents: string[];
418
+ };
419
+ theme: string;
420
+ showChartHeader: boolean;
421
+ hideToolbar: boolean;
422
+ }>>> & Readonly<{
423
+ onClick?: ((...args: any[]) => any) | undefined;
424
+ "onChart-click"?: ((...args: any[]) => any) | undefined;
425
+ }>, {
426
+ downloadOptions: {
427
+ backgroundColor?: string;
428
+ excludeComponents?: string[];
429
+ extraTitle?: string;
430
+ };
431
+ requestParams: Record<string, any>;
432
+ toolbar: ZYChartToolType[];
433
+ showChartHeader: boolean;
434
+ theme: "light" | "dark" | {
435
+ name: string;
436
+ options: Record<string, any>;
437
+ };
438
+ hideToolbar: boolean;
439
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
440
+
441
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes< {
442
+ modelValue: PropType<Record<string, any>[]>;
443
+ isLoading: PropType<boolean>;
444
+ selections: PropType<Record<string, any>[]>;
445
+ projectId: {
446
+ type: PropType<string | number>;
447
+ };
448
+ eventId: {
449
+ type: PropType<string | number>;
450
+ };
451
+ getDataImmediately: {
452
+ type: PropType<boolean>;
453
+ default: boolean;
454
+ };
455
+ requestFn: {
456
+ type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
457
+ };
458
+ tableConfig: {
459
+ type: PropType<ZYTableConfig>;
460
+ required: true;
461
+ };
462
+ dataStructureCode: {
463
+ type: PropType<string>;
464
+ };
465
+ configCode: {
466
+ type: PropType<string>;
467
+ };
468
+ defaultColumnWidth: {
469
+ type: PropType<number>;
470
+ };
471
+ dateTimeFormat: {
472
+ type: PropType<string>;
473
+ default: string;
474
+ };
475
+ exportFn: {
476
+ type: PropType<(params: any) => Promise<any>>;
477
+ };
478
+ tableColumnsFilter: {
479
+ type: PropType<(columns: ZYTableConfig["columns"]) => ZYTableConfig["columns"]>;
480
+ default: (columns: ZYTableConfig["columns"]) => ZYTableColumn[] | undefined;
481
+ };
482
+ }>, {
483
+ refresh: (...args: any) => Promise<void> | undefined;
484
+ customizeColumn: () => void;
485
+ customizeExport: () => Promise<void>;
486
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
487
+ refresh: (...args: any[]) => void;
488
+ export: (...args: any[]) => void;
489
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
490
+ modelValue: PropType<Record<string, any>[]>;
491
+ isLoading: PropType<boolean>;
492
+ selections: PropType<Record<string, any>[]>;
493
+ projectId: {
494
+ type: PropType<string | number>;
495
+ };
496
+ eventId: {
497
+ type: PropType<string | number>;
498
+ };
499
+ getDataImmediately: {
500
+ type: PropType<boolean>;
501
+ default: boolean;
502
+ };
503
+ requestFn: {
504
+ type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
505
+ };
506
+ tableConfig: {
507
+ type: PropType<ZYTableConfig>;
508
+ required: true;
509
+ };
510
+ dataStructureCode: {
511
+ type: PropType<string>;
512
+ };
513
+ configCode: {
514
+ type: PropType<string>;
515
+ };
516
+ defaultColumnWidth: {
517
+ type: PropType<number>;
518
+ };
519
+ dateTimeFormat: {
520
+ type: PropType<string>;
521
+ default: string;
522
+ };
523
+ exportFn: {
524
+ type: PropType<(params: any) => Promise<any>>;
525
+ };
526
+ tableColumnsFilter: {
527
+ type: PropType<(columns: ZYTableConfig["columns"]) => ZYTableConfig["columns"]>;
528
+ default: (columns: ZYTableConfig["columns"]) => ZYTableColumn[] | undefined;
529
+ };
530
+ }>> & Readonly<{
531
+ onRefresh?: ((...args: any[]) => any) | undefined;
532
+ onExport?: ((...args: any[]) => any) | undefined;
533
+ }>, {
534
+ getDataImmediately: boolean;
535
+ dateTimeFormat: string;
536
+ tableColumnsFilter: (columns: ZYTableConfig["columns"]) => ZYTableConfig["columns"];
537
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
538
+
539
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_7<{
540
+ config: ZYLayoutConfig;
541
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_7<{
542
+ config: ZYLayoutConfig;
543
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
544
+
545
+ declare const __VLS_component_8: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_8<{
546
+ config: ZYLayoutConfig;
547
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_8<{
548
+ config: ZYLayoutConfig;
549
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
550
+
551
+ declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_9<{
552
+ title: string;
553
+ className?: string;
554
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_9<{
555
+ title: string;
556
+ className?: string;
557
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
558
+
559
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
560
+
561
+ declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
562
+
563
+ declare type __VLS_NonUndefinedable_11<T> = T extends undefined ? never : T;
564
+
565
+ declare type __VLS_NonUndefinedable_12<T> = T extends undefined ? never : T;
566
+
567
+ declare type __VLS_NonUndefinedable_13<T> = T extends undefined ? never : T;
568
+
569
+ declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
570
+
571
+ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
572
+
573
+ declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
574
+
575
+ declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
576
+
577
+ declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
578
+
579
+ declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
580
+
581
+ declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
582
+
583
+ declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
584
+
585
+ declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
586
+
587
+ declare type __VLS_Prettify<T> = {
588
+ [K in keyof T]: T[K];
589
+ } & {};
590
+
591
+ declare type __VLS_Prettify_2<T> = {
592
+ [K in keyof T]: T[K];
593
+ } & {};
594
+
595
+ declare type __VLS_Prettify_3<T> = {
596
+ [K in keyof T]: T[K];
597
+ } & {};
598
+
599
+ declare type __VLS_Prettify_4<T> = {
600
+ [K in keyof T]: T[K];
601
+ } & {};
602
+
603
+ declare type __VLS_Prettify_5<T> = {
604
+ [K in keyof T]: T[K];
605
+ } & {};
606
+
607
+ declare type __VLS_Prettify_6<T> = {
608
+ [K in keyof T]: T[K];
609
+ } & {};
610
+
611
+ declare function __VLS_template(): {
612
+ "extra-action"?(_: {}): any;
613
+ };
614
+
615
+ declare function __VLS_template_10(): {
616
+ "extra-action"?(_: {}): any;
617
+ };
618
+
619
+ declare function __VLS_template_11(): Partial<Record<NonNullable<string | number>, (_: {
620
+ row: any;
621
+ prop: string;
622
+ index: any;
623
+ column: ZYTableColumn;
624
+ }) => any>> & {
625
+ header?(_: {}): any;
626
+ search?(_: {}): any;
627
+ action?(_: {}): any;
628
+ "footer-extra"?(_: {}): any;
629
+ };
630
+
631
+ declare function __VLS_template_2(): {
632
+ tab?(_: {
633
+ tabName: ZYAnchorTabValue;
634
+ }): any;
635
+ default?(_: {}): any;
636
+ };
637
+
638
+ declare function __VLS_template_3(): {
639
+ default?(_: {}): any;
640
+ };
641
+
642
+ declare function __VLS_template_4(): Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
643
+ chartHeader?(_: {
644
+ title: string | undefined;
645
+ subTitle: string;
646
+ statCode: any;
647
+ option: Record<string, any> | undefined;
648
+ }): any;
649
+ chartFooter?(_: {
650
+ option: Record<string, any> | undefined;
651
+ }): any;
652
+ };
653
+
654
+ declare function __VLS_template_5(): {
655
+ header?(_: {
656
+ title: string | undefined;
657
+ subTitle: string;
658
+ statCode: any;
659
+ option: Record<string, any> | undefined;
660
+ }): any;
661
+ footer?(_: {
662
+ option: Record<string, any> | undefined;
663
+ }): any;
664
+ };
665
+
666
+ declare function __VLS_template_6(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
667
+
668
+ declare function __VLS_template_7(): any;
669
+
670
+ declare function __VLS_template_8(): any;
671
+
672
+ declare function __VLS_template_9(): {
673
+ header?(_: {
674
+ title: string;
675
+ }): any;
676
+ default?(_: {}): any;
677
+ };
678
+
679
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
680
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
681
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
682
+ } : {
683
+ type: PropType<T[K]>;
684
+ required: true;
685
+ };
686
+ };
687
+
688
+ declare type __VLS_TypePropsToRuntimeProps_10<T> = {
689
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
690
+ type: PropType<__VLS_NonUndefinedable_10<T[K]>>;
691
+ } : {
692
+ type: PropType<T[K]>;
693
+ required: true;
694
+ };
695
+ };
696
+
697
+ declare type __VLS_TypePropsToRuntimeProps_11<T> = {
698
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
699
+ type: PropType<__VLS_NonUndefinedable_11<T[K]>>;
700
+ } : {
701
+ type: PropType<T[K]>;
702
+ required: true;
703
+ };
704
+ };
705
+
706
+ declare type __VLS_TypePropsToRuntimeProps_12<T> = {
707
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
708
+ type: PropType<__VLS_NonUndefinedable_12<T[K]>>;
709
+ } : {
710
+ type: PropType<T[K]>;
711
+ required: true;
712
+ };
713
+ };
714
+
715
+ declare type __VLS_TypePropsToRuntimeProps_13<T> = {
716
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
717
+ type: PropType<__VLS_NonUndefinedable_13<T[K]>>;
718
+ } : {
719
+ type: PropType<T[K]>;
720
+ required: true;
721
+ };
722
+ };
723
+
724
+ declare type __VLS_TypePropsToRuntimeProps_14<T> = {
725
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
726
+ type: PropType<__VLS_NonUndefinedable_14<T[K]>>;
727
+ } : {
728
+ type: PropType<T[K]>;
729
+ required: true;
730
+ };
731
+ };
732
+
733
+ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
734
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
735
+ type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
736
+ } : {
737
+ type: PropType<T[K]>;
738
+ required: true;
739
+ };
740
+ };
741
+
742
+ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
743
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
744
+ type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
745
+ } : {
746
+ type: PropType<T[K]>;
747
+ required: true;
748
+ };
749
+ };
750
+
751
+ declare type __VLS_TypePropsToRuntimeProps_4<T> = {
752
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
753
+ type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
754
+ } : {
755
+ type: PropType<T[K]>;
756
+ required: true;
757
+ };
758
+ };
759
+
760
+ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
761
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
762
+ type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
763
+ } : {
764
+ type: PropType<T[K]>;
765
+ required: true;
766
+ };
767
+ };
768
+
769
+ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
770
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
771
+ type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
772
+ } : {
773
+ type: PropType<T[K]>;
774
+ required: true;
775
+ };
776
+ };
777
+
778
+ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
779
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
780
+ type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
781
+ } : {
782
+ type: PropType<T[K]>;
783
+ required: true;
784
+ };
785
+ };
786
+
787
+ declare type __VLS_TypePropsToRuntimeProps_8<T> = {
788
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
789
+ type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
790
+ } : {
791
+ type: PropType<T[K]>;
792
+ required: true;
793
+ };
794
+ };
795
+
796
+ declare type __VLS_TypePropsToRuntimeProps_9<T> = {
797
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
798
+ type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
799
+ } : {
800
+ type: PropType<T[K]>;
801
+ required: true;
802
+ };
803
+ };
804
+
805
+ declare type __VLS_WithDefaults<P, D> = {
806
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
807
+ default: D[K];
808
+ }> : P[K];
809
+ };
810
+
811
+ declare type __VLS_WithDefaults_2<P, D> = {
812
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
813
+ default: D[K];
814
+ }> : P[K];
815
+ };
816
+
817
+ declare type __VLS_WithDefaults_3<P, D> = {
818
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
819
+ default: D[K];
820
+ }> : P[K];
821
+ };
822
+
823
+ declare type __VLS_WithDefaults_4<P, D> = {
824
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
825
+ default: D[K];
826
+ }> : P[K];
827
+ };
828
+
829
+ declare type __VLS_WithDefaults_5<P, D> = {
830
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
831
+ default: D[K];
832
+ }> : P[K];
833
+ };
834
+
835
+ declare type __VLS_WithDefaults_6<P, D> = {
836
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
837
+ default: D[K];
838
+ }> : P[K];
839
+ };
840
+
841
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
842
+ new (): {
843
+ $slots: S;
844
+ };
845
+ };
846
+
847
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
848
+ new (): {
849
+ $slots: S;
850
+ };
851
+ };
852
+
853
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
854
+ new (): {
855
+ $slots: S;
856
+ };
857
+ };
858
+
859
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
860
+ new (): {
861
+ $slots: S;
862
+ };
863
+ };
864
+
865
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
866
+ new (): {
867
+ $slots: S;
868
+ };
869
+ };
870
+
871
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
872
+ new (): {
873
+ $slots: S;
874
+ };
875
+ };
876
+
877
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
878
+ new (): {
879
+ $slots: S;
880
+ };
881
+ };
882
+
883
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
884
+ new (): {
885
+ $slots: S;
886
+ };
887
+ };
888
+
889
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
890
+ new (): {
891
+ $slots: S;
892
+ };
893
+ };
894
+
895
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
896
+ new (): {
897
+ $slots: S;
898
+ };
899
+ };
900
+
901
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
902
+ new (): {
903
+ $slots: S;
904
+ };
905
+ };
906
+
907
+ export declare const componentEventIdKey: InjectionKey<string | number | undefined>;
908
+
909
+ export declare const componentProjectIdKey: InjectionKey<string | number | undefined>;
910
+
911
+ export declare const dataStructureCodeKey: InjectionKey<string | undefined>;
912
+
913
+ export declare const getTablePageData: (data: Record<string, any>[], pageIndex: number, pageSize: number) => Record<string, any>[] | undefined;
914
+
915
+ declare interface IconButtonProps {
916
+ icon: any;
917
+ type?: '' | 'text' | 'default' | 'success' | 'warning' | 'info' | 'primary' | 'danger';
918
+ text?: string;
919
+ placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
920
+ delay?: number;
921
+ disabled?: boolean;
922
+ }
923
+
924
+ export declare const ROOT_NODE_ID = "1";
925
+
926
+ declare interface ScoreDataInput {
927
+ score: number;
928
+ level: string;
929
+ create_datetime: string;
930
+ modify_by: string;
931
+ }
932
+
933
+ declare type ScoreType = 'scale_gcs' | 'scale_ti' | 'scale_rts' | 'scale_ais' | 'scale_mews' | 'scale_rems' | 'scale_apache2' | 'SCALE_NIHSS' | 'SCALE_MRS' | 'SCALE_GRACE' | 'SCALE_SOFA' | 'SCALE_SOFA2' | 'SCALE_ASA';
934
+
935
+ export declare interface SetScorePayload {
936
+ scores?: Record<string, string>;
937
+ selectedCodes?: Record<string, string> | string[];
938
+ totalScore: number | null;
939
+ }
940
+
941
+ declare type SFCWithInstall<T> = T & Plugin_2;
942
+
943
+ export declare const sortTableData: (data: Record<string, any>[], prop: string, order: ZYTableSortOrder) => {
944
+ index: number;
945
+ }[] | undefined;
946
+
947
+ declare type TableColumnProps = Partial<Parameters<Exclude<(typeof ElTableColumn)['setup'], undefined>>[0]>;
948
+
949
+ export declare function transferSearchConfigToSearchFormConfig(searchConfig: Record<string, any>[]): any[];
950
+
951
+ export declare function transferSearchConfigToTableConfig(searchConfig: Record<string, any>): {
952
+ columns: {
953
+ prop: any;
954
+ label: any;
955
+ width: any;
956
+ fixed: any;
957
+ type: any;
958
+ sortable: any;
959
+ data: any;
960
+ }[];
961
+ defaultSort: ZYTableSort;
962
+ };
963
+
964
+ export declare function useScoreData(): {
965
+ scaleData: any;
966
+ scoreData: any;
967
+ initScaleData: () => Promise<void>;
968
+ setScore: (type: string, data: {
969
+ selectedCodes: any;
970
+ totalScore: any;
971
+ scores?: any;
972
+ }) => void;
973
+ scaleDataLoaded: any;
974
+ };
975
+
976
+ export declare function useScoreDialogData(): {
977
+ scoreData: any;
978
+ setScore: (type: ScoreType, data: ScoreDataInput, codes?: string[], uid?: string) => void;
979
+ initScaleData: (scaleTypes?: ScoreType[]) => Promise<void>;
980
+ resetScoreData: () => void;
981
+ scaleDataLoaded: any;
982
+ scaleData: any;
983
+ };
984
+
985
+ export declare const ZY_ACTION_MAP: Record<ZYAction, {
986
+ text: string;
987
+ icon: typeof Plus;
988
+ }>;
989
+
990
+ export declare const ZY_DEFAULT_CONDITION: ZYCondition;
991
+
992
+ export declare const ZY_LOGICAL_OPERATOR_MAP: {
993
+ AND: string;
994
+ OR: string;
995
+ NOT: string;
996
+ };
997
+
998
+ export declare const ZY_LOGICAL_OPERATOR_OPTIONS: {
999
+ value: ZYLogicalOperator;
1000
+ label: string;
1001
+ }[];
1002
+
1003
+ export declare const ZY_LOGICAL_OPERATOR_TEXT_MAP: {
1004
+ AND: string;
1005
+ OR: string;
1006
+ NOT: string;
1007
+ };
1008
+
1009
+ export declare const ZY_OPERATOR_OPTIONS: {
1010
+ name: string;
1011
+ value: ZYOperatorType;
1012
+ dataTypes: ZYDataType[];
1013
+ }[];
1014
+
1015
+ export declare const ZY_SEARCH_FORM_COMPONENT_TYPE: Record<ZYSearchFormComponentType, any>;
1016
+
1017
+ export declare const ZY_STAT_WAY_MAP: Record<string, string>;
1018
+
1019
+ export declare const ZY_STAT_WAY_OPTIONS: {
1020
+ value: ZYStatWay;
1021
+ label: string;
1022
+ }[];
1023
+
1024
+ export declare type ZYAction = 'add' | 'add-group' | 'delete';
1025
+
1026
+ export declare const ZYAdvancedSearch: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
1027
+
1028
+ export declare interface ZYAdvancedSearchConditionGroupProps {
1029
+ index?: number;
1030
+ isRoot?: boolean;
1031
+ maxNest?: number;
1032
+ activeCondition?: ZYConditionGroup | null;
1033
+ hideRootLogicalOperator?: boolean;
1034
+ }
1035
+
1036
+ export declare interface ZYAdvancedSearchConditionProps {
1037
+ condition: ZYCondition;
1038
+ index: number;
1039
+ active?: boolean;
1040
+ }
1041
+
1042
+ export declare interface ZYAdvancedSearchModel {
1043
+ include: ZYConditionGroup;
1044
+ exclude: ZYConditionGroup;
1045
+ }
1046
+
1047
+ export declare interface ZYAdvancedSearchProps {
1048
+ projectId?: string | number;
1049
+ eventId?: string | number;
1050
+ dataStructureCode?: string;
1051
+ }
1052
+
1053
+ declare interface ZYAnchorTab {
1054
+ label: string;
1055
+ name: ZYAnchorTabValue;
1056
+ disabled?: boolean;
1057
+ }
1058
+
1059
+ export declare const ZYAnchorTabItem: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, ReturnType<typeof __VLS_template_3>>;
1060
+
1061
+ declare interface ZYAnchorTabItemProps extends ZYAnchorTab {
1062
+ }
1063
+
1064
+ export declare const ZYAnchorTabs: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
1065
+
1066
+ declare type ZYAnchorTabValue = string | number;
1067
+
1068
+ export declare interface ZYAutocompleteProps {
1069
+ loadType: 2 | 3;
1070
+ options?: ZYOption<string | number>[];
1071
+ }
1072
+
1073
+ export declare const ZYChart: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, ReturnType<typeof __VLS_template_5>>;
1074
+
1075
+ export declare interface ZYChartConfig {
1076
+ statCode: string;
1077
+ charts?: ZYChartConfig[];
1078
+ title?: string;
1079
+ options?: Record<string, any>;
1080
+ requestParams?: Record<string, any>;
1081
+ clickable?: boolean;
1082
+ chartClickable?: boolean;
1083
+ props?: Record<string, any>;
1084
+ [key: string]: any;
1085
+ }
1086
+
1087
+ export declare const ZYChartList: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, ReturnType<typeof __VLS_template_4>>;
1088
+
1089
+ export declare const ZYCHARTLIST_MOCK = "#ZYCHARTLIST_MOCK#";
1090
+
1091
+ export declare interface ZYChartListConfig {
1092
+ charts: ZYChartConfig[];
1093
+ layout: ZYLayoutConfig;
1094
+ }
1095
+
1096
+ export declare enum ZYChartToolType {
1097
+ VIEW = "view",
1098
+ DOWNLOAD = "download",
1099
+ SHOW_TABLE = "showTable"
1100
+ }
1101
+
1102
+ export declare interface ZYColumnActionProps {
1103
+ actions?: ZYTableActions[];
1104
+ actionColumnProps?: TableColumnProps;
1105
+ tableData?: ZYTableData;
1106
+ }
1107
+
1108
+ export declare const ZYColumnCustomizableTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, ReturnType<typeof __VLS_template_6>>;
1109
+
1110
+ export declare interface ZYColumnCustomizableTableColumn {
1111
+ prop: string;
1112
+ label: string;
1113
+ width?: string | number;
1114
+ data: ZYColumnCustomizeField;
1115
+ }
1116
+
1117
+ export declare interface ZYColumnCustomizableTableProps {
1118
+ projectId?: string | number;
1119
+ eventId?: string | number;
1120
+ tableConfig: ZYTableConfig;
1121
+ tableColumnsFilter?: (columns: ZYTableConfig['columns']) => ZYTableConfig['columns'];
1122
+ requestFn?: ZYTableProps['requestFn'];
1123
+ getDataImmediately?: ZYTableProps['getDataImmediately'];
1124
+ exportFn?: (params: any) => Promise<any>;
1125
+ dateTimeFormat?: string;
1126
+ defaultColumnWidth?: number;
1127
+ configCode?: string;
1128
+ dataStructureCode?: string;
1129
+ }
1130
+
1131
+ export declare const ZYColumnCustomizeDrawer: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
1132
+ configCode?: string;
1133
+ defaultColumnWidth?: number;
1134
+ dateTimeFormat?: string;
1135
+ }>>, {
1136
+ start: (data: ZYColumnCustomizeField[]) => void;
1137
+ isColumnSortable: (key: string) => boolean;
1138
+ updateCustomColumnWidth: (data: ZYColumnCustomizeField[]) => Promise<void>;
1139
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1140
+ change: (...args: any[]) => void;
1141
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
1142
+ configCode?: string;
1143
+ defaultColumnWidth?: number;
1144
+ dateTimeFormat?: string;
1145
+ }>>> & Readonly<{
1146
+ onChange?: ((...args: any[]) => any) | undefined;
1147
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1148
+
1149
+ export declare const ZYColumnCustomizeExportDrawer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_5<{
1150
+ exportFn: (params: any) => Promise<any>;
1151
+ }>, {}>>, {
1152
+ start: () => void;
1153
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_5<{
1154
+ exportFn: (params: any) => Promise<any>;
1155
+ }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1156
+
1157
+ export declare interface ZYColumnCustomizeField {
1158
+ domainType?: string | number;
1159
+ domainName: string;
1160
+ fieldName: string;
1161
+ fieldLabel: string;
1162
+ width?: string | number;
1163
+ dataType?: string;
1164
+ colors?: Record<string, string>;
1165
+ [key: string]: any;
1166
+ }
1167
+
1168
+ export declare interface ZYCondition {
1169
+ key?: string;
1170
+ fieldName?: string;
1171
+ dataType?: ZYDataType;
1172
+ operator?: ZYOperatorType;
1173
+ logicalOperator?: ZYLogicalOperator;
1174
+ value?: any;
1175
+ statWay?: ZYStatWay;
1176
+ [key: string]: any;
1177
+ }
1178
+
1179
+ export declare interface ZYConditionGroup {
1180
+ key?: string;
1181
+ logicalOperator?: ZYLogicalOperator;
1182
+ children?: (ZYCondition | ZYConditionGroup)[];
1183
+ }
1184
+
1185
+ export declare interface ZYCustomExportTemplate {
1186
+ id: string;
1187
+ name: string;
1188
+ columns: Record<string, any>[];
1189
+ }
1190
+
1191
+ export declare const ZYCustomExportTemplateTagList: DefineComponent<ExtractPropTypes< {
1192
+ modelValue: PropType<ZYCustomExportTemplate[]>;
1193
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1194
+ delete: (...args: any[]) => void;
1195
+ apply: (...args: any[]) => void;
1196
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1197
+ modelValue: PropType<ZYCustomExportTemplate[]>;
1198
+ }>> & Readonly<{
1199
+ onDelete?: ((...args: any[]) => any) | undefined;
1200
+ onApply?: ((...args: any[]) => any) | undefined;
1201
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1202
+
1203
+ export declare interface ZYCustomSearchFormProps {
1204
+ projectId?: string | number;
1205
+ eventId?: string | number;
1206
+ items: ZYSearchFormItem[];
1207
+ activatedIndexArr?: number[];
1208
+ configCode?: string;
1209
+ }
1210
+
1211
+ export declare enum ZYDataType {
1212
+ TEXT = "TEXT",
1213
+ TEXT_BOOLEAN = "TEXT_BOOLEAN",
1214
+ TEXT_ARRAY = "TEXT_ARRAY",
1215
+ KEYWORD = "KEYWORD",
1216
+ KEYWORD_ARRAY = "KEYWORD_ARRAY",
1217
+ DATE_TIME = "DATE_TIME",
1218
+ DATE = "DATE",
1219
+ NUMBER = "NUMBER",
1220
+ NUMBER_INT = "NUMBER_INT"
1221
+ }
1222
+
1223
+ export declare interface ZYFieldModel {
1224
+ domainType: string | number;
1225
+ domainName: string;
1226
+ fieldName: string;
1227
+ dataType: string;
1228
+ domainLabel: string;
1229
+ fieldLabel: string;
1230
+ fieldDomainName: string;
1231
+ autocomplete?: ZYAutocompleteProps;
1232
+ }
1233
+
1234
+ export declare const ZYFieldPicker: DefineComponent<ExtractPropTypes< {
1235
+ modelValue: PropType<Record<string, any> | Record<string, any>[]>;
1236
+ projectId: {
1237
+ type: PropType<string>;
1238
+ };
1239
+ eventId: {
1240
+ type: PropType<string>;
1241
+ };
1242
+ multiple: {
1243
+ type: PropType<boolean>;
1244
+ default: boolean;
1245
+ };
1246
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1247
+ select: (...args: any[]) => void;
1248
+ change: (...args: any[]) => void;
1249
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1250
+ modelValue: PropType<Record<string, any> | Record<string, any>[]>;
1251
+ projectId: {
1252
+ type: PropType<string>;
1253
+ };
1254
+ eventId: {
1255
+ type: PropType<string>;
1256
+ };
1257
+ multiple: {
1258
+ type: PropType<boolean>;
1259
+ default: boolean;
1260
+ };
1261
+ }>> & Readonly<{
1262
+ onSelect?: ((...args: any[]) => any) | undefined;
1263
+ onChange?: ((...args: any[]) => any) | undefined;
1264
+ }>, {
1265
+ multiple: boolean;
1266
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1267
+
1268
+ export declare interface ZYFieldTreeNode {
1269
+ domainType?: string | number;
1270
+ domainName?: string;
1271
+ label: string;
1272
+ fieldName?: string;
1273
+ value?: string;
1274
+ children?: ZYFieldTreeNode[];
1275
+ disabled?: boolean;
1276
+ dataType?: string;
1277
+ exts?: Record<string, any>;
1278
+ }
1279
+
1280
+ export declare interface ZYFieldTreeProps extends Partial<TreeProps> {
1281
+ data?: ZYFieldTreeNode[];
1282
+ width?: number | string;
1283
+ disabled?: boolean;
1284
+ disabledKeys?: string[];
1285
+ }
1286
+
1287
+ export declare const ZYFieldTreeSelect: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_13<ZYFieldTreeProps>, {
1288
+ props: () => {
1289
+ children: string;
1290
+ label: string;
1291
+ value: string;
1292
+ };
1293
+ showCheckbox: boolean;
1294
+ disabledKeys: () => never[];
1295
+ defaultCheckedKeys: () => string[];
1296
+ defaultExpandedKeys: () => string[];
1297
+ highlightCurrent: boolean;
1298
+ data: () => never[];
1299
+ emptyText: string;
1300
+ width: number;
1301
+ disabled: boolean;
1302
+ }>>, {
1303
+ getCheckedKeys: () => TreeKey[] | undefined;
1304
+ getCheckedNodes: (fieldOnly?: boolean) => TreeNodeData[] | undefined;
1305
+ setCheckedKeys: (keys: string[]) => void | undefined;
1306
+ setChecked: (key: string, checked: boolean) => void | undefined;
1307
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1308
+ select: (...args: any[]) => void;
1309
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_13<ZYFieldTreeProps>, {
1310
+ props: () => {
1311
+ children: string;
1312
+ label: string;
1313
+ value: string;
1314
+ };
1315
+ showCheckbox: boolean;
1316
+ disabledKeys: () => never[];
1317
+ defaultCheckedKeys: () => string[];
1318
+ defaultExpandedKeys: () => string[];
1319
+ highlightCurrent: boolean;
1320
+ data: () => never[];
1321
+ emptyText: string;
1322
+ width: number;
1323
+ disabled: boolean;
1324
+ }>>> & Readonly<{
1325
+ onSelect?: ((...args: any[]) => any) | undefined;
1326
+ }>, {
1327
+ data: ZYFieldTreeNode[];
1328
+ props: TreeOptionProps;
1329
+ disabled: boolean;
1330
+ emptyText: string;
1331
+ width: number | string;
1332
+ highlightCurrent: boolean;
1333
+ showCheckbox: boolean;
1334
+ defaultCheckedKeys: TreeKey[];
1335
+ defaultExpandedKeys: TreeKey[];
1336
+ disabledKeys: string[];
1337
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1338
+
1339
+ export declare const ZYGlobalProvider: SFCWithInstall<DefineComponent<ExtractPropTypes< {
1340
+ projectId: {
1341
+ type: (NumberConstructor | StringConstructor)[];
1342
+ default: string;
1343
+ };
1344
+ eventId: {
1345
+ type: (NumberConstructor | StringConstructor)[];
1346
+ default: string;
1347
+ };
1348
+ getProjectId: PropType<() => string | number>;
1349
+ getEventId: PropType<() => string | number>;
1350
+ getDataStructure: PropType<(args: {
1351
+ projectId: number;
1352
+ eventId?: number;
1353
+ }) => Promise<any[]> | any[]>;
1354
+ request: {
1355
+ type: PropType<ZYRequest>;
1356
+ };
1357
+ }>, () => VNode<RendererNode, RendererElement, {
1358
+ [key: string]: any;
1359
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1360
+ projectId: {
1361
+ type: (NumberConstructor | StringConstructor)[];
1362
+ default: string;
1363
+ };
1364
+ eventId: {
1365
+ type: (NumberConstructor | StringConstructor)[];
1366
+ default: string;
1367
+ };
1368
+ getProjectId: PropType<() => string | number>;
1369
+ getEventId: PropType<() => string | number>;
1370
+ getDataStructure: PropType<(args: {
1371
+ projectId: number;
1372
+ eventId?: number;
1373
+ }) => Promise<any[]> | any[]>;
1374
+ request: {
1375
+ type: PropType<ZYRequest>;
1376
+ };
1377
+ }>> & Readonly<{}>, {
1378
+ projectId: string | number;
1379
+ eventId: string | number;
1380
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
1381
+
1382
+ export declare const ZYIconButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_6<IconButtonProps>, {
1383
+ placement: string;
1384
+ delay: number;
1385
+ disabled: boolean;
1386
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1387
+ click: (...args: any[]) => void;
1388
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_6<IconButtonProps>, {
1389
+ placement: string;
1390
+ delay: number;
1391
+ disabled: boolean;
1392
+ }>>> & Readonly<{
1393
+ onClick?: ((...args: any[]) => any) | undefined;
1394
+ }>, {
1395
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
1396
+ disabled: boolean;
1397
+ delay: number;
1398
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1399
+
1400
+ export declare const ZYLayout: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, ReturnType<typeof __VLS_template_7>>;
1401
+
1402
+ export declare interface ZYLayoutConfig {
1403
+ items?: Array<ZYLayoutConfig | string>;
1404
+ slotKey?: string;
1405
+ className?: string;
1406
+ [key: string]: any;
1407
+ }
1408
+
1409
+ export declare const ZYLayoutContainer: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, ReturnType<typeof __VLS_template_9>>;
1410
+
1411
+ export declare const ZYLayoutItem: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, ReturnType<typeof __VLS_template_8>>;
1412
+
1413
+ export declare enum ZYLogicalOperator {
1414
+ AND = "AND",
1415
+ OR = "OR",
1416
+ NOT = "NOT"
1417
+ }
1418
+
1419
+ export declare enum ZYOperatorType {
1420
+ EXISTS = "EXISTS",
1421
+ EQ = "EQ",
1422
+ LIKE = "LIKE",
1423
+ RANGE = "RANGE",
1424
+ LTE = "LTE",
1425
+ LT = "LT",
1426
+ GTE = "GTE",
1427
+ GT = "GT",
1428
+ WILDCARD = "WILDCARD",
1429
+ NEQ = "NEQ"
1430
+ }
1431
+
1432
+ export declare interface ZYOption<T extends string | number | Record<string, any>> {
1433
+ label: string;
1434
+ value: T;
1435
+ disabled?: boolean;
1436
+ }
1437
+
1438
+ export declare const ZYOverflowTooltip: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_10<{
1439
+ content: string;
1440
+ placement?: Placement;
1441
+ }>, {
1442
+ placement: string;
1443
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_10<{
1444
+ content: string;
1445
+ placement?: Placement;
1446
+ }>, {
1447
+ placement: string;
1448
+ }>>> & Readonly<{}>, {
1449
+ placement: Placement;
1450
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1451
+
1452
+ export declare type ZYRequest = AxiosInstance;
1453
+
1454
+ export declare interface ZYResponse {
1455
+ data: any;
1456
+ success?: true;
1457
+ code: number;
1458
+ message: string;
1459
+ }
1460
+
1461
+ export declare interface ZYRtsScoreItem {
1462
+ score_31: string;
1463
+ score_32: string;
1464
+ score_33: string;
1465
+ }
1466
+
1467
+ export declare interface ZYScaleDataItem {
1468
+ code: string;
1469
+ label: string;
1470
+ children?: ZYScaleDataItem[];
1471
+ score?: number;
1472
+ checked?: boolean;
1473
+ }
1474
+
1475
+ export declare interface ZYScoreDataType {
1476
+ BEFORE_VITAL_SIGNS: ZYScoreSectionData;
1477
+ ER_VITAL_SIGNS: ZYScoreSectionData;
1478
+ ICU_VS: {
1479
+ GCS: ZYScoreItem;
1480
+ };
1481
+ }
1482
+
1483
+ export declare const ZYScoreDialog: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<ZYScoreDialogProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1484
+ "update:modelValue": (value: boolean) => void;
1485
+ onConfirm: (activeTab: ScoreType, data: ScoreDataInput, codes: string | string[]) => void;
1486
+ "update:totalScore": (total: number | null) => void;
1487
+ "update:issScores": (issScores: Record<string, string>) => void;
1488
+ "update:tab": (value: string) => void;
1489
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<ZYScoreDialogProps>>> & Readonly<{
1490
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1491
+ onOnConfirm?: ((activeTab: ScoreType, data: ScoreDataInput, codes: string | string[]) => any) | undefined;
1492
+ "onUpdate:totalScore"?: ((total: number | null) => any) | undefined;
1493
+ "onUpdate:issScores"?: ((issScores: Record<string, string>) => any) | undefined;
1494
+ "onUpdate:tab"?: ((value: string) => any) | undefined;
1495
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1496
+
1497
+ declare interface ZYScoreDialogProps {
1498
+ modelValue: boolean;
1499
+ tab?: ScoreType;
1500
+ scoreTypes: ScoreType[];
1501
+ isOptionDisabled?: boolean;
1502
+ }
1503
+
1504
+ export declare interface ZYScoreItem {
1505
+ score_11: string;
1506
+ score_12: string;
1507
+ score_13: string;
1508
+ }
1509
+
1510
+ export declare type ZYScoreSection = 'BEFORE_VITAL_SIGNS' | 'ER_VITAL_SIGNS' | 'ICU_VS';
1511
+
1512
+ export declare interface ZYScoreSectionData {
1513
+ GCS: ZYScoreItem;
1514
+ RTS: ZYRtsScoreItem;
1515
+ }
1516
+
1517
+ export declare interface ZYScoreStore {
1518
+ scaleData: {
1519
+ GCS: ZYScaleDataItem[];
1520
+ RTS: ZYScaleDataItem[];
1521
+ ISS: ZYScaleDataItem[];
1522
+ };
1523
+ DISCHARGE_S: ZYScoreStoreState;
1524
+ BEFORE_VITAL_SIGNS: ZYScoreStoreState;
1525
+ ER_VITAL_SIGNS: ZYScoreStoreState;
1526
+ ICU_VS: ZYScoreStoreState;
1527
+ setScore: (type: string, data: {
1528
+ selectedCodes: any;
1529
+ totalScore: any;
1530
+ scores?: any;
1531
+ }) => void;
1532
+ initScaleData: () => Promise<void>;
1533
+ }
1534
+
1535
+ export declare interface ZYScoreStoreSection {
1536
+ GCS?: {
1537
+ selectedCodes?: Record<string, string>;
1538
+ totalScore?: Record<string, string>;
1539
+ };
1540
+ RTS?: {
1541
+ selectedCodes?: Record<string, string>;
1542
+ totalScore?: Record<string, string>;
1543
+ };
1544
+ ISS?: {
1545
+ selectedCodes?: Record<string, string>;
1546
+ totalScore?: Record<string, string>;
1547
+ scores: Record<string, string>;
1548
+ };
1549
+ }
1550
+
1551
+ export declare interface ZYScoreStoreState extends ZYScoreStoreSection {
1552
+ }
1553
+
1554
+ export declare interface ZYScoreTabConfig {
1555
+ label: string;
1556
+ name: string;
1557
+ component: any;
1558
+ section: keyof ZYScoreDataType;
1559
+ type: 'GCS' | 'RTS' | 'ISS';
1560
+ data: any;
1561
+ }
1562
+
1563
+ export declare const ZYScoreTable: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_11<ZYScoreTableProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_11<ZYScoreTableProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1564
+
1565
+ export declare interface ZYScoreTableProps {
1566
+ type: 'gcs' | 'iss' | 'rts';
1567
+ section?: 'BEFORE_VITAL_SIGNS' | 'ER_VITAL_SIGNS' | 'ICU_VS';
1568
+ tab?: ZYScoreTabName;
1569
+ }
1570
+
1571
+ export declare type ZYScoreTabName = 'BEFORE_VITAL_SIGNS.GCS_COUNT' | 'BEFORE_VITAL_SIGNS.RTS' | 'ER_VITAL_SIGNS.GCS_COUNT' | 'ER_VITAL_SIGNS.RTS' | 'ICU_VS.GCS_COUNT' | 'DISCHARGE_S.ISS';
1572
+
1573
+ export declare type ZYScoreType = 'gcs' | 'iss' | 'rts';
1574
+
1575
+ export declare const ZYSearchForm: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, ReturnType<typeof __VLS_template_10>>;
1576
+
1577
+ export declare enum ZYSearchFormComponentType {
1578
+ Checkbox = "checkbox",
1579
+ Select = "select",
1580
+ Condition = "condition",
1581
+ Input = "input",
1582
+ Radio = "radio",
1583
+ TimeFieldPicker = "time-field-picker",
1584
+ MultiSelect = "multi-select",
1585
+ DateTimePicker = "date-time-picker"
1586
+ }
1587
+
1588
+ export declare const ZYSearchFormDrawer: DefineComponent<ExtractPropTypes< {
1589
+ modelValue: {
1590
+ required: true;
1591
+ type: PropType<Record<string, any>>;
1592
+ };
1593
+ visible: {
1594
+ required: true;
1595
+ type: PropType<boolean>;
1596
+ };
1597
+ items: {
1598
+ type: PropType<ZYSearchFormItem[]>;
1599
+ required: true;
1600
+ default: () => never[];
1601
+ };
1602
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1603
+ search: (...args: any[]) => void;
1604
+ reset: (...args: any[]) => void;
1605
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1606
+ modelValue: {
1607
+ required: true;
1608
+ type: PropType<Record<string, any>>;
1609
+ };
1610
+ visible: {
1611
+ required: true;
1612
+ type: PropType<boolean>;
1613
+ };
1614
+ items: {
1615
+ type: PropType<ZYSearchFormItem[]>;
1616
+ required: true;
1617
+ default: () => never[];
1618
+ };
1619
+ }>> & Readonly<{
1620
+ onSearch?: ((...args: any[]) => any) | undefined;
1621
+ onReset?: ((...args: any[]) => any) | undefined;
1622
+ }>, {
1623
+ items: ZYSearchFormItem[];
1624
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1625
+
1626
+ export declare interface ZYSearchFormItem {
1627
+ type: ZYSearchFormComponentType;
1628
+ label: string;
1629
+ prop: string;
1630
+ valueFormatter?: (value: any) => Record<string, any>[];
1631
+ [key: string]: any;
1632
+ }
1633
+
1634
+ export declare interface ZYSearchFormMore {
1635
+ items: ZYSearchFormItem[];
1636
+ }
1637
+
1638
+ export declare interface ZYSearchFormProps {
1639
+ projectId?: string | number;
1640
+ eventId?: string | number;
1641
+ items?: ZYSearchFormItem[];
1642
+ customize?: boolean;
1643
+ showAll?: boolean;
1644
+ maxRowNum?: number;
1645
+ foldMinRowNum?: number;
1646
+ defaultFormData?: Record<string, any>;
1647
+ configCode?: string;
1648
+ customComponents?: Record<string, any>;
1649
+ }
1650
+
1651
+ export declare enum ZYSearchFormTimeType {
1652
+ All = "all",
1653
+ Year = "year",
1654
+ Quarter = "quarter",
1655
+ Month = "month",
1656
+ Week = "week",
1657
+ Date = "date",
1658
+ YearRange = "year-range",
1659
+ QuarterRange = "quarter-range",
1660
+ MonthRange = "month-range",
1661
+ WeekRange = "week-range",
1662
+ DateRange = "date-range"
1663
+ }
1664
+
1665
+ export declare const ZYSimpleTable: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_14<ZYSimpleTableProps>, {
1666
+ data: () => never[];
1667
+ columns: () => never[];
1668
+ height: number;
1669
+ border: boolean;
1670
+ size: string;
1671
+ direction: string;
1672
+ horizontalWidth: () => {
1673
+ header: number;
1674
+ content: number;
1675
+ };
1676
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_14<ZYSimpleTableProps>, {
1677
+ data: () => never[];
1678
+ columns: () => never[];
1679
+ height: number;
1680
+ border: boolean;
1681
+ size: string;
1682
+ direction: string;
1683
+ horizontalWidth: () => {
1684
+ header: number;
1685
+ content: number;
1686
+ };
1687
+ }>>> & Readonly<{}>, {
1688
+ data: ZYSimpleTableData;
1689
+ size: "small" | "medium" | "large";
1690
+ direction: "vertical" | "horizontal";
1691
+ border: boolean;
1692
+ height: number | string;
1693
+ columns: ZYSimpleTableColumn[] | ZYSimpleTableColumn[][];
1694
+ horizontalWidth: {
1695
+ header: number | string;
1696
+ content: number | string;
1697
+ };
1698
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1699
+
1700
+ export declare interface ZYSimpleTableColumn {
1701
+ minWidth?: number | string;
1702
+ label: string;
1703
+ prop?: string;
1704
+ rowspan?: number;
1705
+ colspan?: number;
1706
+ width?: number | string;
1707
+ headerTextAlign?: 'left' | 'center' | 'right';
1708
+ textAlign?: 'left' | 'center' | 'right';
1709
+ verticalAlign?: 'top' | 'middle' | 'bottom';
1710
+ headerFormatter?: (column: ZYSimpleTableColumn, columnIndex: number) => VNode | string | undefined | null;
1711
+ formatter?: (col: any, row: ZYSimpleTableData[number], rowIndex: number, data: ZYSimpleTableData, prop: string) => VNode | string | undefined | null;
1712
+ }
1713
+
1714
+ export declare type ZYSimpleTableData = (Record<string, any> & {
1715
+ tdProps?: Record<string, {
1716
+ colspan?: number;
1717
+ rowspan?: number;
1718
+ }>;
1719
+ })[];
1720
+
1721
+ export declare interface ZYSimpleTableProps {
1722
+ data?: ZYSimpleTableData;
1723
+ columns: ZYSimpleTableColumn[] | ZYSimpleTableColumn[][];
1724
+ height?: number | string;
1725
+ border?: boolean;
1726
+ headerTextAlign?: 'left' | 'center' | 'right';
1727
+ textAlign?: 'left' | 'center' | 'right';
1728
+ verticalAlign?: 'top' | 'middle' | 'bottom';
1729
+ size?: 'small' | 'medium' | 'large';
1730
+ direction?: 'vertical' | 'horizontal';
1731
+ horizontalWidth?: {
1732
+ header: number | string;
1733
+ content: number | string;
1734
+ };
1735
+ }
1736
+
1737
+ export declare const ZYSortableFieldPicker: DefineComponent<ExtractPropTypes< {
1738
+ modelValue: {
1739
+ required: true;
1740
+ type: PropType<Record<string, any>[]>;
1741
+ };
1742
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1743
+ change: (...args: any[]) => void;
1744
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1745
+ modelValue: {
1746
+ required: true;
1747
+ type: PropType<Record<string, any>[]>;
1748
+ };
1749
+ }>> & Readonly<{
1750
+ onChange?: ((...args: any[]) => any) | undefined;
1751
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1752
+
1753
+ export declare enum ZYStatWay {
1754
+ FIRST = "first",
1755
+ LAST = "last"
1756
+ }
1757
+
1758
+ export declare const ZYTable: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, ReturnType<typeof __VLS_template_11>>;
1759
+
1760
+ export declare type ZYTableActionFunction<T> = (row: ZYTableData[number], index: number, tableData: ZYTableData) => T;
1761
+
1762
+ export declare interface ZYTableActions {
1763
+ text: string;
1764
+ icon?: any;
1765
+ type?: ButtonType;
1766
+ show?: boolean | ZYTableActionFunction<boolean>;
1767
+ disabled?: boolean | ZYTableActionFunction<boolean>;
1768
+ onClick?: ZYTableActionFunction<void | Promise<void>>;
1769
+ }
1770
+
1771
+ export declare interface ZYTableColumn extends TableColumnProps {
1772
+ type?: TableColumnProps['type'] | 'custom';
1773
+ prop: string;
1774
+ label: string;
1775
+ width?: number | string;
1776
+ minWidth?: number | string;
1777
+ fixed?: boolean | string;
1778
+ sortOrder?: ZYTableSortOrder;
1779
+ children?: ZYTableColumn[];
1780
+ }
1781
+
1782
+ export declare interface ZYTableColumnProps {
1783
+ columns?: ZYTableColumn[];
1784
+ tableData?: ZYTableData;
1785
+ }
1786
+
1787
+ export declare interface ZYTableConfig {
1788
+ tableProps?: ZYTableTableProps;
1789
+ hasPagination?: boolean;
1790
+ paginationConfig?: ZYTablePaginationConfig;
1791
+ checkable?: boolean;
1792
+ checkDisabled?: boolean;
1793
+ columns?: ZYTableColumn[];
1794
+ onRowClick?: (row: ZYTableData[number], tableData: ZYTableData) => void | Promise<void>;
1795
+ actions?: ZYTableActions[];
1796
+ actionColumnProps?: TableColumnProps;
1797
+ }
1798
+
1799
+ export declare type ZYTableData = Record<string, any>[];
1800
+
1801
+ export declare interface ZYTableDataResponse {
1802
+ data?: ZYTableData;
1803
+ total?: number;
1804
+ [key: string]: any;
1805
+ }
1806
+
1807
+ export declare interface ZYTablePagination {
1808
+ current: number;
1809
+ size: number;
1810
+ total: number;
1811
+ }
1812
+
1813
+ export declare type ZYTablePaginationConfig = Partial<PaginationProps>;
1814
+
1815
+ export declare interface ZYTableProps {
1816
+ config: ZYTableConfig;
1817
+ getDataImmediately?: boolean;
1818
+ requestFn?: (params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse;
1819
+ actionLetterWidth?: number;
1820
+ }
1821
+
1822
+ export declare type ZYTableSort = {
1823
+ prop: string;
1824
+ order: 'ascending' | 'descending';
1825
+ };
1826
+
1827
+ export declare enum ZYTableSortOrder {
1828
+ DESCENDING = "descending",
1829
+ ASCENDING = "ascending"
1830
+ }
1831
+
1832
+ export declare type ZYTableTableProps = Omit<TableProps<ZYTableData>, 'data'>;
1833
+
1834
+ export { }