@regenbio/regenbio-components-react 1.3.35 → 1.3.37

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * 值枚举操作Hook
3
3
  */
4
- declare const useAuthorize: () => {
4
+ declare const useRbAuthorize: () => {
5
5
  checkResource: (sign: string | undefined, gap?: boolean) => boolean;
6
6
  };
7
- export default useAuthorize;
7
+ export default useRbAuthorize;
@@ -3,11 +3,11 @@ import React from "react";
3
3
  /**
4
4
  * 字典操作Hook
5
5
  */
6
- declare const useDictionary: () => {
6
+ declare const useRbDictionary: () => {
7
7
  getDataByType: (type: string) => Promise<DictListItem[]>;
8
8
  getTagDataByType: (type: string) => Promise<{
9
9
  label: React.ReactNode;
10
10
  value: number;
11
11
  }[]>;
12
12
  };
13
- export default useDictionary;
13
+ export default useRbDictionary;
@@ -3,7 +3,7 @@ import { ProSchemaValueEnumType } from "@ant-design/pro-provider";
3
3
  /**
4
4
  * 值枚举操作Hook
5
5
  */
6
- declare const useValueEnum: () => {
6
+ declare const useRbValueEnum: () => {
7
7
  convertListToMap: (list: ConstantListItem[]) => Map<any, ProSchemaValueEnumType>;
8
8
  };
9
- export default useValueEnum;
9
+ export default useRbValueEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regenbio/regenbio-components-react",
3
- "version": "1.3.35",
3
+ "version": "1.3.37",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },