@sis-cc/dotstatsuite-visions 12.30.0 → 12.32.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.
Files changed (44) hide show
  1. package/es/AdvancedFilterDialog/AdvancedFilterDialog.js +1 -1
  2. package/es/Button/Button.js +1 -1
  3. package/es/ChartsConfig/ChartsConfig.js +3 -1
  4. package/es/ChartsConfig/InputProxy.js +1 -1
  5. package/es/ChartsConfig/Title.js +2 -1
  6. package/es/CollapseButtons/CollapseButtons.js +1 -1
  7. package/es/Contact/Contact.js +6 -1
  8. package/es/DataHeader/DataHeader.js +1 -1
  9. package/es/DynamicDrawer/AdvancedSelection.js +2 -2
  10. package/es/DynamicDrawer/DynamicDrawer.js +9 -8
  11. package/es/DynamicDrawer/SelectionModesMobile.js +3 -1
  12. package/es/PeriodPicker/PeriodPicker.js +2 -1
  13. package/es/ScopeList/index.js +94 -0
  14. package/es/Select/Select.js +1 -1
  15. package/es/ShortUrls/ShortUrls.js +1 -1
  16. package/es/Spotlight/Spotlight.js +2 -2
  17. package/es/TableLayout/index.js +72 -72
  18. package/es/TablePreview/index.js +41 -41
  19. package/es/UserRightForm/Permissions.js +2 -1
  20. package/es/UserRightForm/PermsissionsTabs.js +5 -1
  21. package/es/UserRightForm/UserRightForm.js +2 -1
  22. package/lib/AdvancedFilterDialog/AdvancedFilterDialog.js +4 -2
  23. package/lib/Button/Button.js +1 -1
  24. package/lib/ChartsConfig/ChartsConfig.js +19 -9
  25. package/lib/ChartsConfig/InputProxy.js +4 -2
  26. package/lib/ChartsConfig/Title.js +9 -3
  27. package/lib/CollapseButtons/CollapseButtons.js +1 -1
  28. package/lib/Contact/Contact.js +46 -24
  29. package/lib/DataHeader/DataHeader.js +1 -1
  30. package/lib/DynamicDrawer/AdvancedSelection.js +5 -3
  31. package/lib/DynamicDrawer/DynamicDrawer.js +25 -13
  32. package/lib/DynamicDrawer/SelectionModesMobile.js +14 -4
  33. package/lib/PeriodPicker/PeriodPicker.js +18 -12
  34. package/lib/ScopeList/index.js +16 -0
  35. package/lib/Select/Select.js +5 -3
  36. package/lib/ShortUrls/ShortUrls.js +4 -2
  37. package/lib/Spotlight/Spotlight.js +2 -2
  38. package/lib/UserRightForm/Permissions.js +19 -13
  39. package/lib/UserRightForm/PermsissionsTabs.js +26 -8
  40. package/lib/UserRightForm/UserRightForm.js +38 -32
  41. package/package.json +3 -2
  42. package/umd/@sis-cc/dotstatsuite-visions.js +1223 -1203
  43. package/umd/@sis-cc/dotstatsuite-visions.min.js +14 -14
  44. package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
@@ -26,7 +26,7 @@ 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 '@mui/material';
29
+ import Divider from '@mui/material/Divider';
30
30
 
31
31
  var PaperComponent = function PaperComponent(props) {
32
32
  return React.createElement(
@@ -48,7 +48,7 @@ var MyButton = React.forwardRef(function (_ref, ref) {
48
48
  className: cx(className, R.prop(alternative + 'Root')(classes), (_cx = {}, _cx[R.prop(alternative + 'Selected')(classes)] = selected, _cx)),
49
49
  'aria-pressed': selected,
50
50
  ref: ref
51
- }, props),
51
+ }, R.omit(['indicator', 'textColor', 'selectionFollowsFocus'], props)),
52
52
  props.children
53
53
  );
54
54
  });
@@ -7,7 +7,9 @@ import Grid from '@mui/material/Grid';
7
7
  import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
8
8
  import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward';
9
9
  import Title from './Title';
10
- import { Button, InputAdornment, Typography } from '@mui/material';
10
+ import Button from '@mui/material/Button';
11
+ import InputAdornment from '@mui/material/InputAdornment';
12
+ import Typography from '@mui/material/Typography';
11
13
  import useFocusOptions from './useFocusOptions';
12
14
  import Select from '../Select';
13
15
  import { extractMultipleValue, getValue } from './utils';
@@ -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 '@mui/material';
6
+ import Grid from '@mui/material/Grid';
7
7
  import Input from './Input';
8
8
 
9
9
  var InputProxy = function InputProxy(_ref) {
@@ -2,7 +2,8 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import * as R from 'ramda';
4
4
  import makeStyles from '@mui/styles/makeStyles';
5
- import { Grid, Typography } from '@mui/material';
5
+ import Grid from '@mui/material/Grid';
6
+ import Typography from '@mui/material/Typography';
6
7
 
7
8
  export var useStyles = makeStyles(function () {
8
9
  return {
@@ -91,7 +91,7 @@ var CollapseButtons = function CollapseButtons(props) {
91
91
  React.createElement(ToggleButton, {
92
92
  textTransform: textTransform,
93
93
  label: label,
94
- tabindex: R.isNil(toggleId) || R.prop(id)(toggleId) || R.compose(R.not, R.head, R.values)(toggleId) ? 0 : -1,
94
+ tabIndex: R.isNil(toggleId) || R.prop(id)(toggleId) || R.compose(R.not, R.head, R.values)(toggleId) ? 0 : -1,
95
95
  isOpen: R.prop(id)(toggleId),
96
96
  toggle: function toggle() {
97
97
  var _setIsOpen2;
@@ -2,7 +2,12 @@ import React, { useEffect, useState } from 'react';
2
2
  import cx from 'classnames';
3
3
  import PropTypes from 'prop-types';
4
4
  import * as R from 'ramda';
5
- import { Grid, Paper, TextareaAutosize, Checkbox, FormControlLabel, Typography } from '@mui/material';
5
+ import Grid from '@mui/material/Grid';
6
+ import Paper from '@mui/material/Paper';
7
+ import TextareaAutosize from '@mui/material/TextareaAutosize';
8
+ import Checkbox from '@mui/material/Checkbox';
9
+ import FormControlLabel from '@mui/material/FormControlLabel';
10
+ import Typography from '@mui/material/Typography';
6
11
  import makeStyles from '@mui/styles/makeStyles';
7
12
  import { validate as getIsValidEmail } from 'isemail';
8
13
  import Mode from './Mode';
@@ -161,7 +161,7 @@ var DataHeader = function DataHeader(_ref2) {
161
161
  className: classes.title,
162
162
  style: { fontSize: fontSizeTitle },
163
163
  'data-testid': 'data-header-title',
164
- tabindex: '-1',
164
+ tabIndex: '-1',
165
165
  'aria-label': title.label
166
166
  },
167
167
  title.label,
@@ -20,7 +20,7 @@ import singleImg from '../AdvancedFilterDialog/images/single-selection.png';
20
20
  import childrenImg from '../AdvancedFilterDialog/images/children-selection.png';
21
21
  import branchImg from '../AdvancedFilterDialog/images/branch-selection.png';
22
22
  import levelImg from '../AdvancedFilterDialog/images/level-selection.png';
23
- import { Divider } from '@mui/material';
23
+ import Divider from '@mui/material/Divider';
24
24
  import ButtonCarousel from './SelectionModesMobile';
25
25
 
26
26
  var useStyles = makeStyles(function (theme) {
@@ -376,7 +376,7 @@ var AdvancedSelection = function AdvancedSelection(props) {
376
376
  return onChangeSelection(selection, ids, filter);
377
377
  },
378
378
  withExpandControl: true,
379
- treeHeight: isNarrow ? 0 : '450px',
379
+ treeHeight: isNarrow ? 0 : 450,
380
380
  scopeGetter: scopeGetter,
381
381
  expandedIds: expandedIds
382
382
  }))
@@ -8,7 +8,10 @@ import * as R from 'ramda';
8
8
  import cx from 'classnames';
9
9
  import Box from '@mui/material/Box';
10
10
  import AdvancedSelection from './AdvancedSelection';
11
- import { Paper, Tab, Tabs, Typography } from '@mui/material';
11
+ import Paper from '@mui/material/Paper';
12
+ import Tab from '@mui/material/Tab';
13
+ import Tabs from '@mui/material/Tabs';
14
+ import Typography from '@mui/material/Typography';
12
15
  import makeStyles from '@mui/styles/makeStyles';
13
16
  import CloseIcon from '@mui/icons-material/Close';
14
17
  import IconButton from '@mui/material/Button';
@@ -58,19 +61,18 @@ var TabPanel = function TabPanel(props) {
58
61
  setOpen = props.setOpen,
59
62
  labelRenderer = props.labelRenderer,
60
63
  _props$styles = props.styles,
61
- styles = _props$styles === undefined ? {} : _props$styles,
62
- other = _objectWithoutProperties(props, ['children', 'open', 'item', 'classes', 'labels', 'onClose', 'isNarrow', 'setOpen', 'labelRenderer', 'styles']);
64
+ styles = _props$styles === undefined ? {} : _props$styles;
63
65
 
64
66
  return React.createElement(
65
67
  'div',
66
- _extends({
68
+ {
67
69
  role: 'tabpanel',
68
70
  hidden: !open,
69
71
  id: 'vertical-tabpanel-' + item.index,
70
72
  'aria-labelledby': 'vertical-tab-' + item.index,
71
73
  className: isNarrow ? classes.tabPanelNarrow : classes.tabPanel,
72
74
  style: styles
73
- }, other),
75
+ },
74
76
  open && React.createElement(
75
77
  Box,
76
78
  { sx: { p: 3 } },
@@ -309,7 +311,6 @@ var DynamicDrawer = function DynamicDrawer(props) {
309
311
  variant: 'scrollable',
310
312
  TabIndicatorProps: { style: { transition: 'none' } },
311
313
  scrollButtons: false,
312
- disableScrollButtons: true,
313
314
  value: false,
314
315
  onChange: handleChange,
315
316
  'aria-label': 'filters',
@@ -362,7 +363,7 @@ var DynamicDrawer = function DynamicDrawer(props) {
362
363
  open && !isNarrow && React.createElement(
363
364
  Button,
364
365
  {
365
- sx: { float: 'bottom', margin: '10px' },
366
+ style: { float: 'bottom', margin: '10px' },
366
367
  'aria-label': R.prop('apply', labels),
367
368
  id: 'apply_button',
368
369
  variant: 'contained',
@@ -373,7 +374,7 @@ var DynamicDrawer = function DynamicDrawer(props) {
373
374
  isNotHiddenButton && React.createElement(
374
375
  Button,
375
376
  {
376
- sx: { float: 'bottom', margin: '10px' },
377
+ style: { float: 'bottom', margin: '10px' },
377
378
  'aria-label': R.prop('apply', labels),
378
379
  id: 'apply_button',
379
380
  variant: 'contained',
@@ -2,7 +2,9 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import * as R from 'ramda';
4
4
  import cx from 'classnames';
5
- import { Box, Paper, Typography } from '@mui/material';
5
+ import Box from '@mui/material/Box';
6
+ import Paper from '@mui/material/Paper';
7
+ import Typography from '@mui/material/Typography';
6
8
  import { Tooltip, Button } from '..';
7
9
 
8
10
  var mapIndexed = R.addIndex(R.map);
@@ -2,7 +2,8 @@ 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, Typography } from '@mui/material';
5
+ import Grid from '@mui/material/Grid';
6
+ import Typography from '@mui/material/Typography';
6
7
  import { numeralFormat } from './lib';
7
8
  import { Button, Select } from '../';
8
9
  import useStyles from './styles';
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Scope List allow a horizontal navigation in a tree
3
+ * (open console to see selection onClick, onKeyPress)
4
+ *
5
+ * limitDisplay: default 0. by default the filter will be blank if items content n of in the list.
6
+ *
7
+ * displayAccessor: if displayAccessor is defined the list will be the items return by displayAccessor,
8
+ * in other word if the prop defined get by displayAccessor is not there, then the scope list will ignore the item and the item will be completely hide
9
+ *
10
+ * disabledAccessor: this accessor allow you to allow disabled items. Contrary to displayAccessor the item will be show but not clikable.
11
+ *
12
+ * bulkselection: allow and show button to selection entire level or current view
13
+ *
14
+ * @memberOf VISIONS
15
+ * @name ScopeList
16
+ * @tag component
17
+ * @api public
18
+ * @props
19
+ * ScopeList.propTypes = {
20
+ * disableAccessor: PropTypes.func,
21
+ * displayAccessor: PropTypes.func,
22
+ * testId: PropTypes.string,
23
+ * term: PropTypes.string,
24
+ * id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
25
+ * label: PropTypes.string,
26
+ * accessibility: PropTypes.bool,
27
+ * limitDisplay: PropTypes.number
28
+ * items: {
29
+ * id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
30
+ * label: PropTypes.string,
31
+ * parentId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
32
+ * isSelected: PropTypes.bool,
33
+ * isDisabled: PropTypes.bool,
34
+ * count: PropTypes.number,
35
+ * path: PropTypes.arrayOf(PropTypes.shape({
36
+ * id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
37
+ * label: PropTypes.string,
38
+ * parentId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
39
+ * isSelected: PropTypes.bool,
40
+ * })),
41
+ * [yourDisplayAccessorKey]: PropTypes.bool,
42
+ * },
43
+ * spotlight, c.f proptype spotlight
44
+ * mainPlaceholder: PropTypes.string,
45
+ * secondaryPlaceholder: PropTypes.string,
46
+ * activePanelId: PropTypes.string,,
47
+ * hasPath: PropTypes.bool,
48
+ * changeSelection: PropTypes.func,
49
+ * labels: {
50
+ * childrenNavigateDesc: PropTypes.string,
51
+ * navigateBefore: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
52
+ * navigateNext: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
53
+ * backHelper: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
54
+ * disableItemLabel: PropTypes.string,
55
+ * selection: {
56
+ * title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
57
+ * currentLevel: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
58
+ * level: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
59
+ * }
60
+ * },
61
+ * expansionPanelProps: PropTypes.object
62
+ * bulkSelection: PropTypes.bool
63
+ * labelRenderer: PropTypes.func,
64
+ * };
65
+ * @theme
66
+ * // see Accordion too custom open and close scopelist
67
+ * level: a level is the current tree level start from level 1
68
+ * {
69
+ * palette: {
70
+ * primary: {
71
+ * main: // label color and background color of around arrow to see children. global override: outerPalette.primaryMain
72
+ * },
73
+ * common: {
74
+ * white: // color of arrow to see children
75
+ * },
76
+ * action: {
77
+ * hover: // background color of element and header element (from level 2) on hover or selected
78
+ * selected: // background color of focus element (accessibility must be set to true) or hover of selected element
79
+ * },
80
+ * grey: {
81
+ * 100: // color of tough line (line displayed from level 2)
82
+ * 600: // count label (after label element) and path label color (use search to see path)
83
+ * 700: // disabled label
84
+ * 800: // arrow color between header element (displayed from level 3). globale override: outerPalette.textLight
85
+ * }
86
+ * }
87
+ * }
88
+ * @testId
89
+ * @demoReady
90
+ * root: [testId]
91
+ * value: [testId]_value_[props.items.id]
92
+ */
93
+
94
+ export { default } from './ScopeList';
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import makeStyles from '@mui/styles/makeStyles';
7
7
  import TextField from '@mui/material/TextField';
8
8
  import MenuItem from '@mui/material/MenuItem';
9
- import { Typography } from '@mui/material';
9
+ import Typography from '@mui/material/Typography';
10
10
  import cx from 'classnames';
11
11
 
12
12
  var useStyles = makeStyles(function (theme) {
@@ -12,7 +12,7 @@ import IconButton from '@mui/material/IconButton';
12
12
  import Collapse from '@mui/material/Collapse';
13
13
  import CloseIcon from '@mui/icons-material/Close';
14
14
  import { Alert, Button } from '../';
15
- import { CircularProgress } from '@mui/material';
15
+ import CircularProgress from '@mui/material/CircularProgress';
16
16
 
17
17
  var useStyles = makeStyles(function (theme) {
18
18
  return {
@@ -102,7 +102,7 @@ var Spotlight = function Spotlight(_ref) {
102
102
  R.gt(size(R.prop('fields', spotlight)), 1) ? React.createElement(
103
103
  Fragment,
104
104
  null,
105
- React.createElement(Divider, { className: classes.divider }),
105
+ React.createElement(Divider, { className: classes.divider, 'aria-hidden': 'true' }),
106
106
  React.createElement(Field, {
107
107
  spotlight: spotlight,
108
108
  onChangeField: onChangeField,
@@ -114,7 +114,7 @@ var Spotlight = function Spotlight(_ref) {
114
114
  hasCommit ? React.createElement(
115
115
  Fragment,
116
116
  null,
117
- React.createElement(Divider, { className: classes.divider }),
117
+ React.createElement(Divider, { className: classes.divider, 'aria-hidden': 'true' }),
118
118
  React.createElement(
119
119
  IconButton,
120
120
  {
@@ -1,75 +1,75 @@
1
- /**
2
- * TableLayout it's drag and drop, you can customise and see with the preview the layout of your table
3
- *
4
- * @memberOf VISIONS
5
- * @name TableLayout
6
- * @tag component
7
- * @api public
8
- * @props
9
- * const itemButtonProps= { id¹: { options, value, onChange }}
10
- * ¹ - first id in patern
11
- *
12
- * values is usefull for tablePreview only
13
- *
14
- * const patern = {
15
- * id: PropTypes.string,
16
- * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
17
- * values: PropTypes.arrayOf(
18
- * PropTypes.shape({
19
- * id: PropTypes.string,
20
- * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
21
- * }),
22
- * ),
23
- * };
24
- *
25
- * TableLayout.propTypes = {
26
- * layout: PropTypes.shape({
27
- * header: PropTypes.arrayOf(PropTypes.shape(patern)),
28
- * sections: PropTypes.arrayOf(PropTypes.shape(patern)),
29
- * rows: PropTypes.arrayOf(PropTypes.shape(patern)),
30
- * }),
31
- * itemRenderer: PropTypes.func,
32
- * commit: PropTypes.func,
33
- * noPreview: PropTypes.bool,
34
- * itemButtonProps: PropTypes.object,
35
- * labels: PropTypes.shape({
36
- * commit: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
37
- * cancel: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
38
- * row: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
39
- * column: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
40
- * section: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
41
- * table: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
42
- * asc: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
43
- * desc: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
44
- * help: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
45
- * one: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
46
- * }),
47
- * accessibility: PropTypes.bool,
48
- * };
49
- * @theme
50
- * {
51
- * palette: {
52
- * primary: {
53
- * main: // header colors. global override: outerPalette.primaryMain
54
- * },
55
- * tertiary: {
56
- * dark: // sections colors
57
- * light: // rows colors
58
- * },
59
- * secondary: {
60
- * dark: // used if tertiary dark is null
61
- * light: // used if tertiary light is null
62
- * }
63
- * common: {
64
- * white: // background color select asc/desc
65
- * }
66
- * },
67
- * typography: {
68
- * subtitle1: {
69
- * // description "information DnD"
70
- * }
71
- * }
72
- * }
1
+ /**
2
+ * TableLayout it's drag and drop, you can customise and see with the preview the layout of your table
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name TableLayout
6
+ * @tag component
7
+ * @api public
8
+ * @props
9
+ * const itemButtonProps= { id¹: { options, value, onChange }}
10
+ * ¹ - first id in patern
11
+ *
12
+ * values is usefull for tablePreview only
13
+ *
14
+ * const patern = {
15
+ * id: PropTypes.string,
16
+ * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
17
+ * values: PropTypes.arrayOf(
18
+ * PropTypes.shape({
19
+ * id: PropTypes.string,
20
+ * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
21
+ * }),
22
+ * ),
23
+ * };
24
+ *
25
+ * TableLayout.propTypes = {
26
+ * layout: PropTypes.shape({
27
+ * header: PropTypes.arrayOf(PropTypes.shape(patern)),
28
+ * sections: PropTypes.arrayOf(PropTypes.shape(patern)),
29
+ * rows: PropTypes.arrayOf(PropTypes.shape(patern)),
30
+ * }),
31
+ * itemRenderer: PropTypes.func,
32
+ * commit: PropTypes.func,
33
+ * noPreview: PropTypes.bool,
34
+ * itemButtonProps: PropTypes.object,
35
+ * labels: PropTypes.shape({
36
+ * commit: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
37
+ * cancel: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
38
+ * row: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
39
+ * column: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
40
+ * section: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
41
+ * table: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
42
+ * asc: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
43
+ * desc: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
44
+ * help: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
45
+ * one: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
46
+ * }),
47
+ * accessibility: PropTypes.bool,
48
+ * };
49
+ * @theme
50
+ * {
51
+ * palette: {
52
+ * primary: {
53
+ * main: // header colors. global override: outerPalette.primaryMain
54
+ * },
55
+ * tertiary: {
56
+ * dark: // sections colors
57
+ * light: // rows colors
58
+ * },
59
+ * secondary: {
60
+ * dark: // used if tertiary dark is null
61
+ * light: // used if tertiary light is null
62
+ * }
63
+ * common: {
64
+ * white: // background color select asc/desc
65
+ * }
66
+ * },
67
+ * typography: {
68
+ * subtitle1: {
69
+ * // description "information DnD"
70
+ * }
71
+ * }
72
+ * }
73
73
  **/
74
74
 
75
75
  export { default } from './TableLayout';
@@ -1,44 +1,44 @@
1
- /**
2
- * TablePreview use also by TableLayout. It's a preview of your main rows sections and header
3
- *
4
- * @memberOf VISIONS
5
- * @name TablePreview
6
- * @tag component
7
- * @api public
8
- *
9
- * const patern = {
10
- * id: PropTypes.string,
11
- * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
12
- * values: PropTypes.arrayOf(
13
- * PropTypes.shape({
14
- * id: PropTypes.string,
15
- * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
16
- * }),
17
- * ),
18
- * };
19
- *
20
- * Table.proptypes = {
21
- * header: PropTypes.arrayOf(PropTypes.shape(patern)),
22
- * sections: PropTypes.arrayOf(PropTypes.shape(patern)),
23
- * rows: PropTypes.arrayOf(PropTypes.shape(patern)),
24
- * labelRenderer: PropTypes.func,
25
- * }
26
- * @theme
27
- * {
28
- * palette: {
29
- * primary: {
30
- * main: // header colors. global override: outerPalette.primaryMain
31
- * },
32
- * tertiary: {
33
- * dark: // sections colors
34
- * light: // rows colors
35
- * },
36
- * secondary: {
37
- * dark: // used if tertiary dark is null
38
- * light: // used if tertiary light is null
39
- * }
40
- * }
41
- * }
1
+ /**
2
+ * TablePreview use also by TableLayout. It's a preview of your main rows sections and header
3
+ *
4
+ * @memberOf VISIONS
5
+ * @name TablePreview
6
+ * @tag component
7
+ * @api public
8
+ *
9
+ * const patern = {
10
+ * id: PropTypes.string,
11
+ * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
12
+ * values: PropTypes.arrayOf(
13
+ * PropTypes.shape({
14
+ * id: PropTypes.string,
15
+ * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
16
+ * }),
17
+ * ),
18
+ * };
19
+ *
20
+ * Table.proptypes = {
21
+ * header: PropTypes.arrayOf(PropTypes.shape(patern)),
22
+ * sections: PropTypes.arrayOf(PropTypes.shape(patern)),
23
+ * rows: PropTypes.arrayOf(PropTypes.shape(patern)),
24
+ * labelRenderer: PropTypes.func,
25
+ * }
26
+ * @theme
27
+ * {
28
+ * palette: {
29
+ * primary: {
30
+ * main: // header colors. global override: outerPalette.primaryMain
31
+ * },
32
+ * tertiary: {
33
+ * dark: // sections colors
34
+ * light: // rows colors
35
+ * },
36
+ * secondary: {
37
+ * dark: // used if tertiary dark is null
38
+ * light: // used if tertiary light is null
39
+ * }
40
+ * }
41
+ * }
42
42
  **/
43
43
 
44
44
  export { default } from './TablePreview';
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import Checkbox from '@mui/material/Checkbox';
3
3
  import FormControlLabel from '@mui/material/FormControlLabel';
4
- import { Grid, Typography } from '@mui/material';
4
+ import Grid from '@mui/material/Grid';
5
+ import Typography from '@mui/material/Typography';
5
6
  import makeStyles from '@mui/styles/makeStyles';
6
7
  import * as R from 'ramda';
7
8
  import cx from 'classnames';
@@ -1,6 +1,10 @@
1
1
  import React, { useState } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Box, Grid, Tabs, Tab, Typography } from '@mui/material';
3
+ import Box from '@mui/material/Box';
4
+ import Grid from '@mui/material/Grid';
5
+ import Tabs from '@mui/material/Tabs';
6
+ import Tab from '@mui/material/Tab';
7
+ import Typography from '@mui/material/Typography';
4
8
  import makeStyles from '@mui/styles/makeStyles';
5
9
  import * as R from 'ramda';
6
10
  import Permissions from './Permissions';
@@ -3,7 +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 '@mui/material';
6
+ import Grid from '@mui/material/Grid';
7
+ import Typography from '@mui/material/Typography';
7
8
  import makeStyles from '@mui/styles/makeStyles';
8
9
  import Input from './Input';
9
10
  import Button from '../Button';
@@ -92,7 +92,9 @@ var _levelSelection = require('./images/level-selection.png');
92
92
 
93
93
  var _levelSelection2 = _interopRequireDefault(_levelSelection);
94
94
 
95
- var _material = require('@mui/material');
95
+ var _Divider = require('@mui/material/Divider');
96
+
97
+ var _Divider2 = _interopRequireDefault(_Divider);
96
98
 
97
99
  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
98
100
 
@@ -562,7 +564,7 @@ var AdvancedFilterDialog = function AdvancedFilterDialog(props) {
562
564
  )
563
565
  )
564
566
  ),
565
- _react2.default.createElement(_material.Divider, { className: classes.divider })
567
+ _react2.default.createElement(_Divider2.default, { className: classes.divider })
566
568
  ),
567
569
  _react2.default.createElement(
568
570
  _Grid2.default,
@@ -73,7 +73,7 @@ var MyButton = _react2.default.forwardRef(function (_ref, ref) {
73
73
  className: (0, _classnames2.default)(className, R.prop(alternative + 'Root')(classes), (_cx = {}, _cx[R.prop(alternative + 'Selected')(classes)] = selected, _cx)),
74
74
  'aria-pressed': selected,
75
75
  ref: ref
76
- }, props),
76
+ }, R.omit(['indicator', 'textColor', 'selectionFollowsFocus'], props)),
77
77
  props.children
78
78
  );
79
79
  });