@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
|
@@ -0,0 +1,27 @@
|
|
|
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 { ManyToOneRelationValue } from '../../../../../components/many-to-one-relation/many-to-one-relation';
|
|
12
|
+
import { type Element } from '../../../../../modules/element/element-helper';
|
|
13
|
+
export interface NewTranslationModalProps {
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
useInheritance: boolean;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
onSubmit: (values: NewTranslationFormValues) => Promise<void>;
|
|
18
|
+
currentDocument: Element | null;
|
|
19
|
+
}
|
|
20
|
+
export interface NewTranslationFormValues {
|
|
21
|
+
language: string;
|
|
22
|
+
parent: ManyToOneRelationValue | null;
|
|
23
|
+
title: string;
|
|
24
|
+
navigation: string;
|
|
25
|
+
key: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const NewTranslationModal: ({ isOpen, useInheritance, onClose, onSubmit, currentDocument }: NewTranslationModalProps) => React.JSX.Element;
|
|
@@ -1792,6 +1792,166 @@ export declare const useDocumentAddMutation: <R extends Record<string, any> = ({
|
|
|
1792
1792
|
} | undefined) => readonly [(arg: import("./document-api-slice.gen").DocumentDocTypeDeleteApiArg) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<import("./document-api-slice.gen").DocumentDocTypeDeleteApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, unknown, "api", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
1793
1793
|
originalArgs?: import("./document-api-slice.gen").DocumentDocTypeDeleteApiArg | undefined;
|
|
1794
1794
|
reset: () => void;
|
|
1795
|
+
}], useDocumentPageSnippetChangeMainDocumentMutation: <R extends Record<string, any> = ({
|
|
1796
|
+
requestId?: undefined;
|
|
1797
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1798
|
+
data?: undefined;
|
|
1799
|
+
error?: undefined;
|
|
1800
|
+
endpointName?: string;
|
|
1801
|
+
startedTimeStamp?: undefined;
|
|
1802
|
+
fulfilledTimeStamp?: undefined;
|
|
1803
|
+
} & {
|
|
1804
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1805
|
+
isUninitialized: true;
|
|
1806
|
+
isLoading: false;
|
|
1807
|
+
isSuccess: false;
|
|
1808
|
+
isError: false;
|
|
1809
|
+
}) | ({
|
|
1810
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1811
|
+
} & Omit<{
|
|
1812
|
+
requestId: string;
|
|
1813
|
+
data?: unknown;
|
|
1814
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1815
|
+
endpointName: string;
|
|
1816
|
+
startedTimeStamp: number;
|
|
1817
|
+
fulfilledTimeStamp?: number;
|
|
1818
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
1819
|
+
requestId: string;
|
|
1820
|
+
data?: unknown;
|
|
1821
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1822
|
+
endpointName: string;
|
|
1823
|
+
startedTimeStamp: number;
|
|
1824
|
+
fulfilledTimeStamp?: number;
|
|
1825
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
1826
|
+
error: undefined;
|
|
1827
|
+
} & {
|
|
1828
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1829
|
+
isUninitialized: false;
|
|
1830
|
+
isLoading: false;
|
|
1831
|
+
isSuccess: true;
|
|
1832
|
+
isError: false;
|
|
1833
|
+
}) | ({
|
|
1834
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1835
|
+
} & {
|
|
1836
|
+
requestId: string;
|
|
1837
|
+
data?: unknown;
|
|
1838
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1839
|
+
endpointName: string;
|
|
1840
|
+
startedTimeStamp: number;
|
|
1841
|
+
fulfilledTimeStamp?: number;
|
|
1842
|
+
} & {
|
|
1843
|
+
data?: undefined;
|
|
1844
|
+
} & {
|
|
1845
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1846
|
+
isUninitialized: false;
|
|
1847
|
+
isLoading: true;
|
|
1848
|
+
isSuccess: false;
|
|
1849
|
+
isError: false;
|
|
1850
|
+
}) | ({
|
|
1851
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1852
|
+
} & Omit<{
|
|
1853
|
+
requestId: string;
|
|
1854
|
+
data?: unknown;
|
|
1855
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1856
|
+
endpointName: string;
|
|
1857
|
+
startedTimeStamp: number;
|
|
1858
|
+
fulfilledTimeStamp?: number;
|
|
1859
|
+
}, "error"> & Required<Pick<{
|
|
1860
|
+
requestId: string;
|
|
1861
|
+
data?: unknown;
|
|
1862
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1863
|
+
endpointName: string;
|
|
1864
|
+
startedTimeStamp: number;
|
|
1865
|
+
fulfilledTimeStamp?: number;
|
|
1866
|
+
}, "error">> & {
|
|
1867
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1868
|
+
isUninitialized: false;
|
|
1869
|
+
isLoading: false;
|
|
1870
|
+
isSuccess: false;
|
|
1871
|
+
isError: true;
|
|
1872
|
+
})>(options?: {
|
|
1873
|
+
selectFromResult?: ((state: ({
|
|
1874
|
+
requestId?: undefined;
|
|
1875
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1876
|
+
data?: undefined;
|
|
1877
|
+
error?: undefined;
|
|
1878
|
+
endpointName?: string;
|
|
1879
|
+
startedTimeStamp?: undefined;
|
|
1880
|
+
fulfilledTimeStamp?: undefined;
|
|
1881
|
+
} & {
|
|
1882
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1883
|
+
isUninitialized: true;
|
|
1884
|
+
isLoading: false;
|
|
1885
|
+
isSuccess: false;
|
|
1886
|
+
isError: false;
|
|
1887
|
+
}) | ({
|
|
1888
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1889
|
+
} & Omit<{
|
|
1890
|
+
requestId: string;
|
|
1891
|
+
data?: unknown;
|
|
1892
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1893
|
+
endpointName: string;
|
|
1894
|
+
startedTimeStamp: number;
|
|
1895
|
+
fulfilledTimeStamp?: number;
|
|
1896
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
1897
|
+
requestId: string;
|
|
1898
|
+
data?: unknown;
|
|
1899
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1900
|
+
endpointName: string;
|
|
1901
|
+
startedTimeStamp: number;
|
|
1902
|
+
fulfilledTimeStamp?: number;
|
|
1903
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
1904
|
+
error: undefined;
|
|
1905
|
+
} & {
|
|
1906
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
1907
|
+
isUninitialized: false;
|
|
1908
|
+
isLoading: false;
|
|
1909
|
+
isSuccess: true;
|
|
1910
|
+
isError: false;
|
|
1911
|
+
}) | ({
|
|
1912
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1913
|
+
} & {
|
|
1914
|
+
requestId: string;
|
|
1915
|
+
data?: unknown;
|
|
1916
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1917
|
+
endpointName: string;
|
|
1918
|
+
startedTimeStamp: number;
|
|
1919
|
+
fulfilledTimeStamp?: number;
|
|
1920
|
+
} & {
|
|
1921
|
+
data?: undefined;
|
|
1922
|
+
} & {
|
|
1923
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
1924
|
+
isUninitialized: false;
|
|
1925
|
+
isLoading: true;
|
|
1926
|
+
isSuccess: false;
|
|
1927
|
+
isError: false;
|
|
1928
|
+
}) | ({
|
|
1929
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1930
|
+
} & Omit<{
|
|
1931
|
+
requestId: string;
|
|
1932
|
+
data?: unknown;
|
|
1933
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1934
|
+
endpointName: string;
|
|
1935
|
+
startedTimeStamp: number;
|
|
1936
|
+
fulfilledTimeStamp?: number;
|
|
1937
|
+
}, "error"> & Required<Pick<{
|
|
1938
|
+
requestId: string;
|
|
1939
|
+
data?: unknown;
|
|
1940
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
1941
|
+
endpointName: string;
|
|
1942
|
+
startedTimeStamp: number;
|
|
1943
|
+
fulfilledTimeStamp?: number;
|
|
1944
|
+
}, "error">> & {
|
|
1945
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
1946
|
+
isUninitialized: false;
|
|
1947
|
+
isLoading: false;
|
|
1948
|
+
isSuccess: false;
|
|
1949
|
+
isError: true;
|
|
1950
|
+
})) => R) | undefined;
|
|
1951
|
+
fixedCacheKey?: string;
|
|
1952
|
+
} | undefined) => readonly [(arg: import("./document-api-slice.gen").DocumentPageSnippetChangeMainDocumentApiArg) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<import("./document-api-slice.gen").DocumentPageSnippetChangeMainDocumentApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, unknown, "api", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
1953
|
+
originalArgs?: import("./document-api-slice.gen").DocumentPageSnippetChangeMainDocumentApiArg | undefined;
|
|
1954
|
+
reset: () => void;
|
|
1795
1955
|
}], useDocumentPageSnippetAreaBlockRenderQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
1796
1956
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1797
1957
|
originalArgs?: undefined | undefined;
|
|
@@ -13,3 +13,4 @@ import '../../../modules/document/editor/types/hardlink';
|
|
|
13
13
|
import '../../../modules/document/editor/types/link';
|
|
14
14
|
import '../../../modules/document/editor/types/page';
|
|
15
15
|
import '../../../modules/document/editor/types/snippet';
|
|
16
|
+
import '../../../modules/document/editor/toolbar/context-menu';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const DraftAlert: () => React.JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export interface RequiredFieldWrapperProps {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
isRequired: boolean;
|
|
14
|
+
editableName: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const applyRequiredStyling: (editableName: string, iframeDocument?: Document) => void;
|
|
17
|
+
export declare const removeRequiredStyling: (editableName: string, iframeDocument?: Document) => void;
|
|
18
|
+
export declare const RequiredFieldWrapper: ({ children, isRequired, editableName }: RequiredFieldWrapperProps) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
+
requiredFieldWrapper: import("antd-style").SerializedStyles;
|
|
12
|
+
}>;
|
|
@@ -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 declare const DocumentEditorIframeGlobalStyles: import("react").NamedExoticComponent<object>;
|
|
@@ -18,6 +18,8 @@ interface ContentSettingsFormProps {
|
|
|
18
18
|
prettyUrl: string;
|
|
19
19
|
contentMainDocument: ManyToOneRelationValueType | null;
|
|
20
20
|
};
|
|
21
|
+
hasPropertiesPermission?: boolean;
|
|
22
|
+
hasSavePermission?: boolean;
|
|
21
23
|
}
|
|
22
|
-
export declare const ContentSettingsForm: ({ documentId, initialValues }: ContentSettingsFormProps) => React.JSX.Element;
|
|
24
|
+
export declare const ContentSettingsForm: ({ documentId, initialValues, hasPropertiesPermission, hasSavePermission }: ContentSettingsFormProps) => React.JSX.Element;
|
|
23
25
|
export {};
|
|
@@ -32,6 +32,7 @@ interface DocumentConfigurationFormProps {
|
|
|
32
32
|
template?: string | null;
|
|
33
33
|
}>;
|
|
34
34
|
};
|
|
35
|
+
hasSavePermission?: boolean;
|
|
35
36
|
}
|
|
36
|
-
export declare const DocumentConfigurationForm: ({ documentId, documentType, initialValues, apiData }: DocumentConfigurationFormProps) => React.JSX.Element;
|
|
37
|
+
export declare const DocumentConfigurationForm: ({ documentId, documentType, initialValues, apiData, hasSavePermission }: DocumentConfigurationFormProps) => React.JSX.Element;
|
|
37
38
|
export {};
|
|
@@ -18,6 +18,7 @@ interface EmailSettingsFormProps {
|
|
|
18
18
|
cc: string;
|
|
19
19
|
bcc: string;
|
|
20
20
|
};
|
|
21
|
+
hasSavePermission?: boolean;
|
|
21
22
|
}
|
|
22
|
-
export declare const EmailSettingsForm: ({ documentId, initialValues }: EmailSettingsFormProps) => React.JSX.Element;
|
|
23
|
+
export declare const EmailSettingsForm: ({ documentId, initialValues, hasSavePermission }: EmailSettingsFormProps) => React.JSX.Element;
|
|
23
24
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type IDocumentContext } from '../../../../../modules/document/document-provider';
|
|
11
|
+
/**
|
|
12
|
+
* Checks if settings should be visible based on document permissions.
|
|
13
|
+
* This function takes a document context parameter since visibility functions
|
|
14
|
+
* are called from the sidebar manager which doesn't have React context access.
|
|
15
|
+
*/
|
|
16
|
+
export declare const checkSettingsVisibility: (context: IDocumentContext) => boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type IDocumentContext } from '../../../../../modules/document/document-provider';
|
|
11
|
+
import { type ElementPermissionKeys } from '../../../../../modules/element/permissions/permission-helper';
|
|
12
|
+
/**
|
|
13
|
+
* Generic utility function to check document permissions for sidebar visibility.
|
|
14
|
+
* This function takes a document context parameter since visibility functions
|
|
15
|
+
* are called from the sidebar manager which doesn't have React context access.
|
|
16
|
+
*
|
|
17
|
+
* @param context - The document context containing the document ID
|
|
18
|
+
* @param permission - The permission key to check (e.g., 'settings', 'properties', 'view', etc.)
|
|
19
|
+
* @returns boolean indicating whether the user has the specified permission for the document
|
|
20
|
+
*/
|
|
21
|
+
export declare const checkDocumentPermission: (context: IDocumentContext, permission: ElementPermissionKeys) => boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type IDocumentContext } from '../../../../../modules/document/document-provider';
|
|
11
|
+
/**
|
|
12
|
+
* Checks if navigation should be visible based on document permissions.
|
|
13
|
+
* This function takes a document context parameter since visibility functions
|
|
14
|
+
* are called from the sidebar manager which doesn't have React context access.
|
|
15
|
+
*/
|
|
16
|
+
export declare const checkNavigationVisibility: (context: IDocumentContext) => boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type ValidationResult } from '../services/document-required-fields-validation-service';
|
|
11
|
+
export interface UseRequiredFieldsValidationHookReturn {
|
|
12
|
+
validateRequiredFields: (documentId: number) => ValidationResult;
|
|
13
|
+
showValidationErrorModal: (requiredFields: string[]) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const useRequiredFieldsValidation: () => UseRequiredFieldsValidationHookReturn;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import { type DynamicTypeDocumentEditableRegistry } from '../../../modules/element/dynamic-types/definitions/document/editable/dynamic-type-document-editable-registry';
|
|
11
|
+
export interface ValidationResult {
|
|
12
|
+
isValid: boolean;
|
|
13
|
+
requiredFields: string[];
|
|
14
|
+
}
|
|
15
|
+
export interface DocumentRequiredFieldsValidationService {
|
|
16
|
+
validateRequiredFields: (documentId: number) => ValidationResult;
|
|
17
|
+
}
|
|
18
|
+
declare class DocumentRequiredFieldsValidationServiceImpl implements DocumentRequiredFieldsValidationService {
|
|
19
|
+
private readonly documentEditableRegistry;
|
|
20
|
+
constructor(documentEditableRegistry: DynamicTypeDocumentEditableRegistry);
|
|
21
|
+
validateRequiredFields(documentId: number): ValidationResult;
|
|
22
|
+
}
|
|
23
|
+
export { DocumentRequiredFieldsValidationServiceImpl };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,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 '../../../../../components/element-tree/node/content/tree-node-content';
|
|
12
|
+
export declare const TreeNodeNavigationExcludeIcon: (props: TreeNodeContentMetaProps) => React.JSX.Element | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Creates a debounce tag for document-specific form operations.
|
|
12
|
+
* This tag is used to group and flush debounced form changes by document.
|
|
13
|
+
*
|
|
14
|
+
* @param documentId - The unique identifier of the document
|
|
15
|
+
* @returns A standardized tag string for document form debouncing
|
|
16
|
+
*/
|
|
17
|
+
export declare const createDocumentDebounceTag: (documentId: number) => string;
|
|
@@ -24,6 +24,7 @@ export interface UseLockHookReturn {
|
|
|
24
24
|
unlockContextMenuItem: (node: Element, onFinish?: () => void) => ItemType;
|
|
25
25
|
unlockAndPropagateTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
26
26
|
unlockAndPropagateContextMenuItem: (node: Element, onFinish?: () => void) => ItemType;
|
|
27
|
+
lockMenuTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
27
28
|
isLockMenuHidden: (node: Element | TreeNodeProps) => boolean;
|
|
28
29
|
}
|
|
29
30
|
export declare enum LockType {
|
|
@@ -13,7 +13,7 @@ import { type DataObject } from '../../../../modules/data-object/data-object-api
|
|
|
13
13
|
import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
14
14
|
import { type Document } from '../../../../modules/document/document-api-slice.gen';
|
|
15
15
|
type Element = DataObject | Document;
|
|
16
|
-
interface UseUnpublishHookReturn {
|
|
16
|
+
export interface UseUnpublishHookReturn {
|
|
17
17
|
unpublishTreeContextMenuItem: (node: TreeNodeProps) => ItemType;
|
|
18
18
|
unpublishContextMenuItem: (node: Element, onFinish?: () => void) => ItemType;
|
|
19
19
|
unpublishTreeNode: (node: TreeNodeProps | Element, onFinish?: () => void) => void;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
import { type ElementType } from '../../types/enums/element/element-type';
|
|
11
10
|
import React from 'react';
|
|
11
|
+
import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
12
12
|
export declare const ElementToolbar: ({ id, elementType, editorTabsWidth }: {
|
|
13
13
|
id: number;
|
|
14
14
|
elementType: ElementType;
|
|
@@ -9,4 +9,6 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const useStyle: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
11
|
toolbar: import("antd-style").SerializedStyles;
|
|
12
|
+
dropdownInfoWrapper: import("antd-style").SerializedStyles;
|
|
13
|
+
dropdownInfo: import("antd-style").SerializedStyles;
|
|
12
14
|
}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type Element } from '../../../../modules/element/element-helper';
|
|
12
|
+
import { type ElementType } from '../../../../types/enums/element/element-type';
|
|
13
|
+
export type ISystemInfoModalData = Element & {
|
|
14
|
+
elementType: ElementType;
|
|
15
|
+
deeplink: string;
|
|
16
|
+
modificationDate: number | null;
|
|
17
|
+
creationDate: number | null;
|
|
18
|
+
userOwner: number;
|
|
19
|
+
userModification: number | null;
|
|
20
|
+
fileSize?: number;
|
|
21
|
+
mimeType?: string | null;
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
export interface ISystemInfoModalProps {
|
|
25
|
+
onClose: () => void;
|
|
26
|
+
data: ISystemInfoModalData;
|
|
27
|
+
}
|
|
28
|
+
export declare const SystemInfoModal: ({ onClose, data }: ISystemInfoModalProps) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { type AbstractBatchEditDefinition } from '../../../../../../modules/element/dynamic-types/definitions/batch-edits/dynamic-type-batch-edit-abstract';
|
|
12
|
+
export declare const DynamicTypeBatchEditClassificationStoreComponent: ({ batchEdit }: AbstractBatchEditDefinition) => React.JSX.Element;
|
|
@@ -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 { type ReactElement } from 'react';
|
|
11
|
+
import { type AbstractBatchEditDefinition, type DynamicTypeBatchEditAbstract } from '../../../../../../../modules/element/dynamic-types/definitions/batch-edits/dynamic-type-batch-edit-abstract';
|
|
12
|
+
export declare class DynamicTypeBatchEditClassificationStore implements DynamicTypeBatchEditAbstract {
|
|
13
|
+
id: string;
|
|
14
|
+
getBatchEditComponent(props: AbstractBatchEditDefinition): ReactElement<AbstractBatchEditDefinition>;
|
|
15
|
+
}
|
|
@@ -11,7 +11,6 @@ export interface ContentEditableProps {
|
|
|
11
11
|
value?: string | null;
|
|
12
12
|
onChange?: (newValue: string | null) => void;
|
|
13
13
|
placeholder?: string;
|
|
14
|
-
required?: boolean;
|
|
15
14
|
width?: number;
|
|
16
15
|
height?: number;
|
|
17
16
|
nowrap?: boolean;
|
|
@@ -20,5 +19,5 @@ export interface ContentEditableProps {
|
|
|
20
19
|
disabled?: boolean;
|
|
21
20
|
inherited?: boolean;
|
|
22
21
|
}
|
|
23
|
-
declare const ContentEditable: ({ value, onChange, placeholder,
|
|
22
|
+
declare const ContentEditable: ({ value, onChange, placeholder, width, height, nowrap, allowMultiLine, className, disabled, inherited }: ContentEditableProps) => JSX.Element;
|
|
24
23
|
export default ContentEditable;
|
|
@@ -18,10 +18,6 @@ export declare const useStyles: (props?: unknown) => import("antd-style").Return
|
|
|
18
18
|
outline: string;
|
|
19
19
|
outlineOffset: string;
|
|
20
20
|
};
|
|
21
|
-
'&[data-empty=true][data-required=true]': {
|
|
22
|
-
outline: string;
|
|
23
|
-
outlineOffset: string;
|
|
24
|
-
};
|
|
25
21
|
'&:focus': {
|
|
26
22
|
outline: string;
|
|
27
23
|
};
|
|
@@ -36,6 +36,7 @@ interface DocumentHotspotImagePreviewProps {
|
|
|
36
36
|
disableInlineUpload?: boolean;
|
|
37
37
|
imgAttributes?: Record<string, string>;
|
|
38
38
|
focalPointContextMenuItem?: boolean;
|
|
39
|
+
dropClass?: string;
|
|
39
40
|
onResize?: (dimensions: {
|
|
40
41
|
width: number;
|
|
41
42
|
height: number;
|
|
@@ -50,6 +51,7 @@ interface DocumentHotspotImagePreviewProps {
|
|
|
50
51
|
isImageLoaded?: boolean;
|
|
51
52
|
onImageLoadedChange?: (isLoaded: boolean) => void;
|
|
52
53
|
thumbnailConfig?: string | object;
|
|
54
|
+
className?: string;
|
|
53
55
|
}
|
|
54
|
-
export declare const DocumentHotspotImagePreview: ({ assetId, height, width, containerWidth, value, onChange, setMarkerModalOpen, setCropModalOpen, handleSearch, handleLocateInTree, handleUpload, emptyValue, disabled, disableInlineUpload, imgAttributes, focalPointContextMenuItem, onResize, lastImageDimensions, altText, onAltTextChange, hideAltTextInput, isImageLoaded, onImageLoadedChange, thumbnailConfig }: DocumentHotspotImagePreviewProps) => React.JSX.Element;
|
|
56
|
+
export declare const DocumentHotspotImagePreview: ({ assetId, height, width, containerWidth, value, onChange, setMarkerModalOpen, setCropModalOpen, handleSearch, handleLocateInTree, handleUpload, emptyValue, disabled, disableInlineUpload, imgAttributes, focalPointContextMenuItem, dropClass, onResize, lastImageDimensions, altText, onAltTextChange, hideAltTextInput, isImageLoaded, onImageLoadedChange, thumbnailConfig, className }: DocumentHotspotImagePreviewProps) => React.JSX.Element;
|
|
55
57
|
export {};
|
|
@@ -11,13 +11,13 @@ import React from 'react';
|
|
|
11
11
|
import { type DropdownProps } from '../../../../../../../../components/dropdown/dropdown';
|
|
12
12
|
import { type ImageThumbnailSettings } from '../../../../../../../../components/image-preview/utils/custom-image-thumbnail';
|
|
13
13
|
interface ImageEditablePreviewProps {
|
|
14
|
-
src?: string;
|
|
15
14
|
assetId?: number;
|
|
16
15
|
width?: number | string;
|
|
17
16
|
height?: number | string;
|
|
18
17
|
containerWidth: number;
|
|
19
18
|
className?: string;
|
|
20
19
|
dropdownItems?: DropdownProps['menu']['items'];
|
|
20
|
+
dropClass?: string;
|
|
21
21
|
thumbnailSettings?: ImageThumbnailSettings;
|
|
22
22
|
thumbnailConfig?: string | object;
|
|
23
23
|
imgAttributes?: Record<string, string>;
|
|
@@ -32,5 +32,5 @@ interface ImageEditablePreviewProps {
|
|
|
32
32
|
} | null;
|
|
33
33
|
onImageLoadedChange?: (isLoaded: boolean) => void;
|
|
34
34
|
}
|
|
35
|
-
export declare const ImageEditablePreview: ({
|
|
35
|
+
export declare const ImageEditablePreview: ({ assetId, width, height, containerWidth, thumbnailSettings, thumbnailConfig, onImageLoadedChange, ...props }: ImageEditablePreviewProps) => React.JSX.Element;
|
|
36
36
|
export {};
|