@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,607 @@
1
+ import { z } from 'zod';
2
+ import { A2uiLitElement } from '@a2ui/web_core/v1_0';
3
+ import 'agnosticui-core/empty-state';
4
+ export declare const AgEmptyStateSchema: z.ZodObject<{
5
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
6
+ '@path': z.ZodOptional<z.ZodString>;
7
+ path: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ path?: string | undefined;
10
+ '@path'?: string | undefined;
11
+ }, {
12
+ path?: string | undefined;
13
+ '@path'?: string | undefined;
14
+ }>, {
15
+ path?: string | undefined;
16
+ '@path'?: string | undefined;
17
+ }, {
18
+ path?: string | undefined;
19
+ '@path'?: string | undefined;
20
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
21
+ '@call': z.ZodOptional<z.ZodString>;
22
+ call: z.ZodOptional<z.ZodString>;
23
+ catalogId: z.ZodOptional<z.ZodString>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ call?: string | undefined;
26
+ '@call'?: string | undefined;
27
+ catalogId?: string | undefined;
28
+ }, {
29
+ call?: string | undefined;
30
+ '@call'?: string | undefined;
31
+ catalogId?: string | undefined;
32
+ }>, {
33
+ call?: string | undefined;
34
+ '@call'?: string | undefined;
35
+ catalogId?: string | undefined;
36
+ }, {
37
+ call?: string | undefined;
38
+ '@call'?: string | undefined;
39
+ catalogId?: string | undefined;
40
+ }>, z.ZodAny>>]>>;
41
+ subtitle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
42
+ '@path': z.ZodOptional<z.ZodString>;
43
+ path: z.ZodOptional<z.ZodString>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ path?: string | undefined;
46
+ '@path'?: string | undefined;
47
+ }, {
48
+ path?: string | undefined;
49
+ '@path'?: string | undefined;
50
+ }>, {
51
+ path?: string | undefined;
52
+ '@path'?: string | undefined;
53
+ }, {
54
+ path?: string | undefined;
55
+ '@path'?: string | undefined;
56
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
57
+ '@call': z.ZodOptional<z.ZodString>;
58
+ call: z.ZodOptional<z.ZodString>;
59
+ catalogId: z.ZodOptional<z.ZodString>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ call?: string | undefined;
62
+ '@call'?: string | undefined;
63
+ catalogId?: string | undefined;
64
+ }, {
65
+ call?: string | undefined;
66
+ '@call'?: string | undefined;
67
+ catalogId?: string | undefined;
68
+ }>, {
69
+ call?: string | undefined;
70
+ '@call'?: string | undefined;
71
+ catalogId?: string | undefined;
72
+ }, {
73
+ call?: string | undefined;
74
+ '@call'?: string | undefined;
75
+ catalogId?: string | undefined;
76
+ }>, z.ZodAny>>]>>;
77
+ buttonText: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
78
+ '@path': z.ZodOptional<z.ZodString>;
79
+ path: z.ZodOptional<z.ZodString>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ path?: string | undefined;
82
+ '@path'?: string | undefined;
83
+ }, {
84
+ path?: string | undefined;
85
+ '@path'?: string | undefined;
86
+ }>, {
87
+ path?: string | undefined;
88
+ '@path'?: string | undefined;
89
+ }, {
90
+ path?: string | undefined;
91
+ '@path'?: string | undefined;
92
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
93
+ '@call': z.ZodOptional<z.ZodString>;
94
+ call: z.ZodOptional<z.ZodString>;
95
+ catalogId: z.ZodOptional<z.ZodString>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ call?: string | undefined;
98
+ '@call'?: string | undefined;
99
+ catalogId?: string | undefined;
100
+ }, {
101
+ call?: string | undefined;
102
+ '@call'?: string | undefined;
103
+ catalogId?: string | undefined;
104
+ }>, {
105
+ call?: string | undefined;
106
+ '@call'?: string | undefined;
107
+ catalogId?: string | undefined;
108
+ }, {
109
+ call?: string | undefined;
110
+ '@call'?: string | undefined;
111
+ catalogId?: string | undefined;
112
+ }>, z.ZodAny>>]>>;
113
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
114
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
115
+ '@path': z.ZodOptional<z.ZodString>;
116
+ path: z.ZodOptional<z.ZodString>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ path?: string | undefined;
119
+ '@path'?: string | undefined;
120
+ }, {
121
+ path?: string | undefined;
122
+ '@path'?: string | undefined;
123
+ }>, {
124
+ path?: string | undefined;
125
+ '@path'?: string | undefined;
126
+ }, {
127
+ path?: string | undefined;
128
+ '@path'?: string | undefined;
129
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
130
+ '@call': z.ZodOptional<z.ZodString>;
131
+ call: z.ZodOptional<z.ZodString>;
132
+ catalogId: z.ZodOptional<z.ZodString>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ call?: string | undefined;
135
+ '@call'?: string | undefined;
136
+ catalogId?: string | undefined;
137
+ }, {
138
+ call?: string | undefined;
139
+ '@call'?: string | undefined;
140
+ catalogId?: string | undefined;
141
+ }>, {
142
+ call?: string | undefined;
143
+ '@call'?: string | undefined;
144
+ catalogId?: string | undefined;
145
+ }, {
146
+ call?: string | undefined;
147
+ '@call'?: string | undefined;
148
+ catalogId?: string | undefined;
149
+ }>, z.ZodAny>>]>>;
150
+ rounded: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
151
+ '@path': z.ZodOptional<z.ZodString>;
152
+ path: z.ZodOptional<z.ZodString>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ path?: string | undefined;
155
+ '@path'?: string | undefined;
156
+ }, {
157
+ path?: string | undefined;
158
+ '@path'?: string | undefined;
159
+ }>, {
160
+ path?: string | undefined;
161
+ '@path'?: string | undefined;
162
+ }, {
163
+ path?: string | undefined;
164
+ '@path'?: string | undefined;
165
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
166
+ '@call': z.ZodOptional<z.ZodString>;
167
+ call: z.ZodOptional<z.ZodString>;
168
+ catalogId: z.ZodOptional<z.ZodString>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ call?: string | undefined;
171
+ '@call'?: string | undefined;
172
+ catalogId?: string | undefined;
173
+ }, {
174
+ call?: string | undefined;
175
+ '@call'?: string | undefined;
176
+ catalogId?: string | undefined;
177
+ }>, {
178
+ call?: string | undefined;
179
+ '@call'?: string | undefined;
180
+ catalogId?: string | undefined;
181
+ }, {
182
+ call?: string | undefined;
183
+ '@call'?: string | undefined;
184
+ catalogId?: string | undefined;
185
+ }>, z.ZodAny>>]>>;
186
+ }, "strict", z.ZodTypeAny, {
187
+ title?: any;
188
+ subtitle?: any;
189
+ buttonText?: any;
190
+ size?: "lg" | "md" | "sm" | undefined;
191
+ bordered?: any;
192
+ rounded?: any;
193
+ }, {
194
+ title?: any;
195
+ subtitle?: any;
196
+ buttonText?: any;
197
+ size?: "lg" | "md" | "sm" | undefined;
198
+ bordered?: any;
199
+ rounded?: any;
200
+ }>;
201
+ export declare const AgEmptyStateApi: {
202
+ name: 'AgEmptyState';
203
+ schema: z.ZodObject<{
204
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
205
+ '@path': z.ZodOptional<z.ZodString>;
206
+ path: z.ZodOptional<z.ZodString>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ path?: string | undefined;
209
+ '@path'?: string | undefined;
210
+ }, {
211
+ path?: string | undefined;
212
+ '@path'?: string | undefined;
213
+ }>, {
214
+ path?: string | undefined;
215
+ '@path'?: string | undefined;
216
+ }, {
217
+ path?: string | undefined;
218
+ '@path'?: string | undefined;
219
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
220
+ '@call': z.ZodOptional<z.ZodString>;
221
+ call: z.ZodOptional<z.ZodString>;
222
+ catalogId: z.ZodOptional<z.ZodString>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ call?: string | undefined;
225
+ '@call'?: string | undefined;
226
+ catalogId?: string | undefined;
227
+ }, {
228
+ call?: string | undefined;
229
+ '@call'?: string | undefined;
230
+ catalogId?: string | undefined;
231
+ }>, {
232
+ call?: string | undefined;
233
+ '@call'?: string | undefined;
234
+ catalogId?: string | undefined;
235
+ }, {
236
+ call?: string | undefined;
237
+ '@call'?: string | undefined;
238
+ catalogId?: string | undefined;
239
+ }>, z.ZodAny>>]>>;
240
+ subtitle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
241
+ '@path': z.ZodOptional<z.ZodString>;
242
+ path: z.ZodOptional<z.ZodString>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ path?: string | undefined;
245
+ '@path'?: string | undefined;
246
+ }, {
247
+ path?: string | undefined;
248
+ '@path'?: string | undefined;
249
+ }>, {
250
+ path?: string | undefined;
251
+ '@path'?: string | undefined;
252
+ }, {
253
+ path?: string | undefined;
254
+ '@path'?: string | undefined;
255
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
256
+ '@call': z.ZodOptional<z.ZodString>;
257
+ call: z.ZodOptional<z.ZodString>;
258
+ catalogId: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ call?: string | undefined;
261
+ '@call'?: string | undefined;
262
+ catalogId?: string | undefined;
263
+ }, {
264
+ call?: string | undefined;
265
+ '@call'?: string | undefined;
266
+ catalogId?: string | undefined;
267
+ }>, {
268
+ call?: string | undefined;
269
+ '@call'?: string | undefined;
270
+ catalogId?: string | undefined;
271
+ }, {
272
+ call?: string | undefined;
273
+ '@call'?: string | undefined;
274
+ catalogId?: string | undefined;
275
+ }>, z.ZodAny>>]>>;
276
+ buttonText: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
277
+ '@path': z.ZodOptional<z.ZodString>;
278
+ path: z.ZodOptional<z.ZodString>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ path?: string | undefined;
281
+ '@path'?: string | undefined;
282
+ }, {
283
+ path?: string | undefined;
284
+ '@path'?: string | undefined;
285
+ }>, {
286
+ path?: string | undefined;
287
+ '@path'?: string | undefined;
288
+ }, {
289
+ path?: string | undefined;
290
+ '@path'?: string | undefined;
291
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
292
+ '@call': z.ZodOptional<z.ZodString>;
293
+ call: z.ZodOptional<z.ZodString>;
294
+ catalogId: z.ZodOptional<z.ZodString>;
295
+ }, "strip", z.ZodTypeAny, {
296
+ call?: string | undefined;
297
+ '@call'?: string | undefined;
298
+ catalogId?: string | undefined;
299
+ }, {
300
+ call?: string | undefined;
301
+ '@call'?: string | undefined;
302
+ catalogId?: string | undefined;
303
+ }>, {
304
+ call?: string | undefined;
305
+ '@call'?: string | undefined;
306
+ catalogId?: string | undefined;
307
+ }, {
308
+ call?: string | undefined;
309
+ '@call'?: string | undefined;
310
+ catalogId?: string | undefined;
311
+ }>, z.ZodAny>>]>>;
312
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
313
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
314
+ '@path': z.ZodOptional<z.ZodString>;
315
+ path: z.ZodOptional<z.ZodString>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ path?: string | undefined;
318
+ '@path'?: string | undefined;
319
+ }, {
320
+ path?: string | undefined;
321
+ '@path'?: string | undefined;
322
+ }>, {
323
+ path?: string | undefined;
324
+ '@path'?: string | undefined;
325
+ }, {
326
+ path?: string | undefined;
327
+ '@path'?: string | undefined;
328
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
329
+ '@call': z.ZodOptional<z.ZodString>;
330
+ call: z.ZodOptional<z.ZodString>;
331
+ catalogId: z.ZodOptional<z.ZodString>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ call?: string | undefined;
334
+ '@call'?: string | undefined;
335
+ catalogId?: string | undefined;
336
+ }, {
337
+ call?: string | undefined;
338
+ '@call'?: string | undefined;
339
+ catalogId?: string | undefined;
340
+ }>, {
341
+ call?: string | undefined;
342
+ '@call'?: string | undefined;
343
+ catalogId?: string | undefined;
344
+ }, {
345
+ call?: string | undefined;
346
+ '@call'?: string | undefined;
347
+ catalogId?: string | undefined;
348
+ }>, z.ZodAny>>]>>;
349
+ rounded: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
350
+ '@path': z.ZodOptional<z.ZodString>;
351
+ path: z.ZodOptional<z.ZodString>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ path?: string | undefined;
354
+ '@path'?: string | undefined;
355
+ }, {
356
+ path?: string | undefined;
357
+ '@path'?: string | undefined;
358
+ }>, {
359
+ path?: string | undefined;
360
+ '@path'?: string | undefined;
361
+ }, {
362
+ path?: string | undefined;
363
+ '@path'?: string | undefined;
364
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
365
+ '@call': z.ZodOptional<z.ZodString>;
366
+ call: z.ZodOptional<z.ZodString>;
367
+ catalogId: z.ZodOptional<z.ZodString>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ call?: string | undefined;
370
+ '@call'?: string | undefined;
371
+ catalogId?: string | undefined;
372
+ }, {
373
+ call?: string | undefined;
374
+ '@call'?: string | undefined;
375
+ catalogId?: string | undefined;
376
+ }>, {
377
+ call?: string | undefined;
378
+ '@call'?: string | undefined;
379
+ catalogId?: string | undefined;
380
+ }, {
381
+ call?: string | undefined;
382
+ '@call'?: string | undefined;
383
+ catalogId?: string | undefined;
384
+ }>, z.ZodAny>>]>>;
385
+ }, "strict", z.ZodTypeAny, {
386
+ title?: any;
387
+ subtitle?: any;
388
+ buttonText?: any;
389
+ size?: "lg" | "md" | "sm" | undefined;
390
+ bordered?: any;
391
+ rounded?: any;
392
+ }, {
393
+ title?: any;
394
+ subtitle?: any;
395
+ buttonText?: any;
396
+ size?: "lg" | "md" | "sm" | undefined;
397
+ bordered?: any;
398
+ rounded?: any;
399
+ }>;
400
+ };
401
+ export declare class AgA2uiEmptyStateElement extends A2uiLitElement<typeof AgEmptyStateApi> {
402
+ static readonly tagName = "ag-a2ui-empty-state";
403
+ createRenderRoot(): this;
404
+ render(): import("lit-html").TemplateResult<1>;
405
+ }
406
+ export declare const AgEmptyState: {
407
+ name: 'AgEmptyState';
408
+ schema: z.ZodObject<{
409
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
410
+ '@path': z.ZodOptional<z.ZodString>;
411
+ path: z.ZodOptional<z.ZodString>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ path?: string | undefined;
414
+ '@path'?: string | undefined;
415
+ }, {
416
+ path?: string | undefined;
417
+ '@path'?: string | undefined;
418
+ }>, {
419
+ path?: string | undefined;
420
+ '@path'?: string | undefined;
421
+ }, {
422
+ path?: string | undefined;
423
+ '@path'?: string | undefined;
424
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
425
+ '@call': z.ZodOptional<z.ZodString>;
426
+ call: z.ZodOptional<z.ZodString>;
427
+ catalogId: z.ZodOptional<z.ZodString>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ call?: string | undefined;
430
+ '@call'?: string | undefined;
431
+ catalogId?: string | undefined;
432
+ }, {
433
+ call?: string | undefined;
434
+ '@call'?: string | undefined;
435
+ catalogId?: string | undefined;
436
+ }>, {
437
+ call?: string | undefined;
438
+ '@call'?: string | undefined;
439
+ catalogId?: string | undefined;
440
+ }, {
441
+ call?: string | undefined;
442
+ '@call'?: string | undefined;
443
+ catalogId?: string | undefined;
444
+ }>, z.ZodAny>>]>>;
445
+ subtitle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
446
+ '@path': z.ZodOptional<z.ZodString>;
447
+ path: z.ZodOptional<z.ZodString>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ path?: string | undefined;
450
+ '@path'?: string | undefined;
451
+ }, {
452
+ path?: string | undefined;
453
+ '@path'?: string | undefined;
454
+ }>, {
455
+ path?: string | undefined;
456
+ '@path'?: string | undefined;
457
+ }, {
458
+ path?: string | undefined;
459
+ '@path'?: string | undefined;
460
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
461
+ '@call': z.ZodOptional<z.ZodString>;
462
+ call: z.ZodOptional<z.ZodString>;
463
+ catalogId: z.ZodOptional<z.ZodString>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ call?: string | undefined;
466
+ '@call'?: string | undefined;
467
+ catalogId?: string | undefined;
468
+ }, {
469
+ call?: string | undefined;
470
+ '@call'?: string | undefined;
471
+ catalogId?: string | undefined;
472
+ }>, {
473
+ call?: string | undefined;
474
+ '@call'?: string | undefined;
475
+ catalogId?: string | undefined;
476
+ }, {
477
+ call?: string | undefined;
478
+ '@call'?: string | undefined;
479
+ catalogId?: string | undefined;
480
+ }>, z.ZodAny>>]>>;
481
+ buttonText: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
482
+ '@path': z.ZodOptional<z.ZodString>;
483
+ path: z.ZodOptional<z.ZodString>;
484
+ }, "strip", z.ZodTypeAny, {
485
+ path?: string | undefined;
486
+ '@path'?: string | undefined;
487
+ }, {
488
+ path?: string | undefined;
489
+ '@path'?: string | undefined;
490
+ }>, {
491
+ path?: string | undefined;
492
+ '@path'?: string | undefined;
493
+ }, {
494
+ path?: string | undefined;
495
+ '@path'?: string | undefined;
496
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
497
+ '@call': z.ZodOptional<z.ZodString>;
498
+ call: z.ZodOptional<z.ZodString>;
499
+ catalogId: z.ZodOptional<z.ZodString>;
500
+ }, "strip", z.ZodTypeAny, {
501
+ call?: string | undefined;
502
+ '@call'?: string | undefined;
503
+ catalogId?: string | undefined;
504
+ }, {
505
+ call?: string | undefined;
506
+ '@call'?: string | undefined;
507
+ catalogId?: string | undefined;
508
+ }>, {
509
+ call?: string | undefined;
510
+ '@call'?: string | undefined;
511
+ catalogId?: string | undefined;
512
+ }, {
513
+ call?: string | undefined;
514
+ '@call'?: string | undefined;
515
+ catalogId?: string | undefined;
516
+ }>, z.ZodAny>>]>>;
517
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
518
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
519
+ '@path': z.ZodOptional<z.ZodString>;
520
+ path: z.ZodOptional<z.ZodString>;
521
+ }, "strip", z.ZodTypeAny, {
522
+ path?: string | undefined;
523
+ '@path'?: string | undefined;
524
+ }, {
525
+ path?: string | undefined;
526
+ '@path'?: string | undefined;
527
+ }>, {
528
+ path?: string | undefined;
529
+ '@path'?: string | undefined;
530
+ }, {
531
+ path?: string | undefined;
532
+ '@path'?: string | undefined;
533
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
534
+ '@call': z.ZodOptional<z.ZodString>;
535
+ call: z.ZodOptional<z.ZodString>;
536
+ catalogId: z.ZodOptional<z.ZodString>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ call?: string | undefined;
539
+ '@call'?: string | undefined;
540
+ catalogId?: string | undefined;
541
+ }, {
542
+ call?: string | undefined;
543
+ '@call'?: string | undefined;
544
+ catalogId?: string | undefined;
545
+ }>, {
546
+ call?: string | undefined;
547
+ '@call'?: string | undefined;
548
+ catalogId?: string | undefined;
549
+ }, {
550
+ call?: string | undefined;
551
+ '@call'?: string | undefined;
552
+ catalogId?: string | undefined;
553
+ }>, z.ZodAny>>]>>;
554
+ rounded: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
555
+ '@path': z.ZodOptional<z.ZodString>;
556
+ path: z.ZodOptional<z.ZodString>;
557
+ }, "strip", z.ZodTypeAny, {
558
+ path?: string | undefined;
559
+ '@path'?: string | undefined;
560
+ }, {
561
+ path?: string | undefined;
562
+ '@path'?: string | undefined;
563
+ }>, {
564
+ path?: string | undefined;
565
+ '@path'?: string | undefined;
566
+ }, {
567
+ path?: string | undefined;
568
+ '@path'?: string | undefined;
569
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
570
+ '@call': z.ZodOptional<z.ZodString>;
571
+ call: z.ZodOptional<z.ZodString>;
572
+ catalogId: z.ZodOptional<z.ZodString>;
573
+ }, "strip", z.ZodTypeAny, {
574
+ call?: string | undefined;
575
+ '@call'?: string | undefined;
576
+ catalogId?: string | undefined;
577
+ }, {
578
+ call?: string | undefined;
579
+ '@call'?: string | undefined;
580
+ catalogId?: string | undefined;
581
+ }>, {
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
+ }>, z.ZodAny>>]>>;
590
+ }, "strict", z.ZodTypeAny, {
591
+ title?: any;
592
+ subtitle?: any;
593
+ buttonText?: any;
594
+ size?: "lg" | "md" | "sm" | undefined;
595
+ bordered?: any;
596
+ rounded?: any;
597
+ }, {
598
+ title?: any;
599
+ subtitle?: any;
600
+ buttonText?: any;
601
+ size?: "lg" | "md" | "sm" | undefined;
602
+ bordered?: any;
603
+ rounded?: any;
604
+ }>;
605
+ element: typeof AgA2uiEmptyStateElement;
606
+ tagName: string;
607
+ };
@@ -0,0 +1,42 @@
1
+ // AUTO-GENERATED by v2/a2ui/catalog/scripts/generate-catalog.ts — do not edit by hand
2
+ import { html } from 'lit';
3
+ import { ifDefined } from 'lit/directives/if-defined.js';
4
+ import { z } from 'zod';
5
+ import { A2uiLitElement, DynamicBooleanSchema, DynamicStringSchema } from '@a2ui/web_core/v1_0';
6
+ import 'agnosticui-core/empty-state';
7
+ export const AgEmptyStateSchema = z
8
+ .object({
9
+ title: DynamicStringSchema.describe('REF:#/$defs/DynamicString|String property title.').optional(),
10
+ subtitle: DynamicStringSchema.describe('REF:#/$defs/DynamicString|String property subtitle.').optional(),
11
+ buttonText: DynamicStringSchema.describe('REF:#/$defs/DynamicString|String property buttonText.').optional(),
12
+ size: z.enum(['sm', 'md', 'lg']).optional(),
13
+ bordered: DynamicBooleanSchema.describe('REF:#/$defs/DynamicBoolean|Boolean property bordered.').optional(),
14
+ rounded: DynamicBooleanSchema.describe('REF:#/$defs/DynamicBoolean|Boolean property rounded.').optional(),
15
+ })
16
+ .strict();
17
+ export const AgEmptyStateApi = {
18
+ name: 'AgEmptyState',
19
+ schema: AgEmptyStateSchema,
20
+ };
21
+ export class AgA2uiEmptyStateElement extends A2uiLitElement {
22
+ static { this.tagName = 'ag-a2ui-empty-state'; }
23
+ createRenderRoot() {
24
+ return this;
25
+ }
26
+ render() {
27
+ const p = this.controller.props;
28
+ return html `<ag-empty-state
29
+ .title=${ifDefined(p.title)}
30
+ .subtitle=${ifDefined(p.subtitle)}
31
+ .buttonText=${ifDefined(p.buttonText)}
32
+ .size=${ifDefined(p.size)}
33
+ .bordered=${Boolean(p.bordered)}
34
+ .rounded=${Boolean(p.rounded)}
35
+ ></ag-empty-state>`;
36
+ }
37
+ }
38
+ export const AgEmptyState = {
39
+ ...AgEmptyStateApi,
40
+ element: AgA2uiEmptyStateElement,
41
+ tagName: AgA2uiEmptyStateElement.tagName,
42
+ };