@pimcore/studio-ui-bundle 2026.1.5 → 2026.1.7
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/date-picker/date-picker.stories.d.ts +1 -0
- package/dist/build/types/src/core/components/editable-empty-placeholder/editable-empty-placeholder.d.ts +1 -1
- package/dist/build/types/src/core/components/editable-empty-placeholder/editable-empty-placeholder.stories.d.ts +0 -4
- 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/icon-selector/utils/element-icon.test.d.ts +10 -0
- package/dist/build/types/src/core/components/image-preview/image-preview.stories.d.ts +28 -0
- package/dist/build/types/src/core/components/modal/form-modal/form-modal.stories.d.ts +8 -0
- package/dist/build/types/src/core/components/modal/form-modal/hooks/form-modal-types.d.ts +47 -0
- package/dist/build/types/src/core/components/modal/form-modal/hooks/use-form-modal.d.ts +2 -37
- 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/lib/event-bus/event-types.d.ts +1 -0
- 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 +1353 -0
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice.gen.d.ts +230 -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/field-filters/utils/date-filter-transform.d.ts +27 -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/row-selection/row-selection-decorator.d.ts +2 -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/notes-and-events/notes-and-events-sidebar/components/search-filter-tab/search-filters-tab.d.ts +11 -0
- 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/filters/filters.d.ts +17 -0
- package/dist/build/types/src/core/modules/notifications/filters/hooks/use-notifications-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/notifications/filters/types.d.ts +37 -0
- package/dist/build/types/src/core/modules/{reports/reports-view/components/report-sidebar/components/columns-filters/components/field-filters/field-filters.d.ts → notifications/notifications-sidebar/components/filter-tab/filter-tab.d.ts} +1 -1
- package/dist/build/types/src/core/modules/notifications/notifications-sidebar/notifications-sidebar.d.ts +11 -0
- 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/filters/filters.d.ts +18 -0
- package/dist/build/types/src/core/modules/recycle-bin/filters/hooks/use-recycle-bin-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/recycle-bin/filters/types.d.ts +37 -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/recycle-bin/recycle-bin-sidebar/components/filter-tab/filter-tab.d.ts +11 -0
- package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-sidebar/recycle-bin-sidebar.d.ts +11 -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/translations/filters/filters.d.ts +17 -0
- package/dist/build/types/src/core/modules/translations/filters/hooks/use-translation-filter-columns.d.ts +12 -0
- package/dist/build/types/src/core/modules/translations/filters/hooks/use-translations-field-filter-editor.d.ts +19 -0
- package/dist/build/types/src/core/modules/translations/filters/types.d.ts +32 -0
- package/dist/build/types/src/core/modules/translations/translations-sidebar/components/filter-tab/filter-tab.d.ts +11 -0
- package/dist/build/types/src/core/modules/translations/translations-sidebar/translations-sidebar.d.ts +11 -0
- 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/core/utils/normalize-icon.d.ts +2 -0
- package/dist/build/types/src/core/utils/normalize-icon.test.d.ts +10 -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/element/index.d.ts +1 -0
- 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
|
@@ -26,6 +26,9 @@ export declare const tagNames: {
|
|
|
26
26
|
DATA_OBJECT_DETAIL: string;
|
|
27
27
|
DATA_OBJECT_TREE: string;
|
|
28
28
|
DATA_OBJECT_GRID: string;
|
|
29
|
+
DATA_OBJECT_GRID_CONFIGURATION: string;
|
|
30
|
+
DATA_OBJECT_GRID_CONFIGURATION_LIST: string;
|
|
31
|
+
DATA_OBJECT_GRID_CONFIGURATION_DETAIL: string;
|
|
29
32
|
DOCUMENT: string;
|
|
30
33
|
DOCUMENT_DETAIL: string;
|
|
31
34
|
DOCUMENT_TREE: string;
|
|
@@ -57,6 +60,7 @@ export declare const tagNames: {
|
|
|
57
60
|
EMAIL_LOG_DETAIL: string;
|
|
58
61
|
RECYCLE_BIN: string;
|
|
59
62
|
RECYCLE_BIN_DETAIL: string;
|
|
63
|
+
OWNERSHIP_MANAGEMENT: string;
|
|
60
64
|
PERSPECTIVES: string;
|
|
61
65
|
PERSPECTIVE_DETAIL: string;
|
|
62
66
|
WIDGETS: string;
|
|
@@ -127,6 +131,17 @@ export declare const providingTags: {
|
|
|
127
131
|
type: string;
|
|
128
132
|
id: number;
|
|
129
133
|
})[];
|
|
134
|
+
DATA_OBJECT_GRID_CONFIGURATION: () => string[];
|
|
135
|
+
DATA_OBJECT_GRID_CONFIGURATION_LIST: () => (string | {
|
|
136
|
+
type: string;
|
|
137
|
+
})[];
|
|
138
|
+
DATA_OBJECT_GRID_CONFIGURATION_DETAIL: (configurationId?: number) => (string | {
|
|
139
|
+
type: string;
|
|
140
|
+
id?: undefined;
|
|
141
|
+
} | {
|
|
142
|
+
type: string;
|
|
143
|
+
id: number | undefined;
|
|
144
|
+
})[];
|
|
130
145
|
DOCUMENT_DETAIL: () => string[];
|
|
131
146
|
DOCUMENT_DETAIL_ID: (id: number) => (string | {
|
|
132
147
|
type: string;
|
|
@@ -194,6 +209,7 @@ export declare const providingTags: {
|
|
|
194
209
|
type: string;
|
|
195
210
|
id: number;
|
|
196
211
|
}[];
|
|
212
|
+
OWNERSHIP_MANAGEMENT: () => string[];
|
|
197
213
|
APPLICATION_LOGGER: () => string[];
|
|
198
214
|
APPLICATION_LOGGER_DETAIL: (id: number) => {
|
|
199
215
|
type: string;
|
|
@@ -278,10 +294,10 @@ export declare const invalidatingTags: {
|
|
|
278
294
|
id: number;
|
|
279
295
|
}[];
|
|
280
296
|
ASSET_GRID_CONFIGURATION: () => string[];
|
|
281
|
-
ASSET_GRID_CONFIGURATION_DETAIL: (configurationId?: number) => {
|
|
297
|
+
ASSET_GRID_CONFIGURATION_DETAIL: (configurationId?: number) => (string | {
|
|
282
298
|
type: string;
|
|
283
299
|
id: number | undefined;
|
|
284
|
-
}[];
|
|
300
|
+
})[];
|
|
285
301
|
ASSET_GRID_CONFIGURATION_LIST: () => {
|
|
286
302
|
type: string;
|
|
287
303
|
}[];
|
|
@@ -304,6 +320,14 @@ export declare const invalidatingTags: {
|
|
|
304
320
|
type: string;
|
|
305
321
|
id: number;
|
|
306
322
|
}[];
|
|
323
|
+
DATA_OBJECT_GRID_CONFIGURATION: () => string[];
|
|
324
|
+
DATA_OBJECT_GRID_CONFIGURATION_DETAIL: (configurationId?: number) => (string | {
|
|
325
|
+
type: string;
|
|
326
|
+
id: number | undefined;
|
|
327
|
+
})[];
|
|
328
|
+
DATA_OBJECT_GRID_CONFIGURATION_LIST: () => {
|
|
329
|
+
type: string;
|
|
330
|
+
}[];
|
|
307
331
|
DOCUMENT: () => string[];
|
|
308
332
|
DOCUMENT_DETAIL: () => string[];
|
|
309
333
|
DOCUMENT_DETAIL_ID: (id: number) => (string | {
|
|
@@ -373,6 +397,7 @@ export declare const invalidatingTags: {
|
|
|
373
397
|
id: number;
|
|
374
398
|
}[];
|
|
375
399
|
RECYCLING_BIN: () => string[];
|
|
400
|
+
OWNERSHIP_MANAGEMENT: () => string[];
|
|
376
401
|
PERSPECTIVES: () => string[];
|
|
377
402
|
WIDGETS: () => string[];
|
|
378
403
|
USERS: () => string[];
|
|
@@ -415,6 +415,7 @@ export declare const serviceIds: {
|
|
|
415
415
|
mainNavRegistry: string;
|
|
416
416
|
perspectivePermissionProviderRegistry: string;
|
|
417
417
|
widgetManager: string;
|
|
418
|
+
widgetManagerActionService: string;
|
|
418
419
|
widgetRestorerRegistry: string;
|
|
419
420
|
elementTreeWidgetPermissionRegistry: string;
|
|
420
421
|
backgroundProcessor: string;
|
|
@@ -422,7 +423,6 @@ export declare const serviceIds: {
|
|
|
422
423
|
globalMessageBusProcess: string;
|
|
423
424
|
globalMessageBus: string;
|
|
424
425
|
'DynamicTypes/Theme/StudioDefaultLight': string;
|
|
425
|
-
'DynamicTypes/Theme/StudioDefaultDark': string;
|
|
426
426
|
'Asset/Editor/TypeRegistry': string;
|
|
427
427
|
'Asset/Editor/TypeComponentRegistry': string;
|
|
428
428
|
'Asset/Editor/DocumentTabManager': string;
|
|
@@ -20,15 +20,19 @@ export interface DocumentApi {
|
|
|
20
20
|
triggerValueChange: (documentId: number, key: string, value: any) => void;
|
|
21
21
|
triggerValueChangeWithReload: (documentId: number, key: string, value: any) => void;
|
|
22
22
|
triggerSaveAndReload: (documentId: number) => void;
|
|
23
|
+
reloadIframe: (documentId: number) => void;
|
|
23
24
|
notifyIframeReady: (documentId: number) => void;
|
|
24
25
|
notifyAreablockTypes: (documentId: number, editableTypeId: string, areablockTypes: AreablockGroupedTypes) => void;
|
|
25
26
|
mergeAreablockTypes: (documentId: number, editableTypeId: string, areablockTypes: AreablockGroupedTypes) => void;
|
|
26
27
|
notifyTimeSliderVisible: (documentId: number, visible: boolean) => void;
|
|
28
|
+
setHighlightEditables: (documentId: number, highlight: boolean) => void;
|
|
29
|
+
getHighlightEditables: (documentId: number) => boolean;
|
|
27
30
|
isIframeReady: (documentId: number) => boolean;
|
|
28
31
|
onReady: (documentId: number, callback: () => void) => void;
|
|
29
32
|
}
|
|
30
33
|
declare class DocumentApiImpl implements DocumentApi {
|
|
31
34
|
private readonly autoSaveCallbacks;
|
|
35
|
+
private readonly editedDocuments;
|
|
32
36
|
markDraftAsModified(documentId: number): void;
|
|
33
37
|
getIframeApi(documentId: number): PublicApiDocumentEditorIframe;
|
|
34
38
|
getIframeDocument(documentId: number): Document | undefined;
|
|
@@ -38,10 +42,13 @@ declare class DocumentApiImpl implements DocumentApi {
|
|
|
38
42
|
triggerValueChange(documentId: number, key: string, value: any): void;
|
|
39
43
|
triggerValueChangeWithReload(documentId: number, key: string, value: any): void;
|
|
40
44
|
triggerSaveAndReload(documentId: number): void;
|
|
45
|
+
reloadIframe(documentId: number): void;
|
|
41
46
|
notifyIframeReady(documentId: number): void;
|
|
42
47
|
notifyAreablockTypes(documentId: number, editableTypeId: string, areablockTypes: AreablockGroupedTypes): void;
|
|
43
48
|
mergeAreablockTypes(documentId: number, editableTypeId: string, areablockTypes: AreablockGroupedTypes): void;
|
|
44
49
|
notifyTimeSliderVisible(documentId: number, visible: boolean): void;
|
|
50
|
+
setHighlightEditables(documentId: number, highlight: boolean): void;
|
|
51
|
+
getHighlightEditables(documentId: number): boolean;
|
|
45
52
|
isIframeReady(documentId: number): boolean;
|
|
46
53
|
onReady(documentId: number, callback: () => void): void;
|
|
47
54
|
private performAutoSave;
|
|
@@ -24,11 +24,16 @@ export interface DocumentEditableApi {
|
|
|
24
24
|
getEditableDefinitions: () => AbstractDocumentEditableDefinition[];
|
|
25
25
|
registerDynamicEditables: (editables: AbstractDocumentEditableDefinition[]) => void;
|
|
26
26
|
unregisterDynamicEditables: (editableIds: string[]) => void;
|
|
27
|
+
getHighlightEditables: () => boolean;
|
|
28
|
+
setHighlightEditables: (highlight: boolean) => void;
|
|
29
|
+
subscribeHighlightEditables: (listener: (highlight: boolean) => void) => () => void;
|
|
27
30
|
}
|
|
28
31
|
declare class DocumentEditableApiImpl implements DocumentEditableApi {
|
|
29
32
|
private values;
|
|
30
33
|
private inheritanceState;
|
|
31
34
|
private dynamicEditables;
|
|
35
|
+
private highlightEditables;
|
|
36
|
+
private readonly highlightListeners;
|
|
32
37
|
getValues(forApi?: boolean): Record<string, ValueType>;
|
|
33
38
|
getValue(key: string): ValueType;
|
|
34
39
|
updateValue(key: string, value: ValueType): void;
|
|
@@ -37,6 +42,9 @@ declare class DocumentEditableApiImpl implements DocumentEditableApi {
|
|
|
37
42
|
getInheritanceState(key: string): boolean;
|
|
38
43
|
setInheritanceState(key: string, inherited: boolean): void;
|
|
39
44
|
initializeInheritanceState(inheritanceState: Record<string, boolean>): void;
|
|
45
|
+
getHighlightEditables(): boolean;
|
|
46
|
+
setHighlightEditables(highlight: boolean): void;
|
|
47
|
+
subscribeHighlightEditables(listener: (highlight: boolean) => void): () => void;
|
|
40
48
|
registerDynamicEditables(editables: AbstractDocumentEditableDefinition[]): void;
|
|
41
49
|
unregisterDynamicEditables(editableIds: string[]): void;
|
|
42
50
|
getEditableDefinitions(): AbstractDocumentEditableDefinition[];
|
|
@@ -29,10 +29,12 @@ import './modules/wysiwyg';
|
|
|
29
29
|
import './modules/perspective-editor';
|
|
30
30
|
import './modules/widget-editor';
|
|
31
31
|
import './modules/widget-manager';
|
|
32
|
+
import './modules/search/saved-search';
|
|
32
33
|
import 'flexlayout-react/style/light.css';
|
|
33
34
|
import '../../../css/globals.css';
|
|
34
35
|
import './modules/email';
|
|
35
36
|
import './modules/recycle-bin';
|
|
37
|
+
import './modules/ownership-management';
|
|
36
38
|
import './modules/open-element';
|
|
37
39
|
import './modules/notes-and-events';
|
|
38
40
|
import './modules/predefined-properties';
|
|
@@ -20,10 +20,13 @@ interface AssetTargetProps {
|
|
|
20
20
|
className?: string;
|
|
21
21
|
width?: number | string;
|
|
22
22
|
height?: number | string;
|
|
23
|
+
minWidth?: number | string;
|
|
24
|
+
minHeight?: number | string;
|
|
23
25
|
dndIcon?: boolean;
|
|
24
26
|
uploadIcon?: boolean;
|
|
25
27
|
addIcon?: boolean;
|
|
26
28
|
dropClass?: string;
|
|
29
|
+
removeLabel?: string;
|
|
27
30
|
}
|
|
28
|
-
export declare const AssetTarget: ({ title, className, width, height, dndIcon, uploadIcon, addIcon, onRemove, onSearch, onUpload, onResize, dropClass }: AssetTargetProps) => React.JSX.Element;
|
|
31
|
+
export declare const AssetTarget: ({ title, className, width, height, minWidth, minHeight, dndIcon, uploadIcon, addIcon, onRemove, onSearch, onUpload, onResize, dropClass, removeLabel }: AssetTargetProps) => React.JSX.Element;
|
|
29
32
|
export {};
|
|
@@ -15,7 +15,6 @@ export interface BlockItemProps {
|
|
|
15
15
|
disallowReorder?: boolean;
|
|
16
16
|
disallowAdd?: boolean;
|
|
17
17
|
disallowDelete?: boolean;
|
|
18
|
-
itemValue?: any;
|
|
19
18
|
getItemTitle?: (itemValue: any, index: number) => React.ReactNode;
|
|
20
19
|
}
|
|
21
20
|
export declare const BlockItem: (props: BlockItemProps) => React.JSX.Element;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 ColumnPickerProps } from './column-picker';
|
|
13
|
+
export interface ColumnPickerPopoverProps<TMeta = unknown> extends ColumnPickerProps<TMeta> {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Where the panel opens relative to the trigger. Defaults to `leftTop` so the
|
|
17
|
+
* panel sits beside the trigger without covering a sidebar to its right.
|
|
18
|
+
*/
|
|
19
|
+
placement?: PopoverProps['placement'];
|
|
20
|
+
/**
|
|
21
|
+
* Container the popover is rendered into. Defaults to Ant's body portal.
|
|
22
|
+
* Combined with the default `leftTop` placement the panel opens beside the
|
|
23
|
+
* trigger, clear of any sidebar content. Override to constrain it to a
|
|
24
|
+
* specific container when needed.
|
|
25
|
+
*/
|
|
26
|
+
getPopupContainer?: PopoverProps['getPopupContainer'];
|
|
27
|
+
open?: boolean;
|
|
28
|
+
onOpenChange?: (open: boolean) => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* {@link ColumnPicker} mounted in an anchored, dismissable popover. Stays open
|
|
32
|
+
* across selections so multiple columns can be added in one pass. Placement and
|
|
33
|
+
* popup container are configurable to keep the panel clear of adjacent UI.
|
|
34
|
+
*/
|
|
35
|
+
export declare const ColumnPickerPopover: <TMeta>({ children, placement, getPopupContainer, open, onOpenChange, ...pickerProps }: ColumnPickerPopoverProps<TMeta>) => React.JSX.Element;
|
|
@@ -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 ColumnPickerGroup, type OnColumnPickerSelect } from './column-picker.types';
|
|
12
|
+
export interface ColumnPickerProps<TMeta = unknown> {
|
|
13
|
+
groups: Array<ColumnPickerGroup<TMeta>>;
|
|
14
|
+
onSelect: OnColumnPickerSelect<TMeta>;
|
|
15
|
+
searchable?: boolean;
|
|
16
|
+
searchPlaceholder?: string;
|
|
17
|
+
emptyText?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Stretch the picker to fill its container's height (the tree scrolls within
|
|
20
|
+
* the available space) instead of using the default fixed max-height. Use
|
|
21
|
+
* when embedding the picker as a panel rather than in a popover.
|
|
22
|
+
*/
|
|
23
|
+
fillHeight?: boolean;
|
|
24
|
+
flat?: boolean;
|
|
25
|
+
'data-testid'?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Generic, domain-agnostic column picker: a search field over a tree of
|
|
29
|
+
* grouped, selectable items. The tree is rendered with the shared
|
|
30
|
+
* {@link TreeElement} component so it inherits Studio's standard tree styling.
|
|
31
|
+
* It carries no knowledge of grids or listings — feed it
|
|
32
|
+
* {@link ColumnPickerGroup}s and handle {@link ColumnPickerProps.onSelect}.
|
|
33
|
+
*/
|
|
34
|
+
export declare const ColumnPicker: <TMeta>({ groups, onSelect, searchable, searchPlaceholder, emptyText, fillHeight, flat, "data-testid": dataTestId }: ColumnPickerProps<TMeta>) => 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 { Meta, StoryObj } from '@storybook/react';
|
|
11
|
+
import { ColumnPicker } from './column-picker';
|
|
12
|
+
declare const config: Meta<typeof ColumnPicker>;
|
|
13
|
+
export declare const _default: StoryObj<typeof ColumnPicker>;
|
|
14
|
+
export declare const WithoutSearch: StoryObj<typeof ColumnPicker>;
|
|
15
|
+
export declare const Empty: StoryObj<typeof ColumnPicker>;
|
|
16
|
+
export declare const InPopover: StoryObj<typeof ColumnPicker>;
|
|
17
|
+
export default config;
|
|
@@ -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
|
+
export declare const useStyles: (props?: unknown) => {
|
|
11
|
+
styles: {
|
|
12
|
+
columnPicker: string;
|
|
13
|
+
columnPickerFill: string;
|
|
14
|
+
list: string;
|
|
15
|
+
listFill: string;
|
|
16
|
+
groupTitle: string;
|
|
17
|
+
item: string;
|
|
18
|
+
empty: string;
|
|
19
|
+
};
|
|
20
|
+
cx: import("antd-style/es/types").ClassNamesUtil;
|
|
21
|
+
theme: import("antd-style/lib/types/theme").FullToken;
|
|
22
|
+
};
|
|
@@ -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
|
+
/**
|
|
11
|
+
* A single selectable leaf in the column picker.
|
|
12
|
+
*
|
|
13
|
+
* The component is intentionally agnostic about what a "column" is: `meta`
|
|
14
|
+
* carries an opaque payload that is handed back verbatim to `onSelect`, so the
|
|
15
|
+
* consumer can map it back to its own domain model (e.g. an `AvailableColumn`).
|
|
16
|
+
*/
|
|
17
|
+
export interface ColumnPickerItem<TMeta = unknown> {
|
|
18
|
+
key: string;
|
|
19
|
+
label: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
meta?: TMeta;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A (potentially nested) group of selectable items, rendered as a collapsible
|
|
25
|
+
* category. `children` allows arbitrary nesting to mirror grouped field paths.
|
|
26
|
+
*/
|
|
27
|
+
export interface ColumnPickerGroup<TMeta = unknown> {
|
|
28
|
+
key: string;
|
|
29
|
+
label: string;
|
|
30
|
+
items: Array<ColumnPickerItem<TMeta>>;
|
|
31
|
+
children?: Array<ColumnPickerGroup<TMeta>>;
|
|
32
|
+
}
|
|
33
|
+
export type OnColumnPickerSelect<TMeta = unknown> = (item: ColumnPickerItem<TMeta>) => void;
|
|
@@ -11,7 +11,7 @@ import React from 'react';
|
|
|
11
11
|
import { type IconProps } from '../../components/icon/icon';
|
|
12
12
|
export interface EditableEmptyPlaceholderProps {
|
|
13
13
|
text: string;
|
|
14
|
-
buttonText
|
|
14
|
+
buttonText?: string;
|
|
15
15
|
onClick: () => void;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
icon?: IconProps;
|
|
@@ -33,6 +33,7 @@ export interface TreeNode {
|
|
|
33
33
|
export interface InternalNodeState {
|
|
34
34
|
isExpanded: boolean;
|
|
35
35
|
isLoading?: boolean;
|
|
36
|
+
isOpening?: boolean;
|
|
36
37
|
isSelected: boolean;
|
|
37
38
|
isScrollTo: boolean;
|
|
38
39
|
isFetchTriggered: boolean;
|
|
@@ -57,7 +58,11 @@ export declare const setNodeLoading: import("@reduxjs/toolkit").ActionCreatorWit
|
|
|
57
58
|
nodeId: string;
|
|
58
59
|
elementType: string;
|
|
59
60
|
loading: boolean;
|
|
60
|
-
}, "trees/setNodeLoadingInAllTree">,
|
|
61
|
+
}, "trees/setNodeLoadingInAllTree">, setNodeOpeningInAllTree: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
62
|
+
nodeId: string;
|
|
63
|
+
elementType: string;
|
|
64
|
+
opening: boolean;
|
|
65
|
+
}, "trees/setNodeOpeningInAllTree">, setNodeExpanded: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
61
66
|
treeId: string;
|
|
62
67
|
nodeId: string;
|
|
63
68
|
expanded: boolean;
|
|
@@ -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 AnyFilterDescriptor, type FilterValues } from './types';
|
|
11
|
+
export interface FilterHostAdapter<TContribution, TContext, TQuery> {
|
|
12
|
+
descriptors: ReadonlyArray<AnyFilterDescriptor<TContribution, TContext>>;
|
|
13
|
+
useBuildContext: () => TContext;
|
|
14
|
+
composeIntoQuery: (contributions: TContribution[], baseQuery: TQuery, context: TContext) => TQuery;
|
|
15
|
+
}
|
|
16
|
+
export declare const useFilterQuery: <TContribution, TContext, TQuery>(adapter: FilterHostAdapter<TContribution, TContext, TQuery>, appliedValues: FilterValues) => ((baseQuery: TQuery) => TQuery);
|
|
@@ -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 FilterDescriptor } from './types';
|
|
11
|
+
export declare const defineFilter: <TValue, TContribution = unknown, TContext = unknown>(descriptor: FilterDescriptor<TValue, TContribution, TContext>) => FilterDescriptor<TValue, TContribution, TContext>;
|
|
@@ -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 { type FilterControlProps, type FilterSectionProps, type FilterDescriptor, type AnyFilterDescriptor, type FilterValues } from './types';
|
|
11
|
+
export { defineFilter } from './define-filter';
|
|
12
|
+
export { createFiltersStore, type FiltersStore, type FiltersStoreInstance, type FiltersStoreProviderProps, type FilterValueSeed } from './store/create-filters-store';
|
|
13
|
+
export { useDraftSync } from './store/use-draft-sync';
|
|
14
|
+
export { composeQuery } from './query/compose-query';
|
|
15
|
+
export { FiltersRenderer, type FiltersRendererProps } from './view/filters-renderer';
|
|
16
|
+
export { useFilterQuery, type FilterHostAdapter } from './adapter';
|
|
@@ -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 AnyFilterDescriptor, type FilterValues } from '../types';
|
|
11
|
+
export declare const composeQuery: <TContribution, TContext>(descriptors: ReadonlyArray<AnyFilterDescriptor<TContribution, TContext>>, values: FilterValues, context: TContext) => TContribution[];
|
|
@@ -0,0 +1,32 @@
|
|
|
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 FC, type ReactNode } from 'react';
|
|
11
|
+
import { type FilterValues } from '../types';
|
|
12
|
+
export interface FilterValueSeed {
|
|
13
|
+
key: string;
|
|
14
|
+
defaultValue: unknown;
|
|
15
|
+
}
|
|
16
|
+
export interface FiltersStore {
|
|
17
|
+
values: FilterValues;
|
|
18
|
+
setValue: (key: string, value: unknown) => void;
|
|
19
|
+
setValues: (values: FilterValues) => void;
|
|
20
|
+
reset: () => void;
|
|
21
|
+
}
|
|
22
|
+
export interface FiltersStoreProviderProps {
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
descriptors: readonly FilterValueSeed[];
|
|
25
|
+
initialValues?: FilterValues;
|
|
26
|
+
}
|
|
27
|
+
export interface FiltersStoreInstance {
|
|
28
|
+
FiltersStoreProvider: FC<FiltersStoreProviderProps>;
|
|
29
|
+
useFiltersStore: () => FiltersStore;
|
|
30
|
+
useFiltersStoreOptional: () => FiltersStore | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare const createFiltersStore: () => FiltersStoreInstance;
|
|
@@ -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 FilterValues } from '../types';
|
|
11
|
+
import { type FiltersStore } from './create-filters-store';
|
|
12
|
+
export declare const useDraftSync: (appliedValues: FilterValues, draftStore: Pick<FiltersStore, "setValues">) => void;
|
|
@@ -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 ReactNode, type FC } from 'react';
|
|
11
|
+
export interface FilterControlProps<TValue> {
|
|
12
|
+
value: TValue;
|
|
13
|
+
onChange: (value: TValue) => void;
|
|
14
|
+
}
|
|
15
|
+
export interface FilterSectionProps<TValue, TContext> extends FilterControlProps<TValue> {
|
|
16
|
+
context: TContext;
|
|
17
|
+
}
|
|
18
|
+
export interface FilterDescriptor<TValue = unknown, TContribution = unknown, TContext = unknown> {
|
|
19
|
+
key: string;
|
|
20
|
+
defaultValue: TValue;
|
|
21
|
+
order?: number;
|
|
22
|
+
section?: string;
|
|
23
|
+
isEnabled: (context: TContext) => boolean;
|
|
24
|
+
isVisible?: (context: TContext) => boolean;
|
|
25
|
+
Control?: FC<FilterControlProps<TValue>>;
|
|
26
|
+
renderSection?: (props: FilterSectionProps<TValue, TContext>) => ReactNode;
|
|
27
|
+
toQuery?: (value: TValue, context: TContext) => TContribution | undefined;
|
|
28
|
+
}
|
|
29
|
+
export type AnyFilterDescriptor<TContribution = unknown, TContext = unknown> = FilterDescriptor<any, TContribution, TContext>;
|
|
30
|
+
export type FilterValues = Record<string, unknown>;
|
|
@@ -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 React from 'react';
|
|
11
|
+
import { type AnyFilterDescriptor } from '../types';
|
|
12
|
+
import { type FiltersStore } from '../../../components/filters';
|
|
13
|
+
export interface FiltersRendererProps<TContext> {
|
|
14
|
+
descriptors: ReadonlyArray<AnyFilterDescriptor<unknown, TContext>>;
|
|
15
|
+
context: TContext;
|
|
16
|
+
store: FiltersStore;
|
|
17
|
+
section?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function FiltersRenderer<TContext>({ descriptors, context, store, section }: Readonly<FiltersRendererProps<TContext>>): React.JSX.Element;
|
|
@@ -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 {};
|
|
@@ -20,12 +20,21 @@ export interface KeyedListData {
|
|
|
20
20
|
onChange?: (value: KeyedListData['values']) => void;
|
|
21
21
|
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export interface KeyedListStore {
|
|
24
|
+
subscribe: (listener: () => void) => () => void;
|
|
25
|
+
getSnapshot: () => KeyedListData['values'];
|
|
26
|
+
}
|
|
27
|
+
export interface KeyedListContextValue {
|
|
28
|
+
operations: KeyedListData['operations'];
|
|
29
|
+
store: KeyedListStore;
|
|
30
|
+
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
31
|
+
}
|
|
32
|
+
export type KeyedListContextProps = KeyedListContextValue | undefined;
|
|
24
33
|
export declare const KeyedListContext: React.Context<KeyedListContextProps>;
|
|
25
34
|
export interface KeyedListProviderProps {
|
|
26
35
|
children: React.ReactNode;
|
|
27
|
-
|
|
36
|
+
store: KeyedListStore;
|
|
28
37
|
operations: KeyedListData['operations'];
|
|
29
38
|
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
30
39
|
}
|
|
31
|
-
export declare const KeyedListProvider: ({ children,
|
|
40
|
+
export declare const KeyedListProvider: ({ children, store, operations, getAdditionalComponentProps }: KeyedListProviderProps) => React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 NamePath } from 'antd/es/form/interface';
|
|
11
|
+
import { type KeyedListContextValue } from './keyed-list-provider';
|
|
12
|
+
export declare const useKeyedListContext: () => KeyedListContextValue;
|
|
13
|
+
export declare const useKeyedListValue: (name: NamePath) => any;
|
|
14
|
+
export declare const useKeyedListSelector: <T = any>(selector: (values: Record<string, any>) => T) => T;
|
|
@@ -7,8 +7,12 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import { type NamePath } from 'antd/es/form/interface';
|
|
10
11
|
import { type KeyedListData } from './keyed-list-provider';
|
|
11
|
-
export interface UseKeyedListReturn
|
|
12
|
+
export interface UseKeyedListReturn {
|
|
13
|
+
values: KeyedListData['values'];
|
|
14
|
+
operations: KeyedListData['operations'];
|
|
15
|
+
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
12
16
|
getValueByKey: (key: string) => any;
|
|
13
17
|
}
|
|
14
18
|
export declare const useKeyedList: () => UseKeyedListReturn;
|
package/dist/build/types/src/core/components/form/controls/numbered-list/numbered-list.test.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export {};
|