@truedat/dq 6.13.7 → 6.14.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dq",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.1",
|
|
4
4
|
"description": "Truedat Web Data Quality Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.5",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "6.
|
|
37
|
+
"@truedat/test": "6.14.1",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@apollo/client": "^3.7.1",
|
|
95
|
-
"@truedat/core": "6.
|
|
96
|
-
"@truedat/df": "6.
|
|
95
|
+
"@truedat/core": "6.14.1",
|
|
96
|
+
"@truedat/df": "6.14.1",
|
|
97
97
|
"decode-uri-component": "^0.2.2",
|
|
98
98
|
"graphql": "^15.5.3",
|
|
99
99
|
"moment": "^2.29.4",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"react-dom": ">= 16.8.6 < 17",
|
|
119
119
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "13f8e92c333acf539f9978ea94db03174130cfb0"
|
|
122
122
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Header, Icon } from "semantic-ui-react";
|
|
3
|
-
import { FormattedMessage } from "react-intl";
|
|
3
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
4
4
|
import { useActiveRoute } from "@truedat/core/hooks";
|
|
5
5
|
import {
|
|
6
6
|
IMPLEMENTATIONS_PENDING,
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from "@truedat/core/routes";
|
|
9
9
|
|
|
10
10
|
export const ImplementationSearchResultsHeader = () => {
|
|
11
|
+
const { formatMessage } = useIntl();
|
|
11
12
|
const pending = useActiveRoute(IMPLEMENTATIONS_PENDING);
|
|
12
13
|
const deprecated = useActiveRoute(IMPLEMENTATIONS_DEPRECATED);
|
|
13
14
|
const header = pending
|
|
@@ -22,7 +23,13 @@ export const ImplementationSearchResultsHeader = () => {
|
|
|
22
23
|
: "implementations.subheader";
|
|
23
24
|
return (
|
|
24
25
|
<Header as="h2">
|
|
25
|
-
<Icon
|
|
26
|
+
<Icon
|
|
27
|
+
circular
|
|
28
|
+
name={formatMessage({
|
|
29
|
+
id: "implementations.header.icon",
|
|
30
|
+
defaultMessage: "check",
|
|
31
|
+
})}
|
|
32
|
+
/>
|
|
26
33
|
<Header.Content>
|
|
27
34
|
<FormattedMessage id={header} />
|
|
28
35
|
<Header.Subheader>
|
package/src/components/Rules.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
|
-
import { FormattedMessage, injectIntl } from "react-intl";
|
|
4
|
+
import { FormattedMessage, injectIntl, useIntl } from "react-intl";
|
|
5
5
|
import { connect } from "react-redux";
|
|
6
6
|
import { compose } from "redux";
|
|
7
7
|
import { Header, Icon, Table, Segment } from "semantic-ui-react";
|
|
@@ -15,17 +15,26 @@ import RulesLabelResults from "./RulesLabelResults";
|
|
|
15
15
|
import RulesPagination from "./RulesPagination";
|
|
16
16
|
import RulesSearch from "./RulesSearch";
|
|
17
17
|
|
|
18
|
-
export const QualityHeader = () =>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<Header
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
export const QualityHeader = () => {
|
|
19
|
+
const { formatMessage } = useIntl();
|
|
20
|
+
return (
|
|
21
|
+
<Header as="h2">
|
|
22
|
+
<Icon
|
|
23
|
+
circular
|
|
24
|
+
name={formatMessage({
|
|
25
|
+
id: "quality.header.icon",
|
|
26
|
+
defaultMessage: "check",
|
|
27
|
+
})}
|
|
28
|
+
/>
|
|
29
|
+
<Header.Content>
|
|
30
|
+
<FormattedMessage id="quality.header" />
|
|
31
|
+
<Header.Subheader>
|
|
32
|
+
<FormattedMessage id="quality.subheader" />
|
|
33
|
+
</Header.Subheader>
|
|
34
|
+
</Header.Content>
|
|
35
|
+
</Header>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
29
38
|
|
|
30
39
|
export class Rules extends React.Component {
|
|
31
40
|
state = {
|