import { Component, Input } from '@angular/core';
export class DropdownSnippetAccountComponent {
    constructor() {
        this.balance = null;
    }
    ngOnInit() {
    }
}
DropdownSnippetAccountComponent.decorators = [
    { type: Component, args: [{
                selector: 'ui-dropdown-snippet-account',
                template: "<ui-avatar *ngIf=\"currency\">\n  <ui-currency-flag [currency]=\"currency\"></ui-currency-flag>\n</ui-avatar>\n<div>\n  <div class=\"account\">\n    <div class=\"account__name\">\n      <ng-content></ng-content>\n    </div>\n    <div class=\"account__balance\" *ngIf=\"balance !== null && currency\">\n      {{balance | currency: currency:'symbol-narrow':'0.2-8'}}\n    </div>\n  </div>\n</div>\n",
                styles: [":host{display:grid;grid-template-columns:auto minmax(1px,1fr);align-items:center;grid-gap:12px;gap:12px}ui-avatar{flex-shrink:0}.account{line-height:1}.account__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account__balance{font-size:var(--font-size-s);color:var(--color-contrast-40);padding-top:7px}"]
            },] }
];
DropdownSnippetAccountComponent.ctorParameters = () => [];
DropdownSnippetAccountComponent.propDecorators = {
    currency: [{ type: Input }],
    balance: [{ type: Input }]
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tc25pcHBldC1hY2NvdW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3VpLWtpdC9zcmMvbGliL2Ryb3Bkb3duL2Ryb3Bkb3duLWl0ZW0vZHJvcGRvd24tc25pcHBldC1hY2NvdW50L2Ryb3Bkb3duLXNuaXBwZXQtYWNjb3VudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFPdkQsTUFBTSxPQUFPLCtCQUErQjtJQUsxQztRQUZTLFlBQU8sR0FBb0IsSUFBSSxDQ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