/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Inject } from '@angular/core';
import { KENGIC_TOKEN_ENABLE_WORKING_GROUP } from '../../../const/injection-token.const';
export class IdentityUserComponent {
    /**
     * @param {?} enableWorkingGroup
     */
    constructor(enableWorkingGroup) {
        this.enableWorkingGroup = enableWorkingGroup;
        this.currentUser = null;
    }
}
IdentityUserComponent.decorators = [
    { type: Component, args: [{
                selector: 'kg---identity--user',
                template: "<page-header title=\"\"></page-header>\r\n\r\n<div nz-row [nzGutter]=\"10\">\r\n  <div nz-col [nzMd]=\"24\" [nzLg]=\"12\">\r\n    <kg---identity--user--users [(currentUser)]=\"currentUser\"></kg---identity--user--users>\r\n  </div>\r\n\r\n  <div nz-col [nzMd]=\"24\" [nzLg]=\"12\">\r\n    <nz-tabset\r\n      [nzTabBarStyle]=\"{\r\n        margin: '0px'\r\n      }\"\r\n      [nzTabPosition]=\"'top'\"\r\n      [nzType]=\"'card'\"\r\n    >\r\n      <nz-tab [nzTitle]=\"titleTpl4Role\">\r\n        <ng-template #titleTpl4Role>\r\n          <i nz-icon nzTheme=\"outline\" nzType=\"team\"></i>\r\n          <span class=\"ml-sm\">{{ 'app.common.role' | i18n }}</span>\r\n        </ng-template>\r\n\r\n        <kg---identity--user--roles [currentUser]=\"currentUser\"></kg---identity--user--roles>\r\n      </nz-tab>\r\n\r\n      <nz-tab *ngIf=\"enableWorkingGroup\" [nzTitle]=\"titleTpl4WorkingGroup\">\r\n        <ng-template #titleTpl4WorkingGroup>\r\n          <i nz-icon nzTheme=\"outline\" nzType=\"apartment\"></i>\r\n          <span class=\"ml-sm\">{{ 'app.common.working-group' | i18n }}</span>\r\n        </ng-template>\r\n\r\n        <kg---identity--user--working-groups [currentUser]=\"currentUser\"></kg---identity--user--working-groups>\r\n      </nz-tab>\r\n    </nz-tabset>\r\n  </div>\r\n</div>\r\n",
                styles: [":host ::ng-deep .ant-card{margin-bottom:10px}:host ::ng-deep .ant-card .ant-card-head{min-height:auto;padding:0 12px}:host ::ng-deep .ant-tabs-top-content{margin-top:-1px}"]
            }] }
];
/** @nocollapse */
IdentityUserComponent.ctorParameters = () => [
    { type: Boolean, decorators: [{ type: Inject, args: [KENGIC_TOKEN_ENABLE_WORKING_GROUP,] }] }
];
if (false) {
    /** @type {?} */
    IdentityUserComponent.prototype.currentUser;
    /** @type {?} */
    IdentityUserComponent.prototype.enableWorkingGroup;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktLXVzZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGtlbmdpYy9mZS1uZy8iLCJzb3VyY2VzIjpbImxpYi9wYWdlL2lkZW50aXR5L3VzZXIvaWRlbnRpdHktLXVzZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVsRCxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQU96RixNQUFNLE9BQU8scUJBQXFCOzs7O0lBR2hDLFlBRVMsa0JBQTJCO1FBQTNCLHVCQUFrQixHQUFsQixrQkFBa0IsQ0FBUztRQUo3QixnQkFBVyxHQUF3QyxJQUFJLENBQUM7SUFLNUQsQ0FBQzs7O1lBWEwsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxxQkFBcUI7Z0JBQy9CLDB5Q0FBOEM7O2FBRS9DOzs7OzBDQUtJLE1BQU0sU0FBQyxpQ0FBaUM7Ozs7SUFIM0MsNENBQStEOztJQUc3RCxtREFDa0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIEluamVjdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1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