/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
export class IdentityClientsUpdateTokenComponent {
    constructor() {
        this.identityClientsUpdateClaimComponentProp = {
            visible: false,
        };
    }
    /**
     * @return {?}
     */
    get clientIdControl() {
        return (/** @type {?} */ (this.formGroup.get('clientId')));
    }
    /**
     * @param {?} event
     * @return {?}
     */
    openIdentityClientsUpdateClaimComponent(event) {
        event.preventDefault();
        this.identityClientsUpdateClaimComponentProp.visible = true;
    }
    /**
     * @return {?}
     */
    handleSubmit() { }
}
IdentityClientsUpdateTokenComponent.decorators = [
    { type: Component, args: [{
                selector: 'kg---identity--clients--update--token',
                template: "<form (ngSubmit)=\"handleSubmit()\" [formGroup]=\"formGroup\" nz-form nzLayout=\"vertical\">\r\n  <div nz-row [nzGutter]=\"32\">\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'identityTokenLifetime'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.identity_token_lifetime'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-input-number\r\n            [attr.id]=\"'identityTokenLifetime'\"\r\n            [formControlName]=\"'identityTokenLifetime'\"\r\n            [ngStyle]=\"{\r\n              width: '100%'\r\n            }\"\r\n            [nzMin]=\"0\"\r\n            [nzStep]=\"1\"\r\n          ></nz-input-number>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'accessTokenLifetime'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.access_token_lifetime'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-input-number\r\n            [attr.id]=\"'accessTokenLifetime'\"\r\n            [formControlName]=\"'accessTokenLifetime'\"\r\n            [ngStyle]=\"{\r\n              width: '100%'\r\n            }\"\r\n            [nzMin]=\"0\"\r\n            [nzStep]=\"1\"\r\n          ></nz-input-number>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n  </div>\r\n\r\n  <div nz-row [nzGutter]=\"32\">\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'accessTokenType'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.access_token_type'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-select [formControlName]=\"'accessTokenType'\" [attr.id]=\"'accessTokenType'\">\r\n            <nz-option [nzLabel]=\"'Jwt'\" [nzValue]=\"0\"></nz-option>\r\n            <nz-option [nzLabel]=\"'Reference'\" [nzValue]=\"1\"></nz-option>\r\n          </nz-select>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'authorizationCodeLifetime'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.authorization_code_lifetime'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-input-number\r\n            [attr.id]=\"'authorizationCodeLifetime'\"\r\n            [formControlName]=\"'authorizationCodeLifetime'\"\r\n            [ngStyle]=\"{\r\n              width: '100%'\r\n            }\"\r\n            [nzMin]=\"0\"\r\n            [nzStep]=\"1\"\r\n          ></nz-input-number>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n  </div>\r\n\r\n  <div nz-row [nzGutter]=\"32\">\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'absoluteRefreshTokenLifetime'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.absolute_refresh_token_lifetime'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-input-number\r\n            [attr.id]=\"'absoluteRefreshTokenLifetime'\"\r\n            [formControlName]=\"'absoluteRefreshTokenLifetime'\"\r\n            [ngStyle]=\"{\r\n              width: '100%'\r\n            }\"\r\n            [nzMin]=\"0\"\r\n            [nzStep]=\"1\"\r\n          ></nz-input-number>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'slidingRefreshTokenLifetime'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.sliding_refresh_token_lifetime'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-input-number\r\n            [attr.id]=\"'slidingRefreshTokenLifetime'\"\r\n            [formControlName]=\"'slidingRefreshTokenLifetime'\"\r\n            [ngStyle]=\"{\r\n              width: '100%'\r\n            }\"\r\n            [nzMin]=\"0\"\r\n            [nzStep]=\"1\"\r\n          ></nz-input-number>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n  </div>\r\n\r\n  <div nz-row [nzGutter]=\"32\">\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'refreshTokenUsage'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.refresh_token_usage'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-select [formControlName]=\"'refreshTokenUsage'\" [attr.id]=\"'refreshTokenUsage'\">\r\n            <nz-option [nzLabel]=\"'ReUse'\" [nzValue]=\"0\"></nz-option>\r\n            <nz-option [nzLabel]=\"'OneTimeOnly'\" [nzValue]=\"1\"></nz-option>\r\n          </nz-select>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'refreshTokenExpiration'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.refreshTokenExpiration'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-select [formControlName]=\"'refreshTokenExpiration'\" [attr.id]=\"'refreshTokenExpiration'\">\r\n            <nz-option [nzLabel]=\"'Sliding'\" [nzValue]=\"0\"></nz-option>\r\n            <nz-option [nzLabel]=\"'Absolute'\" [nzValue]=\"1\"></nz-option>\r\n          </nz-select>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n  </div>\r\n\r\n  <div nz-row [nzGutter]=\"32\">\r\n    <div nz-col [nzSpan]=\"6\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'updateAccessTokenClaimsOnRefresh'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.update_access_token_claims_on_refresh'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-switch\r\n            [formControlName]=\"'updateAccessTokenClaimsOnRefresh'\"\r\n            [attr.id]=\"'updateAccessTokenClaimsOnRefresh'\"\r\n          ></nz-switch>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n\r\n    <div nz-col [nzSpan]=\"6\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'includeJwtId'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.include_jwt_id'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-switch [formControlName]=\"'includeJwtId'\" [attr.id]=\"'includeJwtId'\"></nz-switch>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n\r\n    <div nz-col [nzSpan]=\"6\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'alwaysSendClientClaims'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.always_send_client_claims'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-switch [formControlName]=\"'alwaysSendClientClaims'\" [attr.id]=\"'alwaysSendClientClaims'\"></nz-switch>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n\r\n    <div nz-col [nzSpan]=\"6\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'alwaysIncludeUserClaimsInIdToken'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.always_include_user_claims_in_id_token'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <nz-switch\r\n            [formControlName]=\"'alwaysIncludeUserClaimsInIdToken'\"\r\n            [attr.id]=\"'alwaysIncludeUserClaimsInIdToken'\"\r\n          ></nz-switch>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n  </div>\r\n\r\n  <nz-form-item>\r\n    <nz-form-label [nzFor]=\"'pairWiseSubjectSalt'\">\r\n      {{\r\n        'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.pair_wise_subject_salt'\r\n          | i18n\r\n      }}:\r\n    </nz-form-label>\r\n    <nz-form-control>\r\n      <input nz-input [formControlName]=\"'pairWiseSubjectSalt'\" [attr.id]=\"'pairWiseSubjectSalt'\" />\r\n    </nz-form-control>\r\n  </nz-form-item>\r\n\r\n  <div nz-row [nzGutter]=\"32\">\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label [nzFor]=\"'clientClaimsPrefix'\">\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.client_claims_prefix'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <input nz-input [formControlName]=\"'clientClaimsPrefix'\" [attr.id]=\"'clientClaimsPrefix'\" />\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n\r\n    <div nz-col [nzSpan]=\"12\">\r\n      <nz-form-item>\r\n        <nz-form-label>\r\n          {{\r\n            'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.claims'\r\n              | i18n\r\n          }}:\r\n        </nz-form-label>\r\n        <nz-form-control>\r\n          <button (click)=\"openIdentityClientsUpdateClaimComponent($event)\" nz-button nzType=\"primary\" type=\"button\">\r\n            {{\r\n              'projects/fe-ng/src/lib/page/identity/clients/update/token/identity--clients--update--token.claims'\r\n                | i18n\r\n            }}\r\n          </button>\r\n        </nz-form-control>\r\n      </nz-form-item>\r\n    </div>\r\n  </div>\r\n</form>\r\n\r\n<kg---identity--clients--update--claim\r\n  [(visible)]=\"identityClientsUpdateClaimComponentProp.visible\"\r\n  [clientId]=\"clientIdControl.value\"\r\n></kg---identity--clients--update--claim>\r\n"
            }] }
];
IdentityClientsUpdateTokenComponent.propDecorators = {
    formGroup: [{ type: Input }]
};
if (false) {
    /** @type {?} */
    IdentityClientsUpdateTokenComponent.prototype.formGroup;
    /** @type {?} */
    IdentityClientsUpdateTokenComponent.prototype.identityClientsUpdateClaimComponentProp;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktLWNsaWVudHMtLXVwZGF0ZS0tdG9rZW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGtlbmdpYy9mZS1uZy8iLCJzb3VyY2VzIjpbImxpYi9wYWdlL2lkZW50aXR5L2NsaWVudHMvdXBkYXRlL3Rva2VuL2lkZW50aXR5LS1jbGllbnRzLS11cGRhdGUtLXRva2VuLmNvbXBvbmVudC50cyJ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