@abgov/jsonforms-components 1.43.9 → 1.43.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import React, { createContext, useContext, useReducer, useMemo, useEffect, useState, useRef, useCallback } from 'react';
3
3
  import { GoAFormItem, GoAInput, GoATextArea, GoACallout, GoAInputDate, GoAInputDateTime, GoAInputTime, GoARadioGroup, GoARadioItem, GoACheckbox, GoAGrid, GoAFormStepper, GoAFormStep, GoAPages, GoAButton, GoAModal, GoAButtonGroup, GoAIconButton, GoAFileUploadInput, GoACircularProgress, GoAContainer, GoATable, GoADropdown, GoADropdownItem, GoADetails, GoASpinner } from '@abgov/react-components';
4
- import { useJsonForms, withJsonFormsControlProps, withJsonFormsRendererProps, withJsonFormsEnumProps, withTranslateProps, JsonFormsDispatch, withJsonFormsLayoutProps, withJsonFormsArrayLayoutProps, withJsonFormsCellProps } from '@jsonforms/react';
5
4
  import styled from 'styled-components';
6
5
  import axios from 'axios';
7
6
  import get$1 from 'lodash/get';
8
7
  import { rankWith, isStringControl, and, optionIs, uiTypeIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, isEnumControl, isBooleanControl, getAjv, isVisible, isEnabled, deriveLabelForUISchemaElement, schemaTypeIs, formatIs, createDefaultValue, Paths, or, isObjectArrayControl, isPrimitiveArrayControl, isControl, isScoped, hasType, isCategorization, isLayout } from '@jsonforms/core';
8
+ import { withJsonFormsControlProps, withJsonFormsRendererProps, withJsonFormsEnumProps, withTranslateProps, useJsonForms, JsonFormsDispatch, withJsonFormsLayoutProps, withJsonFormsArrayLayoutProps, withJsonFormsCellProps } from '@jsonforms/react';
9
9
  import { isEqual, isEmpty as isEmpty$2, isObject as isObject$e } from 'lodash';
10
10
  import merge from 'lodash/merge';
11
11
  import isEmpty$1 from 'lodash/isEmpty';
@@ -1628,6 +1628,46 @@ $$l({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
1628
1628
  assign: assign
1629
1629
  });
1630
1630
 
1631
+ var NATIVE_BIND$1 = functionBindNative;
1632
+
1633
+ var FunctionPrototype = Function.prototype;
1634
+ var apply$4 = FunctionPrototype.apply;
1635
+ var call$e = FunctionPrototype.call;
1636
+
1637
+ // eslint-disable-next-line es/no-reflect -- safe
1638
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$e.bind(apply$4) : function () {
1639
+ return call$e.apply(apply$4, arguments);
1640
+ });
1641
+
1642
+ var defineProperty$1 = objectDefineProperty.f;
1643
+
1644
+ var proxyAccessor$2 = function (Target, Source, key) {
1645
+ key in Target || defineProperty$1(Target, key, {
1646
+ configurable: true,
1647
+ get: function () { return Source[key]; },
1648
+ set: function (it) { Source[key] = it; }
1649
+ });
1650
+ };
1651
+
1652
+ var isCallable$c = isCallable$q;
1653
+ var isObject$4 = isObject$d;
1654
+ var setPrototypeOf$2 = objectSetPrototypeOf;
1655
+
1656
+ // makes subclassing work correct for wrapped built-ins
1657
+ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
1658
+ var NewTarget, NewTargetPrototype;
1659
+ if (
1660
+ // it can work only with native `setPrototypeOf`
1661
+ setPrototypeOf$2 &&
1662
+ // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
1663
+ isCallable$c(NewTarget = dummy.constructor) &&
1664
+ NewTarget !== Wrapper &&
1665
+ isObject$4(NewTargetPrototype = NewTarget.prototype) &&
1666
+ NewTargetPrototype !== Wrapper.prototype
1667
+ ) setPrototypeOf$2($this, NewTargetPrototype);
1668
+ return $this;
1669
+ };
1670
+
1631
1671
  var wellKnownSymbol$c = wellKnownSymbol$j;
1632
1672
 
1633
1673
  var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
@@ -1638,7 +1678,7 @@ test[TO_STRING_TAG$1] = 'z';
1638
1678
  var toStringTagSupport = String(test) === '[object z]';
1639
1679
 
1640
1680
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1641
- var isCallable$c = isCallable$q;
1681
+ var isCallable$b = isCallable$q;
1642
1682
  var classofRaw$1 = classofRaw$2;
1643
1683
  var wellKnownSymbol$b = wellKnownSymbol$j;
1644
1684
 
@@ -1664,7 +1704,7 @@ var classof$9 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1664
1704
  // builtinTag case
1665
1705
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
1666
1706
  // ES3 arguments fallback
1667
- : (result = classofRaw$1(O)) === 'Object' && isCallable$c(O.callee) ? 'Arguments' : result;
1707
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
1668
1708
  };
1669
1709
 
1670
1710
  var classof$8 = classof$9;
@@ -1676,71 +1716,185 @@ var toString$e = function (argument) {
1676
1716
  return $String$1(argument);
1677
1717
  };
1678
1718
 
1679
- var makeBuiltIn = makeBuiltIn$3.exports;
1680
- var defineProperty$1 = objectDefineProperty;
1719
+ var toString$d = toString$e;
1681
1720
 
1682
- var defineBuiltInAccessor$3 = function (target, name, descriptor) {
1683
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1684
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1685
- return defineProperty$1.f(target, name, descriptor);
1721
+ var normalizeStringArgument$1 = function (argument, $default) {
1722
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$d(argument);
1723
+ };
1724
+
1725
+ var isObject$3 = isObject$d;
1726
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
1727
+
1728
+ // `InstallErrorCause` abstract operation
1729
+ // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
1730
+ var installErrorCause$1 = function (O, options) {
1731
+ if (isObject$3(options) && 'cause' in options) {
1732
+ createNonEnumerableProperty$4(O, 'cause', options.cause);
1733
+ }
1686
1734
  };
1687
1735
 
1688
- var $$k = _export;
1689
- var DESCRIPTORS$7 = descriptors;
1690
- var global$d = global$o;
1691
1736
  var uncurryThis$h = functionUncurryThis;
1737
+
1738
+ var $Error = Error;
1739
+ var replace$6 = uncurryThis$h(''.replace);
1740
+
1741
+ var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
1742
+ // eslint-disable-next-line redos/no-vulnerable -- safe
1743
+ var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
1744
+ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
1745
+
1746
+ var errorStackClear = function (stack, dropEntries) {
1747
+ if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
1748
+ while (dropEntries--) stack = replace$6(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
1749
+ } return stack;
1750
+ };
1751
+
1752
+ var fails$f = fails$r;
1753
+ var createPropertyDescriptor$1 = createPropertyDescriptor$5;
1754
+
1755
+ var errorStackInstallable = !fails$f(function () {
1756
+ var error = new Error('a');
1757
+ if (!('stack' in error)) return true;
1758
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1759
+ Object.defineProperty(error, 'stack', createPropertyDescriptor$1(1, 7));
1760
+ return error.stack !== 7;
1761
+ });
1762
+
1763
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
1764
+ var clearErrorStack = errorStackClear;
1765
+ var ERROR_STACK_INSTALLABLE = errorStackInstallable;
1766
+
1767
+ // non-standard V8
1768
+ var captureStackTrace = Error.captureStackTrace;
1769
+
1770
+ var errorStackInstall = function (error, C, stack, dropEntries) {
1771
+ if (ERROR_STACK_INSTALLABLE) {
1772
+ if (captureStackTrace) captureStackTrace(error, C);
1773
+ else createNonEnumerableProperty$3(error, 'stack', clearErrorStack(stack, dropEntries));
1774
+ }
1775
+ };
1776
+
1777
+ var getBuiltIn$5 = getBuiltIn$9;
1692
1778
  var hasOwn$4 = hasOwnProperty_1;
1693
- var isCallable$b = isCallable$q;
1779
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$9;
1694
1780
  var isPrototypeOf$5 = objectIsPrototypeOf;
1695
- var toString$d = toString$e;
1696
- var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
1781
+ var setPrototypeOf$1 = objectSetPrototypeOf;
1697
1782
  var copyConstructorProperties$1 = copyConstructorProperties$3;
1783
+ var proxyAccessor$1 = proxyAccessor$2;
1784
+ var inheritIfRequired$1 = inheritIfRequired$2;
1785
+ var normalizeStringArgument = normalizeStringArgument$1;
1786
+ var installErrorCause = installErrorCause$1;
1787
+ var installErrorStack = errorStackInstall;
1788
+ var DESCRIPTORS$7 = descriptors;
1698
1789
 
1699
- var NativeSymbol = global$d.Symbol;
1700
- var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1790
+ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
1791
+ var STACK_TRACE_LIMIT = 'stackTraceLimit';
1792
+ var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
1793
+ var path = FULL_NAME.split('.');
1794
+ var ERROR_NAME = path[path.length - 1];
1795
+ var OriginalError = getBuiltIn$5.apply(null, path);
1701
1796
 
1702
- if (DESCRIPTORS$7 && isCallable$b(NativeSymbol) && (!('description' in SymbolPrototype) ||
1703
- // Safari 12 bug
1704
- NativeSymbol().description !== undefined
1705
- )) {
1706
- var EmptyStringDescriptionStore = {};
1707
- // wrap Symbol constructor for correct work with undefined description
1708
- var SymbolWrapper = function Symbol() {
1709
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$d(arguments[0]);
1710
- var result = isPrototypeOf$5(SymbolPrototype, this)
1711
- ? new NativeSymbol(description)
1712
- // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
1713
- : description === undefined ? NativeSymbol() : NativeSymbol(description);
1714
- if (description === '') EmptyStringDescriptionStore[result] = true;
1797
+ if (!OriginalError) return;
1798
+
1799
+ var OriginalErrorPrototype = OriginalError.prototype;
1800
+
1801
+ // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
1802
+ if (hasOwn$4(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
1803
+
1804
+ if (!FORCED) return OriginalError;
1805
+
1806
+ var BaseError = getBuiltIn$5('Error');
1807
+
1808
+ var WrappedError = wrapper(function (a, b) {
1809
+ var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
1810
+ var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
1811
+ if (message !== undefined) createNonEnumerableProperty$2(result, 'message', message);
1812
+ installErrorStack(result, WrappedError, result.stack, 2);
1813
+ if (this && isPrototypeOf$5(OriginalErrorPrototype, this)) inheritIfRequired$1(result, this, WrappedError);
1814
+ if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
1715
1815
  return result;
1716
- };
1816
+ });
1717
1817
 
1718
- copyConstructorProperties$1(SymbolWrapper, NativeSymbol);
1719
- SymbolWrapper.prototype = SymbolPrototype;
1720
- SymbolPrototype.constructor = SymbolWrapper;
1818
+ WrappedError.prototype = OriginalErrorPrototype;
1721
1819
 
1722
- var NATIVE_SYMBOL$1 = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
1723
- var thisSymbolValue = uncurryThis$h(SymbolPrototype.valueOf);
1724
- var symbolDescriptiveString = uncurryThis$h(SymbolPrototype.toString);
1725
- var regexp = /^Symbol\((.*)\)[^)]+$/;
1726
- var replace$6 = uncurryThis$h(''.replace);
1727
- var stringSlice$6 = uncurryThis$h(''.slice);
1820
+ if (ERROR_NAME !== 'Error') {
1821
+ if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
1822
+ else copyConstructorProperties$1(WrappedError, BaseError, { name: true });
1823
+ } else if (DESCRIPTORS$7 && STACK_TRACE_LIMIT in OriginalError) {
1824
+ proxyAccessor$1(WrappedError, OriginalError, STACK_TRACE_LIMIT);
1825
+ proxyAccessor$1(WrappedError, OriginalError, 'prepareStackTrace');
1826
+ }
1728
1827
 
1729
- defineBuiltInAccessor$2(SymbolPrototype, 'description', {
1730
- configurable: true,
1731
- get: function description() {
1732
- var symbol = thisSymbolValue(this);
1733
- if (hasOwn$4(EmptyStringDescriptionStore, symbol)) return '';
1734
- var string = symbolDescriptiveString(symbol);
1735
- var desc = NATIVE_SYMBOL$1 ? stringSlice$6(string, 7, -1) : replace$6(string, regexp, '$1');
1736
- return desc === '' ? undefined : desc;
1828
+ copyConstructorProperties$1(WrappedError, OriginalError);
1829
+
1830
+ try {
1831
+ // Safari 13- bug: WebAssembly errors does not have a proper `.name`
1832
+ if (OriginalErrorPrototype.name !== ERROR_NAME) {
1833
+ createNonEnumerableProperty$2(OriginalErrorPrototype, 'name', ERROR_NAME);
1737
1834
  }
1738
- });
1835
+ OriginalErrorPrototype.constructor = WrappedError;
1836
+ } catch (error) { /* empty */ }
1739
1837
 
1740
- $$k({ global: true, constructor: true, forced: true }, {
1741
- Symbol: SymbolWrapper
1742
- });
1743
- }
1838
+ return WrappedError;
1839
+ };
1840
+
1841
+ /* eslint-disable no-unused-vars -- required for functions `.length` */
1842
+ var $$k = _export;
1843
+ var global$d = global$o;
1844
+ var apply$3 = functionApply;
1845
+ var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
1846
+
1847
+ var WEB_ASSEMBLY = 'WebAssembly';
1848
+ var WebAssembly = global$d[WEB_ASSEMBLY];
1849
+
1850
+ // eslint-disable-next-line es/no-error-cause -- feature detection
1851
+ var FORCED$3 = new Error('e', { cause: 7 }).cause !== 7;
1852
+
1853
+ var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
1854
+ var O = {};
1855
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$3);
1856
+ $$k({ global: true, constructor: true, arity: 1, forced: FORCED$3 }, O);
1857
+ };
1858
+
1859
+ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
1860
+ if (WebAssembly && WebAssembly[ERROR_NAME]) {
1861
+ var O = {};
1862
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$3);
1863
+ $$k({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$3 }, O);
1864
+ }
1865
+ };
1866
+
1867
+ // https://tc39.es/ecma262/#sec-nativeerror
1868
+ exportGlobalErrorCauseWrapper('Error', function (init) {
1869
+ return function Error(message) { return apply$3(init, this, arguments); };
1870
+ });
1871
+ exportGlobalErrorCauseWrapper('EvalError', function (init) {
1872
+ return function EvalError(message) { return apply$3(init, this, arguments); };
1873
+ });
1874
+ exportGlobalErrorCauseWrapper('RangeError', function (init) {
1875
+ return function RangeError(message) { return apply$3(init, this, arguments); };
1876
+ });
1877
+ exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
1878
+ return function ReferenceError(message) { return apply$3(init, this, arguments); };
1879
+ });
1880
+ exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
1881
+ return function SyntaxError(message) { return apply$3(init, this, arguments); };
1882
+ });
1883
+ exportGlobalErrorCauseWrapper('TypeError', function (init) {
1884
+ return function TypeError(message) { return apply$3(init, this, arguments); };
1885
+ });
1886
+ exportGlobalErrorCauseWrapper('URIError', function (init) {
1887
+ return function URIError(message) { return apply$3(init, this, arguments); };
1888
+ });
1889
+ exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
1890
+ return function CompileError(message) { return apply$3(init, this, arguments); };
1891
+ });
1892
+ exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
1893
+ return function LinkError(message) { return apply$3(init, this, arguments); };
1894
+ });
1895
+ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
1896
+ return function RuntimeError(message) { return apply$3(init, this, arguments); };
1897
+ });
1744
1898
 
1745
1899
  var $$j = _export;
1746
1900
  var toObject$3 = toObject$7;
@@ -1780,13 +1934,13 @@ var regexpFlags$1 = function () {
1780
1934
  return result;
1781
1935
  };
1782
1936
 
1783
- var fails$f = fails$r;
1937
+ var fails$e = fails$r;
1784
1938
  var global$c = global$o;
1785
1939
 
1786
1940
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1787
1941
  var $RegExp$2 = global$c.RegExp;
1788
1942
 
1789
- var UNSUPPORTED_Y$2 = fails$f(function () {
1943
+ var UNSUPPORTED_Y$2 = fails$e(function () {
1790
1944
  var re = $RegExp$2('a', 'y');
1791
1945
  re.lastIndex = 2;
1792
1946
  return re.exec('abcd') !== null;
@@ -1794,11 +1948,11 @@ var UNSUPPORTED_Y$2 = fails$f(function () {
1794
1948
 
1795
1949
  // UC Browser bug
1796
1950
  // https://github.com/zloirock/core-js/issues/1008
1797
- var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$f(function () {
1951
+ var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$e(function () {
1798
1952
  return !$RegExp$2('a', 'y').sticky;
1799
1953
  });
1800
1954
 
1801
- var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$f(function () {
1955
+ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$e(function () {
1802
1956
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1803
1957
  var re = $RegExp$2('^r', 'gy');
1804
1958
  re.lastIndex = 2;
@@ -1811,24 +1965,24 @@ var regexpStickyHelpers = {
1811
1965
  UNSUPPORTED_Y: UNSUPPORTED_Y$2
1812
1966
  };
1813
1967
 
1814
- var fails$e = fails$r;
1968
+ var fails$d = fails$r;
1815
1969
  var global$b = global$o;
1816
1970
 
1817
1971
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1818
1972
  var $RegExp$1 = global$b.RegExp;
1819
1973
 
1820
- var regexpUnsupportedDotAll = fails$e(function () {
1974
+ var regexpUnsupportedDotAll = fails$d(function () {
1821
1975
  var re = $RegExp$1('.', 's');
1822
1976
  return !(re.dotAll && re.test('\n') && re.flags === 's');
1823
1977
  });
1824
1978
 
1825
- var fails$d = fails$r;
1979
+ var fails$c = fails$r;
1826
1980
  var global$a = global$o;
1827
1981
 
1828
1982
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1829
1983
  var $RegExp = global$a.RegExp;
1830
1984
 
1831
- var regexpUnsupportedNcg = fails$d(function () {
1985
+ var regexpUnsupportedNcg = fails$c(function () {
1832
1986
  var re = $RegExp('(?<a>b)', 'g');
1833
1987
  return re.exec('b').groups.a !== 'b' ||
1834
1988
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -1836,7 +1990,7 @@ var regexpUnsupportedNcg = fails$d(function () {
1836
1990
 
1837
1991
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1838
1992
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1839
- var call$e = functionCall;
1993
+ var call$d = functionCall;
1840
1994
  var uncurryThis$g = functionUncurryThis;
1841
1995
  var toString$c = toString$e;
1842
1996
  var regexpFlags = regexpFlags$1;
@@ -1853,13 +2007,13 @@ var patchedExec = nativeExec;
1853
2007
  var charAt$6 = uncurryThis$g(''.charAt);
1854
2008
  var indexOf = uncurryThis$g(''.indexOf);
1855
2009
  var replace$5 = uncurryThis$g(''.replace);
1856
- var stringSlice$5 = uncurryThis$g(''.slice);
2010
+ var stringSlice$6 = uncurryThis$g(''.slice);
1857
2011
 
1858
2012
  var UPDATES_LAST_INDEX_WRONG = (function () {
1859
2013
  var re1 = /a/;
1860
2014
  var re2 = /b*/g;
1861
- call$e(nativeExec, re1, 'a');
1862
- call$e(nativeExec, re2, 'a');
2015
+ call$d(nativeExec, re1, 'a');
2016
+ call$d(nativeExec, re2, 'a');
1863
2017
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1864
2018
  })();
1865
2019
 
@@ -1880,14 +2034,14 @@ if (PATCH) {
1880
2034
 
1881
2035
  if (raw) {
1882
2036
  raw.lastIndex = re.lastIndex;
1883
- result = call$e(patchedExec, raw, str);
2037
+ result = call$d(patchedExec, raw, str);
1884
2038
  re.lastIndex = raw.lastIndex;
1885
2039
  return result;
1886
2040
  }
1887
2041
 
1888
2042
  var groups = state.groups;
1889
2043
  var sticky = UNSUPPORTED_Y$1 && re.sticky;
1890
- var flags = call$e(regexpFlags, re);
2044
+ var flags = call$d(regexpFlags, re);
1891
2045
  var source = re.source;
1892
2046
  var charsAdded = 0;
1893
2047
  var strCopy = str;
@@ -1898,7 +2052,7 @@ if (PATCH) {
1898
2052
  flags += 'g';
1899
2053
  }
1900
2054
 
1901
- strCopy = stringSlice$5(str, re.lastIndex);
2055
+ strCopy = stringSlice$6(str, re.lastIndex);
1902
2056
  // Support anchored sticky behavior.
1903
2057
  if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$6(str, re.lastIndex - 1) !== '\n')) {
1904
2058
  source = '(?: ' + source + ')';
@@ -1915,12 +2069,12 @@ if (PATCH) {
1915
2069
  }
1916
2070
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1917
2071
 
1918
- match = call$e(nativeExec, sticky ? reCopy : re, strCopy);
2072
+ match = call$d(nativeExec, sticky ? reCopy : re, strCopy);
1919
2073
 
1920
2074
  if (sticky) {
1921
2075
  if (match) {
1922
- match.input = stringSlice$5(match.input, charsAdded);
1923
- match[0] = stringSlice$5(match[0], charsAdded);
2076
+ match.input = stringSlice$6(match.input, charsAdded);
2077
+ match[0] = stringSlice$6(match[0], charsAdded);
1924
2078
  match.index = re.lastIndex;
1925
2079
  re.lastIndex += match[0].length;
1926
2080
  } else re.lastIndex = 0;
@@ -1930,7 +2084,7 @@ if (PATCH) {
1930
2084
  if (NPCG_INCLUDED && match && match.length > 1) {
1931
2085
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1932
2086
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
1933
- call$e(nativeReplace, match[0], reCopy, function () {
2087
+ call$d(nativeReplace, match[0], reCopy, function () {
1934
2088
  for (i = 1; i < arguments.length - 2; i++) {
1935
2089
  if (arguments[i] === undefined) match[i] = undefined;
1936
2090
  }
@@ -1963,7 +2117,7 @@ $$i({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
1963
2117
  // TODO: Remove from `core-js@4` since it's moved to entry points
1964
2118
 
1965
2119
  var $$h = _export;
1966
- var call$d = functionCall;
2120
+ var call$c = functionCall;
1967
2121
  var isCallable$a = isCallable$q;
1968
2122
  var anObject$9 = anObject$f;
1969
2123
  var toString$b = toString$e;
@@ -1987,15 +2141,15 @@ $$h({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1987
2141
  var R = anObject$9(this);
1988
2142
  var string = toString$b(S);
1989
2143
  var exec = R.exec;
1990
- if (!isCallable$a(exec)) return call$d(nativeTest, R, string);
1991
- var result = call$d(exec, R, string);
2144
+ if (!isCallable$a(exec)) return call$c(nativeTest, R, string);
2145
+ var result = call$c(exec, R, string);
1992
2146
  if (result === null) return false;
1993
2147
  anObject$9(result);
1994
2148
  return true;
1995
2149
  }
1996
2150
  });
1997
2151
 
1998
- var call$c = functionCall;
2152
+ var call$b = functionCall;
1999
2153
  var hasOwn$3 = hasOwnProperty_1;
2000
2154
  var isPrototypeOf$4 = objectIsPrototypeOf;
2001
2155
  var regExpFlags = regexpFlags$1;
@@ -2005,21 +2159,21 @@ var RegExpPrototype$4 = RegExp.prototype;
2005
2159
  var regexpGetFlags = function (R) {
2006
2160
  var flags = R.flags;
2007
2161
  return flags === undefined && !('flags' in RegExpPrototype$4) && !hasOwn$3(R, 'flags') && isPrototypeOf$4(RegExpPrototype$4, R)
2008
- ? call$c(regExpFlags, R) : flags;
2162
+ ? call$b(regExpFlags, R) : flags;
2009
2163
  };
2010
2164
 
2011
2165
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
2012
2166
  var defineBuiltIn$4 = defineBuiltIn$8;
2013
2167
  var anObject$8 = anObject$f;
2014
2168
  var $toString = toString$e;
2015
- var fails$c = fails$r;
2169
+ var fails$b = fails$r;
2016
2170
  var getRegExpFlags$1 = regexpGetFlags;
2017
2171
 
2018
2172
  var TO_STRING = 'toString';
2019
2173
  var RegExpPrototype$3 = RegExp.prototype;
2020
2174
  var nativeToString = RegExpPrototype$3[TO_STRING];
2021
2175
 
2022
- var NOT_GENERIC = fails$c(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
2176
+ var NOT_GENERIC = fails$b(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
2023
2177
  // FF44- RegExp#toString has a wrong name
2024
2178
  var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
2025
2179
 
@@ -2039,18 +2193,18 @@ var uncurryThis$f = functionUncurryThis;
2039
2193
  var requireObjectCoercible$7 = requireObjectCoercible$b;
2040
2194
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
2041
2195
  var toString$a = toString$e;
2042
- var fails$b = fails$r;
2196
+ var fails$a = fails$r;
2043
2197
 
2044
2198
  var charAt$5 = uncurryThis$f(''.charAt);
2045
2199
 
2046
- var FORCED$3 = fails$b(function () {
2200
+ var FORCED$2 = fails$a(function () {
2047
2201
  // eslint-disable-next-line es/no-array-string-prototype-at -- safe
2048
2202
  return '𠮷'.at(-2) !== '\uD842';
2049
2203
  });
2050
2204
 
2051
2205
  // `String.prototype.at` method
2052
2206
  // https://tc39.es/ecma262/#sec-string.prototype.at
2053
- $$g({ target: 'String', proto: true, forced: FORCED$3 }, {
2207
+ $$g({ target: 'String', proto: true, forced: FORCED$2 }, {
2054
2208
  at: function at(index) {
2055
2209
  var S = toString$a(requireObjectCoercible$7(this));
2056
2210
  var len = S.length;
@@ -2060,25 +2214,14 @@ $$g({ target: 'String', proto: true, forced: FORCED$3 }, {
2060
2214
  }
2061
2215
  });
2062
2216
 
2063
- var NATIVE_BIND$1 = functionBindNative;
2064
-
2065
- var FunctionPrototype = Function.prototype;
2066
- var apply$4 = FunctionPrototype.apply;
2067
- var call$b = FunctionPrototype.call;
2068
-
2069
- // eslint-disable-next-line es/no-reflect -- safe
2070
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$b.bind(apply$4) : function () {
2071
- return call$b.apply(apply$4, arguments);
2072
- });
2073
-
2074
2217
  // TODO: Remove from `core-js@4` since it's moved to entry points
2075
2218
 
2076
2219
  var call$a = functionCall;
2077
2220
  var defineBuiltIn$3 = defineBuiltIn$8;
2078
2221
  var regexpExec$1 = regexpExec$2;
2079
- var fails$a = fails$r;
2222
+ var fails$9 = fails$r;
2080
2223
  var wellKnownSymbol$a = wellKnownSymbol$j;
2081
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
2224
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
2082
2225
 
2083
2226
  var SPECIES$3 = wellKnownSymbol$a('species');
2084
2227
  var RegExpPrototype$2 = RegExp.prototype;
@@ -2086,14 +2229,14 @@ var RegExpPrototype$2 = RegExp.prototype;
2086
2229
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2087
2230
  var SYMBOL = wellKnownSymbol$a(KEY);
2088
2231
 
2089
- var DELEGATES_TO_SYMBOL = !fails$a(function () {
2232
+ var DELEGATES_TO_SYMBOL = !fails$9(function () {
2090
2233
  // String methods call symbol-named RegExp methods
2091
2234
  var O = {};
2092
2235
  O[SYMBOL] = function () { return 7; };
2093
2236
  return ''[KEY](O) !== 7;
2094
2237
  });
2095
2238
 
2096
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$a(function () {
2239
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$9(function () {
2097
2240
  // Symbol-named RegExp methods call .exec
2098
2241
  var execCalled = false;
2099
2242
  var re = /a/;
@@ -2144,7 +2287,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2144
2287
  defineBuiltIn$3(RegExpPrototype$2, SYMBOL, methods[1]);
2145
2288
  }
2146
2289
 
2147
- if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$2[SYMBOL], 'sham', true);
2290
+ if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$2[SYMBOL], 'sham', true);
2148
2291
  };
2149
2292
 
2150
2293
  var uncurryThis$e = functionUncurryThis;
@@ -2154,7 +2297,7 @@ var requireObjectCoercible$6 = requireObjectCoercible$b;
2154
2297
 
2155
2298
  var charAt$4 = uncurryThis$e(''.charAt);
2156
2299
  var charCodeAt$1 = uncurryThis$e(''.charCodeAt);
2157
- var stringSlice$4 = uncurryThis$e(''.slice);
2300
+ var stringSlice$5 = uncurryThis$e(''.slice);
2158
2301
 
2159
2302
  var createMethod$2 = function (CONVERT_TO_STRING) {
2160
2303
  return function ($this, pos) {
@@ -2170,7 +2313,7 @@ var createMethod$2 = function (CONVERT_TO_STRING) {
2170
2313
  ? charAt$4(S, position)
2171
2314
  : first
2172
2315
  : CONVERT_TO_STRING
2173
- ? stringSlice$4(S, position, position + 2)
2316
+ ? stringSlice$5(S, position, position + 2)
2174
2317
  : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
2175
2318
  };
2176
2319
  };
@@ -2198,7 +2341,7 @@ var toObject$2 = toObject$7;
2198
2341
  var floor = Math.floor;
2199
2342
  var charAt$2 = uncurryThis$d(''.charAt);
2200
2343
  var replace$4 = uncurryThis$d(''.replace);
2201
- var stringSlice$3 = uncurryThis$d(''.slice);
2344
+ var stringSlice$4 = uncurryThis$d(''.slice);
2202
2345
  // eslint-disable-next-line redos/no-vulnerable -- safe
2203
2346
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
2204
2347
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -2218,10 +2361,10 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2218
2361
  switch (charAt$2(ch, 0)) {
2219
2362
  case '$': return '$';
2220
2363
  case '&': return matched;
2221
- case '`': return stringSlice$3(str, 0, position);
2222
- case "'": return stringSlice$3(str, tailPos);
2364
+ case '`': return stringSlice$4(str, 0, position);
2365
+ case "'": return stringSlice$4(str, tailPos);
2223
2366
  case '<':
2224
- capture = namedCaptures[stringSlice$3(ch, 1, -1)];
2367
+ capture = namedCaptures[stringSlice$4(ch, 1, -1)];
2225
2368
  break;
2226
2369
  default: // \d\d?
2227
2370
  var n = +ch;
@@ -2259,11 +2402,11 @@ var regexpExecAbstract = function (R, S) {
2259
2402
  throw new $TypeError$b('RegExp#exec called on incompatible receiver');
2260
2403
  };
2261
2404
 
2262
- var apply$3 = functionApply;
2405
+ var apply$2 = functionApply;
2263
2406
  var call$8 = functionCall;
2264
2407
  var uncurryThis$c = functionUncurryThis;
2265
2408
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
2266
- var fails$9 = fails$r;
2409
+ var fails$8 = fails$r;
2267
2410
  var anObject$6 = anObject$f;
2268
2411
  var isCallable$8 = isCallable$q;
2269
2412
  var isNullOrUndefined$3 = isNullOrUndefined$6;
@@ -2283,7 +2426,7 @@ var min$2 = Math.min;
2283
2426
  var concat = uncurryThis$c([].concat);
2284
2427
  var push$1 = uncurryThis$c([].push);
2285
2428
  var stringIndexOf$2 = uncurryThis$c(''.indexOf);
2286
- var stringSlice$2 = uncurryThis$c(''.slice);
2429
+ var stringSlice$3 = uncurryThis$c(''.slice);
2287
2430
 
2288
2431
  var maybeToString = function (it) {
2289
2432
  return it === undefined ? it : String(it);
@@ -2304,7 +2447,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
2304
2447
  return false;
2305
2448
  })();
2306
2449
 
2307
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$9(function () {
2450
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$8(function () {
2308
2451
  var re = /./;
2309
2452
  re.exec = function () {
2310
2453
  var result = [];
@@ -2386,21 +2529,101 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2386
2529
  if (functionalReplace) {
2387
2530
  var replacerArgs = concat([matched], captures, position, S);
2388
2531
  if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
2389
- replacement = toString$8(apply$3(replaceValue, undefined, replacerArgs));
2532
+ replacement = toString$8(apply$2(replaceValue, undefined, replacerArgs));
2390
2533
  } else {
2391
2534
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
2392
2535
  }
2393
2536
  if (position >= nextSourcePosition) {
2394
- accumulatedResult += stringSlice$2(S, nextSourcePosition, position) + replacement;
2537
+ accumulatedResult += stringSlice$3(S, nextSourcePosition, position) + replacement;
2395
2538
  nextSourcePosition = position + matched.length;
2396
2539
  }
2397
2540
  }
2398
2541
 
2399
- return accumulatedResult + stringSlice$2(S, nextSourcePosition);
2542
+ return accumulatedResult + stringSlice$3(S, nextSourcePosition);
2400
2543
  }
2401
2544
  ];
2402
2545
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
2403
2546
 
2547
+ var classofRaw = classofRaw$2;
2548
+ var uncurryThis$b = functionUncurryThis;
2549
+
2550
+ var functionUncurryThisClause = function (fn) {
2551
+ // Nashorn bug:
2552
+ // https://github.com/zloirock/core-js/issues/1128
2553
+ // https://github.com/zloirock/core-js/issues/1130
2554
+ if (classofRaw(fn) === 'Function') return uncurryThis$b(fn);
2555
+ };
2556
+
2557
+ var isObject$2 = isObject$d;
2558
+ var classof$6 = classofRaw$2;
2559
+ var wellKnownSymbol$8 = wellKnownSymbol$j;
2560
+
2561
+ var MATCH$2 = wellKnownSymbol$8('match');
2562
+
2563
+ // `IsRegExp` abstract operation
2564
+ // https://tc39.es/ecma262/#sec-isregexp
2565
+ var isRegexp = function (it) {
2566
+ var isRegExp;
2567
+ return isObject$2(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$6(it) === 'RegExp');
2568
+ };
2569
+
2570
+ var isRegExp$1 = isRegexp;
2571
+
2572
+ var $TypeError$a = TypeError;
2573
+
2574
+ var notARegexp = function (it) {
2575
+ if (isRegExp$1(it)) {
2576
+ throw new $TypeError$a("The method doesn't accept regular expressions");
2577
+ } return it;
2578
+ };
2579
+
2580
+ var wellKnownSymbol$7 = wellKnownSymbol$j;
2581
+
2582
+ var MATCH$1 = wellKnownSymbol$7('match');
2583
+
2584
+ var correctIsRegexpLogic = function (METHOD_NAME) {
2585
+ var regexp = /./;
2586
+ try {
2587
+ '/./'[METHOD_NAME](regexp);
2588
+ } catch (error1) {
2589
+ try {
2590
+ regexp[MATCH$1] = false;
2591
+ return '/./'[METHOD_NAME](regexp);
2592
+ } catch (error2) { /* empty */ }
2593
+ } return false;
2594
+ };
2595
+
2596
+ var $$f = _export;
2597
+ var uncurryThis$a = functionUncurryThisClause;
2598
+ var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
2599
+ var toLength$2 = toLength$5;
2600
+ var toString$7 = toString$e;
2601
+ var notARegExp$2 = notARegexp;
2602
+ var requireObjectCoercible$4 = requireObjectCoercible$b;
2603
+ var correctIsRegExpLogic$2 = correctIsRegexpLogic;
2604
+
2605
+ var stringSlice$2 = uncurryThis$a(''.slice);
2606
+ var min$1 = Math.min;
2607
+
2608
+ var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$2('startsWith');
2609
+ // https://github.com/zloirock/core-js/pull/702
2610
+ var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
2611
+ var descriptor = getOwnPropertyDescriptor$3(String.prototype, 'startsWith');
2612
+ return descriptor && !descriptor.writable;
2613
+ }();
2614
+
2615
+ // `String.prototype.startsWith` method
2616
+ // https://tc39.es/ecma262/#sec-string.prototype.startswith
2617
+ $$f({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
2618
+ startsWith: function startsWith(searchString /* , position = 0 */) {
2619
+ var that = toString$7(requireObjectCoercible$4(this));
2620
+ notARegExp$2(searchString);
2621
+ var index = toLength$2(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length));
2622
+ var search = toString$7(searchString);
2623
+ return stringSlice$2(that, index, index + search.length) === search;
2624
+ }
2625
+ });
2626
+
2404
2627
  const sinTitle = 'Social insurance number';
2405
2628
  const invalidSin = 'Social insurance number is invalid';
2406
2629
 
@@ -2468,18 +2691,20 @@ const validateSinWithLuhn = input => {
2468
2691
  }
2469
2692
  return sum % 10 === 0;
2470
2693
  };
2471
- const checkFieldValidity = (props, ctx) => {
2472
- var _a, _b, _c, _d, _e;
2694
+ /**
2695
+ * Check if a required, defined input value is valid. Returns an appropriate
2696
+ * error message if not.
2697
+ * @param props
2698
+ * @returns error message
2699
+ */
2700
+ const checkFieldValidity = props => {
2473
2701
  const {
2474
2702
  data,
2475
2703
  errors: ajvErrors,
2476
2704
  required,
2477
2705
  label,
2478
2706
  uischema,
2479
- schema,
2480
- path,
2481
- id,
2482
- description
2707
+ schema
2483
2708
  } = props;
2484
2709
  const labelToUpdate = getLabelText(uischema.scope, label);
2485
2710
  const extraSchema = schema;
@@ -2491,32 +2716,7 @@ const checkFieldValidity = (props, ctx) => {
2491
2716
  }
2492
2717
  }
2493
2718
  if (required) {
2494
- if ((_a = ctx.core) === null || _a === void 0 ? void 0 : _a.ajv) {
2495
- const newError = {
2496
- instancePath: path,
2497
- message: ajvErrors,
2498
- schemaPath: id,
2499
- keyword: description || '',
2500
- params: {}
2501
- };
2502
- const index = (ctx.core.ajv.errors || []).findIndex(error => {
2503
- return (error === null || error === void 0 ? void 0 : error.schemaPath) === id;
2504
- });
2505
- if (schema && (isEmptyBoolean(schema, data) || isEmptyNumber(schema, data))) {
2506
- if (index > -1) {
2507
- (ctx.core.ajv.errors || [])[index] = newError;
2508
- } else {
2509
- ctx.core.ajv.errors = [...(ctx.core.ajv.errors || []), newError];
2510
- }
2511
- } else {
2512
- if (index > -1) {
2513
- delete (ctx.core.ajv.errors || [])[index];
2514
- }
2515
- }
2516
- }
2517
- if ((_c = (_b = ctx.core) === null || _b === void 0 ? void 0 : _b.ajv) === null || _c === void 0 ? void 0 : _c.errors) {
2518
- ctx.core.ajv.errors = (_e = (_d = ctx.core) === null || _d === void 0 ? void 0 : _d.ajv) === null || _e === void 0 ? void 0 : _e.errors.filter(e => e !== null);
2519
- }
2719
+ if (data === undefined) return '';
2520
2720
  if (schema) {
2521
2721
  if (isEmptyBoolean(schema, data)) {
2522
2722
  return `${labelToUpdate} is required`;
@@ -2540,6 +2740,33 @@ const isValidDate = function isValidDate(date) {
2540
2740
  return false;
2541
2741
  }
2542
2742
  };
2743
+ /**
2744
+ * Extracts the last segment from a JSON pointer string.
2745
+ *
2746
+ * @param pointer - The JSON pointer string (e.g., "#/properties/incomeThreshold").
2747
+ * @returns The last segment of the JSON pointer or undefined if the pointer is invalid.
2748
+ */
2749
+ const getLastSegmentFromPointer = pointer => {
2750
+ if (!pointer.startsWith('#/')) {
2751
+ throw new Error("Invalid JSON pointer. Must start with '#/'");
2752
+ }
2753
+ // Split the pointer into segments and return the last one
2754
+ const segments = pointer.split('/');
2755
+ return segments[segments.length - 1];
2756
+ };
2757
+ /**
2758
+ * Converts a camelCase or PascalCase string to a human-readable format
2759
+ * with each word capitalized.
2760
+ *
2761
+ * @param input - The camelCase or PascalCase string (e.g., "incomeThresholdExample").
2762
+ * @returns A formatted string with spaces and capitalization (e.g., "Income Threshold Example").
2763
+ */
2764
+ const convertToReadableFormat = input => {
2765
+ if (!input) {
2766
+ return input;
2767
+ }
2768
+ return input.replace(/([a-z])([A-Z])/g, '$1 $2').split(' ').map(word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()).join(' ');
2769
+ };
2543
2770
 
2544
2771
  const StepperContext = /*#__PURE__*/createContext({
2545
2772
  updateStatus: status => {},
@@ -2896,21 +3123,21 @@ const ADD_NO_ANONYMOUS_ACTION = 'jsonforms/register/no_anonymous';
2896
3123
  const ADD_DATALIST_ACTION = 'jsonforms/register/add_datalist_action';
2897
3124
  const ADD_REGISTER_DATA_ERROR = 'jsonforms/register/add_register_data_error';
2898
3125
 
2899
- var classof$6 = classofRaw$2;
3126
+ var classof$5 = classofRaw$2;
2900
3127
 
2901
3128
  // `IsArray` abstract operation
2902
3129
  // https://tc39.es/ecma262/#sec-isarray
2903
3130
  // eslint-disable-next-line es/no-array-isarray -- safe
2904
3131
  var isArray$2 = Array.isArray || function isArray(argument) {
2905
- return classof$6(argument) === 'Array';
3132
+ return classof$5(argument) === 'Array';
2906
3133
  };
2907
3134
 
2908
3135
  var DESCRIPTORS$6 = descriptors;
2909
3136
  var isArray$1 = isArray$2;
2910
3137
 
2911
- var $TypeError$a = TypeError;
3138
+ var $TypeError$9 = TypeError;
2912
3139
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2913
- var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
3140
+ var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
2914
3141
 
2915
3142
  // Safari < 13 does not throw an error in this case
2916
3143
  var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$6 && !function () {
@@ -2925,29 +3152,29 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$6 && !function () {
2925
3152
  }();
2926
3153
 
2927
3154
  var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2928
- if (isArray$1(O) && !getOwnPropertyDescriptor$3(O, 'length').writable) {
2929
- throw new $TypeError$a('Cannot set read only .length');
3155
+ if (isArray$1(O) && !getOwnPropertyDescriptor$2(O, 'length').writable) {
3156
+ throw new $TypeError$9('Cannot set read only .length');
2930
3157
  } return O.length = length;
2931
3158
  } : function (O, length) {
2932
3159
  return O.length = length;
2933
3160
  };
2934
3161
 
2935
- var $TypeError$9 = TypeError;
3162
+ var $TypeError$8 = TypeError;
2936
3163
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2937
3164
 
2938
3165
  var doesNotExceedSafeInteger$1 = function (it) {
2939
- if (it > MAX_SAFE_INTEGER) throw $TypeError$9('Maximum allowed index exceeded');
3166
+ if (it > MAX_SAFE_INTEGER) throw $TypeError$8('Maximum allowed index exceeded');
2940
3167
  return it;
2941
3168
  };
2942
3169
 
2943
- var $$f = _export;
3170
+ var $$e = _export;
2944
3171
  var toObject$1 = toObject$7;
2945
3172
  var lengthOfArrayLike$2 = lengthOfArrayLike$5;
2946
3173
  var setArrayLength = arraySetLength;
2947
3174
  var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2948
- var fails$8 = fails$r;
3175
+ var fails$7 = fails$r;
2949
3176
 
2950
- var INCORRECT_TO_LENGTH = fails$8(function () {
3177
+ var INCORRECT_TO_LENGTH = fails$7(function () {
2951
3178
  return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2952
3179
  });
2953
3180
 
@@ -2962,11 +3189,11 @@ var properErrorOnNonWritableLength = function () {
2962
3189
  }
2963
3190
  };
2964
3191
 
2965
- var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
3192
+ var FORCED$1 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2966
3193
 
2967
3194
  // `Array.prototype.push` method
2968
3195
  // https://tc39.es/ecma262/#sec-array.prototype.push
2969
- $$f({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
3196
+ $$e({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
2970
3197
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2971
3198
  push: function push(item) {
2972
3199
  var O = toObject$1(this);
@@ -3017,20 +3244,20 @@ function registerReducer(state, action) {
3017
3244
  return state;
3018
3245
  }
3019
3246
 
3020
- var $$e = _export;
3247
+ var $$d = _export;
3021
3248
  var $includes = arrayIncludes.includes;
3022
- var fails$7 = fails$r;
3249
+ var fails$6 = fails$r;
3023
3250
  var addToUnscopables = addToUnscopables$3;
3024
3251
 
3025
3252
  // FF99+ bug
3026
- var BROKEN_ON_SPARSE = fails$7(function () {
3253
+ var BROKEN_ON_SPARSE = fails$6(function () {
3027
3254
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
3028
3255
  return !Array(1).includes();
3029
3256
  });
3030
3257
 
3031
3258
  // `Array.prototype.includes` method
3032
3259
  // https://tc39.es/ecma262/#sec-array.prototype.includes
3033
- $$e({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
3260
+ $$d({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
3034
3261
  includes: function includes(el /* , fromIndex = 0 */) {
3035
3262
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
3036
3263
  }
@@ -3039,17 +3266,17 @@ $$e({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
3039
3266
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
3040
3267
  addToUnscopables('includes');
3041
3268
 
3042
- var uncurryThis$b = functionUncurryThis;
3269
+ var uncurryThis$9 = functionUncurryThis;
3043
3270
 
3044
- var arraySlice$2 = uncurryThis$b([].slice);
3271
+ var arraySlice$2 = uncurryThis$9([].slice);
3045
3272
 
3046
- var uncurryThis$a = functionUncurryThis;
3273
+ var uncurryThis$8 = functionUncurryThis;
3047
3274
  var isArray = isArray$2;
3048
3275
  var isCallable$7 = isCallable$q;
3049
- var classof$5 = classofRaw$2;
3050
- var toString$7 = toString$e;
3276
+ var classof$4 = classofRaw$2;
3277
+ var toString$6 = toString$e;
3051
3278
 
3052
- var push = uncurryThis$a([].push);
3279
+ var push = uncurryThis$8([].push);
3053
3280
 
3054
3281
  var getJsonReplacerFunction = function (replacer) {
3055
3282
  if (isCallable$7(replacer)) return replacer;
@@ -3059,7 +3286,7 @@ var getJsonReplacerFunction = function (replacer) {
3059
3286
  for (var i = 0; i < rawLength; i++) {
3060
3287
  var element = replacer[i];
3061
3288
  if (typeof element == 'string') push(keys, element);
3062
- else if (typeof element == 'number' || classof$5(element) === 'Number' || classof$5(element) === 'String') push(keys, toString$7(element));
3289
+ else if (typeof element == 'number' || classof$4(element) === 'Number' || classof$4(element) === 'String') push(keys, toString$6(element));
3063
3290
  }
3064
3291
  var keysLength = keys.length;
3065
3292
  var root = true;
@@ -3073,32 +3300,32 @@ var getJsonReplacerFunction = function (replacer) {
3073
3300
  };
3074
3301
  };
3075
3302
 
3076
- var $$d = _export;
3077
- var getBuiltIn$5 = getBuiltIn$9;
3078
- var apply$2 = functionApply;
3303
+ var $$c = _export;
3304
+ var getBuiltIn$4 = getBuiltIn$9;
3305
+ var apply$1 = functionApply;
3079
3306
  var call$7 = functionCall;
3080
- var uncurryThis$9 = functionUncurryThis;
3081
- var fails$6 = fails$r;
3307
+ var uncurryThis$7 = functionUncurryThis;
3308
+ var fails$5 = fails$r;
3082
3309
  var isCallable$6 = isCallable$q;
3083
3310
  var isSymbol = isSymbol$3;
3084
3311
  var arraySlice$1 = arraySlice$2;
3085
3312
  var getReplacerFunction = getJsonReplacerFunction;
3086
- var NATIVE_SYMBOL = symbolConstructorDetection;
3313
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
3087
3314
 
3088
3315
  var $String = String;
3089
- var $stringify = getBuiltIn$5('JSON', 'stringify');
3090
- var exec$2 = uncurryThis$9(/./.exec);
3091
- var charAt$1 = uncurryThis$9(''.charAt);
3092
- var charCodeAt = uncurryThis$9(''.charCodeAt);
3093
- var replace$3 = uncurryThis$9(''.replace);
3094
- var numberToString = uncurryThis$9(1.0.toString);
3316
+ var $stringify = getBuiltIn$4('JSON', 'stringify');
3317
+ var exec$2 = uncurryThis$7(/./.exec);
3318
+ var charAt$1 = uncurryThis$7(''.charAt);
3319
+ var charCodeAt = uncurryThis$7(''.charCodeAt);
3320
+ var replace$3 = uncurryThis$7(''.replace);
3321
+ var numberToString = uncurryThis$7(1.0.toString);
3095
3322
 
3096
3323
  var tester = /[\uD800-\uDFFF]/g;
3097
3324
  var low = /^[\uD800-\uDBFF]$/;
3098
3325
  var hi = /^[\uDC00-\uDFFF]$/;
3099
3326
 
3100
- var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$6(function () {
3101
- var symbol = getBuiltIn$5('Symbol')('stringify detection');
3327
+ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$5(function () {
3328
+ var symbol = getBuiltIn$4('Symbol')('stringify detection');
3102
3329
  // MS Edge converts symbol values to JSON as {}
3103
3330
  return $stringify([symbol]) !== '[null]'
3104
3331
  // WebKit converts symbol values to JSON as null
@@ -3108,7 +3335,7 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$6(function () {
3108
3335
  });
3109
3336
 
3110
3337
  // https://github.com/tc39/proposal-well-formed-stringify
3111
- var ILL_FORMED_UNICODE = fails$6(function () {
3338
+ var ILL_FORMED_UNICODE = fails$5(function () {
3112
3339
  return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
3113
3340
  || $stringify('\uDEAD') !== '"\\udead"';
3114
3341
  });
@@ -3122,7 +3349,7 @@ var stringifyWithSymbolsFix = function (it, replacer) {
3122
3349
  if (isCallable$6($replacer)) value = call$7($replacer, this, $String(key), value);
3123
3350
  if (!isSymbol(value)) return value;
3124
3351
  };
3125
- return apply$2($stringify, null, args);
3352
+ return apply$1($stringify, null, args);
3126
3353
  };
3127
3354
 
3128
3355
  var fixIllFormed = function (match, offset, string) {
@@ -3136,71 +3363,32 @@ var fixIllFormed = function (match, offset, string) {
3136
3363
  if ($stringify) {
3137
3364
  // `JSON.stringify` method
3138
3365
  // https://tc39.es/ecma262/#sec-json.stringify
3139
- $$d({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3366
+ $$c({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3140
3367
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3141
3368
  stringify: function stringify(it, replacer, space) {
3142
3369
  var args = arraySlice$1(arguments);
3143
- var result = apply$2(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
3370
+ var result = apply$1(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
3144
3371
  return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$3(result, tester, fixIllFormed) : result;
3145
3372
  }
3146
3373
  });
3147
3374
  }
3148
3375
 
3149
- var isObject$4 = isObject$d;
3150
- var classof$4 = classofRaw$2;
3151
- var wellKnownSymbol$8 = wellKnownSymbol$j;
3152
-
3153
- var MATCH$2 = wellKnownSymbol$8('match');
3154
-
3155
- // `IsRegExp` abstract operation
3156
- // https://tc39.es/ecma262/#sec-isregexp
3157
- var isRegexp = function (it) {
3158
- var isRegExp;
3159
- return isObject$4(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$4(it) === 'RegExp');
3160
- };
3161
-
3162
- var isRegExp$1 = isRegexp;
3163
-
3164
- var $TypeError$8 = TypeError;
3165
-
3166
- var notARegexp = function (it) {
3167
- if (isRegExp$1(it)) {
3168
- throw new $TypeError$8("The method doesn't accept regular expressions");
3169
- } return it;
3170
- };
3171
-
3172
- var wellKnownSymbol$7 = wellKnownSymbol$j;
3173
-
3174
- var MATCH$1 = wellKnownSymbol$7('match');
3175
-
3176
- var correctIsRegexpLogic = function (METHOD_NAME) {
3177
- var regexp = /./;
3178
- try {
3179
- '/./'[METHOD_NAME](regexp);
3180
- } catch (error1) {
3181
- try {
3182
- regexp[MATCH$1] = false;
3183
- return '/./'[METHOD_NAME](regexp);
3184
- } catch (error2) { /* empty */ }
3185
- } return false;
3186
- };
3187
-
3188
- var $$c = _export;
3189
- var uncurryThis$8 = functionUncurryThis;
3190
- var notARegExp$2 = notARegexp;
3191
- var requireObjectCoercible$4 = requireObjectCoercible$b;
3192
- var toString$6 = toString$e;
3193
- var correctIsRegExpLogic$2 = correctIsRegexpLogic;
3376
+ var $$b = _export;
3377
+ var uncurryThis$6 = functionUncurryThis;
3378
+ var notARegExp$1 = notARegexp;
3379
+ var requireObjectCoercible$3 = requireObjectCoercible$b;
3380
+ var toString$5 = toString$e;
3381
+ var correctIsRegExpLogic$1 = correctIsRegexpLogic;
3194
3382
 
3195
- var stringIndexOf$1 = uncurryThis$8(''.indexOf);
3383
+ var stringIndexOf$1 = uncurryThis$6(''.indexOf);
3196
3384
 
3197
3385
  // `String.prototype.includes` method
3198
3386
  // https://tc39.es/ecma262/#sec-string.prototype.includes
3199
- $$c({ target: 'String', proto: true, forced: !correctIsRegExpLogic$2('includes') }, {
3387
+ $$b({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
3200
3388
  includes: function includes(searchString /* , position = 0 */) {
3201
3389
  return !!~stringIndexOf$1(
3202
- toString$6(requireObjectCoercible$4(this)),
3203
- toString$6(notARegExp$2(searchString)),
3390
+ toString$5(requireObjectCoercible$3(this)),
3391
+ toString$5(notARegExp$1(searchString)),
3204
3392
  arguments.length > 1 ? arguments[1] : undefined
3205
3393
  );
3206
3394
  }
@@ -3248,47 +3436,27 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
3248
3436
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3249
3437
  };
3250
3438
 
3251
- var isCallable$5 = isCallable$q;
3252
- var isObject$3 = isObject$d;
3253
- var setPrototypeOf$2 = objectSetPrototypeOf;
3254
-
3255
- // makes subclassing work correct for wrapped built-ins
3256
- var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
3257
- var NewTarget, NewTargetPrototype;
3258
- if (
3259
- // it can work only with native `setPrototypeOf`
3260
- setPrototypeOf$2 &&
3261
- // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
3262
- isCallable$5(NewTarget = dummy.constructor) &&
3263
- NewTarget !== Wrapper &&
3264
- isObject$3(NewTargetPrototype = NewTarget.prototype) &&
3265
- NewTargetPrototype !== Wrapper.prototype
3266
- ) setPrototypeOf$2($this, NewTargetPrototype);
3267
- return $this;
3268
- };
3269
-
3270
- var defineProperty = objectDefineProperty.f;
3439
+ var makeBuiltIn = makeBuiltIn$3.exports;
3440
+ var defineProperty = objectDefineProperty;
3271
3441
 
3272
- var proxyAccessor$2 = function (Target, Source, key) {
3273
- key in Target || defineProperty(Target, key, {
3274
- configurable: true,
3275
- get: function () { return Source[key]; },
3276
- set: function (it) { Source[key] = it; }
3277
- });
3442
+ var defineBuiltInAccessor$3 = function (target, name, descriptor) {
3443
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
3444
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
3445
+ return defineProperty.f(target, name, descriptor);
3278
3446
  };
3279
3447
 
3280
- var getBuiltIn$4 = getBuiltIn$9;
3281
- var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
3448
+ var getBuiltIn$3 = getBuiltIn$9;
3449
+ var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
3282
3450
  var wellKnownSymbol$6 = wellKnownSymbol$j;
3283
3451
  var DESCRIPTORS$5 = descriptors;
3284
3452
 
3285
3453
  var SPECIES$2 = wellKnownSymbol$6('species');
3286
3454
 
3287
3455
  var setSpecies$2 = function (CONSTRUCTOR_NAME) {
3288
- var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
3456
+ var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
3289
3457
 
3290
3458
  if (DESCRIPTORS$5 && Constructor && !Constructor[SPECIES$2]) {
3291
- defineBuiltInAccessor$1(Constructor, SPECIES$2, {
3459
+ defineBuiltInAccessor$2(Constructor, SPECIES$2, {
3292
3460
  configurable: true,
3293
3461
  get: function () { return this; }
3294
3462
  });
@@ -3297,20 +3465,20 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
3297
3465
 
3298
3466
  var DESCRIPTORS$4 = descriptors;
3299
3467
  var global$9 = global$o;
3300
- var uncurryThis$7 = functionUncurryThis;
3468
+ var uncurryThis$5 = functionUncurryThis;
3301
3469
  var isForced$1 = isForced_1;
3302
- var inheritIfRequired$1 = inheritIfRequired$2;
3303
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
3470
+ var inheritIfRequired = inheritIfRequired$2;
3471
+ var createNonEnumerableProperty = createNonEnumerableProperty$9;
3304
3472
  var create = objectCreate;
3305
3473
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3306
3474
  var isPrototypeOf$3 = objectIsPrototypeOf;
3307
3475
  var isRegExp = isRegexp;
3308
- var toString$5 = toString$e;
3476
+ var toString$4 = toString$e;
3309
3477
  var getRegExpFlags = regexpGetFlags;
3310
3478
  var stickyHelpers = regexpStickyHelpers;
3311
- var proxyAccessor$1 = proxyAccessor$2;
3479
+ var proxyAccessor = proxyAccessor$2;
3312
3480
  var defineBuiltIn$2 = defineBuiltIn$8;
3313
- var fails$5 = fails$r;
3481
+ var fails$4 = fails$r;
3314
3482
  var hasOwn$2 = hasOwnProperty_1;
3315
3483
  var enforceInternalState = internalState.enforce;
3316
3484
  var setSpecies$1 = setSpecies$2;
@@ -3322,11 +3490,11 @@ var MATCH = wellKnownSymbol$5('match');
3322
3490
  var NativeRegExp = global$9.RegExp;
3323
3491
  var RegExpPrototype$1 = NativeRegExp.prototype;
3324
3492
  var SyntaxError = global$9.SyntaxError;
3325
- var exec$1 = uncurryThis$7(RegExpPrototype$1.exec);
3326
- var charAt = uncurryThis$7(''.charAt);
3327
- var replace$2 = uncurryThis$7(''.replace);
3328
- var stringIndexOf = uncurryThis$7(''.indexOf);
3329
- var stringSlice$1 = uncurryThis$7(''.slice);
3493
+ var exec$1 = uncurryThis$5(RegExpPrototype$1.exec);
3494
+ var charAt = uncurryThis$5(''.charAt);
3495
+ var replace$2 = uncurryThis$5(''.replace);
3496
+ var stringIndexOf = uncurryThis$5(''.indexOf);
3497
+ var stringSlice$1 = uncurryThis$5(''.slice);
3330
3498
  // TODO: Use only proper RegExpIdentifierName
3331
3499
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
3332
3500
  var re1 = /a/g;
@@ -3339,7 +3507,7 @@ var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
3339
3507
  var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
3340
3508
 
3341
3509
  var BASE_FORCED = DESCRIPTORS$4 &&
3342
- (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG || fails$5(function () {
3510
+ (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG || fails$4(function () {
3343
3511
  re2[MATCH] = false;
3344
3512
  // RegExp constructor can alter flags and IsRegExp works correct with @@match
3345
3513
  return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
@@ -3433,8 +3601,8 @@ if (isForced$1('RegExp', BASE_FORCED)) {
3433
3601
  if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
3434
3602
  }
3435
3603
 
3436
- pattern = pattern === undefined ? '' : toString$5(pattern);
3437
- flags = flags === undefined ? '' : toString$5(flags);
3604
+ pattern = pattern === undefined ? '' : toString$4(pattern);
3605
+ flags = flags === undefined ? '' : toString$4(flags);
3438
3606
  rawPattern = pattern;
3439
3607
 
3440
3608
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
@@ -3455,7 +3623,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
3455
3623
  groups = handled[1];
3456
3624
  }
3457
3625
 
3458
- result = inheritIfRequired$1(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$1, RegExpWrapper);
3626
+ result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$1, RegExpWrapper);
3459
3627
 
3460
3628
  if (dotAll || sticky || groups.length) {
3461
3629
  state = enforceInternalState(result);
@@ -3469,14 +3637,14 @@ if (isForced$1('RegExp', BASE_FORCED)) {
3469
3637
 
3470
3638
  if (pattern !== rawPattern) try {
3471
3639
  // fails in old engines, but we have no alternatives for unsupported regex syntax
3472
- createNonEnumerableProperty$3(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
3640
+ createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
3473
3641
  } catch (error) { /* empty */ }
3474
3642
 
3475
3643
  return result;
3476
3644
  };
3477
3645
 
3478
3646
  for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
3479
- proxyAccessor$1(RegExpWrapper, NativeRegExp, keys[index++]);
3647
+ proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
3480
3648
  }
3481
3649
 
3482
3650
  RegExpPrototype$1.constructor = RegExpWrapper;
@@ -3490,7 +3658,7 @@ setSpecies$1('RegExp');
3490
3658
  var DESCRIPTORS$3 = descriptors;
3491
3659
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
3492
3660
  var classof$3 = classofRaw$2;
3493
- var defineBuiltInAccessor = defineBuiltInAccessor$3;
3661
+ var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
3494
3662
  var getInternalState = internalState.get;
3495
3663
 
3496
3664
  var RegExpPrototype = RegExp.prototype;
@@ -3499,7 +3667,7 @@ var $TypeError$7 = TypeError;
3499
3667
  // `RegExp.prototype.dotAll` getter
3500
3668
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
3501
3669
  if (DESCRIPTORS$3 && UNSUPPORTED_DOT_ALL) {
3502
- defineBuiltInAccessor(RegExpPrototype, 'dotAll', {
3670
+ defineBuiltInAccessor$1(RegExpPrototype, 'dotAll', {
3503
3671
  configurable: true,
3504
3672
  get: function dotAll() {
3505
3673
  if (this === RegExpPrototype) return;
@@ -3726,8 +3894,7 @@ const GoAInputBaseControl = props => {
3726
3894
  } = props;
3727
3895
  const InnerComponent = input;
3728
3896
  const labelToUpdate = getLabelText(uischema.scope, label || '');
3729
- const ctx = useJsonForms();
3730
- let modifiedErrors = checkFieldValidity(props, ctx);
3897
+ let modifiedErrors = checkFieldValidity(props);
3731
3898
  if (modifiedErrors === 'must be equal to one of the allowed values') {
3732
3899
  modifiedErrors = '';
3733
3900
  }
@@ -3773,13 +3940,70 @@ const GoAInputBaseControl = props => {
3773
3940
  });
3774
3941
  };
3775
3942
 
3943
+ var $$a = _export;
3944
+ var DESCRIPTORS$2 = descriptors;
3945
+ var global$8 = global$o;
3946
+ var uncurryThis$4 = functionUncurryThis;
3947
+ var hasOwn$1 = hasOwnProperty_1;
3948
+ var isCallable$5 = isCallable$q;
3949
+ var isPrototypeOf$2 = objectIsPrototypeOf;
3950
+ var toString$3 = toString$e;
3951
+ var defineBuiltInAccessor = defineBuiltInAccessor$3;
3952
+ var copyConstructorProperties = copyConstructorProperties$3;
3953
+
3954
+ var NativeSymbol = global$8.Symbol;
3955
+ var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
3956
+
3957
+ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPrototype) ||
3958
+ // Safari 12 bug
3959
+ NativeSymbol().description !== undefined
3960
+ )) {
3961
+ var EmptyStringDescriptionStore = {};
3962
+ // wrap Symbol constructor for correct work with undefined description
3963
+ var SymbolWrapper = function Symbol() {
3964
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$3(arguments[0]);
3965
+ var result = isPrototypeOf$2(SymbolPrototype, this)
3966
+ ? new NativeSymbol(description)
3967
+ // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
3968
+ : description === undefined ? NativeSymbol() : NativeSymbol(description);
3969
+ if (description === '') EmptyStringDescriptionStore[result] = true;
3970
+ return result;
3971
+ };
3972
+
3973
+ copyConstructorProperties(SymbolWrapper, NativeSymbol);
3974
+ SymbolWrapper.prototype = SymbolPrototype;
3975
+ SymbolPrototype.constructor = SymbolWrapper;
3976
+
3977
+ var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
3978
+ var thisSymbolValue = uncurryThis$4(SymbolPrototype.valueOf);
3979
+ var symbolDescriptiveString = uncurryThis$4(SymbolPrototype.toString);
3980
+ var regexp = /^Symbol\((.*)\)[^)]+$/;
3981
+ var replace$1 = uncurryThis$4(''.replace);
3982
+ var stringSlice = uncurryThis$4(''.slice);
3983
+
3984
+ defineBuiltInAccessor(SymbolPrototype, 'description', {
3985
+ configurable: true,
3986
+ get: function description() {
3987
+ var symbol = thisSymbolValue(this);
3988
+ if (hasOwn$1(EmptyStringDescriptionStore, symbol)) return '';
3989
+ var string = symbolDescriptiveString(symbol);
3990
+ var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace$1(string, regexp, '$1');
3991
+ return desc === '' ? undefined : desc;
3992
+ }
3993
+ });
3994
+
3995
+ $$a({ global: true, constructor: true, forced: true }, {
3996
+ Symbol: SymbolWrapper
3997
+ });
3998
+ }
3999
+
3776
4000
  var call$6 = functionCall;
3777
4001
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
3778
4002
  var anObject$5 = anObject$f;
3779
4003
  var isNullOrUndefined$2 = isNullOrUndefined$6;
3780
- var toLength$2 = toLength$5;
3781
- var toString$4 = toString$e;
3782
- var requireObjectCoercible$3 = requireObjectCoercible$b;
4004
+ var toLength$1 = toLength$5;
4005
+ var toString$2 = toString$e;
4006
+ var requireObjectCoercible$2 = requireObjectCoercible$b;
3783
4007
  var getMethod$2 = getMethod$5;
3784
4008
  var advanceStringIndex = advanceStringIndex$2;
3785
4009
  var regExpExec = regexpExecAbstract;
@@ -3790,15 +4014,15 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
3790
4014
  // `String.prototype.match` method
3791
4015
  // https://tc39.es/ecma262/#sec-string.prototype.match
3792
4016
  function match(regexp) {
3793
- var O = requireObjectCoercible$3(this);
4017
+ var O = requireObjectCoercible$2(this);
3794
4018
  var matcher = isNullOrUndefined$2(regexp) ? undefined : getMethod$2(regexp, MATCH);
3795
- return matcher ? call$6(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$4(O));
4019
+ return matcher ? call$6(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$2(O));
3796
4020
  },
3797
4021
  // `RegExp.prototype[@@match]` method
3798
4022
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
3799
4023
  function (string) {
3800
4024
  var rx = anObject$5(this);
3801
- var S = toString$4(string);
4025
+ var S = toString$2(string);
3802
4026
  var res = maybeCallNative(nativeMatch, rx, S);
3803
4027
 
3804
4028
  if (res.done) return res.value;
@@ -3811,9 +4035,9 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
3811
4035
  var n = 0;
3812
4036
  var result;
3813
4037
  while ((result = regExpExec(rx, S)) !== null) {
3814
- var matchStr = toString$4(result[0]);
4038
+ var matchStr = toString$2(result[0]);
3815
4039
  A[n] = matchStr;
3816
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$2(rx.lastIndex), fullUnicode);
4040
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$1(rx.lastIndex), fullUnicode);
3817
4041
  n++;
3818
4042
  }
3819
4043
  return n === 0 ? null : A;
@@ -3848,8 +4072,7 @@ const GoAInputText = props => {
3848
4072
  } = props;
3849
4073
  const appliedUiSchemaOptions = Object.assign(Object.assign({}, config), uischema === null || uischema === void 0 ? void 0 : uischema.options);
3850
4074
  const placeholder = (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.placeholder) || (schema === null || schema === void 0 ? void 0 : schema.description) || '';
3851
- const ctx = useJsonForms();
3852
- const errorsFormInput = checkFieldValidity(props, ctx);
4075
+ const errorsFormInput = checkFieldValidity(props);
3853
4076
  const isSinField = schema.title === sinTitle;
3854
4077
  const autoCapitalize = ((_b = (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps) === null || _b === void 0 ? void 0 : _b.autoCapitalize) === true || ((_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.autoCapitalize) === true;
3855
4078
  const readOnly = (_f = (_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.readOnly) !== null && _f !== void 0 ? _f : false;
@@ -3922,8 +4145,7 @@ const MultiLineText = props => {
3922
4145
  const [textAreaValue, _] = React.useState(data);
3923
4146
  const appliedUiSchemaOptions = Object.assign(Object.assign({}, config), uischema === null || uischema === void 0 ? void 0 : uischema.options);
3924
4147
  const placeholder = (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.placeholder) || (schema === null || schema === void 0 ? void 0 : schema.description) || '';
3925
- const ctx = useJsonForms();
3926
- const errorsFormInput = checkFieldValidity(props, ctx);
4148
+ const errorsFormInput = checkFieldValidity(props);
3927
4149
  const width = (_c = (_b = (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps) === null || _b === void 0 ? void 0 : _b.readOnly) !== null && _c !== void 0 ? _c : '100%';
3928
4150
  const autoCapitalize = ((_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.autoCapitalize) === true || ((_f = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _f === void 0 ? void 0 : _f.autoCapitalize) === true;
3929
4151
  const readOnly = (_j = (_h = (_g = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _g === void 0 ? void 0 : _g.componentProps) === null || _h === void 0 ? void 0 : _h.readOnly) !== null && _j !== void 0 ? _j : false;
@@ -4036,7 +4258,6 @@ const reformatDateProps = props => {
4036
4258
  };
4037
4259
  const GoADateInput = props => {
4038
4260
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
4039
- const ctx = useJsonForms();
4040
4261
  const {
4041
4262
  data,
4042
4263
  config,
@@ -4059,7 +4280,7 @@ const GoADateInput = props => {
4059
4280
  return invalidDateFormat(uischema.scope, 'Max');
4060
4281
  }
4061
4282
  return jsx(GoAInputDate, Object.assign({
4062
- error: checkFieldValidity(props, ctx).length > 0,
4283
+ error: checkFieldValidity(props).length > 0,
4063
4284
  width: width,
4064
4285
  name: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.name) || `${id || label}-input`,
4065
4286
  value: standardizeDate(data) || '',
@@ -4120,8 +4341,7 @@ const GoANumberInput = props => {
4120
4341
  const MaxValue = clonedSchema.exclusiveMaximum ? clonedSchema.exclusiveMaximum : '';
4121
4342
  const readOnly = (_c = (_b = (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps) === null || _b === void 0 ? void 0 : _b.readOnly) !== null && _c !== void 0 ? _c : false;
4122
4343
  const width = (_f = (_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.width) !== null && _f !== void 0 ? _f : '100%';
4123
- const ctx = useJsonForms();
4124
- const errorsFormInput = checkFieldValidity(props, ctx);
4344
+ const errorsFormInput = checkFieldValidity(props);
4125
4345
  return jsx(GoAInput, Object.assign({
4126
4346
  type: "number",
4127
4347
  error: errorsFormInput.length > 0,
@@ -4189,8 +4409,7 @@ const GoAInputInteger = props => {
4189
4409
  const MaxValue = clonedSchema.exclusiveMaximum ? clonedSchema.exclusiveMaximum : '';
4190
4410
  const readOnly = (_c = (_b = (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps) === null || _b === void 0 ? void 0 : _b.readOnly) !== null && _c !== void 0 ? _c : false;
4191
4411
  const width = (_f = (_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.width) !== null && _f !== void 0 ? _f : '100%';
4192
- const ctx = useJsonForms();
4193
- const errorsFormInput = checkFieldValidity(props, ctx);
4412
+ const errorsFormInput = checkFieldValidity(props);
4194
4413
  return jsx(GoAInput, Object.assign({
4195
4414
  type: "number",
4196
4415
  error: errorsFormInput.length > 0,
@@ -4253,9 +4472,8 @@ const GoADateTimeInput = props => {
4253
4472
  const appliedUiSchemaOptions = Object.assign(Object.assign({}, config), uischema === null || uischema === void 0 ? void 0 : uischema.options);
4254
4473
  const readOnly = (_c = (_b = (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps) === null || _b === void 0 ? void 0 : _b.readOnly) !== null && _c !== void 0 ? _c : false;
4255
4474
  const width = (_f = (_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.width) !== null && _f !== void 0 ? _f : '100%';
4256
- const ctx = useJsonForms();
4257
4475
  return jsx(GoAInputDateTime, Object.assign({
4258
- error: checkFieldValidity(props, ctx).length > 0,
4476
+ error: checkFieldValidity(props).length > 0,
4259
4477
  width: width,
4260
4478
  name: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.name) || `${id || label}-input`,
4261
4479
  value: data ? new Date(data).toISOString() : '',
@@ -4310,8 +4528,7 @@ const GoATimeInput = props => {
4310
4528
  const appliedUiSchemaOptions = Object.assign(Object.assign({}, config), uischema === null || uischema === void 0 ? void 0 : uischema.options);
4311
4529
  (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.placeholder) || (schema === null || schema === void 0 ? void 0 : schema.description) || '';
4312
4530
  const readOnly = (_c = (_b = (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps) === null || _b === void 0 ? void 0 : _b.readOnly) !== null && _c !== void 0 ? _c : false;
4313
- const ctx = useJsonForms();
4314
- const errorsFormInput = checkFieldValidity(props, ctx);
4531
+ const errorsFormInput = checkFieldValidity(props);
4315
4532
  const width = (_f = (_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.readOnly) !== null && _f !== void 0 ? _f : '100%';
4316
4533
  return jsx(GoAInputTime, Object.assign({
4317
4534
  error: errorsFormInput.length > 0,
@@ -4349,66 +4566,25 @@ const GoATimeControl = props => jsx(GoAInputBaseControl, Object.assign({}, props
4349
4566
  const GoATimeControlTester = rankWith(4, isTimeControl);
4350
4567
  const GoAInputTimeControl = withJsonFormsControlProps(GoATimeControl);
4351
4568
 
4352
- var classofRaw = classofRaw$2;
4353
- var uncurryThis$6 = functionUncurryThis;
4354
-
4355
- var functionUncurryThisClause = function (fn) {
4356
- // Nashorn bug:
4357
- // https://github.com/zloirock/core-js/issues/1128
4358
- // https://github.com/zloirock/core-js/issues/1130
4359
- if (classofRaw(fn) === 'Function') return uncurryThis$6(fn);
4360
- };
4361
-
4362
- var $$b = _export;
4363
- var uncurryThis$5 = functionUncurryThisClause;
4364
- var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
4365
- var toLength$1 = toLength$5;
4366
- var toString$3 = toString$e;
4367
- var notARegExp$1 = notARegexp;
4368
- var requireObjectCoercible$2 = requireObjectCoercible$b;
4369
- var correctIsRegExpLogic$1 = correctIsRegexpLogic;
4370
-
4371
- var stringSlice = uncurryThis$5(''.slice);
4372
- var min$1 = Math.min;
4373
-
4374
- var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$1('startsWith');
4375
- // https://github.com/zloirock/core-js/pull/702
4376
- var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
4377
- var descriptor = getOwnPropertyDescriptor$2(String.prototype, 'startsWith');
4378
- return descriptor && !descriptor.writable;
4379
- }();
4380
-
4381
- // `String.prototype.startsWith` method
4382
- // https://tc39.es/ecma262/#sec-string.prototype.startswith
4383
- $$b({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
4384
- startsWith: function startsWith(searchString /* , position = 0 */) {
4385
- var that = toString$3(requireObjectCoercible$2(this));
4386
- notARegExp$1(searchString);
4387
- var index = toLength$1(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length));
4388
- var search = toString$3(searchString);
4389
- return stringSlice(that, index, index + search.length) === search;
4390
- }
4391
- });
4392
-
4393
4569
  // a string of all valid unicode whitespaces
4394
4570
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4395
4571
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
4396
4572
 
4397
- var uncurryThis$4 = functionUncurryThis;
4573
+ var uncurryThis$3 = functionUncurryThis;
4398
4574
  var requireObjectCoercible$1 = requireObjectCoercible$b;
4399
- var toString$2 = toString$e;
4575
+ var toString$1 = toString$e;
4400
4576
  var whitespaces$1 = whitespaces$2;
4401
4577
 
4402
- var replace$1 = uncurryThis$4(''.replace);
4578
+ var replace = uncurryThis$3(''.replace);
4403
4579
  var ltrim = RegExp('^[' + whitespaces$1 + ']+');
4404
4580
  var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
4405
4581
 
4406
4582
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
4407
4583
  var createMethod$1 = function (TYPE) {
4408
4584
  return function ($this) {
4409
- var string = toString$2(requireObjectCoercible$1($this));
4410
- if (TYPE & 1) string = replace$1(string, ltrim, '');
4411
- if (TYPE & 2) string = replace$1(string, rtrim, '$1');
4585
+ var string = toString$1(requireObjectCoercible$1($this));
4586
+ if (TYPE & 1) string = replace(string, ltrim, '');
4587
+ if (TYPE & 2) string = replace(string, rtrim, '$1');
4412
4588
  return string;
4413
4589
  };
4414
4590
  };
@@ -4426,7 +4602,7 @@ var stringTrim = {
4426
4602
  };
4427
4603
 
4428
4604
  var PROPER_FUNCTION_NAME = functionName.PROPER;
4429
- var fails$4 = fails$r;
4605
+ var fails$3 = fails$r;
4430
4606
  var whitespaces = whitespaces$2;
4431
4607
 
4432
4608
  var non = '\u200B\u0085\u180E';
@@ -4434,20 +4610,20 @@ var non = '\u200B\u0085\u180E';
4434
4610
  // check that a method works with the correct list
4435
4611
  // of whitespaces and has a correct name
4436
4612
  var stringTrimForced = function (METHOD_NAME) {
4437
- return fails$4(function () {
4613
+ return fails$3(function () {
4438
4614
  return !!whitespaces[METHOD_NAME]()
4439
4615
  || non[METHOD_NAME]() !== non
4440
4616
  || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
4441
4617
  });
4442
4618
  };
4443
4619
 
4444
- var $$a = _export;
4620
+ var $$9 = _export;
4445
4621
  var $trim = stringTrim.trim;
4446
4622
  var forcedStringTrimMethod = stringTrimForced;
4447
4623
 
4448
4624
  // `String.prototype.trim` method
4449
4625
  // https://tc39.es/ecma262/#sec-string.prototype.trim
4450
- $$a({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
4626
+ $$9({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
4451
4627
  trim: function trim() {
4452
4628
  return $trim(this);
4453
4629
  }
@@ -4875,8 +5051,7 @@ const RadioGroup = props => {
4875
5051
  } = props;
4876
5052
  const enumData = (schema === null || schema === void 0 ? void 0 : schema.enum) || [];
4877
5053
  const appliedUiSchemaOptions = merge({}, config, props.uischema.options, options);
4878
- const ctx = useJsonForms();
4879
- const errorsFormInput = checkFieldValidity(props, ctx);
5054
+ const errorsFormInput = checkFieldValidity(props);
4880
5055
  return jsx(GoARadioGroup, Object.assign({
4881
5056
  error: errorsFormInput.length > 0,
4882
5057
  name: `${options || appliedUiSchemaOptions.label}`,
@@ -4916,7 +5091,6 @@ const BooleanComponent = ({
4916
5091
  schema
4917
5092
  }) => {
4918
5093
  var _a, _b;
4919
- const ctx = useJsonForms();
4920
5094
  const errorsFormInput = checkFieldValidity({
4921
5095
  data,
4922
5096
  uischema,
@@ -4924,13 +5098,13 @@ const BooleanComponent = ({
4924
5098
  required,
4925
5099
  errors,
4926
5100
  schema
4927
- }, ctx);
5101
+ });
4928
5102
  const text = `${(schema === null || schema === void 0 ? void 0 : schema.title) || (schema === null || schema === void 0 ? void 0 : schema.description) ? (schema === null || schema === void 0 ? void 0 : schema.title) ? schema === null || schema === void 0 ? void 0 : schema.title : schema === null || schema === void 0 ? void 0 : schema.description : (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.text}${required ? ' (required)' : ''}`;
4929
5103
  return jsx(GoACheckbox, Object.assign({
4930
5104
  error: errorsFormInput.length > 0,
4931
5105
  testId: `${path}-checkbox-test-id`,
4932
5106
  disabled: !enabled,
4933
- text: text && text !== 'undefined' ? text : getLabelText(uischema.scope, label || ''),
5107
+ text: text && text !== 'undefined' ? text : convertToReadableFormat(getLastSegmentFromPointer(uischema.scope)),
4934
5108
  name: `${path}`,
4935
5109
  checked: data,
4936
5110
  onChange: (_, checked) => {
@@ -4967,14 +5141,13 @@ const BooleanRadioComponent = ({
4967
5141
  const TrueDescription = description || (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.descriptionForTrue);
4968
5142
  const FalseDescription = description || (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.descriptionForFalse);
4969
5143
  const BaseTestId = (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.testId) || `${path}-boolean-radio-jsonform`;
4970
- const ctx = useJsonForms();
4971
5144
  const errorsFormInput = checkFieldValidity({
4972
5145
  data,
4973
5146
  uischema,
4974
5147
  label,
4975
5148
  required,
4976
5149
  errors
4977
- }, ctx);
5150
+ });
4978
5151
  return jsx(Visible, {
4979
5152
  visible: visible,
4980
5153
  children: jsxs(GoARadioGroup, Object.assign({
@@ -5165,7 +5338,8 @@ let _$5 = t => t,
5165
5338
  _t7$1,
5166
5339
  _t8$1,
5167
5340
  _t9$1,
5168
- _t10$1;
5341
+ _t10$1,
5342
+ _t11$1;
5169
5343
  const ReviewItem = styled.div(_t$5 || (_t$5 = _$5`
5170
5344
  display: flex;
5171
5345
  flex-direction: column;
@@ -5179,8 +5353,8 @@ const ReviewItem = styled.div(_t$5 || (_t$5 = _$5`
5179
5353
  `));
5180
5354
  const ReviewItemSection = styled.div(_t2$3 || (_t2$3 = _$5`
5181
5355
  background-color: #f1f1f1;
5182
- margin-bottom: 1rem;
5183
- padding: 1rem;
5356
+ margin-bottom: var(--goa-space-m);
5357
+ padding: var(--goa-space-m);
5184
5358
  border: 1px solid #dcdcdc;
5185
5359
  border-radius: 5px;
5186
5360
  `));
@@ -5188,12 +5362,12 @@ const ReviewItemHeader = styled.div(_t3$3 || (_t3$3 = _$5`
5188
5362
  display: flex;
5189
5363
  align-items: center;
5190
5364
  justify-content: space-between;
5191
- margin-bottom: 2rem;
5365
+ margin-bottom: var(--goa-space-xl);
5192
5366
  `));
5193
5367
  const ReviewItemTitle = styled.div(_t4$2 || (_t4$2 = _$5`
5194
- font-size: var(--fs-xl);
5195
- line-height: var(--lh-lg);
5196
- font-weight: var(--fw-light);
5368
+ font-size: var(--goa-space-l);
5369
+ line-height: var(--goa-space-xl);
5370
+ font-weight: 300;
5197
5371
  `));
5198
5372
  const Anchor = styled.div(_t5$1 || (_t5$1 = _$5`
5199
5373
  color: #0070c4;
@@ -5224,186 +5398,13 @@ const RightAlignmentDiv = styled.div(_t10$1 || (_t10$1 = _$5`
5224
5398
  justify-content: flex-end;
5225
5399
  margin-bottom: var(--goa-space-l);
5226
5400
  `));
5227
-
5228
- var toString$1 = toString$e;
5229
-
5230
- var normalizeStringArgument$1 = function (argument, $default) {
5231
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString$1(argument);
5232
- };
5233
-
5234
- var isObject$2 = isObject$d;
5235
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$9;
5236
-
5237
- // `InstallErrorCause` abstract operation
5238
- // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
5239
- var installErrorCause$1 = function (O, options) {
5240
- if (isObject$2(options) && 'cause' in options) {
5241
- createNonEnumerableProperty$2(O, 'cause', options.cause);
5242
- }
5243
- };
5244
-
5245
- var uncurryThis$3 = functionUncurryThis;
5246
-
5247
- var $Error = Error;
5248
- var replace = uncurryThis$3(''.replace);
5249
-
5250
- var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
5251
- // eslint-disable-next-line redos/no-vulnerable -- safe
5252
- var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
5253
- var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
5254
-
5255
- var errorStackClear = function (stack, dropEntries) {
5256
- if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
5257
- while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
5258
- } return stack;
5259
- };
5260
-
5261
- var fails$3 = fails$r;
5262
- var createPropertyDescriptor$1 = createPropertyDescriptor$5;
5263
-
5264
- var errorStackInstallable = !fails$3(function () {
5265
- var error = new Error('a');
5266
- if (!('stack' in error)) return true;
5267
- // eslint-disable-next-line es/no-object-defineproperty -- safe
5268
- Object.defineProperty(error, 'stack', createPropertyDescriptor$1(1, 7));
5269
- return error.stack !== 7;
5270
- });
5271
-
5272
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
5273
- var clearErrorStack = errorStackClear;
5274
- var ERROR_STACK_INSTALLABLE = errorStackInstallable;
5275
-
5276
- // non-standard V8
5277
- var captureStackTrace = Error.captureStackTrace;
5278
-
5279
- var errorStackInstall = function (error, C, stack, dropEntries) {
5280
- if (ERROR_STACK_INSTALLABLE) {
5281
- if (captureStackTrace) captureStackTrace(error, C);
5282
- else createNonEnumerableProperty$1(error, 'stack', clearErrorStack(stack, dropEntries));
5283
- }
5284
- };
5285
-
5286
- var getBuiltIn$3 = getBuiltIn$9;
5287
- var hasOwn$1 = hasOwnProperty_1;
5288
- var createNonEnumerableProperty = createNonEnumerableProperty$9;
5289
- var isPrototypeOf$2 = objectIsPrototypeOf;
5290
- var setPrototypeOf$1 = objectSetPrototypeOf;
5291
- var copyConstructorProperties = copyConstructorProperties$3;
5292
- var proxyAccessor = proxyAccessor$2;
5293
- var inheritIfRequired = inheritIfRequired$2;
5294
- var normalizeStringArgument = normalizeStringArgument$1;
5295
- var installErrorCause = installErrorCause$1;
5296
- var installErrorStack = errorStackInstall;
5297
- var DESCRIPTORS$2 = descriptors;
5298
-
5299
- var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
5300
- var STACK_TRACE_LIMIT = 'stackTraceLimit';
5301
- var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
5302
- var path = FULL_NAME.split('.');
5303
- var ERROR_NAME = path[path.length - 1];
5304
- var OriginalError = getBuiltIn$3.apply(null, path);
5305
-
5306
- if (!OriginalError) return;
5307
-
5308
- var OriginalErrorPrototype = OriginalError.prototype;
5309
-
5310
- // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
5311
- if (hasOwn$1(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
5312
-
5313
- if (!FORCED) return OriginalError;
5314
-
5315
- var BaseError = getBuiltIn$3('Error');
5316
-
5317
- var WrappedError = wrapper(function (a, b) {
5318
- var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
5319
- var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
5320
- if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
5321
- installErrorStack(result, WrappedError, result.stack, 2);
5322
- if (this && isPrototypeOf$2(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
5323
- if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
5324
- return result;
5325
- });
5326
-
5327
- WrappedError.prototype = OriginalErrorPrototype;
5328
-
5329
- if (ERROR_NAME !== 'Error') {
5330
- if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
5331
- else copyConstructorProperties(WrappedError, BaseError, { name: true });
5332
- } else if (DESCRIPTORS$2 && STACK_TRACE_LIMIT in OriginalError) {
5333
- proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
5334
- proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
5335
- }
5336
-
5337
- copyConstructorProperties(WrappedError, OriginalError);
5338
-
5339
- try {
5340
- // Safari 13- bug: WebAssembly errors does not have a proper `.name`
5341
- if (OriginalErrorPrototype.name !== ERROR_NAME) {
5342
- createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
5343
- }
5344
- OriginalErrorPrototype.constructor = WrappedError;
5345
- } catch (error) { /* empty */ }
5346
-
5347
- return WrappedError;
5348
- };
5349
-
5350
- /* eslint-disable no-unused-vars -- required for functions `.length` */
5351
- var $$9 = _export;
5352
- var global$8 = global$o;
5353
- var apply$1 = functionApply;
5354
- var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
5355
-
5356
- var WEB_ASSEMBLY = 'WebAssembly';
5357
- var WebAssembly = global$8[WEB_ASSEMBLY];
5358
-
5359
- // eslint-disable-next-line es/no-error-cause -- feature detection
5360
- var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
5361
-
5362
- var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
5363
- var O = {};
5364
- O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
5365
- $$9({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
5366
- };
5367
-
5368
- var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
5369
- if (WebAssembly && WebAssembly[ERROR_NAME]) {
5370
- var O = {};
5371
- O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
5372
- $$9({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
5373
- }
5374
- };
5375
-
5376
- // https://tc39.es/ecma262/#sec-nativeerror
5377
- exportGlobalErrorCauseWrapper('Error', function (init) {
5378
- return function Error(message) { return apply$1(init, this, arguments); };
5379
- });
5380
- exportGlobalErrorCauseWrapper('EvalError', function (init) {
5381
- return function EvalError(message) { return apply$1(init, this, arguments); };
5382
- });
5383
- exportGlobalErrorCauseWrapper('RangeError', function (init) {
5384
- return function RangeError(message) { return apply$1(init, this, arguments); };
5385
- });
5386
- exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
5387
- return function ReferenceError(message) { return apply$1(init, this, arguments); };
5388
- });
5389
- exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
5390
- return function SyntaxError(message) { return apply$1(init, this, arguments); };
5391
- });
5392
- exportGlobalErrorCauseWrapper('TypeError', function (init) {
5393
- return function TypeError(message) { return apply$1(init, this, arguments); };
5394
- });
5395
- exportGlobalErrorCauseWrapper('URIError', function (init) {
5396
- return function URIError(message) { return apply$1(init, this, arguments); };
5397
- });
5398
- exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
5399
- return function CompileError(message) { return apply$1(init, this, arguments); };
5400
- });
5401
- exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
5402
- return function LinkError(message) { return apply$1(init, this, arguments); };
5403
- });
5404
- exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
5405
- return function RuntimeError(message) { return apply$1(init, this, arguments); };
5406
- });
5401
+ const FormStepperSummaryH3 = styled.h3(_t11$1 || (_t11$1 = _$5`
5402
+ flex: 1;
5403
+ margin-bottom: var(--goa-space-m);
5404
+ font-size: var(--goa-font-size-7);
5405
+ line-height: var(--goa-line-height-4);
5406
+ font-weight: var(--goa-font-weight-regular);
5407
+ `));
5407
5408
 
5408
5409
  class ContextProviderClass {
5409
5410
  addDataByUrl(key, url, processDataFunction, token) {
@@ -5870,11 +5871,7 @@ const FormStepper = props => {
5870
5871
  }, `${visibleCategoryLabels[index]}`);
5871
5872
  }), jsxs("div", {
5872
5873
  "data-testid": "summary_step-content",
5873
- children: [jsx("h3", {
5874
- style: {
5875
- flex: 1,
5876
- marginBottom: '1rem'
5877
- },
5874
+ children: [jsx(FormStepperSummaryH3, {
5878
5875
  children: summaryLabel
5879
5876
  }), jsx(FormStepperReviewer, Object.assign({
5880
5877
  navigationFunc: setPage
@@ -7565,7 +7562,7 @@ const SearchBox = styled.div(_t$1 || (_t$1 = _$1`
7565
7562
  overflow: hidden auto;
7566
7563
  }
7567
7564
  .suggestions li {
7568
- padding: 0.5rem;
7565
+ padding: var(--goa-space-2xs);
7569
7566
  color: var(--color-gray-900);
7570
7567
  }
7571
7568
  .suggestion-active,
@@ -7594,8 +7591,8 @@ const AddressIndent = styled.div(_t2 || (_t2 = _$1`
7594
7591
  margin: 1em 1.5em 0 1.5em;
7595
7592
  `));
7596
7593
  const LabelDiv = styled.div(_t3 || (_t3 = _$1`
7597
- font-size: var(--fs-sl);
7598
- padding-bottom: 1.5rem;
7594
+ font-size: var(--goa-font-size-2);
7595
+ padding-bottom: var(--goa-space-l);
7599
7596
  `));
7600
7597
  /* istanbul ignore next */
7601
7598
  const ListItem = styled.li(_t4 || (_t4 = _$1`