tabulator-tables 5.4.4 → 5.5.1
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/Bundler.js +7 -3
- package/dist/css/tabulator.css +85 -48
- package/dist/css/tabulator.css.map +1 -1
- package/dist/css/tabulator.min.css +1 -1
- package/dist/css/tabulator.min.css.map +1 -1
- package/dist/css/tabulator_bootstrap3.css +94 -53
- 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 +111 -68
- 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_bootstrap5.css +115 -70
- package/dist/css/tabulator_bootstrap5.css.map +1 -1
- package/dist/css/tabulator_bootstrap5.min.css +1 -1
- package/dist/css/tabulator_bootstrap5.min.css.map +1 -1
- package/dist/css/tabulator_bulma.css +100 -57
- 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_materialize.css +109 -69
- package/dist/css/tabulator_materialize.css.map +1 -1
- package/dist/css/tabulator_materialize.min.css +1 -1
- package/dist/css/tabulator_materialize.min.css.map +1 -1
- package/dist/css/tabulator_midnight.css +95 -54
- package/dist/css/tabulator_midnight.css.map +1 -1
- package/dist/css/tabulator_midnight.min.css +1 -1
- package/dist/css/tabulator_midnight.min.css.map +1 -1
- package/dist/css/tabulator_modern.css +101 -57
- package/dist/css/tabulator_modern.css.map +1 -1
- package/dist/css/tabulator_modern.min.css +1 -1
- package/dist/css/tabulator_modern.min.css.map +1 -1
- package/dist/css/tabulator_semanticui.css +138 -77
- 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/css/tabulator_simple.css +85 -48
- package/dist/css/tabulator_simple.css.map +1 -1
- package/dist/css/tabulator_simple.min.css +1 -1
- package/dist/css/tabulator_simple.min.css.map +1 -1
- package/dist/css/tabulator_site.css +93 -52
- package/dist/css/tabulator_site.css.map +1 -1
- package/dist/css/tabulator_site.min.css +1 -1
- package/dist/css/tabulator_site.min.css.map +1 -1
- package/dist/js/jquery_wrapper.js +10 -2
- package/dist/js/tabulator.js +507 -237
- 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 +507 -237
- 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 +3 -2
- package/src/js/builds/jquery_wrapper.js +10 -2
- package/src/js/core/ColumnManager.js +15 -0
- package/src/js/core/RowManager.js +59 -41
- package/src/js/core/cell/CellComponent.js +5 -3
- package/src/js/core/column/ColumnComponent.js +2 -2
- package/src/js/core/rendering/renderers/BasicHorizontal.js +12 -5
- package/src/js/core/rendering/renderers/BasicVertical.js +49 -28
- package/src/js/core/rendering/renderers/VirtualDomHorizontal.js +6 -1
- package/src/js/core/rendering/renderers/VirtualDomVertical.js +87 -30
- package/src/js/core/row/Row.js +9 -3
- package/src/js/core/row/RowComponent.js +2 -2
- package/src/js/core/tools/DataLoader.js +44 -36
- package/src/js/modules/ColumnCalcs/defaults/calculations.js +7 -0
- package/src/js/modules/DataTree/DataTree.js +5 -2
- package/src/js/modules/Download/defaults/downloaders/xlsx.js +5 -2
- package/src/js/modules/Edit/Edit.js +2 -3
- package/src/js/modules/Edit/List.js +14 -3
- package/src/js/modules/Edit/defaults/editors/date.js +1 -1
- package/src/js/modules/Edit/defaults/editors/datetime.js +1 -1
- package/src/js/modules/Edit/defaults/editors/input.js +1 -1
- package/src/js/modules/Edit/defaults/editors/number.js +1 -1
- package/src/js/modules/Edit/defaults/editors/range.js +1 -1
- package/src/js/modules/Edit/defaults/editors/textarea.js +1 -1
- package/src/js/modules/Edit/defaults/editors/tickCross.js +1 -1
- package/src/js/modules/Edit/defaults/editors/time.js +1 -1
- package/src/js/modules/Export/Export.js +3 -0
- package/src/js/modules/Filter/Filter.js +11 -0
- package/src/js/modules/Format/Format.js +3 -0
- package/src/js/modules/Format/defaults/formatters/money.js +9 -2
- package/src/js/modules/FrozenColumns/FrozenColumns.js +1 -1
- package/src/js/modules/GroupRows/Group.js +27 -10
- package/src/js/modules/GroupRows/GroupComponent.js +4 -0
- package/src/js/modules/History/defaults/redoers.js +4 -2
- package/src/js/modules/History/defaults/undoers.js +6 -2
- package/src/js/modules/Interaction/Interaction.js +12 -0
- package/src/js/modules/Persistence/Persistence.js +15 -1
- package/src/js/modules/ResponsiveLayout/ResponsiveLayout.js +3 -0
- package/src/js/modules/SelectRow/SelectRow.js +82 -54
- package/src/scss/tabulator.scss +87 -50
- package/src/scss/themes/bootstrap/tabulator_bootstrap3.scss +9 -5
- package/src/scss/themes/bootstrap/tabulator_bootstrap4.scss +27 -19
- package/src/scss/themes/bootstrap/tabulator_bootstrap5.scss +29 -19
- package/src/scss/themes/bulma/tabulator_bulma.scss +15 -9
- package/src/scss/themes/materialize/tabulator_materialize.scss +15 -11
- package/src/scss/themes/materialize/variables.scss +1 -1
- package/src/scss/themes/semanticui/tabulator_semanticui.scss +53 -28
- package/src/scss/themes/semanticui/variables_table.scss +1 -1
- package/src/scss/themes/tabulator_midnight.scss +10 -6
- package/src/scss/themes/tabulator_modern.scss +16 -8
- package/src/scss/themes/tabulator_site.scss +8 -4
|
@@ -125,9 +125,11 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
125
125
|
background: $positiveBackgroundColor !important;
|
|
126
126
|
color: $positiveColor !important;
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
@media (hover:hover) and (pointer:fine){
|
|
129
|
+
&:hover{
|
|
130
|
+
background: $positiveBackgroundHover !important;
|
|
131
|
+
color: $positiveColorHover !important;
|
|
132
|
+
}
|
|
131
133
|
}
|
|
132
134
|
}
|
|
133
135
|
|
|
@@ -136,9 +138,11 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
136
138
|
background: $negativeBackgroundColor !important;
|
|
137
139
|
color: $negativeColor !important;
|
|
138
140
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
@media (hover:hover) and (pointer:fine){
|
|
142
|
+
&:hover{
|
|
143
|
+
background: $negativeBackgroundHover !important;
|
|
144
|
+
color: $negativeColorHover !important;
|
|
145
|
+
}
|
|
142
146
|
}
|
|
143
147
|
}
|
|
144
148
|
|
|
@@ -147,9 +151,11 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
147
151
|
background: $errorBackgroundColor !important;
|
|
148
152
|
color: $errorColor !important;
|
|
149
153
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
@media (hover:hover) and (pointer:fine){
|
|
155
|
+
&:hover{
|
|
156
|
+
background: $errorBackgroundHover !important;
|
|
157
|
+
color: $errorColorHover !important;
|
|
158
|
+
}
|
|
153
159
|
}
|
|
154
160
|
}
|
|
155
161
|
|
|
@@ -158,9 +164,11 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
158
164
|
background: $warningBackgroundColor !important;
|
|
159
165
|
color: $warningColor !important;
|
|
160
166
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
167
|
+
@media (hover:hover) and (pointer:fine){
|
|
168
|
+
&:hover{
|
|
169
|
+
background: $warningBackgroundHover !important;
|
|
170
|
+
color: $warningColorHover !important;
|
|
171
|
+
}
|
|
164
172
|
}
|
|
165
173
|
}
|
|
166
174
|
|
|
@@ -169,16 +177,25 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
169
177
|
background: $activeBackgroundColor !important;
|
|
170
178
|
color: $activeColor !important;
|
|
171
179
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
180
|
+
@media (hover:hover) and (pointer:fine){
|
|
181
|
+
&:hover{
|
|
182
|
+
background: $positiveBackgroundHover !important;
|
|
183
|
+
color: $positiveColorHover !important;
|
|
184
|
+
}
|
|
175
185
|
}
|
|
176
186
|
}
|
|
177
187
|
|
|
178
|
-
&.active,
|
|
188
|
+
&.active, .tabulator-cell.active{
|
|
179
189
|
pointer-events: none;
|
|
180
190
|
color: $disabledTextColor;
|
|
181
191
|
}
|
|
192
|
+
|
|
193
|
+
@media (hover:hover) and (pointer:fine){
|
|
194
|
+
&.disabled:hover{
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
color: $disabledTextColor;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
182
199
|
}
|
|
183
200
|
}
|
|
184
201
|
}
|
|
@@ -475,22 +492,26 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
475
492
|
border-bottom: $rowBorder;
|
|
476
493
|
|
|
477
494
|
&.tabulator-row-even{
|
|
478
|
-
background-color:
|
|
495
|
+
background-color: $rowBackgroundColor;
|
|
479
496
|
}
|
|
480
497
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
498
|
+
@media (hover:hover) and (pointer:fine){
|
|
499
|
+
&.tabulator-selectable:hover{
|
|
500
|
+
box-shadow: $activeBoxShadow;
|
|
501
|
+
background: $activeBackgroundColor !important;
|
|
502
|
+
color: $activeColor !important;
|
|
503
|
+
}
|
|
485
504
|
}
|
|
486
505
|
|
|
487
506
|
&.tabulator-selected{
|
|
488
507
|
background-color:$rowSelectedBackground !important;
|
|
489
508
|
}
|
|
490
509
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
510
|
+
@media (hover:hover) and (pointer:fine){
|
|
511
|
+
&.tabulator-selected:hover{
|
|
512
|
+
background-color:$rowSelectedBackgroundHover !important;
|
|
513
|
+
cursor: pointer;
|
|
514
|
+
}
|
|
494
515
|
}
|
|
495
516
|
|
|
496
517
|
&.tabulator-moving{
|
|
@@ -523,8 +544,10 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
523
544
|
background:$backgroundColor;
|
|
524
545
|
|
|
525
546
|
.tabulator-menu-item{
|
|
526
|
-
|
|
527
|
-
|
|
547
|
+
@media (hover:hover) and (pointer:fine){
|
|
548
|
+
&:not(.tabulator-menu-item-disabled):hover{
|
|
549
|
+
background: $headerBackgroundColor;
|
|
550
|
+
}
|
|
528
551
|
}
|
|
529
552
|
}
|
|
530
553
|
}
|
|
@@ -541,8 +564,10 @@ $footerActiveColor:#d00 !default; //footer bottom active text color
|
|
|
541
564
|
}
|
|
542
565
|
}
|
|
543
566
|
|
|
544
|
-
|
|
545
|
-
|
|
567
|
+
@media (hover:hover) and (pointer:fine){
|
|
568
|
+
&:hover{
|
|
569
|
+
color:$backgroundColor;
|
|
570
|
+
}
|
|
546
571
|
}
|
|
547
572
|
}
|
|
548
573
|
|
|
@@ -226,7 +226,7 @@ $basicTableCellBackground: transparent !default;
|
|
|
226
226
|
$basicTableHeaderDivider: none !default;
|
|
227
227
|
$basicTableCellBorder: 1px solid rgba(0, 0, 0, 0.1) !default;
|
|
228
228
|
$basicTableCellPadding: '' !default;
|
|
229
|
-
$basicTableStripedBackground:
|
|
229
|
+
$basicTableStripedBackground: #f2f2f2 !default;
|
|
230
230
|
|
|
231
231
|
/* Padded */
|
|
232
232
|
$paddedVerticalPadding: 1em !default;
|
|
@@ -113,9 +113,11 @@ $footerActiveColor:#fff !default; //footer bottom active text color
|
|
|
113
113
|
|
|
114
114
|
color:#333;
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
@media (hover:hover) and (pointer:fine){
|
|
117
|
+
&:hover{
|
|
118
|
+
cursor:pointer;
|
|
119
|
+
background-color:rgba(0,0,0,.1);
|
|
120
|
+
}
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
span{
|
|
@@ -143,9 +145,11 @@ $footerActiveColor:#fff !default; //footer bottom active text color
|
|
|
143
145
|
outline:1px solid $rowAltBackgroundColor;
|
|
144
146
|
}
|
|
145
147
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
@media (hover:hover) and (pointer:fine){
|
|
149
|
+
&:hover{
|
|
150
|
+
color:$editBoxColor;
|
|
151
|
+
background:$rowBackgroundColor;
|
|
152
|
+
}
|
|
149
153
|
}
|
|
150
154
|
}
|
|
151
155
|
}
|
|
@@ -56,6 +56,10 @@ $handleColorAlt: lighten($primary, 10%) !default; //color for even numbered rows
|
|
|
56
56
|
border-right:2px solid $headerBorderColor;
|
|
57
57
|
background-color: $headerBackgroundColor;
|
|
58
58
|
|
|
59
|
+
&:nth-child(1) {
|
|
60
|
+
padding-left: $handleWidth;
|
|
61
|
+
}
|
|
62
|
+
|
|
59
63
|
.tabulator-col-content{
|
|
60
64
|
.tabulator-col-title{
|
|
61
65
|
.tabulator-title-editor{
|
|
@@ -162,11 +166,13 @@ $handleColorAlt: lighten($primary, 10%) !default; //color for even numbered rows
|
|
|
162
166
|
}
|
|
163
167
|
}
|
|
164
168
|
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
@media (hover:hover) and (pointer:fine){
|
|
170
|
+
&.tabulator-selectable:hover{
|
|
171
|
+
cursor: pointer;
|
|
167
172
|
|
|
168
|
-
|
|
169
|
-
|
|
173
|
+
.tabulator-cell{
|
|
174
|
+
background-color:$rowHoverBackground;
|
|
175
|
+
}
|
|
170
176
|
}
|
|
171
177
|
}
|
|
172
178
|
|
|
@@ -176,10 +182,12 @@ $handleColorAlt: lighten($primary, 10%) !default; //color for even numbered rows
|
|
|
176
182
|
}
|
|
177
183
|
}
|
|
178
184
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
185
|
+
@media (hover:hover) and (pointer:fine){
|
|
186
|
+
&.tabulator-selected:hover{
|
|
187
|
+
.tabulator-cell{
|
|
188
|
+
background-color:$rowSelectedBackgroundHover;
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
}
|
|
183
191
|
}
|
|
184
192
|
}
|
|
185
193
|
|
|
@@ -159,8 +159,10 @@ $footerActiveColor:$footerSeparatorColor !default; //footer bottom active text c
|
|
|
159
159
|
background:$headerBackgroundColor;
|
|
160
160
|
color:$headerTextColor;
|
|
161
161
|
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
@media (hover:hover) and (pointer:fine){
|
|
163
|
+
&:hover{
|
|
164
|
+
background-color:darken($headerBackgroundColor, 10%);
|
|
165
|
+
}
|
|
164
166
|
}
|
|
165
167
|
|
|
166
168
|
span{
|
|
@@ -177,8 +179,10 @@ $footerActiveColor:$footerSeparatorColor !default; //footer bottom active text c
|
|
|
177
179
|
background:$headerBackgroundColor;
|
|
178
180
|
color:$headerTextColor;
|
|
179
181
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
+
@media (hover:hover) and (pointer:fine){
|
|
183
|
+
&:hover{
|
|
184
|
+
background-color:darken($headerBackgroundColor, 10%);
|
|
185
|
+
}
|
|
182
186
|
}
|
|
183
187
|
|
|
184
188
|
span{
|