var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { css, customElement, html, property } from '../../../../../external/lit/index.js';
import { UmbLitElement } from '../../../lit-element/index.js';
import { UmbTextStyles } from '../../../style/index.js';
/**
 *  @description Component for displaying an unsupported property
 */
let UmbUnsupportedPropertyElement = class UmbUnsupportedPropertyElement extends UmbLitElement {
    constructor() {
        super(...arguments);
        this.alias = '';
        this.schema = '';
    }
    render() {
        return html `<div id="not-supported">
			<umb-localize key="blockEditor_propertyEditorNotSupported" .args=${[this.alias, this.schema]}></umb-localize>
		</div>`;
    }
    static { this.styles = [
        UmbTextStyles,
        css `
			:host {
				display: block;
				padding: var(--uui-size-layout-1) 0;
			}

			#not-supported {
				background-color: var(--uui-color-danger);
				color: var(--uui-color-surface);
				padding: var(--uui-size-space-4);
				border-radius: var(--uui-border-radius);
			}
		`,
    ]; }
};
__decorate([
    property({ type: String })
], UmbUnsupportedPropertyElement.prototype, "alias", void 0);
__decorate([
    property({ type: String })
], UmbUnsupportedPropertyElement.prototype, "schema", void 0);
UmbUnsupportedPropertyElement = __decorate([
    customElement('umb-unsupported-property')
], UmbUnsupportedPropertyElement);
export { UmbUnsupportedPropertyElement };
