bootstrap-table-rails 1.18.1 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js
CHANGED
|
@@ -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;
|
|
@@ -1008,6 +1018,14 @@
|
|
|
1008
1018
|
}, { unsafe: true });
|
|
1009
1019
|
}
|
|
1010
1020
|
|
|
1021
|
+
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1011
1029
|
var SPECIES$3 = wellKnownSymbol('species');
|
|
1012
1030
|
|
|
1013
1031
|
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
@@ -1029,6 +1047,15 @@
|
|
|
1029
1047
|
return 'a'.replace(/./, '$0') === '$0';
|
|
1030
1048
|
})();
|
|
1031
1049
|
|
|
1050
|
+
var REPLACE = wellKnownSymbol('replace');
|
|
1051
|
+
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
1052
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
1053
|
+
if (/./[REPLACE]) {
|
|
1054
|
+
return /./[REPLACE]('a', '$0') === '';
|
|
1055
|
+
}
|
|
1056
|
+
return false;
|
|
1057
|
+
})();
|
|
1058
|
+
|
|
1032
1059
|
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
1033
1060
|
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
1034
1061
|
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
@@ -1076,7 +1103,11 @@
|
|
|
1076
1103
|
if (
|
|
1077
1104
|
!DELEGATES_TO_SYMBOL ||
|
|
1078
1105
|
!DELEGATES_TO_EXEC ||
|
|
1079
|
-
(KEY === 'replace' && !(
|
|
1106
|
+
(KEY === 'replace' && !(
|
|
1107
|
+
REPLACE_SUPPORTS_NAMED_GROUPS &&
|
|
1108
|
+
REPLACE_KEEPS_$0 &&
|
|
1109
|
+
!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
|
|
1110
|
+
)) ||
|
|
1080
1111
|
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
|
|
1081
1112
|
) {
|
|
1082
1113
|
var nativeRegExpMethod = /./[SYMBOL];
|
|
@@ -1091,7 +1122,10 @@
|
|
|
1091
1122
|
return { done: true, value: nativeMethod.call(str, regexp, arg2) };
|
|
1092
1123
|
}
|
|
1093
1124
|
return { done: false };
|
|
1094
|
-
}, {
|
|
1125
|
+
}, {
|
|
1126
|
+
REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
|
|
1127
|
+
REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
|
|
1128
|
+
});
|
|
1095
1129
|
var stringMethod = methods[0];
|
|
1096
1130
|
var regexMethod = methods[1];
|
|
1097
1131
|
|
|
@@ -1210,6 +1244,10 @@
|
|
|
1210
1244
|
|
|
1211
1245
|
// @@replace logic
|
|
1212
1246
|
fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
|
|
1247
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
|
|
1248
|
+
var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
|
|
1249
|
+
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
1250
|
+
|
|
1213
1251
|
return [
|
|
1214
1252
|
// `String.prototype.replace` method
|
|
1215
1253
|
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
|
@@ -1223,7 +1261,10 @@
|
|
|
1223
1261
|
// `RegExp.prototype[@@replace]` method
|
|
1224
1262
|
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
|
|
1225
1263
|
function (regexp, replaceValue) {
|
|
1226
|
-
if (
|
|
1264
|
+
if (
|
|
1265
|
+
(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
|
|
1266
|
+
(typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
|
|
1267
|
+
) {
|
|
1227
1268
|
var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
|
|
1228
1269
|
if (res.done) return res.value;
|
|
1229
1270
|
}
|
|
@@ -1405,6 +1446,19 @@
|
|
|
1405
1446
|
return _setPrototypeOf(o, p);
|
|
1406
1447
|
}
|
|
1407
1448
|
|
|
1449
|
+
function _isNativeReflectConstruct() {
|
|
1450
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
1451
|
+
if (Reflect.construct.sham) return false;
|
|
1452
|
+
if (typeof Proxy === "function") return true;
|
|
1453
|
+
|
|
1454
|
+
try {
|
|
1455
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
|
1456
|
+
return true;
|
|
1457
|
+
} catch (e) {
|
|
1458
|
+
return false;
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1408
1462
|
function _assertThisInitialized(self) {
|
|
1409
1463
|
if (self === void 0) {
|
|
1410
1464
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -1421,6 +1475,25 @@
|
|
|
1421
1475
|
return _assertThisInitialized(self);
|
|
1422
1476
|
}
|
|
1423
1477
|
|
|
1478
|
+
function _createSuper(Derived) {
|
|
1479
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
1480
|
+
|
|
1481
|
+
return function _createSuperInternal() {
|
|
1482
|
+
var Super = _getPrototypeOf(Derived),
|
|
1483
|
+
result;
|
|
1484
|
+
|
|
1485
|
+
if (hasNativeReflectConstruct) {
|
|
1486
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
1487
|
+
|
|
1488
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
1489
|
+
} else {
|
|
1490
|
+
result = Super.apply(this, arguments);
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
return _possibleConstructorReturn(this, result);
|
|
1494
|
+
};
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1424
1497
|
function _superPropBase(object, property) {
|
|
1425
1498
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
|
1426
1499
|
object = _getPrototypeOf(object);
|
|
@@ -1452,7 +1525,7 @@
|
|
|
1452
1525
|
}
|
|
1453
1526
|
|
|
1454
1527
|
function _slicedToArray(arr, i) {
|
|
1455
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
|
1528
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
1456
1529
|
}
|
|
1457
1530
|
|
|
1458
1531
|
function _arrayWithHoles(arr) {
|
|
@@ -1460,10 +1533,7 @@
|
|
|
1460
1533
|
}
|
|
1461
1534
|
|
|
1462
1535
|
function _iterableToArrayLimit(arr, i) {
|
|
1463
|
-
if (!(Symbol.iterator in Object(arr)
|
|
1464
|
-
return;
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1536
|
+
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
|
|
1467
1537
|
var _arr = [];
|
|
1468
1538
|
var _n = true;
|
|
1469
1539
|
var _d = false;
|
|
@@ -1489,8 +1559,25 @@
|
|
|
1489
1559
|
return _arr;
|
|
1490
1560
|
}
|
|
1491
1561
|
|
|
1562
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
1563
|
+
if (!o) return;
|
|
1564
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
1565
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1566
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1567
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1568
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
function _arrayLikeToArray(arr, len) {
|
|
1572
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
1573
|
+
|
|
1574
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
1575
|
+
|
|
1576
|
+
return arr2;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1492
1579
|
function _nonIterableRest() {
|
|
1493
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
1580
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1494
1581
|
}
|
|
1495
1582
|
|
|
1496
1583
|
/**
|
|
@@ -1589,20 +1676,20 @@
|
|
|
1589
1676
|
window.history.pushState({}, '', _buildUrl(params));
|
|
1590
1677
|
}
|
|
1591
1678
|
|
|
1592
|
-
|
|
1679
|
+
$__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
|
|
1593
1680
|
addrbar: false,
|
|
1594
1681
|
addrPrefix: ''
|
|
1595
1682
|
});
|
|
1596
1683
|
|
|
1597
|
-
|
|
1598
|
-
/*#__PURE__*/
|
|
1599
|
-
function (_$$BootstrapTable) {
|
|
1684
|
+
$__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
|
|
1600
1685
|
_inherits(_class, _$$BootstrapTable);
|
|
1601
1686
|
|
|
1687
|
+
var _super = _createSuper(_class);
|
|
1688
|
+
|
|
1602
1689
|
function _class() {
|
|
1603
1690
|
_classCallCheck(this, _class);
|
|
1604
1691
|
|
|
1605
|
-
return
|
|
1692
|
+
return _super.apply(this, arguments);
|
|
1606
1693
|
}
|
|
1607
1694
|
|
|
1608
1695
|
_createClass(_class, [{
|
|
@@ -1662,15 +1749,15 @@
|
|
|
1662
1749
|
}, {
|
|
1663
1750
|
key: "getDefaultOptionValue",
|
|
1664
1751
|
value: function getDefaultOptionValue(optionName, prefixName) {
|
|
1665
|
-
if (this.options[optionName] !==
|
|
1752
|
+
if (this.options[optionName] !== $__default['default'].BootstrapTable.DEFAULTS[optionName]) {
|
|
1666
1753
|
return this.options[optionName];
|
|
1667
1754
|
}
|
|
1668
1755
|
|
|
1669
|
-
return _GET("".concat(this.options.addrPrefix || '').concat(prefixName)) ||
|
|
1756
|
+
return _GET("".concat(this.options.addrPrefix || '').concat(prefixName)) || $__default['default'].BootstrapTable.DEFAULTS[optionName];
|
|
1670
1757
|
}
|
|
1671
1758
|
}]);
|
|
1672
1759
|
|
|
1673
1760
|
return _class;
|
|
1674
|
-
}(
|
|
1761
|
+
}($__default['default'].BootstrapTable);
|
|
1675
1762
|
|
|
1676
1763
|
})));
|