@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
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
export type { EntityViewBindingProps } from "./EntityViewBinding";
|
|
2
|
-
export { EntityViewBinding } from "./EntityViewBinding";
|
|
3
|
-
export type { EntityDisplayHeaderProps } from "./EntityDisplayHeader";
|
|
4
|
-
export { EntityDisplayHeader, HEADER_DISPLAY_ROLES } from "./EntityDisplayHeader";
|
|
5
|
-
export * from "./DetailViewBinding";
|
|
6
|
-
export type { SelectionProps } from "./ReferenceTable/SelectionTableBinding";
|
|
7
|
-
export { SelectionTableBinding } from "./ReferenceTable/SelectionTableBinding";
|
|
8
|
-
export * from "./SelectableTable/SelectableTable";
|
|
9
|
-
export * from "./SelectableTable/SelectableTableContext";
|
|
10
|
-
export * from "./SelectableTable/filters/FilterFieldBinding";
|
|
11
|
-
export * from "./CollectionViewBinding/CollectionViewBinding";
|
|
12
|
-
export * from "./CollectionViewBinding/CollectionViewActions";
|
|
13
|
-
export * from "./CollectionViewBinding/CollectionCardViewBinding";
|
|
14
|
-
export * from "./CollectionViewBinding/EntityCardBinding";
|
|
15
|
-
export * from "./CollectionViewBinding/useSelectionController";
|
|
16
|
-
export * from "./PropertyConfigBadge";
|
|
17
|
-
export * from "./PropertyIdCopyTooltip";
|
|
18
|
-
export * from "./CollectionTableBinding";
|
|
19
|
-
export * from "./ArrayContainer";
|
|
20
|
-
export * from "./ReferenceWidget";
|
|
21
|
-
export * from "./SearchIconsView";
|
|
22
|
-
export * from "./FieldCaption";
|
|
23
|
-
export * from "./EntityPreviewBinding";
|
|
24
|
-
export * from "./EntityPreviewNesting";
|
|
25
|
-
export * from "./InlineEntityPreview";
|
|
26
|
-
export * from "./common";
|
|
27
|
-
export * from "./field_configs";
|
|
28
|
-
export * from "./SidePanelProvider";
|
|
29
|
-
export * from "./AdminModeSyncer";
|
|
30
|
-
export * from "./app/AppBar";
|
|
31
|
-
export * from "./app/Drawer";
|
|
32
|
-
export * from "./app/Scaffold";
|
|
33
|
-
export * from "./DefaultAppBar";
|
|
34
|
-
export * from "./DefaultDrawer";
|
|
35
|
-
export * from "./DrawerNavigationItem";
|
|
36
|
-
export * from "./DrawerNavigationGroup";
|
|
37
|
-
export * from "./SideDialogs";
|
|
38
|
-
export * from "./app/useApp";
|
|
39
|
-
export * from "./RebaseAdmin";
|
|
40
|
-
export * from "./RebaseShell";
|
|
41
|
-
export * from "./RebaseAuthGate";
|
|
42
|
-
export * from "./RebaseNavigation";
|
|
43
|
-
export * from "./RebaseLayout";
|
|
44
|
-
export * from "./RebaseRouteDefs";
|
|
45
|
-
export * from "./CollectionPanel";
|
|
1
|
+
export type { EntityViewBindingProps } from "./EntityViewBinding.js";
|
|
2
|
+
export { EntityViewBinding } from "./EntityViewBinding.js";
|
|
3
|
+
export type { EntityDisplayHeaderProps } from "./EntityDisplayHeader.js";
|
|
4
|
+
export { EntityDisplayHeader, HEADER_DISPLAY_ROLES } from "./EntityDisplayHeader.js";
|
|
5
|
+
export * from "./DetailViewBinding.js";
|
|
6
|
+
export type { SelectionProps } from "./ReferenceTable/SelectionTableBinding.js";
|
|
7
|
+
export { SelectionTableBinding } from "./ReferenceTable/SelectionTableBinding.js";
|
|
8
|
+
export * from "./SelectableTable/SelectableTable.js";
|
|
9
|
+
export * from "./SelectableTable/SelectableTableContext.js";
|
|
10
|
+
export * from "./SelectableTable/filters/FilterFieldBinding.js";
|
|
11
|
+
export * from "./CollectionViewBinding/CollectionViewBinding.js";
|
|
12
|
+
export * from "./CollectionViewBinding/CollectionViewActions.js";
|
|
13
|
+
export * from "./CollectionViewBinding/CollectionCardViewBinding.js";
|
|
14
|
+
export * from "./CollectionViewBinding/EntityCardBinding.js";
|
|
15
|
+
export * from "./CollectionViewBinding/useSelectionController.js";
|
|
16
|
+
export * from "./PropertyConfigBadge.js";
|
|
17
|
+
export * from "./PropertyIdCopyTooltip.js";
|
|
18
|
+
export * from "./CollectionTableBinding/index.js";
|
|
19
|
+
export * from "./ArrayContainer.js";
|
|
20
|
+
export * from "./ReferenceWidget.js";
|
|
21
|
+
export * from "./SearchIconsView.js";
|
|
22
|
+
export * from "./FieldCaption.js";
|
|
23
|
+
export * from "./EntityPreviewBinding.js";
|
|
24
|
+
export * from "./EntityPreviewNesting.js";
|
|
25
|
+
export * from "./InlineEntityPreview.js";
|
|
26
|
+
export * from "./common/index.js";
|
|
27
|
+
export * from "./field_configs.js";
|
|
28
|
+
export * from "./SidePanelProvider.js";
|
|
29
|
+
export * from "./AdminModeSyncer.js";
|
|
30
|
+
export * from "./app/AppBar.js";
|
|
31
|
+
export * from "./app/Drawer.js";
|
|
32
|
+
export * from "./app/Scaffold.js";
|
|
33
|
+
export * from "./DefaultAppBar.js";
|
|
34
|
+
export * from "./DefaultDrawer.js";
|
|
35
|
+
export * from "./DrawerNavigationItem.js";
|
|
36
|
+
export * from "./DrawerNavigationGroup.js";
|
|
37
|
+
export * from "./SideDialogs.js";
|
|
38
|
+
export * from "./app/useApp.js";
|
|
39
|
+
export * from "./RebaseAdmin.js";
|
|
40
|
+
export * from "./RebaseShell.js";
|
|
41
|
+
export * from "./RebaseAuthGate.js";
|
|
42
|
+
export * from "./RebaseNavigation.js";
|
|
43
|
+
export * from "./RebaseLayout.js";
|
|
44
|
+
export * from "./RebaseRouteDefs.js";
|
|
45
|
+
export * from "./CollectionPanel.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./export";
|
|
2
|
-
export * from "./fetch_export_data";
|
|
3
|
-
export * from "./BasicExportAction";
|
|
4
|
-
export * from "./ExportCollectionAction";
|
|
1
|
+
export * from "./export.js";
|
|
2
|
+
export * from "./fetch_export_data.js";
|
|
3
|
+
export * from "./BasicExportAction.js";
|
|
4
|
+
export * from "./ExportCollectionAction.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./export";
|
|
1
|
+
export * from "./export/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImportConfig } from "../types";
|
|
1
|
+
import { ImportConfig } from "../types/index.js";
|
|
2
2
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
3
3
|
export declare function ImportSaveInProgress<C extends AdminCollection<any>>({ path, importConfig, collection, onImportSuccess }: {
|
|
4
4
|
path: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./DataNewPropertiesMapping";
|
|
2
|
-
export * from "./ImportFileUpload";
|
|
3
|
-
export * from "./ImportNewPropertyFieldPreview";
|
|
4
|
-
export * from "./ImportSaveInProgress";
|
|
1
|
+
export * from "./DataNewPropertiesMapping.js";
|
|
2
|
+
export * from "./ImportFileUpload.js";
|
|
3
|
+
export * from "./ImportNewPropertyFieldPreview.js";
|
|
4
|
+
export * from "./ImportSaveInProgress.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./useImportConfig";
|
|
1
|
+
export * from "./useImportConfig.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ImportConfig } from "../types";
|
|
1
|
+
import { ImportConfig } from "../types/index.js";
|
|
2
2
|
export declare const useImportConfig: () => ImportConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Properties, Property, User } from "@rebasepro/types";
|
|
3
3
|
import { CollectionActionsProps } from "@rebasepro/admin-types";
|
|
4
|
-
import { ImportConfig } from "../types";
|
|
4
|
+
import { ImportConfig } from "../types/index.js";
|
|
5
5
|
export declare function ImportCollectionAction<M extends Record<string, unknown>, USER extends User>({ collection, path, onAnalyticsEvent }: CollectionActionsProps<M, USER> & {
|
|
6
6
|
onAnalyticsEvent?: (event: string, params?: any) => void;
|
|
7
7
|
}): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./ImportCollectionAction";
|
|
1
|
+
export * from "./ImportCollectionAction.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./components";
|
|
2
|
-
export * from "./types";
|
|
3
|
-
export * from "./utils";
|
|
4
|
-
export * from "./hooks";
|
|
5
|
-
export * from "./import";
|
|
1
|
+
export * from "./components/index.js";
|
|
2
|
+
export * from "./types/index.js";
|
|
3
|
+
export * from "./utils/index.js";
|
|
4
|
+
export * from "./hooks/index.js";
|
|
5
|
+
export * from "./import/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./column_mapping";
|
|
1
|
+
export * from "./column_mapping.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./file_to_json";
|
|
2
|
-
export * from "./csv";
|
|
3
|
-
export * from "./save_entities";
|
|
4
|
-
export * from "./data";
|
|
5
|
-
export * from "./get_import_inference_type";
|
|
1
|
+
export * from "./file_to_json.js";
|
|
2
|
+
export * from "./csv.js";
|
|
3
|
+
export * from "./save_entities.js";
|
|
4
|
+
export * from "./data.js";
|
|
5
|
+
export * from "./get_import_inference_type.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { EditorAIController } from "../types";
|
|
3
|
-
import { UploadFn } from "../extensions/Image";
|
|
2
|
+
import type { EditorAIController } from "../types.js";
|
|
3
|
+
import { UploadFn } from "../extensions/Image.js";
|
|
4
4
|
export declare const SlashCommandMenu: ({ upload, aiController }: {
|
|
5
5
|
upload: UploadFn;
|
|
6
6
|
aiController?: EditorAIController;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { EditorBubble } from "./editor-bubble";
|
|
2
|
-
export { EditorBubbleItem } from "./editor-bubble-item";
|
|
3
|
-
export { SlashCommandMenu } from "./SlashCommandMenu";
|
|
4
|
-
export { ImageBubble } from "./image-bubble";
|
|
5
|
-
export { TableBubble } from "./table-bubble";
|
|
1
|
+
export { EditorBubble } from "./editor-bubble.js";
|
|
2
|
+
export { EditorBubbleItem } from "./editor-bubble-item.js";
|
|
3
|
+
export { SlashCommandMenu } from "./SlashCommandMenu.js";
|
|
4
|
+
export { ImageBubble } from "./image-bubble.js";
|
|
5
|
+
export { TableBubble } from "./table-bubble.js";
|
|
6
6
|
export type JSONContent = {
|
|
7
7
|
type?: string;
|
|
8
8
|
attrs?: Record<string, unknown>;
|
package/dist/editor/editor.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type JSONContent } from "./components";
|
|
3
|
-
import { EditorAIController } from "./types";
|
|
2
|
+
import { type JSONContent } from "./components/index.js";
|
|
3
|
+
import { EditorAIController } from "./types.js";
|
|
4
4
|
export type CustomEditorComponent = {
|
|
5
5
|
name: string;
|
|
6
6
|
component: React.FC;
|
package/dist/editor/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./editor";
|
|
2
|
-
export * from "./types";
|
|
1
|
+
export * from "./editor.js";
|
|
2
|
+
export * from "./types.js";
|
package/dist/editor/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSONContent } from "./components";
|
|
1
|
+
import { JSONContent } from "./components/index.js";
|
|
2
2
|
export type { JSONContent };
|
|
3
3
|
export type EditorAIController = {
|
|
4
4
|
autocomplete: (textBefore: string, textAfter: string, onUpdate: (delta: string) => void) => Promise<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { EntityFormProps } from "../types/components/EntityFormProps";
|
|
2
|
+
import type { EntityFormProps } from "../types/components/EntityFormProps.js";
|
|
3
3
|
/**
|
|
4
4
|
* Props for the admin-connected EntityFormBinding wrapper.
|
|
5
5
|
* Extends EntityFormProps — you can pass all the same props as EntityForm,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StringProperty } 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
|
interface StorageItemPreviewProps {
|
|
5
5
|
name: string;
|
|
6
6
|
property: StringProperty;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./FieldHelperText";
|
|
2
|
-
export * from "./LabelWithIcon";
|
|
3
|
-
export * from "./LabelWithIconAndTooltip";
|
|
4
|
-
export * from "./FieldBlock";
|
|
5
|
-
export * from "./FormRail";
|
|
6
|
-
export * from "./FormSections";
|
|
1
|
+
export * from "./FieldHelperText.js";
|
|
2
|
+
export * from "./LabelWithIcon.js";
|
|
3
|
+
export * from "./LabelWithIconAndTooltip.js";
|
|
4
|
+
export * from "./FieldBlock.js";
|
|
5
|
+
export * from "./FormRail.js";
|
|
6
|
+
export * from "./FormSections.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FieldProps } from "../../types/fields";
|
|
1
|
+
import type { FieldProps } from "../../types/fields.js";
|
|
2
2
|
import type { BinaryProperty } from "@rebasepro/types";
|
|
3
3
|
import React from "react";
|
|
4
4
|
/** Base64, optionally padded. Empty is allowed — that is a cleared field. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { FieldProps } from "../../types/fields";
|
|
2
|
+
import type { FieldProps } from "../../types/fields.js";
|
|
3
3
|
import type { StringProperty } from "@rebasepro/types";
|
|
4
|
-
import type { RichTextEditorProps } from "../../editor";
|
|
4
|
+
import type { RichTextEditorProps } from "../../editor/index.js";
|
|
5
5
|
interface MarkdownEditorFieldProps {
|
|
6
6
|
highlight?: {
|
|
7
7
|
from: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FieldProps } from "../../types/fields";
|
|
1
|
+
import type { FieldProps } from "../../types/fields.js";
|
|
2
2
|
import type { RelationProperty } from "@rebasepro/types";
|
|
3
3
|
import React from "react";
|
|
4
4
|
export declare function RelationFieldBinding(props: FieldProps<RelationProperty>): React.JSX.Element;
|
package/dist/form/index.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { EntityForm } from "./EntityForm";
|
|
2
|
-
export type { EntityFormProps, OnUpdateParams } from "../types/components/EntityFormProps";
|
|
3
|
-
export { EntityFormBinding } from "./EntityFormBinding";
|
|
4
|
-
export type { EntityFormBindingProps } from "./EntityFormBinding";
|
|
5
|
-
export { SelectFieldBinding } from "./field_bindings/SelectFieldBinding";
|
|
6
|
-
export { MultiSelectFieldBinding } from "./field_bindings/MultiSelectFieldBinding";
|
|
7
|
-
export { ArrayOfReferencesFieldBinding } from "./field_bindings/ArrayOfReferencesFieldBinding";
|
|
8
|
-
export { StorageUploadFieldBinding } from "./field_bindings/StorageUploadFieldBinding";
|
|
9
|
-
export { TextFieldBinding } from "./field_bindings/TextFieldBinding";
|
|
10
|
-
export { SwitchFieldBinding } from "./field_bindings/SwitchFieldBinding";
|
|
11
|
-
export { DateTimeFieldBinding } from "./field_bindings/DateTimeFieldBinding";
|
|
12
|
-
export { ReferenceFieldBinding } from "./field_bindings/ReferenceFieldBinding";
|
|
13
|
-
export { MapFieldBinding } from "./field_bindings/MapFieldBinding";
|
|
14
|
-
export { KeyValueFieldBinding } from "./field_bindings/KeyValueFieldBinding";
|
|
15
|
-
export { RepeatFieldBinding } from "./field_bindings/RepeatFieldBinding";
|
|
16
|
-
export { BlockFieldBinding } from "./field_bindings/BlockFieldBinding";
|
|
17
|
-
export { ReadOnlyFieldBinding } from "./field_bindings/ReadOnlyFieldBinding";
|
|
18
|
-
export { MarkdownEditorFieldBinding } from "./field_bindings/MarkdownEditorFieldBinding";
|
|
19
|
-
export { ArrayCustomShapedFieldBinding } from "./field_bindings/ArrayCustomShapedFieldBinding";
|
|
20
|
-
export { VectorFieldBinding } from "./field_bindings/VectorFieldBinding";
|
|
21
|
-
export * from "./components";
|
|
22
|
-
export { PropertyFieldBinding } from "./PropertyFieldBinding";
|
|
23
|
-
export * from "./useClearRestoreValue";
|
|
24
|
-
export { extractTouchedValues, removeEmptyContainers, getChanges, getInitialEntityValues, zodToFormErrors } from "./form_utils";
|
|
1
|
+
export { EntityForm } from "./EntityForm.js";
|
|
2
|
+
export type { EntityFormProps, OnUpdateParams } from "../types/components/EntityFormProps.js";
|
|
3
|
+
export { EntityFormBinding } from "./EntityFormBinding.js";
|
|
4
|
+
export type { EntityFormBindingProps } from "./EntityFormBinding.js";
|
|
5
|
+
export { SelectFieldBinding } from "./field_bindings/SelectFieldBinding.js";
|
|
6
|
+
export { MultiSelectFieldBinding } from "./field_bindings/MultiSelectFieldBinding.js";
|
|
7
|
+
export { ArrayOfReferencesFieldBinding } from "./field_bindings/ArrayOfReferencesFieldBinding.js";
|
|
8
|
+
export { StorageUploadFieldBinding } from "./field_bindings/StorageUploadFieldBinding.js";
|
|
9
|
+
export { TextFieldBinding } from "./field_bindings/TextFieldBinding.js";
|
|
10
|
+
export { SwitchFieldBinding } from "./field_bindings/SwitchFieldBinding.js";
|
|
11
|
+
export { DateTimeFieldBinding } from "./field_bindings/DateTimeFieldBinding.js";
|
|
12
|
+
export { ReferenceFieldBinding } from "./field_bindings/ReferenceFieldBinding.js";
|
|
13
|
+
export { MapFieldBinding } from "./field_bindings/MapFieldBinding.js";
|
|
14
|
+
export { KeyValueFieldBinding } from "./field_bindings/KeyValueFieldBinding.js";
|
|
15
|
+
export { RepeatFieldBinding } from "./field_bindings/RepeatFieldBinding.js";
|
|
16
|
+
export { BlockFieldBinding } from "./field_bindings/BlockFieldBinding.js";
|
|
17
|
+
export { ReadOnlyFieldBinding } from "./field_bindings/ReadOnlyFieldBinding.js";
|
|
18
|
+
export { MarkdownEditorFieldBinding } from "./field_bindings/MarkdownEditorFieldBinding.js";
|
|
19
|
+
export { ArrayCustomShapedFieldBinding } from "./field_bindings/ArrayCustomShapedFieldBinding.js";
|
|
20
|
+
export { VectorFieldBinding } from "./field_bindings/VectorFieldBinding.js";
|
|
21
|
+
export * from "./components/index.js";
|
|
22
|
+
export { PropertyFieldBinding } from "./PropertyFieldBinding.js";
|
|
23
|
+
export * from "./useClearRestoreValue.js";
|
|
24
|
+
export { extractTouchedValues, removeEmptyContainers, getChanges, getInitialEntityValues, zodToFormErrors } from "./form_utils.js";
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from "./useSidePanel";
|
|
2
|
-
export * from "./useSelectionDialog";
|
|
3
|
-
export * from "./useBuildSidePanel";
|
|
4
|
-
export * from "./useResolvedNavigationFrom";
|
|
5
|
-
export * from "./useResolvedUsers";
|
|
6
|
-
export * from "./useHistory";
|
|
7
|
-
export * from "./navigation/contexts";
|
|
8
|
-
export * from "./navigation/useBuildCollectionRegistryController";
|
|
9
|
-
export * from "./navigation/useBuildNavigationStateController";
|
|
10
|
-
export * from "./navigation/useBuildUrlController";
|
|
11
|
-
export * from "./navigation/useResolvedCollections";
|
|
12
|
-
export * from "./navigation/useResolvedViews";
|
|
13
|
-
export * from "./navigation/useTopLevelNavigation";
|
|
14
|
-
export * from "./useSideDialogsController";
|
|
15
|
-
export * from "./useBreadcrumbsController";
|
|
16
|
-
export * from "./useAdminContext";
|
|
1
|
+
export * from "./useSidePanel.js";
|
|
2
|
+
export * from "./useSelectionDialog.js";
|
|
3
|
+
export * from "./useBuildSidePanel.js";
|
|
4
|
+
export * from "./useResolvedNavigationFrom.js";
|
|
5
|
+
export * from "./useResolvedUsers.js";
|
|
6
|
+
export * from "./useHistory.js";
|
|
7
|
+
export * from "./navigation/contexts/index.js";
|
|
8
|
+
export * from "./navigation/useBuildCollectionRegistryController.js";
|
|
9
|
+
export * from "./navigation/useBuildNavigationStateController.js";
|
|
10
|
+
export * from "./navigation/useBuildUrlController.js";
|
|
11
|
+
export * from "./navigation/useResolvedCollections.js";
|
|
12
|
+
export * from "./navigation/useResolvedViews.js";
|
|
13
|
+
export * from "./navigation/useTopLevelNavigation.js";
|
|
14
|
+
export * from "./useSideDialogsController.js";
|
|
15
|
+
export * from "./useBreadcrumbsController.js";
|
|
16
|
+
export * from "./useAdminContext.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CollectionRegistryContext, useCollectionRegistryController } from "./CollectionRegistryContext";
|
|
2
|
-
export { NavigationStateContext, useNavigationStateController } from "./NavigationStateContext";
|
|
3
|
-
export { UrlContext, useUrlController } from "./UrlContext";
|
|
1
|
+
export { CollectionRegistryContext, useCollectionRegistryController } from "./CollectionRegistryContext.js";
|
|
2
|
+
export { NavigationStateContext, useNavigationStateController } from "./NavigationStateContext.js";
|
|
3
|
+
export { UrlContext, useUrlController } from "./UrlContext.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { SideDialogsController } from "../hooks/useSideDialogsController";
|
|
1
|
+
import type { SideDialogsController } from "../hooks/useSideDialogsController.js";
|
|
2
2
|
export declare function useBuildSideDialogsController(): SideDialogsController;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SelectionProps } from "../components/ReferenceTable/SelectionTableBinding";
|
|
1
|
+
import { SelectionProps } from "../components/ReferenceTable/SelectionTableBinding.js";
|
|
2
2
|
/**
|
|
3
3
|
* This hook is used to open a side dialog that allows the selection
|
|
4
4
|
* of entities under a given path.
|