@truedat/ai 7.5.9 → 7.5.10
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 +39 -59
- package/src/components/AiRoutes.js +39 -46
- package/src/components/TranslationModal.js +8 -10
- package/src/components/__tests__/TranslationModal.spec.js +0 -1
- package/src/components/actions/Action.js +1 -2
- package/src/components/actions/ActionActions.js +4 -5
- package/src/components/actions/ActionBreadcrumbs.js +1 -2
- package/src/components/actions/ActionDetail.js +4 -3
- package/src/components/actions/ActionEdit.js +3 -3
- package/src/components/actions/ActionForm.js +7 -7
- package/src/components/actions/ActionNew.js +1 -1
- package/src/components/actions/Actions.js +1 -2
- package/src/components/actions/ActionsContext.js +3 -7
- package/src/components/actions/ActionsTable.js +1 -2
- package/src/components/actions/__tests__/Action.spec.js +14 -36
- package/src/components/actions/__tests__/ActionActions.spec.js +2 -20
- package/src/components/actions/__tests__/ActionBreadcrumbs.spec.js +1 -10
- package/src/components/actions/__tests__/ActionDetail.spec.js +5 -23
- package/src/components/actions/__tests__/ActionEdit.spec.js +7 -31
- package/src/components/actions/__tests__/ActionForm.spec.js +11 -27
- package/src/components/actions/__tests__/ActionNew.spec.js +7 -53
- package/src/components/actions/__tests__/Actions.spec.js +6 -15
- package/src/components/actions/__tests__/ActionsTable.spec.js +3 -23
- package/src/components/actions/__tests__/__snapshots__/Action.spec.js.snap +39 -11
- package/src/components/actions/__tests__/__snapshots__/ActionActions.spec.js.snap +4 -4
- package/src/components/actions/__tests__/__snapshots__/ActionBreadcrumbs.spec.js.snap +2 -1
- package/src/components/actions/__tests__/__snapshots__/ActionDetail.spec.js.snap +26 -3
- package/src/components/actions/__tests__/__snapshots__/ActionEdit.spec.js.snap +11 -73
- package/src/components/actions/__tests__/__snapshots__/ActionForm.spec.js.snap +91 -13
- package/src/components/actions/__tests__/__snapshots__/ActionNew.spec.js.snap +16 -263
- package/src/components/actions/__tests__/__snapshots__/Actions.spec.js.snap +5 -4
- package/src/components/actions/__tests__/__snapshots__/ActionsTable.spec.js.snap +7 -5
- package/src/components/aiSandbox/AiSandbox.js +3 -6
- package/src/components/aiSandbox/RequestForm.js +6 -4
- package/src/components/prompts/PromptEditor.js +1 -8
- package/src/components/prompts/Prompts.js +2 -6
- package/src/components/prompts/__tests__/PromptEditor.spec.js +62 -54
- package/src/components/prompts/__tests__/Prompts.spec.js +0 -2
- package/src/components/prompts/__tests__/__snapshots__/PromptEditor.spec.js.snap +115 -10
- package/src/components/providers/ProviderEditor.js +1 -5
- package/src/components/providers/Providers.js +1 -2
- package/src/components/providers/__tests__/ProviderEditor.spec.js +54 -75
- package/src/components/providers/__tests__/Providers.spec.js +0 -2
- package/src/components/providers/__tests__/__snapshots__/ProviderEditor.spec.js.snap +0 -4
- package/src/components/providers/providerProperties/AzureOpenai.js +0 -1
- package/src/components/providers/providerProperties/BedrockClaude.js +0 -1
- package/src/components/providers/providerProperties/Gemini.js +0 -1
- package/src/components/providers/providerProperties/Openai.js +0 -1
- package/src/components/resourceMappings/ResourceMappingEditor.js +2 -5
- package/src/components/resourceMappings/ResourceMappingFields.js +3 -2
- package/src/components/resourceMappings/ResourceMappings.js +4 -2
- package/src/components/resourceMappings/__tests__/ResourceMappingEditor.spec.js +51 -93
- package/src/components/resourceMappings/__tests__/ResourceMappings.spec.js +0 -2
- package/src/components/resourceMappings/__tests__/__snapshots__/ResourceMappingEditor.spec.js.snap +4 -4
- package/src/components/resourceMappings/selectors/DataStructureSelector.js +0 -1
- package/src/components/resourceMappings/selectors/index.js +0 -1
- package/src/components/suggestions/SuggestionsWidget.js +1 -1
- package/src/components/suggestions/__tests__/SuggestionsWidget.spec.js +3 -3
- package/src/components/suggestions/__tests__/__snapshots__/SuggestionsWidget.spec.js.snap +0 -3
- package/src/hooks/__mocks__/useActions.js +44 -0
- package/src/hooks/__mocks__/useSuggestions.js +5 -0
- package/src/hooks/__tests__/usePrompts.spec.js +5 -5
- package/src/hooks/__tests__/{useProviders.js → useProviders.spec.js} +5 -5
- package/src/hooks/__tests__/useResourceMappings.spec.js +5 -5
- package/src/hooks/useActions.js +5 -4
- package/src/hooks/usePrompts.js +6 -6
- package/src/hooks/useProviders.js +5 -5
- package/src/hooks/useResourceMappings.js +4 -4
- package/src/index.js +2 -1
|
@@ -4,13 +4,13 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
4
4
|
<div>
|
|
5
5
|
<div
|
|
6
6
|
class="ui breadcrumb"
|
|
7
|
-
style=""
|
|
8
7
|
>
|
|
9
8
|
<a
|
|
10
9
|
class="section"
|
|
10
|
+
data-discover="true"
|
|
11
11
|
href="/tasks"
|
|
12
12
|
>
|
|
13
|
-
|
|
13
|
+
navigation.admin.actions
|
|
14
14
|
</a>
|
|
15
15
|
<i
|
|
16
16
|
aria-hidden="true"
|
|
@@ -19,12 +19,11 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
19
19
|
<div
|
|
20
20
|
class="active section"
|
|
21
21
|
>
|
|
22
|
-
|
|
22
|
+
ai.actions.actions.edit
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
25
25
|
<div
|
|
26
26
|
class="ui segment ui text container ai-action-edit ai-action-new"
|
|
27
|
-
style=""
|
|
28
27
|
>
|
|
29
28
|
<div
|
|
30
29
|
class="ai-action-edit-header"
|
|
@@ -39,14 +38,14 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
39
38
|
<div
|
|
40
39
|
class="content"
|
|
41
40
|
>
|
|
42
|
-
|
|
41
|
+
ai.actions.actions.edit
|
|
43
42
|
</div>
|
|
44
43
|
</h2>
|
|
45
44
|
<div
|
|
46
45
|
class="field ai-action-edit-header-active"
|
|
47
46
|
>
|
|
48
47
|
<label>
|
|
49
|
-
|
|
48
|
+
ai.actions.actions.form.active
|
|
50
49
|
</label>
|
|
51
50
|
<div
|
|
52
51
|
class="ui checked fitted toggle checkbox"
|
|
@@ -57,7 +56,6 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
57
56
|
readonly=""
|
|
58
57
|
tabindex="0"
|
|
59
58
|
type="checkbox"
|
|
60
|
-
value=""
|
|
61
59
|
/>
|
|
62
60
|
<label />
|
|
63
61
|
</div>
|
|
@@ -71,7 +69,7 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
71
69
|
class="required field"
|
|
72
70
|
>
|
|
73
71
|
<label>
|
|
74
|
-
|
|
72
|
+
ai.actions.actions.form.name
|
|
75
73
|
</label>
|
|
76
74
|
<div
|
|
77
75
|
class="field"
|
|
@@ -91,7 +89,7 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
91
89
|
class="required field"
|
|
92
90
|
>
|
|
93
91
|
<label>
|
|
94
|
-
|
|
92
|
+
ai.actions.actions.form.user
|
|
95
93
|
</label>
|
|
96
94
|
<div
|
|
97
95
|
class="field"
|
|
@@ -148,56 +146,6 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
148
146
|
</div>
|
|
149
147
|
</div>
|
|
150
148
|
</div>
|
|
151
|
-
<div
|
|
152
|
-
class="required field"
|
|
153
|
-
>
|
|
154
|
-
<label>
|
|
155
|
-
Template
|
|
156
|
-
</label>
|
|
157
|
-
<div
|
|
158
|
-
class="disabled field"
|
|
159
|
-
>
|
|
160
|
-
<div
|
|
161
|
-
aria-busy="true"
|
|
162
|
-
aria-disabled="true"
|
|
163
|
-
aria-expanded="false"
|
|
164
|
-
class="ui disabled loading search selection dropdown"
|
|
165
|
-
name="template"
|
|
166
|
-
role="combobox"
|
|
167
|
-
>
|
|
168
|
-
<input
|
|
169
|
-
aria-autocomplete="list"
|
|
170
|
-
autocomplete="off"
|
|
171
|
-
class="search"
|
|
172
|
-
tabindex="-1"
|
|
173
|
-
type="text"
|
|
174
|
-
value=""
|
|
175
|
-
/>
|
|
176
|
-
<div
|
|
177
|
-
aria-atomic="true"
|
|
178
|
-
aria-live="polite"
|
|
179
|
-
class="divider text"
|
|
180
|
-
role="alert"
|
|
181
|
-
>
|
|
182
|
-
Loading
|
|
183
|
-
</div>
|
|
184
|
-
<i
|
|
185
|
-
aria-hidden="true"
|
|
186
|
-
class="dropdown icon"
|
|
187
|
-
/>
|
|
188
|
-
<div
|
|
189
|
-
class="menu transition"
|
|
190
|
-
role="listbox"
|
|
191
|
-
>
|
|
192
|
-
<div
|
|
193
|
-
class="message"
|
|
194
|
-
>
|
|
195
|
-
No results found.
|
|
196
|
-
</div>
|
|
197
|
-
</div>
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
</div>
|
|
201
149
|
<div
|
|
202
150
|
class="ui segment"
|
|
203
151
|
>
|
|
@@ -260,7 +208,7 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
260
208
|
<span
|
|
261
209
|
class="text"
|
|
262
210
|
>
|
|
263
|
-
|
|
211
|
+
selector.no.selection
|
|
264
212
|
</span>
|
|
265
213
|
</div>
|
|
266
214
|
<div
|
|
@@ -279,17 +227,6 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
279
227
|
</div>
|
|
280
228
|
</div>
|
|
281
229
|
</div>
|
|
282
|
-
<div
|
|
283
|
-
class="ui inverted dimmer"
|
|
284
|
-
>
|
|
285
|
-
<div
|
|
286
|
-
class="content"
|
|
287
|
-
>
|
|
288
|
-
<div
|
|
289
|
-
class="ui loader"
|
|
290
|
-
/>
|
|
291
|
-
</div>
|
|
292
|
-
</div>
|
|
293
230
|
</div>
|
|
294
231
|
</div>
|
|
295
232
|
</div>
|
|
@@ -299,16 +236,17 @@ exports[`<ActionEdit /> matches the latest snapshot 1`] = `
|
|
|
299
236
|
>
|
|
300
237
|
<a
|
|
301
238
|
class="ui secondary button"
|
|
239
|
+
data-discover="true"
|
|
302
240
|
href="/"
|
|
303
241
|
role="button"
|
|
304
242
|
>
|
|
305
|
-
|
|
243
|
+
actions.cancel
|
|
306
244
|
</a>
|
|
307
245
|
<button
|
|
308
246
|
class="ui primary button"
|
|
309
247
|
role="button"
|
|
310
248
|
>
|
|
311
|
-
|
|
249
|
+
actions.update
|
|
312
250
|
</button>
|
|
313
251
|
</div>
|
|
314
252
|
</div>
|
|
@@ -5,7 +5,6 @@ exports[`<ActionForm /> matches the latest snapshot when is creating 1`] = `
|
|
|
5
5
|
<form
|
|
6
6
|
class="ui form"
|
|
7
7
|
role="form"
|
|
8
|
-
style="display: none;"
|
|
9
8
|
>
|
|
10
9
|
<div
|
|
11
10
|
class="required field"
|
|
@@ -98,13 +97,102 @@ exports[`<ActionForm /> matches the latest snapshot when is creating 1`] = `
|
|
|
98
97
|
</div>
|
|
99
98
|
</div>
|
|
100
99
|
</div>
|
|
100
|
+
<div
|
|
101
|
+
class="ui segment"
|
|
102
|
+
>
|
|
103
|
+
<div
|
|
104
|
+
class="field"
|
|
105
|
+
data-testid="form-field"
|
|
106
|
+
>
|
|
107
|
+
<label>
|
|
108
|
+
Field Label
|
|
109
|
+
<span
|
|
110
|
+
style="color: rgb(217, 92, 92); margin-left: 3px;"
|
|
111
|
+
>
|
|
112
|
+
*
|
|
113
|
+
</span>
|
|
114
|
+
<div
|
|
115
|
+
class="ui left pointing label"
|
|
116
|
+
>
|
|
117
|
+
Required Field
|
|
118
|
+
</div>
|
|
119
|
+
</label>
|
|
120
|
+
<div
|
|
121
|
+
class="dimmable"
|
|
122
|
+
>
|
|
123
|
+
<div
|
|
124
|
+
class="field"
|
|
125
|
+
>
|
|
126
|
+
<div
|
|
127
|
+
aria-expanded="false"
|
|
128
|
+
class="ui fluid search selection dropdown"
|
|
129
|
+
name="field_name"
|
|
130
|
+
role="combobox"
|
|
131
|
+
>
|
|
132
|
+
<input
|
|
133
|
+
aria-autocomplete="list"
|
|
134
|
+
autocomplete="off"
|
|
135
|
+
class="search"
|
|
136
|
+
tabindex="0"
|
|
137
|
+
type="text"
|
|
138
|
+
value=""
|
|
139
|
+
/>
|
|
140
|
+
<div
|
|
141
|
+
aria-atomic="true"
|
|
142
|
+
aria-live="polite"
|
|
143
|
+
class="divider default text"
|
|
144
|
+
role="alert"
|
|
145
|
+
>
|
|
146
|
+
Select One...
|
|
147
|
+
</div>
|
|
148
|
+
<i
|
|
149
|
+
aria-hidden="true"
|
|
150
|
+
class="dropdown icon"
|
|
151
|
+
/>
|
|
152
|
+
<div
|
|
153
|
+
aria-multiselectable="false"
|
|
154
|
+
class="menu transition"
|
|
155
|
+
role="listbox"
|
|
156
|
+
>
|
|
157
|
+
<div
|
|
158
|
+
aria-checked="false"
|
|
159
|
+
aria-selected="true"
|
|
160
|
+
class="selected item"
|
|
161
|
+
role="option"
|
|
162
|
+
style="pointer-events: all;"
|
|
163
|
+
>
|
|
164
|
+
<span
|
|
165
|
+
class="text"
|
|
166
|
+
>
|
|
167
|
+
No Selection
|
|
168
|
+
</span>
|
|
169
|
+
</div>
|
|
170
|
+
<div
|
|
171
|
+
aria-checked="false"
|
|
172
|
+
aria-selected="false"
|
|
173
|
+
class="item"
|
|
174
|
+
role="option"
|
|
175
|
+
style="pointer-events: all;"
|
|
176
|
+
>
|
|
177
|
+
<span
|
|
178
|
+
class="text"
|
|
179
|
+
>
|
|
180
|
+
Value One
|
|
181
|
+
</span>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
101
189
|
</form>
|
|
102
190
|
<div
|
|
103
191
|
class="ai-action-edit-form-actions actions"
|
|
104
|
-
style="display: none;"
|
|
105
192
|
>
|
|
106
193
|
<a
|
|
107
194
|
class="ui secondary button"
|
|
195
|
+
data-discover="true"
|
|
108
196
|
href="/"
|
|
109
197
|
role="button"
|
|
110
198
|
>
|
|
@@ -290,17 +378,6 @@ exports[`<ActionForm /> matches the latest snapshot when is editing 1`] = `
|
|
|
290
378
|
</div>
|
|
291
379
|
</div>
|
|
292
380
|
</div>
|
|
293
|
-
<div
|
|
294
|
-
class="ui inverted dimmer"
|
|
295
|
-
>
|
|
296
|
-
<div
|
|
297
|
-
class="content"
|
|
298
|
-
>
|
|
299
|
-
<div
|
|
300
|
-
class="ui loader"
|
|
301
|
-
/>
|
|
302
|
-
</div>
|
|
303
|
-
</div>
|
|
304
381
|
</div>
|
|
305
382
|
</div>
|
|
306
383
|
</div>
|
|
@@ -310,6 +387,7 @@ exports[`<ActionForm /> matches the latest snapshot when is editing 1`] = `
|
|
|
310
387
|
>
|
|
311
388
|
<a
|
|
312
389
|
class="ui secondary button"
|
|
390
|
+
data-discover="true"
|
|
313
391
|
href="/"
|
|
314
392
|
role="button"
|
|
315
393
|
>
|
|
@@ -4,13 +4,13 @@ exports[`<ActionNew /> matches the latest snapshot 1`] = `
|
|
|
4
4
|
<div>
|
|
5
5
|
<div
|
|
6
6
|
class="ui breadcrumb"
|
|
7
|
-
style=""
|
|
8
7
|
>
|
|
9
8
|
<a
|
|
10
9
|
class="section"
|
|
10
|
+
data-discover="true"
|
|
11
11
|
href="/tasks"
|
|
12
12
|
>
|
|
13
|
-
|
|
13
|
+
navigation.admin.actions
|
|
14
14
|
</a>
|
|
15
15
|
<i
|
|
16
16
|
aria-hidden="true"
|
|
@@ -19,12 +19,11 @@ exports[`<ActionNew /> matches the latest snapshot 1`] = `
|
|
|
19
19
|
<div
|
|
20
20
|
class="active section"
|
|
21
21
|
>
|
|
22
|
-
|
|
22
|
+
ai.actions.actions.create
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
25
25
|
<div
|
|
26
26
|
class="ui segment ui text container ai-action-edit ai-action-new"
|
|
27
|
-
style=""
|
|
28
27
|
>
|
|
29
28
|
<div
|
|
30
29
|
class="ai-action-edit-header"
|
|
@@ -39,14 +38,14 @@ exports[`<ActionNew /> matches the latest snapshot 1`] = `
|
|
|
39
38
|
<div
|
|
40
39
|
class="content"
|
|
41
40
|
>
|
|
42
|
-
|
|
41
|
+
ai.actions.actions.create
|
|
43
42
|
</div>
|
|
44
43
|
</h2>
|
|
45
44
|
<div
|
|
46
45
|
class="field ai-action-edit-header-active"
|
|
47
46
|
>
|
|
48
47
|
<label>
|
|
49
|
-
|
|
48
|
+
ai.actions.actions.form.active
|
|
50
49
|
</label>
|
|
51
50
|
<div
|
|
52
51
|
class="ui checked fitted toggle checkbox"
|
|
@@ -57,7 +56,6 @@ exports[`<ActionNew /> matches the latest snapshot 1`] = `
|
|
|
57
56
|
readonly=""
|
|
58
57
|
tabindex="0"
|
|
59
58
|
type="checkbox"
|
|
60
|
-
value=""
|
|
61
59
|
/>
|
|
62
60
|
<label />
|
|
63
61
|
</div>
|
|
@@ -71,11 +69,11 @@ exports[`<ActionNew /> matches the latest snapshot 1`] = `
|
|
|
71
69
|
class="required field"
|
|
72
70
|
>
|
|
73
71
|
<label>
|
|
74
|
-
|
|
72
|
+
ai.actions.actions.form.name
|
|
75
73
|
<div
|
|
76
74
|
class="ui left pointing label"
|
|
77
75
|
>
|
|
78
|
-
|
|
76
|
+
template.form.validation.empty_required
|
|
79
77
|
</div>
|
|
80
78
|
</label>
|
|
81
79
|
<div
|
|
@@ -96,11 +94,11 @@ exports[`<ActionNew /> matches the latest snapshot 1`] = `
|
|
|
96
94
|
class="required field"
|
|
97
95
|
>
|
|
98
96
|
<label>
|
|
99
|
-
|
|
97
|
+
ai.actions.actions.form.user
|
|
100
98
|
<div
|
|
101
99
|
class="ui left pointing label"
|
|
102
100
|
>
|
|
103
|
-
|
|
101
|
+
template.form.validation.empty_required
|
|
104
102
|
</div>
|
|
105
103
|
</label>
|
|
106
104
|
<div
|
|
@@ -119,242 +117,7 @@ exports[`<ActionNew /> matches the latest snapshot 1`] = `
|
|
|
119
117
|
class="divider default text"
|
|
120
118
|
role="alert"
|
|
121
119
|
>
|
|
122
|
-
|
|
123
|
-
</div>
|
|
124
|
-
<i
|
|
125
|
-
aria-hidden="true"
|
|
126
|
-
class="dropdown icon"
|
|
127
|
-
/>
|
|
128
|
-
<div
|
|
129
|
-
class="menu transition"
|
|
130
|
-
>
|
|
131
|
-
<div
|
|
132
|
-
aria-checked="false"
|
|
133
|
-
aria-selected="true"
|
|
134
|
-
class="selected item"
|
|
135
|
-
role="option"
|
|
136
|
-
style="pointer-events: all;"
|
|
137
|
-
>
|
|
138
|
-
<span
|
|
139
|
-
class="text"
|
|
140
|
-
>
|
|
141
|
-
Agent 1
|
|
142
|
-
</span>
|
|
143
|
-
</div>
|
|
144
|
-
<div
|
|
145
|
-
aria-checked="false"
|
|
146
|
-
aria-selected="false"
|
|
147
|
-
class="item"
|
|
148
|
-
role="option"
|
|
149
|
-
style="pointer-events: all;"
|
|
150
|
-
>
|
|
151
|
-
<span
|
|
152
|
-
class="text"
|
|
153
|
-
>
|
|
154
|
-
Agent 2
|
|
155
|
-
</span>
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
<div
|
|
162
|
-
class="required field"
|
|
163
|
-
>
|
|
164
|
-
<label>
|
|
165
|
-
Template
|
|
166
|
-
<div
|
|
167
|
-
class="ui left pointing label"
|
|
168
|
-
>
|
|
169
|
-
Can't be empty
|
|
170
|
-
</div>
|
|
171
|
-
</label>
|
|
172
|
-
<div
|
|
173
|
-
class="field"
|
|
174
|
-
>
|
|
175
|
-
<div
|
|
176
|
-
aria-busy="true"
|
|
177
|
-
aria-disabled="false"
|
|
178
|
-
aria-expanded="false"
|
|
179
|
-
class="ui loading search selection dropdown"
|
|
180
|
-
name="template"
|
|
181
|
-
role="combobox"
|
|
182
|
-
>
|
|
183
|
-
<input
|
|
184
|
-
aria-autocomplete="list"
|
|
185
|
-
autocomplete="off"
|
|
186
|
-
class="search"
|
|
187
|
-
tabindex="0"
|
|
188
|
-
type="text"
|
|
189
|
-
value=""
|
|
190
|
-
/>
|
|
191
|
-
<div
|
|
192
|
-
aria-atomic="true"
|
|
193
|
-
aria-live="polite"
|
|
194
|
-
class="divider default text"
|
|
195
|
-
role="alert"
|
|
196
|
-
>
|
|
197
|
-
Loading
|
|
198
|
-
</div>
|
|
199
|
-
<i
|
|
200
|
-
aria-hidden="true"
|
|
201
|
-
class="dropdown icon"
|
|
202
|
-
/>
|
|
203
|
-
<div
|
|
204
|
-
class="menu transition"
|
|
205
|
-
role="listbox"
|
|
206
|
-
>
|
|
207
|
-
<div
|
|
208
|
-
class="message"
|
|
209
|
-
>
|
|
210
|
-
No results found.
|
|
211
|
-
</div>
|
|
212
|
-
</div>
|
|
213
|
-
</div>
|
|
214
|
-
</div>
|
|
215
|
-
</div>
|
|
216
|
-
</form>
|
|
217
|
-
<div
|
|
218
|
-
class="ai-action-edit-form-actions actions"
|
|
219
|
-
>
|
|
220
|
-
<a
|
|
221
|
-
class="ui secondary button"
|
|
222
|
-
href="/"
|
|
223
|
-
role="button"
|
|
224
|
-
>
|
|
225
|
-
Cancel
|
|
226
|
-
</a>
|
|
227
|
-
<button
|
|
228
|
-
class="ui primary disabled button"
|
|
229
|
-
disabled=""
|
|
230
|
-
role="button"
|
|
231
|
-
tabindex="-1"
|
|
232
|
-
>
|
|
233
|
-
Create
|
|
234
|
-
</button>
|
|
235
|
-
</div>
|
|
236
|
-
</div>
|
|
237
|
-
</div>
|
|
238
|
-
`;
|
|
239
|
-
|
|
240
|
-
exports[`<ActionNew /> matches the latest snapshot 2`] = `
|
|
241
|
-
<div>
|
|
242
|
-
<div
|
|
243
|
-
class="ui breadcrumb"
|
|
244
|
-
>
|
|
245
|
-
<a
|
|
246
|
-
class="section"
|
|
247
|
-
href="/tasks"
|
|
248
|
-
>
|
|
249
|
-
Actions
|
|
250
|
-
</a>
|
|
251
|
-
<i
|
|
252
|
-
aria-hidden="true"
|
|
253
|
-
class="right angle icon divider"
|
|
254
|
-
/>
|
|
255
|
-
<div
|
|
256
|
-
class="active section"
|
|
257
|
-
>
|
|
258
|
-
New Action
|
|
259
|
-
</div>
|
|
260
|
-
</div>
|
|
261
|
-
<div
|
|
262
|
-
class="ui segment ui text container ai-action-edit ai-action-new"
|
|
263
|
-
>
|
|
264
|
-
<div
|
|
265
|
-
class="ai-action-edit-header"
|
|
266
|
-
>
|
|
267
|
-
<h2
|
|
268
|
-
class="ui header"
|
|
269
|
-
>
|
|
270
|
-
<i
|
|
271
|
-
aria-hidden="true"
|
|
272
|
-
class="caret square right icon"
|
|
273
|
-
/>
|
|
274
|
-
<div
|
|
275
|
-
class="content"
|
|
276
|
-
>
|
|
277
|
-
New Action
|
|
278
|
-
</div>
|
|
279
|
-
</h2>
|
|
280
|
-
<div
|
|
281
|
-
class="field ai-action-edit-header-active"
|
|
282
|
-
>
|
|
283
|
-
<label>
|
|
284
|
-
Active
|
|
285
|
-
</label>
|
|
286
|
-
<div
|
|
287
|
-
class="ui checked fitted toggle checkbox"
|
|
288
|
-
>
|
|
289
|
-
<input
|
|
290
|
-
checked=""
|
|
291
|
-
class="hidden"
|
|
292
|
-
readonly=""
|
|
293
|
-
tabindex="0"
|
|
294
|
-
type="checkbox"
|
|
295
|
-
value=""
|
|
296
|
-
/>
|
|
297
|
-
<label />
|
|
298
|
-
</div>
|
|
299
|
-
</div>
|
|
300
|
-
</div>
|
|
301
|
-
<form
|
|
302
|
-
class="ui form"
|
|
303
|
-
role="form"
|
|
304
|
-
>
|
|
305
|
-
<div
|
|
306
|
-
class="required field"
|
|
307
|
-
>
|
|
308
|
-
<label>
|
|
309
|
-
Name
|
|
310
|
-
<div
|
|
311
|
-
class="ui left pointing label"
|
|
312
|
-
>
|
|
313
|
-
Can't be empty
|
|
314
|
-
</div>
|
|
315
|
-
</label>
|
|
316
|
-
<div
|
|
317
|
-
class="field"
|
|
318
|
-
>
|
|
319
|
-
<div
|
|
320
|
-
class="ui input"
|
|
321
|
-
>
|
|
322
|
-
<input
|
|
323
|
-
name="name"
|
|
324
|
-
type="text"
|
|
325
|
-
value=""
|
|
326
|
-
/>
|
|
327
|
-
</div>
|
|
328
|
-
</div>
|
|
329
|
-
</div>
|
|
330
|
-
<div
|
|
331
|
-
class="required field"
|
|
332
|
-
>
|
|
333
|
-
<label>
|
|
334
|
-
Agent
|
|
335
|
-
<div
|
|
336
|
-
class="ui left pointing label"
|
|
337
|
-
>
|
|
338
|
-
Can't be empty
|
|
339
|
-
</div>
|
|
340
|
-
</label>
|
|
341
|
-
<div
|
|
342
|
-
class="field"
|
|
343
|
-
>
|
|
344
|
-
<div
|
|
345
|
-
aria-expanded="false"
|
|
346
|
-
class="ui fluid selection dropdown"
|
|
347
|
-
name="user_id"
|
|
348
|
-
role="listbox"
|
|
349
|
-
tabindex="0"
|
|
350
|
-
>
|
|
351
|
-
<div
|
|
352
|
-
aria-atomic="true"
|
|
353
|
-
aria-live="polite"
|
|
354
|
-
class="divider default text"
|
|
355
|
-
role="alert"
|
|
356
|
-
>
|
|
357
|
-
Select One...
|
|
120
|
+
fields.dropdown.placeholder
|
|
358
121
|
</div>
|
|
359
122
|
<i
|
|
360
123
|
aria-hidden="true"
|
|
@@ -410,7 +173,7 @@ exports[`<ActionNew /> matches the latest snapshot 2`] = `
|
|
|
410
173
|
<div
|
|
411
174
|
class="ui left pointing label"
|
|
412
175
|
>
|
|
413
|
-
|
|
176
|
+
template.form.validation.empty_required
|
|
414
177
|
</div>
|
|
415
178
|
</label>
|
|
416
179
|
<div
|
|
@@ -439,7 +202,7 @@ exports[`<ActionNew /> matches the latest snapshot 2`] = `
|
|
|
439
202
|
class="divider default text"
|
|
440
203
|
role="alert"
|
|
441
204
|
>
|
|
442
|
-
|
|
205
|
+
fields.dropdown.placeholder
|
|
443
206
|
</div>
|
|
444
207
|
<i
|
|
445
208
|
aria-hidden="true"
|
|
@@ -460,7 +223,7 @@ exports[`<ActionNew /> matches the latest snapshot 2`] = `
|
|
|
460
223
|
<span
|
|
461
224
|
class="text"
|
|
462
225
|
>
|
|
463
|
-
|
|
226
|
+
selector.no.selection
|
|
464
227
|
</span>
|
|
465
228
|
</div>
|
|
466
229
|
<div
|
|
@@ -479,17 +242,6 @@ exports[`<ActionNew /> matches the latest snapshot 2`] = `
|
|
|
479
242
|
</div>
|
|
480
243
|
</div>
|
|
481
244
|
</div>
|
|
482
|
-
<div
|
|
483
|
-
class="ui inverted dimmer"
|
|
484
|
-
>
|
|
485
|
-
<div
|
|
486
|
-
class="content"
|
|
487
|
-
>
|
|
488
|
-
<div
|
|
489
|
-
class="ui loader"
|
|
490
|
-
/>
|
|
491
|
-
</div>
|
|
492
|
-
</div>
|
|
493
245
|
</div>
|
|
494
246
|
</div>
|
|
495
247
|
</div>
|
|
@@ -499,10 +251,11 @@ exports[`<ActionNew /> matches the latest snapshot 2`] = `
|
|
|
499
251
|
>
|
|
500
252
|
<a
|
|
501
253
|
class="ui secondary button"
|
|
254
|
+
data-discover="true"
|
|
502
255
|
href="/"
|
|
503
256
|
role="button"
|
|
504
257
|
>
|
|
505
|
-
|
|
258
|
+
actions.cancel
|
|
506
259
|
</a>
|
|
507
260
|
<button
|
|
508
261
|
class="ui primary disabled button"
|
|
@@ -510,7 +263,7 @@ exports[`<ActionNew /> matches the latest snapshot 2`] = `
|
|
|
510
263
|
role="button"
|
|
511
264
|
tabindex="-1"
|
|
512
265
|
>
|
|
513
|
-
|
|
266
|
+
actions.create
|
|
514
267
|
</button>
|
|
515
268
|
</div>
|
|
516
269
|
</div>
|