bootstrap-table-rails 1.15.5 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +143 -36
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +1012 -83
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +684 -208
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +686 -210
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +75 -12
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +1617 -763
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +280 -93
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +200 -78
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1349 -258
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +216 -77
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +1198 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +83 -42
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +1219 -208
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +458 -204
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +1 -1
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +1420 -901
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +2361 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.css +12 -14
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +589 -423
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.css +3 -2
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +552 -487
- data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +3 -3
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +219 -74
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +143 -66
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +326 -462
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +137 -65
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +87 -42
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +452 -155
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +643 -255
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +348 -136
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +84 -44
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.css +0 -1
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +218 -76
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +558 -217
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +221 -115
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +777 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +120 -63
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +99 -43
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +113 -57
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +99 -43
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +102 -45
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +98 -42
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +776 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +1049 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/fonts/bootstrap-table.eot +0 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/fonts/bootstrap-table.svg +28 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/fonts/bootstrap-table.ttf +0 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/fonts/bootstrap-table.woff +0 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +89 -13
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +161 -63
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +88 -15
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +166 -65
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +83 -11
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +164 -66
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +89 -15
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +164 -66
- metadata +10 -5
- data/vendor/assets/javascripts/bootstrap-table/extensions/accent-neutralise/bootstrap-table-accent-neutralise.js +0 -1757
- data/vendor/assets/javascripts/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.css +0 -12
- data/vendor/assets/javascripts/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.js +0 -2087
- data/vendor/assets/javascripts/bootstrap-table/extensions/natural-sorting/bootstrap-table-natural-sorting.js +0 -1265
data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js
CHANGED
@@ -2,9 +2,9 @@
|
|
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
|
+
$ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
|
8
8
|
|
9
9
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
10
10
|
|
@@ -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 ==
|
24
|
-
check(typeof window ==
|
25
|
-
check(typeof self ==
|
26
|
-
check(typeof 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
|
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
|
-
|
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
|
218
|
+
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
203
219
|
})('versions', []).push({
|
204
|
-
version: '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
|
-
|
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(
|
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'))
|
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
|
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 ||
|
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(
|
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
|
-
|
522
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
517
523
|
}
|
518
524
|
// extend global
|
519
525
|
redefine(target, key, sourceProperty, options);
|
@@ -544,12 +550,21 @@
|
|
544
550
|
return !String(Symbol());
|
545
551
|
});
|
546
552
|
|
553
|
+
var useSymbolAsUid = nativeSymbol
|
554
|
+
// eslint-disable-next-line no-undef
|
555
|
+
&& !Symbol.sham
|
556
|
+
// eslint-disable-next-line no-undef
|
557
|
+
&& typeof Symbol() == 'symbol';
|
558
|
+
|
559
|
+
var WellKnownSymbolsStore = shared('wks');
|
547
560
|
var Symbol$1 = global_1.Symbol;
|
548
|
-
var
|
561
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
|
549
562
|
|
550
563
|
var wellKnownSymbol = function (name) {
|
551
|
-
|
552
|
-
|
564
|
+
if (!has(WellKnownSymbolsStore, name)) {
|
565
|
+
if (nativeSymbol && has(Symbol$1, name)) WellKnownSymbolsStore[name] = Symbol$1[name];
|
566
|
+
else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
|
567
|
+
} return WellKnownSymbolsStore[name];
|
553
568
|
};
|
554
569
|
|
555
570
|
var SPECIES = wellKnownSymbol('species');
|
@@ -569,10 +584,33 @@
|
|
569
584
|
} return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
|
570
585
|
};
|
571
586
|
|
587
|
+
var userAgent = getBuiltIn('navigator', 'userAgent') || '';
|
588
|
+
|
589
|
+
var process = global_1.process;
|
590
|
+
var versions = process && process.versions;
|
591
|
+
var v8 = versions && versions.v8;
|
592
|
+
var match, version;
|
593
|
+
|
594
|
+
if (v8) {
|
595
|
+
match = v8.split('.');
|
596
|
+
version = match[0] + match[1];
|
597
|
+
} else if (userAgent) {
|
598
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
599
|
+
if (!match || match[1] >= 74) {
|
600
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
601
|
+
if (match) version = match[1];
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
605
|
+
var v8Version = version && +version;
|
606
|
+
|
572
607
|
var SPECIES$1 = wellKnownSymbol('species');
|
573
608
|
|
574
609
|
var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
|
575
|
-
|
610
|
+
// We can't use this feature detection in V8 since it causes
|
611
|
+
// deoptimization and serious performance degradation
|
612
|
+
// https://github.com/zloirock/core-js/issues/677
|
613
|
+
return v8Version >= 51 || !fails(function () {
|
576
614
|
var array = [];
|
577
615
|
var constructor = array.constructor = {};
|
578
616
|
constructor[SPECIES$1] = function () {
|
@@ -586,7 +624,10 @@
|
|
586
624
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
587
625
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
588
626
|
|
589
|
-
|
627
|
+
// We can't use this feature detection in V8 since it causes
|
628
|
+
// deoptimization and serious performance degradation
|
629
|
+
// https://github.com/zloirock/core-js/issues/679
|
630
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = v8Version >= 51 || !fails(function () {
|
590
631
|
var array = [];
|
591
632
|
array[IS_CONCAT_SPREADABLE] = false;
|
592
633
|
return array.concat()[0] !== array;
|
@@ -739,6 +780,31 @@
|
|
739
780
|
return result;
|
740
781
|
};
|
741
782
|
|
783
|
+
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
|
784
|
+
// so we use an intermediate function.
|
785
|
+
function RE(s, f) {
|
786
|
+
return RegExp(s, f);
|
787
|
+
}
|
788
|
+
|
789
|
+
var UNSUPPORTED_Y = fails(function () {
|
790
|
+
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
791
|
+
var re = RE('a', 'y');
|
792
|
+
re.lastIndex = 2;
|
793
|
+
return re.exec('abcd') != null;
|
794
|
+
});
|
795
|
+
|
796
|
+
var BROKEN_CARET = fails(function () {
|
797
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
798
|
+
var re = RE('^r', 'gy');
|
799
|
+
re.lastIndex = 2;
|
800
|
+
return re.exec('str') != null;
|
801
|
+
});
|
802
|
+
|
803
|
+
var regexpStickyHelpers = {
|
804
|
+
UNSUPPORTED_Y: UNSUPPORTED_Y,
|
805
|
+
BROKEN_CARET: BROKEN_CARET
|
806
|
+
};
|
807
|
+
|
742
808
|
var SPECIES$2 = wellKnownSymbol('species');
|
743
809
|
|
744
810
|
var setSpecies = function (CONSTRUCTOR_NAME) {
|
@@ -760,6 +826,8 @@
|
|
760
826
|
|
761
827
|
|
762
828
|
|
829
|
+
var setInternalState = internalState.set;
|
830
|
+
|
763
831
|
|
764
832
|
|
765
833
|
var MATCH$1 = wellKnownSymbol('match');
|
@@ -771,7 +839,9 @@
|
|
771
839
|
// "new" should create a new object, old webkit bug
|
772
840
|
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
773
841
|
|
774
|
-
var
|
842
|
+
var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y;
|
843
|
+
|
844
|
+
var FORCED$1 = descriptors && isForced_1('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y$1 || fails(function () {
|
775
845
|
re2[MATCH$1] = false;
|
776
846
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
777
847
|
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
|
@@ -784,13 +854,33 @@
|
|
784
854
|
var thisIsRegExp = this instanceof RegExpWrapper;
|
785
855
|
var patternIsRegExp = isRegexp(pattern);
|
786
856
|
var flagsAreUndefined = flags === undefined;
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
857
|
+
var sticky;
|
858
|
+
|
859
|
+
if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {
|
860
|
+
return pattern;
|
861
|
+
}
|
862
|
+
|
863
|
+
if (CORRECT_NEW) {
|
864
|
+
if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;
|
865
|
+
} else if (pattern instanceof RegExpWrapper) {
|
866
|
+
if (flagsAreUndefined) flags = regexpFlags.call(pattern);
|
867
|
+
pattern = pattern.source;
|
868
|
+
}
|
869
|
+
|
870
|
+
if (UNSUPPORTED_Y$1) {
|
871
|
+
sticky = !!flags && flags.indexOf('y') > -1;
|
872
|
+
if (sticky) flags = flags.replace(/y/g, '');
|
873
|
+
}
|
874
|
+
|
875
|
+
var result = inheritIfRequired(
|
876
|
+
CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),
|
877
|
+
thisIsRegExp ? this : RegExpPrototype,
|
878
|
+
RegExpWrapper
|
879
|
+
);
|
880
|
+
|
881
|
+
if (UNSUPPORTED_Y$1 && sticky) setInternalState(result, { sticky: sticky });
|
882
|
+
|
883
|
+
return result;
|
794
884
|
};
|
795
885
|
var proxy = function (key) {
|
796
886
|
key in RegExpWrapper || defineProperty(RegExpWrapper, key, {
|
@@ -810,26 +900,6 @@
|
|
810
900
|
// https://tc39.github.io/ecma262/#sec-get-regexp-@@species
|
811
901
|
setSpecies('RegExp');
|
812
902
|
|
813
|
-
var TO_STRING = 'toString';
|
814
|
-
var RegExpPrototype$1 = RegExp.prototype;
|
815
|
-
var nativeToString = RegExpPrototype$1[TO_STRING];
|
816
|
-
|
817
|
-
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
818
|
-
// FF44- RegExp#toString has a wrong name
|
819
|
-
var INCORRECT_NAME = nativeToString.name != TO_STRING;
|
820
|
-
|
821
|
-
// `RegExp.prototype.toString` method
|
822
|
-
// https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring
|
823
|
-
if (NOT_GENERIC || INCORRECT_NAME) {
|
824
|
-
redefine(RegExp.prototype, TO_STRING, function toString() {
|
825
|
-
var R = anObject(this);
|
826
|
-
var p = String(R.source);
|
827
|
-
var rf = R.flags;
|
828
|
-
var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? regexpFlags.call(R) : rf);
|
829
|
-
return '/' + p + '/' + f;
|
830
|
-
}, { unsafe: true });
|
831
|
-
}
|
832
|
-
|
833
903
|
var nativeExec = RegExp.prototype.exec;
|
834
904
|
// This always refers to the native implementation, because the
|
835
905
|
// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
|
@@ -846,24 +916,56 @@
|
|
846
916
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
847
917
|
})();
|
848
918
|
|
919
|
+
var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
|
920
|
+
|
849
921
|
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
850
922
|
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
851
923
|
|
852
|
-
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
|
924
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2;
|
853
925
|
|
854
926
|
if (PATCH) {
|
855
927
|
patchedExec = function exec(str) {
|
856
928
|
var re = this;
|
857
929
|
var lastIndex, reCopy, match, i;
|
930
|
+
var sticky = UNSUPPORTED_Y$2 && re.sticky;
|
931
|
+
var flags = regexpFlags.call(re);
|
932
|
+
var source = re.source;
|
933
|
+
var charsAdded = 0;
|
934
|
+
var strCopy = str;
|
935
|
+
|
936
|
+
if (sticky) {
|
937
|
+
flags = flags.replace('y', '');
|
938
|
+
if (flags.indexOf('g') === -1) {
|
939
|
+
flags += 'g';
|
940
|
+
}
|
941
|
+
|
942
|
+
strCopy = String(str).slice(re.lastIndex);
|
943
|
+
// Support anchored sticky behavior.
|
944
|
+
if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
|
945
|
+
source = '(?: ' + source + ')';
|
946
|
+
strCopy = ' ' + strCopy;
|
947
|
+
charsAdded++;
|
948
|
+
}
|
949
|
+
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
950
|
+
// simulate the 'y' flag.
|
951
|
+
reCopy = new RegExp('^(?:' + source + ')', flags);
|
952
|
+
}
|
858
953
|
|
859
954
|
if (NPCG_INCLUDED) {
|
860
|
-
reCopy = new RegExp('^' +
|
955
|
+
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
861
956
|
}
|
862
957
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
863
958
|
|
864
|
-
match = nativeExec.call(re,
|
959
|
+
match = nativeExec.call(sticky ? reCopy : re, strCopy);
|
865
960
|
|
866
|
-
if (
|
961
|
+
if (sticky) {
|
962
|
+
if (match) {
|
963
|
+
match.input = match.input.slice(charsAdded);
|
964
|
+
match[0] = match[0].slice(charsAdded);
|
965
|
+
match.index = re.lastIndex;
|
966
|
+
re.lastIndex += match[0].length;
|
967
|
+
} else re.lastIndex = 0;
|
968
|
+
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
867
969
|
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
868
970
|
}
|
869
971
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
@@ -882,6 +984,30 @@
|
|
882
984
|
|
883
985
|
var regexpExec = patchedExec;
|
884
986
|
|
987
|
+
_export({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, {
|
988
|
+
exec: regexpExec
|
989
|
+
});
|
990
|
+
|
991
|
+
var TO_STRING = 'toString';
|
992
|
+
var RegExpPrototype$1 = RegExp.prototype;
|
993
|
+
var nativeToString = RegExpPrototype$1[TO_STRING];
|
994
|
+
|
995
|
+
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
996
|
+
// FF44- RegExp#toString has a wrong name
|
997
|
+
var INCORRECT_NAME = nativeToString.name != TO_STRING;
|
998
|
+
|
999
|
+
// `RegExp.prototype.toString` method
|
1000
|
+
// https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring
|
1001
|
+
if (NOT_GENERIC || INCORRECT_NAME) {
|
1002
|
+
redefine(RegExp.prototype, TO_STRING, function toString() {
|
1003
|
+
var R = anObject(this);
|
1004
|
+
var p = String(R.source);
|
1005
|
+
var rf = R.flags;
|
1006
|
+
var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? regexpFlags.call(R) : rf);
|
1007
|
+
return '/' + p + '/' + f;
|
1008
|
+
}, { unsafe: true });
|
1009
|
+
}
|
1010
|
+
|
885
1011
|
var SPECIES$3 = wellKnownSymbol('species');
|
886
1012
|
|
887
1013
|
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
@@ -897,6 +1023,12 @@
|
|
897
1023
|
return ''.replace(re, '$<a>') !== '7';
|
898
1024
|
});
|
899
1025
|
|
1026
|
+
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
1027
|
+
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
1028
|
+
var REPLACE_KEEPS_$0 = (function () {
|
1029
|
+
return 'a'.replace(/./, '$0') === '$0';
|
1030
|
+
})();
|
1031
|
+
|
900
1032
|
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
901
1033
|
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
902
1034
|
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
@@ -921,15 +1053,22 @@
|
|
921
1053
|
// Symbol-named RegExp methods call .exec
|
922
1054
|
var execCalled = false;
|
923
1055
|
var re = /a/;
|
924
|
-
re.exec = function () { execCalled = true; return null; };
|
925
1056
|
|
926
1057
|
if (KEY === 'split') {
|
1058
|
+
// We can't use real regex here since it causes deoptimization
|
1059
|
+
// and serious performance degradation in V8
|
1060
|
+
// https://github.com/zloirock/core-js/issues/306
|
1061
|
+
re = {};
|
927
1062
|
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
928
1063
|
// a new one. We need to return the patched regex when creating the new one.
|
929
1064
|
re.constructor = {};
|
930
1065
|
re.constructor[SPECIES$3] = function () { return re; };
|
1066
|
+
re.flags = '';
|
1067
|
+
re[SYMBOL] = /./[SYMBOL];
|
931
1068
|
}
|
932
1069
|
|
1070
|
+
re.exec = function () { execCalled = true; return null; };
|
1071
|
+
|
933
1072
|
re[SYMBOL]('');
|
934
1073
|
return !execCalled;
|
935
1074
|
});
|
@@ -937,7 +1076,7 @@
|
|
937
1076
|
if (
|
938
1077
|
!DELEGATES_TO_SYMBOL ||
|
939
1078
|
!DELEGATES_TO_EXEC ||
|
940
|
-
(KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
|
1079
|
+
(KEY === 'replace' && !(REPLACE_SUPPORTS_NAMED_GROUPS && REPLACE_KEEPS_$0)) ||
|
941
1080
|
(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
|
942
1081
|
) {
|
943
1082
|
var nativeRegExpMethod = /./[SYMBOL];
|
@@ -952,7 +1091,7 @@
|
|
952
1091
|
return { done: true, value: nativeMethod.call(str, regexp, arg2) };
|
953
1092
|
}
|
954
1093
|
return { done: false };
|
955
|
-
});
|
1094
|
+
}, { REPLACE_KEEPS_$0: REPLACE_KEEPS_$0 });
|
956
1095
|
var stringMethod = methods[0];
|
957
1096
|
var regexMethod = methods[1];
|
958
1097
|
|
@@ -965,8 +1104,9 @@
|
|
965
1104
|
// 21.2.5.9 RegExp.prototype[@@search](string)
|
966
1105
|
: function (string) { return regexMethod.call(string, this); }
|
967
1106
|
);
|
968
|
-
if (sham) hide(RegExp.prototype[SYMBOL], 'sham', true);
|
969
1107
|
}
|
1108
|
+
|
1109
|
+
if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
|
970
1110
|
};
|
971
1111
|
|
972
1112
|
// `String.prototype.{ codePointAt, at }` methods implementation
|
@@ -1069,7 +1209,7 @@
|
|
1069
1209
|
};
|
1070
1210
|
|
1071
1211
|
// @@replace logic
|
1072
|
-
fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative) {
|
1212
|
+
fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
|
1073
1213
|
return [
|
1074
1214
|
// `String.prototype.replace` method
|
1075
1215
|
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
@@ -1083,8 +1223,10 @@
|
|
1083
1223
|
// `RegExp.prototype[@@replace]` method
|
1084
1224
|
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
|
1085
1225
|
function (regexp, replaceValue) {
|
1086
|
-
|
1087
|
-
|
1226
|
+
if (reason.REPLACE_KEEPS_$0 || (typeof replaceValue === 'string' && replaceValue.indexOf('$0') === -1)) {
|
1227
|
+
var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
|
1228
|
+
if (res.done) return res.value;
|
1229
|
+
}
|
1088
1230
|
|
1089
1231
|
var rx = anObject(regexp);
|
1090
1232
|
var S = String(this);
|
@@ -1318,6 +1460,10 @@
|
|
1318
1460
|
}
|
1319
1461
|
|
1320
1462
|
function _iterableToArrayLimit(arr, i) {
|
1463
|
+
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
|
1464
|
+
return;
|
1465
|
+
}
|
1466
|
+
|
1321
1467
|
var _arr = [];
|
1322
1468
|
var _n = true;
|
1323
1469
|
var _d = false;
|
@@ -1403,6 +1549,7 @@
|
|
1403
1549
|
// 搜索name=general这种形式的字符串(&是分隔符)
|
1404
1550
|
var pattern = "".concat(key, "=([^&]*)");
|
1405
1551
|
var targetStr = "".concat(key, "=").concat(val);
|
1552
|
+
if (val === undefined) continue;
|
1406
1553
|
/*
|
1407
1554
|
* 如果目标url中包含了key键, 我们需要将它替换成我们自己的val
|
1408
1555
|
* 不然就直接添加好了.
|
@@ -1423,6 +1570,25 @@
|
|
1423
1570
|
|
1424
1571
|
return url;
|
1425
1572
|
}
|
1573
|
+
/*
|
1574
|
+
* function: _updateHistoryState
|
1575
|
+
* var _prefix = this.options.addrPrefix || ''
|
1576
|
+
* var table = this
|
1577
|
+
* _updateHistoryState( table,_prefix)
|
1578
|
+
* returns void
|
1579
|
+
*/
|
1580
|
+
|
1581
|
+
|
1582
|
+
function _updateHistoryState(table, _prefix) {
|
1583
|
+
var params = {};
|
1584
|
+
params["".concat(_prefix, "page")] = table.options.pageNumber, params["".concat(_prefix, "size")] = table.options.pageSize, params["".concat(_prefix, "order")] = table.options.sortOrder, params["".concat(_prefix, "sort")] = table.options.sortName, params["".concat(_prefix, "search")] = table.options.searchText;
|
1585
|
+
window.history.pushState({}, '', _buildUrl(params));
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
$.extend($.fn.bootstrapTable.defaults, {
|
1589
|
+
addrbar: false,
|
1590
|
+
addrPrefix: ''
|
1591
|
+
});
|
1426
1592
|
|
1427
1593
|
$.BootstrapTable =
|
1428
1594
|
/*#__PURE__*/
|
@@ -1441,34 +1607,39 @@
|
|
1441
1607
|
var _this = this,
|
1442
1608
|
_get2;
|
1443
1609
|
|
1444
|
-
if (this.options.pagination && this.options.
|
1610
|
+
if (this.options.pagination && this.options.addrbar) {
|
1445
1611
|
// 标志位, 初始加载后关闭
|
1446
1612
|
this.addrbarInit = true;
|
1613
|
+
this.options.pageNumber = +this.getDefaultOptionValue('pageNumber', 'page');
|
1614
|
+
this.options.pageSize = +this.getDefaultOptionValue('pageSize', 'size');
|
1615
|
+
this.options.sortOrder = this.getDefaultOptionValue('sortOrder', 'order');
|
1616
|
+
this.options.sortName = this.getDefaultOptionValue('sortName', 'sort');
|
1617
|
+
this.options.searchText = this.getDefaultOptionValue('searchText', 'search');
|
1447
1618
|
|
1448
|
-
var _prefix = this.options.addrPrefix || '';
|
1449
|
-
|
1619
|
+
var _prefix = this.options.addrPrefix || '';
|
1450
1620
|
|
1451
|
-
this.options.pageNumber = +_GET("".concat(_prefix, "page")) || $.BootstrapTable.DEFAULTS.pageNumber;
|
1452
|
-
this.options.pageSize = +_GET("".concat(_prefix, "size")) || $.BootstrapTable.DEFAULTS.pageSize;
|
1453
|
-
this.options.sortOrder = _GET("".concat(_prefix, "order")) || $.BootstrapTable.DEFAULTS.sortOrder;
|
1454
|
-
this.options.sortName = _GET("".concat(_prefix, "sort")) || $.BootstrapTable.DEFAULTS.sortName;
|
1455
|
-
this.options.searchText = _GET("".concat(_prefix, "search")) || $.BootstrapTable.DEFAULTS.searchText;
|
1456
1621
|
var _onLoadSuccess = this.options.onLoadSuccess;
|
1622
|
+
var _onPageChange = this.options.onPageChange;
|
1457
1623
|
|
1458
1624
|
this.options.onLoadSuccess = function (data) {
|
1459
1625
|
if (_this.addrbarInit) {
|
1460
1626
|
_this.addrbarInit = false;
|
1461
1627
|
} else {
|
1462
|
-
|
1463
|
-
params["".concat(_prefix, "page")] = _this.options.pageNumber, params["".concat(_prefix, "size")] = _this.options.pageSize, params["".concat(_prefix, "order")] = _this.options.sortOrder, params["".concat(_prefix, "sort")] = _this.options.sortName, params["".concat(_prefix, "search")] = _this.options.searchText; // h5提供的修改浏览器地址栏的方法
|
1464
|
-
|
1465
|
-
window.history.pushState({}, '', _buildUrl(params));
|
1628
|
+
_updateHistoryState(_this, _prefix);
|
1466
1629
|
}
|
1467
1630
|
|
1468
1631
|
if (_onLoadSuccess) {
|
1469
1632
|
_onLoadSuccess.call(_this, data);
|
1470
1633
|
}
|
1471
1634
|
};
|
1635
|
+
|
1636
|
+
this.options.onPageChange = function (number, size) {
|
1637
|
+
_updateHistoryState(_this, _prefix);
|
1638
|
+
|
1639
|
+
if (_onPageChange) {
|
1640
|
+
_onPageChange.call(_this, number, size);
|
1641
|
+
}
|
1642
|
+
};
|
1472
1643
|
}
|
1473
1644
|
|
1474
1645
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
@@ -1477,9 +1648,25 @@
|
|
1477
1648
|
|
1478
1649
|
(_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));
|
1479
1650
|
}
|
1651
|
+
/*
|
1652
|
+
* Priority order:
|
1653
|
+
* The value specified by the user has the highest priority.
|
1654
|
+
* If it is not specified, it will be obtained from the address bar.
|
1655
|
+
* If it is not obtained, the default value will be used.
|
1656
|
+
*/
|
1657
|
+
|
1658
|
+
}, {
|
1659
|
+
key: "getDefaultOptionValue",
|
1660
|
+
value: function getDefaultOptionValue(optionName, prefixName) {
|
1661
|
+
if (this.options[optionName] !== $.BootstrapTable.DEFAULTS[optionName]) {
|
1662
|
+
return this.options[optionName];
|
1663
|
+
}
|
1664
|
+
|
1665
|
+
return _GET("".concat(this.options.addrPrefix || '').concat(prefixName)) || $.BootstrapTable.DEFAULTS[optionName];
|
1666
|
+
}
|
1480
1667
|
}]);
|
1481
1668
|
|
1482
1669
|
return _class;
|
1483
1670
|
}($.BootstrapTable);
|
1484
1671
|
|
1485
|
-
}));
|
1672
|
+
})));
|