@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
package/es/Logo/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Logo is basic component for show your logo, you can add children if you want to add subtitle
|
|
3
|
-
*
|
|
4
|
-
* @memberOf VISIONS
|
|
5
|
-
* @name Logo
|
|
6
|
-
* @tag component
|
|
7
|
-
* @api public
|
|
8
|
-
* @props
|
|
9
|
-
* Logo.propTypes = {
|
|
10
|
-
* logo: PropTypes.string,
|
|
11
|
-
* maxHeight: PropTypes.number,
|
|
12
|
-
* children: PropTypes.object,
|
|
13
|
-
* };
|
|
14
|
-
* @theme
|
|
15
|
-
* // no custom theme there
|
|
1
|
+
/**
|
|
2
|
+
* Logo is basic component for show your logo, you can add children if you want to add subtitle
|
|
3
|
+
*
|
|
4
|
+
* @memberOf VISIONS
|
|
5
|
+
* @name Logo
|
|
6
|
+
* @tag component
|
|
7
|
+
* @api public
|
|
8
|
+
* @props
|
|
9
|
+
* Logo.propTypes = {
|
|
10
|
+
* logo: PropTypes.string,
|
|
11
|
+
* maxHeight: PropTypes.number,
|
|
12
|
+
* children: PropTypes.object,
|
|
13
|
+
* };
|
|
14
|
+
* @theme
|
|
15
|
+
* // no custom theme there
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
export { default } from './Logo';
|
package/es/Mode/Mode.js
CHANGED
|
@@ -3,10 +3,10 @@ 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
|
|
7
|
-
import RadioGroup from '@material
|
|
8
|
-
import FormControlLabel from '@material
|
|
9
|
-
import Radio from '@material
|
|
6
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
7
|
+
import RadioGroup from '@mui/material/RadioGroup';
|
|
8
|
+
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
9
|
+
import Radio from '@mui/material/Radio';
|
|
10
10
|
import { Tooltip } from '../';
|
|
11
11
|
import useKeyboardEscapeHandler from '../hooks/useKeybordEscapeHandler';
|
|
12
12
|
|
|
@@ -43,7 +43,6 @@ var Warning = function Warning(_ref) {
|
|
|
43
43
|
variant: 'light',
|
|
44
44
|
'aria-label': title,
|
|
45
45
|
'aria-hidden': false,
|
|
46
|
-
interactive: true,
|
|
47
46
|
open: open,
|
|
48
47
|
onOpen: function onOpen() {
|
|
49
48
|
return setOpen(true);
|
package/es/NoData/NoData.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import
|
|
4
|
-
import Typography from '@material
|
|
5
|
-
import Error from '@
|
|
3
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
4
|
+
import Typography from '@mui/material/Typography';
|
|
5
|
+
import Error from '@mui/icons-material/Error';
|
|
6
6
|
|
|
7
7
|
var useStyles = makeStyles(function () {
|
|
8
8
|
return {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import * as R from 'ramda';
|
|
4
|
-
import
|
|
5
|
-
import KeyboardArrowLeft from '@
|
|
6
|
-
import KeyboardArrowRight from '@
|
|
7
|
-
import IconButton from '@material
|
|
8
|
-
import FirstPageIcon from '@
|
|
9
|
-
import LastPageIcon from '@
|
|
10
|
-
import TextField from '@material
|
|
11
|
-
import Typography from '@material
|
|
12
|
-
import { useTheme } from '@material
|
|
4
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
5
|
+
import KeyboardArrowLeft from '@mui/icons-material/KeyboardArrowLeft';
|
|
6
|
+
import KeyboardArrowRight from '@mui/icons-material/KeyboardArrowRight';
|
|
7
|
+
import IconButton from '@mui/material/IconButton';
|
|
8
|
+
import FirstPageIcon from '@mui/icons-material/FirstPage';
|
|
9
|
+
import LastPageIcon from '@mui/icons-material/LastPage';
|
|
10
|
+
import TextField from '@mui/material/TextField';
|
|
11
|
+
import Typography from '@mui/material/Typography';
|
|
12
|
+
import { useTheme } from '@mui/material/styles';
|
|
13
13
|
import { withBlank } from '../utils';
|
|
14
14
|
|
|
15
15
|
var useStyles = makeStyles(function (theme) {
|
package/es/Pagination/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pagination
|
|
3
|
-
*
|
|
4
|
-
* @memberOf VISIONS
|
|
5
|
-
* @name Pagination
|
|
6
|
-
* @tag component
|
|
7
|
-
* @api public
|
|
8
|
-
* @props
|
|
9
|
-
* Pagination.propTypes = {
|
|
10
|
-
* page: PropTypes.number,
|
|
11
|
-
* pages: PropTypes.number,
|
|
12
|
-
* onChange: PropTypes.func,
|
|
13
|
-
* onSubmit: PropTypes.func,
|
|
14
|
-
* labels: PropTypes.shape({
|
|
15
|
-
* page: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
16
|
-
* of: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
17
|
-
* startPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
18
|
-
* previousPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
19
|
-
* nextPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
20
|
-
* endPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
21
|
-
* }),
|
|
22
|
-
* };
|
|
23
|
-
* @theme
|
|
24
|
-
* {
|
|
25
|
-
* typography: {
|
|
26
|
-
* fontSize: // input font size
|
|
27
|
-
* }
|
|
28
|
-
* }
|
|
1
|
+
/**
|
|
2
|
+
* Pagination
|
|
3
|
+
*
|
|
4
|
+
* @memberOf VISIONS
|
|
5
|
+
* @name Pagination
|
|
6
|
+
* @tag component
|
|
7
|
+
* @api public
|
|
8
|
+
* @props
|
|
9
|
+
* Pagination.propTypes = {
|
|
10
|
+
* page: PropTypes.number,
|
|
11
|
+
* pages: PropTypes.number,
|
|
12
|
+
* onChange: PropTypes.func,
|
|
13
|
+
* onSubmit: PropTypes.func,
|
|
14
|
+
* labels: PropTypes.shape({
|
|
15
|
+
* page: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
16
|
+
* of: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
17
|
+
* startPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
18
|
+
* previousPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
19
|
+
* nextPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
20
|
+
* endPage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
21
|
+
* }),
|
|
22
|
+
* };
|
|
23
|
+
* @theme
|
|
24
|
+
* {
|
|
25
|
+
* typography: {
|
|
26
|
+
* fontSize: // input font size
|
|
27
|
+
* }
|
|
28
|
+
* }
|
|
29
29
|
**/
|
|
30
30
|
|
|
31
31
|
export { default } from './Pagination';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import * as R from 'ramda';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import dateFns from 'date-fns';
|
|
5
|
-
import Grid from '@material
|
|
5
|
+
import Grid from '@mui/material/Grid';
|
|
6
6
|
import { numeralFormat } from './lib';
|
|
7
7
|
import { Select } from '../';
|
|
8
8
|
import useStyles from './styles';
|
package/es/PeriodPicker/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PeriodPicker allow to choice a period regarding a frequency
|
|
3
|
-
*
|
|
4
|
-
* @memberOf VISIONS
|
|
5
|
-
* @name PeriodPicker
|
|
6
|
-
* @tag component
|
|
7
|
-
* @api public
|
|
8
|
-
* @props
|
|
9
|
-
* Period.propTypes = {
|
|
10
|
-
* defaultFrequency: PropTypes.string,
|
|
11
|
-
* availableFrequencies: PropTypes.array,
|
|
12
|
-
* boundaries: PropTypes.array,
|
|
13
|
-
* changePeriod: PropTypes.func,
|
|
14
|
-
* changeFrequency: PropTypes.func,
|
|
15
|
-
* period: PropTypes.array,
|
|
16
|
-
* labels: PropTypes.object,
|
|
17
|
-
* periodDisabled: PropTypes.bool,
|
|
18
|
-
* frequencyDisabled: PropTypes.bool,
|
|
19
|
-
* };
|
|
20
|
-
* @theme
|
|
21
|
-
* // Select (drop down list, See Select Component)
|
|
22
|
-
* // no custom theme there
|
|
23
|
-
* @demoReady
|
|
1
|
+
/**
|
|
2
|
+
* PeriodPicker allow to choice a period regarding a frequency
|
|
3
|
+
*
|
|
4
|
+
* @memberOf VISIONS
|
|
5
|
+
* @name PeriodPicker
|
|
6
|
+
* @tag component
|
|
7
|
+
* @api public
|
|
8
|
+
* @props
|
|
9
|
+
* Period.propTypes = {
|
|
10
|
+
* defaultFrequency: PropTypes.string,
|
|
11
|
+
* availableFrequencies: PropTypes.array,
|
|
12
|
+
* boundaries: PropTypes.array,
|
|
13
|
+
* changePeriod: PropTypes.func,
|
|
14
|
+
* changeFrequency: PropTypes.func,
|
|
15
|
+
* period: PropTypes.array,
|
|
16
|
+
* labels: PropTypes.object,
|
|
17
|
+
* periodDisabled: PropTypes.bool,
|
|
18
|
+
* frequencyDisabled: PropTypes.bool,
|
|
19
|
+
* };
|
|
20
|
+
* @theme
|
|
21
|
+
* // Select (drop down list, See Select Component)
|
|
22
|
+
* // no custom theme there
|
|
23
|
+
* @demoReady
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
export { default } from './PeriodPicker';
|
package/es/ScopeList/Header.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
2
|
import * as R from 'ramda';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import Typography from '@material
|
|
5
|
-
import NavigateBefore from '@
|
|
6
|
-
import NavigateNext from '@
|
|
4
|
+
import Typography from '@mui/material/Typography';
|
|
5
|
+
import NavigateBefore from '@mui/icons-material/NavigateBefore';
|
|
6
|
+
import NavigateNext from '@mui/icons-material/NavigateNext';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import { Tooltip } from '../';
|
|
9
9
|
|
package/es/ScopeList/Item.js
CHANGED
|
@@ -3,12 +3,12 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import * as R from 'ramda';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import ListItem from '@material
|
|
7
|
-
import Typography from '@material
|
|
8
|
-
import ListItemSecondaryAction from '@material
|
|
9
|
-
import ListItemText from '@material
|
|
10
|
-
import IconButton from '@material
|
|
11
|
-
import SvgIcon from '@material
|
|
6
|
+
import ListItem from '@mui/material/ListItem';
|
|
7
|
+
import Typography from '@mui/material/Typography';
|
|
8
|
+
import ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction';
|
|
9
|
+
import ListItemText from '@mui/material/ListItemText';
|
|
10
|
+
import IconButton from '@mui/material/IconButton';
|
|
11
|
+
import SvgIcon from '@mui/material/SvgIcon';
|
|
12
12
|
import cx from 'classnames';
|
|
13
13
|
import { Tooltip } from '../';
|
|
14
14
|
|
|
@@ -5,13 +5,13 @@ import * as R from 'ramda';
|
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer';
|
|
7
7
|
import VirtualizedList from 'react-virtualized/dist/commonjs/List';
|
|
8
|
-
import { useTheme } from '@material
|
|
9
|
-
import List from '@material
|
|
10
|
-
import Container from '@material
|
|
11
|
-
import NavigateBefore from '@
|
|
12
|
-
import NavigateNext from '@
|
|
13
|
-
import HourglassEmptyIcon from '@
|
|
14
|
-
import PlaylistAddCheckIcon from '@
|
|
8
|
+
import { useTheme } from '@mui/material';
|
|
9
|
+
import List from '@mui/material/List';
|
|
10
|
+
import Container from '@mui/material/Container';
|
|
11
|
+
import NavigateBefore from '@mui/icons-material/NavigateBefore';
|
|
12
|
+
import NavigateNext from '@mui/icons-material/NavigateNext';
|
|
13
|
+
import HourglassEmptyIcon from '@mui/icons-material/HourglassEmpty';
|
|
14
|
+
import PlaylistAddCheckIcon from '@mui/icons-material/PlaylistAddCheck';
|
|
15
15
|
import Selection from './Selection';
|
|
16
16
|
import { withScopeList } from './with-scope-list';
|
|
17
17
|
import Header from './Header';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as R from 'ramda';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import List from '@material
|
|
5
|
-
import ListItem from '@material
|
|
6
|
-
import ListItemText from '@material
|
|
7
|
-
import Collapse from '@material
|
|
8
|
-
import Paper from '@material
|
|
9
|
-
import Typography from '@material
|
|
10
|
-
import Divider from '@material
|
|
4
|
+
import List from '@mui/material/List';
|
|
5
|
+
import ListItem from '@mui/material/ListItem';
|
|
6
|
+
import ListItemText from '@mui/material/ListItemText';
|
|
7
|
+
import Collapse from '@mui/material/Collapse';
|
|
8
|
+
import Paper from '@mui/material/Paper';
|
|
9
|
+
import Typography from '@mui/material/Typography';
|
|
10
|
+
import Divider from '@mui/material/Divider';
|
|
11
11
|
import cx from 'classnames';
|
|
12
12
|
|
|
13
13
|
var CustomListItem = function CustomListItem(_ref) {
|
package/es/ScopeList/styles.js
CHANGED
package/es/Select/Select.js
CHANGED
|
@@ -3,10 +3,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3
3
|
import React, { useEffect } from 'react';
|
|
4
4
|
import * as R from 'ramda';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import
|
|
7
|
-
import TextField from '@material
|
|
8
|
-
import MenuItem from '@material
|
|
9
|
-
import { Typography } from '@material
|
|
6
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
7
|
+
import TextField from '@mui/material/TextField';
|
|
8
|
+
import MenuItem from '@mui/material/MenuItem';
|
|
9
|
+
import { Typography } from '@mui/material';
|
|
10
10
|
import cx from 'classnames';
|
|
11
11
|
|
|
12
12
|
var useStyles = makeStyles(function (theme) {
|
package/es/Select/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select boilerplate based on MUI components
|
|
3
|
-
*
|
|
4
|
-
* @memberOf VISIONS
|
|
5
|
-
* @name Select
|
|
6
|
-
* @tag component
|
|
7
|
-
* @api public
|
|
8
|
-
* @props
|
|
9
|
-
* Select.propTypes = {
|
|
10
|
-
* id: PropTypes.string,
|
|
11
|
-
* value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
12
|
-
* label: PropTypes.oneOfType([
|
|
13
|
-
* PropTypes.string,
|
|
14
|
-
* PropTypes.number,
|
|
15
|
-
* PropTypes.element,
|
|
16
|
-
* ]),
|
|
17
|
-
* items: PropTypes.array,
|
|
18
|
-
* onChange: PropTypes.func,
|
|
19
|
-
* textFieldProps: PropTypes.object,
|
|
20
|
-
* valueAccessor: PropTypes.func,
|
|
21
|
-
* labelAccessor: PropTypes.func,
|
|
22
|
-
* isMultiple: PropTypes.bool,
|
|
23
|
-
* };
|
|
24
|
-
* @theme
|
|
25
|
-
* {
|
|
26
|
-
* typography: {
|
|
27
|
-
* body2: // font, color
|
|
28
|
-
* }
|
|
29
|
-
* }
|
|
30
|
-
* @demoReady
|
|
1
|
+
/**
|
|
2
|
+
* Select boilerplate based on MUI components
|
|
3
|
+
*
|
|
4
|
+
* @memberOf VISIONS
|
|
5
|
+
* @name Select
|
|
6
|
+
* @tag component
|
|
7
|
+
* @api public
|
|
8
|
+
* @props
|
|
9
|
+
* Select.propTypes = {
|
|
10
|
+
* id: PropTypes.string,
|
|
11
|
+
* value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
12
|
+
* label: PropTypes.oneOfType([
|
|
13
|
+
* PropTypes.string,
|
|
14
|
+
* PropTypes.number,
|
|
15
|
+
* PropTypes.element,
|
|
16
|
+
* ]),
|
|
17
|
+
* items: PropTypes.array,
|
|
18
|
+
* onChange: PropTypes.func,
|
|
19
|
+
* textFieldProps: PropTypes.object,
|
|
20
|
+
* valueAccessor: PropTypes.func,
|
|
21
|
+
* labelAccessor: PropTypes.func,
|
|
22
|
+
* isMultiple: PropTypes.bool,
|
|
23
|
+
* };
|
|
24
|
+
* @theme
|
|
25
|
+
* {
|
|
26
|
+
* typography: {
|
|
27
|
+
* body2: // font, color
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
* @demoReady
|
|
31
31
|
**/
|
|
32
32
|
|
|
33
33
|
export { default } from './Select';
|
package/es/Share/Form.js
CHANGED
|
@@ -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
|
|
5
|
-
import Typography from '@material
|
|
6
|
-
import Grid from '@material
|
|
7
|
-
import CircularProgress from '@material
|
|
4
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
5
|
+
import Typography from '@mui/material/Typography';
|
|
6
|
+
import Grid from '@mui/material/Grid';
|
|
7
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
8
8
|
import { validate as getIsValidEmail } from 'isemail';
|
|
9
9
|
import Input from '../Input';
|
|
10
10
|
import Alert from '../Alert';
|
package/es/Share/Mode.js
CHANGED
|
@@ -3,13 +3,14 @@ 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 Card from '@material
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
6
|
+
import Card from '@mui/material/Card';
|
|
7
|
+
import { useTheme } from '@mui/material/styles';
|
|
8
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
9
|
+
import CardContent from '@mui/material/CardContent';
|
|
10
|
+
import Typography from '@mui/material/Typography';
|
|
11
|
+
import RadioGroup from '@mui/material/RadioGroup';
|
|
12
|
+
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
13
|
+
import Radio from '@mui/material/Radio';
|
|
13
14
|
import { Tooltip, Warning as WarningIcon } from '../';
|
|
14
15
|
|
|
15
16
|
var useStyles = makeStyles(function (theme) {
|
package/es/Share/Share.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import * as R from 'ramda';
|
|
4
|
-
import
|
|
5
|
-
import Paper from '@material
|
|
6
|
-
import Grid from '@material
|
|
4
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
5
|
+
import Paper from '@mui/material/Paper';
|
|
6
|
+
import Grid from '@mui/material/Grid';
|
|
7
7
|
import Form from './Form';
|
|
8
8
|
import Mode from './Mode';
|
|
9
9
|
import { withBlank } from '../utils';
|
package/es/Share/index.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Share, it's a component to prepare your type of share
|
|
3
|
-
*
|
|
4
|
-
* @memberOf VISIONS
|
|
5
|
-
* @name Share
|
|
6
|
-
* @tag component
|
|
7
|
-
* @api public
|
|
8
|
-
* @props
|
|
9
|
-
* Share.propTypes = {
|
|
10
|
-
* changeIsMessageOpen: PropTypes.func,
|
|
11
|
-
* changeMode: PropTypes.func,
|
|
12
|
-
* changeMail: PropTypes.func,
|
|
13
|
-
* share: PropTypes.func,
|
|
14
|
-
* hasError: PropTypes.bool,
|
|
15
|
-
* isMessageOpen: PropTypes.bool,
|
|
16
|
-
* isSharing: PropTypes.bool,
|
|
17
|
-
* mail: PropTypes.string,
|
|
18
|
-
* mode: PropTypes.string,
|
|
19
|
-
* modes: PropTypes.arrayOf(
|
|
20
|
-
* PropTypes.shape({
|
|
21
|
-
* label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
22
|
-
* value: PropTypes.string,
|
|
23
|
-
* warningMessage: PropTypes.string,
|
|
24
|
-
* }),
|
|
25
|
-
* ),
|
|
26
|
-
* labels: PropTypes.shape({
|
|
27
|
-
* title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
28
|
-
* disclaimer: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
29
|
-
* submit: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
30
|
-
* email: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
31
|
-
* successTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
32
|
-
* successMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
33
|
-
* errorTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
34
|
-
* errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
35
|
-
* }),
|
|
36
|
-
* };
|
|
37
|
-
* @theme
|
|
38
|
-
* {
|
|
39
|
-
* palette: {
|
|
40
|
-
* secondary: {
|
|
41
|
-
* dark: // background color of share mode
|
|
42
|
-
* },
|
|
43
|
-
* tertiary: {
|
|
44
|
-
* dark: // background color of disclaimer
|
|
45
|
-
* },
|
|
46
|
-
* grey: {
|
|
47
|
-
* 100: // used if tertiary is null
|
|
48
|
-
* }
|
|
49
|
-
* divider: // divider color
|
|
50
|
-
* },
|
|
51
|
-
* typography: {
|
|
52
|
-
* body2: // font, color of mode's label
|
|
53
|
-
* },
|
|
54
|
-
* mixins: {
|
|
55
|
-
* share: {
|
|
56
|
-
* tile: // font, color...
|
|
57
|
-
* warning: // font, color, height...
|
|
58
|
-
* }
|
|
59
|
-
* }
|
|
60
|
-
* }
|
|
61
|
-
* @demoReady
|
|
1
|
+
/**
|
|
2
|
+
* Share, it's a component to prepare your type of share
|
|
3
|
+
*
|
|
4
|
+
* @memberOf VISIONS
|
|
5
|
+
* @name Share
|
|
6
|
+
* @tag component
|
|
7
|
+
* @api public
|
|
8
|
+
* @props
|
|
9
|
+
* Share.propTypes = {
|
|
10
|
+
* changeIsMessageOpen: PropTypes.func,
|
|
11
|
+
* changeMode: PropTypes.func,
|
|
12
|
+
* changeMail: PropTypes.func,
|
|
13
|
+
* share: PropTypes.func,
|
|
14
|
+
* hasError: PropTypes.bool,
|
|
15
|
+
* isMessageOpen: PropTypes.bool,
|
|
16
|
+
* isSharing: PropTypes.bool,
|
|
17
|
+
* mail: PropTypes.string,
|
|
18
|
+
* mode: PropTypes.string,
|
|
19
|
+
* modes: PropTypes.arrayOf(
|
|
20
|
+
* PropTypes.shape({
|
|
21
|
+
* label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
22
|
+
* value: PropTypes.string,
|
|
23
|
+
* warningMessage: PropTypes.string,
|
|
24
|
+
* }),
|
|
25
|
+
* ),
|
|
26
|
+
* labels: PropTypes.shape({
|
|
27
|
+
* title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
28
|
+
* disclaimer: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
29
|
+
* submit: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
30
|
+
* email: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
31
|
+
* successTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
32
|
+
* successMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
33
|
+
* errorTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
34
|
+
* errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
35
|
+
* }),
|
|
36
|
+
* };
|
|
37
|
+
* @theme
|
|
38
|
+
* {
|
|
39
|
+
* palette: {
|
|
40
|
+
* secondary: {
|
|
41
|
+
* dark: // background color of share mode
|
|
42
|
+
* },
|
|
43
|
+
* tertiary: {
|
|
44
|
+
* dark: // background color of disclaimer
|
|
45
|
+
* },
|
|
46
|
+
* grey: {
|
|
47
|
+
* 100: // used if tertiary is null
|
|
48
|
+
* }
|
|
49
|
+
* divider: // divider color
|
|
50
|
+
* },
|
|
51
|
+
* typography: {
|
|
52
|
+
* body2: // font, color of mode's label
|
|
53
|
+
* },
|
|
54
|
+
* mixins: {
|
|
55
|
+
* share: {
|
|
56
|
+
* tile: // font, color...
|
|
57
|
+
* warning: // font, color, height...
|
|
58
|
+
* }
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
|
+
* @demoReady
|
|
62
62
|
*/
|
|
63
63
|
|
|
64
64
|
export { default } from './Share';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import Grid from '@material
|
|
4
|
+
import Grid from '@mui/material/Grid';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import * as R from 'ramda';
|
|
7
|
-
import
|
|
8
|
-
import TextareaAutosize from '@material
|
|
9
|
-
import Typography from '@material
|
|
10
|
-
import useMediaQuery from '@material
|
|
11
|
-
import IconButton from '@material
|
|
12
|
-
import Collapse from '@material
|
|
13
|
-
import CloseIcon from '@
|
|
7
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
8
|
+
import TextareaAutosize from '@mui/material/TextareaAutosize';
|
|
9
|
+
import Typography from '@mui/material/Typography';
|
|
10
|
+
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
11
|
+
import IconButton from '@mui/material/IconButton';
|
|
12
|
+
import Collapse from '@mui/material/Collapse';
|
|
13
|
+
import CloseIcon from '@mui/icons-material/Close';
|
|
14
14
|
import { Alert, Button } from '../';
|
|
15
|
-
import { CircularProgress } from '@material
|
|
15
|
+
import { CircularProgress } from '@mui/material';
|
|
16
16
|
|
|
17
17
|
var useStyles = makeStyles(function (theme) {
|
|
18
18
|
return {
|
|
@@ -45,7 +45,7 @@ var ShortUrls = function ShortUrls(_ref) {
|
|
|
45
45
|
setIsNotifOpen = _ref.setIsNotifOpen;
|
|
46
46
|
|
|
47
47
|
var isNarrow = useMediaQuery(function (theme) {
|
|
48
|
-
return theme.breakpoints.down('
|
|
48
|
+
return theme.breakpoints.down('md');
|
|
49
49
|
});
|
|
50
50
|
var classes = useStyles();
|
|
51
51
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import cx from 'classnames';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
4
|
+
import { useTheme } from '@mui/material/styles';
|
|
5
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
6
|
+
import AppBar from '@mui/material/AppBar';
|
|
7
|
+
import Toolbar from '@mui/material/Toolbar';
|
|
8
|
+
import Grid from '@mui/material/Grid';
|
|
9
|
+
import Typography from '@mui/material/Typography';
|
|
9
10
|
import { getIsRtl } from '../utils';
|
|
10
11
|
|
|
11
12
|
var useStyles = makeStyles(function (theme) {
|
package/es/Spotlight/Fields.js
CHANGED
|
@@ -2,10 +2,10 @@ import React, { Fragment } from 'react';
|
|
|
2
2
|
import * as R from 'ramda';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import cx from 'classnames';
|
|
5
|
-
import Popover from '@material
|
|
6
|
-
import Button from '@material
|
|
7
|
-
import ArrowDropDownIcon from '@
|
|
8
|
-
import Check from '@
|
|
5
|
+
import Popover from '@mui/material/Popover';
|
|
6
|
+
import Button from '@mui/material/Button';
|
|
7
|
+
import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown';
|
|
8
|
+
import Check from '@mui/icons-material/Check';
|
|
9
9
|
|
|
10
10
|
export var Field = function Field(_ref) {
|
|
11
11
|
var _ref$spotlight = _ref.spotlight,
|