@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.esm.js
CHANGED
|
@@ -22419,17 +22419,18 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22419
22419
|
};
|
|
22420
22420
|
|
|
22421
22421
|
var check = function (it) {
|
|
22422
|
-
return it && it.Math
|
|
22422
|
+
return it && it.Math === Math && it;
|
|
22423
22423
|
};
|
|
22424
22424
|
|
|
22425
22425
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22426
22426
|
var global_1 =
|
|
22427
|
-
// eslint-disable-next-line es
|
|
22427
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22428
22428
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22429
22429
|
check(typeof window == 'object' && window) ||
|
|
22430
22430
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22431
22431
|
check(typeof self == 'object' && self) ||
|
|
22432
22432
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22433
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22433
22434
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22434
22435
|
(function () { return this; })() || Function('return this')();
|
|
22435
22436
|
|
|
@@ -22443,12 +22444,12 @@ var fails = function (exec) {
|
|
|
22443
22444
|
|
|
22444
22445
|
// Detect IE8's incomplete defineProperty implementation
|
|
22445
22446
|
var descriptors = !fails(function () {
|
|
22446
|
-
// eslint-disable-next-line es
|
|
22447
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22447
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22448
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
22448
22449
|
});
|
|
22449
22450
|
|
|
22450
22451
|
var functionBindNative = !fails(function () {
|
|
22451
|
-
// eslint-disable-next-line es
|
|
22452
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22452
22453
|
var test = (function () { /* empty */ }).bind();
|
|
22453
22454
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22454
22455
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22461,7 +22462,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22461
22462
|
};
|
|
22462
22463
|
|
|
22463
22464
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22464
|
-
// eslint-disable-next-line es
|
|
22465
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22465
22466
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22466
22467
|
|
|
22467
22468
|
// Nashorn ~ JDK8 bug
|
|
@@ -22488,14 +22489,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22488
22489
|
};
|
|
22489
22490
|
|
|
22490
22491
|
var FunctionPrototype = Function.prototype;
|
|
22491
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22492
22492
|
var call$1 = FunctionPrototype.call;
|
|
22493
|
-
var
|
|
22493
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22494
22494
|
|
|
22495
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22496
|
-
return
|
|
22497
|
-
} : function (fn) {
|
|
22498
|
-
return fn && function () {
|
|
22495
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22496
|
+
return function () {
|
|
22499
22497
|
return call$1.apply(fn, arguments);
|
|
22500
22498
|
};
|
|
22501
22499
|
};
|
|
@@ -22516,15 +22514,21 @@ var indexedObject = fails(function () {
|
|
|
22516
22514
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22517
22515
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22518
22516
|
}) ? function (it) {
|
|
22519
|
-
return classofRaw(it)
|
|
22517
|
+
return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
|
|
22520
22518
|
} : $Object;
|
|
22521
22519
|
|
|
22520
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22521
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22522
|
+
var isNullOrUndefined = function (it) {
|
|
22523
|
+
return it === null || it === undefined;
|
|
22524
|
+
};
|
|
22525
|
+
|
|
22522
22526
|
var $TypeError = TypeError;
|
|
22523
22527
|
|
|
22524
22528
|
// `RequireObjectCoercible` abstract operation
|
|
22525
22529
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22526
22530
|
var requireObjectCoercible = function (it) {
|
|
22527
|
-
if (it
|
|
22531
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
22528
22532
|
return it;
|
|
22529
22533
|
};
|
|
22530
22534
|
|
|
@@ -22536,13 +22540,32 @@ var toIndexedObject = function (it) {
|
|
|
22536
22540
|
return indexedObject(requireObjectCoercible(it));
|
|
22537
22541
|
};
|
|
22538
22542
|
|
|
22543
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22544
|
+
|
|
22545
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22546
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22547
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22548
|
+
|
|
22549
|
+
var documentAll_1 = {
|
|
22550
|
+
all: documentAll,
|
|
22551
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22552
|
+
};
|
|
22553
|
+
|
|
22554
|
+
var documentAll$1 = documentAll_1.all;
|
|
22555
|
+
|
|
22539
22556
|
// `IsCallable` abstract operation
|
|
22540
22557
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22541
|
-
var isCallable = function (argument) {
|
|
22558
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22559
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22560
|
+
} : function (argument) {
|
|
22542
22561
|
return typeof argument == 'function';
|
|
22543
22562
|
};
|
|
22544
22563
|
|
|
22545
|
-
var
|
|
22564
|
+
var documentAll$2 = documentAll_1.all;
|
|
22565
|
+
|
|
22566
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22567
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22568
|
+
} : function (it) {
|
|
22546
22569
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22547
22570
|
};
|
|
22548
22571
|
|
|
@@ -22556,7 +22579,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22556
22579
|
|
|
22557
22580
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22558
22581
|
|
|
22559
|
-
var engineUserAgent =
|
|
22582
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22560
22583
|
|
|
22561
22584
|
var process$1 = global_1.process;
|
|
22562
22585
|
var Deno = global_1.Deno;
|
|
@@ -22583,24 +22606,29 @@ if (!version && engineUserAgent) {
|
|
|
22583
22606
|
|
|
22584
22607
|
var engineV8Version = version;
|
|
22585
22608
|
|
|
22586
|
-
/* eslint-disable es
|
|
22609
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22587
22610
|
|
|
22588
22611
|
|
|
22589
22612
|
|
|
22590
|
-
|
|
22591
|
-
var
|
|
22592
|
-
|
|
22613
|
+
|
|
22614
|
+
var $String = global_1.String;
|
|
22615
|
+
|
|
22616
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22617
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22618
|
+
var symbol = Symbol('symbol detection');
|
|
22593
22619
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22594
22620
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22595
|
-
|
|
22621
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
22622
|
+
// of course, fail.
|
|
22623
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22596
22624
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22597
22625
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22598
22626
|
});
|
|
22599
22627
|
|
|
22600
|
-
/* eslint-disable es
|
|
22628
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22601
22629
|
|
|
22602
22630
|
|
|
22603
|
-
var useSymbolAsUid =
|
|
22631
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22604
22632
|
&& !Symbol.sham
|
|
22605
22633
|
&& typeof Symbol.iterator == 'symbol';
|
|
22606
22634
|
|
|
@@ -22613,11 +22641,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22613
22641
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22614
22642
|
};
|
|
22615
22643
|
|
|
22616
|
-
var $String = String;
|
|
22644
|
+
var $String$1 = String;
|
|
22617
22645
|
|
|
22618
22646
|
var tryToString = function (argument) {
|
|
22619
22647
|
try {
|
|
22620
|
-
return $String(argument);
|
|
22648
|
+
return $String$1(argument);
|
|
22621
22649
|
} catch (error) {
|
|
22622
22650
|
return 'Object';
|
|
22623
22651
|
}
|
|
@@ -22628,14 +22656,14 @@ var $TypeError$1 = TypeError;
|
|
|
22628
22656
|
// `Assert: IsCallable(argument) is true`
|
|
22629
22657
|
var aCallable = function (argument) {
|
|
22630
22658
|
if (isCallable(argument)) return argument;
|
|
22631
|
-
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22659
|
+
throw new $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22632
22660
|
};
|
|
22633
22661
|
|
|
22634
22662
|
// `GetMethod` abstract operation
|
|
22635
22663
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22636
22664
|
var getMethod = function (V, P) {
|
|
22637
22665
|
var func = V[P];
|
|
22638
|
-
return func
|
|
22666
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22639
22667
|
};
|
|
22640
22668
|
|
|
22641
22669
|
var $TypeError$2 = TypeError;
|
|
@@ -22647,10 +22675,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22647
22675
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22648
22676
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22649
22677
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22650
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
22678
|
+
throw new $TypeError$2("Can't convert object to primitive value");
|
|
22651
22679
|
};
|
|
22652
22680
|
|
|
22653
|
-
// eslint-disable-next-line es
|
|
22681
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22654
22682
|
var defineProperty = Object.defineProperty;
|
|
22655
22683
|
|
|
22656
22684
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22667,13 +22695,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22667
22695
|
var sharedStore = store;
|
|
22668
22696
|
|
|
22669
22697
|
var shared = createCommonjsModule(function (module) {
|
|
22698
|
+
|
|
22699
|
+
|
|
22700
|
+
|
|
22670
22701
|
(module.exports = function (key, value) {
|
|
22671
22702
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22672
22703
|
})('versions', []).push({
|
|
22673
|
-
version: '3.
|
|
22704
|
+
version: '3.33.3',
|
|
22674
22705
|
mode: 'global',
|
|
22675
|
-
copyright: '© 2014-
|
|
22676
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22706
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22707
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
22677
22708
|
source: 'https://github.com/zloirock/core-js'
|
|
22678
22709
|
});
|
|
22679
22710
|
});
|
|
@@ -22690,7 +22721,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22690
22721
|
|
|
22691
22722
|
// `HasOwnProperty` abstract operation
|
|
22692
22723
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22693
|
-
// eslint-disable-next-line es
|
|
22724
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22694
22725
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22695
22726
|
return hasOwnProperty(toObject(it), key);
|
|
22696
22727
|
};
|
|
@@ -22703,21 +22734,15 @@ var uid = function (key) {
|
|
|
22703
22734
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22704
22735
|
};
|
|
22705
22736
|
|
|
22706
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22707
22737
|
var Symbol$1 = global_1.Symbol;
|
|
22708
|
-
var
|
|
22709
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22738
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22739
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22710
22740
|
|
|
22711
22741
|
var wellKnownSymbol = function (name) {
|
|
22712
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22713
|
-
|
|
22714
|
-
|
|
22715
|
-
|
|
22716
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22717
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22718
|
-
} else {
|
|
22719
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22720
|
-
}
|
|
22742
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22743
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22744
|
+
? Symbol$1[name]
|
|
22745
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22721
22746
|
} return WellKnownSymbolsStore[name];
|
|
22722
22747
|
};
|
|
22723
22748
|
|
|
@@ -22734,7 +22759,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22734
22759
|
if (pref === undefined) pref = 'default';
|
|
22735
22760
|
result = functionCall(exoticToPrim, input, pref);
|
|
22736
22761
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22737
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
22762
|
+
throw new $TypeError$3("Can't convert object to primitive value");
|
|
22738
22763
|
}
|
|
22739
22764
|
if (pref === undefined) pref = 'number';
|
|
22740
22765
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22757,13 +22782,13 @@ var documentCreateElement = function (it) {
|
|
|
22757
22782
|
|
|
22758
22783
|
// Thanks to IE8 for its funny defineProperty
|
|
22759
22784
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22760
|
-
// eslint-disable-next-line es
|
|
22785
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22761
22786
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22762
22787
|
get: function () { return 7; }
|
|
22763
|
-
}).a
|
|
22788
|
+
}).a !== 7;
|
|
22764
22789
|
});
|
|
22765
22790
|
|
|
22766
|
-
// eslint-disable-next-line es
|
|
22791
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22767
22792
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22768
22793
|
|
|
22769
22794
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22784,26 +22809,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22784
22809
|
// V8 ~ Chrome 36-
|
|
22785
22810
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22786
22811
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22787
|
-
// eslint-disable-next-line es
|
|
22812
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22788
22813
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22789
22814
|
value: 42,
|
|
22790
22815
|
writable: false
|
|
22791
|
-
}).prototype
|
|
22816
|
+
}).prototype !== 42;
|
|
22792
22817
|
});
|
|
22793
22818
|
|
|
22794
|
-
var $String$
|
|
22819
|
+
var $String$2 = String;
|
|
22795
22820
|
var $TypeError$4 = TypeError;
|
|
22796
22821
|
|
|
22797
22822
|
// `Assert: Type(argument) is Object`
|
|
22798
22823
|
var anObject = function (argument) {
|
|
22799
22824
|
if (isObject(argument)) return argument;
|
|
22800
|
-
throw $TypeError$4($String$
|
|
22825
|
+
throw new $TypeError$4($String$2(argument) + ' is not an object');
|
|
22801
22826
|
};
|
|
22802
22827
|
|
|
22803
22828
|
var $TypeError$5 = TypeError;
|
|
22804
|
-
// eslint-disable-next-line es
|
|
22829
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22805
22830
|
var $defineProperty = Object.defineProperty;
|
|
22806
|
-
// eslint-disable-next-line es
|
|
22831
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22807
22832
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22808
22833
|
var ENUMERABLE = 'enumerable';
|
|
22809
22834
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22833,7 +22858,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22833
22858
|
if (ie8DomDefine) try {
|
|
22834
22859
|
return $defineProperty(O, P, Attributes);
|
|
22835
22860
|
} catch (error) { /* empty */ }
|
|
22836
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22861
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
22837
22862
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22838
22863
|
return O;
|
|
22839
22864
|
};
|
|
@@ -22850,7 +22875,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22850
22875
|
};
|
|
22851
22876
|
|
|
22852
22877
|
var FunctionPrototype$1 = Function.prototype;
|
|
22853
|
-
// eslint-disable-next-line es
|
|
22878
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22854
22879
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22855
22880
|
|
|
22856
22881
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22877,7 +22902,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22877
22902
|
|
|
22878
22903
|
var WeakMap$1 = global_1.WeakMap;
|
|
22879
22904
|
|
|
22880
|
-
var
|
|
22905
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22881
22906
|
|
|
22882
22907
|
var keys$1 = shared('keys');
|
|
22883
22908
|
|
|
@@ -22900,27 +22925,29 @@ var getterFor = function (TYPE) {
|
|
|
22900
22925
|
return function (it) {
|
|
22901
22926
|
var state;
|
|
22902
22927
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22903
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22928
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22904
22929
|
} return state;
|
|
22905
22930
|
};
|
|
22906
22931
|
};
|
|
22907
22932
|
|
|
22908
|
-
if (
|
|
22933
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22909
22934
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22910
|
-
|
|
22911
|
-
|
|
22912
|
-
|
|
22935
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22936
|
+
store$1.get = store$1.get;
|
|
22937
|
+
store$1.has = store$1.has;
|
|
22938
|
+
store$1.set = store$1.set;
|
|
22939
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22913
22940
|
set = function (it, metadata) {
|
|
22914
|
-
if (
|
|
22941
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22915
22942
|
metadata.facade = it;
|
|
22916
|
-
|
|
22943
|
+
store$1.set(it, metadata);
|
|
22917
22944
|
return metadata;
|
|
22918
22945
|
};
|
|
22919
22946
|
get = function (it) {
|
|
22920
|
-
return
|
|
22947
|
+
return store$1.get(it) || {};
|
|
22921
22948
|
};
|
|
22922
22949
|
has = function (it) {
|
|
22923
|
-
return
|
|
22950
|
+
return store$1.has(it);
|
|
22924
22951
|
};
|
|
22925
22952
|
} else {
|
|
22926
22953
|
var STATE = sharedKey('state');
|
|
@@ -22948,14 +22975,23 @@ var internalState = {
|
|
|
22948
22975
|
};
|
|
22949
22976
|
|
|
22950
22977
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
22978
|
+
|
|
22979
|
+
|
|
22980
|
+
|
|
22981
|
+
|
|
22982
|
+
|
|
22951
22983
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
22952
22984
|
|
|
22953
22985
|
|
|
22954
22986
|
|
|
22955
22987
|
var enforceInternalState = internalState.enforce;
|
|
22956
22988
|
var getInternalState = internalState.get;
|
|
22957
|
-
|
|
22989
|
+
var $String = String;
|
|
22990
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22958
22991
|
var defineProperty = Object.defineProperty;
|
|
22992
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
22993
|
+
var replace = functionUncurryThis(''.replace);
|
|
22994
|
+
var join = functionUncurryThis([].join);
|
|
22959
22995
|
|
|
22960
22996
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22961
22997
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22964,8 +23000,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22964
23000
|
var TEMPLATE = String(String).split('String');
|
|
22965
23001
|
|
|
22966
23002
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22967
|
-
if (String(name)
|
|
22968
|
-
name = '[' + String(name)
|
|
23003
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
23004
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22969
23005
|
}
|
|
22970
23006
|
if (options && options.getter) name = 'get ' + name;
|
|
22971
23007
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22984,7 +23020,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22984
23020
|
} catch (error) { /* empty */ }
|
|
22985
23021
|
var state = enforceInternalState(value);
|
|
22986
23022
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22987
|
-
state.source =
|
|
23023
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
22988
23024
|
} return value;
|
|
22989
23025
|
};
|
|
22990
23026
|
|
|
@@ -23023,7 +23059,7 @@ var floor = Math.floor;
|
|
|
23023
23059
|
|
|
23024
23060
|
// `Math.trunc` method
|
|
23025
23061
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23026
|
-
// eslint-disable-next-line es
|
|
23062
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23027
23063
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23028
23064
|
var n = +x;
|
|
23029
23065
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23071,10 +23107,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23071
23107
|
var value;
|
|
23072
23108
|
// Array#includes uses SameValueZero equality algorithm
|
|
23073
23109
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23074
|
-
if (IS_INCLUDES && el
|
|
23110
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
23075
23111
|
value = O[index++];
|
|
23076
23112
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23077
|
-
if (value
|
|
23113
|
+
if (value !== value) return true;
|
|
23078
23114
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23079
23115
|
} else for (;length > index; index++) {
|
|
23080
23116
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23124,7 +23160,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23124
23160
|
|
|
23125
23161
|
// `Object.getOwnPropertyNames` method
|
|
23126
23162
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23127
|
-
// eslint-disable-next-line es
|
|
23163
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23128
23164
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23129
23165
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23130
23166
|
};
|
|
@@ -23133,7 +23169,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23133
23169
|
f: f$3
|
|
23134
23170
|
};
|
|
23135
23171
|
|
|
23136
|
-
// eslint-disable-next-line es
|
|
23172
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23137
23173
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23138
23174
|
|
|
23139
23175
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23165,8 +23201,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23165
23201
|
|
|
23166
23202
|
var isForced = function (feature, detection) {
|
|
23167
23203
|
var value = data[normalize(feature)];
|
|
23168
|
-
return value
|
|
23169
|
-
: value
|
|
23204
|
+
return value === POLYFILL ? true
|
|
23205
|
+
: value === NATIVE ? false
|
|
23170
23206
|
: isCallable(detection) ? fails(detection)
|
|
23171
23207
|
: !!detection;
|
|
23172
23208
|
};
|
|
@@ -23246,7 +23282,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23246
23282
|
var $Object$3 = Object;
|
|
23247
23283
|
|
|
23248
23284
|
// ES3 wrong here
|
|
23249
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23285
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
23250
23286
|
|
|
23251
23287
|
// fallback for IE11 Script Access Denied error
|
|
23252
23288
|
var tryGet = function (it, key) {
|
|
@@ -23264,25 +23300,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23264
23300
|
// builtinTag case
|
|
23265
23301
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23266
23302
|
// ES3 arguments fallback
|
|
23267
|
-
: (result = classofRaw(O))
|
|
23303
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23268
23304
|
};
|
|
23269
23305
|
|
|
23270
|
-
var $String$
|
|
23306
|
+
var $String$3 = String;
|
|
23271
23307
|
|
|
23272
23308
|
var toString_1 = function (argument) {
|
|
23273
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23274
|
-
return $String$
|
|
23309
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
23310
|
+
return $String$3(argument);
|
|
23275
23311
|
};
|
|
23276
23312
|
|
|
23277
23313
|
var charAt = functionUncurryThis(''.charAt);
|
|
23278
23314
|
|
|
23279
23315
|
var FORCED = fails(function () {
|
|
23280
|
-
// eslint-disable-next-line es
|
|
23316
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23281
23317
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23282
23318
|
});
|
|
23283
23319
|
|
|
23284
23320
|
// `String.prototype.at` method
|
|
23285
|
-
// https://
|
|
23321
|
+
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
23286
23322
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23287
23323
|
at: function at(index) {
|
|
23288
23324
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23295,14 +23331,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23295
23331
|
|
|
23296
23332
|
// `Object.keys` method
|
|
23297
23333
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23298
|
-
// eslint-disable-next-line es
|
|
23334
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23299
23335
|
var objectKeys = Object.keys || function keys(O) {
|
|
23300
23336
|
return objectKeysInternal(O, enumBugKeys);
|
|
23301
23337
|
};
|
|
23302
23338
|
|
|
23303
23339
|
// `Object.defineProperties` method
|
|
23304
23340
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23305
|
-
// eslint-disable-next-line es
|
|
23341
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23306
23342
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23307
23343
|
anObject(O);
|
|
23308
23344
|
var props = toIndexedObject(Properties);
|
|
@@ -23391,7 +23427,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23391
23427
|
|
|
23392
23428
|
// `Object.create` method
|
|
23393
23429
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23394
|
-
// eslint-disable-next-line es
|
|
23430
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23395
23431
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23396
23432
|
var result;
|
|
23397
23433
|
if (O !== null) {
|
|
@@ -23411,7 +23447,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23411
23447
|
|
|
23412
23448
|
// Array.prototype[@@unscopables]
|
|
23413
23449
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23414
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23450
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
23415
23451
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23416
23452
|
configurable: true,
|
|
23417
23453
|
value: objectCreate(null)
|
|
@@ -23424,7 +23460,7 @@ var addToUnscopables = function (key) {
|
|
|
23424
23460
|
};
|
|
23425
23461
|
|
|
23426
23462
|
// `Array.prototype.at` method
|
|
23427
|
-
// https://
|
|
23463
|
+
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
23428
23464
|
_export({ target: 'Array', proto: true }, {
|
|
23429
23465
|
at: function at(index) {
|
|
23430
23466
|
var O = toObject(this);
|
|
@@ -23437,13 +23473,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23437
23473
|
|
|
23438
23474
|
addToUnscopables('at');
|
|
23439
23475
|
|
|
23440
|
-
// eslint-disable-next-line es
|
|
23441
|
-
var
|
|
23476
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23477
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23478
|
+
|
|
23479
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23480
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23481
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23482
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23483
|
+
};
|
|
23442
23484
|
|
|
23443
23485
|
var correctPrototypeGetter = !fails(function () {
|
|
23444
23486
|
function F() { /* empty */ }
|
|
23445
23487
|
F.prototype.constructor = null;
|
|
23446
|
-
// eslint-disable-next-line es
|
|
23488
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23447
23489
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23448
23490
|
});
|
|
23449
23491
|
|
|
@@ -23453,7 +23495,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23453
23495
|
|
|
23454
23496
|
// `Object.getPrototypeOf` method
|
|
23455
23497
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23456
|
-
// eslint-disable-next-line es
|
|
23498
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23457
23499
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23458
23500
|
var object = toObject(O);
|
|
23459
23501
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23463,12 +23505,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23463
23505
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23464
23506
|
};
|
|
23465
23507
|
|
|
23466
|
-
var
|
|
23508
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23509
|
+
try {
|
|
23510
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23511
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23512
|
+
} catch (error) { /* empty */ }
|
|
23513
|
+
};
|
|
23514
|
+
|
|
23515
|
+
var $String$4 = String;
|
|
23467
23516
|
var $TypeError$6 = TypeError;
|
|
23468
23517
|
|
|
23469
23518
|
var aPossiblePrototype = function (argument) {
|
|
23470
23519
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23471
|
-
throw $TypeError$6("Can't set " + $String$
|
|
23520
|
+
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
23472
23521
|
};
|
|
23473
23522
|
|
|
23474
23523
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23479,14 +23528,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23479
23528
|
// `Object.setPrototypeOf` method
|
|
23480
23529
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23481
23530
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23482
|
-
// eslint-disable-next-line es
|
|
23531
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23483
23532
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23484
23533
|
var CORRECT_SETTER = false;
|
|
23485
23534
|
var test = {};
|
|
23486
23535
|
var setter;
|
|
23487
23536
|
try {
|
|
23488
|
-
|
|
23489
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23537
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23490
23538
|
setter(test, []);
|
|
23491
23539
|
CORRECT_SETTER = test instanceof Array;
|
|
23492
23540
|
} catch (error) { /* empty */ }
|
|
@@ -23499,14 +23547,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23499
23547
|
};
|
|
23500
23548
|
}() : undefined);
|
|
23501
23549
|
|
|
23502
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23503
|
-
|
|
23504
|
-
|
|
23505
|
-
|
|
23506
|
-
|
|
23507
|
-
|
|
23508
|
-
|
|
23509
|
-
|
|
23510
23550
|
var enforceInternalState = internalState.enforce;
|
|
23511
23551
|
var getInternalState = internalState.get;
|
|
23512
23552
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23522,7 +23562,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23522
23562
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23523
23563
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23524
23564
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23525
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23565
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23526
23566
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23527
23567
|
var NAME, Constructor, Prototype;
|
|
23528
23568
|
|
|
@@ -23567,12 +23607,12 @@ var isTypedArray = function (it) {
|
|
|
23567
23607
|
|
|
23568
23608
|
var aTypedArray = function (it) {
|
|
23569
23609
|
if (isTypedArray(it)) return it;
|
|
23570
|
-
throw TypeError$2('Target is not a typed array');
|
|
23610
|
+
throw new TypeError$2('Target is not a typed array');
|
|
23571
23611
|
};
|
|
23572
23612
|
|
|
23573
23613
|
var aTypedArrayConstructor = function (C) {
|
|
23574
23614
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23575
|
-
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23615
|
+
throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23576
23616
|
};
|
|
23577
23617
|
|
|
23578
23618
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23636,7 +23676,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23636
23676
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23637
23677
|
// eslint-disable-next-line no-shadow -- safe
|
|
23638
23678
|
TypedArray = function TypedArray() {
|
|
23639
|
-
throw TypeError$2('Incorrect invocation');
|
|
23679
|
+
throw new TypeError$2('Incorrect invocation');
|
|
23640
23680
|
};
|
|
23641
23681
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23642
23682
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23657,9 +23697,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23657
23697
|
|
|
23658
23698
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23659
23699
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23660
|
-
|
|
23661
|
-
|
|
23662
|
-
|
|
23700
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23701
|
+
configurable: true,
|
|
23702
|
+
get: function () {
|
|
23703
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23704
|
+
}
|
|
23705
|
+
});
|
|
23663
23706
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23664
23707
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23665
23708
|
}
|
|
@@ -23683,7 +23726,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23683
23726
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23684
23727
|
|
|
23685
23728
|
// `%TypedArray%.prototype.at` method
|
|
23686
|
-
// https://
|
|
23729
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
23687
23730
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23688
23731
|
var O = aTypedArray$1(this);
|
|
23689
23732
|
var len = lengthOfArrayLike(O);
|
|
@@ -23984,11 +24027,11 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23984
24027
|
clearTimeout(timer);
|
|
23985
24028
|
setTimer(setTimeout(function () {
|
|
23986
24029
|
return setInputValue("");
|
|
23987
|
-
},
|
|
24030
|
+
}, 3000));
|
|
23988
24031
|
}
|
|
23989
24032
|
|
|
23990
24033
|
setFilteredOptions(options.filter(function (option) {
|
|
23991
|
-
return option.value.toLowerCase().
|
|
24034
|
+
return option.value.toLowerCase().startsWith(inputValue.toLowerCase()) || option.text.toLowerCase().startsWith(inputValue.toLowerCase());
|
|
23992
24035
|
}));
|
|
23993
24036
|
}, [inputValue]);
|
|
23994
24037
|
useEffect$1(function () {
|
|
@@ -24296,7 +24339,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24296
24339
|
}), /*#__PURE__*/React.createElement(Stack, {
|
|
24297
24340
|
direction: "row",
|
|
24298
24341
|
justify: "space-between"
|
|
24299
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
24342
|
+
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React.createElement(Text$1, {
|
|
24300
24343
|
color: ERROR_COLOR,
|
|
24301
24344
|
variant: "pXS",
|
|
24302
24345
|
weight: themeValues.fontWeight,
|
|
@@ -24305,7 +24348,9 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24305
24348
|
"aria-live": "polite",
|
|
24306
24349
|
"aria-atomic": true,
|
|
24307
24350
|
"data-qa": createIdFromString(labelTextWhenNoError, "error message")
|
|
24308
|
-
},
|
|
24351
|
+
}, errorMessages[field.errors[0]]) : /*#__PURE__*/React.createElement(Text$1, {
|
|
24352
|
+
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
24353
|
+
})));
|
|
24309
24354
|
};
|
|
24310
24355
|
|
|
24311
24356
|
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$g, "default");
|