@pimcore/studio-ui-bundle 2026.3.1 → 2026.3.2-canary.20261007-081858-18beac3
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/form/controls/keyed-list/hooks/use-commit-keyed-list-default.d.ts +28 -0
- package/dist/build/types/src/core/components/form/controls/keyed-list/hooks/use-commit-keyed-list-default.test.d.ts +10 -0
- package/dist/build/types/src/core/modules/data-object/listing/decorator/column-configuration/view-layer/components/grid/hooks/use-grid-options/tabs/grid-config/forms/advanced-column-form/preview/preview-loader.test.d.ts +10 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/trim/trim.test.d.ts +10 -0
- package/dist/build/types/src/core/modules/element/listing/batch-actions/get-export-columns.d.ts +17 -0
- package/dist/build/types/src/core/modules/element/listing/batch-actions/get-export-columns.test.d.ts +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* Commits `value` into `field` of the enclosing keyed-list once, via a real (non-initial)
|
|
12
|
+
* `operations.update` call, instead of relying on the field's antd `Form.Item initialValue`.
|
|
13
|
+
*
|
|
14
|
+
* `Form.Item initialValue` IS registered in the keyed-list store on mount (KeyedFormItemControl
|
|
15
|
+
* calls `operations.update(name, initialValue, true)`), but with `isInitialValue: true`
|
|
16
|
+
* KeyedList also folds the value into its own baseline and skips the parent-form propagation —
|
|
17
|
+
* so an untouched pre-selected/default value never reaches the outer form store and silently
|
|
18
|
+
* disappears from the saved config. See pimcore/platform-version#296, fixed for the "Simple
|
|
19
|
+
* Field" source field with this same idiom; this hook generalizes it so every dynamic-type
|
|
20
|
+
* component with a defaulted field (e.g. a transformer's pre-selected mode) can use it — a
|
|
21
|
+
* pipeline item added and left untouched must still save with a complete config.
|
|
22
|
+
*
|
|
23
|
+
* A field that already has a value — loaded from a saved config, or set by the user — is left
|
|
24
|
+
* untouched, and `value === undefined` is a no-op (nothing committed, nothing cleared).
|
|
25
|
+
* The value is read through `operations.getValue`, so the host does not re-render on every
|
|
26
|
+
* change of the list.
|
|
27
|
+
*/
|
|
28
|
+
export declare const useCommitKeyedListDefault: (field: string, value: unknown) => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,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 {};
|
package/dist/build/types/src/core/modules/element/listing/batch-actions/get-export-columns.d.ts
ADDED
|
@@ -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 GridColumnRequest } from '../../../../../sdk/api/asset';
|
|
11
|
+
import { type SelectedColumn } from '../../../../modules/element/listing/abstract/configuration-layer/provider/selected-columns/selected-columns-provider';
|
|
12
|
+
/**
|
|
13
|
+
* Picks the grid request columns that are selected for export, keeping their order.
|
|
14
|
+
* Every column is exported under the selected column's own key: the backend names the export header after it,
|
|
15
|
+
* and export rows are positional, so advanced columns sharing the 'advanced' key keep their own values.
|
|
16
|
+
*/
|
|
17
|
+
export declare const getExportColumns: (columns: GridColumnRequest[], selectedColumns: SelectedColumn[]) => GridColumnRequest[];
|
package/dist/build/types/src/core/modules/element/listing/batch-actions/get-export-columns.test.d.ts
ADDED
|
@@ -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 {};
|