@webiny/app-admin 0.0.0-unstable.6f45466a1d → 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 (1090) hide show
  1. package/assets/icons/add-18px.js +20 -0
  2. package/assets/icons/add-18px.js.map +1 -0
  3. package/assets/icons/arrow_drop_down-24px.js +20 -0
  4. package/assets/icons/arrow_drop_down-24px.js.map +1 -0
  5. package/assets/icons/attach_file_black_24dp.js +20 -0
  6. package/assets/icons/attach_file_black_24dp.js.map +1 -0
  7. package/assets/icons/baseline-menu-24px.js +20 -0
  8. package/assets/icons/baseline-menu-24px.js.map +1 -0
  9. package/assets/icons/baseline-notification_important-24px.js +19 -0
  10. package/assets/icons/baseline-notification_important-24px.js.map +1 -0
  11. package/assets/icons/baseline-security-24px.js +19 -0
  12. package/assets/icons/baseline-security-24px.js.map +1 -0
  13. package/assets/icons/file_download.js +19 -0
  14. package/assets/icons/file_download.js.map +1 -0
  15. package/assets/icons/file_upload.js +19 -0
  16. package/assets/icons/file_upload.js.map +1 -0
  17. package/assets/icons/filter-24px.js +23 -0
  18. package/assets/icons/filter-24px.js.map +1 -0
  19. package/assets/icons/github-brands.js +19 -0
  20. package/assets/icons/github-brands.js.map +1 -0
  21. package/assets/icons/highlight-24px.js +19 -0
  22. package/assets/icons/highlight-24px.js.map +1 -0
  23. package/assets/icons/icon-community.js +18 -0
  24. package/assets/icons/icon-community.js.map +1 -0
  25. package/assets/icons/icon-documentation.js +18 -0
  26. package/assets/icons/icon-documentation.js.map +1 -0
  27. package/assets/icons/info.js +19 -0
  28. package/assets/icons/info.js.map +1 -0
  29. package/assets/icons/insert_drive_file-24px.js +19 -0
  30. package/assets/icons/insert_drive_file-24px.js.map +1 -0
  31. package/assets/icons/insert_photo-24px.js +19 -0
  32. package/assets/icons/insert_photo-24px.js.map +1 -0
  33. package/assets/icons/label-24px.js +19 -0
  34. package/assets/icons/label-24px.js.map +1 -0
  35. package/assets/icons/round-account_circle-24px.js +19 -0
  36. package/assets/icons/round-account_circle-24px.js.map +1 -0
  37. package/assets/icons/round-add-24px.js +20 -0
  38. package/assets/icons/round-add-24px.js.map +1 -0
  39. package/assets/icons/round-arrow_drop_down-24px.js +19 -0
  40. package/assets/icons/round-arrow_drop_down-24px.js.map +1 -0
  41. package/assets/icons/round-chevron_right-24px.js +20 -0
  42. package/assets/icons/round-chevron_right-24px.js.map +1 -0
  43. package/assets/icons/round-feedback-24px.js +20 -0
  44. package/assets/icons/round-feedback-24px.js.map +1 -0
  45. package/assets/icons/round-help-24px.js +19 -0
  46. package/assets/icons/round-help-24px.js.map +1 -0
  47. package/assets/icons/round-invert_colors-24px.js +20 -0
  48. package/assets/icons/round-invert_colors-24px.js.map +1 -0
  49. package/assets/icons/round-keyboard_arrow_down-24px.js +17 -0
  50. package/assets/icons/round-keyboard_arrow_down-24px.js.map +1 -0
  51. package/assets/icons/round-keyboard_arrow_up-24px.js +17 -0
  52. package/assets/icons/round-keyboard_arrow_up-24px.js.map +1 -0
  53. package/assets/icons/round-lock_open-24px.js +22 -0
  54. package/assets/icons/round-lock_open-24px.js.map +1 -0
  55. package/assets/icons/round-more_vert-24px.js +20 -0
  56. package/assets/icons/round-more_vert-24px.js.map +1 -0
  57. package/assets/icons/round-open_in_new-24px.js +20 -0
  58. package/assets/icons/round-open_in_new-24px.js.map +1 -0
  59. package/assets/icons/round-settings-24px.js +20 -0
  60. package/assets/icons/round-settings-24px.js.map +1 -0
  61. package/assets/icons/search-24px.js +21 -0
  62. package/assets/icons/search-24px.js.map +1 -0
  63. package/assets/icons/slack-logo.js +14 -0
  64. package/assets/icons/slack-logo.js.map +1 -0
  65. package/assets/icons/today-24px.js +19 -0
  66. package/assets/icons/today-24px.js.map +1 -0
  67. package/assets/icons/touch_app.js +20 -0
  68. package/assets/icons/touch_app.js.map +1 -0
  69. package/assets/images/webiny-logo.js +34 -0
  70. package/assets/images/webiny-logo.js.map +1 -0
  71. package/assets/images/webiny-orange-logo.js +34 -0
  72. package/assets/images/webiny-orange-logo.js.map +1 -0
  73. package/base/Admin.js +40 -25
  74. package/base/Admin.js.map +1 -1
  75. package/base/Base/DefaultFieldRenderers.d.ts +2 -0
  76. package/base/Base/DefaultFieldRenderers.js +102 -0
  77. package/base/Base/DefaultFieldRenderers.js.map +1 -0
  78. package/base/Base/DefaultLayoutRenderers.d.ts +2 -0
  79. package/base/Base/DefaultLayoutRenderers.js +14 -0
  80. package/base/Base/DefaultLayoutRenderers.js.map +1 -0
  81. package/base/Base/FieldRenderers/CheckboxesRenderer.d.ts +13 -0
  82. package/base/Base/FieldRenderers/CheckboxesRenderer.js +27 -0
  83. package/base/Base/FieldRenderers/CheckboxesRenderer.js.map +1 -0
  84. package/base/Base/FieldRenderers/CodeEditorRenderer.d.ts +15 -0
  85. package/base/Base/FieldRenderers/CodeEditorRenderer.js +14 -0
  86. package/base/Base/FieldRenderers/CodeEditorRenderer.js.map +1 -0
  87. package/base/Base/FieldRenderers/DateTimeInputsRenderer.d.ts +17 -0
  88. package/base/Base/FieldRenderers/DateTimeInputsRenderer.js +66 -0
  89. package/base/Base/FieldRenderers/DateTimeInputsRenderer.js.map +1 -0
  90. package/base/Base/FieldRenderers/DateTimeRenderer.d.ts +21 -0
  91. package/base/Base/FieldRenderers/DateTimeRenderer.js +45 -0
  92. package/base/Base/FieldRenderers/DateTimeRenderer.js.map +1 -0
  93. package/base/Base/FieldRenderers/FilePickerRenderer.d.ts +13 -0
  94. package/base/Base/FieldRenderers/FilePickerRenderer.js +44 -0
  95. package/base/Base/FieldRenderers/FilePickerRenderer.js.map +1 -0
  96. package/base/Base/FieldRenderers/FileUrlPickerRenderer.d.ts +12 -0
  97. package/base/Base/FieldRenderers/FileUrlPickerRenderer.js +20 -0
  98. package/base/Base/FieldRenderers/FileUrlPickerRenderer.js.map +1 -0
  99. package/base/Base/FieldRenderers/HiddenRenderer.d.ts +12 -0
  100. package/base/Base/FieldRenderers/HiddenRenderer.js +5 -0
  101. package/base/Base/FieldRenderers/HiddenRenderer.js.map +1 -0
  102. package/base/Base/FieldRenderers/HorizontalTabsRenderer.d.ts +5 -0
  103. package/base/Base/FieldRenderers/HorizontalTabsRenderer.js +26 -0
  104. package/base/Base/FieldRenderers/HorizontalTabsRenderer.js.map +1 -0
  105. package/base/Base/FieldRenderers/InputRenderer.d.ts +12 -0
  106. package/base/Base/FieldRenderers/InputRenderer.js +19 -0
  107. package/base/Base/FieldRenderers/InputRenderer.js.map +1 -0
  108. package/base/Base/FieldRenderers/LexicalRenderer.d.ts +12 -0
  109. package/base/Base/FieldRenderers/LexicalRenderer.js +48 -0
  110. package/base/Base/FieldRenderers/LexicalRenderer.js.map +1 -0
  111. package/base/Base/FieldRenderers/MultiFilePickerRenderer.d.ts +13 -0
  112. package/base/Base/FieldRenderers/MultiFilePickerRenderer.js +70 -0
  113. package/base/Base/FieldRenderers/MultiFilePickerRenderer.js.map +1 -0
  114. package/base/Base/FieldRenderers/NumberInputRenderer.d.ts +12 -0
  115. package/base/Base/FieldRenderers/NumberInputRenderer.js +20 -0
  116. package/base/Base/FieldRenderers/NumberInputRenderer.js.map +1 -0
  117. package/base/Base/FieldRenderers/NumberInputsRenderer.d.ts +14 -0
  118. package/base/Base/FieldRenderers/NumberInputsRenderer.js +50 -0
  119. package/base/Base/FieldRenderers/NumberInputsRenderer.js.map +1 -0
  120. package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.d.ts +14 -0
  121. package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.js +17 -0
  122. package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.js.map +1 -0
  123. package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.d.ts +14 -0
  124. package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.js +59 -0
  125. package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.js.map +1 -0
  126. package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.d.ts +10 -0
  127. package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.js +97 -0
  128. package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.js.map +1 -0
  129. package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.d.ts +17 -0
  130. package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.js +48 -0
  131. package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.js.map +1 -0
  132. package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.d.ts +28 -0
  133. package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.js +69 -0
  134. package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.js.map +1 -0
  135. package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.d.ts +14 -0
  136. package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.js +17 -0
  137. package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.js.map +1 -0
  138. package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.d.ts +10 -0
  139. package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.js +58 -0
  140. package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.js.map +1 -0
  141. package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.d.ts +10 -0
  142. package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.js +68 -0
  143. package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.js.map +1 -0
  144. package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.d.ts +4 -0
  145. package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.js +19 -0
  146. package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.js.map +1 -0
  147. package/base/Base/FieldRenderers/PassthroughRenderer.d.ts +12 -0
  148. package/base/Base/FieldRenderers/PassthroughRenderer.js +12 -0
  149. package/base/Base/FieldRenderers/PassthroughRenderer.js.map +1 -0
  150. package/base/Base/FieldRenderers/RadioButtonsRenderer.d.ts +13 -0
  151. package/base/Base/FieldRenderers/RadioButtonsRenderer.js +26 -0
  152. package/base/Base/FieldRenderers/RadioButtonsRenderer.js.map +1 -0
  153. package/base/Base/FieldRenderers/SelectRenderer.d.ts +13 -0
  154. package/base/Base/FieldRenderers/SelectRenderer.js +28 -0
  155. package/base/Base/FieldRenderers/SelectRenderer.js.map +1 -0
  156. package/base/Base/FieldRenderers/SwitchRenderer.d.ts +12 -0
  157. package/base/Base/FieldRenderers/SwitchRenderer.js +16 -0
  158. package/base/Base/FieldRenderers/SwitchRenderer.js.map +1 -0
  159. package/base/Base/FieldRenderers/TagsRenderer.d.ts +12 -0
  160. package/base/Base/FieldRenderers/TagsRenderer.js +20 -0
  161. package/base/Base/FieldRenderers/TagsRenderer.js.map +1 -0
  162. package/base/Base/FieldRenderers/TextInputsRenderer.d.ts +14 -0
  163. package/base/Base/FieldRenderers/TextInputsRenderer.js +49 -0
  164. package/base/Base/FieldRenderers/TextInputsRenderer.js.map +1 -0
  165. package/base/Base/FieldRenderers/TextareaRenderer.d.ts +14 -0
  166. package/base/Base/FieldRenderers/TextareaRenderer.js +20 -0
  167. package/base/Base/FieldRenderers/TextareaRenderer.js.map +1 -0
  168. package/base/Base/FieldRenderers/TextareasRenderer.d.ts +14 -0
  169. package/base/Base/FieldRenderers/TextareasRenderer.js +52 -0
  170. package/base/Base/FieldRenderers/TextareasRenderer.js.map +1 -0
  171. package/base/Base/FieldRenderers/VerticalTabsRenderer.d.ts +5 -0
  172. package/base/Base/FieldRenderers/VerticalTabsRenderer.js +40 -0
  173. package/base/Base/FieldRenderers/VerticalTabsRenderer.js.map +1 -0
  174. package/base/Base/LexicalPreset.js +59 -64
  175. package/base/Base/LexicalPreset.js.map +1 -1
  176. package/base/Base/Menus/SupportMenuItems.js +9 -13
  177. package/base/Base/Menus/SupportMenuItems.js.map +1 -1
  178. package/base/Base/Menus/WebinyVersion.js +19 -20
  179. package/base/Base/Menus/WebinyVersion.js.map +1 -1
  180. package/base/Base/Menus.js +51 -107
  181. package/base/Base/Menus.js.map +1 -1
  182. package/base/Base/RoutesConfig.js +22 -24
  183. package/base/Base/RoutesConfig.js.map +1 -1
  184. package/base/Base/Tenant/wby-horizontal.js +33 -0
  185. package/base/Base/Tenant/wby-horizontal.js.map +1 -0
  186. package/base/Base/Tenant/wby-square.js +20 -0
  187. package/base/Base/Tenant/wby-square.js.map +1 -0
  188. package/base/Base/Tenant.js +17 -19
  189. package/base/Base/Tenant.js.map +1 -1
  190. package/base/Base/UserMenu/ExitTenant.js +18 -29
  191. package/base/Base/UserMenu/ExitTenant.js.map +1 -1
  192. package/base/Base/UserMenu/SignOut.js +13 -14
  193. package/base/Base/UserMenu/SignOut.js.map +1 -1
  194. package/base/Base/UserMenu/UserInfo.js +23 -36
  195. package/base/Base/UserMenu/UserInfo.js.map +1 -1
  196. package/base/Base/UserMenu.js +12 -13
  197. package/base/Base/UserMenu.js.map +1 -1
  198. package/base/Base.js +7 -6
  199. package/base/Base.js.map +1 -1
  200. package/base/TelemetryAdminAppStart.js +9 -12
  201. package/base/TelemetryAdminAppStart.js.map +1 -1
  202. package/base/WebinyVersion.js +19 -20
  203. package/base/WebinyVersion.js.map +1 -1
  204. package/base/createRootContainer.js +45 -37
  205. package/base/createRootContainer.js.map +1 -1
  206. package/base/plugins/AddGraphQLQuerySelection.js +12 -11
  207. package/base/plugins/AddGraphQLQuerySelection.js.map +1 -1
  208. package/base/providers/AdminUiStateProvider.js +5 -10
  209. package/base/providers/AdminUiStateProvider.js.map +1 -1
  210. package/base/providers/ApolloProvider.js +8 -11
  211. package/base/providers/ApolloProvider.js.map +1 -1
  212. package/base/providers/UiProviders.js +25 -12
  213. package/base/providers/UiProviders.js.map +1 -1
  214. package/base/providers/UiStateProvider.js +5 -10
  215. package/base/providers/UiStateProvider.js.map +1 -1
  216. package/base/ui/Brand.d.ts +6 -6
  217. package/base/ui/Brand.js +4 -5
  218. package/base/ui/Brand.js.map +1 -1
  219. package/base/ui/CenteredView.d.ts +1 -1
  220. package/base/ui/CenteredView.js +9 -13
  221. package/base/ui/CenteredView.js.map +1 -1
  222. package/base/ui/Dashboard.d.ts +6 -6
  223. package/base/ui/Dashboard.js +4 -5
  224. package/base/ui/Dashboard.js.map +1 -1
  225. package/base/ui/FileManager.d.ts +16 -15
  226. package/base/ui/FileManager.js +41 -60
  227. package/base/ui/FileManager.js.map +1 -1
  228. package/base/ui/Layout.d.ts +6 -6
  229. package/base/ui/Layout.js +4 -8
  230. package/base/ui/Layout.js.map +1 -1
  231. package/base/ui/LoginScreen.d.ts +12 -12
  232. package/base/ui/LoginScreen.js +16 -21
  233. package/base/ui/LoginScreen.js.map +1 -1
  234. package/base/ui/Logo.d.ts +6 -6
  235. package/base/ui/Logo.js +4 -5
  236. package/base/ui/Logo.js.map +1 -1
  237. package/base/ui/Navigation.d.ts +6 -6
  238. package/base/ui/Navigation.js +11 -14
  239. package/base/ui/Navigation.js.map +1 -1
  240. package/base/ui/NotFound.d.ts +6 -6
  241. package/base/ui/NotFound.js +4 -5
  242. package/base/ui/NotFound.js.map +1 -1
  243. package/base/ui/Tags.js +12 -16
  244. package/base/ui/Tags.js.map +1 -1
  245. package/base/ui/TenantSelector.d.ts +6 -6
  246. package/base/ui/TenantSelector.js +4 -5
  247. package/base/ui/TenantSelector.js.map +1 -1
  248. package/base/ui/UserMenu/UserMenu.d.ts +6 -6
  249. package/base/ui/UserMenu/UserMenu.js +4 -5
  250. package/base/ui/UserMenu/UserMenu.js.map +1 -1
  251. package/base/ui/UserMenu/UserMenuHandle.d.ts +6 -6
  252. package/base/ui/UserMenu/UserMenuHandle.js +4 -5
  253. package/base/ui/UserMenu/UserMenuHandle.js.map +1 -1
  254. package/base/ui/UserMenu/UserMenuItem.d.ts +14 -14
  255. package/base/ui/UserMenu/UserMenuItem.js +5 -15
  256. package/base/ui/UserMenu/UserMenuItem.js.map +1 -1
  257. package/base/ui/UserMenu/UserMenuLink.d.ts +14 -14
  258. package/base/ui/UserMenu/UserMenuLink.js +5 -15
  259. package/base/ui/UserMenu/UserMenuLink.js.map +1 -1
  260. package/base/ui/UserMenu/UserMenuSeparator.d.ts +7 -7
  261. package/base/ui/UserMenu/UserMenuSeparator.js +3 -5
  262. package/base/ui/UserMenu/UserMenuSeparator.js.map +1 -1
  263. package/base/ui/UserMenu.d.ts +12 -12
  264. package/base/ui/UserMenu.js +6 -13
  265. package/base/ui/UserMenu.js.map +1 -1
  266. package/components/AdminLayout.js +6 -10
  267. package/components/AdminLayout.js.map +1 -1
  268. package/components/BulkActions/Worker.js +57 -120
  269. package/components/BulkActions/Worker.js.map +1 -1
  270. package/components/BulkActions/index.js +0 -2
  271. package/components/BulkActions/useDialogWithReport/DialogMessage.js +17 -21
  272. package/components/BulkActions/useDialogWithReport/DialogMessage.js.map +1 -1
  273. package/components/BulkActions/useDialogWithReport/index.js +0 -2
  274. package/components/BulkActions/useDialogWithReport/useDialogWithReport.js +33 -44
  275. package/components/BulkActions/useDialogWithReport/useDialogWithReport.js.map +1 -1
  276. package/components/Buttons/Buttons.js +44 -71
  277. package/components/Buttons/Buttons.js.map +1 -1
  278. package/components/Buttons/Buttons.styles.js +9 -15
  279. package/components/Buttons/Buttons.styles.js.map +1 -1
  280. package/components/Buttons/index.js +1 -3
  281. package/components/Buttons/useButtons.js +15 -20
  282. package/components/Buttons/useButtons.js.map +1 -1
  283. package/components/DeveloperMode/DeveloperMode.d.ts +11 -0
  284. package/components/DeveloperMode/DeveloperMode.js +8 -0
  285. package/components/DeveloperMode/DeveloperMode.js.map +1 -0
  286. package/components/DeveloperMode/index.d.ts +2 -0
  287. package/components/DeveloperMode/index.js +1 -0
  288. package/components/Dialogs/Dialog.d.ts +3 -2
  289. package/components/Dialogs/Dialog.js +46 -58
  290. package/components/Dialogs/Dialog.js.map +1 -1
  291. package/components/Dialogs/DialogParamsContext.d.ts +6 -0
  292. package/components/Dialogs/DialogParamsContext.js +10 -0
  293. package/components/Dialogs/DialogParamsContext.js.map +1 -0
  294. package/components/Dialogs/DialogsContext.d.ts +8 -5
  295. package/components/Dialogs/DialogsContext.js +133 -123
  296. package/components/Dialogs/DialogsContext.js.map +1 -1
  297. package/components/Dialogs/useDialogs.js +5 -6
  298. package/components/Dialogs/useDialogs.js.map +1 -1
  299. package/components/EmptyView.js +26 -31
  300. package/components/EmptyView.js.map +1 -1
  301. package/components/Filters/Filters.js +15 -16
  302. package/components/Filters/Filters.js.map +1 -1
  303. package/components/Filters/FiltersToggle.js +18 -23
  304. package/components/Filters/FiltersToggle.js.map +1 -1
  305. package/components/Filters/index.js +0 -2
  306. package/components/FloatingActionButton.js +13 -15
  307. package/components/FloatingActionButton.js.map +1 -1
  308. package/components/IconPicker/IconPicker.js +24 -26
  309. package/components/IconPicker/IconPicker.js.map +1 -1
  310. package/components/IconPicker/IconPickerComponent.js +56 -72
  311. package/components/IconPicker/IconPickerComponent.js.map +1 -1
  312. package/components/IconPicker/IconPickerPresenter.js +64 -70
  313. package/components/IconPicker/IconPickerPresenter.js.map +1 -1
  314. package/components/IconPicker/IconPickerPresenter.test.js +79 -105
  315. package/components/IconPicker/IconPickerPresenter.test.js.map +1 -1
  316. package/components/IconPicker/IconPickerPresenterProvider.js +10 -16
  317. package/components/IconPicker/IconPickerPresenterProvider.js.map +1 -1
  318. package/components/IconPicker/IconPickerTab.js +97 -140
  319. package/components/IconPicker/IconPickerTab.js.map +1 -1
  320. package/components/IconPicker/IconRenderer.d.ts +6 -6
  321. package/components/IconPicker/IconRenderer.js +15 -23
  322. package/components/IconPicker/IconRenderer.js.map +1 -1
  323. package/components/IconPicker/IconRepository.js +41 -40
  324. package/components/IconPicker/IconRepository.js.map +1 -1
  325. package/components/IconPicker/IconRepository.test.js +56 -63
  326. package/components/IconPicker/IconRepository.test.js.map +1 -1
  327. package/components/IconPicker/IconRepositoryFactory.js +15 -11
  328. package/components/IconPicker/IconRepositoryFactory.js.map +1 -1
  329. package/components/IconPicker/Loading.js +47 -46
  330. package/components/IconPicker/Loading.js.map +1 -1
  331. package/components/IconPicker/components/IconPickerCell.d.ts +1 -1
  332. package/components/IconPicker/components/IconPickerCell.js +18 -20
  333. package/components/IconPicker/components/IconPickerCell.js.map +1 -1
  334. package/components/IconPicker/components/IconPickerContent.js +27 -35
  335. package/components/IconPicker/components/IconPickerContent.js.map +1 -1
  336. package/components/IconPicker/components/IconPickerRow.js +5 -10
  337. package/components/IconPicker/components/IconPickerRow.js.map +1 -1
  338. package/components/IconPicker/components/IconPickerTrigger.d.ts +1 -1
  339. package/components/IconPicker/components/IconPickerTrigger.js +42 -44
  340. package/components/IconPicker/components/IconPickerTrigger.js.map +1 -1
  341. package/components/IconPicker/components/index.js +0 -2
  342. package/components/IconPicker/config/Emojis.js +19 -21
  343. package/components/IconPicker/config/Emojis.js.map +1 -1
  344. package/components/IconPicker/config/FontAwesomeIcons.js +54 -58
  345. package/components/IconPicker/config/FontAwesomeIcons.js.map +1 -1
  346. package/components/IconPicker/config/IconPackProvider.js +17 -19
  347. package/components/IconPicker/config/IconPackProvider.js.map +1 -1
  348. package/components/IconPicker/config/IconType.js +48 -80
  349. package/components/IconPicker/config/IconType.js.map +1 -1
  350. package/components/IconPicker/config/index.js +28 -31
  351. package/components/IconPicker/config/index.js.map +1 -1
  352. package/components/IconPicker/defaultIcon.js +6 -5
  353. package/components/IconPicker/defaultIcon.js.map +1 -1
  354. package/components/IconPicker/index.js +0 -2
  355. package/components/IconPicker/plugins/customPlugin.js +87 -110
  356. package/components/IconPicker/plugins/customPlugin.js.map +1 -1
  357. package/components/IconPicker/plugins/emojisPlugin.js +90 -115
  358. package/components/IconPicker/plugins/emojisPlugin.js.map +1 -1
  359. package/components/IconPicker/plugins/graphql.js +3 -8
  360. package/components/IconPicker/plugins/graphql.js.map +1 -1
  361. package/components/IconPicker/plugins/iconsPlugin.js +73 -104
  362. package/components/IconPicker/plugins/iconsPlugin.js.map +1 -1
  363. package/components/IconPicker/types.js +4 -7
  364. package/components/IconPicker/types.js.map +1 -1
  365. package/components/LexicalEditor/DefaultLexicalEditorConfig.d.ts +2 -0
  366. package/components/LexicalEditor/DefaultLexicalEditorConfig.js +81 -0
  367. package/components/LexicalEditor/DefaultLexicalEditorConfig.js.map +1 -0
  368. package/components/LexicalEditor/LexicalEditor.js +41 -33
  369. package/components/LexicalEditor/LexicalEditor.js.map +1 -1
  370. package/components/LexicalEditor/LexicalLinkForm.d.ts +6 -0
  371. package/components/LexicalEditor/LexicalLinkForm.js +88 -0
  372. package/components/LexicalEditor/LexicalLinkForm.js.map +1 -0
  373. package/components/LexicalEditor/TypographyDropDown.d.ts +8 -0
  374. package/components/LexicalEditor/TypographyDropDown.js +60 -0
  375. package/components/LexicalEditor/TypographyDropDown.js.map +1 -0
  376. package/components/LexicalEditor/index.d.ts +1 -0
  377. package/components/LexicalEditor/index.js +1 -2
  378. package/components/LexicalEditor/lexicalValueFromHtml.d.ts +7 -0
  379. package/components/LexicalEditor/lexicalValueFromHtml.js +28 -0
  380. package/components/LexicalEditor/lexicalValueFromHtml.js.map +1 -0
  381. package/components/LexicalEditor/lexicalValueWithHtml.js +24 -30
  382. package/components/LexicalEditor/lexicalValueWithHtml.js.map +1 -1
  383. package/components/MultiImageUpload.js +4 -13
  384. package/components/MultiImageUpload.js.map +1 -1
  385. package/components/NotAuthorizedError/NotAuthorizedError.js +16 -17
  386. package/components/NotAuthorizedError/NotAuthorizedError.js.map +1 -1
  387. package/components/NotAuthorizedError/SecureRouteError.js +297 -0
  388. package/components/NotAuthorizedError/SecureRouteError.js.map +1 -0
  389. package/components/NotAuthorizedError/index.js +0 -2
  390. package/components/OptionsMenu/OptionsMenu.d.ts +6 -0
  391. package/components/OptionsMenu/OptionsMenu.js +20 -19
  392. package/components/OptionsMenu/OptionsMenu.js.map +1 -1
  393. package/components/OptionsMenu/OptionsMenuItem.js +15 -14
  394. package/components/OptionsMenu/OptionsMenuItem.js.map +1 -1
  395. package/components/OptionsMenu/OptionsMenuLink.js +13 -14
  396. package/components/OptionsMenu/OptionsMenuLink.js.map +1 -1
  397. package/components/OptionsMenu/index.js +0 -2
  398. package/components/OptionsMenu/useOptionsMenuItem.js +13 -18
  399. package/components/OptionsMenu/useOptionsMenuItem.js.map +1 -1
  400. package/components/OverlayLayout/OverlayLayout.js +35 -38
  401. package/components/OverlayLayout/OverlayLayout.js.map +1 -1
  402. package/components/OverlayLayout/components/OverlayBackdrop.js +6 -11
  403. package/components/OverlayLayout/components/OverlayBackdrop.js.map +1 -1
  404. package/components/OverlayLayout/components/OverlayContent.js +18 -17
  405. package/components/OverlayLayout/components/OverlayContent.js.map +1 -1
  406. package/components/OverlayLayout/components/OverlayHeader.d.ts +1 -1
  407. package/components/OverlayLayout/components/OverlayHeader.js +30 -37
  408. package/components/OverlayLayout/components/OverlayHeader.js.map +1 -1
  409. package/components/OverlayLayout/components/OverlayRoot.js +13 -14
  410. package/components/OverlayLayout/components/OverlayRoot.js.map +1 -1
  411. package/components/OverlayLayout/components/index.js +0 -2
  412. package/components/OverlayLayout/index.js +0 -2
  413. package/components/Permissions/CannotUseAaclAlert.js +10 -11
  414. package/components/Permissions/CannotUseAaclAlert.js.map +1 -1
  415. package/components/Permissions/Permissions.d.ts +1 -3
  416. package/components/Permissions/Permissions.js +36 -39
  417. package/components/Permissions/Permissions.js.map +1 -1
  418. package/components/Permissions/PermissionsGroup.js +9 -15
  419. package/components/Permissions/PermissionsGroup.js.map +1 -1
  420. package/components/Permissions/StyledComponents.js +10 -11
  421. package/components/Permissions/StyledComponents.js.map +1 -1
  422. package/components/Permissions/index.js +1 -3
  423. package/components/RegisterFeature.js +16 -23
  424. package/components/RegisterFeature.js.map +1 -1
  425. package/components/ResizablePanels/index.d.ts +1 -1
  426. package/components/ResizablePanels/index.js +1 -3
  427. package/components/RoleAutocomplete/graphql.js +3 -2
  428. package/components/RoleAutocomplete/graphql.js.map +1 -1
  429. package/components/RoleAutocomplete/index.d.ts +5 -3
  430. package/components/RoleAutocomplete/index.js +21 -13
  431. package/components/RoleAutocomplete/index.js.map +1 -1
  432. package/components/RolesMultiAutocomplete/graphql.js +3 -2
  433. package/components/RolesMultiAutocomplete/graphql.js.map +1 -1
  434. package/components/RolesMultiAutocomplete/index.d.ts +5 -3
  435. package/components/RolesMultiAutocomplete/index.js +21 -14
  436. package/components/RolesMultiAutocomplete/index.js.map +1 -1
  437. package/components/SearchUI.js +18 -25
  438. package/components/SearchUI.js.map +1 -1
  439. package/components/SimpleForm/SimpleForm.d.ts +3 -3
  440. package/components/SimpleForm/SimpleForm.js +54 -73
  441. package/components/SimpleForm/SimpleForm.js.map +1 -1
  442. package/components/SimpleForm/index.js +1 -3
  443. package/components/SimpleUI/InputField.js +70 -86
  444. package/components/SimpleUI/InputField.js.map +1 -1
  445. package/components/SingleImageUpload.d.ts +2 -2
  446. package/components/SingleImageUpload.js +37 -58
  447. package/components/SingleImageUpload.js.map +1 -1
  448. package/components/SplitView/SplitView.d.ts +6 -6
  449. package/components/SplitView/SplitView.js +48 -50
  450. package/components/SplitView/SplitView.js.map +1 -1
  451. package/components/SplitView/index.js +1 -3
  452. package/components/TeamAutocomplete/graphql.js +3 -2
  453. package/components/TeamAutocomplete/graphql.js.map +1 -1
  454. package/components/TeamAutocomplete/index.d.ts +5 -3
  455. package/components/TeamAutocomplete/index.js +21 -13
  456. package/components/TeamAutocomplete/index.js.map +1 -1
  457. package/components/TeamsMultiAutocomplete/graphql.js +3 -2
  458. package/components/TeamsMultiAutocomplete/graphql.js.map +1 -1
  459. package/components/TeamsMultiAutocomplete/index.d.ts +5 -3
  460. package/components/TeamsMultiAutocomplete/index.js +21 -14
  461. package/components/TeamsMultiAutocomplete/index.js.map +1 -1
  462. package/components/Wcp.d.ts +4 -0
  463. package/components/Wcp.js +29 -26
  464. package/components/Wcp.js.map +1 -1
  465. package/components/index.d.ts +5 -6
  466. package/components/index.js +11 -16
  467. package/config/AdminConfig/Dashboard.js +3 -2
  468. package/config/AdminConfig/Dashboard.js.map +1 -1
  469. package/config/AdminConfig/Dialog.d.ts +10 -0
  470. package/config/AdminConfig/Dialog.js +19 -0
  471. package/config/AdminConfig/Dialog.js.map +1 -0
  472. package/config/AdminConfig/FieldRenderer.d.ts +11 -0
  473. package/config/AdminConfig/FieldRenderer.js +19 -0
  474. package/config/AdminConfig/FieldRenderer.js.map +1 -0
  475. package/config/AdminConfig/Form.d.ts +4 -0
  476. package/config/AdminConfig/Form.js +9 -0
  477. package/config/AdminConfig/Form.js.map +1 -0
  478. package/config/AdminConfig/LayoutRenderer.d.ts +10 -0
  479. package/config/AdminConfig/LayoutRenderer.js +19 -0
  480. package/config/AdminConfig/LayoutRenderer.js.map +1 -0
  481. package/config/AdminConfig/LexicalTheme/Color.js +34 -41
  482. package/config/AdminConfig/LexicalTheme/Color.js.map +1 -1
  483. package/config/AdminConfig/LexicalTheme/Typography.js +61 -74
  484. package/config/AdminConfig/LexicalTheme/Typography.js.map +1 -1
  485. package/config/AdminConfig/LexicalTheme.js +4 -3
  486. package/config/AdminConfig/LexicalTheme.js.map +1 -1
  487. package/config/AdminConfig/Logo.d.ts +1 -1
  488. package/config/AdminConfig/Logo.js +15 -17
  489. package/config/AdminConfig/Logo.js.map +1 -1
  490. package/config/AdminConfig/Menu/MenuGroup.d.ts +3 -3
  491. package/config/AdminConfig/Menu/MenuGroup.js +7 -9
  492. package/config/AdminConfig/Menu/MenuGroup.js.map +1 -1
  493. package/config/AdminConfig/Menu/MenuItem.d.ts +2 -2
  494. package/config/AdminConfig/Menu/MenuItem.js +5 -7
  495. package/config/AdminConfig/Menu/MenuItem.js.map +1 -1
  496. package/config/AdminConfig/Menu/MenuLink.d.ts +2 -2
  497. package/config/AdminConfig/Menu/MenuLink.js +12 -15
  498. package/config/AdminConfig/Menu/MenuLink.js.map +1 -1
  499. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.d.ts +2 -2
  500. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js +6 -8
  501. package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js.map +1 -1
  502. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.d.ts +1 -1
  503. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js +4 -6
  504. package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js.map +1 -1
  505. package/config/AdminConfig/Menu/SupportMenu.d.ts +3 -3
  506. package/config/AdminConfig/Menu/SupportMenu.js +30 -41
  507. package/config/AdminConfig/Menu/SupportMenu.js.map +1 -1
  508. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js +4 -4
  509. package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js.map +1 -1
  510. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js +4 -4
  511. package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js.map +1 -1
  512. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js +0 -2
  513. package/config/AdminConfig/Menu/UserMenu/types.js +0 -3
  514. package/config/AdminConfig/Menu/UserMenu.d.ts +31 -31
  515. package/config/AdminConfig/Menu/UserMenu.js +39 -52
  516. package/config/AdminConfig/Menu/UserMenu.js.map +1 -1
  517. package/config/AdminConfig/Menu/types.js +0 -3
  518. package/config/AdminConfig/Menu.d.ts +42 -42
  519. package/config/AdminConfig/Menu.js +57 -73
  520. package/config/AdminConfig/Menu.js.map +1 -1
  521. package/config/AdminConfig/Route.js +4 -5
  522. package/config/AdminConfig/Route.js.map +1 -1
  523. package/config/AdminConfig/Security.d.ts +3 -0
  524. package/config/AdminConfig/Security.js +7 -0
  525. package/config/AdminConfig/Security.js.map +1 -0
  526. package/config/AdminConfig/SecurityPermissions.d.ts +17 -0
  527. package/config/AdminConfig/SecurityPermissions.js +24 -0
  528. package/config/AdminConfig/SecurityPermissions.js.map +1 -0
  529. package/config/AdminConfig/Tenant/TenantLogo.d.ts +1 -1
  530. package/config/AdminConfig/Tenant/TenantLogo.js +18 -20
  531. package/config/AdminConfig/Tenant/TenantLogo.js.map +1 -1
  532. package/config/AdminConfig/Tenant/TenantName.d.ts +1 -1
  533. package/config/AdminConfig/Tenant/TenantName.js +14 -15
  534. package/config/AdminConfig/Tenant/TenantName.js.map +1 -1
  535. package/config/AdminConfig/Tenant.js +6 -9
  536. package/config/AdminConfig/Tenant.js.map +1 -1
  537. package/config/AdminConfig/Theme/assignColor.js +51 -18
  538. package/config/AdminConfig/Theme/assignColor.js.map +1 -1
  539. package/config/AdminConfig/Theme/consts.js +20 -2
  540. package/config/AdminConfig/Theme/consts.js.map +1 -1
  541. package/config/AdminConfig/Theme/types.js +0 -3
  542. package/config/AdminConfig/Theme.js +8 -15
  543. package/config/AdminConfig/Theme.js.map +1 -1
  544. package/config/AdminConfig/Title.d.ts +1 -1
  545. package/config/AdminConfig/Title.js +11 -12
  546. package/config/AdminConfig/Title.js.map +1 -1
  547. package/config/AdminConfig/Widget.js +24 -31
  548. package/config/AdminConfig/Widget.js.map +1 -1
  549. package/config/AdminConfig.d.ts +22 -1
  550. package/config/AdminConfig.js +52 -51
  551. package/config/AdminConfig.js.map +1 -1
  552. package/config/createAdminConfig.js +55 -86
  553. package/config/createAdminConfig.js.map +1 -1
  554. package/domain/Identity.js +79 -89
  555. package/domain/Identity.js.map +1 -1
  556. package/errors/ErrorOverlayNetworkErrorHandler.js +37 -52
  557. package/errors/ErrorOverlayNetworkErrorHandler.js.map +1 -1
  558. package/errors/TenantIsDisabled.js +19 -20
  559. package/errors/TenantIsDisabled.js.map +1 -1
  560. package/exports/admin/build-params.d.ts +4 -0
  561. package/exports/admin/build-params.js +2 -0
  562. package/exports/admin/configs.js +0 -2
  563. package/exports/admin/form.d.ts +16 -0
  564. package/exports/admin/form.js +5 -0
  565. package/exports/admin/security.d.ts +6 -0
  566. package/exports/admin/security.js +1 -2
  567. package/exports/admin/tenancy.js +0 -2
  568. package/exports/admin/ui/file-manager.d.ts +3 -0
  569. package/exports/admin/ui/file-manager.js +2 -0
  570. package/exports/admin/ui/lexical.d.ts +1 -0
  571. package/exports/admin/ui/lexical.js +1 -0
  572. package/exports/admin/ui.d.ts +5 -1
  573. package/exports/admin/ui.js +4 -3
  574. package/exports/admin.d.ts +6 -0
  575. package/exports/admin.js +5 -2
  576. package/features/apolloClient/abstraction.js +2 -1
  577. package/features/apolloClient/abstraction.js.map +1 -1
  578. package/features/apolloClient/feature.js +22 -30
  579. package/features/apolloClient/feature.js.map +1 -1
  580. package/features/buildParams/BuildParams.js +20 -14
  581. package/features/buildParams/BuildParams.js.map +1 -1
  582. package/features/buildParams/abstractions.js +3 -2
  583. package/features/buildParams/abstractions.js.map +1 -1
  584. package/features/buildParams/feature.d.ts +1 -1
  585. package/features/buildParams/feature.js +11 -6
  586. package/features/buildParams/feature.js.map +1 -1
  587. package/features/buildParams/index.js +0 -2
  588. package/features/fileUrlFormatter/abstractions.d.ts +6 -0
  589. package/features/fileUrlFormatter/abstractions.js +5 -0
  590. package/features/fileUrlFormatter/abstractions.js.map +1 -0
  591. package/features/formModel/ConditionRuleEvaluator.d.ts +9 -0
  592. package/features/formModel/ConditionRuleEvaluator.js +49 -0
  593. package/features/formModel/ConditionRuleEvaluator.js.map +1 -0
  594. package/features/formModel/Field.d.ts +99 -0
  595. package/features/formModel/Field.js +347 -0
  596. package/features/formModel/Field.js.map +1 -0
  597. package/features/formModel/FieldBuilder.d.ts +44 -0
  598. package/features/formModel/FieldBuilder.js +152 -0
  599. package/features/formModel/FieldBuilder.js.map +1 -0
  600. package/features/formModel/FieldBuilder.test.d.ts +1 -0
  601. package/features/formModel/FieldBuilder.test.js +236 -0
  602. package/features/formModel/FieldBuilder.test.js.map +1 -0
  603. package/features/formModel/FieldBuilderRegistry.d.ts +4 -0
  604. package/features/formModel/FieldBuilderRegistry.js +29 -0
  605. package/features/formModel/FieldBuilderRegistry.js.map +1 -0
  606. package/features/formModel/FocusManager.d.ts +14 -0
  607. package/features/formModel/FocusManager.js +83 -0
  608. package/features/formModel/FocusManager.js.map +1 -0
  609. package/features/formModel/FormErrors.d.ts +9 -0
  610. package/features/formModel/FormErrors.js +35 -0
  611. package/features/formModel/FormErrors.js.map +1 -0
  612. package/features/formModel/FormModel.d.ts +59 -0
  613. package/features/formModel/FormModel.js +410 -0
  614. package/features/formModel/FormModel.js.map +1 -0
  615. package/features/formModel/FormModel.test.d.ts +1 -0
  616. package/features/formModel/FormModel.test.js +3811 -0
  617. package/features/formModel/FormModel.test.js.map +1 -0
  618. package/features/formModel/FormModelFactory.d.ts +11 -0
  619. package/features/formModel/FormModelFactory.js +33 -0
  620. package/features/formModel/FormModelFactory.js.map +1 -0
  621. package/features/formModel/FormView.d.ts +46 -0
  622. package/features/formModel/FormView.js +187 -0
  623. package/features/formModel/FormView.js.map +1 -0
  624. package/features/formModel/LayoutBuilderFactory.d.ts +61 -0
  625. package/features/formModel/LayoutBuilderFactory.js +316 -0
  626. package/features/formModel/LayoutBuilderFactory.js.map +1 -0
  627. package/features/formModel/LayoutMutator.d.ts +11 -0
  628. package/features/formModel/LayoutMutator.js +129 -0
  629. package/features/formModel/LayoutMutator.js.map +1 -0
  630. package/features/formModel/LayoutResolver.d.ts +26 -0
  631. package/features/formModel/LayoutResolver.js +199 -0
  632. package/features/formModel/LayoutResolver.js.map +1 -0
  633. package/features/formModel/ObjectField.d.ts +97 -0
  634. package/features/formModel/ObjectField.js +563 -0
  635. package/features/formModel/ObjectField.js.map +1 -0
  636. package/features/formModel/PresenterErrors.d.ts +9 -0
  637. package/features/formModel/PresenterErrors.js +32 -0
  638. package/features/formModel/PresenterErrors.js.map +1 -0
  639. package/features/formModel/Rules.test.d.ts +1 -0
  640. package/features/formModel/Rules.test.js +324 -0
  641. package/features/formModel/Rules.test.js.map +1 -0
  642. package/features/formModel/abstractions.d.ts +715 -0
  643. package/features/formModel/abstractions.js +8 -0
  644. package/features/formModel/abstractions.js.map +1 -0
  645. package/features/formModel/createFieldRenderer.d.ts +20 -0
  646. package/features/formModel/createFieldRenderer.js +38 -0
  647. package/features/formModel/createFieldRenderer.js.map +1 -0
  648. package/features/formModel/demo/FieldRenderersDemoPresenter.d.ts +18 -0
  649. package/features/formModel/demo/FieldRenderersDemoPresenter.js +299 -0
  650. package/features/formModel/demo/FieldRenderersDemoPresenter.js.map +1 -0
  651. package/features/formModel/demo/FormModelDemo.d.ts +4 -0
  652. package/features/formModel/demo/FormModelDemo.js +206 -0
  653. package/features/formModel/demo/FormModelDemo.js.map +1 -0
  654. package/features/formModel/demo/FormModelDemoPresenter.d.ts +22 -0
  655. package/features/formModel/demo/FormModelDemoPresenter.js +140 -0
  656. package/features/formModel/demo/FormModelDemoPresenter.js.map +1 -0
  657. package/features/formModel/demo/FormModelPhase11Presenter.d.ts +25 -0
  658. package/features/formModel/demo/FormModelPhase11Presenter.js +107 -0
  659. package/features/formModel/demo/FormModelPhase11Presenter.js.map +1 -0
  660. package/features/formModel/demo/FormModelPhase8c1Presenter.d.ts +23 -0
  661. package/features/formModel/demo/FormModelPhase8c1Presenter.js +69 -0
  662. package/features/formModel/demo/FormModelPhase8c1Presenter.js.map +1 -0
  663. package/features/formModel/feature.d.ts +3 -0
  664. package/features/formModel/feature.js +30 -0
  665. package/features/formModel/feature.js.map +1 -0
  666. package/features/formModel/fieldTypes/BooleanFieldType.d.ts +19 -0
  667. package/features/formModel/fieldTypes/BooleanFieldType.js +26 -0
  668. package/features/formModel/fieldTypes/BooleanFieldType.js.map +1 -0
  669. package/features/formModel/fieldTypes/DateTimeFieldType.d.ts +173 -0
  670. package/features/formModel/fieldTypes/DateTimeFieldType.js +246 -0
  671. package/features/formModel/fieldTypes/DateTimeFieldType.js.map +1 -0
  672. package/features/formModel/fieldTypes/FileFieldType.d.ts +29 -0
  673. package/features/formModel/fieldTypes/FileFieldType.js +56 -0
  674. package/features/formModel/fieldTypes/FileFieldType.js.map +1 -0
  675. package/features/formModel/fieldTypes/FileUrlFieldType.d.ts +18 -0
  676. package/features/formModel/fieldTypes/FileUrlFieldType.js +23 -0
  677. package/features/formModel/fieldTypes/FileUrlFieldType.js.map +1 -0
  678. package/features/formModel/fieldTypes/LexicalFieldType.d.ts +19 -0
  679. package/features/formModel/fieldTypes/LexicalFieldType.js +23 -0
  680. package/features/formModel/fieldTypes/LexicalFieldType.js.map +1 -0
  681. package/features/formModel/fieldTypes/NumberFieldType.d.ts +19 -0
  682. package/features/formModel/fieldTypes/NumberFieldType.js +28 -0
  683. package/features/formModel/fieldTypes/NumberFieldType.js.map +1 -0
  684. package/features/formModel/fieldTypes/ObjectFieldType.d.ts +34 -0
  685. package/features/formModel/fieldTypes/ObjectFieldType.js +95 -0
  686. package/features/formModel/fieldTypes/ObjectFieldType.js.map +1 -0
  687. package/features/formModel/fieldTypes/TextFieldType.d.ts +18 -0
  688. package/features/formModel/fieldTypes/TextFieldType.js +23 -0
  689. package/features/formModel/fieldTypes/TextFieldType.js.map +1 -0
  690. package/features/formModel/fieldTypes/index.d.ts +8 -0
  691. package/features/formModel/fieldTypes/index.js +8 -0
  692. package/features/formModel/index.d.ts +24 -0
  693. package/features/formModel/index.js +22 -0
  694. package/features/formModel/renderers.d.ts +21 -0
  695. package/features/formModel/renderers.js +21 -0
  696. package/features/formModel/useFieldRenderers.d.ts +2 -0
  697. package/features/formModel/useFieldRenderers.js +15 -0
  698. package/features/formModel/useFieldRenderers.js.map +1 -0
  699. package/features/formModel/useLayoutRenderers.d.ts +2 -0
  700. package/features/formModel/useLayoutRenderers.js +15 -0
  701. package/features/formModel/useLayoutRenderers.js.map +1 -0
  702. package/features/listCache/ListCache.d.ts +28 -0
  703. package/features/listCache/ListCache.js +48 -0
  704. package/features/listCache/ListCache.js.map +1 -0
  705. package/features/listCache/index.d.ts +2 -0
  706. package/features/listCache/index.js +1 -0
  707. package/features/security/AuthenticationContext/AuthenticationContext.js +27 -26
  708. package/features/security/AuthenticationContext/AuthenticationContext.js.map +1 -1
  709. package/features/security/AuthenticationContext/GraphQLClientDecorator.js +23 -22
  710. package/features/security/AuthenticationContext/GraphQLClientDecorator.js.map +1 -1
  711. package/features/security/AuthenticationContext/InternalIdTokenProvider.js +15 -12
  712. package/features/security/AuthenticationContext/InternalIdTokenProvider.js.map +1 -1
  713. package/features/security/AuthenticationContext/abstractions.js +3 -2
  714. package/features/security/AuthenticationContext/abstractions.js.map +1 -1
  715. package/features/security/AuthenticationContext/feature.js +15 -14
  716. package/features/security/AuthenticationContext/feature.js.map +1 -1
  717. package/features/security/AuthenticationContext/index.js +0 -2
  718. package/features/security/AuthenticationContext/types.js +0 -3
  719. package/features/security/IdentityContext/IdentityContext.js +18 -17
  720. package/features/security/IdentityContext/IdentityContext.js.map +1 -1
  721. package/features/security/IdentityContext/abstractions.js +2 -1
  722. package/features/security/IdentityContext/abstractions.js.map +1 -1
  723. package/features/security/IdentityContext/feature.js +13 -12
  724. package/features/security/IdentityContext/feature.js.map +1 -1
  725. package/features/security/IdentityContext/index.js +0 -2
  726. package/features/security/LogIn/IdentityMapper.js +8 -7
  727. package/features/security/LogIn/IdentityMapper.js.map +1 -1
  728. package/features/security/LogIn/LogInGateway.d.ts +2 -2
  729. package/features/security/LogIn/LogInGateway.js +18 -20
  730. package/features/security/LogIn/LogInGateway.js.map +1 -1
  731. package/features/security/LogIn/LogInRepository.js +16 -14
  732. package/features/security/LogIn/LogInRepository.js.map +1 -1
  733. package/features/security/LogIn/LogInUseCase.js +23 -31
  734. package/features/security/LogIn/LogInUseCase.js.map +1 -1
  735. package/features/security/LogIn/abstractions.js +5 -16
  736. package/features/security/LogIn/abstractions.js.map +1 -1
  737. package/features/security/LogIn/createLoginMutation.js +2 -3
  738. package/features/security/LogIn/createLoginMutation.js.map +1 -1
  739. package/features/security/LogIn/feature.js +16 -15
  740. package/features/security/LogIn/feature.js.map +1 -1
  741. package/features/security/LogIn/index.js +0 -2
  742. package/features/security/LogOut/LogOutUseCase.js +18 -16
  743. package/features/security/LogOut/LogOutUseCase.js.map +1 -1
  744. package/features/security/LogOut/abstractions.js +2 -1
  745. package/features/security/LogOut/abstractions.js.map +1 -1
  746. package/features/security/LogOut/feature.js +12 -11
  747. package/features/security/LogOut/feature.js.map +1 -1
  748. package/features/security/LogOut/index.js +0 -2
  749. package/features/security/SecurityFeature.js +9 -8
  750. package/features/security/SecurityFeature.js.map +1 -1
  751. package/features/telemetry/TelemetryService.js +11 -12
  752. package/features/telemetry/TelemetryService.js.map +1 -1
  753. package/features/telemetry/abstractions.js +2 -1
  754. package/features/telemetry/abstractions.js.map +1 -1
  755. package/features/telemetry/feature.js +13 -12
  756. package/features/telemetry/feature.js.map +1 -1
  757. package/features/telemetry/index.js +0 -2
  758. package/features/tenancy/GraphQLClientDecorator.js +23 -20
  759. package/features/tenancy/GraphQLClientDecorator.js.map +1 -1
  760. package/features/tenancy/TenantContext.js +46 -50
  761. package/features/tenancy/TenantContext.js.map +1 -1
  762. package/features/tenancy/abstractions.js +2 -1
  763. package/features/tenancy/abstractions.js.map +1 -1
  764. package/features/tenancy/feature.js +25 -35
  765. package/features/tenancy/feature.js.map +1 -1
  766. package/features/tenancy/types.js +0 -3
  767. package/features/tools/LexicalContext/LexicalContext.d.ts +14 -0
  768. package/features/tools/LexicalContext/LexicalContext.js +25 -0
  769. package/features/tools/LexicalContext/LexicalContext.js.map +1 -0
  770. package/features/tools/LexicalContext/abstractions.d.ts +11 -0
  771. package/features/tools/LexicalContext/abstractions.js +5 -0
  772. package/features/tools/LexicalContext/abstractions.js.map +1 -0
  773. package/features/tools/LexicalContext/index.d.ts +2 -0
  774. package/features/tools/LexicalContext/index.js +1 -0
  775. package/features/tools/ToolPipelineRunner.d.ts +10 -0
  776. package/features/tools/ToolPipelineRunner.js +35 -0
  777. package/features/tools/ToolPipelineRunner.js.map +1 -0
  778. package/features/tools/ToolRegistry.d.ts +12 -0
  779. package/features/tools/ToolRegistry.js +38 -0
  780. package/features/tools/ToolRegistry.js.map +1 -0
  781. package/features/tools/abstractions.d.ts +28 -0
  782. package/features/tools/abstractions.js +7 -0
  783. package/features/tools/abstractions.js.map +1 -0
  784. package/features/tools/feature.d.ts +4 -0
  785. package/features/tools/feature.js +22 -0
  786. package/features/tools/feature.js.map +1 -0
  787. package/features/tools/index.d.ts +3 -0
  788. package/features/tools/index.js +3 -0
  789. package/features/wcp/ReactLicense.d.ts +4 -0
  790. package/features/wcp/ReactLicense.js +53 -40
  791. package/features/wcp/ReactLicense.js.map +1 -1
  792. package/features/wcp/WcpGateway.d.ts +2 -2
  793. package/features/wcp/WcpGateway.js +26 -21
  794. package/features/wcp/WcpGateway.js.map +1 -1
  795. package/features/wcp/WcpService.js +57 -67
  796. package/features/wcp/WcpService.js.map +1 -1
  797. package/features/wcp/abstractions.js +3 -2
  798. package/features/wcp/abstractions.js.map +1 -1
  799. package/features/wcp/feature.js +14 -13
  800. package/features/wcp/feature.js.map +1 -1
  801. package/features/wcp/types.js +0 -3
  802. package/features/webinySdk/WebinySdk.d.ts +11 -0
  803. package/features/webinySdk/WebinySdk.js +28 -0
  804. package/features/webinySdk/WebinySdk.js.map +1 -0
  805. package/features/webinySdk/abstractions.d.ts +6 -0
  806. package/features/webinySdk/abstractions.js +5 -0
  807. package/features/webinySdk/abstractions.js.map +1 -0
  808. package/features/webinySdk/feature.d.ts +3 -0
  809. package/features/webinySdk/feature.js +17 -0
  810. package/features/webinySdk/feature.js.map +1 -0
  811. package/features/webinySdk/index.d.ts +2 -0
  812. package/features/webinySdk/index.js +2 -0
  813. package/hooks/index.d.ts +2 -0
  814. package/hooks/index.js +2 -2
  815. package/hooks/useConfirmationDialog.d.ts +1 -1
  816. package/hooks/useConfirmationDialog.js +31 -38
  817. package/hooks/useConfirmationDialog.js.map +1 -1
  818. package/hooks/useDialog.d.ts +9 -29
  819. package/hooks/useDialog.js +16 -25
  820. package/hooks/useDialog.js.map +1 -1
  821. package/hooks/useHotkeys.d.ts +9 -0
  822. package/hooks/useHotkeys.js +66 -0
  823. package/hooks/useHotkeys.js.map +1 -0
  824. package/hooks/useIsMounted.js +12 -11
  825. package/hooks/useIsMounted.js.map +1 -1
  826. package/hooks/useKeyHandler.js +46 -54
  827. package/hooks/useKeyHandler.js.map +1 -1
  828. package/hooks/useModKey.js +21 -26
  829. package/hooks/useModKey.js.map +1 -1
  830. package/hooks/useOpenDialog.d.ts +7 -0
  831. package/hooks/useOpenDialog.js +18 -0
  832. package/hooks/useOpenDialog.js.map +1 -0
  833. package/hooks/useShiftKey.d.ts +5 -1
  834. package/hooks/useShiftKey.js +38 -29
  835. package/hooks/useShiftKey.js.map +1 -1
  836. package/hooks/useSnackbar.d.ts +3 -0
  837. package/hooks/useSnackbar.js +26 -28
  838. package/hooks/useSnackbar.js.map +1 -1
  839. package/hooks/useStateIfMounted.js +14 -12
  840. package/hooks/useStateIfMounted.js.map +1 -1
  841. package/hooks/useStateWithCallback.js +18 -14
  842. package/hooks/useStateWithCallback.js.map +1 -1
  843. package/hooks/useToggler.js +12 -11
  844. package/hooks/useToggler.js.map +1 -1
  845. package/index.d.ts +25 -2
  846. package/index.js +23 -20
  847. package/package.json +57 -52
  848. package/permissions/PermissionRenderer.d.ts +6 -0
  849. package/permissions/PermissionRenderer.js +205 -0
  850. package/permissions/PermissionRenderer.js.map +1 -0
  851. package/permissions/PermissionValueContext.d.ts +11 -0
  852. package/permissions/PermissionValueContext.js +16 -0
  853. package/permissions/PermissionValueContext.js.map +1 -0
  854. package/permissions/createHasPermission.d.ts +4 -0
  855. package/permissions/createHasPermission.js +39 -0
  856. package/permissions/createHasPermission.js.map +1 -0
  857. package/permissions/createPermissionSchema.d.ts +2 -0
  858. package/permissions/createPermissionSchema.js +9 -0
  859. package/permissions/createPermissionSchema.js.map +1 -0
  860. package/permissions/createPermissions.d.ts +6 -0
  861. package/permissions/createPermissions.js +141 -0
  862. package/permissions/createPermissions.js.map +1 -0
  863. package/permissions/createPermissions.test.d.ts +1 -0
  864. package/permissions/createPermissions.test.js +209 -0
  865. package/permissions/createPermissions.test.js.map +1 -0
  866. package/permissions/index.d.ts +9 -0
  867. package/permissions/index.js +7 -0
  868. package/permissions/types.d.ts +267 -0
  869. package/permissions/types.js +0 -0
  870. package/permissions/usePermissionForm.d.ts +17 -0
  871. package/permissions/usePermissionForm.js +157 -0
  872. package/permissions/usePermissionForm.js.map +1 -0
  873. package/permissions/usePermissions.d.ts +4 -0
  874. package/permissions/usePermissions.js +10 -0
  875. package/permissions/usePermissions.js.map +1 -0
  876. package/plugins/MenuPlugin.js +15 -14
  877. package/plugins/MenuPlugin.js.map +1 -1
  878. package/presentation/browserFilePicker/BrowserFilePicker.d.ts +3 -0
  879. package/presentation/browserFilePicker/BrowserFilePicker.js +88 -0
  880. package/presentation/browserFilePicker/BrowserFilePicker.js.map +1 -0
  881. package/presentation/browserFilePicker/BrowserFilePickerPresenter.d.ts +10 -0
  882. package/presentation/browserFilePicker/BrowserFilePickerPresenter.js +84 -0
  883. package/presentation/browserFilePicker/BrowserFilePickerPresenter.js.map +1 -0
  884. package/presentation/browserFilePicker/index.d.ts +3 -0
  885. package/presentation/browserFilePicker/index.js +2 -0
  886. package/presentation/browserFilePicker/types.d.ts +53 -0
  887. package/presentation/browserFilePicker/types.js +0 -0
  888. package/presentation/browserFilePicker/utils.d.ts +2 -0
  889. package/presentation/browserFilePicker/utils.js +16 -0
  890. package/presentation/browserFilePicker/utils.js.map +1 -0
  891. package/presentation/buildParams/useBuildParams.d.ts +1 -0
  892. package/presentation/buildParams/useBuildParams.js +6 -0
  893. package/presentation/buildParams/useBuildParams.js.map +1 -0
  894. package/presentation/installation/components/SystemInstaller/SystemInstaller.js +46 -53
  895. package/presentation/installation/components/SystemInstaller/SystemInstaller.js.map +1 -1
  896. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js +9 -14
  897. package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js.map +1 -1
  898. package/presentation/installation/components/SystemInstaller/index.js +0 -2
  899. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js +14 -29
  900. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js.map +1 -1
  901. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js +11 -10
  902. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js.map +1 -1
  903. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js +60 -60
  904. package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js.map +1 -1
  905. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js +75 -85
  906. package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js.map +1 -1
  907. package/presentation/installation/components/SystemInstaller/steps/Center.js +5 -8
  908. package/presentation/installation/components/SystemInstaller/steps/Center.js.map +1 -1
  909. package/presentation/installation/components/SystemInstaller/steps/Container.js +18 -24
  910. package/presentation/installation/components/SystemInstaller/steps/Container.js.map +1 -1
  911. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js +48 -53
  912. package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js.map +1 -1
  913. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js +13 -16
  914. package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js.map +1 -1
  915. package/presentation/installation/components/SystemInstaller/steps/introduction.js +723 -0
  916. package/presentation/installation/components/SystemInstaller/steps/introduction.js.map +1 -0
  917. package/presentation/installation/components/SystemInstaller/steps/referralSources.js +14 -1
  918. package/presentation/installation/components/SystemInstaller/steps/referralSources.js.map +1 -1
  919. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.d.ts +2 -2
  920. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js +28 -29
  921. package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js.map +1 -1
  922. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js +117 -124
  923. package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js.map +1 -1
  924. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js +23 -21
  925. package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js.map +1 -1
  926. package/presentation/installation/presenters/SystemInstaller/abstractions.js +4 -3
  927. package/presentation/installation/presenters/SystemInstaller/abstractions.js.map +1 -1
  928. package/presentation/installation/presenters/SystemInstaller/feature.js +15 -14
  929. package/presentation/installation/presenters/SystemInstaller/feature.js.map +1 -1
  930. package/presentation/installation/presenters/SystemInstaller/index.js +0 -2
  931. package/presentation/lexicalContext/useLexicalContext.d.ts +3 -0
  932. package/presentation/lexicalContext/useLexicalContext.js +17 -0
  933. package/presentation/lexicalContext/useLexicalContext.js.map +1 -0
  934. package/presentation/listPresenter/ListPresenter.d.ts +30 -0
  935. package/presentation/listPresenter/ListPresenter.js +216 -0
  936. package/presentation/listPresenter/ListPresenter.js.map +1 -0
  937. package/presentation/listPresenter/ListPresenter.test.d.ts +1 -0
  938. package/presentation/listPresenter/ListPresenter.test.js +816 -0
  939. package/presentation/listPresenter/ListPresenter.test.js.map +1 -0
  940. package/presentation/listPresenter/SelectionController.d.ts +21 -0
  941. package/presentation/listPresenter/SelectionController.js +74 -0
  942. package/presentation/listPresenter/SelectionController.js.map +1 -0
  943. package/presentation/listPresenter/abstractions.d.ts +107 -0
  944. package/presentation/listPresenter/abstractions.js +5 -0
  945. package/presentation/listPresenter/abstractions.js.map +1 -0
  946. package/presentation/listPresenter/feature.d.ts +3 -0
  947. package/presentation/listPresenter/feature.js +17 -0
  948. package/presentation/listPresenter/feature.js.map +1 -0
  949. package/presentation/listPresenter/index.d.ts +3 -0
  950. package/presentation/listPresenter/index.js +2 -0
  951. package/presentation/security/components/HasPermission.js +15 -25
  952. package/presentation/security/components/HasPermission.js.map +1 -1
  953. package/presentation/security/components/SecureRoute.js +6 -12
  954. package/presentation/security/components/SecureRoute.js.map +1 -1
  955. package/presentation/security/hooks/useAuthentication.js +11 -17
  956. package/presentation/security/hooks/useAuthentication.js.map +1 -1
  957. package/presentation/security/hooks/useIdentity.js +19 -18
  958. package/presentation/security/hooks/useIdentity.js.map +1 -1
  959. package/presentation/security/hooks/useSecurity.js +14 -24
  960. package/presentation/security/hooks/useSecurity.js.map +1 -1
  961. package/presentation/tenancy/TenancyProvider.js +23 -36
  962. package/presentation/tenancy/TenancyProvider.js.map +1 -1
  963. package/presentation/tenancy/createTenancyProvider.js +6 -11
  964. package/presentation/tenancy/createTenancyProvider.js.map +1 -1
  965. package/presentation/tenancy/useTenantContext.js +17 -18
  966. package/presentation/tenancy/useTenantContext.js.map +1 -1
  967. package/presentation/textToLexicalTool/TextToLexicalTool.d.ts +30 -0
  968. package/presentation/textToLexicalTool/TextToLexicalTool.js +31 -0
  969. package/presentation/textToLexicalTool/TextToLexicalTool.js.map +1 -0
  970. package/presentation/textToLexicalTool/feature.d.ts +1 -0
  971. package/presentation/textToLexicalTool/feature.js +11 -0
  972. package/presentation/textToLexicalTool/feature.js.map +1 -0
  973. package/presentation/textToLexicalTool/textToLexicalState.d.ts +6 -0
  974. package/presentation/textToLexicalTool/textToLexicalState.js +31 -0
  975. package/presentation/textToLexicalTool/textToLexicalState.js.map +1 -0
  976. package/presentation/wcp/WcpProvider.js +17 -20
  977. package/presentation/wcp/WcpProvider.js.map +1 -1
  978. package/presentation/wcp/useWcp.js +11 -12
  979. package/presentation/wcp/useWcp.js.map +1 -1
  980. package/routes.d.ts +1 -1
  981. package/routes.js +14 -13
  982. package/routes.js.map +1 -1
  983. package/static/svg/SecureRouteError.e8b15981.svg +1 -0
  984. package/static/svg/add-18px.b3062af6.svg +3 -0
  985. package/static/svg/arrow_drop_down-24px.da74d713.svg +4 -0
  986. package/static/svg/attach_file_black_24dp.7fb13a7e.svg +1 -0
  987. package/static/svg/baseline-menu-24px.071b179d.svg +4 -0
  988. package/static/svg/baseline-notification_important-24px.29277e73.svg +4 -0
  989. package/static/svg/baseline-security-24px.12e519cc.svg +4 -0
  990. package/static/svg/file_download.afe3fbec.svg +1 -0
  991. package/static/svg/file_upload.6865d820.svg +1 -0
  992. package/static/svg/filter-24px.886d9ff0.svg +8 -0
  993. package/static/svg/github-brands.6311f0fa.svg +1 -0
  994. package/static/svg/highlight-24px.959a97f7.svg +1 -0
  995. package/static/svg/icon-community.cd087355.svg +16 -0
  996. package/static/svg/icon-documentation.a189d24c.svg +16 -0
  997. package/static/svg/info.fe810b72.svg +1 -0
  998. package/static/svg/insert_drive_file-24px.39d490eb.svg +1 -0
  999. package/static/svg/insert_photo-24px.81a5f945.svg +1 -0
  1000. package/static/svg/introduction.108720aa.svg +154 -0
  1001. package/static/svg/label-24px.9deafa4f.svg +1 -0
  1002. package/static/svg/round-account_circle-24px.f0b48cb7.svg +1 -0
  1003. package/static/svg/round-add-24px.4a5219b4.svg +16 -0
  1004. package/static/svg/round-arrow_drop_down-24px.5fdf92d1.svg +1 -0
  1005. package/static/svg/round-chevron_right-24px.34936511.svg +12 -0
  1006. package/static/svg/round-feedback-24px.4dae7231.svg +54 -0
  1007. package/static/svg/round-help-24px.a61b1d66.svg +1 -0
  1008. package/static/svg/round-invert_colors-24px.a229a1dd.svg +52 -0
  1009. package/static/svg/round-keyboard_arrow_down-24px.6febe804.svg +16 -0
  1010. package/static/svg/round-keyboard_arrow_up-24px.b1f7db34.svg +16 -0
  1011. package/static/svg/round-lock_open-24px.d527f6a5.svg +60 -0
  1012. package/static/svg/round-more_vert-24px.68d41b07.svg +12 -0
  1013. package/static/svg/round-open_in_new-24px.be5b4ddd.svg +44 -0
  1014. package/static/svg/round-settings-24px.c0b3056f.svg +4 -0
  1015. package/static/svg/search-24px.3c0f88dd.svg +20 -0
  1016. package/static/svg/slack-logo.7ee35e7f.svg +1 -0
  1017. package/static/svg/today-24px.df206362.svg +1 -0
  1018. package/static/svg/touch_app.debf3744.svg +1 -0
  1019. package/static/svg/wby-horizontal.03327bf6.svg +23 -0
  1020. package/static/svg/wby-square.ff8f47c3.svg +3 -0
  1021. package/static/svg/webiny-logo.ef56725c.svg +20 -0
  1022. package/static/svg/webiny-orange-logo.4eccf0f2.svg +20 -0
  1023. package/types.d.ts +0 -7
  1024. package/types.js +0 -3
  1025. package/base/Base/LexicalPreset/LinkEditForm.d.ts +0 -6
  1026. package/base/Base/LexicalPreset/LinkEditForm.js +0 -63
  1027. package/base/Base/LexicalPreset/LinkEditForm.js.map +0 -1
  1028. package/components/BulkActions/index.js.map +0 -1
  1029. package/components/BulkActions/useDialogWithReport/index.js.map +0 -1
  1030. package/components/Buttons/index.js.map +0 -1
  1031. package/components/Filters/index.js.map +0 -1
  1032. package/components/FloatingPanel.d.ts +0 -13
  1033. package/components/FloatingPanel.js +0 -94
  1034. package/components/FloatingPanel.js.map +0 -1
  1035. package/components/IconPicker/components/index.js.map +0 -1
  1036. package/components/IconPicker/index.js.map +0 -1
  1037. package/components/LexicalEditor/index.js.map +0 -1
  1038. package/components/NavigationPrompt.d.ts +0 -27
  1039. package/components/NavigationPrompt.js +0 -39
  1040. package/components/NavigationPrompt.js.map +0 -1
  1041. package/components/NotAuthorizedError/index.js.map +0 -1
  1042. package/components/OptionsMenu/index.js.map +0 -1
  1043. package/components/OverlayLayout/components/index.js.map +0 -1
  1044. package/components/OverlayLayout/index.js.map +0 -1
  1045. package/components/Permissions/index.js.map +0 -1
  1046. package/components/ResizablePanels/index.js.map +0 -1
  1047. package/components/SimpleForm/index.js.map +0 -1
  1048. package/components/SplitView/index.js.map +0 -1
  1049. package/components/StateInspector.d.ts +0 -8
  1050. package/components/StateInspector.js +0 -36
  1051. package/components/StateInspector.js.map +0 -1
  1052. package/components/index.js.map +0 -1
  1053. package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js.map +0 -1
  1054. package/config/AdminConfig/Menu/UserMenu/types.js.map +0 -1
  1055. package/config/AdminConfig/Menu/types.js.map +0 -1
  1056. package/config/AdminConfig/Theme/types.js.map +0 -1
  1057. package/exports/admin/buildParams.d.ts +0 -1
  1058. package/exports/admin/buildParams.js +0 -3
  1059. package/exports/admin/buildParams.js.map +0 -1
  1060. package/exports/admin/configs.js.map +0 -1
  1061. package/exports/admin/security.js.map +0 -1
  1062. package/exports/admin/tenancy.js.map +0 -1
  1063. package/exports/admin/ui.js.map +0 -1
  1064. package/exports/admin.js.map +0 -1
  1065. package/extensions/AdminBuildParam.d.ts +0 -11
  1066. package/extensions/AdminBuildParam.js +0 -184
  1067. package/extensions/AdminBuildParam.js.map +0 -1
  1068. package/extensions/AdminExtension.d.ts +0 -11
  1069. package/extensions/AdminExtension.js +0 -105
  1070. package/extensions/AdminExtension.js.map +0 -1
  1071. package/extensions/index.d.ts +0 -23
  1072. package/extensions/index.js +0 -7
  1073. package/extensions/index.js.map +0 -1
  1074. package/features/buildParams/index.js.map +0 -1
  1075. package/features/security/AuthenticationContext/index.js.map +0 -1
  1076. package/features/security/AuthenticationContext/types.js.map +0 -1
  1077. package/features/security/IdentityContext/index.js.map +0 -1
  1078. package/features/security/LogIn/index.js.map +0 -1
  1079. package/features/security/LogOut/index.js.map +0 -1
  1080. package/features/telemetry/index.js.map +0 -1
  1081. package/features/tenancy/types.js.map +0 -1
  1082. package/features/wcp/types.js.map +0 -1
  1083. package/hooks/index.js.map +0 -1
  1084. package/index.js.map +0 -1
  1085. package/plugins/PermissionRendererPlugin.d.ts +0 -22
  1086. package/plugins/PermissionRendererPlugin.js +0 -19
  1087. package/plugins/PermissionRendererPlugin.js.map +0 -1
  1088. package/presentation/installation/components/SystemInstaller/index.js.map +0 -1
  1089. package/presentation/installation/presenters/SystemInstaller/index.js.map +0 -1
  1090. package/types.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"names":["LogInUseCase","LogOutUseCase","AuthenticationContext","IdentityContext","useAuthentication","useIdentity","HasPermissionComponent","LoginScreenComponent"],"sources":["security.ts"],"sourcesContent":["export { LogInUseCase } from \"~/features/security/LogIn/index.js\";\nexport { LogOutUseCase } from \"~/features/security/LogOut/index.js\";\nexport { AuthenticationContext } from \"~/features/security/AuthenticationContext/index.js\";\nexport { IdentityContext } from \"~/features/security/IdentityContext/index.js\";\nexport { useAuthentication } from \"~/presentation/security/hooks/useAuthentication.js\";\nexport { useIdentity } from \"~/presentation/security/hooks/useIdentity.js\";\nexport { HasPermissionComponent } from \"~/presentation/security/components/HasPermission.js\";\nexport { LoginScreenComponent } from \"~/base/ui/LoginScreen.js\";\n"],"mappings":"AAAA,SAASA,YAAY;AACrB,SAASC,aAAa;AACtB,SAASC,qBAAqB;AAC9B,SAASC,eAAe;AACxB,SAASC,iBAAiB;AAC1B,SAASC,WAAW;AACpB,SAASC,sBAAsB;AAC/B,SAASC,oBAAoB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["TenantContext","useTenantContext"],"sources":["tenancy.ts"],"sourcesContent":["export { TenantContext } from \"~/features/tenancy/abstractions.js\";\nexport { useTenantContext } from \"~/presentation/tenancy/useTenantContext.js\";\n"],"mappings":"AAAA,SAASA,aAAa;AACtB,SAASC,gBAAgB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["Logo","TenantSelector","LexicalEditor"],"sources":["ui.ts"],"sourcesContent":["export { Logo } from \"~/base/ui/Logo.js\";\nexport { TenantSelector } from \"~/base/ui/TenantSelector.js\";\nexport { LexicalEditor } from \"~/components/LexicalEditor/LexicalEditor.js\";\n"],"mappings":"AAAA,SAASA,IAAI;AACb,SAASC,cAAc;AACvB,SAASC,aAAa","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["RegisterFeature","BuildParam","BuildParams","AdminConfig"],"sources":["admin.ts"],"sourcesContent":["export { RegisterFeature } from \"~/components/RegisterFeature.js\";\nexport { BuildParam, BuildParams } from \"~/features/buildParams/index.js\";\nexport { AdminConfig } from \"~/config/AdminConfig.js\";\n"],"mappings":"AAAA,SAASA,eAAe;AACxB,SAASC,UAAU,EAAEC,WAAW;AAChC,SAASC,WAAW","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- import { z } from "zod";
2
- export declare const AdminBuildParam: import("@webiny/project/defineExtension").ExtensionComponent<z.ZodObject<{
3
- paramName: z.ZodString;
4
- value: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">, z.ZodNumber, z.ZodBoolean]>;
5
- }, "strip", z.ZodTypeAny, {
6
- value: string | number | boolean | any[] | Record<string, any>;
7
- paramName: string;
8
- }, {
9
- value: string | number | boolean | any[] | Record<string, any>;
10
- paramName: string;
11
- }>>;
@@ -1,184 +0,0 @@
1
- import { z } from "zod";
2
- import { defineExtension } from "@webiny/project/defineExtension";
3
- import crypto from "crypto";
4
- import path from "path";
5
- import fs from "fs";
6
- import { Node, Project } from "ts-morph";
7
- async function generateBuildParamsFeature(buildParamsDir, ctx) {
8
- const featureFilePath = path.join(buildParamsDir, "feature.ts");
9
-
10
- // Get all BuildParam_*.ts files.
11
- const files = fs.readdirSync(buildParamsDir).filter(f => f.startsWith("BuildParam_") && f.endsWith(".ts") && f !== "feature.ts");
12
-
13
- // Generate imports and registrations.
14
- const imports = files.map(file => {
15
- const className = path.parse(file).name;
16
- return `import ${className} from "./${className}.js";`;
17
- }).join("\n");
18
- const registrations = files.map(file => {
19
- const className = path.parse(file).name;
20
- return ` container.register(${className});`;
21
- }).join("\n");
22
- const featureContent = `import { createFeature } from "@webiny/feature/admin";
23
- import { Container } from "@webiny/di";
24
- ${imports}
25
-
26
- export const BuildParamsInternalFeature = createFeature({
27
- name: "BuildParamsInternal",
28
- register(container: Container) {
29
- ${registrations}
30
- }
31
- });
32
- `;
33
- fs.writeFileSync(featureFilePath, featureContent, "utf8");
34
-
35
- // Now we need to update Extensions.tsx to use RegisterFeature with this feature.
36
- await updateExtensionsTsx(ctx);
37
- }
38
- async function updateExtensionsTsx(ctx) {
39
- const extensionsTsxFilePath = ctx.project.paths.workspaceFolder.join("apps", "admin", "src", "Extensions.tsx").toString();
40
- const project = new Project();
41
- project.addSourceFileAtPath(extensionsTsxFilePath);
42
- const source = project.getSourceFileOrThrow(extensionsTsxFilePath);
43
-
44
- // Check if we already have the imports.
45
- const buildParamsFeatureImport = "./buildParams/feature.js";
46
- const existingFeatureImport = source.getImportDeclaration(buildParamsFeatureImport);
47
- if (!existingFeatureImport) {
48
- let index = 1;
49
- const importDeclarations = source.getImportDeclarations();
50
- if (importDeclarations.length) {
51
- const last = importDeclarations[importDeclarations.length - 1];
52
- index = last.getChildIndex() + 1;
53
- }
54
-
55
- // Add import for BuildParamsInternalFeature.
56
- source.insertImportDeclaration(index, {
57
- namedImports: ["BuildParamsInternalFeature"],
58
- moduleSpecifier: buildParamsFeatureImport
59
- });
60
-
61
- // Add import for BuildParamsFeature.
62
- const buildParamsFeatureImportPath = "@webiny/app-admin";
63
- const existingBuildParamsImport = source.getImportDeclaration(buildParamsFeatureImportPath);
64
- if (!existingBuildParamsImport) {
65
- source.insertImportDeclaration(index, {
66
- namedImports: ["BuildParamsFeature"],
67
- moduleSpecifier: buildParamsFeatureImportPath
68
- });
69
- } else {
70
- // Add to existing import if BuildParamsFeature not already there.
71
- const namedImports = existingBuildParamsImport.getNamedImports();
72
- const hasBuildParamsFeature = namedImports.some(ni => ni.getName() === "BuildParamsFeature");
73
- if (!hasBuildParamsFeature) {
74
- existingBuildParamsImport.addNamedImport("BuildParamsFeature");
75
- }
76
- }
77
-
78
- // Add import for RegisterFeature if not present.
79
- const registerFeatureImportPath = "@webiny/app-admin";
80
- const existingRegisterFeatureImport = source.getImportDeclaration(registerFeatureImportPath);
81
- if (existingRegisterFeatureImport) {
82
- const namedImports = existingRegisterFeatureImport.getNamedImports();
83
- const hasRegisterFeature = namedImports.some(ni => ni.getName() === "RegisterFeature");
84
- if (!hasRegisterFeature) {
85
- existingRegisterFeatureImport.addNamedImport("RegisterFeature");
86
- }
87
- } else {
88
- source.insertImportDeclaration(index, {
89
- namedImports: ["RegisterFeature"],
90
- moduleSpecifier: registerFeatureImportPath
91
- });
92
- }
93
- }
94
-
95
- // Now add <RegisterFeature> components to the Extensions component.
96
- const extensionsIdentifier = source.getFirstDescendant(node => {
97
- if (!Node.isIdentifier(node)) {
98
- return false;
99
- }
100
- return node.getText() === "Extensions";
101
- });
102
- if (!extensionsIdentifier) {
103
- throw new Error(`Could not find the "Extensions" React component in "${extensionsTsxFilePath}".`);
104
- }
105
- const extensionsArrowFn = extensionsIdentifier.getNextSibling(node => Node.isArrowFunction(node));
106
- if (!extensionsArrowFn) {
107
- throw new Error(`Could not find the "Extensions" React component arrow function.`);
108
- }
109
- const extensionsArrowFnFragment = extensionsArrowFn.getFirstDescendant(node => {
110
- return Node.isJsxFragment(node);
111
- });
112
- if (!extensionsArrowFnFragment) {
113
- throw new Error(`Could not find JSX fragment in Extensions component.`);
114
- }
115
- const currentContent = extensionsArrowFnFragment.getFullText().replace("<>", "").replace("</>", "").trim();
116
-
117
- // Check if we already have the RegisterFeature components.
118
- if (!currentContent.includes("BuildParamsFeature")) {
119
- const newContent = `<><RegisterFeature feature={BuildParamsFeature} /><RegisterFeature feature={BuildParamsInternalFeature} />${currentContent}</>`;
120
- extensionsArrowFnFragment.replaceWithText(newContent);
121
- }
122
- await source.save();
123
- }
124
- export const AdminBuildParam = defineExtension({
125
- type: "Admin/BuildParam",
126
- tags: {
127
- runtimeContext: "app-build",
128
- appName: "admin"
129
- },
130
- description: "Add build-time parameter to Admin app.",
131
- multiple: true,
132
- paramsSchema: () => {
133
- return z.object({
134
- paramName: z.string(),
135
- value: z.union([z.string(), z.record(z.any()), z.array(z.any()), z.number(), z.boolean()])
136
- });
137
- },
138
- async build(params, ctx) {
139
- const buildParamsDir = ctx.project.paths.workspaceFolder.join("apps", "admin", "src", "buildParams").toString();
140
- const {
141
- paramName,
142
- value
143
- } = params;
144
-
145
- // Serialize value to a TypeScript literal.
146
- const valueStr = JSON.stringify(value, null, 4);
147
-
148
- // Generate a unique class name based on the paramName.
149
- const hash = crypto.createHash("sha256").update(paramName).digest("hex");
150
- const className = `BuildParam_${hash.slice(-10)}`;
151
- const fileName = `${className}.ts`;
152
- const filePath = path.join(buildParamsDir, fileName);
153
-
154
- // Ensure buildParams directory exists.
155
- if (!fs.existsSync(buildParamsDir)) {
156
- fs.mkdirSync(buildParamsDir, {
157
- recursive: true
158
- });
159
- }
160
-
161
- // Check if file already exists.
162
- if (!fs.existsSync(filePath)) {
163
- // Create the BuildParam implementation file.
164
- const fileContent = `import { BuildParam } from "webiny/admin/buildParams";
165
-
166
- class ${className} implements BuildParam.Interface {
167
- key = "${paramName}";
168
- value = ${valueStr};
169
- }
170
-
171
- export default BuildParam.createImplementation({
172
- implementation: ${className},
173
- dependencies: []
174
- });
175
- `;
176
- fs.writeFileSync(filePath, fileContent, "utf8");
177
- }
178
-
179
- // Now we need to generate/update the feature file that imports all BuildParams.
180
- await generateBuildParamsFeature(buildParamsDir, ctx);
181
- }
182
- });
183
-
184
- //# sourceMappingURL=AdminBuildParam.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["z","defineExtension","crypto","path","fs","Node","Project","generateBuildParamsFeature","buildParamsDir","ctx","featureFilePath","join","files","readdirSync","filter","f","startsWith","endsWith","imports","map","file","className","parse","name","registrations","featureContent","writeFileSync","updateExtensionsTsx","extensionsTsxFilePath","project","paths","workspaceFolder","toString","addSourceFileAtPath","source","getSourceFileOrThrow","buildParamsFeatureImport","existingFeatureImport","getImportDeclaration","index","importDeclarations","getImportDeclarations","length","last","getChildIndex","insertImportDeclaration","namedImports","moduleSpecifier","buildParamsFeatureImportPath","existingBuildParamsImport","getNamedImports","hasBuildParamsFeature","some","ni","getName","addNamedImport","registerFeatureImportPath","existingRegisterFeatureImport","hasRegisterFeature","extensionsIdentifier","getFirstDescendant","node","isIdentifier","getText","Error","extensionsArrowFn","getNextSibling","isArrowFunction","extensionsArrowFnFragment","isJsxFragment","currentContent","getFullText","replace","trim","includes","newContent","replaceWithText","save","AdminBuildParam","type","tags","runtimeContext","appName","description","multiple","paramsSchema","object","paramName","string","value","union","record","any","array","number","boolean","build","params","valueStr","JSON","stringify","hash","createHash","update","digest","slice","fileName","filePath","existsSync","mkdirSync","recursive","fileContent"],"sources":["AdminBuildParam.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { defineExtension } from \"@webiny/project/defineExtension\";\nimport crypto from \"crypto\";\nimport path from \"path\";\nimport fs from \"fs\";\nimport { Node, Project } from \"ts-morph\";\n\nasync function generateBuildParamsFeature(buildParamsDir: string, ctx: any) {\n const featureFilePath = path.join(buildParamsDir, \"feature.ts\");\n\n // Get all BuildParam_*.ts files.\n const files = fs\n .readdirSync(buildParamsDir)\n .filter(f => f.startsWith(\"BuildParam_\") && f.endsWith(\".ts\") && f !== \"feature.ts\");\n\n // Generate imports and registrations.\n const imports = files\n .map(file => {\n const className = path.parse(file).name;\n return `import ${className} from \"./${className}.js\";`;\n })\n .join(\"\\n\");\n\n const registrations = files\n .map(file => {\n const className = path.parse(file).name;\n return ` container.register(${className});`;\n })\n .join(\"\\n\");\n\n const featureContent = `import { createFeature } from \"@webiny/feature/admin\";\nimport { Container } from \"@webiny/di\";\n${imports}\n\nexport const BuildParamsInternalFeature = createFeature({\n name: \"BuildParamsInternal\",\n register(container: Container) {\n${registrations}\n }\n});\n`;\n\n fs.writeFileSync(featureFilePath, featureContent, \"utf8\");\n\n // Now we need to update Extensions.tsx to use RegisterFeature with this feature.\n await updateExtensionsTsx(ctx);\n}\n\nasync function updateExtensionsTsx(ctx: any) {\n const extensionsTsxFilePath = ctx.project.paths.workspaceFolder\n .join(\"apps\", \"admin\", \"src\", \"Extensions.tsx\")\n .toString();\n\n const project = new Project();\n project.addSourceFileAtPath(extensionsTsxFilePath);\n\n const source = project.getSourceFileOrThrow(extensionsTsxFilePath);\n\n // Check if we already have the imports.\n const buildParamsFeatureImport = \"./buildParams/feature.js\";\n const existingFeatureImport = source.getImportDeclaration(buildParamsFeatureImport);\n\n if (!existingFeatureImport) {\n let index = 1;\n const importDeclarations = source.getImportDeclarations();\n if (importDeclarations.length) {\n const last = importDeclarations[importDeclarations.length - 1];\n index = last.getChildIndex() + 1;\n }\n\n // Add import for BuildParamsInternalFeature.\n source.insertImportDeclaration(index, {\n namedImports: [\"BuildParamsInternalFeature\"],\n moduleSpecifier: buildParamsFeatureImport\n });\n\n // Add import for BuildParamsFeature.\n const buildParamsFeatureImportPath = \"@webiny/app-admin\";\n const existingBuildParamsImport = source.getImportDeclaration(buildParamsFeatureImportPath);\n\n if (!existingBuildParamsImport) {\n source.insertImportDeclaration(index, {\n namedImports: [\"BuildParamsFeature\"],\n moduleSpecifier: buildParamsFeatureImportPath\n });\n } else {\n // Add to existing import if BuildParamsFeature not already there.\n const namedImports = existingBuildParamsImport.getNamedImports();\n const hasBuildParamsFeature = namedImports.some(\n ni => ni.getName() === \"BuildParamsFeature\"\n );\n if (!hasBuildParamsFeature) {\n existingBuildParamsImport.addNamedImport(\"BuildParamsFeature\");\n }\n }\n\n // Add import for RegisterFeature if not present.\n const registerFeatureImportPath = \"@webiny/app-admin\";\n const existingRegisterFeatureImport =\n source.getImportDeclaration(registerFeatureImportPath);\n\n if (existingRegisterFeatureImport) {\n const namedImports = existingRegisterFeatureImport.getNamedImports();\n const hasRegisterFeature = namedImports.some(ni => ni.getName() === \"RegisterFeature\");\n if (!hasRegisterFeature) {\n existingRegisterFeatureImport.addNamedImport(\"RegisterFeature\");\n }\n } else {\n source.insertImportDeclaration(index, {\n namedImports: [\"RegisterFeature\"],\n moduleSpecifier: registerFeatureImportPath\n });\n }\n }\n\n // Now add <RegisterFeature> components to the Extensions component.\n const extensionsIdentifier = source.getFirstDescendant(node => {\n if (!Node.isIdentifier(node)) {\n return false;\n }\n return node.getText() === \"Extensions\";\n });\n\n if (!extensionsIdentifier) {\n throw new Error(\n `Could not find the \"Extensions\" React component in \"${extensionsTsxFilePath}\".`\n );\n }\n\n const extensionsArrowFn = extensionsIdentifier.getNextSibling(node =>\n Node.isArrowFunction(node)\n );\n\n if (!extensionsArrowFn) {\n throw new Error(`Could not find the \"Extensions\" React component arrow function.`);\n }\n\n const extensionsArrowFnFragment = extensionsArrowFn.getFirstDescendant(node => {\n return Node.isJsxFragment(node);\n });\n\n if (!extensionsArrowFnFragment) {\n throw new Error(`Could not find JSX fragment in Extensions component.`);\n }\n\n const currentContent = extensionsArrowFnFragment\n .getFullText()\n .replace(\"<>\", \"\")\n .replace(\"</>\", \"\")\n .trim();\n\n // Check if we already have the RegisterFeature components.\n if (!currentContent.includes(\"BuildParamsFeature\")) {\n const newContent = `<><RegisterFeature feature={BuildParamsFeature} /><RegisterFeature feature={BuildParamsInternalFeature} />${currentContent}</>`;\n extensionsArrowFnFragment.replaceWithText(newContent);\n }\n\n await source.save();\n}\n\nexport const AdminBuildParam = defineExtension({\n type: \"Admin/BuildParam\",\n tags: { runtimeContext: \"app-build\", appName: \"admin\" },\n description: \"Add build-time parameter to Admin app.\",\n multiple: true,\n paramsSchema: () => {\n return z.object({\n paramName: z.string(),\n value: z.union([\n z.string(),\n z.record(z.any()),\n z.array(z.any()),\n z.number(),\n z.boolean()\n ])\n });\n },\n async build(params, ctx) {\n const buildParamsDir = ctx.project.paths.workspaceFolder\n .join(\"apps\", \"admin\", \"src\", \"buildParams\")\n .toString();\n\n const { paramName, value } = params;\n\n // Serialize value to a TypeScript literal.\n const valueStr = JSON.stringify(value, null, 4);\n\n // Generate a unique class name based on the paramName.\n const hash = crypto.createHash(\"sha256\").update(paramName).digest(\"hex\");\n const className = `BuildParam_${hash.slice(-10)}`;\n const fileName = `${className}.ts`;\n const filePath = path.join(buildParamsDir, fileName);\n\n // Ensure buildParams directory exists.\n if (!fs.existsSync(buildParamsDir)) {\n fs.mkdirSync(buildParamsDir, { recursive: true });\n }\n\n // Check if file already exists.\n if (!fs.existsSync(filePath)) {\n // Create the BuildParam implementation file.\n const fileContent = `import { BuildParam } from \"webiny/admin/buildParams\";\n\nclass ${className} implements BuildParam.Interface {\n key = \"${paramName}\";\n value = ${valueStr};\n}\n\nexport default BuildParam.createImplementation({\n implementation: ${className},\n dependencies: []\n});\n`;\n fs.writeFileSync(filePath, fileContent, \"utf8\");\n }\n\n // Now we need to generate/update the feature file that imports all BuildParams.\n await generateBuildParamsFeature(buildParamsDir, ctx);\n }\n});\n"],"mappings":"AAAA,SAASA,CAAC,QAAQ,KAAK;AACvB,SAAS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AAcW,QAAQ;AACtB;AACA;AACA;AACA,sBAAsB7E,SAAS;AAC/B;AACA;AACA,CAAC;MACWjB,EAAE,CAACsB,aAAa,CAACiF,QAAQ,EAAEI,WAAW,EAAE,MAAM,CAAC;IACnD;;IAEA;IACA,MAAMxG,0BAA0B,CAACC,cAAc,EAAEC,GAAG,CAAC;EACzD;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- import { z } from "zod";
2
- export declare const AdminExtension: import("@webiny/project/defineExtension/defineExtension").ExtensionComponent<z.ZodObject<{
3
- src: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
4
- exportName: z.ZodOptional<z.ZodString>;
5
- }, "strip", z.ZodTypeAny, {
6
- src: string;
7
- exportName?: string | undefined;
8
- }, {
9
- src: string;
10
- exportName?: string | undefined;
11
- }>>;
@@ -1,105 +0,0 @@
1
- import { defineExtension, zodSrcPath } from "@webiny/project/extensions/index.js";
2
- import { z } from "zod";
3
- import path from "path";
4
- import { Node, Project } from "ts-morph";
5
- import crypto from "crypto";
6
- export const AdminExtension = defineExtension({
7
- type: "Admin/Extension",
8
- tags: {
9
- runtimeContext: "app-build",
10
- appName: "admin"
11
- },
12
- description: "Extend the Admin application with custom functionality.",
13
- multiple: true,
14
- paramsSchema: ({
15
- project
16
- }) => {
17
- return z.object({
18
- src: zodSrcPath({
19
- project
20
- }),
21
- exportName: z.string().optional()
22
- });
23
- },
24
- async build(params, ctx) {
25
- const extensionsTsxFilePath = ctx.project.paths.workspaceFolder.join("apps", "admin", "src", "Extensions.tsx").toString();
26
- const {
27
- src: extensionFilePath
28
- } = params;
29
-
30
- // Resolve to absolute path for file operations.
31
- let absoluteExtensionFilePath;
32
- if (extensionFilePath.startsWith("/extensions/")) {
33
- // Resolve from project root.
34
- absoluteExtensionFilePath = ctx.project.paths.rootFolder.join(extensionFilePath).toString();
35
- } else {
36
- // Treat as absolute path.
37
- absoluteExtensionFilePath = extensionFilePath;
38
- }
39
- const extensionFileName = path.basename(absoluteExtensionFilePath);
40
-
41
- // Export name can be customized or defaults to the file name without extension.
42
- const exportName = params.exportName ?? path.parse(extensionFileName).name;
43
-
44
- // Generate a constant hash-based component name to avoid using timestamps.
45
- const hash = crypto.createHash("sha256").update(extensionFilePath).digest("hex");
46
- const componentName = `AdminExtension_${hash.slice(-10)}`;
47
- const project = new Project();
48
- const importPath = path.relative(path.dirname(extensionsTsxFilePath), absoluteExtensionFilePath).replace(/\.tsx?$/, ".js");
49
- project.addSourceFileAtPath(extensionsTsxFilePath);
50
- const source = project.getSourceFileOrThrow(extensionsTsxFilePath);
51
- const existingImportDeclaration = source.getImportDeclaration(importPath);
52
- if (existingImportDeclaration) {
53
- return;
54
- }
55
-
56
- // Check if the extension file has a default export or named export
57
- const extensionProject = new Project();
58
- extensionProject.addSourceFileAtPath(absoluteExtensionFilePath);
59
- const extensionSource = extensionProject.getSourceFileOrThrow(absoluteExtensionFilePath);
60
- const hasDefaultExport = extensionSource.getDefaultExportSymbol() !== undefined;
61
- let index = 1;
62
- const importDeclarations = source.getImportDeclarations();
63
- if (importDeclarations.length) {
64
- const last = importDeclarations[importDeclarations.length - 1];
65
- index = last.getChildIndex() + 1;
66
- }
67
-
68
- // Import as default export if available, otherwise import named export
69
- if (hasDefaultExport) {
70
- source.insertImportDeclaration(index, {
71
- defaultImport: componentName,
72
- moduleSpecifier: importPath
73
- });
74
- } else {
75
- source.insertImportDeclaration(index, {
76
- namedImports: [{
77
- name: exportName,
78
- alias: componentName
79
- }],
80
- moduleSpecifier: importPath
81
- });
82
- }
83
- const extensionsIdentifier = source.getFirstDescendant(node => {
84
- if (!Node.isIdentifier(node)) {
85
- return false;
86
- }
87
- return node.getText() === "Extensions";
88
- });
89
- if (!extensionsIdentifier) {
90
- throw new Error(`Could not find the "Extensions" React component in "${extensionsTsxFilePath}". Did you maybe change the name of the component?`);
91
- }
92
- const extensionsArrowFn = extensionsIdentifier.getNextSibling(node => Node.isArrowFunction(node));
93
- if (!extensionsArrowFn) {
94
- throw new Error(`Could not find the "Extensions" React component in "${extensionsTsxFilePath}". Did you maybe change its definition? It should be an arrow function.`);
95
- }
96
- const extensionsArrowFnFragment = extensionsArrowFn.getFirstDescendant(node => {
97
- return Node.isJsxFragment(node);
98
- });
99
- const extensionsArrowFnFragmentChildrenText = extensionsArrowFnFragment.getFullText().replace("<>", "").replace("</>", "").trim();
100
- extensionsArrowFnFragment.replaceWithText(`<><${componentName}/>${extensionsArrowFnFragmentChildrenText}</>`);
101
- await source.save();
102
- }
103
- });
104
-
105
- //# sourceMappingURL=AdminExtension.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["defineExtension","zodSrcPath","z","path","Node","Project","crypto","AdminExtension","type","tags","runtimeContext","appName","description","multiple","paramsSchema","project","object","src","exportName","string","optional","build","params","ctx","extensionsTsxFilePath","paths","workspaceFolder","join","toString","extensionFilePath","absoluteExtensionFilePath","startsWith","rootFolder","extensionFileName","basename","parse","name","hash","createHash","update","digest","componentName","slice","importPath","relative","dirname","replace","addSourceFileAtPath","source","getSourceFileOrThrow","existingImportDeclaration","getImportDeclaration","extensionProject","extensionSource","hasDefaultExport","getDefaultExportSymbol","undefined","index","importDeclarations","getImportDeclarations","length","last","getChildIndex","insertImportDeclaration","defaultImport","moduleSpecifier","namedImports","alias","extensionsIdentifier","getFirstDescendant","node","isIdentifier","getText","Error","extensionsArrowFn","getNextSibling","isArrowFunction","extensionsArrowFnFragment","isJsxFragment","extensionsArrowFnFragmentChildrenText","getFullText","trim","replaceWithText","save"],"sources":["AdminExtension.ts"],"sourcesContent":["import { defineExtension, zodSrcPath } from \"@webiny/project/extensions/index.js\";\nimport { z } from \"zod\";\nimport path from \"path\";\nimport { type JsxFragment, Node, Project } from \"ts-morph\";\nimport crypto from \"crypto\";\n\nexport const AdminExtension = defineExtension({\n type: \"Admin/Extension\",\n tags: { runtimeContext: \"app-build\", appName: \"admin\" },\n description: \"Extend the Admin application with custom functionality.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project }),\n exportName: z.string().optional()\n });\n },\n async build(params, ctx) {\n const extensionsTsxFilePath = ctx.project.paths.workspaceFolder\n .join(\"apps\", \"admin\", \"src\", \"Extensions.tsx\")\n .toString();\n\n const { src: extensionFilePath } = params;\n\n // Resolve to absolute path for file operations.\n let absoluteExtensionFilePath: string;\n if (extensionFilePath.startsWith(\"/extensions/\")) {\n // Resolve from project root.\n absoluteExtensionFilePath = ctx.project.paths.rootFolder\n .join(extensionFilePath)\n .toString();\n } else {\n // Treat as absolute path.\n absoluteExtensionFilePath = extensionFilePath;\n }\n\n const extensionFileName = path.basename(absoluteExtensionFilePath);\n\n // Export name can be customized or defaults to the file name without extension.\n const exportName = params.exportName ?? path.parse(extensionFileName).name;\n\n // Generate a constant hash-based component name to avoid using timestamps.\n const hash = crypto.createHash(\"sha256\").update(extensionFilePath).digest(\"hex\");\n const componentName = `AdminExtension_${hash.slice(-10)}`;\n\n const project = new Project();\n\n const importPath = path\n .relative(path.dirname(extensionsTsxFilePath), absoluteExtensionFilePath)\n .replace(/\\.tsx?$/, \".js\");\n\n project.addSourceFileAtPath(extensionsTsxFilePath);\n\n const source = project.getSourceFileOrThrow(extensionsTsxFilePath);\n\n const existingImportDeclaration = source.getImportDeclaration(importPath);\n if (existingImportDeclaration) {\n return;\n }\n\n // Check if the extension file has a default export or named export\n const extensionProject = new Project();\n extensionProject.addSourceFileAtPath(absoluteExtensionFilePath);\n const extensionSource = extensionProject.getSourceFileOrThrow(absoluteExtensionFilePath);\n const hasDefaultExport = extensionSource.getDefaultExportSymbol() !== undefined;\n\n let index = 1;\n\n const importDeclarations = source.getImportDeclarations();\n if (importDeclarations.length) {\n const last = importDeclarations[importDeclarations.length - 1];\n index = last.getChildIndex() + 1;\n }\n\n // Import as default export if available, otherwise import named export\n if (hasDefaultExport) {\n source.insertImportDeclaration(index, {\n defaultImport: componentName,\n moduleSpecifier: importPath\n });\n } else {\n source.insertImportDeclaration(index, {\n namedImports: [{ name: exportName, alias: componentName }],\n moduleSpecifier: importPath\n });\n }\n\n const extensionsIdentifier = source.getFirstDescendant(node => {\n if (!Node.isIdentifier(node)) {\n return false;\n }\n\n return node.getText() === \"Extensions\";\n });\n\n if (!extensionsIdentifier) {\n throw new Error(\n `Could not find the \"Extensions\" React component in \"${extensionsTsxFilePath}\". Did you maybe change the name of the component?`\n );\n }\n\n const extensionsArrowFn = extensionsIdentifier.getNextSibling(node =>\n Node.isArrowFunction(node)\n );\n if (!extensionsArrowFn) {\n throw new Error(\n `Could not find the \"Extensions\" React component in \"${extensionsTsxFilePath}\". Did you maybe change its definition? It should be an arrow function.`\n );\n }\n\n const extensionsArrowFnFragment = extensionsArrowFn.getFirstDescendant(node => {\n return Node.isJsxFragment(node);\n }) as JsxFragment;\n\n const extensionsArrowFnFragmentChildrenText = extensionsArrowFnFragment\n .getFullText()\n .replace(\"<>\", \"\")\n .replace(\"</>\", \"\")\n .trim();\n\n extensionsArrowFnFragment.replaceWithText(\n `<><${componentName}/>${extensionsArrowFnFragmentChildrenText}</>`\n );\n\n await source.save();\n }\n});\n"],"mappings":"AAAA,SAASA,eAAe,EAAEC,UAAU,QAAQ,qCAAqC;AACjF,SAASC,CAAC,QAAQ,KAAK;AACvB,OAAOC,IAAI,MAAM,MAAM;AACvB,SAA2BC,IAAI,EAAEC,OAAO,QAAQ,UAAU;AAC1D,OAAOC,MAAM,MAAM,QAAQ;AAE3B,OAAO,MAAMC,cAAc,GAAGP,eAAe,CAAC;EAC1CQ,IAAI,EAAE,iBAAiB;EACvBC,IAAI,EAAE;IAAEC,cAAc,EAAE,WAAW;IAAEC,OAAO,EAAE;EAAQ,CAAC;EACvDC,WAAW,EAAE,yDAAyD;EACtEC,QAAQ,EAAE,IAAI;EACdC,YAAY,EAAEA,CAAC;IAAEC;EAAQ,CAAC,KAAK;IAC3B,OAAOb,CAAC,CAACc,MAAM,CAAC;MACZC,GAAG,EAAEhB,UAAU,CAAC;QAAEc;MAAQ,CA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B,kBAAkB,CAACC,IAAI,IAAI;MAC3D,IAAI,CAAClE,IAAI,CAACmE,YAAY,CAACD,IAAI,CAAC,EAAE;QAC1B,OAAO,KAAK;MAChB;MAEA,OAAOA,IAAI,CAACE,OAAO,CAAC,CAAC,KAAK,YAAY;IAC1C,CAAC,CAAC;IAEF,IAAI,CAACJ,oBAAoB,EAAE;MACvB,MAAM,IAAIK,KAAK,CACX,uDAAuDjD,qBAAqB,oDAChF,CAAC;IACL;IAEA,MAAMkD,iBAAiB,GAAGN,oBAAoB,CAACO,cAAc,CAACL,IAAI,IAC9DlE,IAAI,CAACwE,eAAe,CAACN,IAAI,CAC7B,CAAC;IACD,IAAI,CAACI,iBAAiB,EAAE;MACpB,MAAM,IAAID,KAAK,CACX,uDAAuDjD,qBAAqB,yEAChF,CAAC;IACL;IAEA,MAAMqD,yBAAyB,GAAGH,iBAAiB,CAACL,kBAAkB,CAACC,IAAI,IAAI;MAC3E,OAAOlE,IAAI,CAAC0E,aAAa,CAACR,IAAI,CAAC;IACnC,CAAC,CAAgB;IAEjB,MAAMS,qCAAqC,GAAGF,yBAAyB,CAClEG,WAAW,CAAC,CAAC,CACblC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CACjBA,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAClBmC,IAAI,CAAC,CAAC;IAEXJ,yBAAyB,CAACK,eAAe,CACrC,MAAMzC,aAAa,KAAKsC,qCAAqC,KACjE,CAAC;IAED,MAAM/B,MAAM,CAACmC,IAAI,CAAC,CAAC;EACvB;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- import { AdminExtension } from "./AdminExtension.js";
2
- import { AdminBuildParam } from "./AdminBuildParam.js";
3
- export { AdminExtension };
4
- export { AdminBuildParam };
5
- export declare const definitions: (import("@webiny/project/defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
6
- src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
7
- exportName: import("zod").ZodOptional<import("zod").ZodString>;
8
- }, "strip", import("zod").ZodTypeAny, {
9
- src: string;
10
- exportName?: string | undefined;
11
- }, {
12
- src: string;
13
- exportName?: string | undefined;
14
- }>> | import("@webiny/project/defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
15
- paramName: import("zod").ZodString;
16
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>, import("zod").ZodArray<import("zod").ZodAny, "many">, import("zod").ZodNumber, import("zod").ZodBoolean]>;
17
- }, "strip", import("zod").ZodTypeAny, {
18
- value: string | number | boolean | any[] | Record<string, any>;
19
- paramName: string;
20
- }, {
21
- value: string | number | boolean | any[] | Record<string, any>;
22
- paramName: string;
23
- }>>)[];
@@ -1,7 +0,0 @@
1
- import { AdminExtension } from "./AdminExtension.js";
2
- import { AdminBuildParam } from "./AdminBuildParam.js";
3
- export { AdminExtension };
4
- export { AdminBuildParam };
5
- export const definitions = [AdminExtension.def, AdminBuildParam.def];
6
-
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["AdminExtension","AdminBuildParam","definitions","def"],"sources":["index.ts"],"sourcesContent":["import { AdminExtension } from \"./AdminExtension.js\";\nimport { AdminBuildParam } from \"./AdminBuildParam.js\";\n\nexport { AdminExtension };\nexport { AdminBuildParam };\n\nexport const definitions = [AdminExtension.def, AdminBuildParam.def];\n"],"mappings":"AAAA,SAASA,cAAc;AACvB,SAASC,eAAe;AAExB,SAASD,cAAc;AACvB,SAASC,eAAe;AAExB,OAAO,MAAMC,WAAW,GAAG,CAACF,cAAc,CAACG,GAAG,EAAEF,eAAe,CAACE,GAAG,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["BuildParam","BuildParams","BuildParamsImplementation"],"sources":["index.ts"],"sourcesContent":["export { BuildParam, BuildParams } from \"./abstractions.js\";\nexport { BuildParams as BuildParamsImplementation } from \"./BuildParams.js\";\n"],"mappings":"AAAA,SAASA,UAAU,EAAEC,WAAW;AAChC,SAASA,WAAW,IAAIC,yBAAyB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["AuthenticationContext"],"sources":["index.ts"],"sourcesContent":["export { AuthenticationContext } from \"./abstractions.js\";\n"],"mappings":"AAAA,SAASA,qBAAqB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { Identity } from \"~/domain/Identity.js\";\nimport type { Tenant } from \"~/features/tenancy/abstractions.js\";\n\nexport interface IdentityDTO {\n id: string;\n type: string;\n displayName: string;\n profile: Identity.Profile;\n permissions: Identity.Permission[];\n currentTenant: Tenant;\n defaultTenant: Tenant;\n}\n"],"mappings":"","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["IdentityContextFeature","IdentityContext"],"sources":["index.ts"],"sourcesContent":["export { IdentityContextFeature } from \"./feature.js\";\nexport { IdentityContext } from \"./abstractions.js\";\n"],"mappings":"AAAA,SAASA,sBAAsB;AAC/B,SAASC,eAAe","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["LogInUseCase"],"sources":["index.ts"],"sourcesContent":["export { LogInUseCase } from \"./abstractions.js\";\n"],"mappings":"AAAA,SAASA,YAAY","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["LogOutFeature","LogOutUseCase"],"sources":["index.ts"],"sourcesContent":["export { LogOutFeature } from \"./feature.js\";\nexport { LogOutUseCase } from \"./abstractions.js\";\n"],"mappings":"AAAA,SAASA,aAAa;AACtB,SAASC,aAAa","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["TelemetryFeature","TelemetryService"],"sources":["index.ts"],"sourcesContent":["export { TelemetryFeature } from \"./feature.js\";\nexport { TelemetryService } from \"./abstractions.js\";\n"],"mappings":"AAAA,SAASA,gBAAgB;AACzB,SAASC,gBAAgB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["export interface Tenant {\n id: string;\n name: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { WCP_FEATURE_LABEL } from \"@webiny/wcp\";\nimport type { DecryptedWcpProjectLicense } from \"@webiny/wcp/types.js\";\n\n// features/Wcp/types.ts\nexport type WcpProjectData = DecryptedWcpProjectLicense;\n\nexport type WcpFeatureName = keyof typeof WCP_FEATURE_LABEL;\n\nexport interface GetWcpProjectResponse {\n wcp: {\n getProject: {\n data: WcpProjectData | null;\n error: {\n message: string;\n code: string;\n data: any;\n } | null;\n };\n };\n}\n\nexport interface AaclPermission {\n name: \"aacl\";\n legacy: boolean;\n teams: boolean;\n}\n"],"mappings":"","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./useConfirmationDialog.js\";\nexport * from \"./useDialog.js\";\nexport * from \"../components/Dialogs/useDialogs.js\";\nexport * from \"./useSnackbar.js\";\nexport * from \"./useKeyHandler.js\";\nexport * from \"./useShiftKey.js\";\nexport * from \"./useStateWithCallback.js\";\nexport * from \"./useModKey.js\";\nexport * from \"./useIsMounted.js\";\nexport * from \"./useStateIfMounted.js\";\nexport * from \"./useToggler.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"names":["Admin","HasPermission","SecureRoute","FileManager","FileManagerRenderer","SystemInstallerProvider","BuildParamsFeature","useWcp","useTenantContext","useIdentity","useAuthentication","useSecurity"],"sources":["index.ts"],"sourcesContent":["export * from \"@webiny/app\";\nexport type { HigherOrderComponent, ProviderProps, ComposeProps } from \"@webiny/app\";\n// UI components\nexport * from \"./base/ui/Tags.js\";\nexport * from \"./base/ui/Layout.js\";\nexport * from \"./base/ui/TenantSelector.js\";\nexport type { LayoutProps } from \"./base/ui/Layout.js\";\nexport * from \"./base/ui/Navigation.js\";\nexport * from \"./base/ui/Brand.js\";\nexport * from \"./base/ui/Logo.js\";\nexport * from \"./base/ui/UserMenu.js\";\nexport * from \"./base/ui/LoginScreen.js\";\nexport * from \"./base/ui/CenteredView.js\";\nexport * from \"./base/ui/Dashboard.js\";\nexport * from \"./base/ui/NotFound.js\";\n\n// Base admin app\nexport { Admin } from \"./base/Admin.js\";\nexport * from \"./config/AdminConfig.js\";\n\nexport type { AdminProps } from \"./base/Admin.js\";\n\n// Plugins\nexport * from \"./base/plugins/AddGraphQLQuerySelection.js\";\nexport * from \"./plugins/PermissionRendererPlugin.js\";\n\n// Components\nexport * from \"./components/index.js\";\nexport { HasPermission } from \"./presentation/security/components/HasPermission.js\";\nexport { SecureRoute } from \"./presentation/security/components/SecureRoute.js\";\n\nexport { FileManager, FileManagerRenderer } from \"./base/ui/FileManager.js\";\nexport type {\n FileManagerProps,\n FileManagerRendererProps,\n FileManagerFileItem,\n FileManagerOnChange\n} from \"./base/ui/FileManager.js\";\n\nexport { SystemInstallerProvider } from \"./presentation/installation/components/SystemInstaller/index.js\";\n\n// Feature types\nexport type { AaclPermission } from \"./features/wcp/types.js\";\nexport type { Tenant } from \"./features/tenancy/types.js\";\n\n// Features\nexport { BuildParamsFeature } from \"./features/buildParams/feature.js\";\n\n// Hooks\nexport * from \"./hooks/index.js\";\nexport { useWcp } from \"./presentation/wcp/useWcp.js\";\nexport { useTenantContext } from \"./presentation/tenancy/useTenantContext.js\";\nexport { useIdentity } from \"./presentation/security/hooks/useIdentity.js\";\nexport { useAuthentication } from \"./presentation/security/hooks/useAuthentication.js\";\n// Legacy hook for easier migration\nexport { useSecurity } from \"./presentation/security/hooks/useSecurity.js\";\n\nexport * from \"@webiny/app/renderApp.js\";\n"],"mappings":"AAAA,cAAc,aAAa;AAE3B;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAASA,KAAK;AACd;AAIA;AACA;AACA;;AAEA;AACA;AACA,SAASC,aAAa;AACtB,SAASC,WAAW;AAEpB,SAASC,WAAW,EAAEC,mBAAmB;AAQzC,SAASC,uBAAuB;;AAEhC;;AAIA;AACA,SAASC,kBAAkB;;AAE3B;AACA;AACA,SAASC,MAAM;AACf,SAASC,gBAAgB;AACzB,SAASC,WAAW;AACpB,SAASC,iBAAiB;AAC1B;AACA,SAASC,WAAW;AAEpB,cAAc,0BAA0B","ignoreList":[]}
@@ -1,22 +0,0 @@
1
- import type React from "react";
2
- import { Plugin } from "@webiny/plugins";
3
- interface Permission {
4
- name: string;
5
- [key: string]: any;
6
- }
7
- interface RenderParams {
8
- value: Permission[];
9
- onChange: (value: Permission[]) => void;
10
- }
11
- interface Config {
12
- render(props: RenderParams): React.ReactElement;
13
- system?: boolean;
14
- }
15
- export declare class PermissionRendererPlugin extends Plugin {
16
- static readonly type: string;
17
- private readonly _config;
18
- constructor(config?: Config);
19
- get system(): boolean;
20
- render(props: RenderParams): React.ReactElement | null;
21
- }
22
- export {};
@@ -1,19 +0,0 @@
1
- import { Plugin } from "@webiny/plugins";
2
- export class PermissionRendererPlugin extends Plugin {
3
- static type = "admin-app-permissions-renderer";
4
- constructor(config) {
5
- super();
6
- this._config = config || {};
7
- }
8
- get system() {
9
- return Boolean(this._config.system);
10
- }
11
- render(props) {
12
- if (!this._config.render) {
13
- return null;
14
- }
15
- return this._config.render(props);
16
- }
17
- }
18
-
19
- //# sourceMappingURL=PermissionRendererPlugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Plugin","PermissionRendererPlugin","type","constructor","config","_config","system","Boolean","render","props"],"sources":["PermissionRendererPlugin.ts"],"sourcesContent":["import type React from \"react\";\nimport { Plugin } from \"@webiny/plugins\";\n\ninterface Permission {\n name: string;\n [key: string]: any;\n}\n\ninterface RenderParams {\n value: Permission[];\n onChange: (value: Permission[]) => void;\n}\n\ninterface Config {\n render(props: RenderParams): React.ReactElement;\n system?: boolean;\n}\n\nexport class PermissionRendererPlugin extends Plugin {\n public static override readonly type: string = \"admin-app-permissions-renderer\";\n private readonly _config: Partial<Config>;\n\n public constructor(config?: Config) {\n super();\n this._config = config || {};\n }\n\n get system(): boolean {\n return Boolean(this._config.system);\n }\n\n public render(props: RenderParams): React.ReactElement | null {\n if (!this._config.render) {\n return null;\n }\n return this._config.render(props);\n }\n}\n"],"mappings":"AACA,SAASA,MAAM,QAAQ,iBAAiB;AAiBxC,OAAO,MAAMC,wBAAwB,SAASD,MAAM,CAAC;EACjD,OAAgCE,IAAI,GAAW,gCAAgC;EAGxEC,WAAWA,CAACC,MAAe,EAAE;IAChC,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,OAAO,GAAGD,MAAM,IAAI,CAAC,CAAC;EAC/B;EAEA,IAAIE,MAAMA,CAAA,EAAY;IAClB,OAAOC,OAAO,CAAC,IAAI,CAACF,OAAO,CAACC,MAAM,CAAC;EACvC;EAEOE,MAAMA,CAACC,KAAmB,EAA6B;IAC1D,IAAI,CAAC,IAAI,CAACJ,OAAO,CAACG,MAAM,EAAE;MACtB,OAAO,IAAI;IACf;IACA,OAAO,IAAI,CAACH,OAAO,CAACG,MAAM,CAACC,KAAK,CAAC;EACrC;AACJ","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["SystemInstallerProvider"],"sources":["index.ts"],"sourcesContent":["export { SystemInstallerProvider } from \"./SystemInstallerProvider.js\";\n"],"mappings":"AAAA,SAASA,uBAAuB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["SystemInstallerFeature","SystemInstallerPresenter"],"sources":["index.ts"],"sourcesContent":["export { SystemInstallerFeature } from \"./feature.js\";\nexport { SystemInstallerPresenter } from \"./abstractions.js\";\nexport type { SystemInstallerViewModel } from \"./abstractions.js\";\n"],"mappings":"AAAA,SAASA,sBAAsB;AAC/B,SAASC,wBAAwB","ignoreList":[]}
package/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { ReactElement } from \"react\";\nimport type { Plugin } from \"@webiny/plugins/types.js\";\nimport { Identity } from \"~/domain/Identity.js\";\n\nexport type { Icon } from \"~/components/IconPicker/types.js\";\n\nexport type AdminAppPermissionRendererPlugin = Plugin & {\n type: \"admin-app-permissions-renderer\";\n system?: boolean;\n render(params: any): ReactElement;\n};\n\nexport interface FileManagerSecurityPermission extends Identity.Permission {\n rwd?: string;\n own?: boolean;\n}\n\nexport type ComponentWithChildren = React.ComponentType<{ children?: React.ReactNode }>;\n"],"mappings":"","ignoreList":[]}