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
@@ -508,20 +508,21 @@ declare const _default: import("vue").DefineComponent<{
508
508
  children: string;
509
509
  };
510
510
  };
511
- }, {
512
- searchFilterBase: {
513
- isOpen: boolean;
514
- multiple: boolean;
515
- customTitles: string[];
516
- itemHeight: number;
511
+ switchTypeProps: {
512
+ type: PropType<AnyObject[]>;
513
+ default: () => never[];
517
514
  };
518
- labelList: {
519
- key: string;
520
- label: string;
521
- }[];
522
- labelListName: {
523
- dept: string;
524
- role: string;
515
+ switchTypeData: {
516
+ type: PropType<AnyObject>;
517
+ default: () => {};
518
+ };
519
+ tagProps: {
520
+ type: PropType<AnyObject>;
521
+ default: () => {};
522
+ };
523
+ }, {
524
+ $attrs: {
525
+ [x: string]: unknown;
525
526
  };
526
527
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
527
528
  defaultList: {
@@ -609,338 +610,1110 @@ declare const _default: import("vue").DefineComponent<{
609
610
  children: string;
610
611
  };
611
612
  };
612
- }>> & {
613
- onCheck?: ((...args: any[]) => any) | undefined;
614
- onCheckWithLevel?: ((...args: any[]) => any) | undefined;
615
- }>>;
616
- emit: (event: "check" | "checkWithLevel", ...args: any[]) => void;
617
- keyword: import("vue").Ref<string>;
618
- checkedAll: import("vue").Ref<boolean>;
619
- checkedKeys: import("vue").Ref<(string | number)[]>;
620
- expandedKeys: import("vue").Ref<(string | number)[]>;
621
- treeData: import("vue").Ref<{
622
- [x: string]: unknown;
623
- key?: import("naive-ui/es/tree/src/interface").Key | undefined;
624
- label?: string | undefined;
625
- checkboxDisabled?: boolean | undefined;
626
- disabled?: boolean | undefined;
627
- isLeaf?: boolean | undefined;
628
- children?: any[] | undefined;
629
- prefix?: (() => import("vue").VNodeChild) | undefined;
630
- suffix?: (() => import("vue").VNodeChild) | undefined;
631
- }[]>;
632
- tagData: import("vue").Ref<{
633
- [x: string]: any;
634
- key: string | number;
635
- }[]>;
636
- initTagData: import("vue").Ref<{
637
- [x: string]: any;
638
- key: string | number;
639
- }[]>;
640
- isSearch: import("vue").Ref<boolean>;
641
- tempData: import("naive-ui").TreeOption[];
642
- allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
643
- isRemote: import("vue").ComputedRef<boolean>;
644
- checkStrategyResult: import("vue").ComputedRef<any>;
645
- isSearchFilter: import("vue").ComputedRef<boolean>;
646
- curSelectKey: import("vue").Ref<string>;
647
- mergeSearchFilter: import("vue").ComputedRef<{
648
- isOpen: boolean;
649
- multiple: boolean;
650
- customTitles: string[];
651
- itemHeight: number;
652
- }>;
653
- wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
654
- caculateTagData: import("vue").ComputedRef<any>;
655
- treeDataMiddle: any;
656
- checkedKeysMiddle: any;
657
- checkedTagsMiddle: any;
658
- allCheckedKeysMiddle: any;
659
- attrType: import("vue").ComputedRef<any>;
660
- keyStr: import("vue").ComputedRef<string>;
661
- getTreeDataMiddleData: () => void;
662
- getDeptData: (list: any[], cb?: any) => any[];
663
- getRoleData: (list: any[], cb?: any) => any[];
664
- onHandleLabelChange: (item: any) => void;
665
- setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
666
- uniqArrObj: (arr: any[], name: string) => any;
667
- init: () => void;
668
- getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
669
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
670
- setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
671
- setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
672
- queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
673
- setDisabled: (data: import("naive-ui").TreeOption) => void;
674
- renderLabel: ({ option }: {
675
- option: import("naive-ui").TreeOption;
676
- }) => JSX.Element;
677
- getLabelName: (option: import("naive-ui").TreeOption) => {};
678
- transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
679
- calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
680
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
681
- searchSetting: () => string;
682
- onSearch: () => Promise<void>;
683
- setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
684
- setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
685
- setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
686
- checkedAllChange: (checked: boolean) => void;
687
- uniq: (arr: {
688
- [key: string]: any;
689
- key: string | number;
690
- }[]) => {
691
- [key: string]: any;
692
- key: string | number;
693
- }[];
694
- setTagData: (tree: import("naive-ui").TreeOption[]) => void;
695
- updateTreeChecked: (keys: (string | number)[]) => void;
696
- setCheckedAll: () => void;
697
- clearAll: () => void;
698
- closeTag: (tag: {
699
- [key: string]: any;
700
- key: string | number;
701
- }) => void;
702
- notifyCheck: (keys: (string | number)[]) => void;
703
- notifySearchClear: () => void;
704
- getCheckWithLevel: () => any;
705
- NButton: any;
706
- NInput: any;
707
- NInputGroup: any;
708
- NCheckbox: any;
709
- NTree: any;
710
- NTag: any;
711
- NIcon: any;
712
- NSpace: any;
713
- NGrid: any;
714
- NGi: any;
715
- NEmpty: any;
716
- 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<{}>>, {}>;
717
- SearchMultiple: import("vue").DefineComponent<{
718
- treeData: {
719
- type: PropType<any[]>;
720
- default: () => never[];
721
- };
722
- checkedKeys: {
723
- type: PropType<(string | number)[]>;
724
- default: () => never[];
725
- };
726
- }, {
727
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
728
- treeData: {
729
- type: PropType<any[]>;
730
- default: () => never[];
731
- };
732
- checkedKeys: {
733
- type: PropType<(string | number)[]>;
734
- default: () => never[];
735
- };
736
- }>> & {
737
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
738
- }>>;
739
- emit: (event: "notifyCheck", ...args: any[]) => void;
740
- optionsRef: import("vue").ComputedRef<any[]>;
741
- list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
742
- containerProps: {
743
- ref: import("vue").Ref<any>;
744
- onScroll: () => void;
745
- style: Partial<CSSStyleDeclaration>;
746
- };
747
- wrapperProps: import("vue").ComputedRef<{
748
- style: {
749
- width: string;
750
- height: string;
751
- marginTop: string;
752
- };
753
- }>;
754
- containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
755
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
756
- showSelectKeys: import("vue").Ref<(string | number)[]>;
757
- checkedChange: (checkList: (string | number)[], meta: {
758
- actionType: "check" | "uncheck";
759
- value: string | number;
760
- }) => void;
761
- handleCheckKey: (baseKeys: (string | number)[], currentTree: {
762
- [key: string]: any;
763
- key: string | number;
764
- children: any[];
765
- parentNode: any;
766
- } | null, value: string | number) => false | undefined;
767
- findParent: (baseKeys: (string | number)[], currentTree: {
768
- [key: string]: any;
769
- key: string | number;
770
- children: any[];
771
- parentNode: any;
772
- }) => false | undefined;
773
- handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
613
+ switchTypeProps: {
614
+ type: PropType<AnyObject[]>;
615
+ default: () => never[];
616
+ };
617
+ switchTypeData: {
618
+ type: PropType<AnyObject>;
619
+ default: () => {};
620
+ };
621
+ tagProps: {
622
+ type: PropType<AnyObject>;
623
+ default: () => {};
624
+ };
625
+ }>> & {
626
+ onCheck?: ((...args: any[]) => any) | undefined;
627
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
628
+ }>>;
629
+ __emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
630
+ selectPersonRef: import("vue").Ref<any>;
631
+ isComponent: import("vue").ComputedRef<import("vue").DefineComponent<{
632
+ defaultList: {
633
+ type: PropType<((string | number) | {
634
+ [key: string]: any;
635
+ key: string | number;
636
+ })[]>;
637
+ default: () => never[];
638
+ };
639
+ data: {
640
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
641
+ default: () => never[];
642
+ };
643
+ searchPlaceholder: {
644
+ type: StringConstructor;
645
+ default: string;
646
+ };
647
+ searchButtonText: {
648
+ type: StringConstructor;
649
+ default: string;
650
+ };
651
+ wordbook: {
652
+ type: PropType<{
653
+ [key: string]: any;
654
+ parent_id_obj: string;
655
+ parent_name_obj: string;
656
+ user_count_obj?: string | undefined;
657
+ filter_key?: string | undefined;
658
+ }>;
659
+ default: () => {};
660
+ };
661
+ wordbookChild: {
662
+ type: PropType<{
663
+ user_id_obj: string;
664
+ user_name_obj: string;
665
+ user_expand_keys?: string[] | undefined;
666
+ }>;
667
+ default: () => {};
668
+ };
669
+ showCount: {
670
+ type: BooleanConstructor;
671
+ default: boolean;
672
+ };
673
+ showClear: {
674
+ type: BooleanConstructor;
675
+ default: boolean;
676
+ };
677
+ multiple: {
678
+ type: BooleanConstructor;
679
+ default: boolean;
680
+ };
681
+ searchInner: {
682
+ type: BooleanConstructor;
683
+ default: boolean;
684
+ };
685
+ searchFilter: {
686
+ type: PropType<AnyObject>;
687
+ default: () => {};
688
+ };
689
+ treeSetting: {
690
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
691
+ default: () => {};
692
+ };
693
+ queryLoadChildData: {
694
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
695
+ default: undefined;
696
+ };
697
+ queryTreeSearch: {
698
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
699
+ default: () => Promise<never[]>;
700
+ };
701
+ switchTypeProps: {
702
+ type: PropType<AnyObject[]>;
703
+ default: () => never[];
704
+ };
705
+ switchTypeData: {
706
+ type: PropType<AnyObject>;
707
+ default: () => {};
708
+ };
709
+ tagProps: {
710
+ type: PropType<AnyObject>;
711
+ default: () => {};
712
+ };
713
+ }, {
714
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
715
+ defaultList: {
716
+ type: PropType<((string | number) | {
717
+ [key: string]: any;
718
+ key: string | number;
719
+ })[]>;
720
+ default: () => never[];
721
+ };
722
+ data: {
723
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
724
+ default: () => never[];
725
+ };
726
+ searchPlaceholder: {
727
+ type: StringConstructor;
728
+ default: string;
729
+ };
730
+ searchButtonText: {
731
+ type: StringConstructor;
732
+ default: string;
733
+ };
734
+ wordbook: {
735
+ type: PropType<{
736
+ [key: string]: any;
737
+ parent_id_obj: string;
738
+ parent_name_obj: string;
739
+ user_count_obj?: string | undefined;
740
+ filter_key?: string | undefined;
741
+ }>;
742
+ default: () => {};
743
+ };
744
+ wordbookChild: {
745
+ type: PropType<{
746
+ user_id_obj: string;
747
+ user_name_obj: string;
748
+ user_expand_keys?: string[] | undefined;
749
+ }>;
750
+ default: () => {};
751
+ };
752
+ showCount: {
753
+ type: BooleanConstructor;
754
+ default: boolean;
755
+ };
756
+ showClear: {
757
+ type: BooleanConstructor;
758
+ default: boolean;
759
+ };
760
+ multiple: {
761
+ type: BooleanConstructor;
762
+ default: boolean;
763
+ };
764
+ searchInner: {
765
+ type: BooleanConstructor;
766
+ default: boolean;
767
+ };
768
+ searchFilter: {
769
+ type: PropType<AnyObject>;
770
+ default: () => {};
771
+ };
772
+ treeSetting: {
773
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
774
+ default: () => {};
775
+ };
776
+ queryLoadChildData: {
777
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
778
+ default: undefined;
779
+ };
780
+ queryTreeSearch: {
781
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
782
+ default: () => Promise<never[]>;
783
+ };
784
+ switchTypeProps: {
785
+ type: PropType<AnyObject[]>;
786
+ default: () => never[];
787
+ };
788
+ switchTypeData: {
789
+ type: PropType<AnyObject>;
790
+ default: () => {};
791
+ };
792
+ tagProps: {
793
+ type: PropType<AnyObject>;
794
+ default: () => {};
795
+ };
796
+ }>> & {}>>;
797
+ emit: any;
798
+ keyword: import("vue").Ref<string>;
799
+ checkedAll: import("vue").Ref<boolean>;
800
+ checkedKeys: import("vue").Ref<(string | number)[]>;
801
+ expandedKeys: import("vue").Ref<(string | number)[]>;
802
+ treeData: import("vue").Ref<{
803
+ [x: string]: unknown;
804
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
805
+ label?: string | undefined;
806
+ checkboxDisabled?: boolean | undefined;
807
+ disabled?: boolean | undefined;
808
+ isLeaf?: boolean | undefined;
809
+ children?: any[] | undefined;
810
+ prefix?: (() => import("vue").VNodeChild) | undefined;
811
+ suffix?: (() => import("vue").VNodeChild) | undefined;
812
+ }[]>;
813
+ isSearch: import("vue").Ref<boolean>;
814
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
815
+ curSelectKey: any;
816
+ treeDataMiddle: any;
817
+ checkedTagsMiddle: import("vue").Ref<any[]>;
818
+ allCheckedKeysMiddle: any;
819
+ isSearchFilter: import("vue").ComputedRef<boolean>;
820
+ keyStr: import("vue").ComputedRef<string | number>;
821
+ onHandleLabelChange: (item: any) => void;
822
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
823
+ addTagToTemp: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
824
+ init: () => void;
825
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
826
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
827
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
828
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
829
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
830
+ renderLabel: ({ option }: {
831
+ option: import("naive-ui").TreeOption;
832
+ }) => JSX.Element;
833
+ getLabelName: (curProps: any, option: import("naive-ui").TreeOption) => {};
834
+ loopTrees: (treeObjs: any) => any;
835
+ transformData: (key: string, trees: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => import("naive-ui").TreeOption[];
836
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
837
+ searchSetting: () => string;
838
+ onSearch: () => Promise<void>;
839
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
840
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
841
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
842
+ checkedAllChange: (checked: boolean) => void;
843
+ updateTreeChecked: (keys: (string | number)[]) => void;
844
+ setCheckedAll: () => void;
845
+ clearAll: () => void;
846
+ closeTag: (tag: {
847
+ [key: string]: any;
848
+ key: string | number;
849
+ }) => void;
850
+ notifySearchClear: () => void;
851
+ getCheckWithLevel: () => any[];
852
+ NButton: any;
853
+ NInput: any;
854
+ NInputGroup: any;
855
+ NCheckbox: any;
856
+ NTree: any;
857
+ NTag: any;
858
+ NIcon: any;
859
+ NSpace: any;
860
+ NGrid: any;
861
+ NGi: any;
862
+ NEmpty: any;
863
+ 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<{}>>, {}>;
864
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
865
+ defaultList: {
866
+ type: PropType<((string | number) | {
867
+ [key: string]: any;
868
+ key: string | number;
869
+ })[]>;
870
+ default: () => never[];
871
+ };
872
+ data: {
873
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
874
+ default: () => never[];
875
+ };
876
+ searchPlaceholder: {
877
+ type: StringConstructor;
878
+ default: string;
879
+ };
880
+ searchButtonText: {
881
+ type: StringConstructor;
882
+ default: string;
883
+ };
884
+ wordbook: {
885
+ type: PropType<{
886
+ [key: string]: any;
887
+ parent_id_obj: string;
888
+ parent_name_obj: string;
889
+ user_count_obj?: string | undefined;
890
+ filter_key?: string | undefined;
891
+ }>;
892
+ default: () => {};
893
+ };
894
+ wordbookChild: {
895
+ type: PropType<{
896
+ user_id_obj: string;
897
+ user_name_obj: string;
898
+ user_expand_keys?: string[] | undefined;
899
+ }>;
900
+ default: () => {};
901
+ };
902
+ showCount: {
903
+ type: BooleanConstructor;
904
+ default: boolean;
905
+ };
906
+ showClear: {
907
+ type: BooleanConstructor;
908
+ default: boolean;
909
+ };
910
+ multiple: {
911
+ type: BooleanConstructor;
912
+ default: boolean;
913
+ };
914
+ searchInner: {
915
+ type: BooleanConstructor;
916
+ default: boolean;
917
+ };
918
+ searchFilter: {
919
+ type: PropType<AnyObject>;
920
+ default: () => {};
921
+ };
922
+ treeSetting: {
923
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
924
+ default: () => {};
925
+ };
926
+ queryLoadChildData: {
927
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
928
+ default: undefined;
929
+ };
930
+ queryTreeSearch: {
931
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
932
+ default: () => Promise<never[]>;
933
+ };
934
+ switchTypeProps: {
935
+ type: PropType<AnyObject[]>;
936
+ default: () => never[];
937
+ };
938
+ switchTypeData: {
939
+ type: PropType<AnyObject>;
940
+ default: () => {};
941
+ };
942
+ tagProps: {
943
+ type: PropType<AnyObject>;
944
+ default: () => {};
945
+ };
946
+ }>>, {
947
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
948
+ defaultList: ((string | number) | {
949
+ [key: string]: any;
950
+ key: string | number;
951
+ })[];
952
+ searchPlaceholder: string;
953
+ searchButtonText: string;
954
+ wordbook: {
955
+ [key: string]: any;
956
+ parent_id_obj: string;
957
+ parent_name_obj: string;
958
+ user_count_obj?: string | undefined;
959
+ filter_key?: string | undefined;
960
+ };
961
+ wordbookChild: {
962
+ user_id_obj: string;
963
+ user_name_obj: string;
964
+ user_expand_keys?: string[] | undefined;
965
+ };
966
+ showCount: boolean;
967
+ showClear: boolean;
968
+ multiple: boolean;
969
+ searchInner: boolean;
970
+ searchFilter: AnyObject;
971
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
972
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
973
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
974
+ switchTypeProps: AnyObject[];
975
+ switchTypeData: AnyObject;
976
+ tagProps: AnyObject;
977
+ }> | import("vue").DefineComponent<{
978
+ defaultList: {
979
+ type: PropType<((string | number) | {
980
+ [key: string]: any;
981
+ key: string | number;
982
+ })[]>;
983
+ default: () => never[];
984
+ };
985
+ data: {
986
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
987
+ default: () => never[];
988
+ };
989
+ searchPlaceholder: {
990
+ type: StringConstructor;
991
+ default: string;
992
+ };
993
+ searchButtonText: {
994
+ type: StringConstructor;
995
+ default: string;
996
+ };
997
+ wordbook: {
998
+ type: PropType<{
999
+ [key: string]: any;
1000
+ parent_id_obj: string;
1001
+ parent_name_obj: string;
1002
+ user_count_obj?: string | undefined;
1003
+ filter_key?: string | undefined;
1004
+ }>;
1005
+ default: () => {};
1006
+ };
1007
+ wordbookChild: {
1008
+ type: PropType<{
1009
+ user_id_obj: string;
1010
+ user_name_obj: string;
1011
+ user_expand_keys?: string[] | undefined;
1012
+ }>;
1013
+ default: () => {};
1014
+ };
1015
+ showCount: {
1016
+ type: BooleanConstructor;
1017
+ default: boolean;
1018
+ };
1019
+ showClear: {
1020
+ type: BooleanConstructor;
1021
+ default: boolean;
1022
+ };
1023
+ multiple: {
1024
+ type: BooleanConstructor;
1025
+ default: boolean;
1026
+ };
1027
+ searchInner: {
1028
+ type: BooleanConstructor;
1029
+ default: boolean;
1030
+ };
1031
+ searchFilter: {
1032
+ type: PropType<AnyObject>;
1033
+ default: () => {};
1034
+ };
1035
+ treeSetting: {
1036
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1037
+ default: () => {};
1038
+ };
1039
+ queryLoadChildData: {
1040
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1041
+ default: undefined;
1042
+ };
1043
+ queryTreeSearch: {
1044
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
1045
+ default: () => Promise<never[]>;
1046
+ };
1047
+ showSelectType: {
1048
+ type: BooleanConstructor;
1049
+ default: boolean;
1050
+ };
1051
+ roleData: {
1052
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1053
+ default: () => never[];
1054
+ };
1055
+ roleFields: {
1056
+ type: ObjectConstructor;
1057
+ default: () => {
1058
+ label: string;
1059
+ key: string;
1060
+ children: string;
1061
+ };
1062
+ };
1063
+ }, {
1064
+ searchFilterBase: {
1065
+ isOpen: boolean;
1066
+ multiple: boolean;
1067
+ customTitles: string[];
1068
+ itemHeight: number;
1069
+ };
1070
+ labelList: {
1071
+ key: string;
1072
+ label: string;
1073
+ }[];
1074
+ labelListName: {
1075
+ dept: string;
1076
+ role: string;
1077
+ };
1078
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1079
+ defaultList: {
1080
+ type: PropType<((string | number) | {
1081
+ [key: string]: any;
1082
+ key: string | number;
1083
+ })[]>;
1084
+ default: () => never[];
1085
+ };
1086
+ data: {
1087
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1088
+ default: () => never[];
1089
+ };
1090
+ searchPlaceholder: {
1091
+ type: StringConstructor;
1092
+ default: string;
1093
+ };
1094
+ searchButtonText: {
1095
+ type: StringConstructor;
1096
+ default: string;
1097
+ };
1098
+ wordbook: {
1099
+ type: PropType<{
1100
+ [key: string]: any;
1101
+ parent_id_obj: string;
1102
+ parent_name_obj: string;
1103
+ user_count_obj?: string | undefined;
1104
+ filter_key?: string | undefined;
1105
+ }>;
1106
+ default: () => {};
1107
+ };
1108
+ wordbookChild: {
1109
+ type: PropType<{
1110
+ user_id_obj: string;
1111
+ user_name_obj: string;
1112
+ user_expand_keys?: string[] | undefined;
1113
+ }>;
1114
+ default: () => {};
1115
+ };
1116
+ showCount: {
1117
+ type: BooleanConstructor;
1118
+ default: boolean;
1119
+ };
1120
+ showClear: {
1121
+ type: BooleanConstructor;
1122
+ default: boolean;
1123
+ };
1124
+ multiple: {
1125
+ type: BooleanConstructor;
1126
+ default: boolean;
1127
+ };
1128
+ searchInner: {
1129
+ type: BooleanConstructor;
1130
+ default: boolean;
1131
+ };
1132
+ searchFilter: {
1133
+ type: PropType<AnyObject>;
1134
+ default: () => {};
1135
+ };
1136
+ treeSetting: {
1137
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1138
+ default: () => {};
1139
+ };
1140
+ queryLoadChildData: {
1141
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1142
+ default: undefined;
1143
+ };
1144
+ queryTreeSearch: {
1145
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
1146
+ default: () => Promise<never[]>;
1147
+ };
1148
+ showSelectType: {
1149
+ type: BooleanConstructor;
1150
+ default: boolean;
1151
+ };
1152
+ roleData: {
1153
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1154
+ default: () => never[];
1155
+ };
1156
+ roleFields: {
1157
+ type: ObjectConstructor;
1158
+ default: () => {
1159
+ label: string;
1160
+ key: string;
1161
+ children: string;
1162
+ };
1163
+ };
1164
+ }>> & {}>>;
1165
+ emit: any;
1166
+ keyword: import("vue").Ref<string>;
1167
+ checkedAll: import("vue").Ref<boolean>;
1168
+ checkedKeys: import("vue").Ref<(string | number)[]>;
1169
+ expandedKeys: import("vue").Ref<(string | number)[]>;
1170
+ treeData: import("vue").Ref<{
1171
+ [x: string]: unknown;
1172
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
1173
+ label?: string | undefined;
1174
+ checkboxDisabled?: boolean | undefined;
1175
+ disabled?: boolean | undefined;
1176
+ isLeaf?: boolean | undefined;
1177
+ children?: any[] | undefined;
1178
+ prefix?: (() => import("vue").VNodeChild) | undefined;
1179
+ suffix?: (() => import("vue").VNodeChild) | undefined;
1180
+ }[]>;
1181
+ tagData: import("vue").Ref<{
1182
+ [x: string]: any;
1183
+ key: string | number;
1184
+ }[]>;
1185
+ initTagData: import("vue").Ref<{
1186
+ [x: string]: any;
1187
+ key: string | number;
1188
+ }[]>;
1189
+ isSearch: import("vue").Ref<boolean>;
1190
+ tempData: import("naive-ui").TreeOption[];
1191
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
1192
+ isRemote: import("vue").ComputedRef<boolean>;
1193
+ checkStrategyResult: import("vue").ComputedRef<any>;
1194
+ isSearchFilter: import("vue").ComputedRef<boolean>;
1195
+ curSelectKey: import("vue").Ref<string>;
1196
+ mergeSearchFilter: import("vue").ComputedRef<{
1197
+ isOpen: boolean;
1198
+ multiple: boolean;
1199
+ customTitles: string[];
1200
+ itemHeight: number;
1201
+ }>;
1202
+ wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
1203
+ caculateTagData: import("vue").ComputedRef<any>;
1204
+ treeDataMiddle: any;
1205
+ checkedKeysMiddle: any;
1206
+ checkedTagsMiddle: any;
1207
+ allCheckedKeysMiddle: any;
1208
+ attrType: import("vue").ComputedRef<any>;
1209
+ keyStr: import("vue").ComputedRef<string>;
1210
+ getTreeDataMiddleData: () => void;
1211
+ getDeptData: (list: any[], cb?: any) => any[];
1212
+ getRoleData: (list: any[], cb?: any) => any[];
1213
+ onHandleLabelChange: (item: any) => void;
1214
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
1215
+ uniqArrObj: (arr: any[], name: string) => any;
1216
+ init: () => void;
1217
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
1218
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
1219
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
1220
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
1221
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
1222
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
1223
+ renderLabel: ({ option }: {
1224
+ option: import("naive-ui").TreeOption;
1225
+ }) => JSX.Element;
1226
+ getLabelName: (option: import("naive-ui").TreeOption) => {};
1227
+ transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
1228
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
1229
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
1230
+ searchSetting: () => string;
1231
+ onSearch: () => Promise<void>;
1232
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
1233
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
1234
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
1235
+ checkedAllChange: (checked: boolean) => void;
1236
+ uniq: (arr: {
1237
+ [key: string]: any;
1238
+ key: string | number;
1239
+ }[]) => {
1240
+ [key: string]: any;
1241
+ key: string | number;
1242
+ }[];
1243
+ setTagData: (tree: import("naive-ui").TreeOption[]) => void;
1244
+ updateTreeChecked: (keys: (string | number)[]) => void;
1245
+ setCheckedAll: () => void;
1246
+ clearAll: () => void;
1247
+ closeTag: (tag: {
1248
+ [key: string]: any;
1249
+ key: string | number;
1250
+ }) => void;
1251
+ notifyCheck: (keys: (string | number)[]) => void;
1252
+ notifySearchClear: () => void;
1253
+ getCheckWithLevel: () => any;
1254
+ NButton: any;
1255
+ NInput: any;
1256
+ NInputGroup: any;
1257
+ NCheckbox: any;
1258
+ NTree: any;
1259
+ NTag: any;
1260
+ NIcon: any;
1261
+ NSpace: any;
1262
+ NGrid: any;
1263
+ NGi: any;
1264
+ NEmpty: any;
1265
+ 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<{}>>, {}>;
1266
+ SearchMultiple: import("vue").DefineComponent<{
1267
+ treeData: {
1268
+ type: PropType<any[]>;
1269
+ default: () => never[];
1270
+ };
1271
+ checkedKeys: {
1272
+ type: PropType<(string | number)[]>;
1273
+ default: () => never[];
1274
+ };
1275
+ }, {
1276
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1277
+ treeData: {
1278
+ type: PropType<any[]>;
1279
+ default: () => never[];
1280
+ };
1281
+ checkedKeys: {
1282
+ type: PropType<(string | number)[]>;
1283
+ default: () => never[];
1284
+ };
1285
+ }>> & {
1286
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1287
+ }>>;
1288
+ emit: (event: "notifyCheck", ...args: any[]) => void;
1289
+ optionsRef: import("vue").ComputedRef<any[]>;
1290
+ list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1291
+ containerProps: {
1292
+ ref: import("vue").Ref<any>;
1293
+ onScroll: () => void;
1294
+ style: Partial<CSSStyleDeclaration>;
1295
+ };
1296
+ wrapperProps: import("vue").ComputedRef<{
1297
+ style: {
1298
+ width: string;
1299
+ height: string;
1300
+ marginTop: string;
1301
+ };
1302
+ }>;
1303
+ containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1304
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1305
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1306
+ checkedChange: (checkList: (string | number)[], meta: {
1307
+ actionType: "check" | "uncheck";
1308
+ value: string | number;
1309
+ }) => void;
1310
+ handleCheckKey: (baseKeys: (string | number)[], currentTree: {
1311
+ [key: string]: any;
1312
+ key: string | number;
1313
+ children: any[];
1314
+ parentNode: any;
1315
+ } | null, value: string | number) => false | undefined;
1316
+ findParent: (baseKeys: (string | number)[], currentTree: {
1317
+ [key: string]: any;
1318
+ key: string | number;
1319
+ children: any[];
1320
+ parentNode: any;
1321
+ }) => false | undefined;
1322
+ handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
1323
+ [key: string]: any;
1324
+ key: string | number;
1325
+ children: any[];
1326
+ parentNode: any;
1327
+ }, value: string | number) => false | undefined;
1328
+ findChild: (baseKeys: (string | number)[], children: {
1329
+ [key: string]: any;
1330
+ key: string | number;
1331
+ children: any[];
1332
+ parentNode: any;
1333
+ }[], value: string | number) => false | undefined;
1334
+ checkInitTree: (tree: {
1335
+ [key: string]: any;
1336
+ key: string | number;
1337
+ children: any[];
1338
+ parentNode: any;
1339
+ }, baseKey: string | number) => false | undefined;
1340
+ ref: typeof ref;
1341
+ NCheckboxGroup: any;
1342
+ NCheckbox: any;
1343
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1344
+ treeData: {
1345
+ type: PropType<any[]>;
1346
+ default: () => never[];
1347
+ };
1348
+ checkedKeys: {
1349
+ type: PropType<(string | number)[]>;
1350
+ default: () => never[];
1351
+ };
1352
+ }>> & {
1353
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1354
+ }, {
1355
+ treeData: any[];
1356
+ checkedKeys: (string | number)[];
1357
+ }>;
1358
+ SearchOrgAndStaff: import("vue").DefineComponent<{
1359
+ treeData: {
1360
+ type: PropType<any[]>;
1361
+ default: () => never[];
1362
+ };
1363
+ checkedKeys: {
1364
+ type: PropType<(string | number)[]>;
1365
+ default: () => never[];
1366
+ };
1367
+ searchFilter: {
1368
+ type: ObjectConstructor;
1369
+ default: () => {};
1370
+ };
1371
+ isMultiple: {
1372
+ type: BooleanConstructor;
1373
+ default: boolean;
1374
+ };
1375
+ }, {
1376
+ $message: import("naive-ui").MessageApi;
1377
+ virtualItemHeight: number;
1378
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1379
+ treeData: {
1380
+ type: PropType<any[]>;
1381
+ default: () => never[];
1382
+ };
1383
+ checkedKeys: {
1384
+ type: PropType<(string | number)[]>;
1385
+ default: () => never[];
1386
+ };
1387
+ searchFilter: {
1388
+ type: ObjectConstructor;
1389
+ default: () => {};
1390
+ };
1391
+ isMultiple: {
1392
+ type: BooleanConstructor;
1393
+ default: boolean;
1394
+ };
1395
+ }>> & {
1396
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1397
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1398
+ }>>;
1399
+ emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
1400
+ moduleHeight: import("vue").ComputedRef<any>;
1401
+ showNums: import("vue").ComputedRef<number>;
1402
+ staffDataRef: import("vue").ComputedRef<any[]>;
1403
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1404
+ staffContainerProps: {
1405
+ ref: import("vue").Ref<any>;
1406
+ onScroll: () => void;
1407
+ style: Partial<CSSStyleDeclaration>;
1408
+ };
1409
+ staffWrapperProps: import("vue").ComputedRef<{
1410
+ style: {
1411
+ width: string;
1412
+ height: string;
1413
+ marginTop: string;
1414
+ };
1415
+ }>;
1416
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1417
+ orgDataRef: import("vue").ComputedRef<any[]>;
1418
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1419
+ orgContainerProps: {
1420
+ ref: import("vue").Ref<any>;
1421
+ onScroll: () => void;
1422
+ style: Partial<CSSStyleDeclaration>;
1423
+ };
1424
+ orgWrapperProps: import("vue").ComputedRef<{
1425
+ style: {
1426
+ width: string;
1427
+ height: string;
1428
+ marginTop: string;
1429
+ };
1430
+ }>;
1431
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1432
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1433
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1434
+ handleClick: (tree: any) => void;
1435
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
1436
+ [key: string]: any;
1437
+ key: string | number;
1438
+ children: any[];
1439
+ parentNode: any;
1440
+ }, value: string | number) => false | undefined;
1441
+ findParent: (baseKeys: (string | number)[], currentTree: {
1442
+ [key: string]: any;
1443
+ key: string | number;
1444
+ children: any[];
1445
+ parentNode: any;
1446
+ }) => false | undefined;
1447
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
1448
+ [key: string]: any;
1449
+ key: string | number;
1450
+ children: any[];
1451
+ parentNode: any;
1452
+ }, value: string | number) => void;
1453
+ handleFindChildren: (treeList: {
1454
+ [key: string]: any;
1455
+ key: string | number;
1456
+ children: any[];
1457
+ parentNode: any;
1458
+ }[]) => void;
1459
+ checkInitTree: (tree: {
1460
+ [key: string]: any;
1461
+ key: string | number;
1462
+ children: any[];
1463
+ parentNode: any;
1464
+ }, baseKey: string | number) => false | undefined;
1465
+ ref: typeof ref;
1466
+ NEmpty: any;
1467
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1468
+ treeData: {
1469
+ type: PropType<any[]>;
1470
+ default: () => never[];
1471
+ };
1472
+ checkedKeys: {
1473
+ type: PropType<(string | number)[]>;
1474
+ default: () => never[];
1475
+ };
1476
+ searchFilter: {
1477
+ type: ObjectConstructor;
1478
+ default: () => {};
1479
+ };
1480
+ isMultiple: {
1481
+ type: BooleanConstructor;
1482
+ default: boolean;
1483
+ };
1484
+ }>> & {
1485
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1486
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1487
+ }, {
1488
+ searchFilter: Record<string, any>;
1489
+ treeData: any[];
1490
+ checkedKeys: (string | number)[];
1491
+ isMultiple: boolean;
1492
+ }>;
1493
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1494
+ defaultList: {
1495
+ type: PropType<((string | number) | {
1496
+ [key: string]: any;
1497
+ key: string | number;
1498
+ })[]>;
1499
+ default: () => never[];
1500
+ };
1501
+ data: {
1502
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1503
+ default: () => never[];
1504
+ };
1505
+ searchPlaceholder: {
1506
+ type: StringConstructor;
1507
+ default: string;
1508
+ };
1509
+ searchButtonText: {
1510
+ type: StringConstructor;
1511
+ default: string;
1512
+ };
1513
+ wordbook: {
1514
+ type: PropType<{
1515
+ [key: string]: any;
1516
+ parent_id_obj: string;
1517
+ parent_name_obj: string;
1518
+ user_count_obj?: string | undefined;
1519
+ filter_key?: string | undefined;
1520
+ }>;
1521
+ default: () => {};
1522
+ };
1523
+ wordbookChild: {
1524
+ type: PropType<{
1525
+ user_id_obj: string;
1526
+ user_name_obj: string;
1527
+ user_expand_keys?: string[] | undefined;
1528
+ }>;
1529
+ default: () => {};
1530
+ };
1531
+ showCount: {
1532
+ type: BooleanConstructor;
1533
+ default: boolean;
1534
+ };
1535
+ showClear: {
1536
+ type: BooleanConstructor;
1537
+ default: boolean;
1538
+ };
1539
+ multiple: {
1540
+ type: BooleanConstructor;
1541
+ default: boolean;
1542
+ };
1543
+ searchInner: {
1544
+ type: BooleanConstructor;
1545
+ default: boolean;
1546
+ };
1547
+ searchFilter: {
1548
+ type: PropType<AnyObject>;
1549
+ default: () => {};
1550
+ };
1551
+ treeSetting: {
1552
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1553
+ default: () => {};
1554
+ };
1555
+ queryLoadChildData: {
1556
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1557
+ default: undefined;
1558
+ };
1559
+ queryTreeSearch: {
1560
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
1561
+ default: () => Promise<never[]>;
1562
+ };
1563
+ showSelectType: {
1564
+ type: BooleanConstructor;
1565
+ default: boolean;
1566
+ };
1567
+ roleData: {
1568
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1569
+ default: () => never[];
1570
+ };
1571
+ roleFields: {
1572
+ type: ObjectConstructor;
1573
+ default: () => {
1574
+ label: string;
1575
+ key: string;
1576
+ children: string;
1577
+ };
1578
+ };
1579
+ }>>, {
1580
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1581
+ defaultList: ((string | number) | {
774
1582
  [key: string]: any;
775
1583
  key: string | number;
776
- children: any[];
777
- parentNode: any;
778
- }, value: string | number) => false | undefined;
779
- findChild: (baseKeys: (string | number)[], children: {
780
- [key: string]: any;
781
- key: string | number;
782
- children: any[];
783
- parentNode: any;
784
- }[], value: string | number) => false | undefined;
785
- checkInitTree: (tree: {
1584
+ })[];
1585
+ searchPlaceholder: string;
1586
+ searchButtonText: string;
1587
+ wordbook: {
786
1588
  [key: string]: any;
787
- key: string | number;
788
- children: any[];
789
- parentNode: any;
790
- }, baseKey: string | number) => false | undefined;
791
- ref: typeof ref;
792
- NCheckboxGroup: any;
793
- NCheckbox: any;
794
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
795
- treeData: {
796
- type: PropType<any[]>;
797
- default: () => never[];
1589
+ parent_id_obj: string;
1590
+ parent_name_obj: string;
1591
+ user_count_obj?: string | undefined;
1592
+ filter_key?: string | undefined;
798
1593
  };
799
- checkedKeys: {
800
- type: PropType<(string | number)[]>;
801
- default: () => never[];
1594
+ wordbookChild: {
1595
+ user_id_obj: string;
1596
+ user_name_obj: string;
1597
+ user_expand_keys?: string[] | undefined;
802
1598
  };
803
- }>> & {
804
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
805
- }, {
806
- treeData: any[];
807
- checkedKeys: (string | number)[];
808
- }>;
809
- SearchOrgAndStaff: import("vue").DefineComponent<{
810
- treeData: {
811
- type: PropType<any[]>;
1599
+ showCount: boolean;
1600
+ showClear: boolean;
1601
+ multiple: boolean;
1602
+ searchInner: boolean;
1603
+ searchFilter: AnyObject;
1604
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
1605
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
1606
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
1607
+ showSelectType: boolean;
1608
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1609
+ roleFields: Record<string, any>;
1610
+ }>>;
1611
+ getProps: import("vue").ComputedRef<Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1612
+ defaultList: {
1613
+ type: PropType<((string | number) | {
1614
+ [key: string]: any;
1615
+ key: string | number;
1616
+ })[]>;
812
1617
  default: () => never[];
813
1618
  };
814
- checkedKeys: {
815
- type: PropType<(string | number)[]>;
1619
+ data: {
1620
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
816
1621
  default: () => never[];
817
1622
  };
818
- searchFilter: {
819
- type: ObjectConstructor;
1623
+ searchPlaceholder: {
1624
+ type: StringConstructor;
1625
+ default: string;
1626
+ };
1627
+ searchButtonText: {
1628
+ type: StringConstructor;
1629
+ default: string;
1630
+ };
1631
+ wordbook: {
1632
+ type: PropType<{
1633
+ [key: string]: any;
1634
+ parent_id_obj: string;
1635
+ parent_name_obj: string;
1636
+ user_count_obj?: string | undefined;
1637
+ filter_key?: string | undefined;
1638
+ }>;
1639
+ default: () => {};
1640
+ };
1641
+ wordbookChild: {
1642
+ type: PropType<{
1643
+ user_id_obj: string;
1644
+ user_name_obj: string;
1645
+ user_expand_keys?: string[] | undefined;
1646
+ }>;
820
1647
  default: () => {};
821
1648
  };
822
- isMultiple: {
1649
+ showCount: {
823
1650
  type: BooleanConstructor;
824
1651
  default: boolean;
825
1652
  };
826
- }, {
827
- $message: import("naive-ui").MessageApi;
828
- virtualItemHeight: number;
829
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
830
- treeData: {
831
- type: PropType<any[]>;
832
- default: () => never[];
833
- };
834
- checkedKeys: {
835
- type: PropType<(string | number)[]>;
836
- default: () => never[];
837
- };
838
- searchFilter: {
839
- type: ObjectConstructor;
840
- default: () => {};
841
- };
842
- isMultiple: {
843
- type: BooleanConstructor;
844
- default: boolean;
845
- };
846
- }>> & {
847
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
848
- onNotifyClear?: ((...args: any[]) => any) | undefined;
849
- }>>;
850
- emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
851
- moduleHeight: import("vue").ComputedRef<any>;
852
- showNums: import("vue").ComputedRef<number>;
853
- staffDataRef: import("vue").ComputedRef<any[]>;
854
- staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
855
- staffContainerProps: {
856
- ref: import("vue").Ref<any>;
857
- onScroll: () => void;
858
- style: Partial<CSSStyleDeclaration>;
859
- };
860
- staffWrapperProps: import("vue").ComputedRef<{
861
- style: {
862
- width: string;
863
- height: string;
864
- marginTop: string;
865
- };
866
- }>;
867
- staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
868
- orgDataRef: import("vue").ComputedRef<any[]>;
869
- orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
870
- orgContainerProps: {
871
- ref: import("vue").Ref<any>;
872
- onScroll: () => void;
873
- style: Partial<CSSStyleDeclaration>;
874
- };
875
- orgWrapperProps: import("vue").ComputedRef<{
876
- style: {
877
- width: string;
878
- height: string;
879
- marginTop: string;
880
- };
881
- }>;
882
- orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
883
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
884
- showSelectKeys: import("vue").Ref<(string | number)[]>;
885
- handleClick: (tree: any) => void;
886
- handleStaffClick: (baseKeys: (string | number)[], currentTree: {
887
- [key: string]: any;
888
- key: string | number;
889
- children: any[];
890
- parentNode: any;
891
- }, value: string | number) => false | undefined;
892
- findParent: (baseKeys: (string | number)[], currentTree: {
893
- [key: string]: any;
894
- key: string | number;
895
- children: any[];
896
- parentNode: any;
897
- }) => false | undefined;
898
- handleOrgClick: (baseKeys: (string | number)[], currentTree: {
899
- [key: string]: any;
900
- key: string | number;
901
- children: any[];
902
- parentNode: any;
903
- }, value: string | number) => void;
904
- handleFindChildren: (treeList: {
905
- [key: string]: any;
906
- key: string | number;
907
- children: any[];
908
- parentNode: any;
909
- }[]) => void;
910
- checkInitTree: (tree: {
911
- [key: string]: any;
912
- key: string | number;
913
- children: any[];
914
- parentNode: any;
915
- }, baseKey: string | number) => false | undefined;
916
- ref: typeof ref;
917
- NEmpty: any;
918
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
919
- treeData: {
920
- type: PropType<any[]>;
921
- default: () => never[];
1653
+ showClear: {
1654
+ type: BooleanConstructor;
1655
+ default: boolean;
922
1656
  };
923
- checkedKeys: {
924
- type: PropType<(string | number)[]>;
925
- default: () => never[];
1657
+ multiple: {
1658
+ type: BooleanConstructor;
1659
+ default: boolean;
1660
+ };
1661
+ searchInner: {
1662
+ type: BooleanConstructor;
1663
+ default: boolean;
926
1664
  };
927
1665
  searchFilter: {
928
- type: ObjectConstructor;
1666
+ type: PropType<AnyObject>;
929
1667
  default: () => {};
930
1668
  };
931
- isMultiple: {
1669
+ treeSetting: {
1670
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1671
+ default: () => {};
1672
+ };
1673
+ queryLoadChildData: {
1674
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1675
+ default: undefined;
1676
+ };
1677
+ queryTreeSearch: {
1678
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
1679
+ default: () => Promise<never[]>;
1680
+ };
1681
+ showSelectType: {
932
1682
  type: BooleanConstructor;
933
1683
  default: boolean;
934
1684
  };
1685
+ roleData: {
1686
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1687
+ default: () => never[];
1688
+ };
1689
+ roleFields: {
1690
+ type: ObjectConstructor;
1691
+ default: () => {
1692
+ label: string;
1693
+ key: string;
1694
+ children: string;
1695
+ };
1696
+ };
1697
+ switchTypeProps: {
1698
+ type: PropType<AnyObject[]>;
1699
+ default: () => never[];
1700
+ };
1701
+ switchTypeData: {
1702
+ type: PropType<AnyObject>;
1703
+ default: () => {};
1704
+ };
1705
+ tagProps: {
1706
+ type: PropType<AnyObject>;
1707
+ default: () => {};
1708
+ };
935
1709
  }>> & {
936
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
937
- onNotifyClear?: ((...args: any[]) => any) | undefined;
938
- }, {
939
- searchFilter: Record<string, any>;
940
- treeData: any[];
941
- checkedKeys: (string | number)[];
942
- isMultiple: boolean;
1710
+ onCheck?: ((...args: any[]) => any) | undefined;
1711
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
1712
+ }>> & {
1713
+ [x: string]: unknown;
943
1714
  }>;
1715
+ emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
1716
+ getCheckWithLevel: () => any;
944
1717
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
945
1718
  defaultList: {
946
1719
  type: PropType<((string | number) | {
@@ -1027,6 +1800,18 @@ declare const _default: import("vue").DefineComponent<{
1027
1800
  children: string;
1028
1801
  };
1029
1802
  };
1803
+ switchTypeProps: {
1804
+ type: PropType<AnyObject[]>;
1805
+ default: () => never[];
1806
+ };
1807
+ switchTypeData: {
1808
+ type: PropType<AnyObject>;
1809
+ default: () => {};
1810
+ };
1811
+ tagProps: {
1812
+ type: PropType<AnyObject>;
1813
+ default: () => {};
1814
+ };
1030
1815
  }>> & {
1031
1816
  onCheck?: ((...args: any[]) => any) | undefined;
1032
1817
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -1061,6 +1846,9 @@ declare const _default: import("vue").DefineComponent<{
1061
1846
  showSelectType: boolean;
1062
1847
  roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1063
1848
  roleFields: Record<string, any>;
1849
+ switchTypeProps: AnyObject[];
1850
+ switchTypeData: AnyObject;
1851
+ tagProps: AnyObject;
1064
1852
  }>>;
1065
1853
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1066
1854
  visible: {