info-library 2.10.37 → 2.10.38
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 +5 -3
- 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/list-checkbox/list-checkbox.component.js +5 -4
- package/fesm2015/info-library.js +4 -3
- package/fesm2015/info-library.js.map +1 -1
- package/package.json +1 -1
|
@@ -5437,11 +5437,13 @@
|
|
|
5437
5437
|
/**
|
|
5438
5438
|
* @param {?} valor
|
|
5439
5439
|
* @param {?=} selecionados
|
|
5440
|
+
* @param {?=} todos
|
|
5440
5441
|
* @return {?}
|
|
5441
5442
|
*/
|
|
5442
|
-
InfoListCheckboxComponent.prototype.getModel = function (valor, selecionados) {
|
|
5443
|
+
InfoListCheckboxComponent.prototype.getModel = function (valor, selecionados, todos) {
|
|
5443
5444
|
if (selecionados === void 0) { selecionados = false; }
|
|
5444
|
-
if (
|
|
5445
|
+
if (todos === void 0) { todos = false; }
|
|
5446
|
+
if (todos || this.max == null || this.max == 0)
|
|
5445
5447
|
return this.model.filter(( /**
|
|
5446
5448
|
* @param {?} r
|
|
5447
5449
|
* @return {?}
|
|
@@ -5467,7 +5469,7 @@
|
|
|
5467
5469
|
InfoListCheckboxComponent.prototype.marcarFiltrados = function (valor, marcar, selecionados) {
|
|
5468
5470
|
if (selecionados === void 0) { selecionados = false; }
|
|
5469
5471
|
/** @type {?} */
|
|
5470
|
-
var ids = this.getModel(valor, selecionados).map(( /**
|
|
5472
|
+
var ids = this.getModel(valor, selecionados, true).map(( /**
|
|
5471
5473
|
* @param {?} r
|
|
5472
5474
|
* @return {?}
|
|
5473
5475
|
*/function (/**
|