@sis-cc/dotstatsuite-visions 11.4.2 → 12.0.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/AdvancedFilterDialog/AdvancedFilterDialog.js +17 -15
- package/es/AdvancedFilterDialog/SelectionModeMenu.js +5 -5
- package/es/Alert/Alert.js +46 -45
- package/es/Alert/index.js +10 -10
- package/es/ApiQueries/ApiQueries.js +4 -4
- package/es/ApiQueries/Query.js +4 -4
- package/es/AuthDialog/index.js +9 -9
- package/es/Breadcrumbs/Breadcrumbs.js +5 -5
- package/es/Breadcrumbs/index.js +27 -27
- package/es/Button/Button.js +2 -2
- package/es/Button/index.js +49 -49
- package/es/ChartsConfig/ChartsConfig.js +5 -5
- package/es/ChartsConfig/Input.js +9 -8
- package/es/ChartsConfig/InputProxy.js +1 -1
- package/es/ChartsConfig/Title.js +2 -2
- package/es/ChartsConfig/index.js +210 -210
- package/es/Chips/CustomChip.js +6 -5
- package/es/Chips/DeleteChip.js +1 -1
- package/es/Chips/GroupedChips.js +2 -1
- package/es/Chips/index.js +65 -65
- package/es/Chips/styles.js +2 -2
- package/es/CollapseButtons/CollapseButtons.js +6 -6
- package/es/CollapseButtons/Item.js +5 -5
- package/es/CollapseButtons/Paper.js +3 -3
- package/es/CollapseButtons/index.js +87 -87
- package/es/CollapsibleTree/Collapse.js +6 -5
- package/es/CollapsibleTree/CollapsibleTree.js +11 -11
- package/es/CollapsibleTree/index.js +46 -46
- package/es/Contact/Contact.js +2 -2
- package/es/Contact/Input.js +6 -6
- package/es/Contact/Mode.js +8 -7
- package/es/DataEdit/DataEdit.js +4 -4
- package/es/DataEdit/Input.js +9 -8
- package/es/DataFooter/DataFooter.js +6 -6
- package/es/DataFooter/index.js +30 -30
- package/es/DataHeader/DataHeader.js +6 -4
- package/es/Dataflow/Dataflow.js +12 -12
- package/es/Dataflow/index.js +59 -59
- package/es/ExpansionPanel/ExpansionPanel.js +10 -9
- package/es/ExpansionPanel/styles.js +1 -1
- package/es/HierarchicalFilter/HierarchicalFilter.js +3 -3
- package/es/Icons/AccessibilityFilled.js +1 -1
- package/es/Icons/AccessibilityOutlined.js +1 -1
- package/es/Icons/AccountFilled.js +1 -1
- package/es/Icons/AccountOutlined.js +1 -1
- package/es/Icons/Api.js +1 -1
- package/es/Icons/Asterisk.js +1 -1
- package/es/Icons/Bar.js +1 -1
- package/es/Icons/CopyContent.js +1 -1
- package/es/Icons/Cross.js +1 -1
- package/es/Icons/HSymbol.js +1 -1
- package/es/Icons/Row.js +1 -1
- package/es/Icons/Scatter.js +1 -1
- package/es/Icons/StackedBar.js +1 -1
- package/es/Icons/StackedRow.js +1 -1
- package/es/Icons/Timeline.js +1 -1
- package/es/Icons/VSymbol.js +1 -1
- package/es/Icons/Warning.js +1 -1
- package/es/Icons/index.js +9 -9
- package/es/Input/Input.js +6 -6
- package/es/Input/index.js +23 -23
- package/es/InputNumber/InputNumber.js +4 -4
- package/es/InputNumber/index.js +20 -20
- package/es/LabelDivider/LabelDivider.js +2 -2
- package/es/LabelDivider/index.js +29 -29
- package/es/Loading/Loading.js +2 -2
- package/es/Logo/Logo.js +1 -1
- package/es/Logo/index.js +15 -15
- package/es/Mode/Mode.js +4 -5
- package/es/NoData/NoData.js +3 -3
- package/es/Pagination/Pagination.js +9 -9
- package/es/Pagination/index.js +28 -28
- package/es/PeriodPicker/PeriodPicker.js +1 -1
- package/es/PeriodPicker/index.js +23 -23
- package/es/PeriodPicker/styles.js +1 -1
- package/es/ScopeList/Header.js +3 -3
- package/es/ScopeList/Item.js +6 -6
- package/es/ScopeList/ScopeList.js +7 -7
- package/es/ScopeList/Selection.js +7 -7
- package/es/ScopeList/styles.js +1 -1
- package/es/Select/Select.js +4 -4
- package/es/Select/index.js +30 -30
- package/es/Share/Form.js +4 -4
- package/es/Share/Mode.js +8 -7
- package/es/Share/Share.js +3 -3
- package/es/Share/index.js +61 -61
- package/es/ShortUrls/ShortUrls.js +10 -10
- package/es/SisccFooter/SisccFooter.js +6 -5
- package/es/Spotlight/Fields.js +4 -4
- package/es/Spotlight/Spotlight.js +13 -11
- package/es/Spotlight/index.js +72 -72
- package/es/Spotlight/useStyles.js +1 -1
- package/es/TableFooter/TableFooter.js +3 -4
- package/es/TableHeader/TableHeader.js +3 -3
- package/es/TableHtml5/TableHtml5.js +2 -2
- package/es/TableHtml5/cell.js +5 -4
- package/es/TableHtml5/flags.js +5 -5
- package/es/TableHtml5/header.js +6 -5
- package/es/TableHtml5/section.js +8 -7
- package/es/TableHtml5/sectionHeader.js +6 -5
- package/es/TableHtml5/subHeader.js +7 -6
- package/es/TableLayout/Box.js +5 -4
- package/es/TableLayout/DnDItem.js +10 -9
- package/es/TableLayout/TableLayout.js +12 -11
- package/es/TablePreview/TablePreview.js +4 -4
- package/es/TablePreview/lib.js +1 -1
- package/es/TablePreview/styles.js +1 -1
- package/es/Tag/Tag.js +2 -2
- package/es/Tag/index.js +27 -27
- package/es/ToggleButton/ToggleButton.js +4 -4
- package/es/ToggleButton/index.js +47 -47
- package/es/Tooltip/Tooltip.js +5 -7
- package/es/Tooltip/index.js +33 -33
- package/es/UserRightForm/Input.js +6 -6
- package/es/UserRightForm/Permissions.js +5 -5
- package/es/UserRightForm/PermsissionsTabs.js +2 -2
- package/es/UserRightForm/UserRightForm.js +2 -3
- package/es/VerticalButton/VerticalButton.js +7 -5
- package/es/VirtualizedTree/Item.js +9 -9
- package/es/VirtualizedTree/VirtualizedTree.js +3 -3
- package/es/theme.js +82 -57
- package/lib/AdvancedFilterDialog/AdvancedFilterDialog.js +21 -17
- package/lib/AdvancedFilterDialog/SelectionModeMenu.js +5 -5
- package/lib/Alert/Alert.js +50 -46
- package/lib/ApiQueries/ApiQueries.js +7 -5
- package/lib/ApiQueries/Query.js +7 -5
- package/lib/AuthDialog/index.js +12 -10
- package/lib/Breadcrumbs/Breadcrumbs.js +8 -6
- package/lib/Button/Button.js +5 -3
- package/lib/ChartsConfig/ChartsConfig.js +16 -14
- package/lib/ChartsConfig/Input.js +12 -9
- package/lib/ChartsConfig/InputProxy.js +2 -2
- package/lib/ChartsConfig/Title.js +7 -5
- package/lib/Chips/CustomChip.js +10 -6
- package/lib/Chips/DeleteChip.js +6 -4
- package/lib/Chips/GroupedChips.js +6 -2
- package/lib/Chips/styles.js +2 -2
- package/lib/CollapseButtons/CollapseButtons.js +9 -7
- package/lib/CollapseButtons/Item.js +8 -6
- package/lib/CollapseButtons/Paper.js +6 -4
- package/lib/CollapsibleTree/Collapse.js +10 -6
- package/lib/CollapsibleTree/CollapsibleTree.js +14 -12
- package/lib/Contact/Contact.js +28 -26
- package/lib/Contact/Input.js +9 -7
- package/lib/Contact/Mode.js +12 -8
- package/lib/DataEdit/DataEdit.js +4 -4
- package/lib/DataEdit/Input.js +12 -9
- package/lib/DataFooter/DataFooter.js +10 -7
- package/lib/DataHeader/DataHeader.js +10 -4
- package/lib/Dataflow/Dataflow.js +15 -13
- package/lib/ExpansionPanel/ExpansionPanel.js +13 -11
- package/lib/ExpansionPanel/styles.js +6 -2
- package/lib/HierarchicalFilter/HierarchicalFilter.js +4 -4
- package/lib/Icons/AccessibilityFilled.js +1 -1
- package/lib/Icons/AccessibilityOutlined.js +1 -1
- package/lib/Icons/AccountFilled.js +1 -1
- package/lib/Icons/AccountOutlined.js +1 -1
- package/lib/Icons/Api.js +1 -1
- package/lib/Icons/Asterisk.js +1 -1
- package/lib/Icons/Bar.js +1 -1
- package/lib/Icons/CopyContent.js +1 -1
- package/lib/Icons/Cross.js +1 -1
- package/lib/Icons/HSymbol.js +1 -1
- package/lib/Icons/Row.js +1 -1
- package/lib/Icons/Scatter.js +1 -1
- package/lib/Icons/StackedBar.js +1 -1
- package/lib/Icons/StackedRow.js +1 -1
- package/lib/Icons/Timeline.js +1 -1
- package/lib/Icons/VSymbol.js +1 -1
- package/lib/Icons/Warning.js +1 -1
- package/lib/Input/Input.js +9 -7
- package/lib/InputNumber/InputNumber.js +7 -5
- package/lib/LabelDivider/LabelDivider.js +5 -3
- package/lib/Loading/Loading.js +5 -3
- package/lib/Logo/Logo.js +4 -2
- package/lib/Mode/Mode.js +7 -6
- package/lib/NoData/NoData.js +6 -4
- package/lib/Pagination/Pagination.js +13 -9
- package/lib/PeriodPicker/PeriodPicker.js +1 -1
- package/lib/PeriodPicker/styles.js +6 -2
- package/lib/ScopeList/Header.js +3 -3
- package/lib/ScopeList/Item.js +6 -6
- package/lib/ScopeList/ScopeList.js +8 -8
- package/lib/ScopeList/Selection.js +7 -7
- package/lib/ScopeList/styles.js +6 -2
- package/lib/Select/Select.js +9 -7
- package/lib/Share/Form.js +7 -5
- package/lib/Share/Mode.js +12 -8
- package/lib/Share/Share.js +6 -4
- package/lib/ShortUrls/ShortUrls.js +14 -12
- package/lib/SisccFooter/SisccFooter.js +10 -6
- package/lib/Spotlight/Fields.js +4 -4
- package/lib/Spotlight/Spotlight.js +13 -11
- package/lib/Spotlight/useStyles.js +6 -2
- package/lib/TableFooter/TableFooter.js +6 -5
- package/lib/TableHeader/TableHeader.js +6 -4
- package/lib/TableHtml5/TableHtml5.js +5 -3
- package/lib/TableHtml5/cell.js +9 -5
- package/lib/TableHtml5/flags.js +11 -8
- package/lib/TableHtml5/header.js +10 -6
- package/lib/TableHtml5/section.js +12 -8
- package/lib/TableHtml5/sectionHeader.js +10 -6
- package/lib/TableHtml5/subHeader.js +11 -7
- package/lib/TableLayout/Box.js +17 -13
- package/lib/TableLayout/DnDItem.js +13 -10
- package/lib/TableLayout/TableLayout.js +16 -14
- package/lib/TablePreview/TablePreview.js +4 -4
- package/lib/TablePreview/lib.js +1 -1
- package/lib/TablePreview/styles.js +6 -2
- package/lib/Tag/Tag.js +5 -3
- package/lib/ToggleButton/ToggleButton.js +7 -5
- package/lib/Tooltip/Tooltip.js +8 -8
- package/lib/UserRightForm/Input.js +9 -7
- package/lib/UserRightForm/Permissions.js +20 -18
- package/lib/UserRightForm/PermsissionsTabs.js +12 -10
- package/lib/UserRightForm/UserRightForm.js +36 -35
- package/lib/VerticalButton/VerticalButton.js +10 -6
- package/lib/VirtualizedTree/Item.js +8 -8
- package/lib/VirtualizedTree/VirtualizedTree.js +4 -4
- package/lib/theme.js +82 -57
- package/package.json +10 -5
- package/umd/@sis-cc/dotstatsuite-visions.js +60498 -53550
- package/umd/@sis-cc/dotstatsuite-visions.min.js +129 -53
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
|
@@ -7,26 +7,26 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import * as R from 'ramda';
|
|
8
8
|
import cx from 'classnames';
|
|
9
9
|
import { getEvolvedDisableAccessor, getHierarchicalId, getScopeGetters } from '../VirtualizedTree/utils';
|
|
10
|
-
import IconButton from '@material
|
|
11
|
-
import Dialog from '@material
|
|
12
|
-
import DialogTitle from '@material
|
|
13
|
-
import DialogContent from '@material
|
|
14
|
-
import DialogActions from '@material
|
|
15
|
-
import Paper from '@material
|
|
16
|
-
import Grid from '@material
|
|
17
|
-
import Typography from '@material
|
|
18
|
-
import CloseIcon from '@
|
|
10
|
+
import IconButton from '@mui/material/Button';
|
|
11
|
+
import Dialog from '@mui/material/Dialog';
|
|
12
|
+
import DialogTitle from '@mui/material/DialogTitle';
|
|
13
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
14
|
+
import DialogActions from '@mui/material/DialogActions';
|
|
15
|
+
import Paper from '@mui/material/Paper';
|
|
16
|
+
import Grid from '@mui/material/Grid';
|
|
17
|
+
import Typography from '@mui/material/Typography';
|
|
18
|
+
import CloseIcon from '@mui/icons-material/Close';
|
|
19
19
|
import Draggable from 'react-draggable';
|
|
20
20
|
import { Button, Spotlight, Tooltip, VirtualizedTree } from '..';
|
|
21
21
|
import { withExpansionTree } from '../VirtualizedTree/withExpansionTree';
|
|
22
22
|
import { withSpotlight } from '../VirtualizedTree/withSpotlight';
|
|
23
|
-
import
|
|
24
|
-
import HintIcon from '@
|
|
23
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
24
|
+
import HintIcon from '@mui/icons-material/EmojiObjects';
|
|
25
25
|
import singleImg from './images/single-selection.png';
|
|
26
26
|
import childrenImg from './images/children-selection.png';
|
|
27
27
|
import branchImg from './images/branch-selection.png';
|
|
28
28
|
import levelImg from './images/level-selection.png';
|
|
29
|
-
import { Divider } from '@material
|
|
29
|
+
import { Divider } from '@mui/material';
|
|
30
30
|
|
|
31
31
|
var PaperComponent = function PaperComponent(props) {
|
|
32
32
|
return React.createElement(
|
|
@@ -113,7 +113,7 @@ var useStyles = makeStyles(function (theme) {
|
|
|
113
113
|
selectModeItem: {
|
|
114
114
|
boxShadow: 'none',
|
|
115
115
|
display: 'flex',
|
|
116
|
-
backgroundColor: '
|
|
116
|
+
backgroundColor: 'transparent',
|
|
117
117
|
flexDirection: 'row-reverse',
|
|
118
118
|
alignItems: 'center',
|
|
119
119
|
'& p': {
|
|
@@ -400,7 +400,7 @@ var AdvancedFilterDialog = function AdvancedFilterDialog(props) {
|
|
|
400
400
|
},
|
|
401
401
|
React.createElement(
|
|
402
402
|
Paper,
|
|
403
|
-
{ className: classes.selectModeItem, key: value },
|
|
403
|
+
{ elevation: 0, className: classes.selectModeItem, key: value },
|
|
404
404
|
React.createElement(
|
|
405
405
|
Typography,
|
|
406
406
|
null,
|
|
@@ -424,7 +424,8 @@ var AdvancedFilterDialog = function AdvancedFilterDialog(props) {
|
|
|
424
424
|
{
|
|
425
425
|
className: classes.closeButton,
|
|
426
426
|
onClick: onClose,
|
|
427
|
-
'aria-label': R.prop('cancel', labels)
|
|
427
|
+
'aria-label': R.prop('cancel', labels),
|
|
428
|
+
size: 'large'
|
|
428
429
|
},
|
|
429
430
|
React.createElement(CloseIcon, null)
|
|
430
431
|
)
|
|
@@ -526,6 +527,7 @@ var AdvancedFilterDialog = function AdvancedFilterDialog(props) {
|
|
|
526
527
|
Button,
|
|
527
528
|
{
|
|
528
529
|
disabled: R.isEmpty(selection),
|
|
530
|
+
'aria-label': R.prop('apply', labels),
|
|
529
531
|
onClick: handleSubmit,
|
|
530
532
|
color: 'primary',
|
|
531
533
|
variant: 'contained',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import * as R from 'ramda';
|
|
4
|
-
import Card from '@material
|
|
5
|
-
import CardContent from '@material
|
|
6
|
-
import Paper from '@material
|
|
7
|
-
import Typography from '@material
|
|
8
|
-
import HintIcon from '@
|
|
4
|
+
import Card from '@mui/material/Card';
|
|
5
|
+
import CardContent from '@mui/material/CardContent';
|
|
6
|
+
import Paper from '@mui/material/Paper';
|
|
7
|
+
import Typography from '@mui/material/Typography';
|
|
8
|
+
import HintIcon from '@mui/icons-material/EmojiObjects';
|
|
9
9
|
import { Button } from '..';
|
|
10
10
|
|
|
11
11
|
var SelectionModeMenu = function SelectionModeMenu(_ref) {
|
package/es/Alert/Alert.js
CHANGED
|
@@ -5,19 +5,20 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
8
|
+
import { lighten, darken } from '@mui/material/styles';
|
|
9
|
+
import withStyles from '@mui/styles/withStyles';
|
|
10
|
+
import Paper from '@mui/material/Paper';
|
|
11
|
+
import SuccessOutlinedIcon from '@mui/icons-material/CheckCircleOutlineOutlined';
|
|
12
|
+
import ReportProblemOutlinedIcon from '@mui/icons-material/ReportProblemOutlined';
|
|
13
|
+
import ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';
|
|
14
|
+
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
|
|
15
|
+
import CloseIcon from '@mui/icons-material/Close';
|
|
16
|
+
import IconButton from '@mui/material/IconButton';
|
|
17
|
+
import { capitalize } from '@mui/material/utils';
|
|
17
18
|
|
|
18
19
|
export var styles = function styles(theme) {
|
|
19
|
-
var getColor = theme.palette.
|
|
20
|
-
var getBackgroundColor = theme.palette.
|
|
20
|
+
var getColor = theme.palette.mode === 'light' ? darken : lighten;
|
|
21
|
+
var getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
|
|
21
22
|
|
|
22
23
|
return {
|
|
23
24
|
/* Styles applied to the root element. */
|
|
@@ -215,43 +216,43 @@ Alert.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
215
216
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
216
217
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
217
218
|
// ----------------------------------------------------------------------
|
|
218
|
-
/**
|
|
219
|
-
* The action to display. It renders after the message, at the end of the alert.
|
|
219
|
+
/**
|
|
220
|
+
* The action to display. It renders after the message, at the end of the alert.
|
|
220
221
|
*/
|
|
221
222
|
action: PropTypes.node,
|
|
222
|
-
/**
|
|
223
|
-
* The content of the component.
|
|
223
|
+
/**
|
|
224
|
+
* The content of the component.
|
|
224
225
|
*/
|
|
225
226
|
children: PropTypes.node,
|
|
226
|
-
/**
|
|
227
|
-
* Override or extend the styles applied to the component.
|
|
228
|
-
* See [CSS API](#css) below for more details.
|
|
227
|
+
/**
|
|
228
|
+
* Override or extend the styles applied to the component.
|
|
229
|
+
* See [CSS API](#css) below for more details.
|
|
229
230
|
*/
|
|
230
231
|
classes: PropTypes.object,
|
|
231
|
-
/**
|
|
232
|
-
* @ignore
|
|
232
|
+
/**
|
|
233
|
+
* @ignore
|
|
233
234
|
*/
|
|
234
235
|
className: PropTypes.string,
|
|
235
|
-
/**
|
|
236
|
-
* Override the default label for the *close popup* icon button.
|
|
237
|
-
*
|
|
238
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
236
|
+
/**
|
|
237
|
+
* Override the default label for the *close popup* icon button.
|
|
238
|
+
*
|
|
239
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
239
240
|
*/
|
|
240
241
|
closeText: PropTypes.string,
|
|
241
|
-
/**
|
|
242
|
-
* The main color for the alert. Unless provided, the value is taken from the `severity` prop.
|
|
242
|
+
/**
|
|
243
|
+
* The main color for the alert. Unless provided, the value is taken from the `severity` prop.
|
|
243
244
|
*/
|
|
244
245
|
color: PropTypes.oneOf(['error', 'info', 'success', 'warning']),
|
|
245
|
-
/**
|
|
246
|
-
* Override the icon displayed before the children.
|
|
247
|
-
* Unless provided, the icon is mapped to the value of the `severity` prop.
|
|
246
|
+
/**
|
|
247
|
+
* Override the icon displayed before the children.
|
|
248
|
+
* Unless provided, the icon is mapped to the value of the `severity` prop.
|
|
248
249
|
*/
|
|
249
250
|
icon: PropTypes.node,
|
|
250
|
-
/**
|
|
251
|
-
* The component maps the `severity` prop to a range of different icons,
|
|
252
|
-
* for instance success to `<SuccessOutlined>`.
|
|
253
|
-
* If you wish to change this mapping, you can provide your own.
|
|
254
|
-
* Alternatively, you can use the `icon` prop to override the icon displayed.
|
|
251
|
+
/**
|
|
252
|
+
* The component maps the `severity` prop to a range of different icons,
|
|
253
|
+
* for instance success to `<SuccessOutlined>`.
|
|
254
|
+
* If you wish to change this mapping, you can provide your own.
|
|
255
|
+
* Alternatively, you can use the `icon` prop to override the icon displayed.
|
|
255
256
|
*/
|
|
256
257
|
iconMapping: PropTypes.shape({
|
|
257
258
|
error: PropTypes.node,
|
|
@@ -259,23 +260,23 @@ Alert.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
259
260
|
success: PropTypes.node,
|
|
260
261
|
warning: PropTypes.node
|
|
261
262
|
}),
|
|
262
|
-
/**
|
|
263
|
-
* Callback fired when the component requests to be closed.
|
|
264
|
-
* When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
|
|
265
|
-
*
|
|
266
|
-
* @param {object} event The event source of the callback.
|
|
263
|
+
/**
|
|
264
|
+
* Callback fired when the component requests to be closed.
|
|
265
|
+
* When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
|
|
266
|
+
*
|
|
267
|
+
* @param {object} event The event source of the callback.
|
|
267
268
|
*/
|
|
268
269
|
onClose: PropTypes.func,
|
|
269
|
-
/**
|
|
270
|
-
* The ARIA role attribute of the element.
|
|
270
|
+
/**
|
|
271
|
+
* The ARIA role attribute of the element.
|
|
271
272
|
*/
|
|
272
273
|
role: PropTypes.string,
|
|
273
|
-
/**
|
|
274
|
-
* The severity of the alert. This defines the color and icon used.
|
|
274
|
+
/**
|
|
275
|
+
* The severity of the alert. This defines the color and icon used.
|
|
275
276
|
*/
|
|
276
277
|
severity: PropTypes.oneOf(['error', 'info', 'success', 'warning']),
|
|
277
|
-
/**
|
|
278
|
-
* The variant to use.
|
|
278
|
+
/**
|
|
279
|
+
* The variant to use.
|
|
279
280
|
*/
|
|
280
281
|
variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])
|
|
281
282
|
} : {};
|
package/es/Alert/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
|
|
3
|
-
* see more
|
|
4
|
-
*
|
|
5
|
-
* https://material-ui.com/components/alert/
|
|
6
|
-
*
|
|
7
|
-
* @memberOf VISIONS
|
|
8
|
-
* @name Alert
|
|
9
|
-
* @tag component
|
|
10
|
-
* @api private
|
|
1
|
+
/**
|
|
2
|
+
* An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
|
|
3
|
+
* see more
|
|
4
|
+
*
|
|
5
|
+
* https://material-ui.com/components/alert/
|
|
6
|
+
*
|
|
7
|
+
* @memberOf VISIONS
|
|
8
|
+
* @name Alert
|
|
9
|
+
* @tag component
|
|
10
|
+
* @api private
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
export { default } from './Alert';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import * as R from 'ramda';
|
|
4
|
-
import Typography from '@material
|
|
5
|
-
import Divider from '@material
|
|
6
|
-
import Grid from '@material
|
|
7
|
-
import
|
|
4
|
+
import Typography from '@mui/material/Typography';
|
|
5
|
+
import Divider from '@mui/material/Divider';
|
|
6
|
+
import Grid from '@mui/material/Grid';
|
|
7
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
8
8
|
import Query from './Query';
|
|
9
9
|
|
|
10
10
|
var useStyles = makeStyles(function (theme) {
|
package/es/ApiQueries/Query.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as R from 'ramda';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import Typography from '@material
|
|
5
|
-
import TextareaAutosize from '@material
|
|
6
|
-
import Grid from '@material
|
|
7
|
-
import
|
|
4
|
+
import Typography from '@mui/material/Typography';
|
|
5
|
+
import TextareaAutosize from '@mui/material/TextareaAutosize';
|
|
6
|
+
import Grid from '@mui/material/Grid';
|
|
7
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
8
8
|
import { Alert, Button } from '../';
|
|
9
9
|
|
|
10
10
|
var useStyles = makeStyles(function (theme) {
|
package/es/AuthDialog/index.js
CHANGED
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
import React, { useState } from 'react';
|
|
26
26
|
import PropTypes from 'prop-types';
|
|
27
27
|
import { isEmpty } from 'ramda';
|
|
28
|
-
import Checkbox from '@material
|
|
29
|
-
import CloseIcon from '@
|
|
30
|
-
import Dialog from '@material
|
|
31
|
-
import IconButton from '@material
|
|
32
|
-
import PersonIcon from '@
|
|
33
|
-
import TextField from '@material
|
|
34
|
-
import Typography from '@material
|
|
35
|
-
import
|
|
28
|
+
import Checkbox from '@mui/material/Checkbox';
|
|
29
|
+
import CloseIcon from '@mui/icons-material/Close';
|
|
30
|
+
import Dialog from '@mui/material/Dialog';
|
|
31
|
+
import IconButton from '@mui/material/IconButton';
|
|
32
|
+
import PersonIcon from '@mui/icons-material/Person';
|
|
33
|
+
import TextField from '@mui/material/TextField';
|
|
34
|
+
import Typography from '@mui/material/Typography';
|
|
35
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
36
36
|
import Button from '../Button';
|
|
37
37
|
|
|
38
38
|
var useStyles = makeStyles(function () {
|
|
@@ -126,7 +126,7 @@ var AuthDialog = function AuthDialog(_ref) {
|
|
|
126
126
|
),
|
|
127
127
|
onClose && React.createElement(
|
|
128
128
|
IconButton,
|
|
129
|
-
{ className: classes.closeButton, onClick: onClose },
|
|
129
|
+
{ className: classes.closeButton, onClick: onClose, size: 'large' },
|
|
130
130
|
React.createElement(CloseIcon, null)
|
|
131
131
|
)
|
|
132
132
|
),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import * as R from 'ramda';
|
|
4
|
-
import
|
|
5
|
-
import Breadcrumbs from '@material
|
|
6
|
-
import Typography from '@material
|
|
7
|
-
import NavigateNextIcon from '@
|
|
8
|
-
import NavigateBeforeIcon from '@
|
|
4
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
5
|
+
import Breadcrumbs from '@mui/material/Breadcrumbs';
|
|
6
|
+
import Typography from '@mui/material/Typography';
|
|
7
|
+
import NavigateNextIcon from '@mui/icons-material/NavigateNext';
|
|
8
|
+
import NavigateBeforeIcon from '@mui/icons-material/NavigateBefore';
|
|
9
9
|
import cx from 'classnames';
|
|
10
10
|
|
|
11
11
|
var useStyles = makeStyles(function (theme) {
|
package/es/Breadcrumbs/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Breadcrumbs allow users to make selections from a range of values.
|
|
3
|
-
*
|
|
4
|
-
* @memberOf VISIONS
|
|
5
|
-
* @name Breadcrumbs
|
|
6
|
-
* @tag component
|
|
7
|
-
* @api public
|
|
8
|
-
* @props
|
|
9
|
-
* Breadcrumbs.propTypes = {
|
|
10
|
-
* items: PropTypes.shape({
|
|
11
|
-
* text: PropTypes.string.isRequired,
|
|
12
|
-
* action: PropTypes.func,
|
|
13
|
-
* isDisabled: PropTypes.bool,
|
|
14
|
-
* }),
|
|
15
|
-
* isRtl: PropTypes.bool,
|
|
16
|
-
* };
|
|
17
|
-
* @theme
|
|
18
|
-
* {
|
|
19
|
-
* palette: {
|
|
20
|
-
* primary: {
|
|
21
|
-
* main: // label hover. global override: outerPalette.primaryMain
|
|
22
|
-
* },
|
|
23
|
-
* text: {
|
|
24
|
-
* disabled: // disabled label
|
|
25
|
-
* }
|
|
26
|
-
* }
|
|
27
|
-
* }
|
|
1
|
+
/**
|
|
2
|
+
* Breadcrumbs allow users to make selections from a range of values.
|
|
3
|
+
*
|
|
4
|
+
* @memberOf VISIONS
|
|
5
|
+
* @name Breadcrumbs
|
|
6
|
+
* @tag component
|
|
7
|
+
* @api public
|
|
8
|
+
* @props
|
|
9
|
+
* Breadcrumbs.propTypes = {
|
|
10
|
+
* items: PropTypes.shape({
|
|
11
|
+
* text: PropTypes.string.isRequired,
|
|
12
|
+
* action: PropTypes.func,
|
|
13
|
+
* isDisabled: PropTypes.bool,
|
|
14
|
+
* }),
|
|
15
|
+
* isRtl: PropTypes.bool,
|
|
16
|
+
* };
|
|
17
|
+
* @theme
|
|
18
|
+
* {
|
|
19
|
+
* palette: {
|
|
20
|
+
* primary: {
|
|
21
|
+
* main: // label hover. global override: outerPalette.primaryMain
|
|
22
|
+
* },
|
|
23
|
+
* text: {
|
|
24
|
+
* disabled: // disabled label
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
* }
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
export { default } from './Breadcrumbs';
|
package/es/Button/Button.js
CHANGED
|
@@ -6,8 +6,8 @@ import React from 'react';
|
|
|
6
6
|
import * as R from 'ramda';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import cx from 'classnames';
|
|
9
|
-
import Button from '@material
|
|
10
|
-
import
|
|
9
|
+
import Button from '@mui/material/Button';
|
|
10
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
11
11
|
|
|
12
12
|
var useStyles = makeStyles(function (theme) {
|
|
13
13
|
var color1 = R.path(['palette', 'highlight', 'hl1'], theme) || theme.palette.primary.dark;
|
package/es/Button/index.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A modified version of the vanilla Material UI button with selected props
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* https
|
|
6
|
-
*
|
|
7
|
-
* @memberOf VISIONS
|
|
8
|
-
* @name Button
|
|
9
|
-
* @tag component
|
|
10
|
-
* @api public
|
|
11
|
-
*
|
|
12
|
-
* Button.propTypes = {
|
|
13
|
-
* alternative: PropTypes.string,
|
|
14
|
-
* className: PropTypes.string,
|
|
15
|
-
* selected: PropTypes.bool,
|
|
16
|
-
* children: PropTypes.node,
|
|
17
|
-
* };
|
|
18
|
-
* @theme
|
|
19
|
-
* // default alternative
|
|
20
|
-
* {
|
|
21
|
-
* palette: {
|
|
22
|
-
* action: {
|
|
23
|
-
* hover: // background color of hover button and selected state,
|
|
24
|
-
* selected: // background color of selected hover,
|
|
25
|
-
* }
|
|
26
|
-
* }
|
|
27
|
-
* }
|
|
28
|
-
* // siscc alternative
|
|
29
|
-
* {
|
|
30
|
-
* palette: {
|
|
31
|
-
* primary: {
|
|
32
|
-
* main: // item main label and sub label's hover. global override: outerPalette.primaryMain
|
|
33
|
-
* }
|
|
34
|
-
* tertiary: {
|
|
35
|
-
* light: // hover background color items (e.g. Economie)
|
|
36
|
-
* },
|
|
37
|
-
* secondary: {
|
|
38
|
-
* light: // used if you set tertiary light to null
|
|
39
|
-
* }
|
|
40
|
-
* grey: {
|
|
41
|
-
* 600: // svg icon color
|
|
42
|
-
* 800: // sub label color. globale override: outerPalette.textLight
|
|
43
|
-
* }
|
|
44
|
-
* },
|
|
45
|
-
* typography: {
|
|
46
|
-
* body2: // font main label
|
|
47
|
-
* body1: // font sub label
|
|
48
|
-
* }
|
|
49
|
-
* }
|
|
1
|
+
/**
|
|
2
|
+
* A modified version of the vanilla Material UI button with selected props
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* https://@mui/material/Button
|
|
6
|
+
*
|
|
7
|
+
* @memberOf VISIONS
|
|
8
|
+
* @name Button
|
|
9
|
+
* @tag component
|
|
10
|
+
* @api public
|
|
11
|
+
*
|
|
12
|
+
* Button.propTypes = {
|
|
13
|
+
* alternative: PropTypes.string,
|
|
14
|
+
* className: PropTypes.string,
|
|
15
|
+
* selected: PropTypes.bool,
|
|
16
|
+
* children: PropTypes.node,
|
|
17
|
+
* };
|
|
18
|
+
* @theme
|
|
19
|
+
* // default alternative
|
|
20
|
+
* {
|
|
21
|
+
* palette: {
|
|
22
|
+
* action: {
|
|
23
|
+
* hover: // background color of hover button and selected state,
|
|
24
|
+
* selected: // background color of selected hover,
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
* }
|
|
28
|
+
* // siscc alternative
|
|
29
|
+
* {
|
|
30
|
+
* palette: {
|
|
31
|
+
* primary: {
|
|
32
|
+
* main: // item main label and sub label's hover. global override: outerPalette.primaryMain
|
|
33
|
+
* }
|
|
34
|
+
* tertiary: {
|
|
35
|
+
* light: // hover background color items (e.g. Economie)
|
|
36
|
+
* },
|
|
37
|
+
* secondary: {
|
|
38
|
+
* light: // used if you set tertiary light to null
|
|
39
|
+
* }
|
|
40
|
+
* grey: {
|
|
41
|
+
* 600: // svg icon color
|
|
42
|
+
* 800: // sub label color. globale override: outerPalette.textLight
|
|
43
|
+
* }
|
|
44
|
+
* },
|
|
45
|
+
* typography: {
|
|
46
|
+
* body2: // font main label
|
|
47
|
+
* body1: // font sub label
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
50
|
*/
|
|
51
51
|
|
|
52
52
|
export { default } from './Button';
|
|
@@ -3,11 +3,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import * as R from 'ramda';
|
|
6
|
-
import Grid from '@material
|
|
7
|
-
import ArrowForwardIcon from '@
|
|
8
|
-
import ArrowUpwardIcon from '@
|
|
6
|
+
import Grid from '@mui/material/Grid';
|
|
7
|
+
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
|
|
8
|
+
import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward';
|
|
9
9
|
import Title from './Title';
|
|
10
|
-
import { Button, InputAdornment, Typography } from '@material
|
|
10
|
+
import { Button, InputAdornment, Typography } from '@mui/material';
|
|
11
11
|
import useFocusOptions from './useFocusOptions';
|
|
12
12
|
import Select from '../Select';
|
|
13
13
|
import { extractMultipleValue, getValue } from './utils';
|
|
@@ -15,7 +15,7 @@ import useDimensionOptions from './useDimensionOptions';
|
|
|
15
15
|
import InputProxy from './InputProxy';
|
|
16
16
|
import Proxy from './Proxy';
|
|
17
17
|
import useAxisOptions from './useAxisOptions';
|
|
18
|
-
import
|
|
18
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
19
19
|
import DataEdit from '../DataEdit';
|
|
20
20
|
|
|
21
21
|
export var useStyles = makeStyles(function (theme) {
|
package/es/ChartsConfig/Input.js
CHANGED
|
@@ -5,12 +5,12 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
5
5
|
import React, { useEffect, useState } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import * as R from 'ramda';
|
|
8
|
-
import
|
|
9
|
-
import TextField from '@material
|
|
10
|
-
import InputAdornment from '@material
|
|
11
|
-
import IconButton from '@material
|
|
12
|
-
import Done from '@
|
|
13
|
-
import RotateLeftIcon from '@
|
|
8
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
9
|
+
import TextField from '@mui/material/TextField';
|
|
10
|
+
import InputAdornment from '@mui/material/InputAdornment';
|
|
11
|
+
import IconButton from '@mui/material/IconButton';
|
|
12
|
+
import Done from '@mui/icons-material/Done';
|
|
13
|
+
import RotateLeftIcon from '@mui/icons-material/RotateLeft';
|
|
14
14
|
|
|
15
15
|
var useStyles = makeStyles(function () {
|
|
16
16
|
return {
|
|
@@ -46,7 +46,7 @@ var RightIcon = function RightIcon(_ref2) {
|
|
|
46
46
|
IconButton,
|
|
47
47
|
{ color: 'primary', onClick: function onClick() {
|
|
48
48
|
return onSubmit();
|
|
49
|
-
} },
|
|
49
|
+
}, size: 'large' },
|
|
50
50
|
React.createElement(Icon, null)
|
|
51
51
|
);
|
|
52
52
|
};
|
|
@@ -113,7 +113,8 @@ var MyInput = function MyInput(_ref3) {
|
|
|
113
113
|
id: resetId,
|
|
114
114
|
'aria-label': resetLabel,
|
|
115
115
|
onKeyPress: onEnterLabel,
|
|
116
|
-
onClick: handleReset
|
|
116
|
+
onClick: handleReset,
|
|
117
|
+
size: 'large'
|
|
117
118
|
},
|
|
118
119
|
React.createElement(RotateLeftIcon, { fontSize: 'small' })
|
|
119
120
|
)
|
|
@@ -3,7 +3,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import * as R from 'ramda';
|
|
6
|
-
import { Grid } from '@material
|
|
6
|
+
import { Grid } from '@mui/material';
|
|
7
7
|
import Input from './Input';
|
|
8
8
|
|
|
9
9
|
var InputProxy = function InputProxy(_ref) {
|
package/es/ChartsConfig/Title.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import * as R from 'ramda';
|
|
4
|
-
import
|
|
5
|
-
import { Grid, Typography } from '@material
|
|
4
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
5
|
+
import { Grid, Typography } from '@mui/material';
|
|
6
6
|
|
|
7
7
|
export var useStyles = makeStyles(function () {
|
|
8
8
|
return {
|