@truedat/ai 8.10.4 → 8.10.6
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/api.js +0 -4
- package/src/components/AiRoutes.js +0 -8
- package/src/components/constants.js +1 -5
- package/src/components/prompts/PromptEditor.js +10 -68
- package/src/components/prompts/Prompts.js +4 -2
- package/src/components/prompts/__tests__/PromptEditor.spec.js +4 -16
- package/src/components/prompts/__tests__/Prompts.spec.js +20 -4
- package/src/components/prompts/__tests__/__snapshots__/PromptEditor.spec.js.snap +39 -628
- package/src/components/prompts/__tests__/__snapshots__/Prompts.spec.js.snap +2 -2
- package/src/components/resourceMappings/ResourceMappingEditor.js +0 -200
- package/src/components/resourceMappings/ResourceMappingFields.js +0 -120
- package/src/components/resourceMappings/ResourceMappings.js +0 -148
- package/src/components/resourceMappings/__tests__/ResourceMappingEditor.spec.js +0 -163
- package/src/components/resourceMappings/__tests__/ResourceMappings.spec.js +0 -78
- package/src/components/resourceMappings/__tests__/__snapshots__/ResourceMappingEditor.spec.js.snap +0 -800
- package/src/components/resourceMappings/__tests__/__snapshots__/ResourceMappings.spec.js.snap +0 -77
- package/src/components/resourceMappings/selectors/DataStructureSelector.js +0 -79
- package/src/components/resourceMappings/selectors/index.js +0 -10
- package/src/hooks/__tests__/useResourceMappings.spec.js +0 -101
- package/src/hooks/useResourceMappings.js +0 -33
|
@@ -1,375 +1,45 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`<PromptEditor /> matches snapshot for translation resource type 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<form
|
|
6
|
-
class="ui form"
|
|
7
|
-
>
|
|
8
|
-
<h3
|
|
9
|
-
class="ui dividing header"
|
|
10
|
-
>
|
|
11
|
-
prompt1
|
|
12
|
-
</h3>
|
|
13
|
-
<div
|
|
14
|
-
class="required field"
|
|
15
|
-
>
|
|
16
|
-
<label>
|
|
17
|
-
prompts.form.name
|
|
18
|
-
</label>
|
|
19
|
-
<div
|
|
20
|
-
class="ui input"
|
|
21
|
-
>
|
|
22
|
-
<input
|
|
23
|
-
autocomplete="off"
|
|
24
|
-
placeholder="prompts.form.name"
|
|
25
|
-
required=""
|
|
26
|
-
type="text"
|
|
27
|
-
value="prompt1"
|
|
28
|
-
/>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<div
|
|
32
|
-
class="required field"
|
|
33
|
-
>
|
|
34
|
-
<label>
|
|
35
|
-
prompts.form.resource_type
|
|
36
|
-
</label>
|
|
37
|
-
<div
|
|
38
|
-
aria-expanded="false"
|
|
39
|
-
class="ui selection dropdown"
|
|
40
|
-
role="listbox"
|
|
41
|
-
tabindex="0"
|
|
42
|
-
>
|
|
43
|
-
<div
|
|
44
|
-
aria-atomic="true"
|
|
45
|
-
aria-live="polite"
|
|
46
|
-
class="divider text"
|
|
47
|
-
role="alert"
|
|
48
|
-
>
|
|
49
|
-
resourceMappings.resourceType.translation
|
|
50
|
-
</div>
|
|
51
|
-
<i
|
|
52
|
-
aria-hidden="true"
|
|
53
|
-
class="dropdown icon"
|
|
54
|
-
/>
|
|
55
|
-
<div
|
|
56
|
-
class="menu transition"
|
|
57
|
-
>
|
|
58
|
-
<div
|
|
59
|
-
aria-checked="false"
|
|
60
|
-
aria-selected="false"
|
|
61
|
-
class="item"
|
|
62
|
-
role="option"
|
|
63
|
-
style="pointer-events: all;"
|
|
64
|
-
>
|
|
65
|
-
<span
|
|
66
|
-
class="text"
|
|
67
|
-
>
|
|
68
|
-
resourceMappings.resourceType.data_structure
|
|
69
|
-
</span>
|
|
70
|
-
</div>
|
|
71
|
-
<div
|
|
72
|
-
aria-checked="false"
|
|
73
|
-
aria-selected="false"
|
|
74
|
-
class="item"
|
|
75
|
-
role="option"
|
|
76
|
-
style="pointer-events: all;"
|
|
77
|
-
>
|
|
78
|
-
<span
|
|
79
|
-
class="text"
|
|
80
|
-
>
|
|
81
|
-
resourceMappings.resourceType.business_concept
|
|
82
|
-
</span>
|
|
83
|
-
</div>
|
|
84
|
-
<div
|
|
85
|
-
aria-checked="true"
|
|
86
|
-
aria-selected="true"
|
|
87
|
-
class="active selected item"
|
|
88
|
-
role="option"
|
|
89
|
-
style="pointer-events: all;"
|
|
90
|
-
>
|
|
91
|
-
<span
|
|
92
|
-
class="text"
|
|
93
|
-
>
|
|
94
|
-
resourceMappings.resourceType.translation
|
|
95
|
-
</span>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
<div
|
|
101
|
-
class="required field"
|
|
102
|
-
data-tooltip="Language is disabled for translations type prompts"
|
|
103
|
-
>
|
|
104
|
-
<label>
|
|
105
|
-
prompts.form.language
|
|
106
|
-
</label>
|
|
107
|
-
<div
|
|
108
|
-
aria-disabled="true"
|
|
109
|
-
aria-expanded="false"
|
|
110
|
-
class="ui disabled selection dropdown"
|
|
111
|
-
role="listbox"
|
|
112
|
-
tabindex="-1"
|
|
113
|
-
>
|
|
114
|
-
<div
|
|
115
|
-
aria-atomic="true"
|
|
116
|
-
aria-live="polite"
|
|
117
|
-
class="divider text"
|
|
118
|
-
role="alert"
|
|
119
|
-
>
|
|
120
|
-
en
|
|
121
|
-
</div>
|
|
122
|
-
<i
|
|
123
|
-
aria-hidden="true"
|
|
124
|
-
class="dropdown icon"
|
|
125
|
-
/>
|
|
126
|
-
<div
|
|
127
|
-
class="menu transition"
|
|
128
|
-
>
|
|
129
|
-
<div
|
|
130
|
-
aria-checked="true"
|
|
131
|
-
aria-selected="true"
|
|
132
|
-
class="active selected item"
|
|
133
|
-
role="option"
|
|
134
|
-
style="pointer-events: all;"
|
|
135
|
-
>
|
|
136
|
-
<span
|
|
137
|
-
class="text"
|
|
138
|
-
>
|
|
139
|
-
en
|
|
140
|
-
</span>
|
|
141
|
-
</div>
|
|
142
|
-
<div
|
|
143
|
-
aria-checked="false"
|
|
144
|
-
aria-selected="false"
|
|
145
|
-
class="item"
|
|
146
|
-
role="option"
|
|
147
|
-
style="pointer-events: all;"
|
|
148
|
-
>
|
|
149
|
-
<span
|
|
150
|
-
class="text"
|
|
151
|
-
>
|
|
152
|
-
es
|
|
153
|
-
</span>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
158
|
-
<div
|
|
159
|
-
class="required field"
|
|
160
|
-
>
|
|
161
|
-
<label>
|
|
162
|
-
prompts.form.system_prompt
|
|
163
|
-
</label>
|
|
164
|
-
<textarea
|
|
165
|
-
autocomplete="off"
|
|
166
|
-
placeholder="prompts.form.system_prompt"
|
|
167
|
-
required=""
|
|
168
|
-
rows="3"
|
|
169
|
-
>
|
|
170
|
-
system_prompt
|
|
171
|
-
</textarea>
|
|
172
|
-
</div>
|
|
173
|
-
<div
|
|
174
|
-
class="required field"
|
|
175
|
-
>
|
|
176
|
-
<label>
|
|
177
|
-
prompts.form.user_prompt_template
|
|
178
|
-
</label>
|
|
179
|
-
<textarea
|
|
180
|
-
autocomplete="off"
|
|
181
|
-
placeholder="prompts.form.user_prompt_template"
|
|
182
|
-
required=""
|
|
183
|
-
rows="3"
|
|
184
|
-
>
|
|
185
|
-
user_prompt
|
|
186
|
-
</textarea>
|
|
187
|
-
</div>
|
|
188
|
-
<div
|
|
189
|
-
class="required field"
|
|
190
|
-
>
|
|
191
|
-
<label>
|
|
192
|
-
prompts.form.provider
|
|
193
|
-
</label>
|
|
194
|
-
<div
|
|
195
|
-
aria-expanded="false"
|
|
196
|
-
class="ui selection dropdown"
|
|
197
|
-
role="listbox"
|
|
198
|
-
tabindex="0"
|
|
199
|
-
>
|
|
200
|
-
<div
|
|
201
|
-
aria-atomic="true"
|
|
202
|
-
aria-live="polite"
|
|
203
|
-
class="divider text"
|
|
204
|
-
role="alert"
|
|
205
|
-
>
|
|
206
|
-
Provider1
|
|
207
|
-
</div>
|
|
208
|
-
<i
|
|
209
|
-
aria-hidden="true"
|
|
210
|
-
class="dropdown icon"
|
|
211
|
-
/>
|
|
212
|
-
<div
|
|
213
|
-
class="menu transition"
|
|
214
|
-
>
|
|
215
|
-
<div
|
|
216
|
-
aria-checked="true"
|
|
217
|
-
aria-selected="true"
|
|
218
|
-
class="active selected item"
|
|
219
|
-
role="option"
|
|
220
|
-
style="pointer-events: all;"
|
|
221
|
-
>
|
|
222
|
-
<span
|
|
223
|
-
class="text"
|
|
224
|
-
>
|
|
225
|
-
Provider1
|
|
226
|
-
</span>
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
</div>
|
|
231
|
-
<div
|
|
232
|
-
class="ui hidden divider"
|
|
233
|
-
/>
|
|
234
|
-
<div
|
|
235
|
-
class="ui right aligned container"
|
|
236
|
-
>
|
|
237
|
-
<button
|
|
238
|
-
class="ui primary disabled button"
|
|
239
|
-
disabled=""
|
|
240
|
-
tabindex="-1"
|
|
241
|
-
>
|
|
242
|
-
actions.save
|
|
243
|
-
</button>
|
|
244
|
-
<button
|
|
245
|
-
class="ui primary button"
|
|
246
|
-
>
|
|
247
|
-
actions.set_active
|
|
248
|
-
</button>
|
|
249
|
-
<button
|
|
250
|
-
class="ui button"
|
|
251
|
-
>
|
|
252
|
-
actions.cancel
|
|
253
|
-
</button>
|
|
254
|
-
<button
|
|
255
|
-
class="ui red button"
|
|
256
|
-
>
|
|
257
|
-
actions.delete
|
|
258
|
-
</button>
|
|
259
|
-
</div>
|
|
260
|
-
</form>
|
|
261
|
-
</div>
|
|
262
|
-
`;
|
|
263
|
-
|
|
264
3
|
exports[`<PromptEditor /> matches snapshot without onDelete 1`] = `
|
|
265
4
|
<div>
|
|
266
5
|
<form
|
|
267
6
|
class="ui form"
|
|
268
7
|
>
|
|
269
8
|
<h3
|
|
270
|
-
class="ui dividing header"
|
|
271
|
-
>
|
|
272
|
-
prompt1
|
|
273
|
-
</h3>
|
|
274
|
-
<div
|
|
275
|
-
class="required field"
|
|
276
|
-
>
|
|
277
|
-
<label>
|
|
278
|
-
prompts.form.name
|
|
279
|
-
</label>
|
|
280
|
-
<div
|
|
281
|
-
class="ui input"
|
|
282
|
-
>
|
|
283
|
-
<input
|
|
284
|
-
autocomplete="off"
|
|
285
|
-
placeholder="prompts.form.name"
|
|
286
|
-
required=""
|
|
287
|
-
type="text"
|
|
288
|
-
value="prompt1"
|
|
289
|
-
/>
|
|
290
|
-
</div>
|
|
291
|
-
</div>
|
|
292
|
-
<div
|
|
293
|
-
class="required field"
|
|
294
|
-
>
|
|
295
|
-
<label>
|
|
296
|
-
prompts.form.resource_type
|
|
297
|
-
</label>
|
|
298
|
-
<div
|
|
299
|
-
aria-expanded="false"
|
|
300
|
-
class="ui selection dropdown"
|
|
301
|
-
role="listbox"
|
|
302
|
-
tabindex="0"
|
|
303
|
-
>
|
|
304
|
-
<div
|
|
305
|
-
aria-atomic="true"
|
|
306
|
-
aria-live="polite"
|
|
307
|
-
class="divider text"
|
|
308
|
-
role="alert"
|
|
309
|
-
>
|
|
310
|
-
resourceMappings.resourceType.data_structure
|
|
311
|
-
</div>
|
|
312
|
-
<i
|
|
313
|
-
aria-hidden="true"
|
|
314
|
-
class="dropdown icon"
|
|
315
|
-
/>
|
|
316
|
-
<div
|
|
317
|
-
class="menu transition"
|
|
318
|
-
>
|
|
319
|
-
<div
|
|
320
|
-
aria-checked="true"
|
|
321
|
-
aria-selected="true"
|
|
322
|
-
class="active selected item"
|
|
323
|
-
role="option"
|
|
324
|
-
style="pointer-events: all;"
|
|
325
|
-
>
|
|
326
|
-
<span
|
|
327
|
-
class="text"
|
|
328
|
-
>
|
|
329
|
-
resourceMappings.resourceType.data_structure
|
|
330
|
-
</span>
|
|
331
|
-
</div>
|
|
332
|
-
<div
|
|
333
|
-
aria-checked="false"
|
|
334
|
-
aria-selected="false"
|
|
335
|
-
class="item"
|
|
336
|
-
role="option"
|
|
337
|
-
style="pointer-events: all;"
|
|
338
|
-
>
|
|
339
|
-
<span
|
|
340
|
-
class="text"
|
|
341
|
-
>
|
|
342
|
-
resourceMappings.resourceType.business_concept
|
|
343
|
-
</span>
|
|
344
|
-
</div>
|
|
345
|
-
<div
|
|
346
|
-
aria-checked="false"
|
|
347
|
-
aria-selected="false"
|
|
348
|
-
class="item"
|
|
349
|
-
role="option"
|
|
350
|
-
style="pointer-events: all;"
|
|
351
|
-
>
|
|
352
|
-
<span
|
|
353
|
-
class="text"
|
|
354
|
-
>
|
|
355
|
-
resourceMappings.resourceType.translation
|
|
356
|
-
</span>
|
|
357
|
-
</div>
|
|
358
|
-
</div>
|
|
9
|
+
class="ui dividing header"
|
|
10
|
+
>
|
|
11
|
+
prompt1
|
|
12
|
+
</h3>
|
|
13
|
+
<div
|
|
14
|
+
class="required field"
|
|
15
|
+
>
|
|
16
|
+
<label>
|
|
17
|
+
prompts.form.name
|
|
18
|
+
</label>
|
|
19
|
+
<div
|
|
20
|
+
class="ui input"
|
|
21
|
+
>
|
|
22
|
+
<input
|
|
23
|
+
autocomplete="off"
|
|
24
|
+
placeholder="prompts.form.name"
|
|
25
|
+
required=""
|
|
26
|
+
type="text"
|
|
27
|
+
value="prompt1"
|
|
28
|
+
/>
|
|
359
29
|
</div>
|
|
360
30
|
</div>
|
|
361
31
|
<div
|
|
362
32
|
class="required field"
|
|
363
33
|
>
|
|
364
34
|
<label>
|
|
365
|
-
prompts.form.
|
|
35
|
+
prompts.form.resource_type
|
|
366
36
|
</label>
|
|
367
37
|
<div
|
|
368
|
-
aria-disabled="
|
|
38
|
+
aria-disabled="true"
|
|
369
39
|
aria-expanded="false"
|
|
370
|
-
class="ui selection dropdown"
|
|
40
|
+
class="ui disabled selection dropdown"
|
|
371
41
|
role="listbox"
|
|
372
|
-
tabindex="
|
|
42
|
+
tabindex="-1"
|
|
373
43
|
>
|
|
374
44
|
<div
|
|
375
45
|
aria-atomic="true"
|
|
@@ -377,7 +47,7 @@ exports[`<PromptEditor /> matches snapshot without onDelete 1`] = `
|
|
|
377
47
|
class="divider text"
|
|
378
48
|
role="alert"
|
|
379
49
|
>
|
|
380
|
-
|
|
50
|
+
resourceMappings.resourceType.translation
|
|
381
51
|
</div>
|
|
382
52
|
<i
|
|
383
53
|
aria-hidden="true"
|
|
@@ -396,20 +66,7 @@ exports[`<PromptEditor /> matches snapshot without onDelete 1`] = `
|
|
|
396
66
|
<span
|
|
397
67
|
class="text"
|
|
398
68
|
>
|
|
399
|
-
|
|
400
|
-
</span>
|
|
401
|
-
</div>
|
|
402
|
-
<div
|
|
403
|
-
aria-checked="false"
|
|
404
|
-
aria-selected="false"
|
|
405
|
-
class="item"
|
|
406
|
-
role="option"
|
|
407
|
-
style="pointer-events: all;"
|
|
408
|
-
>
|
|
409
|
-
<span
|
|
410
|
-
class="text"
|
|
411
|
-
>
|
|
412
|
-
es
|
|
69
|
+
resourceMappings.resourceType.translation
|
|
413
70
|
</span>
|
|
414
71
|
</div>
|
|
415
72
|
</div>
|
|
@@ -516,7 +173,7 @@ exports[`<PromptEditor /> matches snapshot without onDelete 1`] = `
|
|
|
516
173
|
</div>
|
|
517
174
|
`;
|
|
518
175
|
|
|
519
|
-
exports[`<PromptEditor /> matches snapshot without
|
|
176
|
+
exports[`<PromptEditor /> matches snapshot without selectedPrompt 1`] = `<div />`;
|
|
520
177
|
|
|
521
178
|
exports[`<PromptEditor /> matches the latest snapshot 1`] = `
|
|
522
179
|
<div>
|
|
@@ -553,10 +210,11 @@ exports[`<PromptEditor /> matches the latest snapshot 1`] = `
|
|
|
553
210
|
prompts.form.resource_type
|
|
554
211
|
</label>
|
|
555
212
|
<div
|
|
213
|
+
aria-disabled="true"
|
|
556
214
|
aria-expanded="false"
|
|
557
|
-
class="ui selection dropdown"
|
|
215
|
+
class="ui disabled selection dropdown"
|
|
558
216
|
role="listbox"
|
|
559
|
-
tabindex="
|
|
217
|
+
tabindex="-1"
|
|
560
218
|
>
|
|
561
219
|
<div
|
|
562
220
|
aria-atomic="true"
|
|
@@ -564,7 +222,7 @@ exports[`<PromptEditor /> matches the latest snapshot 1`] = `
|
|
|
564
222
|
class="divider text"
|
|
565
223
|
role="alert"
|
|
566
224
|
>
|
|
567
|
-
resourceMappings.resourceType.
|
|
225
|
+
resourceMappings.resourceType.translation
|
|
568
226
|
</div>
|
|
569
227
|
<i
|
|
570
228
|
aria-hidden="true"
|
|
@@ -579,32 +237,6 @@ exports[`<PromptEditor /> matches the latest snapshot 1`] = `
|
|
|
579
237
|
class="active selected item"
|
|
580
238
|
role="option"
|
|
581
239
|
style="pointer-events: all;"
|
|
582
|
-
>
|
|
583
|
-
<span
|
|
584
|
-
class="text"
|
|
585
|
-
>
|
|
586
|
-
resourceMappings.resourceType.data_structure
|
|
587
|
-
</span>
|
|
588
|
-
</div>
|
|
589
|
-
<div
|
|
590
|
-
aria-checked="false"
|
|
591
|
-
aria-selected="false"
|
|
592
|
-
class="item"
|
|
593
|
-
role="option"
|
|
594
|
-
style="pointer-events: all;"
|
|
595
|
-
>
|
|
596
|
-
<span
|
|
597
|
-
class="text"
|
|
598
|
-
>
|
|
599
|
-
resourceMappings.resourceType.business_concept
|
|
600
|
-
</span>
|
|
601
|
-
</div>
|
|
602
|
-
<div
|
|
603
|
-
aria-checked="false"
|
|
604
|
-
aria-selected="false"
|
|
605
|
-
class="item"
|
|
606
|
-
role="option"
|
|
607
|
-
style="pointer-events: all;"
|
|
608
240
|
>
|
|
609
241
|
<span
|
|
610
242
|
class="text"
|
|
@@ -615,63 +247,6 @@ exports[`<PromptEditor /> matches the latest snapshot 1`] = `
|
|
|
615
247
|
</div>
|
|
616
248
|
</div>
|
|
617
249
|
</div>
|
|
618
|
-
<div
|
|
619
|
-
class="required field"
|
|
620
|
-
>
|
|
621
|
-
<label>
|
|
622
|
-
prompts.form.language
|
|
623
|
-
</label>
|
|
624
|
-
<div
|
|
625
|
-
aria-disabled="false"
|
|
626
|
-
aria-expanded="false"
|
|
627
|
-
class="ui selection dropdown"
|
|
628
|
-
role="listbox"
|
|
629
|
-
tabindex="0"
|
|
630
|
-
>
|
|
631
|
-
<div
|
|
632
|
-
aria-atomic="true"
|
|
633
|
-
aria-live="polite"
|
|
634
|
-
class="divider text"
|
|
635
|
-
role="alert"
|
|
636
|
-
>
|
|
637
|
-
en
|
|
638
|
-
</div>
|
|
639
|
-
<i
|
|
640
|
-
aria-hidden="true"
|
|
641
|
-
class="dropdown icon"
|
|
642
|
-
/>
|
|
643
|
-
<div
|
|
644
|
-
class="menu transition"
|
|
645
|
-
>
|
|
646
|
-
<div
|
|
647
|
-
aria-checked="true"
|
|
648
|
-
aria-selected="true"
|
|
649
|
-
class="active selected item"
|
|
650
|
-
role="option"
|
|
651
|
-
style="pointer-events: all;"
|
|
652
|
-
>
|
|
653
|
-
<span
|
|
654
|
-
class="text"
|
|
655
|
-
>
|
|
656
|
-
en
|
|
657
|
-
</span>
|
|
658
|
-
</div>
|
|
659
|
-
<div
|
|
660
|
-
aria-checked="false"
|
|
661
|
-
aria-selected="false"
|
|
662
|
-
class="item"
|
|
663
|
-
role="option"
|
|
664
|
-
style="pointer-events: all;"
|
|
665
|
-
>
|
|
666
|
-
<span
|
|
667
|
-
class="text"
|
|
668
|
-
>
|
|
669
|
-
es
|
|
670
|
-
</span>
|
|
671
|
-
</div>
|
|
672
|
-
</div>
|
|
673
|
-
</div>
|
|
674
|
-
</div>
|
|
675
250
|
<div
|
|
676
251
|
class="required field"
|
|
677
252
|
>
|
|
@@ -813,10 +388,11 @@ exports[`<PromptEditor /> test cancel button with confirm 1`] = `
|
|
|
813
388
|
prompts.form.resource_type
|
|
814
389
|
</label>
|
|
815
390
|
<div
|
|
391
|
+
aria-disabled="true"
|
|
816
392
|
aria-expanded="false"
|
|
817
|
-
class="ui selection dropdown"
|
|
393
|
+
class="ui disabled selection dropdown"
|
|
818
394
|
role="listbox"
|
|
819
|
-
tabindex="
|
|
395
|
+
tabindex="-1"
|
|
820
396
|
>
|
|
821
397
|
<div
|
|
822
398
|
aria-atomic="true"
|
|
@@ -824,7 +400,7 @@ exports[`<PromptEditor /> test cancel button with confirm 1`] = `
|
|
|
824
400
|
class="divider text"
|
|
825
401
|
role="alert"
|
|
826
402
|
>
|
|
827
|
-
resourceMappings.resourceType.
|
|
403
|
+
resourceMappings.resourceType.translation
|
|
828
404
|
</div>
|
|
829
405
|
<i
|
|
830
406
|
aria-hidden="true"
|
|
@@ -839,32 +415,6 @@ exports[`<PromptEditor /> test cancel button with confirm 1`] = `
|
|
|
839
415
|
class="active selected item"
|
|
840
416
|
role="option"
|
|
841
417
|
style="pointer-events: all;"
|
|
842
|
-
>
|
|
843
|
-
<span
|
|
844
|
-
class="text"
|
|
845
|
-
>
|
|
846
|
-
resourceMappings.resourceType.data_structure
|
|
847
|
-
</span>
|
|
848
|
-
</div>
|
|
849
|
-
<div
|
|
850
|
-
aria-checked="false"
|
|
851
|
-
aria-selected="false"
|
|
852
|
-
class="item"
|
|
853
|
-
role="option"
|
|
854
|
-
style="pointer-events: all;"
|
|
855
|
-
>
|
|
856
|
-
<span
|
|
857
|
-
class="text"
|
|
858
|
-
>
|
|
859
|
-
resourceMappings.resourceType.business_concept
|
|
860
|
-
</span>
|
|
861
|
-
</div>
|
|
862
|
-
<div
|
|
863
|
-
aria-checked="false"
|
|
864
|
-
aria-selected="false"
|
|
865
|
-
class="item"
|
|
866
|
-
role="option"
|
|
867
|
-
style="pointer-events: all;"
|
|
868
418
|
>
|
|
869
419
|
<span
|
|
870
420
|
class="text"
|
|
@@ -875,63 +425,6 @@ exports[`<PromptEditor /> test cancel button with confirm 1`] = `
|
|
|
875
425
|
</div>
|
|
876
426
|
</div>
|
|
877
427
|
</div>
|
|
878
|
-
<div
|
|
879
|
-
class="required field"
|
|
880
|
-
>
|
|
881
|
-
<label>
|
|
882
|
-
prompts.form.language
|
|
883
|
-
</label>
|
|
884
|
-
<div
|
|
885
|
-
aria-disabled="false"
|
|
886
|
-
aria-expanded="false"
|
|
887
|
-
class="ui selection dropdown"
|
|
888
|
-
role="listbox"
|
|
889
|
-
tabindex="0"
|
|
890
|
-
>
|
|
891
|
-
<div
|
|
892
|
-
aria-atomic="true"
|
|
893
|
-
aria-live="polite"
|
|
894
|
-
class="divider text"
|
|
895
|
-
role="alert"
|
|
896
|
-
>
|
|
897
|
-
en
|
|
898
|
-
</div>
|
|
899
|
-
<i
|
|
900
|
-
aria-hidden="true"
|
|
901
|
-
class="dropdown icon"
|
|
902
|
-
/>
|
|
903
|
-
<div
|
|
904
|
-
class="menu transition"
|
|
905
|
-
>
|
|
906
|
-
<div
|
|
907
|
-
aria-checked="true"
|
|
908
|
-
aria-selected="true"
|
|
909
|
-
class="active selected item"
|
|
910
|
-
role="option"
|
|
911
|
-
style="pointer-events: all;"
|
|
912
|
-
>
|
|
913
|
-
<span
|
|
914
|
-
class="text"
|
|
915
|
-
>
|
|
916
|
-
en
|
|
917
|
-
</span>
|
|
918
|
-
</div>
|
|
919
|
-
<div
|
|
920
|
-
aria-checked="false"
|
|
921
|
-
aria-selected="false"
|
|
922
|
-
class="item"
|
|
923
|
-
role="option"
|
|
924
|
-
style="pointer-events: all;"
|
|
925
|
-
>
|
|
926
|
-
<span
|
|
927
|
-
class="text"
|
|
928
|
-
>
|
|
929
|
-
es
|
|
930
|
-
</span>
|
|
931
|
-
</div>
|
|
932
|
-
</div>
|
|
933
|
-
</div>
|
|
934
|
-
</div>
|
|
935
428
|
<div
|
|
936
429
|
class="required field"
|
|
937
430
|
>
|
|
@@ -1073,10 +566,11 @@ exports[`<PromptEditor /> test delete button 1`] = `
|
|
|
1073
566
|
prompts.form.resource_type
|
|
1074
567
|
</label>
|
|
1075
568
|
<div
|
|
569
|
+
aria-disabled="true"
|
|
1076
570
|
aria-expanded="false"
|
|
1077
|
-
class="ui selection dropdown"
|
|
571
|
+
class="ui disabled selection dropdown"
|
|
1078
572
|
role="listbox"
|
|
1079
|
-
tabindex="
|
|
573
|
+
tabindex="-1"
|
|
1080
574
|
>
|
|
1081
575
|
<div
|
|
1082
576
|
aria-atomic="true"
|
|
@@ -1084,7 +578,7 @@ exports[`<PromptEditor /> test delete button 1`] = `
|
|
|
1084
578
|
class="divider text"
|
|
1085
579
|
role="alert"
|
|
1086
580
|
>
|
|
1087
|
-
resourceMappings.resourceType.
|
|
581
|
+
resourceMappings.resourceType.translation
|
|
1088
582
|
</div>
|
|
1089
583
|
<i
|
|
1090
584
|
aria-hidden="true"
|
|
@@ -1099,32 +593,6 @@ exports[`<PromptEditor /> test delete button 1`] = `
|
|
|
1099
593
|
class="active selected item"
|
|
1100
594
|
role="option"
|
|
1101
595
|
style="pointer-events: all;"
|
|
1102
|
-
>
|
|
1103
|
-
<span
|
|
1104
|
-
class="text"
|
|
1105
|
-
>
|
|
1106
|
-
resourceMappings.resourceType.data_structure
|
|
1107
|
-
</span>
|
|
1108
|
-
</div>
|
|
1109
|
-
<div
|
|
1110
|
-
aria-checked="false"
|
|
1111
|
-
aria-selected="false"
|
|
1112
|
-
class="item"
|
|
1113
|
-
role="option"
|
|
1114
|
-
style="pointer-events: all;"
|
|
1115
|
-
>
|
|
1116
|
-
<span
|
|
1117
|
-
class="text"
|
|
1118
|
-
>
|
|
1119
|
-
resourceMappings.resourceType.business_concept
|
|
1120
|
-
</span>
|
|
1121
|
-
</div>
|
|
1122
|
-
<div
|
|
1123
|
-
aria-checked="false"
|
|
1124
|
-
aria-selected="false"
|
|
1125
|
-
class="item"
|
|
1126
|
-
role="option"
|
|
1127
|
-
style="pointer-events: all;"
|
|
1128
596
|
>
|
|
1129
597
|
<span
|
|
1130
598
|
class="text"
|
|
@@ -1135,63 +603,6 @@ exports[`<PromptEditor /> test delete button 1`] = `
|
|
|
1135
603
|
</div>
|
|
1136
604
|
</div>
|
|
1137
605
|
</div>
|
|
1138
|
-
<div
|
|
1139
|
-
class="required field"
|
|
1140
|
-
>
|
|
1141
|
-
<label>
|
|
1142
|
-
prompts.form.language
|
|
1143
|
-
</label>
|
|
1144
|
-
<div
|
|
1145
|
-
aria-disabled="false"
|
|
1146
|
-
aria-expanded="false"
|
|
1147
|
-
class="ui selection dropdown"
|
|
1148
|
-
role="listbox"
|
|
1149
|
-
tabindex="0"
|
|
1150
|
-
>
|
|
1151
|
-
<div
|
|
1152
|
-
aria-atomic="true"
|
|
1153
|
-
aria-live="polite"
|
|
1154
|
-
class="divider text"
|
|
1155
|
-
role="alert"
|
|
1156
|
-
>
|
|
1157
|
-
en
|
|
1158
|
-
</div>
|
|
1159
|
-
<i
|
|
1160
|
-
aria-hidden="true"
|
|
1161
|
-
class="dropdown icon"
|
|
1162
|
-
/>
|
|
1163
|
-
<div
|
|
1164
|
-
class="menu transition"
|
|
1165
|
-
>
|
|
1166
|
-
<div
|
|
1167
|
-
aria-checked="true"
|
|
1168
|
-
aria-selected="true"
|
|
1169
|
-
class="active selected item"
|
|
1170
|
-
role="option"
|
|
1171
|
-
style="pointer-events: all;"
|
|
1172
|
-
>
|
|
1173
|
-
<span
|
|
1174
|
-
class="text"
|
|
1175
|
-
>
|
|
1176
|
-
en
|
|
1177
|
-
</span>
|
|
1178
|
-
</div>
|
|
1179
|
-
<div
|
|
1180
|
-
aria-checked="false"
|
|
1181
|
-
aria-selected="false"
|
|
1182
|
-
class="item"
|
|
1183
|
-
role="option"
|
|
1184
|
-
style="pointer-events: all;"
|
|
1185
|
-
>
|
|
1186
|
-
<span
|
|
1187
|
-
class="text"
|
|
1188
|
-
>
|
|
1189
|
-
es
|
|
1190
|
-
</span>
|
|
1191
|
-
</div>
|
|
1192
|
-
</div>
|
|
1193
|
-
</div>
|
|
1194
|
-
</div>
|
|
1195
606
|
<div
|
|
1196
607
|
class="required field"
|
|
1197
608
|
>
|