@sis-cc/dotstatsuite-visions 12.52.0 → 12.54.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/Contact/Contact.js +10 -4
- package/es/Contact/Mode.js +1 -1
- package/es/DataEdit/DataEdit.js +11 -2
- package/es/Share/Mode.js +1 -1
- package/es/TableHtml5/TableHtml5.js +2 -2
- package/es/TableHtml5/cell.js +4 -3
- package/es/TableHtml5/section.js +7 -5
- package/es/TableHtml5/sectionHeader.js +3 -2
- package/es/TableHtml5/subHeader.js +28 -8
- package/es/UserRightForm/PermsissionsTabs.js +5 -5
- package/es/theme.js +3 -1
- package/lib/Contact/Contact.js +10 -4
- package/lib/Contact/Mode.js +1 -1
- package/lib/DataEdit/DataEdit.js +14 -2
- package/lib/Share/Mode.js +1 -1
- package/lib/TableHtml5/TableHtml5.js +2 -2
- package/lib/TableHtml5/cell.js +4 -3
- package/lib/TableHtml5/section.js +7 -5
- package/lib/TableHtml5/sectionHeader.js +3 -2
- package/lib/TableHtml5/subHeader.js +28 -8
- package/lib/UserRightForm/PermsissionsTabs.js +5 -5
- package/lib/theme.js +3 -1
- package/package.json +1 -1
- package/umd/@sis-cc/dotstatsuite-visions.js +77 -36
- package/umd/@sis-cc/dotstatsuite-visions.min.js +7 -7
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @sis-cc/dotstatsuite-visions v12.
|
|
2
|
+
* @sis-cc/dotstatsuite-visions v12.54.0 - https://visions-qa.siscc.org/#o
|
|
3
3
|
* MIT Licensed
|
|
4
4
|
*/
|
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -7675,7 +7675,7 @@ if (true) {
|
|
|
7675
7675
|
/* 138 */
|
|
7676
7676
|
/***/ (function(module) {
|
|
7677
7677
|
|
|
7678
|
-
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"12.
|
|
7678
|
+
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"12.54.0","description":"Library of visual components","author":"OECD","homepage":"https://visions-qa.siscc.org/#o","license":"MIT","repository":"https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-visions","main":"lib/index.js","module":"es/index.js","engines":{"node":">=18"},"files":["css","es","lib","umd"],"scripts":{"peers":"install-peers --force-run","build":"cross-env NODE_OPTIONS=--openssl-legacy-provider nwb build-react-component --copy-files --no-demo && node scripts/doc && cross-env NODE_OPTIONS=--openssl-legacy-provider nwb build-demo","build:dev":"cross-env NODE_OPTIONS=--openssl-legacy-provider nwb build-react-component --copy-files --no-demo","clean":"nwb clean-module && nwb clean-demo","prepublishOnly":"npm run build","start":"cross-env NODE_OPTIONS=--openssl-legacy-provider nwb serve-react-demo","test":"jest","test:watch":"jest --watch --no-cache","lint":"eslint src/ --color","precommit":"lint-staged","transform":"npx jscodeshift -t scripts/transform-mui-imports.js demo/","upgrade-date-fns":"npx jscodeshift -t scripts/upgrade-date-fns.js src/"},"dependencies":{"@hello-pangea/dnd":"^16.6.0","@react-hook/size":"^2.1.1","classnames":"^2.2.6","diacritics":"^1.3.0","isemail":"^3.2.0","prop-types":"^15.7.2","ramda":"^0.27.0","react-draggable":"4.4.5","react-error-boundary":"^4.0.10","react-virtualized":"^9.21.2"},"peerDependencies":{"@emotion/react":"^11","@emotion/styled":"^11","@mui/icons-material":"^5","@mui/material":"^5","@mui/styles":"^5","date-fns":"^2.23.0","numeral":"^2.0.6","react":"^18","react-dom":"^18"},"devDependencies":{"@babel/eslint-parser":"^7.5.4","@babel/plugin-syntax-dynamic-import":"^7.2.0","@cfaester/enzyme-adapter-react-18":"^0.7.0","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","babel-jest":"^24.8.0","babel-preset-react-app":"^9.0.0","cross-env":"^7.0.3","dox":"^0.9.0","eslint":"^8.39.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","husky":"^2.7.0","identity-obj-proxy":"^3.0.0","install-peers-cli":"^2.2.0","jest":"^24.8.0","jss":"^10.10.0","jss-rtl":"^0.2.3","lint-staged":"^8.2.1","mutationobserver-shim":"^0.3.7","nwb":"0.23.0","prettier":"^2.8.8","pretty-quick":"^3.1.3","react-a11y":"^1.1.0","react-helmet":"^5.2.1","react-scrollable-anchor":"^0.6.1","react-syntax-highlighter":"^10.2.1","sanitize-html":"2.7.0","webpack":"^5.68.0","webpack-cli":"^4.9.2","webpack-dev-server":"^4.7.4"},"jest":{"verbose":true,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.{js,jsx,ts,tsx}","!src/ScopeList/*.{js,jsx,ts,tsx}","!src/**/*.d.ts"],"setupFilesAfterEnv":["<rootDir>/tests/setup.js"],"testMatch":["**/tests/**/*.{spec,test}.{js,jsx,ts,tsx}","!**/tests/ScopeList.test.js"],"testEnvironment":"jsdom","transform":{"^.+\\.(js|jsx|ts|tsx)$":"<rootDir>/node_modules/babel-jest"},"transformIgnorePatterns":["[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$","^.+\\.module\\.(css|sass|scss)$"],"modulePaths":[],"moduleNameMapper":{"^react-native$":"react-native-web","^.+\\.module\\.(css|sass|scss)$":"identity-obj-proxy","\\.(jpg|jpeg|png)$":"identity-obj-proxy"},"moduleFileExtensions":["web.js","js","web.ts","ts","web.tsx","tsx","json","web.jsx","jsx","node"]},"babel":{"presets":["react-app"],"plugins":["@babel/plugin-syntax-dynamic-import"]},"eslintConfig":{"env":{"browser":true,"jest":true,"node":true,"es6":true},"extends":["eslint:recommended","plugin:react/recommended","plugin:jsx-a11y/recommended"],"parser":"@babel/eslint-parser","parserOptions":{"babelOptions":{"presets":[["babel-preset-react-app",false],"babel-preset-react-app/test"]},"ecmaFeatures":{"experimentalObjectRestSpread":true,"jsx":true},"sourceType":"module"},"plugins":["prettier","react","import","react-hooks","jsx-a11y"],"rules":{"no-console":"warn","no-unused-vars":"error","react/display-name":"off","react/prop-types":"off","react-hooks/rules-of-hooks":"error","react-hooks/exhaustive-deps":"warn","no-use-before-define":"error"}},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.{js,css}":["prettier --write","git add","yarn lint"]},"prettier":{"endOfLine":"lf","useTabs":false,"printWidth":100,"tabWidth":2,"singleQuote":true,"trailingComma":"all","bracketSameLine":false,"bracketSpacing":true,"parser":"babel","semi":true,"arrowParens":"avoid"}};
|
|
7679
7679
|
|
|
7680
7680
|
/***/ }),
|
|
7681
7681
|
/* 139 */
|
|
@@ -40701,9 +40701,18 @@ var DataEdit_extends = Object.assign || function (target) { for (var i = 1; i <
|
|
|
40701
40701
|
|
|
40702
40702
|
|
|
40703
40703
|
|
|
40704
|
+
|
|
40705
|
+
var DataEdit_useStyles = makeStyles(function (theme) {
|
|
40706
|
+
return {
|
|
40707
|
+
title: es_pathOr({}, ['mixins', 'chartsConfig', 'title'], theme)
|
|
40708
|
+
};
|
|
40709
|
+
});
|
|
40710
|
+
|
|
40704
40711
|
var DataEdit_DataEdit = function DataEdit(_ref) {
|
|
40705
40712
|
var labels = _ref.labels,
|
|
40706
40713
|
properties = _ref.properties;
|
|
40714
|
+
|
|
40715
|
+
var classes = DataEdit_useStyles();
|
|
40707
40716
|
var _properties$title = properties.title,
|
|
40708
40717
|
title = _properties$title === undefined ? {} : _properties$title,
|
|
40709
40718
|
_properties$subtitle = properties.subtitle,
|
|
@@ -40725,8 +40734,8 @@ var DataEdit_DataEdit = function DataEdit(_ref) {
|
|
|
40725
40734
|
{ item: true, xs: 12 },
|
|
40726
40735
|
react_default.a.createElement(
|
|
40727
40736
|
material_Typography_Typography,
|
|
40728
|
-
{
|
|
40729
|
-
'
|
|
40737
|
+
{ className: classes.title },
|
|
40738
|
+
es_prop('information', labels)
|
|
40730
40739
|
)
|
|
40731
40740
|
),
|
|
40732
40741
|
es_prop('isActive', title) && react_default.a.createElement(
|
|
@@ -48579,7 +48588,7 @@ var Mode_Mode = function Mode(_ref2) {
|
|
|
48579
48588
|
{ className: classes.content },
|
|
48580
48589
|
react_default.a.createElement(
|
|
48581
48590
|
material_Typography_Typography,
|
|
48582
|
-
{
|
|
48591
|
+
{ className: classes.title, 'aria-label': title, tabIndex: 0 },
|
|
48583
48592
|
title
|
|
48584
48593
|
),
|
|
48585
48594
|
react_default.a.createElement(
|
|
@@ -48836,8 +48845,14 @@ var Contact_useStyles = makeStyles(function (theme) {
|
|
|
48836
48845
|
padding: theme.spacing(2),
|
|
48837
48846
|
margin: theme.spacing(2, 0)
|
|
48838
48847
|
},
|
|
48839
|
-
|
|
48840
|
-
|
|
48848
|
+
agreement: {
|
|
48849
|
+
fontSize: '1.0625rem',
|
|
48850
|
+
lineHeight: '1.6'
|
|
48851
|
+
},
|
|
48852
|
+
policy: {
|
|
48853
|
+
color: theme.palette.primary.main,
|
|
48854
|
+
fontSize: '1.0625rem',
|
|
48855
|
+
lineHeight: '1.6'
|
|
48841
48856
|
},
|
|
48842
48857
|
textarea: {
|
|
48843
48858
|
width: '100%',
|
|
@@ -49090,7 +49105,7 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
49090
49105
|
control: react_default.a.createElement(material_Checkbox_Checkbox, { name: 'checkedB', color: 'primary' }),
|
|
49091
49106
|
label: react_default.a.createElement(
|
|
49092
49107
|
material_Typography_Typography,
|
|
49093
|
-
{
|
|
49108
|
+
{ className: classes.agreement },
|
|
49094
49109
|
es_prop('checkbox')(labels)
|
|
49095
49110
|
),
|
|
49096
49111
|
checked: checked,
|
|
@@ -49104,7 +49119,7 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
49104
49119
|
{ item: true },
|
|
49105
49120
|
react_default.a.createElement(
|
|
49106
49121
|
material_Typography_Typography,
|
|
49107
|
-
{
|
|
49122
|
+
{ className: classes.policy, style: { paddingTop: 8 } },
|
|
49108
49123
|
es_prop('organisationPrivacyPolicy')(labels)
|
|
49109
49124
|
)
|
|
49110
49125
|
)
|
|
@@ -51155,7 +51170,9 @@ var sisccTheme = function sisccTheme(_ref) {
|
|
|
51155
51170
|
share: {
|
|
51156
51171
|
title: {
|
|
51157
51172
|
fontWeight: 400,
|
|
51158
|
-
fontFamily: "'Roboto Slab', serif"
|
|
51173
|
+
fontFamily: "'Roboto Slab', serif",
|
|
51174
|
+
fontSize: '1.0625rem',
|
|
51175
|
+
lineHeight: '1.6'
|
|
51159
51176
|
}
|
|
51160
51177
|
},
|
|
51161
51178
|
spotlight: {
|
|
@@ -62535,7 +62552,7 @@ var Share_Mode_Mode = function Mode(_ref2) {
|
|
|
62535
62552
|
{ className: classes.content },
|
|
62536
62553
|
react_default.a.createElement(
|
|
62537
62554
|
material_Typography_Typography,
|
|
62538
|
-
{
|
|
62555
|
+
{ className: classes.title },
|
|
62539
62556
|
title
|
|
62540
62557
|
),
|
|
62541
62558
|
react_default.a.createElement(
|
|
@@ -64840,21 +64857,41 @@ header_Header.propTypes = {
|
|
|
64840
64857
|
var subHeader_useStyles = makeStyles(function (theme) {
|
|
64841
64858
|
return {
|
|
64842
64859
|
columnsTitle: {
|
|
64860
|
+
position: 'sticky',
|
|
64861
|
+
zIndex: 1,
|
|
64862
|
+
boxSizing: 'border-box',
|
|
64843
64863
|
backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
64844
|
-
border: '
|
|
64845
|
-
borderBottom: '
|
|
64846
|
-
borderRight: 'thin solid ' + theme.palette.grey[500],
|
|
64847
|
-
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
64864
|
+
border: 'none',
|
|
64865
|
+
borderBottom: '1px solid ' + theme.palette.grey[500],
|
|
64848
64866
|
color: theme.palette.grey['A700'],
|
|
64849
64867
|
verticalAlign: 'middle',
|
|
64850
|
-
|
|
64851
|
-
|
|
64868
|
+
'&::after': {
|
|
64869
|
+
content: '""',
|
|
64870
|
+
position: 'absolute',
|
|
64871
|
+
top: 0,
|
|
64872
|
+
right: 0,
|
|
64873
|
+
width: '1px',
|
|
64874
|
+
height: '100%',
|
|
64875
|
+
backgroundColor: theme.palette.grey[500]
|
|
64876
|
+
}
|
|
64877
|
+
// backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
64878
|
+
// border: 'inherit',
|
|
64879
|
+
// borderBottom: `1.5px solid ${theme.palette.grey[500]}`,
|
|
64880
|
+
// borderRight: `1.5px solid ${theme.palette.grey[500]}`,
|
|
64881
|
+
// padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,
|
|
64882
|
+
// color: theme.palette.grey['A700'],
|
|
64883
|
+
// verticalAlign: 'middle',
|
|
64884
|
+
// position: 'sticky',
|
|
64885
|
+
// zIndex: 1,
|
|
64886
|
+
// outline: `1px solid ${theme.palette.grey[500]}`,
|
|
64887
|
+
// borderCollapse: 'collapse',
|
|
64888
|
+
// borderSpacing: 0
|
|
64852
64889
|
},
|
|
64853
64890
|
fillerCell: {
|
|
64854
64891
|
backgroundColor: theme.palette.grey[200],
|
|
64855
64892
|
border: 'inherit',
|
|
64856
|
-
borderBottom: '
|
|
64857
|
-
borderRight: '
|
|
64893
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
64894
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
64858
64895
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
64859
64896
|
verticalAlign: 'middle',
|
|
64860
64897
|
textAlign: 'center',
|
|
@@ -65079,10 +65116,11 @@ const TableBody_TableBody = /*#__PURE__*/react["forwardRef"](function TableBody(
|
|
|
65079
65116
|
var sectionHeader_useStyles = makeStyles(function (theme) {
|
|
65080
65117
|
return {
|
|
65081
65118
|
section: {
|
|
65119
|
+
borderCollapse: 'collapse',
|
|
65082
65120
|
backgroundColor: getDark(theme) || theme.palette.secondary.dark,
|
|
65083
65121
|
border: 'inherit',
|
|
65084
|
-
borderBottom: '
|
|
65085
|
-
borderRight: '
|
|
65122
|
+
borderBottom: '1px solid ' + theme.palette.grey[500],
|
|
65123
|
+
borderRight: '1px solid ' + theme.palette.grey[500],
|
|
65086
65124
|
padding: theme.spacing(0, 1),
|
|
65087
65125
|
color: theme.palette.grey['A700'],
|
|
65088
65126
|
verticalAlign: 'middle',
|
|
@@ -65247,15 +65285,16 @@ sectionHeader_SectionHeader.propTypes = {
|
|
|
65247
65285
|
var cell_useStyles = makeStyles(function (theme) {
|
|
65248
65286
|
return {
|
|
65249
65287
|
cell: {
|
|
65250
|
-
borderBottom: '
|
|
65251
|
-
borderRight: '
|
|
65288
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
65289
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
65252
65290
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
65253
65291
|
verticalAlign: 'baseline',
|
|
65254
65292
|
color: theme.palette.grey['A700'],
|
|
65255
65293
|
'&:hover': {
|
|
65256
65294
|
boxShadow: 'inset 0 0 0 2px ' + theme.palette.primary.main
|
|
65257
65295
|
},
|
|
65258
|
-
whiteSpace: 'pre-wrap'
|
|
65296
|
+
whiteSpace: 'pre-wrap',
|
|
65297
|
+
borderCollapse: 'collapse'
|
|
65259
65298
|
},
|
|
65260
65299
|
active: {
|
|
65261
65300
|
boxShadow: 'inset 0 0 0 2px ' + theme.palette.primary.main
|
|
@@ -65387,12 +65426,14 @@ var section_useStyles = makeStyles(function (theme) {
|
|
|
65387
65426
|
rowTitle: {
|
|
65388
65427
|
backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
65389
65428
|
border: 'inherit',
|
|
65390
|
-
borderBottom: '
|
|
65391
|
-
borderRight: '
|
|
65429
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
65430
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
65392
65431
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
65393
65432
|
color: theme.palette.grey['A700'],
|
|
65394
65433
|
verticalAlign: 'top',
|
|
65395
|
-
align: 'left'
|
|
65434
|
+
align: 'left',
|
|
65435
|
+
borderCollapse: 'collapse',
|
|
65436
|
+
borderSpacing: 0
|
|
65396
65437
|
},
|
|
65397
65438
|
timePeriodCells: {
|
|
65398
65439
|
whiteSpace: 'nowrap'
|
|
@@ -65402,8 +65443,8 @@ var section_useStyles = makeStyles(function (theme) {
|
|
|
65402
65443
|
backgroundColor: theme.palette.grey[200],
|
|
65403
65444
|
verticalAlign: 'top',
|
|
65404
65445
|
border: 'inherit',
|
|
65405
|
-
borderBottom: '
|
|
65406
|
-
borderRight: '
|
|
65446
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
65447
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
65407
65448
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
65408
65449
|
position: 'sticky',
|
|
65409
65450
|
zIndex: 1
|
|
@@ -65632,8 +65673,8 @@ var TableHtml5_useStyles = makeStyles(function (theme) {
|
|
|
65632
65673
|
outline: '1px solid transparent',
|
|
65633
65674
|
transform: 'translateZ(0)',
|
|
65634
65675
|
borderCollapse: 'separate',
|
|
65635
|
-
borderLeft: '
|
|
65636
|
-
borderTop: '
|
|
65676
|
+
borderLeft: '1px solid ' + theme.palette.grey[500],
|
|
65677
|
+
borderTop: '1px solid ' + theme.palette.grey[500],
|
|
65637
65678
|
padding: '0px 0px'
|
|
65638
65679
|
},
|
|
65639
65680
|
stickyHeader: {
|
|
@@ -77343,6 +77384,10 @@ var PermsissionsTabs_useStyles = makeStyles(function (theme) {
|
|
|
77343
77384
|
'& .Mui-selected': {
|
|
77344
77385
|
fontWeight: 'bold'
|
|
77345
77386
|
}
|
|
77387
|
+
},
|
|
77388
|
+
label: {
|
|
77389
|
+
fontSize: '1.0625rem',
|
|
77390
|
+
lineHeight: '1.6'
|
|
77346
77391
|
}
|
|
77347
77392
|
};
|
|
77348
77393
|
});
|
|
@@ -77384,11 +77429,7 @@ var PermsissionsTabs_PermissionsTabs = function PermissionsTabs(_ref) {
|
|
|
77384
77429
|
null,
|
|
77385
77430
|
react_default.a.createElement(
|
|
77386
77431
|
material_Typography_Typography,
|
|
77387
|
-
{
|
|
77388
|
-
variant: 'h6',
|
|
77389
|
-
className: classes.label,
|
|
77390
|
-
style: { marginTop: 10, marginBottom: 10 }
|
|
77391
|
-
},
|
|
77432
|
+
{ className: classes.label, style: { marginTop: 10, marginBottom: 10 } },
|
|
77392
77433
|
es_prop('title')(labels)
|
|
77393
77434
|
),
|
|
77394
77435
|
react_default.a.createElement(
|