@pimcore/studio-ui-bundle 2025.4.5 → 2025.4.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
|
@@ -21,13 +21,23 @@ export interface NumberedListData {
|
|
|
21
21
|
onChange?: (value: NumberedListData['values']) => void;
|
|
22
22
|
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
23
23
|
}
|
|
24
|
-
export
|
|
24
|
+
export interface NumberedListStore {
|
|
25
|
+
subscribe: (listener: () => void) => () => void;
|
|
26
|
+
getSnapshot: () => NumberedListData['values'];
|
|
27
|
+
}
|
|
28
|
+
export interface NumberedListContextValue {
|
|
29
|
+
operations: NumberedListData['operations'];
|
|
30
|
+
store: NumberedListStore;
|
|
31
|
+
onChange?: (value: NumberedListData['values']) => void;
|
|
32
|
+
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
33
|
+
}
|
|
34
|
+
export type NumberedListContextProps = NumberedListContextValue | undefined;
|
|
25
35
|
export declare const NumberedListContext: React.Context<NumberedListContextProps>;
|
|
26
36
|
export interface NumberedListProviderProps {
|
|
27
37
|
children: React.ReactNode;
|
|
28
|
-
|
|
38
|
+
store: NumberedListStore;
|
|
29
39
|
operations: NumberedListData['operations'];
|
|
30
40
|
onChange?: (value: NumberedListData['values']) => void;
|
|
31
41
|
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
32
42
|
}
|
|
33
|
-
export declare const NumberedListProvider: ({ children,
|
|
43
|
+
export declare const NumberedListProvider: ({ children, store, operations, onChange, getAdditionalComponentProps }: NumberedListProviderProps) => 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 NumberedListContextValue } from './numbered-list-provider';
|
|
12
|
+
export declare const useNumberedListContext: () => NumberedListContextValue;
|
|
13
|
+
export declare const useNumberedListValue: (name: NamePath) => any;
|
|
14
|
+
export declare const useNumberedListSelector: <T = any>(selector: (values: any[]) => T) => T;
|
|
@@ -7,8 +7,13 @@
|
|
|
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 NumberedListData } from './numbered-list-provider';
|
|
11
|
-
export interface UseNumberedListReturn
|
|
12
|
+
export interface UseNumberedListReturn {
|
|
13
|
+
values: NumberedListData['values'];
|
|
14
|
+
operations: NumberedListData['operations'];
|
|
15
|
+
onChange?: (value: NumberedListData['values']) => void;
|
|
16
|
+
getAdditionalComponentProps?: (name: NamePath) => Record<string, any>;
|
|
12
17
|
getValueByKey: (key: string) => any;
|
|
13
18
|
}
|
|
14
19
|
export declare const useNumberedList: () => UseNumberedListReturn;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
interface FormattedDateProps {
|
|
12
12
|
timestamp: number;
|
|
13
|
+
timeStyle?: 'short' | 'medium' | 'long' | 'full';
|
|
13
14
|
}
|
|
14
15
|
declare const FormattedDateTime: (props: FormattedDateProps) => React.JSX.Element;
|
|
15
16
|
export { FormattedDateTime };
|
|
@@ -8,9 +8,17 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
+
import { type FlexProps } from 'antd';
|
|
12
|
+
import { type BoxProps } from '../../components/box/box';
|
|
11
13
|
export interface HeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
14
|
icon?: React.JSX.Element;
|
|
13
15
|
fullWidth?: boolean;
|
|
14
|
-
title
|
|
16
|
+
title?: string;
|
|
17
|
+
justify?: FlexProps['justify'];
|
|
18
|
+
align?: FlexProps['align'];
|
|
19
|
+
position?: 'top' | 'bottom' | 'content' | 'none';
|
|
20
|
+
borderStyle?: 'default' | 'primary';
|
|
21
|
+
padding?: BoxProps['padding'];
|
|
22
|
+
margin?: BoxProps['margin'];
|
|
15
23
|
}
|
|
16
24
|
export declare const Header: (props: HeaderProps) => React.JSX.Element;
|
|
@@ -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 { Header } from '../../components/header/header';
|
|
11
|
+
import { type StoryObj, type Meta } from '@storybook/react';
|
|
12
|
+
declare const config: Meta;
|
|
13
|
+
export default config;
|
|
14
|
+
type Story = StoryObj<typeof Header>;
|
|
15
|
+
export declare const _default: Story;
|
|
16
|
+
export declare const WithActions: Story;
|
|
17
|
+
export declare const WithActionsAndBorder: Story;
|
|
18
|
+
export declare const OnlyTitle: Story;
|
|
19
|
+
export declare const OnlyTitleWithIcon: Story;
|
|
@@ -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 {};
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import React from 'react';
|
|
10
11
|
import { type Meta } from '@storybook/react';
|
|
11
12
|
declare const config: Meta;
|
|
12
13
|
export default config;
|
|
@@ -19,3 +20,30 @@ export declare const _default: {
|
|
|
19
20
|
};
|
|
20
21
|
};
|
|
21
22
|
};
|
|
23
|
+
export declare const WithDropdownItems: {
|
|
24
|
+
args: {
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
style: {
|
|
28
|
+
border: string;
|
|
29
|
+
};
|
|
30
|
+
dropdownItems: ({
|
|
31
|
+
key: string;
|
|
32
|
+
label: string;
|
|
33
|
+
icon: React.JSX.Element;
|
|
34
|
+
type?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
type: string;
|
|
37
|
+
key: string;
|
|
38
|
+
label?: undefined;
|
|
39
|
+
icon?: undefined;
|
|
40
|
+
})[];
|
|
41
|
+
};
|
|
42
|
+
parameters: {
|
|
43
|
+
docs: {
|
|
44
|
+
description: {
|
|
45
|
+
story: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -29,6 +29,14 @@ export declare const InputWithInitialValue: {
|
|
|
29
29
|
initialValue: string;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
+
export declare const InputWithWarning: {
|
|
33
|
+
args: {
|
|
34
|
+
type: string;
|
|
35
|
+
title: string;
|
|
36
|
+
label: string;
|
|
37
|
+
warningMessage: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
32
40
|
export declare const Confirmation: {
|
|
33
41
|
args: {
|
|
34
42
|
type: string;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 ModalFuncProps } from 'antd';
|
|
11
|
+
import { type Rule } from 'antd/lib/form';
|
|
12
|
+
export type ConfigUpdate = ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps);
|
|
13
|
+
export type InputFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
14
|
+
label?: string;
|
|
15
|
+
rule?: Rule;
|
|
16
|
+
initialValue?: string;
|
|
17
|
+
warningMessage?: string;
|
|
18
|
+
};
|
|
19
|
+
export type TextareaFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
20
|
+
label?: string;
|
|
21
|
+
initialValue?: string;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
};
|
|
24
|
+
export interface UploadFormModalProps extends Omit<InputFormModalProps, 'initialValues'> {
|
|
25
|
+
accept?: string;
|
|
26
|
+
}
|
|
27
|
+
export type ConfirmFormModalProps = ModalFuncProps & {
|
|
28
|
+
dontAskAgainKey?: string;
|
|
29
|
+
};
|
|
30
|
+
export interface UseFormModalHookResponse {
|
|
31
|
+
input: (props: InputFormModalProps) => {
|
|
32
|
+
destroy: () => void;
|
|
33
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
34
|
+
};
|
|
35
|
+
textarea: (props: TextareaFormModalProps) => {
|
|
36
|
+
destroy: () => void;
|
|
37
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
38
|
+
};
|
|
39
|
+
confirm: (props: ConfirmFormModalProps) => {
|
|
40
|
+
destroy: () => void;
|
|
41
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
42
|
+
};
|
|
43
|
+
upload: (props: UploadFormModalProps) => {
|
|
44
|
+
destroy: () => void;
|
|
45
|
+
update: (configUpdate: ConfigUpdate) => void;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -9,45 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type ModalFuncProps } from 'antd';
|
|
12
|
-
import {
|
|
13
|
-
export type ConfigUpdate
|
|
14
|
-
export type InputFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
15
|
-
label?: string;
|
|
16
|
-
rule?: Rule;
|
|
17
|
-
initialValue?: string;
|
|
18
|
-
};
|
|
19
|
-
export type TextareaFormModalProps = Omit<ModalFuncProps, 'content'> & {
|
|
20
|
-
label?: string;
|
|
21
|
-
initialValue?: string;
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
};
|
|
24
|
-
interface UploadFormModalProps extends Omit<InputFormModalProps, 'initialValues'> {
|
|
25
|
-
accept?: string;
|
|
26
|
-
}
|
|
27
|
-
export type ConfirmFormModalProps = ModalFuncProps & {
|
|
28
|
-
dontAskAgainKey?: string;
|
|
29
|
-
};
|
|
30
|
-
export interface UseFormModalHookResponse {
|
|
31
|
-
input: (props: InputFormModalProps) => {
|
|
32
|
-
destroy: () => void;
|
|
33
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
34
|
-
};
|
|
35
|
-
textarea: (props: TextareaFormModalProps) => {
|
|
36
|
-
destroy: () => void;
|
|
37
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
38
|
-
};
|
|
39
|
-
confirm: (props: ConfirmFormModalProps) => {
|
|
40
|
-
destroy: () => void;
|
|
41
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
42
|
-
};
|
|
43
|
-
upload: (props: UploadFormModalProps) => {
|
|
44
|
-
destroy: () => void;
|
|
45
|
-
update: (configUpdate: ConfigUpdate) => void;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
12
|
+
import type { InputFormModalProps, TextareaFormModalProps, ConfirmFormModalProps, UseFormModalHookResponse, UploadFormModalProps } from './form-modal-types';
|
|
13
|
+
export type { ConfigUpdate, InputFormModalProps, TextareaFormModalProps, ConfirmFormModalProps, UseFormModalHookResponse } from './form-modal-types';
|
|
48
14
|
export declare function useFormModal(): UseFormModalHookResponse;
|
|
49
15
|
export declare function withInput(props: InputFormModalProps, onKeyBoardSubmit: any, onSetModalLoading: any): ModalFuncProps;
|
|
50
16
|
export declare function withTextarea(props: TextareaFormModalProps): ModalFuncProps;
|
|
51
17
|
export declare function withConfirm(props: ConfirmFormModalProps, dontAskAgainRef: React.MutableRefObject<boolean>): ModalFuncProps;
|
|
52
18
|
export declare function withUpload(props: UploadFormModalProps): ModalFuncProps;
|
|
53
|
-
export {};
|
|
@@ -54,6 +54,8 @@ export interface ModalUploadPropsBase {
|
|
|
54
54
|
* time rather than at render time.
|
|
55
55
|
*/
|
|
56
56
|
skipConflictCheck?: boolean | React.RefObject<boolean>;
|
|
57
|
+
/** Set `current` to `false` inside `onSuccess` to suppress the upload success toast. */
|
|
58
|
+
showSuccessMessage?: React.MutableRefObject<boolean>;
|
|
57
59
|
}
|
|
58
60
|
interface ModalUploadPropsWithAction extends ModalUploadPropsBase {
|
|
59
61
|
action: string;
|
|
@@ -12,7 +12,7 @@ import { type DropdownProps } from '../dropdown/dropdown';
|
|
|
12
12
|
import { type ElementIcon } from '../../modules/asset/asset-api-slice.gen';
|
|
13
13
|
export declare enum SizeTypes {
|
|
14
14
|
SMALL = "small",
|
|
15
|
-
|
|
15
|
+
LARGE = "large"
|
|
16
16
|
}
|
|
17
17
|
interface PreviewCardProps {
|
|
18
18
|
name: string;
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
export declare const useStyle: (props?: unknown) => {
|
|
11
11
|
styles: {
|
|
12
12
|
card: string;
|
|
13
|
-
|
|
13
|
+
cardLarge: string;
|
|
14
14
|
imgContainer: string;
|
|
15
|
-
|
|
15
|
+
imgContainerLarge: string;
|
|
16
16
|
img: string;
|
|
17
|
-
|
|
17
|
+
imgLarge: string;
|
|
18
18
|
dropdownButton: string;
|
|
19
19
|
metaBlock: string;
|
|
20
20
|
};
|
|
@@ -14,6 +14,7 @@ export interface TagProps extends AntTagPropsProps, React.RefAttributes<HTMLSpan
|
|
|
14
14
|
iconName?: string;
|
|
15
15
|
className?: string;
|
|
16
16
|
theme?: TagTheme;
|
|
17
|
+
colorInverted?: string;
|
|
17
18
|
}
|
|
18
19
|
export type TagTheme = 'transparent';
|
|
19
20
|
export declare const Tag: React.ForwardRefExoticComponent<Omit<TagProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -70,3 +70,18 @@ export declare const TagWithBadge: {
|
|
|
70
70
|
icon: React.JSX.Element;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
+
export declare const ColorInverted: {
|
|
74
|
+
args: {
|
|
75
|
+
colorInverted: string;
|
|
76
|
+
children: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const ColorInvertedGreen: {
|
|
80
|
+
args: {
|
|
81
|
+
colorInverted: string;
|
|
82
|
+
children: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export declare const ColorInvertedMultiple: {
|
|
86
|
+
render: () => React.JSX.Element;
|
|
87
|
+
};
|
|
@@ -16,7 +16,7 @@ export interface ToolbarProps {
|
|
|
16
16
|
align?: FlexProps['align'];
|
|
17
17
|
theme?: 'primary' | 'secondary';
|
|
18
18
|
borderStyle?: 'default' | 'primary';
|
|
19
|
-
position?: 'top' | 'bottom' | 'content';
|
|
19
|
+
position?: 'top' | 'bottom' | 'content' | 'none';
|
|
20
20
|
size?: 'small' | 'auto' | 'default';
|
|
21
21
|
padding?: BoxProps['padding'];
|
|
22
22
|
margin?: BoxProps['margin'];
|
|
@@ -14,8 +14,7 @@ export default config;
|
|
|
14
14
|
type Story = StoryObj<typeof Toolbar>;
|
|
15
15
|
export declare const _default: Story;
|
|
16
16
|
export declare const Secondary: Story;
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const SpaceBetweenSearch: Story;
|
|
17
|
+
export declare const Small: Story;
|
|
18
|
+
export declare const PositionTop: Story;
|
|
20
19
|
export declare const RightAligned: Story;
|
|
21
20
|
export declare const LeftAligned: Story;
|
|
@@ -8,12 +8,9 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { type TreeAction } from '../../../sdk/components';
|
|
12
11
|
export interface ITreeElementItemProps {
|
|
13
12
|
title: string;
|
|
14
|
-
actions?: TreeAction[];
|
|
15
13
|
onSelected?: () => void;
|
|
16
|
-
onActionsClick?: (action: string, title: string) => void;
|
|
17
14
|
}
|
|
18
|
-
declare const TreeElementItem: ({ title,
|
|
15
|
+
declare const TreeElementItem: ({ title, onSelected }: ITreeElementItemProps) => React.JSX.Element;
|
|
19
16
|
export { TreeElementItem };
|
|
@@ -10,17 +10,18 @@
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import type { RoleGetCollectionApiResponse } from '../../modules/user/roles/roles-api-slice.gen';
|
|
12
12
|
import type { UserGetCollectionApiResponse } from '../../modules/auth/user/user-api-slice.gen';
|
|
13
|
-
interface
|
|
13
|
+
export interface UsersRolesChange {
|
|
14
|
+
sharedUsers: number[];
|
|
15
|
+
sharedRoles: number[];
|
|
16
|
+
}
|
|
17
|
+
export interface IUsersRolesDropdownProps {
|
|
14
18
|
roleList?: RoleGetCollectionApiResponse;
|
|
15
|
-
initialSharedRoles
|
|
19
|
+
initialSharedRoles?: number[];
|
|
16
20
|
userList?: UserGetCollectionApiResponse;
|
|
17
|
-
initialSharedUsers
|
|
18
|
-
|
|
19
|
-
handleApplyChanges: ({ sharedUsers, sharedRoles }: {
|
|
20
|
-
sharedUsers: number[];
|
|
21
|
-
sharedRoles: number[];
|
|
22
|
-
}) => void;
|
|
21
|
+
initialSharedUsers?: number[];
|
|
22
|
+
onChange: (change: UsersRolesChange) => void;
|
|
23
23
|
placement?: 'top' | 'bottom';
|
|
24
|
+
renderAsPopup?: boolean;
|
|
25
|
+
onClose?: () => void;
|
|
24
26
|
}
|
|
25
|
-
export declare const UsersRolesDropdown: ({ userList, initialSharedUsers, roleList, initialSharedRoles,
|
|
26
|
-
export {};
|
|
27
|
+
export declare const UsersRolesDropdown: ({ userList, initialSharedUsers, roleList, initialSharedRoles, onChange, placement, renderAsPopup, onClose }: IUsersRolesDropdownProps) => React.JSX.Element;
|
package/dist/build/types/src/core/components/users-roles-dropdown/users-roles-dropdown.styles.d.ts
CHANGED
|
@@ -12,8 +12,9 @@ export declare const useStyles: (props?: unknown) => {
|
|
|
12
12
|
dropdown: string;
|
|
13
13
|
dropdownBottom: string;
|
|
14
14
|
dropdownTop: string;
|
|
15
|
+
popupHeader: string;
|
|
15
16
|
tabs: string;
|
|
16
|
-
|
|
17
|
+
clearOption: string;
|
|
17
18
|
};
|
|
18
19
|
cx: import("antd-style/es/types").ClassNamesUtil;
|
|
19
20
|
theme: import("antd-style/lib/types/theme").FullToken;
|
|
@@ -8,4 +8,7 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
export
|
|
11
|
+
export interface AppViewProps {
|
|
12
|
+
themeId?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const AppView: ({ themeId }?: AppViewProps) => React.JSX.Element;
|
|
@@ -21,6 +21,11 @@ export declare const studioDefaultLightThemeConfig: {
|
|
|
21
21
|
colorFill: string;
|
|
22
22
|
colorFillQuaternary: string;
|
|
23
23
|
colorBgLayout: string;
|
|
24
|
+
colorBgCanvas: string;
|
|
25
|
+
colorBgLogoOrbit: string;
|
|
26
|
+
colorBgMainNavColumn: string;
|
|
27
|
+
colorBorderFieldset: string;
|
|
28
|
+
colorBgFieldset: string;
|
|
24
29
|
colorBgSpotlight: string;
|
|
25
30
|
colorPrimary: string;
|
|
26
31
|
fontSize: number;
|
|
@@ -31,6 +36,7 @@ export declare const studioDefaultLightThemeConfig: {
|
|
|
31
36
|
colorBorderActive: string;
|
|
32
37
|
colorLogo: string;
|
|
33
38
|
colorBorderTertiary: string;
|
|
39
|
+
colorBorderPanelTitle: string;
|
|
34
40
|
colorTextTreeElement: string;
|
|
35
41
|
colorIconTree: string;
|
|
36
42
|
colorIconTreeUnpublished: string;
|
|
@@ -38,6 +44,7 @@ export declare const studioDefaultLightThemeConfig: {
|
|
|
38
44
|
paddingTabs: number;
|
|
39
45
|
colorTextSidebarTitle: string;
|
|
40
46
|
colorBgToolbar: string;
|
|
47
|
+
colorBgToolstrip: string;
|
|
41
48
|
colorFillActive: string;
|
|
42
49
|
colorFillAdditional: string;
|
|
43
50
|
colorBgSidebarOptions: string;
|
|
@@ -190,6 +197,8 @@ export declare const studioDefaultLightThemeConfig: {
|
|
|
190
197
|
colorBgSelectedTab: string;
|
|
191
198
|
itemColor: string;
|
|
192
199
|
itemActiveColor: string;
|
|
200
|
+
itemSelectedColor: string;
|
|
201
|
+
inkBarColor: string;
|
|
193
202
|
itemHoverColor: string;
|
|
194
203
|
itemUnselectedIconColor: string;
|
|
195
204
|
colorBorderActiveTab: string;
|
|
@@ -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
|
+
/**
|
|
11
|
+
* Query parameter used to select the theme via URL. The value must be the id
|
|
12
|
+
* of a registered theme, e.g. `?theme=studio-default-light`.
|
|
13
|
+
*/
|
|
14
|
+
export declare const themeUrlParameter = "theme";
|
|
15
|
+
/**
|
|
16
|
+
* Resolve the theme id requested through the URL query string.
|
|
17
|
+
*
|
|
18
|
+
* Returns `undefined` when no theme parameter is present so that the default
|
|
19
|
+
* theme is applied.
|
|
20
|
+
*/
|
|
21
|
+
export declare const getThemeIdFromUrl: (search?: string) => string | undefined;
|