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

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 (88) hide show
  1. package/es/components/button-print/index.d.ts +4 -0
  2. package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -0
  3. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
  4. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  5. package/es/components/button-print/src/utils/print.js +1 -1
  6. package/es/components/callback/src/components/render/popupMaps.d.ts +6 -2
  7. package/es/components/expand-field/index.d.ts +1109 -321
  8. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1109 -321
  9. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1109 -321
  10. package/es/components/expand-field/src/components/form.vue.d.ts +1109 -321
  11. package/es/components/expand-field/src/index.vue.d.ts +1109 -321
  12. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  13. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  14. package/es/components/form-config/index.d.ts +12 -4
  15. package/es/components/form-config/src/FormConfig.vue.d.ts +12 -4
  16. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  17. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +6 -2
  18. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -2
  19. package/es/components/form-config/src/utils/index.d.ts +1 -0
  20. package/es/components/form-config/src/utils/index.js +1 -1
  21. package/es/components/form-render/index.d.ts +6 -2
  22. package/es/components/form-render/src/FormRender.vue.d.ts +5 -1
  23. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  24. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +6 -2
  25. package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
  26. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  27. package/es/components/form-render/src/types/index.d.ts +4 -1
  28. package/es/components/iho-chat/index.d.ts +57 -27
  29. package/es/components/iho-chat/src/Index.vue.d.ts +58 -27
  30. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  31. package/es/components/iho-chat/src/api/index.js +1 -1
  32. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +1 -1
  33. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +9 -26
  34. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  35. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +2 -2
  36. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +3 -2
  37. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  38. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +1 -1
  39. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +10 -3
  40. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  41. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  42. package/es/components/iho-chat/src/components/Video.vue.d.ts +30 -25
  43. package/es/components/iho-chat/src/components/Video.vue.js +1 -0
  44. package/es/components/iho-chat/src/components/Video.vue2.js +1 -0
  45. package/es/components/iho-chat/src/hooks/useSession.js +1 -1
  46. package/es/components/iho-chat/src/types/index.d.ts +2 -0
  47. package/es/components/iho-chat/src/utils/index.d.ts +1 -1
  48. package/es/components/iho-chat/src/utils/index.js +1 -1
  49. package/es/components/iho-chat/style/index.css +1 -1
  50. package/es/components/iho-table/src/plugins/keyboardEventPlugin.js +1 -1
  51. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -1
  52. package/es/components/index.css +1 -1
  53. package/es/components/info-header/index.d.ts +12 -4
  54. package/es/components/info-header/src/InfoHeader.vue.d.ts +12 -4
  55. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +6 -2
  56. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +6 -2
  57. package/es/components/recommend-search/index.d.ts +8 -8
  58. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +8 -8
  59. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  60. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
  61. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +3 -3
  62. package/es/components/select-person/index.d.ts +1109 -321
  63. package/es/components/select-person/index.js +1 -1
  64. package/es/components/select-person/src/SelectPerson.vue.d.ts +4 -10
  65. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  66. package/es/components/select-person/src/SelectPersonType.vue.d.ts +314 -0
  67. package/es/components/select-person/src/SelectPersonType.vue.js +1 -0
  68. package/es/components/select-person/src/SelectPersonType.vue2.js +1 -0
  69. package/es/components/select-person/src/components/SearchMultiple.vue.js +1 -0
  70. package/es/components/select-person/src/components/SearchOrgAndStaff.vue.js +1 -0
  71. package/es/components/select-person/src/constants/index.d.ts +2 -0
  72. package/es/components/select-person/src/constants/index.js +1 -0
  73. package/es/components/select-person/src/index.vue.d.ts +1385 -0
  74. package/es/components/select-person/src/index.vue.js +1 -0
  75. package/es/components/select-person/src/index.vue2.js +1 -0
  76. package/es/components/shortcut-setter/index.d.ts +6 -2
  77. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -2
  78. package/es/shared/hooks/useAsyncQueue/index.d.ts +3 -0
  79. package/es/shared/hooks/useAsyncQueue/index.js +1 -1
  80. package/es/shared/package.json.js +1 -1
  81. package/es/shared/utils/business.js +1 -1
  82. package/package.json +2 -2
  83. package/es/components/select-person/src/SearchMultiple.vue.js +0 -1
  84. package/es/components/select-person/src/SearchOrgAndStaff.vue.js +0 -1
  85. /package/es/components/select-person/src/{SearchMultiple.vue.d.ts → components/SearchMultiple.vue.d.ts} +0 -0
  86. /package/es/components/select-person/src/{SearchMultiple.vue2.js → components/SearchMultiple.vue2.js} +0 -0
  87. /package/es/components/select-person/src/{SearchOrgAndStaff.vue.d.ts → components/SearchOrgAndStaff.vue.d.ts} +0 -0
  88. /package/es/components/select-person/src/{SearchOrgAndStaff.vue2.js → components/SearchOrgAndStaff.vue2.js} +0 -0
@@ -450,20 +450,21 @@ declare const _default: import("vue").DefineComponent<{
450
450
  children: string;
451
451
  };
452
452
  };
453
- }, {
454
- searchFilterBase: {
455
- isOpen: boolean;
456
- multiple: boolean;
457
- customTitles: string[];
458
- itemHeight: number;
453
+ switchTypeProps: {
454
+ type: import("vue").PropType<AnyObject[]>;
455
+ default: () => never[];
459
456
  };
460
- labelList: {
461
- key: string;
462
- label: string;
463
- }[];
464
- labelListName: {
465
- dept: string;
466
- role: string;
457
+ switchTypeData: {
458
+ type: import("vue").PropType<AnyObject>;
459
+ default: () => {};
460
+ };
461
+ tagProps: {
462
+ type: import("vue").PropType<AnyObject>;
463
+ default: () => {};
464
+ };
465
+ }, {
466
+ $attrs: {
467
+ [x: string]: unknown;
467
468
  };
468
469
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
469
470
  defaultList: {
@@ -551,338 +552,1110 @@ declare const _default: import("vue").DefineComponent<{
551
552
  children: string;
552
553
  };
553
554
  };
554
- }>> & {
555
- onCheck?: ((...args: any[]) => any) | undefined;
556
- onCheckWithLevel?: ((...args: any[]) => any) | undefined;
557
- }>>;
558
- emit: (event: "check" | "checkWithLevel", ...args: any[]) => void;
559
- keyword: import("vue").Ref<string>;
560
- checkedAll: import("vue").Ref<boolean>;
561
- checkedKeys: import("vue").Ref<(string | number)[]>;
562
- expandedKeys: import("vue").Ref<(string | number)[]>;
563
- treeData: import("vue").Ref<{
564
- [x: string]: unknown;
565
- key?: import("naive-ui/es/tree/src/interface").Key | undefined;
566
- label?: string | undefined;
567
- checkboxDisabled?: boolean | undefined;
568
- disabled?: boolean | undefined;
569
- isLeaf?: boolean | undefined;
570
- children?: any[] | undefined;
571
- prefix?: (() => import("vue").VNodeChild) | undefined;
572
- suffix?: (() => import("vue").VNodeChild) | undefined;
573
- }[]>;
574
- tagData: import("vue").Ref<{
575
- [x: string]: any;
576
- key: string | number;
577
- }[]>;
578
- initTagData: import("vue").Ref<{
579
- [x: string]: any;
580
- key: string | number;
581
- }[]>;
582
- isSearch: import("vue").Ref<boolean>;
583
- tempData: import("naive-ui").TreeOption[];
584
- allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
585
- isRemote: import("vue").ComputedRef<boolean>;
586
- checkStrategyResult: import("vue").ComputedRef<any>;
587
- isSearchFilter: import("vue").ComputedRef<boolean>;
588
- curSelectKey: import("vue").Ref<string>;
589
- mergeSearchFilter: import("vue").ComputedRef<{
590
- isOpen: boolean;
591
- multiple: boolean;
592
- customTitles: string[];
593
- itemHeight: number;
594
- }>;
595
- wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
596
- caculateTagData: import("vue").ComputedRef<any>;
597
- treeDataMiddle: any;
598
- checkedKeysMiddle: any;
599
- checkedTagsMiddle: any;
600
- allCheckedKeysMiddle: any;
601
- attrType: import("vue").ComputedRef<any>;
602
- keyStr: import("vue").ComputedRef<string>;
603
- getTreeDataMiddleData: () => void;
604
- getDeptData: (list: any[], cb?: any) => any[];
605
- getRoleData: (list: any[], cb?: any) => any[];
606
- onHandleLabelChange: (item: any) => void;
607
- setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
608
- uniqArrObj: (arr: any[], name: string) => any;
609
- init: () => void;
610
- getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
611
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
612
- setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
613
- setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
614
- queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
615
- setDisabled: (data: import("naive-ui").TreeOption) => void;
616
- renderLabel: ({ option }: {
617
- option: import("naive-ui").TreeOption;
618
- }) => JSX.Element;
619
- getLabelName: (option: import("naive-ui").TreeOption) => {};
620
- transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
621
- calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
622
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
623
- searchSetting: () => string;
624
- onSearch: () => Promise<void>;
625
- setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
626
- setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
627
- setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
628
- checkedAllChange: (checked: boolean) => void;
629
- uniq: (arr: {
630
- [key: string]: any;
631
- key: string | number;
632
- }[]) => {
633
- [key: string]: any;
634
- key: string | number;
635
- }[];
636
- setTagData: (tree: import("naive-ui").TreeOption[]) => void;
637
- updateTreeChecked: (keys: (string | number)[]) => void;
638
- setCheckedAll: () => void;
639
- clearAll: () => void;
640
- closeTag: (tag: {
641
- [key: string]: any;
642
- key: string | number;
643
- }) => void;
644
- notifyCheck: (keys: (string | number)[]) => void;
645
- notifySearchClear: () => void;
646
- getCheckWithLevel: () => any;
647
- NButton: any;
648
- NInput: any;
649
- NInputGroup: any;
650
- NCheckbox: any;
651
- NTree: any;
652
- NTag: any;
653
- NIcon: any;
654
- NSpace: any;
655
- NGrid: any;
656
- NGi: any;
657
- NEmpty: any;
658
- 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<{}>>, {}>;
659
- SearchMultiple: import("vue").DefineComponent<{
660
- treeData: {
661
- type: import("vue").PropType<any[]>;
662
- default: () => never[];
663
- };
664
- checkedKeys: {
665
- type: import("vue").PropType<(string | number)[]>;
666
- default: () => never[];
667
- };
668
- }, {
669
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
670
- treeData: {
671
- type: import("vue").PropType<any[]>;
672
- default: () => never[];
673
- };
674
- checkedKeys: {
675
- type: import("vue").PropType<(string | number)[]>;
676
- default: () => never[];
677
- };
678
- }>> & {
679
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
680
- }>>;
681
- emit: (event: "notifyCheck", ...args: any[]) => void;
682
- optionsRef: import("vue").ComputedRef<any[]>;
683
- list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
684
- containerProps: {
685
- ref: import("vue").Ref<any>;
686
- onScroll: () => void;
687
- style: Partial<CSSStyleDeclaration>;
688
- };
689
- wrapperProps: import("vue").ComputedRef<{
690
- style: {
691
- width: string;
692
- height: string;
693
- marginTop: string;
694
- };
695
- }>;
696
- containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
697
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
698
- showSelectKeys: import("vue").Ref<(string | number)[]>;
699
- checkedChange: (checkList: (string | number)[], meta: {
700
- actionType: "check" | "uncheck";
701
- value: string | number;
702
- }) => void;
703
- handleCheckKey: (baseKeys: (string | number)[], currentTree: {
704
- [key: string]: any;
705
- key: string | number;
706
- children: any[];
707
- parentNode: any;
708
- } | null, value: string | number) => false | undefined;
709
- findParent: (baseKeys: (string | number)[], currentTree: {
710
- [key: string]: any;
711
- key: string | number;
712
- children: any[];
713
- parentNode: any;
714
- }) => false | undefined;
715
- handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
555
+ switchTypeProps: {
556
+ type: import("vue").PropType<AnyObject[]>;
557
+ default: () => never[];
558
+ };
559
+ switchTypeData: {
560
+ type: import("vue").PropType<AnyObject>;
561
+ default: () => {};
562
+ };
563
+ tagProps: {
564
+ type: import("vue").PropType<AnyObject>;
565
+ default: () => {};
566
+ };
567
+ }>> & {
568
+ onCheck?: ((...args: any[]) => any) | undefined;
569
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
570
+ }>>;
571
+ __emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
572
+ selectPersonRef: import("vue").Ref<any>;
573
+ isComponent: import("vue").ComputedRef<import("vue").DefineComponent<{
574
+ defaultList: {
575
+ type: import("vue").PropType<((string | number) | {
576
+ [key: string]: any;
577
+ key: string | number;
578
+ })[]>;
579
+ default: () => never[];
580
+ };
581
+ data: {
582
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
583
+ default: () => never[];
584
+ };
585
+ searchPlaceholder: {
586
+ type: StringConstructor;
587
+ default: string;
588
+ };
589
+ searchButtonText: {
590
+ type: StringConstructor;
591
+ default: string;
592
+ };
593
+ wordbook: {
594
+ type: import("vue").PropType<{
595
+ [key: string]: any;
596
+ parent_id_obj: string;
597
+ parent_name_obj: string;
598
+ user_count_obj?: string | undefined;
599
+ filter_key?: string | undefined;
600
+ }>;
601
+ default: () => {};
602
+ };
603
+ wordbookChild: {
604
+ type: import("vue").PropType<{
605
+ user_id_obj: string;
606
+ user_name_obj: string;
607
+ user_expand_keys?: string[] | undefined;
608
+ }>;
609
+ default: () => {};
610
+ };
611
+ showCount: {
612
+ type: BooleanConstructor;
613
+ default: boolean;
614
+ };
615
+ showClear: {
616
+ type: BooleanConstructor;
617
+ default: boolean;
618
+ };
619
+ multiple: {
620
+ type: BooleanConstructor;
621
+ default: boolean;
622
+ };
623
+ searchInner: {
624
+ type: BooleanConstructor;
625
+ default: boolean;
626
+ };
627
+ searchFilter: {
628
+ type: import("vue").PropType<AnyObject>;
629
+ default: () => {};
630
+ };
631
+ treeSetting: {
632
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
633
+ default: () => {};
634
+ };
635
+ queryLoadChildData: {
636
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
637
+ default: undefined;
638
+ };
639
+ queryTreeSearch: {
640
+ type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
641
+ default: () => Promise<never[]>;
642
+ };
643
+ switchTypeProps: {
644
+ type: import("vue").PropType<AnyObject[]>;
645
+ default: () => never[];
646
+ };
647
+ switchTypeData: {
648
+ type: import("vue").PropType<AnyObject>;
649
+ default: () => {};
650
+ };
651
+ tagProps: {
652
+ type: import("vue").PropType<AnyObject>;
653
+ default: () => {};
654
+ };
655
+ }, {
656
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
657
+ defaultList: {
658
+ type: import("vue").PropType<((string | number) | {
659
+ [key: string]: any;
660
+ key: string | number;
661
+ })[]>;
662
+ default: () => never[];
663
+ };
664
+ data: {
665
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
666
+ default: () => never[];
667
+ };
668
+ searchPlaceholder: {
669
+ type: StringConstructor;
670
+ default: string;
671
+ };
672
+ searchButtonText: {
673
+ type: StringConstructor;
674
+ default: string;
675
+ };
676
+ wordbook: {
677
+ type: import("vue").PropType<{
678
+ [key: string]: any;
679
+ parent_id_obj: string;
680
+ parent_name_obj: string;
681
+ user_count_obj?: string | undefined;
682
+ filter_key?: string | undefined;
683
+ }>;
684
+ default: () => {};
685
+ };
686
+ wordbookChild: {
687
+ type: import("vue").PropType<{
688
+ user_id_obj: string;
689
+ user_name_obj: string;
690
+ user_expand_keys?: string[] | undefined;
691
+ }>;
692
+ default: () => {};
693
+ };
694
+ showCount: {
695
+ type: BooleanConstructor;
696
+ default: boolean;
697
+ };
698
+ showClear: {
699
+ type: BooleanConstructor;
700
+ default: boolean;
701
+ };
702
+ multiple: {
703
+ type: BooleanConstructor;
704
+ default: boolean;
705
+ };
706
+ searchInner: {
707
+ type: BooleanConstructor;
708
+ default: boolean;
709
+ };
710
+ searchFilter: {
711
+ type: import("vue").PropType<AnyObject>;
712
+ default: () => {};
713
+ };
714
+ treeSetting: {
715
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
716
+ default: () => {};
717
+ };
718
+ queryLoadChildData: {
719
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
720
+ default: undefined;
721
+ };
722
+ queryTreeSearch: {
723
+ type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
724
+ default: () => Promise<never[]>;
725
+ };
726
+ switchTypeProps: {
727
+ type: import("vue").PropType<AnyObject[]>;
728
+ default: () => never[];
729
+ };
730
+ switchTypeData: {
731
+ type: import("vue").PropType<AnyObject>;
732
+ default: () => {};
733
+ };
734
+ tagProps: {
735
+ type: import("vue").PropType<AnyObject>;
736
+ default: () => {};
737
+ };
738
+ }>> & {}>>;
739
+ emit: any;
740
+ keyword: import("vue").Ref<string>;
741
+ checkedAll: import("vue").Ref<boolean>;
742
+ checkedKeys: import("vue").Ref<(string | number)[]>;
743
+ expandedKeys: import("vue").Ref<(string | number)[]>;
744
+ treeData: import("vue").Ref<{
745
+ [x: string]: unknown;
746
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
747
+ label?: string | undefined;
748
+ checkboxDisabled?: boolean | undefined;
749
+ disabled?: boolean | undefined;
750
+ isLeaf?: boolean | undefined;
751
+ children?: any[] | undefined;
752
+ prefix?: (() => import("vue").VNodeChild) | undefined;
753
+ suffix?: (() => import("vue").VNodeChild) | undefined;
754
+ }[]>;
755
+ isSearch: import("vue").Ref<boolean>;
756
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
757
+ curSelectKey: any;
758
+ treeDataMiddle: any;
759
+ checkedTagsMiddle: import("vue").Ref<any[]>;
760
+ allCheckedKeysMiddle: any;
761
+ isSearchFilter: import("vue").ComputedRef<boolean>;
762
+ keyStr: import("vue").ComputedRef<string | number>;
763
+ onHandleLabelChange: (item: any) => void;
764
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
765
+ addTagToTemp: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
766
+ init: () => void;
767
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
768
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
769
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
770
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
771
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
772
+ renderLabel: ({ option }: {
773
+ option: import("naive-ui").TreeOption;
774
+ }) => JSX.Element;
775
+ getLabelName: (curProps: any, option: import("naive-ui").TreeOption) => {};
776
+ loopTrees: (treeObjs: any) => any;
777
+ transformData: (key: string, trees: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => import("naive-ui").TreeOption[];
778
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
779
+ searchSetting: () => string;
780
+ onSearch: () => Promise<void>;
781
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
782
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
783
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
784
+ checkedAllChange: (checked: boolean) => void;
785
+ updateTreeChecked: (keys: (string | number)[]) => void;
786
+ setCheckedAll: () => void;
787
+ clearAll: () => void;
788
+ closeTag: (tag: {
789
+ [key: string]: any;
790
+ key: string | number;
791
+ }) => void;
792
+ notifySearchClear: () => void;
793
+ getCheckWithLevel: () => any[];
794
+ NButton: any;
795
+ NInput: any;
796
+ NInputGroup: any;
797
+ NCheckbox: any;
798
+ NTree: any;
799
+ NTag: any;
800
+ NIcon: any;
801
+ NSpace: any;
802
+ NGrid: any;
803
+ NGi: any;
804
+ NEmpty: any;
805
+ 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<{}>>, {}>;
806
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
807
+ defaultList: {
808
+ type: import("vue").PropType<((string | number) | {
809
+ [key: string]: any;
810
+ key: string | number;
811
+ })[]>;
812
+ default: () => never[];
813
+ };
814
+ data: {
815
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
816
+ default: () => never[];
817
+ };
818
+ searchPlaceholder: {
819
+ type: StringConstructor;
820
+ default: string;
821
+ };
822
+ searchButtonText: {
823
+ type: StringConstructor;
824
+ default: string;
825
+ };
826
+ wordbook: {
827
+ type: import("vue").PropType<{
828
+ [key: string]: any;
829
+ parent_id_obj: string;
830
+ parent_name_obj: string;
831
+ user_count_obj?: string | undefined;
832
+ filter_key?: string | undefined;
833
+ }>;
834
+ default: () => {};
835
+ };
836
+ wordbookChild: {
837
+ type: import("vue").PropType<{
838
+ user_id_obj: string;
839
+ user_name_obj: string;
840
+ user_expand_keys?: string[] | undefined;
841
+ }>;
842
+ default: () => {};
843
+ };
844
+ showCount: {
845
+ type: BooleanConstructor;
846
+ default: boolean;
847
+ };
848
+ showClear: {
849
+ type: BooleanConstructor;
850
+ default: boolean;
851
+ };
852
+ multiple: {
853
+ type: BooleanConstructor;
854
+ default: boolean;
855
+ };
856
+ searchInner: {
857
+ type: BooleanConstructor;
858
+ default: boolean;
859
+ };
860
+ searchFilter: {
861
+ type: import("vue").PropType<AnyObject>;
862
+ default: () => {};
863
+ };
864
+ treeSetting: {
865
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
866
+ default: () => {};
867
+ };
868
+ queryLoadChildData: {
869
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
870
+ default: undefined;
871
+ };
872
+ queryTreeSearch: {
873
+ type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
874
+ default: () => Promise<never[]>;
875
+ };
876
+ switchTypeProps: {
877
+ type: import("vue").PropType<AnyObject[]>;
878
+ default: () => never[];
879
+ };
880
+ switchTypeData: {
881
+ type: import("vue").PropType<AnyObject>;
882
+ default: () => {};
883
+ };
884
+ tagProps: {
885
+ type: import("vue").PropType<AnyObject>;
886
+ default: () => {};
887
+ };
888
+ }>>, {
889
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
890
+ defaultList: ((string | number) | {
891
+ [key: string]: any;
892
+ key: string | number;
893
+ })[];
894
+ searchPlaceholder: string;
895
+ searchButtonText: string;
896
+ wordbook: {
897
+ [key: string]: any;
898
+ parent_id_obj: string;
899
+ parent_name_obj: string;
900
+ user_count_obj?: string | undefined;
901
+ filter_key?: string | undefined;
902
+ };
903
+ wordbookChild: {
904
+ user_id_obj: string;
905
+ user_name_obj: string;
906
+ user_expand_keys?: string[] | undefined;
907
+ };
908
+ showCount: boolean;
909
+ showClear: boolean;
910
+ multiple: boolean;
911
+ searchInner: boolean;
912
+ searchFilter: AnyObject;
913
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
914
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
915
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
916
+ switchTypeProps: AnyObject[];
917
+ switchTypeData: AnyObject;
918
+ tagProps: AnyObject;
919
+ }> | import("vue").DefineComponent<{
920
+ defaultList: {
921
+ type: import("vue").PropType<((string | number) | {
922
+ [key: string]: any;
923
+ key: string | number;
924
+ })[]>;
925
+ default: () => never[];
926
+ };
927
+ data: {
928
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
929
+ default: () => never[];
930
+ };
931
+ searchPlaceholder: {
932
+ type: StringConstructor;
933
+ default: string;
934
+ };
935
+ searchButtonText: {
936
+ type: StringConstructor;
937
+ default: string;
938
+ };
939
+ wordbook: {
940
+ type: import("vue").PropType<{
941
+ [key: string]: any;
942
+ parent_id_obj: string;
943
+ parent_name_obj: string;
944
+ user_count_obj?: string | undefined;
945
+ filter_key?: string | undefined;
946
+ }>;
947
+ default: () => {};
948
+ };
949
+ wordbookChild: {
950
+ type: import("vue").PropType<{
951
+ user_id_obj: string;
952
+ user_name_obj: string;
953
+ user_expand_keys?: string[] | undefined;
954
+ }>;
955
+ default: () => {};
956
+ };
957
+ showCount: {
958
+ type: BooleanConstructor;
959
+ default: boolean;
960
+ };
961
+ showClear: {
962
+ type: BooleanConstructor;
963
+ default: boolean;
964
+ };
965
+ multiple: {
966
+ type: BooleanConstructor;
967
+ default: boolean;
968
+ };
969
+ searchInner: {
970
+ type: BooleanConstructor;
971
+ default: boolean;
972
+ };
973
+ searchFilter: {
974
+ type: import("vue").PropType<AnyObject>;
975
+ default: () => {};
976
+ };
977
+ treeSetting: {
978
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
979
+ default: () => {};
980
+ };
981
+ queryLoadChildData: {
982
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
983
+ default: undefined;
984
+ };
985
+ queryTreeSearch: {
986
+ type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
987
+ default: () => Promise<never[]>;
988
+ };
989
+ showSelectType: {
990
+ type: BooleanConstructor;
991
+ default: boolean;
992
+ };
993
+ roleData: {
994
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
995
+ default: () => never[];
996
+ };
997
+ roleFields: {
998
+ type: ObjectConstructor;
999
+ default: () => {
1000
+ label: string;
1001
+ key: string;
1002
+ children: string;
1003
+ };
1004
+ };
1005
+ }, {
1006
+ searchFilterBase: {
1007
+ isOpen: boolean;
1008
+ multiple: boolean;
1009
+ customTitles: string[];
1010
+ itemHeight: number;
1011
+ };
1012
+ labelList: {
1013
+ key: string;
1014
+ label: string;
1015
+ }[];
1016
+ labelListName: {
1017
+ dept: string;
1018
+ role: string;
1019
+ };
1020
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1021
+ defaultList: {
1022
+ type: import("vue").PropType<((string | number) | {
1023
+ [key: string]: any;
1024
+ key: string | number;
1025
+ })[]>;
1026
+ default: () => never[];
1027
+ };
1028
+ data: {
1029
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1030
+ default: () => never[];
1031
+ };
1032
+ searchPlaceholder: {
1033
+ type: StringConstructor;
1034
+ default: string;
1035
+ };
1036
+ searchButtonText: {
1037
+ type: StringConstructor;
1038
+ default: string;
1039
+ };
1040
+ wordbook: {
1041
+ type: import("vue").PropType<{
1042
+ [key: string]: any;
1043
+ parent_id_obj: string;
1044
+ parent_name_obj: string;
1045
+ user_count_obj?: string | undefined;
1046
+ filter_key?: string | undefined;
1047
+ }>;
1048
+ default: () => {};
1049
+ };
1050
+ wordbookChild: {
1051
+ type: import("vue").PropType<{
1052
+ user_id_obj: string;
1053
+ user_name_obj: string;
1054
+ user_expand_keys?: string[] | undefined;
1055
+ }>;
1056
+ default: () => {};
1057
+ };
1058
+ showCount: {
1059
+ type: BooleanConstructor;
1060
+ default: boolean;
1061
+ };
1062
+ showClear: {
1063
+ type: BooleanConstructor;
1064
+ default: boolean;
1065
+ };
1066
+ multiple: {
1067
+ type: BooleanConstructor;
1068
+ default: boolean;
1069
+ };
1070
+ searchInner: {
1071
+ type: BooleanConstructor;
1072
+ default: boolean;
1073
+ };
1074
+ searchFilter: {
1075
+ type: import("vue").PropType<AnyObject>;
1076
+ default: () => {};
1077
+ };
1078
+ treeSetting: {
1079
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1080
+ default: () => {};
1081
+ };
1082
+ queryLoadChildData: {
1083
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1084
+ default: undefined;
1085
+ };
1086
+ queryTreeSearch: {
1087
+ type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
1088
+ default: () => Promise<never[]>;
1089
+ };
1090
+ showSelectType: {
1091
+ type: BooleanConstructor;
1092
+ default: boolean;
1093
+ };
1094
+ roleData: {
1095
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1096
+ default: () => never[];
1097
+ };
1098
+ roleFields: {
1099
+ type: ObjectConstructor;
1100
+ default: () => {
1101
+ label: string;
1102
+ key: string;
1103
+ children: string;
1104
+ };
1105
+ };
1106
+ }>> & {}>>;
1107
+ emit: any;
1108
+ keyword: import("vue").Ref<string>;
1109
+ checkedAll: import("vue").Ref<boolean>;
1110
+ checkedKeys: import("vue").Ref<(string | number)[]>;
1111
+ expandedKeys: import("vue").Ref<(string | number)[]>;
1112
+ treeData: import("vue").Ref<{
1113
+ [x: string]: unknown;
1114
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
1115
+ label?: string | undefined;
1116
+ checkboxDisabled?: boolean | undefined;
1117
+ disabled?: boolean | undefined;
1118
+ isLeaf?: boolean | undefined;
1119
+ children?: any[] | undefined;
1120
+ prefix?: (() => import("vue").VNodeChild) | undefined;
1121
+ suffix?: (() => import("vue").VNodeChild) | undefined;
1122
+ }[]>;
1123
+ tagData: import("vue").Ref<{
1124
+ [x: string]: any;
1125
+ key: string | number;
1126
+ }[]>;
1127
+ initTagData: import("vue").Ref<{
1128
+ [x: string]: any;
1129
+ key: string | number;
1130
+ }[]>;
1131
+ isSearch: import("vue").Ref<boolean>;
1132
+ tempData: import("naive-ui").TreeOption[];
1133
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
1134
+ isRemote: import("vue").ComputedRef<boolean>;
1135
+ checkStrategyResult: import("vue").ComputedRef<any>;
1136
+ isSearchFilter: import("vue").ComputedRef<boolean>;
1137
+ curSelectKey: import("vue").Ref<string>;
1138
+ mergeSearchFilter: import("vue").ComputedRef<{
1139
+ isOpen: boolean;
1140
+ multiple: boolean;
1141
+ customTitles: string[];
1142
+ itemHeight: number;
1143
+ }>;
1144
+ wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
1145
+ caculateTagData: import("vue").ComputedRef<any>;
1146
+ treeDataMiddle: any;
1147
+ checkedKeysMiddle: any;
1148
+ checkedTagsMiddle: any;
1149
+ allCheckedKeysMiddle: any;
1150
+ attrType: import("vue").ComputedRef<any>;
1151
+ keyStr: import("vue").ComputedRef<string>;
1152
+ getTreeDataMiddleData: () => void;
1153
+ getDeptData: (list: any[], cb?: any) => any[];
1154
+ getRoleData: (list: any[], cb?: any) => any[];
1155
+ onHandleLabelChange: (item: any) => void;
1156
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
1157
+ uniqArrObj: (arr: any[], name: string) => any;
1158
+ init: () => void;
1159
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
1160
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
1161
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
1162
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
1163
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
1164
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
1165
+ renderLabel: ({ option }: {
1166
+ option: import("naive-ui").TreeOption;
1167
+ }) => JSX.Element;
1168
+ getLabelName: (option: import("naive-ui").TreeOption) => {};
1169
+ transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
1170
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
1171
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
1172
+ searchSetting: () => string;
1173
+ onSearch: () => Promise<void>;
1174
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
1175
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
1176
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
1177
+ checkedAllChange: (checked: boolean) => void;
1178
+ uniq: (arr: {
1179
+ [key: string]: any;
1180
+ key: string | number;
1181
+ }[]) => {
1182
+ [key: string]: any;
1183
+ key: string | number;
1184
+ }[];
1185
+ setTagData: (tree: import("naive-ui").TreeOption[]) => void;
1186
+ updateTreeChecked: (keys: (string | number)[]) => void;
1187
+ setCheckedAll: () => void;
1188
+ clearAll: () => void;
1189
+ closeTag: (tag: {
1190
+ [key: string]: any;
1191
+ key: string | number;
1192
+ }) => void;
1193
+ notifyCheck: (keys: (string | number)[]) => void;
1194
+ notifySearchClear: () => void;
1195
+ getCheckWithLevel: () => any;
1196
+ NButton: any;
1197
+ NInput: any;
1198
+ NInputGroup: any;
1199
+ NCheckbox: any;
1200
+ NTree: any;
1201
+ NTag: any;
1202
+ NIcon: any;
1203
+ NSpace: any;
1204
+ NGrid: any;
1205
+ NGi: any;
1206
+ NEmpty: any;
1207
+ 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<{}>>, {}>;
1208
+ SearchMultiple: import("vue").DefineComponent<{
1209
+ treeData: {
1210
+ type: import("vue").PropType<any[]>;
1211
+ default: () => never[];
1212
+ };
1213
+ checkedKeys: {
1214
+ type: import("vue").PropType<(string | number)[]>;
1215
+ default: () => never[];
1216
+ };
1217
+ }, {
1218
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1219
+ treeData: {
1220
+ type: import("vue").PropType<any[]>;
1221
+ default: () => never[];
1222
+ };
1223
+ checkedKeys: {
1224
+ type: import("vue").PropType<(string | number)[]>;
1225
+ default: () => never[];
1226
+ };
1227
+ }>> & {
1228
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1229
+ }>>;
1230
+ emit: (event: "notifyCheck", ...args: any[]) => void;
1231
+ optionsRef: import("vue").ComputedRef<any[]>;
1232
+ list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1233
+ containerProps: {
1234
+ ref: import("vue").Ref<any>;
1235
+ onScroll: () => void;
1236
+ style: Partial<CSSStyleDeclaration>;
1237
+ };
1238
+ wrapperProps: import("vue").ComputedRef<{
1239
+ style: {
1240
+ width: string;
1241
+ height: string;
1242
+ marginTop: string;
1243
+ };
1244
+ }>;
1245
+ containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1246
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1247
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1248
+ checkedChange: (checkList: (string | number)[], meta: {
1249
+ actionType: "check" | "uncheck";
1250
+ value: string | number;
1251
+ }) => void;
1252
+ handleCheckKey: (baseKeys: (string | number)[], currentTree: {
1253
+ [key: string]: any;
1254
+ key: string | number;
1255
+ children: any[];
1256
+ parentNode: any;
1257
+ } | null, value: string | number) => false | undefined;
1258
+ findParent: (baseKeys: (string | number)[], currentTree: {
1259
+ [key: string]: any;
1260
+ key: string | number;
1261
+ children: any[];
1262
+ parentNode: any;
1263
+ }) => false | undefined;
1264
+ handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
1265
+ [key: string]: any;
1266
+ key: string | number;
1267
+ children: any[];
1268
+ parentNode: any;
1269
+ }, value: string | number) => false | undefined;
1270
+ findChild: (baseKeys: (string | number)[], children: {
1271
+ [key: string]: any;
1272
+ key: string | number;
1273
+ children: any[];
1274
+ parentNode: any;
1275
+ }[], value: string | number) => false | undefined;
1276
+ checkInitTree: (tree: {
1277
+ [key: string]: any;
1278
+ key: string | number;
1279
+ children: any[];
1280
+ parentNode: any;
1281
+ }, baseKey: string | number) => false | undefined;
1282
+ ref: typeof ref;
1283
+ NCheckboxGroup: any;
1284
+ NCheckbox: any;
1285
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1286
+ treeData: {
1287
+ type: import("vue").PropType<any[]>;
1288
+ default: () => never[];
1289
+ };
1290
+ checkedKeys: {
1291
+ type: import("vue").PropType<(string | number)[]>;
1292
+ default: () => never[];
1293
+ };
1294
+ }>> & {
1295
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1296
+ }, {
1297
+ treeData: any[];
1298
+ checkedKeys: (string | number)[];
1299
+ }>;
1300
+ SearchOrgAndStaff: import("vue").DefineComponent<{
1301
+ treeData: {
1302
+ type: import("vue").PropType<any[]>;
1303
+ default: () => never[];
1304
+ };
1305
+ checkedKeys: {
1306
+ type: import("vue").PropType<(string | number)[]>;
1307
+ default: () => never[];
1308
+ };
1309
+ searchFilter: {
1310
+ type: ObjectConstructor;
1311
+ default: () => {};
1312
+ };
1313
+ isMultiple: {
1314
+ type: BooleanConstructor;
1315
+ default: boolean;
1316
+ };
1317
+ }, {
1318
+ $message: import("naive-ui").MessageApi;
1319
+ virtualItemHeight: number;
1320
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1321
+ treeData: {
1322
+ type: import("vue").PropType<any[]>;
1323
+ default: () => never[];
1324
+ };
1325
+ checkedKeys: {
1326
+ type: import("vue").PropType<(string | number)[]>;
1327
+ default: () => never[];
1328
+ };
1329
+ searchFilter: {
1330
+ type: ObjectConstructor;
1331
+ default: () => {};
1332
+ };
1333
+ isMultiple: {
1334
+ type: BooleanConstructor;
1335
+ default: boolean;
1336
+ };
1337
+ }>> & {
1338
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1339
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1340
+ }>>;
1341
+ emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
1342
+ moduleHeight: import("vue").ComputedRef<any>;
1343
+ showNums: import("vue").ComputedRef<number>;
1344
+ staffDataRef: import("vue").ComputedRef<any[]>;
1345
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1346
+ staffContainerProps: {
1347
+ ref: import("vue").Ref<any>;
1348
+ onScroll: () => void;
1349
+ style: Partial<CSSStyleDeclaration>;
1350
+ };
1351
+ staffWrapperProps: import("vue").ComputedRef<{
1352
+ style: {
1353
+ width: string;
1354
+ height: string;
1355
+ marginTop: string;
1356
+ };
1357
+ }>;
1358
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1359
+ orgDataRef: import("vue").ComputedRef<any[]>;
1360
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1361
+ orgContainerProps: {
1362
+ ref: import("vue").Ref<any>;
1363
+ onScroll: () => void;
1364
+ style: Partial<CSSStyleDeclaration>;
1365
+ };
1366
+ orgWrapperProps: import("vue").ComputedRef<{
1367
+ style: {
1368
+ width: string;
1369
+ height: string;
1370
+ marginTop: string;
1371
+ };
1372
+ }>;
1373
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1374
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1375
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1376
+ handleClick: (tree: any) => void;
1377
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
1378
+ [key: string]: any;
1379
+ key: string | number;
1380
+ children: any[];
1381
+ parentNode: any;
1382
+ }, value: string | number) => false | undefined;
1383
+ findParent: (baseKeys: (string | number)[], currentTree: {
1384
+ [key: string]: any;
1385
+ key: string | number;
1386
+ children: any[];
1387
+ parentNode: any;
1388
+ }) => false | undefined;
1389
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
1390
+ [key: string]: any;
1391
+ key: string | number;
1392
+ children: any[];
1393
+ parentNode: any;
1394
+ }, value: string | number) => void;
1395
+ handleFindChildren: (treeList: {
1396
+ [key: string]: any;
1397
+ key: string | number;
1398
+ children: any[];
1399
+ parentNode: any;
1400
+ }[]) => void;
1401
+ checkInitTree: (tree: {
1402
+ [key: string]: any;
1403
+ key: string | number;
1404
+ children: any[];
1405
+ parentNode: any;
1406
+ }, baseKey: string | number) => false | undefined;
1407
+ ref: typeof ref;
1408
+ NEmpty: any;
1409
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1410
+ treeData: {
1411
+ type: import("vue").PropType<any[]>;
1412
+ default: () => never[];
1413
+ };
1414
+ checkedKeys: {
1415
+ type: import("vue").PropType<(string | number)[]>;
1416
+ default: () => never[];
1417
+ };
1418
+ searchFilter: {
1419
+ type: ObjectConstructor;
1420
+ default: () => {};
1421
+ };
1422
+ isMultiple: {
1423
+ type: BooleanConstructor;
1424
+ default: boolean;
1425
+ };
1426
+ }>> & {
1427
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1428
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1429
+ }, {
1430
+ searchFilter: Record<string, any>;
1431
+ treeData: any[];
1432
+ checkedKeys: (string | number)[];
1433
+ isMultiple: boolean;
1434
+ }>;
1435
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1436
+ defaultList: {
1437
+ type: import("vue").PropType<((string | number) | {
1438
+ [key: string]: any;
1439
+ key: string | number;
1440
+ })[]>;
1441
+ default: () => never[];
1442
+ };
1443
+ data: {
1444
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1445
+ default: () => never[];
1446
+ };
1447
+ searchPlaceholder: {
1448
+ type: StringConstructor;
1449
+ default: string;
1450
+ };
1451
+ searchButtonText: {
1452
+ type: StringConstructor;
1453
+ default: string;
1454
+ };
1455
+ wordbook: {
1456
+ type: import("vue").PropType<{
1457
+ [key: string]: any;
1458
+ parent_id_obj: string;
1459
+ parent_name_obj: string;
1460
+ user_count_obj?: string | undefined;
1461
+ filter_key?: string | undefined;
1462
+ }>;
1463
+ default: () => {};
1464
+ };
1465
+ wordbookChild: {
1466
+ type: import("vue").PropType<{
1467
+ user_id_obj: string;
1468
+ user_name_obj: string;
1469
+ user_expand_keys?: string[] | undefined;
1470
+ }>;
1471
+ default: () => {};
1472
+ };
1473
+ showCount: {
1474
+ type: BooleanConstructor;
1475
+ default: boolean;
1476
+ };
1477
+ showClear: {
1478
+ type: BooleanConstructor;
1479
+ default: boolean;
1480
+ };
1481
+ multiple: {
1482
+ type: BooleanConstructor;
1483
+ default: boolean;
1484
+ };
1485
+ searchInner: {
1486
+ type: BooleanConstructor;
1487
+ default: boolean;
1488
+ };
1489
+ searchFilter: {
1490
+ type: import("vue").PropType<AnyObject>;
1491
+ default: () => {};
1492
+ };
1493
+ treeSetting: {
1494
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1495
+ default: () => {};
1496
+ };
1497
+ queryLoadChildData: {
1498
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1499
+ default: undefined;
1500
+ };
1501
+ queryTreeSearch: {
1502
+ type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
1503
+ default: () => Promise<never[]>;
1504
+ };
1505
+ showSelectType: {
1506
+ type: BooleanConstructor;
1507
+ default: boolean;
1508
+ };
1509
+ roleData: {
1510
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1511
+ default: () => never[];
1512
+ };
1513
+ roleFields: {
1514
+ type: ObjectConstructor;
1515
+ default: () => {
1516
+ label: string;
1517
+ key: string;
1518
+ children: string;
1519
+ };
1520
+ };
1521
+ }>>, {
1522
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1523
+ defaultList: ((string | number) | {
716
1524
  [key: string]: any;
717
1525
  key: string | number;
718
- children: any[];
719
- parentNode: any;
720
- }, value: string | number) => false | undefined;
721
- findChild: (baseKeys: (string | number)[], children: {
722
- [key: string]: any;
723
- key: string | number;
724
- children: any[];
725
- parentNode: any;
726
- }[], value: string | number) => false | undefined;
727
- checkInitTree: (tree: {
1526
+ })[];
1527
+ searchPlaceholder: string;
1528
+ searchButtonText: string;
1529
+ wordbook: {
728
1530
  [key: string]: any;
729
- key: string | number;
730
- children: any[];
731
- parentNode: any;
732
- }, baseKey: string | number) => false | undefined;
733
- ref: typeof ref;
734
- NCheckboxGroup: any;
735
- NCheckbox: any;
736
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
737
- treeData: {
738
- type: import("vue").PropType<any[]>;
739
- default: () => never[];
1531
+ parent_id_obj: string;
1532
+ parent_name_obj: string;
1533
+ user_count_obj?: string | undefined;
1534
+ filter_key?: string | undefined;
740
1535
  };
741
- checkedKeys: {
742
- type: import("vue").PropType<(string | number)[]>;
743
- default: () => never[];
1536
+ wordbookChild: {
1537
+ user_id_obj: string;
1538
+ user_name_obj: string;
1539
+ user_expand_keys?: string[] | undefined;
744
1540
  };
745
- }>> & {
746
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
747
- }, {
748
- treeData: any[];
749
- checkedKeys: (string | number)[];
750
- }>;
751
- SearchOrgAndStaff: import("vue").DefineComponent<{
752
- treeData: {
753
- type: import("vue").PropType<any[]>;
1541
+ showCount: boolean;
1542
+ showClear: boolean;
1543
+ multiple: boolean;
1544
+ searchInner: boolean;
1545
+ searchFilter: AnyObject;
1546
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
1547
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
1548
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
1549
+ showSelectType: boolean;
1550
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1551
+ roleFields: Record<string, any>;
1552
+ }>>;
1553
+ getProps: import("vue").ComputedRef<Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1554
+ defaultList: {
1555
+ type: import("vue").PropType<((string | number) | {
1556
+ [key: string]: any;
1557
+ key: string | number;
1558
+ })[]>;
754
1559
  default: () => never[];
755
1560
  };
756
- checkedKeys: {
757
- type: import("vue").PropType<(string | number)[]>;
1561
+ data: {
1562
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
758
1563
  default: () => never[];
759
1564
  };
760
- searchFilter: {
761
- type: ObjectConstructor;
1565
+ searchPlaceholder: {
1566
+ type: StringConstructor;
1567
+ default: string;
1568
+ };
1569
+ searchButtonText: {
1570
+ type: StringConstructor;
1571
+ default: string;
1572
+ };
1573
+ wordbook: {
1574
+ type: import("vue").PropType<{
1575
+ [key: string]: any;
1576
+ parent_id_obj: string;
1577
+ parent_name_obj: string;
1578
+ user_count_obj?: string | undefined;
1579
+ filter_key?: string | undefined;
1580
+ }>;
1581
+ default: () => {};
1582
+ };
1583
+ wordbookChild: {
1584
+ type: import("vue").PropType<{
1585
+ user_id_obj: string;
1586
+ user_name_obj: string;
1587
+ user_expand_keys?: string[] | undefined;
1588
+ }>;
762
1589
  default: () => {};
763
1590
  };
764
- isMultiple: {
1591
+ showCount: {
765
1592
  type: BooleanConstructor;
766
1593
  default: boolean;
767
1594
  };
768
- }, {
769
- $message: import("naive-ui").MessageApi;
770
- virtualItemHeight: number;
771
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
772
- treeData: {
773
- type: import("vue").PropType<any[]>;
774
- default: () => never[];
775
- };
776
- checkedKeys: {
777
- type: import("vue").PropType<(string | number)[]>;
778
- default: () => never[];
779
- };
780
- searchFilter: {
781
- type: ObjectConstructor;
782
- default: () => {};
783
- };
784
- isMultiple: {
785
- type: BooleanConstructor;
786
- default: boolean;
787
- };
788
- }>> & {
789
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
790
- onNotifyClear?: ((...args: any[]) => any) | undefined;
791
- }>>;
792
- emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
793
- moduleHeight: import("vue").ComputedRef<any>;
794
- showNums: import("vue").ComputedRef<number>;
795
- staffDataRef: import("vue").ComputedRef<any[]>;
796
- staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
797
- staffContainerProps: {
798
- ref: import("vue").Ref<any>;
799
- onScroll: () => void;
800
- style: Partial<CSSStyleDeclaration>;
801
- };
802
- staffWrapperProps: import("vue").ComputedRef<{
803
- style: {
804
- width: string;
805
- height: string;
806
- marginTop: string;
807
- };
808
- }>;
809
- staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
810
- orgDataRef: import("vue").ComputedRef<any[]>;
811
- orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
812
- orgContainerProps: {
813
- ref: import("vue").Ref<any>;
814
- onScroll: () => void;
815
- style: Partial<CSSStyleDeclaration>;
816
- };
817
- orgWrapperProps: import("vue").ComputedRef<{
818
- style: {
819
- width: string;
820
- height: string;
821
- marginTop: string;
822
- };
823
- }>;
824
- orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
825
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
826
- showSelectKeys: import("vue").Ref<(string | number)[]>;
827
- handleClick: (tree: any) => void;
828
- handleStaffClick: (baseKeys: (string | number)[], currentTree: {
829
- [key: string]: any;
830
- key: string | number;
831
- children: any[];
832
- parentNode: any;
833
- }, value: string | number) => false | undefined;
834
- findParent: (baseKeys: (string | number)[], currentTree: {
835
- [key: string]: any;
836
- key: string | number;
837
- children: any[];
838
- parentNode: any;
839
- }) => false | undefined;
840
- handleOrgClick: (baseKeys: (string | number)[], currentTree: {
841
- [key: string]: any;
842
- key: string | number;
843
- children: any[];
844
- parentNode: any;
845
- }, value: string | number) => void;
846
- handleFindChildren: (treeList: {
847
- [key: string]: any;
848
- key: string | number;
849
- children: any[];
850
- parentNode: any;
851
- }[]) => void;
852
- checkInitTree: (tree: {
853
- [key: string]: any;
854
- key: string | number;
855
- children: any[];
856
- parentNode: any;
857
- }, baseKey: string | number) => false | undefined;
858
- ref: typeof ref;
859
- NEmpty: any;
860
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
861
- treeData: {
862
- type: import("vue").PropType<any[]>;
863
- default: () => never[];
1595
+ showClear: {
1596
+ type: BooleanConstructor;
1597
+ default: boolean;
864
1598
  };
865
- checkedKeys: {
866
- type: import("vue").PropType<(string | number)[]>;
867
- default: () => never[];
1599
+ multiple: {
1600
+ type: BooleanConstructor;
1601
+ default: boolean;
1602
+ };
1603
+ searchInner: {
1604
+ type: BooleanConstructor;
1605
+ default: boolean;
868
1606
  };
869
1607
  searchFilter: {
870
- type: ObjectConstructor;
1608
+ type: import("vue").PropType<AnyObject>;
871
1609
  default: () => {};
872
1610
  };
873
- isMultiple: {
1611
+ treeSetting: {
1612
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1613
+ default: () => {};
1614
+ };
1615
+ queryLoadChildData: {
1616
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1617
+ default: undefined;
1618
+ };
1619
+ queryTreeSearch: {
1620
+ type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
1621
+ default: () => Promise<never[]>;
1622
+ };
1623
+ showSelectType: {
874
1624
  type: BooleanConstructor;
875
1625
  default: boolean;
876
1626
  };
1627
+ roleData: {
1628
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1629
+ default: () => never[];
1630
+ };
1631
+ roleFields: {
1632
+ type: ObjectConstructor;
1633
+ default: () => {
1634
+ label: string;
1635
+ key: string;
1636
+ children: string;
1637
+ };
1638
+ };
1639
+ switchTypeProps: {
1640
+ type: import("vue").PropType<AnyObject[]>;
1641
+ default: () => never[];
1642
+ };
1643
+ switchTypeData: {
1644
+ type: import("vue").PropType<AnyObject>;
1645
+ default: () => {};
1646
+ };
1647
+ tagProps: {
1648
+ type: import("vue").PropType<AnyObject>;
1649
+ default: () => {};
1650
+ };
877
1651
  }>> & {
878
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
879
- onNotifyClear?: ((...args: any[]) => any) | undefined;
880
- }, {
881
- searchFilter: Record<string, any>;
882
- treeData: any[];
883
- checkedKeys: (string | number)[];
884
- isMultiple: boolean;
1652
+ onCheck?: ((...args: any[]) => any) | undefined;
1653
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
1654
+ }>> & {
1655
+ [x: string]: unknown;
885
1656
  }>;
1657
+ emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
1658
+ getCheckWithLevel: () => any;
886
1659
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
887
1660
  defaultList: {
888
1661
  type: import("vue").PropType<((string | number) | {
@@ -969,6 +1742,18 @@ declare const _default: import("vue").DefineComponent<{
969
1742
  children: string;
970
1743
  };
971
1744
  };
1745
+ switchTypeProps: {
1746
+ type: import("vue").PropType<AnyObject[]>;
1747
+ default: () => never[];
1748
+ };
1749
+ switchTypeData: {
1750
+ type: import("vue").PropType<AnyObject>;
1751
+ default: () => {};
1752
+ };
1753
+ tagProps: {
1754
+ type: import("vue").PropType<AnyObject>;
1755
+ default: () => {};
1756
+ };
972
1757
  }>> & {
973
1758
  onCheck?: ((...args: any[]) => any) | undefined;
974
1759
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -1003,6 +1788,9 @@ declare const _default: import("vue").DefineComponent<{
1003
1788
  showSelectType: boolean;
1004
1789
  roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1005
1790
  roleFields: Record<string, any>;
1791
+ switchTypeProps: AnyObject[];
1792
+ switchTypeData: AnyObject;
1793
+ tagProps: AnyObject;
1006
1794
  }>>;
1007
1795
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1008
1796
  visible: {