/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component } from '@angular/core';
var IdentityRoleLocalComponent = /** @class */ (function () {
    function IdentityRoleLocalComponent() {
        this.currentRole = null;
        this.warehouse = undefined;
    }
    /**
     * @param {?} warehouse
     * @return {?}
     */
    IdentityRoleLocalComponent.prototype.onIdentityWarehouseSelectComponentClick = /**
     * @param {?} warehouse
     * @return {?}
     */
    function (warehouse) {
        var _this = this;
        this.warehouse = '';
        setTimeout((/**
         * @return {?}
         */
        function () {
            _this.warehouse = warehouse;
        }));
    };
    IdentityRoleLocalComponent.decorators = [
        { type: Component, args: [{
                    selector: 'kg---identity--role-local',
                    template: "<page-header title=\"\"></page-header>\r\n\r\n<kg---identity--warehouse-select\r\n  (kgClick)=\"onIdentityWarehouseSelectComponentClick($event)\"\r\n></kg---identity--warehouse-select>\r\n\r\n<div\r\n  [ngStyle]=\"{\r\n    height: 'calc(100% - 42px)'\r\n  }\"\r\n  [nzGutter]=\"10\"\r\n  nz-row\r\n>\r\n  <div\r\n    [ngStyle]=\"{\r\n      height: '100%'\r\n    }\"\r\n    [nzLg]=\"12\"\r\n    [nzMd]=\"24\"\r\n    nz-col\r\n  >\r\n    <kg---identity--role-local--roles\r\n      [(currentRole)]=\"currentRole\"\r\n      [warehouse]=\"warehouse\"\r\n    ></kg---identity--role-local--roles>\r\n  </div>\r\n\r\n  <div\r\n    [ngStyle]=\"{\r\n      height: '100%'\r\n    }\"\r\n    [nzLg]=\"12\"\r\n    [nzMd]=\"24\"\r\n    nz-col\r\n  >\r\n    <kg---identity--role-local--menus [role]=\"currentRole\" [warehouse]=\"warehouse\"></kg---identity--role-local--menus>\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}"]
                }] }
    ];
    return IdentityRoleLocalComponent;
}());
export { IdentityRoleLocalComponent };
if (false) {
    /** @type {?} */
    IdentityRoleLocalComponent.prototype.currentRole;
    /** @type {?} */
    IdentityRoleLocalComponent.prototype.warehouse;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktLXJvbGUtbG9jYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGtlbmdpYy9mZS1uZy8iLCJzb3VyY2VzIjpbImxpYi9wYWdlL2lkZW50aXR5L3JvbGUtbG9jYWwvaWRlbnRpdHktLXJvbGUtbG9jYWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzFDO0lBQUE7UUFNUyxnQkFBVyxHQUFvQyxJQUFJLENBQUM7UUFDcEQsY0FBUyxHQUF1QixTQUFTLENBQUM7SUFRbkQsQ0FBQzs7Ozs7SUFOUSw0RUFBdUM7Ozs7SUFBOUMsVUFBK0MsU0FBNkI7UUFBNUUsaUJBS0M7UUFKQyxJQUFJLENBQUMsU0FBUyxHQUFHLEVBQUUsQ0FBQztRQUNwQixVQUFVOzs7UUFBQztZQUNULEtBQUksQ0FBQyxTQUFTLEdBQUcsU0FBUyxDQUFDO1FBQzdCLENBQUMsRUFBQyxDQUFDO0lBQ0wsQ0FBQzs7Z0JBZEYsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSwyQkFBMkI7b0JBQ3JDLGs0QkFBb0Q7O2lCQUVyRDs7SUFXRCxpQ0FBQztDQUFBLEFBZkQsSUFlQztTQVZZLDBCQUEwQjs7O0lBQ3JDLGlEQUEyRDs7SUFDM0QsK0NBQWlEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IERFRiB9IGZyb20gJy4uLy4u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