@truedat/ie 4.45.8 → 4.46.2
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 +6 -0
- package/package.json +5 -5
- package/src/ingests/components/IngestDetails.js +5 -7
- package/src/ingests/components/IngestDuplicate.js +2 -4
- package/src/ingests/components/IngestEdit.js +2 -4
- package/src/ingests/components/IngestForm.js +2 -4
- package/src/ingests/components/__tests__/__snapshots__/IngestDetails.spec.js.snap +1 -1
- package/src/ingests/components/__tests__/__snapshots__/IngestDuplicate.spec.js.snap +1 -1
- package/src/ingests/components/__tests__/__snapshots__/IngestEdit.spec.js.snap +1 -1
- package/src/ingests/components/__tests__/__snapshots__/IngestForm.spec.js.snap +6 -6
- package/src/ingests/relations/components/IngestToIngestForm.js +1 -4
- package/src/ingests/relations/components/__tests__/__snapshots__/IngestToIngestForm.spec.js.snap +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/ie",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.46.2",
|
|
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.4",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.
|
|
37
|
+
"@truedat/test": "4.46.2",
|
|
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/core": "4.
|
|
91
|
-
"@truedat/df": "4.
|
|
90
|
+
"@truedat/core": "4.46.2",
|
|
91
|
+
"@truedat/df": "4.46.2",
|
|
92
92
|
"file-saver": "^2.0.5",
|
|
93
93
|
"moment": "^2.24.0",
|
|
94
94
|
"path-to-regexp": "^1.7.0",
|
|
@@ -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": "161f3fae4428ee4e4e26b62fd2f9764ce389d0e2"
|
|
111
111
|
}
|
|
@@ -3,16 +3,14 @@ import PropTypes from "prop-types";
|
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
4
|
import { Segment, Header } from "semantic-ui-react";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
|
+
import { RichTextEditor } from "@truedat/core/components";
|
|
6
7
|
|
|
7
8
|
const DynamicFormViewer = React.lazy(() =>
|
|
8
9
|
import("@truedat/df/components/DynamicFormViewer")
|
|
9
10
|
);
|
|
10
|
-
const RichTextEditor = React.lazy(() =>
|
|
11
|
-
import("@truedat/core/components/RichTextEditor")
|
|
12
|
-
);
|
|
13
11
|
|
|
14
12
|
export const IngestDetails = ({
|
|
15
|
-
ingest: { content, description, template }
|
|
13
|
+
ingest: { content, description, template },
|
|
16
14
|
}) => (
|
|
17
15
|
<Segment attached="bottom">
|
|
18
16
|
<Header as="h3">
|
|
@@ -24,11 +22,11 @@ export const IngestDetails = ({
|
|
|
24
22
|
);
|
|
25
23
|
|
|
26
24
|
IngestDetails.propTypes = {
|
|
27
|
-
ingest: PropTypes.object
|
|
25
|
+
ingest: PropTypes.object,
|
|
28
26
|
};
|
|
29
27
|
|
|
30
|
-
const mapStateToProps = state => ({
|
|
31
|
-
ingest: state.ingest
|
|
28
|
+
const mapStateToProps = (state) => ({
|
|
29
|
+
ingest: state.ingest,
|
|
32
30
|
});
|
|
33
31
|
|
|
34
32
|
export default connect(mapStateToProps)(IngestDetails);
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import { compose } from "redux";
|
|
14
14
|
import { connect } from "react-redux";
|
|
15
15
|
import { injectIntl, FormattedMessage } from "react-intl";
|
|
16
|
-
import { HistoryBackButton } from "@truedat/core/components";
|
|
16
|
+
import { HistoryBackButton, RichTextEditor } from "@truedat/core/components";
|
|
17
17
|
import { selectTemplate, selectDomain } from "@truedat/df/routines";
|
|
18
18
|
import { applyTemplate } from "@truedat/df/utils";
|
|
19
19
|
import { ingestAction } from "../routines";
|
|
@@ -21,9 +21,7 @@ import { ingestAction } from "../routines";
|
|
|
21
21
|
const DynamicForm = React.lazy(() =>
|
|
22
22
|
import("@truedat/df/components/DynamicForm")
|
|
23
23
|
);
|
|
24
|
-
|
|
25
|
-
import("@truedat/core/components/RichTextEditor")
|
|
26
|
-
);
|
|
24
|
+
|
|
27
25
|
const TemplateLoader = React.lazy(() =>
|
|
28
26
|
import("@truedat/df/templates/components/TemplateLoader")
|
|
29
27
|
);
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import { compose } from "redux";
|
|
14
14
|
import { connect } from "react-redux";
|
|
15
15
|
import { injectIntl, FormattedMessage } from "react-intl";
|
|
16
|
-
import { HistoryBackButton } from "@truedat/core/components";
|
|
16
|
+
import { HistoryBackButton, RichTextEditor } from "@truedat/core/components";
|
|
17
17
|
import {
|
|
18
18
|
selectTemplate,
|
|
19
19
|
selectDomain,
|
|
@@ -25,9 +25,7 @@ import { ingestAction } from "../routines";
|
|
|
25
25
|
const DynamicForm = React.lazy(() =>
|
|
26
26
|
import("@truedat/df/components/DynamicForm")
|
|
27
27
|
);
|
|
28
|
-
|
|
29
|
-
import("@truedat/core/components/RichTextEditor")
|
|
30
|
-
);
|
|
28
|
+
|
|
31
29
|
const TemplateLoader = React.lazy(() =>
|
|
32
30
|
import("@truedat/df/templates/components/TemplateLoader")
|
|
33
31
|
);
|
|
@@ -13,18 +13,16 @@ import {
|
|
|
13
13
|
import { compose } from "redux";
|
|
14
14
|
import { connect } from "react-redux";
|
|
15
15
|
import { injectIntl, FormattedMessage } from "react-intl";
|
|
16
|
-
import { HistoryBackButton } from "@truedat/core/components";
|
|
16
|
+
import { HistoryBackButton, RichTextEditor } from "@truedat/core/components";
|
|
17
17
|
import { ingestAction } from "../routines";
|
|
18
18
|
|
|
19
19
|
const DomainDropdownSelector = React.lazy(() =>
|
|
20
20
|
import("@truedat/bg/taxonomy/components/DomainDropdownSelector")
|
|
21
21
|
);
|
|
22
|
+
|
|
22
23
|
const SelectableDynamicForm = React.lazy(() =>
|
|
23
24
|
import("@truedat/df/components/SelectableDynamicForm")
|
|
24
25
|
);
|
|
25
|
-
const RichTextEditor = React.lazy(() =>
|
|
26
|
-
import("@truedat/core/components/RichTextEditor")
|
|
27
|
-
);
|
|
28
26
|
|
|
29
27
|
const actionKey = "create";
|
|
30
28
|
|
|
@@ -198,23 +198,23 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
|
|
|
198
198
|
autocorrect="on"
|
|
199
199
|
contenteditable="true"
|
|
200
200
|
data-gramm="false"
|
|
201
|
-
data-key="
|
|
201
|
+
data-key="9"
|
|
202
202
|
data-slate-editor="true"
|
|
203
203
|
role="textbox"
|
|
204
204
|
spellcheck="true"
|
|
205
205
|
style="outline: none; white-space: pre-wrap; word-wrap: break-word;"
|
|
206
206
|
>
|
|
207
207
|
<div
|
|
208
|
-
data-key="
|
|
208
|
+
data-key="10"
|
|
209
209
|
data-slate-object="block"
|
|
210
210
|
style="position: relative;"
|
|
211
211
|
>
|
|
212
212
|
<span
|
|
213
|
-
data-key="
|
|
213
|
+
data-key="13"
|
|
214
214
|
data-slate-object="text"
|
|
215
215
|
>
|
|
216
216
|
<span
|
|
217
|
-
data-offset-key="
|
|
217
|
+
data-offset-key="13:0"
|
|
218
218
|
data-slate-leaf="true"
|
|
219
219
|
>
|
|
220
220
|
<span>
|
|
@@ -501,11 +501,11 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
|
|
|
501
501
|
style="position: relative;"
|
|
502
502
|
>
|
|
503
503
|
<span
|
|
504
|
-
data-key="
|
|
504
|
+
data-key="3"
|
|
505
505
|
data-slate-object="text"
|
|
506
506
|
>
|
|
507
507
|
<span
|
|
508
|
-
data-offset-key="
|
|
508
|
+
data-offset-key="3:0"
|
|
509
509
|
data-slate-leaf="true"
|
|
510
510
|
>
|
|
511
511
|
<span>
|
|
@@ -4,6 +4,7 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { Button, Divider } from "semantic-ui-react";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
|
+
import { HistoryBackButton } from "@truedat/core/components";
|
|
7
8
|
import {
|
|
8
9
|
createRelation,
|
|
9
10
|
clearSelectedRelationTags,
|
|
@@ -12,10 +13,6 @@ import { makeTagOptionsSelector } from "@truedat/core/selectors";
|
|
|
12
13
|
import { linkTo } from "@truedat/core/routes";
|
|
13
14
|
import IngestsSelector from "../../components/IngestsSelector";
|
|
14
15
|
|
|
15
|
-
const HistoryBackButton = React.lazy(() =>
|
|
16
|
-
import("@truedat/core/components/HistoryBackButton")
|
|
17
|
-
);
|
|
18
|
-
|
|
19
16
|
const TagTypeSelector = React.lazy(() =>
|
|
20
17
|
import("@truedat/lm/components/TagTypeSelector")
|
|
21
18
|
);
|