bootstrap-table-rails 1.19.0 → 1.19.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/Gemfile.lock +4 -4
 - data/bootstrap-table-rails.gemspec +2 -2
 - data/lib/bootstrap-table-rails/version.rb +1 -1
 - data/vendor/assets/javascripts/.DS_Store +0 -0
 - data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
 - data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +1 -1
 - data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +8 -7
 - data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +1 -0
 - data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +7 -1
 - data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +3 -3
 - data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +54 -54
 - metadata +5 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 57dc7d8eb131a39396cb545c2fd87e071b00041b0fc567ea9b3066aa4e3781d5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 110d2ea1b8a7304918f96529407e667d168adf21f6d6e35a16094de8192bee9e
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a3257b0f9c22795341645bd7434c72b99a5a837fdbf816278783ab30ca6efc73d5d3d61eb180c2bbb5535a118ce56046d4eb9ac08b8193b4c93772c62bf4a344
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4f6e80da1ff85d52c445df6ced8cd540e3bd801cc2dfa6020678c7145195c836bf39d6bf2d68d5cd00867721c03ddbfcc6e326881ed0b85da583ed4f2bad2e62
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    | 
         @@ -1,17 +1,17 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            PATH
         
     | 
| 
       2 
2 
     | 
    
         
             
              remote: .
         
     | 
| 
       3 
3 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
     | 
    
         
            -
                bootstrap-table-rails (1. 
     | 
| 
      
 4 
     | 
    
         
            +
                bootstrap-table-rails (1.19.1)
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            GEM
         
     | 
| 
       7 
7 
     | 
    
         
             
              remote: https://ruby.taobao.org/
         
     | 
| 
       8 
8 
     | 
    
         
             
              specs:
         
     | 
| 
       9 
     | 
    
         
            -
                rake ( 
     | 
| 
      
 9 
     | 
    
         
            +
                rake (13.0.6)
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            PLATFORMS
         
     | 
| 
       12 
12 
     | 
    
         
             
              ruby
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         
             
            DEPENDENCIES
         
     | 
| 
       15 
15 
     | 
    
         
             
              bootstrap-table-rails!
         
     | 
| 
       16 
     | 
    
         
            -
              bundler (~>  
     | 
| 
       17 
     | 
    
         
            -
              rake
         
     | 
| 
      
 16 
     | 
    
         
            +
              bundler (~> 2.3.7)
         
     | 
| 
      
 17 
     | 
    
         
            +
              rake (~> 13.0.6)
         
     | 
| 
         @@ -18,6 +18,6 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       18 
18 
     | 
    
         
             
              spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
         
     | 
| 
       19 
19 
     | 
    
         
             
              spec.require_paths = ["lib"]
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
              spec.add_development_dependency "bundler", "~>  
     | 
| 
       22 
     | 
    
         
            -
              spec.add_development_dependency "rake"
         
     | 
| 
      
 21 
     | 
    
         
            +
              spec.add_development_dependency "bundler", "~> 2.3.7"
         
     | 
| 
      
 22 
     | 
    
         
            +
              spec.add_development_dependency "rake", ">= 12.3.3"
         
     | 
| 
       23 
23 
     | 
    
         
             
            end
         
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         @@ -2717,7 +2717,7 @@ 
     | 
|
| 
       2717 
2717 
     | 
    
         | 
| 
       2718 
2718 
     | 
    
         
             
              /* eslint-disable no-unused-vars */
         
     | 
| 
       2719 
2719 
     | 
    
         | 
| 
       2720 
     | 
    
         
            -
              var VERSION = '1.19. 
     | 
| 
      
 2720 
     | 
    
         
            +
              var VERSION = '1.19.1';
         
     | 
| 
       2721 
2721 
     | 
    
         
             
              var bootstrapVersion = 4;
         
     | 
| 
       2722 
2722 
     | 
    
         | 
| 
       2723 
2723 
     | 
    
         
             
              try {
         
     | 
| 
         @@ -3660,18 +3660,18 @@ 
     | 
|
| 
       3660 
3660 
     | 
    
         
             
                  }
         
     | 
| 
       3661 
3661 
     | 
    
         
             
                },
         
     | 
| 
       3662 
3662 
     | 
    
         
             
                escapeHTML: function escapeHTML(text) {
         
     | 
| 
       3663 
     | 
    
         
            -
                  if ( 
     | 
| 
       3664 
     | 
    
         
            -
                    return text 
     | 
| 
      
 3663 
     | 
    
         
            +
                  if (!text) {
         
     | 
| 
      
 3664 
     | 
    
         
            +
                    return text;
         
     | 
| 
       3665 
3665 
     | 
    
         
             
                  }
         
     | 
| 
       3666 
3666 
     | 
    
         | 
| 
       3667 
     | 
    
         
            -
                  return text;
         
     | 
| 
      
 3667 
     | 
    
         
            +
                  return text.toString().replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''');
         
     | 
| 
       3668 
3668 
     | 
    
         
             
                },
         
     | 
| 
       3669 
3669 
     | 
    
         
             
                unescapeHTML: function unescapeHTML(text) {
         
     | 
| 
       3670 
     | 
    
         
            -
                  if ( 
     | 
| 
       3671 
     | 
    
         
            -
                    return text 
     | 
| 
      
 3670 
     | 
    
         
            +
                  if (!text) {
         
     | 
| 
      
 3671 
     | 
    
         
            +
                    return text;
         
     | 
| 
       3672 
3672 
     | 
    
         
             
                  }
         
     | 
| 
       3673 
3673 
     | 
    
         | 
| 
       3674 
     | 
    
         
            -
                  return text;
         
     | 
| 
      
 3674 
     | 
    
         
            +
                  return text.toString().replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, '\'');
         
     | 
| 
       3675 
3675 
     | 
    
         
             
                },
         
     | 
| 
       3676 
3676 
     | 
    
         
             
                getRealDataAttr: function getRealDataAttr(dataAttr) {
         
     | 
| 
       3677 
3677 
     | 
    
         
             
                  for (var _i3 = 0, _Object$entries = Object.entries(dataAttr); _i3 < _Object$entries.length; _i3++) {
         
     | 
| 
         @@ -5606,6 +5606,7 @@ 
     | 
|
| 
       5606 
5606 
     | 
    
         
             
                          // value can contains a HTML tags
         
     | 
| 
       5607 
5607 
     | 
    
         
             
                          var textContent = new DOMParser().parseFromString(value.toString(), 'text/html').documentElement.textContent;
         
     | 
| 
       5608 
5608 
     | 
    
         
             
                          var textReplaced = textContent.replace(regExp, marker);
         
     | 
| 
      
 5609 
     | 
    
         
            +
                          textContent = textContent.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
         
     | 
| 
       5609 
5610 
     | 
    
         
             
                          defValue = value.replace(new RegExp("(>\\s*)(".concat(textContent, ")(\\s*)"), 'gm'), "$1".concat(textReplaced, "$3"));
         
     | 
| 
       5610 
5611 
     | 
    
         
             
                        } else {
         
     | 
| 
       5611 
5612 
     | 
    
         
             
                          // but usually not
         
     | 
| 
         @@ -1116,6 +1116,7 @@ 
     | 
|
| 
       1116 
1116 
     | 
    
         
             
              var Utils = $__default['default'].fn.bootstrapTable.utils;
         
     | 
| 
       1117 
1117 
     | 
    
         
             
              $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
         
     | 
| 
       1118 
1118 
     | 
    
         
             
                autoRefresh: false,
         
     | 
| 
      
 1119 
     | 
    
         
            +
                showAutoRefresh: true,
         
     | 
| 
       1119 
1120 
     | 
    
         
             
                autoRefreshInterval: 60,
         
     | 
| 
       1120 
1121 
     | 
    
         
             
                autoRefreshSilent: true,
         
     | 
| 
       1121 
1122 
     | 
    
         
             
                autoRefreshStatus: true,
         
     | 
| 
         @@ -2051,7 +2051,13 @@ 
     | 
|
| 
       2051 
2051 
     | 
    
         
             
                    }
         
     | 
| 
       2052 
2052 
     | 
    
         | 
| 
       2053 
2053 
     | 
    
         
             
                    this.updateExportButton();
         
     | 
| 
       2054 
     | 
    
         
            -
                    this.$export.find('[data-type]') 
     | 
| 
      
 2054 
     | 
    
         
            +
                    var $exportButtons = this.$export.find('[data-type]');
         
     | 
| 
      
 2055 
     | 
    
         
            +
             
     | 
| 
      
 2056 
     | 
    
         
            +
                    if (exportTypes.length === 1) {
         
     | 
| 
      
 2057 
     | 
    
         
            +
                      $exportButtons = this.$export.find('button');
         
     | 
| 
      
 2058 
     | 
    
         
            +
                    }
         
     | 
| 
      
 2059 
     | 
    
         
            +
             
     | 
| 
      
 2060 
     | 
    
         
            +
                    $exportButtons.click(function (e) {
         
     | 
| 
       2055 
2061 
     | 
    
         
             
                      e.preventDefault();
         
     | 
| 
       2056 
2062 
     | 
    
         
             
                      var type = $__default['default'](e.currentTarget).data('type');
         
     | 
| 
       2057 
2063 
     | 
    
         
             
                      var exportOptions = {
         
     | 
| 
         @@ -2127,7 +2127,7 @@ 
     | 
|
| 
       2127 
2127 
     | 
    
         
             
                var options = getOptionsFromSelectControl(selectControl);
         
     | 
| 
       2128 
2128 
     | 
    
         | 
| 
       2129 
2129 
     | 
    
         
             
                for (var i = 0; i < options.length; i++) {
         
     | 
| 
       2130 
     | 
    
         
            -
                  if (options[i].value === Utils$1.unescapeHTML(value 
     | 
| 
      
 2130 
     | 
    
         
            +
                  if (options[i].value === Utils$1.unescapeHTML(value)) {
         
     | 
| 
       2131 
2131 
     | 
    
         
             
                    // The value is not valid to add
         
     | 
| 
       2132 
2132 
     | 
    
         
             
                    return true;
         
     | 
| 
       2133 
2133 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -2416,10 +2416,10 @@ 
     | 
|
| 
       2416 
2416 
     | 
    
         | 
| 
       2417 
2417 
     | 
    
         
             
                  $__default['default'].each(header.find('th'), function (i, th) {
         
     | 
| 
       2418 
2418 
     | 
    
         
             
                    var $th = $__default['default'](th);
         
     | 
| 
       2419 
     | 
    
         
            -
                    $th.find('.filter-control').remove();
         
     | 
| 
       2420 
2419 
     | 
    
         | 
| 
       2421 
2420 
     | 
    
         
             
                    if ($th.data('field') === column.field) {
         
     | 
| 
       2422 
     | 
    
         
            -
                      $th.find('. 
     | 
| 
      
 2421 
     | 
    
         
            +
                      $th.find('.filter-control').remove();
         
     | 
| 
      
 2422 
     | 
    
         
            +
                      $th.find('.fht-cell').html(html.join(''));
         
     | 
| 
       2423 
2423 
     | 
    
         
             
                      return false;
         
     | 
| 
       2424 
2424 
     | 
    
         
             
                    }
         
     | 
| 
       2425 
2425 
     | 
    
         
             
                  });
         
     | 
| 
         @@ -868,6 +868,57 @@ 
     | 
|
| 
       868 
868 
     | 
    
         
             
              // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
         
     | 
| 
       869 
869 
     | 
    
         
             
              addToUnscopables(FIND);
         
     | 
| 
       870 
870 
     | 
    
         | 
| 
      
 871 
     | 
    
         
            +
              // a string of all valid unicode whitespaces
         
     | 
| 
      
 872 
     | 
    
         
            +
              var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
         
     | 
| 
      
 873 
     | 
    
         
            +
                '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
         
     | 
| 
      
 874 
     | 
    
         
            +
             
     | 
| 
      
 875 
     | 
    
         
            +
              var whitespace = '[' + whitespaces + ']';
         
     | 
| 
      
 876 
     | 
    
         
            +
              var ltrim = RegExp('^' + whitespace + whitespace + '*');
         
     | 
| 
      
 877 
     | 
    
         
            +
              var rtrim = RegExp(whitespace + whitespace + '*$');
         
     | 
| 
      
 878 
     | 
    
         
            +
             
     | 
| 
      
 879 
     | 
    
         
            +
              // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
         
     | 
| 
      
 880 
     | 
    
         
            +
              var createMethod$1 = function (TYPE) {
         
     | 
| 
      
 881 
     | 
    
         
            +
                return function ($this) {
         
     | 
| 
      
 882 
     | 
    
         
            +
                  var string = String(requireObjectCoercible($this));
         
     | 
| 
      
 883 
     | 
    
         
            +
                  if (TYPE & 1) string = string.replace(ltrim, '');
         
     | 
| 
      
 884 
     | 
    
         
            +
                  if (TYPE & 2) string = string.replace(rtrim, '');
         
     | 
| 
      
 885 
     | 
    
         
            +
                  return string;
         
     | 
| 
      
 886 
     | 
    
         
            +
                };
         
     | 
| 
      
 887 
     | 
    
         
            +
              };
         
     | 
| 
      
 888 
     | 
    
         
            +
             
     | 
| 
      
 889 
     | 
    
         
            +
              var stringTrim = {
         
     | 
| 
      
 890 
     | 
    
         
            +
                // `String.prototype.{ trimLeft, trimStart }` methods
         
     | 
| 
      
 891 
     | 
    
         
            +
                // https://tc39.es/ecma262/#sec-string.prototype.trimstart
         
     | 
| 
      
 892 
     | 
    
         
            +
                start: createMethod$1(1),
         
     | 
| 
      
 893 
     | 
    
         
            +
                // `String.prototype.{ trimRight, trimEnd }` methods
         
     | 
| 
      
 894 
     | 
    
         
            +
                // https://tc39.es/ecma262/#sec-string.prototype.trimend
         
     | 
| 
      
 895 
     | 
    
         
            +
                end: createMethod$1(2),
         
     | 
| 
      
 896 
     | 
    
         
            +
                // `String.prototype.trim` method
         
     | 
| 
      
 897 
     | 
    
         
            +
                // https://tc39.es/ecma262/#sec-string.prototype.trim
         
     | 
| 
      
 898 
     | 
    
         
            +
                trim: createMethod$1(3)
         
     | 
| 
      
 899 
     | 
    
         
            +
              };
         
     | 
| 
      
 900 
     | 
    
         
            +
             
     | 
| 
      
 901 
     | 
    
         
            +
              var non = '\u200B\u0085\u180E';
         
     | 
| 
      
 902 
     | 
    
         
            +
             
     | 
| 
      
 903 
     | 
    
         
            +
              // check that a method works with the correct list
         
     | 
| 
      
 904 
     | 
    
         
            +
              // of whitespaces and has a correct name
         
     | 
| 
      
 905 
     | 
    
         
            +
              var stringTrimForced = function (METHOD_NAME) {
         
     | 
| 
      
 906 
     | 
    
         
            +
                return fails(function () {
         
     | 
| 
      
 907 
     | 
    
         
            +
                  return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
         
     | 
| 
      
 908 
     | 
    
         
            +
                });
         
     | 
| 
      
 909 
     | 
    
         
            +
              };
         
     | 
| 
      
 910 
     | 
    
         
            +
             
     | 
| 
      
 911 
     | 
    
         
            +
              var $trim = stringTrim.trim;
         
     | 
| 
      
 912 
     | 
    
         
            +
             
     | 
| 
      
 913 
     | 
    
         
            +
             
     | 
| 
      
 914 
     | 
    
         
            +
              // `String.prototype.trim` method
         
     | 
| 
      
 915 
     | 
    
         
            +
              // https://tc39.es/ecma262/#sec-string.prototype.trim
         
     | 
| 
      
 916 
     | 
    
         
            +
              _export({ target: 'String', proto: true, forced: stringTrimForced('trim') }, {
         
     | 
| 
      
 917 
     | 
    
         
            +
                trim: function trim() {
         
     | 
| 
      
 918 
     | 
    
         
            +
                  return $trim(this);
         
     | 
| 
      
 919 
     | 
    
         
            +
                }
         
     | 
| 
      
 920 
     | 
    
         
            +
              });
         
     | 
| 
      
 921 
     | 
    
         
            +
             
     | 
| 
       871 
922 
     | 
    
         
             
              var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
         
     | 
| 
       872 
923 
     | 
    
         
             
              var test$1 = {};
         
     | 
| 
       873 
924 
     | 
    
         | 
| 
         @@ -944,57 +995,6 @@ 
     | 
|
| 
       944 
995 
     | 
    
         
             
                }, { unsafe: true });
         
     | 
| 
       945 
996 
     | 
    
         
             
              }
         
     | 
| 
       946 
997 
     | 
    
         | 
| 
       947 
     | 
    
         
            -
              // a string of all valid unicode whitespaces
         
     | 
| 
       948 
     | 
    
         
            -
              var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
         
     | 
| 
       949 
     | 
    
         
            -
                '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
         
     | 
| 
       950 
     | 
    
         
            -
             
     | 
| 
       951 
     | 
    
         
            -
              var whitespace = '[' + whitespaces + ']';
         
     | 
| 
       952 
     | 
    
         
            -
              var ltrim = RegExp('^' + whitespace + whitespace + '*');
         
     | 
| 
       953 
     | 
    
         
            -
              var rtrim = RegExp(whitespace + whitespace + '*$');
         
     | 
| 
       954 
     | 
    
         
            -
             
     | 
| 
       955 
     | 
    
         
            -
              // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
         
     | 
| 
       956 
     | 
    
         
            -
              var createMethod$1 = function (TYPE) {
         
     | 
| 
       957 
     | 
    
         
            -
                return function ($this) {
         
     | 
| 
       958 
     | 
    
         
            -
                  var string = String(requireObjectCoercible($this));
         
     | 
| 
       959 
     | 
    
         
            -
                  if (TYPE & 1) string = string.replace(ltrim, '');
         
     | 
| 
       960 
     | 
    
         
            -
                  if (TYPE & 2) string = string.replace(rtrim, '');
         
     | 
| 
       961 
     | 
    
         
            -
                  return string;
         
     | 
| 
       962 
     | 
    
         
            -
                };
         
     | 
| 
       963 
     | 
    
         
            -
              };
         
     | 
| 
       964 
     | 
    
         
            -
             
     | 
| 
       965 
     | 
    
         
            -
              var stringTrim = {
         
     | 
| 
       966 
     | 
    
         
            -
                // `String.prototype.{ trimLeft, trimStart }` methods
         
     | 
| 
       967 
     | 
    
         
            -
                // https://tc39.es/ecma262/#sec-string.prototype.trimstart
         
     | 
| 
       968 
     | 
    
         
            -
                start: createMethod$1(1),
         
     | 
| 
       969 
     | 
    
         
            -
                // `String.prototype.{ trimRight, trimEnd }` methods
         
     | 
| 
       970 
     | 
    
         
            -
                // https://tc39.es/ecma262/#sec-string.prototype.trimend
         
     | 
| 
       971 
     | 
    
         
            -
                end: createMethod$1(2),
         
     | 
| 
       972 
     | 
    
         
            -
                // `String.prototype.trim` method
         
     | 
| 
       973 
     | 
    
         
            -
                // https://tc39.es/ecma262/#sec-string.prototype.trim
         
     | 
| 
       974 
     | 
    
         
            -
                trim: createMethod$1(3)
         
     | 
| 
       975 
     | 
    
         
            -
              };
         
     | 
| 
       976 
     | 
    
         
            -
             
     | 
| 
       977 
     | 
    
         
            -
              var non = '\u200B\u0085\u180E';
         
     | 
| 
       978 
     | 
    
         
            -
             
     | 
| 
       979 
     | 
    
         
            -
              // check that a method works with the correct list
         
     | 
| 
       980 
     | 
    
         
            -
              // of whitespaces and has a correct name
         
     | 
| 
       981 
     | 
    
         
            -
              var stringTrimForced = function (METHOD_NAME) {
         
     | 
| 
       982 
     | 
    
         
            -
                return fails(function () {
         
     | 
| 
       983 
     | 
    
         
            -
                  return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
         
     | 
| 
       984 
     | 
    
         
            -
                });
         
     | 
| 
       985 
     | 
    
         
            -
              };
         
     | 
| 
       986 
     | 
    
         
            -
             
     | 
| 
       987 
     | 
    
         
            -
              var $trim = stringTrim.trim;
         
     | 
| 
       988 
     | 
    
         
            -
             
     | 
| 
       989 
     | 
    
         
            -
             
     | 
| 
       990 
     | 
    
         
            -
              // `String.prototype.trim` method
         
     | 
| 
       991 
     | 
    
         
            -
              // https://tc39.es/ecma262/#sec-string.prototype.trim
         
     | 
| 
       992 
     | 
    
         
            -
              _export({ target: 'String', proto: true, forced: stringTrimForced('trim') }, {
         
     | 
| 
       993 
     | 
    
         
            -
                trim: function trim() {
         
     | 
| 
       994 
     | 
    
         
            -
                  return $trim(this);
         
     | 
| 
       995 
     | 
    
         
            -
                }
         
     | 
| 
       996 
     | 
    
         
            -
              });
         
     | 
| 
       997 
     | 
    
         
            -
             
     | 
| 
       998 
998 
     | 
    
         
             
              var createProperty = function (object, key, value) {
         
     | 
| 
       999 
999 
     | 
    
         
             
                var propertyKey = toPrimitive(key);
         
     | 
| 
       1000 
1000 
     | 
    
         
             
                if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
         
     | 
| 
         @@ -1861,7 +1861,7 @@ 
     | 
|
| 
       1861 
1861 
     | 
    
         
             
                var options = getOptionsFromSelectControl(selectControl);
         
     | 
| 
       1862 
1862 
     | 
    
         | 
| 
       1863 
1863 
     | 
    
         
             
                for (var i = 0; i < options.length; i++) {
         
     | 
| 
       1864 
     | 
    
         
            -
                  if (options[i].value === Utils.unescapeHTML(value 
     | 
| 
      
 1864 
     | 
    
         
            +
                  if (options[i].value === Utils.unescapeHTML(value)) {
         
     | 
| 
       1865 
1865 
     | 
    
         
             
                    // The value is not valid to add
         
     | 
| 
       1866 
1866 
     | 
    
         
             
                    return true;
         
     | 
| 
       1867 
1867 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -2150,10 +2150,10 @@ 
     | 
|
| 
       2150 
2150 
     | 
    
         | 
| 
       2151 
2151 
     | 
    
         
             
                  $__default['default'].each(header.find('th'), function (i, th) {
         
     | 
| 
       2152 
2152 
     | 
    
         
             
                    var $th = $__default['default'](th);
         
     | 
| 
       2153 
     | 
    
         
            -
                    $th.find('.filter-control').remove();
         
     | 
| 
       2154 
2153 
     | 
    
         | 
| 
       2155 
2154 
     | 
    
         
             
                    if ($th.data('field') === column.field) {
         
     | 
| 
       2156 
     | 
    
         
            -
                      $th.find('. 
     | 
| 
      
 2155 
     | 
    
         
            +
                      $th.find('.filter-control').remove();
         
     | 
| 
      
 2156 
     | 
    
         
            +
                      $th.find('.fht-cell').html(html.join(''));
         
     | 
| 
       2157 
2157 
     | 
    
         
             
                      return false;
         
     | 
| 
       2158 
2158 
     | 
    
         
             
                    }
         
     | 
| 
       2159 
2159 
     | 
    
         
             
                  });
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: bootstrap-table-rails
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.19. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.19.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Evan Chiu
         
     | 
| 
         @@ -16,28 +16,28 @@ dependencies: 
     | 
|
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
17 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version:  
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 2.3.7
         
     | 
| 
       20 
20 
     | 
    
         
             
              type: :development
         
     | 
| 
       21 
21 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       22 
22 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       23 
23 
     | 
    
         
             
                requirements:
         
     | 
| 
       24 
24 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       25 
25 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       26 
     | 
    
         
            -
                    version:  
     | 
| 
      
 26 
     | 
    
         
            +
                    version: 2.3.7
         
     | 
| 
       27 
27 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       28 
28 
     | 
    
         
             
              name: rake
         
     | 
| 
       29 
29 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       30 
30 
     | 
    
         
             
                requirements:
         
     | 
| 
       31 
31 
     | 
    
         
             
                - - ">="
         
     | 
| 
       32 
32 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       33 
     | 
    
         
            -
                    version:  
     | 
| 
      
 33 
     | 
    
         
            +
                    version: 12.3.3
         
     | 
| 
       34 
34 
     | 
    
         
             
              type: :development
         
     | 
| 
       35 
35 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       36 
36 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       37 
37 
     | 
    
         
             
                requirements:
         
     | 
| 
       38 
38 
     | 
    
         
             
                - - ">="
         
     | 
| 
       39 
39 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       40 
     | 
    
         
            -
                    version:  
     | 
| 
      
 40 
     | 
    
         
            +
                    version: 12.3.3
         
     | 
| 
       41 
41 
     | 
    
         
             
            description: An extended Bootstrap table(wenzhixin/bootstrap-table), integrated in
         
     | 
| 
       42 
42 
     | 
    
         
             
              Rails assets pipeline.
         
     | 
| 
       43 
43 
     | 
    
         
             
            email:
         
     |