@truedat/df 4.46.1 → 4.46.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/df",
|
|
3
|
-
"version": "4.46.
|
|
3
|
+
"version": "4.46.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.46.
|
|
37
|
+
"@truedat/test": "4.46.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",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@truedat/auth": "4.46.
|
|
91
|
-
"@truedat/core": "4.46.
|
|
90
|
+
"@truedat/auth": "4.46.4",
|
|
91
|
+
"@truedat/core": "4.46.4",
|
|
92
92
|
"axios": "^0.19.2",
|
|
93
93
|
"path-to-regexp": "^1.7.0",
|
|
94
94
|
"prop-types": "^15.8.1",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"react-dom": ">= 16.8.6 < 17",
|
|
108
108
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "dcd0aa42ffe1fb816945154ec2a2d06889dca7e7"
|
|
111
111
|
}
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
import _ from "lodash/fp";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
|
-
import { Label,
|
|
3
|
+
import { Label, Table } from "semantic-ui-react";
|
|
4
|
+
import { SafeLink, RichTextEditor } from "@truedat/core/components";
|
|
5
5
|
import DomainPreview from "./widgets/DomainPreview";
|
|
6
6
|
import FieldGroupCopy from "./FieldGroupCopy";
|
|
7
7
|
import ImagePreview from "./widgets/ImagePreview";
|
|
8
8
|
import SystemPreview from "./widgets/SystemPreview";
|
|
9
9
|
import "../styles/fieldGroupDetail.less";
|
|
10
10
|
|
|
11
|
-
const RichTextEditor = React.lazy(() =>
|
|
12
|
-
import("@truedat/core/components/RichTextEditor")
|
|
13
|
-
);
|
|
14
|
-
|
|
15
11
|
export const FieldViewerValue = ({ value, type, multiple, values, widget }) => {
|
|
16
12
|
switch (type) {
|
|
17
13
|
case "url":
|
|
18
14
|
return (
|
|
19
|
-
<
|
|
15
|
+
<SafeLink className="ui mini button" href={value.url_value}>
|
|
20
16
|
{value.url_name}
|
|
21
|
-
</
|
|
17
|
+
</SafeLink>
|
|
22
18
|
);
|
|
23
19
|
case "enriched_text":
|
|
24
20
|
return <RichTextEditor readOnly value={value} />;
|
|
@@ -816,10 +816,9 @@ Object {
|
|
|
816
816
|
"baseElement": <body>
|
|
817
817
|
<div>
|
|
818
818
|
<a
|
|
819
|
-
class="ui
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
target="_blank"
|
|
819
|
+
class="ui mini button"
|
|
820
|
+
style="color: red; background-color: yellow;"
|
|
821
|
+
title="value"
|
|
823
822
|
>
|
|
824
823
|
name
|
|
825
824
|
</a>
|
|
@@ -827,10 +826,9 @@ Object {
|
|
|
827
826
|
</body>,
|
|
828
827
|
"container": <div>
|
|
829
828
|
<a
|
|
830
|
-
class="ui
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
target="_blank"
|
|
829
|
+
class="ui mini button"
|
|
830
|
+
style="color: red; background-color: yellow;"
|
|
831
|
+
title="value"
|
|
834
832
|
>
|
|
835
833
|
name
|
|
836
834
|
</a>
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
|
-
|
|
4
|
-
const RichTextEditor = React.lazy(() =>
|
|
5
|
-
import("@truedat/core/components/RichTextEditor")
|
|
6
|
-
);
|
|
3
|
+
import { RichTextEditor } from "@truedat/core/components";
|
|
7
4
|
|
|
8
5
|
export const EnrichedTextField = ({ field: { name, value }, onChange }) => (
|
|
9
6
|
<RichTextEditor name={name} value={value} onChange={onChange} />
|
|
@@ -11,7 +8,7 @@ export const EnrichedTextField = ({ field: { name, value }, onChange }) => (
|
|
|
11
8
|
|
|
12
9
|
EnrichedTextField.propTypes = {
|
|
13
10
|
field: PropTypes.object,
|
|
14
|
-
onChange: PropTypes.func
|
|
11
|
+
onChange: PropTypes.func,
|
|
15
12
|
};
|
|
16
13
|
|
|
17
14
|
export default EnrichedTextField;
|