Removes deprecated Collection View property-editor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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<ManifestPropertyEditorUi> = [
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
propertyEditorUiManifest,
|
||||
bulkActionPermissions,
|
||||
columnConfiguration,
|
||||
layoutConfiguration,
|
||||
orderBy,
|
||||
];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
propertyEditorUiManifest,
|
||||
legacyPropertyEditorUiManifest,
|
||||
...config,
|
||||
schema,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user