@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
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
* i18next post-processor that returns the key if the translation value is empty
|
|
12
12
|
* Used consistently across main app and iframe i18n setup
|
|
13
13
|
*/
|
|
14
|
+
export declare const createDebugTranslationsProcessor: (getDebugMode: () => boolean) => {
|
|
15
|
+
type: "postProcessor";
|
|
16
|
+
name: string;
|
|
17
|
+
process: (value: string, key: string | string[]) => string;
|
|
18
|
+
};
|
|
14
19
|
export declare const returnKeyIfEmptyProcessor: {
|
|
15
20
|
type: "postProcessor";
|
|
16
21
|
name: string;
|
|
@@ -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 ElementIcon } from '../../../modules/asset/asset-api-slice.gen';
|
|
11
|
+
export declare const toElementIcon: (input: ElementIcon | string | null | undefined) => ElementIcon | undefined;
|
|
12
|
+
export declare const toIconString: (input: ElementIcon | string | null | undefined) => string;
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React, { type ReactNode } from 'react';
|
|
11
11
|
import { type BoxProps } from '../../components/box/box';
|
|
12
|
+
import { type ElementIcon } from '../../components/icon/icon';
|
|
12
13
|
import { type CollapseProps } from 'antd';
|
|
13
14
|
export interface PanelProps {
|
|
14
15
|
title?: ReactNode;
|
|
15
16
|
tooltip?: ReactNode;
|
|
17
|
+
icon?: ElementIcon | null;
|
|
16
18
|
border?: boolean;
|
|
17
19
|
collapsible?: boolean;
|
|
18
20
|
collapsed?: boolean;
|
|
@@ -25,4 +27,4 @@ export interface PanelProps {
|
|
|
25
27
|
extraPosition?: 'start' | 'end';
|
|
26
28
|
contentPadding?: BoxProps['padding'];
|
|
27
29
|
}
|
|
28
|
-
export declare const Panel: ({ children, name, border, collapsed, active, onChange, collapsible, title, tooltip, theme, extra, extraPosition, contentPadding }: PanelProps) => React.JSX.Element;
|
|
30
|
+
export declare const Panel: ({ children, name, border, collapsed, active, onChange, collapsible, title, tooltip, icon, theme, extra, extraPosition, contentPadding }: PanelProps) => React.JSX.Element;
|
|
@@ -12,7 +12,7 @@ import { type ITabsProps } from '../../components/tabs/tabs';
|
|
|
12
12
|
import { type BoxProps } from '../box/box';
|
|
13
13
|
export interface TabpanelItem {
|
|
14
14
|
key?: string;
|
|
15
|
-
label?:
|
|
15
|
+
label?: React.ReactNode;
|
|
16
16
|
title?: string;
|
|
17
17
|
closable?: boolean;
|
|
18
18
|
children?: React.ReactNode;
|