@sis-cc/dotstatsuite-visions 10.27.0 → 10.28.1
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 +39 -17
- package/es/DataFooter/DataFooter.js +16 -30
- package/es/DataHeader/DataHeader.js +32 -36
- package/es/HierarchicalFilter/HierarchicalFilter.js +1 -3
- package/es/Logo/Logo.js +12 -11
- package/es/ScopeList/Item.js +2 -1
- package/es/ScopeList/ScopeList.js +1 -1
- package/es/ScopeList/styles.js +1 -9
- package/es/ToggleButton/ToggleButton.js +11 -14
- package/es/VirtualizedTree/Item.js +4 -1
- package/lib/Contact/Contact.js +39 -17
- package/lib/DataFooter/DataFooter.js +16 -30
- package/lib/DataHeader/DataHeader.js +32 -36
- package/lib/HierarchicalFilter/HierarchicalFilter.js +1 -3
- package/lib/Logo/Logo.js +12 -11
- package/lib/ScopeList/Item.js +2 -1
- package/lib/ScopeList/ScopeList.js +1 -1
- package/lib/ScopeList/styles.js +1 -9
- package/lib/ToggleButton/ToggleButton.js +11 -14
- package/lib/VirtualizedTree/Item.js +4 -1
- package/package.json +1 -1
- package/umd/@sis-cc/dotstatsuite-visions.js +150 -155
- package/umd/@sis-cc/dotstatsuite-visions.min.js +9 -9
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @sis-cc/dotstatsuite-visions v10.
|
|
2
|
+
* @sis-cc/dotstatsuite-visions v10.28.1 - https://visions-qa.siscc.org/#o
|
|
3
3
|
* MIT Licensed
|
|
4
4
|
*/
|
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -6697,7 +6697,7 @@ function removeClassName(el
|
|
|
6697
6697
|
/* 119 */
|
|
6698
6698
|
/***/ (function(module) {
|
|
6699
6699
|
|
|
6700
|
-
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.
|
|
6700
|
+
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.28.1","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":">=14"},"files":["css","es","lib","umd"],"scripts":{"build":"nwb build-react-component --copy-files --no-demo && node scripts/doc && nwb build-demo","build:dev":"nwb build-react-component --copy-files --no-demo","clean":"nwb clean-module && nwb clean-demo","prepublishOnly":"npm run build","start":"nwb serve-react-demo","test":"jest","test:watch":"jest --watch --no-cache","lint":"eslint src/ --color","precommit":"lint-staged"},"dependencies":{"@react-hook/size":"^2.1.1","classnames":"^2.2.6","date-fns":"^1.30.1","isemail":"^3.2.0","numeral":"^2.0.6","prop-types":"^15.7.2","ramda":"^0.27.0","react-beautiful-dnd":"^13.0.0","react-draggable":"^4.4.5","react-error-boundary":"^4.0.10","react-virtualized":"^9.21.2"},"peerDependencies":{"@material-ui/core":"^4","@material-ui/icons":"^4","@sis-cc/dotstatsuite-sdmxjs":"^8.x","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","@material-ui/core":"^4","@material-ui/icons":"^4","@sis-cc/dotstatsuite-sdmxjs":"*","@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","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","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":"^18","react-a11y":"^1.1.0","react-dom":"^18","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-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"}};
|
|
6701
6701
|
|
|
6702
6702
|
/***/ }),
|
|
6703
6703
|
/* 120 */
|
|
@@ -44916,25 +44916,29 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
44916
44916
|
email = _useState5[0],
|
|
44917
44917
|
setEmail = _useState5[1];
|
|
44918
44918
|
|
|
44919
|
-
var _useState6 = Object(react["useState"])(
|
|
44920
|
-
|
|
44921
|
-
|
|
44919
|
+
var _useState6 = Object(react["useState"])(''),
|
|
44920
|
+
subject = _useState6[0],
|
|
44921
|
+
setSubject = _useState6[1];
|
|
44922
44922
|
|
|
44923
|
-
var _useState7 = Object(react["useState"])(
|
|
44924
|
-
|
|
44925
|
-
|
|
44923
|
+
var _useState7 = Object(react["useState"])(false),
|
|
44924
|
+
emailHasError = _useState7[0],
|
|
44925
|
+
setEmailError = _useState7[1];
|
|
44926
44926
|
|
|
44927
|
-
var _useState8 = Object(react["useState"])(
|
|
44928
|
-
|
|
44929
|
-
|
|
44927
|
+
var _useState8 = Object(react["useState"])(''),
|
|
44928
|
+
details = _useState8[0],
|
|
44929
|
+
setDetails = _useState8[1];
|
|
44930
44930
|
|
|
44931
|
-
var _useState9 = Object(react["useState"])(
|
|
44932
|
-
|
|
44933
|
-
|
|
44931
|
+
var _useState9 = Object(react["useState"])(false),
|
|
44932
|
+
checked = _useState9[0],
|
|
44933
|
+
setChecked = _useState9[1];
|
|
44934
44934
|
|
|
44935
|
-
var _useState10 = Object(react["useState"])(
|
|
44936
|
-
|
|
44937
|
-
|
|
44935
|
+
var _useState10 = Object(react["useState"])(true),
|
|
44936
|
+
isSendDisable = _useState10[0],
|
|
44937
|
+
setSendDisable = _useState10[1];
|
|
44938
|
+
|
|
44939
|
+
var _useState11 = Object(react["useState"])(false),
|
|
44940
|
+
detailsHasError = _useState11[0],
|
|
44941
|
+
setDetailsError = _useState11[1];
|
|
44938
44942
|
|
|
44939
44943
|
var checkEmail = function checkEmail(email) {
|
|
44940
44944
|
if (Object(lib["validate"])(email) && es_test(/^\S+@\S+\.\S+$/, email)) {
|
|
@@ -44958,7 +44962,8 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
44958
44962
|
organisation: organisation,
|
|
44959
44963
|
email: email,
|
|
44960
44964
|
details: details,
|
|
44961
|
-
checkbox: checked
|
|
44965
|
+
checkbox: checked,
|
|
44966
|
+
subject: subject
|
|
44962
44967
|
});
|
|
44963
44968
|
};
|
|
44964
44969
|
|
|
@@ -45072,6 +45077,22 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
45072
45077
|
es_prop('message')(es_find(es_propEq('value', mode))(modes))
|
|
45073
45078
|
)
|
|
45074
45079
|
),
|
|
45080
|
+
react_default.a.createElement(
|
|
45081
|
+
esm_Grid_Grid,
|
|
45082
|
+
{ item: true, xs: 12, md: 12 },
|
|
45083
|
+
react_default.a.createElement(Contact_Input, {
|
|
45084
|
+
variant: 'outlined',
|
|
45085
|
+
isControlled: true,
|
|
45086
|
+
label: labels.subject,
|
|
45087
|
+
name: 'subject',
|
|
45088
|
+
type: 'text',
|
|
45089
|
+
onChange: function onChange(e) {
|
|
45090
|
+
return setSubject(e.target.value);
|
|
45091
|
+
},
|
|
45092
|
+
value: subject,
|
|
45093
|
+
fullWidth: true
|
|
45094
|
+
})
|
|
45095
|
+
),
|
|
45075
45096
|
react_default.a.createElement(
|
|
45076
45097
|
esm_Grid_Grid,
|
|
45077
45098
|
{ item: true, xs: 12, md: 12 },
|
|
@@ -45168,7 +45189,8 @@ Contact_Contact.propTypes = {
|
|
|
45168
45189
|
submit: prop_types_default.a.string,
|
|
45169
45190
|
email: prop_types_default.a.string,
|
|
45170
45191
|
details: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element]),
|
|
45171
|
-
contactForHelp: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element])
|
|
45192
|
+
contactForHelp: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element]),
|
|
45193
|
+
subject: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element])
|
|
45172
45194
|
})
|
|
45173
45195
|
};
|
|
45174
45196
|
/* harmony default export */ var src_Contact_Contact = (Contact_Contact);
|
|
@@ -46618,6 +46640,37 @@ Dataflow_Dataflow.propTypes = {
|
|
|
46618
46640
|
*/
|
|
46619
46641
|
|
|
46620
46642
|
|
|
46643
|
+
// CONCATENATED MODULE: ./node_modules/ramda/es/lt.js
|
|
46644
|
+
|
|
46645
|
+
/**
|
|
46646
|
+
* Returns `true` if the first argument is less than the second; `false`
|
|
46647
|
+
* otherwise.
|
|
46648
|
+
*
|
|
46649
|
+
* @func
|
|
46650
|
+
* @memberOf R
|
|
46651
|
+
* @since v0.1.0
|
|
46652
|
+
* @category Relation
|
|
46653
|
+
* @sig Ord a => a -> a -> Boolean
|
|
46654
|
+
* @param {*} a
|
|
46655
|
+
* @param {*} b
|
|
46656
|
+
* @return {Boolean}
|
|
46657
|
+
* @see R.gt
|
|
46658
|
+
* @example
|
|
46659
|
+
*
|
|
46660
|
+
* R.lt(2, 1); //=> false
|
|
46661
|
+
* R.lt(2, 2); //=> false
|
|
46662
|
+
* R.lt(2, 3); //=> true
|
|
46663
|
+
* R.lt('a', 'z'); //=> true
|
|
46664
|
+
* R.lt('z', 'a'); //=> false
|
|
46665
|
+
*/
|
|
46666
|
+
|
|
46667
|
+
var lt =
|
|
46668
|
+
/*#__PURE__*/
|
|
46669
|
+
_curry2(function lt(a, b) {
|
|
46670
|
+
return a < b;
|
|
46671
|
+
});
|
|
46672
|
+
|
|
46673
|
+
/* harmony default export */ var es_lt = (lt);
|
|
46621
46674
|
// CONCATENATED MODULE: ./node_modules/ramda/es/cond.js
|
|
46622
46675
|
|
|
46623
46676
|
|
|
@@ -46693,37 +46746,6 @@ var T = function () {
|
|
|
46693
46746
|
};
|
|
46694
46747
|
|
|
46695
46748
|
/* harmony default export */ var es_T = (T);
|
|
46696
|
-
// CONCATENATED MODULE: ./node_modules/ramda/es/lt.js
|
|
46697
|
-
|
|
46698
|
-
/**
|
|
46699
|
-
* Returns `true` if the first argument is less than the second; `false`
|
|
46700
|
-
* otherwise.
|
|
46701
|
-
*
|
|
46702
|
-
* @func
|
|
46703
|
-
* @memberOf R
|
|
46704
|
-
* @since v0.1.0
|
|
46705
|
-
* @category Relation
|
|
46706
|
-
* @sig Ord a => a -> a -> Boolean
|
|
46707
|
-
* @param {*} a
|
|
46708
|
-
* @param {*} b
|
|
46709
|
-
* @return {Boolean}
|
|
46710
|
-
* @see R.gt
|
|
46711
|
-
* @example
|
|
46712
|
-
*
|
|
46713
|
-
* R.lt(2, 1); //=> false
|
|
46714
|
-
* R.lt(2, 2); //=> false
|
|
46715
|
-
* R.lt(2, 3); //=> true
|
|
46716
|
-
* R.lt('a', 'z'); //=> true
|
|
46717
|
-
* R.lt('z', 'a'); //=> false
|
|
46718
|
-
*/
|
|
46719
|
-
|
|
46720
|
-
var lt =
|
|
46721
|
-
/*#__PURE__*/
|
|
46722
|
-
_curry2(function lt(a, b) {
|
|
46723
|
-
return a < b;
|
|
46724
|
-
});
|
|
46725
|
-
|
|
46726
|
-
/* harmony default export */ var es_lt = (lt);
|
|
46727
46749
|
// EXTERNAL MODULE: ./node_modules/@material-ui/icons/Info.js
|
|
46728
46750
|
var Info = __webpack_require__(184);
|
|
46729
46751
|
var Info_default = /*#__PURE__*/__webpack_require__.n(Info);
|
|
@@ -47504,11 +47526,7 @@ var DataHeader_useStyles = styles_makeStyles(function (theme) {
|
|
|
47504
47526
|
return {
|
|
47505
47527
|
header: {
|
|
47506
47528
|
alignItems: 'center',
|
|
47507
|
-
display: 'flex'
|
|
47508
|
-
justifyContent: function justifyContent(_ref) {
|
|
47509
|
-
var isWidthLess = _ref.isWidthLess;
|
|
47510
|
-
return isWidthLess(T4_BREAKPOINTS.xs2) ? 'flex-end' : 'space-between';
|
|
47511
|
-
}
|
|
47529
|
+
display: 'flex'
|
|
47512
47530
|
},
|
|
47513
47531
|
container: DataHeader_extends({
|
|
47514
47532
|
display: 'flex',
|
|
@@ -47522,12 +47540,7 @@ var DataHeader_useStyles = styles_makeStyles(function (theme) {
|
|
|
47522
47540
|
display: 'inline-block',
|
|
47523
47541
|
width: '100%',
|
|
47524
47542
|
lineHeight: 1.5
|
|
47525
|
-
}, es_pathOr({}, ['mixins', 'dataHeader', 'title'], theme),
|
|
47526
|
-
fontSize: function fontSize(_ref2) {
|
|
47527
|
-
var isWidthLess = _ref2.isWidthLess;
|
|
47528
|
-
return es_cond([[es_always(isWidthLess(T4_BREAKPOINTS.xs3)), es_always(12)], [es_always(isWidthLess(T4_BREAKPOINTS.sm)), es_always(14)], [es_always(isWidthLess(T4_BREAKPOINTS.md2)), es_always(16)], [es_T, es_identity]])(18);
|
|
47529
|
-
}
|
|
47530
|
-
}),
|
|
47543
|
+
}, es_pathOr({}, ['mixins', 'dataHeader', 'title'], theme)),
|
|
47531
47544
|
wrapperSubtitle: {
|
|
47532
47545
|
alignItems: 'center',
|
|
47533
47546
|
display: 'flex',
|
|
@@ -47538,18 +47551,9 @@ var DataHeader_useStyles = styles_makeStyles(function (theme) {
|
|
|
47538
47551
|
subtitle: DataHeader_extends({
|
|
47539
47552
|
lineHeight: 1.6,
|
|
47540
47553
|
color: theme.palette.grey[600]
|
|
47541
|
-
}, es_pathOr({}, ['mixins', 'dataHeader', 'subtitle'], theme),
|
|
47542
|
-
fontSize: function fontSize(_ref3) {
|
|
47543
|
-
var isWidthLess = _ref3.isWidthLess;
|
|
47544
|
-
return es_cond([[es_always(isWidthLess(T4_BREAKPOINTS.xs3)), es_always(12)], [es_always(isWidthLess(T4_BREAKPOINTS.sm)), es_always(13)]])(14);
|
|
47545
|
-
}
|
|
47546
|
-
}),
|
|
47554
|
+
}, es_pathOr({}, ['mixins', 'dataHeader', 'subtitle'], theme)),
|
|
47547
47555
|
disclaimer: DataHeader_extends({
|
|
47548
47556
|
padding: theme.spacing(0.5),
|
|
47549
|
-
fontSize: function fontSize(_ref4) {
|
|
47550
|
-
var isWidthLess = _ref4.isWidthLess;
|
|
47551
|
-
return es_cond([[es_always(isWidthLess(T4_BREAKPOINTS.xs3)), es_always(12)], [es_always(isWidthLess(T4_BREAKPOINTS.sm)), es_always(13)]])(14);
|
|
47552
|
-
},
|
|
47553
47557
|
lineHeight: 1.5
|
|
47554
47558
|
}, es_pathOr({}, ['mixins', 'dataHeader', 'disclaimer'], theme)),
|
|
47555
47559
|
infoIcon: {
|
|
@@ -47591,19 +47595,19 @@ var DataHeader_useStyles = styles_makeStyles(function (theme) {
|
|
|
47591
47595
|
};
|
|
47592
47596
|
});
|
|
47593
47597
|
|
|
47594
|
-
var DataHeader_DataHeader = function DataHeader(
|
|
47598
|
+
var DataHeader_DataHeader = function DataHeader(_ref) {
|
|
47595
47599
|
var _cx;
|
|
47596
47600
|
|
|
47597
|
-
var children =
|
|
47598
|
-
title =
|
|
47599
|
-
|
|
47600
|
-
subtitle =
|
|
47601
|
-
combinations =
|
|
47602
|
-
disclaimer =
|
|
47603
|
-
sideProps =
|
|
47604
|
-
SideIcon =
|
|
47605
|
-
|
|
47606
|
-
isSticky =
|
|
47601
|
+
var children = _ref.children,
|
|
47602
|
+
title = _ref.title,
|
|
47603
|
+
_ref$subtitle = _ref.subtitle,
|
|
47604
|
+
subtitle = _ref$subtitle === undefined ? [] : _ref$subtitle,
|
|
47605
|
+
combinations = _ref.combinations,
|
|
47606
|
+
disclaimer = _ref.disclaimer,
|
|
47607
|
+
sideProps = _ref.sideProps,
|
|
47608
|
+
SideIcon = _ref.SideIcon,
|
|
47609
|
+
_ref$isSticky = _ref.isSticky,
|
|
47610
|
+
isSticky = _ref$isSticky === undefined ? false : _ref$isSticky;
|
|
47607
47611
|
|
|
47608
47612
|
var target = react_default.a.useRef(null);
|
|
47609
47613
|
|
|
@@ -47612,7 +47616,7 @@ var DataHeader_DataHeader = function DataHeader(_ref5) {
|
|
|
47612
47616
|
|
|
47613
47617
|
var isWidthUp = es_gte(width);
|
|
47614
47618
|
var isWidthLess = es_lt(width);
|
|
47615
|
-
var classes = DataHeader_useStyles(
|
|
47619
|
+
var classes = DataHeader_useStyles();
|
|
47616
47620
|
|
|
47617
47621
|
var reducedContent = utils_getReducedContent({
|
|
47618
47622
|
isWidthLess: isWidthLess,
|
|
@@ -47624,13 +47628,21 @@ var DataHeader_DataHeader = function DataHeader(_ref5) {
|
|
|
47624
47628
|
|
|
47625
47629
|
var theme = useTheme_useTheme();
|
|
47626
47630
|
var iconColor = es_path(['mixins', 'dataHeader', 'icon', 'color'], theme);
|
|
47627
|
-
|
|
47631
|
+
var fontSizeTitle = es_cond([[es_always(isWidthLess(T4_BREAKPOINTS.xs3)), es_always(12)], [es_always(isWidthLess(T4_BREAKPOINTS.sm)), es_always(14)], [es_always(isWidthLess(T4_BREAKPOINTS.md2)), es_always(16)], [es_T, es_identity]])(18);
|
|
47632
|
+
var fontSizeSubtitle = es_cond([[es_always(isWidthLess(T4_BREAKPOINTS.xs3)), es_always(12)], [es_always(isWidthLess(T4_BREAKPOINTS.sm)), es_always(13)]])(14);
|
|
47628
47633
|
var subtitleLength = es_length(subtitle);
|
|
47629
47634
|
var combinationsLength = es_length(combinations);
|
|
47630
47635
|
|
|
47631
47636
|
return react_default.a.createElement(
|
|
47632
47637
|
'div',
|
|
47633
|
-
{
|
|
47638
|
+
{
|
|
47639
|
+
className: classes.header,
|
|
47640
|
+
style: {
|
|
47641
|
+
justifyContent: isWidthLess(T4_BREAKPOINTS.xs2) ? 'flex-end' : 'space-between'
|
|
47642
|
+
},
|
|
47643
|
+
ref: target,
|
|
47644
|
+
'data-testid': 'data-header'
|
|
47645
|
+
},
|
|
47634
47646
|
react_default.a.createElement(
|
|
47635
47647
|
'div',
|
|
47636
47648
|
{ className: classnames_default()(classes.container, (_cx = {}, _cx[classes.sticky] = isSticky, _cx)) },
|
|
@@ -47639,6 +47651,7 @@ var DataHeader_DataHeader = function DataHeader(_ref5) {
|
|
|
47639
47651
|
{
|
|
47640
47652
|
variant: 'h1',
|
|
47641
47653
|
className: classes.title,
|
|
47654
|
+
style: { fontSize: fontSizeTitle },
|
|
47642
47655
|
'data-testid': 'data-header-title',
|
|
47643
47656
|
'aria-label': title.label
|
|
47644
47657
|
},
|
|
@@ -47659,6 +47672,7 @@ var DataHeader_DataHeader = function DataHeader(_ref5) {
|
|
|
47659
47672
|
{
|
|
47660
47673
|
key: 'subtitle-' + index,
|
|
47661
47674
|
className: classes.subtitle,
|
|
47675
|
+
style: { fontSize: fontSizeSubtitle },
|
|
47662
47676
|
'data-testid': 'data-header-subtitle',
|
|
47663
47677
|
'aria-label': sub.header
|
|
47664
47678
|
},
|
|
@@ -47706,7 +47720,11 @@ var DataHeader_DataHeader = function DataHeader(_ref5) {
|
|
|
47706
47720
|
),
|
|
47707
47721
|
isWidthUp(T4_BREAKPOINTS.xs3) && disclaimer && react_default.a.createElement(
|
|
47708
47722
|
esm_Typography_Typography,
|
|
47709
|
-
{
|
|
47723
|
+
{
|
|
47724
|
+
'data-testid': 'data-header-disclaimer',
|
|
47725
|
+
className: classes.disclaimer,
|
|
47726
|
+
style: { fontSize: fontSizeSubtitle }
|
|
47727
|
+
},
|
|
47710
47728
|
disclaimer
|
|
47711
47729
|
)
|
|
47712
47730
|
),
|
|
@@ -47865,25 +47883,11 @@ var DataFooter_useStyles = styles_makeStyles(function (theme) {
|
|
|
47865
47883
|
flexGrow: 1
|
|
47866
47884
|
},
|
|
47867
47885
|
copyright: {
|
|
47868
|
-
padding:
|
|
47869
|
-
var isWidthUp = _ref.isWidthUp,
|
|
47870
|
-
isSourced = _ref.isSourced;
|
|
47871
|
-
|
|
47872
|
-
if (isWidthUp(T4_BREAKPOINTS.sm) && isSourced) return 0;
|
|
47873
|
-
return theme.spacing(0, 1, 0, 1);
|
|
47874
|
-
}
|
|
47886
|
+
padding: 0
|
|
47875
47887
|
},
|
|
47876
47888
|
source: {
|
|
47877
47889
|
padding: theme.spacing(0, 1, 0, 1)
|
|
47878
47890
|
},
|
|
47879
|
-
typo: {
|
|
47880
|
-
fontSize: function fontSize(_ref2) {
|
|
47881
|
-
var isWidthUp = _ref2.isWidthUp;
|
|
47882
|
-
|
|
47883
|
-
if (isWidthUp(T4_BREAKPOINTS.lg)) return 14;
|
|
47884
|
-
return 12;
|
|
47885
|
-
}
|
|
47886
|
-
},
|
|
47887
47891
|
logo: {
|
|
47888
47892
|
height: HEIGHT / 2,
|
|
47889
47893
|
display: 'flex'
|
|
@@ -47895,15 +47899,15 @@ var DataFooter_useStyles = styles_makeStyles(function (theme) {
|
|
|
47895
47899
|
};
|
|
47896
47900
|
});
|
|
47897
47901
|
|
|
47898
|
-
var DataFooter_DataFooter = function DataFooter(
|
|
47902
|
+
var DataFooter_DataFooter = function DataFooter(_ref) {
|
|
47899
47903
|
var _cx;
|
|
47900
47904
|
|
|
47901
|
-
var logo =
|
|
47902
|
-
source =
|
|
47903
|
-
copyright =
|
|
47904
|
-
legend =
|
|
47905
|
-
|
|
47906
|
-
isSticky =
|
|
47905
|
+
var logo = _ref.logo,
|
|
47906
|
+
source = _ref.source,
|
|
47907
|
+
copyright = _ref.copyright,
|
|
47908
|
+
legend = _ref.legend,
|
|
47909
|
+
_ref$isSticky = _ref.isSticky,
|
|
47910
|
+
isSticky = _ref$isSticky === undefined ? false : _ref$isSticky;
|
|
47907
47911
|
|
|
47908
47912
|
var target = react_default.a.useRef(null);
|
|
47909
47913
|
|
|
@@ -47913,12 +47917,13 @@ var DataFooter_DataFooter = function DataFooter(_ref3) {
|
|
|
47913
47917
|
var isWidthUp = es_gt(width);
|
|
47914
47918
|
var isSourced = source && source.label && source.link;
|
|
47915
47919
|
var isCopyrighted = copyright && copyright.label && copyright.content;
|
|
47916
|
-
var classes = DataFooter_useStyles(
|
|
47920
|
+
var classes = DataFooter_useStyles();
|
|
47917
47921
|
|
|
47918
47922
|
var _useKeyboardEscapeHan = useKeybordEscapeHandler(),
|
|
47919
47923
|
open = _useKeyboardEscapeHan.open,
|
|
47920
47924
|
setOpen = _useKeyboardEscapeHan.setOpen;
|
|
47921
47925
|
|
|
47926
|
+
var typoSize = isWidthUp(T4_BREAKPOINTS.lg) ? 14 : 12;
|
|
47922
47927
|
if (!isWidthUp(T4_BREAKPOINTS.xs)) return react_default.a.createElement(esm_Grid_Grid, { ref: target });
|
|
47923
47928
|
|
|
47924
47929
|
return react_default.a.createElement(
|
|
@@ -47950,7 +47955,10 @@ var DataFooter_DataFooter = function DataFooter(_ref3) {
|
|
|
47950
47955
|
},
|
|
47951
47956
|
react_default.a.createElement(
|
|
47952
47957
|
esm_Grid_Grid,
|
|
47953
|
-
{
|
|
47958
|
+
{
|
|
47959
|
+
item: true,
|
|
47960
|
+
className: isWidthUp(T4_BREAKPOINTS.sm) && isSourced ? classes.copyright : classes.source
|
|
47961
|
+
},
|
|
47954
47962
|
isCopyrighted && react_default.a.createElement(
|
|
47955
47963
|
react["Fragment"],
|
|
47956
47964
|
null,
|
|
@@ -47980,11 +47988,7 @@ var DataFooter_DataFooter = function DataFooter(_ref3) {
|
|
|
47980
47988
|
},
|
|
47981
47989
|
react_default.a.createElement(
|
|
47982
47990
|
esm_Typography_Typography,
|
|
47983
|
-
{
|
|
47984
|
-
variant: 'body2',
|
|
47985
|
-
className: classes.typo,
|
|
47986
|
-
style: { cursor: 'pointer' }
|
|
47987
|
-
},
|
|
47991
|
+
{ variant: 'body2', style: { cursor: 'pointer', fontSize: typoSize } },
|
|
47988
47992
|
copyright.label
|
|
47989
47993
|
)
|
|
47990
47994
|
),
|
|
@@ -48000,7 +48004,7 @@ var DataFooter_DataFooter = function DataFooter(_ref3) {
|
|
|
48000
48004
|
{ item: true, className: classes.source },
|
|
48001
48005
|
react_default.a.createElement(
|
|
48002
48006
|
esm_Typography_Typography,
|
|
48003
|
-
{ variant: 'body2',
|
|
48007
|
+
{ variant: 'body2', style: { fontSize: typoSize } },
|
|
48004
48008
|
react_default.a.createElement(
|
|
48005
48009
|
esm_Link_Link,
|
|
48006
48010
|
{ href: source.link, rel: 'noopener noreferrer', target: '_blank', variant: 'body2' },
|
|
@@ -49507,10 +49511,6 @@ var Logo_useStyles = styles_makeStyles(function () {
|
|
|
49507
49511
|
},
|
|
49508
49512
|
logo: {
|
|
49509
49513
|
maxWidth: '100%',
|
|
49510
|
-
maxHeight: function maxHeight(_ref) {
|
|
49511
|
-
var _maxHeight = _ref.maxHeight;
|
|
49512
|
-
return _maxHeight;
|
|
49513
|
-
},
|
|
49514
49514
|
imageRendering: 'crisp-edges'
|
|
49515
49515
|
},
|
|
49516
49516
|
// https://caniuse.com/mdn-css_properties_image-rendering_crisp-edges
|
|
@@ -49520,17 +49520,22 @@ var Logo_useStyles = styles_makeStyles(function () {
|
|
|
49520
49520
|
};
|
|
49521
49521
|
});
|
|
49522
49522
|
|
|
49523
|
-
var Logo_Logo = function Logo(
|
|
49524
|
-
var logo =
|
|
49525
|
-
|
|
49526
|
-
maxHeight =
|
|
49527
|
-
children =
|
|
49523
|
+
var Logo_Logo = function Logo(_ref) {
|
|
49524
|
+
var logo = _ref.logo,
|
|
49525
|
+
_ref$maxHeight = _ref.maxHeight,
|
|
49526
|
+
maxHeight = _ref$maxHeight === undefined ? 150 : _ref$maxHeight,
|
|
49527
|
+
children = _ref.children;
|
|
49528
49528
|
|
|
49529
|
-
var classes = Logo_useStyles(
|
|
49529
|
+
var classes = Logo_useStyles();
|
|
49530
49530
|
return react_default.a.createElement(
|
|
49531
49531
|
'div',
|
|
49532
49532
|
{ className: classes.container },
|
|
49533
|
-
react_default.a.createElement('img', {
|
|
49533
|
+
react_default.a.createElement('img', {
|
|
49534
|
+
className: classnames_default()(classes.logo, classes.alternativeBrowserLogo),
|
|
49535
|
+
style: { maxHeight: maxHeight },
|
|
49536
|
+
src: logo,
|
|
49537
|
+
alt: 'logo'
|
|
49538
|
+
}),
|
|
49534
49539
|
children
|
|
49535
49540
|
);
|
|
49536
49541
|
};
|
|
@@ -67243,10 +67248,6 @@ var ToggleButton_useStyles = styles_makeStyles(function (theme) {
|
|
|
67243
67248
|
}
|
|
67244
67249
|
},
|
|
67245
67250
|
label: {
|
|
67246
|
-
textTransform: function textTransform(_ref) {
|
|
67247
|
-
var _textTransform = _ref.textTransform;
|
|
67248
|
-
return _textTransform;
|
|
67249
|
-
},
|
|
67250
67251
|
textAlign: 'left',
|
|
67251
67252
|
fontSize: '0.9375rem',
|
|
67252
67253
|
lineHeight: '1.0'
|
|
@@ -67258,19 +67259,19 @@ var ToggleButton_useStyles = styles_makeStyles(function (theme) {
|
|
|
67258
67259
|
};
|
|
67259
67260
|
});
|
|
67260
67261
|
|
|
67261
|
-
var ToggleButton_ToggleButton = function ToggleButton(
|
|
67262
|
+
var ToggleButton_ToggleButton = function ToggleButton(_ref) {
|
|
67262
67263
|
var _cx;
|
|
67263
67264
|
|
|
67264
|
-
var isOpen =
|
|
67265
|
-
label =
|
|
67266
|
-
toggle =
|
|
67267
|
-
testId =
|
|
67268
|
-
|
|
67269
|
-
tabindex =
|
|
67270
|
-
|
|
67271
|
-
textTransform =
|
|
67272
|
-
|
|
67273
|
-
var classes = ToggleButton_useStyles(
|
|
67265
|
+
var isOpen = _ref.isOpen,
|
|
67266
|
+
label = _ref.label,
|
|
67267
|
+
toggle = _ref.toggle,
|
|
67268
|
+
testId = _ref.testId,
|
|
67269
|
+
_ref$tabindex = _ref.tabindex,
|
|
67270
|
+
tabindex = _ref$tabindex === undefined ? 0 : _ref$tabindex,
|
|
67271
|
+
_ref$textTransform = _ref.textTransform,
|
|
67272
|
+
textTransform = _ref$textTransform === undefined ? 'capitalize' : _ref$textTransform;
|
|
67273
|
+
|
|
67274
|
+
var classes = ToggleButton_useStyles();
|
|
67274
67275
|
return react_default.a.createElement(
|
|
67275
67276
|
esm_Button_Button,
|
|
67276
67277
|
{
|
|
@@ -67280,6 +67281,7 @@ var ToggleButton_ToggleButton = function ToggleButton(_ref2) {
|
|
|
67280
67281
|
'data-testid': testId,
|
|
67281
67282
|
classes: { root: classes.root, label: classes.label },
|
|
67282
67283
|
className: classnames_default()((_cx = {}, _cx[classes.selected] = isOpen, _cx)),
|
|
67284
|
+
style: { textTransform: textTransform },
|
|
67283
67285
|
fullWidth: true,
|
|
67284
67286
|
variant: 'text',
|
|
67285
67287
|
onClick: es_is(Function)(toggle) ? toggle : null
|
|
@@ -70923,7 +70925,10 @@ var VirtualizedTree_Item_Item = function Item(_ref) {
|
|
|
70923
70925
|
onMouseDown: isDisabled || open ? null : eventsListeners.onMouseDown,
|
|
70924
70926
|
onMouseEnter: isDisabled || open ? null : eventsListeners.onMouseEnter,
|
|
70925
70927
|
title: isGreyed ? es_propOr('', 'disableItemLabel')(labels) + ' ' + label : label,
|
|
70926
|
-
style: {
|
|
70928
|
+
style: {
|
|
70929
|
+
opacity: isDisabled && isGreyed ? '0.5' : '1',
|
|
70930
|
+
outline: accessibility ? undefined : 'none'
|
|
70931
|
+
},
|
|
70927
70932
|
primary: react_default.a.createElement(
|
|
70928
70933
|
'div',
|
|
70929
70934
|
{
|
|
@@ -71051,11 +71056,7 @@ var ScopeList_styles_useStyles = styles_makeStyles(function (theme) {
|
|
|
71051
71056
|
margin: 0,
|
|
71052
71057
|
userSelect: 'none',
|
|
71053
71058
|
cursor: 'pointer',
|
|
71054
|
-
color: theme.palette.primary.main
|
|
71055
|
-
outline: function outline(_ref) {
|
|
71056
|
-
var accessibility = _ref.accessibility;
|
|
71057
|
-
return accessibility ? undefined : 'none';
|
|
71058
|
-
}
|
|
71059
|
+
color: theme.palette.primary.main
|
|
71059
71060
|
},
|
|
71060
71061
|
listItemHover: {
|
|
71061
71062
|
'&:hover': {
|
|
@@ -71150,10 +71151,6 @@ var ScopeList_styles_useStyles = styles_makeStyles(function (theme) {
|
|
|
71150
71151
|
color: theme.palette.primary.main,
|
|
71151
71152
|
height: '100%',
|
|
71152
71153
|
display: 'flex',
|
|
71153
|
-
outline: function outline(_ref2) {
|
|
71154
|
-
var accessibility = _ref2.accessibility;
|
|
71155
|
-
return accessibility ? undefined : 'none';
|
|
71156
|
-
},
|
|
71157
71154
|
'&:hover, &:focus': {
|
|
71158
71155
|
backgroundColor: theme.palette.primary.main,
|
|
71159
71156
|
color: theme.palette.common.white
|
|
@@ -72701,7 +72698,6 @@ var HierarchicalFilter_HierarchicalFilter = function HierarchicalFilter(props) {
|
|
|
72701
72698
|
activePanelId = props.activePanelId,
|
|
72702
72699
|
Tag = props.Tag,
|
|
72703
72700
|
testId = props.testId,
|
|
72704
|
-
accessibility = props.accessibility,
|
|
72705
72701
|
_props$expansionPanel = props.expansionPanelProps,
|
|
72706
72702
|
expansionPanelProps = _props$expansionPanel === undefined ? {} : _props$expansionPanel,
|
|
72707
72703
|
_props$labelRenderer = props.labelRenderer,
|
|
@@ -72721,7 +72717,7 @@ var HierarchicalFilter_HierarchicalFilter = function HierarchicalFilter(props) {
|
|
|
72721
72717
|
_props$simpleSelectio = props.simpleSelectionMode,
|
|
72722
72718
|
simpleSelectionMode = _props$simpleSelectio === undefined ? false : _props$simpleSelectio;
|
|
72723
72719
|
|
|
72724
|
-
var classes = ScopeList_styles_useStyles(
|
|
72720
|
+
var classes = ScopeList_styles_useStyles();
|
|
72725
72721
|
var theme = useTheme_useTheme();
|
|
72726
72722
|
var isRtl = utils_getIsRtl(theme);
|
|
72727
72723
|
var Chip = es_isNil(Tag) ? src_Tag_Tag : Tag;
|
|
@@ -72805,7 +72801,6 @@ var HierarchicalFilter_HierarchicalFilter = function HierarchicalFilter(props) {
|
|
|
72805
72801
|
|
|
72806
72802
|
HierarchicalFilter_HierarchicalFilter.propTypes = {
|
|
72807
72803
|
id: prop_types_default.a.string,
|
|
72808
|
-
accessibility: prop_types_default.a.bool,
|
|
72809
72804
|
activePanelId: prop_types_default.a.string,
|
|
72810
72805
|
changeSelection: prop_types_default.a.func,
|
|
72811
72806
|
onChangeActivePanel: prop_types_default.a.func,
|