@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
|
@@ -2,10 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import * as R from 'ramda';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import cx from 'classnames';
|
|
5
|
-
import
|
|
6
|
-
import Button from '@material
|
|
7
|
-
import ArrowUp from '@
|
|
8
|
-
import ArrowDown from '@
|
|
5
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
6
|
+
import Button from '@mui/material/Button';
|
|
7
|
+
import ArrowUp from '@mui/icons-material/KeyboardArrowUp';
|
|
8
|
+
import ArrowDown from '@mui/icons-material/KeyboardArrowDown';
|
|
9
9
|
|
|
10
10
|
var useStyles = makeStyles(function (theme) {
|
|
11
11
|
var color1 = R.path(['palette', 'highlight', 'hl1'], theme) || theme.palette.primary.dark;
|
package/es/ToggleButton/index.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Button use api of material ui https://material-ui.com/api/button/
|
|
3
|
-
*
|
|
4
|
-
* textTransform: 'none' | 'capitalize' | 'uppercase' | 'lowercase'
|
|
5
|
-
*
|
|
6
|
-
* @memberOf VISIONS
|
|
7
|
-
* @name ToggleButton
|
|
8
|
-
* @tag component
|
|
9
|
-
* @api public
|
|
10
|
-
* @props
|
|
11
|
-
* ToggleButton.PropTypes = {
|
|
12
|
-
* tabindex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
13
|
-
* testId: PropTypes.string,
|
|
14
|
-
* isOpen: PropTypes.bool,
|
|
15
|
-
* label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
16
|
-
* toggle: PropTypes.func,
|
|
17
|
-
* textTransform: PropTypes.string,
|
|
18
|
-
* };
|
|
19
|
-
*
|
|
20
|
-
* @theme
|
|
21
|
-
* // set toggleButton mixins to null if you wish auto contrasted text
|
|
22
|
-
* {
|
|
23
|
-
* palette: {
|
|
24
|
-
* button: {
|
|
25
|
-
* mainOpacity: // background color of button
|
|
26
|
-
* },
|
|
27
|
-
* highlight: {
|
|
28
|
-
* hl1: // background color hover and selected of button. globale override: outerPalette.highlight1
|
|
29
|
-
* }
|
|
30
|
-
* primary: {
|
|
31
|
-
* main: // used if mainOpacity is null. global override: outerPalette.primaryMain
|
|
32
|
-
* dark: // used if hl1 is null. globale override: outerPalette.primaryDark
|
|
33
|
-
* }
|
|
34
|
-
* },
|
|
35
|
-
* mixins: {
|
|
36
|
-
* toggleButton: {
|
|
37
|
-
* selected: {
|
|
38
|
-
* color: outerPalette.textDark
|
|
39
|
-
* },
|
|
40
|
-
* hover: {
|
|
41
|
-
* color: outerPalette.textDark
|
|
42
|
-
* }
|
|
43
|
-
* }
|
|
44
|
-
* }
|
|
45
|
-
* }
|
|
46
|
-
* @testId
|
|
47
|
-
* root: [testId]
|
|
1
|
+
/**
|
|
2
|
+
* Button use api of material ui https://material-ui.com/api/button/
|
|
3
|
+
*
|
|
4
|
+
* textTransform: 'none' | 'capitalize' | 'uppercase' | 'lowercase'
|
|
5
|
+
*
|
|
6
|
+
* @memberOf VISIONS
|
|
7
|
+
* @name ToggleButton
|
|
8
|
+
* @tag component
|
|
9
|
+
* @api public
|
|
10
|
+
* @props
|
|
11
|
+
* ToggleButton.PropTypes = {
|
|
12
|
+
* tabindex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
13
|
+
* testId: PropTypes.string,
|
|
14
|
+
* isOpen: PropTypes.bool,
|
|
15
|
+
* label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
16
|
+
* toggle: PropTypes.func,
|
|
17
|
+
* textTransform: PropTypes.string,
|
|
18
|
+
* };
|
|
19
|
+
*
|
|
20
|
+
* @theme
|
|
21
|
+
* // set toggleButton mixins to null if you wish auto contrasted text
|
|
22
|
+
* {
|
|
23
|
+
* palette: {
|
|
24
|
+
* button: {
|
|
25
|
+
* mainOpacity: // background color of button
|
|
26
|
+
* },
|
|
27
|
+
* highlight: {
|
|
28
|
+
* hl1: // background color hover and selected of button. globale override: outerPalette.highlight1
|
|
29
|
+
* }
|
|
30
|
+
* primary: {
|
|
31
|
+
* main: // used if mainOpacity is null. global override: outerPalette.primaryMain
|
|
32
|
+
* dark: // used if hl1 is null. globale override: outerPalette.primaryDark
|
|
33
|
+
* }
|
|
34
|
+
* },
|
|
35
|
+
* mixins: {
|
|
36
|
+
* toggleButton: {
|
|
37
|
+
* selected: {
|
|
38
|
+
* color: outerPalette.textDark
|
|
39
|
+
* },
|
|
40
|
+
* hover: {
|
|
41
|
+
* color: outerPalette.textDark
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
* }
|
|
45
|
+
* }
|
|
46
|
+
* @testId
|
|
47
|
+
* root: [testId]
|
|
48
48
|
*/
|
|
49
49
|
|
|
50
50
|
export { default } from './ToggleButton';
|
package/es/Tooltip/Tooltip.js
CHANGED
|
@@ -6,8 +6,8 @@ import React from 'react';
|
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import * as R from 'ramda';
|
|
8
8
|
import cx from 'classnames';
|
|
9
|
-
import
|
|
10
|
-
import Tooltip from '@material
|
|
9
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
10
|
+
import Tooltip from '@mui/material/Tooltip';
|
|
11
11
|
|
|
12
12
|
var useStyles = makeStyles(function (theme) {
|
|
13
13
|
return {
|
|
@@ -49,11 +49,9 @@ var CustomTooltip = function CustomTooltip(_ref) {
|
|
|
49
49
|
|
|
50
50
|
var classes = useStyles();
|
|
51
51
|
return React.createElement(
|
|
52
|
-
Tooltip
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
,
|
|
56
|
-
_extends({ enterNextDelay: 100,
|
|
52
|
+
Tooltip,
|
|
53
|
+
_extends({
|
|
54
|
+
enterNextDelay: 100,
|
|
57
55
|
classes: {
|
|
58
56
|
popper: classes.popper,
|
|
59
57
|
tooltip: cx(R.prop(variant + 'Tooltip')(classes), classes.tooltip)
|
package/es/Tooltip/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tooltip is component based on material ui https://material-ui.com/components/tooltips/.
|
|
3
|
-
* this tooltip has onready integrate favorite style.
|
|
4
|
-
* the tooltip will be placed on free space left, right, top or bottom
|
|
5
|
-
* It has two color "light" and "dark"
|
|
6
|
-
*
|
|
7
|
-
* @memberOf VISIONS
|
|
8
|
-
* @name Tooltip
|
|
9
|
-
* @tag component
|
|
10
|
-
* @api public
|
|
11
|
-
* @props
|
|
12
|
-
* Tooltip.propTypes = {
|
|
13
|
-
* variant: PropTypes.string,
|
|
14
|
-
* children: PropTypes.oneOfType([
|
|
15
|
-
* PropTypes.arrayOf(PropTypes.node),
|
|
16
|
-
* PropTypes.node
|
|
17
|
-
* ])
|
|
18
|
-
* }
|
|
19
|
-
* @theme
|
|
20
|
-
* {
|
|
21
|
-
* palette: {
|
|
22
|
-
* warning: {
|
|
23
|
-
* main: // warning variant
|
|
24
|
-
* },
|
|
25
|
-
* common: {
|
|
26
|
-
* white: // light variant
|
|
27
|
-
* black: // dark variant
|
|
28
|
-
* },
|
|
29
|
-
* primary: {
|
|
30
|
-
* light: // link color. globale override: outerPalette.primaryLight
|
|
31
|
-
* }
|
|
32
|
-
* }
|
|
33
|
-
* }
|
|
1
|
+
/**
|
|
2
|
+
* Tooltip is component based on material ui https://material-ui.com/components/tooltips/.
|
|
3
|
+
* this tooltip has onready integrate favorite style.
|
|
4
|
+
* the tooltip will be placed on free space left, right, top or bottom
|
|
5
|
+
* It has two color "light" and "dark"
|
|
6
|
+
*
|
|
7
|
+
* @memberOf VISIONS
|
|
8
|
+
* @name Tooltip
|
|
9
|
+
* @tag component
|
|
10
|
+
* @api public
|
|
11
|
+
* @props
|
|
12
|
+
* Tooltip.propTypes = {
|
|
13
|
+
* variant: PropTypes.string,
|
|
14
|
+
* children: PropTypes.oneOfType([
|
|
15
|
+
* PropTypes.arrayOf(PropTypes.node),
|
|
16
|
+
* PropTypes.node
|
|
17
|
+
* ])
|
|
18
|
+
* }
|
|
19
|
+
* @theme
|
|
20
|
+
* {
|
|
21
|
+
* palette: {
|
|
22
|
+
* warning: {
|
|
23
|
+
* main: // warning variant
|
|
24
|
+
* },
|
|
25
|
+
* common: {
|
|
26
|
+
* white: // light variant
|
|
27
|
+
* black: // dark variant
|
|
28
|
+
* },
|
|
29
|
+
* primary: {
|
|
30
|
+
* light: // link color. globale override: outerPalette.primaryLight
|
|
31
|
+
* }
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
36
|
export { default } from './Tooltip';
|
|
@@ -4,11 +4,11 @@ import React from 'react';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import * as R from 'ramda';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import
|
|
8
|
-
import TextField from '@material
|
|
9
|
-
import InputAdornment from '@material
|
|
10
|
-
import IconButton from '@material
|
|
11
|
-
import Done from '@
|
|
7
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
8
|
+
import TextField from '@mui/material/TextField';
|
|
9
|
+
import InputAdornment from '@mui/material/InputAdornment';
|
|
10
|
+
import IconButton from '@mui/material/IconButton';
|
|
11
|
+
import Done from '@mui/icons-material/Done';
|
|
12
12
|
import { withInput } from '../Input/with-input';
|
|
13
13
|
|
|
14
14
|
var useStyles = makeStyles(function () {
|
|
@@ -36,7 +36,7 @@ var RightIcon = function RightIcon(_ref2) {
|
|
|
36
36
|
IconButton,
|
|
37
37
|
{ color: 'primary', onClick: function onClick() {
|
|
38
38
|
return onSubmit();
|
|
39
|
-
} },
|
|
39
|
+
}, size: 'large' },
|
|
40
40
|
React.createElement(Icon, null)
|
|
41
41
|
);
|
|
42
42
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Checkbox from '@material
|
|
3
|
-
import FormControlLabel from '@material
|
|
4
|
-
import { Grid, Typography } from '@material
|
|
5
|
-
import
|
|
2
|
+
import Checkbox from '@mui/material/Checkbox';
|
|
3
|
+
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
4
|
+
import { Grid, Typography } from '@mui/material';
|
|
5
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
6
6
|
import * as R from 'ramda';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
@@ -11,7 +11,7 @@ var useStyles = makeStyles(function (theme) {
|
|
|
11
11
|
var _hideContent;
|
|
12
12
|
|
|
13
13
|
return {
|
|
14
|
-
hideContent: (_hideContent = {}, _hideContent[theme.breakpoints.down('
|
|
14
|
+
hideContent: (_hideContent = {}, _hideContent[theme.breakpoints.down('md')] = {
|
|
15
15
|
display: 'none'
|
|
16
16
|
}, _hideContent),
|
|
17
17
|
contentLabel: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { Box, Grid, Tabs, Tab, Typography } from '@material
|
|
4
|
-
import
|
|
3
|
+
import { Box, Grid, Tabs, Tab, Typography } from '@mui/material';
|
|
4
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
5
5
|
import * as R from 'ramda';
|
|
6
6
|
import Permissions from './Permissions';
|
|
7
7
|
|
|
@@ -3,8 +3,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import * as R from 'ramda';
|
|
6
|
-
import { Grid, Typography } from '@material
|
|
7
|
-
import
|
|
6
|
+
import { Grid, Typography } from '@mui/material';
|
|
7
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
8
8
|
import Input from './Input';
|
|
9
9
|
import Button from '../Button';
|
|
10
10
|
import Select from '../Select';
|
|
@@ -361,7 +361,6 @@ var UserRightForm = function UserRightForm(_ref) {
|
|
|
361
361
|
type: 'submit',
|
|
362
362
|
disabled: false,
|
|
363
363
|
variant: 'contained',
|
|
364
|
-
color: 'default',
|
|
365
364
|
alternative: 'siscc',
|
|
366
365
|
onClick: handleCancel,
|
|
367
366
|
size: 'medium',
|
|
@@ -4,14 +4,17 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
4
4
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
|
-
import
|
|
7
|
+
import withStyles from '@mui/styles/withStyles';
|
|
8
8
|
import Button from '../Button';
|
|
9
|
-
import CircularProgress from '@material
|
|
9
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
10
10
|
|
|
11
11
|
var styles = function styles() {
|
|
12
12
|
return {
|
|
13
13
|
root: {
|
|
14
|
-
minWidth: 64
|
|
14
|
+
minWidth: 64,
|
|
15
|
+
display: 'flex',
|
|
16
|
+
flexDirection: 'column',
|
|
17
|
+
alignItems: 'center'
|
|
15
18
|
},
|
|
16
19
|
startIcon: {
|
|
17
20
|
margin: 0
|
|
@@ -38,8 +41,7 @@ var VerticalButton = React.forwardRef(function (_ref, ref) {
|
|
|
38
41
|
_extends({
|
|
39
42
|
classes: {
|
|
40
43
|
root: classes.root,
|
|
41
|
-
startIcon: classes.startIcon
|
|
42
|
-
label: classes.label
|
|
44
|
+
startIcon: classes.startIcon
|
|
43
45
|
},
|
|
44
46
|
selected: selected,
|
|
45
47
|
startIcon: loading ? React.createElement(CircularProgress, { size: sizeLoading }) : startIcon,
|
|
@@ -3,14 +3,14 @@ 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 ListItemText from '@material
|
|
9
|
-
import IconButton from '@material
|
|
10
|
-
import SvgIcon from '@material
|
|
11
|
-
import Icon from '@material
|
|
12
|
-
import CheckBoxIcon from '@
|
|
13
|
-
import CheckedBoxIcon from '@
|
|
6
|
+
import ListItem from '@mui/material/ListItem';
|
|
7
|
+
import Typography from '@mui/material/Typography';
|
|
8
|
+
import ListItemText from '@mui/material/ListItemText';
|
|
9
|
+
import IconButton from '@mui/material/IconButton';
|
|
10
|
+
import SvgIcon from '@mui/material/SvgIcon';
|
|
11
|
+
import Icon from '@mui/material/SvgIcon';
|
|
12
|
+
import CheckBoxIcon from '@mui/icons-material/CheckBoxOutlineBlankOutlined';
|
|
13
|
+
import CheckedBoxIcon from '@mui/icons-material/CheckBoxOutlined';
|
|
14
14
|
import cx from 'classnames';
|
|
15
15
|
import { Tooltip } from '../';
|
|
16
16
|
import useKeyboardEscapeHandler from '../hooks/useKeybordEscapeHandler';
|
|
@@ -134,7 +134,7 @@ var Item = function Item(_ref) {
|
|
|
134
134
|
'aria-label': description,
|
|
135
135
|
'aria-hidden': false,
|
|
136
136
|
placement: 'top',
|
|
137
|
-
|
|
137
|
+
disableInteractive: Boolean(HTMLRenderer) === false,
|
|
138
138
|
onOpen: function onOpen() {
|
|
139
139
|
return setOpen(true);
|
|
140
140
|
},
|
|
@@ -5,10 +5,10 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import * as R from 'ramda';
|
|
6
6
|
import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer';
|
|
7
7
|
import VirtualizedList from 'react-virtualized/dist/commonjs/List';
|
|
8
|
-
import ExpandMoreIcon from '@
|
|
9
|
-
import ExpandLessIcon from '@
|
|
8
|
+
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
|
9
|
+
import ExpandLessIcon from '@mui/icons-material/ExpandLess';
|
|
10
10
|
import Item from './Item';
|
|
11
|
-
import { useTheme } from '@material
|
|
11
|
+
import { useTheme } from '@mui/material';
|
|
12
12
|
import { useStyles, height as rowHeight } from '../ScopeList/styles';
|
|
13
13
|
import { getDepth, getHierarchicalId, isItemSelected as _isItemSelected, getDeprecatedIds, getDuplicates, getImposedItems } from './utils';
|
|
14
14
|
import { getIsRtl } from '../utils';
|
package/es/theme.js
CHANGED
|
@@ -23,7 +23,7 @@ export var sisccTheme = function sisccTheme(_ref) {
|
|
|
23
23
|
|
|
24
24
|
var buttonBaseFocus = {
|
|
25
25
|
borderColor: outerPalette.highlight1 || innerPalette.highlight1,
|
|
26
|
-
'
|
|
26
|
+
'&.Mui-focused': {
|
|
27
27
|
outlineColor: outerPalette.highlight1 || innerPalette.highlight1,
|
|
28
28
|
outlineWidth: 1,
|
|
29
29
|
outlineStyle: 'auto'
|
|
@@ -38,107 +38,132 @@ export var sisccTheme = function sisccTheme(_ref) {
|
|
|
38
38
|
|
|
39
39
|
return {
|
|
40
40
|
direction: rtl,
|
|
41
|
-
|
|
41
|
+
components: {
|
|
42
42
|
MuiButtonBase: {
|
|
43
|
-
|
|
43
|
+
defaultProps: {
|
|
44
|
+
disableRipple: true
|
|
45
|
+
},
|
|
46
|
+
styleOverrides: {
|
|
47
|
+
root: isA11y && buttonBaseFocus
|
|
48
|
+
}
|
|
44
49
|
},
|
|
45
50
|
MuiUseMediaQuery: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
defaultProps: {
|
|
52
|
+
noSsr: true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
50
55
|
MuiCheckbox: {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
colorSecondary: {
|
|
55
|
-
'&$checked': {
|
|
56
|
+
styleOverrides: {
|
|
57
|
+
root: {
|
|
56
58
|
color: outerPalette.primaryMain || innerPalette.primaryMain
|
|
59
|
+
},
|
|
60
|
+
colorSecondary: {
|
|
61
|
+
'&$checked': {
|
|
62
|
+
color: outerPalette.primaryMain || innerPalette.primaryMain
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
65
|
}
|
|
59
66
|
},
|
|
60
67
|
MuiTableCell: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
styleOverrides: {
|
|
69
|
+
head: {
|
|
70
|
+
lineHeight: 1.43
|
|
71
|
+
},
|
|
72
|
+
sizeSmall: {
|
|
73
|
+
'&:last-child': {
|
|
74
|
+
paddingRight: 9
|
|
75
|
+
}
|
|
67
76
|
}
|
|
68
77
|
}
|
|
69
78
|
},
|
|
70
|
-
MuiButtonBase: {
|
|
71
|
-
root: isA11y && buttonBaseFocus
|
|
72
|
-
},
|
|
73
79
|
MuiAccordion: {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
80
|
+
styleOverrides: {
|
|
81
|
+
root: {
|
|
82
|
+
'&$expanded': {
|
|
83
|
+
margin: 0
|
|
84
|
+
}
|
|
77
85
|
}
|
|
78
86
|
}
|
|
79
87
|
},
|
|
80
88
|
MuiButton: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
89
|
+
styleOverrides: {
|
|
90
|
+
root: {
|
|
91
|
+
textTransform: 'none'
|
|
92
|
+
},
|
|
93
|
+
textPrimary: {
|
|
94
|
+
'&:hover': {
|
|
95
|
+
backgroundColor: '' + (outerPalette.hover || innerPalette.hover)
|
|
96
|
+
}
|
|
87
97
|
}
|
|
88
98
|
}
|
|
89
99
|
},
|
|
90
100
|
MuiMenuItem: {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
101
|
+
styleOverrides: {
|
|
102
|
+
root: {
|
|
103
|
+
color: outerPalette.primaryMain || innerPalette.primaryMain,
|
|
104
|
+
'&$selected': {
|
|
105
|
+
backgroundColor: outerPalette.hover || innerPalette.hover,
|
|
106
|
+
'&:hover': {
|
|
107
|
+
backgroundColor: outerPalette.selected || innerPalette.selected
|
|
108
|
+
}
|
|
97
109
|
}
|
|
98
110
|
}
|
|
99
111
|
}
|
|
100
112
|
},
|
|
101
113
|
MuiOutlinedInput: {
|
|
102
|
-
|
|
103
|
-
|
|
114
|
+
styleOverrides: {
|
|
115
|
+
root: {
|
|
116
|
+
'&.Mui-focused': isA11y && focus
|
|
117
|
+
}
|
|
104
118
|
}
|
|
105
119
|
},
|
|
106
120
|
MuiTypography: {
|
|
107
|
-
|
|
108
|
-
|
|
121
|
+
styleOverrides: {
|
|
122
|
+
root: {
|
|
123
|
+
'&.Mui-focused': isA11y && focus
|
|
124
|
+
}
|
|
109
125
|
}
|
|
110
126
|
},
|
|
111
127
|
MuiLink: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
128
|
+
styleOverrides: {
|
|
129
|
+
root: {
|
|
130
|
+
color: outerPalette.primaryMain || innerPalette.primaryMain,
|
|
131
|
+
'&:hover': {
|
|
132
|
+
color: outerPalette.primaryLight || innerPalette.primaryLight
|
|
133
|
+
},
|
|
134
|
+
'&.Mui-focused': isA11y && focus
|
|
116
135
|
},
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
'&:focus': isA11y && focus
|
|
136
|
+
button: {
|
|
137
|
+
'&.Mui-focused': isA11y && focus
|
|
138
|
+
}
|
|
121
139
|
}
|
|
122
140
|
},
|
|
123
141
|
MuiAlert: {
|
|
124
|
-
|
|
125
|
-
|
|
142
|
+
styleOverrides: {
|
|
143
|
+
filledSuccess: {
|
|
144
|
+
color: outerPalette.textDark || innerPalette.textDark
|
|
145
|
+
}
|
|
126
146
|
}
|
|
127
147
|
},
|
|
128
148
|
MuiInputBase: {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
149
|
+
styleOverrides: {
|
|
150
|
+
root: {
|
|
151
|
+
fontSize: '1rem'
|
|
152
|
+
},
|
|
153
|
+
input: {
|
|
154
|
+
height: '1.25em'
|
|
155
|
+
}
|
|
134
156
|
}
|
|
135
157
|
},
|
|
136
158
|
MuiFormLabel: {
|
|
137
|
-
|
|
138
|
-
|
|
159
|
+
styleOverrides: {
|
|
160
|
+
root: {
|
|
161
|
+
fontSize: '1rem'
|
|
162
|
+
}
|
|
139
163
|
}
|
|
140
164
|
}
|
|
141
165
|
},
|
|
166
|
+
|
|
142
167
|
palette: {
|
|
143
168
|
background: {
|
|
144
169
|
default: '#ffffff'
|