@thecb/components 8.4.11-beta.8 → 8.4.11
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 +202 -164
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +202 -164
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/alert/Alert.js +0 -1
- package/src/components/atoms/country-dropdown/CountryDropdown.js +1 -3
- package/src/components/atoms/dropdown/Dropdown.js +10 -9
- package/src/components/atoms/form-layouts/FormInput.js +3 -3
- package/src/components/atoms/form-select/FormSelect.js +18 -17
- package/src/components/molecules/address-form/AddressForm.js +3 -12
- package/src/components/molecules/payment-details/PaymentDetails.js +36 -16
- 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
|
@@ -18818,8 +18818,7 @@ var Alert = function Alert(_ref) {
|
|
|
18818
18818
|
borderColor: themeValues.border,
|
|
18819
18819
|
borderSize: noBorder ? "0px" : "1px",
|
|
18820
18820
|
boxShadow: enableBoxShadow ? (_generateShadows = generateShadows()) === null || _generateShadows === void 0 ? void 0 : (_generateShadows$inse = _generateShadows.inset) === null || _generateShadows$inse === void 0 ? void 0 : _generateShadows$inse.base : "",
|
|
18821
|
-
extraStyles: extraStyles
|
|
18822
|
-
role: "alert"
|
|
18821
|
+
extraStyles: extraStyles
|
|
18823
18822
|
}, maxContentWidth ? /*#__PURE__*/React__default.createElement(Center, {
|
|
18824
18823
|
maxWidth: maxContentWidth
|
|
18825
18824
|
}, content) : content);
|
|
@@ -19017,14 +19016,12 @@ function _extends$1() {
|
|
|
19017
19016
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
19018
19017
|
for (var i = 1; i < arguments.length; i++) {
|
|
19019
19018
|
var source = arguments[i];
|
|
19020
|
-
|
|
19021
19019
|
for (var key in source) {
|
|
19022
19020
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
19023
19021
|
target[key] = source[key];
|
|
19024
19022
|
}
|
|
19025
19023
|
}
|
|
19026
19024
|
}
|
|
19027
|
-
|
|
19028
19025
|
return target;
|
|
19029
19026
|
};
|
|
19030
19027
|
return _extends$1.apply(this, arguments);
|
|
@@ -19034,7 +19031,6 @@ function _assertThisInitialized(self) {
|
|
|
19034
19031
|
if (self === void 0) {
|
|
19035
19032
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19036
19033
|
}
|
|
19037
|
-
|
|
19038
19034
|
return self;
|
|
19039
19035
|
}
|
|
19040
19036
|
|
|
@@ -19067,7 +19063,6 @@ function _isNativeReflectConstruct() {
|
|
|
19067
19063
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
19068
19064
|
if (Reflect.construct.sham) return false;
|
|
19069
19065
|
if (typeof Proxy === "function") return true;
|
|
19070
|
-
|
|
19071
19066
|
try {
|
|
19072
19067
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
19073
19068
|
return true;
|
|
@@ -19089,30 +19084,23 @@ function _construct(Parent, args, Class) {
|
|
|
19089
19084
|
return instance;
|
|
19090
19085
|
};
|
|
19091
19086
|
}
|
|
19092
|
-
|
|
19093
19087
|
return _construct.apply(null, arguments);
|
|
19094
19088
|
}
|
|
19095
19089
|
|
|
19096
19090
|
function _wrapNativeSuper(Class) {
|
|
19097
19091
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
19098
|
-
|
|
19099
19092
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
19100
19093
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
19101
|
-
|
|
19102
19094
|
if (typeof Class !== "function") {
|
|
19103
19095
|
throw new TypeError("Super expression must either be null or a function");
|
|
19104
19096
|
}
|
|
19105
|
-
|
|
19106
19097
|
if (typeof _cache !== "undefined") {
|
|
19107
19098
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
19108
|
-
|
|
19109
19099
|
_cache.set(Class, Wrapper);
|
|
19110
19100
|
}
|
|
19111
|
-
|
|
19112
19101
|
function Wrapper() {
|
|
19113
19102
|
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
19114
19103
|
}
|
|
19115
|
-
|
|
19116
19104
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
19117
19105
|
constructor: {
|
|
19118
19106
|
value: Wrapper,
|
|
@@ -19123,7 +19111,6 @@ function _wrapNativeSuper(Class) {
|
|
|
19123
19111
|
});
|
|
19124
19112
|
return _setPrototypeOf(Wrapper, Class);
|
|
19125
19113
|
};
|
|
19126
|
-
|
|
19127
19114
|
return _wrapNativeSuper(Class);
|
|
19128
19115
|
}
|
|
19129
19116
|
|
|
@@ -22406,7 +22393,7 @@ var check = function (it) {
|
|
|
22406
22393
|
|
|
22407
22394
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22408
22395
|
var global_1 =
|
|
22409
|
-
// eslint-disable-next-line es
|
|
22396
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22410
22397
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22411
22398
|
check(typeof window == 'object' && window) ||
|
|
22412
22399
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -22425,12 +22412,12 @@ var fails = function (exec) {
|
|
|
22425
22412
|
|
|
22426
22413
|
// Detect IE8's incomplete defineProperty implementation
|
|
22427
22414
|
var descriptors = !fails(function () {
|
|
22428
|
-
// eslint-disable-next-line es
|
|
22415
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22429
22416
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
22430
22417
|
});
|
|
22431
22418
|
|
|
22432
22419
|
var functionBindNative = !fails(function () {
|
|
22433
|
-
// eslint-disable-next-line es
|
|
22420
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22434
22421
|
var test = (function () { /* empty */ }).bind();
|
|
22435
22422
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22436
22423
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22443,7 +22430,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22443
22430
|
};
|
|
22444
22431
|
|
|
22445
22432
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22446
|
-
// eslint-disable-next-line es
|
|
22433
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22447
22434
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22448
22435
|
|
|
22449
22436
|
// Nashorn ~ JDK8 bug
|
|
@@ -22470,14 +22457,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22470
22457
|
};
|
|
22471
22458
|
|
|
22472
22459
|
var FunctionPrototype = Function.prototype;
|
|
22473
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22474
22460
|
var call$1 = FunctionPrototype.call;
|
|
22475
|
-
var
|
|
22461
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22476
22462
|
|
|
22477
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22478
|
-
return
|
|
22479
|
-
} : function (fn) {
|
|
22480
|
-
return fn && function () {
|
|
22463
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22464
|
+
return function () {
|
|
22481
22465
|
return call$1.apply(fn, arguments);
|
|
22482
22466
|
};
|
|
22483
22467
|
};
|
|
@@ -22501,12 +22485,18 @@ var indexedObject = fails(function () {
|
|
|
22501
22485
|
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
22502
22486
|
} : $Object;
|
|
22503
22487
|
|
|
22488
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22489
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22490
|
+
var isNullOrUndefined = function (it) {
|
|
22491
|
+
return it === null || it === undefined;
|
|
22492
|
+
};
|
|
22493
|
+
|
|
22504
22494
|
var $TypeError = TypeError;
|
|
22505
22495
|
|
|
22506
22496
|
// `RequireObjectCoercible` abstract operation
|
|
22507
22497
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22508
22498
|
var requireObjectCoercible = function (it) {
|
|
22509
|
-
if (it
|
|
22499
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
22510
22500
|
return it;
|
|
22511
22501
|
};
|
|
22512
22502
|
|
|
@@ -22518,13 +22508,32 @@ var toIndexedObject = function (it) {
|
|
|
22518
22508
|
return indexedObject(requireObjectCoercible(it));
|
|
22519
22509
|
};
|
|
22520
22510
|
|
|
22511
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22512
|
+
|
|
22513
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22514
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22515
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22516
|
+
|
|
22517
|
+
var documentAll_1 = {
|
|
22518
|
+
all: documentAll,
|
|
22519
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22520
|
+
};
|
|
22521
|
+
|
|
22522
|
+
var documentAll$1 = documentAll_1.all;
|
|
22523
|
+
|
|
22521
22524
|
// `IsCallable` abstract operation
|
|
22522
22525
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22523
|
-
var isCallable = function (argument) {
|
|
22526
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22527
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22528
|
+
} : function (argument) {
|
|
22524
22529
|
return typeof argument == 'function';
|
|
22525
22530
|
};
|
|
22526
22531
|
|
|
22527
|
-
var
|
|
22532
|
+
var documentAll$2 = documentAll_1.all;
|
|
22533
|
+
|
|
22534
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22535
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22536
|
+
} : function (it) {
|
|
22528
22537
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22529
22538
|
};
|
|
22530
22539
|
|
|
@@ -22538,7 +22547,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22538
22547
|
|
|
22539
22548
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22540
22549
|
|
|
22541
|
-
var engineUserAgent =
|
|
22550
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22542
22551
|
|
|
22543
22552
|
var process$1 = global_1.process;
|
|
22544
22553
|
var Deno = global_1.Deno;
|
|
@@ -22565,12 +22574,12 @@ if (!version && engineUserAgent) {
|
|
|
22565
22574
|
|
|
22566
22575
|
var engineV8Version = version;
|
|
22567
22576
|
|
|
22568
|
-
/* eslint-disable es
|
|
22577
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22569
22578
|
|
|
22570
22579
|
|
|
22571
22580
|
|
|
22572
|
-
// eslint-disable-next-line es
|
|
22573
|
-
var
|
|
22581
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22582
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22574
22583
|
var symbol = Symbol();
|
|
22575
22584
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22576
22585
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -22579,10 +22588,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
22579
22588
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22580
22589
|
});
|
|
22581
22590
|
|
|
22582
|
-
/* eslint-disable es
|
|
22591
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22583
22592
|
|
|
22584
22593
|
|
|
22585
|
-
var useSymbolAsUid =
|
|
22594
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22586
22595
|
&& !Symbol.sham
|
|
22587
22596
|
&& typeof Symbol.iterator == 'symbol';
|
|
22588
22597
|
|
|
@@ -22617,7 +22626,7 @@ var aCallable = function (argument) {
|
|
|
22617
22626
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22618
22627
|
var getMethod = function (V, P) {
|
|
22619
22628
|
var func = V[P];
|
|
22620
|
-
return func
|
|
22629
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22621
22630
|
};
|
|
22622
22631
|
|
|
22623
22632
|
var $TypeError$2 = TypeError;
|
|
@@ -22632,7 +22641,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22632
22641
|
throw $TypeError$2("Can't convert object to primitive value");
|
|
22633
22642
|
};
|
|
22634
22643
|
|
|
22635
|
-
// eslint-disable-next-line es
|
|
22644
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22636
22645
|
var defineProperty = Object.defineProperty;
|
|
22637
22646
|
|
|
22638
22647
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22652,10 +22661,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
22652
22661
|
(module.exports = function (key, value) {
|
|
22653
22662
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22654
22663
|
})('versions', []).push({
|
|
22655
|
-
version: '3.
|
|
22664
|
+
version: '3.29.0',
|
|
22656
22665
|
mode: 'global',
|
|
22657
|
-
copyright: '© 2014-
|
|
22658
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22666
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22667
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
|
|
22659
22668
|
source: 'https://github.com/zloirock/core-js'
|
|
22660
22669
|
});
|
|
22661
22670
|
});
|
|
@@ -22672,7 +22681,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22672
22681
|
|
|
22673
22682
|
// `HasOwnProperty` abstract operation
|
|
22674
22683
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22675
|
-
// eslint-disable-next-line es
|
|
22684
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22676
22685
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22677
22686
|
return hasOwnProperty(toObject(it), key);
|
|
22678
22687
|
};
|
|
@@ -22685,21 +22694,15 @@ var uid = function (key) {
|
|
|
22685
22694
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22686
22695
|
};
|
|
22687
22696
|
|
|
22688
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22689
22697
|
var Symbol$1 = global_1.Symbol;
|
|
22690
|
-
var
|
|
22691
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22698
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22699
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22692
22700
|
|
|
22693
22701
|
var wellKnownSymbol = function (name) {
|
|
22694
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22695
|
-
|
|
22696
|
-
|
|
22697
|
-
|
|
22698
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22699
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22700
|
-
} else {
|
|
22701
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22702
|
-
}
|
|
22702
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22703
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22704
|
+
? Symbol$1[name]
|
|
22705
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22703
22706
|
} return WellKnownSymbolsStore[name];
|
|
22704
22707
|
};
|
|
22705
22708
|
|
|
@@ -22739,13 +22742,13 @@ var documentCreateElement = function (it) {
|
|
|
22739
22742
|
|
|
22740
22743
|
// Thanks to IE8 for its funny defineProperty
|
|
22741
22744
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22742
|
-
// eslint-disable-next-line es
|
|
22745
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22743
22746
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22744
22747
|
get: function () { return 7; }
|
|
22745
22748
|
}).a != 7;
|
|
22746
22749
|
});
|
|
22747
22750
|
|
|
22748
|
-
// eslint-disable-next-line es
|
|
22751
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22749
22752
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22750
22753
|
|
|
22751
22754
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22766,7 +22769,7 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22766
22769
|
// V8 ~ Chrome 36-
|
|
22767
22770
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22768
22771
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22769
|
-
// eslint-disable-next-line es
|
|
22772
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22770
22773
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22771
22774
|
value: 42,
|
|
22772
22775
|
writable: false
|
|
@@ -22783,9 +22786,9 @@ var anObject = function (argument) {
|
|
|
22783
22786
|
};
|
|
22784
22787
|
|
|
22785
22788
|
var $TypeError$5 = TypeError;
|
|
22786
|
-
// eslint-disable-next-line es
|
|
22789
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22787
22790
|
var $defineProperty = Object.defineProperty;
|
|
22788
|
-
// eslint-disable-next-line es
|
|
22791
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22789
22792
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22790
22793
|
var ENUMERABLE = 'enumerable';
|
|
22791
22794
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22832,7 +22835,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22832
22835
|
};
|
|
22833
22836
|
|
|
22834
22837
|
var FunctionPrototype$1 = Function.prototype;
|
|
22835
|
-
// eslint-disable-next-line es
|
|
22838
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22836
22839
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22837
22840
|
|
|
22838
22841
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22859,7 +22862,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22859
22862
|
|
|
22860
22863
|
var WeakMap$1 = global_1.WeakMap;
|
|
22861
22864
|
|
|
22862
|
-
var
|
|
22865
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22863
22866
|
|
|
22864
22867
|
var keys$1 = shared('keys');
|
|
22865
22868
|
|
|
@@ -22887,28 +22890,30 @@ var getterFor = function (TYPE) {
|
|
|
22887
22890
|
};
|
|
22888
22891
|
};
|
|
22889
22892
|
|
|
22890
|
-
if (
|
|
22893
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22891
22894
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22892
|
-
|
|
22893
|
-
|
|
22894
|
-
|
|
22895
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22896
|
+
store$1.get = store$1.get;
|
|
22897
|
+
store$1.has = store$1.has;
|
|
22898
|
+
store$1.set = store$1.set;
|
|
22899
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22895
22900
|
set = function (it, metadata) {
|
|
22896
|
-
if (
|
|
22901
|
+
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22897
22902
|
metadata.facade = it;
|
|
22898
|
-
|
|
22903
|
+
store$1.set(it, metadata);
|
|
22899
22904
|
return metadata;
|
|
22900
22905
|
};
|
|
22901
22906
|
get = function (it) {
|
|
22902
|
-
return
|
|
22907
|
+
return store$1.get(it) || {};
|
|
22903
22908
|
};
|
|
22904
22909
|
has = function (it) {
|
|
22905
|
-
return
|
|
22910
|
+
return store$1.has(it);
|
|
22906
22911
|
};
|
|
22907
22912
|
} else {
|
|
22908
22913
|
var STATE = sharedKey('state');
|
|
22909
22914
|
hiddenKeys[STATE] = true;
|
|
22910
22915
|
set = function (it, metadata) {
|
|
22911
|
-
if (hasOwnProperty_1(it, STATE)) throw
|
|
22916
|
+
if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22912
22917
|
metadata.facade = it;
|
|
22913
22918
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
22914
22919
|
return metadata;
|
|
@@ -22936,8 +22941,12 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
|
22936
22941
|
|
|
22937
22942
|
var enforceInternalState = internalState.enforce;
|
|
22938
22943
|
var getInternalState = internalState.get;
|
|
22939
|
-
|
|
22944
|
+
var $String = String;
|
|
22945
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22940
22946
|
var defineProperty = Object.defineProperty;
|
|
22947
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
22948
|
+
var replace = functionUncurryThis(''.replace);
|
|
22949
|
+
var join = functionUncurryThis([].join);
|
|
22941
22950
|
|
|
22942
22951
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22943
22952
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22946,8 +22955,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22946
22955
|
var TEMPLATE = String(String).split('String');
|
|
22947
22956
|
|
|
22948
22957
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22949
|
-
if (String(name)
|
|
22950
|
-
name = '[' + String(name)
|
|
22958
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
22959
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22951
22960
|
}
|
|
22952
22961
|
if (options && options.getter) name = 'get ' + name;
|
|
22953
22962
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22966,7 +22975,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22966
22975
|
} catch (error) { /* empty */ }
|
|
22967
22976
|
var state = enforceInternalState(value);
|
|
22968
22977
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22969
|
-
state.source =
|
|
22978
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
22970
22979
|
} return value;
|
|
22971
22980
|
};
|
|
22972
22981
|
|
|
@@ -23005,7 +23014,7 @@ var floor = Math.floor;
|
|
|
23005
23014
|
|
|
23006
23015
|
// `Math.trunc` method
|
|
23007
23016
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23008
|
-
// eslint-disable-next-line es
|
|
23017
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23009
23018
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23010
23019
|
var n = +x;
|
|
23011
23020
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23106,7 +23115,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23106
23115
|
|
|
23107
23116
|
// `Object.getOwnPropertyNames` method
|
|
23108
23117
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23109
|
-
// eslint-disable-next-line es
|
|
23118
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23110
23119
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23111
23120
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23112
23121
|
};
|
|
@@ -23115,7 +23124,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23115
23124
|
f: f$3
|
|
23116
23125
|
};
|
|
23117
23126
|
|
|
23118
|
-
// eslint-disable-next-line es
|
|
23127
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23119
23128
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23120
23129
|
|
|
23121
23130
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23259,7 +23268,7 @@ var toString_1 = function (argument) {
|
|
|
23259
23268
|
var charAt = functionUncurryThis(''.charAt);
|
|
23260
23269
|
|
|
23261
23270
|
var FORCED = fails(function () {
|
|
23262
|
-
// eslint-disable-next-line es
|
|
23271
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23263
23272
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23264
23273
|
});
|
|
23265
23274
|
|
|
@@ -23277,14 +23286,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23277
23286
|
|
|
23278
23287
|
// `Object.keys` method
|
|
23279
23288
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23280
|
-
// eslint-disable-next-line es
|
|
23289
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23281
23290
|
var objectKeys = Object.keys || function keys(O) {
|
|
23282
23291
|
return objectKeysInternal(O, enumBugKeys);
|
|
23283
23292
|
};
|
|
23284
23293
|
|
|
23285
23294
|
// `Object.defineProperties` method
|
|
23286
23295
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23287
|
-
// eslint-disable-next-line es
|
|
23296
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23288
23297
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23289
23298
|
anObject(O);
|
|
23290
23299
|
var props = toIndexedObject(Properties);
|
|
@@ -23373,7 +23382,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23373
23382
|
|
|
23374
23383
|
// `Object.create` method
|
|
23375
23384
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23376
|
-
// eslint-disable-next-line es
|
|
23385
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23377
23386
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23378
23387
|
var result;
|
|
23379
23388
|
if (O !== null) {
|
|
@@ -23419,13 +23428,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23419
23428
|
|
|
23420
23429
|
addToUnscopables('at');
|
|
23421
23430
|
|
|
23422
|
-
// eslint-disable-next-line es
|
|
23423
|
-
var
|
|
23431
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23432
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23433
|
+
|
|
23434
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23435
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23436
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23437
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23438
|
+
};
|
|
23424
23439
|
|
|
23425
23440
|
var correctPrototypeGetter = !fails(function () {
|
|
23426
23441
|
function F() { /* empty */ }
|
|
23427
23442
|
F.prototype.constructor = null;
|
|
23428
|
-
// eslint-disable-next-line es
|
|
23443
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23429
23444
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23430
23445
|
});
|
|
23431
23446
|
|
|
@@ -23435,7 +23450,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23435
23450
|
|
|
23436
23451
|
// `Object.getPrototypeOf` method
|
|
23437
23452
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23438
|
-
// eslint-disable-next-line es
|
|
23453
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23439
23454
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23440
23455
|
var object = toObject(O);
|
|
23441
23456
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23445,6 +23460,13 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23445
23460
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23446
23461
|
};
|
|
23447
23462
|
|
|
23463
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23464
|
+
try {
|
|
23465
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23466
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23467
|
+
} catch (error) { /* empty */ }
|
|
23468
|
+
};
|
|
23469
|
+
|
|
23448
23470
|
var $String$3 = String;
|
|
23449
23471
|
var $TypeError$6 = TypeError;
|
|
23450
23472
|
|
|
@@ -23461,14 +23483,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23461
23483
|
// `Object.setPrototypeOf` method
|
|
23462
23484
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23463
23485
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23464
|
-
// eslint-disable-next-line es
|
|
23486
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23465
23487
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23466
23488
|
var CORRECT_SETTER = false;
|
|
23467
23489
|
var test = {};
|
|
23468
23490
|
var setter;
|
|
23469
23491
|
try {
|
|
23470
|
-
|
|
23471
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23492
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23472
23493
|
setter(test, []);
|
|
23473
23494
|
CORRECT_SETTER = test instanceof Array;
|
|
23474
23495
|
} catch (error) { /* empty */ }
|
|
@@ -23481,14 +23502,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23481
23502
|
};
|
|
23482
23503
|
}() : undefined);
|
|
23483
23504
|
|
|
23484
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23485
|
-
|
|
23486
|
-
|
|
23487
|
-
|
|
23488
|
-
|
|
23489
|
-
|
|
23490
|
-
|
|
23491
|
-
|
|
23492
23505
|
var enforceInternalState = internalState.enforce;
|
|
23493
23506
|
var getInternalState = internalState.get;
|
|
23494
23507
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23504,7 +23517,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23504
23517
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23505
23518
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23506
23519
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23507
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23520
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23508
23521
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23509
23522
|
var NAME, Constructor, Prototype;
|
|
23510
23523
|
|
|
@@ -23639,9 +23652,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23639
23652
|
|
|
23640
23653
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23641
23654
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23642
|
-
|
|
23643
|
-
|
|
23644
|
-
|
|
23655
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23656
|
+
configurable: true,
|
|
23657
|
+
get: function () {
|
|
23658
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23659
|
+
}
|
|
23660
|
+
});
|
|
23645
23661
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23646
23662
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23647
23663
|
}
|
|
@@ -23993,7 +24009,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
23993
24009
|
"aria-labelledby": ariaLabelledby,
|
|
23994
24010
|
"aria-describedby": ariaDescribedby,
|
|
23995
24011
|
"aria-expanded": isOpen,
|
|
23996
|
-
|
|
24012
|
+
autocomplete: autocompleteValue,
|
|
23997
24013
|
background: isOpen ? themeValues.hoverColor : WHITE,
|
|
23998
24014
|
borderRadius: "2px",
|
|
23999
24015
|
borderSize: "1px",
|
|
@@ -24013,6 +24029,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
24013
24029
|
},
|
|
24014
24030
|
padding: "12px",
|
|
24015
24031
|
placeholder: getSelection(),
|
|
24032
|
+
role: "combobox",
|
|
24016
24033
|
themeValues: themeValues,
|
|
24017
24034
|
title: hasTitles ? getSelection() : null,
|
|
24018
24035
|
type: "text",
|
|
@@ -24065,7 +24082,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
24065
24082
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24066
24083
|
variant: "p",
|
|
24067
24084
|
color: choice.value === value ? WHITE : disabledValues.includes(choice.value) ? STORM_GREY : MINESHAFT_GREY,
|
|
24068
|
-
extraStyles: "padding-left: 16px; \n
|
|
24085
|
+
extraStyles: "padding-left: 16px; \n cursor: ".concat(disabledValues.includes(choice.value) ? "default" : "pointer", "; \n white-space: nowrap; \n overflow: hidden; \n text-overflow: ellipsis;")
|
|
24069
24086
|
}, choice.text));
|
|
24070
24087
|
}))) : /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
24071
24088
|
};
|
|
@@ -24229,19 +24246,20 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24229
24246
|
},
|
|
24230
24247
|
disabled: disabled,
|
|
24231
24248
|
autocompleteValue: autocompleteValue,
|
|
24232
|
-
smoothScroll: smoothScroll
|
|
24233
|
-
required: options.required
|
|
24249
|
+
smoothScroll: smoothScroll
|
|
24234
24250
|
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
24235
24251
|
direction: "row",
|
|
24236
24252
|
justify: "space-between",
|
|
24237
|
-
"aria-
|
|
24238
|
-
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24253
|
+
"aria-live": "polite"
|
|
24254
|
+
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24239
24255
|
color: ERROR_COLOR,
|
|
24240
24256
|
variant: "pXS",
|
|
24241
24257
|
weight: themeValues.fontWeight,
|
|
24242
|
-
extraStyles: "word-break: break-word;\n
|
|
24258
|
+
extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
|
|
24243
24259
|
id: createIdFromString(labelTextWhenNoError, "error message")
|
|
24244
|
-
},
|
|
24260
|
+
}, errorMessages[field.errors[0]]) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24261
|
+
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
24262
|
+
})));
|
|
24245
24263
|
};
|
|
24246
24264
|
|
|
24247
24265
|
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$g, "default");
|
|
@@ -24989,18 +25007,14 @@ var options = [{
|
|
|
24989
25007
|
value: "ZW"
|
|
24990
25008
|
}];
|
|
24991
25009
|
|
|
24992
|
-
var _excluded$o = ["labelTextWhenNoError", "errorMessages", "field", "fieldActions", "showErrors", "onChange"];
|
|
24993
|
-
|
|
24994
25010
|
var CountryDropdown = function CountryDropdown(_ref) {
|
|
24995
25011
|
var labelTextWhenNoError = _ref.labelTextWhenNoError,
|
|
24996
25012
|
errorMessages = _ref.errorMessages,
|
|
24997
25013
|
field = _ref.field,
|
|
24998
25014
|
fieldActions = _ref.fieldActions,
|
|
24999
25015
|
showErrors = _ref.showErrors,
|
|
25000
|
-
onChange = _ref.onChange
|
|
25001
|
-
|
|
25002
|
-
|
|
25003
|
-
return /*#__PURE__*/React__default.createElement(FormSelect$1, _extends({
|
|
25016
|
+
onChange = _ref.onChange;
|
|
25017
|
+
return /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
25004
25018
|
options: options,
|
|
25005
25019
|
field: field,
|
|
25006
25020
|
fieldActions: fieldActions,
|
|
@@ -25009,7 +25023,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
25009
25023
|
showErrors: showErrors,
|
|
25010
25024
|
onChange: onChange,
|
|
25011
25025
|
autocompleteValue: "country-name"
|
|
25012
|
-
}
|
|
25026
|
+
});
|
|
25013
25027
|
};
|
|
25014
25028
|
|
|
25015
25029
|
var DetailText = styled__default.p.withConfig({
|
|
@@ -25075,7 +25089,7 @@ var mobileFallbackValues$1 = {
|
|
|
25075
25089
|
};
|
|
25076
25090
|
var MOBILE_BREAKPOINT$1 = 768;
|
|
25077
25091
|
|
|
25078
|
-
var _excluded$
|
|
25092
|
+
var _excluded$o = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
25079
25093
|
/*
|
|
25080
25094
|
New responsive text component for Detail elements
|
|
25081
25095
|
(Block level text elements which are smaller than "Title" elements)
|
|
@@ -25125,7 +25139,7 @@ var Detail = function Detail(_ref) {
|
|
|
25125
25139
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
25126
25140
|
dataQa = _ref.dataQa,
|
|
25127
25141
|
children = _ref.children,
|
|
25128
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25142
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
25129
25143
|
|
|
25130
25144
|
return /*#__PURE__*/React__default.createElement(DetailText, _extends({
|
|
25131
25145
|
variant: variant,
|
|
@@ -25849,7 +25863,7 @@ var fallbackValues$k = {
|
|
|
25849
25863
|
formFooterPanel: formFooterPanel
|
|
25850
25864
|
};
|
|
25851
25865
|
|
|
25852
|
-
var _excluded$
|
|
25866
|
+
var _excluded$p = ["showErrors", "themeValues"],
|
|
25853
25867
|
_excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocomplete", "extraStyles", "removeFromValue"];
|
|
25854
25868
|
var InputField = styled__default.input.withConfig({
|
|
25855
25869
|
displayName: "FormInput__InputField",
|
|
@@ -25883,7 +25897,7 @@ var InputField = styled__default.input.withConfig({
|
|
|
25883
25897
|
var FormattedInputField = styled__default(function (_ref8) {
|
|
25884
25898
|
var showErrors = _ref8.showErrors,
|
|
25885
25899
|
themeValues = _ref8.themeValues,
|
|
25886
|
-
props = _objectWithoutProperties(_ref8, _excluded$
|
|
25900
|
+
props = _objectWithoutProperties(_ref8, _excluded$p);
|
|
25887
25901
|
|
|
25888
25902
|
return /*#__PURE__*/React__default.createElement(FormattedInput, props);
|
|
25889
25903
|
}).withConfig({
|
|
@@ -25954,8 +25968,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
25954
25968
|
};
|
|
25955
25969
|
|
|
25956
25970
|
return /*#__PURE__*/React__default.createElement(Stack, {
|
|
25957
|
-
childGap: "0.25rem"
|
|
25958
|
-
"aria-live": "assertive"
|
|
25971
|
+
childGap: "0.25rem"
|
|
25959
25972
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
25960
25973
|
padding: "0"
|
|
25961
25974
|
}, helperModal ? /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -26002,8 +26015,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26002
26015
|
}, showPassword ? "Hide" : "Show"), isMobile && decorator && /*#__PURE__*/React__default.createElement(Box, {
|
|
26003
26016
|
padding: "0 0 0 auto"
|
|
26004
26017
|
}, decorator)))), /*#__PURE__*/React__default.createElement(Box, {
|
|
26005
|
-
padding: "0"
|
|
26006
|
-
"aria-live": "assertive"
|
|
26018
|
+
padding: "0"
|
|
26007
26019
|
}, formatter ? /*#__PURE__*/React__default.createElement(FormattedInputField, _extends({
|
|
26008
26020
|
"aria-labelledby": createIdFromString(labelTextWhenNoError),
|
|
26009
26021
|
"aria-describedby": createIdFromString(labelTextWhenNoError, "error message"),
|
|
@@ -26045,7 +26057,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26045
26057
|
}, props))), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26046
26058
|
direction: "row",
|
|
26047
26059
|
justify: "space-between",
|
|
26048
|
-
"aria-
|
|
26060
|
+
"aria-live": "polite"
|
|
26049
26061
|
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26050
26062
|
color: ERROR_COLOR,
|
|
26051
26063
|
variant: "pXS",
|
|
@@ -26061,7 +26073,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26061
26073
|
|
|
26062
26074
|
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
|
|
26063
26075
|
|
|
26064
|
-
var _excluded$
|
|
26076
|
+
var _excluded$q = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
|
|
26065
26077
|
|
|
26066
26078
|
var FormInputRow = function FormInputRow(_ref) {
|
|
26067
26079
|
var _ref$breakpoint = _ref.breakpoint,
|
|
@@ -26071,7 +26083,7 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26071
26083
|
largeChild = _ref.largeChild,
|
|
26072
26084
|
largeChildSize = _ref.largeChildSize,
|
|
26073
26085
|
children = _ref.children,
|
|
26074
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26086
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
26075
26087
|
|
|
26076
26088
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26077
26089
|
padding: "0"
|
|
@@ -26083,14 +26095,14 @@ var FormInputRow = function FormInputRow(_ref) {
|
|
|
26083
26095
|
}, children));
|
|
26084
26096
|
};
|
|
26085
26097
|
|
|
26086
|
-
var _excluded$
|
|
26098
|
+
var _excluded$r = ["childGap", "bottomItem", "children"];
|
|
26087
26099
|
|
|
26088
26100
|
var FormInputColumn = function FormInputColumn(_ref) {
|
|
26089
26101
|
var _ref$childGap = _ref.childGap,
|
|
26090
26102
|
childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
|
|
26091
26103
|
bottomItem = _ref.bottomItem,
|
|
26092
26104
|
children = _ref.children,
|
|
26093
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26105
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
26094
26106
|
|
|
26095
26107
|
return /*#__PURE__*/React__default.createElement(Stack, _extends({
|
|
26096
26108
|
childGap: childGap,
|
|
@@ -26098,12 +26110,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
|
|
|
26098
26110
|
}, rest), children);
|
|
26099
26111
|
};
|
|
26100
26112
|
|
|
26101
|
-
var _excluded$
|
|
26113
|
+
var _excluded$s = ["themeValues", "children"];
|
|
26102
26114
|
|
|
26103
26115
|
var FormContainer = function FormContainer(_ref) {
|
|
26104
26116
|
var themeValues = _ref.themeValues,
|
|
26105
26117
|
children = _ref.children,
|
|
26106
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26118
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
26107
26119
|
|
|
26108
26120
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26109
26121
|
isMobile = _useContext.isMobile;
|
|
@@ -26368,7 +26380,7 @@ var fallbackValues$o = {
|
|
|
26368
26380
|
fontSize: fontSize$8
|
|
26369
26381
|
};
|
|
26370
26382
|
|
|
26371
|
-
var _excluded$
|
|
26383
|
+
var _excluded$t = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
|
|
26372
26384
|
|
|
26373
26385
|
var Heading = function Heading(_ref) {
|
|
26374
26386
|
var themeValues = _ref.themeValues,
|
|
@@ -26388,7 +26400,7 @@ var Heading = function Heading(_ref) {
|
|
|
26388
26400
|
as = _ref$as === void 0 ? variant : _ref$as,
|
|
26389
26401
|
dataQa = _ref.dataQa,
|
|
26390
26402
|
children = _ref.children,
|
|
26391
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26403
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
26392
26404
|
|
|
26393
26405
|
return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
|
|
26394
26406
|
variant: variant,
|
|
@@ -26679,7 +26691,7 @@ var Loading = function Loading() {
|
|
|
26679
26691
|
})))));
|
|
26680
26692
|
};
|
|
26681
26693
|
|
|
26682
|
-
var _excluded$
|
|
26694
|
+
var _excluded$u = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26683
26695
|
|
|
26684
26696
|
var NavFooter = function NavFooter(_ref) {
|
|
26685
26697
|
var leftContent = _ref.leftContent,
|
|
@@ -26695,7 +26707,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26695
26707
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
26696
26708
|
isMobile = _ref.isMobile,
|
|
26697
26709
|
footerWidth = _ref.footerWidth,
|
|
26698
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26710
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26699
26711
|
|
|
26700
26712
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26701
26713
|
padding: footerPadding,
|
|
@@ -26727,7 +26739,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26727
26739
|
}, rightContent)))))));
|
|
26728
26740
|
};
|
|
26729
26741
|
|
|
26730
|
-
var _excluded$
|
|
26742
|
+
var _excluded$v = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
26731
26743
|
|
|
26732
26744
|
var NavHeader = function NavHeader(_ref) {
|
|
26733
26745
|
var leftContent = _ref.leftContent,
|
|
@@ -26737,7 +26749,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
26737
26749
|
isMobile = _ref.isMobile,
|
|
26738
26750
|
backgroundColor = _ref.backgroundColor,
|
|
26739
26751
|
headerWidth = _ref.headerWidth,
|
|
26740
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26752
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
26741
26753
|
|
|
26742
26754
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26743
26755
|
padding: "0 16px 4px",
|
|
@@ -38512,7 +38524,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
38512
38524
|
return extraStyles;
|
|
38513
38525
|
});
|
|
38514
38526
|
|
|
38515
|
-
var _excluded$
|
|
38527
|
+
var _excluded$w = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38516
38528
|
|
|
38517
38529
|
var TableRow = function TableRow(_ref) {
|
|
38518
38530
|
var children = _ref.children,
|
|
@@ -38522,7 +38534,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38522
38534
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38523
38535
|
onClick = _ref.onClick,
|
|
38524
38536
|
themeValues = _ref.themeValues,
|
|
38525
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38537
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
38526
38538
|
|
|
38527
38539
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
38528
38540
|
onClick: onClick,
|
|
@@ -40376,20 +40388,17 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
40376
40388
|
actions.fields.zip.set("");
|
|
40377
40389
|
}
|
|
40378
40390
|
},
|
|
40379
|
-
showErrors: showErrors
|
|
40380
|
-
"aria-label": "Country"
|
|
40391
|
+
showErrors: showErrors
|
|
40381
40392
|
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40382
40393
|
labelTextWhenNoError: "Address",
|
|
40383
40394
|
errorMessages: street1ErrorMessages,
|
|
40384
|
-
required: true,
|
|
40385
40395
|
field: fields.street1,
|
|
40386
40396
|
fieldActions: actions.fields.street1,
|
|
40387
40397
|
showErrors: showErrors,
|
|
40388
40398
|
onKeyDown: function onKeyDown(e) {
|
|
40389
40399
|
return e.key === "Enter" && handleSubmit(e);
|
|
40390
40400
|
},
|
|
40391
|
-
autocomplete: "address-line1"
|
|
40392
|
-
"aria-label": "address line 1"
|
|
40401
|
+
autocomplete: "address-line1"
|
|
40393
40402
|
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40394
40403
|
labelTextWhenNoError: "Apt, Suite, Unit, Floor, etc. (Optional)",
|
|
40395
40404
|
field: fields.street2,
|
|
@@ -40398,11 +40407,9 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
40398
40407
|
onKeyDown: function onKeyDown(e) {
|
|
40399
40408
|
return e.key === "Enter" && handleSubmit(e);
|
|
40400
40409
|
},
|
|
40401
|
-
autocomplete: "address-line2"
|
|
40402
|
-
"aria-label": "Apt, Suite, Unit, Floor, etc. (Optional)"
|
|
40410
|
+
autocomplete: "address-line2"
|
|
40403
40411
|
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40404
40412
|
labelTextWhenNoError: "City",
|
|
40405
|
-
required: true,
|
|
40406
40413
|
errorMessages: cityErrorMessages,
|
|
40407
40414
|
field: fields.city,
|
|
40408
40415
|
fieldActions: actions.fields.city,
|
|
@@ -40410,8 +40417,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
40410
40417
|
onKeyDown: function onKeyDown(e) {
|
|
40411
40418
|
return e.key === "Enter" && handleSubmit(e);
|
|
40412
40419
|
},
|
|
40413
|
-
autocomplete: "
|
|
40414
|
-
"aria-label": "city"
|
|
40420
|
+
autocomplete: "address-level2"
|
|
40415
40421
|
}), /*#__PURE__*/React__default.createElement(FormStateDropdown, {
|
|
40416
40422
|
labelTextWhenNoError: isUS ? "State" : "State or Province",
|
|
40417
40423
|
errorMessages: stateProvinceErrorMessages,
|
|
@@ -40422,9 +40428,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
40422
40428
|
onKeyDown: function onKeyDown(e) {
|
|
40423
40429
|
return e.key === "Enter" && handleSubmit(e);
|
|
40424
40430
|
},
|
|
40425
|
-
|
|
40426
|
-
"aria-label": isUS ? "state" : "state or province",
|
|
40427
|
-
required: true
|
|
40431
|
+
autocomplete: "address-level1"
|
|
40428
40432
|
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40429
40433
|
isNum: isUS,
|
|
40430
40434
|
formatter: isUS ? zipFormat : null,
|
|
@@ -40436,11 +40440,10 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
40436
40440
|
onKeyDown: function onKeyDown(e) {
|
|
40437
40441
|
return e.key === "Enter" && handleSubmit(e);
|
|
40438
40442
|
},
|
|
40439
|
-
"aria-label": "zip code",
|
|
40440
40443
|
autocomplete: "postal-code"
|
|
40441
40444
|
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
40442
40445
|
name: "address checkbox",
|
|
40443
|
-
title: "Save address to
|
|
40446
|
+
title: "Save address to wallet",
|
|
40444
40447
|
checked: walletCheckboxMarked,
|
|
40445
40448
|
onChange: saveToWallet
|
|
40446
40449
|
})));
|
|
@@ -48156,7 +48159,7 @@ var fallbackValues$N = {
|
|
|
48156
48159
|
labeledAmountTotal: labeledAmountTotal
|
|
48157
48160
|
};
|
|
48158
48161
|
|
|
48159
|
-
var _excluded$
|
|
48162
|
+
var _excluded$x = ["amount"],
|
|
48160
48163
|
_excluded2$1 = ["amount"];
|
|
48161
48164
|
|
|
48162
48165
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -48229,22 +48232,57 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
48229
48232
|
var LoadingDetails = function LoadingDetails() {
|
|
48230
48233
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
48231
48234
|
padding: "0",
|
|
48232
|
-
background: GRECIAN_GREY,
|
|
48233
|
-
borderRadius: "4px",
|
|
48234
48235
|
minHeight: "196px"
|
|
48235
|
-
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
48236
|
-
minHeight: "196px",
|
|
48237
|
-
singleChild: true,
|
|
48238
|
-
fillCenter: true
|
|
48239
|
-
}, /*#__PURE__*/React__default.createElement(Center, {
|
|
48240
|
-
intrinsic: true
|
|
48241
48236
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
48242
48237
|
padding: "0",
|
|
48243
|
-
extraStyles: "
|
|
48238
|
+
extraStyles: "position: absolute;\n height: 200px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;"
|
|
48244
48239
|
}, /*#__PURE__*/React__default.createElement(Spinner$2, {
|
|
48245
48240
|
size: "100",
|
|
48246
48241
|
centerSpinner: true
|
|
48247
|
-
}))
|
|
48242
|
+
})), /*#__PURE__*/React__default.createElement(Stack, {
|
|
48243
|
+
childGap: "16px"
|
|
48244
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48245
|
+
nowrap: true,
|
|
48246
|
+
justify: "space-between",
|
|
48247
|
+
align: "start"
|
|
48248
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48249
|
+
exactWidth: "110",
|
|
48250
|
+
height: "27px"
|
|
48251
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48252
|
+
exactWidth: "60",
|
|
48253
|
+
height: "27px"
|
|
48254
|
+
})), /*#__PURE__*/React__default.createElement(SolidDivider$1, null), /*#__PURE__*/React__default.createElement(Box, {
|
|
48255
|
+
padding: "0.5rem 0"
|
|
48256
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48257
|
+
justify: "space-between",
|
|
48258
|
+
align: "start"
|
|
48259
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48260
|
+
exactWidth: "80",
|
|
48261
|
+
height: "27px"
|
|
48262
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48263
|
+
exactWidth: "60",
|
|
48264
|
+
height: "27px"
|
|
48265
|
+
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
48266
|
+
padding: "4px 0"
|
|
48267
|
+
}), /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48268
|
+
justify: "space-between",
|
|
48269
|
+
align: "start"
|
|
48270
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48271
|
+
exactWidth: "100",
|
|
48272
|
+
height: "27px"
|
|
48273
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48274
|
+
exactWidth: "50",
|
|
48275
|
+
height: "27px"
|
|
48276
|
+
}))), /*#__PURE__*/React__default.createElement(SolidDivider$1, null), /*#__PURE__*/React__default.createElement(Stack, {
|
|
48277
|
+
justify: "space-between",
|
|
48278
|
+
direction: "row"
|
|
48279
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48280
|
+
exactWidth: "55",
|
|
48281
|
+
height: "30px"
|
|
48282
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48283
|
+
exactWidth: "70",
|
|
48284
|
+
height: "30px"
|
|
48285
|
+
}))));
|
|
48248
48286
|
};
|
|
48249
48287
|
|
|
48250
48288
|
var ErrorDetails = function ErrorDetails() {
|
|
@@ -48366,7 +48404,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
48366
48404
|
return fee.amount > 0;
|
|
48367
48405
|
}).map(function (_ref5) {
|
|
48368
48406
|
var amount = _ref5.amount,
|
|
48369
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
48407
|
+
rest = _objectWithoutProperties(_ref5, _excluded$x);
|
|
48370
48408
|
|
|
48371
48409
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
48372
48410
|
amount: displayCurrency(amount)
|
|
@@ -48800,12 +48838,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48800
48838
|
}, errorMessage)))));
|
|
48801
48839
|
};
|
|
48802
48840
|
|
|
48803
|
-
var _excluded$
|
|
48841
|
+
var _excluded$y = ["version"];
|
|
48804
48842
|
|
|
48805
48843
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48806
48844
|
var _ref$version = _ref.version,
|
|
48807
48845
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48808
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48846
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
48809
48847
|
|
|
48810
48848
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48811
48849
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|