beca-ui 0.0.0 → 0.0.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 (254) hide show
  1. package/dist/assets/locales/en.json.d.ts +11 -0
  2. package/dist/assets/locales/vi.json.d.ts +11 -0
  3. package/dist/beca-ui.js +98392 -3
  4. package/dist/components/Anchor/Anchor.d.ts +4 -0
  5. package/dist/components/Anchor/Anchor.types.d.ts +3 -0
  6. package/dist/components/Anchor/index.d.ts +3 -0
  7. package/dist/components/ApplicationsCard/ApplicationsCard.d.ts +3 -0
  8. package/dist/components/ApplicationsCard/ApplicationsCard.types.d.ts +15 -0
  9. package/dist/components/ApplicationsCard/index.d.ts +3 -0
  10. package/dist/components/AudioPlayer/AudioPlayer.d.ts +4 -0
  11. package/dist/components/AudioPlayer/AudioPlayer.types.d.ts +10 -0
  12. package/dist/components/AudioPlayer/index.d.ts +3 -0
  13. package/dist/components/AutoComplete/AutoComplete.d.ts +2 -0
  14. package/dist/components/AutoComplete/AutoComplete.types.d.ts +3 -0
  15. package/dist/components/AutoComplete/index.d.ts +3 -0
  16. package/dist/components/Avatar/Avatar.d.ts +6 -0
  17. package/dist/components/Avatar/Avatar.types.d.ts +6 -0
  18. package/dist/components/Avatar/index.d.ts +4 -0
  19. package/dist/components/Badge/Badge.d.ts +4 -0
  20. package/dist/components/Badge/Badge.types.d.ts +3 -0
  21. package/dist/components/Badge/index.d.ts +3 -0
  22. package/dist/components/Breadcrumb/Breadcrumb.d.ts +6 -0
  23. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +5 -0
  24. package/dist/components/Breadcrumb/index.d.ts +3 -0
  25. package/dist/components/Button/Button.d.ts +2 -0
  26. package/dist/components/Button/Button.types.d.ts +14 -0
  27. package/dist/components/Button/index.d.ts +3 -0
  28. package/dist/components/Calendar/Calendar.d.ts +3 -0
  29. package/dist/components/Calendar/Calendar.types.d.ts +3 -0
  30. package/dist/components/Calendar/index.d.ts +3 -0
  31. package/dist/components/Card/Card.d.ts +3 -0
  32. package/dist/components/Card/Card.types.d.ts +15 -0
  33. package/dist/components/Card/index.d.ts +3 -0
  34. package/dist/components/Card2/Card2.d.ts +6 -0
  35. package/dist/components/Card2/Card2.types.d.ts +6 -0
  36. package/dist/components/Card2/index.d.ts +3 -0
  37. package/dist/components/Checkbox/Checkbox.d.ts +6 -0
  38. package/dist/components/Checkbox/Checkbox.types.d.ts +14 -0
  39. package/dist/components/Checkbox/index.d.ts +3 -0
  40. package/dist/components/Col/Col.d.ts +3 -0
  41. package/dist/components/Col/Col.types.d.ts +3 -0
  42. package/dist/components/Col/index.d.ts +3 -0
  43. package/dist/components/Collapse/Collapse.d.ts +6 -0
  44. package/dist/components/Collapse/Collapse.types.d.ts +5 -0
  45. package/dist/components/Collapse/index.d.ts +3 -0
  46. package/dist/components/ColorPicker/ColorPicker.d.ts +2 -0
  47. package/dist/components/ColorPicker/ColorPicker.types.d.ts +2 -0
  48. package/dist/components/ColorPicker/index.d.ts +3 -0
  49. package/dist/components/Comment/Comment.d.ts +4 -0
  50. package/dist/components/Comment/Comment.types.d.ts +3 -0
  51. package/dist/components/Comment/index.d.ts +3 -0
  52. package/dist/components/ConfigProvider/ConfigProvider.d.ts +4 -0
  53. package/dist/components/ConfigProvider/ConfigProvider.types.d.ts +5 -0
  54. package/dist/components/ConfigProvider/index.d.ts +3 -0
  55. package/dist/components/Content/Content.d.ts +3 -0
  56. package/dist/components/Content/Content.types.d.ts +4 -0
  57. package/dist/components/Content/index.d.ts +3 -0
  58. package/dist/components/DatePicker/DatePicker.d.ts +10 -0
  59. package/dist/components/DatePicker/DatePicker.types.d.ts +7 -0
  60. package/dist/components/DatePicker/index.d.ts +3 -0
  61. package/dist/components/Descriptions/Descriptions.d.ts +6 -0
  62. package/dist/components/Descriptions/Descriptions.types.d.ts +6 -0
  63. package/dist/components/Descriptions/index.d.ts +3 -0
  64. package/dist/components/Divider/Divider.d.ts +4 -0
  65. package/dist/components/Divider/Divider.types.d.ts +3 -0
  66. package/dist/components/Divider/index.d.ts +3 -0
  67. package/dist/components/Drawer/Drawer.d.ts +4 -0
  68. package/dist/components/Drawer/Drawer.types.d.ts +3 -0
  69. package/dist/components/Drawer/index.d.ts +3 -0
  70. package/dist/components/Dropdown/Dropdown.d.ts +3 -0
  71. package/dist/components/Dropdown/Dropdown.types.d.ts +5 -0
  72. package/dist/components/Dropdown/index.d.ts +3 -0
  73. package/dist/components/Empty/Empty.d.ts +4 -0
  74. package/dist/components/Empty/Empty.types.d.ts +3 -0
  75. package/dist/components/Empty/index.d.ts +3 -0
  76. package/dist/components/ErrorPage/ErrorPage.d.ts +3 -0
  77. package/dist/components/ErrorPage/ErrorPage.types.d.ts +14 -0
  78. package/dist/components/ErrorPage/index.d.ts +3 -0
  79. package/dist/components/Form/Form.d.ts +15 -0
  80. package/dist/components/Form/Form.types.d.ts +9 -0
  81. package/dist/components/Form/index.d.ts +3 -0
  82. package/dist/components/Icons/Icons.d.ts +15 -0
  83. package/dist/components/Icons/index.d.ts +1 -0
  84. package/dist/components/Image/Image.d.ts +6 -0
  85. package/dist/components/Image/Image.types.d.ts +6 -0
  86. package/dist/components/Image/index.d.ts +3 -0
  87. package/dist/components/ImgCrop/ImgCrop.d.ts +4 -0
  88. package/dist/components/ImgCrop/index.d.ts +1 -0
  89. package/dist/components/Input/Input.d.ts +9 -0
  90. package/dist/components/Input/Input.types.d.ts +17 -0
  91. package/dist/components/Input/index.d.ts +3 -0
  92. package/dist/components/InputNumber/InputNumber.d.ts +3 -0
  93. package/dist/components/InputNumber/InputNumber.types.d.ts +3 -0
  94. package/dist/components/InputNumber/index.d.ts +3 -0
  95. package/dist/components/Layout/Layout.d.ts +11 -0
  96. package/dist/components/Layout/Layout.types.d.ts +3 -0
  97. package/dist/components/Layout/index.d.ts +2 -0
  98. package/dist/components/List/List.d.ts +8 -0
  99. package/dist/components/List/List.types.d.ts +8 -0
  100. package/dist/components/List/index.d.ts +3 -0
  101. package/dist/components/MainLayout/Content/Content.d.ts +3 -0
  102. package/dist/components/MainLayout/Content/Content.types.d.ts +3 -0
  103. package/dist/components/MainLayout/Content/index.d.ts +2 -0
  104. package/dist/components/MainLayout/Header/Header.d.ts +4 -0
  105. package/dist/components/MainLayout/Header/Header.types.d.ts +48 -0
  106. package/dist/components/MainLayout/Header/Notification.d.ts +12 -0
  107. package/dist/components/MainLayout/Header/index.d.ts +2 -0
  108. package/dist/components/MainLayout/MainLayout.d.ts +8 -0
  109. package/dist/components/MainLayout/MainLayout.types.d.ts +12 -0
  110. package/dist/components/MainLayout/SideBarMenu/SideBarMenu.d.ts +10 -0
  111. package/dist/components/MainLayout/SideBarMenu/SideBarMenu.types.d.ts +21 -0
  112. package/dist/components/MainLayout/SideBarMenu/index.d.ts +2 -0
  113. package/dist/components/MainLayout/index.d.ts +4 -0
  114. package/dist/components/Menu/Menu.d.ts +8 -0
  115. package/dist/components/Menu/Menu.types.d.ts +9 -0
  116. package/dist/components/Menu/index.d.ts +3 -0
  117. package/dist/components/Message/Message.d.ts +2 -0
  118. package/dist/components/Message/Message.types.d.ts +3 -0
  119. package/dist/components/Message/index.d.ts +3 -0
  120. package/dist/components/Modal/Modal.d.ts +13 -0
  121. package/dist/components/Modal/Modal.types.d.ts +19 -0
  122. package/dist/components/Modal/index.d.ts +3 -0
  123. package/dist/components/Notification/Notification.d.ts +2 -0
  124. package/dist/components/Notification/Notification.types.d.ts +3 -0
  125. package/dist/components/Notification/index.d.ts +3 -0
  126. package/dist/components/PageHeader/PageHeader.d.ts +4 -0
  127. package/dist/components/PageHeader/PageHeader.types.d.ts +3 -0
  128. package/dist/components/PageHeader/index.d.ts +3 -0
  129. package/dist/components/Pagination/Pagination.d.ts +4 -0
  130. package/dist/components/Pagination/Pagination.types.d.ts +3 -0
  131. package/dist/components/Pagination/index.d.ts +3 -0
  132. package/dist/components/Popconfirm/Popconfirm.d.ts +4 -0
  133. package/dist/components/Popconfirm/Popconfirm.types.d.ts +8 -0
  134. package/dist/components/Popconfirm/index.d.ts +3 -0
  135. package/dist/components/Popover/Popover.d.ts +3 -0
  136. package/dist/components/Popover/Popover.types.d.ts +5 -0
  137. package/dist/components/Popover/index.d.ts +3 -0
  138. package/dist/components/Progress/Progress.d.ts +4 -0
  139. package/dist/components/Progress/Progress.types.d.ts +3 -0
  140. package/dist/components/Progress/index.d.ts +3 -0
  141. package/dist/components/Radio/Radio.d.ts +6 -0
  142. package/dist/components/Radio/Radio.types.d.ts +5 -0
  143. package/dist/components/Radio/index.d.ts +3 -0
  144. package/dist/components/Rate/Rate.d.ts +4 -0
  145. package/dist/components/Rate/Rate.types.d.ts +3 -0
  146. package/dist/components/Rate/index.d.ts +3 -0
  147. package/dist/components/Row/Row.d.ts +3 -0
  148. package/dist/components/Row/Row.types.d.ts +4 -0
  149. package/dist/components/Row/index.d.ts +3 -0
  150. package/dist/components/Segmented/Segmented.d.ts +4 -0
  151. package/dist/components/Segmented/Segmented.types.d.ts +3 -0
  152. package/dist/components/Segmented/index.d.ts +3 -0
  153. package/dist/components/Select/Select.d.ts +6 -0
  154. package/dist/components/Select/Select.types.d.ts +11 -0
  155. package/dist/components/Select/index.d.ts +3 -0
  156. package/dist/components/Skeleton/Skeleton.d.ts +2 -0
  157. package/dist/components/Skeleton/Skeleton.types.d.ts +3 -0
  158. package/dist/components/Skeleton/index.d.ts +3 -0
  159. package/dist/components/Slider/Slider.d.ts +4 -0
  160. package/dist/components/Slider/Slider.types.d.ts +5 -0
  161. package/dist/components/Slider/index.d.ts +3 -0
  162. package/dist/components/Space/Space.d.ts +3 -0
  163. package/dist/components/Space/Space.types.d.ts +3 -0
  164. package/dist/components/Space/index.d.ts +3 -0
  165. package/dist/components/Spin/Spin.d.ts +3 -0
  166. package/dist/components/Spin/Spin.types.d.ts +4 -0
  167. package/dist/components/Spin/index.d.ts +3 -0
  168. package/dist/components/Statistic/Statistic.d.ts +4 -0
  169. package/dist/components/Statistic/Statistic.types.d.ts +3 -0
  170. package/dist/components/Statistic/index.d.ts +3 -0
  171. package/dist/components/Steps/Steps.d.ts +6 -0
  172. package/dist/components/Steps/Steps.types.d.ts +5 -0
  173. package/dist/components/Steps/index.d.ts +3 -0
  174. package/dist/components/Switch/Switch.d.ts +4 -0
  175. package/dist/components/Switch/Switch.types.d.ts +3 -0
  176. package/dist/components/Switch/index.d.ts +3 -0
  177. package/dist/components/Table/Table.d.ts +5 -0
  178. package/dist/components/Table/Table.types.d.ts +17 -0
  179. package/dist/components/Table/index.d.ts +3 -0
  180. package/dist/components/Tabs/Tabs.d.ts +6 -0
  181. package/dist/components/Tabs/Tabs.types.d.ts +10 -0
  182. package/dist/components/Tabs/index.d.ts +3 -0
  183. package/dist/components/Tag/Tag.d.ts +4 -0
  184. package/dist/components/Tag/Tag.types.d.ts +3 -0
  185. package/dist/components/Tag/index.d.ts +3 -0
  186. package/dist/components/TextEditor/FontSize/index.d.ts +10 -0
  187. package/dist/components/TextEditor/Image/NodeView.d.ts +15 -0
  188. package/dist/components/TextEditor/Image/icons/index.d.ts +6 -0
  189. package/dist/components/TextEditor/Image/index.d.ts +24 -0
  190. package/dist/components/TextEditor/Image/resizableMediaMenuUtil.d.ts +9 -0
  191. package/dist/components/TextEditor/Image/upload_image.d.ts +7 -0
  192. package/dist/components/TextEditor/MentionList.d.ts +3 -0
  193. package/dist/components/TextEditor/TextEditor.d.ts +5 -0
  194. package/dist/components/TextEditor/TextEditor.types.d.ts +46 -0
  195. package/dist/components/TextEditor/index.d.ts +3 -0
  196. package/dist/components/TimePicker/TimePicker.d.ts +7 -0
  197. package/dist/components/TimePicker/TimePicker.types.d.ts +5 -0
  198. package/dist/components/TimePicker/index.d.ts +3 -0
  199. package/dist/components/Timeline/Timeline.d.ts +6 -0
  200. package/dist/components/Timeline/Timeline.types.d.ts +6 -0
  201. package/dist/components/Timeline/index.d.ts +3 -0
  202. package/dist/components/Tooltip/Tooltip.d.ts +4 -0
  203. package/dist/components/Tooltip/Tooltip.types.d.ts +2 -0
  204. package/dist/components/Tooltip/index.d.ts +3 -0
  205. package/dist/components/Tree/Tree.d.ts +4 -0
  206. package/dist/components/Tree/Tree.types.d.ts +3 -0
  207. package/dist/components/Tree/index.d.ts +3 -0
  208. package/dist/components/TreeSelect/TreeSelect.d.ts +7 -0
  209. package/dist/components/TreeSelect/TreeSelect.types.d.ts +9 -0
  210. package/dist/components/TreeSelect/index.d.ts +3 -0
  211. package/dist/components/Typography/Typography.d.ts +10 -0
  212. package/dist/components/Typography/Typography.types.d.ts +10 -0
  213. package/dist/components/Typography/index.d.ts +3 -0
  214. package/dist/components/Upload/Upload.d.ts +10 -0
  215. package/dist/components/Upload/Upload.types.d.ts +8 -0
  216. package/dist/components/Upload/index.d.ts +3 -0
  217. package/dist/components/VideoPlayer/VideoPlayer.d.ts +4 -0
  218. package/dist/components/VideoPlayer/VideoPlayer.types.d.ts +19 -0
  219. package/dist/components/VideoPlayer/index.d.ts +3 -0
  220. package/dist/components/VirtualList/VirtualList.d.ts +4 -0
  221. package/dist/components/VirtualList/VirtualList.types.d.ts +36 -0
  222. package/dist/components/VirtualList/index.d.ts +3 -0
  223. package/dist/components/index.d.ts +67 -0
  224. package/dist/data/LocalesTexts/EnglishTexts.d.ts +9 -0
  225. package/dist/data/LocalesTexts/VietnameseTexts.d.ts +9 -0
  226. package/dist/data/Permissions.d.ts +5 -0
  227. package/dist/data/SideBarMenu.d.ts +2 -0
  228. package/dist/hooks/LocaleHook.d.ts +11 -0
  229. package/dist/hooks/i18n.d.ts +7 -0
  230. package/dist/hooks/index.d.ts +1 -0
  231. package/dist/main.css +8 -1
  232. package/dist/main.d.ts +1 -1
  233. package/dist/models/Core/Result.d.ts +6 -0
  234. package/dist/models/Core/index.d.ts +2 -0
  235. package/dist/models/IPersonalProfileModel.d.ts +28 -0
  236. package/dist/models/ISupportContactModel.d.ts +8 -0
  237. package/dist/models/Layout/IMenuModel.d.ts +16 -0
  238. package/dist/models/Layout/ISideBarMenuModel.d.ts +5 -0
  239. package/dist/models/Layout/index.d.ts +2 -0
  240. package/dist/models/NotificationModel.d.ts +12 -0
  241. package/dist/models/Session/IServiceUser.d.ts +3 -0
  242. package/dist/models/Session/IWebSessionContext.d.ts +21 -0
  243. package/dist/models/Session/index.d.ts +3 -0
  244. package/dist/models/index.d.ts +6 -0
  245. package/dist/services/FormatDateTimeService.d.ts +13 -0
  246. package/dist/services/LayoutService.d.ts +11 -0
  247. package/dist/services/NotificationService.d.ts +25 -0
  248. package/dist/services/index.d.ts +2 -0
  249. package/dist/styles/components/light-theme/layout/test.d.ts +2 -0
  250. package/dist/styles/font.d.ts +0 -0
  251. package/dist/theme/index.d.ts +1 -0
  252. package/dist/theme/styles.d.ts +1 -0
  253. package/package.json +50 -3
  254. package/dist/components/Hau/index.d.ts +0 -1
@@ -0,0 +1,17 @@
1
+ import { InputProps as AntInputProps } from "antd";
2
+ import { TextAreaProps as AntTextAreaProps } from "antd/lib/input/TextArea";
3
+ import { SearchProps as AntSearchProps, GroupProps as AntGroupProps, PasswordProps as AntPasswordProps } from "antd/lib/input";
4
+ export interface InputProps extends AntInputProps {
5
+ isColorPicker?: boolean;
6
+ isFlat?: boolean;
7
+ }
8
+ export interface TextAreaProps extends AntTextAreaProps {
9
+ isFlat?: boolean;
10
+ }
11
+ export interface SearchProps extends AntSearchProps {
12
+ }
13
+ export interface PasswordProps extends AntPasswordProps {
14
+ isFlat?: boolean;
15
+ }
16
+ export interface GroupProps extends AntGroupProps {
17
+ }
@@ -0,0 +1,3 @@
1
+ import { InputProps, TextAreaProps, SearchProps, PasswordProps, GroupProps } from "./Input.types";
2
+ export { default as Input } from "./Input";
3
+ export type { InputProps, TextAreaProps, SearchProps, GroupProps, PasswordProps, };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { InputNumberProps } from ".";
3
+ export declare const InputNumber: React.FunctionComponent<InputNumberProps>;
@@ -0,0 +1,3 @@
1
+ import { InputNumberProps as AntInputNumberProps } from "antd";
2
+ export interface InputNumberProps extends AntInputNumberProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { InputNumberProps } from "./InputNumber.types";
2
+ export * from "./InputNumber";
3
+ export type { InputNumberProps };
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { SiderProps } from "antd";
3
+ import { BasicProps } from "antd/lib/layout/layout";
4
+ import { LayoutProps } from ".";
5
+ declare const Layout: React.FunctionComponent<LayoutProps> & {
6
+ Header: React.ForwardRefExoticComponent<BasicProps & React.RefAttributes<HTMLElement>>;
7
+ Footer: React.ForwardRefExoticComponent<BasicProps & React.RefAttributes<HTMLElement>>;
8
+ Sider: React.ForwardRefExoticComponent<SiderProps & React.RefAttributes<HTMLDivElement>>;
9
+ Content: React.ForwardRefExoticComponent<BasicProps & React.RefAttributes<HTMLElement>>;
10
+ };
11
+ export default Layout;
@@ -0,0 +1,3 @@
1
+ import { LayoutProps as AntLayoutProps } from "antd";
2
+ export interface LayoutProps extends AntLayoutProps {
3
+ }
@@ -0,0 +1,2 @@
1
+ import { LayoutProps } from "./Layout.types";
2
+ export type { LayoutProps };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { ListItemMetaProps, ListItemProps, ListProps } from ".";
3
+ declare const List: React.FunctionComponent<ListProps<any>> & {
4
+ Item: React.FunctionComponent<ListItemProps> & {
5
+ Meta: React.FunctionComponent<ListItemMetaProps>;
6
+ };
7
+ };
8
+ export default List;
@@ -0,0 +1,8 @@
1
+ import { ListProps as AntListProps } from "antd";
2
+ import { ListItemProps as AntListItemProps, ListItemMetaProps as AntListItemMetaProps } from "antd/lib/list/Item";
3
+ export interface ListProps<T> extends AntListProps<T> {
4
+ }
5
+ export interface ListItemProps extends AntListItemProps {
6
+ }
7
+ export interface ListItemMetaProps extends AntListItemMetaProps {
8
+ }
@@ -0,0 +1,3 @@
1
+ import { ListItemProps, ListProps, ListItemMetaProps } from "./List.types";
2
+ export { default as List } from "./List";
3
+ export type { ListProps, ListItemProps, ListItemMetaProps };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { ContentProps } from ".";
3
+ export declare const Content: React.FunctionComponent<ContentProps>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ export interface ContentProps extends React.DetailedHTMLProps<React.HTMLAttributes<React.ReactNode>, React.ReactNode> {
3
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./Content";
2
+ export * from "./Content.types";
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { HeaderProps } from "./Header.types";
3
+ declare const TopMenu: FC<HeaderProps>;
4
+ export default TopMenu;
@@ -0,0 +1,48 @@
1
+ import React from "react";
2
+ import { IPersonalProfileModel, ISupportContactModel } from "../../../models";
3
+ import { ApplicationsCardProps } from "../../ApplicationsCard";
4
+ import { ItemType } from "../../Menu";
5
+ import { LANGUAGE } from "../../ConfigProvider";
6
+ export interface HeaderProps extends ApplicationsCardProps {
7
+ logoUrl: string;
8
+ collapsed: boolean;
9
+ personalProfile: IPersonalProfileModel;
10
+ toggleCollapse?: () => void;
11
+ helloText?: string;
12
+ avatarUrl?: string;
13
+ isMobile: boolean;
14
+ isShowCollapseButton?: boolean;
15
+ headerTitle?: string;
16
+ profileMenuItems?: ItemType[];
17
+ homePageUrl: string;
18
+ customHeader?: React.ReactNode;
19
+ supportContactData: ISupportContactModel[];
20
+ notification?: NotificationType;
21
+ LinkComponent: any;
22
+ isSwitchTheme?: boolean;
23
+ onSwitchedTheme?: (isDark?: boolean) => void;
24
+ theme?: {
25
+ getApi: string;
26
+ updateApi: string;
27
+ };
28
+ onChangeLocale?: (locale: LANGUAGE) => void;
29
+ lang: LANGUAGE;
30
+ }
31
+ export interface NotificationType {
32
+ title?: string;
33
+ visible?: boolean;
34
+ number?: number;
35
+ data: NotificationItemType[];
36
+ onClick?: () => void;
37
+ onClickNotificationItem?: (item: NotificationItemType) => void;
38
+ }
39
+ export interface NotificationItemType {
40
+ id: number;
41
+ type: string;
42
+ from: string;
43
+ content: string;
44
+ time: string;
45
+ isRead: boolean;
46
+ isSeen: boolean;
47
+ url: string;
48
+ }
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import { NotificationItemType } from "./Header.types";
3
+ import { ApplicationsCardItem } from "../../ApplicationsCard/ApplicationsCard.types";
4
+ interface Props {
5
+ data: NotificationItemType[];
6
+ applicationsCardData: ApplicationsCardItem[];
7
+ title?: string;
8
+ LinkComponent: any;
9
+ onClickNotificationItem?: (item: NotificationItemType) => void;
10
+ }
11
+ export declare const Notification: FC<Props>;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./Header";
2
+ export * from "./Header.types";
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { MainLayoutProps } from ".";
3
+ interface AppContextProps {
4
+ LinkComponent?: any;
5
+ }
6
+ export declare const AppContext: React.Context<AppContextProps>;
7
+ export declare const MainLayout: React.FunctionComponent<MainLayoutProps>;
8
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { SideBarMenuProps } from "./SideBarMenu";
3
+ import { HeaderProps } from "./Header";
4
+ import { ISideBarMenuModel } from "../../models";
5
+ export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">, HeaderProps {
6
+ children?: React.ReactNode;
7
+ customSideBar?: React.ReactNode;
8
+ onChangeCollapse?: (collapsed: boolean) => void;
9
+ sideBarMenus: ISideBarMenuModel[] | (() => ISideBarMenuModel[]);
10
+ LinkComponent: any;
11
+ isSwitchTheme?: boolean;
12
+ }
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { SideBarMenu2Props } from "./SideBarMenu.types";
3
+ interface LinkProps {
4
+ LinkComponent: any;
5
+ to: string;
6
+ children: React.ReactNode;
7
+ }
8
+ export declare const Link: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const SideBarMenu: React.FunctionComponent<SideBarMenu2Props>;
10
+ export {};
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import { ISideBarMenuModel } from "../../../models";
3
+ export interface SideBarMenuProps {
4
+ sideBarMenus: ISideBarMenuModel[];
5
+ activeMenu?: string;
6
+ openMenu?: string;
7
+ pathname: string;
8
+ isMobile: boolean;
9
+ homePageUrl: string;
10
+ }
11
+ export interface SideBarMenu2Props extends SideBarMenuProps {
12
+ collapsed: boolean;
13
+ items?: SideBarMenuItemProps[];
14
+ isAdmin?: boolean;
15
+ LinkComponent?: any;
16
+ }
17
+ export interface SideBarMenuItemProps {
18
+ key: string;
19
+ icon: React.ReactNode;
20
+ label: string;
21
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./SideBarMenu";
2
+ export * from "./SideBarMenu.types";
@@ -0,0 +1,4 @@
1
+ import { NotificationItemType } from "./Header";
2
+ import { MainLayoutProps } from "./MainLayout.types";
3
+ export * from "./MainLayout";
4
+ export type { MainLayoutProps, NotificationItemType };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { MenuItemProps, MenuProps } from ".";
3
+ import { SubMenuProps } from "antd";
4
+ declare const Menu: React.FunctionComponent<MenuProps> & {
5
+ Item: MenuItemProps;
6
+ SubMenu: (props: SubMenuProps) => JSX.Element;
7
+ };
8
+ export default Menu;
@@ -0,0 +1,9 @@
1
+ import { MenuProps as AntMenuProps, Menu } from "antd";
2
+ import { ItemType as AntItemType } from "antd/lib/menu/hooks/useItems";
3
+ type AntMenuItemProps = typeof Menu.Item;
4
+ export interface MenuProps extends AntMenuProps {
5
+ }
6
+ export interface MenuItemProps extends AntMenuItemProps {
7
+ }
8
+ export type ItemType = AntItemType;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ import { MenuProps, MenuItemProps, ItemType } from "./Menu.types";
2
+ export { default as Menu } from "./Menu";
3
+ export type { MenuProps, MenuItemProps, ItemType };
@@ -0,0 +1,2 @@
1
+ declare const message: import("antd/lib/message").MessageApi;
2
+ export default message;
@@ -0,0 +1,3 @@
1
+ import { MessageApi } from "antd/lib/message";
2
+ export interface MessageProps extends MessageApi {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { MessageProps } from "./Message.types";
2
+ export { default as message } from "./Message";
3
+ export type { MessageProps };
@@ -0,0 +1,13 @@
1
+ import { ModalFunc, modalGlobalConfig } from "antd/lib/modal/confirm";
2
+ import useModal from "antd/lib/modal/useModal";
3
+ import React from "react";
4
+ import { ModalProps } from ".";
5
+ declare const Modal: React.FunctionComponent<ModalProps> & {
6
+ useModal: typeof useModal;
7
+ destroyAll: () => void;
8
+ config: typeof modalGlobalConfig;
9
+ confirm: ModalFunc;
10
+ error: ModalFunc;
11
+ info: ModalFunc;
12
+ };
13
+ export default Modal;
@@ -0,0 +1,19 @@
1
+ import { ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from "antd";
2
+ import { ButtonProps } from "../Button";
3
+ import { ModalFunc as AntModalFunc } from "antd/lib/modal/confirm";
4
+ export interface ModalProps extends Omit<AntModalProps, "cancelButtonProps" | "okButtonProps"> {
5
+ cancelButtonProps?: CancelButtonProps;
6
+ okButtonProps?: OkButtonProps;
7
+ }
8
+ export interface CancelButtonProps extends ButtonProps {
9
+ loading?: boolean;
10
+ }
11
+ export interface OkButtonProps extends ButtonProps {
12
+ loading?: boolean;
13
+ }
14
+ export interface ModalFuncProps extends Omit<AntModalFuncProps, "cancelButtonProps" | "okButtonProps"> {
15
+ cancelButtonProps?: CancelButtonProps;
16
+ okButtonProps?: OkButtonProps;
17
+ }
18
+ export interface ModalFunc extends AntModalFunc {
19
+ }
@@ -0,0 +1,3 @@
1
+ import { ModalProps, ModalFuncProps, ModalFunc } from "./Modal.types";
2
+ export { default as Modal } from "./Modal";
3
+ export type { ModalProps, ModalFuncProps, ModalFunc };
@@ -0,0 +1,2 @@
1
+ declare const notification: import("antd/lib/notification").NotificationApi;
2
+ export default notification;
@@ -0,0 +1,3 @@
1
+ import { NotificationApi as AntdNotificationApi } from "antd/lib/notification";
2
+ export interface NotificationApi extends AntdNotificationApi {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { NotificationApi } from "./Notification.types";
2
+ export { default as notification } from "./Notification";
3
+ export type { NotificationApi };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { PageHeaderProps } from ".";
3
+ declare const PageHeader: React.FunctionComponent<PageHeaderProps>;
4
+ export default PageHeader;
@@ -0,0 +1,3 @@
1
+ import { PageHeaderProps as AntPageHeaderProps } from "antd";
2
+ export interface PageHeaderProps extends AntPageHeaderProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { PageHeaderProps } from "./PageHeader.types";
2
+ export { default as PageHeader } from "./PageHeader";
3
+ export type { PageHeaderProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { PaginationProps } from ".";
3
+ export declare const paginationItemRender: (page: number, type: "page" | "prev" | "next" | "jump-prev" | "jump-next", originalElement: React.ReactNode) => string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
4
+ export declare const Pagination: React.FunctionComponent<PaginationProps>;
@@ -0,0 +1,3 @@
1
+ import { PaginationProps as AntPaginationProps } from "antd";
2
+ export interface PaginationProps extends AntPaginationProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { PaginationProps } from "./Pagination.types";
2
+ export * from "./Pagination";
3
+ export type { PaginationProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { PopconfirmProps } from ".";
3
+ declare const Popconfirm: React.FunctionComponent<PopconfirmProps>;
4
+ export default Popconfirm;
@@ -0,0 +1,8 @@
1
+ import { PopconfirmProps as AntPopconfirmProps } from "antd";
2
+ import { PopupPosition } from "..";
3
+ import { ButtonProps } from "../Button";
4
+ export interface PopconfirmProps extends Omit<AntPopconfirmProps, "okButtonProps" | "cancelButtonProps"> {
5
+ okButtonProps?: ButtonProps;
6
+ cancelButtonProps?: ButtonProps;
7
+ position?: PopupPosition;
8
+ }
@@ -0,0 +1,3 @@
1
+ import { PopconfirmProps } from "./Popconfirm.types";
2
+ export { default as Popconfirm } from "./Popconfirm";
3
+ export type { PopconfirmProps };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { PopoverProps } from ".";
3
+ export declare const Popover: React.FunctionComponent<PopoverProps>;
@@ -0,0 +1,5 @@
1
+ import { PopoverProps as AntPopoverProps } from "antd";
2
+ import { PopupPosition } from "..";
3
+ export interface PopoverProps extends AntPopoverProps {
4
+ position?: PopupPosition;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { PopoverProps } from "./Popover.types";
2
+ export * from "./Popover";
3
+ export type { PopoverProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ProgressProps } from ".";
3
+ declare const Progress: React.FunctionComponent<ProgressProps>;
4
+ export default Progress;
@@ -0,0 +1,3 @@
1
+ import { ProgressProps as AntProgressProps } from "antd";
2
+ export interface ProgressProps extends AntProgressProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { ProgressProps } from "./Progress.types";
2
+ export { default as Progress } from "./Progress";
3
+ export type { ProgressProps };
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { RadioGroupProps, RadioProps } from ".";
3
+ export declare const Radio: React.FunctionComponent<RadioProps> & {
4
+ Group: React.FunctionComponent<RadioGroupProps>;
5
+ };
6
+ export default Radio;
@@ -0,0 +1,5 @@
1
+ import { RadioProps as AntRadioProps, RadioGroupProps as AntRadioGroupProps } from "antd";
2
+ export interface RadioProps extends AntRadioProps {
3
+ }
4
+ export interface RadioGroupProps extends AntRadioGroupProps {
5
+ }
@@ -0,0 +1,3 @@
1
+ import { RadioProps, RadioGroupProps } from "./Radio.types";
2
+ export * from "./Radio";
3
+ export type { RadioProps, RadioGroupProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RateProps } from ".";
3
+ declare const Rate: React.FunctionComponent<RateProps>;
4
+ export default Rate;
@@ -0,0 +1,3 @@
1
+ import { RateProps as AntRateProps } from "antd";
2
+ export interface RateProps extends AntRateProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { RateProps } from "./Rate.types";
2
+ export { default as Rate } from "./Rate";
3
+ export type { RateProps };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { RowProps } from ".";
3
+ export declare const Row: React.FunctionComponent<RowProps>;
@@ -0,0 +1,4 @@
1
+ import { RowProps as AntRowProps } from "antd";
2
+ export interface RowProps extends AntRowProps {
3
+ noMargin?: boolean;
4
+ }
@@ -0,0 +1,3 @@
1
+ import { RowProps } from "./Row.types";
2
+ export * from "./Row";
3
+ export type { RowProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SegmentedProps } from ".";
3
+ declare const Segmented: React.FunctionComponent<SegmentedProps>;
4
+ export default Segmented;
@@ -0,0 +1,3 @@
1
+ import { SegmentedProps as AntSegmentedProps } from "antd";
2
+ export interface SegmentedProps extends AntSegmentedProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { SegmentedProps } from "./Segmented.types";
2
+ export { default as Segmented } from "./Segmented";
3
+ export type { SegmentedProps };
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { OptionProps, SelectProps } from ".";
3
+ declare const Select: React.FunctionComponent<SelectProps> & {
4
+ Option: React.FunctionComponent<OptionProps>;
5
+ };
6
+ export default Select;
@@ -0,0 +1,11 @@
1
+ import { SelectProps as AntSelectProps } from "antd";
2
+ import { OptionProps as AntOptionProps } from "rc-select/lib/Option";
3
+ export interface OptionProps extends AntOptionProps {
4
+ }
5
+ export type PopupPosition = "relative" | "fixed";
6
+ export interface SelectProps<T = any> extends Omit<AntSelectProps<T>, "children"> {
7
+ children?: any;
8
+ position?: PopupPosition;
9
+ searchByLabelAndValue?: boolean;
10
+ searchByChildrenAndValue?: boolean;
11
+ }
@@ -0,0 +1,3 @@
1
+ import { SelectProps, OptionProps, PopupPosition } from "./Select.types";
2
+ export { default as Select } from "./Select";
3
+ export type { SelectProps, OptionProps, PopupPosition };
@@ -0,0 +1,2 @@
1
+ import { Skeleton as AntSkeleton } from "antd";
2
+ export default AntSkeleton;
@@ -0,0 +1,3 @@
1
+ import { SkeletonProps as AntSkeletonProps } from "antd";
2
+ export interface SkeletonProps extends AntSkeletonProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { SkeletonProps } from "./Skeleton.types";
2
+ export { default as Skeleton } from "./Skeleton";
3
+ export type { SkeletonProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SliderProps } from ".";
3
+ declare const Slider: React.FunctionComponent<SliderProps>;
4
+ export default Slider;
@@ -0,0 +1,5 @@
1
+ import { SliderSingleProps as AntSliderSingleProps } from "antd";
2
+ import { SliderRangeProps as AntSliderRangeProps } from "antd/lib/slider";
3
+ export type SliderSingleProps = AntSliderSingleProps;
4
+ export type SliderRangeProps = AntSliderRangeProps;
5
+ export type SliderProps = SliderSingleProps | SliderRangeProps;
@@ -0,0 +1,3 @@
1
+ import { SliderProps, SliderRangeProps, SliderSingleProps } from "./Slider.types";
2
+ export { default as Slider } from "./Slider";
3
+ export type { SliderProps, SliderSingleProps, SliderRangeProps };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { SpaceProps } from ".";
3
+ export declare const Space: React.FunctionComponent<SpaceProps>;
@@ -0,0 +1,3 @@
1
+ import { SpaceProps as AntSpaceProps } from "antd";
2
+ export interface SpaceProps extends AntSpaceProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { SpaceProps } from "./Space.types";
2
+ export * from "./Space";
3
+ export type { SpaceProps };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { SpinProps } from ".";
3
+ export declare const Spin: React.FunctionComponent<SpinProps>;
@@ -0,0 +1,4 @@
1
+ import { SpinProps as AntSpinProps } from "antd";
2
+ export interface SpinProps extends AntSpinProps {
3
+ customSize?: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ import { SpinProps } from "./Spin.types";
2
+ export * from "./Spin";
3
+ export type { SpinProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { StatisticProps } from ".";
3
+ declare const Statistic: React.FunctionComponent<StatisticProps>;
4
+ export default Statistic;
@@ -0,0 +1,3 @@
1
+ import { StatisticProps as AntStatisticProps } from "antd";
2
+ export interface StatisticProps extends AntStatisticProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import { StatisticProps } from "./Statistic.types";
2
+ export { default as Statistic } from "./Statistic";
3
+ export type { StatisticProps };
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { StepProps, StepsProps } from ".";
3
+ declare const Steps: React.FunctionComponent<StepsProps> & {
4
+ Step: StepProps;
5
+ };
6
+ export default Steps;
@@ -0,0 +1,5 @@
1
+ import { StepsProps as AntStepsProps } from "antd";
2
+ import RcSteps from "rc-steps";
3
+ export interface StepsProps extends AntStepsProps {
4
+ }
5
+ export type StepProps = typeof RcSteps.Step;