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 { UmbTextStyles } from '../../../../../../../core/style/index.js';
import { html, LitElement, nothing, customElement, property, css } from '../../../../../../../../external/lit/index.js';
let UmbWebhookTableNameColumnLayoutElement = class UmbWebhookTableNameColumnLayoutElement extends LitElement {
    render() {
        if (!this.value)
            return nothing;
        return html `<a href=${'section/settings/workspace/webhook/edit/' + this.value.unique}>${this.value.name}</a>`;
    }
    static { this.styles = [
        UmbTextStyles,
        css `
			:host {
				white-space: nowrap;
			}
		`,
    ]; }
};
__decorate([
    property({ attribute: false })
], UmbWebhookTableNameColumnLayoutElement.prototype, "value", void 0);
UmbWebhookTableNameColumnLayoutElement = __decorate([
    customElement('umb-webhook-table-name-column-layout')
], UmbWebhookTableNameColumnLayoutElement);
export { UmbWebhookTableNameColumnLayoutElement };
