@truedat/dd 5.6.6 → 5.7.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dd",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "Truedat Web Data Dictionary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -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": "cf0b90c6409291b1b345dd0279b6f2c76bf8416d"
|
|
118
118
|
}
|
|
@@ -133,6 +133,11 @@ exports[`<StructuresGrantRequestView /> Clicking a grant request button triggers
|
|
|
133
133
|
>
|
|
134
134
|
System
|
|
135
135
|
</th>
|
|
136
|
+
<th
|
|
137
|
+
class="one wide ascending sorted disabled"
|
|
138
|
+
>
|
|
139
|
+
Relation Type
|
|
140
|
+
</th>
|
|
136
141
|
<th
|
|
137
142
|
class="one wide ascending sorted disabled"
|
|
138
143
|
>
|
|
@@ -172,6 +177,9 @@ exports[`<StructuresGrantRequestView /> Clicking a grant request button triggers
|
|
|
172
177
|
<td
|
|
173
178
|
class=""
|
|
174
179
|
/>
|
|
180
|
+
<td
|
|
181
|
+
class=""
|
|
182
|
+
/>
|
|
175
183
|
<td
|
|
176
184
|
class=""
|
|
177
185
|
>
|
|
@@ -213,6 +221,9 @@ exports[`<StructuresGrantRequestView /> Clicking a grant request button triggers
|
|
|
213
221
|
<td
|
|
214
222
|
class=""
|
|
215
223
|
/>
|
|
224
|
+
<td
|
|
225
|
+
class=""
|
|
226
|
+
/>
|
|
216
227
|
<td
|
|
217
228
|
class=""
|
|
218
229
|
>
|
|
@@ -254,6 +265,9 @@ exports[`<StructuresGrantRequestView /> Clicking a grant request button triggers
|
|
|
254
265
|
<td
|
|
255
266
|
class=""
|
|
256
267
|
/>
|
|
268
|
+
<td
|
|
269
|
+
class=""
|
|
270
|
+
/>
|
|
257
271
|
<td
|
|
258
272
|
class=""
|
|
259
273
|
>
|
|
@@ -15,6 +15,14 @@ const dateDecorator = (date) => (
|
|
|
15
15
|
<Moment locale="es" date={date} format="YYYY-MM-DD HH:mm" />
|
|
16
16
|
);
|
|
17
17
|
|
|
18
|
+
const relationTypeDecorator = _.map((relationTag) => (
|
|
19
|
+
<FormattedMessage
|
|
20
|
+
key={relationTag}
|
|
21
|
+
id={`conceptRelations.relationType.${relationTag}`}
|
|
22
|
+
defaultMessage={relationTag}
|
|
23
|
+
/>
|
|
24
|
+
));
|
|
25
|
+
|
|
18
26
|
export const defaultStructureColumns = [
|
|
19
27
|
{
|
|
20
28
|
name: "name",
|
|
@@ -33,6 +41,12 @@ export const defaultStructureColumns = [
|
|
|
33
41
|
sort: { name: "system.name.sort" },
|
|
34
42
|
width: 1,
|
|
35
43
|
},
|
|
44
|
+
{
|
|
45
|
+
name: "relation.relation_type_name",
|
|
46
|
+
fieldSelector: _.path("tags"),
|
|
47
|
+
fieldDecorator: relationTypeDecorator,
|
|
48
|
+
width: 1,
|
|
49
|
+
},
|
|
36
50
|
{ name: "group", width: 1 },
|
|
37
51
|
{
|
|
38
52
|
name: "updated_at",
|