@pimcore/data-hub 2026.1.1 → 2026.1.2
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/components/base-detail-view/components/config-toolbar/config-toolbar.d.ts +2 -1
- package/dist/build/types/components/base-detail-view/components/config-toolbar/config-toolbar.styles.d.ts +12 -0
- package/dist/build/types/modules/config/components/column-config-modal/base-column-editor.d.ts +4 -0
- package/dist/build/types/modules/config/components/column-config-modal/column-config-modal.d.ts +9 -1
- package/package.json +1 -1
package/dist/build/types/components/base-detail-view/components/config-toolbar/config-toolbar.d.ts
CHANGED
|
@@ -18,5 +18,6 @@ export interface ConfigToolbarProps {
|
|
|
18
18
|
onRefresh: () => void;
|
|
19
19
|
onDelete: () => void;
|
|
20
20
|
additionalButtons?: ReactNode[];
|
|
21
|
+
leftAdditionalContent?: ReactNode;
|
|
21
22
|
}
|
|
22
|
-
export declare function ConfigToolbar({ configName, isWriteable, isLoading, isSaving, isDirty, onSave, onRefresh, onDelete, additionalButtons }: ConfigToolbarProps): React.JSX.Element;
|
|
23
|
+
export declare function ConfigToolbar({ configName, isWriteable, isLoading, isSaving, isDirty, onSave, onRefresh, onDelete, additionalButtons, leftAdditionalContent }: ConfigToolbarProps): 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
|
+
divider: import("antd-style").SerializedStyles;
|
|
12
|
+
}>;
|
package/dist/build/types/modules/config/components/column-config-modal/base-column-editor.d.ts
CHANGED
|
@@ -21,5 +21,9 @@ export interface BaseColumnEditorProps {
|
|
|
21
21
|
sourceFieldsRegistryId: string;
|
|
22
22
|
/** Service ID of the DynamicTypePipelineRegistry to use for transformers. */
|
|
23
23
|
transformersRegistryId: string;
|
|
24
|
+
/** The currently selected preview language. When provided, the LanguageSelection is controlled externally. */
|
|
25
|
+
language?: string;
|
|
26
|
+
/** Called when the user changes the preview language inside the modal. */
|
|
27
|
+
onLanguageChange?: (language: string) => void;
|
|
24
28
|
}
|
|
25
29
|
export declare const BaseColumnEditor: React.ForwardRefExoticComponent<BaseColumnEditorProps & React.RefAttributes<ColumnEditorHandle<SchemaColumn>>>;
|
package/dist/build/types/modules/config/components/column-config-modal/column-config-modal.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ export interface EditorRenderProps<TColumns = SchemaColumn> {
|
|
|
23
23
|
hideToolbar: boolean;
|
|
24
24
|
onApply: (columns: TColumns[]) => void;
|
|
25
25
|
onCancel: () => void;
|
|
26
|
+
/** The currently persisted preview language for this entity. */
|
|
27
|
+
language?: string;
|
|
28
|
+
/** Called when the user changes the preview language so the adapter can persist it. */
|
|
29
|
+
onLanguageChange?: (language: string) => void;
|
|
26
30
|
}
|
|
27
31
|
export interface ColumnConfigModalProps<TColumns = SchemaColumn> {
|
|
28
32
|
entity: string;
|
|
@@ -42,6 +46,10 @@ export interface ColumnConfigModalProps<TColumns = SchemaColumn> {
|
|
|
42
46
|
title: string;
|
|
43
47
|
onApply: (columns: TColumns[]) => void;
|
|
44
48
|
onCancel: () => void;
|
|
49
|
+
/** The currently persisted preview language for this entity. */
|
|
50
|
+
language?: string;
|
|
51
|
+
/** Called when the user changes the preview language so the adapter can persist it. */
|
|
52
|
+
onLanguageChange?: (language: string) => void;
|
|
45
53
|
/**
|
|
46
54
|
* Render prop that returns the adapter-specific column editor element.
|
|
47
55
|
* The consumer MUST forward the `ref` to their editor component (forwardRef).
|
|
@@ -58,4 +66,4 @@ export interface ColumnConfigModalProps<TColumns = SchemaColumn> {
|
|
|
58
66
|
* migration path (MigrationModal with split view). The adapter-specific
|
|
59
67
|
* editor is injected via the `renderEditor` render prop.
|
|
60
68
|
*/
|
|
61
|
-
export declare const ColumnConfigModal: <TColumns = SchemaColumn>({ entity, classDefinitionId, columns, columnConfig, open, title, onApply, onCancel, renderEditor }: ColumnConfigModalProps<TColumns>) => React.JSX.Element;
|
|
69
|
+
export declare const ColumnConfigModal: <TColumns = SchemaColumn>({ entity, classDefinitionId, columns, columnConfig, open, title, onApply, onCancel, language, onLanguageChange, renderEditor }: ColumnConfigModalProps<TColumns>) => React.JSX.Element;
|