@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.
- package/README.md +34 -2
- package/SKILL.md +52 -0
- package/agnosticui-catalog.json +2184 -0
- package/dist/catalog.d.ts +5 -0
- package/dist/catalog.js +36 -0
- package/dist/components/AgAccordion.d.ts +82 -0
- package/dist/components/AgAccordion.js +29 -0
- package/dist/components/AgAlert.d.ts +971 -0
- package/dist/components/AgAlert.js +46 -0
- package/dist/components/AgAvatar.d.ts +511 -0
- package/dist/components/AgAvatar.js +44 -0
- package/dist/components/AgBadge.d.ts +793 -0
- package/dist/components/AgBadge.js +49 -0
- package/dist/components/AgButton.d.ts +1568 -0
- package/dist/components/AgButton.js +61 -0
- package/dist/components/AgCard.d.ts +565 -0
- package/dist/components/AgCard.js +45 -0
- package/dist/components/AgCheckbox.d.ts +1497 -0
- package/dist/components/AgCheckbox.js +63 -0
- package/dist/components/AgCombobox.d.ts +2733 -0
- package/dist/components/AgCombobox.js +91 -0
- package/dist/components/AgDivider.d.ts +169 -0
- package/dist/components/AgDivider.js +38 -0
- package/dist/components/AgEmptyState.d.ts +607 -0
- package/dist/components/AgEmptyState.js +42 -0
- package/dist/components/AgFieldset.d.ts +433 -0
- package/dist/components/AgFieldset.js +39 -0
- package/dist/components/AgHeader.d.ts +205 -0
- package/dist/components/AgHeader.js +35 -0
- package/dist/components/AgInput.d.ts +2988 -0
- package/dist/components/AgInput.js +91 -0
- package/dist/components/AgMessageBubble.d.ts +670 -0
- package/dist/components/AgMessageBubble.js +45 -0
- package/dist/components/AgProgress.d.ts +433 -0
- package/dist/components/AgProgress.js +39 -0
- package/dist/components/AgProgressRing.d.ts +274 -0
- package/dist/components/AgProgressRing.js +38 -0
- package/dist/components/AgRadio.d.ts +1848 -0
- package/dist/components/AgRadio.js +71 -0
- package/dist/components/AgRating.d.ts +1433 -0
- package/dist/components/AgRating.js +67 -0
- package/dist/components/AgSelect.d.ts +1839 -0
- package/dist/components/AgSelect.js +69 -0
- package/dist/components/AgSpinner.d.ts +151 -0
- package/dist/components/AgSpinner.js +34 -0
- package/dist/components/AgTabs.d.ts +328 -0
- package/dist/components/AgTabs.js +39 -0
- package/dist/components/AgTag.d.ts +752 -0
- package/dist/components/AgTag.js +44 -0
- package/dist/components/AgTimeline.d.ts +274 -0
- package/dist/components/AgTimeline.js +38 -0
- package/dist/components/AgToggle.d.ts +1848 -0
- package/dist/components/AgToggle.js +71 -0
- package/dist/functions/validate-surface.d.ts +27 -0
- package/dist/functions/validate-surface.js +56 -0
- package/dist/harness/mock-stream.d.ts +8 -0
- package/dist/harness/mock-stream.js +5 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +31 -0
- package/dist/primitives/AgText.d.ts +150 -0
- package/dist/primitives/AgText.js +44 -0
- package/dist/test-setup.d.ts +1 -0
- package/dist/test-setup.js +83 -0
- package/package.json +59 -4
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { A2uiLitElement } from '@a2ui/web_core/v1_0';
|
|
3
|
+
import 'agnosticui-core/fieldset';
|
|
4
|
+
export declare const AgFieldsetSchema: 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
|
+
legend: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
16
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
17
|
+
path: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
path?: string | undefined;
|
|
20
|
+
'@path'?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
path?: string | undefined;
|
|
23
|
+
'@path'?: string | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
path?: string | undefined;
|
|
26
|
+
'@path'?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
path?: string | undefined;
|
|
29
|
+
'@path'?: string | undefined;
|
|
30
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
31
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
32
|
+
call: z.ZodOptional<z.ZodString>;
|
|
33
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
call?: string | undefined;
|
|
36
|
+
'@call'?: string | undefined;
|
|
37
|
+
catalogId?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
call?: string | undefined;
|
|
40
|
+
'@call'?: string | undefined;
|
|
41
|
+
catalogId?: string | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
call?: string | undefined;
|
|
44
|
+
'@call'?: string | undefined;
|
|
45
|
+
catalogId?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
call?: string | undefined;
|
|
48
|
+
'@call'?: string | undefined;
|
|
49
|
+
catalogId?: string | undefined;
|
|
50
|
+
}>, z.ZodAny>>]>>;
|
|
51
|
+
bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
52
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
53
|
+
path: z.ZodOptional<z.ZodString>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
path?: string | undefined;
|
|
56
|
+
'@path'?: string | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
path?: string | undefined;
|
|
59
|
+
'@path'?: string | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
path?: string | undefined;
|
|
62
|
+
'@path'?: string | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
path?: string | undefined;
|
|
65
|
+
'@path'?: string | undefined;
|
|
66
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
67
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
68
|
+
call: z.ZodOptional<z.ZodString>;
|
|
69
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
call?: string | undefined;
|
|
72
|
+
'@call'?: string | undefined;
|
|
73
|
+
catalogId?: string | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
call?: string | undefined;
|
|
76
|
+
'@call'?: string | undefined;
|
|
77
|
+
catalogId?: string | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
call?: string | undefined;
|
|
80
|
+
'@call'?: string | undefined;
|
|
81
|
+
catalogId?: string | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
call?: string | undefined;
|
|
84
|
+
'@call'?: string | undefined;
|
|
85
|
+
catalogId?: string | undefined;
|
|
86
|
+
}>, z.ZodAny>>]>>;
|
|
87
|
+
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
88
|
+
legendHidden: 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
|
+
}, "strict", z.ZodTypeAny, {
|
|
125
|
+
children?: string[] | {
|
|
126
|
+
path: string;
|
|
127
|
+
componentId: string;
|
|
128
|
+
} | undefined;
|
|
129
|
+
legend?: any;
|
|
130
|
+
bordered?: any;
|
|
131
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
132
|
+
legendHidden?: any;
|
|
133
|
+
}, {
|
|
134
|
+
children?: string[] | {
|
|
135
|
+
path: string;
|
|
136
|
+
componentId: string;
|
|
137
|
+
} | undefined;
|
|
138
|
+
legend?: any;
|
|
139
|
+
bordered?: any;
|
|
140
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
141
|
+
legendHidden?: any;
|
|
142
|
+
}>;
|
|
143
|
+
export declare const AgFieldsetApi: {
|
|
144
|
+
name: 'AgFieldset';
|
|
145
|
+
schema: z.ZodObject<{
|
|
146
|
+
children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
147
|
+
componentId: z.ZodString;
|
|
148
|
+
path: z.ZodString;
|
|
149
|
+
}, "strict", z.ZodTypeAny, {
|
|
150
|
+
path: string;
|
|
151
|
+
componentId: string;
|
|
152
|
+
}, {
|
|
153
|
+
path: string;
|
|
154
|
+
componentId: string;
|
|
155
|
+
}>]>>;
|
|
156
|
+
legend: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
157
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
158
|
+
path: z.ZodOptional<z.ZodString>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
path?: string | undefined;
|
|
161
|
+
'@path'?: string | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
path?: string | undefined;
|
|
164
|
+
'@path'?: string | undefined;
|
|
165
|
+
}>, {
|
|
166
|
+
path?: string | undefined;
|
|
167
|
+
'@path'?: string | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
path?: string | undefined;
|
|
170
|
+
'@path'?: string | undefined;
|
|
171
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
172
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
173
|
+
call: z.ZodOptional<z.ZodString>;
|
|
174
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
call?: string | undefined;
|
|
177
|
+
'@call'?: string | undefined;
|
|
178
|
+
catalogId?: string | undefined;
|
|
179
|
+
}, {
|
|
180
|
+
call?: string | undefined;
|
|
181
|
+
'@call'?: string | undefined;
|
|
182
|
+
catalogId?: string | undefined;
|
|
183
|
+
}>, {
|
|
184
|
+
call?: string | undefined;
|
|
185
|
+
'@call'?: string | undefined;
|
|
186
|
+
catalogId?: string | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
call?: string | undefined;
|
|
189
|
+
'@call'?: string | undefined;
|
|
190
|
+
catalogId?: string | undefined;
|
|
191
|
+
}>, z.ZodAny>>]>>;
|
|
192
|
+
bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
193
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
194
|
+
path: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
path?: string | undefined;
|
|
197
|
+
'@path'?: string | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
path?: string | undefined;
|
|
200
|
+
'@path'?: string | undefined;
|
|
201
|
+
}>, {
|
|
202
|
+
path?: string | undefined;
|
|
203
|
+
'@path'?: string | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
path?: string | undefined;
|
|
206
|
+
'@path'?: string | undefined;
|
|
207
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
208
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
209
|
+
call: z.ZodOptional<z.ZodString>;
|
|
210
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
call?: string | undefined;
|
|
213
|
+
'@call'?: string | undefined;
|
|
214
|
+
catalogId?: string | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
call?: string | undefined;
|
|
217
|
+
'@call'?: string | undefined;
|
|
218
|
+
catalogId?: string | undefined;
|
|
219
|
+
}>, {
|
|
220
|
+
call?: string | undefined;
|
|
221
|
+
'@call'?: string | undefined;
|
|
222
|
+
catalogId?: string | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
call?: string | undefined;
|
|
225
|
+
'@call'?: string | undefined;
|
|
226
|
+
catalogId?: string | undefined;
|
|
227
|
+
}>, z.ZodAny>>]>>;
|
|
228
|
+
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
229
|
+
legendHidden: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
230
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
231
|
+
path: z.ZodOptional<z.ZodString>;
|
|
232
|
+
}, "strip", z.ZodTypeAny, {
|
|
233
|
+
path?: string | undefined;
|
|
234
|
+
'@path'?: string | undefined;
|
|
235
|
+
}, {
|
|
236
|
+
path?: string | undefined;
|
|
237
|
+
'@path'?: string | undefined;
|
|
238
|
+
}>, {
|
|
239
|
+
path?: string | undefined;
|
|
240
|
+
'@path'?: string | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
path?: string | undefined;
|
|
243
|
+
'@path'?: string | undefined;
|
|
244
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
245
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
246
|
+
call: z.ZodOptional<z.ZodString>;
|
|
247
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
call?: string | undefined;
|
|
250
|
+
'@call'?: string | undefined;
|
|
251
|
+
catalogId?: string | undefined;
|
|
252
|
+
}, {
|
|
253
|
+
call?: string | undefined;
|
|
254
|
+
'@call'?: string | undefined;
|
|
255
|
+
catalogId?: string | undefined;
|
|
256
|
+
}>, {
|
|
257
|
+
call?: string | undefined;
|
|
258
|
+
'@call'?: string | undefined;
|
|
259
|
+
catalogId?: string | undefined;
|
|
260
|
+
}, {
|
|
261
|
+
call?: string | undefined;
|
|
262
|
+
'@call'?: string | undefined;
|
|
263
|
+
catalogId?: string | undefined;
|
|
264
|
+
}>, z.ZodAny>>]>>;
|
|
265
|
+
}, "strict", z.ZodTypeAny, {
|
|
266
|
+
children?: string[] | {
|
|
267
|
+
path: string;
|
|
268
|
+
componentId: string;
|
|
269
|
+
} | undefined;
|
|
270
|
+
legend?: any;
|
|
271
|
+
bordered?: any;
|
|
272
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
273
|
+
legendHidden?: any;
|
|
274
|
+
}, {
|
|
275
|
+
children?: string[] | {
|
|
276
|
+
path: string;
|
|
277
|
+
componentId: string;
|
|
278
|
+
} | undefined;
|
|
279
|
+
legend?: any;
|
|
280
|
+
bordered?: any;
|
|
281
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
282
|
+
legendHidden?: any;
|
|
283
|
+
}>;
|
|
284
|
+
};
|
|
285
|
+
export declare class AgA2uiFieldsetElement extends A2uiLitElement<typeof AgFieldsetApi> {
|
|
286
|
+
static readonly tagName = "ag-a2ui-fieldset";
|
|
287
|
+
createRenderRoot(): this;
|
|
288
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
289
|
+
}
|
|
290
|
+
export declare const AgFieldset: {
|
|
291
|
+
name: 'AgFieldset';
|
|
292
|
+
schema: z.ZodObject<{
|
|
293
|
+
children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
294
|
+
componentId: z.ZodString;
|
|
295
|
+
path: z.ZodString;
|
|
296
|
+
}, "strict", z.ZodTypeAny, {
|
|
297
|
+
path: string;
|
|
298
|
+
componentId: string;
|
|
299
|
+
}, {
|
|
300
|
+
path: string;
|
|
301
|
+
componentId: string;
|
|
302
|
+
}>]>>;
|
|
303
|
+
legend: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
304
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
305
|
+
path: z.ZodOptional<z.ZodString>;
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
path?: string | undefined;
|
|
308
|
+
'@path'?: string | undefined;
|
|
309
|
+
}, {
|
|
310
|
+
path?: string | undefined;
|
|
311
|
+
'@path'?: string | undefined;
|
|
312
|
+
}>, {
|
|
313
|
+
path?: string | undefined;
|
|
314
|
+
'@path'?: string | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
path?: string | undefined;
|
|
317
|
+
'@path'?: string | undefined;
|
|
318
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
319
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
320
|
+
call: z.ZodOptional<z.ZodString>;
|
|
321
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
call?: string | undefined;
|
|
324
|
+
'@call'?: string | undefined;
|
|
325
|
+
catalogId?: string | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
call?: string | undefined;
|
|
328
|
+
'@call'?: string | undefined;
|
|
329
|
+
catalogId?: string | undefined;
|
|
330
|
+
}>, {
|
|
331
|
+
call?: string | undefined;
|
|
332
|
+
'@call'?: string | undefined;
|
|
333
|
+
catalogId?: string | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
call?: string | undefined;
|
|
336
|
+
'@call'?: string | undefined;
|
|
337
|
+
catalogId?: string | undefined;
|
|
338
|
+
}>, z.ZodAny>>]>>;
|
|
339
|
+
bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
340
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
341
|
+
path: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
}, {
|
|
352
|
+
path?: string | undefined;
|
|
353
|
+
'@path'?: string | undefined;
|
|
354
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
355
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
356
|
+
call: z.ZodOptional<z.ZodString>;
|
|
357
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
call?: string | undefined;
|
|
360
|
+
'@call'?: string | undefined;
|
|
361
|
+
catalogId?: string | undefined;
|
|
362
|
+
}, {
|
|
363
|
+
call?: string | undefined;
|
|
364
|
+
'@call'?: string | undefined;
|
|
365
|
+
catalogId?: string | undefined;
|
|
366
|
+
}>, {
|
|
367
|
+
call?: string | undefined;
|
|
368
|
+
'@call'?: string | undefined;
|
|
369
|
+
catalogId?: string | undefined;
|
|
370
|
+
}, {
|
|
371
|
+
call?: string | undefined;
|
|
372
|
+
'@call'?: string | undefined;
|
|
373
|
+
catalogId?: string | undefined;
|
|
374
|
+
}>, z.ZodAny>>]>>;
|
|
375
|
+
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
376
|
+
legendHidden: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
377
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
378
|
+
path: z.ZodOptional<z.ZodString>;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
path?: string | undefined;
|
|
381
|
+
'@path'?: string | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
path?: string | undefined;
|
|
384
|
+
'@path'?: string | undefined;
|
|
385
|
+
}>, {
|
|
386
|
+
path?: string | undefined;
|
|
387
|
+
'@path'?: string | undefined;
|
|
388
|
+
}, {
|
|
389
|
+
path?: string | undefined;
|
|
390
|
+
'@path'?: string | undefined;
|
|
391
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
392
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
393
|
+
call: z.ZodOptional<z.ZodString>;
|
|
394
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
395
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
}, {
|
|
408
|
+
call?: string | undefined;
|
|
409
|
+
'@call'?: string | undefined;
|
|
410
|
+
catalogId?: string | undefined;
|
|
411
|
+
}>, z.ZodAny>>]>>;
|
|
412
|
+
}, "strict", z.ZodTypeAny, {
|
|
413
|
+
children?: string[] | {
|
|
414
|
+
path: string;
|
|
415
|
+
componentId: string;
|
|
416
|
+
} | undefined;
|
|
417
|
+
legend?: any;
|
|
418
|
+
bordered?: any;
|
|
419
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
420
|
+
legendHidden?: any;
|
|
421
|
+
}, {
|
|
422
|
+
children?: string[] | {
|
|
423
|
+
path: string;
|
|
424
|
+
componentId: string;
|
|
425
|
+
} | undefined;
|
|
426
|
+
legend?: any;
|
|
427
|
+
bordered?: any;
|
|
428
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
429
|
+
legendHidden?: any;
|
|
430
|
+
}>;
|
|
431
|
+
element: typeof AgA2uiFieldsetElement;
|
|
432
|
+
tagName: string;
|
|
433
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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, ChildListSchema, DynamicBooleanSchema, DynamicStringSchema } from '@a2ui/web_core/v1_0';
|
|
6
|
+
import 'agnosticui-core/fieldset';
|
|
7
|
+
export const AgFieldsetSchema = z
|
|
8
|
+
.object({
|
|
9
|
+
children: ChildListSchema.describe('REF:#/$defs/ChildList|Child component IDs rendered inside AgFieldset.').optional(),
|
|
10
|
+
legend: DynamicStringSchema.describe('REF:#/$defs/DynamicString|String property legend.').optional(),
|
|
11
|
+
bordered: DynamicBooleanSchema.describe('REF:#/$defs/DynamicBoolean|Boolean property bordered.').optional(),
|
|
12
|
+
layout: z.enum(['vertical', 'horizontal']).optional(),
|
|
13
|
+
legendHidden: DynamicBooleanSchema.describe('REF:#/$defs/DynamicBoolean|Boolean property legendHidden.').optional(),
|
|
14
|
+
})
|
|
15
|
+
.strict();
|
|
16
|
+
export const AgFieldsetApi = {
|
|
17
|
+
name: 'AgFieldset',
|
|
18
|
+
schema: AgFieldsetSchema,
|
|
19
|
+
};
|
|
20
|
+
export class AgA2uiFieldsetElement extends A2uiLitElement {
|
|
21
|
+
static { this.tagName = 'ag-a2ui-fieldset'; }
|
|
22
|
+
createRenderRoot() {
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const p = this.controller.props;
|
|
27
|
+
return html `<ag-fieldset
|
|
28
|
+
.legend=${ifDefined(p.legend)}
|
|
29
|
+
.bordered=${Boolean(p.bordered)}
|
|
30
|
+
.layout=${ifDefined(p.layout)}
|
|
31
|
+
.legendHidden=${Boolean(p.legendHidden)}
|
|
32
|
+
>${(p.children ?? []).map((c) => this.renderNode(c))}</ag-fieldset>`;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export const AgFieldset = {
|
|
36
|
+
...AgFieldsetApi,
|
|
37
|
+
element: AgA2uiFieldsetElement,
|
|
38
|
+
tagName: AgA2uiFieldsetElement.tagName,
|
|
39
|
+
};
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { A2uiLitElement } from '@a2ui/web_core/v1_0';
|
|
3
|
+
import 'agnosticui-core/header';
|
|
4
|
+
export declare const AgHeaderSchema: 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
|
+
sticky: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
16
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
17
|
+
path: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
path?: string | undefined;
|
|
20
|
+
'@path'?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
path?: string | undefined;
|
|
23
|
+
'@path'?: string | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
path?: string | undefined;
|
|
26
|
+
'@path'?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
path?: string | undefined;
|
|
29
|
+
'@path'?: string | undefined;
|
|
30
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
31
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
32
|
+
call: z.ZodOptional<z.ZodString>;
|
|
33
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
call?: string | undefined;
|
|
36
|
+
'@call'?: string | undefined;
|
|
37
|
+
catalogId?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
call?: string | undefined;
|
|
40
|
+
'@call'?: string | undefined;
|
|
41
|
+
catalogId?: string | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
call?: string | undefined;
|
|
44
|
+
'@call'?: string | undefined;
|
|
45
|
+
catalogId?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
call?: string | undefined;
|
|
48
|
+
'@call'?: string | undefined;
|
|
49
|
+
catalogId?: string | undefined;
|
|
50
|
+
}>, z.ZodAny>>]>>;
|
|
51
|
+
contentJustify: z.ZodOptional<z.ZodEnum<["end", "start", "center", "between", "around"]>>;
|
|
52
|
+
}, "strict", z.ZodTypeAny, {
|
|
53
|
+
children?: string[] | {
|
|
54
|
+
path: string;
|
|
55
|
+
componentId: string;
|
|
56
|
+
} | undefined;
|
|
57
|
+
sticky?: any;
|
|
58
|
+
contentJustify?: "around" | "between" | "center" | "end" | "start" | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
children?: string[] | {
|
|
61
|
+
path: string;
|
|
62
|
+
componentId: string;
|
|
63
|
+
} | undefined;
|
|
64
|
+
sticky?: any;
|
|
65
|
+
contentJustify?: "around" | "between" | "center" | "end" | "start" | undefined;
|
|
66
|
+
}>;
|
|
67
|
+
export declare const AgHeaderApi: {
|
|
68
|
+
name: 'AgHeader';
|
|
69
|
+
schema: z.ZodObject<{
|
|
70
|
+
children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
71
|
+
componentId: z.ZodString;
|
|
72
|
+
path: z.ZodString;
|
|
73
|
+
}, "strict", z.ZodTypeAny, {
|
|
74
|
+
path: string;
|
|
75
|
+
componentId: string;
|
|
76
|
+
}, {
|
|
77
|
+
path: string;
|
|
78
|
+
componentId: string;
|
|
79
|
+
}>]>>;
|
|
80
|
+
sticky: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
81
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
82
|
+
path: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
}, {
|
|
93
|
+
path?: string | undefined;
|
|
94
|
+
'@path'?: string | undefined;
|
|
95
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
96
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
97
|
+
call: z.ZodOptional<z.ZodString>;
|
|
98
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
call?: string | undefined;
|
|
101
|
+
'@call'?: string | undefined;
|
|
102
|
+
catalogId?: string | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
call?: string | undefined;
|
|
105
|
+
'@call'?: string | undefined;
|
|
106
|
+
catalogId?: string | undefined;
|
|
107
|
+
}>, {
|
|
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
|
+
}>, z.ZodAny>>]>>;
|
|
116
|
+
contentJustify: z.ZodOptional<z.ZodEnum<["end", "start", "center", "between", "around"]>>;
|
|
117
|
+
}, "strict", z.ZodTypeAny, {
|
|
118
|
+
children?: string[] | {
|
|
119
|
+
path: string;
|
|
120
|
+
componentId: string;
|
|
121
|
+
} | undefined;
|
|
122
|
+
sticky?: any;
|
|
123
|
+
contentJustify?: "around" | "between" | "center" | "end" | "start" | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
children?: string[] | {
|
|
126
|
+
path: string;
|
|
127
|
+
componentId: string;
|
|
128
|
+
} | undefined;
|
|
129
|
+
sticky?: any;
|
|
130
|
+
contentJustify?: "around" | "between" | "center" | "end" | "start" | undefined;
|
|
131
|
+
}>;
|
|
132
|
+
};
|
|
133
|
+
export declare class AgA2uiHeaderElement extends A2uiLitElement<typeof AgHeaderApi> {
|
|
134
|
+
static readonly tagName = "ag-a2ui-header";
|
|
135
|
+
createRenderRoot(): this;
|
|
136
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
137
|
+
}
|
|
138
|
+
export declare const AgHeader: {
|
|
139
|
+
name: 'AgHeader';
|
|
140
|
+
schema: z.ZodObject<{
|
|
141
|
+
children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
142
|
+
componentId: z.ZodString;
|
|
143
|
+
path: z.ZodString;
|
|
144
|
+
}, "strict", z.ZodTypeAny, {
|
|
145
|
+
path: string;
|
|
146
|
+
componentId: string;
|
|
147
|
+
}, {
|
|
148
|
+
path: string;
|
|
149
|
+
componentId: string;
|
|
150
|
+
}>]>>;
|
|
151
|
+
sticky: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
|
|
152
|
+
'@path': z.ZodOptional<z.ZodString>;
|
|
153
|
+
path: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
path?: string | undefined;
|
|
156
|
+
'@path'?: string | undefined;
|
|
157
|
+
}, {
|
|
158
|
+
path?: string | undefined;
|
|
159
|
+
'@path'?: string | undefined;
|
|
160
|
+
}>, {
|
|
161
|
+
path?: string | undefined;
|
|
162
|
+
'@path'?: string | undefined;
|
|
163
|
+
}, {
|
|
164
|
+
path?: string | undefined;
|
|
165
|
+
'@path'?: string | undefined;
|
|
166
|
+
}>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
167
|
+
'@call': z.ZodOptional<z.ZodString>;
|
|
168
|
+
call: z.ZodOptional<z.ZodString>;
|
|
169
|
+
catalogId: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
call?: string | undefined;
|
|
172
|
+
'@call'?: string | undefined;
|
|
173
|
+
catalogId?: string | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
call?: string | undefined;
|
|
176
|
+
'@call'?: string | undefined;
|
|
177
|
+
catalogId?: string | undefined;
|
|
178
|
+
}>, {
|
|
179
|
+
call?: string | undefined;
|
|
180
|
+
'@call'?: string | undefined;
|
|
181
|
+
catalogId?: string | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
call?: string | undefined;
|
|
184
|
+
'@call'?: string | undefined;
|
|
185
|
+
catalogId?: string | undefined;
|
|
186
|
+
}>, z.ZodAny>>]>>;
|
|
187
|
+
contentJustify: z.ZodOptional<z.ZodEnum<["end", "start", "center", "between", "around"]>>;
|
|
188
|
+
}, "strict", z.ZodTypeAny, {
|
|
189
|
+
children?: string[] | {
|
|
190
|
+
path: string;
|
|
191
|
+
componentId: string;
|
|
192
|
+
} | undefined;
|
|
193
|
+
sticky?: any;
|
|
194
|
+
contentJustify?: "around" | "between" | "center" | "end" | "start" | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
children?: string[] | {
|
|
197
|
+
path: string;
|
|
198
|
+
componentId: string;
|
|
199
|
+
} | undefined;
|
|
200
|
+
sticky?: any;
|
|
201
|
+
contentJustify?: "around" | "between" | "center" | "end" | "start" | undefined;
|
|
202
|
+
}>;
|
|
203
|
+
element: typeof AgA2uiHeaderElement;
|
|
204
|
+
tagName: string;
|
|
205
|
+
};
|