tabulator-tables 5.3.3 → 5.3.4
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/bower.json +1 -1
- package/dist/js/tabulator.js +9 -8
- package/dist/js/tabulator.js.map +1 -1
- package/dist/js/tabulator.min.js +2 -2
- package/dist/js/tabulator.min.js.map +1 -1
- package/dist/js/tabulator_esm.js +11 -11
- package/dist/js/tabulator_esm.js.map +1 -1
- package/dist/js/tabulator_esm.min.js +2 -2
- package/dist/js/tabulator_esm.min.js.map +1 -1
- package/package.json +1 -1
- package/src/js/core/ColumnManager.js +2 -2
- package/src/js/core/RowManager.js +4 -4
- package/src/js/modules/FrozenRows/FrozenRows.js +3 -2
- package/src/js/modules/GroupRows/GroupRows.js +1 -2
package/dist/js/tabulator_esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Tabulator v5.3.
|
|
1
|
+
/* Tabulator v5.3.4 (c) Oliver Folkerd 2022 */
|
|
2
2
|
class CoreFeature{
|
|
3
3
|
|
|
4
4
|
constructor(table){
|
|
@@ -10986,12 +10986,13 @@ class FrozenRows extends Module{
|
|
|
10986
10986
|
this.topElement.appendChild(row.getElement());
|
|
10987
10987
|
row.initialize();
|
|
10988
10988
|
row.normalizeHeight();
|
|
10989
|
-
|
|
10990
|
-
|
|
10989
|
+
|
|
10991
10990
|
this.rows.push(row);
|
|
10992
10991
|
|
|
10993
10992
|
this.refreshData(false, "display");
|
|
10994
10993
|
|
|
10994
|
+
this.table.rowManager.adjustTableSize();
|
|
10995
|
+
|
|
10995
10996
|
this.styleRows();
|
|
10996
10997
|
|
|
10997
10998
|
}else {
|
|
@@ -11982,8 +11983,7 @@ class GroupRows extends Module{
|
|
|
11982
11983
|
|
|
11983
11984
|
// get grouped table data in the same format as getData()
|
|
11984
11985
|
userGetGroupedData(){
|
|
11985
|
-
return this.table.options.groupBy ?
|
|
11986
|
-
this.getGroupedData() : this.getData();
|
|
11986
|
+
return this.table.options.groupBy ? this.getGroupedData() : this.getData();
|
|
11987
11987
|
}
|
|
11988
11988
|
|
|
11989
11989
|
|
|
@@ -20928,7 +20928,7 @@ class ColumnManager extends CoreFeature {
|
|
|
20928
20928
|
|
|
20929
20929
|
if(!this.redrawBlock){
|
|
20930
20930
|
|
|
20931
|
-
this.
|
|
20931
|
+
this.headersElement.style.height="";
|
|
20932
20932
|
|
|
20933
20933
|
this.columns.forEach((column) => {
|
|
20934
20934
|
column.clearVerticalAlign();
|
|
@@ -20942,7 +20942,7 @@ class ColumnManager extends CoreFeature {
|
|
|
20942
20942
|
}
|
|
20943
20943
|
});
|
|
20944
20944
|
|
|
20945
|
-
this.
|
|
20945
|
+
this.headersElement.style.height = minHeight + "px";
|
|
20946
20946
|
|
|
20947
20947
|
this.columns.forEach((column) => {
|
|
20948
20948
|
column.verticalAlign(this.table.options.columnHeaderVertAlign, minHeight);
|
|
@@ -22795,7 +22795,7 @@ class RowManager extends CoreFeature{
|
|
|
22795
22795
|
getRows(type){
|
|
22796
22796
|
var rows = [];
|
|
22797
22797
|
|
|
22798
|
-
if(!type){
|
|
22798
|
+
if(!type || type === true){
|
|
22799
22799
|
rows = this.chain("rows-retrieve", type, null, this.rows) || this.rows;
|
|
22800
22800
|
}else {
|
|
22801
22801
|
switch(type){
|
|
@@ -22935,10 +22935,10 @@ class RowManager extends CoreFeature{
|
|
|
22935
22935
|
_clearPlaceholder(){
|
|
22936
22936
|
if(this.placeholder && this.placeholder.parentNode){
|
|
22937
22937
|
this.placeholder.parentNode.removeChild(this.placeholder);
|
|
22938
|
-
|
|
22939
|
-
// clear empty table placeholder min
|
|
22940
|
-
this.tableElement.style.minWidth = "";
|
|
22941
22938
|
}
|
|
22939
|
+
|
|
22940
|
+
// clear empty table placeholder min
|
|
22941
|
+
this.tableElement.style.minWidth = "";
|
|
22942
22942
|
}
|
|
22943
22943
|
|
|
22944
22944
|
_positionPlaceholder(){
|