@glyphjs/schemas 0.9.1 → 0.10.0

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/dist/index.d.ts CHANGED
@@ -42,7 +42,6 @@ declare const graphSchema: z.ZodObject<{
42
42
  }>, "many">;
43
43
  layout: z.ZodOptional<z.ZodEnum<["top-down", "left-right", "bottom-up", "radial", "force"]>>;
44
44
  interactionMode: z.ZodDefault<z.ZodEnum<["modifier-key", "click-to-activate", "always"]>>;
45
- markdown: z.ZodDefault<z.ZodBoolean>;
46
45
  }, "strip", z.ZodTypeAny, {
47
46
  type: "dag" | "flowchart" | "mindmap" | "force";
48
47
  nodes: {
@@ -60,7 +59,6 @@ declare const graphSchema: z.ZodObject<{
60
59
  style?: Record<string, string> | undefined;
61
60
  }[];
62
61
  interactionMode: "modifier-key" | "click-to-activate" | "always";
63
- markdown: boolean;
64
62
  layout?: "force" | "top-down" | "left-right" | "bottom-up" | "radial" | undefined;
65
63
  }, {
66
64
  type: "dag" | "flowchart" | "mindmap" | "force";
@@ -80,7 +78,6 @@ declare const graphSchema: z.ZodObject<{
80
78
  }[];
81
79
  layout?: "force" | "top-down" | "left-right" | "bottom-up" | "radial" | undefined;
82
80
  interactionMode?: "modifier-key" | "click-to-activate" | "always" | undefined;
83
- markdown?: boolean | undefined;
84
81
  }>;
85
82
 
86
83
  declare const tableSchema: z.ZodObject<{
@@ -114,9 +111,7 @@ declare const tableSchema: z.ZodObject<{
114
111
  function: "sum" | "avg" | "count" | "min" | "max";
115
112
  column: string;
116
113
  }>, "many">>;
117
- markdown: z.ZodDefault<z.ZodBoolean>;
118
114
  }, "strip", z.ZodTypeAny, {
119
- markdown: boolean;
120
115
  columns: {
121
116
  label: string | any[];
122
117
  key: string;
@@ -138,7 +133,6 @@ declare const tableSchema: z.ZodObject<{
138
133
  filterable?: boolean | undefined;
139
134
  }[];
140
135
  rows: Record<string, unknown>[];
141
- markdown?: boolean | undefined;
142
136
  aggregation?: {
143
137
  function: "sum" | "avg" | "count" | "min" | "max";
144
138
  column: string;
@@ -178,10 +172,8 @@ declare const chartSchema: z.ZodObject<{
178
172
  label?: string | any[] | undefined;
179
173
  }>>;
180
174
  legend: z.ZodOptional<z.ZodBoolean>;
181
- markdown: z.ZodDefault<z.ZodBoolean>;
182
175
  }, "strip", z.ZodTypeAny, {
183
176
  type: "line" | "bar" | "area" | "ohlc";
184
- markdown: boolean;
185
177
  series: {
186
178
  name: string | any[];
187
179
  data: Record<string, string | number>[];
@@ -201,7 +193,6 @@ declare const chartSchema: z.ZodObject<{
201
193
  name: string | any[];
202
194
  data: Record<string, string | number>[];
203
195
  }[];
204
- markdown?: boolean | undefined;
205
196
  xAxis?: {
206
197
  key: string;
207
198
  label?: string | any[] | undefined;
@@ -265,10 +256,8 @@ declare const relationSchema: z.ZodObject<{
265
256
  }>, "many">;
266
257
  layout: z.ZodOptional<z.ZodEnum<["top-down", "left-right"]>>;
267
258
  interactionMode: z.ZodDefault<z.ZodEnum<["modifier-key", "click-to-activate", "always"]>>;
268
- markdown: z.ZodDefault<z.ZodBoolean>;
269
259
  }, "strip", z.ZodTypeAny, {
270
260
  interactionMode: "modifier-key" | "click-to-activate" | "always";
271
- markdown: boolean;
272
261
  entities: {
273
262
  id: string;
274
263
  label: string | any[];
@@ -303,12 +292,12 @@ declare const relationSchema: z.ZodObject<{
303
292
  }[];
304
293
  layout?: "top-down" | "left-right" | undefined;
305
294
  interactionMode?: "modifier-key" | "click-to-activate" | "always" | undefined;
306
- markdown?: boolean | undefined;
307
295
  }>;
308
296
 
309
297
  declare const timelineSchema: z.ZodObject<{
310
- events: z.ZodArray<z.ZodObject<{
298
+ events: z.ZodArray<z.ZodUnion<[z.ZodObject<{
311
299
  date: z.ZodString;
300
+ label: z.ZodOptional<z.ZodString>;
312
301
  title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>;
313
302
  description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
314
303
  type: z.ZodOptional<z.ZodString>;
@@ -316,32 +305,63 @@ declare const timelineSchema: z.ZodObject<{
316
305
  date: string;
317
306
  title: string | any[];
318
307
  type?: string | undefined;
308
+ label?: string | undefined;
319
309
  description?: string | any[] | undefined;
320
310
  }, {
321
311
  date: string;
322
312
  title: string | any[];
323
313
  type?: string | undefined;
314
+ label?: string | undefined;
324
315
  description?: string | any[] | undefined;
325
- }>, "many">;
316
+ }>, z.ZodObject<{
317
+ date: z.ZodOptional<z.ZodString>;
318
+ label: z.ZodString;
319
+ title: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>;
320
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
321
+ type: z.ZodOptional<z.ZodString>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ label: string;
324
+ title: string | any[];
325
+ type?: string | undefined;
326
+ date?: string | undefined;
327
+ description?: string | any[] | undefined;
328
+ }, {
329
+ label: string;
330
+ title: string | any[];
331
+ type?: string | undefined;
332
+ date?: string | undefined;
333
+ description?: string | any[] | undefined;
334
+ }>]>, "many">;
326
335
  orientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
327
- markdown: z.ZodDefault<z.ZodBoolean>;
328
336
  }, "strip", z.ZodTypeAny, {
329
- markdown: boolean;
330
- events: {
337
+ events: ({
331
338
  date: string;
332
339
  title: string | any[];
333
340
  type?: string | undefined;
341
+ label?: string | undefined;
334
342
  description?: string | any[] | undefined;
335
- }[];
343
+ } | {
344
+ label: string;
345
+ title: string | any[];
346
+ type?: string | undefined;
347
+ date?: string | undefined;
348
+ description?: string | any[] | undefined;
349
+ })[];
336
350
  orientation?: "vertical" | "horizontal" | undefined;
337
351
  }, {
338
- events: {
352
+ events: ({
339
353
  date: string;
340
354
  title: string | any[];
341
355
  type?: string | undefined;
356
+ label?: string | undefined;
342
357
  description?: string | any[] | undefined;
343
- }[];
344
- markdown?: boolean | undefined;
358
+ } | {
359
+ label: string;
360
+ title: string | any[];
361
+ type?: string | undefined;
362
+ date?: string | undefined;
363
+ description?: string | any[] | undefined;
364
+ })[];
345
365
  orientation?: "vertical" | "horizontal" | undefined;
346
366
  }>;
347
367
 
@@ -349,16 +369,13 @@ declare const calloutSchema: z.ZodObject<{
349
369
  type: z.ZodEnum<["info", "warning", "error", "tip"]>;
350
370
  title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
351
371
  content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>;
352
- markdown: z.ZodDefault<z.ZodBoolean>;
353
372
  }, "strip", z.ZodTypeAny, {
354
373
  type: "info" | "warning" | "error" | "tip";
355
- markdown: boolean;
356
374
  content: string | any[];
357
375
  title?: string | any[] | undefined;
358
376
  }, {
359
377
  type: "info" | "warning" | "error" | "tip";
360
378
  content: string | any[];
361
- markdown?: boolean | undefined;
362
379
  title?: string | any[] | undefined;
363
380
  }>;
364
381
 
@@ -373,19 +390,19 @@ declare const tabsSchema: z.ZodObject<{
373
390
  label: string | any[];
374
391
  content: string | any[];
375
392
  }>, "many">;
376
- markdown: z.ZodDefault<z.ZodBoolean>;
393
+ _slotChildCounts: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
377
394
  }, "strip", z.ZodTypeAny, {
378
- markdown: boolean;
379
395
  tabs: {
380
396
  label: string | any[];
381
397
  content: string | any[];
382
398
  }[];
399
+ _slotChildCounts?: number[] | undefined;
383
400
  }, {
384
401
  tabs: {
385
402
  label: string | any[];
386
403
  content: string | any[];
387
404
  }[];
388
- markdown?: boolean | undefined;
405
+ _slotChildCounts?: number[] | undefined;
389
406
  }>;
390
407
 
391
408
  declare const stepsSchema: z.ZodObject<{
@@ -402,21 +419,21 @@ declare const stepsSchema: z.ZodObject<{
402
419
  content: string | any[];
403
420
  status?: "pending" | "active" | "completed" | undefined;
404
421
  }>, "many">;
405
- markdown: z.ZodDefault<z.ZodBoolean>;
422
+ _slotChildCounts: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
406
423
  }, "strip", z.ZodTypeAny, {
407
- markdown: boolean;
408
424
  steps: {
409
425
  title: string;
410
426
  content: string | any[];
411
427
  status?: "pending" | "active" | "completed" | undefined;
412
428
  }[];
429
+ _slotChildCounts?: number[] | undefined;
413
430
  }, {
414
431
  steps: {
415
432
  title: string;
416
433
  content: string | any[];
417
434
  status?: "pending" | "active" | "completed" | undefined;
418
435
  }[];
419
- markdown?: boolean | undefined;
436
+ _slotChildCounts?: number[] | undefined;
420
437
  }>;
421
438
 
422
439
  interface ArchitectureNode {
@@ -505,9 +522,7 @@ declare const kpiSchema: z.ZodObject<{
505
522
  unit?: string | undefined;
506
523
  }>, "many">;
507
524
  columns: z.ZodOptional<z.ZodNumber>;
508
- markdown: z.ZodDefault<z.ZodBoolean>;
509
525
  }, "strip", z.ZodTypeAny, {
510
- markdown: boolean;
511
526
  metrics: {
512
527
  value: string;
513
528
  label: string | any[];
@@ -527,7 +542,6 @@ declare const kpiSchema: z.ZodObject<{
527
542
  sentiment?: "positive" | "negative" | "neutral" | undefined;
528
543
  unit?: string | undefined;
529
544
  }[];
530
- markdown?: boolean | undefined;
531
545
  columns?: number | undefined;
532
546
  title?: string | undefined;
533
547
  }>;
@@ -546,9 +560,7 @@ declare const accordionSchema: z.ZodObject<{
546
560
  }>, "many">;
547
561
  defaultOpen: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
548
562
  multiple: z.ZodDefault<z.ZodBoolean>;
549
- markdown: z.ZodDefault<z.ZodBoolean>;
550
563
  }, "strip", z.ZodTypeAny, {
551
- markdown: boolean;
552
564
  sections: {
553
565
  title: string;
554
566
  content: string | any[];
@@ -561,7 +573,6 @@ declare const accordionSchema: z.ZodObject<{
561
573
  title: string;
562
574
  content: string | any[];
563
575
  }[];
564
- markdown?: boolean | undefined;
565
576
  title?: string | undefined;
566
577
  defaultOpen?: number[] | undefined;
567
578
  multiple?: boolean | undefined;
@@ -589,13 +600,11 @@ declare const comparisonSchema: z.ZodEffects<z.ZodObject<{
589
600
  values: (string | any[])[];
590
601
  name: string;
591
602
  }>, "many">;
592
- markdown: z.ZodDefault<z.ZodBoolean>;
593
603
  }, "strip", z.ZodTypeAny, {
594
604
  options: {
595
605
  name: string;
596
606
  description?: string | any[] | undefined;
597
607
  }[];
598
- markdown: boolean;
599
608
  features: {
600
609
  values: (string | any[])[];
601
610
  name: string;
@@ -610,14 +619,12 @@ declare const comparisonSchema: z.ZodEffects<z.ZodObject<{
610
619
  values: (string | any[])[];
611
620
  name: string;
612
621
  }[];
613
- markdown?: boolean | undefined;
614
622
  title?: string | undefined;
615
623
  }>, {
616
624
  options: {
617
625
  name: string;
618
626
  description?: string | any[] | undefined;
619
627
  }[];
620
- markdown: boolean;
621
628
  features: {
622
629
  values: (string | any[])[];
623
630
  name: string;
@@ -632,7 +639,6 @@ declare const comparisonSchema: z.ZodEffects<z.ZodObject<{
632
639
  values: (string | any[])[];
633
640
  name: string;
634
641
  }[];
635
- markdown?: boolean | undefined;
636
642
  title?: string | undefined;
637
643
  }>;
638
644
 
@@ -642,9 +648,7 @@ declare const codediffSchema: z.ZodObject<{
642
648
  after: z.ZodString;
643
649
  beforeLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
644
650
  afterLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
645
- markdown: z.ZodDefault<z.ZodBoolean>;
646
651
  }, "strip", z.ZodTypeAny, {
647
- markdown: boolean;
648
652
  before: string;
649
653
  after: string;
650
654
  language?: string | undefined;
@@ -653,7 +657,6 @@ declare const codediffSchema: z.ZodObject<{
653
657
  }, {
654
658
  before: string;
655
659
  after: string;
656
- markdown?: boolean | undefined;
657
660
  language?: string | undefined;
658
661
  beforeLabel?: string | any[] | undefined;
659
662
  afterLabel?: string | any[] | undefined;
@@ -689,7 +692,6 @@ declare const flowchartSchema: z.ZodObject<{
689
692
  }>, "many">;
690
693
  direction: z.ZodDefault<z.ZodEnum<["top-down", "left-right"]>>;
691
694
  interactionMode: z.ZodDefault<z.ZodEnum<["modifier-key", "click-to-activate", "always"]>>;
692
- markdown: z.ZodDefault<z.ZodBoolean>;
693
695
  }, "strip", z.ZodTypeAny, {
694
696
  nodes: {
695
697
  type: "start" | "end" | "process" | "decision";
@@ -702,7 +704,6 @@ declare const flowchartSchema: z.ZodObject<{
702
704
  label?: string | any[] | undefined;
703
705
  }[];
704
706
  interactionMode: "modifier-key" | "click-to-activate" | "always";
705
- markdown: boolean;
706
707
  direction: "top-down" | "left-right";
707
708
  title?: string | any[] | undefined;
708
709
  }, {
@@ -717,7 +718,6 @@ declare const flowchartSchema: z.ZodObject<{
717
718
  label?: string | any[] | undefined;
718
719
  }[];
719
720
  interactionMode?: "modifier-key" | "click-to-activate" | "always" | undefined;
720
- markdown?: boolean | undefined;
721
721
  title?: string | any[] | undefined;
722
722
  direction?: "top-down" | "left-right" | undefined;
723
723
  }>;
@@ -796,9 +796,7 @@ declare const sequenceSchema: z.ZodObject<{
796
796
  to: string;
797
797
  type?: "message" | "reply" | "self" | undefined;
798
798
  }>, "many">;
799
- markdown: z.ZodDefault<z.ZodBoolean>;
800
799
  }, "strip", z.ZodTypeAny, {
801
- markdown: boolean;
802
800
  actors: {
803
801
  id: string;
804
802
  label: string | any[];
@@ -821,7 +819,6 @@ declare const sequenceSchema: z.ZodObject<{
821
819
  to: string;
822
820
  type?: "message" | "reply" | "self" | undefined;
823
821
  }[];
824
- markdown?: boolean | undefined;
825
822
  title?: string | any[] | undefined;
826
823
  }>;
827
824
 
@@ -876,9 +873,7 @@ declare const equationSchema: z.ZodEffects<z.ZodObject<{
876
873
  expression: string;
877
874
  annotation?: string | any[] | undefined;
878
875
  }>, "many">>;
879
- markdown: z.ZodDefault<z.ZodBoolean>;
880
876
  }, "strip", z.ZodTypeAny, {
881
- markdown: boolean;
882
877
  label?: string | any[] | undefined;
883
878
  steps?: {
884
879
  expression: string;
@@ -887,14 +882,12 @@ declare const equationSchema: z.ZodEffects<z.ZodObject<{
887
882
  expression?: string | undefined;
888
883
  }, {
889
884
  label?: string | any[] | undefined;
890
- markdown?: boolean | undefined;
891
885
  steps?: {
892
886
  expression: string;
893
887
  annotation?: string | any[] | undefined;
894
888
  }[] | undefined;
895
889
  expression?: string | undefined;
896
890
  }>, {
897
- markdown: boolean;
898
891
  label?: string | any[] | undefined;
899
892
  steps?: {
900
893
  expression: string;
@@ -903,7 +896,6 @@ declare const equationSchema: z.ZodEffects<z.ZodObject<{
903
896
  expression?: string | undefined;
904
897
  }, {
905
898
  label?: string | any[] | undefined;
906
- markdown?: boolean | undefined;
907
899
  steps?: {
908
900
  expression: string;
909
901
  annotation?: string | any[] | undefined;
@@ -966,9 +958,7 @@ declare const quizSchema: z.ZodObject<{
966
958
  }>]>, "many">;
967
959
  showScore: z.ZodDefault<z.ZodBoolean>;
968
960
  title: z.ZodOptional<z.ZodString>;
969
- markdown: z.ZodDefault<z.ZodBoolean>;
970
961
  }, "strip", z.ZodTypeAny, {
971
- markdown: boolean;
972
962
  questions: ({
973
963
  options: (string | any[])[];
974
964
  type: "multiple-choice";
@@ -1008,7 +998,6 @@ declare const quizSchema: z.ZodObject<{
1008
998
  answer: number[];
1009
999
  explanation?: string | any[] | undefined;
1010
1000
  })[];
1011
- markdown?: boolean | undefined;
1012
1001
  title?: string | undefined;
1013
1002
  showScore?: boolean | undefined;
1014
1003
  }>;
@@ -1054,9 +1043,7 @@ declare const cardSchema: z.ZodObject<{
1054
1043
  }>, "many">;
1055
1044
  variant: z.ZodDefault<z.ZodEnum<["default", "outlined", "elevated"]>>;
1056
1045
  columns: z.ZodOptional<z.ZodNumber>;
1057
- markdown: z.ZodDefault<z.ZodBoolean>;
1058
1046
  }, "strip", z.ZodTypeAny, {
1059
- markdown: boolean;
1060
1047
  cards: {
1061
1048
  title: string;
1062
1049
  icon?: string | undefined;
@@ -1083,7 +1070,6 @@ declare const cardSchema: z.ZodObject<{
1083
1070
  url: string;
1084
1071
  }[] | undefined;
1085
1072
  }[];
1086
- markdown?: boolean | undefined;
1087
1073
  columns?: number | undefined;
1088
1074
  title?: string | undefined;
1089
1075
  variant?: "default" | "outlined" | "elevated" | undefined;
@@ -1289,9 +1275,7 @@ declare const infographicSchema: z.ZodObject<{
1289
1275
  })[];
1290
1276
  heading?: string | undefined;
1291
1277
  }>, "many">;
1292
- markdown: z.ZodDefault<z.ZodBoolean>;
1293
1278
  }, "strip", z.ZodTypeAny, {
1294
- markdown: boolean;
1295
1279
  sections: {
1296
1280
  items: ({
1297
1281
  value: string;
@@ -1374,28 +1358,24 @@ declare const infographicSchema: z.ZodObject<{
1374
1358
  })[];
1375
1359
  heading?: string | undefined;
1376
1360
  }[];
1377
- markdown?: boolean | undefined;
1378
1361
  title?: string | undefined;
1379
1362
  }>;
1380
1363
 
1381
1364
  declare const pollSchema: z.ZodObject<{
1382
1365
  question: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>;
1383
- options: z.ZodArray<z.ZodString, "many">;
1366
+ options: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>, "many">;
1384
1367
  multiple: z.ZodDefault<z.ZodBoolean>;
1385
1368
  showResults: z.ZodDefault<z.ZodBoolean>;
1386
1369
  title: z.ZodOptional<z.ZodString>;
1387
- markdown: z.ZodDefault<z.ZodBoolean>;
1388
1370
  }, "strip", z.ZodTypeAny, {
1389
- options: string[];
1390
- markdown: boolean;
1371
+ options: (string | any[])[];
1391
1372
  multiple: boolean;
1392
1373
  question: string | any[];
1393
1374
  showResults: boolean;
1394
1375
  title?: string | undefined;
1395
1376
  }, {
1396
- options: string[];
1377
+ options: (string | any[])[];
1397
1378
  question: string | any[];
1398
- markdown?: boolean | undefined;
1399
1379
  title?: string | undefined;
1400
1380
  multiple?: boolean | undefined;
1401
1381
  showResults?: boolean | undefined;
@@ -1425,9 +1405,7 @@ declare const ratingSchema: z.ZodObject<{
1425
1405
  label: string;
1426
1406
  description?: string | undefined;
1427
1407
  }>, "many">;
1428
- markdown: z.ZodDefault<z.ZodBoolean>;
1429
1408
  }, "strip", z.ZodTypeAny, {
1430
- markdown: boolean;
1431
1409
  items: {
1432
1410
  label: string;
1433
1411
  description?: string | undefined;
@@ -1444,7 +1422,6 @@ declare const ratingSchema: z.ZodObject<{
1444
1422
  label: string;
1445
1423
  description?: string | undefined;
1446
1424
  }[];
1447
- markdown?: boolean | undefined;
1448
1425
  title?: string | undefined;
1449
1426
  scale?: number | undefined;
1450
1427
  mode?: "number" | "star" | undefined;
@@ -1469,9 +1446,7 @@ declare const rankerSchema: z.ZodObject<{
1469
1446
  label: string | any[];
1470
1447
  description?: string | undefined;
1471
1448
  }>, "many">;
1472
- markdown: z.ZodDefault<z.ZodBoolean>;
1473
1449
  }, "strip", z.ZodTypeAny, {
1474
- markdown: boolean;
1475
1450
  items: {
1476
1451
  id: string;
1477
1452
  label: string | any[];
@@ -1484,7 +1459,6 @@ declare const rankerSchema: z.ZodObject<{
1484
1459
  label: string | any[];
1485
1460
  description?: string | undefined;
1486
1461
  }[];
1487
- markdown?: boolean | undefined;
1488
1462
  title?: string | undefined;
1489
1463
  }>;
1490
1464
 
@@ -1516,10 +1490,8 @@ declare const sliderSchema: z.ZodObject<{
1516
1490
  unit?: string | undefined;
1517
1491
  step?: number | undefined;
1518
1492
  }>, "many">;
1519
- markdown: z.ZodDefault<z.ZodBoolean>;
1520
1493
  }, "strip", z.ZodTypeAny, {
1521
1494
  layout: "vertical" | "horizontal";
1522
- markdown: boolean;
1523
1495
  parameters: {
1524
1496
  id: string;
1525
1497
  label: string;
@@ -1541,7 +1513,6 @@ declare const sliderSchema: z.ZodObject<{
1541
1513
  step?: number | undefined;
1542
1514
  }[];
1543
1515
  layout?: "vertical" | "horizontal" | undefined;
1544
- markdown?: boolean | undefined;
1545
1516
  title?: string | undefined;
1546
1517
  }>;
1547
1518
 
@@ -1572,9 +1543,7 @@ declare const matrixSchema: z.ZodObject<{
1572
1543
  id: string;
1573
1544
  label: string;
1574
1545
  }>, "many">;
1575
- markdown: z.ZodDefault<z.ZodBoolean>;
1576
1546
  }, "strip", z.ZodTypeAny, {
1577
- markdown: boolean;
1578
1547
  columns: {
1579
1548
  id: string;
1580
1549
  label: string;
@@ -1597,7 +1566,6 @@ declare const matrixSchema: z.ZodObject<{
1597
1566
  id: string;
1598
1567
  label: string;
1599
1568
  }[];
1600
- markdown?: boolean | undefined;
1601
1569
  title?: string | undefined;
1602
1570
  scale?: number | undefined;
1603
1571
  showTotals?: boolean | undefined;
@@ -1716,9 +1684,7 @@ declare const formSchema: z.ZodObject<{
1716
1684
  default?: number | undefined;
1717
1685
  step?: number | undefined;
1718
1686
  }>]>, "many">;
1719
- markdown: z.ZodDefault<z.ZodBoolean>;
1720
1687
  }, "strip", z.ZodTypeAny, {
1721
- markdown: boolean;
1722
1688
  submitLabel: string;
1723
1689
  fields: ({
1724
1690
  type: "text";
@@ -1797,7 +1763,6 @@ declare const formSchema: z.ZodObject<{
1797
1763
  default?: number | undefined;
1798
1764
  step?: number | undefined;
1799
1765
  })[];
1800
- markdown?: boolean | undefined;
1801
1766
  title?: string | undefined;
1802
1767
  description?: string | any[] | undefined;
1803
1768
  submitLabel?: string | undefined;
@@ -1851,9 +1816,7 @@ declare const kanbanSchema: z.ZodObject<{
1851
1816
  }[] | undefined;
1852
1817
  limit?: number | undefined;
1853
1818
  }>, "many">;
1854
- markdown: z.ZodDefault<z.ZodBoolean>;
1855
1819
  }, "strip", z.ZodTypeAny, {
1856
- markdown: boolean;
1857
1820
  columns: {
1858
1821
  id: string;
1859
1822
  title: string;
@@ -1880,7 +1843,6 @@ declare const kanbanSchema: z.ZodObject<{
1880
1843
  }[] | undefined;
1881
1844
  limit?: number | undefined;
1882
1845
  }[];
1883
- markdown?: boolean | undefined;
1884
1846
  title?: string | undefined;
1885
1847
  }>;
1886
1848
 
@@ -1913,9 +1875,7 @@ declare const annotateSchema: z.ZodObject<{
1913
1875
  end: number;
1914
1876
  note?: string | undefined;
1915
1877
  }>, "many">>;
1916
- markdown: z.ZodDefault<z.ZodBoolean>;
1917
1878
  }, "strip", z.ZodTypeAny, {
1918
- markdown: boolean;
1919
1879
  text: string;
1920
1880
  labels: {
1921
1881
  name: string;
@@ -1934,7 +1894,6 @@ declare const annotateSchema: z.ZodObject<{
1934
1894
  name: string;
1935
1895
  color: string;
1936
1896
  }[];
1937
- markdown?: boolean | undefined;
1938
1897
  title?: string | undefined;
1939
1898
  annotations?: {
1940
1899
  label: string;
@@ -1944,6 +1903,131 @@ declare const annotateSchema: z.ZodObject<{
1944
1903
  }[] | undefined;
1945
1904
  }>;
1946
1905
 
1906
+ declare const sankeySchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1907
+ title: z.ZodOptional<z.ZodString>;
1908
+ nodes: z.ZodArray<z.ZodObject<{
1909
+ id: z.ZodString;
1910
+ label: z.ZodString;
1911
+ color: z.ZodOptional<z.ZodString>;
1912
+ }, "strip", z.ZodTypeAny, {
1913
+ id: string;
1914
+ label: string;
1915
+ color?: string | undefined;
1916
+ }, {
1917
+ id: string;
1918
+ label: string;
1919
+ color?: string | undefined;
1920
+ }>, "many">;
1921
+ flows: z.ZodArray<z.ZodObject<{
1922
+ from: z.ZodString;
1923
+ to: z.ZodString;
1924
+ value: z.ZodNumber;
1925
+ label: z.ZodOptional<z.ZodString>;
1926
+ }, "strip", z.ZodTypeAny, {
1927
+ value: number;
1928
+ from: string;
1929
+ to: string;
1930
+ label?: string | undefined;
1931
+ }, {
1932
+ value: number;
1933
+ from: string;
1934
+ to: string;
1935
+ label?: string | undefined;
1936
+ }>, "many">;
1937
+ orientation: z.ZodDefault<z.ZodEnum<["left-right", "top-down"]>>;
1938
+ unit: z.ZodOptional<z.ZodString>;
1939
+ }, "strip", z.ZodTypeAny, {
1940
+ nodes: {
1941
+ id: string;
1942
+ label: string;
1943
+ color?: string | undefined;
1944
+ }[];
1945
+ orientation: "top-down" | "left-right";
1946
+ flows: {
1947
+ value: number;
1948
+ from: string;
1949
+ to: string;
1950
+ label?: string | undefined;
1951
+ }[];
1952
+ title?: string | undefined;
1953
+ unit?: string | undefined;
1954
+ }, {
1955
+ nodes: {
1956
+ id: string;
1957
+ label: string;
1958
+ color?: string | undefined;
1959
+ }[];
1960
+ flows: {
1961
+ value: number;
1962
+ from: string;
1963
+ to: string;
1964
+ label?: string | undefined;
1965
+ }[];
1966
+ title?: string | undefined;
1967
+ orientation?: "top-down" | "left-right" | undefined;
1968
+ unit?: string | undefined;
1969
+ }>, {
1970
+ nodes: {
1971
+ id: string;
1972
+ label: string;
1973
+ color?: string | undefined;
1974
+ }[];
1975
+ orientation: "top-down" | "left-right";
1976
+ flows: {
1977
+ value: number;
1978
+ from: string;
1979
+ to: string;
1980
+ label?: string | undefined;
1981
+ }[];
1982
+ title?: string | undefined;
1983
+ unit?: string | undefined;
1984
+ }, {
1985
+ nodes: {
1986
+ id: string;
1987
+ label: string;
1988
+ color?: string | undefined;
1989
+ }[];
1990
+ flows: {
1991
+ value: number;
1992
+ from: string;
1993
+ to: string;
1994
+ label?: string | undefined;
1995
+ }[];
1996
+ title?: string | undefined;
1997
+ orientation?: "top-down" | "left-right" | undefined;
1998
+ unit?: string | undefined;
1999
+ }>, {
2000
+ nodes: {
2001
+ id: string;
2002
+ label: string;
2003
+ color?: string | undefined;
2004
+ }[];
2005
+ orientation: "top-down" | "left-right";
2006
+ flows: {
2007
+ value: number;
2008
+ from: string;
2009
+ to: string;
2010
+ label?: string | undefined;
2011
+ }[];
2012
+ title?: string | undefined;
2013
+ unit?: string | undefined;
2014
+ }, {
2015
+ nodes: {
2016
+ id: string;
2017
+ label: string;
2018
+ color?: string | undefined;
2019
+ }[];
2020
+ flows: {
2021
+ value: number;
2022
+ from: string;
2023
+ to: string;
2024
+ label?: string | undefined;
2025
+ }[];
2026
+ title?: string | undefined;
2027
+ orientation?: "top-down" | "left-right" | undefined;
2028
+ unit?: string | undefined;
2029
+ }>;
2030
+
1947
2031
  declare const columnsSchema: z.ZodObject<{
1948
2032
  children: z.ZodArray<z.ZodString, "many">;
1949
2033
  ratio: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
@@ -1986,6 +2070,316 @@ declare const panelSchema: z.ZodObject<{
1986
2070
  padding?: string | undefined;
1987
2071
  }>;
1988
2072
 
2073
+ declare const heatmapSchema: z.ZodEffects<z.ZodObject<{
2074
+ title: z.ZodOptional<z.ZodString>;
2075
+ rows: z.ZodArray<z.ZodString, "many">;
2076
+ cols: z.ZodArray<z.ZodString, "many">;
2077
+ values: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">;
2078
+ scale: z.ZodDefault<z.ZodEnum<["sequential", "diverging"]>>;
2079
+ domain: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2080
+ unit: z.ZodOptional<z.ZodString>;
2081
+ showValues: z.ZodDefault<z.ZodBoolean>;
2082
+ legend: z.ZodDefault<z.ZodBoolean>;
2083
+ }, "strip", z.ZodTypeAny, {
2084
+ values: (number | null)[][];
2085
+ rows: string[];
2086
+ legend: boolean;
2087
+ scale: "sequential" | "diverging";
2088
+ cols: string[];
2089
+ showValues: boolean;
2090
+ title?: string | undefined;
2091
+ unit?: string | undefined;
2092
+ domain?: [number, number] | undefined;
2093
+ }, {
2094
+ values: (number | null)[][];
2095
+ rows: string[];
2096
+ cols: string[];
2097
+ legend?: boolean | undefined;
2098
+ title?: string | undefined;
2099
+ unit?: string | undefined;
2100
+ scale?: "sequential" | "diverging" | undefined;
2101
+ domain?: [number, number] | undefined;
2102
+ showValues?: boolean | undefined;
2103
+ }>, {
2104
+ values: (number | null)[][];
2105
+ rows: string[];
2106
+ legend: boolean;
2107
+ scale: "sequential" | "diverging";
2108
+ cols: string[];
2109
+ showValues: boolean;
2110
+ title?: string | undefined;
2111
+ unit?: string | undefined;
2112
+ domain?: [number, number] | undefined;
2113
+ }, {
2114
+ values: (number | null)[][];
2115
+ rows: string[];
2116
+ cols: string[];
2117
+ legend?: boolean | undefined;
2118
+ title?: string | undefined;
2119
+ unit?: string | undefined;
2120
+ scale?: "sequential" | "diverging" | undefined;
2121
+ domain?: [number, number] | undefined;
2122
+ showValues?: boolean | undefined;
2123
+ }>;
2124
+
2125
+ declare const funnelSchema: z.ZodEffects<z.ZodObject<{
2126
+ title: z.ZodOptional<z.ZodString>;
2127
+ stages: z.ZodArray<z.ZodObject<{
2128
+ label: z.ZodString;
2129
+ value: z.ZodNumber;
2130
+ description: z.ZodOptional<z.ZodString>;
2131
+ }, "strip", z.ZodTypeAny, {
2132
+ value: number;
2133
+ label: string;
2134
+ description?: string | undefined;
2135
+ }, {
2136
+ value: number;
2137
+ label: string;
2138
+ description?: string | undefined;
2139
+ }>, "many">;
2140
+ showConversion: z.ZodDefault<z.ZodBoolean>;
2141
+ orientation: z.ZodDefault<z.ZodEnum<["vertical", "horizontal"]>>;
2142
+ unit: z.ZodOptional<z.ZodString>;
2143
+ }, "strip", z.ZodTypeAny, {
2144
+ orientation: "vertical" | "horizontal";
2145
+ stages: {
2146
+ value: number;
2147
+ label: string;
2148
+ description?: string | undefined;
2149
+ }[];
2150
+ showConversion: boolean;
2151
+ title?: string | undefined;
2152
+ unit?: string | undefined;
2153
+ }, {
2154
+ stages: {
2155
+ value: number;
2156
+ label: string;
2157
+ description?: string | undefined;
2158
+ }[];
2159
+ title?: string | undefined;
2160
+ orientation?: "vertical" | "horizontal" | undefined;
2161
+ unit?: string | undefined;
2162
+ showConversion?: boolean | undefined;
2163
+ }>, {
2164
+ orientation: "vertical" | "horizontal";
2165
+ stages: {
2166
+ value: number;
2167
+ label: string;
2168
+ description?: string | undefined;
2169
+ }[];
2170
+ showConversion: boolean;
2171
+ title?: string | undefined;
2172
+ unit?: string | undefined;
2173
+ }, {
2174
+ stages: {
2175
+ value: number;
2176
+ label: string;
2177
+ description?: string | undefined;
2178
+ }[];
2179
+ title?: string | undefined;
2180
+ orientation?: "vertical" | "horizontal" | undefined;
2181
+ unit?: string | undefined;
2182
+ showConversion?: boolean | undefined;
2183
+ }>;
2184
+
2185
+ declare const decisiontreeSchema: z.ZodEffects<z.ZodObject<{
2186
+ title: z.ZodOptional<z.ZodString>;
2187
+ nodes: z.ZodArray<z.ZodObject<{
2188
+ id: z.ZodString;
2189
+ type: z.ZodDefault<z.ZodEnum<["question", "outcome"]>>;
2190
+ label: z.ZodString;
2191
+ sentiment: z.ZodOptional<z.ZodEnum<["positive", "neutral", "negative"]>>;
2192
+ confidence: z.ZodOptional<z.ZodNumber>;
2193
+ }, "strip", z.ZodTypeAny, {
2194
+ type: "question" | "outcome";
2195
+ id: string;
2196
+ label: string;
2197
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2198
+ confidence?: number | undefined;
2199
+ }, {
2200
+ id: string;
2201
+ label: string;
2202
+ type?: "question" | "outcome" | undefined;
2203
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2204
+ confidence?: number | undefined;
2205
+ }>, "many">;
2206
+ edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
2207
+ from: z.ZodString;
2208
+ to: z.ZodString;
2209
+ condition: z.ZodOptional<z.ZodString>;
2210
+ }, "strip", z.ZodTypeAny, {
2211
+ from: string;
2212
+ to: string;
2213
+ condition?: string | undefined;
2214
+ }, {
2215
+ from: string;
2216
+ to: string;
2217
+ condition?: string | undefined;
2218
+ }>, "many">>;
2219
+ orientation: z.ZodDefault<z.ZodEnum<["left-right", "top-down"]>>;
2220
+ }, "strip", z.ZodTypeAny, {
2221
+ nodes: {
2222
+ type: "question" | "outcome";
2223
+ id: string;
2224
+ label: string;
2225
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2226
+ confidence?: number | undefined;
2227
+ }[];
2228
+ edges: {
2229
+ from: string;
2230
+ to: string;
2231
+ condition?: string | undefined;
2232
+ }[];
2233
+ orientation: "top-down" | "left-right";
2234
+ title?: string | undefined;
2235
+ }, {
2236
+ nodes: {
2237
+ id: string;
2238
+ label: string;
2239
+ type?: "question" | "outcome" | undefined;
2240
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2241
+ confidence?: number | undefined;
2242
+ }[];
2243
+ edges?: {
2244
+ from: string;
2245
+ to: string;
2246
+ condition?: string | undefined;
2247
+ }[] | undefined;
2248
+ title?: string | undefined;
2249
+ orientation?: "top-down" | "left-right" | undefined;
2250
+ }>, {
2251
+ nodes: {
2252
+ type: "question" | "outcome";
2253
+ id: string;
2254
+ label: string;
2255
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2256
+ confidence?: number | undefined;
2257
+ }[];
2258
+ edges: {
2259
+ from: string;
2260
+ to: string;
2261
+ condition?: string | undefined;
2262
+ }[];
2263
+ orientation: "top-down" | "left-right";
2264
+ title?: string | undefined;
2265
+ }, {
2266
+ nodes: {
2267
+ id: string;
2268
+ label: string;
2269
+ type?: "question" | "outcome" | undefined;
2270
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2271
+ confidence?: number | undefined;
2272
+ }[];
2273
+ edges?: {
2274
+ from: string;
2275
+ to: string;
2276
+ condition?: string | undefined;
2277
+ }[] | undefined;
2278
+ title?: string | undefined;
2279
+ orientation?: "top-down" | "left-right" | undefined;
2280
+ }>;
2281
+
2282
+ declare const gaugeSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2283
+ label: z.ZodString;
2284
+ value: z.ZodNumber;
2285
+ min: z.ZodDefault<z.ZodNumber>;
2286
+ max: z.ZodNumber;
2287
+ unit: z.ZodOptional<z.ZodString>;
2288
+ zones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2289
+ max: z.ZodNumber;
2290
+ label: z.ZodOptional<z.ZodString>;
2291
+ sentiment: z.ZodOptional<z.ZodEnum<["positive", "neutral", "negative"]>>;
2292
+ }, "strip", z.ZodTypeAny, {
2293
+ max: number;
2294
+ label?: string | undefined;
2295
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2296
+ }, {
2297
+ max: number;
2298
+ label?: string | undefined;
2299
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2300
+ }>, "many">>;
2301
+ target: z.ZodOptional<z.ZodNumber>;
2302
+ shape: z.ZodDefault<z.ZodEnum<["semicircle", "full"]>>;
2303
+ }, "strip", z.ZodTypeAny, {
2304
+ value: number;
2305
+ label: string;
2306
+ min: number;
2307
+ max: number;
2308
+ shape: "semicircle" | "full";
2309
+ unit?: string | undefined;
2310
+ zones?: {
2311
+ max: number;
2312
+ label?: string | undefined;
2313
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2314
+ }[] | undefined;
2315
+ target?: number | undefined;
2316
+ }, {
2317
+ value: number;
2318
+ label: string;
2319
+ max: number;
2320
+ min?: number | undefined;
2321
+ shape?: "semicircle" | "full" | undefined;
2322
+ unit?: string | undefined;
2323
+ zones?: {
2324
+ max: number;
2325
+ label?: string | undefined;
2326
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2327
+ }[] | undefined;
2328
+ target?: number | undefined;
2329
+ }>, {
2330
+ value: number;
2331
+ label: string;
2332
+ min: number;
2333
+ max: number;
2334
+ shape: "semicircle" | "full";
2335
+ unit?: string | undefined;
2336
+ zones?: {
2337
+ max: number;
2338
+ label?: string | undefined;
2339
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2340
+ }[] | undefined;
2341
+ target?: number | undefined;
2342
+ }, {
2343
+ value: number;
2344
+ label: string;
2345
+ max: number;
2346
+ min?: number | undefined;
2347
+ shape?: "semicircle" | "full" | undefined;
2348
+ unit?: string | undefined;
2349
+ zones?: {
2350
+ max: number;
2351
+ label?: string | undefined;
2352
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2353
+ }[] | undefined;
2354
+ target?: number | undefined;
2355
+ }>, {
2356
+ value: number;
2357
+ label: string;
2358
+ min: number;
2359
+ max: number;
2360
+ shape: "semicircle" | "full";
2361
+ unit?: string | undefined;
2362
+ zones?: {
2363
+ max: number;
2364
+ label?: string | undefined;
2365
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2366
+ }[] | undefined;
2367
+ target?: number | undefined;
2368
+ }, {
2369
+ value: number;
2370
+ label: string;
2371
+ max: number;
2372
+ min?: number | undefined;
2373
+ shape?: "semicircle" | "full" | undefined;
2374
+ unit?: string | undefined;
2375
+ zones?: {
2376
+ max: number;
2377
+ label?: string | undefined;
2378
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
2379
+ }[] | undefined;
2380
+ target?: number | undefined;
2381
+ }>;
2382
+
1989
2383
  declare const componentSchemas: ReadonlyMap<string, z.ZodType>;
1990
2384
  declare function getJsonSchema(componentType: string): object | undefined;
1991
2385
 
@@ -2005,4 +2399,4 @@ declare function getJsonSchema(componentType: string): object | undefined;
2005
2399
  */
2006
2400
  declare const inlineContentSchema: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>;
2007
2401
 
2008
- export { accordionSchema, annotateSchema, architectureSchema, calloutSchema, cardSchema, chartSchema, codediffSchema, columnsSchema, comparisonSchema, componentSchemas, equationSchema, filetreeSchema, flowchartSchema, formSchema, getJsonSchema, graphSchema, infographicSchema, inlineContentSchema, kanbanSchema, kpiSchema, matrixSchema, mindmapSchema, panelSchema, pollSchema, quizSchema, rankerSchema, ratingSchema, relationSchema, rowsSchema, sequenceSchema, sliderSchema, stepsSchema, tableSchema, tabsSchema, timelineSchema };
2402
+ export { accordionSchema, annotateSchema, architectureSchema, calloutSchema, cardSchema, chartSchema, codediffSchema, columnsSchema, comparisonSchema, componentSchemas, decisiontreeSchema, equationSchema, filetreeSchema, flowchartSchema, formSchema, funnelSchema, gaugeSchema, getJsonSchema, graphSchema, heatmapSchema, infographicSchema, inlineContentSchema, kanbanSchema, kpiSchema, matrixSchema, mindmapSchema, panelSchema, pollSchema, quizSchema, rankerSchema, ratingSchema, relationSchema, rowsSchema, sankeySchema, sequenceSchema, sliderSchema, stepsSchema, tableSchema, tabsSchema, timelineSchema };