@webiny/app-admin 6.0.0-alpha.5 → 6.0.0-rc.0

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 (923) hide show
  1. package/README.md +7 -17
  2. package/base/Admin.d.ts +5 -2
  3. package/base/Admin.js +32 -16
  4. package/base/Admin.js.map +1 -1
  5. package/base/Base/LexicalPreset.d.ts +2 -0
  6. package/base/Base/LexicalPreset.js +67 -0
  7. package/base/Base/LexicalPreset.js.map +1 -0
  8. package/base/Base/Menus/SupportMenuItems.d.ts +2 -2
  9. package/base/Base/Menus/SupportMenuItems.js +2 -4
  10. package/base/Base/Menus/SupportMenuItems.js.map +1 -1
  11. package/base/Base/Menus/WebinyVersion.js +4 -4
  12. package/base/Base/Menus/WebinyVersion.js.map +1 -1
  13. package/base/Base/Menus.js +12 -27
  14. package/base/Base/Menus.js.map +1 -1
  15. package/base/Base/RoutesConfig.d.ts +2 -0
  16. package/base/Base/RoutesConfig.js +30 -0
  17. package/base/Base/RoutesConfig.js.map +1 -0
  18. package/base/Base/Tenant/wby-horizontal.svg +23 -0
  19. package/base/Base/Tenant.js +14 -9
  20. package/base/Base/Tenant.js.map +1 -1
  21. package/base/Base/UserMenu/ExitTenant.d.ts +20 -0
  22. package/base/Base/UserMenu/ExitTenant.js +37 -0
  23. package/base/Base/UserMenu/ExitTenant.js.map +1 -0
  24. package/base/Base/UserMenu/SignOut.d.ts +2 -0
  25. package/base/Base/UserMenu/SignOut.js +19 -0
  26. package/base/Base/UserMenu/SignOut.js.map +1 -0
  27. package/base/Base/UserMenu/UserInfo.d.ts +6 -0
  28. package/base/Base/UserMenu/UserInfo.js +43 -0
  29. package/base/Base/UserMenu/UserInfo.js.map +1 -0
  30. package/base/Base/UserMenu.d.ts +2 -0
  31. package/base/Base/UserMenu.js +21 -0
  32. package/base/Base/UserMenu.js.map +1 -0
  33. package/base/Base.js +7 -8
  34. package/base/Base.js.map +1 -1
  35. package/base/TelemetryAdminAppStart.d.ts +1 -0
  36. package/base/TelemetryAdminAppStart.js +19 -0
  37. package/base/TelemetryAdminAppStart.js.map +1 -0
  38. package/base/WebinyVersion.js +4 -4
  39. package/base/WebinyVersion.js.map +1 -1
  40. package/base/createRootContainer.d.ts +2 -0
  41. package/base/createRootContainer.js +55 -0
  42. package/base/createRootContainer.js.map +1 -0
  43. package/base/plugins/AddGraphQLQuerySelection.js +1 -1
  44. package/base/plugins/AddGraphQLQuerySelection.js.map +1 -1
  45. package/base/providers/AdminUiStateProvider.js +1 -1
  46. package/base/providers/AdminUiStateProvider.js.map +1 -1
  47. package/base/providers/ApolloProvider.d.ts +1 -1
  48. package/base/providers/ApolloProvider.js +2 -5
  49. package/base/providers/ApolloProvider.js.map +1 -1
  50. package/base/providers/UiProviders.js +24 -3
  51. package/base/providers/UiProviders.js.map +1 -1
  52. package/base/providers/UiStateProvider.js +1 -1
  53. package/base/providers/UiStateProvider.js.map +1 -1
  54. package/base/ui/CenteredView.d.ts +1 -1
  55. package/base/ui/CenteredView.js +2 -2
  56. package/base/ui/CenteredView.js.map +1 -1
  57. package/base/ui/FileManager.d.ts +9 -21
  58. package/base/ui/FileManager.js +18 -12
  59. package/base/ui/FileManager.js.map +1 -1
  60. package/base/ui/LoginScreen.d.ts +19 -0
  61. package/base/ui/LoginScreen.js +2 -1
  62. package/base/ui/LoginScreen.js.map +1 -1
  63. package/base/ui/Navigation.js +1 -1
  64. package/base/ui/Navigation.js.map +1 -1
  65. package/base/ui/UserMenu/UserMenuItem.d.ts +5 -5
  66. package/base/ui/UserMenu/UserMenuItem.js +1 -1
  67. package/base/ui/UserMenu/UserMenuItem.js.map +1 -1
  68. package/base/ui/UserMenu/UserMenuLink.d.ts +5 -5
  69. package/base/ui/UserMenu/UserMenuLink.js +1 -1
  70. package/base/ui/UserMenu/UserMenuLink.js.map +1 -1
  71. package/base/ui/UserMenu/UserMenuSeparator.d.ts +8 -8
  72. package/base/ui/UserMenu/UserMenuSeparator.js +1 -1
  73. package/base/ui/UserMenu/UserMenuSeparator.js.map +1 -1
  74. package/base/ui/UserMenu.d.ts +3 -3
  75. package/base/ui/UserMenu.js +3 -3
  76. package/base/ui/UserMenu.js.map +1 -1
  77. package/components/AdminLayout.js +1 -1
  78. package/components/AdminLayout.js.map +1 -1
  79. package/components/BulkActions/Worker.d.ts +0 -1
  80. package/components/BulkActions/Worker.js +1 -1
  81. package/components/BulkActions/Worker.js.map +1 -1
  82. package/components/BulkActions/index.d.ts +2 -2
  83. package/components/BulkActions/index.js +2 -2
  84. package/components/BulkActions/index.js.map +1 -1
  85. package/components/BulkActions/useDialogWithReport/DialogMessage.d.ts +1 -1
  86. package/components/BulkActions/useDialogWithReport/DialogMessage.js +2 -2
  87. package/components/BulkActions/useDialogWithReport/DialogMessage.js.map +1 -1
  88. package/components/BulkActions/useDialogWithReport/index.d.ts +1 -1
  89. package/components/BulkActions/useDialogWithReport/index.js +1 -1
  90. package/components/BulkActions/useDialogWithReport/index.js.map +1 -1
  91. package/components/BulkActions/useDialogWithReport/useDialogWithReport.d.ts +1 -1
  92. package/components/BulkActions/useDialogWithReport/useDialogWithReport.js +2 -2
  93. package/components/BulkActions/useDialogWithReport/useDialogWithReport.js.map +1 -1
  94. package/components/Buttons/Buttons.d.ts +1 -1
  95. package/components/Buttons/Buttons.js +4 -4
  96. package/components/Buttons/Buttons.js.map +1 -1
  97. package/components/Buttons/Buttons.styles.d.ts +2 -3
  98. package/components/Buttons/Buttons.styles.js +1 -2
  99. package/components/Buttons/Buttons.styles.js.map +1 -1
  100. package/components/Buttons/index.d.ts +2 -2
  101. package/components/Buttons/index.js +2 -2
  102. package/components/Buttons/index.js.map +1 -1
  103. package/components/Buttons/useButtons.d.ts +1 -1
  104. package/components/Buttons/useButtons.js +1 -1
  105. package/components/Buttons/useButtons.js.map +1 -1
  106. package/components/Dialogs/Dialog.js +2 -2
  107. package/components/Dialogs/Dialog.js.map +1 -1
  108. package/components/Dialogs/DialogsContext.d.ts +1 -6
  109. package/components/Dialogs/DialogsContext.js +14 -23
  110. package/components/Dialogs/DialogsContext.js.map +1 -1
  111. package/components/Dialogs/useDialogs.d.ts +1 -2
  112. package/components/Dialogs/useDialogs.js +1 -2
  113. package/components/Dialogs/useDialogs.js.map +1 -1
  114. package/components/EmptyView.d.ts +1 -2
  115. package/components/EmptyView.js +6 -7
  116. package/components/EmptyView.js.map +1 -1
  117. package/components/Filters/Filters.d.ts +1 -1
  118. package/components/Filters/Filters.js +2 -2
  119. package/components/Filters/Filters.js.map +1 -1
  120. package/components/Filters/index.d.ts +2 -2
  121. package/components/Filters/index.js +2 -2
  122. package/components/Filters/index.js.map +1 -1
  123. package/components/FloatingActionButton.js +1 -1
  124. package/components/FloatingActionButton.js.map +1 -1
  125. package/components/FloatingPanel.js +4 -6
  126. package/components/FloatingPanel.js.map +1 -1
  127. package/components/IconPicker/IconPicker.d.ts +3 -3
  128. package/components/IconPicker/IconPicker.js +6 -6
  129. package/components/IconPicker/IconPicker.js.map +1 -1
  130. package/components/IconPicker/IconPickerComponent.d.ts +3 -3
  131. package/components/IconPicker/IconPickerComponent.js +4 -4
  132. package/components/IconPicker/IconPickerComponent.js.map +1 -1
  133. package/components/IconPicker/IconPickerPresenter.d.ts +3 -3
  134. package/components/IconPicker/IconPickerPresenter.js.map +1 -1
  135. package/components/IconPicker/IconPickerPresenter.test.js +3 -2
  136. package/components/IconPicker/IconPickerPresenter.test.js.map +1 -1
  137. package/components/IconPicker/IconPickerPresenterProvider.d.ts +1 -1
  138. package/components/IconPicker/IconPickerPresenterProvider.js.map +1 -1
  139. package/components/IconPicker/IconPickerTab.d.ts +1 -1
  140. package/components/IconPicker/IconPickerTab.js +10 -10
  141. package/components/IconPicker/IconPickerTab.js.map +1 -1
  142. package/components/IconPicker/IconRenderer.d.ts +1 -1
  143. package/components/IconPicker/IconRenderer.js.map +1 -1
  144. package/components/IconPicker/IconRepository.d.ts +2 -2
  145. package/components/IconPicker/IconRepository.js +2 -2
  146. package/components/IconPicker/IconRepository.js.map +1 -1
  147. package/components/IconPicker/IconRepository.test.js +2 -1
  148. package/components/IconPicker/IconRepository.test.js.map +1 -1
  149. package/components/IconPicker/IconRepositoryFactory.d.ts +2 -2
  150. package/components/IconPicker/IconRepositoryFactory.js +1 -1
  151. package/components/IconPicker/IconRepositoryFactory.js.map +1 -1
  152. package/components/IconPicker/components/IconPickerCell.d.ts +2 -2
  153. package/components/IconPicker/components/IconPickerCell.js +3 -3
  154. package/components/IconPicker/components/IconPickerCell.js.map +1 -1
  155. package/components/IconPicker/components/IconPickerContent.d.ts +1 -1
  156. package/components/IconPicker/components/IconPickerContent.js +4 -4
  157. package/components/IconPicker/components/IconPickerContent.js.map +1 -1
  158. package/components/IconPicker/components/IconPickerRow.js +1 -1
  159. package/components/IconPicker/components/IconPickerRow.js.map +1 -1
  160. package/components/IconPicker/components/IconPickerTrigger.d.ts +1 -1
  161. package/components/IconPicker/components/IconPickerTrigger.js +7 -7
  162. package/components/IconPicker/components/IconPickerTrigger.js.map +1 -1
  163. package/components/IconPicker/components/index.d.ts +4 -4
  164. package/components/IconPicker/components/index.js +4 -4
  165. package/components/IconPicker/components/index.js.map +1 -1
  166. package/components/IconPicker/config/Emojis.js +1 -1
  167. package/components/IconPicker/config/Emojis.js.map +1 -1
  168. package/components/IconPicker/config/FontAwesomeIcons.js +1 -1
  169. package/components/IconPicker/config/FontAwesomeIcons.js.map +1 -1
  170. package/components/IconPicker/config/IconPackProvider.d.ts +1 -1
  171. package/components/IconPicker/config/IconPackProvider.js.map +1 -1
  172. package/components/IconPicker/config/IconType.js +2 -2
  173. package/components/IconPicker/config/IconType.js.map +1 -1
  174. package/components/IconPicker/config/index.d.ts +3 -3
  175. package/components/IconPicker/config/index.js +7 -7
  176. package/components/IconPicker/config/index.js.map +1 -1
  177. package/components/IconPicker/index.d.ts +7 -7
  178. package/components/IconPicker/index.js +6 -6
  179. package/components/IconPicker/index.js.map +1 -1
  180. package/components/IconPicker/plugins/customPlugin.js +19 -24
  181. package/components/IconPicker/plugins/customPlugin.js.map +1 -1
  182. package/components/IconPicker/plugins/emojisPlugin.js +9 -9
  183. package/components/IconPicker/plugins/emojisPlugin.js.map +1 -1
  184. package/components/IconPicker/plugins/iconsPlugin.js +4 -4
  185. package/components/IconPicker/plugins/iconsPlugin.js.map +1 -1
  186. package/components/IconPicker/types.js.map +1 -1
  187. package/components/LexicalEditor/LexicalEditor.d.ts +9 -5
  188. package/components/LexicalEditor/LexicalEditor.js +32 -21
  189. package/components/LexicalEditor/LexicalEditor.js.map +1 -1
  190. package/components/LexicalEditor/LexicalLinkForm.d.ts +6 -0
  191. package/components/LexicalEditor/LexicalLinkForm.js +83 -0
  192. package/components/LexicalEditor/LexicalLinkForm.js.map +1 -0
  193. package/components/LexicalEditor/index.d.ts +3 -1
  194. package/components/LexicalEditor/index.js +3 -1
  195. package/components/LexicalEditor/index.js.map +1 -1
  196. package/components/LexicalEditor/lexicalValueWithHtml.d.ts +7 -0
  197. package/components/LexicalEditor/lexicalValueWithHtml.js +36 -0
  198. package/components/LexicalEditor/lexicalValueWithHtml.js.map +1 -0
  199. package/components/NavigationPrompt.d.ts +27 -0
  200. package/components/NavigationPrompt.js +39 -0
  201. package/components/NavigationPrompt.js.map +1 -0
  202. package/components/NotAuthorizedError/NotAuthorizedError.d.ts +2 -0
  203. package/components/NotAuthorizedError/NotAuthorizedError.js +20 -0
  204. package/components/NotAuthorizedError/NotAuthorizedError.js.map +1 -0
  205. package/components/NotAuthorizedError/SecureRouteError.svg +1 -0
  206. package/components/NotAuthorizedError/index.d.ts +1 -0
  207. package/components/NotAuthorizedError/index.js +3 -0
  208. package/components/NotAuthorizedError/index.js.map +1 -0
  209. package/components/OptionsMenu/OptionsMenu.js +1 -1
  210. package/components/OptionsMenu/OptionsMenu.js.map +1 -1
  211. package/components/OptionsMenu/index.d.ts +4 -4
  212. package/components/OptionsMenu/index.js +4 -4
  213. package/components/OptionsMenu/index.js.map +1 -1
  214. package/components/OptionsMenu/useOptionsMenuItem.d.ts +2 -2
  215. package/components/OptionsMenu/useOptionsMenuItem.js +2 -2
  216. package/components/OptionsMenu/useOptionsMenuItem.js.map +1 -1
  217. package/components/OverlayLayout/OverlayLayout.d.ts +1 -1
  218. package/components/OverlayLayout/OverlayLayout.js +8 -11
  219. package/components/OverlayLayout/OverlayLayout.js.map +1 -1
  220. package/components/OverlayLayout/components/OverlayBackdrop.js +1 -1
  221. package/components/OverlayLayout/components/OverlayBackdrop.js.map +1 -1
  222. package/components/OverlayLayout/components/OverlayContent.js +1 -1
  223. package/components/OverlayLayout/components/OverlayContent.js.map +1 -1
  224. package/components/OverlayLayout/components/OverlayHeader.js +3 -3
  225. package/components/OverlayLayout/components/OverlayHeader.js.map +1 -1
  226. package/components/OverlayLayout/components/OverlayRoot.js +1 -1
  227. package/components/OverlayLayout/components/OverlayRoot.js.map +1 -1
  228. package/components/OverlayLayout/components/index.d.ts +4 -4
  229. package/components/OverlayLayout/components/index.js +4 -4
  230. package/components/OverlayLayout/components/index.js.map +1 -1
  231. package/components/OverlayLayout/index.d.ts +1 -1
  232. package/components/OverlayLayout/index.js +1 -1
  233. package/components/OverlayLayout/index.js.map +1 -1
  234. package/components/Permissions/Permissions.d.ts +1 -3
  235. package/components/Permissions/Permissions.js +37 -31
  236. package/components/Permissions/Permissions.js.map +1 -1
  237. package/components/Permissions/PermissionsGroup.js +2 -2
  238. package/components/Permissions/PermissionsGroup.js.map +1 -1
  239. package/components/Permissions/StyledComponents.js +1 -1
  240. package/components/Permissions/StyledComponents.js.map +1 -1
  241. package/components/Permissions/index.d.ts +4 -4
  242. package/components/Permissions/index.js +4 -4
  243. package/components/Permissions/index.js.map +1 -1
  244. package/components/RegisterFeature.d.ts +11 -0
  245. package/components/RegisterFeature.js +26 -0
  246. package/components/RegisterFeature.js.map +1 -0
  247. package/components/ResizablePanels/index.d.ts +1 -1
  248. package/components/ResizablePanels/index.js +1 -1
  249. package/components/ResizablePanels/index.js.map +1 -1
  250. package/components/RoleAutocomplete/graphql.d.ts +1 -0
  251. package/components/RoleAutocomplete/graphql.js +18 -0
  252. package/components/RoleAutocomplete/graphql.js.map +1 -0
  253. package/components/RoleAutocomplete/index.d.ts +5 -0
  254. package/components/RoleAutocomplete/index.js +18 -0
  255. package/components/RoleAutocomplete/index.js.map +1 -0
  256. package/components/RolesMultiAutocomplete/graphql.d.ts +1 -0
  257. package/components/RolesMultiAutocomplete/graphql.js +23 -0
  258. package/components/RolesMultiAutocomplete/graphql.js.map +1 -0
  259. package/components/RolesMultiAutocomplete/index.d.ts +5 -0
  260. package/components/RolesMultiAutocomplete/index.js +19 -0
  261. package/components/RolesMultiAutocomplete/index.js.map +1 -0
  262. package/components/SearchUI.d.ts +1 -2
  263. package/components/SearchUI.js +1 -2
  264. package/components/SearchUI.js.map +1 -1
  265. package/components/SimpleForm/SimpleForm.d.ts +1 -1
  266. package/components/SimpleForm/SimpleForm.js +10 -10
  267. package/components/SimpleForm/SimpleForm.js.map +1 -1
  268. package/components/SimpleForm/index.d.ts +1 -1
  269. package/components/SimpleForm/index.js +1 -1
  270. package/components/SimpleForm/index.js.map +1 -1
  271. package/components/SimpleUI/InputField.js +3 -3
  272. package/components/SimpleUI/InputField.js.map +1 -1
  273. package/components/SingleImageUpload.d.ts +3 -8
  274. package/components/SingleImageUpload.js +1 -1
  275. package/components/SingleImageUpload.js.map +1 -1
  276. package/components/SplitView/SplitView.d.ts +7 -7
  277. package/components/SplitView/SplitView.js +20 -12
  278. package/components/SplitView/SplitView.js.map +1 -1
  279. package/components/SplitView/index.d.ts +1 -1
  280. package/components/SplitView/index.js +1 -1
  281. package/components/SplitView/index.js.map +1 -1
  282. package/components/StateInspector.js +1 -1
  283. package/components/StateInspector.js.map +1 -1
  284. package/components/TeamAutocomplete/graphql.d.ts +1 -0
  285. package/components/TeamAutocomplete/graphql.js +18 -0
  286. package/components/TeamAutocomplete/graphql.js.map +1 -0
  287. package/components/TeamAutocomplete/index.d.ts +5 -0
  288. package/components/TeamAutocomplete/index.js +18 -0
  289. package/components/TeamAutocomplete/index.js.map +1 -0
  290. package/components/TeamsMultiAutocomplete/graphql.d.ts +1 -0
  291. package/components/TeamsMultiAutocomplete/graphql.js +23 -0
  292. package/components/TeamsMultiAutocomplete/graphql.js.map +1 -0
  293. package/components/TeamsMultiAutocomplete/index.d.ts +5 -0
  294. package/components/TeamsMultiAutocomplete/index.js +19 -0
  295. package/components/TeamsMultiAutocomplete/index.js.map +1 -0
  296. package/components/Wcp.d.ts +2 -0
  297. package/components/Wcp.js +9 -2
  298. package/components/Wcp.js.map +1 -1
  299. package/components/index.d.ts +29 -3
  300. package/components/index.js +28 -3
  301. package/components/index.js.map +1 -1
  302. package/config/AdminConfig/Dashboard.d.ts +3 -0
  303. package/config/AdminConfig/Dashboard.js +6 -0
  304. package/config/AdminConfig/Dashboard.js.map +1 -0
  305. package/config/AdminConfig/LexicalTheme/Color.d.ts +11 -0
  306. package/config/AdminConfig/LexicalTheme/Color.js +45 -0
  307. package/config/AdminConfig/LexicalTheme/Color.js.map +1 -0
  308. package/config/AdminConfig/LexicalTheme/Typography.d.ts +30 -0
  309. package/config/AdminConfig/LexicalTheme/Typography.js +79 -0
  310. package/config/AdminConfig/LexicalTheme/Typography.js.map +1 -0
  311. package/config/AdminConfig/LexicalTheme.d.ts +9 -0
  312. package/config/AdminConfig/LexicalTheme.js +8 -0
  313. package/config/AdminConfig/LexicalTheme.js.map +1 -0
  314. package/config/AdminConfig/Logo.d.ts +24 -0
  315. package/config/AdminConfig/Logo.js +21 -0
  316. package/config/AdminConfig/Logo.js.map +1 -0
  317. package/config/AdminConfig/Menu/MenuGroup.d.ts +10 -10
  318. package/config/AdminConfig/Menu/MenuGroup.js +1 -1
  319. package/config/AdminConfig/Menu/MenuGroup.js.map +1 -1
  320. package/config/AdminConfig/Menu/MenuItem.d.ts +9 -9
  321. package/config/AdminConfig/Menu/MenuItem.js +1 -1
  322. package/config/AdminConfig/Menu/MenuItem.js.map +1 -1
  323. package/config/AdminConfig/Menu/MenuLink.d.ts +14 -14
  324. package/config/AdminConfig/Menu/MenuLink.js +10 -4
  325. package/config/AdminConfig/Menu/MenuLink.js.map +1 -1
  326. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.d.ts +2 -2
  327. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js +1 -1
  328. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js.map +1 -1
  329. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.d.ts +1 -1
  330. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js +1 -1
  331. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js.map +1 -1
  332. package/config/AdminConfig/Menu/SupportMenu.d.ts +15 -15
  333. package/config/AdminConfig/Menu/SupportMenu.js +3 -3
  334. package/config/AdminConfig/Menu/SupportMenu.js.map +1 -1
  335. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.d.ts +14 -15
  336. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js +1 -1
  337. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js.map +1 -1
  338. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.d.ts +14 -15
  339. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js +1 -1
  340. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js.map +1 -1
  341. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.d.ts +1 -1
  342. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js +1 -1
  343. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js.map +1 -1
  344. package/config/AdminConfig/Menu/UserMenu.d.ts +31 -31
  345. package/config/AdminConfig/Menu/UserMenu.js +4 -4
  346. package/config/AdminConfig/Menu/UserMenu.js.map +1 -1
  347. package/config/AdminConfig/Menu.d.ts +105 -103
  348. package/config/AdminConfig/Menu.js +17 -7
  349. package/config/AdminConfig/Menu.js.map +1 -1
  350. package/config/AdminConfig/Route.d.ts +1 -1
  351. package/config/AdminConfig/Route.js +2 -2
  352. package/config/AdminConfig/Route.js.map +1 -1
  353. package/config/AdminConfig/Security.d.ts +3 -0
  354. package/config/AdminConfig/Security.js +6 -0
  355. package/config/AdminConfig/Security.js.map +1 -0
  356. package/config/AdminConfig/SecurityPermissions.d.ts +17 -0
  357. package/config/AdminConfig/SecurityPermissions.js +31 -0
  358. package/config/AdminConfig/SecurityPermissions.js.map +1 -0
  359. package/config/AdminConfig/Tenant/TenantLogo.d.ts +8 -7
  360. package/config/AdminConfig/Tenant/TenantLogo.js +14 -6
  361. package/config/AdminConfig/Tenant/TenantLogo.js.map +1 -1
  362. package/config/AdminConfig/Tenant/TenantName.d.ts +1 -1
  363. package/config/AdminConfig/Tenant/TenantName.js +5 -2
  364. package/config/AdminConfig/Tenant/TenantName.js.map +1 -1
  365. package/config/AdminConfig/Tenant.d.ts +14 -31
  366. package/config/AdminConfig/Tenant.js +4 -13
  367. package/config/AdminConfig/Tenant.js.map +1 -1
  368. package/config/AdminConfig/Theme/assignColor.d.ts +1 -1
  369. package/config/AdminConfig/Theme/assignColor.js +1 -1
  370. package/config/AdminConfig/Theme/assignColor.js.map +1 -1
  371. package/config/AdminConfig/Theme/types.d.ts +1 -1
  372. package/config/AdminConfig/Theme/types.js.map +1 -1
  373. package/config/AdminConfig/Theme.d.ts +1 -1
  374. package/config/AdminConfig/Theme.js +1 -1
  375. package/config/AdminConfig/Theme.js.map +1 -1
  376. package/config/AdminConfig/Title.d.ts +23 -0
  377. package/config/AdminConfig/Title.js +16 -0
  378. package/config/AdminConfig/Title.js.map +1 -0
  379. package/config/AdminConfig/Widget.d.ts +15 -0
  380. package/config/AdminConfig/Widget.js +36 -0
  381. package/config/AdminConfig/Widget.js.map +1 -0
  382. package/config/AdminConfig.d.ts +200 -149
  383. package/config/AdminConfig.js +30 -6
  384. package/config/AdminConfig.js.map +1 -1
  385. package/config/createAdminConfig.js.map +1 -1
  386. package/css/tokens.css +379 -0
  387. package/css/typography.css +70 -0
  388. package/domain/Identity.d.ts +59 -0
  389. package/domain/Identity.js +96 -0
  390. package/domain/Identity.js.map +1 -0
  391. package/errors/ErrorOverlayNetworkErrorHandler.d.ts +11 -0
  392. package/errors/ErrorOverlayNetworkErrorHandler.js +66 -0
  393. package/errors/ErrorOverlayNetworkErrorHandler.js.map +1 -0
  394. package/errors/TenantIsDisabled.d.ts +2 -0
  395. package/errors/TenantIsDisabled.js +23 -0
  396. package/errors/TenantIsDisabled.js.map +1 -0
  397. package/exports/admin/buildParams.d.ts +1 -0
  398. package/exports/admin/buildParams.js +3 -0
  399. package/exports/admin/buildParams.js.map +1 -0
  400. package/exports/admin/configs.d.ts +1 -0
  401. package/exports/admin/configs.js +3 -0
  402. package/exports/admin/configs.js.map +1 -0
  403. package/exports/admin/form.d.ts +11 -0
  404. package/exports/admin/form.js +12 -0
  405. package/exports/admin/form.js.map +1 -0
  406. package/exports/admin/security.d.ts +8 -0
  407. package/exports/admin/security.js +10 -0
  408. package/exports/admin/security.js.map +1 -0
  409. package/exports/admin/tenancy.d.ts +2 -0
  410. package/exports/admin/tenancy.js +4 -0
  411. package/exports/admin/tenancy.js.map +1 -0
  412. package/exports/admin/ui.d.ts +3 -0
  413. package/exports/admin/ui.js +5 -0
  414. package/exports/admin/ui.js.map +1 -0
  415. package/exports/admin.d.ts +6 -0
  416. package/exports/admin.js +8 -0
  417. package/exports/admin.js.map +1 -0
  418. package/extensions/AdminBuildParam.d.ts +11 -0
  419. package/extensions/AdminBuildParam.js +184 -0
  420. package/extensions/AdminBuildParam.js.map +1 -0
  421. package/extensions/AdminExtension.d.ts +11 -0
  422. package/extensions/AdminExtension.js +99 -0
  423. package/extensions/AdminExtension.js.map +1 -0
  424. package/extensions/index.d.ts +23 -0
  425. package/extensions/index.js +7 -0
  426. package/extensions/index.js.map +1 -0
  427. package/features/apolloClient/abstraction.d.ts +5 -0
  428. package/features/apolloClient/abstraction.js +4 -0
  429. package/features/apolloClient/abstraction.js.map +1 -0
  430. package/features/apolloClient/feature.d.ts +2 -0
  431. package/features/apolloClient/feature.js +39 -0
  432. package/features/apolloClient/feature.js.map +1 -0
  433. package/features/buildParams/BuildParams.d.ts +9 -0
  434. package/features/buildParams/BuildParams.js +18 -0
  435. package/features/buildParams/BuildParams.js.map +1 -0
  436. package/features/buildParams/abstractions.d.ts +15 -0
  437. package/features/buildParams/abstractions.js +5 -0
  438. package/features/buildParams/abstractions.js.map +1 -0
  439. package/features/buildParams/feature.d.ts +1 -0
  440. package/features/buildParams/feature.js +10 -0
  441. package/features/buildParams/feature.js.map +1 -0
  442. package/features/buildParams/index.d.ts +2 -0
  443. package/features/buildParams/index.js +4 -0
  444. package/features/buildParams/index.js.map +1 -0
  445. package/features/security/AuthenticationContext/AuthenticationContext.d.ts +15 -0
  446. package/features/security/AuthenticationContext/AuthenticationContext.js +31 -0
  447. package/features/security/AuthenticationContext/AuthenticationContext.js.map +1 -0
  448. package/features/security/AuthenticationContext/GraphQLClientDecorator.d.ts +12 -0
  449. package/features/security/AuthenticationContext/GraphQLClientDecorator.js +30 -0
  450. package/features/security/AuthenticationContext/GraphQLClientDecorator.js.map +1 -0
  451. package/features/security/AuthenticationContext/InternalIdTokenProvider.d.ts +10 -0
  452. package/features/security/AuthenticationContext/InternalIdTokenProvider.js +17 -0
  453. package/features/security/AuthenticationContext/InternalIdTokenProvider.js.map +1 -0
  454. package/features/security/AuthenticationContext/abstractions.d.ts +26 -0
  455. package/features/security/AuthenticationContext/abstractions.js +5 -0
  456. package/features/security/AuthenticationContext/abstractions.js.map +1 -0
  457. package/features/security/AuthenticationContext/feature.d.ts +3 -0
  458. package/features/security/AuthenticationContext/feature.js +20 -0
  459. package/features/security/AuthenticationContext/feature.js.map +1 -0
  460. package/features/security/AuthenticationContext/index.d.ts +1 -0
  461. package/features/security/AuthenticationContext/index.js +3 -0
  462. package/features/security/AuthenticationContext/index.js.map +1 -0
  463. package/features/security/AuthenticationContext/types.d.ts +11 -0
  464. package/features/security/AuthenticationContext/types.js.map +1 -0
  465. package/features/security/IdentityContext/IdentityContext.d.ts +13 -0
  466. package/features/security/IdentityContext/IdentityContext.js +24 -0
  467. package/features/security/IdentityContext/IdentityContext.js.map +1 -0
  468. package/features/security/IdentityContext/abstractions.d.ts +10 -0
  469. package/features/security/IdentityContext/abstractions.js +4 -0
  470. package/features/security/IdentityContext/abstractions.js.map +1 -0
  471. package/features/security/IdentityContext/feature.d.ts +3 -0
  472. package/features/security/IdentityContext/feature.js +16 -0
  473. package/features/security/IdentityContext/feature.js.map +1 -0
  474. package/features/security/IdentityContext/index.d.ts +2 -0
  475. package/features/security/IdentityContext/index.js +4 -0
  476. package/features/security/IdentityContext/index.js.map +1 -0
  477. package/features/security/LogIn/IdentityMapper.d.ts +9 -0
  478. package/features/security/LogIn/IdentityMapper.js +13 -0
  479. package/features/security/LogIn/IdentityMapper.js.map +1 -0
  480. package/features/security/LogIn/LogInGateway.d.ts +11 -0
  481. package/features/security/LogIn/LogInGateway.js +27 -0
  482. package/features/security/LogIn/LogInGateway.js.map +1 -0
  483. package/features/security/LogIn/LogInRepository.d.ts +14 -0
  484. package/features/security/LogIn/LogInRepository.js +19 -0
  485. package/features/security/LogIn/LogInRepository.js.map +1 -0
  486. package/features/security/LogIn/LogInUseCase.d.ts +15 -0
  487. package/features/security/LogIn/LogInUseCase.js +40 -0
  488. package/features/security/LogIn/LogInUseCase.js.map +1 -0
  489. package/features/security/LogIn/abstractions.d.ts +48 -0
  490. package/features/security/LogIn/abstractions.js +19 -0
  491. package/features/security/LogIn/abstractions.js.map +1 -0
  492. package/features/security/LogIn/createLoginMutation.d.ts +1 -0
  493. package/features/security/LogIn/createLoginMutation.js +49 -0
  494. package/features/security/LogIn/createLoginMutation.js.map +1 -0
  495. package/features/security/LogIn/feature.d.ts +3 -0
  496. package/features/security/LogIn/feature.js +22 -0
  497. package/features/security/LogIn/feature.js.map +1 -0
  498. package/features/security/LogIn/index.d.ts +1 -0
  499. package/features/security/LogIn/index.js +3 -0
  500. package/features/security/LogIn/index.js.map +1 -0
  501. package/features/security/LogOut/LogOutUseCase.d.ts +13 -0
  502. package/features/security/LogOut/LogOutUseCase.js +23 -0
  503. package/features/security/LogOut/LogOutUseCase.js.map +1 -0
  504. package/features/security/LogOut/abstractions.d.ts +7 -0
  505. package/features/security/LogOut/abstractions.js +4 -0
  506. package/features/security/LogOut/abstractions.js.map +1 -0
  507. package/features/security/LogOut/feature.d.ts +3 -0
  508. package/features/security/LogOut/feature.js +16 -0
  509. package/features/security/LogOut/feature.js.map +1 -0
  510. package/features/security/LogOut/index.d.ts +2 -0
  511. package/features/security/LogOut/index.js +4 -0
  512. package/features/security/LogOut/index.js.map +1 -0
  513. package/features/security/SecurityFeature.d.ts +1 -0
  514. package/features/security/SecurityFeature.js +16 -0
  515. package/features/security/SecurityFeature.js.map +1 -0
  516. package/features/telemetry/TelemetryService.d.ts +6 -0
  517. package/features/telemetry/TelemetryService.js +20 -0
  518. package/features/telemetry/TelemetryService.js.map +1 -0
  519. package/features/telemetry/abstractions.d.ts +7 -0
  520. package/features/telemetry/abstractions.js +4 -0
  521. package/features/telemetry/abstractions.js.map +1 -0
  522. package/features/telemetry/feature.d.ts +3 -0
  523. package/features/telemetry/feature.js +16 -0
  524. package/features/telemetry/feature.js.map +1 -0
  525. package/features/telemetry/index.d.ts +2 -0
  526. package/features/telemetry/index.js +4 -0
  527. package/features/telemetry/index.js.map +1 -0
  528. package/features/tenancy/GraphQLClientDecorator.d.ts +12 -0
  529. package/features/tenancy/GraphQLClientDecorator.js +27 -0
  530. package/features/tenancy/GraphQLClientDecorator.js.map +1 -0
  531. package/features/tenancy/TenantContext.d.ts +17 -0
  532. package/features/tenancy/TenantContext.js +61 -0
  533. package/features/tenancy/TenantContext.js.map +1 -0
  534. package/features/tenancy/abstractions.d.ts +14 -0
  535. package/features/tenancy/abstractions.js +4 -0
  536. package/features/tenancy/abstractions.js.map +1 -0
  537. package/features/tenancy/feature.d.ts +5 -0
  538. package/features/tenancy/feature.js +41 -0
  539. package/features/tenancy/feature.js.map +1 -0
  540. package/features/tenancy/types.d.ts +4 -0
  541. package/features/tenancy/types.js +3 -0
  542. package/features/tenancy/types.js.map +1 -0
  543. package/features/wcp/ReactLicense.d.ts +18 -0
  544. package/features/wcp/ReactLicense.js +43 -0
  545. package/features/wcp/ReactLicense.js.map +1 -0
  546. package/features/wcp/WcpGateway.d.ts +10 -0
  547. package/features/wcp/WcpGateway.js +73 -0
  548. package/features/wcp/WcpGateway.js.map +1 -0
  549. package/features/wcp/WcpService.d.ts +20 -0
  550. package/features/wcp/WcpService.js +84 -0
  551. package/features/wcp/WcpService.js.map +1 -0
  552. package/features/wcp/abstractions.d.ts +19 -0
  553. package/features/wcp/abstractions.js +5 -0
  554. package/features/wcp/abstractions.js.map +1 -0
  555. package/features/wcp/feature.d.ts +3 -0
  556. package/features/wcp/feature.js +18 -0
  557. package/features/wcp/feature.js.map +1 -0
  558. package/features/wcp/types.d.ts +21 -0
  559. package/features/wcp/types.js +3 -0
  560. package/features/wcp/types.js.map +1 -0
  561. package/hooks/index.d.ts +11 -10
  562. package/hooks/index.js +11 -10
  563. package/hooks/index.js.map +1 -1
  564. package/hooks/useConfirmationDialog.js +3 -3
  565. package/hooks/useConfirmationDialog.js.map +1 -1
  566. package/hooks/useDialog.js +1 -1
  567. package/hooks/useDialog.js.map +1 -1
  568. package/hooks/useKeyHandler.js +1 -1
  569. package/hooks/useKeyHandler.js.map +1 -1
  570. package/hooks/useModKey.js +1 -2
  571. package/hooks/useModKey.js.map +1 -1
  572. package/hooks/useShiftKey.js +1 -1
  573. package/hooks/useShiftKey.js.map +1 -1
  574. package/hooks/useStateIfMounted.d.ts +0 -1
  575. package/hooks/useStateIfMounted.js +1 -1
  576. package/hooks/useStateIfMounted.js.map +1 -1
  577. package/hooks/useToggler.d.ts +7 -0
  578. package/hooks/useToggler.js +15 -0
  579. package/hooks/useToggler.js.map +1 -0
  580. package/index.d.ts +34 -45
  581. package/index.js +36 -43
  582. package/index.js.map +1 -1
  583. package/lexical.css +2 -0
  584. package/package.json +45 -47
  585. package/permissions/PermissionRenderer.d.ts +6 -0
  586. package/permissions/PermissionRenderer.js +211 -0
  587. package/permissions/PermissionRenderer.js.map +1 -0
  588. package/permissions/PermissionValueContext.d.ts +11 -0
  589. package/permissions/PermissionValueContext.js +23 -0
  590. package/permissions/PermissionValueContext.js.map +1 -0
  591. package/permissions/createHasPermission.d.ts +3 -0
  592. package/permissions/createHasPermission.js +36 -0
  593. package/permissions/createHasPermission.js.map +1 -0
  594. package/permissions/createPermissionSchema.d.ts +2 -0
  595. package/permissions/createPermissionSchema.js +8 -0
  596. package/permissions/createPermissionSchema.js.map +1 -0
  597. package/permissions/index.d.ts +8 -0
  598. package/permissions/index.js +8 -0
  599. package/permissions/index.js.map +1 -0
  600. package/permissions/types.d.ts +224 -0
  601. package/permissions/types.js +3 -0
  602. package/permissions/types.js.map +1 -0
  603. package/permissions/usePermissionForm.d.ts +17 -0
  604. package/permissions/usePermissionForm.js +216 -0
  605. package/permissions/usePermissionForm.js.map +1 -0
  606. package/permissions/usePermissions.d.ts +3 -0
  607. package/permissions/usePermissions.js +179 -0
  608. package/permissions/usePermissions.js.map +1 -0
  609. package/presentation/installation/components/SystemInstaller/SystemInstaller.d.ts +8 -0
  610. package/presentation/installation/components/SystemInstaller/SystemInstaller.js +70 -0
  611. package/presentation/installation/components/SystemInstaller/SystemInstaller.js.map +1 -0
  612. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.d.ts +2 -0
  613. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js +17 -0
  614. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js.map +1 -0
  615. package/presentation/installation/components/SystemInstaller/index.d.ts +1 -0
  616. package/presentation/installation/components/SystemInstaller/index.js +3 -0
  617. package/presentation/installation/components/SystemInstaller/index.js.map +1 -0
  618. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.d.ts +8 -0
  619. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js +32 -0
  620. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js.map +1 -0
  621. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.d.ts +1 -0
  622. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js +15 -0
  623. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js.map +1 -0
  624. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.d.ts +7 -0
  625. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js +69 -0
  626. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js.map +1 -0
  627. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.d.ts +7 -0
  628. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js +95 -0
  629. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js.map +1 -0
  630. package/presentation/installation/components/SystemInstaller/steps/Center.d.ts +4 -0
  631. package/presentation/installation/components/SystemInstaller/steps/Center.js +10 -0
  632. package/presentation/installation/components/SystemInstaller/steps/Center.js.map +1 -0
  633. package/presentation/installation/components/SystemInstaller/steps/Container.d.ts +8 -0
  634. package/presentation/installation/components/SystemInstaller/steps/Container.js +28 -0
  635. package/presentation/installation/components/SystemInstaller/steps/Container.js.map +1 -0
  636. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.d.ts +11 -0
  637. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js +58 -0
  638. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js.map +1 -0
  639. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.d.ts +7 -0
  640. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js +21 -0
  641. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js.map +1 -0
  642. package/presentation/installation/components/SystemInstaller/steps/introduction.svg +154 -0
  643. package/presentation/installation/components/SystemInstaller/steps/referralSources.d.ts +1 -0
  644. package/presentation/installation/components/SystemInstaller/steps/referralSources.js +3 -0
  645. package/presentation/installation/components/SystemInstaller/steps/referralSources.js.map +1 -0
  646. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.d.ts +10 -0
  647. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js +63 -0
  648. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js.map +1 -0
  649. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.d.ts +24 -0
  650. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js +138 -0
  651. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js.map +1 -0
  652. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.d.ts +11 -0
  653. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js +30 -0
  654. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js.map +1 -0
  655. package/presentation/installation/presenters/SystemInstaller/abstractions.d.ts +59 -0
  656. package/presentation/installation/presenters/SystemInstaller/abstractions.js +6 -0
  657. package/presentation/installation/presenters/SystemInstaller/abstractions.js.map +1 -0
  658. package/presentation/installation/presenters/SystemInstaller/feature.d.ts +3 -0
  659. package/presentation/installation/presenters/SystemInstaller/feature.js +20 -0
  660. package/presentation/installation/presenters/SystemInstaller/feature.js.map +1 -0
  661. package/presentation/installation/presenters/SystemInstaller/index.d.ts +3 -0
  662. package/presentation/installation/presenters/SystemInstaller/index.js +4 -0
  663. package/presentation/installation/presenters/SystemInstaller/index.js.map +1 -0
  664. package/presentation/security/components/HasPermission.d.ts +10 -0
  665. package/presentation/security/components/HasPermission.js +31 -0
  666. package/presentation/security/components/HasPermission.js.map +1 -0
  667. package/presentation/security/components/SecureRoute.d.ts +7 -0
  668. package/presentation/security/components/SecureRoute.js +16 -0
  669. package/presentation/security/components/SecureRoute.js.map +1 -0
  670. package/presentation/security/hooks/useAuthentication.d.ts +9 -0
  671. package/presentation/security/hooks/useAuthentication.js +24 -0
  672. package/presentation/security/hooks/useAuthentication.js.map +1 -0
  673. package/presentation/security/hooks/useIdentity.d.ts +6 -0
  674. package/presentation/security/hooks/useIdentity.js +25 -0
  675. package/presentation/security/hooks/useIdentity.js.map +1 -0
  676. package/presentation/security/hooks/useSecurity.d.ts +10 -0
  677. package/presentation/security/hooks/useSecurity.js +28 -0
  678. package/presentation/security/hooks/useSecurity.js.map +1 -0
  679. package/presentation/tenancy/TenancyProvider.d.ts +6 -0
  680. package/presentation/tenancy/TenancyProvider.js +43 -0
  681. package/presentation/tenancy/TenancyProvider.js.map +1 -0
  682. package/presentation/tenancy/createTenancyProvider.d.ts +1 -0
  683. package/presentation/tenancy/createTenancyProvider.js +14 -0
  684. package/presentation/tenancy/createTenancyProvider.js.map +1 -0
  685. package/presentation/tenancy/useTenantContext.d.ts +5 -0
  686. package/presentation/tenancy/useTenantContext.js +24 -0
  687. package/presentation/tenancy/useTenantContext.js.map +1 -0
  688. package/presentation/wcp/WcpProvider.d.ts +7 -0
  689. package/presentation/wcp/WcpProvider.js +26 -0
  690. package/presentation/wcp/WcpProvider.js.map +1 -0
  691. package/presentation/wcp/useWcp.d.ts +2 -0
  692. package/presentation/wcp/useWcp.js +18 -0
  693. package/presentation/wcp/useWcp.js.map +1 -0
  694. package/routes.d.ts +6 -0
  695. package/routes.js +17 -0
  696. package/routes.js.map +1 -0
  697. package/types.d.ts +3 -76
  698. package/types.js +1 -5
  699. package/types.js.map +1 -1
  700. package/base/Base/Routes.d.ts +0 -2
  701. package/base/Base/Routes.js +0 -24
  702. package/base/Base/Routes.js.map +0 -1
  703. package/base/providers/TelemetryProvider.d.ts +0 -1
  704. package/base/providers/TelemetryProvider.js +0 -22
  705. package/base/providers/TelemetryProvider.js.map +0 -1
  706. package/base/providers/ViewCompositionProvider.d.ts +0 -21
  707. package/base/providers/ViewCompositionProvider.js +0 -47
  708. package/base/providers/ViewCompositionProvider.js.map +0 -1
  709. package/base/ui/LocaleSelector.d.ts +0 -39
  710. package/base/ui/LocaleSelector.js +0 -8
  711. package/base/ui/LocaleSelector.js.map +0 -1
  712. package/components/AppInstaller/AppInstaller.d.ts +0 -11
  713. package/components/AppInstaller/AppInstaller.js +0 -113
  714. package/components/AppInstaller/AppInstaller.js.map +0 -1
  715. package/components/AppInstaller/Sidebar.d.ts +0 -9
  716. package/components/AppInstaller/Sidebar.js +0 -108
  717. package/components/AppInstaller/Sidebar.js.map +0 -1
  718. package/components/AppInstaller/assets/sign-in-divider.svg +0 -19
  719. package/components/AppInstaller/index.d.ts +0 -2
  720. package/components/AppInstaller/index.js +0 -17
  721. package/components/AppInstaller/index.js.map +0 -1
  722. package/components/AppInstaller/styled.d.ts +0 -19
  723. package/components/AppInstaller/styled.js +0 -75
  724. package/components/AppInstaller/styled.js.map +0 -1
  725. package/components/AppInstaller/useInstaller.d.ts +0 -25
  726. package/components/AppInstaller/useInstaller.js +0 -169
  727. package/components/AppInstaller/useInstaller.js.map +0 -1
  728. package/components/Dialogs/CustomDialog.d.ts +0 -17
  729. package/components/Dialogs/CustomDialog.js +0 -48
  730. package/components/Dialogs/CustomDialog.js.map +0 -1
  731. package/components/RichTextEditor/RichTextEditor.d.ts +0 -3
  732. package/components/RichTextEditor/RichTextEditor.js +0 -16
  733. package/components/RichTextEditor/RichTextEditor.js.map +0 -1
  734. package/components/RichTextEditor/index.d.ts +0 -2
  735. package/components/RichTextEditor/index.js +0 -4
  736. package/components/RichTextEditor/index.js.map +0 -1
  737. package/components/RichTextEditor/styles.scss +0 -96
  738. package/components/RichTextEditor/tools/header/index.d.ts +0 -228
  739. package/components/RichTextEditor/tools/header/index.js +0 -615
  740. package/components/RichTextEditor/tools/header/index.js.map +0 -1
  741. package/components/RichTextEditor/tools/header/styles.scss +0 -48
  742. package/components/RichTextEditor/tools/image/index.d.ts +0 -122
  743. package/components/RichTextEditor/tools/image/index.js +0 -202
  744. package/components/RichTextEditor/tools/image/index.js.map +0 -1
  745. package/components/RichTextEditor/tools/image/styles.scss +0 -90
  746. package/components/RichTextEditor/tools/image/svgs.d.ts +0 -6
  747. package/components/RichTextEditor/tools/image/svgs.js +0 -7
  748. package/components/RichTextEditor/tools/image/svgs.js.map +0 -1
  749. package/components/RichTextEditor/tools/image/tunes.d.ts +0 -55
  750. package/components/RichTextEditor/tools/image/tunes.js +0 -103
  751. package/components/RichTextEditor/tools/image/tunes.js.map +0 -1
  752. package/components/RichTextEditor/tools/image/types.d.ts +0 -29
  753. package/components/RichTextEditor/tools/image/types.js.map +0 -1
  754. package/components/RichTextEditor/tools/image/ui.d.ts +0 -120
  755. package/components/RichTextEditor/tools/image/ui.js +0 -245
  756. package/components/RichTextEditor/tools/image/ui.js.map +0 -1
  757. package/components/RichTextEditor/tools/paragraph/index.d.ts +0 -208
  758. package/components/RichTextEditor/tools/paragraph/index.js +0 -435
  759. package/components/RichTextEditor/tools/paragraph/index.js.map +0 -1
  760. package/components/RichTextEditor/tools/paragraph/styles.scss +0 -29
  761. package/components/RichTextEditor/tools/textColor/index.d.ts +0 -61
  762. package/components/RichTextEditor/tools/textColor/index.js +0 -197
  763. package/components/RichTextEditor/tools/textColor/index.js.map +0 -1
  764. package/components/RichTextEditor/tools/textColor/styles.scss +0 -21
  765. package/components/RichTextEditor/tools/utils.d.ts +0 -19
  766. package/components/RichTextEditor/tools/utils.js +0 -24
  767. package/components/RichTextEditor/tools/utils.js.map +0 -1
  768. package/components/Routes.d.ts +0 -6
  769. package/components/Routes.js +0 -34
  770. package/components/Routes.js.map +0 -1
  771. package/plugins/PermissionRendererPlugin.d.ts +0 -22
  772. package/plugins/PermissionRendererPlugin.js +0 -19
  773. package/plugins/PermissionRendererPlugin.js.map +0 -1
  774. package/plugins/uiLayoutRenderer/index.d.ts +0 -2
  775. package/plugins/uiLayoutRenderer/index.js +0 -53
  776. package/plugins/uiLayoutRenderer/index.js.map +0 -1
  777. package/ui/UIElement.d.ts +0 -2
  778. package/ui/UIElement.js +0 -3
  779. package/ui/UIElement.js.map +0 -1
  780. package/ui/UILayout.d.ts +0 -1
  781. package/ui/UILayout.js +0 -3
  782. package/ui/UILayout.js.map +0 -1
  783. package/ui/UIRenderer.d.ts +0 -2
  784. package/ui/UIRenderer.js +0 -3
  785. package/ui/UIRenderer.js.map +0 -1
  786. package/ui/UIView.d.ts +0 -2
  787. package/ui/UIView.js +0 -3
  788. package/ui/UIView.js.map +0 -1
  789. package/ui/elements/AccordionElement.d.ts +0 -28
  790. package/ui/elements/AccordionElement.js +0 -48
  791. package/ui/elements/AccordionElement.js.map +0 -1
  792. package/ui/elements/ButtonElement.d.ts +0 -25
  793. package/ui/elements/ButtonElement.js +0 -52
  794. package/ui/elements/ButtonElement.js.map +0 -1
  795. package/ui/elements/ButtonGroupElement.d.ts +0 -7
  796. package/ui/elements/ButtonGroupElement.js +0 -29
  797. package/ui/elements/ButtonGroupElement.js.map +0 -1
  798. package/ui/elements/GenericElement.d.ts +0 -1
  799. package/ui/elements/GenericElement.js +0 -3
  800. package/ui/elements/GenericElement.js.map +0 -1
  801. package/ui/elements/LabelElement.d.ts +0 -17
  802. package/ui/elements/LabelElement.js +0 -23
  803. package/ui/elements/LabelElement.js.map +0 -1
  804. package/ui/elements/NavigationMenuElement.d.ts +0 -34
  805. package/ui/elements/NavigationMenuElement.js +0 -88
  806. package/ui/elements/NavigationMenuElement.js.map +0 -1
  807. package/ui/elements/PanelElement.d.ts +0 -3
  808. package/ui/elements/PanelElement.js +0 -4
  809. package/ui/elements/PanelElement.js.map +0 -1
  810. package/ui/elements/PlaceholderElement.d.ts +0 -6
  811. package/ui/elements/PlaceholderElement.js +0 -11
  812. package/ui/elements/PlaceholderElement.js.map +0 -1
  813. package/ui/elements/SmallButtonElement.d.ts +0 -8
  814. package/ui/elements/SmallButtonElement.js +0 -24
  815. package/ui/elements/SmallButtonElement.js.map +0 -1
  816. package/ui/elements/TypographyElement.d.ts +0 -14
  817. package/ui/elements/TypographyElement.js +0 -23
  818. package/ui/elements/TypographyElement.js.map +0 -1
  819. package/ui/elements/ViewElement.d.ts +0 -1
  820. package/ui/elements/ViewElement.js +0 -3
  821. package/ui/elements/ViewElement.js.map +0 -1
  822. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.d.ts +0 -7
  823. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js +0 -26
  824. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js.map +0 -1
  825. package/ui/elements/form/DynamicFieldsetElement.d.ts +0 -44
  826. package/ui/elements/form/DynamicFieldsetElement.js +0 -97
  827. package/ui/elements/form/DynamicFieldsetElement.js.map +0 -1
  828. package/ui/elements/form/FileManagerElement/EmptyStateElement.d.ts +0 -4
  829. package/ui/elements/form/FileManagerElement/EmptyStateElement.js +0 -10
  830. package/ui/elements/form/FileManagerElement/EmptyStateElement.js.map +0 -1
  831. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.d.ts +0 -8
  832. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +0 -47
  833. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js.map +0 -1
  834. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.d.ts +0 -14
  835. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js +0 -73
  836. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js.map +0 -1
  837. package/ui/elements/form/FileManagerElement/styled.d.ts +0 -23
  838. package/ui/elements/form/FileManagerElement/styled.js +0 -108
  839. package/ui/elements/form/FileManagerElement/styled.js.map +0 -1
  840. package/ui/elements/form/FileManagerElement.d.ts +0 -25
  841. package/ui/elements/form/FileManagerElement.js +0 -46
  842. package/ui/elements/form/FileManagerElement.js.map +0 -1
  843. package/ui/elements/form/FormElement.d.ts +0 -22
  844. package/ui/elements/form/FormElement.js +0 -20
  845. package/ui/elements/form/FormElement.js.map +0 -1
  846. package/ui/elements/form/FormFieldElement.d.ts +0 -57
  847. package/ui/elements/form/FormFieldElement.js +0 -113
  848. package/ui/elements/form/FormFieldElement.js.map +0 -1
  849. package/ui/elements/form/HiddenElement.d.ts +0 -7
  850. package/ui/elements/form/HiddenElement.js +0 -25
  851. package/ui/elements/form/HiddenElement.js.map +0 -1
  852. package/ui/elements/form/InputElement.d.ts +0 -8
  853. package/ui/elements/form/InputElement.js +0 -32
  854. package/ui/elements/form/InputElement.js.map +0 -1
  855. package/ui/elements/form/PasswordElement.d.ts +0 -6
  856. package/ui/elements/form/PasswordElement.js +0 -29
  857. package/ui/elements/form/PasswordElement.js.map +0 -1
  858. package/ui/elements/form/README.md +0 -2
  859. package/ui/elements/form/SelectElement.d.ts +0 -16
  860. package/ui/elements/form/SelectElement.js +0 -42
  861. package/ui/elements/form/SelectElement.js.map +0 -1
  862. package/ui/elements/form/TextareaElement.d.ts +0 -16
  863. package/ui/elements/form/TextareaElement.js +0 -34
  864. package/ui/elements/form/TextareaElement.js.map +0 -1
  865. package/ui/views/AdminView/ContentElement.d.ts +0 -4
  866. package/ui/views/AdminView/ContentElement.js +0 -37
  867. package/ui/views/AdminView/ContentElement.js.map +0 -1
  868. package/ui/views/AdminView/HeaderElement.d.ts +0 -13
  869. package/ui/views/AdminView/HeaderElement.js +0 -68
  870. package/ui/views/AdminView/HeaderElement.js.map +0 -1
  871. package/ui/views/AdminView/HeaderSectionCenterElement.d.ts +0 -7
  872. package/ui/views/AdminView/HeaderSectionCenterElement.js +0 -21
  873. package/ui/views/AdminView/HeaderSectionCenterElement.js.map +0 -1
  874. package/ui/views/AdminView/HeaderSectionLeftElement.d.ts +0 -7
  875. package/ui/views/AdminView/HeaderSectionLeftElement.js +0 -21
  876. package/ui/views/AdminView/HeaderSectionLeftElement.js.map +0 -1
  877. package/ui/views/AdminView/HeaderSectionRightElement.d.ts +0 -7
  878. package/ui/views/AdminView/HeaderSectionRightElement.js +0 -21
  879. package/ui/views/AdminView/HeaderSectionRightElement.js.map +0 -1
  880. package/ui/views/AdminView/components/Dialog.d.ts +0 -2
  881. package/ui/views/AdminView/components/Dialog.js +0 -41
  882. package/ui/views/AdminView/components/Dialog.js.map +0 -1
  883. package/ui/views/AdminView/components/Hamburger.d.ts +0 -3
  884. package/ui/views/AdminView/components/Hamburger.js +0 -23
  885. package/ui/views/AdminView/components/Hamburger.js.map +0 -1
  886. package/ui/views/FormView/FormContainerElement.d.ts +0 -13
  887. package/ui/views/FormView/FormContainerElement.js +0 -19
  888. package/ui/views/FormView/FormContainerElement.js.map +0 -1
  889. package/ui/views/FormView/FormContentElement.d.ts +0 -6
  890. package/ui/views/FormView/FormContentElement.js +0 -10
  891. package/ui/views/FormView/FormContentElement.js.map +0 -1
  892. package/ui/views/FormView/FormFooterElement.d.ts +0 -7
  893. package/ui/views/FormView/FormFooterElement.js +0 -14
  894. package/ui/views/FormView/FormFooterElement.js.map +0 -1
  895. package/ui/views/FormView/FormHeaderElement.d.ts +0 -15
  896. package/ui/views/FormView/FormHeaderElement.js +0 -30
  897. package/ui/views/FormView/FormHeaderElement.js.map +0 -1
  898. package/ui/views/FormView.d.ts +0 -40
  899. package/ui/views/FormView.js +0 -121
  900. package/ui/views/FormView.js.map +0 -1
  901. package/ui/views/OverlayView/ContentElement.d.ts +0 -7
  902. package/ui/views/OverlayView/ContentElement.js +0 -29
  903. package/ui/views/OverlayView/ContentElement.js.map +0 -1
  904. package/ui/views/OverlayView/HeaderElement.d.ts +0 -25
  905. package/ui/views/OverlayView/HeaderElement.js +0 -72
  906. package/ui/views/OverlayView/HeaderElement.js.map +0 -1
  907. package/ui/views/OverlayView/HeaderTitleElement.d.ts +0 -15
  908. package/ui/views/OverlayView/HeaderTitleElement.js +0 -25
  909. package/ui/views/OverlayView/HeaderTitleElement.js.map +0 -1
  910. package/ui/views/OverlayView/useOverlayView.d.ts +0 -5
  911. package/ui/views/OverlayView/useOverlayView.js +0 -34
  912. package/ui/views/OverlayView/useOverlayView.js.map +0 -1
  913. package/ui/views/OverlayView.d.ts +0 -30
  914. package/ui/views/OverlayView.js +0 -109
  915. package/ui/views/OverlayView.js.map +0 -1
  916. package/ui/views/SplitView/SplitViewPanelElement.d.ts +0 -12
  917. package/ui/views/SplitView/SplitViewPanelElement.js +0 -32
  918. package/ui/views/SplitView/SplitViewPanelElement.js.map +0 -1
  919. package/ui/views/SplitView.d.ts +0 -21
  920. package/ui/views/SplitView.js +0 -86
  921. package/ui/views/SplitView.js.map +0 -1
  922. /package/base/Base/Tenant/{wby-logo.svg → wby-square.svg} +0 -0
  923. /package/{components/RichTextEditor/tools/image → features/security/AuthenticationContext}/types.js +0 -0
@@ -1,29 +0,0 @@
1
- .ce-paragraph {
2
- line-height: 1.6em;
3
- outline: none;
4
- }
5
-
6
- .ce-paragraph[data-placeholder]:empty::before {
7
- content: attr(data-placeholder);
8
- color: #707684;
9
- font-weight: normal;
10
- opacity: 0;
11
- }
12
-
13
- /** Show placeholder at the first paragraph if Editor is empty */
14
- .codex-editor--empty .ce-block:first-of-type .ce-paragraph[data-placeholder]:empty::before {
15
- opacity: 1;
16
- }
17
-
18
- .codex-editor--toolbox-opened .ce-block:first-of-type .ce-paragraph[data-placeholder]:empty::before,
19
- .codex-editor--empty .ce-block:first-of-type .ce-paragraph[data-placeholder]:empty:focus::before {
20
- opacity: 0;
21
- }
22
-
23
- .ce-paragraph p:first-of-type {
24
- margin-top: 0;
25
- }
26
-
27
- .ce-paragraph p:last-of-type {
28
- margin-bottom: 0;
29
- }
@@ -1,61 +0,0 @@
1
- import type { API } from "@editorjs/editorjs";
2
- interface Config {
3
- themeColors: string[];
4
- }
5
- interface TextColorToolParams {
6
- api: API;
7
- config: Config;
8
- }
9
- interface SanitizeResultSpanResult {
10
- class?: string;
11
- style?: CSSStyleDeclaration;
12
- }
13
- interface SanitizeResult {
14
- span: (element: HTMLElement) => SanitizeResultSpanResult;
15
- }
16
- declare class TextColorTool {
17
- private _state;
18
- private color;
19
- private readonly api;
20
- private readonly tag;
21
- private readonly class;
22
- private colorPicker;
23
- private button;
24
- private readonly config;
25
- private readonly _CSS;
26
- constructor({ api, config }: TextColorToolParams);
27
- static get isInline(): boolean;
28
- /**
29
- * Sanitize method returns rules to let Editor know which HTML tags it should respect.
30
- * @returns {object} sanitizer configuration.
31
- * https://editorjs.io/sanitizer
32
- */
33
- static get sanitize(): SanitizeResult;
34
- get state(): boolean;
35
- set state(state: boolean);
36
- /**
37
- * Render method must return HTML element of the button for Inline Toolbar.
38
- */
39
- render(): HTMLButtonElement;
40
- /**
41
- * Input for the link
42
- */
43
- renderActions(): HTMLElement;
44
- /**
45
- * Finally, when button is pressed Editor calls
46
- * surround method of the tool with Range object as an argument.
47
- */
48
- surround(range: Range): void;
49
- wrap(range: Range): void;
50
- unwrap(range: Range): void;
51
- showActions(mark: HTMLElement): void;
52
- hideActions(): void;
53
- /**
54
- * CheckState method of each Inline Tool is called by Editor with current `Selection`
55
- * when user selects some text
56
- */
57
- checkState(): void;
58
- convertToHex(color: string): string;
59
- clear(): void;
60
- }
61
- export default TextColorTool;
@@ -1,197 +0,0 @@
1
- const COLOR_TOOL_CLASS = "cdx-text-color";
2
- class TextColorTool {
3
- constructor({
4
- api,
5
- config
6
- }) {
7
- this.api = api;
8
- this.button = null;
9
- this.colorPicker = null;
10
- this._state = false;
11
- this.tag = "SPAN";
12
- this.color = "red";
13
- this.class = COLOR_TOOL_CLASS;
14
- this.config = config || {
15
- themeColors: ["#44bd32"]
16
- };
17
- this._CSS = {
18
- colorPicker: "ce-text-color-tool",
19
- colorBox: "ce-text-color-tool__color-box",
20
- colorBoxActive: "ce-text-color-tool__color-box--active"
21
- };
22
- }
23
- static get isInline() {
24
- return true;
25
- }
26
-
27
- /**
28
- * Sanitize method returns rules to let Editor know which HTML tags it should respect.
29
- * @returns {object} sanitizer configuration.
30
- * https://editorjs.io/sanitizer
31
- */
32
- static get sanitize() {
33
- // Block Tools are not connected with Inline ones,
34
- // so markup added by Inline Tool will be removed on pasting or on saving.
35
- // We need this config so that `class` & `style` attributes will remain intact for "span".
36
- return {
37
- /**
38
- * TODO: figure out the element type
39
- */
40
- span: el => {
41
- // Respect `class` and `style` attributes if this condition is meet.
42
- if (el.classList.contains(COLOR_TOOL_CLASS)) {
43
- return {
44
- class: COLOR_TOOL_CLASS,
45
- style: el.style
46
- };
47
- }
48
- return {};
49
- }
50
- };
51
- }
52
- get state() {
53
- return this._state;
54
- }
55
- set state(state) {
56
- this._state = state;
57
- if (!this.button) {
58
- return;
59
- }
60
- this.button.classList.toggle(this.api.styles.inlineToolButtonActive, state);
61
- }
62
- /**
63
- * Render method must return HTML element of the button for Inline Toolbar.
64
- */
65
- render() {
66
- this.button = document.createElement("button");
67
- this.button.type = "button";
68
- this.button.innerHTML = '<svg width="20" height="18"><path d="M10.458 12.04l2.919 1.686-.781 1.417-.984-.03-.974 1.687H8.674l1.49-2.583-.508-.775.802-1.401zm.546-.952l3.624-6.327a1.597 1.597 0 0 1 2.182-.59 1.632 1.632 0 0 1 .615 2.201l-3.519 6.391-2.902-1.675zm-7.73 3.467h3.465a1.123 1.123 0 1 1 0 2.247H3.273a1.123 1.123 0 1 1 0-2.247z"/></svg>';
69
- this.button.classList.add(this.api.styles.inlineToolButton);
70
- return this.button;
71
- }
72
-
73
- /**
74
- * Input for the link
75
- */
76
- renderActions() {
77
- // Create action element
78
- this.colorPicker = document.createElement("div");
79
- // Add element properties
80
- this.colorPicker.classList.add(this._CSS.colorPicker);
81
- this.config.themeColors.forEach(color => {
82
- // create element
83
- const colorBox = document.createElement("button");
84
- // add properties
85
- colorBox.style.backgroundColor = color;
86
- colorBox.classList.add(this._CSS.colorBox);
87
- colorBox.addEventListener("click", () => {
88
- if (this.color === color) {
89
- // reset the color
90
- this.color = "unset";
91
- } else {
92
- // set color
93
- this.color = color;
94
- }
95
- if (this.colorPicker) {
96
- /**
97
- * TODO @ts-refactor
98
- * TS Complains there is no classList on child node.
99
- */
100
- this.colorPicker.childNodes.forEach(node => {
101
- if (node.classList.contains(this._CSS.colorBoxActive)) {
102
- // remove active class
103
- node.classList.remove(this._CSS.colorBoxActive);
104
- }
105
- });
106
- }
107
- // add active class
108
- colorBox.classList.add(this._CSS.colorBoxActive);
109
- });
110
- if (!this.colorPicker) {
111
- return;
112
- }
113
- // save element
114
- this.colorPicker.appendChild(colorBox);
115
- });
116
-
117
- // Return element
118
- return this.colorPicker;
119
- }
120
-
121
- /**
122
- * Finally, when button is pressed Editor calls
123
- * surround method of the tool with Range object as an argument.
124
- */
125
- surround(range) {
126
- if (this.state) {
127
- this.unwrap(range);
128
- return;
129
- }
130
- this.wrap(range);
131
- }
132
- wrap(range) {
133
- const selectedText = range.extractContents();
134
- const mark = document.createElement(this.tag);
135
- mark.classList.add(this.class);
136
- mark.appendChild(selectedText);
137
- range.insertNode(mark);
138
- this.api.selection.expandToTag(mark);
139
- }
140
- unwrap(range) {
141
- const mark = this.api.selection.findParentTag(this.tag, this.class);
142
- const text = range.extractContents();
143
- if (mark) {
144
- mark.remove();
145
- }
146
- range.insertNode(text);
147
- }
148
- showActions(mark) {
149
- if (!this.colorPicker) {
150
- return;
151
- }
152
- this.colorPicker.onclick = () => {
153
- mark.style.color = this.color;
154
- };
155
- this.colorPicker.hidden = false;
156
- }
157
- hideActions() {
158
- if (!this.colorPicker) {
159
- return;
160
- }
161
- this.colorPicker.onchange = null;
162
- this.colorPicker.hidden = true;
163
- }
164
-
165
- /**
166
- * CheckState method of each Inline Tool is called by Editor with current `Selection`
167
- * when user selects some text
168
- */
169
- checkState() {
170
- const mark = this.api.selection.findParentTag(this.tag);
171
- this.state = !!mark;
172
- if (!!mark) {
173
- this.showActions(mark);
174
- } else {
175
- this.hideActions();
176
- }
177
- }
178
- convertToHex(color) {
179
- const rgb = color.match(/(\d+)/g);
180
- if (!rgb) {
181
- return "";
182
- }
183
- let hexR = parseInt(rgb[0]).toString(16);
184
- let hexG = parseInt(rgb[1]).toString(16);
185
- let hexB = parseInt(rgb[2]).toString(16);
186
- hexR = hexR.length === 1 ? "0" + hexR : hexR;
187
- hexG = hexG.length === 1 ? "0" + hexG : hexG;
188
- hexB = hexB.length === 1 ? "0" + hexB : hexB;
189
- return "#" + hexR + hexG + hexB;
190
- }
191
- clear() {
192
- this.hideActions();
193
- }
194
- }
195
- export default TextColorTool;
196
-
197
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["COLOR_TOOL_CLASS","TextColorTool","constructor","api","config","button","colorPicker","_state","tag","color","class","themeColors","_CSS","colorBox","colorBoxActive","isInline","sanitize","span","el","classList","contains","style","state","toggle","styles","inlineToolButtonActive","render","document","createElement","type","innerHTML","add","inlineToolButton","renderActions","forEach","backgroundColor","addEventListener","childNodes","node","remove","appendChild","surround","range","unwrap","wrap","selectedText","extractContents","mark","insertNode","selection","expandToTag","findParentTag","text","showActions","onclick","hidden","hideActions","onchange","checkState","convertToHex","rgb","match","hexR","parseInt","toString","hexG","hexB","length","clear"],"sources":["index.ts"],"sourcesContent":["import type { API } from \"@editorjs/editorjs\";\n\nconst COLOR_TOOL_CLASS = \"cdx-text-color\";\n\ninterface Config {\n themeColors: string[];\n}\n\ninterface TextColorToolParams {\n api: API;\n config: Config;\n}\n\ninterface SanitizeResultSpanResult {\n class?: string;\n style?: CSSStyleDeclaration;\n}\ninterface SanitizeResult {\n span: (element: HTMLElement) => SanitizeResultSpanResult;\n}\n\nclass TextColorTool {\n private _state: boolean;\n private color: string;\n private readonly api: API;\n private readonly tag: string;\n private readonly class: string;\n private colorPicker: HTMLDivElement | null;\n private button: HTMLButtonElement | null;\n private readonly config: Config;\n private readonly _CSS: any;\n\n constructor({ api, config }: TextColorToolParams) {\n this.api = api;\n this.button = null;\n this.colorPicker = null;\n this._state = false;\n this.tag = \"SPAN\";\n this.color = \"red\";\n this.class = COLOR_TOOL_CLASS;\n this.config = config || { themeColors: [\"#44bd32\"] };\n this._CSS = {\n colorPicker: \"ce-text-color-tool\",\n colorBox: \"ce-text-color-tool__color-box\",\n colorBoxActive: \"ce-text-color-tool__color-box--active\"\n };\n }\n\n static get isInline(): boolean {\n return true;\n }\n\n /**\n * Sanitize method returns rules to let Editor know which HTML tags it should respect.\n * @returns {object} sanitizer configuration.\n * https://editorjs.io/sanitizer\n */\n static get sanitize(): SanitizeResult {\n // Block Tools are not connected with Inline ones,\n // so markup added by Inline Tool will be removed on pasting or on saving.\n // We need this config so that `class` & `style` attributes will remain intact for \"span\".\n return {\n /**\n * TODO: figure out the element type\n */\n span: (el: HTMLElement) => {\n // Respect `class` and `style` attributes if this condition is meet.\n if (el.classList.contains(COLOR_TOOL_CLASS)) {\n return {\n class: COLOR_TOOL_CLASS,\n style: el.style\n };\n }\n return {};\n }\n };\n }\n\n get state(): boolean {\n return this._state;\n }\n\n set state(state) {\n this._state = state;\n if (!this.button) {\n return;\n }\n this.button.classList.toggle(this.api.styles.inlineToolButtonActive, state);\n }\n /**\n * Render method must return HTML element of the button for Inline Toolbar.\n */\n public render(): HTMLButtonElement {\n this.button = document.createElement(\"button\");\n this.button.type = \"button\";\n this.button.innerHTML =\n '<svg width=\"20\" height=\"18\"><path d=\"M10.458 12.04l2.919 1.686-.781 1.417-.984-.03-.974 1.687H8.674l1.49-2.583-.508-.775.802-1.401zm.546-.952l3.624-6.327a1.597 1.597 0 0 1 2.182-.59 1.632 1.632 0 0 1 .615 2.201l-3.519 6.391-2.902-1.675zm-7.73 3.467h3.465a1.123 1.123 0 1 1 0 2.247H3.273a1.123 1.123 0 1 1 0-2.247z\"/></svg>';\n this.button.classList.add(this.api.styles.inlineToolButton);\n\n return this.button;\n }\n\n /**\n * Input for the link\n */\n public renderActions(): HTMLElement {\n // Create action element\n this.colorPicker = document.createElement(\"div\");\n // Add element properties\n this.colorPicker.classList.add(this._CSS.colorPicker);\n\n this.config.themeColors.forEach(color => {\n // create element\n const colorBox = document.createElement(\"button\");\n // add properties\n colorBox.style.backgroundColor = color;\n colorBox.classList.add(this._CSS.colorBox);\n\n colorBox.addEventListener(\"click\", () => {\n if (this.color === color) {\n // reset the color\n this.color = \"unset\";\n } else {\n // set color\n this.color = color;\n }\n\n if (this.colorPicker) {\n /**\n * TODO @ts-refactor\n * TS Complains there is no classList on child node.\n */\n this.colorPicker.childNodes.forEach((node: any) => {\n if (node.classList.contains(this._CSS.colorBoxActive)) {\n // remove active class\n node.classList.remove(this._CSS.colorBoxActive);\n }\n });\n }\n // add active class\n colorBox.classList.add(this._CSS.colorBoxActive);\n });\n if (!this.colorPicker) {\n return;\n }\n // save element\n this.colorPicker.appendChild(colorBox);\n });\n\n // Return element\n return this.colorPicker;\n }\n\n /**\n * Finally, when button is pressed Editor calls\n * surround method of the tool with Range object as an argument.\n */\n public surround(range: Range): void {\n if (this.state) {\n this.unwrap(range);\n return;\n }\n\n this.wrap(range);\n }\n\n public wrap(range: Range): void {\n const selectedText = range.extractContents();\n const mark = document.createElement(this.tag);\n\n mark.classList.add(this.class);\n\n mark.appendChild(selectedText);\n range.insertNode(mark);\n\n this.api.selection.expandToTag(mark);\n }\n\n public unwrap(range: Range): void {\n const mark = this.api.selection.findParentTag(this.tag, this.class);\n const text = range.extractContents();\n\n if (mark) {\n mark.remove();\n }\n\n range.insertNode(text);\n }\n\n public showActions(mark: HTMLElement): void {\n if (!this.colorPicker) {\n return;\n }\n this.colorPicker.onclick = () => {\n mark.style.color = this.color;\n };\n this.colorPicker.hidden = false;\n }\n\n public hideActions(): void {\n if (!this.colorPicker) {\n return;\n }\n this.colorPicker.onchange = null;\n this.colorPicker.hidden = true;\n }\n\n /**\n * CheckState method of each Inline Tool is called by Editor with current `Selection`\n * when user selects some text\n */\n public checkState(): void {\n const mark = this.api.selection.findParentTag(this.tag);\n\n this.state = !!mark;\n\n if (!!mark) {\n this.showActions(mark);\n } else {\n this.hideActions();\n }\n }\n\n public convertToHex(color: string): string {\n const rgb = color.match(/(\\d+)/g);\n if (!rgb) {\n return \"\";\n }\n\n let hexR = parseInt(rgb[0]).toString(16);\n let hexG = parseInt(rgb[1]).toString(16);\n let hexB = parseInt(rgb[2]).toString(16);\n\n hexR = hexR.length === 1 ? \"0\" + hexR : hexR;\n hexG = hexG.length === 1 ? \"0\" + hexG : hexG;\n hexB = hexB.length === 1 ? \"0\" + hexB : hexB;\n\n return \"#\" + hexR + hexG + hexB;\n }\n\n public clear(): void {\n this.hideActions();\n }\n}\n\nexport default TextColorTool;\n"],"mappings":"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","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- .ce-text-color-tool {
2
- display: grid;
3
- grid-template-columns: 1fr 1fr 1fr;
4
- grid-template-rows: 1fr 1fr 1fr;
5
- gap: 16px 16px;
6
- padding: 16px;
7
- border-top: 1px solid #eee;
8
- }
9
- .ce-text-color-tool__color-box {
10
- width: 42px;
11
- height: 30px;
12
- padding: 8px 12px;
13
- margin: 0;
14
- border: none;
15
- box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
16
- border-radius: 2px;
17
- cursor: pointer;
18
- }
19
- .ce-text-color-tool__color-box--active {
20
- border: 1px solid #616161;
21
- }
@@ -1,19 +0,0 @@
1
- export declare enum TextAlign {
2
- START = "start",
3
- END = "end",
4
- CENTER = "center"
5
- }
6
- export type Alignment = {
7
- name: TextAlign;
8
- svg: string;
9
- };
10
- export declare const ALIGNMENT_ICONS: {
11
- start: string;
12
- end: string;
13
- center: string;
14
- justify: string;
15
- };
16
- export declare const ALIGNMENTS: {
17
- name: TextAlign;
18
- svg: string;
19
- }[];
@@ -1,24 +0,0 @@
1
- export let TextAlign = /*#__PURE__*/function (TextAlign) {
2
- TextAlign["START"] = "start";
3
- TextAlign["END"] = "end";
4
- TextAlign["CENTER"] = "center";
5
- return TextAlign;
6
- }({});
7
- export const ALIGNMENT_ICONS = {
8
- start: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n' + ' <path fill="none" d="M0 0h24v24H0V0z"/>\n' + " <g>\n" + ' <path fill="currentColor" d="M14 15H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zm0-8H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zM4 13h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0 8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/>\n' + " </g>\n" + "</svg>",
9
- end: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n' + ' <path fill="none" d="M0 0h24v24H0V0z"/>\n' + " <g>\n" + ' <path fill="currentColor" d="M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1zm-6-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/>\n' + " </g>\n" + "</svg>",
10
- center: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n' + ' <path fill="none" d="M0 0h24v24H0V0z"/>\n' + " <g>\n" + ' <path fill="currentColor" d="M7 16c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zm-3 5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm3-5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/>\n' + " </g>\n" + "</svg>",
11
- justify: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n' + ' <path fill="none" d="M0 0h24v24H0V0z"/>\n' + " <g>\n" + ' <path fill="currentColor" d="M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/>\n' + " </g>\n" + "</svg>"
12
- };
13
- export const ALIGNMENTS = [{
14
- name: TextAlign.START,
15
- svg: ALIGNMENT_ICONS.start
16
- }, {
17
- name: TextAlign.CENTER,
18
- svg: ALIGNMENT_ICONS.center
19
- }, {
20
- name: TextAlign.END,
21
- svg: ALIGNMENT_ICONS.end
22
- }];
23
-
24
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["TextAlign","ALIGNMENT_ICONS","start","end","center","justify","ALIGNMENTS","name","START","svg","CENTER","END"],"sources":["utils.ts"],"sourcesContent":["export enum TextAlign {\n START = \"start\",\n END = \"end\",\n CENTER = \"center\"\n}\n\nexport type Alignment = {\n name: TextAlign;\n svg: string;\n};\n\nexport const ALIGNMENT_ICONS = {\n start:\n '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n' +\n ' <path fill=\"none\" d=\"M0 0h24v24H0V0z\"/>\\n' +\n \" <g>\\n\" +\n ' <path fill=\"currentColor\" d=\"M14 15H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zm0-8H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zM4 13h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0 8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z\"/>\\n' +\n \" </g>\\n\" +\n \"</svg>\",\n end:\n '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n' +\n ' <path fill=\"none\" d=\"M0 0h24v24H0V0z\"/>\\n' +\n \" <g>\\n\" +\n ' <path fill=\"currentColor\" d=\"M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1zm-6-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z\"/>\\n' +\n \" </g>\\n\" +\n \"</svg>\",\n center:\n '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n' +\n ' <path fill=\"none\" d=\"M0 0h24v24H0V0z\"/>\\n' +\n \" <g>\\n\" +\n ' <path fill=\"currentColor\" d=\"M7 16c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zm-3 5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm3-5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z\"/>\\n' +\n \" </g>\\n\" +\n \"</svg>\",\n justify:\n '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n' +\n ' <path fill=\"none\" d=\"M0 0h24v24H0V0z\"/>\\n' +\n \" <g>\\n\" +\n ' <path fill=\"currentColor\" d=\"M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z\"/>\\n' +\n \" </g>\\n\" +\n \"</svg>\"\n};\n\nexport const ALIGNMENTS = [\n {\n name: TextAlign.START,\n svg: ALIGNMENT_ICONS.start\n },\n {\n name: TextAlign.CENTER,\n svg: ALIGNMENT_ICONS.center\n },\n {\n name: TextAlign.END,\n svg: ALIGNMENT_ICONS.end\n }\n];\n"],"mappings":"AAAA,WAAYA,SAAS,0BAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAAA,OAATA,SAAS;AAAA;AAWrB,OAAO,MAAMC,eAAe,GAAG;EAC3BC,KAAK,EACD,mEAAmE,GACnE,6CAA6C,GAC7C,SAAS,GACT,gXAAgX,GAChX,UAAU,GACV,QAAQ;EACZC,GAAG,EACC,mEAAmE,GACnE,6CAA6C,GAC7C,SAAS,GACT,iXAAiX,GACjX,UAAU,GACV,QAAQ;EACZC,MAAM,EACF,mEAAmE,GACnE,6CAA6C,GAC7C,SAAS,GACT,uXAAuX,GACvX,UAAU,GACV,QAAQ;EACZC,OAAO,EACH,mEAAmE,GACnE,6CAA6C,GAC7C,SAAS,GACT,8WAA8W,GAC9W,UAAU,GACV;AACR,CAAC;AAED,OAAO,MAAMC,UAAU,GAAG,CACtB;EACIC,IAAI,EAAEP,SAAS,CAACQ,KAAK;EACrBC,GAAG,EAAER,eAAe,CAACC;AACzB,CAAC,EACD;EACIK,IAAI,EAAEP,SAAS,CAACU,MAAM;EACtBD,GAAG,EAAER,eAAe,CAACG;AACzB,CAAC,EACD;EACIG,IAAI,EAAEP,SAAS,CAACW,GAAG;EACnBF,GAAG,EAAER,eAAe,CAACE;AACzB,CAAC,CACJ","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface RoutesProps {
3
- routes: JSX.Element[];
4
- }
5
- export declare const Routes: (props: RoutesProps) => React.JSX.Element;
6
- export {};
@@ -1,34 +0,0 @@
1
- import React from "react";
2
- import { plugins } from "@webiny/plugins";
3
- import { Routes as ReactRouterRoutes } from "@webiny/react-router";
4
- export const Routes = props => {
5
- const routes = [...props.routes,
6
- // For backwards compatibility, we need to support the RoutePlugin routes as well.
7
- ...plugins.byType("route").map(({
8
- route
9
- }) => route)].sort((a, b) => {
10
- const pathA = a.props.path || "*";
11
- const pathB = b.props.path || "*";
12
-
13
- // This will sort paths at the very bottom of the list
14
- if (pathA === "/" && pathB === "*") {
15
- return -1;
16
- }
17
-
18
- // This will push * and / to the bottom of the list
19
- if (pathA === "*" || pathA === "/") {
20
- return 1;
21
- }
22
-
23
- // This will push * and / to the bottom of the list
24
- if (["*", "/"].includes(pathB)) {
25
- return -1;
26
- }
27
- return 0;
28
- });
29
- return /*#__PURE__*/React.createElement(ReactRouterRoutes, null, routes.map((route, index) => /*#__PURE__*/React.cloneElement(route, {
30
- key: `${route.props.path}:${index}`
31
- })));
32
- };
33
-
34
- //# sourceMappingURL=Routes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","plugins","Routes","ReactRouterRoutes","props","routes","byType","map","route","sort","a","b","pathA","path","pathB","includes","createElement","index","cloneElement","key"],"sources":["Routes.tsx"],"sourcesContent":["import React from \"react\";\nimport { plugins } from \"@webiny/plugins\";\nimport { Routes as ReactRouterRoutes } from \"@webiny/react-router\";\nimport type { RoutePlugin } from \"@webiny/app/types\";\n\ninterface RoutesProps {\n routes: JSX.Element[];\n}\n\nexport const Routes = (props: RoutesProps) => {\n const routes = [\n ...props.routes,\n // For backwards compatibility, we need to support the RoutePlugin routes as well.\n ...plugins.byType<RoutePlugin>(\"route\").map(({ route }) => route)\n ].sort((a, b) => {\n const pathA = a.props.path || \"*\";\n const pathB = b.props.path || \"*\";\n\n // This will sort paths at the very bottom of the list\n if (pathA === \"/\" && pathB === \"*\") {\n return -1;\n }\n\n // This will push * and / to the bottom of the list\n if (pathA === \"*\" || pathA === \"/\") {\n return 1;\n }\n\n // This will push * and / to the bottom of the list\n if ([\"*\", \"/\"].includes(pathB)) {\n return -1;\n }\n\n return 0;\n });\n\n return (\n <ReactRouterRoutes>\n {routes.map((route, index) =>\n React.cloneElement(route, { key: `${route.props.path}:${index}` })\n )}\n </ReactRouterRoutes>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,iBAAiB;AACzC,SAASC,MAAM,IAAIC,iBAAiB,QAAQ,sBAAsB;AAOlE,OAAO,MAAMD,MAAM,GAAIE,KAAkB,IAAK;EAC1C,MAAMC,MAAM,GAAG,CACX,GAAGD,KAAK,CAACC,MAAM;EACf;EACA,GAAGJ,OAAO,CAACK,MAAM,CAAc,OAAO,CAAC,CAACC,GAAG,CAAC,CAAC;IAAEC;EAAM,CAAC,KAAKA,KAAK,CAAC,CACpE,CAACC,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAK;IACb,MAAMC,KAAK,GAAGF,CAAC,CAACN,KAAK,CAACS,IAAI,IAAI,GAAG;IACjC,MAAMC,KAAK,GAAGH,CAAC,CAACP,KAAK,CAACS,IAAI,IAAI,GAAG;;IAEjC;IACA,IAAID,KAAK,KAAK,GAAG,IAAIE,KAAK,KAAK,GAAG,EAAE;MAChC,OAAO,CAAC,CAAC;IACb;;IAEA;IACA,IAAIF,KAAK,KAAK,GAAG,IAAIA,KAAK,KAAK,GAAG,EAAE;MAChC,OAAO,CAAC;IACZ;;IAEA;IACA,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAACG,QAAQ,CAACD,KAAK,CAAC,EAAE;MAC5B,OAAO,CAAC,CAAC;IACb;IAEA,OAAO,CAAC;EACZ,CAAC,CAAC;EAEF,oBACId,KAAA,CAAAgB,aAAA,CAACb,iBAAiB,QACbE,MAAM,CAACE,GAAG,CAAC,CAACC,KAAK,EAAES,KAAK,kBACrBjB,KAAK,CAACkB,YAAY,CAACV,KAAK,EAAE;IAAEW,GAAG,EAAE,GAAGX,KAAK,CAACJ,KAAK,CAACS,IAAI,IAAII,KAAK;EAAG,CAAC,CACrE,CACe,CAAC;AAE5B,CAAC","ignoreList":[]}
@@ -1,22 +0,0 @@
1
- import type React from "react";
2
- import { Plugin } from "@webiny/plugins";
3
- interface Permission {
4
- name: string;
5
- [key: string]: any;
6
- }
7
- interface RenderParams {
8
- value: Permission[];
9
- onChange: (value: Permission[]) => void;
10
- }
11
- interface Config {
12
- render(props: RenderParams): React.ReactElement;
13
- system?: boolean;
14
- }
15
- export declare class PermissionRendererPlugin extends Plugin {
16
- static readonly type: string;
17
- private readonly _config;
18
- constructor(config?: Config);
19
- get system(): boolean;
20
- render(props: RenderParams): React.ReactElement | null;
21
- }
22
- export {};
@@ -1,19 +0,0 @@
1
- import { Plugin } from "@webiny/plugins";
2
- export class PermissionRendererPlugin extends Plugin {
3
- static type = "admin-app-permissions-renderer";
4
- constructor(config) {
5
- super();
6
- this._config = config || {};
7
- }
8
- get system() {
9
- return Boolean(this._config.system);
10
- }
11
- render(props) {
12
- if (!this._config.render) {
13
- return null;
14
- }
15
- return this._config.render(props);
16
- }
17
- }
18
-
19
- //# sourceMappingURL=PermissionRendererPlugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Plugin","PermissionRendererPlugin","type","constructor","config","_config","system","Boolean","render","props"],"sources":["PermissionRendererPlugin.ts"],"sourcesContent":["import type React from \"react\";\nimport { Plugin } from \"@webiny/plugins\";\n\ninterface Permission {\n name: string;\n [key: string]: any;\n}\n\ninterface RenderParams {\n value: Permission[];\n onChange: (value: Permission[]) => void;\n}\n\ninterface Config {\n render(props: RenderParams): React.ReactElement;\n system?: boolean;\n}\n\nexport class PermissionRendererPlugin extends Plugin {\n public static override readonly type: string = \"admin-app-permissions-renderer\";\n private readonly _config: Partial<Config>;\n\n public constructor(config?: Config) {\n super();\n this._config = config || {};\n }\n\n get system(): boolean {\n return Boolean(this._config.system);\n }\n\n public render(props: RenderParams): React.ReactElement | null {\n if (!this._config.render) {\n return null;\n }\n return this._config.render(props);\n }\n}\n"],"mappings":"AACA,SAASA,MAAM,QAAQ,iBAAiB;AAiBxC,OAAO,MAAMC,wBAAwB,SAASD,MAAM,CAAC;EACjD,OAAgCE,IAAI,GAAW,gCAAgC;EAGxEC,WAAWA,CAACC,MAAe,EAAE;IAChC,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,OAAO,GAAGD,MAAM,IAAI,CAAC,CAAC;EAC/B;EAEA,IAAIE,MAAMA,CAAA,EAAY;IAClB,OAAOC,OAAO,CAAC,IAAI,CAACF,OAAO,CAACC,MAAM,CAAC;EACvC;EAEOE,MAAMA,CAACC,KAAmB,EAA6B;IAC1D,IAAI,CAAC,IAAI,CAACJ,OAAO,CAACG,MAAM,EAAE;MACtB,OAAO,IAAI;IACf;IACA,OAAO,IAAI,CAACH,OAAO,CAACG,MAAM,CAACC,KAAK,CAAC;EACrC;AACJ","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import { UILayoutPlugin } from "../../ui/UILayout";
2
- export declare const uiLayoutPlugin: UILayoutPlugin<import("@webiny/ui-composer/UILayout").UILayout>;
@@ -1,53 +0,0 @@
1
- import React, { Fragment } from "react";
2
- import { Cell, Grid, GridInner } from "@webiny/ui/Grid";
3
- import { UILayoutPlugin } from "../../ui/UILayout";
4
- function getElementKey(element) {
5
- return `${element.constructor.name}:${element.id}`;
6
- }
7
- const ElementID = ({
8
- children
9
- }) => {
10
- return children;
11
- };
12
- export const uiLayoutPlugin = new UILayoutPlugin(layout => {
13
- layout.setRenderer(({
14
- layout,
15
- props,
16
- hasParentGrid
17
- }) => {
18
- if (!layout.getGrid()) {
19
- return /*#__PURE__*/React.createElement(Fragment, null, layout.getLayout().map((row, index) => /*#__PURE__*/React.createElement(Fragment, {
20
- key: index
21
- }, row.map(item => {
22
- const element = layout.getElement(item.element);
23
- if (!element) {
24
- console.warn(`Element "${item.element}" was not found!`);
25
- return null;
26
- }
27
- if (!element.shouldRender(props)) {
28
- return null;
29
- }
30
- return /*#__PURE__*/React.createElement(ElementID, {
31
- key: getElementKey(element)
32
- }, element.render(props));
33
- }))));
34
- }
35
- const GridComponent = hasParentGrid ? GridInner : Grid;
36
- return /*#__PURE__*/React.createElement(GridComponent, null, layout.getLayout().map((row, index) => /*#__PURE__*/React.createElement(Fragment, {
37
- key: index
38
- }, row.map(item => {
39
- const element = layout.getElement(item.element);
40
- if (!element.shouldRender(props)) {
41
- return null;
42
- }
43
- return /*#__PURE__*/React.createElement(Cell, {
44
- key: item.element,
45
- span: item.width
46
- }, /*#__PURE__*/React.createElement(ElementID, {
47
- key: getElementKey(element)
48
- }, element.render(props)));
49
- }))));
50
- });
51
- });
52
-
53
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Fragment","Cell","Grid","GridInner","UILayoutPlugin","getElementKey","element","constructor","name","id","ElementID","children","uiLayoutPlugin","layout","setRenderer","props","hasParentGrid","getGrid","createElement","getLayout","map","row","index","key","item","getElement","console","warn","shouldRender","render","GridComponent","span","width"],"sources":["index.tsx"],"sourcesContent":["import React, { Fragment } from \"react\";\nimport { Cell, Grid, GridInner } from \"@webiny/ui/Grid\";\nimport { UILayoutPlugin } from \"~/ui/UILayout\";\nimport type { UIElement } from \"~/ui/UIElement\";\n\ninterface ElementIDProps {\n children: React.ReactNode;\n}\n\nfunction getElementKey(element: UIElement) {\n return `${element.constructor.name}:${element.id}`;\n}\n\nconst ElementID = ({ children }: ElementIDProps) => {\n return children as unknown as React.ReactElement;\n};\n\nexport const uiLayoutPlugin = new UILayoutPlugin(layout => {\n layout.setRenderer(({ layout, props, hasParentGrid }) => {\n if (!layout.getGrid()) {\n return (\n <Fragment>\n {layout.getLayout().map((row, index) => (\n <Fragment key={index}>\n {row.map(item => {\n const element = layout.getElement(item.element);\n\n if (!element) {\n console.warn(`Element \"${item.element}\" was not found!`);\n return null;\n }\n\n if (!element.shouldRender(props)) {\n return null;\n }\n\n return (\n <ElementID key={getElementKey(element)}>\n {element.render(props)}\n </ElementID>\n );\n })}\n </Fragment>\n ))}\n </Fragment>\n );\n }\n\n const GridComponent = hasParentGrid ? GridInner : Grid;\n\n return (\n <GridComponent>\n {layout.getLayout().map((row, index) => (\n <Fragment key={index}>\n {row.map(item => {\n const element = layout.getElement(item.element);\n if (!element.shouldRender(props)) {\n return null;\n }\n return (\n <Cell key={item.element} span={item.width}>\n <ElementID key={getElementKey(element)}>\n {element.render(props)}\n </ElementID>\n </Cell>\n );\n })}\n </Fragment>\n ))}\n </GridComponent>\n );\n });\n});\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,IAAI,EAAEC,SAAS,QAAQ,iBAAiB;AACvD,SAASC,cAAc;AAOvB,SAASC,aAAaA,CAACC,OAAkB,EAAE;EACvC,OAAO,GAAGA,OAAO,CAACC,WAAW,CAACC,IAAI,IAAIF,OAAO,CAACG,EAAE,EAAE;AACtD;AAEA,MAAMC,SAAS,GAAGA,CAAC;EAAEC;AAAyB,CAAC,KAAK;EAChD,OAAOA,QAAQ;AACnB,CAAC;AAED,OAAO,MAAMC,cAAc,GAAG,IAAIR,cAAc,CAACS,MAAM,IAAI;EACvDA,MAAM,CAACC,WAAW,CAAC,CAAC;IAAED,MAAM;IAAEE,KAAK;IAAEC;EAAc,CAAC,KAAK;IACrD,IAAI,CAACH,MAAM,CAACI,OAAO,CAAC,CAAC,EAAE;MACnB,oBACIlB,KAAA,CAAAmB,aAAA,CAAClB,QAAQ,QACJa,MAAM,CAACM,SAAS,CAAC,CAAC,CAACC,GAAG,CAAC,CAACC,GAAG,EAAEC,KAAK,kBAC/BvB,KAAA,CAAAmB,aAAA,CAAClB,QAAQ;QAACuB,GAAG,EAAED;MAAM,GAChBD,GAAG,CAACD,GAAG,CAACI,IAAI,IAAI;QACb,MAAMlB,OAAO,GAAGO,MAAM,CAACY,UAAU,CAACD,IAAI,CAAClB,OAAO,CAAC;QAE/C,IAAI,CAACA,OAAO,EAAE;UACVoB,OAAO,CAACC,IAAI,CAAC,YAAYH,IAAI,CAAClB,OAAO,kBAAkB,CAAC;UACxD,OAAO,IAAI;QACf;QAEA,IAAI,CAACA,OAAO,CAACsB,YAAY,CAACb,KAAK,CAAC,EAAE;UAC9B,OAAO,IAAI;QACf;QAEA,oBACIhB,KAAA,CAAAmB,aAAA,CAACR,SAAS;UAACa,GAAG,EAAElB,aAAa,CAACC,OAAO;QAAE,GAClCA,OAAO,CAACuB,MAAM,CAACd,KAAK,CACd,CAAC;MAEpB,CAAC,CACK,CACb,CACK,CAAC;IAEnB;IAEA,MAAMe,aAAa,GAAGd,aAAa,GAAGb,SAAS,GAAGD,IAAI;IAEtD,oBACIH,KAAA,CAAAmB,aAAA,CAACY,aAAa,QACTjB,MAAM,CAACM,SAAS,CAAC,CAAC,CAACC,GAAG,CAAC,CAACC,GAAG,EAAEC,KAAK,kBAC/BvB,KAAA,CAAAmB,aAAA,CAAClB,QAAQ;MAACuB,GAAG,EAAED;IAAM,GAChBD,GAAG,CAACD,GAAG,CAACI,IAAI,IAAI;MACb,MAAMlB,OAAO,GAAGO,MAAM,CAACY,UAAU,CAACD,IAAI,CAAClB,OAAO,CAAC;MAC/C,IAAI,CAACA,OAAO,CAACsB,YAAY,CAACb,KAAK,CAAC,EAAE;QAC9B,OAAO,IAAI;MACf;MACA,oBACIhB,KAAA,CAAAmB,aAAA,CAACjB,IAAI;QAACsB,GAAG,EAAEC,IAAI,CAAClB,OAAQ;QAACyB,IAAI,EAAEP,IAAI,CAACQ;MAAM,gBACtCjC,KAAA,CAAAmB,aAAA,CAACR,SAAS;QAACa,GAAG,EAAElB,aAAa,CAACC,OAAO;MAAE,GAClCA,OAAO,CAACuB,MAAM,CAACd,KAAK,CACd,CACT,CAAC;IAEf,CAAC,CACK,CACb,CACU,CAAC;EAExB,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
package/ui/UIElement.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export type { UIElementConfig, ApplyFunction, ShouldRender, UiElementRenderProps } from "@webiny/ui-composer/UIElement";
2
- export { UIElement, UIElementPlugin } from "@webiny/ui-composer/UIElement";
package/ui/UIElement.js DELETED
@@ -1,3 +0,0 @@
1
- export { UIElement, UIElementPlugin } from "@webiny/ui-composer/UIElement";
2
-
3
- //# sourceMappingURL=UIElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["UIElement","UIElementPlugin"],"sources":["UIElement.tsx"],"sourcesContent":["export type {\n UIElementConfig,\n ApplyFunction,\n ShouldRender,\n UiElementRenderProps\n} from \"@webiny/ui-composer/UIElement\";\n\nexport { UIElement, UIElementPlugin } from \"@webiny/ui-composer/UIElement\";\n"],"mappings":"AAOA,SAASA,SAAS,EAAEC,eAAe,QAAQ,+BAA+B","ignoreList":[]}
package/ui/UILayout.d.ts DELETED
@@ -1 +0,0 @@
1
- export { UILayout, UILayoutPlugin } from "@webiny/ui-composer/UILayout";
package/ui/UILayout.js DELETED
@@ -1,3 +0,0 @@
1
- export { UILayout, UILayoutPlugin } from "@webiny/ui-composer/UILayout";
2
-
3
- //# sourceMappingURL=UILayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["UILayout","UILayoutPlugin"],"sources":["UILayout.tsx"],"sourcesContent":["export { UILayout, UILayoutPlugin } from \"@webiny/ui-composer/UILayout\";\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,cAAc,QAAQ,8BAA8B","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export { UIRenderer } from "@webiny/ui-composer/UIRenderer";
2
- export type { UIRenderParams, RenderNext } from "@webiny/ui-composer/UIRenderer";
package/ui/UIRenderer.js DELETED
@@ -1,3 +0,0 @@
1
- export { UIRenderer } from "@webiny/ui-composer/UIRenderer";
2
-
3
- //# sourceMappingURL=UIRenderer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["UIRenderer"],"sources":["UIRenderer.tsx"],"sourcesContent":["export { UIRenderer } from \"@webiny/ui-composer/UIRenderer\";\nexport type { UIRenderParams, RenderNext } from \"@webiny/ui-composer/UIRenderer\";\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,gCAAgC","ignoreList":[]}
package/ui/UIView.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export type { ApplyFunction, UIElementWrapperProps, UIElementWrapper, UIViewProps } from "@webiny/ui-composer/UIView";
2
- export { UIView, UIViewComponent, UIViewPlugin } from "@webiny/ui-composer/UIView";
package/ui/UIView.js DELETED
@@ -1,3 +0,0 @@
1
- export { UIView, UIViewComponent, UIViewPlugin } from "@webiny/ui-composer/UIView";
2
-
3
- //# sourceMappingURL=UIView.js.map
package/ui/UIView.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"names":["UIView","UIViewComponent","UIViewPlugin"],"sources":["UIView.tsx"],"sourcesContent":["export type {\n ApplyFunction,\n UIElementWrapperProps,\n UIElementWrapper,\n UIViewProps\n} from \"@webiny/ui-composer/UIView\";\nexport { UIView, UIViewComponent, UIViewPlugin } from \"@webiny/ui-composer/UIView\";\n"],"mappings":"AAMA,SAASA,MAAM,EAAEC,eAAe,EAAEC,YAAY,QAAQ,4BAA4B","ignoreList":[]}