@pimcore/studio-ui-bundle 0.9.30 → 0.10.21
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/config/services/service-ids.d.ts +20 -0
- package/dist/build/types/src/core/app/public-api/document/document-api.d.ts +2 -0
- package/dist/build/types/src/core/app/public-api/document/iframe-registry.d.ts +1 -0
- package/dist/build/types/src/core/app/public-api/document-editor-iframe/editable-data/editable-data.d.ts +8 -1
- package/dist/build/types/src/core/components/asset-target/asset-target.d.ts +2 -1
- package/dist/build/types/src/core/components/drag-and-drop/droppable/base-droppable.d.ts +2 -1
- package/dist/build/types/src/core/components/drag-and-drop/droppable.d.ts +5 -0
- package/dist/build/types/src/core/components/drag-and-drop/hooks/use-drop-class-handlers.d.ts +21 -0
- package/dist/build/types/src/core/components/dropdown/dropdown-inner-drop-class.d.ts +15 -0
- package/dist/build/types/src/core/components/dropdown/dropdown.d.ts +2 -1
- package/dist/build/types/src/core/components/dropdown/dropdown.stories.d.ts +1 -0
- package/dist/build/types/src/core/components/dropdown/dropdown.styles.d.ts +1 -0
- package/dist/build/types/src/core/components/dynamic-filter/provider/dynamic-filter-provider.d.ts +2 -1
- package/dist/build/types/src/core/components/element-tree/element-tree-slice.d.ts +4 -1
- package/dist/build/types/src/core/components/element-tree/element-tree.d.ts +1 -0
- package/dist/build/types/src/core/components/element-tree/node/content/tree-node-content.d.ts +3 -0
- package/dist/build/types/src/core/components/element-tree/node/content/tree-node-lock-icon.d.ts +12 -0
- package/dist/build/types/src/core/components/element-tree/tooltip/element-tree-tooltip.d.ts +16 -0
- package/dist/build/types/src/core/components/form/hooks/use-debounced-form-change.d.ts +19 -0
- package/dist/build/types/src/core/components/form/services/debounced-form-registry.d.ts +22 -0
- package/dist/build/types/src/core/components/grid/grid.d.ts +1 -1
- package/dist/build/types/src/core/components/icon/icon.styles.d.ts +1 -0
- package/dist/build/types/src/core/components/many-to-many-relation/hooks/use-value.d.ts +1 -1
- package/dist/build/types/src/core/components/many-to-many-relation/many-to-many-relation.d.ts +1 -0
- package/dist/build/types/src/core/components/many-to-many-relation/utils/helpers.d.ts +1 -0
- package/dist/build/types/src/core/components/many-to-one-relation/many-to-one-relation.d.ts +1 -0
- package/dist/build/types/src/core/components/select/select.d.ts +2 -0
- package/dist/build/types/src/core/components/select/select.stories.d.ts +6 -0
- package/dist/build/types/src/core/components/select/select.styles.d.ts +3 -0
- package/dist/build/types/src/core/components/stack-list/stack-list-item.d.ts +1 -0
- package/dist/build/types/src/core/lib/event-bus/event-types.d.ts +20 -0
- package/dist/build/types/src/core/lib/event-bus/index.d.ts +2 -2
- package/dist/build/types/src/core/modules/app/component-registry/component-config.d.ts +94 -0
- package/dist/build/types/src/core/modules/app/context-menu-registry/context-menu-config.d.ts +157 -0
- package/dist/build/types/src/core/modules/app/context-menu-registry/context-menu-registry.d.ts +24 -0
- package/dist/build/types/src/core/modules/app/context-menu-registry/context-types.d.ts +53 -0
- package/dist/build/types/src/core/modules/app/context-menu-registry/index.d.ts +12 -0
- package/dist/build/types/src/core/{components/workflow-card/workflow-card.stories.d.ts → modules/app/context-menu-registry/use-context-menu-slot.d.ts} +2 -6
- package/dist/build/types/src/core/modules/app/error-handler/classes/api-error.d.ts +0 -6
- package/dist/build/types/src/core/modules/app/error-handler/types.d.ts +6 -0
- package/dist/build/types/src/core/modules/app/theme/dynamic-types/definitions/studio-default-light/dynamic-type-theme-studio-default-light.d.ts +1 -0
- package/dist/build/types/src/core/modules/app/translations/translations-api-slice-enhanced.d.ts +1 -1
- package/dist/build/types/src/core/modules/app/translations/translations-api-slice.gen.d.ts +1 -1
- package/dist/build/types/src/core/modules/asset/editor/index.d.ts +2 -0
- package/dist/build/types/src/core/modules/asset/editor/toolbar/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/asset/editor/types/folder/tab-manager/tabs/preview/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/asset/index.d.ts +1 -0
- package/dist/build/types/src/core/modules/asset/listing/decorator/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/asset/tree/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/asset/tree/index.d.ts +1 -1
- package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice-enhanced.d.ts +263 -0
- package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice.gen.d.ts +143 -0
- package/dist/build/types/src/core/modules/data-object/editor/index.d.ts +1 -0
- package/dist/build/types/src/core/modules/data-object/editor/shared-tab-manager/tabs/versions/version-view-container.d.ts +11 -0
- package/dist/build/types/src/core/modules/data-object/editor/toolbar/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/data-object/index.d.ts +1 -0
- package/dist/build/types/src/core/modules/data-object/listing/batch-actions/batch-edit-modal/hooks/use-batch-edit.d.ts +3 -2
- package/dist/build/types/src/core/modules/data-object/listing/decorator/class-definition-selection/context-layer/provider/use-class-definition-selection.d.ts +1 -0
- package/dist/build/types/src/core/modules/data-object/listing/decorator/column-configuration/view-layer/components/grid/hooks/use-grid-options/tabs/grid-config/forms/advanced-column-form/preview/preview-loader.d.ts +1 -1
- package/dist/build/types/src/core/modules/data-object/listing/decorator/column-configuration/view-layer/components/grid/hooks/use-grid-options/tabs/grid-config/hooks/use-grid-config.d.ts +1 -0
- package/dist/build/types/src/core/modules/data-object/listing/decorator/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/data-object/tree/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/data-object/tree/index.d.ts +1 -1
- package/dist/build/types/src/core/modules/document/actions/convert/use-convert.d.ts +1 -2
- package/dist/build/types/src/core/modules/document/actions/paste/use-paste.d.ts +2 -17
- package/dist/build/types/src/core/modules/document/actions/translations/components/new-translation-modal.d.ts +27 -0
- package/dist/build/types/src/core/modules/document/document-api-slice-enhanced.d.ts +160 -0
- package/dist/build/types/src/core/modules/document/editor/index.d.ts +1 -0
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/components/draft-alert/draft-alert.d.ts +11 -0
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/components/editables-renderer/required-field-wrapper.d.ts +18 -0
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/components/editables-renderer/required-field-wrapper.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/iframe-app/styles/global.styles.d.ts +10 -0
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/content-settings/content-settings-form.d.ts +3 -1
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/document-configuration/document-configuration-form.d.ts +2 -1
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/email-settings/email-settings-form.d.ts +2 -1
- package/dist/build/types/src/core/modules/document/editor/sidebar/visibility/content-settings-visibility.d.ts +16 -0
- package/dist/build/types/src/core/modules/document/editor/sidebar/visibility/document-permission-helper.d.ts +21 -0
- package/dist/build/types/src/core/modules/document/editor/sidebar/visibility/navigation-visibility.d.ts +16 -0
- package/dist/build/types/src/core/modules/document/editor/toolbar/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/document/hooks/use-required-fields-validation.d.ts +15 -0
- package/dist/build/types/src/core/modules/document/services/document-required-fields-validation-service.d.ts +23 -0
- package/dist/build/types/src/core/modules/document/services/index.d.ts +1 -0
- package/dist/build/types/src/core/modules/document/tree/context-menu/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/document/tree/index.d.ts +1 -1
- package/dist/build/types/src/core/modules/document/tree/node/content/tree-node-navigation-exclude-icon.d.ts +12 -0
- package/dist/build/types/src/core/modules/document/utils/document-debounce-tag.d.ts +17 -0
- package/dist/build/types/src/core/modules/element/actions/lock/use-lock.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/actions/unpublish/use-unpublish.d.ts +1 -1
- package/dist/build/types/src/core/{components → modules/element/components}/element-toolbar/element-toolbar.d.ts +1 -1
- package/dist/build/types/src/core/{components → modules/element/components}/element-toolbar/element-toolbar.styles.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/components/system-info-modal/system-info-modal.d.ts +28 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/batch-edits/classification-store/dynamic-type-batch-edit-classification-store-component.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/batch-edits/types/classification-store/dynamic-type-batch-edit-classification-store.d.ts +15 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/content-editable/content-editable.d.ts +1 -2
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/content-editable/content-editable.styles.d.ts +0 -4
- 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 +2 -2
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/image-editable/image-editable.d.ts +2 -22
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/dynamic-type-document-editable-abstract.d.ts +21 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/responsive-asset-preview/responsive-asset-preview.d.ts +2 -2
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/hooks/use-pending-elements-reveal.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-image.d.ts +2 -47
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-input.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-link.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-numeric.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-select.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-textarea.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-video.d.ts +6 -4
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-wysiwyg.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/image-editable-types.d.ts +50 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/utils/asset-thumbnail-sizing.d.ts +0 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/field-filters/dynamic-type-field-filter-abstract.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/field-filters/types/classification-store/dynamic-type-field-filter-classification-store.d.ts +18 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/types/array/dynamic-type-grid-cell-array.d.ts +13 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/types/classificationstore/dynamic-type-grid-cell-classificationstore.d.ts +13 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/types/data-object-adapter/dynamic-type-grid-cell-data-object-adapter.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/types/error/dynamic-type-grid-cell-error.d.ts +13 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/types/integer/dynamic-type-grid-cell-integer.d.ts +13 -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 +3 -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 +27 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/classification-store/provider/classifcation-store-modal-provider.d.ts +33 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/hotspot-image/utils/value-data.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/helpers/relations/allowed-types.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/dynamic-type-pipeline-abstract.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/anonymizer/anonymizer.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/blur/blur.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/boolean-formatter/boolean-formatter.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/date-formatter/date-formatter.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/explode/explode.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/string-replace/string-replace.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/substring/substring.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/translate/translate.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/trim/trim.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/components/twig-operator/twig-operator.d.ts +11 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/anonymizer/anonymizer.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/blur/blur.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/boolean-formatter/boolean-formatter.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/change-case/change-case.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/combine/combine.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/date-formatter/date-formatter.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/element-counter/element-counter.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/explode/explode.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/string-replace/string-replace.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/substring/substring.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/translate/translate.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/trim/trim.d.ts +16 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/pipelines/grid/transformers/types/twig-operator/twig-operator.d.ts +16 -0
- package/dist/build/types/src/core/{components/workflow-card → modules/element/editor/shared-components/workflow/card}/types.d.ts +1 -1
- package/dist/build/types/src/core/modules/{asset/editor/toolbar/workflow-log-modal → element/editor/shared-components/workflow/log-modal}/hooks/use-submit-workflow.d.ts +1 -1
- package/dist/build/types/src/core/modules/{asset/editor/toolbar/workflow-log-modal → element/editor/shared-components/workflow/log-modal}/hooks/use-workflow.d.ts +2 -2
- package/dist/build/types/src/core/modules/{asset/editor/toolbar/workflow-log-modal → element/editor/shared-components/workflow/log-modal}/workflow-provider.d.ts +1 -1
- package/dist/build/types/src/core/modules/{asset/editor/toolbar/workflow-menu → element/editor/shared-components/workflow/menu}/workflow-transition-group.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/tags/tags-api-slice-enhanced.d.ts +2 -2
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/tags/tags-api-slice.gen.d.ts +3 -3
- package/dist/build/types/src/core/modules/element/element-api-slice-enhanced.d.ts +2 -1
- package/dist/build/types/src/core/modules/element/element-selector/provider/element-selector/element-selector-provider.d.ts +2 -1
- package/dist/build/types/src/core/modules/element/hooks/use-element-actions-menu.d.ts +25 -0
- package/dist/build/types/src/core/modules/element/hooks/use-properties-initialization.d.ts +4 -1
- package/dist/build/types/src/core/modules/element/listing/decorators/general-filters/context-layer/provider/field-filters/field-filters-provider.d.ts +4 -0
- package/dist/build/types/src/core/modules/element/permissions/permission-helper.d.ts +1 -0
- package/dist/build/types/src/core/modules/element/tree/tree-widget.d.ts +3 -2
- package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-delete-job.d.ts +2 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-restore-job.d.ts +2 -0
- package/dist/build/types/src/core/{components/element-toolbar/element-toolbar.stories.d.ts → modules/notifications/hooks/use-optimistic-update.d.ts} +5 -9
- package/dist/build/types/src/core/modules/perspective-editor/components/perspective-form/components/allowed-menu-entries-panel/allowed-menu-entries-panel.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/perspective-editor/components/perspective-form/components/specific-panel/specific-panel.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/reports/reports-editor/components/report-configuration/helpers.d.ts +5 -1
- package/dist/build/types/src/core/modules/reports/reports-editor/components/report-configuration/report-configuration.d.ts +3 -1
- package/dist/build/types/src/core/modules/reports/utils/reports-loader.d.ts +10 -0
- package/dist/build/types/src/core/modules/user/hooks/use-merged-keybindings.d.ts +19 -0
- package/dist/build/types/src/core/modules/user/management/detail/tabs/key-bindings/key-bindings-container.d.ts +1 -3
- package/dist/build/types/src/core/modules/user/management/management-container.d.ts +1 -3
- package/dist/build/types/src/core/modules/user/management/tree/tree-container.d.ts +3 -2
- package/dist/build/types/src/core/modules/user/roles/roles-api-slice.gen.d.ts +4 -4
- package/dist/build/types/src/core/modules/user/roles/roles-slice.d.ts +9 -3
- package/dist/build/types/src/core/modules/widget-editor/components/widget-type-form/context/widget-form-provider.d.ts +1 -3
- package/dist/build/types/src/core/modules/widget-manager/events/close-main-widget-event.d.ts +22 -0
- package/dist/build/types/src/core/modules/widget-manager/events/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/widget-manager/hooks/use-widget-manager.d.ts +1 -1
- package/dist/build/types/src/core/types/components/types.d.ts +1 -0
- package/dist/build/types/src/core/utils/clipboard.d.ts +11 -0
- package/dist/build/types/src/core/utils/iframe.d.ts +5 -0
- package/dist/build/types/src/sdk/components/index.d.ts +4 -3
- package/dist/build/types/src/sdk/main.d.ts +1 -0
- package/dist/build/types/src/sdk/modules/app/index.d.ts +2 -0
- package/dist/build/types/src/sdk/modules/reports/index.d.ts +15 -0
- package/dist/build/types/src/sdk/modules/widget-manager/index.d.ts +1 -0
- package/dist/build/types/src/sdk/utils/index.d.ts +2 -0
- package/package.json +3 -1
- package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/iframe-app/hooks/use-document-editables.d.ts +0 -11
- /package/dist/build/types/src/core/{components → modules/element/components}/element-toolbar/element-toolbar.skeleton.d.ts +0 -0
- /package/dist/build/types/src/core/{components → modules/element/components}/element-toolbar/element-toolbar.skeleton.styles.d.ts +0 -0
- /package/dist/build/types/src/core/{components/workflow-card → modules/element/editor/shared-components/workflow/card}/components/dropdown-button/dropdown-button.d.ts +0 -0
- /package/dist/build/types/src/core/{components/workflow-card → modules/element/editor/shared-components/workflow/card}/workflow-card.d.ts +0 -0
- /package/dist/build/types/src/core/{components/workflow-card → modules/element/editor/shared-components/workflow/card}/workflow-card.styles.d.ts +0 -0
- /package/dist/build/types/src/core/modules/{asset/editor/toolbar/workflow-log-modal → element/editor/shared-components/workflow/log-modal}/workflow-log-modal.d.ts +0 -0
- /package/dist/build/types/src/core/modules/{asset/editor/toolbar/workflow-menu → element/editor/shared-components/workflow/menu}/workflow-menu.d.ts +0 -0
- /package/dist/build/types/src/core/modules/{asset/editor/toolbar/workflow-menu → element/editor/shared-components/workflow/menu}/workflow-transition-group.styles.d.ts +0 -0
|
@@ -44,16 +44,21 @@ export declare const serviceIds: {
|
|
|
44
44
|
'DynamicTypes/FieldFilter/Boolean': string;
|
|
45
45
|
'DynamicTypes/FieldFilter/BooleanSelect': string;
|
|
46
46
|
'DynamicTypes/FieldFilter/Consent': string;
|
|
47
|
+
'DynamicTypes/FieldFilter/ClassificationStore': string;
|
|
47
48
|
'DynamicTypes/BatchEdit/Text': string;
|
|
48
49
|
'DynamicTypes/BatchEdit/TextArea': string;
|
|
49
50
|
'DynamicTypes/BatchEdit/Datetime': string;
|
|
50
51
|
'DynamicTypes/BatchEdit/Select': string;
|
|
51
52
|
'DynamicTypes/BatchEdit/Checkbox': string;
|
|
52
53
|
'DynamicTypes/BatchEdit/ElementDropzone': string;
|
|
54
|
+
'DynamicTypes/BatchEdit/ClassificationStore': string;
|
|
53
55
|
'DynamicTypes/BatchEdit/DataObjectAdapter': string;
|
|
54
56
|
'DynamicTypes/BatchEdit/DataObjectObjectBrick': string;
|
|
55
57
|
'DynamicTypes/GridCell/Text': string;
|
|
56
58
|
'DynamicTypes/GridCell/String': string;
|
|
59
|
+
'DynamicTypes/GridCell/Integer': string;
|
|
60
|
+
'DynamicTypes/GridCell/Error': string;
|
|
61
|
+
'DynamicTypes/GridCell/Array': string;
|
|
57
62
|
'DynamicTypes/GridCell/Textarea': string;
|
|
58
63
|
'DynamicTypes/GridCell/Number': string;
|
|
59
64
|
'DynamicTypes/GridCell/Select': string;
|
|
@@ -86,6 +91,7 @@ export declare const serviceIds: {
|
|
|
86
91
|
'DynamicTypes/GridCell/LanguageSelect': string;
|
|
87
92
|
'DynamicTypes/GridCell/Translate': string;
|
|
88
93
|
'DynamicTypes/GridCell/DataObjectAdapter': string;
|
|
94
|
+
'DynamicTypes/GridCell/ClassificationStore': string;
|
|
89
95
|
'DynamicTypes/GridCell/DataObjectAdvanced': string;
|
|
90
96
|
'DynamicTypes/GridCell/DataObjectObjectBrick': string;
|
|
91
97
|
'DynamicTypes/Listing/Text': string;
|
|
@@ -207,12 +213,25 @@ export declare const serviceIds: {
|
|
|
207
213
|
'DynamicTypes/Grid/SourceFields/Text': string;
|
|
208
214
|
'DynamicTypes/Grid/SourceFields/SimpleField': string;
|
|
209
215
|
'DynamicTypes/Grid/SourceFields/RelationField': string;
|
|
216
|
+
'DynamicTypes/Grid/Transformers/BooleanFormatter': string;
|
|
217
|
+
'DynamicTypes/Grid/Transformers/DateFormatter': string;
|
|
218
|
+
'DynamicTypes/Grid/Transformers/ElementCounter': string;
|
|
219
|
+
'DynamicTypes/Grid/Transformers/TwigOperator': string;
|
|
220
|
+
'DynamicTypes/Grid/Transformers/Anonymizer': string;
|
|
221
|
+
'DynamicTypes/Grid/Transformers/Blur': string;
|
|
210
222
|
'DynamicTypes/Grid/Transformers/ChangeCase': string;
|
|
211
223
|
'DynamicTypes/Grid/Transformers/Combine': string;
|
|
224
|
+
'DynamicTypes/Grid/Transformers/Explode': string;
|
|
225
|
+
'DynamicTypes/Grid/Transformers/StringReplace': string;
|
|
226
|
+
'DynamicTypes/Grid/Transformers/Substring': string;
|
|
227
|
+
'DynamicTypes/Grid/Transformers/Trim': string;
|
|
228
|
+
'DynamicTypes/Grid/Transformers/Translate': string;
|
|
212
229
|
'DynamicTypes/WidgetEditor/ElementTree': string;
|
|
213
230
|
'ExecutionEngine/JobComponentRegistry': string;
|
|
214
231
|
executionEngine: string;
|
|
215
232
|
'App/ComponentRegistry/ComponentRegistry': string;
|
|
233
|
+
'App/ContextMenuRegistry/ContextMenuRegistry': string;
|
|
234
|
+
'Document/RequiredFieldsValidationService': string;
|
|
216
235
|
'DynamicTypes/FieldFilterRegistry': string;
|
|
217
236
|
'DynamicTypes/BatchEditRegistry': string;
|
|
218
237
|
'DynamicTypes/GridCellRegistry': string;
|
|
@@ -237,6 +256,7 @@ export declare const serviceIds: {
|
|
|
237
256
|
mainNavRegistry: string;
|
|
238
257
|
widgetManager: string;
|
|
239
258
|
backgroundProcessor: string;
|
|
259
|
+
debouncedFormRegistry: string;
|
|
240
260
|
globalMessageBusProcess: string;
|
|
241
261
|
globalMessageBus: string;
|
|
242
262
|
'DynamicTypes/Theme/StudioDefaultLight': string;
|
|
@@ -13,6 +13,7 @@ import { type IframeRef } from '../../../components/iframe/iframe';
|
|
|
13
13
|
export interface DocumentApi {
|
|
14
14
|
markDraftAsModified: (documentId: number) => void;
|
|
15
15
|
getIframeApi: (documentId: number) => PublicApiDocumentEditorIframe;
|
|
16
|
+
getIframeDocument: (documentId: number) => Document | undefined;
|
|
16
17
|
isIframeAvailable: (documentId: number) => boolean;
|
|
17
18
|
registerIframe: (documentId: number, iframe: HTMLIFrameElement, iframeRef: React.RefObject<IframeRef>) => void;
|
|
18
19
|
unregisterIframe: (documentId: number) => void;
|
|
@@ -28,6 +29,7 @@ declare class DocumentApiImpl implements DocumentApi {
|
|
|
28
29
|
private readonly autoSaveCallbacks;
|
|
29
30
|
markDraftAsModified(documentId: number): void;
|
|
30
31
|
getIframeApi(documentId: number): PublicApiDocumentEditorIframe;
|
|
32
|
+
getIframeDocument(documentId: number): Document | undefined;
|
|
31
33
|
isIframeAvailable(documentId: number): boolean;
|
|
32
34
|
registerIframe(documentId: number, iframe: HTMLIFrameElement, iframeRef: React.RefObject<IframeRef>): void;
|
|
33
35
|
unregisterIframe(documentId: number): void;
|
|
@@ -15,6 +15,7 @@ declare class IframeDocumentEditorRegistry {
|
|
|
15
15
|
unregister(documentId: number): void;
|
|
16
16
|
getIframe(documentId: number): HTMLIFrameElement | undefined;
|
|
17
17
|
getContentWindow(documentId: number): Window | undefined;
|
|
18
|
+
getIframeDocument(documentId: number): Document | undefined;
|
|
18
19
|
getDocumentEditorApi(documentId: number): PublicApiDocumentEditorIframe;
|
|
19
20
|
isIframeRegistered(documentId: number): boolean;
|
|
20
21
|
getAllRegisteredDocumentIds(): number[];
|
|
@@ -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 { type AbstractDocumentEditableDefinition } from '../../../../modules/element/dynamic-types/definitions/document/editable/dynamic-type-document-editable-abstract';
|
|
10
11
|
export interface ValueType {
|
|
11
12
|
type: string;
|
|
12
13
|
data: any;
|
|
@@ -20,10 +21,14 @@ export interface DocumentEditableApi {
|
|
|
20
21
|
getInheritanceState: (key: string) => boolean;
|
|
21
22
|
setInheritanceState: (key: string, inherited: boolean) => void;
|
|
22
23
|
initializeInheritanceState: (inheritanceState: Record<string, boolean>) => void;
|
|
24
|
+
getEditableDefinitions: () => AbstractDocumentEditableDefinition[];
|
|
25
|
+
registerDynamicEditables: (editables: AbstractDocumentEditableDefinition[]) => void;
|
|
26
|
+
unregisterDynamicEditables: (editableIds: string[]) => void;
|
|
23
27
|
}
|
|
24
28
|
declare class DocumentEditableApiImpl implements DocumentEditableApi {
|
|
25
29
|
private values;
|
|
26
30
|
private inheritanceState;
|
|
31
|
+
private dynamicEditables;
|
|
27
32
|
getValues(forApi?: boolean): Record<string, ValueType>;
|
|
28
33
|
getValue(key: string): ValueType;
|
|
29
34
|
updateValue(key: string, value: ValueType): void;
|
|
@@ -32,7 +37,9 @@ declare class DocumentEditableApiImpl implements DocumentEditableApi {
|
|
|
32
37
|
getInheritanceState(key: string): boolean;
|
|
33
38
|
setInheritanceState(key: string, inherited: boolean): void;
|
|
34
39
|
initializeInheritanceState(inheritanceState: Record<string, boolean>): void;
|
|
35
|
-
|
|
40
|
+
registerDynamicEditables(editables: AbstractDocumentEditableDefinition[]): void;
|
|
41
|
+
unregisterDynamicEditables(editableIds: string[]): void;
|
|
42
|
+
getEditableDefinitions(): AbstractDocumentEditableDefinition[];
|
|
36
43
|
private transformEditableValue;
|
|
37
44
|
private getDynamicTypeForEditable;
|
|
38
45
|
}
|
|
@@ -22,6 +22,7 @@ interface AssetTargetProps {
|
|
|
22
22
|
height?: number | string;
|
|
23
23
|
dndIcon?: boolean;
|
|
24
24
|
uploadIcon?: boolean;
|
|
25
|
+
dropClass?: string;
|
|
25
26
|
}
|
|
26
|
-
export declare const AssetTarget: ({ title, className, width, height, dndIcon, uploadIcon, onRemove, onSearch, onUpload, onResize }: AssetTargetProps) => React.JSX.Element;
|
|
27
|
+
export declare const AssetTarget: ({ title, className, width, height, dndIcon, uploadIcon, onRemove, onSearch, onUpload, onResize, dropClass }: AssetTargetProps) => React.JSX.Element;
|
|
27
28
|
export {};
|
|
@@ -18,5 +18,6 @@ export interface BaseDroppableProps {
|
|
|
18
18
|
isValidData?: ((info: DragAndDropInfo) => boolean);
|
|
19
19
|
onDrop: (info: DragAndDropInfo) => void;
|
|
20
20
|
disableDndActiveIndicator?: boolean;
|
|
21
|
+
dropClass?: string;
|
|
21
22
|
}
|
|
22
|
-
export declare const BaseDroppable: ({ children, className, variant, shape, isValidContext, isValidData, onDrop, disableDndActiveIndicator }: BaseDroppableProps) => React.JSX.Element | null;
|
|
23
|
+
export declare const BaseDroppable: ({ children, className, variant, shape, isValidContext, isValidData, onDrop, disableDndActiveIndicator, dropClass }: BaseDroppableProps) => React.JSX.Element | null;
|
|
@@ -24,6 +24,11 @@ export interface DroppableProps {
|
|
|
24
24
|
* it is recommended to set this to true if the active indicator is not needed or re-rendering would be too resource intensive.
|
|
25
25
|
*/
|
|
26
26
|
disableDndActiveIndicator?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* CSS class name to be applied to external DOM elements to make them droppable targets.
|
|
29
|
+
* When specified, all elements with this class will receive the same drag and drop functionality.
|
|
30
|
+
*/
|
|
31
|
+
dropClass?: string;
|
|
27
32
|
}
|
|
28
33
|
export interface DragAndDropInfo {
|
|
29
34
|
type: 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
|
+
export interface UseDropClassHandlersOptions {
|
|
11
|
+
dropClass?: string;
|
|
12
|
+
enabled?: boolean;
|
|
13
|
+
onDragOver: (e: React.DragEvent) => void;
|
|
14
|
+
onDragLeave: (e: React.DragEvent) => void;
|
|
15
|
+
onDrop: (e: React.DragEvent) => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Custom hook to manage drag and drop event listeners on external DOM elements with a specified CSS class.
|
|
19
|
+
* Takes existing React event handlers and creates DOM-compatible wrappers that call the original handlers with mock events.
|
|
20
|
+
*/
|
|
21
|
+
export declare const useDropClassHandlers: ({ dropClass, enabled, onDragOver, onDragLeave, onDrop }: UseDropClassHandlersOptions) => void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type DropdownInnerProps } from './dropdown-inner';
|
|
12
|
+
export interface DropdownInnerDropClassProps extends DropdownInnerProps {
|
|
13
|
+
dropClass: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const DropdownInnerDropClass: ({ dropClass, ...props }: DropdownInnerDropClassProps) => React.JSX.Element;
|
|
@@ -19,5 +19,6 @@ export interface DropdownProps extends Omit<AntdDropdownProps, 'dropdownRender'
|
|
|
19
19
|
menuRef?: Ref<MenuRef>;
|
|
20
20
|
selectedKeys?: React.Key[];
|
|
21
21
|
onSelect?: (keys: React.Key[]) => void;
|
|
22
|
+
dropClass?: string;
|
|
22
23
|
}
|
|
23
|
-
export declare const Dropdown: ({ menu, ...props }: DropdownProps) => React.JSX.Element;
|
|
24
|
+
export declare const Dropdown: ({ menu, dropClass, ...props }: DropdownProps) => React.JSX.Element;
|
|
@@ -17,6 +17,7 @@ export declare const _default: {
|
|
|
17
17
|
menuRef?: React.Ref<import("antd").MenuRef>;
|
|
18
18
|
selectedKeys?: React.Key[];
|
|
19
19
|
onSelect?: (keys: React.Key[]) => void;
|
|
20
|
+
dropClass?: string;
|
|
20
21
|
children?: React.ReactNode;
|
|
21
22
|
overlay?: (React.ReactElement | (() => React.ReactElement)) | undefined;
|
|
22
23
|
visible?: boolean | undefined;
|
package/dist/build/types/src/core/components/dynamic-filter/provider/dynamic-filter-provider.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface IDynamicFilter {
|
|
12
12
|
id: string;
|
|
13
|
+
translationKey: string;
|
|
13
14
|
type: string;
|
|
14
15
|
data: any;
|
|
15
16
|
frontendType?: string;
|
|
@@ -29,4 +30,4 @@ export interface DynamicFilterProviderProps extends Omit<DynamicFilterData, 'set
|
|
|
29
30
|
onChange?: (data: any) => void;
|
|
30
31
|
children: React.ReactNode;
|
|
31
32
|
}
|
|
32
|
-
export declare const DynamicFilterProvider: ({ children, id, type, data, onChange, frontendType, config }: DynamicFilterProviderProps) => React.JSX.Element;
|
|
33
|
+
export declare const DynamicFilterProvider: ({ children, id, type, translationKey, data, onChange, frontendType, config }: DynamicFilterProviderProps) => React.JSX.Element;
|
|
@@ -141,7 +141,10 @@ export declare const setNodeLoading: import("@reduxjs/toolkit").ActionCreatorWit
|
|
|
141
141
|
lockType: LockType;
|
|
142
142
|
}, "trees/setNodeLocked">, refreshTreeByElementType: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
143
143
|
elementTypes: ElementType[];
|
|
144
|
-
}, "trees/refreshTreeByElementType"
|
|
144
|
+
}, "trees/refreshTreeByElementType">, setDocumentNodeNavigationExclude: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
145
|
+
nodeId: string;
|
|
146
|
+
navigationExclude: boolean;
|
|
147
|
+
}, "trees/setDocumentNodeNavigationExclude">;
|
|
145
148
|
export declare const selectNodeState: ((state: Record<string, any>, treeId: string, nodeId: string) => any) & {
|
|
146
149
|
clearCache: () => void;
|
|
147
150
|
resultsCount: () => number;
|
|
@@ -32,6 +32,7 @@ export interface TreeProps {
|
|
|
32
32
|
contextMenu?: ElementType<TreeContextMenuProps>;
|
|
33
33
|
renderFilter?: ElementType<TreeSearchProps>;
|
|
34
34
|
renderPager?: ElementType<TreePagerProps>;
|
|
35
|
+
tooltipSlotName?: string;
|
|
35
36
|
onLoad?: (node: TreeNode) => Promise<void>;
|
|
36
37
|
onSelect?: (node: TreeNode) => void;
|
|
37
38
|
onRightClick?: (event: React.MouseEvent, node: TreeNode) => void;
|
package/dist/build/types/src/core/components/element-tree/node/content/tree-node-content.d.ts
CHANGED
|
@@ -12,5 +12,8 @@ import { type TreeNodeProps } from '../tree-node';
|
|
|
12
12
|
export interface TreeNodeContentProps {
|
|
13
13
|
node: TreeNodeProps;
|
|
14
14
|
}
|
|
15
|
+
export interface TreeNodeContentMetaProps {
|
|
16
|
+
node: TreeNodeProps;
|
|
17
|
+
}
|
|
15
18
|
declare const TreeNodeContent: React.ForwardRefExoticComponent<TreeNodeContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
19
|
export { TreeNodeContent };
|
package/dist/build/types/src/core/components/element-tree/node/content/tree-node-lock-icon.d.ts
ADDED
|
@@ -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 React from 'react';
|
|
11
|
+
import { type TreeNodeContentMetaProps } from './tree-node-content';
|
|
12
|
+
export declare const TreeNodeLockIcon: ({ node }: TreeNodeContentMetaProps) => React.JSX.Element | null;
|
|
@@ -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 React from 'react';
|
|
11
|
+
import { type TreeNodeProps } from '../node/tree-node';
|
|
12
|
+
export interface ElementTreeTooltipProps {
|
|
13
|
+
node: TreeNodeProps;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const ElementTreeTooltip: ({ node, children }: ElementTreeTooltipProps) => 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
|
+
export interface UseDebouncedFormChangeOptions {
|
|
11
|
+
delay?: number;
|
|
12
|
+
immediateFields?: string[];
|
|
13
|
+
tag?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface UseDebouncedFormChangeReturn {
|
|
16
|
+
handleFormChange: (changedValues: Record<string, any>, allValues: Record<string, any>) => void;
|
|
17
|
+
flush: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const useDebouncedFormChange: (onFormChange: (changedValues: Record<string, any>, allValues: Record<string, any>) => void, options?: UseDebouncedFormChangeOptions) => UseDebouncedFormChangeReturn;
|
|
@@ -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
|
+
/**
|
|
11
|
+
* Registry for managing debounced form flush functions
|
|
12
|
+
* Allows components to register flush functions that will be called before save operations
|
|
13
|
+
* Supports tagging for selective flushing (e.g., only document forms, only asset forms, etc.)
|
|
14
|
+
*/
|
|
15
|
+
export declare class DebouncedFormRegistry {
|
|
16
|
+
private readonly flushFunctions;
|
|
17
|
+
private readonly tagIndex;
|
|
18
|
+
register(key: string, flushFunction: () => void, tag?: string): void;
|
|
19
|
+
unregister(key: string): void;
|
|
20
|
+
flushByTag(tag: string): void;
|
|
21
|
+
getTags(): string[];
|
|
22
|
+
}
|
|
@@ -48,5 +48,5 @@ export interface ExtendedCellContext extends CellContext<any, any> {
|
|
|
48
48
|
export interface GridContextMenuProps extends Pick<AssetGetGridApiResponse['items'][number], 'isLocked' | 'permissions'> {
|
|
49
49
|
id: number;
|
|
50
50
|
}
|
|
51
|
-
export declare const Grid: ({ enableMultipleRowSelection, modifiedCells, sorting, manualSorting, enableSorting, hideColumnHeaders, highlightActiveCell, docked, onActiveCellChange, enableRowSelection, selectedRows, disabled, enableRowDrag, handleDragEnd, ...props }: GridProps) => React.JSX.Element;
|
|
51
|
+
export declare const Grid: ({ enableMultipleRowSelection, modifiedCells, sorting, manualSorting, enableSorting, hideColumnHeaders, highlightActiveCell, docked, onActiveCellChange, enableRowSelection, selectedRows, disabled, allowMultipleAutoWidthColumns, enableRowDrag, handleDragEnd, ...props }: GridProps) => React.JSX.Element;
|
|
52
52
|
export * from './edit-mode/use-edit-mode';
|
|
@@ -39,5 +39,5 @@ interface UseValueReturn {
|
|
|
39
39
|
export declare const useValue: (value: ManyToManyRelationValue | null, setValue: (value: ManyToManyRelationValue | null) => void, displayedValue: DisplayManyToManyRelationValue | null, setDisplayedValue: (value: DisplayManyToManyRelationValue | null) => void, maxItems: number | null, allowMultipleAssignments?: boolean, pathFormatterConfig?: {
|
|
40
40
|
name: string | undefined;
|
|
41
41
|
class: string | undefined;
|
|
42
|
-
}) => UseValueReturn;
|
|
42
|
+
}, visibleFieldsValue?: Array<Record<string, any> | undefined>) => UseValueReturn;
|
|
43
43
|
export {};
|
package/dist/build/types/src/core/components/many-to-many-relation/many-to-many-relation.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export interface ManyToManyRelationProps extends IRelationAllowedTypesDataCompon
|
|
|
27
27
|
disabled?: boolean;
|
|
28
28
|
inherited?: boolean;
|
|
29
29
|
value?: ManyToManyRelationValue | null;
|
|
30
|
+
visibleFieldsValue?: Array<Record<string, any> | undefined>;
|
|
30
31
|
onChange?: (value?: ManyToManyRelationValue | null) => void;
|
|
31
32
|
isLoading?: boolean;
|
|
32
33
|
columnDefinition?: Array<ColumnDef<any>>;
|
|
@@ -9,3 +9,4 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { ElementCellConfig } from '../../../modules/element/dynamic-types/definitions/grid-cell/components/element-cell/element-cell';
|
|
11
11
|
export declare const getElementCellConfig: (disabled?: boolean) => ElementCellConfig;
|
|
12
|
+
export declare const flattenValues: (value: unknown) => string[];
|
|
@@ -40,5 +40,6 @@ export interface ManyToOneRelationProps extends IRelationAllowedTypesDataCompone
|
|
|
40
40
|
className?: string;
|
|
41
41
|
combinedFieldName?: string;
|
|
42
42
|
pathFormatterClass?: string;
|
|
43
|
+
additionalButtons?: (value: ManyToOneRelationValueType) => React.ReactNode;
|
|
43
44
|
}
|
|
44
45
|
export declare const ManyToOneRelation: (props: ManyToOneRelationProps) => React.JSX.Element;
|
|
@@ -13,11 +13,13 @@ import { type SelectProps as AntdSelectProps } from 'antd';
|
|
|
13
13
|
export declare const sizeOptions: {
|
|
14
14
|
normal: number;
|
|
15
15
|
};
|
|
16
|
+
export type SelectTheme = 'default' | 'primary';
|
|
16
17
|
export interface SelectProps extends AntdSelectProps {
|
|
17
18
|
customArrowIcon?: string;
|
|
18
19
|
customIcon?: string;
|
|
19
20
|
inherited?: boolean;
|
|
20
21
|
width?: number | keyof typeof sizeOptions;
|
|
21
22
|
minWidth?: number | keyof typeof sizeOptions;
|
|
23
|
+
theme?: SelectTheme;
|
|
22
24
|
}
|
|
23
25
|
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<RefSelectProps>>;
|
|
@@ -7,14 +7,17 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import { type SelectTheme } from './select';
|
|
10
11
|
interface StylesProps {
|
|
11
12
|
width?: number;
|
|
13
|
+
theme?: SelectTheme;
|
|
12
14
|
}
|
|
13
15
|
export declare const useStyles: (props?: StylesProps | undefined) => import("antd-style").ReturnStyles<{
|
|
14
16
|
selectContainer: import("antd-style").SerializedStyles;
|
|
15
17
|
selectContainerWarning: import("antd-style").SerializedStyles;
|
|
16
18
|
selectContainerError: import("antd-style").SerializedStyles;
|
|
17
19
|
selectContainerWithClear: import("antd-style").SerializedStyles;
|
|
20
|
+
selectContainerPrimary: import("antd-style").SerializedStyles;
|
|
18
21
|
select: import("antd-style").SerializedStyles;
|
|
19
22
|
arrowIcon: import("antd-style").SerializedStyles;
|
|
20
23
|
selectWithCustomIcon: import("antd-style").SerializedStyles;
|
|
@@ -16,6 +16,7 @@ export declare const StackListItemTypes: {
|
|
|
16
16
|
export type StackListItemType = (typeof StackListItemTypes)[keyof typeof StackListItemTypes];
|
|
17
17
|
export interface StackListItemProps {
|
|
18
18
|
id: UniqueIdentifier;
|
|
19
|
+
key?: string;
|
|
19
20
|
type?: StackListItemType;
|
|
20
21
|
sortable?: boolean;
|
|
21
22
|
renderLeftToolbar?: React.ReactNode;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Event types constants for the application event bus
|
|
12
|
+
*
|
|
13
|
+
* Naming convention: module:scope:action
|
|
14
|
+
* - module: The main module (e.g., widget-manager, asset, document)
|
|
15
|
+
* - scope: The specific area within the module (e.g., inner, outer, tree)
|
|
16
|
+
* - action: The action that occurred (e.g., widget-closed, item-selected)
|
|
17
|
+
*/
|
|
18
|
+
export declare const eventTypes: {
|
|
19
|
+
'widget-manager:inner:widget-closed': string;
|
|
20
|
+
};
|
|
@@ -15,7 +15,7 @@ interface ISubscriber {
|
|
|
15
15
|
identifier: EventIdentifier;
|
|
16
16
|
callback: (event: AbstractEvent) => void;
|
|
17
17
|
}
|
|
18
|
-
interface AbstractEvent {
|
|
18
|
+
export interface AbstractEvent {
|
|
19
19
|
identifier: EventIdentifier;
|
|
20
20
|
payload?: any;
|
|
21
21
|
}
|
|
@@ -31,4 +31,4 @@ declare class EventBus implements AbstractEventBus {
|
|
|
31
31
|
publish(event: AbstractEvent): void;
|
|
32
32
|
}
|
|
33
33
|
export declare const eventBus: EventBus;
|
|
34
|
-
export {};
|
|
34
|
+
export { eventTypes } from './event-types';
|
|
@@ -62,6 +62,20 @@ declare const defaultComponentConfig: {
|
|
|
62
62
|
type: ComponentType;
|
|
63
63
|
name: string;
|
|
64
64
|
};
|
|
65
|
+
tooltip: {
|
|
66
|
+
type: ComponentType;
|
|
67
|
+
name: string;
|
|
68
|
+
};
|
|
69
|
+
node: {
|
|
70
|
+
meta: {
|
|
71
|
+
type: ComponentType;
|
|
72
|
+
name: string;
|
|
73
|
+
defaultEntries: {
|
|
74
|
+
name: string;
|
|
75
|
+
priority: number;
|
|
76
|
+
}[];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
65
79
|
};
|
|
66
80
|
};
|
|
67
81
|
dataObject: {
|
|
@@ -86,12 +100,48 @@ declare const defaultComponentConfig: {
|
|
|
86
100
|
};
|
|
87
101
|
};
|
|
88
102
|
};
|
|
103
|
+
tab: {
|
|
104
|
+
listing: {
|
|
105
|
+
type: ComponentType;
|
|
106
|
+
name: string;
|
|
107
|
+
};
|
|
108
|
+
edit: {
|
|
109
|
+
type: ComponentType;
|
|
110
|
+
name: string;
|
|
111
|
+
};
|
|
112
|
+
preview: {
|
|
113
|
+
type: ComponentType;
|
|
114
|
+
name: string;
|
|
115
|
+
};
|
|
116
|
+
versions: {
|
|
117
|
+
type: ComponentType;
|
|
118
|
+
name: string;
|
|
119
|
+
};
|
|
120
|
+
variants: {
|
|
121
|
+
type: ComponentType;
|
|
122
|
+
name: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
89
125
|
};
|
|
90
126
|
tree: {
|
|
91
127
|
contextMenu: {
|
|
92
128
|
type: ComponentType;
|
|
93
129
|
name: string;
|
|
94
130
|
};
|
|
131
|
+
tooltip: {
|
|
132
|
+
type: ComponentType;
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
node: {
|
|
136
|
+
meta: {
|
|
137
|
+
type: ComponentType;
|
|
138
|
+
name: string;
|
|
139
|
+
defaultEntries: {
|
|
140
|
+
name: string;
|
|
141
|
+
priority: number;
|
|
142
|
+
}[];
|
|
143
|
+
};
|
|
144
|
+
};
|
|
95
145
|
};
|
|
96
146
|
};
|
|
97
147
|
document: {
|
|
@@ -126,6 +176,50 @@ declare const defaultComponentConfig: {
|
|
|
126
176
|
type: ComponentType;
|
|
127
177
|
name: string;
|
|
128
178
|
};
|
|
179
|
+
tooltip: {
|
|
180
|
+
type: ComponentType;
|
|
181
|
+
name: string;
|
|
182
|
+
};
|
|
183
|
+
node: {
|
|
184
|
+
meta: {
|
|
185
|
+
type: ComponentType;
|
|
186
|
+
name: string;
|
|
187
|
+
defaultEntries: {
|
|
188
|
+
name: string;
|
|
189
|
+
priority: number;
|
|
190
|
+
}[];
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
element: {
|
|
196
|
+
editor: {
|
|
197
|
+
tab: {
|
|
198
|
+
properties: {
|
|
199
|
+
type: ComponentType;
|
|
200
|
+
name: string;
|
|
201
|
+
};
|
|
202
|
+
schedule: {
|
|
203
|
+
type: ComponentType;
|
|
204
|
+
name: string;
|
|
205
|
+
};
|
|
206
|
+
dependencies: {
|
|
207
|
+
type: ComponentType;
|
|
208
|
+
name: string;
|
|
209
|
+
};
|
|
210
|
+
workflow: {
|
|
211
|
+
type: ComponentType;
|
|
212
|
+
name: string;
|
|
213
|
+
};
|
|
214
|
+
notesAndEvents: {
|
|
215
|
+
type: ComponentType;
|
|
216
|
+
name: string;
|
|
217
|
+
};
|
|
218
|
+
tags: {
|
|
219
|
+
type: ComponentType;
|
|
220
|
+
name: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
129
223
|
};
|
|
130
224
|
};
|
|
131
225
|
leftSidebar: {
|