@pimcore/studio-ui-bundle 2025.4.3 → 2025.4.4
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/app/i18n/utils/post-processors.d.ts +5 -0
- package/dist/build/types/src/core/components/icon-selector/utils/element-icon.d.ts +12 -0
- package/dist/build/types/src/core/components/panel/panel.d.ts +3 -1
- package/dist/build/types/src/core/components/tabpanel/tabpanel.d.ts +1 -1
- package/dist/build/types/src/core/modules/class-definition/class-definition-slice-enhanced.d.ts +342 -263
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/use-class-definition-get-by-id.d.ts +11 -0
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice-enhanced.d.ts +39 -38
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/areablock-types/components/draggable-areablock-type/draggable-areablock-type.d.ts +1 -2
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/areablock-types/utils/icon-fallback.d.ts +2 -5
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/components/sortable-areablock-toolbar/sortable-areablock-toolbar.d.ts +6 -4
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/block-editable/components/sortable-block-toolbar/sortable-block-toolbar.d.ts +7 -4
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/components/editable-dropzone/dropzone-content.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/components/editable-dropzone/editable-dropzone.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/components/toolstrip-drag-overlay/toolstrip-drag-overlay.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/editable-sort-context.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/hooks/use-sortable-element.d.ts +5 -4
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/utils/dom-utils.d.ts +5 -3
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/accordion/accordion.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/iframe/iframe.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/panel/panel.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/region/region.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/text/text.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/views/base-view.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/tree/tree-widget.styles.d.ts +12 -0
- package/dist/build/types/src/core/utils/normalize-icon.d.ts +14 -0
- package/dist/build/types/src/sdk/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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 { type AnyQueryHook } from 'types/react-query';
|
|
11
|
+
export declare const useClassDefinitionGetById: AnyQueryHook;
|
|
@@ -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 { type Layout } from './data-object-api-slice.gen';
|
|
10
11
|
declare const api: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, import("@reduxjs/toolkit/query").UpdateDefinitions<import("@reduxjs/toolkit/query").UpdateDefinitions<{}, "Data Objects" | "Data Object Grid", never> & {
|
|
11
12
|
dataObjectAdd: import("@reduxjs/toolkit/query").MutationDefinition<import("./data-object-api-slice.gen").DataObjectAddApiArg, 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").DataObjectAddApiResponse, "api", unknown>;
|
|
12
13
|
dataObjectBatchDelete: import("@reduxjs/toolkit/query").MutationDefinition<import("./data-object-api-slice.gen").DataObjectBatchDeleteApiArg, 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").DataObjectBatchDeleteApiResponse, "api", unknown>;
|
|
@@ -25,7 +26,7 @@ declare const api: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit
|
|
|
25
26
|
dataObjectGetAvailableGridColumnsForRelation: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetAvailableGridColumnsForRelationApiArg, 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").DataObjectGetAvailableGridColumnsForRelationApiResponse, "api", unknown>;
|
|
26
27
|
dataObjectGetGrid: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetGridApiArg, 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").DataObjectGetGridApiResponse, "api", unknown>;
|
|
27
28
|
dataObjectGetPhpcodeTransformers: import("@reduxjs/toolkit/query").QueryDefinition<void, 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").DataObjectGetPhpcodeTransformersApiResponse, "api", unknown>;
|
|
28
|
-
dataObjectGetLayoutById: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid",
|
|
29
|
+
dataObjectGetLayoutById: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Data Objects" | "Data Object Grid", Layout, "api", unknown>;
|
|
29
30
|
dataObjectPatchById: import("@reduxjs/toolkit/query").MutationDefinition<import("./data-object-api-slice.gen").DataObjectPatchByIdApiArg, 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").DataObjectPatchByIdApiResponse, "api", unknown>;
|
|
30
31
|
dataObjectPatchFolderById: import("@reduxjs/toolkit/query").MutationDefinition<import("./data-object-api-slice.gen").DataObjectPatchFolderByIdApiArg, 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").DataObjectPatchFolderByIdApiResponse, "api", unknown>;
|
|
31
32
|
dataObjectFormatPath: import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectFormatPathApiArg, 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").DataObjectFormatPathApiResponse, "api", unknown>;
|
|
@@ -1213,7 +1214,7 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1213
1214
|
startedTimeStamp?: undefined | undefined;
|
|
1214
1215
|
fulfilledTimeStamp?: undefined | undefined;
|
|
1215
1216
|
} & {
|
|
1216
|
-
currentData?:
|
|
1217
|
+
currentData?: Layout | undefined;
|
|
1217
1218
|
isUninitialized: false;
|
|
1218
1219
|
isLoading: false;
|
|
1219
1220
|
isFetching: false;
|
|
@@ -1221,8 +1222,8 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1221
1222
|
isError: false;
|
|
1222
1223
|
}, "isUninitialized"> & {
|
|
1223
1224
|
isUninitialized: true;
|
|
1224
|
-
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1225
|
-
currentData?:
|
|
1225
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1226
|
+
currentData?: Layout | undefined;
|
|
1226
1227
|
isUninitialized: false;
|
|
1227
1228
|
isLoading: false;
|
|
1228
1229
|
isFetching: false;
|
|
@@ -1232,8 +1233,8 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1232
1233
|
isLoading: true;
|
|
1233
1234
|
isFetching: boolean;
|
|
1234
1235
|
data: undefined;
|
|
1235
|
-
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1236
|
-
currentData?:
|
|
1236
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1237
|
+
currentData?: Layout | undefined;
|
|
1237
1238
|
isUninitialized: false;
|
|
1238
1239
|
isLoading: false;
|
|
1239
1240
|
isFetching: false;
|
|
@@ -1244,16 +1245,16 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1244
1245
|
isFetching: true;
|
|
1245
1246
|
error: undefined;
|
|
1246
1247
|
} & {
|
|
1247
|
-
data:
|
|
1248
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1249
|
-
currentData?:
|
|
1248
|
+
data: Layout;
|
|
1249
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1250
|
+
currentData?: Layout | undefined;
|
|
1250
1251
|
isUninitialized: false;
|
|
1251
1252
|
isLoading: false;
|
|
1252
1253
|
isFetching: false;
|
|
1253
1254
|
isSuccess: false;
|
|
1254
1255
|
isError: false;
|
|
1255
|
-
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1256
|
-
currentData?:
|
|
1256
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1257
|
+
currentData?: Layout | undefined;
|
|
1257
1258
|
isUninitialized: false;
|
|
1258
1259
|
isLoading: false;
|
|
1259
1260
|
isFetching: false;
|
|
@@ -1264,17 +1265,17 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1264
1265
|
isFetching: false;
|
|
1265
1266
|
error: undefined;
|
|
1266
1267
|
} & {
|
|
1267
|
-
data:
|
|
1268
|
-
currentData:
|
|
1269
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1270
|
-
currentData?:
|
|
1268
|
+
data: Layout;
|
|
1269
|
+
currentData: Layout;
|
|
1270
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1271
|
+
currentData?: Layout | undefined;
|
|
1271
1272
|
isUninitialized: false;
|
|
1272
1273
|
isLoading: false;
|
|
1273
1274
|
isFetching: false;
|
|
1274
1275
|
isSuccess: false;
|
|
1275
1276
|
isError: false;
|
|
1276
|
-
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1277
|
-
currentData?:
|
|
1277
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1278
|
+
currentData?: Layout | undefined;
|
|
1278
1279
|
isUninitialized: false;
|
|
1279
1280
|
isLoading: false;
|
|
1280
1281
|
isFetching: false;
|
|
@@ -1282,8 +1283,8 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1282
1283
|
isError: false;
|
|
1283
1284
|
}, "error" | "isError"> & {
|
|
1284
1285
|
isError: true;
|
|
1285
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1286
|
-
currentData?:
|
|
1286
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1287
|
+
currentData?: Layout | undefined;
|
|
1287
1288
|
isUninitialized: false;
|
|
1288
1289
|
isLoading: false;
|
|
1289
1290
|
isFetching: false;
|
|
@@ -1306,7 +1307,7 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1306
1307
|
startedTimeStamp?: undefined | undefined;
|
|
1307
1308
|
fulfilledTimeStamp?: undefined | undefined;
|
|
1308
1309
|
} & {
|
|
1309
|
-
currentData?:
|
|
1310
|
+
currentData?: Layout | undefined;
|
|
1310
1311
|
isUninitialized: false;
|
|
1311
1312
|
isLoading: false;
|
|
1312
1313
|
isFetching: false;
|
|
@@ -1314,8 +1315,8 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1314
1315
|
isError: false;
|
|
1315
1316
|
}, "isUninitialized"> & {
|
|
1316
1317
|
isUninitialized: true;
|
|
1317
|
-
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1318
|
-
currentData?:
|
|
1318
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1319
|
+
currentData?: Layout | undefined;
|
|
1319
1320
|
isUninitialized: false;
|
|
1320
1321
|
isLoading: false;
|
|
1321
1322
|
isFetching: false;
|
|
@@ -1325,8 +1326,8 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1325
1326
|
isLoading: true;
|
|
1326
1327
|
isFetching: boolean;
|
|
1327
1328
|
data: undefined;
|
|
1328
|
-
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1329
|
-
currentData?:
|
|
1329
|
+
}) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1330
|
+
currentData?: Layout | undefined;
|
|
1330
1331
|
isUninitialized: false;
|
|
1331
1332
|
isLoading: false;
|
|
1332
1333
|
isFetching: false;
|
|
@@ -1337,16 +1338,16 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1337
1338
|
isFetching: true;
|
|
1338
1339
|
error: undefined;
|
|
1339
1340
|
} & {
|
|
1340
|
-
data:
|
|
1341
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1342
|
-
currentData?:
|
|
1341
|
+
data: Layout;
|
|
1342
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1343
|
+
currentData?: Layout | undefined;
|
|
1343
1344
|
isUninitialized: false;
|
|
1344
1345
|
isLoading: false;
|
|
1345
1346
|
isFetching: false;
|
|
1346
1347
|
isSuccess: false;
|
|
1347
1348
|
isError: false;
|
|
1348
|
-
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1349
|
-
currentData?:
|
|
1349
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1350
|
+
currentData?: Layout | undefined;
|
|
1350
1351
|
isUninitialized: false;
|
|
1351
1352
|
isLoading: false;
|
|
1352
1353
|
isFetching: false;
|
|
@@ -1357,17 +1358,17 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1357
1358
|
isFetching: false;
|
|
1358
1359
|
error: undefined;
|
|
1359
1360
|
} & {
|
|
1360
|
-
data:
|
|
1361
|
-
currentData:
|
|
1362
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1363
|
-
currentData?:
|
|
1361
|
+
data: Layout;
|
|
1362
|
+
currentData: Layout;
|
|
1363
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1364
|
+
currentData?: Layout | undefined;
|
|
1364
1365
|
isUninitialized: false;
|
|
1365
1366
|
isLoading: false;
|
|
1366
1367
|
isFetching: false;
|
|
1367
1368
|
isSuccess: false;
|
|
1368
1369
|
isError: false;
|
|
1369
|
-
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1370
|
-
currentData?:
|
|
1370
|
+
}, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1371
|
+
currentData?: Layout | undefined;
|
|
1371
1372
|
isUninitialized: false;
|
|
1372
1373
|
isLoading: false;
|
|
1373
1374
|
isFetching: false;
|
|
@@ -1375,8 +1376,8 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1375
1376
|
isError: false;
|
|
1376
1377
|
}, "error" | "isError"> & {
|
|
1377
1378
|
isError: true;
|
|
1378
|
-
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1379
|
-
currentData?:
|
|
1379
|
+
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>> & {
|
|
1380
|
+
currentData?: Layout | undefined;
|
|
1380
1381
|
isUninitialized: false;
|
|
1381
1382
|
isLoading: false;
|
|
1382
1383
|
isFetching: false;
|
|
@@ -1386,6 +1387,6 @@ export declare const useDataObjectAddMutation: <R extends Record<string, any> =
|
|
|
1386
1387
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
1387
1388
|
}) => R) | undefined;
|
|
1388
1389
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1389
|
-
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string,
|
|
1390
|
+
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<import("./data-object-api-slice.gen").DataObjectGetLayoutByIdApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, string, Layout, "api", unknown>>;
|
|
1390
1391
|
};
|
|
1391
1392
|
export { api };
|
|
@@ -11,7 +11,6 @@ import React from 'react';
|
|
|
11
11
|
import { type AreablockTypeEntry } from '../../../../../../../../modules/document/document-editor-slice';
|
|
12
12
|
interface DraggableAreablockTypeProps {
|
|
13
13
|
type: AreablockTypeEntry;
|
|
14
|
-
globalIndex: number;
|
|
15
14
|
}
|
|
16
|
-
export declare const DraggableAreablockType: ({ type
|
|
15
|
+
export declare const DraggableAreablockType: ({ type }: DraggableAreablockTypeProps) => React.JSX.Element;
|
|
17
16
|
export {};
|
|
@@ -7,8 +7,5 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
import { type ElementIcon } from '../../../../../../../
|
|
11
|
-
|
|
12
|
-
* Gets the icon for an areablock type, applying fallback icon if no icon is provided
|
|
13
|
-
*/
|
|
14
|
-
export declare const getAreablockTypeIcon: (icon: string | undefined, index: number) => ElementIcon;
|
|
10
|
+
import { type ElementIcon } from '../../../../../../../components/icon/icon';
|
|
11
|
+
export declare const getAreablockTypeIcon: (icon: string | undefined) => ElementIcon;
|
|
@@ -8,16 +8,18 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { type AreablockManager } from '../../utils/areablock-manager';
|
|
12
11
|
import { type AreaType, type AreablockEditableConfig } from '../../areablock-editable';
|
|
13
12
|
export interface SortableAreablockToolbarProps {
|
|
14
13
|
id: string;
|
|
15
|
-
buttonsContainer: HTMLElement;
|
|
16
14
|
element: HTMLElement;
|
|
17
15
|
limitReached: boolean;
|
|
18
16
|
areaTypes: AreaType[];
|
|
19
17
|
config?: AreablockEditableConfig;
|
|
20
|
-
|
|
18
|
+
isFirst: boolean;
|
|
19
|
+
isLast: boolean;
|
|
20
|
+
isHidden: boolean;
|
|
21
|
+
toolbarTitle?: string;
|
|
22
|
+
hasDialogBox: boolean;
|
|
21
23
|
onAddArea: (element: HTMLElement | null, areaType?: string) => void;
|
|
22
24
|
onRemoveArea: (element: HTMLElement) => void;
|
|
23
25
|
onMoveAreaUp: (element: HTMLElement) => void;
|
|
@@ -27,4 +29,4 @@ export interface SortableAreablockToolbarProps {
|
|
|
27
29
|
isInherited?: boolean;
|
|
28
30
|
onOverwrite?: () => void;
|
|
29
31
|
}
|
|
30
|
-
export declare const SortableAreablockToolbar: (
|
|
32
|
+
export declare const SortableAreablockToolbar: (props: SortableAreablockToolbarProps) => React.JSX.Element;
|
|
@@ -8,13 +8,16 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { type BlockManager } from '../../utils/block-manager';
|
|
12
11
|
export interface SortableBlockToolbarProps {
|
|
13
12
|
id: string;
|
|
14
|
-
buttonsContainer: HTMLElement;
|
|
15
13
|
element: HTMLElement;
|
|
16
14
|
limitReached: boolean;
|
|
17
|
-
|
|
15
|
+
isFirst: boolean;
|
|
16
|
+
isLast: boolean;
|
|
17
|
+
hasPlus: boolean;
|
|
18
|
+
hasMinus: boolean;
|
|
19
|
+
hasUp: boolean;
|
|
20
|
+
hasDown: boolean;
|
|
18
21
|
onAddBlock: (element: HTMLElement | null, amount?: number) => void;
|
|
19
22
|
onRemoveBlock: (element: HTMLElement) => void;
|
|
20
23
|
onMoveBlockUp: (element: HTMLElement) => void;
|
|
@@ -22,4 +25,4 @@ export interface SortableBlockToolbarProps {
|
|
|
22
25
|
isInherited?: boolean;
|
|
23
26
|
onOverwrite?: () => void;
|
|
24
27
|
}
|
|
25
|
-
export declare const SortableBlockToolbar: (
|
|
28
|
+
export declare const SortableBlockToolbar: (props: SortableBlockToolbarProps) => React.JSX.Element;
|
|
@@ -13,4 +13,4 @@ export interface EditableDropzoneContentProps {
|
|
|
13
13
|
index?: number;
|
|
14
14
|
setNodeRef?: (element: HTMLElement | null) => void;
|
|
15
15
|
}
|
|
16
|
-
export declare const EditableDropzoneContent: ({ id, index, setNodeRef }: EditableDropzoneContentProps) => React.JSX.Element
|
|
16
|
+
export declare const EditableDropzoneContent: React.MemoExoticComponent<({ id, index, setNodeRef }: EditableDropzoneContentProps) => React.JSX.Element>;
|
|
@@ -14,4 +14,4 @@ export interface EditableDropzoneProps {
|
|
|
14
14
|
onDropItem?: (info: any, index: number) => Promise<void>;
|
|
15
15
|
isValidDrop?: (info: any) => boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare const EditableDropzone: ({ id, index, onDropItem, isValidDrop }: EditableDropzoneProps) => React.JSX.Element
|
|
17
|
+
export declare const EditableDropzone: React.MemoExoticComponent<({ id, index, onDropItem, isValidDrop }: EditableDropzoneProps) => React.JSX.Element>;
|
|
@@ -12,4 +12,4 @@ export interface ToolstripDragOverlayProps {
|
|
|
12
12
|
activeId: string | null;
|
|
13
13
|
title?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare const ToolstripDragOverlay: ({ activeId, title }: ToolstripDragOverlayProps) => React.JSX.Element
|
|
15
|
+
export declare const ToolstripDragOverlay: React.MemoExoticComponent<({ activeId, title }: ToolstripDragOverlayProps) => React.JSX.Element>;
|
|
@@ -18,4 +18,4 @@ export interface EditableSortContextProps {
|
|
|
18
18
|
onDragOver: (event: DragOverEvent) => void;
|
|
19
19
|
onDragStart: (event: DragStartEvent) => void;
|
|
20
20
|
}
|
|
21
|
-
export declare const EditableSortContext: ({ children,
|
|
21
|
+
export declare const EditableSortContext: ({ children, activeId, dragOverlayTitle, onDragEnd, onDragOver, onDragStart }: EditableSortContextProps) => React.JSX.Element;
|
|
@@ -7,16 +7,17 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
10
|
+
import { useDraggable } from '@dnd-kit/core';
|
|
11
11
|
export interface UseSortableElementProps {
|
|
12
12
|
id: string;
|
|
13
13
|
element: HTMLElement;
|
|
14
14
|
}
|
|
15
15
|
export interface UseSortableElementReturn {
|
|
16
|
-
listeners: ReturnType<typeof
|
|
16
|
+
listeners: ReturnType<typeof useDraggable>['listeners'];
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Sets up the toolbar element as a drag source. Uses `useDraggable` rather than
|
|
20
|
+
* `useSortable` because the toolbars don't move during a drag (they're portaled
|
|
21
|
+
* into static pimcore HTML) and the user only drops on dropzones.
|
|
21
22
|
*/
|
|
22
23
|
export declare const useSortableElement: ({ id, element }: UseSortableElementProps) => UseSortableElementReturn;
|
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const createDropzoneContainer: (editableName: string | null, isFirst?: boolean) => HTMLDivElement;
|
|
14
14
|
/**
|
|
15
|
-
* Updates dropzone visibility based on editable name hierarchy
|
|
15
|
+
* Updates dropzone visibility based on editable name hierarchy.
|
|
16
|
+
* Called only on drag start/end, so we don't bother caching the global query.
|
|
16
17
|
*/
|
|
17
18
|
export declare const updateDropzoneVisibility: (editableName: string | null, isDragging: boolean) => void;
|
|
18
19
|
/**
|
|
19
|
-
* Updates dropzone drag states based on active dropzone
|
|
20
|
+
* Updates dropzone drag states based on active dropzone. Hot path on dragOver —
|
|
21
|
+
* pass `cachedDropzones` to skip a per-event querySelectorAll.
|
|
20
22
|
*/
|
|
21
|
-
export declare const updateDropzoneDragStates: (container: HTMLElement | null, activeDropzoneId: string | null, isDragging: boolean) => void;
|
|
23
|
+
export declare const updateDropzoneDragStates: (container: HTMLElement | null, activeDropzoneId: string | null, isDragging: boolean, cachedDropzones?: readonly HTMLElement[]) => void;
|
|
22
24
|
export declare const removeDropzoneContainers: (container: HTMLElement | null, editableName: string | null) => void;
|
|
23
25
|
/**
|
|
24
26
|
* Updates dropzone containers before and after elements, skipping if they already exist
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface AccordionProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
title?: string;
|
|
14
15
|
border?: boolean;
|
|
15
16
|
collapsible?: boolean;
|
|
16
17
|
collapsed?: boolean;
|
|
18
|
+
icon?: ElementIcon | null;
|
|
17
19
|
}
|
|
18
|
-
export declare const Accordion: ({ children, title, border, collapsed, collapsible, noteditable }: AccordionProps) => React.JSX.Element;
|
|
20
|
+
export declare const Accordion: ({ children, title, border, collapsed, collapsible, icon, noteditable }: AccordionProps) => React.JSX.Element;
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface IframeProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
iframeUrl: string;
|
|
14
15
|
width: number;
|
|
15
16
|
height: number;
|
|
17
|
+
icon?: ElementIcon | null;
|
|
16
18
|
}
|
|
17
19
|
export declare const Iframe: (props: IframeProps) => React.JSX.Element;
|
|
@@ -9,12 +9,14 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface PanelProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
title?: string;
|
|
14
15
|
border?: boolean;
|
|
15
16
|
collapsible?: boolean;
|
|
16
17
|
collapsed?: boolean;
|
|
18
|
+
icon?: ElementIcon | null;
|
|
17
19
|
children: AbstractObjectLayoutDefinition[];
|
|
18
20
|
theme?: 'fieldset' | 'card-with-highlight';
|
|
19
21
|
}
|
|
20
|
-
export declare const Panel: ({ children, name, border, collapsed, collapsible, title, theme, noteditable, ...props }: PanelProps) => React.JSX.Element;
|
|
22
|
+
export declare const Panel: ({ children, name, border, collapsed, collapsible, title, icon, theme, noteditable, ...props }: PanelProps) => React.JSX.Element;
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
11
11
|
import React, { type ReactNode } from 'react';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface RegionProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
collapsible?: boolean;
|
|
14
15
|
collapsed?: boolean;
|
|
15
16
|
title?: ReactNode;
|
|
17
|
+
icon?: ElementIcon | null;
|
|
16
18
|
}
|
|
17
19
|
export declare enum AvailableRegions {
|
|
18
20
|
North = "north",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface TextProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
html: string;
|
|
14
15
|
title?: string;
|
|
@@ -16,5 +17,6 @@ export interface TextProps extends AbstractObjectLayoutDefinition {
|
|
|
16
17
|
collapsible?: boolean;
|
|
17
18
|
collapsed?: boolean;
|
|
18
19
|
bodyStyle?: string | null;
|
|
20
|
+
icon?: ElementIcon | null;
|
|
19
21
|
}
|
|
20
22
|
export declare const Text: (props: TextProps) => React.JSX.Element;
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AccordionViewProps } from './accordion-view';
|
|
12
12
|
import { type CardViewProps } from './card-view';
|
|
13
|
+
import { type ElementIcon } from '../../../../../../../components/icon/icon';
|
|
13
14
|
export type BaseViewProps = (CardViewProps | AccordionViewProps) & {
|
|
14
15
|
border?: boolean;
|
|
16
|
+
icon?: ElementIcon | null;
|
|
15
17
|
extra?: CardViewProps['extra'] | AccordionViewProps['extra'];
|
|
16
18
|
};
|
|
17
19
|
export declare const BaseView: ({ theme, ...props }: BaseViewProps) => React.JSX.Element;
|
|
@@ -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
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
+
treeWidget: import("antd-style").SerializedStyles;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 ElementIcon } from '../components/icon/icon';
|
|
11
|
+
export declare const normalizeIcon: (value: ElementIcon | string | null | undefined) => ElementIcon | null;
|
|
12
|
+
export declare const denormalizeIcon: (value: ElementIcon | string | null | undefined) => string | null;
|
|
13
|
+
export declare const normalizeLayoutTreeIcons: <T>(layout: T) => T;
|
|
14
|
+
export declare const denormalizeLayoutTreeIcons: <T>(layout: T) => T;
|
|
@@ -25,6 +25,7 @@ export * from '../../core/utils/relative-time';
|
|
|
25
25
|
export * from '../../core/utils/url-cache-buster';
|
|
26
26
|
export * from '../../core/utils/uuid';
|
|
27
27
|
export * from '../../core/utils/type-utils';
|
|
28
|
+
export * from '../../core/utils/normalize-icon';
|
|
28
29
|
export * from '../../core/utils/local-storage';
|
|
29
30
|
export * from '../../core/utils/css';
|
|
30
31
|
export * from '../../core/utils/hooks/use-click-outside';
|