import { __decorate } from "tslib";
import { Component, Input } from '@angular/core';
var DropdownSnippetUserComponent = /** @class */ (function () {
    function DropdownSnippetUserComponent() {
    }
    DropdownSnippetUserComponent.prototype.ngOnInit = function () {
    };
    __decorate([
        Input()
    ], DropdownSnippetUserComponent.prototype, "name", void 0);
    __decorate([
        Input()
    ], DropdownSnippetUserComponent.prototype, "info", void 0);
    DropdownSnippetUserComponent = __decorate([
        Component({
            selector: 'ui-dropdown-snippet-user',
            template: "<ui-avatar-initials [name]=\"name\"></ui-avatar-initials>\n<div>\n  <div class=\"user\">\n    <div class=\"user__name\">\n      <ng-content></ng-content>\n    </div>\n    <div class=\"user__info\" *ngIf=\"info\">\n      {{info}}\n    </div>\n  </div>\n</div>\n",
            styles: [":host{display:grid;grid-template-columns:auto minmax(1px,1fr);align-items:center;gap:12px}ui-avatar-initials{flex-shrink:0}.user__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user__info{font-size:var(--font-size-s);color:var(--color-contrast-40);padding-top:4px}"]
        })
    ], DropdownSnippetUserComponent);
    return DropdownSnippetUserComponent;
}());
export { DropdownSnippetUserComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tc25pcHBldC11c2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BjYmRldi91aS1raXQvIiwic291cmNlcyI6WyJsaWIvZHJvcGRvd24vZHJvcGRvd24taXRlbS9kcm9wZG93bi1zbmlwcGV0LXVzZXIvZHJvcGRvd24tc25pcHBldC11c2VyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFPdkQ7SUFLRTtJQUNBLENBQUM7SUFFRCwrQ0FBUSxHQUFSO0lBQ0EsQ0FBQztJQVBRO1FBQVIsS0FBSyxFQUFFOzhEQUFj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