@rebasepro/admin 0.16.0 → 0.16.1-canary.g2d1aec8
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/{CollectionEditorDialog-D2Vf4C3-.js → CollectionEditorDialog-Cec5jU6R.js} +7 -3
- package/dist/{CollectionEditorDialog-D2Vf4C3-.js.map → CollectionEditorDialog-Cec5jU6R.js.map} +1 -1
- package/dist/{PropertyEditView-D3NBsK9_.js → PropertyEditView-BuSPZwnQ.js} +2 -2
- package/dist/{PropertyEditView-D3NBsK9_.js.map → PropertyEditView-BuSPZwnQ.js.map} +1 -1
- package/dist/{RouterCollectionsStudioView-hPB54l3Q.js → RouterCollectionsStudioView-BiNFpEii.js} +4 -4
- package/dist/{RouterCollectionsStudioView-hPB54l3Q.js.map → RouterCollectionsStudioView-BiNFpEii.js.map} +1 -1
- package/dist/SchemaChangeDialog-WKIbzS6P.js +327 -0
- package/dist/SchemaChangeDialog-WKIbzS6P.js.map +1 -0
- 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/liveSchemaClient.d.ts +170 -0
- 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/types/config_controller.d.ts +11 -0
- 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/SchemaChangeDialog.d.ts +66 -0
- 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/useLiveSchemaEditing.d.ts +71 -0
- package/dist/collection_editor/useLocalCollectionsConfigController.d.ts +1 -1
- package/dist/collection_editor_ui.d.ts +12 -12
- package/dist/collection_editor_ui.js +4 -4
- 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/{export-oauWlxuu.js → export-BItpoIu0.js} +2 -2
- package/dist/{export-oauWlxuu.js.map → export-BItpoIu0.js.map} +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/{history-C2cqc0bw.js → history-C7WF14VR.js} +2 -2
- package/dist/{history-C2cqc0bw.js.map → history-C7WF14VR.js.map} +1 -1
- 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/{import-Bxv5JPm-.js → import-CZgNAlcd.js} +2 -2
- package/dist/{import-Bxv5JPm-.js.map → import-CZgNAlcd.js.map} +1 -1
- package/dist/index.d.ts +17 -15
- package/dist/index.js +238 -21
- package/dist/index.js.map +1 -1
- 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/dist/{util-C4qsI1QV.js → util-wrBH4QSB.js} +130 -7
- package/dist/util-wrBH4QSB.js.map +1 -0
- package/package.json +10 -10
- package/src/collection_editor/ConfigControllerProvider.tsx +5 -0
- package/src/collection_editor/liveSchemaClient.ts +272 -0
- package/src/collection_editor/types/config_controller.tsx +11 -0
- package/src/collection_editor/ui/collection_editor/CollectionEditorDialog.tsx +10 -0
- package/src/collection_editor/ui/collection_editor/SchemaChangeDialog.tsx +368 -0
- package/src/collection_editor/useLiveSchemaEditing.tsx +285 -0
- package/src/collection_editor/useLocalCollectionsConfigController.tsx +109 -10
- package/src/index.ts +6 -0
- package/dist/util-C4qsI1QV.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
-
import type { PreviewSlot } from "./usePreviewSlots";
|
|
2
|
+
import type { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
3
|
+
import type { PreviewSlot } from "./usePreviewSlots.js";
|
|
4
4
|
export interface SlotValueProps {
|
|
5
5
|
slot: PreviewSlot | undefined;
|
|
6
6
|
size: PreviewSize;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RebaseData, Entity } from "@rebasepro/types";
|
|
2
2
|
import { RebaseContext, AnalyticsController, AdminCollection } from "@rebasepro/admin-types";
|
|
3
3
|
import { BoardItem } from "@rebasepro/ui";
|
|
4
|
-
import { BoardDataController } from "../useBoardDataController";
|
|
4
|
+
import { BoardDataController } from "../useBoardDataController.js";
|
|
5
5
|
/**
|
|
6
6
|
* The digits a board order key is built from: base36, lower case only.
|
|
7
7
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Entity, EntityStatus } from "@rebasepro/types";
|
|
4
|
-
import type { EntityFormBindingProps } from "../form";
|
|
5
|
-
import type { OnUpdateParams } from "../types/components/EntityFormProps";
|
|
6
|
-
import { MAIN_TAB_VALUE, JSON_TAB_VALUE, HISTORY_TAB_VALUE } from "../util/view_constants";
|
|
4
|
+
import type { EntityFormBindingProps } from "../form/index.js";
|
|
5
|
+
import type { OnUpdateParams } from "../types/components/EntityFormProps.js";
|
|
6
|
+
import { MAIN_TAB_VALUE, JSON_TAB_VALUE, HISTORY_TAB_VALUE } from "../util/view_constants.js";
|
|
7
7
|
export { MAIN_TAB_VALUE, JSON_TAB_VALUE, HISTORY_TAB_VALUE };
|
|
8
8
|
export type BarActionsParams = {
|
|
9
9
|
values: object;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
2
2
|
import type { Entity } from "@rebasepro/types";
|
|
3
|
-
import type { FormContext } from "../types/fields";
|
|
3
|
+
import type { FormContext } from "../types/fields.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
export type InspectorTab = "json" | "history";
|
|
6
6
|
export interface EntityInspectorProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Entity } from "@rebasepro/types";
|
|
3
|
-
import type { PreviewSize } from "../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PreviewSize } from "../types/components/PropertyPreviewProps.js";
|
|
4
4
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
5
5
|
export type EntityPreviewBindingProps = {
|
|
6
6
|
size?: PreviewSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./ContentHomePage";
|
|
2
|
-
export * from "./NavigationGroup";
|
|
3
|
-
export * from "./NavigationCard";
|
|
4
|
-
export * from "./SmallNavigationCard";
|
|
1
|
+
export * from "./ContentHomePage.js";
|
|
2
|
+
export * from "./NavigationGroup.js";
|
|
3
|
+
export * from "./NavigationCard.js";
|
|
4
|
+
export * from "./SmallNavigationCard.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Properties } from "@rebasepro/types";
|
|
2
2
|
import type { Property } from "@rebasepro/types";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { PreviewSize } from "../types/components/PropertyPreviewProps";
|
|
4
|
+
import { PreviewSize } from "../types/components/PropertyPreviewProps.js";
|
|
5
5
|
/**
|
|
6
6
|
* Build a readable label for a path and resolve the property
|
|
7
7
|
* Supports map and array (including arrays of maps)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Entity, EntityReference, FilterValues } from "@rebasepro/types";
|
|
3
|
-
import type { PreviewSize } from "../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PreviewSize } from "../types/components/PropertyPreviewProps.js";
|
|
4
4
|
export type ReferenceWidgetProps<M extends Record<string, unknown>> = {
|
|
5
5
|
name?: string;
|
|
6
6
|
multiselect?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./CreationResultDialog";
|
|
1
|
+
export * from "./CreationResultDialog.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./Drawer";
|
|
2
|
-
export * from "./AppBar";
|
|
3
|
-
export * from "./Scaffold";
|
|
4
|
-
export * from "./useApp";
|
|
1
|
+
export * from "./Drawer.js";
|
|
2
|
+
export * from "./AppBar.js";
|
|
3
|
+
export * from "./Scaffold.js";
|
|
4
|
+
export * from "./useApp.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./default_entity_actions";
|
|
1
|
+
export * from "./default_entity_actions.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
-
import { HistoryEntryData } from "../../hooks";
|
|
2
|
+
import { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
3
|
+
import { HistoryEntryData } from "../../hooks/index.js";
|
|
4
4
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
5
5
|
export type EntityHistoryEntryProps = {
|
|
6
6
|
size: PreviewSize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { EntityHistoryView } from "./EntityHistoryView";
|
|
2
|
-
export { EntityHistoryEntry } from "./EntityHistoryEntry";
|
|
3
|
-
export { LastEditedByIndicator } from "./LastEditedByIndicator";
|
|
4
|
-
export { LastEditedByFormAction } from "./LastEditedByFormAction";
|
|
5
|
-
export { UserChip } from "./UserChip";
|
|
1
|
+
export { EntityHistoryView } from "./EntityHistoryView.js";
|
|
2
|
+
export { EntityHistoryEntry } from "./EntityHistoryEntry.js";
|
|
3
|
+
export { LastEditedByIndicator } from "./LastEditedByIndicator.js";
|
|
4
|
+
export { LastEditedByFormAction } from "./LastEditedByFormAction.js";
|
|
5
|
+
export { UserChip } from "./UserChip.js";
|
|
@@ -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 { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import {
|
|
2
|
+
import { pn as useAdminContext } from "./util-wrBH4QSB.js";
|
|
3
3
|
import React, { useCallback } from "react";
|
|
4
4
|
import { Alert, BooleanSwitchWithLabel, Button, CircularProgress, Dialog, DialogActions, DialogContent, DialogTitle, DownloadIcon, IconButton, Label, RadioGroup, RadioGroupItem, Tooltip, iconSize } from "@rebasepro/ui";
|
|
5
5
|
import { getDefaultValuesFor } from "@rebasepro/common";
|
|
@@ -651,4 +651,4 @@ var export_exports = /* @__PURE__ */ __exportAll({
|
|
|
651
651
|
//#endregion
|
|
652
652
|
export { MAX_EXPORT_ROWS as a, downloadDataAsCsv as c, escapeCsvFormula as d, getEntityCSVExportableData as f, EXPORT_PAGE_SIZE as i, downloadEntitiesExport as l, ExportCollectionAction as n, fetchAllEntitiesForExport as o, getEntityJsonExportableData as p, BasicExportAction as r, downloadBlob as s, export_exports as t, entryToCSVRow as u };
|
|
653
653
|
|
|
654
|
-
//# sourceMappingURL=export-
|
|
654
|
+
//# sourceMappingURL=export-BItpoIu0.js.map
|