@rebasepro/admin 0.11.1-canary.gfd39654 → 0.12.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.
Files changed (124) hide show
  1. package/README.md +1 -1
  2. package/dist/{CollectionEditorDialog-o7F_zbGY.js → CollectionEditorDialog-Dpc75wIZ.js} +56 -260
  3. package/dist/CollectionEditorDialog-Dpc75wIZ.js.map +1 -0
  4. package/dist/{PropertyEditView-DgB2b22q.js → PropertyEditView-DH3XZC2x.js} +2 -2
  5. package/dist/{PropertyEditView-DgB2b22q.js.map → PropertyEditView-DH3XZC2x.js.map} +1 -1
  6. package/dist/{RouterCollectionsStudioView-DaLRgPkj.js → RouterCollectionsStudioView-BZLq4MGp.js} +4 -4
  7. package/dist/{RouterCollectionsStudioView-DaLRgPkj.js.map → RouterCollectionsStudioView-BZLq4MGp.js.map} +1 -1
  8. package/dist/collection_editor/CollectionEditorDialogsContext.d.ts +1 -1
  9. package/dist/collection_editor/_cms_internals.d.ts +1 -1
  10. package/dist/collection_editor/extensibility_types.d.ts +1 -1
  11. package/dist/collection_editor/serializable_types.d.ts +40 -12
  12. package/dist/collection_editor/serializable_utils.d.ts +1 -1
  13. package/dist/collection_editor/ui/collection_editor/CollectionRLSTab.d.ts +1 -11
  14. package/dist/collection_editor_ui.js +4 -4
  15. package/dist/components/CollectionEditorDialogs.d.ts +2 -2
  16. package/dist/components/CollectionTableBinding/column_utils.d.ts +7 -1
  17. package/dist/components/CollectionViewBinding/CollectionListViewBinding.d.ts +2 -2
  18. package/dist/components/DefaultDrawer.d.ts +3 -3
  19. package/dist/components/DrawerNavigationGroup.d.ts +8 -1
  20. package/dist/components/DrawerNavigationItem.d.ts +7 -1
  21. package/dist/components/EditViewBinding.d.ts +1 -1
  22. package/dist/components/RebaseAdmin.d.ts +1 -1
  23. package/dist/components/RebaseAuthGate.d.ts +1 -1
  24. package/dist/components/RebaseLayout.d.ts +5 -1
  25. package/dist/components/RebaseNavigation.d.ts +2 -2
  26. package/dist/components/RebaseRouteDefs.d.ts +1 -1
  27. package/dist/components/RebaseShell.d.ts +6 -1
  28. package/dist/components/RelationSelector.d.ts +14 -0
  29. package/dist/components/SelectableTable/filters/RelationFilterField.d.ts +27 -0
  30. package/dist/components/SelectableTable/filters/null_filter.d.ts +46 -0
  31. package/dist/components/SidePanelProvider.d.ts +2 -2
  32. package/dist/components/app/Scaffold.d.ts +11 -0
  33. package/dist/components/field_configs.d.ts +1 -1
  34. package/dist/{export-BvqhjdEb.js → export-BzIpUdSK.js} +3 -3
  35. package/dist/export-BzIpUdSK.js.map +1 -0
  36. package/dist/form/EntityForm.d.ts +2 -2
  37. package/dist/form/EntityFormBinding.d.ts +5 -5
  38. package/dist/{history-Dz20hH38.js → history-g9688IaK.js} +2 -2
  39. package/dist/{history-Dz20hH38.js.map → history-g9688IaK.js.map} +1 -1
  40. package/dist/hooks/index.d.ts +1 -1
  41. package/dist/hooks/useAdminContext.d.ts +29 -0
  42. package/dist/hooks/useHistory.d.ts +7 -11
  43. package/dist/{import-DINSB-Vu.js → import-BjUG-cIY.js} +2 -2
  44. package/dist/{import-DINSB-Vu.js.map → import-BjUG-cIY.js.map} +1 -1
  45. package/dist/index.js +61 -38
  46. package/dist/index.js.map +1 -1
  47. package/dist/types/components/EntityFormProps.d.ts +1 -1
  48. package/dist/types/fields.d.ts +1 -1
  49. package/dist/{util-BhhfHY1M.js → util-B5fJm1FA.js} +296 -169
  50. package/dist/util-B5fJm1FA.js.map +1 -0
  51. package/package.json +9 -9
  52. package/src/collection_editor/CollectionEditorDialogsContext.tsx +1 -1
  53. package/src/collection_editor/ConfigControllerProvider.tsx +1 -1
  54. package/src/collection_editor/_cms_internals.ts +1 -1
  55. package/src/collection_editor/extensibility_types.ts +1 -1
  56. package/src/collection_editor/index.ts +2 -2
  57. package/src/collection_editor/serializable_types.ts +44 -13
  58. package/src/collection_editor/serializable_utils.ts +68 -59
  59. package/src/collection_editor/ui/collection_editor/CollectionEditorDialog.tsx +1 -1
  60. package/src/collection_editor/ui/collection_editor/CollectionRLSTab.tsx +66 -41
  61. package/src/collection_editor/ui/collection_editor/EntityActionsEditTab.tsx +1 -1
  62. package/src/collection_editor/ui/collection_editor/GetCodeDialog.tsx +1 -1
  63. package/src/collection_editor/ui/collection_editor/SubcollectionsEditTab.tsx +2 -2
  64. package/src/components/CollectionEditorDialogs.tsx +2 -2
  65. package/src/components/CollectionTableBinding/CollectionRowActions.tsx +5 -4
  66. package/src/components/CollectionTableBinding/CollectionTableBinding.tsx +8 -2
  67. package/src/components/CollectionTableBinding/column_utils.tsx +19 -5
  68. package/src/components/CollectionTableBinding/table_bindings.tsx +10 -10
  69. package/src/components/CollectionViewBinding/CollectionListViewBinding.tsx +8 -7
  70. package/src/components/CollectionViewBinding/CollectionViewActions.tsx +2 -2
  71. package/src/components/CollectionViewBinding/CollectionViewBinding.tsx +2 -2
  72. package/src/components/CollectionViewBinding/CollectionViewStartActions.tsx +2 -2
  73. package/src/components/DefaultDrawer.tsx +19 -8
  74. package/src/components/DeleteEntityDialog.tsx +2 -2
  75. package/src/components/DetailViewBinding.tsx +21 -1
  76. package/src/components/DrawerNavigationGroup.tsx +47 -4
  77. package/src/components/DrawerNavigationItem.tsx +19 -5
  78. package/src/components/EditFormActions.tsx +4 -3
  79. package/src/components/EditViewBinding.tsx +1 -1
  80. package/src/components/HomePage/ContentHomePage.tsx +4 -4
  81. package/src/components/RebaseAdmin.tsx +3 -3
  82. package/src/components/RebaseAuthGate.tsx +1 -1
  83. package/src/components/RebaseLayout.tsx +8 -2
  84. package/src/components/RebaseNavigation.tsx +9 -9
  85. package/src/components/RebaseRouteDefs.tsx +2 -2
  86. package/src/components/RebaseShell.tsx +10 -1
  87. package/src/components/RelationSelector.tsx +18 -3
  88. package/src/components/SelectableTable/filters/FilterFieldBinding.tsx +1 -1
  89. package/src/components/SelectableTable/filters/ReferenceFilterField.tsx +36 -9
  90. package/src/components/SelectableTable/filters/RelationFilterField.tsx +93 -17
  91. package/src/components/SelectableTable/filters/null_filter.ts +63 -0
  92. package/src/components/SidePanelProvider.tsx +2 -2
  93. package/src/components/app/Scaffold.tsx +16 -1
  94. package/src/data_export/export/ExportCollectionAction.tsx +2 -2
  95. package/src/form/EntityForm.tsx +2 -2
  96. package/src/form/EntityFormActions.tsx +2 -1
  97. package/src/form/EntityFormBinding.tsx +7 -7
  98. package/src/form/field_bindings/ArrayOfReferencesFieldBinding.tsx +3 -3
  99. package/src/form/field_bindings/MultipleRelationFieldBinding.tsx +16 -5
  100. package/src/form/field_bindings/ReferenceFieldBinding.tsx +3 -3
  101. package/src/form/field_bindings/RelationFieldBinding.tsx +17 -6
  102. package/src/form/field_bindings/RepeatFieldBinding.tsx +2 -2
  103. package/src/hooks/index.ts +1 -1
  104. package/src/hooks/navigation/useNavigationResolution.ts +10 -4
  105. package/src/hooks/{useCMSContext.tsx → useAdminContext.tsx} +10 -10
  106. package/src/hooks/useHistory.ts +7 -11
  107. package/src/hooks/useResolvedNavigationFrom.tsx +2 -2
  108. package/src/index.ts +4 -4
  109. package/src/preview/PropertyPreview.tsx +6 -6
  110. package/src/preview/components/RelationPreview.tsx +1 -1
  111. package/src/preview/property_previews/ArrayOfMapsPreview.tsx +1 -1
  112. package/src/preview/property_previews/ArrayOfReferencesPreview.tsx +2 -2
  113. package/src/preview/property_previews/ArrayOfRelationsPreview.tsx +2 -2
  114. package/src/preview/property_previews/SkeletonPropertyComponent.tsx +2 -2
  115. package/src/types/components/EntityFormProps.tsx +2 -2
  116. package/src/types/fields.tsx +1 -1
  117. package/dist/CollectionEditorDialog-o7F_zbGY.js.map +0 -1
  118. package/dist/collection_editor/pgColumnToProperty.d.ts +0 -7
  119. package/dist/editor/extensions/Image/index.d.ts +0 -6
  120. package/dist/export-BvqhjdEb.js.map +0 -1
  121. package/dist/hooks/useCMSContext.d.ts +0 -29
  122. package/dist/util-BhhfHY1M.js.map +0 -1
  123. package/src/collection_editor/pgColumnToProperty.ts +0 -291
  124. package/src/editor/extensions/Image/index.ts +0 -133
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 useCMSContext, 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-BhhfHY1M.js";
2
- import { i as PropertySelectEntry, n as ImportCollectionAction, r as ImportDataPreview } from "./import-DINSB-Vu.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-BvqhjdEb.js";
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-B5fJm1FA.js";
2
+ import { i as PropertySelectEntry, n as ImportCollectionAction, r as ImportDataPreview } from "./import-BjUG-cIY.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-BzIpUdSK.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 CMS extraction refactor, `useBuildSidePanel` lives
458
- * in the CMS package while the context it feeds into lives in core.
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,12 @@ 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 categorised = Boolean(groupIcon);
774
+ const indentEntries = categorised;
769
775
  return /* @__PURE__ */ jsxs("div", {
770
776
  className: "my-2 mx-2 flex flex-col",
771
777
  children: [!hideHeader && /* @__PURE__ */ jsxs("div", {
@@ -774,12 +780,16 @@ function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, d
774
780
  children: [
775
781
  /* @__PURE__ */ jsx(ChevronDownIcon, {
776
782
  size: iconSize.small,
777
- className: cls("text-surface-400 dark:text-surface-400 transition-transform duration-200 mr-1", collapsed ? "-rotate-90" : "rotate-0")
783
+ className: cls(categorised ? "text-surface-500 dark:text-surface-400" : "text-surface-400 dark:text-surface-400", "transition-transform duration-200 mr-1", collapsed ? "-rotate-90" : "rotate-0")
784
+ }),
785
+ groupIcon && /* @__PURE__ */ jsx("span", {
786
+ className: "shrink-0 mr-2 flex items-center text-surface-600 dark:text-surface-300 [&>svg]:size-4",
787
+ children: groupIcon
778
788
  }),
779
789
  /* @__PURE__ */ jsx(Typography, {
780
790
  variant: "caption",
781
791
  color: "secondary",
782
- className: "font-semibold text-[11px] uppercase tracking-wider flex-grow line-clamp-1 text-surface-400 dark:text-surface-400",
792
+ className: cls("font-semibold uppercase flex-grow line-clamp-1", categorised ? "text-[12px] tracking-wide text-surface-600 dark:text-surface-300" : "text-[11px] tracking-wider text-surface-400 dark:text-surface-400"),
783
793
  children: group || t("views_group")
784
794
  }),
785
795
  headerActions && /* @__PURE__ */ jsx("div", {
@@ -799,7 +809,8 @@ function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, d
799
809
  drawerOpen,
800
810
  onClick: () => onItemClick?.(entry),
801
811
  url: entry.url,
802
- name: entry.name
812
+ name: entry.name,
813
+ indented: indentEntries
803
814
  }, entry.id))
804
815
  })]
805
816
  }, `drawer_group_${group}`);
@@ -807,9 +818,9 @@ function DrawerNavigationGroup({ group, entries, collapsed, onToggleCollapsed, d
807
818
  //#endregion
808
819
  //#region src/components/DefaultDrawer.tsx
809
820
  /**
810
- * Default drawer used in the CMS.
821
+ * Default drawer used in the admin.
811
822
  *
812
- * When no `children` are provided, renders the full CMS navigation
823
+ * When no `children` are provided, renders the full admin navigation
813
824
  * (collection groups, mode switch, plugin slots).
814
825
  *
815
826
  * When `children` **are** provided, renders the shared drawer shell
@@ -846,7 +857,7 @@ function DefaultDrawer({ title, logo, logoDestination, children, footerActions,
846
857
  onScroll: handleScroll,
847
858
  className: "flex-grow min-h-0 overflow-y-auto overflow-x-hidden no-scrollbar px-2",
848
859
  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(CMSNavigationContent, {})
860
+ children: children ?? /* @__PURE__ */ jsx(AdminNavigationContent, {})
850
861
  }),
851
862
  footerActions !== null && (footerActions !== void 0 ? footerActions : /* @__PURE__ */ jsx(DrawerFooterActions, {
852
863
  drawerOpen,
@@ -862,11 +873,11 @@ function DefaultDrawer({ title, logo, logoDestination, children, footerActions,
862
873
  });
863
874
  }
864
875
  /**
865
- * Default CMS navigation content — rendered inside DefaultDrawer when no
876
+ * Default admin navigation content — rendered inside DefaultDrawer when no
866
877
  * custom `children` are provided. Contains the mode switch, navigation
867
878
  * groups, and header / footer plugin slots.
868
879
  */
869
- function CMSNavigationContent() {
880
+ function AdminNavigationContent() {
870
881
  const { drawerHovered, drawerOpen, closeDrawer, closeHover } = useApp();
871
882
  const [adminMenuOpen, setAdminMenuOpen] = React.useState(false);
872
883
  const analyticsController = useAnalyticsController();
@@ -888,6 +899,13 @@ function CMSNavigationContent() {
888
899
  const entryGroups = new Set(filteredEntries.map((e) => e.group).filter(Boolean));
889
900
  const orderedGroups = navigationState.topLevelNavigation?.groups ?? [];
890
901
  const groupsToRender = [...orderedGroups.filter((g) => entryGroups.has(g)), ...[...entryGroups].filter((g) => !orderedGroups.includes(g))];
902
+ const groupIcons = useMemo(() => {
903
+ const icons = /* @__PURE__ */ new Map();
904
+ (registry.cmsConfig?.navigationGroupMappings ?? []).forEach((mapping) => {
905
+ if (mapping.icon) icons.set(mapping.name, mapping.icon);
906
+ });
907
+ return icons;
908
+ }, [registry.cmsConfig?.navigationGroupMappings]);
891
909
  const { isGroupCollapsed, toggleGroupCollapsed } = useCollapsedGroups(groupsToRender, "drawer", useMemo(() => buildCollapsedDefaults(registry.cmsConfig?.navigationGroupMappings, "drawer"), [registry.cmsConfig?.navigationGroupMappings]));
892
910
  const headerSlot = useSlot("navigation.header", {
893
911
  drawerOpen,
@@ -922,7 +940,8 @@ function CMSNavigationContent() {
922
940
  drawerOpen: drawerVisuallyOpen,
923
941
  tooltipsOpen,
924
942
  adminMenuOpen,
925
- onItemClick
943
+ onItemClick,
944
+ icon: groupIcons.get(group)
926
945
  }, `drawer_group_${group}`);
927
946
  }),
928
947
  footerSlot
@@ -1178,7 +1197,7 @@ Drawer.componentType = "Drawer";
1178
1197
  * @group Core
1179
1198
  */
1180
1199
  var Scaffold = React.memo(function Scaffold(props) {
1181
- const { children, autoOpenDrawer, logo, className, style, padding = true } = props;
1200
+ const { children, autoOpenDrawer, defaultDrawerOpen = false, logo, className, style, padding = true } = props;
1182
1201
  const drawerChildren = React.Children.toArray(children).filter((child) => child.type.componentType === "Drawer");
1183
1202
  if (drawerChildren.length > 1) throw Error("Only one Drawer component is allowed in Scaffold");
1184
1203
  const appBarChildren = React.Children.toArray(children).filter((child) => child.type.componentType === "AppBar");
@@ -1186,7 +1205,7 @@ var Scaffold = React.memo(function Scaffold(props) {
1186
1205
  const otherChildren = React.Children.toArray(children).filter((child) => child.type.componentType !== "Drawer" && child.type.componentType !== "AppBar");
1187
1206
  const includeDrawer = drawerChildren.length > 0;
1188
1207
  const largeLayout = useLargeLayout();
1189
- const [drawerOpen, setDrawerOpen] = React.useState(false);
1208
+ const [drawerOpen, setDrawerOpen] = React.useState(defaultDrawerOpen && largeLayout);
1190
1209
  const [onHover, setOnHover] = React.useState(false);
1191
1210
  const setOnHoverTrue = useCallback(() => setOnHover(true), []);
1192
1211
  const setOnHoverFalse = useCallback(() => {
@@ -1316,7 +1335,7 @@ function DrawerWrapper(props) {
1316
1335
  //#endregion
1317
1336
  //#region src/components/RebaseAdmin.tsx
1318
1337
  /**
1319
- * Declarative component to configure the CMS in Rebase.
1338
+ * Declarative component to configure the admin in Rebase.
1320
1339
  * Renders nothing — purely registers config into the RebaseRegistry.
1321
1340
  *
1322
1341
  * When `collectionEditor` is provided, the built-in visual schema editor
@@ -1326,7 +1345,7 @@ function DrawerWrapper(props) {
1326
1345
  function RebaseAdmin({ collections, views, homePage, entityViews, entityActions, collectionEditor, navigationGroupMappings, basePath }) {
1327
1346
  const dispatch = useRebaseRegistryDispatch();
1328
1347
  useLayoutEffect(() => {
1329
- dispatch.registerCMS({
1348
+ dispatch.registerAdmin({
1330
1349
  collections,
1331
1350
  views,
1332
1351
  homePage,
@@ -1336,7 +1355,7 @@ function RebaseAdmin({ collections, views, homePage, entityViews, entityActions,
1336
1355
  navigationGroupMappings,
1337
1356
  basePath
1338
1357
  });
1339
- return () => dispatch.unregisterCMS();
1358
+ return () => dispatch.unregisterAdmin();
1340
1359
  }, [
1341
1360
  dispatch,
1342
1361
  collections,
@@ -1360,7 +1379,7 @@ function RebaseAdmin({ collections, views, homePage, entityViews, entityActions,
1360
1379
  * - Renders `children` when a user is authenticated.
1361
1380
  *
1362
1381
  * **Independently usable**: Use this alone when you want auth gating
1363
- * without the full CMS layout or navigation.
1382
+ * without the full admin layout or navigation.
1364
1383
  *
1365
1384
  * @example
1366
1385
  * ```tsx
@@ -1480,15 +1499,15 @@ function useLocalCollectionsConfigController(clientOrUrl, baseCollections = [],
1480
1499
  //#region src/components/RebaseNavigation.tsx
1481
1500
  var EMPTY_PLUGINS = [];
1482
1501
  var EMPTY_COLLECTIONS = [];
1483
- var CollectionsStudioView = lazy(() => import("./RouterCollectionsStudioView-DaLRgPkj.js").then((n) => n.n).then((m) => ({ default: m.RouterCollectionsStudioView })));
1502
+ var CollectionsStudioView = lazy(() => import("./RouterCollectionsStudioView-BZLq4MGp.js").then((n) => n.n).then((m) => ({ default: m.RouterCollectionsStudioView })));
1484
1503
  /**
1485
- * Navigation layer — builds and provides all CMS navigation controllers:
1504
+ * Navigation layer — builds and provides all admin navigation controllers:
1486
1505
  * collection registry, URL controller, navigation state, side entity,
1487
1506
  * and the self-assembling Studio bridge.
1488
1507
  *
1489
1508
  * Also handles the collection editor config controller when enabled.
1490
1509
  *
1491
- * **Independently usable**: Use this when you need CMS navigation
1510
+ * **Independently usable**: Use this when you need admin navigation
1492
1511
  * (entity tables, side panels) in a custom layout.
1493
1512
  *
1494
1513
  * @example
@@ -1644,7 +1663,7 @@ function RebaseNavigation({ children }) {
1644
1663
  return navigationContent;
1645
1664
  }
1646
1665
  /**
1647
- * Internal component that auto-registers CMS controllers into the
1666
+ * Internal component that auto-registers admin controllers into the
1648
1667
  * self-assembling Studio bridge. Must be rendered inside both the
1649
1668
  * navigation contexts and the StudioBridgeRegistryProvider.
1650
1669
  */
@@ -1675,7 +1694,7 @@ function BridgeAutoRegistrar({ collectionRegistryController, urlController, navi
1675
1694
  * ```
1676
1695
  */
1677
1696
  function RebaseLayout(props) {
1678
- const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, devViews = [] } = props;
1697
+ const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, defaultDrawerOpen = false, logo, devViews = [] } = props;
1679
1698
  const adminModeController = useAdminModeController();
1680
1699
  const ResolvedDrawer = useComponentOverride("Shell.Drawer", Drawer);
1681
1700
  const ActiveDrawer = drawer ?? /* @__PURE__ */ jsx(ResolvedDrawer, {
@@ -1684,6 +1703,8 @@ function RebaseLayout(props) {
1684
1703
  });
1685
1704
  return /* @__PURE__ */ jsxs(Scaffold, {
1686
1705
  autoOpenDrawer,
1706
+ defaultDrawerOpen,
1707
+ logo,
1687
1708
  children: [
1688
1709
  /* @__PURE__ */ jsx(AdminModeSyncer, { devViews }),
1689
1710
  appBar,
@@ -2402,7 +2423,7 @@ function RenameGroupDialog({ open, initialName, existingGroupNames, onClose, onR
2402
2423
  var DEFAULT_GROUP_NAME = "Views";
2403
2424
  var ADMIN_GROUP_NAME = "Admin";
2404
2425
  function ContentHomePage({ additionalActions, additionalChildrenStart, additionalChildrenEnd, sections, hiddenGroups }) {
2405
- const context = useCMSContext();
2426
+ const context = useAdminContext();
2406
2427
  const { navigationStateController } = context;
2407
2428
  const customizationController = useCustomizationController();
2408
2429
  const adminModeController = useAdminModeController();
@@ -2698,16 +2719,16 @@ function ContentHomePage({ additionalActions, additionalChildrenStart, additiona
2698
2719
  }
2699
2720
  //#endregion
2700
2721
  //#region src/components/CollectionEditorDialogs.tsx
2701
- var CollectionEditorDialog = lazy(() => import("./CollectionEditorDialog-o7F_zbGY.js").then((n) => n.r).then((m) => ({ default: m.CollectionEditorDialog })));
2702
- var PropertyFormDialog = lazy(() => import("./PropertyEditView-DgB2b22q.js").then((n) => n.t).then((m) => ({ default: m.PropertyFormDialog })));
2722
+ var CollectionEditorDialog = lazy(() => import("./CollectionEditorDialog-Dpc75wIZ.js").then((n) => n.r).then((m) => ({ default: m.CollectionEditorDialog })));
2723
+ var PropertyFormDialog = lazy(() => import("./PropertyEditView-DH3XZC2x.js").then((n) => n.t).then((m) => ({ default: m.PropertyFormDialog })));
2703
2724
  /**
2704
2725
  * Renders the CollectionEditorDialog and PropertyFormDialog inside
2705
- * the RebaseShell tree where CMS-internal contexts
2726
+ * the RebaseShell tree where admin-internal contexts
2706
2727
  * (CollectionRegistryContext, NavigationStateContext, UrlContext)
2707
2728
  * are available.
2708
2729
  *
2709
2730
  * Both dialog components are loaded dynamically via React.lazy so that
2710
- * production CMS bundles that never open the collection editor don't pay
2731
+ * production admin bundles that never open the collection editor don't pay
2711
2732
  * the download/parse cost up-front.
2712
2733
  *
2713
2734
  * The dialog state (open/close, props) is managed by ConfigControllerProvider
@@ -2752,7 +2773,7 @@ function SettingsView() {
2752
2773
  return /* @__PURE__ */ jsx(UserSettingsView, {});
2753
2774
  }
2754
2775
  /**
2755
- * Route definitions for the CMS.
2776
+ * Route definitions for the admin.
2756
2777
  *
2757
2778
  * Defines all standard routes: home, studio home, collection view,
2758
2779
  * settings, debug, custom views, and a catch-all 404.
@@ -2830,7 +2851,7 @@ function RebaseRouteDefs({ children, layout }) {
2830
2851
  //#endregion
2831
2852
  //#region src/components/RebaseShell.tsx
2832
2853
  /**
2833
- * Convenience component that composes all four CMS layers:
2854
+ * Convenience component that composes all four admin layers:
2834
2855
  *
2835
2856
  * ```
2836
2857
  * <RebaseAuthGate>
@@ -2846,7 +2867,7 @@ function RebaseRouteDefs({ children, layout }) {
2846
2867
  * RebaseShell is sugar that composes them all with sensible defaults.
2847
2868
  */
2848
2869
  function RebaseShell(props) {
2849
- const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, children } = props;
2870
+ const { title = "Rebase", appBar, drawer, autoOpenDrawer = false, defaultDrawerOpen = false, logo, children } = props;
2850
2871
  const registry = useRebaseRegistry();
2851
2872
  return /* @__PURE__ */ jsx(RebaseAuthGate, { children: /* @__PURE__ */ jsx(RebaseNavigation, { children: /* @__PURE__ */ jsx(ErrorBoundary, {
2852
2873
  fullPage: true,
@@ -2856,6 +2877,8 @@ function RebaseShell(props) {
2856
2877
  appBar,
2857
2878
  drawer,
2858
2879
  autoOpenDrawer,
2880
+ defaultDrawerOpen,
2881
+ logo,
2859
2882
  devViews: useMemo(() => {
2860
2883
  return registry.studioConfig?.devViews ?? [];
2861
2884
  }, [registry.studioConfig?.devViews])
@@ -3295,6 +3318,6 @@ function MissingReferenceWidget({ path: pathProp }) {
3295
3318
  });
3296
3319
  }
3297
3320
  //#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, useCMSContext, useClearRestoreValue, useCollectionDataController, useCollectionEditorController, useCollectionRegistryController, useCollectionsConfigController, useHistory, useImportConfig, useJsonCollectionsConfigController, useLocalCollectionsConfigController, useNavigationStateController, useResolvedCollections, useResolvedNavigationFrom, useResolvedUser, useResolvedViews, useSelectionController, useSelectionDialog, useSideDialogsController, useSidePanel, useTopLevelNavigation, useUrlController, validateCollectionJson, zodToFormErrors };
3321
+ 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
3322
 
3300
3323
  //# sourceMappingURL=index.js.map