tabulator-rails 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cd7dfd28a67c15af8ca59105893bbe550a6026e
4
- data.tar.gz: fd6d5a86e4a28a5df65740f45fac9aec6d0cec86
3
+ metadata.gz: 6dbdb1f78e4a2f73dbca466fd2d8e3605f352f81
4
+ data.tar.gz: 990089297d963bfdc57ff9bc68addcbf2676eb21
5
5
  SHA512:
6
- metadata.gz: 499b1d4e15b2a5d1f2108b35487a2c86c5cc74af0c30b249a595f05a6a9833b261d4c4ecfb3ab74b70e5d083e58eeaeee7165a3fbe226524c8f35d0d7955ad80
7
- data.tar.gz: caae8c59ae227138670d63069afeca745681d5a6f1ed7cb942fd9f7c24840c010a54128e24a36addb898732d91293847cc6ef1d6c7dedc9ed35ec3605c7a519b
6
+ metadata.gz: ad78d49ac27edba17ed9a13ef5d588cae4beb457f485359abc2e81308d35fe8ff9e35eeff68cc969d5225404bdf8703188e30c857cd4d80934bd20c2aef497a4
7
+ data.tar.gz: 312e4f05800eccb38eb7c941daab1febc3e872f9d91fbc9840748ff9b4650db24e8fd691549a70ab8d92bc44e814a9bc34ce83787711462e516d34270baf1157
data/VERSIONS.md CHANGED
@@ -22,3 +22,4 @@
22
22
  | 1.0.4 | 4.0.4
23
23
  | 1.0.5 | 4.0.5
24
24
  | 1.1.0 | 4.1.0
25
+ | 1.1.1 | 4.1.1
@@ -1,5 +1,5 @@
1
1
  module Tabulator
2
2
  module Rails
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -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.0 (c) Oliver Folkerd */
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
- selectableRangeType: "drag", //highlight rows on hover
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 column.definition.formatterParams.crossElement == "undefined") {
14239
- column.definition.formatterParams.crossElement = false;
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.0 (c) Oliver Folkerd */
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.0
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-14 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler