@webiny/app-admin 0.0.0-unstable.eb196ccd2f → 0.0.0-unstable.f6dc066313

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 (920) hide show
  1. package/README.md +7 -17
  2. package/base/Admin.d.ts +5 -2
  3. package/base/Admin.js +34 -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 +37 -42
  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 +6 -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/DeveloperMode/DeveloperMode.d.ts +11 -0
  107. package/components/DeveloperMode/DeveloperMode.js +17 -0
  108. package/components/DeveloperMode/DeveloperMode.js.map +1 -0
  109. package/components/DeveloperMode/index.d.ts +2 -0
  110. package/components/DeveloperMode/index.js +3 -0
  111. package/components/DeveloperMode/index.js.map +1 -0
  112. package/components/Dialogs/Dialog.js +2 -2
  113. package/components/Dialogs/Dialog.js.map +1 -1
  114. package/components/Dialogs/DialogsContext.d.ts +1 -6
  115. package/components/Dialogs/DialogsContext.js +14 -23
  116. package/components/Dialogs/DialogsContext.js.map +1 -1
  117. package/components/Dialogs/useDialogs.d.ts +1 -2
  118. package/components/Dialogs/useDialogs.js +1 -2
  119. package/components/Dialogs/useDialogs.js.map +1 -1
  120. package/components/EmptyView.d.ts +1 -2
  121. package/components/EmptyView.js +6 -7
  122. package/components/EmptyView.js.map +1 -1
  123. package/components/Filters/Filters.d.ts +1 -1
  124. package/components/Filters/Filters.js +2 -2
  125. package/components/Filters/Filters.js.map +1 -1
  126. package/components/Filters/index.d.ts +2 -2
  127. package/components/Filters/index.js +2 -2
  128. package/components/Filters/index.js.map +1 -1
  129. package/components/FloatingActionButton.js +1 -1
  130. package/components/FloatingActionButton.js.map +1 -1
  131. package/components/FloatingPanel.js +4 -6
  132. package/components/FloatingPanel.js.map +1 -1
  133. package/components/IconPicker/IconPicker.d.ts +3 -3
  134. package/components/IconPicker/IconPicker.js +6 -6
  135. package/components/IconPicker/IconPicker.js.map +1 -1
  136. package/components/IconPicker/IconPickerComponent.d.ts +3 -3
  137. package/components/IconPicker/IconPickerComponent.js +4 -4
  138. package/components/IconPicker/IconPickerComponent.js.map +1 -1
  139. package/components/IconPicker/IconPickerPresenter.d.ts +3 -3
  140. package/components/IconPicker/IconPickerPresenter.js.map +1 -1
  141. package/components/IconPicker/IconPickerPresenter.test.js +3 -2
  142. package/components/IconPicker/IconPickerPresenter.test.js.map +1 -1
  143. package/components/IconPicker/IconPickerPresenterProvider.d.ts +1 -1
  144. package/components/IconPicker/IconPickerPresenterProvider.js.map +1 -1
  145. package/components/IconPicker/IconPickerTab.d.ts +1 -1
  146. package/components/IconPicker/IconPickerTab.js +10 -10
  147. package/components/IconPicker/IconPickerTab.js.map +1 -1
  148. package/components/IconPicker/IconRenderer.d.ts +1 -1
  149. package/components/IconPicker/IconRenderer.js.map +1 -1
  150. package/components/IconPicker/IconRepository.d.ts +2 -2
  151. package/components/IconPicker/IconRepository.js +2 -2
  152. package/components/IconPicker/IconRepository.js.map +1 -1
  153. package/components/IconPicker/IconRepository.test.js +2 -1
  154. package/components/IconPicker/IconRepository.test.js.map +1 -1
  155. package/components/IconPicker/IconRepositoryFactory.d.ts +2 -2
  156. package/components/IconPicker/IconRepositoryFactory.js +1 -1
  157. package/components/IconPicker/IconRepositoryFactory.js.map +1 -1
  158. package/components/IconPicker/components/IconPickerCell.d.ts +2 -2
  159. package/components/IconPicker/components/IconPickerCell.js +3 -3
  160. package/components/IconPicker/components/IconPickerCell.js.map +1 -1
  161. package/components/IconPicker/components/IconPickerContent.d.ts +1 -1
  162. package/components/IconPicker/components/IconPickerContent.js +4 -4
  163. package/components/IconPicker/components/IconPickerContent.js.map +1 -1
  164. package/components/IconPicker/components/IconPickerRow.js +1 -1
  165. package/components/IconPicker/components/IconPickerRow.js.map +1 -1
  166. package/components/IconPicker/components/IconPickerTrigger.d.ts +1 -1
  167. package/components/IconPicker/components/IconPickerTrigger.js +7 -7
  168. package/components/IconPicker/components/IconPickerTrigger.js.map +1 -1
  169. package/components/IconPicker/components/index.d.ts +4 -4
  170. package/components/IconPicker/components/index.js +4 -4
  171. package/components/IconPicker/components/index.js.map +1 -1
  172. package/components/IconPicker/config/Emojis.js +1 -1
  173. package/components/IconPicker/config/Emojis.js.map +1 -1
  174. package/components/IconPicker/config/FontAwesomeIcons.js +1 -1
  175. package/components/IconPicker/config/FontAwesomeIcons.js.map +1 -1
  176. package/components/IconPicker/config/IconPackProvider.d.ts +1 -1
  177. package/components/IconPicker/config/IconPackProvider.js.map +1 -1
  178. package/components/IconPicker/config/IconType.js +2 -2
  179. package/components/IconPicker/config/IconType.js.map +1 -1
  180. package/components/IconPicker/config/index.d.ts +3 -3
  181. package/components/IconPicker/config/index.js +7 -7
  182. package/components/IconPicker/config/index.js.map +1 -1
  183. package/components/IconPicker/index.d.ts +7 -7
  184. package/components/IconPicker/index.js +6 -6
  185. package/components/IconPicker/index.js.map +1 -1
  186. package/components/IconPicker/plugins/customPlugin.js +19 -24
  187. package/components/IconPicker/plugins/customPlugin.js.map +1 -1
  188. package/components/IconPicker/plugins/emojisPlugin.js +9 -9
  189. package/components/IconPicker/plugins/emojisPlugin.js.map +1 -1
  190. package/components/IconPicker/plugins/iconsPlugin.js +4 -4
  191. package/components/IconPicker/plugins/iconsPlugin.js.map +1 -1
  192. package/components/IconPicker/types.js.map +1 -1
  193. package/components/LexicalEditor/LexicalEditor.d.ts +9 -5
  194. package/components/LexicalEditor/LexicalEditor.js +32 -21
  195. package/components/LexicalEditor/LexicalEditor.js.map +1 -1
  196. package/components/LexicalEditor/LexicalLinkForm.d.ts +6 -0
  197. package/components/LexicalEditor/LexicalLinkForm.js +92 -0
  198. package/components/LexicalEditor/LexicalLinkForm.js.map +1 -0
  199. package/components/LexicalEditor/index.d.ts +3 -1
  200. package/components/LexicalEditor/index.js +3 -1
  201. package/components/LexicalEditor/index.js.map +1 -1
  202. package/components/LexicalEditor/lexicalValueWithHtml.d.ts +7 -0
  203. package/components/LexicalEditor/lexicalValueWithHtml.js +36 -0
  204. package/components/LexicalEditor/lexicalValueWithHtml.js.map +1 -0
  205. package/components/NavigationPrompt.d.ts +27 -0
  206. package/components/NavigationPrompt.js +39 -0
  207. package/components/NavigationPrompt.js.map +1 -0
  208. package/components/NotAuthorizedError/NotAuthorizedError.d.ts +2 -0
  209. package/components/NotAuthorizedError/NotAuthorizedError.js +20 -0
  210. package/components/NotAuthorizedError/NotAuthorizedError.js.map +1 -0
  211. package/components/NotAuthorizedError/SecureRouteError.svg +1 -0
  212. package/components/NotAuthorizedError/index.d.ts +1 -0
  213. package/components/NotAuthorizedError/index.js +3 -0
  214. package/components/NotAuthorizedError/index.js.map +1 -0
  215. package/components/OptionsMenu/OptionsMenu.js +1 -1
  216. package/components/OptionsMenu/OptionsMenu.js.map +1 -1
  217. package/components/OptionsMenu/index.d.ts +4 -4
  218. package/components/OptionsMenu/index.js +4 -4
  219. package/components/OptionsMenu/index.js.map +1 -1
  220. package/components/OptionsMenu/useOptionsMenuItem.d.ts +2 -2
  221. package/components/OptionsMenu/useOptionsMenuItem.js +2 -2
  222. package/components/OptionsMenu/useOptionsMenuItem.js.map +1 -1
  223. package/components/OverlayLayout/OverlayLayout.d.ts +1 -1
  224. package/components/OverlayLayout/OverlayLayout.js +8 -11
  225. package/components/OverlayLayout/OverlayLayout.js.map +1 -1
  226. package/components/OverlayLayout/components/OverlayBackdrop.js +1 -1
  227. package/components/OverlayLayout/components/OverlayBackdrop.js.map +1 -1
  228. package/components/OverlayLayout/components/OverlayContent.js +1 -1
  229. package/components/OverlayLayout/components/OverlayContent.js.map +1 -1
  230. package/components/OverlayLayout/components/OverlayHeader.js +3 -3
  231. package/components/OverlayLayout/components/OverlayHeader.js.map +1 -1
  232. package/components/OverlayLayout/components/OverlayRoot.js +1 -1
  233. package/components/OverlayLayout/components/OverlayRoot.js.map +1 -1
  234. package/components/OverlayLayout/components/index.d.ts +4 -4
  235. package/components/OverlayLayout/components/index.js +4 -4
  236. package/components/OverlayLayout/components/index.js.map +1 -1
  237. package/components/OverlayLayout/index.d.ts +1 -1
  238. package/components/OverlayLayout/index.js +1 -1
  239. package/components/OverlayLayout/index.js.map +1 -1
  240. package/components/Permissions/Permissions.d.ts +1 -3
  241. package/components/Permissions/Permissions.js +37 -31
  242. package/components/Permissions/Permissions.js.map +1 -1
  243. package/components/Permissions/PermissionsGroup.js +2 -2
  244. package/components/Permissions/PermissionsGroup.js.map +1 -1
  245. package/components/Permissions/StyledComponents.js +1 -1
  246. package/components/Permissions/StyledComponents.js.map +1 -1
  247. package/components/Permissions/index.d.ts +4 -4
  248. package/components/Permissions/index.js +4 -4
  249. package/components/Permissions/index.js.map +1 -1
  250. package/components/RegisterFeature.d.ts +11 -0
  251. package/components/RegisterFeature.js +26 -0
  252. package/components/RegisterFeature.js.map +1 -0
  253. package/components/ResizablePanels/index.d.ts +1 -1
  254. package/components/ResizablePanels/index.js +1 -1
  255. package/components/ResizablePanels/index.js.map +1 -1
  256. package/components/RoleAutocomplete/graphql.d.ts +1 -0
  257. package/components/RoleAutocomplete/graphql.js +18 -0
  258. package/components/RoleAutocomplete/graphql.js.map +1 -0
  259. package/components/RoleAutocomplete/index.d.ts +5 -0
  260. package/components/RoleAutocomplete/index.js +18 -0
  261. package/components/RoleAutocomplete/index.js.map +1 -0
  262. package/components/RolesMultiAutocomplete/graphql.d.ts +1 -0
  263. package/components/RolesMultiAutocomplete/graphql.js +23 -0
  264. package/components/RolesMultiAutocomplete/graphql.js.map +1 -0
  265. package/components/RolesMultiAutocomplete/index.d.ts +5 -0
  266. package/components/RolesMultiAutocomplete/index.js +19 -0
  267. package/components/RolesMultiAutocomplete/index.js.map +1 -0
  268. package/components/SearchUI.d.ts +1 -2
  269. package/components/SearchUI.js +1 -2
  270. package/components/SearchUI.js.map +1 -1
  271. package/components/SimpleForm/SimpleForm.d.ts +1 -1
  272. package/components/SimpleForm/SimpleForm.js +10 -10
  273. package/components/SimpleForm/SimpleForm.js.map +1 -1
  274. package/components/SimpleForm/index.d.ts +1 -1
  275. package/components/SimpleForm/index.js +1 -1
  276. package/components/SimpleForm/index.js.map +1 -1
  277. package/components/SimpleUI/InputField.js +3 -3
  278. package/components/SimpleUI/InputField.js.map +1 -1
  279. package/components/SingleImageUpload.d.ts +3 -8
  280. package/components/SingleImageUpload.js +1 -1
  281. package/components/SingleImageUpload.js.map +1 -1
  282. package/components/SplitView/SplitView.d.ts +7 -7
  283. package/components/SplitView/SplitView.js +20 -12
  284. package/components/SplitView/SplitView.js.map +1 -1
  285. package/components/SplitView/index.d.ts +1 -1
  286. package/components/SplitView/index.js +1 -1
  287. package/components/SplitView/index.js.map +1 -1
  288. package/components/StateInspector.js +1 -1
  289. package/components/StateInspector.js.map +1 -1
  290. package/components/TeamAutocomplete/graphql.d.ts +1 -0
  291. package/components/TeamAutocomplete/graphql.js +18 -0
  292. package/components/TeamAutocomplete/graphql.js.map +1 -0
  293. package/components/TeamAutocomplete/index.d.ts +5 -0
  294. package/components/TeamAutocomplete/index.js +18 -0
  295. package/components/TeamAutocomplete/index.js.map +1 -0
  296. package/components/TeamsMultiAutocomplete/graphql.d.ts +1 -0
  297. package/components/TeamsMultiAutocomplete/graphql.js +23 -0
  298. package/components/TeamsMultiAutocomplete/graphql.js.map +1 -0
  299. package/components/TeamsMultiAutocomplete/index.d.ts +5 -0
  300. package/components/TeamsMultiAutocomplete/index.js +19 -0
  301. package/components/TeamsMultiAutocomplete/index.js.map +1 -0
  302. package/components/Wcp.d.ts +4 -0
  303. package/components/Wcp.js +16 -2
  304. package/components/Wcp.js.map +1 -1
  305. package/components/index.d.ts +30 -3
  306. package/components/index.js +29 -3
  307. package/components/index.js.map +1 -1
  308. package/config/AdminConfig/Dashboard.d.ts +3 -0
  309. package/config/AdminConfig/Dashboard.js +6 -0
  310. package/config/AdminConfig/Dashboard.js.map +1 -0
  311. package/config/AdminConfig/LexicalTheme/Color.d.ts +11 -0
  312. package/config/AdminConfig/LexicalTheme/Color.js +45 -0
  313. package/config/AdminConfig/LexicalTheme/Color.js.map +1 -0
  314. package/config/AdminConfig/LexicalTheme/Typography.d.ts +30 -0
  315. package/config/AdminConfig/LexicalTheme/Typography.js +79 -0
  316. package/config/AdminConfig/LexicalTheme/Typography.js.map +1 -0
  317. package/config/AdminConfig/LexicalTheme.d.ts +9 -0
  318. package/config/AdminConfig/LexicalTheme.js +8 -0
  319. package/config/AdminConfig/LexicalTheme.js.map +1 -0
  320. package/config/AdminConfig/Logo.d.ts +24 -0
  321. package/config/AdminConfig/Logo.js +21 -0
  322. package/config/AdminConfig/Logo.js.map +1 -0
  323. package/config/AdminConfig/Menu/MenuGroup.d.ts +10 -10
  324. package/config/AdminConfig/Menu/MenuGroup.js +1 -1
  325. package/config/AdminConfig/Menu/MenuGroup.js.map +1 -1
  326. package/config/AdminConfig/Menu/MenuItem.d.ts +9 -9
  327. package/config/AdminConfig/Menu/MenuItem.js +1 -1
  328. package/config/AdminConfig/Menu/MenuItem.js.map +1 -1
  329. package/config/AdminConfig/Menu/MenuLink.d.ts +14 -14
  330. package/config/AdminConfig/Menu/MenuLink.js +10 -4
  331. package/config/AdminConfig/Menu/MenuLink.js.map +1 -1
  332. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.d.ts +2 -2
  333. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js +1 -1
  334. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js.map +1 -1
  335. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.d.ts +1 -1
  336. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js +1 -1
  337. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js.map +1 -1
  338. package/config/AdminConfig/Menu/SupportMenu.d.ts +15 -15
  339. package/config/AdminConfig/Menu/SupportMenu.js +3 -3
  340. package/config/AdminConfig/Menu/SupportMenu.js.map +1 -1
  341. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.d.ts +14 -15
  342. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js +1 -1
  343. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js.map +1 -1
  344. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.d.ts +14 -15
  345. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js +1 -1
  346. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js.map +1 -1
  347. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.d.ts +1 -1
  348. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js +1 -1
  349. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js.map +1 -1
  350. package/config/AdminConfig/Menu/UserMenu.d.ts +31 -31
  351. package/config/AdminConfig/Menu/UserMenu.js +4 -4
  352. package/config/AdminConfig/Menu/UserMenu.js.map +1 -1
  353. package/config/AdminConfig/Menu.d.ts +105 -103
  354. package/config/AdminConfig/Menu.js +17 -7
  355. package/config/AdminConfig/Menu.js.map +1 -1
  356. package/config/AdminConfig/Route.d.ts +1 -1
  357. package/config/AdminConfig/Route.js +2 -2
  358. package/config/AdminConfig/Route.js.map +1 -1
  359. package/config/AdminConfig/Security.d.ts +3 -0
  360. package/config/AdminConfig/Security.js +6 -0
  361. package/config/AdminConfig/Security.js.map +1 -0
  362. package/config/AdminConfig/SecurityPermissions.d.ts +17 -0
  363. package/config/AdminConfig/SecurityPermissions.js +31 -0
  364. package/config/AdminConfig/SecurityPermissions.js.map +1 -0
  365. package/config/AdminConfig/Tenant/TenantLogo.d.ts +8 -7
  366. package/config/AdminConfig/Tenant/TenantLogo.js +14 -6
  367. package/config/AdminConfig/Tenant/TenantLogo.js.map +1 -1
  368. package/config/AdminConfig/Tenant/TenantName.d.ts +1 -1
  369. package/config/AdminConfig/Tenant/TenantName.js +5 -2
  370. package/config/AdminConfig/Tenant/TenantName.js.map +1 -1
  371. package/config/AdminConfig/Tenant.d.ts +14 -31
  372. package/config/AdminConfig/Tenant.js +4 -13
  373. package/config/AdminConfig/Tenant.js.map +1 -1
  374. package/config/AdminConfig/Theme/assignColor.d.ts +1 -1
  375. package/config/AdminConfig/Theme/assignColor.js +1 -1
  376. package/config/AdminConfig/Theme/assignColor.js.map +1 -1
  377. package/config/AdminConfig/Theme/types.d.ts +1 -1
  378. package/config/AdminConfig/Theme/types.js.map +1 -1
  379. package/config/AdminConfig/Theme.d.ts +1 -1
  380. package/config/AdminConfig/Theme.js +1 -1
  381. package/config/AdminConfig/Theme.js.map +1 -1
  382. package/config/AdminConfig/Title.d.ts +23 -0
  383. package/config/AdminConfig/Title.js +16 -0
  384. package/config/AdminConfig/Title.js.map +1 -0
  385. package/config/AdminConfig/Widget.d.ts +15 -0
  386. package/config/AdminConfig/Widget.js +36 -0
  387. package/config/AdminConfig/Widget.js.map +1 -0
  388. package/config/AdminConfig.d.ts +202 -150
  389. package/config/AdminConfig.js +35 -9
  390. package/config/AdminConfig.js.map +1 -1
  391. package/config/createAdminConfig.js.map +1 -1
  392. package/css/tokens.css +379 -0
  393. package/css/typography.css +70 -0
  394. package/domain/Identity.d.ts +59 -0
  395. package/domain/Identity.js +96 -0
  396. package/domain/Identity.js.map +1 -0
  397. package/errors/ErrorOverlayNetworkErrorHandler.d.ts +11 -0
  398. package/errors/ErrorOverlayNetworkErrorHandler.js +66 -0
  399. package/errors/ErrorOverlayNetworkErrorHandler.js.map +1 -0
  400. package/errors/TenantIsDisabled.d.ts +2 -0
  401. package/errors/TenantIsDisabled.js +23 -0
  402. package/errors/TenantIsDisabled.js.map +1 -0
  403. package/exports/admin/build-params.d.ts +1 -0
  404. package/exports/admin/build-params.js +3 -0
  405. package/exports/admin/build-params.js.map +1 -0
  406. package/exports/admin/configs.d.ts +1 -0
  407. package/exports/admin/configs.js +3 -0
  408. package/exports/admin/configs.js.map +1 -0
  409. package/exports/admin/form.d.ts +11 -0
  410. package/exports/admin/form.js +12 -0
  411. package/exports/admin/form.js.map +1 -0
  412. package/exports/admin/security.d.ts +8 -0
  413. package/exports/admin/security.js +10 -0
  414. package/exports/admin/security.js.map +1 -0
  415. package/exports/admin/tenancy.d.ts +2 -0
  416. package/exports/admin/tenancy.js +4 -0
  417. package/exports/admin/tenancy.js.map +1 -0
  418. package/exports/admin/ui.d.ts +4 -0
  419. package/exports/admin/ui.js +6 -0
  420. package/exports/admin/ui.js.map +1 -0
  421. package/exports/admin.d.ts +7 -0
  422. package/exports/admin.js +9 -0
  423. package/exports/admin.js.map +1 -0
  424. package/features/apolloClient/abstraction.d.ts +5 -0
  425. package/features/apolloClient/abstraction.js +4 -0
  426. package/features/apolloClient/abstraction.js.map +1 -0
  427. package/features/apolloClient/feature.d.ts +2 -0
  428. package/features/apolloClient/feature.js +39 -0
  429. package/features/apolloClient/feature.js.map +1 -0
  430. package/features/buildParams/BuildParams.d.ts +9 -0
  431. package/features/buildParams/BuildParams.js +18 -0
  432. package/features/buildParams/BuildParams.js.map +1 -0
  433. package/features/buildParams/abstractions.d.ts +15 -0
  434. package/features/buildParams/abstractions.js +5 -0
  435. package/features/buildParams/abstractions.js.map +1 -0
  436. package/features/buildParams/feature.d.ts +1 -0
  437. package/features/buildParams/feature.js +10 -0
  438. package/features/buildParams/feature.js.map +1 -0
  439. package/features/buildParams/index.d.ts +2 -0
  440. package/features/buildParams/index.js +4 -0
  441. package/features/buildParams/index.js.map +1 -0
  442. package/features/security/AuthenticationContext/AuthenticationContext.d.ts +15 -0
  443. package/features/security/AuthenticationContext/AuthenticationContext.js +31 -0
  444. package/features/security/AuthenticationContext/AuthenticationContext.js.map +1 -0
  445. package/features/security/AuthenticationContext/GraphQLClientDecorator.d.ts +12 -0
  446. package/features/security/AuthenticationContext/GraphQLClientDecorator.js +30 -0
  447. package/features/security/AuthenticationContext/GraphQLClientDecorator.js.map +1 -0
  448. package/features/security/AuthenticationContext/InternalIdTokenProvider.d.ts +10 -0
  449. package/features/security/AuthenticationContext/InternalIdTokenProvider.js +17 -0
  450. package/features/security/AuthenticationContext/InternalIdTokenProvider.js.map +1 -0
  451. package/features/security/AuthenticationContext/abstractions.d.ts +26 -0
  452. package/features/security/AuthenticationContext/abstractions.js +5 -0
  453. package/features/security/AuthenticationContext/abstractions.js.map +1 -0
  454. package/features/security/AuthenticationContext/feature.d.ts +3 -0
  455. package/features/security/AuthenticationContext/feature.js +20 -0
  456. package/features/security/AuthenticationContext/feature.js.map +1 -0
  457. package/features/security/AuthenticationContext/index.d.ts +1 -0
  458. package/features/security/AuthenticationContext/index.js +3 -0
  459. package/features/security/AuthenticationContext/index.js.map +1 -0
  460. package/features/security/AuthenticationContext/types.d.ts +11 -0
  461. package/features/security/AuthenticationContext/types.js.map +1 -0
  462. package/features/security/IdentityContext/IdentityContext.d.ts +13 -0
  463. package/features/security/IdentityContext/IdentityContext.js +24 -0
  464. package/features/security/IdentityContext/IdentityContext.js.map +1 -0
  465. package/features/security/IdentityContext/abstractions.d.ts +10 -0
  466. package/features/security/IdentityContext/abstractions.js +4 -0
  467. package/features/security/IdentityContext/abstractions.js.map +1 -0
  468. package/features/security/IdentityContext/feature.d.ts +3 -0
  469. package/features/security/IdentityContext/feature.js +16 -0
  470. package/features/security/IdentityContext/feature.js.map +1 -0
  471. package/features/security/IdentityContext/index.d.ts +2 -0
  472. package/features/security/IdentityContext/index.js +4 -0
  473. package/features/security/IdentityContext/index.js.map +1 -0
  474. package/features/security/LogIn/IdentityMapper.d.ts +9 -0
  475. package/features/security/LogIn/IdentityMapper.js +13 -0
  476. package/features/security/LogIn/IdentityMapper.js.map +1 -0
  477. package/features/security/LogIn/LogInGateway.d.ts +11 -0
  478. package/features/security/LogIn/LogInGateway.js +27 -0
  479. package/features/security/LogIn/LogInGateway.js.map +1 -0
  480. package/features/security/LogIn/LogInRepository.d.ts +14 -0
  481. package/features/security/LogIn/LogInRepository.js +19 -0
  482. package/features/security/LogIn/LogInRepository.js.map +1 -0
  483. package/features/security/LogIn/LogInUseCase.d.ts +15 -0
  484. package/features/security/LogIn/LogInUseCase.js +40 -0
  485. package/features/security/LogIn/LogInUseCase.js.map +1 -0
  486. package/features/security/LogIn/abstractions.d.ts +48 -0
  487. package/features/security/LogIn/abstractions.js +19 -0
  488. package/features/security/LogIn/abstractions.js.map +1 -0
  489. package/features/security/LogIn/createLoginMutation.d.ts +1 -0
  490. package/features/security/LogIn/createLoginMutation.js +49 -0
  491. package/features/security/LogIn/createLoginMutation.js.map +1 -0
  492. package/features/security/LogIn/feature.d.ts +3 -0
  493. package/features/security/LogIn/feature.js +22 -0
  494. package/features/security/LogIn/feature.js.map +1 -0
  495. package/features/security/LogIn/index.d.ts +1 -0
  496. package/features/security/LogIn/index.js +3 -0
  497. package/features/security/LogIn/index.js.map +1 -0
  498. package/features/security/LogOut/LogOutUseCase.d.ts +13 -0
  499. package/features/security/LogOut/LogOutUseCase.js +23 -0
  500. package/features/security/LogOut/LogOutUseCase.js.map +1 -0
  501. package/features/security/LogOut/abstractions.d.ts +7 -0
  502. package/features/security/LogOut/abstractions.js +4 -0
  503. package/features/security/LogOut/abstractions.js.map +1 -0
  504. package/features/security/LogOut/feature.d.ts +3 -0
  505. package/features/security/LogOut/feature.js +16 -0
  506. package/features/security/LogOut/feature.js.map +1 -0
  507. package/features/security/LogOut/index.d.ts +2 -0
  508. package/features/security/LogOut/index.js +4 -0
  509. package/features/security/LogOut/index.js.map +1 -0
  510. package/features/security/SecurityFeature.d.ts +1 -0
  511. package/features/security/SecurityFeature.js +16 -0
  512. package/features/security/SecurityFeature.js.map +1 -0
  513. package/features/telemetry/TelemetryService.d.ts +6 -0
  514. package/features/telemetry/TelemetryService.js +20 -0
  515. package/features/telemetry/TelemetryService.js.map +1 -0
  516. package/features/telemetry/abstractions.d.ts +7 -0
  517. package/features/telemetry/abstractions.js +4 -0
  518. package/features/telemetry/abstractions.js.map +1 -0
  519. package/features/telemetry/feature.d.ts +3 -0
  520. package/features/telemetry/feature.js +16 -0
  521. package/features/telemetry/feature.js.map +1 -0
  522. package/features/telemetry/index.d.ts +2 -0
  523. package/features/telemetry/index.js +4 -0
  524. package/features/telemetry/index.js.map +1 -0
  525. package/features/tenancy/GraphQLClientDecorator.d.ts +12 -0
  526. package/features/tenancy/GraphQLClientDecorator.js +27 -0
  527. package/features/tenancy/GraphQLClientDecorator.js.map +1 -0
  528. package/features/tenancy/TenantContext.d.ts +17 -0
  529. package/features/tenancy/TenantContext.js +61 -0
  530. package/features/tenancy/TenantContext.js.map +1 -0
  531. package/features/tenancy/abstractions.d.ts +14 -0
  532. package/features/tenancy/abstractions.js +4 -0
  533. package/features/tenancy/abstractions.js.map +1 -0
  534. package/features/tenancy/feature.d.ts +5 -0
  535. package/features/tenancy/feature.js +41 -0
  536. package/features/tenancy/feature.js.map +1 -0
  537. package/features/tenancy/types.d.ts +4 -0
  538. package/features/tenancy/types.js +3 -0
  539. package/features/tenancy/types.js.map +1 -0
  540. package/features/wcp/ReactLicense.d.ts +19 -0
  541. package/features/wcp/ReactLicense.js +46 -0
  542. package/features/wcp/ReactLicense.js.map +1 -0
  543. package/features/wcp/WcpGateway.d.ts +10 -0
  544. package/features/wcp/WcpGateway.js +73 -0
  545. package/features/wcp/WcpGateway.js.map +1 -0
  546. package/features/wcp/WcpService.d.ts +20 -0
  547. package/features/wcp/WcpService.js +84 -0
  548. package/features/wcp/WcpService.js.map +1 -0
  549. package/features/wcp/abstractions.d.ts +19 -0
  550. package/features/wcp/abstractions.js +5 -0
  551. package/features/wcp/abstractions.js.map +1 -0
  552. package/features/wcp/feature.d.ts +3 -0
  553. package/features/wcp/feature.js +18 -0
  554. package/features/wcp/feature.js.map +1 -0
  555. package/features/wcp/types.d.ts +21 -0
  556. package/features/wcp/types.js +3 -0
  557. package/features/wcp/types.js.map +1 -0
  558. package/hooks/index.d.ts +11 -10
  559. package/hooks/index.js +11 -10
  560. package/hooks/index.js.map +1 -1
  561. package/hooks/useConfirmationDialog.js +3 -3
  562. package/hooks/useConfirmationDialog.js.map +1 -1
  563. package/hooks/useDialog.js +1 -1
  564. package/hooks/useDialog.js.map +1 -1
  565. package/hooks/useKeyHandler.js +1 -1
  566. package/hooks/useKeyHandler.js.map +1 -1
  567. package/hooks/useModKey.js +1 -2
  568. package/hooks/useModKey.js.map +1 -1
  569. package/hooks/useShiftKey.js +1 -1
  570. package/hooks/useShiftKey.js.map +1 -1
  571. package/hooks/useStateIfMounted.d.ts +0 -1
  572. package/hooks/useStateIfMounted.js +1 -1
  573. package/hooks/useStateIfMounted.js.map +1 -1
  574. package/hooks/useToggler.d.ts +7 -0
  575. package/hooks/useToggler.js +15 -0
  576. package/hooks/useToggler.js.map +1 -0
  577. package/index.d.ts +34 -45
  578. package/index.js +36 -43
  579. package/index.js.map +1 -1
  580. package/lexical.css +2 -0
  581. package/package.json +42 -47
  582. package/permissions/PermissionRenderer.d.ts +6 -0
  583. package/permissions/PermissionRenderer.js +219 -0
  584. package/permissions/PermissionRenderer.js.map +1 -0
  585. package/permissions/PermissionValueContext.d.ts +11 -0
  586. package/permissions/PermissionValueContext.js +23 -0
  587. package/permissions/PermissionValueContext.js.map +1 -0
  588. package/permissions/createHasPermission.d.ts +3 -0
  589. package/permissions/createHasPermission.js +36 -0
  590. package/permissions/createHasPermission.js.map +1 -0
  591. package/permissions/createPermissionSchema.d.ts +2 -0
  592. package/permissions/createPermissionSchema.js +8 -0
  593. package/permissions/createPermissionSchema.js.map +1 -0
  594. package/permissions/index.d.ts +8 -0
  595. package/permissions/index.js +8 -0
  596. package/permissions/index.js.map +1 -0
  597. package/permissions/types.d.ts +242 -0
  598. package/permissions/types.js +3 -0
  599. package/permissions/types.js.map +1 -0
  600. package/permissions/usePermissionForm.d.ts +17 -0
  601. package/permissions/usePermissionForm.js +256 -0
  602. package/permissions/usePermissionForm.js.map +1 -0
  603. package/permissions/usePermissions.d.ts +3 -0
  604. package/permissions/usePermissions.js +180 -0
  605. package/permissions/usePermissions.js.map +1 -0
  606. package/presentation/installation/components/SystemInstaller/SystemInstaller.d.ts +8 -0
  607. package/presentation/installation/components/SystemInstaller/SystemInstaller.js +70 -0
  608. package/presentation/installation/components/SystemInstaller/SystemInstaller.js.map +1 -0
  609. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.d.ts +2 -0
  610. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js +17 -0
  611. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js.map +1 -0
  612. package/presentation/installation/components/SystemInstaller/index.d.ts +1 -0
  613. package/presentation/installation/components/SystemInstaller/index.js +3 -0
  614. package/presentation/installation/components/SystemInstaller/index.js.map +1 -0
  615. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.d.ts +8 -0
  616. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js +32 -0
  617. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js.map +1 -0
  618. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.d.ts +1 -0
  619. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js +15 -0
  620. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js.map +1 -0
  621. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.d.ts +7 -0
  622. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js +69 -0
  623. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js.map +1 -0
  624. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.d.ts +7 -0
  625. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js +95 -0
  626. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js.map +1 -0
  627. package/presentation/installation/components/SystemInstaller/steps/Center.d.ts +4 -0
  628. package/presentation/installation/components/SystemInstaller/steps/Center.js +10 -0
  629. package/presentation/installation/components/SystemInstaller/steps/Center.js.map +1 -0
  630. package/presentation/installation/components/SystemInstaller/steps/Container.d.ts +8 -0
  631. package/presentation/installation/components/SystemInstaller/steps/Container.js +28 -0
  632. package/presentation/installation/components/SystemInstaller/steps/Container.js.map +1 -0
  633. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.d.ts +11 -0
  634. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js +58 -0
  635. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js.map +1 -0
  636. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.d.ts +7 -0
  637. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js +21 -0
  638. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js.map +1 -0
  639. package/presentation/installation/components/SystemInstaller/steps/introduction.svg +154 -0
  640. package/presentation/installation/components/SystemInstaller/steps/referralSources.d.ts +1 -0
  641. package/presentation/installation/components/SystemInstaller/steps/referralSources.js +3 -0
  642. package/presentation/installation/components/SystemInstaller/steps/referralSources.js.map +1 -0
  643. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.d.ts +10 -0
  644. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js +63 -0
  645. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js.map +1 -0
  646. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.d.ts +24 -0
  647. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js +138 -0
  648. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js.map +1 -0
  649. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.d.ts +11 -0
  650. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js +30 -0
  651. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js.map +1 -0
  652. package/presentation/installation/presenters/SystemInstaller/abstractions.d.ts +59 -0
  653. package/presentation/installation/presenters/SystemInstaller/abstractions.js +6 -0
  654. package/presentation/installation/presenters/SystemInstaller/abstractions.js.map +1 -0
  655. package/presentation/installation/presenters/SystemInstaller/feature.d.ts +3 -0
  656. package/presentation/installation/presenters/SystemInstaller/feature.js +20 -0
  657. package/presentation/installation/presenters/SystemInstaller/feature.js.map +1 -0
  658. package/presentation/installation/presenters/SystemInstaller/index.d.ts +3 -0
  659. package/presentation/installation/presenters/SystemInstaller/index.js +4 -0
  660. package/presentation/installation/presenters/SystemInstaller/index.js.map +1 -0
  661. package/presentation/security/components/HasPermission.d.ts +10 -0
  662. package/presentation/security/components/HasPermission.js +31 -0
  663. package/presentation/security/components/HasPermission.js.map +1 -0
  664. package/presentation/security/components/SecureRoute.d.ts +7 -0
  665. package/presentation/security/components/SecureRoute.js +16 -0
  666. package/presentation/security/components/SecureRoute.js.map +1 -0
  667. package/presentation/security/hooks/useAuthentication.d.ts +9 -0
  668. package/presentation/security/hooks/useAuthentication.js +24 -0
  669. package/presentation/security/hooks/useAuthentication.js.map +1 -0
  670. package/presentation/security/hooks/useIdentity.d.ts +6 -0
  671. package/presentation/security/hooks/useIdentity.js +25 -0
  672. package/presentation/security/hooks/useIdentity.js.map +1 -0
  673. package/presentation/security/hooks/useSecurity.d.ts +10 -0
  674. package/presentation/security/hooks/useSecurity.js +28 -0
  675. package/presentation/security/hooks/useSecurity.js.map +1 -0
  676. package/presentation/tenancy/TenancyProvider.d.ts +6 -0
  677. package/presentation/tenancy/TenancyProvider.js +43 -0
  678. package/presentation/tenancy/TenancyProvider.js.map +1 -0
  679. package/presentation/tenancy/createTenancyProvider.d.ts +1 -0
  680. package/presentation/tenancy/createTenancyProvider.js +14 -0
  681. package/presentation/tenancy/createTenancyProvider.js.map +1 -0
  682. package/presentation/tenancy/useTenantContext.d.ts +5 -0
  683. package/presentation/tenancy/useTenantContext.js +24 -0
  684. package/presentation/tenancy/useTenantContext.js.map +1 -0
  685. package/presentation/wcp/WcpProvider.d.ts +7 -0
  686. package/presentation/wcp/WcpProvider.js +26 -0
  687. package/presentation/wcp/WcpProvider.js.map +1 -0
  688. package/presentation/wcp/useWcp.d.ts +2 -0
  689. package/presentation/wcp/useWcp.js +18 -0
  690. package/presentation/wcp/useWcp.js.map +1 -0
  691. package/routes.d.ts +6 -0
  692. package/routes.js +17 -0
  693. package/routes.js.map +1 -0
  694. package/types.d.ts +3 -76
  695. package/types.js +1 -5
  696. package/types.js.map +1 -1
  697. package/base/Base/Routes.d.ts +0 -2
  698. package/base/Base/Routes.js +0 -24
  699. package/base/Base/Routes.js.map +0 -1
  700. package/base/providers/TelemetryProvider.d.ts +0 -1
  701. package/base/providers/TelemetryProvider.js +0 -22
  702. package/base/providers/TelemetryProvider.js.map +0 -1
  703. package/base/providers/ViewCompositionProvider.d.ts +0 -21
  704. package/base/providers/ViewCompositionProvider.js +0 -47
  705. package/base/providers/ViewCompositionProvider.js.map +0 -1
  706. package/base/ui/LocaleSelector.d.ts +0 -39
  707. package/base/ui/LocaleSelector.js +0 -8
  708. package/base/ui/LocaleSelector.js.map +0 -1
  709. package/components/AppInstaller/AppInstaller.d.ts +0 -11
  710. package/components/AppInstaller/AppInstaller.js +0 -113
  711. package/components/AppInstaller/AppInstaller.js.map +0 -1
  712. package/components/AppInstaller/Sidebar.d.ts +0 -9
  713. package/components/AppInstaller/Sidebar.js +0 -108
  714. package/components/AppInstaller/Sidebar.js.map +0 -1
  715. package/components/AppInstaller/assets/sign-in-divider.svg +0 -19
  716. package/components/AppInstaller/index.d.ts +0 -2
  717. package/components/AppInstaller/index.js +0 -17
  718. package/components/AppInstaller/index.js.map +0 -1
  719. package/components/AppInstaller/styled.d.ts +0 -19
  720. package/components/AppInstaller/styled.js +0 -75
  721. package/components/AppInstaller/styled.js.map +0 -1
  722. package/components/AppInstaller/useInstaller.d.ts +0 -25
  723. package/components/AppInstaller/useInstaller.js +0 -169
  724. package/components/AppInstaller/useInstaller.js.map +0 -1
  725. package/components/Dialogs/CustomDialog.d.ts +0 -17
  726. package/components/Dialogs/CustomDialog.js +0 -48
  727. package/components/Dialogs/CustomDialog.js.map +0 -1
  728. package/components/RichTextEditor/RichTextEditor.d.ts +0 -3
  729. package/components/RichTextEditor/RichTextEditor.js +0 -16
  730. package/components/RichTextEditor/RichTextEditor.js.map +0 -1
  731. package/components/RichTextEditor/index.d.ts +0 -2
  732. package/components/RichTextEditor/index.js +0 -4
  733. package/components/RichTextEditor/index.js.map +0 -1
  734. package/components/RichTextEditor/styles.scss +0 -96
  735. package/components/RichTextEditor/tools/header/index.d.ts +0 -228
  736. package/components/RichTextEditor/tools/header/index.js +0 -615
  737. package/components/RichTextEditor/tools/header/index.js.map +0 -1
  738. package/components/RichTextEditor/tools/header/styles.scss +0 -48
  739. package/components/RichTextEditor/tools/image/index.d.ts +0 -122
  740. package/components/RichTextEditor/tools/image/index.js +0 -202
  741. package/components/RichTextEditor/tools/image/index.js.map +0 -1
  742. package/components/RichTextEditor/tools/image/styles.scss +0 -90
  743. package/components/RichTextEditor/tools/image/svgs.d.ts +0 -6
  744. package/components/RichTextEditor/tools/image/svgs.js +0 -7
  745. package/components/RichTextEditor/tools/image/svgs.js.map +0 -1
  746. package/components/RichTextEditor/tools/image/tunes.d.ts +0 -55
  747. package/components/RichTextEditor/tools/image/tunes.js +0 -103
  748. package/components/RichTextEditor/tools/image/tunes.js.map +0 -1
  749. package/components/RichTextEditor/tools/image/types.d.ts +0 -29
  750. package/components/RichTextEditor/tools/image/types.js.map +0 -1
  751. package/components/RichTextEditor/tools/image/ui.d.ts +0 -120
  752. package/components/RichTextEditor/tools/image/ui.js +0 -245
  753. package/components/RichTextEditor/tools/image/ui.js.map +0 -1
  754. package/components/RichTextEditor/tools/paragraph/index.d.ts +0 -208
  755. package/components/RichTextEditor/tools/paragraph/index.js +0 -435
  756. package/components/RichTextEditor/tools/paragraph/index.js.map +0 -1
  757. package/components/RichTextEditor/tools/paragraph/styles.scss +0 -29
  758. package/components/RichTextEditor/tools/textColor/index.d.ts +0 -61
  759. package/components/RichTextEditor/tools/textColor/index.js +0 -197
  760. package/components/RichTextEditor/tools/textColor/index.js.map +0 -1
  761. package/components/RichTextEditor/tools/textColor/styles.scss +0 -21
  762. package/components/RichTextEditor/tools/utils.d.ts +0 -19
  763. package/components/RichTextEditor/tools/utils.js +0 -24
  764. package/components/RichTextEditor/tools/utils.js.map +0 -1
  765. package/components/Routes.d.ts +0 -6
  766. package/components/Routes.js +0 -34
  767. package/components/Routes.js.map +0 -1
  768. package/plugins/PermissionRendererPlugin.d.ts +0 -22
  769. package/plugins/PermissionRendererPlugin.js +0 -19
  770. package/plugins/PermissionRendererPlugin.js.map +0 -1
  771. package/plugins/uiLayoutRenderer/index.d.ts +0 -2
  772. package/plugins/uiLayoutRenderer/index.js +0 -53
  773. package/plugins/uiLayoutRenderer/index.js.map +0 -1
  774. package/ui/UIElement.d.ts +0 -2
  775. package/ui/UIElement.js +0 -3
  776. package/ui/UIElement.js.map +0 -1
  777. package/ui/UILayout.d.ts +0 -1
  778. package/ui/UILayout.js +0 -3
  779. package/ui/UILayout.js.map +0 -1
  780. package/ui/UIRenderer.d.ts +0 -2
  781. package/ui/UIRenderer.js +0 -3
  782. package/ui/UIRenderer.js.map +0 -1
  783. package/ui/UIView.d.ts +0 -2
  784. package/ui/UIView.js +0 -3
  785. package/ui/UIView.js.map +0 -1
  786. package/ui/elements/AccordionElement.d.ts +0 -28
  787. package/ui/elements/AccordionElement.js +0 -48
  788. package/ui/elements/AccordionElement.js.map +0 -1
  789. package/ui/elements/ButtonElement.d.ts +0 -25
  790. package/ui/elements/ButtonElement.js +0 -52
  791. package/ui/elements/ButtonElement.js.map +0 -1
  792. package/ui/elements/ButtonGroupElement.d.ts +0 -7
  793. package/ui/elements/ButtonGroupElement.js +0 -29
  794. package/ui/elements/ButtonGroupElement.js.map +0 -1
  795. package/ui/elements/GenericElement.d.ts +0 -1
  796. package/ui/elements/GenericElement.js +0 -3
  797. package/ui/elements/GenericElement.js.map +0 -1
  798. package/ui/elements/LabelElement.d.ts +0 -17
  799. package/ui/elements/LabelElement.js +0 -23
  800. package/ui/elements/LabelElement.js.map +0 -1
  801. package/ui/elements/NavigationMenuElement.d.ts +0 -34
  802. package/ui/elements/NavigationMenuElement.js +0 -88
  803. package/ui/elements/NavigationMenuElement.js.map +0 -1
  804. package/ui/elements/PanelElement.d.ts +0 -3
  805. package/ui/elements/PanelElement.js +0 -4
  806. package/ui/elements/PanelElement.js.map +0 -1
  807. package/ui/elements/PlaceholderElement.d.ts +0 -6
  808. package/ui/elements/PlaceholderElement.js +0 -11
  809. package/ui/elements/PlaceholderElement.js.map +0 -1
  810. package/ui/elements/SmallButtonElement.d.ts +0 -8
  811. package/ui/elements/SmallButtonElement.js +0 -24
  812. package/ui/elements/SmallButtonElement.js.map +0 -1
  813. package/ui/elements/TypographyElement.d.ts +0 -14
  814. package/ui/elements/TypographyElement.js +0 -23
  815. package/ui/elements/TypographyElement.js.map +0 -1
  816. package/ui/elements/ViewElement.d.ts +0 -1
  817. package/ui/elements/ViewElement.js +0 -3
  818. package/ui/elements/ViewElement.js.map +0 -1
  819. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.d.ts +0 -7
  820. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js +0 -26
  821. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js.map +0 -1
  822. package/ui/elements/form/DynamicFieldsetElement.d.ts +0 -44
  823. package/ui/elements/form/DynamicFieldsetElement.js +0 -97
  824. package/ui/elements/form/DynamicFieldsetElement.js.map +0 -1
  825. package/ui/elements/form/FileManagerElement/EmptyStateElement.d.ts +0 -4
  826. package/ui/elements/form/FileManagerElement/EmptyStateElement.js +0 -10
  827. package/ui/elements/form/FileManagerElement/EmptyStateElement.js.map +0 -1
  828. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.d.ts +0 -8
  829. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +0 -47
  830. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js.map +0 -1
  831. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.d.ts +0 -14
  832. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js +0 -73
  833. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js.map +0 -1
  834. package/ui/elements/form/FileManagerElement/styled.d.ts +0 -23
  835. package/ui/elements/form/FileManagerElement/styled.js +0 -108
  836. package/ui/elements/form/FileManagerElement/styled.js.map +0 -1
  837. package/ui/elements/form/FileManagerElement.d.ts +0 -25
  838. package/ui/elements/form/FileManagerElement.js +0 -46
  839. package/ui/elements/form/FileManagerElement.js.map +0 -1
  840. package/ui/elements/form/FormElement.d.ts +0 -22
  841. package/ui/elements/form/FormElement.js +0 -20
  842. package/ui/elements/form/FormElement.js.map +0 -1
  843. package/ui/elements/form/FormFieldElement.d.ts +0 -57
  844. package/ui/elements/form/FormFieldElement.js +0 -113
  845. package/ui/elements/form/FormFieldElement.js.map +0 -1
  846. package/ui/elements/form/HiddenElement.d.ts +0 -7
  847. package/ui/elements/form/HiddenElement.js +0 -25
  848. package/ui/elements/form/HiddenElement.js.map +0 -1
  849. package/ui/elements/form/InputElement.d.ts +0 -8
  850. package/ui/elements/form/InputElement.js +0 -32
  851. package/ui/elements/form/InputElement.js.map +0 -1
  852. package/ui/elements/form/PasswordElement.d.ts +0 -6
  853. package/ui/elements/form/PasswordElement.js +0 -29
  854. package/ui/elements/form/PasswordElement.js.map +0 -1
  855. package/ui/elements/form/README.md +0 -2
  856. package/ui/elements/form/SelectElement.d.ts +0 -16
  857. package/ui/elements/form/SelectElement.js +0 -42
  858. package/ui/elements/form/SelectElement.js.map +0 -1
  859. package/ui/elements/form/TextareaElement.d.ts +0 -16
  860. package/ui/elements/form/TextareaElement.js +0 -34
  861. package/ui/elements/form/TextareaElement.js.map +0 -1
  862. package/ui/views/AdminView/ContentElement.d.ts +0 -4
  863. package/ui/views/AdminView/ContentElement.js +0 -37
  864. package/ui/views/AdminView/ContentElement.js.map +0 -1
  865. package/ui/views/AdminView/HeaderElement.d.ts +0 -13
  866. package/ui/views/AdminView/HeaderElement.js +0 -68
  867. package/ui/views/AdminView/HeaderElement.js.map +0 -1
  868. package/ui/views/AdminView/HeaderSectionCenterElement.d.ts +0 -7
  869. package/ui/views/AdminView/HeaderSectionCenterElement.js +0 -21
  870. package/ui/views/AdminView/HeaderSectionCenterElement.js.map +0 -1
  871. package/ui/views/AdminView/HeaderSectionLeftElement.d.ts +0 -7
  872. package/ui/views/AdminView/HeaderSectionLeftElement.js +0 -21
  873. package/ui/views/AdminView/HeaderSectionLeftElement.js.map +0 -1
  874. package/ui/views/AdminView/HeaderSectionRightElement.d.ts +0 -7
  875. package/ui/views/AdminView/HeaderSectionRightElement.js +0 -21
  876. package/ui/views/AdminView/HeaderSectionRightElement.js.map +0 -1
  877. package/ui/views/AdminView/components/Dialog.d.ts +0 -2
  878. package/ui/views/AdminView/components/Dialog.js +0 -41
  879. package/ui/views/AdminView/components/Dialog.js.map +0 -1
  880. package/ui/views/AdminView/components/Hamburger.d.ts +0 -3
  881. package/ui/views/AdminView/components/Hamburger.js +0 -23
  882. package/ui/views/AdminView/components/Hamburger.js.map +0 -1
  883. package/ui/views/FormView/FormContainerElement.d.ts +0 -13
  884. package/ui/views/FormView/FormContainerElement.js +0 -19
  885. package/ui/views/FormView/FormContainerElement.js.map +0 -1
  886. package/ui/views/FormView/FormContentElement.d.ts +0 -6
  887. package/ui/views/FormView/FormContentElement.js +0 -10
  888. package/ui/views/FormView/FormContentElement.js.map +0 -1
  889. package/ui/views/FormView/FormFooterElement.d.ts +0 -7
  890. package/ui/views/FormView/FormFooterElement.js +0 -14
  891. package/ui/views/FormView/FormFooterElement.js.map +0 -1
  892. package/ui/views/FormView/FormHeaderElement.d.ts +0 -15
  893. package/ui/views/FormView/FormHeaderElement.js +0 -30
  894. package/ui/views/FormView/FormHeaderElement.js.map +0 -1
  895. package/ui/views/FormView.d.ts +0 -40
  896. package/ui/views/FormView.js +0 -121
  897. package/ui/views/FormView.js.map +0 -1
  898. package/ui/views/OverlayView/ContentElement.d.ts +0 -7
  899. package/ui/views/OverlayView/ContentElement.js +0 -29
  900. package/ui/views/OverlayView/ContentElement.js.map +0 -1
  901. package/ui/views/OverlayView/HeaderElement.d.ts +0 -25
  902. package/ui/views/OverlayView/HeaderElement.js +0 -72
  903. package/ui/views/OverlayView/HeaderElement.js.map +0 -1
  904. package/ui/views/OverlayView/HeaderTitleElement.d.ts +0 -15
  905. package/ui/views/OverlayView/HeaderTitleElement.js +0 -25
  906. package/ui/views/OverlayView/HeaderTitleElement.js.map +0 -1
  907. package/ui/views/OverlayView/useOverlayView.d.ts +0 -5
  908. package/ui/views/OverlayView/useOverlayView.js +0 -34
  909. package/ui/views/OverlayView/useOverlayView.js.map +0 -1
  910. package/ui/views/OverlayView.d.ts +0 -30
  911. package/ui/views/OverlayView.js +0 -109
  912. package/ui/views/OverlayView.js.map +0 -1
  913. package/ui/views/SplitView/SplitViewPanelElement.d.ts +0 -12
  914. package/ui/views/SplitView/SplitViewPanelElement.js +0 -32
  915. package/ui/views/SplitView/SplitViewPanelElement.js.map +0 -1
  916. package/ui/views/SplitView.d.ts +0 -21
  917. package/ui/views/SplitView.js +0 -86
  918. package/ui/views/SplitView.js.map +0 -1
  919. /package/base/Base/Tenant/{wby-logo.svg → wby-square.svg} +0 -0
  920. /package/{components/RichTextEditor/tools/image → features/security/AuthenticationContext}/types.js +0 -0
@@ -1,103 +0,0 @@
1
- import { make } from "./ui";
2
- import svgs from "./svgs";
3
- /**
4
- * Working with Block Tunes
5
- */
6
- export default class Tunes {
7
- /**
8
- * @param {object} tune - image tool Tunes managers
9
- * @param {object} tune.api - Editor API
10
- * @param {object} tune.actions - list of user defined tunes
11
- * @param {Function} tune.onChange - tune toggling callback
12
- */
13
- constructor({
14
- api,
15
- actions,
16
- onChange
17
- }) {
18
- this.api = api;
19
- this.actions = actions;
20
- this.onChange = onChange;
21
- this.buttons = [];
22
- }
23
-
24
- /**
25
- * Available Image tunes
26
- *
27
- * @returns {{name: string, icon: string, title: string}[]}
28
- */
29
- static get tunes() {
30
- return [{
31
- name: "stretched",
32
- icon: svgs.stretched,
33
- title: "Stretch image"
34
- }];
35
- }
36
-
37
- /**
38
- * Styles
39
- *
40
- * @returns {{wrapper: string, buttonBase: *, button: string, buttonActive: *}}
41
- */
42
- get CSS() {
43
- return {
44
- wrapper: "",
45
- buttonBase: this.api.styles.settingsButton,
46
- button: "image-tool__tune",
47
- buttonActive: this.api.styles.settingsButtonActive
48
- };
49
- }
50
-
51
- /**
52
- * Makes buttons with tunes: stretch image
53
- *
54
- * @param {ImageToolData} toolData - generate Elements of tunes
55
- * @returns {Element}
56
- */
57
- render(toolData) {
58
- const wrapper = make("div", this.CSS.wrapper);
59
- this.buttons = [];
60
- const tunes = Tunes.tunes.concat(this.actions);
61
- tunes.forEach(tune => {
62
- const title = this.api.i18n.t(tune.title);
63
- const el = make("div", [this.CSS.buttonBase, this.CSS.button], {
64
- innerHTML: tune.icon,
65
- title
66
- });
67
- el.addEventListener("click", () => {
68
- this.tuneClicked(tune.name, tune.action);
69
- });
70
- el.dataset["tune"] = tune.name;
71
- const name = tune.name;
72
- el.classList.toggle(this.CSS.buttonActive, !!toolData[name]);
73
- this.buttons.push(el);
74
- this.api.tooltip.onHover(el, title, {
75
- placement: "top"
76
- });
77
- wrapper.appendChild(el);
78
- });
79
- return wrapper;
80
- }
81
-
82
- /**
83
- * Clicks to one of the tunes
84
- *
85
- * @param {string} tuneName - clicked tune name
86
- * @param {Function} customFunction - function to execute on click
87
- */
88
- tuneClicked(tuneName, customFunction) {
89
- if (typeof customFunction === "function") {
90
- if (!customFunction(tuneName)) {
91
- return false;
92
- }
93
- }
94
- const button = this.buttons.find(el => el.dataset["tune"] === tuneName);
95
- if (button) {
96
- button.classList.toggle(this.CSS.buttonActive, !button.classList.contains(this.CSS.buttonActive));
97
- }
98
- this.onChange(tuneName);
99
- return true;
100
- }
101
- }
102
-
103
- //# sourceMappingURL=tunes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["make","svgs","Tunes","constructor","api","actions","onChange","buttons","tunes","name","icon","stretched","title","CSS","wrapper","buttonBase","styles","settingsButton","button","buttonActive","settingsButtonActive","render","toolData","concat","forEach","tune","i18n","t","el","innerHTML","addEventListener","tuneClicked","action","dataset","classList","toggle","push","tooltip","onHover","placement","appendChild","tuneName","customFunction","find","contains"],"sources":["tunes.ts"],"sourcesContent":["import type { API } from \"@editorjs/editorjs\";\nimport { make } from \"./ui\";\nimport svgs from \"./svgs\";\nimport type { ImageToolData, Tune, TuneOnChangeCallable } from \"./types\";\n\ninterface TunesParams {\n api: API;\n actions: Tune[];\n onChange: TuneOnChangeCallable;\n}\n/**\n * Working with Block Tunes\n */\nexport default class Tunes {\n private api: API;\n private readonly actions: Tune[];\n private readonly onChange: TuneOnChangeCallable;\n private buttons: Array<HTMLElement>;\n /**\n * @param {object} tune - image tool Tunes managers\n * @param {object} tune.api - Editor API\n * @param {object} tune.actions - list of user defined tunes\n * @param {Function} tune.onChange - tune toggling callback\n */\n constructor({ api, actions, onChange }: TunesParams) {\n this.api = api;\n this.actions = actions;\n this.onChange = onChange;\n this.buttons = [];\n }\n\n /**\n * Available Image tunes\n *\n * @returns {{name: string, icon: string, title: string}[]}\n */\n static get tunes(): Tune[] {\n return [\n {\n name: \"stretched\",\n icon: svgs.stretched,\n title: \"Stretch image\"\n }\n ];\n }\n\n /**\n * Styles\n *\n * @returns {{wrapper: string, buttonBase: *, button: string, buttonActive: *}}\n */\n get CSS() {\n return {\n wrapper: \"\",\n buttonBase: this.api.styles.settingsButton,\n button: \"image-tool__tune\",\n buttonActive: this.api.styles.settingsButtonActive\n };\n }\n\n /**\n * Makes buttons with tunes: stretch image\n *\n * @param {ImageToolData} toolData - generate Elements of tunes\n * @returns {Element}\n */\n render(toolData: ImageToolData): HTMLElement {\n const wrapper = make(\"div\", this.CSS.wrapper);\n\n this.buttons = [];\n\n const tunes = Tunes.tunes.concat(this.actions);\n\n tunes.forEach(tune => {\n const title = this.api.i18n.t(tune.title);\n const el = make(\"div\", [this.CSS.buttonBase, this.CSS.button], {\n innerHTML: tune.icon,\n title\n });\n\n el.addEventListener(\"click\", () => {\n this.tuneClicked(tune.name, tune.action);\n });\n\n el.dataset[\"tune\"] = tune.name;\n const name = tune.name as keyof ImageToolData;\n el.classList.toggle(this.CSS.buttonActive, !!toolData[name]);\n\n this.buttons.push(el);\n\n this.api.tooltip.onHover(el, title, {\n placement: \"top\"\n });\n\n wrapper.appendChild(el);\n });\n\n return wrapper;\n }\n\n /**\n * Clicks to one of the tunes\n *\n * @param {string} tuneName - clicked tune name\n * @param {Function} customFunction - function to execute on click\n */\n tuneClicked(tuneName: string, customFunction?: TuneOnChangeCallable): boolean {\n if (typeof customFunction === \"function\") {\n if (!customFunction(tuneName)) {\n return false;\n }\n }\n\n const button = this.buttons.find(el => el.dataset[\"tune\"] === tuneName);\n\n if (button) {\n button.classList.toggle(\n this.CSS.buttonActive,\n !button.classList.contains(this.CSS.buttonActive)\n );\n }\n\n this.onChange(tuneName);\n return true;\n }\n}\n"],"mappings":"AACA,SAASA,IAAI;AACb,OAAOC,IAAI;AAQX;AACA;AACA;AACA,eAAe,MAAMC,KAAK,CAAC;EAKvB;AACJ;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAAC;IAAEC,GAAG;IAAEC,OAAO;IAAEC;EAAsB,CAAC,EAAE;IACjD,IAAI,CAACF,GAAG,GAAGA,GAAG;IACd,IAAI,CAACC,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACC,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACC,OAAO,GAAG,EAAE;EACrB;;EAEA;AACJ;AACA;AACA;AACA;EACI,WAAWC,KAAKA,CAAA,EAAW;IACvB,OAAO,CACH;MACIC,IAAI,EAAE,WAAW;MACjBC,IAAI,EAAET,IAAI,CAACU,SAAS;MACpBC,KAAK,EAAE;IACX,CAAC,CACJ;EACL;;EAEA;AACJ;AACA;AACA;AACA;EACI,IAAIC,GAAGA,CAAA,EAAG;IACN,OAAO;MACHC,OAAO,EAAE,EAAE;MACXC,UAAU,EAAE,IAAI,CAACX,GAAG,CAACY,MAAM,CAACC,cAAc;MAC1CC,MAAM,EAAE,kBAAkB;MAC1BC,YAAY,EAAE,IAAI,CAACf,GAAG,CAACY,MAAM,CAACI;IAClC,CAAC;EACL;;EAEA;AACJ;AACA;AACA;AACA;AACA;EACIC,MAAMA,CAACC,QAAuB,EAAe;IACzC,MAAMR,OAAO,GAAGd,IAAI,CAAC,KAAK,EAAE,IAAI,CAACa,GAAG,CAACC,OAAO,CAAC;IAE7C,IAAI,CAACP,OAAO,GAAG,EAAE;IAEjB,MAAMC,KAAK,GAAGN,KAAK,CAACM,KAAK,CAACe,MAAM,CAAC,IAAI,CAAClB,OAAO,CAAC;IAE9CG,KAAK,CAACgB,OAAO,CAACC,IAAI,IAAI;MAClB,MAAMb,KAAK,GAAG,IAAI,CAACR,GAAG,CAACsB,IAAI,CAACC,CAAC,CAAC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AQ,CAAC;IAEvE,IAAIvB,MAAM,EAAE;MACRA,MAAM,CAACgB,SAAS,CAACC,MAAM,CACnB,IAAI,CAACtB,GAAG,CAACM,YAAY,EACrB,CAACD,MAAM,CAACgB,SAAS,CAACU,QAAQ,CAAC,IAAI,CAAC/B,GAAG,CAACM,YAAY,CACpD,CAAC;IACL;IAEA,IAAI,CAACb,QAAQ,CAACmC,QAAQ,CAAC;IACvB,OAAO,IAAI;EACf;AACJ","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- export interface TuneOnChangeCallable {
2
- (tune: string): boolean | void;
3
- }
4
- export interface Tune {
5
- name: string;
6
- icon: string;
7
- title: string;
8
- action?: TuneOnChangeCallable;
9
- }
10
- export interface ImageToolData {
11
- caption: string;
12
- file: string;
13
- }
14
- export interface ImageToolFile {
15
- src: string;
16
- }
17
- export interface GetFileSourceCallable {
18
- (file: ImageToolFile | string): string;
19
- }
20
- export interface OnSelectFileCallable {
21
- (file: ImageToolFile): string;
22
- }
23
- export interface ImageToolConfig {
24
- getFileSrc: GetFileSourceCallable;
25
- onSelectFile: OnSelectFileCallable;
26
- captionPlaceholder?: string;
27
- actions: Tune[];
28
- context: Record<string, any>;
29
- }
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["export interface TuneOnChangeCallable {\n (tune: string): boolean | void;\n}\nexport interface Tune {\n name: string;\n icon: string;\n title: string;\n action?: TuneOnChangeCallable;\n}\n\nexport interface ImageToolData {\n caption: string;\n file: string;\n}\nexport interface ImageToolFile {\n src: string;\n}\nexport interface GetFileSourceCallable {\n (file: ImageToolFile | string): string;\n}\nexport interface OnSelectFileCallable {\n (file: ImageToolFile): string;\n}\nexport interface ImageToolConfig {\n getFileSrc: GetFileSourceCallable;\n onSelectFile: OnSelectFileCallable;\n captionPlaceholder?: string;\n actions: Tune[];\n context: Record<string, any>;\n}\n"],"mappings":"","ignoreList":[]}
@@ -1,120 +0,0 @@
1
- import type { API } from "@editorjs/editorjs";
2
- import type { ImageToolConfig, ImageToolData } from "./types";
3
- interface OnSelectFileCallable {
4
- (): void;
5
- }
6
- interface UiStatus {
7
- EMPTY: "empty";
8
- FILLED: "filled";
9
- [key: string]: string;
10
- }
11
- interface UiParams {
12
- api: API;
13
- config: ImageToolConfig;
14
- onSelectFile: OnSelectFileCallable;
15
- readOnly: boolean;
16
- }
17
- /**
18
- * Class for working with UI:
19
- * - rendering base structure
20
- * - show/hide preview
21
- * - apply tune view
22
- */
23
- export default class Ui {
24
- private api;
25
- private config;
26
- private readonly readOnly;
27
- private readonly onSelectFile;
28
- readonly nodes: {
29
- wrapper: HTMLElement;
30
- imageContainer: HTMLElement;
31
- fileButton: HTMLElement;
32
- imageEl?: HTMLElement;
33
- caption: HTMLElement;
34
- };
35
- /**
36
- * @param ui - image tool Ui module
37
- * @param ui.api - Editor.js API
38
- * @param ui.config - user config
39
- * @param ui.onSelectFile - callback for clicks on Select file button
40
- * @param ui.readOnly - read-only mode flag
41
- */
42
- constructor({ api, config, onSelectFile, readOnly }: UiParams);
43
- /**
44
- * CSS classes
45
- *
46
- * @returns {object}
47
- */
48
- get CSS(): {
49
- baseClass: string;
50
- input: string;
51
- button: string;
52
- /**
53
- * Tool's classes
54
- */
55
- wrapper: string;
56
- imageContainer: string;
57
- imageEl: string;
58
- caption: string;
59
- };
60
- /**
61
- * Ui statuses:
62
- * - empty
63
- * - filled
64
- *
65
- * @returns {{EMPTY: string, UPLOADING: string, FILLED: string}}
66
- */
67
- static get status(): UiStatus;
68
- /**
69
- * Renders tool UI
70
- *
71
- * @param {ImageToolData} toolData - saved tool data
72
- * @returns {Element}
73
- */
74
- render(toolData: ImageToolData): HTMLElement;
75
- /**
76
- * Creates upload-file button
77
- *
78
- * @returns {Element}
79
- */
80
- createFileButton(): HTMLElement;
81
- /**
82
- * Shows an image
83
- *
84
- * @param {string} url - image source
85
- * @returns {void}
86
- */
87
- fillImage(url: string): void;
88
- /**
89
- * Shows caption input
90
- *
91
- * @param {string} text - caption text
92
- * @returns {void}
93
- */
94
- fillCaption(text: string): void;
95
- /**
96
- * Changes UI status
97
- *
98
- * @param {string} status - see {@link Ui.status} constants
99
- * @returns {void}
100
- */
101
- toggleStatus(status: string): void;
102
- /**
103
- * Apply visual representation of activated tune
104
- *
105
- * @param {string} tuneName - one of available tunes {@link Tunes.tunes}
106
- * @param {boolean} status - true for enable, false for disable
107
- * @returns {void}
108
- */
109
- applyTune(tuneName: string, status: boolean): void;
110
- }
111
- /**
112
- * Helper for making Elements with attributes
113
- *
114
- * @param {string} tagName - new Element tag name
115
- * @param {Array|string} classNames - list or name of CSS class
116
- * @param {object} attributes - any attributes
117
- * @returns {HTMLElement}
118
- */
119
- export declare const make: (tagName: string, classNames?: string[] | string | null, attributes?: Record<string, string | number | boolean>) => HTMLElement;
120
- export {};
@@ -1,245 +0,0 @@
1
- /**
2
- * Class for working with UI:
3
- * - rendering base structure
4
- * - show/hide preview
5
- * - apply tune view
6
- */
7
- export default class Ui {
8
- /**
9
- * @param ui - image tool Ui module
10
- * @param ui.api - Editor.js API
11
- * @param ui.config - user config
12
- * @param ui.onSelectFile - callback for clicks on Select file button
13
- * @param ui.readOnly - read-only mode flag
14
- */
15
- constructor({
16
- api,
17
- config,
18
- onSelectFile,
19
- readOnly
20
- }) {
21
- this.api = api;
22
- this.config = config;
23
- this.onSelectFile = onSelectFile;
24
- this.readOnly = readOnly;
25
- this.nodes = {
26
- wrapper: make("div", [this.CSS.baseClass, this.CSS.wrapper]),
27
- imageContainer: make("div", [this.CSS.imageContainer]),
28
- fileButton: this.createFileButton(),
29
- imageEl: undefined,
30
- caption: make("div", [this.CSS.input, this.CSS.caption], {
31
- contentEditable: !this.readOnly
32
- })
33
- };
34
-
35
- /**
36
- * Create base structure
37
- * <wrapper>
38
- * <image-container/>
39
- * <caption />
40
- * </wrapper>
41
- */
42
- this.nodes.caption.dataset["placeholder"] = this.config.captionPlaceholder;
43
- this.nodes.wrapper.appendChild(this.nodes.imageContainer);
44
- this.nodes.wrapper.appendChild(this.nodes.caption);
45
- this.nodes.wrapper.appendChild(this.nodes.fileButton);
46
- }
47
-
48
- /**
49
- * CSS classes
50
- *
51
- * @returns {object}
52
- */
53
- get CSS() {
54
- return {
55
- baseClass: this.api.styles.block,
56
- input: this.api.styles.input,
57
- button: this.api.styles.button,
58
- /**
59
- * Tool's classes
60
- */
61
- wrapper: "image-tool",
62
- imageContainer: "image-tool__image",
63
- imageEl: "image-tool__image-picture",
64
- caption: "image-tool__caption"
65
- };
66
- }
67
-
68
- /**
69
- * Ui statuses:
70
- * - empty
71
- * - filled
72
- *
73
- * @returns {{EMPTY: string, UPLOADING: string, FILLED: string}}
74
- */
75
- static get status() {
76
- return {
77
- EMPTY: "empty",
78
- FILLED: "filled"
79
- };
80
- }
81
-
82
- /**
83
- * Renders tool UI
84
- *
85
- * @param {ImageToolData} toolData - saved tool data
86
- * @returns {Element}
87
- */
88
- render(toolData) {
89
- if (!toolData.file || Object.keys(toolData.file).length === 0) {
90
- this.toggleStatus(Ui.status.EMPTY);
91
- }
92
- return this.nodes.wrapper;
93
- }
94
-
95
- /**
96
- * Creates upload-file button
97
- *
98
- * @returns {Element}
99
- */
100
- createFileButton() {
101
- const button = make("div", [this.CSS.button]);
102
- button.innerHTML = this.api.i18n.t("Select an Image");
103
- button.addEventListener("click", () => {
104
- this.onSelectFile();
105
- });
106
- return button;
107
- }
108
-
109
- /**
110
- * Shows an image
111
- *
112
- * @param {string} url - image source
113
- * @returns {void}
114
- */
115
- fillImage(url) {
116
- /**
117
- * Check for a source extension to compose element correctly: video tag for mp4, img — for others
118
- */
119
- const tag = /\.mp4$/.test(url) ? "VIDEO" : "IMG";
120
- const attributes = {
121
- src: url
122
- };
123
-
124
- /**
125
- * We use eventName variable because IMG and VIDEO tags have different event to be called on source load
126
- * - IMG: load
127
- * - VIDEO: loadeddata
128
- *
129
- * @type {string}
130
- */
131
- let eventName = "load";
132
-
133
- /**
134
- * Update attributes and eventName if source is a mp4 video
135
- */
136
- if (tag === "VIDEO") {
137
- /**
138
- * Add attributes for playing muted mp4 as a gif
139
- *
140
- * @type {boolean}
141
- */
142
- attributes.autoplay = true;
143
- attributes.loop = true;
144
- attributes.muted = true;
145
- attributes.playsinline = true;
146
-
147
- /**
148
- * Change event to be listened
149
- *
150
- * @type {string}
151
- */
152
- eventName = "loadeddata";
153
- }
154
-
155
- /**
156
- * Compose tag with defined attributes
157
- *
158
- * @type {Element}
159
- */
160
- this.nodes.imageEl = make(tag, this.CSS.imageEl, attributes);
161
-
162
- /**
163
- * Add load event listener
164
- */
165
- this.nodes.imageEl.addEventListener(eventName, () => {
166
- this.toggleStatus(Ui.status.FILLED);
167
- });
168
- this.nodes.imageContainer.appendChild(this.nodes.imageEl);
169
- }
170
-
171
- /**
172
- * Shows caption input
173
- *
174
- * @param {string} text - caption text
175
- * @returns {void}
176
- */
177
- fillCaption(text) {
178
- if (!this.nodes.caption) {
179
- return;
180
- }
181
- this.nodes.caption.innerHTML = text;
182
- }
183
-
184
- /**
185
- * Changes UI status
186
- *
187
- * @param {string} status - see {@link Ui.status} constants
188
- * @returns {void}
189
- */
190
- toggleStatus(status) {
191
- for (const statusType in Ui.status) {
192
- if (Object.prototype.hasOwnProperty.call(Ui.status, statusType) === false) {
193
- continue;
194
- }
195
- const newStatus = Ui.status[statusType];
196
- this.nodes.wrapper.classList.toggle(`${this.CSS.wrapper}--${newStatus}`, status === newStatus);
197
- }
198
- }
199
-
200
- /**
201
- * Apply visual representation of activated tune
202
- *
203
- * @param {string} tuneName - one of available tunes {@link Tunes.tunes}
204
- * @param {boolean} status - true for enable, false for disable
205
- * @returns {void}
206
- */
207
- applyTune(tuneName, status) {
208
- this.nodes.wrapper.classList.toggle(`${this.CSS.wrapper}--${tuneName}`, status);
209
- }
210
- }
211
-
212
- /**
213
- * Helper for making Elements with attributes
214
- *
215
- * @param {string} tagName - new Element tag name
216
- * @param {Array|string} classNames - list or name of CSS class
217
- * @param {object} attributes - any attributes
218
- * @returns {HTMLElement}
219
- */
220
- export const make = function make(tagName, classNames = null, attributes) {
221
- const element = document.createElement(tagName);
222
- if (Array.isArray(classNames)) {
223
- element.classList.add(...classNames);
224
- } else if (classNames) {
225
- element.classList.add(classNames);
226
- }
227
- if (!attributes) {
228
- return element;
229
- }
230
- for (const attrName in attributes) {
231
- /**
232
- * Unfortunately it is a problem to map attributes to element because element is complaining
233
- * that attrName is a string, which cannot index the HTMLElement
234
- */
235
- const key = attrName;
236
- /**
237
- * Error says that each key is a read-only property.
238
- */
239
- // @ts-expect-error
240
- element[key] = attributes[attrName];
241
- }
242
- return element;
243
- };
244
-
245
- //# sourceMappingURL=ui.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Ui","constructor","api","config","onSelectFile","readOnly","nodes","wrapper","make","CSS","baseClass","imageContainer","fileButton","createFileButton","imageEl","undefined","caption","input","contentEditable","dataset","captionPlaceholder","appendChild","styles","block","button","status","EMPTY","FILLED","render","toolData","file","Object","keys","length","toggleStatus","innerHTML","i18n","t","addEventListener","fillImage","url","tag","test","attributes","src","eventName","autoplay","loop","muted","playsinline","fillCaption","text","statusType","prototype","hasOwnProperty","call","newStatus","classList","toggle","applyTune","tuneName","tagName","classNames","element","document","createElement","Array","isArray","add","attrName","key"],"sources":["ui.ts"],"sourcesContent":["import type { API } from \"@editorjs/editorjs\";\nimport type { ImageToolConfig, ImageToolData } from \"./types\";\n\ninterface OnSelectFileCallable {\n (): void;\n}\ninterface UiStatus {\n EMPTY: \"empty\";\n FILLED: \"filled\";\n [key: string]: string;\n}\ninterface UiParams {\n api: API;\n config: ImageToolConfig;\n onSelectFile: OnSelectFileCallable;\n readOnly: boolean;\n}\n/**\n * Class for working with UI:\n * - rendering base structure\n * - show/hide preview\n * - apply tune view\n */\nexport default class Ui {\n private api: API;\n private config: ImageToolConfig;\n private readonly readOnly: boolean;\n private readonly onSelectFile: OnSelectFileCallable;\n\n public readonly nodes: {\n wrapper: HTMLElement;\n imageContainer: HTMLElement;\n fileButton: HTMLElement;\n imageEl?: HTMLElement;\n caption: HTMLElement;\n };\n\n /**\n * @param ui - image tool Ui module\n * @param ui.api - Editor.js API\n * @param ui.config - user config\n * @param ui.onSelectFile - callback for clicks on Select file button\n * @param ui.readOnly - read-only mode flag\n */\n constructor({ api, config, onSelectFile, readOnly }: UiParams) {\n this.api = api;\n this.config = config;\n this.onSelectFile = onSelectFile;\n this.readOnly = readOnly;\n this.nodes = {\n wrapper: make(\"div\", [this.CSS.baseClass, this.CSS.wrapper]),\n imageContainer: make(\"div\", [this.CSS.imageContainer]),\n fileButton: this.createFileButton(),\n imageEl: undefined,\n caption: make(\"div\", [this.CSS.input, this.CSS.caption], {\n contentEditable: !this.readOnly\n })\n };\n\n /**\n * Create base structure\n * <wrapper>\n * <image-container/>\n * <caption />\n * </wrapper>\n */\n this.nodes.caption.dataset[\"placeholder\"] = this.config.captionPlaceholder;\n this.nodes.wrapper.appendChild(this.nodes.imageContainer);\n this.nodes.wrapper.appendChild(this.nodes.caption);\n this.nodes.wrapper.appendChild(this.nodes.fileButton);\n }\n\n /**\n * CSS classes\n *\n * @returns {object}\n */\n get CSS() {\n return {\n baseClass: this.api.styles.block,\n input: this.api.styles.input,\n button: this.api.styles.button,\n\n /**\n * Tool's classes\n */\n wrapper: \"image-tool\",\n imageContainer: \"image-tool__image\",\n imageEl: \"image-tool__image-picture\",\n caption: \"image-tool__caption\"\n };\n }\n\n /**\n * Ui statuses:\n * - empty\n * - filled\n *\n * @returns {{EMPTY: string, UPLOADING: string, FILLED: string}}\n */\n static get status(): UiStatus {\n return {\n EMPTY: \"empty\",\n FILLED: \"filled\"\n };\n }\n\n /**\n * Renders tool UI\n *\n * @param {ImageToolData} toolData - saved tool data\n * @returns {Element}\n */\n render(toolData: ImageToolData) {\n if (!toolData.file || Object.keys(toolData.file).length === 0) {\n this.toggleStatus(Ui.status.EMPTY);\n }\n\n return this.nodes.wrapper;\n }\n\n /**\n * Creates upload-file button\n *\n * @returns {Element}\n */\n createFileButton() {\n const button = make(\"div\", [this.CSS.button]);\n\n button.innerHTML = this.api.i18n.t(\"Select an Image\");\n\n button.addEventListener(\"click\", () => {\n this.onSelectFile();\n });\n\n return button;\n }\n\n /**\n * Shows an image\n *\n * @param {string} url - image source\n * @returns {void}\n */\n public fillImage(url: string): void {\n /**\n * Check for a source extension to compose element correctly: video tag for mp4, img — for others\n */\n const tag = /\\.mp4$/.test(url) ? \"VIDEO\" : \"IMG\";\n\n const attributes: any = {\n src: url\n };\n\n /**\n * We use eventName variable because IMG and VIDEO tags have different event to be called on source load\n * - IMG: load\n * - VIDEO: loadeddata\n *\n * @type {string}\n */\n let eventName = \"load\";\n\n /**\n * Update attributes and eventName if source is a mp4 video\n */\n if (tag === \"VIDEO\") {\n /**\n * Add attributes for playing muted mp4 as a gif\n *\n * @type {boolean}\n */\n attributes.autoplay = true;\n attributes.loop = true;\n attributes.muted = true;\n attributes.playsinline = true;\n\n /**\n * Change event to be listened\n *\n * @type {string}\n */\n eventName = \"loadeddata\";\n }\n\n /**\n * Compose tag with defined attributes\n *\n * @type {Element}\n */\n this.nodes.imageEl = make(tag, this.CSS.imageEl, attributes);\n\n /**\n * Add load event listener\n */\n this.nodes.imageEl.addEventListener(eventName, () => {\n this.toggleStatus(Ui.status.FILLED);\n });\n\n this.nodes.imageContainer.appendChild(this.nodes.imageEl);\n }\n\n /**\n * Shows caption input\n *\n * @param {string} text - caption text\n * @returns {void}\n */\n public fillCaption(text: string): void {\n if (!this.nodes.caption) {\n return;\n }\n this.nodes.caption.innerHTML = text;\n }\n\n /**\n * Changes UI status\n *\n * @param {string} status - see {@link Ui.status} constants\n * @returns {void}\n */\n public toggleStatus(status: string): void {\n for (const statusType in Ui.status) {\n if (Object.prototype.hasOwnProperty.call(Ui.status, statusType) === false) {\n continue;\n }\n const newStatus = Ui.status[statusType];\n this.nodes.wrapper.classList.toggle(\n `${this.CSS.wrapper}--${newStatus}`,\n status === newStatus\n );\n }\n }\n\n /**\n * Apply visual representation of activated tune\n *\n * @param {string} tuneName - one of available tunes {@link Tunes.tunes}\n * @param {boolean} status - true for enable, false for disable\n * @returns {void}\n */\n public applyTune(tuneName: string, status: boolean) {\n this.nodes.wrapper.classList.toggle(`${this.CSS.wrapper}--${tuneName}`, status);\n }\n}\n\n/**\n * Helper for making Elements with attributes\n *\n * @param {string} tagName - new Element tag name\n * @param {Array|string} classNames - list or name of CSS class\n * @param {object} attributes - any attributes\n * @returns {HTMLElement}\n */\nexport const make = function make(\n tagName: string,\n classNames: string[] | string | null = null,\n attributes?: Record<string, string | number | boolean>\n): HTMLElement {\n const element: HTMLElement = document.createElement(tagName);\n\n if (Array.isArray(classNames)) {\n element.classList.add(...classNames);\n } else if (classNames) {\n element.classList.add(classNames);\n }\n\n if (!attributes) {\n return element;\n }\n for (const attrName in attributes) {\n /**\n * Unfortunately it is a problem to map attributes to element because element is complaining\n * that attrName is a string, which cannot index the HTMLElement\n */\n const key = attrName as keyof HTMLElement;\n /**\n * Error says that each key is a read-only property.\n */\n // @ts-expect-error\n element[key] = attributes[attrName];\n }\n\n return element;\n};\n"],"mappings":"AAiBA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,MAAMA,EAAE,CAAC;EAcpB;AACJ;AACA;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAAC;IAAEC,GAAG;IAAEC,MAAM;IAAEC,YAAY;IAAEC;EAAmB,CAAC,EAAE;IAC3D,IAAI,CAACH,GAAG,GAAGA,GAAG;IACd,IAAI,CAACC,MAAM,GAAGA,MAAM;IACpB,IAAI,CAACC,YAAY,GAAGA,YAAY;IAChC,IAAI,CAACC,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACC,KAAK,GAAG;MACTC,OAAO,EAAEC,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,CAACC,GAAG,CAACC,SAAS,EAAE,IAAI,CAACD,GAAG,CAACF,OAAO,CAAC,CAAC;MAC5DI,cAAc,EAAEH,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,CAACC,GA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