@truedat/bg 7.10.4 → 7.11.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 +3 -3
- package/src/concepts/components/ConceptLinksUploadButton.js +0 -4
- package/src/concepts/components/ConceptRoutes.js +28 -46
- package/src/concepts/components/__tests__/ConceptRoutes.spec.js +201 -0
- package/src/concepts/components/__tests__/__snapshots__/ConceptRoutes.spec.js.snap +165 -0
- package/src/concepts/relations/api.js +9 -1
- package/src/concepts/relations/components/ConceptLinksApprovalResults.js +91 -0
- package/src/concepts/relations/components/ConceptLinksApprovals.js +225 -0
- package/src/concepts/relations/components/ConceptLinksApprovalsLabelResults.js +42 -0
- package/src/concepts/relations/components/ConceptLinksApprovalsRow.js +43 -0
- package/src/concepts/relations/components/ConceptLinksApprovalsTable.js +104 -0
- package/src/concepts/relations/components/__tests__/ConceptLinksApprovalResults.spec.js +123 -0
- package/src/concepts/relations/components/__tests__/ConceptLinksApprovals.spec.js +77 -0
- package/src/concepts/relations/components/__tests__/ConceptLinksApprovalsLabelResults.spec.js +47 -0
- package/src/concepts/relations/components/__tests__/ConceptLinksApprovalsRow.spec.js +68 -0
- package/src/concepts/relations/components/__tests__/ConceptLinksApprovalsTable.spec.js +107 -0
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksApprovalResults.spec.js.snap +217 -0
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksApprovals.spec.js.snap +559 -0
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksApprovalsLabelResults.spec.js.snap +34 -0
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksApprovalsRow.spec.js.snap +47 -0
- package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksApprovalsTable.spec.js.snap +132 -0
- package/src/concepts/relations/hooks/useLinks.js +25 -0
- package/src/concepts/relations/selectors/getLinksSearchColumns.js +106 -0
- package/src/concepts/relations/selectors/index.js +2 -0
- package/src/concepts/relations/styles/ConceptLinksApprovals.less +15 -0
package/src/concepts/relations/components/__tests__/__snapshots__/ConceptLinksApprovals.spec.js.snap
ADDED
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<ConceptLinksApprovals /> matches the latest snapshot 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="ui segment"
|
|
7
|
+
>
|
|
8
|
+
<h2
|
|
9
|
+
class="ui header"
|
|
10
|
+
>
|
|
11
|
+
<i
|
|
12
|
+
aria-hidden="true"
|
|
13
|
+
class="linkify circular icon"
|
|
14
|
+
/>
|
|
15
|
+
<div
|
|
16
|
+
class="content"
|
|
17
|
+
>
|
|
18
|
+
conceptRelations.approvals.header
|
|
19
|
+
<div
|
|
20
|
+
class="sub header"
|
|
21
|
+
>
|
|
22
|
+
conceptRelations.approvals.subheader
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</h2>
|
|
26
|
+
<div
|
|
27
|
+
class="ui bottom attached segment"
|
|
28
|
+
>
|
|
29
|
+
<div
|
|
30
|
+
class="ui grid grant-requests-bulk-actions"
|
|
31
|
+
>
|
|
32
|
+
<div
|
|
33
|
+
class="row"
|
|
34
|
+
>
|
|
35
|
+
<div
|
|
36
|
+
class="eight wide column"
|
|
37
|
+
>
|
|
38
|
+
<div
|
|
39
|
+
class="ui action left icon input"
|
|
40
|
+
>
|
|
41
|
+
<i
|
|
42
|
+
aria-hidden="true"
|
|
43
|
+
class="search link icon"
|
|
44
|
+
/>
|
|
45
|
+
<input
|
|
46
|
+
placeholder="search.placeholder"
|
|
47
|
+
type="text"
|
|
48
|
+
/>
|
|
49
|
+
<div
|
|
50
|
+
aria-expanded="false"
|
|
51
|
+
class="ui button floating labeled scrolling dropdown icon"
|
|
52
|
+
role="listbox"
|
|
53
|
+
tabindex="0"
|
|
54
|
+
>
|
|
55
|
+
<div
|
|
56
|
+
aria-atomic="true"
|
|
57
|
+
aria-live="polite"
|
|
58
|
+
class="divider text"
|
|
59
|
+
role="alert"
|
|
60
|
+
>
|
|
61
|
+
Filters
|
|
62
|
+
</div>
|
|
63
|
+
<i
|
|
64
|
+
aria-hidden="true"
|
|
65
|
+
class="filter icon"
|
|
66
|
+
/>
|
|
67
|
+
<div
|
|
68
|
+
class="menu transition"
|
|
69
|
+
>
|
|
70
|
+
<div
|
|
71
|
+
class="item"
|
|
72
|
+
role="option"
|
|
73
|
+
>
|
|
74
|
+
<em>
|
|
75
|
+
(reset filters)
|
|
76
|
+
</em>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
<div
|
|
82
|
+
class="selectedFilters"
|
|
83
|
+
/>
|
|
84
|
+
</div>
|
|
85
|
+
<div
|
|
86
|
+
class="right aligned eight wide column"
|
|
87
|
+
>
|
|
88
|
+
<button
|
|
89
|
+
class="ui primary disabled button"
|
|
90
|
+
disabled=""
|
|
91
|
+
tabindex="-1"
|
|
92
|
+
>
|
|
93
|
+
conceptRelations.approvals.actions.approve
|
|
94
|
+
</button>
|
|
95
|
+
<button
|
|
96
|
+
class="ui secondary disabled button"
|
|
97
|
+
disabled=""
|
|
98
|
+
tabindex="-1"
|
|
99
|
+
>
|
|
100
|
+
conceptRelations.approvals.actions.reject
|
|
101
|
+
</button>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
<div
|
|
105
|
+
class="row"
|
|
106
|
+
>
|
|
107
|
+
<div
|
|
108
|
+
class="eight wide column concepts-links-approvals-status-selector"
|
|
109
|
+
>
|
|
110
|
+
<div
|
|
111
|
+
class="ui checked checkbox"
|
|
112
|
+
>
|
|
113
|
+
<input
|
|
114
|
+
checked=""
|
|
115
|
+
class="hidden"
|
|
116
|
+
readonly=""
|
|
117
|
+
tabindex="0"
|
|
118
|
+
type="checkbox"
|
|
119
|
+
value="pending"
|
|
120
|
+
/>
|
|
121
|
+
<label>
|
|
122
|
+
conceptRelations.approvals.status.pending
|
|
123
|
+
</label>
|
|
124
|
+
</div>
|
|
125
|
+
<div
|
|
126
|
+
class="ui checkbox"
|
|
127
|
+
>
|
|
128
|
+
<input
|
|
129
|
+
class="hidden"
|
|
130
|
+
readonly=""
|
|
131
|
+
tabindex="0"
|
|
132
|
+
type="checkbox"
|
|
133
|
+
value="approved"
|
|
134
|
+
/>
|
|
135
|
+
<label>
|
|
136
|
+
conceptRelations.approvals.status.approved
|
|
137
|
+
</label>
|
|
138
|
+
</div>
|
|
139
|
+
<div
|
|
140
|
+
class="ui checkbox"
|
|
141
|
+
>
|
|
142
|
+
<input
|
|
143
|
+
class="hidden"
|
|
144
|
+
readonly=""
|
|
145
|
+
tabindex="0"
|
|
146
|
+
type="checkbox"
|
|
147
|
+
value="rejected"
|
|
148
|
+
/>
|
|
149
|
+
<label>
|
|
150
|
+
conceptRelations.approvals.status.rejected
|
|
151
|
+
</label>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
<div
|
|
155
|
+
class="right aligned eight wide column"
|
|
156
|
+
>
|
|
157
|
+
<div
|
|
158
|
+
class="concepts-links-bulk-label-results"
|
|
159
|
+
>
|
|
160
|
+
<div
|
|
161
|
+
class="ui label"
|
|
162
|
+
>
|
|
163
|
+
conceptRelations.retrieved.results
|
|
164
|
+
</div>
|
|
165
|
+
<div
|
|
166
|
+
class="ui label"
|
|
167
|
+
>
|
|
168
|
+
conceptRelations.bulk.selected
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
<div
|
|
175
|
+
class="ui bottom attached segment"
|
|
176
|
+
>
|
|
177
|
+
<div
|
|
178
|
+
class="dimmable"
|
|
179
|
+
>
|
|
180
|
+
<table
|
|
181
|
+
class="ui selectable sortable table"
|
|
182
|
+
>
|
|
183
|
+
<thead
|
|
184
|
+
class=""
|
|
185
|
+
>
|
|
186
|
+
<tr
|
|
187
|
+
class=""
|
|
188
|
+
>
|
|
189
|
+
<th
|
|
190
|
+
class="center aligned"
|
|
191
|
+
>
|
|
192
|
+
<div
|
|
193
|
+
class="ui fitted checkbox"
|
|
194
|
+
>
|
|
195
|
+
<input
|
|
196
|
+
class="hidden"
|
|
197
|
+
id="selectLink"
|
|
198
|
+
readonly=""
|
|
199
|
+
tabindex="0"
|
|
200
|
+
type="checkbox"
|
|
201
|
+
/>
|
|
202
|
+
<label
|
|
203
|
+
for="selectLink"
|
|
204
|
+
/>
|
|
205
|
+
</div>
|
|
206
|
+
</th>
|
|
207
|
+
<th
|
|
208
|
+
class=""
|
|
209
|
+
>
|
|
210
|
+
source_name
|
|
211
|
+
</th>
|
|
212
|
+
<th
|
|
213
|
+
class=""
|
|
214
|
+
>
|
|
215
|
+
tag_type
|
|
216
|
+
</th>
|
|
217
|
+
<th
|
|
218
|
+
class=""
|
|
219
|
+
>
|
|
220
|
+
target_name
|
|
221
|
+
</th>
|
|
222
|
+
<th
|
|
223
|
+
class="two wide"
|
|
224
|
+
>
|
|
225
|
+
status
|
|
226
|
+
</th>
|
|
227
|
+
<th
|
|
228
|
+
class="two wide"
|
|
229
|
+
>
|
|
230
|
+
updated_at
|
|
231
|
+
</th>
|
|
232
|
+
</tr>
|
|
233
|
+
</thead>
|
|
234
|
+
<tbody
|
|
235
|
+
class=""
|
|
236
|
+
>
|
|
237
|
+
<tr
|
|
238
|
+
class=""
|
|
239
|
+
>
|
|
240
|
+
<td
|
|
241
|
+
class="collapsing center aligned one wide"
|
|
242
|
+
>
|
|
243
|
+
<div
|
|
244
|
+
class="ui fitted checkbox"
|
|
245
|
+
>
|
|
246
|
+
<input
|
|
247
|
+
class="hidden"
|
|
248
|
+
id="1"
|
|
249
|
+
readonly=""
|
|
250
|
+
tabindex="0"
|
|
251
|
+
type="checkbox"
|
|
252
|
+
/>
|
|
253
|
+
<label
|
|
254
|
+
for="1"
|
|
255
|
+
/>
|
|
256
|
+
</div>
|
|
257
|
+
</td>
|
|
258
|
+
<td
|
|
259
|
+
class=""
|
|
260
|
+
>
|
|
261
|
+
<a
|
|
262
|
+
data-discover="true"
|
|
263
|
+
href="/concepts/11/versions/current"
|
|
264
|
+
>
|
|
265
|
+
Busines 11
|
|
266
|
+
</a>
|
|
267
|
+
</td>
|
|
268
|
+
<td
|
|
269
|
+
class=""
|
|
270
|
+
/>
|
|
271
|
+
<td
|
|
272
|
+
class=""
|
|
273
|
+
>
|
|
274
|
+
<a
|
|
275
|
+
data-discover="true"
|
|
276
|
+
href="/structures/21"
|
|
277
|
+
>
|
|
278
|
+
Structure 21
|
|
279
|
+
</a>
|
|
280
|
+
</td>
|
|
281
|
+
<td
|
|
282
|
+
class=""
|
|
283
|
+
>
|
|
284
|
+
conceptRelations.approvals.status.pending
|
|
285
|
+
</td>
|
|
286
|
+
<td
|
|
287
|
+
class="center aligned"
|
|
288
|
+
>
|
|
289
|
+
<time
|
|
290
|
+
datetime="1754896033336"
|
|
291
|
+
>
|
|
292
|
+
2025-08-11 07:07
|
|
293
|
+
</time>
|
|
294
|
+
</td>
|
|
295
|
+
</tr>
|
|
296
|
+
<tr
|
|
297
|
+
class=""
|
|
298
|
+
>
|
|
299
|
+
<td
|
|
300
|
+
class="collapsing center aligned one wide"
|
|
301
|
+
>
|
|
302
|
+
<div
|
|
303
|
+
class="ui fitted checkbox"
|
|
304
|
+
>
|
|
305
|
+
<input
|
|
306
|
+
class="hidden"
|
|
307
|
+
id="2"
|
|
308
|
+
readonly=""
|
|
309
|
+
tabindex="0"
|
|
310
|
+
type="checkbox"
|
|
311
|
+
/>
|
|
312
|
+
<label
|
|
313
|
+
for="2"
|
|
314
|
+
/>
|
|
315
|
+
</div>
|
|
316
|
+
</td>
|
|
317
|
+
<td
|
|
318
|
+
class=""
|
|
319
|
+
>
|
|
320
|
+
<a
|
|
321
|
+
data-discover="true"
|
|
322
|
+
href="/concepts/21/versions/current"
|
|
323
|
+
>
|
|
324
|
+
Busines 21
|
|
325
|
+
</a>
|
|
326
|
+
</td>
|
|
327
|
+
<td
|
|
328
|
+
class=""
|
|
329
|
+
/>
|
|
330
|
+
<td
|
|
331
|
+
class=""
|
|
332
|
+
>
|
|
333
|
+
<a
|
|
334
|
+
data-discover="true"
|
|
335
|
+
href="/structures/22"
|
|
336
|
+
>
|
|
337
|
+
Structure 22
|
|
338
|
+
</a>
|
|
339
|
+
</td>
|
|
340
|
+
<td
|
|
341
|
+
class=""
|
|
342
|
+
>
|
|
343
|
+
conceptRelations.approvals.status.pending
|
|
344
|
+
</td>
|
|
345
|
+
<td
|
|
346
|
+
class="center aligned"
|
|
347
|
+
>
|
|
348
|
+
<time
|
|
349
|
+
datetime="1754896033336"
|
|
350
|
+
>
|
|
351
|
+
2025-08-11 07:07
|
|
352
|
+
</time>
|
|
353
|
+
</td>
|
|
354
|
+
</tr>
|
|
355
|
+
</tbody>
|
|
356
|
+
</table>
|
|
357
|
+
</div>
|
|
358
|
+
</div>
|
|
359
|
+
</div>
|
|
360
|
+
</div>
|
|
361
|
+
</div>
|
|
362
|
+
`;
|
|
363
|
+
|
|
364
|
+
exports[`<ConceptLinksApprovals /> matches the latest snapshot for empty results 1`] = `
|
|
365
|
+
<div>
|
|
366
|
+
<div
|
|
367
|
+
class="ui segment"
|
|
368
|
+
>
|
|
369
|
+
<h2
|
|
370
|
+
class="ui header"
|
|
371
|
+
>
|
|
372
|
+
<i
|
|
373
|
+
aria-hidden="true"
|
|
374
|
+
class="linkify circular icon"
|
|
375
|
+
/>
|
|
376
|
+
<div
|
|
377
|
+
class="content"
|
|
378
|
+
>
|
|
379
|
+
conceptRelations.approvals.header
|
|
380
|
+
<div
|
|
381
|
+
class="sub header"
|
|
382
|
+
>
|
|
383
|
+
conceptRelations.approvals.subheader
|
|
384
|
+
</div>
|
|
385
|
+
</div>
|
|
386
|
+
</h2>
|
|
387
|
+
<div
|
|
388
|
+
class="ui bottom attached segment"
|
|
389
|
+
>
|
|
390
|
+
<div
|
|
391
|
+
class="ui grid grant-requests-bulk-actions"
|
|
392
|
+
>
|
|
393
|
+
<div
|
|
394
|
+
class="row"
|
|
395
|
+
>
|
|
396
|
+
<div
|
|
397
|
+
class="eight wide column"
|
|
398
|
+
>
|
|
399
|
+
<div
|
|
400
|
+
class="ui action left icon input"
|
|
401
|
+
>
|
|
402
|
+
<i
|
|
403
|
+
aria-hidden="true"
|
|
404
|
+
class="search link icon"
|
|
405
|
+
/>
|
|
406
|
+
<input
|
|
407
|
+
placeholder="search.placeholder"
|
|
408
|
+
type="text"
|
|
409
|
+
/>
|
|
410
|
+
<div
|
|
411
|
+
aria-expanded="false"
|
|
412
|
+
class="ui button floating labeled scrolling dropdown icon"
|
|
413
|
+
role="listbox"
|
|
414
|
+
tabindex="0"
|
|
415
|
+
>
|
|
416
|
+
<div
|
|
417
|
+
aria-atomic="true"
|
|
418
|
+
aria-live="polite"
|
|
419
|
+
class="divider text"
|
|
420
|
+
role="alert"
|
|
421
|
+
>
|
|
422
|
+
Filters
|
|
423
|
+
</div>
|
|
424
|
+
<i
|
|
425
|
+
aria-hidden="true"
|
|
426
|
+
class="filter icon"
|
|
427
|
+
/>
|
|
428
|
+
<div
|
|
429
|
+
class="menu transition"
|
|
430
|
+
>
|
|
431
|
+
<div
|
|
432
|
+
class="item"
|
|
433
|
+
role="option"
|
|
434
|
+
>
|
|
435
|
+
<em>
|
|
436
|
+
(reset filters)
|
|
437
|
+
</em>
|
|
438
|
+
</div>
|
|
439
|
+
</div>
|
|
440
|
+
</div>
|
|
441
|
+
</div>
|
|
442
|
+
<div
|
|
443
|
+
class="selectedFilters"
|
|
444
|
+
/>
|
|
445
|
+
</div>
|
|
446
|
+
<div
|
|
447
|
+
class="right aligned eight wide column"
|
|
448
|
+
>
|
|
449
|
+
<button
|
|
450
|
+
class="ui primary disabled button"
|
|
451
|
+
disabled=""
|
|
452
|
+
tabindex="-1"
|
|
453
|
+
>
|
|
454
|
+
conceptRelations.approvals.actions.approve
|
|
455
|
+
</button>
|
|
456
|
+
<button
|
|
457
|
+
class="ui secondary disabled button"
|
|
458
|
+
disabled=""
|
|
459
|
+
tabindex="-1"
|
|
460
|
+
>
|
|
461
|
+
conceptRelations.approvals.actions.reject
|
|
462
|
+
</button>
|
|
463
|
+
</div>
|
|
464
|
+
</div>
|
|
465
|
+
<div
|
|
466
|
+
class="row"
|
|
467
|
+
>
|
|
468
|
+
<div
|
|
469
|
+
class="eight wide column concepts-links-approvals-status-selector"
|
|
470
|
+
>
|
|
471
|
+
<div
|
|
472
|
+
class="ui checked checkbox"
|
|
473
|
+
>
|
|
474
|
+
<input
|
|
475
|
+
checked=""
|
|
476
|
+
class="hidden"
|
|
477
|
+
readonly=""
|
|
478
|
+
tabindex="0"
|
|
479
|
+
type="checkbox"
|
|
480
|
+
value="pending"
|
|
481
|
+
/>
|
|
482
|
+
<label>
|
|
483
|
+
conceptRelations.approvals.status.pending
|
|
484
|
+
</label>
|
|
485
|
+
</div>
|
|
486
|
+
<div
|
|
487
|
+
class="ui checkbox"
|
|
488
|
+
>
|
|
489
|
+
<input
|
|
490
|
+
class="hidden"
|
|
491
|
+
readonly=""
|
|
492
|
+
tabindex="0"
|
|
493
|
+
type="checkbox"
|
|
494
|
+
value="approved"
|
|
495
|
+
/>
|
|
496
|
+
<label>
|
|
497
|
+
conceptRelations.approvals.status.approved
|
|
498
|
+
</label>
|
|
499
|
+
</div>
|
|
500
|
+
<div
|
|
501
|
+
class="ui checkbox"
|
|
502
|
+
>
|
|
503
|
+
<input
|
|
504
|
+
class="hidden"
|
|
505
|
+
readonly=""
|
|
506
|
+
tabindex="0"
|
|
507
|
+
type="checkbox"
|
|
508
|
+
value="rejected"
|
|
509
|
+
/>
|
|
510
|
+
<label>
|
|
511
|
+
conceptRelations.approvals.status.rejected
|
|
512
|
+
</label>
|
|
513
|
+
</div>
|
|
514
|
+
</div>
|
|
515
|
+
<div
|
|
516
|
+
class="right aligned eight wide column"
|
|
517
|
+
>
|
|
518
|
+
<div
|
|
519
|
+
class="concepts-links-bulk-label-results"
|
|
520
|
+
>
|
|
521
|
+
<div
|
|
522
|
+
class="ui label"
|
|
523
|
+
>
|
|
524
|
+
conceptRelations.retrieved.results
|
|
525
|
+
</div>
|
|
526
|
+
<div
|
|
527
|
+
class="ui label"
|
|
528
|
+
>
|
|
529
|
+
conceptRelations.bulk.selected
|
|
530
|
+
</div>
|
|
531
|
+
</div>
|
|
532
|
+
</div>
|
|
533
|
+
</div>
|
|
534
|
+
</div>
|
|
535
|
+
<div
|
|
536
|
+
class="ui bottom attached segment"
|
|
537
|
+
>
|
|
538
|
+
<div
|
|
539
|
+
class="dimmable"
|
|
540
|
+
>
|
|
541
|
+
<h4
|
|
542
|
+
class="ui header"
|
|
543
|
+
>
|
|
544
|
+
<i
|
|
545
|
+
aria-hidden="true"
|
|
546
|
+
class="search icon"
|
|
547
|
+
/>
|
|
548
|
+
<div
|
|
549
|
+
class="content"
|
|
550
|
+
>
|
|
551
|
+
conceptRelations.approvals.links.empty
|
|
552
|
+
</div>
|
|
553
|
+
</h4>
|
|
554
|
+
</div>
|
|
555
|
+
</div>
|
|
556
|
+
</div>
|
|
557
|
+
</div>
|
|
558
|
+
</div>
|
|
559
|
+
`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`ConceptLinksApprovalsLabelResults matches the latest snapshot 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="concepts-links-bulk-label-results"
|
|
7
|
+
>
|
|
8
|
+
<div
|
|
9
|
+
class="ui label"
|
|
10
|
+
>
|
|
11
|
+
conceptRelations.retrieved.results
|
|
12
|
+
</div>
|
|
13
|
+
<div
|
|
14
|
+
class="ui label"
|
|
15
|
+
>
|
|
16
|
+
conceptRelations.bulk.selected
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
exports[`ConceptLinksApprovalsLabelResults should not render results count when is loading 1`] = `
|
|
23
|
+
<div>
|
|
24
|
+
<div
|
|
25
|
+
class="concepts-links-bulk-label-results"
|
|
26
|
+
>
|
|
27
|
+
<div
|
|
28
|
+
class="ui label"
|
|
29
|
+
>
|
|
30
|
+
conceptRelations.searching
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
`;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`ConceptLinksApprovalsRow renders null when columns are empty 1`] = `<div />`;
|
|
4
|
+
|
|
5
|
+
exports[`ConceptLinksApprovalsRow renders null when link is empty 1`] = `<div />`;
|
|
6
|
+
|
|
7
|
+
exports[`ConceptLinksApprovalsRow renders row with checkbox when approveView is true 1`] = `
|
|
8
|
+
<div>
|
|
9
|
+
<tr
|
|
10
|
+
class=""
|
|
11
|
+
>
|
|
12
|
+
<td
|
|
13
|
+
class="collapsing center aligned one wide"
|
|
14
|
+
>
|
|
15
|
+
<div
|
|
16
|
+
class="ui fitted checkbox"
|
|
17
|
+
>
|
|
18
|
+
<input
|
|
19
|
+
class="hidden"
|
|
20
|
+
id="123"
|
|
21
|
+
readonly=""
|
|
22
|
+
tabindex="0"
|
|
23
|
+
type="checkbox"
|
|
24
|
+
/>
|
|
25
|
+
<label
|
|
26
|
+
for="123"
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
</td>
|
|
30
|
+
<td
|
|
31
|
+
class="left aligned"
|
|
32
|
+
/>
|
|
33
|
+
</tr>
|
|
34
|
+
</div>
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
exports[`ConceptLinksApprovalsRow renders row without checkbox when approveView is false 1`] = `
|
|
38
|
+
<div>
|
|
39
|
+
<tr
|
|
40
|
+
class=""
|
|
41
|
+
>
|
|
42
|
+
<td
|
|
43
|
+
class="left aligned"
|
|
44
|
+
/>
|
|
45
|
+
</tr>
|
|
46
|
+
</div>
|
|
47
|
+
`;
|