@thecb/components 9.2.1-beta.2 → 9.2.1
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 +165 -120
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +165 -120
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/dropdown/Dropdown.js +5 -3
- package/src/components/atoms/form-select/FormSelect.js +16 -14
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/.DS_Store +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -22427,17 +22427,18 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22427
22427
|
};
|
|
22428
22428
|
|
|
22429
22429
|
var check = function (it) {
|
|
22430
|
-
return it && it.Math
|
|
22430
|
+
return it && it.Math === Math && it;
|
|
22431
22431
|
};
|
|
22432
22432
|
|
|
22433
22433
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22434
22434
|
var global_1 =
|
|
22435
|
-
// eslint-disable-next-line es
|
|
22435
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22436
22436
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22437
22437
|
check(typeof window == 'object' && window) ||
|
|
22438
22438
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22439
22439
|
check(typeof self == 'object' && self) ||
|
|
22440
22440
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22441
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22441
22442
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22442
22443
|
(function () { return this; })() || Function('return this')();
|
|
22443
22444
|
|
|
@@ -22451,12 +22452,12 @@ var fails = function (exec) {
|
|
|
22451
22452
|
|
|
22452
22453
|
// Detect IE8's incomplete defineProperty implementation
|
|
22453
22454
|
var descriptors = !fails(function () {
|
|
22454
|
-
// eslint-disable-next-line es
|
|
22455
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22455
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22456
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
22456
22457
|
});
|
|
22457
22458
|
|
|
22458
22459
|
var functionBindNative = !fails(function () {
|
|
22459
|
-
// eslint-disable-next-line es
|
|
22460
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22460
22461
|
var test = (function () { /* empty */ }).bind();
|
|
22461
22462
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22462
22463
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22469,7 +22470,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22469
22470
|
};
|
|
22470
22471
|
|
|
22471
22472
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22472
|
-
// eslint-disable-next-line es
|
|
22473
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22473
22474
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22474
22475
|
|
|
22475
22476
|
// Nashorn ~ JDK8 bug
|
|
@@ -22496,14 +22497,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22496
22497
|
};
|
|
22497
22498
|
|
|
22498
22499
|
var FunctionPrototype = Function.prototype;
|
|
22499
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22500
22500
|
var call$1 = FunctionPrototype.call;
|
|
22501
|
-
var
|
|
22501
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22502
22502
|
|
|
22503
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22504
|
-
return
|
|
22505
|
-
} : function (fn) {
|
|
22506
|
-
return fn && function () {
|
|
22503
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22504
|
+
return function () {
|
|
22507
22505
|
return call$1.apply(fn, arguments);
|
|
22508
22506
|
};
|
|
22509
22507
|
};
|
|
@@ -22524,15 +22522,21 @@ var indexedObject = fails(function () {
|
|
|
22524
22522
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22525
22523
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22526
22524
|
}) ? function (it) {
|
|
22527
|
-
return classofRaw(it)
|
|
22525
|
+
return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
|
|
22528
22526
|
} : $Object;
|
|
22529
22527
|
|
|
22528
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22529
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22530
|
+
var isNullOrUndefined = function (it) {
|
|
22531
|
+
return it === null || it === undefined;
|
|
22532
|
+
};
|
|
22533
|
+
|
|
22530
22534
|
var $TypeError = TypeError;
|
|
22531
22535
|
|
|
22532
22536
|
// `RequireObjectCoercible` abstract operation
|
|
22533
22537
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22534
22538
|
var requireObjectCoercible = function (it) {
|
|
22535
|
-
if (it
|
|
22539
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
22536
22540
|
return it;
|
|
22537
22541
|
};
|
|
22538
22542
|
|
|
@@ -22544,13 +22548,32 @@ var toIndexedObject = function (it) {
|
|
|
22544
22548
|
return indexedObject(requireObjectCoercible(it));
|
|
22545
22549
|
};
|
|
22546
22550
|
|
|
22551
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22552
|
+
|
|
22553
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22554
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22555
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22556
|
+
|
|
22557
|
+
var documentAll_1 = {
|
|
22558
|
+
all: documentAll,
|
|
22559
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22560
|
+
};
|
|
22561
|
+
|
|
22562
|
+
var documentAll$1 = documentAll_1.all;
|
|
22563
|
+
|
|
22547
22564
|
// `IsCallable` abstract operation
|
|
22548
22565
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22549
|
-
var isCallable = function (argument) {
|
|
22566
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22567
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22568
|
+
} : function (argument) {
|
|
22550
22569
|
return typeof argument == 'function';
|
|
22551
22570
|
};
|
|
22552
22571
|
|
|
22553
|
-
var
|
|
22572
|
+
var documentAll$2 = documentAll_1.all;
|
|
22573
|
+
|
|
22574
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22575
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22576
|
+
} : function (it) {
|
|
22554
22577
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22555
22578
|
};
|
|
22556
22579
|
|
|
@@ -22564,7 +22587,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22564
22587
|
|
|
22565
22588
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22566
22589
|
|
|
22567
|
-
var engineUserAgent =
|
|
22590
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22568
22591
|
|
|
22569
22592
|
var process$1 = global_1.process;
|
|
22570
22593
|
var Deno = global_1.Deno;
|
|
@@ -22591,24 +22614,29 @@ if (!version && engineUserAgent) {
|
|
|
22591
22614
|
|
|
22592
22615
|
var engineV8Version = version;
|
|
22593
22616
|
|
|
22594
|
-
/* eslint-disable es
|
|
22617
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22595
22618
|
|
|
22596
22619
|
|
|
22597
22620
|
|
|
22598
|
-
|
|
22599
|
-
var
|
|
22600
|
-
|
|
22621
|
+
|
|
22622
|
+
var $String = global_1.String;
|
|
22623
|
+
|
|
22624
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22625
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22626
|
+
var symbol = Symbol('symbol detection');
|
|
22601
22627
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22602
22628
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22603
|
-
|
|
22629
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
22630
|
+
// of course, fail.
|
|
22631
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22604
22632
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22605
22633
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22606
22634
|
});
|
|
22607
22635
|
|
|
22608
|
-
/* eslint-disable es
|
|
22636
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22609
22637
|
|
|
22610
22638
|
|
|
22611
|
-
var useSymbolAsUid =
|
|
22639
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22612
22640
|
&& !Symbol.sham
|
|
22613
22641
|
&& typeof Symbol.iterator == 'symbol';
|
|
22614
22642
|
|
|
@@ -22621,11 +22649,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22621
22649
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22622
22650
|
};
|
|
22623
22651
|
|
|
22624
|
-
var $String = String;
|
|
22652
|
+
var $String$1 = String;
|
|
22625
22653
|
|
|
22626
22654
|
var tryToString = function (argument) {
|
|
22627
22655
|
try {
|
|
22628
|
-
return $String(argument);
|
|
22656
|
+
return $String$1(argument);
|
|
22629
22657
|
} catch (error) {
|
|
22630
22658
|
return 'Object';
|
|
22631
22659
|
}
|
|
@@ -22636,14 +22664,14 @@ var $TypeError$1 = TypeError;
|
|
|
22636
22664
|
// `Assert: IsCallable(argument) is true`
|
|
22637
22665
|
var aCallable = function (argument) {
|
|
22638
22666
|
if (isCallable(argument)) return argument;
|
|
22639
|
-
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22667
|
+
throw new $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22640
22668
|
};
|
|
22641
22669
|
|
|
22642
22670
|
// `GetMethod` abstract operation
|
|
22643
22671
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22644
22672
|
var getMethod = function (V, P) {
|
|
22645
22673
|
var func = V[P];
|
|
22646
|
-
return func
|
|
22674
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22647
22675
|
};
|
|
22648
22676
|
|
|
22649
22677
|
var $TypeError$2 = TypeError;
|
|
@@ -22655,10 +22683,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22655
22683
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22656
22684
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22657
22685
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22658
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
22686
|
+
throw new $TypeError$2("Can't convert object to primitive value");
|
|
22659
22687
|
};
|
|
22660
22688
|
|
|
22661
|
-
// eslint-disable-next-line es
|
|
22689
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22662
22690
|
var defineProperty = Object.defineProperty;
|
|
22663
22691
|
|
|
22664
22692
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22675,13 +22703,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22675
22703
|
var sharedStore = store;
|
|
22676
22704
|
|
|
22677
22705
|
var shared = createCommonjsModule(function (module) {
|
|
22706
|
+
|
|
22707
|
+
|
|
22708
|
+
|
|
22678
22709
|
(module.exports = function (key, value) {
|
|
22679
22710
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22680
22711
|
})('versions', []).push({
|
|
22681
|
-
version: '3.
|
|
22712
|
+
version: '3.33.3',
|
|
22682
22713
|
mode: 'global',
|
|
22683
|
-
copyright: '© 2014-
|
|
22684
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22714
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22715
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
22685
22716
|
source: 'https://github.com/zloirock/core-js'
|
|
22686
22717
|
});
|
|
22687
22718
|
});
|
|
@@ -22698,7 +22729,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22698
22729
|
|
|
22699
22730
|
// `HasOwnProperty` abstract operation
|
|
22700
22731
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22701
|
-
// eslint-disable-next-line es
|
|
22732
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22702
22733
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22703
22734
|
return hasOwnProperty(toObject(it), key);
|
|
22704
22735
|
};
|
|
@@ -22711,21 +22742,15 @@ var uid = function (key) {
|
|
|
22711
22742
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22712
22743
|
};
|
|
22713
22744
|
|
|
22714
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22715
22745
|
var Symbol$1 = global_1.Symbol;
|
|
22716
|
-
var
|
|
22717
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22746
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22747
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22718
22748
|
|
|
22719
22749
|
var wellKnownSymbol = function (name) {
|
|
22720
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22721
|
-
|
|
22722
|
-
|
|
22723
|
-
|
|
22724
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22725
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22726
|
-
} else {
|
|
22727
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22728
|
-
}
|
|
22750
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22751
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22752
|
+
? Symbol$1[name]
|
|
22753
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22729
22754
|
} return WellKnownSymbolsStore[name];
|
|
22730
22755
|
};
|
|
22731
22756
|
|
|
@@ -22742,7 +22767,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22742
22767
|
if (pref === undefined) pref = 'default';
|
|
22743
22768
|
result = functionCall(exoticToPrim, input, pref);
|
|
22744
22769
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22745
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
22770
|
+
throw new $TypeError$3("Can't convert object to primitive value");
|
|
22746
22771
|
}
|
|
22747
22772
|
if (pref === undefined) pref = 'number';
|
|
22748
22773
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22765,13 +22790,13 @@ var documentCreateElement = function (it) {
|
|
|
22765
22790
|
|
|
22766
22791
|
// Thanks to IE8 for its funny defineProperty
|
|
22767
22792
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22768
|
-
// eslint-disable-next-line es
|
|
22793
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22769
22794
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22770
22795
|
get: function () { return 7; }
|
|
22771
|
-
}).a
|
|
22796
|
+
}).a !== 7;
|
|
22772
22797
|
});
|
|
22773
22798
|
|
|
22774
|
-
// eslint-disable-next-line es
|
|
22799
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22775
22800
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22776
22801
|
|
|
22777
22802
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22792,26 +22817,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22792
22817
|
// V8 ~ Chrome 36-
|
|
22793
22818
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22794
22819
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22795
|
-
// eslint-disable-next-line es
|
|
22820
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22796
22821
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22797
22822
|
value: 42,
|
|
22798
22823
|
writable: false
|
|
22799
|
-
}).prototype
|
|
22824
|
+
}).prototype !== 42;
|
|
22800
22825
|
});
|
|
22801
22826
|
|
|
22802
|
-
var $String$
|
|
22827
|
+
var $String$2 = String;
|
|
22803
22828
|
var $TypeError$4 = TypeError;
|
|
22804
22829
|
|
|
22805
22830
|
// `Assert: Type(argument) is Object`
|
|
22806
22831
|
var anObject = function (argument) {
|
|
22807
22832
|
if (isObject(argument)) return argument;
|
|
22808
|
-
throw $TypeError$4($String$
|
|
22833
|
+
throw new $TypeError$4($String$2(argument) + ' is not an object');
|
|
22809
22834
|
};
|
|
22810
22835
|
|
|
22811
22836
|
var $TypeError$5 = TypeError;
|
|
22812
|
-
// eslint-disable-next-line es
|
|
22837
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22813
22838
|
var $defineProperty = Object.defineProperty;
|
|
22814
|
-
// eslint-disable-next-line es
|
|
22839
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22815
22840
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22816
22841
|
var ENUMERABLE = 'enumerable';
|
|
22817
22842
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22841,7 +22866,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22841
22866
|
if (ie8DomDefine) try {
|
|
22842
22867
|
return $defineProperty(O, P, Attributes);
|
|
22843
22868
|
} catch (error) { /* empty */ }
|
|
22844
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22869
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
22845
22870
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22846
22871
|
return O;
|
|
22847
22872
|
};
|
|
@@ -22858,7 +22883,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22858
22883
|
};
|
|
22859
22884
|
|
|
22860
22885
|
var FunctionPrototype$1 = Function.prototype;
|
|
22861
|
-
// eslint-disable-next-line es
|
|
22886
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22862
22887
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22863
22888
|
|
|
22864
22889
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22885,7 +22910,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22885
22910
|
|
|
22886
22911
|
var WeakMap$1 = global_1.WeakMap;
|
|
22887
22912
|
|
|
22888
|
-
var
|
|
22913
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22889
22914
|
|
|
22890
22915
|
var keys$1 = shared('keys');
|
|
22891
22916
|
|
|
@@ -22908,27 +22933,29 @@ var getterFor = function (TYPE) {
|
|
|
22908
22933
|
return function (it) {
|
|
22909
22934
|
var state;
|
|
22910
22935
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22911
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22936
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22912
22937
|
} return state;
|
|
22913
22938
|
};
|
|
22914
22939
|
};
|
|
22915
22940
|
|
|
22916
|
-
if (
|
|
22941
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22917
22942
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22918
|
-
|
|
22919
|
-
|
|
22920
|
-
|
|
22943
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22944
|
+
store$1.get = store$1.get;
|
|
22945
|
+
store$1.has = store$1.has;
|
|
22946
|
+
store$1.set = store$1.set;
|
|
22947
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22921
22948
|
set = function (it, metadata) {
|
|
22922
|
-
if (
|
|
22949
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22923
22950
|
metadata.facade = it;
|
|
22924
|
-
|
|
22951
|
+
store$1.set(it, metadata);
|
|
22925
22952
|
return metadata;
|
|
22926
22953
|
};
|
|
22927
22954
|
get = function (it) {
|
|
22928
|
-
return
|
|
22955
|
+
return store$1.get(it) || {};
|
|
22929
22956
|
};
|
|
22930
22957
|
has = function (it) {
|
|
22931
|
-
return
|
|
22958
|
+
return store$1.has(it);
|
|
22932
22959
|
};
|
|
22933
22960
|
} else {
|
|
22934
22961
|
var STATE = sharedKey('state');
|
|
@@ -22956,14 +22983,23 @@ var internalState = {
|
|
|
22956
22983
|
};
|
|
22957
22984
|
|
|
22958
22985
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
22986
|
+
|
|
22987
|
+
|
|
22988
|
+
|
|
22989
|
+
|
|
22990
|
+
|
|
22959
22991
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
22960
22992
|
|
|
22961
22993
|
|
|
22962
22994
|
|
|
22963
22995
|
var enforceInternalState = internalState.enforce;
|
|
22964
22996
|
var getInternalState = internalState.get;
|
|
22965
|
-
|
|
22997
|
+
var $String = String;
|
|
22998
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22966
22999
|
var defineProperty = Object.defineProperty;
|
|
23000
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
23001
|
+
var replace = functionUncurryThis(''.replace);
|
|
23002
|
+
var join = functionUncurryThis([].join);
|
|
22967
23003
|
|
|
22968
23004
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22969
23005
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22972,8 +23008,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22972
23008
|
var TEMPLATE = String(String).split('String');
|
|
22973
23009
|
|
|
22974
23010
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22975
|
-
if (String(name)
|
|
22976
|
-
name = '[' + String(name)
|
|
23011
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
23012
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22977
23013
|
}
|
|
22978
23014
|
if (options && options.getter) name = 'get ' + name;
|
|
22979
23015
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22992,7 +23028,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22992
23028
|
} catch (error) { /* empty */ }
|
|
22993
23029
|
var state = enforceInternalState(value);
|
|
22994
23030
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22995
|
-
state.source =
|
|
23031
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
22996
23032
|
} return value;
|
|
22997
23033
|
};
|
|
22998
23034
|
|
|
@@ -23031,7 +23067,7 @@ var floor = Math.floor;
|
|
|
23031
23067
|
|
|
23032
23068
|
// `Math.trunc` method
|
|
23033
23069
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23034
|
-
// eslint-disable-next-line es
|
|
23070
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23035
23071
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23036
23072
|
var n = +x;
|
|
23037
23073
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23079,10 +23115,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23079
23115
|
var value;
|
|
23080
23116
|
// Array#includes uses SameValueZero equality algorithm
|
|
23081
23117
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23082
|
-
if (IS_INCLUDES && el
|
|
23118
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
23083
23119
|
value = O[index++];
|
|
23084
23120
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23085
|
-
if (value
|
|
23121
|
+
if (value !== value) return true;
|
|
23086
23122
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23087
23123
|
} else for (;length > index; index++) {
|
|
23088
23124
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23132,7 +23168,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23132
23168
|
|
|
23133
23169
|
// `Object.getOwnPropertyNames` method
|
|
23134
23170
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23135
|
-
// eslint-disable-next-line es
|
|
23171
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23136
23172
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23137
23173
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23138
23174
|
};
|
|
@@ -23141,7 +23177,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23141
23177
|
f: f$3
|
|
23142
23178
|
};
|
|
23143
23179
|
|
|
23144
|
-
// eslint-disable-next-line es
|
|
23180
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23145
23181
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23146
23182
|
|
|
23147
23183
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23173,8 +23209,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23173
23209
|
|
|
23174
23210
|
var isForced = function (feature, detection) {
|
|
23175
23211
|
var value = data[normalize(feature)];
|
|
23176
|
-
return value
|
|
23177
|
-
: value
|
|
23212
|
+
return value === POLYFILL ? true
|
|
23213
|
+
: value === NATIVE ? false
|
|
23178
23214
|
: isCallable(detection) ? fails(detection)
|
|
23179
23215
|
: !!detection;
|
|
23180
23216
|
};
|
|
@@ -23254,7 +23290,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23254
23290
|
var $Object$3 = Object;
|
|
23255
23291
|
|
|
23256
23292
|
// ES3 wrong here
|
|
23257
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23293
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
23258
23294
|
|
|
23259
23295
|
// fallback for IE11 Script Access Denied error
|
|
23260
23296
|
var tryGet = function (it, key) {
|
|
@@ -23272,25 +23308,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23272
23308
|
// builtinTag case
|
|
23273
23309
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23274
23310
|
// ES3 arguments fallback
|
|
23275
|
-
: (result = classofRaw(O))
|
|
23311
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23276
23312
|
};
|
|
23277
23313
|
|
|
23278
|
-
var $String$
|
|
23314
|
+
var $String$3 = String;
|
|
23279
23315
|
|
|
23280
23316
|
var toString_1 = function (argument) {
|
|
23281
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23282
|
-
return $String$
|
|
23317
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
23318
|
+
return $String$3(argument);
|
|
23283
23319
|
};
|
|
23284
23320
|
|
|
23285
23321
|
var charAt = functionUncurryThis(''.charAt);
|
|
23286
23322
|
|
|
23287
23323
|
var FORCED = fails(function () {
|
|
23288
|
-
// eslint-disable-next-line es
|
|
23324
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23289
23325
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23290
23326
|
});
|
|
23291
23327
|
|
|
23292
23328
|
// `String.prototype.at` method
|
|
23293
|
-
// https://
|
|
23329
|
+
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
23294
23330
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23295
23331
|
at: function at(index) {
|
|
23296
23332
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23303,14 +23339,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23303
23339
|
|
|
23304
23340
|
// `Object.keys` method
|
|
23305
23341
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23306
|
-
// eslint-disable-next-line es
|
|
23342
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23307
23343
|
var objectKeys = Object.keys || function keys(O) {
|
|
23308
23344
|
return objectKeysInternal(O, enumBugKeys);
|
|
23309
23345
|
};
|
|
23310
23346
|
|
|
23311
23347
|
// `Object.defineProperties` method
|
|
23312
23348
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23313
|
-
// eslint-disable-next-line es
|
|
23349
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23314
23350
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23315
23351
|
anObject(O);
|
|
23316
23352
|
var props = toIndexedObject(Properties);
|
|
@@ -23399,7 +23435,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23399
23435
|
|
|
23400
23436
|
// `Object.create` method
|
|
23401
23437
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23402
|
-
// eslint-disable-next-line es
|
|
23438
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23403
23439
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23404
23440
|
var result;
|
|
23405
23441
|
if (O !== null) {
|
|
@@ -23419,7 +23455,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23419
23455
|
|
|
23420
23456
|
// Array.prototype[@@unscopables]
|
|
23421
23457
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23422
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23458
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
23423
23459
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23424
23460
|
configurable: true,
|
|
23425
23461
|
value: objectCreate(null)
|
|
@@ -23432,7 +23468,7 @@ var addToUnscopables = function (key) {
|
|
|
23432
23468
|
};
|
|
23433
23469
|
|
|
23434
23470
|
// `Array.prototype.at` method
|
|
23435
|
-
// https://
|
|
23471
|
+
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
23436
23472
|
_export({ target: 'Array', proto: true }, {
|
|
23437
23473
|
at: function at(index) {
|
|
23438
23474
|
var O = toObject(this);
|
|
@@ -23445,13 +23481,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23445
23481
|
|
|
23446
23482
|
addToUnscopables('at');
|
|
23447
23483
|
|
|
23448
|
-
// eslint-disable-next-line es
|
|
23449
|
-
var
|
|
23484
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23485
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23486
|
+
|
|
23487
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23488
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23489
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23490
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23491
|
+
};
|
|
23450
23492
|
|
|
23451
23493
|
var correctPrototypeGetter = !fails(function () {
|
|
23452
23494
|
function F() { /* empty */ }
|
|
23453
23495
|
F.prototype.constructor = null;
|
|
23454
|
-
// eslint-disable-next-line es
|
|
23496
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23455
23497
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23456
23498
|
});
|
|
23457
23499
|
|
|
@@ -23461,7 +23503,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23461
23503
|
|
|
23462
23504
|
// `Object.getPrototypeOf` method
|
|
23463
23505
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23464
|
-
// eslint-disable-next-line es
|
|
23506
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23465
23507
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23466
23508
|
var object = toObject(O);
|
|
23467
23509
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23471,12 +23513,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23471
23513
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23472
23514
|
};
|
|
23473
23515
|
|
|
23474
|
-
var
|
|
23516
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23517
|
+
try {
|
|
23518
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23519
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23520
|
+
} catch (error) { /* empty */ }
|
|
23521
|
+
};
|
|
23522
|
+
|
|
23523
|
+
var $String$4 = String;
|
|
23475
23524
|
var $TypeError$6 = TypeError;
|
|
23476
23525
|
|
|
23477
23526
|
var aPossiblePrototype = function (argument) {
|
|
23478
23527
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23479
|
-
throw $TypeError$6("Can't set " + $String$
|
|
23528
|
+
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
23480
23529
|
};
|
|
23481
23530
|
|
|
23482
23531
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23487,14 +23536,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23487
23536
|
// `Object.setPrototypeOf` method
|
|
23488
23537
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23489
23538
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23490
|
-
// eslint-disable-next-line es
|
|
23539
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23491
23540
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23492
23541
|
var CORRECT_SETTER = false;
|
|
23493
23542
|
var test = {};
|
|
23494
23543
|
var setter;
|
|
23495
23544
|
try {
|
|
23496
|
-
|
|
23497
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23545
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23498
23546
|
setter(test, []);
|
|
23499
23547
|
CORRECT_SETTER = test instanceof Array;
|
|
23500
23548
|
} catch (error) { /* empty */ }
|
|
@@ -23507,14 +23555,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23507
23555
|
};
|
|
23508
23556
|
}() : undefined);
|
|
23509
23557
|
|
|
23510
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23511
|
-
|
|
23512
|
-
|
|
23513
|
-
|
|
23514
|
-
|
|
23515
|
-
|
|
23516
|
-
|
|
23517
|
-
|
|
23518
23558
|
var enforceInternalState = internalState.enforce;
|
|
23519
23559
|
var getInternalState = internalState.get;
|
|
23520
23560
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23530,7 +23570,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23530
23570
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23531
23571
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23532
23572
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23533
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23573
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23534
23574
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23535
23575
|
var NAME, Constructor, Prototype;
|
|
23536
23576
|
|
|
@@ -23575,12 +23615,12 @@ var isTypedArray = function (it) {
|
|
|
23575
23615
|
|
|
23576
23616
|
var aTypedArray = function (it) {
|
|
23577
23617
|
if (isTypedArray(it)) return it;
|
|
23578
|
-
throw TypeError$2('Target is not a typed array');
|
|
23618
|
+
throw new TypeError$2('Target is not a typed array');
|
|
23579
23619
|
};
|
|
23580
23620
|
|
|
23581
23621
|
var aTypedArrayConstructor = function (C) {
|
|
23582
23622
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23583
|
-
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23623
|
+
throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23584
23624
|
};
|
|
23585
23625
|
|
|
23586
23626
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23644,7 +23684,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23644
23684
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23645
23685
|
// eslint-disable-next-line no-shadow -- safe
|
|
23646
23686
|
TypedArray = function TypedArray() {
|
|
23647
|
-
throw TypeError$2('Incorrect invocation');
|
|
23687
|
+
throw new TypeError$2('Incorrect invocation');
|
|
23648
23688
|
};
|
|
23649
23689
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23650
23690
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23665,9 +23705,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23665
23705
|
|
|
23666
23706
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23667
23707
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23668
|
-
|
|
23669
|
-
|
|
23670
|
-
|
|
23708
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23709
|
+
configurable: true,
|
|
23710
|
+
get: function () {
|
|
23711
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23712
|
+
}
|
|
23713
|
+
});
|
|
23671
23714
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23672
23715
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23673
23716
|
}
|
|
@@ -23691,7 +23734,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23691
23734
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23692
23735
|
|
|
23693
23736
|
// `%TypedArray%.prototype.at` method
|
|
23694
|
-
// https://
|
|
23737
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
23695
23738
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23696
23739
|
var O = aTypedArray$1(this);
|
|
23697
23740
|
var len = lengthOfArrayLike(O);
|
|
@@ -23992,11 +24035,11 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23992
24035
|
clearTimeout(timer);
|
|
23993
24036
|
setTimer(setTimeout(function () {
|
|
23994
24037
|
return setInputValue("");
|
|
23995
|
-
},
|
|
24038
|
+
}, 3000));
|
|
23996
24039
|
}
|
|
23997
24040
|
|
|
23998
24041
|
setFilteredOptions(options.filter(function (option) {
|
|
23999
|
-
return option.value.toLowerCase().
|
|
24042
|
+
return option.value.toLowerCase().startsWith(inputValue.toLowerCase()) || option.text.toLowerCase().startsWith(inputValue.toLowerCase());
|
|
24000
24043
|
}));
|
|
24001
24044
|
}, [inputValue]);
|
|
24002
24045
|
React.useEffect(function () {
|
|
@@ -24304,7 +24347,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24304
24347
|
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
24305
24348
|
direction: "row",
|
|
24306
24349
|
justify: "space-between"
|
|
24307
|
-
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24350
|
+
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24308
24351
|
color: ERROR_COLOR,
|
|
24309
24352
|
variant: "pXS",
|
|
24310
24353
|
weight: themeValues.fontWeight,
|
|
@@ -24313,7 +24356,9 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24313
24356
|
"aria-live": "polite",
|
|
24314
24357
|
"aria-atomic": true,
|
|
24315
24358
|
"data-qa": createIdFromString(labelTextWhenNoError, "error message")
|
|
24316
|
-
},
|
|
24359
|
+
}, errorMessages[field.errors[0]]) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24360
|
+
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
24361
|
+
})));
|
|
24317
24362
|
};
|
|
24318
24363
|
|
|
24319
24364
|
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$g, "default");
|