@pimcore/studio-ui-bundle 2026.1.5 → 2026.1.6
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/api/pimcore/tags.d.ts +27 -2
- package/dist/build/types/src/core/app/config/services/service-ids.d.ts +1 -1
- package/dist/build/types/src/core/app/public-api/document/document-api.d.ts +7 -0
- package/dist/build/types/src/core/app/public-api/document-editor-iframe/editable-data/editable-data.d.ts +8 -0
- package/dist/build/types/src/core/bootstrap.d.ts +2 -0
- package/dist/build/types/src/core/components/asset-target/asset-target.d.ts +4 -1
- package/dist/build/types/src/core/components/block/block-item.d.ts +0 -1
- package/dist/build/types/src/core/components/column-picker/column-picker-popover.d.ts +35 -0
- package/dist/build/types/src/core/components/column-picker/column-picker.d.ts +34 -0
- package/dist/build/types/src/core/components/column-picker/column-picker.stories.d.ts +17 -0
- package/dist/build/types/src/core/components/column-picker/column-picker.styles.d.ts +22 -0
- package/dist/build/types/src/core/components/column-picker/column-picker.types.d.ts +33 -0
- package/dist/build/types/src/core/components/element-tree/element-tree-slice.d.ts +6 -1
- package/dist/build/types/src/core/components/filters/adapter.d.ts +16 -0
- package/dist/build/types/src/core/components/filters/define-filter.d.ts +11 -0
- package/dist/build/types/src/core/components/filters/index.d.ts +16 -0
- package/dist/build/types/src/core/components/filters/query/compose-query.d.ts +11 -0
- package/dist/build/types/src/core/components/filters/store/create-filters-store.d.ts +32 -0
- package/dist/build/types/src/core/components/filters/store/use-draft-sync.d.ts +12 -0
- package/dist/build/types/src/core/components/filters/types.d.ts +30 -0
- package/dist/build/types/src/core/components/filters/view/filters-renderer.d.ts +19 -0
- package/dist/build/types/src/core/components/form/controls/keyed-list/keyed-list.test.d.ts +10 -0
- package/dist/build/types/src/core/components/form/controls/keyed-list/provider/keyed-list/keyed-list-provider.d.ts +12 -3
- package/dist/build/types/src/core/components/form/controls/keyed-list/provider/keyed-list/use-keyed-list-value.d.ts +14 -0
- package/dist/build/types/src/core/components/form/controls/keyed-list/provider/keyed-list/use-keyed-list.d.ts +5 -1
- package/dist/build/types/src/core/components/form/controls/numbered-list/numbered-list.test.d.ts +10 -0
- package/dist/build/types/src/core/components/form/controls/numbered-list/provider/numbered-list/numbered-list-provider.d.ts +13 -3
- package/dist/build/types/src/core/components/form/controls/numbered-list/provider/numbered-list/use-numbered-list-value.d.ts +14 -0
- package/dist/build/types/src/core/components/form/controls/numbered-list/provider/numbered-list/use-numbered-list.d.ts +6 -1
- package/dist/build/types/src/core/components/formatted-date-time/formatted-date-time.d.ts +1 -0
- package/dist/build/types/src/core/components/header/header.d.ts +9 -1
- package/dist/build/types/src/core/components/header/header.stories.d.ts +19 -0
- package/dist/build/types/src/core/components/header/header.styles.d.ts +1 -0
- package/dist/build/types/src/core/components/modal/window-modal/window-modal.styles.d.ts +1 -0
- package/dist/build/types/src/core/components/modal-upload/modal-upload.d.ts +2 -0
- package/dist/build/types/src/core/components/preview-card/preview-card.d.ts +1 -1
- package/dist/build/types/src/core/components/preview-card/preview-card.styles.d.ts +3 -3
- package/dist/build/types/src/core/components/tag/tag.d.ts +1 -0
- package/dist/build/types/src/core/components/tag/tag.stories.d.ts +15 -0
- package/dist/build/types/src/core/components/tag/tag.styles.d.ts +1 -0
- package/dist/build/types/src/core/components/toolbar/toolbar.d.ts +1 -1
- package/dist/build/types/src/core/components/toolbar/toolbar.stories.d.ts +2 -3
- package/dist/build/types/src/core/components/tree-element/tree-element-item.d.ts +1 -4
- package/dist/build/types/src/core/components/users-roles-dropdown/users-roles-dropdown.d.ts +11 -10
- package/dist/build/types/src/core/components/users-roles-dropdown/users-roles-dropdown.styles.d.ts +2 -1
- package/dist/build/types/src/core/modules/app/app-view.d.ts +4 -1
- package/dist/build/types/src/core/modules/app/context-menu-registry/context-menu-config.d.ts +1 -0
- package/dist/build/types/src/core/modules/app/theme/constants/theme-ids.d.ts +0 -1
- package/dist/build/types/src/core/modules/app/theme/dynamic-types/definitions/studio-default-light/dynamic-type-theme-studio-default-light.d.ts +9 -0
- package/dist/build/types/src/core/modules/app/theme/utils/theme-from-url.d.ts +21 -0
- package/dist/build/types/src/core/modules/app/translations/translations-api-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/asset/asset-api-slice-enhanced.d.ts +185 -0
- package/dist/build/types/src/core/modules/asset/asset-api-slice.gen.d.ts +217 -0
- package/dist/build/types/src/core/modules/asset/editor/types/folder/tab-manager/tabs/preview/card/preview-card-container.d.ts +3 -1
- package/dist/build/types/src/core/modules/asset/listing/decorator/column-configuration/view-layer/components/sidebar/tabs/grid-config/views/edit-view.d.ts +5 -1
- package/dist/build/types/src/core/modules/auth/user/user-api-slice.gen.d.ts +2 -2
- package/dist/build/types/src/core/modules/class-definition/class-definition-slice-enhanced.d.ts +2 -2
- package/dist/build/types/src/core/modules/class-definition/class-definition-slice.gen.d.ts +40 -18
- package/dist/build/types/src/core/modules/data-object/actions/open-preview-in-new-window/use-open-preview-in-new-window.d.ts +15 -0
- package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice.gen.d.ts +5 -0
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice-enhanced.d.ts +1352 -0
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice.gen.d.ts +36 -1
- package/dist/build/types/src/core/modules/data-object/listing/decorator/class-definition-selection/context-layer/provider/class-definition-selection-provider.d.ts +2 -4
- package/dist/build/types/src/core/modules/data-object/listing/decorator/column-configuration/view-layer/components/grid/hooks/use-grid-options/tabs/grid-config/grid-config-modal.styles.d.ts +17 -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/views/edit-view.d.ts +5 -1
- package/dist/build/types/src/core/modules/data-object/unit-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/document/actions/highlight-editables/highlight-editables-button.d.ts +11 -0
- package/dist/build/types/src/core/modules/document/actions/highlight-editables/highlight-editables-button.styles.d.ts +17 -0
- package/dist/build/types/src/core/modules/document/document-editor-slice.d.ts +26 -1
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/sidebar-definitions.d.ts +2 -1
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/hooks/use-document-editor.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/components/edit-lock-warning/edit-lock-warning.d.ts +21 -0
- package/dist/build/types/src/core/modules/element/components/edit-lock-warning/edit-lock-warning.styles.d.ts +15 -0
- 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 +3 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/hooks/use-areablock-clipboard.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/hooks/use-areablock-controls.d.ts +4 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/hooks/use-areablock-editable.d.ts +3 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/utils/areablock-clipboard.d.ts +23 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/utils/areablock-utils.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/{inheritance-overlay/inheritance-overlay.d.ts → editable-overlay/editable-overlay.d.ts} +2 -2
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/{inheritance-overlay/inheritance-overlay.styles.d.ts → editable-overlay/editable-overlay.styles.d.ts} +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/editable-overlay/use-highlight-editables.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/image-editable/hooks/use-image-value-updates.d.ts +4 -2
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/image-editable/hotspot-image-preview.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/image-editable/image-editable-preview.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/video-editable/video-editable.d.ts +2 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/video-editable/video-editable.styles.d.ts +3 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/responsive-asset-preview/responsive-asset-preview.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-video.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/components/date-time/date-time-cell.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/classification-store/components/classification-store-modal/classification-store-modal.d.ts +9 -2
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/classification-store/components/classification-store-modal/components/classification-store-data-tab/classification-store-callback-tab.d.ts +2 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/classification-store/components/classification-store-modal/tabs/group-by-key/group-by-key-tab.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/video/footer.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/video/video.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/source-fields/classification-store/classification-store-field-picker-provider.d.ts +39 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/source-fields/classification-store/classification-store-field-utils.d.ts +22 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/source-fields/classification-store/classification-store-value-control.d.ts +44 -0
- package/dist/build/types/src/core/modules/element/element-api-slice-enhanced.d.ts +503 -0
- package/dist/build/types/src/core/modules/element/element-api-slice.gen.d.ts +547 -1
- package/dist/build/types/src/core/modules/element/export-api-slice.gen.d.ts +16 -4
- package/dist/build/types/src/core/modules/element/hooks/use-edit-lock.d.ts +23 -0
- package/dist/build/types/src/core/modules/element/listing/abstract/configuration-layer/provider/selected-columns/selected-columns-provider.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/context-layer/provider/unreferenced-filter/unreferenced-filter-provider.d.ts +20 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/context-layer/provider/unreferenced-filter/use-unreferenced-filter.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/data-layer/with-general-filters-query-arg.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/build-element-filter-query.d.ts +11 -0
- package/dist/build/types/src/core/modules/{app/theme/dynamic-types/definitions/studio-default-dark/dynamic-type-theme-studio-default-dark.d.ts → element/listing/decorators/general-filters/element-filters/definitions/direct-children-filter.d.ts} +2 -6
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/definitions/field-filters-filter.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/definitions/index.d.ts +18 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/definitions/pql-filter.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/definitions/search-term-filter.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/definitions/unreferenced-filter.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/element-filter-setup.d.ts +13 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/element-filter-types.d.ts +38 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/index.d.ts +15 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/stores.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/element-filters/use-element-filter-values.d.ts +28 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/general-filters-decorator.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/view-layer/components/sidebar/tabs/filters/field-filters/use-field-filter-editor.d.ts +24 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/view-layer/components/sidebar/tabs/filters/provider/filter-provider/filter-provider.d.ts +3 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/context-layer/provider/available-columns/available-columns-provider.d.ts +13 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/prepare-grid-config-column.d.ts +17 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/view-layer/components/add-column-controls/add-column-controls.d.ts +36 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/view-layer/components/fields-to-add-panel/fields-to-add-panel.d.ts +29 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/view-layer/components/fields-to-add-panel/fields-to-add-panel.styles.d.ts +17 -0
- package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/view-layer/hooks/use-scroll-into-view-on-append.d.ts +21 -0
- package/dist/build/types/src/core/modules/element/services/edit-lock-gate.d.ts +16 -0
- package/dist/build/types/src/core/modules/execution-engine/execution-engine-api-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/ownership-management/ownership-delete-job.d.ts +31 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/ownership-management/ownership-reassign-owner-job.d.ts +33 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/unsaved-changes-provider.d.ts +35 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/general-settings-provider.d.ts +1 -0
- package/dist/build/types/src/core/modules/field-definitions/utils/layout-provider-factory.d.ts +2 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-api-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/notes-and-events/filters/filters.d.ts +18 -0
- package/dist/build/types/src/core/modules/notes-and-events/filters/helpers.d.ts +12 -0
- package/dist/build/types/src/core/modules/notes-and-events/filters/hooks/use-notes-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/notes-and-events/filters/types.d.ts +47 -0
- package/dist/build/types/src/core/modules/notes-and-events/hooks/use-global-notes-and-events.d.ts +0 -1
- package/dist/build/types/src/core/modules/{reports/reports-view/components/report-sidebar/components/columns-filters/components/field-filters/field-filters.d.ts → notes-and-events/notes-and-events-sidebar/components/search-filter-tab/search-filters-tab.d.ts} +1 -1
- package/dist/build/types/src/core/modules/{element/listing/decorators/general-filters/view-layer/components/sidebar/tabs/filters/field-filters/field-filters-container.d.ts → notes-and-events/notes-and-events-sidebar/notes-and-events-sidebar.d.ts} +1 -1
- package/dist/build/types/src/core/modules/notes-and-events/{table → notes-and-events-view/components/table}/table.d.ts +1 -1
- package/dist/build/types/src/core/modules/notifications/notifications-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/ownership-management/components/batch-actions/batch-actions.d.ts +15 -0
- package/dist/build/types/src/core/modules/ownership-management/components/reassign-owner-modal/reassign-owner-modal.d.ts +17 -0
- package/dist/build/types/src/core/modules/ownership-management/components/row-selection-total/row-selection-total.d.ts +11 -0
- package/dist/build/types/src/core/modules/ownership-management/components/table/table.d.ts +20 -0
- package/dist/build/types/src/core/modules/ownership-management/components/table/table.styles.d.ts +13 -0
- package/dist/build/types/src/core/modules/ownership-management/context/selected-items-context.d.ts +22 -0
- package/dist/build/types/src/core/modules/ownership-management/hooks/use-ownership-management.d.ts +16 -0
- package/dist/build/types/src/core/modules/ownership-management/index.d.ts +11 -0
- package/dist/build/types/src/core/modules/ownership-management/ownership-management-api-slice-enhanced.d.ts +705 -0
- package/dist/build/types/src/core/modules/ownership-management/ownership-management-api-slice.gen.d.ts +795 -0
- package/dist/build/types/src/core/modules/ownership-management/ownership-management-container-inner.d.ts +11 -0
- package/dist/build/types/src/core/modules/ownership-management/ownership-management-container-inner.styles.d.ts +13 -0
- package/dist/build/types/src/core/modules/ownership-management/ownership-management-container.d.ts +11 -0
- package/dist/build/types/src/core/modules/perspectives/enums/nav-permission.d.ts +1 -0
- package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-api-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/redirects/seo-api-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/reports/reports-editor/components/report-configuration/report-configuration.d.ts +1 -2
- package/dist/build/types/src/core/modules/reports/reports-editor/reports-editor.d.ts +1 -0
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-sidebar/components/columns-filters/columns-filter-descriptor.d.ts +12 -0
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-sidebar/components/columns-filters/{components/field-filters → field-filters}/helpers.d.ts +4 -4
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-sidebar/components/columns-filters/use-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-sidebar/components/filters/reports-filters.d.ts +25 -0
- package/dist/build/types/src/core/modules/search/provider/search-provider.d.ts +10 -0
- package/dist/build/types/src/core/modules/search/provider/use-search.d.ts +5 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/menu-shortcut-flyout/menu-shortcut-flyout.d.ts +17 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/menu-shortcut-flyout/menu-shortcut-flyout.styles.d.ts +17 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/saved-search-panel/saved-search-form.d.ts +34 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/saved-search-panel/saved-search-panel.d.ts +17 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/saved-search-panel/saved-search-panel.styles.d.ts +20 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/saved-search-panel/use-saved-search-meta-dirty.d.ts +30 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/saved-search-panel/use-saved-search-mutations.d.ts +34 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/saved-searches-tab/saved-searches-tab.d.ts +11 -0
- package/dist/build/types/src/core/modules/search/saved-search/components/saved-searches-tab/saved-searches-tab.styles.d.ts +16 -0
- package/dist/build/types/src/core/modules/search/saved-search/dirty/saved-search-dirty-slice.d.ts +60 -0
- package/dist/build/types/src/core/modules/search/saved-search/dirty/saved-search-dirty-tracker.d.ts +21 -0
- package/dist/build/types/src/core/modules/search/saved-search/hooks/use-open-saved-search.d.ts +22 -0
- package/dist/build/types/src/core/modules/search/saved-search/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/search/saved-search/restore/object-saved-search-restore.d.ts +15 -0
- package/dist/build/types/src/core/modules/search/saved-search/restore/saved-search-restore.d.ts +21 -0
- package/dist/build/types/src/core/modules/search/saved-search/restore/use-apply-saved-search.d.ts +17 -0
- package/dist/build/types/src/core/modules/search/saved-search/saved-search-decorator.d.ts +23 -0
- package/dist/build/types/src/core/modules/search/saved-search/utils/resolve-element-type.d.ts +18 -0
- package/dist/build/types/src/core/modules/search/saved-search/utils/to-number-array.d.ts +10 -0
- package/dist/build/types/src/core/modules/search/saved-search/view-layer/with-saved-search-sidebar-entry.d.ts +17 -0
- package/dist/build/types/src/core/modules/search/saved-search/widget/saved-search-result-widget.d.ts +21 -0
- package/dist/build/types/src/core/modules/search/saved-search/widget/saved-search-title.d.ts +17 -0
- package/dist/build/types/src/core/modules/search/saved-search/widget/saved-search-widget.d.ts +24 -0
- package/dist/build/types/src/core/modules/search/search-api-slice-enhanced.d.ts +1230 -15
- package/dist/build/types/src/core/modules/search/search-api-slice.gen.d.ts +1361 -1
- package/dist/build/types/src/core/modules/user/roles/roles-api-slice.gen.d.ts +1 -1
- package/dist/build/types/src/core/modules/website-settings/website-settings-api-slice.gen.d.ts +1 -0
- package/dist/build/types/src/core/modules/widget-manager/hooks/use-widget-manager.d.ts +3 -16
- package/dist/build/types/src/core/modules/widget-manager/services/widget-manager-action-service.d.ts +27 -0
- package/dist/build/types/src/core/modules/widget-manager/title/tab-title-container.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/title/tab-title-outer-container.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/title/tab-title-view.d.ts +1 -1
- package/dist/build/types/src/core/modules/widget-manager/widget-manager-slice.d.ts +6 -1
- package/dist/build/types/src/core/modules/widget-manager/widget-manager-view.d.ts +1 -1
- package/dist/build/types/src/core/types/components/types.d.ts +6 -0
- package/dist/build/types/src/sdk/components/index.d.ts +3 -0
- package/dist/build/types/src/sdk/modules/document/index.d.ts +8 -1
- package/dist/build/types/src/sdk/modules/widget-manager/index.d.ts +1 -0
- package/package.json +14 -6
- package/dist/build/types/src/core/modules/reports/reports-view/components/report-sidebar/components/columns-filters/context/columns-filters-context.d.ts +0 -24
- /package/dist/build/types/src/core/modules/notes-and-events/{table → notes-and-events-view/components/table}/table.styles.d.ts +0 -0
- /package/dist/build/types/src/core/modules/reports/reports-view/components/report-sidebar/components/columns-filters/{components/field-filters → field-filters}/types.d.ts +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
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 ElementType } from '../../../types/enums/element/element-type';
|
|
11
|
+
export interface UseEditLockProps {
|
|
12
|
+
id: number;
|
|
13
|
+
elementType: ElementType;
|
|
14
|
+
/** Editor dirty flag; the lock is acquired on the first clean → dirty transition. */
|
|
15
|
+
modified: boolean;
|
|
16
|
+
/** Full path of the element, shown in the conflict modal. */
|
|
17
|
+
path?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Concurrent-editing edit lock (#2318), mirroring classic UI (admin-ui-classic-bundle #724):
|
|
21
|
+
* acquire on first edit (not on open), warn when another session holds it, release on close/unload.
|
|
22
|
+
*/
|
|
23
|
+
export declare const useEditLock: ({ id, elementType, modified, path }: UseEditLockProps) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 interface UnreferencedFilterData {
|
|
12
|
+
onlyUnreferenced: boolean;
|
|
13
|
+
setOnlyUnreferenced: (onlyUnreferenced: boolean) => void;
|
|
14
|
+
}
|
|
15
|
+
export type UnreferencedFilterContextProps = UnreferencedFilterData | undefined;
|
|
16
|
+
export declare const UnreferencedFilterContext: React.Context<UnreferencedFilterContextProps>;
|
|
17
|
+
export interface UnreferencedFilterProviderProps {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare const UnreferencedFilterProvider: (props: UnreferencedFilterProviderProps) => 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
|
+
import { type UnreferencedFilterData } from './unreferenced-filter-provider';
|
|
11
|
+
export type UseUnreferencedFilterReturn = UnreferencedFilterData;
|
|
12
|
+
export declare const useUnreferencedFilter: () => UseUnreferencedFilterReturn;
|
|
@@ -8,4 +8,5 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import { type AbstractDecoratorProps } from '../../../../../../modules/element/listing/decorators/abstract-decorator';
|
|
11
|
+
export { unreferencedFilterType } from '../element-filters/definitions/unreferenced-filter';
|
|
11
12
|
export declare const withGeneralFiltersQueryArg: (useBaseHook: AbstractDecoratorProps["useDataQueryHelper"]) => AbstractDecoratorProps["useDataQueryHelper"];
|
|
@@ -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 ElementFilterQueryPart, type ElementFilterContext, type ElementListingQueryArgs } from './element-filter-types';
|
|
11
|
+
export declare const buildElementFilterQuery: (contributions: ElementFilterQueryPart[], baseArgs: ElementListingQueryArgs, context: ElementFilterContext) => ElementListingQueryArgs;
|
|
@@ -7,9 +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 {
|
|
11
|
-
export declare
|
|
12
|
-
id: string;
|
|
13
|
-
extends: string[];
|
|
14
|
-
getThemeConfig(): PimcoreThemeConfig;
|
|
15
|
-
}
|
|
10
|
+
import { type ElementFilterQueryPart, type ElementFilterContext } from '../element-filter-types';
|
|
11
|
+
export declare const directChildrenFilterDescriptor: import("../../../../../../../components/filters").FilterDescriptor<boolean, ElementFilterQueryPart, ElementFilterContext>;
|
|
@@ -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 FieldFilter } from '../../context-layer/provider/field-filters/field-filters-provider';
|
|
11
|
+
import { type ElementFilterQueryPart, type ElementFilterContext } from '../element-filter-types';
|
|
12
|
+
export declare const fieldFiltersFilterDescriptor: import("../../../../../../../components/filters").FilterDescriptor<FieldFilter[], ElementFilterQueryPart, ElementFilterContext>;
|
|
@@ -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 { type AnyFilterDescriptor } from '../../../../../../../components/filters';
|
|
11
|
+
import { type ElementFilterQueryPart, type ElementFilterContext } from '../element-filter-types';
|
|
12
|
+
import { searchTermFilterDescriptor } from './search-term-filter';
|
|
13
|
+
import { directChildrenFilterDescriptor } from './direct-children-filter';
|
|
14
|
+
import { unreferencedFilterDescriptor } from './unreferenced-filter';
|
|
15
|
+
import { pqlFilterDescriptor } from './pql-filter';
|
|
16
|
+
import { fieldFiltersFilterDescriptor } from './field-filters-filter';
|
|
17
|
+
export declare const elementFilterDefinitions: ReadonlyArray<AnyFilterDescriptor<ElementFilterQueryPart, ElementFilterContext>>;
|
|
18
|
+
export { searchTermFilterDescriptor, directChildrenFilterDescriptor, unreferencedFilterDescriptor, pqlFilterDescriptor, fieldFiltersFilterDescriptor };
|
|
@@ -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 ElementFilterQueryPart, type ElementFilterContext } from '../element-filter-types';
|
|
11
|
+
export declare const pqlFilterDescriptor: import("../../../../../../../components/filters").FilterDescriptor<string, ElementFilterQueryPart, ElementFilterContext>;
|
|
@@ -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 ElementFilterQueryPart, type ElementFilterContext } from '../element-filter-types';
|
|
11
|
+
export declare const searchTermFilterDescriptor: import("../../../../../../../components/filters").FilterDescriptor<string, ElementFilterQueryPart, ElementFilterContext>;
|
|
@@ -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 ElementFilterQueryPart, type ElementFilterContext } from '../element-filter-types';
|
|
11
|
+
export declare const unreferencedFilterType = "system.unreferenced";
|
|
12
|
+
export declare const unreferencedFilterDescriptor: import("../../../../../../../components/filters").FilterDescriptor<boolean, ElementFilterQueryPart, ElementFilterContext>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 FilterHostAdapter } from '../../../../../../components/filters';
|
|
11
|
+
import { type ElementFilterQueryPart, type ElementFilterContext, type ElementListingQueryArgs } from './element-filter-types';
|
|
12
|
+
export declare const useElementFilterContext: () => ElementFilterContext;
|
|
13
|
+
export declare const elementFilterSetup: FilterHostAdapter<ElementFilterQueryPart, ElementFilterContext, ElementListingQueryArgs>;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ColumnFilter } from '../../../../../../modules/app/types/column-filter';
|
|
11
|
+
import { type AvailableColumn } from '../../../../../../modules/element/listing/decorators/utils/column-configuration/context-layer/provider/available-columns/available-columns-provider';
|
|
12
|
+
import { type UseDynamicTypeResolverReturnType } from '../../../../../../modules/element/dynamic-types/resolver/hooks/use-dynamic-type-resolver';
|
|
13
|
+
import { type GeneralFiltersDecoratorConfig } from '../general-filters-decorator';
|
|
14
|
+
export interface ElementFilterContext {
|
|
15
|
+
config: GeneralFiltersDecoratorConfig;
|
|
16
|
+
availableColumns: AvailableColumn[];
|
|
17
|
+
getType: UseDynamicTypeResolverReturnType['getType'];
|
|
18
|
+
currentLanguage: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ElementListingFilters {
|
|
21
|
+
includeDescendants?: boolean;
|
|
22
|
+
columnFilters?: ColumnFilter[];
|
|
23
|
+
}
|
|
24
|
+
export interface ElementListingQueryArgs {
|
|
25
|
+
classId?: unknown;
|
|
26
|
+
body: {
|
|
27
|
+
filters: ElementListingFilters;
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
export type ElementFilterQueryPart = {
|
|
33
|
+
kind: 'columnFilters';
|
|
34
|
+
filters: ColumnFilter[];
|
|
35
|
+
} | {
|
|
36
|
+
kind: 'argsPatch';
|
|
37
|
+
apply: (filters: ElementListingFilters) => ElementListingFilters;
|
|
38
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { type ElementFilterContext, type ElementListingFilters, type ElementListingQueryArgs, type ElementFilterQueryPart } from './element-filter-types';
|
|
11
|
+
export { AppliedFiltersProvider, useAppliedFilters, DraftFiltersProvider, useDraftFilters, useDraftFiltersOptional } from './stores';
|
|
12
|
+
export { elementFilterDefinitions } from './definitions';
|
|
13
|
+
export { buildElementFilterQuery } from './build-element-filter-query';
|
|
14
|
+
export { elementFilterSetup, useElementFilterContext } from './element-filter-setup';
|
|
15
|
+
export { readElementFilterValues, useDraftFilterValues, type ElementFilterValues, type UseDraftFilterValuesReturn } from './use-element-filter-values';
|
|
@@ -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
|
+
export declare const AppliedFiltersProvider: import("react").FC<import("../../../../../../components/filters").FiltersStoreProviderProps>, useAppliedFilters: () => import("../../../../../../components/filters").FiltersStore;
|
|
11
|
+
export declare const DraftFiltersProvider: import("react").FC<import("../../../../../../components/filters").FiltersStoreProviderProps>, useDraftFilters: () => import("../../../../../../components/filters").FiltersStore, useDraftFiltersOptional: () => import("../../../../../../components/filters").FiltersStore | undefined;
|
|
@@ -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
|
+
import { type FilterValues } from '../../../../../../components/filters';
|
|
11
|
+
import { type FieldFilter } from '../context-layer/provider/field-filters/field-filters-provider';
|
|
12
|
+
export interface ElementFilterValues {
|
|
13
|
+
searchTerm: string;
|
|
14
|
+
directChildren: boolean;
|
|
15
|
+
unreferenced: boolean;
|
|
16
|
+
pql: string;
|
|
17
|
+
fieldFilters: FieldFilter[];
|
|
18
|
+
}
|
|
19
|
+
export declare const readElementFilterValues: (values: FilterValues) => ElementFilterValues;
|
|
20
|
+
export interface UseDraftFilterValuesReturn extends ElementFilterValues {
|
|
21
|
+
setSearchTerm: (value: string) => void;
|
|
22
|
+
setDirectChildren: (value: boolean) => void;
|
|
23
|
+
setUnreferenced: (value: boolean) => void;
|
|
24
|
+
setPql: (value: string) => void;
|
|
25
|
+
setFieldFilters: (value: FieldFilter[]) => void;
|
|
26
|
+
reset: () => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const useDraftFilterValues: () => UseDraftFilterValuesReturn;
|
|
@@ -10,5 +10,6 @@
|
|
|
10
10
|
import { type AbstractDecorator } from '../abstract-decorator';
|
|
11
11
|
export interface GeneralFiltersDecoratorConfig {
|
|
12
12
|
handleSearchTermInSidebar: boolean;
|
|
13
|
+
showOnlyUnreferencedFilter?: boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const GeneralFiltersDecorator: AbstractDecorator<GeneralFiltersDecoratorConfig>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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 AvailableColumn } from '../../../../../../../../../../../modules/element/listing/decorators/utils/column-configuration/context-layer/provider/available-columns/available-columns-provider';
|
|
11
|
+
import { type ColumnPickerGroup } from '../../../../../../../../../../../components/column-picker/column-picker.types';
|
|
12
|
+
import { type FieldFiltersProps } from '../../../../../../../../../../../components/field-filters/field-filters';
|
|
13
|
+
export interface UseFieldFilterEditorReturn {
|
|
14
|
+
filters: FieldFiltersProps['data'];
|
|
15
|
+
onFilterChange: NonNullable<FieldFiltersProps['onChange']>;
|
|
16
|
+
columnGroups: Array<ColumnPickerGroup<AvailableColumn>>;
|
|
17
|
+
handleColumnClick: (column: AvailableColumn) => void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Encapsulates the field-filter editor state and the "add field filter" logic
|
|
21
|
+
* so the list (rendered in the panel content) and the add control (rendered in
|
|
22
|
+
* the bottom toolbar) can share a single source of truth.
|
|
23
|
+
*/
|
|
24
|
+
export declare const useFieldFilterEditor: () => UseFieldFilterEditorReturn;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import { type DirectChildrenFilterData } from '../../../../../../../../../../../../modules/element/listing/decorators/general-filters/context-layer/provider/direct-children-filter/direct-children-filter-provider';
|
|
11
|
+
import { type UnreferencedFilterData } from '../../../../../../../../../../../../modules/element/listing/decorators/general-filters/context-layer/provider/unreferenced-filter/unreferenced-filter-provider';
|
|
11
12
|
import { type FieldFiltersData } from '../../../../../../../../../../../../modules/element/listing/decorators/general-filters/context-layer/provider/field-filters/field-filters-provider';
|
|
12
13
|
import { type PqlFilterData } from '../../../../../../../../../../../../modules/element/listing/decorators/general-filters/context-layer/provider/pql-filter/pql-filter-provider';
|
|
13
14
|
import { type SearchTermFilterData } from '../../../../../../../../../../../../modules/element/listing/decorators/general-filters/context-layer/provider/search-term-filter/search-term-filter-provider';
|
|
@@ -17,6 +18,8 @@ export interface FilterProviderData {
|
|
|
17
18
|
setSearchTerm: SearchTermFilterData['setSearchTerm'];
|
|
18
19
|
onlyDirectChildren: DirectChildrenFilterData['onlyDirectChildren'];
|
|
19
20
|
setOnlyDirectChildren: DirectChildrenFilterData['setOnlyDirectChildren'];
|
|
21
|
+
onlyUnreferenced: UnreferencedFilterData['onlyUnreferenced'];
|
|
22
|
+
setOnlyUnreferenced: UnreferencedFilterData['setOnlyUnreferenced'];
|
|
20
23
|
fieldFilters: FieldFiltersData['fieldFilters'];
|
|
21
24
|
setFieldFilters: FieldFiltersData['setFieldFilters'];
|
|
22
25
|
pqlQuery: PqlFilterData['pqlQuery'];
|
|
@@ -8,16 +8,20 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import { type DropdownProps } from '../../../../../../../../../components/dropdown/dropdown';
|
|
11
|
+
import { type ColumnPickerGroup } from '../../../../../../../../../components/column-picker/column-picker.types';
|
|
11
12
|
import React from 'react';
|
|
12
13
|
import { type GridColumnConfiguration as AssetGridColumnConfig } from '../../../../../../../../../modules/asset/asset-api-slice-enhanced';
|
|
13
14
|
import { type GridColumnConfiguration as ObjectGridColumnConfig } from '../../../../../../../../../modules/data-object/data-object-api-slice-enhanced';
|
|
14
15
|
export type AvailableColumn = (AssetGridColumnConfig | ObjectGridColumnConfig) & {
|
|
16
|
+
width?: number | null;
|
|
15
17
|
__meta?: {
|
|
16
18
|
uniqueId?: string;
|
|
17
19
|
advancedColumnConfig?: Record<string, any>;
|
|
18
20
|
[key: string]: any;
|
|
19
21
|
};
|
|
20
22
|
};
|
|
23
|
+
/** Reserved column key for the "Advanced" column, which is surfaced via a dedicated control. */
|
|
24
|
+
export declare const ADVANCED_COLUMN_KEY = "advanced";
|
|
21
25
|
export interface OnMenuItemClickEvent {
|
|
22
26
|
column: AvailableColumn;
|
|
23
27
|
}
|
|
@@ -34,10 +38,19 @@ export interface AvailableColumnsData {
|
|
|
34
38
|
availableColumns: AvailableColumn[];
|
|
35
39
|
setAvailableColumns: (availableColumns: AvailableColumn[]) => void;
|
|
36
40
|
getAvailableColumnsDropdown: (menuClickHandler: OnMenuItemClick) => DropdownProps;
|
|
41
|
+
getAvailableColumnsTree: () => Array<ColumnPickerGroup<AvailableColumn>>;
|
|
42
|
+
getAdvancedColumnTemplate: () => AvailableColumn | undefined;
|
|
37
43
|
}
|
|
38
44
|
export type AvailableColumnsContextProps = AvailableColumnsData | undefined;
|
|
39
45
|
export declare const AvailableColumnsContext: React.Context<AvailableColumnsContextProps>;
|
|
40
46
|
export interface AvailableColumnsProviderProps {
|
|
41
47
|
children: React.ReactNode;
|
|
42
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Build {@link ColumnPickerGroup}s for the column picker from a flat list of
|
|
51
|
+
* columns. Reusable wherever a (possibly pre-filtered) set of columns should be
|
|
52
|
+
* offered as a grouped, searchable tree — e.g. grid config, batch edit, field
|
|
53
|
+
* filters. The Advanced column is excluded; it is offered through its own control.
|
|
54
|
+
*/
|
|
55
|
+
export declare function buildColumnPickerGroups(columns: AvailableColumn[], t: (key: string) => string): Array<ColumnPickerGroup<AvailableColumn>>;
|
|
43
56
|
export declare const AvailableColumnsProvider: ({ children }: AvailableColumnsProviderProps) => 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 { type AvailableColumn } from './context-layer/provider/available-columns/available-columns-provider';
|
|
11
|
+
export interface GridConfigColumnPayload {
|
|
12
|
+
key: string;
|
|
13
|
+
locale: string | null;
|
|
14
|
+
group: string[];
|
|
15
|
+
width: number | null;
|
|
16
|
+
}
|
|
17
|
+
export declare const prepareGridConfigColumn: (column: AvailableColumn) => GridConfigColumnPayload;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 PopoverProps } from 'antd';
|
|
12
|
+
import { type ColumnPickerGroup } from '../../../../../../../../../components/column-picker/column-picker.types';
|
|
13
|
+
import { type AvailableColumn } from '../../../context-layer/provider/available-columns/available-columns-provider';
|
|
14
|
+
export interface AddColumnControlsProps {
|
|
15
|
+
/** Grouped, selectable columns for the "Simple" picker. */
|
|
16
|
+
groups: Array<ColumnPickerGroup<AvailableColumn>>;
|
|
17
|
+
/** Invoked when a column is chosen from the picker. */
|
|
18
|
+
onColumnSelect: (column: AvailableColumn) => void;
|
|
19
|
+
/** Invoked when the "Advanced" button is clicked. Omit to hide the button. */
|
|
20
|
+
onAddAdvancedColumn?: () => void;
|
|
21
|
+
/** Placement of the picker panel relative to its trigger. Defaults to `leftTop`. */
|
|
22
|
+
placement?: PopoverProps['placement'];
|
|
23
|
+
/**
|
|
24
|
+
* When provided, "Simple" becomes a toggle button that calls this handler
|
|
25
|
+
* (e.g. to show/hide an embedded picker panel) instead of opening the popover.
|
|
26
|
+
*/
|
|
27
|
+
onToggleSimple?: () => void;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Renders the "Simple" and "Advanced" actions used to add columns to a grid
|
|
31
|
+
* configuration. By default "Simple" opens the column picker in a popover; pass
|
|
32
|
+
* {@link AddColumnControlsProps.onToggleSimple} to instead toggle an embedded
|
|
33
|
+
* panel (used by the expanded grid-config modal). Shared across asset and data
|
|
34
|
+
* object listings and reusable by any future grid that exposes available columns.
|
|
35
|
+
*/
|
|
36
|
+
export declare const AddColumnControls: ({ groups, onColumnSelect, onAddAdvancedColumn, placement, onToggleSimple }: AddColumnControlsProps) => React.JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 ColumnPickerGroup } from '../../../../../../../../../components/column-picker/column-picker.types';
|
|
12
|
+
import { type AvailableColumn } from '../../../context-layer/provider/available-columns/available-columns-provider';
|
|
13
|
+
export interface FieldsToAddPanelProps {
|
|
14
|
+
/** Grouped, selectable columns offered for adding. */
|
|
15
|
+
groups: Array<ColumnPickerGroup<AvailableColumn>>;
|
|
16
|
+
/** Invoked when a column is chosen from the picker. */
|
|
17
|
+
onColumnSelect: (column: AvailableColumn) => void;
|
|
18
|
+
/** Invoked when the panel's collapse control is clicked. */
|
|
19
|
+
onClose: () => void;
|
|
20
|
+
/** Stretch the picker to fill the available height (use when the host has a fixed height). */
|
|
21
|
+
fillHeight?: boolean;
|
|
22
|
+
'data-testid'?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Embeddable "Fields to add" sidebar panel: a header (with a collapse control)
|
|
26
|
+
* over the searchable {@link ColumnPicker} tree. Shared by the expanded grid
|
|
27
|
+
* config modal and the batch edit modal so they offer columns the same way.
|
|
28
|
+
*/
|
|
29
|
+
export declare const FieldsToAddPanel: ({ groups, onColumnSelect, onClose, fillHeight, "data-testid": dataTestId }: FieldsToAddPanelProps) => 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
|
+
export declare const useStyles: (props?: unknown) => {
|
|
11
|
+
styles: {
|
|
12
|
+
panel: string;
|
|
13
|
+
panelFill: string;
|
|
14
|
+
};
|
|
15
|
+
cx: import("antd-style/es/types").ClassNamesUtil;
|
|
16
|
+
theme: import("antd-style/lib/types/theme").FullToken;
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
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 RefObject } from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* Scrolls the returned sentinel ref into view whenever `items` grows by
|
|
13
|
+
* appending to the end (e.g. a column was added). Reorders, removals and
|
|
14
|
+
* wholesale replacements (such as loading a saved configuration) are ignored,
|
|
15
|
+
* so the list only auto-scrolls in response to an explicit add.
|
|
16
|
+
*
|
|
17
|
+
* Attach the ref to an element rendered after the list; `scrollIntoView` walks
|
|
18
|
+
* up to the nearest scrollable ancestor, so it works regardless of which
|
|
19
|
+
* container actually scrolls.
|
|
20
|
+
*/
|
|
21
|
+
export declare const useScrollIntoViewOnAppend: <T>(items: T[], getKey: (item: T, index: number) => string) => RefObject<HTMLDivElement>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 ElementType } from '../../../types/enums/element/element-type';
|
|
11
|
+
export declare const registerEditLockRenewHandler: (elementType: ElementType, id: number, handler: () => void) => void;
|
|
12
|
+
export declare const unregisterEditLockRenewHandler: (elementType: ElementType, id: number) => void;
|
|
13
|
+
export declare const beginEditLockCheck: (elementType: ElementType, id: number) => void;
|
|
14
|
+
export declare const resolveEditLockCheck: (elementType: ElementType, id: number, allowed: boolean) => void;
|
|
15
|
+
export declare const clearEditLockCheck: (elementType: ElementType, id: number) => void;
|
|
16
|
+
export declare const awaitEditLockPersistAllowed: (elementType: ElementType, id: number) => Promise<boolean>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 JobInterface, type JobRunOptions } from '../job-interface';
|
|
11
|
+
import { MessageBusJobHandler } from '../../message-handlers/message-bus-job/message-bus-job-handler';
|
|
12
|
+
import { type JobRunList } from '../../services/job-rehydration-registry';
|
|
13
|
+
export interface OwnershipDeleteJobOptions {
|
|
14
|
+
configurationType: string;
|
|
15
|
+
ids: string[];
|
|
16
|
+
onFinish?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare class OwnershipDeleteJob implements JobInterface {
|
|
19
|
+
private readonly configurationType;
|
|
20
|
+
private readonly ids;
|
|
21
|
+
private readonly onFinish?;
|
|
22
|
+
constructor(options: OwnershipDeleteJobOptions);
|
|
23
|
+
run(options: JobRunOptions): Promise<void>;
|
|
24
|
+
private executeRequest;
|
|
25
|
+
private static invalidateCache;
|
|
26
|
+
private handleCompletion;
|
|
27
|
+
private handleJobFailure;
|
|
28
|
+
static readonly jobNames: readonly ["studio_ee_job_ownership_management_delete"];
|
|
29
|
+
static rehydrate(jobRuns: JobRunList): MessageBusJobHandler;
|
|
30
|
+
private static buildHandler;
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 JobInterface, type JobRunOptions } from '../job-interface';
|
|
11
|
+
import { MessageBusJobHandler } from '../../message-handlers/message-bus-job/message-bus-job-handler';
|
|
12
|
+
import { type JobRunList } from '../../services/job-rehydration-registry';
|
|
13
|
+
export interface OwnershipReassignOwnerJobOptions {
|
|
14
|
+
configurationType: string;
|
|
15
|
+
ids: string[];
|
|
16
|
+
newOwnerId: number;
|
|
17
|
+
onFinish?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare class OwnershipReassignOwnerJob implements JobInterface {
|
|
20
|
+
private readonly configurationType;
|
|
21
|
+
private readonly ids;
|
|
22
|
+
private readonly newOwnerId;
|
|
23
|
+
private readonly onFinish?;
|
|
24
|
+
constructor(options: OwnershipReassignOwnerJobOptions);
|
|
25
|
+
run(options: JobRunOptions): Promise<void>;
|
|
26
|
+
private executeRequest;
|
|
27
|
+
private static invalidateCache;
|
|
28
|
+
private handleCompletion;
|
|
29
|
+
private handleJobFailure;
|
|
30
|
+
static readonly jobNames: readonly ["studio_ee_job_ownership_management_reassign_owner"];
|
|
31
|
+
static rehydrate(jobRuns: JobRunList): MessageBusJobHandler;
|
|
32
|
+
private static buildHandler;
|
|
33
|
+
}
|