@reltio/components 1.4.1027 → 1.4.1030
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/cjs/components/ProfileBand/ProfileBand.d.ts +1 -5
- package/cjs/components/ProfileBand/ProfileBand.js +1 -17
- package/cjs/components/ProfileBand/styles.d.ts +1 -1
- package/cjs/components/ProfileBand/styles.js +0 -6
- package/cjs/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
- package/cjs/components/ProfilesList/ProfilesList.d.ts +2 -4
- package/cjs/components/ProfilesList/ProfilesList.js +2 -16
- package/cjs/components/ProfilesList/index.d.ts +1 -5
- package/cjs/components/ProfilesList/styles.d.ts +1 -1
- package/cjs/components/ProfilesList/styles.js +0 -9
- package/cjs/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +1 -1
- package/cjs/components/SmallIconButton/SmallIconButton.d.ts +1 -1
- package/cjs/components/SmallIconButton/index.d.ts +2 -2
- package/cjs/components/Title/Title.d.ts +4 -7
- package/cjs/components/Title/Title.js +3 -6
- package/cjs/components/UserSelector/UserSelector.js +2 -2
- package/cjs/components/attributes/editMode/AttributesPager/AttributeRenderer.js +1 -1
- package/cjs/components/attributes/editMode/AttributesPager/AttributesPager.js +1 -1
- package/cjs/components/attributes/editMode/AttributesPager/SpecialRenderer.js +1 -1
- package/cjs/components/attributes/inline/AttributesList/AttributesList.js +1 -1
- package/cjs/components/attributes/readMode/AttributesPager/AttributesPager.js +1 -1
- package/cjs/components/attributes/readMode/AttributesPager/MultiLineRenderer.js +1 -1
- package/cjs/components/attributes/readMode/AttributesPager/OneLineRenderer.js +1 -1
- package/cjs/components/attributes/readMode/AttributesPager/SpecialRenderer.js +1 -1
- package/cjs/components/attributes/readMode/ReferenceAttribute/index.d.ts +1 -1
- package/cjs/components/crosswalks/AttributesTable/cell-renderers/OvValuesRenderer.js +1 -1
- package/cjs/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/cjs/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/cjs/components/index.d.ts +0 -2
- package/cjs/components/index.js +2 -6
- package/cjs/hooks/useUsers.js +3 -3
- package/esm/components/ProfileBand/ProfileBand.d.ts +1 -5
- package/esm/components/ProfileBand/ProfileBand.js +2 -18
- package/esm/components/ProfileBand/styles.d.ts +1 -1
- package/esm/components/ProfileBand/styles.js +0 -6
- package/esm/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
- package/esm/components/ProfilesList/ProfilesList.d.ts +2 -4
- package/esm/components/ProfilesList/ProfilesList.js +3 -17
- package/esm/components/ProfilesList/index.d.ts +1 -5
- package/esm/components/ProfilesList/styles.d.ts +1 -1
- package/esm/components/ProfilesList/styles.js +0 -9
- package/esm/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +1 -1
- package/esm/components/SmallIconButton/SmallIconButton.d.ts +1 -1
- package/esm/components/SmallIconButton/index.d.ts +2 -2
- package/esm/components/Title/Title.d.ts +4 -7
- package/esm/components/Title/Title.js +3 -6
- package/esm/components/UserSelector/UserSelector.js +2 -2
- package/esm/components/attributes/editMode/AttributesPager/AttributeRenderer.js +1 -1
- package/esm/components/attributes/editMode/AttributesPager/AttributesPager.js +1 -1
- package/esm/components/attributes/editMode/AttributesPager/SpecialRenderer.js +1 -1
- package/esm/components/attributes/inline/AttributesList/AttributesList.js +1 -1
- package/esm/components/attributes/readMode/AttributesPager/AttributesPager.js +1 -1
- package/esm/components/attributes/readMode/AttributesPager/MultiLineRenderer.js +1 -1
- package/esm/components/attributes/readMode/AttributesPager/OneLineRenderer.js +1 -1
- package/esm/components/attributes/readMode/AttributesPager/SpecialRenderer.js +1 -1
- package/esm/components/attributes/readMode/ReferenceAttribute/index.d.ts +1 -1
- package/esm/components/crosswalks/AttributesTable/cell-renderers/OvValuesRenderer.js +1 -1
- package/esm/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/esm/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/esm/components/index.d.ts +0 -2
- package/esm/components/index.js +0 -2
- package/esm/hooks/useUsers.js +3 -3
- package/package.json +3 -3
- package/cjs/components/Score/DQLabel.d.ts +0 -2
- package/cjs/components/Score/DQLabel.js +0 -14
- package/cjs/components/Score/Score.d.ts +0 -18
- package/cjs/components/Score/Score.js +0 -26
- package/cjs/components/Score/ScoreLabel.d.ts +0 -12
- package/cjs/components/Score/ScoreLabel.js +0 -29
- package/cjs/components/Score/styles.d.ts +0 -2
- package/cjs/components/Score/styles.js +0 -36
- package/esm/components/Score/DQLabel.d.ts +0 -2
- package/esm/components/Score/DQLabel.js +0 -9
- package/esm/components/Score/Score.d.ts +0 -18
- package/esm/components/Score/Score.js +0 -21
- package/esm/components/Score/ScoreLabel.d.ts +0 -12
- package/esm/components/Score/ScoreLabel.js +0 -24
- package/esm/components/Score/styles.d.ts +0 -2
- package/esm/components/Score/styles.js +0 -33
|
@@ -87,8 +87,6 @@ export { default as ReactSortableTreeHandlers } from './ReactSortableTree/utils/
|
|
|
87
87
|
export { default as ReactSortableTreeUtils } from './ReactSortableTree/utils/tree-data-utils';
|
|
88
88
|
export { default as ReltioGridLayout } from './ReltioGridLayout/ReltioGridLayout';
|
|
89
89
|
export { default as ResizablePanes } from './ResizablePanes/ResizablePanes';
|
|
90
|
-
export { default as Score } from './Score/Score';
|
|
91
|
-
export { default as ScoreLabel } from './Score/ScoreLabel';
|
|
92
90
|
export { default as SearchInput } from './SearchInput/SearchInput';
|
|
93
91
|
export { default as WhiteSearchInput } from './SearchInput/WhiteSearchInput';
|
|
94
92
|
export { useKeyboardNavigation } from './SelectionPopup/helpers';
|
package/esm/components/index.js
CHANGED
|
@@ -86,8 +86,6 @@ export { default as ReactSortableTreeHandlers } from './ReactSortableTree/utils/
|
|
|
86
86
|
export { default as ReactSortableTreeUtils } from './ReactSortableTree/utils/tree-data-utils';
|
|
87
87
|
export { default as ReltioGridLayout } from './ReltioGridLayout/ReltioGridLayout';
|
|
88
88
|
export { default as ResizablePanes } from './ResizablePanes/ResizablePanes';
|
|
89
|
-
export { default as Score } from './Score/Score';
|
|
90
|
-
export { default as ScoreLabel } from './Score/ScoreLabel';
|
|
91
89
|
export { default as SearchInput } from './SearchInput/SearchInput';
|
|
92
90
|
export { default as WhiteSearchInput } from './SearchInput/WhiteSearchInput';
|
|
93
91
|
export { useKeyboardNavigation } from './SelectionPopup/helpers';
|
package/esm/hooks/useUsers.js
CHANGED
|
@@ -5,18 +5,18 @@ import mdm from '@reltio/mdm-module';
|
|
|
5
5
|
export var useUsers = function () {
|
|
6
6
|
var _a = useState([]), users = _a[0], setUsers = _a[1];
|
|
7
7
|
var tenant = useSelector(mdm.selectors.getTenant);
|
|
8
|
-
var
|
|
8
|
+
var servicesPath = useSelector(mdm.selectors.getServicesPath);
|
|
9
9
|
var onError = function (e) {
|
|
10
10
|
console.warn('Users error', e);
|
|
11
11
|
setUsers([]);
|
|
12
12
|
};
|
|
13
13
|
useEffect(function () {
|
|
14
|
-
getAllUsersForTenant(tenant,
|
|
14
|
+
getAllUsersForTenant({ tenant: tenant, servicesPath: servicesPath })
|
|
15
15
|
.then(function (_a) {
|
|
16
16
|
var array = _a.array;
|
|
17
17
|
return setUsers(array);
|
|
18
18
|
})
|
|
19
19
|
.catch(onError);
|
|
20
|
-
}, [tenant,
|
|
20
|
+
}, [tenant, servicesPath]);
|
|
21
21
|
return users;
|
|
22
22
|
};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1030",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@date-io/moment": "^1.3.5",
|
|
9
9
|
"@react-google-maps/api": "^2.7.0",
|
|
10
|
-
"@reltio/mdm-module": "^1.4.
|
|
11
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
10
|
+
"@reltio/mdm-module": "^1.4.1030",
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.1030",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var react_1 = __importDefault(require("react"));
|
|
7
|
-
var styles_1 = require("./styles");
|
|
8
|
-
var DQLabel = function () {
|
|
9
|
-
var styles = styles_1.useDQIQStyles();
|
|
10
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
11
|
-
react_1.default.createElement("span", null, "DQ"),
|
|
12
|
-
react_1.default.createElement("span", { className: styles.dqiq }, "IQ")));
|
|
13
|
-
};
|
|
14
|
-
exports.default = DQLabel;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export default Score;
|
|
2
|
-
declare function Score({ label, value, uri, rangeColorsConfig, className }: {
|
|
3
|
-
label: any;
|
|
4
|
-
value: any;
|
|
5
|
-
uri: any;
|
|
6
|
-
rangeColorsConfig: any;
|
|
7
|
-
className: any;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
declare namespace Score {
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const label: PropTypes.Requireable<string>;
|
|
12
|
-
const value: PropTypes.Requireable<string | number>;
|
|
13
|
-
const uri: PropTypes.Requireable<string>;
|
|
14
|
-
const rangeColorsConfig: PropTypes.Requireable<object>;
|
|
15
|
-
const className: PropTypes.Requireable<string>;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
import PropTypes from "prop-types";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var react_1 = __importDefault(require("react"));
|
|
7
|
-
var prop_types_1 = __importDefault(require("prop-types"));
|
|
8
|
-
var classnames_1 = __importDefault(require("classnames"));
|
|
9
|
-
var mdm_sdk_1 = require("@reltio/mdm-sdk");
|
|
10
|
-
var ScoreLabel_1 = __importDefault(require("./ScoreLabel"));
|
|
11
|
-
var styles_1 = require("./styles");
|
|
12
|
-
var Score = function (_a) {
|
|
13
|
-
var label = _a.label, value = _a.value, uri = _a.uri, rangeColorsConfig = _a.rangeColorsConfig, className = _a.className;
|
|
14
|
-
var styles = styles_1.useStyles();
|
|
15
|
-
return (react_1.default.createElement("div", { className: classnames_1.default(styles.container, className), key: uri },
|
|
16
|
-
react_1.default.createElement(ScoreLabel_1.default, { attrTypeUri: uri, label: label }),
|
|
17
|
-
react_1.default.createElement("span", { className: styles.value, style: { color: mdm_sdk_1.getScoreColor(uri, value, rangeColorsConfig) } }, value)));
|
|
18
|
-
};
|
|
19
|
-
Score.propTypes = {
|
|
20
|
-
label: prop_types_1.default.string,
|
|
21
|
-
value: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.number]),
|
|
22
|
-
uri: prop_types_1.default.string,
|
|
23
|
-
rangeColorsConfig: prop_types_1.default.object,
|
|
24
|
-
className: prop_types_1.default.string
|
|
25
|
-
};
|
|
26
|
-
exports.default = Score;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default ScoreLabel;
|
|
2
|
-
declare function ScoreLabel({ label, attrTypeUri }: {
|
|
3
|
-
label?: string;
|
|
4
|
-
attrTypeUri?: string;
|
|
5
|
-
}): any;
|
|
6
|
-
declare namespace ScoreLabel {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
const label: PropTypes.Requireable<string>;
|
|
9
|
-
const attrTypeUri: PropTypes.Requireable<string>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
import PropTypes from "prop-types";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var react_1 = __importDefault(require("react"));
|
|
7
|
-
var prop_types_1 = __importDefault(require("prop-types"));
|
|
8
|
-
var ui_i18n_1 = __importDefault(require("ui-i18n"));
|
|
9
|
-
var ramda_1 = require("ramda");
|
|
10
|
-
var DQLabel_1 = __importDefault(require("./DQLabel"));
|
|
11
|
-
var DQ_LABEL_URIS = ['analyticsAttributes/DQ/analyticsAttributes/score', 'analyticsAttributes/DQ'];
|
|
12
|
-
var IQ_LABEL_URIS = ['analyticsAttributes/IQ/analyticsAttributes/score', 'analyticsAttributes/IQ'];
|
|
13
|
-
var ScoreLabel = function (_a) {
|
|
14
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.attrTypeUri, attrTypeUri = _c === void 0 ? '' : _c;
|
|
15
|
-
var index = attrTypeUri.indexOf('analyticsAttributes/');
|
|
16
|
-
var relativeUri = attrTypeUri.substr(index);
|
|
17
|
-
var isDQLabel = ramda_1.includes(relativeUri, DQ_LABEL_URIS);
|
|
18
|
-
var isIQLabel = ramda_1.includes(relativeUri, IQ_LABEL_URIS);
|
|
19
|
-
return ramda_1.cond([
|
|
20
|
-
[ramda_1.always(isDQLabel), ramda_1.always(react_1.default.createElement(DQLabel_1.default, null))],
|
|
21
|
-
[ramda_1.always(isIQLabel), ramda_1.always(ui_i18n_1.default.text('Rank'))],
|
|
22
|
-
[ramda_1.T, ramda_1.always(label)]
|
|
23
|
-
])();
|
|
24
|
-
};
|
|
25
|
-
ScoreLabel.propTypes = {
|
|
26
|
-
label: prop_types_1.default.string,
|
|
27
|
-
attrTypeUri: prop_types_1.default.string
|
|
28
|
-
};
|
|
29
|
-
exports.default = ScoreLabel;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDQIQStyles = exports.useStyles = void 0;
|
|
4
|
-
var styles_1 = require("@material-ui/core/styles");
|
|
5
|
-
exports.useStyles = styles_1.makeStyles({
|
|
6
|
-
container: {
|
|
7
|
-
display: 'flex',
|
|
8
|
-
flexShrink: 0,
|
|
9
|
-
marginLeft: '10px',
|
|
10
|
-
alignItems: 'center'
|
|
11
|
-
},
|
|
12
|
-
value: {
|
|
13
|
-
marginLeft: '4px',
|
|
14
|
-
minWidth: '20px',
|
|
15
|
-
textAlign: 'center'
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
exports.useDQIQStyles = styles_1.makeStyles({
|
|
19
|
-
dqiq: {
|
|
20
|
-
width: '14px',
|
|
21
|
-
height: '14px',
|
|
22
|
-
lineHeight: '14px',
|
|
23
|
-
background: '#e6605e',
|
|
24
|
-
color: '#fff',
|
|
25
|
-
fontSize: '10px',
|
|
26
|
-
fontWeight: 100,
|
|
27
|
-
marginLeft: '2px',
|
|
28
|
-
marginRight: '1px',
|
|
29
|
-
borderRadius: '2px',
|
|
30
|
-
display: 'inline-flex',
|
|
31
|
-
justifyContent: 'center',
|
|
32
|
-
alignItems: 'center',
|
|
33
|
-
flexShrink: 0,
|
|
34
|
-
textIndent: 0
|
|
35
|
-
}
|
|
36
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useDQIQStyles } from './styles';
|
|
3
|
-
var DQLabel = function () {
|
|
4
|
-
var styles = useDQIQStyles();
|
|
5
|
-
return (React.createElement(React.Fragment, null,
|
|
6
|
-
React.createElement("span", null, "DQ"),
|
|
7
|
-
React.createElement("span", { className: styles.dqiq }, "IQ")));
|
|
8
|
-
};
|
|
9
|
-
export default DQLabel;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export default Score;
|
|
2
|
-
declare function Score({ label, value, uri, rangeColorsConfig, className }: {
|
|
3
|
-
label: any;
|
|
4
|
-
value: any;
|
|
5
|
-
uri: any;
|
|
6
|
-
rangeColorsConfig: any;
|
|
7
|
-
className: any;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
declare namespace Score {
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const label: PropTypes.Requireable<string>;
|
|
12
|
-
const value: PropTypes.Requireable<string | number>;
|
|
13
|
-
const uri: PropTypes.Requireable<string>;
|
|
14
|
-
const rangeColorsConfig: PropTypes.Requireable<object>;
|
|
15
|
-
const className: PropTypes.Requireable<string>;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
import PropTypes from "prop-types";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import classnames from 'classnames';
|
|
4
|
-
import { getScoreColor } from '@reltio/mdm-sdk';
|
|
5
|
-
import ScoreLabel from './ScoreLabel';
|
|
6
|
-
import { useStyles } from './styles';
|
|
7
|
-
var Score = function (_a) {
|
|
8
|
-
var label = _a.label, value = _a.value, uri = _a.uri, rangeColorsConfig = _a.rangeColorsConfig, className = _a.className;
|
|
9
|
-
var styles = useStyles();
|
|
10
|
-
return (React.createElement("div", { className: classnames(styles.container, className), key: uri },
|
|
11
|
-
React.createElement(ScoreLabel, { attrTypeUri: uri, label: label }),
|
|
12
|
-
React.createElement("span", { className: styles.value, style: { color: getScoreColor(uri, value, rangeColorsConfig) } }, value)));
|
|
13
|
-
};
|
|
14
|
-
Score.propTypes = {
|
|
15
|
-
label: PropTypes.string,
|
|
16
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
17
|
-
uri: PropTypes.string,
|
|
18
|
-
rangeColorsConfig: PropTypes.object,
|
|
19
|
-
className: PropTypes.string
|
|
20
|
-
};
|
|
21
|
-
export default Score;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default ScoreLabel;
|
|
2
|
-
declare function ScoreLabel({ label, attrTypeUri }: {
|
|
3
|
-
label?: string;
|
|
4
|
-
attrTypeUri?: string;
|
|
5
|
-
}): any;
|
|
6
|
-
declare namespace ScoreLabel {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
const label: PropTypes.Requireable<string>;
|
|
9
|
-
const attrTypeUri: PropTypes.Requireable<string>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
import PropTypes from "prop-types";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import i18n from 'ui-i18n';
|
|
4
|
-
import { cond, includes, always, T } from 'ramda';
|
|
5
|
-
import DQLabel from './DQLabel';
|
|
6
|
-
var DQ_LABEL_URIS = ['analyticsAttributes/DQ/analyticsAttributes/score', 'analyticsAttributes/DQ'];
|
|
7
|
-
var IQ_LABEL_URIS = ['analyticsAttributes/IQ/analyticsAttributes/score', 'analyticsAttributes/IQ'];
|
|
8
|
-
var ScoreLabel = function (_a) {
|
|
9
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.attrTypeUri, attrTypeUri = _c === void 0 ? '' : _c;
|
|
10
|
-
var index = attrTypeUri.indexOf('analyticsAttributes/');
|
|
11
|
-
var relativeUri = attrTypeUri.substr(index);
|
|
12
|
-
var isDQLabel = includes(relativeUri, DQ_LABEL_URIS);
|
|
13
|
-
var isIQLabel = includes(relativeUri, IQ_LABEL_URIS);
|
|
14
|
-
return cond([
|
|
15
|
-
[always(isDQLabel), always(React.createElement(DQLabel, null))],
|
|
16
|
-
[always(isIQLabel), always(i18n.text('Rank'))],
|
|
17
|
-
[T, always(label)]
|
|
18
|
-
])();
|
|
19
|
-
};
|
|
20
|
-
ScoreLabel.propTypes = {
|
|
21
|
-
label: PropTypes.string,
|
|
22
|
-
attrTypeUri: PropTypes.string
|
|
23
|
-
};
|
|
24
|
-
export default ScoreLabel;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
2
|
-
export var useStyles = makeStyles({
|
|
3
|
-
container: {
|
|
4
|
-
display: 'flex',
|
|
5
|
-
flexShrink: 0,
|
|
6
|
-
marginLeft: '10px',
|
|
7
|
-
alignItems: 'center'
|
|
8
|
-
},
|
|
9
|
-
value: {
|
|
10
|
-
marginLeft: '4px',
|
|
11
|
-
minWidth: '20px',
|
|
12
|
-
textAlign: 'center'
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
export var useDQIQStyles = makeStyles({
|
|
16
|
-
dqiq: {
|
|
17
|
-
width: '14px',
|
|
18
|
-
height: '14px',
|
|
19
|
-
lineHeight: '14px',
|
|
20
|
-
background: '#e6605e',
|
|
21
|
-
color: '#fff',
|
|
22
|
-
fontSize: '10px',
|
|
23
|
-
fontWeight: 100,
|
|
24
|
-
marginLeft: '2px',
|
|
25
|
-
marginRight: '1px',
|
|
26
|
-
borderRadius: '2px',
|
|
27
|
-
display: 'inline-flex',
|
|
28
|
-
justifyContent: 'center',
|
|
29
|
-
alignItems: 'center',
|
|
30
|
-
flexShrink: 0,
|
|
31
|
-
textIndent: 0
|
|
32
|
-
}
|
|
33
|
-
});
|