pixel-react 1.1.3 → 1.1.4

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/lib/index.esm.js CHANGED
@@ -6047,7 +6047,7 @@ function createFormControl(props = {}) {
6047
6047
  timer = setTimeout(callback, wait);
6048
6048
  };
6049
6049
  const _updateValid = async (shouldUpdateValid) => {
6050
- if (!props.disabled && (_proxyFormState.isValid || shouldUpdateValid)) {
6050
+ if (!_options.disabled && (_proxyFormState.isValid || shouldUpdateValid)) {
6051
6051
  const isValid = _options.resolver
6052
6052
  ? isEmptyObject((await _executeSchema()).errors)
6053
6053
  : await executeBuiltInValidation(_fields, true);
@@ -6059,7 +6059,7 @@ function createFormControl(props = {}) {
6059
6059
  }
6060
6060
  };
6061
6061
  const _updateIsValidating = (names, isValidating) => {
6062
- if (!props.disabled &&
6062
+ if (!_options.disabled &&
6063
6063
  (_proxyFormState.isValidating || _proxyFormState.validatingFields)) {
6064
6064
  (names || Array.from(_names.mount)).forEach((name) => {
6065
6065
  if (name) {
@@ -6075,7 +6075,7 @@ function createFormControl(props = {}) {
6075
6075
  }
6076
6076
  };
6077
6077
  const _updateFieldArray = (name, values = [], method, args, shouldSetValues = true, shouldUpdateFieldsAndState = true) => {
6078
- if (args && method && !props.disabled) {
6078
+ if (args && method && !_options.disabled) {
6079
6079
  _state.action = true;
6080
6080
  if (shouldUpdateFieldsAndState && Array.isArray(get(_fields, name))) {
6081
6081
  const fieldValues = method(get(_fields, name), args.argA, args.argB);
@@ -6139,7 +6139,7 @@ function createFormControl(props = {}) {
6139
6139
  const output = {
6140
6140
  name,
6141
6141
  };
6142
- if (!props.disabled) {
6142
+ if (!_options.disabled) {
6143
6143
  const disabledField = !!(get(_fields, name) &&
6144
6144
  get(_fields, name)._f &&
6145
6145
  get(_fields, name)._f.disabled);
@@ -6275,7 +6275,7 @@ function createFormControl(props = {}) {
6275
6275
  }
6276
6276
  _names.unMount = new Set();
6277
6277
  };
6278
- const _getDirty = (name, data) => !props.disabled &&
6278
+ const _getDirty = (name, data) => !_options.disabled &&
6279
6279
  (name && data && set(_formValues, name, data),
6280
6280
  !deepEqual(getValues(), _defaultValues));
6281
6281
  const _getWatch = (names, defaultValue, isGlobal) => generateWatchOutput(names, _names, {
@@ -6591,7 +6591,7 @@ function createFormControl(props = {}) {
6591
6591
  };
6592
6592
  const register = (name, options = {}) => {
6593
6593
  let field = get(_fields, name);
6594
- const disabledIsDefined = isBoolean(options.disabled) || isBoolean(props.disabled);
6594
+ const disabledIsDefined = isBoolean(options.disabled) || isBoolean(_options.disabled);
6595
6595
  set(_fields, name, {
6596
6596
  ...(field || {}),
6597
6597
  _f: {
@@ -6607,7 +6607,7 @@ function createFormControl(props = {}) {
6607
6607
  field,
6608
6608
  disabled: isBoolean(options.disabled)
6609
6609
  ? options.disabled
6610
- : props.disabled,
6610
+ : _options.disabled,
6611
6611
  name,
6612
6612
  value: options.value,
6613
6613
  });
@@ -6617,7 +6617,7 @@ function createFormControl(props = {}) {
6617
6617
  }
6618
6618
  return {
6619
6619
  ...(disabledIsDefined
6620
- ? { disabled: options.disabled || props.disabled }
6620
+ ? { disabled: options.disabled || _options.disabled }
6621
6621
  : {}),
6622
6622
  ...(_options.progressive
6623
6623
  ? {
@@ -6701,6 +6701,12 @@ function createFormControl(props = {}) {
6701
6701
  e.preventDefault && e.preventDefault();
6702
6702
  e.persist && e.persist();
6703
6703
  }
6704
+ if (_options.disabled) {
6705
+ if (onInvalid) {
6706
+ await onInvalid({ ..._formState.errors }, e);
6707
+ }
6708
+ return;
6709
+ }
6704
6710
  let fieldValues = cloneObject(_formValues);
6705
6711
  _subjects.state.next({
6706
6712
  isSubmitting: true,
@@ -6879,7 +6885,9 @@ function createFormControl(props = {}) {
6879
6885
  : fieldReference.ref;
6880
6886
  if (fieldRef.focus) {
6881
6887
  fieldRef.focus();
6882
- options.shouldSelect && fieldRef.select();
6888
+ options.shouldSelect &&
6889
+ isFunction(fieldRef.select) &&
6890
+ fieldRef.select();
6883
6891
  }
6884
6892
  }
6885
6893
  };
@@ -7080,11 +7088,6 @@ function useForm(props = {}) {
7080
7088
  values: control._getWatch(),
7081
7089
  });
7082
7090
  }, [props.shouldUnregister, control]);
7083
- React__default.useEffect(() => {
7084
- if (_formControl.current) {
7085
- _formControl.current.watch = _formControl.current.watch.bind({});
7086
- }
7087
- }, [formState]);
7088
7091
  _formControl.current.formState = getProxyFormState(formState, control);
7089
7092
  return _formControl.current;
7090
7093
  }
@@ -21441,9 +21444,12 @@ const PieChart = ({
21441
21444
  var css_248z$5 = ".ff-app-header {\n display: flex;\n justify-content: space-between;\n background-color: var(--brand-color);\n padding-left: 8px;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n.ff-app-header .ff-app-header-logo-icon {\n padding: 8px;\n height: 24px;\n}\n.ff-app-header .ff-app-header-nav-bar {\n display: flex;\n align-items: center;\n background-color: var(--brand-color);\n transform: translateY(12px);\n border-radius: 20px;\n padding: 5px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items {\n display: flex;\n align-items: center;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item {\n margin-left: 8px;\n color: var(--ff-header-text-color);\n cursor: pointer;\n display: flex;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item--selected {\n padding: 3px;\n background-color: var(--primary-icon-color);\n border-radius: 20px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item--selected .ff-app-header-nav-bar-item-label {\n background-color: var(--brand-color);\n border-radius: 20px;\n padding: 4px 8px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container {\n display: flex;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container .ff-app-header-nav-bar-submenu-item {\n color: var(--ff-header-submenu-text-color);\n align-content: center;\n padding-left: 8px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container .ff-app-header-nav-bar-submenu-item--selected {\n color: var(--ff-header-submenu-highlight-text-color);\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container .ff-app-header-quickmenu-container {\n display: flex;\n align-items: center;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-more-icon svg {\n cursor: pointer;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-more-icon svg path {\n fill: var(--primary-icon-color);\n}\n.ff-app-header .ff-app-header-right-content {\n height: 24px;\n padding: 8px;\n}";
21442
21445
  styleInject(css_248z$5);
21443
21446
 
21447
+ // import AllProjectsDropdown from '../AllProjectsDropdown';
21444
21448
  const AppHeader = ({
21445
21449
  logoIconName = 'fireflink_icon',
21450
+ leftContent,
21446
21451
  rightContent,
21452
+ projectsList,
21447
21453
  appHeaderMenuItems,
21448
21454
  selectedMenu,
21449
21455
  selectedSubMenu,
@@ -21463,35 +21469,36 @@ const AppHeader = ({
21463
21469
  height: 24,
21464
21470
  width: 21
21465
21471
  })
21472
+ }), leftContent && jsx("div", {
21473
+ className: "ff-app-header-left-content",
21474
+ children: leftContent
21466
21475
  }), jsxs("div", {
21467
21476
  className: "ff-app-header-nav-bar",
21468
- children: [jsx("div", {
21469
- children: "All projects"
21470
- }), jsx("div", {
21477
+ children: [checkEmpty(projectsList) && jsx("div", {}), jsx("div", {
21471
21478
  className: "ff-app-header-nav-bar-items fontSm",
21472
21479
  children: appHeaderMenuItems.map(menuItem => {
21473
21480
  return jsxs("div", {
21474
21481
  className: classNames('ff-app-header-nav-bar-item', {
21475
- ['ff-app-header-nav-bar-item--selected']: menuItem.menuName === selectedMenu
21482
+ ['ff-app-header-nav-bar-item--selected']: menuItem.menuLabel === selectedMenu
21476
21483
  }),
21477
- onClick: () => onMenuClick(menuItem.menuName),
21484
+ onClick: () => onMenuClick(menuItem),
21478
21485
  children: [jsx(Typography, {
21479
21486
  as: "div",
21480
21487
  className: "ff-app-header-nav-bar-item-label",
21481
21488
  lineHeight: "18px",
21482
- children: menuItem.menuName
21483
- }), menuItem.menuName === selectedMenu && menuItem?.subMenuItems && menuItem.subMenuItems.map(subMenuItem => {
21489
+ children: menuItem.menuLabel
21490
+ }), menuItem.menuLabel === selectedMenu && menuItem?.subMenuItems && menuItem.subMenuItems.map(subMenuItem => {
21484
21491
  return jsxs("div", {
21485
- onClick: () => onSubMenuClick(subMenuItem.subMenuName),
21492
+ onClick: () => onSubMenuClick(subMenuItem),
21486
21493
  className: "ff-app-header-submenu-container",
21487
21494
  children: [jsx(Typography, {
21488
21495
  as: "div",
21489
21496
  className: classNames('ff-app-header-nav-bar-submenu-item', {
21490
- ['ff-app-header-nav-bar-submenu-item--selected']: subMenuItem.subMenuName === selectedSubMenu
21497
+ ['ff-app-header-nav-bar-submenu-item--selected']: subMenuItem.subMenuLabel === selectedSubMenu
21491
21498
  }),
21492
21499
  lineHeight: "18px",
21493
- children: subMenuItem.subMenuName
21494
- }), subMenuItem.subMenuName === selectedSubMenu && subMenuItem?.quickMenuItems && jsxs("div", {
21500
+ children: subMenuItem.subMenuLabel
21501
+ }), subMenuItem.subMenuLabel === selectedSubMenu && subMenuItem?.quickMenuItems && jsxs("div", {
21495
21502
  className: "ff-app-header-quickmenu-container",
21496
21503
  children: [jsx("div", {
21497
21504
  children: jsx(Icon, {
@@ -21500,7 +21507,7 @@ const AppHeader = ({
21500
21507
  }), subMenuItem.quickMenuItems.map(quickMenuItem => {
21501
21508
  return jsx(Fragment, {
21502
21509
  children: jsx("div", {
21503
- onClick: () => onQuickMenuClick(quickMenuItem.quickMenuName),
21510
+ onClick: () => onQuickMenuClick(quickMenuItem),
21504
21511
  className: classNames('ff-app-header-nav-bar-quickmenu-item', {
21505
21512
  ['ff-app-header-nav-bar-quickmenu-item--selected']: quickMenuItem.quickMenuName === selectedQuickMenu
21506
21513
  }),
@@ -21513,9 +21520,9 @@ const AppHeader = ({
21513
21520
  });
21514
21521
  })]
21515
21522
  })]
21516
- }, subMenuItem.subMenuName);
21523
+ }, subMenuItem.subMenuLabel);
21517
21524
  })]
21518
- }, menuItem.menuName);
21525
+ }, menuItem.menuLabel);
21519
21526
  })
21520
21527
  }), jsx("div", {
21521
21528
  children: jsx(Icon, {
@@ -21523,7 +21530,7 @@ const AppHeader = ({
21523
21530
  className: "ff-app-header-more-icon"
21524
21531
  })
21525
21532
  })]
21526
- }), jsx("div", {
21533
+ }), rightContent && jsx("div", {
21527
21534
  className: "ff-app-header-right-content",
21528
21535
  children: rightContent
21529
21536
  })]
@@ -21817,9 +21824,9 @@ const DashboardDonutChart = ({
21817
21824
 
21818
21825
  var propTypes = {exports: {}};
21819
21826
 
21820
- var reactIs = {exports: {}};
21827
+ var reactIs$1 = {exports: {}};
21821
21828
 
21822
- var reactIs_production_min = {};
21829
+ var reactIs_production_min$1 = {};
21823
21830
 
21824
21831
  /** @license React v16.13.1
21825
21832
  * react-is.production.min.js
@@ -21829,10 +21836,10 @@ var reactIs_production_min = {};
21829
21836
  * This source code is licensed under the MIT license found in the
21830
21837
  * LICENSE file in the root directory of this source tree.
21831
21838
  */
21832
- var hasRequiredReactIs_production_min;
21833
- function requireReactIs_production_min() {
21834
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
21835
- hasRequiredReactIs_production_min = 1;
21839
+ var hasRequiredReactIs_production_min$1;
21840
+ function requireReactIs_production_min$1() {
21841
+ if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
21842
+ hasRequiredReactIs_production_min$1 = 1;
21836
21843
  var b = "function" === typeof Symbol && Symbol.for,
21837
21844
  c = b ? Symbol.for("react.element") : 60103,
21838
21845
  d = b ? Symbol.for("react.portal") : 60106,
@@ -21885,64 +21892,64 @@ function requireReactIs_production_min() {
21885
21892
  function A(a) {
21886
21893
  return z(a) === m;
21887
21894
  }
21888
- reactIs_production_min.AsyncMode = l;
21889
- reactIs_production_min.ConcurrentMode = m;
21890
- reactIs_production_min.ContextConsumer = k;
21891
- reactIs_production_min.ContextProvider = h;
21892
- reactIs_production_min.Element = c;
21893
- reactIs_production_min.ForwardRef = n;
21894
- reactIs_production_min.Fragment = e;
21895
- reactIs_production_min.Lazy = t;
21896
- reactIs_production_min.Memo = r;
21897
- reactIs_production_min.Portal = d;
21898
- reactIs_production_min.Profiler = g;
21899
- reactIs_production_min.StrictMode = f;
21900
- reactIs_production_min.Suspense = p;
21901
- reactIs_production_min.isAsyncMode = function (a) {
21895
+ reactIs_production_min$1.AsyncMode = l;
21896
+ reactIs_production_min$1.ConcurrentMode = m;
21897
+ reactIs_production_min$1.ContextConsumer = k;
21898
+ reactIs_production_min$1.ContextProvider = h;
21899
+ reactIs_production_min$1.Element = c;
21900
+ reactIs_production_min$1.ForwardRef = n;
21901
+ reactIs_production_min$1.Fragment = e;
21902
+ reactIs_production_min$1.Lazy = t;
21903
+ reactIs_production_min$1.Memo = r;
21904
+ reactIs_production_min$1.Portal = d;
21905
+ reactIs_production_min$1.Profiler = g;
21906
+ reactIs_production_min$1.StrictMode = f;
21907
+ reactIs_production_min$1.Suspense = p;
21908
+ reactIs_production_min$1.isAsyncMode = function (a) {
21902
21909
  return A(a) || z(a) === l;
21903
21910
  };
21904
- reactIs_production_min.isConcurrentMode = A;
21905
- reactIs_production_min.isContextConsumer = function (a) {
21911
+ reactIs_production_min$1.isConcurrentMode = A;
21912
+ reactIs_production_min$1.isContextConsumer = function (a) {
21906
21913
  return z(a) === k;
21907
21914
  };
21908
- reactIs_production_min.isContextProvider = function (a) {
21915
+ reactIs_production_min$1.isContextProvider = function (a) {
21909
21916
  return z(a) === h;
21910
21917
  };
21911
- reactIs_production_min.isElement = function (a) {
21918
+ reactIs_production_min$1.isElement = function (a) {
21912
21919
  return "object" === typeof a && null !== a && a.$$typeof === c;
21913
21920
  };
21914
- reactIs_production_min.isForwardRef = function (a) {
21921
+ reactIs_production_min$1.isForwardRef = function (a) {
21915
21922
  return z(a) === n;
21916
21923
  };
21917
- reactIs_production_min.isFragment = function (a) {
21924
+ reactIs_production_min$1.isFragment = function (a) {
21918
21925
  return z(a) === e;
21919
21926
  };
21920
- reactIs_production_min.isLazy = function (a) {
21927
+ reactIs_production_min$1.isLazy = function (a) {
21921
21928
  return z(a) === t;
21922
21929
  };
21923
- reactIs_production_min.isMemo = function (a) {
21930
+ reactIs_production_min$1.isMemo = function (a) {
21924
21931
  return z(a) === r;
21925
21932
  };
21926
- reactIs_production_min.isPortal = function (a) {
21933
+ reactIs_production_min$1.isPortal = function (a) {
21927
21934
  return z(a) === d;
21928
21935
  };
21929
- reactIs_production_min.isProfiler = function (a) {
21936
+ reactIs_production_min$1.isProfiler = function (a) {
21930
21937
  return z(a) === g;
21931
21938
  };
21932
- reactIs_production_min.isStrictMode = function (a) {
21939
+ reactIs_production_min$1.isStrictMode = function (a) {
21933
21940
  return z(a) === f;
21934
21941
  };
21935
- reactIs_production_min.isSuspense = function (a) {
21942
+ reactIs_production_min$1.isSuspense = function (a) {
21936
21943
  return z(a) === p;
21937
21944
  };
21938
- reactIs_production_min.isValidElementType = function (a) {
21945
+ reactIs_production_min$1.isValidElementType = function (a) {
21939
21946
  return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
21940
21947
  };
21941
- reactIs_production_min.typeOf = z;
21942
- return reactIs_production_min;
21948
+ reactIs_production_min$1.typeOf = z;
21949
+ return reactIs_production_min$1;
21943
21950
  }
21944
21951
 
21945
- var reactIs_development = {};
21952
+ var reactIs_development$1 = {};
21946
21953
 
21947
21954
  /** @license React v16.13.1
21948
21955
  * react-is.development.js
@@ -21952,10 +21959,10 @@ var reactIs_development = {};
21952
21959
  * This source code is licensed under the MIT license found in the
21953
21960
  * LICENSE file in the root directory of this source tree.
21954
21961
  */
21955
- var hasRequiredReactIs_development;
21956
- function requireReactIs_development() {
21957
- if (hasRequiredReactIs_development) return reactIs_development;
21958
- hasRequiredReactIs_development = 1;
21962
+ var hasRequiredReactIs_development$1;
21963
+ function requireReactIs_development$1() {
21964
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
21965
+ hasRequiredReactIs_development$1 = 1;
21959
21966
  if (process.env.NODE_ENV !== "production") {
21960
21967
  (function () {
21961
21968
 
@@ -22082,49 +22089,49 @@ function requireReactIs_development() {
22082
22089
  function isSuspense(object) {
22083
22090
  return typeOf(object) === REACT_SUSPENSE_TYPE;
22084
22091
  }
22085
- reactIs_development.AsyncMode = AsyncMode;
22086
- reactIs_development.ConcurrentMode = ConcurrentMode;
22087
- reactIs_development.ContextConsumer = ContextConsumer;
22088
- reactIs_development.ContextProvider = ContextProvider;
22089
- reactIs_development.Element = Element;
22090
- reactIs_development.ForwardRef = ForwardRef;
22091
- reactIs_development.Fragment = Fragment;
22092
- reactIs_development.Lazy = Lazy;
22093
- reactIs_development.Memo = Memo;
22094
- reactIs_development.Portal = Portal;
22095
- reactIs_development.Profiler = Profiler;
22096
- reactIs_development.StrictMode = StrictMode;
22097
- reactIs_development.Suspense = Suspense;
22098
- reactIs_development.isAsyncMode = isAsyncMode;
22099
- reactIs_development.isConcurrentMode = isConcurrentMode;
22100
- reactIs_development.isContextConsumer = isContextConsumer;
22101
- reactIs_development.isContextProvider = isContextProvider;
22102
- reactIs_development.isElement = isElement;
22103
- reactIs_development.isForwardRef = isForwardRef;
22104
- reactIs_development.isFragment = isFragment;
22105
- reactIs_development.isLazy = isLazy;
22106
- reactIs_development.isMemo = isMemo;
22107
- reactIs_development.isPortal = isPortal;
22108
- reactIs_development.isProfiler = isProfiler;
22109
- reactIs_development.isStrictMode = isStrictMode;
22110
- reactIs_development.isSuspense = isSuspense;
22111
- reactIs_development.isValidElementType = isValidElementType;
22112
- reactIs_development.typeOf = typeOf;
22092
+ reactIs_development$1.AsyncMode = AsyncMode;
22093
+ reactIs_development$1.ConcurrentMode = ConcurrentMode;
22094
+ reactIs_development$1.ContextConsumer = ContextConsumer;
22095
+ reactIs_development$1.ContextProvider = ContextProvider;
22096
+ reactIs_development$1.Element = Element;
22097
+ reactIs_development$1.ForwardRef = ForwardRef;
22098
+ reactIs_development$1.Fragment = Fragment;
22099
+ reactIs_development$1.Lazy = Lazy;
22100
+ reactIs_development$1.Memo = Memo;
22101
+ reactIs_development$1.Portal = Portal;
22102
+ reactIs_development$1.Profiler = Profiler;
22103
+ reactIs_development$1.StrictMode = StrictMode;
22104
+ reactIs_development$1.Suspense = Suspense;
22105
+ reactIs_development$1.isAsyncMode = isAsyncMode;
22106
+ reactIs_development$1.isConcurrentMode = isConcurrentMode;
22107
+ reactIs_development$1.isContextConsumer = isContextConsumer;
22108
+ reactIs_development$1.isContextProvider = isContextProvider;
22109
+ reactIs_development$1.isElement = isElement;
22110
+ reactIs_development$1.isForwardRef = isForwardRef;
22111
+ reactIs_development$1.isFragment = isFragment;
22112
+ reactIs_development$1.isLazy = isLazy;
22113
+ reactIs_development$1.isMemo = isMemo;
22114
+ reactIs_development$1.isPortal = isPortal;
22115
+ reactIs_development$1.isProfiler = isProfiler;
22116
+ reactIs_development$1.isStrictMode = isStrictMode;
22117
+ reactIs_development$1.isSuspense = isSuspense;
22118
+ reactIs_development$1.isValidElementType = isValidElementType;
22119
+ reactIs_development$1.typeOf = typeOf;
22113
22120
  })();
22114
22121
  }
22115
- return reactIs_development;
22122
+ return reactIs_development$1;
22116
22123
  }
22117
22124
 
22118
- var hasRequiredReactIs;
22119
- function requireReactIs() {
22120
- if (hasRequiredReactIs) return reactIs.exports;
22121
- hasRequiredReactIs = 1;
22125
+ var hasRequiredReactIs$1;
22126
+ function requireReactIs$1() {
22127
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
22128
+ hasRequiredReactIs$1 = 1;
22122
22129
  if (process.env.NODE_ENV === 'production') {
22123
- reactIs.exports = requireReactIs_production_min();
22130
+ reactIs$1.exports = requireReactIs_production_min$1();
22124
22131
  } else {
22125
- reactIs.exports = requireReactIs_development();
22132
+ reactIs$1.exports = requireReactIs_development$1();
22126
22133
  }
22127
- return reactIs.exports;
22134
+ return reactIs$1.exports;
22128
22135
  }
22129
22136
 
22130
22137
  /*
@@ -22339,7 +22346,7 @@ var hasRequiredFactoryWithTypeCheckers;
22339
22346
  function requireFactoryWithTypeCheckers() {
22340
22347
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
22341
22348
  hasRequiredFactoryWithTypeCheckers = 1;
22342
- var ReactIs = requireReactIs();
22349
+ var ReactIs = requireReactIs$1();
22343
22350
  var assign = requireObjectAssign();
22344
22351
  var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret();
22345
22352
  var has = /*@__PURE__*/requireHas();
@@ -22952,7 +22959,7 @@ function requirePropTypes() {
22952
22959
  if (hasRequiredPropTypes) return propTypes.exports;
22953
22960
  hasRequiredPropTypes = 1;
22954
22961
  if (process.env.NODE_ENV !== 'production') {
22955
- var ReactIs = requireReactIs();
22962
+ var ReactIs = requireReactIs$1();
22956
22963
 
22957
22964
  // By explicitly using `prop-types` you are opting into new development behavior.
22958
22965
  // http://fb.me/prop-types-in-prod
@@ -23187,6 +23194,316 @@ ReCAPTCHA.defaultProps = {
23187
23194
  badge: "bottomright"
23188
23195
  };
23189
23196
 
23197
+ var reactIs = {exports: {}};
23198
+
23199
+ var reactIs_production_min = {};
23200
+
23201
+ /** @license React v16.13.1
23202
+ * react-is.production.min.js
23203
+ *
23204
+ * Copyright (c) Facebook, Inc. and its affiliates.
23205
+ *
23206
+ * This source code is licensed under the MIT license found in the
23207
+ * LICENSE file in the root directory of this source tree.
23208
+ */
23209
+ var hasRequiredReactIs_production_min;
23210
+ function requireReactIs_production_min() {
23211
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
23212
+ hasRequiredReactIs_production_min = 1;
23213
+ var b = "function" === typeof Symbol && Symbol.for,
23214
+ c = b ? Symbol.for("react.element") : 60103,
23215
+ d = b ? Symbol.for("react.portal") : 60106,
23216
+ e = b ? Symbol.for("react.fragment") : 60107,
23217
+ f = b ? Symbol.for("react.strict_mode") : 60108,
23218
+ g = b ? Symbol.for("react.profiler") : 60114,
23219
+ h = b ? Symbol.for("react.provider") : 60109,
23220
+ k = b ? Symbol.for("react.context") : 60110,
23221
+ l = b ? Symbol.for("react.async_mode") : 60111,
23222
+ m = b ? Symbol.for("react.concurrent_mode") : 60111,
23223
+ n = b ? Symbol.for("react.forward_ref") : 60112,
23224
+ p = b ? Symbol.for("react.suspense") : 60113,
23225
+ q = b ? Symbol.for("react.suspense_list") : 60120,
23226
+ r = b ? Symbol.for("react.memo") : 60115,
23227
+ t = b ? Symbol.for("react.lazy") : 60116,
23228
+ v = b ? Symbol.for("react.block") : 60121,
23229
+ w = b ? Symbol.for("react.fundamental") : 60117,
23230
+ x = b ? Symbol.for("react.responder") : 60118,
23231
+ y = b ? Symbol.for("react.scope") : 60119;
23232
+ function z(a) {
23233
+ if ("object" === typeof a && null !== a) {
23234
+ var u = a.$$typeof;
23235
+ switch (u) {
23236
+ case c:
23237
+ switch (a = a.type, a) {
23238
+ case l:
23239
+ case m:
23240
+ case e:
23241
+ case g:
23242
+ case f:
23243
+ case p:
23244
+ return a;
23245
+ default:
23246
+ switch (a = a && a.$$typeof, a) {
23247
+ case k:
23248
+ case n:
23249
+ case t:
23250
+ case r:
23251
+ case h:
23252
+ return a;
23253
+ default:
23254
+ return u;
23255
+ }
23256
+ }
23257
+ case d:
23258
+ return u;
23259
+ }
23260
+ }
23261
+ }
23262
+ function A(a) {
23263
+ return z(a) === m;
23264
+ }
23265
+ reactIs_production_min.AsyncMode = l;
23266
+ reactIs_production_min.ConcurrentMode = m;
23267
+ reactIs_production_min.ContextConsumer = k;
23268
+ reactIs_production_min.ContextProvider = h;
23269
+ reactIs_production_min.Element = c;
23270
+ reactIs_production_min.ForwardRef = n;
23271
+ reactIs_production_min.Fragment = e;
23272
+ reactIs_production_min.Lazy = t;
23273
+ reactIs_production_min.Memo = r;
23274
+ reactIs_production_min.Portal = d;
23275
+ reactIs_production_min.Profiler = g;
23276
+ reactIs_production_min.StrictMode = f;
23277
+ reactIs_production_min.Suspense = p;
23278
+ reactIs_production_min.isAsyncMode = function (a) {
23279
+ return A(a) || z(a) === l;
23280
+ };
23281
+ reactIs_production_min.isConcurrentMode = A;
23282
+ reactIs_production_min.isContextConsumer = function (a) {
23283
+ return z(a) === k;
23284
+ };
23285
+ reactIs_production_min.isContextProvider = function (a) {
23286
+ return z(a) === h;
23287
+ };
23288
+ reactIs_production_min.isElement = function (a) {
23289
+ return "object" === typeof a && null !== a && a.$$typeof === c;
23290
+ };
23291
+ reactIs_production_min.isForwardRef = function (a) {
23292
+ return z(a) === n;
23293
+ };
23294
+ reactIs_production_min.isFragment = function (a) {
23295
+ return z(a) === e;
23296
+ };
23297
+ reactIs_production_min.isLazy = function (a) {
23298
+ return z(a) === t;
23299
+ };
23300
+ reactIs_production_min.isMemo = function (a) {
23301
+ return z(a) === r;
23302
+ };
23303
+ reactIs_production_min.isPortal = function (a) {
23304
+ return z(a) === d;
23305
+ };
23306
+ reactIs_production_min.isProfiler = function (a) {
23307
+ return z(a) === g;
23308
+ };
23309
+ reactIs_production_min.isStrictMode = function (a) {
23310
+ return z(a) === f;
23311
+ };
23312
+ reactIs_production_min.isSuspense = function (a) {
23313
+ return z(a) === p;
23314
+ };
23315
+ reactIs_production_min.isValidElementType = function (a) {
23316
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
23317
+ };
23318
+ reactIs_production_min.typeOf = z;
23319
+ return reactIs_production_min;
23320
+ }
23321
+
23322
+ var reactIs_development = {};
23323
+
23324
+ /** @license React v16.13.1
23325
+ * react-is.development.js
23326
+ *
23327
+ * Copyright (c) Facebook, Inc. and its affiliates.
23328
+ *
23329
+ * This source code is licensed under the MIT license found in the
23330
+ * LICENSE file in the root directory of this source tree.
23331
+ */
23332
+ var hasRequiredReactIs_development;
23333
+ function requireReactIs_development() {
23334
+ if (hasRequiredReactIs_development) return reactIs_development;
23335
+ hasRequiredReactIs_development = 1;
23336
+ if (process.env.NODE_ENV !== "production") {
23337
+ (function () {
23338
+
23339
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
23340
+ // nor polyfill, then a plain number is used for performance.
23341
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
23342
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
23343
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
23344
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
23345
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
23346
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
23347
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
23348
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
23349
+ // (unstable) APIs that have been removed. Can we remove the symbols?
23350
+
23351
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
23352
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
23353
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
23354
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
23355
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
23356
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
23357
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
23358
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
23359
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
23360
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
23361
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
23362
+ function isValidElementType(type) {
23363
+ return typeof type === 'string' || typeof type === 'function' ||
23364
+ // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
23365
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
23366
+ }
23367
+ function typeOf(object) {
23368
+ if (typeof object === 'object' && object !== null) {
23369
+ var $$typeof = object.$$typeof;
23370
+ switch ($$typeof) {
23371
+ case REACT_ELEMENT_TYPE:
23372
+ var type = object.type;
23373
+ switch (type) {
23374
+ case REACT_ASYNC_MODE_TYPE:
23375
+ case REACT_CONCURRENT_MODE_TYPE:
23376
+ case REACT_FRAGMENT_TYPE:
23377
+ case REACT_PROFILER_TYPE:
23378
+ case REACT_STRICT_MODE_TYPE:
23379
+ case REACT_SUSPENSE_TYPE:
23380
+ return type;
23381
+ default:
23382
+ var $$typeofType = type && type.$$typeof;
23383
+ switch ($$typeofType) {
23384
+ case REACT_CONTEXT_TYPE:
23385
+ case REACT_FORWARD_REF_TYPE:
23386
+ case REACT_LAZY_TYPE:
23387
+ case REACT_MEMO_TYPE:
23388
+ case REACT_PROVIDER_TYPE:
23389
+ return $$typeofType;
23390
+ default:
23391
+ return $$typeof;
23392
+ }
23393
+ }
23394
+ case REACT_PORTAL_TYPE:
23395
+ return $$typeof;
23396
+ }
23397
+ }
23398
+ return undefined;
23399
+ } // AsyncMode is deprecated along with isAsyncMode
23400
+
23401
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
23402
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
23403
+ var ContextConsumer = REACT_CONTEXT_TYPE;
23404
+ var ContextProvider = REACT_PROVIDER_TYPE;
23405
+ var Element = REACT_ELEMENT_TYPE;
23406
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
23407
+ var Fragment = REACT_FRAGMENT_TYPE;
23408
+ var Lazy = REACT_LAZY_TYPE;
23409
+ var Memo = REACT_MEMO_TYPE;
23410
+ var Portal = REACT_PORTAL_TYPE;
23411
+ var Profiler = REACT_PROFILER_TYPE;
23412
+ var StrictMode = REACT_STRICT_MODE_TYPE;
23413
+ var Suspense = REACT_SUSPENSE_TYPE;
23414
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
23415
+
23416
+ function isAsyncMode(object) {
23417
+ {
23418
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
23419
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
23420
+
23421
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
23422
+ }
23423
+ }
23424
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
23425
+ }
23426
+ function isConcurrentMode(object) {
23427
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
23428
+ }
23429
+ function isContextConsumer(object) {
23430
+ return typeOf(object) === REACT_CONTEXT_TYPE;
23431
+ }
23432
+ function isContextProvider(object) {
23433
+ return typeOf(object) === REACT_PROVIDER_TYPE;
23434
+ }
23435
+ function isElement(object) {
23436
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
23437
+ }
23438
+ function isForwardRef(object) {
23439
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
23440
+ }
23441
+ function isFragment(object) {
23442
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
23443
+ }
23444
+ function isLazy(object) {
23445
+ return typeOf(object) === REACT_LAZY_TYPE;
23446
+ }
23447
+ function isMemo(object) {
23448
+ return typeOf(object) === REACT_MEMO_TYPE;
23449
+ }
23450
+ function isPortal(object) {
23451
+ return typeOf(object) === REACT_PORTAL_TYPE;
23452
+ }
23453
+ function isProfiler(object) {
23454
+ return typeOf(object) === REACT_PROFILER_TYPE;
23455
+ }
23456
+ function isStrictMode(object) {
23457
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
23458
+ }
23459
+ function isSuspense(object) {
23460
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
23461
+ }
23462
+ reactIs_development.AsyncMode = AsyncMode;
23463
+ reactIs_development.ConcurrentMode = ConcurrentMode;
23464
+ reactIs_development.ContextConsumer = ContextConsumer;
23465
+ reactIs_development.ContextProvider = ContextProvider;
23466
+ reactIs_development.Element = Element;
23467
+ reactIs_development.ForwardRef = ForwardRef;
23468
+ reactIs_development.Fragment = Fragment;
23469
+ reactIs_development.Lazy = Lazy;
23470
+ reactIs_development.Memo = Memo;
23471
+ reactIs_development.Portal = Portal;
23472
+ reactIs_development.Profiler = Profiler;
23473
+ reactIs_development.StrictMode = StrictMode;
23474
+ reactIs_development.Suspense = Suspense;
23475
+ reactIs_development.isAsyncMode = isAsyncMode;
23476
+ reactIs_development.isConcurrentMode = isConcurrentMode;
23477
+ reactIs_development.isContextConsumer = isContextConsumer;
23478
+ reactIs_development.isContextProvider = isContextProvider;
23479
+ reactIs_development.isElement = isElement;
23480
+ reactIs_development.isForwardRef = isForwardRef;
23481
+ reactIs_development.isFragment = isFragment;
23482
+ reactIs_development.isLazy = isLazy;
23483
+ reactIs_development.isMemo = isMemo;
23484
+ reactIs_development.isPortal = isPortal;
23485
+ reactIs_development.isProfiler = isProfiler;
23486
+ reactIs_development.isStrictMode = isStrictMode;
23487
+ reactIs_development.isSuspense = isSuspense;
23488
+ reactIs_development.isValidElementType = isValidElementType;
23489
+ reactIs_development.typeOf = typeOf;
23490
+ })();
23491
+ }
23492
+ return reactIs_development;
23493
+ }
23494
+
23495
+ var hasRequiredReactIs;
23496
+ function requireReactIs() {
23497
+ if (hasRequiredReactIs) return reactIs.exports;
23498
+ hasRequiredReactIs = 1;
23499
+ if (process.env.NODE_ENV === 'production') {
23500
+ reactIs.exports = requireReactIs_production_min();
23501
+ } else {
23502
+ reactIs.exports = requireReactIs_development();
23503
+ }
23504
+ return reactIs.exports;
23505
+ }
23506
+
23190
23507
  var hoistNonReactStatics_cjs;
23191
23508
  var hasRequiredHoistNonReactStatics_cjs;
23192
23509
  function requireHoistNonReactStatics_cjs() {
@@ -28871,7 +29188,7 @@ KJUR.asn1.DERTaggedObject = function (params) {
28871
29188
  };
28872
29189
  YAHOO.lang.extend(KJUR.asn1.DERTaggedObject, KJUR.asn1.ASN1Object);
28873
29190
 
28874
- var __extends = window && window.__extends || function () {
29191
+ var __extends = undefined && undefined.__extends || function () {
28875
29192
  var extendStatics = function (d, b) {
28876
29193
  extendStatics = Object.setPrototypeOf || {
28877
29194
  __proto__: []