@geneui/components 2.16.0-canary-36aab18-26082024 → 2.16.0-canary-7598c7a-11092024

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 (100) hide show
  1. package/ActionableList/index.js +4 -5
  2. package/AdvancedSearch/index.js +3 -4
  3. package/Alert/index.js +1 -1
  4. package/Breadcrumb/index.js +2 -3
  5. package/Card/index.js +2 -3
  6. package/CardList/index.js +7 -8
  7. package/{CellMeasurerCache-b172f99b.js → CellMeasurerCache-e50d357a.js} +1 -1
  8. package/Charts/index.js +1 -1
  9. package/Checkbox/index.js +3 -3
  10. package/CheckboxGroup/index.js +3 -3
  11. package/CheckboxGroupWithSearch/index.js +2 -3
  12. package/ComboBox/index.js +3 -3
  13. package/Copy/index.js +3 -3
  14. package/Counter/index.js +2 -3
  15. package/DateFilter/index.js +3 -4
  16. package/DatePickerInput/index.js +4 -5
  17. package/Drawer/index.js +3 -3
  18. package/Dropdown/index.js +5 -6
  19. package/Editor/index.js +1 -1
  20. package/ExtendedInput/index.js +3 -3
  21. package/Form/index.js +5 -6
  22. package/FormableCheckbox/index.js +4 -4
  23. package/FormableDatePicker/index.js +5 -6
  24. package/FormableDropdown/index.js +5 -6
  25. package/FormableEditor/index.js +2 -2
  26. package/{FormableHOC-b26c5b16.js → FormableHOC-8c6104f7.js} +1 -1
  27. package/FormableMultiSelectDropdown/index.js +5 -6
  28. package/FormableNumberInput/index.js +4 -4
  29. package/FormableRadio/index.js +2 -2
  30. package/FormableSwitcher/index.js +2 -2
  31. package/FormableTextInput/index.js +4 -4
  32. package/FormableUploader/index.js +3 -4
  33. package/GeneUIProvider/index.js +1 -0
  34. package/Grid/index.js +1 -1
  35. package/Holder/index.js +2 -3
  36. package/Image/index.js +5 -6
  37. package/ImagePreview/index.js +2 -3
  38. package/InteractiveWidget/index.js +2 -3
  39. package/Menu/index.js +3 -3
  40. package/MobilePopup/index.js +3 -3
  41. package/Modal/index.js +1 -1
  42. package/ModuleTitle/index.js +3 -3
  43. package/NavigationMenu/index.js +4 -4
  44. package/Notification/index.js +1 -1
  45. package/Option/index.js +3 -3
  46. package/Overlay/index.js +2 -3
  47. package/Overspread/index.js +5 -6
  48. package/Pagination/index.js +2 -3
  49. package/Popover/index.js +409 -4
  50. package/PopoverV2/index.js +2 -2
  51. package/Products/index.js +1 -1
  52. package/Profile/index.js +2 -3
  53. package/Radio/index.js +1 -1
  54. package/RadioGroup/index.js +1 -1
  55. package/Range/index.js +1 -1
  56. package/Scrollbar/index.js +1 -1
  57. package/Search/index.js +3 -3
  58. package/SearchWithDropdown/index.js +5 -6
  59. package/Section/index.js +1 -1
  60. package/Slider/index.js +3 -3
  61. package/Status/index.js +4 -4
  62. package/Steps/index.js +4 -4
  63. package/SuggestionList/index.js +1 -1
  64. package/Switcher/index.js +1 -1
  65. package/Table/index.js +14 -15
  66. package/TableCompositions/index.js +8 -9
  67. package/Tag/index.js +1 -1
  68. package/Textarea/index.js +3 -3
  69. package/TimePicker/index.js +35 -30
  70. package/Title/index.js +1 -1
  71. package/Toaster/index.js +1 -1
  72. package/Tooltip/index.js +10 -153
  73. package/TransferList/index.js +4 -5
  74. package/Uploader/index.js +2 -3
  75. package/ValidatableCheckbox/index.js +3 -3
  76. package/ValidatableDatePicker/index.js +4 -5
  77. package/ValidatableDropdown/index.js +4 -5
  78. package/ValidatableElements/index.js +4 -5
  79. package/ValidatableMultiSelectDropdown/index.js +4 -5
  80. package/ValidatableNumberInput/index.js +3 -3
  81. package/ValidatableRadio/index.js +1 -1
  82. package/ValidatableSwitcher/index.js +1 -1
  83. package/ValidatableTextInput/index.js +3 -3
  84. package/ValidatableTimeInput/index.js +3 -3
  85. package/ValidatableUploader/index.js +2 -3
  86. package/Widget/index.js +2 -3
  87. package/{configs-1fb8eed2.js → configs-00612ce0.js} +1 -1
  88. package/hooks/useDeviceType.js +1 -1
  89. package/{index-1beae3bb.js → index-071d6646.js} +3 -3
  90. package/index-17958262.js +3064 -0
  91. package/{index-18431aad.js → index-808e4e0e.js} +1 -1
  92. package/{index-617ffc3a.js → index-ac01f546.js} +6 -5
  93. package/index.js +9 -10
  94. package/lib/atoms/Button/Button.d.ts +1 -1
  95. package/lib/molecules/Tooltip/Tooltip.d.ts +62 -0
  96. package/lib/molecules/Tooltip/index.d.ts +1 -0
  97. package/package.json +2 -1
  98. package/{react-beautiful-dnd.esm-04c14563.js → react-beautiful-dnd.esm-899f6ed9.js} +2 -1
  99. package/{index-b1e429a7.js → redux-b3e598ca.js} +1 -272
  100. package/Popover-f4d1cac0.js +0 -411
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
8
8
  import { n as noop, s as stopEvent } from './index-a0e4e333.js';
9
9
  import useDeviceType from './hooks/useDeviceType.js';
10
10
  import useClickOutside from './hooks/useClickOutside.js';
11
- import { f as popoverV2Config, s as screenTypes } from './configs-1fb8eed2.js';
11
+ import { p as popoverV2Config, s as screenTypes } from './configs-00612ce0.js';
12
12
  import CustomScrollbar from './Scrollbar/index.js';
13
13
  import { GeneUIDesignSystemContext } from './GeneUIProvider/index.js';
14
14
  import { s as styleInject } from './style-inject.es-746bb8ed.js';
@@ -1,20 +1,20 @@
1
1
  import { _ as _extends } from './_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import React__default, { createContext, memo, useEffect, useLayoutEffect, useState, useCallback, useMemo, isValidElement, cloneElement, useContext, useRef, forwardRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { D as Dropdown, I as InfiniteLoader, W as WindowScroller, A as AutoSizer, L as List, C as CellMeasurer } from './index-1beae3bb.js';
5
- import { C as CellMeasurerCache } from './CellMeasurerCache-b172f99b.js';
4
+ import { D as Dropdown, I as InfiniteLoader, W as WindowScroller, A as AutoSizer, L as List, C as CellMeasurer } from './index-071d6646.js';
5
+ import { C as CellMeasurerCache } from './CellMeasurerCache-e50d357a.js';
6
6
  import { c as classnames } from './index-031ff73c.js';
7
7
  import { s as stopEvent, o as oneIsRequired, n as noop } from './index-a0e4e333.js';
8
8
  import useMount from './hooks/useMount.js';
9
9
  import useUpdate from './hooks/useUpdate.js';
10
- import './configs-1fb8eed2.js';
10
+ import './configs-00612ce0.js';
11
11
  import useThrottle from './hooks/useThrottle.js';
12
12
  import Empty from './Empty/index.js';
13
13
  import CustomScrollbar from './Scrollbar/index.js';
14
14
  import BusyLoader from './BusyLoader/index.js';
15
15
  import useMutationObserver from './hooks/useMutationObserver.js';
16
16
  import Icon from './Icon/index.js';
17
- import { a as createStore, r as reactIsExports } from './index-b1e429a7.js';
17
+ import { r as reactIsExports } from './index-17958262.js';
18
18
  import Button from './Button/index.js';
19
19
  import { s as styleInject } from './style-inject.es-746bb8ed.js';
20
20
  import './dateValidation-67caec66.js';
@@ -27,7 +27,8 @@ import Popover from './Popover/index.js';
27
27
  import ExtendedInput from './ExtendedInput/index.js';
28
28
  import Menu from './Menu/index.js';
29
29
  import { d as debounce } from './debounce-4419bc2f.js';
30
- import { j as jsxRuntimeExports } from './index-18431aad.js';
30
+ import { j as jsxRuntimeExports } from './index-808e4e0e.js';
31
+ import { a as createStore } from './redux-b3e598ca.js';
31
32
 
32
33
  /**
33
34
  * Create the React Context
package/index.js CHANGED
@@ -14,7 +14,7 @@ export { default as Scrollbar } from './Scrollbar/index.js';
14
14
  export { default as Time } from './Time/index.js';
15
15
  export { default as Empty } from './Empty/index.js';
16
16
  export { default as Popover } from './Popover/index.js';
17
- export { P as PopoverV2 } from './index-18431aad.js';
17
+ export { P as PopoverV2 } from './index-808e4e0e.js';
18
18
  export { default as Title } from './Title/index.js';
19
19
  export { default as Image } from './Image/index.js';
20
20
  export { default as KeyValue } from './KeyValue/index.js';
@@ -33,7 +33,7 @@ export { default as Checkbox } from './Checkbox/index.js';
33
33
  export { default as Card } from './Card/index.js';
34
34
  export { default as Tag } from './Tag/index.js';
35
35
  export { default as Alert, alertTypes } from './Alert/index.js';
36
- export { default as Tooltip } from './Tooltip/index.js';
36
+ export { T as Tooltip } from './index-17958262.js';
37
37
  export { default as Range } from './Range/index.js';
38
38
  export { default as Slider } from './Slider/index.js';
39
39
  export { default as Pagination } from './Pagination/index.js';
@@ -86,7 +86,7 @@ export { default as FormableUploader } from './FormableUploader/index.js';
86
86
  export { default as FormableSwitcher } from './FormableSwitcher/index.js';
87
87
  export { default as FormableEditor } from './FormableEditor/index.js';
88
88
  export { default as FormableRadio } from './FormableRadio/index.js';
89
- export { F as FormableHOC } from './FormableHOC-b26c5b16.js';
89
+ export { F as FormableHOC } from './FormableHOC-8c6104f7.js';
90
90
  export { default as Toaster, toasterPositions } from './Toaster/index.js';
91
91
  export { default as SearchWithDropdown } from './SearchWithDropdown/index.js';
92
92
  export { default as CheckboxGroupWithSearch } from './CheckboxGroupWithSearch/index.js';
@@ -95,8 +95,8 @@ export { default as Overspread } from './Overspread/index.js';
95
95
  export { default as DatePicker } from './DatePicker/index.js';
96
96
  export { default as DateFilter } from './DateFilter/index.js';
97
97
  export { ComboTable, PaginationSelector, PaperWrapper, TableContainer, TableHeader, TablePagination, TableTitle, WithHeader, WithTitle } from './TableCompositions/index.js';
98
- export { D as Dropdown } from './index-1beae3bb.js';
99
- export { T as Table } from './index-617ffc3a.js';
98
+ export { D as Dropdown } from './index-071d6646.js';
99
+ export { T as Table } from './index-ac01f546.js';
100
100
  export { CardList, WrappedCardList } from './CardList/index.js';
101
101
  import 'react';
102
102
  import 'prop-types';
@@ -129,7 +129,7 @@ import './tslib.es6-f211516f.js';
129
129
  import './index-031ff73c.js';
130
130
  import './style-inject.es-746bb8ed.js';
131
131
  import './_rollupPluginBabelHelpers-e8fb2e5c.js';
132
- import './configs-1fb8eed2.js';
132
+ import './configs-00612ce0.js';
133
133
  import './index-a0e4e333.js';
134
134
  import './dateValidation-67caec66.js';
135
135
  import './_commonjsHelpers-24198af3.js';
@@ -137,7 +137,6 @@ import 'react-dom';
137
137
  import './checkboxRadioSwitcher-5b69d7bd.js';
138
138
  import './guid-8ddf77b3.js';
139
139
  import './localization-4ba17032.js';
140
- import './Popover-f4d1cac0.js';
141
140
  import './index-122432cd.js';
142
141
  import './debounce-4419bc2f.js';
143
142
  import './rangeAndSlider-693a3d41.js';
@@ -152,6 +151,6 @@ import './index-262edd7a.js';
152
151
  import './index-34914e4c.js';
153
152
  import './objectWithoutPropertiesLoose-d8a4a68c.js';
154
153
  import './clsx.m-2bb6df4b.js';
155
- import './CellMeasurerCache-b172f99b.js';
156
- import './index-b1e429a7.js';
157
- import './react-beautiful-dnd.esm-04c14563.js';
154
+ import './CellMeasurerCache-e50d357a.js';
155
+ import './redux-b3e598ca.js';
156
+ import './react-beautiful-dnd.esm-899f6ed9.js';
@@ -20,7 +20,7 @@ export interface IButtonProps extends HTMLAttributes<HTMLButtonElement> {
20
20
  * How to display inscription in relation to it's parent in Button <br/>
21
21
  * Possible values: `default | content-size | full-width`
22
22
  */
23
- flexibility: 'default' | 'content-size' | 'full-width';
23
+ flexibility?: 'default' | 'content-size' | 'full-width';
24
24
  /**
25
25
  * Button color <br/>
26
26
  * Possible values: `primary | confirm | danger | default`
@@ -0,0 +1,62 @@
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
+ * Disable/Enable auto repositions.
38
+ */
39
+ disableReposition?: boolean;
40
+ /**
41
+ * Positions where will be displayed the Tooltip relates the child component.<br> Possible values: `top | right | bottom | left`
42
+ */
43
+ position?: 'top' | 'right' | 'bottom' | 'left';
44
+ /**
45
+ * Tooltip padding related to the target element
46
+ */
47
+ padding?: number;
48
+ /**
49
+ * Control with screenType appearance of component
50
+ */
51
+ screenType?: 'desktop' | 'mobile';
52
+ /**
53
+ * In case of `false` value, the children component will rendered without Tooltip.
54
+ */
55
+ isVisible?: boolean;
56
+ /**
57
+ * The action will triggered when the Tooltip component will clicked.
58
+ */
59
+ onClick?: (e: MouseEvent) => void;
60
+ }
61
+ declare const Tooltip: FC<ITooltipProps>;
62
+ export default Tooltip;
@@ -0,0 +1 @@
1
+ export { ITooltipProps, default as default } from './Tooltip';
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": "2.16.0-canary-36aab18-26082024",
4
+ "version": "2.16.0-canary-7598c7a-11092024",
5
5
  "author": "SoftConstruct",
6
6
  "homepage": "https://github.com/softconstruct/gene-ui-components#readme",
7
7
  "repository": {
@@ -156,6 +156,7 @@
156
156
  "yargs": "^17.7.2"
157
157
  },
158
158
  "dependencies": {
159
+ "@floating-ui/react": "^0.26.16",
159
160
  "classnames": "^2.3.2",
160
161
  "dayjs": "^1.11.5",
161
162
  "draft-js": "^0.11.7",
@@ -1,7 +1,8 @@
1
1
  import React__default, { useLayoutEffect, useEffect, useMemo as useMemo$1, useContext, useReducer, useRef, useState } from 'react';
2
2
  import { a as _setPrototypeOf, b as _objectWithoutPropertiesLoose, c as _extends } from './objectWithoutPropertiesLoose-d8a4a68c.js';
3
- import { r as reactIsExports$1, c as compose, b as bindActionCreators$1, a as createStore$1, d as applyMiddleware } from './index-b1e429a7.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-17958262.js';
5
6
  import ReactDOM__default, { unstable_batchedUpdates } from 'react-dom';
6
7
 
7
8
  function _inheritsLoose(subClass, superClass) {
@@ -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 };