info-library 2.10.39 → 2.10.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -612,6 +612,8 @@
612
612
  /** @type {?} */
613
613
  InfoSessionModel.prototype.Parametros;
614
614
  /** @type {?} */
615
+ InfoSessionModel.prototype.MFA;
616
+ /** @type {?} */
615
617
  InfoSessionModel.prototype.TempoInatividade;
616
618
  }
617
619
 
@@ -1634,14 +1636,16 @@
1634
1636
  * @param {?} usuario
1635
1637
  * @param {?} senha
1636
1638
  * @param {?=} reCaptchaToken
1639
+ * @param {?=} codigo2FA
1637
1640
  * @return {?}
1638
1641
  */
1639
- InfoAuthenticationService.prototype.login = function (usuario, senha, reCaptchaToken) {
1642
+ InfoAuthenticationService.prototype.login = function (usuario, senha, reCaptchaToken, codigo2FA) {
1640
1643
  var _this = this;
1641
1644
  if (reCaptchaToken === void 0) { reCaptchaToken = null; }
1645
+ if (codigo2FA === void 0) { codigo2FA = null; }
1642
1646
  this.removeSessao();
1643
1647
  return this._http
1644
- .post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/autenticar', { Usuario: usuario, Senha: senha, ReCaptchaToken: reCaptchaToken })
1648
+ .post(this._plataforma.Config.webapiUrl + 'centrocontrole/usuario/autenticar', { Usuario: usuario, Senha: senha, ReCaptchaToken: reCaptchaToken, Codigo2FA: codigo2FA })
1645
1649
  .pipe(operators.map(( /**
1646
1650
  * @param {?} r
1647
1651
  * @return {?}
@@ -3117,7 +3121,7 @@
3117
3121
  InfoCardComponent.decorators = [
3118
3122
  { type: i0.Component, args: [{
3119
3123
  selector: 'info-card',
3120
- template: "<mat-card (click)=\"onCardClick()\">\r\n <mat-card-content>\r\n <h4>{{ label | translate }}</h4>\r\n <p>{{ description | translate }}</p>\r\n <mark *ngIf=\"mark\"><small>{{ mark }}</small></mark>\r\n </mat-card-content>\r\n <mat-card-footer>\r\n <mat-icon>{{icon}}</mat-icon>\r\n </mat-card-footer>\r\n</mat-card>",
3124
+ template: "<mat-card (click)=\"onCardClick()\">\r\n <mat-card-content>\r\n <h4>{{ label | translate }}</h4>\r\n <p [innerHTML]=\"description | translate\"></p>\r\n <mark *ngIf=\"mark\"><small>{{ mark }}</small></mark>\r\n </mat-card-content>\r\n <mat-card-footer>\r\n <mat-icon>{{icon}}</mat-icon>\r\n </mat-card-footer>\r\n</mat-card>",
3121
3125
  styles: [":host mat-card-footer{height:70px;overflow:hidden;position:relative}:host mat-card-footer mat-icon{bottom:36px;color:#aaa;font-size:5.71rem;opacity:.4;position:absolute;right:42px}"]
3122
3126
  }] }
3123
3127
  ];
@@ -6029,6 +6033,7 @@
6029
6033
  function InfoEditorComponent(_sanitizer) {
6030
6034
  this._sanitizer = _sanitizer;
6031
6035
  this.required = false;
6036
+ this.enabledhtmlmode = false;
6032
6037
  this.value = '';
6033
6038
  this.focused = false;
6034
6039
  this.id = null;
@@ -6211,7 +6216,7 @@
6211
6216
  InfoEditorComponent.decorators = [
6212
6217
  { type: i0.Component, args: [{
6213
6218
  selector: 'info-editor',
6214
- template: "<angular-editor [attr.id]=\"id\" [attr.focused]=\"focused\" [(ngModel)]=\"value\" name=\"editor\" [config]=\"editorConfig\" (ngModelChange)=\"onChangeValue()\" [required]=\"required\" #editor></angular-editor>\r\n",
6219
+ template: "<angular-editor [attr.id]=\"id\" [attr.focused]=\"focused\" [attr.htmlmode]=\"enabledhtmlmode\" [(ngModel)]=\"value\" name=\"editor\" [config]=\"editorConfig\" (ngModelChange)=\"onChangeValue()\" [required]=\"required\" #editor></angular-editor>\r\n",
6215
6220
  providers: [{
6216
6221
  provide: forms.NG_VALUE_ACCESSOR,
6217
6222
  useExisting: i0.forwardRef(( /**
@@ -6219,7 +6224,7 @@
6219
6224
  */function () { return InfoEditorComponent; })),
6220
6225
  multi: true
6221
6226
  }],
6222
- styles: [":host ::ng-deep .angular-editor-toolbar-set #insertVideo-,:host ::ng-deep .angular-editor-toolbar-set #toggleEditorMode-{display:none}:host ::ng-deep .angular-editor-textarea{border:none!important;border-bottom:1px solid!important;outline:none}:host ::ng-deep .angular-editor-textarea[contenteditable=false]{border-bottom:1.5px dotted #d3d3d3!important}:host ::ng-deep .angular-editor-wrapper:after{background-color:#000;bottom:0;content:\"\";height:2px;left:0;opacity:0;position:absolute;transform:scaleX(.5);transform-origin:50%;transition:background-color .3s cubic-bezier(.55,0,.55,.2);width:100%}:host ::ng-deep [focused=true] .angular-editor-wrapper:after{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-wrapper:after{background-color:#f44336!important}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-textarea[contenteditable=true]{border-bottom-color:#f44336!important}"]
6227
+ styles: [":host ::ng-deep .angular-editor-toolbar-set #insertVideo-,:host ::ng-deep [htmlmode=false] .angular-editor-toolbar-set #toggleEditorMode-{display:none}:host ::ng-deep .angular-editor-textarea{border:none!important;border-bottom:1px solid!important;outline:none}:host ::ng-deep .angular-editor-textarea[contenteditable=false]{border-bottom:1.5px dotted #d3d3d3!important}:host ::ng-deep .angular-editor-wrapper:after{background-color:#000;bottom:0;content:\"\";height:2px;left:0;opacity:0;position:absolute;transform:scaleX(.5);transform-origin:50%;transition:background-color .3s cubic-bezier(.55,0,.55,.2);width:100%}:host ::ng-deep [focused=true] .angular-editor-wrapper:after{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-wrapper:after{background-color:#f44336!important}:host ::ng-deep .ng-touched.ng-invalid .angular-editor-textarea[contenteditable=true]{border-bottom-color:#f44336!important}"]
6223
6228
  }] }
6224
6229
  ];
6225
6230
  /** @nocollapse */
@@ -6229,6 +6234,7 @@
6229
6234
  InfoEditorComponent.propDecorators = {
6230
6235
  editor: [{ type: i0.ViewChild, args: ['editor',] }],
6231
6236
  required: [{ type: i0.Input }],
6237
+ enabledhtmlmode: [{ type: i0.Input }],
6232
6238
  disabled: [{ type: i0.Input }],
6233
6239
  height: [{ type: i0.Input }],
6234
6240
  minheight: [{ type: i0.Input }],
@@ -6242,6 +6248,8 @@
6242
6248
  /** @type {?} */
6243
6249
  InfoEditorComponent.prototype.required;
6244
6250
  /** @type {?} */
6251
+ InfoEditorComponent.prototype.enabledhtmlmode;
6252
+ /** @type {?} */
6245
6253
  InfoEditorComponent.prototype.value;
6246
6254
  /** @type {?} */
6247
6255
  InfoEditorComponent.prototype.onChange;
@@ -6739,6 +6747,7 @@
6739
6747
  _this._session.OcultarNomeCliente = r.data.OcultarNomeCliente;
6740
6748
  _this._session.Empresas = r.data.Empresas;
6741
6749
  _this._session.Parametros = r.data.Parametros;
6750
+ _this._session.MFA = r.data.MFA;
6742
6751
  _this._session.TempoInatividade = r.data.TempoInatividade;
6743
6752
  _this._session.Versao = r.data.Versao;
6744
6753
  _this.version = r.data.Versao;