@pimcore/studio-ui-bundle 2025.4.2 → 2025.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/types/src/core/app/api/pimcore/index.d.ts +4 -3
- package/dist/build/types/src/core/app/config/app-config.d.ts +1 -0
- package/dist/build/types/src/core/app/config/services/service-ids.d.ts +1 -0
- package/dist/build/types/src/core/app/i18n/utils/post-processors.d.ts +5 -0
- package/dist/build/types/src/core/bootstrap.d.ts +1 -0
- package/dist/build/types/src/core/components/element-tag/element-tag.d.ts +1 -0
- package/dist/build/types/src/core/components/element-tree/element-tree-slice.d.ts +4 -1
- package/dist/build/types/src/core/components/icon-selector/utils/element-icon.d.ts +12 -0
- package/dist/build/types/src/core/components/many-to-one-relation/path-target.styles.d.ts +1 -0
- package/dist/build/types/src/core/components/panel/panel.d.ts +3 -1
- package/dist/build/types/src/core/components/stack-list/stack-list-item.d.ts +1 -0
- package/dist/build/types/src/core/components/tabpanel/tabpanel.d.ts +1 -1
- package/dist/build/types/src/core/modules/app/mercure-api-slice.gen.d.ts +3 -3
- package/dist/build/types/src/core/modules/app/settings/settings-slice-enhanced.d.ts +117 -117
- package/dist/build/types/src/core/modules/app/settings/settings-slice.gen.d.ts +117 -117
- package/dist/build/types/src/core/modules/app/translations/translations-api-slice-enhanced.d.ts +700 -60
- package/dist/build/types/src/core/modules/app/translations/translations-api-slice.gen.d.ts +65 -65
- package/dist/build/types/src/core/modules/application-logger/application-logger-api-slice-enhanced.d.ts +49 -49
- package/dist/build/types/src/core/modules/application-logger/application-logger-api-slice.gen.d.ts +49 -49
- package/dist/build/types/src/core/modules/application-logger/application-logger.d.ts +5 -1
- package/dist/build/types/src/core/modules/application-logger/components/sidebar/tabs/filter/provider/filter-provider/filter-provider.d.ts +4 -1
- package/dist/build/types/src/core/modules/application-logger/components/table/table.d.ts +5 -1
- package/dist/build/types/src/core/modules/{field-definitions/dynamic-types/types/layout/fieldset/field-definition-fieldset-form-fields.d.ts → application-logger/tabs/object-tab/object-tab.d.ts} +3 -2
- package/dist/build/types/src/core/modules/asset/actions/zip-download/use-zip-download.d.ts +0 -1
- package/dist/build/types/src/core/modules/asset/asset-api-slice-enhanced.d.ts +226 -226
- package/dist/build/types/src/core/modules/asset/asset-api-slice.gen.d.ts +531 -531
- package/dist/build/types/src/core/modules/asset/asset-draft-slice.d.ts +130 -1
- package/dist/build/types/src/core/modules/asset/editor/shared-tab-manager/tabs/custom-metadata/metadata-api-slice-enhanced.d.ts +55 -55
- package/dist/build/types/src/core/modules/asset/editor/shared-tab-manager/tabs/custom-metadata/metadata-api-slice.gen.d.ts +55 -55
- package/dist/build/types/src/core/modules/asset/editor/types/asset-thumbnails-api-slice.gen.d.ts +109 -109
- package/dist/build/types/src/core/modules/asset/listing/listing-container.d.ts +15 -15
- package/dist/build/types/src/core/modules/auth/authorization-api-slice.gen.d.ts +7 -7
- package/dist/build/types/src/core/modules/auth/enums/user-permission.d.ts +2 -1
- package/dist/build/types/src/core/modules/auth/user/user-api-slice-enhanced.d.ts +39 -39
- package/dist/build/types/src/core/modules/auth/user/user-api-slice.gen.d.ts +201 -201
- package/dist/build/types/src/core/modules/bulk-import/components/bulk-import-modal/hooks/use-bulk-import.d.ts +1 -1
- package/dist/build/types/src/core/modules/bulk-import/jobs/bulk-import-job.d.ts +9 -2
- package/dist/build/types/src/core/modules/cache/cache-actions.d.ts +12 -0
- package/dist/build/types/src/core/modules/cache/cache-api-slice.gen.d.ts +509 -0
- package/dist/build/types/src/core/modules/cache/index.d.ts +10 -0
- package/dist/build/types/src/core/modules/class-definition/class-definition-slice-enhanced.d.ts +1143 -879
- package/dist/build/types/src/core/modules/class-definition/class-definition-slice.gen.d.ts +910 -710
- package/dist/build/types/src/core/modules/class-definition/components/class-editor/use-class-definition-get-by-id.d.ts +11 -0
- package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice-enhanced.d.ts +273 -273
- package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice.gen.d.ts +255 -255
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice-enhanced.d.ts +99 -98
- package/dist/build/types/src/core/modules/data-object/data-object-api-slice.gen.d.ts +221 -219
- package/dist/build/types/src/core/modules/data-object/data-object-draft-slice.d.ts +118 -1
- package/dist/build/types/src/core/modules/data-object/listing/listing-container.d.ts +15 -15
- package/dist/build/types/src/core/modules/data-object/unit-slice-enhanced.d.ts +104 -104
- package/dist/build/types/src/core/modules/data-object/unit-slice.gen.d.ts +89 -89
- package/dist/build/types/src/core/modules/document/document-api-slice-enhanced.d.ts +266 -266
- package/dist/build/types/src/core/modules/document/document-api-slice.gen.d.ts +253 -253
- package/dist/build/types/src/core/modules/document/document-draft-slice.d.ts +120 -1
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/areablock-types/components/draggable-areablock-type/draggable-areablock-type.d.ts +1 -2
- package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/areablock-types/utils/icon-fallback.d.ts +2 -5
- package/dist/build/types/src/core/modules/document/tree/node/content/tree-node-static-generator-icon.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/components/sortable-areablock-toolbar/sortable-areablock-toolbar.d.ts +6 -4
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/block-editable/components/sortable-block-toolbar/sortable-block-toolbar.d.ts +7 -4
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/components/editable-dropzone/dropzone-content.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/components/editable-dropzone/editable-dropzone.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/components/toolstrip-drag-overlay/toolstrip-drag-overlay.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/editable-sort-context.d.ts +1 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/hooks/use-sortable-element.d.ts +5 -4
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/helpers/editable-dropzone-sorting/utils/dom-utils.d.ts +5 -3
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/combo-field-ui.d.ts +19 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/combo-field-ui.styles.d.ts +13 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/combo-field-utils.d.ts +15 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/hooks/use-combo-field-data.d.ts +35 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/many-to-many-object-relation-combo-field.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/helpers/label/suppress-empty-field-label-provider.d.ts +15 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/helpers/relations/utils/resolve-field-name.d.ts +19 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/types/dynamic-type-object-data-many-to-many-object-relation.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/grid-cell-preview/advanced-many-to-many-relation/advanced-many-to-many-relation.d.ts +9 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/grid-cell-preview/relation-list/formatted-relation-list.d.ts +22 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/grid-cell-preview/relation-list/relation-list.d.ts +2 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/accordion/accordion.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/field-container/field-container.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/iframe/iframe.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/panel/panel.d.ts +3 -1
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/region/region.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/text/text.d.ts +3 -0
- package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/views/base-view.d.ts +2 -0
- package/dist/build/types/src/core/modules/element/editor/shared-components/workflow/menu/workflow-menu.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/dependencies/dependencies-api-slice-enhanced.d.ts +17 -17
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/dependencies/dependencies-api-slice.gen.d.ts +17 -17
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/notes-and-events/notes-and-events-api-slice-enhanced.d.ts +53 -53
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/notes-and-events/notes-and-events-api-slice.gen.d.ts +53 -53
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/properties/properties-api-slice-enhanced.d.ts +38 -38
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/properties/properties-api-slice.gen.d.ts +39 -39
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/schedule/schedule-api-slice-enhanced.d.ts +39 -39
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/schedule/schedule-api-slice.gen.d.ts +39 -39
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/tags/tags-api-slice-enhanced.d.ts +46 -46
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/tags/tags-api-slice.gen.d.ts +61 -61
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/versions/version-api-slice-enhanced.d.ts +59 -59
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/versions/version-api-slice.gen.d.ts +91 -89
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/workflow/workflow-api-slice-enhanced.d.ts +16 -16
- package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/workflow/workflow-api-slice.gen.d.ts +19 -19
- package/dist/build/types/src/core/modules/element/element-api-slice-enhanced.d.ts +107 -107
- package/dist/build/types/src/core/modules/element/element-api-slice.gen.d.ts +119 -119
- package/dist/build/types/src/core/modules/element/export-api-slice.gen.d.ts +49 -49
- package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/has-field-definition.d.ts +12 -0
- package/dist/build/types/src/core/modules/element/search-replace-assignments/usage-api-slice-enhanced.d.ts +19 -19
- package/dist/build/types/src/core/modules/element/search-replace-assignments/usage-api-slice.gen.d.ts +19 -19
- package/dist/build/types/src/core/modules/element/tree/tree-widget.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/email/emails-api-slice-enhanced.d.ts +109 -109
- package/dist/build/types/src/core/modules/email/emails-api-slice.gen.d.ts +109 -109
- package/dist/build/types/src/core/modules/email/log/components/text-preview/text-preview.d.ts +2 -1
- package/dist/build/types/src/core/modules/execution-engine/app-loader/rehydrate-jobs-loader.d.ts +11 -0
- package/dist/build/types/src/core/modules/execution-engine/execution-engine-api-slice-enhanced.d.ts +17 -17
- package/dist/build/types/src/core/modules/execution-engine/execution-engine-api-slice.gen.d.ts +23 -21
- package/dist/build/types/src/core/modules/execution-engine/execution-engine-slice.d.ts +7 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/__tests__/job-rehydration.test.d.ts +10 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/abstact-job.d.ts +1 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/batch-delete/abstract-batch-delete-job.d.ts +6 -2
- package/dist/build/types/src/core/modules/execution-engine/jobs/batch-delete/asset-batch-delete-job.d.ts +4 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/batch-delete/data-object-batch-delete-job.d.ts +4 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/batch-edit/abstract-batch-edit-job.d.ts +13 -4
- package/dist/build/types/src/core/modules/execution-engine/jobs/batch-edit/abstract-folder-batch-edit-job.d.ts +6 -3
- package/dist/build/types/src/core/modules/execution-engine/jobs/clone/abstract-clone-job.d.ts +11 -2
- package/dist/build/types/src/core/modules/execution-engine/jobs/clone/asset-clone-job.d.ts +20 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/clone/data-object-clone-job.d.ts +24 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/clone/document-clone-job.d.ts +5 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/delete/element-delete-job.d.ts +5 -2
- package/dist/build/types/src/core/modules/execution-engine/jobs/download/abstract-download-job.d.ts +35 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/download/csv-download-job.d.ts +24 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/download/xlsx-download-job.d.ts +24 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/download/zip-download-job.d.ts +18 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-delete-job.d.ts +6 -5
- package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-restore-job.d.ts +6 -2
- package/dist/build/types/src/core/modules/execution-engine/jobs/rehydration-helpers.d.ts +15 -0
- package/dist/build/types/src/core/modules/execution-engine/jobs/search-replace-assignments/search-replace-assignments-job.d.ts +5 -2
- package/dist/build/types/src/core/modules/execution-engine/jobs/tag-assign/tag-assign-job.d.ts +5 -2
- package/dist/build/types/src/core/modules/execution-engine/jobs/zip-upload/zip-upload-job.d.ts +6 -2
- package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/__tests__/message-bus-job-handler-polling.test.d.ts +10 -0
- package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/job-run-polling.d.ts +1 -0
- package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/message-bus-job-handler-types.d.ts +2 -0
- package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/message-bus-job-handler.d.ts +3 -0
- package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/message-bus-job-notification.d.ts +1 -0
- package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/step-tracker/child-job-step-tracker.d.ts +5 -0
- package/dist/build/types/src/core/modules/execution-engine/notification/job/job-view.d.ts +1 -0
- package/dist/build/types/src/core/modules/execution-engine/notification/job-list/job-list.styles.d.ts +1 -0
- package/dist/build/types/src/core/modules/execution-engine/services/execution-engine.d.ts +5 -9
- package/dist/build/types/src/core/modules/execution-engine/services/job-rehydration-registry.d.ts +22 -0
- package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/refresh-provider.d.ts +20 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/data/_abstracts/use-sync-title-from-name.d.ts +10 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/data/classificationstore/dynamic-type-field-definition-classificationstore.d.ts +2 -1
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/data/fieldcollections/dynamic-type-field-definition-fieldcollections.d.ts +0 -2
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/accordion/dynamic-type-field-definition-accordion.d.ts +2 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/fieldcontainer/dynamic-type-field-definition-field-container.d.ts +2 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/fieldset/dynamic-type-field-definition-fieldset.d.ts +1 -2
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/iframe/dynamic-type-field-definition-iframe.d.ts +2 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/region/dynamic-type-field-definition-region.d.ts +2 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/tabpanel/dynamic-type-field-definition-tabpanel.d.ts +2 -0
- package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/text/dynamic-type-field-definition-text.d.ts +2 -0
- package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-api-slice.gen.d.ts +49 -49
- package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-slice-enhanced.d.ts +79 -79
- package/dist/build/types/src/core/modules/notifications/notifications-slice-enhanced.d.ts +41 -41
- package/dist/build/types/src/core/modules/notifications/notifications-slice.gen.d.ts +73 -73
- package/dist/build/types/src/core/modules/perspectives/perspectives-slice.enhanced.d.ts +93 -93
- package/dist/build/types/src/core/modules/perspectives/perspectives-slice.gen.d.ts +93 -93
- package/dist/build/types/src/core/modules/recycle-bin/components/batch-actions/batch-actions.d.ts +1 -6
- package/dist/build/types/src/core/modules/recycle-bin/context/selected-items-context.d.ts +14 -1
- package/dist/build/types/src/core/modules/recycle-bin/hooks/use-recycle-bin.d.ts +2 -2
- package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-api-slice-enhanced.d.ts +23 -23
- package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-api-slice.gen.d.ts +23 -23
- package/dist/build/types/src/core/modules/redirects/seo-api-slice-enhanced.d.ts +109 -109
- package/dist/build/types/src/core/modules/redirects/seo-api-slice.gen.d.ts +109 -109
- package/dist/build/types/src/core/modules/reports/custom-reports-api-slice-enhanced.d.ts +95 -95
- package/dist/build/types/src/core/modules/reports/custom-reports-api-slice.gen.d.ts +107 -107
- package/dist/build/types/src/core/modules/search/search-api-slice-enhanced.d.ts +15 -15
- package/dist/build/types/src/core/modules/search/search-api-slice.gen.d.ts +113 -113
- package/dist/build/types/src/core/modules/translations/components/cleanup-translations-button.d.ts +16 -0
- package/dist/build/types/src/core/modules/translations/components/export-translations-button.d.ts +19 -0
- package/dist/build/types/src/core/modules/translations/components/import-translations-button.d.ts +16 -0
- package/dist/build/types/src/core/modules/translations/components/import-translations-modal/csv-settings-step.d.ts +22 -0
- package/dist/build/types/src/core/modules/translations/components/import-translations-modal/file-select-step.d.ts +17 -0
- package/dist/build/types/src/core/modules/translations/components/import-translations-modal/hooks/use-import-csv.d.ts +29 -0
- package/dist/build/types/src/core/modules/translations/components/import-translations-modal/import-translations-modal.d.ts +18 -0
- package/dist/build/types/src/core/modules/translations/components/import-translations-modal/import-translations-modal.styles.d.ts +15 -0
- package/dist/build/types/src/core/modules/translations/components/import-translations-modal/types.d.ts +17 -0
- package/dist/build/types/src/core/modules/translations/components/translation-merger/hooks/use-merger-columns.d.ts +18 -0
- package/dist/build/types/src/core/modules/translations/components/translation-merger/hooks/use-merger-rows.d.ts +38 -0
- package/dist/build/types/src/core/modules/translations/components/translation-merger/merger-data-store.d.ts +18 -0
- package/dist/build/types/src/core/modules/translations/components/translation-merger/translation-merger-container.d.ts +11 -0
- package/dist/build/types/src/core/modules/translations/components/translation-merger/translation-merger.d.ts +17 -0
- package/dist/build/types/src/core/modules/translations/components/translation-merger/translation-merger.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/translations/hooks/translation-domain-provider.d.ts +2 -1
- package/dist/build/types/src/core/modules/translations/translations-container.d.ts +4 -1
- package/dist/build/types/src/core/modules/translations/translations-container.styles.d.ts +12 -0
- package/dist/build/types/src/core/modules/translations/translations-wrapper.d.ts +5 -1
- package/dist/build/types/src/core/modules/user/hooks/use-merged-keybindings.d.ts +1 -1
- package/dist/build/types/src/core/modules/user/management/detail/tabs/workspaces/components/special-settings-modal.d.ts +24 -0
- package/dist/build/types/src/core/modules/user/management/detail/tabs/workspaces/workspace-type.d.ts +14 -0
- package/dist/build/types/src/core/modules/user/management/detail/tabs/workspaces/workspaces-container.d.ts +0 -5
- package/dist/build/types/src/core/modules/user/roles/roles-api-slice-enhanced.d.ts +43 -43
- package/dist/build/types/src/core/modules/user/roles/roles-api-slice.gen.d.ts +109 -109
- package/dist/build/types/src/core/modules/user/user-api-slice-enhanced.d.ts +198 -198
- package/dist/build/types/src/core/modules/website-settings/website-settings-api-slice-enhanced.d.ts +39 -39
- package/dist/build/types/src/core/modules/website-settings/website-settings-api-slice.gen.d.ts +39 -39
- package/dist/build/types/src/core/utils/css.d.ts +9 -0
- package/dist/build/types/src/core/utils/files.d.ts +7 -0
- package/dist/build/types/src/core/utils/normalize-icon.d.ts +14 -0
- package/dist/build/types/src/sdk/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/build/types/src/core/modules/execution-engine/jobs/clone/element-clone-job.d.ts +0 -28
- package/dist/build/types/src/core/modules/execution-engine/jobs/download/download-job.d.ts +0 -28
|
@@ -403,6 +403,122 @@ export declare const slice: import("@reduxjs/toolkit").Slice<import("@reduxjs/to
|
|
|
403
403
|
id: number;
|
|
404
404
|
key: string;
|
|
405
405
|
}>): void;
|
|
406
|
+
setModificationDate(state: {
|
|
407
|
+
ids: number[];
|
|
408
|
+
entities: {
|
|
409
|
+
[x: number]: {
|
|
410
|
+
path: string;
|
|
411
|
+
id: number;
|
|
412
|
+
type: string;
|
|
413
|
+
elementType: string;
|
|
414
|
+
parentId: number;
|
|
415
|
+
icon: {
|
|
416
|
+
type: "name" | "path";
|
|
417
|
+
value: string;
|
|
418
|
+
};
|
|
419
|
+
key: string;
|
|
420
|
+
isLocked: boolean;
|
|
421
|
+
permissions: {
|
|
422
|
+
list: boolean;
|
|
423
|
+
view: boolean;
|
|
424
|
+
publish: boolean;
|
|
425
|
+
delete: boolean;
|
|
426
|
+
rename: boolean;
|
|
427
|
+
create: boolean;
|
|
428
|
+
settings: boolean;
|
|
429
|
+
versions: boolean;
|
|
430
|
+
properties: boolean;
|
|
431
|
+
save: boolean;
|
|
432
|
+
unpublish: boolean;
|
|
433
|
+
};
|
|
434
|
+
additionalAttributes?: {
|
|
435
|
+
[x: string]: string | number | boolean | object;
|
|
436
|
+
} | undefined;
|
|
437
|
+
fullPath: string;
|
|
438
|
+
index: number;
|
|
439
|
+
userOwner: number;
|
|
440
|
+
userModification: number | null;
|
|
441
|
+
locked: string | null;
|
|
442
|
+
creationDate: number | null;
|
|
443
|
+
modificationDate: number | null;
|
|
444
|
+
customAttributes?: {
|
|
445
|
+
icon: {
|
|
446
|
+
type: "name" | "path";
|
|
447
|
+
value: string;
|
|
448
|
+
} | null;
|
|
449
|
+
tooltip: string | null;
|
|
450
|
+
additionalIcons: string[];
|
|
451
|
+
key: string | null;
|
|
452
|
+
additionalCssClasses: string[];
|
|
453
|
+
} | undefined;
|
|
454
|
+
hasWorkflowAvailable: boolean;
|
|
455
|
+
hasChildren: boolean;
|
|
456
|
+
hasWorkflowWithPermissions: boolean;
|
|
457
|
+
published: boolean;
|
|
458
|
+
isSite: boolean;
|
|
459
|
+
navigationExclude: boolean;
|
|
460
|
+
editableData: object;
|
|
461
|
+
missingRequiredEditable: boolean;
|
|
462
|
+
properties: {
|
|
463
|
+
additionalAttributes?: {
|
|
464
|
+
[x: string]: string | number | boolean | object;
|
|
465
|
+
} | undefined;
|
|
466
|
+
key: string;
|
|
467
|
+
data: any | null;
|
|
468
|
+
type: string;
|
|
469
|
+
inheritable: boolean;
|
|
470
|
+
inherited: boolean;
|
|
471
|
+
config?: string | null | undefined;
|
|
472
|
+
predefinedName?: string | null | undefined;
|
|
473
|
+
description?: string | null | undefined;
|
|
474
|
+
rowId: string;
|
|
475
|
+
}[];
|
|
476
|
+
modified: boolean;
|
|
477
|
+
changes: {
|
|
478
|
+
[x: string]: boolean;
|
|
479
|
+
};
|
|
480
|
+
modifiedCells: {
|
|
481
|
+
[x: string]: {
|
|
482
|
+
rowIndex: number | string;
|
|
483
|
+
columnId: string;
|
|
484
|
+
}[];
|
|
485
|
+
};
|
|
486
|
+
schedules: {
|
|
487
|
+
additionalAttributes?: {
|
|
488
|
+
[x: string]: string | number | boolean | object;
|
|
489
|
+
} | undefined;
|
|
490
|
+
id: number;
|
|
491
|
+
ctype: string;
|
|
492
|
+
date: number;
|
|
493
|
+
action?: ("publish-version" | "publish" | "unpublish" | "delete") | ("publish-version" | "publish" | "unpublish" | "delete") | undefined;
|
|
494
|
+
version?: number | null | undefined;
|
|
495
|
+
active: boolean;
|
|
496
|
+
userId: number;
|
|
497
|
+
username: string;
|
|
498
|
+
archived: boolean;
|
|
499
|
+
}[];
|
|
500
|
+
activeTab: string | null;
|
|
501
|
+
draftData: {
|
|
502
|
+
id: number;
|
|
503
|
+
modificationDate: number;
|
|
504
|
+
isAutoSave: boolean;
|
|
505
|
+
} | null;
|
|
506
|
+
settingsData?: {
|
|
507
|
+
[x: string]: any;
|
|
508
|
+
} | undefined;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
activeTab: null;
|
|
512
|
+
modified: boolean;
|
|
513
|
+
properties: never[];
|
|
514
|
+
schedule: never[];
|
|
515
|
+
changes: {};
|
|
516
|
+
modifiedCells: {};
|
|
517
|
+
settingsData: {};
|
|
518
|
+
}, action: PayloadAction<{
|
|
519
|
+
id: number;
|
|
520
|
+
modificationDate: number | null;
|
|
521
|
+
}>): void;
|
|
406
522
|
}, "document-draft", "document-draft", import("@reduxjs/toolkit").SliceSelectors<import("@reduxjs/toolkit/src/entities/models").EntityState<DocumentDraft, number> & {
|
|
407
523
|
activeTab: null;
|
|
408
524
|
modified: boolean;
|
|
@@ -415,7 +531,10 @@ export declare const slice: import("@reduxjs/toolkit").Slice<import("@reduxjs/to
|
|
|
415
531
|
export declare const documentReceived: import("@reduxjs/toolkit").ActionCreatorWithPayload<DocumentDraft, "document-draft/documentReceived">, removeDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "document-draft/removeDocument">, resetDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "document-draft/resetDocument">, updateKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
416
532
|
id: number;
|
|
417
533
|
key: string;
|
|
418
|
-
}, "document-draft/updateKey">,
|
|
534
|
+
}, "document-draft/updateKey">, setModificationDate: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
535
|
+
id: number;
|
|
536
|
+
modificationDate: number | null;
|
|
537
|
+
}, "document-draft/setModificationDate">, resetChanges: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "document-draft/resetChanges">, setModifiedCells: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-trackable-changes").ModifiedCellsAction, "document-draft/setModifiedCells">, addPropertyToDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-properties").PropertyAction, "document-draft/addProperty">, removePropertyFromDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-properties").PropertyAction, "document-draft/removeProperty">, setPropertiesForDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-properties").PropertiesAction, "document-draft/setProperties">, updatePropertyForDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-properties").PropertyAction, "document-draft/updateProperty">, addScheduleToDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-schedules").ScheduleAction, "document-draft/addSchedule">, removeScheduleFromDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-schedules").ScheduleAction, "document-draft/removeSchedule">, setSchedulesForDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-schedules").SchedulesAction, "document-draft/setSchedules">, updateScheduleForDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-schedules").ScheduleAction, "document-draft/updateSchedule">, resetSchedulesChangesForDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "document-draft/resetSchedulesChanges">, setActiveTabForDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../modules/element/draft/hooks/use-tabs").SetActiveTabAction, "document-draft/setActiveTab">, markDocumentEditablesAsModified: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "document-draft/markDocumentEditablesAsModified">, setDraftData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
419
538
|
id: number;
|
|
420
539
|
draftData: any;
|
|
421
540
|
}, "document-draft/setDraftData">, publishDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -11,7 +11,6 @@ import React from 'react';
|
|
|
11
11
|
import { type AreablockTypeEntry } from '../../../../../../../../modules/document/document-editor-slice';
|
|
12
12
|
interface DraggableAreablockTypeProps {
|
|
13
13
|
type: AreablockTypeEntry;
|
|
14
|
-
globalIndex: number;
|
|
15
14
|
}
|
|
16
|
-
export declare const DraggableAreablockType: ({ type
|
|
15
|
+
export declare const DraggableAreablockType: ({ type }: DraggableAreablockTypeProps) => React.JSX.Element;
|
|
17
16
|
export {};
|
|
@@ -7,8 +7,5 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
-
import { type ElementIcon } from '../../../../../../../
|
|
11
|
-
|
|
12
|
-
* Gets the icon for an areablock type, applying fallback icon if no icon is provided
|
|
13
|
-
*/
|
|
14
|
-
export declare const getAreablockTypeIcon: (icon: string | undefined, index: number) => ElementIcon;
|
|
10
|
+
import { type ElementIcon } from '../../../../../../../components/icon/icon';
|
|
11
|
+
export declare const getAreablockTypeIcon: (icon: string | undefined) => ElementIcon;
|
|
@@ -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 TreeNodeStaticGeneratorIcon: (props: TreeNodeContentMetaProps) => React.JSX.Element | null;
|
|
@@ -8,16 +8,18 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { type AreablockManager } from '../../utils/areablock-manager';
|
|
12
11
|
import { type AreaType, type AreablockEditableConfig } from '../../areablock-editable';
|
|
13
12
|
export interface SortableAreablockToolbarProps {
|
|
14
13
|
id: string;
|
|
15
|
-
buttonsContainer: HTMLElement;
|
|
16
14
|
element: HTMLElement;
|
|
17
15
|
limitReached: boolean;
|
|
18
16
|
areaTypes: AreaType[];
|
|
19
17
|
config?: AreablockEditableConfig;
|
|
20
|
-
|
|
18
|
+
isFirst: boolean;
|
|
19
|
+
isLast: boolean;
|
|
20
|
+
isHidden: boolean;
|
|
21
|
+
toolbarTitle?: string;
|
|
22
|
+
hasDialogBox: boolean;
|
|
21
23
|
onAddArea: (element: HTMLElement | null, areaType?: string) => void;
|
|
22
24
|
onRemoveArea: (element: HTMLElement) => void;
|
|
23
25
|
onMoveAreaUp: (element: HTMLElement) => void;
|
|
@@ -27,4 +29,4 @@ export interface SortableAreablockToolbarProps {
|
|
|
27
29
|
isInherited?: boolean;
|
|
28
30
|
onOverwrite?: () => void;
|
|
29
31
|
}
|
|
30
|
-
export declare const SortableAreablockToolbar: (
|
|
32
|
+
export declare const SortableAreablockToolbar: (props: SortableAreablockToolbarProps) => React.JSX.Element;
|
|
@@ -8,13 +8,16 @@
|
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { type BlockManager } from '../../utils/block-manager';
|
|
12
11
|
export interface SortableBlockToolbarProps {
|
|
13
12
|
id: string;
|
|
14
|
-
buttonsContainer: HTMLElement;
|
|
15
13
|
element: HTMLElement;
|
|
16
14
|
limitReached: boolean;
|
|
17
|
-
|
|
15
|
+
isFirst: boolean;
|
|
16
|
+
isLast: boolean;
|
|
17
|
+
hasPlus: boolean;
|
|
18
|
+
hasMinus: boolean;
|
|
19
|
+
hasUp: boolean;
|
|
20
|
+
hasDown: boolean;
|
|
18
21
|
onAddBlock: (element: HTMLElement | null, amount?: number) => void;
|
|
19
22
|
onRemoveBlock: (element: HTMLElement) => void;
|
|
20
23
|
onMoveBlockUp: (element: HTMLElement) => void;
|
|
@@ -22,4 +25,4 @@ export interface SortableBlockToolbarProps {
|
|
|
22
25
|
isInherited?: boolean;
|
|
23
26
|
onOverwrite?: () => void;
|
|
24
27
|
}
|
|
25
|
-
export declare const SortableBlockToolbar: (
|
|
28
|
+
export declare const SortableBlockToolbar: (props: SortableBlockToolbarProps) => React.JSX.Element;
|
|
@@ -13,4 +13,4 @@ export interface EditableDropzoneContentProps {
|
|
|
13
13
|
index?: number;
|
|
14
14
|
setNodeRef?: (element: HTMLElement | null) => void;
|
|
15
15
|
}
|
|
16
|
-
export declare const EditableDropzoneContent: ({ id, index, setNodeRef }: EditableDropzoneContentProps) => React.JSX.Element
|
|
16
|
+
export declare const EditableDropzoneContent: React.MemoExoticComponent<({ id, index, setNodeRef }: EditableDropzoneContentProps) => React.JSX.Element>;
|
|
@@ -14,4 +14,4 @@ export interface EditableDropzoneProps {
|
|
|
14
14
|
onDropItem?: (info: any, index: number) => Promise<void>;
|
|
15
15
|
isValidDrop?: (info: any) => boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare const EditableDropzone: ({ id, index, onDropItem, isValidDrop }: EditableDropzoneProps) => React.JSX.Element
|
|
17
|
+
export declare const EditableDropzone: React.MemoExoticComponent<({ id, index, onDropItem, isValidDrop }: EditableDropzoneProps) => React.JSX.Element>;
|
|
@@ -12,4 +12,4 @@ export interface ToolstripDragOverlayProps {
|
|
|
12
12
|
activeId: string | null;
|
|
13
13
|
title?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare const ToolstripDragOverlay: ({ activeId, title }: ToolstripDragOverlayProps) => React.JSX.Element
|
|
15
|
+
export declare const ToolstripDragOverlay: React.MemoExoticComponent<({ activeId, title }: ToolstripDragOverlayProps) => React.JSX.Element>;
|
|
@@ -18,4 +18,4 @@ export interface EditableSortContextProps {
|
|
|
18
18
|
onDragOver: (event: DragOverEvent) => void;
|
|
19
19
|
onDragStart: (event: DragStartEvent) => void;
|
|
20
20
|
}
|
|
21
|
-
export declare const EditableSortContext: ({ children,
|
|
21
|
+
export declare const EditableSortContext: ({ children, activeId, dragOverlayTitle, onDragEnd, onDragOver, onDragStart }: EditableSortContextProps) => React.JSX.Element;
|
|
@@ -7,16 +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 {
|
|
10
|
+
import { useDraggable } from '@dnd-kit/core';
|
|
11
11
|
export interface UseSortableElementProps {
|
|
12
12
|
id: string;
|
|
13
13
|
element: HTMLElement;
|
|
14
14
|
}
|
|
15
15
|
export interface UseSortableElementReturn {
|
|
16
|
-
listeners: ReturnType<typeof
|
|
16
|
+
listeners: ReturnType<typeof useDraggable>['listeners'];
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Sets up the toolbar element as a drag source. Uses `useDraggable` rather than
|
|
20
|
+
* `useSortable` because the toolbars don't move during a drag (they're portaled
|
|
21
|
+
* into static pimcore HTML) and the user only drops on dropzones.
|
|
21
22
|
*/
|
|
22
23
|
export declare const useSortableElement: ({ id, element }: UseSortableElementProps) => UseSortableElementReturn;
|
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const createDropzoneContainer: (editableName: string | null, isFirst?: boolean) => HTMLDivElement;
|
|
14
14
|
/**
|
|
15
|
-
* Updates dropzone visibility based on editable name hierarchy
|
|
15
|
+
* Updates dropzone visibility based on editable name hierarchy.
|
|
16
|
+
* Called only on drag start/end, so we don't bother caching the global query.
|
|
16
17
|
*/
|
|
17
18
|
export declare const updateDropzoneVisibility: (editableName: string | null, isDragging: boolean) => void;
|
|
18
19
|
/**
|
|
19
|
-
* Updates dropzone drag states based on active dropzone
|
|
20
|
+
* Updates dropzone drag states based on active dropzone. Hot path on dragOver —
|
|
21
|
+
* pass `cachedDropzones` to skip a per-event querySelectorAll.
|
|
20
22
|
*/
|
|
21
|
-
export declare const updateDropzoneDragStates: (container: HTMLElement | null, activeDropzoneId: string | null, isDragging: boolean) => void;
|
|
23
|
+
export declare const updateDropzoneDragStates: (container: HTMLElement | null, activeDropzoneId: string | null, isDragging: boolean, cachedDropzones?: readonly HTMLElement[]) => void;
|
|
22
24
|
export declare const removeDropzoneContainers: (container: HTMLElement | null, editableName: string | null) => void;
|
|
23
25
|
/**
|
|
24
26
|
* Updates dropzone containers before and after elements, skipping if they already exist
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const LoadingRows: () => React.JSX.Element;
|
|
12
|
+
interface DropdownFooterProps {
|
|
13
|
+
loaded: number;
|
|
14
|
+
total: number | undefined;
|
|
15
|
+
allLoaded: boolean;
|
|
16
|
+
backgroundMode: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const DropdownFooter: ({ loaded, total, allLoaded, backgroundMode }: DropdownFooterProps) => React.JSX.Element | null;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
11
|
+
loadingRow: import("antd-style").SerializedStyles;
|
|
12
|
+
dropdownFooter: import("antd-style").SerializedStyles;
|
|
13
|
+
}>;
|
|
@@ -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 DataObjectGetSearchApiResponse } from '../../../../../../../../../../modules/search/search-api-slice.gen';
|
|
11
|
+
import { type ManyToManyRelationValueItem } from '../../../../../../../../../../components/many-to-many-relation/hooks/use-value';
|
|
12
|
+
import { type VisibleFieldDefinition } from '../../many-to-many-object-relation';
|
|
13
|
+
export type SearchItem = NonNullable<DataObjectGetSearchApiResponse['items']>[number];
|
|
14
|
+
export declare const buildLabel: (item: SearchItem, resolvedVisibleDefs: VisibleFieldDefinition[]) => string;
|
|
15
|
+
export declare const processItems: (items: SearchItem[], resolvedVisibleDefs: VisibleFieldDefinition[], itemMap: Map<number, ManyToManyRelationValueItem>) => Map<number, string>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
import type React from 'react';
|
|
11
|
+
import { type ManyToManyObjectRelationProps } from '../../../many-to-many-object-relation';
|
|
12
|
+
export declare const COMBO_PAGE_SIZE = 200;
|
|
13
|
+
export declare const BACKGROUND_LOAD_THRESHOLD = 1000;
|
|
14
|
+
export interface ComboOption {
|
|
15
|
+
value: number;
|
|
16
|
+
label: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const useComboFieldData: (props: ManyToManyObjectRelationProps) => {
|
|
19
|
+
options: ComboOption[];
|
|
20
|
+
selectedIds: number[];
|
|
21
|
+
isFetching: boolean;
|
|
22
|
+
allItemsLoaded: boolean;
|
|
23
|
+
accumulatedOptions: ComboOption[];
|
|
24
|
+
unfilteredTotal: number | undefined;
|
|
25
|
+
backgroundLoadEnabled: boolean;
|
|
26
|
+
isLoadingInitialLabels: boolean;
|
|
27
|
+
searchTerm: string;
|
|
28
|
+
isDisabled: boolean;
|
|
29
|
+
handleSearch: (value: string) => void;
|
|
30
|
+
handleDropdownVisibleChange: (open: boolean) => void;
|
|
31
|
+
handlePopupScroll: (e: React.UIEvent<HTMLDivElement>) => void;
|
|
32
|
+
handleSelect: (id: number) => void;
|
|
33
|
+
handleDeselect: (id: number) => void;
|
|
34
|
+
localFilterOption: (input: string, option?: ComboOption) => boolean;
|
|
35
|
+
};
|
|
@@ -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 ManyToManyObjectRelationProps } from '../../many-to-many-object-relation';
|
|
12
|
+
export declare const ManyToManyObjectRelationComboField: (props: ManyToManyObjectRelationProps) => 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 React, { type ReactNode } from 'react';
|
|
11
|
+
export interface SuppressEmptyFieldLabelProviderProps {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const SuppressEmptyFieldLabelProvider: ({ children }: SuppressEmptyFieldLabelProviderProps) => React.JSX.Element;
|
|
15
|
+
export declare const useSuppressEmptyFieldLabel: () => boolean;
|
|
@@ -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
|
+
/**
|
|
11
|
+
* Builds the dot-notation field name expected by the format-path API.
|
|
12
|
+
*
|
|
13
|
+
* Object brick segments are read from column.config so we don't depend on the
|
|
14
|
+
* column.key string shape. Localizable columns insert `localizedfields` before
|
|
15
|
+
* the leaf to match the backend's DotNotationParser resolvers. Unknown column
|
|
16
|
+
* types (e.g. classificationstore — no matching resolver) return undefined so
|
|
17
|
+
* the caller skips the API call.
|
|
18
|
+
*/
|
|
19
|
+
export declare const useResolvedFieldName: (columnId: string | undefined, fallback: string | null | undefined) => string | undefined;
|
|
@@ -13,7 +13,9 @@ import { type ManyToManyRelationClassDefinitionProps } from '../../../../../../.
|
|
|
13
13
|
import type { FormItemProps } from 'antd/es/form/FormItem';
|
|
14
14
|
import { type IRelationAllowedTypesClassDefinition } from '../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/relations/allowed-types';
|
|
15
15
|
import { type DynamicTypeFieldFilterAbstract } from '../../../field-filters/dynamic-type-field-filter-abstract';
|
|
16
|
-
export type ManyToManyObjectRelationObjectDataDefinition = AbstractObjectDataDefinition & IRelationAllowedTypesClassDefinition & ManyToManyRelationClassDefinitionProps
|
|
16
|
+
export type ManyToManyObjectRelationObjectDataDefinition = AbstractObjectDataDefinition & IRelationAllowedTypesClassDefinition & ManyToManyRelationClassDefinitionProps & {
|
|
17
|
+
displayMode?: string | null;
|
|
18
|
+
};
|
|
17
19
|
export declare class DynamicTypeObjectDataManyToManyObjectRelation extends DynamicTypeObjectDataAbstract {
|
|
18
20
|
id: string;
|
|
19
21
|
dynamicTypeFieldFilterType: DynamicTypeFieldFilterAbstract;
|
|
@@ -13,6 +13,14 @@ import { type RelationColumnDefinition } from '../../data-related/components/adv
|
|
|
13
13
|
interface AdvancedManyToManyRelationProps {
|
|
14
14
|
value: AdvancedManyToManyRelationValue | null;
|
|
15
15
|
columnDefinition: RelationColumnDefinition[] | null;
|
|
16
|
+
pathIsHtml?: boolean;
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
+
interface FormattedAdvancedManyToManyRelationProps extends AdvancedManyToManyRelationProps {
|
|
19
|
+
pathFormatterClass?: string | null;
|
|
20
|
+
columnId?: string;
|
|
21
|
+
fieldNameFallback?: string | null;
|
|
22
|
+
dataObjectId?: number | null;
|
|
23
|
+
}
|
|
24
|
+
export declare const AdvancedManyToManyRelationList: ({ value, columnDefinition, pathIsHtml }: AdvancedManyToManyRelationProps) => React.JSX.Element;
|
|
25
|
+
export declare const FormattedAdvancedManyToManyRelationList: ({ value, columnDefinition, pathFormatterClass, columnId, fieldNameFallback, dataObjectId }: FormattedAdvancedManyToManyRelationProps) => React.JSX.Element;
|
|
18
26
|
export {};
|
|
@@ -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
|
+
import React from 'react';
|
|
11
|
+
import { type RelationItem } from './relation-list';
|
|
12
|
+
interface FormattedRelationListProps {
|
|
13
|
+
relations: RelationItem[] | null;
|
|
14
|
+
pathFormatterClass?: string | null;
|
|
15
|
+
dataObjectId?: number | null;
|
|
16
|
+
columnId?: string;
|
|
17
|
+
fieldNameFallback?: string | null;
|
|
18
|
+
isClickable?: boolean;
|
|
19
|
+
noWrapper?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const FormattedRelationList: ({ relations, pathFormatterClass, dataObjectId, columnId, fieldNameFallback, isClickable, noWrapper }: FormattedRelationListProps) => React.JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -19,6 +19,7 @@ interface RelationListProps {
|
|
|
19
19
|
relations: RelationItem[] | null;
|
|
20
20
|
isClickable?: boolean;
|
|
21
21
|
noWrapper?: boolean;
|
|
22
|
+
pathIsHtml?: boolean;
|
|
22
23
|
}
|
|
23
|
-
export declare const RelationList: ({ relations, isClickable, noWrapper }: RelationListProps) => React.JSX.Element;
|
|
24
|
+
export declare const RelationList: ({ relations, isClickable, noWrapper, pathIsHtml }: RelationListProps) => React.JSX.Element;
|
|
24
25
|
export {};
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface AccordionProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
title?: string;
|
|
14
15
|
border?: boolean;
|
|
15
16
|
collapsible?: boolean;
|
|
16
17
|
collapsed?: boolean;
|
|
18
|
+
icon?: ElementIcon | null;
|
|
17
19
|
}
|
|
18
|
-
export declare const Accordion: ({ children, title, border, collapsed, collapsible, noteditable }: AccordionProps) => React.JSX.Element;
|
|
20
|
+
export declare const Accordion: ({ children, title, border, collapsed, collapsible, icon, noteditable }: AccordionProps) => React.JSX.Element;
|
|
@@ -12,5 +12,7 @@ import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-l
|
|
|
12
12
|
export interface FieldContainerProps extends AbstractObjectLayoutDefinition {
|
|
13
13
|
collapsible?: boolean;
|
|
14
14
|
collapsed?: boolean;
|
|
15
|
+
layout?: 'vbox' | 'hbox';
|
|
16
|
+
fieldLabel?: string;
|
|
15
17
|
}
|
|
16
|
-
export declare const FieldContainer: ({ children, collapsible, collapsed, noteditable }: FieldContainerProps) => React.JSX.Element;
|
|
18
|
+
export declare const FieldContainer: ({ children, collapsible, collapsed, noteditable, layout, fieldLabel }: FieldContainerProps) => React.JSX.Element;
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface IframeProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
iframeUrl: string;
|
|
14
15
|
width: number;
|
|
15
16
|
height: number;
|
|
17
|
+
icon?: ElementIcon | null;
|
|
16
18
|
}
|
|
17
19
|
export declare const Iframe: (props: IframeProps) => React.JSX.Element;
|
|
@@ -9,12 +9,14 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface PanelProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
title?: string;
|
|
14
15
|
border?: boolean;
|
|
15
16
|
collapsible?: boolean;
|
|
16
17
|
collapsed?: boolean;
|
|
18
|
+
icon?: ElementIcon | null;
|
|
17
19
|
children: AbstractObjectLayoutDefinition[];
|
|
18
20
|
theme?: 'fieldset' | 'card-with-highlight';
|
|
19
21
|
}
|
|
20
|
-
export declare const Panel: ({ children, name, border, collapsed, collapsible, title, theme, noteditable, ...props }: PanelProps) => React.JSX.Element;
|
|
22
|
+
export declare const Panel: ({ children, name, border, collapsed, collapsible, title, icon, theme, noteditable, ...props }: PanelProps) => React.JSX.Element;
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
11
11
|
import React, { type ReactNode } from 'react';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface RegionProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
collapsible?: boolean;
|
|
14
15
|
collapsed?: boolean;
|
|
15
16
|
title?: ReactNode;
|
|
17
|
+
icon?: ElementIcon | null;
|
|
16
18
|
}
|
|
17
19
|
export declare enum AvailableRegions {
|
|
18
20
|
North = "north",
|
|
@@ -9,11 +9,14 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AbstractObjectLayoutDefinition } from '../../dynamic-type-object-layout-abstract';
|
|
12
|
+
import { type ElementIcon } from '../../../../../../../../components/icon/icon';
|
|
12
13
|
export interface TextProps extends AbstractObjectLayoutDefinition {
|
|
13
14
|
html: string;
|
|
14
15
|
title?: string;
|
|
15
16
|
border?: boolean;
|
|
16
17
|
collapsible?: boolean;
|
|
17
18
|
collapsed?: boolean;
|
|
19
|
+
bodyStyle?: string | null;
|
|
20
|
+
icon?: ElementIcon | null;
|
|
18
21
|
}
|
|
19
22
|
export declare const Text: (props: TextProps) => React.JSX.Element;
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { type AccordionViewProps } from './accordion-view';
|
|
12
12
|
import { type CardViewProps } from './card-view';
|
|
13
|
+
import { type ElementIcon } from '../../../../../../../components/icon/icon';
|
|
13
14
|
export type BaseViewProps = (CardViewProps | AccordionViewProps) & {
|
|
14
15
|
border?: boolean;
|
|
16
|
+
icon?: ElementIcon | null;
|
|
15
17
|
extra?: CardViewProps['extra'] | AccordionViewProps['extra'];
|
|
16
18
|
};
|
|
17
19
|
export declare const BaseView: ({ theme, ...props }: BaseViewProps) => 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
|
+
dropdownOverlay: import("antd-style").SerializedStyles;
|
|
12
|
+
}>;
|