tabulator-tables 5.0.2 → 5.0.7
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/build/rollup.js +1 -1
- package/dist/css/tabulator_bootstrap3.css +9 -0
- package/dist/css/tabulator_bootstrap3.css.map +1 -1
- package/dist/css/tabulator_bootstrap3.min.css +1 -1
- package/dist/css/tabulator_bootstrap3.min.css.map +1 -1
- package/dist/css/tabulator_bootstrap4.css +0 -4
- package/dist/css/tabulator_bootstrap4.css.map +1 -1
- package/dist/css/tabulator_bootstrap4.min.css +1 -1
- package/dist/css/tabulator_bootstrap4.min.css.map +1 -1
- package/dist/css/tabulator_bulma.css +5 -1
- package/dist/css/tabulator_bulma.css.map +1 -1
- package/dist/css/tabulator_bulma.min.css +1 -1
- package/dist/css/tabulator_bulma.min.css.map +1 -1
- package/dist/css/tabulator_semanticui.css +11 -2
- package/dist/css/tabulator_semanticui.css.map +1 -1
- package/dist/css/tabulator_semanticui.min.css +1 -1
- package/dist/css/tabulator_semanticui.min.css.map +1 -1
- package/dist/js/tabulator.js +460 -308
- 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 +426 -297
- 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 +15 -16
- package/src/js/core/RowManager.js +5 -3
- package/src/js/core/Tabulator.js +178 -117
- package/src/js/core/column/Column.js +2 -2
- package/src/js/core/tools/DataLoader.js +1 -1
- package/src/js/core/tools/ExternalEventBus.js +3 -2
- package/src/js/core/tools/Helpers.js +24 -7
- package/src/js/modules/Accessor/Accessor.js +1 -1
- package/src/js/modules/Ajax/defaults/contentTypeFormatters.js +22 -1
- package/src/js/modules/DataTree/DataTree.js +1 -1
- package/src/js/modules/Edit/Edit.js +7 -6
- package/src/js/modules/Edit/defaults/editors/progress.js +2 -2
- package/src/js/modules/Filter/Filter.js +9 -4
- package/src/js/modules/Format/defaults/formatters/money.js +8 -1
- package/src/js/modules/FrozenColumns/FrozenColumns.js +21 -0
- package/src/js/modules/FrozenRows/FrozenRows.js +4 -1
- package/src/js/modules/GroupRows/Group.js +2 -0
- package/src/js/modules/GroupRows/GroupRows.js +40 -35
- package/src/js/modules/History/History.js +3 -1
- package/src/js/modules/History/defaults/redoers.js +1 -0
- package/src/js/modules/History/defaults/undoers.js +1 -0
- package/src/js/modules/HtmlTableImport/HtmlTableImport.js +4 -22
- package/src/js/modules/MoveColumns/MoveColumns.js +6 -4
- package/src/js/modules/Page/Page.js +0 -4
- package/src/js/modules/ReactiveData/ReactiveData.js +28 -27
- package/src/js/modules/ResponsiveLayout/ResponsiveLayout.js +5 -1
- package/src/js/modules/SelectRow/SelectRow.js +1 -2
- package/src/scss/themes/bootstrap/tabulator_bootstrap3.scss +9 -0
- package/src/scss/themes/bootstrap/tabulator_bootstrap4.scss +0 -4
- package/src/scss/themes/bulma/tabulator_bulma.scss +5 -1
- package/src/scss/themes/semanticui/tabulator_semanticui.scss +12 -7
|
@@ -290,10 +290,14 @@ class ResponsiveLayout extends Module{
|
|
|
290
290
|
},
|
|
291
291
|
};
|
|
292
292
|
|
|
293
|
+
function onRendered(callback){
|
|
294
|
+
callback();
|
|
295
|
+
}
|
|
296
|
+
|
|
293
297
|
output.push({
|
|
294
298
|
field: column.field,
|
|
295
299
|
title: column.definition.title,
|
|
296
|
-
value: column.modules.format.formatter.call(self.table.modules.format, mockCellComponent, column.modules.format.params)
|
|
300
|
+
value: column.modules.format.formatter.call(self.table.modules.format, mockCellComponent, column.modules.format.params, onRendered)
|
|
297
301
|
});
|
|
298
302
|
}else{
|
|
299
303
|
output.push({
|
|
@@ -35,7 +35,7 @@ class SelectRow extends Module{
|
|
|
35
35
|
this.subscribe("row-init", this.initializeRow.bind(this));
|
|
36
36
|
this.subscribe("row-deleting", this.rowDeleted.bind(this));
|
|
37
37
|
this.subscribe("rows-wipe", this.clearSelectionData.bind(this));
|
|
38
|
-
this.subscribe("rows-retrieve", this.
|
|
38
|
+
this.subscribe("rows-retrieve", this.rowRetrieve.bind(this));
|
|
39
39
|
|
|
40
40
|
if(this.table.options.selectable && this.table.options.selectablePersistence){
|
|
41
41
|
this.subscribe("data-refeshing", this.deselectRows.bind(this));
|
|
@@ -51,7 +51,6 @@ class SelectRow extends Module{
|
|
|
51
51
|
this._deselectRow(row, true);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
|
|
55
54
|
clearSelectionData(silent){
|
|
56
55
|
this.selecting = false;
|
|
57
56
|
this.lastClickedRow = false;
|
|
@@ -185,6 +185,15 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
185
185
|
background-color:$rowHoverBackground !important;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
&.tabulator-selected{
|
|
189
|
+
background-color:$rowSelectedBackground !important;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.tabulator-selected:hover{
|
|
193
|
+
background-color:$rowSelectedBackgroundHover !important;
|
|
194
|
+
cursor: pointer;
|
|
195
|
+
}
|
|
196
|
+
|
|
188
197
|
.tabulator-cell{
|
|
189
198
|
padding:$cellPadding;
|
|
190
199
|
border-right:none;
|
|
@@ -445,10 +445,6 @@ $table-cell-padding-sm: 5px;
|
|
|
445
445
|
min-height:$textSize + ($cellPadding * 2);
|
|
446
446
|
border-bottom:1px solid $rowBorderColor;
|
|
447
447
|
|
|
448
|
-
&.tabulator-row-even{
|
|
449
|
-
background-color: transparent;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
448
|
.tabulator-cell{
|
|
453
449
|
padding:$cellPadding;
|
|
454
450
|
border-right:none;
|
|
@@ -204,8 +204,12 @@ $footerBorderColor:$grey-lighter !default; //footer border color
|
|
|
204
204
|
background-color: inherit;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
&.tabulator-selected{
|
|
208
|
+
background-color:$rowSelectedBackground !important;
|
|
209
|
+
}
|
|
210
|
+
|
|
207
211
|
&.tabulator-selected:hover{
|
|
208
|
-
background-color:darken($rowSelectedBackground, 10%);
|
|
212
|
+
background-color:darken($rowSelectedBackground, 10%) !important;
|
|
209
213
|
}
|
|
210
214
|
|
|
211
215
|
.tabulator-cell{
|
|
@@ -219,13 +219,9 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
&.striped{
|
|
222
|
-
.tabulator-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
&:nth-child(even){
|
|
226
|
-
background-color: $basicTableStripedBackground !important;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
222
|
+
.tabulator-row{
|
|
223
|
+
&:nth-child(even){
|
|
224
|
+
background-color: $basicTableStripedBackground;
|
|
229
225
|
}
|
|
230
226
|
}
|
|
231
227
|
}
|
|
@@ -488,6 +484,15 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
488
484
|
color: $activeColor !important;
|
|
489
485
|
}
|
|
490
486
|
|
|
487
|
+
&.tabulator-selected{
|
|
488
|
+
background-color:$rowSelectedBackground !important;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
&.tabulator-selected:hover{
|
|
492
|
+
background-color:$rowSelectedBackgroundHover !important;
|
|
493
|
+
cursor: pointer;
|
|
494
|
+
}
|
|
495
|
+
|
|
491
496
|
&.tabulator-moving{
|
|
492
497
|
pointer-events: none !important;
|
|
493
498
|
}
|