@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
@@ -0,0 +1,347 @@
1
+ import { computed, makeAutoObservable, runInAction } from "mobx";
2
+ class Field {
3
+ constructor(config){
4
+ this._validation = {
5
+ isValid: null
6
+ };
7
+ this._beforeChangeCallbacks = [];
8
+ this._afterChangeCallbacks = [];
9
+ this._afterSetValueCallbacks = [];
10
+ this._onBlurCallbacks = [];
11
+ this._requiredWhenCallbacks = [];
12
+ this._hiddenWhenCallbacks = [];
13
+ this._computed = null;
14
+ this._computedUntilDirty = null;
15
+ this._computedOverridden = false;
16
+ this._validating = false;
17
+ this._validationCacheKey = void 0;
18
+ this._validationCache = void 0;
19
+ this._isUIChange = false;
20
+ this._focusRequested = false;
21
+ this._qualifiedName = "";
22
+ this._form = null;
23
+ this._ancestorRules = [];
24
+ this.config = config;
25
+ this._qualifiedName = config.name;
26
+ const defaultValue = "function" == typeof config.defaultValue ? config.defaultValue() : config.defaultValue;
27
+ this._value = defaultValue ?? (config.isList ? [] : null);
28
+ this._disabled = config.disabled;
29
+ this._hidden = config.hidden;
30
+ if (config.beforeChangeCallbacks) this._beforeChangeCallbacks = [
31
+ ...config.beforeChangeCallbacks
32
+ ];
33
+ if (config.afterChangeCallbacks) this._afterChangeCallbacks = [
34
+ ...config.afterChangeCallbacks
35
+ ];
36
+ if (config.afterSetValueCallbacks) this._afterSetValueCallbacks = [
37
+ ...config.afterSetValueCallbacks
38
+ ];
39
+ if (config.onBlurCallbacks) this._onBlurCallbacks = [
40
+ ...config.onBlurCallbacks
41
+ ];
42
+ if (config.requiredWhenCallbacks) this._requiredWhenCallbacks = [
43
+ ...config.requiredWhenCallbacks
44
+ ];
45
+ if (config.hiddenWhenCallbacks) this._hiddenWhenCallbacks = [
46
+ ...config.hiddenWhenCallbacks
47
+ ];
48
+ if (config.computed) this._computed = config.computed;
49
+ else if (config.computedUntilDirty) this._computedUntilDirty = config.computedUntilDirty;
50
+ makeAutoObservable(this, {
51
+ config: false,
52
+ vm: computed
53
+ });
54
+ }
55
+ get name() {
56
+ return this.config.name;
57
+ }
58
+ get type() {
59
+ return this.config.type;
60
+ }
61
+ getValue() {
62
+ if (this._computed && this._form) return this._computed(this._form);
63
+ if (this._computedUntilDirty && !this._computedOverridden && this._form) return this._computedUntilDirty(this._form);
64
+ return this._value;
65
+ }
66
+ setValue(raw) {
67
+ let transformed = this.config.normalizeValue ? this._applyNormalizeValue(raw, this.config.normalizeValue) : raw;
68
+ for (const cb of this._beforeChangeCallbacks)transformed = cb(transformed, this._form);
69
+ if (transformed === this._value) return;
70
+ const wasComputed = this._computedUntilDirty && !this._computedOverridden && this._form;
71
+ const computedValue = wasComputed ? this._computedUntilDirty(this._form) : void 0;
72
+ this._value = transformed;
73
+ if (this._computedUntilDirty && this._isUIChange) {
74
+ if (!wasComputed || transformed !== computedValue) this._computedOverridden = true;
75
+ }
76
+ for (const cb of this._afterChangeCallbacks)cb(transformed, this._form);
77
+ if (!this._isUIChange) for (const cb of this._afterSetValueCallbacks)cb(transformed, this._form);
78
+ }
79
+ setValueSilent(value) {
80
+ const parsed = this.config.normalizeValue ? this._applyNormalizeValue(value, this.config.normalizeValue) : value;
81
+ this._value = parsed;
82
+ if (this._computedUntilDirty) this._computedOverridden = null != parsed;
83
+ }
84
+ setDisabled(value) {
85
+ this._disabled = value;
86
+ }
87
+ _evaluateRules() {
88
+ if (!this._form) return {
89
+ visible: true,
90
+ disabled: false
91
+ };
92
+ const own = this.config.rules ?? [];
93
+ const all = [
94
+ ...this._ancestorRules,
95
+ ...own
96
+ ];
97
+ if (0 === all.length) return {
98
+ visible: true,
99
+ disabled: false
100
+ };
101
+ return this._form.evaluateRules(all);
102
+ }
103
+ get visible() {
104
+ if (this._hidden) return false;
105
+ if (this._form && this._hiddenWhenCallbacks.length > 0) {
106
+ for (const cb of this._hiddenWhenCallbacks)if (cb(this._form)) return false;
107
+ }
108
+ return this._evaluateRules().visible;
109
+ }
110
+ get disabled() {
111
+ if (this._disabled) return true;
112
+ return this._evaluateRules().disabled;
113
+ }
114
+ setVisible(value) {
115
+ this._hidden = !value;
116
+ }
117
+ setAncestorRules(rules) {
118
+ runInAction(()=>{
119
+ this._ancestorRules = rules;
120
+ });
121
+ }
122
+ setValidation(validation) {
123
+ this._validation = validation;
124
+ }
125
+ resetValidation() {
126
+ this._validation = {
127
+ isValid: null
128
+ };
129
+ this._validationCacheKey = void 0;
130
+ this._validationCache = void 0;
131
+ }
132
+ addBeforeChange(cb) {
133
+ this._beforeChangeCallbacks.push(cb);
134
+ }
135
+ addAfterChange(cb) {
136
+ this._afterChangeCallbacks.push(cb);
137
+ }
138
+ addAfterSetValue(cb) {
139
+ this._afterSetValueCallbacks.push(cb);
140
+ }
141
+ addOnBlur(cb) {
142
+ this._onBlurCallbacks.push(cb);
143
+ }
144
+ addRequiredWhen(fn, message) {
145
+ this._requiredWhenCallbacks.push({
146
+ fn,
147
+ message
148
+ });
149
+ }
150
+ setComputed(fn) {
151
+ this._computed = fn;
152
+ this._computedUntilDirty = null;
153
+ this._computedOverridden = false;
154
+ }
155
+ setComputedUntilDirty(fn) {
156
+ this._computedUntilDirty = fn;
157
+ this._computed = null;
158
+ this._computedOverridden = false;
159
+ }
160
+ resolveRequired() {
161
+ return this._resolveRequired();
162
+ }
163
+ _resolveRequired() {
164
+ if (this.config.required) return {
165
+ required: true,
166
+ message: this.config.requiredMessage
167
+ };
168
+ if (this._form && this._requiredWhenCallbacks.length > 0) {
169
+ for (const cb of this._requiredWhenCallbacks)if (cb.fn(this._form)) return {
170
+ required: true,
171
+ message: cb.message
172
+ };
173
+ }
174
+ return {
175
+ required: false
176
+ };
177
+ }
178
+ blur() {
179
+ for (const cb of this._onBlurCallbacks)cb(this._value, this._form);
180
+ }
181
+ setForm(form, parentPath) {
182
+ this._form = form;
183
+ this._qualifiedName = parentPath ? `${parentPath}.${this.config.name}` : this.config.name;
184
+ }
185
+ get qualifiedName() {
186
+ return this._qualifiedName;
187
+ }
188
+ focus() {
189
+ if (!this._form) throw new Error(`Field "${this.config.name}" is not attached to a form.`);
190
+ this._form.focusField(this._qualifiedName);
191
+ }
192
+ requestFocus() {
193
+ this._focusRequested = true;
194
+ }
195
+ clearFocusRequest() {
196
+ this._focusRequested = false;
197
+ }
198
+ as(type) {
199
+ if (this.config.type !== type) throw new Error(`Field "${this.config.name}" is type "${this.config.type}", not "${type}".`);
200
+ return this;
201
+ }
202
+ remove() {
203
+ if (!this._form) throw new Error(`Field "${this.config.name}" is not attached to a form.`);
204
+ this._form.removeField(this.config.name);
205
+ }
206
+ get vm() {
207
+ const options = this._resolveOptions();
208
+ const required = this._resolveRequired().required;
209
+ return {
210
+ name: this.config.name,
211
+ type: this.config.type,
212
+ label: this.config.label,
213
+ help: this.config.help,
214
+ description: this.config.description,
215
+ note: this.config.note,
216
+ placeholder: this.config.placeholder,
217
+ value: this.getValue(),
218
+ validation: this._validation,
219
+ validating: this._validating,
220
+ required,
221
+ visible: this.visible,
222
+ disabled: this.disabled,
223
+ renderer: this.config.renderer,
224
+ rendererSettings: this.config.rendererSettings,
225
+ isList: !!this.config.isList,
226
+ options,
227
+ onChange: (value)=>this._setValueFromUI(value),
228
+ onBlur: ()=>{
229
+ if (this._form?.submitted) this.validate();
230
+ this.blur();
231
+ },
232
+ addItem: (value)=>this._addItem(value),
233
+ removeItem: (index)=>this._removeItem(index),
234
+ focusRequested: this._focusRequested,
235
+ clearFocusRequest: ()=>this.clearFocusRequest()
236
+ };
237
+ }
238
+ _setValueFromUI(value) {
239
+ this._isUIChange = true;
240
+ try {
241
+ this.setValue(value);
242
+ } finally{
243
+ this._isUIChange = false;
244
+ }
245
+ }
246
+ _applyNormalizeValue(value, normalizeValue) {
247
+ if (this.config.isList && Array.isArray(value)) return value.map((item)=>normalizeValue(item));
248
+ return normalizeValue(value);
249
+ }
250
+ _addItem(value) {
251
+ const current = Array.isArray(this._value) ? this._value : [];
252
+ this._setValueFromUI([
253
+ ...current,
254
+ value ?? null
255
+ ]);
256
+ }
257
+ _removeItem(index) {
258
+ const current = Array.isArray(this._value) ? this._value : [];
259
+ this._setValueFromUI(current.filter((_, i)=>i !== index));
260
+ }
261
+ _resolveOptions() {
262
+ if (!this.config.options) return;
263
+ if ("function" == typeof this.config.options) return this.config.options(this._form);
264
+ return this.config.options;
265
+ }
266
+ async validate(options) {
267
+ if (!this.visible) {
268
+ runInAction(()=>{
269
+ this._validation = {
270
+ isValid: null
271
+ };
272
+ });
273
+ return true;
274
+ }
275
+ const effectiveValue = this.getValue();
276
+ if (!options?.force && void 0 !== this._validationCache) {
277
+ const cacheKey = this._serializeValue(effectiveValue);
278
+ if (this._validationCacheKey === cacheKey) return this._validationCache;
279
+ }
280
+ runInAction(()=>{
281
+ this._validating = true;
282
+ });
283
+ try {
284
+ const requiredState = this._resolveRequired();
285
+ if (requiredState.required) {
286
+ const isEmpty = null == effectiveValue || "" === effectiveValue || this.config.isList && Array.isArray(effectiveValue) && 0 === effectiveValue.length;
287
+ if (isEmpty) {
288
+ const cacheKey = this._serializeValue(effectiveValue);
289
+ runInAction(()=>{
290
+ this._validation = {
291
+ isValid: false,
292
+ message: requiredState.message || "This field is required."
293
+ };
294
+ this._validationCacheKey = cacheKey;
295
+ this._validationCache = false;
296
+ });
297
+ return false;
298
+ }
299
+ }
300
+ if (this.config.schema) {
301
+ const result = await this.config.schema.safeParseAsync(effectiveValue);
302
+ if (!result.success) {
303
+ const firstIssue = result.error.issues[0];
304
+ const cacheKey = this._serializeValue(effectiveValue);
305
+ runInAction(()=>{
306
+ this._validation = {
307
+ isValid: false,
308
+ message: firstIssue?.message || "Invalid value."
309
+ };
310
+ this._validationCacheKey = cacheKey;
311
+ this._validationCache = false;
312
+ });
313
+ return false;
314
+ }
315
+ }
316
+ const cacheKey = this._serializeValue(effectiveValue);
317
+ runInAction(()=>{
318
+ this._validation = {
319
+ isValid: true
320
+ };
321
+ this._validationCacheKey = cacheKey;
322
+ this._validationCache = true;
323
+ });
324
+ return true;
325
+ } finally{
326
+ runInAction(()=>{
327
+ this._validating = false;
328
+ });
329
+ }
330
+ }
331
+ _serializeValue(value) {
332
+ try {
333
+ return JSON.stringify(value);
334
+ } catch {
335
+ return String(Math.random());
336
+ }
337
+ }
338
+ get isComputed() {
339
+ return null !== this._computed || null !== this._computedUntilDirty;
340
+ }
341
+ get isComputedOverridden() {
342
+ return this._computedOverridden;
343
+ }
344
+ }
345
+ export { Field };
346
+
347
+ //# sourceMappingURL=Field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features/formModel/Field.js","sources":["../../../src/features/formModel/Field.ts"],"sourcesContent":["import { makeAutoObservable, computed, runInAction } from \"mobx\";\nimport type {\n IFieldConfig,\n IFieldVM,\n IFieldValidation,\n IValueOption,\n IFormModel,\n IField,\n IRule,\n FieldTypeMap,\n BeforeChangeCallback,\n AfterChangeCallback,\n AfterSetValueCallback,\n OnBlurCallback,\n RequiredWhenCallback,\n HiddenWhenCallback,\n ComputedFieldCallback\n} from \"./abstractions.js\";\n\n/**\n * Runtime observable field. Holds value, validation state, and exposes a VM for renderers.\n */\nexport class Field implements IField {\n private _value: unknown;\n private _validation: IFieldValidation = { isValid: null };\n private _disabled: boolean;\n private _hidden: boolean;\n private _beforeChangeCallbacks: BeforeChangeCallback[] = [];\n private _afterChangeCallbacks: AfterChangeCallback[] = [];\n private _afterSetValueCallbacks: AfterSetValueCallback[] = [];\n private _onBlurCallbacks: OnBlurCallback[] = [];\n private _requiredWhenCallbacks: RequiredWhenCallback[] = [];\n private _hiddenWhenCallbacks: HiddenWhenCallback[] = [];\n private _computed: ComputedFieldCallback | null = null;\n private _computedUntilDirty: ComputedFieldCallback | null = null;\n /** Set once a computedUntilDirty field receives its first user edit. */\n private _computedOverridden = false;\n private _validating = false;\n private _validationCacheKey: string | undefined = undefined;\n private _validationCache: boolean | undefined = undefined;\n private _isUIChange = false;\n private _focusRequested = false;\n private _qualifiedName: string = \"\";\n private _form: IFormModel | null = null;\n private _ancestorRules: IRule[] = [];\n\n readonly config: IFieldConfig;\n\n constructor(config: IFieldConfig) {\n this.config = config;\n this._qualifiedName = config.name;\n const defaultValue =\n typeof config.defaultValue === \"function\"\n ? (config.defaultValue as () => unknown)()\n : config.defaultValue;\n this._value = defaultValue ?? (config.isList ? [] : null);\n this._disabled = config.disabled;\n this._hidden = config.hidden;\n\n if (config.beforeChangeCallbacks) {\n this._beforeChangeCallbacks = [...config.beforeChangeCallbacks];\n }\n if (config.afterChangeCallbacks) {\n this._afterChangeCallbacks = [...config.afterChangeCallbacks];\n }\n if (config.afterSetValueCallbacks) {\n this._afterSetValueCallbacks = [...config.afterSetValueCallbacks];\n }\n if (config.onBlurCallbacks) {\n this._onBlurCallbacks = [...config.onBlurCallbacks];\n }\n if (config.requiredWhenCallbacks) {\n this._requiredWhenCallbacks = [...config.requiredWhenCallbacks];\n }\n if (config.hiddenWhenCallbacks) {\n this._hiddenWhenCallbacks = [...config.hiddenWhenCallbacks];\n }\n if (config.computed) {\n this._computed = config.computed;\n } else if (config.computedUntilDirty) {\n this._computedUntilDirty = config.computedUntilDirty;\n }\n\n makeAutoObservable(this, {\n config: false,\n vm: computed\n });\n }\n\n get name(): string {\n return this.config.name;\n }\n\n get type(): string {\n return this.config.type;\n }\n\n getValue<T = unknown>(): T {\n if (this._computed && this._form) {\n return this._computed(this._form) as T;\n }\n if (this._computedUntilDirty && !this._computedOverridden && this._form) {\n return this._computedUntilDirty(this._form) as T;\n }\n return this._value as T;\n }\n\n /**\n * Set value with beforeChange/afterChange pipeline.\n * beforeChange always runs (pure transform).\n * afterChange only fires when value actually changed.\n */\n setValue(raw: unknown): void {\n let transformed = this.config.normalizeValue\n ? this._applyNormalizeValue(raw, this.config.normalizeValue)\n : raw;\n for (const cb of this._beforeChangeCallbacks) {\n transformed = cb(transformed, this._form!);\n }\n\n if (transformed === this._value) {\n return;\n }\n\n const wasComputed = this._computedUntilDirty && !this._computedOverridden && this._form;\n const computedValue = wasComputed ? this._computedUntilDirty!(this._form!) : undefined;\n\n this._value = transformed;\n if (this._computedUntilDirty && this._isUIChange) {\n if (!wasComputed || transformed !== computedValue) {\n this._computedOverridden = true;\n }\n }\n\n for (const cb of this._afterChangeCallbacks) {\n cb(transformed, this._form!);\n }\n\n if (!this._isUIChange) {\n for (const cb of this._afterSetValueCallbacks) {\n cb(transformed, this._form!);\n }\n }\n }\n\n /**\n * Set value directly without running pipelines. Used by setData() and reset().\n */\n setValueSilent(value: unknown): void {\n const parsed = this.config.normalizeValue\n ? this._applyNormalizeValue(value, this.config.normalizeValue)\n : value;\n this._value = parsed;\n if (this._computedUntilDirty) {\n this._computedOverridden = parsed !== null && parsed !== undefined;\n }\n }\n\n setDisabled(value: boolean): void {\n this._disabled = value;\n }\n\n private _evaluateRules(): { visible: boolean; disabled: boolean } {\n if (!this._form) {\n return { visible: true, disabled: false };\n }\n const own = this.config.rules ?? [];\n const all = [...this._ancestorRules, ...own];\n if (all.length === 0) {\n return { visible: true, disabled: false };\n }\n return this._form.evaluateRules(all);\n }\n\n get visible(): boolean {\n if (this._hidden) {\n return false;\n }\n if (this._form && this._hiddenWhenCallbacks.length > 0) {\n for (const cb of this._hiddenWhenCallbacks) {\n if (cb(this._form)) {\n return false;\n }\n }\n }\n return this._evaluateRules().visible;\n }\n\n get disabled(): boolean {\n if (this._disabled) {\n return true;\n }\n return this._evaluateRules().disabled;\n }\n\n setVisible(value: boolean): void {\n this._hidden = !value;\n }\n\n setAncestorRules(rules: IRule[]): void {\n runInAction(() => {\n this._ancestorRules = rules;\n });\n }\n\n setValidation(validation: IFieldValidation): void {\n this._validation = validation;\n }\n\n resetValidation(): void {\n this._validation = { isValid: null };\n this._validationCacheKey = undefined;\n this._validationCache = undefined;\n }\n\n addBeforeChange(cb: BeforeChangeCallback): void {\n this._beforeChangeCallbacks.push(cb);\n }\n\n addAfterChange(cb: AfterChangeCallback): void {\n this._afterChangeCallbacks.push(cb);\n }\n\n addAfterSetValue(cb: AfterSetValueCallback): void {\n this._afterSetValueCallbacks.push(cb);\n }\n\n addOnBlur(cb: OnBlurCallback): void {\n this._onBlurCallbacks.push(cb);\n }\n\n addRequiredWhen(fn: (form: IFormModel) => boolean, message?: string): void {\n this._requiredWhenCallbacks.push({ fn, message });\n }\n\n setComputed(fn: ComputedFieldCallback): void {\n this._computed = fn;\n this._computedUntilDirty = null;\n this._computedOverridden = false;\n }\n\n setComputedUntilDirty(fn: ComputedFieldCallback): void {\n this._computedUntilDirty = fn;\n this._computed = null;\n this._computedOverridden = false;\n }\n\n /**\n * Effective `required` state — true if the built-in `.required()` flag is\n * set, or if any `requiredWhen()` callback returns `true` for the current\n * form state. The first truthy callback wins; its message is used.\n */\n resolveRequired(): { required: boolean; message?: string } {\n return this._resolveRequired();\n }\n\n private _resolveRequired(): { required: boolean; message?: string } {\n if (this.config.required) {\n return { required: true, message: this.config.requiredMessage };\n }\n if (this._form && this._requiredWhenCallbacks.length > 0) {\n for (const cb of this._requiredWhenCallbacks) {\n if (cb.fn(this._form)) {\n return { required: true, message: cb.message };\n }\n }\n }\n return { required: false };\n }\n\n blur(): void {\n for (const cb of this._onBlurCallbacks) {\n cb(this._value, this._form!);\n }\n }\n\n setForm(form: IFormModel, parentPath?: string): void {\n this._form = form;\n this._qualifiedName = parentPath ? `${parentPath}.${this.config.name}` : this.config.name;\n }\n\n get qualifiedName(): string {\n return this._qualifiedName;\n }\n\n focus(): void {\n if (!this._form) {\n throw new Error(`Field \"${this.config.name}\" is not attached to a form.`);\n }\n this._form.focusField(this._qualifiedName);\n }\n\n requestFocus(): void {\n this._focusRequested = true;\n }\n\n clearFocusRequest(): void {\n this._focusRequested = false;\n }\n\n as<T extends keyof FieldTypeMap>(type: T): FieldTypeMap[T] {\n if (this.config.type !== type) {\n throw new Error(\n `Field \"${this.config.name}\" is type \"${this.config.type}\", not \"${type}\".`\n );\n }\n return this as unknown as FieldTypeMap[T];\n }\n\n remove(): void {\n if (!this._form) {\n throw new Error(`Field \"${this.config.name}\" is not attached to a form.`);\n }\n (this._form as any).removeField(this.config.name);\n }\n\n get vm(): IFieldVM {\n const options = this._resolveOptions();\n const required = this._resolveRequired().required;\n\n return {\n name: this.config.name,\n type: this.config.type,\n label: this.config.label,\n help: this.config.help,\n description: this.config.description,\n note: this.config.note,\n placeholder: this.config.placeholder,\n value: this.getValue(),\n validation: this._validation,\n validating: this._validating,\n required,\n visible: this.visible,\n disabled: this.disabled,\n renderer: this.config.renderer,\n rendererSettings: this.config.rendererSettings,\n isList: !!this.config.isList,\n options,\n onChange: (value: unknown) => this._setValueFromUI(value),\n onBlur: () => {\n if (this._form?.submitted) {\n void this.validate();\n }\n this.blur();\n },\n addItem: (value?: unknown) => this._addItem(value),\n removeItem: (index: number) => this._removeItem(index),\n focusRequested: this._focusRequested,\n clearFocusRequest: () => this.clearFocusRequest()\n };\n }\n\n private _setValueFromUI(value: unknown): void {\n this._isUIChange = true;\n try {\n this.setValue(value);\n } finally {\n this._isUIChange = false;\n }\n }\n\n private _applyNormalizeValue(value: unknown, normalizeValue: (v: unknown) => unknown): unknown {\n if (this.config.isList && Array.isArray(value)) {\n return value.map(item => normalizeValue(item));\n }\n return normalizeValue(value);\n }\n\n private _addItem(value?: unknown): void {\n const current = Array.isArray(this._value) ? this._value : [];\n this._setValueFromUI([...current, value ?? null]);\n }\n\n private _removeItem(index: number): void {\n const current = Array.isArray(this._value) ? this._value : [];\n this._setValueFromUI(current.filter((_: unknown, i: number) => i !== index));\n }\n\n private _resolveOptions(): IValueOption[] | undefined {\n if (!this.config.options) {\n return undefined;\n }\n if (typeof this.config.options === \"function\") {\n return this.config.options(this._form!);\n }\n return this.config.options;\n }\n\n /**\n * Validate this field. Returns true if valid.\n * Validation order: required check → zod schema.\n * Hidden fields are excluded from validation.\n *\n * Pass `{ force: true }` to bypass the memoization cache (used by\n * `form.validate()` / `form.submit()`). Blur-triggered validation\n * omits the flag so unchanged values return the cached result.\n */\n async validate(options?: { force?: boolean }): Promise<boolean> {\n if (!this.visible) {\n runInAction(() => {\n this._validation = { isValid: null };\n });\n return true;\n }\n\n const effectiveValue = this.getValue();\n\n // Memoization: return cached result when value hasn't changed.\n if (!options?.force && this._validationCache !== undefined) {\n const cacheKey = this._serializeValue(effectiveValue);\n if (this._validationCacheKey === cacheKey) {\n return this._validationCache;\n }\n }\n\n runInAction(() => {\n this._validating = true;\n });\n\n try {\n const requiredState = this._resolveRequired();\n\n // Required check\n if (requiredState.required) {\n const isEmpty =\n effectiveValue === null ||\n effectiveValue === undefined ||\n effectiveValue === \"\" ||\n (this.config.isList &&\n Array.isArray(effectiveValue) &&\n effectiveValue.length === 0);\n\n if (isEmpty) {\n const cacheKey = this._serializeValue(effectiveValue);\n runInAction(() => {\n this._validation = {\n isValid: false,\n message: requiredState.message || \"This field is required.\"\n };\n this._validationCacheKey = cacheKey;\n this._validationCache = false;\n });\n return false;\n }\n }\n\n // Zod schema check\n if (this.config.schema) {\n const result = await this.config.schema.safeParseAsync(effectiveValue);\n if (!result.success) {\n const firstIssue = result.error.issues[0];\n const cacheKey = this._serializeValue(effectiveValue);\n runInAction(() => {\n this._validation = {\n isValid: false,\n message: firstIssue?.message || \"Invalid value.\"\n };\n this._validationCacheKey = cacheKey;\n this._validationCache = false;\n });\n return false;\n }\n }\n\n const cacheKey = this._serializeValue(effectiveValue);\n runInAction(() => {\n this._validation = { isValid: true };\n this._validationCacheKey = cacheKey;\n this._validationCache = true;\n });\n return true;\n } finally {\n runInAction(() => {\n this._validating = false;\n });\n }\n }\n\n private _serializeValue(value: unknown): string {\n try {\n return JSON.stringify(value);\n } catch {\n return String(Math.random());\n }\n }\n\n /** True if this field has any computed callback configured. */\n get isComputed(): boolean {\n return this._computed !== null || this._computedUntilDirty !== null;\n }\n\n /** True if a computedUntilDirty field has been overridden by user edit. */\n get isComputedOverridden(): boolean {\n return this._computedOverridden;\n }\n}\n"],"names":["Field","config","undefined","defaultValue","makeAutoObservable","computed","raw","transformed","cb","wasComputed","computedValue","value","parsed","own","all","rules","runInAction","validation","fn","message","form","parentPath","Error","type","options","required","index","normalizeValue","Array","item","current","_","i","effectiveValue","cacheKey","requiredState","isEmpty","result","firstIssue","JSON","String","Math"],"mappings":";AAsBO,MAAMA;IA0BT,YAAYC,MAAoB,CAAE;aAxB1B,WAAW,GAAqB;YAAE,SAAS;QAAK;aAGhD,sBAAsB,GAA2B,EAAE;aACnD,qBAAqB,GAA0B,EAAE;aACjD,uBAAuB,GAA4B,EAAE;aACrD,gBAAgB,GAAqB,EAAE;aACvC,sBAAsB,GAA2B,EAAE;aACnD,oBAAoB,GAAyB,EAAE;aAC/C,SAAS,GAAiC;aAC1C,mBAAmB,GAAiC;QACU,KAC9D,mBAAmB,GAAG;aACtB,WAAW,GAAG;aACd,mBAAmB,GAAuBC;aAC1C,gBAA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BAAmB,GAAGkB;gBAC3B,IAAI,CAAC,gBAAgB,GAAG;YAC5B;YACA,OAAO;QACX,SAAU;YACNlB,YAAY;gBACR,IAAI,CAAC,WAAW,GAAG;YACvB;QACJ;IACJ;IAEQ,gBAAgBL,KAAc,EAAU;QAC5C,IAAI;YACA,OAAO4B,KAAK,SAAS,CAAC5B;QAC1B,EAAE,OAAM;YACJ,OAAO6B,OAAOC,KAAK,MAAM;QAC7B;IACJ;IAGA,IAAI,aAAsB;QACtB,OAAO,AAAmB,SAAnB,IAAI,CAAC,SAAS,IAAa,AAA6B,SAA7B,IAAI,CAAC,mBAAmB;IAC9D;IAGA,IAAI,uBAAgC;QAChC,OAAO,IAAI,CAAC,mBAAmB;IACnC;AACJ"}
@@ -0,0 +1,44 @@
1
+ import type { z } from "zod";
2
+ import type { IFieldConfig, IValueOption, IFormModel, IFieldBuilder, IFieldBuilderRegistry, IFieldTypeFactory, IRule, BeforeChangeCallback, AfterChangeCallback, AfterSetValueCallback, ComputedFieldCallback, HiddenWhenCallback, OnBlurCallback, CloneValueCallback } from "./abstractions.js";
3
+ /**
4
+ * Base FieldBuilder with fluent API.
5
+ * Each method mutates `this` and returns `this` for chaining.
6
+ */
7
+ export declare class FieldBuilder<TType extends string = string> implements IFieldBuilder {
8
+ protected _config: IFieldConfig;
9
+ constructor(type: TType);
10
+ get fieldType(): string;
11
+ label(text: string): this;
12
+ help(text: string): this;
13
+ description(text: string): this;
14
+ note(text: string): this;
15
+ placeholder(text: string): this;
16
+ schema(zodSchema: z.ZodTypeAny): this;
17
+ defaultValue(value: unknown): this;
18
+ renderer(name: string, settings?: Record<string, unknown>): this;
19
+ list(): this;
20
+ hidden(): this;
21
+ hiddenWhen(fn: HiddenWhenCallback): this;
22
+ required(message?: string): this;
23
+ requiredWhen(fn: (form: IFormModel) => boolean, message?: string): this;
24
+ computed(fn: ComputedFieldCallback): this;
25
+ computedUntilDirty(fn: ComputedFieldCallback): this;
26
+ disabled(value?: boolean): this;
27
+ rules(rules: IRule[]): this;
28
+ beforeChange(fn: BeforeChangeCallback): this;
29
+ afterChange(fn: AfterChangeCallback): this;
30
+ afterSetValue(fn: AfterSetValueCallback): this;
31
+ onBlur(fn: OnBlurCallback): this;
32
+ cloneValue(fn: CloneValueCallback): this;
33
+ getTags(): string[];
34
+ tags(tags: string[]): this;
35
+ options(opts: IValueOption[] | ((form: IFormModel) => IValueOption[])): this;
36
+ /**
37
+ * Normalize value before it's set. If field value is an array, this method runs on each individual value in the array.
38
+ * Useful for converting strings to numbers, ensuring specific date format, etc.
39
+ * @param value
40
+ */
41
+ normalizeValue(value: unknown): unknown;
42
+ build(name: string): IFieldConfig;
43
+ }
44
+ export declare function createFieldBuilderRegistry(factories: IFieldTypeFactory[]): IFieldBuilderRegistry;
@@ -0,0 +1,152 @@
1
+ class FieldBuilder {
2
+ constructor(type){
3
+ this._config = {
4
+ name: "",
5
+ type,
6
+ hidden: false,
7
+ required: false,
8
+ disabled: false
9
+ };
10
+ }
11
+ get fieldType() {
12
+ return this._config.type;
13
+ }
14
+ label(text) {
15
+ this._config.label = text;
16
+ return this;
17
+ }
18
+ help(text) {
19
+ this._config.help = text;
20
+ return this;
21
+ }
22
+ description(text) {
23
+ this._config.description = text;
24
+ return this;
25
+ }
26
+ note(text) {
27
+ this._config.note = text;
28
+ return this;
29
+ }
30
+ placeholder(text) {
31
+ this._config.placeholder = text;
32
+ return this;
33
+ }
34
+ schema(zodSchema) {
35
+ this._config.schema = zodSchema;
36
+ return this;
37
+ }
38
+ defaultValue(value) {
39
+ this._config.defaultValue = value;
40
+ return this;
41
+ }
42
+ renderer(name, settings) {
43
+ this._config.renderer = name;
44
+ this._config.rendererSettings = settings;
45
+ return this;
46
+ }
47
+ list() {
48
+ this._config.isList = true;
49
+ return this;
50
+ }
51
+ hidden() {
52
+ this._config.hidden = true;
53
+ return this;
54
+ }
55
+ hiddenWhen(fn) {
56
+ if (!this._config.hiddenWhenCallbacks) this._config.hiddenWhenCallbacks = [];
57
+ this._config.hiddenWhenCallbacks.push(fn);
58
+ return this;
59
+ }
60
+ required(message) {
61
+ this._config.required = true;
62
+ this._config.requiredMessage = message;
63
+ return this;
64
+ }
65
+ requiredWhen(fn, message) {
66
+ if (!this._config.requiredWhenCallbacks) this._config.requiredWhenCallbacks = [];
67
+ this._config.requiredWhenCallbacks.push({
68
+ fn,
69
+ message
70
+ });
71
+ return this;
72
+ }
73
+ computed(fn) {
74
+ this._config.computed = fn;
75
+ this._config.computedUntilDirty = void 0;
76
+ return this;
77
+ }
78
+ computedUntilDirty(fn) {
79
+ this._config.computedUntilDirty = fn;
80
+ this._config.computed = void 0;
81
+ return this;
82
+ }
83
+ disabled(value = true) {
84
+ this._config.disabled = value;
85
+ return this;
86
+ }
87
+ rules(rules) {
88
+ if (!this._config.rules) this._config.rules = [];
89
+ this._config.rules.push(...rules);
90
+ return this;
91
+ }
92
+ beforeChange(fn) {
93
+ if (!this._config.beforeChangeCallbacks) this._config.beforeChangeCallbacks = [];
94
+ this._config.beforeChangeCallbacks.push(fn);
95
+ return this;
96
+ }
97
+ afterChange(fn) {
98
+ if (!this._config.afterChangeCallbacks) this._config.afterChangeCallbacks = [];
99
+ this._config.afterChangeCallbacks.push(fn);
100
+ return this;
101
+ }
102
+ afterSetValue(fn) {
103
+ if (!this._config.afterSetValueCallbacks) this._config.afterSetValueCallbacks = [];
104
+ this._config.afterSetValueCallbacks.push(fn);
105
+ return this;
106
+ }
107
+ onBlur(fn) {
108
+ if (!this._config.onBlurCallbacks) this._config.onBlurCallbacks = [];
109
+ this._config.onBlurCallbacks.push(fn);
110
+ return this;
111
+ }
112
+ cloneValue(fn) {
113
+ this._config.cloneValue = fn;
114
+ return this;
115
+ }
116
+ getTags() {
117
+ return this._config.tags ?? [];
118
+ }
119
+ tags(tags) {
120
+ this._config.tags = tags;
121
+ return this;
122
+ }
123
+ options(opts) {
124
+ this._config.options = opts;
125
+ if ("textInput" === this._config.renderer || "numberInput" === this._config.renderer) this._config.renderer = "dropdown";
126
+ return this;
127
+ }
128
+ normalizeValue(value) {
129
+ return value;
130
+ }
131
+ build(name) {
132
+ return {
133
+ ...this._config,
134
+ name,
135
+ normalizeValue: (v)=>this.normalizeValue(v)
136
+ };
137
+ }
138
+ }
139
+ function createFieldBuilderRegistry(factories) {
140
+ const fieldTypes = new Map();
141
+ for (const factory of factories)fieldTypes.set(factory.type, factory);
142
+ const proxy = new Proxy({}, {
143
+ get (_target, prop) {
144
+ const factory = fieldTypes.get(prop);
145
+ if (factory) return ()=>factory.create(proxy);
146
+ }
147
+ });
148
+ return proxy;
149
+ }
150
+ export { FieldBuilder, createFieldBuilderRegistry };
151
+
152
+ //# sourceMappingURL=FieldBuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features/formModel/FieldBuilder.js","sources":["../../../src/features/formModel/FieldBuilder.ts"],"sourcesContent":["import type { z } from \"zod\";\nimport type {\n IFieldConfig,\n IValueOption,\n IFormModel,\n IFieldBuilder,\n IFieldBuilderRegistry,\n IFieldTypeFactory,\n IRule,\n BeforeChangeCallback,\n AfterChangeCallback,\n AfterSetValueCallback,\n ComputedFieldCallback,\n HiddenWhenCallback,\n OnBlurCallback,\n CloneValueCallback\n} from \"./abstractions.js\";\n\n/**\n * Base FieldBuilder with fluent API.\n * Each method mutates `this` and returns `this` for chaining.\n */\nexport class FieldBuilder<TType extends string = string> implements IFieldBuilder {\n protected _config: IFieldConfig;\n\n constructor(type: TType) {\n this._config = {\n name: \"\",\n type,\n hidden: false,\n required: false,\n disabled: false\n };\n }\n\n get fieldType(): string {\n return this._config.type;\n }\n\n label(text: string): this {\n this._config.label = text;\n return this;\n }\n\n help(text: string): this {\n this._config.help = text;\n return this;\n }\n\n description(text: string): this {\n this._config.description = text;\n return this;\n }\n\n note(text: string): this {\n this._config.note = text;\n return this;\n }\n\n placeholder(text: string): this {\n this._config.placeholder = text;\n return this;\n }\n\n schema(zodSchema: z.ZodTypeAny): this {\n this._config.schema = zodSchema;\n return this;\n }\n\n defaultValue(value: unknown): this {\n this._config.defaultValue = value;\n return this;\n }\n\n renderer(name: string, settings?: Record<string, unknown>): this {\n this._config.renderer = name;\n this._config.rendererSettings = settings;\n return this;\n }\n\n list(): this {\n this._config.isList = true;\n return this;\n }\n\n hidden(): this {\n this._config.hidden = true;\n return this;\n }\n\n hiddenWhen(fn: HiddenWhenCallback): this {\n if (!this._config.hiddenWhenCallbacks) {\n this._config.hiddenWhenCallbacks = [];\n }\n this._config.hiddenWhenCallbacks.push(fn);\n return this;\n }\n\n required(message?: string): this {\n this._config.required = true;\n this._config.requiredMessage = message;\n return this;\n }\n\n requiredWhen(fn: (form: IFormModel) => boolean, message?: string): this {\n if (!this._config.requiredWhenCallbacks) {\n this._config.requiredWhenCallbacks = [];\n }\n this._config.requiredWhenCallbacks.push({ fn, message });\n return this;\n }\n\n computed(fn: ComputedFieldCallback): this {\n this._config.computed = fn;\n this._config.computedUntilDirty = undefined;\n return this;\n }\n\n computedUntilDirty(fn: ComputedFieldCallback): this {\n this._config.computedUntilDirty = fn;\n this._config.computed = undefined;\n return this;\n }\n\n disabled(value = true): this {\n this._config.disabled = value;\n return this;\n }\n\n rules(rules: IRule[]): this {\n if (!this._config.rules) {\n this._config.rules = [];\n }\n this._config.rules.push(...rules);\n return this;\n }\n\n beforeChange(fn: BeforeChangeCallback): this {\n if (!this._config.beforeChangeCallbacks) {\n this._config.beforeChangeCallbacks = [];\n }\n this._config.beforeChangeCallbacks.push(fn);\n return this;\n }\n\n afterChange(fn: AfterChangeCallback): this {\n if (!this._config.afterChangeCallbacks) {\n this._config.afterChangeCallbacks = [];\n }\n this._config.afterChangeCallbacks.push(fn);\n return this;\n }\n\n afterSetValue(fn: AfterSetValueCallback): this {\n if (!this._config.afterSetValueCallbacks) {\n this._config.afterSetValueCallbacks = [];\n }\n this._config.afterSetValueCallbacks.push(fn);\n return this;\n }\n\n onBlur(fn: OnBlurCallback): this {\n if (!this._config.onBlurCallbacks) {\n this._config.onBlurCallbacks = [];\n }\n this._config.onBlurCallbacks.push(fn);\n return this;\n }\n\n cloneValue(fn: CloneValueCallback): this {\n this._config.cloneValue = fn;\n return this;\n }\n\n getTags(): string[] {\n return this._config.tags ?? [];\n }\n\n tags(tags: string[]): this {\n this._config.tags = tags;\n return this;\n }\n\n options(opts: IValueOption[] | ((form: IFormModel) => IValueOption[])): this {\n this._config.options = opts;\n if (this._config.renderer === \"textInput\" || this._config.renderer === \"numberInput\") {\n this._config.renderer = \"dropdown\";\n }\n return this;\n }\n\n /**\n * Normalize value before it's set. If field value is an array, this method runs on each individual value in the array.\n * Useful for converting strings to numbers, ensuring specific date format, etc.\n * @param value\n */\n normalizeValue(value: unknown): unknown {\n return value;\n }\n\n build(name: string): IFieldConfig {\n return { ...this._config, name, normalizeValue: (v: unknown) => this.normalizeValue(v) };\n }\n}\n\nexport function createFieldBuilderRegistry(factories: IFieldTypeFactory[]): IFieldBuilderRegistry {\n const fieldTypes = new Map<string, IFieldTypeFactory>();\n for (const factory of factories) {\n fieldTypes.set(factory.type, factory);\n }\n\n const proxy: IFieldBuilderRegistry = new Proxy({} as IFieldBuilderRegistry, {\n get(_target, prop: string) {\n const factory = fieldTypes.get(prop);\n if (factory) {\n return () => factory.create(proxy);\n }\n return undefined;\n }\n });\n return proxy;\n}\n"],"names":["FieldBuilder","type","text","zodSchema","value","name","settings","fn","message","undefined","rules","tags","opts","v","createFieldBuilderRegistry","factories","fieldTypes","Map","factory","proxy","Proxy","_target","prop"],"mappings":"AAsBO,MAAMA;IAGT,YAAYC,IAAW,CAAE;QACrB,IAAI,CAAC,OAAO,GAAG;YACX,MAAM;YACNA;YACA,QAAQ;YACR,UAAU;YACV,UAAU;QACd;IACJ;IAEA,IAAI,YAAoB;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI;IAC5B;IAEA,MAAMC,IAAY,EAAQ;QACtB,IAAI,CAAC,OAAO,CAAC,KAAK,GAAGA;QACrB,OAAO,IAAI;IACf;IAEA,KAAKA,IAAY,EAAQ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