@webiny/app-admin 0.0.0-unstable.78f581c1d2 → 0.0.0-unstable.7be00a75a9

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 (1580) hide show
  1. package/README.md +7 -17
  2. package/assets/icons/add-18px.js +20 -0
  3. package/assets/icons/add-18px.js.map +1 -0
  4. package/assets/icons/add-18px.svg +1 -1
  5. package/assets/icons/arrow_drop_down-24px.js +20 -0
  6. package/assets/icons/arrow_drop_down-24px.js.map +1 -0
  7. package/assets/icons/arrow_drop_down-24px.svg +1 -1
  8. package/assets/icons/attach_file_black_24dp.js +20 -0
  9. package/assets/icons/attach_file_black_24dp.js.map +1 -0
  10. package/assets/icons/baseline-menu-24px.js +20 -0
  11. package/assets/icons/baseline-menu-24px.js.map +1 -0
  12. package/assets/icons/baseline-notification_important-24px.js +19 -0
  13. package/assets/icons/baseline-notification_important-24px.js.map +1 -0
  14. package/assets/icons/baseline-security-24px.js +19 -0
  15. package/assets/icons/baseline-security-24px.js.map +1 -0
  16. package/assets/icons/file_download.js +19 -0
  17. package/assets/icons/file_download.js.map +1 -0
  18. package/assets/icons/file_download.svg +1 -0
  19. package/assets/icons/file_upload.js +19 -0
  20. package/assets/icons/file_upload.js.map +1 -0
  21. package/assets/icons/file_upload.svg +1 -0
  22. package/assets/icons/filter-24px.js +23 -0
  23. package/assets/icons/filter-24px.js.map +1 -0
  24. package/assets/icons/filter-24px.svg +1 -1
  25. package/assets/icons/github-brands.js +19 -0
  26. package/assets/icons/github-brands.js.map +1 -0
  27. package/assets/icons/highlight-24px.js +19 -0
  28. package/assets/icons/highlight-24px.js.map +1 -0
  29. package/assets/icons/highlight-24px.svg +1 -1
  30. package/assets/icons/icon-community.js +18 -0
  31. package/assets/icons/icon-community.js.map +1 -0
  32. package/assets/icons/icon-documentation.js +18 -0
  33. package/assets/icons/icon-documentation.js.map +1 -0
  34. package/assets/icons/info.js +19 -0
  35. package/assets/icons/info.js.map +1 -0
  36. package/assets/icons/info.svg +1 -1
  37. package/assets/icons/insert_drive_file-24px.js +19 -0
  38. package/assets/icons/insert_drive_file-24px.js.map +1 -0
  39. package/assets/icons/insert_drive_file-24px.svg +1 -1
  40. package/assets/icons/insert_photo-24px.js +19 -0
  41. package/assets/icons/insert_photo-24px.js.map +1 -0
  42. package/assets/icons/insert_photo-24px.svg +1 -1
  43. package/assets/icons/label-24px.js +19 -0
  44. package/assets/icons/label-24px.js.map +1 -0
  45. package/assets/icons/label-24px.svg +1 -1
  46. package/assets/icons/round-account_circle-24px.js +19 -0
  47. package/assets/icons/round-account_circle-24px.js.map +1 -0
  48. package/assets/icons/round-account_circle-24px.svg +1 -1
  49. package/assets/icons/round-add-24px.js +20 -0
  50. package/assets/icons/round-add-24px.js.map +1 -0
  51. package/assets/icons/round-arrow_drop_down-24px.js +19 -0
  52. package/assets/icons/round-arrow_drop_down-24px.js.map +1 -0
  53. package/assets/icons/round-arrow_drop_down-24px.svg +1 -1
  54. package/assets/icons/round-chevron_right-24px.js +20 -0
  55. package/assets/icons/round-chevron_right-24px.js.map +1 -0
  56. package/assets/icons/round-feedback-24px.js +20 -0
  57. package/assets/icons/round-feedback-24px.js.map +1 -0
  58. package/assets/icons/round-help-24px.js +19 -0
  59. package/assets/icons/round-help-24px.js.map +1 -0
  60. package/assets/icons/round-help-24px.svg +1 -1
  61. package/assets/icons/round-invert_colors-24px.js +20 -0
  62. package/assets/icons/round-invert_colors-24px.js.map +1 -0
  63. package/assets/icons/round-keyboard_arrow_down-24px.js +17 -0
  64. package/assets/icons/round-keyboard_arrow_down-24px.js.map +1 -0
  65. package/assets/icons/round-keyboard_arrow_up-24px.js +17 -0
  66. package/assets/icons/round-keyboard_arrow_up-24px.js.map +1 -0
  67. package/assets/icons/round-lock_open-24px.js +22 -0
  68. package/assets/icons/round-lock_open-24px.js.map +1 -0
  69. package/assets/icons/round-more_vert-24px.js +20 -0
  70. package/assets/icons/round-more_vert-24px.js.map +1 -0
  71. package/assets/icons/round-open_in_new-24px.js +20 -0
  72. package/assets/icons/round-open_in_new-24px.js.map +1 -0
  73. package/assets/icons/round-settings-24px.js +20 -0
  74. package/assets/icons/round-settings-24px.js.map +1 -0
  75. package/assets/icons/round-settings-24px.svg +1 -1
  76. package/assets/icons/search-24px.js +21 -0
  77. package/assets/icons/search-24px.js.map +1 -0
  78. package/assets/icons/slack-logo.js +14 -0
  79. package/assets/icons/slack-logo.js.map +1 -0
  80. package/assets/icons/today-24px.js +19 -0
  81. package/assets/icons/today-24px.js.map +1 -0
  82. package/assets/icons/today-24px.svg +1 -1
  83. package/assets/icons/touch_app.js +20 -0
  84. package/assets/icons/touch_app.js.map +1 -0
  85. package/assets/icons/touch_app.svg +1 -1
  86. package/assets/images/webiny-logo.js +34 -0
  87. package/assets/images/webiny-logo.js.map +1 -0
  88. package/assets/images/webiny-orange-logo.js +34 -0
  89. package/assets/images/webiny-orange-logo.js.map +1 -0
  90. package/base/Admin.d.ts +5 -2
  91. package/base/Admin.js +57 -53
  92. package/base/Admin.js.map +1 -1
  93. package/base/Base/DefaultFieldRenderers.d.ts +2 -0
  94. package/base/Base/DefaultFieldRenderers.js +102 -0
  95. package/base/Base/DefaultFieldRenderers.js.map +1 -0
  96. package/base/Base/DefaultLayoutRenderers.d.ts +2 -0
  97. package/base/Base/DefaultLayoutRenderers.js +14 -0
  98. package/base/Base/DefaultLayoutRenderers.js.map +1 -0
  99. package/base/Base/FieldRenderers/CheckboxesRenderer.d.ts +13 -0
  100. package/base/Base/FieldRenderers/CheckboxesRenderer.js +27 -0
  101. package/base/Base/FieldRenderers/CheckboxesRenderer.js.map +1 -0
  102. package/base/Base/FieldRenderers/CodeEditorRenderer.d.ts +15 -0
  103. package/base/Base/FieldRenderers/CodeEditorRenderer.js +14 -0
  104. package/base/Base/FieldRenderers/CodeEditorRenderer.js.map +1 -0
  105. package/base/Base/FieldRenderers/DateTimeInputsRenderer.d.ts +17 -0
  106. package/base/Base/FieldRenderers/DateTimeInputsRenderer.js +66 -0
  107. package/base/Base/FieldRenderers/DateTimeInputsRenderer.js.map +1 -0
  108. package/base/Base/FieldRenderers/DateTimeRenderer.d.ts +21 -0
  109. package/base/Base/FieldRenderers/DateTimeRenderer.js +45 -0
  110. package/base/Base/FieldRenderers/DateTimeRenderer.js.map +1 -0
  111. package/base/Base/FieldRenderers/FilePickerRenderer.d.ts +13 -0
  112. package/base/Base/FieldRenderers/FilePickerRenderer.js +44 -0
  113. package/base/Base/FieldRenderers/FilePickerRenderer.js.map +1 -0
  114. package/base/Base/FieldRenderers/FileUrlPickerRenderer.d.ts +12 -0
  115. package/base/Base/FieldRenderers/FileUrlPickerRenderer.js +20 -0
  116. package/base/Base/FieldRenderers/FileUrlPickerRenderer.js.map +1 -0
  117. package/base/Base/FieldRenderers/HiddenRenderer.d.ts +12 -0
  118. package/base/Base/FieldRenderers/HiddenRenderer.js +5 -0
  119. package/base/Base/FieldRenderers/HiddenRenderer.js.map +1 -0
  120. package/base/Base/FieldRenderers/HorizontalTabsRenderer.d.ts +5 -0
  121. package/base/Base/FieldRenderers/HorizontalTabsRenderer.js +26 -0
  122. package/base/Base/FieldRenderers/HorizontalTabsRenderer.js.map +1 -0
  123. package/base/Base/FieldRenderers/InputRenderer.d.ts +12 -0
  124. package/base/Base/FieldRenderers/InputRenderer.js +19 -0
  125. package/base/Base/FieldRenderers/InputRenderer.js.map +1 -0
  126. package/base/Base/FieldRenderers/LexicalRenderer.d.ts +12 -0
  127. package/base/Base/FieldRenderers/LexicalRenderer.js +48 -0
  128. package/base/Base/FieldRenderers/LexicalRenderer.js.map +1 -0
  129. package/base/Base/FieldRenderers/MultiFilePickerRenderer.d.ts +13 -0
  130. package/base/Base/FieldRenderers/MultiFilePickerRenderer.js +70 -0
  131. package/base/Base/FieldRenderers/MultiFilePickerRenderer.js.map +1 -0
  132. package/base/Base/FieldRenderers/NumberInputRenderer.d.ts +12 -0
  133. package/base/Base/FieldRenderers/NumberInputRenderer.js +20 -0
  134. package/base/Base/FieldRenderers/NumberInputRenderer.js.map +1 -0
  135. package/base/Base/FieldRenderers/NumberInputsRenderer.d.ts +14 -0
  136. package/base/Base/FieldRenderers/NumberInputsRenderer.js +50 -0
  137. package/base/Base/FieldRenderers/NumberInputsRenderer.js.map +1 -0
  138. package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.d.ts +14 -0
  139. package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.js +17 -0
  140. package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.js.map +1 -0
  141. package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.d.ts +14 -0
  142. package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.js +59 -0
  143. package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.js.map +1 -0
  144. package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.d.ts +10 -0
  145. package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.js +97 -0
  146. package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.js.map +1 -0
  147. package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.d.ts +17 -0
  148. package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.js +48 -0
  149. package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.js.map +1 -0
  150. package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.d.ts +28 -0
  151. package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.js +69 -0
  152. package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.js.map +1 -0
  153. package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.d.ts +14 -0
  154. package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.js +17 -0
  155. package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.js.map +1 -0
  156. package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.d.ts +10 -0
  157. package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.js +58 -0
  158. package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.js.map +1 -0
  159. package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.d.ts +10 -0
  160. package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.js +68 -0
  161. package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.js.map +1 -0
  162. package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.d.ts +4 -0
  163. package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.js +19 -0
  164. package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.js.map +1 -0
  165. package/base/Base/FieldRenderers/PassthroughRenderer.d.ts +12 -0
  166. package/base/Base/FieldRenderers/PassthroughRenderer.js +12 -0
  167. package/base/Base/FieldRenderers/PassthroughRenderer.js.map +1 -0
  168. package/base/Base/FieldRenderers/RadioButtonsRenderer.d.ts +13 -0
  169. package/base/Base/FieldRenderers/RadioButtonsRenderer.js +26 -0
  170. package/base/Base/FieldRenderers/RadioButtonsRenderer.js.map +1 -0
  171. package/base/Base/FieldRenderers/SelectRenderer.d.ts +13 -0
  172. package/base/Base/FieldRenderers/SelectRenderer.js +28 -0
  173. package/base/Base/FieldRenderers/SelectRenderer.js.map +1 -0
  174. package/base/Base/FieldRenderers/SwitchRenderer.d.ts +12 -0
  175. package/base/Base/FieldRenderers/SwitchRenderer.js +16 -0
  176. package/base/Base/FieldRenderers/SwitchRenderer.js.map +1 -0
  177. package/base/Base/FieldRenderers/TagsRenderer.d.ts +12 -0
  178. package/base/Base/FieldRenderers/TagsRenderer.js +20 -0
  179. package/base/Base/FieldRenderers/TagsRenderer.js.map +1 -0
  180. package/base/Base/FieldRenderers/TextInputsRenderer.d.ts +14 -0
  181. package/base/Base/FieldRenderers/TextInputsRenderer.js +49 -0
  182. package/base/Base/FieldRenderers/TextInputsRenderer.js.map +1 -0
  183. package/base/Base/FieldRenderers/TextareaRenderer.d.ts +14 -0
  184. package/base/Base/FieldRenderers/TextareaRenderer.js +20 -0
  185. package/base/Base/FieldRenderers/TextareaRenderer.js.map +1 -0
  186. package/base/Base/FieldRenderers/TextareasRenderer.d.ts +14 -0
  187. package/base/Base/FieldRenderers/TextareasRenderer.js +52 -0
  188. package/base/Base/FieldRenderers/TextareasRenderer.js.map +1 -0
  189. package/base/Base/FieldRenderers/VerticalTabsRenderer.d.ts +5 -0
  190. package/base/Base/FieldRenderers/VerticalTabsRenderer.js +40 -0
  191. package/base/Base/FieldRenderers/VerticalTabsRenderer.js.map +1 -0
  192. package/base/Base/LexicalPreset.d.ts +2 -0
  193. package/base/Base/LexicalPreset.js +63 -0
  194. package/base/Base/LexicalPreset.js.map +1 -0
  195. package/base/Base/Menus/SupportMenuItems.d.ts +2 -0
  196. package/base/Base/Menus/SupportMenuItems.js +14 -0
  197. package/base/Base/Menus/SupportMenuItems.js.map +1 -0
  198. package/base/Base/Menus/WebinyVersion.d.ts +2 -0
  199. package/base/Base/Menus/WebinyVersion.js +23 -0
  200. package/base/Base/Menus/WebinyVersion.js.map +1 -0
  201. package/base/Base/Menus.d.ts +2 -0
  202. package/base/Base/Menus.js +58 -0
  203. package/base/Base/Menus.js.map +1 -0
  204. package/base/Base/RoutesConfig.d.ts +2 -0
  205. package/base/Base/RoutesConfig.js +28 -0
  206. package/base/Base/RoutesConfig.js.map +1 -0
  207. package/base/Base/Tenant/wby-horizontal.js +33 -0
  208. package/base/Base/Tenant/wby-horizontal.js.map +1 -0
  209. package/base/Base/Tenant/wby-horizontal.svg +23 -0
  210. package/base/Base/Tenant/wby-square.js +20 -0
  211. package/base/Base/Tenant/wby-square.js.map +1 -0
  212. package/base/Base/Tenant/wby-square.svg +3 -0
  213. package/base/Base/Tenant.d.ts +2 -0
  214. package/base/Base/Tenant.js +22 -0
  215. package/base/Base/Tenant.js.map +1 -0
  216. package/base/Base/UserMenu/ExitTenant.d.ts +20 -0
  217. package/base/Base/UserMenu/ExitTenant.js +26 -0
  218. package/base/Base/UserMenu/ExitTenant.js.map +1 -0
  219. package/base/Base/UserMenu/SignOut.d.ts +2 -0
  220. package/base/Base/UserMenu/SignOut.js +18 -0
  221. package/base/Base/UserMenu/SignOut.js.map +1 -0
  222. package/base/Base/UserMenu/UserInfo.d.ts +6 -0
  223. package/base/Base/UserMenu/UserInfo.js +30 -0
  224. package/base/Base/UserMenu/UserInfo.js.map +1 -0
  225. package/base/Base/UserMenu.d.ts +2 -0
  226. package/base/Base/UserMenu.js +20 -0
  227. package/base/Base/UserMenu.js.map +1 -0
  228. package/base/Base.d.ts +1 -1
  229. package/base/Base.js +14 -110
  230. package/base/Base.js.map +1 -1
  231. package/base/TelemetryAdminAppStart.d.ts +1 -0
  232. package/base/TelemetryAdminAppStart.js +16 -0
  233. package/base/TelemetryAdminAppStart.js.map +1 -0
  234. package/base/WebinyVersion.d.ts +2 -0
  235. package/base/WebinyVersion.js +23 -0
  236. package/base/WebinyVersion.js.map +1 -0
  237. package/base/createRootContainer.d.ts +2 -0
  238. package/base/createRootContainer.js +63 -0
  239. package/base/createRootContainer.js.map +1 -0
  240. package/base/plugins/AddGraphQLQuerySelection.d.ts +2 -3
  241. package/base/plugins/AddGraphQLQuerySelection.js +17 -29
  242. package/base/plugins/AddGraphQLQuerySelection.js.map +1 -1
  243. package/base/providers/AdminUiStateProvider.d.ts +1 -0
  244. package/base/providers/AdminUiStateProvider.js +9 -0
  245. package/base/providers/AdminUiStateProvider.js.map +1 -0
  246. package/base/providers/ApolloProvider.d.ts +5 -2
  247. package/base/providers/ApolloProvider.js +10 -26
  248. package/base/providers/ApolloProvider.js.map +1 -1
  249. package/base/providers/UiProviders.d.ts +1 -0
  250. package/base/providers/UiProviders.js +29 -0
  251. package/base/providers/UiProviders.js.map +1 -0
  252. package/base/providers/UiStateProvider.d.ts +1 -2
  253. package/base/providers/UiStateProvider.js +9 -23
  254. package/base/providers/UiStateProvider.js.map +1 -1
  255. package/base/ui/Brand.d.ts +39 -2
  256. package/base/ui/Brand.js +6 -18
  257. package/base/ui/Brand.js.map +1 -1
  258. package/base/ui/CenteredView.d.ts +21 -1
  259. package/base/ui/CenteredView.js +11 -40
  260. package/base/ui/CenteredView.js.map +1 -1
  261. package/base/ui/Dashboard.d.ts +39 -2
  262. package/base/ui/Dashboard.js +6 -18
  263. package/base/ui/Dashboard.js.map +1 -1
  264. package/base/ui/FileManager.d.ts +75 -0
  265. package/base/ui/FileManager.js +47 -0
  266. package/base/ui/FileManager.js.map +1 -0
  267. package/base/ui/Layout.d.ts +40 -2
  268. package/base/ui/Layout.js +6 -23
  269. package/base/ui/Layout.js.map +1 -1
  270. package/base/ui/LoginScreen.d.ts +40 -2
  271. package/base/ui/LoginScreen.js +19 -25
  272. package/base/ui/LoginScreen.js.map +1 -1
  273. package/base/ui/Logo.d.ts +38 -7
  274. package/base/ui/Logo.js +6 -35
  275. package/base/ui/Logo.js.map +1 -1
  276. package/base/ui/Navigation.d.ts +39 -23
  277. package/base/ui/Navigation.js +13 -181
  278. package/base/ui/Navigation.js.map +1 -1
  279. package/base/ui/NotFound.d.ts +39 -2
  280. package/base/ui/NotFound.js +6 -18
  281. package/base/ui/NotFound.js.map +1 -1
  282. package/base/ui/Tags.d.ts +2 -2
  283. package/base/ui/Tags.js +13 -26
  284. package/base/ui/Tags.js.map +1 -1
  285. package/base/ui/TenantSelector.d.ts +39 -0
  286. package/base/ui/TenantSelector.js +7 -0
  287. package/base/ui/TenantSelector.js.map +1 -0
  288. package/base/ui/UserMenu/UserMenu.d.ts +39 -0
  289. package/base/ui/UserMenu/UserMenu.js +7 -0
  290. package/base/ui/UserMenu/UserMenu.js.map +1 -0
  291. package/base/ui/UserMenu/UserMenuHandle.d.ts +39 -0
  292. package/base/ui/UserMenu/UserMenuHandle.js +7 -0
  293. package/base/ui/UserMenu/UserMenuHandle.js.map +1 -0
  294. package/base/ui/UserMenu/UserMenuItem.d.ts +81 -0
  295. package/base/ui/UserMenu/UserMenuItem.js +9 -0
  296. package/base/ui/UserMenu/UserMenuItem.js.map +1 -0
  297. package/base/ui/UserMenu/UserMenuLink.d.ts +81 -0
  298. package/base/ui/UserMenu/UserMenuLink.js +9 -0
  299. package/base/ui/UserMenu/UserMenuLink.js.map +1 -0
  300. package/base/ui/UserMenu/UserMenuSeparator.d.ts +42 -0
  301. package/base/ui/UserMenu/UserMenuSeparator.js +7 -0
  302. package/base/ui/UserMenu/UserMenuSeparator.js.map +1 -0
  303. package/base/ui/UserMenu.d.ts +79 -29
  304. package/base/ui/UserMenu.js +12 -137
  305. package/base/ui/UserMenu.js.map +1 -1
  306. package/components/AdminLayout.d.ts +2 -1
  307. package/components/AdminLayout.js +8 -22
  308. package/components/AdminLayout.js.map +1 -1
  309. package/components/BulkActions/Worker.d.ts +82 -0
  310. package/components/BulkActions/Worker.js +63 -0
  311. package/components/BulkActions/Worker.js.map +1 -0
  312. package/components/BulkActions/index.d.ts +2 -0
  313. package/components/BulkActions/index.js +2 -0
  314. package/components/BulkActions/useDialogWithReport/DialogMessage.d.ts +5 -0
  315. package/components/BulkActions/useDialogWithReport/DialogMessage.js +19 -0
  316. package/components/BulkActions/useDialogWithReport/DialogMessage.js.map +1 -0
  317. package/components/BulkActions/useDialogWithReport/index.d.ts +1 -0
  318. package/components/BulkActions/useDialogWithReport/index.js +1 -0
  319. package/components/BulkActions/useDialogWithReport/useDialogWithReport.d.ts +19 -0
  320. package/components/BulkActions/useDialogWithReport/useDialogWithReport.js +40 -0
  321. package/components/BulkActions/useDialogWithReport/useDialogWithReport.js.map +1 -0
  322. package/components/Buttons/Buttons.d.ts +24 -0
  323. package/components/Buttons/Buttons.js +50 -0
  324. package/components/Buttons/Buttons.js.map +1 -0
  325. package/components/Buttons/Buttons.styles.d.ts +4 -0
  326. package/components/Buttons/Buttons.styles.js +11 -0
  327. package/components/Buttons/Buttons.styles.js.map +1 -0
  328. package/components/Buttons/index.d.ts +2 -0
  329. package/components/Buttons/index.js +2 -0
  330. package/components/Buttons/useButtons.d.ts +14 -0
  331. package/components/Buttons/useButtons.js +19 -0
  332. package/components/Buttons/useButtons.js.map +1 -0
  333. package/components/DeveloperMode/DeveloperMode.d.ts +11 -0
  334. package/components/DeveloperMode/DeveloperMode.js +8 -0
  335. package/components/DeveloperMode/DeveloperMode.js.map +1 -0
  336. package/components/DeveloperMode/index.d.ts +2 -0
  337. package/components/DeveloperMode/index.js +1 -0
  338. package/components/Dialogs/Dialog.d.ts +22 -0
  339. package/components/Dialogs/Dialog.js +50 -0
  340. package/components/Dialogs/Dialog.js.map +1 -0
  341. package/components/Dialogs/DialogParamsContext.d.ts +6 -0
  342. package/components/Dialogs/DialogParamsContext.js +10 -0
  343. package/components/Dialogs/DialogParamsContext.js.map +1 -0
  344. package/components/Dialogs/DialogsContext.d.ts +41 -0
  345. package/components/Dialogs/DialogsContext.js +142 -0
  346. package/components/Dialogs/DialogsContext.js.map +1 -0
  347. package/components/Dialogs/useDialogs.d.ts +2 -0
  348. package/components/Dialogs/useDialogs.js +10 -0
  349. package/components/Dialogs/useDialogs.js.map +1 -0
  350. package/components/EmptyView.d.ts +4 -4
  351. package/components/EmptyView.js +29 -70
  352. package/components/EmptyView.js.map +1 -1
  353. package/components/Filters/Filters.d.ts +16 -0
  354. package/components/Filters/Filters.js +20 -0
  355. package/components/Filters/Filters.js.map +1 -0
  356. package/components/Filters/FiltersToggle.d.ts +7 -0
  357. package/components/Filters/FiltersToggle.js +21 -0
  358. package/components/Filters/FiltersToggle.js.map +1 -0
  359. package/components/Filters/index.d.ts +2 -0
  360. package/components/Filters/index.js +2 -0
  361. package/components/FloatingActionButton.d.ts +4 -1
  362. package/components/FloatingActionButton.js +15 -28
  363. package/components/FloatingActionButton.js.map +1 -1
  364. package/components/IconPicker/IconPicker.d.ts +13 -0
  365. package/components/IconPicker/IconPicker.js +37 -0
  366. package/components/IconPicker/IconPicker.js.map +1 -0
  367. package/components/IconPicker/IconPickerComponent.d.ts +17 -0
  368. package/components/IconPicker/IconPickerComponent.js +65 -0
  369. package/components/IconPicker/IconPickerComponent.js.map +1 -0
  370. package/components/IconPicker/IconPickerPresenter.d.ts +53 -0
  371. package/components/IconPicker/IconPickerPresenter.js +71 -0
  372. package/components/IconPicker/IconPickerPresenter.js.map +1 -0
  373. package/components/IconPicker/IconPickerPresenter.test.d.ts +1 -0
  374. package/components/IconPicker/IconPickerPresenter.test.js +84 -0
  375. package/components/IconPicker/IconPickerPresenter.test.js.map +1 -0
  376. package/components/IconPicker/IconPickerPresenterProvider.d.ts +9 -0
  377. package/components/IconPicker/IconPickerPresenterProvider.js +13 -0
  378. package/components/IconPicker/IconPickerPresenterProvider.js.map +1 -0
  379. package/components/IconPicker/IconPickerTab.d.ts +33 -0
  380. package/components/IconPicker/IconPickerTab.js +116 -0
  381. package/components/IconPicker/IconPickerTab.js.map +1 -0
  382. package/components/IconPicker/IconRenderer.d.ts +34 -0
  383. package/components/IconPicker/IconRenderer.js +19 -0
  384. package/components/IconPicker/IconRenderer.js.map +1 -0
  385. package/components/IconPicker/IconRepository.d.ts +19 -0
  386. package/components/IconPicker/IconRepository.js +48 -0
  387. package/components/IconPicker/IconRepository.js.map +1 -0
  388. package/components/IconPicker/IconRepository.test.d.ts +1 -0
  389. package/components/IconPicker/IconRepository.test.js +60 -0
  390. package/components/IconPicker/IconRepository.test.js.map +1 -0
  391. package/components/IconPicker/IconRepositoryFactory.d.ts +9 -0
  392. package/components/IconPicker/IconRepositoryFactory.js +21 -0
  393. package/components/IconPicker/IconRepositoryFactory.js.map +1 -0
  394. package/components/IconPicker/Loading.d.ts +14 -0
  395. package/components/IconPicker/Loading.js +51 -0
  396. package/components/IconPicker/Loading.js.map +1 -0
  397. package/components/IconPicker/components/IconPickerCell.d.ts +12 -0
  398. package/components/IconPicker/components/IconPickerCell.js +25 -0
  399. package/components/IconPicker/components/IconPickerCell.js.map +1 -0
  400. package/components/IconPicker/components/IconPickerContent.d.ts +11 -0
  401. package/components/IconPicker/components/IconPickerContent.js +33 -0
  402. package/components/IconPicker/components/IconPickerContent.js.map +1 -0
  403. package/components/IconPicker/components/IconPickerRow.d.ts +4 -0
  404. package/components/IconPicker/components/IconPickerRow.js +9 -0
  405. package/components/IconPicker/components/IconPickerRow.js.map +1 -0
  406. package/components/IconPicker/components/IconPickerTrigger.d.ts +13 -0
  407. package/components/IconPicker/components/IconPickerTrigger.js +50 -0
  408. package/components/IconPicker/components/IconPickerTrigger.js.map +1 -0
  409. package/components/IconPicker/components/index.d.ts +4 -0
  410. package/components/IconPicker/components/index.js +4 -0
  411. package/components/IconPicker/config/Emojis.d.ts +2 -0
  412. package/components/IconPicker/config/Emojis.js +22 -0
  413. package/components/IconPicker/config/Emojis.js.map +1 -0
  414. package/components/IconPicker/config/FontAwesomeIcons.d.ts +2 -0
  415. package/components/IconPicker/config/FontAwesomeIcons.js +57 -0
  416. package/components/IconPicker/config/FontAwesomeIcons.js.map +1 -0
  417. package/components/IconPicker/config/IconPackProvider.d.ts +7 -0
  418. package/components/IconPicker/config/IconPackProvider.js +21 -0
  419. package/components/IconPicker/config/IconPackProvider.js.map +1 -0
  420. package/components/IconPicker/config/IconType.d.ts +32 -0
  421. package/components/IconPicker/config/IconType.js +57 -0
  422. package/components/IconPicker/config/IconType.js.map +1 -0
  423. package/components/IconPicker/config/index.d.ts +31 -0
  424. package/components/IconPicker/config/index.js +42 -0
  425. package/components/IconPicker/config/index.js.map +1 -0
  426. package/components/IconPicker/defaultIcon.d.ts +6 -0
  427. package/components/IconPicker/defaultIcon.js +9 -0
  428. package/components/IconPicker/defaultIcon.js.map +1 -0
  429. package/components/IconPicker/index.d.ts +7 -0
  430. package/components/IconPicker/index.js +6 -0
  431. package/components/IconPicker/plugins/customPlugin.d.ts +2 -0
  432. package/components/IconPicker/plugins/customPlugin.js +104 -0
  433. package/components/IconPicker/plugins/customPlugin.js.map +1 -0
  434. package/components/IconPicker/plugins/emojisPlugin.d.ts +2 -0
  435. package/components/IconPicker/plugins/emojisPlugin.js +102 -0
  436. package/components/IconPicker/plugins/emojisPlugin.js.map +1 -0
  437. package/components/IconPicker/plugins/graphql.d.ts +20 -0
  438. package/components/IconPicker/plugins/graphql.js +22 -0
  439. package/components/IconPicker/plugins/graphql.js.map +1 -0
  440. package/components/IconPicker/plugins/iconsPlugin.d.ts +2 -0
  441. package/components/IconPicker/plugins/iconsPlugin.js +84 -0
  442. package/components/IconPicker/plugins/iconsPlugin.js.map +1 -0
  443. package/components/IconPicker/types.d.ts +22 -0
  444. package/components/IconPicker/types.js +7 -0
  445. package/components/IconPicker/types.js.map +1 -0
  446. package/components/LexicalEditor/DefaultLexicalEditorConfig.d.ts +2 -0
  447. package/components/LexicalEditor/DefaultLexicalEditorConfig.js +81 -0
  448. package/components/LexicalEditor/DefaultLexicalEditorConfig.js.map +1 -0
  449. package/components/LexicalEditor/LexicalEditor.d.ts +12 -0
  450. package/components/LexicalEditor/LexicalEditor.js +48 -0
  451. package/components/LexicalEditor/LexicalEditor.js.map +1 -0
  452. package/components/LexicalEditor/LexicalLinkForm.d.ts +6 -0
  453. package/components/LexicalEditor/LexicalLinkForm.js +88 -0
  454. package/components/LexicalEditor/LexicalLinkForm.js.map +1 -0
  455. package/components/LexicalEditor/TypographyDropDown.d.ts +8 -0
  456. package/components/LexicalEditor/TypographyDropDown.js +60 -0
  457. package/components/LexicalEditor/TypographyDropDown.js.map +1 -0
  458. package/components/LexicalEditor/index.d.ts +3 -0
  459. package/components/LexicalEditor/index.js +3 -0
  460. package/components/LexicalEditor/lexicalValueFromHtml.d.ts +7 -0
  461. package/components/LexicalEditor/lexicalValueFromHtml.js +28 -0
  462. package/components/LexicalEditor/lexicalValueFromHtml.js.map +1 -0
  463. package/components/LexicalEditor/lexicalValueWithHtml.d.ts +7 -0
  464. package/components/LexicalEditor/lexicalValueWithHtml.js +30 -0
  465. package/components/LexicalEditor/lexicalValueWithHtml.js.map +1 -0
  466. package/components/MultiImageUpload.d.ts +1 -1
  467. package/components/MultiImageUpload.js +6 -42
  468. package/components/MultiImageUpload.js.map +1 -1
  469. package/components/NotAuthorizedError/NotAuthorizedError.d.ts +2 -0
  470. package/components/NotAuthorizedError/NotAuthorizedError.js +19 -0
  471. package/components/NotAuthorizedError/NotAuthorizedError.js.map +1 -0
  472. package/components/NotAuthorizedError/SecureRouteError.js +297 -0
  473. package/components/NotAuthorizedError/SecureRouteError.js.map +1 -0
  474. package/components/NotAuthorizedError/SecureRouteError.svg +1 -0
  475. package/components/NotAuthorizedError/index.d.ts +1 -0
  476. package/components/NotAuthorizedError/index.js +1 -0
  477. package/components/OptionsMenu/OptionsMenu.d.ts +16 -0
  478. package/components/OptionsMenu/OptionsMenu.js +24 -0
  479. package/components/OptionsMenu/OptionsMenu.js.map +1 -0
  480. package/components/OptionsMenu/OptionsMenuItem.d.ts +10 -0
  481. package/components/OptionsMenu/OptionsMenuItem.js +18 -0
  482. package/components/OptionsMenu/OptionsMenuItem.js.map +1 -0
  483. package/components/OptionsMenu/OptionsMenuLink.d.ts +12 -0
  484. package/components/OptionsMenu/OptionsMenuLink.js +16 -0
  485. package/components/OptionsMenu/OptionsMenuLink.js.map +1 -0
  486. package/components/OptionsMenu/index.d.ts +4 -0
  487. package/components/OptionsMenu/index.js +4 -0
  488. package/components/OptionsMenu/useOptionsMenuItem.d.ts +13 -0
  489. package/components/OptionsMenu/useOptionsMenuItem.js +18 -0
  490. package/components/OptionsMenu/useOptionsMenuItem.js.map +1 -0
  491. package/components/OverlayLayout/OverlayLayout.d.ts +6 -17
  492. package/components/OverlayLayout/OverlayLayout.js +39 -182
  493. package/components/OverlayLayout/OverlayLayout.js.map +1 -1
  494. package/components/OverlayLayout/components/OverlayBackdrop.d.ts +7 -0
  495. package/components/OverlayLayout/components/OverlayBackdrop.js +10 -0
  496. package/components/OverlayLayout/components/OverlayBackdrop.js.map +1 -0
  497. package/components/OverlayLayout/components/OverlayContent.d.ts +6 -0
  498. package/components/OverlayLayout/components/OverlayContent.js +22 -0
  499. package/components/OverlayLayout/components/OverlayContent.js.map +1 -0
  500. package/components/OverlayLayout/components/OverlayHeader.d.ts +13 -0
  501. package/components/OverlayLayout/components/OverlayHeader.js +37 -0
  502. package/components/OverlayLayout/components/OverlayHeader.js.map +1 -0
  503. package/components/OverlayLayout/components/OverlayRoot.d.ts +9 -0
  504. package/components/OverlayLayout/components/OverlayRoot.js +18 -0
  505. package/components/OverlayLayout/components/OverlayRoot.js.map +1 -0
  506. package/components/OverlayLayout/components/index.d.ts +4 -0
  507. package/components/OverlayLayout/components/index.js +4 -0
  508. package/components/OverlayLayout/index.d.ts +1 -1
  509. package/components/OverlayLayout/index.js +1 -18
  510. package/components/Permissions/CannotUseAaclAlert.d.ts +2 -0
  511. package/components/Permissions/CannotUseAaclAlert.js +13 -0
  512. package/components/Permissions/CannotUseAaclAlert.js.map +1 -0
  513. package/components/Permissions/Permissions.d.ts +2 -2
  514. package/components/Permissions/Permissions.js +37 -52
  515. package/components/Permissions/Permissions.js.map +1 -1
  516. package/components/Permissions/PermissionsGroup.d.ts +6 -0
  517. package/components/Permissions/PermissionsGroup.js +12 -0
  518. package/components/Permissions/PermissionsGroup.js.map +1 -0
  519. package/components/Permissions/StyledComponents.d.ts +2 -3
  520. package/components/Permissions/StyledComponents.js +13 -35
  521. package/components/Permissions/StyledComponents.js.map +1 -1
  522. package/components/Permissions/index.d.ts +4 -2
  523. package/components/Permissions/index.js +4 -30
  524. package/components/RegisterFeature.d.ts +11 -0
  525. package/components/RegisterFeature.js +19 -0
  526. package/components/RegisterFeature.js.map +1 -0
  527. package/components/ResizablePanels/index.d.ts +1 -0
  528. package/components/ResizablePanels/index.js +1 -0
  529. package/components/RoleAutocomplete/graphql.d.ts +1 -0
  530. package/components/RoleAutocomplete/graphql.js +19 -0
  531. package/components/RoleAutocomplete/graphql.js.map +1 -0
  532. package/components/RoleAutocomplete/index.d.ts +7 -0
  533. package/components/RoleAutocomplete/index.js +26 -0
  534. package/components/RoleAutocomplete/index.js.map +1 -0
  535. package/components/RolesMultiAutocomplete/graphql.d.ts +1 -0
  536. package/components/RolesMultiAutocomplete/graphql.js +24 -0
  537. package/components/RolesMultiAutocomplete/graphql.js.map +1 -0
  538. package/components/RolesMultiAutocomplete/index.d.ts +7 -0
  539. package/components/RolesMultiAutocomplete/index.js +26 -0
  540. package/components/RolesMultiAutocomplete/index.js.map +1 -0
  541. package/components/SearchUI.d.ts +3 -2
  542. package/components/SearchUI.js +21 -73
  543. package/components/SearchUI.js.map +1 -1
  544. package/components/SimpleForm/SimpleForm.d.ts +19 -8
  545. package/components/SimpleForm/SimpleForm.js +60 -104
  546. package/components/SimpleForm/SimpleForm.js.map +1 -1
  547. package/components/SimpleForm/index.d.ts +1 -1
  548. package/components/SimpleForm/index.js +1 -31
  549. package/components/SimpleUI/InputField.d.ts +3 -1
  550. package/components/SimpleUI/InputField.js +76 -113
  551. package/components/SimpleUI/InputField.js.map +1 -1
  552. package/components/SingleImageUpload.d.ts +21 -8
  553. package/components/SingleImageUpload.js +39 -112
  554. package/components/SingleImageUpload.js.map +1 -1
  555. package/components/SplitView/SplitView.d.ts +11 -9
  556. package/components/SplitView/SplitView.js +51 -91
  557. package/components/SplitView/SplitView.js.map +1 -1
  558. package/components/SplitView/index.d.ts +1 -1
  559. package/components/SplitView/index.js +1 -25
  560. package/components/TeamAutocomplete/graphql.d.ts +1 -0
  561. package/components/TeamAutocomplete/graphql.js +19 -0
  562. package/components/TeamAutocomplete/graphql.js.map +1 -0
  563. package/components/TeamAutocomplete/index.d.ts +7 -0
  564. package/components/TeamAutocomplete/index.js +26 -0
  565. package/components/TeamAutocomplete/index.js.map +1 -0
  566. package/components/TeamsMultiAutocomplete/graphql.d.ts +1 -0
  567. package/components/TeamsMultiAutocomplete/graphql.js +24 -0
  568. package/components/TeamsMultiAutocomplete/graphql.js.map +1 -0
  569. package/components/TeamsMultiAutocomplete/index.d.ts +7 -0
  570. package/components/TeamsMultiAutocomplete/index.js +26 -0
  571. package/components/TeamsMultiAutocomplete/index.js.map +1 -0
  572. package/components/Wcp.d.ts +19 -0
  573. package/components/Wcp.js +37 -0
  574. package/components/Wcp.js.map +1 -0
  575. package/components/index.d.ts +27 -1
  576. package/components/index.js +25 -13
  577. package/config/AdminConfig/Dashboard.d.ts +3 -0
  578. package/config/AdminConfig/Dashboard.js +7 -0
  579. package/config/AdminConfig/Dashboard.js.map +1 -0
  580. package/config/AdminConfig/Dialog.d.ts +10 -0
  581. package/config/AdminConfig/Dialog.js +19 -0
  582. package/config/AdminConfig/Dialog.js.map +1 -0
  583. package/config/AdminConfig/FieldRenderer.d.ts +11 -0
  584. package/config/AdminConfig/FieldRenderer.js +19 -0
  585. package/config/AdminConfig/FieldRenderer.js.map +1 -0
  586. package/config/AdminConfig/Form.d.ts +4 -0
  587. package/config/AdminConfig/Form.js +9 -0
  588. package/config/AdminConfig/Form.js.map +1 -0
  589. package/config/AdminConfig/LayoutRenderer.d.ts +10 -0
  590. package/config/AdminConfig/LayoutRenderer.js +19 -0
  591. package/config/AdminConfig/LayoutRenderer.js.map +1 -0
  592. package/config/AdminConfig/LexicalTheme/Color.d.ts +11 -0
  593. package/config/AdminConfig/LexicalTheme/Color.js +38 -0
  594. package/config/AdminConfig/LexicalTheme/Color.js.map +1 -0
  595. package/config/AdminConfig/LexicalTheme/Typography.d.ts +30 -0
  596. package/config/AdminConfig/LexicalTheme/Typography.js +66 -0
  597. package/config/AdminConfig/LexicalTheme/Typography.js.map +1 -0
  598. package/config/AdminConfig/LexicalTheme.d.ts +9 -0
  599. package/config/AdminConfig/LexicalTheme.js +9 -0
  600. package/config/AdminConfig/LexicalTheme.js.map +1 -0
  601. package/config/AdminConfig/Logo.d.ts +24 -0
  602. package/config/AdminConfig/Logo.js +19 -0
  603. package/config/AdminConfig/Logo.js.map +1 -0
  604. package/config/AdminConfig/Menu/MenuGroup.d.ts +62 -0
  605. package/config/AdminConfig/Menu/MenuGroup.js +12 -0
  606. package/config/AdminConfig/Menu/MenuGroup.js.map +1 -0
  607. package/config/AdminConfig/Menu/MenuItem.d.ts +43 -0
  608. package/config/AdminConfig/Menu/MenuItem.js +12 -0
  609. package/config/AdminConfig/Menu/MenuItem.js.map +1 -0
  610. package/config/AdminConfig/Menu/MenuLink.d.ts +43 -0
  611. package/config/AdminConfig/Menu/MenuLink.js +21 -0
  612. package/config/AdminConfig/Menu/MenuLink.js.map +1 -0
  613. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.d.ts +43 -0
  614. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js +11 -0
  615. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js.map +1 -0
  616. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.d.ts +24 -0
  617. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js +11 -0
  618. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js.map +1 -0
  619. package/config/AdminConfig/Menu/SupportMenu.d.ts +72 -0
  620. package/config/AdminConfig/Menu/SupportMenu.js +38 -0
  621. package/config/AdminConfig/Menu/SupportMenu.js.map +1 -0
  622. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.d.ts +40 -0
  623. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js +7 -0
  624. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js.map +1 -0
  625. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.d.ts +40 -0
  626. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js +7 -0
  627. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js.map +1 -0
  628. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.d.ts +1 -0
  629. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js +1 -0
  630. package/config/AdminConfig/Menu/UserMenu/types.d.ts +7 -0
  631. package/config/AdminConfig/Menu/UserMenu/types.js +0 -0
  632. package/config/AdminConfig/Menu/UserMenu.d.ts +129 -0
  633. package/config/AdminConfig/Menu/UserMenu.js +48 -0
  634. package/config/AdminConfig/Menu/UserMenu.js.map +1 -0
  635. package/config/AdminConfig/Menu/types.d.ts +7 -0
  636. package/config/AdminConfig/Menu/types.js +0 -0
  637. package/config/AdminConfig/Menu.d.ts +352 -0
  638. package/config/AdminConfig/Menu.js +69 -0
  639. package/config/AdminConfig/Menu.js.map +1 -0
  640. package/config/AdminConfig/Route.d.ts +3 -0
  641. package/config/AdminConfig/Route.js +7 -0
  642. package/config/AdminConfig/Route.js.map +1 -0
  643. package/config/AdminConfig/Security.d.ts +3 -0
  644. package/config/AdminConfig/Security.js +7 -0
  645. package/config/AdminConfig/Security.js.map +1 -0
  646. package/config/AdminConfig/SecurityPermissions.d.ts +17 -0
  647. package/config/AdminConfig/SecurityPermissions.js +24 -0
  648. package/config/AdminConfig/SecurityPermissions.js.map +1 -0
  649. package/config/AdminConfig/Tenant/TenantLogo.d.ts +24 -0
  650. package/config/AdminConfig/Tenant/TenantLogo.js +22 -0
  651. package/config/AdminConfig/Tenant/TenantLogo.js.map +1 -0
  652. package/config/AdminConfig/Tenant/TenantName.d.ts +23 -0
  653. package/config/AdminConfig/Tenant/TenantName.js +18 -0
  654. package/config/AdminConfig/Tenant/TenantName.js.map +1 -0
  655. package/config/AdminConfig/Tenant.d.ts +49 -0
  656. package/config/AdminConfig/Tenant.js +11 -0
  657. package/config/AdminConfig/Tenant.js.map +1 -0
  658. package/config/AdminConfig/Theme/assignColor.d.ts +2 -0
  659. package/config/AdminConfig/Theme/assignColor.js +55 -0
  660. package/config/AdminConfig/Theme/assignColor.js.map +1 -0
  661. package/config/AdminConfig/Theme/consts.d.ts +2 -0
  662. package/config/AdminConfig/Theme/consts.js +22 -0
  663. package/config/AdminConfig/Theme/consts.js.map +1 -0
  664. package/config/AdminConfig/Theme/types.d.ts +3 -0
  665. package/config/AdminConfig/Theme/types.js +0 -0
  666. package/config/AdminConfig/Theme.d.ts +16 -0
  667. package/config/AdminConfig/Theme.js +15 -0
  668. package/config/AdminConfig/Theme.js.map +1 -0
  669. package/config/AdminConfig/Title.d.ts +23 -0
  670. package/config/AdminConfig/Title.js +15 -0
  671. package/config/AdminConfig/Title.js.map +1 -0
  672. package/config/AdminConfig/Widget.d.ts +15 -0
  673. package/config/AdminConfig/Widget.js +29 -0
  674. package/config/AdminConfig/Widget.js.map +1 -0
  675. package/config/AdminConfig.d.ts +500 -0
  676. package/config/AdminConfig.js +69 -0
  677. package/config/AdminConfig.js.map +1 -0
  678. package/config/createAdminConfig.d.ts +57 -0
  679. package/config/createAdminConfig.js +63 -0
  680. package/config/createAdminConfig.js.map +1 -0
  681. package/css/tokens.css +379 -0
  682. package/css/typography.css +70 -0
  683. package/domain/Identity.d.ts +59 -0
  684. package/domain/Identity.js +86 -0
  685. package/domain/Identity.js.map +1 -0
  686. package/errors/ErrorOverlayNetworkErrorHandler.d.ts +11 -0
  687. package/errors/ErrorOverlayNetworkErrorHandler.js +51 -0
  688. package/errors/ErrorOverlayNetworkErrorHandler.js.map +1 -0
  689. package/errors/TenantIsDisabled.d.ts +2 -0
  690. package/errors/TenantIsDisabled.js +22 -0
  691. package/errors/TenantIsDisabled.js.map +1 -0
  692. package/exports/admin/build-params.d.ts +4 -0
  693. package/exports/admin/build-params.js +2 -0
  694. package/exports/admin/configs.d.ts +1 -0
  695. package/exports/admin/configs.js +1 -0
  696. package/exports/admin/form.d.ts +16 -0
  697. package/exports/admin/form.js +5 -0
  698. package/exports/admin/security.d.ts +14 -0
  699. package/exports/admin/security.js +9 -0
  700. package/exports/admin/tenancy.d.ts +2 -0
  701. package/exports/admin/tenancy.js +2 -0
  702. package/exports/admin/ui/file-manager.d.ts +3 -0
  703. package/exports/admin/ui/file-manager.js +2 -0
  704. package/exports/admin/ui/lexical.d.ts +1 -0
  705. package/exports/admin/ui/lexical.js +1 -0
  706. package/exports/admin/ui.d.ts +7 -0
  707. package/exports/admin/ui.js +6 -0
  708. package/exports/admin.d.ts +9 -0
  709. package/exports/admin.js +8 -0
  710. package/features/apolloClient/abstraction.d.ts +5 -0
  711. package/features/apolloClient/abstraction.js +5 -0
  712. package/features/apolloClient/abstraction.js.map +1 -0
  713. package/features/apolloClient/feature.d.ts +2 -0
  714. package/features/apolloClient/feature.js +31 -0
  715. package/features/apolloClient/feature.js.map +1 -0
  716. package/features/buildParams/BuildParams.d.ts +9 -0
  717. package/features/buildParams/BuildParams.js +24 -0
  718. package/features/buildParams/BuildParams.js.map +1 -0
  719. package/features/buildParams/abstractions.d.ts +15 -0
  720. package/features/buildParams/abstractions.js +6 -0
  721. package/features/buildParams/abstractions.js.map +1 -0
  722. package/features/buildParams/feature.d.ts +1 -0
  723. package/features/buildParams/feature.js +15 -0
  724. package/features/buildParams/feature.js.map +1 -0
  725. package/features/buildParams/index.d.ts +2 -0
  726. package/features/buildParams/index.js +2 -0
  727. package/features/fileUrlFormatter/abstractions.d.ts +6 -0
  728. package/features/fileUrlFormatter/abstractions.js +5 -0
  729. package/features/fileUrlFormatter/abstractions.js.map +1 -0
  730. package/features/formModel/ConditionRuleEvaluator.d.ts +9 -0
  731. package/features/formModel/ConditionRuleEvaluator.js +49 -0
  732. package/features/formModel/ConditionRuleEvaluator.js.map +1 -0
  733. package/features/formModel/Field.d.ts +99 -0
  734. package/features/formModel/Field.js +347 -0
  735. package/features/formModel/Field.js.map +1 -0
  736. package/features/formModel/FieldBuilder.d.ts +44 -0
  737. package/features/formModel/FieldBuilder.js +152 -0
  738. package/features/formModel/FieldBuilder.js.map +1 -0
  739. package/features/formModel/FieldBuilder.test.d.ts +1 -0
  740. package/features/formModel/FieldBuilder.test.js +236 -0
  741. package/features/formModel/FieldBuilder.test.js.map +1 -0
  742. package/features/formModel/FieldBuilderRegistry.d.ts +4 -0
  743. package/features/formModel/FieldBuilderRegistry.js +29 -0
  744. package/features/formModel/FieldBuilderRegistry.js.map +1 -0
  745. package/features/formModel/FocusManager.d.ts +14 -0
  746. package/features/formModel/FocusManager.js +83 -0
  747. package/features/formModel/FocusManager.js.map +1 -0
  748. package/features/formModel/FormErrors.d.ts +9 -0
  749. package/features/formModel/FormErrors.js +35 -0
  750. package/features/formModel/FormErrors.js.map +1 -0
  751. package/features/formModel/FormModel.d.ts +59 -0
  752. package/features/formModel/FormModel.js +410 -0
  753. package/features/formModel/FormModel.js.map +1 -0
  754. package/features/formModel/FormModel.test.d.ts +1 -0
  755. package/features/formModel/FormModel.test.js +3811 -0
  756. package/features/formModel/FormModel.test.js.map +1 -0
  757. package/features/formModel/FormModelFactory.d.ts +11 -0
  758. package/features/formModel/FormModelFactory.js +33 -0
  759. package/features/formModel/FormModelFactory.js.map +1 -0
  760. package/features/formModel/FormView.d.ts +46 -0
  761. package/features/formModel/FormView.js +187 -0
  762. package/features/formModel/FormView.js.map +1 -0
  763. package/features/formModel/LayoutBuilderFactory.d.ts +61 -0
  764. package/features/formModel/LayoutBuilderFactory.js +316 -0
  765. package/features/formModel/LayoutBuilderFactory.js.map +1 -0
  766. package/features/formModel/LayoutMutator.d.ts +11 -0
  767. package/features/formModel/LayoutMutator.js +129 -0
  768. package/features/formModel/LayoutMutator.js.map +1 -0
  769. package/features/formModel/LayoutResolver.d.ts +26 -0
  770. package/features/formModel/LayoutResolver.js +199 -0
  771. package/features/formModel/LayoutResolver.js.map +1 -0
  772. package/features/formModel/ObjectField.d.ts +97 -0
  773. package/features/formModel/ObjectField.js +563 -0
  774. package/features/formModel/ObjectField.js.map +1 -0
  775. package/features/formModel/PresenterErrors.d.ts +9 -0
  776. package/features/formModel/PresenterErrors.js +32 -0
  777. package/features/formModel/PresenterErrors.js.map +1 -0
  778. package/features/formModel/Rules.test.d.ts +1 -0
  779. package/features/formModel/Rules.test.js +324 -0
  780. package/features/formModel/Rules.test.js.map +1 -0
  781. package/features/formModel/abstractions.d.ts +715 -0
  782. package/features/formModel/abstractions.js +8 -0
  783. package/features/formModel/abstractions.js.map +1 -0
  784. package/features/formModel/createFieldRenderer.d.ts +20 -0
  785. package/features/formModel/createFieldRenderer.js +38 -0
  786. package/features/formModel/createFieldRenderer.js.map +1 -0
  787. package/features/formModel/demo/FieldRenderersDemoPresenter.d.ts +18 -0
  788. package/features/formModel/demo/FieldRenderersDemoPresenter.js +299 -0
  789. package/features/formModel/demo/FieldRenderersDemoPresenter.js.map +1 -0
  790. package/features/formModel/demo/FormModelDemo.d.ts +4 -0
  791. package/features/formModel/demo/FormModelDemo.js +206 -0
  792. package/features/formModel/demo/FormModelDemo.js.map +1 -0
  793. package/features/formModel/demo/FormModelDemoPresenter.d.ts +22 -0
  794. package/features/formModel/demo/FormModelDemoPresenter.js +140 -0
  795. package/features/formModel/demo/FormModelDemoPresenter.js.map +1 -0
  796. package/features/formModel/demo/FormModelPhase11Presenter.d.ts +25 -0
  797. package/features/formModel/demo/FormModelPhase11Presenter.js +107 -0
  798. package/features/formModel/demo/FormModelPhase11Presenter.js.map +1 -0
  799. package/features/formModel/demo/FormModelPhase8c1Presenter.d.ts +23 -0
  800. package/features/formModel/demo/FormModelPhase8c1Presenter.js +69 -0
  801. package/features/formModel/demo/FormModelPhase8c1Presenter.js.map +1 -0
  802. package/features/formModel/feature.d.ts +3 -0
  803. package/features/formModel/feature.js +30 -0
  804. package/features/formModel/feature.js.map +1 -0
  805. package/features/formModel/fieldTypes/BooleanFieldType.d.ts +19 -0
  806. package/features/formModel/fieldTypes/BooleanFieldType.js +26 -0
  807. package/features/formModel/fieldTypes/BooleanFieldType.js.map +1 -0
  808. package/features/formModel/fieldTypes/DateTimeFieldType.d.ts +173 -0
  809. package/features/formModel/fieldTypes/DateTimeFieldType.js +246 -0
  810. package/features/formModel/fieldTypes/DateTimeFieldType.js.map +1 -0
  811. package/features/formModel/fieldTypes/FileFieldType.d.ts +29 -0
  812. package/features/formModel/fieldTypes/FileFieldType.js +56 -0
  813. package/features/formModel/fieldTypes/FileFieldType.js.map +1 -0
  814. package/features/formModel/fieldTypes/FileUrlFieldType.d.ts +18 -0
  815. package/features/formModel/fieldTypes/FileUrlFieldType.js +23 -0
  816. package/features/formModel/fieldTypes/FileUrlFieldType.js.map +1 -0
  817. package/features/formModel/fieldTypes/LexicalFieldType.d.ts +19 -0
  818. package/features/formModel/fieldTypes/LexicalFieldType.js +23 -0
  819. package/features/formModel/fieldTypes/LexicalFieldType.js.map +1 -0
  820. package/features/formModel/fieldTypes/NumberFieldType.d.ts +19 -0
  821. package/features/formModel/fieldTypes/NumberFieldType.js +28 -0
  822. package/features/formModel/fieldTypes/NumberFieldType.js.map +1 -0
  823. package/features/formModel/fieldTypes/ObjectFieldType.d.ts +34 -0
  824. package/features/formModel/fieldTypes/ObjectFieldType.js +95 -0
  825. package/features/formModel/fieldTypes/ObjectFieldType.js.map +1 -0
  826. package/features/formModel/fieldTypes/TextFieldType.d.ts +18 -0
  827. package/features/formModel/fieldTypes/TextFieldType.js +23 -0
  828. package/features/formModel/fieldTypes/TextFieldType.js.map +1 -0
  829. package/features/formModel/fieldTypes/index.d.ts +8 -0
  830. package/features/formModel/fieldTypes/index.js +8 -0
  831. package/features/formModel/index.d.ts +24 -0
  832. package/features/formModel/index.js +22 -0
  833. package/features/formModel/renderers.d.ts +21 -0
  834. package/features/formModel/renderers.js +21 -0
  835. package/features/formModel/useFieldRenderers.d.ts +2 -0
  836. package/features/formModel/useFieldRenderers.js +15 -0
  837. package/features/formModel/useFieldRenderers.js.map +1 -0
  838. package/features/formModel/useLayoutRenderers.d.ts +2 -0
  839. package/features/formModel/useLayoutRenderers.js +15 -0
  840. package/features/formModel/useLayoutRenderers.js.map +1 -0
  841. package/features/listCache/ListCache.d.ts +28 -0
  842. package/features/listCache/ListCache.js +48 -0
  843. package/features/listCache/ListCache.js.map +1 -0
  844. package/features/listCache/index.d.ts +2 -0
  845. package/features/listCache/index.js +1 -0
  846. package/features/security/AuthenticationContext/AuthenticationContext.d.ts +15 -0
  847. package/features/security/AuthenticationContext/AuthenticationContext.js +32 -0
  848. package/features/security/AuthenticationContext/AuthenticationContext.js.map +1 -0
  849. package/features/security/AuthenticationContext/GraphQLClientDecorator.d.ts +12 -0
  850. package/features/security/AuthenticationContext/GraphQLClientDecorator.js +31 -0
  851. package/features/security/AuthenticationContext/GraphQLClientDecorator.js.map +1 -0
  852. package/features/security/AuthenticationContext/InternalIdTokenProvider.d.ts +10 -0
  853. package/features/security/AuthenticationContext/InternalIdTokenProvider.js +20 -0
  854. package/features/security/AuthenticationContext/InternalIdTokenProvider.js.map +1 -0
  855. package/features/security/AuthenticationContext/abstractions.d.ts +26 -0
  856. package/features/security/AuthenticationContext/abstractions.js +6 -0
  857. package/features/security/AuthenticationContext/abstractions.js.map +1 -0
  858. package/features/security/AuthenticationContext/feature.d.ts +3 -0
  859. package/features/security/AuthenticationContext/feature.js +21 -0
  860. package/features/security/AuthenticationContext/feature.js.map +1 -0
  861. package/features/security/AuthenticationContext/index.d.ts +1 -0
  862. package/features/security/AuthenticationContext/index.js +1 -0
  863. package/features/security/AuthenticationContext/types.d.ts +11 -0
  864. package/features/security/AuthenticationContext/types.js +0 -0
  865. package/features/security/IdentityContext/IdentityContext.d.ts +13 -0
  866. package/features/security/IdentityContext/IdentityContext.js +25 -0
  867. package/features/security/IdentityContext/IdentityContext.js.map +1 -0
  868. package/features/security/IdentityContext/abstractions.d.ts +10 -0
  869. package/features/security/IdentityContext/abstractions.js +5 -0
  870. package/features/security/IdentityContext/abstractions.js.map +1 -0
  871. package/features/security/IdentityContext/feature.d.ts +3 -0
  872. package/features/security/IdentityContext/feature.js +17 -0
  873. package/features/security/IdentityContext/feature.js.map +1 -0
  874. package/features/security/IdentityContext/index.d.ts +2 -0
  875. package/features/security/IdentityContext/index.js +2 -0
  876. package/features/security/LogIn/IdentityMapper.d.ts +9 -0
  877. package/features/security/LogIn/IdentityMapper.js +14 -0
  878. package/features/security/LogIn/IdentityMapper.js.map +1 -0
  879. package/features/security/LogIn/LogInGateway.d.ts +11 -0
  880. package/features/security/LogIn/LogInGateway.js +25 -0
  881. package/features/security/LogIn/LogInGateway.js.map +1 -0
  882. package/features/security/LogIn/LogInRepository.d.ts +14 -0
  883. package/features/security/LogIn/LogInRepository.js +21 -0
  884. package/features/security/LogIn/LogInRepository.js.map +1 -0
  885. package/features/security/LogIn/LogInUseCase.d.ts +15 -0
  886. package/features/security/LogIn/LogInUseCase.js +32 -0
  887. package/features/security/LogIn/LogInUseCase.js.map +1 -0
  888. package/features/security/LogIn/abstractions.d.ts +48 -0
  889. package/features/security/LogIn/abstractions.js +8 -0
  890. package/features/security/LogIn/abstractions.js.map +1 -0
  891. package/features/security/LogIn/createLoginMutation.d.ts +1 -0
  892. package/features/security/LogIn/createLoginMutation.js +48 -0
  893. package/features/security/LogIn/createLoginMutation.js.map +1 -0
  894. package/features/security/LogIn/feature.d.ts +3 -0
  895. package/features/security/LogIn/feature.js +23 -0
  896. package/features/security/LogIn/feature.js.map +1 -0
  897. package/features/security/LogIn/index.d.ts +1 -0
  898. package/features/security/LogIn/index.js +1 -0
  899. package/features/security/LogOut/LogOutUseCase.d.ts +13 -0
  900. package/features/security/LogOut/LogOutUseCase.js +25 -0
  901. package/features/security/LogOut/LogOutUseCase.js.map +1 -0
  902. package/features/security/LogOut/abstractions.d.ts +7 -0
  903. package/features/security/LogOut/abstractions.js +5 -0
  904. package/features/security/LogOut/abstractions.js.map +1 -0
  905. package/features/security/LogOut/feature.d.ts +3 -0
  906. package/features/security/LogOut/feature.js +17 -0
  907. package/features/security/LogOut/feature.js.map +1 -0
  908. package/features/security/LogOut/index.d.ts +2 -0
  909. package/features/security/LogOut/index.js +2 -0
  910. package/features/security/SecurityFeature.d.ts +1 -0
  911. package/features/security/SecurityFeature.js +17 -0
  912. package/features/security/SecurityFeature.js.map +1 -0
  913. package/features/telemetry/TelemetryService.d.ts +6 -0
  914. package/features/telemetry/TelemetryService.js +19 -0
  915. package/features/telemetry/TelemetryService.js.map +1 -0
  916. package/features/telemetry/abstractions.d.ts +7 -0
  917. package/features/telemetry/abstractions.js +5 -0
  918. package/features/telemetry/abstractions.js.map +1 -0
  919. package/features/telemetry/feature.d.ts +3 -0
  920. package/features/telemetry/feature.js +17 -0
  921. package/features/telemetry/feature.js.map +1 -0
  922. package/features/telemetry/index.d.ts +2 -0
  923. package/features/telemetry/index.js +2 -0
  924. package/features/tenancy/GraphQLClientDecorator.d.ts +12 -0
  925. package/features/tenancy/GraphQLClientDecorator.js +30 -0
  926. package/features/tenancy/GraphQLClientDecorator.js.map +1 -0
  927. package/features/tenancy/TenantContext.d.ts +17 -0
  928. package/features/tenancy/TenantContext.js +57 -0
  929. package/features/tenancy/TenantContext.js.map +1 -0
  930. package/features/tenancy/abstractions.d.ts +14 -0
  931. package/features/tenancy/abstractions.js +5 -0
  932. package/features/tenancy/abstractions.js.map +1 -0
  933. package/features/tenancy/feature.d.ts +5 -0
  934. package/features/tenancy/feature.js +31 -0
  935. package/features/tenancy/feature.js.map +1 -0
  936. package/features/tenancy/types.d.ts +4 -0
  937. package/features/tenancy/types.js +0 -0
  938. package/features/tools/LexicalContext/LexicalContext.d.ts +14 -0
  939. package/features/tools/LexicalContext/LexicalContext.js +25 -0
  940. package/features/tools/LexicalContext/LexicalContext.js.map +1 -0
  941. package/features/tools/LexicalContext/abstractions.d.ts +11 -0
  942. package/features/tools/LexicalContext/abstractions.js +5 -0
  943. package/features/tools/LexicalContext/abstractions.js.map +1 -0
  944. package/features/tools/LexicalContext/index.d.ts +2 -0
  945. package/features/tools/LexicalContext/index.js +1 -0
  946. package/features/tools/ToolPipelineRunner.d.ts +10 -0
  947. package/features/tools/ToolPipelineRunner.js +35 -0
  948. package/features/tools/ToolPipelineRunner.js.map +1 -0
  949. package/features/tools/ToolRegistry.d.ts +12 -0
  950. package/features/tools/ToolRegistry.js +38 -0
  951. package/features/tools/ToolRegistry.js.map +1 -0
  952. package/features/tools/abstractions.d.ts +28 -0
  953. package/features/tools/abstractions.js +7 -0
  954. package/features/tools/abstractions.js.map +1 -0
  955. package/features/tools/feature.d.ts +4 -0
  956. package/features/tools/feature.js +22 -0
  957. package/features/tools/feature.js.map +1 -0
  958. package/features/tools/index.d.ts +3 -0
  959. package/features/tools/index.js +3 -0
  960. package/features/wcp/ReactLicense.d.ts +22 -0
  961. package/features/wcp/ReactLicense.js +56 -0
  962. package/features/wcp/ReactLicense.js.map +1 -0
  963. package/features/wcp/WcpGateway.d.ts +10 -0
  964. package/features/wcp/WcpGateway.js +78 -0
  965. package/features/wcp/WcpGateway.js.map +1 -0
  966. package/features/wcp/WcpService.d.ts +20 -0
  967. package/features/wcp/WcpService.js +74 -0
  968. package/features/wcp/WcpService.js.map +1 -0
  969. package/features/wcp/abstractions.d.ts +19 -0
  970. package/features/wcp/abstractions.js +6 -0
  971. package/features/wcp/abstractions.js.map +1 -0
  972. package/features/wcp/feature.d.ts +3 -0
  973. package/features/wcp/feature.js +19 -0
  974. package/features/wcp/feature.js.map +1 -0
  975. package/features/wcp/types.d.ts +21 -0
  976. package/features/wcp/types.js +0 -0
  977. package/features/webinySdk/WebinySdk.d.ts +11 -0
  978. package/features/webinySdk/WebinySdk.js +28 -0
  979. package/features/webinySdk/WebinySdk.js.map +1 -0
  980. package/features/webinySdk/abstractions.d.ts +6 -0
  981. package/features/webinySdk/abstractions.js +5 -0
  982. package/features/webinySdk/abstractions.js.map +1 -0
  983. package/features/webinySdk/feature.d.ts +3 -0
  984. package/features/webinySdk/feature.js +17 -0
  985. package/features/webinySdk/feature.js.map +1 -0
  986. package/features/webinySdk/index.d.ts +2 -0
  987. package/features/webinySdk/index.js +2 -0
  988. package/hooks/index.d.ts +13 -0
  989. package/hooks/index.js +13 -0
  990. package/hooks/useConfirmationDialog.d.ts +7 -3
  991. package/hooks/useConfirmationDialog.js +36 -57
  992. package/hooks/useConfirmationDialog.js.map +1 -1
  993. package/hooks/useDialog.d.ts +9 -10
  994. package/hooks/useDialog.js +18 -36
  995. package/hooks/useDialog.js.map +1 -1
  996. package/hooks/useHotkeys.d.ts +9 -0
  997. package/hooks/useHotkeys.js +66 -0
  998. package/hooks/useHotkeys.js.map +1 -0
  999. package/hooks/useIsMounted.d.ts +3 -0
  1000. package/hooks/useIsMounted.js +16 -0
  1001. package/hooks/useIsMounted.js.map +1 -0
  1002. package/hooks/useKeyHandler.d.ts +8 -0
  1003. package/hooks/useKeyHandler.js +56 -0
  1004. package/hooks/useKeyHandler.js.map +1 -0
  1005. package/hooks/useModKey.d.ts +1 -0
  1006. package/hooks/useModKey.js +24 -0
  1007. package/hooks/useModKey.js.map +1 -0
  1008. package/hooks/useOpenDialog.d.ts +7 -0
  1009. package/hooks/useOpenDialog.js +18 -0
  1010. package/hooks/useOpenDialog.js.map +1 -0
  1011. package/hooks/useShiftKey.d.ts +5 -0
  1012. package/hooks/useShiftKey.js +42 -0
  1013. package/hooks/useShiftKey.js.map +1 -0
  1014. package/hooks/useSnackbar.d.ts +4 -0
  1015. package/hooks/useSnackbar.js +28 -36
  1016. package/hooks/useSnackbar.js.map +1 -1
  1017. package/hooks/useStateIfMounted.d.ts +1 -0
  1018. package/hooks/useStateIfMounted.js +18 -0
  1019. package/hooks/useStateIfMounted.js.map +1 -0
  1020. package/hooks/useStateWithCallback.d.ts +5 -0
  1021. package/hooks/useStateWithCallback.js +22 -0
  1022. package/hooks/useStateWithCallback.js.map +1 -0
  1023. package/hooks/useToggler.d.ts +7 -0
  1024. package/hooks/useToggler.js +16 -0
  1025. package/hooks/useToggler.js.map +1 -0
  1026. package/index.d.ts +58 -35
  1027. package/index.js +47 -373
  1028. package/lexical.css +2 -0
  1029. package/package.json +78 -68
  1030. package/permissions/PermissionRenderer.d.ts +6 -0
  1031. package/permissions/PermissionRenderer.js +205 -0
  1032. package/permissions/PermissionRenderer.js.map +1 -0
  1033. package/permissions/PermissionValueContext.d.ts +11 -0
  1034. package/permissions/PermissionValueContext.js +16 -0
  1035. package/permissions/PermissionValueContext.js.map +1 -0
  1036. package/permissions/createHasPermission.d.ts +4 -0
  1037. package/permissions/createHasPermission.js +39 -0
  1038. package/permissions/createHasPermission.js.map +1 -0
  1039. package/permissions/createPermissionSchema.d.ts +2 -0
  1040. package/permissions/createPermissionSchema.js +9 -0
  1041. package/permissions/createPermissionSchema.js.map +1 -0
  1042. package/permissions/createPermissions.d.ts +6 -0
  1043. package/permissions/createPermissions.js +141 -0
  1044. package/permissions/createPermissions.js.map +1 -0
  1045. package/permissions/createPermissions.test.d.ts +1 -0
  1046. package/permissions/createPermissions.test.js +209 -0
  1047. package/permissions/createPermissions.test.js.map +1 -0
  1048. package/permissions/index.d.ts +9 -0
  1049. package/permissions/index.js +7 -0
  1050. package/permissions/types.d.ts +267 -0
  1051. package/permissions/types.js +0 -0
  1052. package/permissions/usePermissionForm.d.ts +17 -0
  1053. package/permissions/usePermissionForm.js +157 -0
  1054. package/permissions/usePermissionForm.js.map +1 -0
  1055. package/permissions/usePermissions.d.ts +4 -0
  1056. package/permissions/usePermissions.js +10 -0
  1057. package/permissions/usePermissions.js.map +1 -0
  1058. package/plugins/MenuPlugin.d.ts +1 -1
  1059. package/plugins/MenuPlugin.js +17 -55
  1060. package/plugins/MenuPlugin.js.map +1 -1
  1061. package/presentation/browserFilePicker/BrowserFilePicker.d.ts +3 -0
  1062. package/presentation/browserFilePicker/BrowserFilePicker.js +88 -0
  1063. package/presentation/browserFilePicker/BrowserFilePicker.js.map +1 -0
  1064. package/presentation/browserFilePicker/BrowserFilePickerPresenter.d.ts +10 -0
  1065. package/presentation/browserFilePicker/BrowserFilePickerPresenter.js +84 -0
  1066. package/presentation/browserFilePicker/BrowserFilePickerPresenter.js.map +1 -0
  1067. package/presentation/browserFilePicker/index.d.ts +3 -0
  1068. package/presentation/browserFilePicker/index.js +2 -0
  1069. package/presentation/browserFilePicker/types.d.ts +53 -0
  1070. package/presentation/browserFilePicker/types.js +0 -0
  1071. package/presentation/browserFilePicker/utils.d.ts +2 -0
  1072. package/presentation/browserFilePicker/utils.js +16 -0
  1073. package/presentation/browserFilePicker/utils.js.map +1 -0
  1074. package/presentation/buildParams/useBuildParams.d.ts +1 -0
  1075. package/presentation/buildParams/useBuildParams.js +6 -0
  1076. package/presentation/buildParams/useBuildParams.js.map +1 -0
  1077. package/presentation/installation/components/SystemInstaller/SystemInstaller.d.ts +8 -0
  1078. package/presentation/installation/components/SystemInstaller/SystemInstaller.js +63 -0
  1079. package/presentation/installation/components/SystemInstaller/SystemInstaller.js.map +1 -0
  1080. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.d.ts +2 -0
  1081. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js +12 -0
  1082. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js.map +1 -0
  1083. package/presentation/installation/components/SystemInstaller/index.d.ts +1 -0
  1084. package/presentation/installation/components/SystemInstaller/index.js +1 -0
  1085. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.d.ts +8 -0
  1086. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js +17 -0
  1087. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js.map +1 -0
  1088. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.d.ts +1 -0
  1089. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js +16 -0
  1090. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js.map +1 -0
  1091. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.d.ts +7 -0
  1092. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js +69 -0
  1093. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js.map +1 -0
  1094. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.d.ts +7 -0
  1095. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js +85 -0
  1096. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js.map +1 -0
  1097. package/presentation/installation/components/SystemInstaller/steps/Center.d.ts +4 -0
  1098. package/presentation/installation/components/SystemInstaller/steps/Center.js +7 -0
  1099. package/presentation/installation/components/SystemInstaller/steps/Center.js.map +1 -0
  1100. package/presentation/installation/components/SystemInstaller/steps/Container.d.ts +8 -0
  1101. package/presentation/installation/components/SystemInstaller/steps/Container.js +22 -0
  1102. package/presentation/installation/components/SystemInstaller/steps/Container.js.map +1 -0
  1103. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.d.ts +11 -0
  1104. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js +53 -0
  1105. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js.map +1 -0
  1106. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.d.ts +7 -0
  1107. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js +18 -0
  1108. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js.map +1 -0
  1109. package/presentation/installation/components/SystemInstaller/steps/introduction.js +723 -0
  1110. package/presentation/installation/components/SystemInstaller/steps/introduction.js.map +1 -0
  1111. package/presentation/installation/components/SystemInstaller/steps/introduction.svg +154 -0
  1112. package/presentation/installation/components/SystemInstaller/steps/referralSources.d.ts +1 -0
  1113. package/presentation/installation/components/SystemInstaller/steps/referralSources.js +16 -0
  1114. package/presentation/installation/components/SystemInstaller/steps/referralSources.js.map +1 -0
  1115. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.d.ts +10 -0
  1116. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js +62 -0
  1117. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js.map +1 -0
  1118. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.d.ts +24 -0
  1119. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js +131 -0
  1120. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js.map +1 -0
  1121. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.d.ts +11 -0
  1122. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js +32 -0
  1123. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js.map +1 -0
  1124. package/presentation/installation/presenters/SystemInstaller/abstractions.d.ts +59 -0
  1125. package/presentation/installation/presenters/SystemInstaller/abstractions.js +7 -0
  1126. package/presentation/installation/presenters/SystemInstaller/abstractions.js.map +1 -0
  1127. package/presentation/installation/presenters/SystemInstaller/feature.d.ts +3 -0
  1128. package/presentation/installation/presenters/SystemInstaller/feature.js +21 -0
  1129. package/presentation/installation/presenters/SystemInstaller/feature.js.map +1 -0
  1130. package/presentation/installation/presenters/SystemInstaller/index.d.ts +3 -0
  1131. package/presentation/installation/presenters/SystemInstaller/index.js +2 -0
  1132. package/presentation/lexicalContext/useLexicalContext.d.ts +3 -0
  1133. package/presentation/lexicalContext/useLexicalContext.js +17 -0
  1134. package/presentation/lexicalContext/useLexicalContext.js.map +1 -0
  1135. package/presentation/listPresenter/ListPresenter.d.ts +30 -0
  1136. package/presentation/listPresenter/ListPresenter.js +216 -0
  1137. package/presentation/listPresenter/ListPresenter.js.map +1 -0
  1138. package/presentation/listPresenter/ListPresenter.test.d.ts +1 -0
  1139. package/presentation/listPresenter/ListPresenter.test.js +816 -0
  1140. package/presentation/listPresenter/ListPresenter.test.js.map +1 -0
  1141. package/presentation/listPresenter/SelectionController.d.ts +21 -0
  1142. package/presentation/listPresenter/SelectionController.js +74 -0
  1143. package/presentation/listPresenter/SelectionController.js.map +1 -0
  1144. package/presentation/listPresenter/abstractions.d.ts +107 -0
  1145. package/presentation/listPresenter/abstractions.js +5 -0
  1146. package/presentation/listPresenter/abstractions.js.map +1 -0
  1147. package/presentation/listPresenter/feature.d.ts +3 -0
  1148. package/presentation/listPresenter/feature.js +17 -0
  1149. package/presentation/listPresenter/feature.js.map +1 -0
  1150. package/presentation/listPresenter/index.d.ts +3 -0
  1151. package/presentation/listPresenter/index.js +2 -0
  1152. package/presentation/security/components/HasPermission.d.ts +10 -0
  1153. package/presentation/security/components/HasPermission.js +21 -0
  1154. package/presentation/security/components/HasPermission.js.map +1 -0
  1155. package/presentation/security/components/SecureRoute.d.ts +7 -0
  1156. package/presentation/security/components/SecureRoute.js +10 -0
  1157. package/presentation/security/components/SecureRoute.js.map +1 -0
  1158. package/presentation/security/hooks/useAuthentication.d.ts +9 -0
  1159. package/presentation/security/hooks/useAuthentication.js +18 -0
  1160. package/presentation/security/hooks/useAuthentication.js.map +1 -0
  1161. package/presentation/security/hooks/useIdentity.d.ts +6 -0
  1162. package/presentation/security/hooks/useIdentity.js +26 -0
  1163. package/presentation/security/hooks/useIdentity.js.map +1 -0
  1164. package/presentation/security/hooks/useSecurity.d.ts +10 -0
  1165. package/presentation/security/hooks/useSecurity.js +18 -0
  1166. package/presentation/security/hooks/useSecurity.js.map +1 -0
  1167. package/presentation/tenancy/TenancyProvider.d.ts +6 -0
  1168. package/presentation/tenancy/TenancyProvider.js +30 -0
  1169. package/presentation/tenancy/TenancyProvider.js.map +1 -0
  1170. package/presentation/tenancy/createTenancyProvider.d.ts +1 -0
  1171. package/presentation/tenancy/createTenancyProvider.js +9 -0
  1172. package/presentation/tenancy/createTenancyProvider.js.map +1 -0
  1173. package/presentation/tenancy/useTenantContext.d.ts +5 -0
  1174. package/presentation/tenancy/useTenantContext.js +23 -0
  1175. package/presentation/tenancy/useTenantContext.js.map +1 -0
  1176. package/presentation/textToLexicalTool/TextToLexicalTool.d.ts +30 -0
  1177. package/presentation/textToLexicalTool/TextToLexicalTool.js +31 -0
  1178. package/presentation/textToLexicalTool/TextToLexicalTool.js.map +1 -0
  1179. package/presentation/textToLexicalTool/feature.d.ts +1 -0
  1180. package/presentation/textToLexicalTool/feature.js +11 -0
  1181. package/presentation/textToLexicalTool/feature.js.map +1 -0
  1182. package/presentation/textToLexicalTool/textToLexicalState.d.ts +6 -0
  1183. package/presentation/textToLexicalTool/textToLexicalState.js +31 -0
  1184. package/presentation/textToLexicalTool/textToLexicalState.js.map +1 -0
  1185. package/presentation/wcp/WcpProvider.d.ts +7 -0
  1186. package/presentation/wcp/WcpProvider.js +23 -0
  1187. package/presentation/wcp/WcpProvider.js.map +1 -0
  1188. package/presentation/wcp/useWcp.d.ts +2 -0
  1189. package/presentation/wcp/useWcp.js +17 -0
  1190. package/presentation/wcp/useWcp.js.map +1 -0
  1191. package/routes.d.ts +6 -0
  1192. package/routes.js +18 -0
  1193. package/routes.js.map +1 -0
  1194. package/static/svg/SecureRouteError.e8b15981.svg +1 -0
  1195. package/static/svg/add-18px.b3062af6.svg +3 -0
  1196. package/static/svg/arrow_drop_down-24px.da74d713.svg +4 -0
  1197. package/static/svg/attach_file_black_24dp.7fb13a7e.svg +1 -0
  1198. package/static/svg/baseline-menu-24px.071b179d.svg +4 -0
  1199. package/static/svg/baseline-notification_important-24px.29277e73.svg +4 -0
  1200. package/static/svg/baseline-security-24px.12e519cc.svg +4 -0
  1201. package/static/svg/file_download.afe3fbec.svg +1 -0
  1202. package/static/svg/file_upload.6865d820.svg +1 -0
  1203. package/static/svg/filter-24px.886d9ff0.svg +8 -0
  1204. package/static/svg/github-brands.6311f0fa.svg +1 -0
  1205. package/static/svg/highlight-24px.959a97f7.svg +1 -0
  1206. package/static/svg/icon-community.cd087355.svg +16 -0
  1207. package/static/svg/icon-documentation.a189d24c.svg +16 -0
  1208. package/static/svg/info.fe810b72.svg +1 -0
  1209. package/static/svg/insert_drive_file-24px.39d490eb.svg +1 -0
  1210. package/static/svg/insert_photo-24px.81a5f945.svg +1 -0
  1211. package/static/svg/introduction.108720aa.svg +154 -0
  1212. package/static/svg/label-24px.9deafa4f.svg +1 -0
  1213. package/static/svg/round-account_circle-24px.f0b48cb7.svg +1 -0
  1214. package/static/svg/round-add-24px.4a5219b4.svg +16 -0
  1215. package/static/svg/round-arrow_drop_down-24px.5fdf92d1.svg +1 -0
  1216. package/static/svg/round-chevron_right-24px.34936511.svg +12 -0
  1217. package/static/svg/round-feedback-24px.4dae7231.svg +54 -0
  1218. package/static/svg/round-help-24px.a61b1d66.svg +1 -0
  1219. package/static/svg/round-invert_colors-24px.a229a1dd.svg +52 -0
  1220. package/static/svg/round-keyboard_arrow_down-24px.6febe804.svg +16 -0
  1221. package/static/svg/round-keyboard_arrow_up-24px.b1f7db34.svg +16 -0
  1222. package/static/svg/round-lock_open-24px.d527f6a5.svg +60 -0
  1223. package/static/svg/round-more_vert-24px.68d41b07.svg +12 -0
  1224. package/static/svg/round-open_in_new-24px.be5b4ddd.svg +44 -0
  1225. package/static/svg/round-settings-24px.c0b3056f.svg +4 -0
  1226. package/static/svg/search-24px.3c0f88dd.svg +20 -0
  1227. package/static/svg/slack-logo.7ee35e7f.svg +1 -0
  1228. package/static/svg/today-24px.df206362.svg +1 -0
  1229. package/static/svg/touch_app.debf3744.svg +1 -0
  1230. package/static/svg/wby-horizontal.03327bf6.svg +23 -0
  1231. package/static/svg/wby-square.ff8f47c3.svg +3 -0
  1232. package/static/svg/webiny-logo.ef56725c.svg +20 -0
  1233. package/static/svg/webiny-orange-logo.4eccf0f2.svg +20 -0
  1234. package/styles.scss +7 -2
  1235. package/types.d.ts +8 -92
  1236. package/types.js +0 -5
  1237. package/assets/images/icons.png +0 -0
  1238. package/assets/images/icons_retina.png +0 -0
  1239. package/assets/images/swich.png +0 -0
  1240. package/base/providers/TelemetryProvider.d.ts +0 -2
  1241. package/base/providers/TelemetryProvider.js +0 -37
  1242. package/base/providers/TelemetryProvider.js.map +0 -1
  1243. package/base/providers/ViewCompositionProvider.d.ts +0 -17
  1244. package/base/providers/ViewCompositionProvider.js +0 -70
  1245. package/base/providers/ViewCompositionProvider.js.map +0 -1
  1246. package/base/ui/LocaleSelector.d.ts +0 -2
  1247. package/base/ui/LocaleSelector.js +0 -19
  1248. package/base/ui/LocaleSelector.js.map +0 -1
  1249. package/base/ui/Menu.d.ts +0 -31
  1250. package/base/ui/Menu.js +0 -166
  1251. package/base/ui/Menu.js.map +0 -1
  1252. package/base/ui/Search.d.ts +0 -19
  1253. package/base/ui/Search.js +0 -81
  1254. package/base/ui/Search.js.map +0 -1
  1255. package/components/AppInstaller/AppInstaller.d.ts +0 -7
  1256. package/components/AppInstaller/AppInstaller.js +0 -183
  1257. package/components/AppInstaller/AppInstaller.js.map +0 -1
  1258. package/components/AppInstaller/Sidebar.d.ts +0 -9
  1259. package/components/AppInstaller/Sidebar.js +0 -178
  1260. package/components/AppInstaller/Sidebar.js.map +0 -1
  1261. package/components/AppInstaller/assets/sign-in-divider.svg +0 -19
  1262. package/components/AppInstaller/index.d.ts +0 -2
  1263. package/components/AppInstaller/index.js +0 -29
  1264. package/components/AppInstaller/index.js.map +0 -1
  1265. package/components/AppInstaller/styled.d.ts +0 -9
  1266. package/components/AppInstaller/styled.js +0 -91
  1267. package/components/AppInstaller/styled.js.map +0 -1
  1268. package/components/AppInstaller/useInstaller.d.ts +0 -31
  1269. package/components/AppInstaller/useInstaller.js +0 -321
  1270. package/components/AppInstaller/useInstaller.js.map +0 -1
  1271. package/components/FileManager/BottomInfoBar/SupportedFileTypes.d.ts +0 -6
  1272. package/components/FileManager/BottomInfoBar/SupportedFileTypes.js +0 -55
  1273. package/components/FileManager/BottomInfoBar/SupportedFileTypes.js.map +0 -1
  1274. package/components/FileManager/BottomInfoBar/UploadStatus.d.ts +0 -6
  1275. package/components/FileManager/BottomInfoBar/UploadStatus.js +0 -60
  1276. package/components/FileManager/BottomInfoBar/UploadStatus.js.map +0 -1
  1277. package/components/FileManager/BottomInfoBar.d.ts +0 -5
  1278. package/components/FileManager/BottomInfoBar.js +0 -60
  1279. package/components/FileManager/BottomInfoBar.js.map +0 -1
  1280. package/components/FileManager/DropFilesHere.d.ts +0 -10
  1281. package/components/FileManager/DropFilesHere.js +0 -76
  1282. package/components/FileManager/DropFilesHere.js.map +0 -1
  1283. package/components/FileManager/File.d.ts +0 -17
  1284. package/components/FileManager/File.js +0 -155
  1285. package/components/FileManager/File.js.map +0 -1
  1286. package/components/FileManager/FileDetails/Name.d.ts +0 -8
  1287. package/components/FileManager/FileDetails/Name.js +0 -138
  1288. package/components/FileManager/FileDetails/Name.js.map +0 -1
  1289. package/components/FileManager/FileDetails/Tags.d.ts +0 -10
  1290. package/components/FileManager/FileDetails/Tags.js +0 -339
  1291. package/components/FileManager/FileDetails/Tags.js.map +0 -1
  1292. package/components/FileManager/FileDetails.d.ts +0 -24
  1293. package/components/FileManager/FileDetails.js +0 -474
  1294. package/components/FileManager/FileDetails.js.map +0 -1
  1295. package/components/FileManager/FileManagerContext.d.ts +0 -42
  1296. package/components/FileManager/FileManagerContext.js +0 -224
  1297. package/components/FileManager/FileManagerContext.js.map +0 -1
  1298. package/components/FileManager/FileManagerView.d.ts +0 -18
  1299. package/components/FileManager/FileManagerView.js +0 -728
  1300. package/components/FileManager/FileManagerView.js.map +0 -1
  1301. package/components/FileManager/LeftSidebar.d.ts +0 -10
  1302. package/components/FileManager/LeftSidebar.js +0 -127
  1303. package/components/FileManager/LeftSidebar.js.map +0 -1
  1304. package/components/FileManager/NoPermissionView.d.ts +0 -3
  1305. package/components/FileManager/NoPermissionView.js +0 -87
  1306. package/components/FileManager/NoPermissionView.js.map +0 -1
  1307. package/components/FileManager/NoResults.d.ts +0 -3
  1308. package/components/FileManager/NoResults.js +0 -28
  1309. package/components/FileManager/NoResults.js.map +0 -1
  1310. package/components/FileManager/getFileTypePlugin.d.ts +0 -4
  1311. package/components/FileManager/getFileTypePlugin.js +0 -57
  1312. package/components/FileManager/getFileTypePlugin.js.map +0 -1
  1313. package/components/FileManager/getFileUploader.d.ts +0 -3
  1314. package/components/FileManager/getFileUploader.js +0 -20
  1315. package/components/FileManager/getFileUploader.js.map +0 -1
  1316. package/components/FileManager/graphql.d.ts +0 -96
  1317. package/components/FileManager/graphql.js +0 -58
  1318. package/components/FileManager/graphql.js.map +0 -1
  1319. package/components/FileManager/icons/content_copy-black-24px.svg +0 -1
  1320. package/components/FileManager/icons/delete.svg +0 -12
  1321. package/components/FileManager/icons/privacy_tip-24px.svg +0 -10
  1322. package/components/FileManager/icons/round-check_box-24px.svg +0 -4
  1323. package/components/FileManager/icons/round-check_box_outline_blank-24px.svg +0 -4
  1324. package/components/FileManager/icons/round-cloud_download-24px.svg +0 -4
  1325. package/components/FileManager/icons/round-cloud_upload-24px.svg +0 -4
  1326. package/components/FileManager/icons/round-description-24px.svg +0 -4
  1327. package/components/FileManager/icons/round-edit-24px.svg +0 -4
  1328. package/components/FileManager/icons/round-info-24px.svg +0 -4
  1329. package/components/FileManager/icons/round-label-24px.svg +0 -4
  1330. package/components/FileManager/icons/round-more_vert-24px.svg +0 -4
  1331. package/components/FileManager/icons/round-search-24px.svg +0 -20
  1332. package/components/FileManager/outputFileSelectionError.d.ts +0 -7
  1333. package/components/FileManager/outputFileSelectionError.js +0 -54
  1334. package/components/FileManager/outputFileSelectionError.js.map +0 -1
  1335. package/components/FileManager/types.d.ts +0 -21
  1336. package/components/FileManager/types.js +0 -5
  1337. package/components/FileManager/types.js.map +0 -1
  1338. package/components/FileManager.d.ts +0 -67
  1339. package/components/FileManager.js +0 -144
  1340. package/components/FileManager.js.map +0 -1
  1341. package/components/OverlayLayout/icons/close.svg +0 -13
  1342. package/components/OverlayLayout/icons/navigate_before.svg +0 -16
  1343. package/components/OverlayLayout/index.js.map +0 -1
  1344. package/components/Permissions/index.js.map +0 -1
  1345. package/components/RichTextEditor/RichTextEditor.d.ts +0 -3
  1346. package/components/RichTextEditor/RichTextEditor.js +0 -30
  1347. package/components/RichTextEditor/RichTextEditor.js.map +0 -1
  1348. package/components/RichTextEditor/index.d.ts +0 -2
  1349. package/components/RichTextEditor/index.js +0 -21
  1350. package/components/RichTextEditor/index.js.map +0 -1
  1351. package/components/RichTextEditor/styles.scss +0 -96
  1352. package/components/RichTextEditor/tools/header/index.d.ts +0 -229
  1353. package/components/RichTextEditor/tools/header/index.js +0 -731
  1354. package/components/RichTextEditor/tools/header/index.js.map +0 -1
  1355. package/components/RichTextEditor/tools/header/styles.scss +0 -48
  1356. package/components/RichTextEditor/tools/image/index.d.ts +0 -124
  1357. package/components/RichTextEditor/tools/image/index.js +0 -265
  1358. package/components/RichTextEditor/tools/image/index.js.map +0 -1
  1359. package/components/RichTextEditor/tools/image/styles.scss +0 -90
  1360. package/components/RichTextEditor/tools/image/svgs.d.ts +0 -6
  1361. package/components/RichTextEditor/tools/image/svgs.js +0 -12
  1362. package/components/RichTextEditor/tools/image/svgs.js.map +0 -1
  1363. package/components/RichTextEditor/tools/image/tunes.d.ts +0 -57
  1364. package/components/RichTextEditor/tools/image/tunes.js +0 -146
  1365. package/components/RichTextEditor/tools/image/tunes.js.map +0 -1
  1366. package/components/RichTextEditor/tools/image/types.d.ts +0 -29
  1367. package/components/RichTextEditor/tools/image/types.js +0 -5
  1368. package/components/RichTextEditor/tools/image/types.js.map +0 -1
  1369. package/components/RichTextEditor/tools/image/ui.d.ts +0 -122
  1370. package/components/RichTextEditor/tools/image/ui.js +0 -301
  1371. package/components/RichTextEditor/tools/image/ui.js.map +0 -1
  1372. package/components/RichTextEditor/tools/paragraph/index.d.ts +0 -209
  1373. package/components/RichTextEditor/tools/paragraph/index.js +0 -514
  1374. package/components/RichTextEditor/tools/paragraph/index.js.map +0 -1
  1375. package/components/RichTextEditor/tools/paragraph/styles.scss +0 -29
  1376. package/components/RichTextEditor/tools/textColor/index.d.ts +0 -64
  1377. package/components/RichTextEditor/tools/textColor/index.js +0 -271
  1378. package/components/RichTextEditor/tools/textColor/index.js.map +0 -1
  1379. package/components/RichTextEditor/tools/textColor/styles.scss +0 -21
  1380. package/components/RichTextEditor/tools/utils.d.ts +0 -19
  1381. package/components/RichTextEditor/tools/utils.js +0 -33
  1382. package/components/RichTextEditor/tools/utils.js.map +0 -1
  1383. package/components/Routes.d.ts +0 -6
  1384. package/components/Routes.js +0 -49
  1385. package/components/Routes.js.map +0 -1
  1386. package/components/SimpleForm/index.js.map +0 -1
  1387. package/components/SplitView/index.js.map +0 -1
  1388. package/components/index.js.map +0 -1
  1389. package/index.js.map +0 -1
  1390. package/plugins/FileManagerFileTypePlugin.d.ts +0 -33
  1391. package/plugins/FileManagerFileTypePlugin.js +0 -63
  1392. package/plugins/FileManagerFileTypePlugin.js.map +0 -1
  1393. package/plugins/PermissionRendererPlugin.d.ts +0 -22
  1394. package/plugins/PermissionRendererPlugin.js +0 -58
  1395. package/plugins/PermissionRendererPlugin.js.map +0 -1
  1396. package/plugins/fileManager/fileDefault.d.ts +0 -2
  1397. package/plugins/fileManager/fileDefault.js +0 -34
  1398. package/plugins/fileManager/fileDefault.js.map +0 -1
  1399. package/plugins/fileManager/fileImage/DeleteAction.d.ts +0 -7
  1400. package/plugins/fileManager/fileImage/DeleteAction.js +0 -83
  1401. package/plugins/fileManager/fileImage/DeleteAction.js.map +0 -1
  1402. package/plugins/fileManager/fileImage/EditAction.d.ts +0 -10
  1403. package/plugins/fileManager/fileImage/EditAction.js +0 -179
  1404. package/plugins/fileManager/fileImage/EditAction.js.map +0 -1
  1405. package/plugins/fileManager/fileImage/index.d.ts +0 -2
  1406. package/plugins/fileManager/fileImage/index.js +0 -46
  1407. package/plugins/fileManager/fileImage/index.js.map +0 -1
  1408. package/plugins/fileManager/icons/edit.svg +0 -17
  1409. package/plugins/fileManager/icons/round-description-24px.svg +0 -1
  1410. package/plugins/fileManager/index.d.ts +0 -2
  1411. package/plugins/fileManager/index.js +0 -21
  1412. package/plugins/fileManager/index.js.map +0 -1
  1413. package/plugins/globalSearch/SearchBar.d.ts +0 -15
  1414. package/plugins/globalSearch/SearchBar.js +0 -273
  1415. package/plugins/globalSearch/SearchBar.js.map +0 -1
  1416. package/plugins/globalSearch/SearchBarDropdown.d.ts +0 -23
  1417. package/plugins/globalSearch/SearchBarDropdown.js +0 -101
  1418. package/plugins/globalSearch/SearchBarDropdown.js.map +0 -1
  1419. package/plugins/globalSearch/icons/round-search-24px.svg +0 -20
  1420. package/plugins/globalSearch/index.d.ts +0 -7
  1421. package/plugins/globalSearch/index.js +0 -16
  1422. package/plugins/globalSearch/index.js.map +0 -1
  1423. package/plugins/globalSearch/styled.d.ts +0 -11
  1424. package/plugins/globalSearch/styled.js +0 -135
  1425. package/plugins/globalSearch/styled.js.map +0 -1
  1426. package/plugins/uiLayoutRenderer/index.d.ts +0 -2
  1427. package/plugins/uiLayoutRenderer/index.js +0 -75
  1428. package/plugins/uiLayoutRenderer/index.js.map +0 -1
  1429. package/styles/material-theme-assignments.scss +0 -346
  1430. package/styles/material.scss +0 -43
  1431. package/styles/theme.scss +0 -46
  1432. package/types.js.map +0 -1
  1433. package/ui/UIElement.d.ts +0 -2
  1434. package/ui/UIElement.js +0 -19
  1435. package/ui/UIElement.js.map +0 -1
  1436. package/ui/UILayout.d.ts +0 -1
  1437. package/ui/UILayout.js +0 -19
  1438. package/ui/UILayout.js.map +0 -1
  1439. package/ui/UIRenderer.d.ts +0 -2
  1440. package/ui/UIRenderer.js +0 -13
  1441. package/ui/UIRenderer.js.map +0 -1
  1442. package/ui/UIView.d.ts +0 -2
  1443. package/ui/UIView.js +0 -25
  1444. package/ui/UIView.js.map +0 -1
  1445. package/ui/elements/AccordionElement.d.ts +0 -27
  1446. package/ui/elements/AccordionElement.js +0 -110
  1447. package/ui/elements/AccordionElement.js.map +0 -1
  1448. package/ui/elements/ButtonElement.d.ts +0 -24
  1449. package/ui/elements/ButtonElement.js +0 -105
  1450. package/ui/elements/ButtonElement.js.map +0 -1
  1451. package/ui/elements/ButtonGroupElement.d.ts +0 -6
  1452. package/ui/elements/ButtonGroupElement.js +0 -67
  1453. package/ui/elements/ButtonGroupElement.js.map +0 -1
  1454. package/ui/elements/GenericElement.d.ts +0 -1
  1455. package/ui/elements/GenericElement.js +0 -18
  1456. package/ui/elements/GenericElement.js.map +0 -1
  1457. package/ui/elements/LabelElement.d.ts +0 -16
  1458. package/ui/elements/LabelElement.js +0 -60
  1459. package/ui/elements/LabelElement.js.map +0 -1
  1460. package/ui/elements/NavigationMenuElement.d.ts +0 -33
  1461. package/ui/elements/NavigationMenuElement.js +0 -177
  1462. package/ui/elements/NavigationMenuElement.js.map +0 -1
  1463. package/ui/elements/PanelElement.d.ts +0 -3
  1464. package/ui/elements/PanelElement.js +0 -33
  1465. package/ui/elements/PanelElement.js.map +0 -1
  1466. package/ui/elements/PlaceholderElement.d.ts +0 -6
  1467. package/ui/elements/PlaceholderElement.js +0 -44
  1468. package/ui/elements/PlaceholderElement.js.map +0 -1
  1469. package/ui/elements/SmallButtonElement.d.ts +0 -6
  1470. package/ui/elements/SmallButtonElement.js +0 -64
  1471. package/ui/elements/SmallButtonElement.js.map +0 -1
  1472. package/ui/elements/TypographyElement.d.ts +0 -13
  1473. package/ui/elements/TypographyElement.js +0 -67
  1474. package/ui/elements/TypographyElement.js.map +0 -1
  1475. package/ui/elements/ViewElement.d.ts +0 -1
  1476. package/ui/elements/ViewElement.js +0 -18
  1477. package/ui/elements/ViewElement.js.map +0 -1
  1478. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.d.ts +0 -6
  1479. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js +0 -60
  1480. package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js.map +0 -1
  1481. package/ui/elements/form/DynamicFieldsetElement.d.ts +0 -43
  1482. package/ui/elements/form/DynamicFieldsetElement.js +0 -158
  1483. package/ui/elements/form/DynamicFieldsetElement.js.map +0 -1
  1484. package/ui/elements/form/FileManagerElement/EmptyStateElement.d.ts +0 -4
  1485. package/ui/elements/form/FileManagerElement/EmptyStateElement.js +0 -41
  1486. package/ui/elements/form/FileManagerElement/EmptyStateElement.js.map +0 -1
  1487. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.d.ts +0 -7
  1488. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +0 -95
  1489. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js.map +0 -1
  1490. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.d.ts +0 -13
  1491. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js +0 -123
  1492. package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js.map +0 -1
  1493. package/ui/elements/form/FileManagerElement/styled.d.ts +0 -20
  1494. package/ui/elements/form/FileManagerElement/styled.js +0 -120
  1495. package/ui/elements/form/FileManagerElement/styled.js.map +0 -1
  1496. package/ui/elements/form/FileManagerElement.d.ts +0 -24
  1497. package/ui/elements/form/FileManagerElement.js +0 -108
  1498. package/ui/elements/form/FileManagerElement.js.map +0 -1
  1499. package/ui/elements/form/FormElement.d.ts +0 -21
  1500. package/ui/elements/form/FormElement.js +0 -66
  1501. package/ui/elements/form/FormElement.js.map +0 -1
  1502. package/ui/elements/form/FormFieldElement.d.ts +0 -56
  1503. package/ui/elements/form/FormFieldElement.js +0 -206
  1504. package/ui/elements/form/FormFieldElement.js.map +0 -1
  1505. package/ui/elements/form/HiddenElement.d.ts +0 -6
  1506. package/ui/elements/form/HiddenElement.js +0 -64
  1507. package/ui/elements/form/HiddenElement.js.map +0 -1
  1508. package/ui/elements/form/InputElement.d.ts +0 -7
  1509. package/ui/elements/form/InputElement.js +0 -72
  1510. package/ui/elements/form/InputElement.js.map +0 -1
  1511. package/ui/elements/form/PasswordElement.d.ts +0 -6
  1512. package/ui/elements/form/PasswordElement.js +0 -66
  1513. package/ui/elements/form/PasswordElement.js.map +0 -1
  1514. package/ui/elements/form/README.md +0 -2
  1515. package/ui/elements/form/SelectElement.d.ts +0 -15
  1516. package/ui/elements/form/SelectElement.js +0 -87
  1517. package/ui/elements/form/SelectElement.js.map +0 -1
  1518. package/ui/elements/form/TextareaElement.d.ts +0 -15
  1519. package/ui/elements/form/TextareaElement.js +0 -72
  1520. package/ui/elements/form/TextareaElement.js.map +0 -1
  1521. package/ui/views/AdminView/ContentElement.d.ts +0 -4
  1522. package/ui/views/AdminView/ContentElement.js +0 -78
  1523. package/ui/views/AdminView/ContentElement.js.map +0 -1
  1524. package/ui/views/AdminView/HeaderElement.d.ts +0 -13
  1525. package/ui/views/AdminView/HeaderElement.js +0 -144
  1526. package/ui/views/AdminView/HeaderElement.js.map +0 -1
  1527. package/ui/views/AdminView/HeaderSectionCenterElement.d.ts +0 -6
  1528. package/ui/views/AdminView/HeaderSectionCenterElement.js +0 -62
  1529. package/ui/views/AdminView/HeaderSectionCenterElement.js.map +0 -1
  1530. package/ui/views/AdminView/HeaderSectionLeftElement.d.ts +0 -6
  1531. package/ui/views/AdminView/HeaderSectionLeftElement.js +0 -62
  1532. package/ui/views/AdminView/HeaderSectionLeftElement.js.map +0 -1
  1533. package/ui/views/AdminView/HeaderSectionRightElement.d.ts +0 -6
  1534. package/ui/views/AdminView/HeaderSectionRightElement.js +0 -62
  1535. package/ui/views/AdminView/HeaderSectionRightElement.js.map +0 -1
  1536. package/ui/views/AdminView/components/Dialog.d.ts +0 -2
  1537. package/ui/views/AdminView/components/Dialog.js +0 -57
  1538. package/ui/views/AdminView/components/Dialog.js.map +0 -1
  1539. package/ui/views/AdminView/components/Hamburger.d.ts +0 -3
  1540. package/ui/views/AdminView/components/Hamburger.js +0 -39
  1541. package/ui/views/AdminView/components/Hamburger.js.map +0 -1
  1542. package/ui/views/AdminView/components/Snackbar.d.ts +0 -3
  1543. package/ui/views/AdminView/components/Snackbar.js +0 -41
  1544. package/ui/views/AdminView/components/Snackbar.js.map +0 -1
  1545. package/ui/views/FormView/FormContainerElement.d.ts +0 -12
  1546. package/ui/views/FormView/FormContainerElement.js +0 -71
  1547. package/ui/views/FormView/FormContainerElement.js.map +0 -1
  1548. package/ui/views/FormView/FormContentElement.d.ts +0 -3
  1549. package/ui/views/FormView/FormContentElement.js +0 -33
  1550. package/ui/views/FormView/FormContentElement.js.map +0 -1
  1551. package/ui/views/FormView/FormFooterElement.d.ts +0 -6
  1552. package/ui/views/FormView/FormFooterElement.js +0 -68
  1553. package/ui/views/FormView/FormFooterElement.js.map +0 -1
  1554. package/ui/views/FormView/FormHeaderElement.d.ts +0 -14
  1555. package/ui/views/FormView/FormHeaderElement.js +0 -103
  1556. package/ui/views/FormView/FormHeaderElement.js.map +0 -1
  1557. package/ui/views/FormView.d.ts +0 -40
  1558. package/ui/views/FormView.js +0 -208
  1559. package/ui/views/FormView.js.map +0 -1
  1560. package/ui/views/OverlayView/ContentElement.d.ts +0 -6
  1561. package/ui/views/OverlayView/ContentElement.js +0 -61
  1562. package/ui/views/OverlayView/ContentElement.js.map +0 -1
  1563. package/ui/views/OverlayView/HeaderElement.d.ts +0 -24
  1564. package/ui/views/OverlayView/HeaderElement.js +0 -134
  1565. package/ui/views/OverlayView/HeaderElement.js.map +0 -1
  1566. package/ui/views/OverlayView/HeaderTitleElement.d.ts +0 -13
  1567. package/ui/views/OverlayView/HeaderTitleElement.js +0 -73
  1568. package/ui/views/OverlayView/HeaderTitleElement.js.map +0 -1
  1569. package/ui/views/OverlayView/useOverlayView.d.ts +0 -5
  1570. package/ui/views/OverlayView/useOverlayView.js +0 -54
  1571. package/ui/views/OverlayView/useOverlayView.js.map +0 -1
  1572. package/ui/views/OverlayView.d.ts +0 -29
  1573. package/ui/views/OverlayView.js +0 -199
  1574. package/ui/views/OverlayView.js.map +0 -1
  1575. package/ui/views/SplitView/SplitViewPanelElement.d.ts +0 -11
  1576. package/ui/views/SplitView/SplitViewPanelElement.js +0 -91
  1577. package/ui/views/SplitView/SplitViewPanelElement.js.map +0 -1
  1578. package/ui/views/SplitView.d.ts +0 -21
  1579. package/ui/views/SplitView.js +0 -162
  1580. package/ui/views/SplitView.js.map +0 -1
@@ -1,271 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
-
12
- var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
-
14
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
-
16
- var COLOR_TOOL_CLASS = "cdx-text-color";
17
-
18
- var TextColorTool = /*#__PURE__*/function () {
19
- function TextColorTool(_ref) {
20
- var api = _ref.api,
21
- config = _ref.config;
22
- (0, _classCallCheck2.default)(this, TextColorTool);
23
- (0, _defineProperty2.default)(this, "_state", void 0);
24
- (0, _defineProperty2.default)(this, "color", void 0);
25
- (0, _defineProperty2.default)(this, "api", void 0);
26
- (0, _defineProperty2.default)(this, "tag", void 0);
27
- (0, _defineProperty2.default)(this, "class", void 0);
28
- (0, _defineProperty2.default)(this, "colorPicker", void 0);
29
- (0, _defineProperty2.default)(this, "button", void 0);
30
- (0, _defineProperty2.default)(this, "config", void 0);
31
- (0, _defineProperty2.default)(this, "_CSS", void 0);
32
- this.api = api;
33
- this.button = null;
34
- this.colorPicker = null;
35
- this._state = false;
36
- this.tag = "SPAN";
37
- this.color = "red";
38
- this.class = COLOR_TOOL_CLASS;
39
- this.config = config || {
40
- themeColors: ["#44bd32"]
41
- };
42
- this._CSS = {
43
- colorPicker: "ce-text-color-tool",
44
- colorBox: "ce-text-color-tool__color-box",
45
- colorBoxActive: "ce-text-color-tool__color-box--active"
46
- };
47
- }
48
-
49
- (0, _createClass2.default)(TextColorTool, [{
50
- key: "state",
51
- get: function get() {
52
- return this._state;
53
- },
54
- set: function set(state) {
55
- this._state = state;
56
-
57
- if (!this.button) {
58
- return;
59
- }
60
-
61
- this.button.classList.toggle(this.api.styles.inlineToolButtonActive, state);
62
- }
63
- /**
64
- * Render method must return HTML element of the button for Inline Toolbar.
65
- */
66
-
67
- }, {
68
- key: "render",
69
- value: function render() {
70
- this.button = document.createElement("button");
71
- this.button.type = "button";
72
- 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>';
73
- this.button.classList.add(this.api.styles.inlineToolButton);
74
- return this.button;
75
- }
76
- /**
77
- * Input for the link
78
- */
79
-
80
- }, {
81
- key: "renderActions",
82
- value: function renderActions() {
83
- var _this = this;
84
-
85
- // Create action element
86
- this.colorPicker = document.createElement("div"); // Add element properties
87
-
88
- this.colorPicker.classList.add(this._CSS.colorPicker);
89
- this.config.themeColors.forEach(function (color) {
90
- // create element
91
- var colorBox = document.createElement("button"); // add properties
92
-
93
- colorBox.style.backgroundColor = color;
94
- colorBox.classList.add(_this._CSS.colorBox);
95
- colorBox.addEventListener("click", function () {
96
- if (_this.color === color) {
97
- // reset the color
98
- _this.color = "unset";
99
- } else {
100
- // set color
101
- _this.color = color;
102
- }
103
-
104
- if (_this.colorPicker) {
105
- /**
106
- * TODO @ts-refactor
107
- * TS Complains there is no classList on child node.
108
- */
109
- _this.colorPicker.childNodes.forEach(function (node) {
110
- if (node.classList.contains(_this._CSS.colorBoxActive)) {
111
- // remove active class
112
- node.classList.remove(_this._CSS.colorBoxActive);
113
- }
114
- });
115
- } // add active class
116
-
117
-
118
- colorBox.classList.add(_this._CSS.colorBoxActive);
119
- });
120
-
121
- if (!_this.colorPicker) {
122
- return;
123
- } // save element
124
-
125
-
126
- _this.colorPicker.appendChild(colorBox);
127
- }); // Return element
128
-
129
- return this.colorPicker;
130
- }
131
- /**
132
- * Finally, when button is pressed Editor calls
133
- * surround method of the tool with Range object as an argument.
134
- */
135
-
136
- }, {
137
- key: "surround",
138
- value: function surround(range) {
139
- if (this.state) {
140
- this.unwrap(range);
141
- return;
142
- }
143
-
144
- this.wrap(range);
145
- }
146
- }, {
147
- key: "wrap",
148
- value: function wrap(range) {
149
- var selectedText = range.extractContents();
150
- var mark = document.createElement(this.tag);
151
- mark.classList.add(this.class);
152
- mark.appendChild(selectedText);
153
- range.insertNode(mark);
154
- this.api.selection.expandToTag(mark);
155
- }
156
- }, {
157
- key: "unwrap",
158
- value: function unwrap(range) {
159
- var mark = this.api.selection.findParentTag(this.tag, this.class);
160
- var text = range.extractContents();
161
-
162
- if (mark) {
163
- mark.remove();
164
- }
165
-
166
- range.insertNode(text);
167
- }
168
- }, {
169
- key: "showActions",
170
- value: function showActions(mark) {
171
- var _this2 = this;
172
-
173
- if (!this.colorPicker) {
174
- return;
175
- }
176
-
177
- this.colorPicker.onclick = function () {
178
- mark.style.color = _this2.color;
179
- };
180
-
181
- this.colorPicker.hidden = false;
182
- }
183
- }, {
184
- key: "hideActions",
185
- value: function hideActions() {
186
- if (!this.colorPicker) {
187
- return;
188
- }
189
-
190
- this.colorPicker.onchange = null;
191
- this.colorPicker.hidden = true;
192
- }
193
- /**
194
- * CheckState method of each Inline Tool is called by Editor with current `Selection`
195
- * when user selects some text
196
- */
197
-
198
- }, {
199
- key: "checkState",
200
- value: function checkState() {
201
- var mark = this.api.selection.findParentTag(this.tag);
202
- this.state = !!mark;
203
-
204
- if (!!mark) {
205
- this.showActions(mark);
206
- } else {
207
- this.hideActions();
208
- }
209
- }
210
- }, {
211
- key: "convertToHex",
212
- value: function convertToHex(color) {
213
- var rgb = color.match(/(\d+)/g);
214
-
215
- if (!rgb) {
216
- return "";
217
- }
218
-
219
- var hexR = parseInt(rgb[0]).toString(16);
220
- var hexG = parseInt(rgb[1]).toString(16);
221
- var hexB = parseInt(rgb[2]).toString(16);
222
- hexR = hexR.length === 1 ? "0" + hexR : hexR;
223
- hexG = hexG.length === 1 ? "0" + hexG : hexG;
224
- hexB = hexB.length === 1 ? "0" + hexB : hexB;
225
- return "#" + hexR + hexG + hexB;
226
- }
227
- }, {
228
- key: "clear",
229
- value: function clear() {
230
- this.hideActions();
231
- }
232
- }], [{
233
- key: "isInline",
234
- get: function get() {
235
- return true;
236
- }
237
- /**
238
- * Sanitize method returns rules to let Editor know which HTML tags it should respect.
239
- * @returns {object} sanitizer configuration.
240
- * https://editorjs.io/sanitizer
241
- */
242
-
243
- }, {
244
- key: "sanitize",
245
- get: function get() {
246
- // Block Tools are not connected with Inline ones,
247
- // so markup added by Inline Tool will be removed on pasting or on saving.
248
- // We need this config so that `class` & `style` attributes will remain intact for "span".
249
- return {
250
- /**
251
- * TODO: figure out the element type
252
- */
253
- span: function span(el) {
254
- // Respect `class` and `style` attributes if this condition is meet.
255
- if (el.classList.contains(COLOR_TOOL_CLASS)) {
256
- return {
257
- class: COLOR_TOOL_CLASS,
258
- style: el.style
259
- };
260
- }
261
-
262
- return {};
263
- }
264
- };
265
- }
266
- }]);
267
- return TextColorTool;
268
- }();
269
-
270
- var _default = TextColorTool;
271
- exports.default = _default;
@@ -1 +0,0 @@
1
- {"version":3,"names":["COLOR_TOOL_CLASS","TextColorTool","api","config","button","colorPicker","_state","tag","color","class","themeColors","_CSS","colorBox","colorBoxActive","state","classList","toggle","styles","inlineToolButtonActive","document","createElement","type","innerHTML","add","inlineToolButton","forEach","style","backgroundColor","addEventListener","childNodes","node","contains","remove","appendChild","range","unwrap","wrap","selectedText","extractContents","mark","insertNode","selection","expandToTag","findParentTag","text","onclick","hidden","onchange","showActions","hideActions","rgb","match","hexR","parseInt","toString","hexG","hexB","length","span","el"],"sources":["index.ts"],"sourcesContent":["import { 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":";;;;;;;;;;;;;;;AAEA,IAAMA,gBAAgB,GAAG,gBAAzB;;IAmBMC,a;EAWF,6BAAkD;IAAA,IAApCC,GAAoC,QAApCA,GAAoC;IAAA,IAA/BC,MAA+B,QAA/BA,MAA+B;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA;IAC9C,KAAKD,GAAL,GAAWA,GAAX;IACA,KAAKE,MAAL,GAAc,IAAd;IACA,KAAKC,WAAL,GAAmB,IAAnB;IACA,KAAKC,MAAL,GAAc,KAAd;IACA,KAAKC,GAAL,GAAW,MAAX;IACA,KAAKC,KAAL,GAAa,KAAb;IACA,KAAKC,KAAL,GAAaT,gBAAb;IACA,KAAKG,MAAL,GAAcA,MAAM,IAAI;MAAEO,WAAW,EAAE,CAAC,SAAD;IAAf,CAAxB;IACA,KAAKC,IAAL,GAAY;MACRN,WAAW,EAAE,oBADL;MAERO,QAAQ,EAAE,+BAFF;MAGRC,cAAc,EAAE;IAHR,CAAZ;EAKH;;;;SAgCD,eAAqB;MACjB,OAAO,KAAKP,MAAZ;IACH,C;SAED,aAAUQ,KAAV,EAAiB;MACb,KAAKR,MAAL,GAAcQ,KAAd;;MACA,IAAI,CAAC,KAAKV,MAAV,EAAkB;QACd;MACH;;MACD,KAAKA,MAAL,CAAYW,SAAZ,CAAsBC,MAAtB,CAA6B,KAAKd,GAAL,CAASe,MAAT,CAAgBC,sBAA7C,EAAqEJ,KAArE;IACH;IACD;AACJ;AACA;;;;WACI,kBAAmC;MAC/B,KAAKV,MAAL,GAAce,QAAQ,CAACC,aAAT,CAAuB,QAAvB,CAAd;MACA,KAAKhB,MAAL,CAAYiB,IAAZ,GAAmB,QAAnB;MACA,KAAKjB,MAAL,CAAYkB,SAAZ,GACI,oUADJ;MAEA,KAAKlB,MAAL,CAAYW,SAAZ,CAAsBQ,GAAtB,CAA0B,KAAKrB,GAAL,CAASe,MAAT,CAAgBO,gBAA1C;MAEA,OAAO,KAAKpB,MAAZ;IACH;IAED;AACJ;AACA;;;;WACI,yBAAoC;MAAA;;MAChC;MACA,KAAKC,WAAL,GAAmBc,QAAQ,CAACC,aAAT,CAAuB,KAAvB,CAAnB,CAFgC,CAGhC;;MACA,KAAKf,WAAL,CAAiBU,SAAjB,CAA2BQ,GAA3B,CAA+B,KAAKZ,IAAL,CAAUN,WAAzC;MAEA,KAAKF,MAAL,CAAYO,WAAZ,CAAwBe,OAAxB,CAAgC,UAAAjB,KAAK,EAAI;QACrC;QACA,IAAMI,QAAQ,GAAGO,QAAQ,CAACC,aAAT,CAAuB,QAAvB,CAAjB,CAFqC,CAGrC;;QACAR,QAAQ,CAACc,KAAT,CAAeC,eAAf,GAAiCnB,KAAjC;QACAI,QAAQ,CAACG,SAAT,CAAmBQ,GAAnB,CAAuB,KAAI,CAACZ,IAAL,CAAUC,QAAjC;QAEAA,QAAQ,CAACgB,gBAAT,CAA0B,OAA1B,EAAmC,YAAM;UACrC,IAAI,KAAI,CAACpB,KAAL,KAAeA,KAAnB,EAA0B;YACtB;YACA,KAAI,CAACA,KAAL,GAAa,OAAb;UACH,CAHD,MAGO;YACH;YACA,KAAI,CAACA,KAAL,GAAaA,KAAb;UACH;;UAED,IAAI,KAAI,CAACH,WAAT,EAAsB;YAClB;AACpB;AACA;AACA;YACoB,KAAI,CAACA,WAAL,CAAiBwB,UAAjB,CAA4BJ,OAA5B,CAAoC,UAACK,IAAD,EAAe;cAC/C,IAAIA,IAAI,CAACf,SAAL,CAAegB,QAAf,CAAwB,KAAI,CAACpB,IAAL,CAAUE,cAAlC,CAAJ,EAAuD;gBACnD;gBACAiB,IAAI,CAACf,SAAL,CAAeiB,MAAf,CAAsB,KAAI,CAACrB,IAAL,CAAUE,cAAhC;cACH;YACJ,CALD;UAMH,CApBoC,CAqBrC;;;UACAD,QAAQ,CAACG,SAAT,CAAmBQ,GAAnB,CAAuB,KAAI,CAACZ,IAAL,CAAUE,cAAjC;QACH,CAvBD;;QAwBA,IAAI,CAAC,KAAI,CAACR,WAAV,EAAuB;UACnB;QACH,CAjCoC,CAkCrC;;;QACA,KAAI,CAACA,WAAL,CAAiB4B,WAAjB,CAA6BrB,QAA7B;MACH,CApCD,EANgC,CA4ChC;;MACA,OAAO,KAAKP,WAAZ;IACH;IAED;AACJ;AACA;AACA;;;;WACI,kBAAgB6B,KAAhB,EAAoC;MAChC,IAAI,KAAKpB,KAAT,EAAgB;QACZ,KAAKqB,MAAL,CAAYD,KAAZ;QACA;MACH;;MAED,KAAKE,IAAL,CAAUF,KAAV;IACH;;;WAED,cAAYA,KAAZ,EAAgC;MAC5B,IAAMG,YAAY,GAAGH,KAAK,CAACI,eAAN,EAArB;MACA,IAAMC,IAAI,GAAGpB,QAAQ,CAACC,aAAT,CAAuB,KAAKb,GAA5B,CAAb;MAEAgC,IAAI,CAACxB,SAAL,CAAeQ,GAAf,CAAmB,KAAKd,KAAxB;MAEA8B,IAAI,CAACN,WAAL,CAAiBI,YAAjB;MACAH,KAAK,CAACM,UAAN,CAAiBD,IAAjB;MAEA,KAAKrC,GAAL,CAASuC,SAAT,CAAmBC,WAAnB,CAA+BH,IAA/B;IACH;;;WAED,gBAAcL,KAAd,EAAkC;MAC9B,IAAMK,IAAI,GAAG,KAAKrC,GAAL,CAASuC,SAAT,CAAmBE,aAAnB,CAAiC,KAAKpC,GAAtC,EAA2C,KAAKE,KAAhD,CAAb;MACA,IAAMmC,IAAI,GAAGV,KAAK,CAACI,eAAN,EAAb;;MAEA,IAAIC,IAAJ,EAAU;QACNA,IAAI,CAACP,MAAL;MACH;;MAEDE,KAAK,CAACM,UAAN,CAAiBI,IAAjB;IACH;;;WAED,qBAAmBL,IAAnB,EAA4C;MAAA;;MACxC,IAAI,CAAC,KAAKlC,WAAV,EAAuB;QACnB;MACH;;MACD,KAAKA,WAAL,CAAiBwC,OAAjB,GAA2B,YAAM;QAC7BN,IAAI,CAACb,KAAL,CAAWlB,KAAX,GAAmB,MAAI,CAACA,KAAxB;MACH,CAFD;;MAGA,KAAKH,WAAL,CAAiByC,MAAjB,GAA0B,KAA1B;IACH;;;WAED,uBAA2B;MACvB,IAAI,CAAC,KAAKzC,WAAV,EAAuB;QACnB;MACH;;MACD,KAAKA,WAAL,CAAiB0C,QAAjB,GAA4B,IAA5B;MACA,KAAK1C,WAAL,CAAiByC,MAAjB,GAA0B,IAA1B;IACH;IAED;AACJ;AACA;AACA;;;;WACI,sBAA0B;MACtB,IAAMP,IAAI,GAAG,KAAKrC,GAAL,CAASuC,SAAT,CAAmBE,aAAnB,CAAiC,KAAKpC,GAAtC,CAAb;MAEA,KAAKO,KAAL,GAAa,CAAC,CAACyB,IAAf;;MAEA,IAAI,CAAC,CAACA,IAAN,EAAY;QACR,KAAKS,WAAL,CAAiBT,IAAjB;MACH,CAFD,MAEO;QACH,KAAKU,WAAL;MACH;IACJ;;;WAED,sBAAoBzC,KAApB,EAA2C;MACvC,IAAM0C,GAAG,GAAG1C,KAAK,CAAC2C,KAAN,CAAY,QAAZ,CAAZ;;MACA,IAAI,CAACD,GAAL,EAAU;QACN,OAAO,EAAP;MACH;;MAED,IAAIE,IAAI,GAAGC,QAAQ,CAACH,GAAG,CAAC,CAAD,CAAJ,CAAR,CAAiBI,QAAjB,CAA0B,EAA1B,CAAX;MACA,IAAIC,IAAI,GAAGF,QAAQ,CAACH,GAAG,CAAC,CAAD,CAAJ,CAAR,CAAiBI,QAAjB,CAA0B,EAA1B,CAAX;MACA,IAAIE,IAAI,GAAGH,QAAQ,CAACH,GAAG,CAAC,CAAD,CAAJ,CAAR,CAAiBI,QAAjB,CAA0B,EAA1B,CAAX;MAEAF,IAAI,GAAGA,IAAI,CAACK,MAAL,KAAgB,CAAhB,GAAoB,MAAML,IAA1B,GAAiCA,IAAxC;MACAG,IAAI,GAAGA,IAAI,CAACE,MAAL,KAAgB,CAAhB,GAAoB,MAAMF,IAA1B,GAAiCA,IAAxC;MACAC,IAAI,GAAGA,IAAI,CAACC,MAAL,KAAgB,CAAhB,GAAoB,MAAMD,IAA1B,GAAiCA,IAAxC;MAEA,OAAO,MAAMJ,IAAN,GAAaG,IAAb,GAAoBC,IAA3B;IACH;;;WAED,iBAAqB;MACjB,KAAKP,WAAL;IACH;;;SAlMD,eAA+B;MAC3B,OAAO,IAAP;IACH;IAED;AACJ;AACA;AACA;AACA;;;;SACI,eAAsC;MAClC;MACA;MACA;MACA,OAAO;QACH;AACZ;AACA;QACYS,IAAI,EAAE,cAACC,EAAD,EAAqB;UACvB;UACA,IAAIA,EAAE,CAAC5C,SAAH,CAAagB,QAAb,CAAsB/B,gBAAtB,CAAJ,EAA6C;YACzC,OAAO;cACHS,KAAK,EAAET,gBADJ;cAEH0B,KAAK,EAAEiC,EAAE,CAACjC;YAFP,CAAP;UAIH;;UACD,OAAO,EAAP;QACH;MAbE,CAAP;IAeH;;;;;eAyKUzB,a"}
@@ -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 declare 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,33 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.TextAlign = exports.ALIGNMENT_ICONS = exports.ALIGNMENTS = void 0;
7
- var TextAlign;
8
- exports.TextAlign = TextAlign;
9
-
10
- (function (TextAlign) {
11
- TextAlign["START"] = "start";
12
- TextAlign["END"] = "end";
13
- TextAlign["CENTER"] = "center";
14
- })(TextAlign || (exports.TextAlign = TextAlign = {}));
15
-
16
- var ALIGNMENT_ICONS = {
17
- 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>",
18
- 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>",
19
- 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>",
20
- 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>"
21
- };
22
- exports.ALIGNMENT_ICONS = ALIGNMENT_ICONS;
23
- var ALIGNMENTS = [{
24
- name: TextAlign.START,
25
- svg: ALIGNMENT_ICONS.start
26
- }, {
27
- name: TextAlign.CENTER,
28
- svg: ALIGNMENT_ICONS.center
29
- }, {
30
- name: TextAlign.END,
31
- svg: ALIGNMENT_ICONS.end
32
- }];
33
- exports.ALIGNMENTS = ALIGNMENTS;
@@ -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":";;;;;;IAAYA,S;;;WAAAA,S;EAAAA,S;EAAAA,S;EAAAA,S;GAAAA,S,yBAAAA,S;;AAWL,IAAMC,eAAe,GAAG;EAC3BC,KAAK,EACD,sEACA,6CADA,GAEA,SAFA,GAGA,gXAHA,GAIA,UAJA,GAKA,QAPuB;EAQ3BC,GAAG,EACC,sEACA,6CADA,GAEA,SAFA,GAGA,iXAHA,GAIA,UAJA,GAKA,QAduB;EAe3BC,MAAM,EACF,sEACA,6CADA,GAEA,SAFA,GAGA,uXAHA,GAIA,UAJA,GAKA,QArBuB;EAsB3BC,OAAO,EACH,sEACA,6CADA,GAEA,SAFA,GAGA,8WAHA,GAIA,UAJA,GAKA;AA5BuB,CAAxB;;AA+BA,IAAMC,UAAU,GAAG,CACtB;EACIC,IAAI,EAAEP,SAAS,CAACQ,KADpB;EAEIC,GAAG,EAAER,eAAe,CAACC;AAFzB,CADsB,EAKtB;EACIK,IAAI,EAAEP,SAAS,CAACU,MADpB;EAEID,GAAG,EAAER,eAAe,CAACG;AAFzB,CALsB,EAStB;EACIG,IAAI,EAAEP,SAAS,CAACW,GADpB;EAEIF,GAAG,EAAER,eAAe,CAACE;AAFzB,CATsB,CAAnB"}
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface RoutesProps {
3
- routes: JSX.Element[];
4
- }
5
- export declare const Routes: React.FC<RoutesProps>;
6
- export {};
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Routes = void 0;
9
-
10
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
-
12
- var _react = _interopRequireDefault(require("react"));
13
-
14
- var _plugins = require("@webiny/plugins");
15
-
16
- var _reactRouter = require("@webiny/react-router");
17
-
18
- var Routes = function Routes(props) {
19
- var routes = [].concat((0, _toConsumableArray2.default)(props.routes), (0, _toConsumableArray2.default)(_plugins.plugins.byType("route").map(function (_ref) {
20
- var route = _ref.route;
21
- return route;
22
- }))).sort(function (a, b) {
23
- var pathA = a.props.path || "*";
24
- var pathB = b.props.path || "*"; // This will sort paths at the very bottom of the list
25
-
26
- if (pathA === "/" && pathB === "*") {
27
- return -1;
28
- } // This will push * and / to the bottom of the list
29
-
30
-
31
- if (pathA === "*" || pathA === "/") {
32
- return 1;
33
- } // This will push * and / to the bottom of the list
34
-
35
-
36
- if (["*", "/"].includes(pathB)) {
37
- return -1;
38
- }
39
-
40
- return 0;
41
- });
42
- return /*#__PURE__*/_react.default.createElement(_reactRouter.Routes, null, routes.map(function (route, index) {
43
- return /*#__PURE__*/_react.default.cloneElement(route, {
44
- key: "".concat(route.props.path, ":").concat(index)
45
- });
46
- }));
47
- };
48
-
49
- exports.Routes = Routes;
@@ -1 +0,0 @@
1
- {"version":3,"names":["Routes","props","routes","plugins","byType","map","route","sort","a","b","pathA","path","pathB","includes","index","React","cloneElement","key"],"sources":["Routes.tsx"],"sourcesContent":["import React from \"react\";\nimport { plugins } from \"@webiny/plugins\";\nimport { Routes as ReactRouterRoutes } from \"@webiny/react-router\";\nimport { RoutePlugin } from \"@webiny/app/types\";\n\ninterface RoutesProps {\n routes: JSX.Element[];\n}\n\nexport const Routes: React.FC<RoutesProps> = props => {\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;;AACA;;AACA;;AAOO,IAAMA,MAA6B,GAAG,SAAhCA,MAAgC,CAAAC,KAAK,EAAI;EAClD,IAAMC,MAAM,GAAG,2CACRD,KAAK,CAACC,MADE,oCAGRC,gBAAA,CAAQC,MAAR,CAA4B,OAA5B,EAAqCC,GAArC,CAAyC;IAAA,IAAGC,KAAH,QAAGA,KAAH;IAAA,OAAeA,KAAf;EAAA,CAAzC,CAHQ,GAIbC,IAJa,CAIR,UAACC,CAAD,EAAIC,CAAJ,EAAU;IACb,IAAMC,KAAK,GAAGF,CAAC,CAACP,KAAF,CAAQU,IAAR,IAAgB,GAA9B;IACA,IAAMC,KAAK,GAAGH,CAAC,CAACR,KAAF,CAAQU,IAAR,IAAgB,GAA9B,CAFa,CAIb;;IACA,IAAID,KAAK,KAAK,GAAV,IAAiBE,KAAK,KAAK,GAA/B,EAAoC;MAChC,OAAO,CAAC,CAAR;IACH,CAPY,CASb;;;IACA,IAAIF,KAAK,KAAK,GAAV,IAAiBA,KAAK,KAAK,GAA/B,EAAoC;MAChC,OAAO,CAAP;IACH,CAZY,CAcb;;;IACA,IAAI,CAAC,GAAD,EAAM,GAAN,EAAWG,QAAX,CAAoBD,KAApB,CAAJ,EAAgC;MAC5B,OAAO,CAAC,CAAR;IACH;;IAED,OAAO,CAAP;EACH,CAxBc,CAAf;EA0BA,oBACI,6BAAC,mBAAD,QACKV,MAAM,CAACG,GAAP,CAAW,UAACC,KAAD,EAAQQ,KAAR;IAAA,oBACRC,cAAA,CAAMC,YAAN,CAAmBV,KAAnB,EAA0B;MAAEW,GAAG,YAAKX,KAAK,CAACL,KAAN,CAAYU,IAAjB,cAAyBG,KAAzB;IAAL,CAA1B,CADQ;EAAA,CAAX,CADL,CADJ;AAOH,CAlCM"}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { SimpleForm, SimpleFormHeader, SimpleFormFooter, SimpleFormContent } from \"./SimpleForm\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { SplitView, LeftPanel, RightPanel } from \"./SplitView\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { FileManager } from \"./FileManager\";\n"],"mappings":";;;;;;;;;;;;AAAA"}
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"@webiny/app-admin-core\";\nexport type { HigherOrderComponent, ProviderProps, ComposeProps } from \"@webiny/app-admin-core\";\n// UI components\nexport * from \"./base/ui/Tags\";\nexport * from \"./base/ui/Menu\";\nexport * from \"./base/ui/Layout\";\nexport * from \"./base/ui/LocaleSelector\";\nexport type { LayoutProps } from \"./base/ui/Layout\";\nexport * from \"./base/ui/Navigation\";\nexport type { MenuItemsProps } from \"./base/ui/Navigation\";\nexport * from \"./base/ui/Brand\";\nexport * from \"./base/ui/Logo\";\nexport * from \"./base/ui/Search\";\nexport type { SearchOptionData, SearchOptionProps } from \"./base/ui/Search\";\nexport * from \"./base/ui/UserMenu\";\nexport type { UserMenuItemProps } from \"./base/ui/UserMenu\";\nexport * from \"./base/ui/LoginScreen\";\nexport * from \"./base/ui/CenteredView\";\nexport * from \"./base/ui/Dashboard\";\nexport * from \"./base/ui/NotFound\";\n\n// Base admin app\nexport { Admin } from \"./base/Admin\";\nexport type { AdminProps } from \"./base/Admin\";\nexport { useViewComposition } from \"./base/providers/ViewCompositionProvider\";\nexport type { ViewCompositionContext, ViewElement } from \"./base/providers/ViewCompositionProvider\";\n\n// Plugins\nexport * from \"./base/plugins/AddGraphQLQuerySelection\";\nexport * from \"./plugins/FileManagerFileTypePlugin\";\nexport * from \"./plugins/PermissionRendererPlugin\";\n\n// Components\nexport { AppInstaller } from \"./components/AppInstaller\";\nexport { OverlayLayout, OverlayLayoutProps } from \"./components/OverlayLayout\";\nexport {\n default as SingleImageUpload,\n SingleImageUploadProps\n} from \"./components/SingleImageUpload\";\n\nexport { FileManager, FileManagerRenderer } from \"./components/FileManager\";\nexport type {\n FileManagerProps,\n FileManagerRendererProps,\n FileManagerFileItem\n} from \"./components/FileManager\";\n\n// Hooks\nexport * from \"./hooks/useSnackbar\";\nexport * from \"./hooks/useConfirmationDialog\";\nexport * from \"./hooks/useDialog\";\nexport { useWcp } from \"@webiny/app-wcp\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAGA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAEA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAEA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAEA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAEA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAGA;;AAEA;;AAIA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAGA;;AACA;;AACA;;AAKA;;AAQA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA"}
@@ -1,33 +0,0 @@
1
- import * as React from "react";
2
- import { Plugin } from "@webiny/plugins";
3
- interface File {
4
- id: string;
5
- name: string;
6
- key: string;
7
- src: string;
8
- size: number;
9
- type: string;
10
- tags: string[];
11
- createdOn: string;
12
- createdBy: {
13
- id: string;
14
- };
15
- [key: string]: any;
16
- }
17
- export interface RenderParams {
18
- file: File;
19
- }
20
- interface Config {
21
- types: string[];
22
- actions?: React.ComponentType<any>[];
23
- render(params: RenderParams): React.ReactNode;
24
- }
25
- export declare class FileManagerFileTypePlugin extends Plugin {
26
- static readonly type: string;
27
- private readonly config;
28
- constructor(config?: Config);
29
- get types(): string[];
30
- get actions(): React.ComponentType[];
31
- render(params: RenderParams): React.ReactNode;
32
- }
33
- export {};
@@ -1,63 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.FileManagerFileTypePlugin = void 0;
9
-
10
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
-
12
- var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
-
14
- var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
15
-
16
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
17
-
18
- var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
19
-
20
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
21
-
22
- var _plugins = require("@webiny/plugins");
23
-
24
- var FileManagerFileTypePlugin = /*#__PURE__*/function (_Plugin) {
25
- (0, _inherits2.default)(FileManagerFileTypePlugin, _Plugin);
26
-
27
- var _super = (0, _createSuper2.default)(FileManagerFileTypePlugin);
28
-
29
- function FileManagerFileTypePlugin(config) {
30
- var _this;
31
-
32
- (0, _classCallCheck2.default)(this, FileManagerFileTypePlugin);
33
- _this = _super.call(this);
34
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "config", void 0);
35
- _this.config = config || {};
36
- return _this;
37
- }
38
-
39
- (0, _createClass2.default)(FileManagerFileTypePlugin, [{
40
- key: "types",
41
- get: function get() {
42
- return this.config.types || [];
43
- }
44
- }, {
45
- key: "actions",
46
- get: function get() {
47
- return this.config.actions || [];
48
- }
49
- }, {
50
- key: "render",
51
- value: function render(params) {
52
- if (!this.config.render) {
53
- return null;
54
- }
55
-
56
- return this.config.render(params);
57
- }
58
- }]);
59
- return FileManagerFileTypePlugin;
60
- }(_plugins.Plugin);
61
-
62
- exports.FileManagerFileTypePlugin = FileManagerFileTypePlugin;
63
- (0, _defineProperty2.default)(FileManagerFileTypePlugin, "type", "admin-file-manager-file-type");
@@ -1 +0,0 @@
1
- {"version":3,"names":["FileManagerFileTypePlugin","config","types","actions","params","render","Plugin"],"sources":["FileManagerFileTypePlugin.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Plugin } from \"@webiny/plugins\";\n\ninterface File {\n id: string;\n name: string;\n key: string;\n src: string;\n size: number;\n type: string;\n tags: string[];\n createdOn: string;\n createdBy: {\n id: string;\n };\n [key: string]: any;\n}\n\nexport interface RenderParams {\n file: File;\n}\n\ninterface Config {\n types: string[];\n actions?: React.ComponentType<any>[];\n render(params: RenderParams): React.ReactNode;\n}\n\nexport class FileManagerFileTypePlugin extends Plugin {\n public static override readonly type: string = \"admin-file-manager-file-type\";\n private readonly config: Partial<Config>;\n\n public constructor(config?: Config) {\n super();\n this.config = config || {};\n }\n\n get types(): string[] {\n return this.config.types || [];\n }\n\n get actions(): React.ComponentType[] {\n return this.config.actions || [];\n }\n\n public render(params: RenderParams): React.ReactNode {\n if (!this.config.render) {\n return null;\n }\n return this.config.render(params);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA;;IA2BaA,yB;;;;;EAIT,mCAAmBC,MAAnB,EAAoC;IAAA;;IAAA;IAChC;IADgC;IAEhC,MAAKA,MAAL,GAAcA,MAAM,IAAI,EAAxB;IAFgC;EAGnC;;;;SAED,eAAsB;MAClB,OAAO,KAAKA,MAAL,CAAYC,KAAZ,IAAqB,EAA5B;IACH;;;SAED,eAAqC;MACjC,OAAO,KAAKD,MAAL,CAAYE,OAAZ,IAAuB,EAA9B;IACH;;;WAED,gBAAcC,MAAd,EAAqD;MACjD,IAAI,CAAC,KAAKH,MAAL,CAAYI,MAAjB,EAAyB;QACrB,OAAO,IAAP;MACH;;MACD,OAAO,KAAKJ,MAAL,CAAYI,MAAZ,CAAmBD,MAAnB,CAAP;IACH;;;EAtB0CE,e;;;8BAAlCN,yB,UACsC,8B"}
@@ -1,22 +0,0 @@
1
- import 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,58 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.PermissionRendererPlugin = void 0;
9
-
10
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
-
12
- var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
-
14
- var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
15
-
16
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
17
-
18
- var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
19
-
20
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
21
-
22
- var _plugins = require("@webiny/plugins");
23
-
24
- var PermissionRendererPlugin = /*#__PURE__*/function (_Plugin) {
25
- (0, _inherits2.default)(PermissionRendererPlugin, _Plugin);
26
-
27
- var _super = (0, _createSuper2.default)(PermissionRendererPlugin);
28
-
29
- function PermissionRendererPlugin(config) {
30
- var _this;
31
-
32
- (0, _classCallCheck2.default)(this, PermissionRendererPlugin);
33
- _this = _super.call(this);
34
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "_config", void 0);
35
- _this._config = config || {};
36
- return _this;
37
- }
38
-
39
- (0, _createClass2.default)(PermissionRendererPlugin, [{
40
- key: "system",
41
- get: function get() {
42
- return Boolean(this._config.system);
43
- }
44
- }, {
45
- key: "render",
46
- value: function render(props) {
47
- if (!this._config.render) {
48
- return null;
49
- }
50
-
51
- return this._config.render(props);
52
- }
53
- }]);
54
- return PermissionRendererPlugin;
55
- }(_plugins.Plugin);
56
-
57
- exports.PermissionRendererPlugin = PermissionRendererPlugin;
58
- (0, _defineProperty2.default)(PermissionRendererPlugin, "type", "admin-app-permissions-renderer");