@firecms/core 3.0.0-canary.40 → 3.0.0-canary.42
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.
- package/dist/components/EntityCollectionTable/EntityCollectionRowActions.d.ts +11 -11
- package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +11 -1
- package/dist/form/components/ErrorFocus.d.ts +1 -1
- package/dist/index.es.js +2340 -2345
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/types/navigation.d.ts +1 -1
- package/dist/util/navigation_utils.d.ts +2 -2
- package/dist/util/resolutions.d.ts +5 -5
- package/package.json +8 -5
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +13 -4
- package/src/components/EntityView.tsx +1 -1
- package/src/components/HomePage/DefaultHomePage.tsx +1 -1
- package/src/components/VirtualTable/VirtualTable.tsx +28 -20
- package/src/core/FireCMS.tsx +1 -2
- package/src/hooks/useBuildNavigationController.tsx +14 -14
- package/src/hooks/useProjectLog.tsx +3 -3
- package/src/internal/useBuildSideEntityController.tsx +1 -1
- package/src/types/navigation.ts +1 -1
- package/src/util/navigation_utils.ts +6 -6
- package/dist/internal/useLocaleConfig.d.ts +0 -1
- package/src/internal/useLocaleConfig.tsx +0 -18
|
@@ -15,17 +15,17 @@ import { CollectionSize, Entity, EntityAction, EntityCollection, SelectionContro
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const EntityCollectionRowActions: ({ entity, collection, fullPath, width, frozen, isSelected, selectionEnabled, size, highlightEntity, onCollectionChange, unhighlightEntity, actions, hideId, selectionController, }: {
|
|
17
17
|
entity: Entity<any>;
|
|
18
|
-
collection?: EntityCollection<any
|
|
19
|
-
fullPath?: string
|
|
18
|
+
collection?: EntityCollection<any>;
|
|
19
|
+
fullPath?: string;
|
|
20
20
|
width: number;
|
|
21
|
-
frozen?: boolean
|
|
21
|
+
frozen?: boolean;
|
|
22
22
|
size: CollectionSize;
|
|
23
|
-
isSelected?: boolean
|
|
24
|
-
selectionEnabled?: boolean
|
|
25
|
-
actions?: EntityAction[]
|
|
26
|
-
hideId?: boolean
|
|
27
|
-
onCollectionChange?: (
|
|
28
|
-
selectionController?: SelectionController
|
|
29
|
-
highlightEntity?: (
|
|
30
|
-
unhighlightEntity?: (
|
|
23
|
+
isSelected?: boolean;
|
|
24
|
+
selectionEnabled?: boolean;
|
|
25
|
+
actions?: EntityAction[];
|
|
26
|
+
hideId?: boolean;
|
|
27
|
+
onCollectionChange?: () => void;
|
|
28
|
+
selectionController?: SelectionController;
|
|
29
|
+
highlightEntity?: (entity: Entity<any>) => void;
|
|
30
|
+
unhighlightEntity?: (entity: Entity<any>) => void;
|
|
31
31
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,8 +4,18 @@ import { EntityCollection } from "../../types";
|
|
|
4
4
|
* @group Components
|
|
5
5
|
*/
|
|
6
6
|
export type EntityCollectionViewProps<M extends Record<string, any>> = {
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Complete path where this collection is located.
|
|
9
|
+
* It defaults to the collection path if not provided.
|
|
10
|
+
*/
|
|
11
|
+
fullPath?: string;
|
|
12
|
+
/**
|
|
13
|
+
* If this is a subcollection, specify the parent collection ids.
|
|
14
|
+
*/
|
|
8
15
|
parentCollectionIds?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* Whether this is a subcollection or not.
|
|
18
|
+
*/
|
|
9
19
|
isSubCollection?: boolean;
|
|
10
20
|
className?: string;
|
|
11
21
|
} & EntityCollection<M>;
|