@rebasepro/admin 0.13.1-canary.gc77922a → 0.13.1-canary.gca63148

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 (134) hide show
  1. package/dist/{CollectionEditorDialog-CZZZpYOz.js → CollectionEditorDialog-CNb92TL2.js} +3 -3
  2. package/dist/{CollectionEditorDialog-CZZZpYOz.js.map → CollectionEditorDialog-CNb92TL2.js.map} +1 -1
  3. package/dist/{PropertyEditView-CeoHSmUg.js → PropertyEditView-B-VHlM4z.js} +2 -2
  4. package/dist/{PropertyEditView-CeoHSmUg.js.map → PropertyEditView-B-VHlM4z.js.map} +1 -1
  5. package/dist/{RouterCollectionsStudioView-CMKFWM2J.js → RouterCollectionsStudioView-Dm9TBCwS.js} +9 -13
  6. package/dist/RouterCollectionsStudioView-Dm9TBCwS.js.map +1 -0
  7. package/dist/collection_editor/serializable_types.d.ts +1 -0
  8. package/dist/collection_editor_ui.js +4 -4
  9. package/dist/components/CollectionViewBinding/CollectionViewBinding.d.ts +16 -0
  10. package/dist/components/CollectionViewBinding/SlotValue.d.ts +35 -1
  11. package/dist/components/CollectionViewBinding/SplitListCloseButton.d.ts +17 -6
  12. package/dist/components/CollectionViewBinding/SplitListShowButton.d.ts +1 -1
  13. package/dist/components/CollectionViewBinding/usePreviewSlots.d.ts +26 -1
  14. package/dist/components/DetailViewBinding.d.ts +9 -0
  15. package/dist/components/DrawerNavigationGroup.d.ts +9 -6
  16. package/dist/components/DrawerNavigationItem.d.ts +16 -6
  17. package/dist/components/EditViewBinding.d.ts +24 -1
  18. package/dist/components/EntityDisplayHeader.d.ts +53 -0
  19. package/dist/components/EntityIdentityBar.d.ts +34 -1
  20. package/dist/components/EntityViewBinding.d.ts +26 -7
  21. package/dist/components/RebaseLayout.d.ts +1 -1
  22. package/dist/components/RebaseShell.d.ts +1 -1
  23. package/dist/components/RelationSelector.d.ts +8 -1
  24. package/dist/components/UserSelector.d.ts +8 -1
  25. package/dist/components/app/Scaffold.d.ts +7 -2
  26. package/dist/components/index.d.ts +2 -0
  27. package/dist/{export-l19WevKo.js → export-CrHJ_h3j.js} +2 -2
  28. package/dist/{export-l19WevKo.js.map → export-CrHJ_h3j.js.map} +1 -1
  29. package/dist/form/components/FieldBlock.d.ts +42 -4
  30. package/dist/form/components/FormRail.d.ts +13 -0
  31. package/dist/form/components/FormSections.d.ts +15 -1
  32. package/dist/form/components/useRailVisible.d.ts +5 -4
  33. package/dist/form/form_utils.d.ts +38 -1
  34. package/dist/{history-JL1ZmSKD.js → history-D5q0qpBy.js} +2 -2
  35. package/dist/{history-JL1ZmSKD.js.map → history-D5q0qpBy.js.map} +1 -1
  36. package/dist/{import-DNrKrFQV.js → import-DwxKCHI1.js} +2 -2
  37. package/dist/{import-DNrKrFQV.js.map → import-DwxKCHI1.js.map} +1 -1
  38. package/dist/index.d.ts +2 -2
  39. package/dist/index.js +88 -57
  40. package/dist/index.js.map +1 -1
  41. package/dist/preview/compact_text.d.ts +23 -0
  42. package/dist/preview/property_previews/ArrayOfStringsPreview.d.ts +1 -1
  43. package/dist/preview/property_previews/ArrayOneOfPreview.d.ts +1 -1
  44. package/dist/preview/property_previews/ArrayPropertyPreview.d.ts +1 -1
  45. package/dist/preview/property_previews/MapPropertyPreview.d.ts +1 -1
  46. package/dist/preview/property_previews/StringPropertyPreview.d.ts +1 -1
  47. package/dist/types/components/PropertyPreviewProps.d.ts +12 -0
  48. package/dist/util/number_format.d.ts +14 -0
  49. package/dist/util/previews.d.ts +9 -2
  50. package/dist/util/view_constants.d.ts +24 -0
  51. package/dist/{util-pQ3YwBve.js → util-BIN7GTHa.js} +3156 -2030
  52. package/dist/util-BIN7GTHa.js.map +1 -0
  53. package/package.json +9 -9
  54. package/src/collection_editor/serializable_types.ts +1 -0
  55. package/src/collection_editor/ui/collection_editor/CollectionsStudioView.tsx +9 -11
  56. package/src/components/CollectionTableBinding/CollectionTableBinding.tsx +2 -2
  57. package/src/components/CollectionTableBinding/PropertyTableCell.tsx +2 -2
  58. package/src/components/CollectionTableBinding/column_utils.tsx +15 -6
  59. package/src/components/CollectionTableBinding/internal/popup_field/PopupFormField.tsx +2 -2
  60. package/src/components/CollectionViewBinding/BoardCardBinding.tsx +18 -1
  61. package/src/components/CollectionViewBinding/CollectionListViewBinding.tsx +784 -332
  62. package/src/components/CollectionViewBinding/CollectionViewActions.tsx +1 -1
  63. package/src/components/CollectionViewBinding/CollectionViewBinding.tsx +38 -8
  64. package/src/components/CollectionViewBinding/EntityCardBinding.tsx +15 -5
  65. package/src/components/CollectionViewBinding/SlotValue.tsx +106 -2
  66. package/src/components/CollectionViewBinding/SplitListCloseButton.tsx +23 -9
  67. package/src/components/CollectionViewBinding/SplitListShowButton.tsx +3 -3
  68. package/src/components/CollectionViewBinding/SplitListView.tsx +47 -7
  69. package/src/components/CollectionViewBinding/useBoardDataController.tsx +12 -3
  70. package/src/components/CollectionViewBinding/usePreviewSlots.ts +76 -24
  71. package/src/components/CollectionViewBinding/utils.ts +7 -4
  72. package/src/components/DefaultDrawer.tsx +19 -23
  73. package/src/components/DetailViewBinding.tsx +40 -10
  74. package/src/components/DrawerNavigationGroup.tsx +16 -39
  75. package/src/components/DrawerNavigationItem.tsx +44 -16
  76. package/src/components/EditViewBinding.tsx +184 -19
  77. package/src/components/EntityDisplayHeader.tsx +170 -0
  78. package/src/components/EntityIdentityBar.tsx +137 -19
  79. package/src/components/EntityInspector.tsx +24 -6
  80. package/src/components/EntityPreviewBinding.tsx +35 -7
  81. package/src/components/EntityViewBinding.tsx +155 -50
  82. package/src/components/RebaseLayout.tsx +2 -2
  83. package/src/components/RebaseShell.tsx +2 -2
  84. package/src/components/ReferenceTable/SelectionTableBinding.tsx +4 -2
  85. package/src/components/RelationSelector.tsx +23 -9
  86. package/src/components/SideDialogs.tsx +15 -3
  87. package/src/components/SidePanelBinding.tsx +122 -66
  88. package/src/components/UserSelector.tsx +20 -8
  89. package/src/components/app/Scaffold.tsx +80 -19
  90. package/src/components/history/LastEditedByIndicator.tsx +7 -12
  91. package/src/components/index.ts +3 -0
  92. package/src/data_import/utils/data.ts +9 -1
  93. package/src/form/EntityForm.tsx +69 -30
  94. package/src/form/EntityFormBinding.tsx +24 -11
  95. package/src/form/PropertyFieldBinding.tsx +2 -2
  96. package/src/form/components/FieldBlock.tsx +56 -10
  97. package/src/form/components/FormRail.tsx +19 -2
  98. package/src/form/components/FormSections.tsx +32 -5
  99. package/src/form/components/StorageUploadProgress.tsx +9 -3
  100. package/src/form/components/useRailVisible.tsx +5 -4
  101. package/src/form/field_bindings/ArrayCustomShapedFieldBinding.tsx +2 -2
  102. package/src/form/field_bindings/BinaryFieldBinding.tsx +10 -5
  103. package/src/form/field_bindings/BlockFieldBinding.tsx +3 -3
  104. package/src/form/field_bindings/GeopointFieldBinding.tsx +23 -16
  105. package/src/form/field_bindings/MapFieldBinding.tsx +2 -2
  106. package/src/form/field_bindings/MarkdownEditorFieldBinding.tsx +13 -7
  107. package/src/form/field_bindings/MultiSelectFieldBinding.tsx +7 -1
  108. package/src/form/field_bindings/ReadOnlyFieldBinding.tsx +21 -2
  109. package/src/form/field_bindings/ReferenceFieldBinding.tsx +1 -1
  110. package/src/form/field_bindings/RelationFieldBinding.tsx +5 -2
  111. package/src/form/field_bindings/RepeatFieldBinding.tsx +3 -3
  112. package/src/form/field_bindings/StorageUploadFieldBinding.tsx +2 -2
  113. package/src/form/field_bindings/UserSelectFieldBinding.tsx +4 -1
  114. package/src/form/field_bindings/VectorFieldBinding.tsx +6 -4
  115. package/src/form/form_utils.ts +78 -0
  116. package/src/hooks/useEntityDisplay.tsx +8 -4
  117. package/src/index.ts +9 -1
  118. package/src/preview/PropertyPreview.tsx +24 -4
  119. package/src/preview/compact_text.ts +68 -0
  120. package/src/preview/components/StorageThumbnail.tsx +5 -2
  121. package/src/preview/property_previews/ArrayOfRelationsPreview.tsx +6 -3
  122. package/src/preview/property_previews/ArrayOfStringsPreview.tsx +26 -1
  123. package/src/preview/property_previews/ArrayOneOfPreview.tsx +10 -1
  124. package/src/preview/property_previews/ArrayPropertyPreview.tsx +10 -1
  125. package/src/preview/property_previews/MapPropertyPreview.tsx +52 -1
  126. package/src/preview/property_previews/NumberPropertyPreview.tsx +9 -1
  127. package/src/preview/property_previews/StringPropertyPreview.tsx +8 -5
  128. package/src/types/components/PropertyPreviewProps.tsx +13 -0
  129. package/src/util/number_format.ts +46 -0
  130. package/src/util/previews.ts +8 -55
  131. package/src/util/property_utils.tsx +6 -1
  132. package/src/util/view_constants.ts +27 -0
  133. package/dist/RouterCollectionsStudioView-CMKFWM2J.js.map +0 -1
  134. package/dist/util-pQ3YwBve.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
- import { $t as CollectionTableBinding, A as getFieldId, Ct as convertDataToEntity, Dt as useImportConfig, Et as getInferenceType, Fn as useCollectionRegistryController, Ft as FieldCaption, 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-pQ3YwBve.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-CeoHSmUg.js";
2
+ import { $t as CollectionTableBinding, Ct as convertDataToEntity, Dt as useImportConfig, Et as getInferenceType, Ft as FieldCaption, Ln as useCollectionRegistryController, Nt as PropertyConfigBadge, Ot as ImportSaveInProgress, Pt as SearchIconsView, St as DataNewPropertiesMapping, T as getFieldId, Zt as useSelectionController, _ as useCollectionsConfigController, i as namespaceToPropertiesOrderPath, in as useUrlController, 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, w as getFieldConfig, xt as ImportNewPropertyFieldPreview } from "./util-BIN7GTHa.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-B-VHlM4z.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";
@@ -3550,4 +3550,4 @@ var validateId = (value, isNewCollection, existingPaths, existingIds) => {
3550
3550
  //#endregion
3551
3551
  export { CollectionEditorDialog as n, CollectionEditorDialog_exports as r, CollectionEditor as t };
3552
3552
 
3553
- //# sourceMappingURL=CollectionEditorDialog-CZZZpYOz.js.map
3553
+ //# sourceMappingURL=CollectionEditorDialog-CNb92TL2.js.map