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;
@@ -554,11 +564,11 @@
554
564
  // eslint-disable-next-line no-undef
555
565
  && !Symbol.sham
556
566
  // eslint-disable-next-line no-undef
557
- && typeof Symbol() == 'symbol';
567
+ && typeof Symbol.iterator == 'symbol';
558
568
 
559
569
  var WellKnownSymbolsStore = shared('wks');
560
570
  var Symbol$1 = global_1.Symbol;
561
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
571
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
562
572
 
563
573
  var wellKnownSymbol = function (name) {
564
574
  if (!has(WellKnownSymbolsStore, name)) {
@@ -584,7 +594,7 @@
584
594
  } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
585
595
  };
586
596
 
587
- var userAgent = getBuiltIn('navigator', 'userAgent') || '';
597
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
588
598
 
589
599
  var process = global_1.process;
590
600
  var versions = process && process.versions;
@@ -594,15 +604,15 @@
594
604
  if (v8) {
595
605
  match = v8.split('.');
596
606
  version = match[0] + match[1];
597
- } else if (userAgent) {
598
- match = userAgent.match(/Edge\/(\d+)/);
607
+ } else if (engineUserAgent) {
608
+ match = engineUserAgent.match(/Edge\/(\d+)/);
599
609
  if (!match || match[1] >= 74) {
600
- match = userAgent.match(/Chrome\/(\d+)/);
610
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
601
611
  if (match) version = match[1];
602
612
  }
603
613
  }
604
614
 
605
- var v8Version = version && +version;
615
+ var engineV8Version = version && +version;
606
616
 
607
617
  var SPECIES$1 = wellKnownSymbol('species');
608
618
 
@@ -610,7 +620,7 @@
610
620
  // We can't use this feature detection in V8 since it causes
611
621
  // deoptimization and serious performance degradation
612
622
  // https://github.com/zloirock/core-js/issues/677
613
- return v8Version >= 51 || !fails(function () {
623
+ return engineV8Version >= 51 || !fails(function () {
614
624
  var array = [];
615
625
  var constructor = array.constructor = {};
616
626
  constructor[SPECIES$1] = function () {
@@ -627,7 +637,7 @@
627
637
  // We can't use this feature detection in V8 since it causes
628
638
  // deoptimization and serious performance degradation
629
639
  // https://github.com/zloirock/core-js/issues/679
630
- var IS_CONCAT_SPREADABLE_SUPPORT = v8Version >= 51 || !fails(function () {
640
+ var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
631
641
  var array = [];
632
642
  array[IS_CONCAT_SPREADABLE] = false;
633
643
  return array.concat()[0] !== array;
@@ -668,6 +678,153 @@
668
678
  }
669
679
  });
670
680
 
681
+ var aFunction$1 = function (it) {
682
+ if (typeof it != 'function') {
683
+ throw TypeError(String(it) + ' is not a function');
684
+ } return it;
685
+ };
686
+
687
+ // optional / simple context binding
688
+ var functionBindContext = function (fn, that, length) {
689
+ aFunction$1(fn);
690
+ if (that === undefined) return fn;
691
+ switch (length) {
692
+ case 0: return function () {
693
+ return fn.call(that);
694
+ };
695
+ case 1: return function (a) {
696
+ return fn.call(that, a);
697
+ };
698
+ case 2: return function (a, b) {
699
+ return fn.call(that, a, b);
700
+ };
701
+ case 3: return function (a, b, c) {
702
+ return fn.call(that, a, b, c);
703
+ };
704
+ }
705
+ return function (/* ...args */) {
706
+ return fn.apply(that, arguments);
707
+ };
708
+ };
709
+
710
+ var push = [].push;
711
+
712
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
713
+ var createMethod$1 = function (TYPE) {
714
+ var IS_MAP = TYPE == 1;
715
+ var IS_FILTER = TYPE == 2;
716
+ var IS_SOME = TYPE == 3;
717
+ var IS_EVERY = TYPE == 4;
718
+ var IS_FIND_INDEX = TYPE == 6;
719
+ var IS_FILTER_OUT = TYPE == 7;
720
+ var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
721
+ return function ($this, callbackfn, that, specificCreate) {
722
+ var O = toObject($this);
723
+ var self = indexedObject(O);
724
+ var boundFunction = functionBindContext(callbackfn, that, 3);
725
+ var length = toLength(self.length);
726
+ var index = 0;
727
+ var create = specificCreate || arraySpeciesCreate;
728
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
729
+ var value, result;
730
+ for (;length > index; index++) if (NO_HOLES || index in self) {
731
+ value = self[index];
732
+ result = boundFunction(value, index, O);
733
+ if (TYPE) {
734
+ if (IS_MAP) target[index] = result; // map
735
+ else if (result) switch (TYPE) {
736
+ case 3: return true; // some
737
+ case 5: return value; // find
738
+ case 6: return index; // findIndex
739
+ case 2: push.call(target, value); // filter
740
+ } else switch (TYPE) {
741
+ case 4: return false; // every
742
+ case 7: push.call(target, value); // filterOut
743
+ }
744
+ }
745
+ }
746
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
747
+ };
748
+ };
749
+
750
+ var arrayIteration = {
751
+ // `Array.prototype.forEach` method
752
+ // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
753
+ forEach: createMethod$1(0),
754
+ // `Array.prototype.map` method
755
+ // https://tc39.github.io/ecma262/#sec-array.prototype.map
756
+ map: createMethod$1(1),
757
+ // `Array.prototype.filter` method
758
+ // https://tc39.github.io/ecma262/#sec-array.prototype.filter
759
+ filter: createMethod$1(2),
760
+ // `Array.prototype.some` method
761
+ // https://tc39.github.io/ecma262/#sec-array.prototype.some
762
+ some: createMethod$1(3),
763
+ // `Array.prototype.every` method
764
+ // https://tc39.github.io/ecma262/#sec-array.prototype.every
765
+ every: createMethod$1(4),
766
+ // `Array.prototype.find` method
767
+ // https://tc39.github.io/ecma262/#sec-array.prototype.find
768
+ find: createMethod$1(5),
769
+ // `Array.prototype.findIndex` method
770
+ // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
771
+ findIndex: createMethod$1(6),
772
+ // `Array.prototype.filterOut` method
773
+ // https://github.com/tc39/proposal-array-filtering
774
+ filterOut: createMethod$1(7)
775
+ };
776
+
777
+ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
778
+ var method = [][METHOD_NAME];
779
+ return !!method && fails(function () {
780
+ // eslint-disable-next-line no-useless-call,no-throw-literal
781
+ method.call(null, argument || function () { throw 1; }, 1);
782
+ });
783
+ };
784
+
785
+ var defineProperty = Object.defineProperty;
786
+ var cache = {};
787
+
788
+ var thrower = function (it) { throw it; };
789
+
790
+ var arrayMethodUsesToLength = function (METHOD_NAME, options) {
791
+ if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
792
+ if (!options) options = {};
793
+ var method = [][METHOD_NAME];
794
+ var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
795
+ var argument0 = has(options, 0) ? options[0] : thrower;
796
+ var argument1 = has(options, 1) ? options[1] : undefined;
797
+
798
+ return cache[METHOD_NAME] = !!method && !fails(function () {
799
+ if (ACCESSORS && !descriptors) return true;
800
+ var O = { length: -1 };
801
+
802
+ if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
803
+ else O[1] = 1;
804
+
805
+ method.call(O, argument0, argument1);
806
+ });
807
+ };
808
+
809
+ var $forEach = arrayIteration.forEach;
810
+
811
+
812
+
813
+ var STRICT_METHOD = arrayMethodIsStrict('forEach');
814
+ var USES_TO_LENGTH = arrayMethodUsesToLength('forEach');
815
+
816
+ // `Array.prototype.forEach` method implementation
817
+ // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
818
+ var arrayForEach = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {
819
+ return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
820
+ } : [].forEach;
821
+
822
+ // `Array.prototype.forEach` method
823
+ // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
824
+ _export({ target: 'Array', proto: true, forced: [].forEach != arrayForEach }, {
825
+ forEach: arrayForEach
826
+ });
827
+
671
828
  // `Object.keys` method
672
829
  // https://tc39.github.io/ecma262/#sec-object.keys
673
830
  var objectKeys = Object.keys || function keys(O) {
@@ -779,9 +936,12 @@
779
936
  var $includes = arrayIncludes.includes;
780
937
 
781
938
 
939
+
940
+ var USES_TO_LENGTH$1 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
941
+
782
942
  // `Array.prototype.includes` method
783
943
  // https://tc39.github.io/ecma262/#sec-array.prototype.includes
784
- _export({ target: 'Array', proto: true }, {
944
+ _export({ target: 'Array', proto: true, forced: !USES_TO_LENGTH$1 }, {
785
945
  includes: function includes(el /* , fromIndex = 0 */) {
786
946
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
787
947
  }
@@ -811,11 +971,11 @@
811
971
  var regexp = /./;
812
972
  try {
813
973
  '/./'[METHOD_NAME](regexp);
814
- } catch (e) {
974
+ } catch (error1) {
815
975
  try {
816
976
  regexp[MATCH$1] = false;
817
977
  return '/./'[METHOD_NAME](regexp);
818
- } catch (f) { /* empty */ }
978
+ } catch (error2) { /* empty */ }
819
979
  } return false;
820
980
  };
821
981
 
@@ -864,112 +1024,6 @@
864
1024
  TouchList: 0
865
1025
  };
866
1026
 
867
- var aFunction$1 = function (it) {
868
- if (typeof it != 'function') {
869
- throw TypeError(String(it) + ' is not a function');
870
- } return it;
871
- };
872
-
873
- // optional / simple context binding
874
- var bindContext = function (fn, that, length) {
875
- aFunction$1(fn);
876
- if (that === undefined) return fn;
877
- switch (length) {
878
- case 0: return function () {
879
- return fn.call(that);
880
- };
881
- case 1: return function (a) {
882
- return fn.call(that, a);
883
- };
884
- case 2: return function (a, b) {
885
- return fn.call(that, a, b);
886
- };
887
- case 3: return function (a, b, c) {
888
- return fn.call(that, a, b, c);
889
- };
890
- }
891
- return function (/* ...args */) {
892
- return fn.apply(that, arguments);
893
- };
894
- };
895
-
896
- var push = [].push;
897
-
898
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
899
- var createMethod$1 = function (TYPE) {
900
- var IS_MAP = TYPE == 1;
901
- var IS_FILTER = TYPE == 2;
902
- var IS_SOME = TYPE == 3;
903
- var IS_EVERY = TYPE == 4;
904
- var IS_FIND_INDEX = TYPE == 6;
905
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
906
- return function ($this, callbackfn, that, specificCreate) {
907
- var O = toObject($this);
908
- var self = indexedObject(O);
909
- var boundFunction = bindContext(callbackfn, that, 3);
910
- var length = toLength(self.length);
911
- var index = 0;
912
- var create = specificCreate || arraySpeciesCreate;
913
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
914
- var value, result;
915
- for (;length > index; index++) if (NO_HOLES || index in self) {
916
- value = self[index];
917
- result = boundFunction(value, index, O);
918
- if (TYPE) {
919
- if (IS_MAP) target[index] = result; // map
920
- else if (result) switch (TYPE) {
921
- case 3: return true; // some
922
- case 5: return value; // find
923
- case 6: return index; // findIndex
924
- case 2: push.call(target, value); // filter
925
- } else if (IS_EVERY) return false; // every
926
- }
927
- }
928
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
929
- };
930
- };
931
-
932
- var arrayIteration = {
933
- // `Array.prototype.forEach` method
934
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
935
- forEach: createMethod$1(0),
936
- // `Array.prototype.map` method
937
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
938
- map: createMethod$1(1),
939
- // `Array.prototype.filter` method
940
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
941
- filter: createMethod$1(2),
942
- // `Array.prototype.some` method
943
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
944
- some: createMethod$1(3),
945
- // `Array.prototype.every` method
946
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
947
- every: createMethod$1(4),
948
- // `Array.prototype.find` method
949
- // https://tc39.github.io/ecma262/#sec-array.prototype.find
950
- find: createMethod$1(5),
951
- // `Array.prototype.findIndex` method
952
- // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
953
- findIndex: createMethod$1(6)
954
- };
955
-
956
- var sloppyArrayMethod = function (METHOD_NAME, argument) {
957
- var method = [][METHOD_NAME];
958
- return !method || !fails(function () {
959
- // eslint-disable-next-line no-useless-call,no-throw-literal
960
- method.call(null, argument || function () { throw 1; }, 1);
961
- });
962
- };
963
-
964
- var $forEach = arrayIteration.forEach;
965
-
966
-
967
- // `Array.prototype.forEach` method implementation
968
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
969
- var arrayForEach = sloppyArrayMethod('forEach') ? function forEach(callbackfn /* , thisArg */) {
970
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
971
- } : [].forEach;
972
-
973
1027
  for (var COLLECTION_NAME in domIterables) {
974
1028
  var Collection = global_1[COLLECTION_NAME];
975
1029
  var CollectionPrototype = Collection && Collection.prototype;
@@ -1034,6 +1088,19 @@
1034
1088
  return _setPrototypeOf(o, p);
1035
1089
  }
1036
1090
 
1091
+ function _isNativeReflectConstruct() {
1092
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
1093
+ if (Reflect.construct.sham) return false;
1094
+ if (typeof Proxy === "function") return true;
1095
+
1096
+ try {
1097
+ Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
1098
+ return true;
1099
+ } catch (e) {
1100
+ return false;
1101
+ }
1102
+ }
1103
+
1037
1104
  function _assertThisInitialized(self) {
1038
1105
  if (self === void 0) {
1039
1106
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -1050,6 +1117,25 @@
1050
1117
  return _assertThisInitialized(self);
1051
1118
  }
1052
1119
 
1120
+ function _createSuper(Derived) {
1121
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
1122
+
1123
+ return function _createSuperInternal() {
1124
+ var Super = _getPrototypeOf(Derived),
1125
+ result;
1126
+
1127
+ if (hasNativeReflectConstruct) {
1128
+ var NewTarget = _getPrototypeOf(this).constructor;
1129
+
1130
+ result = Reflect.construct(Super, arguments, NewTarget);
1131
+ } else {
1132
+ result = Super.apply(this, arguments);
1133
+ }
1134
+
1135
+ return _possibleConstructorReturn(this, result);
1136
+ };
1137
+ }
1138
+
1053
1139
  function _superPropBase(object, property) {
1054
1140
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
1055
1141
  object = _getPrototypeOf(object);
@@ -1103,7 +1189,7 @@
1103
1189
  };
1104
1190
  };
1105
1191
 
1106
- $.extend($.fn.bootstrapTable.defaults, {
1192
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1107
1193
  mobileResponsive: false,
1108
1194
  minWidth: 562,
1109
1195
  minHeight: undefined,
@@ -1113,15 +1199,15 @@
1113
1199
  columnsHidden: []
1114
1200
  });
1115
1201
 
1116
- $.BootstrapTable =
1117
- /*#__PURE__*/
1118
- function (_$$BootstrapTable) {
1202
+ $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1119
1203
  _inherits(_class, _$$BootstrapTable);
1120
1204
 
1205
+ var _super = _createSuper(_class);
1206
+
1121
1207
  function _class() {
1122
1208
  _classCallCheck(this, _class);
1123
1209
 
1124
- return _possibleConstructorReturn(this, _getPrototypeOf(_class).apply(this, arguments));
1210
+ return _super.apply(this, arguments);
1125
1211
  }
1126
1212
 
1127
1213
  _createClass(_class, [{
@@ -1146,14 +1232,14 @@
1146
1232
  }
1147
1233
 
1148
1234
  var old = {
1149
- width: $(window).width(),
1150
- height: $(window).height()
1235
+ width: $__default['default'](window).width(),
1236
+ height: $__default['default'](window).height()
1151
1237
  };
1152
- $(window).on('resize orientationchange', debounce(function () {
1238
+ $__default['default'](window).on('resize orientationchange', debounce(function () {
1153
1239
  // reset view if height has only changed by at least the threshold.
1154
- var width = $(window).width();
1155
- var height = $(window).height();
1156
- var $activeElement = $(document.activeElement);
1240
+ var width = $__default['default'](window).width();
1241
+ var height = $__default['default'](window).height();
1242
+ var $activeElement = $__default['default'](document.activeElement);
1157
1243
 
1158
1244
  if ($activeElement.length && ['INPUT', 'SELECT', 'TEXTAREA'].includes($activeElement.prop('nodeName'))) {
1159
1245
  return;
@@ -1170,8 +1256,8 @@
1170
1256
  }, 200));
1171
1257
 
1172
1258
  if (this.options.checkOnInit) {
1173
- var width = $(window).width();
1174
- var height = $(window).height();
1259
+ var width = $__default['default'](window).width();
1260
+ var height = $__default['default'](window).height();
1175
1261
  this.changeView(width, height);
1176
1262
  old = {
1177
1263
  width: width,
@@ -1232,6 +1318,6 @@
1232
1318
  }]);
1233
1319
 
1234
1320
  return _class;
1235
- }($.BootstrapTable);
1321
+ }($__default['default'].BootstrapTable);
1236
1322
 
1237
1323
  })));