@pimcore/studio-ui-bundle 1.0.0-canary.20251201-140701-0a150b8 → 1.0.0-canary.20251202-081822-ec502e8
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/build/types/src/core/modules/element/actions/publish/use-publish.d.ts +2 -2
- package/dist/build/types/src/core/modules/element/actions/rename/use-rename.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/actions/unpublish/use-unpublish.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/listing/decorators/sorting/data-layer/with-sorting-data-query-arg.d.ts +5 -0
- package/dist/build/types/src/sdk/modules/element/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import { type TreeNodeProps } from '../../../../components/element-tree/node/tre
|
|
|
12
12
|
import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
13
13
|
import { type Element } from '../../element-helper';
|
|
14
14
|
export interface PublishHookReturn {
|
|
15
|
-
publishTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
16
|
-
publishNode: (node: TreeNodeProps | Element) => void;
|
|
15
|
+
publishTreeContextMenuItem: (node: TreeNodeProps, onFinish?: () => void) => ItemType;
|
|
16
|
+
publishNode: (node: TreeNodeProps | Element, onFinish?: () => void) => void;
|
|
17
17
|
}
|
|
18
18
|
export declare const usePublish: (elementType: ElementType) => PublishHookReturn;
|
|
@@ -13,7 +13,7 @@ import type { TreeNodeProps } from '../../../../components/element-tree/node/tre
|
|
|
13
13
|
import { type Element } from '../../../../modules/element/element-helper';
|
|
14
14
|
export interface UseRenameHookReturn {
|
|
15
15
|
rename: (parentId: number, currentLabel: string) => void;
|
|
16
|
-
renameTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
16
|
+
renameTreeContextMenuItem: (node: TreeNodeProps, onFinish?: (newName: string) => void) => ItemType;
|
|
17
17
|
renameContextMenuItem: (node: Element, onFinish?: () => void) => ItemType;
|
|
18
18
|
renameGridContextMenuItem: (row: any) => ItemType | undefined;
|
|
19
19
|
renameMutation: (parentId: number, value: string) => Promise<void>;
|
|
@@ -14,7 +14,7 @@ import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
|
14
14
|
import { type Document } from '../../../../modules/document/document-api-slice.gen';
|
|
15
15
|
type Element = DataObject | Document;
|
|
16
16
|
export interface UseUnpublishHookReturn {
|
|
17
|
-
unpublishTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
17
|
+
unpublishTreeContextMenuItem: (node: TreeNodeProps, onFinish?: () => void) => ItemType;
|
|
18
18
|
unpublishContextMenuItem: (node: Element, onFinish?: () => void) => ItemType;
|
|
19
19
|
unpublishTreeNode: (node: TreeNodeProps | Element, onFinish?: () => void) => void;
|
|
20
20
|
}
|
|
@@ -8,4 +8,9 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import { type AbstractDecoratorProps } from '../../../../../../modules/element/listing/decorators/abstract-decorator';
|
|
11
|
+
export interface SortingFilter {
|
|
12
|
+
key: string;
|
|
13
|
+
locale?: string;
|
|
14
|
+
direction: 'asc' | 'desc';
|
|
15
|
+
}
|
|
11
16
|
export declare const withSortingDataQueryArg: (useBaseHook: AbstractDecoratorProps["useDataQueryHelper"]) => AbstractDecoratorProps["useDataQueryHelper"];
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export * from '../../../core/modules/element/actions/add-folder/use-add-folder';
|
|
11
11
|
export * from '../../../core/modules/element/actions/copy-paste/use-copy-paste';
|
|
12
|
+
export * from '../../../core/modules/element/actions/copy-paste/tree-copy-paste-context';
|
|
12
13
|
export * from '../../../core/modules/element/actions/delete/use-delete';
|
|
13
14
|
export * from '../../../core/modules/element/actions/delete-draft/use-delete-draft';
|
|
14
15
|
export * from '../../../core/modules/element/actions/locate-in-tree/use-locate-in-tree';
|