@rebasepro/admin 0.15.0 → 0.16.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-Dxx0ZaDk.js → CollectionEditorDialog-D2Vf4C3-.js} +7 -7
- package/dist/{CollectionEditorDialog-Dxx0ZaDk.js.map → CollectionEditorDialog-D2Vf4C3-.js.map} +1 -1
- package/dist/{PropertyEditView-D6xNTm0d.js → PropertyEditView-D3NBsK9_.js} +4 -13
- package/dist/PropertyEditView-D3NBsK9_.js.map +1 -0
- package/dist/{RouterCollectionsStudioView-C4vSn9Pu.js → RouterCollectionsStudioView-hPB54l3Q.js} +4 -4
- package/dist/{RouterCollectionsStudioView-C4vSn9Pu.js.map → RouterCollectionsStudioView-hPB54l3Q.js.map} +1 -1
- package/dist/collection_editor_ui.js +4 -4
- package/dist/components/CollectionViewBinding/CollectionViewStartActions.d.ts +9 -1
- package/dist/components/RelationSelector.d.ts +8 -0
- package/dist/{export-BZi1MzQ5.js → export-oauWlxuu.js} +2 -2
- package/dist/{export-BZi1MzQ5.js.map → export-oauWlxuu.js.map} +1 -1
- package/dist/form/useUndoableDiscard.d.ts +15 -0
- package/dist/{history-B5pkfldE.js → history-C2cqc0bw.js} +2 -2
- package/dist/{history-B5pkfldE.js.map → history-C2cqc0bw.js.map} +1 -1
- package/dist/{import-CXpuYo-T.js → import-Bxv5JPm-.js} +2 -2
- package/dist/{import-CXpuYo-T.js.map → import-Bxv5JPm-.js.map} +1 -1
- package/dist/index.js +17 -25
- package/dist/index.js.map +1 -1
- package/dist/{util-BKtHPLe4.js → util-C4qsI1QV.js} +163 -55
- package/dist/util-C4qsI1QV.js.map +1 -0
- package/package.json +12 -9
- package/src/collection_editor/ui/collection_editor/CollectionRLSTab.tsx +4 -4
- package/src/components/CollectionPanel.tsx +1 -1
- package/src/components/CollectionViewBinding/CollectionListViewBinding.tsx +1 -1
- package/src/components/CollectionViewBinding/CollectionViewBinding.tsx +3 -11
- package/src/components/CollectionViewBinding/CollectionViewStartActions.tsx +32 -2
- package/src/components/CollectionViewBinding/EntityCardBinding.tsx +10 -8
- package/src/components/DefaultAppBar.tsx +0 -10
- package/src/components/DetailViewBinding.tsx +18 -1
- package/src/components/EditViewBinding.tsx +26 -2
- package/src/components/ReferenceTable/SelectionTableBinding.tsx +10 -1
- package/src/components/RelationSelector.tsx +115 -3
- package/src/contexts/BreacrumbsContext.tsx +4 -21
- package/src/form/EntityForm.tsx +8 -3
- package/src/form/components/FormRail.tsx +15 -4
- package/src/form/useUndoableDiscard.ts +39 -0
- package/src/preview/components/StorageThumbnail.tsx +35 -1
- package/src/routes/RebaseRoute.tsx +2 -10
- package/dist/PropertyEditView-D6xNTm0d.js.map +0 -1
- package/dist/util-BKtHPLe4.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Rt as ArrayContainer, T as getFieldId, Un as useCollectionRegistryController, Vt as FieldCaption, a as namespaceToPropertiesPath, g as toSerializableProperty, i as namespaceToPropertiesOrderPath, m as toSerializableCollectionConfig, n as getFullIdPath, nt as useSafeSnackbarController, r as idToPropertiesPath, t as getFullId, w as getFieldConfig, x as DEFAULT_FIELD_CONFIGS, zt as PropertyConfigBadge } from "./util-C4qsI1QV.js";
|
|
3
3
|
import React, { createContext, useCallback, useContext, useDeferredValue, useEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { deepEqual } from "fast-equals";
|
|
5
5
|
import { AlertTriangleIcon, ArrowDownToLineIcon, ArrowUpToLineIcon, Badge, BooleanSwitchWithLabel, Button, Card, CheckSquareIcon, CircularProgress, DebouncedTextField, Dialog, DialogActions, DialogContent, DialogTitle, ErrorBoundary, ExpandablePanel, FileSearchIcon, FunctionSquareIcon, IconButton, InfoLabel, ListIcon, Menu, MenuItem, MinusCircleIcon, MoreVerticalIcon, MultiSelect, MultiSelectItem, Paper, PlusIcon, RefreshCcwIcon, Select, SelectItem, SettingsIcon, TextField, Tooltip, Trash2Icon, Typography, UploadCloudIcon, cls, defaultBorderMixin, iconSize } from "@rebasepro/ui";
|
|
6
6
|
import { isPropertyBuilder, resolveEnumValues } from "@rebasepro/common";
|
|
7
|
-
import { AIModifiedIndicator, ConfirmationDialog, IconForView, useCustomizationController,
|
|
7
|
+
import { AIModifiedIndicator, ConfirmationDialog, IconForView, useCustomizationController, useStorageSources, useTranslation } from "@rebasepro/app";
|
|
8
8
|
import { Field, Formex, getIn, useCreateFormex, useFormex } from "@rebasepro/forms";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { isValidRegExp, mergeDeep, prettifyIdentifier, serializeRegExp, toSnakeCase } from "@rebasepro/utils";
|
|
@@ -14,15 +14,6 @@ import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
|
|
|
14
14
|
import { SortableContext, sortableKeyboardCoordinates, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
15
15
|
import { CSS } from "@dnd-kit/utilities";
|
|
16
16
|
import { extractEnumFromValues } from "@rebasepro/inference";
|
|
17
|
-
//#region src/collection_editor/useSafeSnackbarController.ts
|
|
18
|
-
function useSafeSnackbarController() {
|
|
19
|
-
try {
|
|
20
|
-
return useSnackbarController();
|
|
21
|
-
} catch {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
17
|
//#region src/collection_editor/ui/collection_editor/EnumForm.tsx
|
|
27
18
|
function EnumForm({ enumValues, onValuesChanged, onError, updateIds, disabled, allowDataInference, getData }) {
|
|
28
19
|
const formex = useCreateFormex({
|
|
@@ -3864,6 +3855,6 @@ function WidgetSelectViewItem({ onClick, initialProperty, propertyConfig, existi
|
|
|
3864
3855
|
});
|
|
3865
3856
|
}
|
|
3866
3857
|
//#endregion
|
|
3867
|
-
export { updatePropertyFromWidget as a, useAIModifiedPaths as c, supportedFields as i,
|
|
3858
|
+
export { updatePropertyFromWidget as a, useAIModifiedPaths as c, supportedFields as i, PropertyForm as n, PropertyTree as o, PropertyFormDialog as r, AIModifiedPathsProvider as s, PropertyEditView_exports as t };
|
|
3868
3859
|
|
|
3869
|
-
//# sourceMappingURL=PropertyEditView-
|
|
3860
|
+
//# sourceMappingURL=PropertyEditView-D3NBsK9_.js.map
|