info-library 2.10.37 → 2.10.40
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.
- package/bundles/info-library.umd.js +11 -27
- package/bundles/info-library.umd.js.map +1 -1
- package/bundles/info-library.umd.min.js +1 -1
- package/bundles/info-library.umd.min.js.map +1 -1
- package/controls/list-checkbox/list-checkbox.component.d.ts +1 -1
- package/esm2015/controls/autocomplete/autocomplete.component.js +3 -20
- package/esm2015/controls/card/card.component.js +2 -2
- package/esm2015/controls/list-checkbox/list-checkbox.component.js +5 -4
- package/esm2015/layouts/main/main.component.js +2 -1
- package/esm2015/model/session.model.js +3 -1
- package/fesm2015/info-library.js +10 -23
- package/fesm2015/info-library.js.map +1 -1
- package/info-library.metadata.json +1 -1
- package/model/session.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
|
|
@@ -2520,18 +2522,7 @@
|
|
|
2520
2522
|
*/function (/**
|
|
2521
2523
|
* @param {?} a
|
|
2522
2524
|
* @return {?}
|
|
2523
|
-
*/ a) {
|
|
2524
|
-
_this.data = a.data;
|
|
2525
|
-
_this.loading = false;
|
|
2526
|
-
if (_this.selectedValue && _this.onselecteditem != null)
|
|
2527
|
-
_this.onselecteditem.emit(_this.data == null ? null : _this.data.find(( /**
|
|
2528
|
-
* @param {?} r
|
|
2529
|
-
* @return {?}
|
|
2530
|
-
*/function (/**
|
|
2531
|
-
* @param {?} r
|
|
2532
|
-
* @return {?}
|
|
2533
|
-
*/ r) { return r.Id == _this.selectedValue; })));
|
|
2534
|
-
}));
|
|
2525
|
+
*/ a) { _this.data = a.data; _this.loading = false; }));
|
|
2535
2526
|
this.control.valueChanges.subscribe(( /**
|
|
2536
2527
|
* @param {?} value
|
|
2537
2528
|
* @return {?}
|
|
@@ -2553,17 +2544,7 @@
|
|
|
2553
2544
|
*/function (/**
|
|
2554
2545
|
* @param {?} a
|
|
2555
2546
|
* @return {?}
|
|
2556
|
-
*/ a) {
|
|
2557
|
-
_this.data = _this.options = a.data;
|
|
2558
|
-
if (_this.selectedValue && _this.onselecteditem != null)
|
|
2559
|
-
_this.onselecteditem.emit(_this.data == null ? null : _this.data.find(( /**
|
|
2560
|
-
* @param {?} r
|
|
2561
|
-
* @return {?}
|
|
2562
|
-
*/function (/**
|
|
2563
|
-
* @param {?} r
|
|
2564
|
-
* @return {?}
|
|
2565
|
-
*/ r) { return r.Id == _this.selectedValue; })));
|
|
2566
|
-
}));
|
|
2547
|
+
*/ a) { return _this.data = _this.options = a.data; }));
|
|
2567
2548
|
}
|
|
2568
2549
|
};
|
|
2569
2550
|
/**
|
|
@@ -3138,7 +3119,7 @@
|
|
|
3138
3119
|
InfoCardComponent.decorators = [
|
|
3139
3120
|
{ type: i0.Component, args: [{
|
|
3140
3121
|
selector: 'info-card',
|
|
3141
|
-
template: "<mat-card (click)=\"onCardClick()\">\r\n <mat-card-content>\r\n <h4>{{ label | translate }}</h4>\r\n <p
|
|
3122
|
+
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>",
|
|
3142
3123
|
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}"]
|
|
3143
3124
|
}] }
|
|
3144
3125
|
];
|
|
@@ -5437,11 +5418,13 @@
|
|
|
5437
5418
|
/**
|
|
5438
5419
|
* @param {?} valor
|
|
5439
5420
|
* @param {?=} selecionados
|
|
5421
|
+
* @param {?=} todos
|
|
5440
5422
|
* @return {?}
|
|
5441
5423
|
*/
|
|
5442
|
-
InfoListCheckboxComponent.prototype.getModel = function (valor, selecionados) {
|
|
5424
|
+
InfoListCheckboxComponent.prototype.getModel = function (valor, selecionados, todos) {
|
|
5443
5425
|
if (selecionados === void 0) { selecionados = false; }
|
|
5444
|
-
if (
|
|
5426
|
+
if (todos === void 0) { todos = false; }
|
|
5427
|
+
if (todos || this.max == null || this.max == 0)
|
|
5445
5428
|
return this.model.filter(( /**
|
|
5446
5429
|
* @param {?} r
|
|
5447
5430
|
* @return {?}
|
|
@@ -5467,7 +5450,7 @@
|
|
|
5467
5450
|
InfoListCheckboxComponent.prototype.marcarFiltrados = function (valor, marcar, selecionados) {
|
|
5468
5451
|
if (selecionados === void 0) { selecionados = false; }
|
|
5469
5452
|
/** @type {?} */
|
|
5470
|
-
var ids = this.getModel(valor, selecionados).map(( /**
|
|
5453
|
+
var ids = this.getModel(valor, selecionados, true).map(( /**
|
|
5471
5454
|
* @param {?} r
|
|
5472
5455
|
* @return {?}
|
|
5473
5456
|
*/function (/**
|
|
@@ -6758,6 +6741,7 @@
|
|
|
6758
6741
|
_this._session.OcultarNomeCliente = r.data.OcultarNomeCliente;
|
|
6759
6742
|
_this._session.Empresas = r.data.Empresas;
|
|
6760
6743
|
_this._session.Parametros = r.data.Parametros;
|
|
6744
|
+
_this._session.MFA = r.data.MFA;
|
|
6761
6745
|
_this._session.TempoInatividade = r.data.TempoInatividade;
|
|
6762
6746
|
_this._session.Versao = r.data.Versao;
|
|
6763
6747
|
_this.version = r.data.Versao;
|