@rebasepro/admin 0.10.1-canary.ff9ccd6 → 0.10.1-canary.gdaf6ba4

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 (70) hide show
  1. package/dist/{CollectionEditorDialog-DMztwJ5S.js → CollectionEditorDialog-o7F_zbGY.js} +3 -3
  2. package/dist/{CollectionEditorDialog-DMztwJ5S.js.map → CollectionEditorDialog-o7F_zbGY.js.map} +1 -1
  3. package/dist/{PropertyEditView-CjFCnftn.js → PropertyEditView-DgB2b22q.js} +127 -86
  4. package/dist/PropertyEditView-DgB2b22q.js.map +1 -0
  5. package/dist/{RouterCollectionsStudioView-nDFQdKHA.js → RouterCollectionsStudioView-DaLRgPkj.js} +4 -4
  6. package/dist/{RouterCollectionsStudioView-nDFQdKHA.js.map → RouterCollectionsStudioView-DaLRgPkj.js.map} +1 -1
  7. package/dist/collection_editor/index.d.ts +1 -1
  8. package/dist/collection_editor/relation_kinds.d.ts +23 -0
  9. package/dist/collection_editor/serializable_types.d.ts +54 -15
  10. package/dist/collection_editor/serializable_utils.d.ts +24 -3
  11. package/dist/collection_editor/ui/collection_editor/CollectionRelationsTab.d.ts +58 -0
  12. package/dist/collection_editor_ui.js +4 -4
  13. package/dist/components/CollectionTableBinding/internal/popup_field/PopupFormField.d.ts +1 -1
  14. package/dist/components/CollectionViewBinding/CollectionViewActions.d.ts +6 -1
  15. package/dist/components/CollectionViewBinding/FilterPresetsButton.d.ts +2 -2
  16. package/dist/components/DeleteEntityDialog.d.ts +9 -1
  17. package/dist/components/common/default_entity_actions.d.ts +5 -0
  18. package/dist/components/field_configs.d.ts +1 -1
  19. package/dist/{export-CavEbZVF.js → export-BvqhjdEb.js} +2 -2
  20. package/dist/{export-CavEbZVF.js.map → export-BvqhjdEb.js.map} +1 -1
  21. package/dist/form/field_bindings/BinaryFieldBinding.d.ts +25 -0
  22. package/dist/form/field_bindings/GeopointFieldBinding.d.ts +34 -0
  23. package/dist/{history-B1lIsrkX.js → history-Dz20hH38.js} +2 -2
  24. package/dist/{history-B1lIsrkX.js.map → history-Dz20hH38.js.map} +1 -1
  25. package/dist/hooks/useChildViewSource.d.ts +16 -0
  26. package/dist/{import-36UcGe71.js → import-DINSB-Vu.js} +2 -2
  27. package/dist/{import-36UcGe71.js.map → import-DINSB-Vu.js.map} +1 -1
  28. package/dist/index.js +8 -8
  29. package/dist/index.js.map +1 -1
  30. package/dist/types/fields.d.ts +1 -1
  31. package/dist/{util-CPgUM4M8.js → util-BhhfHY1M.js} +696 -137
  32. package/dist/util-BhhfHY1M.js.map +1 -0
  33. package/package.json +9 -9
  34. package/src/collection_editor/index.ts +1 -0
  35. package/src/collection_editor/relation_kinds.ts +44 -0
  36. package/src/collection_editor/serializable_types.ts +40 -19
  37. package/src/collection_editor/serializable_utils.ts +158 -40
  38. package/src/collection_editor/ui/collection_editor/CollectionRelationsTab.tsx +232 -34
  39. package/src/collection_editor/ui/collection_editor/PropertyEditView.tsx +46 -7
  40. package/src/collection_editor/ui/collection_editor/properties/RelationPropertyField.tsx +71 -82
  41. package/src/collection_editor/ui/collection_editor/utils/supported_fields.tsx +7 -1
  42. package/src/collection_editor/ui/collection_editor/utils/update_property_for_widget.ts +18 -3
  43. package/src/collection_editor/useJsonCollectionsConfigController.tsx +4 -2
  44. package/src/collection_editor/validateCollectionJson.ts +38 -63
  45. package/src/components/CollectionTableBinding/fields/TableRelationField.tsx +11 -1
  46. package/src/components/CollectionTableBinding/internal/popup_field/PopupFormField.tsx +5 -1
  47. package/src/components/CollectionViewBinding/CollectionViewActions.tsx +33 -1
  48. package/src/components/CollectionViewBinding/CollectionViewBinding.tsx +77 -8
  49. package/src/components/CollectionViewBinding/FilterPresetsButton.tsx +4 -2
  50. package/src/components/CollectionViewBinding/usePreviewSlots.ts +13 -3
  51. package/src/components/DeleteEntityDialog.tsx +27 -5
  52. package/src/components/DetailViewBinding.tsx +4 -3
  53. package/src/components/EditFormActions.tsx +9 -3
  54. package/src/components/EditViewBinding.tsx +4 -3
  55. package/src/components/ReferenceTable/SelectionTableBinding.tsx +7 -1
  56. package/src/components/RelationSelector.tsx +11 -1
  57. package/src/components/SelectableTable/filters/RelationFilterField.tsx +11 -1
  58. package/src/components/common/default_entity_actions.tsx +92 -51
  59. package/src/components/field_configs.tsx +46 -3
  60. package/src/form/field_bindings/BinaryFieldBinding.tsx +170 -0
  61. package/src/form/field_bindings/GeopointFieldBinding.tsx +192 -0
  62. package/src/form/field_bindings/MultipleRelationFieldBinding.tsx +2 -2
  63. package/src/form/field_bindings/RelationFieldBinding.tsx +2 -2
  64. package/src/form/field_bindings/VectorFieldBinding.tsx +4 -2
  65. package/src/form/validation.ts +11 -1
  66. package/src/hooks/navigation/useNavigationResolution.ts +10 -2
  67. package/src/hooks/useChildViewSource.ts +46 -0
  68. package/src/types/fields.tsx +3 -1
  69. package/dist/PropertyEditView-CjFCnftn.js.map +0 -1
  70. package/dist/util-CPgUM4M8.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, 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-CPgUM4M8.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-CjFCnftn.js";
2
+ import { $t as CollectionTableBinding, A as getFieldId, Ct as convertDataToEntity, Dt as useImportConfig, Et as getInferenceType, Ft as FieldCaption, In as useCollectionRegistryController, Nt as PropertyConfigBadge, Ot as ImportSaveInProgress, Pt as SearchIconsView, St as DataNewPropertiesMapping, Zt as useSelectionController, _ as useCollectionsConfigController, i as namespaceToPropertiesOrderPath, in as useUrlController, k as getFieldConfig, kt as ImportFileUpload, l as validateCollectionJson, m as toSerializableCollectionConfig, n as getFullIdPath, o as CollectionGenerationApiError, on as useNavigationStateController, r as idToPropertiesPath, t as getFullId, vt as useCollectionEditorController, xt as ImportNewPropertyFieldPreview } from "./util-BhhfHY1M.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-DgB2b22q.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-DMztwJ5S.js.map
3744
+ //# sourceMappingURL=CollectionEditorDialog-o7F_zbGY.js.map