@abgov/jsonforms-components 2.60.18 → 2.61.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -2241,55 +2241,16 @@ $$F({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
2241
2241
  }
2242
2242
  });
2243
2243
 
2244
- var call$n = functionCall;
2245
- var hasOwn$8 = hasOwnProperty_1;
2246
- var isPrototypeOf$4 = objectIsPrototypeOf;
2247
- var regExpFlags = regexpFlags$1;
2248
-
2249
- var RegExpPrototype$4 = RegExp.prototype;
2250
-
2251
- var regexpGetFlags = function (R) {
2252
- var flags = R.flags;
2253
- return flags === undefined && !('flags' in RegExpPrototype$4) && !hasOwn$8(R, 'flags') && isPrototypeOf$4(RegExpPrototype$4, R)
2254
- ? call$n(regExpFlags, R) : flags;
2255
- };
2256
-
2257
- var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
2258
- var defineBuiltIn$9 = defineBuiltIn$d;
2259
- var anObject$m = anObject$t;
2260
- var $toString$2 = toString$n;
2261
- var fails$i = fails$y;
2262
- var getRegExpFlags$1 = regexpGetFlags;
2263
-
2264
- var TO_STRING = 'toString';
2265
- var RegExpPrototype$3 = RegExp.prototype;
2266
- var nativeToString = RegExpPrototype$3[TO_STRING];
2267
-
2268
- var NOT_GENERIC = fails$i(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
2269
- // FF44- RegExp#toString has a wrong name
2270
- var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
2271
-
2272
- // `RegExp.prototype.toString` method
2273
- // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
2274
- if (NOT_GENERIC || INCORRECT_NAME) {
2275
- defineBuiltIn$9(RegExpPrototype$3, TO_STRING, function toString() {
2276
- var R = anObject$m(this);
2277
- var pattern = $toString$2(R.source);
2278
- var flags = $toString$2(getRegExpFlags$1(R));
2279
- return '/' + pattern + '/' + flags;
2280
- }, { unsafe: true });
2281
- }
2282
-
2283
2244
  var $$E = _export;
2284
2245
  var uncurryThis$r = functionUncurryThis;
2285
2246
  var requireObjectCoercible$9 = requireObjectCoercible$e;
2286
2247
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$9;
2287
2248
  var toString$i = toString$n;
2288
- var fails$h = fails$y;
2249
+ var fails$i = fails$y;
2289
2250
 
2290
2251
  var charAt$8 = uncurryThis$r(''.charAt);
2291
2252
 
2292
- var FORCED$5 = fails$h(function () {
2253
+ var FORCED$5 = fails$i(function () {
2293
2254
  // eslint-disable-next-line es/no-array-string-prototype-at -- safe
2294
2255
  return '𠮷'.at(-2) !== '\uD842';
2295
2256
  });
@@ -2308,27 +2269,27 @@ $$E({ target: 'String', proto: true, forced: FORCED$5 }, {
2308
2269
 
2309
2270
  // TODO: Remove from `core-js@4` since it's moved to entry points
2310
2271
 
2311
- var call$m = functionCall;
2312
- var defineBuiltIn$8 = defineBuiltIn$d;
2272
+ var call$n = functionCall;
2273
+ var defineBuiltIn$9 = defineBuiltIn$d;
2313
2274
  var regexpExec$1 = regexpExec$2;
2314
- var fails$g = fails$y;
2275
+ var fails$h = fails$y;
2315
2276
  var wellKnownSymbol$d = wellKnownSymbol$o;
2316
2277
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$a;
2317
2278
 
2318
2279
  var SPECIES$4 = wellKnownSymbol$d('species');
2319
- var RegExpPrototype$2 = RegExp.prototype;
2280
+ var RegExpPrototype$4 = RegExp.prototype;
2320
2281
 
2321
2282
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2322
2283
  var SYMBOL = wellKnownSymbol$d(KEY);
2323
2284
 
2324
- var DELEGATES_TO_SYMBOL = !fails$g(function () {
2285
+ var DELEGATES_TO_SYMBOL = !fails$h(function () {
2325
2286
  // String methods call symbol-named RegExp methods
2326
2287
  var O = {};
2327
2288
  O[SYMBOL] = function () { return 7; };
2328
2289
  return ''[KEY](O) !== 7;
2329
2290
  });
2330
2291
 
2331
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$g(function () {
2292
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$h(function () {
2332
2293
  // Symbol-named RegExp methods call .exec
2333
2294
  var execCalled = false;
2334
2295
  var re = /a/;
@@ -2363,23 +2324,23 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2363
2324
  var nativeRegExpMethod = /./[SYMBOL];
2364
2325
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
2365
2326
  var $exec = regexp.exec;
2366
- if ($exec === regexpExec$1 || $exec === RegExpPrototype$2.exec) {
2327
+ if ($exec === regexpExec$1 || $exec === RegExpPrototype$4.exec) {
2367
2328
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
2368
2329
  // The native String method already delegates to @@method (this
2369
2330
  // polyfilled function), leasing to infinite recursion.
2370
2331
  // We avoid it by directly calling the native @@method method.
2371
- return { done: true, value: call$m(nativeRegExpMethod, regexp, str, arg2) };
2332
+ return { done: true, value: call$n(nativeRegExpMethod, regexp, str, arg2) };
2372
2333
  }
2373
- return { done: true, value: call$m(nativeMethod, str, regexp, arg2) };
2334
+ return { done: true, value: call$n(nativeMethod, str, regexp, arg2) };
2374
2335
  }
2375
2336
  return { done: false };
2376
2337
  });
2377
2338
 
2378
- defineBuiltIn$8(String.prototype, KEY, methods[0]);
2379
- defineBuiltIn$8(RegExpPrototype$2, SYMBOL, methods[1]);
2339
+ defineBuiltIn$9(String.prototype, KEY, methods[0]);
2340
+ defineBuiltIn$9(RegExpPrototype$4, SYMBOL, methods[1]);
2380
2341
  }
2381
2342
 
2382
- if (SHAM) createNonEnumerableProperty$2(RegExpPrototype$2[SYMBOL], 'sham', true);
2343
+ if (SHAM) createNonEnumerableProperty$2(RegExpPrototype$4[SYMBOL], 'sham', true);
2383
2344
  };
2384
2345
 
2385
2346
  var uncurryThis$q = functionUncurryThis;
@@ -2473,8 +2434,8 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2473
2434
  });
2474
2435
  };
2475
2436
 
2476
- var call$l = functionCall;
2477
- var anObject$l = anObject$t;
2437
+ var call$m = functionCall;
2438
+ var anObject$m = anObject$t;
2478
2439
  var isCallable$c = isCallable$t;
2479
2440
  var classof$7 = classofRaw$2;
2480
2441
  var regexpExec = regexpExec$2;
@@ -2486,20 +2447,20 @@ var $TypeError$e = TypeError;
2486
2447
  var regexpExecAbstract = function (R, S) {
2487
2448
  var exec = R.exec;
2488
2449
  if (isCallable$c(exec)) {
2489
- var result = call$l(exec, R, S);
2490
- if (result !== null) anObject$l(result);
2450
+ var result = call$m(exec, R, S);
2451
+ if (result !== null) anObject$m(result);
2491
2452
  return result;
2492
2453
  }
2493
- if (classof$7(R) === 'RegExp') return call$l(regexpExec, R, S);
2454
+ if (classof$7(R) === 'RegExp') return call$m(regexpExec, R, S);
2494
2455
  throw new $TypeError$e('RegExp#exec called on incompatible receiver');
2495
2456
  };
2496
2457
 
2497
2458
  var apply$2 = functionApply;
2498
- var call$k = functionCall;
2459
+ var call$l = functionCall;
2499
2460
  var uncurryThis$o = functionUncurryThis;
2500
2461
  var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
2501
- var fails$f = fails$y;
2502
- var anObject$k = anObject$t;
2462
+ var fails$g = fails$y;
2463
+ var anObject$l = anObject$t;
2503
2464
  var isCallable$b = isCallable$t;
2504
2465
  var isNullOrUndefined$4 = isNullOrUndefined$7;
2505
2466
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$9;
@@ -2539,7 +2500,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
2539
2500
  return false;
2540
2501
  })();
2541
2502
 
2542
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$f(function () {
2503
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$g(function () {
2543
2504
  var re = /./;
2544
2505
  re.exec = function () {
2545
2506
  var result = [];
@@ -2561,13 +2522,13 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall
2561
2522
  var O = requireObjectCoercible$7(this);
2562
2523
  var replacer = isNullOrUndefined$4(searchValue) ? undefined : getMethod$5(searchValue, REPLACE);
2563
2524
  return replacer
2564
- ? call$k(replacer, searchValue, O, replaceValue)
2565
- : call$k(nativeReplace, toString$g(O), searchValue, replaceValue);
2525
+ ? call$l(replacer, searchValue, O, replaceValue)
2526
+ : call$l(nativeReplace, toString$g(O), searchValue, replaceValue);
2566
2527
  },
2567
2528
  // `RegExp.prototype[@@replace]` method
2568
2529
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2569
2530
  function (string, replaceValue) {
2570
- var rx = anObject$k(this);
2531
+ var rx = anObject$l(this);
2571
2532
  var S = toString$g(string);
2572
2533
 
2573
2534
  if (
@@ -2665,8 +2626,8 @@ var stringTrim = {
2665
2626
  trim: createMethod$2(3)
2666
2627
  };
2667
2628
 
2668
- var PROPER_FUNCTION_NAME = functionName.PROPER;
2669
- var fails$e = fails$y;
2629
+ var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
2630
+ var fails$f = fails$y;
2670
2631
  var whitespaces$1 = whitespaces$3;
2671
2632
 
2672
2633
  var non = '\u200B\u0085\u180E';
@@ -2674,10 +2635,10 @@ var non = '\u200B\u0085\u180E';
2674
2635
  // check that a method works with the correct list
2675
2636
  // of whitespaces and has a correct name
2676
2637
  var stringTrimForced = function (METHOD_NAME) {
2677
- return fails$e(function () {
2638
+ return fails$f(function () {
2678
2639
  return !!whitespaces$1[METHOD_NAME]()
2679
2640
  || non[METHOD_NAME]() !== non
2680
- || (PROPER_FUNCTION_NAME && whitespaces$1[METHOD_NAME].name !== METHOD_NAME);
2641
+ || (PROPER_FUNCTION_NAME$1 && whitespaces$1[METHOD_NAME].name !== METHOD_NAME);
2681
2642
  });
2682
2643
  };
2683
2644
 
@@ -2693,12 +2654,12 @@ $$D({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
2693
2654
  }
2694
2655
  });
2695
2656
 
2696
- var isPrototypeOf$3 = objectIsPrototypeOf;
2657
+ var isPrototypeOf$4 = objectIsPrototypeOf;
2697
2658
 
2698
2659
  var $TypeError$d = TypeError;
2699
2660
 
2700
2661
  var anInstance$4 = function (it, Prototype) {
2701
- if (isPrototypeOf$3(Prototype, it)) return it;
2662
+ if (isPrototypeOf$4(Prototype, it)) return it;
2702
2663
  throw new $TypeError$d('Incorrect invocation');
2703
2664
  };
2704
2665
 
@@ -2723,13 +2684,13 @@ var createProperty$4 = function (object, key, value) {
2723
2684
  var $$C = _export;
2724
2685
  var global$e = global$t;
2725
2686
  var anInstance$3 = anInstance$4;
2726
- var anObject$j = anObject$t;
2687
+ var anObject$k = anObject$t;
2727
2688
  var isCallable$a = isCallable$t;
2728
2689
  var getPrototypeOf = objectGetPrototypeOf;
2729
2690
  var defineBuiltInAccessor$6 = defineBuiltInAccessor$7;
2730
2691
  var createProperty$3 = createProperty$4;
2731
- var fails$d = fails$y;
2732
- var hasOwn$7 = hasOwnProperty_1;
2692
+ var fails$e = fails$y;
2693
+ var hasOwn$8 = hasOwnProperty_1;
2733
2694
  var wellKnownSymbol$b = wellKnownSymbol$o;
2734
2695
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
2735
2696
  var DESCRIPTORS$b = descriptors;
@@ -2745,7 +2706,7 @@ var NativeIterator = global$e[ITERATOR$6];
2745
2706
  var FORCED$4 = !isCallable$a(NativeIterator)
2746
2707
  || NativeIterator.prototype !== IteratorPrototype$1
2747
2708
  // FF44- non-standard `Iterator` passes previous tests
2748
- || !fails$d(function () { NativeIterator({}); });
2709
+ || !fails$e(function () { NativeIterator({}); });
2749
2710
 
2750
2711
  var IteratorConstructor = function Iterator() {
2751
2712
  anInstance$3(this, IteratorPrototype$1);
@@ -2760,18 +2721,18 @@ var defineIteratorPrototypeAccessor = function (key, value) {
2760
2721
  return value;
2761
2722
  },
2762
2723
  set: function (replacement) {
2763
- anObject$j(this);
2724
+ anObject$k(this);
2764
2725
  if (this === IteratorPrototype$1) throw new $TypeError$c("You can't redefine this property");
2765
- if (hasOwn$7(this, key)) this[key] = replacement;
2726
+ if (hasOwn$8(this, key)) this[key] = replacement;
2766
2727
  else createProperty$3(this, key, replacement);
2767
2728
  }
2768
2729
  });
2769
2730
  } else IteratorPrototype$1[key] = value;
2770
2731
  };
2771
2732
 
2772
- if (!hasOwn$7(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$6);
2733
+ if (!hasOwn$8(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$6);
2773
2734
 
2774
- if (FORCED$4 || !hasOwn$7(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
2735
+ if (FORCED$4 || !hasOwn$8(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
2775
2736
  defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
2776
2737
  }
2777
2738
 
@@ -2793,38 +2754,38 @@ var getIteratorDirect$a = function (obj) {
2793
2754
  };
2794
2755
  };
2795
2756
 
2796
- var defineBuiltIn$7 = defineBuiltIn$d;
2757
+ var defineBuiltIn$8 = defineBuiltIn$d;
2797
2758
 
2798
2759
  var defineBuiltIns$2 = function (target, src, options) {
2799
- for (var key in src) defineBuiltIn$7(target, key, src[key], options);
2760
+ for (var key in src) defineBuiltIn$8(target, key, src[key], options);
2800
2761
  return target;
2801
2762
  };
2802
2763
 
2803
- var call$j = functionCall;
2804
- var anObject$i = anObject$t;
2764
+ var call$k = functionCall;
2765
+ var anObject$j = anObject$t;
2805
2766
  var getMethod$4 = getMethod$7;
2806
2767
 
2807
2768
  var iteratorClose$6 = function (iterator, kind, value) {
2808
2769
  var innerResult, innerError;
2809
- anObject$i(iterator);
2770
+ anObject$j(iterator);
2810
2771
  try {
2811
2772
  innerResult = getMethod$4(iterator, 'return');
2812
2773
  if (!innerResult) {
2813
2774
  if (kind === 'throw') throw value;
2814
2775
  return value;
2815
2776
  }
2816
- innerResult = call$j(innerResult, iterator);
2777
+ innerResult = call$k(innerResult, iterator);
2817
2778
  } catch (error) {
2818
2779
  innerError = true;
2819
2780
  innerResult = error;
2820
2781
  }
2821
2782
  if (kind === 'throw') throw value;
2822
2783
  if (innerError) throw innerResult;
2823
- anObject$i(innerResult);
2784
+ anObject$j(innerResult);
2824
2785
  return value;
2825
2786
  };
2826
2787
 
2827
- var call$i = functionCall;
2788
+ var call$j = functionCall;
2828
2789
  var create$2 = objectCreate;
2829
2790
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$a;
2830
2791
  var defineBuiltIns$1 = defineBuiltIns$2;
@@ -2864,7 +2825,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
2864
2825
  state.done = true;
2865
2826
  if (IS_ITERATOR) {
2866
2827
  var returnMethod = getMethod$3(iterator, 'return');
2867
- return returnMethod ? call$i(returnMethod, iterator) : createIterResultObject$2(undefined, true);
2828
+ return returnMethod ? call$j(returnMethod, iterator) : createIterResultObject$2(undefined, true);
2868
2829
  }
2869
2830
  if (state.inner) try {
2870
2831
  iteratorClose$5(state.inner.iterator, 'normal');
@@ -2900,22 +2861,22 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
2900
2861
  return IteratorProxy;
2901
2862
  };
2902
2863
 
2903
- var anObject$h = anObject$t;
2864
+ var anObject$i = anObject$t;
2904
2865
  var iteratorClose$4 = iteratorClose$6;
2905
2866
 
2906
2867
  // call something on iterator step with safe closing on error
2907
2868
  var callWithSafeIterationClosing$3 = function (iterator, fn, value, ENTRIES) {
2908
2869
  try {
2909
- return ENTRIES ? fn(anObject$h(value)[0], value[1]) : fn(value);
2870
+ return ENTRIES ? fn(anObject$i(value)[0], value[1]) : fn(value);
2910
2871
  } catch (error) {
2911
2872
  iteratorClose$4(iterator, 'throw', error);
2912
2873
  }
2913
2874
  };
2914
2875
 
2915
2876
  var $$B = _export;
2916
- var call$h = functionCall;
2877
+ var call$i = functionCall;
2917
2878
  var aCallable$h = aCallable$k;
2918
- var anObject$g = anObject$t;
2879
+ var anObject$h = anObject$t;
2919
2880
  var getIteratorDirect$9 = getIteratorDirect$a;
2920
2881
  var createIteratorProxy$2 = iteratorCreateProxy;
2921
2882
  var callWithSafeIterationClosing$2 = callWithSafeIterationClosing$3;
@@ -2927,7 +2888,7 @@ var IteratorProxy$2 = createIteratorProxy$2(function () {
2927
2888
  var next = this.next;
2928
2889
  var result, done, value;
2929
2890
  while (true) {
2930
- result = anObject$g(call$h(next, iterator));
2891
+ result = anObject$h(call$i(next, iterator));
2931
2892
  done = this.done = !!result.done;
2932
2893
  if (done) return;
2933
2894
  value = result.value;
@@ -2939,7 +2900,7 @@ var IteratorProxy$2 = createIteratorProxy$2(function () {
2939
2900
  // https://github.com/tc39/proposal-iterator-helpers
2940
2901
  $$B({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$3 }, {
2941
2902
  filter: function filter(predicate) {
2942
- anObject$g(this);
2903
+ anObject$h(this);
2943
2904
  aCallable$h(predicate);
2944
2905
  return new IteratorProxy$2(getIteratorDirect$9(this), {
2945
2906
  predicate: predicate
@@ -2986,9 +2947,9 @@ var getIteratorMethod$5 = function (it) {
2986
2947
  || Iterators[classof$6(it)];
2987
2948
  };
2988
2949
 
2989
- var call$g = functionCall;
2950
+ var call$h = functionCall;
2990
2951
  var aCallable$f = aCallable$k;
2991
- var anObject$f = anObject$t;
2952
+ var anObject$g = anObject$t;
2992
2953
  var tryToString$3 = tryToString$5;
2993
2954
  var getIteratorMethod$4 = getIteratorMethod$5;
2994
2955
 
@@ -2996,17 +2957,17 @@ var $TypeError$b = TypeError;
2996
2957
 
2997
2958
  var getIterator$3 = function (argument, usingIterator) {
2998
2959
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$4(argument) : usingIterator;
2999
- if (aCallable$f(iteratorMethod)) return anObject$f(call$g(iteratorMethod, argument));
2960
+ if (aCallable$f(iteratorMethod)) return anObject$g(call$h(iteratorMethod, argument));
3000
2961
  throw new $TypeError$b(tryToString$3(argument) + ' is not iterable');
3001
2962
  };
3002
2963
 
3003
2964
  var bind$7 = functionBindContext;
3004
- var call$f = functionCall;
3005
- var anObject$e = anObject$t;
2965
+ var call$g = functionCall;
2966
+ var anObject$f = anObject$t;
3006
2967
  var tryToString$2 = tryToString$5;
3007
2968
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
3008
2969
  var lengthOfArrayLike$8 = lengthOfArrayLike$b;
3009
- var isPrototypeOf$2 = objectIsPrototypeOf;
2970
+ var isPrototypeOf$3 = objectIsPrototypeOf;
3010
2971
  var getIterator$2 = getIterator$3;
3011
2972
  var getIteratorMethod$3 = getIteratorMethod$5;
3012
2973
  var iteratorClose$3 = iteratorClose$6;
@@ -3036,7 +2997,7 @@ var iterate$a = function (iterable, unboundFunction, options) {
3036
2997
 
3037
2998
  var callFn = function (value) {
3038
2999
  if (AS_ENTRIES) {
3039
- anObject$e(value);
3000
+ anObject$f(value);
3040
3001
  return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
3041
3002
  } return INTERRUPTED ? fn(value, stop) : fn(value);
3042
3003
  };
@@ -3052,34 +3013,34 @@ var iterate$a = function (iterable, unboundFunction, options) {
3052
3013
  if (isArrayIteratorMethod$1(iterFn)) {
3053
3014
  for (index = 0, length = lengthOfArrayLike$8(iterable); length > index; index++) {
3054
3015
  result = callFn(iterable[index]);
3055
- if (result && isPrototypeOf$2(ResultPrototype, result)) return result;
3016
+ if (result && isPrototypeOf$3(ResultPrototype, result)) return result;
3056
3017
  } return new Result(false);
3057
3018
  }
3058
3019
  iterator = getIterator$2(iterable, iterFn);
3059
3020
  }
3060
3021
 
3061
3022
  next = IS_RECORD ? iterable.next : iterator.next;
3062
- while (!(step = call$f(next, iterator)).done) {
3023
+ while (!(step = call$g(next, iterator)).done) {
3063
3024
  try {
3064
3025
  result = callFn(step.value);
3065
3026
  } catch (error) {
3066
3027
  iteratorClose$3(iterator, 'throw', error);
3067
3028
  }
3068
- if (typeof result == 'object' && result && isPrototypeOf$2(ResultPrototype, result)) return result;
3029
+ if (typeof result == 'object' && result && isPrototypeOf$3(ResultPrototype, result)) return result;
3069
3030
  } return new Result(false);
3070
3031
  };
3071
3032
 
3072
3033
  var $$A = _export;
3073
3034
  var iterate$9 = iterate$a;
3074
3035
  var aCallable$e = aCallable$k;
3075
- var anObject$d = anObject$t;
3036
+ var anObject$e = anObject$t;
3076
3037
  var getIteratorDirect$8 = getIteratorDirect$a;
3077
3038
 
3078
3039
  // `Iterator.prototype.find` method
3079
3040
  // https://github.com/tc39/proposal-iterator-helpers
3080
3041
  $$A({ target: 'Iterator', proto: true, real: true }, {
3081
3042
  find: function find(predicate) {
3082
- anObject$d(this);
3043
+ anObject$e(this);
3083
3044
  aCallable$e(predicate);
3084
3045
  var record = getIteratorDirect$8(this);
3085
3046
  var counter = 0;
@@ -3092,14 +3053,14 @@ $$A({ target: 'Iterator', proto: true, real: true }, {
3092
3053
  var $$z = _export;
3093
3054
  var iterate$8 = iterate$a;
3094
3055
  var aCallable$d = aCallable$k;
3095
- var anObject$c = anObject$t;
3056
+ var anObject$d = anObject$t;
3096
3057
  var getIteratorDirect$7 = getIteratorDirect$a;
3097
3058
 
3098
3059
  // `Iterator.prototype.forEach` method
3099
3060
  // https://github.com/tc39/proposal-iterator-helpers
3100
3061
  $$z({ target: 'Iterator', proto: true, real: true }, {
3101
3062
  forEach: function forEach(fn) {
3102
- anObject$c(this);
3063
+ anObject$d(this);
3103
3064
  aCallable$d(fn);
3104
3065
  var record = getIteratorDirect$7(this);
3105
3066
  var counter = 0;
@@ -3109,16 +3070,16 @@ $$z({ target: 'Iterator', proto: true, real: true }, {
3109
3070
  }
3110
3071
  });
3111
3072
 
3112
- var call$e = functionCall;
3073
+ var call$f = functionCall;
3113
3074
  var aCallable$c = aCallable$k;
3114
- var anObject$b = anObject$t;
3075
+ var anObject$c = anObject$t;
3115
3076
  var getIteratorDirect$6 = getIteratorDirect$a;
3116
3077
  var createIteratorProxy$1 = iteratorCreateProxy;
3117
3078
  var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$3;
3118
3079
 
3119
3080
  var IteratorProxy$1 = createIteratorProxy$1(function () {
3120
3081
  var iterator = this.iterator;
3121
- var result = anObject$b(call$e(this.next, iterator));
3082
+ var result = anObject$c(call$f(this.next, iterator));
3122
3083
  var done = this.done = !!result.done;
3123
3084
  if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
3124
3085
  });
@@ -3126,7 +3087,7 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
3126
3087
  // `Iterator.prototype.map` method
3127
3088
  // https://github.com/tc39/proposal-iterator-helpers
3128
3089
  var iteratorMap = function map(mapper) {
3129
- anObject$b(this);
3090
+ anObject$c(this);
3130
3091
  aCallable$c(mapper);
3131
3092
  return new IteratorProxy$1(getIteratorDirect$6(this), {
3132
3093
  mapper: mapper
@@ -3143,33 +3104,17 @@ $$y({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$2 }, {
3143
3104
  map: map
3144
3105
  });
3145
3106
 
3146
- const sinTitle = 'Social insurance number';
3147
- const invalidSin = 'Social insurance number is invalid';
3148
- const DEFAULT_MAX_ITEMS = 50;
3149
- const REQUIRED_PROPERTY_ERROR = 'is a required property';
3150
- const ADDRESS_LOOKUP_LABELS = {
3151
- addressLine1: 'Address line 1',
3152
- addressLine2: 'Address line 2',
3153
- municipality: 'City',
3154
- postalCode: 'Postal code',
3155
- subdivisionCode: 'Province',
3156
- country: 'Country'
3157
- };
3158
- const getAddressLookupFieldLabel = fieldName => {
3159
- return ADDRESS_LOOKUP_LABELS[fieldName] || fieldName;
3160
- };
3161
-
3162
3107
  var $$x = _export;
3163
3108
  var iterate$7 = iterate$a;
3164
3109
  var aCallable$b = aCallable$k;
3165
- var anObject$a = anObject$t;
3110
+ var anObject$b = anObject$t;
3166
3111
  var getIteratorDirect$5 = getIteratorDirect$a;
3167
3112
 
3168
3113
  // `Iterator.prototype.every` method
3169
3114
  // https://github.com/tc39/proposal-iterator-helpers
3170
3115
  $$x({ target: 'Iterator', proto: true, real: true }, {
3171
3116
  every: function every(predicate) {
3172
- anObject$a(this);
3117
+ anObject$b(this);
3173
3118
  aCallable$b(predicate);
3174
3119
  var record = getIteratorDirect$5(this);
3175
3120
  var counter = 0;
@@ -3201,13 +3146,13 @@ var aSet$7 = function (it) {
3201
3146
  return it;
3202
3147
  };
3203
3148
 
3204
- var call$d = functionCall;
3149
+ var call$e = functionCall;
3205
3150
 
3206
3151
  var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
3207
3152
  var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
3208
3153
  var next = record.next;
3209
3154
  var step, result;
3210
- while (!(step = call$d(next, iterator)).done) {
3155
+ while (!(step = call$e(next, iterator)).done) {
3211
3156
  result = fn(step.value);
3212
3157
  if (result !== undefined) return result;
3213
3158
  }
@@ -3249,8 +3194,8 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
3249
3194
  };
3250
3195
 
3251
3196
  var aCallable$a = aCallable$k;
3252
- var anObject$9 = anObject$t;
3253
- var call$c = functionCall;
3197
+ var anObject$a = anObject$t;
3198
+ var call$d = functionCall;
3254
3199
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$9;
3255
3200
  var getIteratorDirect$4 = getIteratorDirect$a;
3256
3201
 
@@ -3268,17 +3213,17 @@ var SetRecord = function (set, intSize) {
3268
3213
 
3269
3214
  SetRecord.prototype = {
3270
3215
  getIterator: function () {
3271
- return getIteratorDirect$4(anObject$9(call$c(this.keys, this.set)));
3216
+ return getIteratorDirect$4(anObject$a(call$d(this.keys, this.set)));
3272
3217
  },
3273
3218
  includes: function (it) {
3274
- return call$c(this.has, this.set, it);
3219
+ return call$d(this.has, this.set, it);
3275
3220
  }
3276
3221
  };
3277
3222
 
3278
3223
  // `GetSetRecord` abstract operation
3279
3224
  // https://tc39.es/proposal-set-methods/#sec-getsetrecord
3280
3225
  var getSetRecord$7 = function (obj) {
3281
- anObject$9(obj);
3226
+ anObject$a(obj);
3282
3227
  var numSize = +obj.size;
3283
3228
  // NOTE: If size is undefined, then numSize will be NaN
3284
3229
  // eslint-disable-next-line no-self-compare -- NaN check
@@ -3391,11 +3336,11 @@ var setIntersection = function intersection(other) {
3391
3336
  };
3392
3337
 
3393
3338
  var $$v = _export;
3394
- var fails$c = fails$y;
3339
+ var fails$d = fails$y;
3395
3340
  var intersection = setIntersection;
3396
3341
  var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
3397
3342
 
3398
- var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$c(function () {
3343
+ var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$d(function () {
3399
3344
  // eslint-disable-next-line es/no-array-from, es/no-set -- testing
3400
3345
  return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
3401
3346
  });
@@ -3769,8 +3714,7 @@ const isNilOrEmptyString = value => value === undefined || value === null || val
3769
3714
  */
3770
3715
  const isNilOrEmptyValue = (value, includeEmptyArray = false) => value === undefined || value === null || value === '' || includeEmptyArray && Array.isArray(value) && value.length === 0;
3771
3716
  const validateSinWithLuhn = input => {
3772
- const cardNumber = input.toString();
3773
- const digits = cardNumber.replace(/\D/g, '').split('').map(Number);
3717
+ const digits = input.replace(/\D/g, '').split('').map(Number);
3774
3718
  let sum = 0;
3775
3719
  let isSecond = false;
3776
3720
  for (let i = digits.length - 1; i >= 0; i--) {
@@ -3786,19 +3730,6 @@ const validateSinWithLuhn = input => {
3786
3730
  }
3787
3731
  return sum % 10 === 0;
3788
3732
  };
3789
- const getSinValidationError = (data, schema) => {
3790
- const extraSchema = schema;
3791
- if (!extraSchema || extraSchema.title !== sinTitle || typeof data !== 'string') {
3792
- return undefined;
3793
- }
3794
- if (data.length === 11 && !validateSinWithLuhn(Number(data.replace(/\D/g, '')))) {
3795
- return data === '' ? '' : invalidSin;
3796
- }
3797
- if (data.length > 0 && data.length < 11) {
3798
- return extraSchema.errorMessage;
3799
- }
3800
- return undefined;
3801
- };
3802
3733
  /**
3803
3734
  * Gets the required fields in the If/Then/Else json schema condition.
3804
3735
  * @param props - ControlProps
@@ -3863,10 +3794,6 @@ const checkFieldValidity = (props, rootData) => {
3863
3794
  schema
3864
3795
  } = props;
3865
3796
  const labelToUpdate = getControlLabelText(props);
3866
- const sinValidationError = getSinValidationError(data, schema);
3867
- if (sinValidationError) {
3868
- return sinValidationError;
3869
- }
3870
3797
  const rootRequired = getRequiredIfThen(props);
3871
3798
  const requiredByCondition = isRequiredBySchema(props.rootSchema, rootData, props.path, {
3872
3799
  strategy: 'bestMatch'
@@ -4245,9 +4172,9 @@ var getJsonReplacerFunction = function (replacer) {
4245
4172
  var $$p = _export;
4246
4173
  var getBuiltIn$5 = getBuiltIn$b;
4247
4174
  var apply$1 = functionApply;
4248
- var call$b = functionCall;
4175
+ var call$c = functionCall;
4249
4176
  var uncurryThis$h = functionUncurryThis;
4250
- var fails$b = fails$y;
4177
+ var fails$c = fails$y;
4251
4178
  var isCallable$8 = isCallable$t;
4252
4179
  var isSymbol = isSymbol$3;
4253
4180
  var arraySlice$3 = arraySlice$4;
@@ -4266,7 +4193,7 @@ var tester = /[\uD800-\uDFFF]/g;
4266
4193
  var low = /^[\uD800-\uDBFF]$/;
4267
4194
  var hi = /^[\uDC00-\uDFFF]$/;
4268
4195
 
4269
- var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$2 || fails$b(function () {
4196
+ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$2 || fails$c(function () {
4270
4197
  var symbol = getBuiltIn$5('Symbol')('stringify detection');
4271
4198
  // MS Edge converts symbol values to JSON as {}
4272
4199
  return $stringify([symbol]) !== '[null]'
@@ -4277,7 +4204,7 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$2 || fails$b(function () {
4277
4204
  });
4278
4205
 
4279
4206
  // https://github.com/tc39/proposal-well-formed-stringify
4280
- var ILL_FORMED_UNICODE = fails$b(function () {
4207
+ var ILL_FORMED_UNICODE = fails$c(function () {
4281
4208
  return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
4282
4209
  || $stringify('\uDEAD') !== '"\\udead"';
4283
4210
  });
@@ -4288,7 +4215,7 @@ var stringifyWithSymbolsFix = function (it, replacer) {
4288
4215
  if (!isCallable$8($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
4289
4216
  args[1] = function (key, value) {
4290
4217
  // some old implementations (like WebKit) could pass numbers as keys
4291
- if (isCallable$8($replacer)) value = call$b($replacer, this, $String(key), value);
4218
+ if (isCallable$8($replacer)) value = call$c($replacer, this, $String(key), value);
4292
4219
  if (!isSymbol(value)) return value;
4293
4220
  };
4294
4221
  return apply$1($stringify, null, args);
@@ -4411,11 +4338,11 @@ function registerReducer(state, action) {
4411
4338
 
4412
4339
  var $$o = _export;
4413
4340
  var $includes = arrayIncludes.includes;
4414
- var fails$a = fails$y;
4341
+ var fails$b = fails$y;
4415
4342
  var addToUnscopables$2 = addToUnscopables$5;
4416
4343
 
4417
4344
  // FF99+ bug
4418
- var BROKEN_ON_SPARSE = fails$a(function () {
4345
+ var BROKEN_ON_SPARSE = fails$b(function () {
4419
4346
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
4420
4347
  return !Array(1).includes();
4421
4348
  });
@@ -4455,7 +4382,7 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
4455
4382
  };
4456
4383
 
4457
4384
  var uncurryThis$g = functionUncurryThis;
4458
- var fails$9 = fails$y;
4385
+ var fails$a = fails$y;
4459
4386
  var isCallable$7 = isCallable$t;
4460
4387
  var classof$2 = classof$a;
4461
4388
  var getBuiltIn$3 = getBuiltIn$b;
@@ -4498,7 +4425,7 @@ isConstructorLegacy.sham = true;
4498
4425
 
4499
4426
  // `IsConstructor` abstract operation
4500
4427
  // https://tc39.es/ecma262/#sec-isconstructor
4501
- var isConstructor$3 = !construct || fails$9(function () {
4428
+ var isConstructor$3 = !construct || fails$a(function () {
4502
4429
  var called;
4503
4430
  return isConstructorModern(isConstructorModern.call)
4504
4431
  || !isConstructorModern(Object)
@@ -4517,7 +4444,7 @@ var aConstructor$1 = function (argument) {
4517
4444
  throw new $TypeError$8(tryToString$1(argument) + ' is not a constructor');
4518
4445
  };
4519
4446
 
4520
- var anObject$8 = anObject$t;
4447
+ var anObject$9 = anObject$t;
4521
4448
  var aConstructor = aConstructor$1;
4522
4449
  var isNullOrUndefined$2 = isNullOrUndefined$7;
4523
4450
  var wellKnownSymbol$6 = wellKnownSymbol$o;
@@ -4527,9 +4454,9 @@ var SPECIES$2 = wellKnownSymbol$6('species');
4527
4454
  // `SpeciesConstructor` abstract operation
4528
4455
  // https://tc39.es/ecma262/#sec-speciesconstructor
4529
4456
  var speciesConstructor$2 = function (O, defaultConstructor) {
4530
- var C = anObject$8(O).constructor;
4457
+ var C = anObject$9(O).constructor;
4531
4458
  var S;
4532
- return C === undefined || isNullOrUndefined$2(S = anObject$8(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
4459
+ return C === undefined || isNullOrUndefined$2(S = anObject$9(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
4533
4460
  };
4534
4461
 
4535
4462
  var $TypeError$7 = TypeError;
@@ -4548,8 +4475,8 @@ var global$c = global$t;
4548
4475
  var apply = functionApply;
4549
4476
  var bind$6 = functionBindContext;
4550
4477
  var isCallable$6 = isCallable$t;
4551
- var hasOwn$6 = hasOwnProperty_1;
4552
- var fails$8 = fails$y;
4478
+ var hasOwn$7 = hasOwnProperty_1;
4479
+ var fails$9 = fails$y;
4553
4480
  var html = html$2;
4554
4481
  var arraySlice$2 = arraySlice$4;
4555
4482
  var createElement = documentCreateElement$2;
@@ -4569,13 +4496,13 @@ var queue$2 = {};
4569
4496
  var ONREADYSTATECHANGE = 'onreadystatechange';
4570
4497
  var $location, defer, channel, port;
4571
4498
 
4572
- fails$8(function () {
4499
+ fails$9(function () {
4573
4500
  // Deno throws a ReferenceError on `location` access without `--location` flag
4574
4501
  $location = global$c.location;
4575
4502
  });
4576
4503
 
4577
4504
  var run = function (id) {
4578
- if (hasOwn$6(queue$2, id)) {
4505
+ if (hasOwn$7(queue$2, id)) {
4579
4506
  var fn = queue$2[id];
4580
4507
  delete queue$2[id];
4581
4508
  fn();
@@ -4636,7 +4563,7 @@ if (!set || !clear) {
4636
4563
  isCallable$6(global$c.postMessage) &&
4637
4564
  !global$c.importScripts &&
4638
4565
  $location && $location.protocol !== 'file:' &&
4639
- !fails$8(globalPostMessageDefer)
4566
+ !fails$9(globalPostMessageDefer)
4640
4567
  ) {
4641
4568
  defer = globalPostMessageDefer;
4642
4569
  global$c.addEventListener('message', eventListener, false);
@@ -4884,8 +4811,8 @@ newPromiseCapability$2.f = function (C) {
4884
4811
  var $$n = _export;
4885
4812
  var IS_NODE$1 = engineIsNode;
4886
4813
  var global$7 = global$t;
4887
- var call$a = functionCall;
4888
- var defineBuiltIn$6 = defineBuiltIn$d;
4814
+ var call$b = functionCall;
4815
+ var defineBuiltIn$7 = defineBuiltIn$d;
4889
4816
  var setPrototypeOf = objectSetPrototypeOf;
4890
4817
  var setToStringTag$2 = setToStringTag$6;
4891
4818
  var setSpecies$1 = setSpecies$2;
@@ -4962,7 +4889,7 @@ var callReaction = function (reaction, state) {
4962
4889
  if (result === reaction.promise) {
4963
4890
  reject(new TypeError$3('Promise-chain cycle'));
4964
4891
  } else if (then = isThenable(result)) {
4965
- call$a(then, result, resolve, reject);
4892
+ call$b(then, result, resolve, reject);
4966
4893
  } else resolve(result);
4967
4894
  } else reject(value);
4968
4895
  } catch (error) {
@@ -4999,7 +4926,7 @@ var dispatchEvent = function (name, promise, reason) {
4999
4926
  };
5000
4927
 
5001
4928
  var onUnhandled = function (state) {
5002
- call$a(task, global$7, function () {
4929
+ call$b(task, global$7, function () {
5003
4930
  var promise = state.facade;
5004
4931
  var value = state.value;
5005
4932
  var IS_UNHANDLED = isUnhandled(state);
@@ -5022,7 +4949,7 @@ var isUnhandled = function (state) {
5022
4949
  };
5023
4950
 
5024
4951
  var onHandleUnhandled = function (state) {
5025
- call$a(task, global$7, function () {
4952
+ call$b(task, global$7, function () {
5026
4953
  var promise = state.facade;
5027
4954
  if (IS_NODE$1) {
5028
4955
  process$1.emit('rejectionHandled', promise);
@@ -5056,7 +4983,7 @@ var internalResolve = function (state, value, unwrap) {
5056
4983
  microtask(function () {
5057
4984
  var wrapper = { done: false };
5058
4985
  try {
5059
- call$a(then, value,
4986
+ call$b(then, value,
5060
4987
  bind$4(internalResolve, wrapper, state),
5061
4988
  bind$4(internalReject, wrapper, state)
5062
4989
  );
@@ -5080,7 +5007,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
5080
5007
  PromiseConstructor = function Promise(executor) {
5081
5008
  anInstance$2(this, PromisePrototype);
5082
5009
  aCallable$8(executor);
5083
- call$a(Internal, this);
5010
+ call$b(Internal, this);
5084
5011
  var state = getInternalPromiseState(this);
5085
5012
  try {
5086
5013
  executor(bind$4(internalResolve, state), bind$4(internalReject, state));
@@ -5107,7 +5034,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
5107
5034
 
5108
5035
  // `Promise.prototype.then` method
5109
5036
  // https://tc39.es/ecma262/#sec-promise.prototype.then
5110
- Internal.prototype = defineBuiltIn$6(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
5037
+ Internal.prototype = defineBuiltIn$7(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
5111
5038
  var state = getInternalPromiseState(this);
5112
5039
  var reaction = newPromiseCapability$1(speciesConstructor$1(this, PromiseConstructor));
5113
5040
  state.parent = true;
@@ -5140,10 +5067,10 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
5140
5067
 
5141
5068
  if (!NATIVE_PROMISE_SUBCLASSING) {
5142
5069
  // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
5143
- defineBuiltIn$6(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
5070
+ defineBuiltIn$7(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
5144
5071
  var that = this;
5145
5072
  return new PromiseConstructor(function (resolve, reject) {
5146
- call$a(nativeThen, that, resolve, reject);
5073
+ call$b(nativeThen, that, resolve, reject);
5147
5074
  }).then(onFulfilled, onRejected);
5148
5075
  // https://github.com/zloirock/core-js/issues/640
5149
5076
  }, { unsafe: true });
@@ -5218,7 +5145,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
5218
5145
  });
5219
5146
 
5220
5147
  var $$m = _export;
5221
- var call$9 = functionCall;
5148
+ var call$a = functionCall;
5222
5149
  var aCallable$7 = aCallable$k;
5223
5150
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
5224
5151
  var perform$1 = perform$3;
@@ -5242,7 +5169,7 @@ $$m({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
5242
5169
  var index = counter++;
5243
5170
  var alreadyCalled = false;
5244
5171
  remaining++;
5245
- call$9($promiseResolve, C, promise).then(function (value) {
5172
+ call$a($promiseResolve, C, promise).then(function (value) {
5246
5173
  if (alreadyCalled) return;
5247
5174
  alreadyCalled = true;
5248
5175
  values[index] = value;
@@ -5261,7 +5188,7 @@ var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
5261
5188
  var NativePromiseConstructor = promiseNativeConstructor;
5262
5189
  var getBuiltIn$2 = getBuiltIn$b;
5263
5190
  var isCallable$3 = isCallable$t;
5264
- var defineBuiltIn$5 = defineBuiltIn$d;
5191
+ var defineBuiltIn$6 = defineBuiltIn$d;
5265
5192
 
5266
5193
  var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
5267
5194
 
@@ -5277,12 +5204,12 @@ $$l({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real
5277
5204
  if (isCallable$3(NativePromiseConstructor)) {
5278
5205
  var method = getBuiltIn$2('Promise').prototype['catch'];
5279
5206
  if (NativePromisePrototype['catch'] !== method) {
5280
- defineBuiltIn$5(NativePromisePrototype, 'catch', method, { unsafe: true });
5207
+ defineBuiltIn$6(NativePromisePrototype, 'catch', method, { unsafe: true });
5281
5208
  }
5282
5209
  }
5283
5210
 
5284
5211
  var $$k = _export;
5285
- var call$8 = functionCall;
5212
+ var call$9 = functionCall;
5286
5213
  var aCallable$6 = aCallable$k;
5287
5214
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
5288
5215
  var perform = perform$3;
@@ -5299,7 +5226,7 @@ $$k({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
5299
5226
  var result = perform(function () {
5300
5227
  var $promiseResolve = aCallable$6(C.resolve);
5301
5228
  iterate$3(iterable, function (promise) {
5302
- call$8($promiseResolve, C, promise).then(capability.resolve, reject);
5229
+ call$9($promiseResolve, C, promise).then(capability.resolve, reject);
5303
5230
  });
5304
5231
  });
5305
5232
  if (result.error) reject(result.value);
@@ -5322,12 +5249,12 @@ $$j({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
5322
5249
  }
5323
5250
  });
5324
5251
 
5325
- var anObject$7 = anObject$t;
5252
+ var anObject$8 = anObject$t;
5326
5253
  var isObject$3 = isObject$h;
5327
5254
  var newPromiseCapability = newPromiseCapability$2;
5328
5255
 
5329
5256
  var promiseResolve$1 = function (C, x) {
5330
- anObject$7(C);
5257
+ anObject$8(C);
5331
5258
  if (isObject$3(x) && x.constructor === C) return x;
5332
5259
  var promiseCapability = newPromiseCapability.f(C);
5333
5260
  var resolve = promiseCapability.resolve;
@@ -5350,6 +5277,45 @@ $$i({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
5350
5277
  }
5351
5278
  });
5352
5279
 
5280
+ var call$8 = functionCall;
5281
+ var hasOwn$6 = hasOwnProperty_1;
5282
+ var isPrototypeOf$2 = objectIsPrototypeOf;
5283
+ var regExpFlags = regexpFlags$1;
5284
+
5285
+ var RegExpPrototype$3 = RegExp.prototype;
5286
+
5287
+ var regexpGetFlags = function (R) {
5288
+ var flags = R.flags;
5289
+ return flags === undefined && !('flags' in RegExpPrototype$3) && !hasOwn$6(R, 'flags') && isPrototypeOf$2(RegExpPrototype$3, R)
5290
+ ? call$8(regExpFlags, R) : flags;
5291
+ };
5292
+
5293
+ var PROPER_FUNCTION_NAME = functionName.PROPER;
5294
+ var defineBuiltIn$5 = defineBuiltIn$d;
5295
+ var anObject$7 = anObject$t;
5296
+ var $toString$2 = toString$n;
5297
+ var fails$8 = fails$y;
5298
+ var getRegExpFlags$1 = regexpGetFlags;
5299
+
5300
+ var TO_STRING = 'toString';
5301
+ var RegExpPrototype$2 = RegExp.prototype;
5302
+ var nativeToString = RegExpPrototype$2[TO_STRING];
5303
+
5304
+ var NOT_GENERIC = fails$8(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
5305
+ // FF44- RegExp#toString has a wrong name
5306
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
5307
+
5308
+ // `RegExp.prototype.toString` method
5309
+ // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
5310
+ if (NOT_GENERIC || INCORRECT_NAME) {
5311
+ defineBuiltIn$5(RegExpPrototype$2, TO_STRING, function toString() {
5312
+ var R = anObject$7(this);
5313
+ var pattern = $toString$2(R.source);
5314
+ var flags = $toString$2(getRegExpFlags$1(R));
5315
+ return '/' + pattern + '/' + flags;
5316
+ }, { unsafe: true });
5317
+ }
5318
+
5353
5319
  var $$h = _export;
5354
5320
  var uncurryThis$f = functionUncurryThis;
5355
5321
  var notARegExp$1 = notARegexp;
@@ -6700,13 +6666,10 @@ const stepperReducer = (state, action) => {
6700
6666
  targetScope
6701
6667
  } = action.payload;
6702
6668
  const newActive = id;
6703
- const newCategories = categories.map((c, idx) => idx === id ? Object.assign({}, c, {
6704
- isVisited: true
6705
- }) : c);
6706
6669
  const isOnReview = newActive === lastId + 1;
6707
6670
  return Object.assign({}, state, {
6708
6671
  activeId: newActive,
6709
- categories: newCategories,
6672
+ categories: categories,
6710
6673
  isOnReview,
6711
6674
  hasNextButton: !isOnReview,
6712
6675
  hasPrevButton: newActive !== 0,
@@ -6741,7 +6704,6 @@ const stepperReducer = (state, action) => {
6741
6704
  return Object.assign({}, cat, {
6742
6705
  isCompleted: status === 'Completed',
6743
6706
  isValid: status === 'Completed',
6744
- isVisited: true,
6745
6707
  status
6746
6708
  });
6747
6709
  });
@@ -6749,6 +6711,18 @@ const stepperReducer = (state, action) => {
6749
6711
  categories: newCategories
6750
6712
  });
6751
6713
  }
6714
+ case 'set/visited':
6715
+ {
6716
+ const {
6717
+ id
6718
+ } = action.payload;
6719
+ const newCategories = state.categories.map(cat => cat.id === id ? Object.assign({}, cat, {
6720
+ isVisited: true
6721
+ }) : cat);
6722
+ return Object.assign({}, state, {
6723
+ categories: newCategories
6724
+ });
6725
+ }
6752
6726
  case 'validate/form':
6753
6727
  {
6754
6728
  const {
@@ -6834,7 +6808,7 @@ const JsonFormsStepperContextProvider = ({
6834
6808
  children,
6835
6809
  StepperProps
6836
6810
  }) => {
6837
- var _uischema$options3, _ctx$core2, _ctx$core3, _ctx$core4;
6811
+ var _uischema$options3, _ctx$core2, _ctx$core3;
6838
6812
  const ctx = useJsonForms();
6839
6813
  /* istanbul ignore next */
6840
6814
  const {
@@ -6913,6 +6887,14 @@ const JsonFormsStepperContextProvider = ({
6913
6887
  }
6914
6888
  });
6915
6889
  },
6890
+ setVisited: id => {
6891
+ stepperDispatch({
6892
+ type: 'set/visited',
6893
+ payload: {
6894
+ id
6895
+ }
6896
+ });
6897
+ },
6916
6898
  toggleShowReviewLink: id => {
6917
6899
  stepperDispatch({
6918
6900
  type: 'toggle/category/review-link',
@@ -6955,7 +6937,7 @@ const JsonFormsStepperContextProvider = ({
6955
6937
  }
6956
6938
  }
6957
6939
  //eslint-disable-next-line
6958
- }, [JSON.stringify(StepperProps.uischema), JSON.stringify(StepperProps.schema), JSON.stringify(data), JSON.stringify(ctx == null || (_ctx$core4 = ctx.core) == null ? void 0 : _ctx$core4.errors)]);
6940
+ }, [JSON.stringify(StepperProps.uischema), JSON.stringify(StepperProps.schema)]);
6959
6941
  return jsx(JsonFormsStepperContext.Provider, {
6960
6942
  value: context,
6961
6943
  children: children
@@ -6987,12 +6969,16 @@ const GoAInputBaseControl = props => {
6987
6969
  core
6988
6970
  } = useJsonForms();
6989
6971
  const rootData = core == null ? void 0 : core.data;
6990
- let modifiedErrors = checkFieldValidity(props, rootData);
6972
+ const modifiedErrors = checkFieldValidity(props, rootData);
6991
6973
  useEffect(() => {
6992
6974
  if (showReviewLink === true && !isStepperReview) {
6993
6975
  setIsVisited(true);
6994
6976
  }
6995
6977
  }, [showReviewLink, isStepperReview]);
6978
+ const hasValue = (() => {
6979
+ const value = props.data;
6980
+ return value !== undefined && value !== null && value !== '';
6981
+ })();
6996
6982
  /* istanbul ignore next */
6997
6983
  useEffect(() => {
6998
6984
  if (stepperState != null && stepperState.targetScope && stepperState.targetScope === uischema.scope && controlRef.current) {
@@ -7023,9 +7009,6 @@ const GoAInputBaseControl = props => {
7023
7009
  }
7024
7010
  }
7025
7011
  }, [stepperState == null ? void 0 : stepperState.targetScope, uischema.scope]);
7026
- if (modifiedErrors === 'must be equal to one of the allowed values') {
7027
- modifiedErrors = '';
7028
- }
7029
7012
  const requiredNow = required || isRequiredBySchema(props.rootSchema, rootData, props.path, {
7030
7013
  strategy: 'bestMatch'
7031
7014
  });
@@ -7039,7 +7022,7 @@ const GoAInputBaseControl = props => {
7039
7022
  id: isStepperReview === true ? `review-base-${path}-element-wrapper` : `${path}-element-wrapper`,
7040
7023
  children: jsx(GoabFormItem, {
7041
7024
  requirement: (_uischema$options$com = uischema == null || (_uischema$options = uischema.options) == null || (_uischema$options = _uischema$options.componentProps) == null ? void 0 : _uischema$options.requirement) != null ? _uischema$options$com : requiredNow ? 'required' : undefined,
7042
- error: isVisited === true ? modifiedErrors : undefined,
7025
+ error: (currentCategory == null ? void 0 : currentCategory.isVisited) === true || hasValue ? modifiedErrors : undefined,
7043
7026
  testId: isStepperReview === true ? `review-base-${path}` : path,
7044
7027
  label: (props == null ? void 0 : props.noLabel) === true ? '' : labelToUpdate,
7045
7028
  helpText: typeof (uischema == null || (_uischema$options2 = uischema.options) == null ? void 0 : _uischema$options2.help) === 'string' && !isStepperReview ? uischema == null || (_uischema$options3 = uischema.options) == null ? void 0 : _uischema$options3.help : '',
@@ -7161,6 +7144,22 @@ fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCall
7161
7144
  ];
7162
7145
  });
7163
7146
 
7147
+ const sinTitle = 'Social insurance number';
7148
+ const invalidSin = 'Social insurance number is invalid';
7149
+ const DEFAULT_MAX_ITEMS = 50;
7150
+ const REQUIRED_PROPERTY_ERROR = 'is a required property';
7151
+ const ADDRESS_LOOKUP_LABELS = {
7152
+ addressLine1: 'Address line 1',
7153
+ addressLine2: 'Address line 2',
7154
+ municipality: 'City',
7155
+ postalCode: 'Postal code',
7156
+ subdivisionCode: 'Province',
7157
+ country: 'Country'
7158
+ };
7159
+ const getAddressLookupFieldLabel = fieldName => {
7160
+ return ADDRESS_LOOKUP_LABELS[fieldName] || fieldName;
7161
+ };
7162
+
7164
7163
  //type DebounceValueType = string | boolean | number | Record<string, unknown>;
7165
7164
  /**
7166
7165
  * A helper util to return a value at a certain delay. The delay is reset if the value arg changes
@@ -9517,6 +9516,11 @@ function humanizeAjvError(error, schema, uischema) {
9517
9516
  var _error$message;
9518
9517
  const path = getEffectiveInstancePath(error);
9519
9518
  const label = resolveLabel(path, schema, uischema);
9519
+ console.log('Do we get here?', {
9520
+ error,
9521
+ path,
9522
+ label
9523
+ });
9520
9524
  switch (error.keyword) {
9521
9525
  case VALIDATION_KEYWORDS.REQUIRED:
9522
9526
  return `${label} is required`;
@@ -9533,7 +9537,7 @@ function humanizeAjvError(error, schema, uischema) {
9533
9537
  case VALIDATION_KEYWORDS.TYPE:
9534
9538
  return `${label} must be a ${error.params.type}`;
9535
9539
  default:
9536
- return `${label} ${(_error$message = error.message) != null ? _error$message : ''}`.trim();
9540
+ return (_error$message = error.message) != null ? _error$message : `${label} is invalid`;
9537
9541
  }
9538
9542
  }
9539
9543
  const LeftTab = ({
@@ -10123,10 +10127,6 @@ const GoAInputBaseTableReview = props => {
10123
10127
  if (!activeError && typeof errors === 'string' && errors.trim() !== '') {
10124
10128
  activeError = errors;
10125
10129
  }
10126
- const sinValidationError = getSinValidationError(data, schema);
10127
- if (sinValidationError) {
10128
- activeError = sinValidationError;
10129
- }
10130
10130
  if (activeError && /\sis required$/i.test(activeError)) {
10131
10131
  activeError = `${labelToUpdate} is required`;
10132
10132
  }
@@ -14560,7 +14560,8 @@ const RenderPages = props => {
14560
14560
  const formStepperCtx = useContext(JsonFormsStepperContext);
14561
14561
  const {
14562
14562
  goToPage,
14563
- goToTableOfContext
14563
+ goToTableOfContext,
14564
+ setVisited
14564
14565
  } = formStepperCtx;
14565
14566
  const {
14566
14567
  categories,
@@ -14622,6 +14623,7 @@ const RenderPages = props => {
14622
14623
  link: () => {
14623
14624
  handleSave();
14624
14625
  goToTableOfContext();
14626
+ setVisited(activeId);
14625
14627
  },
14626
14628
  testId: "back-to-tasks"
14627
14629
  }), !isOnReview && jsx(Visible, {
@@ -14654,6 +14656,7 @@ const RenderPages = props => {
14654
14656
  topElementRef.current.scrollIntoView();
14655
14657
  }
14656
14658
  goToPage(prevId);
14659
+ setVisited(activeId);
14657
14660
  }
14658
14661
  },
14659
14662
  testId: "pages-prev-btn",
@@ -14674,6 +14677,7 @@ const RenderPages = props => {
14674
14677
  topElementRef.current.scrollIntoView();
14675
14678
  }
14676
14679
  goToPage(nextId);
14680
+ setVisited(activeId);
14677
14681
  }
14678
14682
  },
14679
14683
  disabled: !enabled,
@@ -18536,6 +18540,24 @@ const createDefaultAjv = (...schemas) => {
18536
18540
  return true;
18537
18541
  }
18538
18542
  });
18543
+ ajv.addKeyword({
18544
+ keyword: 'validSin',
18545
+ type: 'string',
18546
+ schemaType: 'boolean',
18547
+ validate: (shouldValidate, data) => {
18548
+ if (!shouldValidate) return true;
18549
+ if (typeof data !== 'string' || data.length === 0) {
18550
+ return true;
18551
+ }
18552
+ if (!/^\d{3} \d{3} \d{3}$/.test(data)) {
18553
+ return true;
18554
+ }
18555
+ return validateSinWithLuhn(data);
18556
+ },
18557
+ error: {
18558
+ message: invalidSin
18559
+ }
18560
+ });
18539
18561
  return ajv;
18540
18562
  };
18541
18563
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.60.18",
3
+ "version": "2.61.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
6
6
  "repository": "https://github.com/GovAlta/adsp-monorepo",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-04-30T19:54:34.313Z",
4
- "sourceCommit": "4b89cb1336839f443d768c9688ad888bab4924e3",
3
+ "generatedAt": "2026-05-01T20:32:08.771Z",
4
+ "sourceCommit": "0e2c42d5a9c61156837d7529581f944627d84a6b",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 33,
7
7
  "renderers": [
@@ -21,6 +21,7 @@ export interface JsonFormsStepperContextProps {
21
21
  selectCategory: (id: number) => CategoryState;
22
22
  goToPage: (id: number, targetScope?: string) => void;
23
23
  goToTableOfContext: () => void;
24
+ setVisited: (id: number) => void;
24
25
  toggleShowReviewLink: (id: number) => void;
25
26
  validatePage: (id: number) => void;
26
27
  selectNumberOfCompletedCategories: () => number;
@@ -13,6 +13,11 @@ export type StepperAction = {
13
13
  id: number;
14
14
  targetScope?: string;
15
15
  };
16
+ } | {
17
+ type: 'set/visited';
18
+ payload: {
19
+ id: number;
20
+ };
16
21
  } | {
17
22
  type: 'update/category';
18
23
  payload: {
@@ -31,8 +31,7 @@ export declare const isNilOrEmptyString: (value: string | null | undefined) => b
31
31
  * Returns true when a value is undefined, null, empty string, or (optionally) an empty array.
32
32
  */
33
33
  export declare const isNilOrEmptyValue: (value: unknown, includeEmptyArray?: boolean) => boolean;
34
- export declare const validateSinWithLuhn: (input: number) => boolean;
35
- export declare const getSinValidationError: (data: unknown, schema?: JsonSchema) => string | undefined;
34
+ export declare const validateSinWithLuhn: (input: string) => boolean;
36
35
  /**
37
36
  * Gets the required fields in the If/Then/Else json schema condition.
38
37
  * @param props - ControlProps