@datalayer/agent-runtimes 1.3.75 โ 1.3.79
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/lib/agents/AgentDetails.d.ts +16 -2
- package/lib/agents/AgentDetails.js +381 -272
- package/lib/chat/ChatFloating.d.ts +12 -2
- package/lib/chat/ChatFloating.js +48 -11
- package/lib/chat/assistant/AgentDetailsDialog.d.ts +21 -0
- package/lib/chat/assistant/AgentDetailsDialog.js +19 -0
- package/lib/chat/assistant/AssistantStage.d.ts +51 -5
- package/lib/chat/assistant/AssistantStage.js +60 -10
- package/lib/chat/assistant/BalloonParts.d.ts +18 -4
- package/lib/chat/assistant/BalloonParts.js +46 -41
- package/lib/chat/assistant/BalloonVisual.js +2 -1
- package/lib/chat/assistant/SandboxDetailsDialog.d.ts +44 -0
- package/lib/chat/assistant/SandboxDetailsDialog.js +214 -0
- package/lib/chat/assistant/SpeechBalloon.d.ts +8 -6
- package/lib/chat/assistant/SpeechBalloon.js +29 -30
- package/lib/chat/assistant/assistantDetails.d.ts +84 -0
- package/lib/chat/assistant/assistantDetails.js +140 -0
- package/lib/chat/assistant/formats/files.d.ts +23 -0
- package/lib/chat/assistant/formats/files.js +48 -0
- package/lib/chat/assistant/formats/index.d.ts +2 -0
- package/lib/chat/assistant/formats/index.js +1 -0
- package/lib/chat/assistant/state.d.ts +7 -14
- package/lib/chat/assistant/state.js +21 -20
- package/lib/chat/assistant/toolLine.d.ts +16 -0
- package/lib/chat/assistant/toolLine.js +46 -0
- package/lib/chat/base/ChatBase.js +20 -0
- package/lib/chat/base/loopMessage.d.ts +37 -0
- package/lib/chat/base/loopMessage.js +37 -0
- package/lib/chat/messages/ChatMarkdown.d.ts +16 -0
- package/lib/chat/messages/ChatMarkdown.js +18 -0
- package/lib/chat/messages/ChatMessageList.d.ts +8 -1
- package/lib/chat/messages/ChatMessageList.js +24 -18
- package/lib/chat/styles/streamdownStyles.js +3 -1
- package/lib/chat/tools/ToolCallDisplay.d.ts +8 -1
- package/lib/chat/tools/ToolCallDisplay.js +8 -7
- package/lib/components/code-sandboxes/CodeSandboxCellVariablesDialog.js +5 -11
- package/lib/components/code-sandboxes/CodeSandboxVariables.d.ts +8 -0
- package/lib/components/code-sandboxes/CodeSandboxVariables.js +17 -11
- package/lib/components/teams/A2ATeamGraph.d.ts +30 -3
- package/lib/components/teams/A2ATeamGraph.js +264 -41
- package/lib/components/teams/TeamNotebookView.js +15 -0
- package/lib/components/teams/teamNotebookKernel.d.ts +3 -0
- package/lib/components/teams/teamNotebookKernel.js +17 -0
- package/lib/components/teams/useA2ATeam.d.ts +10 -6
- package/lib/components/teams/useA2ATeam.js +29 -8
- package/lib/examples/AgentA2ATeamExample.js +6 -0
- package/lib/examples/AssistantExample.js +3 -24
- package/lib/examples/AssistantGalleryExample.js +2 -1
- package/lib/examples/exampleGroups.d.ts +1 -1
- package/lib/examples/exampleGroups.js +1 -1
- package/lib/examples/utils/assistantGallery.d.ts +7 -6
- package/lib/examples/utils/assistantGallery.js +23 -8
- package/lib/jupyter/exec/Python.d.ts +0 -1
- package/lib/jupyter/exec/Python.js +0 -32
- package/lib/jupyter/exec/Snippets.d.ts +4 -12
- package/lib/jupyter/exec/Snippets.js +0 -8
- package/lib/loop/apps/AppFeedback.js +3 -1
- package/lib/loop/apps/AppKept.d.ts +22 -0
- package/lib/loop/apps/AppKept.js +36 -0
- package/lib/loop/apps/AppRenderer.d.ts +11 -1
- package/lib/loop/apps/AppRenderer.js +21 -3
- package/lib/loop/apps/checks.d.ts +7 -0
- package/lib/loop/apps/checks.js +39 -0
- package/lib/loop/apps/index.d.ts +3 -0
- package/lib/loop/apps/index.js +3 -0
- package/lib/loop/apps/kept.d.ts +30 -0
- package/lib/loop/apps/kept.js +52 -0
- package/lib/loop/apps/records.d.ts +12 -4
- package/lib/loop/apps/records.js +13 -5
- package/lib/loop/apps/saved.d.ts +30 -0
- package/lib/loop/apps/saved.js +40 -0
- package/lib/loop/embed/AppEmbed.d.ts +8 -1
- package/lib/loop/embed/AppEmbed.js +4 -4
- package/lib/loop/embed/LoopEmbed.d.ts +6 -1
- package/lib/loop/embed/LoopEmbed.js +4 -2
- package/lib/loop/embed/element.js +1 -1
- package/lib/loop/plugins/agents/DatalayerAgentBridge.js +12 -6
- package/lib/loop/plugins/agents/browserService.d.ts +7 -1
- package/lib/loop/plugins/agents/browserService.js +4 -0
- package/lib/loop/plugins/agents/plugin.d.ts +16 -0
- package/lib/loop/plugins/agents/switchable.d.ts +3 -0
- package/lib/loop/plugins/agents/switchable.js +1 -0
- package/lib/loop/plugins/app-activity/index.js +3 -0
- package/lib/loop/plugins/app-computer/index.js +3 -0
- package/lib/loop/plugins/app-rules/AppRulesCard.d.ts +5 -0
- package/lib/loop/plugins/app-rules/AppRulesCard.js +25 -6
- package/lib/loop/plugins/app-rules/index.js +3 -0
- package/lib/loop/plugins/assistant/index.d.ts +7 -2
- package/lib/loop/plugins/assistant/index.js +53 -4
- package/lib/loop/plugins/assistant-characters/index.d.ts +7 -0
- package/lib/loop/plugins/assistant-characters/index.js +17 -0
- package/lib/loop/plugins/chat/ChatView.js +4 -1
- package/lib/loop/plugins/page-layout/SplitLayout.d.ts +2 -1
- package/lib/loop/plugins/page-layout/SplitLayout.js +4 -0
- package/lib/loop/presets.d.ts +4 -0
- package/lib/loop/presets.js +3 -1
- package/lib/loop/shell/LoopWorkspace.d.ts +7 -0
- package/lib/loop/shell/LoopWorkspace.js +5 -4
- package/lib/loop/shell/SidebarRail.d.ts +53 -0
- package/lib/loop/shell/SidebarRail.js +74 -0
- package/lib/loop/shell/index.d.ts +2 -0
- package/lib/loop/shell/index.js +2 -0
- package/lib/loop/shell/paneMotion.d.ts +21 -0
- package/lib/loop/shell/paneMotion.js +37 -0
- package/lib/specs/apps.js +8 -5
- package/lib/specs/uiPlugins.js +529 -0
- package/lib/types/agentspecs.d.ts +5 -3
- package/lib/types/chat.d.ts +5 -0
- package/package.json +2 -2
- package/scripts/codegen/generate_ui_plugins.py +112 -2
package/lib/specs/uiPlugins.js
CHANGED
|
@@ -17,7 +17,26 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
17
17
|
category: 'text',
|
|
18
18
|
emoji: '๐ค',
|
|
19
19
|
description: 'Words on the page: a heading, a paragraph, the answer โ plain or Markdown.',
|
|
20
|
+
version: '0.9.0',
|
|
20
21
|
standard: true,
|
|
22
|
+
properties: {
|
|
23
|
+
type: 'object',
|
|
24
|
+
required: ['text'],
|
|
25
|
+
properties: {
|
|
26
|
+
text: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
title: 'Words',
|
|
29
|
+
description: 'What it says, plain or in simple Markdown.',
|
|
30
|
+
},
|
|
31
|
+
variant: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
title: 'Style',
|
|
34
|
+
description: 'A heading of a level, a caption, or body text.',
|
|
35
|
+
enum: ['h1', 'h2', 'h3', 'h4', 'h5', 'caption', 'body'],
|
|
36
|
+
default: 'body',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
21
40
|
events: [],
|
|
22
41
|
},
|
|
23
42
|
{
|
|
@@ -26,7 +45,45 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
26
45
|
category: 'media',
|
|
27
46
|
emoji: '๐ผ๏ธ',
|
|
28
47
|
description: 'A picture: a chart rendered elsewhere, a logo, a photo.',
|
|
48
|
+
version: '0.9.0',
|
|
29
49
|
standard: true,
|
|
50
|
+
properties: {
|
|
51
|
+
type: 'object',
|
|
52
|
+
required: ['url'],
|
|
53
|
+
properties: {
|
|
54
|
+
url: {
|
|
55
|
+
type: 'string',
|
|
56
|
+
title: 'Address',
|
|
57
|
+
description: 'Where the picture is.',
|
|
58
|
+
},
|
|
59
|
+
description: {
|
|
60
|
+
type: 'string',
|
|
61
|
+
title: 'Description',
|
|
62
|
+
description: 'What it shows, for those who cannot see it.',
|
|
63
|
+
},
|
|
64
|
+
fit: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
title: 'Fit',
|
|
67
|
+
description: 'How it is resized to its place.',
|
|
68
|
+
enum: ['contain', 'cover', 'fill', 'none', 'scaleDown'],
|
|
69
|
+
default: 'fill',
|
|
70
|
+
},
|
|
71
|
+
variant: {
|
|
72
|
+
type: 'string',
|
|
73
|
+
title: 'Size',
|
|
74
|
+
description: 'An icon, an avatar, a feature or a header.',
|
|
75
|
+
enum: [
|
|
76
|
+
'icon',
|
|
77
|
+
'avatar',
|
|
78
|
+
'smallFeature',
|
|
79
|
+
'mediumFeature',
|
|
80
|
+
'largeFeature',
|
|
81
|
+
'header',
|
|
82
|
+
],
|
|
83
|
+
default: 'mediumFeature',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
30
87
|
events: [],
|
|
31
88
|
},
|
|
32
89
|
{
|
|
@@ -35,7 +92,80 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
35
92
|
category: 'media',
|
|
36
93
|
emoji: '๐ฃ',
|
|
37
94
|
description: 'A small drawing that says what something is: a check, a warning, a link.',
|
|
95
|
+
version: '0.9.0',
|
|
38
96
|
standard: true,
|
|
97
|
+
properties: {
|
|
98
|
+
type: 'object',
|
|
99
|
+
required: ['name'],
|
|
100
|
+
properties: {
|
|
101
|
+
name: {
|
|
102
|
+
type: 'string',
|
|
103
|
+
title: 'Icon',
|
|
104
|
+
description: 'Which drawing, by its name.',
|
|
105
|
+
enum: [
|
|
106
|
+
'accountCircle',
|
|
107
|
+
'add',
|
|
108
|
+
'arrowBack',
|
|
109
|
+
'arrowForward',
|
|
110
|
+
'attachFile',
|
|
111
|
+
'calendarToday',
|
|
112
|
+
'call',
|
|
113
|
+
'camera',
|
|
114
|
+
'check',
|
|
115
|
+
'close',
|
|
116
|
+
'delete',
|
|
117
|
+
'download',
|
|
118
|
+
'edit',
|
|
119
|
+
'event',
|
|
120
|
+
'error',
|
|
121
|
+
'fastForward',
|
|
122
|
+
'favorite',
|
|
123
|
+
'favoriteOff',
|
|
124
|
+
'folder',
|
|
125
|
+
'help',
|
|
126
|
+
'home',
|
|
127
|
+
'info',
|
|
128
|
+
'locationOn',
|
|
129
|
+
'lock',
|
|
130
|
+
'lockOpen',
|
|
131
|
+
'mail',
|
|
132
|
+
'menu',
|
|
133
|
+
'moreVert',
|
|
134
|
+
'moreHoriz',
|
|
135
|
+
'notificationsOff',
|
|
136
|
+
'notifications',
|
|
137
|
+
'pause',
|
|
138
|
+
'payment',
|
|
139
|
+
'person',
|
|
140
|
+
'phone',
|
|
141
|
+
'photo',
|
|
142
|
+
'play',
|
|
143
|
+
'print',
|
|
144
|
+
'refresh',
|
|
145
|
+
'rewind',
|
|
146
|
+
'search',
|
|
147
|
+
'send',
|
|
148
|
+
'settings',
|
|
149
|
+
'share',
|
|
150
|
+
'shoppingCart',
|
|
151
|
+
'skipNext',
|
|
152
|
+
'skipPrevious',
|
|
153
|
+
'star',
|
|
154
|
+
'starHalf',
|
|
155
|
+
'starOff',
|
|
156
|
+
'stop',
|
|
157
|
+
'upload',
|
|
158
|
+
'visibility',
|
|
159
|
+
'visibilityOff',
|
|
160
|
+
'volumeDown',
|
|
161
|
+
'volumeMute',
|
|
162
|
+
'volumeOff',
|
|
163
|
+
'volumeUp',
|
|
164
|
+
'warning',
|
|
165
|
+
],
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
39
169
|
events: [],
|
|
40
170
|
},
|
|
41
171
|
{
|
|
@@ -44,7 +174,19 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
44
174
|
category: 'media',
|
|
45
175
|
emoji: '๐ฌ',
|
|
46
176
|
description: 'A film played in place.',
|
|
177
|
+
version: '0.9.0',
|
|
47
178
|
standard: true,
|
|
179
|
+
properties: {
|
|
180
|
+
type: 'object',
|
|
181
|
+
required: ['url'],
|
|
182
|
+
properties: {
|
|
183
|
+
url: {
|
|
184
|
+
type: 'string',
|
|
185
|
+
title: 'Address',
|
|
186
|
+
description: 'Where the film is.',
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
48
190
|
events: [],
|
|
49
191
|
},
|
|
50
192
|
{
|
|
@@ -53,7 +195,24 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
53
195
|
category: 'media',
|
|
54
196
|
emoji: '๐',
|
|
55
197
|
description: 'A sound played in place: a recording, a summary read aloud.',
|
|
198
|
+
version: '0.9.0',
|
|
56
199
|
standard: true,
|
|
200
|
+
properties: {
|
|
201
|
+
type: 'object',
|
|
202
|
+
required: ['url'],
|
|
203
|
+
properties: {
|
|
204
|
+
url: {
|
|
205
|
+
type: 'string',
|
|
206
|
+
title: 'Address',
|
|
207
|
+
description: 'Where the sound is.',
|
|
208
|
+
},
|
|
209
|
+
description: {
|
|
210
|
+
type: 'string',
|
|
211
|
+
title: 'Description',
|
|
212
|
+
description: 'What it is: a title or a summary.',
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
},
|
|
57
216
|
events: [],
|
|
58
217
|
},
|
|
59
218
|
{
|
|
@@ -62,7 +221,44 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
62
221
|
category: 'layout',
|
|
63
222
|
emoji: 'โก๏ธ',
|
|
64
223
|
description: 'Children side by side, left to right.',
|
|
224
|
+
version: '0.9.0',
|
|
65
225
|
standard: true,
|
|
226
|
+
properties: {
|
|
227
|
+
type: 'object',
|
|
228
|
+
required: ['children'],
|
|
229
|
+
properties: {
|
|
230
|
+
children: {
|
|
231
|
+
type: 'array',
|
|
232
|
+
title: 'Blocks',
|
|
233
|
+
description: 'The blocks inside it, by id, left to right.',
|
|
234
|
+
items: {
|
|
235
|
+
type: 'string',
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
justify: {
|
|
239
|
+
type: 'string',
|
|
240
|
+
title: 'Spacing',
|
|
241
|
+
description: 'How the blocks share the width.',
|
|
242
|
+
enum: [
|
|
243
|
+
'center',
|
|
244
|
+
'end',
|
|
245
|
+
'spaceAround',
|
|
246
|
+
'spaceBetween',
|
|
247
|
+
'spaceEvenly',
|
|
248
|
+
'start',
|
|
249
|
+
'stretch',
|
|
250
|
+
],
|
|
251
|
+
default: 'start',
|
|
252
|
+
},
|
|
253
|
+
align: {
|
|
254
|
+
type: 'string',
|
|
255
|
+
title: 'Alignment',
|
|
256
|
+
description: 'How the blocks line up top to bottom.',
|
|
257
|
+
enum: ['start', 'center', 'end', 'stretch'],
|
|
258
|
+
default: 'stretch',
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
},
|
|
66
262
|
events: [],
|
|
67
263
|
},
|
|
68
264
|
{
|
|
@@ -71,7 +267,44 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
71
267
|
category: 'layout',
|
|
72
268
|
emoji: 'โฌ๏ธ',
|
|
73
269
|
description: 'Children one under the other.',
|
|
270
|
+
version: '0.9.0',
|
|
74
271
|
standard: true,
|
|
272
|
+
properties: {
|
|
273
|
+
type: 'object',
|
|
274
|
+
required: ['children'],
|
|
275
|
+
properties: {
|
|
276
|
+
children: {
|
|
277
|
+
type: 'array',
|
|
278
|
+
title: 'Blocks',
|
|
279
|
+
description: 'The blocks inside it, by id, top to bottom.',
|
|
280
|
+
items: {
|
|
281
|
+
type: 'string',
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
justify: {
|
|
285
|
+
type: 'string',
|
|
286
|
+
title: 'Spacing',
|
|
287
|
+
description: 'How the blocks share the height.',
|
|
288
|
+
enum: [
|
|
289
|
+
'start',
|
|
290
|
+
'center',
|
|
291
|
+
'end',
|
|
292
|
+
'spaceBetween',
|
|
293
|
+
'spaceAround',
|
|
294
|
+
'spaceEvenly',
|
|
295
|
+
'stretch',
|
|
296
|
+
],
|
|
297
|
+
default: 'start',
|
|
298
|
+
},
|
|
299
|
+
align: {
|
|
300
|
+
type: 'string',
|
|
301
|
+
title: 'Alignment',
|
|
302
|
+
description: 'How the blocks line up left to right.',
|
|
303
|
+
enum: ['center', 'end', 'start', 'stretch'],
|
|
304
|
+
default: 'stretch',
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
},
|
|
75
308
|
events: [],
|
|
76
309
|
},
|
|
77
310
|
{
|
|
@@ -80,7 +313,36 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
80
313
|
category: 'layout',
|
|
81
314
|
emoji: '๐',
|
|
82
315
|
description: 'Items one after the other, each drawn by the same children: results, alternatives, steps.',
|
|
316
|
+
version: '0.9.0',
|
|
83
317
|
standard: true,
|
|
318
|
+
properties: {
|
|
319
|
+
type: 'object',
|
|
320
|
+
required: ['children'],
|
|
321
|
+
properties: {
|
|
322
|
+
children: {
|
|
323
|
+
type: 'array',
|
|
324
|
+
title: 'Blocks',
|
|
325
|
+
description: 'The blocks inside it, by id, or the template repeated over a list.',
|
|
326
|
+
items: {
|
|
327
|
+
type: 'string',
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
direction: {
|
|
331
|
+
type: 'string',
|
|
332
|
+
title: 'Direction',
|
|
333
|
+
description: 'One under the other, or side by side.',
|
|
334
|
+
enum: ['vertical', 'horizontal'],
|
|
335
|
+
default: 'vertical',
|
|
336
|
+
},
|
|
337
|
+
align: {
|
|
338
|
+
type: 'string',
|
|
339
|
+
title: 'Alignment',
|
|
340
|
+
description: 'How the items line up across.',
|
|
341
|
+
enum: ['start', 'center', 'end', 'stretch'],
|
|
342
|
+
default: 'stretch',
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
},
|
|
84
346
|
events: [],
|
|
85
347
|
},
|
|
86
348
|
{
|
|
@@ -89,7 +351,19 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
89
351
|
category: 'layout',
|
|
90
352
|
emoji: '๐๏ธ',
|
|
91
353
|
description: 'A framed group: what belongs together, set apart.',
|
|
354
|
+
version: '0.9.0',
|
|
92
355
|
standard: true,
|
|
356
|
+
properties: {
|
|
357
|
+
type: 'object',
|
|
358
|
+
required: ['child'],
|
|
359
|
+
properties: {
|
|
360
|
+
child: {
|
|
361
|
+
type: 'string',
|
|
362
|
+
title: 'Block',
|
|
363
|
+
description: 'The one block inside it, by id; a Row or Column for several.',
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
},
|
|
93
367
|
events: [],
|
|
94
368
|
},
|
|
95
369
|
{
|
|
@@ -98,7 +372,32 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
98
372
|
category: 'layout',
|
|
99
373
|
emoji: '๐',
|
|
100
374
|
description: 'Several views of one place, one shown at a time.',
|
|
375
|
+
version: '0.9.0',
|
|
101
376
|
standard: true,
|
|
377
|
+
properties: {
|
|
378
|
+
type: 'object',
|
|
379
|
+
required: ['tabs'],
|
|
380
|
+
properties: {
|
|
381
|
+
tabs: {
|
|
382
|
+
type: 'array',
|
|
383
|
+
title: 'Tabs',
|
|
384
|
+
description: "Each tab's title and the block it shows, by id.",
|
|
385
|
+
minItems: 1,
|
|
386
|
+
items: {
|
|
387
|
+
type: 'object',
|
|
388
|
+
required: ['title', 'child'],
|
|
389
|
+
properties: {
|
|
390
|
+
title: {
|
|
391
|
+
type: 'string',
|
|
392
|
+
},
|
|
393
|
+
child: {
|
|
394
|
+
type: 'string',
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
},
|
|
400
|
+
},
|
|
102
401
|
events: [],
|
|
103
402
|
},
|
|
104
403
|
{
|
|
@@ -107,7 +406,20 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
107
406
|
category: 'layout',
|
|
108
407
|
emoji: 'โ',
|
|
109
408
|
description: 'A line between what comes before and after.',
|
|
409
|
+
version: '0.9.0',
|
|
110
410
|
standard: true,
|
|
411
|
+
properties: {
|
|
412
|
+
type: 'object',
|
|
413
|
+
properties: {
|
|
414
|
+
axis: {
|
|
415
|
+
type: 'string',
|
|
416
|
+
title: 'Direction',
|
|
417
|
+
description: 'Across or up and down.',
|
|
418
|
+
enum: ['horizontal', 'vertical'],
|
|
419
|
+
default: 'horizontal',
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
},
|
|
111
423
|
events: [],
|
|
112
424
|
},
|
|
113
425
|
{
|
|
@@ -116,7 +428,24 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
116
428
|
category: 'layout',
|
|
117
429
|
emoji: '๐ช',
|
|
118
430
|
description: 'A window over the page, opened by a trigger: details, a confirmation.',
|
|
431
|
+
version: '0.9.0',
|
|
119
432
|
standard: true,
|
|
433
|
+
properties: {
|
|
434
|
+
type: 'object',
|
|
435
|
+
required: ['trigger', 'content'],
|
|
436
|
+
properties: {
|
|
437
|
+
trigger: {
|
|
438
|
+
type: 'string',
|
|
439
|
+
title: 'Opened by',
|
|
440
|
+
description: 'The block that opens it, by id: a button.',
|
|
441
|
+
},
|
|
442
|
+
content: {
|
|
443
|
+
type: 'string',
|
|
444
|
+
title: 'Shows',
|
|
445
|
+
description: 'The block shown inside it, by id.',
|
|
446
|
+
},
|
|
447
|
+
},
|
|
448
|
+
},
|
|
120
449
|
events: [],
|
|
121
450
|
},
|
|
122
451
|
{
|
|
@@ -125,7 +454,31 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
125
454
|
category: 'action',
|
|
126
455
|
emoji: '๐',
|
|
127
456
|
description: 'An action the person takes: send, run, approve. One filled button per screen.',
|
|
457
|
+
version: '0.9.0',
|
|
128
458
|
standard: true,
|
|
459
|
+
properties: {
|
|
460
|
+
type: 'object',
|
|
461
|
+
required: ['child', 'action'],
|
|
462
|
+
properties: {
|
|
463
|
+
child: {
|
|
464
|
+
type: 'string',
|
|
465
|
+
title: 'Label',
|
|
466
|
+
description: 'The block on it, by id: a Text for its words.',
|
|
467
|
+
},
|
|
468
|
+
variant: {
|
|
469
|
+
type: 'string',
|
|
470
|
+
title: 'Style',
|
|
471
|
+
description: 'Primary for the one main action, borderless for a link.',
|
|
472
|
+
enum: ['default', 'primary', 'borderless'],
|
|
473
|
+
default: 'default',
|
|
474
|
+
},
|
|
475
|
+
action: {
|
|
476
|
+
type: 'object',
|
|
477
|
+
title: 'Does',
|
|
478
|
+
description: 'What pressing it sends, by name, with what it reads.',
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
},
|
|
129
482
|
events: [],
|
|
130
483
|
},
|
|
131
484
|
{
|
|
@@ -134,7 +487,36 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
134
487
|
category: 'input',
|
|
135
488
|
emoji: 'โจ๏ธ',
|
|
136
489
|
description: 'A field the person types in: a word, a sentence, a number, a date.',
|
|
490
|
+
version: '0.9.0',
|
|
137
491
|
standard: true,
|
|
492
|
+
properties: {
|
|
493
|
+
type: 'object',
|
|
494
|
+
required: ['label'],
|
|
495
|
+
properties: {
|
|
496
|
+
label: {
|
|
497
|
+
type: 'string',
|
|
498
|
+
title: 'Label',
|
|
499
|
+
description: 'What the person reads beside it.',
|
|
500
|
+
},
|
|
501
|
+
value: {
|
|
502
|
+
type: 'string',
|
|
503
|
+
title: 'Value',
|
|
504
|
+
description: 'What is typed in it.',
|
|
505
|
+
},
|
|
506
|
+
variant: {
|
|
507
|
+
type: 'string',
|
|
508
|
+
title: 'Kind',
|
|
509
|
+
description: 'A short or long text, a number, or hidden as typed.',
|
|
510
|
+
enum: ['longText', 'number', 'shortText', 'obscured'],
|
|
511
|
+
default: 'shortText',
|
|
512
|
+
},
|
|
513
|
+
validationRegexp: {
|
|
514
|
+
type: 'string',
|
|
515
|
+
title: 'Pattern',
|
|
516
|
+
description: 'A regular expression what is typed must match.',
|
|
517
|
+
},
|
|
518
|
+
},
|
|
519
|
+
},
|
|
138
520
|
events: [],
|
|
139
521
|
},
|
|
140
522
|
{
|
|
@@ -143,7 +525,24 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
143
525
|
category: 'input',
|
|
144
526
|
emoji: 'โ๏ธ',
|
|
145
527
|
description: 'Yes or no: an option on or off, a consent given.',
|
|
528
|
+
version: '0.9.0',
|
|
146
529
|
standard: true,
|
|
530
|
+
properties: {
|
|
531
|
+
type: 'object',
|
|
532
|
+
required: ['label', 'value'],
|
|
533
|
+
properties: {
|
|
534
|
+
label: {
|
|
535
|
+
type: 'string',
|
|
536
|
+
title: 'Label',
|
|
537
|
+
description: 'What the person reads beside it.',
|
|
538
|
+
},
|
|
539
|
+
value: {
|
|
540
|
+
type: 'boolean',
|
|
541
|
+
title: 'Value',
|
|
542
|
+
description: 'Whether it is ticked.',
|
|
543
|
+
},
|
|
544
|
+
},
|
|
545
|
+
},
|
|
147
546
|
events: [],
|
|
148
547
|
},
|
|
149
548
|
{
|
|
@@ -152,7 +551,64 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
152
551
|
category: 'input',
|
|
153
552
|
emoji: '๐ฝ',
|
|
154
553
|
description: 'One choice, or several, among options the builder lists or the data gives.',
|
|
554
|
+
version: '0.9.0',
|
|
155
555
|
standard: true,
|
|
556
|
+
properties: {
|
|
557
|
+
type: 'object',
|
|
558
|
+
required: ['options', 'value'],
|
|
559
|
+
properties: {
|
|
560
|
+
label: {
|
|
561
|
+
type: 'string',
|
|
562
|
+
title: 'Label',
|
|
563
|
+
description: 'What the person reads above the options.',
|
|
564
|
+
},
|
|
565
|
+
variant: {
|
|
566
|
+
type: 'string',
|
|
567
|
+
title: 'Choice',
|
|
568
|
+
description: 'One of the options, or several.',
|
|
569
|
+
enum: ['multipleSelection', 'mutuallyExclusive'],
|
|
570
|
+
default: 'mutuallyExclusive',
|
|
571
|
+
},
|
|
572
|
+
options: {
|
|
573
|
+
type: 'array',
|
|
574
|
+
title: 'Options',
|
|
575
|
+
description: 'What may be chosen: the words read and the value sent.',
|
|
576
|
+
items: {
|
|
577
|
+
type: 'object',
|
|
578
|
+
required: ['label', 'value'],
|
|
579
|
+
properties: {
|
|
580
|
+
label: {
|
|
581
|
+
type: 'string',
|
|
582
|
+
},
|
|
583
|
+
value: {
|
|
584
|
+
type: 'string',
|
|
585
|
+
},
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
value: {
|
|
590
|
+
type: 'array',
|
|
591
|
+
title: 'Value',
|
|
592
|
+
description: 'The values chosen.',
|
|
593
|
+
items: {
|
|
594
|
+
type: 'string',
|
|
595
|
+
},
|
|
596
|
+
},
|
|
597
|
+
displayStyle: {
|
|
598
|
+
type: 'string',
|
|
599
|
+
title: 'Shown as',
|
|
600
|
+
description: 'Checkboxes or chips.',
|
|
601
|
+
enum: ['checkbox', 'chips'],
|
|
602
|
+
default: 'checkbox',
|
|
603
|
+
},
|
|
604
|
+
filterable: {
|
|
605
|
+
type: 'boolean',
|
|
606
|
+
title: 'Searchable',
|
|
607
|
+
description: 'A search field above the options.',
|
|
608
|
+
default: false,
|
|
609
|
+
},
|
|
610
|
+
},
|
|
611
|
+
},
|
|
156
612
|
events: [],
|
|
157
613
|
},
|
|
158
614
|
{
|
|
@@ -161,7 +617,35 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
161
617
|
category: 'input',
|
|
162
618
|
emoji: '๐๏ธ',
|
|
163
619
|
description: 'A number chosen along a range: a weight, a budget, a threshold.',
|
|
620
|
+
version: '0.9.0',
|
|
164
621
|
standard: true,
|
|
622
|
+
properties: {
|
|
623
|
+
type: 'object',
|
|
624
|
+
required: ['value', 'max'],
|
|
625
|
+
properties: {
|
|
626
|
+
label: {
|
|
627
|
+
type: 'string',
|
|
628
|
+
title: 'Label',
|
|
629
|
+
description: 'What the person reads beside it.',
|
|
630
|
+
},
|
|
631
|
+
min: {
|
|
632
|
+
type: 'number',
|
|
633
|
+
title: 'Least',
|
|
634
|
+
description: 'The smallest value.',
|
|
635
|
+
default: 0,
|
|
636
|
+
},
|
|
637
|
+
max: {
|
|
638
|
+
type: 'number',
|
|
639
|
+
title: 'Most',
|
|
640
|
+
description: 'The largest value.',
|
|
641
|
+
},
|
|
642
|
+
value: {
|
|
643
|
+
type: 'number',
|
|
644
|
+
title: 'Value',
|
|
645
|
+
description: 'The value chosen.',
|
|
646
|
+
},
|
|
647
|
+
},
|
|
648
|
+
},
|
|
165
649
|
events: [],
|
|
166
650
|
},
|
|
167
651
|
{
|
|
@@ -170,7 +654,46 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
170
654
|
category: 'input',
|
|
171
655
|
emoji: '๐
',
|
|
172
656
|
description: 'A date, a time, or both, chosen from a calendar.',
|
|
657
|
+
version: '0.9.0',
|
|
173
658
|
standard: true,
|
|
659
|
+
properties: {
|
|
660
|
+
type: 'object',
|
|
661
|
+
required: ['value'],
|
|
662
|
+
properties: {
|
|
663
|
+
value: {
|
|
664
|
+
type: 'string',
|
|
665
|
+
title: 'Value',
|
|
666
|
+
description: 'The date or time chosen, in ISO 8601.',
|
|
667
|
+
},
|
|
668
|
+
enableDate: {
|
|
669
|
+
type: 'boolean',
|
|
670
|
+
title: 'Date',
|
|
671
|
+
description: 'A date may be chosen.',
|
|
672
|
+
default: false,
|
|
673
|
+
},
|
|
674
|
+
enableTime: {
|
|
675
|
+
type: 'boolean',
|
|
676
|
+
title: 'Time',
|
|
677
|
+
description: 'A time may be chosen.',
|
|
678
|
+
default: false,
|
|
679
|
+
},
|
|
680
|
+
min: {
|
|
681
|
+
type: 'string',
|
|
682
|
+
title: 'Earliest',
|
|
683
|
+
description: 'The earliest that may be chosen, in ISO 8601.',
|
|
684
|
+
},
|
|
685
|
+
max: {
|
|
686
|
+
type: 'string',
|
|
687
|
+
title: 'Latest',
|
|
688
|
+
description: 'The latest that may be chosen, in ISO 8601.',
|
|
689
|
+
},
|
|
690
|
+
label: {
|
|
691
|
+
type: 'string',
|
|
692
|
+
title: 'Label',
|
|
693
|
+
description: 'What the person reads beside it.',
|
|
694
|
+
},
|
|
695
|
+
},
|
|
696
|
+
},
|
|
174
697
|
events: [],
|
|
175
698
|
},
|
|
176
699
|
{
|
|
@@ -179,6 +702,7 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
179
702
|
category: 'data',
|
|
180
703
|
emoji: '๐',
|
|
181
704
|
description: 'Rows the application found or keeps, with the columns the builder chooses.',
|
|
705
|
+
version: '1.0.0',
|
|
182
706
|
standard: false,
|
|
183
707
|
properties: {
|
|
184
708
|
type: 'object',
|
|
@@ -230,6 +754,7 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
230
754
|
category: 'data',
|
|
231
755
|
emoji: '๐',
|
|
232
756
|
description: 'Numbers drawn: a bar, a line, a scatter of what the application measured.',
|
|
757
|
+
version: '1.0.0',
|
|
233
758
|
standard: false,
|
|
234
759
|
properties: {
|
|
235
760
|
type: 'object',
|
|
@@ -281,6 +806,7 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
281
806
|
category: 'input',
|
|
282
807
|
emoji: '๐',
|
|
283
808
|
description: 'A file the person gives the application: a document to read, a sheet to check.',
|
|
809
|
+
version: '1.0.0',
|
|
284
810
|
standard: false,
|
|
285
811
|
properties: {
|
|
286
812
|
type: 'object',
|
|
@@ -332,6 +858,7 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
332
858
|
category: 'conversation',
|
|
333
859
|
emoji: '๐ฌ',
|
|
334
860
|
description: 'The conversation with the application: its welcome, its starters, the composer.',
|
|
861
|
+
version: '1.0.0',
|
|
335
862
|
standard: false,
|
|
336
863
|
properties: {
|
|
337
864
|
type: 'object',
|
|
@@ -380,6 +907,7 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
380
907
|
category: 'data',
|
|
381
908
|
emoji: '๐',
|
|
382
909
|
description: 'What an answer rests on: the sources opened, the passages cited, each with its link.',
|
|
910
|
+
version: '1.0.0',
|
|
383
911
|
standard: false,
|
|
384
912
|
properties: {
|
|
385
913
|
type: 'object',
|
|
@@ -421,6 +949,7 @@ export const A2UI_UI_PLUGIN_0_0_1 = {
|
|
|
421
949
|
category: 'input',
|
|
422
950
|
emoji: '๐งพ',
|
|
423
951
|
description: 'Several fields asked at once, from a JSON Schema, checked as they are filled and again when they arrive (drawn with @datalayer/primer-rjsf).',
|
|
952
|
+
version: '1.0.0',
|
|
424
953
|
standard: false,
|
|
425
954
|
properties: {
|
|
426
955
|
type: 'object',
|