@pimcore/studio-ui-bundle 2026.1.6 → 2026.1.7
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/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/icon-selector/utils/element-icon.test.d.ts +10 -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/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/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/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/modules/element/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import React from 'react';
|
|
|
11
11
|
import { type IconProps } from '../../components/icon/icon';
|
|
12
12
|
export interface EditableEmptyPlaceholderProps {
|
|
13
13
|
text: string;
|
|
14
|
-
buttonText
|
|
14
|
+
buttonText?: string;
|
|
15
15
|
onClick: () => void;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
icon?: IconProps;
|
|
@@ -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 {};
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import React from 'react';
|
|
10
11
|
import { type Meta } from '@storybook/react';
|
|
11
12
|
declare const config: Meta;
|
|
12
13
|
export default config;
|
|
@@ -19,3 +20,30 @@ export declare const _default: {
|
|
|
19
20
|
};
|
|
20
21
|
};
|
|
21
22
|
};
|
|
23
|
+
export declare const WithDropdownItems: {
|
|
24
|
+
args: {
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
style: {
|
|
28
|
+
border: string;
|
|
29
|
+
};
|
|
30
|
+
dropdownItems: ({
|
|
31
|
+
key: string;
|
|
32
|
+
label: string;
|
|
33
|
+
icon: React.JSX.Element;
|
|
34
|
+
type?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
type: string;
|
|
37
|
+
key: string;
|
|
38
|
+
label?: undefined;
|
|
39
|
+
icon?: undefined;
|
|
40
|
+
})[];
|
|
41
|
+
};
|
|
42
|
+
parameters: {
|
|
43
|
+
docs: {
|
|
44
|
+
description: {
|
|
45
|
+
story: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -29,6 +29,14 @@ export declare const InputWithInitialValue: {
|
|
|
29
29
|
initialValue: string;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
+
export declare const InputWithWarning: {
|
|
33
|
+
args: {
|
|
34
|
+
type: string;
|
|
35
|
+
title: string;
|
|
36
|
+
label: string;
|
|
37
|
+
warningMessage: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
32
40
|
export declare const Confirmation: {
|
|
33
41
|
args: {
|
|
34
42
|
type: string;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 ModalFuncProps } from 'antd';
|
|
11
|
+
import { type Rule } from 'antd/lib/form';
|
|
12
|
+
export type ConfigUpdate = ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps);
|
|
13
|
+
export type InputFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
14
|
+
label?: string;
|
|
15
|
+
rule?: Rule;
|
|
16
|
+
initialValue?: string;
|
|
17
|
+
warningMessage?: string;
|
|
18
|
+
};
|
|
19
|
+
export type TextareaFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
20
|
+
label?: string;
|
|
21
|
+
initialValue?: string;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
};
|
|
24
|
+
export interface UploadFormModalProps extends Omit<InputFormModalProps, 'initialValues'> {
|
|
25
|
+
accept?: string;
|
|
26
|
+
}
|
|
27
|
+
export type ConfirmFormModalProps = ModalFuncProps & {
|
|
28
|
+
dontAskAgainKey?: string;
|
|
29
|
+
};
|
|
30
|
+
export interface UseFormModalHookResponse {
|
|
31
|
+
input: (props: InputFormModalProps) => {
|
|
32
|
+
destroy: () => void;
|
|
33
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
34
|
+
};
|
|
35
|
+
textarea: (props: TextareaFormModalProps) => {
|
|
36
|
+
destroy: () => void;
|
|
37
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
38
|
+
};
|
|
39
|
+
confirm: (props: ConfirmFormModalProps) => {
|
|
40
|
+
destroy: () => void;
|
|
41
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
42
|
+
};
|
|
43
|
+
upload: (props: UploadFormModalProps) => {
|
|
44
|
+
destroy: () => void;
|
|
45
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -9,45 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type ModalFuncProps } from 'antd';
|
|
12
|
-
import {
|
|
13
|
-
export type ConfigUpdate
|
|
14
|
-
export type InputFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
15
|
-
label?: string;
|
|
16
|
-
rule?: Rule;
|
|
17
|
-
initialValue?: string;
|
|
18
|
-
};
|
|
19
|
-
export type TextareaFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
20
|
-
label?: string;
|
|
21
|
-
initialValue?: string;
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
};
|
|
24
|
-
interface UploadFormModalProps extends Omit<InputFormModalProps, 'initialValues'> {
|
|
25
|
-
accept?: string;
|
|
26
|
-
}
|
|
27
|
-
export type ConfirmFormModalProps = ModalFuncProps & {
|
|
28
|
-
dontAskAgainKey?: string;
|
|
29
|
-
};
|
|
30
|
-
export interface UseFormModalHookResponse {
|
|
31
|
-
input: (props: InputFormModalProps) => {
|
|
32
|
-
destroy: () => void;
|
|
33
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
34
|
-
};
|
|
35
|
-
textarea: (props: TextareaFormModalProps) => {
|
|
36
|
-
destroy: () => void;
|
|
37
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
38
|
-
};
|
|
39
|
-
confirm: (props: ConfirmFormModalProps) => {
|
|
40
|
-
destroy: () => void;
|
|
41
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
42
|
-
};
|
|
43
|
-
upload: (props: UploadFormModalProps) => {
|
|
44
|
-
destroy: () => void;
|
|
45
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
12
|
+
import type { InputFormModalProps, TextareaFormModalProps, ConfirmFormModalProps, UseFormModalHookResponse, UploadFormModalProps } from './form-modal-types';
|
|
13
|
+
export type { ConfigUpdate, InputFormModalProps, TextareaFormModalProps, ConfirmFormModalProps, UseFormModalHookResponse } from './form-modal-types';
|
|
48
14
|
export declare function useFormModal(): UseFormModalHookResponse;
|
|
49
15
|
export declare function withInput(props: InputFormModalProps, onKeyBoardSubmit: any, onSetModalLoading: any): ModalFuncProps;
|
|
50
16
|
export declare function withTextarea(props: TextareaFormModalProps): ModalFuncProps;
|
|
51
17
|
export declare function withConfirm(props: ConfirmFormModalProps, dontAskAgainRef: React.MutableRefObject<boolean>): ModalFuncProps;
|
|
52
18
|
export declare function withUpload(props: UploadFormModalProps): ModalFuncProps;
|
|
53
|
-
export {};
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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 React from 'react';
|
|
11
|
+
import { type AnyFilterDescriptor, type FilterHostAdapter } from '../../../components/filters';
|
|
12
|
+
import { type TranslationFilterContext, type TranslationFilterContribution, type TranslationFilterQuery } from '../../../modules/translations/filters/types';
|
|
13
|
+
export declare const TranslationsAppliedFiltersProvider: React.FC<import("../../../components/filters").FiltersStoreProviderProps>, useTranslationsAppliedFilters: () => import("../../../components/filters").FiltersStore;
|
|
14
|
+
export declare const TranslationsDraftFiltersProvider: React.FC<import("../../../components/filters").FiltersStoreProviderProps>, useTranslationsDraftFilters: () => import("../../../components/filters").FiltersStore;
|
|
15
|
+
export declare const useTranslationsFilterContext: () => TranslationFilterContext;
|
|
16
|
+
export declare const translationsFilterDescriptors: ReadonlyArray<AnyFilterDescriptor<TranslationFilterContribution, TranslationFilterContext>>;
|
|
17
|
+
export declare const translationsFilterAdapter: FilterHostAdapter<TranslationFilterContribution, TranslationFilterContext, TranslationFilterQuery>;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 TranslationFilterColumn } from '../../../../modules/translations/filters/types';
|
|
11
|
+
export declare const LANGUAGE_COLUMN_FILTER_TYPE = "translationLike";
|
|
12
|
+
export declare const useTranslationFilterColumns: () => TranslationFilterColumn[];
|
|
@@ -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 TranslationFilterColumn } from '../../../../modules/translations/filters/types';
|
|
13
|
+
export interface UseTranslationsFieldFilterEditorReturn {
|
|
14
|
+
filters: FieldFiltersProps['data'];
|
|
15
|
+
onFilterChange: NonNullable<FieldFiltersProps['onChange']>;
|
|
16
|
+
columnGroups: Array<ColumnPickerGroup<TranslationFilterColumn>>;
|
|
17
|
+
handleColumnClick: (column: TranslationFilterColumn) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const useTranslationsFieldFilterEditor: () => UseTranslationsFieldFilterEditorReturn;
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
export interface TranslationColumnFilter {
|
|
12
|
+
key?: string;
|
|
13
|
+
type: string;
|
|
14
|
+
filterValue: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TranslationFilterColumn {
|
|
17
|
+
key: string;
|
|
18
|
+
label: string;
|
|
19
|
+
type: string;
|
|
20
|
+
frontendType: string;
|
|
21
|
+
}
|
|
22
|
+
export type TranslationFilterContribution = {
|
|
23
|
+
kind: 'columnFilters';
|
|
24
|
+
filters: TranslationColumnFilter[];
|
|
25
|
+
};
|
|
26
|
+
export interface TranslationFilterContext {
|
|
27
|
+
columns: TranslationFilterColumn[];
|
|
28
|
+
getType: UseDynamicTypeResolverReturnType['getType'];
|
|
29
|
+
}
|
|
30
|
+
export interface TranslationFilterQuery {
|
|
31
|
+
columnFilters?: TranslationColumnFilter[];
|
|
32
|
+
}
|
|
@@ -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 TranslationsSidebar: () => React.JSX.Element;
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import { type ElementIcon } from '../components/icon/icon';
|
|
11
|
+
export declare const looksLikeIconPath: (value: string) => boolean;
|
|
12
|
+
export declare const resolveIconString: (value: string, isKnownIcon: (name: string) => boolean, source: string) => ElementIcon | null;
|
|
11
13
|
export declare const normalizeIcon: (value: ElementIcon | string | null | undefined) => ElementIcon | null;
|
|
12
14
|
export declare const denormalizeIcon: (value: ElementIcon | string | null | undefined) => string | null;
|
|
13
15
|
export declare const normalizeLayoutTreeIcons: <T>(layout: T) => T;
|
|
@@ -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 {};
|
|
@@ -254,6 +254,7 @@ export * from '../../../core/modules/element/listing/decorators/row-selection/co
|
|
|
254
254
|
export * from '../../../core/modules/element/listing/decorators/row-selection/context-layer/provider/use-row-selection-optional';
|
|
255
255
|
export * from '../../../core/modules/element/listing/abstract/data-layer/provider/data/use-data';
|
|
256
256
|
export * from '../../../core/modules/element/listing/abstract/configuration-layer/provider/selected-columns/use-selected-columns';
|
|
257
|
+
export * from '../../../core/modules/element/listing/decorators/utils/column-configuration/context-layer/provider/selected-grid-config-id/use-selected-grid-config-id';
|
|
257
258
|
export * from '../../../core/modules/element/listing/abstract/view-layer/components/grid/grid-container';
|
|
258
259
|
export * from '../../../core/modules/element/listing/abstract/view-layer/components/sidebar/sidebar';
|
|
259
260
|
export * from '../../../core/modules/element/listing/abstract/view-layer/components/sidebar/hooks/use-sidebar-options';
|