pixel-react 1.1.5 → 1.1.6

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.
Binary file
@@ -12,10 +12,12 @@ interface ObjectProps {
12
12
  [key: string]: any;
13
13
  }
14
14
  interface TableTreeProps {
15
- withCheckBox: boolean;
15
+ select: 'checkbox' | 'radio' | 'none';
16
16
  columnsData: Array<ColumnDataProps>;
17
17
  treeData: Array<ObjectProps>;
18
18
  onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
19
+ onChange?: (e: any, node: any) => void;
20
+ selected: Array<string>;
19
21
  }
20
- declare const TableTree: ({ columnsData, treeData, withCheckBox, onClick, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
22
+ declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
21
23
  export default TableTree;
package/lib/index.d.ts CHANGED
@@ -1287,12 +1287,14 @@ interface ObjectProps {
1287
1287
  [key: string]: any;
1288
1288
  }
1289
1289
  interface TableTreeProps {
1290
- withCheckBox: boolean;
1290
+ select: 'checkbox' | 'radio' | 'none';
1291
1291
  columnsData: Array<ColumnDataProps>;
1292
1292
  treeData: Array<ObjectProps>;
1293
1293
  onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
1294
+ onChange?: (e: any, node: any) => void;
1295
+ selected: Array<string>;
1294
1296
  }
1295
- declare const TableTree: ({ columnsData, treeData, withCheckBox, onClick, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
1297
+ declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
1296
1298
 
1297
1299
  interface TabsProps {
1298
1300
  /**
package/lib/index.esm.js CHANGED
@@ -7483,8 +7483,10 @@ styleInject(css_248z$l);
7483
7483
  const TableTree = ({
7484
7484
  columnsData,
7485
7485
  treeData,
7486
- withCheckBox,
7487
- onClick = () => {}
7486
+ select,
7487
+ onClick = () => {},
7488
+ onChange,
7489
+ selected
7488
7490
  }) => {
7489
7491
  const [expandedNodes, setExpandedNodes] = useState(new Set());
7490
7492
  useLayoutEffect(() => {
@@ -7530,6 +7532,11 @@ const TableTree = ({
7530
7532
  const [nodeHeight, setNodeHeight] = useState(0);
7531
7533
  const [totalChildrenHeight, setTotalChildrenHeight] = useState(0);
7532
7534
  const isExpanded = expandedNodes.has(node);
7535
+ const handleCheckBoxChange = (e, node) => {
7536
+ if (onChange) {
7537
+ onChange(e, node);
7538
+ }
7539
+ };
7533
7540
  useLayoutEffect(() => {
7534
7541
  if (nodeRef.current) {
7535
7542
  const observer = new ResizeObserver(() => {
@@ -7580,7 +7587,13 @@ const TableTree = ({
7580
7587
  fontWeight: node.folder ? 600 : 400
7581
7588
  },
7582
7589
  onClick: event => onClick(event, node),
7583
- children: [withCheckBox && jsx(Checkbox, {}), prepareData(node, column)]
7590
+ children: [select === 'checkbox' && jsx(Checkbox, {
7591
+ checked: selected.includes(node.key),
7592
+ onChange: e => handleCheckBoxChange(e, node)
7593
+ }), select === 'radio' && jsx(RadioButton, {
7594
+ checked: selected.includes(node.key),
7595
+ onChange: e => handleCheckBoxChange(e, node)
7596
+ }), prepareData(node, column)]
7584
7597
  })]
7585
7598
  });
7586
7599
  } else if (column.accessor) {
@@ -21851,9 +21864,9 @@ const DashboardDonutChart = ({
21851
21864
 
21852
21865
  var propTypes = {exports: {}};
21853
21866
 
21854
- var reactIs$1 = {exports: {}};
21867
+ var reactIs = {exports: {}};
21855
21868
 
21856
- var reactIs_production_min$1 = {};
21869
+ var reactIs_production_min = {};
21857
21870
 
21858
21871
  /** @license React v16.13.1
21859
21872
  * react-is.production.min.js
@@ -21863,10 +21876,10 @@ var reactIs_production_min$1 = {};
21863
21876
  * This source code is licensed under the MIT license found in the
21864
21877
  * LICENSE file in the root directory of this source tree.
21865
21878
  */
21866
- var hasRequiredReactIs_production_min$1;
21867
- function requireReactIs_production_min$1() {
21868
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
21869
- hasRequiredReactIs_production_min$1 = 1;
21879
+ var hasRequiredReactIs_production_min;
21880
+ function requireReactIs_production_min() {
21881
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
21882
+ hasRequiredReactIs_production_min = 1;
21870
21883
  var b = "function" === typeof Symbol && Symbol.for,
21871
21884
  c = b ? Symbol.for("react.element") : 60103,
21872
21885
  d = b ? Symbol.for("react.portal") : 60106,
@@ -21919,64 +21932,64 @@ function requireReactIs_production_min$1() {
21919
21932
  function A(a) {
21920
21933
  return z(a) === m;
21921
21934
  }
21922
- reactIs_production_min$1.AsyncMode = l;
21923
- reactIs_production_min$1.ConcurrentMode = m;
21924
- reactIs_production_min$1.ContextConsumer = k;
21925
- reactIs_production_min$1.ContextProvider = h;
21926
- reactIs_production_min$1.Element = c;
21927
- reactIs_production_min$1.ForwardRef = n;
21928
- reactIs_production_min$1.Fragment = e;
21929
- reactIs_production_min$1.Lazy = t;
21930
- reactIs_production_min$1.Memo = r;
21931
- reactIs_production_min$1.Portal = d;
21932
- reactIs_production_min$1.Profiler = g;
21933
- reactIs_production_min$1.StrictMode = f;
21934
- reactIs_production_min$1.Suspense = p;
21935
- reactIs_production_min$1.isAsyncMode = function (a) {
21935
+ reactIs_production_min.AsyncMode = l;
21936
+ reactIs_production_min.ConcurrentMode = m;
21937
+ reactIs_production_min.ContextConsumer = k;
21938
+ reactIs_production_min.ContextProvider = h;
21939
+ reactIs_production_min.Element = c;
21940
+ reactIs_production_min.ForwardRef = n;
21941
+ reactIs_production_min.Fragment = e;
21942
+ reactIs_production_min.Lazy = t;
21943
+ reactIs_production_min.Memo = r;
21944
+ reactIs_production_min.Portal = d;
21945
+ reactIs_production_min.Profiler = g;
21946
+ reactIs_production_min.StrictMode = f;
21947
+ reactIs_production_min.Suspense = p;
21948
+ reactIs_production_min.isAsyncMode = function (a) {
21936
21949
  return A(a) || z(a) === l;
21937
21950
  };
21938
- reactIs_production_min$1.isConcurrentMode = A;
21939
- reactIs_production_min$1.isContextConsumer = function (a) {
21951
+ reactIs_production_min.isConcurrentMode = A;
21952
+ reactIs_production_min.isContextConsumer = function (a) {
21940
21953
  return z(a) === k;
21941
21954
  };
21942
- reactIs_production_min$1.isContextProvider = function (a) {
21955
+ reactIs_production_min.isContextProvider = function (a) {
21943
21956
  return z(a) === h;
21944
21957
  };
21945
- reactIs_production_min$1.isElement = function (a) {
21958
+ reactIs_production_min.isElement = function (a) {
21946
21959
  return "object" === typeof a && null !== a && a.$$typeof === c;
21947
21960
  };
21948
- reactIs_production_min$1.isForwardRef = function (a) {
21961
+ reactIs_production_min.isForwardRef = function (a) {
21949
21962
  return z(a) === n;
21950
21963
  };
21951
- reactIs_production_min$1.isFragment = function (a) {
21964
+ reactIs_production_min.isFragment = function (a) {
21952
21965
  return z(a) === e;
21953
21966
  };
21954
- reactIs_production_min$1.isLazy = function (a) {
21967
+ reactIs_production_min.isLazy = function (a) {
21955
21968
  return z(a) === t;
21956
21969
  };
21957
- reactIs_production_min$1.isMemo = function (a) {
21970
+ reactIs_production_min.isMemo = function (a) {
21958
21971
  return z(a) === r;
21959
21972
  };
21960
- reactIs_production_min$1.isPortal = function (a) {
21973
+ reactIs_production_min.isPortal = function (a) {
21961
21974
  return z(a) === d;
21962
21975
  };
21963
- reactIs_production_min$1.isProfiler = function (a) {
21976
+ reactIs_production_min.isProfiler = function (a) {
21964
21977
  return z(a) === g;
21965
21978
  };
21966
- reactIs_production_min$1.isStrictMode = function (a) {
21979
+ reactIs_production_min.isStrictMode = function (a) {
21967
21980
  return z(a) === f;
21968
21981
  };
21969
- reactIs_production_min$1.isSuspense = function (a) {
21982
+ reactIs_production_min.isSuspense = function (a) {
21970
21983
  return z(a) === p;
21971
21984
  };
21972
- reactIs_production_min$1.isValidElementType = function (a) {
21985
+ reactIs_production_min.isValidElementType = function (a) {
21973
21986
  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);
21974
21987
  };
21975
- reactIs_production_min$1.typeOf = z;
21976
- return reactIs_production_min$1;
21988
+ reactIs_production_min.typeOf = z;
21989
+ return reactIs_production_min;
21977
21990
  }
21978
21991
 
21979
- var reactIs_development$1 = {};
21992
+ var reactIs_development = {};
21980
21993
 
21981
21994
  /** @license React v16.13.1
21982
21995
  * react-is.development.js
@@ -21986,10 +21999,10 @@ var reactIs_development$1 = {};
21986
21999
  * This source code is licensed under the MIT license found in the
21987
22000
  * LICENSE file in the root directory of this source tree.
21988
22001
  */
21989
- var hasRequiredReactIs_development$1;
21990
- function requireReactIs_development$1() {
21991
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
21992
- hasRequiredReactIs_development$1 = 1;
22002
+ var hasRequiredReactIs_development;
22003
+ function requireReactIs_development() {
22004
+ if (hasRequiredReactIs_development) return reactIs_development;
22005
+ hasRequiredReactIs_development = 1;
21993
22006
  if (process.env.NODE_ENV !== "production") {
21994
22007
  (function () {
21995
22008
 
@@ -22116,49 +22129,49 @@ function requireReactIs_development$1() {
22116
22129
  function isSuspense(object) {
22117
22130
  return typeOf(object) === REACT_SUSPENSE_TYPE;
22118
22131
  }
22119
- reactIs_development$1.AsyncMode = AsyncMode;
22120
- reactIs_development$1.ConcurrentMode = ConcurrentMode;
22121
- reactIs_development$1.ContextConsumer = ContextConsumer;
22122
- reactIs_development$1.ContextProvider = ContextProvider;
22123
- reactIs_development$1.Element = Element;
22124
- reactIs_development$1.ForwardRef = ForwardRef;
22125
- reactIs_development$1.Fragment = Fragment;
22126
- reactIs_development$1.Lazy = Lazy;
22127
- reactIs_development$1.Memo = Memo;
22128
- reactIs_development$1.Portal = Portal;
22129
- reactIs_development$1.Profiler = Profiler;
22130
- reactIs_development$1.StrictMode = StrictMode;
22131
- reactIs_development$1.Suspense = Suspense;
22132
- reactIs_development$1.isAsyncMode = isAsyncMode;
22133
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
22134
- reactIs_development$1.isContextConsumer = isContextConsumer;
22135
- reactIs_development$1.isContextProvider = isContextProvider;
22136
- reactIs_development$1.isElement = isElement;
22137
- reactIs_development$1.isForwardRef = isForwardRef;
22138
- reactIs_development$1.isFragment = isFragment;
22139
- reactIs_development$1.isLazy = isLazy;
22140
- reactIs_development$1.isMemo = isMemo;
22141
- reactIs_development$1.isPortal = isPortal;
22142
- reactIs_development$1.isProfiler = isProfiler;
22143
- reactIs_development$1.isStrictMode = isStrictMode;
22144
- reactIs_development$1.isSuspense = isSuspense;
22145
- reactIs_development$1.isValidElementType = isValidElementType;
22146
- reactIs_development$1.typeOf = typeOf;
22132
+ reactIs_development.AsyncMode = AsyncMode;
22133
+ reactIs_development.ConcurrentMode = ConcurrentMode;
22134
+ reactIs_development.ContextConsumer = ContextConsumer;
22135
+ reactIs_development.ContextProvider = ContextProvider;
22136
+ reactIs_development.Element = Element;
22137
+ reactIs_development.ForwardRef = ForwardRef;
22138
+ reactIs_development.Fragment = Fragment;
22139
+ reactIs_development.Lazy = Lazy;
22140
+ reactIs_development.Memo = Memo;
22141
+ reactIs_development.Portal = Portal;
22142
+ reactIs_development.Profiler = Profiler;
22143
+ reactIs_development.StrictMode = StrictMode;
22144
+ reactIs_development.Suspense = Suspense;
22145
+ reactIs_development.isAsyncMode = isAsyncMode;
22146
+ reactIs_development.isConcurrentMode = isConcurrentMode;
22147
+ reactIs_development.isContextConsumer = isContextConsumer;
22148
+ reactIs_development.isContextProvider = isContextProvider;
22149
+ reactIs_development.isElement = isElement;
22150
+ reactIs_development.isForwardRef = isForwardRef;
22151
+ reactIs_development.isFragment = isFragment;
22152
+ reactIs_development.isLazy = isLazy;
22153
+ reactIs_development.isMemo = isMemo;
22154
+ reactIs_development.isPortal = isPortal;
22155
+ reactIs_development.isProfiler = isProfiler;
22156
+ reactIs_development.isStrictMode = isStrictMode;
22157
+ reactIs_development.isSuspense = isSuspense;
22158
+ reactIs_development.isValidElementType = isValidElementType;
22159
+ reactIs_development.typeOf = typeOf;
22147
22160
  })();
22148
22161
  }
22149
- return reactIs_development$1;
22162
+ return reactIs_development;
22150
22163
  }
22151
22164
 
22152
- var hasRequiredReactIs$1;
22153
- function requireReactIs$1() {
22154
- if (hasRequiredReactIs$1) return reactIs$1.exports;
22155
- hasRequiredReactIs$1 = 1;
22165
+ var hasRequiredReactIs;
22166
+ function requireReactIs() {
22167
+ if (hasRequiredReactIs) return reactIs.exports;
22168
+ hasRequiredReactIs = 1;
22156
22169
  if (process.env.NODE_ENV === 'production') {
22157
- reactIs$1.exports = requireReactIs_production_min$1();
22170
+ reactIs.exports = requireReactIs_production_min();
22158
22171
  } else {
22159
- reactIs$1.exports = requireReactIs_development$1();
22172
+ reactIs.exports = requireReactIs_development();
22160
22173
  }
22161
- return reactIs$1.exports;
22174
+ return reactIs.exports;
22162
22175
  }
22163
22176
 
22164
22177
  /*
@@ -22373,7 +22386,7 @@ var hasRequiredFactoryWithTypeCheckers;
22373
22386
  function requireFactoryWithTypeCheckers() {
22374
22387
  if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
22375
22388
  hasRequiredFactoryWithTypeCheckers = 1;
22376
- var ReactIs = requireReactIs$1();
22389
+ var ReactIs = requireReactIs();
22377
22390
  var assign = requireObjectAssign();
22378
22391
  var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret();
22379
22392
  var has = /*@__PURE__*/requireHas();
@@ -22986,7 +22999,7 @@ function requirePropTypes() {
22986
22999
  if (hasRequiredPropTypes) return propTypes.exports;
22987
23000
  hasRequiredPropTypes = 1;
22988
23001
  if (process.env.NODE_ENV !== 'production') {
22989
- var ReactIs = requireReactIs$1();
23002
+ var ReactIs = requireReactIs();
22990
23003
 
22991
23004
  // By explicitly using `prop-types` you are opting into new development behavior.
22992
23005
  // http://fb.me/prop-types-in-prod
@@ -23221,316 +23234,6 @@ ReCAPTCHA.defaultProps = {
23221
23234
  badge: "bottomright"
23222
23235
  };
23223
23236
 
23224
- var reactIs = {exports: {}};
23225
-
23226
- var reactIs_production_min = {};
23227
-
23228
- /** @license React v16.13.1
23229
- * react-is.production.min.js
23230
- *
23231
- * Copyright (c) Facebook, Inc. and its affiliates.
23232
- *
23233
- * This source code is licensed under the MIT license found in the
23234
- * LICENSE file in the root directory of this source tree.
23235
- */
23236
- var hasRequiredReactIs_production_min;
23237
- function requireReactIs_production_min() {
23238
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
23239
- hasRequiredReactIs_production_min = 1;
23240
- var b = "function" === typeof Symbol && Symbol.for,
23241
- c = b ? Symbol.for("react.element") : 60103,
23242
- d = b ? Symbol.for("react.portal") : 60106,
23243
- e = b ? Symbol.for("react.fragment") : 60107,
23244
- f = b ? Symbol.for("react.strict_mode") : 60108,
23245
- g = b ? Symbol.for("react.profiler") : 60114,
23246
- h = b ? Symbol.for("react.provider") : 60109,
23247
- k = b ? Symbol.for("react.context") : 60110,
23248
- l = b ? Symbol.for("react.async_mode") : 60111,
23249
- m = b ? Symbol.for("react.concurrent_mode") : 60111,
23250
- n = b ? Symbol.for("react.forward_ref") : 60112,
23251
- p = b ? Symbol.for("react.suspense") : 60113,
23252
- q = b ? Symbol.for("react.suspense_list") : 60120,
23253
- r = b ? Symbol.for("react.memo") : 60115,
23254
- t = b ? Symbol.for("react.lazy") : 60116,
23255
- v = b ? Symbol.for("react.block") : 60121,
23256
- w = b ? Symbol.for("react.fundamental") : 60117,
23257
- x = b ? Symbol.for("react.responder") : 60118,
23258
- y = b ? Symbol.for("react.scope") : 60119;
23259
- function z(a) {
23260
- if ("object" === typeof a && null !== a) {
23261
- var u = a.$$typeof;
23262
- switch (u) {
23263
- case c:
23264
- switch (a = a.type, a) {
23265
- case l:
23266
- case m:
23267
- case e:
23268
- case g:
23269
- case f:
23270
- case p:
23271
- return a;
23272
- default:
23273
- switch (a = a && a.$$typeof, a) {
23274
- case k:
23275
- case n:
23276
- case t:
23277
- case r:
23278
- case h:
23279
- return a;
23280
- default:
23281
- return u;
23282
- }
23283
- }
23284
- case d:
23285
- return u;
23286
- }
23287
- }
23288
- }
23289
- function A(a) {
23290
- return z(a) === m;
23291
- }
23292
- reactIs_production_min.AsyncMode = l;
23293
- reactIs_production_min.ConcurrentMode = m;
23294
- reactIs_production_min.ContextConsumer = k;
23295
- reactIs_production_min.ContextProvider = h;
23296
- reactIs_production_min.Element = c;
23297
- reactIs_production_min.ForwardRef = n;
23298
- reactIs_production_min.Fragment = e;
23299
- reactIs_production_min.Lazy = t;
23300
- reactIs_production_min.Memo = r;
23301
- reactIs_production_min.Portal = d;
23302
- reactIs_production_min.Profiler = g;
23303
- reactIs_production_min.StrictMode = f;
23304
- reactIs_production_min.Suspense = p;
23305
- reactIs_production_min.isAsyncMode = function (a) {
23306
- return A(a) || z(a) === l;
23307
- };
23308
- reactIs_production_min.isConcurrentMode = A;
23309
- reactIs_production_min.isContextConsumer = function (a) {
23310
- return z(a) === k;
23311
- };
23312
- reactIs_production_min.isContextProvider = function (a) {
23313
- return z(a) === h;
23314
- };
23315
- reactIs_production_min.isElement = function (a) {
23316
- return "object" === typeof a && null !== a && a.$$typeof === c;
23317
- };
23318
- reactIs_production_min.isForwardRef = function (a) {
23319
- return z(a) === n;
23320
- };
23321
- reactIs_production_min.isFragment = function (a) {
23322
- return z(a) === e;
23323
- };
23324
- reactIs_production_min.isLazy = function (a) {
23325
- return z(a) === t;
23326
- };
23327
- reactIs_production_min.isMemo = function (a) {
23328
- return z(a) === r;
23329
- };
23330
- reactIs_production_min.isPortal = function (a) {
23331
- return z(a) === d;
23332
- };
23333
- reactIs_production_min.isProfiler = function (a) {
23334
- return z(a) === g;
23335
- };
23336
- reactIs_production_min.isStrictMode = function (a) {
23337
- return z(a) === f;
23338
- };
23339
- reactIs_production_min.isSuspense = function (a) {
23340
- return z(a) === p;
23341
- };
23342
- reactIs_production_min.isValidElementType = function (a) {
23343
- 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);
23344
- };
23345
- reactIs_production_min.typeOf = z;
23346
- return reactIs_production_min;
23347
- }
23348
-
23349
- var reactIs_development = {};
23350
-
23351
- /** @license React v16.13.1
23352
- * react-is.development.js
23353
- *
23354
- * Copyright (c) Facebook, Inc. and its affiliates.
23355
- *
23356
- * This source code is licensed under the MIT license found in the
23357
- * LICENSE file in the root directory of this source tree.
23358
- */
23359
- var hasRequiredReactIs_development;
23360
- function requireReactIs_development() {
23361
- if (hasRequiredReactIs_development) return reactIs_development;
23362
- hasRequiredReactIs_development = 1;
23363
- if (process.env.NODE_ENV !== "production") {
23364
- (function () {
23365
-
23366
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
23367
- // nor polyfill, then a plain number is used for performance.
23368
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
23369
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
23370
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
23371
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
23372
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
23373
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
23374
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
23375
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
23376
- // (unstable) APIs that have been removed. Can we remove the symbols?
23377
-
23378
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
23379
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
23380
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
23381
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
23382
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
23383
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
23384
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
23385
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
23386
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
23387
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
23388
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
23389
- function isValidElementType(type) {
23390
- return typeof type === 'string' || typeof type === 'function' ||
23391
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
23392
- 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);
23393
- }
23394
- function typeOf(object) {
23395
- if (typeof object === 'object' && object !== null) {
23396
- var $$typeof = object.$$typeof;
23397
- switch ($$typeof) {
23398
- case REACT_ELEMENT_TYPE:
23399
- var type = object.type;
23400
- switch (type) {
23401
- case REACT_ASYNC_MODE_TYPE:
23402
- case REACT_CONCURRENT_MODE_TYPE:
23403
- case REACT_FRAGMENT_TYPE:
23404
- case REACT_PROFILER_TYPE:
23405
- case REACT_STRICT_MODE_TYPE:
23406
- case REACT_SUSPENSE_TYPE:
23407
- return type;
23408
- default:
23409
- var $$typeofType = type && type.$$typeof;
23410
- switch ($$typeofType) {
23411
- case REACT_CONTEXT_TYPE:
23412
- case REACT_FORWARD_REF_TYPE:
23413
- case REACT_LAZY_TYPE:
23414
- case REACT_MEMO_TYPE:
23415
- case REACT_PROVIDER_TYPE:
23416
- return $$typeofType;
23417
- default:
23418
- return $$typeof;
23419
- }
23420
- }
23421
- case REACT_PORTAL_TYPE:
23422
- return $$typeof;
23423
- }
23424
- }
23425
- return undefined;
23426
- } // AsyncMode is deprecated along with isAsyncMode
23427
-
23428
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
23429
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
23430
- var ContextConsumer = REACT_CONTEXT_TYPE;
23431
- var ContextProvider = REACT_PROVIDER_TYPE;
23432
- var Element = REACT_ELEMENT_TYPE;
23433
- var ForwardRef = REACT_FORWARD_REF_TYPE;
23434
- var Fragment = REACT_FRAGMENT_TYPE;
23435
- var Lazy = REACT_LAZY_TYPE;
23436
- var Memo = REACT_MEMO_TYPE;
23437
- var Portal = REACT_PORTAL_TYPE;
23438
- var Profiler = REACT_PROFILER_TYPE;
23439
- var StrictMode = REACT_STRICT_MODE_TYPE;
23440
- var Suspense = REACT_SUSPENSE_TYPE;
23441
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
23442
-
23443
- function isAsyncMode(object) {
23444
- {
23445
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
23446
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
23447
-
23448
- 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.');
23449
- }
23450
- }
23451
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
23452
- }
23453
- function isConcurrentMode(object) {
23454
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
23455
- }
23456
- function isContextConsumer(object) {
23457
- return typeOf(object) === REACT_CONTEXT_TYPE;
23458
- }
23459
- function isContextProvider(object) {
23460
- return typeOf(object) === REACT_PROVIDER_TYPE;
23461
- }
23462
- function isElement(object) {
23463
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
23464
- }
23465
- function isForwardRef(object) {
23466
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
23467
- }
23468
- function isFragment(object) {
23469
- return typeOf(object) === REACT_FRAGMENT_TYPE;
23470
- }
23471
- function isLazy(object) {
23472
- return typeOf(object) === REACT_LAZY_TYPE;
23473
- }
23474
- function isMemo(object) {
23475
- return typeOf(object) === REACT_MEMO_TYPE;
23476
- }
23477
- function isPortal(object) {
23478
- return typeOf(object) === REACT_PORTAL_TYPE;
23479
- }
23480
- function isProfiler(object) {
23481
- return typeOf(object) === REACT_PROFILER_TYPE;
23482
- }
23483
- function isStrictMode(object) {
23484
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
23485
- }
23486
- function isSuspense(object) {
23487
- return typeOf(object) === REACT_SUSPENSE_TYPE;
23488
- }
23489
- reactIs_development.AsyncMode = AsyncMode;
23490
- reactIs_development.ConcurrentMode = ConcurrentMode;
23491
- reactIs_development.ContextConsumer = ContextConsumer;
23492
- reactIs_development.ContextProvider = ContextProvider;
23493
- reactIs_development.Element = Element;
23494
- reactIs_development.ForwardRef = ForwardRef;
23495
- reactIs_development.Fragment = Fragment;
23496
- reactIs_development.Lazy = Lazy;
23497
- reactIs_development.Memo = Memo;
23498
- reactIs_development.Portal = Portal;
23499
- reactIs_development.Profiler = Profiler;
23500
- reactIs_development.StrictMode = StrictMode;
23501
- reactIs_development.Suspense = Suspense;
23502
- reactIs_development.isAsyncMode = isAsyncMode;
23503
- reactIs_development.isConcurrentMode = isConcurrentMode;
23504
- reactIs_development.isContextConsumer = isContextConsumer;
23505
- reactIs_development.isContextProvider = isContextProvider;
23506
- reactIs_development.isElement = isElement;
23507
- reactIs_development.isForwardRef = isForwardRef;
23508
- reactIs_development.isFragment = isFragment;
23509
- reactIs_development.isLazy = isLazy;
23510
- reactIs_development.isMemo = isMemo;
23511
- reactIs_development.isPortal = isPortal;
23512
- reactIs_development.isProfiler = isProfiler;
23513
- reactIs_development.isStrictMode = isStrictMode;
23514
- reactIs_development.isSuspense = isSuspense;
23515
- reactIs_development.isValidElementType = isValidElementType;
23516
- reactIs_development.typeOf = typeOf;
23517
- })();
23518
- }
23519
- return reactIs_development;
23520
- }
23521
-
23522
- var hasRequiredReactIs;
23523
- function requireReactIs() {
23524
- if (hasRequiredReactIs) return reactIs.exports;
23525
- hasRequiredReactIs = 1;
23526
- if (process.env.NODE_ENV === 'production') {
23527
- reactIs.exports = requireReactIs_production_min();
23528
- } else {
23529
- reactIs.exports = requireReactIs_development();
23530
- }
23531
- return reactIs.exports;
23532
- }
23533
-
23534
23237
  var hoistNonReactStatics_cjs;
23535
23238
  var hasRequiredHoistNonReactStatics_cjs;
23536
23239
  function requireHoistNonReactStatics_cjs() {
@@ -29803,7 +29506,7 @@ KJUR.asn1.DERTaggedObject = function (params) {
29803
29506
  };
29804
29507
  YAHOO.lang.extend(KJUR.asn1.DERTaggedObject, KJUR.asn1.ASN1Object);
29805
29508
 
29806
- var __extends = undefined && undefined.__extends || function () {
29509
+ var __extends = window && window.__extends || function () {
29807
29510
  var extendStatics = function (d, b) {
29808
29511
  extendStatics = Object.setPrototypeOf || {
29809
29512
  __proto__: []