@zy-frontend/business 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/components/AdvancedSearch/Index.vue.d.ts +52 -0
  2. package/dist/components/AdvancedSearch/components/Actions.vue.d.ts +47 -0
  3. package/dist/components/AdvancedSearch/components/Autocomplete.vue.d.ts +52 -0
  4. package/dist/components/AdvancedSearch/components/Condition.vue.d.ts +35 -0
  5. package/dist/components/AdvancedSearch/components/ConditionGroup.vue.d.ts +65 -0
  6. package/dist/components/AdvancedSearch/components/FieldPicker.vue.d.ts +6 -0
  7. package/dist/components/AdvancedSearch/components/FieldTreePicker.vue.d.ts +14 -0
  8. package/dist/components/AdvancedSearch/components/HistoryList.vue.d.ts +8 -0
  9. package/dist/components/AdvancedSearch/components/LogicalOperatorSelect.vue.d.ts +12 -0
  10. package/dist/components/AdvancedSearch/components/OperatorSelect.vue.d.ts +18 -0
  11. package/dist/components/AdvancedSearch/components/StatWaySelect.vue.d.ts +8 -0
  12. package/dist/components/AdvancedSearch/const.d.ts +1 -0
  13. package/dist/components/AdvancedSearch/index.d.ts +5 -0
  14. package/dist/components/AdvancedSearch/interface.d.ts +48 -0
  15. package/dist/components/AdvancedSearch/utils.d.ts +34 -0
  16. package/dist/components/AnchorTabs/AnchorTabItem.vue.d.ts +22 -0
  17. package/dist/components/AnchorTabs/AnchorTabs.vue.d.ts +51 -0
  18. package/dist/components/AnchorTabs/index.d.ts +4 -0
  19. package/dist/components/AnchorTabs/interface.d.ts +12 -0
  20. package/dist/components/AnchorTabs/utils.d.ts +6 -0
  21. package/dist/components/ChartList/Chart.vue.d.ts +128 -0
  22. package/dist/components/ChartList/ChartList.vue.d.ts +143 -0
  23. package/dist/components/ChartList/ChartViewDialog.vue.d.ts +25 -0
  24. package/dist/components/ChartList/TableViewDialog.vue.d.ts +4 -0
  25. package/dist/components/ChartList/index.d.ts +7 -0
  26. package/dist/components/ChartList/interface.d.ts +22 -0
  27. package/dist/components/ColumnCustomizableTable/ColumnCustomizeDrawer.vue.d.ts +29 -0
  28. package/dist/components/ColumnCustomizableTable/ColumnCustomizeExportDrawer.vue.d.ts +25 -0
  29. package/dist/components/ColumnCustomizableTable/Index.vue.d.ts +132 -0
  30. package/dist/components/ColumnCustomizableTable/InputPopConfirm.vue.d.ts +66 -0
  31. package/dist/components/ColumnCustomizableTable/TemplateTagList.vue.d.ts +14 -0
  32. package/dist/components/ColumnCustomizableTable/hooks.d.ts +26 -0
  33. package/dist/components/ColumnCustomizableTable/index.d.ts +9 -0
  34. package/dist/components/ColumnCustomizableTable/interface.d.ts +37 -0
  35. package/dist/components/ColumnCustomizableTable/utils.d.ts +16 -0
  36. package/dist/components/GlobalProvider/global-provider.d.ts +47 -0
  37. package/dist/components/GlobalProvider/index.d.ts +43 -0
  38. package/dist/components/IconButton/IconButton.vue.d.ts +43 -0
  39. package/dist/components/IconButton/index.d.ts +4 -0
  40. package/dist/components/Layout/Container.vue.d.ts +29 -0
  41. package/dist/components/Layout/Layout.vue.d.ts +24 -0
  42. package/dist/components/Layout/LayoutItem.vue.d.ts +24 -0
  43. package/dist/components/Layout/index.d.ts +7 -0
  44. package/dist/components/Layout/interface.d.ts +6 -0
  45. package/dist/components/OverflowTooltip/OverflowTooltip.vue.d.ts +33 -0
  46. package/dist/components/OverflowTooltip/index.d.ts +4 -0
  47. package/dist/components/ScoreDialog/AsaScore.vue.d.ts +35 -0
  48. package/dist/components/ScoreDialog/CommonScore.vue.d.ts +38 -0
  49. package/dist/components/ScoreDialog/IssAisScore.vue.d.ts +29 -0
  50. package/dist/components/ScoreDialog/QuestionnaireScore.vue.d.ts +38 -0
  51. package/dist/components/ScoreDialog/index.d.ts +5 -0
  52. package/dist/components/ScoreDialog/index.vue.d.ts +25 -0
  53. package/dist/components/ScoreDialog/interface.d.ts +35 -0
  54. package/dist/components/ScoreDialog/useScoreData.d.ts +10 -0
  55. package/dist/components/ScoreDialog/utils.d.ts +1 -0
  56. package/dist/components/ScoreTable/gcsScore.vue.d.ts +25 -0
  57. package/dist/components/ScoreTable/index.d.ts +6 -0
  58. package/dist/components/ScoreTable/index.vue.d.ts +13 -0
  59. package/dist/components/ScoreTable/interface.d.ts +83 -0
  60. package/dist/components/ScoreTable/issAisScore.vue.d.ts +30 -0
  61. package/dist/components/ScoreTable/rtsScore.vue.d.ts +19 -0
  62. package/dist/components/ScoreTable/useScoreData.d.ts +11 -0
  63. package/dist/components/SearchForm/Index.vue.d.ts +111 -0
  64. package/dist/components/SearchForm/MoreDrawer.vue.d.ts +38 -0
  65. package/dist/components/SearchForm/components/Checkbox.vue.d.ts +36 -0
  66. package/dist/components/SearchForm/components/CustomSearchFormDialog.vue.d.ts +19 -0
  67. package/dist/components/SearchForm/components/DateTimePicker.vue.d.ts +82 -0
  68. package/dist/components/SearchForm/components/FieldPicker.vue.d.ts +34 -0
  69. package/dist/components/SearchForm/components/Input.vue.d.ts +80 -0
  70. package/dist/components/SearchForm/components/OperatorSelect.vue.d.ts +18 -0
  71. package/dist/components/SearchForm/components/Radio.vue.d.ts +53 -0
  72. package/dist/components/SearchForm/components/Select/Index.vue.d.ts +118 -0
  73. package/dist/components/SearchForm/components/Select/Select.vue.d.ts +53 -0
  74. package/dist/components/SearchForm/components/Select/TiledOptions.vue.d.ts +43 -0
  75. package/dist/components/SearchForm/components/Select/index.d.ts +3 -0
  76. package/dist/components/SearchForm/components/SingleCondition.vue.d.ts +76 -0
  77. package/dist/components/SearchForm/components/TimeFieldPicker.vue.d.ts +71 -0
  78. package/dist/components/SearchForm/components/TimeTypeSelect.vue.d.ts +24 -0
  79. package/dist/components/SearchForm/const.d.ts +3 -0
  80. package/dist/components/SearchForm/hooks.d.ts +10 -0
  81. package/dist/components/SearchForm/index.d.ts +9 -0
  82. package/dist/components/SearchForm/interface.d.ts +52 -0
  83. package/dist/components/SearchForm/utils.d.ts +1 -0
  84. package/dist/components/SortableFieldPicker/FieldTreeSelect.vue.d.ts +72 -0
  85. package/dist/components/SortableFieldPicker/Index.vue.d.ts +16 -0
  86. package/dist/components/SortableFieldPicker/index.d.ts +6 -0
  87. package/dist/components/SortableFieldPicker/interface.d.ts +19 -0
  88. package/dist/components/Splitter/Index.vue.d.ts +64 -0
  89. package/dist/components/Splitter/Panel.vue.d.ts +63 -0
  90. package/dist/components/Splitter/index.d.ts +6 -0
  91. package/dist/components/Splitter/interface.d.ts +96 -0
  92. package/dist/components/Splitter/registry.d.ts +10 -0
  93. package/dist/components/Table/Column.vue.d.ts +22 -0
  94. package/dist/components/Table/ColumnAction.vue.d.ts +19 -0
  95. package/dist/components/Table/ColumnRenderer.d.ts +24 -0
  96. package/dist/components/Table/Index.vue.d.ts +33 -0
  97. package/dist/components/Table/SimpleTable.vue.d.ts +54 -0
  98. package/dist/components/Table/index.d.ts +13 -0
  99. package/dist/components/Table/interface.d.ts +107 -0
  100. package/dist/components/Table/utils.d.ts +6 -0
  101. package/dist/components/index.d.ts +14 -0
  102. package/dist/const.d.ts +32 -0
  103. package/dist/hooks/use-async-queue.d.ts +6 -0
  104. package/dist/hooks/use-element-size.d.ts +14 -0
  105. package/dist/hooks/use-global-config.d.ts +39 -0
  106. package/dist/hooks/use-global-storage.d.ts +32 -0
  107. package/dist/hooks/use-resize.d.ts +38 -0
  108. package/dist/index.d.ts +3 -0
  109. package/dist/index.es.js +85 -81
  110. package/dist/interface.d.ts +61 -0
  111. package/dist/main.d.ts +1 -0
  112. package/dist/service/diagram.d.ts +14 -0
  113. package/dist/service/download.d.ts +10 -0
  114. package/dist/service/index.d.ts +53 -0
  115. package/dist/service/score.d.ts +9 -0
  116. package/dist/stores/index.d.ts +1 -0
  117. package/dist/utils/index.d.ts +13 -0
  118. package/dist/utils/lazy-load.d.ts +6 -0
  119. package/package.json +3 -2
  120. package/dist/index.es.d.ts +0 -2119
@@ -1,2119 +0,0 @@
1
- import { AxiosInstance } from 'axios';
2
- import { ButtonType } from 'element-plus';
3
- import { ComponentOptionsMixin } from 'vue';
4
- import { ComponentProvideOptions } from 'vue';
5
- import { ComputedRef } from 'vue';
6
- import { DefaultRow } from 'element-plus/es/components/table/src/table/defaults.mjs';
7
- import { DefineComponent } from 'vue';
8
- import { ExtractPropTypes } from 'vue';
9
- import { InjectionKey } from 'vue';
10
- import { PaginationProps } from 'element-plus';
11
- import { Placement } from 'element-plus';
12
- import { Plugin as Plugin_2 } from 'vue';
13
- import { Plus } from '@element-plus/icons-vue';
14
- import { PropType } from 'vue';
15
- import { PublicProps } from 'vue';
16
- import { Ref } from 'vue';
17
- import { RendererElement } from 'vue';
18
- import { RendererNode } from 'vue';
19
- import { TableColumnProps as TableColumnProps_2 } from 'element-plus/es/components/table/src/table-column/defaults';
20
- import { TableProps } from 'element-plus';
21
- import { TreeKey } from 'element-plus/es/components/tree-v2/src/types.mjs';
22
- import { TreeNodeData } from 'element-plus/es/components/tree-v2/src/types.mjs';
23
- import { TreeOptionProps } from 'element-plus/es/components/tree-v2/src/types.mjs';
24
- import { TreeProps } from 'element-plus/es/components/tree-v2/src/types.mjs';
25
- import { VNode } from 'vue';
26
-
27
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchProps>, {
28
- splitterProps: () => {
29
- size: string[];
30
- };
31
- }>>, {
32
- getQueryString: () => string;
33
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
34
- search: (...args: any[]) => void;
35
- reset: (...args: any[]) => void;
36
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchProps>, {
37
- splitterProps: () => {
38
- size: string[];
39
- };
40
- }>>> & Readonly<{
41
- onSearch?: ((...args: any[]) => any) | undefined;
42
- onReset?: ((...args: any[]) => any) | undefined;
43
- }>, {
44
- splitterProps: {
45
- size?: [string | number, string | number];
46
- min?: [string | number, string | number];
47
- max?: [string | number, string | number];
48
- };
49
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
50
-
51
- declare const __VLS_component_10: DefineComponent<ExtractPropTypes< {
52
- modelValue: {
53
- required: true;
54
- type: PropType<Record<string, any>>;
55
- };
56
- projectId: {
57
- type: PropType<string | number>;
58
- };
59
- eventId: {
60
- type: PropType<string | number>;
61
- };
62
- items: {
63
- type: PropType<ZYSearchFormItem[]>;
64
- };
65
- configCode: {
66
- type: PropType<string>;
67
- };
68
- showAll: {
69
- type: PropType<boolean>;
70
- default: boolean;
71
- };
72
- maxRowNum: {
73
- type: PropType<number>;
74
- default: number;
75
- };
76
- customize: {
77
- type: PropType<boolean>;
78
- default: boolean;
79
- };
80
- foldMinRowNum: {
81
- type: PropType<number>;
82
- default: number;
83
- };
84
- defaultFormData: {
85
- type: PropType<Record<string, any>>;
86
- };
87
- customComponents: {
88
- type: PropType<Record<string, any>>;
89
- };
90
- }>, {
91
- updateInitialFormDataBackup: () => void;
92
- getFormattedFormData: (data?: Record<string, any>) => Record<string, any>[];
93
- search: () => Promise<void>;
94
- reset: (refresh?: boolean) => void;
95
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
96
- search: (...args: any[]) => void;
97
- reset: (...args: any[]) => void;
98
- change: (...args: any[]) => void;
99
- "config-loaded": (...args: any[]) => void;
100
- }, string, PublicProps, Readonly<ExtractPropTypes< {
101
- modelValue: {
102
- required: true;
103
- type: PropType<Record<string, any>>;
104
- };
105
- projectId: {
106
- type: PropType<string | number>;
107
- };
108
- eventId: {
109
- type: PropType<string | number>;
110
- };
111
- items: {
112
- type: PropType<ZYSearchFormItem[]>;
113
- };
114
- configCode: {
115
- type: PropType<string>;
116
- };
117
- showAll: {
118
- type: PropType<boolean>;
119
- default: boolean;
120
- };
121
- maxRowNum: {
122
- type: PropType<number>;
123
- default: number;
124
- };
125
- customize: {
126
- type: PropType<boolean>;
127
- default: boolean;
128
- };
129
- foldMinRowNum: {
130
- type: PropType<number>;
131
- default: number;
132
- };
133
- defaultFormData: {
134
- type: PropType<Record<string, any>>;
135
- };
136
- customComponents: {
137
- type: PropType<Record<string, any>>;
138
- };
139
- }>> & Readonly<{
140
- onSearch?: ((...args: any[]) => any) | undefined;
141
- onReset?: ((...args: any[]) => any) | undefined;
142
- onChange?: ((...args: any[]) => any) | undefined;
143
- "onConfig-loaded"?: ((...args: any[]) => any) | undefined;
144
- }>, {
145
- showAll: boolean;
146
- maxRowNum: number;
147
- customize: boolean;
148
- foldMinRowNum: number;
149
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
150
-
151
- declare const __VLS_component_11: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_14<ZYSplitterProps>, {
152
- direction: string;
153
- barSize: number;
154
- showCollapseButton: string;
155
- disabled: boolean;
156
- }>>, {
157
- collapse: (index: number) => void;
158
- resize: (index: number, size: SplitterSize) => void;
159
- getSizes: () => SplitterSize[];
160
- getCollapsed: () => boolean[];
161
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
162
- resize: (...args: any[]) => void;
163
- "update:modelValue": (...args: any[]) => void;
164
- collapse: (...args: any[]) => void;
165
- dragstart: (...args: any[]) => void;
166
- dragend: (...args: any[]) => void;
167
- "update:collapsed": (...args: any[]) => void;
168
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_14<ZYSplitterProps>, {
169
- direction: string;
170
- barSize: number;
171
- showCollapseButton: string;
172
- disabled: boolean;
173
- }>>> & Readonly<{
174
- onResize?: ((...args: any[]) => any) | undefined;
175
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
176
- onCollapse?: ((...args: any[]) => any) | undefined;
177
- onDragstart?: ((...args: any[]) => any) | undefined;
178
- onDragend?: ((...args: any[]) => any) | undefined;
179
- "onUpdate:collapsed"?: ((...args: any[]) => any) | undefined;
180
- }>, {
181
- disabled: boolean;
182
- direction: SplitterDirection;
183
- barSize: number;
184
- showCollapseButton: CollapseButtonDisplay;
185
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
186
-
187
- declare const __VLS_component_12: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_15<ZYSplitterPanelProps>, {
188
- size: undefined;
189
- min: number;
190
- max: undefined;
191
- collapsible: boolean;
192
- resizable: boolean;
193
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_15<ZYSplitterPanelProps>, {
194
- size: undefined;
195
- min: number;
196
- max: undefined;
197
- collapsible: boolean;
198
- resizable: boolean;
199
- }>>> & Readonly<{}>, {
200
- size: SplitterSize;
201
- max: SplitterSize;
202
- min: SplitterSize;
203
- resizable: boolean;
204
- collapsible: boolean;
205
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
206
-
207
- declare const __VLS_component_13: DefineComponent<ExtractPropTypes< {
208
- modelValue: PropType<ZYTableData>;
209
- isLoading: PropType<boolean>;
210
- selections: PropType<Record<string, any>[]>;
211
- config: {
212
- type: PropType<ZYTableConfig>;
213
- required: true;
214
- };
215
- getDataImmediately: {
216
- type: PropType<boolean>;
217
- default: boolean;
218
- };
219
- requestFn: {
220
- type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
221
- };
222
- actionLetterWidth: {
223
- type: PropType<number>;
224
- default: number;
225
- };
226
- }>, {
227
- refresh: (query?: Record<string, any>, isSearch?: boolean) => Promise<void>;
228
- setScrollTop: (top?: number) => void | undefined;
229
- setScrollLeft: (left?: number) => void | undefined;
230
- sort: (prop: string, order: "ascending" | "descending") => void | undefined;
231
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
232
- "selection-change": (...args: any[]) => void;
233
- }, string, PublicProps, Readonly<ExtractPropTypes< {
234
- modelValue: PropType<ZYTableData>;
235
- isLoading: PropType<boolean>;
236
- selections: PropType<Record<string, any>[]>;
237
- config: {
238
- type: PropType<ZYTableConfig>;
239
- required: true;
240
- };
241
- getDataImmediately: {
242
- type: PropType<boolean>;
243
- default: boolean;
244
- };
245
- requestFn: {
246
- type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
247
- };
248
- actionLetterWidth: {
249
- type: PropType<number>;
250
- default: number;
251
- };
252
- }>> & Readonly<{
253
- "onSelection-change"?: ((...args: any[]) => any) | undefined;
254
- }>, {
255
- getDataImmediately: boolean;
256
- actionLetterWidth: number;
257
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
258
-
259
- declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
260
- modelValue: {
261
- required: true;
262
- type: PropType<ZYAnchorTabValue>;
263
- };
264
- scrolling: PropType<boolean>;
265
- tabs: {
266
- type: PropType<ZYAnchorTab[]>;
267
- required: true;
268
- default: () => never[];
269
- };
270
- scrollDuration: {
271
- type: PropType<number>;
272
- default: number;
273
- };
274
- }>, {
275
- scrollTo: (...args: any) => void;
276
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
277
- modelValue: {
278
- required: true;
279
- type: PropType<ZYAnchorTabValue>;
280
- };
281
- scrolling: PropType<boolean>;
282
- tabs: {
283
- type: PropType<ZYAnchorTab[]>;
284
- required: true;
285
- default: () => never[];
286
- };
287
- scrollDuration: {
288
- type: PropType<number>;
289
- default: number;
290
- };
291
- }>> & Readonly<{}>, {
292
- tabs: ZYAnchorTab[];
293
- scrollDuration: number;
294
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
295
-
296
- 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>;
297
-
298
- declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
299
- modelValue: PropType<any>;
300
- height: {
301
- type: PropType<string>;
302
- default: string;
303
- };
304
- downloadOptions: {
305
- type: PropType< {
306
- backgroundColor?: string;
307
- excludeComponents?: string[];
308
- extraTitle?: string;
309
- }>;
310
- };
311
- requestParams: {
312
- type: PropType<Record<string, any>>;
313
- default: () => {};
314
- };
315
- clickable: {
316
- type: PropType<boolean>;
317
- default: boolean;
318
- };
319
- chartListConfig: {
320
- type: PropType<ZYChartListConfig>;
321
- required: true;
322
- };
323
- toolbar: {
324
- type: PropType<ZYChartToolType[]>;
325
- };
326
- hoverShowToolbar: {
327
- type: PropType<boolean>;
328
- };
329
- showEmpty: {
330
- type: PropType<boolean>;
331
- };
332
- defaultActivatedCode: {
333
- type: PropType<string>;
334
- };
335
- chartClass: {
336
- type: PropType<string>;
337
- };
338
- showChartHeader: {
339
- type: PropType<boolean>;
340
- default: boolean;
341
- };
342
- theme: {
343
- type: PropType<"light" | "dark" | {
344
- name: string;
345
- options: Record<string, any>;
346
- }>;
347
- default: string;
348
- };
349
- }>, {
350
- refresh: (slotKey?: string, extraParams?: Record<string, any>) => void;
351
- getChartConfig: (statCode: string) => {} | undefined;
352
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
353
- click: (...args: any[]) => void;
354
- mounted: (...args: any[]) => void;
355
- "chart-click": (...args: any[]) => void;
356
- }, string, PublicProps, Readonly<ExtractPropTypes< {
357
- modelValue: PropType<any>;
358
- height: {
359
- type: PropType<string>;
360
- default: string;
361
- };
362
- downloadOptions: {
363
- type: PropType< {
364
- backgroundColor?: string;
365
- excludeComponents?: string[];
366
- extraTitle?: string;
367
- }>;
368
- };
369
- requestParams: {
370
- type: PropType<Record<string, any>>;
371
- default: () => {};
372
- };
373
- clickable: {
374
- type: PropType<boolean>;
375
- default: boolean;
376
- };
377
- chartListConfig: {
378
- type: PropType<ZYChartListConfig>;
379
- required: true;
380
- };
381
- toolbar: {
382
- type: PropType<ZYChartToolType[]>;
383
- };
384
- hoverShowToolbar: {
385
- type: PropType<boolean>;
386
- };
387
- showEmpty: {
388
- type: PropType<boolean>;
389
- };
390
- defaultActivatedCode: {
391
- type: PropType<string>;
392
- };
393
- chartClass: {
394
- type: PropType<string>;
395
- };
396
- showChartHeader: {
397
- type: PropType<boolean>;
398
- default: boolean;
399
- };
400
- theme: {
401
- type: PropType<"light" | "dark" | {
402
- name: string;
403
- options: Record<string, any>;
404
- }>;
405
- default: string;
406
- };
407
- }>> & Readonly<{
408
- onClick?: ((...args: any[]) => any) | undefined;
409
- onMounted?: ((...args: any[]) => any) | undefined;
410
- "onChart-click"?: ((...args: any[]) => any) | undefined;
411
- }>, {
412
- height: string;
413
- requestParams: Record<string, any>;
414
- clickable: boolean;
415
- showChartHeader: boolean;
416
- theme: "light" | "dark" | {
417
- name: string;
418
- options: Record<string, any>;
419
- };
420
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
421
-
422
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_3<{
423
- title?: string;
424
- charts?: ZYChartConfig[];
425
- options?: Record<string, any>;
426
- height?: string;
427
- requestParams: Record<string, any>;
428
- toolbar?: ZYChartToolType[];
429
- hideToolbar?: boolean;
430
- hoverShowToolbar?: boolean;
431
- showEmpty?: boolean;
432
- downloadOptions?: {
433
- backgroundColor?: string;
434
- excludeComponents?: string[];
435
- extraTitle?: string;
436
- };
437
- clickable?: boolean;
438
- chartClickable?: boolean;
439
- activated?: boolean;
440
- theme?: "light" | "dark" | {
441
- name: string;
442
- options: Record<string, any>;
443
- };
444
- showChartHeader?: boolean;
445
- }>, {
446
- requestParams: () => {};
447
- toolbar: () => ZYChartToolType[];
448
- downloadOptions: () => {
449
- backgroundColor: string;
450
- excludeComponents: string[];
451
- };
452
- theme: string;
453
- showChartHeader: boolean;
454
- hideToolbar: boolean;
455
- }>>, {
456
- refresh: (extraParams?: Record<string, any>) => Promise<void>;
457
- getConfig: () => {};
458
- dispose: () => void;
459
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
460
- click: (...args: any[]) => void;
461
- "chart-click": (...args: any[]) => void;
462
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_3<{
463
- title?: string;
464
- charts?: ZYChartConfig[];
465
- options?: Record<string, any>;
466
- height?: string;
467
- requestParams: Record<string, any>;
468
- toolbar?: ZYChartToolType[];
469
- hideToolbar?: boolean;
470
- hoverShowToolbar?: boolean;
471
- showEmpty?: boolean;
472
- downloadOptions?: {
473
- backgroundColor?: string;
474
- excludeComponents?: string[];
475
- extraTitle?: string;
476
- };
477
- clickable?: boolean;
478
- chartClickable?: boolean;
479
- activated?: boolean;
480
- theme?: "light" | "dark" | {
481
- name: string;
482
- options: Record<string, any>;
483
- };
484
- showChartHeader?: boolean;
485
- }>, {
486
- requestParams: () => {};
487
- toolbar: () => ZYChartToolType[];
488
- downloadOptions: () => {
489
- backgroundColor: string;
490
- excludeComponents: string[];
491
- };
492
- theme: string;
493
- showChartHeader: boolean;
494
- hideToolbar: boolean;
495
- }>>> & Readonly<{
496
- onClick?: ((...args: any[]) => any) | undefined;
497
- "onChart-click"?: ((...args: any[]) => any) | undefined;
498
- }>, {
499
- downloadOptions: {
500
- backgroundColor?: string;
501
- excludeComponents?: string[];
502
- extraTitle?: string;
503
- };
504
- requestParams: Record<string, any>;
505
- toolbar: ZYChartToolType[];
506
- showChartHeader: boolean;
507
- theme: "light" | "dark" | {
508
- name: string;
509
- options: Record<string, any>;
510
- };
511
- hideToolbar: boolean;
512
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
513
-
514
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes< {
515
- modelValue: PropType<Record<string, any>[]>;
516
- isLoading: PropType<boolean>;
517
- selections: PropType<Record<string, any>[]>;
518
- projectId: {
519
- type: PropType<string | number>;
520
- };
521
- eventId: {
522
- type: PropType<string | number>;
523
- };
524
- dateFormat: {
525
- type: PropType<string>;
526
- default: string;
527
- };
528
- getDataImmediately: {
529
- type: PropType<boolean>;
530
- default: boolean;
531
- };
532
- requestFn: {
533
- type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
534
- };
535
- tableConfig: {
536
- type: PropType<ZYTableConfig>;
537
- required: true;
538
- };
539
- dataStructureCode: {
540
- type: PropType<string>;
541
- };
542
- configCode: {
543
- type: PropType<string>;
544
- };
545
- defaultColumnWidth: {
546
- type: PropType<number>;
547
- };
548
- dateTimeFormat: {
549
- type: PropType<string>;
550
- default: string;
551
- };
552
- exportFn: {
553
- type: PropType<(params: any) => Promise<any>>;
554
- };
555
- tableColumnsFilter: {
556
- type: PropType<(columns: ZYTableConfig["columns"]) => ZYTableConfig["columns"]>;
557
- default: (columns: ZYTableConfig["columns"]) => ZYTableColumn[] | undefined;
558
- };
559
- }>, {
560
- refresh: (...args: any) => Promise<void> | undefined;
561
- customizeColumn: () => void;
562
- customizeExport: () => Promise<void>;
563
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
564
- refresh: (...args: any[]) => void;
565
- export: (...args: any[]) => void;
566
- }, string, PublicProps, Readonly<ExtractPropTypes< {
567
- modelValue: PropType<Record<string, any>[]>;
568
- isLoading: PropType<boolean>;
569
- selections: PropType<Record<string, any>[]>;
570
- projectId: {
571
- type: PropType<string | number>;
572
- };
573
- eventId: {
574
- type: PropType<string | number>;
575
- };
576
- dateFormat: {
577
- type: PropType<string>;
578
- default: string;
579
- };
580
- getDataImmediately: {
581
- type: PropType<boolean>;
582
- default: boolean;
583
- };
584
- requestFn: {
585
- type: PropType<(params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse>;
586
- };
587
- tableConfig: {
588
- type: PropType<ZYTableConfig>;
589
- required: true;
590
- };
591
- dataStructureCode: {
592
- type: PropType<string>;
593
- };
594
- configCode: {
595
- type: PropType<string>;
596
- };
597
- defaultColumnWidth: {
598
- type: PropType<number>;
599
- };
600
- dateTimeFormat: {
601
- type: PropType<string>;
602
- default: string;
603
- };
604
- exportFn: {
605
- type: PropType<(params: any) => Promise<any>>;
606
- };
607
- tableColumnsFilter: {
608
- type: PropType<(columns: ZYTableConfig["columns"]) => ZYTableConfig["columns"]>;
609
- default: (columns: ZYTableConfig["columns"]) => ZYTableColumn[] | undefined;
610
- };
611
- }>> & Readonly<{
612
- onRefresh?: ((...args: any[]) => any) | undefined;
613
- onExport?: ((...args: any[]) => any) | undefined;
614
- }>, {
615
- dateFormat: string;
616
- getDataImmediately: boolean;
617
- dateTimeFormat: string;
618
- tableColumnsFilter: (columns: ZYTableConfig["columns"]) => ZYTableConfig["columns"];
619
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
620
-
621
- declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_7<{
622
- config: ZYLayoutConfig;
623
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_7<{
624
- config: ZYLayoutConfig;
625
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
626
-
627
- declare const __VLS_component_8: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_8<{
628
- config: ZYLayoutConfig;
629
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_8<{
630
- config: ZYLayoutConfig;
631
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
632
-
633
- declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_9<{
634
- title: string;
635
- className?: string;
636
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_9<{
637
- title: string;
638
- className?: string;
639
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
640
-
641
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
642
-
643
- declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
644
-
645
- declare type __VLS_NonUndefinedable_11<T> = T extends undefined ? never : T;
646
-
647
- declare type __VLS_NonUndefinedable_12<T> = T extends undefined ? never : T;
648
-
649
- declare type __VLS_NonUndefinedable_13<T> = T extends undefined ? never : T;
650
-
651
- declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
652
-
653
- declare type __VLS_NonUndefinedable_15<T> = T extends undefined ? never : T;
654
-
655
- declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
656
-
657
- declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
658
-
659
- declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
660
-
661
- declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
662
-
663
- declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
664
-
665
- declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
666
-
667
- declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
668
-
669
- declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
670
-
671
- declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
672
-
673
- declare type __VLS_Prettify<T> = {
674
- [K in keyof T]: T[K];
675
- } & {};
676
-
677
- declare type __VLS_Prettify_2<T> = {
678
- [K in keyof T]: T[K];
679
- } & {};
680
-
681
- declare type __VLS_Prettify_3<T> = {
682
- [K in keyof T]: T[K];
683
- } & {};
684
-
685
- declare type __VLS_Prettify_4<T> = {
686
- [K in keyof T]: T[K];
687
- } & {};
688
-
689
- declare type __VLS_Prettify_5<T> = {
690
- [K in keyof T]: T[K];
691
- } & {};
692
-
693
- declare type __VLS_Prettify_6<T> = {
694
- [K in keyof T]: T[K];
695
- } & {};
696
-
697
- declare type __VLS_Prettify_7<T> = {
698
- [K in keyof T]: T[K];
699
- } & {};
700
-
701
- declare type __VLS_Prettify_8<T> = {
702
- [K in keyof T]: T[K];
703
- } & {};
704
-
705
- declare type __VLS_Prettify_9<T> = {
706
- [K in keyof T]: T[K];
707
- } & {};
708
-
709
- declare function __VLS_template(): {
710
- "extra-action"?(_: {}): any;
711
- };
712
-
713
- declare function __VLS_template_10(): {
714
- "extra-action"?(_: {}): any;
715
- };
716
-
717
- declare function __VLS_template_11(): {
718
- default?(_: {}): any;
719
- };
720
-
721
- declare function __VLS_template_12(): {
722
- default?(_: {}): any;
723
- "collapse-self"?(_: {
724
- index: number;
725
- collapsed: boolean;
726
- }): any;
727
- "collapse-next"?(_: {
728
- index: number;
729
- nextIndex: number;
730
- collapsed: boolean;
731
- }): any;
732
- "bar-extra"?(_: {
733
- index: number;
734
- direction: SplitterDirection;
735
- selfCollapsed: boolean;
736
- nextCollapsed: boolean;
737
- }): any;
738
- };
739
-
740
- declare function __VLS_template_13(): Partial<Record<NonNullable<string | number>, (_: {
741
- row: DefaultRow;
742
- prop: string;
743
- index: number;
744
- column: ZYTableColumn;
745
- }) => any>> & {
746
- header?(_: {}): any;
747
- search?(_: {}): any;
748
- action?(_: {}): any;
749
- "footer-extra"?(_: {}): any;
750
- };
751
-
752
- declare function __VLS_template_2(): {
753
- tab?(_: {
754
- tabName: ZYAnchorTabValue;
755
- }): any;
756
- default?(_: {}): any;
757
- };
758
-
759
- declare function __VLS_template_3(): {
760
- default?(_: {}): any;
761
- };
762
-
763
- declare function __VLS_template_4(): Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
764
- chartHeader?(_: {
765
- title: string | undefined;
766
- subTitle: string;
767
- statCode: any;
768
- option: Record<string, any> | undefined;
769
- }): any;
770
- chartFooter?(_: {
771
- option: Record<string, any> | undefined;
772
- }): any;
773
- };
774
-
775
- declare function __VLS_template_5(): {
776
- header?(_: {
777
- title: string | undefined;
778
- subTitle: string;
779
- statCode: any;
780
- option: Record<string, any> | undefined;
781
- }): any;
782
- footer?(_: {
783
- option: Record<string, any> | undefined;
784
- }): any;
785
- };
786
-
787
- declare function __VLS_template_6(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
788
-
789
- declare function __VLS_template_7(): any;
790
-
791
- declare function __VLS_template_8(): any;
792
-
793
- declare function __VLS_template_9(): {
794
- header?(_: {
795
- title: string;
796
- }): any;
797
- default?(_: {}): any;
798
- };
799
-
800
- declare type __VLS_TypePropsToRuntimeProps<T> = {
801
- [K in keyof T]-?: {} extends Pick<T, K> ? {
802
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
803
- } : {
804
- type: PropType<T[K]>;
805
- required: true;
806
- };
807
- };
808
-
809
- declare type __VLS_TypePropsToRuntimeProps_10<T> = {
810
- [K in keyof T]-?: {} extends Pick<T, K> ? {
811
- type: PropType<__VLS_NonUndefinedable_10<T[K]>>;
812
- } : {
813
- type: PropType<T[K]>;
814
- required: true;
815
- };
816
- };
817
-
818
- declare type __VLS_TypePropsToRuntimeProps_11<T> = {
819
- [K in keyof T]-?: {} extends Pick<T, K> ? {
820
- type: PropType<__VLS_NonUndefinedable_11<T[K]>>;
821
- } : {
822
- type: PropType<T[K]>;
823
- required: true;
824
- };
825
- };
826
-
827
- declare type __VLS_TypePropsToRuntimeProps_12<T> = {
828
- [K in keyof T]-?: {} extends Pick<T, K> ? {
829
- type: PropType<__VLS_NonUndefinedable_12<T[K]>>;
830
- } : {
831
- type: PropType<T[K]>;
832
- required: true;
833
- };
834
- };
835
-
836
- declare type __VLS_TypePropsToRuntimeProps_13<T> = {
837
- [K in keyof T]-?: {} extends Pick<T, K> ? {
838
- type: PropType<__VLS_NonUndefinedable_13<T[K]>>;
839
- } : {
840
- type: PropType<T[K]>;
841
- required: true;
842
- };
843
- };
844
-
845
- declare type __VLS_TypePropsToRuntimeProps_14<T> = {
846
- [K in keyof T]-?: {} extends Pick<T, K> ? {
847
- type: PropType<__VLS_NonUndefinedable_14<T[K]>>;
848
- } : {
849
- type: PropType<T[K]>;
850
- required: true;
851
- };
852
- };
853
-
854
- declare type __VLS_TypePropsToRuntimeProps_15<T> = {
855
- [K in keyof T]-?: {} extends Pick<T, K> ? {
856
- type: PropType<__VLS_NonUndefinedable_15<T[K]>>;
857
- } : {
858
- type: PropType<T[K]>;
859
- required: true;
860
- };
861
- };
862
-
863
- declare type __VLS_TypePropsToRuntimeProps_16<T> = {
864
- [K in keyof T]-?: {} extends Pick<T, K> ? {
865
- type: PropType<__VLS_NonUndefinedable_16<T[K]>>;
866
- } : {
867
- type: PropType<T[K]>;
868
- required: true;
869
- };
870
- };
871
-
872
- declare type __VLS_TypePropsToRuntimeProps_2<T> = {
873
- [K in keyof T]-?: {} extends Pick<T, K> ? {
874
- type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
875
- } : {
876
- type: PropType<T[K]>;
877
- required: true;
878
- };
879
- };
880
-
881
- declare type __VLS_TypePropsToRuntimeProps_3<T> = {
882
- [K in keyof T]-?: {} extends Pick<T, K> ? {
883
- type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
884
- } : {
885
- type: PropType<T[K]>;
886
- required: true;
887
- };
888
- };
889
-
890
- declare type __VLS_TypePropsToRuntimeProps_4<T> = {
891
- [K in keyof T]-?: {} extends Pick<T, K> ? {
892
- type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
893
- } : {
894
- type: PropType<T[K]>;
895
- required: true;
896
- };
897
- };
898
-
899
- declare type __VLS_TypePropsToRuntimeProps_5<T> = {
900
- [K in keyof T]-?: {} extends Pick<T, K> ? {
901
- type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
902
- } : {
903
- type: PropType<T[K]>;
904
- required: true;
905
- };
906
- };
907
-
908
- declare type __VLS_TypePropsToRuntimeProps_6<T> = {
909
- [K in keyof T]-?: {} extends Pick<T, K> ? {
910
- type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
911
- } : {
912
- type: PropType<T[K]>;
913
- required: true;
914
- };
915
- };
916
-
917
- declare type __VLS_TypePropsToRuntimeProps_7<T> = {
918
- [K in keyof T]-?: {} extends Pick<T, K> ? {
919
- type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
920
- } : {
921
- type: PropType<T[K]>;
922
- required: true;
923
- };
924
- };
925
-
926
- declare type __VLS_TypePropsToRuntimeProps_8<T> = {
927
- [K in keyof T]-?: {} extends Pick<T, K> ? {
928
- type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
929
- } : {
930
- type: PropType<T[K]>;
931
- required: true;
932
- };
933
- };
934
-
935
- declare type __VLS_TypePropsToRuntimeProps_9<T> = {
936
- [K in keyof T]-?: {} extends Pick<T, K> ? {
937
- type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
938
- } : {
939
- type: PropType<T[K]>;
940
- required: true;
941
- };
942
- };
943
-
944
- declare type __VLS_WithDefaults<P, D> = {
945
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
946
- default: D[K];
947
- }> : P[K];
948
- };
949
-
950
- declare type __VLS_WithDefaults_2<P, D> = {
951
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
952
- default: D[K];
953
- }> : P[K];
954
- };
955
-
956
- declare type __VLS_WithDefaults_3<P, D> = {
957
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
958
- default: D[K];
959
- }> : P[K];
960
- };
961
-
962
- declare type __VLS_WithDefaults_4<P, D> = {
963
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
964
- default: D[K];
965
- }> : P[K];
966
- };
967
-
968
- declare type __VLS_WithDefaults_5<P, D> = {
969
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
970
- default: D[K];
971
- }> : P[K];
972
- };
973
-
974
- declare type __VLS_WithDefaults_6<P, D> = {
975
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
976
- default: D[K];
977
- }> : P[K];
978
- };
979
-
980
- declare type __VLS_WithDefaults_7<P, D> = {
981
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
982
- default: D[K];
983
- }> : P[K];
984
- };
985
-
986
- declare type __VLS_WithDefaults_8<P, D> = {
987
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
988
- default: D[K];
989
- }> : P[K];
990
- };
991
-
992
- declare type __VLS_WithDefaults_9<P, D> = {
993
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_9<P[K] & {
994
- default: D[K];
995
- }> : P[K];
996
- };
997
-
998
- declare type __VLS_WithTemplateSlots<T, S> = T & {
999
- new (): {
1000
- $slots: S;
1001
- };
1002
- };
1003
-
1004
- declare type __VLS_WithTemplateSlots_10<T, S> = T & {
1005
- new (): {
1006
- $slots: S;
1007
- };
1008
- };
1009
-
1010
- declare type __VLS_WithTemplateSlots_11<T, S> = T & {
1011
- new (): {
1012
- $slots: S;
1013
- };
1014
- };
1015
-
1016
- declare type __VLS_WithTemplateSlots_12<T, S> = T & {
1017
- new (): {
1018
- $slots: S;
1019
- };
1020
- };
1021
-
1022
- declare type __VLS_WithTemplateSlots_13<T, S> = T & {
1023
- new (): {
1024
- $slots: S;
1025
- };
1026
- };
1027
-
1028
- declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1029
- new (): {
1030
- $slots: S;
1031
- };
1032
- };
1033
-
1034
- declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1035
- new (): {
1036
- $slots: S;
1037
- };
1038
- };
1039
-
1040
- declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1041
- new (): {
1042
- $slots: S;
1043
- };
1044
- };
1045
-
1046
- declare type __VLS_WithTemplateSlots_5<T, S> = T & {
1047
- new (): {
1048
- $slots: S;
1049
- };
1050
- };
1051
-
1052
- declare type __VLS_WithTemplateSlots_6<T, S> = T & {
1053
- new (): {
1054
- $slots: S;
1055
- };
1056
- };
1057
-
1058
- declare type __VLS_WithTemplateSlots_7<T, S> = T & {
1059
- new (): {
1060
- $slots: S;
1061
- };
1062
- };
1063
-
1064
- declare type __VLS_WithTemplateSlots_8<T, S> = T & {
1065
- new (): {
1066
- $slots: S;
1067
- };
1068
- };
1069
-
1070
- declare type __VLS_WithTemplateSlots_9<T, S> = T & {
1071
- new (): {
1072
- $slots: S;
1073
- };
1074
- };
1075
-
1076
- export declare type CollapseButtonDisplay = 'hover' | 'persistent' | 'never';
1077
-
1078
- export declare const componentEventIdKey: InjectionKey<string | number | undefined>;
1079
-
1080
- export declare const componentProjectIdKey: InjectionKey<string | number | undefined>;
1081
-
1082
- export declare const dataStructureCodeKey: InjectionKey<string | undefined>;
1083
-
1084
- export declare const getTablePageData: (data: Record<string, any>[], pageIndex: number, pageSize: number) => Record<string, any>[] | undefined;
1085
-
1086
- declare interface IconButtonProps {
1087
- icon: any;
1088
- type?: '' | 'text' | 'default' | 'success' | 'warning' | 'info' | 'primary' | 'danger';
1089
- text?: string;
1090
- placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
1091
- delay?: number;
1092
- disabled?: boolean;
1093
- }
1094
-
1095
- export declare const ROOT_NODE_ID = "1";
1096
-
1097
- declare interface ScoreDataInput {
1098
- score: number;
1099
- level: string;
1100
- create_datetime: string;
1101
- modify_by: string;
1102
- }
1103
-
1104
- 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';
1105
-
1106
- export declare interface SetScorePayload {
1107
- scores?: Record<string, string>;
1108
- selectedCodes?: Record<string, string> | string[];
1109
- totalScore: number | null;
1110
- }
1111
-
1112
- declare type SFCWithInstall<T> = T & Plugin_2;
1113
-
1114
- export declare const sortTableData: (data: Record<string, any>[], prop: string, order: ZYTableSortOrder) => {
1115
- index: number;
1116
- }[] | undefined;
1117
-
1118
- /** ZYSplitter 与 ZYSplitterPanel 之间的 provide/inject 契约 */
1119
- export declare interface SplitterContext {
1120
- panels: Ref<SplitterPanelConfig[]>;
1121
- collapsed: Ref<boolean[]>;
1122
- draggingIndex: Ref<number>;
1123
- isDragging: Ref<boolean>;
1124
- direction: ComputedRef<SplitterDirection>;
1125
- barSize: ComputedRef<number>;
1126
- barClass: ComputedRef<string | undefined>;
1127
- showCollapseButton: ComputedRef<CollapseButtonDisplay>;
1128
- registerPanel: (config: Omit<SplitterPanelConfig, 'id'>) => symbol;
1129
- unregisterPanel: (id: symbol) => void;
1130
- updatePanel: (id: symbol, patch: Partial<Omit<SplitterPanelConfig, 'id'>>) => void;
1131
- onBarPointerDown: (e: PointerEvent, leftIndex: number) => void;
1132
- collapse: (index: number) => void;
1133
- }
1134
-
1135
- export declare type SplitterDirection = 'horizontal' | 'vertical';
1136
-
1137
- export declare const splitterInjectionKey: InjectionKey<SplitterContext>;
1138
-
1139
- /** 注册时收集的内部 panel 配置 */
1140
- export declare interface SplitterPanelConfig {
1141
- /** 稳定 id,作为更新/反注册的句柄 */
1142
- id: symbol;
1143
- size: SplitterSize | undefined;
1144
- min: SplitterSize | undefined;
1145
- max: SplitterSize | undefined;
1146
- collapsible: boolean;
1147
- resizable: boolean;
1148
- }
1149
-
1150
- /** number => px;以 '%' 结尾的字符串 => 百分比 */
1151
- export declare type SplitterSize = number | string;
1152
-
1153
- declare type TableColumnProps = Partial<TableColumnProps_2>;
1154
-
1155
- export declare function transferSearchConfigToSearchFormConfig(searchConfig: Record<string, any>[]): any[];
1156
-
1157
- export declare function transferSearchConfigToTableConfig(searchConfig: Record<string, any>): {
1158
- columns: {
1159
- prop: any;
1160
- label: any;
1161
- width: any;
1162
- fixed: any;
1163
- type: any;
1164
- sortable: any;
1165
- data: any;
1166
- }[];
1167
- defaultSort: ZYTableSort;
1168
- };
1169
-
1170
- export declare function useScoreData(): {
1171
- scaleData: any;
1172
- scoreData: any;
1173
- initScaleData: () => Promise<void>;
1174
- setScore: (type: string, data: {
1175
- selectedCodes: any;
1176
- totalScore: any;
1177
- scores?: any;
1178
- }) => void;
1179
- scaleDataLoaded: any;
1180
- };
1181
-
1182
- export declare function useScoreDialogData(): {
1183
- scoreData: any;
1184
- setScore: (type: ScoreType, data: ScoreDataInput, codes?: string[], uid?: string) => void;
1185
- initScaleData: (scaleTypes?: ScoreType[]) => Promise<void>;
1186
- resetScoreData: () => void;
1187
- scaleDataLoaded: any;
1188
- scaleData: any;
1189
- };
1190
-
1191
- export declare const ZY_ACTION_MAP: Record<ZYAction, {
1192
- text: string;
1193
- icon: typeof Plus;
1194
- }>;
1195
-
1196
- export declare const ZY_DEFAULT_CONDITION: ZYCondition;
1197
-
1198
- export declare const ZY_LOGICAL_OPERATOR_MAP: {
1199
- AND: string;
1200
- OR: string;
1201
- NOT: string;
1202
- };
1203
-
1204
- export declare const ZY_LOGICAL_OPERATOR_OPTIONS: {
1205
- value: ZYLogicalOperator;
1206
- label: string;
1207
- }[];
1208
-
1209
- export declare const ZY_LOGICAL_OPERATOR_TEXT_MAP: {
1210
- AND: string;
1211
- OR: string;
1212
- NOT: string;
1213
- };
1214
-
1215
- export declare const ZY_OPERATOR_OPTIONS: {
1216
- name: string;
1217
- value: ZYOperatorType;
1218
- dataTypes: ZYDataType[];
1219
- }[];
1220
-
1221
- export declare const ZY_SEARCH_FORM_COMPONENT_TYPE: Record<ZYSearchFormComponentType, any>;
1222
-
1223
- export declare const ZY_STAT_WAY_MAP: Record<string, string>;
1224
-
1225
- export declare const ZY_STAT_WAY_OPTIONS: {
1226
- value: ZYStatWay;
1227
- label: string;
1228
- }[];
1229
-
1230
- export declare type ZYAction = 'add' | 'add-group' | 'delete';
1231
-
1232
- export declare const ZYAdvancedSearch: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
1233
-
1234
- export declare interface ZYAdvancedSearchConditionGroupProps {
1235
- index?: number;
1236
- isRoot?: boolean;
1237
- maxNest?: number;
1238
- activeCondition?: ZYConditionGroup | null;
1239
- hideRootLogicalOperator?: boolean;
1240
- }
1241
-
1242
- export declare interface ZYAdvancedSearchConditionProps {
1243
- condition: ZYCondition;
1244
- index: number;
1245
- active?: boolean;
1246
- }
1247
-
1248
- export declare interface ZYAdvancedSearchModel {
1249
- include: ZYConditionGroup;
1250
- exclude: ZYConditionGroup;
1251
- }
1252
-
1253
- export declare interface ZYAdvancedSearchProps {
1254
- projectId?: string | number;
1255
- eventId?: string | number;
1256
- dataStructureCode?: string;
1257
- splitterProps?: {
1258
- size?: [string | number, string | number];
1259
- min?: [string | number, string | number];
1260
- max?: [string | number, string | number];
1261
- };
1262
- }
1263
-
1264
- declare interface ZYAnchorTab {
1265
- label: string;
1266
- name: ZYAnchorTabValue;
1267
- disabled?: boolean;
1268
- }
1269
-
1270
- export declare const ZYAnchorTabItem: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, ReturnType<typeof __VLS_template_3>>;
1271
-
1272
- declare interface ZYAnchorTabItemProps extends ZYAnchorTab {
1273
- }
1274
-
1275
- export declare const ZYAnchorTabs: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
1276
-
1277
- declare type ZYAnchorTabValue = string | number;
1278
-
1279
- export declare interface ZYAutocompleteProps {
1280
- loadType: 2 | 3;
1281
- options?: ZYOption<string | number>[];
1282
- }
1283
-
1284
- export declare const ZYChart: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, ReturnType<typeof __VLS_template_5>>;
1285
-
1286
- export declare interface ZYChartConfig {
1287
- statCode: string;
1288
- charts?: ZYChartConfig[];
1289
- title?: string;
1290
- options?: Record<string, any>;
1291
- requestParams?: Record<string, any>;
1292
- clickable?: boolean;
1293
- chartClickable?: boolean;
1294
- props?: Record<string, any>;
1295
- [key: string]: any;
1296
- }
1297
-
1298
- export declare const ZYChartList: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, ReturnType<typeof __VLS_template_4>>;
1299
-
1300
- export declare const ZYCHARTLIST_MOCK = "#ZYCHARTLIST_MOCK#";
1301
-
1302
- export declare interface ZYChartListConfig {
1303
- charts: ZYChartConfig[];
1304
- layout: ZYLayoutConfig;
1305
- }
1306
-
1307
- export declare enum ZYChartToolType {
1308
- VIEW = "view",
1309
- DOWNLOAD = "download",
1310
- SHOW_TABLE = "showTable"
1311
- }
1312
-
1313
- export declare interface ZYColumnActionProps {
1314
- actions?: ZYTableActions[];
1315
- actionColumnProps?: TableColumnProps;
1316
- tableData?: ZYTableData;
1317
- }
1318
-
1319
- export declare const ZYColumnCustomizableTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, ReturnType<typeof __VLS_template_6>>;
1320
-
1321
- export declare interface ZYColumnCustomizableTableColumn {
1322
- prop: string;
1323
- label: string;
1324
- width?: string | number;
1325
- data: ZYColumnCustomizeField;
1326
- }
1327
-
1328
- export declare interface ZYColumnCustomizableTableProps {
1329
- projectId?: string | number;
1330
- eventId?: string | number;
1331
- tableConfig: ZYTableConfig;
1332
- tableColumnsFilter?: (columns: ZYTableConfig['columns']) => ZYTableConfig['columns'];
1333
- requestFn?: ZYTableProps['requestFn'];
1334
- getDataImmediately?: ZYTableProps['getDataImmediately'];
1335
- exportFn?: (params: any) => Promise<any>;
1336
- dateTimeFormat?: string;
1337
- dateFormat?: string;
1338
- defaultColumnWidth?: number;
1339
- configCode?: string;
1340
- dataStructureCode?: string;
1341
- }
1342
-
1343
- export declare const ZYColumnCustomizeDrawer: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
1344
- configCode?: string;
1345
- defaultColumnWidth?: number;
1346
- dateTimeFormat?: string;
1347
- }>>, {
1348
- start: (data: ZYColumnCustomizeField[]) => void;
1349
- isColumnSortable: (key: string) => boolean;
1350
- updateCustomColumnWidth: (data: ZYColumnCustomizeField[]) => Promise<void>;
1351
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1352
- change: (...args: any[]) => void;
1353
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
1354
- configCode?: string;
1355
- defaultColumnWidth?: number;
1356
- dateTimeFormat?: string;
1357
- }>>> & Readonly<{
1358
- onChange?: ((...args: any[]) => any) | undefined;
1359
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1360
-
1361
- export declare const ZYColumnCustomizeExportDrawer: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_5<{
1362
- exportFn: (params: any) => Promise<any>;
1363
- }>, {}>>, {
1364
- start: () => void;
1365
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_5<{
1366
- exportFn: (params: any) => Promise<any>;
1367
- }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1368
-
1369
- export declare interface ZYColumnCustomizeField {
1370
- domainType?: string | number;
1371
- domainName: string;
1372
- fieldName: string;
1373
- fieldLabel: string;
1374
- width?: string | number;
1375
- dataType?: string;
1376
- colors?: Record<string, string>;
1377
- [key: string]: any;
1378
- }
1379
-
1380
- export declare interface ZYCondition {
1381
- key?: string;
1382
- fieldName?: string;
1383
- dataType?: ZYDataType;
1384
- operator?: ZYOperatorType;
1385
- logicalOperator?: ZYLogicalOperator;
1386
- value?: any;
1387
- statWay?: ZYStatWay;
1388
- [key: string]: any;
1389
- }
1390
-
1391
- export declare interface ZYConditionGroup {
1392
- key?: string;
1393
- logicalOperator?: ZYLogicalOperator;
1394
- children?: (ZYCondition | ZYConditionGroup)[];
1395
- }
1396
-
1397
- export declare interface ZYCustomExportTemplate {
1398
- id: string;
1399
- name: string;
1400
- columns: Record<string, any>[];
1401
- }
1402
-
1403
- export declare const ZYCustomExportTemplateTagList: DefineComponent<ExtractPropTypes< {
1404
- modelValue: PropType<ZYCustomExportTemplate[]>;
1405
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1406
- delete: (...args: any[]) => void;
1407
- apply: (...args: any[]) => void;
1408
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1409
- modelValue: PropType<ZYCustomExportTemplate[]>;
1410
- }>> & Readonly<{
1411
- onDelete?: ((...args: any[]) => any) | undefined;
1412
- onApply?: ((...args: any[]) => any) | undefined;
1413
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1414
-
1415
- export declare interface ZYCustomSearchFormProps {
1416
- projectId?: string | number;
1417
- eventId?: string | number;
1418
- items: ZYSearchFormItem[];
1419
- activatedIndexArr?: number[];
1420
- configCode?: string;
1421
- }
1422
-
1423
- export declare enum ZYDataType {
1424
- TEXT = "TEXT",
1425
- TEXT_BOOLEAN = "TEXT_BOOLEAN",
1426
- TEXT_ARRAY = "TEXT_ARRAY",
1427
- KEYWORD = "KEYWORD",
1428
- KEYWORD_ARRAY = "KEYWORD_ARRAY",
1429
- DATE_TIME = "DATE_TIME",
1430
- DATE = "DATE",
1431
- NUMBER = "NUMBER",
1432
- NUMBER_INT = "NUMBER_INT"
1433
- }
1434
-
1435
- export declare interface ZYFieldModel {
1436
- domainType: string | number;
1437
- domainName: string;
1438
- fieldName: string;
1439
- dataType: string;
1440
- domainLabel: string;
1441
- fieldLabel: string;
1442
- fieldDomainName: string;
1443
- autocomplete?: ZYAutocompleteProps;
1444
- }
1445
-
1446
- export declare const ZYFieldPicker: DefineComponent<ExtractPropTypes< {
1447
- modelValue: PropType<Record<string, any> | Record<string, any>[]>;
1448
- projectId: {
1449
- type: PropType<string>;
1450
- };
1451
- eventId: {
1452
- type: PropType<string>;
1453
- };
1454
- multiple: {
1455
- type: PropType<boolean>;
1456
- default: boolean;
1457
- };
1458
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1459
- select: (...args: any[]) => void;
1460
- change: (...args: any[]) => void;
1461
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1462
- modelValue: PropType<Record<string, any> | Record<string, any>[]>;
1463
- projectId: {
1464
- type: PropType<string>;
1465
- };
1466
- eventId: {
1467
- type: PropType<string>;
1468
- };
1469
- multiple: {
1470
- type: PropType<boolean>;
1471
- default: boolean;
1472
- };
1473
- }>> & Readonly<{
1474
- onSelect?: ((...args: any[]) => any) | undefined;
1475
- onChange?: ((...args: any[]) => any) | undefined;
1476
- }>, {
1477
- multiple: boolean;
1478
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1479
-
1480
- export declare interface ZYFieldTreeNode {
1481
- domainType?: string | number;
1482
- domainName?: string;
1483
- label: string;
1484
- fieldName?: string;
1485
- value?: string;
1486
- children?: ZYFieldTreeNode[];
1487
- disabled?: boolean;
1488
- dataType?: string;
1489
- exts?: Record<string, any>;
1490
- }
1491
-
1492
- export declare interface ZYFieldTreeProps extends Partial<TreeProps> {
1493
- data?: ZYFieldTreeNode[];
1494
- width?: number | string;
1495
- disabled?: boolean;
1496
- disabledKeys?: string[];
1497
- }
1498
-
1499
- export declare const ZYFieldTreeSelect: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_13<ZYFieldTreeProps>, {
1500
- props: () => {
1501
- children: string;
1502
- label: string;
1503
- value: string;
1504
- };
1505
- showCheckbox: boolean;
1506
- disabledKeys: () => never[];
1507
- defaultCheckedKeys: () => string[];
1508
- defaultExpandedKeys: () => string[];
1509
- highlightCurrent: boolean;
1510
- data: () => never[];
1511
- emptyText: string;
1512
- width: number;
1513
- disabled: boolean;
1514
- }>>, {
1515
- getCheckedKeys: () => TreeKey[] | undefined;
1516
- getCheckedNodes: (fieldOnly?: boolean) => TreeNodeData[] | undefined;
1517
- setCheckedKeys: (keys: string[]) => void | undefined;
1518
- setChecked: (key: string, checked: boolean) => void | undefined;
1519
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1520
- select: (...args: any[]) => void;
1521
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_13<ZYFieldTreeProps>, {
1522
- props: () => {
1523
- children: string;
1524
- label: string;
1525
- value: string;
1526
- };
1527
- showCheckbox: boolean;
1528
- disabledKeys: () => never[];
1529
- defaultCheckedKeys: () => string[];
1530
- defaultExpandedKeys: () => string[];
1531
- highlightCurrent: boolean;
1532
- data: () => never[];
1533
- emptyText: string;
1534
- width: number;
1535
- disabled: boolean;
1536
- }>>> & Readonly<{
1537
- onSelect?: ((...args: any[]) => any) | undefined;
1538
- }>, {
1539
- data: ZYFieldTreeNode[];
1540
- props: TreeOptionProps;
1541
- disabled: boolean;
1542
- emptyText: string;
1543
- width: number | string;
1544
- highlightCurrent: boolean;
1545
- showCheckbox: boolean;
1546
- defaultCheckedKeys: TreeKey[];
1547
- defaultExpandedKeys: TreeKey[];
1548
- disabledKeys: string[];
1549
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1550
-
1551
- export declare const ZYGlobalProvider: SFCWithInstall<DefineComponent<ExtractPropTypes< {
1552
- projectId: {
1553
- type: (NumberConstructor | StringConstructor)[];
1554
- default: string;
1555
- };
1556
- eventId: {
1557
- type: (NumberConstructor | StringConstructor)[];
1558
- default: string;
1559
- };
1560
- getProjectId: PropType<() => string | number>;
1561
- getEventId: PropType<() => string | number>;
1562
- getDataStructure: PropType<(args: {
1563
- projectId: number;
1564
- eventId?: number;
1565
- }) => Promise<any[]> | any[]>;
1566
- request: {
1567
- type: PropType<ZYRequest>;
1568
- };
1569
- }>, () => VNode<RendererNode, RendererElement, {
1570
- [key: string]: any;
1571
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1572
- projectId: {
1573
- type: (NumberConstructor | StringConstructor)[];
1574
- default: string;
1575
- };
1576
- eventId: {
1577
- type: (NumberConstructor | StringConstructor)[];
1578
- default: string;
1579
- };
1580
- getProjectId: PropType<() => string | number>;
1581
- getEventId: PropType<() => string | number>;
1582
- getDataStructure: PropType<(args: {
1583
- projectId: number;
1584
- eventId?: number;
1585
- }) => Promise<any[]> | any[]>;
1586
- request: {
1587
- type: PropType<ZYRequest>;
1588
- };
1589
- }>> & Readonly<{}>, {
1590
- projectId: string | number;
1591
- eventId: string | number;
1592
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
1593
-
1594
- export declare const ZYIconButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_6<IconButtonProps>, {
1595
- placement: string;
1596
- delay: number;
1597
- disabled: boolean;
1598
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1599
- click: (...args: any[]) => void;
1600
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_6<IconButtonProps>, {
1601
- placement: string;
1602
- delay: number;
1603
- disabled: boolean;
1604
- }>>> & Readonly<{
1605
- onClick?: ((...args: any[]) => any) | undefined;
1606
- }>, {
1607
- placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
1608
- disabled: boolean;
1609
- delay: number;
1610
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1611
-
1612
- export declare const ZYLayout: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, ReturnType<typeof __VLS_template_7>>;
1613
-
1614
- export declare interface ZYLayoutConfig {
1615
- items?: Array<ZYLayoutConfig | string>;
1616
- slotKey?: string;
1617
- className?: string;
1618
- [key: string]: any;
1619
- }
1620
-
1621
- export declare const ZYLayoutContainer: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, ReturnType<typeof __VLS_template_9>>;
1622
-
1623
- export declare const ZYLayoutItem: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, ReturnType<typeof __VLS_template_8>>;
1624
-
1625
- export declare enum ZYLogicalOperator {
1626
- AND = "AND",
1627
- OR = "OR",
1628
- NOT = "NOT"
1629
- }
1630
-
1631
- export declare enum ZYOperatorType {
1632
- EXISTS = "EXISTS",
1633
- EQ = "EQ",
1634
- LIKE = "LIKE",
1635
- RANGE = "RANGE",
1636
- LTE = "LTE",
1637
- LT = "LT",
1638
- GTE = "GTE",
1639
- GT = "GT",
1640
- WILDCARD = "WILDCARD",
1641
- NEQ = "NEQ"
1642
- }
1643
-
1644
- export declare interface ZYOption<T extends string | number | Record<string, any>> {
1645
- label: string;
1646
- value: T;
1647
- disabled?: boolean;
1648
- }
1649
-
1650
- export declare const ZYOverflowTooltip: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_10<{
1651
- content: string;
1652
- placement?: Placement;
1653
- }>, {
1654
- placement: string;
1655
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_10<{
1656
- content: string;
1657
- placement?: Placement;
1658
- }>, {
1659
- placement: string;
1660
- }>>> & Readonly<{}>, {
1661
- placement: Placement;
1662
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1663
-
1664
- export declare type ZYRequest = AxiosInstance;
1665
-
1666
- export declare interface ZYResponse {
1667
- data: any;
1668
- success?: boolean;
1669
- code: number;
1670
- message: string;
1671
- }
1672
-
1673
- export declare interface ZYRtsScoreItem {
1674
- score_31: string;
1675
- score_32: string;
1676
- score_33: string;
1677
- }
1678
-
1679
- export declare interface ZYScaleDataItem {
1680
- code: string;
1681
- label: string;
1682
- children?: ZYScaleDataItem[];
1683
- score?: number;
1684
- checked?: boolean;
1685
- }
1686
-
1687
- export declare interface ZYScoreDataType {
1688
- BEFORE_VITAL_SIGNS: ZYScoreSectionData;
1689
- ER_VITAL_SIGNS: ZYScoreSectionData;
1690
- ICU_VS: {
1691
- GCS: ZYScoreItem;
1692
- };
1693
- }
1694
-
1695
- export declare const ZYScoreDialog: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<ZYScoreDialogProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1696
- "update:modelValue": (value: boolean) => void;
1697
- onConfirm: (activeTab: ScoreType, data: ScoreDataInput, codes: string | string[]) => void;
1698
- "update:totalScore": (total: number | null) => void;
1699
- "update:issScores": (issScores: Record<string, string>) => void;
1700
- "update:tab": (value: string) => void;
1701
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<ZYScoreDialogProps>>> & Readonly<{
1702
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1703
- onOnConfirm?: ((activeTab: ScoreType, data: ScoreDataInput, codes: string | string[]) => any) | undefined;
1704
- "onUpdate:totalScore"?: ((total: number | null) => any) | undefined;
1705
- "onUpdate:issScores"?: ((issScores: Record<string, string>) => any) | undefined;
1706
- "onUpdate:tab"?: ((value: string) => any) | undefined;
1707
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1708
-
1709
- declare interface ZYScoreDialogProps {
1710
- modelValue: boolean;
1711
- tab?: ScoreType;
1712
- scoreTypes: ScoreType[];
1713
- isOptionDisabled?: boolean;
1714
- }
1715
-
1716
- export declare interface ZYScoreItem {
1717
- score_11: string;
1718
- score_12: string;
1719
- score_13: string;
1720
- }
1721
-
1722
- export declare type ZYScoreSection = 'BEFORE_VITAL_SIGNS' | 'ER_VITAL_SIGNS' | 'ICU_VS';
1723
-
1724
- export declare interface ZYScoreSectionData {
1725
- GCS: ZYScoreItem;
1726
- RTS: ZYRtsScoreItem;
1727
- }
1728
-
1729
- export declare interface ZYScoreStore {
1730
- scaleData: {
1731
- GCS: ZYScaleDataItem[];
1732
- RTS: ZYScaleDataItem[];
1733
- ISS: ZYScaleDataItem[];
1734
- };
1735
- DISCHARGE_S: ZYScoreStoreState;
1736
- BEFORE_VITAL_SIGNS: ZYScoreStoreState;
1737
- ER_VITAL_SIGNS: ZYScoreStoreState;
1738
- ICU_VS: ZYScoreStoreState;
1739
- setScore: (type: string, data: {
1740
- selectedCodes: any;
1741
- totalScore: any;
1742
- scores?: any;
1743
- }) => void;
1744
- initScaleData: () => Promise<void>;
1745
- }
1746
-
1747
- export declare interface ZYScoreStoreSection {
1748
- GCS?: {
1749
- selectedCodes?: Record<string, string>;
1750
- totalScore?: Record<string, string>;
1751
- };
1752
- RTS?: {
1753
- selectedCodes?: Record<string, string>;
1754
- totalScore?: Record<string, string>;
1755
- };
1756
- ISS?: {
1757
- selectedCodes?: Record<string, string>;
1758
- totalScore?: Record<string, string>;
1759
- scores: Record<string, string>;
1760
- };
1761
- }
1762
-
1763
- export declare interface ZYScoreStoreState extends ZYScoreStoreSection {
1764
- }
1765
-
1766
- export declare interface ZYScoreTabConfig {
1767
- label: string;
1768
- name: string;
1769
- component: any;
1770
- section: keyof ZYScoreDataType;
1771
- type: 'GCS' | 'RTS' | 'ISS';
1772
- data: any;
1773
- }
1774
-
1775
- 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>;
1776
-
1777
- export declare interface ZYScoreTableProps {
1778
- type: 'gcs' | 'iss' | 'rts';
1779
- section?: 'BEFORE_VITAL_SIGNS' | 'ER_VITAL_SIGNS' | 'ICU_VS';
1780
- tab?: ZYScoreTabName;
1781
- }
1782
-
1783
- 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';
1784
-
1785
- export declare type ZYScoreType = 'gcs' | 'iss' | 'rts';
1786
-
1787
- export declare const ZYSearchForm: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, ReturnType<typeof __VLS_template_10>>;
1788
-
1789
- export declare enum ZYSearchFormComponentType {
1790
- Checkbox = "checkbox",
1791
- Select = "select",
1792
- Condition = "condition",
1793
- Input = "input",
1794
- Radio = "radio",
1795
- TimeFieldPicker = "time-field-picker",
1796
- MultiSelect = "multi-select",
1797
- DateTimePicker = "date-time-picker"
1798
- }
1799
-
1800
- export declare const ZYSearchFormDrawer: DefineComponent<ExtractPropTypes< {
1801
- modelValue: {
1802
- required: true;
1803
- type: PropType<Record<string, any>>;
1804
- };
1805
- visible: {
1806
- required: true;
1807
- type: PropType<boolean>;
1808
- };
1809
- items: {
1810
- type: PropType<ZYSearchFormItem[]>;
1811
- required: true;
1812
- default: () => never[];
1813
- };
1814
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1815
- search: (...args: any[]) => void;
1816
- reset: (...args: any[]) => void;
1817
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1818
- modelValue: {
1819
- required: true;
1820
- type: PropType<Record<string, any>>;
1821
- };
1822
- visible: {
1823
- required: true;
1824
- type: PropType<boolean>;
1825
- };
1826
- items: {
1827
- type: PropType<ZYSearchFormItem[]>;
1828
- required: true;
1829
- default: () => never[];
1830
- };
1831
- }>> & Readonly<{
1832
- onSearch?: ((...args: any[]) => any) | undefined;
1833
- onReset?: ((...args: any[]) => any) | undefined;
1834
- }>, {
1835
- items: ZYSearchFormItem[];
1836
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1837
-
1838
- export declare interface ZYSearchFormItem {
1839
- type: ZYSearchFormComponentType;
1840
- label: string;
1841
- prop: string;
1842
- valueFormatter?: (value: any) => Record<string, any>[];
1843
- [key: string]: any;
1844
- }
1845
-
1846
- export declare interface ZYSearchFormMore {
1847
- items: ZYSearchFormItem[];
1848
- }
1849
-
1850
- export declare interface ZYSearchFormProps {
1851
- projectId?: string | number;
1852
- eventId?: string | number;
1853
- items?: ZYSearchFormItem[];
1854
- customize?: boolean;
1855
- showAll?: boolean;
1856
- maxRowNum?: number;
1857
- foldMinRowNum?: number;
1858
- defaultFormData?: Record<string, any>;
1859
- configCode?: string;
1860
- customComponents?: Record<string, any>;
1861
- }
1862
-
1863
- export declare enum ZYSearchFormTimeType {
1864
- All = "all",
1865
- Year = "year",
1866
- Quarter = "quarter",
1867
- Month = "month",
1868
- Week = "week",
1869
- Date = "date",
1870
- YearRange = "year-range",
1871
- QuarterRange = "quarter-range",
1872
- MonthRange = "month-range",
1873
- WeekRange = "week-range",
1874
- DateRange = "date-range"
1875
- }
1876
-
1877
- export declare const ZYSimpleTable: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_16<ZYSimpleTableProps>, {
1878
- data: () => never[];
1879
- columns: () => never[];
1880
- height: number;
1881
- border: boolean;
1882
- size: string;
1883
- direction: string;
1884
- horizontalWidth: () => {
1885
- header: number;
1886
- content: number;
1887
- };
1888
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_16<ZYSimpleTableProps>, {
1889
- data: () => never[];
1890
- columns: () => never[];
1891
- height: number;
1892
- border: boolean;
1893
- size: string;
1894
- direction: string;
1895
- horizontalWidth: () => {
1896
- header: number;
1897
- content: number;
1898
- };
1899
- }>>> & Readonly<{}>, {
1900
- data: ZYSimpleTableData;
1901
- size: "small" | "medium" | "large";
1902
- direction: "vertical" | "horizontal";
1903
- border: boolean;
1904
- height: number | string;
1905
- columns: ZYSimpleTableColumn[] | ZYSimpleTableColumn[][];
1906
- horizontalWidth: {
1907
- header: number | string;
1908
- content: number | string;
1909
- };
1910
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1911
-
1912
- export declare interface ZYSimpleTableColumn {
1913
- minWidth?: number | string;
1914
- label: string;
1915
- prop?: string;
1916
- rowspan?: number;
1917
- colspan?: number;
1918
- width?: number | string;
1919
- headerTextAlign?: 'left' | 'center' | 'right';
1920
- textAlign?: 'left' | 'center' | 'right';
1921
- verticalAlign?: 'top' | 'middle' | 'bottom';
1922
- headerFormatter?: (column: ZYSimpleTableColumn, columnIndex: number) => VNode | string | undefined | null;
1923
- formatter?: (col: any, row: ZYSimpleTableData[number], rowIndex: number, data: ZYSimpleTableData, prop: string) => VNode | string | undefined | null;
1924
- }
1925
-
1926
- export declare type ZYSimpleTableData = (Record<string, any> & {
1927
- tdProps?: Record<string, {
1928
- colspan?: number;
1929
- rowspan?: number;
1930
- }>;
1931
- })[];
1932
-
1933
- export declare interface ZYSimpleTableProps {
1934
- data?: ZYSimpleTableData;
1935
- columns: ZYSimpleTableColumn[] | ZYSimpleTableColumn[][];
1936
- height?: number | string;
1937
- border?: boolean;
1938
- headerTextAlign?: 'left' | 'center' | 'right';
1939
- textAlign?: 'left' | 'center' | 'right';
1940
- verticalAlign?: 'top' | 'middle' | 'bottom';
1941
- size?: 'small' | 'medium' | 'large';
1942
- direction?: 'vertical' | 'horizontal';
1943
- horizontalWidth?: {
1944
- header: number | string;
1945
- content: number | string;
1946
- };
1947
- }
1948
-
1949
- export declare const ZYSortableFieldPicker: DefineComponent<ExtractPropTypes< {
1950
- modelValue: {
1951
- required: true;
1952
- type: PropType<Record<string, any>[]>;
1953
- };
1954
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1955
- change: (...args: any[]) => void;
1956
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1957
- modelValue: {
1958
- required: true;
1959
- type: PropType<Record<string, any>[]>;
1960
- };
1961
- }>> & Readonly<{
1962
- onChange?: ((...args: any[]) => any) | undefined;
1963
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1964
-
1965
- export declare const ZYSplitter: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, ReturnType<typeof __VLS_template_11>>;
1966
-
1967
- export declare interface ZYSplitterCollapseEvent {
1968
- index: number;
1969
- collapsed: boolean[];
1970
- }
1971
-
1972
- /** 事件签名(仅供参考;SFC 内部用字符串数组声明 emits) */
1973
- export declare interface ZYSplitterEmits {
1974
- 'update:modelValue': (value: SplitterSize[]) => void;
1975
- 'update:collapsed': (value: boolean[]) => void;
1976
- resize: (payload: ZYSplitterResizeEvent) => void;
1977
- collapse: (payload: ZYSplitterCollapseEvent) => void;
1978
- dragstart: (payload: {
1979
- index: number;
1980
- }) => void;
1981
- dragend: (payload: {
1982
- index: number;
1983
- }) => void;
1984
- }
1985
-
1986
- export declare interface ZYSplitterExposed {
1987
- /** 切换第 i 个 panel 的折叠状态 */
1988
- collapse: (index: number) => void;
1989
- /** 编程式设置第 i 个 panel 的尺寸(px 或 '%');拖拽进行中会被忽略 */
1990
- resize: (index: number, size: SplitterSize) => void;
1991
- /** 获取当前所有 panel 的尺寸快照(按各自声明的单位返回) */
1992
- getSizes: () => SplitterSize[];
1993
- /** 获取当前所有 panel 的折叠状态快照 */
1994
- getCollapsed: () => boolean[];
1995
- }
1996
-
1997
- export declare const ZYSplitterPanel: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, ReturnType<typeof __VLS_template_12>>;
1998
-
1999
- export declare interface ZYSplitterPanelProps {
2000
- /** 初始/目标尺寸:number 为 px,'NN%' 为百分比 */
2001
- size?: SplitterSize;
2002
- /** 最小尺寸:number 为 px,'NN%' 为百分比 */
2003
- min?: SplitterSize;
2004
- /** 最大尺寸:number 为 px,'NN%' 为百分比;默认无上限 */
2005
- max?: SplitterSize;
2006
- /** 是否允许通过 API 或折叠按钮收起 */
2007
- collapsible?: boolean;
2008
- /** 是否允许通过拖拽调整尺寸 */
2009
- resizable?: boolean;
2010
- class?: string;
2011
- }
2012
-
2013
- export declare interface ZYSplitterProps {
2014
- /** 布局方向 */
2015
- direction?: SplitterDirection;
2016
- /** 分隔条厚度(px) */
2017
- barSize?: number;
2018
- /** 自定义分隔条类名 */
2019
- barClass?: string;
2020
- /** v-model:每个 panel 的尺寸,按 DOM 顺序对应 */
2021
- modelValue?: SplitterSize[];
2022
- /** v-model:collapsed:每个 panel 的折叠状态 */
2023
- collapsed?: boolean[];
2024
- /** 折叠按钮显示策略,默认 'hover' */
2025
- showCollapseButton?: CollapseButtonDisplay;
2026
- /** 是否禁用所有交互 */
2027
- disabled?: boolean;
2028
- }
2029
-
2030
- export declare interface ZYSplitterResizeEvent {
2031
- /** 触发拖拽的 bar 左侧 panel 索引 */
2032
- index: number;
2033
- /** 本次拖拽实际被反向调整的邻居 panel 索引;编程式 resize 为 -1 */
2034
- rightIndex: number;
2035
- sizes: SplitterSize[];
2036
- }
2037
-
2038
- export declare enum ZYStatWay {
2039
- FIRST = "first",
2040
- LAST = "last"
2041
- }
2042
-
2043
- export declare const ZYTable: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, ReturnType<typeof __VLS_template_13>>;
2044
-
2045
- export declare type ZYTableActionFunction<T> = (row: ZYTableData[number], index: number, tableData: ZYTableData) => T;
2046
-
2047
- export declare interface ZYTableActions {
2048
- text: string;
2049
- icon?: any;
2050
- type?: ButtonType;
2051
- show?: boolean | ZYTableActionFunction<boolean>;
2052
- disabled?: boolean | ZYTableActionFunction<boolean>;
2053
- onClick?: ZYTableActionFunction<void | Promise<void>>;
2054
- }
2055
-
2056
- export declare interface ZYTableColumn extends TableColumnProps {
2057
- type?: TableColumnProps['type'] | 'custom';
2058
- prop: string;
2059
- label: string;
2060
- width?: number | string;
2061
- minWidth?: number | string;
2062
- fixed?: boolean | string;
2063
- sortOrder?: ZYTableSortOrder;
2064
- children?: ZYTableColumn[];
2065
- }
2066
-
2067
- export declare interface ZYTableColumnProps {
2068
- columns?: ZYTableColumn[];
2069
- tableData?: ZYTableData;
2070
- }
2071
-
2072
- export declare interface ZYTableConfig {
2073
- tableProps?: ZYTableTableProps;
2074
- hasPagination?: boolean;
2075
- paginationConfig?: ZYTablePaginationConfig;
2076
- checkable?: boolean;
2077
- checkDisabled?: boolean;
2078
- columns?: ZYTableColumn[];
2079
- onRowClick?: (row: ZYTableData[number], tableData: ZYTableData) => void | Promise<void>;
2080
- actions?: ZYTableActions[];
2081
- actionColumnProps?: TableColumnProps;
2082
- }
2083
-
2084
- export declare type ZYTableData = Record<string, any>[];
2085
-
2086
- export declare interface ZYTableDataResponse {
2087
- data?: ZYTableData;
2088
- total?: number;
2089
- [key: string]: any;
2090
- }
2091
-
2092
- export declare interface ZYTablePagination {
2093
- current: number;
2094
- size: number;
2095
- total: number;
2096
- }
2097
-
2098
- export declare type ZYTablePaginationConfig = Partial<PaginationProps>;
2099
-
2100
- export declare interface ZYTableProps {
2101
- config: ZYTableConfig;
2102
- getDataImmediately?: boolean;
2103
- requestFn?: (params: Record<string, any>, isSearch?: boolean, sort?: ZYTableSort) => Promise<ZYTableDataResponse> | ZYTableDataResponse;
2104
- actionLetterWidth?: number;
2105
- }
2106
-
2107
- export declare type ZYTableSort = {
2108
- prop: string;
2109
- order: 'ascending' | 'descending';
2110
- };
2111
-
2112
- export declare enum ZYTableSortOrder {
2113
- DESCENDING = "descending",
2114
- ASCENDING = "ascending"
2115
- }
2116
-
2117
- export declare type ZYTableTableProps = Omit<TableProps<Record<string, any>>, 'data'>;
2118
-
2119
- export { }