@geneui/components 3.0.0-next-7221a3a-16092024 → 3.0.0-next-1b7eefe-17092024

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.
Files changed (135) hide show
  1. package/ActionableList/index.js +7 -8
  2. package/AdvancedSearch/index.js +5 -6
  3. package/Alert/index.js +3 -3
  4. package/Avatar/index.js +1 -1
  5. package/Badge/index.js +1 -1
  6. package/Breadcrumb/index.js +4 -5
  7. package/BusyLoader/index.js +2 -2
  8. package/Button/index.js +2 -2
  9. package/CHANGELOG.md +23 -0
  10. package/Card/index.js +4 -5
  11. package/CardList/index.js +11 -12
  12. package/{CellMeasurerCache-dbb3a6e5.js → CellMeasurerCache-f0690f3b.js} +2 -2
  13. package/Charts/index.js +19 -19
  14. package/Checkbox/index.js +4 -4
  15. package/CheckboxGroup/index.js +4 -4
  16. package/CheckboxGroupWithSearch/index.js +5 -6
  17. package/Collapse/index.js +2 -2
  18. package/ColorPicker/index.js +2 -2
  19. package/ComboBox/index.js +6 -6
  20. package/Copy/index.js +5 -5
  21. package/Counter/index.js +4 -5
  22. package/DateFilter/index.js +5 -6
  23. package/DatePicker/index.js +2 -2
  24. package/DatePickerInput/index.js +6 -7
  25. package/Divider/index.js +1 -1
  26. package/Drawer/index.js +5 -5
  27. package/Dropdown/index.js +8 -9
  28. package/Editor/index.js +7 -14
  29. package/Empty/index.js +1 -1
  30. package/ExtendedInput/index.js +5 -5
  31. package/Form/index.js +8 -9
  32. package/FormContainer/index.js +2 -2
  33. package/FormableCheckbox/index.js +5 -5
  34. package/FormableDatePicker/index.js +6 -7
  35. package/FormableDropdown/index.js +8 -9
  36. package/FormableEditor/index.js +3 -3
  37. package/{FormableHOC-c02b8928.js → FormableHOC-300e2dd7.js} +2 -2
  38. package/FormableMultiSelectDropdown/index.js +8 -9
  39. package/FormableNumberInput/index.js +5 -5
  40. package/FormableRadio/index.js +3 -3
  41. package/FormableSwitcher/index.js +3 -3
  42. package/FormableTextInput/index.js +5 -5
  43. package/FormableUploader/index.js +4 -5
  44. package/GeneUIProvider/index.js +3 -2
  45. package/Grid/index.js +3 -3
  46. package/HelperText/index.js +118 -0
  47. package/Holder/index.js +4 -5
  48. package/Icon/index.js +2 -2
  49. package/Image/index.js +6 -7
  50. package/ImagePreview/index.js +4 -5
  51. package/InteractiveWidget/index.js +4 -5
  52. package/KeyValue/index.js +2 -2
  53. package/Label/index.js +1 -1
  54. package/LinkButton/index.js +2 -2
  55. package/Menu/index.js +5 -5
  56. package/MobileNavigation/index.js +2 -2
  57. package/MobilePopup/index.js +5 -5
  58. package/Modal/index.js +3 -3
  59. package/ModuleTitle/index.js +5 -5
  60. package/NavigationMenu/index.js +6 -6
  61. package/Notification/index.js +3 -3
  62. package/Option/index.js +5 -5
  63. package/Overlay/index.js +4 -5
  64. package/Overspread/index.js +9 -10
  65. package/Pagination/index.js +4 -5
  66. package/Paper/index.js +2 -2
  67. package/Popover/index.js +411 -6
  68. package/PopoverV2/index.js +3 -3
  69. package/Products/index.js +3 -3
  70. package/Profile/index.js +4 -5
  71. package/Progress/index.js +2 -2
  72. package/Radio/index.js +2 -2
  73. package/RadioGroup/index.js +2 -2
  74. package/Range/index.js +3 -3
  75. package/Rating/index.js +4 -4
  76. package/RichEditor/index.js +1 -1
  77. package/{RichEditor-a3f1150e.js → RichEditor-3ad651c7.js} +1 -1
  78. package/Scrollbar/index.js +3 -3
  79. package/Search/index.js +4 -4
  80. package/SearchWithDropdown/index.js +9 -10
  81. package/Section/index.js +3 -3
  82. package/SkeletonLoader/index.js +2 -2
  83. package/Slider/index.js +5 -5
  84. package/Status/index.js +6 -6
  85. package/Steps/index.js +6 -6
  86. package/SuggestionList/index.js +3 -3
  87. package/Switcher/index.js +3 -3
  88. package/Table/index.js +16 -17
  89. package/TableCompositions/index.js +14 -15
  90. package/Tabs/index.js +2 -2
  91. package/Tag/index.js +3 -3
  92. package/Textarea/index.js +4 -4
  93. package/Time/index.js +2 -2
  94. package/TimePicker/index.js +57 -39
  95. package/Timeline/index.js +3 -3
  96. package/Title/index.js +3 -3
  97. package/Toaster/index.js +3 -3
  98. package/Tooltip/index.js +10 -153
  99. package/TransferList/index.js +9 -10
  100. package/Uploader/index.js +7 -8
  101. package/ValidatableCheckbox/index.js +4 -4
  102. package/ValidatableDatePicker/index.js +5 -6
  103. package/ValidatableDropdown/index.js +7 -8
  104. package/ValidatableElements/index.js +7 -8
  105. package/ValidatableMultiSelectDropdown/index.js +7 -8
  106. package/ValidatableNumberInput/index.js +4 -4
  107. package/ValidatableRadio/index.js +2 -2
  108. package/ValidatableSwitcher/index.js +2 -2
  109. package/ValidatableTextInput/index.js +4 -4
  110. package/ValidatableTimeInput/index.js +4 -4
  111. package/ValidatableUploader/index.js +3 -4
  112. package/Widget/index.js +4 -5
  113. package/_rollupPluginBabelHelpers-e8fb2e5c.js +16 -0
  114. package/{configs-1fb8eed2.js → configs-34847b77.js} +1 -1
  115. package/hooks/useDeviceType.js +1 -1
  116. package/index-006d8b06.js +3080 -0
  117. package/{index-34914e4c.js → index-263b0f0b.js} +1 -1
  118. package/{index-d10283d4.js → index-558ac559.js} +87 -64
  119. package/{index-46532c91.js → index-761141c1.js} +11 -10
  120. package/{index-282407ff.js → index-ac5c45f7.js} +3 -3
  121. package/index.d.ts +1 -0
  122. package/index.js +15 -15
  123. package/lib/atoms/Button/Button.d.ts +1 -1
  124. package/lib/atoms/HelperText/HelperText.d.ts +42 -0
  125. package/lib/atoms/HelperText/index.d.ts +1 -0
  126. package/lib/molecules/Tooltip/Tooltip.d.ts +58 -0
  127. package/lib/molecules/Tooltip/index.d.ts +1 -0
  128. package/objectWithoutPropertiesLoose-d8a4a68c.js +78 -0
  129. package/package.json +3 -2
  130. package/{rangeAndSlider-693a3d41.js → rangeAndSlider-63c5d423.js} +8 -16
  131. package/{react-beautiful-dnd.esm-ec039212.js → react-beautiful-dnd.esm-0ce25a0e.js} +7 -4
  132. package/{index-b7c1fe38.js → redux-b3e598ca.js} +2 -273
  133. package/Popover-f4d1cac0.js +0 -411
  134. package/_rollupPluginBabelHelpers-a83240e1.js +0 -11
  135. package/objectWithoutPropertiesLoose-e1596bdb.js +0 -62
@@ -0,0 +1,58 @@
1
+ import { CSSProperties, JSX, MouseEvent, FC } from 'react';
2
+ import './Tooltip.scss';
3
+ interface ICustomPosition {
4
+ left?: number;
5
+ top?: number;
6
+ }
7
+ export interface ITooltipProps {
8
+ /**
9
+ * The Tooltip component size<br> Possible values: `default | small`
10
+ */
11
+ size?: 'default' | 'small';
12
+ /**
13
+ * Main content for the component.
14
+ */
15
+ text?: string;
16
+ /**
17
+ * Title for the component.
18
+ */
19
+ title?: string;
20
+ /**
21
+ * Style object, to have extra styles.
22
+ */
23
+ style?: CSSProperties;
24
+ /**
25
+ * If `true` the component will be visible without any action.
26
+ */
27
+ alwaysShow?: boolean;
28
+ /**
29
+ * Will display the component in the specified location.
30
+ */
31
+ customPosition?: ICustomPosition;
32
+ /**
33
+ * Any valid React node.
34
+ */
35
+ children: JSX.Element | JSX.Element[];
36
+ /**
37
+ * Positions where will be displayed the Tooltip relates the child component.<br> Possible values: `top | right | bottom | left`
38
+ */
39
+ position?: 'top' | 'right' | 'bottom' | 'left';
40
+ /**
41
+ * Tooltip padding related to the target element
42
+ */
43
+ padding?: number;
44
+ /**
45
+ * Control with screenType appearance of component
46
+ */
47
+ screenType?: 'desktop' | 'mobile';
48
+ /**
49
+ * In case of `false` value, the children component will rendered without Tooltip.
50
+ */
51
+ isVisible?: boolean;
52
+ /**
53
+ * The action will triggered when the Tooltip component will clicked.
54
+ */
55
+ onClick?: (e: MouseEvent) => void;
56
+ }
57
+ declare const Tooltip: FC<ITooltipProps>;
58
+ export default Tooltip;
@@ -0,0 +1 @@
1
+ export { ITooltipProps, default as default } from './Tooltip';
@@ -0,0 +1,78 @@
1
+ function _typeof(o) {
2
+ "@babel/helpers - typeof";
3
+
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
5
+ return typeof o;
6
+ } : function (o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
10
+
11
+ function toPrimitive(t, r) {
12
+ if ("object" != _typeof(t) || !t) return t;
13
+ var e = t[Symbol.toPrimitive];
14
+ if (void 0 !== e) {
15
+ var i = e.call(t, r || "default");
16
+ if ("object" != _typeof(i)) return i;
17
+ throw new TypeError("@@toPrimitive must return a primitive value.");
18
+ }
19
+ return ("string" === r ? String : Number)(t);
20
+ }
21
+
22
+ function toPropertyKey(t) {
23
+ var i = toPrimitive(t, "string");
24
+ return "symbol" == _typeof(i) ? i : String(i);
25
+ }
26
+
27
+ function _setPrototypeOf(o, p) {
28
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
29
+ o.__proto__ = p;
30
+ return o;
31
+ };
32
+ return _setPrototypeOf(o, p);
33
+ }
34
+
35
+ function _defineProperty(obj, key, value) {
36
+ key = toPropertyKey(key);
37
+ if (key in obj) {
38
+ Object.defineProperty(obj, key, {
39
+ value: value,
40
+ enumerable: true,
41
+ configurable: true,
42
+ writable: true
43
+ });
44
+ } else {
45
+ obj[key] = value;
46
+ }
47
+ return obj;
48
+ }
49
+
50
+ function _extends() {
51
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
52
+ for (var i = 1; i < arguments.length; i++) {
53
+ var source = arguments[i];
54
+ for (var key in source) {
55
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
56
+ target[key] = source[key];
57
+ }
58
+ }
59
+ }
60
+ return target;
61
+ };
62
+ return _extends.apply(this, arguments);
63
+ }
64
+
65
+ function _objectWithoutPropertiesLoose(source, excluded) {
66
+ if (source == null) return {};
67
+ var target = {};
68
+ var sourceKeys = Object.keys(source);
69
+ var key, i;
70
+ for (i = 0; i < sourceKeys.length; i++) {
71
+ key = sourceKeys[i];
72
+ if (excluded.indexOf(key) >= 0) continue;
73
+ target[key] = source[key];
74
+ }
75
+ return target;
76
+ }
77
+
78
+ export { _defineProperty as _, _setPrototypeOf as a, _objectWithoutPropertiesLoose as b, _extends as c, _typeof as d, toPropertyKey as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@geneui/components",
3
3
  "description": "The Gene UI components library designed for BI tools",
4
- "version": "3.0.0-next-7221a3a-16092024",
4
+ "version": "3.0.0-next-1b7eefe-17092024",
5
5
  "author": "SoftConstruct",
6
6
  "homepage": "https://github.com/softconstruct/gene-ui-components#readme",
7
7
  "repository": {
@@ -157,8 +157,9 @@
157
157
  "yargs": "^17.7.2"
158
158
  },
159
159
  "dependencies": {
160
- "@geneui/icons": "^1.0.3",
160
+ "@geneui/icons": "^1.0.4",
161
161
  "@geneui/tokens": "^1.3.0-beta",
162
+ "@floating-ui/react": "^0.26.16",
162
163
  "classnames": "^2.3.2",
163
164
  "dayjs": "^1.11.5",
164
165
  "draft-js": "^0.11.7",
@@ -251,20 +251,12 @@ var _cof = function (it) {
251
251
  return toString$2.call(it).slice(8, -1);
252
252
  };
253
253
 
254
- var _iobject;
255
- var hasRequired_iobject;
256
-
257
- function require_iobject () {
258
- if (hasRequired_iobject) return _iobject;
259
- hasRequired_iobject = 1;
260
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
261
- var cof = _cof;
262
- // eslint-disable-next-line no-prototype-builtins
263
- _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
264
- return cof(it) == 'String' ? it.split('') : Object(it);
265
- };
266
- return _iobject;
267
- }
254
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
255
+ var cof$2 = _cof;
256
+ // eslint-disable-next-line no-prototype-builtins
257
+ var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
258
+ return cof$2(it) == 'String' ? it.split('') : Object(it);
259
+ };
268
260
 
269
261
  // 7.2.1 RequireObjectCoercible(argument)
270
262
  var _defined = function (it) {
@@ -273,7 +265,7 @@ var _defined = function (it) {
273
265
  };
274
266
 
275
267
  // to indexed object, toObject with fallback for non-array-like ES3 strings
276
- var IObject = require_iobject();
268
+ var IObject = _iobject;
277
269
  var defined$2 = _defined;
278
270
  var _toIobject = function (it) {
279
271
  return IObject(defined$2(it));
@@ -446,7 +438,7 @@ function require_objectAssign () {
446
438
  var gOPS = _objectGops;
447
439
  var pIE = require_objectPie();
448
440
  var toObject = _toObject;
449
- var IObject = require_iobject();
441
+ var IObject = _iobject;
450
442
  var $assign = Object.assign;
451
443
 
452
444
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -1,11 +1,14 @@
1
1
  import React__default, { useLayoutEffect, useEffect, useMemo as useMemo$1, useContext, useReducer, useRef, useState } from 'react';
2
- import { a as _setPrototypeOf, b as _objectWithoutPropertiesLoose, c as _extends } from './objectWithoutPropertiesLoose-e1596bdb.js';
3
- import { r as reactIsExports$1, c as compose, b as bindActionCreators$1, a as createStore$1, d as applyMiddleware } from './index-b7c1fe38.js';
2
+ import { a as _setPrototypeOf, b as _objectWithoutPropertiesLoose, c as _extends } from './objectWithoutPropertiesLoose-d8a4a68c.js';
3
+ import { c as compose, b as bindActionCreators$1, a as createStore$1, d as applyMiddleware } from './redux-b3e598ca.js';
4
4
  import PropTypes from 'prop-types';
5
+ import { r as reactIsExports$1 } from './index-006d8b06.js';
5
6
  import ReactDOM__default, { unstable_batchedUpdates } from 'react-dom';
6
7
 
7
- function _inheritsLoose(t, o) {
8
- t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
8
+ function _inheritsLoose(subClass, superClass) {
9
+ subClass.prototype = Object.create(superClass.prototype);
10
+ subClass.prototype.constructor = subClass;
11
+ _setPrototypeOf(subClass, superClass);
9
12
  }
10
13
 
11
14
  var ReactReduxContext = /*#__PURE__*/React__default.createContext(null);
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './objectWithoutPropertiesLoose-e1596bdb.js';
1
+ import { _ as _defineProperty } from './objectWithoutPropertiesLoose-d8a4a68c.js';
2
2
 
3
3
  function ownKeys(e, r) {
4
4
  var t = Object.keys(e);
@@ -533,275 +533,4 @@ function applyMiddleware() {
533
533
  };
534
534
  }
535
535
 
536
- var reactIsExports = {};
537
- var reactIs = {
538
- get exports(){ return reactIsExports; },
539
- set exports(v){ reactIsExports = v; },
540
- };
541
-
542
- var reactIs_production_min = {};
543
-
544
- /** @license React v17.0.2
545
- * react-is.production.min.js
546
- *
547
- * Copyright (c) Facebook, Inc. and its affiliates.
548
- *
549
- * This source code is licensed under the MIT license found in the
550
- * LICENSE file in the root directory of this source tree.
551
- */
552
-
553
- var hasRequiredReactIs_production_min;
554
-
555
- function requireReactIs_production_min () {
556
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
557
- hasRequiredReactIs_production_min = 1;
558
- var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
559
- if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden");}
560
- function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=z;reactIs_production_min.Element=A;reactIs_production_min.ForwardRef=B;reactIs_production_min.Fragment=C;reactIs_production_min.Lazy=D;reactIs_production_min.Memo=E;reactIs_production_min.Portal=F;reactIs_production_min.Profiler=G;reactIs_production_min.StrictMode=H;
561
- reactIs_production_min.Suspense=I;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return y(a)===h};reactIs_production_min.isContextProvider=function(a){return y(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return y(a)===k};reactIs_production_min.isFragment=function(a){return y(a)===d};reactIs_production_min.isLazy=function(a){return y(a)===p};reactIs_production_min.isMemo=function(a){return y(a)===n};
562
- reactIs_production_min.isPortal=function(a){return y(a)===c};reactIs_production_min.isProfiler=function(a){return y(a)===f};reactIs_production_min.isStrictMode=function(a){return y(a)===e};reactIs_production_min.isSuspense=function(a){return y(a)===l};reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
563
- reactIs_production_min.typeOf=y;
564
- return reactIs_production_min;
565
- }
566
-
567
- var reactIs_development = {};
568
-
569
- /** @license React v17.0.2
570
- * react-is.development.js
571
- *
572
- * Copyright (c) Facebook, Inc. and its affiliates.
573
- *
574
- * This source code is licensed under the MIT license found in the
575
- * LICENSE file in the root directory of this source tree.
576
- */
577
-
578
- var hasRequiredReactIs_development;
579
-
580
- function requireReactIs_development () {
581
- if (hasRequiredReactIs_development) return reactIs_development;
582
- hasRequiredReactIs_development = 1;
583
-
584
- if (process.env.NODE_ENV !== "production") {
585
- (function() {
586
-
587
- // ATTENTION
588
- // When adding new symbols to this file,
589
- // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
590
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
591
- // nor polyfill, then a plain number is used for performance.
592
- var REACT_ELEMENT_TYPE = 0xeac7;
593
- var REACT_PORTAL_TYPE = 0xeaca;
594
- var REACT_FRAGMENT_TYPE = 0xeacb;
595
- var REACT_STRICT_MODE_TYPE = 0xeacc;
596
- var REACT_PROFILER_TYPE = 0xead2;
597
- var REACT_PROVIDER_TYPE = 0xeacd;
598
- var REACT_CONTEXT_TYPE = 0xeace;
599
- var REACT_FORWARD_REF_TYPE = 0xead0;
600
- var REACT_SUSPENSE_TYPE = 0xead1;
601
- var REACT_SUSPENSE_LIST_TYPE = 0xead8;
602
- var REACT_MEMO_TYPE = 0xead3;
603
- var REACT_LAZY_TYPE = 0xead4;
604
- var REACT_BLOCK_TYPE = 0xead9;
605
- var REACT_SERVER_BLOCK_TYPE = 0xeada;
606
- var REACT_FUNDAMENTAL_TYPE = 0xead5;
607
- var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
608
- var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
609
-
610
- if (typeof Symbol === 'function' && Symbol.for) {
611
- var symbolFor = Symbol.for;
612
- REACT_ELEMENT_TYPE = symbolFor('react.element');
613
- REACT_PORTAL_TYPE = symbolFor('react.portal');
614
- REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
615
- REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
616
- REACT_PROFILER_TYPE = symbolFor('react.profiler');
617
- REACT_PROVIDER_TYPE = symbolFor('react.provider');
618
- REACT_CONTEXT_TYPE = symbolFor('react.context');
619
- REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
620
- REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
621
- REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
622
- REACT_MEMO_TYPE = symbolFor('react.memo');
623
- REACT_LAZY_TYPE = symbolFor('react.lazy');
624
- REACT_BLOCK_TYPE = symbolFor('react.block');
625
- REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
626
- REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
627
- symbolFor('react.scope');
628
- symbolFor('react.opaque.id');
629
- REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
630
- symbolFor('react.offscreen');
631
- REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
632
- }
633
-
634
- // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
635
-
636
- var enableScopeAPI = false; // Experimental Create Event Handle API.
637
-
638
- function isValidElementType(type) {
639
- if (typeof type === 'string' || typeof type === 'function') {
640
- return true;
641
- } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
642
-
643
-
644
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
645
- return true;
646
- }
647
-
648
- if (typeof type === 'object' && type !== null) {
649
- if (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_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
650
- return true;
651
- }
652
- }
653
-
654
- return false;
655
- }
656
-
657
- function typeOf(object) {
658
- if (typeof object === 'object' && object !== null) {
659
- var $$typeof = object.$$typeof;
660
-
661
- switch ($$typeof) {
662
- case REACT_ELEMENT_TYPE:
663
- var type = object.type;
664
-
665
- switch (type) {
666
- case REACT_FRAGMENT_TYPE:
667
- case REACT_PROFILER_TYPE:
668
- case REACT_STRICT_MODE_TYPE:
669
- case REACT_SUSPENSE_TYPE:
670
- case REACT_SUSPENSE_LIST_TYPE:
671
- return type;
672
-
673
- default:
674
- var $$typeofType = type && type.$$typeof;
675
-
676
- switch ($$typeofType) {
677
- case REACT_CONTEXT_TYPE:
678
- case REACT_FORWARD_REF_TYPE:
679
- case REACT_LAZY_TYPE:
680
- case REACT_MEMO_TYPE:
681
- case REACT_PROVIDER_TYPE:
682
- return $$typeofType;
683
-
684
- default:
685
- return $$typeof;
686
- }
687
-
688
- }
689
-
690
- case REACT_PORTAL_TYPE:
691
- return $$typeof;
692
- }
693
- }
694
-
695
- return undefined;
696
- }
697
- var ContextConsumer = REACT_CONTEXT_TYPE;
698
- var ContextProvider = REACT_PROVIDER_TYPE;
699
- var Element = REACT_ELEMENT_TYPE;
700
- var ForwardRef = REACT_FORWARD_REF_TYPE;
701
- var Fragment = REACT_FRAGMENT_TYPE;
702
- var Lazy = REACT_LAZY_TYPE;
703
- var Memo = REACT_MEMO_TYPE;
704
- var Portal = REACT_PORTAL_TYPE;
705
- var Profiler = REACT_PROFILER_TYPE;
706
- var StrictMode = REACT_STRICT_MODE_TYPE;
707
- var Suspense = REACT_SUSPENSE_TYPE;
708
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
709
- var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
710
-
711
- function isAsyncMode(object) {
712
- {
713
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
714
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
715
-
716
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
717
- }
718
- }
719
-
720
- return false;
721
- }
722
- function isConcurrentMode(object) {
723
- {
724
- if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
725
- hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
726
-
727
- console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
728
- }
729
- }
730
-
731
- return false;
732
- }
733
- function isContextConsumer(object) {
734
- return typeOf(object) === REACT_CONTEXT_TYPE;
735
- }
736
- function isContextProvider(object) {
737
- return typeOf(object) === REACT_PROVIDER_TYPE;
738
- }
739
- function isElement(object) {
740
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
741
- }
742
- function isForwardRef(object) {
743
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
744
- }
745
- function isFragment(object) {
746
- return typeOf(object) === REACT_FRAGMENT_TYPE;
747
- }
748
- function isLazy(object) {
749
- return typeOf(object) === REACT_LAZY_TYPE;
750
- }
751
- function isMemo(object) {
752
- return typeOf(object) === REACT_MEMO_TYPE;
753
- }
754
- function isPortal(object) {
755
- return typeOf(object) === REACT_PORTAL_TYPE;
756
- }
757
- function isProfiler(object) {
758
- return typeOf(object) === REACT_PROFILER_TYPE;
759
- }
760
- function isStrictMode(object) {
761
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
762
- }
763
- function isSuspense(object) {
764
- return typeOf(object) === REACT_SUSPENSE_TYPE;
765
- }
766
-
767
- reactIs_development.ContextConsumer = ContextConsumer;
768
- reactIs_development.ContextProvider = ContextProvider;
769
- reactIs_development.Element = Element;
770
- reactIs_development.ForwardRef = ForwardRef;
771
- reactIs_development.Fragment = Fragment;
772
- reactIs_development.Lazy = Lazy;
773
- reactIs_development.Memo = Memo;
774
- reactIs_development.Portal = Portal;
775
- reactIs_development.Profiler = Profiler;
776
- reactIs_development.StrictMode = StrictMode;
777
- reactIs_development.Suspense = Suspense;
778
- reactIs_development.isAsyncMode = isAsyncMode;
779
- reactIs_development.isConcurrentMode = isConcurrentMode;
780
- reactIs_development.isContextConsumer = isContextConsumer;
781
- reactIs_development.isContextProvider = isContextProvider;
782
- reactIs_development.isElement = isElement;
783
- reactIs_development.isForwardRef = isForwardRef;
784
- reactIs_development.isFragment = isFragment;
785
- reactIs_development.isLazy = isLazy;
786
- reactIs_development.isMemo = isMemo;
787
- reactIs_development.isPortal = isPortal;
788
- reactIs_development.isProfiler = isProfiler;
789
- reactIs_development.isStrictMode = isStrictMode;
790
- reactIs_development.isSuspense = isSuspense;
791
- reactIs_development.isValidElementType = isValidElementType;
792
- reactIs_development.typeOf = typeOf;
793
- })();
794
- }
795
- return reactIs_development;
796
- }
797
-
798
- (function (module) {
799
-
800
- if (process.env.NODE_ENV === 'production') {
801
- module.exports = requireReactIs_production_min();
802
- } else {
803
- module.exports = requireReactIs_development();
804
- }
805
- } (reactIs));
806
-
807
- export { createStore as a, bindActionCreators as b, compose as c, applyMiddleware as d, reactIsExports as r };
536
+ export { createStore as a, bindActionCreators as b, compose as c, applyMiddleware as d };