@jini-ai/ui 0.6.16 → 0.6.19

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 (38) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/features/charts/catalog-manifests.d.ts +25 -0
  3. package/dist/features/charts/catalog-manifests.js +73 -0
  4. package/dist/features/charts/index.d.ts +2 -1
  5. package/dist/features/charts/index.js +2 -1
  6. package/dist/features/charts/react.d.ts +10 -6
  7. package/dist/features/charts/react.js +40 -33
  8. package/dist/features/charts/wire.d.ts +733 -0
  9. package/dist/features/charts/wire.js +37 -0
  10. package/dist/features/i18n/dictionaries/settings-dialog.ar.js +3 -0
  11. package/dist/features/i18n/dictionaries/settings-dialog.bn.js +3 -0
  12. package/dist/features/i18n/dictionaries/settings-dialog.de.js +3 -0
  13. package/dist/features/i18n/dictionaries/settings-dialog.en.js +3 -0
  14. package/dist/features/i18n/dictionaries/settings-dialog.es.js +3 -0
  15. package/dist/features/i18n/dictionaries/settings-dialog.fa.js +3 -0
  16. package/dist/features/i18n/dictionaries/settings-dialog.fr.js +3 -0
  17. package/dist/features/i18n/dictionaries/settings-dialog.hi.js +3 -0
  18. package/dist/features/i18n/dictionaries/settings-dialog.hu.js +3 -0
  19. package/dist/features/i18n/dictionaries/settings-dialog.id.js +3 -0
  20. package/dist/features/i18n/dictionaries/settings-dialog.it.js +3 -0
  21. package/dist/features/i18n/dictionaries/settings-dialog.ja.js +3 -0
  22. package/dist/features/i18n/dictionaries/settings-dialog.ko.js +3 -0
  23. package/dist/features/i18n/dictionaries/settings-dialog.pl.js +3 -0
  24. package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.js +3 -0
  25. package/dist/features/i18n/dictionaries/settings-dialog.ru.js +3 -0
  26. package/dist/features/i18n/dictionaries/settings-dialog.th.js +3 -0
  27. package/dist/features/i18n/dictionaries/settings-dialog.tr.js +3 -0
  28. package/dist/features/i18n/dictionaries/settings-dialog.uk.js +3 -0
  29. package/dist/features/i18n/dictionaries/settings-dialog.ur.js +3 -0
  30. package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.js +3 -0
  31. package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.js +3 -0
  32. package/dist/features/interactive-ui/index.js +4 -1
  33. package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.js +2 -1
  34. package/dist/features/mcp-ui/surfaces/outcome.d.ts +7 -1
  35. package/dist/features/mcp-ui/surfaces/outcome.js +47 -8
  36. package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.js +2 -1
  37. package/dist/react/components/TooltipLayer.js +27 -2
  38. package/package.json +10 -10
@@ -89,6 +89,739 @@ export declare const rechartsBarChartManifest: InteractiveComponentManifest;
89
89
  export declare const rechartsLineChartManifest: InteractiveComponentManifest;
90
90
  export declare const rechartsPieChartManifest: InteractiveComponentManifest;
91
91
  export declare const chartWireManifests: readonly [InteractiveComponentManifest, InteractiveComponentManifest, InteractiveComponentManifest];
92
+ /** `chart.spec` props: one neutral spec, any kind, one or more series. Stricter than the contract
93
+ * (which also carries converted legacy data) because an agent writes this shape directly.
94
+ */
95
+ export declare const chartSpecPropsSchema: z.ZodObject<{
96
+ spec: z.ZodEffects<z.ZodObject<{
97
+ kind: z.ZodString;
98
+ categoryKey: z.ZodOptional<z.ZodString>;
99
+ title: z.ZodOptional<z.ZodString>;
100
+ description: z.ZodOptional<z.ZodString>;
101
+ axes: z.ZodOptional<z.ZodObject<{
102
+ x: z.ZodOptional<z.ZodObject<{
103
+ label: z.ZodOptional<z.ZodString>;
104
+ format: z.ZodOptional<z.ZodObject<{
105
+ locale: z.ZodOptional<z.ZodString>;
106
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
107
+ }, "strict", z.ZodTypeAny, {
108
+ locale?: string | undefined;
109
+ notation?: "compact" | "standard" | undefined;
110
+ }, {
111
+ locale?: string | undefined;
112
+ notation?: "compact" | "standard" | undefined;
113
+ }>>;
114
+ }, "strict", z.ZodTypeAny, {
115
+ label?: string | undefined;
116
+ format?: {
117
+ locale?: string | undefined;
118
+ notation?: "compact" | "standard" | undefined;
119
+ } | undefined;
120
+ }, {
121
+ label?: string | undefined;
122
+ format?: {
123
+ locale?: string | undefined;
124
+ notation?: "compact" | "standard" | undefined;
125
+ } | undefined;
126
+ }>>;
127
+ y: z.ZodOptional<z.ZodObject<{
128
+ label: z.ZodOptional<z.ZodString>;
129
+ format: z.ZodOptional<z.ZodObject<{
130
+ locale: z.ZodOptional<z.ZodString>;
131
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
132
+ }, "strict", z.ZodTypeAny, {
133
+ locale?: string | undefined;
134
+ notation?: "compact" | "standard" | undefined;
135
+ }, {
136
+ locale?: string | undefined;
137
+ notation?: "compact" | "standard" | undefined;
138
+ }>>;
139
+ }, "strict", z.ZodTypeAny, {
140
+ label?: string | undefined;
141
+ format?: {
142
+ locale?: string | undefined;
143
+ notation?: "compact" | "standard" | undefined;
144
+ } | undefined;
145
+ }, {
146
+ label?: string | undefined;
147
+ format?: {
148
+ locale?: string | undefined;
149
+ notation?: "compact" | "standard" | undefined;
150
+ } | undefined;
151
+ }>>;
152
+ }, "strict", z.ZodTypeAny, {
153
+ x?: {
154
+ label?: string | undefined;
155
+ format?: {
156
+ locale?: string | undefined;
157
+ notation?: "compact" | "standard" | undefined;
158
+ } | undefined;
159
+ } | undefined;
160
+ y?: {
161
+ label?: string | undefined;
162
+ format?: {
163
+ locale?: string | undefined;
164
+ notation?: "compact" | "standard" | undefined;
165
+ } | undefined;
166
+ } | undefined;
167
+ }, {
168
+ x?: {
169
+ label?: string | undefined;
170
+ format?: {
171
+ locale?: string | undefined;
172
+ notation?: "compact" | "standard" | undefined;
173
+ } | undefined;
174
+ } | undefined;
175
+ y?: {
176
+ label?: string | undefined;
177
+ format?: {
178
+ locale?: string | undefined;
179
+ notation?: "compact" | "standard" | undefined;
180
+ } | undefined;
181
+ } | undefined;
182
+ }>>;
183
+ format: z.ZodOptional<z.ZodObject<{
184
+ locale: z.ZodOptional<z.ZodString>;
185
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
186
+ }, "strict", z.ZodTypeAny, {
187
+ locale?: string | undefined;
188
+ notation?: "compact" | "standard" | undefined;
189
+ }, {
190
+ locale?: string | undefined;
191
+ notation?: "compact" | "standard" | undefined;
192
+ }>>;
193
+ provider: z.ZodOptional<z.ZodString>;
194
+ } & {
195
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<import("./contract.js").ChartValue, z.ZodTypeDef, import("./contract.js").ChartValue>>, "many">;
196
+ series: z.ZodArray<z.ZodObject<{
197
+ key: z.ZodString;
198
+ label: z.ZodOptional<z.ZodString>;
199
+ color: z.ZodOptional<z.ZodString>;
200
+ }, "strict", z.ZodTypeAny, {
201
+ key: string;
202
+ color?: string | undefined;
203
+ label?: string | undefined;
204
+ }, {
205
+ key: string;
206
+ color?: string | undefined;
207
+ label?: string | undefined;
208
+ }>, "many">;
209
+ }, "strict", z.ZodTypeAny, {
210
+ kind: string;
211
+ data: Record<string, import("./contract.js").ChartValue>[];
212
+ series: {
213
+ key: string;
214
+ color?: string | undefined;
215
+ label?: string | undefined;
216
+ }[];
217
+ title?: string | undefined;
218
+ provider?: string | undefined;
219
+ description?: string | undefined;
220
+ format?: {
221
+ locale?: string | undefined;
222
+ notation?: "compact" | "standard" | undefined;
223
+ } | undefined;
224
+ categoryKey?: string | undefined;
225
+ axes?: {
226
+ x?: {
227
+ label?: string | undefined;
228
+ format?: {
229
+ locale?: string | undefined;
230
+ notation?: "compact" | "standard" | undefined;
231
+ } | undefined;
232
+ } | undefined;
233
+ y?: {
234
+ label?: string | undefined;
235
+ format?: {
236
+ locale?: string | undefined;
237
+ notation?: "compact" | "standard" | undefined;
238
+ } | undefined;
239
+ } | undefined;
240
+ } | undefined;
241
+ }, {
242
+ kind: string;
243
+ data: Record<string, import("./contract.js").ChartValue>[];
244
+ series: {
245
+ key: string;
246
+ color?: string | undefined;
247
+ label?: string | undefined;
248
+ }[];
249
+ title?: string | undefined;
250
+ provider?: string | undefined;
251
+ description?: string | undefined;
252
+ format?: {
253
+ locale?: string | undefined;
254
+ notation?: "compact" | "standard" | undefined;
255
+ } | undefined;
256
+ categoryKey?: string | undefined;
257
+ axes?: {
258
+ x?: {
259
+ label?: string | undefined;
260
+ format?: {
261
+ locale?: string | undefined;
262
+ notation?: "compact" | "standard" | undefined;
263
+ } | undefined;
264
+ } | undefined;
265
+ y?: {
266
+ label?: string | undefined;
267
+ format?: {
268
+ locale?: string | undefined;
269
+ notation?: "compact" | "standard" | undefined;
270
+ } | undefined;
271
+ } | undefined;
272
+ } | undefined;
273
+ }>, {
274
+ kind: string;
275
+ data: Record<string, import("./contract.js").ChartValue>[];
276
+ series: {
277
+ key: string;
278
+ color?: string | undefined;
279
+ label?: string | undefined;
280
+ }[];
281
+ title?: string | undefined;
282
+ provider?: string | undefined;
283
+ description?: string | undefined;
284
+ format?: {
285
+ locale?: string | undefined;
286
+ notation?: "compact" | "standard" | undefined;
287
+ } | undefined;
288
+ categoryKey?: string | undefined;
289
+ axes?: {
290
+ x?: {
291
+ label?: string | undefined;
292
+ format?: {
293
+ locale?: string | undefined;
294
+ notation?: "compact" | "standard" | undefined;
295
+ } | undefined;
296
+ } | undefined;
297
+ y?: {
298
+ label?: string | undefined;
299
+ format?: {
300
+ locale?: string | undefined;
301
+ notation?: "compact" | "standard" | undefined;
302
+ } | undefined;
303
+ } | undefined;
304
+ } | undefined;
305
+ }, {
306
+ kind: string;
307
+ data: Record<string, import("./contract.js").ChartValue>[];
308
+ series: {
309
+ key: string;
310
+ color?: string | undefined;
311
+ label?: string | undefined;
312
+ }[];
313
+ title?: string | undefined;
314
+ provider?: string | undefined;
315
+ description?: string | undefined;
316
+ format?: {
317
+ locale?: string | undefined;
318
+ notation?: "compact" | "standard" | undefined;
319
+ } | undefined;
320
+ categoryKey?: string | undefined;
321
+ axes?: {
322
+ x?: {
323
+ label?: string | undefined;
324
+ format?: {
325
+ locale?: string | undefined;
326
+ notation?: "compact" | "standard" | undefined;
327
+ } | undefined;
328
+ } | undefined;
329
+ y?: {
330
+ label?: string | undefined;
331
+ format?: {
332
+ locale?: string | undefined;
333
+ notation?: "compact" | "standard" | undefined;
334
+ } | undefined;
335
+ } | undefined;
336
+ } | undefined;
337
+ }>;
338
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
339
+ spec: z.ZodEffects<z.ZodObject<{
340
+ kind: z.ZodString;
341
+ categoryKey: z.ZodOptional<z.ZodString>;
342
+ title: z.ZodOptional<z.ZodString>;
343
+ description: z.ZodOptional<z.ZodString>;
344
+ axes: z.ZodOptional<z.ZodObject<{
345
+ x: z.ZodOptional<z.ZodObject<{
346
+ label: z.ZodOptional<z.ZodString>;
347
+ format: z.ZodOptional<z.ZodObject<{
348
+ locale: z.ZodOptional<z.ZodString>;
349
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
350
+ }, "strict", z.ZodTypeAny, {
351
+ locale?: string | undefined;
352
+ notation?: "compact" | "standard" | undefined;
353
+ }, {
354
+ locale?: string | undefined;
355
+ notation?: "compact" | "standard" | undefined;
356
+ }>>;
357
+ }, "strict", z.ZodTypeAny, {
358
+ label?: string | undefined;
359
+ format?: {
360
+ locale?: string | undefined;
361
+ notation?: "compact" | "standard" | undefined;
362
+ } | undefined;
363
+ }, {
364
+ label?: string | undefined;
365
+ format?: {
366
+ locale?: string | undefined;
367
+ notation?: "compact" | "standard" | undefined;
368
+ } | undefined;
369
+ }>>;
370
+ y: z.ZodOptional<z.ZodObject<{
371
+ label: z.ZodOptional<z.ZodString>;
372
+ format: z.ZodOptional<z.ZodObject<{
373
+ locale: z.ZodOptional<z.ZodString>;
374
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
375
+ }, "strict", z.ZodTypeAny, {
376
+ locale?: string | undefined;
377
+ notation?: "compact" | "standard" | undefined;
378
+ }, {
379
+ locale?: string | undefined;
380
+ notation?: "compact" | "standard" | undefined;
381
+ }>>;
382
+ }, "strict", z.ZodTypeAny, {
383
+ label?: string | undefined;
384
+ format?: {
385
+ locale?: string | undefined;
386
+ notation?: "compact" | "standard" | undefined;
387
+ } | undefined;
388
+ }, {
389
+ label?: string | undefined;
390
+ format?: {
391
+ locale?: string | undefined;
392
+ notation?: "compact" | "standard" | undefined;
393
+ } | undefined;
394
+ }>>;
395
+ }, "strict", z.ZodTypeAny, {
396
+ x?: {
397
+ label?: string | undefined;
398
+ format?: {
399
+ locale?: string | undefined;
400
+ notation?: "compact" | "standard" | undefined;
401
+ } | undefined;
402
+ } | undefined;
403
+ y?: {
404
+ label?: string | undefined;
405
+ format?: {
406
+ locale?: string | undefined;
407
+ notation?: "compact" | "standard" | undefined;
408
+ } | undefined;
409
+ } | undefined;
410
+ }, {
411
+ x?: {
412
+ label?: string | undefined;
413
+ format?: {
414
+ locale?: string | undefined;
415
+ notation?: "compact" | "standard" | undefined;
416
+ } | undefined;
417
+ } | undefined;
418
+ y?: {
419
+ label?: string | undefined;
420
+ format?: {
421
+ locale?: string | undefined;
422
+ notation?: "compact" | "standard" | undefined;
423
+ } | undefined;
424
+ } | undefined;
425
+ }>>;
426
+ format: z.ZodOptional<z.ZodObject<{
427
+ locale: z.ZodOptional<z.ZodString>;
428
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
429
+ }, "strict", z.ZodTypeAny, {
430
+ locale?: string | undefined;
431
+ notation?: "compact" | "standard" | undefined;
432
+ }, {
433
+ locale?: string | undefined;
434
+ notation?: "compact" | "standard" | undefined;
435
+ }>>;
436
+ provider: z.ZodOptional<z.ZodString>;
437
+ } & {
438
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<import("./contract.js").ChartValue, z.ZodTypeDef, import("./contract.js").ChartValue>>, "many">;
439
+ series: z.ZodArray<z.ZodObject<{
440
+ key: z.ZodString;
441
+ label: z.ZodOptional<z.ZodString>;
442
+ color: z.ZodOptional<z.ZodString>;
443
+ }, "strict", z.ZodTypeAny, {
444
+ key: string;
445
+ color?: string | undefined;
446
+ label?: string | undefined;
447
+ }, {
448
+ key: string;
449
+ color?: string | undefined;
450
+ label?: string | undefined;
451
+ }>, "many">;
452
+ }, "strict", z.ZodTypeAny, {
453
+ kind: string;
454
+ data: Record<string, import("./contract.js").ChartValue>[];
455
+ series: {
456
+ key: string;
457
+ color?: string | undefined;
458
+ label?: string | undefined;
459
+ }[];
460
+ title?: string | undefined;
461
+ provider?: string | undefined;
462
+ description?: string | undefined;
463
+ format?: {
464
+ locale?: string | undefined;
465
+ notation?: "compact" | "standard" | undefined;
466
+ } | undefined;
467
+ categoryKey?: string | undefined;
468
+ axes?: {
469
+ x?: {
470
+ label?: string | undefined;
471
+ format?: {
472
+ locale?: string | undefined;
473
+ notation?: "compact" | "standard" | undefined;
474
+ } | undefined;
475
+ } | undefined;
476
+ y?: {
477
+ label?: string | undefined;
478
+ format?: {
479
+ locale?: string | undefined;
480
+ notation?: "compact" | "standard" | undefined;
481
+ } | undefined;
482
+ } | undefined;
483
+ } | undefined;
484
+ }, {
485
+ kind: string;
486
+ data: Record<string, import("./contract.js").ChartValue>[];
487
+ series: {
488
+ key: string;
489
+ color?: string | undefined;
490
+ label?: string | undefined;
491
+ }[];
492
+ title?: string | undefined;
493
+ provider?: string | undefined;
494
+ description?: string | undefined;
495
+ format?: {
496
+ locale?: string | undefined;
497
+ notation?: "compact" | "standard" | undefined;
498
+ } | undefined;
499
+ categoryKey?: string | undefined;
500
+ axes?: {
501
+ x?: {
502
+ label?: string | undefined;
503
+ format?: {
504
+ locale?: string | undefined;
505
+ notation?: "compact" | "standard" | undefined;
506
+ } | undefined;
507
+ } | undefined;
508
+ y?: {
509
+ label?: string | undefined;
510
+ format?: {
511
+ locale?: string | undefined;
512
+ notation?: "compact" | "standard" | undefined;
513
+ } | undefined;
514
+ } | undefined;
515
+ } | undefined;
516
+ }>, {
517
+ kind: string;
518
+ data: Record<string, import("./contract.js").ChartValue>[];
519
+ series: {
520
+ key: string;
521
+ color?: string | undefined;
522
+ label?: string | undefined;
523
+ }[];
524
+ title?: string | undefined;
525
+ provider?: string | undefined;
526
+ description?: string | undefined;
527
+ format?: {
528
+ locale?: string | undefined;
529
+ notation?: "compact" | "standard" | undefined;
530
+ } | undefined;
531
+ categoryKey?: string | undefined;
532
+ axes?: {
533
+ x?: {
534
+ label?: string | undefined;
535
+ format?: {
536
+ locale?: string | undefined;
537
+ notation?: "compact" | "standard" | undefined;
538
+ } | undefined;
539
+ } | undefined;
540
+ y?: {
541
+ label?: string | undefined;
542
+ format?: {
543
+ locale?: string | undefined;
544
+ notation?: "compact" | "standard" | undefined;
545
+ } | undefined;
546
+ } | undefined;
547
+ } | undefined;
548
+ }, {
549
+ kind: string;
550
+ data: Record<string, import("./contract.js").ChartValue>[];
551
+ series: {
552
+ key: string;
553
+ color?: string | undefined;
554
+ label?: string | undefined;
555
+ }[];
556
+ title?: string | undefined;
557
+ provider?: string | undefined;
558
+ description?: string | undefined;
559
+ format?: {
560
+ locale?: string | undefined;
561
+ notation?: "compact" | "standard" | undefined;
562
+ } | undefined;
563
+ categoryKey?: string | undefined;
564
+ axes?: {
565
+ x?: {
566
+ label?: string | undefined;
567
+ format?: {
568
+ locale?: string | undefined;
569
+ notation?: "compact" | "standard" | undefined;
570
+ } | undefined;
571
+ } | undefined;
572
+ y?: {
573
+ label?: string | undefined;
574
+ format?: {
575
+ locale?: string | undefined;
576
+ notation?: "compact" | "standard" | undefined;
577
+ } | undefined;
578
+ } | undefined;
579
+ } | undefined;
580
+ }>;
581
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
582
+ spec: z.ZodEffects<z.ZodObject<{
583
+ kind: z.ZodString;
584
+ categoryKey: z.ZodOptional<z.ZodString>;
585
+ title: z.ZodOptional<z.ZodString>;
586
+ description: z.ZodOptional<z.ZodString>;
587
+ axes: z.ZodOptional<z.ZodObject<{
588
+ x: z.ZodOptional<z.ZodObject<{
589
+ label: z.ZodOptional<z.ZodString>;
590
+ format: z.ZodOptional<z.ZodObject<{
591
+ locale: z.ZodOptional<z.ZodString>;
592
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
593
+ }, "strict", z.ZodTypeAny, {
594
+ locale?: string | undefined;
595
+ notation?: "compact" | "standard" | undefined;
596
+ }, {
597
+ locale?: string | undefined;
598
+ notation?: "compact" | "standard" | undefined;
599
+ }>>;
600
+ }, "strict", z.ZodTypeAny, {
601
+ label?: string | undefined;
602
+ format?: {
603
+ locale?: string | undefined;
604
+ notation?: "compact" | "standard" | undefined;
605
+ } | undefined;
606
+ }, {
607
+ label?: string | undefined;
608
+ format?: {
609
+ locale?: string | undefined;
610
+ notation?: "compact" | "standard" | undefined;
611
+ } | undefined;
612
+ }>>;
613
+ y: z.ZodOptional<z.ZodObject<{
614
+ label: z.ZodOptional<z.ZodString>;
615
+ format: z.ZodOptional<z.ZodObject<{
616
+ locale: z.ZodOptional<z.ZodString>;
617
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
618
+ }, "strict", z.ZodTypeAny, {
619
+ locale?: string | undefined;
620
+ notation?: "compact" | "standard" | undefined;
621
+ }, {
622
+ locale?: string | undefined;
623
+ notation?: "compact" | "standard" | undefined;
624
+ }>>;
625
+ }, "strict", z.ZodTypeAny, {
626
+ label?: string | undefined;
627
+ format?: {
628
+ locale?: string | undefined;
629
+ notation?: "compact" | "standard" | undefined;
630
+ } | undefined;
631
+ }, {
632
+ label?: string | undefined;
633
+ format?: {
634
+ locale?: string | undefined;
635
+ notation?: "compact" | "standard" | undefined;
636
+ } | undefined;
637
+ }>>;
638
+ }, "strict", z.ZodTypeAny, {
639
+ x?: {
640
+ label?: string | undefined;
641
+ format?: {
642
+ locale?: string | undefined;
643
+ notation?: "compact" | "standard" | undefined;
644
+ } | undefined;
645
+ } | undefined;
646
+ y?: {
647
+ label?: string | undefined;
648
+ format?: {
649
+ locale?: string | undefined;
650
+ notation?: "compact" | "standard" | undefined;
651
+ } | undefined;
652
+ } | undefined;
653
+ }, {
654
+ x?: {
655
+ label?: string | undefined;
656
+ format?: {
657
+ locale?: string | undefined;
658
+ notation?: "compact" | "standard" | undefined;
659
+ } | undefined;
660
+ } | undefined;
661
+ y?: {
662
+ label?: string | undefined;
663
+ format?: {
664
+ locale?: string | undefined;
665
+ notation?: "compact" | "standard" | undefined;
666
+ } | undefined;
667
+ } | undefined;
668
+ }>>;
669
+ format: z.ZodOptional<z.ZodObject<{
670
+ locale: z.ZodOptional<z.ZodString>;
671
+ notation: z.ZodOptional<z.ZodEnum<["standard", "compact"]>>;
672
+ }, "strict", z.ZodTypeAny, {
673
+ locale?: string | undefined;
674
+ notation?: "compact" | "standard" | undefined;
675
+ }, {
676
+ locale?: string | undefined;
677
+ notation?: "compact" | "standard" | undefined;
678
+ }>>;
679
+ provider: z.ZodOptional<z.ZodString>;
680
+ } & {
681
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<import("./contract.js").ChartValue, z.ZodTypeDef, import("./contract.js").ChartValue>>, "many">;
682
+ series: z.ZodArray<z.ZodObject<{
683
+ key: z.ZodString;
684
+ label: z.ZodOptional<z.ZodString>;
685
+ color: z.ZodOptional<z.ZodString>;
686
+ }, "strict", z.ZodTypeAny, {
687
+ key: string;
688
+ color?: string | undefined;
689
+ label?: string | undefined;
690
+ }, {
691
+ key: string;
692
+ color?: string | undefined;
693
+ label?: string | undefined;
694
+ }>, "many">;
695
+ }, "strict", z.ZodTypeAny, {
696
+ kind: string;
697
+ data: Record<string, import("./contract.js").ChartValue>[];
698
+ series: {
699
+ key: string;
700
+ color?: string | undefined;
701
+ label?: string | undefined;
702
+ }[];
703
+ title?: string | undefined;
704
+ provider?: string | undefined;
705
+ description?: string | undefined;
706
+ format?: {
707
+ locale?: string | undefined;
708
+ notation?: "compact" | "standard" | undefined;
709
+ } | undefined;
710
+ categoryKey?: string | undefined;
711
+ axes?: {
712
+ x?: {
713
+ label?: string | undefined;
714
+ format?: {
715
+ locale?: string | undefined;
716
+ notation?: "compact" | "standard" | undefined;
717
+ } | undefined;
718
+ } | undefined;
719
+ y?: {
720
+ label?: string | undefined;
721
+ format?: {
722
+ locale?: string | undefined;
723
+ notation?: "compact" | "standard" | undefined;
724
+ } | undefined;
725
+ } | undefined;
726
+ } | undefined;
727
+ }, {
728
+ kind: string;
729
+ data: Record<string, import("./contract.js").ChartValue>[];
730
+ series: {
731
+ key: string;
732
+ color?: string | undefined;
733
+ label?: string | undefined;
734
+ }[];
735
+ title?: string | undefined;
736
+ provider?: string | undefined;
737
+ description?: string | undefined;
738
+ format?: {
739
+ locale?: string | undefined;
740
+ notation?: "compact" | "standard" | undefined;
741
+ } | undefined;
742
+ categoryKey?: string | undefined;
743
+ axes?: {
744
+ x?: {
745
+ label?: string | undefined;
746
+ format?: {
747
+ locale?: string | undefined;
748
+ notation?: "compact" | "standard" | undefined;
749
+ } | undefined;
750
+ } | undefined;
751
+ y?: {
752
+ label?: string | undefined;
753
+ format?: {
754
+ locale?: string | undefined;
755
+ notation?: "compact" | "standard" | undefined;
756
+ } | undefined;
757
+ } | undefined;
758
+ } | undefined;
759
+ }>, {
760
+ kind: string;
761
+ data: Record<string, import("./contract.js").ChartValue>[];
762
+ series: {
763
+ key: string;
764
+ color?: string | undefined;
765
+ label?: string | undefined;
766
+ }[];
767
+ title?: string | undefined;
768
+ provider?: string | undefined;
769
+ description?: string | undefined;
770
+ format?: {
771
+ locale?: string | undefined;
772
+ notation?: "compact" | "standard" | undefined;
773
+ } | undefined;
774
+ categoryKey?: string | undefined;
775
+ axes?: {
776
+ x?: {
777
+ label?: string | undefined;
778
+ format?: {
779
+ locale?: string | undefined;
780
+ notation?: "compact" | "standard" | undefined;
781
+ } | undefined;
782
+ } | undefined;
783
+ y?: {
784
+ label?: string | undefined;
785
+ format?: {
786
+ locale?: string | undefined;
787
+ notation?: "compact" | "standard" | undefined;
788
+ } | undefined;
789
+ } | undefined;
790
+ } | undefined;
791
+ }, {
792
+ kind: string;
793
+ data: Record<string, import("./contract.js").ChartValue>[];
794
+ series: {
795
+ key: string;
796
+ color?: string | undefined;
797
+ label?: string | undefined;
798
+ }[];
799
+ title?: string | undefined;
800
+ provider?: string | undefined;
801
+ description?: string | undefined;
802
+ format?: {
803
+ locale?: string | undefined;
804
+ notation?: "compact" | "standard" | undefined;
805
+ } | undefined;
806
+ categoryKey?: string | undefined;
807
+ axes?: {
808
+ x?: {
809
+ label?: string | undefined;
810
+ format?: {
811
+ locale?: string | undefined;
812
+ notation?: "compact" | "standard" | undefined;
813
+ } | undefined;
814
+ } | undefined;
815
+ y?: {
816
+ label?: string | undefined;
817
+ format?: {
818
+ locale?: string | undefined;
819
+ notation?: "compact" | "standard" | undefined;
820
+ } | undefined;
821
+ } | undefined;
822
+ } | undefined;
823
+ }>;
824
+ }, z.ZodTypeAny, "passthrough">>;
92
825
  /** Convert validated legacy props to the neutral contract; optional provider overrides stay data.
93
826
  * @example legacyChartSpec({ kind: 'pie', props: { data: [{ name: 'A', value: 2 }] } })
94
827
  * @throws ZodError for an invalid wire shape or nonserializable row data.