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
@@ -248,7 +248,7 @@
|
|
248
248
|
|
249
249
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
250
250
|
var global_1 =
|
251
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
251
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
252
252
|
check(typeof globalThis == 'object' && globalThis) ||
|
253
253
|
check(typeof window == 'object' && window) ||
|
254
254
|
// eslint-disable-next-line no-restricted-globals -- safe
|
@@ -267,11 +267,12 @@
|
|
267
267
|
|
268
268
|
// Detect IE8's incomplete defineProperty implementation
|
269
269
|
var descriptors = !fails(function () {
|
270
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
270
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
271
271
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
272
272
|
});
|
273
273
|
|
274
274
|
var functionBindNative = !fails(function () {
|
275
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
275
276
|
var test = (function () { /* empty */ }).bind();
|
276
277
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
277
278
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
@@ -284,7 +285,7 @@
|
|
284
285
|
};
|
285
286
|
|
286
287
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
287
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
288
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
288
289
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
289
290
|
|
290
291
|
// Nashorn ~ JDK8 bug
|
@@ -406,11 +407,11 @@
|
|
406
407
|
|
407
408
|
var engineV8Version = version;
|
408
409
|
|
409
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
410
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
410
411
|
|
411
412
|
|
412
413
|
|
413
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
414
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
414
415
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
415
416
|
var symbol = Symbol();
|
416
417
|
// Chrome 38 Symbol has incorrect toString conversion
|
@@ -420,7 +421,7 @@
|
|
420
421
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
421
422
|
});
|
422
423
|
|
423
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
424
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
424
425
|
|
425
426
|
|
426
427
|
var useSymbolAsUid = nativeSymbol
|
@@ -473,7 +474,7 @@
|
|
473
474
|
throw TypeError$8("Can't convert object to primitive value");
|
474
475
|
};
|
475
476
|
|
476
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
477
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
477
478
|
var defineProperty$1 = Object.defineProperty;
|
478
479
|
|
479
480
|
var setGlobal = function (key, value) {
|
@@ -493,10 +494,10 @@
|
|
493
494
|
(module.exports = function (key, value) {
|
494
495
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
495
496
|
})('versions', []).push({
|
496
|
-
version: '3.
|
497
|
+
version: '3.22.4',
|
497
498
|
mode: 'global',
|
498
499
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
499
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
500
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
500
501
|
source: 'https://github.com/zloirock/core-js'
|
501
502
|
});
|
502
503
|
});
|
@@ -513,6 +514,7 @@
|
|
513
514
|
|
514
515
|
// `HasOwnProperty` abstract operation
|
515
516
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
517
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
516
518
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
517
519
|
return hasOwnProperty(toObject(it), key);
|
518
520
|
};
|
@@ -579,13 +581,13 @@
|
|
579
581
|
|
580
582
|
// Thanks to IE8 for its funny defineProperty
|
581
583
|
var ie8DomDefine = !descriptors && !fails(function () {
|
582
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
584
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
583
585
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
584
586
|
get: function () { return 7; }
|
585
587
|
}).a != 7;
|
586
588
|
});
|
587
589
|
|
588
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
590
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
589
591
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
590
592
|
|
591
593
|
// `Object.getOwnPropertyDescriptor` method
|
@@ -606,7 +608,7 @@
|
|
606
608
|
// V8 ~ Chrome 36-
|
607
609
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
608
610
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
609
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
611
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
610
612
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
611
613
|
value: 42,
|
612
614
|
writable: false
|
@@ -623,9 +625,9 @@
|
|
623
625
|
};
|
624
626
|
|
625
627
|
var TypeError$5 = global_1.TypeError;
|
626
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
628
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
627
629
|
var $defineProperty = Object.defineProperty;
|
628
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
630
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
629
631
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
630
632
|
var ENUMERABLE = 'enumerable';
|
631
633
|
var CONFIGURABLE$1 = 'configurable';
|
@@ -671,6 +673,21 @@
|
|
671
673
|
return object;
|
672
674
|
};
|
673
675
|
|
676
|
+
var FunctionPrototype$1 = Function.prototype;
|
677
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
678
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
679
|
+
|
680
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
681
|
+
// additional protection from minified / mangled / dropped function names
|
682
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
683
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
684
|
+
|
685
|
+
var functionName = {
|
686
|
+
EXISTS: EXISTS,
|
687
|
+
PROPER: PROPER,
|
688
|
+
CONFIGURABLE: CONFIGURABLE
|
689
|
+
};
|
690
|
+
|
674
691
|
var functionToString = functionUncurryThis(Function.toString);
|
675
692
|
|
676
693
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
@@ -754,50 +771,56 @@
|
|
754
771
|
getterFor: getterFor
|
755
772
|
};
|
756
773
|
|
757
|
-
var
|
758
|
-
|
759
|
-
var
|
760
|
-
|
761
|
-
var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
762
|
-
// additional protection from minified / mangled / dropped function names
|
763
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
764
|
-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
774
|
+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
775
|
+
var defineProperty = objectDefineProperty.f;
|
776
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
765
777
|
|
766
|
-
var functionName = {
|
767
|
-
EXISTS: EXISTS,
|
768
|
-
PROPER: PROPER,
|
769
|
-
CONFIGURABLE: CONFIGURABLE
|
770
|
-
};
|
771
778
|
|
772
|
-
var redefine = createCommonjsModule(function (module) {
|
773
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
774
779
|
|
775
|
-
var getInternalState = internalState.get;
|
776
780
|
var enforceInternalState = internalState.enforce;
|
781
|
+
var getInternalState = internalState.get;
|
782
|
+
|
783
|
+
var CONFIGURABLE_LENGTH = !fails(function () {
|
784
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
785
|
+
});
|
786
|
+
|
777
787
|
var TEMPLATE = String(String).split('String');
|
778
788
|
|
779
|
-
|
789
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
790
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
791
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
792
|
+
}
|
793
|
+
if (options && options.getter) name = 'get ' + name;
|
794
|
+
if (options && options.setter) name = 'set ' + name;
|
795
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
796
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
797
|
+
}
|
798
|
+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
799
|
+
defineProperty(value, 'length', { value: options.arity });
|
800
|
+
}
|
801
|
+
var state = enforceInternalState(value);
|
802
|
+
if (!hasOwnProperty_1(state, 'source')) {
|
803
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
804
|
+
} return value;
|
805
|
+
};
|
806
|
+
|
807
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
808
|
+
// eslint-disable-next-line no-extend-native -- required
|
809
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
810
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
811
|
+
}, 'toString');
|
812
|
+
});
|
813
|
+
|
814
|
+
var defineBuiltIn = function (O, key, value, options) {
|
780
815
|
var unsafe = options ? !!options.unsafe : false;
|
781
816
|
var simple = options ? !!options.enumerable : false;
|
782
817
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
783
818
|
var name = options && options.name !== undefined ? options.name : key;
|
784
|
-
|
785
|
-
if (isCallable(value)) {
|
786
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
787
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
788
|
-
}
|
789
|
-
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
790
|
-
createNonEnumerableProperty(value, 'name', name);
|
791
|
-
}
|
792
|
-
state = enforceInternalState(value);
|
793
|
-
if (!state.source) {
|
794
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
795
|
-
}
|
796
|
-
}
|
819
|
+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
797
820
|
if (O === global_1) {
|
798
821
|
if (simple) O[key] = value;
|
799
822
|
else setGlobal(key, value);
|
800
|
-
return;
|
823
|
+
return O;
|
801
824
|
} else if (!unsafe) {
|
802
825
|
delete O[key];
|
803
826
|
} else if (!noTargetGet && O[key]) {
|
@@ -805,11 +828,8 @@
|
|
805
828
|
}
|
806
829
|
if (simple) O[key] = value;
|
807
830
|
else createNonEnumerableProperty(O, key, value);
|
808
|
-
|
809
|
-
}
|
810
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
811
|
-
});
|
812
|
-
});
|
831
|
+
return O;
|
832
|
+
};
|
813
833
|
|
814
834
|
var ceil = Math.ceil;
|
815
835
|
var floor$1 = Math.floor;
|
@@ -909,7 +929,7 @@
|
|
909
929
|
|
910
930
|
// `Object.getOwnPropertyNames` method
|
911
931
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
912
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
932
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
913
933
|
var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
914
934
|
return objectKeysInternal(O, hiddenKeys);
|
915
935
|
};
|
@@ -918,7 +938,7 @@
|
|
918
938
|
f: f$2
|
919
939
|
};
|
920
940
|
|
921
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
941
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
922
942
|
var f$1 = Object.getOwnPropertySymbols;
|
923
943
|
|
924
944
|
var objectGetOwnPropertySymbols = {
|
@@ -1016,8 +1036,7 @@
|
|
1016
1036
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1017
1037
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1018
1038
|
}
|
1019
|
-
|
1020
|
-
redefine(target, key, sourceProperty, options);
|
1039
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
1021
1040
|
}
|
1022
1041
|
};
|
1023
1042
|
|
@@ -1033,7 +1052,7 @@
|
|
1033
1052
|
|
1034
1053
|
// `IsArray` abstract operation
|
1035
1054
|
// https://tc39.es/ecma262/#sec-isarray
|
1036
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
1055
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
1037
1056
|
var isArray = Array.isArray || function isArray(argument) {
|
1038
1057
|
return classofRaw(argument) == 'Array';
|
1039
1058
|
};
|
@@ -1209,14 +1228,14 @@
|
|
1209
1228
|
|
1210
1229
|
// `Object.keys` method
|
1211
1230
|
// https://tc39.es/ecma262/#sec-object.keys
|
1212
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
1231
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
1213
1232
|
var objectKeys = Object.keys || function keys(O) {
|
1214
1233
|
return objectKeysInternal(O, enumBugKeys);
|
1215
1234
|
};
|
1216
1235
|
|
1217
1236
|
// `Object.defineProperties` method
|
1218
1237
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
1219
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
1238
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
1220
1239
|
var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
1221
1240
|
anObject(O);
|
1222
1241
|
var props = toIndexedObject(Properties);
|
@@ -1305,6 +1324,7 @@
|
|
1305
1324
|
|
1306
1325
|
// `Object.create` method
|
1307
1326
|
// https://tc39.es/ecma262/#sec-object.create
|
1327
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
1308
1328
|
var objectCreate = Object.create || function create(O, Properties) {
|
1309
1329
|
var result;
|
1310
1330
|
if (O !== null) {
|
@@ -1363,7 +1383,7 @@
|
|
1363
1383
|
// `Object.prototype.toString` method
|
1364
1384
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
1365
1385
|
if (!toStringTagSupport) {
|
1366
|
-
|
1386
|
+
defineBuiltIn(Object.prototype, 'toString', objectToString, { unsafe: true });
|
1367
1387
|
}
|
1368
1388
|
|
1369
1389
|
var String$1 = global_1.String;
|
@@ -1378,6 +1398,7 @@
|
|
1378
1398
|
var regexpFlags = function () {
|
1379
1399
|
var that = anObject(this);
|
1380
1400
|
var result = '';
|
1401
|
+
if (that.hasIndices) result += 'd';
|
1381
1402
|
if (that.global) result += 'g';
|
1382
1403
|
if (that.ignoreCase) result += 'i';
|
1383
1404
|
if (that.multiline) result += 'm';
|
@@ -1559,7 +1580,7 @@
|
|
1559
1580
|
var apply = FunctionPrototype.apply;
|
1560
1581
|
var call = FunctionPrototype.call;
|
1561
1582
|
|
1562
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
1583
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
1563
1584
|
var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call.bind(apply) : function () {
|
1564
1585
|
return call.apply(apply, arguments);
|
1565
1586
|
});
|
@@ -1631,8 +1652,8 @@
|
|
1631
1652
|
return { done: false };
|
1632
1653
|
});
|
1633
1654
|
|
1634
|
-
|
1635
|
-
|
1655
|
+
defineBuiltIn(String.prototype, KEY, methods[0]);
|
1656
|
+
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
1636
1657
|
}
|
1637
1658
|
|
1638
1659
|
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
@@ -2107,9 +2128,9 @@
|
|
2107
2128
|
}
|
2108
2129
|
});
|
2109
2130
|
|
2110
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
2131
|
+
// eslint-disable-next-line es-x/no-object-assign -- safe
|
2111
2132
|
var $assign = Object.assign;
|
2112
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
2133
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
2113
2134
|
var defineProperty = Object.defineProperty;
|
2114
2135
|
var concat = functionUncurryThis([].concat);
|
2115
2136
|
|
@@ -2129,7 +2150,7 @@
|
|
2129
2150
|
// should work with symbols and should have deterministic property order (V8 bug)
|
2130
2151
|
var A = {};
|
2131
2152
|
var B = {};
|
2132
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
2153
|
+
// eslint-disable-next-line es-x/no-symbol -- safe
|
2133
2154
|
var symbol = Symbol();
|
2134
2155
|
var alphabet = 'abcdefghijklmnopqrst';
|
2135
2156
|
A[symbol] = 7;
|
@@ -2156,8 +2177,8 @@
|
|
2156
2177
|
|
2157
2178
|
// `Object.assign` method
|
2158
2179
|
// https://tc39.es/ecma262/#sec-object.assign
|
2159
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
2160
|
-
_export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
|
2180
|
+
// eslint-disable-next-line es-x/no-object-assign -- required for testing
|
2181
|
+
_export({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== objectAssign }, {
|
2161
2182
|
assign: objectAssign
|
2162
2183
|
});
|
2163
2184
|
|
@@ -2188,7 +2209,7 @@
|
|
2188
2209
|
// `Array.prototype.concat` method
|
2189
2210
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
2190
2211
|
// with adding support of @@isConcatSpreadable and @@species
|
2191
|
-
_export({ target: 'Array', proto: true, forced: FORCED }, {
|
2212
|
+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
2192
2213
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
2193
2214
|
concat: function concat(arg) {
|
2194
2215
|
var O = toObject(this);
|
@@ -2285,7 +2306,7 @@
|
|
2285
2306
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
2286
2307
|
var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
2287
2308
|
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
2288
|
-
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
2309
|
+
// eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
|
2289
2310
|
} : [].forEach;
|
2290
2311
|
|
2291
2312
|
var handlePrototype = function (CollectionPrototype) {
|
@@ -2398,6 +2419,10 @@
|
|
2398
2419
|
});
|
2399
2420
|
}
|
2400
2421
|
|
2422
|
+
if (typeof o.exportOptions === 'string') {
|
2423
|
+
o.exportOptions = Utils.calculateObjectValue(null, o.exportOptions);
|
2424
|
+
}
|
2425
|
+
|
2401
2426
|
this.$export = this.$toolbar.find('>.columns div.export');
|
2402
2427
|
|
2403
2428
|
if (this.$export.length) {
|