From eb746db3c8237097c1336dbd70fe3fe0ff110c07 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Wed, 15 May 2024 12:21:17 +0100 Subject: [PATCH] Removes deprecated Collection View property-editor --- ...y-property-editor-ui-collection.element.ts | 24 ------------------- .../property-editors/collection/manifests.ts | 19 ++------------- 2 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/legacy-property-editor-ui-collection.element.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/legacy-property-editor-ui-collection.element.ts b/src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/legacy-property-editor-ui-collection.element.ts deleted file mode 100644 index 175d2acf2a..0000000000 --- a/src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/legacy-property-editor-ui-collection.element.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { UmbPropertyEditorUICollectionElement } from './property-editor-ui-collection.element.js'; -import { customElement } from '@umbraco-cms/backoffice/external/lit'; - -/** - * @element umb-legacy-property-editor-ui-collection - * @deprecated Use "umb-property-editor-ui-collection" instead. - */ -@customElement('umb-legacy-property-editor-ui-collection') -export class UmbLegacyPropertyEditorUICollectionElement extends UmbPropertyEditorUICollectionElement { - constructor() { - super(); - console.warn( - 'The element "umb-legacy-property-editor-ui-collection" has been deprecated. Use "umb-property-editor-ui-collection" instead.', - ); - } -} - -export default UmbPropertyEditorUICollectionElement; - -declare global { - interface HTMLElementTagNameMap { - 'umb-legacy-property-editor-ui-collection': UmbPropertyEditorUICollectionElement; - } -} diff --git a/src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/manifests.ts index 942082d3d5..7dfe94e083 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/property-editors/collection/manifests.ts @@ -101,26 +101,11 @@ const propertyEditorUiManifest: ManifestPropertyEditorUi = { }, }; -/** - * Legacy property editor UI manifest for the collection view property editor. - * @deprecated Use the property editor UI alias of 'Umb.PropertyEditorUi.Collection' instead. - */ -const legacyPropertyEditorUiManifest: ManifestPropertyEditorUi = { - ...propertyEditorUiManifest, - alias: 'Umb.PropertyEditorUi.CollectionView', - element: () => import('./legacy-property-editor-ui-collection.element.js'), -}; - -const config: Array = [ +export const manifests: Array = [ + propertyEditorUiManifest, bulkActionPermissions, columnConfiguration, layoutConfiguration, orderBy, -]; - -export const manifests: Array = [ - propertyEditorUiManifest, - legacyPropertyEditorUiManifest, - ...config, schema, ];