@truedat/dq 4.53.2 → 4.53.4
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dq",
|
|
3
|
-
"version": "4.53.
|
|
3
|
+
"version": "4.53.4",
|
|
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.4",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.53.
|
|
37
|
+
"@truedat/test": "4.53.4",
|
|
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",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@apollo/client": "^3.6.4",
|
|
96
|
-
"@truedat/core": "4.53.
|
|
97
|
-
"@truedat/df": "4.53.
|
|
96
|
+
"@truedat/core": "4.53.4",
|
|
97
|
+
"@truedat/df": "4.53.4",
|
|
98
98
|
"graphql": "^15.5.3",
|
|
99
99
|
"path-to-regexp": "^1.7.0",
|
|
100
100
|
"prop-types": "^15.8.1",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"react-dom": ">= 16.8.6 < 17",
|
|
115
115
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "b21b4051e9370c3a28d4f0e43a53e34d3ccd59d5"
|
|
118
118
|
}
|
|
@@ -163,12 +163,12 @@ const ConditionCell = ({ row, alias }) => {
|
|
|
163
163
|
{_.flow(
|
|
164
164
|
_.prop("modifier.params"),
|
|
165
165
|
_.toPairs,
|
|
166
|
-
_.map(([
|
|
167
|
-
<div key={
|
|
166
|
+
_.map(([paramName, paramValue]) => (
|
|
167
|
+
<div key={paramName} className="smaller">
|
|
168
168
|
{`${formatMessage({
|
|
169
|
-
id: `filtersGrid.field.modifier.${row.modifier.name}.${
|
|
170
|
-
defaultMessage:
|
|
171
|
-
})}: ${
|
|
169
|
+
id: `filtersGrid.field.modifier.${row.modifier.name}.${paramName}`,
|
|
170
|
+
defaultMessage: paramName,
|
|
171
|
+
})}: ${paramValue}`}
|
|
172
172
|
</div>
|
|
173
173
|
))
|
|
174
174
|
)(row)}
|
|
@@ -201,9 +201,12 @@ const ConditionCell = ({ row, alias }) => {
|
|
|
201
201
|
{_.flow(
|
|
202
202
|
_.prop("modifier.params"),
|
|
203
203
|
_.toPairs,
|
|
204
|
-
_.map(([
|
|
205
|
-
<div key={
|
|
206
|
-
{
|
|
204
|
+
_.map(([paramName, paramValue]) => (
|
|
205
|
+
<div key={paramName} className="smaller">
|
|
206
|
+
{`${formatMessage({
|
|
207
|
+
id: `filtersGrid.field.modifier.${value.modifier.name}.${paramName}`,
|
|
208
|
+
defaultMessage: paramName,
|
|
209
|
+
})}: ${paramValue}`}
|
|
207
210
|
</div>
|
|
208
211
|
))
|
|
209
212
|
)(value)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getOr, isEmpty } from "lodash/fp";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
|
-
import React from "react";
|
|
3
|
+
import React, { Fragment } from "react";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { Form, Icon, Segment } from "semantic-ui-react";
|
|
6
6
|
|
|
@@ -29,15 +29,14 @@ export default function FieldModifier({
|
|
|
29
29
|
{getOr(
|
|
30
30
|
[],
|
|
31
31
|
"params"
|
|
32
|
-
)(modifier).map((param
|
|
33
|
-
|
|
32
|
+
)(modifier).map((param) => (
|
|
33
|
+
<Fragment key={`${param.name}`}>
|
|
34
34
|
<label>
|
|
35
35
|
{formatMessage({
|
|
36
36
|
id: `filtersGrid.field.modifier.${modifier.name}.${param.name}`,
|
|
37
37
|
})}
|
|
38
38
|
</label>
|
|
39
39
|
<input
|
|
40
|
-
key={key}
|
|
41
40
|
placeholder={formatMessage({
|
|
42
41
|
id: `filtersGrid.field.modifier.${modifier.name}.${param.name}`,
|
|
43
42
|
})}
|
|
@@ -52,7 +51,7 @@ export default function FieldModifier({
|
|
|
52
51
|
});
|
|
53
52
|
}}
|
|
54
53
|
/>
|
|
55
|
-
|
|
54
|
+
</Fragment>
|
|
56
55
|
))}
|
|
57
56
|
</Segment>
|
|
58
57
|
)}
|