bootstrap-table-rails 1.15.5 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -4
  3. data/lib/bootstrap-table-rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +106 -64
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +678 -208
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +680 -210
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +66 -10
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +742 -489
  9. data/vendor/assets/javascripts/bootstrap-table/extensions/accent-neutralise/bootstrap-table-accent-neutralise.js +1103 -213
  10. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +226 -80
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +136 -64
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.js +338 -177
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +402 -110
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +133 -61
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +82 -41
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +243 -75
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +347 -179
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +1 -1
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +687 -358
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.css +12 -14
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +545 -422
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +488 -92
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +2 -2
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +216 -72
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +142 -65
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +345 -137
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +136 -64
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +86 -41
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +218 -123
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +640 -254
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +347 -135
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +83 -43
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.css +0 -1
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +203 -75
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +449 -199
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +207 -114
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +82 -41
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +82 -41
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +82 -41
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +82 -41
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +82 -41
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +82 -41
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +82 -41
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +82 -41
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +104 -62
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +82 -41
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +82 -41
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +82 -41
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +82 -41
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +82 -41
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +82 -41
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +82 -41
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +82 -41
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +82 -41
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +82 -41
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +82 -41
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +82 -41
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +83 -42
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +82 -41
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +82 -41
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +82 -41
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +82 -41
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +82 -41
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +82 -41
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +82 -41
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +82 -41
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +82 -41
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +82 -41
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +82 -41
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +82 -41
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +82 -41
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +82 -41
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +83 -42
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +82 -41
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +82 -41
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +82 -41
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +82 -41
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +82 -41
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +82 -41
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +82 -41
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +82 -41
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +82 -41
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +82 -41
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +82 -41
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +82 -41
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +82 -41
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +82 -41
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +82 -41
  89. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +80 -11
  90. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +106 -60
  91. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +79 -13
  92. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +111 -62
  93. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +74 -9
  94. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +109 -63
  95. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +80 -13
  96. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +110 -64
  97. metadata +1 -2
  98. data/vendor/assets/javascripts/bootstrap-table/extensions/natural-sorting/bootstrap-table-natural-sorting.js +0 -1265
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
4
  (global = global || self, factory(global.jQuery));
5
- }(this, function ($) { 'use strict';
5
+ }(this, (function ($) { 'use strict';
6
6
 
7
7
  $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
8
8
 
@@ -12,7 +12,6 @@
12
12
  return module = { exports: {} }, fn(module, module.exports), module.exports;
13
13
  }
14
14
 
15
- var O = 'object';
16
15
  var check = function (it) {
17
16
  return it && it.Math == Math && it;
18
17
  };
@@ -20,10 +19,10 @@
20
19
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
21
20
  var global_1 =
22
21
  // eslint-disable-next-line no-undef
23
- check(typeof globalThis == O && globalThis) ||
24
- check(typeof window == O && window) ||
25
- check(typeof self == O && self) ||
26
- check(typeof commonjsGlobal == O && commonjsGlobal) ||
22
+ check(typeof globalThis == 'object' && globalThis) ||
23
+ check(typeof window == 'object' && window) ||
24
+ check(typeof self == 'object' && self) ||
25
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
27
26
  // eslint-disable-next-line no-new-func
28
27
  Function('return this')();
29
28
 
@@ -179,7 +178,7 @@
179
178
  f: f$2
180
179
  };
181
180
 
182
- var hide = descriptors ? function (object, key, value) {
181
+ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
183
182
  return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
184
183
  } : function (object, key, value) {
185
184
  object[key] = value;
@@ -188,31 +187,42 @@
188
187
 
189
188
  var setGlobal = function (key, value) {
190
189
  try {
191
- hide(global_1, key, value);
190
+ createNonEnumerableProperty(global_1, key, value);
192
191
  } catch (error) {
193
192
  global_1[key] = value;
194
193
  } return value;
195
194
  };
196
195
 
197
- var shared = createCommonjsModule(function (module) {
198
196
  var SHARED = '__core-js_shared__';
199
197
  var store = global_1[SHARED] || setGlobal(SHARED, {});
200
198
 
199
+ var sharedStore = store;
200
+
201
+ var functionToString = Function.toString;
202
+
203
+ // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
204
+ if (typeof sharedStore.inspectSource != 'function') {
205
+ sharedStore.inspectSource = function (it) {
206
+ return functionToString.call(it);
207
+ };
208
+ }
209
+
210
+ var inspectSource = sharedStore.inspectSource;
211
+
212
+ var WeakMap = global_1.WeakMap;
213
+
214
+ var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
215
+
216
+ var shared = createCommonjsModule(function (module) {
201
217
  (module.exports = function (key, value) {
202
- return store[key] || (store[key] = value !== undefined ? value : {});
218
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
203
219
  })('versions', []).push({
204
- version: '3.1.3',
220
+ version: '3.6.0',
205
221
  mode: 'global',
206
222
  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
207
223
  });
208
224
  });
209
225
 
210
- var functionToString = shared('native-function-to-string', Function.toString);
211
-
212
- var WeakMap = global_1.WeakMap;
213
-
214
- var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(functionToString.call(WeakMap));
215
-
216
226
  var id = 0;
217
227
  var postfix = Math.random();
218
228
 
@@ -245,25 +255,25 @@
245
255
  };
246
256
 
247
257
  if (nativeWeakMap) {
248
- var store = new WeakMap$1();
249
- var wmget = store.get;
250
- var wmhas = store.has;
251
- var wmset = store.set;
258
+ var store$1 = new WeakMap$1();
259
+ var wmget = store$1.get;
260
+ var wmhas = store$1.has;
261
+ var wmset = store$1.set;
252
262
  set = function (it, metadata) {
253
- wmset.call(store, it, metadata);
263
+ wmset.call(store$1, it, metadata);
254
264
  return metadata;
255
265
  };
256
266
  get = function (it) {
257
- return wmget.call(store, it) || {};
267
+ return wmget.call(store$1, it) || {};
258
268
  };
259
269
  has$1 = function (it) {
260
- return wmhas.call(store, it);
270
+ return wmhas.call(store$1, it);
261
271
  };
262
272
  } else {
263
273
  var STATE = sharedKey('state');
264
274
  hiddenKeys[STATE] = true;
265
275
  set = function (it, metadata) {
266
- hide(it, STATE, metadata);
276
+ createNonEnumerableProperty(it, STATE, metadata);
267
277
  return metadata;
268
278
  };
269
279
  get = function (it) {
@@ -285,18 +295,14 @@
285
295
  var redefine = createCommonjsModule(function (module) {
286
296
  var getInternalState = internalState.get;
287
297
  var enforceInternalState = internalState.enforce;
288
- var TEMPLATE = String(functionToString).split('toString');
289
-
290
- shared('inspectSource', function (it) {
291
- return functionToString.call(it);
292
- });
298
+ var TEMPLATE = String(String).split('String');
293
299
 
294
300
  (module.exports = function (O, key, value, options) {
295
301
  var unsafe = options ? !!options.unsafe : false;
296
302
  var simple = options ? !!options.enumerable : false;
297
303
  var noTargetGet = options ? !!options.noTargetGet : false;
298
304
  if (typeof value == 'function') {
299
- if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key);
305
+ if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
300
306
  enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
301
307
  }
302
308
  if (O === global_1) {
@@ -309,10 +315,10 @@
309
315
  simple = true;
310
316
  }
311
317
  if (simple) O[key] = value;
312
- else hide(O, key, value);
318
+ else createNonEnumerableProperty(O, key, value);
313
319
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
314
320
  })(Function.prototype, 'toString', function toString() {
315
- return typeof this == 'function' && getInternalState(this).source || functionToString.call(this);
321
+ return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
316
322
  });
317
323
  });
318
324
 
@@ -349,7 +355,7 @@
349
355
 
350
356
  // Helper for a popular repeating case of the spec:
351
357
  // Let integer be ? ToInteger(index).
352
- // If integer < 0, let result be max((length + integer), 0); else let result be min(length, length).
358
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
353
359
  var toAbsoluteIndex = function (index, length) {
354
360
  var integer = toInteger(index);
355
361
  return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
@@ -513,7 +519,7 @@
513
519
  }
514
520
  // add a flag to not completely full polyfills
515
521
  if (options.sham || (targetProperty && targetProperty.sham)) {
516
- hide(sourceProperty, 'sham', true);
522
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
517
523
  }
518
524
  // extend global
519
525
  redefine(target, key, sourceProperty, options);
@@ -567,12 +573,21 @@
567
573
  return !String(Symbol());
568
574
  });
569
575
 
576
+ var useSymbolAsUid = nativeSymbol
577
+ // eslint-disable-next-line no-undef
578
+ && !Symbol.sham
579
+ // eslint-disable-next-line no-undef
580
+ && typeof Symbol() == 'symbol';
581
+
582
+ var WellKnownSymbolsStore = shared('wks');
570
583
  var Symbol$1 = global_1.Symbol;
571
- var store$1 = shared('wks');
584
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
572
585
 
573
586
  var wellKnownSymbol = function (name) {
574
- return store$1[name] || (store$1[name] = nativeSymbol && Symbol$1[name]
575
- || (nativeSymbol ? Symbol$1 : uid)('Symbol.' + name));
587
+ if (!has(WellKnownSymbolsStore, name)) {
588
+ if (nativeSymbol && has(Symbol$1, name)) WellKnownSymbolsStore[name] = Symbol$1[name];
589
+ else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
590
+ } return WellKnownSymbolsStore[name];
576
591
  };
577
592
 
578
593
  var SPECIES = wellKnownSymbol('species');
@@ -672,56 +687,87 @@
672
687
 
673
688
  var html = getBuiltIn('document', 'documentElement');
674
689
 
690
+ var GT = '>';
691
+ var LT = '<';
692
+ var PROTOTYPE = 'prototype';
693
+ var SCRIPT = 'script';
675
694
  var IE_PROTO = sharedKey('IE_PROTO');
676
695
 
677
- var PROTOTYPE = 'prototype';
678
- var Empty = function () { /* empty */ };
696
+ var EmptyConstructor = function () { /* empty */ };
697
+
698
+ var scriptTag = function (content) {
699
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
700
+ };
701
+
702
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
703
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
704
+ activeXDocument.write(scriptTag(''));
705
+ activeXDocument.close();
706
+ var temp = activeXDocument.parentWindow.Object;
707
+ activeXDocument = null; // avoid memory leak
708
+ return temp;
709
+ };
679
710
 
680
711
  // Create object with fake `null` prototype: use iframe Object with cleared prototype
681
- var createDict = function () {
712
+ var NullProtoObjectViaIFrame = function () {
682
713
  // Thrash, waste and sodomy: IE GC bug
683
714
  var iframe = documentCreateElement('iframe');
684
- var length = enumBugKeys.length;
685
- var lt = '<';
686
- var script = 'script';
687
- var gt = '>';
688
- var js = 'java' + script + ':';
715
+ var JS = 'java' + SCRIPT + ':';
689
716
  var iframeDocument;
690
717
  iframe.style.display = 'none';
691
718
  html.appendChild(iframe);
692
- iframe.src = String(js);
719
+ // https://github.com/zloirock/core-js/issues/475
720
+ iframe.src = String(JS);
693
721
  iframeDocument = iframe.contentWindow.document;
694
722
  iframeDocument.open();
695
- iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt);
723
+ iframeDocument.write(scriptTag('document.F=Object'));
696
724
  iframeDocument.close();
697
- createDict = iframeDocument.F;
698
- while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]];
699
- return createDict();
725
+ return iframeDocument.F;
726
+ };
727
+
728
+ // Check for document.domain and active x support
729
+ // No need to use active x approach when document.domain is not set
730
+ // see https://github.com/es-shims/es5-shim/issues/150
731
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
732
+ // avoid IE GC bug
733
+ var activeXDocument;
734
+ var NullProtoObject = function () {
735
+ try {
736
+ /* global ActiveXObject */
737
+ activeXDocument = document.domain && new ActiveXObject('htmlfile');
738
+ } catch (error) { /* ignore */ }
739
+ NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
740
+ var length = enumBugKeys.length;
741
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
742
+ return NullProtoObject();
700
743
  };
701
744
 
745
+ hiddenKeys[IE_PROTO] = true;
746
+
702
747
  // `Object.create` method
703
748
  // https://tc39.github.io/ecma262/#sec-object.create
704
749
  var objectCreate = Object.create || function create(O, Properties) {
705
750
  var result;
706
751
  if (O !== null) {
707
- Empty[PROTOTYPE] = anObject(O);
708
- result = new Empty();
709
- Empty[PROTOTYPE] = null;
752
+ EmptyConstructor[PROTOTYPE] = anObject(O);
753
+ result = new EmptyConstructor();
754
+ EmptyConstructor[PROTOTYPE] = null;
710
755
  // add "__proto__" for Object.getPrototypeOf polyfill
711
756
  result[IE_PROTO] = O;
712
- } else result = createDict();
757
+ } else result = NullProtoObject();
713
758
  return Properties === undefined ? result : objectDefineProperties(result, Properties);
714
759
  };
715
760
 
716
- hiddenKeys[IE_PROTO] = true;
717
-
718
761
  var UNSCOPABLES = wellKnownSymbol('unscopables');
719
762
  var ArrayPrototype = Array.prototype;
720
763
 
721
764
  // Array.prototype[@@unscopables]
722
765
  // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
723
766
  if (ArrayPrototype[UNSCOPABLES] == undefined) {
724
- hide(ArrayPrototype, UNSCOPABLES, objectCreate(null));
767
+ objectDefineProperty.f(ArrayPrototype, UNSCOPABLES, {
768
+ configurable: true,
769
+ value: objectCreate(null)
770
+ });
725
771
  }
726
772
 
727
773
  // add a key to Array.prototype[@@unscopables]
@@ -883,8 +929,8 @@
883
929
  this.constants.classes.dropdownActive = 'is-active';
884
930
  this.constants.classes.paginationActive = 'current';
885
931
  this.constants.classes.buttonActive = 'success';
886
- this.constants.html.toolbarDropdown = ['<ul class="dropdown-pane" id="toolbar-columns-id" data-dropdown><ul class="vertical menu">', '</ul></div>'];
887
- this.constants.html.toolbarDropdownItem = '<li><label class="dropdown-item">%s</label></li>';
932
+ this.constants.html.toolbarDropdown = ['<div class="dropdown-pane" id="toolbar-columns-id" data-dropdown><ul class="vertical menu">', '</ul></div>'];
933
+ this.constants.html.toolbarDropdownItem = '<li class="dropdown-item-marker"><label class="dropdown-item">%s</label></li>';
888
934
  this.constants.html.toolbarDropdownSeparator = '<li><hr></li>';
889
935
  this.constants.html.pageDropdown = ['<div class="dropdown-pane" id="pagination-list-id" data-dropdown><ul class="vertical menu">', '</ul></div>'];
890
936
  this.constants.html.pageDropdownItem = '<li class="dropdown-item %s"><a href="#">%s</a></li>';
@@ -935,8 +981,11 @@
935
981
  $dropdowns.off('click').on('click', function (e) {
936
982
  var $this = $(e.currentTarget);
937
983
  e.stopPropagation();
938
- $dropdowns.not($this).next().foundation('close');
939
984
  $this.next().foundation('toggle');
985
+
986
+ if ($dropdowns.not($this).length) {
987
+ $dropdowns.not($this).next().foundation('close');
988
+ }
940
989
  });
941
990
  $(document).off('click.bs.dropdown.foundation').on('click.bs.dropdown.foundation', function () {
942
991
  $dropdowns.next().foundation('close');
@@ -947,4 +996,4 @@
947
996
  return _class;
948
997
  }($.BootstrapTable);
949
998
 
950
- }));
999
+ })));
@@ -1,4 +1,3 @@
1
- @charset "UTF-8";
2
1
  /**
3
2
  * @author zhixin wen <wenzhixin2010@gmail.com>
4
3
  * https://github.com/wenzhixin/bootstrap-table/
@@ -9,6 +8,7 @@
9
8
  display: block;
10
9
  clear: both;
11
10
  }
11
+
12
12
  .bootstrap-table .fixed-table-toolbar .bs-bars,
13
13
  .bootstrap-table .fixed-table-toolbar .search,
14
14
  .bootstrap-table .fixed-table-toolbar .columns {
@@ -16,21 +16,26 @@
16
16
  margin-top: 10px;
17
17
  margin-bottom: 10px;
18
18
  }
19
+
19
20
  .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group {
20
21
  display: inline-block;
21
22
  margin-left: -1px !important;
22
23
  }
24
+
23
25
  .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group > .btn {
24
26
  border-radius: 0;
25
27
  }
28
+
26
29
  .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:first-child > .btn {
27
30
  border-top-left-radius: 4px;
28
31
  border-bottom-left-radius: 4px;
29
32
  }
33
+
30
34
  .bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:last-child > .btn {
31
35
  border-top-right-radius: 4px;
32
36
  border-bottom-right-radius: 4px;
33
37
  }
38
+
34
39
  .bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
35
40
  text-align: left;
36
41
  max-height: 300px;
@@ -38,6 +43,7 @@
38
43
  -ms-overflow-style: scrollbar;
39
44
  z-index: 1001;
40
45
  }
46
+
41
47
  .bootstrap-table .fixed-table-toolbar .columns label {
42
48
  display: block;
43
49
  padding: 3px 20px;
@@ -45,40 +51,50 @@
45
51
  font-weight: normal;
46
52
  line-height: 1.428571429;
47
53
  }
54
+
48
55
  .bootstrap-table .fixed-table-toolbar .columns-left {
49
56
  margin-right: 5px;
50
57
  }
58
+
51
59
  .bootstrap-table .fixed-table-toolbar .columns-right {
52
60
  margin-left: 5px;
53
61
  }
62
+
54
63
  .bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu {
55
64
  right: 0;
56
65
  left: auto;
57
66
  }
67
+
58
68
  .bootstrap-table .fixed-table-container {
59
69
  position: relative;
60
70
  clear: both;
61
71
  }
72
+
62
73
  .bootstrap-table .fixed-table-container .table {
63
74
  width: 100%;
64
75
  margin-bottom: 0 !important;
65
76
  }
77
+
66
78
  .bootstrap-table .fixed-table-container .table th,
67
79
  .bootstrap-table .fixed-table-container .table td {
68
80
  vertical-align: middle;
69
81
  box-sizing: border-box;
70
82
  }
83
+
71
84
  .bootstrap-table .fixed-table-container .table thead th {
72
85
  vertical-align: bottom;
73
86
  padding: 0;
74
87
  margin: 0;
75
88
  }
89
+
76
90
  .bootstrap-table .fixed-table-container .table thead th:focus {
77
91
  outline: 0 solid transparent;
78
92
  }
93
+
79
94
  .bootstrap-table .fixed-table-container .table thead th.detail {
80
95
  width: 30px;
81
96
  }
97
+
82
98
  .bootstrap-table .fixed-table-container .table thead th .th-inner {
83
99
  padding: 0.75rem;
84
100
  vertical-align: bottom;
@@ -86,74 +102,94 @@
86
102
  text-overflow: ellipsis;
87
103
  white-space: nowrap;
88
104
  }
105
+
89
106
  .bootstrap-table .fixed-table-container .table thead th .sortable {
90
107
  cursor: pointer;
91
108
  background-position: right;
92
109
  background-repeat: no-repeat;
93
- padding-right: 30px;
110
+ padding-right: 30px !important;
94
111
  }
112
+
95
113
  .bootstrap-table .fixed-table-container .table thead th .both {
96
114
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC");
97
115
  }
116
+
98
117
  .bootstrap-table .fixed-table-container .table thead th .asc {
99
118
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==");
100
119
  }
120
+
101
121
  .bootstrap-table .fixed-table-container .table thead th .desc {
102
122
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ");
103
123
  }
124
+
104
125
  .bootstrap-table .fixed-table-container .table tbody tr.selected td {
105
126
  background-color: rgba(242, 242, 242, 0.5);
106
127
  }
107
- .bootstrap-table .fixed-table-container .table tbody tr.no-records-found {
128
+
129
+ .bootstrap-table .fixed-table-container .table tbody tr.no-records-found td {
108
130
  text-align: center;
109
131
  }
132
+
110
133
  .bootstrap-table .fixed-table-container .table tbody tr .card-view {
111
134
  display: flex;
112
135
  }
136
+
113
137
  .bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title {
114
138
  font-weight: bold;
115
139
  display: inline-block;
116
140
  min-width: 30%;
117
141
  text-align: left !important;
118
142
  }
143
+
119
144
  .bootstrap-table .fixed-table-container .table .bs-checkbox {
120
145
  text-align: center;
121
146
  }
147
+
122
148
  .bootstrap-table .fixed-table-container .table .bs-checkbox label {
123
149
  margin-bottom: 0;
124
150
  }
125
- .bootstrap-table .fixed-table-container .table input[type=radio],
126
- .bootstrap-table .fixed-table-container .table input[type=checkbox] {
151
+
152
+ .bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="radio"],
153
+ .bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="checkbox"] {
127
154
  margin: 0 auto !important;
128
155
  }
156
+
129
157
  .bootstrap-table .fixed-table-container .table.table-sm .th-inner {
130
158
  padding: 0.3rem;
131
159
  }
160
+
132
161
  .bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
133
162
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
134
163
  }
164
+
135
165
  .bootstrap-table .fixed-table-container.fixed-height.has-card-view {
136
166
  border-top: 1px solid rgba(0, 0, 0, 0.12);
137
167
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
138
168
  }
169
+
139
170
  .bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
140
171
  border-left: 1px solid rgba(0, 0, 0, 0.12);
141
172
  border-right: 1px solid rgba(0, 0, 0, 0.12);
142
173
  }
174
+
143
175
  .bootstrap-table .fixed-table-container.fixed-height .table thead th {
144
176
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
145
177
  }
178
+
146
179
  .bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
147
180
  border-bottom: 1px solid #32383e;
148
181
  }
182
+
149
183
  .bootstrap-table .fixed-table-container .fixed-table-header {
150
184
  overflow: hidden;
151
185
  }
186
+
152
187
  .bootstrap-table .fixed-table-container .fixed-table-body {
153
188
  overflow-x: auto;
154
189
  overflow-y: auto;
155
190
  height: 100%;
156
191
  }
192
+
157
193
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
158
194
  align-items: center;
159
195
  background: #fefefe;
@@ -164,20 +200,24 @@
164
200
  width: 100%;
165
201
  z-index: 1000;
166
202
  }
203
+
167
204
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
168
205
  align-items: baseline;
169
206
  display: flex;
170
207
  justify-content: center;
171
208
  }
209
+
172
210
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
173
211
  font-size: 2rem;
174
212
  margin-right: 6px;
175
213
  }
214
+
176
215
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
177
216
  align-items: center;
178
217
  display: flex;
179
218
  justify-content: center;
180
219
  }
220
+
181
221
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
182
222
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
183
223
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
@@ -193,68 +233,86 @@
193
233
  opacity: 0;
194
234
  width: 5px;
195
235
  }
236
+
196
237
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
197
238
  animation-delay: 0.3s;
198
239
  }
240
+
199
241
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after {
200
242
  animation-delay: 0.6s;
201
243
  }
244
+
202
245
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
203
246
  background: #0a0a0a;
204
247
  }
248
+
205
249
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
206
250
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
207
251
  .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
208
252
  background: #fefefe;
209
253
  }
254
+
210
255
  .bootstrap-table .fixed-table-container .fixed-table-footer {
211
256
  overflow: hidden;
212
257
  }
258
+
213
259
  .bootstrap-table .fixed-table-pagination::after {
214
260
  content: "";
215
261
  display: block;
216
262
  clear: both;
217
263
  }
264
+
218
265
  .bootstrap-table .fixed-table-pagination > .pagination-detail,
219
266
  .bootstrap-table .fixed-table-pagination > .pagination {
220
267
  margin-top: 10px;
221
268
  margin-bottom: 10px;
222
269
  }
270
+
223
271
  .bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
224
272
  line-height: 34px;
225
273
  margin-right: 5px;
226
274
  }
275
+
227
276
  .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list {
228
277
  display: inline-block;
229
278
  }
279
+
230
280
  .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group {
231
281
  position: relative;
232
282
  display: inline-block;
233
283
  vertical-align: middle;
234
284
  }
285
+
235
286
  .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
236
287
  margin-bottom: 0;
237
288
  }
289
+
238
290
  .bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
239
291
  margin: 0;
240
292
  }
293
+
241
294
  .bootstrap-table .fixed-table-pagination > .pagination ul.pagination a {
242
295
  padding: 6px 12px;
243
296
  line-height: 1.428571429;
244
297
  }
298
+
245
299
  .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a {
246
300
  color: #c8c8c8;
247
301
  }
302
+
248
303
  .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::before {
249
- content: "⬅";
304
+ content: '\2B05';
250
305
  }
306
+
251
307
  .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::after {
252
- content: "➡";
308
+ content: '\27A1';
253
309
  }
310
+
254
311
  .bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.disabled a {
255
312
  pointer-events: none;
256
313
  cursor: default;
257
314
  }
315
+
258
316
  .bootstrap-table.fullscreen {
259
317
  position: fixed;
260
318
  top: 0;
@@ -292,35 +350,42 @@ div.fixed-table-scroll-outer {
292
350
  opacity: 0;
293
351
  }
294
352
  }
353
+
295
354
  .bootstrap-table .float-left {
296
355
  float: left;
297
356
  }
357
+
298
358
  .bootstrap-table .float-right {
299
359
  float: right;
300
360
  }
361
+
301
362
  .bootstrap-table .fixed-table-toolbar .search .search-input {
302
363
  width: auto;
303
364
  margin: 0;
304
365
  height: 35px;
305
366
  vertical-align: bottom;
306
367
  }
368
+
307
369
  .bootstrap-table .fixed-table-toolbar .columns > .btn {
308
370
  margin-left: 3px;
309
371
  }
372
+
310
373
  .bootstrap-table .fixed-table-toolbar .columns > div {
311
374
  display: inline;
312
375
  }
376
+
313
377
  .bootstrap-table .fixed-table-toolbar .keep-open li label {
314
378
  padding-top: 13px;
315
379
  }
380
+
316
381
  .bootstrap-table .fixed-table-footer {
317
382
  border-top: 1px solid rgba(0, 0, 0, 0.12);
318
383
  }
384
+
319
385
  .bootstrap-table .fixed-table-pagination .page-list i {
320
386
  vertical-align: middle;
321
387
  }
388
+
322
389
  .bootstrap-table .fixed-table-pagination .pagination li {
323
390
  height: 36px;
324
391
  }
325
-
326
- /*# sourceMappingURL=bootstrap-table-materialize.css.map */