@geneui/components 2.11.2 → 2.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ActionableList.js → ActionableList/index.js} +83 -152
- package/{AdvancedSearch.js → AdvancedSearch/index.js} +290 -304
- package/Alert/index.js +97 -0
- package/Avatar/index.js +30 -0
- package/Badge/index.js +75 -0
- package/{Breadcrumb.js → Breadcrumb/index.js} +32 -31
- package/BusyLoader/index.js +68 -0
- package/Button/index.js +129 -0
- package/CHANGELOG.md +53 -0
- package/{Card.js → Card/index.js} +82 -94
- package/{CardList.js → CardList/index.js} +120 -165
- package/{CellMeasurerCache-b786dd93.js → CellMeasurerCache-3741d716.js} +2 -2
- package/{index-9164a86d.js → Charts/index.js} +17103 -30447
- package/{Checkbox.js → Checkbox/index.js} +37 -38
- package/{CheckboxGroup.js → CheckboxGroup/index.js} +41 -42
- package/{CheckboxGroupWithSearch.js → CheckboxGroupWithSearch/index.js} +64 -65
- package/{Collapse.js → Collapse/index.js} +28 -29
- package/{ColorPicker.js → ColorPicker/index.js} +16 -16
- package/ComboBox/index.js +525 -0
- package/Counter/index.js +310 -0
- package/{DateFilter.js → DateFilter/index.js} +45 -43
- package/{DatePicker.js → DatePicker/index.js} +106 -108
- package/{index-0199942c.js → DatePickerInput/index.js} +114 -100
- package/{Divider.js → Divider/index.js} +9 -10
- package/{Drawer.js → Drawer/index.js} +40 -41
- package/Dropdown/index.js +41 -0
- package/{Editor.js → Editor/index.js} +165 -164
- package/{Empty.js → Empty/index.js} +12 -13
- package/{ExtendedInput.js → ExtendedInput/index.js} +81 -71
- package/Form/index.js +83 -0
- package/{FormContainer.js → FormContainer/index.js} +25 -26
- package/FormableCheckbox/index.js +26 -0
- package/FormableDatePicker/index.js +41 -0
- package/FormableDropdown/index.js +48 -0
- package/FormableEditor/index.js +24 -0
- package/{FormableHOC-21051057.js → FormableHOC-55263162.js} +3 -3
- package/FormableMultiSelectDropdown/index.js +48 -0
- package/FormableNumberInput/index.js +32 -0
- package/FormableRadio/index.js +22 -0
- package/FormableSwitcher/index.js +22 -0
- package/FormableTextInput/index.js +32 -0
- package/FormableUploader/index.js +42 -0
- package/GeneUIProvider/index.js +282 -0
- package/{Grid.js → Grid/index.js} +27 -27
- package/Holder/index.js +261 -0
- package/{Icon.js → Icon/index.js} +9 -10
- package/Image/index.js +129 -0
- package/ImagePreview/index.js +481 -0
- package/{KeyValue.js → KeyValue/index.js} +11 -12
- package/LICENSE +21 -0
- package/Label/index.js +57 -0
- package/LinkButton/index.js +67 -0
- package/{Menu.js → Menu/index.js} +27 -28
- package/MobileNavigation/index.js +94 -0
- package/{MobilePopup.js → MobilePopup/index.js} +42 -41
- package/{Modal.js → Modal/index.js} +39 -40
- package/ModuleTitle/index.js +143 -0
- package/{NavigationMenu.js → NavigationMenu/index.js} +30 -29
- package/Notification/index.js +119 -0
- package/Option/index.js +184 -0
- package/Overlay/index.js +189 -0
- package/Overspread/index.js +289 -0
- package/{Pagination.js → Pagination/index.js} +35 -34
- package/Paper/index.js +96 -0
- package/{index-084588e9.js → Popover/index.js} +48 -58
- package/PopoverV2/index.js +18 -0
- package/{Portal.js → Portal/index.js} +7 -8
- package/{Products.js → Products/index.js} +20 -21
- package/Profile/index.js +585 -0
- package/Progress/index.js +199 -0
- package/{QRCode.js → QRCode/index.js} +4 -6
- package/{Radio.js → Radio/index.js} +25 -26
- package/{RadioGroup.js → RadioGroup/index.js} +17 -18
- package/{index-00fe8887.js → Range/index.js} +29 -32
- package/RichEditor/index.js +13 -0
- package/{RichEditor-98accead.js → RichEditor-8b0f7ccd.js} +18 -18
- package/{Scrollbar.js → Scrollbar/index.js} +15 -17
- package/{Search.js → Search/index.js} +25 -24
- package/SearchWithDropdown/index.js +138 -0
- package/Section/index.js +61 -0
- package/{SkeletonLoader.js → SkeletonLoader/index.js} +13 -14
- package/{Slider.js → Slider/index.js} +46 -43
- package/Status/index.js +103 -0
- package/Steps/index.js +313 -0
- package/{index-897d8240.js → SuggestionList/index.js} +15 -38
- package/{Switcher.js → Switcher/index.js} +30 -31
- package/Table/index.js +53 -0
- package/{TableCompositions.js → TableCompositions/index.js} +131 -168
- package/Tabs/index.js +235 -0
- package/Tag/index.js +102 -0
- package/{TextLink.js → TextLink/index.js} +3 -3
- package/{Textarea.js → Textarea/index.js} +66 -65
- package/{Time.js → Time/index.js} +13 -14
- package/TimePicker/index.js +555 -0
- package/Timeline/index.js +113 -0
- package/Title/index.js +65 -0
- package/{Toaster.js → Toaster/index.js} +19 -20
- package/{Tooltip.js → Tooltip/index.js} +27 -28
- package/{TransferList.js → TransferList/index.js} +44 -55
- package/{index-135b9d17.js → Uploader/index.js} +119 -116
- package/{ValidatableCheckbox.js → ValidatableCheckbox/index.js} +23 -24
- package/{ValidatableDatePicker.js → ValidatableDatePicker/index.js} +44 -42
- package/ValidatableDropdown/index.js +139 -0
- package/ValidatableElements/index.js +65 -0
- package/ValidatableMultiSelectDropdown/index.js +150 -0
- package/{ValidatableNumberInput.js → ValidatableNumberInput/index.js} +41 -33
- package/{ValidatableRadio.js → ValidatableRadio/index.js} +19 -20
- package/{ValidatableSwitcher.js → ValidatableSwitcher/index.js} +19 -20
- package/{ValidatableTextInput.js → ValidatableTextInput/index.js} +32 -31
- package/{ValidatableTimeInput.js → ValidatableTimeInput/index.js} +31 -30
- package/{ValidatableUploader.js → ValidatableUploader/index.js} +36 -34
- package/Widget/index.js +227 -0
- package/config-0ca92874.js +31 -0
- package/{configs-91c86664.js → configs-fed6ac34.js} +28 -1
- package/hooks/useBodyScroll.js +16 -0
- package/hooks/useClick.js +18 -0
- package/{useClickOutside-5183e396.js → hooks/useClickOutside.js} +1 -1
- package/hooks/useDebounceHook.js +16 -0
- package/{useDeviceType-dd51db38.js → hooks/useDeviceType.js} +4 -3
- package/hooks/useDidMount.js +15 -0
- package/{useEllipsisDetection-ef536015.js → hooks/useEllipsisDetection.js} +1 -1
- package/hooks/useForceUpdate.js +8 -0
- package/hooks/useImgDownload.js +18 -0
- package/{useKeyDown-38102ae7.js → hooks/useKeyDown.js} +1 -1
- package/hooks/useMount.js +13 -0
- package/hooks/useMutationObserver.js +21 -0
- package/hooks/usePrevious.js +10 -0
- package/hooks/useThrottle.js +16 -0
- package/hooks/useToggle.js +11 -0
- package/hooks/useUpdatableRef.js +14 -0
- package/hooks/useUpdate.js +10 -0
- package/{useWidth-9f4647f8.js → hooks/useWidth.js} +2 -2
- package/{useWindowSize-80369d76.js → hooks/useWindowSize.js} +1 -1
- package/{index-8c98317a.js → index-11eea761.js} +678 -752
- package/index-2ad83e03.js +4 -0
- package/index-34e47647.js +10054 -0
- package/index-45eafea6.js +90 -0
- package/{index-5e96cb4d.js → index-462461c0.js} +50 -48
- package/{index-ac59cb10.js → index-a0e4e333.js} +6 -6
- package/{index-e8776f3d.js → index-b1e429a7.js} +1 -1
- package/index.d.ts +115 -0
- package/index.js +137 -113
- package/index.mobile.d.ts +16 -0
- package/lib/atoms/Avatar/Avatar.d.ts +34 -0
- package/lib/atoms/Avatar/index.d.ts +1 -0
- package/lib/atoms/LinkButton/LinkButton.d.ts +46 -0
- package/lib/atoms/LinkButton/index.d.ts +1 -0
- package/{objectWithoutPropertiesLoose-299691d8.js → objectWithoutPropertiesLoose-d8a4a68c.js} +12 -12
- package/package.json +42 -22
- package/{rangeAndSlider-20599da4.js → rangeAndSlider-0301a458.js} +220 -375
- package/{react-beautiful-dnd.esm-38c37304.js → react-beautiful-dnd.esm-04c14563.js} +9 -9
- package/react-lifecycles-compat.es-6e1f3768.js +158 -0
- package/Alert.js +0 -98
- package/Avatar.js +0 -77
- package/Badge.js +0 -76
- package/BusyLoader.js +0 -69
- package/Button.js +0 -130
- package/Charts.js +0 -99
- package/ComboBox.js +0 -99
- package/Counter.js +0 -99
- package/DatePickerInput.js +0 -30
- package/Dropdown.js +0 -99
- package/Form.js +0 -116
- package/FormableCheckbox.js +0 -27
- package/FormableDatePicker.js +0 -39
- package/FormableDropdown.js +0 -105
- package/FormableEditor.js +0 -24
- package/FormableMultiSelectDropdown.js +0 -105
- package/FormableNumberInput.js +0 -31
- package/FormableRadio.js +0 -23
- package/FormableSwitcher.js +0 -23
- package/FormableTextInput.js +0 -31
- package/FormableUploader.js +0 -40
- package/GeneUIProvider.js +0 -256
- package/Holder.js +0 -99
- package/Image.js +0 -130
- package/ImagePreview.js +0 -99
- package/Label.js +0 -58
- package/LinkButton.js +0 -104
- package/MobileNavigation.js +0 -95
- package/ModuleTitle.js +0 -99
- package/Notification.js +0 -120
- package/Option.js +0 -186
- package/Overlay.js +0 -99
- package/Overspread.js +0 -343
- package/Paper.js +0 -97
- package/Popover.js +0 -20
- package/PopoverV2.js +0 -19
- package/Profile.js +0 -99
- package/Progress.js +0 -200
- package/Range.js +0 -14
- package/RichEditor.js +0 -13
- package/SearchWithDropdown.js +0 -195
- package/Section.js +0 -62
- package/Status.js +0 -104
- package/Steps.js +0 -312
- package/SuggestionList.js +0 -15
- package/Table.js +0 -102
- package/Tabs.js +0 -236
- package/Tag.js +0 -103
- package/TimePicker.js +0 -99
- package/Timeline.js +0 -114
- package/Title.js +0 -66
- package/Uploader.js +0 -32
- package/ValidatableDropdown.js +0 -99
- package/ValidatableElements.js +0 -99
- package/ValidatableMultiSelectDropdown.js +0 -99
- package/Widget.js +0 -99
- package/globalStyling-9c60a159.js +0 -4
- package/index-2030e31c.js +0 -4
- package/index-b7a33c58.js +0 -11
- package/index-e0af0caf.js +0 -1182
- package/useMount-6fef51a5.js +0 -9
|
@@ -1,107 +1,35 @@
|
|
|
1
|
-
import { _ as _extends } from '
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
|
|
2
2
|
import React__default, { useRef, useState, useMemo, useCallback, useEffect, forwardRef, useImperativeHandle } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { P as PublicDraggable, C as ConnectedDroppable, D as DragDropContext } from '
|
|
5
|
-
import '
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import '
|
|
10
|
-
import
|
|
11
|
-
import '
|
|
12
|
-
import
|
|
13
|
-
import '
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import './Avatar.js';
|
|
19
|
-
import './Badge.js';
|
|
20
|
-
import BusyLoader from './BusyLoader.js';
|
|
21
|
-
import './index-9164a86d.js';
|
|
22
|
-
import './SkeletonLoader.js';
|
|
23
|
-
import './Time.js';
|
|
24
|
-
import Empty from './Empty.js';
|
|
25
|
-
import './index-084588e9.js';
|
|
26
|
-
import './index-5e96cb4d.js';
|
|
27
|
-
import './Title.js';
|
|
28
|
-
import './Image.js';
|
|
29
|
-
import './KeyValue.js';
|
|
30
|
-
import './Option.js';
|
|
31
|
-
import './QRCode.js';
|
|
32
|
-
import './Grid.js';
|
|
33
|
-
import './Tabs.js';
|
|
34
|
-
import './Steps.js';
|
|
35
|
-
import './Timeline.js';
|
|
36
|
-
import './RadioGroup.js';
|
|
37
|
-
import Checkbox from './Checkbox.js';
|
|
38
|
-
import './Card.js';
|
|
39
|
-
import './Tag.js';
|
|
40
|
-
import './Alert.js';
|
|
41
|
-
import Tooltip from './Tooltip.js';
|
|
42
|
-
import './index-00fe8887.js';
|
|
43
|
-
import './Slider.js';
|
|
44
|
-
import './Pagination.js';
|
|
45
|
-
import ExtendedInput from './ExtendedInput.js';
|
|
46
|
-
import './Editor.js';
|
|
47
|
-
import './ValidatableUploader.js';
|
|
48
|
-
import './ValidatableRadio.js';
|
|
49
|
-
import './ValidatableCheckbox.js';
|
|
50
|
-
import './ValidatableSwitcher.js';
|
|
51
|
-
import './ValidatableNumberInput.js';
|
|
52
|
-
import './ValidatableTextInput.js';
|
|
53
|
-
import './ValidatableDatePicker.js';
|
|
54
|
-
import './Notification.js';
|
|
55
|
-
import './Modal.js';
|
|
56
|
-
import './Collapse.js';
|
|
57
|
-
import './Status.js';
|
|
58
|
-
import './Menu.js';
|
|
59
|
-
import './Progress.js';
|
|
60
|
-
import './MobileNavigation.js';
|
|
61
|
-
import './MobilePopup.js';
|
|
62
|
-
import './index-135b9d17.js';
|
|
63
|
-
import './Products.js';
|
|
64
|
-
import './Search.js';
|
|
65
|
-
import './index-0199942c.js';
|
|
66
|
-
import './Breadcrumb.js';
|
|
67
|
-
import './Section.js';
|
|
68
|
-
import './ColorPicker.js';
|
|
69
|
-
import './NavigationMenu.js';
|
|
70
|
-
import './Textarea.js';
|
|
71
|
-
import './AdvancedSearch.js';
|
|
72
|
-
import { c as commonjsGlobal } from './_commonjsHelpers-24198af3.js';
|
|
73
|
-
import './objectWithoutPropertiesLoose-299691d8.js';
|
|
74
|
-
import './index-e8776f3d.js';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { P as PublicDraggable, C as ConnectedDroppable, D as DragDropContext } from '../react-beautiful-dnd.esm-04c14563.js';
|
|
5
|
+
import { n as noop } from '../index-a0e4e333.js';
|
|
6
|
+
import Icon from '../Icon/index.js';
|
|
7
|
+
import Empty from '../Empty/index.js';
|
|
8
|
+
import BusyLoader from '../BusyLoader/index.js';
|
|
9
|
+
import CustomScrollbar from '../Scrollbar/index.js';
|
|
10
|
+
import Checkbox from '../Checkbox/index.js';
|
|
11
|
+
import ExtendedInput from '../ExtendedInput/index.js';
|
|
12
|
+
import Tooltip from '../Tooltip/index.js';
|
|
13
|
+
import { c as commonjsGlobal } from '../_commonjsHelpers-24198af3.js';
|
|
14
|
+
import Button from '../Button/index.js';
|
|
15
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
16
|
+
import '../objectWithoutPropertiesLoose-d8a4a68c.js';
|
|
17
|
+
import '../index-b1e429a7.js';
|
|
75
18
|
import 'react-dom';
|
|
76
|
-
import '
|
|
77
|
-
import '
|
|
78
|
-
import '
|
|
79
|
-
import '
|
|
80
|
-
import '
|
|
81
|
-
import '
|
|
82
|
-
import '
|
|
83
|
-
import '
|
|
84
|
-
import '
|
|
85
|
-
import '
|
|
86
|
-
import '
|
|
87
|
-
import '
|
|
88
|
-
import '
|
|
89
|
-
import '
|
|
90
|
-
import './useClickOutside-5183e396.js';
|
|
91
|
-
import './index-897d8240.js';
|
|
92
|
-
import './index-2030e31c.js';
|
|
93
|
-
import './index-b7a33c58.js';
|
|
94
|
-
import './localization-4ba17032.js';
|
|
95
|
-
import './Popover-f4d1cac0.js';
|
|
96
|
-
import './index-122432cd.js';
|
|
97
|
-
import './debounce-4419bc2f.js';
|
|
98
|
-
import './useWidth-9f4647f8.js';
|
|
99
|
-
import './checkTimeValidation-e56771be.js';
|
|
100
|
-
import './DatePicker.js';
|
|
101
|
-
import './LinkButton.js';
|
|
102
|
-
|
|
103
|
-
var css_248z = "[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list{display:flex;flex-direction:column;height:100%}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-header{margin:16px 0}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-title{align-items:center;border-bottom:1px solid rgba(var(--background-sc-rgb),.1);display:flex;font:600 1.4rem/1.8rem var(--font-family);height:5.1rem;justify-content:space-between;padding:0 2rem}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-title h5{color:var(--hero)}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-title span{color:rgba(var(--background-sc-rgb),.5)}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-search-box{align-items:center;display:flex;padding:16px}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-mark-all{padding:0 32px}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-body{height:100%;padding:0 16px}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content{align-items:center;background-color:var(--background);border:1px solid rgba(var(--background-sc-rgb),.1);border-radius:8px;display:flex;margin-bottom:1.5rem;padding:0 8px}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content .gene-actionable-list-row-content-body{align-items:center;display:flex;flex:1;height:100%}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content .gene-actionable-list-row-content-body>span{line-height:40px;margin-left:8px;width:100%}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content .gene-actionable-list-row-content-body>span>span.highlight{background:rgba(var(--hero-rgb),.15);color:var(--hero)}[data-gene-ui-version=\"1.0.0\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-children{margin-left:34px}";
|
|
104
|
-
styleInject(css_248z);
|
|
19
|
+
import '../dateValidation-67caec66.js';
|
|
20
|
+
import '../index-6ff23041.js';
|
|
21
|
+
import '../configs-fed6ac34.js';
|
|
22
|
+
import '../checkboxRadioSwitcher-5b69d7bd.js';
|
|
23
|
+
import '../guid-8ddf77b3.js';
|
|
24
|
+
import '../Popover-f4d1cac0.js';
|
|
25
|
+
import '../hooks/useDeviceType.js';
|
|
26
|
+
import '../hooks/useWindowSize.js';
|
|
27
|
+
import '../GeneUIProvider/index.js';
|
|
28
|
+
import '../hooks/useEllipsisDetection.js';
|
|
29
|
+
import '../SuggestionList/index.js';
|
|
30
|
+
import '../hooks/useKeyDown.js';
|
|
31
|
+
import '../hooks/useClickOutside.js';
|
|
32
|
+
import '../config-0ca92874.js';
|
|
105
33
|
|
|
106
34
|
// @TODO think about internalization give possibilities to
|
|
107
35
|
// pass tooltip texts via props refactor code duplications
|
|
@@ -1105,6 +1033,9 @@ function isEmpty(value) {
|
|
|
1105
1033
|
|
|
1106
1034
|
var isEmpty_1 = isEmpty;
|
|
1107
1035
|
|
|
1036
|
+
var css_248z = "[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list{display:flex;flex-direction:column;height:100%}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-header{margin:16px 0}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-title{align-items:center;border-bottom:1px solid rgba(var(--background-sc-rgb),.1);display:flex;font:600 1.4rem/1.8rem var(--font-family);height:5.1rem;justify-content:space-between;padding:0 2rem}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-title h5{color:var(--hero)}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-title span{color:rgba(var(--background-sc-rgb),.5)}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-search-box{align-items:center;display:flex;padding:16px}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-header .gene-actionable-list-header-mark-all{padding:0 32px}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-body{height:100%;padding:0 16px}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content{align-items:center;background-color:var(--background);border:1px solid rgba(var(--background-sc-rgb),.1);border-radius:8px;display:flex;margin-bottom:1.5rem;padding:0 8px}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content .gene-actionable-list-row-content-body{align-items:center;display:flex;flex:1;height:100%}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content .gene-actionable-list-row-content-body>span{line-height:40px;margin-left:8px;width:100%}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-content .gene-actionable-list-row-content-body>span>span.highlight{background:rgba(var(--hero-rgb),.15);color:var(--hero)}[data-gene-ui-version=\"2.12.2\"] .gene-actionable-list .gene-actionable-list-body .gene-actionable-list-row-children{margin-left:34px}";
|
|
1037
|
+
styleInject(css_248z);
|
|
1038
|
+
|
|
1108
1039
|
function RowContent(_ref) {
|
|
1109
1040
|
let {
|
|
1110
1041
|
label,
|
|
@@ -1157,17 +1088,17 @@ function RowContent(_ref) {
|
|
|
1157
1088
|
}));
|
|
1158
1089
|
}
|
|
1159
1090
|
RowContent.propTypes = {
|
|
1160
|
-
label:
|
|
1161
|
-
highlightedLabel:
|
|
1162
|
-
isChecked:
|
|
1163
|
-
isPermanent:
|
|
1164
|
-
isOpened:
|
|
1165
|
-
hasChildren:
|
|
1166
|
-
onArrowBtnClick:
|
|
1167
|
-
onCheckboxClick:
|
|
1168
|
-
isDraggable:
|
|
1169
|
-
isSelectable:
|
|
1170
|
-
tooltipProps:
|
|
1091
|
+
label: PropTypes.string,
|
|
1092
|
+
highlightedLabel: PropTypes.node,
|
|
1093
|
+
isChecked: PropTypes.bool,
|
|
1094
|
+
isPermanent: PropTypes.bool,
|
|
1095
|
+
isOpened: PropTypes.bool,
|
|
1096
|
+
hasChildren: PropTypes.bool,
|
|
1097
|
+
onArrowBtnClick: PropTypes.func,
|
|
1098
|
+
onCheckboxClick: PropTypes.func,
|
|
1099
|
+
isDraggable: PropTypes.bool,
|
|
1100
|
+
isSelectable: PropTypes.bool,
|
|
1101
|
+
tooltipProps: PropTypes.shape({
|
|
1171
1102
|
...Tooltip.propTypes
|
|
1172
1103
|
})
|
|
1173
1104
|
};
|
|
@@ -1251,18 +1182,18 @@ function Row(props) {
|
|
|
1251
1182
|
}))), provided.placeholder))));
|
|
1252
1183
|
}
|
|
1253
1184
|
Row.propTypes = {
|
|
1254
|
-
label:
|
|
1255
|
-
id:
|
|
1256
|
-
isChecked:
|
|
1257
|
-
isVisible:
|
|
1258
|
-
isPermanent:
|
|
1259
|
-
positionIndex:
|
|
1260
|
-
parentId:
|
|
1261
|
-
childrenList:
|
|
1262
|
-
isOpen:
|
|
1263
|
-
isDraggable:
|
|
1264
|
-
isSelectable:
|
|
1265
|
-
onRowSelectHandler:
|
|
1185
|
+
label: PropTypes.string,
|
|
1186
|
+
id: PropTypes.string,
|
|
1187
|
+
isChecked: PropTypes.oneOf([true, false, null]),
|
|
1188
|
+
isVisible: PropTypes.bool,
|
|
1189
|
+
isPermanent: PropTypes.bool,
|
|
1190
|
+
positionIndex: PropTypes.number,
|
|
1191
|
+
parentId: PropTypes.string,
|
|
1192
|
+
childrenList: PropTypes.array,
|
|
1193
|
+
isOpen: PropTypes.bool,
|
|
1194
|
+
isDraggable: PropTypes.bool,
|
|
1195
|
+
isSelectable: PropTypes.bool,
|
|
1196
|
+
onRowSelectHandler: PropTypes.func
|
|
1266
1197
|
};
|
|
1267
1198
|
Row.defaultProps = {
|
|
1268
1199
|
isChecked: false,
|
|
@@ -1655,86 +1586,86 @@ ActionableList.propTypes = {
|
|
|
1655
1586
|
/**
|
|
1656
1587
|
* Execute an callback on Reorder event with already reordered data
|
|
1657
1588
|
*/
|
|
1658
|
-
onChange:
|
|
1589
|
+
onChange: PropTypes.func,
|
|
1659
1590
|
// @TODO map and remove component props for list objects and return cloned list back
|
|
1660
1591
|
/**
|
|
1661
1592
|
* Data list of objects. This list is dynamic and has listener inside of the component you can change the data list and its objects runtime
|
|
1662
1593
|
*/
|
|
1663
|
-
data:
|
|
1664
|
-
label:
|
|
1665
|
-
id:
|
|
1666
|
-
isChecked:
|
|
1667
|
-
isVisible:
|
|
1668
|
-
isPermanent:
|
|
1669
|
-
positionIndex:
|
|
1670
|
-
parentId:
|
|
1671
|
-
childrenList:
|
|
1672
|
-
isOpen:
|
|
1594
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
1595
|
+
label: PropTypes.string,
|
|
1596
|
+
id: PropTypes.string,
|
|
1597
|
+
isChecked: PropTypes.bool,
|
|
1598
|
+
isVisible: PropTypes.bool,
|
|
1599
|
+
isPermanent: PropTypes.bool,
|
|
1600
|
+
positionIndex: PropTypes.number,
|
|
1601
|
+
parentId: PropTypes.string,
|
|
1602
|
+
childrenList: PropTypes.array,
|
|
1603
|
+
isOpen: PropTypes.bool
|
|
1673
1604
|
})),
|
|
1674
1605
|
/**
|
|
1675
1606
|
* Represent loader state in case of true will be shown spinner and loading text
|
|
1676
1607
|
*/
|
|
1677
|
-
isLoading:
|
|
1608
|
+
isLoading: PropTypes.bool,
|
|
1678
1609
|
/**
|
|
1679
1610
|
* Turn on search logic and show search input element on the top of component
|
|
1680
1611
|
*/
|
|
1681
|
-
withSearch:
|
|
1612
|
+
withSearch: PropTypes.bool,
|
|
1682
1613
|
/**
|
|
1683
1614
|
* Turn on search highlighting function
|
|
1684
1615
|
*/
|
|
1685
|
-
withSearchHighlighting:
|
|
1616
|
+
withSearchHighlighting: PropTypes.bool,
|
|
1686
1617
|
/**
|
|
1687
1618
|
* Not supported yet will provided on next version
|
|
1688
1619
|
*/
|
|
1689
|
-
withSelection:
|
|
1620
|
+
withSelection: PropTypes.bool,
|
|
1690
1621
|
/**
|
|
1691
1622
|
* Turn on drag and drop reordering function on multilevel scopes
|
|
1692
1623
|
*/
|
|
1693
|
-
withSortable:
|
|
1624
|
+
withSortable: PropTypes.bool,
|
|
1694
1625
|
/**
|
|
1695
1626
|
* Not supported yet will provided on next version
|
|
1696
1627
|
*/
|
|
1697
|
-
readOnly:
|
|
1628
|
+
readOnly: PropTypes.bool,
|
|
1698
1629
|
/**
|
|
1699
1630
|
* Placeholder text for search input to cover localization support
|
|
1700
1631
|
*/
|
|
1701
|
-
searchPlaceholderText:
|
|
1632
|
+
searchPlaceholderText: PropTypes.string,
|
|
1702
1633
|
/**
|
|
1703
1634
|
* Empty data text to cover localization support
|
|
1704
1635
|
*/
|
|
1705
|
-
emptyDataText:
|
|
1636
|
+
emptyDataText: PropTypes.string,
|
|
1706
1637
|
/**
|
|
1707
1638
|
* Empty search result text to cover localization support
|
|
1708
1639
|
*/
|
|
1709
|
-
emptySearchText:
|
|
1640
|
+
emptySearchText: PropTypes.string,
|
|
1710
1641
|
/**
|
|
1711
1642
|
* Title text to cover localization support
|
|
1712
1643
|
*/
|
|
1713
|
-
titleText:
|
|
1644
|
+
titleText: PropTypes.string,
|
|
1714
1645
|
/**
|
|
1715
1646
|
* Not supported yet will provided on next version
|
|
1716
1647
|
*/
|
|
1717
|
-
selectionText:
|
|
1648
|
+
selectionText: PropTypes.string,
|
|
1718
1649
|
/**
|
|
1719
1650
|
* Filtered nodes count text to cover localization support
|
|
1720
1651
|
*/
|
|
1721
|
-
filteredNodesText:
|
|
1652
|
+
filteredNodesText: PropTypes.string,
|
|
1722
1653
|
/**
|
|
1723
1654
|
* Total leaf nodes count text to cover localization support
|
|
1724
1655
|
*/
|
|
1725
|
-
totalNodesText:
|
|
1656
|
+
totalNodesText: PropTypes.string,
|
|
1726
1657
|
/**
|
|
1727
1658
|
* Text for loading state to cover localization support
|
|
1728
1659
|
*/
|
|
1729
|
-
loadingText:
|
|
1660
|
+
loadingText: PropTypes.string,
|
|
1730
1661
|
/**
|
|
1731
1662
|
* Not supported yet will provided on next version
|
|
1732
1663
|
*/
|
|
1733
|
-
selectAllLabelText:
|
|
1664
|
+
selectAllLabelText: PropTypes.string,
|
|
1734
1665
|
/**
|
|
1735
1666
|
* Search method can be one of [startsWith, endsWith, like]
|
|
1736
1667
|
*/
|
|
1737
|
-
searchMethod:
|
|
1668
|
+
searchMethod: PropTypes.oneOf(Object.keys(searchMethods))
|
|
1738
1669
|
};
|
|
1739
1670
|
ActionableList.defaultProps = {
|
|
1740
1671
|
onChange: noop,
|