@truedat/bg 4.48.12 → 4.49.1

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,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.49.1] 2022-07-28
4
+
5
+ ### Changed
6
+
7
+ - [TD-5090] `DropdownMenuItem` props renamed
8
+
3
9
  ## [4.48.12] 2022-07-22
4
10
 
5
11
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/bg",
3
- "version": "4.48.12",
3
+ "version": "4.49.1",
4
4
  "description": "Truedat Web Business Glossary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -86,8 +86,8 @@
86
86
  ]
87
87
  },
88
88
  "dependencies": {
89
- "@truedat/core": "4.48.12",
90
- "@truedat/df": "4.48.12",
89
+ "@truedat/core": "4.49.1",
90
+ "@truedat/df": "4.49.1",
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": "4a36e50c99882caf8be2d2d59e13e4fde1759302"
110
+ "gitHead": "e26f62ed9fc5200c3bbe8f18ad512214a9d9c40d"
111
111
  }
@@ -16,18 +16,12 @@ import ConceptArchive from "./ConceptArchive";
16
16
  import ConceptDetails from "./ConceptDetails";
17
17
  import Events from "./Events";
18
18
 
19
- const TemplatesLoader = React.lazy(() =>
20
- import("@truedat/df/templates/components/TemplatesLoader")
21
- );
22
-
23
19
  const ConceptRules = React.lazy(() =>
24
20
  import("@truedat/dq/components/ConceptRules")
25
21
  );
26
22
 
27
23
  const NewRule = React.lazy(() => import("@truedat/dq/components/NewRule"));
28
24
 
29
- const QualityTemplatesLoader = () => <TemplatesLoader scope="dq" />;
30
-
31
25
  export const ConceptTabPane = () => (
32
26
  <ErrorBoundary>
33
27
  <Switch>
@@ -48,15 +42,7 @@ export const ConceptTabPane = () => (
48
42
  path={CONCEPT_RULES}
49
43
  render={() => (
50
44
  <Switch>
51
- <Route
52
- path={CONCEPT_RULES_NEW}
53
- render={() => (
54
- <>
55
- <QualityTemplatesLoader />
56
- <NewRule />
57
- </>
58
- )}
59
- />
45
+ <Route path={CONCEPT_RULES_NEW} render={() => <NewRule />} />
60
46
  <Route render={() => <ConceptRules />} />
61
47
  </Switch>
62
48
  )}
@@ -1,11 +1,3 @@
1
- const API_CONCEPT_RELATION = "/api/relations/:id";
2
- const API_CONCEPT_RELATIONS = "/api/relations";
3
- const API_CONCEPT_RELATIONS_SEARCH = "/api/relations/search";
4
- const API_CONCEPT_BULK_UPDATE = "/api/business_concept_versions/bulk_update";
1
+ const API_RELATIONS = "/api/relations";
5
2
 
6
- export {
7
- API_CONCEPT_RELATION,
8
- API_CONCEPT_RELATIONS,
9
- API_CONCEPT_RELATIONS_SEARCH,
10
- API_CONCEPT_BULK_UPDATE
11
- };
3
+ export { API_RELATIONS };
@@ -2,7 +2,7 @@ import _ from "lodash/fp";
2
2
  import { call, put, takeLatest } from "redux-saga/effects";
3
3
  import { apiJsonPost, JSON_OPTS } from "@truedat/core/services/api";
4
4
  import { linkConcept } from "../routines";
5
- import { API_CONCEPT_RELATIONS } from "../api";
5
+ import { API_RELATIONS } from "../api";
6
6
 
7
7
  export function* linkConceptSaga({ payload }) {
8
8
  try {
@@ -22,7 +22,7 @@ export function* linkConceptSaga({ payload }) {
22
22
  yield put({ meta, ...linkConcept.request() });
23
23
  const { data } = yield call(
24
24
  apiJsonPost,
25
- API_CONCEPT_RELATIONS,
25
+ API_RELATIONS,
26
26
  requestData,
27
27
  JSON_OPTS
28
28
  );
@@ -152,8 +152,8 @@ export const DomainMenuSelector = ({
152
152
  <DropdownMenuItem
153
153
  key={i}
154
154
  check={false}
155
- handleOpen={handleOpen}
156
- handleClick={handleClick}
155
+ onOpen={handleOpen}
156
+ onClick={handleClick}
157
157
  open={_.contains(option.id)(open)}
158
158
  canOpen={_.negate(_.isEmpty)(option.children)}
159
159
  selected={_.contains(option.id)(value)}