@truedat/dd 5.7.6 → 5.8.0
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/__tests__/__snapshots__/GrantApprovalRuleEdit.spec.js.snap +15 -3
- package/src/components/__tests__/__snapshots__/GrantApprovalRuleForm.spec.js.snap +15 -3
- package/src/components/__tests__/__snapshots__/GrantApprovalRuleNew.spec.js.snap +15 -3
- package/src/components/__tests__/__snapshots__/ReferenceDataset.spec.js.snap +15 -3
- package/src/components/__tests__/__snapshots__/ReferenceDatasetCreate.spec.js.snap +15 -3
- package/src/components/__tests__/__snapshots__/ReferenceDatasetDetail.spec.js.snap +15 -3
- package/src/components/__tests__/__snapshots__/ReferenceDatasetForm.spec.js.snap +15 -3
- package/src/components/__tests__/__snapshots__/ReferenceDatasetRoutes.spec.js.snap +15 -3
- package/src/sagas/__tests__/downloadStructures.spec.js +1 -1
- package/src/sagas/downloadStructures.js +1 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dd",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
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": "5.
|
|
37
|
+
"@truedat/test": "5.8.0",
|
|
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,9 +87,9 @@
|
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@apollo/client": "^3.7.1",
|
|
90
|
-
"@truedat/auth": "5.
|
|
91
|
-
"@truedat/core": "5.
|
|
92
|
-
"@truedat/df": "5.
|
|
90
|
+
"@truedat/auth": "5.8.0",
|
|
91
|
+
"@truedat/core": "5.8.0",
|
|
92
|
+
"@truedat/df": "5.8.0",
|
|
93
93
|
"lodash": "^4.17.21",
|
|
94
94
|
"moment": "^2.29.4",
|
|
95
95
|
"path-to-regexp": "^1.7.0",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"react-dom": ">= 16.8.6 < 17",
|
|
115
115
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "dd51c78f3143413ec2bc9a77001d3b648fe92d0a"
|
|
118
118
|
}
|
|
@@ -81,7 +81,11 @@ exports[`<GrantApprovalRuleEdit /> matches the last snapshot 1`] = `
|
|
|
81
81
|
aria-hidden="true"
|
|
82
82
|
class="plus icon"
|
|
83
83
|
/>
|
|
84
|
-
|
|
84
|
+
<span
|
|
85
|
+
style="opacity: 1;"
|
|
86
|
+
>
|
|
87
|
+
barDomain
|
|
88
|
+
</span>
|
|
85
89
|
</div>
|
|
86
90
|
</div>
|
|
87
91
|
<div
|
|
@@ -96,7 +100,11 @@ exports[`<GrantApprovalRuleEdit /> matches the last snapshot 1`] = `
|
|
|
96
100
|
aria-hidden="true"
|
|
97
101
|
class="icon"
|
|
98
102
|
/>
|
|
99
|
-
|
|
103
|
+
<span
|
|
104
|
+
style="opacity: 1;"
|
|
105
|
+
>
|
|
106
|
+
bazDomain
|
|
107
|
+
</span>
|
|
100
108
|
</div>
|
|
101
109
|
</div>
|
|
102
110
|
<div
|
|
@@ -111,7 +119,11 @@ exports[`<GrantApprovalRuleEdit /> matches the last snapshot 1`] = `
|
|
|
111
119
|
aria-hidden="true"
|
|
112
120
|
class="icon"
|
|
113
121
|
/>
|
|
114
|
-
|
|
122
|
+
<span
|
|
123
|
+
style="opacity: 1;"
|
|
124
|
+
>
|
|
125
|
+
fooDomain
|
|
126
|
+
</span>
|
|
115
127
|
</div>
|
|
116
128
|
</div>
|
|
117
129
|
</div>
|
|
@@ -739,7 +739,11 @@ exports[`<GrantApprovalRuleForm /> matches the last snapshot for new rule 1`] =
|
|
|
739
739
|
aria-hidden="true"
|
|
740
740
|
class="plus icon"
|
|
741
741
|
/>
|
|
742
|
-
|
|
742
|
+
<span
|
|
743
|
+
style="opacity: 1;"
|
|
744
|
+
>
|
|
745
|
+
barDomain
|
|
746
|
+
</span>
|
|
743
747
|
</div>
|
|
744
748
|
</div>
|
|
745
749
|
<div
|
|
@@ -754,7 +758,11 @@ exports[`<GrantApprovalRuleForm /> matches the last snapshot for new rule 1`] =
|
|
|
754
758
|
aria-hidden="true"
|
|
755
759
|
class="icon"
|
|
756
760
|
/>
|
|
757
|
-
|
|
761
|
+
<span
|
|
762
|
+
style="opacity: 1;"
|
|
763
|
+
>
|
|
764
|
+
bazDomain
|
|
765
|
+
</span>
|
|
758
766
|
</div>
|
|
759
767
|
</div>
|
|
760
768
|
<div
|
|
@@ -769,7 +777,11 @@ exports[`<GrantApprovalRuleForm /> matches the last snapshot for new rule 1`] =
|
|
|
769
777
|
aria-hidden="true"
|
|
770
778
|
class="icon"
|
|
771
779
|
/>
|
|
772
|
-
|
|
780
|
+
<span
|
|
781
|
+
style="opacity: 1;"
|
|
782
|
+
>
|
|
783
|
+
fooDomain
|
|
784
|
+
</span>
|
|
773
785
|
</div>
|
|
774
786
|
</div>
|
|
775
787
|
</div>
|
|
@@ -75,7 +75,11 @@ exports[`<GrantApprovalRuleNew /> matches the last snapshot 1`] = `
|
|
|
75
75
|
aria-hidden="true"
|
|
76
76
|
class="plus icon"
|
|
77
77
|
/>
|
|
78
|
-
|
|
78
|
+
<span
|
|
79
|
+
style="opacity: 1;"
|
|
80
|
+
>
|
|
81
|
+
barDomain
|
|
82
|
+
</span>
|
|
79
83
|
</div>
|
|
80
84
|
</div>
|
|
81
85
|
<div
|
|
@@ -90,7 +94,11 @@ exports[`<GrantApprovalRuleNew /> matches the last snapshot 1`] = `
|
|
|
90
94
|
aria-hidden="true"
|
|
91
95
|
class="icon"
|
|
92
96
|
/>
|
|
93
|
-
|
|
97
|
+
<span
|
|
98
|
+
style="opacity: 1;"
|
|
99
|
+
>
|
|
100
|
+
bazDomain
|
|
101
|
+
</span>
|
|
94
102
|
</div>
|
|
95
103
|
</div>
|
|
96
104
|
<div
|
|
@@ -105,7 +113,11 @@ exports[`<GrantApprovalRuleNew /> matches the last snapshot 1`] = `
|
|
|
105
113
|
aria-hidden="true"
|
|
106
114
|
class="icon"
|
|
107
115
|
/>
|
|
108
|
-
|
|
116
|
+
<span
|
|
117
|
+
style="opacity: 1;"
|
|
118
|
+
>
|
|
119
|
+
fooDomain
|
|
120
|
+
</span>
|
|
109
121
|
</div>
|
|
110
122
|
</div>
|
|
111
123
|
</div>
|
|
@@ -184,7 +184,11 @@ exports[`<ReferenceDataset /> edit dataset view matches the latest snapshot 1`]
|
|
|
184
184
|
aria-hidden="true"
|
|
185
185
|
class="plus icon"
|
|
186
186
|
/>
|
|
187
|
-
|
|
187
|
+
<span
|
|
188
|
+
style="opacity: 1;"
|
|
189
|
+
>
|
|
190
|
+
barDomain
|
|
191
|
+
</span>
|
|
188
192
|
</div>
|
|
189
193
|
</div>
|
|
190
194
|
<div
|
|
@@ -199,7 +203,11 @@ exports[`<ReferenceDataset /> edit dataset view matches the latest snapshot 1`]
|
|
|
199
203
|
aria-hidden="true"
|
|
200
204
|
class="icon"
|
|
201
205
|
/>
|
|
202
|
-
|
|
206
|
+
<span
|
|
207
|
+
style="opacity: 1;"
|
|
208
|
+
>
|
|
209
|
+
bazDomain
|
|
210
|
+
</span>
|
|
203
211
|
</div>
|
|
204
212
|
</div>
|
|
205
213
|
<div
|
|
@@ -214,7 +222,11 @@ exports[`<ReferenceDataset /> edit dataset view matches the latest snapshot 1`]
|
|
|
214
222
|
aria-hidden="true"
|
|
215
223
|
class="icon"
|
|
216
224
|
/>
|
|
217
|
-
|
|
225
|
+
<span
|
|
226
|
+
style="opacity: 1;"
|
|
227
|
+
>
|
|
228
|
+
fooDomain
|
|
229
|
+
</span>
|
|
218
230
|
</div>
|
|
219
231
|
</div>
|
|
220
232
|
</div>
|
|
@@ -89,7 +89,11 @@ exports[`<ReferenceDatasetCreate /> matches the latest snapshot 1`] = `
|
|
|
89
89
|
aria-hidden="true"
|
|
90
90
|
class="plus icon"
|
|
91
91
|
/>
|
|
92
|
-
|
|
92
|
+
<span
|
|
93
|
+
style="opacity: 1;"
|
|
94
|
+
>
|
|
95
|
+
barDomain
|
|
96
|
+
</span>
|
|
93
97
|
</div>
|
|
94
98
|
</div>
|
|
95
99
|
<div
|
|
@@ -104,7 +108,11 @@ exports[`<ReferenceDatasetCreate /> matches the latest snapshot 1`] = `
|
|
|
104
108
|
aria-hidden="true"
|
|
105
109
|
class="icon"
|
|
106
110
|
/>
|
|
107
|
-
|
|
111
|
+
<span
|
|
112
|
+
style="opacity: 1;"
|
|
113
|
+
>
|
|
114
|
+
bazDomain
|
|
115
|
+
</span>
|
|
108
116
|
</div>
|
|
109
117
|
</div>
|
|
110
118
|
<div
|
|
@@ -119,7 +127,11 @@ exports[`<ReferenceDatasetCreate /> matches the latest snapshot 1`] = `
|
|
|
119
127
|
aria-hidden="true"
|
|
120
128
|
class="icon"
|
|
121
129
|
/>
|
|
122
|
-
|
|
130
|
+
<span
|
|
131
|
+
style="opacity: 1;"
|
|
132
|
+
>
|
|
133
|
+
fooDomain
|
|
134
|
+
</span>
|
|
123
135
|
</div>
|
|
124
136
|
</div>
|
|
125
137
|
</div>
|
|
@@ -60,7 +60,11 @@ exports[`<ReferenceDatasetDetail /> matches the latest snapshot (edit route) 1`]
|
|
|
60
60
|
aria-hidden="true"
|
|
61
61
|
class="plus icon"
|
|
62
62
|
/>
|
|
63
|
-
|
|
63
|
+
<span
|
|
64
|
+
style="opacity: 1;"
|
|
65
|
+
>
|
|
66
|
+
barDomain
|
|
67
|
+
</span>
|
|
64
68
|
</div>
|
|
65
69
|
</div>
|
|
66
70
|
<div
|
|
@@ -75,7 +79,11 @@ exports[`<ReferenceDatasetDetail /> matches the latest snapshot (edit route) 1`]
|
|
|
75
79
|
aria-hidden="true"
|
|
76
80
|
class="icon"
|
|
77
81
|
/>
|
|
78
|
-
|
|
82
|
+
<span
|
|
83
|
+
style="opacity: 1;"
|
|
84
|
+
>
|
|
85
|
+
bazDomain
|
|
86
|
+
</span>
|
|
79
87
|
</div>
|
|
80
88
|
</div>
|
|
81
89
|
<div
|
|
@@ -90,7 +98,11 @@ exports[`<ReferenceDatasetDetail /> matches the latest snapshot (edit route) 1`]
|
|
|
90
98
|
aria-hidden="true"
|
|
91
99
|
class="icon"
|
|
92
100
|
/>
|
|
93
|
-
|
|
101
|
+
<span
|
|
102
|
+
style="opacity: 1;"
|
|
103
|
+
>
|
|
104
|
+
fooDomain
|
|
105
|
+
</span>
|
|
94
106
|
</div>
|
|
95
107
|
</div>
|
|
96
108
|
</div>
|
|
@@ -60,7 +60,11 @@ exports[`<ReferenceDatasetForm /> matches the latest snapshot 1`] = `
|
|
|
60
60
|
aria-hidden="true"
|
|
61
61
|
class="plus icon"
|
|
62
62
|
/>
|
|
63
|
-
|
|
63
|
+
<span
|
|
64
|
+
style="opacity: 1;"
|
|
65
|
+
>
|
|
66
|
+
barDomain
|
|
67
|
+
</span>
|
|
64
68
|
</div>
|
|
65
69
|
</div>
|
|
66
70
|
<div
|
|
@@ -75,7 +79,11 @@ exports[`<ReferenceDatasetForm /> matches the latest snapshot 1`] = `
|
|
|
75
79
|
aria-hidden="true"
|
|
76
80
|
class="icon"
|
|
77
81
|
/>
|
|
78
|
-
|
|
82
|
+
<span
|
|
83
|
+
style="opacity: 1;"
|
|
84
|
+
>
|
|
85
|
+
bazDomain
|
|
86
|
+
</span>
|
|
79
87
|
</div>
|
|
80
88
|
</div>
|
|
81
89
|
<div
|
|
@@ -90,7 +98,11 @@ exports[`<ReferenceDatasetForm /> matches the latest snapshot 1`] = `
|
|
|
90
98
|
aria-hidden="true"
|
|
91
99
|
class="icon"
|
|
92
100
|
/>
|
|
93
|
-
|
|
101
|
+
<span
|
|
102
|
+
style="opacity: 1;"
|
|
103
|
+
>
|
|
104
|
+
fooDomain
|
|
105
|
+
</span>
|
|
94
106
|
</div>
|
|
95
107
|
</div>
|
|
96
108
|
</div>
|
|
@@ -89,7 +89,11 @@ exports[`<ReferenceDatasetRoutes /> matches the latest snapshot (create route) 1
|
|
|
89
89
|
aria-hidden="true"
|
|
90
90
|
class="plus icon"
|
|
91
91
|
/>
|
|
92
|
-
|
|
92
|
+
<span
|
|
93
|
+
style="opacity: 1;"
|
|
94
|
+
>
|
|
95
|
+
barDomain
|
|
96
|
+
</span>
|
|
93
97
|
</div>
|
|
94
98
|
</div>
|
|
95
99
|
<div
|
|
@@ -104,7 +108,11 @@ exports[`<ReferenceDatasetRoutes /> matches the latest snapshot (create route) 1
|
|
|
104
108
|
aria-hidden="true"
|
|
105
109
|
class="icon"
|
|
106
110
|
/>
|
|
107
|
-
|
|
111
|
+
<span
|
|
112
|
+
style="opacity: 1;"
|
|
113
|
+
>
|
|
114
|
+
bazDomain
|
|
115
|
+
</span>
|
|
108
116
|
</div>
|
|
109
117
|
</div>
|
|
110
118
|
<div
|
|
@@ -119,7 +127,11 @@ exports[`<ReferenceDatasetRoutes /> matches the latest snapshot (create route) 1
|
|
|
119
127
|
aria-hidden="true"
|
|
120
128
|
class="icon"
|
|
121
129
|
/>
|
|
122
|
-
|
|
130
|
+
<span
|
|
131
|
+
style="opacity: 1;"
|
|
132
|
+
>
|
|
133
|
+
fooDomain
|
|
134
|
+
</span>
|
|
123
135
|
</div>
|
|
124
136
|
</div>
|
|
125
137
|
</div>
|
|
@@ -46,15 +46,4 @@ export function* downloadStructuresRequestSaga() {
|
|
|
46
46
|
yield takeLatest(downloadStructures.TRIGGER, downloadStructuresSaga);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
const defaultWebPorts = [80, 443];
|
|
51
|
-
|
|
52
|
-
return defaultWebPorts.includes(window.location.port)
|
|
53
|
-
? window.location.protocol + "//" + window.location.hostname + STRUCTURE
|
|
54
|
-
: window.location.protocol +
|
|
55
|
-
"//" +
|
|
56
|
-
window.location.hostname +
|
|
57
|
-
":" +
|
|
58
|
-
window.location.port +
|
|
59
|
-
STRUCTURE;
|
|
60
|
-
}
|
|
49
|
+
const getStructureUrlSchema = () => window.location.origin + STRUCTURE;
|