@firecms/core 3.0.0-beta.2-pre.5 → 3.0.0-canary.0
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 +2 -6
- package/dist/components/PropertyIdCopyTooltipContent.d.ts +3 -0
- package/dist/form/PropertyFieldBinding.d.ts +1 -1
- package/dist/hooks/useProjectLog.d.ts +4 -0
- package/dist/index.es.js +2438 -2365
- 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/util/index.d.ts +1 -1
- package/dist/util/useDebouncedCallback.d.ts +1 -0
- package/package.json +4 -4
- package/src/components/ArrayContainer.tsx +3 -9
- package/src/components/EntityCollectionTable/EntityCollectionRowActions.tsx +33 -36
- package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +36 -38
- package/src/components/EntityCollectionTable/internal/CollectionTableToolbar.tsx +17 -14
- package/src/components/EntityCollectionTable/internal/popup_field/PopupFormField.tsx +10 -1
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +15 -14
- package/src/components/PropertyIdCopyTooltipContent.tsx +28 -0
- package/src/components/ReferenceTable/ReferenceSelectionTable.tsx +0 -1
- package/src/components/SelectableTable/SelectableTable.tsx +2 -2
- package/src/components/VirtualTable/fields/VirtualTableInput.tsx +2 -2
- package/src/components/VirtualTable/fields/VirtualTableNumberInput.tsx +2 -2
- package/src/core/Drawer.tsx +17 -15
- package/src/core/FireCMS.tsx +4 -1
- package/src/core/Scaffold.tsx +5 -5
- package/src/core/field_configs.tsx +11 -11
- package/src/form/EntityForm.tsx +16 -4
- package/src/form/PropertyFieldBinding.tsx +3 -8
- package/src/form/field_bindings/MapFieldBinding.tsx +8 -6
- package/src/form/field_bindings/RepeatFieldBinding.tsx +4 -2
- package/src/hooks/useBuildNavigationController.tsx +26 -6
- package/src/hooks/useProjectLog.tsx +31 -0
- package/src/internal/EntityView.tsx +2 -2
- package/src/util/index.ts +1 -1
- package/src/util/{useDebounce.ts → useDebouncedCallback.ts} +1 -1
- package/dist/hooks/useVerifyLicense.d.ts +0 -0
- package/dist/util/useDebounce.d.ts +0 -1
- package/src/hooks/useVerifyLicense.tsx +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { CollectionSize, Entity, EntityAction, EntityCollection, SelectionController } from "../../types";
|
|
3
2
|
/**
|
|
4
3
|
*
|
|
@@ -9,15 +8,12 @@ import { CollectionSize, Entity, EntityAction, EntityCollection, SelectionContro
|
|
|
9
8
|
* @param selectionEnabled
|
|
10
9
|
* @param size
|
|
11
10
|
* @param toggleEntitySelection
|
|
12
|
-
* @param onCopyClicked
|
|
13
|
-
* @param onEditClicked
|
|
14
|
-
* @param onDeleteClicked
|
|
15
11
|
* @param hideId
|
|
16
12
|
* @constructor
|
|
17
13
|
*
|
|
18
14
|
* @group Collection components
|
|
19
15
|
*/
|
|
20
|
-
export declare const EntityCollectionRowActions:
|
|
16
|
+
export declare const EntityCollectionRowActions: ({ entity, collection, fullPath, width, frozen, isSelected, selectionEnabled, size, highlightEntity, onCollectionChange, unhighlightEntity, actions, hideId, selectionController, }: {
|
|
21
17
|
entity: Entity<any>;
|
|
22
18
|
collection?: EntityCollection<any, import("../../types").User> | undefined;
|
|
23
19
|
fullPath?: string | undefined;
|
|
@@ -32,4 +28,4 @@ export declare const EntityCollectionRowActions: React.NamedExoticComponent<{
|
|
|
32
28
|
selectionController?: SelectionController | undefined;
|
|
33
29
|
highlightEntity?: ((entity: Entity<any>) => void) | undefined;
|
|
34
30
|
unhighlightEntity?: ((entity: Entity<any>) => void) | undefined;
|
|
35
|
-
}
|
|
31
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,5 +26,5 @@ import { CMSType, PropertyFieldBindingProps } from "../types";
|
|
|
26
26
|
* @group Form custom fields
|
|
27
27
|
*/
|
|
28
28
|
export declare const PropertyFieldBinding: typeof PropertyFieldBindingInternal;
|
|
29
|
-
declare function PropertyFieldBindingInternal<T extends CMSType = CMSType,
|
|
29
|
+
declare function PropertyFieldBindingInternal<T extends CMSType = CMSType, M extends Record<string, any> = Record<string, any>>({ propertyKey, property, context, includeDescription, underlyingValueHasChanged, disabled, tableMode, partOfArray, partOfBlock, autoFocus, }: PropertyFieldBindingProps<T, M>): ReactElement<PropertyFieldBindingProps<T, M>>;
|
|
30
30
|
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AuthController } from "../types";
|
|
2
|
+
export declare const DEFAULT_SERVER_DEV = "https://api-kdoe6pj3qq-ey.a.run.app";
|
|
3
|
+
export declare const DEFAULT_SERVER = "https://api-drplyi3b6q-ey.a.run.app";
|
|
4
|
+
export declare function useProjectLog(authController: AuthController): void;
|