bootstrap-table-rails 1.20.0 → 1.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +82 -61
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +82 -61
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +6 -6
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +217 -143
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +114 -87
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +84 -64
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +111 -75
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +84 -64
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +84 -64
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +84 -63
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +93 -68
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +426 -367
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +104 -72
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +80 -60
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +85 -65
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +83 -62
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +87 -61
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +105 -73
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +79 -59
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +76 -57
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +92 -66
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +79 -59
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +80 -57
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +79 -59
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +96 -69
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +76 -57
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +75 -56
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +85 -59
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +5 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +85 -59
- metadata +1 -2
- data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
@@ -233,7 +233,7 @@
|
|
233
233
|
|
234
234
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
235
235
|
var global_1 =
|
236
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
236
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
237
237
|
check(typeof globalThis == 'object' && globalThis) ||
|
238
238
|
check(typeof window == 'object' && window) ||
|
239
239
|
// eslint-disable-next-line no-restricted-globals -- safe
|
@@ -252,11 +252,12 @@
|
|
252
252
|
|
253
253
|
// Detect IE8's incomplete defineProperty implementation
|
254
254
|
var descriptors = !fails(function () {
|
255
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
255
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
256
256
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
257
257
|
});
|
258
258
|
|
259
259
|
var functionBindNative = !fails(function () {
|
260
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
260
261
|
var test = (function () { /* empty */ }).bind();
|
261
262
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
262
263
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
@@ -269,7 +270,7 @@
|
|
269
270
|
};
|
270
271
|
|
271
272
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
272
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
273
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
273
274
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
274
275
|
|
275
276
|
// Nashorn ~ JDK8 bug
|
@@ -391,11 +392,11 @@
|
|
391
392
|
|
392
393
|
var engineV8Version = version;
|
393
394
|
|
394
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
395
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
395
396
|
|
396
397
|
|
397
398
|
|
398
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
399
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
399
400
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
400
401
|
var symbol = Symbol();
|
401
402
|
// Chrome 38 Symbol has incorrect toString conversion
|
@@ -405,7 +406,7 @@
|
|
405
406
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
406
407
|
});
|
407
408
|
|
408
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
409
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
409
410
|
|
410
411
|
|
411
412
|
var useSymbolAsUid = nativeSymbol
|
@@ -458,7 +459,7 @@
|
|
458
459
|
throw TypeError$9("Can't convert object to primitive value");
|
459
460
|
};
|
460
461
|
|
461
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
462
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
462
463
|
var defineProperty = Object.defineProperty;
|
463
464
|
|
464
465
|
var setGlobal = function (key, value) {
|
@@ -478,10 +479,10 @@
|
|
478
479
|
(module.exports = function (key, value) {
|
479
480
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
480
481
|
})('versions', []).push({
|
481
|
-
version: '3.
|
482
|
+
version: '3.22.4',
|
482
483
|
mode: 'global',
|
483
484
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
484
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
485
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
485
486
|
source: 'https://github.com/zloirock/core-js'
|
486
487
|
});
|
487
488
|
});
|
@@ -498,6 +499,7 @@
|
|
498
499
|
|
499
500
|
// `HasOwnProperty` abstract operation
|
500
501
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
502
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
501
503
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
502
504
|
return hasOwnProperty(toObject(it), key);
|
503
505
|
};
|
@@ -564,13 +566,13 @@
|
|
564
566
|
|
565
567
|
// Thanks to IE8 for its funny defineProperty
|
566
568
|
var ie8DomDefine = !descriptors && !fails(function () {
|
567
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
569
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
568
570
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
569
571
|
get: function () { return 7; }
|
570
572
|
}).a != 7;
|
571
573
|
});
|
572
574
|
|
573
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
575
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
574
576
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
575
577
|
|
576
578
|
// `Object.getOwnPropertyDescriptor` method
|
@@ -591,7 +593,7 @@
|
|
591
593
|
// V8 ~ Chrome 36-
|
592
594
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
593
595
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
594
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
596
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
595
597
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
596
598
|
value: 42,
|
597
599
|
writable: false
|
@@ -608,9 +610,9 @@
|
|
608
610
|
};
|
609
611
|
|
610
612
|
var TypeError$6 = global_1.TypeError;
|
611
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
613
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
612
614
|
var $defineProperty = Object.defineProperty;
|
613
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
615
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
614
616
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
615
617
|
var ENUMERABLE = 'enumerable';
|
616
618
|
var CONFIGURABLE$1 = 'configurable';
|
@@ -656,6 +658,21 @@
|
|
656
658
|
return object;
|
657
659
|
};
|
658
660
|
|
661
|
+
var FunctionPrototype$1 = Function.prototype;
|
662
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
663
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
664
|
+
|
665
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
666
|
+
// additional protection from minified / mangled / dropped function names
|
667
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
668
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
669
|
+
|
670
|
+
var functionName = {
|
671
|
+
EXISTS: EXISTS,
|
672
|
+
PROPER: PROPER,
|
673
|
+
CONFIGURABLE: CONFIGURABLE
|
674
|
+
};
|
675
|
+
|
659
676
|
var functionToString = functionUncurryThis(Function.toString);
|
660
677
|
|
661
678
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
@@ -739,50 +756,56 @@
|
|
739
756
|
getterFor: getterFor
|
740
757
|
};
|
741
758
|
|
742
|
-
var
|
743
|
-
|
744
|
-
var
|
745
|
-
|
746
|
-
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
747
|
-
// additional protection from minified / mangled / dropped function names
|
748
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
749
|
-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
759
|
+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
760
|
+
var defineProperty = objectDefineProperty.f;
|
761
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
750
762
|
|
751
|
-
var functionName = {
|
752
|
-
EXISTS: EXISTS,
|
753
|
-
PROPER: PROPER,
|
754
|
-
CONFIGURABLE: CONFIGURABLE
|
755
|
-
};
|
756
763
|
|
757
|
-
var redefine = createCommonjsModule(function (module) {
|
758
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
759
764
|
|
760
|
-
var getInternalState = internalState.get;
|
761
765
|
var enforceInternalState = internalState.enforce;
|
766
|
+
var getInternalState = internalState.get;
|
767
|
+
|
768
|
+
var CONFIGURABLE_LENGTH = !fails(function () {
|
769
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
770
|
+
});
|
771
|
+
|
762
772
|
var TEMPLATE = String(String).split('String');
|
763
773
|
|
764
|
-
|
774
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
775
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
776
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
777
|
+
}
|
778
|
+
if (options && options.getter) name = 'get ' + name;
|
779
|
+
if (options && options.setter) name = 'set ' + name;
|
780
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
781
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
782
|
+
}
|
783
|
+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
784
|
+
defineProperty(value, 'length', { value: options.arity });
|
785
|
+
}
|
786
|
+
var state = enforceInternalState(value);
|
787
|
+
if (!hasOwnProperty_1(state, 'source')) {
|
788
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
789
|
+
} return value;
|
790
|
+
};
|
791
|
+
|
792
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
793
|
+
// eslint-disable-next-line no-extend-native -- required
|
794
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
795
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
796
|
+
}, 'toString');
|
797
|
+
});
|
798
|
+
|
799
|
+
var defineBuiltIn = function (O, key, value, options) {
|
765
800
|
var unsafe = options ? !!options.unsafe : false;
|
766
801
|
var simple = options ? !!options.enumerable : false;
|
767
802
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
768
803
|
var name = options && options.name !== undefined ? options.name : key;
|
769
|
-
|
770
|
-
if (isCallable(value)) {
|
771
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
772
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
773
|
-
}
|
774
|
-
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
775
|
-
createNonEnumerableProperty(value, 'name', name);
|
776
|
-
}
|
777
|
-
state = enforceInternalState(value);
|
778
|
-
if (!state.source) {
|
779
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
780
|
-
}
|
781
|
-
}
|
804
|
+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
782
805
|
if (O === global_1) {
|
783
806
|
if (simple) O[key] = value;
|
784
807
|
else setGlobal(key, value);
|
785
|
-
return;
|
808
|
+
return O;
|
786
809
|
} else if (!unsafe) {
|
787
810
|
delete O[key];
|
788
811
|
} else if (!noTargetGet && O[key]) {
|
@@ -790,11 +813,8 @@
|
|
790
813
|
}
|
791
814
|
if (simple) O[key] = value;
|
792
815
|
else createNonEnumerableProperty(O, key, value);
|
793
|
-
|
794
|
-
}
|
795
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
796
|
-
});
|
797
|
-
});
|
816
|
+
return O;
|
817
|
+
};
|
798
818
|
|
799
819
|
var ceil = Math.ceil;
|
800
820
|
var floor$1 = Math.floor;
|
@@ -894,7 +914,7 @@
|
|
894
914
|
|
895
915
|
// `Object.getOwnPropertyNames` method
|
896
916
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
897
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
917
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
898
918
|
var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
899
919
|
return objectKeysInternal(O, hiddenKeys);
|
900
920
|
};
|
@@ -903,7 +923,7 @@
|
|
903
923
|
f: f$2
|
904
924
|
};
|
905
925
|
|
906
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
926
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
907
927
|
var f$1 = Object.getOwnPropertySymbols;
|
908
928
|
|
909
929
|
var objectGetOwnPropertySymbols = {
|
@@ -1001,21 +1021,20 @@
|
|
1001
1021
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1002
1022
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1003
1023
|
}
|
1004
|
-
|
1005
|
-
redefine(target, key, sourceProperty, options);
|
1024
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
1006
1025
|
}
|
1007
1026
|
};
|
1008
1027
|
|
1009
1028
|
// `Object.keys` method
|
1010
1029
|
// https://tc39.es/ecma262/#sec-object.keys
|
1011
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
1030
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
1012
1031
|
var objectKeys = Object.keys || function keys(O) {
|
1013
1032
|
return objectKeysInternal(O, enumBugKeys);
|
1014
1033
|
};
|
1015
1034
|
|
1016
1035
|
// `Object.defineProperties` method
|
1017
1036
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
1018
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
1037
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
1019
1038
|
var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
1020
1039
|
anObject(O);
|
1021
1040
|
var props = toIndexedObject(Properties);
|
@@ -1104,6 +1123,7 @@
|
|
1104
1123
|
|
1105
1124
|
// `Object.create` method
|
1106
1125
|
// https://tc39.es/ecma262/#sec-object.create
|
1126
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
1107
1127
|
var objectCreate = Object.create || function create(O, Properties) {
|
1108
1128
|
var result;
|
1109
1129
|
if (O !== null) {
|
@@ -1136,9 +1156,15 @@
|
|
1136
1156
|
var $includes = arrayIncludes.includes;
|
1137
1157
|
|
1138
1158
|
|
1159
|
+
|
1160
|
+
// FF99+ bug
|
1161
|
+
var BROKEN_ON_SPARSE = fails(function () {
|
1162
|
+
return !Array(1).includes();
|
1163
|
+
});
|
1164
|
+
|
1139
1165
|
// `Array.prototype.includes` method
|
1140
1166
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
1141
|
-
_export({ target: 'Array', proto: true }, {
|
1167
|
+
_export({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
1142
1168
|
includes: function includes(el /* , fromIndex = 0 */) {
|
1143
1169
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
1144
1170
|
}
|
@@ -1233,7 +1259,7 @@
|
|
1233
1259
|
|
1234
1260
|
// `IsArray` abstract operation
|
1235
1261
|
// https://tc39.es/ecma262/#sec-isarray
|
1236
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
1262
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
1237
1263
|
var isArray = Array.isArray || function isArray(argument) {
|
1238
1264
|
return classofRaw(argument) == 'Array';
|
1239
1265
|
};
|
@@ -1357,7 +1383,7 @@
|
|
1357
1383
|
// `Array.prototype.concat` method
|
1358
1384
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
1359
1385
|
// with adding support of @@isConcatSpreadable and @@species
|
1360
|
-
_export({ target: 'Array', proto: true, forced: FORCED }, {
|
1386
|
+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
1361
1387
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
1362
1388
|
concat: function concat(arg) {
|
1363
1389
|
var O = toObject(this);
|
@@ -1385,6 +1411,7 @@
|
|
1385
1411
|
var regexpFlags = function () {
|
1386
1412
|
var that = anObject(this);
|
1387
1413
|
var result = '';
|
1414
|
+
if (that.hasIndices) result += 'd';
|
1388
1415
|
if (that.global) result += 'g';
|
1389
1416
|
if (that.ignoreCase) result += 'i';
|
1390
1417
|
if (that.multiline) result += 'm';
|
@@ -1566,7 +1593,7 @@
|
|
1566
1593
|
var apply = FunctionPrototype.apply;
|
1567
1594
|
var call = FunctionPrototype.call;
|
1568
1595
|
|
1569
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
1596
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
1570
1597
|
var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call.bind(apply) : function () {
|
1571
1598
|
return call.apply(apply, arguments);
|
1572
1599
|
});
|
@@ -1581,7 +1608,7 @@
|
|
1581
1608
|
|
1582
1609
|
|
1583
1610
|
var SPECIES$1 = wellKnownSymbol('species');
|
1584
|
-
var RegExpPrototype$
|
1611
|
+
var RegExpPrototype$2 = RegExp.prototype;
|
1585
1612
|
|
1586
1613
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
1587
1614
|
var SYMBOL = wellKnownSymbol(KEY);
|
@@ -1626,7 +1653,7 @@
|
|
1626
1653
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
1627
1654
|
var uncurriedNativeMethod = functionUncurryThis(nativeMethod);
|
1628
1655
|
var $exec = regexp.exec;
|
1629
|
-
if ($exec === regexpExec || $exec === RegExpPrototype$
|
1656
|
+
if ($exec === regexpExec || $exec === RegExpPrototype$2.exec) {
|
1630
1657
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
1631
1658
|
// The native String method already delegates to @@method (this
|
1632
1659
|
// polyfilled function), leasing to infinite recursion.
|
@@ -1638,11 +1665,11 @@
|
|
1638
1665
|
return { done: false };
|
1639
1666
|
});
|
1640
1667
|
|
1641
|
-
|
1642
|
-
|
1668
|
+
defineBuiltIn(String.prototype, KEY, methods[0]);
|
1669
|
+
defineBuiltIn(RegExpPrototype$2, SYMBOL, methods[1]);
|
1643
1670
|
}
|
1644
1671
|
|
1645
|
-
if (SHAM) createNonEnumerableProperty(RegExpPrototype$
|
1672
|
+
if (SHAM) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true);
|
1646
1673
|
};
|
1647
1674
|
|
1648
1675
|
var charAt$2 = functionUncurryThis(''.charAt);
|
@@ -1870,7 +1897,7 @@
|
|
1870
1897
|
// `Object.prototype.toString` method
|
1871
1898
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
1872
1899
|
if (!toStringTagSupport) {
|
1873
|
-
|
1900
|
+
defineBuiltIn(Object.prototype, 'toString', objectToString, { unsafe: true });
|
1874
1901
|
}
|
1875
1902
|
|
1876
1903
|
// iterable DOM collections
|
@@ -2011,7 +2038,7 @@
|
|
2011
2038
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
2012
2039
|
var arrayForEach = !STRICT_METHOD$1 ? function forEach(callbackfn /* , thisArg */) {
|
2013
2040
|
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
2014
|
-
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
2041
|
+
// eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
|
2015
2042
|
} : [].forEach;
|
2016
2043
|
|
2017
2044
|
var handlePrototype = function (CollectionPrototype) {
|
@@ -2031,8 +2058,15 @@
|
|
2031
2058
|
|
2032
2059
|
handlePrototype(domTokenListPrototype);
|
2033
2060
|
|
2034
|
-
var
|
2061
|
+
var RegExpPrototype$1 = RegExp.prototype;
|
2062
|
+
|
2063
|
+
var regexpGetFlags = function (R) {
|
2064
|
+
var flags = R.flags;
|
2065
|
+
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwnProperty_1(R, 'flags') && objectIsPrototypeOf(RegExpPrototype$1, R)
|
2066
|
+
? functionCall(regexpFlags, R) : flags;
|
2067
|
+
};
|
2035
2068
|
|
2069
|
+
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
2036
2070
|
|
2037
2071
|
|
2038
2072
|
|
@@ -2042,7 +2076,6 @@
|
|
2042
2076
|
var TO_STRING = 'toString';
|
2043
2077
|
var RegExpPrototype = RegExp.prototype;
|
2044
2078
|
var n$ToString = RegExpPrototype[TO_STRING];
|
2045
|
-
var getFlags = functionUncurryThis(regexpFlags);
|
2046
2079
|
|
2047
2080
|
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
2048
2081
|
// FF44- RegExp#toString has a wrong name
|
@@ -2051,12 +2084,11 @@
|
|
2051
2084
|
// `RegExp.prototype.toString` method
|
2052
2085
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
2053
2086
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
2054
|
-
|
2087
|
+
defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
|
2055
2088
|
var R = anObject(this);
|
2056
|
-
var
|
2057
|
-
var
|
2058
|
-
|
2059
|
-
return '/' + p + '/' + f;
|
2089
|
+
var pattern = toString_1(R.source);
|
2090
|
+
var flags = toString_1(regexpGetFlags(R));
|
2091
|
+
return '/' + pattern + '/' + flags;
|
2060
2092
|
}, { unsafe: true });
|
2061
2093
|
}
|
2062
2094
|
|
@@ -2279,7 +2311,7 @@
|
|
2279
2311
|
|
2280
2312
|
// `SameValue` abstract operation
|
2281
2313
|
// https://tc39.es/ecma262/#sec-samevalue
|
2282
|
-
// eslint-disable-next-line es/no-object-is -- safe
|
2314
|
+
// eslint-disable-next-line es-x/no-object-is -- safe
|
2283
2315
|
var sameValue = Object.is || function is(x, y) {
|
2284
2316
|
// eslint-disable-next-line no-self-compare -- NaN check
|
2285
2317
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
@@ -2662,6 +2694,10 @@
|
|
2662
2694
|
|
2663
2695
|
(_get5 = _get(_getPrototypeOf(_class.prototype), "onMultipleSort", this)).call.apply(_get5, [this].concat(args));
|
2664
2696
|
|
2697
|
+
if (!this.options.cookie) {
|
2698
|
+
return;
|
2699
|
+
}
|
2700
|
+
|
2665
2701
|
if (this.options.sortPriority === undefined) {
|
2666
2702
|
UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds.sortPriority);
|
2667
2703
|
} else {
|