@truedat/dd 7.0.5 → 7.0.6
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 +6 -6
- package/src/components/LineageForm.js +2 -0
- package/src/components/StructureRoles.js +6 -1
- package/src/components/__tests__/__snapshots__/GrantApprovalRuleEdit.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/GrantApprovalRuleForm.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/GrantApprovalRuleNew.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/ReferenceDataset.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/ReferenceDatasetCreate.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/ReferenceDatasetDetail.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/ReferenceDatasetForm.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/ReferenceDatasetRoutes.spec.js.snap +2 -2
- package/src/routines.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dd",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"description": "Truedat Web Data Dictionary",
|
|
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.0.
|
|
37
|
+
"@truedat/test": "7.0.6",
|
|
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",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@apollo/client": "^3.7.1",
|
|
91
|
-
"@truedat/auth": "7.0.
|
|
92
|
-
"@truedat/core": "7.0.
|
|
93
|
-
"@truedat/df": "7.0.
|
|
91
|
+
"@truedat/auth": "7.0.6",
|
|
92
|
+
"@truedat/core": "7.0.6",
|
|
93
|
+
"@truedat/df": "7.0.6",
|
|
94
94
|
"lodash": "^4.17.21",
|
|
95
95
|
"moment": "^2.29.4",
|
|
96
96
|
"path-to-regexp": "^1.7.0",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"react-dom": ">= 16.8.6 < 17",
|
|
116
116
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "00bc7f5ff0c4a073987b4ed538f9547a12d2d0ad"
|
|
119
119
|
}
|
|
@@ -90,6 +90,7 @@ export const LineageForm = ({
|
|
|
90
90
|
e && e.preventDefault();
|
|
91
91
|
e && e.stopPropagation();
|
|
92
92
|
if (_.isEmpty(value)) {
|
|
93
|
+
setDomainId(null);
|
|
93
94
|
clearNodes();
|
|
94
95
|
} else {
|
|
95
96
|
setDomainId(value);
|
|
@@ -132,6 +133,7 @@ export const LineageForm = ({
|
|
|
132
133
|
labels
|
|
133
134
|
onChange={handleDomainChange}
|
|
134
135
|
onLoad={handleDomainsLoaded}
|
|
136
|
+
value={domainId}
|
|
135
137
|
/>
|
|
136
138
|
{_.map.convert({ cap: false })((options, level) => (
|
|
137
139
|
<Form.Dropdown
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import ResourceMembers from "@truedat/core/components/ResourceMembers";
|
|
3
|
+
import { useParams } from "react-router-dom";
|
|
3
4
|
|
|
4
|
-
export const StructureRoles = () =>
|
|
5
|
+
export const StructureRoles = () => {
|
|
6
|
+
const { id: urlId } = useParams();
|
|
7
|
+
const id = !isNaN(parseInt(urlId)) ? parseInt(urlId) : undefined;
|
|
8
|
+
return <ResourceMembers type="structure" id={id} />;
|
|
9
|
+
};
|
|
5
10
|
|
|
6
11
|
export default StructureRoles;
|
|
@@ -26,7 +26,7 @@ exports[`<GrantApprovalRuleEdit /> matches the last snapshot 1`] = `
|
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
<div
|
|
29
|
-
class="required field fix-dropdown-selector"
|
|
29
|
+
class="required field fix-dropdown-selector "
|
|
30
30
|
>
|
|
31
31
|
<label>
|
|
32
32
|
Domain
|
|
@@ -57,7 +57,7 @@ exports[`<GrantApprovalRuleEdit /> matches the last snapshot 1`] = `
|
|
|
57
57
|
class="menu transition"
|
|
58
58
|
>
|
|
59
59
|
<div
|
|
60
|
-
class="ui left icon input search"
|
|
60
|
+
class="ui fluid left icon input search "
|
|
61
61
|
>
|
|
62
62
|
<input
|
|
63
63
|
type="text"
|
|
@@ -690,7 +690,7 @@ exports[`<GrantApprovalRuleForm /> matches the last snapshot for new rule 1`] =
|
|
|
690
690
|
</div>
|
|
691
691
|
</div>
|
|
692
692
|
<div
|
|
693
|
-
class="required field fix-dropdown-selector"
|
|
693
|
+
class="required field fix-dropdown-selector "
|
|
694
694
|
>
|
|
695
695
|
<label>
|
|
696
696
|
Domain
|
|
@@ -715,7 +715,7 @@ exports[`<GrantApprovalRuleForm /> matches the last snapshot for new rule 1`] =
|
|
|
715
715
|
class="menu transition"
|
|
716
716
|
>
|
|
717
717
|
<div
|
|
718
|
-
class="ui left icon input search"
|
|
718
|
+
class="ui fluid left icon input search "
|
|
719
719
|
>
|
|
720
720
|
<input
|
|
721
721
|
type="text"
|
|
@@ -26,7 +26,7 @@ exports[`<GrantApprovalRuleNew /> matches the last snapshot 1`] = `
|
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
<div
|
|
29
|
-
class="required field fix-dropdown-selector"
|
|
29
|
+
class="required field fix-dropdown-selector "
|
|
30
30
|
>
|
|
31
31
|
<label>
|
|
32
32
|
Domain
|
|
@@ -51,7 +51,7 @@ exports[`<GrantApprovalRuleNew /> matches the last snapshot 1`] = `
|
|
|
51
51
|
class="menu transition"
|
|
52
52
|
>
|
|
53
53
|
<div
|
|
54
|
-
class="ui left icon input search"
|
|
54
|
+
class="ui fluid left icon input search "
|
|
55
55
|
>
|
|
56
56
|
<input
|
|
57
57
|
type="text"
|
|
@@ -130,7 +130,7 @@ exports[`<ReferenceDataset /> edit dataset view matches the latest snapshot 1`]
|
|
|
130
130
|
class="ui form"
|
|
131
131
|
>
|
|
132
132
|
<div
|
|
133
|
-
class="field fix-dropdown-selector"
|
|
133
|
+
class="field fix-dropdown-selector "
|
|
134
134
|
>
|
|
135
135
|
<label>
|
|
136
136
|
Domain
|
|
@@ -160,7 +160,7 @@ exports[`<ReferenceDataset /> edit dataset view matches the latest snapshot 1`]
|
|
|
160
160
|
class="menu transition"
|
|
161
161
|
>
|
|
162
162
|
<div
|
|
163
|
-
class="ui left icon input search"
|
|
163
|
+
class="ui fluid left icon input search "
|
|
164
164
|
>
|
|
165
165
|
<input
|
|
166
166
|
type="text"
|
|
@@ -41,7 +41,7 @@ exports[`<ReferenceDatasetCreate /> matches the latest snapshot 1`] = `
|
|
|
41
41
|
class="ui form"
|
|
42
42
|
>
|
|
43
43
|
<div
|
|
44
|
-
class="field fix-dropdown-selector"
|
|
44
|
+
class="field fix-dropdown-selector "
|
|
45
45
|
>
|
|
46
46
|
<label>
|
|
47
47
|
Domain
|
|
@@ -65,7 +65,7 @@ exports[`<ReferenceDatasetCreate /> matches the latest snapshot 1`] = `
|
|
|
65
65
|
class="menu transition"
|
|
66
66
|
>
|
|
67
67
|
<div
|
|
68
|
-
class="ui left icon input search"
|
|
68
|
+
class="ui fluid left icon input search "
|
|
69
69
|
>
|
|
70
70
|
<input
|
|
71
71
|
type="text"
|
|
@@ -6,7 +6,7 @@ exports[`<ReferenceDatasetDetail /> matches the latest snapshot (edit route) 1`]
|
|
|
6
6
|
class="ui form"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
|
-
class="field fix-dropdown-selector"
|
|
9
|
+
class="field fix-dropdown-selector "
|
|
10
10
|
>
|
|
11
11
|
<label>
|
|
12
12
|
Domain
|
|
@@ -36,7 +36,7 @@ exports[`<ReferenceDatasetDetail /> matches the latest snapshot (edit route) 1`]
|
|
|
36
36
|
class="menu transition"
|
|
37
37
|
>
|
|
38
38
|
<div
|
|
39
|
-
class="ui left icon input search"
|
|
39
|
+
class="ui fluid left icon input search "
|
|
40
40
|
>
|
|
41
41
|
<input
|
|
42
42
|
type="text"
|
|
@@ -6,7 +6,7 @@ exports[`<ReferenceDatasetForm /> matches the latest snapshot 1`] = `
|
|
|
6
6
|
class="ui form"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
|
-
class="field fix-dropdown-selector"
|
|
9
|
+
class="field fix-dropdown-selector "
|
|
10
10
|
>
|
|
11
11
|
<label>
|
|
12
12
|
Domain
|
|
@@ -36,7 +36,7 @@ exports[`<ReferenceDatasetForm /> matches the latest snapshot 1`] = `
|
|
|
36
36
|
class="menu transition"
|
|
37
37
|
>
|
|
38
38
|
<div
|
|
39
|
-
class="ui left icon input search"
|
|
39
|
+
class="ui fluid left icon input search "
|
|
40
40
|
>
|
|
41
41
|
<input
|
|
42
42
|
type="text"
|
|
@@ -41,7 +41,7 @@ exports[`<ReferenceDatasetRoutes /> matches the latest snapshot (create route) 1
|
|
|
41
41
|
class="ui form"
|
|
42
42
|
>
|
|
43
43
|
<div
|
|
44
|
-
class="field fix-dropdown-selector"
|
|
44
|
+
class="field fix-dropdown-selector "
|
|
45
45
|
>
|
|
46
46
|
<label>
|
|
47
47
|
Domain
|
|
@@ -65,7 +65,7 @@ exports[`<ReferenceDatasetRoutes /> matches the latest snapshot (create route) 1
|
|
|
65
65
|
class="menu transition"
|
|
66
66
|
>
|
|
67
67
|
<div
|
|
68
|
-
class="ui left icon input search"
|
|
68
|
+
class="ui fluid left icon input search "
|
|
69
69
|
>
|
|
70
70
|
<input
|
|
71
71
|
type="text"
|
package/src/routines.js
CHANGED
|
@@ -81,7 +81,6 @@ export const downloadReferenceDataset = createRoutine(
|
|
|
81
81
|
);
|
|
82
82
|
export const downloadStructures = createRoutine("DOWNLOAD_STRUCTURES");
|
|
83
83
|
export const excludeNode = createRoutine("EXCLUDE_NODE");
|
|
84
|
-
export const fetchDomains = createRoutine("FETCH_DOMAINS");
|
|
85
84
|
export const fetchGrant = createRoutine("FETCH_GRANT");
|
|
86
85
|
export const fetchGrantFilters = createRoutine("FETCH_GRANT_FILTERS");
|
|
87
86
|
export const fetchGrantRequest = createRoutine("FETCH_GRANT_REQUEST");
|