@esfaenza/es-table 11.2.147 → 11.2.148
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/esfaenza-es-table.umd.js +4 -1
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +4 -2
- package/fesm2015/esfaenza-es-table.js +3 -1
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4831,7 +4831,8 @@
|
|
|
4831
4831
|
* @param {any[]} items Oggetti da selezionare o deselezionare
|
|
4832
4832
|
* @param {boolean} select **true** per selezionarli, **false** per non toccarli
|
|
4833
4833
|
*/
|
|
4834
|
-
EsTableComponent.prototype.setSelectionStatus = function (items, all, select) {
|
|
4834
|
+
EsTableComponent.prototype.setSelectionStatus = function (items, all, select, emit) {
|
|
4835
|
+
if (emit === void 0) { emit = false; }
|
|
4835
4836
|
var _a;
|
|
4836
4837
|
if (all) {
|
|
4837
4838
|
if (!this.SelectAll) {
|
|
@@ -4846,6 +4847,8 @@
|
|
|
4846
4847
|
else
|
|
4847
4848
|
this.selection_H.handleItemsSelection(items, select);
|
|
4848
4849
|
this.cdr.markForCheck();
|
|
4850
|
+
if (emit)
|
|
4851
|
+
this.onSelectionChanged.emit(this.arraymodeSelection);
|
|
4849
4852
|
};
|
|
4850
4853
|
/**
|
|
4851
4854
|
* Effettua un hard reset della selezione
|