@thecb/components 8.4.8 → 8.4.9
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 +116 -114
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +116 -114
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/radio-button-with-label/RadioButtonWithLabel.js +49 -33
- package/src/components/molecules/radio-group/RadioGroup.js +2 -0
- package/src/components/molecules/radio-group/RadioGroup.stories.js +1 -1
- package/src/types/common/Field.ts +3 -3
- /package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -19016,12 +19016,14 @@ function _extends$1() {
|
|
|
19016
19016
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
19017
19017
|
for (var i = 1; i < arguments.length; i++) {
|
|
19018
19018
|
var source = arguments[i];
|
|
19019
|
+
|
|
19019
19020
|
for (var key in source) {
|
|
19020
19021
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
19021
19022
|
target[key] = source[key];
|
|
19022
19023
|
}
|
|
19023
19024
|
}
|
|
19024
19025
|
}
|
|
19026
|
+
|
|
19025
19027
|
return target;
|
|
19026
19028
|
};
|
|
19027
19029
|
return _extends$1.apply(this, arguments);
|
|
@@ -19031,6 +19033,7 @@ function _assertThisInitialized(self) {
|
|
|
19031
19033
|
if (self === void 0) {
|
|
19032
19034
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19033
19035
|
}
|
|
19036
|
+
|
|
19034
19037
|
return self;
|
|
19035
19038
|
}
|
|
19036
19039
|
|
|
@@ -19063,6 +19066,7 @@ function _isNativeReflectConstruct() {
|
|
|
19063
19066
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
19064
19067
|
if (Reflect.construct.sham) return false;
|
|
19065
19068
|
if (typeof Proxy === "function") return true;
|
|
19069
|
+
|
|
19066
19070
|
try {
|
|
19067
19071
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
19068
19072
|
return true;
|
|
@@ -19084,23 +19088,30 @@ function _construct(Parent, args, Class) {
|
|
|
19084
19088
|
return instance;
|
|
19085
19089
|
};
|
|
19086
19090
|
}
|
|
19091
|
+
|
|
19087
19092
|
return _construct.apply(null, arguments);
|
|
19088
19093
|
}
|
|
19089
19094
|
|
|
19090
19095
|
function _wrapNativeSuper(Class) {
|
|
19091
19096
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
19097
|
+
|
|
19092
19098
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
19093
19099
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
19100
|
+
|
|
19094
19101
|
if (typeof Class !== "function") {
|
|
19095
19102
|
throw new TypeError("Super expression must either be null or a function");
|
|
19096
19103
|
}
|
|
19104
|
+
|
|
19097
19105
|
if (typeof _cache !== "undefined") {
|
|
19098
19106
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
19107
|
+
|
|
19099
19108
|
_cache.set(Class, Wrapper);
|
|
19100
19109
|
}
|
|
19110
|
+
|
|
19101
19111
|
function Wrapper() {
|
|
19102
19112
|
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
19103
19113
|
}
|
|
19114
|
+
|
|
19104
19115
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
19105
19116
|
constructor: {
|
|
19106
19117
|
value: Wrapper,
|
|
@@ -19111,6 +19122,7 @@ function _wrapNativeSuper(Class) {
|
|
|
19111
19122
|
});
|
|
19112
19123
|
return _setPrototypeOf(Wrapper, Class);
|
|
19113
19124
|
};
|
|
19125
|
+
|
|
19114
19126
|
return _wrapNativeSuper(Class);
|
|
19115
19127
|
}
|
|
19116
19128
|
|
|
@@ -22393,7 +22405,7 @@ var check = function (it) {
|
|
|
22393
22405
|
|
|
22394
22406
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22395
22407
|
var global_1 =
|
|
22396
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
22408
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
22397
22409
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22398
22410
|
check(typeof window == 'object' && window) ||
|
|
22399
22411
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -22412,12 +22424,12 @@ var fails = function (exec) {
|
|
|
22412
22424
|
|
|
22413
22425
|
// Detect IE8's incomplete defineProperty implementation
|
|
22414
22426
|
var descriptors = !fails(function () {
|
|
22415
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22427
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22416
22428
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
22417
22429
|
});
|
|
22418
22430
|
|
|
22419
22431
|
var functionBindNative = !fails(function () {
|
|
22420
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22432
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
22421
22433
|
var test = (function () { /* empty */ }).bind();
|
|
22422
22434
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22423
22435
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22430,7 +22442,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22430
22442
|
};
|
|
22431
22443
|
|
|
22432
22444
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22433
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22445
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22434
22446
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22435
22447
|
|
|
22436
22448
|
// Nashorn ~ JDK8 bug
|
|
@@ -22457,11 +22469,14 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22457
22469
|
};
|
|
22458
22470
|
|
|
22459
22471
|
var FunctionPrototype = Function.prototype;
|
|
22472
|
+
var bind$1 = FunctionPrototype.bind;
|
|
22460
22473
|
var call$1 = FunctionPrototype.call;
|
|
22461
|
-
var
|
|
22474
|
+
var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
|
|
22462
22475
|
|
|
22463
|
-
var functionUncurryThis = functionBindNative ?
|
|
22464
|
-
return
|
|
22476
|
+
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22477
|
+
return fn && uncurryThis(fn);
|
|
22478
|
+
} : function (fn) {
|
|
22479
|
+
return fn && function () {
|
|
22465
22480
|
return call$1.apply(fn, arguments);
|
|
22466
22481
|
};
|
|
22467
22482
|
};
|
|
@@ -22485,18 +22500,12 @@ var indexedObject = fails(function () {
|
|
|
22485
22500
|
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
22486
22501
|
} : $Object;
|
|
22487
22502
|
|
|
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
|
-
|
|
22494
22503
|
var $TypeError = TypeError;
|
|
22495
22504
|
|
|
22496
22505
|
// `RequireObjectCoercible` abstract operation
|
|
22497
22506
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22498
22507
|
var requireObjectCoercible = function (it) {
|
|
22499
|
-
if (
|
|
22508
|
+
if (it == undefined) throw $TypeError("Can't call method on " + it);
|
|
22500
22509
|
return it;
|
|
22501
22510
|
};
|
|
22502
22511
|
|
|
@@ -22508,32 +22517,13 @@ var toIndexedObject = function (it) {
|
|
|
22508
22517
|
return indexedObject(requireObjectCoercible(it));
|
|
22509
22518
|
};
|
|
22510
22519
|
|
|
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
|
-
|
|
22524
22520
|
// `IsCallable` abstract operation
|
|
22525
22521
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22526
|
-
var isCallable =
|
|
22527
|
-
return typeof argument == 'function' || argument === documentAll$1;
|
|
22528
|
-
} : function (argument) {
|
|
22522
|
+
var isCallable = function (argument) {
|
|
22529
22523
|
return typeof argument == 'function';
|
|
22530
22524
|
};
|
|
22531
22525
|
|
|
22532
|
-
var
|
|
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) {
|
|
22526
|
+
var isObject = function (it) {
|
|
22537
22527
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22538
22528
|
};
|
|
22539
22529
|
|
|
@@ -22547,7 +22537,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22547
22537
|
|
|
22548
22538
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22549
22539
|
|
|
22550
|
-
var engineUserAgent =
|
|
22540
|
+
var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
|
22551
22541
|
|
|
22552
22542
|
var process$1 = global_1.process;
|
|
22553
22543
|
var Deno = global_1.Deno;
|
|
@@ -22574,12 +22564,12 @@ if (!version && engineUserAgent) {
|
|
|
22574
22564
|
|
|
22575
22565
|
var engineV8Version = version;
|
|
22576
22566
|
|
|
22577
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
22567
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
22578
22568
|
|
|
22579
22569
|
|
|
22580
22570
|
|
|
22581
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22582
|
-
var
|
|
22571
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
22572
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22583
22573
|
var symbol = Symbol();
|
|
22584
22574
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22585
22575
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -22588,10 +22578,10 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(functi
|
|
|
22588
22578
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22589
22579
|
});
|
|
22590
22580
|
|
|
22591
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
22581
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
22592
22582
|
|
|
22593
22583
|
|
|
22594
|
-
var useSymbolAsUid =
|
|
22584
|
+
var useSymbolAsUid = nativeSymbol
|
|
22595
22585
|
&& !Symbol.sham
|
|
22596
22586
|
&& typeof Symbol.iterator == 'symbol';
|
|
22597
22587
|
|
|
@@ -22626,7 +22616,7 @@ var aCallable = function (argument) {
|
|
|
22626
22616
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22627
22617
|
var getMethod = function (V, P) {
|
|
22628
22618
|
var func = V[P];
|
|
22629
|
-
return
|
|
22619
|
+
return func == null ? undefined : aCallable(func);
|
|
22630
22620
|
};
|
|
22631
22621
|
|
|
22632
22622
|
var $TypeError$2 = TypeError;
|
|
@@ -22641,7 +22631,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22641
22631
|
throw $TypeError$2("Can't convert object to primitive value");
|
|
22642
22632
|
};
|
|
22643
22633
|
|
|
22644
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22634
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
22645
22635
|
var defineProperty = Object.defineProperty;
|
|
22646
22636
|
|
|
22647
22637
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22661,10 +22651,10 @@ var shared = createCommonjsModule(function (module) {
|
|
|
22661
22651
|
(module.exports = function (key, value) {
|
|
22662
22652
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22663
22653
|
})('versions', []).push({
|
|
22664
|
-
version: '3.
|
|
22654
|
+
version: '3.24.1',
|
|
22665
22655
|
mode: 'global',
|
|
22666
|
-
copyright: '© 2014-
|
|
22667
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22656
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
22657
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
|
|
22668
22658
|
source: 'https://github.com/zloirock/core-js'
|
|
22669
22659
|
});
|
|
22670
22660
|
});
|
|
@@ -22681,7 +22671,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22681
22671
|
|
|
22682
22672
|
// `HasOwnProperty` abstract operation
|
|
22683
22673
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22684
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22674
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
22685
22675
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22686
22676
|
return hasOwnProperty(toObject(it), key);
|
|
22687
22677
|
};
|
|
@@ -22694,15 +22684,21 @@ var uid = function (key) {
|
|
|
22694
22684
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22695
22685
|
};
|
|
22696
22686
|
|
|
22697
|
-
var Symbol$1 = global_1.Symbol;
|
|
22698
22687
|
var WellKnownSymbolsStore = shared('wks');
|
|
22699
|
-
var
|
|
22688
|
+
var Symbol$1 = global_1.Symbol;
|
|
22689
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
22690
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22700
22691
|
|
|
22701
22692
|
var wellKnownSymbol = function (name) {
|
|
22702
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22703
|
-
|
|
22704
|
-
|
|
22705
|
-
|
|
22693
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
22694
|
+
var description = 'Symbol.' + name;
|
|
22695
|
+
if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
|
|
22696
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
22697
|
+
} else if (useSymbolAsUid && symbolFor) {
|
|
22698
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22699
|
+
} else {
|
|
22700
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22701
|
+
}
|
|
22706
22702
|
} return WellKnownSymbolsStore[name];
|
|
22707
22703
|
};
|
|
22708
22704
|
|
|
@@ -22742,13 +22738,13 @@ var documentCreateElement = function (it) {
|
|
|
22742
22738
|
|
|
22743
22739
|
// Thanks to IE8 for its funny defineProperty
|
|
22744
22740
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22745
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22741
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22746
22742
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22747
22743
|
get: function () { return 7; }
|
|
22748
22744
|
}).a != 7;
|
|
22749
22745
|
});
|
|
22750
22746
|
|
|
22751
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22747
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22752
22748
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22753
22749
|
|
|
22754
22750
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22769,7 +22765,7 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22769
22765
|
// V8 ~ Chrome 36-
|
|
22770
22766
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22771
22767
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22772
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22768
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22773
22769
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22774
22770
|
value: 42,
|
|
22775
22771
|
writable: false
|
|
@@ -22786,9 +22782,9 @@ var anObject = function (argument) {
|
|
|
22786
22782
|
};
|
|
22787
22783
|
|
|
22788
22784
|
var $TypeError$5 = TypeError;
|
|
22789
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22785
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
22790
22786
|
var $defineProperty = Object.defineProperty;
|
|
22791
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22787
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22792
22788
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22793
22789
|
var ENUMERABLE = 'enumerable';
|
|
22794
22790
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22835,7 +22831,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22835
22831
|
};
|
|
22836
22832
|
|
|
22837
22833
|
var FunctionPrototype$1 = Function.prototype;
|
|
22838
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22834
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22839
22835
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22840
22836
|
|
|
22841
22837
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22862,7 +22858,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22862
22858
|
|
|
22863
22859
|
var WeakMap$1 = global_1.WeakMap;
|
|
22864
22860
|
|
|
22865
|
-
var
|
|
22861
|
+
var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
|
22866
22862
|
|
|
22867
22863
|
var keys$1 = shared('keys');
|
|
22868
22864
|
|
|
@@ -22890,30 +22886,28 @@ var getterFor = function (TYPE) {
|
|
|
22890
22886
|
};
|
|
22891
22887
|
};
|
|
22892
22888
|
|
|
22893
|
-
if (
|
|
22889
|
+
if (nativeWeakMap || sharedStore.state) {
|
|
22894
22890
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22895
|
-
|
|
22896
|
-
|
|
22897
|
-
|
|
22898
|
-
store$1.set = store$1.set;
|
|
22899
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22891
|
+
var wmget = functionUncurryThis(store$1.get);
|
|
22892
|
+
var wmhas = functionUncurryThis(store$1.has);
|
|
22893
|
+
var wmset = functionUncurryThis(store$1.set);
|
|
22900
22894
|
set = function (it, metadata) {
|
|
22901
|
-
if (store$1
|
|
22895
|
+
if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22902
22896
|
metadata.facade = it;
|
|
22903
|
-
store$1
|
|
22897
|
+
wmset(store$1, it, metadata);
|
|
22904
22898
|
return metadata;
|
|
22905
22899
|
};
|
|
22906
22900
|
get = function (it) {
|
|
22907
|
-
return store$1
|
|
22901
|
+
return wmget(store$1, it) || {};
|
|
22908
22902
|
};
|
|
22909
22903
|
has = function (it) {
|
|
22910
|
-
return store$1
|
|
22904
|
+
return wmhas(store$1, it);
|
|
22911
22905
|
};
|
|
22912
22906
|
} else {
|
|
22913
22907
|
var STATE = sharedKey('state');
|
|
22914
22908
|
hiddenKeys[STATE] = true;
|
|
22915
22909
|
set = function (it, metadata) {
|
|
22916
|
-
if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22910
|
+
if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22917
22911
|
metadata.facade = it;
|
|
22918
22912
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
22919
22913
|
return metadata;
|
|
@@ -22941,12 +22935,8 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
|
22941
22935
|
|
|
22942
22936
|
var enforceInternalState = internalState.enforce;
|
|
22943
22937
|
var getInternalState = internalState.get;
|
|
22944
|
-
|
|
22945
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22938
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
22946
22939
|
var defineProperty = Object.defineProperty;
|
|
22947
|
-
var stringSlice = functionUncurryThis(''.slice);
|
|
22948
|
-
var replace = functionUncurryThis(''.replace);
|
|
22949
|
-
var join = functionUncurryThis([].join);
|
|
22950
22940
|
|
|
22951
22941
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22952
22942
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22955,8 +22945,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22955
22945
|
var TEMPLATE = String(String).split('String');
|
|
22956
22946
|
|
|
22957
22947
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22958
|
-
if (
|
|
22959
|
-
name = '[' +
|
|
22948
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
22949
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22960
22950
|
}
|
|
22961
22951
|
if (options && options.getter) name = 'get ' + name;
|
|
22962
22952
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22975,7 +22965,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22975
22965
|
} catch (error) { /* empty */ }
|
|
22976
22966
|
var state = enforceInternalState(value);
|
|
22977
22967
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22978
|
-
state.source = join(
|
|
22968
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
22979
22969
|
} return value;
|
|
22980
22970
|
};
|
|
22981
22971
|
|
|
@@ -23014,7 +23004,7 @@ var floor = Math.floor;
|
|
|
23014
23004
|
|
|
23015
23005
|
// `Math.trunc` method
|
|
23016
23006
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23017
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23007
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
23018
23008
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23019
23009
|
var n = +x;
|
|
23020
23010
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23115,7 +23105,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23115
23105
|
|
|
23116
23106
|
// `Object.getOwnPropertyNames` method
|
|
23117
23107
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23118
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23108
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
23119
23109
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23120
23110
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23121
23111
|
};
|
|
@@ -23124,7 +23114,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23124
23114
|
f: f$3
|
|
23125
23115
|
};
|
|
23126
23116
|
|
|
23127
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23117
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
23128
23118
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23129
23119
|
|
|
23130
23120
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23268,7 +23258,7 @@ var toString_1 = function (argument) {
|
|
|
23268
23258
|
var charAt = functionUncurryThis(''.charAt);
|
|
23269
23259
|
|
|
23270
23260
|
var FORCED = fails(function () {
|
|
23271
|
-
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23261
|
+
// eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
|
|
23272
23262
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23273
23263
|
});
|
|
23274
23264
|
|
|
@@ -23286,14 +23276,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23286
23276
|
|
|
23287
23277
|
// `Object.keys` method
|
|
23288
23278
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23289
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23279
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
|
23290
23280
|
var objectKeys = Object.keys || function keys(O) {
|
|
23291
23281
|
return objectKeysInternal(O, enumBugKeys);
|
|
23292
23282
|
};
|
|
23293
23283
|
|
|
23294
23284
|
// `Object.defineProperties` method
|
|
23295
23285
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23296
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23286
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
|
23297
23287
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23298
23288
|
anObject(O);
|
|
23299
23289
|
var props = toIndexedObject(Properties);
|
|
@@ -23382,7 +23372,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23382
23372
|
|
|
23383
23373
|
// `Object.create` method
|
|
23384
23374
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23385
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
23375
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
|
23386
23376
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23387
23377
|
var result;
|
|
23388
23378
|
if (O !== null) {
|
|
@@ -23428,19 +23418,13 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23428
23418
|
|
|
23429
23419
|
addToUnscopables('at');
|
|
23430
23420
|
|
|
23431
|
-
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23432
|
-
var
|
|
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
|
-
};
|
|
23421
|
+
// eslint-disable-next-line es-x/no-typed-arrays -- safe
|
|
23422
|
+
var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23439
23423
|
|
|
23440
23424
|
var correctPrototypeGetter = !fails(function () {
|
|
23441
23425
|
function F() { /* empty */ }
|
|
23442
23426
|
F.prototype.constructor = null;
|
|
23443
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23427
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
|
|
23444
23428
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23445
23429
|
});
|
|
23446
23430
|
|
|
@@ -23450,7 +23434,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23450
23434
|
|
|
23451
23435
|
// `Object.getPrototypeOf` method
|
|
23452
23436
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23453
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23437
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
|
|
23454
23438
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23455
23439
|
var object = toObject(O);
|
|
23456
23440
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23460,13 +23444,6 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23460
23444
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23461
23445
|
};
|
|
23462
23446
|
|
|
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
|
-
|
|
23470
23447
|
var $String$3 = String;
|
|
23471
23448
|
var $TypeError$6 = TypeError;
|
|
23472
23449
|
|
|
@@ -23483,13 +23460,14 @@ var aPossiblePrototype = function (argument) {
|
|
|
23483
23460
|
// `Object.setPrototypeOf` method
|
|
23484
23461
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23485
23462
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23486
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23463
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
23487
23464
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23488
23465
|
var CORRECT_SETTER = false;
|
|
23489
23466
|
var test = {};
|
|
23490
23467
|
var setter;
|
|
23491
23468
|
try {
|
|
23492
|
-
|
|
23469
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
23470
|
+
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23493
23471
|
setter(test, []);
|
|
23494
23472
|
CORRECT_SETTER = test instanceof Array;
|
|
23495
23473
|
} catch (error) { /* empty */ }
|
|
@@ -23502,6 +23480,14 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23502
23480
|
};
|
|
23503
23481
|
}() : undefined);
|
|
23504
23482
|
|
|
23483
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
23484
|
+
|
|
23485
|
+
|
|
23486
|
+
|
|
23487
|
+
|
|
23488
|
+
|
|
23489
|
+
|
|
23490
|
+
|
|
23505
23491
|
var enforceInternalState = internalState.enforce;
|
|
23506
23492
|
var getInternalState = internalState.get;
|
|
23507
23493
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23517,7 +23503,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23517
23503
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23518
23504
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23519
23505
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23520
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23506
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23521
23507
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23522
23508
|
var NAME, Constructor, Prototype;
|
|
23523
23509
|
|
|
@@ -23652,12 +23638,9 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23652
23638
|
|
|
23653
23639
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23654
23640
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23655
|
-
|
|
23656
|
-
|
|
23657
|
-
|
|
23658
|
-
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23659
|
-
}
|
|
23660
|
-
});
|
|
23641
|
+
defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
|
|
23642
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23643
|
+
} });
|
|
23661
23644
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23662
23645
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23663
23646
|
}
|
|
@@ -27128,7 +27111,24 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27128
27111
|
themeValues = _ref5.themeValues,
|
|
27129
27112
|
index = _ref5.index,
|
|
27130
27113
|
_ref5$handleChange = _ref5.handleChange,
|
|
27131
|
-
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange
|
|
27114
|
+
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange,
|
|
27115
|
+
field = _ref5.field,
|
|
27116
|
+
config = _ref5.config;
|
|
27117
|
+
|
|
27118
|
+
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
27119
|
+
var selectionExistsInConfig = config.map(function (c) {
|
|
27120
|
+
return c.value;
|
|
27121
|
+
}).includes(field.rawValue);
|
|
27122
|
+
|
|
27123
|
+
if (selectionExistsInConfig) {
|
|
27124
|
+
// if exists, selection comes from the redux-freeform state
|
|
27125
|
+
return field.rawValue === value;
|
|
27126
|
+
} // fallback to first option as default selection
|
|
27127
|
+
|
|
27128
|
+
|
|
27129
|
+
return idx === 0;
|
|
27130
|
+
};
|
|
27131
|
+
|
|
27132
27132
|
return /*#__PURE__*/React__default.createElement(InputAndLabelContainer, {
|
|
27133
27133
|
align: "center",
|
|
27134
27134
|
childGap: "0.5rem",
|
|
@@ -27146,7 +27146,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27146
27146
|
setValue(e.target.value);
|
|
27147
27147
|
handleChange(e);
|
|
27148
27148
|
},
|
|
27149
|
-
defaultChecked: index
|
|
27149
|
+
defaultChecked: getDefaultChecked(value, index)
|
|
27150
27150
|
}), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
27151
27151
|
as: "label",
|
|
27152
27152
|
htmlFor: id,
|
|
@@ -49414,6 +49414,8 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
49414
49414
|
groupName: groupName,
|
|
49415
49415
|
setValue: setValue,
|
|
49416
49416
|
handleChange: handleChange,
|
|
49417
|
+
field: field,
|
|
49418
|
+
config: config,
|
|
49417
49419
|
"aria-invalid": field.dirty && field.hasErrors
|
|
49418
49420
|
}));
|
|
49419
49421
|
})));
|