@thecb/components 7.10.6-beta.1 → 7.11.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -21377,7 +21377,7 @@ var check = function (it) {
21377
21377
 
21378
21378
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
21379
21379
  var global_1 =
21380
- // eslint-disable-next-line es/no-global-this -- safe
21380
+ // eslint-disable-next-line es-x/no-global-this -- safe
21381
21381
  check(typeof globalThis == 'object' && globalThis) ||
21382
21382
  check(typeof window == 'object' && window) ||
21383
21383
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -21396,12 +21396,12 @@ var fails = function (exec) {
21396
21396
 
21397
21397
  // Detect IE8's incomplete defineProperty implementation
21398
21398
  var descriptors = !fails(function () {
21399
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
21399
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
21400
21400
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
21401
21401
  });
21402
21402
 
21403
21403
  var functionBindNative = !fails(function () {
21404
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
21404
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
21405
21405
  var test = (function () { /* empty */ }).bind();
21406
21406
  // eslint-disable-next-line no-prototype-builtins -- safe
21407
21407
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -21414,7 +21414,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
21414
21414
  };
21415
21415
 
21416
21416
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
21417
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21417
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21418
21418
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
21419
21419
 
21420
21420
  // Nashorn ~ JDK8 bug
@@ -21441,29 +21441,25 @@ var createPropertyDescriptor = function (bitmap, value) {
21441
21441
  };
21442
21442
 
21443
21443
  var FunctionPrototype = Function.prototype;
21444
+ var bind$1 = FunctionPrototype.bind;
21444
21445
  var call$1 = FunctionPrototype.call;
21445
- var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
21446
+ var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
21446
21447
 
21447
- var functionUncurryThisRaw = function (fn) {
21448
- return functionBindNative ? uncurryThisWithBind(fn) : function () {
21448
+ var functionUncurryThis = functionBindNative ? function (fn) {
21449
+ return fn && uncurryThis(fn);
21450
+ } : function (fn) {
21451
+ return fn && function () {
21449
21452
  return call$1.apply(fn, arguments);
21450
21453
  };
21451
21454
  };
21452
21455
 
21453
- var toString$2 = functionUncurryThisRaw({}.toString);
21454
- var stringSlice = functionUncurryThisRaw(''.slice);
21456
+ var toString$2 = functionUncurryThis({}.toString);
21457
+ var stringSlice = functionUncurryThis(''.slice);
21455
21458
 
21456
21459
  var classofRaw = function (it) {
21457
21460
  return stringSlice(toString$2(it), 8, -1);
21458
21461
  };
21459
21462
 
21460
- var functionUncurryThis = function (fn) {
21461
- // Nashorn bug:
21462
- // https://github.com/zloirock/core-js/issues/1128
21463
- // https://github.com/zloirock/core-js/issues/1130
21464
- if (classofRaw(fn) === 'Function') return functionUncurryThisRaw(fn);
21465
- };
21466
-
21467
21463
  var $Object = Object;
21468
21464
  var split = functionUncurryThis(''.split);
21469
21465
 
@@ -21476,18 +21472,12 @@ var indexedObject = fails(function () {
21476
21472
  return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
21477
21473
  } : $Object;
21478
21474
 
21479
- // we can't use just `it == null` since of `document.all` special case
21480
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
21481
- var isNullOrUndefined = function (it) {
21482
- return it === null || it === undefined;
21483
- };
21484
-
21485
21475
  var $TypeError = TypeError;
21486
21476
 
21487
21477
  // `RequireObjectCoercible` abstract operation
21488
21478
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
21489
21479
  var requireObjectCoercible = function (it) {
21490
- if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
21480
+ if (it == undefined) throw $TypeError("Can't call method on " + it);
21491
21481
  return it;
21492
21482
  };
21493
21483
 
@@ -21499,31 +21489,13 @@ var toIndexedObject = function (it) {
21499
21489
  return indexedObject(requireObjectCoercible(it));
21500
21490
  };
21501
21491
 
21502
- var documentAll = typeof document == 'object' && document.all;
21503
-
21504
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
21505
- var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
21506
-
21507
- var documentAll_1 = {
21508
- all: documentAll,
21509
- IS_HTMLDDA: IS_HTMLDDA
21510
- };
21511
-
21512
- var documentAll$1 = documentAll_1.all;
21513
-
21514
21492
  // `IsCallable` abstract operation
21515
21493
  // https://tc39.es/ecma262/#sec-iscallable
21516
- var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
21517
- return typeof argument == 'function' || argument === documentAll$1;
21518
- } : function (argument) {
21494
+ var isCallable = function (argument) {
21519
21495
  return typeof argument == 'function';
21520
21496
  };
21521
21497
 
21522
- var documentAll$2 = documentAll_1.all;
21523
-
21524
- var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
21525
- return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
21526
- } : function (it) {
21498
+ var isObject = function (it) {
21527
21499
  return typeof it == 'object' ? it !== null : isCallable(it);
21528
21500
  };
21529
21501
 
@@ -21564,12 +21536,12 @@ if (!version && engineUserAgent) {
21564
21536
 
21565
21537
  var engineV8Version = version;
21566
21538
 
21567
- /* eslint-disable es/no-symbol -- required for testing */
21539
+ /* eslint-disable es-x/no-symbol -- required for testing */
21568
21540
 
21569
21541
 
21570
21542
 
21571
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
21572
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
21543
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
21544
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
21573
21545
  var symbol = Symbol();
21574
21546
  // Chrome 38 Symbol has incorrect toString conversion
21575
21547
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -21578,10 +21550,10 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(functi
21578
21550
  !Symbol.sham && engineV8Version && engineV8Version < 41;
21579
21551
  });
21580
21552
 
21581
- /* eslint-disable es/no-symbol -- required for testing */
21553
+ /* eslint-disable es-x/no-symbol -- required for testing */
21582
21554
 
21583
21555
 
21584
- var useSymbolAsUid = symbolConstructorDetection
21556
+ var useSymbolAsUid = nativeSymbol
21585
21557
  && !Symbol.sham
21586
21558
  && typeof Symbol.iterator == 'symbol';
21587
21559
 
@@ -21616,7 +21588,7 @@ var aCallable = function (argument) {
21616
21588
  // https://tc39.es/ecma262/#sec-getmethod
21617
21589
  var getMethod = function (V, P) {
21618
21590
  var func = V[P];
21619
- return isNullOrUndefined(func) ? undefined : aCallable(func);
21591
+ return func == null ? undefined : aCallable(func);
21620
21592
  };
21621
21593
 
21622
21594
  var $TypeError$2 = TypeError;
@@ -21631,7 +21603,7 @@ var ordinaryToPrimitive = function (input, pref) {
21631
21603
  throw $TypeError$2("Can't convert object to primitive value");
21632
21604
  };
21633
21605
 
21634
- // eslint-disable-next-line es/no-object-defineproperty -- safe
21606
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
21635
21607
  var defineProperty = Object.defineProperty;
21636
21608
 
21637
21609
  var defineGlobalProperty = function (key, value) {
@@ -21651,10 +21623,10 @@ var shared = createCommonjsModule(function (module) {
21651
21623
  (module.exports = function (key, value) {
21652
21624
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
21653
21625
  })('versions', []).push({
21654
- version: '3.25.5',
21626
+ version: '3.24.1',
21655
21627
  mode: 'global',
21656
21628
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
21657
- license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
21629
+ license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
21658
21630
  source: 'https://github.com/zloirock/core-js'
21659
21631
  });
21660
21632
  });
@@ -21671,7 +21643,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
21671
21643
 
21672
21644
  // `HasOwnProperty` abstract operation
21673
21645
  // https://tc39.es/ecma262/#sec-hasownproperty
21674
- // eslint-disable-next-line es/no-object-hasown -- safe
21646
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
21675
21647
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
21676
21648
  return hasOwnProperty(toObject(it), key);
21677
21649
  };
@@ -21690,9 +21662,9 @@ var symbolFor = Symbol$1 && Symbol$1['for'];
21690
21662
  var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
21691
21663
 
21692
21664
  var wellKnownSymbol = function (name) {
21693
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(symbolConstructorDetection || typeof WellKnownSymbolsStore[name] == 'string')) {
21665
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
21694
21666
  var description = 'Symbol.' + name;
21695
- if (symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)) {
21667
+ if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
21696
21668
  WellKnownSymbolsStore[name] = Symbol$1[name];
21697
21669
  } else if (useSymbolAsUid && symbolFor) {
21698
21670
  WellKnownSymbolsStore[name] = symbolFor(description);
@@ -21738,13 +21710,13 @@ var documentCreateElement = function (it) {
21738
21710
 
21739
21711
  // Thanks to IE8 for its funny defineProperty
21740
21712
  var ie8DomDefine = !descriptors && !fails(function () {
21741
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
21713
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
21742
21714
  return Object.defineProperty(documentCreateElement('div'), 'a', {
21743
21715
  get: function () { return 7; }
21744
21716
  }).a != 7;
21745
21717
  });
21746
21718
 
21747
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21719
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21748
21720
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
21749
21721
 
21750
21722
  // `Object.getOwnPropertyDescriptor` method
@@ -21765,7 +21737,7 @@ var objectGetOwnPropertyDescriptor = {
21765
21737
  // V8 ~ Chrome 36-
21766
21738
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
21767
21739
  var v8PrototypeDefineBug = descriptors && fails(function () {
21768
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
21740
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
21769
21741
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
21770
21742
  value: 42,
21771
21743
  writable: false
@@ -21782,9 +21754,9 @@ var anObject = function (argument) {
21782
21754
  };
21783
21755
 
21784
21756
  var $TypeError$5 = TypeError;
21785
- // eslint-disable-next-line es/no-object-defineproperty -- safe
21757
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
21786
21758
  var $defineProperty = Object.defineProperty;
21787
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21759
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21788
21760
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
21789
21761
  var ENUMERABLE = 'enumerable';
21790
21762
  var CONFIGURABLE = 'configurable';
@@ -21831,7 +21803,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
21831
21803
  };
21832
21804
 
21833
21805
  var FunctionPrototype$1 = Function.prototype;
21834
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21806
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21835
21807
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
21836
21808
 
21837
21809
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -21858,7 +21830,7 @@ var inspectSource = sharedStore.inspectSource;
21858
21830
 
21859
21831
  var WeakMap$1 = global_1.WeakMap;
21860
21832
 
21861
- var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
21833
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
21862
21834
 
21863
21835
  var keys$1 = shared('keys');
21864
21836
 
@@ -21886,30 +21858,28 @@ var getterFor = function (TYPE) {
21886
21858
  };
21887
21859
  };
21888
21860
 
21889
- if (weakMapBasicDetection || sharedStore.state) {
21861
+ if (nativeWeakMap || sharedStore.state) {
21890
21862
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
21891
- /* eslint-disable no-self-assign -- prototype methods protection */
21892
- store$1.get = store$1.get;
21893
- store$1.has = store$1.has;
21894
- store$1.set = store$1.set;
21895
- /* eslint-enable no-self-assign -- prototype methods protection */
21863
+ var wmget = functionUncurryThis(store$1.get);
21864
+ var wmhas = functionUncurryThis(store$1.has);
21865
+ var wmset = functionUncurryThis(store$1.set);
21896
21866
  set = function (it, metadata) {
21897
- if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
21867
+ if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
21898
21868
  metadata.facade = it;
21899
- store$1.set(it, metadata);
21869
+ wmset(store$1, it, metadata);
21900
21870
  return metadata;
21901
21871
  };
21902
21872
  get = function (it) {
21903
- return store$1.get(it) || {};
21873
+ return wmget(store$1, it) || {};
21904
21874
  };
21905
21875
  has = function (it) {
21906
- return store$1.has(it);
21876
+ return wmhas(store$1, it);
21907
21877
  };
21908
21878
  } else {
21909
21879
  var STATE = sharedKey('state');
21910
21880
  hiddenKeys[STATE] = true;
21911
21881
  set = function (it, metadata) {
21912
- if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
21882
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
21913
21883
  metadata.facade = it;
21914
21884
  createNonEnumerableProperty(it, STATE, metadata);
21915
21885
  return metadata;
@@ -21937,7 +21907,7 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
21937
21907
 
21938
21908
  var enforceInternalState = internalState.enforce;
21939
21909
  var getInternalState = internalState.get;
21940
- // eslint-disable-next-line es/no-object-defineproperty -- safe
21910
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
21941
21911
  var defineProperty = Object.defineProperty;
21942
21912
 
21943
21913
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
@@ -22006,7 +21976,7 @@ var floor = Math.floor;
22006
21976
 
22007
21977
  // `Math.trunc` method
22008
21978
  // https://tc39.es/ecma262/#sec-math.trunc
22009
- // eslint-disable-next-line es/no-math-trunc -- safe
21979
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
22010
21980
  var mathTrunc = Math.trunc || function trunc(x) {
22011
21981
  var n = +x;
22012
21982
  return (n > 0 ? floor : ceil)(n);
@@ -22107,7 +22077,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
22107
22077
 
22108
22078
  // `Object.getOwnPropertyNames` method
22109
22079
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
22110
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
22080
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
22111
22081
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
22112
22082
  return objectKeysInternal(O, hiddenKeys$1);
22113
22083
  };
@@ -22116,7 +22086,7 @@ var objectGetOwnPropertyNames = {
22116
22086
  f: f$3
22117
22087
  };
22118
22088
 
22119
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
22089
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
22120
22090
  var f$4 = Object.getOwnPropertySymbols;
22121
22091
 
22122
22092
  var objectGetOwnPropertySymbols = {
@@ -22260,7 +22230,7 @@ var toString_1 = function (argument) {
22260
22230
  var charAt = functionUncurryThis(''.charAt);
22261
22231
 
22262
22232
  var FORCED = fails(function () {
22263
- // eslint-disable-next-line es/no-array-string-prototype-at -- safe
22233
+ // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
22264
22234
  return '𠮷'.at(-2) !== '\uD842';
22265
22235
  });
22266
22236
 
@@ -22278,14 +22248,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
22278
22248
 
22279
22249
  // `Object.keys` method
22280
22250
  // https://tc39.es/ecma262/#sec-object.keys
22281
- // eslint-disable-next-line es/no-object-keys -- safe
22251
+ // eslint-disable-next-line es-x/no-object-keys -- safe
22282
22252
  var objectKeys = Object.keys || function keys(O) {
22283
22253
  return objectKeysInternal(O, enumBugKeys);
22284
22254
  };
22285
22255
 
22286
22256
  // `Object.defineProperties` method
22287
22257
  // https://tc39.es/ecma262/#sec-object.defineproperties
22288
- // eslint-disable-next-line es/no-object-defineproperties -- safe
22258
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
22289
22259
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
22290
22260
  anObject(O);
22291
22261
  var props = toIndexedObject(Properties);
@@ -22374,7 +22344,7 @@ hiddenKeys[IE_PROTO] = true;
22374
22344
 
22375
22345
  // `Object.create` method
22376
22346
  // https://tc39.es/ecma262/#sec-object.create
22377
- // eslint-disable-next-line es/no-object-create -- safe
22347
+ // eslint-disable-next-line es-x/no-object-create -- safe
22378
22348
  var objectCreate = Object.create || function create(O, Properties) {
22379
22349
  var result;
22380
22350
  if (O !== null) {
@@ -22420,13 +22390,13 @@ _export({ target: 'Array', proto: true }, {
22420
22390
 
22421
22391
  addToUnscopables('at');
22422
22392
 
22423
- // eslint-disable-next-line es/no-typed-arrays -- safe
22424
- var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
22393
+ // eslint-disable-next-line es-x/no-typed-arrays -- safe
22394
+ var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
22425
22395
 
22426
22396
  var correctPrototypeGetter = !fails(function () {
22427
22397
  function F() { /* empty */ }
22428
22398
  F.prototype.constructor = null;
22429
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
22399
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
22430
22400
  return Object.getPrototypeOf(new F()) !== F.prototype;
22431
22401
  });
22432
22402
 
@@ -22436,7 +22406,7 @@ var ObjectPrototype = $Object$4.prototype;
22436
22406
 
22437
22407
  // `Object.getPrototypeOf` method
22438
22408
  // https://tc39.es/ecma262/#sec-object.getprototypeof
22439
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
22409
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
22440
22410
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
22441
22411
  var object = toObject(O);
22442
22412
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -22462,13 +22432,13 @@ var aPossiblePrototype = function (argument) {
22462
22432
  // `Object.setPrototypeOf` method
22463
22433
  // https://tc39.es/ecma262/#sec-object.setprototypeof
22464
22434
  // Works with __proto__ only. Old v8 can't work with null proto objects.
22465
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
22435
+ // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
22466
22436
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
22467
22437
  var CORRECT_SETTER = false;
22468
22438
  var test = {};
22469
22439
  var setter;
22470
22440
  try {
22471
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22441
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22472
22442
  setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
22473
22443
  setter(test, []);
22474
22444
  CORRECT_SETTER = test instanceof Array;
@@ -22505,7 +22475,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
22505
22475
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
22506
22476
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
22507
22477
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
22508
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
22478
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
22509
22479
  var TYPED_ARRAY_TAG_REQUIRED = false;
22510
22480
  var NAME, Constructor, Prototype;
22511
22481
 
@@ -46590,14 +46560,21 @@ var PartialAmountForm = function PartialAmountForm(_ref) {
46590
46560
 
46591
46561
  var createPartialAmountFormState = function createPartialAmountFormState(lineItems, maximum) {
46592
46562
  var minimum = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
46563
+ var blockPartialPaymentOverpay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
46593
46564
  var formConfig = lineItems.reduce(function (acc, item) {
46565
+ var paymentMax = maximum;
46566
+
46567
+ if (blockPartialPaymentOverpay) {
46568
+ paymentMax = !maximum || item.amount < maximum ? item.amount : maximum;
46569
+ }
46570
+
46594
46571
  var validators = [required(), validateSum(numberGreaterThanOrEqualTo(minimum), lineItems.filter(function (lineItem) {
46595
46572
  return lineItem != item;
46596
46573
  }).reduce(function (acc, curr) {
46597
46574
  return [].concat(_toConsumableArray(acc), [curr.id]);
46598
46575
  }, []))];
46599
46576
 
46600
- if (!!maximum) {
46577
+ if (!!maximum || blockPartialPaymentOverpay) {
46601
46578
  validators.push(validateSum(numberLessThanOrEqualTo(maximum), lineItems.filter(function (lineItem) {
46602
46579
  return lineItem != item;
46603
46580
  }).reduce(function (acc, curr) {