@truedat/bg 7.2.0 → 7.2.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/package.json +6 -6
- package/src/concepts/components/ConceptCompleteness.js +2 -2
- package/src/concepts/components/ConceptCreate.js +3 -3
- package/src/concepts/components/ConceptDetails.js +2 -2
- package/src/concepts/components/ConceptEdit.js +3 -3
- package/src/concepts/components/ConceptsUploadButton.js +1 -1
- package/src/concepts/components/__tests__/ConceptCompleteness.spec.js +13 -15
- package/src/concepts/components/__tests__/ConceptDetails.spec.js +12 -19
- package/src/concepts/components/__tests__/{ConcepEdit.spec.js → ConceptEdit.spec.js} +13 -21
- package/src/concepts/components/__tests__/ConceptManageDomain.spec.js +28 -4
- package/src/concepts/components/__tests__/__snapshots__/{ConcepEdit.spec.js.snap → ConceptEdit.spec.js.snap} +7 -7
- package/src/concepts/components/__tests__/__snapshots__/ConceptForm.spec.js.snap +10 -12
- package/src/concepts/components/__tests__/__snapshots__/ConceptManageDomain.spec.js.snap +58 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptsBulkUpdate.spec.js.snap +10 -12
- package/src/concepts/components/__tests__/__snapshots__/SharedToForm.spec.js.snap +10 -12
- package/src/messages/en.js +2 -0
- package/src/messages/es.js +2 -0
- package/src/taxonomy/components/Domain.js +11 -71
- package/src/taxonomy/components/DomainCards.js +113 -0
- package/src/taxonomy/components/DomainContent.js +119 -0
- package/src/taxonomy/components/DomainTabs.js +92 -40
- package/src/taxonomy/components/Domains.js +144 -25
- package/src/taxonomy/components/DomainsActions.js +4 -4
- package/src/taxonomy/components/__tests__/Domain.spec.js +127 -2
- package/src/taxonomy/components/__tests__/DomainCards.spec.js +148 -0
- package/src/taxonomy/components/__tests__/DomainContent.spec.js +168 -0
- package/src/taxonomy/components/__tests__/DomainTabs.spec.js +108 -0
- package/src/taxonomy/components/__tests__/Domains.spec.js +149 -2
- package/src/taxonomy/components/__tests__/DomainsActions.spec.js +15 -8
- package/src/taxonomy/components/__tests__/__snapshots__/Domain.spec.js.snap +8 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainCards.spec.js.snap +291 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainContent.spec.js.snap +305 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainTabs.spec.js.snap +40 -0
- package/src/taxonomy/components/__tests__/__snapshots__/Domains.spec.js.snap +74 -4
- package/src/taxonomy/components/__tests__/__snapshots__/DomainsActions.spec.js.snap +13 -22
- package/src/taxonomy/styles/domainCards.less +4 -0
- package/src/taxonomy/styles/domains.less +15 -0
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<DomainContent /> Render {
|
|
4
|
+
content: 'implementations',
|
|
5
|
+
domainId: 1,
|
|
6
|
+
textToSearch: 'You are not authorized to view this content'
|
|
7
|
+
} content for %s domain with text %s 1`] = `
|
|
8
|
+
<div>
|
|
9
|
+
<div
|
|
10
|
+
class="ui icon visible bottom attached message center"
|
|
11
|
+
>
|
|
12
|
+
<i
|
|
13
|
+
aria-hidden="true"
|
|
14
|
+
class="warning sign icon"
|
|
15
|
+
/>
|
|
16
|
+
<div
|
|
17
|
+
class="content"
|
|
18
|
+
>
|
|
19
|
+
<div
|
|
20
|
+
class="header"
|
|
21
|
+
>
|
|
22
|
+
You are not authorized to view this content
|
|
23
|
+
</div>
|
|
24
|
+
<p>
|
|
25
|
+
If you want to update your permissions, please contact the administrator.
|
|
26
|
+
</p>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
`;
|
|
31
|
+
|
|
32
|
+
exports[`<DomainContent /> Render {
|
|
33
|
+
content: 'members',
|
|
34
|
+
domainId: 1,
|
|
35
|
+
textToSearch: 'This domain has no members'
|
|
36
|
+
} content for %s domain with text %s 1`] = `
|
|
37
|
+
<div>
|
|
38
|
+
<div
|
|
39
|
+
class="ui centered one column grid"
|
|
40
|
+
>
|
|
41
|
+
<div
|
|
42
|
+
class="column"
|
|
43
|
+
>
|
|
44
|
+
<div
|
|
45
|
+
class="ui icon input"
|
|
46
|
+
>
|
|
47
|
+
<input
|
|
48
|
+
placeholder="Search users…"
|
|
49
|
+
type="text"
|
|
50
|
+
value=""
|
|
51
|
+
/>
|
|
52
|
+
<i
|
|
53
|
+
aria-hidden="true"
|
|
54
|
+
class="search link icon"
|
|
55
|
+
/>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div
|
|
60
|
+
class="ui icon message"
|
|
61
|
+
>
|
|
62
|
+
<i
|
|
63
|
+
aria-hidden="true"
|
|
64
|
+
class="warning icon"
|
|
65
|
+
/>
|
|
66
|
+
<div
|
|
67
|
+
class="content"
|
|
68
|
+
>
|
|
69
|
+
<div
|
|
70
|
+
class="header"
|
|
71
|
+
>
|
|
72
|
+
This domain has no members
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
`;
|
|
78
|
+
|
|
79
|
+
exports[`<DomainContent /> Render {
|
|
80
|
+
content: 'structures',
|
|
81
|
+
domainId: 1,
|
|
82
|
+
textToSearch: 'You are not authorized to view this content'
|
|
83
|
+
} content for %s domain with text %s 1`] = `
|
|
84
|
+
<div>
|
|
85
|
+
<div
|
|
86
|
+
class="ui icon visible bottom attached message center"
|
|
87
|
+
>
|
|
88
|
+
<i
|
|
89
|
+
aria-hidden="true"
|
|
90
|
+
class="warning sign icon"
|
|
91
|
+
/>
|
|
92
|
+
<div
|
|
93
|
+
class="content"
|
|
94
|
+
>
|
|
95
|
+
<div
|
|
96
|
+
class="header"
|
|
97
|
+
>
|
|
98
|
+
You are not authorized to view this content
|
|
99
|
+
</div>
|
|
100
|
+
<p>
|
|
101
|
+
If you want to update your permissions, please contact the administrator.
|
|
102
|
+
</p>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
`;
|
|
107
|
+
|
|
108
|
+
exports[`<DomainContent /> Render {
|
|
109
|
+
content: 'subdomains',
|
|
110
|
+
domainId: 1,
|
|
111
|
+
textToSearch: 'This domain has no subdomains'
|
|
112
|
+
} content for %s domain with text %s 1`] = `
|
|
113
|
+
<div>
|
|
114
|
+
<h4
|
|
115
|
+
class="ui header"
|
|
116
|
+
>
|
|
117
|
+
<div
|
|
118
|
+
class="content taxonomy-domains-domaincards-header-content"
|
|
119
|
+
>
|
|
120
|
+
<div>
|
|
121
|
+
<div
|
|
122
|
+
class="ui icon input"
|
|
123
|
+
>
|
|
124
|
+
<input
|
|
125
|
+
placeholder="Search domains..."
|
|
126
|
+
type="text"
|
|
127
|
+
value=""
|
|
128
|
+
/>
|
|
129
|
+
<i
|
|
130
|
+
aria-hidden="true"
|
|
131
|
+
class="search icon"
|
|
132
|
+
/>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</h4>
|
|
137
|
+
<div
|
|
138
|
+
class="ui message"
|
|
139
|
+
>
|
|
140
|
+
<div
|
|
141
|
+
class="content"
|
|
142
|
+
>
|
|
143
|
+
<div
|
|
144
|
+
class="header"
|
|
145
|
+
>
|
|
146
|
+
This domain has no subdomains
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
<div
|
|
151
|
+
class="ui cards"
|
|
152
|
+
/>
|
|
153
|
+
</div>
|
|
154
|
+
`;
|
|
155
|
+
|
|
156
|
+
exports[`<DomainContent /> Render { content: 'concepts', domainId: 1, textToSearch: 'Searching...' } content for %s domain with text %s 1`] = `
|
|
157
|
+
<div>
|
|
158
|
+
<div
|
|
159
|
+
class="ui loading action left icon input"
|
|
160
|
+
>
|
|
161
|
+
<i
|
|
162
|
+
aria-hidden="true"
|
|
163
|
+
class="search link icon"
|
|
164
|
+
/>
|
|
165
|
+
<input
|
|
166
|
+
placeholder="Searching"
|
|
167
|
+
type="text"
|
|
168
|
+
value=""
|
|
169
|
+
/>
|
|
170
|
+
<div
|
|
171
|
+
aria-busy="true"
|
|
172
|
+
aria-disabled="false"
|
|
173
|
+
aria-expanded="false"
|
|
174
|
+
class="ui loading button floating labeled scrolling dropdown icon"
|
|
175
|
+
role="listbox"
|
|
176
|
+
tabindex="0"
|
|
177
|
+
>
|
|
178
|
+
<div
|
|
179
|
+
aria-atomic="true"
|
|
180
|
+
aria-live="polite"
|
|
181
|
+
class="divider text"
|
|
182
|
+
role="alert"
|
|
183
|
+
>
|
|
184
|
+
Filters
|
|
185
|
+
</div>
|
|
186
|
+
<i
|
|
187
|
+
aria-hidden="true"
|
|
188
|
+
class="filter icon"
|
|
189
|
+
/>
|
|
190
|
+
<div
|
|
191
|
+
class="menu transition"
|
|
192
|
+
>
|
|
193
|
+
<div
|
|
194
|
+
class="item"
|
|
195
|
+
role="option"
|
|
196
|
+
>
|
|
197
|
+
<em>
|
|
198
|
+
(reset all filters)
|
|
199
|
+
</em>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
<div
|
|
205
|
+
class="selectedFilters"
|
|
206
|
+
/>
|
|
207
|
+
<div
|
|
208
|
+
class="dimmed dimmable"
|
|
209
|
+
>
|
|
210
|
+
<div
|
|
211
|
+
class="ui active transition visible inverted dimmer"
|
|
212
|
+
style="display: flex;"
|
|
213
|
+
>
|
|
214
|
+
<div
|
|
215
|
+
class="content"
|
|
216
|
+
>
|
|
217
|
+
<div
|
|
218
|
+
class="ui loader"
|
|
219
|
+
/>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
<div
|
|
223
|
+
class="ui label concepts-label-results"
|
|
224
|
+
>
|
|
225
|
+
Searching...
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
`;
|
|
230
|
+
|
|
231
|
+
exports[`<DomainContent /> Render { content: 'subdomains', domainId: 2, textToSearch: 'childSubdomain' } content for %s domain with text %s 1`] = `
|
|
232
|
+
<div>
|
|
233
|
+
<h4
|
|
234
|
+
class="ui header"
|
|
235
|
+
>
|
|
236
|
+
<div
|
|
237
|
+
class="content taxonomy-domains-domaincards-header-content"
|
|
238
|
+
>
|
|
239
|
+
<div>
|
|
240
|
+
<div
|
|
241
|
+
class="ui icon input"
|
|
242
|
+
>
|
|
243
|
+
<input
|
|
244
|
+
placeholder="Search domains..."
|
|
245
|
+
type="text"
|
|
246
|
+
value=""
|
|
247
|
+
/>
|
|
248
|
+
<i
|
|
249
|
+
aria-hidden="true"
|
|
250
|
+
class="search icon"
|
|
251
|
+
/>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</div>
|
|
255
|
+
</h4>
|
|
256
|
+
<div
|
|
257
|
+
class="ui cards"
|
|
258
|
+
>
|
|
259
|
+
<a
|
|
260
|
+
class="ui link card"
|
|
261
|
+
href="/domains/4"
|
|
262
|
+
>
|
|
263
|
+
<div
|
|
264
|
+
class="content"
|
|
265
|
+
>
|
|
266
|
+
<div
|
|
267
|
+
class="header"
|
|
268
|
+
>
|
|
269
|
+
<i
|
|
270
|
+
aria-hidden="true"
|
|
271
|
+
class="cube icon"
|
|
272
|
+
/>
|
|
273
|
+
childSubdomain
|
|
274
|
+
</div>
|
|
275
|
+
<div
|
|
276
|
+
class="meta"
|
|
277
|
+
>
|
|
278
|
+
<i
|
|
279
|
+
aria-hidden="true"
|
|
280
|
+
class="object group icon"
|
|
281
|
+
/>
|
|
282
|
+
|
|
283
|
+
DomainGroup
|
|
284
|
+
<br />
|
|
285
|
+
<span>
|
|
286
|
+
Domain
|
|
287
|
+
</span>
|
|
288
|
+
</div>
|
|
289
|
+
</div>
|
|
290
|
+
<div
|
|
291
|
+
class="content"
|
|
292
|
+
/>
|
|
293
|
+
<div
|
|
294
|
+
class="extra content"
|
|
295
|
+
>
|
|
296
|
+
<i
|
|
297
|
+
aria-hidden="true"
|
|
298
|
+
class="cubes icon"
|
|
299
|
+
/>
|
|
300
|
+
0 Subdomains
|
|
301
|
+
</div>
|
|
302
|
+
</a>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
`;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<DomainTabs /> matches the latest snapshot 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="ui pointing secondary top attached tabular menu"
|
|
7
|
+
>
|
|
8
|
+
<a
|
|
9
|
+
class="item"
|
|
10
|
+
href="/domains/1"
|
|
11
|
+
>
|
|
12
|
+
Subdomains
|
|
13
|
+
</a>
|
|
14
|
+
<a
|
|
15
|
+
class="item"
|
|
16
|
+
href="/domains/1/concepts"
|
|
17
|
+
>
|
|
18
|
+
Concepts
|
|
19
|
+
</a>
|
|
20
|
+
<a
|
|
21
|
+
class="item"
|
|
22
|
+
href="/domains/1/structures"
|
|
23
|
+
>
|
|
24
|
+
Structures
|
|
25
|
+
</a>
|
|
26
|
+
<a
|
|
27
|
+
class="item"
|
|
28
|
+
href="/domains/1/implementations"
|
|
29
|
+
>
|
|
30
|
+
Implementations
|
|
31
|
+
</a>
|
|
32
|
+
<a
|
|
33
|
+
class="item"
|
|
34
|
+
href="/domains/1/members"
|
|
35
|
+
>
|
|
36
|
+
Members
|
|
37
|
+
</a>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
`;
|
|
@@ -33,8 +33,42 @@ exports[`<Domains /> matches the latest snapshot 1`] = `
|
|
|
33
33
|
class="row"
|
|
34
34
|
>
|
|
35
35
|
<div
|
|
36
|
-
class="sixteen wide column"
|
|
36
|
+
class="bottom aligned sixteen wide column taxonomy-domains-breadcrumb"
|
|
37
37
|
>
|
|
38
|
+
<div
|
|
39
|
+
class="ui icon buttons taxonomy-domains-breadcrumb-control"
|
|
40
|
+
>
|
|
41
|
+
<button
|
|
42
|
+
class="ui basic icon button"
|
|
43
|
+
data-position="top left"
|
|
44
|
+
data-tooltip="Hide Domains List"
|
|
45
|
+
>
|
|
46
|
+
<i
|
|
47
|
+
aria-hidden="true"
|
|
48
|
+
class="eye slash icon"
|
|
49
|
+
/>
|
|
50
|
+
</button>
|
|
51
|
+
<button
|
|
52
|
+
class="ui icon button"
|
|
53
|
+
data-position="top left"
|
|
54
|
+
data-tooltip="domains.list.minimize"
|
|
55
|
+
>
|
|
56
|
+
<i
|
|
57
|
+
aria-hidden="true"
|
|
58
|
+
class="compress icon"
|
|
59
|
+
/>
|
|
60
|
+
</button>
|
|
61
|
+
<button
|
|
62
|
+
class="ui basic icon button"
|
|
63
|
+
data-position="top left"
|
|
64
|
+
data-tooltip="domains.list.maximize"
|
|
65
|
+
>
|
|
66
|
+
<i
|
|
67
|
+
aria-hidden="true"
|
|
68
|
+
class="expand icon"
|
|
69
|
+
/>
|
|
70
|
+
</button>
|
|
71
|
+
</div>
|
|
38
72
|
<div
|
|
39
73
|
class="ui breadcrumb"
|
|
40
74
|
>
|
|
@@ -67,10 +101,10 @@ exports[`<Domains /> matches the latest snapshot 1`] = `
|
|
|
67
101
|
</div>
|
|
68
102
|
</div>
|
|
69
103
|
<div
|
|
70
|
-
class="stretched row"
|
|
104
|
+
class="stretched row taxonomy-domains-content"
|
|
71
105
|
>
|
|
72
106
|
<div
|
|
73
|
-
class="three wide column"
|
|
107
|
+
class="three wide column taxonomy-domains-grid-animation "
|
|
74
108
|
>
|
|
75
109
|
<div
|
|
76
110
|
class="ui segment"
|
|
@@ -94,13 +128,49 @@ exports[`<Domains /> matches the latest snapshot 1`] = `
|
|
|
94
128
|
class="plus icon"
|
|
95
129
|
/>
|
|
96
130
|
</button>
|
|
131
|
+
<div
|
|
132
|
+
class="menu transition hierarchyNodeFinderTreeSelector"
|
|
133
|
+
>
|
|
134
|
+
<div
|
|
135
|
+
class="ui fluid left icon input search notDropdownInput"
|
|
136
|
+
>
|
|
137
|
+
<input
|
|
138
|
+
type="text"
|
|
139
|
+
/>
|
|
140
|
+
<i
|
|
141
|
+
aria-hidden="true"
|
|
142
|
+
class="search icon"
|
|
143
|
+
/>
|
|
144
|
+
</div>
|
|
145
|
+
<div
|
|
146
|
+
class="scrolling menu transition notDropdownSelector"
|
|
147
|
+
>
|
|
148
|
+
<div
|
|
149
|
+
aria-selected="false"
|
|
150
|
+
class="item"
|
|
151
|
+
role="option"
|
|
152
|
+
>
|
|
153
|
+
<div
|
|
154
|
+
class="item-content"
|
|
155
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
156
|
+
>
|
|
157
|
+
<span
|
|
158
|
+
style="opacity: 1;"
|
|
159
|
+
title="other_domain"
|
|
160
|
+
>
|
|
161
|
+
other_domain
|
|
162
|
+
</span>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
97
167
|
</div>
|
|
98
168
|
</div>
|
|
99
169
|
</div>
|
|
100
170
|
</div>
|
|
101
171
|
</div>
|
|
102
172
|
<div
|
|
103
|
-
class="thirteen wide column"
|
|
173
|
+
class="thirteen wide column taxonomy-domains-grid-animation "
|
|
104
174
|
/>
|
|
105
175
|
</div>
|
|
106
176
|
</div>
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`<DomainsActions /> matches the latest snapshot 1`] = `
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"render": [Function],
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
content="domains.actions.create"
|
|
21
|
-
icon="cube"
|
|
22
|
-
primary={true}
|
|
23
|
-
to={[Function]}
|
|
24
|
-
/>
|
|
25
|
-
</Fragment>
|
|
4
|
+
<div>
|
|
5
|
+
<a
|
|
6
|
+
class="ui primary button"
|
|
7
|
+
href="/domains/new"
|
|
8
|
+
role="button"
|
|
9
|
+
>
|
|
10
|
+
<i
|
|
11
|
+
aria-hidden="true"
|
|
12
|
+
class="cube icon"
|
|
13
|
+
/>
|
|
14
|
+
New Domain
|
|
15
|
+
</a>
|
|
16
|
+
</div>
|
|
26
17
|
`;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.taxonomy-domains-breadcrumb{
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: flex-start;
|
|
4
|
+
padding-bottom: 0;
|
|
5
|
+
}
|
|
6
|
+
.ui.buttons.taxonomy-domains-breadcrumb-control{
|
|
7
|
+
margin-right: 15px;
|
|
8
|
+
}
|
|
9
|
+
.ui.grid > .row.taxonomy-domains-content{
|
|
10
|
+
padding-top: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.taxonomy-domains-grid-animation{
|
|
14
|
+
transition: width .2s linear;
|
|
15
|
+
}
|