bootstrap-table-rails 1.18.1 → 1.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +30 -132
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/.DS_Store +0 -0
  7. data/vendor/assets/.DS_Store +0 -0
  8. data/vendor/assets/javascripts/.DS_Store +0 -0
  9. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +196 -147
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +179 -990
  12. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +180 -991
  13. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +9 -1
  14. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +731 -1114
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +122 -35
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +115 -39
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +458 -911
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +124 -48
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +122 -43
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +66 -24
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +433 -977
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +460 -951
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +275 -140
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +176 -86
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +128 -48
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +164 -75
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +45 -11
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +136 -36
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +227 -141
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +148 -94
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +111 -35
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +93 -49
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +396 -999
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +144 -56
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +104 -33
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +283 -87
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +116 -40
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +456 -1034
  39. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +278 -990
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +30 -20
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +30 -20
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +30 -20
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +30 -20
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +30 -20
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +30 -20
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +69 -20
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +30 -20
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +30 -20
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +30 -20
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +30 -20
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +30 -20
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +30 -20
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +30 -20
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +30 -20
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +30 -20
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +30 -20
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +30 -20
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +30 -20
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +30 -20
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +30 -20
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +30 -20
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +30 -20
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +30 -20
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +30 -20
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +30 -20
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +30 -20
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +30 -20
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +30 -20
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +30 -20
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +30 -20
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +30 -20
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +30 -20
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +30 -20
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +30 -20
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +30 -20
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +30 -20
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +30 -20
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +30 -20
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +30 -20
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +53 -43
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +30 -20
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +30 -20
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +30 -20
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +30 -20
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +30 -20
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +30 -20
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +30 -20
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +30 -20
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +30 -20
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +30 -20
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +30 -20
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +30 -20
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +8 -0
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +114 -35
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +8 -0
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +109 -30
  97. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +8 -0
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +113 -34
  99. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +8 -0
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +110 -31
  101. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +8 -0
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +107 -28
  103. metadata +6 -1
@@ -1,10 +1,12 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
- (global = global || self, factory(global.jQuery));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5
5
  }(this, (function ($) { 'use strict';
6
6
 
7
- $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var $__default = /*#__PURE__*/_interopDefaultLegacy($);
8
10
 
9
11
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
10
12
 
@@ -24,7 +26,7 @@
24
26
  check(typeof self == 'object' && self) ||
25
27
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
26
28
  // eslint-disable-next-line no-new-func
27
- Function('return this')();
29
+ (function () { return this; })() || Function('return this')();
28
30
 
29
31
  var fails = function (exec) {
30
32
  try {
@@ -36,7 +38,7 @@
36
38
 
37
39
  // Thank's IE8 for his funny defineProperty
38
40
  var descriptors = !fails(function () {
39
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
41
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
40
42
  });
41
43
 
42
44
  var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
@@ -217,9 +219,9 @@
217
219
  (module.exports = function (key, value) {
218
220
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
219
221
  })('versions', []).push({
220
- version: '3.6.0',
222
+ version: '3.8.1',
221
223
  mode: 'global',
222
- copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
224
+ copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
223
225
  });
224
226
  });
225
227
 
@@ -255,11 +257,12 @@
255
257
  };
256
258
 
257
259
  if (nativeWeakMap) {
258
- var store$1 = new WeakMap$1();
260
+ var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
259
261
  var wmget = store$1.get;
260
262
  var wmhas = store$1.has;
261
263
  var wmset = store$1.set;
262
264
  set = function (it, metadata) {
265
+ metadata.facade = it;
263
266
  wmset.call(store$1, it, metadata);
264
267
  return metadata;
265
268
  };
@@ -273,6 +276,7 @@
273
276
  var STATE = sharedKey('state');
274
277
  hiddenKeys[STATE] = true;
275
278
  set = function (it, metadata) {
279
+ metadata.facade = it;
276
280
  createNonEnumerableProperty(it, STATE, metadata);
277
281
  return metadata;
278
282
  };
@@ -301,9 +305,15 @@
301
305
  var unsafe = options ? !!options.unsafe : false;
302
306
  var simple = options ? !!options.enumerable : false;
303
307
  var noTargetGet = options ? !!options.noTargetGet : false;
308
+ var state;
304
309
  if (typeof value == 'function') {
305
- if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
306
- enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
310
+ if (typeof key == 'string' && !has(value, 'name')) {
311
+ createNonEnumerableProperty(value, 'name', key);
312
+ }
313
+ state = enforceInternalState(value);
314
+ if (!state.source) {
315
+ state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
316
+ }
307
317
  }
308
318
  if (O === global_1) {
309
319
  if (simple) O[key] = value;
@@ -533,7 +543,7 @@
533
543
  };
534
544
 
535
545
  // optional / simple context binding
536
- var bindContext = function (fn, that, length) {
546
+ var functionBindContext = function (fn, that, length) {
537
547
  aFunction$1(fn);
538
548
  if (that === undefined) return fn;
539
549
  switch (length) {
@@ -577,11 +587,11 @@
577
587
  // eslint-disable-next-line no-undef
578
588
  && !Symbol.sham
579
589
  // eslint-disable-next-line no-undef
580
- && typeof Symbol() == 'symbol';
590
+ && typeof Symbol.iterator == 'symbol';
581
591
 
582
592
  var WellKnownSymbolsStore = shared('wks');
583
593
  var Symbol$1 = global_1.Symbol;
584
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
594
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
585
595
 
586
596
  var wellKnownSymbol = function (name) {
587
597
  if (!has(WellKnownSymbolsStore, name)) {
@@ -609,22 +619,23 @@
609
619
 
610
620
  var push = [].push;
611
621
 
612
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
622
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
613
623
  var createMethod$1 = function (TYPE) {
614
624
  var IS_MAP = TYPE == 1;
615
625
  var IS_FILTER = TYPE == 2;
616
626
  var IS_SOME = TYPE == 3;
617
627
  var IS_EVERY = TYPE == 4;
618
628
  var IS_FIND_INDEX = TYPE == 6;
629
+ var IS_FILTER_OUT = TYPE == 7;
619
630
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
620
631
  return function ($this, callbackfn, that, specificCreate) {
621
632
  var O = toObject($this);
622
633
  var self = indexedObject(O);
623
- var boundFunction = bindContext(callbackfn, that, 3);
634
+ var boundFunction = functionBindContext(callbackfn, that, 3);
624
635
  var length = toLength(self.length);
625
636
  var index = 0;
626
637
  var create = specificCreate || arraySpeciesCreate;
627
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
638
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
628
639
  var value, result;
629
640
  for (;length > index; index++) if (NO_HOLES || index in self) {
630
641
  value = self[index];
@@ -636,7 +647,10 @@
636
647
  case 5: return value; // find
637
648
  case 6: return index; // findIndex
638
649
  case 2: push.call(target, value); // filter
639
- } else if (IS_EVERY) return false; // every
650
+ } else switch (TYPE) {
651
+ case 4: return false; // every
652
+ case 7: push.call(target, value); // filterOut
653
+ }
640
654
  }
641
655
  }
642
656
  return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
@@ -664,10 +678,13 @@
664
678
  find: createMethod$1(5),
665
679
  // `Array.prototype.findIndex` method
666
680
  // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
667
- findIndex: createMethod$1(6)
681
+ findIndex: createMethod$1(6),
682
+ // `Array.prototype.filterOut` method
683
+ // https://github.com/tc39/proposal-array-filtering
684
+ filterOut: createMethod$1(7)
668
685
  };
669
686
 
670
- var userAgent = getBuiltIn('navigator', 'userAgent') || '';
687
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
671
688
 
672
689
  var process = global_1.process;
673
690
  var versions = process && process.versions;
@@ -677,15 +694,15 @@
677
694
  if (v8) {
678
695
  match = v8.split('.');
679
696
  version = match[0] + match[1];
680
- } else if (userAgent) {
681
- match = userAgent.match(/Edge\/(\d+)/);
697
+ } else if (engineUserAgent) {
698
+ match = engineUserAgent.match(/Edge\/(\d+)/);
682
699
  if (!match || match[1] >= 74) {
683
- match = userAgent.match(/Chrome\/(\d+)/);
700
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
684
701
  if (match) version = match[1];
685
702
  }
686
703
  }
687
704
 
688
- var v8Version = version && +version;
705
+ var engineV8Version = version && +version;
689
706
 
690
707
  var SPECIES$1 = wellKnownSymbol('species');
691
708
 
@@ -693,7 +710,7 @@
693
710
  // We can't use this feature detection in V8 since it causes
694
711
  // deoptimization and serious performance degradation
695
712
  // https://github.com/zloirock/core-js/issues/677
696
- return v8Version >= 51 || !fails(function () {
713
+ return engineV8Version >= 51 || !fails(function () {
697
714
  var array = [];
698
715
  var constructor = array.constructor = {};
699
716
  constructor[SPECIES$1] = function () {
@@ -703,15 +720,37 @@
703
720
  });
704
721
  };
705
722
 
723
+ var defineProperty = Object.defineProperty;
724
+ var cache = {};
725
+
726
+ var thrower = function (it) { throw it; };
727
+
728
+ var arrayMethodUsesToLength = function (METHOD_NAME, options) {
729
+ if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
730
+ if (!options) options = {};
731
+ var method = [][METHOD_NAME];
732
+ var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
733
+ var argument0 = has(options, 0) ? options[0] : thrower;
734
+ var argument1 = has(options, 1) ? options[1] : undefined;
735
+
736
+ return cache[METHOD_NAME] = !!method && !fails(function () {
737
+ if (ACCESSORS && !descriptors) return true;
738
+ var O = { length: -1 };
739
+
740
+ if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
741
+ else O[1] = 1;
742
+
743
+ method.call(O, argument0, argument1);
744
+ });
745
+ };
746
+
706
747
  var $filter = arrayIteration.filter;
707
748
 
708
749
 
709
750
 
710
751
  var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
711
752
  // Edge 14- issue
712
- var USES_TO_LENGTH = HAS_SPECIES_SUPPORT && !fails(function () {
713
- [].filter.call({ length: -1, 0: 1 }, function (it) { throw it; });
714
- });
753
+ var USES_TO_LENGTH = arrayMethodUsesToLength('filter');
715
754
 
716
755
  // `Array.prototype.filter` method
717
756
  // https://tc39.github.io/ecma262/#sec-array.prototype.filter
@@ -722,9 +761,9 @@
722
761
  }
723
762
  });
724
763
 
725
- var sloppyArrayMethod = function (METHOD_NAME, argument) {
764
+ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
726
765
  var method = [][METHOD_NAME];
727
- return !method || !fails(function () {
766
+ return !!method && fails(function () {
728
767
  // eslint-disable-next-line no-useless-call,no-throw-literal
729
768
  method.call(null, argument || function () { throw 1; }, 1);
730
769
  });
@@ -733,14 +772,16 @@
733
772
  var $indexOf = arrayIncludes.indexOf;
734
773
 
735
774
 
775
+
736
776
  var nativeIndexOf = [].indexOf;
737
777
 
738
778
  var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
739
- var SLOPPY_METHOD = sloppyArrayMethod('indexOf');
779
+ var STRICT_METHOD = arrayMethodIsStrict('indexOf');
780
+ var USES_TO_LENGTH$1 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
740
781
 
741
782
  // `Array.prototype.indexOf` method
742
783
  // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
743
- _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, {
784
+ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH$1 }, {
744
785
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
745
786
  return NEGATIVE_ZERO
746
787
  // convert -0 to +0
@@ -755,6 +796,9 @@
755
796
  else object[propertyKey] = value;
756
797
  };
757
798
 
799
+ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
800
+ var USES_TO_LENGTH$2 = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });
801
+
758
802
  var SPECIES$2 = wellKnownSymbol('species');
759
803
  var nativeSlice = [].slice;
760
804
  var max$1 = Math.max;
@@ -762,7 +806,7 @@
762
806
  // `Array.prototype.slice` method
763
807
  // https://tc39.github.io/ecma262/#sec-array.prototype.slice
764
808
  // fallback for not array-like ES3 strings and DOM objects
765
- _export({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('slice') }, {
809
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 || !USES_TO_LENGTH$2 }, {
766
810
  slice: function slice(start, end) {
767
811
  var O = toIndexedObject(this);
768
812
  var length = toLength(O.length);
@@ -823,21 +867,21 @@
823
867
  var trim = stringTrim.trim;
824
868
 
825
869
 
826
- var nativeParseInt = global_1.parseInt;
870
+ var $parseInt = global_1.parseInt;
827
871
  var hex = /^[+-]?0[Xx]/;
828
- var FORCED = nativeParseInt(whitespaces + '08') !== 8 || nativeParseInt(whitespaces + '0x16') !== 22;
872
+ var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
829
873
 
830
874
  // `parseInt` method
831
875
  // https://tc39.github.io/ecma262/#sec-parseint-string-radix
832
- var _parseInt = FORCED ? function parseInt(string, radix) {
876
+ var numberParseInt = FORCED ? function parseInt(string, radix) {
833
877
  var S = trim(String(string));
834
- return nativeParseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
835
- } : nativeParseInt;
878
+ return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
879
+ } : $parseInt;
836
880
 
837
881
  // `parseInt` method
838
882
  // https://tc39.github.io/ecma262/#sec-parseint-string-radix
839
- _export({ global: true, forced: parseInt != _parseInt }, {
840
- parseInt: _parseInt
883
+ _export({ global: true, forced: parseInt != numberParseInt }, {
884
+ parseInt: numberParseInt
841
885
  });
842
886
 
843
887
  /**
@@ -889,8 +933,8 @@
889
933
  *
890
934
  **/
891
935
 
892
- var Utils = $.fn.bootstrapTable.utils;
893
- $.extend($.fn.bootstrapTable.defaults, {
936
+ var Utils = $__default['default'].fn.bootstrapTable.utils;
937
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
894
938
  usePipeline: false,
895
939
  pipelineSize: 1000,
896
940
  // eslint-disable-next-line no-unused-vars
@@ -902,11 +946,11 @@
902
946
  return false;
903
947
  }
904
948
  });
905
- $.extend($.fn.bootstrapTable.Constructor.EVENTS, {
949
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
906
950
  'cached-data-hit.bs.table': 'onCachedDataHit',
907
951
  'cached-data-reset.bs.table': 'onCachedDataReset'
908
952
  });
909
- var BootstrapTable = $.fn.bootstrapTable.Constructor;
953
+ var BootstrapTable = $__default['default'].fn.bootstrapTable.Constructor;
910
954
  var _init = BootstrapTable.prototype.init;
911
955
  var _onSearch = BootstrapTable.prototype.onSearch;
912
956
  var _onSort = BootstrapTable.prototype.onSort;
@@ -950,7 +994,7 @@
950
994
 
951
995
  BootstrapTable.prototype.onPageListChange = function (event) {
952
996
  /* rebuild cache window on page size change */
953
- var target = $(event.currentTarget);
997
+ var target = $__default['default'](event.currentTarget);
954
998
  var newPageSize = parseInt(target.text());
955
999
  this.options.pipelineSize = this.calculatePipelineSize(this.options.pipelineSize, newPageSize);
956
1000
  this.resetCache = true;
@@ -994,7 +1038,7 @@
994
1038
 
995
1039
  BootstrapTable.prototype.drawFromCache = function (offset, limit) {
996
1040
  /* draw rows from the cache using offset and limit */
997
- var res = $.extend(true, {}, this.cacheRequestJSON);
1041
+ var res = $__default['default'].extend(true, {}, this.cacheRequestJSON);
998
1042
  var drawStart = offset - this.cacheWindows[this.currWindow].lower;
999
1043
  var drawEnd = drawStart + limit;
1000
1044
  res.rows = res.rows.slice(drawStart, drawEnd);
@@ -1097,12 +1141,12 @@
1097
1141
  // continue base initServer code
1098
1142
 
1099
1143
 
1100
- if (!$.isEmptyObject(this.filterColumnsPartial)) {
1144
+ if (!$__default['default'].isEmptyObject(this.filterColumnsPartial)) {
1101
1145
  params.filter = JSON.stringify(this.filterColumnsPartial, null);
1102
1146
  }
1103
1147
 
1104
1148
  data = Utils.calculateObjectValue(this.options, this.options.queryParams, [params], data);
1105
- $.extend(data, query || {}); // false to stop request
1149
+ $__default['default'].extend(data, query || {}); // false to stop request
1106
1150
 
1107
1151
  if (data === false) {
1108
1152
  return;
@@ -1113,7 +1157,7 @@
1113
1157
  }
1114
1158
 
1115
1159
  var self = this;
1116
- request = $.extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
1160
+ request = $__default['default'].extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
1117
1161
  type: this.options.method,
1118
1162
  url: url || this.options.url,
1119
1163
  data: this.options.contentType === 'application/json' && this.options.method === 'post' ? JSON.stringify(data) : data,
@@ -1125,7 +1169,7 @@
1125
1169
 
1126
1170
  if (self.options.usePipeline) {
1127
1171
  // store entire request in cache
1128
- self.cacheRequestJSON = $.extend(true, {}, res); // this gets set in load() also but needs to be set before
1172
+ self.cacheRequestJSON = $__default['default'].extend(true, {}, res); // this gets set in load() also but needs to be set before
1129
1173
  // setting cacheWindows
1130
1174
 
1131
1175
  self.options.totalRows = res[self.options.totalField]; // if this is a search, potentially less results will be returned
@@ -1165,7 +1209,7 @@
1165
1209
  this._xhr.abort();
1166
1210
  }
1167
1211
 
1168
- this._xhr = $.ajax(request);
1212
+ this._xhr = $__default['default'].ajax(request);
1169
1213
  }
1170
1214
  };
1171
1215