@truedat/bg 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/concepts/components/Concept.js +5 -6
- package/src/concepts/components/ConceptDetails.js +3 -5
- package/src/concepts/components/ConceptEdit.js +1 -5
- package/src/concepts/components/ConceptForm.js +1 -5
- package/src/concepts/components/ConceptTaxonomy.js +1 -4
- package/src/concepts/components/__tests__/__snapshots__/Concept.spec.js.snap +1 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptDetails.spec.js.snap +1 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptForm.spec.js.snap +6 -6
- package/src/concepts/components/__tests__/__snapshots__/ConceptTaxonomy.spec.js.snap +1 -1
- package/src/concepts/relations/components/ConceptImplementationLinks.js +1 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/bg",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.46.2",
|
|
4
4
|
"description": "Truedat Web Business Glossary",
|
|
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",
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@truedat/core": "4.
|
|
90
|
-
"@truedat/df": "4.
|
|
89
|
+
"@truedat/core": "4.46.2",
|
|
90
|
+
"@truedat/df": "4.46.2",
|
|
91
91
|
"file-saver": "^2.0.5",
|
|
92
92
|
"moment": "^2.24.0",
|
|
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": ">= 0.88.2 < 2.1"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "161f3fae4428ee4e4e26b62fd2f9764ce389d0e2"
|
|
111
111
|
}
|
|
@@ -4,6 +4,7 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { Route } from "react-router-dom";
|
|
6
6
|
import { Grid, Segment } from "semantic-ui-react";
|
|
7
|
+
import { Comments, CommentsLoader } from "@truedat/core/components";
|
|
7
8
|
import { CONCEPT_VERSION } from "@truedat/core/routes";
|
|
8
9
|
import ConceptRelationsSummary from "../relations/components/ConceptRelationsSummary";
|
|
9
10
|
import ConceptArchiveLoader from "./ConceptArchiveLoader";
|
|
@@ -19,13 +20,11 @@ import SharedToDomains from "./SharedToDomains";
|
|
|
19
20
|
const EventsLoader = React.lazy(() =>
|
|
20
21
|
import("@truedat/audit/components/EventsLoader")
|
|
21
22
|
);
|
|
22
|
-
|
|
23
|
-
const CommentsLoader = React.lazy(() =>
|
|
24
|
-
import("@truedat/core/components/CommentsLoader")
|
|
25
|
-
);
|
|
23
|
+
|
|
26
24
|
const RelationsLoader = React.lazy(() =>
|
|
27
25
|
import("@truedat/lm/components/RelationsLoader")
|
|
28
26
|
);
|
|
27
|
+
|
|
29
28
|
const ConceptRulesLoader = React.lazy(() =>
|
|
30
29
|
import("@truedat/dq/components/ConceptRulesLoader")
|
|
31
30
|
);
|
|
@@ -71,11 +70,11 @@ export const Concept = ({ id }) => (
|
|
|
71
70
|
);
|
|
72
71
|
|
|
73
72
|
Concept.propTypes = {
|
|
74
|
-
id: PropTypes.number.isRequired
|
|
73
|
+
id: PropTypes.number.isRequired,
|
|
75
74
|
};
|
|
76
75
|
|
|
77
76
|
const mapStateToProps = ({ concept }) => ({
|
|
78
|
-
id: _.prop("business_concept_id")(concept)
|
|
77
|
+
id: _.prop("business_concept_id")(concept),
|
|
79
78
|
});
|
|
80
79
|
|
|
81
80
|
export default connect(mapStateToProps)(Concept);
|
|
@@ -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 ConceptDetails = ({
|
|
15
|
-
concept: { content, description, template }
|
|
13
|
+
concept: { content, description, template },
|
|
16
14
|
}) => (
|
|
17
15
|
<Segment attached="bottom">
|
|
18
16
|
<Header as="h3">
|
|
@@ -24,7 +22,7 @@ export const ConceptDetails = ({
|
|
|
24
22
|
);
|
|
25
23
|
|
|
26
24
|
ConceptDetails.propTypes = {
|
|
27
|
-
concept: PropTypes.object
|
|
25
|
+
concept: PropTypes.object,
|
|
28
26
|
};
|
|
29
27
|
|
|
30
28
|
const mapStateToProps = ({ concept }) => ({ concept });
|
|
@@ -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 { conceptAction } from "../routines";
|
|
@@ -22,10 +22,6 @@ const DynamicForm = React.lazy(() =>
|
|
|
22
22
|
import("@truedat/df/components/DynamicForm")
|
|
23
23
|
);
|
|
24
24
|
|
|
25
|
-
const RichTextEditor = React.lazy(() =>
|
|
26
|
-
import("@truedat/core/components/RichTextEditor")
|
|
27
|
-
);
|
|
28
|
-
|
|
29
25
|
const TemplateLoader = React.lazy(() =>
|
|
30
26
|
import("@truedat/df/templates/components/TemplateLoader")
|
|
31
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 { conceptAction } from "../routines";
|
|
18
18
|
import DomainDropdownSelector from "../../taxonomy/components/DomainDropdownSelector";
|
|
19
19
|
|
|
@@ -21,10 +21,6 @@ const SelectableDynamicForm = React.lazy(() =>
|
|
|
21
21
|
import("@truedat/df/components/SelectableDynamicForm")
|
|
22
22
|
);
|
|
23
23
|
|
|
24
|
-
const RichTextEditor = React.lazy(() =>
|
|
25
|
-
import("@truedat/core/components/RichTextEditor")
|
|
26
|
-
);
|
|
27
|
-
|
|
28
24
|
const actionKey = "create";
|
|
29
25
|
|
|
30
26
|
const staticFields = ["name", "description"];
|
|
@@ -6,12 +6,9 @@ import { List, Header, Segment } from "semantic-ui-react";
|
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
7
|
import { getConceptDomainPath } from "../selectors";
|
|
8
8
|
import DomainItem from "../../taxonomy/components/DomainItem";
|
|
9
|
+
import DomainsConceptLoader from "../../taxonomy/components/DomainsConceptLoader";
|
|
9
10
|
import ConceptManageDomainPopup from "./ConceptManageDomainPopup";
|
|
10
11
|
|
|
11
|
-
const DomainsConceptLoader = React.lazy(() =>
|
|
12
|
-
import("../../taxonomy/components/DomainsConceptLoader")
|
|
13
|
-
);
|
|
14
|
-
|
|
15
12
|
export const ConceptTaxonomy = ({ domainPath }) =>
|
|
16
13
|
_.negate(_.isEmpty)(domainPath) && (
|
|
17
14
|
<Segment>
|
|
@@ -203,23 +203,23 @@ exports[`<ConceptForm /> with a single template matches the latest snapshot 1`]
|
|
|
203
203
|
autocorrect="on"
|
|
204
204
|
contenteditable="true"
|
|
205
205
|
data-gramm="false"
|
|
206
|
-
data-key="
|
|
206
|
+
data-key="10"
|
|
207
207
|
data-slate-editor="true"
|
|
208
208
|
role="textbox"
|
|
209
209
|
spellcheck="true"
|
|
210
210
|
style="outline: none; white-space: pre-wrap; word-wrap: break-word;"
|
|
211
211
|
>
|
|
212
212
|
<div
|
|
213
|
-
data-key="
|
|
213
|
+
data-key="11"
|
|
214
214
|
data-slate-object="block"
|
|
215
215
|
style="position: relative;"
|
|
216
216
|
>
|
|
217
217
|
<span
|
|
218
|
-
data-key="
|
|
218
|
+
data-key="14"
|
|
219
219
|
data-slate-object="text"
|
|
220
220
|
>
|
|
221
221
|
<span
|
|
222
|
-
data-offset-key="
|
|
222
|
+
data-offset-key="14:0"
|
|
223
223
|
data-slate-leaf="true"
|
|
224
224
|
>
|
|
225
225
|
<span>
|
|
@@ -516,11 +516,11 @@ exports[`<ConceptForm /> with multiple templates matches the latest snapshot 1`]
|
|
|
516
516
|
style="position: relative;"
|
|
517
517
|
>
|
|
518
518
|
<span
|
|
519
|
-
data-key="
|
|
519
|
+
data-key="4"
|
|
520
520
|
data-slate-object="text"
|
|
521
521
|
>
|
|
522
522
|
<span
|
|
523
|
-
data-offset-key="
|
|
523
|
+
data-offset-key="4:0"
|
|
524
524
|
data-slate-leaf="true"
|
|
525
525
|
>
|
|
526
526
|
<span>
|
|
@@ -7,6 +7,7 @@ import { FormattedMessage } from "react-intl";
|
|
|
7
7
|
import { getConceptImplementationLinks } from "../selectors";
|
|
8
8
|
import { conceptLinkAction } from "../routines";
|
|
9
9
|
import ImplementationLinksAction from "./ImplementationLinksAction";
|
|
10
|
+
|
|
10
11
|
const RuleImplementationsTable = React.lazy(() =>
|
|
11
12
|
import("@truedat/dq/components/RuleImplementationsTable")
|
|
12
13
|
);
|