tabulator-rails 1.1.0 → 1.1.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.
- checksums.yaml +4 -4
- data/VERSIONS.md +1 -0
- data/lib/tabulator-rails/version.rb +1 -1
- data/vendor/assets/javascripts/tabulator.js +11 -7
- data/vendor/assets/stylesheets/tabulator.css +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dbdb1f78e4a2f73dbca466fd2d8e3605f352f81
|
4
|
+
data.tar.gz: 990089297d963bfdc57ff9bc68addcbf2676eb21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad78d49ac27edba17ed9a13ef5d588cae4beb457f485359abc2e81308d35fe8ff9e35eeff68cc969d5225404bdf8703188e30c857cd4d80934bd20c2aef497a4
|
7
|
+
data.tar.gz: 312e4f05800eccb38eb7c941daab1febc3e872f9d91fbc9840748ff9b4650db24e8fd691549a70ab8d92bc44e814a9bc34ce83787711462e516d34270baf1157
|
data/VERSIONS.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
2
2
|
|
3
|
-
/* Tabulator v4.1.
|
3
|
+
/* Tabulator v4.1.1 (c) Oliver Folkerd */
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
if ((typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) === 'object' && typeof module !== 'undefined') {
|
@@ -6345,7 +6345,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
6345
6345
|
|
6346
6346
|
selectable: "highlight", //highlight rows on hover
|
6347
6347
|
|
6348
|
-
|
6348
|
+
selectableRangeMode: "drag", //highlight rows on hover
|
6349
6349
|
|
6350
6350
|
selectableRollingSelection: true, //roll selection once maximum number of selectable rows is reached
|
6351
6351
|
|
@@ -12759,12 +12759,12 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
12759
12759
|
el = document.createElement("div");
|
12760
12760
|
el.classList.add("tabulator-edit-select-list-group");
|
12761
12761
|
el.tabIndex = 0;
|
12762
|
-
el.innerHTML = item.label;
|
12762
|
+
el.innerHTML = item.label === "" ? " " : item.label;
|
12763
12763
|
} else {
|
12764
12764
|
el = document.createElement("div");
|
12765
12765
|
el.classList.add("tabulator-edit-select-list-item");
|
12766
12766
|
el.tabIndex = 0;
|
12767
|
-
el.innerHTML = item.label;
|
12767
|
+
el.innerHTML = item.label === "" ? " " : item.label;
|
12768
12768
|
|
12769
12769
|
el.addEventListener("click", function () {
|
12770
12770
|
setCurrentItem(item);
|
@@ -12798,7 +12798,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
12798
12798
|
}
|
12799
12799
|
|
12800
12800
|
currentItem = item;
|
12801
|
-
input.value = item.label;
|
12801
|
+
input.value = item.label === " " ? "" : item.label;
|
12802
12802
|
|
12803
12803
|
if (item.element) {
|
12804
12804
|
item.element.classList.add("active");
|
@@ -12809,6 +12809,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
12809
12809
|
hideList();
|
12810
12810
|
|
12811
12811
|
if (initialValue !== currentItem.value) {
|
12812
|
+
initialValue = currentItem.value;
|
12812
12813
|
success(currentItem.value);
|
12813
12814
|
} else {
|
12814
12815
|
cancel();
|
@@ -13707,6 +13708,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
13707
13708
|
getElement: function getElement() {
|
13708
13709
|
return filterElement;
|
13709
13710
|
},
|
13711
|
+
getColumn: function getColumn() {
|
13712
|
+
return column.getComponent();
|
13713
|
+
},
|
13710
13714
|
getRow: function getRow() {
|
13711
13715
|
return {
|
13712
13716
|
normalizeHeight: function normalizeHeight() {}
|
@@ -14235,8 +14239,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
14235
14239
|
if (column.definition.formatter === "tick") {
|
14236
14240
|
column.definition.formatter = "tickCross";
|
14237
14241
|
|
14238
|
-
if (typeof
|
14239
|
-
|
14242
|
+
if (typeof config.params.crossElement == "undefined") {
|
14243
|
+
config.params.crossElement = false;
|
14240
14244
|
}
|
14241
14245
|
|
14242
14246
|
console.warn("DEPRICATION WANRING - the tick formatter has been depricated, please use the tickCross formatter with the crossElement param set to false");
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/* Tabulator v4.1.
|
1
|
+
/* Tabulator v4.1.1 (c) Oliver Folkerd */
|
2
2
|
.tabulator {
|
3
3
|
position: relative;
|
4
4
|
border: 1px solid #999;
|
@@ -741,6 +741,7 @@
|
|
741
741
|
font-size: 14px;
|
742
742
|
overflow-y: auto;
|
743
743
|
-webkit-overflow-scrolling: touch;
|
744
|
+
z-index: 10000;
|
744
745
|
}
|
745
746
|
|
746
747
|
.tabulator-edit-select-list .tabulator-edit-select-list-item {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tabulator-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tanvir hasan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|