tnx-shared 5.1.639 → 5.1.640
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/tnx-shared.umd.js +8 -1
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/base/list-component-base.d.ts.map +1 -1
- package/esm2015/classes/base/list-component-base.js +9 -2
- package/fesm2015/tnx-shared.js +8 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -23481,7 +23481,14 @@
|
|
|
23481
23481
|
for (var i = 0; i < arrRow.length; i++) {
|
|
23482
23482
|
var row = arrRow[i];
|
|
23483
23483
|
var arrTd = row.querySelectorAll('td');
|
|
23484
|
-
arrRowData.push(__spread(arrTd).filter(function (x) { return !x.className.includes('chkbox link-or-action cell-checkbox'); }).map(function (
|
|
23484
|
+
arrRowData.push(__spread(arrTd).filter(function (x) { return !x.className.includes('chkbox link-or-action cell-checkbox') && !x.className.includes('column-function'); }).map(function (td) {
|
|
23485
|
+
var hasCheckbox = td.querySelector('.p-checkbox.p-component');
|
|
23486
|
+
var isChecked = td.querySelector('.p-checkbox-checked');
|
|
23487
|
+
return {
|
|
23488
|
+
value: hasCheckbox ? (isChecked ? 'Có' : 'Không') : td.innerText,
|
|
23489
|
+
rowSpan: td.rowSpan
|
|
23490
|
+
};
|
|
23491
|
+
}));
|
|
23485
23492
|
}
|
|
23486
23493
|
return arrRowData;
|
|
23487
23494
|
};
|