import { __decorate } from "tslib";
import { Component, Input } from '@angular/core';
export var UiAccountStatus;
(function (UiAccountStatus) {
    UiAccountStatus[UiAccountStatus["Active"] = 0] = "Active";
    UiAccountStatus[UiAccountStatus["Blocked"] = 1] = "Blocked";
})(UiAccountStatus || (UiAccountStatus = {}));
var AccountComponent = /** @class */ (function () {
    function AccountComponent() {
    }
    AccountComponent.prototype.ngOnInit = function () {
    };
    __decorate([
        Input()
    ], AccountComponent.prototype, "account", void 0);
    __decorate([
        Input()
    ], AccountComponent.prototype, "menu", void 0);
    __decorate([
        Input()
    ], AccountComponent.prototype, "actions", void 0);
    __decorate([
        Input()
    ], AccountComponent.prototype, "size", void 0);
    AccountComponent = __decorate([
        Component({
            selector: 'ui-account',
            template: "<ui-overview-block [menu]=\"menu\" [actions]=\"actions\" [size]=\"size\">\n  <ui-overview-block-title>\n    {{account.name}}\n  </ui-overview-block-title>\n\n  <ui-overview-block-balance>\n    <ui-amount [amount]=\"account.balance\" [currency]=\"account.currency\"></ui-amount>\n  </ui-overview-block-balance>\n\n  <ui-overview-block-info>\n    <ui-account-info [account]=\"account\"></ui-account-info>\n  </ui-overview-block-info>\n\n  <ui-overview-block-status>\n    <ui-account-status [status]=\"account.status\"></ui-account-status>\n  </ui-overview-block-status>\n</ui-overview-block>\n",
            styles: [":host{display:block}"]
        })
    ], AccountComponent);
    return AccountComponent;
}());
export { AccountComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY2JkZXYvdWkta2l0LyIsInNvdXJjZXMiOlsibGliL2FjY291bnRzL2FjY291bnQvYWNjb3VudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFzQixNQUFNLGVBQWUsQ0FBQztBQVdwRSxNQUFNLENBQU4sSUFBWS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