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