@abgov/jsonforms-components 1.33.2 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,10 +1,10 @@
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
- import { GoAFormItem, GoAInput, GoATextArea, GoACallout, GoAInputDate, GoAInputDateTime, GoAInputTime, GoARadioGroup, GoARadioItem, GoACheckbox, GoAGrid, GoAFormStepper, GoAFormStep, GoAPages, GoAButton, GoAModal, GoAButtonGroup, GoAIconButton, GoAFileUploadInput, GoACircularProgress, GoAContainer, GoADetails } from '@abgov/react-components';
3
+ import { GoAFormItem, GoAInput, GoATextArea, GoACallout, GoAInputDate, GoAInputDateTime, GoAInputTime, GoARadioGroup, GoARadioItem, GoACheckbox, GoAGrid, GoAFormStepper, GoAFormStep, GoAPages, GoAButton, GoAModal, GoAButtonGroup, GoAIconButton, GoAFileUploadInput, GoACircularProgress, GoAContainer, GoASkeleton, GoADetails } from '@abgov/react-components';
4
4
  import styled from 'styled-components';
5
5
  import axios from 'axios';
6
6
  import get$1 from 'lodash/get';
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, hasType, isControl, isCategorization, isLayout } from '@jsonforms/core';
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, scopeEndsWith, hasType, isControl, isCategorization, isLayout } from '@jsonforms/core';
8
8
  import { withJsonFormsControlProps, withJsonFormsRendererProps, withJsonFormsEnumProps, withTranslateProps, useJsonForms, JsonFormsDispatch, withJsonFormsLayoutProps, withJsonFormsArrayLayoutProps, withJsonFormsCellProps } from '@jsonforms/react';
9
9
  import { isEqual } from 'lodash';
10
10
  import merge from 'lodash/merge';
@@ -16,7 +16,7 @@ import addFormats from 'ajv-formats';
16
16
 
17
17
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
18
18
 
19
- var fails$q = function (exec) {
19
+ var fails$r = function (exec) {
20
20
  try {
21
21
  return !!exec();
22
22
  } catch (error) {
@@ -24,9 +24,9 @@ var fails$q = function (exec) {
24
24
  }
25
25
  };
26
26
 
27
- var fails$p = fails$q;
27
+ var fails$q = fails$r;
28
28
 
29
- var functionBindNative = !fails$p(function () {
29
+ var functionBindNative = !fails$q(function () {
30
30
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
31
31
  var test = (function () { /* empty */ }).bind();
32
32
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -45,24 +45,24 @@ var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
45
45
  };
46
46
  };
47
47
 
48
- var uncurryThis$p = functionUncurryThis;
48
+ var uncurryThis$q = functionUncurryThis;
49
49
 
50
- var toString$c = uncurryThis$p({}.toString);
51
- var stringSlice$7 = uncurryThis$p(''.slice);
50
+ var toString$d = uncurryThis$q({}.toString);
51
+ var stringSlice$7 = uncurryThis$q(''.slice);
52
52
 
53
53
  var classofRaw$2 = function (it) {
54
- return stringSlice$7(toString$c(it), 8, -1);
54
+ return stringSlice$7(toString$d(it), 8, -1);
55
55
  };
56
56
 
57
- var uncurryThis$o = functionUncurryThis;
58
- var fails$o = fails$q;
57
+ var uncurryThis$p = functionUncurryThis;
58
+ var fails$p = fails$r;
59
59
  var classof$a = classofRaw$2;
60
60
 
61
61
  var $Object$4 = Object;
62
- var split = uncurryThis$o(''.split);
62
+ var split = uncurryThis$p(''.split);
63
63
 
64
64
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
65
- var indexedObject = fails$o(function () {
65
+ var indexedObject = fails$p(function () {
66
66
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
67
67
  // eslint-disable-next-line no-prototype-builtins -- safe
68
68
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -82,17 +82,17 @@ var $TypeError$i = TypeError;
82
82
 
83
83
  // `RequireObjectCoercible` abstract operation
84
84
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
85
- var requireObjectCoercible$7 = function (it) {
85
+ var requireObjectCoercible$8 = function (it) {
86
86
  if (isNullOrUndefined$4(it)) throw new $TypeError$i("Can't call method on " + it);
87
87
  return it;
88
88
  };
89
89
 
90
90
  // toObject with fallback for non-array-like ES3 strings
91
91
  var IndexedObject$2 = indexedObject;
92
- var requireObjectCoercible$6 = requireObjectCoercible$7;
92
+ var requireObjectCoercible$7 = requireObjectCoercible$8;
93
93
 
94
94
  var toIndexedObject$5 = function (it) {
95
- return IndexedObject$2(requireObjectCoercible$6(it));
95
+ return IndexedObject$2(requireObjectCoercible$7(it));
96
96
  };
97
97
 
98
98
  var check = function (it) {
@@ -146,20 +146,20 @@ var shared$4 = function (key, value) {
146
146
  return store$2[key] || (store$2[key] = value || {});
147
147
  };
148
148
 
149
- var requireObjectCoercible$5 = requireObjectCoercible$7;
149
+ var requireObjectCoercible$6 = requireObjectCoercible$8;
150
150
 
151
151
  var $Object$3 = Object;
152
152
 
153
153
  // `ToObject` abstract operation
154
154
  // https://tc39.es/ecma262/#sec-toobject
155
155
  var toObject$7 = function (argument) {
156
- return $Object$3(requireObjectCoercible$5(argument));
156
+ return $Object$3(requireObjectCoercible$6(argument));
157
157
  };
158
158
 
159
- var uncurryThis$n = functionUncurryThis;
159
+ var uncurryThis$o = functionUncurryThis;
160
160
  var toObject$6 = toObject$7;
161
161
 
162
- var hasOwnProperty = uncurryThis$n({}.hasOwnProperty);
162
+ var hasOwnProperty = uncurryThis$o({}.hasOwnProperty);
163
163
 
164
164
  // `HasOwnProperty` abstract operation
165
165
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -168,14 +168,14 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
168
168
  return hasOwnProperty(toObject$6(it), key);
169
169
  };
170
170
 
171
- var uncurryThis$m = functionUncurryThis;
171
+ var uncurryThis$n = functionUncurryThis;
172
172
 
173
173
  var id = 0;
174
174
  var postfix = Math.random();
175
- var toString$b = uncurryThis$m(1.0.toString);
175
+ var toString$c = uncurryThis$n(1.0.toString);
176
176
 
177
177
  var uid$2 = function (key) {
178
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$b(++id + postfix, 36);
178
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$c(++id + postfix, 36);
179
179
  };
180
180
 
181
181
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
@@ -210,13 +210,13 @@ var engineV8Version = version;
210
210
 
211
211
  /* eslint-disable es/no-symbol -- required for testing */
212
212
  var V8_VERSION$1 = engineV8Version;
213
- var fails$n = fails$q;
213
+ var fails$o = fails$r;
214
214
  var global$l = global$o;
215
215
 
216
216
  var $String$6 = global$l.String;
217
217
 
218
218
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
219
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$n(function () {
219
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$o(function () {
220
220
  var symbol = Symbol('symbol detection');
221
221
  // Chrome 38 Symbol has incorrect toString conversion
222
222
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -284,20 +284,20 @@ var anObject$e = function (argument) {
284
284
 
285
285
  var objectDefineProperties = {};
286
286
 
287
- var fails$m = fails$q;
287
+ var fails$n = fails$r;
288
288
 
289
289
  // Detect IE8's incomplete defineProperty implementation
290
- var descriptors = !fails$m(function () {
290
+ var descriptors = !fails$n(function () {
291
291
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
292
292
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
293
293
  });
294
294
 
295
295
  var DESCRIPTORS$g = descriptors;
296
- var fails$l = fails$q;
296
+ var fails$m = fails$r;
297
297
 
298
298
  // V8 ~ Chrome 36-
299
299
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
300
- var v8PrototypeDefineBug = DESCRIPTORS$g && fails$l(function () {
300
+ var v8PrototypeDefineBug = DESCRIPTORS$g && fails$m(function () {
301
301
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
302
302
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
303
303
  value: 42,
@@ -319,11 +319,11 @@ var documentCreateElement$2 = function (it) {
319
319
  };
320
320
 
321
321
  var DESCRIPTORS$f = descriptors;
322
- var fails$k = fails$q;
322
+ var fails$l = fails$r;
323
323
  var createElement$1 = documentCreateElement$2;
324
324
 
325
325
  // Thanks to IE8 for its funny defineProperty
326
- var ie8DomDefine = !DESCRIPTORS$f && !fails$k(function () {
326
+ var ie8DomDefine = !DESCRIPTORS$f && !fails$l(function () {
327
327
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
328
328
  return Object.defineProperty(createElement$1('div'), 'a', {
329
329
  get: function () { return 7; }
@@ -349,9 +349,9 @@ var getBuiltIn$9 = function (namespace, method) {
349
349
  return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method];
350
350
  };
351
351
 
352
- var uncurryThis$l = functionUncurryThis;
352
+ var uncurryThis$m = functionUncurryThis;
353
353
 
354
- var objectIsPrototypeOf = uncurryThis$l({}.isPrototypeOf);
354
+ var objectIsPrototypeOf = uncurryThis$m({}.isPrototypeOf);
355
355
 
356
356
  var getBuiltIn$8 = getBuiltIn$9;
357
357
  var isCallable$n = isCallable$q;
@@ -552,7 +552,7 @@ var toAbsoluteIndex = toAbsoluteIndex$1;
552
552
  var lengthOfArrayLike$4 = lengthOfArrayLike$5;
553
553
 
554
554
  // `Array.prototype.{ indexOf, includes }` methods implementation
555
- var createMethod$2 = function (IS_INCLUDES) {
555
+ var createMethod$3 = function (IS_INCLUDES) {
556
556
  return function ($this, el, fromIndex) {
557
557
  var O = toIndexedObject$4($this);
558
558
  var length = lengthOfArrayLike$4(O);
@@ -575,21 +575,21 @@ var createMethod$2 = function (IS_INCLUDES) {
575
575
  var arrayIncludes = {
576
576
  // `Array.prototype.includes` method
577
577
  // https://tc39.es/ecma262/#sec-array.prototype.includes
578
- includes: createMethod$2(true),
578
+ includes: createMethod$3(true),
579
579
  // `Array.prototype.indexOf` method
580
580
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
581
- indexOf: createMethod$2(false)
581
+ indexOf: createMethod$3(false)
582
582
  };
583
583
 
584
584
  var hiddenKeys$4 = {};
585
585
 
586
- var uncurryThis$k = functionUncurryThis;
586
+ var uncurryThis$l = functionUncurryThis;
587
587
  var hasOwn$c = hasOwnProperty_1;
588
588
  var toIndexedObject$3 = toIndexedObject$5;
589
589
  var indexOf$1 = arrayIncludes.indexOf;
590
590
  var hiddenKeys$3 = hiddenKeys$4;
591
591
 
592
- var push$2 = uncurryThis$k([].push);
592
+ var push$2 = uncurryThis$l([].push);
593
593
 
594
594
  var objectKeysInternal = function (object, names) {
595
595
  var O = toIndexedObject$3(object);
@@ -925,11 +925,11 @@ var functionName = {
925
925
  CONFIGURABLE: CONFIGURABLE
926
926
  };
927
927
 
928
- var uncurryThis$j = functionUncurryThis;
928
+ var uncurryThis$k = functionUncurryThis;
929
929
  var isCallable$j = isCallable$q;
930
930
  var store = sharedStore.exports;
931
931
 
932
- var functionToString = uncurryThis$j(Function.toString);
932
+ var functionToString = uncurryThis$k(Function.toString);
933
933
 
934
934
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
935
935
  if (!isCallable$j(store.inspectSource)) {
@@ -940,8 +940,8 @@ if (!isCallable$j(store.inspectSource)) {
940
940
 
941
941
  var inspectSource$3 = store.inspectSource;
942
942
 
943
- var uncurryThis$i = functionUncurryThis;
944
- var fails$j = fails$q;
943
+ var uncurryThis$j = functionUncurryThis;
944
+ var fails$k = fails$r;
945
945
  var isCallable$i = isCallable$q;
946
946
  var hasOwn$8 = hasOwnProperty_1;
947
947
  var DESCRIPTORS$9 = descriptors;
@@ -954,11 +954,11 @@ var getInternalState$3 = InternalStateModule$2.get;
954
954
  var $String$3 = String;
955
955
  // eslint-disable-next-line es/no-object-defineproperty -- safe
956
956
  var defineProperty$5 = Object.defineProperty;
957
- var stringSlice$6 = uncurryThis$i(''.slice);
958
- var replace$6 = uncurryThis$i(''.replace);
959
- var join = uncurryThis$i([].join);
957
+ var stringSlice$6 = uncurryThis$j(''.slice);
958
+ var replace$7 = uncurryThis$j(''.replace);
959
+ var join = uncurryThis$j([].join);
960
960
 
961
- var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$j(function () {
961
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$k(function () {
962
962
  return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
963
963
  });
964
964
 
@@ -966,7 +966,7 @@ var TEMPLATE = String(String).split('String');
966
966
 
967
967
  var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
968
968
  if (stringSlice$6($String$3(name), 0, 7) === 'Symbol(') {
969
- name = '[' + replace$6($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
969
+ name = '[' + replace$7($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
970
970
  }
971
971
  if (options && options.getter) name = 'get ' + name;
972
972
  if (options && options.setter) name = 'set ' + name;
@@ -1043,12 +1043,12 @@ var objectGetOwnPropertySymbols = {};
1043
1043
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1044
1044
 
1045
1045
  var getBuiltIn$6 = getBuiltIn$9;
1046
- var uncurryThis$h = functionUncurryThis;
1046
+ var uncurryThis$i = functionUncurryThis;
1047
1047
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1048
1048
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1049
1049
  var anObject$a = anObject$e;
1050
1050
 
1051
- var concat$2 = uncurryThis$h([].concat);
1051
+ var concat$2 = uncurryThis$i([].concat);
1052
1052
 
1053
1053
  // all object keys, includes non-enumerable and symbols
1054
1054
  var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -1074,7 +1074,7 @@ var copyConstructorProperties$3 = function (target, source, exceptions) {
1074
1074
  }
1075
1075
  };
1076
1076
 
1077
- var fails$i = fails$q;
1077
+ var fails$j = fails$r;
1078
1078
  var isCallable$g = isCallable$q;
1079
1079
 
1080
1080
  var replacement = /#|\.prototype\./;
@@ -1083,7 +1083,7 @@ var isForced$3 = function (feature, detection) {
1083
1083
  var value = data[normalize(feature)];
1084
1084
  return value === POLYFILL ? true
1085
1085
  : value === NATIVE ? false
1086
- : isCallable$g(detection) ? fails$i(detection)
1086
+ : isCallable$g(detection) ? fails$j(detection)
1087
1087
  : !!detection;
1088
1088
  };
1089
1089
 
@@ -1152,9 +1152,9 @@ var _export = function (options, source) {
1152
1152
  }
1153
1153
  };
1154
1154
 
1155
- var fails$h = fails$q;
1155
+ var fails$i = fails$r;
1156
1156
 
1157
- var correctPrototypeGetter = !fails$h(function () {
1157
+ var correctPrototypeGetter = !fails$i(function () {
1158
1158
  function F() { /* empty */ }
1159
1159
  F.prototype.constructor = null;
1160
1160
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1183,7 +1183,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
1183
1183
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1184
1184
  };
1185
1185
 
1186
- var fails$g = fails$q;
1186
+ var fails$h = fails$r;
1187
1187
  var isCallable$e = isCallable$q;
1188
1188
  var isObject$7 = isObject$d;
1189
1189
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -1208,7 +1208,7 @@ if ([].keys) {
1208
1208
  }
1209
1209
  }
1210
1210
 
1211
- var NEW_ITERATOR_PROTOTYPE = !isObject$7(IteratorPrototype$2) || fails$g(function () {
1211
+ var NEW_ITERATOR_PROTOTYPE = !isObject$7(IteratorPrototype$2) || fails$h(function () {
1212
1212
  var test = {};
1213
1213
  // FF44- legacy iterators case
1214
1214
  return IteratorPrototype$2[ITERATOR$5].call(test) !== test;
@@ -1258,13 +1258,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1258
1258
  return IteratorConstructor;
1259
1259
  };
1260
1260
 
1261
- var uncurryThis$g = functionUncurryThis;
1261
+ var uncurryThis$h = functionUncurryThis;
1262
1262
  var aCallable$7 = aCallable$9;
1263
1263
 
1264
1264
  var functionUncurryThisAccessor = function (object, key, method) {
1265
1265
  try {
1266
1266
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1267
- return uncurryThis$g(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1267
+ return uncurryThis$h(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1268
1268
  } catch (error) { /* empty */ }
1269
1269
  };
1270
1270
 
@@ -1287,7 +1287,7 @@ var aPossiblePrototype$1 = function (argument) {
1287
1287
  /* eslint-disable no-proto -- safe */
1288
1288
  var uncurryThisAccessor = functionUncurryThisAccessor;
1289
1289
  var isObject$5 = isObject$d;
1290
- var requireObjectCoercible$4 = requireObjectCoercible$7;
1290
+ var requireObjectCoercible$5 = requireObjectCoercible$8;
1291
1291
  var aPossiblePrototype = aPossiblePrototype$1;
1292
1292
 
1293
1293
  // `Object.setPrototypeOf` method
@@ -1304,7 +1304,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1304
1304
  CORRECT_SETTER = test instanceof Array;
1305
1305
  } catch (error) { /* empty */ }
1306
1306
  return function setPrototypeOf(O, proto) {
1307
- requireObjectCoercible$4(O);
1307
+ requireObjectCoercible$5(O);
1308
1308
  aPossiblePrototype(proto);
1309
1309
  if (!isObject$5(O)) return O;
1310
1310
  if (CORRECT_SETTER) setter(O, proto);
@@ -1313,7 +1313,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1313
1313
  };
1314
1314
  }() : undefined);
1315
1315
 
1316
- var $$i = _export;
1316
+ var $$j = _export;
1317
1317
  var call$f = functionCall;
1318
1318
  var FunctionName = functionName;
1319
1319
  var isCallable$d = isCallable$q;
@@ -1327,7 +1327,7 @@ var wellKnownSymbol$e = wellKnownSymbol$j;
1327
1327
  var Iterators$3 = iterators;
1328
1328
  var IteratorsCore = iteratorsCore;
1329
1329
 
1330
- var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1330
+ var PROPER_FUNCTION_NAME$2 = FunctionName.PROPER;
1331
1331
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1332
1332
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1333
1333
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
@@ -1381,7 +1381,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1381
1381
  }
1382
1382
 
1383
1383
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1384
- if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1384
+ if (PROPER_FUNCTION_NAME$2 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1385
1385
  if (CONFIGURABLE_FUNCTION_NAME) {
1386
1386
  createNonEnumerableProperty$6(IterablePrototype, 'name', VALUES);
1387
1387
  } else {
@@ -1401,7 +1401,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1401
1401
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1402
1402
  defineBuiltIn$5(IterablePrototype, KEY, methods[KEY]);
1403
1403
  }
1404
- } else $$i({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1404
+ } else $$j({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1405
1405
  }
1406
1406
 
1407
1407
  // define iterator
@@ -1562,9 +1562,9 @@ for (var COLLECTION_NAME in DOMIterables) {
1562
1562
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1563
1563
 
1564
1564
  var DESCRIPTORS$7 = descriptors;
1565
- var uncurryThis$f = functionUncurryThis;
1565
+ var uncurryThis$g = functionUncurryThis;
1566
1566
  var call$e = functionCall;
1567
- var fails$f = fails$q;
1567
+ var fails$g = fails$r;
1568
1568
  var objectKeys = objectKeys$2;
1569
1569
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1570
1570
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1575,11 +1575,11 @@ var IndexedObject$1 = indexedObject;
1575
1575
  var $assign = Object.assign;
1576
1576
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1577
1577
  var defineProperty$2 = Object.defineProperty;
1578
- var concat$1 = uncurryThis$f([].concat);
1578
+ var concat$1 = uncurryThis$g([].concat);
1579
1579
 
1580
1580
  // `Object.assign` method
1581
1581
  // https://tc39.es/ecma262/#sec-object.assign
1582
- var objectAssign = !$assign || fails$f(function () {
1582
+ var objectAssign = !$assign || fails$g(function () {
1583
1583
  // should have correct order of operations (Edge bug)
1584
1584
  if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
1585
1585
  enumerable: true,
@@ -1618,23 +1618,23 @@ var objectAssign = !$assign || fails$f(function () {
1618
1618
  } return T;
1619
1619
  } : $assign;
1620
1620
 
1621
- var $$h = _export;
1621
+ var $$i = _export;
1622
1622
  var assign = objectAssign;
1623
1623
 
1624
1624
  // `Object.assign` method
1625
1625
  // https://tc39.es/ecma262/#sec-object.assign
1626
1626
  // eslint-disable-next-line es/no-object-assign -- required for testing
1627
- $$h({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1627
+ $$i({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1628
1628
  assign: assign
1629
1629
  });
1630
1630
 
1631
- let _$8 = t => t,
1632
- _t$8;
1633
- const FormFieldWrapper = styled.div(_t$8 || (_t$8 = _$8`
1631
+ let _$9 = t => t,
1632
+ _t$9;
1633
+ const FormFieldWrapper = styled.div(_t$9 || (_t$9 = _$9`
1634
1634
  margin-bottom: var(--goa-space-l);
1635
1635
  `));
1636
1636
 
1637
- var $$g = _export;
1637
+ var $$h = _export;
1638
1638
  var toObject$3 = toObject$7;
1639
1639
  var lengthOfArrayLike$3 = lengthOfArrayLike$5;
1640
1640
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
@@ -1642,7 +1642,7 @@ var addToUnscopables$1 = addToUnscopables$3;
1642
1642
 
1643
1643
  // `Array.prototype.at` method
1644
1644
  // https://tc39.es/ecma262/#sec-array.prototype.at
1645
- $$g({ target: 'Array', proto: true }, {
1645
+ $$h({ target: 'Array', proto: true }, {
1646
1646
  at: function at(index) {
1647
1647
  var O = toObject$3(this);
1648
1648
  var len = lengthOfArrayLike$3(O);
@@ -1697,7 +1697,7 @@ var classof$8 = classof$9;
1697
1697
 
1698
1698
  var $String$1 = String;
1699
1699
 
1700
- var toString$a = function (argument) {
1700
+ var toString$b = function (argument) {
1701
1701
  if (classof$8(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1702
1702
  return $String$1(argument);
1703
1703
  };
@@ -1720,13 +1720,13 @@ var regexpFlags$1 = function () {
1720
1720
  return result;
1721
1721
  };
1722
1722
 
1723
- var fails$e = fails$q;
1723
+ var fails$f = fails$r;
1724
1724
  var global$d = global$o;
1725
1725
 
1726
1726
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1727
1727
  var $RegExp$2 = global$d.RegExp;
1728
1728
 
1729
- var UNSUPPORTED_Y$2 = fails$e(function () {
1729
+ var UNSUPPORTED_Y$2 = fails$f(function () {
1730
1730
  var re = $RegExp$2('a', 'y');
1731
1731
  re.lastIndex = 2;
1732
1732
  return re.exec('abcd') !== null;
@@ -1734,11 +1734,11 @@ var UNSUPPORTED_Y$2 = fails$e(function () {
1734
1734
 
1735
1735
  // UC Browser bug
1736
1736
  // https://github.com/zloirock/core-js/issues/1008
1737
- var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$e(function () {
1737
+ var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$f(function () {
1738
1738
  return !$RegExp$2('a', 'y').sticky;
1739
1739
  });
1740
1740
 
1741
- var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$e(function () {
1741
+ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$f(function () {
1742
1742
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1743
1743
  var re = $RegExp$2('^r', 'gy');
1744
1744
  re.lastIndex = 2;
@@ -1751,24 +1751,24 @@ var regexpStickyHelpers = {
1751
1751
  UNSUPPORTED_Y: UNSUPPORTED_Y$2
1752
1752
  };
1753
1753
 
1754
- var fails$d = fails$q;
1754
+ var fails$e = fails$r;
1755
1755
  var global$c = global$o;
1756
1756
 
1757
1757
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1758
1758
  var $RegExp$1 = global$c.RegExp;
1759
1759
 
1760
- var regexpUnsupportedDotAll = fails$d(function () {
1760
+ var regexpUnsupportedDotAll = fails$e(function () {
1761
1761
  var re = $RegExp$1('.', 's');
1762
1762
  return !(re.dotAll && re.test('\n') && re.flags === 's');
1763
1763
  });
1764
1764
 
1765
- var fails$c = fails$q;
1765
+ var fails$d = fails$r;
1766
1766
  var global$b = global$o;
1767
1767
 
1768
1768
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1769
1769
  var $RegExp = global$b.RegExp;
1770
1770
 
1771
- var regexpUnsupportedNcg = fails$c(function () {
1771
+ var regexpUnsupportedNcg = fails$d(function () {
1772
1772
  var re = $RegExp('(?<a>b)', 'g');
1773
1773
  return re.exec('b').groups.a !== 'b' ||
1774
1774
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -1777,8 +1777,8 @@ var regexpUnsupportedNcg = fails$c(function () {
1777
1777
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1778
1778
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1779
1779
  var call$d = functionCall;
1780
- var uncurryThis$e = functionUncurryThis;
1781
- var toString$9 = toString$a;
1780
+ var uncurryThis$f = functionUncurryThis;
1781
+ var toString$a = toString$b;
1782
1782
  var regexpFlags = regexpFlags$1;
1783
1783
  var stickyHelpers$1 = regexpStickyHelpers;
1784
1784
  var shared = shared$4;
@@ -1790,10 +1790,10 @@ var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
1790
1790
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
1791
1791
  var nativeExec = RegExp.prototype.exec;
1792
1792
  var patchedExec = nativeExec;
1793
- var charAt$6 = uncurryThis$e(''.charAt);
1794
- var indexOf = uncurryThis$e(''.indexOf);
1795
- var replace$5 = uncurryThis$e(''.replace);
1796
- var stringSlice$5 = uncurryThis$e(''.slice);
1793
+ var charAt$6 = uncurryThis$f(''.charAt);
1794
+ var indexOf = uncurryThis$f(''.indexOf);
1795
+ var replace$6 = uncurryThis$f(''.replace);
1796
+ var stringSlice$5 = uncurryThis$f(''.slice);
1797
1797
 
1798
1798
  var UPDATES_LAST_INDEX_WRONG = (function () {
1799
1799
  var re1 = /a/;
@@ -1814,7 +1814,7 @@ if (PATCH) {
1814
1814
  patchedExec = function exec(string) {
1815
1815
  var re = this;
1816
1816
  var state = getInternalState$1(re);
1817
- var str = toString$9(string);
1817
+ var str = toString$a(string);
1818
1818
  var raw = state.raw;
1819
1819
  var result, reCopy, lastIndex, match, i, object, group;
1820
1820
 
@@ -1833,7 +1833,7 @@ if (PATCH) {
1833
1833
  var strCopy = str;
1834
1834
 
1835
1835
  if (sticky) {
1836
- flags = replace$5(flags, 'y', '');
1836
+ flags = replace$6(flags, 'y', '');
1837
1837
  if (indexOf(flags, 'g') === -1) {
1838
1838
  flags += 'g';
1839
1839
  }
@@ -1891,22 +1891,22 @@ if (PATCH) {
1891
1891
 
1892
1892
  var regexpExec$2 = patchedExec;
1893
1893
 
1894
- var $$f = _export;
1894
+ var $$g = _export;
1895
1895
  var exec$3 = regexpExec$2;
1896
1896
 
1897
1897
  // `RegExp.prototype.exec` method
1898
1898
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1899
- $$f({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
1899
+ $$g({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
1900
1900
  exec: exec$3
1901
1901
  });
1902
1902
 
1903
1903
  // TODO: Remove from `core-js@4` since it's moved to entry points
1904
1904
 
1905
- var $$e = _export;
1905
+ var $$f = _export;
1906
1906
  var call$c = functionCall;
1907
1907
  var isCallable$b = isCallable$q;
1908
1908
  var anObject$8 = anObject$e;
1909
- var toString$8 = toString$a;
1909
+ var toString$9 = toString$b;
1910
1910
 
1911
1911
  var DELEGATES_TO_EXEC = function () {
1912
1912
  var execCalled = false;
@@ -1922,10 +1922,10 @@ var nativeTest = /./.test;
1922
1922
 
1923
1923
  // `RegExp.prototype.test` method
1924
1924
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
1925
- $$e({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1925
+ $$f({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1926
1926
  test: function (S) {
1927
1927
  var R = anObject$8(this);
1928
- var string = toString$8(S);
1928
+ var string = toString$9(S);
1929
1929
  var exec = R.exec;
1930
1930
  if (!isCallable$b(exec)) return call$c(nativeTest, R, string);
1931
1931
  var result = call$c(exec, R, string);
@@ -1948,20 +1948,20 @@ var regexpGetFlags = function (R) {
1948
1948
  ? call$b(regExpFlags, R) : flags;
1949
1949
  };
1950
1950
 
1951
- var PROPER_FUNCTION_NAME = functionName.PROPER;
1951
+ var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
1952
1952
  var defineBuiltIn$4 = defineBuiltIn$8;
1953
1953
  var anObject$7 = anObject$e;
1954
- var $toString = toString$a;
1955
- var fails$b = fails$q;
1954
+ var $toString = toString$b;
1955
+ var fails$c = fails$r;
1956
1956
  var getRegExpFlags$1 = regexpGetFlags;
1957
1957
 
1958
1958
  var TO_STRING = 'toString';
1959
1959
  var RegExpPrototype$3 = RegExp.prototype;
1960
1960
  var nativeToString = RegExpPrototype$3[TO_STRING];
1961
1961
 
1962
- var NOT_GENERIC = fails$b(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
1962
+ var NOT_GENERIC = fails$c(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
1963
1963
  // FF44- RegExp#toString has a wrong name
1964
- var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
1964
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
1965
1965
 
1966
1966
  // `RegExp.prototype.toString` method
1967
1967
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
@@ -1974,25 +1974,25 @@ if (NOT_GENERIC || INCORRECT_NAME) {
1974
1974
  }, { unsafe: true });
1975
1975
  }
1976
1976
 
1977
- var $$d = _export;
1978
- var uncurryThis$d = functionUncurryThis;
1979
- var requireObjectCoercible$3 = requireObjectCoercible$7;
1977
+ var $$e = _export;
1978
+ var uncurryThis$e = functionUncurryThis;
1979
+ var requireObjectCoercible$4 = requireObjectCoercible$8;
1980
1980
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
1981
- var toString$7 = toString$a;
1982
- var fails$a = fails$q;
1981
+ var toString$8 = toString$b;
1982
+ var fails$b = fails$r;
1983
1983
 
1984
- var charAt$5 = uncurryThis$d(''.charAt);
1984
+ var charAt$5 = uncurryThis$e(''.charAt);
1985
1985
 
1986
- var FORCED$3 = fails$a(function () {
1986
+ var FORCED$3 = fails$b(function () {
1987
1987
  // eslint-disable-next-line es/no-array-string-prototype-at -- safe
1988
1988
  return '𠮷'.at(-2) !== '\uD842';
1989
1989
  });
1990
1990
 
1991
1991
  // `String.prototype.at` method
1992
1992
  // https://tc39.es/ecma262/#sec-string.prototype.at
1993
- $$d({ target: 'String', proto: true, forced: FORCED$3 }, {
1993
+ $$e({ target: 'String', proto: true, forced: FORCED$3 }, {
1994
1994
  at: function at(index) {
1995
- var S = toString$7(requireObjectCoercible$3(this));
1995
+ var S = toString$8(requireObjectCoercible$4(this));
1996
1996
  var len = S.length;
1997
1997
  var relativeIndex = toIntegerOrInfinity$2(index);
1998
1998
  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
@@ -2016,7 +2016,7 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
2016
2016
  var call$9 = functionCall;
2017
2017
  var defineBuiltIn$3 = defineBuiltIn$8;
2018
2018
  var regexpExec$1 = regexpExec$2;
2019
- var fails$9 = fails$q;
2019
+ var fails$a = fails$r;
2020
2020
  var wellKnownSymbol$a = wellKnownSymbol$j;
2021
2021
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
2022
2022
 
@@ -2026,14 +2026,14 @@ var RegExpPrototype$2 = RegExp.prototype;
2026
2026
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2027
2027
  var SYMBOL = wellKnownSymbol$a(KEY);
2028
2028
 
2029
- var DELEGATES_TO_SYMBOL = !fails$9(function () {
2029
+ var DELEGATES_TO_SYMBOL = !fails$a(function () {
2030
2030
  // String methods call symbol-named RegExp methods
2031
2031
  var O = {};
2032
2032
  O[SYMBOL] = function () { return 7; };
2033
2033
  return ''[KEY](O) !== 7;
2034
2034
  });
2035
2035
 
2036
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$9(function () {
2036
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$a(function () {
2037
2037
  // Symbol-named RegExp methods call .exec
2038
2038
  var execCalled = false;
2039
2039
  var re = /a/;
@@ -2087,18 +2087,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2087
2087
  if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$2[SYMBOL], 'sham', true);
2088
2088
  };
2089
2089
 
2090
- var uncurryThis$c = functionUncurryThis;
2090
+ var uncurryThis$d = functionUncurryThis;
2091
2091
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
2092
- var toString$6 = toString$a;
2093
- var requireObjectCoercible$2 = requireObjectCoercible$7;
2092
+ var toString$7 = toString$b;
2093
+ var requireObjectCoercible$3 = requireObjectCoercible$8;
2094
2094
 
2095
- var charAt$4 = uncurryThis$c(''.charAt);
2096
- var charCodeAt$1 = uncurryThis$c(''.charCodeAt);
2097
- var stringSlice$4 = uncurryThis$c(''.slice);
2095
+ var charAt$4 = uncurryThis$d(''.charAt);
2096
+ var charCodeAt$1 = uncurryThis$d(''.charCodeAt);
2097
+ var stringSlice$4 = uncurryThis$d(''.slice);
2098
2098
 
2099
- var createMethod$1 = function (CONVERT_TO_STRING) {
2099
+ var createMethod$2 = function (CONVERT_TO_STRING) {
2100
2100
  return function ($this, pos) {
2101
- var S = toString$6(requireObjectCoercible$2($this));
2101
+ var S = toString$7(requireObjectCoercible$3($this));
2102
2102
  var position = toIntegerOrInfinity$1(pos);
2103
2103
  var size = S.length;
2104
2104
  var first, second;
@@ -2118,10 +2118,10 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
2118
2118
  var stringMultibyte = {
2119
2119
  // `String.prototype.codePointAt` method
2120
2120
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
2121
- codeAt: createMethod$1(false),
2121
+ codeAt: createMethod$2(false),
2122
2122
  // `String.prototype.at` method
2123
2123
  // https://github.com/mathiasbynens/String.prototype.at
2124
- charAt: createMethod$1(true)
2124
+ charAt: createMethod$2(true)
2125
2125
  };
2126
2126
 
2127
2127
  var charAt$3 = stringMultibyte.charAt;
@@ -2132,13 +2132,13 @@ var advanceStringIndex$1 = function (S, index, unicode) {
2132
2132
  return index + (unicode ? charAt$3(S, index).length : 1);
2133
2133
  };
2134
2134
 
2135
- var uncurryThis$b = functionUncurryThis;
2135
+ var uncurryThis$c = functionUncurryThis;
2136
2136
  var toObject$2 = toObject$7;
2137
2137
 
2138
2138
  var floor = Math.floor;
2139
- var charAt$2 = uncurryThis$b(''.charAt);
2140
- var replace$4 = uncurryThis$b(''.replace);
2141
- var stringSlice$3 = uncurryThis$b(''.slice);
2139
+ var charAt$2 = uncurryThis$c(''.charAt);
2140
+ var replace$5 = uncurryThis$c(''.replace);
2141
+ var stringSlice$3 = uncurryThis$c(''.slice);
2142
2142
  // eslint-disable-next-line redos/no-vulnerable -- safe
2143
2143
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
2144
2144
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -2153,7 +2153,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2153
2153
  namedCaptures = toObject$2(namedCaptures);
2154
2154
  symbols = SUBSTITUTION_SYMBOLS;
2155
2155
  }
2156
- return replace$4(replacement, symbols, function (match, ch) {
2156
+ return replace$5(replacement, symbols, function (match, ch) {
2157
2157
  var capture;
2158
2158
  switch (charAt$2(ch, 0)) {
2159
2159
  case '$': return '$';
@@ -2201,16 +2201,16 @@ var regexpExecAbstract = function (R, S) {
2201
2201
 
2202
2202
  var apply$3 = functionApply;
2203
2203
  var call$7 = functionCall;
2204
- var uncurryThis$a = functionUncurryThis;
2204
+ var uncurryThis$b = functionUncurryThis;
2205
2205
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2206
- var fails$8 = fails$q;
2206
+ var fails$9 = fails$r;
2207
2207
  var anObject$5 = anObject$e;
2208
2208
  var isCallable$9 = isCallable$q;
2209
2209
  var isNullOrUndefined$2 = isNullOrUndefined$5;
2210
2210
  var toIntegerOrInfinity = toIntegerOrInfinity$6;
2211
2211
  var toLength = toLength$2;
2212
- var toString$5 = toString$a;
2213
- var requireObjectCoercible$1 = requireObjectCoercible$7;
2212
+ var toString$6 = toString$b;
2213
+ var requireObjectCoercible$2 = requireObjectCoercible$8;
2214
2214
  var advanceStringIndex = advanceStringIndex$1;
2215
2215
  var getMethod$2 = getMethod$4;
2216
2216
  var getSubstitution = getSubstitution$1;
@@ -2220,10 +2220,10 @@ var wellKnownSymbol$9 = wellKnownSymbol$j;
2220
2220
  var REPLACE = wellKnownSymbol$9('replace');
2221
2221
  var max = Math.max;
2222
2222
  var min = Math.min;
2223
- var concat = uncurryThis$a([].concat);
2224
- var push$1 = uncurryThis$a([].push);
2225
- var stringIndexOf$2 = uncurryThis$a(''.indexOf);
2226
- var stringSlice$2 = uncurryThis$a(''.slice);
2223
+ var concat = uncurryThis$b([].concat);
2224
+ var push$1 = uncurryThis$b([].push);
2225
+ var stringIndexOf$2 = uncurryThis$b(''.indexOf);
2226
+ var stringSlice$2 = uncurryThis$b(''.slice);
2227
2227
 
2228
2228
  var maybeToString = function (it) {
2229
2229
  return it === undefined ? it : String(it);
@@ -2244,7 +2244,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
2244
2244
  return false;
2245
2245
  })();
2246
2246
 
2247
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$8(function () {
2247
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$9(function () {
2248
2248
  var re = /./;
2249
2249
  re.exec = function () {
2250
2250
  var result = [];
@@ -2263,17 +2263,17 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2263
2263
  // `String.prototype.replace` method
2264
2264
  // https://tc39.es/ecma262/#sec-string.prototype.replace
2265
2265
  function replace(searchValue, replaceValue) {
2266
- var O = requireObjectCoercible$1(this);
2266
+ var O = requireObjectCoercible$2(this);
2267
2267
  var replacer = isNullOrUndefined$2(searchValue) ? undefined : getMethod$2(searchValue, REPLACE);
2268
2268
  return replacer
2269
2269
  ? call$7(replacer, searchValue, O, replaceValue)
2270
- : call$7(nativeReplace, toString$5(O), searchValue, replaceValue);
2270
+ : call$7(nativeReplace, toString$6(O), searchValue, replaceValue);
2271
2271
  },
2272
2272
  // `RegExp.prototype[@@replace]` method
2273
2273
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2274
2274
  function (string, replaceValue) {
2275
2275
  var rx = anObject$5(this);
2276
- var S = toString$5(string);
2276
+ var S = toString$6(string);
2277
2277
 
2278
2278
  if (
2279
2279
  typeof replaceValue == 'string' &&
@@ -2285,7 +2285,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2285
2285
  }
2286
2286
 
2287
2287
  var functionalReplace = isCallable$9(replaceValue);
2288
- if (!functionalReplace) replaceValue = toString$5(replaceValue);
2288
+ if (!functionalReplace) replaceValue = toString$6(replaceValue);
2289
2289
 
2290
2290
  var global = rx.global;
2291
2291
  var fullUnicode;
@@ -2303,7 +2303,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2303
2303
  push$1(results, result);
2304
2304
  if (!global) break;
2305
2305
 
2306
- var matchStr = toString$5(result[0]);
2306
+ var matchStr = toString$6(result[0]);
2307
2307
  if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
2308
2308
  }
2309
2309
 
@@ -2312,7 +2312,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2312
2312
  for (var i = 0; i < results.length; i++) {
2313
2313
  result = results[i];
2314
2314
 
2315
- var matched = toString$5(result[0]);
2315
+ var matched = toString$6(result[0]);
2316
2316
  var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
2317
2317
  var captures = [];
2318
2318
  var replacement;
@@ -2326,7 +2326,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2326
2326
  if (functionalReplace) {
2327
2327
  var replacerArgs = concat([matched], captures, position, S);
2328
2328
  if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
2329
- replacement = toString$5(apply$3(replaceValue, undefined, replacerArgs));
2329
+ replacement = toString$6(apply$3(replaceValue, undefined, replacerArgs));
2330
2330
  } else {
2331
2331
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
2332
2332
  }
@@ -2781,16 +2781,16 @@ const onChangeForNumericControl = props => {
2781
2781
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2782
2782
  const onChangeForCheckboxData = (data, name, value) => data ? !value ? data === null || data === void 0 ? void 0 : data.filter(item => item !== name) : [...data, name] : [name];
2783
2783
 
2784
- let _$7 = t => t,
2785
- _t$7,
2784
+ let _$8 = t => t,
2785
+ _t$8,
2786
2786
  _t2$4;
2787
- styled.div(_t$7 || (_t$7 = _$7`
2787
+ styled.div(_t$8 || (_t$8 = _$8`
2788
2788
  height: 70vh;
2789
2789
  overflow-y: auto;
2790
2790
  padding-left: var(--goa-space-2xs);
2791
2791
  padding-right: var(--goa-space-2xs);
2792
2792
  `));
2793
- const Visible = styled.div(_t2$4 || (_t2$4 = _$7`
2793
+ const Visible = styled.div(_t2$4 || (_t2$4 = _$8`
2794
2794
  display: ${0};
2795
2795
  `), p => p.visible ? 'initial' : 'none');
2796
2796
 
@@ -2843,14 +2843,14 @@ var doesNotExceedSafeInteger$1 = function (it) {
2843
2843
  return it;
2844
2844
  };
2845
2845
 
2846
- var $$c = _export;
2846
+ var $$d = _export;
2847
2847
  var toObject$1 = toObject$7;
2848
2848
  var lengthOfArrayLike$2 = lengthOfArrayLike$5;
2849
2849
  var setArrayLength = arraySetLength;
2850
2850
  var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2851
- var fails$7 = fails$q;
2851
+ var fails$8 = fails$r;
2852
2852
 
2853
- var INCORRECT_TO_LENGTH = fails$7(function () {
2853
+ var INCORRECT_TO_LENGTH = fails$8(function () {
2854
2854
  return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2855
2855
  });
2856
2856
 
@@ -2869,7 +2869,7 @@ var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2869
2869
 
2870
2870
  // `Array.prototype.push` method
2871
2871
  // https://tc39.es/ecma262/#sec-array.prototype.push
2872
- $$c({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
2872
+ $$d({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
2873
2873
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2874
2874
  push: function push(item) {
2875
2875
  var O = toObject$1(this);
@@ -2920,20 +2920,20 @@ function registerReducer(state, action) {
2920
2920
  return state;
2921
2921
  }
2922
2922
 
2923
- var $$b = _export;
2923
+ var $$c = _export;
2924
2924
  var $includes = arrayIncludes.includes;
2925
- var fails$6 = fails$q;
2925
+ var fails$7 = fails$r;
2926
2926
  var addToUnscopables = addToUnscopables$3;
2927
2927
 
2928
2928
  // FF99+ bug
2929
- var BROKEN_ON_SPARSE = fails$6(function () {
2929
+ var BROKEN_ON_SPARSE = fails$7(function () {
2930
2930
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
2931
2931
  return !Array(1).includes();
2932
2932
  });
2933
2933
 
2934
2934
  // `Array.prototype.includes` method
2935
2935
  // https://tc39.es/ecma262/#sec-array.prototype.includes
2936
- $$b({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2936
+ $$c({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2937
2937
  includes: function includes(el /* , fromIndex = 0 */) {
2938
2938
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
2939
2939
  }
@@ -2942,17 +2942,17 @@ $$b({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2942
2942
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2943
2943
  addToUnscopables('includes');
2944
2944
 
2945
- var uncurryThis$9 = functionUncurryThis;
2945
+ var uncurryThis$a = functionUncurryThis;
2946
2946
 
2947
- var arraySlice$2 = uncurryThis$9([].slice);
2947
+ var arraySlice$2 = uncurryThis$a([].slice);
2948
2948
 
2949
- var uncurryThis$8 = functionUncurryThis;
2949
+ var uncurryThis$9 = functionUncurryThis;
2950
2950
  var isArray = isArray$2;
2951
2951
  var isCallable$8 = isCallable$q;
2952
2952
  var classof$5 = classofRaw$2;
2953
- var toString$4 = toString$a;
2953
+ var toString$5 = toString$b;
2954
2954
 
2955
- var push = uncurryThis$8([].push);
2955
+ var push = uncurryThis$9([].push);
2956
2956
 
2957
2957
  var getJsonReplacerFunction = function (replacer) {
2958
2958
  if (isCallable$8(replacer)) return replacer;
@@ -2962,7 +2962,7 @@ var getJsonReplacerFunction = function (replacer) {
2962
2962
  for (var i = 0; i < rawLength; i++) {
2963
2963
  var element = replacer[i];
2964
2964
  if (typeof element == 'string') push(keys, element);
2965
- else if (typeof element == 'number' || classof$5(element) === 'Number' || classof$5(element) === 'String') push(keys, toString$4(element));
2965
+ else if (typeof element == 'number' || classof$5(element) === 'Number' || classof$5(element) === 'String') push(keys, toString$5(element));
2966
2966
  }
2967
2967
  var keysLength = keys.length;
2968
2968
  var root = true;
@@ -2976,12 +2976,12 @@ var getJsonReplacerFunction = function (replacer) {
2976
2976
  };
2977
2977
  };
2978
2978
 
2979
- var $$a = _export;
2979
+ var $$b = _export;
2980
2980
  var getBuiltIn$5 = getBuiltIn$9;
2981
2981
  var apply$2 = functionApply;
2982
2982
  var call$6 = functionCall;
2983
- var uncurryThis$7 = functionUncurryThis;
2984
- var fails$5 = fails$q;
2983
+ var uncurryThis$8 = functionUncurryThis;
2984
+ var fails$6 = fails$r;
2985
2985
  var isCallable$7 = isCallable$q;
2986
2986
  var isSymbol = isSymbol$3;
2987
2987
  var arraySlice$1 = arraySlice$2;
@@ -2990,17 +2990,17 @@ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
2990
2990
 
2991
2991
  var $String = String;
2992
2992
  var $stringify = getBuiltIn$5('JSON', 'stringify');
2993
- var exec$2 = uncurryThis$7(/./.exec);
2994
- var charAt$1 = uncurryThis$7(''.charAt);
2995
- var charCodeAt = uncurryThis$7(''.charCodeAt);
2996
- var replace$3 = uncurryThis$7(''.replace);
2997
- var numberToString = uncurryThis$7(1.0.toString);
2993
+ var exec$2 = uncurryThis$8(/./.exec);
2994
+ var charAt$1 = uncurryThis$8(''.charAt);
2995
+ var charCodeAt = uncurryThis$8(''.charCodeAt);
2996
+ var replace$4 = uncurryThis$8(''.replace);
2997
+ var numberToString = uncurryThis$8(1.0.toString);
2998
2998
 
2999
2999
  var tester = /[\uD800-\uDFFF]/g;
3000
3000
  var low = /^[\uD800-\uDBFF]$/;
3001
3001
  var hi = /^[\uDC00-\uDFFF]$/;
3002
3002
 
3003
- var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$5(function () {
3003
+ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$6(function () {
3004
3004
  var symbol = getBuiltIn$5('Symbol')('stringify detection');
3005
3005
  // MS Edge converts symbol values to JSON as {}
3006
3006
  return $stringify([symbol]) !== '[null]'
@@ -3011,7 +3011,7 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$5(function () {
3011
3011
  });
3012
3012
 
3013
3013
  // https://github.com/tc39/proposal-well-formed-stringify
3014
- var ILL_FORMED_UNICODE = fails$5(function () {
3014
+ var ILL_FORMED_UNICODE = fails$6(function () {
3015
3015
  return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
3016
3016
  || $stringify('\uDEAD') !== '"\\udead"';
3017
3017
  });
@@ -3039,12 +3039,12 @@ var fixIllFormed = function (match, offset, string) {
3039
3039
  if ($stringify) {
3040
3040
  // `JSON.stringify` method
3041
3041
  // https://tc39.es/ecma262/#sec-json.stringify
3042
- $$a({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3042
+ $$b({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3043
3043
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3044
3044
  stringify: function stringify(it, replacer, space) {
3045
3045
  var args = arraySlice$1(arguments);
3046
3046
  var result = apply$2(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
3047
- return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$3(result, tester, fixIllFormed) : result;
3047
+ return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$4(result, tester, fixIllFormed) : result;
3048
3048
  }
3049
3049
  });
3050
3050
  }
@@ -3088,22 +3088,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
3088
3088
  } return false;
3089
3089
  };
3090
3090
 
3091
- var $$9 = _export;
3092
- var uncurryThis$6 = functionUncurryThis;
3091
+ var $$a = _export;
3092
+ var uncurryThis$7 = functionUncurryThis;
3093
3093
  var notARegExp = notARegexp;
3094
- var requireObjectCoercible = requireObjectCoercible$7;
3095
- var toString$3 = toString$a;
3094
+ var requireObjectCoercible$1 = requireObjectCoercible$8;
3095
+ var toString$4 = toString$b;
3096
3096
  var correctIsRegExpLogic = correctIsRegexpLogic;
3097
3097
 
3098
- var stringIndexOf$1 = uncurryThis$6(''.indexOf);
3098
+ var stringIndexOf$1 = uncurryThis$7(''.indexOf);
3099
3099
 
3100
3100
  // `String.prototype.includes` method
3101
3101
  // https://tc39.es/ecma262/#sec-string.prototype.includes
3102
- $$9({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
3102
+ $$a({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
3103
3103
  includes: function includes(searchString /* , position = 0 */) {
3104
3104
  return !!~stringIndexOf$1(
3105
- toString$3(requireObjectCoercible(this)),
3106
- toString$3(notARegExp(searchString)),
3105
+ toString$4(requireObjectCoercible$1(this)),
3106
+ toString$4(notARegExp(searchString)),
3107
3107
  arguments.length > 1 ? arguments[1] : undefined
3108
3108
  );
3109
3109
  }
@@ -3209,7 +3209,7 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
3209
3209
 
3210
3210
  var DESCRIPTORS$4 = descriptors;
3211
3211
  var global$a = global$o;
3212
- var uncurryThis$5 = functionUncurryThis;
3212
+ var uncurryThis$6 = functionUncurryThis;
3213
3213
  var isForced$1 = isForced_1;
3214
3214
  var inheritIfRequired$1 = inheritIfRequired$2;
3215
3215
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
@@ -3217,12 +3217,12 @@ var create = objectCreate;
3217
3217
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3218
3218
  var isPrototypeOf$4 = objectIsPrototypeOf;
3219
3219
  var isRegExp = isRegexp;
3220
- var toString$2 = toString$a;
3220
+ var toString$3 = toString$b;
3221
3221
  var getRegExpFlags = regexpGetFlags;
3222
3222
  var stickyHelpers = regexpStickyHelpers;
3223
3223
  var proxyAccessor$1 = proxyAccessor$2;
3224
3224
  var defineBuiltIn$2 = defineBuiltIn$8;
3225
- var fails$4 = fails$q;
3225
+ var fails$5 = fails$r;
3226
3226
  var hasOwn$3 = hasOwnProperty_1;
3227
3227
  var enforceInternalState = internalState.enforce;
3228
3228
  var setSpecies$1 = setSpecies$2;
@@ -3234,11 +3234,11 @@ var MATCH = wellKnownSymbol$5('match');
3234
3234
  var NativeRegExp = global$a.RegExp;
3235
3235
  var RegExpPrototype$1 = NativeRegExp.prototype;
3236
3236
  var SyntaxError = global$a.SyntaxError;
3237
- var exec$1 = uncurryThis$5(RegExpPrototype$1.exec);
3238
- var charAt = uncurryThis$5(''.charAt);
3239
- var replace$2 = uncurryThis$5(''.replace);
3240
- var stringIndexOf = uncurryThis$5(''.indexOf);
3241
- var stringSlice$1 = uncurryThis$5(''.slice);
3237
+ var exec$1 = uncurryThis$6(RegExpPrototype$1.exec);
3238
+ var charAt = uncurryThis$6(''.charAt);
3239
+ var replace$3 = uncurryThis$6(''.replace);
3240
+ var stringIndexOf = uncurryThis$6(''.indexOf);
3241
+ var stringSlice$1 = uncurryThis$6(''.slice);
3242
3242
  // TODO: Use only proper RegExpIdentifierName
3243
3243
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
3244
3244
  var re1 = /a/g;
@@ -3251,7 +3251,7 @@ var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
3251
3251
  var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
3252
3252
 
3253
3253
  var BASE_FORCED = DESCRIPTORS$4 &&
3254
- (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG || fails$4(function () {
3254
+ (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG || fails$5(function () {
3255
3255
  re2[MATCH] = false;
3256
3256
  // RegExp constructor can alter flags and IsRegExp works correct with @@match
3257
3257
  return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
@@ -3345,20 +3345,20 @@ if (isForced$1('RegExp', BASE_FORCED)) {
3345
3345
  if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
3346
3346
  }
3347
3347
 
3348
- pattern = pattern === undefined ? '' : toString$2(pattern);
3349
- flags = flags === undefined ? '' : toString$2(flags);
3348
+ pattern = pattern === undefined ? '' : toString$3(pattern);
3349
+ flags = flags === undefined ? '' : toString$3(flags);
3350
3350
  rawPattern = pattern;
3351
3351
 
3352
3352
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
3353
3353
  dotAll = !!flags && stringIndexOf(flags, 's') > -1;
3354
- if (dotAll) flags = replace$2(flags, /s/g, '');
3354
+ if (dotAll) flags = replace$3(flags, /s/g, '');
3355
3355
  }
3356
3356
 
3357
3357
  rawFlags = flags;
3358
3358
 
3359
3359
  if (MISSED_STICKY && 'sticky' in re1) {
3360
3360
  sticky = !!flags && stringIndexOf(flags, 'y') > -1;
3361
- if (sticky && UNSUPPORTED_Y) flags = replace$2(flags, /y/g, '');
3361
+ if (sticky && UNSUPPORTED_Y) flags = replace$3(flags, /y/g, '');
3362
3362
  }
3363
3363
 
3364
3364
  if (UNSUPPORTED_NCG) {
@@ -3678,14 +3678,14 @@ const GoAInputBaseControl = props => {
3678
3678
  });
3679
3679
  };
3680
3680
 
3681
- var $$8 = _export;
3681
+ var $$9 = _export;
3682
3682
  var DESCRIPTORS$2 = descriptors;
3683
3683
  var global$9 = global$o;
3684
- var uncurryThis$4 = functionUncurryThis;
3684
+ var uncurryThis$5 = functionUncurryThis;
3685
3685
  var hasOwn$2 = hasOwnProperty_1;
3686
3686
  var isCallable$5 = isCallable$q;
3687
3687
  var isPrototypeOf$3 = objectIsPrototypeOf;
3688
- var toString$1 = toString$a;
3688
+ var toString$2 = toString$b;
3689
3689
  var defineBuiltInAccessor = defineBuiltInAccessor$3;
3690
3690
  var copyConstructorProperties$1 = copyConstructorProperties$3;
3691
3691
 
@@ -3699,7 +3699,7 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3699
3699
  var EmptyStringDescriptionStore = {};
3700
3700
  // wrap Symbol constructor for correct work with undefined description
3701
3701
  var SymbolWrapper = function Symbol() {
3702
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$1(arguments[0]);
3702
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$2(arguments[0]);
3703
3703
  var result = isPrototypeOf$3(SymbolPrototype, this)
3704
3704
  ? new NativeSymbol(description)
3705
3705
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
@@ -3713,11 +3713,11 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3713
3713
  SymbolPrototype.constructor = SymbolWrapper;
3714
3714
 
3715
3715
  var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
3716
- var thisSymbolValue = uncurryThis$4(SymbolPrototype.valueOf);
3717
- var symbolDescriptiveString = uncurryThis$4(SymbolPrototype.toString);
3716
+ var thisSymbolValue = uncurryThis$5(SymbolPrototype.valueOf);
3717
+ var symbolDescriptiveString = uncurryThis$5(SymbolPrototype.toString);
3718
3718
  var regexp = /^Symbol\((.*)\)[^)]+$/;
3719
- var replace$1 = uncurryThis$4(''.replace);
3720
- var stringSlice = uncurryThis$4(''.slice);
3719
+ var replace$2 = uncurryThis$5(''.replace);
3720
+ var stringSlice = uncurryThis$5(''.slice);
3721
3721
 
3722
3722
  defineBuiltInAccessor(SymbolPrototype, 'description', {
3723
3723
  configurable: true,
@@ -3725,12 +3725,12 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3725
3725
  var symbol = thisSymbolValue(this);
3726
3726
  if (hasOwn$2(EmptyStringDescriptionStore, symbol)) return '';
3727
3727
  var string = symbolDescriptiveString(symbol);
3728
- var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace$1(string, regexp, '$1');
3728
+ var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace$2(string, regexp, '$1');
3729
3729
  return desc === '' ? undefined : desc;
3730
3730
  }
3731
3731
  });
3732
3732
 
3733
- $$8({ global: true, constructor: true, forced: true }, {
3733
+ $$9({ global: true, constructor: true, forced: true }, {
3734
3734
  Symbol: SymbolWrapper
3735
3735
  });
3736
3736
  }
@@ -4236,12 +4236,12 @@ const GoATimeControl = props => jsx(GoAInputBaseControl, Object.assign({}, props
4236
4236
  const GoATimeControlTester = rankWith(4, isTimeControl);
4237
4237
  const GoAInputTimeControl = withJsonFormsControlProps(GoATimeControl);
4238
4238
 
4239
- let _$6 = t => t,
4240
- _t$6,
4239
+ let _$7 = t => t,
4240
+ _t$7,
4241
4241
  _t2$3,
4242
4242
  _t3$3,
4243
4243
  _t4$2;
4244
- styled.div(_t$6 || (_t$6 = _$6`
4244
+ styled.div(_t$7 || (_t$7 = _$7`
4245
4245
  text-overflow: ellipsis;
4246
4246
  overflow: hidden;
4247
4247
  min-height: 43px;
@@ -4258,11 +4258,11 @@ styled.div(_t$6 || (_t$6 = _$6`
4258
4258
  appearance: none;
4259
4259
  box-shadow: ${0};
4260
4260
  `), p => p.isOpen ? `0 0 0 3px #feba35` : '');
4261
- const GoADropdownListContainerWrapper = styled.div(_t2$3 || (_t2$3 = _$6`
4261
+ const GoADropdownListContainerWrapper = styled.div(_t2$3 || (_t2$3 = _$7`
4262
4262
  position: relative;
4263
4263
  display: ${0};
4264
4264
  `), p => !(p === null || p === void 0 ? void 0 : p.isOpen) && 'none');
4265
- const GoADropdownListContainer = styled.div(_t3$3 || (_t3$3 = _$6`
4265
+ const GoADropdownListContainer = styled.div(_t3$3 || (_t3$3 = _$7`
4266
4266
  border: solid 1px #dcdcdc;
4267
4267
  border-radius: 4px;
4268
4268
  background: #fff;
@@ -4275,7 +4275,7 @@ const GoADropdownListContainer = styled.div(_t3$3 || (_t3$3 = _$6`
4275
4275
  line-height: 2rem;
4276
4276
  max-height: ${0};
4277
4277
  `), p => p.optionListMaxHeight || '272px');
4278
- const GoADropdownListOption = styled.div(_t4$2 || (_t4$2 = _$6`
4278
+ const GoADropdownListOption = styled.div(_t4$2 || (_t4$2 = _$7`
4279
4279
  padding: 4px 12px;
4280
4280
  text-overflow: ellipsis;
4281
4281
  color: ${0} !important;
@@ -4585,8 +4585,8 @@ const BooleanRadioControl = props => jsx(GoAInputBaseControl, Object.assign({},
4585
4585
  const GoABooleanRadioControlTester = rankWith(3, and(isBooleanControl, optionIs('radio', true)));
4586
4586
  const GoABooleanRadioControl = withJsonFormsControlProps(BooleanRadioControl);
4587
4587
 
4588
- let _$5 = t => t,
4589
- _t$5;
4588
+ let _$6 = t => t,
4589
+ _t$6;
4590
4590
  const Checkboxes = ({
4591
4591
  children,
4592
4592
  orientation,
@@ -4598,7 +4598,7 @@ const Checkboxes = ({
4598
4598
  children: children
4599
4599
  });
4600
4600
  };
4601
- const CheckBoxGroupDiv = styled.div(_t$5 || (_t$5 = _$5`
4601
+ const CheckBoxGroupDiv = styled.div(_t$6 || (_t$6 = _$6`
4602
4602
  .horizontal {
4603
4603
  display: flex;
4604
4604
  flex-direction: row;
@@ -4726,8 +4726,8 @@ const LayoutRenderer = ({
4726
4726
  }
4727
4727
  };
4728
4728
 
4729
- let _$4 = t => t,
4730
- _t$4,
4729
+ let _$5 = t => t,
4730
+ _t$5,
4731
4731
  _t2$2,
4732
4732
  _t3$2,
4733
4733
  _t4$1,
@@ -4737,7 +4737,7 @@ let _$4 = t => t,
4737
4737
  _t8$1,
4738
4738
  _t9$1,
4739
4739
  _t10$1;
4740
- const ReviewItem = styled.div(_t$4 || (_t$4 = _$4`
4740
+ const ReviewItem = styled.div(_t$5 || (_t$5 = _$5`
4741
4741
  display: flex;
4742
4742
  flex-direction: column;
4743
4743
  border: var(--goa-border-width-s) solid grey;
@@ -4748,52 +4748,52 @@ const ReviewItem = styled.div(_t$4 || (_t$4 = _$4`
4748
4748
  display: none;
4749
4749
  }
4750
4750
  `));
4751
- const ReviewItemSection = styled.div(_t2$2 || (_t2$2 = _$4`
4751
+ const ReviewItemSection = styled.div(_t2$2 || (_t2$2 = _$5`
4752
4752
  background-color: #f1f1f1;
4753
4753
  margin-bottom: 1rem;
4754
4754
  padding: 1rem;
4755
4755
  border: 1px solid #dcdcdc;
4756
4756
  border-radius: 5px;
4757
4757
  `));
4758
- const ReviewItemHeader = styled.div(_t3$2 || (_t3$2 = _$4`
4758
+ const ReviewItemHeader = styled.div(_t3$2 || (_t3$2 = _$5`
4759
4759
  display: flex;
4760
4760
  align-items: center;
4761
4761
  justify-content: space-between;
4762
4762
  margin-bottom: 2rem;
4763
4763
  `));
4764
- const ReviewItemTitle = styled.div(_t4$1 || (_t4$1 = _$4`
4764
+ const ReviewItemTitle = styled.div(_t4$1 || (_t4$1 = _$5`
4765
4765
  font-size: var(--fs-xl);
4766
4766
  line-height: var(--lh-lg);
4767
4767
  font-weight: var(--fw-light);
4768
4768
  `));
4769
- const Anchor = styled.div(_t5$1 || (_t5$1 = _$4`
4769
+ const Anchor = styled.div(_t5$1 || (_t5$1 = _$5`
4770
4770
  color: #0070c4;
4771
4771
  text-decoration: underline;
4772
4772
  outline: none;
4773
4773
  cursor: pointer;
4774
4774
  `));
4775
- styled.div(_t6$1 || (_t6$1 = _$4`
4775
+ styled.div(_t6$1 || (_t6$1 = _$5`
4776
4776
  margin-left: var(--goa-space-m);
4777
4777
  `));
4778
- styled.div(_t7$1 || (_t7$1 = _$4`
4778
+ styled.div(_t7$1 || (_t7$1 = _$5`
4779
4779
  margin-bottom: var(--goa-space-m);
4780
4780
  `));
4781
- styled.div(_t8$1 || (_t8$1 = _$4`
4781
+ styled.div(_t8$1 || (_t8$1 = _$5`
4782
4782
  margin: var(--goa-space-s);
4783
4783
  width: 100%;
4784
4784
  `));
4785
- styled.h3(_t9$1 || (_t9$1 = _$4`
4785
+ styled.h3(_t9$1 || (_t9$1 = _$5`
4786
4786
  text-transform: capitalize;
4787
4787
  `));
4788
- const RightAlignmentDiv = styled.div(_t10$1 || (_t10$1 = _$4`
4788
+ const RightAlignmentDiv = styled.div(_t10$1 || (_t10$1 = _$5`
4789
4789
  display: flex;
4790
4790
  justify-content: flex-end;
4791
4791
  `));
4792
4792
 
4793
- var toString = toString$a;
4793
+ var toString$1 = toString$b;
4794
4794
 
4795
4795
  var normalizeStringArgument$1 = function (argument, $default) {
4796
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
4796
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$1(argument);
4797
4797
  };
4798
4798
 
4799
4799
  var isObject$2 = isObject$d;
@@ -4807,10 +4807,10 @@ var installErrorCause$1 = function (O, options) {
4807
4807
  }
4808
4808
  };
4809
4809
 
4810
- var uncurryThis$3 = functionUncurryThis;
4810
+ var uncurryThis$4 = functionUncurryThis;
4811
4811
 
4812
4812
  var $Error = Error;
4813
- var replace = uncurryThis$3(''.replace);
4813
+ var replace$1 = uncurryThis$4(''.replace);
4814
4814
 
4815
4815
  var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
4816
4816
  // eslint-disable-next-line redos/no-vulnerable -- safe
@@ -4819,14 +4819,14 @@ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
4819
4819
 
4820
4820
  var errorStackClear = function (stack, dropEntries) {
4821
4821
  if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
4822
- while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
4822
+ while (dropEntries--) stack = replace$1(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
4823
4823
  } return stack;
4824
4824
  };
4825
4825
 
4826
- var fails$3 = fails$q;
4826
+ var fails$4 = fails$r;
4827
4827
  var createPropertyDescriptor = createPropertyDescriptor$4;
4828
4828
 
4829
- var errorStackInstallable = !fails$3(function () {
4829
+ var errorStackInstallable = !fails$4(function () {
4830
4830
  var error = new Error('a');
4831
4831
  if (!('stack' in error)) return true;
4832
4832
  // eslint-disable-next-line es/no-object-defineproperty -- safe
@@ -4913,7 +4913,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
4913
4913
  };
4914
4914
 
4915
4915
  /* eslint-disable no-unused-vars -- required for functions `.length` */
4916
- var $$7 = _export;
4916
+ var $$8 = _export;
4917
4917
  var global$8 = global$o;
4918
4918
  var apply$1 = functionApply;
4919
4919
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
@@ -4927,14 +4927,14 @@ var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
4927
4927
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4928
4928
  var O = {};
4929
4929
  O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
4930
- $$7({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4930
+ $$8({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4931
4931
  };
4932
4932
 
4933
4933
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4934
4934
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
4935
4935
  var O = {};
4936
4936
  O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
4937
- $$7({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4937
+ $$8({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4938
4938
  }
4939
4939
  };
4940
4940
 
@@ -5033,6 +5033,9 @@ class ContextProviderClass {
5033
5033
  if (!props.children) {
5034
5034
  return null;
5035
5035
  }
5036
+ if (props.formUrl) {
5037
+ this.baseEnumerator.formUrl = props.formUrl;
5038
+ }
5036
5039
  this.baseEnumerator.isFormSubmitted = (_a = props.isFormSubmitted) !== null && _a !== void 0 ? _a : false;
5037
5040
  return jsx(JsonFormContext.Provider, {
5038
5041
  value: this.baseEnumerator,
@@ -5046,6 +5049,10 @@ class ContextProviderClass {
5046
5049
  children: (_a = this.selfProps) === null || _a === void 0 ? void 0 : _a.children
5047
5050
  });
5048
5051
  };
5052
+ this.getFormUrl = () => {
5053
+ var _a;
5054
+ return (_a = this.selfProps) === null || _a === void 0 ? void 0 : _a.formUrl;
5055
+ };
5049
5056
  this.getAxiosInterceptorConfig = axios => {
5050
5057
  const requestId = axios.interceptors.request.use(req => {
5051
5058
  if (req.data === undefined) {
@@ -5082,7 +5089,8 @@ class ContextProviderClass {
5082
5089
  submitFunction: this.enumSubmitFunctions,
5083
5090
  addFormContextData: this.addFormContextData,
5084
5091
  getFormContextData: this.getFormContextData,
5085
- getAllFormContextData: this.getAllFormContextData
5092
+ getAllFormContextData: this.getAllFormContextData,
5093
+ formUrl: this.getFormUrl()
5086
5094
  };
5087
5095
  this.selfProps = {};
5088
5096
  }
@@ -5455,8 +5463,8 @@ const categoriesAreValid = uischema => {
5455
5463
  };
5456
5464
  const CategorizationRendererTester = rankWith(2, and(uiTypeIs('Categorization'), categoriesAreValid));
5457
5465
 
5458
- let _$3 = t => t,
5459
- _t$3;
5466
+ let _$4 = t => t,
5467
+ _t$4;
5460
5468
  const GoAContextMenuIcon = props => {
5461
5469
  return jsx(GoAIconButton, {
5462
5470
  icon: props.type,
@@ -5467,7 +5475,7 @@ const GoAContextMenuIcon = props => {
5467
5475
  disabled: props.disabled
5468
5476
  });
5469
5477
  };
5470
- const GoAContextMenu = styled.div(_t$3 || (_t$3 = _$3`
5478
+ const GoAContextMenu = styled.div(_t$4 || (_t$4 = _$4`
5471
5479
  display: flex;
5472
5480
  align-items: center;
5473
5481
  background-color: #fff;
@@ -5514,8 +5522,8 @@ const DeleteFileModal = ({
5514
5522
  });
5515
5523
  };
5516
5524
 
5517
- let _$2 = t => t,
5518
- _t$2,
5525
+ let _$3 = t => t,
5526
+ _t$3,
5519
5527
  _t2$1,
5520
5528
  _t3$1;
5521
5529
  const DELAY_UPLOAD_TIMEOUT_MS = 5;
@@ -5670,7 +5678,7 @@ const FileUploader = _a => {
5670
5678
  })]
5671
5679
  });
5672
5680
  };
5673
- const AttachmentBorderDisabled = styled.div(_t$2 || (_t$2 = _$2`
5681
+ const AttachmentBorderDisabled = styled.div(_t$3 || (_t$3 = _$3`
5674
5682
  display: flex;
5675
5683
  flex-direction: row;
5676
5684
  border: var(--goa-border-width-s) solid #dcdcdc;
@@ -5679,7 +5687,7 @@ const AttachmentBorderDisabled = styled.div(_t$2 || (_t$2 = _$2`
5679
5687
  width: fit-content;
5680
5688
  background-color: #f1f1f1;
5681
5689
  `));
5682
- const AttachmentBorder = styled.div(_t2$1 || (_t2$1 = _$2`
5690
+ const AttachmentBorder = styled.div(_t2$1 || (_t2$1 = _$3`
5683
5691
  display: flex;
5684
5692
  flex-direction: row;
5685
5693
  border: var(--goa-border-width-s) solid #dcdcdc;
@@ -5688,7 +5696,7 @@ const AttachmentBorder = styled.div(_t2$1 || (_t2$1 = _$2`
5688
5696
  width: fit-content;
5689
5697
  margin-top: var(--goa-space-2xs);
5690
5698
  `));
5691
- const FileUploaderStyle = styled.div(_t3$1 || (_t3$1 = _$2`
5699
+ const FileUploaderStyle = styled.div(_t3$1 || (_t3$1 = _$3`
5692
5700
  .label {
5693
5701
  display: block;
5694
5702
  font-weight: var(--goa-font-weight-bold);
@@ -5740,8 +5748,8 @@ const ObjectArrayToolBar = /*#__PURE__*/React.memo(function TableToolbar({
5740
5748
  });
5741
5749
  });
5742
5750
 
5743
- let _$1 = t => t,
5744
- _t$1,
5751
+ let _$2 = t => t,
5752
+ _t$2,
5745
5753
  _t2,
5746
5754
  _t3,
5747
5755
  _t4,
@@ -5753,52 +5761,52 @@ let _$1 = t => t,
5753
5761
  _t10,
5754
5762
  _t11,
5755
5763
  _t12;
5756
- const DeleteDialogContent = styled.div(_t$1 || (_t$1 = _$1`
5764
+ const DeleteDialogContent = styled.div(_t$2 || (_t$2 = _$2`
5757
5765
  margin-bottom: var(--goa-space-m);
5758
5766
  `));
5759
- const ToolBarHeader = styled.div(_t2 || (_t2 = _$1`
5767
+ const ToolBarHeader = styled.div(_t2 || (_t2 = _$2`
5760
5768
  margin-bottom: var(--goa-space-l);
5761
5769
  `));
5762
- const ObjectArrayTitle = styled.h2(_t3 || (_t3 = _$1`
5770
+ const ObjectArrayTitle = styled.h2(_t3 || (_t3 = _$2`
5763
5771
  margin-bottom: var(--goa-space-l);
5764
5772
  `));
5765
- const TextCenter = styled.div(_t4 || (_t4 = _$1`
5773
+ const TextCenter = styled.div(_t4 || (_t4 = _$2`
5766
5774
  text-align: center;
5767
5775
  `));
5768
- const SideMenuItem = styled.div(_t5 || (_t5 = _$1`
5776
+ const SideMenuItem = styled.div(_t5 || (_t5 = _$2`
5769
5777
  &:hover {
5770
5778
  background: #f1f1f1;
5771
5779
  }
5772
5780
  `));
5773
- const RowFlex = styled.div(_t6 || (_t6 = _$1`
5781
+ const RowFlex = styled.div(_t6 || (_t6 = _$2`
5774
5782
  display: flex;
5775
5783
  align-items: stretch;
5776
5784
  `));
5777
- const RowFlexMenu = styled.div(_t7 || (_t7 = _$1`
5785
+ const RowFlexMenu = styled.div(_t7 || (_t7 = _$2`
5778
5786
  display: flex;
5779
5787
  flex-direction: row;
5780
5788
  border-bottom: 1px solid #dcdcdc;
5781
5789
  `));
5782
- const FlexTabs = styled.div(_t8 || (_t8 = _$1`
5790
+ const FlexTabs = styled.div(_t8 || (_t8 = _$2`
5783
5791
  flex-direction: column;
5784
5792
  flex: 1;
5785
5793
  overflow-y: auto !important;
5786
5794
  margin-right: 1.5rem;
5787
5795
  `));
5788
- const FlexForm = styled.div(_t9 || (_t9 = _$1`
5796
+ const FlexForm = styled.div(_t9 || (_t9 = _$2`
5789
5797
  flex-direction: column;
5790
5798
  margin: 1.5rem 0;
5791
5799
  flex: 3;
5792
5800
  `));
5793
- const TabName = styled.div(_t10 || (_t10 = _$1`
5801
+ const TabName = styled.div(_t10 || (_t10 = _$2`
5794
5802
  margin: 1rem 0 1rem 1rem;
5795
5803
  font-weight: 700;
5796
5804
  `));
5797
- const Trash = styled.div(_t11 || (_t11 = _$1`
5805
+ const Trash = styled.div(_t11 || (_t11 = _$2`
5798
5806
  margin: 0.75rem 1.25rem 0.75rem 0.75rem;
5799
5807
  margin-left: auto;
5800
5808
  `));
5801
- const ListContainer = styled.div(_t12 || (_t12 = _$1`
5809
+ const ListContainer = styled.div(_t12 || (_t12 = _$2`
5802
5810
  padding: 0 1.5rem 0 0;
5803
5811
  border: 1px solid #dcdcdc;
5804
5812
  `));
@@ -6611,6 +6619,297 @@ const ListWithDetailsControl = props => {
6611
6619
  const GoAListWithDetailsControlRenderer = withJsonFormsArrayLayoutProps(ListWithDetailsControl);
6612
6620
  const GoAListWithDetailsTester = rankWith(3, and(uiTypeIs('ListWithDetail')));
6613
6621
 
6622
+ const AddressInputs = ({
6623
+ address,
6624
+ handleInputChange,
6625
+ isAlbertaAddress
6626
+ }) => {
6627
+ return jsxs(Fragment, {
6628
+ children: [jsx(GoAFormItem, {
6629
+ label: "",
6630
+ children: jsx(GoAInput, {
6631
+ name: "addressLine2",
6632
+ testId: "address-form-address2",
6633
+ ariaLabel: 'address-form-address2',
6634
+ placeholder: "Unit number, suite, apartment",
6635
+ value: (address === null || address === void 0 ? void 0 : address.addressLine2) || '',
6636
+ onChange: (name, value) => handleInputChange(name, value),
6637
+ width: "100%"
6638
+ })
6639
+ }), jsxs(GoAGrid, {
6640
+ minChildWidth: "35ch",
6641
+ gap: "m",
6642
+ children: [jsx(GoAFormItem, {
6643
+ label: "City",
6644
+ children: jsx(GoAInput, {
6645
+ name: "city",
6646
+ testId: "address-form-city",
6647
+ ariaLabel: 'address-form-city',
6648
+ value: (address === null || address === void 0 ? void 0 : address.city) || '',
6649
+ onChange: (name, value) => handleInputChange(name, value)
6650
+ })
6651
+ }), jsx(GoAFormItem, {
6652
+ label: "Postal Code",
6653
+ children: jsx(GoAInput, {
6654
+ name: "postalCode",
6655
+ testId: "address-form-postal-code",
6656
+ ariaLabel: 'address-form-postal-code',
6657
+ value: (address === null || address === void 0 ? void 0 : address.postalCode) || '',
6658
+ onChange: (name, value) => handleInputChange(name, value)
6659
+ })
6660
+ }), jsx(GoAFormItem, {
6661
+ label: "Province",
6662
+ children: jsx(GoAInput, {
6663
+ name: "province",
6664
+ testId: "address-form-province",
6665
+ ariaLabel: 'address-form-province',
6666
+ value: isAlbertaAddress ? 'AB' : (address === null || address === void 0 ? void 0 : address.province) || '',
6667
+ onChange: (name, value) => handleInputChange(name, value),
6668
+ disabled: isAlbertaAddress
6669
+ })
6670
+ }), jsx(GoAFormItem, {
6671
+ label: "Country",
6672
+ children: jsx(GoAInput, {
6673
+ name: "country",
6674
+ testId: "address-form-country",
6675
+ ariaLabel: 'address-form-country',
6676
+ value: "CAN",
6677
+ disabled: true,
6678
+ onChange: () => {}
6679
+ })
6680
+ })]
6681
+ })]
6682
+ });
6683
+ };
6684
+
6685
+ // a string of all valid unicode whitespaces
6686
+ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
6687
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
6688
+
6689
+ var uncurryThis$3 = functionUncurryThis;
6690
+ var requireObjectCoercible = requireObjectCoercible$8;
6691
+ var toString = toString$b;
6692
+ var whitespaces$1 = whitespaces$2;
6693
+
6694
+ var replace = uncurryThis$3(''.replace);
6695
+ var ltrim = RegExp('^[' + whitespaces$1 + ']+');
6696
+ var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
6697
+
6698
+ // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
6699
+ var createMethod$1 = function (TYPE) {
6700
+ return function ($this) {
6701
+ var string = toString(requireObjectCoercible($this));
6702
+ if (TYPE & 1) string = replace(string, ltrim, '');
6703
+ if (TYPE & 2) string = replace(string, rtrim, '$1');
6704
+ return string;
6705
+ };
6706
+ };
6707
+
6708
+ var stringTrim = {
6709
+ // `String.prototype.{ trimLeft, trimStart }` methods
6710
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
6711
+ start: createMethod$1(1),
6712
+ // `String.prototype.{ trimRight, trimEnd }` methods
6713
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
6714
+ end: createMethod$1(2),
6715
+ // `String.prototype.trim` method
6716
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
6717
+ trim: createMethod$1(3)
6718
+ };
6719
+
6720
+ var PROPER_FUNCTION_NAME = functionName.PROPER;
6721
+ var fails$3 = fails$r;
6722
+ var whitespaces = whitespaces$2;
6723
+
6724
+ var non = '\u200B\u0085\u180E';
6725
+
6726
+ // check that a method works with the correct list
6727
+ // of whitespaces and has a correct name
6728
+ var stringTrimForced = function (METHOD_NAME) {
6729
+ return fails$3(function () {
6730
+ return !!whitespaces[METHOD_NAME]()
6731
+ || non[METHOD_NAME]() !== non
6732
+ || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
6733
+ });
6734
+ };
6735
+
6736
+ var $$7 = _export;
6737
+ var $trim = stringTrim.trim;
6738
+ var forcedStringTrimMethod = stringTrimForced;
6739
+
6740
+ // `String.prototype.trim` method
6741
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
6742
+ $$7({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
6743
+ trim: function trim() {
6744
+ return $trim(this);
6745
+ }
6746
+ });
6747
+
6748
+ const fetchAddressSuggestions = (formUrl, searchTerm, isAlbertaAddress) => __awaiter(void 0, void 0, void 0, function* () {
6749
+ const params = {
6750
+ country: 'CAN',
6751
+ languagePreference: 'en',
6752
+ lastId: '',
6753
+ maxSuggestions: isAlbertaAddress ? '50' : '10',
6754
+ searchTerm: searchTerm
6755
+ };
6756
+ try {
6757
+ const response = yield axios.get(formUrl, {
6758
+ params
6759
+ });
6760
+ return response.data.Items || [];
6761
+ } catch (error) {
6762
+ console.error('Error fetching address suggestions:', error);
6763
+ return [];
6764
+ }
6765
+ });
6766
+ const filterAlbertaAddresses = suggestions => {
6767
+ return suggestions.filter(suggestion => suggestion.Description.includes('AB'));
6768
+ };
6769
+ const mapSuggestionToAddress = suggestion => {
6770
+ const textParts = suggestion.Text.split(',');
6771
+ const addressLine1 = textParts.length > 1 ? textParts[1].trim() : textParts[0].trim();
6772
+ const addressLine2 = textParts.length > 1 ? textParts[0].trim() : '';
6773
+ const descriptionParts = suggestion.Description.split(',');
6774
+ const city = descriptionParts[0].trim();
6775
+ const provinceAndPostalCode = descriptionParts[1].trim().split(' ');
6776
+ const province = provinceAndPostalCode[0];
6777
+ const postalCode = descriptionParts[2].trim();
6778
+ return {
6779
+ addressLine1,
6780
+ addressLine2,
6781
+ city,
6782
+ province,
6783
+ postalCode,
6784
+ country: 'CAN'
6785
+ };
6786
+ };
6787
+
6788
+ let _$1 = t => t,
6789
+ _t$1;
6790
+ const AddressSearch = styled.div(_t$1 || (_t$1 = _$1`
6791
+ .suggestions {
6792
+ border-top-width: 0;
6793
+ list-style: none;
6794
+ margin-top: 0;
6795
+ max-height: 15.5rem;
6796
+ width: 100%;
6797
+ position: absolute;
6798
+
6799
+ background: var(--color-white);
6800
+ box-shadow: 0 8px 8px rgb(0 0 0 / 20%), 0 4px 4px rgb(0 0 0 / 10%);
6801
+ z-index: 99;
6802
+ padding-left: 0px;
6803
+
6804
+ overflow: hidden auto;
6805
+ }
6806
+ .suggestions li {
6807
+ padding: 0.5rem;
6808
+ color: var(--color-gray-900);
6809
+ }
6810
+ .suggestion-active,
6811
+ .suggestions li:hover {
6812
+ background-color: var(--color-primary);
6813
+ color: var(--color-white);
6814
+ cursor: pointer;
6815
+ font-weight: var(--fw-bold);
6816
+ }
6817
+ `));
6818
+
6819
+ const ADDRESS_PATH = 'api/gateway/v1/address/v1/find';
6820
+ const AddressLookUpControl = props => {
6821
+ var _a, _b;
6822
+ const {
6823
+ data,
6824
+ path,
6825
+ schema,
6826
+ handleChange
6827
+ } = props;
6828
+ const isAlbertaAddress = ((_b = (_a = schema === null || schema === void 0 ? void 0 : schema.properties) === null || _a === void 0 ? void 0 : _a.subdivisionCode) === null || _b === void 0 ? void 0 : _b.const) === 'AB';
6829
+ const formCtx = useContext(JsonFormContext);
6830
+ const formHost = formCtx === null || formCtx === void 0 ? void 0 : formCtx.formUrl;
6831
+ const formUrl = `${formHost}/${ADDRESS_PATH}`;
6832
+ const defaultAddress = {
6833
+ addressLine1: '',
6834
+ addressLine2: '',
6835
+ city: '',
6836
+ province: isAlbertaAddress ? 'AB' : '',
6837
+ postalCode: '',
6838
+ country: 'CAN'
6839
+ };
6840
+ const [address, setAddress] = useState(data || defaultAddress);
6841
+ const [searchTerm, setSearchTerm] = useState('');
6842
+ const [suggestions, setSuggestions] = useState([]);
6843
+ const [loading, setLoading] = useState(false);
6844
+ const updateFormData = updatedAddress => {
6845
+ setAddress(updatedAddress);
6846
+ handleChange(path, updatedAddress);
6847
+ };
6848
+ const handleInputChange = (field, value) => {
6849
+ const newAddress = Object.assign(Object.assign({}, address), {
6850
+ [field]: value
6851
+ });
6852
+ setAddress(newAddress);
6853
+ updateFormData(newAddress);
6854
+ };
6855
+ useEffect(() => {
6856
+ const fetchSuggestions = () => __awaiter(void 0, void 0, void 0, function* () {
6857
+ if (searchTerm.length > 2) {
6858
+ setLoading(true);
6859
+ const suggestions = yield fetchAddressSuggestions(formUrl, searchTerm, isAlbertaAddress);
6860
+ if (isAlbertaAddress) {
6861
+ setSuggestions(filterAlbertaAddresses(suggestions));
6862
+ } else {
6863
+ setSuggestions(suggestions);
6864
+ }
6865
+ setLoading(false);
6866
+ } else {
6867
+ setSuggestions([]);
6868
+ }
6869
+ });
6870
+ fetchSuggestions();
6871
+ }, [searchTerm, formUrl, isAlbertaAddress]);
6872
+ const handleDropdownChange = value => __awaiter(void 0, void 0, void 0, function* () {
6873
+ setSearchTerm(value);
6874
+ });
6875
+ const handleSuggestionClick = suggestion => {
6876
+ const suggestAddress = mapSuggestionToAddress(suggestion);
6877
+ setAddress(suggestAddress);
6878
+ handleChange(path, suggestAddress);
6879
+ setSuggestions([]);
6880
+ };
6881
+ return jsxs(AddressSearch, {
6882
+ children: [jsxs(GoAFormItem, {
6883
+ label: "",
6884
+ children: [jsx(GoAInput, {
6885
+ leadingIcon: "search",
6886
+ name: "address-form-address1",
6887
+ testId: "address-form-address1",
6888
+ ariaLabel: 'address-form-address1',
6889
+ placeholder: "Start typing the first line of your address",
6890
+ value: (address === null || address === void 0 ? void 0 : address.addressLine1) || '',
6891
+ onChange: (name, value) => handleDropdownChange(value),
6892
+ width: "100%"
6893
+ }), loading && jsx(GoASkeleton, {
6894
+ type: "text",
6895
+ "data-testId": "loading"
6896
+ }, 1), jsx("ul", {
6897
+ className: "suggestions",
6898
+ children: suggestions && suggestions.map((suggestion, index) => jsx("li", {
6899
+ onClick: () => handleSuggestionClick(suggestion),
6900
+ children: `${suggestion.Text} ${suggestion.Description}`
6901
+ }, index))
6902
+ })]
6903
+ }), jsx("br", {}), jsx(AddressInputs, {
6904
+ address: address,
6905
+ handleInputChange: handleInputChange,
6906
+ isAlbertaAddress: isAlbertaAddress
6907
+ })]
6908
+ });
6909
+ };
6910
+
6911
+ const AddressLookUpTester = rankWith(3, and(scopeEndsWith('mailingAddress')));
6912
+
6614
6913
  const GoATextCell = props => jsx(GoAInputText, Object.assign({}, props));
6615
6914
  const GoATextCellTester = rankWith(1, isStringControl);
6616
6915
  withJsonFormsCellProps(GoATextCell);
@@ -7187,7 +7486,7 @@ var arrayReduce = {
7187
7486
  right: createMethod(true)
7188
7487
  };
7189
7488
 
7190
- var fails$2 = fails$q;
7489
+ var fails$2 = fails$r;
7191
7490
 
7192
7491
  var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
7193
7492
  var method = [][METHOD_NAME];
@@ -7232,7 +7531,7 @@ var anInstance$1 = function (it, Prototype) {
7232
7531
  };
7233
7532
 
7234
7533
  var uncurryThis$2 = functionUncurryThis;
7235
- var fails$1 = fails$q;
7534
+ var fails$1 = fails$r;
7236
7535
  var isCallable$4 = isCallable$q;
7237
7536
  var classof$1 = classof$9;
7238
7537
  var getBuiltIn$2 = getBuiltIn$9;
@@ -7350,7 +7649,7 @@ var apply = functionApply;
7350
7649
  var bind$3 = functionBindContext;
7351
7650
  var isCallable$3 = isCallable$q;
7352
7651
  var hasOwn = hasOwnProperty_1;
7353
- var fails = fails$q;
7652
+ var fails = fails$r;
7354
7653
  var html = html$2;
7355
7654
  var arraySlice = arraySlice$2;
7356
7655
  var createElement = documentCreateElement$2;
@@ -8472,6 +8771,9 @@ const GoARenderers = [...GoABaseRenderers, {
8472
8771
  }, {
8473
8772
  tester: FileUploaderTester,
8474
8773
  renderer: withJsonFormsControlProps(FileUploader)
8774
+ }, {
8775
+ tester: AddressLookUpTester,
8776
+ renderer: withJsonFormsControlProps(AddressLookUpControl)
8475
8777
  }];
8476
8778
  const GoACells = [...InputCells];
8477
8779