@regenbio/regenbio-components-react 1.3.32 → 1.3.33

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 (59) hide show
  1. package/build/components/{ActionBar → Other/ActionBar}/type.d.ts +1 -1
  2. package/build/components/Other/GlobalContext/index.d.ts +8 -0
  3. package/build/components/{LoginLoad → Other/LoginLoad}/AuthFrame/type.d.ts +1 -1
  4. package/build/index.d.ts +49 -46
  5. package/build/index.js +3 -3
  6. package/build/services/types/commonType.d.ts +13 -0
  7. package/package.json +1 -1
  8. /package/build/components/{DataChart → DataDisplay/DataChart}/index.d.ts +0 -0
  9. /package/build/components/{DataChart → DataDisplay/DataChart}/type.d.ts +0 -0
  10. /package/build/components/{DataTable → DataDisplay/DataTable}/index.d.ts +0 -0
  11. /package/build/components/{DataTable → DataDisplay/DataTable}/locales/en-US.d.ts +0 -0
  12. /package/build/components/{DataTable → DataDisplay/DataTable}/locales/zh-CN.d.ts +0 -0
  13. /package/build/components/{DataTable → DataDisplay/DataTable}/type.d.ts +0 -0
  14. /package/build/components/{DragTable → DataDisplay/DragTable}/index.d.ts +0 -0
  15. /package/build/components/{DragTable → DataDisplay/DragTable}/type.d.ts +0 -0
  16. /package/build/components/{FileTag → DataDisplay/FileTag}/index.d.ts +0 -0
  17. /package/build/components/{FileTag → DataDisplay/FileTag}/locales/en-US.d.ts +0 -0
  18. /package/build/components/{FileTag → DataDisplay/FileTag}/locales/zh-CN.d.ts +0 -0
  19. /package/build/components/{FileTag → DataDisplay/FileTag}/type.d.ts +0 -0
  20. /package/build/components/{HtmlRender → DataDisplay/HtmlRender}/index.d.ts +0 -0
  21. /package/build/components/{HtmlRender → DataDisplay/HtmlRender}/type.d.ts +0 -0
  22. /package/build/components/{IconRender → DataDisplay/IconRender}/index.d.ts +0 -0
  23. /package/build/components/{IconRender → DataDisplay/IconRender}/type.d.ts +0 -0
  24. /package/build/components/{UserCard → DataDisplay/UserCard}/index.d.ts +0 -0
  25. /package/build/components/{UserCard → DataDisplay/UserCard}/locales/en-US.d.ts +0 -0
  26. /package/build/components/{UserCard → DataDisplay/UserCard}/locales/zh-CN.d.ts +0 -0
  27. /package/build/components/{UserCard → DataDisplay/UserCard}/type.d.ts +0 -0
  28. /package/build/components/{AttachmentText → DataEntry/AttachmentText}/index.d.ts +0 -0
  29. /package/build/components/{AttachmentText → DataEntry/AttachmentText}/locales/en-US.d.ts +0 -0
  30. /package/build/components/{AttachmentText → DataEntry/AttachmentText}/locales/zh-CN.d.ts +0 -0
  31. /package/build/components/{AttachmentText → DataEntry/AttachmentText}/type.d.ts +0 -0
  32. /package/build/components/{MarkdownEditor → DataEntry/MarkdownEditor}/index.d.ts +0 -0
  33. /package/build/components/{MarkdownEditor → DataEntry/MarkdownEditor}/locales/en-US.d.ts +0 -0
  34. /package/build/components/{MarkdownEditor → DataEntry/MarkdownEditor}/locales/zh-CN.d.ts +0 -0
  35. /package/build/components/{MarkdownEditor → DataEntry/MarkdownEditor}/type.d.ts +0 -0
  36. /package/build/components/{Uploader → DataEntry/Uploader}/SingleImageUploader/index.d.ts +0 -0
  37. /package/build/components/{Uploader → DataEntry/Uploader}/SingleImageUploader/locales/en-US.d.ts +0 -0
  38. /package/build/components/{Uploader → DataEntry/Uploader}/SingleImageUploader/locales/zh-CN.d.ts +0 -0
  39. /package/build/components/{Uploader → DataEntry/Uploader}/SingleImageUploader/type.d.ts +0 -0
  40. /package/build/components/{UserSelector → DataEntry/UserSelector}/index.d.ts +0 -0
  41. /package/build/components/{UserSelector → DataEntry/UserSelector}/locales/en-US.d.ts +0 -0
  42. /package/build/components/{UserSelector → DataEntry/UserSelector}/locales/zh-CN.d.ts +0 -0
  43. /package/build/components/{UserSelector → DataEntry/UserSelector}/type.d.ts +0 -0
  44. /package/build/components/{ActionBar → Other/ActionBar}/index.d.ts +0 -0
  45. /package/build/components/{LoginLoad → Other/LoginLoad}/AuthFrame/index.d.ts +0 -0
  46. /package/build/components/{LoginLoad → Other/LoginLoad}/AuthFrame/locales/en-US.d.ts +0 -0
  47. /package/build/components/{LoginLoad → Other/LoginLoad}/AuthFrame/locales/zh-CN.d.ts +0 -0
  48. /package/build/components/{LoginLoad → Other/LoginLoad}/BindFrame/index.d.ts +0 -0
  49. /package/build/components/{LoginLoad → Other/LoginLoad}/BindFrame/locales/en-US.d.ts +0 -0
  50. /package/build/components/{LoginLoad → Other/LoginLoad}/BindFrame/locales/zh-CN.d.ts +0 -0
  51. /package/build/components/{LoginLoad → Other/LoginLoad}/BindFrame/type.d.ts +0 -0
  52. /package/build/components/{ThemeSetter → Other/ThemeSetter}/index.d.ts +0 -0
  53. /package/build/components/{ThemeSetter → Other/ThemeSetter}/type.d.ts +0 -0
  54. /package/build/components/{AppLayout → PageLayout/AppLayout}/index.d.ts +0 -0
  55. /package/build/components/{AppLayout → PageLayout/AppLayout}/type.d.ts +0 -0
  56. /package/build/components/{HomePage → PageLayout/HomePage}/index.d.ts +0 -0
  57. /package/build/components/{HomePage → PageLayout/HomePage}/type.d.ts +0 -0
  58. /package/build/components/{PageContainer → PageLayout/PageContainer}/index.d.ts +0 -0
  59. /package/build/components/{PageContainer → PageLayout/PageContainer}/type.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  import React, { MutableRefObject } from "react";
2
2
  import { RbActionBarItem } from "./index";
3
- import { RbActionType } from "../DataTable/type";
3
+ import { RbActionType } from "../../DataDisplay/DataTable/type";
4
4
  /**
5
5
  * 操作栏属性
6
6
  */
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 全局状态上下文
3
+ */
4
+ export declare const GlobalStateContext: any;
5
+ /**
6
+ * 全局状态Hook
7
+ */
8
+ export declare const useGlobalState: () => any;
@@ -1,4 +1,4 @@
1
- import { RbInitialStateRespProps } from "../../AppLayout/type";
1
+ import { RbInitialStateRespProps } from "../../../PageLayout/AppLayout/type";
2
2
  /**
3
3
  * Rb 授权组件属性
4
4
  */
package/build/index.d.ts CHANGED
@@ -1,39 +1,40 @@
1
- import RbDataTable from "./components/DataTable/index";
2
- import { RbDataTableProps, RbActionType } from "./components/DataTable/type";
3
- import { RbActionBarItem, RbActionBar } from "./components/ActionBar";
4
- import { RbActionBarItemProps, RbActionBarProps } from "./components/ActionBar/type";
5
- import RbThemeSetter from "./components/ThemeSetter";
6
- import RbDataChart from "./components/DataChart";
7
- import { RbDataChartProps, RbChartActionType } from "./components/DataChart/type";
8
- import RbFileTag from "./components/FileTag";
9
- import { RbFileTagProps } from "./components/FileTag/type";
10
- import RbUserCard from "./components/UserCard";
11
- import { RbUserCardProps } from "./components/UserCard/type";
12
- import RbIconRender from "./components/IconRender";
13
- import { RbIconRenderProps } from "./components/IconRender/type";
14
- import RbHtmlRender from "./components/HtmlRender";
15
- import { RbHtmlRenderProps } from "./components/HtmlRender/type";
16
- import RbDragTable from "./components/DragTable";
17
- import { RbDragTableProps } from "./components/DragTable/type";
18
- import RbUserSelector from "./components/UserSelector";
19
- import { RbUserSelectorProps } from "./components/UserSelector/type";
20
- import RbAttachmentText from "./components/AttachmentText";
21
- import { RbAttachmentTextProps } from "./components/AttachmentText/type";
22
- import RbPageContainer from "./components/PageContainer";
23
- import { RbPageContainerProps } from "./components/PageContainer/type";
24
- import RbHomePage from "./components/HomePage";
25
- import { RbHomePageProps } from "./components/HomePage/type";
26
- import { RbMarkdownEditor, RbMarkdownConverter } from "./components/MarkdownEditor";
27
- import { RbMarkdownEditorProps } from "./components/MarkdownEditor/type";
28
- import RbSingleImageUploader from "./components/Uploader/SingleImageUploader";
29
- import { RbSingleImageUploaderProps } from "./components/Uploader/SingleImageUploader/type";
30
- import { getRbInitialState, getRbAppLayout } from "./components/AppLayout";
31
- import { RbInitialStateReqProps, RbInitialStateRespProps, RbAppLayoutProps } from "./components/AppLayout/type";
32
- import { RbCurrentUser, RbCurrentTheme } from "./components/AppLayout/interface";
33
- import RbAuthFrame from "./components/LoginLoad/AuthFrame";
34
- import { RbAuthFrameProps } from "./components/LoginLoad/AuthFrame/type";
35
- import RbBindFrame from "./components/LoginLoad/BindFrame";
36
- import { RbBindFrameProps } from "./components/LoginLoad/BindFrame/type";
1
+ import RbDataTable from "./components/DataDisplay/DataTable/index";
2
+ import { RbDataTableProps, RbActionType } from "./components/DataDisplay/DataTable/type";
3
+ import { RbActionBarItem, RbActionBar } from "./components/Other/ActionBar";
4
+ import { RbActionBarItemProps, RbActionBarProps } from "./components/Other/ActionBar/type";
5
+ import RbThemeSetter from "./components/Other/ThemeSetter";
6
+ import RbDataChart from "./components/DataDisplay/DataChart";
7
+ import { RbDataChartProps, RbChartActionType } from "./components/DataDisplay/DataChart/type";
8
+ import RbFileTag from "./components/DataDisplay/FileTag";
9
+ import { RbFileTagProps } from "./components/DataDisplay/FileTag/type";
10
+ import RbUserCard from "./components/DataDisplay/UserCard";
11
+ import { RbUserCardProps } from "./components/DataDisplay/UserCard/type";
12
+ import RbIconRender from "./components/DataDisplay/IconRender";
13
+ import { RbIconRenderProps } from "./components/DataDisplay/IconRender/type";
14
+ import RbHtmlRender from "./components/DataDisplay/HtmlRender";
15
+ import { RbHtmlRenderProps } from "./components/DataDisplay/HtmlRender/type";
16
+ import RbDragTable from "./components/DataDisplay/DragTable";
17
+ import { RbDragTableProps } from "./components/DataDisplay/DragTable/type";
18
+ import RbUserSelector from "./components/DataEntry/UserSelector";
19
+ import { RbUserSelectorProps } from "./components/DataEntry/UserSelector/type";
20
+ import RbAttachmentText from "./components/DataEntry/AttachmentText";
21
+ import { RbAttachmentTextProps } from "./components/DataEntry/AttachmentText/type";
22
+ import RbPageContainer from "./components/PageLayout/PageContainer";
23
+ import { RbPageContainerProps } from "./components/PageLayout/PageContainer/type";
24
+ import RbHomePage from "./components/PageLayout/HomePage";
25
+ import { RbHomePageProps } from "./components/PageLayout/HomePage/type";
26
+ import { RbMarkdownEditor, RbMarkdownConverter } from "./components/DataEntry/MarkdownEditor";
27
+ import { RbMarkdownEditorProps } from "./components/DataEntry/MarkdownEditor/type";
28
+ import RbSingleImageUploader from "./components/DataEntry/Uploader/SingleImageUploader";
29
+ import { RbSingleImageUploaderProps } from "./components/DataEntry/Uploader/SingleImageUploader/type";
30
+ import { getRbInitialState, getRbAppLayout } from "./components/PageLayout/AppLayout";
31
+ import { RbInitialStateReqProps, RbInitialStateRespProps, RbAppLayoutProps } from "./components/PageLayout/AppLayout/type";
32
+ import { RbCurrentUser, RbCurrentTheme } from "./components/PageLayout/AppLayout/interface";
33
+ import RbAuthFrame from "./components/Other/LoginLoad/AuthFrame";
34
+ import { RbAuthFrameProps } from "./components/Other/LoginLoad/AuthFrame/type";
35
+ import RbBindFrame from "./components/Other/LoginLoad/BindFrame";
36
+ import { RbBindFrameProps } from "./components/Other/LoginLoad/BindFrame/type";
37
+ import { GlobalStateContext } from "./components/Other/GlobalContext";
37
38
  import DbUtil from "./services/utils/dbUtil";
38
39
  import ObjectUtil from "./services/utils/objectUtil";
39
40
  import EventUtil from "./services/utils/eventUtil";
@@ -59,13 +60,10 @@ import zhCN from "./locales/zh-CN";
59
60
  import enUS from "./locales/en-US";
60
61
  export { RbDataTable };
61
62
  export type { RbDataTableProps, RbActionType };
62
- export { RbActionBarItem, RbActionBar };
63
- export type { RbActionBarItemProps, RbActionBarProps };
64
- export { RbThemeSetter };
65
- export { RbDataChart };
66
- export type { RbDataChartProps, RbChartActionType };
67
63
  export { RbFileTag };
68
64
  export type { RbFileTagProps };
65
+ export { RbDataChart };
66
+ export type { RbDataChartProps, RbChartActionType };
69
67
  export { RbUserCard };
70
68
  export type { RbUserCardProps };
71
69
  export { RbIconRender };
@@ -78,19 +76,23 @@ export { RbUserSelector };
78
76
  export type { RbUserSelectorProps };
79
77
  export { RbAttachmentText };
80
78
  export type { RbAttachmentTextProps };
81
- export { RbPageContainer };
82
- export type { RbPageContainerProps };
83
- export { RbHomePage };
84
- export type { RbHomePageProps };
85
79
  export { RbMarkdownConverter, RbMarkdownEditor };
86
80
  export type { RbMarkdownEditorProps };
87
81
  export { RbSingleImageUploader };
88
82
  export type { RbSingleImageUploaderProps };
83
+ export { RbPageContainer };
84
+ export type { RbPageContainerProps };
85
+ export { RbHomePage };
86
+ export type { RbHomePageProps };
89
87
  export { getRbInitialState, getRbAppLayout };
90
88
  export type { RbInitialStateReqProps, RbInitialStateRespProps, RbAppLayoutProps };
91
89
  export { RbCurrentUser, RbCurrentTheme };
90
+ export { RbActionBarItem, RbActionBar };
91
+ export type { RbActionBarItemProps, RbActionBarProps };
92
+ export { RbThemeSetter };
92
93
  export { RbAuthFrame, RbBindFrame };
93
94
  export type { RbAuthFrameProps, RbBindFrameProps };
95
+ export { GlobalStateContext };
94
96
  export { DbUtil, ObjectUtil, EventUtil, StorageUtil, ResourceUtil, RenderUtil, StringUtil, NumberUtil, RandomUtil, UnicodeUtil, UploadUtil, RequestUtil, DictUtil };
95
97
  export { EventEnum, StorageEnum };
96
98
  export { CommonConstant, IconConstant, DbConstant };
@@ -101,7 +103,7 @@ declare const _default: {
101
103
  RbDataTable: <DataSource, U, ValueType = "text">(props: RbDataTableProps<DataSource, U, ValueType>) => any;
102
104
  RbActionBarItem: React.FC<RbActionBarItemProps>;
103
105
  RbActionBar: React.FC<RbActionBarProps>;
104
- RbThemeSetter: React.FC<import("./components/ThemeSetter/type").RbThemeProps>;
106
+ RbThemeSetter: React.FC<import("./components/Other/ThemeSetter/type").RbThemeProps>;
105
107
  RbDataChart: React.FC<RbDataChartProps>;
106
108
  RbFileTag: React.FC<RbFileTagProps>;
107
109
  RbUserCard: React.FC<RbUserCardProps>;
@@ -119,5 +121,6 @@ declare const _default: {
119
121
  RbSingleImageUploader: React.FC<RbSingleImageUploaderProps>;
120
122
  RbAuthFrame: React.FC<RbAuthFrameProps>;
121
123
  RbBindFrame: React.FC<RbBindFrameProps>;
124
+ GlobalStateContext: any;
122
125
  };
123
126
  export default _default;