@truedat/dd 8.4.4 → 8.4.5
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/components/StructureGrantCartCheckout.js +227 -73
- package/src/components/StructureGrantCartInformation.js +11 -0
- package/src/components/StructureGrantCartUserSelector.js +25 -10
- package/src/components/__tests__/StructureGrantCartCheckout.spec.js +213 -12
- package/src/components/__tests__/__snapshots__/StructureGrantCartCheckout.spec.js.snap +807 -81
- package/src/components/__tests__/__snapshots__/StructureGrantCartInformation.spec.js.snap +0 -31
- package/src/reducers/grantRequestsCart.js +13 -0
- package/src/routines.js +3 -0
|
@@ -62,38 +62,739 @@ exports[`StructureGrantCartCheckout matches snapshot when modification grant (si
|
|
|
62
62
|
>
|
|
63
63
|
structure.grant.cart.template
|
|
64
64
|
</div>
|
|
65
|
+
</form>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<div
|
|
69
|
+
class="eleven wide column"
|
|
70
|
+
/>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
`;
|
|
76
|
+
|
|
77
|
+
exports[`StructureGrantCartCheckout matches snapshot when multi-system (gr scope and multiple groups) 1`] = `
|
|
78
|
+
<div>
|
|
79
|
+
<div
|
|
80
|
+
class="ui segment structures"
|
|
81
|
+
>
|
|
82
|
+
<div
|
|
83
|
+
class="ui grid"
|
|
84
|
+
>
|
|
85
|
+
<div
|
|
86
|
+
class="row"
|
|
87
|
+
>
|
|
88
|
+
<div
|
|
89
|
+
class="eight wide column"
|
|
90
|
+
>
|
|
91
|
+
<h2
|
|
92
|
+
class="ui header"
|
|
93
|
+
>
|
|
94
|
+
<div
|
|
95
|
+
class="content"
|
|
96
|
+
>
|
|
97
|
+
grantRequest.header.update
|
|
98
|
+
</div>
|
|
99
|
+
</h2>
|
|
100
|
+
</div>
|
|
101
|
+
<div
|
|
102
|
+
class="right aligned eight wide column"
|
|
103
|
+
>
|
|
104
|
+
<a
|
|
105
|
+
class="ui secondary button"
|
|
106
|
+
data-discover="true"
|
|
107
|
+
href="/"
|
|
108
|
+
role="button"
|
|
109
|
+
>
|
|
110
|
+
actions.cancel
|
|
111
|
+
</a>
|
|
112
|
+
<button
|
|
113
|
+
class="ui primary disabled button"
|
|
114
|
+
disabled=""
|
|
115
|
+
tabindex="-1"
|
|
116
|
+
>
|
|
117
|
+
actions.save
|
|
118
|
+
</button>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
<div
|
|
122
|
+
class="row"
|
|
123
|
+
>
|
|
124
|
+
<div
|
|
125
|
+
class="five wide column"
|
|
126
|
+
>
|
|
127
|
+
<div
|
|
128
|
+
class="ui segment"
|
|
129
|
+
>
|
|
130
|
+
<form
|
|
131
|
+
class="ui form"
|
|
132
|
+
>
|
|
133
|
+
<div
|
|
134
|
+
class="ui header"
|
|
135
|
+
>
|
|
136
|
+
<div
|
|
137
|
+
class="content"
|
|
138
|
+
>
|
|
139
|
+
grants.props.user_name
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
<div
|
|
143
|
+
class="ui header"
|
|
144
|
+
title="grants.props.user_name"
|
|
145
|
+
/>
|
|
146
|
+
<div
|
|
147
|
+
class="field"
|
|
148
|
+
>
|
|
149
|
+
<div
|
|
150
|
+
class="ui checkbox"
|
|
151
|
+
>
|
|
152
|
+
<input
|
|
153
|
+
class="hidden"
|
|
154
|
+
readonly=""
|
|
155
|
+
tabindex="0"
|
|
156
|
+
type="checkbox"
|
|
157
|
+
/>
|
|
158
|
+
<label>
|
|
159
|
+
grantRequestCart.user.label
|
|
160
|
+
</label>
|
|
161
|
+
</div>
|
|
162
|
+
<div
|
|
163
|
+
aria-expanded="false"
|
|
164
|
+
class="ui search selection dropdown"
|
|
165
|
+
role="combobox"
|
|
166
|
+
>
|
|
167
|
+
<input
|
|
168
|
+
aria-autocomplete="list"
|
|
169
|
+
autocomplete="off"
|
|
170
|
+
class="search"
|
|
171
|
+
tabindex="0"
|
|
172
|
+
type="text"
|
|
173
|
+
value=""
|
|
174
|
+
/>
|
|
175
|
+
<div
|
|
176
|
+
aria-atomic="true"
|
|
177
|
+
aria-live="polite"
|
|
178
|
+
class="divider default text"
|
|
179
|
+
role="alert"
|
|
180
|
+
>
|
|
181
|
+
grantRequestCart.user.placeholder
|
|
182
|
+
</div>
|
|
183
|
+
<i
|
|
184
|
+
aria-hidden="true"
|
|
185
|
+
class="dropdown icon"
|
|
186
|
+
/>
|
|
187
|
+
<div
|
|
188
|
+
class="menu transition"
|
|
189
|
+
role="listbox"
|
|
190
|
+
>
|
|
191
|
+
<div
|
|
192
|
+
class="message"
|
|
193
|
+
>
|
|
194
|
+
No results found.
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
filters
|
|
200
|
+
:
|
|
201
|
+
<div
|
|
202
|
+
class="ui labels"
|
|
203
|
+
>
|
|
204
|
+
<a
|
|
205
|
+
class="ui label"
|
|
206
|
+
>
|
|
207
|
+
userDomainsFilter.placeholder
|
|
208
|
+
</a>
|
|
209
|
+
<a
|
|
210
|
+
class="ui label"
|
|
211
|
+
>
|
|
212
|
+
roles.header
|
|
213
|
+
</a>
|
|
214
|
+
</div>
|
|
215
|
+
<div
|
|
216
|
+
class="ui divider"
|
|
217
|
+
/>
|
|
218
|
+
<div
|
|
219
|
+
class="ui header"
|
|
220
|
+
title="structure.grant.cart.template"
|
|
221
|
+
>
|
|
222
|
+
structure.grant.cart.template
|
|
223
|
+
</div>
|
|
224
|
+
</form>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div
|
|
228
|
+
class="eleven wide column"
|
|
229
|
+
/>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
`;
|
|
235
|
+
|
|
236
|
+
exports[`StructureGrantCartCheckout matches snapshot when single flow without modification and empty cart 1`] = `
|
|
237
|
+
<div>
|
|
238
|
+
<div
|
|
239
|
+
class="ui segment structures"
|
|
240
|
+
>
|
|
241
|
+
<div
|
|
242
|
+
class="ui grid"
|
|
243
|
+
>
|
|
244
|
+
<div
|
|
245
|
+
class="row"
|
|
246
|
+
>
|
|
247
|
+
<div
|
|
248
|
+
class="eight wide column"
|
|
249
|
+
>
|
|
250
|
+
<h2
|
|
251
|
+
class="ui header"
|
|
252
|
+
>
|
|
253
|
+
<div
|
|
254
|
+
class="content"
|
|
255
|
+
>
|
|
256
|
+
grantRequest.header.create
|
|
257
|
+
</div>
|
|
258
|
+
</h2>
|
|
259
|
+
</div>
|
|
260
|
+
<div
|
|
261
|
+
class="right aligned eight wide column"
|
|
262
|
+
>
|
|
263
|
+
<a
|
|
264
|
+
class="ui secondary button"
|
|
265
|
+
data-discover="true"
|
|
266
|
+
href="/"
|
|
267
|
+
role="button"
|
|
268
|
+
>
|
|
269
|
+
actions.cancel
|
|
270
|
+
</a>
|
|
271
|
+
<button
|
|
272
|
+
class="ui primary button"
|
|
273
|
+
>
|
|
274
|
+
actions.save
|
|
275
|
+
</button>
|
|
276
|
+
</div>
|
|
277
|
+
</div>
|
|
278
|
+
<div
|
|
279
|
+
class="row"
|
|
280
|
+
>
|
|
281
|
+
<div
|
|
282
|
+
class="five wide column"
|
|
283
|
+
>
|
|
284
|
+
<div
|
|
285
|
+
class="ui segment"
|
|
286
|
+
>
|
|
287
|
+
<form
|
|
288
|
+
class="ui form"
|
|
289
|
+
>
|
|
290
|
+
<div
|
|
291
|
+
class="ui header"
|
|
292
|
+
title="structure.grant.cart.template"
|
|
293
|
+
>
|
|
294
|
+
structure.grant.cart.template
|
|
295
|
+
</div>
|
|
296
|
+
</form>
|
|
297
|
+
</div>
|
|
298
|
+
</div>
|
|
299
|
+
<div
|
|
300
|
+
class="eleven wide column"
|
|
301
|
+
/>
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
`;
|
|
307
|
+
|
|
308
|
+
exports[`StructureGrantCartCheckout matches snapshot with gr scope - shows system titles 1`] = `
|
|
309
|
+
<div>
|
|
310
|
+
<div
|
|
311
|
+
class="ui segment structures"
|
|
312
|
+
>
|
|
313
|
+
<div
|
|
314
|
+
class="ui grid"
|
|
315
|
+
>
|
|
316
|
+
<div
|
|
317
|
+
class="row"
|
|
318
|
+
>
|
|
319
|
+
<div
|
|
320
|
+
class="eight wide column"
|
|
321
|
+
>
|
|
322
|
+
<h2
|
|
323
|
+
class="ui header"
|
|
324
|
+
>
|
|
325
|
+
<div
|
|
326
|
+
class="content"
|
|
327
|
+
>
|
|
328
|
+
grantRequest.header.create
|
|
329
|
+
</div>
|
|
330
|
+
</h2>
|
|
331
|
+
</div>
|
|
332
|
+
<div
|
|
333
|
+
class="right aligned eight wide column"
|
|
334
|
+
>
|
|
335
|
+
<a
|
|
336
|
+
class="ui secondary button"
|
|
337
|
+
data-discover="true"
|
|
338
|
+
href="/"
|
|
339
|
+
role="button"
|
|
340
|
+
>
|
|
341
|
+
actions.cancel
|
|
342
|
+
</a>
|
|
343
|
+
<button
|
|
344
|
+
class="ui primary disabled button"
|
|
345
|
+
disabled=""
|
|
346
|
+
tabindex="-1"
|
|
347
|
+
>
|
|
348
|
+
actions.save
|
|
349
|
+
</button>
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
<div
|
|
353
|
+
class="row"
|
|
354
|
+
>
|
|
355
|
+
<div
|
|
356
|
+
class="sixteen wide column"
|
|
357
|
+
>
|
|
358
|
+
<h4
|
|
359
|
+
class="ui header"
|
|
360
|
+
>
|
|
361
|
+
grants.props.user_name
|
|
362
|
+
</h4>
|
|
363
|
+
<div
|
|
364
|
+
class="field"
|
|
365
|
+
>
|
|
366
|
+
<span
|
|
367
|
+
class="grant-cart-user-selector-label-spaced"
|
|
368
|
+
>
|
|
369
|
+
<div
|
|
370
|
+
class="ui checkbox"
|
|
371
|
+
>
|
|
372
|
+
<input
|
|
373
|
+
class="hidden"
|
|
374
|
+
readonly=""
|
|
375
|
+
tabindex="0"
|
|
376
|
+
type="checkbox"
|
|
377
|
+
/>
|
|
378
|
+
<label>
|
|
379
|
+
grantRequestCart.user.label
|
|
380
|
+
</label>
|
|
381
|
+
</div>
|
|
382
|
+
</span>
|
|
383
|
+
<div
|
|
384
|
+
aria-expanded="false"
|
|
385
|
+
class="ui search selection dropdown"
|
|
386
|
+
role="combobox"
|
|
387
|
+
>
|
|
388
|
+
<input
|
|
389
|
+
aria-autocomplete="list"
|
|
390
|
+
autocomplete="off"
|
|
391
|
+
class="search"
|
|
392
|
+
tabindex="0"
|
|
393
|
+
type="text"
|
|
394
|
+
value=""
|
|
395
|
+
/>
|
|
396
|
+
<div
|
|
397
|
+
aria-atomic="true"
|
|
398
|
+
aria-live="polite"
|
|
399
|
+
class="divider default text"
|
|
400
|
+
role="alert"
|
|
401
|
+
>
|
|
402
|
+
grantRequestCart.user.placeholder
|
|
403
|
+
</div>
|
|
404
|
+
<i
|
|
405
|
+
aria-hidden="true"
|
|
406
|
+
class="dropdown icon"
|
|
407
|
+
/>
|
|
408
|
+
<div
|
|
409
|
+
class="menu transition"
|
|
410
|
+
role="listbox"
|
|
411
|
+
>
|
|
412
|
+
<div
|
|
413
|
+
class="message"
|
|
414
|
+
>
|
|
415
|
+
No results found.
|
|
416
|
+
</div>
|
|
417
|
+
</div>
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
filters
|
|
421
|
+
:
|
|
422
|
+
<div
|
|
423
|
+
class="ui labels"
|
|
424
|
+
>
|
|
425
|
+
<a
|
|
426
|
+
class="ui label"
|
|
427
|
+
>
|
|
428
|
+
userDomainsFilter.placeholder
|
|
429
|
+
</a>
|
|
430
|
+
<a
|
|
431
|
+
class="ui label"
|
|
432
|
+
>
|
|
433
|
+
roles.header
|
|
434
|
+
</a>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
<div
|
|
439
|
+
class="row"
|
|
440
|
+
>
|
|
441
|
+
<div
|
|
442
|
+
class="five wide column"
|
|
443
|
+
>
|
|
444
|
+
<div
|
|
445
|
+
class="ui segment grant-cart-group-form"
|
|
446
|
+
>
|
|
447
|
+
<h5
|
|
448
|
+
class="ui header"
|
|
449
|
+
>
|
|
450
|
+
<div
|
|
451
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
452
|
+
>
|
|
453
|
+
grants.props.system_name
|
|
454
|
+
:
|
|
455
|
+
|
|
456
|
+
<span
|
|
457
|
+
style="font-weight: normal;"
|
|
458
|
+
>
|
|
459
|
+
System A
|
|
460
|
+
</span>
|
|
461
|
+
</div>
|
|
462
|
+
<div
|
|
463
|
+
class="sub header"
|
|
464
|
+
>
|
|
465
|
+
grants.props.structures
|
|
466
|
+
:
|
|
467
|
+
|
|
468
|
+
2
|
|
469
|
+
</div>
|
|
470
|
+
</h5>
|
|
471
|
+
</div>
|
|
472
|
+
</div>
|
|
473
|
+
<div
|
|
474
|
+
class="eleven wide column"
|
|
475
|
+
/>
|
|
476
|
+
</div>
|
|
477
|
+
<div
|
|
478
|
+
class="row"
|
|
479
|
+
>
|
|
480
|
+
<div
|
|
481
|
+
class="five wide column"
|
|
482
|
+
>
|
|
483
|
+
<div
|
|
484
|
+
class="ui segment grant-cart-group-form"
|
|
485
|
+
>
|
|
486
|
+
<h5
|
|
487
|
+
class="ui header"
|
|
488
|
+
>
|
|
489
|
+
<div
|
|
490
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
491
|
+
>
|
|
492
|
+
grants.props.system_name
|
|
493
|
+
:
|
|
494
|
+
|
|
495
|
+
<span
|
|
496
|
+
style="font-weight: normal;"
|
|
497
|
+
>
|
|
498
|
+
System B
|
|
499
|
+
</span>
|
|
500
|
+
</div>
|
|
501
|
+
<div
|
|
502
|
+
class="sub header"
|
|
503
|
+
>
|
|
504
|
+
grants.props.structures
|
|
505
|
+
:
|
|
506
|
+
|
|
507
|
+
1
|
|
508
|
+
</div>
|
|
509
|
+
</h5>
|
|
510
|
+
</div>
|
|
511
|
+
</div>
|
|
512
|
+
<div
|
|
513
|
+
class="eleven wide column"
|
|
514
|
+
/>
|
|
515
|
+
</div>
|
|
516
|
+
</div>
|
|
517
|
+
</div>
|
|
518
|
+
</div>
|
|
519
|
+
`;
|
|
520
|
+
|
|
521
|
+
exports[`StructureGrantCartCheckout matches snapshot with group_by_domain enabled for system - shows domain titles 1`] = `
|
|
522
|
+
<div>
|
|
523
|
+
<div
|
|
524
|
+
class="ui segment structures"
|
|
525
|
+
>
|
|
526
|
+
<div
|
|
527
|
+
class="ui grid"
|
|
528
|
+
>
|
|
529
|
+
<div
|
|
530
|
+
class="row"
|
|
531
|
+
>
|
|
532
|
+
<div
|
|
533
|
+
class="eight wide column"
|
|
534
|
+
>
|
|
535
|
+
<h2
|
|
536
|
+
class="ui header"
|
|
537
|
+
>
|
|
538
|
+
<div
|
|
539
|
+
class="content"
|
|
540
|
+
>
|
|
541
|
+
grantRequest.header.create
|
|
542
|
+
</div>
|
|
543
|
+
</h2>
|
|
544
|
+
</div>
|
|
545
|
+
<div
|
|
546
|
+
class="right aligned eight wide column"
|
|
547
|
+
>
|
|
548
|
+
<a
|
|
549
|
+
class="ui secondary button"
|
|
550
|
+
data-discover="true"
|
|
551
|
+
href="/"
|
|
552
|
+
role="button"
|
|
553
|
+
>
|
|
554
|
+
actions.cancel
|
|
555
|
+
</a>
|
|
556
|
+
<button
|
|
557
|
+
class="ui primary disabled button"
|
|
558
|
+
disabled=""
|
|
559
|
+
tabindex="-1"
|
|
560
|
+
>
|
|
561
|
+
actions.save
|
|
562
|
+
</button>
|
|
563
|
+
</div>
|
|
564
|
+
</div>
|
|
565
|
+
<div
|
|
566
|
+
class="row"
|
|
567
|
+
>
|
|
568
|
+
<div
|
|
569
|
+
class="sixteen wide column"
|
|
570
|
+
>
|
|
571
|
+
<h4
|
|
572
|
+
class="ui header"
|
|
573
|
+
>
|
|
574
|
+
grants.props.user_name
|
|
575
|
+
</h4>
|
|
576
|
+
<div
|
|
577
|
+
class="field"
|
|
578
|
+
>
|
|
579
|
+
<span
|
|
580
|
+
class="grant-cart-user-selector-label-spaced"
|
|
581
|
+
>
|
|
65
582
|
<div
|
|
66
|
-
class="ui
|
|
583
|
+
class="ui checkbox"
|
|
584
|
+
>
|
|
585
|
+
<input
|
|
586
|
+
class="hidden"
|
|
587
|
+
readonly=""
|
|
588
|
+
tabindex="0"
|
|
589
|
+
type="checkbox"
|
|
590
|
+
/>
|
|
591
|
+
<label>
|
|
592
|
+
grantRequestCart.user.label
|
|
593
|
+
</label>
|
|
594
|
+
</div>
|
|
595
|
+
</span>
|
|
596
|
+
<div
|
|
597
|
+
aria-expanded="false"
|
|
598
|
+
class="ui search selection dropdown"
|
|
599
|
+
role="combobox"
|
|
600
|
+
>
|
|
601
|
+
<input
|
|
602
|
+
aria-autocomplete="list"
|
|
603
|
+
autocomplete="off"
|
|
604
|
+
class="search"
|
|
605
|
+
tabindex="0"
|
|
606
|
+
type="text"
|
|
607
|
+
value=""
|
|
608
|
+
/>
|
|
609
|
+
<div
|
|
610
|
+
aria-atomic="true"
|
|
611
|
+
aria-live="polite"
|
|
612
|
+
class="divider default text"
|
|
613
|
+
role="alert"
|
|
614
|
+
>
|
|
615
|
+
grantRequestCart.user.placeholder
|
|
616
|
+
</div>
|
|
617
|
+
<i
|
|
618
|
+
aria-hidden="true"
|
|
619
|
+
class="dropdown icon"
|
|
620
|
+
/>
|
|
621
|
+
<div
|
|
622
|
+
class="menu transition"
|
|
623
|
+
role="listbox"
|
|
67
624
|
>
|
|
68
|
-
<h4
|
|
69
|
-
class="ui header"
|
|
70
|
-
>
|
|
71
|
-
g1
|
|
72
|
-
</h4>
|
|
73
625
|
<div
|
|
74
|
-
class="
|
|
75
|
-
data-testid="form-field"
|
|
626
|
+
class="message"
|
|
76
627
|
>
|
|
77
|
-
|
|
78
|
-
field1
|
|
79
|
-
</label>
|
|
80
|
-
<div
|
|
81
|
-
class="field"
|
|
82
|
-
>
|
|
83
|
-
<div
|
|
84
|
-
class="ui input"
|
|
85
|
-
>
|
|
86
|
-
<input
|
|
87
|
-
name="field1"
|
|
88
|
-
placeholder="field1"
|
|
89
|
-
type="text"
|
|
90
|
-
value=""
|
|
91
|
-
/>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
628
|
+
No results found.
|
|
94
629
|
</div>
|
|
95
630
|
</div>
|
|
96
|
-
</
|
|
631
|
+
</div>
|
|
632
|
+
</div>
|
|
633
|
+
filters
|
|
634
|
+
:
|
|
635
|
+
<div
|
|
636
|
+
class="ui labels"
|
|
637
|
+
>
|
|
638
|
+
<a
|
|
639
|
+
class="ui label"
|
|
640
|
+
>
|
|
641
|
+
userDomainsFilter.placeholder
|
|
642
|
+
</a>
|
|
643
|
+
<a
|
|
644
|
+
class="ui label"
|
|
645
|
+
>
|
|
646
|
+
roles.header
|
|
647
|
+
</a>
|
|
648
|
+
</div>
|
|
649
|
+
</div>
|
|
650
|
+
</div>
|
|
651
|
+
<div
|
|
652
|
+
class="row"
|
|
653
|
+
>
|
|
654
|
+
<div
|
|
655
|
+
class="five wide column"
|
|
656
|
+
>
|
|
657
|
+
<div
|
|
658
|
+
class="ui segment grant-cart-group-form"
|
|
659
|
+
>
|
|
660
|
+
<h5
|
|
661
|
+
class="ui header"
|
|
662
|
+
>
|
|
663
|
+
<div
|
|
664
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
665
|
+
>
|
|
666
|
+
grants.props.system_name
|
|
667
|
+
:
|
|
668
|
+
|
|
669
|
+
<span
|
|
670
|
+
style="font-weight: normal;"
|
|
671
|
+
>
|
|
672
|
+
System A
|
|
673
|
+
</span>
|
|
674
|
+
</div>
|
|
675
|
+
<div
|
|
676
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
677
|
+
>
|
|
678
|
+
grants.props.domain_name
|
|
679
|
+
:
|
|
680
|
+
|
|
681
|
+
<span
|
|
682
|
+
style="font-weight: normal;"
|
|
683
|
+
>
|
|
684
|
+
Domain 1
|
|
685
|
+
</span>
|
|
686
|
+
</div>
|
|
687
|
+
<div
|
|
688
|
+
class="sub header"
|
|
689
|
+
>
|
|
690
|
+
grants.props.structures
|
|
691
|
+
:
|
|
692
|
+
|
|
693
|
+
1
|
|
694
|
+
</div>
|
|
695
|
+
</h5>
|
|
696
|
+
</div>
|
|
697
|
+
</div>
|
|
698
|
+
<div
|
|
699
|
+
class="eleven wide column"
|
|
700
|
+
/>
|
|
701
|
+
</div>
|
|
702
|
+
<div
|
|
703
|
+
class="row"
|
|
704
|
+
>
|
|
705
|
+
<div
|
|
706
|
+
class="five wide column"
|
|
707
|
+
>
|
|
708
|
+
<div
|
|
709
|
+
class="ui segment grant-cart-group-form"
|
|
710
|
+
>
|
|
711
|
+
<h5
|
|
712
|
+
class="ui header"
|
|
713
|
+
>
|
|
714
|
+
<div
|
|
715
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
716
|
+
>
|
|
717
|
+
grants.props.system_name
|
|
718
|
+
:
|
|
719
|
+
|
|
720
|
+
<span
|
|
721
|
+
style="font-weight: normal;"
|
|
722
|
+
>
|
|
723
|
+
System A
|
|
724
|
+
</span>
|
|
725
|
+
</div>
|
|
726
|
+
<div
|
|
727
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
728
|
+
>
|
|
729
|
+
grants.props.domain_name
|
|
730
|
+
:
|
|
731
|
+
|
|
732
|
+
<span
|
|
733
|
+
style="font-weight: normal;"
|
|
734
|
+
>
|
|
735
|
+
Domain 2
|
|
736
|
+
</span>
|
|
737
|
+
</div>
|
|
738
|
+
<div
|
|
739
|
+
class="sub header"
|
|
740
|
+
>
|
|
741
|
+
grants.props.structures
|
|
742
|
+
:
|
|
743
|
+
|
|
744
|
+
1
|
|
745
|
+
</div>
|
|
746
|
+
</h5>
|
|
747
|
+
</div>
|
|
748
|
+
</div>
|
|
749
|
+
<div
|
|
750
|
+
class="eleven wide column"
|
|
751
|
+
/>
|
|
752
|
+
</div>
|
|
753
|
+
<div
|
|
754
|
+
class="row"
|
|
755
|
+
>
|
|
756
|
+
<div
|
|
757
|
+
class="five wide column"
|
|
758
|
+
>
|
|
759
|
+
<div
|
|
760
|
+
class="ui segment grant-cart-group-form"
|
|
761
|
+
>
|
|
762
|
+
<h5
|
|
763
|
+
class="ui header"
|
|
764
|
+
>
|
|
765
|
+
<div
|
|
766
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
767
|
+
>
|
|
768
|
+
grants.props.system_name
|
|
769
|
+
:
|
|
770
|
+
|
|
771
|
+
<span
|
|
772
|
+
style="font-weight: normal;"
|
|
773
|
+
>
|
|
774
|
+
System A
|
|
775
|
+
</span>
|
|
776
|
+
</div>
|
|
777
|
+
<div
|
|
778
|
+
style="word-break: break-word; margin-bottom: 5px;"
|
|
779
|
+
>
|
|
780
|
+
grants.props.domain_names
|
|
781
|
+
:
|
|
782
|
+
|
|
783
|
+
<span
|
|
784
|
+
style="font-weight: normal;"
|
|
785
|
+
>
|
|
786
|
+
Domain 1, Domain 2
|
|
787
|
+
</span>
|
|
788
|
+
</div>
|
|
789
|
+
<div
|
|
790
|
+
class="sub header"
|
|
791
|
+
>
|
|
792
|
+
grants.props.structures
|
|
793
|
+
:
|
|
794
|
+
|
|
795
|
+
1
|
|
796
|
+
</div>
|
|
797
|
+
</h5>
|
|
97
798
|
</div>
|
|
98
799
|
</div>
|
|
99
800
|
<div
|
|
@@ -105,7 +806,7 @@ exports[`StructureGrantCartCheckout matches snapshot when modification grant (si
|
|
|
105
806
|
</div>
|
|
106
807
|
`;
|
|
107
808
|
|
|
108
|
-
exports[`StructureGrantCartCheckout matches snapshot
|
|
809
|
+
exports[`StructureGrantCartCheckout matches snapshot with single domain - shows singular domain message 1`] = `
|
|
109
810
|
<div>
|
|
110
811
|
<div
|
|
111
812
|
class="ui segment structures"
|
|
@@ -125,7 +826,7 @@ exports[`StructureGrantCartCheckout matches snapshot when multi-system (gr scope
|
|
|
125
826
|
<div
|
|
126
827
|
class="content"
|
|
127
828
|
>
|
|
128
|
-
grantRequest.header.
|
|
829
|
+
grantRequest.header.create
|
|
129
830
|
</div>
|
|
130
831
|
</h2>
|
|
131
832
|
</div>
|
|
@@ -252,37 +953,6 @@ exports[`StructureGrantCartCheckout matches snapshot when multi-system (gr scope
|
|
|
252
953
|
>
|
|
253
954
|
structure.grant.cart.template
|
|
254
955
|
</div>
|
|
255
|
-
<div
|
|
256
|
-
class="ui segment"
|
|
257
|
-
>
|
|
258
|
-
<h4
|
|
259
|
-
class="ui header"
|
|
260
|
-
>
|
|
261
|
-
g1
|
|
262
|
-
</h4>
|
|
263
|
-
<div
|
|
264
|
-
class="field"
|
|
265
|
-
data-testid="form-field"
|
|
266
|
-
>
|
|
267
|
-
<label>
|
|
268
|
-
field1
|
|
269
|
-
</label>
|
|
270
|
-
<div
|
|
271
|
-
class="field"
|
|
272
|
-
>
|
|
273
|
-
<div
|
|
274
|
-
class="ui input"
|
|
275
|
-
>
|
|
276
|
-
<input
|
|
277
|
-
name="field1"
|
|
278
|
-
placeholder="field1"
|
|
279
|
-
type="text"
|
|
280
|
-
value=""
|
|
281
|
-
/>
|
|
282
|
-
</div>
|
|
283
|
-
</div>
|
|
284
|
-
</div>
|
|
285
|
-
</div>
|
|
286
956
|
</form>
|
|
287
957
|
</div>
|
|
288
958
|
</div>
|
|
@@ -295,7 +965,7 @@ exports[`StructureGrantCartCheckout matches snapshot when multi-system (gr scope
|
|
|
295
965
|
</div>
|
|
296
966
|
`;
|
|
297
967
|
|
|
298
|
-
exports[`StructureGrantCartCheckout matches snapshot
|
|
968
|
+
exports[`StructureGrantCartCheckout matches snapshot without gr scope - does not show system or domain titles 1`] = `
|
|
299
969
|
<div>
|
|
300
970
|
<div
|
|
301
971
|
class="ui segment structures"
|
|
@@ -325,13 +995,15 @@ exports[`StructureGrantCartCheckout matches snapshot when single flow without mo
|
|
|
325
995
|
<a
|
|
326
996
|
class="ui secondary button"
|
|
327
997
|
data-discover="true"
|
|
328
|
-
href="/
|
|
998
|
+
href="/"
|
|
329
999
|
role="button"
|
|
330
1000
|
>
|
|
331
1001
|
actions.cancel
|
|
332
1002
|
</a>
|
|
333
1003
|
<button
|
|
334
|
-
class="ui primary button"
|
|
1004
|
+
class="ui primary disabled button"
|
|
1005
|
+
disabled=""
|
|
1006
|
+
tabindex="-1"
|
|
335
1007
|
>
|
|
336
1008
|
actions.save
|
|
337
1009
|
</button>
|
|
@@ -351,41 +1023,95 @@ exports[`StructureGrantCartCheckout matches snapshot when single flow without mo
|
|
|
351
1023
|
>
|
|
352
1024
|
<div
|
|
353
1025
|
class="ui header"
|
|
354
|
-
title="structure.grant.cart.template"
|
|
355
1026
|
>
|
|
356
|
-
|
|
1027
|
+
<div
|
|
1028
|
+
class="content"
|
|
1029
|
+
>
|
|
1030
|
+
grants.props.user_name
|
|
1031
|
+
</div>
|
|
357
1032
|
</div>
|
|
358
1033
|
<div
|
|
359
|
-
class="ui
|
|
1034
|
+
class="ui header"
|
|
1035
|
+
title="grants.props.user_name"
|
|
1036
|
+
/>
|
|
1037
|
+
<div
|
|
1038
|
+
class="field"
|
|
360
1039
|
>
|
|
361
|
-
<h4
|
|
362
|
-
class="ui header"
|
|
363
|
-
>
|
|
364
|
-
g1
|
|
365
|
-
</h4>
|
|
366
1040
|
<div
|
|
367
|
-
class="
|
|
368
|
-
data-testid="form-field"
|
|
1041
|
+
class="ui checkbox"
|
|
369
1042
|
>
|
|
1043
|
+
<input
|
|
1044
|
+
class="hidden"
|
|
1045
|
+
readonly=""
|
|
1046
|
+
tabindex="0"
|
|
1047
|
+
type="checkbox"
|
|
1048
|
+
/>
|
|
370
1049
|
<label>
|
|
371
|
-
|
|
1050
|
+
grantRequestCart.user.label
|
|
372
1051
|
</label>
|
|
1052
|
+
</div>
|
|
1053
|
+
<div
|
|
1054
|
+
aria-expanded="false"
|
|
1055
|
+
class="ui search selection dropdown"
|
|
1056
|
+
role="combobox"
|
|
1057
|
+
>
|
|
1058
|
+
<input
|
|
1059
|
+
aria-autocomplete="list"
|
|
1060
|
+
autocomplete="off"
|
|
1061
|
+
class="search"
|
|
1062
|
+
tabindex="0"
|
|
1063
|
+
type="text"
|
|
1064
|
+
value=""
|
|
1065
|
+
/>
|
|
1066
|
+
<div
|
|
1067
|
+
aria-atomic="true"
|
|
1068
|
+
aria-live="polite"
|
|
1069
|
+
class="divider default text"
|
|
1070
|
+
role="alert"
|
|
1071
|
+
>
|
|
1072
|
+
grantRequestCart.user.placeholder
|
|
1073
|
+
</div>
|
|
1074
|
+
<i
|
|
1075
|
+
aria-hidden="true"
|
|
1076
|
+
class="dropdown icon"
|
|
1077
|
+
/>
|
|
373
1078
|
<div
|
|
374
|
-
class="
|
|
1079
|
+
class="menu transition"
|
|
1080
|
+
role="listbox"
|
|
375
1081
|
>
|
|
376
1082
|
<div
|
|
377
|
-
class="
|
|
1083
|
+
class="message"
|
|
378
1084
|
>
|
|
379
|
-
|
|
380
|
-
name="field1"
|
|
381
|
-
placeholder="field1"
|
|
382
|
-
type="text"
|
|
383
|
-
value=""
|
|
384
|
-
/>
|
|
1085
|
+
No results found.
|
|
385
1086
|
</div>
|
|
386
1087
|
</div>
|
|
387
1088
|
</div>
|
|
388
1089
|
</div>
|
|
1090
|
+
filters
|
|
1091
|
+
:
|
|
1092
|
+
<div
|
|
1093
|
+
class="ui labels"
|
|
1094
|
+
>
|
|
1095
|
+
<a
|
|
1096
|
+
class="ui label"
|
|
1097
|
+
>
|
|
1098
|
+
userDomainsFilter.placeholder
|
|
1099
|
+
</a>
|
|
1100
|
+
<a
|
|
1101
|
+
class="ui label"
|
|
1102
|
+
>
|
|
1103
|
+
roles.header
|
|
1104
|
+
</a>
|
|
1105
|
+
</div>
|
|
1106
|
+
<div
|
|
1107
|
+
class="ui divider"
|
|
1108
|
+
/>
|
|
1109
|
+
<div
|
|
1110
|
+
class="ui header"
|
|
1111
|
+
title="structure.grant.cart.template"
|
|
1112
|
+
>
|
|
1113
|
+
structure.grant.cart.template
|
|
1114
|
+
</div>
|
|
389
1115
|
</form>
|
|
390
1116
|
</div>
|
|
391
1117
|
</div>
|