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
@@ -180,20 +180,21 @@ declare const _default: import("vue").DefineComponent<{
180
180
  children: string;
181
181
  };
182
182
  };
183
- }, {
184
- searchFilterBase: {
185
- isOpen: boolean;
186
- multiple: boolean;
187
- customTitles: string[];
188
- itemHeight: number;
183
+ switchTypeProps: {
184
+ type: PropType<import("../../../../shared/types").AnyObject[]>;
185
+ default: () => never[];
189
186
  };
190
- labelList: {
191
- key: string;
192
- label: string;
193
- }[];
194
- labelListName: {
195
- dept: string;
196
- role: string;
187
+ switchTypeData: {
188
+ type: PropType<import("../../../../shared/types").AnyObject>;
189
+ default: () => {};
190
+ };
191
+ tagProps: {
192
+ type: PropType<import("../../../../shared/types").AnyObject>;
193
+ default: () => {};
194
+ };
195
+ }, {
196
+ $attrs: {
197
+ [x: string]: unknown;
197
198
  };
198
199
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
199
200
  defaultList: {
@@ -281,338 +282,1110 @@ declare const _default: import("vue").DefineComponent<{
281
282
  children: string;
282
283
  };
283
284
  };
284
- }>> & {
285
- onCheck?: ((...args: any[]) => any) | undefined;
286
- onCheckWithLevel?: ((...args: any[]) => any) | undefined;
287
- }>>;
288
- emit: (event: "check" | "checkWithLevel", ...args: any[]) => void;
289
- keyword: import("vue").Ref<string>;
290
- checkedAll: import("vue").Ref<boolean>;
291
- checkedKeys: import("vue").Ref<(string | number)[]>;
292
- expandedKeys: import("vue").Ref<(string | number)[]>;
293
- treeData: import("vue").Ref<{
294
- [x: string]: unknown;
295
- key?: import("naive-ui/es/tree/src/interface").Key | undefined;
296
- label?: string | undefined;
297
- checkboxDisabled?: boolean | undefined;
298
- disabled?: boolean | undefined;
299
- isLeaf?: boolean | undefined;
300
- children?: any[] | undefined;
301
- prefix?: (() => import("vue").VNodeChild) | undefined;
302
- suffix?: (() => import("vue").VNodeChild) | undefined;
303
- }[]>;
304
- tagData: import("vue").Ref<{
305
- [x: string]: any;
306
- key: string | number;
307
- }[]>;
308
- initTagData: import("vue").Ref<{
309
- [x: string]: any;
310
- key: string | number;
311
- }[]>;
312
- isSearch: import("vue").Ref<boolean>;
313
- tempData: import("naive-ui").TreeOption[];
314
- allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
315
- isRemote: import("vue").ComputedRef<boolean>;
316
- checkStrategyResult: import("vue").ComputedRef<any>;
317
- isSearchFilter: import("vue").ComputedRef<boolean>;
318
- curSelectKey: import("vue").Ref<string>;
319
- mergeSearchFilter: import("vue").ComputedRef<{
320
- isOpen: boolean;
321
- multiple: boolean;
322
- customTitles: string[];
323
- itemHeight: number;
324
- }>;
325
- wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
326
- caculateTagData: import("vue").ComputedRef<any>;
327
- treeDataMiddle: any;
328
- checkedKeysMiddle: any;
329
- checkedTagsMiddle: any;
330
- allCheckedKeysMiddle: any;
331
- attrType: import("vue").ComputedRef<any>;
332
- keyStr: import("vue").ComputedRef<string>;
333
- getTreeDataMiddleData: () => void;
334
- getDeptData: (list: any[], cb?: any) => any[];
335
- getRoleData: (list: any[], cb?: any) => any[];
336
- onHandleLabelChange: (item: any) => void;
337
- setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
338
- uniqArrObj: (arr: any[], name: string) => any;
339
- init: () => void;
340
- getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
341
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
342
- setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
343
- setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
344
- queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>;
345
- setDisabled: (data: import("naive-ui").TreeOption) => void;
346
- renderLabel: ({ option }: {
347
- option: import("naive-ui").TreeOption;
348
- }) => JSX.Element;
349
- getLabelName: (option: import("naive-ui").TreeOption) => {};
350
- transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
351
- calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
352
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
353
- searchSetting: () => string;
354
- onSearch: () => Promise<void>;
355
- setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
356
- setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
357
- setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
358
- checkedAllChange: (checked: boolean) => void;
359
- uniq: (arr: {
360
- [key: string]: any;
361
- key: string | number;
362
- }[]) => {
363
- [key: string]: any;
364
- key: string | number;
365
- }[];
366
- setTagData: (tree: import("naive-ui").TreeOption[]) => void;
367
- updateTreeChecked: (keys: (string | number)[]) => void;
368
- setCheckedAll: () => void;
369
- clearAll: () => void;
370
- closeTag: (tag: {
371
- [key: string]: any;
372
- key: string | number;
373
- }) => void;
374
- notifyCheck: (keys: (string | number)[]) => void;
375
- notifySearchClear: () => void;
376
- getCheckWithLevel: () => any;
377
- NButton: any;
378
- NInput: any;
379
- NInputGroup: any;
380
- NCheckbox: any;
381
- NTree: any;
382
- NTag: any;
383
- NIcon: any;
384
- NSpace: any;
385
- NGrid: any;
386
- NGi: any;
387
- NEmpty: any;
388
- 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<{}>>, {}>;
389
- SearchMultiple: import("vue").DefineComponent<{
390
- treeData: {
391
- type: PropType<any[]>;
392
- default: () => never[];
393
- };
394
- checkedKeys: {
395
- type: PropType<(string | number)[]>;
396
- default: () => never[];
397
- };
398
- }, {
399
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
400
- treeData: {
401
- type: PropType<any[]>;
402
- default: () => never[];
403
- };
404
- checkedKeys: {
405
- type: PropType<(string | number)[]>;
406
- default: () => never[];
407
- };
408
- }>> & {
409
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
410
- }>>;
411
- emit: (event: "notifyCheck", ...args: any[]) => void;
412
- optionsRef: import("vue").ComputedRef<any[]>;
413
- list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
414
- containerProps: {
415
- ref: import("vue").Ref<any>;
416
- onScroll: () => void;
417
- style: Partial<CSSStyleDeclaration>;
418
- };
419
- wrapperProps: import("vue").ComputedRef<{
420
- style: {
421
- width: string;
422
- height: string;
423
- marginTop: string;
424
- };
425
- }>;
426
- containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
427
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
428
- showSelectKeys: import("vue").Ref<(string | number)[]>;
429
- checkedChange: (checkList: (string | number)[], meta: {
430
- actionType: "check" | "uncheck";
431
- value: string | number;
432
- }) => void;
433
- handleCheckKey: (baseKeys: (string | number)[], currentTree: {
434
- [key: string]: any;
435
- key: string | number;
436
- children: any[];
437
- parentNode: any;
438
- } | null, value: string | number) => false | undefined;
439
- findParent: (baseKeys: (string | number)[], currentTree: {
440
- [key: string]: any;
441
- key: string | number;
442
- children: any[];
443
- parentNode: any;
444
- }) => false | undefined;
445
- handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
285
+ switchTypeProps: {
286
+ type: PropType<import("../../../../shared/types").AnyObject[]>;
287
+ default: () => never[];
288
+ };
289
+ switchTypeData: {
290
+ type: PropType<import("../../../../shared/types").AnyObject>;
291
+ default: () => {};
292
+ };
293
+ tagProps: {
294
+ type: PropType<import("../../../../shared/types").AnyObject>;
295
+ default: () => {};
296
+ };
297
+ }>> & {
298
+ onCheck?: ((...args: any[]) => any) | undefined;
299
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
300
+ }>>;
301
+ __emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
302
+ selectPersonRef: import("vue").Ref<any>;
303
+ isComponent: import("vue").ComputedRef<import("vue").DefineComponent<{
304
+ defaultList: {
305
+ type: PropType<((string | number) | {
306
+ [key: string]: any;
307
+ key: string | number;
308
+ })[]>;
309
+ default: () => never[];
310
+ };
311
+ data: {
312
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
313
+ default: () => never[];
314
+ };
315
+ searchPlaceholder: {
316
+ type: StringConstructor;
317
+ default: string;
318
+ };
319
+ searchButtonText: {
320
+ type: StringConstructor;
321
+ default: string;
322
+ };
323
+ wordbook: {
324
+ type: PropType<{
325
+ [key: string]: any;
326
+ parent_id_obj: string;
327
+ parent_name_obj: string;
328
+ user_count_obj?: string | undefined;
329
+ filter_key?: string | undefined;
330
+ }>;
331
+ default: () => {};
332
+ };
333
+ wordbookChild: {
334
+ type: PropType<{
335
+ user_id_obj: string;
336
+ user_name_obj: string;
337
+ user_expand_keys?: string[] | undefined;
338
+ }>;
339
+ default: () => {};
340
+ };
341
+ showCount: {
342
+ type: BooleanConstructor;
343
+ default: boolean;
344
+ };
345
+ showClear: {
346
+ type: BooleanConstructor;
347
+ default: boolean;
348
+ };
349
+ multiple: {
350
+ type: BooleanConstructor;
351
+ default: boolean;
352
+ };
353
+ searchInner: {
354
+ type: BooleanConstructor;
355
+ default: boolean;
356
+ };
357
+ searchFilter: {
358
+ type: PropType<import("../../../../shared/types").AnyObject>;
359
+ default: () => {};
360
+ };
361
+ treeSetting: {
362
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject>;
363
+ default: () => {};
364
+ };
365
+ queryLoadChildData: {
366
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>>;
367
+ default: undefined;
368
+ };
369
+ queryTreeSearch: {
370
+ type: PropType<(keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>>;
371
+ default: () => Promise<never[]>;
372
+ };
373
+ switchTypeProps: {
374
+ type: PropType<import("../../../../shared/types").AnyObject[]>;
375
+ default: () => never[];
376
+ };
377
+ switchTypeData: {
378
+ type: PropType<import("../../../../shared/types").AnyObject>;
379
+ default: () => {};
380
+ };
381
+ tagProps: {
382
+ type: PropType<import("../../../../shared/types").AnyObject>;
383
+ default: () => {};
384
+ };
385
+ }, {
386
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
387
+ defaultList: {
388
+ type: PropType<((string | number) | {
389
+ [key: string]: any;
390
+ key: string | number;
391
+ })[]>;
392
+ default: () => never[];
393
+ };
394
+ data: {
395
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
396
+ default: () => never[];
397
+ };
398
+ searchPlaceholder: {
399
+ type: StringConstructor;
400
+ default: string;
401
+ };
402
+ searchButtonText: {
403
+ type: StringConstructor;
404
+ default: string;
405
+ };
406
+ wordbook: {
407
+ type: PropType<{
408
+ [key: string]: any;
409
+ parent_id_obj: string;
410
+ parent_name_obj: string;
411
+ user_count_obj?: string | undefined;
412
+ filter_key?: string | undefined;
413
+ }>;
414
+ default: () => {};
415
+ };
416
+ wordbookChild: {
417
+ type: PropType<{
418
+ user_id_obj: string;
419
+ user_name_obj: string;
420
+ user_expand_keys?: string[] | undefined;
421
+ }>;
422
+ default: () => {};
423
+ };
424
+ showCount: {
425
+ type: BooleanConstructor;
426
+ default: boolean;
427
+ };
428
+ showClear: {
429
+ type: BooleanConstructor;
430
+ default: boolean;
431
+ };
432
+ multiple: {
433
+ type: BooleanConstructor;
434
+ default: boolean;
435
+ };
436
+ searchInner: {
437
+ type: BooleanConstructor;
438
+ default: boolean;
439
+ };
440
+ searchFilter: {
441
+ type: PropType<import("../../../../shared/types").AnyObject>;
442
+ default: () => {};
443
+ };
444
+ treeSetting: {
445
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject>;
446
+ default: () => {};
447
+ };
448
+ queryLoadChildData: {
449
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>>;
450
+ default: undefined;
451
+ };
452
+ queryTreeSearch: {
453
+ type: PropType<(keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>>;
454
+ default: () => Promise<never[]>;
455
+ };
456
+ switchTypeProps: {
457
+ type: PropType<import("../../../../shared/types").AnyObject[]>;
458
+ default: () => never[];
459
+ };
460
+ switchTypeData: {
461
+ type: PropType<import("../../../../shared/types").AnyObject>;
462
+ default: () => {};
463
+ };
464
+ tagProps: {
465
+ type: PropType<import("../../../../shared/types").AnyObject>;
466
+ default: () => {};
467
+ };
468
+ }>> & {}>>;
469
+ emit: any;
470
+ keyword: import("vue").Ref<string>;
471
+ checkedAll: import("vue").Ref<boolean>;
472
+ checkedKeys: import("vue").Ref<(string | number)[]>;
473
+ expandedKeys: import("vue").Ref<(string | number)[]>;
474
+ treeData: import("vue").Ref<{
475
+ [x: string]: unknown;
476
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
477
+ label?: string | undefined;
478
+ checkboxDisabled?: boolean | undefined;
479
+ disabled?: boolean | undefined;
480
+ isLeaf?: boolean | undefined;
481
+ children?: any[] | undefined;
482
+ prefix?: (() => import("vue").VNodeChild) | undefined;
483
+ suffix?: (() => import("vue").VNodeChild) | undefined;
484
+ }[]>;
485
+ isSearch: import("vue").Ref<boolean>;
486
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
487
+ curSelectKey: any;
488
+ treeDataMiddle: any;
489
+ checkedTagsMiddle: import("vue").Ref<any[]>;
490
+ allCheckedKeysMiddle: any;
491
+ isSearchFilter: import("vue").ComputedRef<boolean>;
492
+ keyStr: import("vue").ComputedRef<string | number>;
493
+ onHandleLabelChange: (item: any) => void;
494
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
495
+ addTagToTemp: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
496
+ init: () => void;
497
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
498
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
499
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
500
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>;
501
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
502
+ renderLabel: ({ option }: {
503
+ option: import("naive-ui").TreeOption;
504
+ }) => JSX.Element;
505
+ getLabelName: (curProps: any, option: import("naive-ui").TreeOption) => {};
506
+ loopTrees: (treeObjs: any) => any;
507
+ transformData: (key: string, trees: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => import("naive-ui").TreeOption[];
508
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
509
+ searchSetting: () => string;
510
+ onSearch: () => Promise<void>;
511
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
512
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
513
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
514
+ checkedAllChange: (checked: boolean) => void;
515
+ updateTreeChecked: (keys: (string | number)[]) => void;
516
+ setCheckedAll: () => void;
517
+ clearAll: () => void;
518
+ closeTag: (tag: {
519
+ [key: string]: any;
520
+ key: string | number;
521
+ }) => void;
522
+ notifySearchClear: () => void;
523
+ getCheckWithLevel: () => any[];
524
+ NButton: any;
525
+ NInput: any;
526
+ NInputGroup: any;
527
+ NCheckbox: any;
528
+ NTree: any;
529
+ NTag: any;
530
+ NIcon: any;
531
+ NSpace: any;
532
+ NGrid: any;
533
+ NGi: any;
534
+ NEmpty: any;
535
+ 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<{}>>, {}>;
536
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
537
+ defaultList: {
538
+ type: PropType<((string | number) | {
539
+ [key: string]: any;
540
+ key: string | number;
541
+ })[]>;
542
+ default: () => never[];
543
+ };
544
+ data: {
545
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
546
+ default: () => never[];
547
+ };
548
+ searchPlaceholder: {
549
+ type: StringConstructor;
550
+ default: string;
551
+ };
552
+ searchButtonText: {
553
+ type: StringConstructor;
554
+ default: string;
555
+ };
556
+ wordbook: {
557
+ type: PropType<{
558
+ [key: string]: any;
559
+ parent_id_obj: string;
560
+ parent_name_obj: string;
561
+ user_count_obj?: string | undefined;
562
+ filter_key?: string | undefined;
563
+ }>;
564
+ default: () => {};
565
+ };
566
+ wordbookChild: {
567
+ type: PropType<{
568
+ user_id_obj: string;
569
+ user_name_obj: string;
570
+ user_expand_keys?: string[] | undefined;
571
+ }>;
572
+ default: () => {};
573
+ };
574
+ showCount: {
575
+ type: BooleanConstructor;
576
+ default: boolean;
577
+ };
578
+ showClear: {
579
+ type: BooleanConstructor;
580
+ default: boolean;
581
+ };
582
+ multiple: {
583
+ type: BooleanConstructor;
584
+ default: boolean;
585
+ };
586
+ searchInner: {
587
+ type: BooleanConstructor;
588
+ default: boolean;
589
+ };
590
+ searchFilter: {
591
+ type: PropType<import("../../../../shared/types").AnyObject>;
592
+ default: () => {};
593
+ };
594
+ treeSetting: {
595
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject>;
596
+ default: () => {};
597
+ };
598
+ queryLoadChildData: {
599
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>>;
600
+ default: undefined;
601
+ };
602
+ queryTreeSearch: {
603
+ type: PropType<(keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>>;
604
+ default: () => Promise<never[]>;
605
+ };
606
+ switchTypeProps: {
607
+ type: PropType<import("../../../../shared/types").AnyObject[]>;
608
+ default: () => never[];
609
+ };
610
+ switchTypeData: {
611
+ type: PropType<import("../../../../shared/types").AnyObject>;
612
+ default: () => {};
613
+ };
614
+ tagProps: {
615
+ type: PropType<import("../../../../shared/types").AnyObject>;
616
+ default: () => {};
617
+ };
618
+ }>>, {
619
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[];
620
+ defaultList: ((string | number) | {
621
+ [key: string]: any;
622
+ key: string | number;
623
+ })[];
624
+ searchPlaceholder: string;
625
+ searchButtonText: string;
626
+ wordbook: {
627
+ [key: string]: any;
628
+ parent_id_obj: string;
629
+ parent_name_obj: string;
630
+ user_count_obj?: string | undefined;
631
+ filter_key?: string | undefined;
632
+ };
633
+ wordbookChild: {
634
+ user_id_obj: string;
635
+ user_name_obj: string;
636
+ user_expand_keys?: string[] | undefined;
637
+ };
638
+ showCount: boolean;
639
+ showClear: boolean;
640
+ multiple: boolean;
641
+ searchInner: boolean;
642
+ searchFilter: import("../../../../shared/types").AnyObject;
643
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject;
644
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>;
645
+ queryTreeSearch: (keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>;
646
+ switchTypeProps: import("../../../../shared/types").AnyObject[];
647
+ switchTypeData: import("../../../../shared/types").AnyObject;
648
+ tagProps: import("../../../../shared/types").AnyObject;
649
+ }> | import("vue").DefineComponent<{
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> & import("../../../../shared/types").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<import("../../../../shared/types").AnyObject>;
705
+ default: () => {};
706
+ };
707
+ treeSetting: {
708
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject>;
709
+ default: () => {};
710
+ };
711
+ queryLoadChildData: {
712
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>>;
713
+ default: undefined;
714
+ };
715
+ queryTreeSearch: {
716
+ type: PropType<(keyWork: string) => Promise<import("../../../../shared/types").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> & import("../../../../shared/types").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
+ searchFilterBase: {
737
+ isOpen: boolean;
738
+ multiple: boolean;
739
+ customTitles: string[];
740
+ itemHeight: number;
741
+ };
742
+ labelList: {
743
+ key: string;
744
+ label: string;
745
+ }[];
746
+ labelListName: {
747
+ dept: string;
748
+ role: string;
749
+ };
750
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
751
+ defaultList: {
752
+ type: PropType<((string | number) | {
753
+ [key: string]: any;
754
+ key: string | number;
755
+ })[]>;
756
+ default: () => never[];
757
+ };
758
+ data: {
759
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
760
+ default: () => never[];
761
+ };
762
+ searchPlaceholder: {
763
+ type: StringConstructor;
764
+ default: string;
765
+ };
766
+ searchButtonText: {
767
+ type: StringConstructor;
768
+ default: string;
769
+ };
770
+ wordbook: {
771
+ type: PropType<{
772
+ [key: string]: any;
773
+ parent_id_obj: string;
774
+ parent_name_obj: string;
775
+ user_count_obj?: string | undefined;
776
+ filter_key?: string | undefined;
777
+ }>;
778
+ default: () => {};
779
+ };
780
+ wordbookChild: {
781
+ type: PropType<{
782
+ user_id_obj: string;
783
+ user_name_obj: string;
784
+ user_expand_keys?: string[] | undefined;
785
+ }>;
786
+ default: () => {};
787
+ };
788
+ showCount: {
789
+ type: BooleanConstructor;
790
+ default: boolean;
791
+ };
792
+ showClear: {
793
+ type: BooleanConstructor;
794
+ default: boolean;
795
+ };
796
+ multiple: {
797
+ type: BooleanConstructor;
798
+ default: boolean;
799
+ };
800
+ searchInner: {
801
+ type: BooleanConstructor;
802
+ default: boolean;
803
+ };
804
+ searchFilter: {
805
+ type: PropType<import("../../../../shared/types").AnyObject>;
806
+ default: () => {};
807
+ };
808
+ treeSetting: {
809
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject>;
810
+ default: () => {};
811
+ };
812
+ queryLoadChildData: {
813
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>>;
814
+ default: undefined;
815
+ };
816
+ queryTreeSearch: {
817
+ type: PropType<(keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>>;
818
+ default: () => Promise<never[]>;
819
+ };
820
+ showSelectType: {
821
+ type: BooleanConstructor;
822
+ default: boolean;
823
+ };
824
+ roleData: {
825
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
826
+ default: () => never[];
827
+ };
828
+ roleFields: {
829
+ type: ObjectConstructor;
830
+ default: () => {
831
+ label: string;
832
+ key: string;
833
+ children: string;
834
+ };
835
+ };
836
+ }>> & {}>>;
837
+ emit: any;
838
+ keyword: import("vue").Ref<string>;
839
+ checkedAll: import("vue").Ref<boolean>;
840
+ checkedKeys: import("vue").Ref<(string | number)[]>;
841
+ expandedKeys: import("vue").Ref<(string | number)[]>;
842
+ treeData: import("vue").Ref<{
843
+ [x: string]: unknown;
844
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
845
+ label?: string | undefined;
846
+ checkboxDisabled?: boolean | undefined;
847
+ disabled?: boolean | undefined;
848
+ isLeaf?: boolean | undefined;
849
+ children?: any[] | undefined;
850
+ prefix?: (() => import("vue").VNodeChild) | undefined;
851
+ suffix?: (() => import("vue").VNodeChild) | undefined;
852
+ }[]>;
853
+ tagData: import("vue").Ref<{
854
+ [x: string]: any;
855
+ key: string | number;
856
+ }[]>;
857
+ initTagData: import("vue").Ref<{
858
+ [x: string]: any;
859
+ key: string | number;
860
+ }[]>;
861
+ isSearch: import("vue").Ref<boolean>;
862
+ tempData: import("naive-ui").TreeOption[];
863
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
864
+ isRemote: import("vue").ComputedRef<boolean>;
865
+ checkStrategyResult: import("vue").ComputedRef<any>;
866
+ isSearchFilter: import("vue").ComputedRef<boolean>;
867
+ curSelectKey: import("vue").Ref<string>;
868
+ mergeSearchFilter: import("vue").ComputedRef<{
869
+ isOpen: boolean;
870
+ multiple: boolean;
871
+ customTitles: string[];
872
+ itemHeight: number;
873
+ }>;
874
+ wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
875
+ caculateTagData: import("vue").ComputedRef<any>;
876
+ treeDataMiddle: any;
877
+ checkedKeysMiddle: any;
878
+ checkedTagsMiddle: any;
879
+ allCheckedKeysMiddle: any;
880
+ attrType: import("vue").ComputedRef<any>;
881
+ keyStr: import("vue").ComputedRef<string>;
882
+ getTreeDataMiddleData: () => void;
883
+ getDeptData: (list: any[], cb?: any) => any[];
884
+ getRoleData: (list: any[], cb?: any) => any[];
885
+ onHandleLabelChange: (item: any) => void;
886
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
887
+ uniqArrObj: (arr: any[], name: string) => any;
888
+ init: () => void;
889
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
890
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
891
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
892
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
893
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>;
894
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
895
+ renderLabel: ({ option }: {
896
+ option: import("naive-ui").TreeOption;
897
+ }) => JSX.Element;
898
+ getLabelName: (option: import("naive-ui").TreeOption) => {};
899
+ transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
900
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
901
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
902
+ searchSetting: () => string;
903
+ onSearch: () => Promise<void>;
904
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
905
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
906
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
907
+ checkedAllChange: (checked: boolean) => void;
908
+ uniq: (arr: {
909
+ [key: string]: any;
910
+ key: string | number;
911
+ }[]) => {
912
+ [key: string]: any;
913
+ key: string | number;
914
+ }[];
915
+ setTagData: (tree: import("naive-ui").TreeOption[]) => void;
916
+ updateTreeChecked: (keys: (string | number)[]) => void;
917
+ setCheckedAll: () => void;
918
+ clearAll: () => void;
919
+ closeTag: (tag: {
920
+ [key: string]: any;
921
+ key: string | number;
922
+ }) => void;
923
+ notifyCheck: (keys: (string | number)[]) => void;
924
+ notifySearchClear: () => void;
925
+ getCheckWithLevel: () => any;
926
+ NButton: any;
927
+ NInput: any;
928
+ NInputGroup: any;
929
+ NCheckbox: any;
930
+ NTree: any;
931
+ NTag: any;
932
+ NIcon: any;
933
+ NSpace: any;
934
+ NGrid: any;
935
+ NGi: any;
936
+ NEmpty: any;
937
+ 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<{}>>, {}>;
938
+ SearchMultiple: import("vue").DefineComponent<{
939
+ treeData: {
940
+ type: PropType<any[]>;
941
+ default: () => never[];
942
+ };
943
+ checkedKeys: {
944
+ type: PropType<(string | number)[]>;
945
+ default: () => never[];
946
+ };
947
+ }, {
948
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
949
+ treeData: {
950
+ type: PropType<any[]>;
951
+ default: () => never[];
952
+ };
953
+ checkedKeys: {
954
+ type: PropType<(string | number)[]>;
955
+ default: () => never[];
956
+ };
957
+ }>> & {
958
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
959
+ }>>;
960
+ emit: (event: "notifyCheck", ...args: any[]) => void;
961
+ optionsRef: import("vue").ComputedRef<any[]>;
962
+ list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
963
+ containerProps: {
964
+ ref: import("vue").Ref<any>;
965
+ onScroll: () => void;
966
+ style: Partial<CSSStyleDeclaration>;
967
+ };
968
+ wrapperProps: import("vue").ComputedRef<{
969
+ style: {
970
+ width: string;
971
+ height: string;
972
+ marginTop: string;
973
+ };
974
+ }>;
975
+ containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
976
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
977
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
978
+ checkedChange: (checkList: (string | number)[], meta: {
979
+ actionType: "check" | "uncheck";
980
+ value: string | number;
981
+ }) => void;
982
+ handleCheckKey: (baseKeys: (string | number)[], currentTree: {
983
+ [key: string]: any;
984
+ key: string | number;
985
+ children: any[];
986
+ parentNode: any;
987
+ } | null, value: string | number) => false | undefined;
988
+ findParent: (baseKeys: (string | number)[], currentTree: {
989
+ [key: string]: any;
990
+ key: string | number;
991
+ children: any[];
992
+ parentNode: any;
993
+ }) => false | undefined;
994
+ handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
995
+ [key: string]: any;
996
+ key: string | number;
997
+ children: any[];
998
+ parentNode: any;
999
+ }, value: string | number) => false | undefined;
1000
+ findChild: (baseKeys: (string | number)[], children: {
1001
+ [key: string]: any;
1002
+ key: string | number;
1003
+ children: any[];
1004
+ parentNode: any;
1005
+ }[], value: string | number) => false | undefined;
1006
+ checkInitTree: (tree: {
1007
+ [key: string]: any;
1008
+ key: string | number;
1009
+ children: any[];
1010
+ parentNode: any;
1011
+ }, baseKey: string | number) => false | undefined;
1012
+ ref: typeof ref;
1013
+ NCheckboxGroup: any;
1014
+ NCheckbox: any;
1015
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1016
+ treeData: {
1017
+ type: PropType<any[]>;
1018
+ default: () => never[];
1019
+ };
1020
+ checkedKeys: {
1021
+ type: PropType<(string | number)[]>;
1022
+ default: () => never[];
1023
+ };
1024
+ }>> & {
1025
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1026
+ }, {
1027
+ treeData: any[];
1028
+ checkedKeys: (string | number)[];
1029
+ }>;
1030
+ SearchOrgAndStaff: import("vue").DefineComponent<{
1031
+ treeData: {
1032
+ type: PropType<any[]>;
1033
+ default: () => never[];
1034
+ };
1035
+ checkedKeys: {
1036
+ type: PropType<(string | number)[]>;
1037
+ default: () => never[];
1038
+ };
1039
+ searchFilter: {
1040
+ type: ObjectConstructor;
1041
+ default: () => {};
1042
+ };
1043
+ isMultiple: {
1044
+ type: BooleanConstructor;
1045
+ default: boolean;
1046
+ };
1047
+ }, {
1048
+ $message: import("naive-ui").MessageApi;
1049
+ virtualItemHeight: number;
1050
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1051
+ treeData: {
1052
+ type: PropType<any[]>;
1053
+ default: () => never[];
1054
+ };
1055
+ checkedKeys: {
1056
+ type: PropType<(string | number)[]>;
1057
+ default: () => never[];
1058
+ };
1059
+ searchFilter: {
1060
+ type: ObjectConstructor;
1061
+ default: () => {};
1062
+ };
1063
+ isMultiple: {
1064
+ type: BooleanConstructor;
1065
+ default: boolean;
1066
+ };
1067
+ }>> & {
1068
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1069
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1070
+ }>>;
1071
+ emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
1072
+ moduleHeight: import("vue").ComputedRef<any>;
1073
+ showNums: import("vue").ComputedRef<number>;
1074
+ staffDataRef: import("vue").ComputedRef<any[]>;
1075
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1076
+ staffContainerProps: {
1077
+ ref: import("vue").Ref<any>;
1078
+ onScroll: () => void;
1079
+ style: Partial<CSSStyleDeclaration>;
1080
+ };
1081
+ staffWrapperProps: import("vue").ComputedRef<{
1082
+ style: {
1083
+ width: string;
1084
+ height: string;
1085
+ marginTop: string;
1086
+ };
1087
+ }>;
1088
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1089
+ orgDataRef: import("vue").ComputedRef<any[]>;
1090
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1091
+ orgContainerProps: {
1092
+ ref: import("vue").Ref<any>;
1093
+ onScroll: () => void;
1094
+ style: Partial<CSSStyleDeclaration>;
1095
+ };
1096
+ orgWrapperProps: import("vue").ComputedRef<{
1097
+ style: {
1098
+ width: string;
1099
+ height: string;
1100
+ marginTop: string;
1101
+ };
1102
+ }>;
1103
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1104
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1105
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1106
+ handleClick: (tree: any) => void;
1107
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
1108
+ [key: string]: any;
1109
+ key: string | number;
1110
+ children: any[];
1111
+ parentNode: any;
1112
+ }, value: string | number) => false | undefined;
1113
+ findParent: (baseKeys: (string | number)[], currentTree: {
1114
+ [key: string]: any;
1115
+ key: string | number;
1116
+ children: any[];
1117
+ parentNode: any;
1118
+ }) => false | undefined;
1119
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
1120
+ [key: string]: any;
1121
+ key: string | number;
1122
+ children: any[];
1123
+ parentNode: any;
1124
+ }, value: string | number) => void;
1125
+ handleFindChildren: (treeList: {
1126
+ [key: string]: any;
1127
+ key: string | number;
1128
+ children: any[];
1129
+ parentNode: any;
1130
+ }[]) => void;
1131
+ checkInitTree: (tree: {
1132
+ [key: string]: any;
1133
+ key: string | number;
1134
+ children: any[];
1135
+ parentNode: any;
1136
+ }, baseKey: string | number) => false | undefined;
1137
+ ref: typeof ref;
1138
+ NEmpty: any;
1139
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1140
+ treeData: {
1141
+ type: PropType<any[]>;
1142
+ default: () => never[];
1143
+ };
1144
+ checkedKeys: {
1145
+ type: PropType<(string | number)[]>;
1146
+ default: () => never[];
1147
+ };
1148
+ searchFilter: {
1149
+ type: ObjectConstructor;
1150
+ default: () => {};
1151
+ };
1152
+ isMultiple: {
1153
+ type: BooleanConstructor;
1154
+ default: boolean;
1155
+ };
1156
+ }>> & {
1157
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1158
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1159
+ }, {
1160
+ searchFilter: Record<string, any>;
1161
+ treeData: any[];
1162
+ checkedKeys: (string | number)[];
1163
+ isMultiple: boolean;
1164
+ }>;
1165
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1166
+ defaultList: {
1167
+ type: PropType<((string | number) | {
1168
+ [key: string]: any;
1169
+ key: string | number;
1170
+ })[]>;
1171
+ default: () => never[];
1172
+ };
1173
+ data: {
1174
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
1175
+ default: () => never[];
1176
+ };
1177
+ searchPlaceholder: {
1178
+ type: StringConstructor;
1179
+ default: string;
1180
+ };
1181
+ searchButtonText: {
1182
+ type: StringConstructor;
1183
+ default: string;
1184
+ };
1185
+ wordbook: {
1186
+ type: PropType<{
1187
+ [key: string]: any;
1188
+ parent_id_obj: string;
1189
+ parent_name_obj: string;
1190
+ user_count_obj?: string | undefined;
1191
+ filter_key?: string | undefined;
1192
+ }>;
1193
+ default: () => {};
1194
+ };
1195
+ wordbookChild: {
1196
+ type: PropType<{
1197
+ user_id_obj: string;
1198
+ user_name_obj: string;
1199
+ user_expand_keys?: string[] | undefined;
1200
+ }>;
1201
+ default: () => {};
1202
+ };
1203
+ showCount: {
1204
+ type: BooleanConstructor;
1205
+ default: boolean;
1206
+ };
1207
+ showClear: {
1208
+ type: BooleanConstructor;
1209
+ default: boolean;
1210
+ };
1211
+ multiple: {
1212
+ type: BooleanConstructor;
1213
+ default: boolean;
1214
+ };
1215
+ searchInner: {
1216
+ type: BooleanConstructor;
1217
+ default: boolean;
1218
+ };
1219
+ searchFilter: {
1220
+ type: PropType<import("../../../../shared/types").AnyObject>;
1221
+ default: () => {};
1222
+ };
1223
+ treeSetting: {
1224
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject>;
1225
+ default: () => {};
1226
+ };
1227
+ queryLoadChildData: {
1228
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>>;
1229
+ default: undefined;
1230
+ };
1231
+ queryTreeSearch: {
1232
+ type: PropType<(keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>>;
1233
+ default: () => Promise<never[]>;
1234
+ };
1235
+ showSelectType: {
1236
+ type: BooleanConstructor;
1237
+ default: boolean;
1238
+ };
1239
+ roleData: {
1240
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
1241
+ default: () => never[];
1242
+ };
1243
+ roleFields: {
1244
+ type: ObjectConstructor;
1245
+ default: () => {
1246
+ label: string;
1247
+ key: string;
1248
+ children: string;
1249
+ };
1250
+ };
1251
+ }>>, {
1252
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[];
1253
+ defaultList: ((string | number) | {
446
1254
  [key: string]: any;
447
1255
  key: string | number;
448
- children: any[];
449
- parentNode: any;
450
- }, value: string | number) => false | undefined;
451
- findChild: (baseKeys: (string | number)[], children: {
452
- [key: string]: any;
453
- key: string | number;
454
- children: any[];
455
- parentNode: any;
456
- }[], value: string | number) => false | undefined;
457
- checkInitTree: (tree: {
1256
+ })[];
1257
+ searchPlaceholder: string;
1258
+ searchButtonText: string;
1259
+ wordbook: {
458
1260
  [key: string]: any;
459
- key: string | number;
460
- children: any[];
461
- parentNode: any;
462
- }, baseKey: string | number) => false | undefined;
463
- ref: typeof ref;
464
- NCheckboxGroup: any;
465
- NCheckbox: any;
466
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
467
- treeData: {
468
- type: PropType<any[]>;
469
- default: () => never[];
1261
+ parent_id_obj: string;
1262
+ parent_name_obj: string;
1263
+ user_count_obj?: string | undefined;
1264
+ filter_key?: string | undefined;
470
1265
  };
471
- checkedKeys: {
472
- type: PropType<(string | number)[]>;
473
- default: () => never[];
1266
+ wordbookChild: {
1267
+ user_id_obj: string;
1268
+ user_name_obj: string;
1269
+ user_expand_keys?: string[] | undefined;
474
1270
  };
475
- }>> & {
476
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
477
- }, {
478
- treeData: any[];
479
- checkedKeys: (string | number)[];
480
- }>;
481
- SearchOrgAndStaff: import("vue").DefineComponent<{
482
- treeData: {
483
- type: PropType<any[]>;
1271
+ showCount: boolean;
1272
+ showClear: boolean;
1273
+ multiple: boolean;
1274
+ searchInner: boolean;
1275
+ searchFilter: import("../../../../shared/types").AnyObject;
1276
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject;
1277
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>;
1278
+ queryTreeSearch: (keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>;
1279
+ showSelectType: boolean;
1280
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[];
1281
+ roleFields: Record<string, any>;
1282
+ }>>;
1283
+ getProps: import("vue").ComputedRef<Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1284
+ defaultList: {
1285
+ type: PropType<((string | number) | {
1286
+ [key: string]: any;
1287
+ key: string | number;
1288
+ })[]>;
484
1289
  default: () => never[];
485
1290
  };
486
- checkedKeys: {
487
- type: PropType<(string | number)[]>;
1291
+ data: {
1292
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
488
1293
  default: () => never[];
489
1294
  };
490
- searchFilter: {
491
- type: ObjectConstructor;
1295
+ searchPlaceholder: {
1296
+ type: StringConstructor;
1297
+ default: string;
1298
+ };
1299
+ searchButtonText: {
1300
+ type: StringConstructor;
1301
+ default: string;
1302
+ };
1303
+ wordbook: {
1304
+ type: PropType<{
1305
+ [key: string]: any;
1306
+ parent_id_obj: string;
1307
+ parent_name_obj: string;
1308
+ user_count_obj?: string | undefined;
1309
+ filter_key?: string | undefined;
1310
+ }>;
1311
+ default: () => {};
1312
+ };
1313
+ wordbookChild: {
1314
+ type: PropType<{
1315
+ user_id_obj: string;
1316
+ user_name_obj: string;
1317
+ user_expand_keys?: string[] | undefined;
1318
+ }>;
492
1319
  default: () => {};
493
1320
  };
494
- isMultiple: {
1321
+ showCount: {
495
1322
  type: BooleanConstructor;
496
1323
  default: boolean;
497
1324
  };
498
- }, {
499
- $message: import("naive-ui").MessageApi;
500
- virtualItemHeight: number;
501
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
502
- treeData: {
503
- type: PropType<any[]>;
504
- default: () => never[];
505
- };
506
- checkedKeys: {
507
- type: PropType<(string | number)[]>;
508
- default: () => never[];
509
- };
510
- searchFilter: {
511
- type: ObjectConstructor;
512
- default: () => {};
513
- };
514
- isMultiple: {
515
- type: BooleanConstructor;
516
- default: boolean;
517
- };
518
- }>> & {
519
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
520
- onNotifyClear?: ((...args: any[]) => any) | undefined;
521
- }>>;
522
- emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
523
- moduleHeight: import("vue").ComputedRef<any>;
524
- showNums: import("vue").ComputedRef<number>;
525
- staffDataRef: import("vue").ComputedRef<any[]>;
526
- staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
527
- staffContainerProps: {
528
- ref: import("vue").Ref<any>;
529
- onScroll: () => void;
530
- style: Partial<CSSStyleDeclaration>;
531
- };
532
- staffWrapperProps: import("vue").ComputedRef<{
533
- style: {
534
- width: string;
535
- height: string;
536
- marginTop: string;
537
- };
538
- }>;
539
- staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
540
- orgDataRef: import("vue").ComputedRef<any[]>;
541
- orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
542
- orgContainerProps: {
543
- ref: import("vue").Ref<any>;
544
- onScroll: () => void;
545
- style: Partial<CSSStyleDeclaration>;
546
- };
547
- orgWrapperProps: import("vue").ComputedRef<{
548
- style: {
549
- width: string;
550
- height: string;
551
- marginTop: string;
552
- };
553
- }>;
554
- orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
555
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
556
- showSelectKeys: import("vue").Ref<(string | number)[]>;
557
- handleClick: (tree: any) => void;
558
- handleStaffClick: (baseKeys: (string | number)[], currentTree: {
559
- [key: string]: any;
560
- key: string | number;
561
- children: any[];
562
- parentNode: any;
563
- }, value: string | number) => false | undefined;
564
- findParent: (baseKeys: (string | number)[], currentTree: {
565
- [key: string]: any;
566
- key: string | number;
567
- children: any[];
568
- parentNode: any;
569
- }) => false | undefined;
570
- handleOrgClick: (baseKeys: (string | number)[], currentTree: {
571
- [key: string]: any;
572
- key: string | number;
573
- children: any[];
574
- parentNode: any;
575
- }, value: string | number) => void;
576
- handleFindChildren: (treeList: {
577
- [key: string]: any;
578
- key: string | number;
579
- children: any[];
580
- parentNode: any;
581
- }[]) => void;
582
- checkInitTree: (tree: {
583
- [key: string]: any;
584
- key: string | number;
585
- children: any[];
586
- parentNode: any;
587
- }, baseKey: string | number) => false | undefined;
588
- ref: typeof ref;
589
- NEmpty: any;
590
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
591
- treeData: {
592
- type: PropType<any[]>;
593
- default: () => never[];
1325
+ showClear: {
1326
+ type: BooleanConstructor;
1327
+ default: boolean;
594
1328
  };
595
- checkedKeys: {
596
- type: PropType<(string | number)[]>;
597
- default: () => never[];
1329
+ multiple: {
1330
+ type: BooleanConstructor;
1331
+ default: boolean;
1332
+ };
1333
+ searchInner: {
1334
+ type: BooleanConstructor;
1335
+ default: boolean;
598
1336
  };
599
1337
  searchFilter: {
600
- type: ObjectConstructor;
1338
+ type: PropType<import("../../../../shared/types").AnyObject>;
601
1339
  default: () => {};
602
1340
  };
603
- isMultiple: {
1341
+ treeSetting: {
1342
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject>;
1343
+ default: () => {};
1344
+ };
1345
+ queryLoadChildData: {
1346
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../../../shared/types").AnyObject>>;
1347
+ default: undefined;
1348
+ };
1349
+ queryTreeSearch: {
1350
+ type: PropType<(keyWork: string) => Promise<import("../../../../shared/types").AnyObject[]>>;
1351
+ default: () => Promise<never[]>;
1352
+ };
1353
+ showSelectType: {
604
1354
  type: BooleanConstructor;
605
1355
  default: boolean;
606
1356
  };
1357
+ roleData: {
1358
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[]>;
1359
+ default: () => never[];
1360
+ };
1361
+ roleFields: {
1362
+ type: ObjectConstructor;
1363
+ default: () => {
1364
+ label: string;
1365
+ key: string;
1366
+ children: string;
1367
+ };
1368
+ };
1369
+ switchTypeProps: {
1370
+ type: PropType<import("../../../../shared/types").AnyObject[]>;
1371
+ default: () => never[];
1372
+ };
1373
+ switchTypeData: {
1374
+ type: PropType<import("../../../../shared/types").AnyObject>;
1375
+ default: () => {};
1376
+ };
1377
+ tagProps: {
1378
+ type: PropType<import("../../../../shared/types").AnyObject>;
1379
+ default: () => {};
1380
+ };
607
1381
  }>> & {
608
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
609
- onNotifyClear?: ((...args: any[]) => any) | undefined;
610
- }, {
611
- searchFilter: Record<string, any>;
612
- treeData: any[];
613
- checkedKeys: (string | number)[];
614
- isMultiple: boolean;
1382
+ onCheck?: ((...args: any[]) => any) | undefined;
1383
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
1384
+ }>> & {
1385
+ [x: string]: unknown;
615
1386
  }>;
1387
+ emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
1388
+ getCheckWithLevel: () => any;
616
1389
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
617
1390
  defaultList: {
618
1391
  type: PropType<((string | number) | {
@@ -699,6 +1472,18 @@ declare const _default: import("vue").DefineComponent<{
699
1472
  children: string;
700
1473
  };
701
1474
  };
1475
+ switchTypeProps: {
1476
+ type: PropType<import("../../../../shared/types").AnyObject[]>;
1477
+ default: () => never[];
1478
+ };
1479
+ switchTypeData: {
1480
+ type: PropType<import("../../../../shared/types").AnyObject>;
1481
+ default: () => {};
1482
+ };
1483
+ tagProps: {
1484
+ type: PropType<import("../../../../shared/types").AnyObject>;
1485
+ default: () => {};
1486
+ };
702
1487
  }>> & {
703
1488
  onCheck?: ((...args: any[]) => any) | undefined;
704
1489
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -733,6 +1518,9 @@ declare const _default: import("vue").DefineComponent<{
733
1518
  showSelectType: boolean;
734
1519
  roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject)[];
735
1520
  roleFields: Record<string, any>;
1521
+ switchTypeProps: import("../../../../shared/types").AnyObject[];
1522
+ switchTypeData: import("../../../../shared/types").AnyObject;
1523
+ tagProps: import("../../../../shared/types").AnyObject;
736
1524
  }>>;
737
1525
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
738
1526
  visible: {