@pimcore/studio-ui-bundle 2025.4.5 → 2025.4.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,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 React from 'react';
|
|
11
|
+
export declare const OwnershipManagementContainerInner: () => React.JSX.Element;
|
|
@@ -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
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
+
tabBody: import("antd-style").SerializedStyles;
|
|
12
|
+
tableArea: import("antd-style").SerializedStyles;
|
|
13
|
+
}>;
|
package/dist/build/types/src/core/modules/ownership-management/ownership-management-container.d.ts
ADDED
|
@@ -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 React from 'react';
|
|
11
|
+
export declare const OwnershipManagementContainer: () => React.JSX.Element;
|
|
@@ -11,9 +11,8 @@ import React from 'react';
|
|
|
11
11
|
import { type BundleCustomReportsConfigurationTreeNode } from '../../../../../modules/reports/custom-reports-api-slice-enhanced';
|
|
12
12
|
interface IReportConfigurationProps {
|
|
13
13
|
report: BundleCustomReportsConfigurationTreeNode;
|
|
14
|
-
isActive: boolean;
|
|
15
14
|
modifiedReports: string[];
|
|
16
15
|
setModifiedReports: (modifiedReports: string[]) => void;
|
|
17
16
|
}
|
|
18
|
-
export declare const ReportConfiguration: ({ report,
|
|
17
|
+
export declare const ReportConfiguration: ({ report, modifiedReports, setModifiedReports }: IReportConfigurationProps) => React.JSX.Element;
|
|
19
18
|
export {};
|
|
@@ -10,4 +10,5 @@
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export declare const REFETCH_BTN_PORTAL_ID = "reports-editor-toolbar-refetch-btn";
|
|
12
12
|
export declare const SAVE_BTN_PORTAL_ID = "reports-editor-toolbar-save-btn";
|
|
13
|
+
export declare const ActiveReportTabContext: React.Context<string | undefined>;
|
|
13
14
|
export declare const ReportsEditor: () => 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 IDynamicFilter } from '../../../../../../../components/dynamic-filter/provider/dynamic-filter-provider';
|
|
11
|
+
import { type ReportFilterContext, type ReportFilterContribution } from '../../../../../../../modules/reports/reports-view/components/report-sidebar/components/filters/reports-filters';
|
|
12
|
+
export declare const columnsFilterDescriptor: import("../../../../../../../components/filters").FilterDescriptor<IDynamicFilter[], ReportFilterContribution, ReportFilterContext>;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
import { FieldFilterFrontendType } from '
|
|
11
|
-
import { type NumberValue } from '
|
|
12
|
-
import { type IFieldFilterTypeData } from '
|
|
13
|
-
import { type DateValue } from '
|
|
10
|
+
import { FieldFilterFrontendType } from '../../../../../../../../modules/element/dynamic-types/definitions/field-filters/frontendTypes';
|
|
11
|
+
import { type NumberValue } from '../../../../../../../../modules/element/dynamic-types/definitions/field-filters/components/dynamic-type-field-filter-number-component';
|
|
12
|
+
import { type IFieldFilterTypeData } from '../../../../../../../../modules/reports/reports-view/components/report-sidebar/components/columns-filters/field-filters/types';
|
|
13
|
+
import { type DateValue } from '../../../../../../../../modules/element/dynamic-types/definitions/field-filters/components/dynamic-type-field-filter-date-component';
|
|
14
14
|
export declare const FIELD_TYPE_MAP: {
|
|
15
15
|
string: {
|
|
16
16
|
frontendType: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 IDynamicFilter } from '../../../../../../../components/dynamic-filter/provider/dynamic-filter-provider';
|
|
11
|
+
import { type ColumnPickerGroup } from '../../../../../../../components/column-picker/column-picker.types';
|
|
12
|
+
import { type BundleCustomReportsColumnConfiguration } from '../../../../../../../modules/reports/custom-reports-api-slice-enhanced';
|
|
13
|
+
export interface UseFieldFilterEditorReturn {
|
|
14
|
+
fieldFilters: IDynamicFilter[];
|
|
15
|
+
onFilterChange: (data: IDynamicFilter[]) => void;
|
|
16
|
+
columnGroups: Array<ColumnPickerGroup<BundleCustomReportsColumnConfiguration>>;
|
|
17
|
+
handleColumnClick: (column: BundleCustomReportsColumnConfiguration) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const useFieldFilterEditor: () => UseFieldFilterEditorReturn;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 AnyFilterDescriptor, type FilterHostAdapter } from '../../../../../../../components/filters';
|
|
12
|
+
import { type IGridFilter } from '../../../../../../../modules/reports/reports-view/types';
|
|
13
|
+
import { type UseDynamicTypeResolverReturnType } from '../../../../../../../modules/element/dynamic-types/resolver/hooks/use-dynamic-type-resolver';
|
|
14
|
+
export type ReportColumnFilter = NonNullable<IGridFilter['columnFilters']>[number];
|
|
15
|
+
export type ReportFilterContribution = ReportColumnFilter[];
|
|
16
|
+
export interface ReportFilterContext {
|
|
17
|
+
getType: UseDynamicTypeResolverReturnType['getType'];
|
|
18
|
+
}
|
|
19
|
+
export declare const ReportsDraftFiltersProvider: React.FC<import("../../../../../../../components/filters").FiltersStoreProviderProps>, useReportsDraftFilters: () => import("../../../../../../../components/filters").FiltersStore;
|
|
20
|
+
export declare const reportsFilterDescriptors: ReadonlyArray<AnyFilterDescriptor<ReportFilterContribution, ReportFilterContext>>;
|
|
21
|
+
export declare const useReportsFilterContext: () => ReportFilterContext;
|
|
22
|
+
export declare const reportsFilterAdapter: FilterHostAdapter<ReportFilterContribution, ReportFilterContext, IGridFilter>;
|
|
23
|
+
export declare const ReportsDraftFiltersReset: ({ children }: {
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
}) => React.JSX.Element;
|
|
@@ -8,15 +8,25 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
+
import { type SavedSearchDetailedConfiguration } from '../search-api-slice.gen';
|
|
11
12
|
export interface SearchContextData {
|
|
12
13
|
activeKey: string;
|
|
13
14
|
setActiveKey: (key: string) => void;
|
|
14
15
|
open: boolean;
|
|
15
16
|
setOpen: (open: boolean) => void;
|
|
17
|
+
/** A saved search whose state should be applied to the matching typed tab once it mounts. */
|
|
18
|
+
pendingRestore: SavedSearchDetailedConfiguration | undefined;
|
|
19
|
+
setPendingRestore: (configuration: SavedSearchDetailedConfiguration | undefined) => void;
|
|
20
|
+
/** The saved search currently loaded into a typed tab (drives the Save panel's update/clone state). */
|
|
21
|
+
loadedSavedSearch: SavedSearchDetailedConfiguration | undefined;
|
|
22
|
+
setLoadedSavedSearch: (configuration: SavedSearchDetailedConfiguration | undefined) => void;
|
|
16
23
|
}
|
|
17
24
|
export type SearchContextProps = SearchContextData | undefined;
|
|
18
25
|
export declare const SearchContext: React.Context<SearchContextProps>;
|
|
19
26
|
export interface SearchProviderProps {
|
|
20
27
|
children: React.ReactNode;
|
|
28
|
+
/** Seed the restore/loaded state — used when hosting a search listing as a main-area widget. */
|
|
29
|
+
initialPendingRestore?: SavedSearchDetailedConfiguration;
|
|
30
|
+
initialLoadedSavedSearch?: SavedSearchDetailedConfiguration;
|
|
21
31
|
}
|
|
22
32
|
export declare const SearchProvider: (props: SearchProviderProps) => React.JSX.Element;
|
|
@@ -7,11 +7,16 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import { type SavedSearchDetailedConfiguration } from '../search-api-slice.gen';
|
|
10
11
|
export interface UseSearchReturn {
|
|
11
12
|
activeKey: string;
|
|
12
13
|
setActiveKey: (key: string) => void;
|
|
13
14
|
isOpen: boolean;
|
|
14
15
|
open: (key?: string) => void;
|
|
15
16
|
close: () => void;
|
|
17
|
+
pendingRestore: SavedSearchDetailedConfiguration | undefined;
|
|
18
|
+
setPendingRestore: (configuration: SavedSearchDetailedConfiguration | undefined) => void;
|
|
19
|
+
loadedSavedSearch: SavedSearchDetailedConfiguration | undefined;
|
|
20
|
+
setLoadedSavedSearch: (configuration: SavedSearchDetailedConfiguration | undefined) => void;
|
|
16
21
|
}
|
|
17
22
|
export declare const useSearch: () => UseSearchReturn;
|
|
@@ -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 React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* Wraps the left-sidebar search button with a hover flyout listing the saved searches that are
|
|
13
|
+
* flagged as menu shortcuts. Clicking the icon opens the Quick Search modal (#1943); clicking a
|
|
14
|
+
* shortcut opens that saved search as a main-area tab. Grouped shortcuts fly out as cascading
|
|
15
|
+
* submenus.
|
|
16
|
+
*/
|
|
17
|
+
export declare const MenuShortcutFlyout: () => 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
|
+
header: string;
|
|
13
|
+
shortcutName: string;
|
|
14
|
+
};
|
|
15
|
+
cx: import("antd-style/es/types").ClassNamesUtil;
|
|
16
|
+
theme: import("antd-style/lib/types/theme").FullToken;
|
|
17
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
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 formInstanceType } from '../../../../../components/form/use-form';
|
|
12
|
+
export interface SavedSearchFormValues {
|
|
13
|
+
name: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
createMenuShortcut?: boolean;
|
|
16
|
+
menuShortcutGroup?: string;
|
|
17
|
+
shareGlobally?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const defaultValues: SavedSearchFormValues;
|
|
20
|
+
interface SavedSearchFormProps {
|
|
21
|
+
form: formInstanceType;
|
|
22
|
+
isSharedGlobally: boolean;
|
|
23
|
+
onSharedGloballyChange: (value: boolean) => void;
|
|
24
|
+
sharedUsers: number[];
|
|
25
|
+
sharedRoles: number[];
|
|
26
|
+
onUsersRolesChange: (changes: {
|
|
27
|
+
sharedUsers: number[];
|
|
28
|
+
sharedRoles: number[];
|
|
29
|
+
}) => void;
|
|
30
|
+
/** Whether to show the sharing controls — hidden when viewing someone else's search (clone). */
|
|
31
|
+
showSharing: boolean;
|
|
32
|
+
}
|
|
33
|
+
export declare const SavedSearchForm: ({ form, isSharedGlobally, onSharedGloballyChange, sharedUsers, sharedRoles, onUsersRolesChange, showSharing }: SavedSearchFormProps) => React.JSX.Element;
|
|
34
|
+
export {};
|
|
@@ -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 React from 'react';
|
|
11
|
+
import { type ElementType } from '../../../../../types/enums/element/element-type';
|
|
12
|
+
interface SavedSearchPanelProps {
|
|
13
|
+
elementType?: ElementType;
|
|
14
|
+
supportsLoadedState: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const SavedSearchPanel: ({ elementType, supportsLoadedState }: SavedSearchPanelProps) => React.JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -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
|
+
export declare const useStyles: (props?: unknown) => {
|
|
11
|
+
styles: {
|
|
12
|
+
label: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
editButton: string;
|
|
15
|
+
editButtonText: string;
|
|
16
|
+
tag: string;
|
|
17
|
+
};
|
|
18
|
+
cx: import("antd-style/es/types").ClassNamesUtil;
|
|
19
|
+
theme: import("antd-style/lib/types/theme").FullToken;
|
|
20
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 formInstanceType } from '../../../../../components/form/use-form';
|
|
11
|
+
import { type SavedSearchDetailedConfiguration } from '../../../../../modules/search/search-api-slice.gen';
|
|
12
|
+
interface UseSavedSearchMetaDirtyParams {
|
|
13
|
+
form: formInstanceType;
|
|
14
|
+
loaded: SavedSearchDetailedConfiguration | undefined;
|
|
15
|
+
isOwner: boolean;
|
|
16
|
+
/** The saved-search id the form has been prefilled for; gates the comparison to avoid a "*" flash. */
|
|
17
|
+
prefilledId: number | undefined;
|
|
18
|
+
isSharedGlobally: boolean;
|
|
19
|
+
sharedUsers: number[];
|
|
20
|
+
sharedRoles: number[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Reports whether the save panel's metadata (name/description/shortcut/sharing) differs from the
|
|
24
|
+
* loaded saved search, feeding the 'meta' source of the tab "*" indicator (combined with the grid
|
|
25
|
+
* tracker's flag). Only your own loaded search can be updated, so a shared search (clone) never
|
|
26
|
+
* reports dirty. The flag is cleared on unmount / when the loaded search changes — unsaved panel
|
|
27
|
+
* edits don't survive a panel close anyway, so the "*" should not linger from this source.
|
|
28
|
+
*/
|
|
29
|
+
export declare const useSavedSearchMetaDirty: (params: UseSavedSearchMetaDirtyParams) => void;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
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 formInstanceType } from '../../../../../components/form/use-form';
|
|
11
|
+
import { type ElementType } from '../../../../../types/enums/element/element-type';
|
|
12
|
+
import { type SavedSearchSaveConfigurationApiArg, type SavedSearchDetailedConfiguration } from '../../../../../modules/search/search-api-slice.gen';
|
|
13
|
+
interface UseSavedSearchMutationsParams {
|
|
14
|
+
form: formInstanceType;
|
|
15
|
+
loaded: SavedSearchDetailedConfiguration | undefined;
|
|
16
|
+
classId?: string;
|
|
17
|
+
elementType?: ElementType;
|
|
18
|
+
columns: SavedSearchSaveConfigurationApiArg['body']['columns'];
|
|
19
|
+
filter: SavedSearchSaveConfigurationApiArg['body']['filter'];
|
|
20
|
+
isSharedGlobally: boolean;
|
|
21
|
+
sharedUsers: number[];
|
|
22
|
+
sharedRoles: number[];
|
|
23
|
+
onReset: () => void;
|
|
24
|
+
}
|
|
25
|
+
interface UseSavedSearchMutationsReturn {
|
|
26
|
+
onSaveAsNew: () => void;
|
|
27
|
+
onUpdate: () => void;
|
|
28
|
+
onDelete: () => void;
|
|
29
|
+
isSaving: boolean;
|
|
30
|
+
isUpdating: boolean;
|
|
31
|
+
isDeleting: boolean;
|
|
32
|
+
}
|
|
33
|
+
export declare const useSavedSearchMutations: (params: UseSavedSearchMutationsParams) => UseSavedSearchMutationsReturn;
|
|
34
|
+
export {};
|
|
@@ -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 React from 'react';
|
|
11
|
+
export declare const SavedSearchesTab: () => React.JSX.Element;
|
|
@@ -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
|
+
export declare const useStyles: (props?: unknown) => {
|
|
11
|
+
styles: {
|
|
12
|
+
topBar: string;
|
|
13
|
+
};
|
|
14
|
+
cx: import("antd-style/es/types").ClassNamesUtil;
|
|
15
|
+
theme: import("antd-style/lib/types/theme").FullToken;
|
|
16
|
+
};
|
package/dist/build/types/src/core/modules/search/saved-search/dirty/saved-search-dirty-slice.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
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 PayloadAction } from '@reduxjs/toolkit';
|
|
11
|
+
import { type RootState } from '../../../../app/store';
|
|
12
|
+
/** The two independent sources of "unsaved changes" for an opened saved search. */
|
|
13
|
+
export type SavedSearchDirtySource = 'grid' | 'meta';
|
|
14
|
+
interface SavedSearchDirtyEntry {
|
|
15
|
+
/** Live grid state (columns/width + filters) differs from the persisted search. */
|
|
16
|
+
grid?: boolean;
|
|
17
|
+
/** Panel metadata (name/description/shortcut/sharing) differs from the persisted search. */
|
|
18
|
+
meta?: boolean;
|
|
19
|
+
}
|
|
20
|
+
interface SavedSearchDirtyState {
|
|
21
|
+
/**
|
|
22
|
+
* Keyed by saved-search id — whether the opened search has unsaved changes (drives the tab "*").
|
|
23
|
+
* Split by source so the grid tracker and the save panel can report independently; the tab shows
|
|
24
|
+
* "*" when either is dirty.
|
|
25
|
+
*/
|
|
26
|
+
dirtyById: Record<number, SavedSearchDirtyEntry>;
|
|
27
|
+
}
|
|
28
|
+
export declare const savedSearchDirtySlice: import("@reduxjs/toolkit").Slice<SavedSearchDirtyState, {
|
|
29
|
+
setSavedSearchDirty(state: {
|
|
30
|
+
dirtyById: {
|
|
31
|
+
[x: number]: {
|
|
32
|
+
grid?: boolean
|
|
33
|
+
/** Panel metadata (name/description/shortcut/sharing) differs from the persisted search. */
|
|
34
|
+
| undefined;
|
|
35
|
+
meta?: boolean | undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}, action: PayloadAction<{
|
|
39
|
+
id: number;
|
|
40
|
+
source: SavedSearchDirtySource;
|
|
41
|
+
dirty: boolean;
|
|
42
|
+
}>): void;
|
|
43
|
+
clearSavedSearchDirty(state: {
|
|
44
|
+
dirtyById: {
|
|
45
|
+
[x: number]: {
|
|
46
|
+
grid?: boolean
|
|
47
|
+
/** Panel metadata (name/description/shortcut/sharing) differs from the persisted search. */
|
|
48
|
+
| undefined;
|
|
49
|
+
meta?: boolean | undefined;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}, action: PayloadAction<number>): void;
|
|
53
|
+
}, "saved-search-dirty", "saved-search-dirty", import("@reduxjs/toolkit").SliceSelectors<SavedSearchDirtyState>>;
|
|
54
|
+
export declare const setSavedSearchDirty: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
55
|
+
id: number;
|
|
56
|
+
source: SavedSearchDirtySource;
|
|
57
|
+
dirty: boolean;
|
|
58
|
+
}, "saved-search-dirty/setSavedSearchDirty">, clearSavedSearchDirty: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "saved-search-dirty/clearSavedSearchDirty">;
|
|
59
|
+
export declare const selectSavedSearchDirty: (state: RootState, id: number) => boolean;
|
|
60
|
+
export {};
|
package/dist/build/types/src/core/modules/search/saved-search/dirty/saved-search-dirty-tracker.d.ts
ADDED
|
@@ -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 ElementType } from '../../../../types/enums/element/element-type';
|
|
11
|
+
interface SavedSearchDirtyTrackerProps {
|
|
12
|
+
elementType?: ElementType;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Logic-only component mounted inside a saved-search result listing. It compares the live grid state
|
|
16
|
+
* (columns + filters) against the loaded saved search and records the dirty flag so the main-area
|
|
17
|
+
* tab can show the "*" indicator. Inactive until the pending restore has been applied, and in the
|
|
18
|
+
* Quick Search modal (where no saved search is loaded).
|
|
19
|
+
*/
|
|
20
|
+
export declare const SavedSearchDirtyTracker: ({ elementType }: SavedSearchDirtyTrackerProps) => null;
|
|
21
|
+
export {};
|
package/dist/build/types/src/core/modules/search/saved-search/hooks/use-open-saved-search.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
interface UseOpenSavedSearchReturn {
|
|
11
|
+
/** Loads the saved search and opens it as a tab in the main widget area. */
|
|
12
|
+
open: (id: number) => void;
|
|
13
|
+
/** The id currently being opened (for a per-row loading state), or undefined. */
|
|
14
|
+
openingId: number | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Shared open-a-saved-search behaviour used by the Saved Searches tab and the menu-shortcut flyout.
|
|
18
|
+
* The element type comes from the fetched configuration's stored elementType. `onOpened` runs after
|
|
19
|
+
* the widget is opened (e.g. to close the modal).
|
|
20
|
+
*/
|
|
21
|
+
export declare const useOpenSavedSearch: (onOpened?: () => void) => UseOpenSavedSearchReturn;
|
|
22
|
+
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,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
|
+
/**
|
|
11
|
+
* Logic-only component mounted inside the Data Object search listing. Selects the saved class first
|
|
12
|
+
* (so its columns load) when one is set, then applies the saved search. A data-object search can be
|
|
13
|
+
* classless (search across all classes), so routing is by elementType, not by the presence of a classId.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ObjectSavedSearchRestore: () => null;
|
package/dist/build/types/src/core/modules/search/saved-search/restore/saved-search-restore.d.ts
ADDED
|
@@ -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 ElementType } from '../../../../types/enums/element/element-type';
|
|
11
|
+
interface SavedSearchRestoreProps {
|
|
12
|
+
elementType?: ElementType;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Logic-only component mounted inside a search listing. Applies a pending saved search of the
|
|
16
|
+
* matching element type once the available columns have loaded; searches for other element types are
|
|
17
|
+
* left to their own listing's applier. Data Object searches need class selection first, so they use
|
|
18
|
+
* ObjectSavedSearchRestore instead.
|
|
19
|
+
*/
|
|
20
|
+
export declare const SavedSearchRestore: ({ elementType }: SavedSearchRestoreProps) => null;
|
|
21
|
+
export {};
|
package/dist/build/types/src/core/modules/search/saved-search/restore/use-apply-saved-search.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 SavedSearchDetailedConfiguration } from '../../../../modules/search/search-api-slice.gen';
|
|
11
|
+
/**
|
|
12
|
+
* Applies the parts of a saved search that map back into the listing state: search term, field
|
|
13
|
+
* filters, tags, the system filters (PQL, unreferenced, direct-children), paging and the saved
|
|
14
|
+
* column layout, then triggers a reload. (Sorting and the type filter are not restored yet — see PR
|
|
15
|
+
* notes.)
|
|
16
|
+
*/
|
|
17
|
+
export declare const useApplySavedSearch: () => ((configuration: SavedSearchDetailedConfiguration) => void);
|
|
@@ -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 AbstractDecorator } from '../../../modules/element/listing/decorators/abstract-decorator';
|
|
11
|
+
import { type ElementType } from '../../../types/enums/element/element-type';
|
|
12
|
+
export interface SavedSearchDecoratorConfig {
|
|
13
|
+
elementType: ElementType;
|
|
14
|
+
/**
|
|
15
|
+
* When true (the Quick Search typed tabs) the panel supports loading an existing saved search
|
|
16
|
+
* for update/clone. In the regular editor grids it stays false — saving is always "save as new".
|
|
17
|
+
*/
|
|
18
|
+
supportsLoadedState?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Adds the "Save Search" sidebar entry. Asset + Data Object listings only — not "All"/Documents, which have no saveable grid state.
|
|
22
|
+
*/
|
|
23
|
+
export declare const SavedSearchDecorator: AbstractDecorator<SavedSearchDecoratorConfig>;
|
|
@@ -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 ElementType } from '../../../../types/enums/element/element-type';
|
|
11
|
+
/**
|
|
12
|
+
* Resolves the element type a saved search targets from its stored `elementType`. A classless
|
|
13
|
+
* data-object search has no classId, so the stored elementType is the only reliable signal.
|
|
14
|
+
* Defaults to asset when absent.
|
|
15
|
+
*/
|
|
16
|
+
export declare const resolveSavedSearchElementType: (config: {
|
|
17
|
+
elementType?: string | null;
|
|
18
|
+
}) => ElementType;
|