@abgov/jsonforms-components 2.44.0 → 2.44.2

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
@@ -1,11 +1,11 @@
1
1
  import * as runtime from 'react/jsx-runtime';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
3
  import React, { createContext, useContext, useReducer, useMemo, useEffect, useCallback, useState, useRef, useLayoutEffect } from 'react';
4
- import { GoabFormItem, GoabInput, GoabTextArea, GoabCallout, GoabDatePicker, GoabRadioGroup, GoabRadioItem, GoabCheckbox, GoabIcon, GoabButton, GoabGrid, GoabModal, GoabButtonGroup, GoabTable, GoabContainer, GoabDropdown, GoabDropdownItem, GoabIconButton, GoabDetails, GoabFormStepper, GoabFormStep, GoabPages, GoabBadge, GoabText, GoabFileUploadInput, GoabCircularProgress, GoabSpinner } from '@abgov/react-components';
4
+ import { GoabFormItem, GoabInput, GoabTextArea, GoabCallout, GoabRadioGroup, GoabRadioItem, GoabCheckbox, GoabIcon, GoabButton, GoabGrid, GoabModal, GoabButtonGroup, GoabTable, GoabContainer, GoabDropdown, GoabDropdownItem, GoabIconButton, GoabDetails, GoabFormStepper, GoabFormStep, GoabPages, GoabBadge, GoabText, GoabFileUploadInput, GoabCircularProgress, GoabSpinner } from '@abgov/react-components';
5
5
  import styled from 'styled-components';
6
6
  import axios from 'axios';
7
7
  import get$1 from 'lodash/get';
8
- import { isVisible, isEnabled, deriveLabelForUISchemaElement, rankWith, isStringControl, and, optionIs, uiTypeIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, isControl as isControl$1, isEnumControl, isBooleanControl, schemaMatches, getAjv, createDefaultValue, or, isObjectArrayControl, isPrimitiveArrayControl, Paths, toDataPath, Resolve, schemaTypeIs, formatIs, hasType, isCategorization, isLayout } from '@jsonforms/core';
8
+ import { isVisible, isEnabled, deriveLabelForUISchemaElement, rankWith, isStringControl, and, optionIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, uiTypeIs, isControl as isControl$1, isEnumControl, isBooleanControl, schemaMatches, getAjv, createDefaultValue, or, isObjectArrayControl, isPrimitiveArrayControl, Paths, toDataPath, Resolve, schemaTypeIs, formatIs, hasType, isCategorization, isLayout } from '@jsonforms/core';
9
9
  import * as _$c from 'lodash';
10
10
  import ___default, { isEqual, isObject as isObject$g, isEmpty as isEmpty$1 } from 'lodash';
11
11
  import { useJsonForms, withJsonFormsControlProps, withJsonFormsEnumProps, withTranslateProps, JsonFormsDispatch, withJsonFormsAllOfProps, withJsonFormsArrayLayoutProps, withJsonFormsLayoutProps, withJsonFormsCellProps } from '@jsonforms/react';
@@ -50,21 +50,21 @@ var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
50
50
  };
51
51
  };
52
52
 
53
- var uncurryThis$y = functionUncurryThis;
53
+ var uncurryThis$z = functionUncurryThis;
54
54
 
55
- var toString$j = uncurryThis$y({}.toString);
56
- var stringSlice$9 = uncurryThis$y(''.slice);
55
+ var toString$l = uncurryThis$z({}.toString);
56
+ var stringSlice$a = uncurryThis$z(''.slice);
57
57
 
58
58
  var classofRaw$2 = function (it) {
59
- return stringSlice$9(toString$j(it), 8, -1);
59
+ return stringSlice$a(toString$l(it), 8, -1);
60
60
  };
61
61
 
62
- var uncurryThis$x = functionUncurryThis;
62
+ var uncurryThis$y = functionUncurryThis;
63
63
  var fails$u = fails$w;
64
64
  var classof$a = classofRaw$2;
65
65
 
66
66
  var $Object$4 = Object;
67
- var split = uncurryThis$x(''.split);
67
+ var split = uncurryThis$y(''.split);
68
68
 
69
69
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
70
70
  var indexedObject = fails$u(function () {
@@ -87,17 +87,17 @@ var $TypeError$l = TypeError;
87
87
 
88
88
  // `RequireObjectCoercible` abstract operation
89
89
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
90
- var requireObjectCoercible$c = function (it) {
90
+ var requireObjectCoercible$e = function (it) {
91
91
  if (isNullOrUndefined$6(it)) throw new $TypeError$l("Can't call method on " + it);
92
92
  return it;
93
93
  };
94
94
 
95
95
  // toObject with fallback for non-array-like ES3 strings
96
96
  var IndexedObject$2 = indexedObject;
97
- var requireObjectCoercible$b = requireObjectCoercible$c;
97
+ var requireObjectCoercible$d = requireObjectCoercible$e;
98
98
 
99
99
  var toIndexedObject$5 = function (it) {
100
- return IndexedObject$2(requireObjectCoercible$b(it));
100
+ return IndexedObject$2(requireObjectCoercible$d(it));
101
101
  };
102
102
 
103
103
  var check = function (it) {
@@ -155,20 +155,20 @@ var shared$4 = function (key, value) {
155
155
  return store$2[key] || (store$2[key] = value || {});
156
156
  };
157
157
 
158
- var requireObjectCoercible$a = requireObjectCoercible$c;
158
+ var requireObjectCoercible$c = requireObjectCoercible$e;
159
159
 
160
160
  var $Object$3 = Object;
161
161
 
162
162
  // `ToObject` abstract operation
163
163
  // https://tc39.es/ecma262/#sec-toobject
164
164
  var toObject$9 = function (argument) {
165
- return $Object$3(requireObjectCoercible$a(argument));
165
+ return $Object$3(requireObjectCoercible$c(argument));
166
166
  };
167
167
 
168
- var uncurryThis$w = functionUncurryThis;
168
+ var uncurryThis$x = functionUncurryThis;
169
169
  var toObject$8 = toObject$9;
170
170
 
171
- var hasOwnProperty = uncurryThis$w({}.hasOwnProperty);
171
+ var hasOwnProperty = uncurryThis$x({}.hasOwnProperty);
172
172
 
173
173
  // `HasOwnProperty` abstract operation
174
174
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -177,20 +177,20 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
177
177
  return hasOwnProperty(toObject$8(it), key);
178
178
  };
179
179
 
180
- var uncurryThis$v = functionUncurryThis;
180
+ var uncurryThis$w = functionUncurryThis;
181
181
 
182
182
  var id = 0;
183
183
  var postfix = Math.random();
184
- var toString$i = uncurryThis$v(1.0.toString);
184
+ var toString$k = uncurryThis$w(1.0.toString);
185
185
 
186
186
  var uid$2 = function (key) {
187
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
187
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$k(++id + postfix, 36);
188
188
  };
189
189
 
190
190
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
191
191
 
192
192
  var global$p = global$r;
193
- var userAgent$3 = engineUserAgent;
193
+ var userAgent$4 = engineUserAgent;
194
194
 
195
195
  var process$3 = global$p.process;
196
196
  var Deno$1 = global$p.Deno;
@@ -207,10 +207,10 @@ if (v8) {
207
207
 
208
208
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
209
209
  // so check `userAgent` even if `.v8` exists, but 0
210
- if (!version && userAgent$3) {
211
- match = userAgent$3.match(/Edge\/(\d+)/);
210
+ if (!version && userAgent$4) {
211
+ match = userAgent$4.match(/Edge\/(\d+)/);
212
212
  if (!match || match[1] >= 74) {
213
- match = userAgent$3.match(/Chrome\/(\d+)/);
213
+ match = userAgent$4.match(/Chrome\/(\d+)/);
214
214
  if (match) version = +match[1];
215
215
  }
216
216
  }
@@ -358,9 +358,9 @@ var getBuiltIn$b = function (namespace, method) {
358
358
  return arguments.length < 2 ? aFunction(global$l[namespace]) : global$l[namespace] && global$l[namespace][method];
359
359
  };
360
360
 
361
- var uncurryThis$u = functionUncurryThis;
361
+ var uncurryThis$v = functionUncurryThis;
362
362
 
363
- var objectIsPrototypeOf = uncurryThis$u({}.isPrototypeOf);
363
+ var objectIsPrototypeOf = uncurryThis$v({}.isPrototypeOf);
364
364
 
365
365
  var getBuiltIn$a = getBuiltIn$b;
366
366
  var isCallable$p = isCallable$s;
@@ -503,7 +503,7 @@ objectDefineProperty.f = DESCRIPTORS$h ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
503
503
  return O;
504
504
  };
505
505
 
506
- var ceil = Math.ceil;
506
+ var ceil$1 = Math.ceil;
507
507
  var floor$1 = Math.floor;
508
508
 
509
509
  // `Math.trunc` method
@@ -511,20 +511,20 @@ var floor$1 = Math.floor;
511
511
  // eslint-disable-next-line es/no-math-trunc -- safe
512
512
  var mathTrunc = Math.trunc || function trunc(x) {
513
513
  var n = +x;
514
- return (n > 0 ? floor$1 : ceil)(n);
514
+ return (n > 0 ? floor$1 : ceil$1)(n);
515
515
  };
516
516
 
517
517
  var trunc = mathTrunc;
518
518
 
519
519
  // `ToIntegerOrInfinity` abstract operation
520
520
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
521
- var toIntegerOrInfinity$8 = function (argument) {
521
+ var toIntegerOrInfinity$9 = function (argument) {
522
522
  var number = +argument;
523
523
  // eslint-disable-next-line no-self-compare -- NaN check
524
524
  return number !== number || number === 0 ? 0 : trunc(number);
525
525
  };
526
526
 
527
- var toIntegerOrInfinity$7 = toIntegerOrInfinity$8;
527
+ var toIntegerOrInfinity$8 = toIntegerOrInfinity$9;
528
528
 
529
529
  var max$2 = Math.max;
530
530
  var min$5 = Math.min;
@@ -533,27 +533,27 @@ var min$5 = Math.min;
533
533
  // Let integer be ? ToInteger(index).
534
534
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
535
535
  var toAbsoluteIndex$1 = function (index, length) {
536
- var integer = toIntegerOrInfinity$7(index);
536
+ var integer = toIntegerOrInfinity$8(index);
537
537
  return integer < 0 ? max$2(integer + length, 0) : min$5(integer, length);
538
538
  };
539
539
 
540
- var toIntegerOrInfinity$6 = toIntegerOrInfinity$8;
540
+ var toIntegerOrInfinity$7 = toIntegerOrInfinity$9;
541
541
 
542
542
  var min$4 = Math.min;
543
543
 
544
544
  // `ToLength` abstract operation
545
545
  // https://tc39.es/ecma262/#sec-tolength
546
- var toLength$6 = function (argument) {
547
- var len = toIntegerOrInfinity$6(argument);
546
+ var toLength$7 = function (argument) {
547
+ var len = toIntegerOrInfinity$7(argument);
548
548
  return len > 0 ? min$4(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
549
549
  };
550
550
 
551
- var toLength$5 = toLength$6;
551
+ var toLength$6 = toLength$7;
552
552
 
553
553
  // `LengthOfArrayLike` abstract operation
554
554
  // https://tc39.es/ecma262/#sec-lengthofarraylike
555
555
  var lengthOfArrayLike$9 = function (obj) {
556
- return toLength$5(obj.length);
556
+ return toLength$6(obj.length);
557
557
  };
558
558
 
559
559
  var toIndexedObject$4 = toIndexedObject$5;
@@ -561,7 +561,7 @@ var toAbsoluteIndex = toAbsoluteIndex$1;
561
561
  var lengthOfArrayLike$8 = lengthOfArrayLike$9;
562
562
 
563
563
  // `Array.prototype.{ indexOf, includes }` methods implementation
564
- var createMethod$3 = function (IS_INCLUDES) {
564
+ var createMethod$4 = function (IS_INCLUDES) {
565
565
  return function ($this, el, fromIndex) {
566
566
  var O = toIndexedObject$4($this);
567
567
  var length = lengthOfArrayLike$8(O);
@@ -584,21 +584,21 @@ var createMethod$3 = function (IS_INCLUDES) {
584
584
  var arrayIncludes = {
585
585
  // `Array.prototype.includes` method
586
586
  // https://tc39.es/ecma262/#sec-array.prototype.includes
587
- includes: createMethod$3(true),
587
+ includes: createMethod$4(true),
588
588
  // `Array.prototype.indexOf` method
589
589
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
590
- indexOf: createMethod$3(false)
590
+ indexOf: createMethod$4(false)
591
591
  };
592
592
 
593
593
  var hiddenKeys$4 = {};
594
594
 
595
- var uncurryThis$t = functionUncurryThis;
595
+ var uncurryThis$u = functionUncurryThis;
596
596
  var hasOwn$f = hasOwnProperty_1;
597
597
  var toIndexedObject$3 = toIndexedObject$5;
598
598
  var indexOf$1 = arrayIncludes.indexOf;
599
599
  var hiddenKeys$3 = hiddenKeys$4;
600
600
 
601
- var push$4 = uncurryThis$t([].push);
601
+ var push$4 = uncurryThis$u([].push);
602
602
 
603
603
  var objectKeysInternal = function (object, names) {
604
604
  var O = toIndexedObject$3(object);
@@ -933,11 +933,11 @@ var functionName = {
933
933
  CONFIGURABLE: CONFIGURABLE
934
934
  };
935
935
 
936
- var uncurryThis$s = functionUncurryThis;
936
+ var uncurryThis$t = functionUncurryThis;
937
937
  var isCallable$l = isCallable$s;
938
938
  var store = sharedStoreExports;
939
939
 
940
- var functionToString = uncurryThis$s(Function.toString);
940
+ var functionToString = uncurryThis$t(Function.toString);
941
941
 
942
942
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
943
943
  if (!isCallable$l(store.inspectSource)) {
@@ -948,7 +948,7 @@ if (!isCallable$l(store.inspectSource)) {
948
948
 
949
949
  var inspectSource$3 = store.inspectSource;
950
950
 
951
- var uncurryThis$r = functionUncurryThis;
951
+ var uncurryThis$s = functionUncurryThis;
952
952
  var fails$p = fails$w;
953
953
  var isCallable$k = isCallable$s;
954
954
  var hasOwn$b = hasOwnProperty_1;
@@ -962,9 +962,9 @@ var getInternalState$3 = InternalStateModule$3.get;
962
962
  var $String$3 = String;
963
963
  // eslint-disable-next-line es/no-object-defineproperty -- safe
964
964
  var defineProperty$5 = Object.defineProperty;
965
- var stringSlice$8 = uncurryThis$r(''.slice);
966
- var replace$7 = uncurryThis$r(''.replace);
967
- var join = uncurryThis$r([].join);
965
+ var stringSlice$9 = uncurryThis$s(''.slice);
966
+ var replace$7 = uncurryThis$s(''.replace);
967
+ var join = uncurryThis$s([].join);
968
968
 
969
969
  var CONFIGURABLE_LENGTH = DESCRIPTORS$c && !fails$p(function () {
970
970
  return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -973,7 +973,7 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS$c && !fails$p(function () {
973
973
  var TEMPLATE = String(String).split('String');
974
974
 
975
975
  var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
976
- if (stringSlice$8($String$3(name), 0, 7) === 'Symbol(') {
976
+ if (stringSlice$9($String$3(name), 0, 7) === 'Symbol(') {
977
977
  name = '[' + replace$7($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
978
978
  }
979
979
  if (options && options.getter) name = 'get ' + name;
@@ -1053,12 +1053,12 @@ var objectGetOwnPropertySymbols = {};
1053
1053
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1054
1054
 
1055
1055
  var getBuiltIn$8 = getBuiltIn$b;
1056
- var uncurryThis$q = functionUncurryThis;
1056
+ var uncurryThis$r = functionUncurryThis;
1057
1057
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1058
1058
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1059
1059
  var anObject$o = anObject$s;
1060
1060
 
1061
- var concat$2 = uncurryThis$q([].concat);
1061
+ var concat$2 = uncurryThis$r([].concat);
1062
1062
 
1063
1063
  // all object keys, includes non-enumerable and symbols
1064
1064
  var ownKeys$1 = getBuiltIn$8('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -1268,13 +1268,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1268
1268
  return IteratorConstructor;
1269
1269
  };
1270
1270
 
1271
- var uncurryThis$p = functionUncurryThis;
1271
+ var uncurryThis$q = functionUncurryThis;
1272
1272
  var aCallable$h = aCallable$j;
1273
1273
 
1274
1274
  var functionUncurryThisAccessor = function (object, key, method) {
1275
1275
  try {
1276
1276
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1277
- return uncurryThis$p(aCallable$h(Object.getOwnPropertyDescriptor(object, key)[method]));
1277
+ return uncurryThis$q(aCallable$h(Object.getOwnPropertyDescriptor(object, key)[method]));
1278
1278
  } catch (error) { /* empty */ }
1279
1279
  };
1280
1280
 
@@ -1297,7 +1297,7 @@ var aPossiblePrototype$1 = function (argument) {
1297
1297
  /* eslint-disable no-proto -- safe */
1298
1298
  var uncurryThisAccessor$1 = functionUncurryThisAccessor;
1299
1299
  var isObject$7 = isObject$f;
1300
- var requireObjectCoercible$9 = requireObjectCoercible$c;
1300
+ var requireObjectCoercible$b = requireObjectCoercible$e;
1301
1301
  var aPossiblePrototype = aPossiblePrototype$1;
1302
1302
 
1303
1303
  // `Object.setPrototypeOf` method
@@ -1314,7 +1314,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1314
1314
  CORRECT_SETTER = test instanceof Array;
1315
1315
  } catch (error) { /* empty */ }
1316
1316
  return function setPrototypeOf(O, proto) {
1317
- requireObjectCoercible$9(O);
1317
+ requireObjectCoercible$b(O);
1318
1318
  aPossiblePrototype(proto);
1319
1319
  if (!isObject$7(O)) return O;
1320
1320
  if (CORRECT_SETTER) setter(O, proto);
@@ -1323,7 +1323,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1323
1323
  };
1324
1324
  }() : undefined);
1325
1325
 
1326
- var $$G = _export;
1326
+ var $$H = _export;
1327
1327
  var call$p = functionCall;
1328
1328
  var FunctionName = functionName;
1329
1329
  var isCallable$f = isCallable$s;
@@ -1411,7 +1411,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1411
1411
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1412
1412
  defineBuiltIn$6(IterablePrototype, KEY, methods[KEY]);
1413
1413
  }
1414
- } else $$G({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1414
+ } else $$H({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1415
1415
  }
1416
1416
 
1417
1417
  // define iterator
@@ -1572,7 +1572,7 @@ for (var COLLECTION_NAME in DOMIterables) {
1572
1572
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1573
1573
 
1574
1574
  var DESCRIPTORS$a = descriptors;
1575
- var uncurryThis$o = functionUncurryThis;
1575
+ var uncurryThis$p = functionUncurryThis;
1576
1576
  var call$o = functionCall;
1577
1577
  var fails$l = fails$w;
1578
1578
  var objectKeys = objectKeys$2;
@@ -1585,7 +1585,7 @@ var IndexedObject$1 = indexedObject;
1585
1585
  var $assign = Object.assign;
1586
1586
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1587
1587
  var defineProperty$2 = Object.defineProperty;
1588
- var concat$1 = uncurryThis$o([].concat);
1588
+ var concat$1 = uncurryThis$p([].concat);
1589
1589
 
1590
1590
  // `Object.assign` method
1591
1591
  // https://tc39.es/ecma262/#sec-object.assign
@@ -1628,13 +1628,13 @@ var objectAssign = !$assign || fails$l(function () {
1628
1628
  } return T;
1629
1629
  } : $assign;
1630
1630
 
1631
- var $$F = _export;
1631
+ var $$G = _export;
1632
1632
  var assign = objectAssign;
1633
1633
 
1634
1634
  // `Object.assign` method
1635
1635
  // https://tc39.es/ecma262/#sec-object.assign
1636
1636
  // eslint-disable-next-line es/no-object-assign -- required for testing
1637
- $$F({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1637
+ $$G({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1638
1638
  assign: assign
1639
1639
  });
1640
1640
 
@@ -1721,15 +1721,15 @@ var classof$8 = classof$9;
1721
1721
 
1722
1722
  var $String$1 = String;
1723
1723
 
1724
- var toString$h = function (argument) {
1724
+ var toString$j = function (argument) {
1725
1725
  if (classof$8(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1726
1726
  return $String$1(argument);
1727
1727
  };
1728
1728
 
1729
- var toString$g = toString$h;
1729
+ var toString$i = toString$j;
1730
1730
 
1731
1731
  var normalizeStringArgument$1 = function (argument, $default) {
1732
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString$g(argument);
1732
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$i(argument);
1733
1733
  };
1734
1734
 
1735
1735
  var isObject$5 = isObject$f;
@@ -1743,10 +1743,10 @@ var installErrorCause$1 = function (O, options) {
1743
1743
  }
1744
1744
  };
1745
1745
 
1746
- var uncurryThis$n = functionUncurryThis;
1746
+ var uncurryThis$o = functionUncurryThis;
1747
1747
 
1748
1748
  var $Error = Error;
1749
- var replace$6 = uncurryThis$n(''.replace);
1749
+ var replace$6 = uncurryThis$o(''.replace);
1750
1750
 
1751
1751
  var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
1752
1752
  // eslint-disable-next-line redos/no-vulnerable -- safe
@@ -1849,7 +1849,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
1849
1849
  };
1850
1850
 
1851
1851
  /* eslint-disable no-unused-vars -- required for functions `.length` */
1852
- var $$E = _export;
1852
+ var $$F = _export;
1853
1853
  var global$g = global$r;
1854
1854
  var apply$3 = functionApply;
1855
1855
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
@@ -1863,14 +1863,14 @@ var FORCED$5 = new Error('e', { cause: 7 }).cause !== 7;
1863
1863
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
1864
1864
  var O = {};
1865
1865
  O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$5);
1866
- $$E({ global: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
1866
+ $$F({ global: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
1867
1867
  };
1868
1868
 
1869
1869
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
1870
1870
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
1871
1871
  var O = {};
1872
1872
  O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$5);
1873
- $$E({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
1873
+ $$F({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
1874
1874
  }
1875
1875
  };
1876
1876
 
@@ -1906,19 +1906,19 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
1906
1906
  return function RuntimeError(message) { return apply$3(init, this, arguments); };
1907
1907
  });
1908
1908
 
1909
- var $$D = _export;
1909
+ var $$E = _export;
1910
1910
  var toObject$5 = toObject$9;
1911
1911
  var lengthOfArrayLike$7 = lengthOfArrayLike$9;
1912
- var toIntegerOrInfinity$5 = toIntegerOrInfinity$8;
1912
+ var toIntegerOrInfinity$6 = toIntegerOrInfinity$9;
1913
1913
  var addToUnscopables$3 = addToUnscopables$5;
1914
1914
 
1915
1915
  // `Array.prototype.at` method
1916
1916
  // https://tc39.es/ecma262/#sec-array.prototype.at
1917
- $$D({ target: 'Array', proto: true }, {
1917
+ $$E({ target: 'Array', proto: true }, {
1918
1918
  at: function at(index) {
1919
1919
  var O = toObject$5(this);
1920
1920
  var len = lengthOfArrayLike$7(O);
1921
- var relativeIndex = toIntegerOrInfinity$5(index);
1921
+ var relativeIndex = toIntegerOrInfinity$6(index);
1922
1922
  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
1923
1923
  return (k < 0 || k >= len) ? undefined : O[k];
1924
1924
  }
@@ -2001,8 +2001,8 @@ var regexpUnsupportedNcg = fails$h(function () {
2001
2001
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
2002
2002
  /* eslint-disable regexp/no-useless-quantifier -- testing */
2003
2003
  var call$m = functionCall;
2004
- var uncurryThis$m = functionUncurryThis;
2005
- var toString$f = toString$h;
2004
+ var uncurryThis$n = functionUncurryThis;
2005
+ var toString$h = toString$j;
2006
2006
  var regexpFlags = regexpFlags$1;
2007
2007
  var stickyHelpers$2 = regexpStickyHelpers;
2008
2008
  var shared = shared$4;
@@ -2014,10 +2014,10 @@ var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
2014
2014
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
2015
2015
  var nativeExec = RegExp.prototype.exec;
2016
2016
  var patchedExec = nativeExec;
2017
- var charAt$6 = uncurryThis$m(''.charAt);
2018
- var indexOf = uncurryThis$m(''.indexOf);
2019
- var replace$5 = uncurryThis$m(''.replace);
2020
- var stringSlice$7 = uncurryThis$m(''.slice);
2017
+ var charAt$6 = uncurryThis$n(''.charAt);
2018
+ var indexOf = uncurryThis$n(''.indexOf);
2019
+ var replace$5 = uncurryThis$n(''.replace);
2020
+ var stringSlice$8 = uncurryThis$n(''.slice);
2021
2021
 
2022
2022
  var UPDATES_LAST_INDEX_WRONG = (function () {
2023
2023
  var re1 = /a/;
@@ -2038,7 +2038,7 @@ if (PATCH) {
2038
2038
  patchedExec = function exec(string) {
2039
2039
  var re = this;
2040
2040
  var state = getInternalState$1(re);
2041
- var str = toString$f(string);
2041
+ var str = toString$h(string);
2042
2042
  var raw = state.raw;
2043
2043
  var result, reCopy, lastIndex, match, i, object, group;
2044
2044
 
@@ -2062,7 +2062,7 @@ if (PATCH) {
2062
2062
  flags += 'g';
2063
2063
  }
2064
2064
 
2065
- strCopy = stringSlice$7(str, re.lastIndex);
2065
+ strCopy = stringSlice$8(str, re.lastIndex);
2066
2066
  // Support anchored sticky behavior.
2067
2067
  if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$6(str, re.lastIndex - 1) !== '\n')) {
2068
2068
  source = '(?: ' + source + ')';
@@ -2083,8 +2083,8 @@ if (PATCH) {
2083
2083
 
2084
2084
  if (sticky) {
2085
2085
  if (match) {
2086
- match.input = stringSlice$7(match.input, charsAdded);
2087
- match[0] = stringSlice$7(match[0], charsAdded);
2086
+ match.input = stringSlice$8(match.input, charsAdded);
2087
+ match[0] = stringSlice$8(match[0], charsAdded);
2088
2088
  match.index = re.lastIndex;
2089
2089
  re.lastIndex += match[0].length;
2090
2090
  } else re.lastIndex = 0;
@@ -2115,22 +2115,22 @@ if (PATCH) {
2115
2115
 
2116
2116
  var regexpExec$2 = patchedExec;
2117
2117
 
2118
- var $$C = _export;
2118
+ var $$D = _export;
2119
2119
  var exec$6 = regexpExec$2;
2120
2120
 
2121
2121
  // `RegExp.prototype.exec` method
2122
2122
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
2123
- $$C({ target: 'RegExp', proto: true, forced: /./.exec !== exec$6 }, {
2123
+ $$D({ target: 'RegExp', proto: true, forced: /./.exec !== exec$6 }, {
2124
2124
  exec: exec$6
2125
2125
  });
2126
2126
 
2127
2127
  // TODO: Remove from `core-js@4` since it's moved to entry points
2128
2128
 
2129
- var $$B = _export;
2129
+ var $$C = _export;
2130
2130
  var call$l = functionCall;
2131
2131
  var isCallable$c = isCallable$s;
2132
2132
  var anObject$m = anObject$s;
2133
- var toString$e = toString$h;
2133
+ var toString$g = toString$j;
2134
2134
 
2135
2135
  var DELEGATES_TO_EXEC = function () {
2136
2136
  var execCalled = false;
@@ -2146,10 +2146,10 @@ var nativeTest = /./.test;
2146
2146
 
2147
2147
  // `RegExp.prototype.test` method
2148
2148
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
2149
- $$B({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
2149
+ $$C({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
2150
2150
  test: function (S) {
2151
2151
  var R = anObject$m(this);
2152
- var string = toString$e(S);
2152
+ var string = toString$g(S);
2153
2153
  var exec = R.exec;
2154
2154
  if (!isCallable$c(exec)) return call$l(nativeTest, R, string);
2155
2155
  var result = call$l(exec, R, string);
@@ -2175,7 +2175,7 @@ var regexpGetFlags = function (R) {
2175
2175
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
2176
2176
  var defineBuiltIn$5 = defineBuiltIn$9;
2177
2177
  var anObject$l = anObject$s;
2178
- var $toString = toString$h;
2178
+ var $toString = toString$j;
2179
2179
  var fails$g = fails$w;
2180
2180
  var getRegExpFlags$1 = regexpGetFlags;
2181
2181
 
@@ -2198,14 +2198,14 @@ if (NOT_GENERIC || INCORRECT_NAME) {
2198
2198
  }, { unsafe: true });
2199
2199
  }
2200
2200
 
2201
- var $$A = _export;
2202
- var uncurryThis$l = functionUncurryThis;
2203
- var requireObjectCoercible$8 = requireObjectCoercible$c;
2204
- var toIntegerOrInfinity$4 = toIntegerOrInfinity$8;
2205
- var toString$d = toString$h;
2201
+ var $$B = _export;
2202
+ var uncurryThis$m = functionUncurryThis;
2203
+ var requireObjectCoercible$a = requireObjectCoercible$e;
2204
+ var toIntegerOrInfinity$5 = toIntegerOrInfinity$9;
2205
+ var toString$f = toString$j;
2206
2206
  var fails$f = fails$w;
2207
2207
 
2208
- var charAt$5 = uncurryThis$l(''.charAt);
2208
+ var charAt$5 = uncurryThis$m(''.charAt);
2209
2209
 
2210
2210
  var FORCED$4 = fails$f(function () {
2211
2211
  // eslint-disable-next-line es/no-array-string-prototype-at -- safe
@@ -2214,11 +2214,11 @@ var FORCED$4 = fails$f(function () {
2214
2214
 
2215
2215
  // `String.prototype.at` method
2216
2216
  // https://tc39.es/ecma262/#sec-string.prototype.at
2217
- $$A({ target: 'String', proto: true, forced: FORCED$4 }, {
2217
+ $$B({ target: 'String', proto: true, forced: FORCED$4 }, {
2218
2218
  at: function at(index) {
2219
- var S = toString$d(requireObjectCoercible$8(this));
2219
+ var S = toString$f(requireObjectCoercible$a(this));
2220
2220
  var len = S.length;
2221
- var relativeIndex = toIntegerOrInfinity$4(index);
2221
+ var relativeIndex = toIntegerOrInfinity$5(index);
2222
2222
  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
2223
2223
  return (k < 0 || k >= len) ? undefined : charAt$5(S, k);
2224
2224
  }
@@ -2300,19 +2300,19 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2300
2300
  if (SHAM) createNonEnumerableProperty$2(RegExpPrototype$2[SYMBOL], 'sham', true);
2301
2301
  };
2302
2302
 
2303
- var uncurryThis$k = functionUncurryThis;
2304
- var toIntegerOrInfinity$3 = toIntegerOrInfinity$8;
2305
- var toString$c = toString$h;
2306
- var requireObjectCoercible$7 = requireObjectCoercible$c;
2303
+ var uncurryThis$l = functionUncurryThis;
2304
+ var toIntegerOrInfinity$4 = toIntegerOrInfinity$9;
2305
+ var toString$e = toString$j;
2306
+ var requireObjectCoercible$9 = requireObjectCoercible$e;
2307
2307
 
2308
- var charAt$4 = uncurryThis$k(''.charAt);
2309
- var charCodeAt$1 = uncurryThis$k(''.charCodeAt);
2310
- var stringSlice$6 = uncurryThis$k(''.slice);
2308
+ var charAt$4 = uncurryThis$l(''.charAt);
2309
+ var charCodeAt$1 = uncurryThis$l(''.charCodeAt);
2310
+ var stringSlice$7 = uncurryThis$l(''.slice);
2311
2311
 
2312
- var createMethod$2 = function (CONVERT_TO_STRING) {
2312
+ var createMethod$3 = function (CONVERT_TO_STRING) {
2313
2313
  return function ($this, pos) {
2314
- var S = toString$c(requireObjectCoercible$7($this));
2315
- var position = toIntegerOrInfinity$3(pos);
2314
+ var S = toString$e(requireObjectCoercible$9($this));
2315
+ var position = toIntegerOrInfinity$4(pos);
2316
2316
  var size = S.length;
2317
2317
  var first, second;
2318
2318
  if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
@@ -2323,7 +2323,7 @@ var createMethod$2 = function (CONVERT_TO_STRING) {
2323
2323
  ? charAt$4(S, position)
2324
2324
  : first
2325
2325
  : CONVERT_TO_STRING
2326
- ? stringSlice$6(S, position, position + 2)
2326
+ ? stringSlice$7(S, position, position + 2)
2327
2327
  : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
2328
2328
  };
2329
2329
  };
@@ -2331,7 +2331,7 @@ var createMethod$2 = function (CONVERT_TO_STRING) {
2331
2331
  var stringMultibyte = {
2332
2332
  // `String.prototype.at` method
2333
2333
  // https://github.com/mathiasbynens/String.prototype.at
2334
- charAt: createMethod$2(true)
2334
+ charAt: createMethod$3(true)
2335
2335
  };
2336
2336
 
2337
2337
  var charAt$3 = stringMultibyte.charAt;
@@ -2342,13 +2342,13 @@ var advanceStringIndex$3 = function (S, index, unicode) {
2342
2342
  return index + (unicode ? charAt$3(S, index).length : 1);
2343
2343
  };
2344
2344
 
2345
- var uncurryThis$j = functionUncurryThis;
2345
+ var uncurryThis$k = functionUncurryThis;
2346
2346
  var toObject$4 = toObject$9;
2347
2347
 
2348
2348
  var floor = Math.floor;
2349
- var charAt$2 = uncurryThis$j(''.charAt);
2350
- var replace$4 = uncurryThis$j(''.replace);
2351
- var stringSlice$5 = uncurryThis$j(''.slice);
2349
+ var charAt$2 = uncurryThis$k(''.charAt);
2350
+ var replace$4 = uncurryThis$k(''.replace);
2351
+ var stringSlice$6 = uncurryThis$k(''.slice);
2352
2352
  // eslint-disable-next-line redos/no-vulnerable -- safe
2353
2353
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
2354
2354
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -2368,10 +2368,10 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2368
2368
  switch (charAt$2(ch, 0)) {
2369
2369
  case '$': return '$';
2370
2370
  case '&': return matched;
2371
- case '`': return stringSlice$5(str, 0, position);
2372
- case "'": return stringSlice$5(str, tailPos);
2371
+ case '`': return stringSlice$6(str, 0, position);
2372
+ case "'": return stringSlice$6(str, tailPos);
2373
2373
  case '<':
2374
- capture = namedCaptures[stringSlice$5(ch, 1, -1)];
2374
+ capture = namedCaptures[stringSlice$6(ch, 1, -1)];
2375
2375
  break;
2376
2376
  default: // \d\d?
2377
2377
  var n = +ch;
@@ -2411,16 +2411,16 @@ var regexpExecAbstract = function (R, S) {
2411
2411
 
2412
2412
  var apply$2 = functionApply;
2413
2413
  var call$h = functionCall;
2414
- var uncurryThis$i = functionUncurryThis;
2414
+ var uncurryThis$j = functionUncurryThis;
2415
2415
  var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
2416
2416
  var fails$d = fails$w;
2417
2417
  var anObject$j = anObject$s;
2418
2418
  var isCallable$a = isCallable$s;
2419
2419
  var isNullOrUndefined$4 = isNullOrUndefined$7;
2420
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$8;
2421
- var toLength$4 = toLength$6;
2422
- var toString$b = toString$h;
2423
- var requireObjectCoercible$6 = requireObjectCoercible$c;
2420
+ var toIntegerOrInfinity$3 = toIntegerOrInfinity$9;
2421
+ var toLength$5 = toLength$7;
2422
+ var toString$d = toString$j;
2423
+ var requireObjectCoercible$8 = requireObjectCoercible$e;
2424
2424
  var advanceStringIndex$2 = advanceStringIndex$3;
2425
2425
  var getMethod$5 = getMethod$7;
2426
2426
  var getSubstitution = getSubstitution$1;
@@ -2430,10 +2430,10 @@ var wellKnownSymbol$c = wellKnownSymbol$m;
2430
2430
  var REPLACE = wellKnownSymbol$c('replace');
2431
2431
  var max$1 = Math.max;
2432
2432
  var min$3 = Math.min;
2433
- var concat = uncurryThis$i([].concat);
2434
- var push$3 = uncurryThis$i([].push);
2435
- var stringIndexOf$2 = uncurryThis$i(''.indexOf);
2436
- var stringSlice$4 = uncurryThis$i(''.slice);
2433
+ var concat = uncurryThis$j([].concat);
2434
+ var push$3 = uncurryThis$j([].push);
2435
+ var stringIndexOf$2 = uncurryThis$j(''.indexOf);
2436
+ var stringSlice$5 = uncurryThis$j(''.slice);
2437
2437
 
2438
2438
  var maybeToString = function (it) {
2439
2439
  return it === undefined ? it : String(it);
@@ -2473,17 +2473,17 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
2473
2473
  // `String.prototype.replace` method
2474
2474
  // https://tc39.es/ecma262/#sec-string.prototype.replace
2475
2475
  function replace(searchValue, replaceValue) {
2476
- var O = requireObjectCoercible$6(this);
2476
+ var O = requireObjectCoercible$8(this);
2477
2477
  var replacer = isNullOrUndefined$4(searchValue) ? undefined : getMethod$5(searchValue, REPLACE);
2478
2478
  return replacer
2479
2479
  ? call$h(replacer, searchValue, O, replaceValue)
2480
- : call$h(nativeReplace, toString$b(O), searchValue, replaceValue);
2480
+ : call$h(nativeReplace, toString$d(O), searchValue, replaceValue);
2481
2481
  },
2482
2482
  // `RegExp.prototype[@@replace]` method
2483
2483
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2484
2484
  function (string, replaceValue) {
2485
2485
  var rx = anObject$j(this);
2486
- var S = toString$b(string);
2486
+ var S = toString$d(string);
2487
2487
 
2488
2488
  if (
2489
2489
  typeof replaceValue == 'string' &&
@@ -2495,7 +2495,7 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
2495
2495
  }
2496
2496
 
2497
2497
  var functionalReplace = isCallable$a(replaceValue);
2498
- if (!functionalReplace) replaceValue = toString$b(replaceValue);
2498
+ if (!functionalReplace) replaceValue = toString$d(replaceValue);
2499
2499
 
2500
2500
  var global = rx.global;
2501
2501
  var fullUnicode;
@@ -2513,8 +2513,8 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
2513
2513
  push$3(results, result);
2514
2514
  if (!global) break;
2515
2515
 
2516
- var matchStr = toString$b(result[0]);
2517
- if (matchStr === '') rx.lastIndex = advanceStringIndex$2(S, toLength$4(rx.lastIndex), fullUnicode);
2516
+ var matchStr = toString$d(result[0]);
2517
+ if (matchStr === '') rx.lastIndex = advanceStringIndex$2(S, toLength$5(rx.lastIndex), fullUnicode);
2518
2518
  }
2519
2519
 
2520
2520
  var accumulatedResult = '';
@@ -2522,8 +2522,8 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
2522
2522
  for (var i = 0; i < results.length; i++) {
2523
2523
  result = results[i];
2524
2524
 
2525
- var matched = toString$b(result[0]);
2526
- var position = max$1(min$3(toIntegerOrInfinity$2(result.index), S.length), 0);
2525
+ var matched = toString$d(result[0]);
2526
+ var position = max$1(min$3(toIntegerOrInfinity$3(result.index), S.length), 0);
2527
2527
  var captures = [];
2528
2528
  var replacement;
2529
2529
  // NOTE: This is equivalent to
@@ -2536,29 +2536,29 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
2536
2536
  if (functionalReplace) {
2537
2537
  var replacerArgs = concat([matched], captures, position, S);
2538
2538
  if (namedCaptures !== undefined) push$3(replacerArgs, namedCaptures);
2539
- replacement = toString$b(apply$2(replaceValue, undefined, replacerArgs));
2539
+ replacement = toString$d(apply$2(replaceValue, undefined, replacerArgs));
2540
2540
  } else {
2541
2541
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
2542
2542
  }
2543
2543
  if (position >= nextSourcePosition) {
2544
- accumulatedResult += stringSlice$4(S, nextSourcePosition, position) + replacement;
2544
+ accumulatedResult += stringSlice$5(S, nextSourcePosition, position) + replacement;
2545
2545
  nextSourcePosition = position + matched.length;
2546
2546
  }
2547
2547
  }
2548
2548
 
2549
- return accumulatedResult + stringSlice$4(S, nextSourcePosition);
2549
+ return accumulatedResult + stringSlice$5(S, nextSourcePosition);
2550
2550
  }
2551
2551
  ];
2552
2552
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
2553
2553
 
2554
2554
  var classofRaw = classofRaw$2;
2555
- var uncurryThis$h = functionUncurryThis;
2555
+ var uncurryThis$i = functionUncurryThis;
2556
2556
 
2557
2557
  var functionUncurryThisClause = function (fn) {
2558
2558
  // Nashorn bug:
2559
2559
  // https://github.com/zloirock/core-js/issues/1128
2560
2560
  // https://github.com/zloirock/core-js/issues/1130
2561
- if (classofRaw(fn) === 'Function') return uncurryThis$h(fn);
2561
+ if (classofRaw(fn) === 'Function') return uncurryThis$i(fn);
2562
2562
  };
2563
2563
 
2564
2564
  var isObject$4 = isObject$f;
@@ -2600,16 +2600,16 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
2600
2600
  } return false;
2601
2601
  };
2602
2602
 
2603
- var $$z = _export;
2604
- var uncurryThis$g = functionUncurryThisClause;
2603
+ var $$A = _export;
2604
+ var uncurryThis$h = functionUncurryThisClause;
2605
2605
  var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f;
2606
- var toLength$3 = toLength$6;
2607
- var toString$a = toString$h;
2606
+ var toLength$4 = toLength$7;
2607
+ var toString$c = toString$j;
2608
2608
  var notARegExp$2 = notARegexp;
2609
- var requireObjectCoercible$5 = requireObjectCoercible$c;
2609
+ var requireObjectCoercible$7 = requireObjectCoercible$e;
2610
2610
  var correctIsRegExpLogic$2 = correctIsRegexpLogic;
2611
2611
 
2612
- var stringSlice$3 = uncurryThis$g(''.slice);
2612
+ var stringSlice$4 = uncurryThis$h(''.slice);
2613
2613
  var min$2 = Math.min;
2614
2614
 
2615
2615
  var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$2('startsWith');
@@ -2621,13 +2621,13 @@ var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
2621
2621
 
2622
2622
  // `String.prototype.startsWith` method
2623
2623
  // https://tc39.es/ecma262/#sec-string.prototype.startswith
2624
- $$z({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
2624
+ $$A({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
2625
2625
  startsWith: function startsWith(searchString /* , position = 0 */) {
2626
- var that = toString$a(requireObjectCoercible$5(this));
2626
+ var that = toString$c(requireObjectCoercible$7(this));
2627
2627
  notARegExp$2(searchString);
2628
- var index = toLength$3(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
2629
- var search = toString$a(searchString);
2630
- return stringSlice$3(that, index, index + search.length) === search;
2628
+ var index = toLength$4(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
2629
+ var search = toString$c(searchString);
2630
+ return stringSlice$4(that, index, index + search.length) === search;
2631
2631
  }
2632
2632
  });
2633
2633
 
@@ -2658,7 +2658,7 @@ var createProperty$3 = function (object, key, value) {
2658
2658
  else object[key] = value;
2659
2659
  };
2660
2660
 
2661
- var $$y = _export;
2661
+ var $$z = _export;
2662
2662
  var global$c = global$r;
2663
2663
  var anInstance$1 = anInstance$2;
2664
2664
  var anObject$i = anObject$s;
@@ -2717,15 +2717,15 @@ IteratorConstructor.prototype = IteratorPrototype$1;
2717
2717
 
2718
2718
  // `Iterator` constructor
2719
2719
  // https://github.com/tc39/proposal-iterator-helpers
2720
- $$y({ global: true, constructor: true, forced: FORCED$3 }, {
2720
+ $$z({ global: true, constructor: true, forced: FORCED$3 }, {
2721
2721
  Iterator: IteratorConstructor
2722
2722
  });
2723
2723
 
2724
- var uncurryThis$f = functionUncurryThisClause;
2724
+ var uncurryThis$g = functionUncurryThisClause;
2725
2725
  var aCallable$g = aCallable$j;
2726
2726
  var NATIVE_BIND = functionBindNative;
2727
2727
 
2728
- var bind$5 = uncurryThis$f(uncurryThis$f.bind);
2728
+ var bind$5 = uncurryThis$g(uncurryThis$g.bind);
2729
2729
 
2730
2730
  // optional / simple context binding
2731
2731
  var functionBindContext = function (fn, that) {
@@ -2877,7 +2877,7 @@ var getIteratorDirect$a = function (obj) {
2877
2877
  };
2878
2878
  };
2879
2879
 
2880
- var $$x = _export;
2880
+ var $$y = _export;
2881
2881
  var iterate$9 = iterate$a;
2882
2882
  var aCallable$e = aCallable$j;
2883
2883
  var anObject$e = anObject$s;
@@ -2885,7 +2885,7 @@ var getIteratorDirect$9 = getIteratorDirect$a;
2885
2885
 
2886
2886
  // `Iterator.prototype.find` method
2887
2887
  // https://github.com/tc39/proposal-iterator-helpers
2888
- $$x({ target: 'Iterator', proto: true, real: true }, {
2888
+ $$y({ target: 'Iterator', proto: true, real: true }, {
2889
2889
  find: function find(predicate) {
2890
2890
  anObject$e(this);
2891
2891
  aCallable$e(predicate);
@@ -2897,7 +2897,7 @@ $$x({ target: 'Iterator', proto: true, real: true }, {
2897
2897
  }
2898
2898
  });
2899
2899
 
2900
- var $$w = _export;
2900
+ var $$x = _export;
2901
2901
  var iterate$8 = iterate$a;
2902
2902
  var aCallable$d = aCallable$j;
2903
2903
  var anObject$d = anObject$s;
@@ -2905,7 +2905,7 @@ var getIteratorDirect$8 = getIteratorDirect$a;
2905
2905
 
2906
2906
  // `Iterator.prototype.forEach` method
2907
2907
  // https://github.com/tc39/proposal-iterator-helpers
2908
- $$w({ target: 'Iterator', proto: true, real: true }, {
2908
+ $$x({ target: 'Iterator', proto: true, real: true }, {
2909
2909
  forEach: function forEach(fn) {
2910
2910
  anObject$d(this);
2911
2911
  aCallable$d(fn);
@@ -3036,13 +3036,13 @@ var iteratorMap = function map(mapper) {
3036
3036
  });
3037
3037
  };
3038
3038
 
3039
- var $$v = _export;
3039
+ var $$w = _export;
3040
3040
  var map = iteratorMap;
3041
3041
  var IS_PURE$2 = isPure;
3042
3042
 
3043
3043
  // `Iterator.prototype.map` method
3044
3044
  // https://github.com/tc39/proposal-iterator-helpers
3045
- $$v({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$2 }, {
3045
+ $$w({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$2 }, {
3046
3046
  map: map
3047
3047
  });
3048
3048
 
@@ -3177,7 +3177,6 @@ const checkFieldValidity = props => {
3177
3177
  errors: ajvErrors,
3178
3178
  required,
3179
3179
  label,
3180
- uischema,
3181
3180
  schema
3182
3181
  } = props;
3183
3182
  const labelToUpdate = label;
@@ -3259,7 +3258,7 @@ const convertToSentenceCase = input => {
3259
3258
  return firstWord.concat(newWords).join(' ');
3260
3259
  };
3261
3260
 
3262
- var $$u = _export;
3261
+ var $$v = _export;
3263
3262
  var call$b = functionCall;
3264
3263
  var aCallable$b = aCallable$j;
3265
3264
  var anObject$a = anObject$s;
@@ -3284,7 +3283,7 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
3284
3283
 
3285
3284
  // `Iterator.prototype.filter` method
3286
3285
  // https://github.com/tc39/proposal-iterator-helpers
3287
- $$u({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
3286
+ $$v({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
3288
3287
  filter: function filter(predicate) {
3289
3288
  anObject$a(this);
3290
3289
  aCallable$b(predicate);
@@ -3561,7 +3560,8 @@ styled.div(_t$c || (_t$c = _$b`
3561
3560
  `));
3562
3561
  const Visible = styled.div(_t2$7 || (_t2$7 = _$b`
3563
3562
  display: ${0};
3564
- `), p => p.visible ? 'initial' : 'none');
3563
+ width: 100%;
3564
+ `), p => p.visible ? 'block' : 'none');
3565
3565
 
3566
3566
  const ADD_REGISTER_DATA_ACTION = 'jsonforms/register/data/add';
3567
3567
  const ADD_NO_ANONYMOUS_ACTION = 'jsonforms/register/no_anonymous';
@@ -3612,7 +3612,7 @@ var doesNotExceedSafeInteger$2 = function (it) {
3612
3612
  return it;
3613
3613
  };
3614
3614
 
3615
- var $$t = _export;
3615
+ var $$u = _export;
3616
3616
  var toObject$3 = toObject$9;
3617
3617
  var lengthOfArrayLike$5 = lengthOfArrayLike$9;
3618
3618
  var setArrayLength = arraySetLength;
@@ -3638,7 +3638,7 @@ var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
3638
3638
 
3639
3639
  // `Array.prototype.push` method
3640
3640
  // https://tc39.es/ecma262/#sec-array.prototype.push
3641
- $$t({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
3641
+ $$u({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
3642
3642
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3643
3643
  push: function push(item) {
3644
3644
  var O = toObject$3(this);
@@ -3689,7 +3689,7 @@ function registerReducer(state, action) {
3689
3689
  return state;
3690
3690
  }
3691
3691
 
3692
- var $$s = _export;
3692
+ var $$t = _export;
3693
3693
  var $includes = arrayIncludes.includes;
3694
3694
  var fails$a = fails$w;
3695
3695
  var addToUnscopables$2 = addToUnscopables$5;
@@ -3702,7 +3702,7 @@ var BROKEN_ON_SPARSE = fails$a(function () {
3702
3702
 
3703
3703
  // `Array.prototype.includes` method
3704
3704
  // https://tc39.es/ecma262/#sec-array.prototype.includes
3705
- $$s({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
3705
+ $$t({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
3706
3706
  includes: function includes(el /* , fromIndex = 0 */) {
3707
3707
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
3708
3708
  }
@@ -3711,17 +3711,17 @@ $$s({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
3711
3711
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
3712
3712
  addToUnscopables$2('includes');
3713
3713
 
3714
- var uncurryThis$e = functionUncurryThis;
3714
+ var uncurryThis$f = functionUncurryThis;
3715
3715
 
3716
- var arraySlice$2 = uncurryThis$e([].slice);
3716
+ var arraySlice$2 = uncurryThis$f([].slice);
3717
3717
 
3718
- var uncurryThis$d = functionUncurryThis;
3718
+ var uncurryThis$e = functionUncurryThis;
3719
3719
  var isArray$3 = isArray$5;
3720
3720
  var isCallable$8 = isCallable$s;
3721
3721
  var classof$3 = classofRaw$2;
3722
- var toString$9 = toString$h;
3722
+ var toString$b = toString$j;
3723
3723
 
3724
- var push$2 = uncurryThis$d([].push);
3724
+ var push$2 = uncurryThis$e([].push);
3725
3725
 
3726
3726
  var getJsonReplacerFunction = function (replacer) {
3727
3727
  if (isCallable$8(replacer)) return replacer;
@@ -3731,7 +3731,7 @@ var getJsonReplacerFunction = function (replacer) {
3731
3731
  for (var i = 0; i < rawLength; i++) {
3732
3732
  var element = replacer[i];
3733
3733
  if (typeof element == 'string') push$2(keys, element);
3734
- else if (typeof element == 'number' || classof$3(element) === 'Number' || classof$3(element) === 'String') push$2(keys, toString$9(element));
3734
+ else if (typeof element == 'number' || classof$3(element) === 'Number' || classof$3(element) === 'String') push$2(keys, toString$b(element));
3735
3735
  }
3736
3736
  var keysLength = keys.length;
3737
3737
  var root = true;
@@ -3745,11 +3745,11 @@ var getJsonReplacerFunction = function (replacer) {
3745
3745
  };
3746
3746
  };
3747
3747
 
3748
- var $$r = _export;
3748
+ var $$s = _export;
3749
3749
  var getBuiltIn$6 = getBuiltIn$b;
3750
3750
  var apply$1 = functionApply;
3751
3751
  var call$a = functionCall;
3752
- var uncurryThis$c = functionUncurryThis;
3752
+ var uncurryThis$d = functionUncurryThis;
3753
3753
  var fails$9 = fails$w;
3754
3754
  var isCallable$7 = isCallable$s;
3755
3755
  var isSymbol = isSymbol$3;
@@ -3759,11 +3759,11 @@ var NATIVE_SYMBOL$2 = symbolConstructorDetection;
3759
3759
 
3760
3760
  var $String = String;
3761
3761
  var $stringify = getBuiltIn$6('JSON', 'stringify');
3762
- var exec$5 = uncurryThis$c(/./.exec);
3763
- var charAt$1 = uncurryThis$c(''.charAt);
3764
- var charCodeAt = uncurryThis$c(''.charCodeAt);
3765
- var replace$3 = uncurryThis$c(''.replace);
3766
- var numberToString = uncurryThis$c(1.0.toString);
3762
+ var exec$5 = uncurryThis$d(/./.exec);
3763
+ var charAt$1 = uncurryThis$d(''.charAt);
3764
+ var charCodeAt = uncurryThis$d(''.charCodeAt);
3765
+ var replace$3 = uncurryThis$d(''.replace);
3766
+ var numberToString = uncurryThis$d(1.0.toString);
3767
3767
 
3768
3768
  var tester = /[\uD800-\uDFFF]/g;
3769
3769
  var low = /^[\uD800-\uDBFF]$/;
@@ -3808,7 +3808,7 @@ var fixIllFormed = function (match, offset, string) {
3808
3808
  if ($stringify) {
3809
3809
  // `JSON.stringify` method
3810
3810
  // https://tc39.es/ecma262/#sec-json.stringify
3811
- $$r({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3811
+ $$s({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3812
3812
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3813
3813
  stringify: function stringify(it, replacer, space) {
3814
3814
  var args = arraySlice$1(arguments);
@@ -3841,7 +3841,7 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
3841
3841
  }
3842
3842
  };
3843
3843
 
3844
- var uncurryThis$b = functionUncurryThis;
3844
+ var uncurryThis$c = functionUncurryThis;
3845
3845
  var fails$8 = fails$w;
3846
3846
  var isCallable$6 = isCallable$s;
3847
3847
  var classof$1 = classof$9;
@@ -3851,7 +3851,7 @@ var inspectSource$1 = inspectSource$3;
3851
3851
  var noop = function () { /* empty */ };
3852
3852
  var construct = getBuiltIn$4('Reflect', 'construct');
3853
3853
  var constructorRegExp = /^\s*(?:class|function)\b/;
3854
- var exec$4 = uncurryThis$b(constructorRegExp.exec);
3854
+ var exec$4 = uncurryThis$c(constructorRegExp.exec);
3855
3855
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
3856
3856
 
3857
3857
  var isConstructorModern = function isConstructor(argument) {
@@ -3926,10 +3926,10 @@ var validateArgumentsLength$1 = function (passed, required) {
3926
3926
  return passed;
3927
3927
  };
3928
3928
 
3929
- var userAgent$2 = engineUserAgent;
3929
+ var userAgent$3 = engineUserAgent;
3930
3930
 
3931
3931
  // eslint-disable-next-line redos/no-vulnerable -- safe
3932
- var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
3932
+ var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$3);
3933
3933
 
3934
3934
  var global$a = global$r;
3935
3935
  var apply = functionApply;
@@ -4084,13 +4084,13 @@ Queue$2.prototype = {
4084
4084
 
4085
4085
  var queue$1 = Queue$2;
4086
4086
 
4087
- var userAgent$1 = engineUserAgent;
4087
+ var userAgent$2 = engineUserAgent;
4088
4088
 
4089
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != 'undefined';
4089
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$2) && typeof Pebble != 'undefined';
4090
4090
 
4091
- var userAgent = engineUserAgent;
4091
+ var userAgent$1 = engineUserAgent;
4092
4092
 
4093
- var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
4093
+ var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent$1);
4094
4094
 
4095
4095
  var global$8 = global$r;
4096
4096
  var safeGetBuiltIn = safeGetBuiltIn$1;
@@ -4268,7 +4268,7 @@ newPromiseCapability$2.f = function (C) {
4268
4268
  return new PromiseCapability(C);
4269
4269
  };
4270
4270
 
4271
- var $$q = _export;
4271
+ var $$r = _export;
4272
4272
  var IS_NODE$1 = engineIsNode;
4273
4273
  var global$5 = global$r;
4274
4274
  var call$9 = functionCall;
@@ -4548,7 +4548,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
4548
4548
  }
4549
4549
  }
4550
4550
 
4551
- $$q({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
4551
+ $$r({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
4552
4552
  Promise: PromiseConstructor
4553
4553
  });
4554
4554
 
@@ -4604,7 +4604,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
4604
4604
  NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
4605
4605
  });
4606
4606
 
4607
- var $$p = _export;
4607
+ var $$q = _export;
4608
4608
  var call$8 = functionCall;
4609
4609
  var aCallable$8 = aCallable$j;
4610
4610
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
@@ -4614,7 +4614,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
4614
4614
 
4615
4615
  // `Promise.all` method
4616
4616
  // https://tc39.es/ecma262/#sec-promise.all
4617
- $$p({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
4617
+ $$q({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
4618
4618
  all: function all(iterable) {
4619
4619
  var C = this;
4620
4620
  var capability = newPromiseCapabilityModule$2.f(C);
@@ -4643,7 +4643,7 @@ $$p({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
4643
4643
  }
4644
4644
  });
4645
4645
 
4646
- var $$o = _export;
4646
+ var $$p = _export;
4647
4647
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
4648
4648
  var NativePromiseConstructor = promiseNativeConstructor;
4649
4649
  var getBuiltIn$3 = getBuiltIn$b;
@@ -4654,7 +4654,7 @@ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructo
4654
4654
 
4655
4655
  // `Promise.prototype.catch` method
4656
4656
  // https://tc39.es/ecma262/#sec-promise.prototype.catch
4657
- $$o({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
4657
+ $$p({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
4658
4658
  'catch': function (onRejected) {
4659
4659
  return this.then(undefined, onRejected);
4660
4660
  }
@@ -4668,7 +4668,7 @@ if (isCallable$2(NativePromiseConstructor)) {
4668
4668
  }
4669
4669
  }
4670
4670
 
4671
- var $$n = _export;
4671
+ var $$o = _export;
4672
4672
  var call$7 = functionCall;
4673
4673
  var aCallable$7 = aCallable$j;
4674
4674
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
@@ -4678,7 +4678,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
4678
4678
 
4679
4679
  // `Promise.race` method
4680
4680
  // https://tc39.es/ecma262/#sec-promise.race
4681
- $$n({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
4681
+ $$o({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
4682
4682
  race: function race(iterable) {
4683
4683
  var C = this;
4684
4684
  var capability = newPromiseCapabilityModule$1.f(C);
@@ -4694,13 +4694,13 @@ $$n({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
4694
4694
  }
4695
4695
  });
4696
4696
 
4697
- var $$m = _export;
4697
+ var $$n = _export;
4698
4698
  var newPromiseCapabilityModule = newPromiseCapability$2;
4699
4699
  var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
4700
4700
 
4701
4701
  // `Promise.reject` method
4702
4702
  // https://tc39.es/ecma262/#sec-promise.reject
4703
- $$m({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
4703
+ $$n({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
4704
4704
  reject: function reject(r) {
4705
4705
  var capability = newPromiseCapabilityModule.f(this);
4706
4706
  var capabilityReject = capability.reject;
@@ -4722,7 +4722,7 @@ var promiseResolve$1 = function (C, x) {
4722
4722
  return promiseCapability.promise;
4723
4723
  };
4724
4724
 
4725
- var $$l = _export;
4725
+ var $$m = _export;
4726
4726
  var getBuiltIn$2 = getBuiltIn$b;
4727
4727
  var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
4728
4728
  var promiseResolve = promiseResolve$1;
@@ -4731,34 +4731,34 @@ getBuiltIn$2('Promise');
4731
4731
 
4732
4732
  // `Promise.resolve` method
4733
4733
  // https://tc39.es/ecma262/#sec-promise.resolve
4734
- $$l({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
4734
+ $$m({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
4735
4735
  resolve: function resolve(x) {
4736
4736
  return promiseResolve(this, x);
4737
4737
  }
4738
4738
  });
4739
4739
 
4740
- var $$k = _export;
4741
- var uncurryThis$a = functionUncurryThis;
4740
+ var $$l = _export;
4741
+ var uncurryThis$b = functionUncurryThis;
4742
4742
  var notARegExp$1 = notARegexp;
4743
- var requireObjectCoercible$4 = requireObjectCoercible$c;
4744
- var toString$8 = toString$h;
4743
+ var requireObjectCoercible$6 = requireObjectCoercible$e;
4744
+ var toString$a = toString$j;
4745
4745
  var correctIsRegExpLogic$1 = correctIsRegexpLogic;
4746
4746
 
4747
- var stringIndexOf$1 = uncurryThis$a(''.indexOf);
4747
+ var stringIndexOf$1 = uncurryThis$b(''.indexOf);
4748
4748
 
4749
4749
  // `String.prototype.includes` method
4750
4750
  // https://tc39.es/ecma262/#sec-string.prototype.includes
4751
- $$k({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
4751
+ $$l({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
4752
4752
  includes: function includes(searchString /* , position = 0 */) {
4753
4753
  return !!~stringIndexOf$1(
4754
- toString$8(requireObjectCoercible$4(this)),
4755
- toString$8(notARegExp$1(searchString)),
4754
+ toString$a(requireObjectCoercible$6(this)),
4755
+ toString$a(notARegExp$1(searchString)),
4756
4756
  arguments.length > 1 ? arguments[1] : undefined
4757
4757
  );
4758
4758
  }
4759
4759
  });
4760
4760
 
4761
- var $$j = _export;
4761
+ var $$k = _export;
4762
4762
  var iterate$5 = iterate$a;
4763
4763
  var aCallable$6 = aCallable$j;
4764
4764
  var anObject$7 = anObject$s;
@@ -4766,7 +4766,7 @@ var getIteratorDirect$5 = getIteratorDirect$a;
4766
4766
 
4767
4767
  // `Iterator.prototype.some` method
4768
4768
  // https://github.com/tc39/proposal-iterator-helpers
4769
- $$j({ target: 'Iterator', proto: true, real: true }, {
4769
+ $$k({ target: 'Iterator', proto: true, real: true }, {
4770
4770
  some: function some(predicate) {
4771
4771
  anObject$7(this);
4772
4772
  aCallable$6(predicate);
@@ -4780,7 +4780,7 @@ $$j({ target: 'Iterator', proto: true, real: true }, {
4780
4780
 
4781
4781
  var DESCRIPTORS$3 = descriptors;
4782
4782
  var global$4 = global$r;
4783
- var uncurryThis$9 = functionUncurryThis;
4783
+ var uncurryThis$a = functionUncurryThis;
4784
4784
  var isForced = isForced_1;
4785
4785
  var inheritIfRequired = inheritIfRequired$2;
4786
4786
  var createNonEnumerableProperty = createNonEnumerableProperty$a;
@@ -4788,7 +4788,7 @@ var create = objectCreate;
4788
4788
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
4789
4789
  var isPrototypeOf$1 = objectIsPrototypeOf;
4790
4790
  var isRegExp = isRegexp;
4791
- var toString$7 = toString$h;
4791
+ var toString$9 = toString$j;
4792
4792
  var getRegExpFlags = regexpGetFlags;
4793
4793
  var stickyHelpers$1 = regexpStickyHelpers;
4794
4794
  var proxyAccessor = proxyAccessor$2;
@@ -4805,11 +4805,11 @@ var MATCH = wellKnownSymbol$1('match');
4805
4805
  var NativeRegExp = global$4.RegExp;
4806
4806
  var RegExpPrototype$1 = NativeRegExp.prototype;
4807
4807
  var SyntaxError$2 = global$4.SyntaxError;
4808
- var exec$3 = uncurryThis$9(RegExpPrototype$1.exec);
4809
- var charAt = uncurryThis$9(''.charAt);
4810
- var replace$2 = uncurryThis$9(''.replace);
4811
- var stringIndexOf = uncurryThis$9(''.indexOf);
4812
- var stringSlice$2 = uncurryThis$9(''.slice);
4808
+ var exec$3 = uncurryThis$a(RegExpPrototype$1.exec);
4809
+ var charAt = uncurryThis$a(''.charAt);
4810
+ var replace$2 = uncurryThis$a(''.replace);
4811
+ var stringIndexOf = uncurryThis$a(''.indexOf);
4812
+ var stringSlice$3 = uncurryThis$a(''.slice);
4813
4813
  // TODO: Use only proper RegExpIdentifierName
4814
4814
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
4815
4815
  var re1 = /a/g;
@@ -4874,7 +4874,7 @@ var handleNCG = function (string) {
4874
4874
  brackets = true;
4875
4875
  break;
4876
4876
  case chr === '(':
4877
- if (exec$3(IS_NCG, stringSlice$2(string, index + 1))) {
4877
+ if (exec$3(IS_NCG, stringSlice$3(string, index + 1))) {
4878
4878
  index += 2;
4879
4879
  ncg = true;
4880
4880
  }
@@ -4916,8 +4916,8 @@ if (isForced('RegExp', BASE_FORCED)) {
4916
4916
  if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
4917
4917
  }
4918
4918
 
4919
- pattern = pattern === undefined ? '' : toString$7(pattern);
4920
- flags = flags === undefined ? '' : toString$7(flags);
4919
+ pattern = pattern === undefined ? '' : toString$9(pattern);
4920
+ flags = flags === undefined ? '' : toString$9(flags);
4921
4921
  rawPattern = pattern;
4922
4922
 
4923
4923
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
@@ -5189,16 +5189,21 @@ let _$a = t => t,
5189
5189
  _t5$4,
5190
5190
  _t6$3,
5191
5191
  _t7$2,
5192
- _t8$2;
5192
+ _t8$2,
5193
+ _t9$2,
5194
+ _t0$2,
5195
+ _t1$2,
5196
+ _t10$2;
5193
5197
  const FormFieldWrapper = styled.div(_t$b || (_t$b = _$a`
5194
5198
  margin-bottom: var(--goa-space-l);
5195
5199
  `));
5196
5200
  const WarningIconDiv = styled.div(_t2$6 || (_t2$6 = _$a`
5197
- display: inline-flex;
5201
+ display: flex;
5198
5202
  align-items: flex-start;
5199
- gap: 0.25rem;
5200
- font-size: var(--goa-font-size-2);
5201
- color: var(--goa-color-interactive-error);
5203
+ gap: var(--goa-space-2xs);
5204
+ font: var(--goa-form-item-message-typography);
5205
+ color: var(--goa-form-item-error-message-color);
5206
+ margin-top: var(--goa-form-item-message-margin-top);
5202
5207
  `));
5203
5208
  const RequiredTextLabel = styled.label(_t3$5 || (_t3$5 = _$a`
5204
5209
  color: var(--goa-color-greyscale-700);
@@ -5219,15 +5224,39 @@ const PageReviewValueCol = styled.td(_t5$4 || (_t5$4 = _$a`
5219
5224
  text-align: left;
5220
5225
  vertical-align: top;
5221
5226
  `));
5227
+ const PageReviewContainer = styled.td(_t6$3 || (_t6$3 = _$a`
5228
+ padding: 12px 0px;
5229
+ border-bottom: 1px solid #ccc;
5230
+ width: 100%;
5231
+ vertical-align: top;
5232
+ `));
5233
+ const ReviewHeader = styled.div(_t7$2 || (_t7$2 = _$a`
5234
+ display: flex;
5235
+ justify-content: space-between;
5236
+ align-items: center;
5237
+ width: 100%;
5238
+ `));
5239
+ const ReviewLabel = styled.div(_t8$2 || (_t8$2 = _$a`
5240
+ font-weight: var(--goa-font-weight-bold);
5241
+ font-size: var(--goa-font-size-4);
5242
+ line-height: var(--goa-line-height-3);
5243
+ color: var(--goa-color-text-default);
5244
+ `));
5245
+ const ReviewValue = styled.div(_t9$2 || (_t9$2 = _$a`
5246
+ margin-top: var(--goa-space-m);
5247
+ color: var(--goa-color-text-default);
5248
+ font-size: var(--goa-font-size-4);
5249
+ line-height: var(--goa-line-height-3);
5250
+ `));
5222
5251
  //Check and unchecked are different heights otherwise
5223
- const CheckboxWrapper = styled.div(_t6$3 || (_t6$3 = _$a`
5252
+ const CheckboxWrapper = styled.div(_t0$2 || (_t0$2 = _$a`
5224
5253
  min-height: 28px;
5225
5254
  `));
5226
- styled.h4(_t7$2 || (_t7$2 = _$a`
5255
+ styled.h4(_t1$2 || (_t1$2 = _$a`
5227
5256
  margin: 0 0 0.25rem 0;
5228
5257
  fontsize: larger;
5229
5258
  `));
5230
- styled.h4(_t8$2 || (_t8$2 = _$a`
5259
+ styled.h4(_t10$2 || (_t10$2 = _$a`
5231
5260
  border-bottom: 1px solid #ddd;
5232
5261
  `));
5233
5262
 
@@ -5241,7 +5270,7 @@ var $TypeError$2 = TypeError;
5241
5270
  var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
5242
5271
 
5243
5272
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
5244
- var createMethod$1 = function (IS_RIGHT) {
5273
+ var createMethod$2 = function (IS_RIGHT) {
5245
5274
  return function (that, callbackfn, argumentsLength, memo) {
5246
5275
  var O = toObject$2(that);
5247
5276
  var self = IndexedObject(O);
@@ -5271,7 +5300,7 @@ var createMethod$1 = function (IS_RIGHT) {
5271
5300
  var arrayReduce = {
5272
5301
  // `Array.prototype.reduce` method
5273
5302
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
5274
- left: createMethod$1(false)};
5303
+ left: createMethod$2(false)};
5275
5304
 
5276
5305
  var fails$5 = fails$w;
5277
5306
 
@@ -5283,7 +5312,7 @@ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
5283
5312
  });
5284
5313
  };
5285
5314
 
5286
- var $$i = _export;
5315
+ var $$j = _export;
5287
5316
  var $reduce = arrayReduce.left;
5288
5317
  var arrayMethodIsStrict = arrayMethodIsStrict$1;
5289
5318
  var CHROME_VERSION = engineV8Version;
@@ -5296,14 +5325,14 @@ var FORCED$1 = CHROME_BUG || !arrayMethodIsStrict('reduce');
5296
5325
 
5297
5326
  // `Array.prototype.reduce` method
5298
5327
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
5299
- $$i({ target: 'Array', proto: true, forced: FORCED$1 }, {
5328
+ $$j({ target: 'Array', proto: true, forced: FORCED$1 }, {
5300
5329
  reduce: function reduce(callbackfn /* , initialValue */) {
5301
5330
  var length = arguments.length;
5302
5331
  return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
5303
5332
  }
5304
5333
  });
5305
5334
 
5306
- var $$h = _export;
5335
+ var $$i = _export;
5307
5336
  var iterate$4 = iterate$a;
5308
5337
  var aCallable$4 = aCallable$j;
5309
5338
  var anObject$6 = anObject$s;
@@ -5313,7 +5342,7 @@ var $TypeError$1 = TypeError;
5313
5342
 
5314
5343
  // `Iterator.prototype.reduce` method
5315
5344
  // https://github.com/tc39/proposal-iterator-helpers
5316
- $$h({ target: 'Iterator', proto: true, real: true }, {
5345
+ $$i({ target: 'Iterator', proto: true, real: true }, {
5317
5346
  reduce: function reduce(reducer /* , initialValue */) {
5318
5347
  anObject$6(this);
5319
5348
  aCallable$4(reducer);
@@ -5371,15 +5400,15 @@ const pickPropertyValues = (obj, property, endWithType) => {
5371
5400
  return values;
5372
5401
  };
5373
5402
 
5374
- var uncurryThis$8 = functionUncurryThis;
5403
+ var uncurryThis$9 = functionUncurryThis;
5375
5404
  var hasOwn$2 = hasOwnProperty_1;
5376
5405
 
5377
5406
  var $SyntaxError = SyntaxError;
5378
5407
  var $parseInt$2 = parseInt;
5379
5408
  var fromCharCode = String.fromCharCode;
5380
- var at$1 = uncurryThis$8(''.charAt);
5381
- var slice$2 = uncurryThis$8(''.slice);
5382
- var exec$2 = uncurryThis$8(/./.exec);
5409
+ var at$1 = uncurryThis$9(''.charAt);
5410
+ var slice$2 = uncurryThis$9(''.slice);
5411
+ var exec$2 = uncurryThis$9(/./.exec);
5383
5412
 
5384
5413
  var codePoints = {
5385
5414
  '\\"': '"',
@@ -5427,17 +5456,17 @@ var parseJsonString = function (source, i) {
5427
5456
  return { value: value, end: i };
5428
5457
  };
5429
5458
 
5430
- var $$g = _export;
5459
+ var $$h = _export;
5431
5460
  var DESCRIPTORS$1 = descriptors;
5432
5461
  var global$3 = global$r;
5433
5462
  var getBuiltIn$1 = getBuiltIn$b;
5434
- var uncurryThis$7 = functionUncurryThis;
5463
+ var uncurryThis$8 = functionUncurryThis;
5435
5464
  var call$6 = functionCall;
5436
5465
  var isCallable$1 = isCallable$s;
5437
5466
  var isObject$1 = isObject$f;
5438
5467
  var isArray$2 = isArray$5;
5439
5468
  var hasOwn$1 = hasOwnProperty_1;
5440
- var toString$6 = toString$h;
5469
+ var toString$8 = toString$j;
5441
5470
  var lengthOfArrayLike$3 = lengthOfArrayLike$9;
5442
5471
  var createProperty$1 = createProperty$3;
5443
5472
  var fails$4 = fails$w;
@@ -5451,10 +5480,10 @@ var nativeParse = JSON$1 && JSON$1.parse;
5451
5480
  var enumerableOwnProperties = getBuiltIn$1('Object', 'keys');
5452
5481
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5453
5482
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
5454
- var at = uncurryThis$7(''.charAt);
5455
- var slice$1 = uncurryThis$7(''.slice);
5456
- var exec$1 = uncurryThis$7(/./.exec);
5457
- var push$1 = uncurryThis$7([].push);
5483
+ var at = uncurryThis$8(''.charAt);
5484
+ var slice$1 = uncurryThis$8(''.slice);
5485
+ var exec$1 = uncurryThis$8(/./.exec);
5486
+ var push$1 = uncurryThis$8([].push);
5458
5487
 
5459
5488
  var IS_DIGIT = /^\d$/;
5460
5489
  var IS_NON_ZERO_DIGIT = /^[1-9]$/;
@@ -5465,7 +5494,7 @@ var PRIMITIVE = 0;
5465
5494
  var OBJECT = 1;
5466
5495
 
5467
5496
  var $parse = function (source, reviver) {
5468
- source = toString$6(source);
5497
+ source = toString$8(source);
5469
5498
  var context = new Context(source, 0);
5470
5499
  var root = context.parse();
5471
5500
  var value = root.value;
@@ -5672,13 +5701,13 @@ var PROPER_BASE_PARSE = NATIVE_SYMBOL$1 && !fails$4(function () {
5672
5701
  // `JSON.parse` method
5673
5702
  // https://tc39.es/ecma262/#sec-json.parse
5674
5703
  // https://github.com/tc39/proposal-json-parse-with-source
5675
- $$g({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, {
5704
+ $$h({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, {
5676
5705
  parse: function parse(text, reviver) {
5677
5706
  return PROPER_BASE_PARSE && !isCallable$1(reviver) ? nativeParse(text) : $parse(text, reviver);
5678
5707
  }
5679
5708
  });
5680
5709
 
5681
- var uncurryThis$6 = functionUncurryThis;
5710
+ var uncurryThis$7 = functionUncurryThis;
5682
5711
 
5683
5712
  // eslint-disable-next-line es/no-set -- safe
5684
5713
  var SetPrototype$1 = Set.prototype;
@@ -5686,9 +5715,9 @@ var SetPrototype$1 = Set.prototype;
5686
5715
  var setHelpers = {
5687
5716
  // eslint-disable-next-line es/no-set -- safe
5688
5717
  Set: Set,
5689
- add: uncurryThis$6(SetPrototype$1.add),
5690
- has: uncurryThis$6(SetPrototype$1.has),
5691
- remove: uncurryThis$6(SetPrototype$1['delete']),
5718
+ add: uncurryThis$7(SetPrototype$1.add),
5719
+ has: uncurryThis$7(SetPrototype$1.has),
5720
+ remove: uncurryThis$7(SetPrototype$1['delete']),
5692
5721
  proto: SetPrototype$1
5693
5722
  };
5694
5723
 
@@ -5712,14 +5741,14 @@ var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
5712
5741
  }
5713
5742
  };
5714
5743
 
5715
- var uncurryThis$5 = functionUncurryThis;
5744
+ var uncurryThis$6 = functionUncurryThis;
5716
5745
  var iterateSimple$6 = iterateSimple$7;
5717
5746
  var SetHelpers$5 = setHelpers;
5718
5747
 
5719
5748
  var Set$3 = SetHelpers$5.Set;
5720
5749
  var SetPrototype = SetHelpers$5.proto;
5721
- var forEach = uncurryThis$5(SetPrototype.forEach);
5722
- var keys = uncurryThis$5(SetPrototype.keys);
5750
+ var forEach = uncurryThis$6(SetPrototype.forEach);
5751
+ var keys = uncurryThis$6(SetPrototype.keys);
5723
5752
  var next = keys(new Set$3()).next;
5724
5753
 
5725
5754
  var setIterate = function (set, fn, interruptible) {
@@ -5750,11 +5779,11 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
5750
5779
  var aCallable$3 = aCallable$j;
5751
5780
  var anObject$5 = anObject$s;
5752
5781
  var call$4 = functionCall;
5753
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$8;
5782
+ var toIntegerOrInfinity$2 = toIntegerOrInfinity$9;
5754
5783
  var getIteratorDirect$3 = getIteratorDirect$a;
5755
5784
 
5756
5785
  var INVALID_SIZE = 'Invalid size';
5757
- var $RangeError = RangeError;
5786
+ var $RangeError$1 = RangeError;
5758
5787
  var $TypeError = TypeError;
5759
5788
  var max = Math.max;
5760
5789
 
@@ -5782,8 +5811,8 @@ var getSetRecord$7 = function (obj) {
5782
5811
  // NOTE: If size is undefined, then numSize will be NaN
5783
5812
  // eslint-disable-next-line no-self-compare -- NaN check
5784
5813
  if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
5785
- var intSize = toIntegerOrInfinity$1(numSize);
5786
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
5814
+ var intSize = toIntegerOrInfinity$2(numSize);
5815
+ if (intSize < 0) throw new $RangeError$1(INVALID_SIZE);
5787
5816
  return new SetRecord(obj, intSize);
5788
5817
  };
5789
5818
 
@@ -5848,13 +5877,13 @@ var setMethodAcceptSetLike$7 = function (name) {
5848
5877
  }
5849
5878
  };
5850
5879
 
5851
- var $$f = _export;
5880
+ var $$g = _export;
5852
5881
  var difference = setDifference;
5853
5882
  var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
5854
5883
 
5855
5884
  // `Set.prototype.difference` method
5856
5885
  // https://github.com/tc39/proposal-set-methods
5857
- $$f({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
5886
+ $$g({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
5858
5887
  difference: difference
5859
5888
  });
5860
5889
 
@@ -5889,7 +5918,7 @@ var setIntersection = function intersection(other) {
5889
5918
  return result;
5890
5919
  };
5891
5920
 
5892
- var $$e = _export;
5921
+ var $$f = _export;
5893
5922
  var fails$3 = fails$w;
5894
5923
  var intersection = setIntersection;
5895
5924
  var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
@@ -5901,7 +5930,7 @@ var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$3(function ()
5901
5930
 
5902
5931
  // `Set.prototype.intersection` method
5903
5932
  // https://github.com/tc39/proposal-set-methods
5904
- $$e({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
5933
+ $$f({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
5905
5934
  intersection: intersection
5906
5935
  });
5907
5936
 
@@ -5927,13 +5956,13 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
5927
5956
  }) !== false;
5928
5957
  };
5929
5958
 
5930
- var $$d = _export;
5959
+ var $$e = _export;
5931
5960
  var isDisjointFrom = setIsDisjointFrom;
5932
5961
  var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
5933
5962
 
5934
5963
  // `Set.prototype.isDisjointFrom` method
5935
5964
  // https://github.com/tc39/proposal-set-methods
5936
- $$d({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
5965
+ $$e({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
5937
5966
  isDisjointFrom: isDisjointFrom
5938
5967
  });
5939
5968
 
@@ -5953,13 +5982,13 @@ var setIsSubsetOf = function isSubsetOf(other) {
5953
5982
  }, true) !== false;
5954
5983
  };
5955
5984
 
5956
- var $$c = _export;
5985
+ var $$d = _export;
5957
5986
  var isSubsetOf = setIsSubsetOf;
5958
5987
  var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
5959
5988
 
5960
5989
  // `Set.prototype.isSubsetOf` method
5961
5990
  // https://github.com/tc39/proposal-set-methods
5962
- $$c({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
5991
+ $$d({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
5963
5992
  isSubsetOf: isSubsetOf
5964
5993
  });
5965
5994
 
@@ -5982,13 +6011,13 @@ var setIsSupersetOf = function isSupersetOf(other) {
5982
6011
  }) !== false;
5983
6012
  };
5984
6013
 
5985
- var $$b = _export;
6014
+ var $$c = _export;
5986
6015
  var isSupersetOf = setIsSupersetOf;
5987
6016
  var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
5988
6017
 
5989
6018
  // `Set.prototype.isSupersetOf` method
5990
6019
  // https://github.com/tc39/proposal-set-methods
5991
- $$b({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
6020
+ $$c({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
5992
6021
  isSupersetOf: isSupersetOf
5993
6022
  });
5994
6023
 
@@ -6015,13 +6044,13 @@ var setSymmetricDifference = function symmetricDifference(other) {
6015
6044
  return result;
6016
6045
  };
6017
6046
 
6018
- var $$a = _export;
6047
+ var $$b = _export;
6019
6048
  var symmetricDifference = setSymmetricDifference;
6020
6049
  var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
6021
6050
 
6022
6051
  // `Set.prototype.symmetricDifference` method
6023
6052
  // https://github.com/tc39/proposal-set-methods
6024
- $$a({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
6053
+ $$b({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
6025
6054
  symmetricDifference: symmetricDifference
6026
6055
  });
6027
6056
 
@@ -6043,13 +6072,13 @@ var setUnion = function union(other) {
6043
6072
  return result;
6044
6073
  };
6045
6074
 
6046
- var $$9 = _export;
6075
+ var $$a = _export;
6047
6076
  var union = setUnion;
6048
6077
  var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
6049
6078
 
6050
6079
  // `Set.prototype.union` method
6051
6080
  // https://github.com/tc39/proposal-set-methods
6052
- $$9({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
6081
+ $$a({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
6053
6082
  union: union
6054
6083
  });
6055
6084
 
@@ -6306,14 +6335,14 @@ const stepperReducer = (state, action) => {
6306
6335
  } = action.payload;
6307
6336
  ajv.validate(schema, data);
6308
6337
  const newCategories = state.categories.map(cat => {
6309
- var _ajv$errors;
6310
6338
  // ✅ compare against cat.id, not the index
6311
6339
  if (cat.id !== id) {
6312
6340
  return cat;
6313
6341
  }
6342
+ const filteredErrors = ajv.errors && ajv.errors.filter(error => (error == null ? void 0 : error.data) != null);
6314
6343
  const status = getStepStatus({
6315
6344
  scopes: cat.scopes,
6316
- errors: (_ajv$errors = ajv.errors) != null ? _ajv$errors : [],
6345
+ errors: filteredErrors != null ? filteredErrors : [],
6317
6346
  schema
6318
6347
  });
6319
6348
  return Object.assign({}, cat, {
@@ -6354,7 +6383,7 @@ const stepperReducer = (state, action) => {
6354
6383
  };
6355
6384
 
6356
6385
  const createStepperContextInitData = props => {
6357
- var _ajv$errors, _uischema$options, _uischema$options2, _categorization$eleme;
6386
+ var _uischema$options, _uischema$options2, _categorization$eleme;
6358
6387
  const {
6359
6388
  uischema,
6360
6389
  data,
@@ -6364,18 +6393,18 @@ const createStepperContextInitData = props => {
6364
6393
  path
6365
6394
  } = props;
6366
6395
  const categorization = uischema;
6396
+ const filteredErrors = ajv.errors && ajv.errors.filter(error => (error == null ? void 0 : error.data) != null);
6367
6397
  // run validation once, capture errors
6368
6398
  const valid = ajv.validate(schema, data || {});
6369
- (_ajv$errors = ajv.errors) != null ? _ajv$errors : [];
6370
6399
  const isPage = (uischema == null || (_uischema$options = uischema.options) == null ? void 0 : _uischema$options.variant) === 'pages';
6371
6400
  const isCacheStatus = (_uischema$options2 = uischema.options) == null ? void 0 : _uischema$options2.cacheStatus;
6372
6401
  isCacheStatus && getIsVisitFromLocalStorage() || [];
6373
6402
  const categories = (_categorization$eleme = categorization.elements) == null ? void 0 : _categorization$eleme.map((c, id) => {
6374
- var _ajv$errors2, _deriveLabelForUISche;
6403
+ var _deriveLabelForUISche;
6375
6404
  const scopes = pickPropertyValues(c, 'scope', 'ListWithDetail');
6376
6405
  const status = getStepStatus({
6377
6406
  scopes,
6378
- errors: (_ajv$errors2 = ajv.errors) != null ? _ajv$errors2 : [],
6407
+ errors: filteredErrors != null ? filteredErrors : [],
6379
6408
  schema
6380
6409
  });
6381
6410
  return {
@@ -6610,14 +6639,14 @@ const GoAInputBaseControl = props => {
6610
6639
  });
6611
6640
  };
6612
6641
 
6613
- var $$8 = _export;
6642
+ var $$9 = _export;
6614
6643
  var DESCRIPTORS = descriptors;
6615
6644
  var global$2 = global$r;
6616
- var uncurryThis$4 = functionUncurryThis;
6645
+ var uncurryThis$5 = functionUncurryThis;
6617
6646
  var hasOwn = hasOwnProperty_1;
6618
6647
  var isCallable = isCallable$s;
6619
6648
  var isPrototypeOf = objectIsPrototypeOf;
6620
- var toString$5 = toString$h;
6649
+ var toString$7 = toString$j;
6621
6650
  var defineBuiltInAccessor = defineBuiltInAccessor$4;
6622
6651
  var copyConstructorProperties = copyConstructorProperties$3;
6623
6652
 
@@ -6631,7 +6660,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
6631
6660
  var EmptyStringDescriptionStore = {};
6632
6661
  // wrap Symbol constructor for correct work with undefined description
6633
6662
  var SymbolWrapper = function Symbol() {
6634
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$5(arguments[0]);
6663
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$7(arguments[0]);
6635
6664
  var result = isPrototypeOf(SymbolPrototype, this)
6636
6665
  ? new NativeSymbol(description)
6637
6666
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
@@ -6645,11 +6674,11 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
6645
6674
  SymbolPrototype.constructor = SymbolWrapper;
6646
6675
 
6647
6676
  var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
6648
- var thisSymbolValue = uncurryThis$4(SymbolPrototype.valueOf);
6649
- var symbolDescriptiveString = uncurryThis$4(SymbolPrototype.toString);
6677
+ var thisSymbolValue = uncurryThis$5(SymbolPrototype.valueOf);
6678
+ var symbolDescriptiveString = uncurryThis$5(SymbolPrototype.toString);
6650
6679
  var regexp = /^Symbol\((.*)\)[^)]+$/;
6651
- var replace$1 = uncurryThis$4(''.replace);
6652
- var stringSlice$1 = uncurryThis$4(''.slice);
6680
+ var replace$1 = uncurryThis$5(''.replace);
6681
+ var stringSlice$2 = uncurryThis$5(''.slice);
6653
6682
 
6654
6683
  defineBuiltInAccessor(SymbolPrototype, 'description', {
6655
6684
  configurable: true,
@@ -6657,12 +6686,12 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
6657
6686
  var symbol = thisSymbolValue(this);
6658
6687
  if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
6659
6688
  var string = symbolDescriptiveString(symbol);
6660
- var desc = NATIVE_SYMBOL ? stringSlice$1(string, 7, -1) : replace$1(string, regexp, '$1');
6689
+ var desc = NATIVE_SYMBOL ? stringSlice$2(string, 7, -1) : replace$1(string, regexp, '$1');
6661
6690
  return desc === '' ? undefined : desc;
6662
6691
  }
6663
6692
  });
6664
6693
 
6665
- $$8({ global: true, constructor: true, forced: true }, {
6694
+ $$9({ global: true, constructor: true, forced: true }, {
6666
6695
  Symbol: SymbolWrapper
6667
6696
  });
6668
6697
  }
@@ -6671,9 +6700,9 @@ var call$3 = functionCall;
6671
6700
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
6672
6701
  var anObject$4 = anObject$s;
6673
6702
  var isNullOrUndefined$1 = isNullOrUndefined$7;
6674
- var toLength$2 = toLength$6;
6675
- var toString$4 = toString$h;
6676
- var requireObjectCoercible$3 = requireObjectCoercible$c;
6703
+ var toLength$3 = toLength$7;
6704
+ var toString$6 = toString$j;
6705
+ var requireObjectCoercible$5 = requireObjectCoercible$e;
6677
6706
  var getMethod$1 = getMethod$7;
6678
6707
  var advanceStringIndex$1 = advanceStringIndex$3;
6679
6708
  var regExpExec$1 = regexpExecAbstract;
@@ -6684,15 +6713,15 @@ fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCall
6684
6713
  // `String.prototype.match` method
6685
6714
  // https://tc39.es/ecma262/#sec-string.prototype.match
6686
6715
  function match(regexp) {
6687
- var O = requireObjectCoercible$3(this);
6716
+ var O = requireObjectCoercible$5(this);
6688
6717
  var matcher = isNullOrUndefined$1(regexp) ? undefined : getMethod$1(regexp, MATCH);
6689
- return matcher ? call$3(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$4(O));
6718
+ return matcher ? call$3(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$6(O));
6690
6719
  },
6691
6720
  // `RegExp.prototype[@@match]` method
6692
6721
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
6693
6722
  function (string) {
6694
6723
  var rx = anObject$4(this);
6695
- var S = toString$4(string);
6724
+ var S = toString$6(string);
6696
6725
  var res = maybeCallNative(nativeMatch, rx, S);
6697
6726
 
6698
6727
  if (res.done) return res.value;
@@ -6705,9 +6734,9 @@ fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCall
6705
6734
  var n = 0;
6706
6735
  var result;
6707
6736
  while ((result = regExpExec$1(rx, S)) !== null) {
6708
- var matchStr = toString$4(result[0]);
6737
+ var matchStr = toString$6(result[0]);
6709
6738
  A[n] = matchStr;
6710
- if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$2(rx.lastIndex), fullUnicode);
6739
+ if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$3(rx.lastIndex), fullUnicode);
6711
6740
  n++;
6712
6741
  }
6713
6742
  return n === 0 ? null : A;
@@ -6719,19 +6748,19 @@ fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCall
6719
6748
  var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
6720
6749
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
6721
6750
 
6722
- var uncurryThis$3 = functionUncurryThis;
6723
- var requireObjectCoercible$2 = requireObjectCoercible$c;
6724
- var toString$3 = toString$h;
6751
+ var uncurryThis$4 = functionUncurryThis;
6752
+ var requireObjectCoercible$4 = requireObjectCoercible$e;
6753
+ var toString$5 = toString$j;
6725
6754
  var whitespaces$2 = whitespaces$3;
6726
6755
 
6727
- var replace = uncurryThis$3(''.replace);
6756
+ var replace = uncurryThis$4(''.replace);
6728
6757
  var ltrim = RegExp('^[' + whitespaces$2 + ']+');
6729
6758
  var rtrim = RegExp('(^|[^' + whitespaces$2 + '])[' + whitespaces$2 + ']+$');
6730
6759
 
6731
6760
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
6732
- var createMethod = function (TYPE) {
6761
+ var createMethod$1 = function (TYPE) {
6733
6762
  return function ($this) {
6734
- var string = toString$3(requireObjectCoercible$2($this));
6763
+ var string = toString$5(requireObjectCoercible$4($this));
6735
6764
  if (TYPE & 1) string = replace(string, ltrim, '');
6736
6765
  if (TYPE & 2) string = replace(string, rtrim, '$1');
6737
6766
  return string;
@@ -6741,7 +6770,7 @@ var createMethod = function (TYPE) {
6741
6770
  var stringTrim = {
6742
6771
  // `String.prototype.trim` method
6743
6772
  // https://tc39.es/ecma262/#sec-string.prototype.trim
6744
- trim: createMethod(3)
6773
+ trim: createMethod$1(3)
6745
6774
  };
6746
6775
 
6747
6776
  var PROPER_FUNCTION_NAME = functionName.PROPER;
@@ -6760,13 +6789,13 @@ var stringTrimForced = function (METHOD_NAME) {
6760
6789
  });
6761
6790
  };
6762
6791
 
6763
- var $$7 = _export;
6792
+ var $$8 = _export;
6764
6793
  var $trim = stringTrim.trim;
6765
6794
  var forcedStringTrimMethod = stringTrimForced;
6766
6795
 
6767
6796
  // `String.prototype.trim` method
6768
6797
  // https://tc39.es/ecma262/#sec-string.prototype.trim
6769
- $$7({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
6798
+ $$8({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
6770
6799
  trim: function trim() {
6771
6800
  return $trim(this);
6772
6801
  }
@@ -7316,47 +7345,71 @@ const MultiLineTextControlInput = props => jsx(GoAInputBaseControl, Object.assig
7316
7345
  const MultiLineTextControlTester = rankWith(3, and(isStringControl, optionIs('multi', true)));
7317
7346
  const MultiLineTextControl = withJsonFormsControlProps(MultiLineTextControlInput);
7318
7347
 
7319
- // Used locally for callout presentation
7320
- const callout = props => {
7321
- var _componentProps$messa;
7322
- const componentProps = Object.assign({
7323
- size: 'medium',
7324
- type: 'emergency',
7325
- message: 'unknown'
7326
- }, props);
7327
- const testid = (_componentProps$messa = componentProps.message) == null ? void 0 : _componentProps$messa.replace(/\s/g, '');
7328
- return jsx(GoabCallout, Object.assign({}, componentProps, {
7329
- "data-testid": testid,
7330
- children: componentProps == null ? void 0 : componentProps.message
7331
- }));
7332
- };
7333
- const GoACalloutController = props => {
7334
- var _uischema$options;
7335
- const {
7336
- uischema,
7337
- visible,
7338
- data
7339
- } = props;
7340
- let showCallout;
7341
- /* istanbul ignore next */
7342
- if (data === undefined || Array.isArray(data) && data.length === 0) {
7343
- showCallout = false;
7344
- } else {
7345
- showCallout = visible === true;
7346
- }
7347
- const calloutProps = (uischema == null || (_uischema$options = uischema.options) == null ? void 0 : _uischema$options.componentProps) || {};
7348
- return jsx(Visible, {
7349
- visible: showCallout,
7350
- children: callout(calloutProps)
7351
- });
7348
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$9;
7349
+ var toString$4 = toString$j;
7350
+ var requireObjectCoercible$3 = requireObjectCoercible$e;
7351
+
7352
+ var $RangeError = RangeError;
7353
+
7354
+ // `String.prototype.repeat` method implementation
7355
+ // https://tc39.es/ecma262/#sec-string.prototype.repeat
7356
+ var stringRepeat = function repeat(count) {
7357
+ var str = toString$4(requireObjectCoercible$3(this));
7358
+ var result = '';
7359
+ var n = toIntegerOrInfinity$1(count);
7360
+ if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions');
7361
+ for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
7362
+ return result;
7352
7363
  };
7353
- /* istanbul ignore next */
7354
- const CalloutReviewControl = () => {
7355
- //eslint-disable-next-line
7356
- return jsx(Fragment, {});
7364
+
7365
+ // https://github.com/tc39/proposal-string-pad-start-end
7366
+ var uncurryThis$3 = functionUncurryThis;
7367
+ var toLength$2 = toLength$7;
7368
+ var toString$3 = toString$j;
7369
+ var $repeat = stringRepeat;
7370
+ var requireObjectCoercible$2 = requireObjectCoercible$e;
7371
+
7372
+ var repeat = uncurryThis$3($repeat);
7373
+ var stringSlice$1 = uncurryThis$3(''.slice);
7374
+ var ceil = Math.ceil;
7375
+
7376
+ // `String.prototype.{ padStart, padEnd }` methods implementation
7377
+ var createMethod = function (IS_END) {
7378
+ return function ($this, maxLength, fillString) {
7379
+ var S = toString$3(requireObjectCoercible$2($this));
7380
+ var intMaxLength = toLength$2(maxLength);
7381
+ var stringLength = S.length;
7382
+ var fillStr = fillString === undefined ? ' ' : toString$3(fillString);
7383
+ var fillLen, stringFiller;
7384
+ if (intMaxLength <= stringLength || fillStr === '') return S;
7385
+ fillLen = intMaxLength - stringLength;
7386
+ stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
7387
+ if (stringFiller.length > fillLen) stringFiller = stringSlice$1(stringFiller, 0, fillLen);
7388
+ return IS_END ? S + stringFiller : stringFiller + S;
7389
+ };
7357
7390
  };
7358
- const GoACalloutControlTester = rankWith(1, uiTypeIs('Callout'));
7359
- const GoACalloutControl = withJsonFormsControlProps(GoACalloutController);
7391
+
7392
+ var stringPad = {
7393
+ // `String.prototype.padStart` method
7394
+ // https://tc39.es/ecma262/#sec-string.prototype.padstart
7395
+ start: createMethod(false)};
7396
+
7397
+ // https://github.com/zloirock/core-js/issues/280
7398
+ var userAgent = engineUserAgent;
7399
+
7400
+ var stringPadWebkitBug = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent);
7401
+
7402
+ var $$7 = _export;
7403
+ var $padStart = stringPad.start;
7404
+ var WEBKIT_BUG = stringPadWebkitBug;
7405
+
7406
+ // `String.prototype.padStart` method
7407
+ // https://tc39.es/ecma262/#sec-string.prototype.padstart
7408
+ $$7({ target: 'String', proto: true, forced: WEBKIT_BUG }, {
7409
+ padStart: function padStart(maxLength /* , fillString = ' ' */) {
7410
+ return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);
7411
+ }
7412
+ });
7360
7413
 
7361
7414
  const errMalformedDate = (scope, type) => {
7362
7415
  return `${type}-date for variable '${scope}' has an incorrect format.`;
@@ -7394,18 +7447,41 @@ const GoADateInput = props => {
7394
7447
  const allowFutureDate = uischema == null || (_uischema$options4 = uischema.options) == null ? void 0 : _uischema$options4.allowFutureDate;
7395
7448
  let minDate = uischema == null || (_uischema$options5 = uischema.options) == null || (_uischema$options5 = _uischema$options5.componentProps) == null ? void 0 : _uischema$options5.min;
7396
7449
  let maxDate = uischema == null || (_uischema$options6 = uischema.options) == null || (_uischema$options6 = _uischema$options6.componentProps) == null ? void 0 : _uischema$options6.max;
7397
- // Only apply if not both are true
7450
+ const todayLocalYmd = () => {
7451
+ const d = new Date();
7452
+ const y = d.getFullYear();
7453
+ const m = String(d.getMonth() + 1).padStart(2, '0');
7454
+ const day = String(d.getDate()).padStart(2, '0');
7455
+ return `${y}-${m}-${day}`;
7456
+ };
7398
7457
  if (allowPastDate && !allowFutureDate) {
7399
- // Only allow today and past dates
7400
- const today = new Date();
7401
- maxDate = today.toISOString().split('T')[0];
7458
+ maxDate = todayLocalYmd();
7402
7459
  } else if (!allowPastDate && allowFutureDate) {
7403
- // Only allow today and future dates
7404
- const today = new Date();
7405
- minDate = today.toISOString().split('T')[0];
7406
- }
7407
- return jsx(GoabDatePicker, Object.assign({
7408
- type: "calendar",
7460
+ minDate = todayLocalYmd();
7461
+ }
7462
+ const ensureGoaDatePointerCursor = host => {
7463
+ if (!host) return;
7464
+ const sr = host.shadowRoot;
7465
+ if (!sr) return;
7466
+ if (sr.getElementById('goa-date-cursor-style')) return;
7467
+ const style = document.createElement('style');
7468
+ style.id = 'goa-date-cursor-style';
7469
+ style.textContent = `
7470
+ input[type="date"] { cursor: pointer !important; }
7471
+ input[type="date"]:disabled { cursor: not-allowed !important; }
7472
+ `;
7473
+ sr.appendChild(style);
7474
+ };
7475
+ const hostRef = useRef(null);
7476
+ useEffect(() => {
7477
+ var _hostRef$current, _host$shadowRoot;
7478
+ const host = (_hostRef$current = hostRef.current) != null ? _hostRef$current : document.querySelector('goa-input[type="date"]');
7479
+ host == null || (_host$shadowRoot = host.shadowRoot) == null || _host$shadowRoot.querySelector('input[type="date"]');
7480
+ ensureGoaDatePointerCursor(host);
7481
+ }, [appliedUiSchemaOptions == null ? void 0 : appliedUiSchemaOptions.name, id]);
7482
+ return jsx(GoabInput, Object.assign({
7483
+ type: "date",
7484
+ ref: hostRef,
7409
7485
  error: isVisited && errors.length > 0,
7410
7486
  width: width,
7411
7487
  name: (appliedUiSchemaOptions == null ? void 0 : appliedUiSchemaOptions.name) || `${id || label}-input`,
@@ -7413,8 +7489,8 @@ const GoADateInput = props => {
7413
7489
  testId: (appliedUiSchemaOptions == null ? void 0 : appliedUiSchemaOptions.testId) || `${id}-input`,
7414
7490
  disabled: !enabled,
7415
7491
  readonly: readOnly,
7416
- min: minDate && new Date(minDate),
7417
- max: maxDate && new Date(maxDate),
7492
+ min: minDate ? standardizeDate(minDate) || undefined : undefined,
7493
+ max: maxDate ? standardizeDate(maxDate) || undefined : undefined,
7418
7494
  onChange: detail => {
7419
7495
  var _detail$name;
7420
7496
  if (isVisited === false && setIsVisited) {
@@ -7422,7 +7498,7 @@ const GoADateInput = props => {
7422
7498
  }
7423
7499
  onChangeForDateControl({
7424
7500
  name: (_detail$name = detail.name) != null ? _detail$name : 'date',
7425
- value: detail.valueStr,
7501
+ value: detail.value,
7426
7502
  controlProps: props
7427
7503
  });
7428
7504
  },
@@ -7699,6 +7775,48 @@ const GoATimeControl = props => jsx(GoAInputBaseControl, Object.assign({}, props
7699
7775
  const GoATimeControlTester = rankWith(4, isTimeControl);
7700
7776
  const GoAInputTimeControl = withJsonFormsControlProps(GoATimeControl);
7701
7777
 
7778
+ // Used locally for callout presentation
7779
+ const callout = props => {
7780
+ var _componentProps$messa;
7781
+ const componentProps = Object.assign({
7782
+ size: 'medium',
7783
+ type: 'emergency',
7784
+ message: 'unknown'
7785
+ }, props);
7786
+ const testid = (_componentProps$messa = componentProps.message) == null ? void 0 : _componentProps$messa.replace(/\s/g, '');
7787
+ return jsx(GoabCallout, Object.assign({}, componentProps, {
7788
+ "data-testid": testid,
7789
+ children: componentProps == null ? void 0 : componentProps.message
7790
+ }));
7791
+ };
7792
+ const GoACalloutController = props => {
7793
+ var _uischema$options;
7794
+ const {
7795
+ uischema,
7796
+ visible,
7797
+ data
7798
+ } = props;
7799
+ let showCallout;
7800
+ /* istanbul ignore next */
7801
+ if (data === undefined || Array.isArray(data) && data.length === 0) {
7802
+ showCallout = false;
7803
+ } else {
7804
+ showCallout = visible === true;
7805
+ }
7806
+ const calloutProps = (uischema == null || (_uischema$options = uischema.options) == null ? void 0 : _uischema$options.componentProps) || {};
7807
+ return jsx(Visible, {
7808
+ visible: showCallout,
7809
+ children: callout(calloutProps)
7810
+ });
7811
+ };
7812
+ /* istanbul ignore next */
7813
+ const CalloutReviewControl = () => {
7814
+ //eslint-disable-next-line
7815
+ return jsx(Fragment, {});
7816
+ };
7817
+ const GoACalloutControlTester = rankWith(1, uiTypeIs('Callout'));
7818
+ const GoACalloutControl = withJsonFormsControlProps(GoACalloutController);
7819
+
7702
7820
  function fetchRegisterConfigFromOptions(options) {
7703
7821
  if (!(options != null && options.url) && !(options != null && options.urn)) return undefined;
7704
7822
  const config = Object.assign({}, options);
@@ -8165,7 +8283,7 @@ const GoInputBaseReview = props => jsx(GoAInputBaseControl, Object.assign({}, pr
8165
8283
  const GoAInputBaseReviewControl = withJsonFormsControlProps(GoInputBaseReview);
8166
8284
 
8167
8285
  const GoAInputBaseTableReview = props => {
8168
- var _uischema$options3;
8286
+ var _uischema$options, _jsonForms$core, _activeError, _activeError2, _uischema$options4;
8169
8287
  const {
8170
8288
  data,
8171
8289
  uischema,
@@ -8174,23 +8292,28 @@ const GoAInputBaseTableReview = props => {
8174
8292
  path,
8175
8293
  errors,
8176
8294
  enabled,
8177
- cells
8295
+ cells,
8296
+ required
8178
8297
  } = props;
8179
8298
  const context = useContext(JsonFormsStepperContext);
8180
8299
  const jsonForms = useJsonForms();
8181
- const labelToUpdate = convertToSentenceCase(getLabelText(uischema.scope, label || ''));
8300
+ let labelToUpdate = (_uischema$options = uischema.options) != null && _uischema$options.reviewLabel ? uischema.options.reviewLabel : convertToSentenceCase(getLabelText(uischema.scope, label || ''));
8301
+ if (labelToUpdate === '') {
8302
+ const scopeName = uischema.scope ? getLastSegmentFromPointer(uischema.scope) : '';
8303
+ labelToUpdate = convertToSentenceCase(scopeName);
8304
+ }
8182
8305
  let reviewText = data;
8183
8306
  const isBoolean = typeof data === 'boolean';
8184
8307
  if (isBoolean) {
8185
- var _uischema$options, _uischema$options2;
8308
+ var _uischema$options2, _uischema$options3;
8186
8309
  let checkboxLabel = '';
8187
- if ((_uischema$options = uischema.options) != null && (_uischema$options = _uischema$options.text) != null && _uischema$options.trim()) {
8310
+ if ((_uischema$options2 = uischema.options) != null && (_uischema$options2 = _uischema$options2.text) != null && _uischema$options2.trim()) {
8188
8311
  checkboxLabel = uischema.options.text.trim();
8189
8312
  } else if (uischema.scope && uischema.scope.startsWith('#/')) {
8190
8313
  const fallbackLabel = getLastSegmentFromPointer(uischema.scope);
8191
8314
  checkboxLabel = fallbackLabel.charAt(0).toUpperCase() + fallbackLabel.slice(1);
8192
8315
  }
8193
- if (((_uischema$options2 = uischema.options) == null ? void 0 : _uischema$options2.radio) === true) {
8316
+ if (((_uischema$options3 = uischema.options) == null ? void 0 : _uischema$options3.radio) === true) {
8194
8317
  reviewText = data ? `Yes` : `No`;
8195
8318
  } else {
8196
8319
  if (label !== '' || typeof label === 'boolean') {
@@ -8200,34 +8323,76 @@ const GoAInputBaseTableReview = props => {
8200
8323
  }
8201
8324
  }
8202
8325
  }
8326
+ // Helper to extract errors manually from global state, bypassing "touched" filter
8327
+ const normalizePath = p => p.replace(/\[(\d+)\]/g, '.$1').replace(/^\./, '').replace(/\//g, '.');
8328
+ const findMatchingError = currentErrors => {
8329
+ if (!currentErrors) return undefined;
8330
+ const normalizedPropPath = normalizePath(path || '');
8331
+ for (const e of currentErrors) {
8332
+ var _e$params2;
8333
+ const errorPath = normalizePath(e.dataPath || e.instancePath || '');
8334
+ if (errorPath === normalizedPropPath) {
8335
+ return e.message;
8336
+ }
8337
+ if (e.keyword === 'required') {
8338
+ var _e$params;
8339
+ const missing = (_e$params = e.params) == null ? void 0 : _e$params.missingProperty;
8340
+ if (missing) {
8341
+ const missingPath = errorPath ? `${errorPath}.${missing}` : missing;
8342
+ if (missingPath === normalizedPropPath) {
8343
+ return e.message;
8344
+ }
8345
+ }
8346
+ }
8347
+ if (e.keyword === 'errorMessage' && (_e$params2 = e.params) != null && _e$params2.errors) {
8348
+ const nested = findMatchingError(e.params.errors);
8349
+ if (nested) return e.message;
8350
+ }
8351
+ }
8352
+ return undefined;
8353
+ };
8354
+ let activeError = findMatchingError((_jsonForms$core = jsonForms.core) == null ? void 0 : _jsonForms$core.errors);
8355
+ if (required && (data === undefined || data === null || data === '') && !activeError) {
8356
+ activeError = `${labelToUpdate} is required`;
8357
+ } else if ((_activeError = activeError) != null && _activeError.includes('is a required property') || (_activeError2 = activeError) != null && _activeError2.includes('must have required property')) {
8358
+ activeError = `${labelToUpdate} is required`;
8359
+ }
8203
8360
  // eslint-disable-next-line
8204
- const stepId = (_uischema$options3 = uischema.options) == null ? void 0 : _uischema$options3.stepId;
8205
- return jsxs("tr", {
8361
+ const stepId = (_uischema$options4 = uischema.options) == null ? void 0 : _uischema$options4.stepId;
8362
+ return jsx("tr", {
8206
8363
  "data-testid": `input-base-table-${label}-row`,
8207
- children: [jsx(PageReviewNameCol, {
8208
- children: labelToUpdate && jsx("strong", {
8209
- children: labelToUpdate
8210
- })
8211
- }), jsx(PageReviewValueCol, {
8212
- children: typeof reviewText === 'string' || typeof reviewText === 'number' ? jsx("div", {
8213
- children: reviewText
8214
- }) : jsx(JsonFormsDispatch, {
8215
- "data-testid": `jsonforms-object-list-defined-elements-dispatch`,
8216
- schema: schema,
8217
- uischema: uischema,
8218
- enabled: enabled,
8219
- renderers: jsonForms.renderers,
8220
- cells: cells
8221
- })
8222
- }), jsx("td", {
8223
- className: "goa-table-number-col",
8224
- children: stepId !== undefined && jsx(GoabButton, {
8225
- type: "tertiary",
8226
- size: "compact",
8227
- onClick: () => context == null ? void 0 : context.goToPage(stepId),
8228
- children: "Change"
8229
- })
8230
- })]
8364
+ children: jsxs(PageReviewContainer, {
8365
+ colSpan: 3,
8366
+ children: [jsxs(ReviewHeader, {
8367
+ children: [jsxs(ReviewLabel, {
8368
+ children: [labelToUpdate, required && jsx(RequiredTextLabel, {
8369
+ children: " (required)"
8370
+ })]
8371
+ }), stepId !== undefined && jsx(GoabButton, {
8372
+ type: "tertiary",
8373
+ size: "compact",
8374
+ onClick: () => context == null ? void 0 : context.goToPage(stepId),
8375
+ children: "Change"
8376
+ })]
8377
+ }), jsxs(ReviewValue, {
8378
+ children: [typeof reviewText === 'string' || typeof reviewText === 'number' ? jsx("div", {
8379
+ "data-testid": `review-value-${label}`,
8380
+ children: reviewText
8381
+ }) : jsx(JsonFormsDispatch, {
8382
+ "data-testid": `jsonforms-object-list-defined-elements-dispatch`,
8383
+ schema: schema,
8384
+ uischema: uischema,
8385
+ enabled: enabled,
8386
+ renderers: jsonForms.renderers,
8387
+ cells: cells
8388
+ }), activeError && jsxs(WarningIconDiv, {
8389
+ children: [jsx(GoabIcon, {
8390
+ type: "warning",
8391
+ size: "small"
8392
+ }), activeError]
8393
+ })]
8394
+ })]
8395
+ })
8231
8396
  });
8232
8397
  };
8233
8398
  const GoAInputBaseTableReviewControl = withJsonFormsControlProps(GoAInputBaseTableReview);
@@ -8237,11 +8402,11 @@ var uncurryThis$2 = functionUncurryThis;
8237
8402
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
8238
8403
  var anObject$3 = anObject$s;
8239
8404
  var isNullOrUndefined = isNullOrUndefined$7;
8240
- var requireObjectCoercible$1 = requireObjectCoercible$c;
8405
+ var requireObjectCoercible$1 = requireObjectCoercible$e;
8241
8406
  var speciesConstructor = speciesConstructor$2;
8242
8407
  var advanceStringIndex = advanceStringIndex$3;
8243
- var toLength$1 = toLength$6;
8244
- var toString$2 = toString$h;
8408
+ var toLength$1 = toLength$7;
8409
+ var toString$2 = toString$j;
8245
8410
  var getMethod = getMethod$7;
8246
8411
  var regExpExec = regexpExecAbstract;
8247
8412
  var stickyHelpers = regexpStickyHelpers;
@@ -8969,7 +9134,7 @@ var $$6 = _export;
8969
9134
  var flattenIntoArray$1 = flattenIntoArray_1;
8970
9135
  var toObject$1 = toObject$9;
8971
9136
  var lengthOfArrayLike$1 = lengthOfArrayLike$9;
8972
- var toIntegerOrInfinity = toIntegerOrInfinity$8;
9137
+ var toIntegerOrInfinity = toIntegerOrInfinity$9;
8973
9138
  var arraySpeciesCreate$1 = arraySpeciesCreate$2;
8974
9139
 
8975
9140
  // `Array.prototype.flat` method
@@ -9036,28 +9201,48 @@ const FullNameControlReview = props => {
9036
9201
  var _props$uischema, _props$data, _props$data2, _props$data3, _props$data4;
9037
9202
  const context = useContext(JsonFormsStepperContext);
9038
9203
  const stepId = (_props$uischema = props.uischema) == null || (_props$uischema = _props$uischema.options) == null ? void 0 : _props$uischema.stepId;
9039
- const renderRow = (label, value, testId) => jsxs("tr", {
9040
- children: [jsx(PageReviewNameCol, {
9041
- children: jsx("strong", {
9042
- children: label
9043
- })
9044
- }), jsx(PageReviewValueCol, {
9045
- children: jsx("div", {
9046
- "data-testid": testId,
9047
- children: value
9048
- })
9049
- }), jsx("td", {
9050
- className: "goa-table-width-limit",
9051
- children: jsx(GoabButton, {
9052
- type: "tertiary",
9053
- size: "compact",
9054
- onClick: () => context == null ? void 0 : context.goToPage(stepId),
9055
- children: "Change"
9056
- })
9057
- })]
9204
+ const {
9205
+ label,
9206
+ errors,
9207
+ required
9208
+ } = props;
9209
+ const renderRow = (label, value, testId) => jsx("tr", {
9210
+ children: jsxs(PageReviewContainer, {
9211
+ colSpan: 3,
9212
+ children: [jsxs(ReviewHeader, {
9213
+ children: [jsx(ReviewLabel, {
9214
+ children: label
9215
+ }), jsx(GoabButton, {
9216
+ type: "tertiary",
9217
+ size: "compact",
9218
+ onClick: () => context == null ? void 0 : context.goToPage(stepId),
9219
+ children: "Change"
9220
+ })]
9221
+ }), jsx(ReviewValue, {
9222
+ children: jsx("div", {
9223
+ "data-testid": testId,
9224
+ children: value
9225
+ })
9226
+ })]
9227
+ })
9058
9228
  });
9059
9229
  return jsxs(Fragment, {
9060
- children: [renderRow('First name', (_props$data = props.data) == null ? void 0 : _props$data.firstName, `firstName-control-${props.id}`), ((_props$data2 = props.data) == null ? void 0 : _props$data2.middleName) && renderRow('Middle name', (_props$data3 = props.data) == null ? void 0 : _props$data3.middleName, `middleName-control-${props.id}`), renderRow('Last name', (_props$data4 = props.data) == null ? void 0 : _props$data4.lastName, `lastName-control-${props.id}`)]
9230
+ children: [jsx("tr", {
9231
+ "data-testid": "full-name-header",
9232
+ children: jsxs(PageReviewContainer, {
9233
+ colSpan: 3,
9234
+ children: [jsxs(ReviewLabel, {
9235
+ children: [label, required && jsx(RequiredTextLabel, {
9236
+ children: " (required)"
9237
+ })]
9238
+ }), errors && jsxs(WarningIconDiv, {
9239
+ children: [jsx(GoabIcon, {
9240
+ type: "warning",
9241
+ size: "small"
9242
+ }), errors != null && errors.includes('is a required property') ? `${label} is required` : errors]
9243
+ })]
9244
+ })
9245
+ }), renderRow('First name', (_props$data = props.data) == null ? void 0 : _props$data.firstName, `firstName-control-${props.id}`), ((_props$data2 = props.data) == null ? void 0 : _props$data2.middleName) && renderRow('Middle name', (_props$data3 = props.data) == null ? void 0 : _props$data3.middleName, `middleName-control-${props.id}`), renderRow('Last name', (_props$data4 = props.data) == null ? void 0 : _props$data4.lastName, `lastName-control-${props.id}`)]
9061
9246
  });
9062
9247
  };
9063
9248
  const GoAInputBaseFullNameControlReview = withJsonFormsAllOfProps(FullNameControlReview);
@@ -9129,7 +9314,7 @@ $$4({ target: 'Object', stat: true }, {
9129
9314
  var global$1 = global$r;
9130
9315
  var fails = fails$w;
9131
9316
  var uncurryThis$1 = functionUncurryThis;
9132
- var toString$1 = toString$h;
9317
+ var toString$1 = toString$j;
9133
9318
  var trim = stringTrim.trim;
9134
9319
  var whitespaces = whitespaces$3;
9135
9320
 
@@ -9584,9 +9769,10 @@ const renderCellColumn = ({
9584
9769
  });
9585
9770
  };
9586
9771
  if (data === undefined && isRequired || error !== '' && error !== undefined) {
9587
- return renderWarningCell(data);
9772
+ const message = error || (isRequired && data === undefined ? 'Required' : data);
9773
+ return renderWarningCell(message);
9588
9774
  } else if (data !== undefined && isRequired && error) {
9589
- return renderWarningCell(data);
9775
+ return renderWarningCell(error);
9590
9776
  }
9591
9777
  const path = `/${rowPath}/${index}/${element}/${index === 0 ? index : index - 1}`;
9592
9778
  const nestedErrors = errors == null ? void 0 : errors.filter(e => e.instancePath.includes(path));
@@ -9596,6 +9782,10 @@ const renderCellColumn = ({
9596
9782
  } else if (typeof data === 'object' || Array.isArray(data)) {
9597
9783
  const result = Object.keys(data);
9598
9784
  if (!isRequired && nestedErrors.length === 0) {
9785
+ if ('year' in data && 'month' in data && 'day' in data) {
9786
+ const dateObj = data;
9787
+ return `${dateObj.year}-${dateObj.month}-${dateObj.day}`;
9788
+ }
9599
9789
  return jsx("pre", {
9600
9790
  children: JSON.stringify(data, null, 2)
9601
9791
  });
@@ -9672,8 +9862,11 @@ const EmptyList$1 = ({
9672
9862
  numColumns,
9673
9863
  noDataMessage,
9674
9864
  translations
9675
- }) => jsx(GoabGrid, {
9676
- minChildWidth: "30ch",
9865
+ }) => jsx("div", {
9866
+ style: {
9867
+ width: '100%',
9868
+ padding: '1rem 0'
9869
+ },
9677
9870
  children: jsx(TextCenter, {
9678
9871
  children: jsx("b", {
9679
9872
  children: noDataMessage
@@ -9725,6 +9918,11 @@ const NonEmptyCellComponent$1 = /*#__PURE__*/React.memo(function NonEmptyCellCom
9725
9918
  properties && Object.keys(properties).forEach(item => {
9726
9919
  if (Object.keys(tableKeys).includes(item)) {
9727
9920
  tempTableKeys[item] = tableKeys[item];
9921
+ } else {
9922
+ // If the property is not in the tableKeys (e.g. it was a nested object in the UI schema),
9923
+ // we still need a header for it to maintain alignment.
9924
+ // Use the property title from the schema, or capitalize the property name.
9925
+ tempTableKeys[item] = properties[item].title || capitalizeFirstLetter(item);
9728
9926
  }
9729
9927
  });
9730
9928
  tableKeys = tempTableKeys;
@@ -9775,6 +9973,10 @@ const NonEmptyCellComponent$1 = /*#__PURE__*/React.memo(function NonEmptyCellCom
9775
9973
  }, 0)
9776
9974
  }), jsx("tbody", {
9777
9975
  children: range(count || 0).map((num, i) => {
9976
+ // Skip rendering empty rows in review mode
9977
+ if (isInReview === true && (data === undefined || data[num] === undefined || Object.keys(data[num]).length === 0)) {
9978
+ return null;
9979
+ }
9778
9980
  const errorRow = errors == null ? void 0 : errors.find(error => error.instancePath.includes(`/${props.rowPath.replace(/\./g, '/')}/${i}`));
9779
9981
  return jsxs("tr", {
9780
9982
  children: [Object.keys(properties).map((element, ix) => {
@@ -9800,7 +10002,7 @@ const NonEmptyCellComponent$1 = /*#__PURE__*/React.memo(function NonEmptyCellCom
9800
10002
  display: 'block'
9801
10003
  },
9802
10004
  children: renderCellColumn({
9803
- data: currentData ? String(currentData) : undefined,
10005
+ data: currentData !== '' && currentData !== null && currentData !== undefined ? currentData : undefined,
9804
10006
  error: error == null ? void 0 : error.message,
9805
10007
  isRequired: (_required$includes = required == null ? void 0 : required.includes(tableKeys[element])) != null ? _required$includes : false,
9806
10008
  errors: errors !== undefined ? errors : [],
@@ -9919,7 +10121,11 @@ const NonEmptyRowComponent$1 = ({
9919
10121
  handleChange
9920
10122
  }) => {
9921
10123
  return jsx("div", {
9922
- children: enabled ? jsx(GoabContainer, {
10124
+ children: enabled ? isInReview ? jsx("div", {
10125
+ children: jsx("div", {
10126
+ children: GenerateRows$1(NonEmptyCell$1, schema, childPath, enabled, openDeleteDialog, handleChange, cells, uischema, isInReview, count, data)
10127
+ })
10128
+ }) : jsx(GoabContainer, {
9923
10129
  children: jsx("div", {
9924
10130
  children: jsx("div", {
9925
10131
  children: GenerateRows$1(NonEmptyCell$1, schema, childPath, enabled, openDeleteDialog, handleChange, cells, uischema, isInReview, count, data)
@@ -9973,11 +10179,12 @@ const ObjectArrayList$1 = ({
9973
10179
  }, 0);
9974
10180
  };
9975
10181
  const ObjectArrayControl = props => {
9976
- var _uischema$options5, _registers$categories, _registers$categories2;
10182
+ var _uischema$options5, _registers$categories3, _registers$categories4;
9977
10183
  const [registers, dispatch] = useReducer(objectListReducer, initialState);
9978
10184
  const [open, setOpen] = useState(false);
9979
10185
  const [rowData, setRowData] = useState(0);
9980
10186
  const [maxItemsError, setMaxItemsError] = useState('');
10187
+ const context = useContext(JsonFormsStepperContext);
9981
10188
  const {
9982
10189
  label,
9983
10190
  path,
@@ -10108,22 +10315,70 @@ const ObjectArrayControl = props => {
10108
10315
  const listTitle = label || ((_uischema$options5 = uischema.options) == null ? void 0 : _uischema$options5.title);
10109
10316
  const isInReview = isStepperReview === true;
10110
10317
  const isListWithDetail = controlElement.type === 'ListWithDetail';
10111
- return jsxs(Visible, {
10318
+ if (isInReview) {
10319
+ var _uischema$options6, _registers$categories, _registers$categories2;
10320
+ return jsx("tr", {
10321
+ children: jsxs(PageReviewContainer, {
10322
+ colSpan: 3,
10323
+ children: [listTitle ? isListWithDetail && additionalProps.required && (data === null || data === undefined) ? jsx("b", {
10324
+ children: jsxs(ListWithDetailWarningIconDiv, {
10325
+ children: [jsx(GoabIcon, {
10326
+ type: "warning",
10327
+ title: "warning",
10328
+ size: "small",
10329
+ theme: "filled",
10330
+ ml: "2xs",
10331
+ mt: "2xs"
10332
+ }), listTitle, " is required."]
10333
+ })
10334
+ }) : jsxs(ReviewHeader, {
10335
+ style: {
10336
+ width: '100%',
10337
+ display: 'grid',
10338
+ gridTemplateColumns: '1fr auto',
10339
+ alignItems: 'center'
10340
+ },
10341
+ children: [jsxs(ReviewLabel, {
10342
+ children: [listTitle, " ", jsx("span", {
10343
+ children: additionalProps.required && '(required)'
10344
+ }), maxItemsError && jsx("span", {
10345
+ style: {
10346
+ color: 'red',
10347
+ marginLeft: '1rem'
10348
+ },
10349
+ children: maxItemsError
10350
+ })]
10351
+ }), ((_uischema$options6 = uischema.options) == null ? void 0 : _uischema$options6.stepId) !== undefined && jsx(GoabButton, {
10352
+ type: "tertiary",
10353
+ size: "compact",
10354
+ onClick: () => {
10355
+ var _uischema$options7;
10356
+ return context == null ? void 0 : context.goToPage((_uischema$options7 = uischema.options) == null ? void 0 : _uischema$options7.stepId);
10357
+ },
10358
+ children: "Change"
10359
+ })]
10360
+ }) : null, jsx(ObjectArrayList$1, Object.assign({
10361
+ path: path,
10362
+ schema: schema,
10363
+ uischema: uischema,
10364
+ enabled: enabled,
10365
+ openDeleteDialog: openDeleteDialog,
10366
+ translations: {},
10367
+ count: ((_registers$categories = registers.categories[path]) == null ? void 0 : _registers$categories.count) || Object.keys(data || []).length,
10368
+ data: data || ((_registers$categories2 = registers.categories[path]) == null ? void 0 : _registers$categories2.data),
10369
+ cells: cells,
10370
+ config: config,
10371
+ isInReview: isInReview,
10372
+ handleChange: handleChangeWithData
10373
+ }, additionalProps))]
10374
+ })
10375
+ });
10376
+ }
10377
+ const content = jsxs(Visible, {
10112
10378
  visible: visible,
10113
10379
  "data-testid": "jsonforms-object-list-wrapper",
10114
10380
  children: [jsxs(ToolBarHeader, {
10115
- children: [isInReview ? listTitle ? isListWithDetail && additionalProps.required && (data === null || data === undefined) ? jsx("b", {
10116
- children: jsxs(ListWithDetailWarningIconDiv, {
10117
- children: [jsx(GoabIcon, {
10118
- type: "warning",
10119
- title: "warning",
10120
- size: "small",
10121
- theme: "filled",
10122
- ml: "2xs",
10123
- mt: "2xs"
10124
- }), listTitle, " is required."]
10125
- })
10126
- }) : jsxs("b", {
10381
+ children: [listTitle && jsxs(ObjectArrayTitle, {
10127
10382
  children: [listTitle, " ", jsx("span", {
10128
10383
  children: additionalProps.required && '(required)'
10129
10384
  }), maxItemsError && jsx("span", {
@@ -10133,17 +10388,7 @@ const ObjectArrayControl = props => {
10133
10388
  },
10134
10389
  children: maxItemsError
10135
10390
  })]
10136
- }) : null : listTitle && jsxs(ObjectArrayTitle, {
10137
- children: [listTitle, " ", jsx("span", {
10138
- children: additionalProps.required && '(required)'
10139
- }), maxItemsError && jsx("span", {
10140
- style: {
10141
- color: 'red',
10142
- marginLeft: '1rem'
10143
- },
10144
- children: maxItemsError
10145
- })]
10146
- }), !isInReview && jsx(ObjectArrayToolBar, {
10391
+ }), jsx(ObjectArrayToolBar, {
10147
10392
  errors: errors,
10148
10393
  label: label,
10149
10394
  addItem: (a, b) => () => addItem(a, b),
@@ -10162,8 +10407,8 @@ const ObjectArrayControl = props => {
10162
10407
  enabled: enabled,
10163
10408
  openDeleteDialog: openDeleteDialog,
10164
10409
  translations: {},
10165
- count: ((_registers$categories = registers.categories[path]) == null ? void 0 : _registers$categories.count) || Object.keys(data || []).length,
10166
- data: data || ((_registers$categories2 = registers.categories[path]) == null ? void 0 : _registers$categories2.data),
10410
+ count: ((_registers$categories3 = registers.categories[path]) == null ? void 0 : _registers$categories3.count) || Object.keys(data || []).length,
10411
+ data: data || ((_registers$categories4 = registers.categories[path]) == null ? void 0 : _registers$categories4.data),
10167
10412
  cells: cells,
10168
10413
  config: config,
10169
10414
  isInReview: isInReview,
@@ -10177,6 +10422,7 @@ const ObjectArrayControl = props => {
10177
10422
  })]
10178
10423
  })]
10179
10424
  });
10425
+ return content;
10180
10426
  };
10181
10427
 
10182
10428
  const ArrayControl = props => {
@@ -10209,16 +10455,14 @@ const ArrayControlReview = props => {
10209
10455
  const {
10210
10456
  visible
10211
10457
  } = props;
10212
- return jsx(Visible, {
10213
- visible: visible,
10214
- children: jsx(ObjectArrayControl, Object.assign({
10215
- arraySchema: {}
10216
- }, props, {
10217
- addItem: () => () => {},
10218
- isStepperReview: true,
10219
- enabled: true
10220
- }))
10221
- });
10458
+ if (!visible) return null;
10459
+ return jsx(ObjectArrayControl, Object.assign({
10460
+ arraySchema: {}
10461
+ }, props, {
10462
+ addItem: () => () => {},
10463
+ isStepperReview: true,
10464
+ enabled: true
10465
+ }));
10222
10466
  };
10223
10467
  const GoAArrayControlRenderer = withJsonFormsControlProps(ArrayControlBase);
10224
10468
  const GoAArrayControlReviewRenderer = withJsonFormsControlProps(ArrayControlReview);
@@ -10742,7 +10986,6 @@ const LeftTab = ({
10742
10986
  children: [jsx(TabName, {
10743
10987
  children: name
10744
10988
  }), enabled ? jsx(Trash, {
10745
- role: "trash button",
10746
10989
  children: jsx(GoabIconButton, {
10747
10990
  disabled: !enabled,
10748
10991
  icon: "trash",
@@ -11390,8 +11633,10 @@ const AddressLoopUpControlTableReview = props => {
11390
11633
  const {
11391
11634
  data,
11392
11635
  schema,
11393
- uischema
11636
+ uischema,
11637
+ path
11394
11638
  } = props;
11639
+ const jsonForms = useJsonForms();
11395
11640
  // eslint-disable-next-line
11396
11641
  const stepId = (_uischema$options = uischema.options) == null ? void 0 : _uischema$options.stepId;
11397
11642
  const formStepperCtx = useContext(JsonFormsStepperContext);
@@ -11437,36 +11682,80 @@ const AddressLoopUpControlTableReview = props => {
11437
11682
  label: 'Yukon'
11438
11683
  }];
11439
11684
  const provinceLabel = isAlbertaAddress ? 'Alberta' : ((_provinces$find = provinces.find(p => p.value === (data == null ? void 0 : data.subdivisionCode))) == null ? void 0 : _provinces$find.label) || (data == null ? void 0 : data.subdivisionCode);
11440
- const renderRow = (label, value) => jsxs("tr", {
11441
- children: [jsx(PageReviewNameCol, {
11442
- children: label
11443
- }), jsx(PageReviewNameCol, {
11444
- children: value
11445
- }), jsx("td", {
11446
- className: "goa-table-width-limit",
11447
- children: jsx(GoabButton, {
11448
- type: "tertiary",
11449
- size: "compact",
11450
- onClick: () => formStepperCtx == null ? void 0 : formStepperCtx.goToPage(stepId),
11451
- children: "Change"
11685
+ const getError = propName => {
11686
+ var _findMatchingError, _jsonForms$core;
11687
+ const normalizePath = p => p.replace(/\[(\d+)\]/g, '.$1').replace(/^\./, '').replace(/\//g, '.');
11688
+ // We need to return the message of the MATCHED error, but findError above returns boolean (mostly) or message if I refactor.
11689
+ // Let's refactor to return the error object or message.
11690
+ const findMatchingError = errors => {
11691
+ if (!errors) return undefined;
11692
+ for (const e of errors) {
11693
+ var _e$params, _e$params2;
11694
+ const rawErrorPath = e.dataPath || e.instancePath || '';
11695
+ const errorPath = normalizePath(rawErrorPath);
11696
+ const currentPath = normalizePath(path || '');
11697
+ const dotPath = currentPath ? `${currentPath}.${propName}` : propName;
11698
+ if (e.keyword === 'errorMessage' && (_e$params = e.params) != null && _e$params.errors) {
11699
+ const nested = findMatchingError(e.params.errors);
11700
+ if (nested) return e; // Return the wrapper error (contains the custom message)
11701
+ }
11702
+ if (errorPath === dotPath) return e;
11703
+ const isRequiredError = e.keyword === 'required';
11704
+ const missingProperty = (_e$params2 = e.params) == null ? void 0 : _e$params2.missingProperty;
11705
+ if (isRequiredError && missingProperty === propName) {
11706
+ if (errorPath === currentPath) return e;
11707
+ }
11708
+ }
11709
+ return undefined;
11710
+ };
11711
+ return (_findMatchingError = findMatchingError((_jsonForms$core = jsonForms.core) == null ? void 0 : _jsonForms$core.errors)) == null ? void 0 : _findMatchingError.message;
11712
+ };
11713
+ const isRequired = propName => {
11714
+ var _schema$required;
11715
+ return schema == null || (_schema$required = schema.required) == null ? void 0 : _schema$required.includes(propName);
11716
+ };
11717
+ const renderRow = (label, value, propName, showButton = true) => {
11718
+ var _error, _error2;
11719
+ let error = getError(propName);
11720
+ const required = isRequired(propName);
11721
+ if (required && !value && !error) {
11722
+ error = `${label} is required`;
11723
+ }
11724
+ return jsx("tr", {
11725
+ children: jsxs(PageReviewContainer, {
11726
+ colSpan: 3,
11727
+ children: [jsxs(ReviewHeader, {
11728
+ children: [jsxs(ReviewLabel, {
11729
+ children: [label, required && jsx(RequiredTextLabel, {
11730
+ children: " (required)"
11731
+ })]
11732
+ }), showButton && jsx(GoabButton, {
11733
+ type: "tertiary",
11734
+ size: "compact",
11735
+ onClick: () => formStepperCtx == null ? void 0 : formStepperCtx.goToPage(stepId),
11736
+ children: "Change"
11737
+ })]
11738
+ }), jsxs(ReviewValue, {
11739
+ children: [value, error && jsxs(WarningIconDiv, {
11740
+ children: [jsx(GoabIcon, {
11741
+ type: "warning",
11742
+ size: "small"
11743
+ }), (_error = error) != null && _error.includes('is a required property') || (_error2 = error) != null && _error2.includes('required property') ? `${label} is required` : error]
11744
+ })]
11745
+ })]
11452
11746
  })
11453
- })]
11454
- });
11747
+ });
11748
+ };
11455
11749
  return jsxs(Fragment, {
11456
- children: [jsxs("tr", {
11750
+ children: [jsx("tr", {
11457
11751
  "data-testid": "address-lookup-table-review",
11458
- children: [jsx(PageReviewNameCol, {
11459
- children: jsx("strong", {
11752
+ children: jsx(PageReviewContainer, {
11753
+ colSpan: 3,
11754
+ children: jsx(ReviewLabel, {
11460
11755
  children: `${isAlbertaAddress ? 'Alberta' : 'Canada'} postal address`
11461
11756
  })
11462
- }), jsx("td", {
11463
- style: {
11464
- verticalAlign: 'top'
11465
- }
11466
- }), jsx("td", {
11467
- className: "goa-table-width-limit"
11468
- })]
11469
- }), renderRow('Address line 1', data == null ? void 0 : data.addressLine1), (data == null ? void 0 : data.addressLine2) && renderRow('Address line 2', data.addressLine2), renderRow('City', data == null ? void 0 : data.municipality), renderRow('Postal Code', data == null ? void 0 : data.postalCode), renderRow('Province', provinceLabel), renderRow('Country', 'Canada')]
11757
+ })
11758
+ }), renderRow('Address line 1', data == null ? void 0 : data.addressLine1, 'addressLine1'), (data == null ? void 0 : data.addressLine2) && renderRow('Address line 2', data.addressLine2, 'addressLine2'), renderRow('City', data == null ? void 0 : data.municipality, 'municipality'), renderRow('Postal Code', data == null ? void 0 : data.postalCode, 'postalCode'), renderRow('Province', provinceLabel, 'subdivisionCode'), renderRow('Country', 'Canada', 'country', false)]
11470
11759
  });
11471
11760
  };
11472
11761
 
@@ -12078,10 +12367,10 @@ const GoABaseTableReviewRenderers$1 = [
12078
12367
  renderer: GoAInputBaseTableReviewControl
12079
12368
  }, {
12080
12369
  tester: GoAArrayControlTester,
12081
- renderer: GoAInputBaseTableReviewControl
12370
+ renderer: GoAArrayControlReviewRenderer
12082
12371
  }, {
12083
12372
  tester: GoAListWithDetailsTester,
12084
- renderer: GoAInputBaseTableReviewControl
12373
+ renderer: GoAArrayControlReviewRenderer
12085
12374
  }, {
12086
12375
  tester: FullNameDobTester,
12087
12376
  renderer: GoAInputBaseTableReviewControl
@@ -12100,6 +12389,9 @@ const GoABaseTableReviewRenderers$1 = [
12100
12389
  }, {
12101
12390
  tester: HelpContentTester,
12102
12391
  renderer: EmptyHelpContentRenderer
12392
+ }, {
12393
+ tester: GoACalloutControlTester,
12394
+ renderer: CalloutReviewControl
12103
12395
  }];
12104
12396
  [
12105
12397
  // controls
@@ -12147,10 +12439,10 @@ const GoABaseTableReviewRenderers$1 = [
12147
12439
  renderer: GoAInputBaseReviewControl
12148
12440
  }, {
12149
12441
  tester: GoAArrayControlTester,
12150
- renderer: GoAInputBaseTableReviewControl // Array might still need table or custom grid
12442
+ renderer: GoAArrayControlReviewRenderer // Array might still need table or custom grid
12151
12443
  }, {
12152
12444
  tester: GoAListWithDetailsTester,
12153
- renderer: GoAInputBaseTableReviewControl // List with details is complex
12445
+ renderer: GoAArrayControlReviewRenderer // List with details is complex
12154
12446
  }, {
12155
12447
  tester: AddressLookUpTester,
12156
12448
  renderer: withJsonFormsControlProps(AddressLookUpControlReview)
@@ -12166,6 +12458,9 @@ const GoABaseTableReviewRenderers$1 = [
12166
12458
  }, {
12167
12459
  tester: HelpContentTester,
12168
12460
  renderer: EmptyHelpContentRenderer
12461
+ }, {
12462
+ tester: GoACalloutControlTester,
12463
+ renderer: CalloutReviewControl
12169
12464
  }];
12170
12465
  const FormStepperReviewer = props => {
12171
12466
  var _uischema$options$com, _uischema$options, _componentProps$readO;
@@ -12186,43 +12481,61 @@ const FormStepperReviewer = props => {
12186
12481
  return jsx(ReviewItem, {
12187
12482
  children: categories.map((category, categoryIndex) => {
12188
12483
  const categoryLabel = category.label || category.i18n || 'Unknown Category';
12484
+ const hasVisibleContent = element => {
12485
+ if (!isVisible(element, data, '', ajv, undefined)) {
12486
+ return false;
12487
+ }
12488
+ if (element.type === 'HelpContent' || element.type === 'Callout') {
12489
+ return false;
12490
+ }
12491
+ if (element.elements && Array.isArray(element.elements)) {
12492
+ return element.elements.some(child => hasVisibleContent(child));
12493
+ }
12494
+ return true;
12495
+ };
12496
+ const elementsToRender = category.elements
12497
+ //eslint-disable-next-line
12498
+ .filter(field => {
12499
+ var _field$rule;
12500
+ if (!hasVisibleContent(field)) {
12501
+ return false;
12502
+ }
12503
+ const conditionProps = (_field$rule = field.rule) == null ? void 0 : _field$rule.condition;
12504
+ /* istanbul ignore next */
12505
+ if (conditionProps && data) {
12506
+ var _conditionProps$scope;
12507
+ const canHideControlParts = conditionProps == null || (_conditionProps$scope = conditionProps.scope) == null ? void 0 : _conditionProps$scope.split('/');
12508
+ const canHideControl = canHideControlParts && canHideControlParts[(canHideControlParts == null ? void 0 : canHideControlParts.length) - 1];
12509
+ const isHidden = getProperty(data, canHideControl);
12510
+ if (!isHidden) {
12511
+ return field;
12512
+ }
12513
+ return false;
12514
+ }
12515
+ return true;
12516
+ }).map(e => {
12517
+ const layout = e;
12518
+ if (rescopeMaps.some(scope => {
12519
+ var _layout$elements;
12520
+ return (_layout$elements = layout.elements) == null ? void 0 : _layout$elements.map(el => {
12521
+ const element = el;
12522
+ return element.scope;
12523
+ }).includes(scope);
12524
+ })) {
12525
+ return layout.elements;
12526
+ } else {
12527
+ return e;
12528
+ }
12529
+ }).flat();
12530
+ if (elementsToRender.length === 0) {
12531
+ return null;
12532
+ }
12189
12533
  return jsxs(ReviewItemSection, {
12190
12534
  children: [jsx(ReviewItemHeader, {
12191
12535
  children: jsx(ReviewItemTitle, {
12192
12536
  children: categoryLabel
12193
12537
  })
12194
- }), category.elements
12195
- //eslint-disable-next-line
12196
- .filter(field => {
12197
- var _field$rule;
12198
- // [TODO] we need to double check why we cannot hide the elements at the element level
12199
- const conditionProps = (_field$rule = field.rule) == null ? void 0 : _field$rule.condition;
12200
- /* istanbul ignore next */
12201
- if (conditionProps && data) {
12202
- var _conditionProps$scope;
12203
- const canHideControlParts = conditionProps == null || (_conditionProps$scope = conditionProps.scope) == null ? void 0 : _conditionProps$scope.split('/');
12204
- const canHideControl = canHideControlParts && canHideControlParts[(canHideControlParts == null ? void 0 : canHideControlParts.length) - 1];
12205
- const isHidden = getProperty(data, canHideControl);
12206
- if (!isHidden) {
12207
- return field;
12208
- }
12209
- } else {
12210
- return field;
12211
- }
12212
- }).map(e => {
12213
- const layout = e;
12214
- if (rescopeMaps.some(scope => {
12215
- var _layout$elements;
12216
- return (_layout$elements = layout.elements) == null ? void 0 : _layout$elements.map(el => {
12217
- const element = el;
12218
- return element.scope;
12219
- }).includes(scope);
12220
- })) {
12221
- return layout.elements;
12222
- } else {
12223
- return e;
12224
- }
12225
- }).flat().map((element, elementIndex) => {
12538
+ }), elementsToRender.map((element, elementIndex) => {
12226
12539
  const stepperElement = Object.assign({}, element);
12227
12540
  stepperElement.options = Object.assign({}, stepperElement.options, {
12228
12541
  stepId: categoryIndex
@@ -13528,10 +13841,10 @@ const AddressInputs = ({
13528
13841
  var $ = _export;
13529
13842
  var uncurryThis = functionUncurryThisClause;
13530
13843
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
13531
- var toLength = toLength$6;
13532
- var toString = toString$h;
13844
+ var toLength = toLength$7;
13845
+ var toString = toString$j;
13533
13846
  var notARegExp = notARegexp;
13534
- var requireObjectCoercible = requireObjectCoercible$c;
13847
+ var requireObjectCoercible = requireObjectCoercible$e;
13535
13848
  var correctIsRegExpLogic = correctIsRegexpLogic;
13536
13849
 
13537
13850
  var slice = uncurryThis(''.slice);
@@ -13722,7 +14035,7 @@ const AddressLookUpControl = props => {
13722
14035
  const updateFormData = updatedAddress => {
13723
14036
  handleChange(path, updatedAddress);
13724
14037
  };
13725
- const debouncedRenderAddress = useDebounce(searchTerm, 1000);
14038
+ const debouncedRenderAddress = useDebounce(searchTerm, 500);
13726
14039
  const [activeIndex, setActiveIndex] = useState(0);
13727
14040
  const dropdownRef = useRef(null);
13728
14041
  const handleInputChange = (field, value) => {