pixel-react 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.js CHANGED
@@ -7503,8 +7503,10 @@ styleInject(css_248z$l);
7503
7503
  const TableTree = ({
7504
7504
  columnsData,
7505
7505
  treeData,
7506
- withCheckBox,
7507
- onClick = () => {}
7506
+ select,
7507
+ onClick = () => {},
7508
+ onChange,
7509
+ selected
7508
7510
  }) => {
7509
7511
  const [expandedNodes, setExpandedNodes] = React.useState(new Set());
7510
7512
  React.useLayoutEffect(() => {
@@ -7550,6 +7552,11 @@ const TableTree = ({
7550
7552
  const [nodeHeight, setNodeHeight] = React.useState(0);
7551
7553
  const [totalChildrenHeight, setTotalChildrenHeight] = React.useState(0);
7552
7554
  const isExpanded = expandedNodes.has(node);
7555
+ const handleCheckBoxChange = (e, node) => {
7556
+ if (onChange) {
7557
+ onChange(e, node);
7558
+ }
7559
+ };
7553
7560
  React.useLayoutEffect(() => {
7554
7561
  if (nodeRef.current) {
7555
7562
  const observer = new ResizeObserver(() => {
@@ -7600,7 +7607,13 @@ const TableTree = ({
7600
7607
  fontWeight: node.folder ? 600 : 400
7601
7608
  },
7602
7609
  onClick: event => onClick(event, node),
7603
- children: [withCheckBox && jsxRuntime.jsx(Checkbox, {}), prepareData(node, column)]
7610
+ children: [select === 'checkbox' && jsxRuntime.jsx(Checkbox, {
7611
+ checked: selected.includes(node.key),
7612
+ onChange: e => handleCheckBoxChange(e, node)
7613
+ }), select === 'radio' && jsxRuntime.jsx(RadioButton, {
7614
+ checked: selected.includes(node.key),
7615
+ onChange: e => handleCheckBoxChange(e, node)
7616
+ }), prepareData(node, column)]
7604
7617
  })]
7605
7618
  });
7606
7619
  } else if (column.accessor) {
@@ -21871,9 +21884,9 @@ const DashboardDonutChart = ({
21871
21884
 
21872
21885
  var propTypes = {exports: {}};
21873
21886
 
21874
- var reactIs$1 = {exports: {}};
21887
+ var reactIs = {exports: {}};
21875
21888
 
21876
- var reactIs_production_min$1 = {};
21889
+ var reactIs_production_min = {};
21877
21890
 
21878
21891
  /** @license React v16.13.1
21879
21892
  * react-is.production.min.js
@@ -21883,10 +21896,10 @@ var reactIs_production_min$1 = {};
21883
21896
  * This source code is licensed under the MIT license found in the
21884
21897
  * LICENSE file in the root directory of this source tree.
21885
21898
  */
21886
- var hasRequiredReactIs_production_min$1;
21887
- function requireReactIs_production_min$1() {
21888
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
21889
- hasRequiredReactIs_production_min$1 = 1;
21899
+ var hasRequiredReactIs_production_min;
21900
+ function requireReactIs_production_min() {
21901
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
21902
+ hasRequiredReactIs_production_min = 1;
21890
21903
  var b = "function" === typeof Symbol && Symbol.for,
21891
21904
  c = b ? Symbol.for("react.element") : 60103,
21892
21905
  d = b ? Symbol.for("react.portal") : 60106,
@@ -21939,64 +21952,64 @@ function requireReactIs_production_min$1() {
21939
21952
  function A(a) {
21940
21953
  return z(a) === m;
21941
21954
  }
21942
- reactIs_production_min$1.AsyncMode = l;
21943
- reactIs_production_min$1.ConcurrentMode = m;
21944
- reactIs_production_min$1.ContextConsumer = k;
21945
- reactIs_production_min$1.ContextProvider = h;
21946
- reactIs_production_min$1.Element = c;
21947
- reactIs_production_min$1.ForwardRef = n;
21948
- reactIs_production_min$1.Fragment = e;
21949
- reactIs_production_min$1.Lazy = t;
21950
- reactIs_production_min$1.Memo = r;
21951
- reactIs_production_min$1.Portal = d;
21952
- reactIs_production_min$1.Profiler = g;
21953
- reactIs_production_min$1.StrictMode = f;
21954
- reactIs_production_min$1.Suspense = p;
21955
- reactIs_production_min$1.isAsyncMode = function (a) {
21955
+ reactIs_production_min.AsyncMode = l;
21956
+ reactIs_production_min.ConcurrentMode = m;
21957
+ reactIs_production_min.ContextConsumer = k;
21958
+ reactIs_production_min.ContextProvider = h;
21959
+ reactIs_production_min.Element = c;
21960
+ reactIs_production_min.ForwardRef = n;
21961
+ reactIs_production_min.Fragment = e;
21962
+ reactIs_production_min.Lazy = t;
21963
+ reactIs_production_min.Memo = r;
21964
+ reactIs_production_min.Portal = d;
21965
+ reactIs_production_min.Profiler = g;
21966
+ reactIs_production_min.StrictMode = f;
21967
+ reactIs_production_min.Suspense = p;
21968
+ reactIs_production_min.isAsyncMode = function (a) {
21956
21969
  return A(a) || z(a) === l;
21957
21970
  };
21958
- reactIs_production_min$1.isConcurrentMode = A;
21959
- reactIs_production_min$1.isContextConsumer = function (a) {
21971
+ reactIs_production_min.isConcurrentMode = A;
21972
+ reactIs_production_min.isContextConsumer = function (a) {
21960
21973
  return z(a) === k;
21961
21974
  };
21962
- reactIs_production_min$1.isContextProvider = function (a) {
21975
+ reactIs_production_min.isContextProvider = function (a) {
21963
21976
  return z(a) === h;
21964
21977
  };
21965
- reactIs_production_min$1.isElement = function (a) {
21978
+ reactIs_production_min.isElement = function (a) {
21966
21979
  return "object" === typeof a && null !== a && a.$$typeof === c;
21967
21980
  };
21968
- reactIs_production_min$1.isForwardRef = function (a) {
21981
+ reactIs_production_min.isForwardRef = function (a) {
21969
21982
  return z(a) === n;
21970
21983
  };
21971
- reactIs_production_min$1.isFragment = function (a) {
21984
+ reactIs_production_min.isFragment = function (a) {
21972
21985
  return z(a) === e;
21973
21986
  };
21974
- reactIs_production_min$1.isLazy = function (a) {
21987
+ reactIs_production_min.isLazy = function (a) {
21975
21988
  return z(a) === t;
21976
21989
  };
21977
- reactIs_production_min$1.isMemo = function (a) {
21990
+ reactIs_production_min.isMemo = function (a) {
21978
21991
  return z(a) === r;
21979
21992
  };
21980
- reactIs_production_min$1.isPortal = function (a) {
21993
+ reactIs_production_min.isPortal = function (a) {
21981
21994
  return z(a) === d;
21982
21995
  };
21983
- reactIs_production_min$1.isProfiler = function (a) {
21996
+ reactIs_production_min.isProfiler = function (a) {
21984
21997
  return z(a) === g;
21985
21998
  };
21986
- reactIs_production_min$1.isStrictMode = function (a) {
21999
+ reactIs_production_min.isStrictMode = function (a) {
21987
22000
  return z(a) === f;
21988
22001
  };
21989
- reactIs_production_min$1.isSuspense = function (a) {
22002
+ reactIs_production_min.isSuspense = function (a) {
21990
22003
  return z(a) === p;
21991
22004
  };
21992
- reactIs_production_min$1.isValidElementType = function (a) {
22005
+ reactIs_production_min.isValidElementType = function (a) {
21993
22006
  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);
21994
22007
  };
21995
- reactIs_production_min$1.typeOf = z;
21996
- return reactIs_production_min$1;
22008
+ reactIs_production_min.typeOf = z;
22009
+ return reactIs_production_min;
21997
22010
  }
21998
22011
 
21999
- var reactIs_development$1 = {};
22012
+ var reactIs_development = {};
22000
22013
 
22001
22014
  /** @license React v16.13.1
22002
22015
  * react-is.development.js
@@ -22006,10 +22019,10 @@ var reactIs_development$1 = {};
22006
22019
  * This source code is licensed under the MIT license found in the
22007
22020
  * LICENSE file in the root directory of this source tree.
22008
22021
  */
22009
- var hasRequiredReactIs_development$1;
22010
- function requireReactIs_development$1() {
22011
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
22012
- hasRequiredReactIs_development$1 = 1;
22022
+ var hasRequiredReactIs_development;
22023
+ function requireReactIs_development() {
22024
+ if (hasRequiredReactIs_development) return reactIs_development;
22025
+ hasRequiredReactIs_development = 1;
22013
22026
  if (process.env.NODE_ENV !== "production") {
22014
22027
  (function () {
22015
22028
 
@@ -22136,49 +22149,49 @@ function requireReactIs_development$1() {
22136
22149
  function isSuspense(object) {
22137
22150
  return typeOf(object) === REACT_SUSPENSE_TYPE;
22138
22151
  }
22139
- reactIs_development$1.AsyncMode = AsyncMode;
22140
- reactIs_development$1.ConcurrentMode = ConcurrentMode;
22141
- reactIs_development$1.ContextConsumer = ContextConsumer;
22142
- reactIs_development$1.ContextProvider = ContextProvider;
22143
- reactIs_development$1.Element = Element;
22144
- reactIs_development$1.ForwardRef = ForwardRef;
22145
- reactIs_development$1.Fragment = Fragment;
22146
- reactIs_development$1.Lazy = Lazy;
22147
- reactIs_development$1.Memo = Memo;
22148
- reactIs_development$1.Portal = Portal;
22149
- reactIs_development$1.Profiler = Profiler;
22150
- reactIs_development$1.StrictMode = StrictMode;
22151
- reactIs_development$1.Suspense = Suspense;
22152
- reactIs_development$1.isAsyncMode = isAsyncMode;
22153
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
22154
- reactIs_development$1.isContextConsumer = isContextConsumer;
22155
- reactIs_development$1.isContextProvider = isContextProvider;
22156
- reactIs_development$1.isElement = isElement;
22157
- reactIs_development$1.isForwardRef = isForwardRef;
22158
- reactIs_development$1.isFragment = isFragment;
22159
- reactIs_development$1.isLazy = isLazy;
22160
- reactIs_development$1.isMemo = isMemo;
22161
- reactIs_development$1.isPortal = isPortal;
22162
- reactIs_development$1.isProfiler = isProfiler;
22163
- reactIs_development$1.isStrictMode = isStrictMode;
22164
- reactIs_development$1.isSuspense = isSuspense;
22165
- reactIs_development$1.isValidElementType = isValidElementType;
22166
- reactIs_development$1.typeOf = typeOf;
22152
+ reactIs_development.AsyncMode = AsyncMode;
22153
+ reactIs_development.ConcurrentMode = ConcurrentMode;
22154
+ reactIs_development.ContextConsumer = ContextConsumer;
22155
+ reactIs_development.ContextProvider = ContextProvider;
22156
+ reactIs_development.Element = Element;
22157
+ reactIs_development.ForwardRef = ForwardRef;
22158
+ reactIs_development.Fragment = Fragment;
22159
+ reactIs_development.Lazy = Lazy;
22160
+ reactIs_development.Memo = Memo;
22161
+ reactIs_development.Portal = Portal;
22162
+ reactIs_development.Profiler = Profiler;
22163
+ reactIs_development.StrictMode = StrictMode;
22164
+ reactIs_development.Suspense = Suspense;
22165
+ reactIs_development.isAsyncMode = isAsyncMode;
22166
+ reactIs_development.isConcurrentMode = isConcurrentMode;
22167
+ reactIs_development.isContextConsumer = isContextConsumer;
22168
+ reactIs_development.isContextProvider = isContextProvider;
22169
+ reactIs_development.isElement = isElement;
22170
+ reactIs_development.isForwardRef = isForwardRef;
22171
+ reactIs_development.isFragment = isFragment;
22172
+ reactIs_development.isLazy = isLazy;
22173
+ reactIs_development.isMemo = isMemo;
22174
+ reactIs_development.isPortal = isPortal;
22175
+ reactIs_development.isProfiler = isProfiler;
22176
+ reactIs_development.isStrictMode = isStrictMode;
22177
+ reactIs_development.isSuspense = isSuspense;
22178
+ reactIs_development.isValidElementType = isValidElementType;
22179
+ reactIs_development.typeOf = typeOf;
22167
22180
  })();
22168
22181
  }
22169
- return reactIs_development$1;
22182
+ return reactIs_development;
22170
22183
  }
22171
22184
 
22172
- var hasRequiredReactIs$1;
22173
- function requireReactIs$1() {
22174
- if (hasRequiredReactIs$1) return reactIs$1.exports;
22175
- hasRequiredReactIs$1 = 1;
22185
+ var hasRequiredReactIs;
22186
+ function requireReactIs() {
22187
+ if (hasRequiredReactIs) return reactIs.exports;
22188
+ hasRequiredReactIs = 1;
22176
22189
  if (process.env.NODE_ENV === 'production') {
22177
- reactIs$1.exports = requireReactIs_production_min$1();
22190
+ reactIs.exports = requireReactIs_production_min();
22178
22191
  } else {
22179
- reactIs$1.exports = requireReactIs_development$1();
22192
+ reactIs.exports = requireReactIs_development();
22180
22193
  }
22181
- return reactIs$1.exports;
22194
+ return reactIs.exports;
22182
22195
  }
22183
22196
 
22184
22197
  /*
@@ -22393,7 +22406,7 @@ var hasRequiredFactoryWithTypeCheckers;
22393
22406
  function requireFactoryWithTypeCheckers() {
22394
22407
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
22395
22408
  hasRequiredFactoryWithTypeCheckers = 1;
22396
- var ReactIs = requireReactIs$1();
22409
+ var ReactIs = requireReactIs();
22397
22410
  var assign = requireObjectAssign();
22398
22411
  var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret();
22399
22412
  var has = /*@__PURE__*/requireHas();
@@ -23006,7 +23019,7 @@ function requirePropTypes() {
23006
23019
  if (hasRequiredPropTypes) return propTypes.exports;
23007
23020
  hasRequiredPropTypes = 1;
23008
23021
  if (process.env.NODE_ENV !== 'production') {
23009
- var ReactIs = requireReactIs$1();
23022
+ var ReactIs = requireReactIs();
23010
23023
 
23011
23024
  // By explicitly using `prop-types` you are opting into new development behavior.
23012
23025
  // http://fb.me/prop-types-in-prod
@@ -23241,316 +23254,6 @@ ReCAPTCHA.defaultProps = {
23241
23254
  badge: "bottomright"
23242
23255
  };
23243
23256
 
23244
- var reactIs = {exports: {}};
23245
-
23246
- var reactIs_production_min = {};
23247
-
23248
- /** @license React v16.13.1
23249
- * react-is.production.min.js
23250
- *
23251
- * Copyright (c) Facebook, Inc. and its affiliates.
23252
- *
23253
- * This source code is licensed under the MIT license found in the
23254
- * LICENSE file in the root directory of this source tree.
23255
- */
23256
- var hasRequiredReactIs_production_min;
23257
- function requireReactIs_production_min() {
23258
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
23259
- hasRequiredReactIs_production_min = 1;
23260
- var b = "function" === typeof Symbol && Symbol.for,
23261
- c = b ? Symbol.for("react.element") : 60103,
23262
- d = b ? Symbol.for("react.portal") : 60106,
23263
- e = b ? Symbol.for("react.fragment") : 60107,
23264
- f = b ? Symbol.for("react.strict_mode") : 60108,
23265
- g = b ? Symbol.for("react.profiler") : 60114,
23266
- h = b ? Symbol.for("react.provider") : 60109,
23267
- k = b ? Symbol.for("react.context") : 60110,
23268
- l = b ? Symbol.for("react.async_mode") : 60111,
23269
- m = b ? Symbol.for("react.concurrent_mode") : 60111,
23270
- n = b ? Symbol.for("react.forward_ref") : 60112,
23271
- p = b ? Symbol.for("react.suspense") : 60113,
23272
- q = b ? Symbol.for("react.suspense_list") : 60120,
23273
- r = b ? Symbol.for("react.memo") : 60115,
23274
- t = b ? Symbol.for("react.lazy") : 60116,
23275
- v = b ? Symbol.for("react.block") : 60121,
23276
- w = b ? Symbol.for("react.fundamental") : 60117,
23277
- x = b ? Symbol.for("react.responder") : 60118,
23278
- y = b ? Symbol.for("react.scope") : 60119;
23279
- function z(a) {
23280
- if ("object" === typeof a && null !== a) {
23281
- var u = a.$$typeof;
23282
- switch (u) {
23283
- case c:
23284
- switch (a = a.type, a) {
23285
- case l:
23286
- case m:
23287
- case e:
23288
- case g:
23289
- case f:
23290
- case p:
23291
- return a;
23292
- default:
23293
- switch (a = a && a.$$typeof, a) {
23294
- case k:
23295
- case n:
23296
- case t:
23297
- case r:
23298
- case h:
23299
- return a;
23300
- default:
23301
- return u;
23302
- }
23303
- }
23304
- case d:
23305
- return u;
23306
- }
23307
- }
23308
- }
23309
- function A(a) {
23310
- return z(a) === m;
23311
- }
23312
- reactIs_production_min.AsyncMode = l;
23313
- reactIs_production_min.ConcurrentMode = m;
23314
- reactIs_production_min.ContextConsumer = k;
23315
- reactIs_production_min.ContextProvider = h;
23316
- reactIs_production_min.Element = c;
23317
- reactIs_production_min.ForwardRef = n;
23318
- reactIs_production_min.Fragment = e;
23319
- reactIs_production_min.Lazy = t;
23320
- reactIs_production_min.Memo = r;
23321
- reactIs_production_min.Portal = d;
23322
- reactIs_production_min.Profiler = g;
23323
- reactIs_production_min.StrictMode = f;
23324
- reactIs_production_min.Suspense = p;
23325
- reactIs_production_min.isAsyncMode = function (a) {
23326
- return A(a) || z(a) === l;
23327
- };
23328
- reactIs_production_min.isConcurrentMode = A;
23329
- reactIs_production_min.isContextConsumer = function (a) {
23330
- return z(a) === k;
23331
- };
23332
- reactIs_production_min.isContextProvider = function (a) {
23333
- return z(a) === h;
23334
- };
23335
- reactIs_production_min.isElement = function (a) {
23336
- return "object" === typeof a && null !== a && a.$$typeof === c;
23337
- };
23338
- reactIs_production_min.isForwardRef = function (a) {
23339
- return z(a) === n;
23340
- };
23341
- reactIs_production_min.isFragment = function (a) {
23342
- return z(a) === e;
23343
- };
23344
- reactIs_production_min.isLazy = function (a) {
23345
- return z(a) === t;
23346
- };
23347
- reactIs_production_min.isMemo = function (a) {
23348
- return z(a) === r;
23349
- };
23350
- reactIs_production_min.isPortal = function (a) {
23351
- return z(a) === d;
23352
- };
23353
- reactIs_production_min.isProfiler = function (a) {
23354
- return z(a) === g;
23355
- };
23356
- reactIs_production_min.isStrictMode = function (a) {
23357
- return z(a) === f;
23358
- };
23359
- reactIs_production_min.isSuspense = function (a) {
23360
- return z(a) === p;
23361
- };
23362
- reactIs_production_min.isValidElementType = function (a) {
23363
- 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);
23364
- };
23365
- reactIs_production_min.typeOf = z;
23366
- return reactIs_production_min;
23367
- }
23368
-
23369
- var reactIs_development = {};
23370
-
23371
- /** @license React v16.13.1
23372
- * react-is.development.js
23373
- *
23374
- * Copyright (c) Facebook, Inc. and its affiliates.
23375
- *
23376
- * This source code is licensed under the MIT license found in the
23377
- * LICENSE file in the root directory of this source tree.
23378
- */
23379
- var hasRequiredReactIs_development;
23380
- function requireReactIs_development() {
23381
- if (hasRequiredReactIs_development) return reactIs_development;
23382
- hasRequiredReactIs_development = 1;
23383
- if (process.env.NODE_ENV !== "production") {
23384
- (function () {
23385
-
23386
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
23387
- // nor polyfill, then a plain number is used for performance.
23388
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
23389
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
23390
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
23391
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
23392
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
23393
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
23394
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
23395
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
23396
- // (unstable) APIs that have been removed. Can we remove the symbols?
23397
-
23398
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
23399
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
23400
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
23401
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
23402
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
23403
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
23404
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
23405
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
23406
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
23407
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
23408
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
23409
- function isValidElementType(type) {
23410
- return typeof type === 'string' || typeof type === 'function' ||
23411
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
23412
- 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);
23413
- }
23414
- function typeOf(object) {
23415
- if (typeof object === 'object' && object !== null) {
23416
- var $$typeof = object.$$typeof;
23417
- switch ($$typeof) {
23418
- case REACT_ELEMENT_TYPE:
23419
- var type = object.type;
23420
- switch (type) {
23421
- case REACT_ASYNC_MODE_TYPE:
23422
- case REACT_CONCURRENT_MODE_TYPE:
23423
- case REACT_FRAGMENT_TYPE:
23424
- case REACT_PROFILER_TYPE:
23425
- case REACT_STRICT_MODE_TYPE:
23426
- case REACT_SUSPENSE_TYPE:
23427
- return type;
23428
- default:
23429
- var $$typeofType = type && type.$$typeof;
23430
- switch ($$typeofType) {
23431
- case REACT_CONTEXT_TYPE:
23432
- case REACT_FORWARD_REF_TYPE:
23433
- case REACT_LAZY_TYPE:
23434
- case REACT_MEMO_TYPE:
23435
- case REACT_PROVIDER_TYPE:
23436
- return $$typeofType;
23437
- default:
23438
- return $$typeof;
23439
- }
23440
- }
23441
- case REACT_PORTAL_TYPE:
23442
- return $$typeof;
23443
- }
23444
- }
23445
- return undefined;
23446
- } // AsyncMode is deprecated along with isAsyncMode
23447
-
23448
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
23449
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
23450
- var ContextConsumer = REACT_CONTEXT_TYPE;
23451
- var ContextProvider = REACT_PROVIDER_TYPE;
23452
- var Element = REACT_ELEMENT_TYPE;
23453
- var ForwardRef = REACT_FORWARD_REF_TYPE;
23454
- var Fragment = REACT_FRAGMENT_TYPE;
23455
- var Lazy = REACT_LAZY_TYPE;
23456
- var Memo = REACT_MEMO_TYPE;
23457
- var Portal = REACT_PORTAL_TYPE;
23458
- var Profiler = REACT_PROFILER_TYPE;
23459
- var StrictMode = REACT_STRICT_MODE_TYPE;
23460
- var Suspense = REACT_SUSPENSE_TYPE;
23461
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
23462
-
23463
- function isAsyncMode(object) {
23464
- {
23465
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
23466
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
23467
-
23468
- 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.');
23469
- }
23470
- }
23471
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
23472
- }
23473
- function isConcurrentMode(object) {
23474
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
23475
- }
23476
- function isContextConsumer(object) {
23477
- return typeOf(object) === REACT_CONTEXT_TYPE;
23478
- }
23479
- function isContextProvider(object) {
23480
- return typeOf(object) === REACT_PROVIDER_TYPE;
23481
- }
23482
- function isElement(object) {
23483
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
23484
- }
23485
- function isForwardRef(object) {
23486
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
23487
- }
23488
- function isFragment(object) {
23489
- return typeOf(object) === REACT_FRAGMENT_TYPE;
23490
- }
23491
- function isLazy(object) {
23492
- return typeOf(object) === REACT_LAZY_TYPE;
23493
- }
23494
- function isMemo(object) {
23495
- return typeOf(object) === REACT_MEMO_TYPE;
23496
- }
23497
- function isPortal(object) {
23498
- return typeOf(object) === REACT_PORTAL_TYPE;
23499
- }
23500
- function isProfiler(object) {
23501
- return typeOf(object) === REACT_PROFILER_TYPE;
23502
- }
23503
- function isStrictMode(object) {
23504
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
23505
- }
23506
- function isSuspense(object) {
23507
- return typeOf(object) === REACT_SUSPENSE_TYPE;
23508
- }
23509
- reactIs_development.AsyncMode = AsyncMode;
23510
- reactIs_development.ConcurrentMode = ConcurrentMode;
23511
- reactIs_development.ContextConsumer = ContextConsumer;
23512
- reactIs_development.ContextProvider = ContextProvider;
23513
- reactIs_development.Element = Element;
23514
- reactIs_development.ForwardRef = ForwardRef;
23515
- reactIs_development.Fragment = Fragment;
23516
- reactIs_development.Lazy = Lazy;
23517
- reactIs_development.Memo = Memo;
23518
- reactIs_development.Portal = Portal;
23519
- reactIs_development.Profiler = Profiler;
23520
- reactIs_development.StrictMode = StrictMode;
23521
- reactIs_development.Suspense = Suspense;
23522
- reactIs_development.isAsyncMode = isAsyncMode;
23523
- reactIs_development.isConcurrentMode = isConcurrentMode;
23524
- reactIs_development.isContextConsumer = isContextConsumer;
23525
- reactIs_development.isContextProvider = isContextProvider;
23526
- reactIs_development.isElement = isElement;
23527
- reactIs_development.isForwardRef = isForwardRef;
23528
- reactIs_development.isFragment = isFragment;
23529
- reactIs_development.isLazy = isLazy;
23530
- reactIs_development.isMemo = isMemo;
23531
- reactIs_development.isPortal = isPortal;
23532
- reactIs_development.isProfiler = isProfiler;
23533
- reactIs_development.isStrictMode = isStrictMode;
23534
- reactIs_development.isSuspense = isSuspense;
23535
- reactIs_development.isValidElementType = isValidElementType;
23536
- reactIs_development.typeOf = typeOf;
23537
- })();
23538
- }
23539
- return reactIs_development;
23540
- }
23541
-
23542
- var hasRequiredReactIs;
23543
- function requireReactIs() {
23544
- if (hasRequiredReactIs) return reactIs.exports;
23545
- hasRequiredReactIs = 1;
23546
- if (process.env.NODE_ENV === 'production') {
23547
- reactIs.exports = requireReactIs_production_min();
23548
- } else {
23549
- reactIs.exports = requireReactIs_development();
23550
- }
23551
- return reactIs.exports;
23552
- }
23553
-
23554
23257
  var hoistNonReactStatics_cjs;
23555
23258
  var hasRequiredHoistNonReactStatics_cjs;
23556
23259
  function requireHoistNonReactStatics_cjs() {
@@ -29823,7 +29526,7 @@ KJUR.asn1.DERTaggedObject = function (params) {
29823
29526
  };
29824
29527
  YAHOO.lang.extend(KJUR.asn1.DERTaggedObject, KJUR.asn1.ASN1Object);
29825
29528
 
29826
- var __extends = undefined && undefined.__extends || function () {
29529
+ var __extends = window && window.__extends || function () {
29827
29530
  var extendStatics = function (d, b) {
29828
29531
  extendStatics = Object.setPrototypeOf || {
29829
29532
  __proto__: []