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;
@@ -675,7 +685,7 @@
675
685
  };
676
686
 
677
687
  // optional / simple context binding
678
- var bindContext = function (fn, that, length) {
688
+ var functionBindContext = function (fn, that, length) {
679
689
  aFunction$1(fn);
680
690
  if (that === undefined) return fn;
681
691
  switch (length) {
@@ -699,22 +709,23 @@
699
709
 
700
710
  var push = [].push;
701
711
 
702
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
712
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
703
713
  var createMethod$1 = function (TYPE) {
704
714
  var IS_MAP = TYPE == 1;
705
715
  var IS_FILTER = TYPE == 2;
706
716
  var IS_SOME = TYPE == 3;
707
717
  var IS_EVERY = TYPE == 4;
708
718
  var IS_FIND_INDEX = TYPE == 6;
719
+ var IS_FILTER_OUT = TYPE == 7;
709
720
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
710
721
  return function ($this, callbackfn, that, specificCreate) {
711
722
  var O = toObject($this);
712
723
  var self = indexedObject(O);
713
- var boundFunction = bindContext(callbackfn, that, 3);
724
+ var boundFunction = functionBindContext(callbackfn, that, 3);
714
725
  var length = toLength(self.length);
715
726
  var index = 0;
716
727
  var create = specificCreate || arraySpeciesCreate;
717
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
728
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
718
729
  var value, result;
719
730
  for (;length > index; index++) if (NO_HOLES || index in self) {
720
731
  value = self[index];
@@ -726,7 +737,10 @@
726
737
  case 5: return value; // find
727
738
  case 6: return index; // findIndex
728
739
  case 2: push.call(target, value); // filter
729
- } else if (IS_EVERY) return false; // every
740
+ } else switch (TYPE) {
741
+ case 4: return false; // every
742
+ case 7: push.call(target, value); // filterOut
743
+ }
730
744
  }
731
745
  }
732
746
  return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
@@ -754,7 +768,10 @@
754
768
  find: createMethod$1(5),
755
769
  // `Array.prototype.findIndex` method
756
770
  // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
757
- findIndex: createMethod$1(6)
771
+ findIndex: createMethod$1(6),
772
+ // `Array.prototype.filterOut` method
773
+ // https://github.com/tc39/proposal-array-filtering
774
+ filterOut: createMethod$1(7)
758
775
  };
759
776
 
760
777
  // `Object.keys` method
@@ -865,18 +882,45 @@
865
882
  ArrayPrototype[UNSCOPABLES][key] = true;
866
883
  };
867
884
 
885
+ var defineProperty = Object.defineProperty;
886
+ var cache = {};
887
+
888
+ var thrower = function (it) { throw it; };
889
+
890
+ var arrayMethodUsesToLength = function (METHOD_NAME, options) {
891
+ if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
892
+ if (!options) options = {};
893
+ var method = [][METHOD_NAME];
894
+ var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
895
+ var argument0 = has(options, 0) ? options[0] : thrower;
896
+ var argument1 = has(options, 1) ? options[1] : undefined;
897
+
898
+ return cache[METHOD_NAME] = !!method && !fails(function () {
899
+ if (ACCESSORS && !descriptors) return true;
900
+ var O = { length: -1 };
901
+
902
+ if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
903
+ else O[1] = 1;
904
+
905
+ method.call(O, argument0, argument1);
906
+ });
907
+ };
908
+
868
909
  var $find = arrayIteration.find;
869
910
 
870
911
 
912
+
871
913
  var FIND = 'find';
872
914
  var SKIPS_HOLES = true;
873
915
 
916
+ var USES_TO_LENGTH = arrayMethodUsesToLength(FIND);
917
+
874
918
  // Shouldn't skip holes
875
919
  if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
876
920
 
877
921
  // `Array.prototype.find` method
878
922
  // https://tc39.github.io/ecma262/#sec-array.prototype.find
879
- _export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
923
+ _export({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
880
924
  find: function find(callbackfn /* , that = undefined */) {
881
925
  return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
882
926
  }
@@ -885,9 +929,9 @@
885
929
  // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
886
930
  addToUnscopables(FIND);
887
931
 
888
- var sloppyArrayMethod = function (METHOD_NAME, argument) {
932
+ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
889
933
  var method = [][METHOD_NAME];
890
- return !method || !fails(function () {
934
+ return !!method && fails(function () {
891
935
  // eslint-disable-next-line no-useless-call,no-throw-literal
892
936
  method.call(null, argument || function () { throw 1; }, 1);
893
937
  });
@@ -896,14 +940,16 @@
896
940
  var $indexOf = arrayIncludes.indexOf;
897
941
 
898
942
 
943
+
899
944
  var nativeIndexOf = [].indexOf;
900
945
 
901
946
  var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
902
- var SLOPPY_METHOD = sloppyArrayMethod('indexOf');
947
+ var STRICT_METHOD = arrayMethodIsStrict('indexOf');
948
+ var USES_TO_LENGTH$1 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
903
949
 
904
950
  // `Array.prototype.indexOf` method
905
951
  // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
906
- _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, {
952
+ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH$1 }, {
907
953
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
908
954
  return NEGATIVE_ZERO
909
955
  // convert -0 to +0
@@ -918,19 +964,20 @@
918
964
 
919
965
  var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
920
966
  // FF49- issue
921
- var USES_TO_LENGTH = HAS_SPECIES_SUPPORT && !fails(function () {
922
- [].map.call({ length: -1, 0: 1 }, function (it) { throw it; });
923
- });
967
+ var USES_TO_LENGTH$2 = arrayMethodUsesToLength('map');
924
968
 
925
969
  // `Array.prototype.map` method
926
970
  // https://tc39.github.io/ecma262/#sec-array.prototype.map
927
971
  // with adding support of @@species
928
- _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
972
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH$2 }, {
929
973
  map: function map(callbackfn /* , thisArg */) {
930
974
  return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
931
975
  }
932
976
  });
933
977
 
978
+ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
979
+ var USES_TO_LENGTH$3 = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });
980
+
934
981
  var SPECIES$2 = wellKnownSymbol('species');
935
982
  var nativeSlice = [].slice;
936
983
  var max$1 = Math.max;
@@ -938,7 +985,7 @@
938
985
  // `Array.prototype.slice` method
939
986
  // https://tc39.github.io/ecma262/#sec-array.prototype.slice
940
987
  // fallback for not array-like ES3 strings and DOM objects
941
- _export({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('slice') }, {
988
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 || !USES_TO_LENGTH$3 }, {
942
989
  slice: function slice(start, end) {
943
990
  var O = toIndexedObject(this);
944
991
  var length = toLength(O.length);
@@ -978,9 +1025,9 @@
978
1025
  test.sort(null);
979
1026
  });
980
1027
  // Old WebKit
981
- var SLOPPY_METHOD$1 = sloppyArrayMethod('sort');
1028
+ var STRICT_METHOD$1 = arrayMethodIsStrict('sort');
982
1029
 
983
- var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || SLOPPY_METHOD$1;
1030
+ var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1;
984
1031
 
985
1032
  // `Array.prototype.sort` method
986
1033
  // https://tc39.github.io/ecma262/#sec-array.prototype.sort
@@ -992,6 +1039,9 @@
992
1039
  }
993
1040
  });
994
1041
 
1042
+ var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport('splice');
1043
+ var USES_TO_LENGTH$4 = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });
1044
+
995
1045
  var max$2 = Math.max;
996
1046
  var min$2 = Math.min;
997
1047
  var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
@@ -1000,7 +1050,7 @@
1000
1050
  // `Array.prototype.splice` method
1001
1051
  // https://tc39.github.io/ecma262/#sec-array.prototype.splice
1002
1052
  // with adding support of @@species
1003
- _export({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('splice') }, {
1053
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 || !USES_TO_LENGTH$4 }, {
1004
1054
  splice: function splice(start, deleteCount /* , ...items */) {
1005
1055
  var O = toObject(this);
1006
1056
  var len = toLength(O.length);
@@ -1050,16 +1100,16 @@
1050
1100
  });
1051
1101
 
1052
1102
  var nativeAssign = Object.assign;
1053
- var defineProperty = Object.defineProperty;
1103
+ var defineProperty$1 = Object.defineProperty;
1054
1104
 
1055
1105
  // `Object.assign` method
1056
1106
  // https://tc39.github.io/ecma262/#sec-object.assign
1057
1107
  var objectAssign = !nativeAssign || fails(function () {
1058
1108
  // should have correct order of operations (Edge bug)
1059
- if (descriptors && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {
1109
+ if (descriptors && nativeAssign({ b: 1 }, nativeAssign(defineProperty$1({}, 'a', {
1060
1110
  enumerable: true,
1061
1111
  get: function () {
1062
- defineProperty(this, 'b', {
1112
+ defineProperty$1(this, 'b', {
1063
1113
  value: 3,
1064
1114
  enumerable: false
1065
1115
  });
@@ -1174,21 +1224,21 @@
1174
1224
  var trim = stringTrim.trim;
1175
1225
 
1176
1226
 
1177
- var nativeParseFloat = global_1.parseFloat;
1178
- var FORCED$2 = 1 / nativeParseFloat(whitespaces + '-0') !== -Infinity;
1227
+ var $parseFloat = global_1.parseFloat;
1228
+ var FORCED$2 = 1 / $parseFloat(whitespaces + '-0') !== -Infinity;
1179
1229
 
1180
1230
  // `parseFloat` method
1181
1231
  // https://tc39.github.io/ecma262/#sec-parsefloat-string
1182
- var _parseFloat = FORCED$2 ? function parseFloat(string) {
1232
+ var numberParseFloat = FORCED$2 ? function parseFloat(string) {
1183
1233
  var trimmedString = trim(String(string));
1184
- var result = nativeParseFloat(trimmedString);
1234
+ var result = $parseFloat(trimmedString);
1185
1235
  return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;
1186
- } : nativeParseFloat;
1236
+ } : $parseFloat;
1187
1237
 
1188
1238
  // `parseFloat` method
1189
1239
  // https://tc39.github.io/ecma262/#sec-parsefloat-string
1190
- _export({ global: true, forced: parseFloat != _parseFloat }, {
1191
- parseFloat: _parseFloat
1240
+ _export({ global: true, forced: parseFloat != numberParseFloat }, {
1241
+ parseFloat: numberParseFloat
1192
1242
  });
1193
1243
 
1194
1244
  // `RegExp.prototype.flags` getter implementation
@@ -1226,6 +1276,8 @@
1226
1276
  }
1227
1277
 
1228
1278
  function _typeof(obj) {
1279
+ "@babel/helpers - typeof";
1280
+
1229
1281
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1230
1282
  _typeof = function (obj) {
1231
1283
  return typeof obj;
@@ -1247,8 +1299,8 @@
1247
1299
  */
1248
1300
 
1249
1301
  var isSingleSort = false;
1250
- var Utils = $.fn.bootstrapTable.utils;
1251
- $.extend($.fn.bootstrapTable.defaults.icons, {
1302
+ var Utils = $__default['default'].fn.bootstrapTable.utils;
1303
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults.icons, {
1252
1304
  plus: {
1253
1305
  bootstrap3: 'glyphicon-plus',
1254
1306
  bootstrap4: 'fa-plus',
@@ -1258,7 +1310,7 @@
1258
1310
  foundation: 'fa-plus',
1259
1311
  bulma: 'fa-plus',
1260
1312
  'bootstrap-table': 'icon-plus'
1261
- }[$.fn.bootstrapTable.theme] || 'fa-clock',
1313
+ }[$__default['default'].fn.bootstrapTable.theme] || 'fa-clock',
1262
1314
  minus: {
1263
1315
  bootstrap3: 'glyphicon-minus',
1264
1316
  bootstrap4: 'fa-minus',
@@ -1268,7 +1320,7 @@
1268
1320
  foundation: 'fa-minus',
1269
1321
  bulma: 'fa-minus',
1270
1322
  'bootstrap-table': 'icon-minus'
1271
- }[$.fn.bootstrapTable.theme] || 'fa-clock',
1323
+ }[$__default['default'].fn.bootstrapTable.theme] || 'fa-clock',
1272
1324
  sort: {
1273
1325
  bootstrap3: 'glyphicon-sort',
1274
1326
  bootstrap4: 'fa-sort',
@@ -1278,7 +1330,7 @@
1278
1330
  foundation: 'fa-sort',
1279
1331
  bulma: 'fa-sort',
1280
1332
  'bootstrap-table': 'icon-sort-amount-asc'
1281
- }[$.fn.bootstrapTable.theme] || 'fa-clock'
1333
+ }[$__default['default'].fn.bootstrapTable.theme] || 'fa-clock'
1282
1334
  });
1283
1335
  var theme = {
1284
1336
  bootstrap3: {
@@ -1297,8 +1349,8 @@
1297
1349
  },
1298
1350
  bootstrap5: {
1299
1351
  html: {
1300
- multipleSortModal: "\n <div class=\"modal fade\" id=\"%s\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"%sLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"%sLabel\">%s</h5>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"bootstrap-table\">\n <div class=\"fixed-table-toolbar\">\n <div class=\"bars\">\n <div id=\"toolbar\" class=\"pb-3\">\n <button id=\"add\" type=\"button\" class=\"btn btn-secondary\">%s %s</button>\n <button id=\"delete\" type=\"button\" class=\"btn btn-secondary\" disabled>%s %s</button>\n </div>\n </div>\n </div>\n <div class=\"fixed-table-container\">\n <table id=\"multi-sort\" class=\"table\">\n <thead>\n <tr>\n <th></th>\n <th><div class=\"th-inner\">%s</div></th>\n <th><div class=\"th-inner\">%s</div></th>\n </tr>\n </thead>\n <tbody></tbody>\n </table>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">%s</button>\n <button type=\"button\" class=\"btn btn-primary multi-sort-order-button\">%s</button>\n </div>\n </div>\n </div>\n </div>\n ",
1301
- multipleSortButton: '<button class="multi-sort btn btn-secondary" type="button" data-toggle="modal" data-target="#%s" title="%s">%s</button>',
1352
+ multipleSortModal: "\n <div class=\"modal fade\" id=\"%s\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"%sLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"%sLabel\">%s</h5>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body\">\n <div class=\"bootstrap-table\">\n <div class=\"fixed-table-toolbar\">\n <div class=\"bars\">\n <div id=\"toolbar\" class=\"pb-3\">\n <button id=\"add\" type=\"button\" class=\"btn btn-secondary\">%s %s</button>\n <button id=\"delete\" type=\"button\" class=\"btn btn-secondary\" disabled>%s %s</button>\n </div>\n </div>\n </div>\n <div class=\"fixed-table-container\">\n <table id=\"multi-sort\" class=\"table\">\n <thead>\n <tr>\n <th></th>\n <th><div class=\"th-inner\">%s</div></th>\n <th><div class=\"th-inner\">%s</div></th>\n </tr>\n </thead>\n <tbody></tbody>\n </table>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">%s</button>\n <button type=\"button\" class=\"btn btn-primary multi-sort-order-button\">%s</button>\n </div>\n </div>\n </div>\n </div>\n ",
1353
+ multipleSortButton: '<button class="multi-sort btn btn-secondary" type="button" data-bs-toggle="modal" data-target="#%s" title="%s">%s</button>',
1302
1354
  multipleSortSelect: '<select class="%s %s form-control">'
1303
1355
  }
1304
1356
  },
@@ -1337,7 +1389,7 @@
1337
1389
  multipleSortSelect: '<select class="%s %s browser-default">'
1338
1390
  }
1339
1391
  }
1340
- }[$.fn.bootstrapTable.theme];
1392
+ }[$__default['default'].fn.bootstrapTable.theme];
1341
1393
 
1342
1394
  var showSortModal = function showSortModal(that) {
1343
1395
  var _selector = that.sortModalSelector;
@@ -1346,10 +1398,10 @@
1346
1398
 
1347
1399
  var o = that.options;
1348
1400
 
1349
- if (!$(_id).hasClass('modal')) {
1401
+ if (!$__default['default'](_id).hasClass('modal')) {
1350
1402
  var sModal = Utils.sprintf(theme.html.multipleSortModal, _selector, _selector, _selector, that.options.formatMultipleSort(), Utils.sprintf(that.constants.html.icon, o.iconsPrefix, o.icons.plus), that.options.formatAddLevel(), Utils.sprintf(that.constants.html.icon, o.iconsPrefix, o.icons.minus), that.options.formatDeleteLevel(), that.options.formatColumn(), that.options.formatOrder(), that.options.formatCancel(), that.options.formatSort());
1351
- $('body').append($(sModal));
1352
- that.$sortModal = $(_id);
1403
+ $__default['default']('body').append($__default['default'](sModal));
1404
+ that.$sortModal = $__default['default'](_id);
1353
1405
  var $rows = that.$sortModal.find('tbody > tr');
1354
1406
  that.$sortModal.off('click', '#add').on('click', '#add', function () {
1355
1407
  var total = that.$sortModal.find('.multi-sort-name:first option').length;
@@ -1376,8 +1428,8 @@
1376
1428
  var $alert = that.$sortModal.find('div.alert');
1377
1429
  var fields = [];
1378
1430
  var results = [];
1379
- var sortPriority = $.map($rows, function (row) {
1380
- var $row = $(row);
1431
+ var sortPriority = $__default['default'].map($rows, function (row) {
1432
+ var $row = $__default['default'](row);
1381
1433
  var name = $row.find('.multi-sort-name').val();
1382
1434
  var order = $row.find('.multi-sort-order').val();
1383
1435
  fields.push(name);
@@ -1397,14 +1449,14 @@
1397
1449
  if (results.length > 0) {
1398
1450
  if ($alert.length === 0) {
1399
1451
  $alert = "<div class=\"alert alert-danger\" role=\"alert\"><strong>".concat(that.options.formatDuplicateAlertTitle(), "</strong> ").concat(that.options.formatDuplicateAlertDescription(), "</div>");
1400
- $($alert).insertBefore(that.$sortModal.find('.bars'));
1452
+ $__default['default']($alert).insertBefore(that.$sortModal.find('.bars'));
1401
1453
  }
1402
1454
  } else {
1403
1455
  if ($alert.length === 1) {
1404
- $($alert).remove();
1456
+ $__default['default']($alert).remove();
1405
1457
  }
1406
1458
 
1407
- if ($.inArray($.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
1459
+ if ($__default['default'].inArray($__default['default'].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
1408
1460
  that.$sortModal.modal('hide');
1409
1461
  }
1410
1462
 
@@ -1435,9 +1487,9 @@
1435
1487
  }
1436
1488
  };
1437
1489
 
1438
- $.fn.bootstrapTable.methods.push('multipleSort');
1439
- $.fn.bootstrapTable.methods.push('multiSort');
1440
- $.extend($.fn.bootstrapTable.defaults, {
1490
+ $__default['default'].fn.bootstrapTable.methods.push('multipleSort');
1491
+ $__default['default'].fn.bootstrapTable.methods.push('multiSort');
1492
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1441
1493
  showMultiSort: false,
1442
1494
  showMultiSortButton: true,
1443
1495
  multiSortStrictSort: false,
@@ -1446,10 +1498,10 @@
1446
1498
  return false;
1447
1499
  }
1448
1500
  });
1449
- $.extend($.fn.bootstrapTable.Constructor.EVENTS, {
1501
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
1450
1502
  'multiple-sort.bs.table': 'onMultipleSort'
1451
1503
  });
1452
- $.extend($.fn.bootstrapTable.locales, {
1504
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.locales, {
1453
1505
  formatMultipleSort: function formatMultipleSort() {
1454
1506
  return 'Multiple Sort';
1455
1507
  },
@@ -1490,8 +1542,8 @@
1490
1542
  };
1491
1543
  }
1492
1544
  });
1493
- $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales);
1494
- var BootstrapTable = $.fn.bootstrapTable.Constructor;
1545
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, $__default['default'].fn.bootstrapTable.locales);
1546
+ var BootstrapTable = $__default['default'].fn.bootstrapTable.Constructor;
1495
1547
  var _initToolbar = BootstrapTable.prototype.initToolbar;
1496
1548
  var _destroy = BootstrapTable.prototype.destroy;
1497
1549
 
@@ -1504,7 +1556,7 @@
1504
1556
  var sortModalId = "#".concat(sortModalSelector);
1505
1557
  var $multiSortBtn = this.$toolbar.find('div.multi-sort');
1506
1558
  var o = this.options;
1507
- this.$sortModal = $(sortModalId);
1559
+ this.$sortModal = $__default['default'](sortModalId);
1508
1560
  this.sortModalSelector = sortModalSelector;
1509
1561
 
1510
1562
  if (that.options.sortPriority !== null) {
@@ -1536,34 +1588,34 @@
1536
1588
 
1537
1589
  if (this.options.showMultiSort) {
1538
1590
  if (!$multiSortBtn.length && this.options.showMultiSortButton) {
1539
- if ($.fn.bootstrapTable.theme === 'semantic') {
1591
+ if ($__default['default'].fn.bootstrapTable.theme === 'semantic') {
1540
1592
  this.$toolbar.find('.multi-sort').on('click', function () {
1541
- $(sortModalId).modal('show');
1593
+ $__default['default'](sortModalId).modal('show');
1542
1594
  });
1543
- } else if ($.fn.bootstrapTable.theme === 'materialize') {
1595
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'materialize') {
1544
1596
  this.$toolbar.find('.multi-sort').on('click', function () {
1545
- $(sortModalId).modal();
1597
+ $__default['default'](sortModalId).modal();
1546
1598
  });
1547
- } else if ($.fn.bootstrapTable.theme === 'bootstrap-table') {
1599
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'bootstrap-table') {
1548
1600
  this.$toolbar.find('.multi-sort').on('click', function () {
1549
- $(sortModalId).addClass('show');
1601
+ $__default['default'](sortModalId).addClass('show');
1550
1602
  });
1551
- } else if ($.fn.bootstrapTable.theme === 'foundation') {
1603
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'foundation') {
1552
1604
  this.$toolbar.find('.multi-sort').on('click', function () {
1553
1605
  if (!_this.foundationModal) {
1554
1606
  // eslint-disable-next-line no-undef
1555
- _this.foundationModal = new Foundation.Reveal($(sortModalId));
1607
+ _this.foundationModal = new Foundation.Reveal($__default['default'](sortModalId));
1556
1608
  }
1557
1609
 
1558
1610
  _this.foundationModal.open();
1559
1611
  });
1560
- } else if ($.fn.bootstrapTable.theme === 'bulma') {
1612
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
1561
1613
  this.$toolbar.find('.multi-sort').on('click', function () {
1562
- $('html').toggleClass('is-clipped');
1563
- $(sortModalId).toggleClass('is-active');
1564
- $('button[data-close]').one('click', function () {
1565
- $('html').toggleClass('is-clipped');
1566
- $(sortModalId).toggleClass('is-active');
1614
+ $__default['default']('html').toggleClass('is-clipped');
1615
+ $__default['default'](sortModalId).toggleClass('is-active');
1616
+ $__default['default']('button[data-close]').one('click', function () {
1617
+ $__default['default']('html').toggleClass('is-clipped');
1618
+ $__default['default'](sortModalId).toggleClass('is-active');
1567
1619
  });
1568
1620
  });
1569
1621
  }
@@ -1609,6 +1661,7 @@
1609
1661
  _destroy.apply(this, Array.prototype.slice.apply(args));
1610
1662
 
1611
1663
  if (this.options.showMultiSort) {
1664
+ this.enableCustomSort = false;
1612
1665
  this.$sortModal.remove();
1613
1666
  }
1614
1667
  };
@@ -1644,8 +1697,8 @@
1644
1697
  var order = that.options.sortPriority[i].sortOrder === 'desc' ? -1 : 1;
1645
1698
  var aa = Utils.getItemField(a, fieldName);
1646
1699
  var bb = Utils.getItemField(b, fieldName);
1647
- var value1 = $.fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [aa, bb]);
1648
- var value2 = $.fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [bb, aa]);
1700
+ var value1 = $__default['default'].fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [aa, bb]);
1701
+ var value2 = $__default['default'].fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [bb, aa]);
1649
1702
 
1650
1703
  if (value1 !== undefined && value2 !== undefined) {
1651
1704
  arr1.push(order * value1);
@@ -1656,7 +1709,7 @@
1656
1709
  if (aa === undefined || aa === null) aa = '';
1657
1710
  if (bb === undefined || bb === null) bb = '';
1658
1711
 
1659
- if ($.isNumeric(aa) && $.isNumeric(bb)) {
1712
+ if ($__default['default'].isNumeric(aa) && $__default['default'].isNumeric(bb)) {
1660
1713
  aa = parseFloat(aa);
1661
1714
  bb = parseFloat(bb);
1662
1715
  } else {
@@ -1676,6 +1729,7 @@
1676
1729
  return cmp(arr1, arr2);
1677
1730
  };
1678
1731
 
1732
+ this.enableCustomSort = true;
1679
1733
  this.data.sort(function (a, b) {
1680
1734
  return arrayCmp(a, b);
1681
1735
  });
@@ -1686,17 +1740,17 @@
1686
1740
 
1687
1741
  BootstrapTable.prototype.addLevel = function (index, sortPriority) {
1688
1742
  var text = index === 0 ? this.options.formatSortBy() : this.options.formatThenBy();
1689
- this.$sortModal.find('tbody').append($('<tr>').append($('<td>').text(text)).append($('<td>').append($(Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-name')))).append($('<td>').append($(Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-order')))));
1743
+ this.$sortModal.find('tbody').append($__default['default']('<tr>').append($__default['default']('<td>').text(text)).append($__default['default']('<td>').append($__default['default'](Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-name')))).append($__default['default']('<td>').append($__default['default'](Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-order')))));
1690
1744
  var $multiSortName = this.$sortModal.find('.multi-sort-name').last();
1691
1745
  var $multiSortOrder = this.$sortModal.find('.multi-sort-order').last();
1692
- $.each(this.columns, function (i, column) {
1746
+ $__default['default'].each(this.columns, function (i, column) {
1693
1747
  if (column.sortable === false || column.visible === false) {
1694
1748
  return true;
1695
1749
  }
1696
1750
 
1697
1751
  $multiSortName.append("<option value=\"".concat(column.field, "\">").concat(column.title, "</option>"));
1698
1752
  });
1699
- $.each(this.options.formatSortOrders(), function (value, order) {
1753
+ $__default['default'].each(this.options.formatSortOrders(), function (value, order) {
1700
1754
  $multiSortOrder.append("<option value=\"".concat(value, "\">").concat(order, "</option>"));
1701
1755
  });
1702
1756
 
@@ -1712,8 +1766,8 @@
1712
1766
 
1713
1767
  for (var i = 0; i < headers.length; i++) {
1714
1768
  for (var c = 0; c < that.options.sortPriority.length; c++) {
1715
- if ($(headers[i]).data('field') === that.options.sortPriority[c].sortName) {
1716
- $(headers[i]).find('.sortable').removeClass('desc asc').addClass(that.options.sortPriority[c].sortOrder);
1769
+ if ($__default['default'](headers[i]).data('field') === that.options.sortPriority[c].sortName) {
1770
+ $__default['default'](headers[i]).find('.sortable').removeClass('desc asc').addClass(that.options.sortPriority[c].sortOrder);
1717
1771
  }
1718
1772
  }
1719
1773
  }
@@ -1751,7 +1805,7 @@
1751
1805
 
1752
1806
  this.options.queryParams = function (params) {
1753
1807
  params.multiSort = _this2.options.sortPriority;
1754
- return $.fn.bootstrapTable.utils.calculateObjectValue(_this2.options, queryParams, [params]);
1808
+ return $__default['default'].fn.bootstrapTable.utils.calculateObjectValue(_this2.options, queryParams, [params]);
1755
1809
  };
1756
1810
 
1757
1811
  isSingleSort = false;