@truedat/lm 4.38.3 → 4.38.7
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
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.38.5] 2022-02-20
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- [TD-4297] Remove unnecessary code
|
|
8
|
+
|
|
9
|
+
## [4.38.3] 2022-02-20
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- [TD-4297] Hide the type column if none of the links has any tag
|
|
14
|
+
|
|
3
15
|
## [4.38.1] 2022-02-17
|
|
4
16
|
|
|
5
17
|
### Added
|
|
6
18
|
|
|
7
|
-
- [TD-4297]
|
|
8
|
-
- Add tags ("type") column to structure Linkage tab
|
|
9
|
-
- Hide the type column if none of the links has any tag
|
|
19
|
+
- [TD-4297] Add tags ("type") column to structure Linkage tab
|
|
10
20
|
|
|
11
21
|
### Changed
|
|
12
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/lm",
|
|
3
|
-
"version": "4.38.
|
|
3
|
+
"version": "4.38.7",
|
|
4
4
|
"description": "Truedat Link Manager",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@testing-library/jest-dom": "^5.14.1",
|
|
34
34
|
"@testing-library/react": "^12.0.0",
|
|
35
35
|
"@testing-library/user-event": "^13.2.1",
|
|
36
|
-
"@truedat/test": "4.38.
|
|
36
|
+
"@truedat/test": "4.38.7",
|
|
37
37
|
"babel-jest": "^27.0.6",
|
|
38
38
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
39
39
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@truedat/core": "4.38.
|
|
86
|
+
"@truedat/core": "4.38.7",
|
|
87
87
|
"path-to-regexp": "^1.7.0",
|
|
88
88
|
"prop-types": "^15.7.2",
|
|
89
89
|
"react-graph-vis": "1.0.5",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"react-dom": ">= 16.8.6 < 17",
|
|
101
101
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "840c799ecdd6b8440112ac803119482e688142ed"
|
|
104
104
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
|
-
import { connect } from "react-redux";
|
|
5
4
|
import { Table } from "semantic-ui-react";
|
|
6
5
|
import { columnDecorator } from "@truedat/core/services";
|
|
7
|
-
import { structureLinkColumns } from "../constants";
|
|
8
6
|
|
|
9
7
|
export const StructureLinkRow = ({ link, columns }) => (
|
|
10
8
|
<Table.Row>
|
|
@@ -20,9 +18,7 @@ export const StructureLinkRow = ({ link, columns }) => (
|
|
|
20
18
|
|
|
21
19
|
StructureLinkRow.propTypes = {
|
|
22
20
|
link: PropTypes.object,
|
|
23
|
-
columns: PropTypes.array
|
|
21
|
+
columns: PropTypes.array,
|
|
24
22
|
};
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export default connect(mapStateToProps)(StructureLinkRow);
|
|
24
|
+
export default StructureLinkRow;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import _ from "lodash/fp";
|
|
2
|
-
import ConceptLink from "../components/ConceptLink";
|
|
3
|
-
import ConceptLinkTags from "../components/ConceptLinkTags";
|
|
4
|
-
|
|
5
|
-
export const structureLinkColumns = [
|
|
6
|
-
{
|
|
7
|
-
header: "concepts.props.name",
|
|
8
|
-
fieldSelector: _.identity,
|
|
9
|
-
fieldDecorator: ConceptLink,
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
header: "Type",
|
|
13
|
-
fieldSelector: _.identity,
|
|
14
|
-
fieldDecorator: ConceptLinkTags,
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
header: "concepts.props.domain",
|
|
18
|
-
fieldSelector: _.path("domain.name"),
|
|
19
|
-
}
|
|
20
|
-
];
|