@sis-cc/dotstatsuite-visions 6.5.2 → 6.6.0
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/es/Alert/Alert.js +66 -135
- package/es/Alert/index.js +0 -1
- package/es/ApiQueries/ApiQueries.js +45 -79
- package/es/ApiQueries/Query.js +65 -105
- package/es/ApiQueries/index.js +0 -1
- package/es/AuthDialog/index.js +62 -103
- package/es/Breadcrumbs/Breadcrumbs.js +21 -38
- package/es/Breadcrumbs/index.js +0 -1
- package/es/Button/Button.js +11 -28
- package/es/Button/index.js +0 -1
- package/es/ChartsConfig/Axis.js +72 -76
- package/es/ChartsConfig/ButtonGroup.js +29 -51
- package/es/ChartsConfig/ChartsConfig.js +87 -187
- package/es/ChartsConfig/ContainerTitle.js +15 -36
- package/es/ChartsConfig/Focus.js +37 -48
- package/es/ChartsConfig/Frequency.js +24 -36
- package/es/ChartsConfig/Series.js +28 -43
- package/es/ChartsConfig/Size.js +36 -50
- package/es/ChartsConfig/index.js +0 -1
- package/es/ChartsConfig/styles.js +4 -4
- package/es/ChartsConfig/utils.js +1 -5
- package/es/Chips/Chips.js +99 -154
- package/es/Chips/index.js +0 -1
- package/es/CollapseButtons/CollapseButtons.js +61 -101
- package/es/CollapseButtons/Item.js +45 -70
- package/es/CollapseButtons/Paper.js +7 -21
- package/es/CollapseButtons/index.js +0 -1
- package/es/DataEdit/DataEdit.js +67 -124
- package/es/DataEdit/Input.js +27 -58
- package/es/DataEdit/index.js +0 -1
- package/es/DataFooter/DataFooter.js +68 -115
- package/es/DataFooter/index.js +0 -1
- package/es/DataHeader/DataHeader.js +75 -113
- package/es/DataHeader/Flags.js +8 -21
- package/es/DataHeader/Title.js +2 -15
- package/es/DataHeader/TooltipHeader.js +33 -63
- package/es/DataHeader/index.js +0 -1
- package/es/DataHeader/utils.js +8 -8
- package/es/Dataflow/Dataflow.js +132 -226
- package/es/Dataflow/index.js +0 -1
- package/es/ExpansionPanel/ExpansionPanel.js +42 -79
- package/es/ExpansionPanel/index.js +0 -1
- package/es/ExpansionPanel/styles.js +3 -5
- package/es/Icons/AccessibilityFilled.js +6 -8
- package/es/Icons/AccessibilityOutlined.js +6 -8
- package/es/Icons/AccountFilled.js +6 -8
- package/es/Icons/AccountOutlined.js +6 -8
- package/es/Icons/Api.js +6 -8
- package/es/Icons/Asterisk.js +6 -8
- package/es/Icons/Bar.js +6 -8
- package/es/Icons/CopyContent.js +6 -8
- package/es/Icons/Cross.js +6 -8
- package/es/Icons/HSymbol.js +6 -8
- package/es/Icons/Row.js +6 -8
- package/es/Icons/Scatter.js +6 -8
- package/es/Icons/StackedBar.js +6 -8
- package/es/Icons/StackedRow.js +6 -8
- package/es/Icons/Timeline.js +6 -8
- package/es/Icons/VSymbol.js +6 -8
- package/es/Icons/Warning.js +11 -14
- package/es/Icons/index.js +0 -1
- package/es/Input/Input.js +26 -56
- package/es/Input/index.js +0 -1
- package/es/Input/with-input.js +30 -25
- package/es/InputNumber/InputNumber.js +31 -51
- package/es/InputNumber/index.js +0 -1
- package/es/LabelDivider/LabelDivider.js +7 -18
- package/es/LabelDivider/index.js +0 -1
- package/es/Loading/Loading.js +9 -18
- package/es/Loading/index.js +0 -1
- package/es/Logo/Logo.js +11 -17
- package/es/Logo/index.js +0 -1
- package/es/NoData/NoData.js +17 -25
- package/es/NoData/index.js +0 -1
- package/es/Pagination/Pagination.js +70 -114
- package/es/Pagination/index.js +0 -1
- package/es/PeriodPicker/PeriodPicker.js +101 -124
- package/es/PeriodPicker/constants.js +78 -13
- package/es/PeriodPicker/index.js +0 -1
- package/es/PeriodPicker/lib.js +37 -23
- package/es/PeriodPicker/styles.js +0 -1
- package/es/ScopeList/Header.js +41 -60
- package/es/ScopeList/Item.js +98 -144
- package/es/ScopeList/ScopeList.js +132 -184
- package/es/ScopeList/Selection.js +51 -93
- package/es/ScopeList/index.js +0 -1
- package/es/ScopeList/styles.js +2 -3
- package/es/ScopeList/with-scope-list.js +151 -88
- package/es/Select/Select.js +44 -60
- package/es/Select/index.js +0 -1
- package/es/Share/Form.js +58 -88
- package/es/Share/Mode.js +30 -46
- package/es/Share/Share.js +41 -64
- package/es/Share/index.js +0 -1
- package/es/SisccFooter/SisccFooter.js +29 -36
- package/es/SisccFooter/index.js +0 -1
- package/es/Spotlight/Fields.js +37 -71
- package/es/Spotlight/Spotlight.js +51 -92
- package/es/Spotlight/index.js +0 -1
- package/es/Spotlight/useSpotlight.js +33 -13
- package/es/Spotlight/useStyles.js +2 -4
- package/es/Table/Table.js +50 -71
- package/es/Table/header.js +36 -50
- package/es/Table/index.js +0 -1
- package/es/Table/itemCell.js +13 -25
- package/es/Table/row-header.js +31 -50
- package/es/Table/section-header.js +30 -55
- package/es/Table/section-rows.js +38 -62
- package/es/Table/styles.js +2 -8
- package/es/Table/tableCell.js +7 -17
- package/es/Table/tooltip.js +21 -41
- package/es/Table/useStyles.js +2 -3
- package/es/Table/valueCell.js +26 -41
- package/es/TableFooter/TableFooter.js +42 -70
- package/es/TableFooter/index.js +0 -1
- package/es/TableHeader/TableHeader.js +18 -36
- package/es/TableHeader/index.js +0 -1
- package/es/TableHtml5/TableHtml5.js +71 -68
- package/es/TableHtml5/cell.js +35 -55
- package/es/TableHtml5/flags.js +29 -58
- package/es/TableHtml5/header.js +48 -66
- package/es/TableHtml5/index.js +0 -1
- package/es/TableHtml5/section.js +86 -120
- package/es/TableHtml5/sectionHeader.js +45 -72
- package/es/TableHtml5/subHeader.js +48 -58
- package/es/TableLayout/Box.js +33 -66
- package/es/TableLayout/DnDItem.js +37 -68
- package/es/TableLayout/TableLayout.js +105 -177
- package/es/TableLayout/constants.js +0 -2
- package/es/TableLayout/index.js +0 -1
- package/es/TableLayout/lib.js +1 -3
- package/es/TablePreview/TablePreview.js +99 -176
- package/es/TablePreview/index.js +0 -1
- package/es/TablePreview/lib.js +5 -4
- package/es/TablePreview/styles.js +0 -1
- package/es/Tag/Tag.js +5 -21
- package/es/Tag/index.js +0 -1
- package/es/ToggleButton/ToggleButton.js +17 -29
- package/es/ToggleButton/index.js +0 -1
- package/es/Tooltip/Tooltip.js +20 -32
- package/es/Tooltip/index.js +0 -1
- package/es/VerticalButton/VerticalButton.js +17 -22
- package/es/VerticalButton/index.js +0 -1
- package/es/index.js +2 -4
- package/es/theme.js +22 -14
- package/es/utils.js +16 -14
- package/lib/Alert/Alert.js +87 -168
- package/lib/Alert/index.js +7 -12
- package/lib/ApiQueries/ApiQueries.js +61 -105
- package/lib/ApiQueries/Query.js +85 -132
- package/lib/ApiQueries/index.js +7 -12
- package/lib/AuthDialog/index.js +82 -137
- package/lib/Breadcrumbs/Breadcrumbs.js +39 -68
- package/lib/Breadcrumbs/index.js +7 -12
- package/lib/Button/Button.js +28 -47
- package/lib/Button/index.js +7 -12
- package/lib/ChartsConfig/Axis.js +88 -100
- package/lib/ChartsConfig/ButtonGroup.js +43 -74
- package/lib/ChartsConfig/ChartsConfig.js +113 -236
- package/lib/ChartsConfig/ContainerTitle.js +30 -59
- package/lib/ChartsConfig/Focus.js +53 -71
- package/lib/ChartsConfig/Frequency.js +39 -59
- package/lib/ChartsConfig/Series.js +45 -70
- package/lib/ChartsConfig/Size.js +53 -77
- package/lib/ChartsConfig/index.js +7 -12
- package/lib/ChartsConfig/styles.js +16 -11
- package/lib/ChartsConfig/utils.js +14 -13
- package/lib/Chips/Chips.js +122 -192
- package/lib/Chips/index.js +7 -12
- package/lib/CollapseButtons/CollapseButtons.js +84 -134
- package/lib/CollapseButtons/Item.js +64 -98
- package/lib/CollapseButtons/Paper.js +19 -41
- package/lib/CollapseButtons/index.js +7 -12
- package/lib/DataEdit/DataEdit.js +88 -156
- package/lib/DataEdit/Input.js +42 -82
- package/lib/DataEdit/index.js +7 -12
- package/lib/DataFooter/DataFooter.js +88 -144
- package/lib/DataFooter/index.js +7 -12
- package/lib/DataHeader/DataHeader.js +106 -158
- package/lib/DataHeader/Flags.js +18 -34
- package/lib/DataHeader/Title.js +11 -27
- package/lib/DataHeader/TooltipHeader.js +48 -79
- package/lib/DataHeader/index.js +7 -12
- package/lib/DataHeader/utils.js +16 -10
- package/lib/Dataflow/Dataflow.js +159 -277
- package/lib/Dataflow/index.js +7 -12
- package/lib/ExpansionPanel/ExpansionPanel.js +63 -116
- package/lib/ExpansionPanel/index.js +7 -12
- package/lib/ExpansionPanel/styles.js +15 -12
- package/lib/Icons/AccessibilityFilled.js +15 -17
- package/lib/Icons/AccessibilityOutlined.js +15 -17
- package/lib/Icons/AccountFilled.js +15 -17
- package/lib/Icons/AccountOutlined.js +15 -17
- package/lib/Icons/Api.js +15 -17
- package/lib/Icons/Asterisk.js +15 -17
- package/lib/Icons/Bar.js +15 -17
- package/lib/Icons/CopyContent.js +15 -17
- package/lib/Icons/Cross.js +15 -17
- package/lib/Icons/HSymbol.js +15 -17
- package/lib/Icons/Row.js +15 -17
- package/lib/Icons/Scatter.js +15 -17
- package/lib/Icons/StackedBar.js +15 -17
- package/lib/Icons/StackedRow.js +15 -17
- package/lib/Icons/Timeline.js +15 -17
- package/lib/Icons/VSymbol.js +15 -17
- package/lib/Icons/Warning.js +27 -31
- package/lib/Icons/index.js +68 -152
- package/lib/Input/Input.js +47 -85
- package/lib/Input/index.js +7 -12
- package/lib/Input/with-input.js +38 -35
- package/lib/InputNumber/InputNumber.js +50 -80
- package/lib/InputNumber/index.js +7 -12
- package/lib/LabelDivider/LabelDivider.js +23 -37
- package/lib/LabelDivider/index.js +7 -12
- package/lib/Loading/Loading.js +20 -35
- package/lib/Loading/index.js +7 -12
- package/lib/Logo/Logo.js +20 -28
- package/lib/Logo/index.js +7 -12
- package/lib/NoData/NoData.js +28 -42
- package/lib/NoData/index.js +7 -12
- package/lib/Pagination/Pagination.js +91 -150
- package/lib/Pagination/index.js +7 -12
- package/lib/PeriodPicker/PeriodPicker.js +121 -150
- package/lib/PeriodPicker/constants.js +126 -37
- package/lib/PeriodPicker/index.js +7 -12
- package/lib/PeriodPicker/lib.js +99 -61
- package/lib/PeriodPicker/styles.js +7 -4
- package/lib/ScopeList/Header.js +58 -88
- package/lib/ScopeList/Item.js +116 -177
- package/lib/ScopeList/ScopeList.js +160 -234
- package/lib/ScopeList/Selection.js +70 -131
- package/lib/ScopeList/index.js +7 -12
- package/lib/ScopeList/styles.js +10 -9
- package/lib/ScopeList/with-scope-list.js +199 -108
- package/lib/Select/Select.js +59 -80
- package/lib/Select/index.js +7 -12
- package/lib/Share/Form.js +77 -119
- package/lib/Share/Mode.js +49 -78
- package/lib/Share/Share.js +59 -91
- package/lib/Share/index.js +7 -12
- package/lib/SisccFooter/SisccFooter.js +44 -63
- package/lib/SisccFooter/index.js +7 -12
- package/lib/Spotlight/Fields.js +54 -100
- package/lib/Spotlight/Spotlight.js +75 -136
- package/lib/Spotlight/index.js +7 -12
- package/lib/Spotlight/useSpotlight.js +44 -20
- package/lib/Spotlight/useStyles.js +15 -12
- package/lib/Table/Table.js +69 -102
- package/lib/Table/header.js +51 -70
- package/lib/Table/index.js +7 -12
- package/lib/Table/itemCell.js +25 -41
- package/lib/Table/row-header.js +49 -75
- package/lib/Table/section-header.js +50 -82
- package/lib/Table/section-rows.js +60 -94
- package/lib/Table/styles.js +23 -25
- package/lib/Table/tableCell.js +19 -37
- package/lib/Table/tooltip.js +36 -54
- package/lib/Table/useStyles.js +11 -8
- package/lib/Table/valueCell.js +39 -59
- package/lib/TableFooter/TableFooter.js +57 -93
- package/lib/TableFooter/index.js +7 -12
- package/lib/TableHeader/TableHeader.js +32 -56
- package/lib/TableHeader/index.js +7 -12
- package/lib/TableHtml5/TableHtml5.js +90 -97
- package/lib/TableHtml5/cell.js +52 -84
- package/lib/TableHtml5/flags.js +48 -82
- package/lib/TableHtml5/header.js +66 -96
- package/lib/TableHtml5/index.js +8 -17
- package/lib/TableHtml5/section.js +111 -162
- package/lib/TableHtml5/sectionHeader.js +64 -102
- package/lib/TableHtml5/subHeader.js +68 -88
- package/lib/TableLayout/Box.js +54 -97
- package/lib/TableLayout/DnDItem.js +58 -98
- package/lib/TableLayout/TableLayout.js +140 -232
- package/lib/TableLayout/constants.js +8 -6
- package/lib/TableLayout/index.js +7 -12
- package/lib/TableLayout/lib.js +14 -9
- package/lib/TablePreview/TablePreview.js +118 -205
- package/lib/TablePreview/index.js +7 -12
- package/lib/TablePreview/lib.js +30 -19
- package/lib/TablePreview/styles.js +7 -6
- package/lib/Tag/Tag.js +19 -38
- package/lib/Tag/index.js +7 -12
- package/lib/ToggleButton/ToggleButton.js +33 -55
- package/lib/ToggleButton/index.js +7 -12
- package/lib/Tooltip/Tooltip.js +34 -50
- package/lib/Tooltip/index.js +7 -12
- package/lib/VerticalButton/VerticalButton.js +40 -46
- package/lib/VerticalButton/index.js +7 -12
- package/lib/index.js +137 -304
- package/lib/theme.js +31 -17
- package/lib/utils.js +46 -31
- package/package.json +2 -10
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M16 0.256c-8.672 0-15.744 7.072-15.744 15.744s7.072 15.744 15.744 15.744 15.744-7.072 15.744-15.744-7.072-15.744-15.744-15.744zM16 30.016c-7.744 0-13.984-6.272-13.984-14.016s6.24-14.016 13.984-14.016 14.016 6.272 14.016 14.016-6.272 14.016-14.016 14.016zM16 3.072c-7.072 0-12.928 5.728-12.928 12.928s5.728 12.928 12.928 12.928 12.928-5.728 12.928-12.928-5.856-12.928-12.928-12.928zM16 5.728c2.4 0 4.416 2.016 4.416 4.416s-2.016 4.384-4.416 4.384-4.384-1.984-4.384-4.384c0-2.4 1.984-4.416 4.384-4.416zM16 26.528c-3.584 0-6.944-1.856-8.8-4.672 0-2.912 5.856-4.512 8.8-4.512s8.672 1.6 8.8 4.512c-1.856 2.816-5.184 4.672-8.8 4.672z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M16 5.728c2.4 0 4.416 2.016 4.416 4.416s-2.016 4.384-4.416 4.384-4.384-1.984-4.384-4.384 1.984-4.416 4.384-4.416zM16 26.528c-3.584 0-6.944-1.856-8.8-4.672 0-2.912 5.856-4.512 8.8-4.512s8.672 1.6 8.8 4.512c-1.856 2.816-5.184 4.672-8.8 4.672zM16 0.256c-8.672 0-15.744 7.072-15.744 15.744s7.072 15.744 15.744 15.744 15.744-7.072 15.744-15.744-7.072-15.744-15.744-15.744zM16 30.016c-7.744 0-13.984-6.272-13.984-14.016s6.24-14.016 13.984-14.016 14.016 6.272 14.016 14.016-6.272 14.016-14.016 14.016z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Api.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M30.4 1.6h-28.8c-0.96 0-1.6 0.8-1.6 1.6v25.6c0 0.8 0.64 1.6 1.6 1.6h28.8c0.8 0 1.6-0.8 1.6-1.6v-25.6c0-0.8-0.8-1.6-1.6-1.6zM29.76 28.16h-27.52v-18.88h27.52v18.88zM4.16 23.36l4.64-9.92 0.16-0.16h0.16c0.16 0 0.16 0 0.16 0.16l4.64 9.92c0 0.16 0 0.48-0.16 0.48h-1.76c-0.16 0-0.48 0-0.64-0.48l-0.64-1.28h-4l-0.64 1.28c0 0.16-0.16 0.48-0.64 0.48h-1.12c-0.16 0-0.48-0.32-0.16-0.48zM10.080 20.16l-1.28-2.4-0.96 2.4h2.24zM15.36 13.76c0-0.16 0.16-0.16 0.16-0.16h3.68c1.76 0 3.2 1.44 3.2 3.2s-1.44 3.2-3.2 3.2h-1.6v3.36c0 0.16-0.16 0.16-0.16 0.16h-1.92c-0.16 0-0.16-0.16-0.16-0.16v-9.6zM19.040 17.92c0.64 0 1.28-0.48 1.28-1.28 0-0.64-0.64-0.96-1.28-0.96h-1.44v2.24h1.44zM24 13.76c0-0.16 0.16-0.16 0.16-0.16h1.76c0.16 0 0.16 0.16 0.16 0.16v9.76c0 0.16-0.16 0.16-0.16 0.16h-1.76c-0.16 0-0.16-0.16-0.16-0.16v-9.76z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Asterisk.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M29.92 24.096c-0.512 0.768-1.28 1.28-2.208 1.28-0.384 0-0.896-0.128-1.28-0.384l-7.776-4.512v8.928c0 1.44-1.152 2.592-2.592 2.592s-2.592-1.152-2.592-2.592v-8.928l-7.776 4.512c-0.384 0.256-0.896 0.384-1.28 0.384-0.928 0-1.824-0.512-2.208-1.28-0.768-1.28-0.256-2.848 0.896-3.488l7.776-4.544-7.776-4.544c-1.28-0.768-1.664-2.336-0.896-3.488s2.336-1.696 3.488-0.896l7.776 4.512v-9.056c0-1.44 1.184-2.592 2.592-2.592s2.592 1.152 2.592 2.592v8.928l7.776-4.512c1.28-0.8 2.848-0.288 3.488 0.896 0.8 1.28 0.256 2.848-0.896 3.488l-7.776 4.544 7.776 4.544c1.152 0.768 1.568 2.336 0.896 3.616z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Bar.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M9.152 16v9.152h-4.576v-9.152h4.576zM16 6.848v18.304h-4.576v-18.304h4.576zM34.272 27.424v2.304h-36.544v-27.456h2.272v25.152h34.272zM22.848 11.424v13.728h-4.576v-13.728h4.576zM29.728 4.576v20.576h-4.576v-20.576h4.576z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/CopyContent.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 24 24"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Cross.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M18.272 16l5.248-5.28c0.32-0.288 0.48-0.672 0.48-1.12 0-0.896-0.704-1.6-1.6-1.6-0.448 0-0.832 0.16-1.12 0.448l-5.28 5.28-5.248-5.28c-0.288-0.288-0.704-0.448-1.152-0.448-0.864 0-1.6 0.704-1.6 1.6 0 0.448 0.192 0.832 0.48 1.12l5.28 5.28-5.28 5.248c-0.288 0.288-0.48 0.704-0.48 1.152 0 0.864 0.736 1.6 1.6 1.6 0.448 0 0.864-0.192 1.152-0.48l5.248-5.28 5.28 5.28c0.288 0.288 0.672 0.48 1.12 0.48 0.896 0 1.6-0.736 1.6-1.6 0-0.448-0.16-0.864-0.448-1.152l-5.28-5.248z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/HSymbol.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M3.584 20.736c0 1.568 1.28 2.848 2.848 2.848s2.848-1.28 2.848-2.848c0-1.568-1.28-2.848-2.848-2.848s-2.848 1.28-2.848 2.848zM8.768 20.736c0 1.28-1.056 2.336-2.336 2.336-1.312 0-2.336-1.056-2.336-2.336s1.024-2.336 2.336-2.336c1.28 0 2.336 1.056 2.336 2.336zM23.392 17.888c1.568 0 2.848 1.28 2.848 2.848s-1.28 2.848-2.848 2.848-2.848-1.28-2.848-2.848c0-1.568 1.28-2.848 2.848-2.848zM34.272 27.424v2.304h-36.544v-27.456h2.272v25.152h34.272zM9.92 21.248v-0.96h9.728v0.96h-9.728zM12.992 14.24c0 1.568 1.28 2.848 2.848 2.848 1.6 0 2.88-1.28 2.88-2.848s-1.28-2.848-2.88-2.848c-1.568 0-2.848 1.28-2.848 2.848zM18.208 14.24c0 1.28-1.056 2.336-2.368 2.336-1.28 0-2.336-1.056-2.336-2.336 0-1.312 1.056-2.336 2.336-2.336 1.312 0 2.368 1.024 2.368 2.336zM28.96 11.392c1.6 0 2.848 1.28 2.848 2.848s-1.248 2.848-2.848 2.848-2.848-1.28-2.848-2.848c0-1.568 1.28-2.848 2.848-2.848zM19.36 14.752v-0.96h5.792v0.96h-5.792zM6.592 6.944c0 1.568 1.28 2.848 2.848 2.848s2.848-1.28 2.848-2.848c0-1.568-1.28-2.848-2.848-2.848s-2.848 1.28-2.848 2.848zM11.776 6.944c0 1.28-1.056 2.336-2.336 2.336s-2.336-1.056-2.336-2.336c0-1.28 1.056-2.336 2.336-2.336s2.336 1.056 2.336 2.336zM20 4.096c1.568 0 2.848 1.28 2.848 2.848s-1.28 2.848-2.848 2.848-2.848-1.28-2.848-2.848c0-1.568 1.248-2.848 2.848-2.848zM12.928 7.456v-0.96h3.264v0.96h-3.264z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Row.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M22.848 11.424h-18.304v-4.576h18.304v4.576zM34.272 27.424v2.304h-36.544v-27.456h2.272v25.152h34.272zM18.272 18.272h-13.728v-4.544h13.728v4.544zM25.12 25.152h-20.576v-4.576h20.576v4.576z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Scatter.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M25.728 11.008c0-1.568 1.28-2.848 2.848-2.848s2.848 1.28 2.848 2.848-1.28 2.848-2.848 2.848c-1.568 0-2.848-1.28-2.848-2.848zM34.272 27.424v2.304h-36.544v-27.456h2.272v25.152h34.272zM10.496 6.528c0-1.568 1.28-2.848 2.88-2.848 1.568 0 2.848 1.28 2.848 2.848s-1.28 2.848-2.848 2.848c-1.6 0-2.88-1.28-2.88-2.848zM4.032 20.096c0-1.6 1.28-2.848 2.848-2.848s2.848 1.248 2.848 2.848-1.28 2.848-2.848 2.848c-1.568 0-2.848-1.28-2.848-2.848zM18.56 16.384c0-1.568 1.28-2.848 2.848-2.848s2.848 1.28 2.848 2.848-1.28 2.848-2.848 2.848c-1.568 0-2.848-1.28-2.848-2.848z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/StackedBar.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M10.656 21.12v4.032h-6.080v-4.032h6.080zM10.656 12.416v7.52h-6.080v-7.52h6.080zM10.656 9.28v1.984h-6.080v-1.984h6.080zM34.272 27.424v2.304h-36.544v-27.456h2.272v25.152h34.272zM29.728 22.56v2.592h-6.080v-2.592h6.080zM29.728 15.36v6.176h-6.080v-6.176h6.080zM29.728 11.36v3.008h-6.080v-3.008h6.080zM20.192 17.952v7.2h-6.080v-7.2h6.080zM20.192 8.096v8.736h-6.080v-8.736h6.080zM20.192 2.272v4.416h-6.080v-4.416h6.080z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/StackedRow.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M13 6 4 6 4 11 13 11 13 6ZM15 20 4 20 4 25 15 25 15 20ZM24 20 16 20 16 25 24 25 24 20ZM27 20 25 20 25 25 27 25 27 20ZM21 6 14 6 14 11 21 11 21 6ZM25 6 22 6 22 11 25 11 25 6ZM18 13 4 13 4 18 18 18 18 13ZM28 13 19 13 19 18 28 18 28 13ZM34 13 29 13 29 18 34 18 34 13ZM34.3 27.4V29.7H-2.3V2.3H0V27.4H34.3Z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Timeline.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M34.272 27.424v2.304h-36.544v-27.456h2.272v25.152h34.272zM2.848 22.752l-1.344-1.568 8.288-7.072 1.344 1.6-8.288 7.040zM2.848 14.112l-1.344-1.568 8.288-7.040 1.344 1.568-8.288 7.040zM8.224 15.424l1.6-1.312 6.624 8.128-1.6 1.312-6.624-8.128zM8.224 6.784l1.6-1.312 14.144 17.376-1.6 1.312-14.144-17.376zM14.848 23.552l-1.344-1.6 18.336-15.264 1.344 1.6-18.336 15.264zM22.368 24.128l-1.344-1.6 10.72-8.896 1.312 1.568-10.688 8.928z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/VSymbol.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
5
|
-
|
|
6
4
|
export default (function (props) {
|
|
7
|
-
return React.createElement(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
5
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
6
|
+
viewBox: "0 0 32 38"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
d: "M28 25.44c1.6 0 2.848-1.28 2.848-2.848s-1.248-2.848-2.848-2.848c-1.568 0-2.848 1.28-2.848 2.848s1.28 2.848 2.848 2.848zM28 20.256c1.312 0 2.336 1.024 2.336 2.336 0 1.28-1.024 2.336-2.336 2.336-1.28 0-2.336-1.056-2.336-2.336 0-1.312 1.056-2.336 2.336-2.336zM25.152 5.6c0-1.568 1.28-2.848 2.848-2.848 1.6 0 2.848 1.28 2.848 2.848s-1.248 2.848-2.848 2.848c-1.568 0-2.848-1.28-2.848-2.848zM34.272 27.424v2.304h-36.544v-27.456h2.272v25.152h34.272zM28.512 19.072h-0.96v-9.728h0.96v9.728zM14.176 15.424c1.568 0 2.848-1.28 2.848-2.848s-1.28-2.848-2.848-2.848c-1.6 0-2.848 1.28-2.848 2.848s1.248 2.848 2.848 2.848zM14.176 10.24c1.28 0 2.336 1.056 2.336 2.336s-1.056 2.336-2.336 2.336c-1.312 0-2.336-1.056-2.336-2.336s1.024-2.336 2.336-2.336zM11.328 3.648c0-1.6 1.248-2.848 2.848-2.848 1.568 0 2.848 1.248 2.848 2.848s-1.28 2.848-2.848 2.848c-1.6 0-2.848-1.28-2.848-2.848zM14.688 8.8h-0.992v-1.344h0.992v1.344zM6.88 23.488c1.568 0 2.848-1.28 2.848-2.848s-1.28-2.848-2.848-2.848c-1.568 0-2.848 1.28-2.848 2.848s1.28 2.848 2.848 2.848zM6.88 18.304c1.28 0 2.336 1.024 2.336 2.336 0 1.28-1.056 2.336-2.336 2.336s-2.336-1.056-2.336-2.336c0-1.312 1.056-2.336 2.336-2.336zM4.032 10.080c0-1.568 1.28-2.848 2.848-2.848s2.848 1.28 2.848 2.848-1.28 2.848-2.848 2.848c-1.568 0-2.848-1.28-2.848-2.848zM7.392 17.12h-0.96v-3.232h0.96v3.232zM21.408 12.032c1.568 0 2.848-1.28 2.848-2.848s-1.28-2.848-2.848-2.848c-1.568 0-2.848 1.28-2.848 2.848s1.28 2.848 2.848 2.848zM21.408 6.848c1.28 0 2.336 1.056 2.336 2.336s-1.056 2.336-2.336 2.336c-1.28 0-2.336-1.056-2.336-2.336s1.056-2.336 2.336-2.336zM18.56 18.272c0-1.568 1.28-2.848 2.848-2.848s2.848 1.28 2.848 2.848-1.28 2.848-2.848 2.848c-1.568 0-2.848-1.248-2.848-2.848zM21.92 14.528h-0.96v-1.568h0.96v1.568z"
|
|
9
|
+
}));
|
|
12
10
|
});
|
package/es/Icons/Warning.js
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import * as R from 'ramda';
|
|
6
5
|
import SvgIcon from '@material-ui/core/SvgIcon';
|
|
7
|
-
|
|
8
6
|
var WarningIcon = React.forwardRef(function (props, ref) {
|
|
9
|
-
return React.createElement(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
8
|
+
ref: ref,
|
|
9
|
+
viewBox: "0 0 24 24"
|
|
10
|
+
}, R.omit(['pathBackgroundColor', 'pathColor'], props)), /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z",
|
|
12
|
+
fill: props.pathBackgroundColor || 'orange'
|
|
13
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M1 21zm12 -3h-2v-2h2v2zm0 -4h-2v-4h2v4z",
|
|
15
|
+
fill: props.pathColor || 'black'
|
|
16
|
+
}));
|
|
18
17
|
});
|
|
19
|
-
|
|
20
18
|
WarningIcon.propTypes = {
|
|
21
19
|
pathBackgroundColor: PropTypes.string,
|
|
22
20
|
pathColor: PropTypes.string
|
|
23
21
|
};
|
|
24
|
-
|
|
25
22
|
export default WarningIcon;
|
package/es/Icons/index.js
CHANGED
package/es/Input/Input.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import React from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
3
|
import * as R from 'ramda';
|
|
6
4
|
import cx from 'classnames';
|
|
7
5
|
import { makeStyles } from '@material-ui/core/styles';
|
|
@@ -10,7 +8,6 @@ import InputAdornment from '@material-ui/core/InputAdornment';
|
|
|
10
8
|
import IconButton from '@material-ui/core/IconButton';
|
|
11
9
|
import Done from '@material-ui/icons/Done';
|
|
12
10
|
import { withInput } from './with-input';
|
|
13
|
-
|
|
14
11
|
var useStyles = makeStyles(function () {
|
|
15
12
|
return {
|
|
16
13
|
visibility: {
|
|
@@ -21,32 +18,21 @@ var useStyles = makeStyles(function () {
|
|
|
21
18
|
|
|
22
19
|
var LefttIcon = function LefttIcon(_ref) {
|
|
23
20
|
var Icon = _ref.Icon;
|
|
24
|
-
return React.createElement(Icon, null);
|
|
21
|
+
return /*#__PURE__*/React.createElement(Icon, null);
|
|
25
22
|
};
|
|
26
23
|
|
|
27
|
-
LefttIcon.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
28
|
-
Icon: PropTypes.object
|
|
29
|
-
} : {};
|
|
30
|
-
|
|
31
24
|
var RightIcon = function RightIcon(_ref2) {
|
|
32
25
|
var onSubmit = _ref2.onSubmit,
|
|
33
26
|
_ref2$Icon = _ref2.Icon,
|
|
34
|
-
Icon = _ref2$Icon ===
|
|
35
|
-
return React.createElement(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
);
|
|
27
|
+
Icon = _ref2$Icon === void 0 ? Done : _ref2$Icon;
|
|
28
|
+
return /*#__PURE__*/React.createElement(IconButton, {
|
|
29
|
+
color: "primary",
|
|
30
|
+
onClick: function onClick() {
|
|
31
|
+
return onSubmit();
|
|
32
|
+
}
|
|
33
|
+
}, /*#__PURE__*/React.createElement(Icon, null));
|
|
42
34
|
};
|
|
43
35
|
|
|
44
|
-
RightIcon.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
45
|
-
Icon: PropTypes.object,
|
|
46
|
-
onSubmit: PropTypes.func,
|
|
47
|
-
classes: PropTypes.object
|
|
48
|
-
} : {};
|
|
49
|
-
|
|
50
36
|
export var MyInput = function MyInput(_ref3) {
|
|
51
37
|
var _cx;
|
|
52
38
|
|
|
@@ -64,37 +50,39 @@ export var MyInput = function MyInput(_ref3) {
|
|
|
64
50
|
textFieldProps = _ref3.textFieldProps,
|
|
65
51
|
inputProps = _ref3.inputProps,
|
|
66
52
|
endAdornment = _ref3.endAdornment;
|
|
67
|
-
|
|
68
53
|
var classes = useStyles();
|
|
69
|
-
var startAdornment = R.isNil(leftIcon) ? null : React.createElement(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
);
|
|
74
|
-
var endMyadornment = R.or(withValidationIcon, !R.isNil(rightIcon)) ? React.createElement(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
54
|
+
var startAdornment = R.isNil(leftIcon) ? null : /*#__PURE__*/React.createElement(InputAdornment, {
|
|
55
|
+
position: "start"
|
|
56
|
+
}, /*#__PURE__*/React.createElement(LefttIcon, {
|
|
57
|
+
Icon: leftIcon
|
|
58
|
+
}));
|
|
59
|
+
var endMyadornment = R.or(withValidationIcon, !R.isNil(rightIcon)) ? /*#__PURE__*/React.createElement(InputAdornment, {
|
|
60
|
+
position: "end",
|
|
61
|
+
className: cx((_cx = {}, _cx[classes.visibility] = R.isEmpty(value), _cx))
|
|
62
|
+
}, /*#__PURE__*/React.createElement(RightIcon, {
|
|
63
|
+
onSubmit: onSubmit,
|
|
64
|
+
Icon: rightIcon
|
|
65
|
+
})) : null;
|
|
79
66
|
|
|
80
67
|
var onEnterLabel = function onEnterLabel(event) {
|
|
81
68
|
if (event.key === 'Enter') {
|
|
82
69
|
event.preventDefault();
|
|
70
|
+
|
|
83
71
|
if (R.is(Function, onSubmit)) {
|
|
84
72
|
onSubmit();
|
|
85
73
|
}
|
|
86
74
|
}
|
|
87
75
|
};
|
|
88
76
|
|
|
89
|
-
return React.createElement(TextField, _extends({
|
|
90
|
-
|
|
91
|
-
margin:
|
|
77
|
+
return /*#__PURE__*/React.createElement(TextField, _extends({
|
|
78
|
+
"data-testid": "input-test-id",
|
|
79
|
+
margin: "dense",
|
|
92
80
|
fullWidth: fullWidth,
|
|
93
81
|
id: id,
|
|
94
82
|
type: type,
|
|
95
83
|
label: label,
|
|
96
84
|
value: value,
|
|
97
|
-
variant:
|
|
85
|
+
variant: "outlined",
|
|
98
86
|
placeholder: placeholder,
|
|
99
87
|
onChange: function onChange(e) {
|
|
100
88
|
return _onChange(e.target.value);
|
|
@@ -107,22 +95,4 @@ export var MyInput = function MyInput(_ref3) {
|
|
|
107
95
|
inputProps: inputProps
|
|
108
96
|
}, textFieldProps));
|
|
109
97
|
};
|
|
110
|
-
|
|
111
|
-
MyInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
112
|
-
id: PropTypes.string,
|
|
113
|
-
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
114
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
115
|
-
leftIcon: PropTypes.object,
|
|
116
|
-
rightIcon: PropTypes.object,
|
|
117
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
118
|
-
type: PropTypes.string,
|
|
119
|
-
onChange: PropTypes.func,
|
|
120
|
-
onSubmit: PropTypes.func,
|
|
121
|
-
fullWidth: PropTypes.bool,
|
|
122
|
-
withValidationIcon: PropTypes.bool,
|
|
123
|
-
textFieldProps: PropTypes.object,
|
|
124
|
-
inputProps: PropTypes.object,
|
|
125
|
-
endAdornment: PropTypes.node
|
|
126
|
-
} : {};
|
|
127
|
-
|
|
128
98
|
export default withInput(MyInput);
|
package/es/Input/index.js
CHANGED
package/es/Input/with-input.js
CHANGED
|
@@ -1,53 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
6
|
-
|
|
7
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
1
|
+
import _extends from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _assertThisInitialized from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/assertThisInitialized";
|
|
3
|
+
import _inheritsLoose from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inheritsLoose";
|
|
4
|
+
import _defineProperty from "/builds/sis-cc/.stat-suite/dotstatsuite-visions/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/defineProperty";
|
|
8
5
|
|
|
9
6
|
/* eslint react/prop-types: 0 */
|
|
10
7
|
import React from 'react';
|
|
11
8
|
import * as R from 'ramda';
|
|
12
|
-
|
|
13
9
|
export var withInput = function withInput(Component) {
|
|
14
|
-
return function (_React$Component) {
|
|
15
|
-
|
|
10
|
+
return /*#__PURE__*/function (_React$Component) {
|
|
11
|
+
_inheritsLoose(_class2, _React$Component);
|
|
16
12
|
|
|
17
13
|
function _class2() {
|
|
18
|
-
var
|
|
14
|
+
var _this;
|
|
19
15
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
16
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
23
17
|
args[_key] = arguments[_key];
|
|
24
18
|
}
|
|
25
19
|
|
|
26
|
-
|
|
20
|
+
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
|
|
21
|
+
|
|
22
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
|
27
23
|
value: _this.props.value || ''
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
_defineProperty(_assertThisInitialized(_this), "onChange", function (value) {
|
|
27
|
+
_this.setState({
|
|
28
|
+
value: value
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
_defineProperty(_assertThisInitialized(_this), "onSubmit", function () {
|
|
31
33
|
_this.bubbleUp(_this.state.value);
|
|
32
|
-
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
_defineProperty(_assertThisInitialized(_this), "bubbleUp", function (item) {
|
|
33
37
|
if (R.is(Function, _this.props.onSubmit)) _this.props.onSubmit(item);
|
|
34
|
-
}
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
_defineProperty(_assertThisInitialized(_this), "render", function () {
|
|
35
41
|
var _this$props = _this.props,
|
|
36
42
|
onChange = _this$props.onChange,
|
|
37
43
|
onSubmit = _this$props.onSubmit,
|
|
38
44
|
isControlled = _this$props.isControlled,
|
|
39
45
|
isBlank = _this$props.isBlank;
|
|
40
|
-
|
|
41
46
|
if (isBlank) return null;
|
|
42
47
|
var value = _this.state.value;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
return React.createElement(Component, _extends({}, _this.props, {
|
|
48
|
+
return /*#__PURE__*/React.createElement(Component, _extends({}, _this.props, {
|
|
46
49
|
onChange: isControlled ? onChange : _this.onChange,
|
|
47
50
|
onSubmit: isControlled ? onSubmit : _this.onSubmit,
|
|
48
51
|
value: isControlled ? _this.props.value : value
|
|
49
52
|
}));
|
|
50
|
-
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
return _this;
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
return _class2;
|