beca-ui 2.1.1-beta.13 → 2.1.1-beta.15

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 (323) hide show
  1. package/README.md +6 -0
  2. package/package.json +1 -1
  3. package/dist/ConvertVietnameseNumber.js +0 -136
  4. package/dist/DynamicWorkflowScript.js +0 -1141
  5. package/dist/assets/locales/en.json.d.ts +0 -34
  6. package/dist/assets/locales/vi.json.d.ts +0 -34
  7. package/dist/beca-ui.js +0 -151430
  8. package/dist/components/AIChat/AIChat.d.ts +0 -11
  9. package/dist/components/AIChat/AIChat.types.d.ts +0 -21
  10. package/dist/components/AIChat/index.d.ts +0 -2
  11. package/dist/components/Alert/Alert.d.ts +0 -2
  12. package/dist/components/Alert/Alert.types.d.ts +0 -3
  13. package/dist/components/Alert/index.d.ts +0 -2
  14. package/dist/components/Anchor/Anchor.d.ts +0 -4
  15. package/dist/components/Anchor/Anchor.types.d.ts +0 -2
  16. package/dist/components/Anchor/index.d.ts +0 -2
  17. package/dist/components/App/App.d.ts +0 -2
  18. package/dist/components/App/App.types.d.ts +0 -3
  19. package/dist/components/App/index.d.ts +0 -3
  20. package/dist/components/ApplicationsCard/ApplicationsCard.d.ts +0 -3
  21. package/dist/components/ApplicationsCard/ApplicationsCard.types.d.ts +0 -27
  22. package/dist/components/ApplicationsCard/index.d.ts +0 -2
  23. package/dist/components/AudioPlayer/AudioPlayer.d.ts +0 -4
  24. package/dist/components/AudioPlayer/AudioPlayer.types.d.ts +0 -10
  25. package/dist/components/AudioPlayer/index.d.ts +0 -3
  26. package/dist/components/AutoComplete/AutoComplete.d.ts +0 -2
  27. package/dist/components/AutoComplete/AutoComplete.types.d.ts +0 -3
  28. package/dist/components/AutoComplete/index.d.ts +0 -3
  29. package/dist/components/Avatar/Avatar.d.ts +0 -6
  30. package/dist/components/Avatar/Avatar.types.d.ts +0 -6
  31. package/dist/components/Avatar/index.d.ts +0 -4
  32. package/dist/components/Badge/Badge.d.ts +0 -4
  33. package/dist/components/Badge/Badge.types.d.ts +0 -3
  34. package/dist/components/Badge/index.d.ts +0 -3
  35. package/dist/components/BecaChatBox/BecaChatBox.d.ts +0 -24
  36. package/dist/components/BecaChatBox/Composer.d.ts +0 -20
  37. package/dist/components/BecaChatBox/MainChat.d.ts +0 -36
  38. package/dist/components/BecaChatBox/MessageBubble.d.ts +0 -27
  39. package/dist/components/BecaChatBox/Sidebar.d.ts +0 -11
  40. package/dist/components/BecaChatBox/index.d.ts +0 -1
  41. package/dist/components/BecaChatBox/types.d.ts +0 -26
  42. package/dist/components/BecaChatBox/utils.d.ts +0 -3
  43. package/dist/components/BecaColorPicker/BecaColorPicker.d.ts +0 -2
  44. package/dist/components/BecaColorPicker/BecaColorPicker.types.d.ts +0 -2
  45. package/dist/components/BecaColorPicker/index.d.ts +0 -3
  46. package/dist/components/BodyCard/BodyCard.d.ts +0 -3
  47. package/dist/components/BodyCard/BodyCard.types.d.ts +0 -20
  48. package/dist/components/BodyCard/index.d.ts +0 -3
  49. package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -6
  50. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -5
  51. package/dist/components/Breadcrumb/index.d.ts +0 -3
  52. package/dist/components/Button/Button.d.ts +0 -2
  53. package/dist/components/Button/Button.types.d.ts +0 -18
  54. package/dist/components/Button/index.d.ts +0 -2
  55. package/dist/components/Calendar/Calendar.d.ts +0 -3
  56. package/dist/components/Calendar/Calendar.types.d.ts +0 -3
  57. package/dist/components/Calendar/index.d.ts +0 -3
  58. package/dist/components/Card/Card.d.ts +0 -6
  59. package/dist/components/Card/Card.types.d.ts +0 -6
  60. package/dist/components/Card/index.d.ts +0 -2
  61. package/dist/components/Carousel/Carousel.d.ts +0 -2
  62. package/dist/components/Carousel/Carousel.types.d.ts +0 -3
  63. package/dist/components/Carousel/index.d.ts +0 -3
  64. package/dist/components/Checkbox/Checkbox.d.ts +0 -6
  65. package/dist/components/Checkbox/Checkbox.types.d.ts +0 -11
  66. package/dist/components/Checkbox/index.d.ts +0 -2
  67. package/dist/components/Col/Col.d.ts +0 -3
  68. package/dist/components/Col/Col.types.d.ts +0 -3
  69. package/dist/components/Col/index.d.ts +0 -3
  70. package/dist/components/Collapse/Collapse.d.ts +0 -6
  71. package/dist/components/Collapse/Collapse.types.d.ts +0 -5
  72. package/dist/components/Collapse/index.d.ts +0 -3
  73. package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
  74. package/dist/components/ColorPicker/ColorPicker.types.d.ts +0 -3
  75. package/dist/components/ColorPicker/index.d.ts +0 -3
  76. package/dist/components/CommonTypes.d.ts +0 -2
  77. package/dist/components/ConfigProvider/ConfigProvider.d.ts +0 -4
  78. package/dist/components/ConfigProvider/ConfigProvider.types.d.ts +0 -5
  79. package/dist/components/ConfigProvider/index.d.ts +0 -3
  80. package/dist/components/Content/Content.d.ts +0 -3
  81. package/dist/components/Content/Content.types.d.ts +0 -4
  82. package/dist/components/Content/index.d.ts +0 -3
  83. package/dist/components/DatePicker/DatePicker.d.ts +0 -7
  84. package/dist/components/DatePicker/DatePicker.types.d.ts +0 -9
  85. package/dist/components/DatePicker/index.d.ts +0 -3
  86. package/dist/components/Descriptions/Descriptions.d.ts +0 -6
  87. package/dist/components/Descriptions/Descriptions.types.d.ts +0 -6
  88. package/dist/components/Descriptions/index.d.ts +0 -3
  89. package/dist/components/Divider/Divider.d.ts +0 -4
  90. package/dist/components/Divider/Divider.types.d.ts +0 -3
  91. package/dist/components/Divider/index.d.ts +0 -3
  92. package/dist/components/Drawer/Drawer.d.ts +0 -4
  93. package/dist/components/Drawer/Drawer.types.d.ts +0 -3
  94. package/dist/components/Drawer/index.d.ts +0 -3
  95. package/dist/components/Dropdown/Dropdown.d.ts +0 -3
  96. package/dist/components/Dropdown/Dropdown.types.d.ts +0 -5
  97. package/dist/components/Dropdown/index.d.ts +0 -3
  98. package/dist/components/Empty/Empty.d.ts +0 -2
  99. package/dist/components/Empty/Empty.types.d.ts +0 -3
  100. package/dist/components/Empty/index.d.ts +0 -3
  101. package/dist/components/ErrorPage/ErrorPage.d.ts +0 -3
  102. package/dist/components/ErrorPage/ErrorPage.types.d.ts +0 -13
  103. package/dist/components/ErrorPage/index.d.ts +0 -3
  104. package/dist/components/Flex/Flex.d.ts +0 -4
  105. package/dist/components/Flex/Flex.types.d.ts +0 -3
  106. package/dist/components/Flex/index.d.ts +0 -3
  107. package/dist/components/FloatButton/FloatButton.d.ts +0 -2
  108. package/dist/components/FloatButton/FloatButton.types.d.ts +0 -3
  109. package/dist/components/FloatButton/index.d.ts +0 -3
  110. package/dist/components/Form/Form.d.ts +0 -15
  111. package/dist/components/Form/Form.types.d.ts +0 -5
  112. package/dist/components/Form/index.d.ts +0 -2
  113. package/dist/components/Grid/index.d.ts +0 -2
  114. package/dist/components/Icons/Icons.d.ts +0 -19
  115. package/dist/components/Icons/index.d.ts +0 -1
  116. package/dist/components/Image/Image.d.ts +0 -6
  117. package/dist/components/Image/Image.types.d.ts +0 -6
  118. package/dist/components/Image/index.d.ts +0 -3
  119. package/dist/components/ImgCrop/ImgCrop.d.ts +0 -4
  120. package/dist/components/ImgCrop/index.d.ts +0 -1
  121. package/dist/components/Input/Input.d.ts +0 -9
  122. package/dist/components/Input/Input.types.d.ts +0 -17
  123. package/dist/components/Input/index.d.ts +0 -3
  124. package/dist/components/InputNumber/InputNumber.d.ts +0 -3
  125. package/dist/components/InputNumber/InputNumber.types.d.ts +0 -3
  126. package/dist/components/InputNumber/index.d.ts +0 -3
  127. package/dist/components/Layout/Layout.d.ts +0 -2
  128. package/dist/components/Layout/Layout.types.d.ts +0 -3
  129. package/dist/components/Layout/index.d.ts +0 -3
  130. package/dist/components/LazyLoadImage/LazyLoadImage.d.ts +0 -3
  131. package/dist/components/LazyLoadImage/LazyLoadImage.types.d.ts +0 -3
  132. package/dist/components/LazyLoadImage/index.d.ts +0 -1
  133. package/dist/components/List/List.d.ts +0 -10
  134. package/dist/components/List/List.types.d.ts +0 -8
  135. package/dist/components/List/index.d.ts +0 -3
  136. package/dist/components/MainLayout/AppMenu/AppMenu.d.ts +0 -13
  137. package/dist/components/MainLayout/AppMenu/index.d.ts +0 -1
  138. package/dist/components/MainLayout/Content/Content.d.ts +0 -3
  139. package/dist/components/MainLayout/Content/Content.types.d.ts +0 -3
  140. package/dist/components/MainLayout/Content/index.d.ts +0 -2
  141. package/dist/components/MainLayout/Header/Header.d.ts +0 -3
  142. package/dist/components/MainLayout/Header/Header.types.d.ts +0 -90
  143. package/dist/components/MainLayout/Header/Notification.d.ts +0 -11
  144. package/dist/components/MainLayout/Header/index.d.ts +0 -2
  145. package/dist/components/MainLayout/MainLayout.d.ts +0 -14
  146. package/dist/components/MainLayout/MainLayout.types.d.ts +0 -97
  147. package/dist/components/MainLayout/SideBarMenu/SideBarMenu.d.ts +0 -10
  148. package/dist/components/MainLayout/SideBarMenu/SideBarMenu.types.d.ts +0 -27
  149. package/dist/components/MainLayout/SideBarMenu/index.d.ts +0 -2
  150. package/dist/components/MainLayout/index.d.ts +0 -4
  151. package/dist/components/Mentions/Mentions.d.ts +0 -2
  152. package/dist/components/Mentions/Mentions.types.d.ts +0 -2
  153. package/dist/components/Mentions/index.d.ts +0 -2
  154. package/dist/components/Menu/Menu.d.ts +0 -2
  155. package/dist/components/Menu/Menu.types.d.ts +0 -8
  156. package/dist/components/Menu/index.d.ts +0 -2
  157. package/dist/components/Message/Message.d.ts +0 -2
  158. package/dist/components/Message/Message.types.d.ts +0 -0
  159. package/dist/components/Message/index.d.ts +0 -1
  160. package/dist/components/Modal/Modal.d.ts +0 -13
  161. package/dist/components/Modal/Modal.types.d.ts +0 -19
  162. package/dist/components/Modal/index.d.ts +0 -3
  163. package/dist/components/Notification/Notification.d.ts +0 -2
  164. package/dist/components/Notification/index.d.ts +0 -1
  165. package/dist/components/Pagination/Pagination.d.ts +0 -4
  166. package/dist/components/Pagination/Pagination.types.d.ts +0 -3
  167. package/dist/components/Pagination/index.d.ts +0 -3
  168. package/dist/components/Popconfirm/Popconfirm.d.ts +0 -4
  169. package/dist/components/Popconfirm/Popconfirm.types.d.ts +0 -8
  170. package/dist/components/Popconfirm/index.d.ts +0 -3
  171. package/dist/components/Popover/Popover.d.ts +0 -3
  172. package/dist/components/Popover/Popover.types.d.ts +0 -5
  173. package/dist/components/Popover/index.d.ts +0 -3
  174. package/dist/components/Progress/Progress.d.ts +0 -2
  175. package/dist/components/Progress/Progress.types.d.ts +0 -3
  176. package/dist/components/Progress/index.d.ts +0 -3
  177. package/dist/components/QRCode/QRCode.d.ts +0 -4
  178. package/dist/components/QRCode/QRCode.types.d.ts +0 -3
  179. package/dist/components/QRCode/index.d.ts +0 -3
  180. package/dist/components/Radio/Radio.d.ts +0 -6
  181. package/dist/components/Radio/Radio.types.d.ts +0 -5
  182. package/dist/components/Radio/index.d.ts +0 -3
  183. package/dist/components/Rate/Rate.d.ts +0 -4
  184. package/dist/components/Rate/Rate.types.d.ts +0 -3
  185. package/dist/components/Rate/index.d.ts +0 -3
  186. package/dist/components/Row/Row.d.ts +0 -3
  187. package/dist/components/Row/Row.types.d.ts +0 -4
  188. package/dist/components/Row/index.d.ts +0 -3
  189. package/dist/components/ScrollView/ScrollView.d.ts +0 -4
  190. package/dist/components/ScrollView/ScrollView.types.d.ts +0 -4
  191. package/dist/components/ScrollView/index.d.ts +0 -3
  192. package/dist/components/Segmented/Segmented.d.ts +0 -4
  193. package/dist/components/Segmented/Segmented.types.d.ts +0 -3
  194. package/dist/components/Segmented/index.d.ts +0 -3
  195. package/dist/components/Select/Select.d.ts +0 -7
  196. package/dist/components/Select/Select.types.d.ts +0 -19
  197. package/dist/components/Select/index.d.ts +0 -3
  198. package/dist/components/SelectField/SelectField.d.ts +0 -3
  199. package/dist/components/SelectField/SelectField.types.d.ts +0 -10
  200. package/dist/components/SelectField/index.d.ts +0 -3
  201. package/dist/components/Skeleton/Skeleton.d.ts +0 -2
  202. package/dist/components/Skeleton/Skeleton.types.d.ts +0 -3
  203. package/dist/components/Skeleton/index.d.ts +0 -3
  204. package/dist/components/Slider/Slider.d.ts +0 -4
  205. package/dist/components/Slider/Slider.types.d.ts +0 -5
  206. package/dist/components/Slider/index.d.ts +0 -3
  207. package/dist/components/Space/Space.d.ts +0 -2
  208. package/dist/components/Space/Space.types.d.ts +0 -3
  209. package/dist/components/Space/index.d.ts +0 -2
  210. package/dist/components/Spin/Spin.d.ts +0 -3
  211. package/dist/components/Spin/Spin.types.d.ts +0 -4
  212. package/dist/components/Spin/index.d.ts +0 -3
  213. package/dist/components/Statistic/Statistic.d.ts +0 -4
  214. package/dist/components/Statistic/Statistic.types.d.ts +0 -3
  215. package/dist/components/Statistic/index.d.ts +0 -3
  216. package/dist/components/Steps/Steps.d.ts +0 -2
  217. package/dist/components/Steps/Steps.types.d.ts +0 -5
  218. package/dist/components/Steps/index.d.ts +0 -3
  219. package/dist/components/Switch/Switch.d.ts +0 -4
  220. package/dist/components/Switch/Switch.types.d.ts +0 -3
  221. package/dist/components/Switch/index.d.ts +0 -3
  222. package/dist/components/Table/ResizeableTitle.d.ts +0 -2
  223. package/dist/components/Table/Table.d.ts +0 -4
  224. package/dist/components/Table/Table.types.d.ts +0 -33
  225. package/dist/components/Table/index.d.ts +0 -3
  226. package/dist/components/Tabs/Tabs.d.ts +0 -6
  227. package/dist/components/Tabs/Tabs.types.d.ts +0 -9
  228. package/dist/components/Tabs/index.d.ts +0 -3
  229. package/dist/components/Tag/Tag.d.ts +0 -4
  230. package/dist/components/Tag/Tag.types.d.ts +0 -3
  231. package/dist/components/Tag/index.d.ts +0 -3
  232. package/dist/components/TextEditor/BubbleMenu/TextEditorBubbleMenu.d.ts +0 -27
  233. package/dist/components/TextEditor/ColorPicker/ColorPicker.component.d.ts +0 -6
  234. package/dist/components/TextEditor/FontSize/index.d.ts +0 -2
  235. package/dist/components/TextEditor/Image/NodeView.d.ts +0 -14
  236. package/dist/components/TextEditor/Image/icons/index.d.ts +0 -6
  237. package/dist/components/TextEditor/Image/index.d.ts +0 -28
  238. package/dist/components/TextEditor/Image/resizableMediaMenuUtil.d.ts +0 -9
  239. package/dist/components/TextEditor/Image/upload_image.d.ts +0 -7
  240. package/dist/components/TextEditor/MentionList.d.ts +0 -3
  241. package/dist/components/TextEditor/Menu/Menu.component.d.ts +0 -6
  242. package/dist/components/TextEditor/Menu/index.d.ts +0 -1
  243. package/dist/components/TextEditor/SmilieReplacer.d.ts +0 -2
  244. package/dist/components/TextEditor/Suggestions/EditorSuggestionsInlineRender.d.ts +0 -10
  245. package/dist/components/TextEditor/Suggestions/Mention.d.ts +0 -6
  246. package/dist/components/TextEditor/Suggestions/MentionExtension.d.ts +0 -2
  247. package/dist/components/TextEditor/Suggestions/MentionList.d.ts +0 -8
  248. package/dist/components/TextEditor/Suggestions/Suggestions.d.ts +0 -2
  249. package/dist/components/TextEditor/TableTools/TableTools.component.d.ts +0 -11
  250. package/dist/components/TextEditor/TextBubbleMenu/TextBubbleMenu.d.ts +0 -6
  251. package/dist/components/TextEditor/TextEditor.d.ts +0 -11
  252. package/dist/components/TextEditor/TextEditor.types.d.ts +0 -71
  253. package/dist/components/TextEditor/components/ActionButton.d.ts +0 -0
  254. package/dist/components/TextEditor/index.d.ts +0 -3
  255. package/dist/components/TimePicker/TimePicker.d.ts +0 -7
  256. package/dist/components/TimePicker/TimePicker.types.d.ts +0 -5
  257. package/dist/components/TimePicker/index.d.ts +0 -3
  258. package/dist/components/Timeline/Timeline.d.ts +0 -2
  259. package/dist/components/Timeline/Timeline.types.d.ts +0 -6
  260. package/dist/components/Timeline/index.d.ts +0 -3
  261. package/dist/components/Tooltip/Tooltip.d.ts +0 -4
  262. package/dist/components/Tooltip/Tooltip.types.d.ts +0 -2
  263. package/dist/components/Tooltip/index.d.ts +0 -3
  264. package/dist/components/Tour/Tour.d.ts +0 -4
  265. package/dist/components/Tour/Tour.types.d.ts +0 -3
  266. package/dist/components/Tour/index.d.ts +0 -3
  267. package/dist/components/Tree/Tree.d.ts +0 -4
  268. package/dist/components/Tree/Tree.types.d.ts +0 -3
  269. package/dist/components/Tree/index.d.ts +0 -3
  270. package/dist/components/TreeSelect/TreeSelect.d.ts +0 -8
  271. package/dist/components/TreeSelect/TreeSelect.types.d.ts +0 -10
  272. package/dist/components/TreeSelect/index.d.ts +0 -3
  273. package/dist/components/TreeSelectField/TreeSelectField.d.ts +0 -3
  274. package/dist/components/TreeSelectField/TreeSelectField.types.d.ts +0 -7
  275. package/dist/components/TreeSelectField/index.d.ts +0 -2
  276. package/dist/components/Typography/Typography.d.ts +0 -10
  277. package/dist/components/Typography/Typography.types.d.ts +0 -10
  278. package/dist/components/Typography/index.d.ts +0 -3
  279. package/dist/components/Upload/Upload.d.ts +0 -10
  280. package/dist/components/Upload/Upload.types.d.ts +0 -8
  281. package/dist/components/Upload/index.d.ts +0 -3
  282. package/dist/components/VideoPlayer/VideoPlayer.d.ts +0 -4
  283. package/dist/components/VideoPlayer/VideoPlayer.types.d.ts +0 -19
  284. package/dist/components/VideoPlayer/index.d.ts +0 -3
  285. package/dist/components/VirtualList/VirtualList.d.ts +0 -4
  286. package/dist/components/VirtualList/VirtualList.types.d.ts +0 -36
  287. package/dist/components/VirtualList/index.d.ts +0 -3
  288. package/dist/components/index.d.ts +0 -82
  289. package/dist/data/LocalesTexts/EnglishTexts.d.ts +0 -67
  290. package/dist/data/LocalesTexts/VietnameseTexts.d.ts +0 -67
  291. package/dist/data/Permissions.d.ts +0 -5
  292. package/dist/data/SideBarMenu.d.ts +0 -2
  293. package/dist/hooks/ConfigHooks.d.ts +0 -10
  294. package/dist/hooks/DeviceHook.d.ts +0 -6
  295. package/dist/hooks/GlobalHooks.d.ts +0 -1
  296. package/dist/hooks/LocaleHook.d.ts +0 -69
  297. package/dist/hooks/i18n.d.ts +0 -7
  298. package/dist/hooks/index.d.ts +0 -5
  299. package/dist/main.css +0 -1
  300. package/dist/main.d.ts +0 -5
  301. package/dist/models/Core/Result.d.ts +0 -7
  302. package/dist/models/Core/index.d.ts +0 -2
  303. package/dist/models/Layout/MenuModel.d.ts +0 -16
  304. package/dist/models/Layout/SideBarMenuModel.d.ts +0 -5
  305. package/dist/models/Layout/index.d.ts +0 -2
  306. package/dist/models/NotificationModel.d.ts +0 -12
  307. package/dist/models/PersonalProfileModel.d.ts +0 -28
  308. package/dist/models/Session/IServiceUser.d.ts +0 -3
  309. package/dist/models/Session/IWebSessionContext.d.ts +0 -21
  310. package/dist/models/Session/index.d.ts +0 -3
  311. package/dist/models/SupportContactModel.d.ts +0 -8
  312. package/dist/models/index.d.ts +0 -6
  313. package/dist/services/DataService.d.ts +0 -4
  314. package/dist/services/FormatDateTimeService.d.ts +0 -13
  315. package/dist/services/LayoutService.d.ts +0 -11
  316. package/dist/services/NotificationService.d.ts +0 -24
  317. package/dist/services/Service.d.ts +0 -1
  318. package/dist/services/index.d.ts +0 -4
  319. package/dist/styles/components/layout/test.d.ts +0 -0
  320. package/dist/styles/font.d.ts +0 -0
  321. package/dist/theme/index.d.ts +0 -1
  322. package/dist/theme/styles.d.ts +0 -62
  323. package/dist/vite.svg +0 -1
@@ -1,27 +0,0 @@
1
- import React from "react";
2
- import { SideBarMenuModel } from "../../../models";
3
- export interface SideBarMenuProps {
4
- sideBarMenus: SideBarMenuModel[];
5
- activeMenu?: string;
6
- openMenuKeys?: string[];
7
- pathname: string;
8
- isMobile: boolean;
9
- homePageUrl: string;
10
- showLargeMenu?: boolean;
11
- isShowCollapseButton?: boolean;
12
- headerTitle?: string;
13
- }
14
- export interface SideBarMenu2Props extends SideBarMenuProps {
15
- collapsed: boolean;
16
- items?: SideBarMenuItemProps[];
17
- isAdmin?: boolean;
18
- LinkComponent?: any;
19
- logoUrl?: string;
20
- toggleCollapse?: () => void;
21
- customSideBar?: React.ReactNode;
22
- }
23
- export interface SideBarMenuItemProps {
24
- key: string;
25
- icon: React.ReactNode;
26
- label: string;
27
- }
@@ -1,2 +0,0 @@
1
- export * from "./SideBarMenu";
2
- export * from "./SideBarMenu.types";
@@ -1,4 +0,0 @@
1
- import { NotificationItemType, Theme } from "./Header";
2
- export * from "./MainLayout";
3
- export type { NotificationItemType, Theme };
4
- export * from "./MainLayout.types";
@@ -1,2 +0,0 @@
1
- import { Mentions } from "antd";
2
- export { Mentions };
@@ -1,2 +0,0 @@
1
- import { MentionProps, GetProp } from "antd";
2
- export type { MentionProps, GetProp };
@@ -1,2 +0,0 @@
1
- export * from "./Mentions.types";
2
- export * from "./Mentions";
@@ -1,2 +0,0 @@
1
- import { Menu } from "antd";
2
- export default Menu;
@@ -1,8 +0,0 @@
1
- import { MenuProps as AntMenuProps, Menu } from "antd";
2
- import { MenuItemType, ItemType } from "antd/es/menu/interface";
3
- type AntMenuItemProps = typeof Menu.Item;
4
- export interface MenuProps extends AntMenuProps {
5
- }
6
- export interface MenuItemProps extends AntMenuItemProps {
7
- }
8
- export type { MenuItemType, ItemType };
@@ -1,2 +0,0 @@
1
- export { default as Menu } from "./Menu";
2
- export * from "./Menu.types";
@@ -1,2 +0,0 @@
1
- import { message } from "antd";
2
- export { message };
File without changes
@@ -1 +0,0 @@
1
- export { message } from "./Message";
@@ -1,13 +0,0 @@
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;
@@ -1,19 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- import { ModalProps, ModalFuncProps, ModalFunc } from "./Modal.types";
2
- export { default as Modal } from "./Modal";
3
- export type { ModalProps, ModalFuncProps, ModalFunc };
@@ -1,2 +0,0 @@
1
- import { notification } from "antd";
2
- export default notification;
@@ -1 +0,0 @@
1
- export { default as notification } from "./Notification";
@@ -1,4 +0,0 @@
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, size?: "default" | "small" | undefined) => string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
4
- export declare const Pagination: React.FunctionComponent<PaginationProps>;
@@ -1,3 +0,0 @@
1
- import { PaginationProps as AntPaginationProps } from "antd";
2
- export interface PaginationProps extends AntPaginationProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { PaginationProps } from "./Pagination.types";
2
- export * from "./Pagination";
3
- export type { PaginationProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { PopconfirmProps } from ".";
3
- declare const Popconfirm: React.FunctionComponent<PopconfirmProps>;
4
- export default Popconfirm;
@@ -1,8 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- import { PopconfirmProps } from "./Popconfirm.types";
2
- export { default as Popconfirm } from "./Popconfirm";
3
- export type { PopconfirmProps };
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PopoverProps } from ".";
3
- export declare const Popover: React.FunctionComponent<PopoverProps>;
@@ -1,5 +0,0 @@
1
- import { PopoverProps as AntPopoverProps } from "antd";
2
- import { PopupPosition } from "..";
3
- export interface PopoverProps extends AntPopoverProps {
4
- position?: PopupPosition;
5
- }
@@ -1,3 +0,0 @@
1
- import { PopoverProps } from "./Popover.types";
2
- export * from "./Popover";
3
- export type { PopoverProps };
@@ -1,2 +0,0 @@
1
- import { Progress } from "antd";
2
- export default Progress;
@@ -1,3 +0,0 @@
1
- import { ProgressProps as AntProgressProps } from "antd";
2
- export interface ProgressProps extends AntProgressProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { ProgressProps } from "./Progress.types";
2
- export { default as Progress } from "./Progress";
3
- export type { ProgressProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { QRCodeProps } from ".";
3
- declare const QRCode: React.FunctionComponent<QRCodeProps>;
4
- export default QRCode;
@@ -1,3 +0,0 @@
1
- import { QRCodeProps as AntQRCodeProps } from "antd";
2
- export interface QRCodeProps extends AntQRCodeProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { QRCodeProps } from "./QRCode.types";
2
- export { default as QRCode } from "./QRCode";
3
- export type { QRCodeProps };
@@ -1,6 +0,0 @@
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;
@@ -1,5 +0,0 @@
1
- import { RadioProps as AntRadioProps, RadioGroupProps as AntRadioGroupProps } from "antd";
2
- export interface RadioProps extends AntRadioProps {
3
- }
4
- export interface RadioGroupProps extends AntRadioGroupProps {
5
- }
@@ -1,3 +0,0 @@
1
- import { RadioProps, RadioGroupProps } from "./Radio.types";
2
- export * from "./Radio";
3
- export type { RadioProps, RadioGroupProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { RateProps } from ".";
3
- declare const Rate: React.FunctionComponent<RateProps>;
4
- export default Rate;
@@ -1,3 +0,0 @@
1
- import { RateProps as AntRateProps } from "antd";
2
- export interface RateProps extends AntRateProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { RateProps } from "./Rate.types";
2
- export { default as Rate } from "./Rate";
3
- export type { RateProps };
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { RowProps } from ".";
3
- export declare const Row: React.FunctionComponent<RowProps>;
@@ -1,4 +0,0 @@
1
- import { RowProps as AntRowProps } from "antd";
2
- export interface RowProps extends AntRowProps {
3
- noMargin?: boolean;
4
- }
@@ -1,3 +0,0 @@
1
- import { RowProps } from "./Row.types";
2
- export * from "./Row";
3
- export type { RowProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { ScrollViewProps } from ".";
3
- declare const ScrollView: React.FunctionComponent<ScrollViewProps>;
4
- export default ScrollView;
@@ -1,4 +0,0 @@
1
- import { Props } from "simplebar-react";
2
- export interface ScrollViewProps extends Omit<Props, "onScroll"> {
3
- onScroll?: (scrollTop: number) => void;
4
- }
@@ -1,3 +0,0 @@
1
- import { ScrollViewProps } from "./ScrollView.types";
2
- export { default as ScrollView } from "./ScrollView";
3
- export type { ScrollViewProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { SegmentedProps } from ".";
3
- declare const Segmented: React.FunctionComponent<SegmentedProps>;
4
- export default Segmented;
@@ -1,3 +0,0 @@
1
- import { SegmentedProps as AntSegmentedProps } from "antd";
2
- export interface SegmentedProps extends AntSegmentedProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { SegmentedProps } from "./Segmented.types";
2
- export { default as Segmented } from "./Segmented";
3
- export type { SegmentedProps };
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import { SelectProps } from ".";
3
- import { BaseSelectRef } from "./Select.types";
4
- declare const Select: React.ForwardRefExoticComponent<SelectProps<any> & React.RefAttributes<BaseSelectRef>> & {
5
- Option?: any;
6
- };
7
- export default Select;
@@ -1,19 +0,0 @@
1
- import { SelectProps as AntSelectProps } from "antd";
2
- import { OptionProps as AntOptionProps } from "rc-select/lib/Option";
3
- import type { ScrollTo } from "rc-virtual-list/lib/List";
4
- import type { BaseSelectRef } from "rc-select";
5
- export interface OptionProps extends AntOptionProps {
6
- }
7
- export type PopupPosition = "relative" | "fixed";
8
- export interface SelectProps<T = any> extends Omit<AntSelectProps<T>, "children"> {
9
- children?: any;
10
- position?: PopupPosition;
11
- searchByLabelAndValue?: boolean;
12
- searchByChildrenAndValue?: boolean;
13
- }
14
- export interface SelectRefs {
15
- focus: () => void;
16
- blur: () => void;
17
- scrollTo: ScrollTo;
18
- }
19
- export { BaseSelectRef };
@@ -1,3 +0,0 @@
1
- import { SelectProps, OptionProps, PopupPosition, SelectRefs, BaseSelectRef } from "./Select.types";
2
- export { default as Select } from "./Select";
3
- export type { SelectProps, OptionProps, PopupPosition, SelectRefs, BaseSelectRef, };
@@ -1,3 +0,0 @@
1
- import { SelectFieldProps } from "./SelectField.types";
2
- declare const SelectField: (props: SelectFieldProps) => import("react/jsx-runtime").JSX.Element;
3
- export default SelectField;
@@ -1,10 +0,0 @@
1
- import { OptionProps as AntOptionProps } from "rc-select/lib/Option";
2
- import { FormItemProps } from "../Form";
3
- import { SelectProps } from "..";
4
- export interface OptionProps extends AntOptionProps {
5
- }
6
- export interface SelectFieldProps {
7
- selectProps: SelectProps;
8
- formItemProps?: FormItemProps;
9
- isAutoComplete?: boolean;
10
- }
@@ -1,3 +0,0 @@
1
- import { SelectFieldProps } from "./SelectField.types";
2
- export { default as SelectField } from "./SelectField";
3
- export type { SelectFieldProps };
@@ -1,2 +0,0 @@
1
- import { Skeleton as AntSkeleton } from "antd";
2
- export default AntSkeleton;
@@ -1,3 +0,0 @@
1
- import { SkeletonProps as AntSkeletonProps } from "antd";
2
- export interface SkeletonProps extends AntSkeletonProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { SkeletonProps } from "./Skeleton.types";
2
- export { default as Skeleton } from "./Skeleton";
3
- export type { SkeletonProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { SliderProps } from ".";
3
- declare const Slider: React.FunctionComponent<SliderProps>;
4
- export default Slider;
@@ -1,5 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { SliderProps, SliderRangeProps, SliderSingleProps } from "./Slider.types";
2
- export { default as Slider } from "./Slider";
3
- export type { SliderProps, SliderSingleProps, SliderRangeProps };
@@ -1,2 +0,0 @@
1
- import { Space } from "antd";
2
- export default Space;
@@ -1,3 +0,0 @@
1
- import { SpaceProps } from "antd";
2
- import { SpaceSize } from "antd/es/space";
3
- export type { SpaceProps, SpaceSize };
@@ -1,2 +0,0 @@
1
- export { default as Space } from "./Space";
2
- export * from "./Space.types";
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { SpinProps } from ".";
3
- export declare const Spin: React.FunctionComponent<SpinProps>;
@@ -1,4 +0,0 @@
1
- import { SpinProps as AntSpinProps } from "antd";
2
- export interface SpinProps extends AntSpinProps {
3
- customSize?: number;
4
- }
@@ -1,3 +0,0 @@
1
- import { SpinProps } from "./Spin.types";
2
- export * from "./Spin";
3
- export type { SpinProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { StatisticProps } from ".";
3
- declare const Statistic: React.FunctionComponent<StatisticProps>;
4
- export default Statistic;
@@ -1,3 +0,0 @@
1
- import { StatisticProps as AntStatisticProps } from "antd";
2
- export interface StatisticProps extends AntStatisticProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { StatisticProps } from "./Statistic.types";
2
- export { default as Statistic } from "./Statistic";
3
- export type { StatisticProps };
@@ -1,2 +0,0 @@
1
- import { Steps } from "antd";
2
- export default Steps;
@@ -1,5 +0,0 @@
1
- import { StepsProps as AntStepsProps } from "antd";
2
- import { StepProps } from "antd/lib";
3
- export interface StepsProps extends AntStepsProps {
4
- }
5
- export type { StepProps };
@@ -1,3 +0,0 @@
1
- import { StepsProps, StepProps } from "./Steps.types";
2
- export { default as Steps } from "./Steps";
3
- export type { StepsProps, StepProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { SwitchProps } from ".";
3
- declare const Switch: React.FunctionComponent<SwitchProps>;
4
- export default Switch;
@@ -1,3 +0,0 @@
1
- import { SwitchProps as AntSwitchProps } from "antd";
2
- export interface SwitchProps extends AntSwitchProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { SwitchProps } from "./Switch.types";
2
- export { default as Switch } from "./Switch";
3
- export type { SwitchProps };
@@ -1,2 +0,0 @@
1
- import { ResizableProps } from "react-resizable";
2
- export declare const ResizableTitle: (props: ResizableProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { TableProps, TableRef } from ".";
3
- export declare const Table: React.ForwardRefExoticComponent<TableProps<unknown> & React.RefAttributes<TableRef>>;
4
- export declare const TableSummary: typeof import("rc-table/lib/Footer/Summary").default;
@@ -1,33 +0,0 @@
1
- import { TableProps as AntTableProps } from "antd";
2
- import { ColumnType as AntColumnType, TableRowSelection as AntTableRowSelection, ColumnTitle as AntColumnTitle, FilterDropdownProps, ColumnsType as AntColumnsType } from "antd/lib/table/interface";
3
- export interface TableProps<T = any> extends Omit<AntTableProps<T>, "rowSelection" | "columns"> {
4
- transparent?: boolean;
5
- rowSelection?: TableRowSelection<any>;
6
- onRowSelect?: (record: any) => void;
7
- stripe?: boolean;
8
- boxShadow?: boolean;
9
- isResizable?: boolean;
10
- isBodyCard?: boolean;
11
- onResizeColumns?: (columns: ColumnsType) => void;
12
- columns?: ColumnsType;
13
- responsive?: {
14
- breakpoint?: number;
15
- dataLabel?: (column: any, record: any, rowIndex: number) => React.ReactNode | string;
16
- };
17
- }
18
- export interface TableRef {
19
- onSelectAll: () => void;
20
- onSelectItems: (items: any[]) => {
21
- selectedRowKeys: React.Key[];
22
- selectedRows: any[];
23
- };
24
- }
25
- export interface TableRowSelection<T> extends Omit<AntTableRowSelection<T>, "onSelectAll"> {
26
- onSelectAll?: (isSelectedAll: boolean, selectedRowKeys: any[], selectedRows?: any[]) => void;
27
- }
28
- export type ColumnsType<T = any> = AntColumnsType<T>;
29
- export type ColumnType<RecordType = any> = AntColumnType<RecordType> & {
30
- editable?: boolean;
31
- };
32
- export type ColumnTitle<RecordType = any> = AntColumnTitle<RecordType>;
33
- export type { FilterDropdownProps };
@@ -1,3 +0,0 @@
1
- import { TableProps, ColumnsType, TableRef, TableRowSelection, ColumnType, ColumnTitle } from "./Table.types";
2
- export { Table, TableSummary } from "./Table";
3
- export type { TableProps, ColumnsType, TableRef, TableRowSelection, ColumnType, ColumnTitle, };
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { TabPaneProps, TabsProps } from ".";
3
- declare const Tabs: React.FunctionComponent<TabsProps> & {
4
- TabPane: React.FunctionComponent<TabPaneProps>;
5
- };
6
- export default Tabs;
@@ -1,9 +0,0 @@
1
- import { TabPaneProps as AntTabPaneProps, TabsProps as AntTabsProps } from "antd";
2
- export interface TabsProps extends AntTabsProps {
3
- }
4
- export interface Tab extends Omit<TabPaneProps, "tab"> {
5
- key: string;
6
- label: React.ReactNode;
7
- }
8
- export interface TabPaneProps extends AntTabPaneProps {
9
- }
@@ -1,3 +0,0 @@
1
- import { TabsProps, Tab, TabPaneProps } from "./Tabs.types";
2
- export { default as Tabs } from "./Tabs";
3
- export type { TabsProps, Tab, TabPaneProps };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { TagProps } from ".";
3
- declare const Tag: React.FunctionComponent<TagProps>;
4
- export default Tag;
@@ -1,3 +0,0 @@
1
- import { TagProps as AntTagProps } from "antd";
2
- export interface TagProps extends AntTagProps {
3
- }
@@ -1,3 +0,0 @@
1
- import { TagProps } from "./Tag.types";
2
- export { default as Tag } from "./Tag";
3
- export type { TagProps };
@@ -1,27 +0,0 @@
1
- import React from "react";
2
- export interface TextEditorMenuItem {
3
- icon: React.ReactNode;
4
- onClick?: () => void;
5
- disabled?: boolean;
6
- title?: string;
7
- actived?: boolean;
8
- subItems?: TextEditorMenuItem[];
9
- }
10
- interface BubbleMenuItemType {
11
- subItems: TextEditorMenuItem[];
12
- }
13
- export interface BubbleMenuPosition {
14
- top: number;
15
- left: number;
16
- }
17
- interface TextEditorBubbleMenuProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
18
- items: BubbleMenuItemType[];
19
- visible: boolean;
20
- position?: BubbleMenuPosition;
21
- positionType?: "relative" | "absolute";
22
- }
23
- export declare const TextEditorBubbleMenu: (props: TextEditorBubbleMenuProps) => import("react/jsx-runtime").JSX.Element;
24
- export declare const MenuButton: ({ item }: {
25
- item: TextEditorMenuItem;
26
- }) => import("react/jsx-runtime").JSX.Element;
27
- export {};
@@ -1,6 +0,0 @@
1
- import { Editor } from "@tiptap/react";
2
- interface ColorPickerProps {
3
- editor: Editor;
4
- }
5
- export declare const TextEditorColorPicker: ({ editor }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,2 +0,0 @@
1
- import { Extension } from "@tiptap/react";
2
- export declare const FontSize: Extension<any, any>;