bootstrap-table-rails 1.18.3 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/bootstrap-table-rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +43 -30
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +147 -26
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +151 -28
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +2 -1
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +367 -237
  9. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +32 -19
  10. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +37 -19
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +141 -72
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +44 -21
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +37 -19
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +25 -13
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +32 -19
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +86 -75
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +81 -53
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +49 -36
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +30 -13
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +40 -20
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +31 -19
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +28 -13
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +48 -26
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +5 -2
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +27 -13
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +28 -14
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +39 -20
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +27 -13
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +47 -15
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +26 -13
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +32 -15
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +43 -26
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +92 -28
  34. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +25 -13
  35. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +25 -13
  36. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +25 -13
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +25 -13
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +25 -13
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +25 -13
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +25 -13
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +25 -13
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +25 -13
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +25 -13
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +25 -13
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +25 -13
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +25 -13
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +43 -30
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +25 -13
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +25 -13
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +25 -13
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +25 -13
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +25 -13
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +25 -13
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +25 -13
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +25 -13
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +25 -13
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +25 -13
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +25 -13
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +25 -13
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +25 -13
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +25 -13
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +25 -13
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +25 -13
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +25 -13
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +25 -13
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +25 -13
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +25 -13
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +25 -13
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +25 -13
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +25 -13
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +25 -13
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +25 -13
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +25 -13
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +25 -13
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +25 -13
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +25 -13
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +25 -13
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +25 -13
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +25 -13
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +25 -13
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +25 -13
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +25 -13
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +25 -13
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +25 -13
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +25 -13
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +25 -13
  87. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +1 -0
  88. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +27 -13
  89. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +1 -0
  90. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +27 -13
  91. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +1 -0
  92. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +27 -13
  93. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +1 -0
  94. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +27 -13
  95. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +1 -0
  96. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +27 -13
  97. metadata +3 -3
@@ -264,9 +264,10 @@
264
264
 
265
265
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
266
266
  var global_1 =
267
- /* global globalThis -- safe */
267
+ // eslint-disable-next-line es/no-global-this -- safe
268
268
  check(typeof globalThis == 'object' && globalThis) ||
269
269
  check(typeof window == 'object' && window) ||
270
+ // eslint-disable-next-line no-restricted-globals -- safe
270
271
  check(typeof self == 'object' && self) ||
271
272
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
272
273
  // eslint-disable-next-line no-new-func -- fallback
@@ -282,21 +283,23 @@
282
283
 
283
284
  // Detect IE8's incomplete defineProperty implementation
284
285
  var descriptors = !fails(function () {
286
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
285
287
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
286
288
  });
287
289
 
288
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
290
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
291
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
289
292
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
290
293
 
291
294
  // Nashorn ~ JDK8 bug
292
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
295
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
293
296
 
294
297
  // `Object.prototype.propertyIsEnumerable` method implementation
295
298
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
296
299
  var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
297
300
  var descriptor = getOwnPropertyDescriptor$1(this, V);
298
301
  return !!descriptor && descriptor.enumerable;
299
- } : nativePropertyIsEnumerable;
302
+ } : $propertyIsEnumerable;
300
303
 
301
304
  var objectPropertyIsEnumerable = {
302
305
  f: f$4
@@ -376,20 +379,22 @@
376
379
 
377
380
  // Thank's IE8 for his funny defineProperty
378
381
  var ie8DomDefine = !descriptors && !fails(function () {
382
+ // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
379
383
  return Object.defineProperty(documentCreateElement('div'), 'a', {
380
384
  get: function () { return 7; }
381
385
  }).a != 7;
382
386
  });
383
387
 
384
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
388
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
389
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
385
390
 
386
391
  // `Object.getOwnPropertyDescriptor` method
387
392
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
388
- var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
393
+ var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
389
394
  O = toIndexedObject(O);
390
395
  P = toPrimitive(P, true);
391
396
  if (ie8DomDefine) try {
392
- return nativeGetOwnPropertyDescriptor(O, P);
397
+ return $getOwnPropertyDescriptor(O, P);
393
398
  } catch (error) { /* empty */ }
394
399
  if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
395
400
  };
@@ -404,16 +409,17 @@
404
409
  } return it;
405
410
  };
406
411
 
407
- var nativeDefineProperty = Object.defineProperty;
412
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
413
+ var $defineProperty = Object.defineProperty;
408
414
 
409
415
  // `Object.defineProperty` method
410
416
  // https://tc39.es/ecma262/#sec-object.defineproperty
411
- var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
417
+ var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
412
418
  anObject(O);
413
419
  P = toPrimitive(P, true);
414
420
  anObject(Attributes);
415
421
  if (ie8DomDefine) try {
416
- return nativeDefineProperty(O, P, Attributes);
422
+ return $defineProperty(O, P, Attributes);
417
423
  } catch (error) { /* empty */ }
418
424
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
419
425
  if ('value' in Attributes) O[P] = Attributes.value;
@@ -463,7 +469,7 @@
463
469
  (module.exports = function (key, value) {
464
470
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
465
471
  })('versions', []).push({
466
- version: '3.9.1',
472
+ version: '3.10.1',
467
473
  mode: 'global',
468
474
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
469
475
  });
@@ -675,6 +681,7 @@
675
681
 
676
682
  // `Object.getOwnPropertyNames` method
677
683
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
684
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
678
685
  var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
679
686
  return objectKeysInternal(O, hiddenKeys);
680
687
  };
@@ -683,6 +690,7 @@
683
690
  f: f$1
684
691
  };
685
692
 
693
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
686
694
  var f = Object.getOwnPropertySymbols;
687
695
 
688
696
  var objectGetOwnPropertySymbols = {
@@ -820,10 +828,7 @@
820
828
  };
821
829
 
822
830
  var nativeExec = RegExp.prototype.exec;
823
- // This always refers to the native implementation, because the
824
- // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
825
- // which loads this file before patching the method.
826
- var nativeReplace = String.prototype.replace;
831
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
827
832
 
828
833
  var patchedExec = nativeExec;
829
834
 
@@ -932,16 +937,19 @@
932
937
 
933
938
  var engineV8Version = version && +version;
934
939
 
940
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
935
941
  var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
936
- /* global Symbol -- required for testing */
942
+ // eslint-disable-next-line es/no-symbol -- required for testing
937
943
  return !Symbol.sham &&
938
944
  // Chrome 38 Symbol has incorrect toString conversion
939
945
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
940
946
  (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
941
947
  });
942
948
 
949
+ /* eslint-disable es/no-symbol -- required for testing */
950
+
951
+
943
952
  var useSymbolAsUid = nativeSymbol
944
- /* global Symbol -- safe */
945
953
  && !Symbol.sham
946
954
  && typeof Symbol.iterator == 'symbol';
947
955
 
@@ -966,7 +974,6 @@
966
974
 
967
975
 
968
976
 
969
-
970
977
  var SPECIES$2 = wellKnownSymbol('species');
971
978
 
972
979
  var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
@@ -985,6 +992,7 @@
985
992
  // IE <= 11 replaces $0 with the whole match, as if it was $&
986
993
  // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
987
994
  var REPLACE_KEEPS_$0 = (function () {
995
+ // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
988
996
  return 'a'.replace(/./, '$0') === '$0';
989
997
  })();
990
998
 
@@ -1054,7 +1062,7 @@
1054
1062
  ) {
1055
1063
  var nativeRegExpMethod = /./[SYMBOL];
1056
1064
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1057
- if (regexp.exec === regexpExec) {
1065
+ if (regexp.exec === RegExp.prototype.exec) {
1058
1066
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1059
1067
  // The native String method already delegates to @@method (this
1060
1068
  // polyfilled function), leasing to infinite recursion.
@@ -1279,6 +1287,8 @@
1279
1287
  });
1280
1288
  };
1281
1289
 
1290
+ /* eslint-disable es/no-array-prototype-indexof -- required for testing */
1291
+
1282
1292
  var $indexOf = arrayIncludes.indexOf;
1283
1293
 
1284
1294
 
@@ -1300,6 +1310,7 @@
1300
1310
 
1301
1311
  // `IsArray` abstract operation
1302
1312
  // https://tc39.es/ecma262/#sec-isarray
1313
+ // eslint-disable-next-line es/no-array-isarray -- safe
1303
1314
  var isArray = Array.isArray || function isArray(arg) {
1304
1315
  return classofRaw(arg) == 'Array';
1305
1316
  };
@@ -1503,12 +1514,14 @@
1503
1514
 
1504
1515
  // `Object.keys` method
1505
1516
  // https://tc39.es/ecma262/#sec-object.keys
1517
+ // eslint-disable-next-line es/no-object-keys -- safe
1506
1518
  var objectKeys = Object.keys || function keys(O) {
1507
1519
  return objectKeysInternal(O, enumBugKeys);
1508
1520
  };
1509
1521
 
1510
1522
  // `Object.defineProperties` method
1511
1523
  // https://tc39.es/ecma262/#sec-object.defineproperties
1524
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1512
1525
  var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1513
1526
  anObject(O);
1514
1527
  var keys = objectKeys(Properties);
@@ -240,9 +240,10 @@
240
240
 
241
241
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
242
242
  var global_1 =
243
- /* global globalThis -- safe */
243
+ // eslint-disable-next-line es/no-global-this -- safe
244
244
  check(typeof globalThis == 'object' && globalThis) ||
245
245
  check(typeof window == 'object' && window) ||
246
+ // eslint-disable-next-line no-restricted-globals -- safe
246
247
  check(typeof self == 'object' && self) ||
247
248
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
248
249
  // eslint-disable-next-line no-new-func -- fallback
@@ -258,21 +259,23 @@
258
259
 
259
260
  // Detect IE8's incomplete defineProperty implementation
260
261
  var descriptors = !fails(function () {
262
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
261
263
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
262
264
  });
263
265
 
264
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
266
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
267
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
265
268
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
266
269
 
267
270
  // Nashorn ~ JDK8 bug
268
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
271
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
269
272
 
270
273
  // `Object.prototype.propertyIsEnumerable` method implementation
271
274
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
272
275
  var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
273
276
  var descriptor = getOwnPropertyDescriptor$1(this, V);
274
277
  return !!descriptor && descriptor.enumerable;
275
- } : nativePropertyIsEnumerable;
278
+ } : $propertyIsEnumerable;
276
279
 
277
280
  var objectPropertyIsEnumerable = {
278
281
  f: f$4
@@ -352,20 +355,22 @@
352
355
 
353
356
  // Thank's IE8 for his funny defineProperty
354
357
  var ie8DomDefine = !descriptors && !fails(function () {
358
+ // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
355
359
  return Object.defineProperty(documentCreateElement('div'), 'a', {
356
360
  get: function () { return 7; }
357
361
  }).a != 7;
358
362
  });
359
363
 
360
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
364
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
365
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
361
366
 
362
367
  // `Object.getOwnPropertyDescriptor` method
363
368
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
364
- var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
369
+ var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
365
370
  O = toIndexedObject(O);
366
371
  P = toPrimitive(P, true);
367
372
  if (ie8DomDefine) try {
368
- return nativeGetOwnPropertyDescriptor(O, P);
373
+ return $getOwnPropertyDescriptor(O, P);
369
374
  } catch (error) { /* empty */ }
370
375
  if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
371
376
  };
@@ -380,16 +385,17 @@
380
385
  } return it;
381
386
  };
382
387
 
383
- var nativeDefineProperty = Object.defineProperty;
388
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
389
+ var $defineProperty = Object.defineProperty;
384
390
 
385
391
  // `Object.defineProperty` method
386
392
  // https://tc39.es/ecma262/#sec-object.defineproperty
387
- var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
393
+ var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
388
394
  anObject(O);
389
395
  P = toPrimitive(P, true);
390
396
  anObject(Attributes);
391
397
  if (ie8DomDefine) try {
392
- return nativeDefineProperty(O, P, Attributes);
398
+ return $defineProperty(O, P, Attributes);
393
399
  } catch (error) { /* empty */ }
394
400
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
395
401
  if ('value' in Attributes) O[P] = Attributes.value;
@@ -439,7 +445,7 @@
439
445
  (module.exports = function (key, value) {
440
446
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
441
447
  })('versions', []).push({
442
- version: '3.9.1',
448
+ version: '3.10.1',
443
449
  mode: 'global',
444
450
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
445
451
  });
@@ -651,6 +657,7 @@
651
657
 
652
658
  // `Object.getOwnPropertyNames` method
653
659
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
660
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
654
661
  var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
655
662
  return objectKeysInternal(O, hiddenKeys);
656
663
  };
@@ -659,6 +666,7 @@
659
666
  f: f$1
660
667
  };
661
668
 
669
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
662
670
  var f = Object.getOwnPropertySymbols;
663
671
 
664
672
  var objectGetOwnPropertySymbols = {
@@ -793,6 +801,7 @@
793
801
 
794
802
  // `IsArray` abstract operation
795
803
  // https://tc39.es/ecma262/#sec-isarray
804
+ // eslint-disable-next-line es/no-array-isarray -- safe
796
805
  var isArray = Array.isArray || function isArray(arg) {
797
806
  return classofRaw(arg) == 'Array';
798
807
  };
@@ -819,16 +828,19 @@
819
828
 
820
829
  var engineV8Version = version && +version;
821
830
 
831
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
822
832
  var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
823
- /* global Symbol -- required for testing */
833
+ // eslint-disable-next-line es/no-symbol -- required for testing
824
834
  return !Symbol.sham &&
825
835
  // Chrome 38 Symbol has incorrect toString conversion
826
836
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
827
837
  (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
828
838
  });
829
839
 
840
+ /* eslint-disable es/no-symbol -- required for testing */
841
+
842
+
830
843
  var useSymbolAsUid = nativeSymbol
831
- /* global Symbol -- safe */
832
844
  && !Symbol.sham
833
845
  && typeof Symbol.iterator == 'symbol';
834
846
 
@@ -932,12 +944,14 @@
932
944
 
933
945
  // `Object.keys` method
934
946
  // https://tc39.es/ecma262/#sec-object.keys
947
+ // eslint-disable-next-line es/no-object-keys -- safe
935
948
  var objectKeys = Object.keys || function keys(O) {
936
949
  return objectKeysInternal(O, enumBugKeys);
937
950
  };
938
951
 
939
952
  // `Object.defineProperties` method
940
953
  // https://tc39.es/ecma262/#sec-object.defineproperties
954
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
941
955
  var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
942
956
  anObject(O);
943
957
  var keys = objectKeys(Properties);
@@ -1078,7 +1092,7 @@
1078
1092
  return RegExp(s, f);
1079
1093
  }
1080
1094
 
1081
- var UNSUPPORTED_Y$1 = fails(function () {
1095
+ var UNSUPPORTED_Y$2 = fails(function () {
1082
1096
  // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1083
1097
  var re = RE('a', 'y');
1084
1098
  re.lastIndex = 2;
@@ -1093,15 +1107,12 @@
1093
1107
  });
1094
1108
 
1095
1109
  var regexpStickyHelpers = {
1096
- UNSUPPORTED_Y: UNSUPPORTED_Y$1,
1110
+ UNSUPPORTED_Y: UNSUPPORTED_Y$2,
1097
1111
  BROKEN_CARET: BROKEN_CARET
1098
1112
  };
1099
1113
 
1100
1114
  var nativeExec = RegExp.prototype.exec;
1101
- // This always refers to the native implementation, because the
1102
- // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
1103
- // which loads this file before patching the method.
1104
- var nativeReplace = String.prototype.replace;
1115
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
1105
1116
 
1106
1117
  var patchedExec = nativeExec;
1107
1118
 
@@ -1113,19 +1124,19 @@
1113
1124
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1114
1125
  })();
1115
1126
 
1116
- var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
1127
+ var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
1117
1128
 
1118
1129
  // nonparticipating capturing group, copied from es5-shim's String#split patch.
1119
1130
  // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
1120
1131
  var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1121
1132
 
1122
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
1133
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1;
1123
1134
 
1124
1135
  if (PATCH) {
1125
1136
  patchedExec = function exec(str) {
1126
1137
  var re = this;
1127
1138
  var lastIndex, reCopy, match, i;
1128
- var sticky = UNSUPPORTED_Y && re.sticky;
1139
+ var sticky = UNSUPPORTED_Y$1 && re.sticky;
1129
1140
  var flags = regexpFlags.call(re);
1130
1141
  var source = re.source;
1131
1142
  var charsAdded = 0;
@@ -1195,7 +1206,6 @@
1195
1206
 
1196
1207
 
1197
1208
 
1198
-
1199
1209
  var SPECIES$3 = wellKnownSymbol('species');
1200
1210
 
1201
1211
  var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
@@ -1214,6 +1224,7 @@
1214
1224
  // IE <= 11 replaces $0 with the whole match, as if it was $&
1215
1225
  // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
1216
1226
  var REPLACE_KEEPS_$0 = (function () {
1227
+ // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
1217
1228
  return 'a'.replace(/./, '$0') === '$0';
1218
1229
  })();
1219
1230
 
@@ -1283,7 +1294,7 @@
1283
1294
  ) {
1284
1295
  var nativeRegExpMethod = /./[SYMBOL];
1285
1296
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1286
- if (regexp.exec === regexpExec) {
1297
+ if (regexp.exec === RegExp.prototype.exec) {
1287
1298
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1288
1299
  // The native String method already delegates to @@method (this
1289
1300
  // polyfilled function), leasing to infinite recursion.
@@ -1385,13 +1396,11 @@
1385
1396
  return regexpExec.call(R, S);
1386
1397
  };
1387
1398
 
1399
+ var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y;
1388
1400
  var arrayPush = [].push;
1389
1401
  var min$1 = Math.min;
1390
1402
  var MAX_UINT32 = 0xFFFFFFFF;
1391
1403
 
1392
- // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
1393
- var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
1394
-
1395
1404
  // @@split logic
1396
1405
  fixRegexpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
1397
1406
  var internalSplit;
@@ -1474,11 +1483,11 @@
1474
1483
  var flags = (rx.ignoreCase ? 'i' : '') +
1475
1484
  (rx.multiline ? 'm' : '') +
1476
1485
  (rx.unicode ? 'u' : '') +
1477
- (SUPPORTS_Y ? 'y' : 'g');
1486
+ (UNSUPPORTED_Y ? 'g' : 'y');
1478
1487
 
1479
1488
  // ^(? + rx + ) is needed, in combination with some S slicing, to
1480
1489
  // simulate the 'y' flag.
1481
- var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
1490
+ var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
1482
1491
  var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
1483
1492
  if (lim === 0) return [];
1484
1493
  if (S.length === 0) return regexpExecAbstract(splitter, S) === null ? [S] : [];
@@ -1486,12 +1495,12 @@
1486
1495
  var q = 0;
1487
1496
  var A = [];
1488
1497
  while (q < S.length) {
1489
- splitter.lastIndex = SUPPORTS_Y ? q : 0;
1490
- var z = regexpExecAbstract(splitter, SUPPORTS_Y ? S : S.slice(q));
1498
+ splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
1499
+ var z = regexpExecAbstract(splitter, UNSUPPORTED_Y ? S.slice(q) : S);
1491
1500
  var e;
1492
1501
  if (
1493
1502
  z === null ||
1494
- (e = min$1(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
1503
+ (e = min$1(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
1495
1504
  ) {
1496
1505
  q = advanceStringIndex(S, q, unicodeMatching);
1497
1506
  } else {
@@ -1508,7 +1517,7 @@
1508
1517
  return A;
1509
1518
  }
1510
1519
  ];
1511
- }, !SUPPORTS_Y);
1520
+ }, UNSUPPORTED_Y);
1512
1521
 
1513
1522
  var floor = Math.floor;
1514
1523
  var replace = ''.replace;
@@ -1711,14 +1720,16 @@
1711
1720
  }
1712
1721
  });
1713
1722
 
1714
- var nativeAssign = Object.assign;
1723
+ // eslint-disable-next-line es/no-object-assign -- safe
1724
+ var $assign = Object.assign;
1725
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1715
1726
  var defineProperty = Object.defineProperty;
1716
1727
 
1717
1728
  // `Object.assign` method
1718
1729
  // https://tc39.es/ecma262/#sec-object.assign
1719
- var objectAssign = !nativeAssign || fails(function () {
1730
+ var objectAssign = !$assign || fails(function () {
1720
1731
  // should have correct order of operations (Edge bug)
1721
- if (descriptors && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {
1732
+ if (descriptors && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1722
1733
  enumerable: true,
1723
1734
  get: function () {
1724
1735
  defineProperty(this, 'b', {
@@ -1730,12 +1741,12 @@
1730
1741
  // should work with symbols and should have deterministic property order (V8 bug)
1731
1742
  var A = {};
1732
1743
  var B = {};
1733
- /* global Symbol -- required for testing */
1744
+ // eslint-disable-next-line es/no-symbol -- safe
1734
1745
  var symbol = Symbol();
1735
1746
  var alphabet = 'abcdefghijklmnopqrst';
1736
1747
  A[symbol] = 7;
1737
1748
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1738
- return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;
1749
+ return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1739
1750
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1740
1751
  var T = toObject(target);
1741
1752
  var argumentsLength = arguments.length;
@@ -1753,10 +1764,11 @@
1753
1764
  if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];
1754
1765
  }
1755
1766
  } return T;
1756
- } : nativeAssign;
1767
+ } : $assign;
1757
1768
 
1758
1769
  // `Object.assign` method
1759
1770
  // https://tc39.es/ecma262/#sec-object.assign
1771
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1760
1772
  _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
1761
1773
  assign: objectAssign
1762
1774
  });
@@ -1876,6 +1888,7 @@
1876
1888
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
1877
1889
  var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
1878
1890
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1891
+ // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1879
1892
  } : [].forEach;
1880
1893
 
1881
1894
  for (var COLLECTION_NAME in domIterables) {
@@ -1931,6 +1944,7 @@
1931
1944
  $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults.icons, {
1932
1945
  export: {
1933
1946
  bootstrap3: 'glyphicon-export icon-share',
1947
+ bootstrap5: 'bi-download',
1934
1948
  materialize: 'file_download',
1935
1949
  'bootstrap-table': 'icon-download'
1936
1950
  }[$__default['default'].fn.bootstrapTable.theme] || 'fa-download'
@@ -1966,8 +1980,8 @@
1966
1980
  _createClass(_class, [{
1967
1981
  key: "initToolbar",
1968
1982
  value: function initToolbar() {
1969
- var _get2,
1970
- _this = this;
1983
+ var _this = this,
1984
+ _get2;
1971
1985
 
1972
1986
  var o = this.options;
1973
1987
  var exportTypes = o.exportTypes;
@@ -1990,7 +2004,36 @@
1990
2004
 
1991
2005
  this.buttons = Object.assign(this.buttons, {
1992
2006
  export: {
1993
- html: exportTypes.length === 1 ? "\n <div class=\"export ".concat(this.constants.classes.buttonsDropdown, "\"\n data-type=\"").concat(exportTypes[0], "\">\n <button class=\"").concat(this.constants.buttonsClass, "\"\n aria-label=\"Export\"\n type=\"button\"\n title=\"").concat(o.formatExport(), "\">\n ").concat(o.showButtonIcons ? Utils.sprintf(this.constants.html.icon, o.iconsPrefix, o.icons.export) : '', "\n ").concat(o.showButtonText ? o.formatExport() : '', "\n </button>\n </div>\n ") : "\n <div class=\"export ".concat(this.constants.classes.buttonsDropdown, "\">\n <button class=\"").concat(this.constants.buttonsClass, " dropdown-toggle\"\n aria-label=\"Export\"\n ").concat(this.constants.dataToggle, "=\"dropdown\"\n type=\"button\"\n title=\"").concat(o.formatExport(), "\">\n ").concat(o.showButtonIcons ? Utils.sprintf(this.constants.html.icon, o.iconsPrefix, o.icons.export) : '', "\n ").concat(o.showButtonText ? o.formatExport() : '', "\n ").concat(this.constants.html.dropdownCaret, "\n </button>\n </div>\n ")
2007
+ html: function html() {
2008
+ if (exportTypes.length === 1) {
2009
+ return "\n <div class=\"export ".concat(_this.constants.classes.buttonsDropdown, "\"\n data-type=\"").concat(exportTypes[0], "\">\n <button class=\"").concat(_this.constants.buttonsClass, "\"\n aria-label=\"Export\"\n type=\"button\"\n title=\"").concat(o.formatExport(), "\">\n ").concat(o.showButtonIcons ? Utils.sprintf(_this.constants.html.icon, o.iconsPrefix, o.icons.export) : '', "\n ").concat(o.showButtonText ? o.formatExport() : '', "\n </button>\n </div>\n ");
2010
+ }
2011
+
2012
+ var html = [];
2013
+ html.push("\n <div class=\"export ".concat(_this.constants.classes.buttonsDropdown, "\">\n <button class=\"").concat(_this.constants.buttonsClass, " dropdown-toggle\"\n aria-label=\"Export\"\n ").concat(_this.constants.dataToggle, "=\"dropdown\"\n type=\"button\"\n title=\"").concat(o.formatExport(), "\">\n ").concat(o.showButtonIcons ? Utils.sprintf(_this.constants.html.icon, o.iconsPrefix, o.icons.export) : '', "\n ").concat(o.showButtonText ? o.formatExport() : '', "\n ").concat(_this.constants.html.dropdownCaret, "\n </button>\n ").concat(_this.constants.html.toolbarDropdown[0], "\n "));
2014
+
2015
+ var _iterator = _createForOfIteratorHelper(exportTypes),
2016
+ _step;
2017
+
2018
+ try {
2019
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
2020
+ var type = _step.value;
2021
+
2022
+ if (TYPE_NAME.hasOwnProperty(type)) {
2023
+ var $item = $__default['default'](Utils.sprintf(_this.constants.html.pageDropdownItem, '', TYPE_NAME[type]));
2024
+ $item.attr('data-type', type);
2025
+ html.push($item.prop('outerHTML'));
2026
+ }
2027
+ }
2028
+ } catch (err) {
2029
+ _iterator.e(err);
2030
+ } finally {
2031
+ _iterator.f();
2032
+ }
2033
+
2034
+ html.push(_this.constants.html.toolbarDropdown[1], '</div>');
2035
+ return html.join('');
2036
+ }
1994
2037
  }
1995
2038
  });
1996
2039
  }
@@ -2007,40 +2050,8 @@
2007
2050
  return;
2008
2051
  }
2009
2052
 
2010
- var $menu = $__default['default'](this.constants.html.toolbarDropdown.join(''));
2011
- var $items = this.$export;
2012
-
2013
- if (exportTypes.length > 1) {
2014
- this.$export.append($menu); // themes support
2015
-
2016
- if ($menu.children().length) {
2017
- $menu = $menu.children().eq(0);
2018
- }
2019
-
2020
- var _iterator = _createForOfIteratorHelper(exportTypes),
2021
- _step;
2022
-
2023
- try {
2024
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
2025
- var type = _step.value;
2026
-
2027
- if (TYPE_NAME.hasOwnProperty(type)) {
2028
- var $item = $__default['default'](Utils.sprintf(this.constants.html.pageDropdownItem, '', TYPE_NAME[type]));
2029
- $item.attr('data-type', type);
2030
- $menu.append($item);
2031
- }
2032
- }
2033
- } catch (err) {
2034
- _iterator.e(err);
2035
- } finally {
2036
- _iterator.f();
2037
- }
2038
-
2039
- $items = $menu.children();
2040
- }
2041
-
2042
2053
  this.updateExportButton();
2043
- $items.click(function (e) {
2054
+ this.$export.find('[data-type]').click(function (e) {
2044
2055
  e.preventDefault();
2045
2056
  var type = $__default['default'](e.currentTarget).data('type');
2046
2057
  var exportOptions = {