@agnosticui/a2ui-lit 0.0.0-stage → 2.0.0-alpha.1

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.
Files changed (64) hide show
  1. package/README.md +34 -2
  2. package/SKILL.md +52 -0
  3. package/agnosticui-catalog.json +2184 -0
  4. package/dist/catalog.d.ts +5 -0
  5. package/dist/catalog.js +36 -0
  6. package/dist/components/AgAccordion.d.ts +82 -0
  7. package/dist/components/AgAccordion.js +29 -0
  8. package/dist/components/AgAlert.d.ts +971 -0
  9. package/dist/components/AgAlert.js +46 -0
  10. package/dist/components/AgAvatar.d.ts +511 -0
  11. package/dist/components/AgAvatar.js +44 -0
  12. package/dist/components/AgBadge.d.ts +793 -0
  13. package/dist/components/AgBadge.js +49 -0
  14. package/dist/components/AgButton.d.ts +1568 -0
  15. package/dist/components/AgButton.js +61 -0
  16. package/dist/components/AgCard.d.ts +565 -0
  17. package/dist/components/AgCard.js +45 -0
  18. package/dist/components/AgCheckbox.d.ts +1497 -0
  19. package/dist/components/AgCheckbox.js +63 -0
  20. package/dist/components/AgCombobox.d.ts +2733 -0
  21. package/dist/components/AgCombobox.js +91 -0
  22. package/dist/components/AgDivider.d.ts +169 -0
  23. package/dist/components/AgDivider.js +38 -0
  24. package/dist/components/AgEmptyState.d.ts +607 -0
  25. package/dist/components/AgEmptyState.js +42 -0
  26. package/dist/components/AgFieldset.d.ts +433 -0
  27. package/dist/components/AgFieldset.js +39 -0
  28. package/dist/components/AgHeader.d.ts +205 -0
  29. package/dist/components/AgHeader.js +35 -0
  30. package/dist/components/AgInput.d.ts +2988 -0
  31. package/dist/components/AgInput.js +91 -0
  32. package/dist/components/AgMessageBubble.d.ts +670 -0
  33. package/dist/components/AgMessageBubble.js +45 -0
  34. package/dist/components/AgProgress.d.ts +433 -0
  35. package/dist/components/AgProgress.js +39 -0
  36. package/dist/components/AgProgressRing.d.ts +274 -0
  37. package/dist/components/AgProgressRing.js +38 -0
  38. package/dist/components/AgRadio.d.ts +1848 -0
  39. package/dist/components/AgRadio.js +71 -0
  40. package/dist/components/AgRating.d.ts +1433 -0
  41. package/dist/components/AgRating.js +67 -0
  42. package/dist/components/AgSelect.d.ts +1839 -0
  43. package/dist/components/AgSelect.js +69 -0
  44. package/dist/components/AgSpinner.d.ts +151 -0
  45. package/dist/components/AgSpinner.js +34 -0
  46. package/dist/components/AgTabs.d.ts +328 -0
  47. package/dist/components/AgTabs.js +39 -0
  48. package/dist/components/AgTag.d.ts +752 -0
  49. package/dist/components/AgTag.js +44 -0
  50. package/dist/components/AgTimeline.d.ts +274 -0
  51. package/dist/components/AgTimeline.js +38 -0
  52. package/dist/components/AgToggle.d.ts +1848 -0
  53. package/dist/components/AgToggle.js +71 -0
  54. package/dist/functions/validate-surface.d.ts +27 -0
  55. package/dist/functions/validate-surface.js +56 -0
  56. package/dist/harness/mock-stream.d.ts +8 -0
  57. package/dist/harness/mock-stream.js +5 -0
  58. package/dist/index.d.ts +30 -0
  59. package/dist/index.js +31 -0
  60. package/dist/primitives/AgText.d.ts +150 -0
  61. package/dist/primitives/AgText.js +44 -0
  62. package/dist/test-setup.d.ts +1 -0
  63. package/dist/test-setup.js +83 -0
  64. package/package.json +59 -4
@@ -0,0 +1,971 @@
1
+ import { z } from 'zod';
2
+ import { A2uiLitElement } from '@a2ui/web_core/v1_0';
3
+ import 'agnosticui-core/alert';
4
+ export declare const AgAlertSchema: z.ZodObject<{
5
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
6
+ componentId: z.ZodString;
7
+ path: z.ZodString;
8
+ }, "strict", z.ZodTypeAny, {
9
+ path: string;
10
+ componentId: string;
11
+ }, {
12
+ path: string;
13
+ componentId: string;
14
+ }>]>>;
15
+ variant: z.ZodOptional<z.ZodEnum<["warning", "info", "success", "error", "danger", "primary", "default", "monochrome"]>>;
16
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
17
+ '@path': z.ZodOptional<z.ZodString>;
18
+ path: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ path?: string | undefined;
21
+ '@path'?: string | undefined;
22
+ }, {
23
+ path?: string | undefined;
24
+ '@path'?: string | undefined;
25
+ }>, {
26
+ path?: string | undefined;
27
+ '@path'?: string | undefined;
28
+ }, {
29
+ path?: string | undefined;
30
+ '@path'?: string | undefined;
31
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
32
+ '@call': z.ZodOptional<z.ZodString>;
33
+ call: z.ZodOptional<z.ZodString>;
34
+ catalogId: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ call?: string | undefined;
37
+ '@call'?: string | undefined;
38
+ catalogId?: string | undefined;
39
+ }, {
40
+ call?: string | undefined;
41
+ '@call'?: string | undefined;
42
+ catalogId?: string | undefined;
43
+ }>, {
44
+ call?: string | undefined;
45
+ '@call'?: string | undefined;
46
+ catalogId?: string | undefined;
47
+ }, {
48
+ call?: string | undefined;
49
+ '@call'?: string | undefined;
50
+ catalogId?: string | undefined;
51
+ }>, z.ZodAny>>]>>;
52
+ rounded: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
53
+ '@path': z.ZodOptional<z.ZodString>;
54
+ path: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ path?: string | undefined;
57
+ '@path'?: string | undefined;
58
+ }, {
59
+ path?: string | undefined;
60
+ '@path'?: string | undefined;
61
+ }>, {
62
+ path?: string | undefined;
63
+ '@path'?: string | undefined;
64
+ }, {
65
+ path?: string | undefined;
66
+ '@path'?: string | undefined;
67
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
68
+ '@call': z.ZodOptional<z.ZodString>;
69
+ call: z.ZodOptional<z.ZodString>;
70
+ catalogId: z.ZodOptional<z.ZodString>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ call?: string | undefined;
73
+ '@call'?: string | undefined;
74
+ catalogId?: string | undefined;
75
+ }, {
76
+ call?: string | undefined;
77
+ '@call'?: string | undefined;
78
+ catalogId?: string | undefined;
79
+ }>, {
80
+ call?: string | undefined;
81
+ '@call'?: string | undefined;
82
+ catalogId?: string | undefined;
83
+ }, {
84
+ call?: string | undefined;
85
+ '@call'?: string | undefined;
86
+ catalogId?: string | undefined;
87
+ }>, z.ZodAny>>]>>;
88
+ borderedLeft: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
89
+ '@path': z.ZodOptional<z.ZodString>;
90
+ path: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ path?: string | undefined;
93
+ '@path'?: string | undefined;
94
+ }, {
95
+ path?: string | undefined;
96
+ '@path'?: string | undefined;
97
+ }>, {
98
+ path?: string | undefined;
99
+ '@path'?: string | undefined;
100
+ }, {
101
+ path?: string | undefined;
102
+ '@path'?: string | undefined;
103
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
104
+ '@call': z.ZodOptional<z.ZodString>;
105
+ call: z.ZodOptional<z.ZodString>;
106
+ catalogId: z.ZodOptional<z.ZodString>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ call?: string | undefined;
109
+ '@call'?: string | undefined;
110
+ catalogId?: string | undefined;
111
+ }, {
112
+ call?: string | undefined;
113
+ '@call'?: string | undefined;
114
+ catalogId?: string | undefined;
115
+ }>, {
116
+ call?: string | undefined;
117
+ '@call'?: string | undefined;
118
+ catalogId?: string | undefined;
119
+ }, {
120
+ call?: string | undefined;
121
+ '@call'?: string | undefined;
122
+ catalogId?: string | undefined;
123
+ }>, z.ZodAny>>]>>;
124
+ dismissible: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
125
+ '@path': z.ZodOptional<z.ZodString>;
126
+ path: z.ZodOptional<z.ZodString>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ path?: string | undefined;
129
+ '@path'?: string | undefined;
130
+ }, {
131
+ path?: string | undefined;
132
+ '@path'?: string | undefined;
133
+ }>, {
134
+ path?: string | undefined;
135
+ '@path'?: string | undefined;
136
+ }, {
137
+ path?: string | undefined;
138
+ '@path'?: string | undefined;
139
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
140
+ '@call': z.ZodOptional<z.ZodString>;
141
+ call: z.ZodOptional<z.ZodString>;
142
+ catalogId: z.ZodOptional<z.ZodString>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ call?: string | undefined;
145
+ '@call'?: string | undefined;
146
+ catalogId?: string | undefined;
147
+ }, {
148
+ call?: string | undefined;
149
+ '@call'?: string | undefined;
150
+ catalogId?: string | undefined;
151
+ }>, {
152
+ call?: string | undefined;
153
+ '@call'?: string | undefined;
154
+ catalogId?: string | undefined;
155
+ }, {
156
+ call?: string | undefined;
157
+ '@call'?: string | undefined;
158
+ catalogId?: string | undefined;
159
+ }>, z.ZodAny>>]>>;
160
+ action: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
161
+ event: z.ZodObject<{
162
+ name: z.ZodString;
163
+ userMessage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
164
+ '@path': z.ZodOptional<z.ZodString>;
165
+ path: z.ZodOptional<z.ZodString>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ path?: string | undefined;
168
+ '@path'?: string | undefined;
169
+ }, {
170
+ path?: string | undefined;
171
+ '@path'?: string | undefined;
172
+ }>, {
173
+ path?: string | undefined;
174
+ '@path'?: string | undefined;
175
+ }, {
176
+ path?: string | undefined;
177
+ '@path'?: string | undefined;
178
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
179
+ '@call': z.ZodOptional<z.ZodString>;
180
+ call: z.ZodOptional<z.ZodString>;
181
+ catalogId: z.ZodOptional<z.ZodString>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ call?: string | undefined;
184
+ '@call'?: string | undefined;
185
+ catalogId?: string | undefined;
186
+ }, {
187
+ call?: string | undefined;
188
+ '@call'?: string | undefined;
189
+ catalogId?: string | undefined;
190
+ }>, {
191
+ call?: string | undefined;
192
+ '@call'?: string | undefined;
193
+ catalogId?: string | undefined;
194
+ }, {
195
+ call?: string | undefined;
196
+ '@call'?: string | undefined;
197
+ catalogId?: string | undefined;
198
+ }>, z.ZodAny>>]>>;
199
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodAny, "many">, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, z.ZodEffects<z.ZodObject<{
200
+ '@path': z.ZodOptional<z.ZodString>;
201
+ path: z.ZodOptional<z.ZodString>;
202
+ }, "strip", z.ZodTypeAny, {
203
+ path?: string | undefined;
204
+ '@path'?: string | undefined;
205
+ }, {
206
+ path?: string | undefined;
207
+ '@path'?: string | undefined;
208
+ }>, {
209
+ path?: string | undefined;
210
+ '@path'?: string | undefined;
211
+ }, {
212
+ path?: string | undefined;
213
+ '@path'?: string | undefined;
214
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
215
+ '@call': z.ZodOptional<z.ZodString>;
216
+ call: z.ZodOptional<z.ZodString>;
217
+ catalogId: z.ZodOptional<z.ZodString>;
218
+ }, "strip", z.ZodTypeAny, {
219
+ call?: string | undefined;
220
+ '@call'?: string | undefined;
221
+ catalogId?: string | undefined;
222
+ }, {
223
+ call?: string | undefined;
224
+ '@call'?: string | undefined;
225
+ catalogId?: string | undefined;
226
+ }>, {
227
+ call?: string | undefined;
228
+ '@call'?: string | undefined;
229
+ catalogId?: string | undefined;
230
+ }, {
231
+ call?: string | undefined;
232
+ '@call'?: string | undefined;
233
+ catalogId?: string | undefined;
234
+ }>, z.ZodAny>>]>>>;
235
+ }, "strict", z.ZodTypeAny, {
236
+ name: string;
237
+ context?: Record<string, any> | undefined;
238
+ userMessage?: any;
239
+ }, {
240
+ name: string;
241
+ context?: Record<string, any> | undefined;
242
+ userMessage?: any;
243
+ }>;
244
+ }, "strict", z.ZodTypeAny, {
245
+ event: {
246
+ name: string;
247
+ context?: Record<string, any> | undefined;
248
+ userMessage?: any;
249
+ };
250
+ }, {
251
+ event: {
252
+ name: string;
253
+ context?: Record<string, any> | undefined;
254
+ userMessage?: any;
255
+ };
256
+ }>, z.ZodObject<{
257
+ functionCall: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
258
+ '@call': z.ZodOptional<z.ZodString>;
259
+ call: z.ZodOptional<z.ZodString>;
260
+ catalogId: z.ZodOptional<z.ZodString>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ call?: string | undefined;
263
+ '@call'?: string | undefined;
264
+ catalogId?: string | undefined;
265
+ }, {
266
+ call?: string | undefined;
267
+ '@call'?: string | undefined;
268
+ catalogId?: string | undefined;
269
+ }>, {
270
+ call?: string | undefined;
271
+ '@call'?: string | undefined;
272
+ catalogId?: string | undefined;
273
+ }, {
274
+ call?: string | undefined;
275
+ '@call'?: string | undefined;
276
+ catalogId?: string | undefined;
277
+ }>, z.ZodAny>>;
278
+ }, "strict", z.ZodTypeAny, {
279
+ functionCall?: any;
280
+ }, {
281
+ functionCall?: any;
282
+ }>]>>;
283
+ }, "strict", z.ZodTypeAny, {
284
+ children?: string[] | {
285
+ path: string;
286
+ componentId: string;
287
+ } | undefined;
288
+ variant?: "danger" | "default" | "error" | "info" | "monochrome" | "primary" | "success" | "warning" | undefined;
289
+ bordered?: any;
290
+ rounded?: any;
291
+ borderedLeft?: any;
292
+ dismissible?: any;
293
+ action?: {
294
+ event: {
295
+ name: string;
296
+ context?: Record<string, any> | undefined;
297
+ userMessage?: any;
298
+ };
299
+ } | {
300
+ functionCall?: any;
301
+ } | undefined;
302
+ }, {
303
+ children?: string[] | {
304
+ path: string;
305
+ componentId: string;
306
+ } | undefined;
307
+ variant?: "danger" | "default" | "error" | "info" | "monochrome" | "primary" | "success" | "warning" | undefined;
308
+ bordered?: any;
309
+ rounded?: any;
310
+ borderedLeft?: any;
311
+ dismissible?: any;
312
+ action?: {
313
+ event: {
314
+ name: string;
315
+ context?: Record<string, any> | undefined;
316
+ userMessage?: any;
317
+ };
318
+ } | {
319
+ functionCall?: any;
320
+ } | undefined;
321
+ }>;
322
+ export declare const AgAlertApi: {
323
+ name: 'AgAlert';
324
+ schema: z.ZodObject<{
325
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
326
+ componentId: z.ZodString;
327
+ path: z.ZodString;
328
+ }, "strict", z.ZodTypeAny, {
329
+ path: string;
330
+ componentId: string;
331
+ }, {
332
+ path: string;
333
+ componentId: string;
334
+ }>]>>;
335
+ variant: z.ZodOptional<z.ZodEnum<["warning", "info", "success", "error", "danger", "primary", "default", "monochrome"]>>;
336
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
337
+ '@path': z.ZodOptional<z.ZodString>;
338
+ path: z.ZodOptional<z.ZodString>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ path?: string | undefined;
341
+ '@path'?: string | undefined;
342
+ }, {
343
+ path?: string | undefined;
344
+ '@path'?: string | undefined;
345
+ }>, {
346
+ path?: string | undefined;
347
+ '@path'?: string | undefined;
348
+ }, {
349
+ path?: string | undefined;
350
+ '@path'?: string | undefined;
351
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
352
+ '@call': z.ZodOptional<z.ZodString>;
353
+ call: z.ZodOptional<z.ZodString>;
354
+ catalogId: z.ZodOptional<z.ZodString>;
355
+ }, "strip", z.ZodTypeAny, {
356
+ call?: string | undefined;
357
+ '@call'?: string | undefined;
358
+ catalogId?: string | undefined;
359
+ }, {
360
+ call?: string | undefined;
361
+ '@call'?: string | undefined;
362
+ catalogId?: string | undefined;
363
+ }>, {
364
+ call?: string | undefined;
365
+ '@call'?: string | undefined;
366
+ catalogId?: string | undefined;
367
+ }, {
368
+ call?: string | undefined;
369
+ '@call'?: string | undefined;
370
+ catalogId?: string | undefined;
371
+ }>, z.ZodAny>>]>>;
372
+ rounded: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
373
+ '@path': z.ZodOptional<z.ZodString>;
374
+ path: z.ZodOptional<z.ZodString>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ path?: string | undefined;
377
+ '@path'?: string | undefined;
378
+ }, {
379
+ path?: string | undefined;
380
+ '@path'?: string | undefined;
381
+ }>, {
382
+ path?: string | undefined;
383
+ '@path'?: string | undefined;
384
+ }, {
385
+ path?: string | undefined;
386
+ '@path'?: string | undefined;
387
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
388
+ '@call': z.ZodOptional<z.ZodString>;
389
+ call: z.ZodOptional<z.ZodString>;
390
+ catalogId: z.ZodOptional<z.ZodString>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ call?: string | undefined;
393
+ '@call'?: string | undefined;
394
+ catalogId?: string | undefined;
395
+ }, {
396
+ call?: string | undefined;
397
+ '@call'?: string | undefined;
398
+ catalogId?: string | undefined;
399
+ }>, {
400
+ call?: string | undefined;
401
+ '@call'?: string | undefined;
402
+ catalogId?: string | undefined;
403
+ }, {
404
+ call?: string | undefined;
405
+ '@call'?: string | undefined;
406
+ catalogId?: string | undefined;
407
+ }>, z.ZodAny>>]>>;
408
+ borderedLeft: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
409
+ '@path': z.ZodOptional<z.ZodString>;
410
+ path: z.ZodOptional<z.ZodString>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ path?: string | undefined;
413
+ '@path'?: string | undefined;
414
+ }, {
415
+ path?: string | undefined;
416
+ '@path'?: string | undefined;
417
+ }>, {
418
+ path?: string | undefined;
419
+ '@path'?: string | undefined;
420
+ }, {
421
+ path?: string | undefined;
422
+ '@path'?: string | undefined;
423
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
424
+ '@call': z.ZodOptional<z.ZodString>;
425
+ call: z.ZodOptional<z.ZodString>;
426
+ catalogId: z.ZodOptional<z.ZodString>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ call?: string | undefined;
429
+ '@call'?: string | undefined;
430
+ catalogId?: string | undefined;
431
+ }, {
432
+ call?: string | undefined;
433
+ '@call'?: string | undefined;
434
+ catalogId?: string | undefined;
435
+ }>, {
436
+ call?: string | undefined;
437
+ '@call'?: string | undefined;
438
+ catalogId?: string | undefined;
439
+ }, {
440
+ call?: string | undefined;
441
+ '@call'?: string | undefined;
442
+ catalogId?: string | undefined;
443
+ }>, z.ZodAny>>]>>;
444
+ dismissible: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
445
+ '@path': z.ZodOptional<z.ZodString>;
446
+ path: z.ZodOptional<z.ZodString>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ path?: string | undefined;
449
+ '@path'?: string | undefined;
450
+ }, {
451
+ path?: string | undefined;
452
+ '@path'?: string | undefined;
453
+ }>, {
454
+ path?: string | undefined;
455
+ '@path'?: string | undefined;
456
+ }, {
457
+ path?: string | undefined;
458
+ '@path'?: string | undefined;
459
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
460
+ '@call': z.ZodOptional<z.ZodString>;
461
+ call: z.ZodOptional<z.ZodString>;
462
+ catalogId: z.ZodOptional<z.ZodString>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ call?: string | undefined;
465
+ '@call'?: string | undefined;
466
+ catalogId?: string | undefined;
467
+ }, {
468
+ call?: string | undefined;
469
+ '@call'?: string | undefined;
470
+ catalogId?: string | undefined;
471
+ }>, {
472
+ call?: string | undefined;
473
+ '@call'?: string | undefined;
474
+ catalogId?: string | undefined;
475
+ }, {
476
+ call?: string | undefined;
477
+ '@call'?: string | undefined;
478
+ catalogId?: string | undefined;
479
+ }>, z.ZodAny>>]>>;
480
+ action: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
481
+ event: z.ZodObject<{
482
+ name: z.ZodString;
483
+ userMessage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
484
+ '@path': z.ZodOptional<z.ZodString>;
485
+ path: z.ZodOptional<z.ZodString>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ path?: string | undefined;
488
+ '@path'?: string | undefined;
489
+ }, {
490
+ path?: string | undefined;
491
+ '@path'?: string | undefined;
492
+ }>, {
493
+ path?: string | undefined;
494
+ '@path'?: string | undefined;
495
+ }, {
496
+ path?: string | undefined;
497
+ '@path'?: string | undefined;
498
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
499
+ '@call': z.ZodOptional<z.ZodString>;
500
+ call: z.ZodOptional<z.ZodString>;
501
+ catalogId: z.ZodOptional<z.ZodString>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ call?: string | undefined;
504
+ '@call'?: string | undefined;
505
+ catalogId?: string | undefined;
506
+ }, {
507
+ call?: string | undefined;
508
+ '@call'?: string | undefined;
509
+ catalogId?: string | undefined;
510
+ }>, {
511
+ call?: string | undefined;
512
+ '@call'?: string | undefined;
513
+ catalogId?: string | undefined;
514
+ }, {
515
+ call?: string | undefined;
516
+ '@call'?: string | undefined;
517
+ catalogId?: string | undefined;
518
+ }>, z.ZodAny>>]>>;
519
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodAny, "many">, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, z.ZodEffects<z.ZodObject<{
520
+ '@path': z.ZodOptional<z.ZodString>;
521
+ path: z.ZodOptional<z.ZodString>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ path?: string | undefined;
524
+ '@path'?: string | undefined;
525
+ }, {
526
+ path?: string | undefined;
527
+ '@path'?: string | undefined;
528
+ }>, {
529
+ path?: string | undefined;
530
+ '@path'?: string | undefined;
531
+ }, {
532
+ path?: string | undefined;
533
+ '@path'?: string | undefined;
534
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
535
+ '@call': z.ZodOptional<z.ZodString>;
536
+ call: z.ZodOptional<z.ZodString>;
537
+ catalogId: z.ZodOptional<z.ZodString>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ call?: string | undefined;
540
+ '@call'?: string | undefined;
541
+ catalogId?: string | undefined;
542
+ }, {
543
+ call?: string | undefined;
544
+ '@call'?: string | undefined;
545
+ catalogId?: string | undefined;
546
+ }>, {
547
+ call?: string | undefined;
548
+ '@call'?: string | undefined;
549
+ catalogId?: string | undefined;
550
+ }, {
551
+ call?: string | undefined;
552
+ '@call'?: string | undefined;
553
+ catalogId?: string | undefined;
554
+ }>, z.ZodAny>>]>>>;
555
+ }, "strict", z.ZodTypeAny, {
556
+ name: string;
557
+ context?: Record<string, any> | undefined;
558
+ userMessage?: any;
559
+ }, {
560
+ name: string;
561
+ context?: Record<string, any> | undefined;
562
+ userMessage?: any;
563
+ }>;
564
+ }, "strict", z.ZodTypeAny, {
565
+ event: {
566
+ name: string;
567
+ context?: Record<string, any> | undefined;
568
+ userMessage?: any;
569
+ };
570
+ }, {
571
+ event: {
572
+ name: string;
573
+ context?: Record<string, any> | undefined;
574
+ userMessage?: any;
575
+ };
576
+ }>, z.ZodObject<{
577
+ functionCall: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
578
+ '@call': z.ZodOptional<z.ZodString>;
579
+ call: z.ZodOptional<z.ZodString>;
580
+ catalogId: z.ZodOptional<z.ZodString>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ call?: string | undefined;
583
+ '@call'?: string | undefined;
584
+ catalogId?: string | undefined;
585
+ }, {
586
+ call?: string | undefined;
587
+ '@call'?: string | undefined;
588
+ catalogId?: string | undefined;
589
+ }>, {
590
+ call?: string | undefined;
591
+ '@call'?: string | undefined;
592
+ catalogId?: string | undefined;
593
+ }, {
594
+ call?: string | undefined;
595
+ '@call'?: string | undefined;
596
+ catalogId?: string | undefined;
597
+ }>, z.ZodAny>>;
598
+ }, "strict", z.ZodTypeAny, {
599
+ functionCall?: any;
600
+ }, {
601
+ functionCall?: any;
602
+ }>]>>;
603
+ }, "strict", z.ZodTypeAny, {
604
+ children?: string[] | {
605
+ path: string;
606
+ componentId: string;
607
+ } | undefined;
608
+ variant?: "danger" | "default" | "error" | "info" | "monochrome" | "primary" | "success" | "warning" | undefined;
609
+ bordered?: any;
610
+ rounded?: any;
611
+ borderedLeft?: any;
612
+ dismissible?: any;
613
+ action?: {
614
+ event: {
615
+ name: string;
616
+ context?: Record<string, any> | undefined;
617
+ userMessage?: any;
618
+ };
619
+ } | {
620
+ functionCall?: any;
621
+ } | undefined;
622
+ }, {
623
+ children?: string[] | {
624
+ path: string;
625
+ componentId: string;
626
+ } | undefined;
627
+ variant?: "danger" | "default" | "error" | "info" | "monochrome" | "primary" | "success" | "warning" | undefined;
628
+ bordered?: any;
629
+ rounded?: any;
630
+ borderedLeft?: any;
631
+ dismissible?: any;
632
+ action?: {
633
+ event: {
634
+ name: string;
635
+ context?: Record<string, any> | undefined;
636
+ userMessage?: any;
637
+ };
638
+ } | {
639
+ functionCall?: any;
640
+ } | undefined;
641
+ }>;
642
+ };
643
+ export declare class AgA2uiAlertElement extends A2uiLitElement<typeof AgAlertApi> {
644
+ static readonly tagName = "ag-a2ui-alert";
645
+ createRenderRoot(): this;
646
+ private handleAction;
647
+ render(): import("lit-html").TemplateResult<1>;
648
+ }
649
+ export declare const AgAlert: {
650
+ name: 'AgAlert';
651
+ schema: z.ZodObject<{
652
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
653
+ componentId: z.ZodString;
654
+ path: z.ZodString;
655
+ }, "strict", z.ZodTypeAny, {
656
+ path: string;
657
+ componentId: string;
658
+ }, {
659
+ path: string;
660
+ componentId: string;
661
+ }>]>>;
662
+ variant: z.ZodOptional<z.ZodEnum<["warning", "info", "success", "error", "danger", "primary", "default", "monochrome"]>>;
663
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
664
+ '@path': z.ZodOptional<z.ZodString>;
665
+ path: z.ZodOptional<z.ZodString>;
666
+ }, "strip", z.ZodTypeAny, {
667
+ path?: string | undefined;
668
+ '@path'?: string | undefined;
669
+ }, {
670
+ path?: string | undefined;
671
+ '@path'?: string | undefined;
672
+ }>, {
673
+ path?: string | undefined;
674
+ '@path'?: string | undefined;
675
+ }, {
676
+ path?: string | undefined;
677
+ '@path'?: string | undefined;
678
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
679
+ '@call': z.ZodOptional<z.ZodString>;
680
+ call: z.ZodOptional<z.ZodString>;
681
+ catalogId: z.ZodOptional<z.ZodString>;
682
+ }, "strip", z.ZodTypeAny, {
683
+ call?: string | undefined;
684
+ '@call'?: string | undefined;
685
+ catalogId?: string | undefined;
686
+ }, {
687
+ call?: string | undefined;
688
+ '@call'?: string | undefined;
689
+ catalogId?: string | undefined;
690
+ }>, {
691
+ call?: string | undefined;
692
+ '@call'?: string | undefined;
693
+ catalogId?: string | undefined;
694
+ }, {
695
+ call?: string | undefined;
696
+ '@call'?: string | undefined;
697
+ catalogId?: string | undefined;
698
+ }>, z.ZodAny>>]>>;
699
+ rounded: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
700
+ '@path': z.ZodOptional<z.ZodString>;
701
+ path: z.ZodOptional<z.ZodString>;
702
+ }, "strip", z.ZodTypeAny, {
703
+ path?: string | undefined;
704
+ '@path'?: string | undefined;
705
+ }, {
706
+ path?: string | undefined;
707
+ '@path'?: string | undefined;
708
+ }>, {
709
+ path?: string | undefined;
710
+ '@path'?: string | undefined;
711
+ }, {
712
+ path?: string | undefined;
713
+ '@path'?: string | undefined;
714
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
715
+ '@call': z.ZodOptional<z.ZodString>;
716
+ call: z.ZodOptional<z.ZodString>;
717
+ catalogId: z.ZodOptional<z.ZodString>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ call?: string | undefined;
720
+ '@call'?: string | undefined;
721
+ catalogId?: string | undefined;
722
+ }, {
723
+ call?: string | undefined;
724
+ '@call'?: string | undefined;
725
+ catalogId?: string | undefined;
726
+ }>, {
727
+ call?: string | undefined;
728
+ '@call'?: string | undefined;
729
+ catalogId?: string | undefined;
730
+ }, {
731
+ call?: string | undefined;
732
+ '@call'?: string | undefined;
733
+ catalogId?: string | undefined;
734
+ }>, z.ZodAny>>]>>;
735
+ borderedLeft: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
736
+ '@path': z.ZodOptional<z.ZodString>;
737
+ path: z.ZodOptional<z.ZodString>;
738
+ }, "strip", z.ZodTypeAny, {
739
+ path?: string | undefined;
740
+ '@path'?: string | undefined;
741
+ }, {
742
+ path?: string | undefined;
743
+ '@path'?: string | undefined;
744
+ }>, {
745
+ path?: string | undefined;
746
+ '@path'?: string | undefined;
747
+ }, {
748
+ path?: string | undefined;
749
+ '@path'?: string | undefined;
750
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
751
+ '@call': z.ZodOptional<z.ZodString>;
752
+ call: z.ZodOptional<z.ZodString>;
753
+ catalogId: z.ZodOptional<z.ZodString>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ call?: string | undefined;
756
+ '@call'?: string | undefined;
757
+ catalogId?: string | undefined;
758
+ }, {
759
+ call?: string | undefined;
760
+ '@call'?: string | undefined;
761
+ catalogId?: string | undefined;
762
+ }>, {
763
+ call?: string | undefined;
764
+ '@call'?: string | undefined;
765
+ catalogId?: string | undefined;
766
+ }, {
767
+ call?: string | undefined;
768
+ '@call'?: string | undefined;
769
+ catalogId?: string | undefined;
770
+ }>, z.ZodAny>>]>>;
771
+ dismissible: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
772
+ '@path': z.ZodOptional<z.ZodString>;
773
+ path: z.ZodOptional<z.ZodString>;
774
+ }, "strip", z.ZodTypeAny, {
775
+ path?: string | undefined;
776
+ '@path'?: string | undefined;
777
+ }, {
778
+ path?: string | undefined;
779
+ '@path'?: string | undefined;
780
+ }>, {
781
+ path?: string | undefined;
782
+ '@path'?: string | undefined;
783
+ }, {
784
+ path?: string | undefined;
785
+ '@path'?: string | undefined;
786
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
787
+ '@call': z.ZodOptional<z.ZodString>;
788
+ call: z.ZodOptional<z.ZodString>;
789
+ catalogId: z.ZodOptional<z.ZodString>;
790
+ }, "strip", z.ZodTypeAny, {
791
+ call?: string | undefined;
792
+ '@call'?: string | undefined;
793
+ catalogId?: string | undefined;
794
+ }, {
795
+ call?: string | undefined;
796
+ '@call'?: string | undefined;
797
+ catalogId?: string | undefined;
798
+ }>, {
799
+ call?: string | undefined;
800
+ '@call'?: string | undefined;
801
+ catalogId?: string | undefined;
802
+ }, {
803
+ call?: string | undefined;
804
+ '@call'?: string | undefined;
805
+ catalogId?: string | undefined;
806
+ }>, z.ZodAny>>]>>;
807
+ action: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
808
+ event: z.ZodObject<{
809
+ name: z.ZodString;
810
+ userMessage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
811
+ '@path': z.ZodOptional<z.ZodString>;
812
+ path: z.ZodOptional<z.ZodString>;
813
+ }, "strip", z.ZodTypeAny, {
814
+ path?: string | undefined;
815
+ '@path'?: string | undefined;
816
+ }, {
817
+ path?: string | undefined;
818
+ '@path'?: string | undefined;
819
+ }>, {
820
+ path?: string | undefined;
821
+ '@path'?: string | undefined;
822
+ }, {
823
+ path?: string | undefined;
824
+ '@path'?: string | undefined;
825
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
826
+ '@call': z.ZodOptional<z.ZodString>;
827
+ call: z.ZodOptional<z.ZodString>;
828
+ catalogId: z.ZodOptional<z.ZodString>;
829
+ }, "strip", z.ZodTypeAny, {
830
+ call?: string | undefined;
831
+ '@call'?: string | undefined;
832
+ catalogId?: string | undefined;
833
+ }, {
834
+ call?: string | undefined;
835
+ '@call'?: string | undefined;
836
+ catalogId?: string | undefined;
837
+ }>, {
838
+ call?: string | undefined;
839
+ '@call'?: string | undefined;
840
+ catalogId?: string | undefined;
841
+ }, {
842
+ call?: string | undefined;
843
+ '@call'?: string | undefined;
844
+ catalogId?: string | undefined;
845
+ }>, z.ZodAny>>]>>;
846
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodAny, "many">, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, z.ZodEffects<z.ZodObject<{
847
+ '@path': z.ZodOptional<z.ZodString>;
848
+ path: z.ZodOptional<z.ZodString>;
849
+ }, "strip", z.ZodTypeAny, {
850
+ path?: string | undefined;
851
+ '@path'?: string | undefined;
852
+ }, {
853
+ path?: string | undefined;
854
+ '@path'?: string | undefined;
855
+ }>, {
856
+ path?: string | undefined;
857
+ '@path'?: string | undefined;
858
+ }, {
859
+ path?: string | undefined;
860
+ '@path'?: string | undefined;
861
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
862
+ '@call': z.ZodOptional<z.ZodString>;
863
+ call: z.ZodOptional<z.ZodString>;
864
+ catalogId: z.ZodOptional<z.ZodString>;
865
+ }, "strip", z.ZodTypeAny, {
866
+ call?: string | undefined;
867
+ '@call'?: string | undefined;
868
+ catalogId?: string | undefined;
869
+ }, {
870
+ call?: string | undefined;
871
+ '@call'?: string | undefined;
872
+ catalogId?: string | undefined;
873
+ }>, {
874
+ call?: string | undefined;
875
+ '@call'?: string | undefined;
876
+ catalogId?: string | undefined;
877
+ }, {
878
+ call?: string | undefined;
879
+ '@call'?: string | undefined;
880
+ catalogId?: string | undefined;
881
+ }>, z.ZodAny>>]>>>;
882
+ }, "strict", z.ZodTypeAny, {
883
+ name: string;
884
+ context?: Record<string, any> | undefined;
885
+ userMessage?: any;
886
+ }, {
887
+ name: string;
888
+ context?: Record<string, any> | undefined;
889
+ userMessage?: any;
890
+ }>;
891
+ }, "strict", z.ZodTypeAny, {
892
+ event: {
893
+ name: string;
894
+ context?: Record<string, any> | undefined;
895
+ userMessage?: any;
896
+ };
897
+ }, {
898
+ event: {
899
+ name: string;
900
+ context?: Record<string, any> | undefined;
901
+ userMessage?: any;
902
+ };
903
+ }>, z.ZodObject<{
904
+ functionCall: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
905
+ '@call': z.ZodOptional<z.ZodString>;
906
+ call: z.ZodOptional<z.ZodString>;
907
+ catalogId: z.ZodOptional<z.ZodString>;
908
+ }, "strip", z.ZodTypeAny, {
909
+ call?: string | undefined;
910
+ '@call'?: string | undefined;
911
+ catalogId?: string | undefined;
912
+ }, {
913
+ call?: string | undefined;
914
+ '@call'?: string | undefined;
915
+ catalogId?: string | undefined;
916
+ }>, {
917
+ call?: string | undefined;
918
+ '@call'?: string | undefined;
919
+ catalogId?: string | undefined;
920
+ }, {
921
+ call?: string | undefined;
922
+ '@call'?: string | undefined;
923
+ catalogId?: string | undefined;
924
+ }>, z.ZodAny>>;
925
+ }, "strict", z.ZodTypeAny, {
926
+ functionCall?: any;
927
+ }, {
928
+ functionCall?: any;
929
+ }>]>>;
930
+ }, "strict", z.ZodTypeAny, {
931
+ children?: string[] | {
932
+ path: string;
933
+ componentId: string;
934
+ } | undefined;
935
+ variant?: "danger" | "default" | "error" | "info" | "monochrome" | "primary" | "success" | "warning" | undefined;
936
+ bordered?: any;
937
+ rounded?: any;
938
+ borderedLeft?: any;
939
+ dismissible?: any;
940
+ action?: {
941
+ event: {
942
+ name: string;
943
+ context?: Record<string, any> | undefined;
944
+ userMessage?: any;
945
+ };
946
+ } | {
947
+ functionCall?: any;
948
+ } | undefined;
949
+ }, {
950
+ children?: string[] | {
951
+ path: string;
952
+ componentId: string;
953
+ } | undefined;
954
+ variant?: "danger" | "default" | "error" | "info" | "monochrome" | "primary" | "success" | "warning" | undefined;
955
+ bordered?: any;
956
+ rounded?: any;
957
+ borderedLeft?: any;
958
+ dismissible?: any;
959
+ action?: {
960
+ event: {
961
+ name: string;
962
+ context?: Record<string, any> | undefined;
963
+ userMessage?: any;
964
+ };
965
+ } | {
966
+ functionCall?: any;
967
+ } | undefined;
968
+ }>;
969
+ element: typeof AgA2uiAlertElement;
970
+ tagName: string;
971
+ };