@thecb/components 9.0.0-beta.8 → 9.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +195 -138
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +195 -139
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/atoms/country-dropdown/CountryDropdown.js +1 -1
- package/src/components/atoms/country-dropdown/CountryDropdown.stories.js +0 -1
- package/src/components/atoms/dropdown/Dropdown.js +9 -9
- package/src/components/atoms/form-layouts/FormInput.js +2 -3
- package/src/components/atoms/form-layouts/index.d.ts +1 -1
- package/src/components/atoms/form-select/index.d.ts +1 -1
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.js +1 -1
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +0 -1
- package/src/components/molecules/link-card/index.d.ts +1 -1
- package/src/components/molecules/partial-amount-form/PartialAmountForm.state.js +40 -22
- package/src/components/molecules/partial-amount-form/index.js +9 -2
- package/src/components/molecules/payment-details/PaymentDetails.js +36 -16
- package/src/components/molecules/phone-form/PhoneForm.js +1 -0
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV1.js +1 -2
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV2.js +0 -1
- 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/src/components/atoms/state-province-dropdown/index.d.ts +0 -26
package/dist/index.cjs.js
CHANGED
|
@@ -19018,14 +19018,12 @@ function _extends$1() {
|
|
|
19018
19018
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
19019
19019
|
for (var i = 1; i < arguments.length; i++) {
|
|
19020
19020
|
var source = arguments[i];
|
|
19021
|
-
|
|
19022
19021
|
for (var key in source) {
|
|
19023
19022
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
19024
19023
|
target[key] = source[key];
|
|
19025
19024
|
}
|
|
19026
19025
|
}
|
|
19027
19026
|
}
|
|
19028
|
-
|
|
19029
19027
|
return target;
|
|
19030
19028
|
};
|
|
19031
19029
|
return _extends$1.apply(this, arguments);
|
|
@@ -19035,7 +19033,6 @@ function _assertThisInitialized(self) {
|
|
|
19035
19033
|
if (self === void 0) {
|
|
19036
19034
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19037
19035
|
}
|
|
19038
|
-
|
|
19039
19036
|
return self;
|
|
19040
19037
|
}
|
|
19041
19038
|
|
|
@@ -19068,7 +19065,6 @@ function _isNativeReflectConstruct() {
|
|
|
19068
19065
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
19069
19066
|
if (Reflect.construct.sham) return false;
|
|
19070
19067
|
if (typeof Proxy === "function") return true;
|
|
19071
|
-
|
|
19072
19068
|
try {
|
|
19073
19069
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
19074
19070
|
return true;
|
|
@@ -19090,30 +19086,23 @@ function _construct(Parent, args, Class) {
|
|
|
19090
19086
|
return instance;
|
|
19091
19087
|
};
|
|
19092
19088
|
}
|
|
19093
|
-
|
|
19094
19089
|
return _construct.apply(null, arguments);
|
|
19095
19090
|
}
|
|
19096
19091
|
|
|
19097
19092
|
function _wrapNativeSuper(Class) {
|
|
19098
19093
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
19099
|
-
|
|
19100
19094
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
19101
19095
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
19102
|
-
|
|
19103
19096
|
if (typeof Class !== "function") {
|
|
19104
19097
|
throw new TypeError("Super expression must either be null or a function");
|
|
19105
19098
|
}
|
|
19106
|
-
|
|
19107
19099
|
if (typeof _cache !== "undefined") {
|
|
19108
19100
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
19109
|
-
|
|
19110
19101
|
_cache.set(Class, Wrapper);
|
|
19111
19102
|
}
|
|
19112
|
-
|
|
19113
19103
|
function Wrapper() {
|
|
19114
19104
|
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
19115
19105
|
}
|
|
19116
|
-
|
|
19117
19106
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
19118
19107
|
constructor: {
|
|
19119
19108
|
value: Wrapper,
|
|
@@ -19124,7 +19113,6 @@ function _wrapNativeSuper(Class) {
|
|
|
19124
19113
|
});
|
|
19125
19114
|
return _setPrototypeOf(Wrapper, Class);
|
|
19126
19115
|
};
|
|
19127
|
-
|
|
19128
19116
|
return _wrapNativeSuper(Class);
|
|
19129
19117
|
}
|
|
19130
19118
|
|
|
@@ -22413,7 +22401,7 @@ var check = function (it) {
|
|
|
22413
22401
|
|
|
22414
22402
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22415
22403
|
var global_1 =
|
|
22416
|
-
// eslint-disable-next-line es
|
|
22404
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22417
22405
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22418
22406
|
check(typeof window == 'object' && window) ||
|
|
22419
22407
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -22432,12 +22420,12 @@ var fails = function (exec) {
|
|
|
22432
22420
|
|
|
22433
22421
|
// Detect IE8's incomplete defineProperty implementation
|
|
22434
22422
|
var descriptors = !fails(function () {
|
|
22435
|
-
// eslint-disable-next-line es
|
|
22423
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22436
22424
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
22437
22425
|
});
|
|
22438
22426
|
|
|
22439
22427
|
var functionBindNative = !fails(function () {
|
|
22440
|
-
// eslint-disable-next-line es
|
|
22428
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22441
22429
|
var test = (function () { /* empty */ }).bind();
|
|
22442
22430
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22443
22431
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22450,7 +22438,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22450
22438
|
};
|
|
22451
22439
|
|
|
22452
22440
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22453
|
-
// eslint-disable-next-line es
|
|
22441
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22454
22442
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22455
22443
|
|
|
22456
22444
|
// Nashorn ~ JDK8 bug
|
|
@@ -22477,14 +22465,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22477
22465
|
};
|
|
22478
22466
|
|
|
22479
22467
|
var FunctionPrototype = Function.prototype;
|
|
22480
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22481
22468
|
var call$1 = FunctionPrototype.call;
|
|
22482
|
-
var
|
|
22469
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22483
22470
|
|
|
22484
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22485
|
-
return
|
|
22486
|
-
} : function (fn) {
|
|
22487
|
-
return fn && function () {
|
|
22471
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22472
|
+
return function () {
|
|
22488
22473
|
return call$1.apply(fn, arguments);
|
|
22489
22474
|
};
|
|
22490
22475
|
};
|
|
@@ -22508,12 +22493,18 @@ var indexedObject = fails(function () {
|
|
|
22508
22493
|
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
22509
22494
|
} : $Object;
|
|
22510
22495
|
|
|
22496
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22497
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22498
|
+
var isNullOrUndefined = function (it) {
|
|
22499
|
+
return it === null || it === undefined;
|
|
22500
|
+
};
|
|
22501
|
+
|
|
22511
22502
|
var $TypeError = TypeError;
|
|
22512
22503
|
|
|
22513
22504
|
// `RequireObjectCoercible` abstract operation
|
|
22514
22505
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22515
22506
|
var requireObjectCoercible = function (it) {
|
|
22516
|
-
if (it
|
|
22507
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
22517
22508
|
return it;
|
|
22518
22509
|
};
|
|
22519
22510
|
|
|
@@ -22525,13 +22516,32 @@ var toIndexedObject = function (it) {
|
|
|
22525
22516
|
return indexedObject(requireObjectCoercible(it));
|
|
22526
22517
|
};
|
|
22527
22518
|
|
|
22519
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22520
|
+
|
|
22521
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22522
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22523
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22524
|
+
|
|
22525
|
+
var documentAll_1 = {
|
|
22526
|
+
all: documentAll,
|
|
22527
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22528
|
+
};
|
|
22529
|
+
|
|
22530
|
+
var documentAll$1 = documentAll_1.all;
|
|
22531
|
+
|
|
22528
22532
|
// `IsCallable` abstract operation
|
|
22529
22533
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22530
|
-
var isCallable = function (argument) {
|
|
22534
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22535
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22536
|
+
} : function (argument) {
|
|
22531
22537
|
return typeof argument == 'function';
|
|
22532
22538
|
};
|
|
22533
22539
|
|
|
22534
|
-
var
|
|
22540
|
+
var documentAll$2 = documentAll_1.all;
|
|
22541
|
+
|
|
22542
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22543
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22544
|
+
} : function (it) {
|
|
22535
22545
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22536
22546
|
};
|
|
22537
22547
|
|
|
@@ -22545,7 +22555,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22545
22555
|
|
|
22546
22556
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22547
22557
|
|
|
22548
|
-
var engineUserAgent =
|
|
22558
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22549
22559
|
|
|
22550
22560
|
var process$1 = global_1.process;
|
|
22551
22561
|
var Deno = global_1.Deno;
|
|
@@ -22572,12 +22582,12 @@ if (!version && engineUserAgent) {
|
|
|
22572
22582
|
|
|
22573
22583
|
var engineV8Version = version;
|
|
22574
22584
|
|
|
22575
|
-
/* eslint-disable es
|
|
22585
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22576
22586
|
|
|
22577
22587
|
|
|
22578
22588
|
|
|
22579
|
-
// eslint-disable-next-line es
|
|
22580
|
-
var
|
|
22589
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22590
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22581
22591
|
var symbol = Symbol();
|
|
22582
22592
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22583
22593
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -22586,10 +22596,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
22586
22596
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22587
22597
|
});
|
|
22588
22598
|
|
|
22589
|
-
/* eslint-disable es
|
|
22599
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22590
22600
|
|
|
22591
22601
|
|
|
22592
|
-
var useSymbolAsUid =
|
|
22602
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22593
22603
|
&& !Symbol.sham
|
|
22594
22604
|
&& typeof Symbol.iterator == 'symbol';
|
|
22595
22605
|
|
|
@@ -22624,7 +22634,7 @@ var aCallable = function (argument) {
|
|
|
22624
22634
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22625
22635
|
var getMethod = function (V, P) {
|
|
22626
22636
|
var func = V[P];
|
|
22627
|
-
return func
|
|
22637
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22628
22638
|
};
|
|
22629
22639
|
|
|
22630
22640
|
var $TypeError$2 = TypeError;
|
|
@@ -22639,7 +22649,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22639
22649
|
throw $TypeError$2("Can't convert object to primitive value");
|
|
22640
22650
|
};
|
|
22641
22651
|
|
|
22642
|
-
// eslint-disable-next-line es
|
|
22652
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22643
22653
|
var defineProperty = Object.defineProperty;
|
|
22644
22654
|
|
|
22645
22655
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22659,10 +22669,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
22659
22669
|
(module.exports = function (key, value) {
|
|
22660
22670
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22661
22671
|
})('versions', []).push({
|
|
22662
|
-
version: '3.
|
|
22672
|
+
version: '3.29.0',
|
|
22663
22673
|
mode: 'global',
|
|
22664
|
-
copyright: '© 2014-
|
|
22665
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22674
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22675
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
|
|
22666
22676
|
source: 'https://github.com/zloirock/core-js'
|
|
22667
22677
|
});
|
|
22668
22678
|
});
|
|
@@ -22679,7 +22689,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22679
22689
|
|
|
22680
22690
|
// `HasOwnProperty` abstract operation
|
|
22681
22691
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22682
|
-
// eslint-disable-next-line es
|
|
22692
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22683
22693
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22684
22694
|
return hasOwnProperty(toObject(it), key);
|
|
22685
22695
|
};
|
|
@@ -22692,21 +22702,15 @@ var uid = function (key) {
|
|
|
22692
22702
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22693
22703
|
};
|
|
22694
22704
|
|
|
22695
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22696
22705
|
var Symbol$1 = global_1.Symbol;
|
|
22697
|
-
var
|
|
22698
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22706
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22707
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22699
22708
|
|
|
22700
22709
|
var wellKnownSymbol = function (name) {
|
|
22701
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22702
|
-
|
|
22703
|
-
|
|
22704
|
-
|
|
22705
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22706
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22707
|
-
} else {
|
|
22708
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22709
|
-
}
|
|
22710
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22711
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22712
|
+
? Symbol$1[name]
|
|
22713
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22710
22714
|
} return WellKnownSymbolsStore[name];
|
|
22711
22715
|
};
|
|
22712
22716
|
|
|
@@ -22746,13 +22750,13 @@ var documentCreateElement = function (it) {
|
|
|
22746
22750
|
|
|
22747
22751
|
// Thanks to IE8 for its funny defineProperty
|
|
22748
22752
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22749
|
-
// eslint-disable-next-line es
|
|
22753
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22750
22754
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22751
22755
|
get: function () { return 7; }
|
|
22752
22756
|
}).a != 7;
|
|
22753
22757
|
});
|
|
22754
22758
|
|
|
22755
|
-
// eslint-disable-next-line es
|
|
22759
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22756
22760
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22757
22761
|
|
|
22758
22762
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22773,7 +22777,7 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22773
22777
|
// V8 ~ Chrome 36-
|
|
22774
22778
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22775
22779
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22776
|
-
// eslint-disable-next-line es
|
|
22780
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22777
22781
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22778
22782
|
value: 42,
|
|
22779
22783
|
writable: false
|
|
@@ -22790,9 +22794,9 @@ var anObject = function (argument) {
|
|
|
22790
22794
|
};
|
|
22791
22795
|
|
|
22792
22796
|
var $TypeError$5 = TypeError;
|
|
22793
|
-
// eslint-disable-next-line es
|
|
22797
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22794
22798
|
var $defineProperty = Object.defineProperty;
|
|
22795
|
-
// eslint-disable-next-line es
|
|
22799
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22796
22800
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22797
22801
|
var ENUMERABLE = 'enumerable';
|
|
22798
22802
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22839,7 +22843,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22839
22843
|
};
|
|
22840
22844
|
|
|
22841
22845
|
var FunctionPrototype$1 = Function.prototype;
|
|
22842
|
-
// eslint-disable-next-line es
|
|
22846
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22843
22847
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22844
22848
|
|
|
22845
22849
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22866,7 +22870,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22866
22870
|
|
|
22867
22871
|
var WeakMap$1 = global_1.WeakMap;
|
|
22868
22872
|
|
|
22869
|
-
var
|
|
22873
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22870
22874
|
|
|
22871
22875
|
var keys$1 = shared('keys');
|
|
22872
22876
|
|
|
@@ -22894,28 +22898,30 @@ var getterFor = function (TYPE) {
|
|
|
22894
22898
|
};
|
|
22895
22899
|
};
|
|
22896
22900
|
|
|
22897
|
-
if (
|
|
22901
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22898
22902
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22903
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22904
|
+
store$1.get = store$1.get;
|
|
22905
|
+
store$1.has = store$1.has;
|
|
22906
|
+
store$1.set = store$1.set;
|
|
22907
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22902
22908
|
set = function (it, metadata) {
|
|
22903
|
-
if (
|
|
22909
|
+
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22904
22910
|
metadata.facade = it;
|
|
22905
|
-
|
|
22911
|
+
store$1.set(it, metadata);
|
|
22906
22912
|
return metadata;
|
|
22907
22913
|
};
|
|
22908
22914
|
get = function (it) {
|
|
22909
|
-
return
|
|
22915
|
+
return store$1.get(it) || {};
|
|
22910
22916
|
};
|
|
22911
22917
|
has = function (it) {
|
|
22912
|
-
return
|
|
22918
|
+
return store$1.has(it);
|
|
22913
22919
|
};
|
|
22914
22920
|
} else {
|
|
22915
22921
|
var STATE = sharedKey('state');
|
|
22916
22922
|
hiddenKeys[STATE] = true;
|
|
22917
22923
|
set = function (it, metadata) {
|
|
22918
|
-
if (hasOwnProperty_1(it, STATE)) throw
|
|
22924
|
+
if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22919
22925
|
metadata.facade = it;
|
|
22920
22926
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
22921
22927
|
return metadata;
|
|
@@ -22943,8 +22949,12 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
|
22943
22949
|
|
|
22944
22950
|
var enforceInternalState = internalState.enforce;
|
|
22945
22951
|
var getInternalState = internalState.get;
|
|
22946
|
-
|
|
22952
|
+
var $String = String;
|
|
22953
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22947
22954
|
var defineProperty = Object.defineProperty;
|
|
22955
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
22956
|
+
var replace = functionUncurryThis(''.replace);
|
|
22957
|
+
var join = functionUncurryThis([].join);
|
|
22948
22958
|
|
|
22949
22959
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22950
22960
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22953,8 +22963,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22953
22963
|
var TEMPLATE = String(String).split('String');
|
|
22954
22964
|
|
|
22955
22965
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22956
|
-
if (String(name)
|
|
22957
|
-
name = '[' + String(name)
|
|
22966
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
22967
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22958
22968
|
}
|
|
22959
22969
|
if (options && options.getter) name = 'get ' + name;
|
|
22960
22970
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22973,7 +22983,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22973
22983
|
} catch (error) { /* empty */ }
|
|
22974
22984
|
var state = enforceInternalState(value);
|
|
22975
22985
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22976
|
-
state.source =
|
|
22986
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
22977
22987
|
} return value;
|
|
22978
22988
|
};
|
|
22979
22989
|
|
|
@@ -23012,7 +23022,7 @@ var floor = Math.floor;
|
|
|
23012
23022
|
|
|
23013
23023
|
// `Math.trunc` method
|
|
23014
23024
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23015
|
-
// eslint-disable-next-line es
|
|
23025
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23016
23026
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23017
23027
|
var n = +x;
|
|
23018
23028
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23113,7 +23123,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23113
23123
|
|
|
23114
23124
|
// `Object.getOwnPropertyNames` method
|
|
23115
23125
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23116
|
-
// eslint-disable-next-line es
|
|
23126
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23117
23127
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23118
23128
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23119
23129
|
};
|
|
@@ -23122,7 +23132,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23122
23132
|
f: f$3
|
|
23123
23133
|
};
|
|
23124
23134
|
|
|
23125
|
-
// eslint-disable-next-line es
|
|
23135
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23126
23136
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23127
23137
|
|
|
23128
23138
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23266,7 +23276,7 @@ var toString_1 = function (argument) {
|
|
|
23266
23276
|
var charAt = functionUncurryThis(''.charAt);
|
|
23267
23277
|
|
|
23268
23278
|
var FORCED = fails(function () {
|
|
23269
|
-
// eslint-disable-next-line es
|
|
23279
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23270
23280
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23271
23281
|
});
|
|
23272
23282
|
|
|
@@ -23284,14 +23294,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23284
23294
|
|
|
23285
23295
|
// `Object.keys` method
|
|
23286
23296
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23287
|
-
// eslint-disable-next-line es
|
|
23297
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23288
23298
|
var objectKeys = Object.keys || function keys(O) {
|
|
23289
23299
|
return objectKeysInternal(O, enumBugKeys);
|
|
23290
23300
|
};
|
|
23291
23301
|
|
|
23292
23302
|
// `Object.defineProperties` method
|
|
23293
23303
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23294
|
-
// eslint-disable-next-line es
|
|
23304
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23295
23305
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23296
23306
|
anObject(O);
|
|
23297
23307
|
var props = toIndexedObject(Properties);
|
|
@@ -23380,7 +23390,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23380
23390
|
|
|
23381
23391
|
// `Object.create` method
|
|
23382
23392
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23383
|
-
// eslint-disable-next-line es
|
|
23393
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23384
23394
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23385
23395
|
var result;
|
|
23386
23396
|
if (O !== null) {
|
|
@@ -23426,13 +23436,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23426
23436
|
|
|
23427
23437
|
addToUnscopables('at');
|
|
23428
23438
|
|
|
23429
|
-
// eslint-disable-next-line es
|
|
23430
|
-
var
|
|
23439
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23440
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23441
|
+
|
|
23442
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23443
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23444
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23445
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23446
|
+
};
|
|
23431
23447
|
|
|
23432
23448
|
var correctPrototypeGetter = !fails(function () {
|
|
23433
23449
|
function F() { /* empty */ }
|
|
23434
23450
|
F.prototype.constructor = null;
|
|
23435
|
-
// eslint-disable-next-line es
|
|
23451
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23436
23452
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23437
23453
|
});
|
|
23438
23454
|
|
|
@@ -23442,7 +23458,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23442
23458
|
|
|
23443
23459
|
// `Object.getPrototypeOf` method
|
|
23444
23460
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23445
|
-
// eslint-disable-next-line es
|
|
23461
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23446
23462
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23447
23463
|
var object = toObject(O);
|
|
23448
23464
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23452,6 +23468,13 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23452
23468
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23453
23469
|
};
|
|
23454
23470
|
|
|
23471
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23472
|
+
try {
|
|
23473
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23474
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23475
|
+
} catch (error) { /* empty */ }
|
|
23476
|
+
};
|
|
23477
|
+
|
|
23455
23478
|
var $String$3 = String;
|
|
23456
23479
|
var $TypeError$6 = TypeError;
|
|
23457
23480
|
|
|
@@ -23468,14 +23491,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23468
23491
|
// `Object.setPrototypeOf` method
|
|
23469
23492
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23470
23493
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23471
|
-
// eslint-disable-next-line es
|
|
23494
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23472
23495
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23473
23496
|
var CORRECT_SETTER = false;
|
|
23474
23497
|
var test = {};
|
|
23475
23498
|
var setter;
|
|
23476
23499
|
try {
|
|
23477
|
-
|
|
23478
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23500
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23479
23501
|
setter(test, []);
|
|
23480
23502
|
CORRECT_SETTER = test instanceof Array;
|
|
23481
23503
|
} catch (error) { /* empty */ }
|
|
@@ -23488,14 +23510,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23488
23510
|
};
|
|
23489
23511
|
}() : undefined);
|
|
23490
23512
|
|
|
23491
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23492
|
-
|
|
23493
|
-
|
|
23494
|
-
|
|
23495
|
-
|
|
23496
|
-
|
|
23497
|
-
|
|
23498
|
-
|
|
23499
23513
|
var enforceInternalState = internalState.enforce;
|
|
23500
23514
|
var getInternalState = internalState.get;
|
|
23501
23515
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23511,7 +23525,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23511
23525
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23512
23526
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23513
23527
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23514
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23528
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23515
23529
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23516
23530
|
var NAME, Constructor, Prototype;
|
|
23517
23531
|
|
|
@@ -23646,9 +23660,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23646
23660
|
|
|
23647
23661
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23648
23662
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23649
|
-
|
|
23650
|
-
|
|
23651
|
-
|
|
23663
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23664
|
+
configurable: true,
|
|
23665
|
+
get: function () {
|
|
23666
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23667
|
+
}
|
|
23668
|
+
});
|
|
23652
23669
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23653
23670
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23654
23671
|
}
|
|
@@ -24072,13 +24089,14 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
24072
24089
|
"data-qa": choice.text,
|
|
24073
24090
|
themeValues: themeValues,
|
|
24074
24091
|
title: hasTitles ? choice.text : null,
|
|
24092
|
+
role: "option",
|
|
24075
24093
|
onFocus: function onFocus() {
|
|
24076
24094
|
return setFocusedRef(optionRefs.current[i]);
|
|
24077
24095
|
}
|
|
24078
24096
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24079
24097
|
variant: "p",
|
|
24080
24098
|
color: choice.value === value ? WHITE : disabledValues.includes(choice.value) ? STORM_GREY : MINESHAFT_GREY,
|
|
24081
|
-
extraStyles: "padding-left: 16px; \n
|
|
24099
|
+
extraStyles: "padding-left: 16px; \n cursor: ".concat(disabledValues.includes(choice.value) ? "default" : "pointer", "; \n white-space: nowrap; \n overflow: hidden; \n text-overflow: ellipsis;")
|
|
24082
24100
|
}, choice.text));
|
|
24083
24101
|
}))) : /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
24084
24102
|
};
|
|
@@ -25010,7 +25028,8 @@ var options = [{
|
|
|
25010
25028
|
}];
|
|
25011
25029
|
|
|
25012
25030
|
var CountryDropdown = function CountryDropdown(_ref) {
|
|
25013
|
-
var
|
|
25031
|
+
var _ref$labelTextWhenNoE = _ref.labelTextWhenNoError,
|
|
25032
|
+
labelTextWhenNoError = _ref$labelTextWhenNoE === void 0 ? "Country" : _ref$labelTextWhenNoE,
|
|
25014
25033
|
errorMessages = _ref.errorMessages,
|
|
25015
25034
|
field = _ref.field,
|
|
25016
25035
|
fieldActions = _ref.fieldActions,
|
|
@@ -25955,10 +25974,11 @@ var FormInput = function FormInput(_ref15) {
|
|
|
25955
25974
|
background = _ref15.background,
|
|
25956
25975
|
customHeight = _ref15.customHeight,
|
|
25957
25976
|
_ref15$autocompleteVa = _ref15.autocompleteValue,
|
|
25958
|
-
autocompleteValue = _ref15$autocompleteVa === void 0 ?
|
|
25977
|
+
autocompleteValue = _ref15$autocompleteVa === void 0 ? null : _ref15$autocompleteVa,
|
|
25959
25978
|
extraStyles = _ref15.extraStyles,
|
|
25960
25979
|
removeFromValue = _ref15.removeFromValue,
|
|
25961
|
-
dataQa = _ref15.dataQa,
|
|
25980
|
+
_ref15$dataQa = _ref15.dataQa,
|
|
25981
|
+
dataQa = _ref15$dataQa === void 0 ? null : _ref15$dataQa,
|
|
25962
25982
|
props = _objectWithoutProperties(_ref15, _excluded2);
|
|
25963
25983
|
|
|
25964
25984
|
var _useState = React.useState(false),
|
|
@@ -26069,8 +26089,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26069
26089
|
direction: "row",
|
|
26070
26090
|
justify: "space-between",
|
|
26071
26091
|
"aria-live": "polite",
|
|
26072
|
-
"aria-atomic": true
|
|
26073
|
-
"data-qa": "".concat(labelTextWhenNoError, " error message")
|
|
26092
|
+
"aria-atomic": true
|
|
26074
26093
|
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26075
26094
|
color: ERROR_COLOR,
|
|
26076
26095
|
variant: "pXS",
|
|
@@ -27148,7 +27167,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27148
27167
|
config = _ref5.config;
|
|
27149
27168
|
|
|
27150
27169
|
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
27151
|
-
var selectionExistsInConfig = config.map(function (c) {
|
|
27170
|
+
var selectionExistsInConfig = config === null || config === void 0 ? void 0 : config.map(function (c) {
|
|
27152
27171
|
return c.value;
|
|
27153
27172
|
}).includes(field.rawValue);
|
|
27154
27173
|
|
|
@@ -47847,24 +47866,7 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
|
|
|
47847
47866
|
var minimum = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
47848
47867
|
var blockPartialPaymentOverpay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
47849
47868
|
var formConfig = lineItems.reduce(function (acc, item) {
|
|
47850
|
-
var validators =
|
|
47851
|
-
return lineItem != item;
|
|
47852
|
-
}).reduce(function (acc, curr) {
|
|
47853
|
-
return [].concat(_toConsumableArray(acc), [curr.id]);
|
|
47854
|
-
}, []))];
|
|
47855
|
-
|
|
47856
|
-
if (!!maximum) {
|
|
47857
|
-
validators.push(validateSum(numberLessThanOrEqualTo(maximum), lineItems.filter(function (lineItem) {
|
|
47858
|
-
return lineItem != item;
|
|
47859
|
-
}).reduce(function (acc, curr) {
|
|
47860
|
-
return [].concat(_toConsumableArray(acc), [curr.id]);
|
|
47861
|
-
}, [])));
|
|
47862
|
-
}
|
|
47863
|
-
|
|
47864
|
-
if (blockPartialPaymentOverpay) {
|
|
47865
|
-
validators.push(numberLessThanOrEqualTo(item.amount));
|
|
47866
|
-
}
|
|
47867
|
-
|
|
47869
|
+
var validators = createPartialAmountFormValidators(item, lineItems, maximum, minimum, blockPartialPaymentOverpay);
|
|
47868
47870
|
return _objectSpread2(_objectSpread2({}, acc), {}, _defineProperty({}, item.id, {
|
|
47869
47871
|
validators: validators,
|
|
47870
47872
|
constraints: [onlyNaturals()],
|
|
@@ -47883,6 +47885,29 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
|
|
|
47883
47885
|
partialAmountFormMapDispatchToProps: mapDispatchToProps
|
|
47884
47886
|
};
|
|
47885
47887
|
};
|
|
47888
|
+
var createPartialAmountFormValidators = function createPartialAmountFormValidators(item, lineItems, maximum) {
|
|
47889
|
+
var minimum = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
47890
|
+
var blockPartialPaymentOverpay = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
47891
|
+
var validators = [required(), validateSum(numberGreaterThanOrEqualTo(minimum), lineItems.filter(function (lineItem) {
|
|
47892
|
+
return lineItem != item;
|
|
47893
|
+
}).reduce(function (acc, curr) {
|
|
47894
|
+
return [].concat(_toConsumableArray(acc), [curr.id]);
|
|
47895
|
+
}, []))];
|
|
47896
|
+
|
|
47897
|
+
if (!!maximum) {
|
|
47898
|
+
validators.push(validateSum(numberLessThanOrEqualTo(maximum), lineItems.filter(function (lineItem) {
|
|
47899
|
+
return lineItem != item;
|
|
47900
|
+
}).reduce(function (acc, curr) {
|
|
47901
|
+
return [].concat(_toConsumableArray(acc), [curr.id]);
|
|
47902
|
+
}, [])));
|
|
47903
|
+
}
|
|
47904
|
+
|
|
47905
|
+
if (blockPartialPaymentOverpay) {
|
|
47906
|
+
validators.push(numberLessThanOrEqualTo(item.amount));
|
|
47907
|
+
}
|
|
47908
|
+
|
|
47909
|
+
return validators;
|
|
47910
|
+
};
|
|
47886
47911
|
|
|
47887
47912
|
var arrowColor = WHITE;
|
|
47888
47913
|
var numberColor = MATISSE_BLUE;
|
|
@@ -48261,22 +48286,57 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
48261
48286
|
var LoadingDetails = function LoadingDetails() {
|
|
48262
48287
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
48263
48288
|
padding: "0",
|
|
48264
|
-
background: GRECIAN_GREY,
|
|
48265
|
-
borderRadius: "4px",
|
|
48266
48289
|
minHeight: "196px"
|
|
48267
|
-
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
48268
|
-
minHeight: "196px",
|
|
48269
|
-
singleChild: true,
|
|
48270
|
-
fillCenter: true
|
|
48271
|
-
}, /*#__PURE__*/React__default.createElement(Center, {
|
|
48272
|
-
intrinsic: true
|
|
48273
48290
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
48274
48291
|
padding: "0",
|
|
48275
|
-
extraStyles: "
|
|
48292
|
+
extraStyles: "position: absolute;\n height: 200px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;"
|
|
48276
48293
|
}, /*#__PURE__*/React__default.createElement(Spinner$2, {
|
|
48277
48294
|
size: "100",
|
|
48278
48295
|
centerSpinner: true
|
|
48279
|
-
}))
|
|
48296
|
+
})), /*#__PURE__*/React__default.createElement(Stack, {
|
|
48297
|
+
childGap: "16px"
|
|
48298
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48299
|
+
nowrap: true,
|
|
48300
|
+
justify: "space-between",
|
|
48301
|
+
align: "start"
|
|
48302
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48303
|
+
exactWidth: "110",
|
|
48304
|
+
height: "27px"
|
|
48305
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48306
|
+
exactWidth: "60",
|
|
48307
|
+
height: "27px"
|
|
48308
|
+
})), /*#__PURE__*/React__default.createElement(SolidDivider$1, null), /*#__PURE__*/React__default.createElement(Box, {
|
|
48309
|
+
padding: "0.5rem 0"
|
|
48310
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48311
|
+
justify: "space-between",
|
|
48312
|
+
align: "start"
|
|
48313
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48314
|
+
exactWidth: "80",
|
|
48315
|
+
height: "27px"
|
|
48316
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48317
|
+
exactWidth: "60",
|
|
48318
|
+
height: "27px"
|
|
48319
|
+
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
48320
|
+
padding: "4px 0"
|
|
48321
|
+
}), /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48322
|
+
justify: "space-between",
|
|
48323
|
+
align: "start"
|
|
48324
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48325
|
+
exactWidth: "100",
|
|
48326
|
+
height: "27px"
|
|
48327
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48328
|
+
exactWidth: "50",
|
|
48329
|
+
height: "27px"
|
|
48330
|
+
}))), /*#__PURE__*/React__default.createElement(SolidDivider$1, null), /*#__PURE__*/React__default.createElement(Stack, {
|
|
48331
|
+
justify: "space-between",
|
|
48332
|
+
direction: "row"
|
|
48333
|
+
}, /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48334
|
+
exactWidth: "55",
|
|
48335
|
+
height: "30px"
|
|
48336
|
+
}), /*#__PURE__*/React__default.createElement(LoadingLine, {
|
|
48337
|
+
exactWidth: "70",
|
|
48338
|
+
height: "30px"
|
|
48339
|
+
}))));
|
|
48280
48340
|
};
|
|
48281
48341
|
|
|
48282
48342
|
var ErrorDetails = function ErrorDetails() {
|
|
@@ -48565,7 +48625,6 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
48565
48625
|
toggleOpen(false);
|
|
48566
48626
|
}
|
|
48567
48627
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
48568
|
-
role: "button",
|
|
48569
48628
|
variant: "pS",
|
|
48570
48629
|
onClick: function onClick() {
|
|
48571
48630
|
return toggleOpen(true);
|
|
@@ -48693,12 +48752,9 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
|
48693
48752
|
showTerms = _useState2[0],
|
|
48694
48753
|
toggleShowTerms = _useState2[1];
|
|
48695
48754
|
|
|
48696
|
-
return /*#__PURE__*/React__default.createElement(DisplayBox$1, {
|
|
48697
|
-
dataQa: "TermsAndConditionsControlV1"
|
|
48698
|
-
}, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
48755
|
+
return /*#__PURE__*/React__default.createElement(DisplayBox$1, null, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
48699
48756
|
name: "terms",
|
|
48700
48757
|
title: "Terms and Conditions",
|
|
48701
|
-
dataQa: "Terms and Conditions",
|
|
48702
48758
|
error: error,
|
|
48703
48759
|
checked: isChecked,
|
|
48704
48760
|
onChange: onCheck
|
|
@@ -48799,8 +48855,7 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48799
48855
|
minWidth: displayInline ? "0" : "100%",
|
|
48800
48856
|
background: displayInline ? "transparent" : containerBackground,
|
|
48801
48857
|
boxShadow: displayInline ? "none" : standardBoxShadow,
|
|
48802
|
-
borderRadius: displayInline ? "0" : "4px"
|
|
48803
|
-
dataQa: "TermsAndConditionsControlV2"
|
|
48858
|
+
borderRadius: displayInline ? "0" : "4px"
|
|
48804
48859
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
48805
48860
|
childGap: "0"
|
|
48806
48861
|
}, html && /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -49421,7 +49476,8 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
49421
49476
|
return e.key === "Enter" && handleSubmit(e);
|
|
49422
49477
|
},
|
|
49423
49478
|
autocompleteValue: "tel",
|
|
49424
|
-
dataQa: "Phone number"
|
|
49479
|
+
dataQa: "Phone number",
|
|
49480
|
+
isNum: true
|
|
49425
49481
|
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
49426
49482
|
name: "phone checkbox",
|
|
49427
49483
|
title: "Save phone number to wallet",
|
|
@@ -50755,6 +50811,7 @@ exports.XCircleIconSmall = XCircleIconSmall;
|
|
|
50755
50811
|
exports.cardRegistry = cardRegistry;
|
|
50756
50812
|
exports.constants = index$5;
|
|
50757
50813
|
exports.createPartialAmountFormState = createPartialAmountFormState;
|
|
50814
|
+
exports.createPartialAmountFormValidators = createPartialAmountFormValidators;
|
|
50758
50815
|
exports.util = index$4;
|
|
50759
50816
|
exports.withWindowSize = withWindowSize;
|
|
50760
50817
|
//# sourceMappingURL=index.cjs.js.map
|