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.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +30 -132
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/.DS_Store +0 -0
- data/vendor/assets/.DS_Store +0 -0
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +196 -147
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +179 -990
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +180 -991
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +9 -1
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +731 -1114
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +122 -35
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +115 -39
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +458 -911
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +124 -48
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +122 -43
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +66 -24
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +433 -977
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +460 -951
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +275 -140
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +176 -86
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +128 -48
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +164 -75
- data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +45 -11
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +136 -36
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +227 -141
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +148 -94
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +111 -35
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +93 -49
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +396 -999
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +144 -56
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +104 -33
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +283 -87
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +116 -40
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +456 -1034
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +278 -990
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +69 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +53 -43
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +114 -35
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +109 -30
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +113 -34
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +110 -31
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +107 -28
- 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
|
-
|
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({},
|
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.
|
222
|
+
version: '3.8.1',
|
221
223
|
mode: 'global',
|
222
|
-
copyright: '©
|
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'))
|
306
|
-
|
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
|
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
|
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 (
|
598
|
-
match =
|
607
|
+
} else if (engineUserAgent) {
|
608
|
+
match = engineUserAgent.match(/Edge\/(\d+)/);
|
599
609
|
if (!match || match[1] >= 74) {
|
600
|
-
match =
|
610
|
+
match = engineUserAgent.match(/Chrome\/(\d+)/);
|
601
611
|
if (match) version = match[1];
|
602
612
|
}
|
603
613
|
}
|
604
614
|
|
605
|
-
var
|
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
|
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 =
|
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
|
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 =
|
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
|
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
|
932
|
+
var arrayMethodIsStrict = function (METHOD_NAME, argument) {
|
889
933
|
var method = [][METHOD_NAME];
|
890
|
-
return
|
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
|
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 ||
|
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
|
@@ -960,24 +1006,26 @@
|
|
960
1006
|
var trim = stringTrim.trim;
|
961
1007
|
|
962
1008
|
|
963
|
-
var
|
1009
|
+
var $parseInt = global_1.parseInt;
|
964
1010
|
var hex = /^[+-]?0[Xx]/;
|
965
|
-
var FORCED$1 =
|
1011
|
+
var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
|
966
1012
|
|
967
1013
|
// `parseInt` method
|
968
1014
|
// https://tc39.github.io/ecma262/#sec-parseint-string-radix
|
969
|
-
var
|
1015
|
+
var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
|
970
1016
|
var S = trim(String(string));
|
971
|
-
return
|
972
|
-
} :
|
1017
|
+
return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
|
1018
|
+
} : $parseInt;
|
973
1019
|
|
974
1020
|
// `parseInt` method
|
975
1021
|
// https://tc39.github.io/ecma262/#sec-parseint-string-radix
|
976
|
-
_export({ global: true, forced: parseInt !=
|
977
|
-
parseInt:
|
1022
|
+
_export({ global: true, forced: parseInt != numberParseInt }, {
|
1023
|
+
parseInt: numberParseInt
|
978
1024
|
});
|
979
1025
|
|
980
1026
|
function _typeof(obj) {
|
1027
|
+
"@babel/helpers - typeof";
|
1028
|
+
|
981
1029
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
982
1030
|
_typeof = function (obj) {
|
983
1031
|
return typeof obj;
|
@@ -1044,6 +1092,19 @@
|
|
1044
1092
|
return _setPrototypeOf(o, p);
|
1045
1093
|
}
|
1046
1094
|
|
1095
|
+
function _isNativeReflectConstruct() {
|
1096
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
1097
|
+
if (Reflect.construct.sham) return false;
|
1098
|
+
if (typeof Proxy === "function") return true;
|
1099
|
+
|
1100
|
+
try {
|
1101
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
1102
|
+
return true;
|
1103
|
+
} catch (e) {
|
1104
|
+
return false;
|
1105
|
+
}
|
1106
|
+
}
|
1107
|
+
|
1047
1108
|
function _assertThisInitialized(self) {
|
1048
1109
|
if (self === void 0) {
|
1049
1110
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
@@ -1060,6 +1121,25 @@
|
|
1060
1121
|
return _assertThisInitialized(self);
|
1061
1122
|
}
|
1062
1123
|
|
1124
|
+
function _createSuper(Derived) {
|
1125
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
1126
|
+
|
1127
|
+
return function _createSuperInternal() {
|
1128
|
+
var Super = _getPrototypeOf(Derived),
|
1129
|
+
result;
|
1130
|
+
|
1131
|
+
if (hasNativeReflectConstruct) {
|
1132
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
1133
|
+
|
1134
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
1135
|
+
} else {
|
1136
|
+
result = Super.apply(this, arguments);
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
return _possibleConstructorReturn(this, result);
|
1140
|
+
};
|
1141
|
+
}
|
1142
|
+
|
1063
1143
|
function _superPropBase(object, property) {
|
1064
1144
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
1065
1145
|
object = _getPrototypeOf(object);
|
@@ -1094,7 +1174,7 @@
|
|
1094
1174
|
* @author zhixin wen <wenzhixin2010@gmail.com>
|
1095
1175
|
*/
|
1096
1176
|
|
1097
|
-
var Utils =
|
1177
|
+
var Utils = $__default['default'].fn.bootstrapTable.utils; // Reasonable defaults
|
1098
1178
|
|
1099
1179
|
var PIXEL_STEP = 10;
|
1100
1180
|
var LINE_HEIGHT = 40;
|
@@ -1172,21 +1252,21 @@
|
|
1172
1252
|
};
|
1173
1253
|
}
|
1174
1254
|
|
1175
|
-
|
1255
|
+
$__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
|
1176
1256
|
fixedColumns: false,
|
1177
1257
|
fixedNumber: 0,
|
1178
1258
|
fixedRightNumber: 0
|
1179
1259
|
});
|
1180
1260
|
|
1181
|
-
|
1182
|
-
/*#__PURE__*/
|
1183
|
-
function (_$$BootstrapTable) {
|
1261
|
+
$__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
|
1184
1262
|
_inherits(_class, _$$BootstrapTable);
|
1185
1263
|
|
1264
|
+
var _super = _createSuper(_class);
|
1265
|
+
|
1186
1266
|
function _class() {
|
1187
1267
|
_classCallCheck(this, _class);
|
1188
1268
|
|
1189
|
-
return
|
1269
|
+
return _super.apply(this, arguments);
|
1190
1270
|
}
|
1191
1271
|
|
1192
1272
|
_createClass(_class, [{
|
@@ -1282,7 +1362,7 @@
|
|
1282
1362
|
}
|
1283
1363
|
|
1284
1364
|
this.$tableBody.find('tr').each(function (i, el) {
|
1285
|
-
var $el = $(el);
|
1365
|
+
var $el = $__default['default'](el);
|
1286
1366
|
var index = $el.data('index');
|
1287
1367
|
var classes = $el.attr('class');
|
1288
1368
|
var inputSelector = "[name=\"".concat(_this.options.selectItemName, "\"]");
|
@@ -1423,7 +1503,7 @@
|
|
1423
1503
|
var _this4 = this;
|
1424
1504
|
|
1425
1505
|
var toggleHover = function toggleHover(e, toggle) {
|
1426
|
-
var tr = "tr[data-index=\"".concat($(e.currentTarget).data('index'), "\"]");
|
1506
|
+
var tr = "tr[data-index=\"".concat($__default['default'](e.currentTarget).data('index'), "\"]");
|
1427
1507
|
|
1428
1508
|
var $trs = _this4.$tableBody.find(tr);
|
1429
1509
|
|
@@ -1435,7 +1515,7 @@
|
|
1435
1515
|
$trs = $trs.add(_this4.$fixedBodyRight.find(tr));
|
1436
1516
|
}
|
1437
1517
|
|
1438
|
-
$trs.css('background-color', toggle ? $(e.currentTarget).css('background-color') : '');
|
1518
|
+
$trs.css('background-color', toggle ? $__default['default'](e.currentTarget).css('background-color') : '');
|
1439
1519
|
};
|
1440
1520
|
|
1441
1521
|
this.$tableBody.find('tr').hover(function (e) {
|
@@ -1495,8 +1575,8 @@
|
|
1495
1575
|
}
|
1496
1576
|
|
1497
1577
|
if (this.options.filterControl) {
|
1498
|
-
$(this.$fixedColumns).off('keyup change').on('keyup change', function (e) {
|
1499
|
-
var $target = $(e.target);
|
1578
|
+
$__default['default'](this.$fixedColumns).off('keyup change').on('keyup change', function (e) {
|
1579
|
+
var $target = $__default['default'](e.target);
|
1500
1580
|
var value = $target.val();
|
1501
1581
|
var field = $target.parents('th').data('field');
|
1502
1582
|
|
@@ -1547,6 +1627,6 @@
|
|
1547
1627
|
}]);
|
1548
1628
|
|
1549
1629
|
return _class;
|
1550
|
-
}(
|
1630
|
+
}($__default['default'].BootstrapTable);
|
1551
1631
|
|
1552
1632
|
})));
|