@firecms/core 3.5.2 → 3.5.3

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 (560) hide show
  1. package/dist/app/AppBar.d.ts +1 -1
  2. package/dist/app/index.d.ts +4 -4
  3. package/dist/components/ClearFilterSortButton.d.ts +1 -1
  4. package/dist/components/DeleteEntityDialog.d.ts +1 -1
  5. package/dist/components/EntityCollectionTable/EntityCollectionRowActions.d.ts +1 -1
  6. package/dist/components/EntityCollectionTable/EntityCollectionTable.d.ts +2 -2
  7. package/dist/components/EntityCollectionTable/EntityCollectionTableProps.d.ts +3 -3
  8. package/dist/components/EntityCollectionTable/PropertyTableCell.d.ts +2 -2
  9. package/dist/components/EntityCollectionTable/column_utils.d.ts +2 -2
  10. package/dist/components/EntityCollectionTable/fields/TableReferenceField.d.ts +1 -1
  11. package/dist/components/EntityCollectionTable/fields/TableStorageUpload.d.ts +2 -2
  12. package/dist/components/EntityCollectionTable/index.d.ts +6 -6
  13. package/dist/components/EntityCollectionTable/internal/EntityTableCell.d.ts +1 -1
  14. package/dist/components/EntityCollectionTable/internal/common.d.ts +1 -1
  15. package/dist/components/EntityCollectionTable/internal/popup_field/PopupFormField.d.ts +3 -3
  16. package/dist/components/EntityCollectionView/Board.d.ts +1 -1
  17. package/dist/components/EntityCollectionView/BoardColumn.d.ts +1 -1
  18. package/dist/components/EntityCollectionView/BoardSortableList.d.ts +1 -1
  19. package/dist/components/EntityCollectionView/EntityBoardCard.d.ts +2 -2
  20. package/dist/components/EntityCollectionView/EntityCard.d.ts +1 -1
  21. package/dist/components/EntityCollectionView/EntityCollectionBoardView.d.ts +1 -1
  22. package/dist/components/EntityCollectionView/EntityCollectionCardView.d.ts +1 -1
  23. package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +1 -1
  24. package/dist/components/EntityCollectionView/EntityCollectionViewActions.d.ts +1 -1
  25. package/dist/components/EntityCollectionView/EntityCollectionViewStartActions.d.ts +1 -1
  26. package/dist/components/EntityCollectionView/EntityIdHeaderWidget.d.ts +1 -1
  27. package/dist/components/EntityCollectionView/FiltersDialog.d.ts +1 -1
  28. package/dist/components/EntityCollectionView/ViewModeToggle.d.ts +1 -1
  29. package/dist/components/EntityCollectionView/board_types.d.ts +1 -1
  30. package/dist/components/EntityCollectionView/useBoardDataController.d.ts +1 -1
  31. package/dist/components/EntityCollectionView/useSelectionController.d.ts +1 -1
  32. package/dist/components/EntityPreview.d.ts +2 -2
  33. package/dist/components/EntityView.d.ts +1 -1
  34. package/dist/components/HomePage/HomePageDnD.d.ts +1 -1
  35. package/dist/components/HomePage/NavigationCardBinding.d.ts +1 -1
  36. package/dist/components/HomePage/index.d.ts +5 -5
  37. package/dist/components/PropertyCollectionView.d.ts +2 -2
  38. package/dist/components/PropertyConfigBadge.d.ts +1 -1
  39. package/dist/components/ReferenceTable/ReferenceSelectionTable.d.ts +1 -1
  40. package/dist/components/ReferenceWidget.d.ts +2 -2
  41. package/dist/components/SelectableTable/SelectableTable.d.ts +3 -3
  42. package/dist/components/SelectableTable/SelectableTableContext.d.ts +1 -1
  43. package/dist/components/SelectableTable/filters/BooleanFilterField.d.ts +1 -1
  44. package/dist/components/SelectableTable/filters/DateTimeFilterField.d.ts +1 -1
  45. package/dist/components/SelectableTable/filters/ReferenceFilterField.d.ts +1 -1
  46. package/dist/components/SelectableTable/filters/StringNumberFilterField.d.ts +2 -2
  47. package/dist/components/UserDisplay.d.ts +1 -1
  48. package/dist/components/VirtualTable/VirtualTable.d.ts +1 -1
  49. package/dist/components/VirtualTable/VirtualTableCell.d.ts +1 -1
  50. package/dist/components/VirtualTable/VirtualTableHeader.d.ts +1 -1
  51. package/dist/components/VirtualTable/VirtualTableHeaderRow.d.ts +1 -1
  52. package/dist/components/VirtualTable/VirtualTableProps.d.ts +2 -2
  53. package/dist/components/VirtualTable/VirtualTableRow.d.ts +1 -1
  54. package/dist/components/VirtualTable/fields/VirtualTableSelect.d.ts +1 -1
  55. package/dist/components/VirtualTable/index.d.ts +2 -2
  56. package/dist/components/VirtualTable/types.d.ts +2 -2
  57. package/dist/components/common/default_entity_actions.d.ts +1 -1
  58. package/dist/components/common/index.d.ts +6 -6
  59. package/dist/components/common/table_url_params.d.ts +1 -1
  60. package/dist/components/common/types.d.ts +1 -1
  61. package/dist/components/common/useColumnsIds.d.ts +2 -2
  62. package/dist/components/common/useDataSourceTableController.d.ts +2 -2
  63. package/dist/components/common/useScrollRestoration.d.ts +1 -1
  64. package/dist/components/common/useTableSearchHelper.d.ts +1 -1
  65. package/dist/components/index.d.ts +33 -33
  66. package/dist/contexts/AnalyticsContext.d.ts +1 -1
  67. package/dist/contexts/AuthControllerContext.d.ts +1 -1
  68. package/dist/contexts/BreacrumbsContext.d.ts +1 -1
  69. package/dist/contexts/CustomizationControllerContext.d.ts +1 -1
  70. package/dist/contexts/DataSourceContext.d.ts +1 -1
  71. package/dist/contexts/DialogsProvider.d.ts +1 -1
  72. package/dist/contexts/InternalUserManagementContext.d.ts +1 -1
  73. package/dist/contexts/LicenseStatusContext.d.ts +1 -1
  74. package/dist/contexts/ModeController.d.ts +1 -1
  75. package/dist/contexts/NavigationContext.d.ts +1 -1
  76. package/dist/contexts/SideDialogsControllerContext.d.ts +1 -1
  77. package/dist/contexts/SideEntityControllerContext.d.ts +1 -1
  78. package/dist/contexts/StorageSourceContext.d.ts +1 -1
  79. package/dist/contexts/UserConfigurationPersistenceContext.d.ts +1 -1
  80. package/dist/contexts/index.d.ts +13 -13
  81. package/dist/core/DefaultAppBar.d.ts +1 -1
  82. package/dist/core/DrawerNavigationGroup.d.ts +1 -1
  83. package/dist/core/EntityEditView.d.ts +2 -2
  84. package/dist/core/EntityEditViewFormActions.d.ts +1 -1
  85. package/dist/core/EntitySidePanel.d.ts +1 -1
  86. package/dist/core/FireCMS.d.ts +1 -1
  87. package/dist/core/field_configs.d.ts +1 -1
  88. package/dist/core/index.d.ts +10 -10
  89. package/dist/core/plugin_translations.d.ts +1 -1
  90. package/dist/core/pro_plugins.d.ts +1 -1
  91. package/dist/de-CNfJQcnh.js.map +1 -1
  92. package/dist/editor/components/SlashCommandMenu.d.ts +2 -2
  93. package/dist/editor/components/index.d.ts +5 -5
  94. package/dist/editor/editor.d.ts +2 -2
  95. package/dist/editor/index.d.ts +3 -3
  96. package/dist/editor/lazy_editor.d.ts +1 -1
  97. package/dist/editor/nodeViews/ImageComponent.d.ts +1 -1
  98. package/dist/editor/nodeViews/TaskItemComponent.d.ts +1 -1
  99. package/dist/editor/selectors/ai-selector.d.ts +1 -0
  100. package/dist/editor/types.d.ts +1 -1
  101. package/dist/editor-D0A5yaaJ.js.map +1 -1
  102. package/dist/form/EntityForm.d.ts +2 -2
  103. package/dist/form/EntityFormActions.d.ts +1 -1
  104. package/dist/form/PropertyFieldBinding.d.ts +1 -1
  105. package/dist/form/components/CustomIdField.d.ts +1 -1
  106. package/dist/form/components/FieldHelperText.d.ts +1 -1
  107. package/dist/form/components/LocalChangesMenu.d.ts +1 -1
  108. package/dist/form/components/StorageItemPreview.d.ts +2 -2
  109. package/dist/form/components/StorageUploadProgress.d.ts +1 -1
  110. package/dist/form/components/index.d.ts +5 -5
  111. package/dist/form/field_bindings/ArrayCustomShapedFieldBinding.d.ts +1 -1
  112. package/dist/form/field_bindings/ArrayOfReferencesFieldBinding.d.ts +1 -1
  113. package/dist/form/field_bindings/BlockFieldBinding.d.ts +1 -1
  114. package/dist/form/field_bindings/DateTimeFieldBinding.d.ts +1 -1
  115. package/dist/form/field_bindings/GeopointFieldBinding.d.ts +1 -1
  116. package/dist/form/field_bindings/KeyValueFieldBinding.d.ts +1 -1
  117. package/dist/form/field_bindings/MapFieldBinding.d.ts +1 -1
  118. package/dist/form/field_bindings/MarkdownEditorFieldBinding.d.ts +2 -2
  119. package/dist/form/field_bindings/MultiSelectFieldBinding.d.ts +1 -1
  120. package/dist/form/field_bindings/ReadOnlyFieldBinding.d.ts +1 -1
  121. package/dist/form/field_bindings/ReferenceAsStringFieldBinding.d.ts +1 -1
  122. package/dist/form/field_bindings/ReferenceFieldBinding.d.ts +1 -1
  123. package/dist/form/field_bindings/RepeatFieldBinding.d.ts +1 -1
  124. package/dist/form/field_bindings/SelectFieldBinding.d.ts +1 -1
  125. package/dist/form/field_bindings/StorageUploadFieldBinding.d.ts +2 -2
  126. package/dist/form/field_bindings/SwitchFieldBinding.d.ts +1 -1
  127. package/dist/form/field_bindings/TextFieldBinding.d.ts +1 -1
  128. package/dist/form/field_bindings/UserSelectFieldBinding.d.ts +1 -1
  129. package/dist/form/index.d.ts +22 -22
  130. package/dist/form/useClearRestoreValue.d.ts +1 -1
  131. package/dist/form/validation.d.ts +1 -1
  132. package/dist/fr-CBtSvDVp.js.map +1 -1
  133. package/dist/hi-Delc4l61.js.map +1 -1
  134. package/dist/hooks/data/delete.d.ts +1 -1
  135. package/dist/hooks/data/save.d.ts +1 -1
  136. package/dist/hooks/data/useCollectionFetch.d.ts +1 -1
  137. package/dist/hooks/data/useDataOrder.d.ts +1 -1
  138. package/dist/hooks/data/useDataSource.d.ts +1 -1
  139. package/dist/hooks/data/useEntityFetch.d.ts +1 -1
  140. package/dist/hooks/index.d.ts +29 -29
  141. package/dist/hooks/useAnalyticsController.d.ts +1 -1
  142. package/dist/hooks/useAuthController.d.ts +1 -1
  143. package/dist/hooks/useBuildLocalConfigurationPersistence.d.ts +1 -1
  144. package/dist/hooks/useBuildModeController.d.ts +1 -1
  145. package/dist/hooks/useBuildNavigationController.d.ts +1 -1
  146. package/dist/hooks/useCustomizationController.d.ts +1 -1
  147. package/dist/hooks/useDialogsController.d.ts +1 -1
  148. package/dist/hooks/useFireCMSContext.d.ts +1 -1
  149. package/dist/hooks/useInternalUserManagementController.d.ts +1 -1
  150. package/dist/hooks/useLicenseStatus.d.ts +1 -1
  151. package/dist/hooks/useNavigationController.d.ts +1 -1
  152. package/dist/hooks/useProjectLog.d.ts +1 -1
  153. package/dist/hooks/useReferenceDialog.d.ts +1 -1
  154. package/dist/hooks/useResolvedNavigationFrom.d.ts +1 -1
  155. package/dist/hooks/useSideDialogsController.d.ts +1 -1
  156. package/dist/hooks/useSideEntityController.d.ts +1 -1
  157. package/dist/hooks/useStorageSource.d.ts +1 -1
  158. package/dist/hooks/useUserConfigurationPersistence.d.ts +1 -1
  159. package/dist/hooks/useValidateAuthenticator.d.ts +1 -1
  160. package/dist/i18n/FireCMSi18nProvider.d.ts +1 -1
  161. package/dist/index.d.ts +14 -14
  162. package/dist/index.es.js.map +1 -1
  163. package/dist/index.umd.js.map +1 -1
  164. package/dist/internal/useBuildDataSource.d.ts +1 -1
  165. package/dist/internal/useBuildSideDialogsController.d.ts +1 -1
  166. package/dist/internal/useBuildSideEntityController.d.ts +1 -1
  167. package/dist/it-CdsoaRVO.js.map +1 -1
  168. package/dist/locales/de.d.ts +1 -1
  169. package/dist/locales/en.d.ts +1 -1
  170. package/dist/locales/es.d.ts +1 -1
  171. package/dist/locales/fr.d.ts +1 -1
  172. package/dist/locales/hi.d.ts +1 -1
  173. package/dist/locales/it.d.ts +1 -1
  174. package/dist/locales/pl.d.ts +1 -1
  175. package/dist/locales/pt.d.ts +1 -1
  176. package/dist/pl-DoTvWcwp.js.map +1 -1
  177. package/dist/preview/PropertyPreview.d.ts +2 -2
  178. package/dist/preview/PropertyPreviewProps.d.ts +1 -1
  179. package/dist/preview/components/ArrayEnumPreview.d.ts +2 -2
  180. package/dist/preview/components/BooleanPreview.d.ts +2 -2
  181. package/dist/preview/components/EnumValuesChip.d.ts +1 -1
  182. package/dist/preview/components/ImagePreview.d.ts +1 -1
  183. package/dist/preview/components/ReferencePreview.d.ts +2 -2
  184. package/dist/preview/components/StorageThumbnail.d.ts +1 -1
  185. package/dist/preview/components/UrlComponentPreview.d.ts +2 -2
  186. package/dist/preview/components/UserPreview.d.ts +1 -1
  187. package/dist/preview/index.d.ts +25 -25
  188. package/dist/preview/property_previews/ArrayOfMapsPreview.d.ts +1 -1
  189. package/dist/preview/property_previews/ArrayOfReferencesPreview.d.ts +1 -1
  190. package/dist/preview/property_previews/ArrayOfStorageComponentsPreview.d.ts +1 -1
  191. package/dist/preview/property_previews/ArrayOfStringsPreview.d.ts +1 -1
  192. package/dist/preview/property_previews/ArrayOneOfPreview.d.ts +1 -1
  193. package/dist/preview/property_previews/ArrayPropertyEnumPreview.d.ts +1 -1
  194. package/dist/preview/property_previews/ArrayPropertyPreview.d.ts +1 -1
  195. package/dist/preview/property_previews/GeopointPropertyPreview.d.ts +2 -2
  196. package/dist/preview/property_previews/MapPropertyPreview.d.ts +1 -1
  197. package/dist/preview/property_previews/NumberPropertyPreview.d.ts +1 -1
  198. package/dist/preview/property_previews/SkeletonPropertyComponent.d.ts +2 -2
  199. package/dist/preview/property_previews/StringPropertyPreview.d.ts +1 -1
  200. package/dist/preview/util.d.ts +2 -2
  201. package/dist/pt-DCfk8Nkq.js.map +1 -1
  202. package/dist/routes/CustomCMSRoute.d.ts +1 -1
  203. package/dist/types/analytics_controller.d.ts +1 -1
  204. package/dist/types/auth.d.ts +4 -4
  205. package/dist/types/collections.d.ts +10 -10
  206. package/dist/types/customization_controller.d.ts +6 -6
  207. package/dist/types/datasource.d.ts +4 -4
  208. package/dist/types/entity_actions.d.ts +6 -6
  209. package/dist/types/entity_callbacks.d.ts +5 -5
  210. package/dist/types/entity_link_builder.d.ts +1 -1
  211. package/dist/types/entity_overrides.d.ts +2 -2
  212. package/dist/types/export_import.d.ts +3 -3
  213. package/dist/types/fields.d.ts +3 -3
  214. package/dist/types/firecms.d.ts +15 -15
  215. package/dist/types/firecms_context.d.ts +14 -14
  216. package/dist/types/index.d.ts +32 -32
  217. package/dist/types/internal_user_management.d.ts +1 -1
  218. package/dist/types/local_config_persistence.d.ts +1 -1
  219. package/dist/types/modify_collections.d.ts +1 -1
  220. package/dist/types/navigation.d.ts +3 -3
  221. package/dist/types/permissions.d.ts +4 -4
  222. package/dist/types/plugins.d.ts +9 -9
  223. package/dist/types/properties.d.ts +6 -6
  224. package/dist/types/property_config.d.ts +1 -1
  225. package/dist/types/resolved_entities.d.ts +3 -3
  226. package/dist/types/roles.d.ts +1 -1
  227. package/dist/types/side_entity_controller.d.ts +4 -4
  228. package/dist/types/user.d.ts +1 -1
  229. package/dist/util/builders.d.ts +1 -1
  230. package/dist/util/callbacks.d.ts +1 -1
  231. package/dist/util/collections.d.ts +1 -1
  232. package/dist/util/conditions.d.ts +1 -1
  233. package/dist/util/date_fns_locales.d.ts +1 -1
  234. package/dist/util/entities.d.ts +1 -1
  235. package/dist/util/entity_actions.d.ts +1 -1
  236. package/dist/util/enums.d.ts +1 -1
  237. package/dist/util/geopoint.d.ts +1 -1
  238. package/dist/util/index.d.ts +31 -31
  239. package/dist/util/join_collections.d.ts +1 -1
  240. package/dist/util/make_properties_editable.d.ts +1 -1
  241. package/dist/util/navigation_from_path.d.ts +1 -1
  242. package/dist/util/navigation_utils.d.ts +1 -1
  243. package/dist/util/parent_references_from_path.d.ts +1 -1
  244. package/dist/util/permissions.d.ts +1 -1
  245. package/dist/util/previews.d.ts +1 -1
  246. package/dist/util/property_utils.d.ts +1 -1
  247. package/dist/util/resolutions.d.ts +1 -1
  248. package/dist/util/storage.d.ts +1 -1
  249. package/dist/util/urls.d.ts +1 -1
  250. package/dist/util/useStorageUploadController.d.ts +2 -2
  251. package/package.json +13 -4
  252. package/src/app/AppBar.tsx +1 -1
  253. package/src/app/Drawer.tsx +1 -1
  254. package/src/app/Scaffold.tsx +5 -5
  255. package/src/app/index.ts +4 -4
  256. package/src/components/AIIcon.tsx +1 -1
  257. package/src/components/ArrayContainer.tsx +2 -2
  258. package/src/components/ClearFilterSortButton.tsx +2 -2
  259. package/src/components/ConfirmationDialog.tsx +1 -1
  260. package/src/components/DeleteEntityDialog.tsx +5 -5
  261. package/src/components/EntityCollectionTable/EntityCollectionRowActions.tsx +5 -5
  262. package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +16 -16
  263. package/src/components/EntityCollectionTable/EntityCollectionTableProps.tsx +3 -3
  264. package/src/components/EntityCollectionTable/PropertyTableCell.tsx +18 -18
  265. package/src/components/EntityCollectionTable/column_utils.tsx +5 -5
  266. package/src/components/EntityCollectionTable/fields/TableReferenceField.tsx +8 -8
  267. package/src/components/EntityCollectionTable/fields/TableStorageUpload.tsx +8 -8
  268. package/src/components/EntityCollectionTable/index.tsx +6 -6
  269. package/src/components/EntityCollectionTable/internal/CollectionTableToolbar.tsx +1 -1
  270. package/src/components/EntityCollectionTable/internal/EntityTableCell.tsx +3 -3
  271. package/src/components/EntityCollectionTable/internal/EntityTableCellActions.tsx +1 -1
  272. package/src/components/EntityCollectionTable/internal/common.tsx +1 -1
  273. package/src/components/EntityCollectionTable/internal/popup_field/PopupFormField.tsx +8 -8
  274. package/src/components/EntityCollectionView/Board.tsx +2 -2
  275. package/src/components/EntityCollectionView/BoardColumn.tsx +3 -3
  276. package/src/components/EntityCollectionView/BoardSortableList.tsx +2 -2
  277. package/src/components/EntityCollectionView/CollectionDataErrorBanner.tsx +1 -1
  278. package/src/components/EntityCollectionView/CollectionPathTitle.tsx +3 -3
  279. package/src/components/EntityCollectionView/EntityBoardCard.tsx +5 -5
  280. package/src/components/EntityCollectionView/EntityCard.tsx +5 -5
  281. package/src/components/EntityCollectionView/EntityCollectionBoardView.tsx +11 -11
  282. package/src/components/EntityCollectionView/EntityCollectionCardView.tsx +3 -3
  283. package/src/components/EntityCollectionView/EntityCollectionView.tsx +25 -25
  284. package/src/components/EntityCollectionView/EntityCollectionViewActions.tsx +6 -6
  285. package/src/components/EntityCollectionView/EntityCollectionViewStartActions.tsx +7 -7
  286. package/src/components/EntityCollectionView/EntityIdHeaderWidget.tsx +8 -8
  287. package/src/components/EntityCollectionView/FiltersDialog.tsx +8 -8
  288. package/src/components/EntityCollectionView/ViewModeToggle.tsx +2 -2
  289. package/src/components/EntityCollectionView/board_types.ts +1 -1
  290. package/src/components/EntityCollectionView/useBoardDataController.tsx +2 -2
  291. package/src/components/EntityCollectionView/useSelectionController.tsx +1 -1
  292. package/src/components/EntityCollectionView/utils.ts +1 -1
  293. package/src/components/EntityJsonPreview.tsx +2 -2
  294. package/src/components/EntityPreview.tsx +5 -5
  295. package/src/components/EntityView.tsx +6 -6
  296. package/src/components/ErrorBoundary.tsx +1 -1
  297. package/src/components/ErrorView.tsx +1 -1
  298. package/src/components/HomePage/DefaultHomePage.tsx +10 -10
  299. package/src/components/HomePage/FavouritesView.tsx +3 -3
  300. package/src/components/HomePage/HomePageDnD.tsx +3 -3
  301. package/src/components/HomePage/NavigationCardBinding.tsx +6 -6
  302. package/src/components/HomePage/NavigationGroup.tsx +1 -1
  303. package/src/components/HomePage/RenameGroupDialog.tsx +1 -1
  304. package/src/components/HomePage/index.tsx +5 -5
  305. package/src/components/LanguageToggle.tsx +1 -1
  306. package/src/components/LicenseBanner.tsx +5 -5
  307. package/src/components/NotFoundPage.tsx +1 -1
  308. package/src/components/PropertyCollectionView.tsx +3 -3
  309. package/src/components/PropertyConfigBadge.tsx +3 -3
  310. package/src/components/ReferenceTable/ReferenceSelectionTable.tsx +9 -9
  311. package/src/components/ReferenceWidget.tsx +4 -4
  312. package/src/components/SearchIconsView.tsx +2 -2
  313. package/src/components/SelectableTable/SelectableTable.tsx +11 -11
  314. package/src/components/SelectableTable/SelectableTableContext.tsx +1 -1
  315. package/src/components/SelectableTable/filters/BooleanFilterField.tsx +1 -1
  316. package/src/components/SelectableTable/filters/DateTimeFilterField.tsx +2 -2
  317. package/src/components/SelectableTable/filters/ReferenceFilterField.tsx +5 -5
  318. package/src/components/SelectableTable/filters/StringNumberFilterField.tsx +4 -4
  319. package/src/components/SelectableTable/filters/filter_text_input.test.ts +1 -1
  320. package/src/components/UnsavedChangesDialog.tsx +1 -1
  321. package/src/components/UserDisplay.tsx +2 -2
  322. package/src/components/VirtualTable/VirtualTable.performance.test.tsx +2 -2
  323. package/src/components/VirtualTable/VirtualTable.tsx +7 -7
  324. package/src/components/VirtualTable/VirtualTableCell.tsx +1 -1
  325. package/src/components/VirtualTable/VirtualTableHeader.tsx +3 -3
  326. package/src/components/VirtualTable/VirtualTableHeaderRow.tsx +4 -4
  327. package/src/components/VirtualTable/VirtualTableProps.tsx +2 -2
  328. package/src/components/VirtualTable/VirtualTableRow.tsx +1 -1
  329. package/src/components/VirtualTable/fields/VirtualTableDateField.tsx +1 -1
  330. package/src/components/VirtualTable/fields/VirtualTableInput.tsx +1 -1
  331. package/src/components/VirtualTable/fields/VirtualTableNumberInput.tsx +1 -1
  332. package/src/components/VirtualTable/fields/VirtualTableSelect.tsx +2 -2
  333. package/src/components/VirtualTable/fields/VirtualTableUserSelect.tsx +2 -2
  334. package/src/components/VirtualTable/index.tsx +2 -2
  335. package/src/components/VirtualTable/types.tsx +2 -2
  336. package/src/components/common/default_entity_actions.tsx +4 -4
  337. package/src/components/common/index.ts +6 -6
  338. package/src/components/common/table_url_params.ts +2 -2
  339. package/src/components/common/types.tsx +1 -1
  340. package/src/components/common/useColumnsIds.tsx +4 -4
  341. package/src/components/common/useDataSourceTableController.tsx +7 -7
  342. package/src/components/common/useScrollRestoration.tsx +1 -1
  343. package/src/components/common/useTableSearchHelper.ts +2 -2
  344. package/src/components/index.tsx +33 -33
  345. package/src/contexts/AnalyticsContext.tsx +1 -1
  346. package/src/contexts/AuthControllerContext.tsx +1 -1
  347. package/src/contexts/BreacrumbsContext.tsx +1 -1
  348. package/src/contexts/CustomizationControllerContext.tsx +1 -1
  349. package/src/contexts/DataSourceContext.tsx +1 -1
  350. package/src/contexts/DialogsProvider.tsx +1 -1
  351. package/src/contexts/InternalUserManagementContext.tsx +1 -1
  352. package/src/contexts/LicenseStatusContext.tsx +1 -1
  353. package/src/contexts/ModeController.tsx +1 -1
  354. package/src/contexts/NavigationContext.tsx +1 -1
  355. package/src/contexts/SideDialogsControllerContext.tsx +1 -1
  356. package/src/contexts/SideEntityControllerContext.tsx +1 -1
  357. package/src/contexts/StorageSourceContext.tsx +1 -1
  358. package/src/contexts/UserConfigurationPersistenceContext.tsx +1 -1
  359. package/src/contexts/index.ts +13 -13
  360. package/src/core/DefaultAppBar.tsx +8 -8
  361. package/src/core/DefaultDrawer.tsx +7 -7
  362. package/src/core/DrawerNavigationGroup.tsx +4 -4
  363. package/src/core/EntityEditView.tsx +11 -11
  364. package/src/core/EntityEditViewFormActions.tsx +7 -7
  365. package/src/core/EntitySidePanel.tsx +6 -6
  366. package/src/core/FireCMS.tsx +24 -24
  367. package/src/core/FireCMSRouter.tsx +1 -1
  368. package/src/core/NavigationRoutes.tsx +6 -6
  369. package/src/core/SideDialogs.tsx +6 -6
  370. package/src/core/field_configs.tsx +7 -7
  371. package/src/core/index.tsx +10 -10
  372. package/src/core/plugin_translations.ts +1 -1
  373. package/src/core/pro_plugins.ts +1 -1
  374. package/src/editor/components/SlashCommandMenu.tsx +7 -7
  375. package/src/editor/components/editor-bubble-item.tsx +1 -1
  376. package/src/editor/components/editor-bubble.tsx +1 -1
  377. package/src/editor/components/image-bubble.tsx +1 -1
  378. package/src/editor/components/index.ts +5 -5
  379. package/src/editor/components/table-bubble.tsx +1 -1
  380. package/src/editor/editor.tsx +12 -12
  381. package/src/editor/extensions/Image/index.ts +1 -1
  382. package/src/editor/extensions/drag-and-drop.tsx +1 -1
  383. package/src/editor/hooks/useProseMirror.ts +5 -5
  384. package/src/editor/index.ts +3 -3
  385. package/src/editor/lazy_editor.tsx +3 -3
  386. package/src/editor/markdown.ts +1 -1
  387. package/src/editor/nodeViews/ImageComponent.tsx +1 -1
  388. package/src/editor/nodeViews/TaskItemComponent.tsx +1 -1
  389. package/src/editor/nodeViews/index.ts +3 -3
  390. package/src/editor/plugins/index.ts +7 -7
  391. package/src/editor/plugins/inputrules.ts +1 -1
  392. package/src/editor/selectors/color-selector.tsx +4 -4
  393. package/src/editor/selectors/link-selector.tsx +4 -4
  394. package/src/editor/selectors/node-selector.tsx +5 -5
  395. package/src/editor/selectors/text-buttons.tsx +5 -5
  396. package/src/editor/types.ts +1 -1
  397. package/src/editor/useProseMirror.ts +3 -3
  398. package/src/form/EntityForm.tsx +13 -13
  399. package/src/form/EntityFormActions.tsx +3 -3
  400. package/src/form/PropertyFieldBinding.tsx +6 -6
  401. package/src/form/components/CustomIdField.tsx +6 -6
  402. package/src/form/components/FieldHelperText.tsx +1 -1
  403. package/src/form/components/FormEntry.tsx +1 -1
  404. package/src/form/components/LabelWithIconAndTooltip.tsx +2 -2
  405. package/src/form/components/LocalChangesMenu.tsx +5 -5
  406. package/src/form/components/StorageItemPreview.tsx +4 -4
  407. package/src/form/components/StorageUploadProgress.tsx +3 -3
  408. package/src/form/components/index.tsx +5 -5
  409. package/src/form/field_bindings/ArrayCustomShapedFieldBinding.tsx +6 -6
  410. package/src/form/field_bindings/ArrayOfReferencesFieldBinding.tsx +7 -7
  411. package/src/form/field_bindings/BlockFieldBinding.tsx +9 -9
  412. package/src/form/field_bindings/DateTimeFieldBinding.tsx +6 -6
  413. package/src/form/field_bindings/GeopointFieldBinding.tsx +6 -6
  414. package/src/form/field_bindings/KeyValueFieldBinding.tsx +6 -6
  415. package/src/form/field_bindings/MapFieldBinding.tsx +7 -7
  416. package/src/form/field_bindings/MarkdownEditorFieldBinding.tsx +7 -7
  417. package/src/form/field_bindings/MultiSelectFieldBinding.tsx +5 -5
  418. package/src/form/field_bindings/ReadOnlyFieldBinding.tsx +5 -5
  419. package/src/form/field_bindings/ReferenceAsStringFieldBinding.tsx +9 -9
  420. package/src/form/field_bindings/ReferenceFieldBinding.tsx +9 -9
  421. package/src/form/field_bindings/RepeatFieldBinding.tsx +8 -8
  422. package/src/form/field_bindings/SelectFieldBinding.tsx +6 -6
  423. package/src/form/field_bindings/StorageUploadFieldBinding.tsx +10 -10
  424. package/src/form/field_bindings/SwitchFieldBinding.tsx +5 -5
  425. package/src/form/field_bindings/TextFieldBinding.tsx +6 -6
  426. package/src/form/field_bindings/UserSelectFieldBinding.tsx +6 -6
  427. package/src/form/index.tsx +22 -22
  428. package/src/form/useClearRestoreValue.tsx +1 -1
  429. package/src/form/validation.ts +2 -2
  430. package/src/hooks/data/delete.ts +1 -1
  431. package/src/hooks/data/save.ts +3 -3
  432. package/src/hooks/data/useCollectionFetch.tsx +4 -4
  433. package/src/hooks/data/useDataOrder.ts +1 -1
  434. package/src/hooks/data/useDataSource.tsx +2 -2
  435. package/src/hooks/data/useEntityFetch.tsx +5 -5
  436. package/src/hooks/index.tsx +29 -29
  437. package/src/hooks/useAnalyticsController.tsx +2 -2
  438. package/src/hooks/useAuthController.tsx +2 -2
  439. package/src/hooks/useBreadcrumbsController.tsx +1 -1
  440. package/src/hooks/useBuildLocalConfigurationPersistence.tsx +3 -3
  441. package/src/hooks/useBuildModeController.tsx +2 -2
  442. package/src/hooks/useBuildNavigationController.tsx +5 -5
  443. package/src/hooks/useCustomizationController.tsx +2 -2
  444. package/src/hooks/useDialogsController.tsx +2 -2
  445. package/src/hooks/useFireCMSContext.tsx +14 -14
  446. package/src/hooks/useInternalUserManagementController.tsx +3 -3
  447. package/src/hooks/useLicenseStatus.tsx +2 -2
  448. package/src/hooks/useModeController.tsx +1 -1
  449. package/src/hooks/useNavigationController.tsx +2 -2
  450. package/src/hooks/useProjectLog.tsx +2 -2
  451. package/src/hooks/useReferenceDialog.tsx +3 -3
  452. package/src/hooks/useResolvedNavigationFrom.tsx +3 -3
  453. package/src/hooks/useSideDialogsController.tsx +2 -2
  454. package/src/hooks/useSideEntityController.tsx +2 -2
  455. package/src/hooks/useStorageSource.tsx +2 -2
  456. package/src/hooks/useUserConfigurationPersistence.tsx +2 -2
  457. package/src/hooks/useValidateAuthenticator.tsx +1 -1
  458. package/src/i18n/FireCMSi18nProvider.tsx +10 -10
  459. package/src/i18n/__tests__/FireCMSi18nProvider.test.tsx +1 -1
  460. package/src/i18n/__tests__/nested_provider_lifecycle.test.tsx +1 -1
  461. package/src/index.ts +14 -14
  462. package/src/internal/useBuildDataSource.ts +2 -2
  463. package/src/internal/useBuildSideDialogsController.tsx +1 -1
  464. package/src/internal/useBuildSideEntityController.tsx +6 -6
  465. package/src/locales/de.ts +1 -1
  466. package/src/locales/en.ts +1 -1
  467. package/src/locales/es.ts +1 -1
  468. package/src/locales/fr.ts +1 -1
  469. package/src/locales/hi.ts +1 -1
  470. package/src/locales/it.ts +1 -1
  471. package/src/locales/pl.ts +1 -1
  472. package/src/locales/pt.ts +1 -1
  473. package/src/preview/PropertyPreview.tsx +24 -24
  474. package/src/preview/PropertyPreviewProps.tsx +1 -1
  475. package/src/preview/components/ArrayEnumPreview.tsx +4 -4
  476. package/src/preview/components/BooleanPreview.tsx +2 -2
  477. package/src/preview/components/DatePreview.tsx +2 -2
  478. package/src/preview/components/EnumValuesChip.tsx +2 -2
  479. package/src/preview/components/ImagePreview.tsx +2 -2
  480. package/src/preview/components/ReferencePreview.tsx +7 -7
  481. package/src/preview/components/StorageThumbnail.tsx +7 -7
  482. package/src/preview/components/UrlComponentPreview.tsx +6 -6
  483. package/src/preview/components/UserPreview.tsx +5 -5
  484. package/src/preview/components/__tests__/DatePreview.test.tsx +3 -3
  485. package/src/preview/index.ts +25 -25
  486. package/src/preview/property_previews/ArrayOfMapsPreview.tsx +5 -5
  487. package/src/preview/property_previews/ArrayOfReferencesPreview.tsx +5 -5
  488. package/src/preview/property_previews/ArrayOfStorageComponentsPreview.tsx +6 -6
  489. package/src/preview/property_previews/ArrayOfStringsPreview.tsx +5 -5
  490. package/src/preview/property_previews/ArrayOneOfPreview.tsx +7 -7
  491. package/src/preview/property_previews/ArrayPropertyEnumPreview.tsx +3 -3
  492. package/src/preview/property_previews/ArrayPropertyPreview.tsx +6 -6
  493. package/src/preview/property_previews/GeopointPropertyPreview.tsx +3 -3
  494. package/src/preview/property_previews/MapPropertyPreview.tsx +6 -6
  495. package/src/preview/property_previews/NumberPropertyPreview.tsx +2 -2
  496. package/src/preview/property_previews/SkeletonPropertyComponent.tsx +3 -3
  497. package/src/preview/property_previews/StringPropertyPreview.tsx +6 -6
  498. package/src/preview/util.ts +2 -2
  499. package/src/routes/CustomCMSRoute.tsx +2 -2
  500. package/src/routes/FireCMSRoute.tsx +13 -13
  501. package/src/routes/HomePageRoute.tsx +1 -1
  502. package/src/types/analytics_controller.tsx +1 -1
  503. package/src/types/auth.tsx +4 -4
  504. package/src/types/collections.ts +10 -10
  505. package/src/types/customization_controller.tsx +6 -6
  506. package/src/types/datasource.ts +4 -4
  507. package/src/types/entity_actions.tsx +6 -6
  508. package/src/types/entity_callbacks.ts +5 -5
  509. package/src/types/entity_link_builder.ts +1 -1
  510. package/src/types/entity_overrides.tsx +2 -2
  511. package/src/types/export_import.ts +3 -3
  512. package/src/types/fields.tsx +3 -3
  513. package/src/types/firecms.tsx +15 -15
  514. package/src/types/firecms_context.tsx +14 -14
  515. package/src/types/index.ts +32 -32
  516. package/src/types/internal_user_management.ts +1 -1
  517. package/src/types/local_config_persistence.tsx +1 -1
  518. package/src/types/modify_collections.tsx +1 -1
  519. package/src/types/navigation.ts +3 -3
  520. package/src/types/permissions.ts +4 -4
  521. package/src/types/plugins.tsx +9 -9
  522. package/src/types/properties.ts +6 -6
  523. package/src/types/property_config.tsx +1 -1
  524. package/src/types/resolved_entities.ts +3 -3
  525. package/src/types/roles.ts +1 -1
  526. package/src/types/side_dialogs_controller.tsx +1 -1
  527. package/src/types/side_entity_controller.tsx +5 -5
  528. package/src/types/user.ts +1 -1
  529. package/src/util/__tests__/collections.test.ts +2 -2
  530. package/src/util/__tests__/conditions.test.ts +2 -2
  531. package/src/util/__tests__/locales.test.ts +1 -1
  532. package/src/util/__tests__/objects.test.ts +1 -1
  533. package/src/util/__tests__/urls.test.ts +1 -1
  534. package/src/util/builders.ts +1 -1
  535. package/src/util/callbacks.ts +2 -2
  536. package/src/util/collections.ts +2 -2
  537. package/src/util/conditions.ts +1 -1
  538. package/src/util/date_fns_locales.ts +1 -1
  539. package/src/util/entities.ts +3 -3
  540. package/src/util/entity_actions.ts +1 -1
  541. package/src/util/entity_cache.ts +3 -3
  542. package/src/util/enums.ts +1 -1
  543. package/src/util/geopoint.ts +1 -1
  544. package/src/util/icon_list.ts +1 -1
  545. package/src/util/icons.tsx +2 -2
  546. package/src/util/index.ts +31 -31
  547. package/src/util/join_collections.ts +4 -4
  548. package/src/util/make_properties_editable.ts +2 -2
  549. package/src/util/navigation_from_path.ts +3 -3
  550. package/src/util/navigation_utils.ts +1 -1
  551. package/src/util/objects.ts +1 -1
  552. package/src/util/parent_references_from_path.ts +2 -2
  553. package/src/util/permissions.ts +2 -2
  554. package/src/util/previews.ts +4 -4
  555. package/src/util/property_utils.tsx +4 -4
  556. package/src/util/resolutions.ts +6 -6
  557. package/src/util/storage.ts +2 -2
  558. package/src/util/strings.test.ts +1 -1
  559. package/src/util/urls.ts +1 -1
  560. package/src/util/useStorageUploadController.tsx +6 -6
@@ -1,7 +1,7 @@
1
- import { Entity, EntityStatus, EntityValues } from "./entities";
2
- import { EntityCollection, FilterValues } from "./collections";
3
- import { ResolvedEntityCollection } from "./resolved_entities";
4
- import { FireCMSContext } from "./firecms_context";
1
+ import { Entity, EntityStatus, EntityValues } from "./entities.js";
2
+ import { EntityCollection, FilterValues } from "./collections.js";
3
+ import { ResolvedEntityCollection } from "./resolved_entities.js";
4
+ import { FireCMSContext } from "./firecms_context.js";
5
5
  /**
6
6
  * @group Datasource
7
7
  */
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
- import { FireCMSContext } from "./firecms_context";
3
- import { Entity } from "./entities";
4
- import { EntityCollection, SelectionController } from "./collections";
5
- import { User } from "./user";
6
- import { SideEntityController } from "./side_entity_controller";
7
- import { FormContext } from "./fields";
2
+ import { FireCMSContext } from "./firecms_context.js";
3
+ import { Entity } from "./entities.js";
4
+ import { EntityCollection, SelectionController } from "./collections.js";
5
+ import { User } from "./user.js";
6
+ import { SideEntityController } from "./side_entity_controller.js";
7
+ import { FormContext } from "./fields.js";
8
8
  /**
9
9
  * An entity action is a custom action that can be performed on an entity.
10
10
  * They are displayed in the entity view and in the collection view.
@@ -1,8 +1,8 @@
1
- import { EntityCollection } from "./collections";
2
- import { Entity, EntityStatus, EntityValues } from "./entities";
3
- import { FireCMSContext } from "./firecms_context";
4
- import { ResolvedEntityCollection } from "./resolved_entities";
5
- import { User } from "./user";
1
+ import { EntityCollection } from "./collections.js";
2
+ import { Entity, EntityStatus, EntityValues } from "./entities.js";
3
+ import { FireCMSContext } from "./firecms_context.js";
4
+ import { ResolvedEntityCollection } from "./resolved_entities.js";
5
+ import { User } from "./user.js";
6
6
  /**
7
7
  * This interface defines all the callbacks that can be used when an entity
8
8
  * is being created, updated or deleted.
@@ -1,4 +1,4 @@
1
- import { Entity } from "./entities";
1
+ import { Entity } from "./entities.js";
2
2
  /**
3
3
  * @group Models
4
4
  */
@@ -1,5 +1,5 @@
1
- import { DataSourceDelegate } from "./datasource";
2
- import { StorageSource } from "./storage";
1
+ import { DataSourceDelegate } from "./datasource.js";
2
+ import { StorageSource } from "./storage.js";
3
3
  export type EntityOverrides = {
4
4
  dataSourceDelegate?: DataSourceDelegate;
5
5
  storageSource?: StorageSource;
@@ -1,6 +1,6 @@
1
- import { User } from "./user";
2
- import { Entity } from "./entities";
3
- import { FireCMSContext } from "./firecms_context";
1
+ import { User } from "./user.js";
2
+ import { Entity } from "./entities.js";
3
+ import { FireCMSContext } from "./firecms_context.js";
4
4
  /**
5
5
  * You can use this configuration to add additional fields to the data
6
6
  * exports
@@ -1,7 +1,7 @@
1
- import { CMSType, Property, PropertyOrBuilder } from "./properties";
2
- import { ResolvedEntityCollection, ResolvedProperty } from "./resolved_entities";
1
+ import { CMSType, Property, PropertyOrBuilder } from "./properties.js";
2
+ import { ResolvedEntityCollection, ResolvedProperty } from "./resolved_entities.js";
3
3
  import { FormexController } from "@firecms/formex";
4
- import { Entity } from "./entities";
4
+ import { Entity } from "./entities.js";
5
5
  /**
6
6
  * When building a custom field you need to create a React component that takes
7
7
  * this interface as props.
@@ -1,19 +1,19 @@
1
1
  import React from "react";
2
- import { User } from "./user";
3
- import { AuthController } from "./auth";
4
- import { DataSourceDelegate } from "./datasource";
5
- import { EntityCollection, EntityCustomView } from "./collections";
6
- import { CMSView, NavigationController } from "./navigation";
7
- import { FireCMSContext } from "./firecms_context";
8
- import { PropertyConfig } from "./property_config";
9
- import { Locale } from "./locales";
10
- import { StorageSource } from "./storage";
11
- import { EntityLinkBuilder } from "./entity_link_builder";
12
- import { UserConfigurationPersistence } from "./local_config_persistence";
13
- import { FireCMSPlugin } from "./plugins";
14
- import { CMSAnalyticsEvent } from "./analytics";
15
- import { EntityAction } from "./entity_actions";
16
- import { InternalUserManagement } from "./internal_user_management";
2
+ import { User } from "./user.js";
3
+ import { AuthController } from "./auth.js";
4
+ import { DataSourceDelegate } from "./datasource.js";
5
+ import { EntityCollection, EntityCustomView } from "./collections.js";
6
+ import { CMSView, NavigationController } from "./navigation.js";
7
+ import { FireCMSContext } from "./firecms_context.js";
8
+ import { PropertyConfig } from "./property_config.js";
9
+ import { Locale } from "./locales.js";
10
+ import { StorageSource } from "./storage.js";
11
+ import { EntityLinkBuilder } from "./entity_link_builder.js";
12
+ import { UserConfigurationPersistence } from "./local_config_persistence.js";
13
+ import { FireCMSPlugin } from "./plugins.js";
14
+ import { CMSAnalyticsEvent } from "./analytics.js";
15
+ import { EntityAction } from "./entity_actions.js";
16
+ import { InternalUserManagement } from "./internal_user_management.js";
17
17
  /**
18
18
  * Use this callback to build entity collections dynamically.
19
19
  * You can use the user to decide which collections to show.
@@ -1,17 +1,17 @@
1
- import { DataSource } from "./datasource";
2
- import { StorageSource } from "./storage";
3
- import { NavigationController } from "./navigation";
4
- import { SideEntityController } from "./side_entity_controller";
5
- import { AuthController } from "./auth";
6
- import { User } from "./user";
7
- import { SnackbarController } from "../hooks";
8
- import { UserConfigurationPersistence } from "./local_config_persistence";
9
- import { SideDialogsController } from "./side_dialogs_controller";
10
- import { DialogsController } from "./dialogs_controller";
11
- import { CustomizationController } from "./customization_controller";
12
- import { AnalyticsController } from "./analytics_controller";
13
- import { InternalUserManagement } from "./internal_user_management";
14
- import { AccessResponse } from "./license";
1
+ import { DataSource } from "./datasource.js";
2
+ import { StorageSource } from "./storage.js";
3
+ import { NavigationController } from "./navigation.js";
4
+ import { SideEntityController } from "./side_entity_controller.js";
5
+ import { AuthController } from "./auth.js";
6
+ import { User } from "./user.js";
7
+ import { SnackbarController } from "../hooks/index.js";
8
+ import { UserConfigurationPersistence } from "./local_config_persistence.js";
9
+ import { SideDialogsController } from "./side_dialogs_controller.js";
10
+ import { DialogsController } from "./dialogs_controller.js";
11
+ import { CustomizationController } from "./customization_controller.js";
12
+ import { AnalyticsController } from "./analytics_controller.js";
13
+ import { InternalUserManagement } from "./internal_user_management.js";
14
+ import { AccessResponse } from "./license.js";
15
15
  /**
16
16
  * Context that includes the internal controllers and contexts used by the app.
17
17
  * Some controllers and context included in this context can be accessed
@@ -1,32 +1,32 @@
1
- export * from "./auth";
2
- export * from "./entities";
3
- export * from "./entity_actions";
4
- export * from "./resolved_entities";
5
- export * from "./properties";
6
- export * from "./collections";
7
- export * from "./permissions";
8
- export * from "./navigation";
9
- export * from "./locales";
10
- export * from "./user";
11
- export * from "./storage";
12
- export * from "./fields";
13
- export * from "./property_config";
14
- export * from "./datasource";
15
- export * from "./entity_link_builder";
16
- export * from "./internal_user_management";
17
- export * from "./side_entity_controller";
18
- export * from "./side_dialogs_controller";
19
- export * from "./firecms_context";
20
- export * from "./entity_callbacks";
21
- export * from "./entity_overrides";
22
- export * from "./local_config_persistence";
23
- export * from "./plugins";
24
- export * from "./analytics";
25
- export * from "./firecms";
26
- export * from "./roles";
27
- export * from "./export_import";
28
- export * from "./modify_collections";
29
- export * from "./analytics_controller";
30
- export * from "./customization_controller";
31
- export * from "./translations";
32
- export * from "./license";
1
+ export * from "./auth.js";
2
+ export * from "./entities.js";
3
+ export * from "./entity_actions.js";
4
+ export * from "./resolved_entities.js";
5
+ export * from "./properties.js";
6
+ export * from "./collections.js";
7
+ export * from "./permissions.js";
8
+ export * from "./navigation.js";
9
+ export * from "./locales.js";
10
+ export * from "./user.js";
11
+ export * from "./storage.js";
12
+ export * from "./fields.js";
13
+ export * from "./property_config.js";
14
+ export * from "./datasource.js";
15
+ export * from "./entity_link_builder.js";
16
+ export * from "./internal_user_management.js";
17
+ export * from "./side_entity_controller.js";
18
+ export * from "./side_dialogs_controller.js";
19
+ export * from "./firecms_context.js";
20
+ export * from "./entity_callbacks.js";
21
+ export * from "./entity_overrides.js";
22
+ export * from "./local_config_persistence.js";
23
+ export * from "./plugins.js";
24
+ export * from "./analytics.js";
25
+ export * from "./firecms.js";
26
+ export * from "./roles.js";
27
+ export * from "./export_import.js";
28
+ export * from "./modify_collections.js";
29
+ export * from "./analytics_controller.js";
30
+ export * from "./customization_controller.js";
31
+ export * from "./translations.js";
32
+ export * from "./license.js";
@@ -1,4 +1,4 @@
1
- import { User } from "./user";
1
+ import { User } from "./user.js";
2
2
  export type InternalUserManagement<USER extends User = User> = {
3
3
  /**
4
4
  * List of users to be managed by the CMS.
@@ -1,4 +1,4 @@
1
- import { EntityCollection } from "./collections";
1
+ import { EntityCollection } from "./collections.js";
2
2
  /**
3
3
  * Use to resolve the collection properties for specific path, entity id or values.
4
4
  * @group Models
@@ -1,4 +1,4 @@
1
- import { EntityCollection } from "./collections";
1
+ import { EntityCollection } from "./collections.js";
2
2
  export type ModifyCollectionProps = {
3
3
  collection: EntityCollection;
4
4
  parentPaths: string[];
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
- import { EntityCollection } from "./collections";
3
- import { EntityReference } from "./entities";
4
- import { FireCMSPlugin } from "./plugins";
2
+ import { EntityCollection } from "./collections.js";
3
+ import { EntityReference } from "./entities.js";
4
+ import { FireCMSPlugin } from "./plugins.js";
5
5
  /**
6
6
  * Controller that includes the resolved navigation and utility methods and
7
7
  * attributes.
@@ -1,7 +1,7 @@
1
- import { User } from "./user";
2
- import { AuthController } from "./auth";
3
- import { EntityCollection, InferCollectionType } from "./collections";
4
- import { Entity } from "./entities";
1
+ import { User } from "./user.js";
2
+ import { AuthController } from "./auth.js";
3
+ import { EntityCollection, InferCollectionType } from "./collections.js";
4
+ import { Entity } from "./entities.js";
5
5
  /**
6
6
  * Define the operations that can be performed in a collection.
7
7
  * @group Models
@@ -1,13 +1,13 @@
1
1
  import React, { PropsWithChildren } from "react";
2
- import { FireCMSContext } from "./firecms_context";
3
- import { CollectionActionsProps, EntityCollection, EntityTableController } from "./collections";
4
- import { User } from "./user";
5
- import { FieldProps, FormContext } from "./fields";
6
- import { CMSType, Property } from "./properties";
7
- import { EntityStatus } from "./entities";
8
- import { ResolvedProperty } from "./resolved_entities";
9
- import { NavigationGroupMapping, CMSView } from "./navigation";
10
- import { InternalUserManagement } from "./internal_user_management";
2
+ import { FireCMSContext } from "./firecms_context.js";
3
+ import { CollectionActionsProps, EntityCollection, EntityTableController } from "./collections.js";
4
+ import { User } from "./user.js";
5
+ import { FieldProps, FormContext } from "./fields.js";
6
+ import { CMSType, Property } from "./properties.js";
7
+ import { EntityStatus } from "./entities.js";
8
+ import { ResolvedProperty } from "./resolved_entities.js";
9
+ import { NavigationGroupMapping, CMSView } from "./navigation.js";
10
+ import { InternalUserManagement } from "./internal_user_management.js";
11
11
  /**
12
12
  * Interface used to define plugins for FireCMS.
13
13
  * NOTE: This is a work in progress and the API is not stable yet.
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
- import { FieldProps } from "./fields";
3
- import { PropertyPreviewProps } from "../preview";
4
- import { EntityReference, EntityValues, GeoPoint, Vector } from "./entities";
5
- import { ResolvedArrayProperty, ResolvedStringProperty } from "./resolved_entities";
6
- import { FilterValues } from "./collections";
2
+ import { FieldProps } from "./fields.js";
3
+ import { PropertyPreviewProps } from "../preview/index.js";
4
+ import { EntityReference, EntityValues, GeoPoint, Vector } from "./entities.js";
5
+ import { ResolvedArrayProperty, ResolvedStringProperty } from "./resolved_entities.js";
6
+ import { FilterValues } from "./collections.js";
7
7
  import { ChipColorKey, ChipColorScheme } from "@firecms/ui";
8
- import { AuthController } from "./auth";
8
+ import { AuthController } from "./auth.js";
9
9
  /**
10
10
  * @group Entity properties
11
11
  */
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { CMSType, PropertyOrBuilder } from "./properties";
2
+ import { CMSType, PropertyOrBuilder } from "./properties.js";
3
3
  /**
4
4
  * This is the configuration object for a property.
5
5
  * These configs are generated by default for the properties defined in your
@@ -1,6 +1,6 @@
1
- import { ArrayProperty, BooleanProperty, CMSType, DateProperty, EnumValueConfig, GeopointProperty, MapProperty, NumberProperty, ReferenceProperty, StringProperty } from "./properties";
2
- import { EntityReference, GeoPoint } from "./entities";
3
- import { EntityCollection } from "./collections";
1
+ import { ArrayProperty, BooleanProperty, CMSType, DateProperty, EnumValueConfig, GeopointProperty, MapProperty, NumberProperty, ReferenceProperty, StringProperty } from "./properties.js";
2
+ import { EntityReference, GeoPoint } from "./entities.js";
3
+ import { EntityCollection } from "./collections.js";
4
4
  /**
5
5
  * This is the same entity collection you define, only all the property builders
6
6
  * are resolved to regular `Property` objects.
@@ -1,4 +1,4 @@
1
- import { Permissions } from "../index";
1
+ import { Permissions } from "../index.js";
2
2
  export type Role = {
3
3
  /**
4
4
  * ID of the role
@@ -1,7 +1,7 @@
1
- import { EntityCollection } from "./collections";
2
- import { ResolvedEntityCollection } from "./resolved_entities";
3
- import { Entity } from "./entities";
4
- import { EntityFormProps } from "../form";
1
+ import { EntityCollection } from "./collections.js";
2
+ import { ResolvedEntityCollection } from "./resolved_entities.js";
3
+ import { Entity } from "./entities.js";
4
+ import { EntityFormProps } from "../form/index.js";
5
5
  /**
6
6
  * Props used to open a side dialog
7
7
  * @group Hooks and utilities
@@ -1,4 +1,4 @@
1
- import { Role } from "./roles";
1
+ import { Role } from "./roles.js";
2
2
  /**
3
3
  * This interface represents a user.
4
4
  * It has some of the same fields as a Firebase User.
@@ -1,4 +1,4 @@
1
- import { AdditionalFieldDelegate, ArrayProperty, BooleanProperty, CMSType, DateProperty, EntityCallbacks, EntityCollection, EnumValueConfig, EnumValues, GeopointProperty, MapProperty, NumberProperty, PropertiesOrBuilders, PropertyBuilder, PropertyConfig, PropertyOrBuilder, ReferenceProperty, StringProperty, User } from "../types";
1
+ import { AdditionalFieldDelegate, ArrayProperty, BooleanProperty, CMSType, DateProperty, EntityCallbacks, EntityCollection, EnumValueConfig, EnumValues, GeopointProperty, MapProperty, NumberProperty, PropertiesOrBuilders, PropertyBuilder, PropertyConfig, PropertyOrBuilder, ReferenceProperty, StringProperty, User } from "../types/index.js";
2
2
  /**
3
3
  * Identity function we use to defeat the type system of Typescript and build
4
4
  * collection views with all its properties
@@ -1,2 +1,2 @@
1
- import { EntityCallbacks } from "../types";
1
+ import { EntityCallbacks } from "../types/index.js";
2
2
  export declare const mergeCallbacks: (baseCallbacks?: EntityCallbacks, pluginCallbacks?: EntityCallbacks) => EntityCallbacks | undefined;
@@ -1,4 +1,4 @@
1
- import { DefaultSelectedViewBuilder, DefaultSelectedViewParams, EntityCollection, PermissionsBuilder, PropertiesOrBuilders } from "../types";
1
+ import { DefaultSelectedViewBuilder, DefaultSelectedViewParams, EntityCollection, PermissionsBuilder, PropertiesOrBuilders } from "../types/index.js";
2
2
  export declare function sortProperties<M extends Record<string, any>>(properties: PropertiesOrBuilders<M>, propertiesOrder?: (keyof M)[]): PropertiesOrBuilders<M>;
3
3
  export declare function resolveDefaultSelectedView(defaultSelectedView: string | DefaultSelectedViewBuilder | undefined, params: DefaultSelectedViewParams): string | undefined;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { AuthController, ConditionContext, JsonLogicRule, ResolvedProperty, CMSType } from "../types";
1
+ import { AuthController, ConditionContext, JsonLogicRule, ResolvedProperty, CMSType } from "../types/index.js";
2
2
  /**
3
3
  * Register custom JSON Logic operations for FireCMS.
4
4
  * Call this once at app initialization.
@@ -1,5 +1,5 @@
1
1
  import type { Locale as DateFnsLocale } from "date-fns";
2
- import { Locale } from "../types";
2
+ import { Locale } from "../types/index.js";
3
3
  /**
4
4
  * Load a date-fns locale, resolving from cache when it is already in memory.
5
5
  * Concurrent callers for the same locale share one request.
@@ -1,4 +1,4 @@
1
- import { CMSType, DataType, Entity, EntityReference, EntityStatus, EntityValues, PropertiesOrBuilders, Property, PropertyBuilder, PropertyOrBuilder, ResolvedProperties, ResolvedProperty } from "../types";
1
+ import { CMSType, DataType, Entity, EntityReference, EntityStatus, EntityValues, PropertiesOrBuilders, Property, PropertyBuilder, PropertyOrBuilder, ResolvedProperties, ResolvedProperty } from "../types/index.js";
2
2
  export declare function isReadOnly(property: Property<any> | ResolvedProperty<any>): boolean;
3
3
  export declare function isHidden(property: Property | ResolvedProperty): boolean;
4
4
  export declare function isPropertyBuilder<T extends CMSType = CMSType, M extends Record<string, any> = any>(propertyOrBuilder?: PropertyOrBuilder<T, M> | Property | ResolvedProperty): propertyOrBuilder is PropertyBuilder<T, M>;
@@ -1,2 +1,2 @@
1
- import { EntityAction } from "../types";
1
+ import { EntityAction } from "../types/index.js";
2
2
  export declare function mergeEntityActions(currentActions: EntityAction[], newActions: EntityAction[]): EntityAction[];
@@ -1,4 +1,4 @@
1
- import { EnumValueConfig, EnumValues } from "../types";
1
+ import { EnumValueConfig, EnumValues } from "../types/index.js";
2
2
  import { ChipColorScheme } from "@firecms/ui";
3
3
  export declare function enumToObjectEntries(enumValues: EnumValues): EnumValueConfig[];
4
4
  export declare function getLabelOrConfigFrom(enumValues: EnumValueConfig[], key?: string | number): EnumValueConfig | undefined;
@@ -1,4 +1,4 @@
1
- import { GeoPoint } from "../types";
1
+ import { GeoPoint } from "../types/index.js";
2
2
  export type GeoPointLike = GeoPoint | {
3
3
  latitude?: number;
4
4
  longitude?: number;
@@ -1,31 +1,31 @@
1
- export * from "./collections";
2
- export * from "./entities";
3
- export * from "./strings";
4
- export * from "./dates";
5
- export * from "./enums";
6
- export * from "./objects";
7
- export * from "./paths";
8
- export * from "./regexp";
9
- export * from "./urls";
10
- export * from "./navigation_utils";
11
- export * from "./entity_actions";
12
- export * from "./useDebouncedCallback";
13
- export * from "./property_utils";
14
- export * from "./resolutions";
15
- export * from "./permissions";
16
- export * from "./geopoint";
17
- export * from "./icon_list";
18
- export * from "./icon_synonyms";
19
- export * from "./icons";
20
- export * from "./plurals";
21
- export * from "./previews";
22
- export * from "./flatten_object";
23
- export * from "./make_properties_editable";
24
- export * from "./join_collections";
25
- export * from "./builders";
26
- export * from "./useTraceUpdate";
27
- export * from "./storage";
28
- export * from "./callbacks";
29
- export * from "./conditions";
30
- export * from "./lazy_eager";
31
- export * from "./date_fns_locales";
1
+ export * from "./collections.js";
2
+ export * from "./entities.js";
3
+ export * from "./strings.js";
4
+ export * from "./dates.js";
5
+ export * from "./enums.js";
6
+ export * from "./objects.js";
7
+ export * from "./paths.js";
8
+ export * from "./regexp.js";
9
+ export * from "./urls.js";
10
+ export * from "./navigation_utils.js";
11
+ export * from "./entity_actions.js";
12
+ export * from "./useDebouncedCallback.js";
13
+ export * from "./property_utils.js";
14
+ export * from "./resolutions.js";
15
+ export * from "./permissions.js";
16
+ export * from "./geopoint.js";
17
+ export * from "./icon_list.js";
18
+ export * from "./icon_synonyms.js";
19
+ export * from "./icons.js";
20
+ export * from "./plurals.js";
21
+ export * from "./previews.js";
22
+ export * from "./flatten_object.js";
23
+ export * from "./make_properties_editable.js";
24
+ export * from "./join_collections.js";
25
+ export * from "./builders.js";
26
+ export * from "./useTraceUpdate.js";
27
+ export * from "./storage.js";
28
+ export * from "./callbacks.js";
29
+ export * from "./conditions.js";
30
+ export * from "./lazy_eager.js";
31
+ export * from "./date_fns_locales.js";
@@ -1,4 +1,4 @@
1
- import { EntityCollection, ModifyCollectionProps } from "../types";
1
+ import { EntityCollection, ModifyCollectionProps } from "../types/index.js";
2
2
  /**
3
3
  *
4
4
  */
@@ -1,2 +1,2 @@
1
- import { Properties } from "../types";
1
+ import { Properties } from "../types/index.js";
2
2
  export declare function makePropertiesEditable(properties: Properties): Properties<any>;
@@ -1,4 +1,4 @@
1
- import { EntityCollection, EntityCustomView } from "../types";
1
+ import { EntityCollection, EntityCustomView } from "../types/index.js";
2
2
  export type NavigationViewInternal<M extends Record<string, any> = any> = NavigationViewEntityInternal<M> | NavigationViewCollectionInternal<M> | NavigationViewEntityCustomInternal<M>;
3
3
  export interface NavigationViewEntityInternal<M extends Record<string, any>> {
4
4
  type: "entity";
@@ -1,4 +1,4 @@
1
- import { EntityCollection, NavigationController, SideEntityController } from "../types";
1
+ import { EntityCollection, NavigationController, SideEntityController } from "../types/index.js";
2
2
  export declare function removeInitialAndTrailingSlashes(s: string): string;
3
3
  export declare function removeInitialSlash(s: string): string;
4
4
  export declare function removeTrailingSlash(s: string): string;
@@ -1,4 +1,4 @@
1
- import { EntityCollection, EntityReference } from "../types";
1
+ import { EntityCollection, EntityReference } from "../types/index.js";
2
2
  /**
3
3
  * References to every parent entity in a path.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { AuthController, Entity, EntityCollection, Permissions, User } from "../types";
1
+ import { AuthController, Entity, EntityCollection, Permissions, User } from "../types/index.js";
2
2
  /**
3
3
  * `pathSegments` is `path` split at its real segment boundaries. It is forwarded so the
4
4
  * collection chain handed to a permissions builder stays correct when an entity id contains
@@ -1,4 +1,4 @@
1
- import { AuthController, EntityCollection, PropertyConfig, ResolvedEntityCollection } from "../types";
1
+ import { AuthController, EntityCollection, PropertyConfig, ResolvedEntityCollection } from "../types/index.js";
2
2
  export declare function getEntityPreviewKeys(authController: AuthController, targetCollection: EntityCollection<any>, fields: Record<string, PropertyConfig>, previewProperties?: string[], limit?: number): string[];
3
3
  export declare function getEntityTitlePropertyKey<M extends Record<string, any>>(collection: EntityCollection<M>, propertyConfigs: Record<string, PropertyConfig<any>>): string | undefined;
4
4
  export declare function getEntityImagePreviewPropertyKey<M extends object>(collection: ResolvedEntityCollection<M>): string | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { AuthController, EntityCollection, PropertiesOrBuilders, PropertyConfig, PropertyOrBuilder, ResolvedProperties, ResolvedProperty } from "../types";
2
+ import { AuthController, EntityCollection, PropertiesOrBuilders, PropertyConfig, PropertyOrBuilder, ResolvedProperties, ResolvedProperty } from "../types/index.js";
3
3
  export declare function isReferenceProperty(authController: AuthController, propertyOrBuilder: PropertyOrBuilder, fields: Record<string, PropertyConfig>): boolean | null;
4
4
  export declare function getIdIcon(size: "small" | "medium" | "large"): React.ReactNode;
5
5
  export declare function getIconForWidget(widget: PropertyConfig | undefined, size: "small" | "medium" | "large"): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ArrayProperty, AuthController, CMSType, CustomizationController, EntityAction, EntityCollection, EntityCustomView, EntityValues, EnumValueConfig, EnumValues, NumberProperty, PropertiesOrBuilders, Property, PropertyConfig, PropertyOrBuilder, ResolvedArrayProperty, ResolvedEntityCollection, ResolvedNumberProperty, ResolvedProperties, ResolvedProperty, ResolvedStringProperty, StringProperty, UserConfigurationPersistence } from "../types";
1
+ import { ArrayProperty, AuthController, CMSType, CustomizationController, EntityAction, EntityCollection, EntityCustomView, EntityValues, EnumValueConfig, EnumValues, NumberProperty, PropertiesOrBuilders, Property, PropertyConfig, PropertyOrBuilder, ResolvedArrayProperty, ResolvedEntityCollection, ResolvedNumberProperty, ResolvedProperties, ResolvedProperty, ResolvedStringProperty, StringProperty, UserConfigurationPersistence } from "../types/index.js";
2
2
  export declare const resolveCollection: <M extends Record<string, any>>({ collection, path, entityId, values, previousValues, userConfigPersistence, propertyConfigs, ignoreMissingFields, authController }: {
3
3
  collection: EntityCollection<M> | ResolvedEntityCollection<M>;
4
4
  path: string;
@@ -1,4 +1,4 @@
1
- import { EntityValues, ResolvedArrayProperty, ResolvedStringProperty, StorageConfig, UploadedFileContext } from "../types";
1
+ import { EntityValues, ResolvedArrayProperty, ResolvedStringProperty, StorageConfig, UploadedFileContext } from "../types/index.js";
2
2
  interface ResolveFilenameStringParams<M extends object> {
3
3
  input: string | ((context: UploadedFileContext) => (Promise<string> | string));
4
4
  storage: StorageConfig;
@@ -1,4 +1,4 @@
1
- import type { PreviewType } from "../types";
1
+ import type { PreviewType } from "../types/index.js";
2
2
  /**
3
3
  * Is the given value an absolute `http(s)` URL, as opposed to a relative
4
4
  * storage path such as `images/my_image.png`?
@@ -1,5 +1,5 @@
1
- import { ArrayProperty, EntityValues, ImageResize, ResolvedArrayProperty, ResolvedStringProperty, StorageConfig, StorageSource, StringProperty } from "../types";
2
- import { PreviewSize } from "../preview";
1
+ import { ArrayProperty, EntityValues, ImageResize, ResolvedArrayProperty, ResolvedStringProperty, StorageConfig, StorageSource, StringProperty } from "../types/index.js";
2
+ import { PreviewSize } from "../preview/index.js";
3
3
  /**
4
4
  * Internal representation of an item in the storage
5
5
  * It can have two states, having a storagePathOrDownloadUrl set,