bm-admin-ui 1.0.65-alpha → 1.0.67-alpha

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 (33) hide show
  1. package/es/components/editor/index.js +8 -4
  2. package/es/components/form-create/index.js +47 -31
  3. package/es/components/form-designer/index.js +3 -2
  4. package/es/components/input-tags-display/index.js +3 -3
  5. package/es/components/staffs-selector/index.d.ts +51 -11
  6. package/es/components/staffs-selector/index.js +293 -223
  7. package/es/components/staffs-selector/src/action.d.ts +2 -0
  8. package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
  9. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -10
  10. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -11
  11. package/es/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
  12. package/es/components/upload/index.js +8 -4
  13. package/lib/components/editor/index.js +8 -4
  14. package/lib/components/form-create/index.js +47 -31
  15. package/lib/components/form-designer/index.js +3 -2
  16. package/lib/components/input-tags-display/index.js +2 -2
  17. package/lib/components/staffs-selector/index.d.ts +51 -11
  18. package/lib/components/staffs-selector/index.js +291 -221
  19. package/lib/components/staffs-selector/src/action.d.ts +2 -0
  20. package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
  21. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -10
  22. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -11
  23. package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
  24. package/lib/components/upload/index.js +8 -4
  25. package/package.json +1 -1
  26. package/theme-chalk/index.css +1 -1
  27. package/theme-chalk/input-tags-display.css +1 -1
  28. package/types/components/staffs-selector/index.d.ts +51 -11
  29. package/types/components/staffs-selector/src/action.d.ts +2 -0
  30. package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +49 -0
  31. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -10
  32. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +51 -11
  33. package/types/components/staffs-selector/src/variedCmp.vue.d.ts +1 -0
@@ -96,7 +96,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
96
96
  fetch: (params: {
97
97
  searchVal?: string | undefined;
98
98
  area?: string | undefined;
99
- }) => void;
99
+ }) => Promise<void>;
100
100
  flatListFunc: (list: any) => Map<string, any>;
101
101
  findDataByKey: (key: string) => any;
102
102
  summitSelect: () => void;
@@ -889,10 +889,6 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
889
889
  type: ArrayConstructor;
890
890
  default: () => never[];
891
891
  };
892
- isTree: {
893
- type: BooleanConstructor;
894
- default: boolean;
895
- };
896
892
  }, {
897
893
  changeAllOption(): void;
898
894
  search(): void;
@@ -907,6 +903,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
907
903
  dataMap: import("vue").Ref<Map<string, any>>;
908
904
  curlistKeys: import("vue").Ref<Set<string>>;
909
905
  activeKey: import("vue").Ref<number>;
906
+ fetchLoading: import("vue").Ref<boolean>;
910
907
  searchVal: import("vue").Ref<string>;
911
908
  selectAll: import("vue").Ref<boolean>;
912
909
  indeterminate: import("vue").Ref<boolean>;
@@ -916,7 +913,6 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
916
913
  [key: string]: any;
917
914
  }> | null | undefined)[]>;
918
915
  isFulfill: import("vue").Ref<boolean>;
919
- changeTreeCheck: (checkedKeys: any) => void;
920
916
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
921
917
  limit: {
922
918
  type: NumberConstructor;
@@ -926,17 +922,12 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
926
922
  type: ArrayConstructor;
927
923
  default: () => never[];
928
924
  };
929
- isTree: {
930
- type: BooleanConstructor;
931
- default: boolean;
932
- };
933
925
  }>> & {
934
926
  "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
935
927
  onFetchList?: ((...args: any[]) => any) | undefined;
936
928
  }, {
937
929
  selected: unknown[];
938
930
  limit: number;
939
- isTree: boolean;
940
931
  }>;
941
932
  radioCmp: import("vue").DefineComponent<{
942
933
  list: {
@@ -995,6 +986,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
995
986
  dataMap: import("vue").Ref<Map<string, any>>;
996
987
  curlistKeys: import("vue").Ref<Set<string>>;
997
988
  activeKey: import("vue").Ref<number>;
989
+ fetchLoading: import("vue").Ref<boolean>;
998
990
  indicator: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
999
991
  [key: string]: any;
1000
992
  }>;
@@ -1036,6 +1028,54 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
1036
1028
  dataMap: Map<unknown, unknown>;
1037
1029
  curlistKeys: Set<unknown>;
1038
1030
  }>;
1031
+ departmentCmp: import("vue").DefineComponent<{
1032
+ limit: {
1033
+ type: NumberConstructor;
1034
+ default: number;
1035
+ };
1036
+ selected: {
1037
+ type: ArrayConstructor;
1038
+ default: () => never[];
1039
+ };
1040
+ }, {
1041
+ search(): void;
1042
+ list: any;
1043
+ multipleChecked: import("vue").Ref<any>;
1044
+ departmentChecked: import("vue").Ref<string[]>;
1045
+ multipDepartment: import("vue").Ref<string[]>;
1046
+ staffsChecked: import("vue").Ref<any>;
1047
+ shopChecked: import("vue").Ref<any>;
1048
+ groupChecked: import("vue").Ref<any>;
1049
+ dataMap: import("vue").Ref<Map<string, any>>;
1050
+ curlistKeys: import("vue").Ref<Set<string>>;
1051
+ activeKey: import("vue").Ref<number>;
1052
+ fetchLoading: import("vue").Ref<boolean>;
1053
+ searchVal: import("vue").Ref<string>;
1054
+ selectAll: import("vue").Ref<boolean>;
1055
+ indeterminate: import("vue").Ref<boolean>;
1056
+ emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1057
+ [key: string]: any;
1058
+ }> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1059
+ [key: string]: any;
1060
+ }> | null | undefined)[]>;
1061
+ isFulfill: import("vue").Ref<boolean>;
1062
+ changeTreeCheck: (checkedKeys: any) => void;
1063
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1064
+ limit: {
1065
+ type: NumberConstructor;
1066
+ default: number;
1067
+ };
1068
+ selected: {
1069
+ type: ArrayConstructor;
1070
+ default: () => never[];
1071
+ };
1072
+ }>> & {
1073
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
1074
+ onFetchList?: ((...args: any[]) => any) | undefined;
1075
+ }, {
1076
+ selected: unknown[];
1077
+ limit: number;
1078
+ }>;
1039
1079
  list: any;
1040
1080
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:visible" | "update:select")[], "change" | "update:visible" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1041
1081
  visible: {