@pimcore/studio-ui-bundle 2026.2.0-RC1 → 2026.2.1
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/bundler/build-id.ts +79 -0
- package/bundler/package-build.cjs +145 -0
- package/dist/build/rsbuild/entrypoints.js +4 -3
- package/dist/build/rsbuild/entrypoints.js.LICENSE.txt +9 -0
- package/dist/build/types/src/core/components/accordion/accordion.stories.d.ts +13 -0
- package/dist/build/types/src/core/components/date-picker/date-picker.stories.d.ts +1 -0
- package/dist/build/types/src/core/components/editable-empty-placeholder/editable-empty-placeholder.d.ts +1 -1
- package/dist/build/types/src/core/components/editable-empty-placeholder/editable-empty-placeholder.stories.d.ts +0 -4
- package/dist/build/types/src/core/components/grid/grid.stories.d.ts +7 -0
- package/dist/build/types/src/core/{modules/data-object/listing/batch-actions/batch-actions.styles.d.ts → components/icon-selector/utils/element-icon.test.d.ts} +1 -12
- package/dist/build/types/src/core/components/image-picker/image-picker.stories.d.ts +38 -0
- package/dist/build/types/src/core/components/image-preview/image-preview.stories.d.ts +28 -0
- package/dist/build/types/src/core/components/modal/form-modal/form-modal.stories.d.ts +8 -0
- package/dist/build/types/src/core/components/modal/form-modal/hooks/form-modal-types.d.ts +47 -0
- package/dist/build/types/src/core/components/modal/form-modal/hooks/use-form-modal.d.ts +2 -37
- package/dist/build/types/src/core/lib/event-bus/event-types.d.ts +1 -0
- package/dist/build/types/src/core/modules/app/component-registry/component-config.d.ts +6 -0
- package/dist/build/types/src/core/modules/app/theme/constants/theme-algorithms.d.ts +17 -0
- package/dist/build/types/src/core/modules/app/theme/constants/theme-ids.d.ts +2 -1
- package/dist/build/types/src/core/modules/app/theme/dynamic-theme-provider.d.ts +12 -0
- package/dist/build/types/src/core/modules/app/theme/dynamic-types/definitions/studio-default-light/dynamic-type-theme-studio-default-light.d.ts +5 -7
- package/dist/build/types/src/core/modules/app/theme/dynamic-types/registry/dynamic-type-theme-registry.d.ts +11 -1
- package/dist/build/types/src/core/modules/app/theme/dynamic-types/registry/dynamic-type-theme-registry.test.d.ts +10 -0
- package/dist/build/types/src/core/modules/app/theme/theme-provider.d.ts +12 -2
- package/dist/build/types/src/core/modules/app/theme/theme-slice.d.ts +15 -0
- package/dist/build/types/src/core/modules/app/theme/theme-slice.test.d.ts +10 -0
- package/dist/build/types/src/core/modules/asset/actions/batch-delete/use-batch-delete.d.ts +13 -0
- package/dist/build/types/src/core/modules/auth/user/user-api-slice.gen.d.ts +8 -0
- package/dist/build/types/src/core/modules/data-object/actions/batch-delete/use-batch-delete.d.ts +13 -0
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice-enhanced.d.ts +1 -0
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice.gen.d.ts +194 -0
- package/dist/build/types/src/core/modules/element/actions/delete/use-batch-delete-confirm.d.ts +20 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/field-filters/utils/date-filter-transform.d.ts +27 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/row-selection/row-selection-decorator.d.ts +2 -0
- package/dist/build/types/src/core/modules/notifications/filters/filters.d.ts +17 -0
- package/dist/build/types/src/core/modules/notifications/filters/hooks/use-notifications-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/notifications/filters/types.d.ts +37 -0
- package/dist/build/types/src/core/modules/notifications/notifications-sidebar/components/filter-tab/filter-tab.d.ts +11 -0
- package/dist/build/types/src/core/modules/notifications/notifications-sidebar/notifications-sidebar.d.ts +11 -0
- package/dist/build/types/src/core/modules/recycle-bin/filters/filters.d.ts +18 -0
- package/dist/build/types/src/core/modules/recycle-bin/filters/hooks/use-recycle-bin-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/recycle-bin/filters/types.d.ts +37 -0
- package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-sidebar/components/filter-tab/filter-tab.d.ts +11 -0
- package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-sidebar/recycle-bin-sidebar.d.ts +11 -0
- package/dist/build/types/src/core/modules/translations/filters/filters.d.ts +17 -0
- package/dist/build/types/src/core/modules/translations/filters/hooks/use-translation-filter-columns.d.ts +12 -0
- package/dist/build/types/src/core/modules/translations/filters/hooks/use-translations-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/translations/filters/types.d.ts +32 -0
- package/dist/build/types/src/core/modules/translations/translations-sidebar/components/filter-tab/filter-tab.d.ts +11 -0
- package/dist/build/types/src/core/modules/translations/translations-sidebar/translations-sidebar.d.ts +11 -0
- package/dist/build/types/src/core/modules/user/management/detail/tabs/settings/components/form/appearance-branding-accordion.d.ts +30 -0
- package/dist/build/types/src/core/modules/user/user-management-slice.d.ts +9 -0
- package/dist/build/types/src/core/modules/widget-manager/services/widget-registry.d.ts +10 -0
- package/dist/build/types/src/core/modules/widget-manager/services/widget-registry.test.d.ts +10 -0
- package/dist/build/types/src/core/utils/files.d.ts +9 -0
- package/dist/build/types/src/core/utils/files.test.d.ts +10 -0
- package/dist/build/types/src/core/utils/normalize-icon.d.ts +2 -0
- package/dist/build/types/src/core/utils/normalize-icon.test.d.ts +10 -0
- package/dist/build/types/src/sdk/components/index.d.ts +4 -0
- package/dist/build/types/src/sdk/modules/app/index.d.ts +8 -0
- package/dist/build/types/src/sdk/modules/element/index.d.ts +1 -0
- package/package.json +14 -2
- /package/dist/build/types/src/core/modules/{asset/listing/batch-actions/batch-actions.styles.d.ts → element/actions/delete/use-batch-delete-confirm.styles.d.ts} +0 -0
|
@@ -8,9 +8,19 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
interface ThemeProviderProps {
|
|
11
|
+
export interface ThemeProviderProps {
|
|
12
12
|
children: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Explicit theme id override. When omitted, the theme id from the
|
|
15
|
+
* store applies (settable via setThemeId, defaults to the light theme).
|
|
16
|
+
*/
|
|
13
17
|
id?: string;
|
|
14
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Applies the currently active studio theme.
|
|
21
|
+
*
|
|
22
|
+
* Note: this component unconditionally reads the theme id from the redux
|
|
23
|
+
* store (useAppSelector) and therefore requires a react-redux Provider
|
|
24
|
+
* ancestor (e.g. the studio GlobalProvider) to be rendered.
|
|
25
|
+
*/
|
|
15
26
|
export declare const ThemeProvider: ({ children, id }: ThemeProviderProps) => React.JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type RootState } from '../../../../sdk/app';
|
|
11
|
+
export interface ThemeState {
|
|
12
|
+
themeId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const setThemeId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "theme/setThemeId">;
|
|
15
|
+
export declare const selectThemeId: (state: RootState) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export interface UseBatchDeleteReturn {
|
|
11
|
+
confirmBatchDelete: (itemIds: number[], selectedRowsData?: Record<number, any>, onFinish?: () => void) => Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export declare const useBatchDelete: () => UseBatchDeleteReturn;
|
|
@@ -282,6 +282,8 @@ export type UserInformation = {
|
|
|
282
282
|
activePerspective: string | null;
|
|
283
283
|
/** Allowed studio perspectives */
|
|
284
284
|
perspectives: PerspectiveConfig[];
|
|
285
|
+
/** Theme of the User */
|
|
286
|
+
theme: string;
|
|
285
287
|
};
|
|
286
288
|
export type UserWorkspace = {
|
|
287
289
|
/** ID of the element */
|
|
@@ -404,6 +406,8 @@ export type User = {
|
|
|
404
406
|
objectDependencies: UserObjectDependencies;
|
|
405
407
|
/** Allowed studio perspectives */
|
|
406
408
|
perspectives: PerspectiveConfig[];
|
|
409
|
+
/** Theme of the User */
|
|
410
|
+
theme: string;
|
|
407
411
|
};
|
|
408
412
|
export type User2 = {
|
|
409
413
|
/** Email of the User */
|
|
@@ -456,6 +460,8 @@ export type User2 = {
|
|
|
456
460
|
documentWorkspaces: UserWorkspace[];
|
|
457
461
|
/** Allowed studio perspectives */
|
|
458
462
|
perspectives: string[];
|
|
463
|
+
/** Theme of the User */
|
|
464
|
+
theme?: string;
|
|
459
465
|
};
|
|
460
466
|
export type UserPermission = {
|
|
461
467
|
/** AdditionalAttributes */
|
|
@@ -506,6 +512,8 @@ export type UserProfile = {
|
|
|
506
512
|
contentLanguages: object;
|
|
507
513
|
/** Key Bindings */
|
|
508
514
|
keyBindings: KeyBindingForAUser[];
|
|
515
|
+
/** Theme of the User */
|
|
516
|
+
theme?: string;
|
|
509
517
|
};
|
|
510
518
|
export declare const useUserCloneByIdMutation: <R extends Record<string, any> = ({
|
|
511
519
|
requestId?: undefined;
|
package/dist/build/types/src/core/modules/data-object/actions/batch-delete/use-batch-delete.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export interface UseBatchDeleteReturn {
|
|
11
|
+
confirmBatchDelete: (itemIds: number[], selectedRowsData?: Record<number, any>, onFinish?: () => void) => Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export declare const useBatchDelete: () => UseBatchDeleteReturn;
|
|
@@ -17,6 +17,7 @@ declare const api: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit
|
|
|
17
17
|
dataObjectGetGridPreview: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetGridPreviewApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", import("./data-object-api-slice.gen").GridColumnData, "api", unknown>;
|
|
18
18
|
dataObjectDeleteGridConfigurationByConfigurationId: import("@reduxjs/toolkit/query").MutationDefinition<import("./data-object-api-slice.gen").DataObjectDeleteGridConfigurationByConfigurationIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", import("./data-object-api-slice.gen").GridDetailedConfiguration, "api", unknown>;
|
|
19
19
|
dataObjectGetGridConfiguration: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetGridConfigurationApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", import("./data-object-api-slice.gen").GridDetailedConfiguration, "api", unknown>;
|
|
20
|
+
dataObjectListGlobalGridConfigurations: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", import("./data-object-api-slice.gen").DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>;
|
|
20
21
|
dataObjectListSavedGridConfigurations: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectListSavedGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", import("./data-object-api-slice.gen").DataObjectListSavedGridConfigurationsApiResponse, "api", unknown>;
|
|
21
22
|
dataObjectRemoveGridConfigurationAsFavorite: import("@reduxjs/toolkit/query").MutationDefinition<import("./data-object-api-slice.gen").DataObjectRemoveGridConfigurationAsFavoriteApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", unknown, "api", unknown>;
|
|
22
23
|
dataObjectSaveGridConfiguration: import("@reduxjs/toolkit/query").MutationDefinition<import("./data-object-api-slice.gen").DataObjectSaveGridConfigurationApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", import("./data-object-api-slice.gen").GridConfiguration, "api", unknown>;
|
|
@@ -8,6 +8,7 @@ declare const injectedRtkApi: import("@reduxjs/toolkit/query").Api<import("@redu
|
|
|
8
8
|
dataObjectGetGridPreview: import("@reduxjs/toolkit/query").QueryDefinition<DataObjectGetGridPreviewApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", GridColumnData, "api", unknown>;
|
|
9
9
|
dataObjectDeleteGridConfigurationByConfigurationId: import("@reduxjs/toolkit/query").MutationDefinition<DataObjectDeleteGridConfigurationByConfigurationIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", GridDetailedConfiguration, "api", unknown>;
|
|
10
10
|
dataObjectGetGridConfiguration: import("@reduxjs/toolkit/query").QueryDefinition<DataObjectGetGridConfigurationApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", GridDetailedConfiguration, "api", unknown>;
|
|
11
|
+
dataObjectListGlobalGridConfigurations: import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>;
|
|
11
12
|
dataObjectListSavedGridConfigurations: import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListSavedGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListSavedGridConfigurationsApiResponse, "api", unknown>;
|
|
12
13
|
dataObjectRemoveGridConfigurationAsFavorite: import("@reduxjs/toolkit/query").MutationDefinition<DataObjectRemoveGridConfigurationAsFavoriteApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", unknown, "api", unknown>;
|
|
13
14
|
dataObjectSaveGridConfiguration: import("@reduxjs/toolkit/query").MutationDefinition<DataObjectSaveGridConfigurationApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", GridConfiguration, "api", unknown>;
|
|
@@ -107,6 +108,15 @@ export type DataObjectGetGridConfigurationApiArg = {
|
|
|
107
108
|
/** Configuration ID */
|
|
108
109
|
configurationId?: number;
|
|
109
110
|
};
|
|
111
|
+
export type DataObjectListGlobalGridConfigurationsApiResponse =
|
|
112
|
+
/** status 200 List of globally-shared grid configurations for data objects */ {
|
|
113
|
+
totalItems: number;
|
|
114
|
+
items: GridConfiguration[];
|
|
115
|
+
};
|
|
116
|
+
export type DataObjectListGlobalGridConfigurationsApiArg = {
|
|
117
|
+
/** Class Id of the data object */
|
|
118
|
+
classId: string;
|
|
119
|
+
};
|
|
110
120
|
export type DataObjectListSavedGridConfigurationsApiResponse =
|
|
111
121
|
/** status 200 List of saved grid configurations for data objects */ {
|
|
112
122
|
totalItems: number;
|
|
@@ -2115,6 +2125,190 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
2115
2125
|
}) => R) | undefined;
|
|
2116
2126
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
2117
2127
|
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectGetGridConfigurationApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", GridDetailedConfiguration, "api", unknown>>;
|
|
2128
|
+
}, useDataObjectListGlobalGridConfigurationsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
2129
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
2130
|
+
originalArgs?: undefined | undefined;
|
|
2131
|
+
data?: undefined | undefined;
|
|
2132
|
+
error?: undefined | undefined;
|
|
2133
|
+
requestId?: undefined | undefined;
|
|
2134
|
+
endpointName?: string | undefined;
|
|
2135
|
+
startedTimeStamp?: undefined | undefined;
|
|
2136
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
2137
|
+
} & {
|
|
2138
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2139
|
+
isUninitialized: false;
|
|
2140
|
+
isLoading: false;
|
|
2141
|
+
isFetching: false;
|
|
2142
|
+
isSuccess: false;
|
|
2143
|
+
isError: false;
|
|
2144
|
+
}, "isUninitialized"> & {
|
|
2145
|
+
isUninitialized: true;
|
|
2146
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2147
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2148
|
+
isUninitialized: false;
|
|
2149
|
+
isLoading: false;
|
|
2150
|
+
isFetching: false;
|
|
2151
|
+
isSuccess: false;
|
|
2152
|
+
isError: false;
|
|
2153
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
2154
|
+
isLoading: true;
|
|
2155
|
+
isFetching: boolean;
|
|
2156
|
+
data: undefined;
|
|
2157
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2158
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2159
|
+
isUninitialized: false;
|
|
2160
|
+
isLoading: false;
|
|
2161
|
+
isFetching: false;
|
|
2162
|
+
isSuccess: false;
|
|
2163
|
+
isError: false;
|
|
2164
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess"> & {
|
|
2165
|
+
isSuccess: true;
|
|
2166
|
+
isFetching: true;
|
|
2167
|
+
error: undefined;
|
|
2168
|
+
} & {
|
|
2169
|
+
data: DataObjectListGlobalGridConfigurationsApiResponse;
|
|
2170
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2171
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2172
|
+
isUninitialized: false;
|
|
2173
|
+
isLoading: false;
|
|
2174
|
+
isFetching: false;
|
|
2175
|
+
isSuccess: false;
|
|
2176
|
+
isError: false;
|
|
2177
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2178
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2179
|
+
isUninitialized: false;
|
|
2180
|
+
isLoading: false;
|
|
2181
|
+
isFetching: false;
|
|
2182
|
+
isSuccess: false;
|
|
2183
|
+
isError: false;
|
|
2184
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
2185
|
+
isSuccess: true;
|
|
2186
|
+
isFetching: false;
|
|
2187
|
+
error: undefined;
|
|
2188
|
+
} & {
|
|
2189
|
+
data: DataObjectListGlobalGridConfigurationsApiResponse;
|
|
2190
|
+
currentData: DataObjectListGlobalGridConfigurationsApiResponse;
|
|
2191
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2192
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2193
|
+
isUninitialized: false;
|
|
2194
|
+
isLoading: false;
|
|
2195
|
+
isFetching: false;
|
|
2196
|
+
isSuccess: false;
|
|
2197
|
+
isError: false;
|
|
2198
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2199
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2200
|
+
isUninitialized: false;
|
|
2201
|
+
isLoading: false;
|
|
2202
|
+
isFetching: false;
|
|
2203
|
+
isSuccess: false;
|
|
2204
|
+
isError: false;
|
|
2205
|
+
}, "error" | "isError"> & {
|
|
2206
|
+
isError: true;
|
|
2207
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2208
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2209
|
+
isUninitialized: false;
|
|
2210
|
+
isLoading: false;
|
|
2211
|
+
isFetching: false;
|
|
2212
|
+
isSuccess: false;
|
|
2213
|
+
isError: false;
|
|
2214
|
+
}, "error">>)> & {
|
|
2215
|
+
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
2216
|
+
}>(arg: typeof import("@reduxjs/toolkit/query").skipToken | DataObjectListGlobalGridConfigurationsApiArg, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
2217
|
+
skip?: boolean;
|
|
2218
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
2219
|
+
} & {
|
|
2220
|
+
skip?: boolean;
|
|
2221
|
+
selectFromResult?: ((state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
2222
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
2223
|
+
originalArgs?: undefined | undefined;
|
|
2224
|
+
data?: undefined | undefined;
|
|
2225
|
+
error?: undefined | undefined;
|
|
2226
|
+
requestId?: undefined | undefined;
|
|
2227
|
+
endpointName?: string | undefined;
|
|
2228
|
+
startedTimeStamp?: undefined | undefined;
|
|
2229
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
2230
|
+
} & {
|
|
2231
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2232
|
+
isUninitialized: false;
|
|
2233
|
+
isLoading: false;
|
|
2234
|
+
isFetching: false;
|
|
2235
|
+
isSuccess: false;
|
|
2236
|
+
isError: false;
|
|
2237
|
+
}, "isUninitialized"> & {
|
|
2238
|
+
isUninitialized: true;
|
|
2239
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2240
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2241
|
+
isUninitialized: false;
|
|
2242
|
+
isLoading: false;
|
|
2243
|
+
isFetching: false;
|
|
2244
|
+
isSuccess: false;
|
|
2245
|
+
isError: false;
|
|
2246
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
2247
|
+
isLoading: true;
|
|
2248
|
+
isFetching: boolean;
|
|
2249
|
+
data: undefined;
|
|
2250
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2251
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2252
|
+
isUninitialized: false;
|
|
2253
|
+
isLoading: false;
|
|
2254
|
+
isFetching: false;
|
|
2255
|
+
isSuccess: false;
|
|
2256
|
+
isError: false;
|
|
2257
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess"> & {
|
|
2258
|
+
isSuccess: true;
|
|
2259
|
+
isFetching: true;
|
|
2260
|
+
error: undefined;
|
|
2261
|
+
} & {
|
|
2262
|
+
data: DataObjectListGlobalGridConfigurationsApiResponse;
|
|
2263
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2264
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2265
|
+
isUninitialized: false;
|
|
2266
|
+
isLoading: false;
|
|
2267
|
+
isFetching: false;
|
|
2268
|
+
isSuccess: false;
|
|
2269
|
+
isError: false;
|
|
2270
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2271
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2272
|
+
isUninitialized: false;
|
|
2273
|
+
isLoading: false;
|
|
2274
|
+
isFetching: false;
|
|
2275
|
+
isSuccess: false;
|
|
2276
|
+
isError: false;
|
|
2277
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
2278
|
+
isSuccess: true;
|
|
2279
|
+
isFetching: false;
|
|
2280
|
+
error: undefined;
|
|
2281
|
+
} & {
|
|
2282
|
+
data: DataObjectListGlobalGridConfigurationsApiResponse;
|
|
2283
|
+
currentData: DataObjectListGlobalGridConfigurationsApiResponse;
|
|
2284
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2285
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2286
|
+
isUninitialized: false;
|
|
2287
|
+
isLoading: false;
|
|
2288
|
+
isFetching: false;
|
|
2289
|
+
isSuccess: false;
|
|
2290
|
+
isError: false;
|
|
2291
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2292
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2293
|
+
isUninitialized: false;
|
|
2294
|
+
isLoading: false;
|
|
2295
|
+
isFetching: false;
|
|
2296
|
+
isSuccess: false;
|
|
2297
|
+
isError: false;
|
|
2298
|
+
}, "error" | "isError"> & {
|
|
2299
|
+
isError: true;
|
|
2300
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>> & {
|
|
2301
|
+
currentData?: DataObjectListGlobalGridConfigurationsApiResponse | undefined;
|
|
2302
|
+
isUninitialized: false;
|
|
2303
|
+
isLoading: false;
|
|
2304
|
+
isFetching: false;
|
|
2305
|
+
isSuccess: false;
|
|
2306
|
+
isError: false;
|
|
2307
|
+
}, "error">>)> & {
|
|
2308
|
+
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
2309
|
+
}) => R) | undefined;
|
|
2310
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
2311
|
+
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<DataObjectListGlobalGridConfigurationsApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", DataObjectListGlobalGridConfigurationsApiResponse, "api", unknown>>;
|
|
2118
2312
|
}, useDataObjectListSavedGridConfigurationsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
2119
2313
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
2120
2314
|
originalArgs?: undefined | undefined;
|
package/dist/build/types/src/core/modules/element/actions/delete/use-batch-delete-confirm.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
11
|
+
export interface ConfirmBatchDeleteParams {
|
|
12
|
+
elementType: ElementType;
|
|
13
|
+
itemIds: number[];
|
|
14
|
+
selectedRowsData?: Record<number, any>;
|
|
15
|
+
onOk: () => Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
export interface UseBatchDeleteConfirmReturn {
|
|
18
|
+
confirmBatchDelete: (params: ConfirmBatchDeleteParams) => Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
export declare const useBatchDeleteConfirm: () => UseBatchDeleteConfirmReturn;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type DateValue } from '../../../../../../modules/element/dynamic-types/definitions/field-filters/components/dynamic-type-field-filter-date-component';
|
|
11
|
+
export declare enum DateFilterOperator {
|
|
12
|
+
On = "on",
|
|
13
|
+
From = "from",
|
|
14
|
+
To = "to"
|
|
15
|
+
}
|
|
16
|
+
export interface DateFilterCondition {
|
|
17
|
+
operator: DateFilterOperator;
|
|
18
|
+
value: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Transforms a date field-filter value into the concrete date conditions it implies:
|
|
22
|
+
* - before → [to]
|
|
23
|
+
* - after → [from]
|
|
24
|
+
* - between → [from, to]
|
|
25
|
+
* - on → [on]
|
|
26
|
+
*/
|
|
27
|
+
export declare const transformDateFilter: (value: DateValue) => DateFilterCondition[];
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import { type ElementType } from '../../../../../types/enums/element/element-type';
|
|
10
11
|
import { type AbstractDecoratorWithRequiredConfig } from '../abstract-decorator';
|
|
11
12
|
export interface IRowSelectionDecoratorConfig {
|
|
12
13
|
rowSelectionMode: 'single' | 'multiple';
|
|
14
|
+
elementType?: ElementType;
|
|
13
15
|
}
|
|
14
16
|
export type IRowSelectionDecorator = AbstractDecoratorWithRequiredConfig<IRowSelectionDecoratorConfig>;
|
|
15
17
|
export type IRowSelectionDecoratorProps = Parameters<IRowSelectionDecorator>[0];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type AnyFilterDescriptor, type FilterHostAdapter } from '../../../components/filters';
|
|
11
|
+
import { type NotificationFilterColumn, type NotificationFilterContext, type NotificationFilterContribution, type NotificationFilterQuery } from '../../../modules/notifications/filters/types';
|
|
12
|
+
export declare const NOTIFICATION_FILTERABLE_FIELDS: NotificationFilterColumn[];
|
|
13
|
+
export declare const NotificationsAppliedFiltersProvider: import("react").FC<import("../../../components/filters").FiltersStoreProviderProps>, useNotificationsAppliedFilters: () => import("../../../components/filters").FiltersStore;
|
|
14
|
+
export declare const NotificationsDraftFiltersProvider: import("react").FC<import("../../../components/filters").FiltersStoreProviderProps>, useNotificationsDraftFilters: () => import("../../../components/filters").FiltersStore;
|
|
15
|
+
export declare const useNotificationsFilterContext: () => NotificationFilterContext;
|
|
16
|
+
export declare const notificationsFilterDescriptors: ReadonlyArray<AnyFilterDescriptor<NotificationFilterContribution, NotificationFilterContext>>;
|
|
17
|
+
export declare const notificationsFilterAdapter: FilterHostAdapter<NotificationFilterContribution, NotificationFilterContext, NotificationFilterQuery>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type FieldFiltersProps } from '../../../../components/field-filters/field-filters';
|
|
11
|
+
import { type ColumnPickerGroup } from '../../../../components/column-picker/column-picker.types';
|
|
12
|
+
import { type NotificationFilterColumn } from '../../../../modules/notifications/filters/types';
|
|
13
|
+
export interface UseNotificationsFieldFilterEditorReturn {
|
|
14
|
+
filters: FieldFiltersProps['data'];
|
|
15
|
+
onFilterChange: NonNullable<FieldFiltersProps['onChange']>;
|
|
16
|
+
columnGroups: Array<ColumnPickerGroup<NotificationFilterColumn>>;
|
|
17
|
+
handleColumnClick: (column: NotificationFilterColumn) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const useNotificationsFieldFilterEditor: () => UseNotificationsFieldFilterEditorReturn;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import type { UseDynamicTypeResolverReturnType } from '../../../modules/element/dynamic-types/resolver/hooks/use-dynamic-type-resolver';
|
|
11
|
+
import type { DateFilterOperator } from '../../../modules/element/dynamic-types/definitions/field-filters/utils/date-filter-transform';
|
|
12
|
+
export interface NotificationDateFilterValue {
|
|
13
|
+
operator: DateFilterOperator;
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
export interface NotificationColumnFilter {
|
|
17
|
+
key: string;
|
|
18
|
+
type: string;
|
|
19
|
+
filterValue: string | NotificationDateFilterValue;
|
|
20
|
+
}
|
|
21
|
+
export interface NotificationFilterColumn {
|
|
22
|
+
key: string;
|
|
23
|
+
translationKey: string;
|
|
24
|
+
type: string;
|
|
25
|
+
frontendType: string;
|
|
26
|
+
}
|
|
27
|
+
export type NotificationFilterContribution = {
|
|
28
|
+
kind: 'columnFilters';
|
|
29
|
+
filters: NotificationColumnFilter[];
|
|
30
|
+
};
|
|
31
|
+
export interface NotificationFilterContext {
|
|
32
|
+
columns: NotificationFilterColumn[];
|
|
33
|
+
getType: UseDynamicTypeResolverReturnType['getType'];
|
|
34
|
+
}
|
|
35
|
+
export interface NotificationFilterQuery {
|
|
36
|
+
columnFilters?: NotificationColumnFilter[];
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const FilterTab: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const NotificationsSidebar: () => React.JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type AnyFilterDescriptor, type FilterHostAdapter } from '../../../components/filters';
|
|
12
|
+
import { type RecycleBinFilterColumn, type RecycleBinFilterContext, type RecycleBinFilterContribution, type RecycleBinFilterQuery } from '../../../modules/recycle-bin/filters/types';
|
|
13
|
+
export declare const RECYCLE_BIN_FILTERABLE_FIELDS: RecycleBinFilterColumn[];
|
|
14
|
+
export declare const RecycleBinAppliedFiltersProvider: React.FC<import("../../../components/filters").FiltersStoreProviderProps>, useRecycleBinAppliedFilters: () => import("../../../components/filters").FiltersStore;
|
|
15
|
+
export declare const RecycleBinDraftFiltersProvider: React.FC<import("../../../components/filters").FiltersStoreProviderProps>, useRecycleBinDraftFilters: () => import("../../../components/filters").FiltersStore;
|
|
16
|
+
export declare const useRecycleBinFilterContext: () => RecycleBinFilterContext;
|
|
17
|
+
export declare const recycleBinFilterDescriptors: ReadonlyArray<AnyFilterDescriptor<RecycleBinFilterContribution, RecycleBinFilterContext>>;
|
|
18
|
+
export declare const recycleBinFilterAdapter: FilterHostAdapter<RecycleBinFilterContribution, RecycleBinFilterContext, RecycleBinFilterQuery>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type FieldFiltersProps } from '../../../../components/field-filters/field-filters';
|
|
11
|
+
import { type ColumnPickerGroup } from '../../../../components/column-picker/column-picker.types';
|
|
12
|
+
import { type RecycleBinFilterColumn } from '../../../../modules/recycle-bin/filters/types';
|
|
13
|
+
export interface UseRecycleBinFieldFilterEditorReturn {
|
|
14
|
+
filters: FieldFiltersProps['data'];
|
|
15
|
+
onFilterChange: NonNullable<FieldFiltersProps['onChange']>;
|
|
16
|
+
columnGroups: Array<ColumnPickerGroup<RecycleBinFilterColumn>>;
|
|
17
|
+
handleColumnClick: (column: RecycleBinFilterColumn) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const useRecycleBinFieldFilterEditor: () => UseRecycleBinFieldFilterEditorReturn;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import type { UseDynamicTypeResolverReturnType } from '../../../modules/element/dynamic-types/resolver/hooks/use-dynamic-type-resolver';
|
|
11
|
+
import type { DateFilterOperator } from '../../../modules/element/dynamic-types/definitions/field-filters/utils/date-filter-transform';
|
|
12
|
+
export interface RecycleBinDateFilterValue {
|
|
13
|
+
operator: DateFilterOperator;
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
export interface RecycleBinColumnFilter {
|
|
17
|
+
key: string;
|
|
18
|
+
type: string;
|
|
19
|
+
filterValue: string | RecycleBinDateFilterValue;
|
|
20
|
+
}
|
|
21
|
+
export interface RecycleBinFilterColumn {
|
|
22
|
+
key: string;
|
|
23
|
+
translationKey: string;
|
|
24
|
+
type: string;
|
|
25
|
+
frontendType: string;
|
|
26
|
+
}
|
|
27
|
+
export type RecycleBinFilterContribution = {
|
|
28
|
+
kind: 'columnFilters';
|
|
29
|
+
filters: RecycleBinColumnFilter[];
|
|
30
|
+
};
|
|
31
|
+
export interface RecycleBinFilterContext {
|
|
32
|
+
columns: RecycleBinFilterColumn[];
|
|
33
|
+
getType: UseDynamicTypeResolverReturnType['getType'];
|
|
34
|
+
}
|
|
35
|
+
export interface RecycleBinFilterQuery {
|
|
36
|
+
columnFilters?: RecycleBinColumnFilter[];
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const FilterTab: () => React.JSX.Element;
|
package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-sidebar/recycle-bin-sidebar.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const RecycleBinSidebar: () => React.JSX.Element;
|