@rebasepro/admin 0.2.5 → 0.4.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/dist/{CollectionEditorDialog-Cn8-tGyL.js → CollectionEditorDialog-Bo86h-d-.js} +3 -3
- package/dist/{CollectionEditorDialog-Cn8-tGyL.js.map → CollectionEditorDialog-Bo86h-d-.js.map} +1 -1
- package/dist/{CollectionsStudioView-C-Ts1rZt.js → CollectionsStudioView-bsg4AT_Z.js} +4 -4
- package/dist/{CollectionsStudioView-C-Ts1rZt.js.map → CollectionsStudioView-bsg4AT_Z.js.map} +1 -1
- package/dist/{ExportCollectionAction-BRdKM3DF.js → ExportCollectionAction-Cf-Id5uO.js} +35 -27
- package/dist/ExportCollectionAction-Cf-Id5uO.js.map +1 -0
- package/dist/{ImportCollectionAction-U-v7lGxO.js → ImportCollectionAction-LN5sreK9.js} +2 -2
- package/dist/{ImportCollectionAction-U-v7lGxO.js.map → ImportCollectionAction-LN5sreK9.js.map} +1 -1
- package/dist/{PropertyEditView-BDNYkfNf.js → PropertyEditView-jCWCxmCz.js} +2 -2
- package/dist/{PropertyEditView-BDNYkfNf.js.map → PropertyEditView-jCWCxmCz.js.map} +1 -1
- package/dist/collection_editor_ui.js +3 -3
- package/dist/components/CollectionPanel.d.ts +83 -0
- package/dist/components/EntityDetailView.d.ts +0 -3
- package/dist/components/EntityEditView.d.ts +2 -3
- package/dist/components/SelectableTable/SelectableTable.d.ts +2 -2
- package/dist/components/SelectableTable/SelectableTableContext.d.ts +1 -1
- package/dist/components/SelectableTable/SelectionStore.d.ts +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/editor.js +15 -5
- package/dist/editor.js.map +1 -1
- package/dist/{index-DJSL_SCr.js → index-BrqSvMG0.js} +3 -3
- package/dist/index-BrqSvMG0.js.map +1 -0
- package/dist/{index-DHaOV-7A.js → index-Cb0bPnzZ.js} +3 -3
- package/dist/index-Cb0bPnzZ.js.map +1 -0
- package/dist/{index-XMII4H3d.js → index-z3H8iqsj.js} +2 -2
- package/dist/{index-XMII4H3d.js.map → index-z3H8iqsj.js.map} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +142 -4
- package/dist/index.js.map +1 -1
- package/dist/util/entity_view_constants.d.ts +6 -0
- package/dist/util/resolutions.d.ts +1 -2
- package/dist/{util-0GYaJqL_.js → util-CvNp6A-r.js} +283 -168
- package/dist/util-CvNp6A-r.js.map +1 -0
- package/package.json +8 -8
- package/src/collection_editor/validateCollectionJson.ts +12 -12
- package/src/components/CollectionPanel.tsx +155 -0
- package/src/components/EntityCollectionView/EntityCollectionCardView.tsx +65 -35
- package/src/components/EntityCollectionView/EntityCollectionListView.tsx +1 -1
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +1 -1
- package/src/components/EntityCollectionView/hooks/useCollectionInlineEditor.ts +1 -0
- package/src/components/EntityCollectionView/useEntityPreviewSlots.ts +69 -18
- package/src/components/EntityDetailView.tsx +36 -37
- package/src/components/EntityEditView.tsx +108 -51
- package/src/components/EntityEditViewFormActions.tsx +4 -4
- package/src/components/EntitySidePanel.tsx +47 -14
- package/src/components/PropertyCollectionView.tsx +1 -0
- package/src/components/SelectableTable/SelectableTable.tsx +24 -22
- package/src/components/SelectableTable/SelectableTableContext.tsx +2 -1
- package/src/components/SelectableTable/SelectionStore.ts +4 -4
- package/src/components/index.ts +2 -0
- package/src/data_export/export/BasicExportAction.tsx +11 -9
- package/src/data_export/export/ExportCollectionAction.tsx +15 -13
- package/src/editor/editor.tsx +20 -4
- package/src/form/EntityForm.tsx +3 -3
- package/src/form/field_bindings/ReadOnlyFieldBinding.tsx +3 -1
- package/src/hooks/navigation/useResolvedCollections.ts +2 -10
- package/src/hooks/useBuildSideEntityController.tsx +20 -3
- package/src/index.ts +4 -2
- package/src/util/entity_view_constants.ts +6 -0
- package/src/util/resolutions.ts +2 -6
- package/dist/ExportCollectionAction-BRdKM3DF.js.map +0 -1
- package/dist/index-DHaOV-7A.js.map +0 -1
- package/dist/index-DJSL_SCr.js.map +0 -1
- package/dist/util-0GYaJqL_.js.map +0 -1
|
@@ -4,7 +4,7 @@ import React__default, { useEffect, useMemo, useContext, createContext, useState
|
|
|
4
4
|
import { deepEqual } from "fast-equals";
|
|
5
5
|
import { useFormex, getIn, Field, useCreateFormex, Formex } from "@rebasepro/formex";
|
|
6
6
|
import { useTranslation, useSnackbarController, useCustomizationController, AIModifiedIndicator, IconForView, ConfirmationDialog } from "@rebasepro/core";
|
|
7
|
-
import { a as ArrayContainer, N as FieldCaption, aO as getFieldConfig, a4 as PropertyConfigBadge, aR as getFullIdPath, aQ as getFullId, aY as idToPropertiesPath, b0 as namespaceToPropertiesOrderPath, b1 as namespaceToPropertiesPath, bl as useCollectionRegistryController, o as DEFAULT_FIELD_CONFIGS, aP as getFieldId } from "./util-
|
|
7
|
+
import { a as ArrayContainer, N as FieldCaption, aO as getFieldConfig, a4 as PropertyConfigBadge, aR as getFullIdPath, aQ as getFullId, aY as idToPropertiesPath, b0 as namespaceToPropertiesOrderPath, b1 as namespaceToPropertiesPath, bl as useCollectionRegistryController, o as DEFAULT_FIELD_CONFIGS, aP as getFieldId } from "./util-CvNp6A-r.js";
|
|
8
8
|
import { resolveEnumValues, isPropertyBuilder } from "@rebasepro/common";
|
|
9
9
|
import { RefreshCcwIcon, iconSize, Badge, IconButton, SettingsIcon, Typography, DebouncedTextField, ListIcon, Button, CircularProgress, Paper, DialogTitle, DialogContent, DialogActions, Dialog, BooleanSwitchWithLabel, Tooltip, CheckSquareIcon, ExpandablePanel, Select, SelectItem, MultiSelectItem, UploadCloudIcon, MultiSelect, cls, ErrorBoundary, FunctionSquareIcon, MinusCircleIcon, FileSearchIcon, Trash2Icon, MoreVerticalIcon, ArrowUpToLineIcon, ArrowDownToLineIcon, defaultBorderMixin, MenuItem, Menu, PlusIcon, TextField, InfoLabel, AlertTriangleIcon, Card } from "@rebasepro/ui";
|
|
10
10
|
import "zod";
|
|
@@ -8194,4 +8194,4 @@ export {
|
|
|
8194
8194
|
supportedFields as s,
|
|
8195
8195
|
updatePropertyFromWidget as u
|
|
8196
8196
|
};
|
|
8197
|
-
//# sourceMappingURL=PropertyEditView-
|
|
8197
|
+
//# sourceMappingURL=PropertyEditView-jCWCxmCz.js.map
|