@webiny/app-admin 0.0.0-mt-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 (357) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +21 -0
  3. package/assets/icons/add-18px.svg +3 -0
  4. package/assets/icons/arrow_drop_down-24px.svg +4 -0
  5. package/assets/icons/attach_file_black_24dp.svg +1 -0
  6. package/assets/icons/baseline-menu-24px.svg +4 -0
  7. package/assets/icons/baseline-notification_important-24px.svg +4 -0
  8. package/assets/icons/baseline-security-24px.svg +4 -0
  9. package/assets/icons/filter-24px.svg +8 -0
  10. package/assets/icons/github-brands.svg +1 -0
  11. package/assets/icons/highlight-24px.svg +1 -0
  12. package/assets/icons/icon-community.svg +16 -0
  13. package/assets/icons/icon-documentation.svg +16 -0
  14. package/assets/icons/info.svg +1 -0
  15. package/assets/icons/insert_drive_file-24px.svg +1 -0
  16. package/assets/icons/insert_photo-24px.svg +1 -0
  17. package/assets/icons/label-24px.svg +1 -0
  18. package/assets/icons/round-account_circle-24px.svg +1 -0
  19. package/assets/icons/round-add-24px.svg +16 -0
  20. package/assets/icons/round-arrow_drop_down-24px.svg +1 -0
  21. package/assets/icons/round-chevron_right-24px.svg +12 -0
  22. package/assets/icons/round-feedback-24px.svg +54 -0
  23. package/assets/icons/round-help-24px.svg +1 -0
  24. package/assets/icons/round-invert_colors-24px.svg +52 -0
  25. package/assets/icons/round-keyboard_arrow_down-24px.svg +16 -0
  26. package/assets/icons/round-keyboard_arrow_up-24px.svg +16 -0
  27. package/assets/icons/round-lock_open-24px.svg +60 -0
  28. package/assets/icons/round-more_vert-24px.svg +12 -0
  29. package/assets/icons/round-open_in_new-24px.svg +44 -0
  30. package/assets/icons/round-settings-24px.svg +4 -0
  31. package/assets/icons/search-24px.svg +20 -0
  32. package/assets/icons/slack-logo.svg +1 -0
  33. package/assets/icons/today-24px.svg +1 -0
  34. package/assets/icons/touch_app.svg +1 -0
  35. package/assets/images/arr.png +0 -0
  36. package/assets/images/arr_2.png +0 -0
  37. package/assets/images/header_bg.jpg +0 -0
  38. package/assets/images/icons.png +0 -0
  39. package/assets/images/icons_retina.png +0 -0
  40. package/assets/images/logo.png +0 -0
  41. package/assets/images/logo_orange.png +0 -0
  42. package/assets/images/public/bg-login.png +0 -0
  43. package/assets/images/public/favicon.ico +0 -0
  44. package/assets/images/public/logo_orange.png +0 -0
  45. package/assets/images/public/preloader_2.png +0 -0
  46. package/assets/images/swich.png +0 -0
  47. package/assets/images/table_img.jpg +0 -0
  48. package/assets/images/webiny-logo.svg +20 -0
  49. package/assets/images/webiny-orange-logo.svg +20 -0
  50. package/components/AdminLayout.d.ts +7 -0
  51. package/components/AdminLayout.js +35 -0
  52. package/components/AppInstaller/Sidebar.d.ts +7 -0
  53. package/components/AppInstaller/Sidebar.js +158 -0
  54. package/components/AppInstaller/assets/sign-in-divider.svg +19 -0
  55. package/components/AppInstaller/index.d.ts +5 -0
  56. package/components/AppInstaller/index.js +134 -0
  57. package/components/AppInstaller/styled.d.ts +7 -0
  58. package/components/AppInstaller/styled.js +73 -0
  59. package/components/AppInstaller/useInstaller.d.ts +11 -0
  60. package/components/AppInstaller/useInstaller.js +279 -0
  61. package/components/EmptyView.d.ts +8 -0
  62. package/components/EmptyView.js +56 -0
  63. package/components/FileManager/BottomInfoBar/SupportedFileTypes.d.ts +5 -0
  64. package/components/FileManager/BottomInfoBar/SupportedFileTypes.js +35 -0
  65. package/components/FileManager/BottomInfoBar/UploadStatus.d.ts +5 -0
  66. package/components/FileManager/BottomInfoBar/UploadStatus.js +47 -0
  67. package/components/FileManager/BottomInfoBar.d.ts +3 -0
  68. package/components/FileManager/BottomInfoBar.js +42 -0
  69. package/components/FileManager/DropFilesHere.d.ts +8 -0
  70. package/components/FileManager/DropFilesHere.js +58 -0
  71. package/components/FileManager/File.d.ts +18 -0
  72. package/components/FileManager/File.js +129 -0
  73. package/components/FileManager/FileDetails/Name.d.ts +6 -0
  74. package/components/FileManager/FileDetails/Name.js +113 -0
  75. package/components/FileManager/FileDetails/Tags.d.ts +6 -0
  76. package/components/FileManager/FileDetails/Tags.js +241 -0
  77. package/components/FileManager/FileDetails.d.ts +23 -0
  78. package/components/FileManager/FileDetails.js +392 -0
  79. package/components/FileManager/FileManagerContext.d.ts +23 -0
  80. package/components/FileManager/FileManagerContext.js +174 -0
  81. package/components/FileManager/FileManagerView.d.ts +23 -0
  82. package/components/FileManager/FileManagerView.js +632 -0
  83. package/components/FileManager/LeftSidebar.d.ts +8 -0
  84. package/components/FileManager/LeftSidebar.js +95 -0
  85. package/components/FileManager/NoPermissionView.d.ts +3 -0
  86. package/components/FileManager/NoPermissionView.js +70 -0
  87. package/components/FileManager/NoResults.d.ts +2 -0
  88. package/components/FileManager/NoResults.js +13 -0
  89. package/components/FileManager/getFileTypePlugin.d.ts +1 -0
  90. package/components/FileManager/getFileTypePlugin.js +27 -0
  91. package/components/FileManager/getFileUploader.d.ts +2 -0
  92. package/components/FileManager/getFileUploader.js +10 -0
  93. package/components/FileManager/graphql.d.ts +6 -0
  94. package/components/FileManager/graphql.js +17 -0
  95. package/components/FileManager/icons/content_copy-black-24px.svg +1 -0
  96. package/components/FileManager/icons/delete.svg +12 -0
  97. package/components/FileManager/icons/privacy_tip-24px.svg +10 -0
  98. package/components/FileManager/icons/round-check_box-24px.svg +4 -0
  99. package/components/FileManager/icons/round-check_box_outline_blank-24px.svg +4 -0
  100. package/components/FileManager/icons/round-cloud_download-24px.svg +4 -0
  101. package/components/FileManager/icons/round-cloud_upload-24px.svg +4 -0
  102. package/components/FileManager/icons/round-description-24px.svg +4 -0
  103. package/components/FileManager/icons/round-edit-24px.svg +4 -0
  104. package/components/FileManager/icons/round-info-24px.svg +4 -0
  105. package/components/FileManager/icons/round-label-24px.svg +4 -0
  106. package/components/FileManager/icons/round-more_vert-24px.svg +4 -0
  107. package/components/FileManager/icons/round-search-24px.svg +20 -0
  108. package/components/FileManager/outputFileSelectionError.d.ts +2 -0
  109. package/components/FileManager/outputFileSelectionError.js +39 -0
  110. package/components/FileManager.d.ts +18 -0
  111. package/components/FileManager.js +133 -0
  112. package/components/FloatingActionButton.d.ts +3 -0
  113. package/components/FloatingActionButton.js +17 -0
  114. package/components/MultiImageUpload.d.ts +4 -0
  115. package/components/MultiImageUpload.js +20 -0
  116. package/components/OverlayLayout/OverlayLayout.d.ts +25 -0
  117. package/components/OverlayLayout/OverlayLayout.js +159 -0
  118. package/components/OverlayLayout/icons/close.svg +13 -0
  119. package/components/OverlayLayout/icons/navigate_before.svg +16 -0
  120. package/components/OverlayLayout/index.d.ts +1 -0
  121. package/components/OverlayLayout/index.js +1 -0
  122. package/components/Permissions/Permissions.d.ts +7 -0
  123. package/components/Permissions/Permissions.js +37 -0
  124. package/components/Permissions/StyledComponents.d.ts +6 -0
  125. package/components/Permissions/StyledComponents.js +19 -0
  126. package/components/Permissions/index.d.ts +2 -0
  127. package/components/Permissions/index.js +2 -0
  128. package/components/RichTextEditor/RichTextEditor.d.ts +3 -0
  129. package/components/RichTextEditor/RichTextEditor.js +15 -0
  130. package/components/RichTextEditor/index.d.ts +2 -0
  131. package/components/RichTextEditor/index.js +2 -0
  132. package/components/RichTextEditor/styles.scss +64 -0
  133. package/components/RichTextEditor/tools/header/index.d.ts +228 -0
  134. package/components/RichTextEditor/tools/header/index.js +731 -0
  135. package/components/RichTextEditor/tools/header/styles.scss +48 -0
  136. package/components/RichTextEditor/tools/image/index.d.ts +97 -0
  137. package/components/RichTextEditor/tools/image/index.js +257 -0
  138. package/components/RichTextEditor/tools/image/styles.scss +90 -0
  139. package/components/RichTextEditor/tools/image/svgs.d.ts +6 -0
  140. package/components/RichTextEditor/tools/image/svgs.js +5 -0
  141. package/components/RichTextEditor/tools/image/tunes.d.ts +58 -0
  142. package/components/RichTextEditor/tools/image/tunes.js +134 -0
  143. package/components/RichTextEditor/tools/image/ui.d.ts +111 -0
  144. package/components/RichTextEditor/tools/image/ui.js +281 -0
  145. package/components/RichTextEditor/tools/paragraph/index.d.ts +211 -0
  146. package/components/RichTextEditor/tools/paragraph/index.js +520 -0
  147. package/components/RichTextEditor/tools/paragraph/styles.scss +29 -0
  148. package/components/RichTextEditor/tools/textColor/index.d.ts +58 -0
  149. package/components/RichTextEditor/tools/textColor/index.js +232 -0
  150. package/components/RichTextEditor/tools/textColor/styles.scss +21 -0
  151. package/components/RichTextEditor/tools/utils.d.ts +19 -0
  152. package/components/RichTextEditor/tools/utils.js +24 -0
  153. package/components/SearchUI.d.ts +8 -0
  154. package/components/SearchUI.js +59 -0
  155. package/components/SimpleForm/SimpleForm.d.ts +21 -0
  156. package/components/SimpleForm/SimpleForm.js +75 -0
  157. package/components/SimpleForm/index.d.ts +1 -0
  158. package/components/SimpleForm/index.js +1 -0
  159. package/components/SimpleUI/InputField.d.ts +9 -0
  160. package/components/SimpleUI/InputField.js +97 -0
  161. package/components/SingleImageUpload.d.ts +25 -0
  162. package/components/SingleImageUpload.js +102 -0
  163. package/components/SplitView/SplitView.d.ts +10 -0
  164. package/components/SplitView/SplitView.js +76 -0
  165. package/components/SplitView/index.d.ts +1 -0
  166. package/components/SplitView/index.js +1 -0
  167. package/components/index.d.ts +1 -0
  168. package/components/index.js +1 -0
  169. package/hooks/useConfirmationDialog.d.ts +10 -0
  170. package/hooks/useConfirmationDialog.js +47 -0
  171. package/hooks/useDialog.d.ts +5 -0
  172. package/hooks/useDialog.js +27 -0
  173. package/hooks/useSnackbar.d.ts +4 -0
  174. package/hooks/useSnackbar.js +25 -0
  175. package/package.json +101 -0
  176. package/plugins/FileManagerFileTypePlugin.d.ts +33 -0
  177. package/plugins/FileManagerFileTypePlugin.js +46 -0
  178. package/plugins/MenuPlugin.d.ts +20 -0
  179. package/plugins/MenuPlugin.js +41 -0
  180. package/plugins/PermissionRendererPlugin.d.ts +22 -0
  181. package/plugins/PermissionRendererPlugin.js +41 -0
  182. package/plugins/fileManager/fileDefault.d.ts +3 -0
  183. package/plugins/fileManager/fileDefault.js +20 -0
  184. package/plugins/fileManager/fileImage/DeleteAction.d.ts +3 -0
  185. package/plugins/fileManager/fileImage/DeleteAction.js +62 -0
  186. package/plugins/fileManager/fileImage/EditAction.d.ts +9 -0
  187. package/plugins/fileManager/fileImage/EditAction.js +143 -0
  188. package/plugins/fileManager/fileImage/index.d.ts +3 -0
  189. package/plugins/fileManager/fileImage/index.js +29 -0
  190. package/plugins/fileManager/icons/edit.svg +17 -0
  191. package/plugins/fileManager/icons/round-description-24px.svg +1 -0
  192. package/plugins/fileManager/index.d.ts +2 -0
  193. package/plugins/fileManager/index.js +3 -0
  194. package/plugins/globalSearch/SearchBar.d.ts +3 -0
  195. package/plugins/globalSearch/SearchBar.js +241 -0
  196. package/plugins/globalSearch/SearchBarDropdown.d.ts +5 -0
  197. package/plugins/globalSearch/SearchBarDropdown.js +82 -0
  198. package/plugins/globalSearch/icons/round-search-24px.svg +20 -0
  199. package/plugins/globalSearch/index.d.ts +8 -0
  200. package/plugins/globalSearch/index.js +30 -0
  201. package/plugins/globalSearch/styled.d.ts +9 -0
  202. package/plugins/globalSearch/styled.js +115 -0
  203. package/plugins/index.d.ts +6 -0
  204. package/plugins/index.js +8 -0
  205. package/plugins/logo/Logo.d.ts +22 -0
  206. package/plugins/logo/Logo.js +108 -0
  207. package/plugins/logo/index.d.ts +5 -0
  208. package/plugins/logo/index.js +32 -0
  209. package/plugins/menu/documentation.d.ts +4 -0
  210. package/plugins/menu/documentation.js +16 -0
  211. package/plugins/menu/fileManager.d.ts +4 -0
  212. package/plugins/menu/fileManager.js +64 -0
  213. package/plugins/menu/index.d.ts +6 -0
  214. package/plugins/menu/index.js +24 -0
  215. package/plugins/menu/renderers/MenuGroupRenderer.d.ts +7 -0
  216. package/plugins/menu/renderers/MenuGroupRenderer.js +126 -0
  217. package/plugins/menu/renderers/MenuLinkRenderer.d.ts +7 -0
  218. package/plugins/menu/renderers/MenuLinkRenderer.js +52 -0
  219. package/plugins/menu/renderers/MenuSectionItemRenderer.d.ts +7 -0
  220. package/plugins/menu/renderers/MenuSectionItemRenderer.js +77 -0
  221. package/plugins/menu/renderers/MenuSectionRenderer.d.ts +7 -0
  222. package/plugins/menu/renderers/MenuSectionRenderer.js +51 -0
  223. package/plugins/menu/slack.d.ts +4 -0
  224. package/plugins/menu/slack.js +16 -0
  225. package/plugins/menu/source.d.ts +4 -0
  226. package/plugins/menu/source.js +16 -0
  227. package/plugins/uiLayoutRenderer/index.d.ts +3 -0
  228. package/plugins/uiLayoutRenderer/index.js +63 -0
  229. package/plugins/userMenu/UserMenuElement.d.ts +7 -0
  230. package/plugins/userMenu/UserMenuElement.js +43 -0
  231. package/plugins/userMenu/UserMenuRenderer.d.ts +6 -0
  232. package/plugins/userMenu/UserMenuRenderer.js +47 -0
  233. package/plugins/userMenu/index.d.ts +4 -0
  234. package/plugins/userMenu/index.js +16 -0
  235. package/styles/material-theme-assignments.scss +333 -0
  236. package/styles/material.scss +74 -0
  237. package/styles/theme.scss +43 -0
  238. package/styles.scss +2 -0
  239. package/types.d.ts +100 -0
  240. package/types.js +1 -0
  241. package/ui/UIElement.d.ts +2 -0
  242. package/ui/UIElement.js +1 -0
  243. package/ui/UILayout.d.ts +1 -0
  244. package/ui/UILayout.js +1 -0
  245. package/ui/UIRenderer.d.ts +2 -0
  246. package/ui/UIRenderer.js +1 -0
  247. package/ui/UIView.d.ts +2 -0
  248. package/ui/UIView.js +1 -0
  249. package/ui/elements/AccordionElement.d.ts +27 -0
  250. package/ui/elements/AccordionElement.js +86 -0
  251. package/ui/elements/ButtonElement.d.ts +24 -0
  252. package/ui/elements/ButtonElement.js +78 -0
  253. package/ui/elements/ButtonGroupElement.d.ts +6 -0
  254. package/ui/elements/ButtonGroupElement.js +48 -0
  255. package/ui/elements/GenericElement.d.ts +1 -0
  256. package/ui/elements/GenericElement.js +1 -0
  257. package/ui/elements/LabelElement.d.ts +16 -0
  258. package/ui/elements/LabelElement.js +47 -0
  259. package/ui/elements/NavigationMenuElement.d.ts +32 -0
  260. package/ui/elements/NavigationMenuElement.js +158 -0
  261. package/ui/elements/PanelElement.d.ts +3 -0
  262. package/ui/elements/PanelElement.js +17 -0
  263. package/ui/elements/PlaceholderElement.d.ts +5 -0
  264. package/ui/elements/PlaceholderElement.js +30 -0
  265. package/ui/elements/SmallButtonElement.d.ts +6 -0
  266. package/ui/elements/SmallButtonElement.js +47 -0
  267. package/ui/elements/TypographyElement.d.ts +13 -0
  268. package/ui/elements/TypographyElement.js +49 -0
  269. package/ui/elements/ViewElement.d.ts +1 -0
  270. package/ui/elements/ViewElement.js +1 -0
  271. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.d.ts +6 -0
  272. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js +44 -0
  273. package/ui/elements/form/DynamicFieldsetElement.d.ts +42 -0
  274. package/ui/elements/form/DynamicFieldsetElement.js +127 -0
  275. package/ui/elements/form/FileManagerElement/EmptyStateElement.d.ts +4 -0
  276. package/ui/elements/form/FileManagerElement/EmptyStateElement.js +24 -0
  277. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.d.ts +7 -0
  278. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +72 -0
  279. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.d.ts +13 -0
  280. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js +95 -0
  281. package/ui/elements/form/FileManagerElement/styled.d.ts +14 -0
  282. package/ui/elements/form/FileManagerElement/styled.js +106 -0
  283. package/ui/elements/form/FileManagerElement.d.ts +24 -0
  284. package/ui/elements/form/FileManagerElement.js +91 -0
  285. package/ui/elements/form/FormElement.d.ts +21 -0
  286. package/ui/elements/form/FormElement.js +45 -0
  287. package/ui/elements/form/FormFieldElement.d.ts +55 -0
  288. package/ui/elements/form/FormFieldElement.js +183 -0
  289. package/ui/elements/form/HiddenElement.d.ts +6 -0
  290. package/ui/elements/form/HiddenElement.js +49 -0
  291. package/ui/elements/form/InputElement.d.ts +6 -0
  292. package/ui/elements/form/InputElement.js +55 -0
  293. package/ui/elements/form/PasswordElement.d.ts +6 -0
  294. package/ui/elements/form/PasswordElement.js +50 -0
  295. package/ui/elements/form/README.md +2 -0
  296. package/ui/elements/form/SelectElement.d.ts +15 -0
  297. package/ui/elements/form/SelectElement.js +71 -0
  298. package/ui/elements/form/TextareaElement.d.ts +15 -0
  299. package/ui/elements/form/TextareaElement.js +56 -0
  300. package/ui/views/AdminView/ContentElement.d.ts +4 -0
  301. package/ui/views/AdminView/ContentElement.js +62 -0
  302. package/ui/views/AdminView/HeaderElement.d.ts +13 -0
  303. package/ui/views/AdminView/HeaderElement.js +111 -0
  304. package/ui/views/AdminView/HeaderSectionCenterElement.d.ts +6 -0
  305. package/ui/views/AdminView/HeaderSectionCenterElement.js +42 -0
  306. package/ui/views/AdminView/HeaderSectionLeftElement.d.ts +6 -0
  307. package/ui/views/AdminView/HeaderSectionLeftElement.js +42 -0
  308. package/ui/views/AdminView/HeaderSectionRightElement.d.ts +6 -0
  309. package/ui/views/AdminView/HeaderSectionRightElement.js +42 -0
  310. package/ui/views/AdminView/components/Dialog.d.ts +2 -0
  311. package/ui/views/AdminView/components/Dialog.js +40 -0
  312. package/ui/views/AdminView/components/Hamburger.d.ts +3 -0
  313. package/ui/views/AdminView/components/Hamburger.js +25 -0
  314. package/ui/views/AdminView/components/Snackbar.d.ts +3 -0
  315. package/ui/views/AdminView/components/Snackbar.js +28 -0
  316. package/ui/views/AdminView.d.ts +12 -0
  317. package/ui/views/AdminView.js +90 -0
  318. package/ui/views/FormView/FormContainerElement.d.ts +12 -0
  319. package/ui/views/FormView/FormContainerElement.js +51 -0
  320. package/ui/views/FormView/FormContentElement.d.ts +3 -0
  321. package/ui/views/FormView/FormContentElement.js +17 -0
  322. package/ui/views/FormView/FormFooterElement.d.ts +6 -0
  323. package/ui/views/FormView/FormFooterElement.js +49 -0
  324. package/ui/views/FormView/FormHeaderElement.d.ts +14 -0
  325. package/ui/views/FormView/FormHeaderElement.js +81 -0
  326. package/ui/views/FormView.d.ts +40 -0
  327. package/ui/views/FormView.js +160 -0
  328. package/ui/views/NavigationView/ContentElement.d.ts +10 -0
  329. package/ui/views/NavigationView/ContentElement.js +86 -0
  330. package/ui/views/NavigationView/FooterElement.d.ts +13 -0
  331. package/ui/views/NavigationView/FooterElement.js +57 -0
  332. package/ui/views/NavigationView/HeaderElement.d.ts +16 -0
  333. package/ui/views/NavigationView/HeaderElement.js +66 -0
  334. package/ui/views/NavigationView/NavigationViewRenderer.d.ts +6 -0
  335. package/ui/views/NavigationView/NavigationViewRenderer.js +38 -0
  336. package/ui/views/NavigationView/Styled.d.ts +7 -0
  337. package/ui/views/NavigationView/Styled.js +47 -0
  338. package/ui/views/NavigationView/legacyMenu.d.ts +22 -0
  339. package/ui/views/NavigationView/legacyMenu.js +1 -0
  340. package/ui/views/NavigationView/useNavigation.d.ts +6 -0
  341. package/ui/views/NavigationView/useNavigation.js +22 -0
  342. package/ui/views/NavigationView.d.ts +26 -0
  343. package/ui/views/NavigationView.js +204 -0
  344. package/ui/views/OverlayView/ContentElement.d.ts +6 -0
  345. package/ui/views/OverlayView/ContentElement.js +42 -0
  346. package/ui/views/OverlayView/HeaderElement.d.ts +24 -0
  347. package/ui/views/OverlayView/HeaderElement.js +115 -0
  348. package/ui/views/OverlayView/HeaderTitleElement.d.ts +13 -0
  349. package/ui/views/OverlayView/HeaderTitleElement.js +54 -0
  350. package/ui/views/OverlayView/useOverlayView.d.ts +6 -0
  351. package/ui/views/OverlayView/useOverlayView.js +38 -0
  352. package/ui/views/OverlayView.d.ts +31 -0
  353. package/ui/views/OverlayView.js +176 -0
  354. package/ui/views/SplitView/SplitViewPanelElement.d.ts +11 -0
  355. package/ui/views/SplitView/SplitViewPanelElement.js +72 -0
  356. package/ui/views/SplitView.d.ts +21 -0
  357. package/ui/views/SplitView.js +142 -0
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { NavigationMenuElement } from "../../elements/NavigationMenuElement";
3
+ export declare type MenuProps = {
4
+ name: string;
5
+ label: React.ReactNode;
6
+ icon: React.ReactElement;
7
+ children: React.ReactNode;
8
+ onClick?: (toggleSection: () => void) => void;
9
+ };
10
+ export interface SectionProps {
11
+ parent?: NavigationMenuElement;
12
+ label: React.ReactNode;
13
+ children: React.ReactNode;
14
+ icon?: React.ReactElement;
15
+ }
16
+ export interface ItemProps {
17
+ parent?: NavigationMenuElement;
18
+ label: React.ReactNode;
19
+ path: string;
20
+ style?: React.CSSProperties;
21
+ onClick?: () => any;
22
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export declare type UseNavigation = ReturnType<typeof useNavigation>;
2
+ export declare function useNavigation(): {
3
+ showMenu: () => void;
4
+ hideMenu: () => void;
5
+ menuIsShown(): boolean;
6
+ };
@@ -0,0 +1,22 @@
1
+ import _get from "lodash/get";
2
+ import { useUi } from "@webiny/app/hooks/useUi";
3
+ import { set } from "dot-prop-immutable";
4
+ export function useNavigation() {
5
+ var ui = useUi();
6
+ var hook = {
7
+ showMenu: function showMenu() {
8
+ ui.setState(function (ui) {
9
+ return set(ui, "appsMenu.show", true);
10
+ });
11
+ },
12
+ hideMenu: function hideMenu() {
13
+ ui.setState(function (ui) {
14
+ return set(ui, "appsMenu.show", false);
15
+ });
16
+ },
17
+ menuIsShown: function menuIsShown() {
18
+ return _get(ui, "appsMenu.show", false);
19
+ }
20
+ };
21
+ return hook;
22
+ }
@@ -0,0 +1,26 @@
1
+ import { UIView } from "../UIView";
2
+ import { UseSecurity } from "@webiny/app-security";
3
+ import { HeaderElement } from "./NavigationView/HeaderElement";
4
+ import { ContentElement } from "./NavigationView/ContentElement";
5
+ import { FooterElement } from "./NavigationView/FooterElement";
6
+ import { UseNavigation } from "./NavigationView/useNavigation";
7
+ import { NavigationMenuElement } from "../elements/NavigationMenuElement";
8
+ export declare enum ElementID {
9
+ Header = "navigationHeader",
10
+ Content = "navigationContent",
11
+ Footer = "navigationFooter",
12
+ SettingsMenu = "menu.settings"
13
+ }
14
+ export declare class NavigationView extends UIView {
15
+ constructor();
16
+ addAppMenuElement(element: NavigationMenuElement): NavigationMenuElement<import("../elements/NavigationMenuElement").NavigationMenuElementConfig>;
17
+ addUtilityMenuElement(element: NavigationMenuElement): NavigationMenuElement<import("../elements/NavigationMenuElement").NavigationMenuElementConfig>;
18
+ addSettingsMenuElement(element: NavigationMenuElement): NavigationMenuElement<import("../elements/NavigationMenuElement").NavigationMenuElementConfig>;
19
+ getNavigationHook(): UseNavigation;
20
+ getSecurityHook(): UseSecurity;
21
+ getHeaderElement(): HeaderElement;
22
+ getContentElement(): ContentElement;
23
+ getFooterElement(): FooterElement;
24
+ getSettingsMenuElement(): NavigationMenuElement;
25
+ private setupLegacyMenuPlugins;
26
+ }
@@ -0,0 +1,204 @@
1
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
2
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
+ import _createClass from "@babel/runtime/helpers/createClass";
4
+ import _inherits from "@babel/runtime/helpers/inherits";
5
+ import _createSuper from "@babel/runtime/helpers/createSuper";
6
+ var _excluded = ["parent"],
7
+ _excluded2 = ["parent"];
8
+ import React, { Fragment } from "react";
9
+ import sortBy from "lodash/sortBy";
10
+ import { nanoid } from "nanoid";
11
+ import { UIView } from "../UIView";
12
+ import { plugins } from "@webiny/plugins";
13
+ import { GenericElement } from "../elements/GenericElement";
14
+ import { useSecurity } from "@webiny/app-security";
15
+ import { HeaderElement } from "./NavigationView/HeaderElement";
16
+ import { ContentElement } from "./NavigationView/ContentElement";
17
+ import { FooterElement } from "./NavigationView/FooterElement";
18
+ import { useNavigation } from "./NavigationView/useNavigation";
19
+ import { NavigationMenuElement, TAGS } from "../elements/NavigationMenuElement";
20
+ import { ReactComponent as SettingsIcon } from "@svgr/webpack!../../assets/icons/round-settings-24px.svg";
21
+ import { NavigationViewRenderer } from "./NavigationView/NavigationViewRenderer";
22
+ export var ElementID;
23
+
24
+ (function (ElementID) {
25
+ ElementID["Header"] = "navigationHeader";
26
+ ElementID["Content"] = "navigationContent";
27
+ ElementID["Footer"] = "navigationFooter";
28
+ ElementID["SettingsMenu"] = "menu.settings";
29
+ })(ElementID || (ElementID = {}));
30
+
31
+ export var NavigationView = /*#__PURE__*/function (_UIView) {
32
+ _inherits(NavigationView, _UIView);
33
+
34
+ var _super = _createSuper(NavigationView);
35
+
36
+ function NavigationView() {
37
+ var _this;
38
+
39
+ _classCallCheck(this, NavigationView);
40
+
41
+ _this = _super.call(this, "NavigationView");
42
+
43
+ _this.useGrid(false);
44
+
45
+ _this.addHookDefinition("navigation", useNavigation);
46
+
47
+ _this.addHookDefinition("security", useSecurity);
48
+
49
+ var elementConfig = {
50
+ closeMenu: function closeMenu() {
51
+ return _this.getHook("navigation").hideMenu();
52
+ }
53
+ };
54
+
55
+ _this.addElement(new HeaderElement(ElementID.Header, elementConfig));
56
+
57
+ _this.addElement(new ContentElement(ElementID.Content));
58
+
59
+ _this.addElement(new FooterElement(ElementID.Footer, elementConfig));
60
+
61
+ _this.addUtilityMenuElement(new NavigationMenuElement(ElementID.SettingsMenu, {
62
+ label: "Settings",
63
+ icon: /*#__PURE__*/React.createElement(SettingsIcon, null)
64
+ })); // Load legacy plugins and convert them into elements
65
+
66
+
67
+ _this.setupLegacyMenuPlugins();
68
+
69
+ _this.addRenderer(new NavigationViewRenderer());
70
+
71
+ _this.applyPlugins(NavigationView);
72
+
73
+ return _this;
74
+ }
75
+
76
+ _createClass(NavigationView, [{
77
+ key: "addAppMenuElement",
78
+ value: function addAppMenuElement(element) {
79
+ element.addTag(TAGS.APP);
80
+ return this.getContentElement().addElement(element);
81
+ }
82
+ }, {
83
+ key: "addUtilityMenuElement",
84
+ value: function addUtilityMenuElement(element) {
85
+ element.addTag(TAGS.UTILS);
86
+ return this.getContentElement().addElement(element);
87
+ }
88
+ }, {
89
+ key: "addSettingsMenuElement",
90
+ value: function addSettingsMenuElement(element) {
91
+ return this.getSettingsMenuElement().addElement(element);
92
+ }
93
+ }, {
94
+ key: "getNavigationHook",
95
+ value: function getNavigationHook() {
96
+ return this.getHook("navigation");
97
+ }
98
+ }, {
99
+ key: "getSecurityHook",
100
+ value: function getSecurityHook() {
101
+ return this.getHook("security");
102
+ }
103
+ }, {
104
+ key: "getHeaderElement",
105
+ value: function getHeaderElement() {
106
+ return this.getElement(ElementID.Header);
107
+ }
108
+ }, {
109
+ key: "getContentElement",
110
+ value: function getContentElement() {
111
+ return this.getElement(ElementID.Content);
112
+ }
113
+ }, {
114
+ key: "getFooterElement",
115
+ value: function getFooterElement() {
116
+ return this.getElement(ElementID.Footer);
117
+ }
118
+ }, {
119
+ key: "getSettingsMenuElement",
120
+ value: function getSettingsMenuElement() {
121
+ return this.getElement(ElementID.SettingsMenu);
122
+ }
123
+ }, {
124
+ key: "setupLegacyMenuPlugins",
125
+ value: function setupLegacyMenuPlugins() {
126
+ var _this2 = this;
127
+
128
+ // IMPORTANT! The following piece of code is for BACKWARDS COMPATIBILITY purposes only!
129
+ var menuPlugins = plugins.byType("admin-menu");
130
+
131
+ if (!menuPlugins) {
132
+ return;
133
+ }
134
+
135
+ var legacyMenu = new GenericElement("legacy-menu");
136
+
137
+ var Menu = function Menu(props) {
138
+ var menuItem = _this2.addAppMenuElement(new NavigationMenuElement("navigation.content.".concat(props.name), {
139
+ label: props.label,
140
+ icon: props.icon
141
+ }));
142
+
143
+ return /*#__PURE__*/React.createElement(Fragment, null, React.Children.map(props.children, function (child) {
144
+ if (! /*#__PURE__*/React.isValidElement(child)) {
145
+ return child;
146
+ }
147
+
148
+ return /*#__PURE__*/React.cloneElement(child, {
149
+ parent: menuItem
150
+ });
151
+ }));
152
+ };
153
+
154
+ var Section = function Section(_ref) {
155
+ var parent = _ref.parent,
156
+ props = _objectWithoutProperties(_ref, _excluded);
157
+
158
+ var sectionMenu = parent.addElement(new NavigationMenuElement(nanoid(), {
159
+ label: props.label
160
+ }));
161
+ return /*#__PURE__*/React.createElement(Fragment, null, React.Children.map(props.children, function (child) {
162
+ if (! /*#__PURE__*/React.isValidElement(child)) {
163
+ return child;
164
+ }
165
+
166
+ return /*#__PURE__*/React.cloneElement(child, {
167
+ parent: sectionMenu
168
+ });
169
+ }));
170
+ };
171
+
172
+ var Item = function Item(_ref2) {
173
+ var parent = _ref2.parent,
174
+ props = _objectWithoutProperties(_ref2, _excluded2);
175
+
176
+ parent.addElement(new NavigationMenuElement(nanoid(), {
177
+ label: props.label,
178
+ path: props.path
179
+ }));
180
+ return null;
181
+ };
182
+
183
+ sortBy(menuPlugins, [function (p) {
184
+ return p.order || 50;
185
+ }, function (p) {
186
+ return p.name;
187
+ }]).forEach(function (plugin) {
188
+ legacyMenu.addElement(new GenericElement(plugin.name, function () {
189
+ return plugin.render({
190
+ Menu: Menu,
191
+ Section: Section,
192
+ Item: Item
193
+ });
194
+ }));
195
+ });
196
+ this.addElement(legacyMenu);
197
+ setTimeout(function () {
198
+ legacyMenu.remove();
199
+ }, 100);
200
+ }
201
+ }]);
202
+
203
+ return NavigationView;
204
+ }(UIView);
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { UIElement } from "../../UIElement";
3
+ export declare class ContentElement extends UIElement {
4
+ constructor(id: string);
5
+ render(props: any): React.ReactNode;
6
+ }
@@ -0,0 +1,42 @@
1
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
+ import _createClass from "@babel/runtime/helpers/createClass";
3
+ import _get from "@babel/runtime/helpers/get";
4
+ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
5
+ import _inherits from "@babel/runtime/helpers/inherits";
6
+ import _createSuper from "@babel/runtime/helpers/createSuper";
7
+ import React from "react";
8
+ import styled from "@emotion/styled";
9
+ import { UIElement } from "../../UIElement";
10
+ var ContentWrapper = /*#__PURE__*/styled("div", {
11
+ target: "exqtwog0",
12
+ label: "ContentWrapper"
13
+ })({
14
+ width: "100%",
15
+ paddingTop: 65
16
+ });
17
+ export var ContentElement = /*#__PURE__*/function (_UIElement) {
18
+ _inherits(ContentElement, _UIElement);
19
+
20
+ var _super = _createSuper(ContentElement);
21
+
22
+ function ContentElement(id) {
23
+ var _this;
24
+
25
+ _classCallCheck(this, ContentElement);
26
+
27
+ _this = _super.call(this, id);
28
+
29
+ _this.useGrid(false);
30
+
31
+ return _this;
32
+ }
33
+
34
+ _createClass(ContentElement, [{
35
+ key: "render",
36
+ value: function render(props) {
37
+ return /*#__PURE__*/React.createElement(ContentWrapper, null, _get(_getPrototypeOf(ContentElement.prototype), "render", this).call(this, props));
38
+ }
39
+ }]);
40
+
41
+ return ContentElement;
42
+ }(UIElement);
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import { UIElement, UIElementConfig } from "../../UIElement";
3
+ interface HeaderElementConfig extends UIElementConfig {
4
+ onClose: (event: React.MouseEvent) => void;
5
+ getTitle?: GetterWithoutProps<string>;
6
+ }
7
+ interface GetterWithoutProps<T> {
8
+ (): T;
9
+ }
10
+ export declare class HeaderElement extends UIElement<HeaderElementConfig> {
11
+ private _leftSection;
12
+ private _centerSection;
13
+ private _rightSection;
14
+ constructor(id: string, config: HeaderElementConfig);
15
+ setTitle(title: GetterWithoutProps<string>): void;
16
+ setLeftSectionElement(element: UIElement): void;
17
+ setCenterSectionElement(element: UIElement): void;
18
+ setRightSectionElement(element: UIElement): void;
19
+ getLeftSectionElement(): UIElement<UIElementConfig<any>>;
20
+ getCenterSectionElement(): UIElement<UIElementConfig<any>>;
21
+ getRightSectionElement(): UIElement<UIElementConfig<any>>;
22
+ render(props: any): React.ReactNode;
23
+ }
24
+ export {};
@@ -0,0 +1,115 @@
1
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
+ import _createClass from "@babel/runtime/helpers/createClass";
3
+ import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
4
+ import _inherits from "@babel/runtime/helpers/inherits";
5
+ import _createSuper from "@babel/runtime/helpers/createSuper";
6
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
+ import React from "react";
8
+ import { css } from "emotion";
9
+ import { UIElement } from "../../UIElement";
10
+ import { TopAppBarSecondary, TopAppBarSection } from "@webiny/ui/TopAppBar";
11
+ import { IconButton } from "@webiny/ui/Button";
12
+ import { ReactComponent as CloseIcon } from "@svgr/webpack!../../../components/OverlayLayout/icons/close.svg";
13
+ import { PlaceholderElement } from "../../elements/PlaceholderElement";
14
+ import { HeaderTitleElement } from "./HeaderTitleElement";
15
+ var width = /*#__PURE__*/css({
16
+ width: "33%"
17
+ }, "label:width;"); // !GOOD FIRST ISSUE!
18
+ // Extract rendering and styling into a HeaderElementRenderer class.
19
+
20
+ export var HeaderElement = /*#__PURE__*/function (_UIElement) {
21
+ _inherits(HeaderElement, _UIElement);
22
+
23
+ var _super = _createSuper(HeaderElement);
24
+
25
+ function HeaderElement(id, config) {
26
+ var _this;
27
+
28
+ _classCallCheck(this, HeaderElement);
29
+
30
+ _this = _super.call(this, id, config);
31
+
32
+ _defineProperty(_assertThisInitialized(_this), "_leftSection", new PlaceholderElement("leftSection"));
33
+
34
+ _defineProperty(_assertThisInitialized(_this), "_centerSection", void 0);
35
+
36
+ _defineProperty(_assertThisInitialized(_this), "_rightSection", new PlaceholderElement("rightSection"));
37
+
38
+ _this._centerSection = new HeaderTitleElement("title", {
39
+ title: function title() {
40
+ return typeof _this.config.getTitle === "function" ? _this.config.getTitle() : null;
41
+ }
42
+ });
43
+
44
+ _this.useGrid(false);
45
+
46
+ return _this;
47
+ }
48
+
49
+ _createClass(HeaderElement, [{
50
+ key: "setTitle",
51
+ value: function setTitle(title) {
52
+ this.config.getTitle = title;
53
+ }
54
+ }, {
55
+ key: "setLeftSectionElement",
56
+ value: function setLeftSectionElement(element) {
57
+ this._leftSection = element;
58
+ }
59
+ }, {
60
+ key: "setCenterSectionElement",
61
+ value: function setCenterSectionElement(element) {
62
+ this._centerSection = element;
63
+ }
64
+ }, {
65
+ key: "setRightSectionElement",
66
+ value: function setRightSectionElement(element) {
67
+ this._rightSection = element;
68
+ }
69
+ }, {
70
+ key: "getLeftSectionElement",
71
+ value: function getLeftSectionElement() {
72
+ return this._leftSection;
73
+ }
74
+ }, {
75
+ key: "getCenterSectionElement",
76
+ value: function getCenterSectionElement() {
77
+ return this._centerSection;
78
+ }
79
+ }, {
80
+ key: "getRightSectionElement",
81
+ value: function getRightSectionElement() {
82
+ return this._rightSection;
83
+ }
84
+ }, {
85
+ key: "render",
86
+ value: function render(props) {
87
+ return /*#__PURE__*/React.createElement(TopAppBarSecondary, {
88
+ fixed: true,
89
+ style: {
90
+ top: 0
91
+ }
92
+ }, /*#__PURE__*/React.createElement(TopAppBarSection, {
93
+ className: width,
94
+ alignStart: true
95
+ }, this.getLeftSectionElement().render(props)), /*#__PURE__*/React.createElement(TopAppBarSection, {
96
+ className: width,
97
+ alignEnd: true
98
+ }, this.getCenterSectionElement().render(props)), /*#__PURE__*/React.createElement(TopAppBarSection, {
99
+ className: width,
100
+ alignEnd: true
101
+ }, this.getRightSectionElement().render(props), /*#__PURE__*/React.createElement(IconButton, {
102
+ ripple: false,
103
+ onClick: this.config.onClose,
104
+ icon: /*#__PURE__*/React.createElement(CloseIcon, {
105
+ style: {
106
+ width: 24,
107
+ height: 24
108
+ }
109
+ })
110
+ })));
111
+ }
112
+ }]);
113
+
114
+ return HeaderElement;
115
+ }(UIElement);
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { UIElement, UIElementConfig } from "../../UIElement";
3
+ import { UIRenderer, UIRenderParams } from "../../UIRenderer";
4
+ interface HeaderTitleElementConfig extends UIElementConfig {
5
+ title: () => string;
6
+ }
7
+ export declare class HeaderTitleElementRenderer extends UIRenderer<HeaderTitleElement> {
8
+ render({ element }: UIRenderParams<HeaderTitleElement>): React.ReactNode;
9
+ }
10
+ export declare class HeaderTitleElement extends UIElement<HeaderTitleElementConfig> {
11
+ constructor(id: string, config: HeaderTitleElementConfig);
12
+ }
13
+ export {};
@@ -0,0 +1,54 @@
1
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
+ import _createClass from "@babel/runtime/helpers/createClass";
3
+ import _inherits from "@babel/runtime/helpers/inherits";
4
+ import _createSuper from "@babel/runtime/helpers/createSuper";
5
+ import React from "react";
6
+ import { UIElement } from "../../UIElement";
7
+ import { Typography } from "@webiny/ui/Typography";
8
+ import { UIRenderer } from "../../UIRenderer";
9
+ export var HeaderTitleElementRenderer = /*#__PURE__*/function (_UIRenderer) {
10
+ _inherits(HeaderTitleElementRenderer, _UIRenderer);
11
+
12
+ var _super = _createSuper(HeaderTitleElementRenderer);
13
+
14
+ function HeaderTitleElementRenderer() {
15
+ _classCallCheck(this, HeaderTitleElementRenderer);
16
+
17
+ return _super.apply(this, arguments);
18
+ }
19
+
20
+ _createClass(HeaderTitleElementRenderer, [{
21
+ key: "render",
22
+ value: function render(_ref) {
23
+ var element = _ref.element;
24
+ return /*#__PURE__*/React.createElement(Typography, {
25
+ style: {
26
+ margin: "0 auto",
27
+ color: "var(--mdc-theme-on-surface)"
28
+ },
29
+ use: "headline6"
30
+ }, element.config.title());
31
+ }
32
+ }]);
33
+
34
+ return HeaderTitleElementRenderer;
35
+ }(UIRenderer);
36
+ export var HeaderTitleElement = /*#__PURE__*/function (_UIElement) {
37
+ _inherits(HeaderTitleElement, _UIElement);
38
+
39
+ var _super2 = _createSuper(HeaderTitleElement);
40
+
41
+ function HeaderTitleElement(id, config) {
42
+ var _this;
43
+
44
+ _classCallCheck(this, HeaderTitleElement);
45
+
46
+ _this = _super2.call(this, id, config);
47
+
48
+ _this.addRenderer(new HeaderTitleElementRenderer());
49
+
50
+ return _this;
51
+ }
52
+
53
+ return HeaderTitleElement;
54
+ }(UIElement);
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare type UseOverlayView = ReturnType<typeof useOverlayView>;
3
+ export declare function useOverlayView(): {
4
+ isVisible: boolean;
5
+ setIsVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
6
+ };
@@ -0,0 +1,38 @@
1
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
+ import { useEffect, useState } from "react";
3
+ import { css } from "emotion";
4
+ import { OverlayView } from "../OverlayView";
5
+ var noScroll = /*#__PURE__*/css({
6
+ overflow: "hidden",
7
+ height: "100vh"
8
+ }, "label:noScroll;");
9
+ export function useOverlayView() {
10
+ var _useState = useState(false),
11
+ _useState2 = _slicedToArray(_useState, 2),
12
+ isVisible = _useState2[0],
13
+ setIsVisible = _useState2[1];
14
+
15
+ useEffect(function () {
16
+ if (isVisible) {
17
+ OverlayView.openedViews++;
18
+ document.body.classList.add(noScroll);
19
+ } else if (!OverlayView.openedViews) {
20
+ document.body.classList.remove(noScroll);
21
+ }
22
+ }, [isVisible]);
23
+ useEffect(function () {
24
+ return function () {
25
+ if (OverlayView.openedViews > 0) {
26
+ OverlayView.openedViews--;
27
+ }
28
+
29
+ if (!OverlayView.openedViews) {
30
+ document.body.classList.remove(noScroll);
31
+ }
32
+ };
33
+ }, []);
34
+ return {
35
+ isVisible: isVisible,
36
+ setIsVisible: setIsVisible
37
+ };
38
+ }
@@ -0,0 +1,31 @@
1
+ import React from "react";
2
+ import { UIView } from "../UIView";
3
+ import { HeaderElement } from "./OverlayView/HeaderElement";
4
+ import { ContentElement } from "./OverlayView/ContentElement";
5
+ interface OnExited {
6
+ (view: OverlayView): void;
7
+ }
8
+ export declare class OverlayView extends UIView {
9
+ /**
10
+ * This property is used to track the amount of opened overlays. Since we're applying a CSS class to disable
11
+ * window scroll, we must make sure we don't remove that CSS class until all the overlays are closed.
12
+ */
13
+ static openedViews: number;
14
+ private _onEntered;
15
+ private _onExited;
16
+ constructor(id?: string);
17
+ setTitle(title: () => string): void;
18
+ onEntered(): void;
19
+ onExited(): void;
20
+ addOnEntered(cb: OnExited): void;
21
+ addOnExited(cb: OnExited): void;
22
+ getOverlayHook(): {
23
+ isVisible: boolean;
24
+ setIsVisible: React.Dispatch<React.SetStateAction<boolean>>;
25
+ };
26
+ setIsVisible(visible: boolean): void;
27
+ getHeaderElement(): HeaderElement;
28
+ getContentElement(): ContentElement;
29
+ render(props: any): JSX.Element;
30
+ }
31
+ export {};