cnhis-design-vue 3.2.6-release.0 → 3.2.6-release.1

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 (77) hide show
  1. package/es/components/callback/src/components/render/popupMaps.d.ts +6 -2
  2. package/es/components/expand-field/index.d.ts +1109 -321
  3. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1109 -321
  4. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1109 -321
  5. package/es/components/expand-field/src/components/form.vue.d.ts +1109 -321
  6. package/es/components/expand-field/src/index.vue.d.ts +1109 -321
  7. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  8. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  9. package/es/components/form-config/index.d.ts +12 -4
  10. package/es/components/form-config/src/FormConfig.vue.d.ts +12 -4
  11. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +6 -2
  12. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -2
  13. package/es/components/form-render/index.d.ts +6 -2
  14. package/es/components/form-render/src/FormRender.vue.d.ts +5 -1
  15. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  16. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +6 -2
  17. package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
  18. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  19. package/es/components/form-render/src/types/index.d.ts +4 -1
  20. package/es/components/iho-chat/index.d.ts +57 -27
  21. package/es/components/iho-chat/src/Index.vue.d.ts +58 -27
  22. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  23. package/es/components/iho-chat/src/api/index.js +1 -1
  24. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +1 -1
  25. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +9 -26
  26. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  27. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +2 -2
  28. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +3 -2
  29. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  30. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +1 -1
  31. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +10 -3
  32. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  33. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  34. package/es/components/iho-chat/src/components/Video.vue.d.ts +30 -25
  35. package/es/components/iho-chat/src/components/Video.vue.js +1 -0
  36. package/es/components/iho-chat/src/components/Video.vue2.js +1 -0
  37. package/es/components/iho-chat/src/hooks/useSession.js +1 -1
  38. package/es/components/iho-chat/src/types/index.d.ts +2 -0
  39. package/es/components/iho-chat/src/utils/index.d.ts +1 -1
  40. package/es/components/iho-chat/src/utils/index.js +1 -1
  41. package/es/components/iho-chat/style/index.css +1 -1
  42. package/es/components/index.css +1 -1
  43. package/es/components/info-header/index.d.ts +12 -4
  44. package/es/components/info-header/src/InfoHeader.vue.d.ts +12 -4
  45. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +6 -2
  46. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +6 -2
  47. package/es/components/recommend-search/index.d.ts +8 -8
  48. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +8 -8
  49. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  50. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
  51. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +3 -3
  52. package/es/components/select-person/index.d.ts +1109 -321
  53. package/es/components/select-person/index.js +1 -1
  54. package/es/components/select-person/src/SelectPerson.vue.d.ts +4 -10
  55. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  56. package/es/components/select-person/src/SelectPersonType.vue.d.ts +314 -0
  57. package/es/components/select-person/src/SelectPersonType.vue.js +1 -0
  58. package/es/components/select-person/src/SelectPersonType.vue2.js +1 -0
  59. package/es/components/select-person/src/components/SearchMultiple.vue.js +1 -0
  60. package/es/components/select-person/src/components/SearchOrgAndStaff.vue.js +1 -0
  61. package/es/components/select-person/src/constants/index.d.ts +2 -0
  62. package/es/components/select-person/src/constants/index.js +1 -0
  63. package/es/components/select-person/src/index.vue.d.ts +1385 -0
  64. package/es/components/select-person/src/index.vue.js +1 -0
  65. package/es/components/select-person/src/index.vue2.js +1 -0
  66. package/es/components/shortcut-setter/index.d.ts +6 -2
  67. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -2
  68. package/es/shared/hooks/useAsyncQueue/index.d.ts +3 -0
  69. package/es/shared/hooks/useAsyncQueue/index.js +1 -1
  70. package/es/shared/package.json.js +1 -1
  71. package/package.json +2 -2
  72. package/es/components/select-person/src/SearchMultiple.vue.js +0 -1
  73. package/es/components/select-person/src/SearchOrgAndStaff.vue.js +0 -1
  74. /package/es/components/select-person/src/{SearchMultiple.vue.d.ts → components/SearchMultiple.vue.d.ts} +0 -0
  75. /package/es/components/select-person/src/{SearchMultiple.vue2.js → components/SearchMultiple.vue2.js} +0 -0
  76. /package/es/components/select-person/src/{SearchOrgAndStaff.vue.d.ts → components/SearchOrgAndStaff.vue.d.ts} +0 -0
  77. /package/es/components/select-person/src/{SearchOrgAndStaff.vue2.js → components/SearchOrgAndStaff.vue2.js} +0 -0
@@ -0,0 +1,1385 @@
1
+ import { ref, PropType } from 'vue';
2
+ import { type TreeOption } from 'naive-ui';
3
+ import { AnyObject } from '../../../shared/types';
4
+ type IKey = string | number;
5
+ type ITreeOption = TreeOption & AnyObject;
6
+ type IWordBook<T> = {
7
+ parent_id_obj: keyof T;
8
+ parent_name_obj: keyof T;
9
+ user_count_obj?: keyof T;
10
+ filter_key?: string;
11
+ [key: string]: any;
12
+ };
13
+ type IWordBookChild<T> = {
14
+ user_id_obj: keyof T;
15
+ user_name_obj: keyof T;
16
+ user_expand_keys?: string[];
17
+ };
18
+ type ITag = {
19
+ key: IKey;
20
+ [key: string]: any;
21
+ };
22
+ declare const _default: import("vue").DefineComponent<{
23
+ defaultList: {
24
+ type: PropType<(IKey | ITag)[]>;
25
+ default: () => never[];
26
+ };
27
+ data: {
28
+ type: PropType<ITreeOption[]>;
29
+ default: () => never[];
30
+ };
31
+ searchPlaceholder: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ searchButtonText: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ wordbook: {
40
+ type: PropType<IWordBook<ITreeOption>>;
41
+ default: () => {};
42
+ };
43
+ wordbookChild: {
44
+ type: PropType<IWordBookChild<ITreeOption>>;
45
+ default: () => {};
46
+ };
47
+ showCount: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ showClear: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ multiple: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ searchInner: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ searchFilter: {
64
+ type: PropType<AnyObject>;
65
+ default: () => {};
66
+ };
67
+ treeSetting: {
68
+ type: PropType<ITreeOption>;
69
+ default: () => {};
70
+ };
71
+ queryLoadChildData: {
72
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
73
+ default: undefined;
74
+ };
75
+ queryTreeSearch: {
76
+ type: PropType<(keyWork: string) => Promise<Array<AnyObject>>>;
77
+ default: () => Promise<never[]>;
78
+ };
79
+ showSelectType: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ roleData: {
84
+ type: PropType<ITreeOption[]>;
85
+ default: () => never[];
86
+ };
87
+ roleFields: {
88
+ type: ObjectConstructor;
89
+ default: () => {
90
+ label: string;
91
+ key: string;
92
+ children: string;
93
+ };
94
+ };
95
+ switchTypeProps: {
96
+ type: PropType<AnyObject[]>;
97
+ default: () => never[];
98
+ };
99
+ switchTypeData: {
100
+ type: PropType<AnyObject>;
101
+ default: () => {};
102
+ };
103
+ tagProps: {
104
+ type: PropType<AnyObject>;
105
+ default: () => {};
106
+ };
107
+ }, {
108
+ $attrs: {
109
+ [x: string]: unknown;
110
+ };
111
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
112
+ defaultList: {
113
+ type: PropType<(IKey | ITag)[]>;
114
+ default: () => never[];
115
+ };
116
+ data: {
117
+ type: PropType<ITreeOption[]>;
118
+ default: () => never[];
119
+ };
120
+ searchPlaceholder: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ searchButtonText: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ wordbook: {
129
+ type: PropType<IWordBook<ITreeOption>>;
130
+ default: () => {};
131
+ };
132
+ wordbookChild: {
133
+ type: PropType<IWordBookChild<ITreeOption>>;
134
+ default: () => {};
135
+ };
136
+ showCount: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ showClear: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
144
+ multiple: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
148
+ searchInner: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ searchFilter: {
153
+ type: PropType<AnyObject>;
154
+ default: () => {};
155
+ };
156
+ treeSetting: {
157
+ type: PropType<ITreeOption>;
158
+ default: () => {};
159
+ };
160
+ queryLoadChildData: {
161
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
162
+ default: undefined;
163
+ };
164
+ queryTreeSearch: {
165
+ type: PropType<(keyWork: string) => Promise<Array<AnyObject>>>;
166
+ default: () => Promise<never[]>;
167
+ };
168
+ showSelectType: {
169
+ type: BooleanConstructor;
170
+ default: boolean;
171
+ };
172
+ roleData: {
173
+ type: PropType<ITreeOption[]>;
174
+ default: () => never[];
175
+ };
176
+ roleFields: {
177
+ type: ObjectConstructor;
178
+ default: () => {
179
+ label: string;
180
+ key: string;
181
+ children: string;
182
+ };
183
+ };
184
+ switchTypeProps: {
185
+ type: PropType<AnyObject[]>;
186
+ default: () => never[];
187
+ };
188
+ switchTypeData: {
189
+ type: PropType<AnyObject>;
190
+ default: () => {};
191
+ };
192
+ tagProps: {
193
+ type: PropType<AnyObject>;
194
+ default: () => {};
195
+ };
196
+ }>> & {
197
+ onCheck?: ((...args: any[]) => any) | undefined;
198
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
199
+ }>>;
200
+ __emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
201
+ selectPersonRef: import("vue").Ref<any>;
202
+ isComponent: import("vue").ComputedRef<import("vue").DefineComponent<{
203
+ defaultList: {
204
+ type: PropType<((string | number) | {
205
+ [key: string]: any;
206
+ key: string | number;
207
+ })[]>;
208
+ default: () => never[];
209
+ };
210
+ data: {
211
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
212
+ default: () => never[];
213
+ };
214
+ searchPlaceholder: {
215
+ type: StringConstructor;
216
+ default: string;
217
+ };
218
+ searchButtonText: {
219
+ type: StringConstructor;
220
+ default: string;
221
+ };
222
+ wordbook: {
223
+ type: PropType<{
224
+ [key: string]: any;
225
+ parent_id_obj: string;
226
+ parent_name_obj: string;
227
+ user_count_obj?: string | undefined;
228
+ filter_key?: string | undefined;
229
+ }>;
230
+ default: () => {};
231
+ };
232
+ wordbookChild: {
233
+ type: PropType<{
234
+ user_id_obj: string;
235
+ user_name_obj: string;
236
+ user_expand_keys?: string[] | undefined;
237
+ }>;
238
+ default: () => {};
239
+ };
240
+ showCount: {
241
+ type: BooleanConstructor;
242
+ default: boolean;
243
+ };
244
+ showClear: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
248
+ multiple: {
249
+ type: BooleanConstructor;
250
+ default: boolean;
251
+ };
252
+ searchInner: {
253
+ type: BooleanConstructor;
254
+ default: boolean;
255
+ };
256
+ searchFilter: {
257
+ type: PropType<AnyObject>;
258
+ default: () => {};
259
+ };
260
+ treeSetting: {
261
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
262
+ default: () => {};
263
+ };
264
+ queryLoadChildData: {
265
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
266
+ default: undefined;
267
+ };
268
+ queryTreeSearch: {
269
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
270
+ default: () => Promise<never[]>;
271
+ };
272
+ switchTypeProps: {
273
+ type: PropType<AnyObject[]>;
274
+ default: () => never[];
275
+ };
276
+ switchTypeData: {
277
+ type: PropType<AnyObject>;
278
+ default: () => {};
279
+ };
280
+ tagProps: {
281
+ type: PropType<AnyObject>;
282
+ default: () => {};
283
+ };
284
+ }, {
285
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
286
+ defaultList: {
287
+ type: PropType<((string | number) | {
288
+ [key: string]: any;
289
+ key: string | number;
290
+ })[]>;
291
+ default: () => never[];
292
+ };
293
+ data: {
294
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
295
+ default: () => never[];
296
+ };
297
+ searchPlaceholder: {
298
+ type: StringConstructor;
299
+ default: string;
300
+ };
301
+ searchButtonText: {
302
+ type: StringConstructor;
303
+ default: string;
304
+ };
305
+ wordbook: {
306
+ type: PropType<{
307
+ [key: string]: any;
308
+ parent_id_obj: string;
309
+ parent_name_obj: string;
310
+ user_count_obj?: string | undefined;
311
+ filter_key?: string | undefined;
312
+ }>;
313
+ default: () => {};
314
+ };
315
+ wordbookChild: {
316
+ type: PropType<{
317
+ user_id_obj: string;
318
+ user_name_obj: string;
319
+ user_expand_keys?: string[] | undefined;
320
+ }>;
321
+ default: () => {};
322
+ };
323
+ showCount: {
324
+ type: BooleanConstructor;
325
+ default: boolean;
326
+ };
327
+ showClear: {
328
+ type: BooleanConstructor;
329
+ default: boolean;
330
+ };
331
+ multiple: {
332
+ type: BooleanConstructor;
333
+ default: boolean;
334
+ };
335
+ searchInner: {
336
+ type: BooleanConstructor;
337
+ default: boolean;
338
+ };
339
+ searchFilter: {
340
+ type: PropType<AnyObject>;
341
+ default: () => {};
342
+ };
343
+ treeSetting: {
344
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
345
+ default: () => {};
346
+ };
347
+ queryLoadChildData: {
348
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
349
+ default: undefined;
350
+ };
351
+ queryTreeSearch: {
352
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
353
+ default: () => Promise<never[]>;
354
+ };
355
+ switchTypeProps: {
356
+ type: PropType<AnyObject[]>;
357
+ default: () => never[];
358
+ };
359
+ switchTypeData: {
360
+ type: PropType<AnyObject>;
361
+ default: () => {};
362
+ };
363
+ tagProps: {
364
+ type: PropType<AnyObject>;
365
+ default: () => {};
366
+ };
367
+ }>> & {}>>;
368
+ emit: any;
369
+ keyword: import("vue").Ref<string>;
370
+ checkedAll: import("vue").Ref<boolean>;
371
+ checkedKeys: import("vue").Ref<(string | number)[]>;
372
+ expandedKeys: import("vue").Ref<(string | number)[]>;
373
+ treeData: import("vue").Ref<{
374
+ [x: string]: unknown;
375
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
376
+ label?: string | undefined;
377
+ checkboxDisabled?: boolean | undefined;
378
+ disabled?: boolean | undefined;
379
+ isLeaf?: boolean | undefined;
380
+ children?: any[] | undefined;
381
+ prefix?: (() => import("vue").VNodeChild) | undefined;
382
+ suffix?: (() => import("vue").VNodeChild) | undefined;
383
+ }[]>;
384
+ isSearch: import("vue").Ref<boolean>;
385
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
386
+ curSelectKey: any;
387
+ treeDataMiddle: any;
388
+ checkedTagsMiddle: import("vue").Ref<any[]>;
389
+ allCheckedKeysMiddle: any;
390
+ isSearchFilter: import("vue").ComputedRef<boolean>;
391
+ keyStr: import("vue").ComputedRef<string | number>;
392
+ onHandleLabelChange: (item: any) => void;
393
+ setSelectTagData: (tree: TreeOption[], operatorType: string) => void;
394
+ addTagToTemp: (tree: TreeOption[], operatorType: string) => void;
395
+ init: () => void;
396
+ setAllCheckedKeys: (tree: TreeOption, cb?: any) => void;
397
+ setAllCheckedKeysWithChild: (item: TreeOption, cb?: any) => void;
398
+ setAllCheckedKeysWithParent: (item: TreeOption, cb?: any) => void;
399
+ queryLoadChildNode: (node: TreeOption) => Promise<AnyObject>;
400
+ setDisabled: (data: TreeOption) => void;
401
+ renderLabel: ({ option }: {
402
+ option: TreeOption;
403
+ }) => JSX.Element;
404
+ getLabelName: (curProps: any, option: TreeOption) => {};
405
+ loopTrees: (treeObjs: any) => any;
406
+ transformData: (key: string, trees: TreeOption[], parentNode: TreeOption | null, cb?: any) => TreeOption[];
407
+ calculateRootItems: (trees: TreeOption[], items: TreeOption[]) => TreeOption[];
408
+ searchSetting: () => string;
409
+ onSearch: () => Promise<void>;
410
+ setTreeCheckd: (tree: TreeOption[], checked: boolean) => void;
411
+ setCheckdWithChild: (tree: TreeOption[], checked: boolean) => void;
412
+ setCheckdWithParent: (tree: TreeOption[], checked: boolean) => void;
413
+ checkedAllChange: (checked: boolean) => void;
414
+ updateTreeChecked: (keys: (string | number)[]) => void;
415
+ setCheckedAll: () => void;
416
+ clearAll: () => void;
417
+ closeTag: (tag: {
418
+ [key: string]: any;
419
+ key: string | number;
420
+ }) => void;
421
+ notifySearchClear: () => void;
422
+ getCheckWithLevel: () => any[];
423
+ NButton: any;
424
+ NInput: any;
425
+ NInputGroup: any;
426
+ NCheckbox: any;
427
+ NTree: any;
428
+ NTag: any;
429
+ NIcon: any;
430
+ NSpace: any;
431
+ NGrid: any;
432
+ NGi: any;
433
+ NEmpty: any;
434
+ CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
435
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
436
+ defaultList: {
437
+ type: PropType<((string | number) | {
438
+ [key: string]: any;
439
+ key: string | number;
440
+ })[]>;
441
+ default: () => never[];
442
+ };
443
+ data: {
444
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
445
+ default: () => never[];
446
+ };
447
+ searchPlaceholder: {
448
+ type: StringConstructor;
449
+ default: string;
450
+ };
451
+ searchButtonText: {
452
+ type: StringConstructor;
453
+ default: string;
454
+ };
455
+ wordbook: {
456
+ type: PropType<{
457
+ [key: string]: any;
458
+ parent_id_obj: string;
459
+ parent_name_obj: string;
460
+ user_count_obj?: string | undefined;
461
+ filter_key?: string | undefined;
462
+ }>;
463
+ default: () => {};
464
+ };
465
+ wordbookChild: {
466
+ type: PropType<{
467
+ user_id_obj: string;
468
+ user_name_obj: string;
469
+ user_expand_keys?: string[] | undefined;
470
+ }>;
471
+ default: () => {};
472
+ };
473
+ showCount: {
474
+ type: BooleanConstructor;
475
+ default: boolean;
476
+ };
477
+ showClear: {
478
+ type: BooleanConstructor;
479
+ default: boolean;
480
+ };
481
+ multiple: {
482
+ type: BooleanConstructor;
483
+ default: boolean;
484
+ };
485
+ searchInner: {
486
+ type: BooleanConstructor;
487
+ default: boolean;
488
+ };
489
+ searchFilter: {
490
+ type: PropType<AnyObject>;
491
+ default: () => {};
492
+ };
493
+ treeSetting: {
494
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
495
+ default: () => {};
496
+ };
497
+ queryLoadChildData: {
498
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
499
+ default: undefined;
500
+ };
501
+ queryTreeSearch: {
502
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
503
+ default: () => Promise<never[]>;
504
+ };
505
+ switchTypeProps: {
506
+ type: PropType<AnyObject[]>;
507
+ default: () => never[];
508
+ };
509
+ switchTypeData: {
510
+ type: PropType<AnyObject>;
511
+ default: () => {};
512
+ };
513
+ tagProps: {
514
+ type: PropType<AnyObject>;
515
+ default: () => {};
516
+ };
517
+ }>>, {
518
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
519
+ defaultList: ((string | number) | {
520
+ [key: string]: any;
521
+ key: string | number;
522
+ })[];
523
+ searchPlaceholder: string;
524
+ searchButtonText: string;
525
+ wordbook: {
526
+ [key: string]: any;
527
+ parent_id_obj: string;
528
+ parent_name_obj: string;
529
+ user_count_obj?: string | undefined;
530
+ filter_key?: string | undefined;
531
+ };
532
+ wordbookChild: {
533
+ user_id_obj: string;
534
+ user_name_obj: string;
535
+ user_expand_keys?: string[] | undefined;
536
+ };
537
+ showCount: boolean;
538
+ showClear: boolean;
539
+ multiple: boolean;
540
+ searchInner: boolean;
541
+ searchFilter: AnyObject;
542
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
543
+ queryLoadChildData: (node: TreeOption) => Promise<AnyObject>;
544
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
545
+ switchTypeProps: AnyObject[];
546
+ switchTypeData: AnyObject;
547
+ tagProps: AnyObject;
548
+ }> | import("vue").DefineComponent<{
549
+ defaultList: {
550
+ type: PropType<((string | number) | {
551
+ [key: string]: any;
552
+ key: string | number;
553
+ })[]>;
554
+ default: () => never[];
555
+ };
556
+ data: {
557
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
558
+ default: () => never[];
559
+ };
560
+ searchPlaceholder: {
561
+ type: StringConstructor;
562
+ default: string;
563
+ };
564
+ searchButtonText: {
565
+ type: StringConstructor;
566
+ default: string;
567
+ };
568
+ wordbook: {
569
+ type: PropType<{
570
+ [key: string]: any;
571
+ parent_id_obj: string;
572
+ parent_name_obj: string;
573
+ user_count_obj?: string | undefined;
574
+ filter_key?: string | undefined;
575
+ }>;
576
+ default: () => {};
577
+ };
578
+ wordbookChild: {
579
+ type: PropType<{
580
+ user_id_obj: string;
581
+ user_name_obj: string;
582
+ user_expand_keys?: string[] | undefined;
583
+ }>;
584
+ default: () => {};
585
+ };
586
+ showCount: {
587
+ type: BooleanConstructor;
588
+ default: boolean;
589
+ };
590
+ showClear: {
591
+ type: BooleanConstructor;
592
+ default: boolean;
593
+ };
594
+ multiple: {
595
+ type: BooleanConstructor;
596
+ default: boolean;
597
+ };
598
+ searchInner: {
599
+ type: BooleanConstructor;
600
+ default: boolean;
601
+ };
602
+ searchFilter: {
603
+ type: PropType<AnyObject>;
604
+ default: () => {};
605
+ };
606
+ treeSetting: {
607
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
608
+ default: () => {};
609
+ };
610
+ queryLoadChildData: {
611
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
612
+ default: undefined;
613
+ };
614
+ queryTreeSearch: {
615
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
616
+ default: () => Promise<never[]>;
617
+ };
618
+ showSelectType: {
619
+ type: BooleanConstructor;
620
+ default: boolean;
621
+ };
622
+ roleData: {
623
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
624
+ default: () => never[];
625
+ };
626
+ roleFields: {
627
+ type: ObjectConstructor;
628
+ default: () => {
629
+ label: string;
630
+ key: string;
631
+ children: string;
632
+ };
633
+ };
634
+ }, {
635
+ searchFilterBase: {
636
+ isOpen: boolean;
637
+ multiple: boolean;
638
+ customTitles: string[];
639
+ itemHeight: number;
640
+ };
641
+ labelList: {
642
+ key: string;
643
+ label: string;
644
+ }[];
645
+ labelListName: {
646
+ dept: string;
647
+ role: string;
648
+ };
649
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
650
+ defaultList: {
651
+ type: PropType<((string | number) | {
652
+ [key: string]: any;
653
+ key: string | number;
654
+ })[]>;
655
+ default: () => never[];
656
+ };
657
+ data: {
658
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
659
+ default: () => never[];
660
+ };
661
+ searchPlaceholder: {
662
+ type: StringConstructor;
663
+ default: string;
664
+ };
665
+ searchButtonText: {
666
+ type: StringConstructor;
667
+ default: string;
668
+ };
669
+ wordbook: {
670
+ type: PropType<{
671
+ [key: string]: any;
672
+ parent_id_obj: string;
673
+ parent_name_obj: string;
674
+ user_count_obj?: string | undefined;
675
+ filter_key?: string | undefined;
676
+ }>;
677
+ default: () => {};
678
+ };
679
+ wordbookChild: {
680
+ type: PropType<{
681
+ user_id_obj: string;
682
+ user_name_obj: string;
683
+ user_expand_keys?: string[] | undefined;
684
+ }>;
685
+ default: () => {};
686
+ };
687
+ showCount: {
688
+ type: BooleanConstructor;
689
+ default: boolean;
690
+ };
691
+ showClear: {
692
+ type: BooleanConstructor;
693
+ default: boolean;
694
+ };
695
+ multiple: {
696
+ type: BooleanConstructor;
697
+ default: boolean;
698
+ };
699
+ searchInner: {
700
+ type: BooleanConstructor;
701
+ default: boolean;
702
+ };
703
+ searchFilter: {
704
+ type: PropType<AnyObject>;
705
+ default: () => {};
706
+ };
707
+ treeSetting: {
708
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
709
+ default: () => {};
710
+ };
711
+ queryLoadChildData: {
712
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
713
+ default: undefined;
714
+ };
715
+ queryTreeSearch: {
716
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
717
+ default: () => Promise<never[]>;
718
+ };
719
+ showSelectType: {
720
+ type: BooleanConstructor;
721
+ default: boolean;
722
+ };
723
+ roleData: {
724
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
725
+ default: () => never[];
726
+ };
727
+ roleFields: {
728
+ type: ObjectConstructor;
729
+ default: () => {
730
+ label: string;
731
+ key: string;
732
+ children: string;
733
+ };
734
+ };
735
+ }>> & {}>>;
736
+ emit: any;
737
+ keyword: import("vue").Ref<string>;
738
+ checkedAll: import("vue").Ref<boolean>;
739
+ checkedKeys: import("vue").Ref<(string | number)[]>;
740
+ expandedKeys: import("vue").Ref<(string | number)[]>;
741
+ treeData: import("vue").Ref<{
742
+ [x: string]: unknown;
743
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
744
+ label?: string | undefined;
745
+ checkboxDisabled?: boolean | undefined;
746
+ disabled?: boolean | undefined;
747
+ isLeaf?: boolean | undefined;
748
+ children?: any[] | undefined;
749
+ prefix?: (() => import("vue").VNodeChild) | undefined;
750
+ suffix?: (() => import("vue").VNodeChild) | undefined;
751
+ }[]>;
752
+ tagData: import("vue").Ref<{
753
+ [x: string]: any;
754
+ key: string | number;
755
+ }[]>;
756
+ initTagData: import("vue").Ref<{
757
+ [x: string]: any;
758
+ key: string | number;
759
+ }[]>;
760
+ isSearch: import("vue").Ref<boolean>;
761
+ tempData: TreeOption[];
762
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
763
+ isRemote: import("vue").ComputedRef<boolean>;
764
+ checkStrategyResult: import("vue").ComputedRef<any>;
765
+ isSearchFilter: import("vue").ComputedRef<boolean>;
766
+ curSelectKey: import("vue").Ref<string>;
767
+ mergeSearchFilter: import("vue").ComputedRef<{
768
+ isOpen: boolean;
769
+ multiple: boolean;
770
+ customTitles: string[];
771
+ itemHeight: number;
772
+ }>;
773
+ wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
774
+ caculateTagData: import("vue").ComputedRef<any>;
775
+ treeDataMiddle: any;
776
+ checkedKeysMiddle: any;
777
+ checkedTagsMiddle: any;
778
+ allCheckedKeysMiddle: any;
779
+ attrType: import("vue").ComputedRef<any>;
780
+ keyStr: import("vue").ComputedRef<string>;
781
+ getTreeDataMiddleData: () => void;
782
+ getDeptData: (list: any[], cb?: any) => any[];
783
+ getRoleData: (list: any[], cb?: any) => any[];
784
+ onHandleLabelChange: (item: any) => void;
785
+ setSelectTagData: (tree: TreeOption[], operatorType: string) => void;
786
+ uniqArrObj: (arr: any[], name: string) => any;
787
+ init: () => void;
788
+ getMainData: (tree: TreeOption[], parentNode: TreeOption | null, cb?: any) => void;
789
+ setAllCheckedKeys: (tree: TreeOption, cb?: any) => void;
790
+ setAllCheckedKeysWithChild: (item: TreeOption, cb?: any) => void;
791
+ setAllCheckedKeysWithParent: (item: TreeOption, cb?: any) => void;
792
+ queryLoadChildNode: (node: TreeOption) => Promise<AnyObject>;
793
+ setDisabled: (data: TreeOption) => void;
794
+ renderLabel: ({ option }: {
795
+ option: TreeOption;
796
+ }) => JSX.Element;
797
+ getLabelName: (option: TreeOption) => {};
798
+ transformData: (trees: TreeOption[]) => TreeOption[];
799
+ calculateRootItems: (trees: TreeOption[], items: TreeOption[]) => TreeOption[];
800
+ transformParentNodeName: (trees: TreeOption[], tempContent: any) => TreeOption[];
801
+ searchSetting: () => string;
802
+ onSearch: () => Promise<void>;
803
+ setTreeCheckd: (tree: TreeOption[], checked: boolean) => void;
804
+ setCheckdWithChild: (tree: TreeOption[], checked: boolean) => void;
805
+ setCheckdWithParent: (tree: TreeOption[], checked: boolean) => void;
806
+ checkedAllChange: (checked: boolean) => void;
807
+ uniq: (arr: {
808
+ [key: string]: any;
809
+ key: string | number;
810
+ }[]) => {
811
+ [key: string]: any;
812
+ key: string | number;
813
+ }[];
814
+ setTagData: (tree: TreeOption[]) => void;
815
+ updateTreeChecked: (keys: (string | number)[]) => void;
816
+ setCheckedAll: () => void;
817
+ clearAll: () => void;
818
+ closeTag: (tag: {
819
+ [key: string]: any;
820
+ key: string | number;
821
+ }) => void;
822
+ notifyCheck: (keys: (string | number)[]) => void;
823
+ notifySearchClear: () => void;
824
+ getCheckWithLevel: () => any;
825
+ NButton: any;
826
+ NInput: any;
827
+ NInputGroup: any;
828
+ NCheckbox: any;
829
+ NTree: any;
830
+ NTag: any;
831
+ NIcon: any;
832
+ NSpace: any;
833
+ NGrid: any;
834
+ NGi: any;
835
+ NEmpty: any;
836
+ CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
837
+ SearchMultiple: import("vue").DefineComponent<{
838
+ treeData: {
839
+ type: PropType<any[]>;
840
+ default: () => never[];
841
+ };
842
+ checkedKeys: {
843
+ type: PropType<(string | number)[]>;
844
+ default: () => never[];
845
+ };
846
+ }, {
847
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
848
+ treeData: {
849
+ type: PropType<any[]>;
850
+ default: () => never[];
851
+ };
852
+ checkedKeys: {
853
+ type: PropType<(string | number)[]>;
854
+ default: () => never[];
855
+ };
856
+ }>> & {
857
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
858
+ }>>;
859
+ emit: (event: "notifyCheck", ...args: any[]) => void;
860
+ optionsRef: import("vue").ComputedRef<any[]>;
861
+ list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
862
+ containerProps: {
863
+ ref: import("vue").Ref<any>;
864
+ onScroll: () => void;
865
+ style: Partial<CSSStyleDeclaration>;
866
+ };
867
+ wrapperProps: import("vue").ComputedRef<{
868
+ style: {
869
+ width: string;
870
+ height: string;
871
+ marginTop: string;
872
+ };
873
+ }>;
874
+ containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
875
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
876
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
877
+ checkedChange: (checkList: (string | number)[], meta: {
878
+ actionType: "check" | "uncheck";
879
+ value: string | number;
880
+ }) => void;
881
+ handleCheckKey: (baseKeys: (string | number)[], currentTree: {
882
+ [key: string]: any;
883
+ key: string | number;
884
+ children: any[];
885
+ parentNode: any;
886
+ } | null, value: string | number) => false | undefined;
887
+ findParent: (baseKeys: (string | number)[], currentTree: {
888
+ [key: string]: any;
889
+ key: string | number;
890
+ children: any[];
891
+ parentNode: any;
892
+ }) => false | undefined;
893
+ handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
894
+ [key: string]: any;
895
+ key: string | number;
896
+ children: any[];
897
+ parentNode: any;
898
+ }, value: string | number) => false | undefined;
899
+ findChild: (baseKeys: (string | number)[], children: {
900
+ [key: string]: any;
901
+ key: string | number;
902
+ children: any[];
903
+ parentNode: any;
904
+ }[], value: string | number) => false | undefined;
905
+ checkInitTree: (tree: {
906
+ [key: string]: any;
907
+ key: string | number;
908
+ children: any[];
909
+ parentNode: any;
910
+ }, baseKey: string | number) => false | undefined;
911
+ ref: typeof ref;
912
+ NCheckboxGroup: any;
913
+ NCheckbox: any;
914
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
915
+ treeData: {
916
+ type: PropType<any[]>;
917
+ default: () => never[];
918
+ };
919
+ checkedKeys: {
920
+ type: PropType<(string | number)[]>;
921
+ default: () => never[];
922
+ };
923
+ }>> & {
924
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
925
+ }, {
926
+ treeData: any[];
927
+ checkedKeys: (string | number)[];
928
+ }>;
929
+ SearchOrgAndStaff: import("vue").DefineComponent<{
930
+ treeData: {
931
+ type: PropType<any[]>;
932
+ default: () => never[];
933
+ };
934
+ checkedKeys: {
935
+ type: PropType<(string | number)[]>;
936
+ default: () => never[];
937
+ };
938
+ searchFilter: {
939
+ type: ObjectConstructor;
940
+ default: () => {};
941
+ };
942
+ isMultiple: {
943
+ type: BooleanConstructor;
944
+ default: boolean;
945
+ };
946
+ }, {
947
+ $message: import("naive-ui").MessageApi;
948
+ virtualItemHeight: number;
949
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
950
+ treeData: {
951
+ type: PropType<any[]>;
952
+ default: () => never[];
953
+ };
954
+ checkedKeys: {
955
+ type: PropType<(string | number)[]>;
956
+ default: () => never[];
957
+ };
958
+ searchFilter: {
959
+ type: ObjectConstructor;
960
+ default: () => {};
961
+ };
962
+ isMultiple: {
963
+ type: BooleanConstructor;
964
+ default: boolean;
965
+ };
966
+ }>> & {
967
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
968
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
969
+ }>>;
970
+ emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
971
+ moduleHeight: import("vue").ComputedRef<any>;
972
+ showNums: import("vue").ComputedRef<number>;
973
+ staffDataRef: import("vue").ComputedRef<any[]>;
974
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
975
+ staffContainerProps: {
976
+ ref: import("vue").Ref<any>;
977
+ onScroll: () => void;
978
+ style: Partial<CSSStyleDeclaration>;
979
+ };
980
+ staffWrapperProps: import("vue").ComputedRef<{
981
+ style: {
982
+ width: string;
983
+ height: string;
984
+ marginTop: string;
985
+ };
986
+ }>;
987
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
988
+ orgDataRef: import("vue").ComputedRef<any[]>;
989
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
990
+ orgContainerProps: {
991
+ ref: import("vue").Ref<any>;
992
+ onScroll: () => void;
993
+ style: Partial<CSSStyleDeclaration>;
994
+ };
995
+ orgWrapperProps: import("vue").ComputedRef<{
996
+ style: {
997
+ width: string;
998
+ height: string;
999
+ marginTop: string;
1000
+ };
1001
+ }>;
1002
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1003
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1004
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1005
+ handleClick: (tree: any) => void;
1006
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
1007
+ [key: string]: any;
1008
+ key: string | number;
1009
+ children: any[];
1010
+ parentNode: any;
1011
+ }, value: string | number) => false | undefined;
1012
+ findParent: (baseKeys: (string | number)[], currentTree: {
1013
+ [key: string]: any;
1014
+ key: string | number;
1015
+ children: any[];
1016
+ parentNode: any;
1017
+ }) => false | undefined;
1018
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
1019
+ [key: string]: any;
1020
+ key: string | number;
1021
+ children: any[];
1022
+ parentNode: any;
1023
+ }, value: string | number) => void;
1024
+ handleFindChildren: (treeList: {
1025
+ [key: string]: any;
1026
+ key: string | number;
1027
+ children: any[];
1028
+ parentNode: any;
1029
+ }[]) => void;
1030
+ checkInitTree: (tree: {
1031
+ [key: string]: any;
1032
+ key: string | number;
1033
+ children: any[];
1034
+ parentNode: any;
1035
+ }, baseKey: string | number) => false | undefined;
1036
+ ref: typeof ref;
1037
+ NEmpty: any;
1038
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1039
+ treeData: {
1040
+ type: PropType<any[]>;
1041
+ default: () => never[];
1042
+ };
1043
+ checkedKeys: {
1044
+ type: PropType<(string | number)[]>;
1045
+ default: () => never[];
1046
+ };
1047
+ searchFilter: {
1048
+ type: ObjectConstructor;
1049
+ default: () => {};
1050
+ };
1051
+ isMultiple: {
1052
+ type: BooleanConstructor;
1053
+ default: boolean;
1054
+ };
1055
+ }>> & {
1056
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1057
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1058
+ }, {
1059
+ searchFilter: Record<string, any>;
1060
+ treeData: any[];
1061
+ checkedKeys: (string | number)[];
1062
+ isMultiple: boolean;
1063
+ }>;
1064
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1065
+ defaultList: {
1066
+ type: PropType<((string | number) | {
1067
+ [key: string]: any;
1068
+ key: string | number;
1069
+ })[]>;
1070
+ default: () => never[];
1071
+ };
1072
+ data: {
1073
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1074
+ default: () => never[];
1075
+ };
1076
+ searchPlaceholder: {
1077
+ type: StringConstructor;
1078
+ default: string;
1079
+ };
1080
+ searchButtonText: {
1081
+ type: StringConstructor;
1082
+ default: string;
1083
+ };
1084
+ wordbook: {
1085
+ type: PropType<{
1086
+ [key: string]: any;
1087
+ parent_id_obj: string;
1088
+ parent_name_obj: string;
1089
+ user_count_obj?: string | undefined;
1090
+ filter_key?: string | undefined;
1091
+ }>;
1092
+ default: () => {};
1093
+ };
1094
+ wordbookChild: {
1095
+ type: PropType<{
1096
+ user_id_obj: string;
1097
+ user_name_obj: string;
1098
+ user_expand_keys?: string[] | undefined;
1099
+ }>;
1100
+ default: () => {};
1101
+ };
1102
+ showCount: {
1103
+ type: BooleanConstructor;
1104
+ default: boolean;
1105
+ };
1106
+ showClear: {
1107
+ type: BooleanConstructor;
1108
+ default: boolean;
1109
+ };
1110
+ multiple: {
1111
+ type: BooleanConstructor;
1112
+ default: boolean;
1113
+ };
1114
+ searchInner: {
1115
+ type: BooleanConstructor;
1116
+ default: boolean;
1117
+ };
1118
+ searchFilter: {
1119
+ type: PropType<AnyObject>;
1120
+ default: () => {};
1121
+ };
1122
+ treeSetting: {
1123
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1124
+ default: () => {};
1125
+ };
1126
+ queryLoadChildData: {
1127
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
1128
+ default: undefined;
1129
+ };
1130
+ queryTreeSearch: {
1131
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
1132
+ default: () => Promise<never[]>;
1133
+ };
1134
+ showSelectType: {
1135
+ type: BooleanConstructor;
1136
+ default: boolean;
1137
+ };
1138
+ roleData: {
1139
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1140
+ default: () => never[];
1141
+ };
1142
+ roleFields: {
1143
+ type: ObjectConstructor;
1144
+ default: () => {
1145
+ label: string;
1146
+ key: string;
1147
+ children: string;
1148
+ };
1149
+ };
1150
+ }>>, {
1151
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1152
+ defaultList: ((string | number) | {
1153
+ [key: string]: any;
1154
+ key: string | number;
1155
+ })[];
1156
+ searchPlaceholder: string;
1157
+ searchButtonText: string;
1158
+ wordbook: {
1159
+ [key: string]: any;
1160
+ parent_id_obj: string;
1161
+ parent_name_obj: string;
1162
+ user_count_obj?: string | undefined;
1163
+ filter_key?: string | undefined;
1164
+ };
1165
+ wordbookChild: {
1166
+ user_id_obj: string;
1167
+ user_name_obj: string;
1168
+ user_expand_keys?: string[] | undefined;
1169
+ };
1170
+ showCount: boolean;
1171
+ showClear: boolean;
1172
+ multiple: boolean;
1173
+ searchInner: boolean;
1174
+ searchFilter: AnyObject;
1175
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
1176
+ queryLoadChildData: (node: TreeOption) => Promise<AnyObject>;
1177
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
1178
+ showSelectType: boolean;
1179
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1180
+ roleFields: Record<string, any>;
1181
+ }>>;
1182
+ getProps: import("vue").ComputedRef<Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1183
+ defaultList: {
1184
+ type: PropType<(IKey | ITag)[]>;
1185
+ default: () => never[];
1186
+ };
1187
+ data: {
1188
+ type: PropType<ITreeOption[]>;
1189
+ default: () => never[];
1190
+ };
1191
+ searchPlaceholder: {
1192
+ type: StringConstructor;
1193
+ default: string;
1194
+ };
1195
+ searchButtonText: {
1196
+ type: StringConstructor;
1197
+ default: string;
1198
+ };
1199
+ wordbook: {
1200
+ type: PropType<IWordBook<ITreeOption>>;
1201
+ default: () => {};
1202
+ };
1203
+ wordbookChild: {
1204
+ type: PropType<IWordBookChild<ITreeOption>>;
1205
+ default: () => {};
1206
+ };
1207
+ showCount: {
1208
+ type: BooleanConstructor;
1209
+ default: boolean;
1210
+ };
1211
+ showClear: {
1212
+ type: BooleanConstructor;
1213
+ default: boolean;
1214
+ };
1215
+ multiple: {
1216
+ type: BooleanConstructor;
1217
+ default: boolean;
1218
+ };
1219
+ searchInner: {
1220
+ type: BooleanConstructor;
1221
+ default: boolean;
1222
+ };
1223
+ searchFilter: {
1224
+ type: PropType<AnyObject>;
1225
+ default: () => {};
1226
+ };
1227
+ treeSetting: {
1228
+ type: PropType<ITreeOption>;
1229
+ default: () => {};
1230
+ };
1231
+ queryLoadChildData: {
1232
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
1233
+ default: undefined;
1234
+ };
1235
+ queryTreeSearch: {
1236
+ type: PropType<(keyWork: string) => Promise<Array<AnyObject>>>;
1237
+ default: () => Promise<never[]>;
1238
+ };
1239
+ showSelectType: {
1240
+ type: BooleanConstructor;
1241
+ default: boolean;
1242
+ };
1243
+ roleData: {
1244
+ type: PropType<ITreeOption[]>;
1245
+ default: () => never[];
1246
+ };
1247
+ roleFields: {
1248
+ type: ObjectConstructor;
1249
+ default: () => {
1250
+ label: string;
1251
+ key: string;
1252
+ children: string;
1253
+ };
1254
+ };
1255
+ switchTypeProps: {
1256
+ type: PropType<AnyObject[]>;
1257
+ default: () => never[];
1258
+ };
1259
+ switchTypeData: {
1260
+ type: PropType<AnyObject>;
1261
+ default: () => {};
1262
+ };
1263
+ tagProps: {
1264
+ type: PropType<AnyObject>;
1265
+ default: () => {};
1266
+ };
1267
+ }>> & {
1268
+ onCheck?: ((...args: any[]) => any) | undefined;
1269
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
1270
+ }>> & {
1271
+ [x: string]: unknown;
1272
+ }>;
1273
+ emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
1274
+ getCheckWithLevel: () => any;
1275
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1276
+ defaultList: {
1277
+ type: PropType<(IKey | ITag)[]>;
1278
+ default: () => never[];
1279
+ };
1280
+ data: {
1281
+ type: PropType<ITreeOption[]>;
1282
+ default: () => never[];
1283
+ };
1284
+ searchPlaceholder: {
1285
+ type: StringConstructor;
1286
+ default: string;
1287
+ };
1288
+ searchButtonText: {
1289
+ type: StringConstructor;
1290
+ default: string;
1291
+ };
1292
+ wordbook: {
1293
+ type: PropType<IWordBook<ITreeOption>>;
1294
+ default: () => {};
1295
+ };
1296
+ wordbookChild: {
1297
+ type: PropType<IWordBookChild<ITreeOption>>;
1298
+ default: () => {};
1299
+ };
1300
+ showCount: {
1301
+ type: BooleanConstructor;
1302
+ default: boolean;
1303
+ };
1304
+ showClear: {
1305
+ type: BooleanConstructor;
1306
+ default: boolean;
1307
+ };
1308
+ multiple: {
1309
+ type: BooleanConstructor;
1310
+ default: boolean;
1311
+ };
1312
+ searchInner: {
1313
+ type: BooleanConstructor;
1314
+ default: boolean;
1315
+ };
1316
+ searchFilter: {
1317
+ type: PropType<AnyObject>;
1318
+ default: () => {};
1319
+ };
1320
+ treeSetting: {
1321
+ type: PropType<ITreeOption>;
1322
+ default: () => {};
1323
+ };
1324
+ queryLoadChildData: {
1325
+ type: PropType<(node: TreeOption) => Promise<AnyObject>>;
1326
+ default: undefined;
1327
+ };
1328
+ queryTreeSearch: {
1329
+ type: PropType<(keyWork: string) => Promise<Array<AnyObject>>>;
1330
+ default: () => Promise<never[]>;
1331
+ };
1332
+ showSelectType: {
1333
+ type: BooleanConstructor;
1334
+ default: boolean;
1335
+ };
1336
+ roleData: {
1337
+ type: PropType<ITreeOption[]>;
1338
+ default: () => never[];
1339
+ };
1340
+ roleFields: {
1341
+ type: ObjectConstructor;
1342
+ default: () => {
1343
+ label: string;
1344
+ key: string;
1345
+ children: string;
1346
+ };
1347
+ };
1348
+ switchTypeProps: {
1349
+ type: PropType<AnyObject[]>;
1350
+ default: () => never[];
1351
+ };
1352
+ switchTypeData: {
1353
+ type: PropType<AnyObject>;
1354
+ default: () => {};
1355
+ };
1356
+ tagProps: {
1357
+ type: PropType<AnyObject>;
1358
+ default: () => {};
1359
+ };
1360
+ }>> & {
1361
+ onCheck?: ((...args: any[]) => any) | undefined;
1362
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
1363
+ }, {
1364
+ data: ITreeOption[];
1365
+ defaultList: (IKey | ITag)[];
1366
+ searchPlaceholder: string;
1367
+ searchButtonText: string;
1368
+ wordbook: IWordBook<ITreeOption>;
1369
+ wordbookChild: IWordBookChild<ITreeOption>;
1370
+ showCount: boolean;
1371
+ showClear: boolean;
1372
+ multiple: boolean;
1373
+ searchInner: boolean;
1374
+ searchFilter: AnyObject;
1375
+ treeSetting: ITreeOption;
1376
+ queryLoadChildData: (node: TreeOption) => Promise<AnyObject>;
1377
+ queryTreeSearch: (keyWork: string) => Promise<Array<AnyObject>>;
1378
+ showSelectType: boolean;
1379
+ roleData: ITreeOption[];
1380
+ roleFields: Record<string, any>;
1381
+ switchTypeProps: AnyObject[];
1382
+ switchTypeData: AnyObject;
1383
+ tagProps: AnyObject;
1384
+ }>;
1385
+ export default _default;