@firecms/core 3.0.0-alpha.70 → 3.0.0-alpha.72
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/EntityCollectionTable.d.ts +5 -5
- package/dist/components/EntityCollectionTable/EntityCollectionTableProps.d.ts +1 -1
- package/dist/components/EntityCollectionTable/index.d.ts +1 -1
- package/dist/components/EntityCollectionTable/types.d.ts +15 -1
- package/dist/components/EntityCollectionTable/useDataSourceEntityCollectionTableController.d.ts +32 -0
- package/dist/components/SearchIconsView.d.ts +5 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/hooks/useVerifyLicense.d.ts +0 -0
- package/dist/index.es.js +8902 -7487
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -587
- package/dist/index.umd.js.map +1 -1
- package/dist/util/icon_list.d.ts +1 -0
- package/dist/util/icon_synonyms.d.ts +1950 -0
- package/dist/util/index.d.ts +2 -0
- package/package.json +3 -5
- package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +5 -6
- package/src/components/EntityCollectionTable/EntityCollectionTableProps.tsx +1 -1
- package/src/components/EntityCollectionTable/index.tsx +1 -1
- package/src/components/EntityCollectionTable/types.tsx +15 -1
- package/src/components/EntityCollectionTable/{useEntityCollectionTableController.tsx → useDataSourceEntityCollectionTableController.tsx} +16 -4
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +2 -2
- package/src/components/ReferenceSelectionInner.tsx +2 -2
- package/src/components/SearchIconsView.tsx +75 -0
- package/src/components/index.tsx +1 -0
- package/src/form/field_bindings/MarkdownFieldBinding.tsx +585 -585
- package/src/hooks/useVerifyLicense.tsx +1 -0
- package/src/util/icon_list.ts +17 -0
- package/src/util/icon_synonyms.ts +1950 -0
- package/src/util/index.ts +2 -0
- package/dist/components/EntityCollectionTable/useEntityCollectionTableController.d.ts +0 -21
package/src/util/index.ts
CHANGED
|
@@ -11,6 +11,8 @@ export * from "./useDebounce";
|
|
|
11
11
|
export * from "./property_utils";
|
|
12
12
|
export * from "./resolutions";
|
|
13
13
|
export * from "./permissions";
|
|
14
|
+
export * from "./icon_list";
|
|
15
|
+
export * from "./icon_synonyms";
|
|
14
16
|
export * from "./icons";
|
|
15
17
|
export * from "./plurals";
|
|
16
18
|
export * from "./references";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Entity, EntityCollection, FilterValues, TableController, User } from "../../types";
|
|
2
|
-
export type EntityCollectionTableControllerProps<M extends Record<string, any> = any> = {
|
|
3
|
-
fullPath: string;
|
|
4
|
-
collection: EntityCollection<M>;
|
|
5
|
-
/**
|
|
6
|
-
* List of entities that will be displayed on top, no matter the ordering.
|
|
7
|
-
* This is used for reference fields selection
|
|
8
|
-
*/
|
|
9
|
-
entitiesDisplayedFirst?: Entity<M>[];
|
|
10
|
-
lastDeleteTimestamp?: number;
|
|
11
|
-
forceFilter?: FilterValues<string>;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Use this hook to build a controller for the {@link EntityCollectionTable}
|
|
15
|
-
* @param fullPath
|
|
16
|
-
* @param collection
|
|
17
|
-
* @param entitiesDisplayedFirst
|
|
18
|
-
* @param lastDeleteTimestamp
|
|
19
|
-
* @param forceFilterFromProps
|
|
20
|
-
*/
|
|
21
|
-
export declare function useEntityCollectionTableController<M extends Record<string, any> = any, UserType extends User = User>({ fullPath, collection, entitiesDisplayedFirst, lastDeleteTimestamp, forceFilter: forceFilterFromProps, }: EntityCollectionTableControllerProps<M>): TableController<M>;
|