@rebasepro/admin 0.10.0 → 0.10.1-canary.14e53ae

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 (38) hide show
  1. package/dist/{CollectionEditorDialog-BOlKGGg7.js → CollectionEditorDialog-BqVYCTmU.js} +3 -3
  2. package/dist/{CollectionEditorDialog-BOlKGGg7.js.map → CollectionEditorDialog-BqVYCTmU.js.map} +1 -1
  3. package/dist/{PropertyEditView-i51tFOfM.js → PropertyEditView-CIX85COE.js} +2 -2
  4. package/dist/{PropertyEditView-i51tFOfM.js.map → PropertyEditView-CIX85COE.js.map} +1 -1
  5. package/dist/{RouterCollectionsStudioView-Dh4W53PU.js → RouterCollectionsStudioView-_1RsFWS0.js} +4 -4
  6. package/dist/{RouterCollectionsStudioView-Dh4W53PU.js.map → RouterCollectionsStudioView-_1RsFWS0.js.map} +1 -1
  7. package/dist/collection_editor_ui.js +4 -4
  8. package/dist/components/CollectionViewBinding/usePreviewSlots.d.ts +2 -0
  9. package/dist/{export-BM6HPujv.js → export-CIi-Zrsn.js} +2 -2
  10. package/dist/{export-BM6HPujv.js.map → export-CIi-Zrsn.js.map} +1 -1
  11. package/dist/{history-CtIPJxvQ.js → history-BojXI3uS.js} +2 -2
  12. package/dist/{history-CtIPJxvQ.js.map → history-BojXI3uS.js.map} +1 -1
  13. package/dist/hooks/index.d.ts +1 -0
  14. package/dist/hooks/useResolvedUsers.d.ts +8 -0
  15. package/dist/{import-DzQnT03v.js → import-SVoKfekq.js} +2 -2
  16. package/dist/{import-DzQnT03v.js.map → import-SVoKfekq.js.map} +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +7 -7
  19. package/dist/preview/components/UserPreview.d.ts +3 -2
  20. package/dist/preview/property_previews/StringPropertyPreview.d.ts +1 -1
  21. package/dist/util/previews.d.ts +18 -0
  22. package/dist/{util-XFwQ9FEc.js → util-aJuPuy_1.js} +198 -65
  23. package/dist/util-aJuPuy_1.js.map +1 -0
  24. package/package.json +8 -8
  25. package/src/components/CollectionViewBinding/usePreviewSlots.ts +41 -10
  26. package/src/components/DetailViewBinding.tsx +12 -5
  27. package/src/components/EntityPreviewBinding.tsx +2 -2
  28. package/src/components/SideDialogs.tsx +1 -1
  29. package/src/form/EntityForm.tsx +12 -5
  30. package/src/hooks/index.ts +1 -0
  31. package/src/hooks/useResolvedUsers.ts +143 -0
  32. package/src/index.ts +2 -1
  33. package/src/preview/components/ReferencePreview.tsx +2 -2
  34. package/src/preview/components/RelationPreview.tsx +2 -2
  35. package/src/preview/components/UserPreview.tsx +13 -4
  36. package/src/preview/property_previews/StringPropertyPreview.tsx +15 -9
  37. package/src/util/previews.ts +35 -46
  38. package/dist/util-XFwQ9FEc.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
- import { Dt as ImportSaveInProgress, Et as useImportConfig, Mt as PropertyConfigBadge, Nn as useCollectionRegistryController, Nt as SearchIconsView, O as getFieldConfig, Ot as ImportFileUpload, Pt as FieldCaption, Qt as CollectionTableBinding, St as convertDataToEntity, Tt as getInferenceType, Xt as useSelectionController, _t as useCollectionEditorController, an as useNavigationStateController, bt as ImportNewPropertyFieldPreview, g as useCollectionsConfigController, i as namespaceToPropertiesOrderPath, k as getFieldId, l as validateCollectionJson, n as getFullIdPath, o as CollectionGenerationApiError, p as toSerializableCollectionConfig, r as idToPropertiesPath, rn as useUrlController, t as getFullId, xt as DataNewPropertiesMapping } from "./util-XFwQ9FEc.js";
3
- import { a as updatePropertyFromWidget, c as useAIModifiedPaths, i as supportedFields, l as useSafeSnackbarController, n as PropertyForm, o as PropertyTree, r as PropertyFormDialog, s as AIModifiedPathsProvider } from "./PropertyEditView-i51tFOfM.js";
2
+ import { Dt as ImportSaveInProgress, Et as useImportConfig, Fn as useCollectionRegistryController, Mt as PropertyConfigBadge, Nt as SearchIconsView, O as getFieldConfig, Ot as ImportFileUpload, Pt as FieldCaption, Qt as CollectionTableBinding, St as convertDataToEntity, Tt as getInferenceType, Xt as useSelectionController, _t as useCollectionEditorController, an as useNavigationStateController, bt as ImportNewPropertyFieldPreview, g as useCollectionsConfigController, i as namespaceToPropertiesOrderPath, k as getFieldId, l as validateCollectionJson, n as getFullIdPath, o as CollectionGenerationApiError, p as toSerializableCollectionConfig, r as idToPropertiesPath, rn as useUrlController, t as getFullId, xt as DataNewPropertiesMapping } from "./util-aJuPuy_1.js";
3
+ import { a as updatePropertyFromWidget, c as useAIModifiedPaths, i as supportedFields, l as useSafeSnackbarController, n as PropertyForm, o as PropertyTree, r as PropertyFormDialog, s as AIModifiedPathsProvider } from "./PropertyEditView-CIX85COE.js";
4
4
  import * as React$1 from "react";
5
5
  import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
6
6
  import { Alert, AppWindow, ArrowLeftIcon, BooleanSwitchWithLabel, Button, Card, CheckIcon, Chip, CircularProgress, CircularProgressCenter, CodeIcon, ColumnsIcon, Container, CopyIcon, DebouncedTextField, Dialog, DialogActions, DialogContent, DialogTitle, ErrorBoundary, FileIcon, FileSearchIcon, FileTextIcon, IconButton, KanbanIcon, KeyIcon, LayoutGridIcon, ListIcon, LoadingButton, Menu, MultiSelect, MultiSelectItem, PanelLeftIcon, Paper, PlusIcon, Select, SelectItem, ShoppingCartIcon, SquareIcon, Tab, TableIcon, Tabs, TextField, ToggleButtonGroup, Tooltip, Trash2Icon, Typography, UserIcon, XIcon, cls, coolIconKeys, defaultBorderMixin, iconSize } from "@rebasepro/ui";
@@ -3741,4 +3741,4 @@ var validateId = (value, isNewCollection, existingPaths, existingIds) => {
3741
3741
  //#endregion
3742
3742
  export { CollectionEditorDialog as n, CollectionEditorDialog_exports as r, CollectionEditor as t };
3743
3743
 
3744
- //# sourceMappingURL=CollectionEditorDialog-BOlKGGg7.js.map
3744
+ //# sourceMappingURL=CollectionEditorDialog-BqVYCTmU.js.map