@rebasepro/admin 0.16.0 → 0.16.1-canary.g701140a
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/dist/collection_editor/ConfigControllerProvider.d.ts +4 -4
- package/dist/collection_editor/_cms_internals.d.ts +23 -23
- package/dist/collection_editor/api/index.d.ts +1 -1
- package/dist/collection_editor/extensibility_types.d.ts +1 -1
- package/dist/collection_editor/index.d.ts +21 -21
- package/dist/collection_editor/serializable_utils.d.ts +1 -1
- package/dist/collection_editor/types/collection_editor_controller.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/CollectionEditorDialog.d.ts +4 -4
- package/dist/collection_editor/ui/collection_editor/CollectionEditorWelcomeView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/CollectionPropertiesEditorForm.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/CollectionStudioView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/CollectionsStudioView.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/GeneralSettingsForm.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/PropertyEditView.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/RouterCollectionStudioView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/RouterCollectionsStudioView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/SubcollectionsEditTab.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportDataPreview.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportMapping.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/import/clean_import_data.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/properties/conditions/index.d.ts +6 -6
- package/dist/collection_editor/useCollectionEditorController.d.ts +1 -1
- package/dist/collection_editor/useCollectionsConfigController.d.ts +1 -1
- package/dist/collection_editor/useJsonCollectionsConfigController.d.ts +2 -2
- package/dist/collection_editor/useLocalCollectionsConfigController.d.ts +1 -1
- package/dist/collection_editor_ui.d.ts +12 -12
- package/dist/components/CollectionTableBinding/CollectionTableBinding.d.ts +1 -1
- package/dist/components/CollectionTableBinding/PropertyTableCell.d.ts +1 -1
- package/dist/components/CollectionTableBinding/fields/TableStorageUpload.d.ts +1 -1
- package/dist/components/CollectionTableBinding/index.d.ts +5 -5
- package/dist/components/CollectionTableBinding/internal/popup_field/PopupFormField.d.ts +1 -1
- package/dist/components/CollectionViewBinding/SlotValue.d.ts +2 -2
- package/dist/components/CollectionViewBinding/hooks/useKanbanDragAndDrop.d.ts +1 -1
- package/dist/components/EditFormActions.d.ts +1 -1
- package/dist/components/EditViewBinding.d.ts +3 -3
- package/dist/components/EntityInspector.d.ts +1 -1
- package/dist/components/EntityPreviewBinding.d.ts +1 -1
- package/dist/components/EntityViewBinding.d.ts +1 -1
- package/dist/components/HomePage/index.d.ts +4 -4
- package/dist/components/PropertyCollectionView.d.ts +1 -1
- package/dist/components/ReferenceWidget.d.ts +1 -1
- package/dist/components/admin/index.d.ts +1 -1
- package/dist/components/app/AppBar.d.ts +1 -1
- package/dist/components/app/index.d.ts +4 -4
- package/dist/components/common/index.d.ts +1 -1
- package/dist/components/field_configs.d.ts +1 -1
- package/dist/components/history/EntityHistoryEntry.d.ts +2 -2
- package/dist/components/history/index.d.ts +5 -5
- package/dist/components/index.d.ts +45 -45
- package/dist/data_export/export/index.d.ts +4 -4
- package/dist/data_export/index.d.ts +1 -1
- package/dist/data_import/components/DataNewPropertiesMapping.d.ts +1 -1
- package/dist/data_import/components/ImportSaveInProgress.d.ts +1 -1
- package/dist/data_import/components/index.d.ts +4 -4
- package/dist/data_import/hooks/index.d.ts +1 -1
- package/dist/data_import/hooks/useImportConfig.d.ts +1 -1
- package/dist/data_import/import/ImportCollectionAction.d.ts +1 -1
- package/dist/data_import/import/index.d.ts +1 -1
- package/dist/data_import/index.d.ts +5 -5
- package/dist/data_import/types/index.d.ts +1 -1
- package/dist/data_import/utils/file_to_json.d.ts +1 -1
- package/dist/data_import/utils/index.d.ts +5 -5
- package/dist/editor/components/SlashCommandMenu.d.ts +2 -2
- package/dist/editor/components/index.d.ts +5 -5
- package/dist/editor/editor.d.ts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/nodeViews/ImageComponent.d.ts +1 -1
- package/dist/editor/nodeViews/TaskItemComponent.d.ts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/form/EntityForm.d.ts +1 -1
- package/dist/form/EntityFormActions.d.ts +1 -1
- package/dist/form/EntityFormBinding.d.ts +1 -1
- package/dist/form/PropertyFieldBinding.d.ts +1 -1
- package/dist/form/components/StorageItemPreview.d.ts +1 -1
- package/dist/form/components/index.d.ts +6 -6
- package/dist/form/field_bindings/ArrayCustomShapedFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/ArrayOfReferencesFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/BinaryFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/BlockFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/DateTimeFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/GeopointFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/KeyValueFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/MapFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/MarkdownEditorFieldBinding.d.ts +2 -2
- package/dist/form/field_bindings/MultiSelectFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/MultipleRelationFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/ReadOnlyFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/ReferenceFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/RelationFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/RepeatFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/SelectFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/StorageUploadFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/SwitchFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/TextFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/UserSelectFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/VectorFieldBinding.d.ts +1 -1
- package/dist/form/index.d.ts +24 -24
- package/dist/hooks/index.d.ts +16 -16
- package/dist/hooks/navigation/contexts/index.d.ts +3 -3
- package/dist/hooks/useBuildSideDialogsController.d.ts +1 -1
- package/dist/hooks/useSelectionDialog.d.ts +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/preview/PropertyPreview.d.ts +1 -1
- package/dist/preview/components/ArrayEnumPreview.d.ts +1 -1
- package/dist/preview/components/BooleanPreview.d.ts +1 -1
- package/dist/preview/components/ImagePreview.d.ts +1 -1
- package/dist/preview/components/ReferencePreview.d.ts +1 -1
- package/dist/preview/components/RelationPreview.d.ts +1 -1
- package/dist/preview/components/StorageThumbnail.d.ts +1 -1
- package/dist/preview/components/UrlComponentPreview.d.ts +2 -2
- package/dist/preview/components/UserPreview.d.ts +1 -1
- package/dist/preview/index.d.ts +24 -24
- package/dist/preview/property_previews/ArrayOfMapsPreview.d.ts +1 -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 +1 -1
- package/dist/preview/property_previews/ArrayOfStringsPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOneOfPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayPropertyEnumPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayPropertyPreview.d.ts +1 -1
- package/dist/preview/property_previews/MapPropertyPreview.d.ts +1 -1
- package/dist/preview/property_previews/NumberPropertyPreview.d.ts +1 -1
- package/dist/preview/property_previews/SkeletonPropertyComponent.d.ts +1 -1
- package/dist/preview/property_previews/StringPropertyPreview.d.ts +1 -1
- package/dist/preview/util.d.ts +1 -1
- package/dist/routes/index.d.ts +2 -2
- package/dist/types/components/EntityFormActionsProps.d.ts +2 -2
- package/dist/types/components/EntityFormProps.d.ts +3 -3
- package/dist/types/components/index.d.ts +3 -3
- package/dist/types/fields.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/util/index.d.ts +5 -5
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from "./types";
|
|
2
|
-
export type { RichTextEditorProps, RichTextEditorTextSize, JSONContent, EditorAIController } from "./editor";
|
|
3
|
-
export * from "./form";
|
|
4
|
-
export * from "./preview";
|
|
5
|
-
export * from "./routes";
|
|
6
|
-
export { EntityViewBinding, SelectionTableBinding, SelectableTable, SelectableTableContext, CollectionViewBinding, CollectionViewActions, CollectionCardViewBinding, EntityCardBinding, useSelectionController, PropertyConfigBadge, PropertyIdCopyTooltip, CollectionTableBinding, CollectionRowActions, VirtualTableInput, ArrayContainer, type ArrayEntryParams, ReferenceWidget, SearchIconsView, FieldCaption, EntityPreviewBinding, getFieldConfig, getFieldId, getDefaultFieldConfig, getDefaultFieldId, DEFAULT_FIELD_CONFIGS, editEntityAction, copyEntityAction, deleteEntityAction, resetPasswordAction, SidePanelProvider, Scaffold, AppBar, Drawer, DefaultDrawer, DrawerFooterActions, DrawerNavigationItem, DrawerNavigationGroup, AdminModeSyncer, RebaseAdmin, RebaseShell, RebaseAuthGate, RebaseNavigation, RebaseLayout, RebaseRouteDefs, SideDialogs, useApp, CollectionPanel } from "./components";
|
|
7
|
-
export type { EntityViewBindingProps, SelectionProps, SelectableTableProps, CollectionPanelProps, DrawerNavigationGroupProps, DrawerNavigationItemProps } from "./components";
|
|
8
|
-
export * from "./hooks";
|
|
9
|
-
export { addInitialSlash, removeInitialSlash, removeTrailingSlash, removeInitialAndTrailingSlashes, getLastSegment, getCollectionBySlugWithin, getCollectionPathsCombinations, resolveCollectionPathIds, mergeEntityActions, resolveEntityAction, resolveEntityView, isReferenceProperty, isRelationProperty, getIconForWidget, getIconForProperty, getPropertyInPath, getResolvedPropertyInPath, getBracketNotation, getPropertiesWithPropertiesOrder, getDefaultPropertiesOrder, getEntityPreviewKeys, getEntityTitlePropertyKey, getEntityTitlePropertyKeyForEntity } from "./util";
|
|
10
|
-
export { mapPropertyToConfig, mapPropertiesToConfigs } from "./util/propertyConfigMapper";
|
|
11
|
-
export { useCollectionDataController, createStaticDataController } from "./util/dataControllerAdapter";
|
|
12
|
-
export * from "./data_import";
|
|
13
|
-
export * from "./data_export";
|
|
14
|
-
export * from "./collection_editor";
|
|
15
|
-
export { CreationResultDialog } from "./components/admin/CreationResultDialog";
|
|
1
|
+
export * from "./types/index.js";
|
|
2
|
+
export type { RichTextEditorProps, RichTextEditorTextSize, JSONContent, EditorAIController } from "./editor/index.js";
|
|
3
|
+
export * from "./form/index.js";
|
|
4
|
+
export * from "./preview/index.js";
|
|
5
|
+
export * from "./routes/index.js";
|
|
6
|
+
export { EntityViewBinding, SelectionTableBinding, SelectableTable, SelectableTableContext, CollectionViewBinding, CollectionViewActions, CollectionCardViewBinding, EntityCardBinding, useSelectionController, PropertyConfigBadge, PropertyIdCopyTooltip, CollectionTableBinding, CollectionRowActions, VirtualTableInput, ArrayContainer, type ArrayEntryParams, ReferenceWidget, SearchIconsView, FieldCaption, EntityPreviewBinding, getFieldConfig, getFieldId, getDefaultFieldConfig, getDefaultFieldId, DEFAULT_FIELD_CONFIGS, editEntityAction, copyEntityAction, deleteEntityAction, resetPasswordAction, SidePanelProvider, Scaffold, AppBar, Drawer, DefaultDrawer, DrawerFooterActions, DrawerNavigationItem, DrawerNavigationGroup, AdminModeSyncer, RebaseAdmin, RebaseShell, RebaseAuthGate, RebaseNavigation, RebaseLayout, RebaseRouteDefs, SideDialogs, useApp, CollectionPanel } from "./components/index.js";
|
|
7
|
+
export type { EntityViewBindingProps, SelectionProps, SelectableTableProps, CollectionPanelProps, DrawerNavigationGroupProps, DrawerNavigationItemProps } from "./components/index.js";
|
|
8
|
+
export * from "./hooks/index.js";
|
|
9
|
+
export { addInitialSlash, removeInitialSlash, removeTrailingSlash, removeInitialAndTrailingSlashes, getLastSegment, getCollectionBySlugWithin, getCollectionPathsCombinations, resolveCollectionPathIds, mergeEntityActions, resolveEntityAction, resolveEntityView, isReferenceProperty, isRelationProperty, getIconForWidget, getIconForProperty, getPropertyInPath, getResolvedPropertyInPath, getBracketNotation, getPropertiesWithPropertiesOrder, getDefaultPropertiesOrder, getEntityPreviewKeys, getEntityTitlePropertyKey, getEntityTitlePropertyKeyForEntity } from "./util/index.js";
|
|
10
|
+
export { mapPropertyToConfig, mapPropertiesToConfigs } from "./util/propertyConfigMapper.js";
|
|
11
|
+
export { useCollectionDataController, createStaticDataController } from "./util/dataControllerAdapter.js";
|
|
12
|
+
export * from "./data_import/index.js";
|
|
13
|
+
export * from "./data_export/index.js";
|
|
14
|
+
export * from "./collection_editor/index.js";
|
|
15
|
+
export { CreationResultDialog } from "./components/admin/CreationResultDialog.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Property } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { EnumValueConfig } from "@rebasepro/types";
|
|
3
|
-
import type { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Property } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { EntityReference } from "@rebasepro/types";
|
|
3
|
-
import type { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
export type ReferencePreviewProps = {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
reference: EntityReference;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { EntityRelation } from "@rebasepro/types";
|
|
3
|
-
import type { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
export type RelationPreviewProps = {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
relation: EntityRelation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
2
|
+
import type { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
3
3
|
type StorageThumbnailProps = {
|
|
4
4
|
storagePathOrDownloadUrl: string;
|
|
5
5
|
storeUrl: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PreviewType } from "@rebasepro/admin-types";
|
|
3
|
-
import type { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
4
|
-
import { sanitizeUrl } from "../util";
|
|
3
|
+
import type { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
4
|
+
import { sanitizeUrl } from "../util.js";
|
|
5
5
|
export { sanitizeUrl };
|
|
6
6
|
/**
|
|
7
7
|
* @group Preview components
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
1
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
2
2
|
import type { StringProperty } from "@rebasepro/types";
|
|
3
3
|
import React from "react";
|
|
4
4
|
/**
|
package/dist/preview/index.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { PropertyPreview } from "./PropertyPreview";
|
|
2
|
-
export * from "./property_previews/ArrayOfStringsPreview";
|
|
3
|
-
export * from "./property_previews/ArrayPropertyEnumPreview";
|
|
4
|
-
export * from "./property_previews/ArrayOfMapsPreview";
|
|
5
|
-
export * from "./property_previews/NumberPropertyPreview";
|
|
6
|
-
export * from "./property_previews/StringPropertyPreview";
|
|
7
|
-
export * from "./property_previews/ArrayOfStorageComponentsPreview";
|
|
8
|
-
export * from "./property_previews/ArrayOfReferencesPreview";
|
|
9
|
-
export * from "./property_previews/MapPropertyPreview";
|
|
10
|
-
export * from "./property_previews/ArrayPropertyPreview";
|
|
11
|
-
export * from "./property_previews/ArrayOneOfPreview";
|
|
12
|
-
export * from "./property_previews/SkeletonPropertyComponent";
|
|
13
|
-
export * from "./components/DatePreview";
|
|
14
|
-
export * from "./components/UrlComponentPreview";
|
|
15
|
-
export * from "./components/StorageThumbnail";
|
|
16
|
-
export * from "./components/ArrayEnumPreview";
|
|
17
|
-
export * from "./components/BooleanPreview";
|
|
18
|
-
export * from "./components/EnumValuesChip";
|
|
19
|
-
export * from "./components/EmptyValue";
|
|
20
|
-
export * from "./components/ImagePreview";
|
|
21
|
-
export * from "./components/ReferencePreview";
|
|
22
|
-
export * from "./components/RelationPreview";
|
|
23
|
-
export * from "./components/InlineEntityListPreview";
|
|
24
|
-
export * from "./components/UserPreview";
|
|
1
|
+
export { PropertyPreview } from "./PropertyPreview.js";
|
|
2
|
+
export * from "./property_previews/ArrayOfStringsPreview.js";
|
|
3
|
+
export * from "./property_previews/ArrayPropertyEnumPreview.js";
|
|
4
|
+
export * from "./property_previews/ArrayOfMapsPreview.js";
|
|
5
|
+
export * from "./property_previews/NumberPropertyPreview.js";
|
|
6
|
+
export * from "./property_previews/StringPropertyPreview.js";
|
|
7
|
+
export * from "./property_previews/ArrayOfStorageComponentsPreview.js";
|
|
8
|
+
export * from "./property_previews/ArrayOfReferencesPreview.js";
|
|
9
|
+
export * from "./property_previews/MapPropertyPreview.js";
|
|
10
|
+
export * from "./property_previews/ArrayPropertyPreview.js";
|
|
11
|
+
export * from "./property_previews/ArrayOneOfPreview.js";
|
|
12
|
+
export * from "./property_previews/SkeletonPropertyComponent.js";
|
|
13
|
+
export * from "./components/DatePreview.js";
|
|
14
|
+
export * from "./components/UrlComponentPreview.js";
|
|
15
|
+
export * from "./components/StorageThumbnail.js";
|
|
16
|
+
export * from "./components/ArrayEnumPreview.js";
|
|
17
|
+
export * from "./components/BooleanPreview.js";
|
|
18
|
+
export * from "./components/EnumValuesChip.js";
|
|
19
|
+
export * from "./components/EmptyValue.js";
|
|
20
|
+
export * from "./components/ImagePreview.js";
|
|
21
|
+
export * from "./components/ReferencePreview.js";
|
|
22
|
+
export * from "./components/RelationPreview.js";
|
|
23
|
+
export * from "./components/InlineEntityListPreview.js";
|
|
24
|
+
export * from "./components/UserPreview.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
2
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
3
3
|
/**
|
|
4
4
|
* @group Preview components
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
2
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
3
3
|
/**
|
|
4
4
|
* @group Preview components
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
2
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
3
3
|
/**
|
|
4
4
|
* @group Preview components
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ArrayProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MapProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NumberProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Property } from "@rebasepro/types";
|
|
2
|
-
import { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
2
|
+
import { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
export interface SkeletonPropertyComponentProps {
|
|
5
5
|
property: Property;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StringProperty } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PropertyPreviewProps } from "../../types/components/PropertyPreviewProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* @group Preview components
|
|
6
6
|
*/
|
package/dist/preview/util.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollectionSize } from "@rebasepro/admin-types";
|
|
2
|
-
import type { PreviewSize } from "../types/components/PropertyPreviewProps";
|
|
2
|
+
import type { PreviewSize } from "../types/components/PropertyPreviewProps.js";
|
|
3
3
|
export declare function sanitizeUrl(url: string | undefined): string;
|
|
4
4
|
export declare const SMALL_THUMBNAIL = 40;
|
|
5
5
|
export declare const MEDIUM_THUMBNAIL = 100;
|
package/dist/routes/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./CustomViewRoute";
|
|
2
|
-
export * from "./RebaseRoute";
|
|
1
|
+
export * from "./CustomViewRoute.js";
|
|
2
|
+
export * from "./RebaseRoute.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Entity } from "@rebasepro/types";
|
|
2
|
-
import { FormContext } from "../fields";
|
|
3
|
-
import { FormexController } from "./formex";
|
|
2
|
+
import { FormContext } from "../fields.js";
|
|
3
|
+
import { FormexController } from "./formex.js";
|
|
4
4
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
5
5
|
export interface EntityFormActionsProps {
|
|
6
6
|
path: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Entity, EntityStatus } from "@rebasepro/types";
|
|
2
2
|
import { EntityCustomViewParams, AdminCollection } from "@rebasepro/admin-types";
|
|
3
|
-
import { FormContext } from "../fields";
|
|
4
|
-
import { FormexController } from "./formex";
|
|
5
|
-
import { EntityFormActionsProps } from "./EntityFormActionsProps";
|
|
3
|
+
import { FormContext } from "../fields.js";
|
|
4
|
+
import { FormexController } from "./formex.js";
|
|
5
|
+
import { EntityFormActionsProps } from "./EntityFormActionsProps.js";
|
|
6
6
|
/**
|
|
7
7
|
* Props for the headless EntityForm component.
|
|
8
8
|
* This form can be used without admin context — all backend concerns
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./PropertyPreviewProps";
|
|
2
|
-
export * from "./EntityFormProps";
|
|
3
|
-
export * from "./EntityFormActionsProps";
|
|
1
|
+
export * from "./PropertyPreviewProps.js";
|
|
2
|
+
export * from "./EntityFormProps.js";
|
|
3
|
+
export * from "./EntityFormActionsProps.js";
|
package/dist/types/fields.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InferPropertyType } from "@rebasepro/types";
|
|
2
2
|
import { Entity } from "@rebasepro/types";
|
|
3
|
-
import { FormexController } from "./components/formex";
|
|
3
|
+
import { FormexController } from "./components/formex.js";
|
|
4
4
|
import { Property } from "@rebasepro/types";
|
|
5
5
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
6
6
|
export type DefaultFieldConfig = "text_field" | "multiline" | "markdown" | "url" | "email" | "switch" | "select" | "multi_select" | "user_select" | "number_input" | "number_select" | "multi_number_select" | "file_upload" | "multi_file_upload" | "reference" | "multi_references" | "relation" | "date_time" | "group" | "key_value" | "repeat" | "custom_array" | "block" | "vector_input" | "geopoint" | "binary";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./fields";
|
|
2
|
-
export * from "./components";
|
|
1
|
+
export * from "./fields.js";
|
|
2
|
+
export * from "./components/index.js";
|
package/dist/util/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./entity_actions";
|
|
2
|
-
export * from "./navigation_utils";
|
|
3
|
-
export * from "./resolutions";
|
|
4
|
-
export * from "./property_utils";
|
|
5
|
-
export * from "./previews";
|
|
1
|
+
export * from "./entity_actions.js";
|
|
2
|
+
export * from "./navigation_utils.js";
|
|
3
|
+
export * from "./resolutions.js";
|
|
4
|
+
export * from "./property_utils.js";
|
|
5
|
+
export * from "./previews.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/admin",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.1-canary.g701140a",
|
|
5
5
|
"description": "Rebase CMS — content management views, forms, and routing",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/rebaseco"
|
|
@@ -83,14 +83,14 @@
|
|
|
83
83
|
"react-dropzone": "^19.1.1",
|
|
84
84
|
"react-use-measure": "^2.1.7",
|
|
85
85
|
"zod": "^4.4.3",
|
|
86
|
-
"@rebasepro/admin-types": "0.16.
|
|
87
|
-
"@rebasepro/
|
|
88
|
-
"@rebasepro/
|
|
89
|
-
"@rebasepro/
|
|
90
|
-
"@rebasepro/inference": "0.16.
|
|
91
|
-
"@rebasepro/
|
|
92
|
-
"@rebasepro/
|
|
93
|
-
"@rebasepro/utils": "0.16.
|
|
86
|
+
"@rebasepro/admin-types": "0.16.1-canary.g701140a",
|
|
87
|
+
"@rebasepro/forms": "0.16.1-canary.g701140a",
|
|
88
|
+
"@rebasepro/app": "0.16.1-canary.g701140a",
|
|
89
|
+
"@rebasepro/common": "0.16.1-canary.g701140a",
|
|
90
|
+
"@rebasepro/inference": "0.16.1-canary.g701140a",
|
|
91
|
+
"@rebasepro/types": "0.16.1-canary.g701140a",
|
|
92
|
+
"@rebasepro/ui": "0.16.1-canary.g701140a",
|
|
93
|
+
"@rebasepro/utils": "0.16.1-canary.g701140a"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"react": ">=19.2.7",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
},
|
|
163
163
|
"scripts": {
|
|
164
164
|
"watch": "vite build --watch",
|
|
165
|
-
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
|
|
165
|
+
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
|
|
166
166
|
"test:lint": "eslint \"src/**\" --quiet",
|
|
167
167
|
"test": "jest --passWithNoTests",
|
|
168
168
|
"clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f",
|