@abgov/jsonforms-components 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -15,7 +15,7 @@ import range from 'lodash/range';
15
15
 
16
16
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
17
17
 
18
- var fails$h = function (exec) {
18
+ var fails$i = function (exec) {
19
19
  try {
20
20
  return !!exec();
21
21
  } catch (error) {
@@ -23,9 +23,9 @@ var fails$h = function (exec) {
23
23
  }
24
24
  };
25
25
 
26
- var fails$g = fails$h;
26
+ var fails$h = fails$i;
27
27
 
28
- var functionBindNative = !fails$g(function () {
28
+ var functionBindNative = !fails$h(function () {
29
29
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
30
30
  var test = (function () { /* empty */ }).bind();
31
31
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -35,12 +35,12 @@ var functionBindNative = !fails$g(function () {
35
35
  var NATIVE_BIND$2 = functionBindNative;
36
36
 
37
37
  var FunctionPrototype$2 = Function.prototype;
38
- var call$b = FunctionPrototype$2.call;
39
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$b, call$b);
38
+ var call$c = FunctionPrototype$2.call;
39
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$c, call$c);
40
40
 
41
41
  var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
42
42
  return function () {
43
- return call$b.apply(fn, arguments);
43
+ return call$c.apply(fn, arguments);
44
44
  };
45
45
  };
46
46
 
@@ -54,14 +54,14 @@ var classofRaw$1 = function (it) {
54
54
  };
55
55
 
56
56
  var uncurryThis$f = functionUncurryThis;
57
- var fails$f = fails$h;
57
+ var fails$g = fails$i;
58
58
  var classof$4 = classofRaw$1;
59
59
 
60
60
  var $Object$4 = Object;
61
61
  var split = uncurryThis$f(''.split);
62
62
 
63
63
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
64
- var indexedObject = fails$f(function () {
64
+ var indexedObject = fails$g(function () {
65
65
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
66
66
  // eslint-disable-next-line no-prototype-builtins -- safe
67
67
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -209,13 +209,13 @@ var engineV8Version = version;
209
209
 
210
210
  /* eslint-disable es/no-symbol -- required for testing */
211
211
  var V8_VERSION = engineV8Version;
212
- var fails$e = fails$h;
212
+ var fails$f = fails$i;
213
213
  var global$c = global$f;
214
214
 
215
215
  var $String$5 = global$c.String;
216
216
 
217
217
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
218
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
218
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
219
219
  var symbol = Symbol('symbol detection');
220
220
  // Chrome 38 Symbol has incorrect toString conversion
221
221
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -235,7 +235,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
235
235
 
236
236
  var global$b = global$f;
237
237
  var shared$3 = shared$4;
238
- var hasOwn$9 = hasOwnProperty_1;
238
+ var hasOwn$a = hasOwnProperty_1;
239
239
  var uid$1 = uid$2;
240
240
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
241
241
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
@@ -245,8 +245,8 @@ var WellKnownSymbolsStore = shared$3('wks');
245
245
  var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
246
246
 
247
247
  var wellKnownSymbol$c = function (name) {
248
- if (!hasOwn$9(WellKnownSymbolsStore, name)) {
249
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$9(Symbol$1, name)
248
+ if (!hasOwn$a(WellKnownSymbolsStore, name)) {
249
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$a(Symbol$1, name)
250
250
  ? Symbol$1[name]
251
251
  : createWellKnownSymbol('Symbol.' + name);
252
252
  } return WellKnownSymbolsStore[name];
@@ -276,27 +276,27 @@ var $String$4 = String;
276
276
  var $TypeError$7 = TypeError;
277
277
 
278
278
  // `Assert: Type(argument) is Object`
279
- var anObject$8 = function (argument) {
279
+ var anObject$9 = function (argument) {
280
280
  if (isObject$7(argument)) return argument;
281
281
  throw new $TypeError$7($String$4(argument) + ' is not an object');
282
282
  };
283
283
 
284
284
  var objectDefineProperties = {};
285
285
 
286
- var fails$d = fails$h;
286
+ var fails$e = fails$i;
287
287
 
288
288
  // Detect IE8's incomplete defineProperty implementation
289
- var descriptors = !fails$d(function () {
289
+ var descriptors = !fails$e(function () {
290
290
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
291
291
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
292
292
  });
293
293
 
294
294
  var DESCRIPTORS$a = descriptors;
295
- var fails$c = fails$h;
295
+ var fails$d = fails$i;
296
296
 
297
297
  // V8 ~ Chrome 36-
298
298
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
299
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$c(function () {
299
+ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$d(function () {
300
300
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
301
301
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
302
302
  value: 42,
@@ -318,11 +318,11 @@ var documentCreateElement$2 = function (it) {
318
318
  };
319
319
 
320
320
  var DESCRIPTORS$9 = descriptors;
321
- var fails$b = fails$h;
321
+ var fails$c = fails$i;
322
322
  var createElement = documentCreateElement$2;
323
323
 
324
324
  // Thanks to IE8 for its funny defineProperty
325
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$b(function () {
325
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$c(function () {
326
326
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
327
327
  return Object.defineProperty(createElement('div'), 'a', {
328
328
  get: function () { return 7; }
@@ -331,10 +331,10 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$b(function () {
331
331
 
332
332
  var NATIVE_BIND$1 = functionBindNative;
333
333
 
334
- var call$a = Function.prototype.call;
334
+ var call$b = Function.prototype.call;
335
335
 
336
- var functionCall = NATIVE_BIND$1 ? call$a.bind(call$a) : function () {
337
- return call$a.apply(call$a, arguments);
336
+ var functionCall = NATIVE_BIND$1 ? call$b.bind(call$b) : function () {
337
+ return call$b.apply(call$b, arguments);
338
338
  };
339
339
 
340
340
  var global$9 = global$f;
@@ -354,7 +354,7 @@ var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
354
354
 
355
355
  var getBuiltIn$2 = getBuiltIn$3;
356
356
  var isCallable$e = isCallable$h;
357
- var isPrototypeOf$1 = objectIsPrototypeOf;
357
+ var isPrototypeOf$2 = objectIsPrototypeOf;
358
358
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
359
359
 
360
360
  var $Object$2 = Object;
@@ -363,7 +363,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
363
363
  return typeof it == 'symbol';
364
364
  } : function (it) {
365
365
  var $Symbol = getBuiltIn$2('Symbol');
366
- return isCallable$e($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
366
+ return isCallable$e($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$2(it));
367
367
  };
368
368
 
369
369
  var $String$3 = String;
@@ -397,7 +397,7 @@ var getMethod$2 = function (V, P) {
397
397
  return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);
398
398
  };
399
399
 
400
- var call$9 = functionCall;
400
+ var call$a = functionCall;
401
401
  var isCallable$c = isCallable$h;
402
402
  var isObject$5 = isObject$8;
403
403
 
@@ -407,13 +407,13 @@ var $TypeError$5 = TypeError;
407
407
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
408
408
  var ordinaryToPrimitive$1 = function (input, pref) {
409
409
  var fn, val;
410
- if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$9(fn, input))) return val;
411
- if (isCallable$c(fn = input.valueOf) && !isObject$5(val = call$9(fn, input))) return val;
412
- if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$9(fn, input))) return val;
410
+ if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
411
+ if (isCallable$c(fn = input.valueOf) && !isObject$5(val = call$a(fn, input))) return val;
412
+ if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
413
413
  throw new $TypeError$5("Can't convert object to primitive value");
414
414
  };
415
415
 
416
- var call$8 = functionCall;
416
+ var call$9 = functionCall;
417
417
  var isObject$4 = isObject$8;
418
418
  var isSymbol$1 = isSymbol$2;
419
419
  var getMethod$1 = getMethod$2;
@@ -431,7 +431,7 @@ var toPrimitive$1 = function (input, pref) {
431
431
  var result;
432
432
  if (exoticToPrim) {
433
433
  if (pref === undefined) pref = 'default';
434
- result = call$8(exoticToPrim, input, pref);
434
+ result = call$9(exoticToPrim, input, pref);
435
435
  if (!isObject$4(result) || isSymbol$1(result)) return result;
436
436
  throw new $TypeError$4("Can't convert object to primitive value");
437
437
  }
@@ -452,7 +452,7 @@ var toPropertyKey$2 = function (argument) {
452
452
  var DESCRIPTORS$8 = descriptors;
453
453
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
454
454
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
455
- var anObject$7 = anObject$8;
455
+ var anObject$8 = anObject$9;
456
456
  var toPropertyKey$1 = toPropertyKey$2;
457
457
 
458
458
  var $TypeError$3 = TypeError;
@@ -467,9 +467,9 @@ var WRITABLE = 'writable';
467
467
  // `Object.defineProperty` method
468
468
  // https://tc39.es/ecma262/#sec-object.defineproperty
469
469
  objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
470
- anObject$7(O);
470
+ anObject$8(O);
471
471
  P = toPropertyKey$1(P);
472
- anObject$7(Attributes);
472
+ anObject$8(Attributes);
473
473
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
474
474
  var current = $getOwnPropertyDescriptor$1(O, P);
475
475
  if (current && current[WRITABLE]) {
@@ -482,9 +482,9 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
482
482
  }
483
483
  } return $defineProperty(O, P, Attributes);
484
484
  } : $defineProperty : function defineProperty(O, P, Attributes) {
485
- anObject$7(O);
485
+ anObject$8(O);
486
486
  P = toPropertyKey$1(P);
487
- anObject$7(Attributes);
487
+ anObject$8(Attributes);
488
488
  if (IE8_DOM_DEFINE$1) try {
489
489
  return $defineProperty(O, P, Attributes);
490
490
  } catch (error) { /* empty */ }
@@ -583,7 +583,7 @@ var arrayIncludes = {
583
583
  var hiddenKeys$4 = {};
584
584
 
585
585
  var uncurryThis$b = functionUncurryThis;
586
- var hasOwn$8 = hasOwnProperty_1;
586
+ var hasOwn$9 = hasOwnProperty_1;
587
587
  var toIndexedObject$3 = toIndexedObject$5;
588
588
  var indexOf$1 = arrayIncludes.indexOf;
589
589
  var hiddenKeys$3 = hiddenKeys$4;
@@ -595,9 +595,9 @@ var objectKeysInternal = function (object, names) {
595
595
  var i = 0;
596
596
  var result = [];
597
597
  var key;
598
- for (key in O) !hasOwn$8(hiddenKeys$3, key) && hasOwn$8(O, key) && push$1(result, key);
598
+ for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$1(result, key);
599
599
  // Don't enum bug & hidden keys
600
- while (names.length > i) if (hasOwn$8(O, key = names[i++])) {
600
+ while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
601
601
  ~indexOf$1(result, key) || push$1(result, key);
602
602
  }
603
603
  return result;
@@ -627,7 +627,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
627
627
  var DESCRIPTORS$7 = descriptors;
628
628
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
629
629
  var definePropertyModule$3 = objectDefineProperty;
630
- var anObject$6 = anObject$8;
630
+ var anObject$7 = anObject$9;
631
631
  var toIndexedObject$2 = toIndexedObject$5;
632
632
  var objectKeys$1 = objectKeys$2;
633
633
 
@@ -635,7 +635,7 @@ var objectKeys$1 = objectKeys$2;
635
635
  // https://tc39.es/ecma262/#sec-object.defineproperties
636
636
  // eslint-disable-next-line es/no-object-defineproperties -- safe
637
637
  objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
638
- anObject$6(O);
638
+ anObject$7(O);
639
639
  var props = toIndexedObject$2(Properties);
640
640
  var keys = objectKeys$1(Properties);
641
641
  var length = keys.length;
@@ -659,7 +659,7 @@ var sharedKey$3 = function (key) {
659
659
  };
660
660
 
661
661
  /* global ActiveXObject -- old IE, WSH */
662
- var anObject$5 = anObject$8;
662
+ var anObject$6 = anObject$9;
663
663
  var definePropertiesModule = objectDefineProperties;
664
664
  var enumBugKeys$1 = enumBugKeys$3;
665
665
  var hiddenKeys$2 = hiddenKeys$4;
@@ -733,7 +733,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
733
733
  var objectCreate = Object.create || function create(O, Properties) {
734
734
  var result;
735
735
  if (O !== null) {
736
- EmptyConstructor[PROTOTYPE] = anObject$5(O);
736
+ EmptyConstructor[PROTOTYPE] = anObject$6(O);
737
737
  result = new EmptyConstructor();
738
738
  EmptyConstructor[PROTOTYPE] = null;
739
739
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -796,7 +796,7 @@ var NATIVE_WEAK_MAP = weakMapBasicDetection;
796
796
  var global$7 = global$f;
797
797
  var isObject$3 = isObject$8;
798
798
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
799
- var hasOwn$7 = hasOwnProperty_1;
799
+ var hasOwn$8 = hasOwnProperty_1;
800
800
  var shared$1 = sharedStore.exports;
801
801
  var sharedKey$1 = sharedKey$3;
802
802
  var hiddenKeys$1 = hiddenKeys$4;
@@ -842,16 +842,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
842
842
  var STATE = sharedKey$1('state');
843
843
  hiddenKeys$1[STATE] = true;
844
844
  set = function (it, metadata) {
845
- if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
845
+ if (hasOwn$8(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
846
846
  metadata.facade = it;
847
847
  createNonEnumerableProperty$4(it, STATE, metadata);
848
848
  return metadata;
849
849
  };
850
850
  get = function (it) {
851
- return hasOwn$7(it, STATE) ? it[STATE] : {};
851
+ return hasOwn$8(it, STATE) ? it[STATE] : {};
852
852
  };
853
853
  has = function (it) {
854
- return hasOwn$7(it, STATE);
854
+ return hasOwn$8(it, STATE);
855
855
  };
856
856
  }
857
857
 
@@ -882,12 +882,12 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
882
882
  } : $propertyIsEnumerable;
883
883
 
884
884
  var DESCRIPTORS$5 = descriptors;
885
- var call$7 = functionCall;
885
+ var call$8 = functionCall;
886
886
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
887
887
  var createPropertyDescriptor$1 = createPropertyDescriptor$3;
888
888
  var toIndexedObject$1 = toIndexedObject$5;
889
889
  var toPropertyKey = toPropertyKey$2;
890
- var hasOwn$6 = hasOwnProperty_1;
890
+ var hasOwn$7 = hasOwnProperty_1;
891
891
  var IE8_DOM_DEFINE = ie8DomDefine;
892
892
 
893
893
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -901,19 +901,19 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor : f
901
901
  if (IE8_DOM_DEFINE) try {
902
902
  return $getOwnPropertyDescriptor(O, P);
903
903
  } catch (error) { /* empty */ }
904
- if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call$7(propertyIsEnumerableModule$1.f, O, P), O[P]);
904
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
905
905
  };
906
906
 
907
907
  var makeBuiltIn$3 = {exports: {}};
908
908
 
909
909
  var DESCRIPTORS$4 = descriptors;
910
- var hasOwn$5 = hasOwnProperty_1;
910
+ var hasOwn$6 = hasOwnProperty_1;
911
911
 
912
912
  var FunctionPrototype$1 = Function.prototype;
913
913
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
914
914
  var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
915
915
 
916
- var EXISTS = hasOwn$5(FunctionPrototype$1, 'name');
916
+ var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
917
917
  // additional protection from minified / mangled / dropped function names
918
918
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
919
919
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
@@ -940,9 +940,9 @@ if (!isCallable$a(store.inspectSource)) {
940
940
  var inspectSource$1 = store.inspectSource;
941
941
 
942
942
  var uncurryThis$9 = functionUncurryThis;
943
- var fails$a = fails$h;
943
+ var fails$b = fails$i;
944
944
  var isCallable$9 = isCallable$h;
945
- var hasOwn$4 = hasOwnProperty_1;
945
+ var hasOwn$5 = hasOwnProperty_1;
946
946
  var DESCRIPTORS$3 = descriptors;
947
947
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
948
948
  var inspectSource = inspectSource$1;
@@ -957,7 +957,7 @@ var stringSlice$5 = uncurryThis$9(''.slice);
957
957
  var replace$3 = uncurryThis$9(''.replace);
958
958
  var join = uncurryThis$9([].join);
959
959
 
960
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$a(function () {
960
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$b(function () {
961
961
  return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
962
962
  });
963
963
 
@@ -969,21 +969,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
969
969
  }
970
970
  if (options && options.getter) name = 'get ' + name;
971
971
  if (options && options.setter) name = 'set ' + name;
972
- if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
972
+ if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
973
973
  if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
974
974
  else value.name = name;
975
975
  }
976
- if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
976
+ if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
977
977
  defineProperty$4(value, 'length', { value: options.arity });
978
978
  }
979
979
  try {
980
- if (options && hasOwn$4(options, 'constructor') && options.constructor) {
980
+ if (options && hasOwn$5(options, 'constructor') && options.constructor) {
981
981
  if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
982
982
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
983
983
  } else if (value.prototype) value.prototype = undefined;
984
984
  } catch (error) { /* empty */ }
985
985
  var state = enforceInternalState(value);
986
- if (!hasOwn$4(state, 'source')) {
986
+ if (!hasOwn$5(state, 'source')) {
987
987
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
988
988
  } return value;
989
989
  };
@@ -999,7 +999,7 @@ var definePropertyModule$1 = objectDefineProperty;
999
999
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
1000
1000
  var defineGlobalProperty$1 = defineGlobalProperty$3;
1001
1001
 
1002
- var defineBuiltIn$4 = function (O, key, value, options) {
1002
+ var defineBuiltIn$5 = function (O, key, value, options) {
1003
1003
  if (!options) options = {};
1004
1004
  var simple = options.enumerable;
1005
1005
  var name = options.name !== undefined ? options.name : key;
@@ -1045,18 +1045,18 @@ var getBuiltIn = getBuiltIn$3;
1045
1045
  var uncurryThis$8 = functionUncurryThis;
1046
1046
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1047
1047
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1048
- var anObject$4 = anObject$8;
1048
+ var anObject$5 = anObject$9;
1049
1049
 
1050
1050
  var concat$2 = uncurryThis$8([].concat);
1051
1051
 
1052
1052
  // all object keys, includes non-enumerable and symbols
1053
1053
  var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1054
- var keys = getOwnPropertyNamesModule.f(anObject$4(it));
1054
+ var keys = getOwnPropertyNamesModule.f(anObject$5(it));
1055
1055
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1056
1056
  return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
1057
1057
  };
1058
1058
 
1059
- var hasOwn$3 = hasOwnProperty_1;
1059
+ var hasOwn$4 = hasOwnProperty_1;
1060
1060
  var ownKeys = ownKeys$1;
1061
1061
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1062
1062
  var definePropertyModule = objectDefineProperty;
@@ -1067,13 +1067,13 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
1067
1067
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1068
1068
  for (var i = 0; i < keys.length; i++) {
1069
1069
  var key = keys[i];
1070
- if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
1070
+ if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
1071
1071
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1072
1072
  }
1073
1073
  }
1074
1074
  };
1075
1075
 
1076
- var fails$9 = fails$h;
1076
+ var fails$a = fails$i;
1077
1077
  var isCallable$7 = isCallable$h;
1078
1078
 
1079
1079
  var replacement = /#|\.prototype\./;
@@ -1082,7 +1082,7 @@ var isForced$1 = function (feature, detection) {
1082
1082
  var value = data[normalize(feature)];
1083
1083
  return value === POLYFILL ? true
1084
1084
  : value === NATIVE ? false
1085
- : isCallable$7(detection) ? fails$9(detection)
1085
+ : isCallable$7(detection) ? fails$a(detection)
1086
1086
  : !!detection;
1087
1087
  };
1088
1088
 
@@ -1099,7 +1099,7 @@ var isForced_1 = isForced$1;
1099
1099
  var global$6 = global$f;
1100
1100
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1101
1101
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
1102
- var defineBuiltIn$3 = defineBuiltIn$4;
1102
+ var defineBuiltIn$4 = defineBuiltIn$5;
1103
1103
  var defineGlobalProperty = defineGlobalProperty$3;
1104
1104
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1105
1105
  var isForced = isForced_1;
@@ -1147,20 +1147,20 @@ var _export = function (options, source) {
1147
1147
  if (options.sham || (targetProperty && targetProperty.sham)) {
1148
1148
  createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1149
1149
  }
1150
- defineBuiltIn$3(target, key, sourceProperty, options);
1150
+ defineBuiltIn$4(target, key, sourceProperty, options);
1151
1151
  }
1152
1152
  };
1153
1153
 
1154
- var fails$8 = fails$h;
1154
+ var fails$9 = fails$i;
1155
1155
 
1156
- var correctPrototypeGetter = !fails$8(function () {
1156
+ var correctPrototypeGetter = !fails$9(function () {
1157
1157
  function F() { /* empty */ }
1158
1158
  F.prototype.constructor = null;
1159
1159
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1160
1160
  return Object.getPrototypeOf(new F()) !== F.prototype;
1161
1161
  });
1162
1162
 
1163
- var hasOwn$2 = hasOwnProperty_1;
1163
+ var hasOwn$3 = hasOwnProperty_1;
1164
1164
  var isCallable$6 = isCallable$h;
1165
1165
  var toObject$2 = toObject$4;
1166
1166
  var sharedKey = sharedKey$3;
@@ -1175,18 +1175,18 @@ var ObjectPrototype = $Object$1.prototype;
1175
1175
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1176
1176
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1177
1177
  var object = toObject$2(O);
1178
- if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
1178
+ if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1179
1179
  var constructor = object.constructor;
1180
1180
  if (isCallable$6(constructor) && object instanceof constructor) {
1181
1181
  return constructor.prototype;
1182
1182
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1183
1183
  };
1184
1184
 
1185
- var fails$7 = fails$h;
1185
+ var fails$8 = fails$i;
1186
1186
  var isCallable$5 = isCallable$h;
1187
1187
  var isObject$2 = isObject$8;
1188
1188
  var getPrototypeOf$1 = objectGetPrototypeOf;
1189
- var defineBuiltIn$2 = defineBuiltIn$4;
1189
+ var defineBuiltIn$3 = defineBuiltIn$5;
1190
1190
  var wellKnownSymbol$9 = wellKnownSymbol$c;
1191
1191
 
1192
1192
  var ITERATOR$2 = wellKnownSymbol$9('iterator');
@@ -1207,7 +1207,7 @@ if ([].keys) {
1207
1207
  }
1208
1208
  }
1209
1209
 
1210
- var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$7(function () {
1210
+ var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$8(function () {
1211
1211
  var test = {};
1212
1212
  // FF44- legacy iterators case
1213
1213
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1218,7 +1218,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1218
1218
  // `%IteratorPrototype%[@@iterator]()` method
1219
1219
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1220
1220
  if (!isCallable$5(IteratorPrototype$2[ITERATOR$2])) {
1221
- defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
1221
+ defineBuiltIn$3(IteratorPrototype$2, ITERATOR$2, function () {
1222
1222
  return this;
1223
1223
  });
1224
1224
  }
@@ -1229,14 +1229,14 @@ var iteratorsCore = {
1229
1229
  };
1230
1230
 
1231
1231
  var defineProperty$3 = objectDefineProperty.f;
1232
- var hasOwn$1 = hasOwnProperty_1;
1232
+ var hasOwn$2 = hasOwnProperty_1;
1233
1233
  var wellKnownSymbol$8 = wellKnownSymbol$c;
1234
1234
 
1235
1235
  var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1236
1236
 
1237
1237
  var setToStringTag$3 = function (target, TAG, STATIC) {
1238
1238
  if (target && !STATIC) target = target.prototype;
1239
- if (target && !hasOwn$1(target, TO_STRING_TAG$2)) {
1239
+ if (target && !hasOwn$2(target, TO_STRING_TAG$2)) {
1240
1240
  defineProperty$3(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1241
1241
  }
1242
1242
  };
@@ -1285,7 +1285,7 @@ var aPossiblePrototype$1 = function (argument) {
1285
1285
 
1286
1286
  /* eslint-disable no-proto -- safe */
1287
1287
  var uncurryThisAccessor = functionUncurryThisAccessor;
1288
- var anObject$3 = anObject$8;
1288
+ var anObject$4 = anObject$9;
1289
1289
  var aPossiblePrototype = aPossiblePrototype$1;
1290
1290
 
1291
1291
  // `Object.setPrototypeOf` method
@@ -1302,7 +1302,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1302
1302
  CORRECT_SETTER = test instanceof Array;
1303
1303
  } catch (error) { /* empty */ }
1304
1304
  return function setPrototypeOf(O, proto) {
1305
- anObject$3(O);
1305
+ anObject$4(O);
1306
1306
  aPossiblePrototype(proto);
1307
1307
  if (CORRECT_SETTER) setter(O, proto);
1308
1308
  else O.__proto__ = proto;
@@ -1311,7 +1311,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1311
1311
  }() : undefined);
1312
1312
 
1313
1313
  var $$5 = _export;
1314
- var call$6 = functionCall;
1314
+ var call$7 = functionCall;
1315
1315
  var FunctionName = functionName;
1316
1316
  var isCallable$4 = isCallable$h;
1317
1317
  var createIteratorConstructor = iteratorCreateConstructor;
@@ -1319,12 +1319,12 @@ var getPrototypeOf = objectGetPrototypeOf;
1319
1319
  var setPrototypeOf = objectSetPrototypeOf;
1320
1320
  var setToStringTag$1 = setToStringTag$3;
1321
1321
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1322
- var defineBuiltIn$1 = defineBuiltIn$4;
1322
+ var defineBuiltIn$2 = defineBuiltIn$5;
1323
1323
  var wellKnownSymbol$7 = wellKnownSymbol$c;
1324
1324
  var Iterators$1 = iterators;
1325
1325
  var IteratorsCore = iteratorsCore;
1326
1326
 
1327
- var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1327
+ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1328
1328
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1329
1329
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1330
1330
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
@@ -1369,7 +1369,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1369
1369
  if (setPrototypeOf) {
1370
1370
  setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1371
1371
  } else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$1])) {
1372
- defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1372
+ defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1373
1373
  }
1374
1374
  }
1375
1375
  // Set @@toStringTag to native iterators
@@ -1378,12 +1378,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1378
1378
  }
1379
1379
 
1380
1380
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1381
- if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1381
+ if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1382
1382
  if (CONFIGURABLE_FUNCTION_NAME) {
1383
1383
  createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1384
1384
  } else {
1385
1385
  INCORRECT_VALUES_NAME = true;
1386
- defaultIterator = function values() { return call$6(nativeIterator, this); };
1386
+ defaultIterator = function values() { return call$7(nativeIterator, this); };
1387
1387
  }
1388
1388
  }
1389
1389
 
@@ -1396,14 +1396,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1396
1396
  };
1397
1397
  if (FORCED) for (KEY in methods) {
1398
1398
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1399
- defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1399
+ defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
1400
1400
  }
1401
1401
  } else $$5({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1402
1402
  }
1403
1403
 
1404
1404
  // define iterator
1405
1405
  if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1406
- defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1406
+ defineBuiltIn$2(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1407
1407
  }
1408
1408
  Iterators$1[NAME] = defaultIterator;
1409
1409
 
@@ -1619,9 +1619,9 @@ var $$4 = _export;
1619
1619
  var DESCRIPTORS$1 = descriptors;
1620
1620
  var global$4 = global$f;
1621
1621
  var uncurryThis$6 = functionUncurryThis;
1622
- var hasOwn = hasOwnProperty_1;
1622
+ var hasOwn$1 = hasOwnProperty_1;
1623
1623
  var isCallable$2 = isCallable$h;
1624
- var isPrototypeOf = objectIsPrototypeOf;
1624
+ var isPrototypeOf$1 = objectIsPrototypeOf;
1625
1625
  var toString$4 = toString$5;
1626
1626
  var defineBuiltInAccessor = defineBuiltInAccessor$1;
1627
1627
  var copyConstructorProperties = copyConstructorProperties$2;
@@ -1637,7 +1637,7 @@ if (DESCRIPTORS$1 && isCallable$2(NativeSymbol) && (!('description' in SymbolPro
1637
1637
  // wrap Symbol constructor for correct work with undefined description
1638
1638
  var SymbolWrapper = function Symbol() {
1639
1639
  var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$4(arguments[0]);
1640
- var result = isPrototypeOf(SymbolPrototype, this)
1640
+ var result = isPrototypeOf$1(SymbolPrototype, this)
1641
1641
  ? new NativeSymbol(description)
1642
1642
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
1643
1643
  : description === undefined ? NativeSymbol() : NativeSymbol(description);
@@ -1660,7 +1660,7 @@ if (DESCRIPTORS$1 && isCallable$2(NativeSymbol) && (!('description' in SymbolPro
1660
1660
  configurable: true,
1661
1661
  get: function description() {
1662
1662
  var symbol = thisSymbolValue(this);
1663
- if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
1663
+ if (hasOwn$1(EmptyStringDescriptionStore, symbol)) return '';
1664
1664
  var string = symbolDescriptiveString(symbol);
1665
1665
  var desc = NATIVE_SYMBOL ? stringSlice$4(string, 7, -1) : replace$2(string, regexp, '$1');
1666
1666
  return desc === '' ? undefined : desc;
@@ -1674,8 +1674,8 @@ if (DESCRIPTORS$1 && isCallable$2(NativeSymbol) && (!('description' in SymbolPro
1674
1674
 
1675
1675
  var DESCRIPTORS = descriptors;
1676
1676
  var uncurryThis$5 = functionUncurryThis;
1677
- var call$5 = functionCall;
1678
- var fails$6 = fails$h;
1677
+ var call$6 = functionCall;
1678
+ var fails$7 = fails$i;
1679
1679
  var objectKeys = objectKeys$2;
1680
1680
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1681
1681
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1690,7 +1690,7 @@ var concat$1 = uncurryThis$5([].concat);
1690
1690
 
1691
1691
  // `Object.assign` method
1692
1692
  // https://tc39.es/ecma262/#sec-object.assign
1693
- var objectAssign = !$assign || fails$6(function () {
1693
+ var objectAssign = !$assign || fails$7(function () {
1694
1694
  // should have correct order of operations (Edge bug)
1695
1695
  if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1696
1696
  enumerable: true,
@@ -1724,7 +1724,7 @@ var objectAssign = !$assign || fails$6(function () {
1724
1724
  var key;
1725
1725
  while (length > j) {
1726
1726
  key = keys[j++];
1727
- if (!DESCRIPTORS || call$5(propertyIsEnumerable, S, key)) T[key] = S[key];
1727
+ if (!DESCRIPTORS || call$6(propertyIsEnumerable, S, key)) T[key] = S[key];
1728
1728
  }
1729
1729
  } return T;
1730
1730
  } : $assign;
@@ -1739,12 +1739,12 @@ $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
1739
1739
  assign: assign
1740
1740
  });
1741
1741
 
1742
- var anObject$2 = anObject$8;
1742
+ var anObject$3 = anObject$9;
1743
1743
 
1744
1744
  // `RegExp.prototype.flags` getter implementation
1745
1745
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1746
1746
  var regexpFlags$1 = function () {
1747
- var that = anObject$2(this);
1747
+ var that = anObject$3(this);
1748
1748
  var result = '';
1749
1749
  if (that.hasIndices) result += 'd';
1750
1750
  if (that.global) result += 'g';
@@ -1757,13 +1757,13 @@ var regexpFlags$1 = function () {
1757
1757
  return result;
1758
1758
  };
1759
1759
 
1760
- var fails$5 = fails$h;
1760
+ var fails$6 = fails$i;
1761
1761
  var global$3 = global$f;
1762
1762
 
1763
1763
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1764
1764
  var $RegExp$2 = global$3.RegExp;
1765
1765
 
1766
- var UNSUPPORTED_Y$1 = fails$5(function () {
1766
+ var UNSUPPORTED_Y$1 = fails$6(function () {
1767
1767
  var re = $RegExp$2('a', 'y');
1768
1768
  re.lastIndex = 2;
1769
1769
  return re.exec('abcd') !== null;
@@ -1771,11 +1771,11 @@ var UNSUPPORTED_Y$1 = fails$5(function () {
1771
1771
 
1772
1772
  // UC Browser bug
1773
1773
  // https://github.com/zloirock/core-js/issues/1008
1774
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () {
1774
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$6(function () {
1775
1775
  return !$RegExp$2('a', 'y').sticky;
1776
1776
  });
1777
1777
 
1778
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
1778
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$6(function () {
1779
1779
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1780
1780
  var re = $RegExp$2('^r', 'gy');
1781
1781
  re.lastIndex = 2;
@@ -1788,24 +1788,24 @@ var regexpStickyHelpers = {
1788
1788
  UNSUPPORTED_Y: UNSUPPORTED_Y$1
1789
1789
  };
1790
1790
 
1791
- var fails$4 = fails$h;
1791
+ var fails$5 = fails$i;
1792
1792
  var global$2 = global$f;
1793
1793
 
1794
1794
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1795
1795
  var $RegExp$1 = global$2.RegExp;
1796
1796
 
1797
- var regexpUnsupportedDotAll = fails$4(function () {
1797
+ var regexpUnsupportedDotAll = fails$5(function () {
1798
1798
  var re = $RegExp$1('.', 's');
1799
1799
  return !(re.dotAll && re.test('\n') && re.flags === 's');
1800
1800
  });
1801
1801
 
1802
- var fails$3 = fails$h;
1802
+ var fails$4 = fails$i;
1803
1803
  var global$1 = global$f;
1804
1804
 
1805
1805
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1806
1806
  var $RegExp = global$1.RegExp;
1807
1807
 
1808
- var regexpUnsupportedNcg = fails$3(function () {
1808
+ var regexpUnsupportedNcg = fails$4(function () {
1809
1809
  var re = $RegExp('(?<a>b)', 'g');
1810
1810
  return re.exec('b').groups.a !== 'b' ||
1811
1811
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -1813,7 +1813,7 @@ var regexpUnsupportedNcg = fails$3(function () {
1813
1813
 
1814
1814
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1815
1815
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1816
- var call$4 = functionCall;
1816
+ var call$5 = functionCall;
1817
1817
  var uncurryThis$4 = functionUncurryThis;
1818
1818
  var toString$3 = toString$5;
1819
1819
  var regexpFlags = regexpFlags$1;
@@ -1835,8 +1835,8 @@ var stringSlice$3 = uncurryThis$4(''.slice);
1835
1835
  var UPDATES_LAST_INDEX_WRONG = (function () {
1836
1836
  var re1 = /a/;
1837
1837
  var re2 = /b*/g;
1838
- call$4(nativeExec, re1, 'a');
1839
- call$4(nativeExec, re2, 'a');
1838
+ call$5(nativeExec, re1, 'a');
1839
+ call$5(nativeExec, re2, 'a');
1840
1840
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1841
1841
  })();
1842
1842
 
@@ -1857,14 +1857,14 @@ if (PATCH) {
1857
1857
 
1858
1858
  if (raw) {
1859
1859
  raw.lastIndex = re.lastIndex;
1860
- result = call$4(patchedExec, raw, str);
1860
+ result = call$5(patchedExec, raw, str);
1861
1861
  re.lastIndex = raw.lastIndex;
1862
1862
  return result;
1863
1863
  }
1864
1864
 
1865
1865
  var groups = state.groups;
1866
1866
  var sticky = UNSUPPORTED_Y && re.sticky;
1867
- var flags = call$4(regexpFlags, re);
1867
+ var flags = call$5(regexpFlags, re);
1868
1868
  var source = re.source;
1869
1869
  var charsAdded = 0;
1870
1870
  var strCopy = str;
@@ -1892,7 +1892,7 @@ if (PATCH) {
1892
1892
  }
1893
1893
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1894
1894
 
1895
- match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
1895
+ match = call$5(nativeExec, sticky ? reCopy : re, strCopy);
1896
1896
 
1897
1897
  if (sticky) {
1898
1898
  if (match) {
@@ -1907,7 +1907,7 @@ if (PATCH) {
1907
1907
  if (NPCG_INCLUDED && match && match.length > 1) {
1908
1908
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1909
1909
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
1910
- call$4(nativeReplace, match[0], reCopy, function () {
1910
+ call$5(nativeReplace, match[0], reCopy, function () {
1911
1911
  for (i = 1; i < arguments.length - 2; i++) {
1912
1912
  if (arguments[i] === undefined) match[i] = undefined;
1913
1913
  }
@@ -1941,36 +1941,36 @@ var NATIVE_BIND = functionBindNative;
1941
1941
 
1942
1942
  var FunctionPrototype = Function.prototype;
1943
1943
  var apply$1 = FunctionPrototype.apply;
1944
- var call$3 = FunctionPrototype.call;
1944
+ var call$4 = FunctionPrototype.call;
1945
1945
 
1946
1946
  // eslint-disable-next-line es/no-reflect -- safe
1947
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$3.bind(apply$1) : function () {
1948
- return call$3.apply(apply$1, arguments);
1947
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$1) : function () {
1948
+ return call$4.apply(apply$1, arguments);
1949
1949
  });
1950
1950
 
1951
1951
  // TODO: Remove from `core-js@4` since it's moved to entry points
1952
1952
 
1953
- var call$2 = functionCall;
1954
- var defineBuiltIn = defineBuiltIn$4;
1953
+ var call$3 = functionCall;
1954
+ var defineBuiltIn$1 = defineBuiltIn$5;
1955
1955
  var regexpExec$1 = regexpExec$2;
1956
- var fails$2 = fails$h;
1956
+ var fails$3 = fails$i;
1957
1957
  var wellKnownSymbol$3 = wellKnownSymbol$c;
1958
1958
  var createNonEnumerableProperty = createNonEnumerableProperty$5;
1959
1959
 
1960
1960
  var SPECIES = wellKnownSymbol$3('species');
1961
- var RegExpPrototype = RegExp.prototype;
1961
+ var RegExpPrototype$2 = RegExp.prototype;
1962
1962
 
1963
1963
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1964
1964
  var SYMBOL = wellKnownSymbol$3(KEY);
1965
1965
 
1966
- var DELEGATES_TO_SYMBOL = !fails$2(function () {
1966
+ var DELEGATES_TO_SYMBOL = !fails$3(function () {
1967
1967
  // String methods call symbol-named RegExp methods
1968
1968
  var O = {};
1969
1969
  O[SYMBOL] = function () { return 7; };
1970
1970
  return ''[KEY](O) !== 7;
1971
1971
  });
1972
1972
 
1973
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
1973
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$3(function () {
1974
1974
  // Symbol-named RegExp methods call .exec
1975
1975
  var execCalled = false;
1976
1976
  var re = /a/;
@@ -2005,23 +2005,23 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2005
2005
  var nativeRegExpMethod = /./[SYMBOL];
2006
2006
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
2007
2007
  var $exec = regexp.exec;
2008
- if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
2008
+ if ($exec === regexpExec$1 || $exec === RegExpPrototype$2.exec) {
2009
2009
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
2010
2010
  // The native String method already delegates to @@method (this
2011
2011
  // polyfilled function), leasing to infinite recursion.
2012
2012
  // We avoid it by directly calling the native @@method method.
2013
- return { done: true, value: call$2(nativeRegExpMethod, regexp, str, arg2) };
2013
+ return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
2014
2014
  }
2015
- return { done: true, value: call$2(nativeMethod, str, regexp, arg2) };
2015
+ return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
2016
2016
  }
2017
2017
  return { done: false };
2018
2018
  });
2019
2019
 
2020
- defineBuiltIn(String.prototype, KEY, methods[0]);
2021
- defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
2020
+ defineBuiltIn$1(String.prototype, KEY, methods[0]);
2021
+ defineBuiltIn$1(RegExpPrototype$2, SYMBOL, methods[1]);
2022
2022
  }
2023
2023
 
2024
- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
2024
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true);
2025
2025
  };
2026
2026
 
2027
2027
  var uncurryThis$3 = functionUncurryThis;
@@ -2115,8 +2115,8 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2115
2115
  });
2116
2116
  };
2117
2117
 
2118
- var call$1 = functionCall;
2119
- var anObject$1 = anObject$8;
2118
+ var call$2 = functionCall;
2119
+ var anObject$2 = anObject$9;
2120
2120
  var isCallable$1 = isCallable$h;
2121
2121
  var classof$1 = classofRaw$1;
2122
2122
  var regexpExec = regexpExec$2;
@@ -2128,20 +2128,20 @@ var $TypeError$1 = TypeError;
2128
2128
  var regexpExecAbstract = function (R, S) {
2129
2129
  var exec = R.exec;
2130
2130
  if (isCallable$1(exec)) {
2131
- var result = call$1(exec, R, S);
2132
- if (result !== null) anObject$1(result);
2131
+ var result = call$2(exec, R, S);
2132
+ if (result !== null) anObject$2(result);
2133
2133
  return result;
2134
2134
  }
2135
- if (classof$1(R) === 'RegExp') return call$1(regexpExec, R, S);
2135
+ if (classof$1(R) === 'RegExp') return call$2(regexpExec, R, S);
2136
2136
  throw new $TypeError$1('RegExp#exec called on incompatible receiver');
2137
2137
  };
2138
2138
 
2139
2139
  var apply = functionApply;
2140
- var call = functionCall;
2140
+ var call$1 = functionCall;
2141
2141
  var uncurryThis$1 = functionUncurryThis;
2142
2142
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2143
- var fails$1 = fails$h;
2144
- var anObject = anObject$8;
2143
+ var fails$2 = fails$i;
2144
+ var anObject$1 = anObject$9;
2145
2145
  var isCallable = isCallable$h;
2146
2146
  var isNullOrUndefined = isNullOrUndefined$3;
2147
2147
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
@@ -2181,7 +2181,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
2181
2181
  return false;
2182
2182
  })();
2183
2183
 
2184
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$1(function () {
2184
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$2(function () {
2185
2185
  var re = /./;
2186
2186
  re.exec = function () {
2187
2187
  var result = [];
@@ -2203,13 +2203,13 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2203
2203
  var O = requireObjectCoercible$1(this);
2204
2204
  var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
2205
2205
  return replacer
2206
- ? call(replacer, searchValue, O, replaceValue)
2207
- : call(nativeReplace, toString$1(O), searchValue, replaceValue);
2206
+ ? call$1(replacer, searchValue, O, replaceValue)
2207
+ : call$1(nativeReplace, toString$1(O), searchValue, replaceValue);
2208
2208
  },
2209
2209
  // `RegExp.prototype[@@replace]` method
2210
2210
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2211
2211
  function (string, replaceValue) {
2212
- var rx = anObject(this);
2212
+ var rx = anObject$1(this);
2213
2213
  var S = toString$1(string);
2214
2214
 
2215
2215
  if (
@@ -2399,9 +2399,29 @@ const GoAInputBaseControl = props => {
2399
2399
  });
2400
2400
  };
2401
2401
 
2402
+ /**
2403
+ * Checks input controls data value to determine is required and has any data.
2404
+ * @param props - The JsonForm control props
2405
+ * @returns true if there is no data and is a required field
2406
+ */
2407
+ const isRequiredAndHasNoData = props => {
2408
+ const {
2409
+ data,
2410
+ required
2411
+ } = props;
2412
+ return required && (data === undefined || data.length === 0);
2413
+ };
2414
+ /**
2415
+ * Checks the key press value to determine if the key press is a 'Shift' or 'Tab'.
2416
+ * @param key - The key press value
2417
+ * @returns true if the key pressed is not a shift or tab key being pressed, otherwise false
2418
+ */
2419
+ const isNotKeyPressTabOrShift = key => {
2420
+ return !(key === 'Tab' || key === 'Shift') && key !== undefined;
2421
+ };
2422
+
2402
2423
  const GoAInputText = props => {
2403
2424
  var _a, _b, _c, _d;
2404
- // eslint-disable-next-line
2405
2425
  const {
2406
2426
  data,
2407
2427
  config,
@@ -2434,7 +2454,7 @@ const GoAInputText = props => {
2434
2454
  // side effect that causes the validation to render when it shouldnt.
2435
2455
  onChange: (name, value) => {},
2436
2456
  onKeyPress: (name, value, key) => {
2437
- if (!(key === 'Tab' || key === 'Shift')) {
2457
+ if (isNotKeyPressTabOrShift(key)) {
2438
2458
  if (autoCapitalize === true) {
2439
2459
  handleChange(path, value.toUpperCase());
2440
2460
  } else {
@@ -2443,10 +2463,12 @@ const GoAInputText = props => {
2443
2463
  }
2444
2464
  },
2445
2465
  onBlur: (name, value) => {
2446
- if (autoCapitalize === true) {
2447
- handleChange(path, value.toUpperCase());
2448
- } else {
2449
- handleChange(path, value);
2466
+ if (isRequiredAndHasNoData(props)) {
2467
+ if (autoCapitalize) {
2468
+ handleChange(path, value.toUpperCase());
2469
+ } else {
2470
+ handleChange(path, value);
2471
+ }
2450
2472
  }
2451
2473
  }
2452
2474
  }, (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps));
@@ -2587,14 +2609,16 @@ const GoADateInput = props => {
2587
2609
  // side effect that causes the validation to render when it shouldn't.
2588
2610
  onChange: (name, value) => {},
2589
2611
  onKeyPress: (name, value, key) => {
2590
- if (!(key === 'Tab' || key === 'Shift')) {
2612
+ if (isNotKeyPressTabOrShift(key)) {
2591
2613
  value = standardizeDate(value) || '';
2592
2614
  handleChange(path, value);
2593
2615
  }
2594
2616
  },
2595
2617
  onBlur: (name, value) => {
2596
- value = standardizeDate(value) || '';
2597
- handleChange(path, value);
2618
+ if (isRequiredAndHasNoData(props)) {
2619
+ value = standardizeDate(value) || '';
2620
+ handleChange(path, value);
2621
+ }
2598
2622
  }
2599
2623
  }, reformatDateProps((_e = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _e === void 0 ? void 0 : _e.componentProps)));
2600
2624
  };
@@ -2640,7 +2664,7 @@ const GoANumberInput = props => {
2640
2664
  name: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.name) || `${id || label}-input`,
2641
2665
  testId: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.testId) || `${id}-input`,
2642
2666
  onKeyPress: (name, value, key) => {
2643
- if (!(key === 'Tab' || key === 'Shift')) {
2667
+ if (isNotKeyPressTabOrShift(key)) {
2644
2668
  let newValue = '';
2645
2669
  if (value !== '') {
2646
2670
  newValue = +value;
@@ -2649,11 +2673,13 @@ const GoANumberInput = props => {
2649
2673
  }
2650
2674
  },
2651
2675
  onBlur: (name, value) => {
2652
- let newValue = '';
2653
- if (value !== '') {
2654
- newValue = +value;
2676
+ if (isRequiredAndHasNoData(props)) {
2677
+ let newValue = '';
2678
+ if (value !== '') {
2679
+ newValue = +value;
2680
+ }
2681
+ handleChange(path, newValue);
2655
2682
  }
2656
- handleChange(path, newValue);
2657
2683
  },
2658
2684
  //Dont trigger the handleChange event on the onChange event as it will cause
2659
2685
  //issue with the error message from displaying, use keyPress or the onBlur event instead
@@ -2702,7 +2728,7 @@ const GoAInputInteger = props => {
2702
2728
  name: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.name) || `${id || label}-input`,
2703
2729
  testId: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.testId) || `${id}-input`,
2704
2730
  onKeyPress: (name, value, key) => {
2705
- if (!(key === 'Tab' || key === 'Shift')) {
2731
+ if (isNotKeyPressTabOrShift(key)) {
2706
2732
  let newValue = '';
2707
2733
  if (value !== '') {
2708
2734
  newValue = +value;
@@ -2711,11 +2737,13 @@ const GoAInputInteger = props => {
2711
2737
  }
2712
2738
  },
2713
2739
  onBlur: (name, value) => {
2714
- let newValue = '';
2715
- if (value !== '') {
2716
- newValue = +value;
2740
+ if (isRequiredAndHasNoData(props)) {
2741
+ let newValue = '';
2742
+ if (value !== '') {
2743
+ newValue = +value;
2744
+ }
2745
+ handleChange(path, newValue);
2717
2746
  }
2718
- handleChange(path, newValue);
2719
2747
  },
2720
2748
  //Dont trigger the handleChange event on the onChange event as it will cause
2721
2749
  //issue with the error message from displaying, use keyPress or the onBlur event instead
@@ -2758,14 +2786,16 @@ const GoADateTimeInput = props => {
2758
2786
  onChange: (name, value) => {},
2759
2787
  onKeyPress: (name, value, key) => {
2760
2788
  var _a;
2761
- if (!(key === 'Tab' || key === 'Shift')) {
2789
+ if (isNotKeyPressTabOrShift(key)) {
2762
2790
  value = isValidDate(value) ? (_a = new Date(value)) === null || _a === void 0 ? void 0 : _a.toISOString() : '';
2763
2791
  handleChange(path, value);
2764
2792
  }
2765
2793
  },
2766
2794
  onBlur: (name, value) => {
2767
- value = isValidDate(value) ? new Date(value).toISOString() : '';
2768
- handleChange(path, value);
2795
+ if (isRequiredAndHasNoData(props)) {
2796
+ value = isValidDate(value) ? new Date(value).toISOString() : '';
2797
+ handleChange(path, value);
2798
+ }
2769
2799
  }
2770
2800
  }, (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps));
2771
2801
  };
@@ -2802,14 +2832,16 @@ const GoATimeInput = props => {
2802
2832
  disabled: !enabled,
2803
2833
  testId: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.testId) || `${id}-input`,
2804
2834
  onBlur: (name, value) => {
2805
- handleChange(path, value);
2835
+ if (isRequiredAndHasNoData(props)) {
2836
+ handleChange(path, value);
2837
+ }
2806
2838
  },
2807
2839
  // Dont use handleChange in the onChange event, use the keyPress or onBlur.
2808
2840
  // If you use it onChange along with keyPress event it will cause a
2809
2841
  // side effect that causes the validation to render when it shouldnt.
2810
2842
  onChange: (name, value) => {},
2811
2843
  onKeyPress: (name, value, key) => {
2812
- if (!(key === 'Tab' || key === 'Shift')) {
2844
+ if (isNotKeyPressTabOrShift(key)) {
2813
2845
  handleChange(path, value);
2814
2846
  }
2815
2847
  }
@@ -2823,11 +2855,11 @@ const GoAInputTimeControl = withJsonFormsControlProps(GoATimeControl);
2823
2855
 
2824
2856
  var $$1 = _export;
2825
2857
  var $includes = arrayIncludes.includes;
2826
- var fails = fails$h;
2858
+ var fails$1 = fails$i;
2827
2859
  var addToUnscopables = addToUnscopables$2;
2828
2860
 
2829
2861
  // FF99+ bug
2830
- var BROKEN_ON_SPARSE = fails(function () {
2862
+ var BROKEN_ON_SPARSE = fails$1(function () {
2831
2863
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
2832
2864
  return !Array(1).includes();
2833
2865
  });
@@ -3307,6 +3339,45 @@ const BooleanRadioControl = props => jsx(GoAInputBaseControl, Object.assign({},
3307
3339
  const GoABooleanRadioControlTester = rankWith(3, and(isBooleanControl, optionIs('radio', true)));
3308
3340
  const GoABooleanRadioControl = withJsonFormsControlProps(BooleanRadioControl);
3309
3341
 
3342
+ var call = functionCall;
3343
+ var hasOwn = hasOwnProperty_1;
3344
+ var isPrototypeOf = objectIsPrototypeOf;
3345
+ var regExpFlags = regexpFlags$1;
3346
+
3347
+ var RegExpPrototype$1 = RegExp.prototype;
3348
+
3349
+ var regexpGetFlags = function (R) {
3350
+ var flags = R.flags;
3351
+ return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
3352
+ ? call(regExpFlags, R) : flags;
3353
+ };
3354
+
3355
+ var PROPER_FUNCTION_NAME = functionName.PROPER;
3356
+ var defineBuiltIn = defineBuiltIn$5;
3357
+ var anObject = anObject$9;
3358
+ var $toString = toString$5;
3359
+ var fails = fails$i;
3360
+ var getRegExpFlags = regexpGetFlags;
3361
+
3362
+ var TO_STRING = 'toString';
3363
+ var RegExpPrototype = RegExp.prototype;
3364
+ var nativeToString = RegExpPrototype[TO_STRING];
3365
+
3366
+ var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
3367
+ // FF44- RegExp#toString has a wrong name
3368
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
3369
+
3370
+ // `RegExp.prototype.toString` method
3371
+ // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
3372
+ if (NOT_GENERIC || INCORRECT_NAME) {
3373
+ defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
3374
+ var R = anObject(this);
3375
+ var pattern = $toString(R.source);
3376
+ var flags = $toString(getRegExpFlags(R));
3377
+ return '/' + pattern + '/' + flags;
3378
+ }, { unsafe: true });
3379
+ }
3380
+
3310
3381
  let _$5 = t => t,
3311
3382
  _t$5,
3312
3383
  _t2$3;
@@ -3361,21 +3432,100 @@ const GridItem = styled.div(_t2$3 || (_t2$3 = _$5`
3361
3432
  let _$4 = t => t,
3362
3433
  _t$4,
3363
3434
  _t2$2,
3364
- _t3$1;
3435
+ _t3$1,
3436
+ _t4,
3437
+ _t5,
3438
+ _t6,
3439
+ _t7;
3365
3440
  const ReviewItem = styled.div(_t$4 || (_t$4 = _$4`
3366
3441
  display: flex;
3442
+ flex-direction: column;
3367
3443
  border: var(--goa-border-width-s) solid grey;
3368
3444
  border-radius: var(--goa-border-radius-m);
3369
3445
  margin: var(--goa-space-2xs);
3370
3446
  padding: var(--goa-space-xs);
3371
3447
  `));
3372
- const ReviewListItem = styled.div(_t2$2 || (_t2$2 = _$4`
3448
+ const ReviewItemSection = styled.div(_t2$2 || (_t2$2 = _$4`
3449
+ background-color: #f1f1f1;
3450
+ margin-bottom: 1rem;
3451
+ padding: 1rem;
3452
+ border: 1px solid #dcdcdc;
3453
+ border-radius: 5px;
3454
+ `));
3455
+ const ReviewItemHeader = styled.div(_t3$1 || (_t3$1 = _$4`
3456
+ display: flex;
3457
+ align-items: center;
3458
+ justify-content: space-between;
3459
+ margin-bottom: 2rem;
3460
+ `));
3461
+ const ReviewItemTitle = styled.div(_t4 || (_t4 = _$4`
3462
+ font-size: var(--fs-xl);
3463
+ line-height: var(--lh-lg);
3464
+ font-weight: var(--fw-light);
3465
+ `));
3466
+ const Anchor = styled.div(_t5 || (_t5 = _$4`
3467
+ color: #0070c4;
3468
+ text-decoration: underline;
3469
+ outline: none;
3470
+ cursor: pointer;
3471
+ `));
3472
+ styled.div(_t6 || (_t6 = _$4`
3373
3473
  margin-left: var(--goa-space-m);
3374
3474
  `));
3375
- const ReviewListWrapper = styled.div(_t3$1 || (_t3$1 = _$4`
3475
+ styled.div(_t7 || (_t7 = _$4`
3376
3476
  margin-bottom: var(--goa-space-m);
3377
3477
  `));
3378
3478
 
3479
+ const resolveLabelFromScope = scope => {
3480
+ // eslint-disable-next-line no-useless-escape
3481
+ const validPatternRegex = /^#(\/properties\/[^\/]+)+$/;
3482
+ const isValid = validPatternRegex.test(scope);
3483
+ if (!isValid) return null;
3484
+ const lastSegment = scope.split('/').pop();
3485
+ if (lastSegment) {
3486
+ const lowercased = lastSegment.replace(/([A-Z])/g, ' $1').toLowerCase();
3487
+ return lowercased.charAt(0).toUpperCase() + lowercased.slice(1);
3488
+ }
3489
+ return '';
3490
+ };
3491
+ const getFormFieldValue = (scope, data) => {
3492
+ if (data !== undefined) {
3493
+ const pathArray = scope.replace('#/properties/', '').replace('properties/', '').split('/');
3494
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3495
+ let currentValue = data;
3496
+ for (const key of pathArray) {
3497
+ if (currentValue[key] === undefined) {
3498
+ return '';
3499
+ }
3500
+ currentValue = currentValue[key];
3501
+ }
3502
+ return typeof currentValue === 'object' ? '' : currentValue;
3503
+ } else {
3504
+ return '';
3505
+ }
3506
+ };
3507
+ const renderFormFields = (elements, data) => elements.map((element, index) => {
3508
+ // const clonedElement = element;
3509
+ const clonedElement = JSON.parse(JSON.stringify(element));
3510
+ if (clonedElement.type === 'Control' && clonedElement.scope) {
3511
+ const label = resolveLabelFromScope(clonedElement.scope);
3512
+ if (!label) return null;
3513
+ const value = getFormFieldValue(clonedElement.scope, data ? data : {}).toString();
3514
+ return jsxs(GridItem, {
3515
+ md: 6,
3516
+ vSpacing: 1,
3517
+ hSpacing: 0.5,
3518
+ children: [jsxs("strong", {
3519
+ children: [label, ":"]
3520
+ }), " ", value]
3521
+ }, index);
3522
+ } else if (clonedElement === null || clonedElement === void 0 ? void 0 : clonedElement.elements) {
3523
+ return jsx(React.Fragment, {
3524
+ children: renderFormFields(clonedElement.elements, data)
3525
+ }, index);
3526
+ }
3527
+ return null;
3528
+ });
3379
3529
  const FormStepper = ({
3380
3530
  uischema,
3381
3531
  data,
@@ -3390,7 +3540,6 @@ const FormStepper = ({
3390
3540
  enabled,
3391
3541
  t
3392
3542
  }) => {
3393
- var _a;
3394
3543
  const categorization = uischema;
3395
3544
  const [step, setStep] = useState(0);
3396
3545
  const [isFormValid, setIsFormValid] = useState(false);
@@ -3466,6 +3615,9 @@ const FormStepper = ({
3466
3615
  })
3467
3616
  );
3468
3617
  };
3618
+ const handleEdit = index => {
3619
+ setPage(index + 1);
3620
+ };
3469
3621
  return jsx(Hidden, {
3470
3622
  xsUp: !visible,
3471
3623
  children: jsxs("div", {
@@ -3501,24 +3653,20 @@ const FormStepper = ({
3501
3653
  },
3502
3654
  children: "Summary"
3503
3655
  }), jsx(ReviewItem, {
3504
- children: jsx("div", {
3505
- style: {
3506
- width: '100%'
3507
- },
3508
- children: data && ((_a = Object.keys(data)) === null || _a === void 0 ? void 0 : _a.length) > 0 && jsx(Grid, {
3509
- children: Object.keys(flattenObject(data)).map((key, ix) => {
3510
- return jsxs(GridItem, {
3511
- md: 6,
3512
- vSpacing: 1,
3513
- hSpacing: 0.5,
3514
- children: [jsx("b", {
3515
- children: key
3516
- }), " : ", jsx(PreventControlElement, {
3517
- value: flattenObject(data)[key]
3518
- }, ix)]
3519
- }, ix);
3520
- })
3521
- })
3656
+ children: categories.map((category, index) => {
3657
+ const categoryLabel = category.label || category.i18n || 'Unknown Category';
3658
+ return jsxs(ReviewItemSection, {
3659
+ children: [jsxs(ReviewItemHeader, {
3660
+ children: [jsx(ReviewItemTitle, {
3661
+ children: categoryLabel
3662
+ }), jsx(Anchor, {
3663
+ onClick: () => handleEdit(index),
3664
+ children: "Edit"
3665
+ })]
3666
+ }), jsx(Grid, {
3667
+ children: renderFormFields(category.elements, data)
3668
+ })]
3669
+ }, index);
3522
3670
  })
3523
3671
  })]
3524
3672
  })]
@@ -3549,43 +3697,6 @@ const FormStepper = ({
3549
3697
  })
3550
3698
  });
3551
3699
  };
3552
- const PreventControlElement = props => {
3553
- if (typeof (props === null || props === void 0 ? void 0 : props.value) === 'string') return jsx("span", {
3554
- children: props.value
3555
- });
3556
- if (Array.isArray(props === null || props === void 0 ? void 0 : props.value)) {
3557
- return jsx("div", {
3558
- children: props.value.map((item, index) => {
3559
- return jsx(ReviewListWrapper, {
3560
- children: item && Object.keys(item).map((key, innerIndex) => {
3561
- if (typeof item[key] === 'string') {
3562
- return jsxs(ReviewListItem, {
3563
- children: [key, ": ", item[key]]
3564
- }, innerIndex);
3565
- }
3566
- return jsxs(ReviewListItem, {
3567
- children: [key, ": ", String(item[key])]
3568
- }, innerIndex);
3569
- })
3570
- }, index);
3571
- })
3572
- });
3573
- }
3574
- // eslint-disable-next-line
3575
- return jsx(Fragment, {});
3576
- };
3577
- const flattenObject = obj => {
3578
- const flattened = {};
3579
- Object.keys(obj || {}).forEach(key => {
3580
- const value = obj[key];
3581
- if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
3582
- Object.assign(flattened, flattenObject(value));
3583
- } else {
3584
- flattened[key] = value;
3585
- }
3586
- });
3587
- return flattened;
3588
- };
3589
3700
  const FormStepperControl = withAjvProps(withTranslateProps(withJsonFormsLayoutProps(FormStepper)));
3590
3701
 
3591
3702
  // Ensure that all children (Category) have valid elements or things tend