@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.
- package/README.md +135 -0
- package/dist/CollectionEditorDialog-jA-PLh6N.js +3549 -0
- package/dist/CollectionEditorDialog-jA-PLh6N.js.map +1 -0
- package/dist/CollectionsStudioView-UKouBPOm.js +170 -0
- package/dist/CollectionsStudioView-UKouBPOm.js.map +1 -0
- package/dist/PropertyEditView-DEUddmg_.js +3660 -0
- package/dist/PropertyEditView-DEUddmg_.js.map +1 -0
- package/dist/collection_editor/ConfigControllerProvider.d.ts +2 -2
- package/dist/collection_editor/ui/AddKanbanColumnAction.d.ts +2 -1
- package/dist/collection_editor/ui/CollectionViewHeaderAction.d.ts +2 -1
- package/dist/collection_editor/ui/EditorCollectionAction.d.ts +1 -1
- package/dist/collection_editor/ui/EditorCollectionActionStart.d.ts +1 -1
- package/dist/collection_editor/ui/EditorEntityAction.d.ts +1 -1
- package/dist/collection_editor/ui/HomePageEditorCollectionAction.d.ts +1 -1
- package/dist/collection_editor/ui/KanbanSetupAction.d.ts +2 -1
- package/dist/collection_editor/ui/MissingReferenceWidget.d.ts +1 -1
- package/dist/collection_editor/ui/NewCollectionButton.d.ts +1 -1
- package/dist/collection_editor/ui/NewCollectionCard.d.ts +1 -1
- package/dist/collection_editor/ui/PropertyAddColumnComponent.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/AICollectionGeneratorPopover.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/AIModifiedPathsContext.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/CollectionDetailsForm.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/CollectionEditorDialog.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/CollectionEditorWelcomeView.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/CollectionJsonImportDialog.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/CollectionPropertiesEditorForm.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/CollectionRLSTab.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/CollectionRelationsTab.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/CollectionStudioView.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/CollectionYupValidation.d.ts +1 -9
- package/dist/collection_editor/ui/collection_editor/CollectionsStudioView.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/DisplaySettingsForm.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/EntityActionsEditTab.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/EntityActionsSelectDialog.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/EntityCustomViewsSelectDialog.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/EnumForm.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/GeneralSettingsForm.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/GetCodeDialog.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/KanbanConfigSection.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/LayoutModeSwitch.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/PropertyEditView.d.ts +4 -3
- package/dist/collection_editor/ui/collection_editor/PropertyFieldPreview.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/PropertyTree.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/SubcollectionsEditTab.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/SwitchControl.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/ViewModeSwitch.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportDataPreview.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportMapping.d.ts +3 -2
- package/dist/collection_editor/ui/collection_editor/properties/BlockPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/BooleanPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/DateTimePropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/EnumPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/KeyValuePropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/MapPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/MarkdownPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/NumberPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/ReferencePropertyField.d.ts +3 -2
- package/dist/collection_editor/ui/collection_editor/properties/RelationPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/RepeatPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/StoragePropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/StringPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/UrlPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/VectorPropertyField.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/advanced/AdvancedPropertyValidation.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/conditions/ConditionsEditor.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/conditions/ConditionsPanel.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/properties/conditions/EnumConditionsEditor.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/validation/ArrayPropertyValidation.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/validation/GeneralPropertyValidation.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/validation/NumberPropertyValidation.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/validation/StringPropertyValidation.d.ts +2 -1
- package/dist/collection_editor/ui/collection_editor/properties/validation/ValidationPanel.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/templates/blog_template.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/templates/pages_template.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/templates/products_template.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/templates/users_template.d.ts +1 -1
- package/dist/collection_editor_ui.js +4 -11
- package/dist/components/ArrayContainer.d.ts +3 -3
- package/dist/components/ClearFilterSortButton.d.ts +1 -1
- package/dist/components/CollectionEditorDialogs.d.ts +2 -1
- package/dist/components/CollectionPanel.d.ts +2 -27
- package/dist/components/DefaultAppBar.d.ts +1 -1
- package/dist/components/DefaultDrawer.d.ts +4 -4
- package/dist/components/DeleteEntityDialog.d.ts +2 -1
- package/dist/components/DrawerNavigationGroup.d.ts +1 -1
- package/dist/components/DrawerNavigationItem.d.ts +1 -1
- package/dist/components/EntityCollectionTable/EntityCollectionRowActions.d.ts +1 -1
- package/dist/components/EntityCollectionTable/EntityCollectionTable.d.ts +2 -1
- package/dist/components/EntityCollectionTable/fields/TableMultipleRelationField.d.ts +3 -3
- package/dist/components/EntityCollectionTable/fields/TableReferenceField.d.ts +3 -3
- package/dist/components/EntityCollectionTable/fields/TableRelationField.d.ts +3 -3
- package/dist/components/EntityCollectionTable/fields/TableRelationSelectorField.d.ts +2 -1
- package/dist/components/EntityCollectionTable/fields/TableStorageUpload.d.ts +2 -2
- package/dist/components/EntityCollectionTable/fields/VirtualTableDateField.d.ts +1 -1
- package/dist/components/EntityCollectionTable/fields/VirtualTableInput.d.ts +2 -1
- package/dist/components/EntityCollectionTable/fields/VirtualTableNumberInput.d.ts +2 -1
- package/dist/components/EntityCollectionTable/fields/VirtualTableSelect.d.ts +1 -1
- package/dist/components/EntityCollectionTable/fields/VirtualTableSwitch.d.ts +2 -1
- package/dist/components/EntityCollectionTable/fields/VirtualTableUserSelect.d.ts +1 -1
- package/dist/components/EntityCollectionTable/internal/CollectionTableToolbar.d.ts +1 -1
- package/dist/components/EntityCollectionTable/internal/EntityTableCellActions.d.ts +1 -1
- package/dist/components/EntityCollectionTable/internal/popup_field/PopupFormField.d.ts +4 -3
- package/dist/components/EntityCollectionView/Board.d.ts +2 -1
- package/dist/components/EntityCollectionView/BoardColumnTitle.d.ts +1 -1
- package/dist/components/EntityCollectionView/BoardSortableList.d.ts +1 -1
- package/dist/components/EntityCollectionView/EntityBoardCard.d.ts +1 -1
- package/dist/components/EntityCollectionView/EntityCard.d.ts +2 -1
- package/dist/components/EntityCollectionView/EntityCollectionBoardView.d.ts +1 -1
- package/dist/components/EntityCollectionView/EntityCollectionCardView.d.ts +1 -1
- package/dist/components/EntityCollectionView/EntityCollectionListView.d.ts +1 -1
- package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +0 -24
- package/dist/components/EntityCollectionView/EntityCollectionViewActions.d.ts +1 -1
- package/dist/components/EntityCollectionView/EntityCollectionViewStartActions.d.ts +2 -1
- package/dist/components/EntityCollectionView/FilterPresetsButton.d.ts +2 -1
- package/dist/components/EntityCollectionView/FiltersDialog.d.ts +2 -1
- package/dist/components/EntityCollectionView/SplitListView.d.ts +1 -1
- package/dist/components/EntityCollectionView/ViewModeToggle.d.ts +2 -1
- package/dist/components/EntityDetailView.d.ts +1 -1
- package/dist/components/EntityEditView.d.ts +2 -2
- package/dist/components/EntityEditViewFormActions.d.ts +2 -1
- package/dist/components/EntityJsonPreview.d.ts +2 -1
- package/dist/components/EntityPreview.d.ts +3 -3
- package/dist/components/EntitySidePanel.d.ts +2 -1
- package/dist/components/EntityView.d.ts +2 -1
- package/dist/components/FieldCaption.d.ts +1 -1
- package/dist/components/HomePage/ContentHomePage.d.ts +1 -1
- package/dist/components/HomePage/FavouritesView.d.ts +1 -1
- package/dist/components/HomePage/HomePageDnD.d.ts +4 -4
- package/dist/components/HomePage/NavigationCard.d.ts +1 -1
- package/dist/components/HomePage/NavigationCardBinding.d.ts +2 -1
- package/dist/components/HomePage/NavigationGroup.d.ts +2 -2
- package/dist/components/HomePage/RenameGroupDialog.d.ts +2 -1
- package/dist/components/HomePage/SmallNavigationCard.d.ts +1 -1
- package/dist/components/PropertyCollectionView.d.ts +2 -1
- package/dist/components/PropertyIdCopyTooltip.d.ts +2 -2
- package/dist/components/RebaseAuthGate.d.ts +1 -1
- package/dist/components/RebaseLayout.d.ts +1 -1
- package/dist/components/RebaseNavigation.d.ts +1 -1
- package/dist/components/RebaseRouteDefs.d.ts +1 -1
- package/dist/components/RebaseShell.d.ts +1 -1
- package/dist/components/ReferenceTable/EntitySelectionTable.d.ts +1 -1
- package/dist/components/ReferenceWidget.d.ts +2 -1
- package/dist/components/SearchIconsView.d.ts +2 -1
- package/dist/components/SelectableTable/SelectableTable.d.ts +2 -2
- package/dist/components/SelectableTable/filters/BooleanFilterField.d.ts +2 -1
- package/dist/components/SelectableTable/filters/DateTimeFilterField.d.ts +2 -1
- package/dist/components/SelectableTable/filters/ReferenceFilterField.d.ts +2 -1
- package/dist/components/SelectableTable/filters/RelationFilterField.d.ts +2 -1
- package/dist/components/SelectableTable/filters/StringNumberFilterField.d.ts +2 -1
- package/dist/components/SideDialogs.d.ts +1 -1
- package/dist/components/SideEntityProvider.d.ts +1 -1
- package/dist/components/admin/CreationResultDialog.d.ts +2 -1
- package/dist/components/app/AppBar.d.ts +1 -1
- package/dist/components/app/Drawer.d.ts +1 -1
- package/dist/components/common/default_entity_actions.d.ts +2 -1
- package/dist/components/history/EntityHistoryEntry.d.ts +1 -1
- package/dist/components/history/EntityHistoryView.d.ts +1 -1
- package/dist/components/history/LastEditedByFormAction.d.ts +2 -1
- package/dist/components/history/LastEditedByIndicator.d.ts +2 -1
- package/dist/components/history/UserChip.d.ts +1 -1
- package/dist/data_export/export/BasicExportAction.d.ts +2 -1
- package/dist/data_export/export/ExportCollectionAction.d.ts +1 -1
- package/dist/data_import/components/DataNewPropertiesMapping.d.ts +1 -1
- package/dist/data_import/components/ImportFileUpload.d.ts +1 -1
- package/dist/data_import/components/ImportNewPropertyFieldPreview.d.ts +2 -1
- package/dist/data_import/components/ImportSaveInProgress.d.ts +1 -1
- package/dist/data_import/import/ImportCollectionAction.d.ts +4 -3
- package/dist/editor/components/SlashCommandMenu.d.ts +2 -1
- package/dist/editor/editor.d.ts +1 -1
- package/dist/editor/selectors/color-selector.d.ts +1 -1
- package/dist/editor/selectors/link-selector.d.ts +1 -1
- package/dist/editor/selectors/node-selector.d.ts +1 -1
- package/dist/editor/selectors/text-buttons.d.ts +1 -1
- package/dist/editor.js +2621 -3574
- package/dist/editor.js.map +1 -1
- package/dist/form/EntityForm.d.ts +2 -1
- package/dist/form/EntityFormActions.d.ts +2 -1
- package/dist/form/components/FieldHelperText.d.ts +1 -1
- package/dist/form/components/FormEntry.d.ts +1 -1
- package/dist/form/components/FormLayout.d.ts +1 -1
- package/dist/form/components/LabelWithIconAndTooltip.d.ts +1 -1
- package/dist/form/components/LocalChangesMenu.d.ts +2 -1
- package/dist/form/components/StorageItemPreview.d.ts +2 -1
- package/dist/form/components/StorageUploadProgress.d.ts +2 -1
- package/dist/form/field_bindings/ArrayCustomShapedFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/ArrayOfReferencesFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/BlockFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/DateTimeFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/KeyValueFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/MapFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/MarkdownEditorFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/MultiSelectFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/MultipleRelationFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/ReadOnlyFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/ReferenceAsStringFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/ReferenceFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/RelationFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/RepeatFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/SelectFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/StorageUploadFieldBinding.d.ts +3 -2
- package/dist/form/field_bindings/SwitchFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/TextFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/UserSelectFieldBinding.d.ts +2 -1
- package/dist/form/field_bindings/VectorFieldBinding.d.ts +2 -1
- package/dist/history-BL49TIDb.js +311 -0
- package/dist/history-BL49TIDb.js.map +1 -0
- package/dist/hooks/navigation/useBuildNavigationStateController.d.ts +0 -2
- package/dist/hooks/navigation/useNavigationResolution.d.ts +5 -6
- package/dist/hooks/navigation/useResolvedCollections.d.ts +0 -2
- package/dist/hooks/useBreadcrumbsController.d.ts +2 -32
- package/dist/index.js +2 -3393
- package/dist/markdown-CklalUUk.js +526 -0
- package/dist/markdown-CklalUUk.js.map +1 -0
- package/dist/preview/components/ArrayEnumPreview.d.ts +2 -1
- package/dist/preview/components/EmptyValue.d.ts +2 -1
- package/dist/preview/components/EnumValuesChip.d.ts +1 -1
- package/dist/preview/components/ImagePreview.d.ts +2 -1
- package/dist/preview/components/ReferencePreview.d.ts +2 -1
- package/dist/preview/components/RelationPreview.d.ts +2 -1
- package/dist/preview/components/StorageThumbnail.d.ts +1 -1
- package/dist/preview/components/UserPreview.d.ts +6 -3
- package/dist/preview/property_previews/ArrayOfMapsPreview.d.ts +2 -1
- package/dist/preview/property_previews/ArrayOfReferencesPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOfRelationsPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOfStorageComponentsPreview.d.ts +2 -1
- package/dist/preview/property_previews/ArrayOfStringsPreview.d.ts +2 -1
- package/dist/preview/property_previews/ArrayOneOfPreview.d.ts +2 -1
- package/dist/preview/property_previews/ArrayPropertyEnumPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayPropertyPreview.d.ts +2 -1
- package/dist/preview/property_previews/MapPropertyPreview.d.ts +3 -2
- package/dist/preview/property_previews/SkeletonPropertyComponent.d.ts +5 -4
- package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/routes/RebaseRoute.d.ts +1 -1
- package/dist/src-BJ8fkM8y.js +24010 -0
- package/dist/src-BJ8fkM8y.js.map +1 -0
- package/dist/types/components/PropertyPreviewProps.d.ts +4 -0
- package/dist/types/components/formex.d.ts +1 -40
- package/dist/types/fields.d.ts +9 -1
- package/dist/util/navigation_utils.d.ts +2 -1
- package/dist/util/previews.d.ts +5 -0
- package/dist/util/property_utils.d.ts +1 -1
- package/package.json +29 -27
- package/src/collection_editor/ConfigControllerProvider.tsx +10 -7
- package/src/collection_editor/ui/CollectionViewHeaderAction.tsx +2 -1
- package/src/collection_editor/ui/EditorCollectionAction.tsx +2 -1
- package/src/collection_editor/ui/EditorCollectionActionStart.tsx +2 -1
- package/src/collection_editor/ui/EditorEntityAction.tsx +2 -1
- package/src/collection_editor/ui/KanbanSetupAction.tsx +2 -1
- package/src/collection_editor/ui/MissingReferenceWidget.tsx +2 -1
- package/src/collection_editor/ui/PropertyAddColumnComponent.tsx +2 -1
- package/src/collection_editor/ui/collection_editor/CollectionDetailsForm.tsx +2 -3
- package/src/collection_editor/ui/collection_editor/CollectionEditorDialog.tsx +0 -1
- package/src/collection_editor/ui/collection_editor/CollectionPropertiesEditorForm.tsx +8 -4
- package/src/collection_editor/ui/collection_editor/CollectionRelationsTab.tsx +2 -2
- package/src/collection_editor/ui/collection_editor/DisplaySettingsForm.tsx +2 -1
- package/src/collection_editor/ui/collection_editor/PropertyEditView.tsx +2 -1
- package/src/collection_editor/ui/collection_editor/PropertyFieldPreview.tsx +2 -2
- package/src/collection_editor/ui/collection_editor/properties/RelationPropertyField.tsx +5 -2
- package/src/collection_editor/ui/collection_editor/properties/conditions/ConditionsEditor.tsx +2 -1
- package/src/collection_editor/ui/collection_editor/properties/conditions/EnumConditionsEditor.tsx +1 -1
- package/src/collection_editor/ui/collection_editor/templates/blog_template.ts +1 -1
- package/src/collection_editor/ui/collection_editor/templates/pages_template.ts +1 -1
- package/src/collection_editor/ui/collection_editor/templates/products_template.ts +1 -1
- package/src/collection_editor/ui/collection_editor/templates/users_template.ts +1 -1
- package/src/collection_editor/useLocalCollectionsConfigController.tsx +7 -2
- package/src/collection_editor/validateCollectionJson.ts +2 -2
- package/src/components/CollectionPanel.tsx +51 -25
- package/src/components/DefaultAppBar.tsx +1 -2
- package/src/components/DefaultDrawer.tsx +3 -2
- package/src/components/DrawerNavigationGroup.tsx +3 -2
- package/src/components/EntityCollectionTable/fields/TableReferenceField.tsx +30 -9
- package/src/components/EntityCollectionTable/internal/EntityTableCell.tsx +1 -1
- package/src/components/EntityCollectionTable/internal/popup_field/PopupFormField.tsx +1 -0
- package/src/components/EntityCollectionTable/internal/popup_field/useDraggable.tsx +5 -2
- package/src/components/EntityCollectionView/Board.tsx +10 -8
- package/src/components/EntityCollectionView/BoardSortableList.tsx +2 -2
- package/src/components/EntityCollectionView/EntityCollectionBoardView.tsx +4 -2
- package/src/components/EntityCollectionView/EntityCollectionCardView.tsx +14 -4
- package/src/components/EntityCollectionView/EntityCollectionListView.tsx +48 -26
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +146 -73
- package/src/components/EntityCollectionView/EntityCollectionViewActions.tsx +2 -1
- package/src/components/EntityCollectionView/EntityCollectionViewStartActions.tsx +3 -2
- package/src/components/EntityCollectionView/FilterPresetsButton.tsx +4 -2
- package/src/components/EntityCollectionView/ViewModeToggle.tsx +0 -1
- package/src/components/EntityCollectionView/useBoardDataController.tsx +17 -15
- package/src/components/EntityCollectionView/useEntityPreviewSlots.ts +32 -23
- package/src/components/EntityDetailView.tsx +72 -39
- package/src/components/EntityEditView.tsx +79 -47
- package/src/components/EntitySidePanel.tsx +9 -3
- package/src/components/HomePage/ContentHomePage.tsx +3 -3
- package/src/components/HomePage/NavigationCard.tsx +5 -5
- package/src/components/HomePage/NavigationCardBinding.tsx +1 -1
- package/src/components/RebaseLayout.tsx +5 -2
- package/src/components/RebaseNavigation.tsx +1 -4
- package/src/components/RebaseRouteDefs.tsx +5 -3
- package/src/components/SearchIconsView.tsx +1 -1
- package/src/components/SelectableTable/SelectableTable.tsx +2 -3
- package/src/components/SelectableTable/SelectionStore.ts +9 -3
- package/src/components/UserSelector.tsx +92 -2
- package/src/components/common/default_entity_actions.tsx +23 -6
- package/src/components/field_configs.tsx +6 -3
- package/src/editor/editor.tsx +1 -1
- package/src/editor/extensions/Image/index.ts +2 -2
- package/src/editor/extensions/Image.ts +2 -2
- package/src/editor/extensions/clipboard.ts +2 -2
- package/src/editor/markdown-it-plugins.d.ts +24 -0
- package/src/editor/markdown.ts +2 -3
- package/src/form/EntityForm.tsx +21 -15
- package/src/form/PropertyFieldBinding.tsx +1 -1
- package/src/form/field_bindings/KeyValueFieldBinding.tsx +1 -1
- package/src/form/field_bindings/MapFieldBinding.tsx +5 -47
- package/src/form/field_bindings/VectorFieldBinding.tsx +3 -3
- package/src/form/validation.ts +17 -15
- package/src/hooks/navigation/useBuildNavigationStateController.tsx +3 -6
- package/src/hooks/navigation/useNavigationResolution.ts +143 -19
- package/src/hooks/navigation/useResolvedCollections.ts +4 -6
- package/src/hooks/useBreadcrumbsController.tsx +2 -34
- package/src/hooks/useBuildSideEntityController.tsx +25 -3
- package/src/preview/PropertyPreview.tsx +6 -2
- package/src/preview/components/ReferencePreview.tsx +64 -13
- package/src/preview/components/RelationPreview.tsx +101 -13
- package/src/preview/components/UserPreview.tsx +5 -14
- package/src/preview/property_previews/ArrayOfMapsPreview.tsx +1 -1
- package/src/routes/RebaseRoute.tsx +5 -4
- package/src/types/components/PropertyPreviewProps.tsx +5 -0
- package/src/types/components/formex.tsx +1 -45
- package/src/types/fields.tsx +10 -1
- package/src/util/navigation_utils.ts +14 -4
- package/src/util/previews.ts +101 -4
- package/dist/CollectionEditorDialog-Bo86h-d-.js +0 -4574
- package/dist/CollectionEditorDialog-Bo86h-d-.js.map +0 -1
- package/dist/CollectionsStudioView-bsg4AT_Z.js +0 -217
- package/dist/CollectionsStudioView-bsg4AT_Z.js.map +0 -1
- package/dist/ExportCollectionAction-Cf-Id5uO.js +0 -446
- package/dist/ExportCollectionAction-Cf-Id5uO.js.map +0 -1
- package/dist/ImportCollectionAction-LN5sreK9.js +0 -685
- package/dist/ImportCollectionAction-LN5sreK9.js.map +0 -1
- package/dist/PropertyEditView-jCWCxmCz.js +0 -8197
- package/dist/PropertyEditView-jCWCxmCz.js.map +0 -1
- package/dist/collection_editor_ui.js.map +0 -1
- package/dist/index-BrqSvMG0.js +0 -8
- package/dist/index-BrqSvMG0.js.map +0 -1
- package/dist/index-Cb0bPnzZ.js +0 -12
- package/dist/index-Cb0bPnzZ.js.map +0 -1
- package/dist/index-z3H8iqsj.js +0 -462
- package/dist/index-z3H8iqsj.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/markdown-DD2JDU1X.js +0 -618
- package/dist/markdown-DD2JDU1X.js.map +0 -1
- package/dist/useEntityHistory-UVsSclfZ.js +0 -123
- package/dist/useEntityHistory-UVsSclfZ.js.map +0 -1
- package/dist/util-CvNp6A-r.js +0 -30505
- package/dist/util-CvNp6A-r.js.map +0 -1
|
@@ -31,6 +31,6 @@ export interface ConfigControllerProviderProps {
|
|
|
31
31
|
*/
|
|
32
32
|
generateCollection?: CollectionGenerationCallback;
|
|
33
33
|
}
|
|
34
|
-
export declare const ConfigControllerProvider: React.
|
|
34
|
+
export declare const ConfigControllerProvider: React.MemoExoticComponent<({ children, collectionConfigController, collectionInference, extraView, getUser, getData, onAnalyticsEvent, pathSuggestions, generateCollection }: ConfigControllerProviderProps & {
|
|
35
35
|
children?: React.ReactNode;
|
|
36
|
-
}>;
|
|
36
|
+
}) => React.JSX.Element>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { EntityCollection } from "@rebasepro/types";
|
|
2
3
|
/**
|
|
3
4
|
* Component rendered at the end of the Kanban board to add new columns (enum values).
|
|
@@ -9,4 +10,4 @@ export declare function AddKanbanColumnAction({ collection, fullPath, parentColl
|
|
|
9
10
|
parentCollectionSlugs: string[];
|
|
10
11
|
parentEntityIds: string[];
|
|
11
12
|
columnProperty: string;
|
|
12
|
-
}):
|
|
13
|
+
}): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EntityCollection, EntityTableController, Property } from "@rebasepro/types";
|
|
2
|
+
import React from "react";
|
|
2
3
|
export declare function CollectionViewHeaderAction({ propertyKey, onHover, property, path, parentCollectionSlugs, parentEntityIds, collection, tableController }: {
|
|
3
4
|
property: Property;
|
|
4
5
|
propertyKey: string;
|
|
@@ -8,4 +9,4 @@ export declare function CollectionViewHeaderAction({ propertyKey, onHover, prope
|
|
|
8
9
|
parentEntityIds: string[];
|
|
9
10
|
collection: EntityCollection;
|
|
10
11
|
tableController: EntityTableController;
|
|
11
|
-
}):
|
|
12
|
+
}): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CollectionActionsProps } from "@rebasepro/types";
|
|
2
|
-
export declare function EditorCollectionAction({ path, parentCollectionSlugs, parentEntityIds, collection, tableController }: CollectionActionsProps): import("react
|
|
2
|
+
export declare function EditorCollectionAction({ path, parentCollectionSlugs, parentEntityIds, collection, tableController }: CollectionActionsProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CollectionActionsProps } from "@rebasepro/types";
|
|
2
|
-
export declare function EditorCollectionActionStart({ path, parentCollectionSlugs, parentEntityIds, collection, tableController }: CollectionActionsProps): import("react
|
|
2
|
+
export declare function EditorCollectionActionStart({ path, parentCollectionSlugs, parentEntityIds, collection, tableController }: CollectionActionsProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PluginFormActionProps } from "@rebasepro/types";
|
|
2
|
-
export declare function EditorEntityAction({ path, parentCollectionSlugs, parentEntityIds, collection, formContext }: PluginFormActionProps): import("react
|
|
2
|
+
export declare function EditorEntityAction({ path, parentCollectionSlugs, parentEntityIds, collection, formContext }: PluginFormActionProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PluginHomePageActionsProps } from "@rebasepro/types";
|
|
2
|
-
export declare function HomePageEditorCollectionAction({ slug, collection }: PluginHomePageActionsProps): import("react
|
|
2
|
+
export declare function HomePageEditorCollectionAction({ slug, collection }: PluginHomePageActionsProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { EntityCollection } from "@rebasepro/types";
|
|
2
3
|
/**
|
|
3
4
|
* Component rendered when Kanban view is missing orderProperty configuration.
|
|
@@ -8,4 +9,4 @@ export declare function KanbanSetupAction({ collection, fullPath, parentCollecti
|
|
|
8
9
|
fullPath: string;
|
|
9
10
|
parentCollectionSlugs: string[];
|
|
10
11
|
parentEntityIds: string[];
|
|
11
|
-
}):
|
|
12
|
+
}): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function NewCollectionButton(): import("react
|
|
1
|
+
export declare function NewCollectionButton(): import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PluginHomePageAdditionalCardsProps } from "@rebasepro/types";
|
|
2
|
-
export declare function NewCollectionCard({ group, context }: PluginHomePageAdditionalCardsProps): import("react
|
|
2
|
+
export declare function NewCollectionCard({ group, context }: PluginHomePageAdditionalCardsProps): import("react").JSX.Element | null;
|
|
@@ -33,4 +33,4 @@ export interface AICollectionGeneratorPopoverProps {
|
|
|
33
33
|
*/
|
|
34
34
|
onAnalyticsEvent?: (event: string, params?: object) => void;
|
|
35
35
|
}
|
|
36
|
-
export declare function AICollectionGeneratorPopover({ existingCollection, onGenerated, generateCollection, trigger, size, showLabel, onAnalyticsEvent }: AICollectionGeneratorPopoverProps):
|
|
36
|
+
export declare function AICollectionGeneratorPopover({ existingCollection, onGenerated, generateCollection, trigger, size, showLabel, onAnalyticsEvent }: AICollectionGeneratorPopoverProps): React.JSX.Element;
|
|
@@ -16,5 +16,5 @@ export interface AIModifiedPathsContextType {
|
|
|
16
16
|
}
|
|
17
17
|
export declare function AIModifiedPathsProvider({ children }: {
|
|
18
18
|
children: React.ReactNode | any;
|
|
19
|
-
}):
|
|
19
|
+
}): React.JSX.Element;
|
|
20
20
|
export declare function useAIModifiedPaths(): AIModifiedPathsContextType | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { EntityCollection } from "@rebasepro/types";
|
|
2
3
|
export declare function CollectionDetailsForm({ isNewCollection, existingPaths, existingIds, parentCollection, expandKanban }: {
|
|
3
4
|
isNewCollection: boolean;
|
|
@@ -7,4 +8,4 @@ export declare function CollectionDetailsForm({ isNewCollection, existingPaths,
|
|
|
7
8
|
parentCollectionSlugs?: string[];
|
|
8
9
|
parentEntityIds?: string[];
|
|
9
10
|
expandKanban?: boolean;
|
|
10
|
-
}):
|
|
11
|
+
}): React.JSX.Element;
|
|
@@ -64,8 +64,8 @@ export interface CollectionEditorDialogProps {
|
|
|
64
64
|
*/
|
|
65
65
|
onFetchTableMetadata?: (tableName: string) => Promise<TableMetadata | undefined>;
|
|
66
66
|
}
|
|
67
|
-
export declare function CollectionEditorDialog(props: CollectionEditorDialogProps):
|
|
67
|
+
export declare function CollectionEditorDialog(props: CollectionEditorDialogProps): React.JSX.Element;
|
|
68
68
|
export declare function CollectionEditor(props: CollectionEditorDialogProps & {
|
|
69
69
|
handleCancel: () => void;
|
|
70
70
|
setFormDirty: (dirty: boolean) => void;
|
|
71
|
-
}):
|
|
71
|
+
}): React.JSX.Element;
|
|
@@ -10,10 +10,10 @@ export declare function CollectionEditorWelcomeView({ path, parentCollection, on
|
|
|
10
10
|
onAnalyticsEvent?: (event: string, params?: object) => void;
|
|
11
11
|
unmappedTables?: string[];
|
|
12
12
|
onImportFromTable?: (tableName: string) => void;
|
|
13
|
-
}):
|
|
13
|
+
}): React.JSX.Element;
|
|
14
14
|
export declare function TemplateButton({ title, subtitle, icon, onClick }: {
|
|
15
15
|
title: string;
|
|
16
16
|
icon: React.ReactNode | any;
|
|
17
17
|
subtitle: string;
|
|
18
18
|
onClick?: () => void;
|
|
19
|
-
}):
|
|
19
|
+
}): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { EntityCollection } from "@rebasepro/types";
|
|
2
3
|
export interface CollectionJsonImportDialogProps {
|
|
3
4
|
open: boolean;
|
|
4
5
|
onClose: () => void;
|
|
5
6
|
onImport: (collection: EntityCollection) => void;
|
|
6
7
|
}
|
|
7
|
-
export declare function CollectionJsonImportDialog({ open, onClose, onImport }: CollectionJsonImportDialogProps):
|
|
8
|
+
export declare function CollectionJsonImportDialog({ open, onClose, onImport }: CollectionJsonImportDialogProps): React.JSX.Element;
|
|
@@ -12,5 +12,5 @@ type CollectionEditorFormProps = {
|
|
|
12
12
|
doCollectionInference?: (collection: EntityCollection) => Promise<Partial<EntityCollection> | null> | undefined;
|
|
13
13
|
propertyConfigs: Record<string, PropertyConfig>;
|
|
14
14
|
};
|
|
15
|
-
export declare function CollectionPropertiesEditorForm({ showErrors, isNewCollection, propertyErrorsRef, onPropertyError, setDirty, extraIcon, getUser, getData, doCollectionInference, propertyConfigs }: CollectionEditorFormProps):
|
|
15
|
+
export declare function CollectionPropertiesEditorForm({ showErrors, isNewCollection, propertyErrorsRef, onPropertyError, setDirty, extraIcon, getUser, getData, doCollectionInference, propertyConfigs }: CollectionEditorFormProps): React.JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
/** Postgres RLS policy shape — defined inline to avoid depending on @rebasepro/studio */
|
|
2
3
|
export interface PostgresPolicy {
|
|
3
4
|
policyname: string;
|
|
@@ -9,4 +10,4 @@ export interface PostgresPolicy {
|
|
|
9
10
|
with_check: string | null;
|
|
10
11
|
status?: "live" | "code_only" | "both";
|
|
11
12
|
}
|
|
12
|
-
export declare function CollectionRLSTab():
|
|
13
|
+
export declare function CollectionRLSTab(): React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare function CollectionRelationsTab(): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { CollectionEditorDialogProps } from "./CollectionEditorDialog";
|
|
2
3
|
export type CollectionStudioViewProps = Omit<CollectionEditorDialogProps, "open" | "isNewCollection" | "editedCollectionId" | "handleClose" | "handleCancel"> & {
|
|
3
4
|
collectionId?: string | "new";
|
|
4
5
|
};
|
|
5
|
-
export declare function CollectionStudioView({ collectionId, ...props }: CollectionStudioViewProps):
|
|
6
|
+
export declare function CollectionStudioView({ collectionId, ...props }: CollectionStudioViewProps): React.JSX.Element;
|
|
@@ -3,12 +3,4 @@ export declare const CollectionEditorSchema: z.ZodObject<{
|
|
|
3
3
|
slug: z.ZodString;
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
table: z.ZodString;
|
|
6
|
-
},
|
|
7
|
-
table: string;
|
|
8
|
-
name: string;
|
|
9
|
-
slug: string;
|
|
10
|
-
}, {
|
|
11
|
-
table: string;
|
|
12
|
-
name: string;
|
|
13
|
-
slug: string;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strip>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { CollectionsConfigController } from "../../types/config_controller";
|
|
2
3
|
export interface CollectionsStudioViewProps {
|
|
3
4
|
configController: CollectionsConfigController;
|
|
4
5
|
}
|
|
5
|
-
export declare function CollectionsStudioView({ configController }: CollectionsStudioViewProps):
|
|
6
|
+
export declare function CollectionsStudioView({ configController }: CollectionsStudioViewProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { type EntityCollection } from "@rebasepro/types";
|
|
2
3
|
export declare function EntityActionsEditTab({ collection, embedded }: {
|
|
3
4
|
collection: EntityCollection;
|
|
4
5
|
embedded?: boolean;
|
|
5
|
-
}):
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { EnumValueConfig } from "@rebasepro/types";
|
|
2
3
|
type EnumFormProps = {
|
|
3
4
|
enumValues: EnumValueConfig[];
|
|
@@ -8,5 +9,5 @@ type EnumFormProps = {
|
|
|
8
9
|
allowDataInference?: boolean;
|
|
9
10
|
getData?: () => Promise<string[]>;
|
|
10
11
|
};
|
|
11
|
-
export declare function EnumForm({ enumValues, onValuesChanged, onError, updateIds, disabled, allowDataInference, getData }: EnumFormProps):
|
|
12
|
+
export declare function EnumForm({ enumValues, onValuesChanged, onError, updateIds, disabled, allowDataInference, getData }: EnumFormProps): React.JSX.Element;
|
|
12
13
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { EntityCollection } from "@rebasepro/types";
|
|
2
3
|
export declare function GeneralSettingsForm({ isNewCollection, existingPaths, existingIds, parentCollection }: {
|
|
3
4
|
isNewCollection: boolean;
|
|
4
5
|
existingPaths?: string[];
|
|
5
6
|
existingIds?: string[];
|
|
6
7
|
parentCollection?: EntityCollection;
|
|
7
|
-
}):
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EntityCollection } from "@rebasepro/types";
|
|
2
|
+
import React from "react";
|
|
2
3
|
export declare function GetCodeDialog({ collection, onOpenChange, open }: {
|
|
3
4
|
onOpenChange: (open: boolean) => void;
|
|
4
5
|
collection: EntityCollection;
|
|
5
6
|
open: boolean;
|
|
6
|
-
}):
|
|
7
|
+
}): React.JSX.Element;
|
|
@@ -2,4 +2,4 @@ export declare function LayoutModeSwitch({ value, onChange, className }: {
|
|
|
2
2
|
value: "side_panel" | "full_screen" | "split" | "dialog";
|
|
3
3
|
onChange: (value: "side_panel" | "full_screen" | "split" | "dialog") => void;
|
|
4
4
|
className?: string;
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
|
@@ -3,6 +3,7 @@ import { FormexController } from "@rebasepro/formex";
|
|
|
3
3
|
import { Property, PropertyConfig } from "@rebasepro/types";
|
|
4
4
|
export type PropertyWithId = Property & {
|
|
5
5
|
id?: string;
|
|
6
|
+
conditions?: import("@rebasepro/types").PropertyConditions;
|
|
6
7
|
};
|
|
7
8
|
export type OnPropertyChangedParams = {
|
|
8
9
|
id?: string;
|
|
@@ -32,16 +33,16 @@ export type PropertyFormProps = {
|
|
|
32
33
|
getController?: (formex: FormexController<PropertyWithId>) => void;
|
|
33
34
|
propertyConfigs: Record<string, PropertyConfig>;
|
|
34
35
|
};
|
|
35
|
-
export declare const PropertyForm: React.
|
|
36
|
+
export declare const PropertyForm: React.MemoExoticComponent<(props: PropertyFormProps) => React.JSX.Element>;
|
|
36
37
|
export declare function PropertyFormDialog({ open, onCancel, onOkClicked, onPropertyChanged, getData, ...formProps }: PropertyFormProps & {
|
|
37
38
|
open?: boolean;
|
|
38
39
|
onOkClicked?: () => void;
|
|
39
40
|
onCancel?: () => void;
|
|
40
|
-
}):
|
|
41
|
+
}): React.JSX.Element;
|
|
41
42
|
export interface PropertySelectItemProps {
|
|
42
43
|
onClick?: () => void;
|
|
43
44
|
initialProperty?: PropertyWithId;
|
|
44
45
|
propertyConfig: PropertyConfig;
|
|
45
46
|
existing: boolean;
|
|
46
47
|
}
|
|
47
|
-
export declare function WidgetSelectViewItem({ onClick, initialProperty, propertyConfig, existing }: PropertySelectItemProps):
|
|
48
|
+
export declare function WidgetSelectViewItem({ onClick, initialProperty, propertyConfig, existing }: PropertySelectItemProps): React.JSX.Element;
|
|
@@ -7,10 +7,10 @@ export declare function PropertyFieldPreview({ property, propertyKey, onClick, h
|
|
|
7
7
|
includeName?: boolean;
|
|
8
8
|
includeEditButton?: boolean;
|
|
9
9
|
onClick?: () => void;
|
|
10
|
-
}): import("react
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
11
|
export declare function NonEditablePropertyPreview({ name, selected, onClick, property }: {
|
|
12
12
|
name: string;
|
|
13
13
|
selected: boolean;
|
|
14
14
|
onClick?: () => void;
|
|
15
15
|
property?: Property;
|
|
16
|
-
}): import("react
|
|
16
|
+
}): import("react").JSX.Element;
|
|
@@ -14,7 +14,7 @@ export declare const PropertyTree: React.MemoExoticComponent<(<M extends {
|
|
|
14
14
|
onPropertyRemove?: (propertyKey: string, namespace?: string) => void;
|
|
15
15
|
className?: string;
|
|
16
16
|
inferredPropertyKeys?: string[];
|
|
17
|
-
}) =>
|
|
17
|
+
}) => React.JSX.Element)>;
|
|
18
18
|
export declare function PropertyTreeEntry({ id, propertyKey, namespace, property, additionalField, selectedPropertyKey, errors, propertiesOrder, onPropertyClick, onPropertyMove, onPropertyRemove, inferredPropertyKeys }: {
|
|
19
19
|
id: string;
|
|
20
20
|
propertyKey: string;
|
|
@@ -28,4 +28,4 @@ export declare function PropertyTreeEntry({ id, propertyKey, namespace, property
|
|
|
28
28
|
onPropertyMove?: (propertiesOrder: string[], namespace?: string) => void;
|
|
29
29
|
onPropertyRemove?: (propertyKey: string, namespace?: string) => void;
|
|
30
30
|
inferredPropertyKeys?: string[];
|
|
31
|
-
}):
|
|
31
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { EntityCollection, User } from "@rebasepro/types";
|
|
2
3
|
import { CollectionsConfigController } from "../../types/config_controller";
|
|
3
4
|
import { CollectionInference } from "../../types/collection_inference";
|
|
@@ -9,4 +10,4 @@ export declare function SubcollectionsEditTab({ collection, parentCollection, co
|
|
|
9
10
|
getUser?: (uid: string) => User | null;
|
|
10
11
|
parentCollectionSlugs?: string[];
|
|
11
12
|
parentEntityIds?: string[];
|
|
12
|
-
}):
|
|
13
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { FormexFieldProps } from "@rebasepro/formex";
|
|
2
3
|
export declare function SwitchControl({ field, form, label, tooltip, disabled, size, allowIndeterminate }: FormexFieldProps & {
|
|
3
4
|
label: string;
|
|
@@ -5,4 +6,4 @@ export declare function SwitchControl({ field, form, label, tooltip, disabled, s
|
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
size?: "small" | "medium";
|
|
7
8
|
allowIndeterminate?: boolean;
|
|
8
|
-
}):
|
|
9
|
+
}): React.JSX.Element;
|
package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportMapping.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ImportConfig } from "../../../../data_import/types";
|
|
2
2
|
import { PropertyConfig } from "@rebasepro/types";
|
|
3
|
+
import React from "react";
|
|
3
4
|
export declare function CollectionEditorImportMapping({ importConfig, propertyConfigs }: {
|
|
4
5
|
importConfig: ImportConfig;
|
|
5
6
|
propertyConfigs: Record<string, PropertyConfig>;
|
|
6
|
-
}):
|
|
7
|
+
}): React.JSX.Element;
|
|
7
8
|
export interface ImportPropertySelectItemProps {
|
|
8
9
|
value: string;
|
|
9
10
|
optionDisabled: boolean;
|
|
10
11
|
propertyConfig: PropertyConfig;
|
|
11
12
|
existing: boolean;
|
|
12
13
|
}
|
|
13
|
-
export declare function ImportPropertySelectItem({ value, optionDisabled, propertyConfig, existing }: ImportPropertySelectItemProps):
|
|
14
|
+
export declare function ImportPropertySelectItem({ value, optionDisabled, propertyConfig, existing }: ImportPropertySelectItemProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { PropertyConfig } from "@rebasepro/types";
|
|
2
3
|
export declare function BlockPropertyField({ disabled, getData, allowDataInference, propertyConfigs }: {
|
|
3
4
|
disabled: boolean;
|
|
4
5
|
getData?: () => Promise<object[]>;
|
|
5
6
|
allowDataInference: boolean;
|
|
6
7
|
propertyConfigs: Record<string, PropertyConfig>;
|
|
7
|
-
}):
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare function EnumPropertyField({ multiselect, updateIds, disabled, showErrors, allowDataInference, getData, propertyNamespace }: {
|
|
2
3
|
multiselect: boolean;
|
|
3
4
|
updateIds: boolean;
|
|
@@ -6,4 +7,4 @@ export declare function EnumPropertyField({ multiselect, updateIds, disabled, sh
|
|
|
6
7
|
allowDataInference?: boolean;
|
|
7
8
|
getData?: () => Promise<object[]>;
|
|
8
9
|
propertyNamespace?: string;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { PropertyConfig } from "@rebasepro/types";
|
|
2
3
|
export declare function MapPropertyField({ disabled, getData, allowDataInference, propertyConfigs }: {
|
|
3
4
|
disabled: boolean;
|
|
4
5
|
getData?: () => Promise<object[]>;
|
|
5
6
|
allowDataInference: boolean;
|
|
6
7
|
propertyConfigs: Record<string, PropertyConfig>;
|
|
7
|
-
}):
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare function ReferencePropertyField({ existing, multiple, disabled, showErrors, asString }: {
|
|
2
3
|
existing: boolean;
|
|
3
4
|
multiple: boolean;
|
|
4
5
|
disabled: boolean;
|
|
5
6
|
showErrors: boolean;
|
|
6
7
|
asString?: boolean;
|
|
7
|
-
}):
|
|
8
|
+
}): React.JSX.Element;
|
|
8
9
|
export declare function CollectionsSelect({ disabled, pathPath, value, setFieldValue, error, ...props }: {
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
pathPath: string;
|
|
11
12
|
value?: string;
|
|
12
13
|
setFieldValue: (field: string, value: string) => void;
|
|
13
14
|
error?: string;
|
|
14
|
-
}):
|
|
15
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
/**
|
|
2
3
|
* Property editor form for `type: "relation"` properties.
|
|
3
4
|
*
|
|
@@ -6,4 +7,4 @@
|
|
|
6
7
|
export declare function RelationPropertyField({ disabled, showErrors }: {
|
|
7
8
|
disabled: boolean;
|
|
8
9
|
showErrors: boolean;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { PropertyConfig } from "@rebasepro/types";
|
|
2
3
|
export declare function RepeatPropertyField({ showErrors, existing, disabled, getData, allowDataInference, propertyConfigs }: {
|
|
3
4
|
showErrors: boolean;
|
|
@@ -6,4 +7,4 @@ export declare function RepeatPropertyField({ showErrors, existing, disabled, ge
|
|
|
6
7
|
getData?: () => Promise<object[]>;
|
|
7
8
|
allowDataInference: boolean;
|
|
8
9
|
propertyConfigs: Record<string, PropertyConfig>;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare function StringPropertyField({ widgetId, disabled, showErrors }: {
|
|
2
3
|
widgetId: "text_field" | "multiline" | "email" | "user_select";
|
|
3
4
|
disabled: boolean;
|
|
4
5
|
showErrors: boolean;
|
|
5
|
-
}):
|
|
6
|
+
}): React.JSX.Element;
|
package/dist/collection_editor/ui/collection_editor/properties/conditions/ConditionsEditor.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { Properties } from "@rebasepro/types";
|
|
2
3
|
export interface ConditionsEditorProps {
|
|
3
4
|
disabled: boolean;
|
|
@@ -7,4 +8,4 @@ export interface ConditionsEditorProps {
|
|
|
7
8
|
*/
|
|
8
9
|
collectionProperties?: Properties;
|
|
9
10
|
}
|
|
10
|
-
export declare function ConditionsEditor({ disabled, collectionProperties }: ConditionsEditorProps):
|
|
11
|
+
export declare function ConditionsEditor({ disabled, collectionProperties }: ConditionsEditorProps): React.JSX.Element;
|
package/dist/collection_editor/ui/collection_editor/properties/conditions/EnumConditionsEditor.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { Properties } from "@rebasepro/types";
|
|
2
3
|
export interface EnumConditionsEditorProps {
|
|
3
4
|
disabled: boolean;
|
|
4
5
|
collectionProperties?: Properties;
|
|
5
6
|
}
|
|
6
|
-
export declare function EnumConditionsEditor({ disabled, collectionProperties }: EnumConditionsEditorProps):
|
|
7
|
+
export declare function EnumConditionsEditor({ disabled, collectionProperties }: EnumConditionsEditorProps): React.JSX.Element | null;
|