@truedat/ie 7.5.4 → 7.5.5
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/ie",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.5",
|
|
4
4
|
"description": "Truedat Web Ingests",
|
|
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": "7.5.
|
|
37
|
+
"@truedat/test": "7.5.5",
|
|
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",
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@truedat/core": "7.5.
|
|
90
|
-
"@truedat/df": "7.5.
|
|
89
|
+
"@truedat/core": "7.5.5",
|
|
90
|
+
"@truedat/df": "7.5.5",
|
|
91
91
|
"file-saver": "^2.0.5",
|
|
92
92
|
"moment": "^2.29.4",
|
|
93
93
|
"path-to-regexp": "^1.7.0",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"react-dom": ">= 16.8.6 < 17",
|
|
108
108
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "2a4343b3b2837540358b57d3d647408ab292aa21"
|
|
111
111
|
}
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { bindActionCreators } from "redux";
|
|
6
|
-
import { Button, Grid } from "semantic-ui-react";
|
|
6
|
+
import { Button, Grid, Icon } from "semantic-ui-react";
|
|
7
7
|
import { Link } from "react-router-dom";
|
|
8
8
|
import { FormattedMessage } from "react-intl";
|
|
9
9
|
import { ConfirmModal, GroupActions } from "@truedat/core/components";
|
|
@@ -40,7 +40,7 @@ const ModalDelete = ({ ingestAction, deleteAction }) => (
|
|
|
40
40
|
icon="trash"
|
|
41
41
|
trigger={
|
|
42
42
|
<Button
|
|
43
|
-
icon="trash"
|
|
43
|
+
icon={<Icon name="trash alternate outline" color="red" />}
|
|
44
44
|
content={<FormattedMessage id="actions.delete" />}
|
|
45
45
|
className="group-actions"
|
|
46
46
|
/>
|
|
@@ -126,7 +126,7 @@ export const IngestActions = ({
|
|
|
126
126
|
},
|
|
127
127
|
delete: {
|
|
128
128
|
key: "delete",
|
|
129
|
-
icon: "trash",
|
|
129
|
+
icon: "trash alternate outline",
|
|
130
130
|
text: <FormattedMessage id="actions.delete" />,
|
|
131
131
|
value: "delete",
|
|
132
132
|
as: ModalDelete,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
|
-
import { Icon } from "semantic-ui-react";
|
|
4
|
+
import { Button, Icon } from "semantic-ui-react";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
6
|
import { ConfirmModal } from "@truedat/core/components";
|
|
7
7
|
import { ingestLinkAction } from "../../routines";
|
|
@@ -11,8 +11,15 @@ export const DeleteLink = ({ ingestLinkAction, action, loading }) =>
|
|
|
11
11
|
<Icon loading name="circle notch" color="red" />
|
|
12
12
|
) : (
|
|
13
13
|
<ConfirmModal
|
|
14
|
-
icon="trash"
|
|
15
|
-
trigger={
|
|
14
|
+
icon="trash alternate outline"
|
|
15
|
+
trigger={
|
|
16
|
+
<Button
|
|
17
|
+
icon={<Icon name="trash alternate outline" color="red" />}
|
|
18
|
+
basic
|
|
19
|
+
color="red"
|
|
20
|
+
size="mini"
|
|
21
|
+
/>
|
|
22
|
+
}
|
|
16
23
|
header={
|
|
17
24
|
<FormattedMessage id="ingest.relations.actions.data_structure.delete.confirmation.header" />
|
|
18
25
|
}
|
|
@@ -19,7 +19,7 @@ export const IngestLinksActions = ({ createLinkUrl }) =>
|
|
|
19
19
|
) : null;
|
|
20
20
|
|
|
21
21
|
IngestLinksActions.propTypes = {
|
|
22
|
-
createLinkUrl: PropTypes.string
|
|
22
|
+
createLinkUrl: PropTypes.string,
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
const mapStateToProps = ({ ingestActions, ingestActionLoading, ingest }) => ({
|
|
@@ -27,7 +27,7 @@ const mapStateToProps = ({ ingestActions, ingestActionLoading, ingest }) => ({
|
|
|
27
27
|
_.has("create_link")(ingestActions) && _.has("id")(ingest)
|
|
28
28
|
? linkTo.INGEST_RELATIONS_STRUCTURES_NEW(ingest)
|
|
29
29
|
: null,
|
|
30
|
-
ingestActionLoading
|
|
30
|
+
ingestActionLoading,
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
export default connect(mapStateToProps)(IngestLinksActions);
|
|
@@ -20,11 +20,11 @@ export const IngestStructureLinksPane = ({ groups }) => (
|
|
|
20
20
|
);
|
|
21
21
|
|
|
22
22
|
IngestStructureLinksPane.propTypes = {
|
|
23
|
-
groups: PropTypes.array
|
|
23
|
+
groups: PropTypes.array,
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
const mapStateToProps = state => ({
|
|
27
|
-
groups: getIngestLinks(state)
|
|
26
|
+
const mapStateToProps = (state) => ({
|
|
27
|
+
groups: getIngestLinks(state),
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
export default connect(mapStateToProps)(IngestStructureLinksPane);
|