@rebasepro/admin 0.11.0 → 0.11.1-canary.g8caabf3
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/README.md +1 -1
- package/dist/{CollectionEditorDialog-o7F_zbGY.js → CollectionEditorDialog-id__fOqM.js} +4 -4
- package/dist/CollectionEditorDialog-id__fOqM.js.map +1 -0
- package/dist/{PropertyEditView-DgB2b22q.js → PropertyEditView-BLPT_e-N.js} +2 -2
- package/dist/{PropertyEditView-DgB2b22q.js.map → PropertyEditView-BLPT_e-N.js.map} +1 -1
- package/dist/{RouterCollectionsStudioView-DaLRgPkj.js → RouterCollectionsStudioView-DwkGdgyN.js} +4 -4
- package/dist/{RouterCollectionsStudioView-DaLRgPkj.js.map → RouterCollectionsStudioView-DwkGdgyN.js.map} +1 -1
- package/dist/collection_editor/CollectionEditorDialogsContext.d.ts +1 -1
- package/dist/collection_editor/_cms_internals.d.ts +1 -1
- package/dist/collection_editor/extensibility_types.d.ts +1 -1
- package/dist/collection_editor_ui.js +4 -4
- package/dist/components/CollectionEditorDialogs.d.ts +2 -2
- package/dist/components/CollectionViewBinding/CollectionListViewBinding.d.ts +2 -2
- package/dist/components/DefaultDrawer.d.ts +3 -3
- package/dist/components/DrawerNavigationGroup.d.ts +8 -1
- package/dist/components/DrawerNavigationItem.d.ts +7 -1
- package/dist/components/EditViewBinding.d.ts +1 -1
- package/dist/components/RebaseAdmin.d.ts +1 -1
- package/dist/components/RebaseAuthGate.d.ts +1 -1
- package/dist/components/RebaseLayout.d.ts +5 -1
- package/dist/components/RebaseNavigation.d.ts +2 -2
- package/dist/components/RebaseRouteDefs.d.ts +1 -1
- package/dist/components/RebaseShell.d.ts +6 -1
- package/dist/components/SidePanelProvider.d.ts +2 -2
- package/dist/components/app/Scaffold.d.ts +11 -0
- package/dist/{export-BvqhjdEb.js → export-lZhpezjk.js} +3 -3
- package/dist/export-lZhpezjk.js.map +1 -0
- package/dist/form/EntityForm.d.ts +2 -2
- package/dist/form/EntityFormBinding.d.ts +5 -5
- package/dist/{history-Dz20hH38.js → history-DkP1tce0.js} +2 -2
- package/dist/{history-Dz20hH38.js.map → history-DkP1tce0.js.map} +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useAdminContext.d.ts +29 -0
- package/dist/{import-DINSB-Vu.js → import-DQPGsiIw.js} +2 -2
- package/dist/{import-DINSB-Vu.js.map → import-DQPGsiIw.js.map} +1 -1
- package/dist/index.js +60 -38
- package/dist/index.js.map +1 -1
- package/dist/types/components/EntityFormProps.d.ts +1 -1
- package/dist/types/fields.d.ts +1 -1
- package/dist/{util-BhhfHY1M.js → util-DBxSfWpl.js} +45 -35
- package/dist/util-DBxSfWpl.js.map +1 -0
- package/package.json +9 -9
- package/src/collection_editor/CollectionEditorDialogsContext.tsx +1 -1
- package/src/collection_editor/ConfigControllerProvider.tsx +1 -1
- package/src/collection_editor/_cms_internals.ts +1 -1
- package/src/collection_editor/extensibility_types.ts +1 -1
- package/src/collection_editor/index.ts +2 -2
- package/src/collection_editor/ui/collection_editor/EntityActionsEditTab.tsx +1 -1
- package/src/collection_editor/ui/collection_editor/GetCodeDialog.tsx +1 -1
- package/src/collection_editor/ui/collection_editor/SubcollectionsEditTab.tsx +2 -2
- package/src/components/CollectionEditorDialogs.tsx +2 -2
- package/src/components/CollectionTableBinding/CollectionRowActions.tsx +5 -4
- package/src/components/CollectionViewBinding/CollectionListViewBinding.tsx +8 -7
- package/src/components/CollectionViewBinding/CollectionViewActions.tsx +2 -2
- package/src/components/CollectionViewBinding/CollectionViewBinding.tsx +2 -2
- package/src/components/CollectionViewBinding/CollectionViewStartActions.tsx +2 -2
- package/src/components/DefaultDrawer.tsx +19 -8
- package/src/components/DeleteEntityDialog.tsx +2 -2
- package/src/components/DetailViewBinding.tsx +21 -1
- package/src/components/DrawerNavigationGroup.tsx +28 -4
- package/src/components/DrawerNavigationItem.tsx +19 -5
- package/src/components/EditFormActions.tsx +4 -3
- package/src/components/EditViewBinding.tsx +1 -1
- package/src/components/HomePage/ContentHomePage.tsx +4 -4
- package/src/components/RebaseAdmin.tsx +3 -3
- package/src/components/RebaseAuthGate.tsx +1 -1
- package/src/components/RebaseLayout.tsx +8 -2
- package/src/components/RebaseNavigation.tsx +9 -9
- package/src/components/RebaseRouteDefs.tsx +2 -2
- package/src/components/RebaseShell.tsx +10 -1
- package/src/components/RelationSelector.tsx +2 -2
- package/src/components/SidePanelProvider.tsx +2 -2
- package/src/components/app/Scaffold.tsx +16 -1
- package/src/data_export/export/ExportCollectionAction.tsx +2 -2
- package/src/form/EntityForm.tsx +2 -2
- package/src/form/EntityFormActions.tsx +2 -1
- package/src/form/EntityFormBinding.tsx +7 -7
- package/src/hooks/index.ts +1 -1
- package/src/hooks/navigation/useNavigationResolution.ts +2 -2
- package/src/hooks/{useCMSContext.tsx → useAdminContext.tsx} +10 -10
- package/src/hooks/useResolvedNavigationFrom.tsx +2 -2
- package/src/index.ts +4 -4
- package/src/preview/components/RelationPreview.tsx +1 -1
- package/src/types/components/EntityFormProps.tsx +2 -2
- package/src/types/fields.tsx +1 -1
- package/dist/CollectionEditorDialog-o7F_zbGY.js.map +0 -1
- package/dist/export-BvqhjdEb.js.map +0 -1
- package/dist/hooks/useCMSContext.d.ts +0 -29
- package/dist/util-BhhfHY1M.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as useBuildCollectionRegistryController, $n as StorageThumbnailInternal, $t as CollectionTableBinding, A as getFieldId, An as ArrayOfReferencesPreview, At as convertFileToJson, B as MapFieldBinding, Bn as getBracketNotation, Bt as getCollectionBySlugWithin, C as removeEmptyContainers, Cn as MapPropertyPreview, Ct as convertDataToEntity, D as getDefaultFieldConfig, Dn as ArrayEnumPreview, Dt as useImportConfig, E as DEFAULT_FIELD_CONFIGS, En as ArrayPropertyEnumPreview, Et as getInferenceType, F as SelectFieldBinding, Fn as CollectionRegistryContext, Ft as FieldCaption, G as useSelectionDialog, Gn as getPropertyInPath, Gt as removeTrailingSlash, H as DateTimeFieldBinding, Hn as getIconForProperty, Ht as getLastSegment, I as RepeatFieldBinding, In as useCollectionRegistryController, It as useBreadcrumbsController, J as useBuildUrlController, Jn as isRelationProperty, Jt as resolveViewMode, K as SelectionTableBinding, Kn as getResolvedPropertyInPath, Kt as resolveCollectionPathIds, L as ReferenceFieldBinding, Ln as getEntityPreviewKeys, Lt as BreadcrumbsProvider, M as TextFieldBinding, Mn as EntityPreviewBinding, Mt as ArrayContainer, N as SwitchFieldBinding, Nn as SidePanelControllerContext, Nt as PropertyConfigBadge, O as getDefaultFieldId, On as ArrayOfStorageComponentsPreview, Ot as ImportSaveInProgress, P as StorageUploadFieldBinding, Pn as useSidePanel, Pt as SearchIconsView, Q as useResolvedCollections, Qn as StorageThumbnail, Qt as VirtualTableInput, R as MultiSelectFieldBinding, Rn as getEntityTitlePropertyKey, Rt as mergeEntityActions, S as getInitialEntityValues, Sn as KeyValuePreview, St as DataNewPropertiesMapping, T as PropertyFieldBinding, Tn as ArrayOfStringsPreview, Tt as processValueMapping, U as BlockFieldBinding, Un as getIconForWidget, Ut as removeInitialAndTrailingSlashes, V as KeyValueFieldBinding, Vn as getDefaultPropertiesOrder, Vt as getCollectionPathsCombinations, W as ArrayOfReferencesFieldBinding, Wn as getPropertiesWithPropertiesOrder, Wt as removeInitialSlash, X as useTopLevelNavigation, Xn as StringPropertyPreview, Xt as resolveEntityView, Y as useBuildNavigationStateController, Yn as ArrayPropertyPreview, Yt as resolveEntityAction, Z as useResolvedViews, Zn as EnumValuesChip, Zt as useSelectionController, _ as useCollectionsConfigController, _n as getUserLabel, _t as CollectionViewActions, a as namespaceToPropertiesPath, an as NavigationStateContext, ar as UrlComponentPreview, at as useBuildSidePanel, b as extractTouchedValues, bn as BooleanPreview, bt as useCollectionEditorDialogsState, c as buildCollectionGenerationCallback, cn as SideDialogsControllerContext, cr as EmptyValue, ct as copyEntityAction, d as fromSerializableCollectionConfigs, dn as useClearRestoreValue, dr as LabelWithIcon, dt as resetPasswordAction, en as SelectableTable, er as SkeletonPropertyComponent, et as useHistory, f as fromSerializableProperties, fn as ReadOnlyFieldBinding, fr as FormLayout, ft as CreationResultDialog, g as toSerializableProperty, gn as UserPreview, gt as EntityCardBinding, h as toSerializableProperties, hn as PropertyPreview, ht as CollectionCardViewBinding, i as namespaceToPropertiesOrderPath, in as useUrlController, ir as renderSkeletonText, it as getEntityViewWidth, j as VectorFieldBinding, jn as ReferencePreview, jt as unflattenObject, k as getFieldConfig, kn as RelationPreview, kt as ImportFileUpload, l as validateCollectionJson, ln as SelectableTableContext, lr as LabelWithIconAndTooltip, lt as deleteEntityAction, m as toSerializableCollectionConfig, mn as ArrayOfMapsPreview, mt as EntityViewBinding, n as getFullIdPath, nn as
|
|
2
|
-
import { i as PropertySelectEntry, n as ImportCollectionAction, r as ImportDataPreview } from "./import-
|
|
3
|
-
import { a as downloadDataAsCsv, c as getEntityJsonExportableData, i as downloadBlob, n as ExportCollectionAction, o as downloadEntitiesExport, r as BasicExportAction, s as getEntityCSVExportableData } from "./export-
|
|
1
|
+
import { $ as useBuildCollectionRegistryController, $n as StorageThumbnailInternal, $t as CollectionTableBinding, A as getFieldId, An as ArrayOfReferencesPreview, At as convertFileToJson, B as MapFieldBinding, Bn as getBracketNotation, Bt as getCollectionBySlugWithin, C as removeEmptyContainers, Cn as MapPropertyPreview, Ct as convertDataToEntity, D as getDefaultFieldConfig, Dn as ArrayEnumPreview, Dt as useImportConfig, E as DEFAULT_FIELD_CONFIGS, En as ArrayPropertyEnumPreview, Et as getInferenceType, F as SelectFieldBinding, Fn as CollectionRegistryContext, Ft as FieldCaption, G as useSelectionDialog, Gn as getPropertyInPath, Gt as removeTrailingSlash, H as DateTimeFieldBinding, Hn as getIconForProperty, Ht as getLastSegment, I as RepeatFieldBinding, In as useCollectionRegistryController, It as useBreadcrumbsController, J as useBuildUrlController, Jn as isRelationProperty, Jt as resolveViewMode, K as SelectionTableBinding, Kn as getResolvedPropertyInPath, Kt as resolveCollectionPathIds, L as ReferenceFieldBinding, Ln as getEntityPreviewKeys, Lt as BreadcrumbsProvider, M as TextFieldBinding, Mn as EntityPreviewBinding, Mt as ArrayContainer, N as SwitchFieldBinding, Nn as SidePanelControllerContext, Nt as PropertyConfigBadge, O as getDefaultFieldId, On as ArrayOfStorageComponentsPreview, Ot as ImportSaveInProgress, P as StorageUploadFieldBinding, Pn as useSidePanel, Pt as SearchIconsView, Q as useResolvedCollections, Qn as StorageThumbnail, Qt as VirtualTableInput, R as MultiSelectFieldBinding, Rn as getEntityTitlePropertyKey, Rt as mergeEntityActions, S as getInitialEntityValues, Sn as KeyValuePreview, St as DataNewPropertiesMapping, T as PropertyFieldBinding, Tn as ArrayOfStringsPreview, Tt as processValueMapping, U as BlockFieldBinding, Un as getIconForWidget, Ut as removeInitialAndTrailingSlashes, V as KeyValueFieldBinding, Vn as getDefaultPropertiesOrder, Vt as getCollectionPathsCombinations, W as ArrayOfReferencesFieldBinding, Wn as getPropertiesWithPropertiesOrder, Wt as removeInitialSlash, X as useTopLevelNavigation, Xn as StringPropertyPreview, Xt as resolveEntityView, Y as useBuildNavigationStateController, Yn as ArrayPropertyPreview, Yt as resolveEntityAction, Z as useResolvedViews, Zn as EnumValuesChip, Zt as useSelectionController, _ as useCollectionsConfigController, _n as getUserLabel, _t as CollectionViewActions, a as namespaceToPropertiesPath, an as NavigationStateContext, ar as UrlComponentPreview, at as useBuildSidePanel, b as extractTouchedValues, bn as BooleanPreview, bt as useCollectionEditorDialogsState, c as buildCollectionGenerationCallback, cn as SideDialogsControllerContext, cr as EmptyValue, ct as copyEntityAction, d as fromSerializableCollectionConfigs, dn as useClearRestoreValue, dr as LabelWithIcon, dt as resetPasswordAction, en as SelectableTable, er as SkeletonPropertyComponent, et as useHistory, f as fromSerializableProperties, fn as ReadOnlyFieldBinding, fr as FormLayout, ft as CreationResultDialog, g as toSerializableProperty, gn as UserPreview, gt as EntityCardBinding, h as toSerializableProperties, hn as PropertyPreview, ht as CollectionCardViewBinding, i as namespaceToPropertiesOrderPath, in as useUrlController, ir as renderSkeletonText, it as getEntityViewWidth, j as VectorFieldBinding, jn as ReferencePreview, jt as unflattenObject, k as getFieldConfig, kn as RelationPreview, kt as ImportFileUpload, l as validateCollectionJson, ln as SelectableTableContext, lr as LabelWithIconAndTooltip, lt as deleteEntityAction, m as toSerializableCollectionConfig, mn as ArrayOfMapsPreview, mt as EntityViewBinding, n as getFullIdPath, nn as useAdminContext, nr as renderSkeletonIcon, nt as useResolvedNavigationFrom, o as CollectionGenerationApiError, on as useNavigationStateController, or as ImagePreview, ot as EditViewBinding, p as fromSerializableProperty, pn as FieldHelperText, pr as FormEntry, pt as DetailViewBinding, q as SideDialogs, qn as isReferenceProperty, qt as resolveOpenEntityMode, r as idToPropertiesPath, rn as UrlContext, rr as renderSkeletonImageThumbnail, rt as buildSidePanelsFromUrl, s as DEFAULT_COLLECTION_GENERATION_ENDPOINT, sn as useSideDialogsController, sr as sanitizeUrl, st as CollectionViewBinding, t as getFullId, tn as CollectionRowActions, tr as renderSkeletonCaptionText, tt as resolveNavigationFrom, u as fromSerializableCollectionConfig, un as ArrayCustomShapedFieldBinding, ur as PropertyIdCopyTooltip, ut as editEntityAction, v as EntityFormBinding, vn as useResolvedUser, vt as useCollectionEditorController, w as zodToFormErrors, wn as ArrayOneOfPreview, wt as flattenEntry, x as getChanges, xn as DatePreview, xt as ImportNewPropertyFieldPreview, y as EntityForm, yn as NumberPropertyPreview, yt as ConfigControllerProvider, z as MarkdownEditorFieldBinding, zn as getEntityTitlePropertyKeyForEntity, zt as addInitialSlash } from "./util-DBxSfWpl.js";
|
|
2
|
+
import { i as PropertySelectEntry, n as ImportCollectionAction, r as ImportDataPreview } from "./import-DQPGsiIw.js";
|
|
3
|
+
import { a as downloadDataAsCsv, c as getEntityJsonExportableData, i as downloadBlob, n as ExportCollectionAction, o as downloadEntitiesExport, r as BasicExportAction, s as getEntityCSVExportableData } from "./export-lZhpezjk.js";
|
|
4
4
|
import React, { Suspense, lazy, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
5
5
|
import { deepEqual } from "fast-equals";
|
|
6
6
|
import { Avatar, Button, Card, ChevronDownIcon, ChevronsLeftIcon, ChevronsRightIcon, Chip, CircularProgressCenter, Collapse, Container, Dialog, DialogActions, DialogContent, DialogTitle, ErrorBoundary, ExpandablePanel, IconButton, LogOutIcon, Markdown, Menu, MenuIcon, MenuItem, MoonIcon, PencilIcon, SearchBar, SettingsIcon, Sheet, Skeleton, StarIcon, SunIcon, SunMoonIcon, TextField, Tooltip, Typography, cls, defaultBorderMixin, iconSize } from "@rebasepro/ui";
|
|
7
7
|
import { buildRoutedRebaseData, getReferenceFrom, resolveDataSource } from "@rebasepro/common";
|
|
8
|
-
import { CollectionResolverRegistrationContext, CollectionScopeProvider, CustomizationControllerContext, ErrorView, IconForView, LanguageToggle, LoginView, NavigationBlockerProvider, NotFoundPage, RebaseDataContext, RebaseLogo, RebaseRoutes, SchemaDriftBanner, StudioBridgeRegistryProvider, UIReferenceView, UnsavedChangesDialog, UserSettingsView, buildCollapsedDefaults, getLastSegment as getLastSegment$1, getNavigationEntriesFromPath, useAdminModeController, useAnalyticsController, useAuthController, useBridgeRegistration, useBuildLocalConfigurationPersistence, useCollapsedGroups, useComponentOverride, useCustomizationController, useData, useDataSources, useLargeLayout, useModeController, useNavigationBlocker, useRebaseClient, useRebaseContext, useRebaseRegistry, useRebaseRegistryDispatch, useRestoreScroll, useSlot, useTranslation, useUserConfigurationPersistence } from "@rebasepro/app";
|
|
8
|
+
import { CollectionResolverRegistrationContext, CollectionScopeProvider, CustomizationControllerContext, ErrorView, IconForView, LanguageToggle, LoginView, NavigationBlockerProvider, NotFoundPage, RebaseDataContext, RebaseLogo, RebaseRoutes, SchemaDriftBanner, StudioBridgeRegistryProvider, UIReferenceView, UnsavedChangesDialog, UserSettingsView, buildCollapsedDefaults, getIcon, getLastSegment as getLastSegment$1, getNavigationEntriesFromPath, useAdminModeController, useAnalyticsController, useAuthController, useBridgeRegistration, useBuildLocalConfigurationPersistence, useCollapsedGroups, useComponentOverride, useCustomizationController, useData, useDataSources, useLargeLayout, useModeController, useNavigationBlocker, useRebaseClient, useRebaseContext, useRebaseRegistry, useRebaseRegistryDispatch, useRestoreScroll, useSlot, useTranslation, useUserConfigurationPersistence } from "@rebasepro/app";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { prettifyIdentifier, toArray } from "@rebasepro/utils";
|
|
11
11
|
import { Link, NavLink, Outlet, Route, useLocation, useNavigate } from "react-router-dom";
|
|
@@ -454,8 +454,8 @@ function useBuildSideDialogsController() {
|
|
|
454
454
|
* Provider that builds the SidePanelController and makes it available
|
|
455
455
|
* via the SidePanelControllerContext from @rebasepro/app.
|
|
456
456
|
*
|
|
457
|
-
* After the
|
|
458
|
-
* in the
|
|
457
|
+
* After the admin extraction refactor, `useBuildSidePanel` lives
|
|
458
|
+
* in the admin package while the context it feeds into lives in core.
|
|
459
459
|
* This provider bridges the two: place it inside the `<Rebase>` tree and
|
|
460
460
|
* above any component that calls `useSidePanel()`.
|
|
461
461
|
*
|
|
@@ -733,7 +733,7 @@ function AppBar({ children, ...props }) {
|
|
|
733
733
|
AppBar.componentType = "AppBar";
|
|
734
734
|
//#endregion
|
|
735
735
|
//#region src/components/DrawerNavigationItem.tsx
|
|
736
|
-
function DrawerNavigationItem({ name, icon, drawerOpen, adminMenuOpen, tooltipsOpen, url, onClick }) {
|
|
736
|
+
function DrawerNavigationItem({ name, icon, drawerOpen, adminMenuOpen, tooltipsOpen, url, onClick, indented = false }) {
|
|
737
737
|
const listItem = /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(NavLink, {
|
|
738
738
|
onClick,
|
|
739
739
|
style: {
|
|
@@ -742,7 +742,10 @@ function DrawerNavigationItem({ name, icon, drawerOpen, adminMenuOpen, tooltipsO
|
|
|
742
742
|
},
|
|
743
743
|
className: ({ isActive }) => cls("rounded-lg truncate group/nav", "hover:bg-primary/5 dark:hover:bg-primary/5 text-surface-700 dark:text-surface-300 hover:text-surface-900 dark:hover:text-white", "flex flex-row items-center", drawerOpen ? "pr-4 h-[30px]" : "h-[30px]", "font-medium text-[13px]", isActive ? "bg-primary/8 dark:bg-primary/10 text-primary dark:text-primary [&_div]:text-primary" : ""),
|
|
744
744
|
to: url,
|
|
745
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
745
|
+
children: [indented ? /* @__PURE__ */ jsx("div", {
|
|
746
|
+
className: "shrink-0 w-[44px] h-[30px]",
|
|
747
|
+
"aria-hidden": true
|
|
748
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
746
749
|
className: "shrink-0 flex items-center justify-center w-[44px] h-[30px] text-surface-500 dark:text-text-secondary-dark [&>svg]:size-4 group-hover/nav:text-primary transition-colors duration-150",
|
|
747
750
|
children: icon
|
|
748
751
|
}), /* @__PURE__ */ jsx("div", {
|
|
@@ -763,9 +766,11 @@ function DrawerNavigationItem({ name, icon, drawerOpen, adminMenuOpen, tooltipsO
|
|
|
763
766
|
* Shared drawer navigation group component used by both DefaultDrawer and RebaseCloudDrawer.
|
|
764
767
|
* Renders a collapsible group with header and navigation items.
|
|
765
768
|
*/
|
|
766
|
-
function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, drawerOpen, tooltipsOpen, adminMenuOpen, headerActions, onItemClick, hideHeader }) {
|
|
769
|
+
function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, drawerOpen, tooltipsOpen, adminMenuOpen, headerActions, onItemClick, hideHeader, icon }) {
|
|
767
770
|
const { t } = useTranslation();
|
|
768
771
|
const ResolvedDrawerNavigationItem = useComponentOverride("Shell.DrawerNavigationItem", DrawerNavigationItem);
|
|
772
|
+
const groupIcon = !hideHeader && drawerOpen ? getIcon(icon, void 0, void 0, "small") : void 0;
|
|
773
|
+
const indentEntries = Boolean(groupIcon);
|
|
769
774
|
return /* @__PURE__ */ jsxs("div", {
|
|
770
775
|
className: "my-2 mx-2 flex flex-col",
|
|
771
776
|
children: [!hideHeader && /* @__PURE__ */ jsxs("div", {
|
|
@@ -774,12 +779,16 @@ function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, d
|
|
|
774
779
|
children: [
|
|
775
780
|
/* @__PURE__ */ jsx(ChevronDownIcon, {
|
|
776
781
|
size: iconSize.small,
|
|
777
|
-
className: cls("text-surface-
|
|
782
|
+
className: cls("text-surface-500 dark:text-surface-400 transition-transform duration-200 mr-1", collapsed ? "-rotate-90" : "rotate-0")
|
|
783
|
+
}),
|
|
784
|
+
groupIcon && /* @__PURE__ */ jsx("span", {
|
|
785
|
+
className: "shrink-0 mr-2 flex items-center text-surface-600 dark:text-surface-300 [&>svg]:size-4",
|
|
786
|
+
children: groupIcon
|
|
778
787
|
}),
|
|
779
788
|
/* @__PURE__ */ jsx(Typography, {
|
|
780
789
|
variant: "caption",
|
|
781
790
|
color: "secondary",
|
|
782
|
-
className: "font-semibold text-[
|
|
791
|
+
className: "font-semibold text-[12px] uppercase tracking-wide flex-grow line-clamp-1 text-surface-600 dark:text-surface-300",
|
|
783
792
|
children: group || t("views_group")
|
|
784
793
|
}),
|
|
785
794
|
headerActions && /* @__PURE__ */ jsx("div", {
|
|
@@ -799,7 +808,8 @@ function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, d
|
|
|
799
808
|
drawerOpen,
|
|
800
809
|
onClick: () => onItemClick?.(entry),
|
|
801
810
|
url: entry.url,
|
|
802
|
-
name: entry.name
|
|
811
|
+
name: entry.name,
|
|
812
|
+
indented: indentEntries
|
|
803
813
|
}, entry.id))
|
|
804
814
|
})]
|
|
805
815
|
}, `drawer_group_${group}`);
|
|
@@ -807,9 +817,9 @@ function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, d
|
|
|
807
817
|
//#endregion
|
|
808
818
|
//#region src/components/DefaultDrawer.tsx
|
|
809
819
|
/**
|
|
810
|
-
* Default drawer used in the
|
|
820
|
+
* Default drawer used in the admin.
|
|
811
821
|
*
|
|
812
|
-
* When no `children` are provided, renders the full
|
|
822
|
+
* When no `children` are provided, renders the full admin navigation
|
|
813
823
|
* (collection groups, mode switch, plugin slots).
|
|
814
824
|
*
|
|
815
825
|
* When `children` **are** provided, renders the shared drawer shell
|
|
@@ -846,7 +856,7 @@ function DefaultDrawer({ title, logo, logoDestination, children, footerActions,
|
|
|
846
856
|
onScroll: handleScroll,
|
|
847
857
|
className: "flex-grow min-h-0 overflow-y-auto overflow-x-hidden no-scrollbar px-2",
|
|
848
858
|
style: { maskImage: scrolled ? "linear-gradient(to bottom, transparent 0, black 20px, black calc(100% - 20px), transparent 100%)" : "linear-gradient(to bottom, black 0, black calc(100% - 20px), transparent 100%)" },
|
|
849
|
-
children: children ?? /* @__PURE__ */ jsx(
|
|
859
|
+
children: children ?? /* @__PURE__ */ jsx(AdminNavigationContent, {})
|
|
850
860
|
}),
|
|
851
861
|
footerActions !== null && (footerActions !== void 0 ? footerActions : /* @__PURE__ */ jsx(DrawerFooterActions, {
|
|
852
862
|
drawerOpen,
|
|
@@ -862,11 +872,11 @@ function DefaultDrawer({ title, logo, logoDestination, children, footerActions,
|
|
|
862
872
|
});
|
|
863
873
|
}
|
|
864
874
|
/**
|
|
865
|
-
* Default
|
|
875
|
+
* Default admin navigation content — rendered inside DefaultDrawer when no
|
|
866
876
|
* custom `children` are provided. Contains the mode switch, navigation
|
|
867
877
|
* groups, and header / footer plugin slots.
|
|
868
878
|
*/
|
|
869
|
-
function
|
|
879
|
+
function AdminNavigationContent() {
|
|
870
880
|
const { drawerHovered, drawerOpen, closeDrawer, closeHover } = useApp();
|
|
871
881
|
const [adminMenuOpen, setAdminMenuOpen] = React.useState(false);
|
|
872
882
|
const analyticsController = useAnalyticsController();
|
|
@@ -888,6 +898,13 @@ function CMSNavigationContent() {
|
|
|
888
898
|
const entryGroups = new Set(filteredEntries.map((e) => e.group).filter(Boolean));
|
|
889
899
|
const orderedGroups = navigationState.topLevelNavigation?.groups ?? [];
|
|
890
900
|
const groupsToRender = [...orderedGroups.filter((g) => entryGroups.has(g)), ...[...entryGroups].filter((g) => !orderedGroups.includes(g))];
|
|
901
|
+
const groupIcons = useMemo(() => {
|
|
902
|
+
const icons = /* @__PURE__ */ new Map();
|
|
903
|
+
(registry.cmsConfig?.navigationGroupMappings ?? []).forEach((mapping) => {
|
|
904
|
+
if (mapping.icon) icons.set(mapping.name, mapping.icon);
|
|
905
|
+
});
|
|
906
|
+
return icons;
|
|
907
|
+
}, [registry.cmsConfig?.navigationGroupMappings]);
|
|
891
908
|
const { isGroupCollapsed, toggleGroupCollapsed } = useCollapsedGroups(groupsToRender, "drawer", useMemo(() => buildCollapsedDefaults(registry.cmsConfig?.navigationGroupMappings, "drawer"), [registry.cmsConfig?.navigationGroupMappings]));
|
|
892
909
|
const headerSlot = useSlot("navigation.header", {
|
|
893
910
|
drawerOpen,
|
|
@@ -922,7 +939,8 @@ function CMSNavigationContent() {
|
|
|
922
939
|
drawerOpen: drawerVisuallyOpen,
|
|
923
940
|
tooltipsOpen,
|
|
924
941
|
adminMenuOpen,
|
|
925
|
-
onItemClick
|
|
942
|
+
onItemClick,
|
|
943
|
+
icon: groupIcons.get(group)
|
|
926
944
|
}, `drawer_group_${group}`);
|
|
927
945
|
}),
|
|
928
946
|
footerSlot
|
|
@@ -1178,7 +1196,7 @@ Drawer.componentType = "Drawer";
|
|
|
1178
1196
|
* @group Core
|
|
1179
1197
|
*/
|
|
1180
1198
|
var Scaffold = React.memo(function Scaffold(props) {
|
|
1181
|
-
const { children, autoOpenDrawer, logo, className, style, padding = true } = props;
|
|
1199
|
+
const { children, autoOpenDrawer, defaultDrawerOpen = false, logo, className, style, padding = true } = props;
|
|
1182
1200
|
const drawerChildren = React.Children.toArray(children).filter((child) => child.type.componentType === "Drawer");
|
|
1183
1201
|
if (drawerChildren.length > 1) throw Error("Only one Drawer component is allowed in Scaffold");
|
|
1184
1202
|
const appBarChildren = React.Children.toArray(children).filter((child) => child.type.componentType === "AppBar");
|
|
@@ -1186,7 +1204,7 @@ var Scaffold = React.memo(function Scaffold(props) {
|
|
|
1186
1204
|
const otherChildren = React.Children.toArray(children).filter((child) => child.type.componentType !== "Drawer" && child.type.componentType !== "AppBar");
|
|
1187
1205
|
const includeDrawer = drawerChildren.length > 0;
|
|
1188
1206
|
const largeLayout = useLargeLayout();
|
|
1189
|
-
const [drawerOpen, setDrawerOpen] = React.useState(
|
|
1207
|
+
const [drawerOpen, setDrawerOpen] = React.useState(defaultDrawerOpen && largeLayout);
|
|
1190
1208
|
const [onHover, setOnHover] = React.useState(false);
|
|
1191
1209
|
const setOnHoverTrue = useCallback(() => setOnHover(true), []);
|
|
1192
1210
|
const setOnHoverFalse = useCallback(() => {
|
|
@@ -1316,7 +1334,7 @@ function DrawerWrapper(props) {
|
|
|
1316
1334
|
//#endregion
|
|
1317
1335
|
//#region src/components/RebaseAdmin.tsx
|
|
1318
1336
|
/**
|
|
1319
|
-
* Declarative component to configure the
|
|
1337
|
+
* Declarative component to configure the admin in Rebase.
|
|
1320
1338
|
* Renders nothing — purely registers config into the RebaseRegistry.
|
|
1321
1339
|
*
|
|
1322
1340
|
* When `collectionEditor` is provided, the built-in visual schema editor
|
|
@@ -1326,7 +1344,7 @@ function DrawerWrapper(props) {
|
|
|
1326
1344
|
function RebaseAdmin({ collections, views, homePage, entityViews, entityActions, collectionEditor, navigationGroupMappings, basePath }) {
|
|
1327
1345
|
const dispatch = useRebaseRegistryDispatch();
|
|
1328
1346
|
useLayoutEffect(() => {
|
|
1329
|
-
dispatch.
|
|
1347
|
+
dispatch.registerAdmin({
|
|
1330
1348
|
collections,
|
|
1331
1349
|
views,
|
|
1332
1350
|
homePage,
|
|
@@ -1336,7 +1354,7 @@ function RebaseAdmin({ collections, views, homePage, entityViews, entityActions,
|
|
|
1336
1354
|
navigationGroupMappings,
|
|
1337
1355
|
basePath
|
|
1338
1356
|
});
|
|
1339
|
-
return () => dispatch.
|
|
1357
|
+
return () => dispatch.unregisterAdmin();
|
|
1340
1358
|
}, [
|
|
1341
1359
|
dispatch,
|
|
1342
1360
|
collections,
|
|
@@ -1360,7 +1378,7 @@ function RebaseAdmin({ collections, views, homePage, entityViews, entityActions,
|
|
|
1360
1378
|
* - Renders `children` when a user is authenticated.
|
|
1361
1379
|
*
|
|
1362
1380
|
* **Independently usable**: Use this alone when you want auth gating
|
|
1363
|
-
* without the full
|
|
1381
|
+
* without the full admin layout or navigation.
|
|
1364
1382
|
*
|
|
1365
1383
|
* @example
|
|
1366
1384
|
* ```tsx
|
|
@@ -1480,15 +1498,15 @@ function useLocalCollectionsConfigController(clientOrUrl, baseCollections = [],
|
|
|
1480
1498
|
//#region src/components/RebaseNavigation.tsx
|
|
1481
1499
|
var EMPTY_PLUGINS = [];
|
|
1482
1500
|
var EMPTY_COLLECTIONS = [];
|
|
1483
|
-
var CollectionsStudioView = lazy(() => import("./RouterCollectionsStudioView-
|
|
1501
|
+
var CollectionsStudioView = lazy(() => import("./RouterCollectionsStudioView-DwkGdgyN.js").then((n) => n.n).then((m) => ({ default: m.RouterCollectionsStudioView })));
|
|
1484
1502
|
/**
|
|
1485
|
-
* Navigation layer — builds and provides all
|
|
1503
|
+
* Navigation layer — builds and provides all admin navigation controllers:
|
|
1486
1504
|
* collection registry, URL controller, navigation state, side entity,
|
|
1487
1505
|
* and the self-assembling Studio bridge.
|
|
1488
1506
|
*
|
|
1489
1507
|
* Also handles the collection editor config controller when enabled.
|
|
1490
1508
|
*
|
|
1491
|
-
* **Independently usable**: Use this when you need
|
|
1509
|
+
* **Independently usable**: Use this when you need admin navigation
|
|
1492
1510
|
* (entity tables, side panels) in a custom layout.
|
|
1493
1511
|
*
|
|
1494
1512
|
* @example
|
|
@@ -1644,7 +1662,7 @@ function RebaseNavigation({ children }) {
|
|
|
1644
1662
|
return navigationContent;
|
|
1645
1663
|
}
|
|
1646
1664
|
/**
|
|
1647
|
-
* Internal component that auto-registers
|
|
1665
|
+
* Internal component that auto-registers admin controllers into the
|
|
1648
1666
|
* self-assembling Studio bridge. Must be rendered inside both the
|
|
1649
1667
|
* navigation contexts and the StudioBridgeRegistryProvider.
|
|
1650
1668
|
*/
|
|
@@ -1675,7 +1693,7 @@ function BridgeAutoRegistrar({ collectionRegistryController, urlController, navi
|
|
|
1675
1693
|
* ```
|
|
1676
1694
|
*/
|
|
1677
1695
|
function RebaseLayout(props) {
|
|
1678
|
-
const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, devViews = [] } = props;
|
|
1696
|
+
const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, defaultDrawerOpen = false, logo, devViews = [] } = props;
|
|
1679
1697
|
const adminModeController = useAdminModeController();
|
|
1680
1698
|
const ResolvedDrawer = useComponentOverride("Shell.Drawer", Drawer);
|
|
1681
1699
|
const ActiveDrawer = drawer ?? /* @__PURE__ */ jsx(ResolvedDrawer, {
|
|
@@ -1684,6 +1702,8 @@ function RebaseLayout(props) {
|
|
|
1684
1702
|
});
|
|
1685
1703
|
return /* @__PURE__ */ jsxs(Scaffold, {
|
|
1686
1704
|
autoOpenDrawer,
|
|
1705
|
+
defaultDrawerOpen,
|
|
1706
|
+
logo,
|
|
1687
1707
|
children: [
|
|
1688
1708
|
/* @__PURE__ */ jsx(AdminModeSyncer, { devViews }),
|
|
1689
1709
|
appBar,
|
|
@@ -2402,7 +2422,7 @@ function RenameGroupDialog({ open, initialName, existingGroupNames, onClose, onR
|
|
|
2402
2422
|
var DEFAULT_GROUP_NAME = "Views";
|
|
2403
2423
|
var ADMIN_GROUP_NAME = "Admin";
|
|
2404
2424
|
function ContentHomePage({ additionalActions, additionalChildrenStart, additionalChildrenEnd, sections, hiddenGroups }) {
|
|
2405
|
-
const context =
|
|
2425
|
+
const context = useAdminContext();
|
|
2406
2426
|
const { navigationStateController } = context;
|
|
2407
2427
|
const customizationController = useCustomizationController();
|
|
2408
2428
|
const adminModeController = useAdminModeController();
|
|
@@ -2698,16 +2718,16 @@ function ContentHomePage({ additionalActions, additionalChildrenStart, additiona
|
|
|
2698
2718
|
}
|
|
2699
2719
|
//#endregion
|
|
2700
2720
|
//#region src/components/CollectionEditorDialogs.tsx
|
|
2701
|
-
var CollectionEditorDialog = lazy(() => import("./CollectionEditorDialog-
|
|
2702
|
-
var PropertyFormDialog = lazy(() => import("./PropertyEditView-
|
|
2721
|
+
var CollectionEditorDialog = lazy(() => import("./CollectionEditorDialog-id__fOqM.js").then((n) => n.r).then((m) => ({ default: m.CollectionEditorDialog })));
|
|
2722
|
+
var PropertyFormDialog = lazy(() => import("./PropertyEditView-BLPT_e-N.js").then((n) => n.t).then((m) => ({ default: m.PropertyFormDialog })));
|
|
2703
2723
|
/**
|
|
2704
2724
|
* Renders the CollectionEditorDialog and PropertyFormDialog inside
|
|
2705
|
-
* the RebaseShell tree where
|
|
2725
|
+
* the RebaseShell tree where admin-internal contexts
|
|
2706
2726
|
* (CollectionRegistryContext, NavigationStateContext, UrlContext)
|
|
2707
2727
|
* are available.
|
|
2708
2728
|
*
|
|
2709
2729
|
* Both dialog components are loaded dynamically via React.lazy so that
|
|
2710
|
-
* production
|
|
2730
|
+
* production admin bundles that never open the collection editor don't pay
|
|
2711
2731
|
* the download/parse cost up-front.
|
|
2712
2732
|
*
|
|
2713
2733
|
* The dialog state (open/close, props) is managed by ConfigControllerProvider
|
|
@@ -2752,7 +2772,7 @@ function SettingsView() {
|
|
|
2752
2772
|
return /* @__PURE__ */ jsx(UserSettingsView, {});
|
|
2753
2773
|
}
|
|
2754
2774
|
/**
|
|
2755
|
-
* Route definitions for the
|
|
2775
|
+
* Route definitions for the admin.
|
|
2756
2776
|
*
|
|
2757
2777
|
* Defines all standard routes: home, studio home, collection view,
|
|
2758
2778
|
* settings, debug, custom views, and a catch-all 404.
|
|
@@ -2830,7 +2850,7 @@ function RebaseRouteDefs({ children, layout }) {
|
|
|
2830
2850
|
//#endregion
|
|
2831
2851
|
//#region src/components/RebaseShell.tsx
|
|
2832
2852
|
/**
|
|
2833
|
-
* Convenience component that composes all four
|
|
2853
|
+
* Convenience component that composes all four admin layers:
|
|
2834
2854
|
*
|
|
2835
2855
|
* ```
|
|
2836
2856
|
* <RebaseAuthGate>
|
|
@@ -2846,7 +2866,7 @@ function RebaseRouteDefs({ children, layout }) {
|
|
|
2846
2866
|
* RebaseShell is sugar that composes them all with sensible defaults.
|
|
2847
2867
|
*/
|
|
2848
2868
|
function RebaseShell(props) {
|
|
2849
|
-
const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, children } = props;
|
|
2869
|
+
const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, defaultDrawerOpen = false, logo, children } = props;
|
|
2850
2870
|
const registry = useRebaseRegistry();
|
|
2851
2871
|
return /* @__PURE__ */ jsx(RebaseAuthGate, { children: /* @__PURE__ */ jsx(RebaseNavigation, { children: /* @__PURE__ */ jsx(ErrorBoundary, {
|
|
2852
2872
|
fullPage: true,
|
|
@@ -2856,6 +2876,8 @@ function RebaseShell(props) {
|
|
|
2856
2876
|
appBar,
|
|
2857
2877
|
drawer,
|
|
2858
2878
|
autoOpenDrawer,
|
|
2879
|
+
defaultDrawerOpen,
|
|
2880
|
+
logo,
|
|
2859
2881
|
devViews: useMemo(() => {
|
|
2860
2882
|
return registry.studioConfig?.devViews ?? [];
|
|
2861
2883
|
}, [registry.studioConfig?.devViews])
|
|
@@ -3295,6 +3317,6 @@ function MissingReferenceWidget({ path: pathProp }) {
|
|
|
3295
3317
|
});
|
|
3296
3318
|
}
|
|
3297
3319
|
//#endregion
|
|
3298
|
-
export { AdminModeSyncer, AppBar, ArrayContainer, ArrayCustomShapedFieldBinding, ArrayEnumPreview, ArrayOfMapsPreview, ArrayOfReferencesFieldBinding, ArrayOfReferencesPreview, ArrayOfStorageComponentsPreview, ArrayOfStringsPreview, ArrayOneOfPreview, ArrayPropertyEnumPreview, ArrayPropertyPreview, BasicExportAction, BlockFieldBinding, BooleanPreview, CollectionCardViewBinding, CollectionGenerationApiError, CollectionPanel, CollectionRegistryContext, CollectionRowActions, CollectionTableBinding, CollectionViewActions, CollectionViewBinding, CreationResultDialog, CustomViewRoute, DEFAULT_COLLECTION_GENERATION_ENDPOINT, DEFAULT_FIELD_CONFIGS, DataNewPropertiesMapping, DatePreview, DateTimeFieldBinding, DefaultDrawer, Drawer, DrawerFooterActions, EmptyValue, EntityCardBinding, EntityForm, EntityFormBinding, EntityPreviewBinding, EntityViewBinding, EnumValuesChip, ExportCollectionAction, FieldCaption, FieldHelperText, FormEntry, FormLayout, ImagePreview, ImportCollectionAction, ImportDataPreview, ImportFileUpload, ImportNewPropertyFieldPreview, ImportSaveInProgress, KeyValueFieldBinding, KeyValuePreview, LabelWithIcon, LabelWithIconAndTooltip, MapFieldBinding, MapPropertyPreview, MarkdownEditorFieldBinding, MissingReferenceWidget, MultiSelectFieldBinding, NavigationStateContext, NumberPropertyPreview, PropertyConfigBadge, PropertyFieldBinding, PropertyIdCopyTooltip, PropertyPreview, PropertySelectEntry, ReadOnlyFieldBinding, RebaseAdmin, RebaseAuthGate, RebaseLayout, RebaseNavigation, RebaseRoute, RebaseRouteDefs, RebaseShell, ReferenceFieldBinding, ReferencePreview, ReferenceWidget, RelationPreview, RepeatFieldBinding, Scaffold, SearchIconsView, SelectFieldBinding, SelectableTable, SelectableTableContext, SelectionTableBinding, SideDialogs, SidePanelControllerContext, SidePanelProvider, SkeletonPropertyComponent, StorageThumbnail, StorageThumbnailInternal, StorageUploadFieldBinding, StringPropertyPreview, SwitchFieldBinding, TextFieldBinding, UrlComponentPreview, UrlContext, UserPreview, VectorFieldBinding, VirtualTableInput, addInitialSlash, buildCollectionGenerationCallback, buildSidePanelsFromUrl, convertDataToEntity, convertFileToJson, copyEntityAction, createStaticDataController, deleteEntityAction, downloadBlob, downloadDataAsCsv, downloadEntitiesExport, editEntityAction, extractTouchedValues, flattenEntry, fromSerializableCollectionConfig, fromSerializableCollectionConfigs, fromSerializableProperties, fromSerializableProperty, getBracketNotation, getChanges, getCollectionBySlugWithin, getCollectionPathsCombinations, getDefaultFieldConfig, getDefaultFieldId, getDefaultPropertiesOrder, getEntityCSVExportableData, getEntityJsonExportableData, getEntityPreviewKeys, getEntityTitlePropertyKey, getEntityTitlePropertyKeyForEntity, getEntityViewWidth, getFieldConfig, getFieldId, getFullId, getFullIdPath, getIconForProperty, getIconForWidget, getInferenceType, getInitialEntityValues, getLastSegment, getPropertiesWithPropertiesOrder, getPropertyInPath, getResolvedPropertyInPath, getUserLabel, idToPropertiesPath, isReferenceProperty, isRelationProperty, mapPropertiesToConfigs, mapPropertyToConfig, mergeEntityActions, namespaceToPropertiesOrderPath, namespaceToPropertiesPath, processValueMapping, removeEmptyContainers, removeInitialAndTrailingSlashes, removeInitialSlash, removeTrailingSlash, renderSkeletonCaptionText, renderSkeletonIcon, renderSkeletonImageThumbnail, renderSkeletonText, resetPasswordAction, resolveCollectionPathIds, resolveEntityAction, resolveEntityView, resolveNavigationFrom, sanitizeUrl, toSerializableCollectionConfig, toSerializableProperties, toSerializableProperty, unflattenObject, useApp, useBreadcrumbsController, useBuildCollectionRegistryController, useBuildNavigationStateController, useBuildSidePanel, useBuildUrlController,
|
|
3320
|
+
export { AdminModeSyncer, AppBar, ArrayContainer, ArrayCustomShapedFieldBinding, ArrayEnumPreview, ArrayOfMapsPreview, ArrayOfReferencesFieldBinding, ArrayOfReferencesPreview, ArrayOfStorageComponentsPreview, ArrayOfStringsPreview, ArrayOneOfPreview, ArrayPropertyEnumPreview, ArrayPropertyPreview, BasicExportAction, BlockFieldBinding, BooleanPreview, CollectionCardViewBinding, CollectionGenerationApiError, CollectionPanel, CollectionRegistryContext, CollectionRowActions, CollectionTableBinding, CollectionViewActions, CollectionViewBinding, CreationResultDialog, CustomViewRoute, DEFAULT_COLLECTION_GENERATION_ENDPOINT, DEFAULT_FIELD_CONFIGS, DataNewPropertiesMapping, DatePreview, DateTimeFieldBinding, DefaultDrawer, Drawer, DrawerFooterActions, EmptyValue, EntityCardBinding, EntityForm, EntityFormBinding, EntityPreviewBinding, EntityViewBinding, EnumValuesChip, ExportCollectionAction, FieldCaption, FieldHelperText, FormEntry, FormLayout, ImagePreview, ImportCollectionAction, ImportDataPreview, ImportFileUpload, ImportNewPropertyFieldPreview, ImportSaveInProgress, KeyValueFieldBinding, KeyValuePreview, LabelWithIcon, LabelWithIconAndTooltip, MapFieldBinding, MapPropertyPreview, MarkdownEditorFieldBinding, MissingReferenceWidget, MultiSelectFieldBinding, NavigationStateContext, NumberPropertyPreview, PropertyConfigBadge, PropertyFieldBinding, PropertyIdCopyTooltip, PropertyPreview, PropertySelectEntry, ReadOnlyFieldBinding, RebaseAdmin, RebaseAuthGate, RebaseLayout, RebaseNavigation, RebaseRoute, RebaseRouteDefs, RebaseShell, ReferenceFieldBinding, ReferencePreview, ReferenceWidget, RelationPreview, RepeatFieldBinding, Scaffold, SearchIconsView, SelectFieldBinding, SelectableTable, SelectableTableContext, SelectionTableBinding, SideDialogs, SidePanelControllerContext, SidePanelProvider, SkeletonPropertyComponent, StorageThumbnail, StorageThumbnailInternal, StorageUploadFieldBinding, StringPropertyPreview, SwitchFieldBinding, TextFieldBinding, UrlComponentPreview, UrlContext, UserPreview, VectorFieldBinding, VirtualTableInput, addInitialSlash, buildCollectionGenerationCallback, buildSidePanelsFromUrl, convertDataToEntity, convertFileToJson, copyEntityAction, createStaticDataController, deleteEntityAction, downloadBlob, downloadDataAsCsv, downloadEntitiesExport, editEntityAction, extractTouchedValues, flattenEntry, fromSerializableCollectionConfig, fromSerializableCollectionConfigs, fromSerializableProperties, fromSerializableProperty, getBracketNotation, getChanges, getCollectionBySlugWithin, getCollectionPathsCombinations, getDefaultFieldConfig, getDefaultFieldId, getDefaultPropertiesOrder, getEntityCSVExportableData, getEntityJsonExportableData, getEntityPreviewKeys, getEntityTitlePropertyKey, getEntityTitlePropertyKeyForEntity, getEntityViewWidth, getFieldConfig, getFieldId, getFullId, getFullIdPath, getIconForProperty, getIconForWidget, getInferenceType, getInitialEntityValues, getLastSegment, getPropertiesWithPropertiesOrder, getPropertyInPath, getResolvedPropertyInPath, getUserLabel, idToPropertiesPath, isReferenceProperty, isRelationProperty, mapPropertiesToConfigs, mapPropertyToConfig, mergeEntityActions, namespaceToPropertiesOrderPath, namespaceToPropertiesPath, processValueMapping, removeEmptyContainers, removeInitialAndTrailingSlashes, removeInitialSlash, removeTrailingSlash, renderSkeletonCaptionText, renderSkeletonIcon, renderSkeletonImageThumbnail, renderSkeletonText, resetPasswordAction, resolveCollectionPathIds, resolveEntityAction, resolveEntityView, resolveNavigationFrom, sanitizeUrl, toSerializableCollectionConfig, toSerializableProperties, toSerializableProperty, unflattenObject, useAdminContext, useApp, useBreadcrumbsController, useBuildCollectionRegistryController, useBuildNavigationStateController, useBuildSidePanel, useBuildUrlController, useClearRestoreValue, useCollectionDataController, useCollectionEditorController, useCollectionRegistryController, useCollectionsConfigController, useHistory, useImportConfig, useJsonCollectionsConfigController, useLocalCollectionsConfigController, useNavigationStateController, useResolvedCollections, useResolvedNavigationFrom, useResolvedUser, useResolvedViews, useSelectionController, useSelectionDialog, useSideDialogsController, useSidePanel, useTopLevelNavigation, useUrlController, validateCollectionJson, zodToFormErrors };
|
|
3299
3321
|
|
|
3300
3322
|
//# sourceMappingURL=index.js.map
|