@truedat/ie 8.12.6 → 8.12.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/package.json +3 -3
- package/src/ingests/components/IngestActions.js +2 -1
- package/src/ingests/components/IngestArchiveLoader.js +1 -1
- package/src/ingests/components/IngestArchiveRow.js +1 -1
- package/src/ingests/components/IngestDuplicate.js +1 -1
- package/src/ingests/components/IngestEdit.js +1 -1
- package/src/ingests/components/IngestExecutionsLoader.js +1 -1
- package/src/ingests/components/IngestFiltersDefault.js +1 -1
- package/src/ingests/components/IngestFiltersLoader.js +1 -1
- package/src/ingests/components/IngestFiltersPublished.js +1 -1
- package/src/ingests/components/IngestForm.js +2 -1
- package/src/ingests/components/IngestLoader.js +1 -1
- package/src/ingests/components/IngestRoutes.js +2 -1
- package/src/ingests/components/IngestSelectedFiltersDefault.js +1 -1
- package/src/ingests/components/IngestSelectedFiltersPending.js +1 -1
- package/src/ingests/components/IngestSelectedFiltersPublished.js +1 -1
- package/src/ingests/components/IngestsLoader.js +1 -1
- package/src/ingests/components/IngestsPagination.js +1 -1
- package/src/ingests/components/__tests__/Events.spec.js +11 -1
- package/src/ingests/components/__tests__/Ingest.spec.js +2 -1
- package/src/ingests/components/__tests__/IngestActions.spec.js +2 -1
- package/src/ingests/components/__tests__/IngestArchiveRow.spec.js +2 -1
- package/src/ingests/components/__tests__/IngestCompleteness.spec.js +1 -1
- package/src/ingests/components/__tests__/IngestExecutions.spec.js +2 -1
- package/src/ingests/components/__tests__/IngestExecutionsLoader.spec.js +2 -1
- package/src/ingests/components/__tests__/IngestHeader.spec.js +2 -1
- package/src/ingests/components/__tests__/IngestLabelResults.spec.js +1 -1
- package/src/ingests/components/__tests__/Ingests.spec.js +2 -1
- package/src/ingests/components/__tests__/IngestsLoader.spec.js +2 -1
- package/src/ingests/relations/components/IngestLinkActions.js +1 -1
- package/src/ingests/relations/components/IngestToIngestForm.js +1 -1
- package/src/ingests/relations/components/IngestToStructureForm.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/ie",
|
|
3
|
-
"version": "8.12.
|
|
3
|
+
"version": "8.12.7",
|
|
4
4
|
"description": "Truedat Web Ingests",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@testing-library/jest-dom": "^6.6.3",
|
|
55
55
|
"@testing-library/react": "^16.3.0",
|
|
56
56
|
"@testing-library/user-event": "^14.6.1",
|
|
57
|
-
"@truedat/test": "8.12.
|
|
57
|
+
"@truedat/test": "8.12.7",
|
|
58
58
|
"identity-obj-proxy": "^3.0.0",
|
|
59
59
|
"jest": "^29.7.0",
|
|
60
60
|
"redux-saga-test-plan": "^4.0.6"
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"slate-react": "^0.22.10",
|
|
91
91
|
"swr": "^2.3.3"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "dae06fd2f915163d5f1e7e3f26c414c8ee9bf055"
|
|
94
94
|
}
|
|
@@ -5,7 +5,8 @@ import { bindActionCreators } from "redux";
|
|
|
5
5
|
import { Link } from "react-router";
|
|
6
6
|
import { Button, Grid, Icon } from "semantic-ui-react";
|
|
7
7
|
import { FormattedMessage } from "react-intl";
|
|
8
|
-
import
|
|
8
|
+
import ConfirmModal from "@truedat/core/components/ConfirmModal";
|
|
9
|
+
import GroupActions from "@truedat/core/components/GroupActions";
|
|
9
10
|
import { linkTo } from "@truedat/core/routes";
|
|
10
11
|
import { ingestAction } from "../routines";
|
|
11
12
|
import { mapActionProps } from "../constants/mappings";
|
|
@@ -2,7 +2,7 @@ import { useEffect } from "react";
|
|
|
2
2
|
import { useParams } from "react-router";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { useDispatch, useSelector } from "react-redux";
|
|
5
|
-
import
|
|
5
|
+
import Loading from "@truedat/core/components/Loading";
|
|
6
6
|
import { fetchIngestArchive, clearIngestArchive } from "../routines";
|
|
7
7
|
|
|
8
8
|
export default function IngestArchiveLoader() {
|
|
@@ -2,7 +2,7 @@ import PropTypes from "prop-types";
|
|
|
2
2
|
import { useNavigate } from "react-router";
|
|
3
3
|
import { Table } from "semantic-ui-react";
|
|
4
4
|
import { FormattedMessage } from "react-intl";
|
|
5
|
-
import
|
|
5
|
+
import DateTime from "@truedat/core/components/DateTime";
|
|
6
6
|
import { linkTo } from "@truedat/core/routes";
|
|
7
7
|
|
|
8
8
|
export const IngestArchiveRow = ({
|
|
@@ -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
|
|
16
|
+
import HistoryBackButton from "@truedat/core/components/HistoryBackButton";
|
|
17
17
|
import { selectTemplate, selectDomain } from "@truedat/df/routines";
|
|
18
18
|
import { applyTemplate } from "@truedat/df/utils";
|
|
19
19
|
import { ingestAction } from "../routines";
|
|
@@ -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
|
|
16
|
+
import HistoryBackButton from "@truedat/core/components/HistoryBackButton";
|
|
17
17
|
import {
|
|
18
18
|
selectTemplate,
|
|
19
19
|
selectDomain,
|
|
@@ -2,7 +2,7 @@ import { Component } from "react";
|
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { bindActionCreators } from "redux";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
|
-
import
|
|
5
|
+
import Loading from "@truedat/core/components/Loading";
|
|
6
6
|
import { fetchIngestExecutions, clearIngestExecutions } from "../routines";
|
|
7
7
|
|
|
8
8
|
export class IngestExecutionsLoader extends Component {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
2
|
import { bindActionCreators } from "redux";
|
|
3
|
-
import
|
|
3
|
+
import AvailableFilters from "@truedat/core/components/AvailableFilters";
|
|
4
4
|
import { addIngestFilter, resetIngestFilters } from "../routines";
|
|
5
5
|
import { getIngestAvailableFilters } from "../selectors";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
2
|
import { bindActionCreators } from "redux";
|
|
3
|
-
import
|
|
3
|
+
import FiltersLoader from "@truedat/core/components/FiltersLoader";
|
|
4
4
|
import { makeActiveFiltersSelector } from "@truedat/core/selectors";
|
|
5
5
|
import { clearIngestFilters, fetchIngestFilters } from "../routines";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
import { bindActionCreators } from "redux";
|
|
4
|
-
import
|
|
4
|
+
import AvailableFilters from "@truedat/core/components/AvailableFilters";
|
|
5
5
|
import { addIngestFilter, resetIngestFilters } from "../routines";
|
|
6
6
|
import { getIngestAvailableFilters } from "../selectors";
|
|
7
7
|
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
import { compose } from "redux";
|
|
14
14
|
import { connect } from "react-redux";
|
|
15
15
|
import { injectIntl, FormattedMessage } from "react-intl";
|
|
16
|
-
import
|
|
16
|
+
import DomainSelector from "@truedat/core/components/DomainSelector";
|
|
17
|
+
import HistoryBackButton from "@truedat/core/components/HistoryBackButton";
|
|
17
18
|
import { ingestAction } from "../routines";
|
|
18
19
|
import RichTextEditor from "./RichTextEditor";
|
|
19
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
2
|
import { useParams } from "react-router";
|
|
3
3
|
import { useDispatch, useSelector } from "react-redux";
|
|
4
|
-
import
|
|
4
|
+
import Loading from "@truedat/core/components/Loading";
|
|
5
5
|
import { fetchIngest, clearIngest } from "../routines";
|
|
6
6
|
|
|
7
7
|
export default function IngestLoader() {
|
|
@@ -4,7 +4,8 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import { Routes, Route } from "react-router";
|
|
5
5
|
import { Segment, Grid } from "semantic-ui-react";
|
|
6
6
|
import { connect } from "react-redux";
|
|
7
|
-
import
|
|
7
|
+
import Comments from "@truedat/core/components/Comments";
|
|
8
|
+
import CommentsLoader from "@truedat/core/components/CommentsLoader";
|
|
8
9
|
import { ProtectedRoute, Loader } from "@truedat/core/router";
|
|
9
10
|
import {
|
|
10
11
|
INGEST,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { injectIntl } from "react-intl";
|
|
2
2
|
import { bindActionCreators, compose } from "redux";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
|
-
import
|
|
4
|
+
import SelectedFilters from "@truedat/core/components/SelectedFilters";
|
|
5
5
|
import {
|
|
6
6
|
closeIngestFilter,
|
|
7
7
|
openIngestFilter,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { injectIntl } from "react-intl";
|
|
2
2
|
import { bindActionCreators, compose } from "redux";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
|
-
import
|
|
4
|
+
import SelectedFilters from "@truedat/core/components/SelectedFilters";
|
|
5
5
|
import {
|
|
6
6
|
closeIngestFilter,
|
|
7
7
|
openIngestFilter,
|
|
@@ -2,7 +2,7 @@ import _ from "lodash/fp";
|
|
|
2
2
|
import { bindActionCreators, compose } from "redux";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
4
|
import { injectIntl } from "react-intl";
|
|
5
|
-
import
|
|
5
|
+
import SelectedFilters from "@truedat/core/components/SelectedFilters";
|
|
6
6
|
import { makeOption } from "@truedat/core/services/i18n";
|
|
7
7
|
import { translations } from "../utils/filterOptions";
|
|
8
8
|
import {
|
|
@@ -2,7 +2,7 @@ import _ from "lodash/fp";
|
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
|
-
import
|
|
5
|
+
import Loading from "@truedat/core/components/Loading";
|
|
6
6
|
import { makeSearchQuerySelector } from "@truedat/core/selectors";
|
|
7
7
|
import { clearIngests, fetchIngests } from "../routines";
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
2
|
import { bindActionCreators } from "redux";
|
|
3
|
-
import
|
|
3
|
+
import Pagination from "@truedat/core/components/Pagination";
|
|
4
4
|
import { selectIngestPage } from "../routines";
|
|
5
5
|
|
|
6
6
|
const mapDispatchToProps = (dispatch) =>
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { Events } from "../Events";
|
|
3
4
|
|
|
5
|
+
beforeAll(() => {
|
|
6
|
+
jest.useFakeTimers();
|
|
7
|
+
jest.setSystemTime(new Date("2025-01-01"));
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
afterAll(() => {
|
|
11
|
+
jest.useRealTimers();
|
|
12
|
+
});
|
|
13
|
+
|
|
4
14
|
describe("<Events />", () => {
|
|
5
15
|
it("matches the latest snapshot", async () => {
|
|
6
16
|
const events = [
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { Ingest } from "../Ingest";
|
|
3
4
|
|
|
4
5
|
// Mock the components used in Ingest
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { IngestActions } from "../IngestActions";
|
|
3
4
|
|
|
4
5
|
describe("<IngestActions />", () => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import IngestArchiveRow from "../IngestArchiveRow";
|
|
3
4
|
|
|
4
5
|
const mockNavigate = jest.fn();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { IngestExecutions } from "../IngestExecutions";
|
|
3
4
|
|
|
4
5
|
describe("<IngestExecutions />", () => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { IngestExecutionsLoader } from "../IngestExecutionsLoader";
|
|
3
4
|
|
|
4
5
|
describe("<IngestExecutionsLoader />", () => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { IngestHeader } from "../IngestHeader";
|
|
3
4
|
|
|
4
5
|
describe("<IngestHeader />", () => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { render
|
|
1
|
+
import { renderWithIntl as render } from "@truedat/test/renderWithIntl";
|
|
2
|
+
import { waitForLoad } from "@truedat/test/waitForLoad";
|
|
2
3
|
import { IngestsLoader } from "../IngestsLoader";
|
|
3
4
|
|
|
4
5
|
describe("<IngestsLoader />", () => {
|
|
@@ -2,7 +2,7 @@ import _ from "lodash/fp";
|
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
import { Button, Icon } from "semantic-ui-react";
|
|
4
4
|
import { FormattedMessage } from "react-intl";
|
|
5
|
-
import
|
|
5
|
+
import ConfirmModal from "@truedat/core/components/ConfirmModal";
|
|
6
6
|
import { ingestLinkAction } from "../../routines";
|
|
7
7
|
|
|
8
8
|
export const DeleteLink = ({ ingestLinkAction, action, loading }) =>
|
|
@@ -4,7 +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
|
|
7
|
+
import HistoryBackButton from "@truedat/core/components/HistoryBackButton";
|
|
8
8
|
import {
|
|
9
9
|
createRelation,
|
|
10
10
|
clearSelectedRelationTags,
|
|
@@ -4,7 +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
|
|
7
|
+
import HistoryBackButton from "@truedat/core/components/HistoryBackButton";
|
|
8
8
|
import { linkTo } from "@truedat/core/routes";
|
|
9
9
|
import {
|
|
10
10
|
createRelation,
|