@rebasepro/admin 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. package/README.md +135 -0
  2. package/dist/CollectionEditorDialog-jA-PLh6N.js +3549 -0
  3. package/dist/CollectionEditorDialog-jA-PLh6N.js.map +1 -0
  4. package/dist/CollectionsStudioView-UKouBPOm.js +170 -0
  5. package/dist/CollectionsStudioView-UKouBPOm.js.map +1 -0
  6. package/dist/PropertyEditView-DEUddmg_.js +3660 -0
  7. package/dist/PropertyEditView-DEUddmg_.js.map +1 -0
  8. package/dist/collection_editor/ConfigControllerProvider.d.ts +2 -2
  9. package/dist/collection_editor/ui/AddKanbanColumnAction.d.ts +2 -1
  10. package/dist/collection_editor/ui/CollectionViewHeaderAction.d.ts +2 -1
  11. package/dist/collection_editor/ui/EditorCollectionAction.d.ts +1 -1
  12. package/dist/collection_editor/ui/EditorCollectionActionStart.d.ts +1 -1
  13. package/dist/collection_editor/ui/EditorEntityAction.d.ts +1 -1
  14. package/dist/collection_editor/ui/HomePageEditorCollectionAction.d.ts +1 -1
  15. package/dist/collection_editor/ui/KanbanSetupAction.d.ts +2 -1
  16. package/dist/collection_editor/ui/MissingReferenceWidget.d.ts +1 -1
  17. package/dist/collection_editor/ui/NewCollectionButton.d.ts +1 -1
  18. package/dist/collection_editor/ui/NewCollectionCard.d.ts +1 -1
  19. package/dist/collection_editor/ui/PropertyAddColumnComponent.d.ts +1 -1
  20. package/dist/collection_editor/ui/collection_editor/AICollectionGeneratorPopover.d.ts +1 -1
  21. package/dist/collection_editor/ui/collection_editor/AIModifiedPathsContext.d.ts +1 -1
  22. package/dist/collection_editor/ui/collection_editor/CollectionDetailsForm.d.ts +2 -1
  23. package/dist/collection_editor/ui/collection_editor/CollectionEditorDialog.d.ts +2 -2
  24. package/dist/collection_editor/ui/collection_editor/CollectionEditorWelcomeView.d.ts +2 -2
  25. package/dist/collection_editor/ui/collection_editor/CollectionJsonImportDialog.d.ts +2 -1
  26. package/dist/collection_editor/ui/collection_editor/CollectionPropertiesEditorForm.d.ts +1 -1
  27. package/dist/collection_editor/ui/collection_editor/CollectionRLSTab.d.ts +2 -1
  28. package/dist/collection_editor/ui/collection_editor/CollectionRelationsTab.d.ts +2 -1
  29. package/dist/collection_editor/ui/collection_editor/CollectionStudioView.d.ts +2 -1
  30. package/dist/collection_editor/ui/collection_editor/CollectionYupValidation.d.ts +1 -9
  31. package/dist/collection_editor/ui/collection_editor/CollectionsStudioView.d.ts +2 -1
  32. package/dist/collection_editor/ui/collection_editor/DisplaySettingsForm.d.ts +2 -1
  33. package/dist/collection_editor/ui/collection_editor/EntityActionsEditTab.d.ts +2 -1
  34. package/dist/collection_editor/ui/collection_editor/EntityActionsSelectDialog.d.ts +2 -1
  35. package/dist/collection_editor/ui/collection_editor/EntityCustomViewsSelectDialog.d.ts +2 -1
  36. package/dist/collection_editor/ui/collection_editor/EnumForm.d.ts +2 -1
  37. package/dist/collection_editor/ui/collection_editor/GeneralSettingsForm.d.ts +2 -1
  38. package/dist/collection_editor/ui/collection_editor/GetCodeDialog.d.ts +2 -1
  39. package/dist/collection_editor/ui/collection_editor/KanbanConfigSection.d.ts +2 -1
  40. package/dist/collection_editor/ui/collection_editor/LayoutModeSwitch.d.ts +1 -1
  41. package/dist/collection_editor/ui/collection_editor/PropertyEditView.d.ts +4 -3
  42. package/dist/collection_editor/ui/collection_editor/PropertyFieldPreview.d.ts +2 -2
  43. package/dist/collection_editor/ui/collection_editor/PropertyTree.d.ts +2 -2
  44. package/dist/collection_editor/ui/collection_editor/SubcollectionsEditTab.d.ts +2 -1
  45. package/dist/collection_editor/ui/collection_editor/SwitchControl.d.ts +2 -1
  46. package/dist/collection_editor/ui/collection_editor/ViewModeSwitch.d.ts +1 -1
  47. package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportDataPreview.d.ts +1 -1
  48. package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportMapping.d.ts +3 -2
  49. package/dist/collection_editor/ui/collection_editor/properties/BlockPropertyField.d.ts +2 -1
  50. package/dist/collection_editor/ui/collection_editor/properties/BooleanPropertyField.d.ts +2 -1
  51. package/dist/collection_editor/ui/collection_editor/properties/DateTimePropertyField.d.ts +2 -1
  52. package/dist/collection_editor/ui/collection_editor/properties/EnumPropertyField.d.ts +2 -1
  53. package/dist/collection_editor/ui/collection_editor/properties/KeyValuePropertyField.d.ts +2 -1
  54. package/dist/collection_editor/ui/collection_editor/properties/MapPropertyField.d.ts +2 -1
  55. package/dist/collection_editor/ui/collection_editor/properties/MarkdownPropertyField.d.ts +2 -1
  56. package/dist/collection_editor/ui/collection_editor/properties/NumberPropertyField.d.ts +2 -1
  57. package/dist/collection_editor/ui/collection_editor/properties/ReferencePropertyField.d.ts +3 -2
  58. package/dist/collection_editor/ui/collection_editor/properties/RelationPropertyField.d.ts +2 -1
  59. package/dist/collection_editor/ui/collection_editor/properties/RepeatPropertyField.d.ts +2 -1
  60. package/dist/collection_editor/ui/collection_editor/properties/StoragePropertyField.d.ts +2 -1
  61. package/dist/collection_editor/ui/collection_editor/properties/StringPropertyField.d.ts +2 -1
  62. package/dist/collection_editor/ui/collection_editor/properties/UrlPropertyField.d.ts +2 -1
  63. package/dist/collection_editor/ui/collection_editor/properties/VectorPropertyField.d.ts +2 -1
  64. package/dist/collection_editor/ui/collection_editor/properties/advanced/AdvancedPropertyValidation.d.ts +2 -1
  65. package/dist/collection_editor/ui/collection_editor/properties/conditions/ConditionsEditor.d.ts +2 -1
  66. package/dist/collection_editor/ui/collection_editor/properties/conditions/ConditionsPanel.d.ts +1 -1
  67. package/dist/collection_editor/ui/collection_editor/properties/conditions/EnumConditionsEditor.d.ts +2 -1
  68. package/dist/collection_editor/ui/collection_editor/properties/validation/ArrayPropertyValidation.d.ts +2 -1
  69. package/dist/collection_editor/ui/collection_editor/properties/validation/GeneralPropertyValidation.d.ts +2 -1
  70. package/dist/collection_editor/ui/collection_editor/properties/validation/NumberPropertyValidation.d.ts +2 -1
  71. package/dist/collection_editor/ui/collection_editor/properties/validation/StringPropertyValidation.d.ts +2 -1
  72. package/dist/collection_editor/ui/collection_editor/properties/validation/ValidationPanel.d.ts +1 -1
  73. package/dist/collection_editor/ui/collection_editor/templates/blog_template.d.ts +1 -1
  74. package/dist/collection_editor/ui/collection_editor/templates/pages_template.d.ts +1 -1
  75. package/dist/collection_editor/ui/collection_editor/templates/products_template.d.ts +1 -1
  76. package/dist/collection_editor/ui/collection_editor/templates/users_template.d.ts +1 -1
  77. package/dist/collection_editor_ui.js +4 -11
  78. package/dist/components/ArrayContainer.d.ts +3 -3
  79. package/dist/components/ClearFilterSortButton.d.ts +1 -1
  80. package/dist/components/CollectionEditorDialogs.d.ts +2 -1
  81. package/dist/components/CollectionPanel.d.ts +2 -27
  82. package/dist/components/DefaultAppBar.d.ts +1 -1
  83. package/dist/components/DefaultDrawer.d.ts +4 -4
  84. package/dist/components/DeleteEntityDialog.d.ts +2 -1
  85. package/dist/components/DrawerNavigationGroup.d.ts +1 -1
  86. package/dist/components/DrawerNavigationItem.d.ts +1 -1
  87. package/dist/components/EntityCollectionTable/EntityCollectionRowActions.d.ts +1 -1
  88. package/dist/components/EntityCollectionTable/EntityCollectionTable.d.ts +2 -1
  89. package/dist/components/EntityCollectionTable/fields/TableMultipleRelationField.d.ts +3 -3
  90. package/dist/components/EntityCollectionTable/fields/TableReferenceField.d.ts +3 -3
  91. package/dist/components/EntityCollectionTable/fields/TableRelationField.d.ts +3 -3
  92. package/dist/components/EntityCollectionTable/fields/TableRelationSelectorField.d.ts +2 -1
  93. package/dist/components/EntityCollectionTable/fields/TableStorageUpload.d.ts +2 -2
  94. package/dist/components/EntityCollectionTable/fields/VirtualTableDateField.d.ts +1 -1
  95. package/dist/components/EntityCollectionTable/fields/VirtualTableInput.d.ts +2 -1
  96. package/dist/components/EntityCollectionTable/fields/VirtualTableNumberInput.d.ts +2 -1
  97. package/dist/components/EntityCollectionTable/fields/VirtualTableSelect.d.ts +1 -1
  98. package/dist/components/EntityCollectionTable/fields/VirtualTableSwitch.d.ts +2 -1
  99. package/dist/components/EntityCollectionTable/fields/VirtualTableUserSelect.d.ts +1 -1
  100. package/dist/components/EntityCollectionTable/internal/CollectionTableToolbar.d.ts +1 -1
  101. package/dist/components/EntityCollectionTable/internal/EntityTableCellActions.d.ts +1 -1
  102. package/dist/components/EntityCollectionTable/internal/popup_field/PopupFormField.d.ts +4 -3
  103. package/dist/components/EntityCollectionView/Board.d.ts +2 -1
  104. package/dist/components/EntityCollectionView/BoardColumnTitle.d.ts +1 -1
  105. package/dist/components/EntityCollectionView/BoardSortableList.d.ts +1 -1
  106. package/dist/components/EntityCollectionView/EntityBoardCard.d.ts +1 -1
  107. package/dist/components/EntityCollectionView/EntityCard.d.ts +2 -1
  108. package/dist/components/EntityCollectionView/EntityCollectionBoardView.d.ts +1 -1
  109. package/dist/components/EntityCollectionView/EntityCollectionCardView.d.ts +1 -1
  110. package/dist/components/EntityCollectionView/EntityCollectionListView.d.ts +1 -1
  111. package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +0 -24
  112. package/dist/components/EntityCollectionView/EntityCollectionViewActions.d.ts +1 -1
  113. package/dist/components/EntityCollectionView/EntityCollectionViewStartActions.d.ts +2 -1
  114. package/dist/components/EntityCollectionView/FilterPresetsButton.d.ts +2 -1
  115. package/dist/components/EntityCollectionView/FiltersDialog.d.ts +2 -1
  116. package/dist/components/EntityCollectionView/SplitListView.d.ts +1 -1
  117. package/dist/components/EntityCollectionView/ViewModeToggle.d.ts +2 -1
  118. package/dist/components/EntityDetailView.d.ts +1 -1
  119. package/dist/components/EntityEditView.d.ts +2 -2
  120. package/dist/components/EntityEditViewFormActions.d.ts +2 -1
  121. package/dist/components/EntityJsonPreview.d.ts +2 -1
  122. package/dist/components/EntityPreview.d.ts +3 -3
  123. package/dist/components/EntitySidePanel.d.ts +2 -1
  124. package/dist/components/EntityView.d.ts +2 -1
  125. package/dist/components/FieldCaption.d.ts +1 -1
  126. package/dist/components/HomePage/ContentHomePage.d.ts +1 -1
  127. package/dist/components/HomePage/FavouritesView.d.ts +1 -1
  128. package/dist/components/HomePage/HomePageDnD.d.ts +4 -4
  129. package/dist/components/HomePage/NavigationCard.d.ts +1 -1
  130. package/dist/components/HomePage/NavigationCardBinding.d.ts +2 -1
  131. package/dist/components/HomePage/NavigationGroup.d.ts +2 -2
  132. package/dist/components/HomePage/RenameGroupDialog.d.ts +2 -1
  133. package/dist/components/HomePage/SmallNavigationCard.d.ts +1 -1
  134. package/dist/components/PropertyCollectionView.d.ts +2 -1
  135. package/dist/components/PropertyIdCopyTooltip.d.ts +2 -2
  136. package/dist/components/RebaseAuthGate.d.ts +1 -1
  137. package/dist/components/RebaseLayout.d.ts +1 -1
  138. package/dist/components/RebaseNavigation.d.ts +1 -1
  139. package/dist/components/RebaseRouteDefs.d.ts +1 -1
  140. package/dist/components/RebaseShell.d.ts +1 -1
  141. package/dist/components/ReferenceTable/EntitySelectionTable.d.ts +1 -1
  142. package/dist/components/ReferenceWidget.d.ts +2 -1
  143. package/dist/components/SearchIconsView.d.ts +2 -1
  144. package/dist/components/SelectableTable/SelectableTable.d.ts +2 -2
  145. package/dist/components/SelectableTable/filters/BooleanFilterField.d.ts +2 -1
  146. package/dist/components/SelectableTable/filters/DateTimeFilterField.d.ts +2 -1
  147. package/dist/components/SelectableTable/filters/ReferenceFilterField.d.ts +2 -1
  148. package/dist/components/SelectableTable/filters/RelationFilterField.d.ts +2 -1
  149. package/dist/components/SelectableTable/filters/StringNumberFilterField.d.ts +2 -1
  150. package/dist/components/SideDialogs.d.ts +1 -1
  151. package/dist/components/SideEntityProvider.d.ts +1 -1
  152. package/dist/components/admin/CreationResultDialog.d.ts +2 -1
  153. package/dist/components/app/AppBar.d.ts +1 -1
  154. package/dist/components/app/Drawer.d.ts +1 -1
  155. package/dist/components/common/default_entity_actions.d.ts +2 -1
  156. package/dist/components/history/EntityHistoryEntry.d.ts +1 -1
  157. package/dist/components/history/EntityHistoryView.d.ts +1 -1
  158. package/dist/components/history/LastEditedByFormAction.d.ts +2 -1
  159. package/dist/components/history/LastEditedByIndicator.d.ts +2 -1
  160. package/dist/components/history/UserChip.d.ts +1 -1
  161. package/dist/data_export/export/BasicExportAction.d.ts +2 -1
  162. package/dist/data_export/export/ExportCollectionAction.d.ts +1 -1
  163. package/dist/data_import/components/DataNewPropertiesMapping.d.ts +1 -1
  164. package/dist/data_import/components/ImportFileUpload.d.ts +1 -1
  165. package/dist/data_import/components/ImportNewPropertyFieldPreview.d.ts +2 -1
  166. package/dist/data_import/components/ImportSaveInProgress.d.ts +1 -1
  167. package/dist/data_import/import/ImportCollectionAction.d.ts +4 -3
  168. package/dist/editor/components/SlashCommandMenu.d.ts +2 -1
  169. package/dist/editor/editor.d.ts +1 -1
  170. package/dist/editor/selectors/color-selector.d.ts +1 -1
  171. package/dist/editor/selectors/link-selector.d.ts +1 -1
  172. package/dist/editor/selectors/node-selector.d.ts +1 -1
  173. package/dist/editor/selectors/text-buttons.d.ts +1 -1
  174. package/dist/editor.js +2621 -3574
  175. package/dist/editor.js.map +1 -1
  176. package/dist/form/EntityForm.d.ts +2 -1
  177. package/dist/form/EntityFormActions.d.ts +2 -1
  178. package/dist/form/components/FieldHelperText.d.ts +1 -1
  179. package/dist/form/components/FormEntry.d.ts +1 -1
  180. package/dist/form/components/FormLayout.d.ts +1 -1
  181. package/dist/form/components/LabelWithIconAndTooltip.d.ts +1 -1
  182. package/dist/form/components/LocalChangesMenu.d.ts +2 -1
  183. package/dist/form/components/StorageItemPreview.d.ts +2 -1
  184. package/dist/form/components/StorageUploadProgress.d.ts +2 -1
  185. package/dist/form/field_bindings/ArrayCustomShapedFieldBinding.d.ts +2 -1
  186. package/dist/form/field_bindings/ArrayOfReferencesFieldBinding.d.ts +2 -1
  187. package/dist/form/field_bindings/BlockFieldBinding.d.ts +2 -1
  188. package/dist/form/field_bindings/DateTimeFieldBinding.d.ts +2 -1
  189. package/dist/form/field_bindings/KeyValueFieldBinding.d.ts +2 -1
  190. package/dist/form/field_bindings/MapFieldBinding.d.ts +2 -1
  191. package/dist/form/field_bindings/MarkdownEditorFieldBinding.d.ts +2 -1
  192. package/dist/form/field_bindings/MultiSelectFieldBinding.d.ts +2 -1
  193. package/dist/form/field_bindings/MultipleRelationFieldBinding.d.ts +2 -1
  194. package/dist/form/field_bindings/ReadOnlyFieldBinding.d.ts +2 -1
  195. package/dist/form/field_bindings/ReferenceAsStringFieldBinding.d.ts +2 -1
  196. package/dist/form/field_bindings/ReferenceFieldBinding.d.ts +2 -1
  197. package/dist/form/field_bindings/RelationFieldBinding.d.ts +2 -1
  198. package/dist/form/field_bindings/RepeatFieldBinding.d.ts +2 -1
  199. package/dist/form/field_bindings/SelectFieldBinding.d.ts +2 -1
  200. package/dist/form/field_bindings/StorageUploadFieldBinding.d.ts +3 -2
  201. package/dist/form/field_bindings/SwitchFieldBinding.d.ts +2 -1
  202. package/dist/form/field_bindings/TextFieldBinding.d.ts +2 -1
  203. package/dist/form/field_bindings/UserSelectFieldBinding.d.ts +2 -1
  204. package/dist/form/field_bindings/VectorFieldBinding.d.ts +2 -1
  205. package/dist/history-BL49TIDb.js +311 -0
  206. package/dist/history-BL49TIDb.js.map +1 -0
  207. package/dist/hooks/navigation/useBuildNavigationStateController.d.ts +0 -2
  208. package/dist/hooks/navigation/useNavigationResolution.d.ts +5 -6
  209. package/dist/hooks/navigation/useResolvedCollections.d.ts +0 -2
  210. package/dist/hooks/useBreadcrumbsController.d.ts +2 -32
  211. package/dist/index.js +2 -3393
  212. package/dist/markdown-CklalUUk.js +526 -0
  213. package/dist/markdown-CklalUUk.js.map +1 -0
  214. package/dist/preview/components/ArrayEnumPreview.d.ts +2 -1
  215. package/dist/preview/components/EmptyValue.d.ts +2 -1
  216. package/dist/preview/components/EnumValuesChip.d.ts +1 -1
  217. package/dist/preview/components/ImagePreview.d.ts +2 -1
  218. package/dist/preview/components/ReferencePreview.d.ts +2 -1
  219. package/dist/preview/components/RelationPreview.d.ts +2 -1
  220. package/dist/preview/components/StorageThumbnail.d.ts +1 -1
  221. package/dist/preview/components/UserPreview.d.ts +6 -3
  222. package/dist/preview/property_previews/ArrayOfMapsPreview.d.ts +2 -1
  223. package/dist/preview/property_previews/ArrayOfReferencesPreview.d.ts +1 -1
  224. package/dist/preview/property_previews/ArrayOfRelationsPreview.d.ts +1 -1
  225. package/dist/preview/property_previews/ArrayOfStorageComponentsPreview.d.ts +2 -1
  226. package/dist/preview/property_previews/ArrayOfStringsPreview.d.ts +2 -1
  227. package/dist/preview/property_previews/ArrayOneOfPreview.d.ts +2 -1
  228. package/dist/preview/property_previews/ArrayPropertyEnumPreview.d.ts +1 -1
  229. package/dist/preview/property_previews/ArrayPropertyPreview.d.ts +2 -1
  230. package/dist/preview/property_previews/MapPropertyPreview.d.ts +3 -2
  231. package/dist/preview/property_previews/SkeletonPropertyComponent.d.ts +5 -4
  232. package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  233. package/dist/routes/RebaseRoute.d.ts +1 -1
  234. package/dist/src-BJ8fkM8y.js +24010 -0
  235. package/dist/src-BJ8fkM8y.js.map +1 -0
  236. package/dist/types/components/PropertyPreviewProps.d.ts +4 -0
  237. package/dist/types/components/formex.d.ts +1 -40
  238. package/dist/types/fields.d.ts +9 -1
  239. package/dist/util/navigation_utils.d.ts +2 -1
  240. package/dist/util/previews.d.ts +5 -0
  241. package/dist/util/property_utils.d.ts +1 -1
  242. package/package.json +29 -27
  243. package/src/collection_editor/ConfigControllerProvider.tsx +10 -7
  244. package/src/collection_editor/ui/CollectionViewHeaderAction.tsx +2 -1
  245. package/src/collection_editor/ui/EditorCollectionAction.tsx +2 -1
  246. package/src/collection_editor/ui/EditorCollectionActionStart.tsx +2 -1
  247. package/src/collection_editor/ui/EditorEntityAction.tsx +2 -1
  248. package/src/collection_editor/ui/KanbanSetupAction.tsx +2 -1
  249. package/src/collection_editor/ui/MissingReferenceWidget.tsx +2 -1
  250. package/src/collection_editor/ui/PropertyAddColumnComponent.tsx +2 -1
  251. package/src/collection_editor/ui/collection_editor/CollectionDetailsForm.tsx +2 -3
  252. package/src/collection_editor/ui/collection_editor/CollectionEditorDialog.tsx +0 -1
  253. package/src/collection_editor/ui/collection_editor/CollectionPropertiesEditorForm.tsx +8 -4
  254. package/src/collection_editor/ui/collection_editor/CollectionRelationsTab.tsx +2 -2
  255. package/src/collection_editor/ui/collection_editor/DisplaySettingsForm.tsx +2 -1
  256. package/src/collection_editor/ui/collection_editor/PropertyEditView.tsx +2 -1
  257. package/src/collection_editor/ui/collection_editor/PropertyFieldPreview.tsx +2 -2
  258. package/src/collection_editor/ui/collection_editor/properties/RelationPropertyField.tsx +5 -2
  259. package/src/collection_editor/ui/collection_editor/properties/conditions/ConditionsEditor.tsx +2 -1
  260. package/src/collection_editor/ui/collection_editor/properties/conditions/EnumConditionsEditor.tsx +1 -1
  261. package/src/collection_editor/ui/collection_editor/templates/blog_template.ts +1 -1
  262. package/src/collection_editor/ui/collection_editor/templates/pages_template.ts +1 -1
  263. package/src/collection_editor/ui/collection_editor/templates/products_template.ts +1 -1
  264. package/src/collection_editor/ui/collection_editor/templates/users_template.ts +1 -1
  265. package/src/collection_editor/useLocalCollectionsConfigController.tsx +7 -2
  266. package/src/collection_editor/validateCollectionJson.ts +2 -2
  267. package/src/components/CollectionPanel.tsx +51 -25
  268. package/src/components/DefaultAppBar.tsx +1 -2
  269. package/src/components/DefaultDrawer.tsx +3 -2
  270. package/src/components/DrawerNavigationGroup.tsx +3 -2
  271. package/src/components/EntityCollectionTable/fields/TableReferenceField.tsx +30 -9
  272. package/src/components/EntityCollectionTable/internal/EntityTableCell.tsx +1 -1
  273. package/src/components/EntityCollectionTable/internal/popup_field/PopupFormField.tsx +1 -0
  274. package/src/components/EntityCollectionTable/internal/popup_field/useDraggable.tsx +5 -2
  275. package/src/components/EntityCollectionView/Board.tsx +10 -8
  276. package/src/components/EntityCollectionView/BoardSortableList.tsx +2 -2
  277. package/src/components/EntityCollectionView/EntityCollectionBoardView.tsx +4 -2
  278. package/src/components/EntityCollectionView/EntityCollectionCardView.tsx +14 -4
  279. package/src/components/EntityCollectionView/EntityCollectionListView.tsx +48 -26
  280. package/src/components/EntityCollectionView/EntityCollectionView.tsx +146 -73
  281. package/src/components/EntityCollectionView/EntityCollectionViewActions.tsx +2 -1
  282. package/src/components/EntityCollectionView/EntityCollectionViewStartActions.tsx +3 -2
  283. package/src/components/EntityCollectionView/FilterPresetsButton.tsx +4 -2
  284. package/src/components/EntityCollectionView/ViewModeToggle.tsx +0 -1
  285. package/src/components/EntityCollectionView/useBoardDataController.tsx +17 -15
  286. package/src/components/EntityCollectionView/useEntityPreviewSlots.ts +32 -23
  287. package/src/components/EntityDetailView.tsx +72 -39
  288. package/src/components/EntityEditView.tsx +79 -47
  289. package/src/components/EntitySidePanel.tsx +9 -3
  290. package/src/components/HomePage/ContentHomePage.tsx +3 -3
  291. package/src/components/HomePage/NavigationCard.tsx +5 -5
  292. package/src/components/HomePage/NavigationCardBinding.tsx +1 -1
  293. package/src/components/RebaseLayout.tsx +5 -2
  294. package/src/components/RebaseNavigation.tsx +1 -4
  295. package/src/components/RebaseRouteDefs.tsx +5 -3
  296. package/src/components/SearchIconsView.tsx +1 -1
  297. package/src/components/SelectableTable/SelectableTable.tsx +2 -3
  298. package/src/components/SelectableTable/SelectionStore.ts +9 -3
  299. package/src/components/UserSelector.tsx +92 -2
  300. package/src/components/common/default_entity_actions.tsx +23 -6
  301. package/src/components/field_configs.tsx +6 -3
  302. package/src/editor/editor.tsx +1 -1
  303. package/src/editor/extensions/Image/index.ts +2 -2
  304. package/src/editor/extensions/Image.ts +2 -2
  305. package/src/editor/extensions/clipboard.ts +2 -2
  306. package/src/editor/markdown-it-plugins.d.ts +24 -0
  307. package/src/editor/markdown.ts +2 -3
  308. package/src/form/EntityForm.tsx +21 -15
  309. package/src/form/PropertyFieldBinding.tsx +1 -1
  310. package/src/form/field_bindings/KeyValueFieldBinding.tsx +1 -1
  311. package/src/form/field_bindings/MapFieldBinding.tsx +5 -47
  312. package/src/form/field_bindings/VectorFieldBinding.tsx +3 -3
  313. package/src/form/validation.ts +17 -15
  314. package/src/hooks/navigation/useBuildNavigationStateController.tsx +3 -6
  315. package/src/hooks/navigation/useNavigationResolution.ts +143 -19
  316. package/src/hooks/navigation/useResolvedCollections.ts +4 -6
  317. package/src/hooks/useBreadcrumbsController.tsx +2 -34
  318. package/src/hooks/useBuildSideEntityController.tsx +25 -3
  319. package/src/preview/PropertyPreview.tsx +6 -2
  320. package/src/preview/components/ReferencePreview.tsx +64 -13
  321. package/src/preview/components/RelationPreview.tsx +101 -13
  322. package/src/preview/components/UserPreview.tsx +5 -14
  323. package/src/preview/property_previews/ArrayOfMapsPreview.tsx +1 -1
  324. package/src/routes/RebaseRoute.tsx +5 -4
  325. package/src/types/components/PropertyPreviewProps.tsx +5 -0
  326. package/src/types/components/formex.tsx +1 -45
  327. package/src/types/fields.tsx +10 -1
  328. package/src/util/navigation_utils.ts +14 -4
  329. package/src/util/previews.ts +101 -4
  330. package/dist/CollectionEditorDialog-Bo86h-d-.js +0 -4574
  331. package/dist/CollectionEditorDialog-Bo86h-d-.js.map +0 -1
  332. package/dist/CollectionsStudioView-bsg4AT_Z.js +0 -217
  333. package/dist/CollectionsStudioView-bsg4AT_Z.js.map +0 -1
  334. package/dist/ExportCollectionAction-Cf-Id5uO.js +0 -446
  335. package/dist/ExportCollectionAction-Cf-Id5uO.js.map +0 -1
  336. package/dist/ImportCollectionAction-LN5sreK9.js +0 -685
  337. package/dist/ImportCollectionAction-LN5sreK9.js.map +0 -1
  338. package/dist/PropertyEditView-jCWCxmCz.js +0 -8197
  339. package/dist/PropertyEditView-jCWCxmCz.js.map +0 -1
  340. package/dist/collection_editor_ui.js.map +0 -1
  341. package/dist/index-BrqSvMG0.js +0 -8
  342. package/dist/index-BrqSvMG0.js.map +0 -1
  343. package/dist/index-Cb0bPnzZ.js +0 -12
  344. package/dist/index-Cb0bPnzZ.js.map +0 -1
  345. package/dist/index-z3H8iqsj.js +0 -462
  346. package/dist/index-z3H8iqsj.js.map +0 -1
  347. package/dist/index.js.map +0 -1
  348. package/dist/markdown-DD2JDU1X.js +0 -618
  349. package/dist/markdown-DD2JDU1X.js.map +0 -1
  350. package/dist/useEntityHistory-UVsSclfZ.js +0 -123
  351. package/dist/useEntityHistory-UVsSclfZ.js.map +0 -1
  352. package/dist/util-CvNp6A-r.js +0 -30505
  353. package/dist/util-CvNp6A-r.js.map +0 -1
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export declare function EntityJsonPreview({ values }: {
2
3
  values: object;
3
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
@@ -33,17 +33,17 @@ export type EntityPreviewDataProps = {
33
33
  * This component contains the main logic and content for displaying an entity preview,
34
34
  * without any container wrapper. Used internally by EntityPreview.
35
35
  */
36
- export declare function EntityPreviewData({ actions, collection: collectionProp, previewKeys, size, includeId, onSideEntityClick, includeTitle, includeEntityLink, includeImage, entity }: EntityPreviewDataProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function EntityPreviewData({ actions, collection: collectionProp, previewKeys, size, includeId, onSideEntityClick, includeTitle, includeEntityLink, includeImage, entity }: EntityPreviewDataProps): React.JSX.Element;
37
37
  export declare function EntityPreviewWithId({ entityId, path, ...props }: Omit<EntityPreviewProps, "entity"> & {
38
38
  entityId: string | number;
39
39
  path: string;
40
40
  databaseId?: string;
41
- }): import("react/jsx-runtime").JSX.Element;
41
+ }): React.JSX.Element;
42
42
  /**
43
43
  * This view is used to display a preview of an entity.
44
44
  * It is used by default in reference fields and whenever a reference is displayed.
45
45
  */
46
- export declare function EntityPreview({ actions, disabled, hover, collection, previewKeys, onClick, size, includeId, includeTitle, includeEntityLink, includeImage, onSideEntityClick, entity }: EntityPreviewProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function EntityPreview({ actions, disabled, hover, collection, previewKeys, onClick, size, includeId, includeTitle, includeEntityLink, includeImage, onSideEntityClick, entity }: EntityPreviewProps): React.JSX.Element;
47
47
  export type EntityPreviewContainerProps = {
48
48
  children: React.ReactNode;
49
49
  hover?: boolean;
@@ -1,4 +1,5 @@
1
1
  import type { EntitySidePanelProps } from "@rebasepro/types";
2
+ import React from "react";
2
3
  /**
3
4
  * This is the component in charge of rendering the side dialog used
4
5
  * for editing entities. Use the {@link useSideEntityController} to open
@@ -7,4 +8,4 @@ import type { EntitySidePanelProps } from "@rebasepro/types";
7
8
  * {@link useSideEntityController}
8
9
  * @group Components
9
10
  */
10
- export declare function EntitySidePanel(props: EntitySidePanelProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function EntitySidePanel(props: EntitySidePanelProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import type { EntityCollection } from "@rebasepro/types";
2
+ import React from "react";
2
3
  import { Entity } from "@rebasepro/types";
3
4
  /**
4
5
  * @group Components
@@ -9,4 +10,4 @@ export interface EntityViewProps<M extends Record<string, unknown>> {
9
10
  path: string;
10
11
  className?: string;
11
12
  }
12
- export declare function EntityView<M extends Record<string, unknown>>({ entity, collection, path, className }: EntityViewProps<M>): import("react/jsx-runtime").JSX.Element;
13
+ export declare function EntityView<M extends Record<string, unknown>>({ entity, collection, path, className }: EntityViewProps<M>): React.JSX.Element;
@@ -2,4 +2,4 @@ import React from "react";
2
2
  export declare function FieldCaption({ error, children }: {
3
3
  error?: boolean;
4
4
  children?: React.ReactNode;
5
- }): import("react/jsx-runtime").JSX.Element | null;
5
+ }): React.JSX.Element | null;
@@ -8,4 +8,4 @@ export declare function ContentHomePage({ additionalActions, additionalChildrenS
8
8
  additionalChildrenEnd?: React.ReactNode;
9
9
  sections?: HomePageSection[];
10
10
  hiddenGroups?: string[];
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): React.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export declare function FavouritesView({ hidden }: {
2
2
  hidden: boolean;
3
- }): import("react/jsx-runtime").JSX.Element | null;
3
+ }): import("react").JSX.Element | null;
@@ -4,18 +4,18 @@ import { Active, Over, CollisionDetection, DropAnimation, UniqueIdentifier } fro
4
4
  export declare function SortableNavigationCard({ entry, onClick }: {
5
5
  entry: NavigationEntry;
6
6
  onClick?: () => void;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }): React.JSX.Element;
8
8
  export declare function NavigationGroupDroppable({ id, itemIds, children, isPotentialCardDropTarget }: {
9
9
  id: UniqueIdentifier;
10
10
  itemIds: UniqueIdentifier[];
11
11
  children: React.ReactNode;
12
12
  isPotentialCardDropTarget?: boolean;
13
- }): import("react/jsx-runtime").JSX.Element;
13
+ }): React.JSX.Element;
14
14
  export declare function SortableNavigationGroup({ groupName, children, disabled }: {
15
15
  groupName: string;
16
16
  children: React.ReactNode;
17
17
  disabled?: boolean;
18
- }): import("react/jsx-runtime").JSX.Element;
18
+ }): React.JSX.Element;
19
19
  export declare function useHomePageDnd({ items, setItems, disabled, onCardMovedBetweenGroups, onGroupMoved, onNewGroupDrop, onPersist }: {
20
20
  items: {
21
21
  name: string;
@@ -74,4 +74,4 @@ export declare function useHomePageDnd({ items, setItems, disabled, onCardMovedB
74
74
  export declare function NewGroupDropZone({ disabled, setIsHovering }: {
75
75
  disabled: boolean;
76
76
  setIsHovering: (v: boolean) => void;
77
- }): import("react/jsx-runtime").JSX.Element | null;
77
+ }): React.JSX.Element | null;
@@ -8,4 +8,4 @@ export type NavigationCardProps = {
8
8
  onClick?: () => void;
9
9
  shrink?: boolean;
10
10
  };
11
- export declare const NavigationCard: React.NamedExoticComponent<NavigationCardProps>;
11
+ export declare const NavigationCard: React.MemoExoticComponent<({ name, description, icon, actions, additionalContent, onClick, shrink }: NavigationCardProps) => React.JSX.Element>;
@@ -1,4 +1,5 @@
1
1
  import type { NavigationEntry } from "@rebasepro/types";
2
+ import React from "react";
2
3
  /**
3
4
  * This is the component used in the home page to render a card for each
4
5
  * collection or view.
@@ -15,4 +16,4 @@ import type { NavigationEntry } from "@rebasepro/types";
15
16
  export declare function NavigationCardBinding({ slug, collection, view, url, name, description, onClick, type, shrink }: NavigationEntry & {
16
17
  onClick?: () => void;
17
18
  shrink?: boolean;
18
- }): import("react/jsx-runtime").JSX.Element;
19
+ }): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from "react";
1
+ import React, { PropsWithChildren } from "react";
2
2
  export declare function NavigationGroup({ children, group, minimised, isPreview, isPotentialCardDropTarget, onEditGroup, dndDisabled, collapsed, onToggleCollapsed }: PropsWithChildren<{
3
3
  group: string | undefined;
4
4
  minimised?: boolean;
@@ -8,4 +8,4 @@ export declare function NavigationGroup({ children, group, minimised, isPreview,
8
8
  dndDisabled?: boolean;
9
9
  collapsed?: boolean;
10
10
  onToggleCollapsed?: () => void;
11
- }>): import("react/jsx-runtime").JSX.Element;
11
+ }>): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  interface RenameGroupDialogProps {
2
3
  open: boolean;
3
4
  initialName: string;
@@ -5,5 +6,5 @@ interface RenameGroupDialogProps {
5
6
  onClose: () => void;
6
7
  onRename: (newName: string) => void;
7
8
  }
8
- export declare function RenameGroupDialog({ open, initialName, existingGroupNames, onClose, onRename }: RenameGroupDialogProps): import("react/jsx-runtime").JSX.Element | null;
9
+ export declare function RenameGroupDialog({ open, initialName, existingGroupNames, onClose, onRename }: RenameGroupDialogProps): React.JSX.Element | null;
9
10
  export {};
@@ -3,4 +3,4 @@ export type SmallNavigationCardProps = {
3
3
  url: string;
4
4
  icon: React.ReactElement;
5
5
  };
6
- export declare function SmallNavigationCard({ name, url, icon }: SmallNavigationCardProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function SmallNavigationCard({ name, url, icon }: SmallNavigationCardProps): import("react").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import type { Properties } from "@rebasepro/types";
2
2
  import type { Property } from "@rebasepro/types";
3
+ import React from "react";
3
4
  import { PreviewSize } from "../types/components/PropertyPreviewProps";
4
5
  /**
5
6
  * Build a readable label for a path and resolve the property
@@ -20,5 +21,5 @@ export declare const PropertyCollectionView: ({ data, properties, baseKey, suppr
20
21
  baseKey?: string;
21
22
  suppressHeader?: boolean;
22
23
  size?: PreviewSize;
23
- }) => import("react/jsx-runtime").JSX.Element | null;
24
+ }) => React.JSX.Element | null;
24
25
  export declare function buildDataFromPaths(values: object, paths: string[]): object;
@@ -2,7 +2,7 @@ export declare function PropertyIdCopyTooltip({ propertyKey, className, children
2
2
  propertyKey: string;
3
3
  className?: string;
4
4
  children: React.ReactNode;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): import("react").JSX.Element;
6
6
  export declare function PropertyIdCopyTooltipContent({ propertyKey }: {
7
7
  propertyKey: string;
8
- }): import("react/jsx-runtime").JSX.Element;
8
+ }): import("react").JSX.Element;
@@ -18,4 +18,4 @@ import React from "react";
18
18
  */
19
19
  export declare function RebaseAuthGate({ children }: {
20
20
  children: React.ReactNode;
21
- }): import("react/jsx-runtime").JSX.Element;
21
+ }): React.JSX.Element;
@@ -29,4 +29,4 @@ export interface RebaseLayoutProps {
29
29
  * </RebaseLayout>
30
30
  * ```
31
31
  */
32
- export declare function RebaseLayout(props: RebaseLayoutProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare function RebaseLayout(props: RebaseLayoutProps): React.JSX.Element;
@@ -21,4 +21,4 @@ export interface RebaseNavigationProps {
21
21
  * </RebaseNavigation>
22
22
  * ```
23
23
  */
24
- export declare function RebaseNavigation({ children }: RebaseNavigationProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function RebaseNavigation({ children }: RebaseNavigationProps): React.JSX.Element;
@@ -27,4 +27,4 @@ export interface RebaseRouteDefsProps {
27
27
  * </RebaseNavigation>
28
28
  * ```
29
29
  */
30
- export declare function RebaseRouteDefs({ children, layout }: RebaseRouteDefsProps): import("react/jsx-runtime").JSX.Element;
30
+ export declare function RebaseRouteDefs({ children, layout }: RebaseRouteDefsProps): React.JSX.Element;
@@ -22,4 +22,4 @@ export interface RebaseShellProps {
22
22
  * Each layer is independently usable — see their individual docs.
23
23
  * RebaseShell is sugar that composes them all with sensible defaults.
24
24
  */
25
- export declare function RebaseShell(props: RebaseShellProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function RebaseShell(props: RebaseShellProps): React.JSX.Element;
@@ -56,4 +56,4 @@ export interface EntitySelectionProps<M extends Record<string, unknown>> {
56
56
  * You probably want to open this dialog as a side view using {@link useEntitySelectionTable}
57
57
  * @group Components
58
58
  */
59
- export declare function EntitySelectionTable<M extends Record<string, unknown>>(props: EntitySelectionProps<M>): import("react/jsx-runtime").JSX.Element;
59
+ export declare function EntitySelectionTable<M extends Record<string, unknown>>(props: EntitySelectionProps<M>): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { Entity, EntityReference, FilterValues } from "@rebasepro/types";
2
3
  import type { PreviewSize } from "../types/components/PropertyPreviewProps";
3
4
  export type ReferenceWidgetProps<M extends Record<string, unknown>> = {
@@ -27,4 +28,4 @@ export type ReferenceWidgetProps<M extends Record<string, unknown>> = {
27
28
  /**
28
29
  * This field allows selecting reference/s.
29
30
  */
30
- export declare function ReferenceWidget<M extends Record<string, unknown>>({ name, multiselect, path, disabled, value, onReferenceSelected, onMultipleReferenceSelected, previewProperties, fixedFilter, size, className, includeId, includeEntityLink }: ReferenceWidgetProps<M>): import("react/jsx-runtime").JSX.Element;
31
+ export declare function ReferenceWidget<M extends Record<string, unknown>>({ name, multiselect, path, disabled, value, onReferenceSelected, onMultipleReferenceSelected, previewProperties, fixedFilter, size, className, includeId, includeEntityLink }: ReferenceWidgetProps<M>): React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ import React from "react";
1
2
  export interface SearchIconsProps {
2
3
  selectedIcon?: string;
3
4
  onIconSelected?: (icon: string) => void;
4
5
  }
5
- export declare function SearchIconsView({ selectedIcon, onIconSelected }: SearchIconsProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function SearchIconsView({ selectedIcon, onIconSelected }: SearchIconsProps): React.JSX.Element;
@@ -8,7 +8,7 @@ export type SelectableTableProps<M extends Record<string, unknown>> = {
8
8
  */
9
9
  onValueChange?: OnCellValueChange<unknown, M>;
10
10
  columns: VirtualTableColumn[];
11
- cellRenderer: React.ComponentType<CellRendererParams<Entity<M>>>;
11
+ cellRenderer: (props: CellRendererParams<Entity<M>>) => React.ReactNode;
12
12
  /**
13
13
  * Builder for creating the buttons in each row
14
14
  * @param entity
@@ -92,4 +92,4 @@ export type SelectableTableProps<M extends Record<string, unknown>> = {
92
92
  * @see VirtualTable
93
93
  * @group Components
94
94
  */
95
- export declare const SelectableTable: <M extends Record<string, unknown>>({ onValueChange, cellRenderer, onEntityClick, onColumnResize, hoverRow, size, inlineEditing, tableController: { data, dataLoading, noMoreToLoad, dataLoadingError, filterValues, setFilterValues, sortBy, setSortBy, itemCount, setItemCount, pageSize, paginationEnabled, checkFilterCombination, setPopupCell }, filterable, onScroll, initialScroll, emptyComponent, columns, fixedFilter, highlightedRow, endAdornment, AddColumnComponent, onColumnsOrderChange, extraData }: SelectableTableProps<M>) => import("react/jsx-runtime").JSX.Element;
95
+ export declare const SelectableTable: <M extends Record<string, unknown>>({ onValueChange, cellRenderer, onEntityClick, onColumnResize, hoverRow, size, inlineEditing, tableController: { data, dataLoading, noMoreToLoad, dataLoadingError, filterValues, setFilterValues, sortBy, setSortBy, itemCount, setItemCount, pageSize, paginationEnabled, checkFilterCombination, setPopupCell }, filterable, onScroll, initialScroll, emptyComponent, columns, fixedFilter, highlightedRow, endAdornment, AddColumnComponent, onColumnsOrderChange, extraData }: SelectableTableProps<M>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { VirtualTableWhereFilterOp } from "@rebasepro/ui";
2
3
  interface BooleanFieldProps {
3
4
  name: string;
@@ -5,5 +6,5 @@ interface BooleanFieldProps {
5
6
  setValue: (value?: [op: VirtualTableWhereFilterOp, newValue: unknown]) => void;
6
7
  title?: string;
7
8
  }
8
- export declare function BooleanFilterField({ name, title, value, setValue }: BooleanFieldProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function BooleanFilterField({ name, title, value, setValue }: BooleanFieldProps): React.JSX.Element;
9
10
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { VirtualTableWhereFilterOp } from "@rebasepro/ui";
2
3
  interface DateTimeFilterFieldProps {
3
4
  name: string;
@@ -8,5 +9,5 @@ interface DateTimeFilterFieldProps {
8
9
  title?: string;
9
10
  timezone?: string;
10
11
  }
11
- export declare function DateTimeFilterField({ name, isArray, mode, value, setValue, title, timezone }: DateTimeFilterFieldProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function DateTimeFilterField({ name, isArray, mode, value, setValue, title, timezone }: DateTimeFilterFieldProps): React.JSX.Element;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { VirtualTableWhereFilterOp } from "@rebasepro/ui";
2
3
  interface ReferenceFilterFieldProps {
3
4
  name: string;
@@ -11,5 +12,5 @@ interface ReferenceFilterFieldProps {
11
12
  hidden: boolean;
12
13
  setHidden: (hidden: boolean) => void;
13
14
  }
14
- export declare function ReferenceFilterField({ value, setValue, isArray, path, includeId, previewProperties, setHidden }: ReferenceFilterFieldProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ReferenceFilterField({ value, setValue, isArray, path, includeId, previewProperties, setHidden }: ReferenceFilterFieldProps): React.JSX.Element;
15
16
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { VirtualTableWhereFilterOp } from "@rebasepro/ui";
2
3
  import { EntityRelation, Relation } from "@rebasepro/types";
3
4
  interface RelationFilterFieldProps {
@@ -8,5 +9,5 @@ interface RelationFilterFieldProps {
8
9
  hidden: boolean;
9
10
  setHidden: (value: boolean) => void;
10
11
  }
11
- export declare function RelationFilterField({ value, setValue, relation, name: _name, hidden: _hidden, setHidden: _setHidden }: RelationFilterFieldProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function RelationFilterField({ value, setValue, relation, name: _name, hidden: _hidden, setHidden: _setHidden }: RelationFilterFieldProps): React.JSX.Element;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { VirtualTableWhereFilterOp } from "@rebasepro/ui";
2
3
  import { EnumValueConfig } from "@rebasepro/types";
3
4
  interface StringNumberFilterFieldProps {
@@ -9,5 +10,5 @@ interface StringNumberFilterFieldProps {
9
10
  enumValues?: EnumValueConfig[];
10
11
  title?: string;
11
12
  }
12
- export declare function StringNumberFilterField({ name, value, setValue, type, isArray, enumValues, title }: StringNumberFilterFieldProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function StringNumberFilterField({ name, value, setValue, type, isArray, enumValues, title }: StringNumberFilterFieldProps): React.JSX.Element;
13
14
  export {};
@@ -22,4 +22,4 @@ export declare const useSideDialogContext: () => SideDialogController;
22
22
  * {@link useSideDialogsController}
23
23
  * @group Components
24
24
  */
25
- export declare function SideDialogs(): import("react/jsx-runtime").JSX.Element;
25
+ export declare function SideDialogs(): React.JSX.Element;
@@ -29,4 +29,4 @@ import React from "react";
29
29
  */
30
30
  export declare function SideEntityProvider({ children }: {
31
31
  children: React.ReactNode;
32
- }): import("react/jsx-runtime").JSX.Element;
32
+ }): React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ import React from "react";
1
2
  import { UserCreationResult } from "@rebasepro/types";
2
3
  export declare function CreationResultDialog({ result, onClose }: {
3
4
  result: UserCreationResult;
4
5
  onClose: () => void;
5
- }): import("react/jsx-runtime").JSX.Element | null;
6
+ }): React.JSX.Element | null;
@@ -6,7 +6,7 @@ export declare function AppBar({ children, ...props }: {
6
6
  children?: React.ReactNode;
7
7
  className?: string;
8
8
  style?: React.CSSProperties;
9
- } & DefaultAppBarProps): import("react/jsx-runtime").JSX.Element;
9
+ } & DefaultAppBarProps): import("react").JSX.Element;
10
10
  export declare namespace AppBar {
11
11
  var componentType: string;
12
12
  }
@@ -20,7 +20,7 @@ export declare function Drawer({ children, title, logo, logoDestination, footerA
20
20
  footerActions?: React.ReactNode | null;
21
21
  className?: string;
22
22
  style?: React.CSSProperties;
23
- }): import("react/jsx-runtime").JSX.Element;
23
+ }): import("react").JSX.Element;
24
24
  export declare namespace Drawer {
25
25
  var componentType: string;
26
26
  }
@@ -1,4 +1,5 @@
1
1
  import type { EntityAction, User } from "@rebasepro/types";
2
+ import React from "react";
2
3
  export declare const editEntityAction: EntityAction;
3
4
  export declare const copyEntityAction: EntityAction;
4
5
  export declare const deleteEntityAction: EntityAction;
@@ -6,5 +7,5 @@ export declare function ResetPasswordActionDialog({ user, open, onClose }: {
6
7
  user: User;
7
8
  open: boolean;
8
9
  onClose: () => void;
9
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): React.JSX.Element;
10
11
  export declare const resetPasswordAction: EntityAction;
@@ -14,4 +14,4 @@ export type EntityHistoryEntryProps = {
14
14
  * Displays a single entity history revision entry.
15
15
  * Adapted from the entity_history plugin — now reads from backend API data.
16
16
  */
17
- export declare function EntityHistoryEntry({ actions, hover, collection, size, entry }: EntityHistoryEntryProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function EntityHistoryEntry({ actions, hover, collection, size, entry }: EntityHistoryEntryProps): React.JSX.Element;
@@ -3,4 +3,4 @@ import type { EntityCustomViewParams } from "@rebasepro/types";
3
3
  * Entity history tab view. Shows a paginated list of entity revisions
4
4
  * fetched from the backend API. Supports infinite scroll and revert.
5
5
  */
6
- export declare function EntityHistoryView<M extends Record<string, unknown>>({ entity, collection, formContext }: EntityCustomViewParams<M>): import("react/jsx-runtime").JSX.Element;
6
+ export declare function EntityHistoryView<M extends Record<string, unknown>>({ entity, collection, formContext }: EntityCustomViewParams<M>): import("react").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import type { PluginFormActionProps } from "@rebasepro/types";
2
+ import React from "react";
2
3
  /**
3
4
  * Renders the "last edited by" indicator in the entity form top bar.
4
5
  * Used as a plugin `form.ActionsTop` component.
5
6
  */
6
- export declare function LastEditedByFormAction({ entityId, path, status, collection }: PluginFormActionProps): import("react/jsx-runtime").JSX.Element | null;
7
+ export declare function LastEditedByFormAction({ entityId, path, status, collection }: PluginFormActionProps): React.JSX.Element | null;
@@ -1,4 +1,5 @@
1
1
  import type { EntityCollection } from "@rebasepro/types";
2
+ import React from "react";
2
3
  /**
3
4
  * Fetches the latest history entry from the backend API and displays
4
5
  * who last edited the entity and when.
@@ -7,4 +8,4 @@ export declare function LastEditedByIndicator({ path, entityId, collection }: {
7
8
  path: string;
8
9
  entityId: string;
9
10
  collection: EntityCollection;
10
- }): import("react/jsx-runtime").JSX.Element | null;
11
+ }): React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
1
  import { User } from "@rebasepro/types";
2
2
  export declare function UserChip({ user }: {
3
3
  user: User;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import("react").JSX.Element;
@@ -1,7 +1,8 @@
1
+ import React from "react";
1
2
  import { Entity, Properties } from "@rebasepro/types";
2
3
  export type BasicExportActionProps = {
3
4
  data: Entity<any>[];
4
5
  properties: Properties;
5
6
  propertiesOrder?: string[];
6
7
  };
7
- export declare function BasicExportAction({ data, properties, propertiesOrder }: BasicExportActionProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function BasicExportAction({ data, properties, propertiesOrder }: BasicExportActionProps): React.JSX.Element;
@@ -8,4 +8,4 @@ export declare function ExportCollectionAction<M extends Record<string, unknown>
8
8
  }) => boolean;
9
9
  notAllowedView?: React.ReactNode;
10
10
  onAnalyticsEvent?: (event: string, params?: any) => void;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): React.JSX.Element;
@@ -10,4 +10,4 @@ export interface DataPropertyMappingProps {
10
10
  importKey: string;
11
11
  }) => any;
12
12
  }
13
- export declare function DataNewPropertiesMapping({ importConfig, destinationProperties, buildPropertyView }: DataPropertyMappingProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function DataNewPropertiesMapping({ importConfig, destinationProperties, buildPropertyView }: DataPropertyMappingProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export declare function ImportFileUpload({ onDataAdded }: {
2
2
  onDataAdded: (data: object[], propertiesOrder?: string[]) => void;
3
- }): import("react/jsx-runtime").JSX.Element;
3
+ }): import("react").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { Property } from "@rebasepro/types";
2
3
  export declare function ImportNewPropertyFieldPreview({ propertyKey, property, onEditClick, includeName, onPropertyNameChanged, propertyTypeView }: {
3
4
  propertyKey: string | null;
@@ -6,4 +7,4 @@ export declare function ImportNewPropertyFieldPreview({ propertyKey, property, o
6
7
  onEditClick?: () => void;
7
8
  onPropertyNameChanged?: (propertyKey: string, value: string) => void;
8
9
  propertyTypeView?: any;
9
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): React.JSX.Element;
@@ -5,4 +5,4 @@ export declare function ImportSaveInProgress<C extends EntityCollection<any>>({
5
5
  importConfig: ImportConfig;
6
6
  collection: C;
7
7
  onImportSuccess: (collection: C) => void;
8
- }): import("react/jsx-runtime").JSX.Element;
8
+ }): import("react").JSX.Element;
@@ -1,15 +1,16 @@
1
+ import React from "react";
1
2
  import { CollectionActionsProps, Properties, Property, User } from "@rebasepro/types";
2
3
  import { ImportConfig } from "../types";
3
4
  export declare function ImportCollectionAction<M extends Record<string, unknown>, USER extends User>({ collection, path, onAnalyticsEvent }: CollectionActionsProps<M, USER> & {
4
5
  onAnalyticsEvent?: (event: string, params?: any) => void;
5
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
6
7
  export declare function PropertySelectEntry({ propertyKey, property, level }: {
7
8
  propertyKey: string;
8
9
  property: Property;
9
10
  level?: number;
10
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): React.JSX.Element;
11
12
  export declare function ImportDataPreview<M extends Record<string, unknown>>({ importConfig, properties, propertiesOrder }: {
12
13
  importConfig: ImportConfig;
13
14
  properties: Properties;
14
15
  propertiesOrder: Extract<keyof M, string>[];
15
- }): import("react/jsx-runtime").JSX.Element;
16
+ }): React.JSX.Element;
@@ -1,6 +1,7 @@
1
+ import React from "react";
1
2
  import type { EditorAIController } from "../types";
2
3
  import { UploadFn } from "../extensions/Image";
3
4
  export declare const SlashCommandMenu: ({ upload, aiController }: {
4
5
  upload: UploadFn;
5
6
  aiController?: EditorAIController;
6
- }) => import("react/jsx-runtime").JSX.Element | null;
7
+ }) => React.JSX.Element | null;
@@ -27,4 +27,4 @@ export type RebaseEditorProps = {
27
27
  disabled?: boolean;
28
28
  markdownConfig?: MarkdownEditorConfig;
29
29
  };
30
- export declare const RebaseEditor: ({ content, onJsonContentChange, onHtmlContentChange, onMarkdownContentChange, version, textSize, highlight, handleImageUpload, aiController, disabled, markdownConfig }: RebaseEditorProps) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const RebaseEditor: ({ content, onJsonContentChange, onHtmlContentChange, onMarkdownContentChange, version, textSize, highlight, handleImageUpload, aiController, disabled, markdownConfig }: RebaseEditorProps) => React.JSX.Element;
@@ -6,5 +6,5 @@ interface ColorSelectorProps {
6
6
  open: boolean;
7
7
  onOpenChange: (open: boolean) => void;
8
8
  }
9
- export declare const ColorSelector: ({ open, onOpenChange }: ColorSelectorProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ export declare const ColorSelector: ({ open, onOpenChange }: ColorSelectorProps) => import("react").JSX.Element | null;
10
10
  export {};
@@ -4,5 +4,5 @@ interface LinkSelectorProps {
4
4
  open: boolean;
5
5
  onOpenChange: (open: boolean) => void;
6
6
  }
7
- export declare const LinkSelector: ({ open, onOpenChange }: LinkSelectorProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export declare const LinkSelector: ({ open, onOpenChange }: LinkSelectorProps) => import("react").JSX.Element | null;
8
8
  export {};
@@ -11,5 +11,5 @@ interface NodeSelectorProps {
11
11
  onOpenChange: (open: boolean) => void;
12
12
  portalContainer: HTMLElement | null;
13
13
  }
14
- export declare const NodeSelector: ({ open, onOpenChange, portalContainer }: NodeSelectorProps) => import("react/jsx-runtime").JSX.Element | null;
14
+ export declare const NodeSelector: ({ open, onOpenChange, portalContainer }: NodeSelectorProps) => import("react").JSX.Element | null;
15
15
  export {};
@@ -1 +1 @@
1
- export declare const TextButtons: () => import("react/jsx-runtime").JSX.Element | null;
1
+ export declare const TextButtons: () => import("react").JSX.Element | null;