@fuaran-ui/conformance 0.19.0 → 0.20.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.
Files changed (57) hide show
  1. package/corpus/lenient/lenient-1521-int-slot-integral-float.expected.json +1 -0
  2. package/corpus/lenient/lenient-1521-int-slot-integral-float.json +1 -0
  3. package/corpus/lenient/lenient-1521-payload-integer-beyond-int53.expected.json +1 -0
  4. package/corpus/lenient/lenient-1521-payload-integer-beyond-int53.json +1 -0
  5. package/corpus/lenient/lenient-navigate-target-self.expected.json +1 -0
  6. package/corpus/lenient/lenient-navigate-target-self.json +1 -0
  7. package/corpus/manifest.json +437 -0
  8. package/corpus/nodes/action-confirm-cancel.json +1 -0
  9. package/corpus/nodes/action-confirm.json +1 -0
  10. package/corpus/nodes/action-focus.json +1 -0
  11. package/corpus/nodes/action-navigate-bound.json +1 -0
  12. package/corpus/nodes/action-navigate-target.json +1 -0
  13. package/corpus/nodes/chart-annotation-bands.json +1 -0
  14. package/corpus/nodes/chart-annotation-events.json +1 -0
  15. package/corpus/nodes/chart-annotations.json +1 -0
  16. package/corpus/nodes/custom-nonascii-keys.json +1 -0
  17. package/corpus/nodes/expr-params-state-selection.json +1 -0
  18. package/corpus/nodes/expr-scalar.json +1 -0
  19. package/corpus/nodes/form-local-declared.json +1 -0
  20. package/corpus/nodes/format-since.json +1 -0
  21. package/corpus/nodes/metric-float-1e17.json +1 -0
  22. package/corpus/nodes/node-visible.json +1 -0
  23. package/corpus/nodes/now-grain.json +1 -0
  24. package/corpus/nodes/switch-on-transform-scalar.json +1 -0
  25. package/corpus/nodes/switch-predicate-only.json +1 -0
  26. package/corpus/nodes/switch-predicate.json +1 -0
  27. package/corpus/reject/reject-binding-floatseq-sentinel-case.json +1 -0
  28. package/corpus/reject/reject-chart-annotation-date-unparseable.json +1 -0
  29. package/corpus/reject/reject-chart-annotation-nonfinite.json +1 -0
  30. package/corpus/reject/reject-chart-annotation-range-unordered.json +1 -0
  31. package/corpus/reject/reject-confirm-missing-onconfirm.json +1 -0
  32. package/corpus/reject/reject-confirm-nested.json +1 -0
  33. package/corpus/reject/reject-expr-col-reference.json +1 -0
  34. package/corpus/reject/reject-expr-unbound-param.json +1 -0
  35. package/corpus/reject/reject-int-slot-fractional.json +1 -0
  36. package/corpus/reject/reject-int-slot-out-of-range.json +1 -0
  37. package/corpus/reject/reject-json-bare-nan.json +1 -0
  38. package/corpus/reject/reject-json-duplicate-key.json +1 -0
  39. package/corpus/reject/reject-json-lone-high-surrogate.json +1 -0
  40. package/corpus/reject/reject-json-lone-low-surrogate.json +1 -0
  41. package/corpus/reject/reject-json-number-empty-exponent.json +1 -0
  42. package/corpus/reject/reject-json-number-leading-plus.json +1 -0
  43. package/corpus/reject/reject-json-number-leading-zero.json +1 -0
  44. package/corpus/reject/reject-json-number-no-integer-part.json +1 -0
  45. package/corpus/reject/reject-json-number-trailing-point.json +1 -0
  46. package/corpus/reject/reject-json-raw-control-char.json +1 -0
  47. package/corpus/reject/reject-json-surrogate-pair-split.json +1 -0
  48. package/corpus/reject/reject-json-trailing-content.json +1 -0
  49. package/corpus/reject/reject-local-codec-no-inverse.json +1 -0
  50. package/corpus/reject/reject-local-oncommit-and-committo.json +1 -0
  51. package/corpus/reject/reject-navigate-target-invalid.json +1 -0
  52. package/corpus/reject/reject-now-grain-invalid.json +1 -0
  53. package/corpus/reject/reject-spark-element-nonnumeric.json +1 -0
  54. package/corpus/reject/reject-switch-case-match-and-when.json +1 -0
  55. package/corpus/reject/reject-switch-case-neither.json +1 -0
  56. package/corpus/schema.json +1002 -48
  57. package/package.json +3 -3
@@ -120,6 +120,13 @@
120
120
  "Popover"
121
121
  ]
122
122
  },
123
+ "NavigateTarget": {
124
+ "type": "string",
125
+ "enum": [
126
+ "Self",
127
+ "Blank"
128
+ ]
129
+ },
123
130
  "CaptureSource": {
124
131
  "type": "string",
125
132
  "enum": [
@@ -293,6 +300,15 @@
293
300
  "Year"
294
301
  ]
295
302
  },
303
+ "TimeGrain": {
304
+ "type": "string",
305
+ "enum": [
306
+ "Second",
307
+ "Minute",
308
+ "Hour",
309
+ "Day"
310
+ ]
311
+ },
296
312
  "DurationUnit": {
297
313
  "type": "string",
298
314
  "enum": [
@@ -406,7 +422,8 @@
406
422
  }
407
423
  },
408
424
  "required": [
409
- "$type"
425
+ "$type",
426
+ "value"
410
427
  ]
411
428
  },
412
429
  {
@@ -507,6 +524,9 @@
507
524
  "properties": {
508
525
  "$type": {
509
526
  "const": "Now"
527
+ },
528
+ "grain": {
529
+ "$ref": "#/$defs/TimeGrain"
510
530
  }
511
531
  },
512
532
  "required": [
@@ -540,6 +560,12 @@
540
560
  "$type": {
541
561
  "const": "Local"
542
562
  },
563
+ "codec": {
564
+ "$ref": "#/$defs/Format"
565
+ },
566
+ "commitTo": {
567
+ "type": "string"
568
+ },
543
569
  "flushOn": {
544
570
  "$ref": "#/$defs/LocalFlushTrigger"
545
571
  },
@@ -561,7 +587,6 @@
561
587
  "flushOn",
562
588
  "format",
563
589
  "initialFrom",
564
- "onCommit",
565
590
  "parse"
566
591
  ]
567
592
  },
@@ -626,6 +651,39 @@
626
651
  "source"
627
652
  ]
628
653
  },
654
+ {
655
+ "type": "object",
656
+ "properties": {
657
+ "$type": {
658
+ "const": "Expr"
659
+ },
660
+ "expr": {
661
+ "type": "object"
662
+ },
663
+ "params": {
664
+ "type": "array",
665
+ "items": {
666
+ "type": "object",
667
+ "properties": {
668
+ "from": {
669
+ "$ref": "#/$defs/Binding_json"
670
+ },
671
+ "name": {
672
+ "type": "string"
673
+ }
674
+ },
675
+ "required": [
676
+ "from",
677
+ "name"
678
+ ]
679
+ }
680
+ }
681
+ },
682
+ "required": [
683
+ "$type",
684
+ "expr"
685
+ ]
686
+ },
629
687
  {
630
688
  "type": "object",
631
689
  "properties": {
@@ -674,7 +732,8 @@
674
732
  }
675
733
  },
676
734
  "required": [
677
- "$type"
735
+ "$type",
736
+ "value"
678
737
  ]
679
738
  },
680
739
  {
@@ -808,6 +867,9 @@
808
867
  "properties": {
809
868
  "$type": {
810
869
  "const": "Now"
870
+ },
871
+ "grain": {
872
+ "$ref": "#/$defs/TimeGrain"
811
873
  }
812
874
  },
813
875
  "required": [
@@ -841,6 +903,12 @@
841
903
  "$type": {
842
904
  "const": "Local"
843
905
  },
906
+ "codec": {
907
+ "$ref": "#/$defs/Format"
908
+ },
909
+ "commitTo": {
910
+ "type": "string"
911
+ },
844
912
  "flushOn": {
845
913
  "$ref": "#/$defs/LocalFlushTrigger"
846
914
  },
@@ -862,7 +930,6 @@
862
930
  "flushOn",
863
931
  "format",
864
932
  "initialFrom",
865
- "onCommit",
866
933
  "parse"
867
934
  ]
868
935
  },
@@ -927,6 +994,39 @@
927
994
  "source"
928
995
  ]
929
996
  },
997
+ {
998
+ "type": "object",
999
+ "properties": {
1000
+ "$type": {
1001
+ "const": "Expr"
1002
+ },
1003
+ "expr": {
1004
+ "type": "object"
1005
+ },
1006
+ "params": {
1007
+ "type": "array",
1008
+ "items": {
1009
+ "type": "object",
1010
+ "properties": {
1011
+ "from": {
1012
+ "$ref": "#/$defs/Binding_json"
1013
+ },
1014
+ "name": {
1015
+ "type": "string"
1016
+ }
1017
+ },
1018
+ "required": [
1019
+ "from",
1020
+ "name"
1021
+ ]
1022
+ }
1023
+ }
1024
+ },
1025
+ "required": [
1026
+ "$type",
1027
+ "expr"
1028
+ ]
1029
+ },
930
1030
  {
931
1031
  "type": "object",
932
1032
  "properties": {
@@ -1057,6 +1157,9 @@
1057
1157
  "properties": {
1058
1158
  "$type": {
1059
1159
  "const": "Now"
1160
+ },
1161
+ "grain": {
1162
+ "$ref": "#/$defs/TimeGrain"
1060
1163
  }
1061
1164
  },
1062
1165
  "required": [
@@ -1090,6 +1193,12 @@
1090
1193
  "$type": {
1091
1194
  "const": "Local"
1092
1195
  },
1196
+ "codec": {
1197
+ "$ref": "#/$defs/Format"
1198
+ },
1199
+ "commitTo": {
1200
+ "type": "string"
1201
+ },
1093
1202
  "flushOn": {
1094
1203
  "$ref": "#/$defs/LocalFlushTrigger"
1095
1204
  },
@@ -1111,7 +1220,6 @@
1111
1220
  "flushOn",
1112
1221
  "format",
1113
1222
  "initialFrom",
1114
- "onCommit",
1115
1223
  "parse"
1116
1224
  ]
1117
1225
  },
@@ -1176,6 +1284,39 @@
1176
1284
  "source"
1177
1285
  ]
1178
1286
  },
1287
+ {
1288
+ "type": "object",
1289
+ "properties": {
1290
+ "$type": {
1291
+ "const": "Expr"
1292
+ },
1293
+ "expr": {
1294
+ "type": "object"
1295
+ },
1296
+ "params": {
1297
+ "type": "array",
1298
+ "items": {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "from": {
1302
+ "$ref": "#/$defs/Binding_json"
1303
+ },
1304
+ "name": {
1305
+ "type": "string"
1306
+ }
1307
+ },
1308
+ "required": [
1309
+ "from",
1310
+ "name"
1311
+ ]
1312
+ }
1313
+ }
1314
+ },
1315
+ "required": [
1316
+ "$type",
1317
+ "expr"
1318
+ ]
1319
+ },
1179
1320
  {
1180
1321
  "type": "object",
1181
1322
  "properties": {
@@ -1213,7 +1354,8 @@
1213
1354
  }
1214
1355
  },
1215
1356
  "required": [
1216
- "$type"
1357
+ "$type",
1358
+ "value"
1217
1359
  ]
1218
1360
  },
1219
1361
  {
@@ -1314,6 +1456,9 @@
1314
1456
  "properties": {
1315
1457
  "$type": {
1316
1458
  "const": "Now"
1459
+ },
1460
+ "grain": {
1461
+ "$ref": "#/$defs/TimeGrain"
1317
1462
  }
1318
1463
  },
1319
1464
  "required": [
@@ -1347,6 +1492,12 @@
1347
1492
  "$type": {
1348
1493
  "const": "Local"
1349
1494
  },
1495
+ "codec": {
1496
+ "$ref": "#/$defs/Format"
1497
+ },
1498
+ "commitTo": {
1499
+ "type": "string"
1500
+ },
1350
1501
  "flushOn": {
1351
1502
  "$ref": "#/$defs/LocalFlushTrigger"
1352
1503
  },
@@ -1368,7 +1519,6 @@
1368
1519
  "flushOn",
1369
1520
  "format",
1370
1521
  "initialFrom",
1371
- "onCommit",
1372
1522
  "parse"
1373
1523
  ]
1374
1524
  },
@@ -1433,6 +1583,39 @@
1433
1583
  "source"
1434
1584
  ]
1435
1585
  },
1586
+ {
1587
+ "type": "object",
1588
+ "properties": {
1589
+ "$type": {
1590
+ "const": "Expr"
1591
+ },
1592
+ "expr": {
1593
+ "type": "object"
1594
+ },
1595
+ "params": {
1596
+ "type": "array",
1597
+ "items": {
1598
+ "type": "object",
1599
+ "properties": {
1600
+ "from": {
1601
+ "$ref": "#/$defs/Binding_json"
1602
+ },
1603
+ "name": {
1604
+ "type": "string"
1605
+ }
1606
+ },
1607
+ "required": [
1608
+ "from",
1609
+ "name"
1610
+ ]
1611
+ }
1612
+ }
1613
+ },
1614
+ "required": [
1615
+ "$type",
1616
+ "expr"
1617
+ ]
1618
+ },
1436
1619
  {
1437
1620
  "type": "object",
1438
1621
  "properties": {
@@ -1563,6 +1746,9 @@
1563
1746
  "properties": {
1564
1747
  "$type": {
1565
1748
  "const": "Now"
1749
+ },
1750
+ "grain": {
1751
+ "$ref": "#/$defs/TimeGrain"
1566
1752
  }
1567
1753
  },
1568
1754
  "required": [
@@ -1596,6 +1782,12 @@
1596
1782
  "$type": {
1597
1783
  "const": "Local"
1598
1784
  },
1785
+ "codec": {
1786
+ "$ref": "#/$defs/Format"
1787
+ },
1788
+ "commitTo": {
1789
+ "type": "string"
1790
+ },
1599
1791
  "flushOn": {
1600
1792
  "$ref": "#/$defs/LocalFlushTrigger"
1601
1793
  },
@@ -1617,7 +1809,6 @@
1617
1809
  "flushOn",
1618
1810
  "format",
1619
1811
  "initialFrom",
1620
- "onCommit",
1621
1812
  "parse"
1622
1813
  ]
1623
1814
  },
@@ -1682,6 +1873,39 @@
1682
1873
  "source"
1683
1874
  ]
1684
1875
  },
1876
+ {
1877
+ "type": "object",
1878
+ "properties": {
1879
+ "$type": {
1880
+ "const": "Expr"
1881
+ },
1882
+ "expr": {
1883
+ "type": "object"
1884
+ },
1885
+ "params": {
1886
+ "type": "array",
1887
+ "items": {
1888
+ "type": "object",
1889
+ "properties": {
1890
+ "from": {
1891
+ "$ref": "#/$defs/Binding_json"
1892
+ },
1893
+ "name": {
1894
+ "type": "string"
1895
+ }
1896
+ },
1897
+ "required": [
1898
+ "from",
1899
+ "name"
1900
+ ]
1901
+ }
1902
+ }
1903
+ },
1904
+ "required": [
1905
+ "$type",
1906
+ "expr"
1907
+ ]
1908
+ },
1685
1909
  {
1686
1910
  "type": "object",
1687
1911
  "properties": {
@@ -1832,6 +2056,9 @@
1832
2056
  "properties": {
1833
2057
  "$type": {
1834
2058
  "const": "Now"
2059
+ },
2060
+ "grain": {
2061
+ "$ref": "#/$defs/TimeGrain"
1835
2062
  }
1836
2063
  },
1837
2064
  "required": [
@@ -1865,6 +2092,12 @@
1865
2092
  "$type": {
1866
2093
  "const": "Local"
1867
2094
  },
2095
+ "codec": {
2096
+ "$ref": "#/$defs/Format"
2097
+ },
2098
+ "commitTo": {
2099
+ "type": "string"
2100
+ },
1868
2101
  "flushOn": {
1869
2102
  "$ref": "#/$defs/LocalFlushTrigger"
1870
2103
  },
@@ -1886,7 +2119,6 @@
1886
2119
  "flushOn",
1887
2120
  "format",
1888
2121
  "initialFrom",
1889
- "onCommit",
1890
2122
  "parse"
1891
2123
  ]
1892
2124
  },
@@ -1951,6 +2183,39 @@
1951
2183
  "source"
1952
2184
  ]
1953
2185
  },
2186
+ {
2187
+ "type": "object",
2188
+ "properties": {
2189
+ "$type": {
2190
+ "const": "Expr"
2191
+ },
2192
+ "expr": {
2193
+ "type": "object"
2194
+ },
2195
+ "params": {
2196
+ "type": "array",
2197
+ "items": {
2198
+ "type": "object",
2199
+ "properties": {
2200
+ "from": {
2201
+ "$ref": "#/$defs/Binding_json"
2202
+ },
2203
+ "name": {
2204
+ "type": "string"
2205
+ }
2206
+ },
2207
+ "required": [
2208
+ "from",
2209
+ "name"
2210
+ ]
2211
+ }
2212
+ }
2213
+ },
2214
+ "required": [
2215
+ "$type",
2216
+ "expr"
2217
+ ]
2218
+ },
1954
2219
  {
1955
2220
  "type": "object",
1956
2221
  "properties": {
@@ -2101,6 +2366,9 @@
2101
2366
  "properties": {
2102
2367
  "$type": {
2103
2368
  "const": "Now"
2369
+ },
2370
+ "grain": {
2371
+ "$ref": "#/$defs/TimeGrain"
2104
2372
  }
2105
2373
  },
2106
2374
  "required": [
@@ -2134,6 +2402,12 @@
2134
2402
  "$type": {
2135
2403
  "const": "Local"
2136
2404
  },
2405
+ "codec": {
2406
+ "$ref": "#/$defs/Format"
2407
+ },
2408
+ "commitTo": {
2409
+ "type": "string"
2410
+ },
2137
2411
  "flushOn": {
2138
2412
  "$ref": "#/$defs/LocalFlushTrigger"
2139
2413
  },
@@ -2155,7 +2429,6 @@
2155
2429
  "flushOn",
2156
2430
  "format",
2157
2431
  "initialFrom",
2158
- "onCommit",
2159
2432
  "parse"
2160
2433
  ]
2161
2434
  },
@@ -2224,15 +2497,48 @@
2224
2497
  "type": "object",
2225
2498
  "properties": {
2226
2499
  "$type": {
2227
- "const": "Invoke"
2500
+ "const": "Expr"
2228
2501
  },
2229
- "args": {
2502
+ "expr": {
2503
+ "type": "object"
2504
+ },
2505
+ "params": {
2230
2506
  "type": "array",
2231
2507
  "items": {
2232
- "type": "object"
2508
+ "type": "object",
2509
+ "properties": {
2510
+ "from": {
2511
+ "$ref": "#/$defs/Binding_json"
2512
+ },
2513
+ "name": {
2514
+ "type": "string"
2515
+ }
2516
+ },
2517
+ "required": [
2518
+ "from",
2519
+ "name"
2520
+ ]
2233
2521
  }
2234
- },
2235
- "capabilityId": {
2522
+ }
2523
+ },
2524
+ "required": [
2525
+ "$type",
2526
+ "expr"
2527
+ ]
2528
+ },
2529
+ {
2530
+ "type": "object",
2531
+ "properties": {
2532
+ "$type": {
2533
+ "const": "Invoke"
2534
+ },
2535
+ "args": {
2536
+ "type": "array",
2537
+ "items": {
2538
+ "type": "object"
2539
+ }
2540
+ },
2541
+ "capabilityId": {
2236
2542
  "type": "string"
2237
2543
  }
2238
2544
  },
@@ -2414,6 +2720,9 @@
2414
2720
  "properties": {
2415
2721
  "$type": {
2416
2722
  "const": "Now"
2723
+ },
2724
+ "grain": {
2725
+ "$ref": "#/$defs/TimeGrain"
2417
2726
  }
2418
2727
  },
2419
2728
  "required": [
@@ -2447,6 +2756,12 @@
2447
2756
  "$type": {
2448
2757
  "const": "Local"
2449
2758
  },
2759
+ "codec": {
2760
+ "$ref": "#/$defs/Format"
2761
+ },
2762
+ "commitTo": {
2763
+ "type": "string"
2764
+ },
2450
2765
  "flushOn": {
2451
2766
  "$ref": "#/$defs/LocalFlushTrigger"
2452
2767
  },
@@ -2468,7 +2783,6 @@
2468
2783
  "flushOn",
2469
2784
  "format",
2470
2785
  "initialFrom",
2471
- "onCommit",
2472
2786
  "parse"
2473
2787
  ]
2474
2788
  },
@@ -2533,6 +2847,39 @@
2533
2847
  "source"
2534
2848
  ]
2535
2849
  },
2850
+ {
2851
+ "type": "object",
2852
+ "properties": {
2853
+ "$type": {
2854
+ "const": "Expr"
2855
+ },
2856
+ "expr": {
2857
+ "type": "object"
2858
+ },
2859
+ "params": {
2860
+ "type": "array",
2861
+ "items": {
2862
+ "type": "object",
2863
+ "properties": {
2864
+ "from": {
2865
+ "$ref": "#/$defs/Binding_json"
2866
+ },
2867
+ "name": {
2868
+ "type": "string"
2869
+ }
2870
+ },
2871
+ "required": [
2872
+ "from",
2873
+ "name"
2874
+ ]
2875
+ }
2876
+ }
2877
+ },
2878
+ "required": [
2879
+ "$type",
2880
+ "expr"
2881
+ ]
2882
+ },
2536
2883
  {
2537
2884
  "type": "object",
2538
2885
  "properties": {
@@ -2604,10 +2951,315 @@
2604
2951
  "const": "Filter"
2605
2952
  },
2606
2953
  "defaultValue": {
2607
- "type": "array",
2608
- "items": {
2609
- "type": "string"
2610
- }
2954
+ "type": "array",
2955
+ "items": {
2956
+ "type": "string"
2957
+ }
2958
+ },
2959
+ "name": {
2960
+ "type": "string"
2961
+ }
2962
+ },
2963
+ "required": [
2964
+ "$type",
2965
+ "name"
2966
+ ]
2967
+ },
2968
+ {
2969
+ "type": "object",
2970
+ "properties": {
2971
+ "$type": {
2972
+ "const": "Selection"
2973
+ },
2974
+ "defaultValue": {
2975
+ "type": "array",
2976
+ "items": {
2977
+ "type": "string"
2978
+ }
2979
+ },
2980
+ "field": {
2981
+ "type": "string"
2982
+ },
2983
+ "nodeId": {
2984
+ "type": "string"
2985
+ }
2986
+ },
2987
+ "required": [
2988
+ "$type",
2989
+ "nodeId"
2990
+ ]
2991
+ },
2992
+ {
2993
+ "type": "object",
2994
+ "properties": {
2995
+ "$type": {
2996
+ "const": "State"
2997
+ },
2998
+ "defaultValue": {
2999
+ "type": "array",
3000
+ "items": {
3001
+ "type": "string"
3002
+ }
3003
+ },
3004
+ "key": {
3005
+ "type": "string"
3006
+ }
3007
+ },
3008
+ "required": [
3009
+ "$type",
3010
+ "key"
3011
+ ]
3012
+ },
3013
+ {
3014
+ "type": "object",
3015
+ "properties": {
3016
+ "$type": {
3017
+ "const": "Computed"
3018
+ },
3019
+ "fn": {
3020
+ "const": "<closure>"
3021
+ }
3022
+ },
3023
+ "required": [
3024
+ "$type",
3025
+ "fn"
3026
+ ]
3027
+ },
3028
+ {
3029
+ "type": "object",
3030
+ "properties": {
3031
+ "$type": {
3032
+ "const": "Now"
3033
+ },
3034
+ "grain": {
3035
+ "$ref": "#/$defs/TimeGrain"
3036
+ }
3037
+ },
3038
+ "required": [
3039
+ "$type"
3040
+ ]
3041
+ },
3042
+ {
3043
+ "type": "object",
3044
+ "properties": {
3045
+ "$type": {
3046
+ "const": "I18n"
3047
+ },
3048
+ "args": {
3049
+ "type": "object",
3050
+ "additionalProperties": {
3051
+ "$ref": "#/$defs/Binding_json"
3052
+ }
3053
+ },
3054
+ "key": {
3055
+ "type": "string"
3056
+ }
3057
+ },
3058
+ "required": [
3059
+ "$type",
3060
+ "key"
3061
+ ]
3062
+ },
3063
+ {
3064
+ "type": "object",
3065
+ "properties": {
3066
+ "$type": {
3067
+ "const": "Local"
3068
+ },
3069
+ "codec": {
3070
+ "$ref": "#/$defs/Format"
3071
+ },
3072
+ "commitTo": {
3073
+ "type": "string"
3074
+ },
3075
+ "flushOn": {
3076
+ "$ref": "#/$defs/LocalFlushTrigger"
3077
+ },
3078
+ "format": {
3079
+ "const": "<closure>"
3080
+ },
3081
+ "initialFrom": {
3082
+ "$ref": "#/$defs/Binding_list_str"
3083
+ },
3084
+ "onCommit": {
3085
+ "const": "<closure>"
3086
+ },
3087
+ "parse": {
3088
+ "const": "<closure>"
3089
+ }
3090
+ },
3091
+ "required": [
3092
+ "$type",
3093
+ "flushOn",
3094
+ "format",
3095
+ "initialFrom",
3096
+ "parse"
3097
+ ]
3098
+ },
3099
+ {
3100
+ "type": "object",
3101
+ "properties": {
3102
+ "$type": {
3103
+ "const": "Format"
3104
+ },
3105
+ "format": {
3106
+ "$ref": "#/$defs/Format"
3107
+ },
3108
+ "locale": {
3109
+ "$ref": "#/$defs/LocaleSource"
3110
+ },
3111
+ "source": {
3112
+ "$ref": "#/$defs/Binding_float"
3113
+ }
3114
+ },
3115
+ "required": [
3116
+ "$type",
3117
+ "format",
3118
+ "locale",
3119
+ "source"
3120
+ ]
3121
+ },
3122
+ {
3123
+ "type": "object",
3124
+ "properties": {
3125
+ "$type": {
3126
+ "const": "Transform"
3127
+ },
3128
+ "params": {
3129
+ "type": "array",
3130
+ "items": {
3131
+ "type": "object",
3132
+ "properties": {
3133
+ "from": {
3134
+ "$ref": "#/$defs/Binding_json"
3135
+ },
3136
+ "name": {
3137
+ "type": "string"
3138
+ }
3139
+ },
3140
+ "required": [
3141
+ "from",
3142
+ "name"
3143
+ ]
3144
+ }
3145
+ },
3146
+ "pipeline": {
3147
+ "type": "array",
3148
+ "items": true
3149
+ },
3150
+ "source": {
3151
+ "type": "object"
3152
+ }
3153
+ },
3154
+ "required": [
3155
+ "$type",
3156
+ "pipeline",
3157
+ "source"
3158
+ ]
3159
+ },
3160
+ {
3161
+ "type": "object",
3162
+ "properties": {
3163
+ "$type": {
3164
+ "const": "Expr"
3165
+ },
3166
+ "expr": {
3167
+ "type": "object"
3168
+ },
3169
+ "params": {
3170
+ "type": "array",
3171
+ "items": {
3172
+ "type": "object",
3173
+ "properties": {
3174
+ "from": {
3175
+ "$ref": "#/$defs/Binding_json"
3176
+ },
3177
+ "name": {
3178
+ "type": "string"
3179
+ }
3180
+ },
3181
+ "required": [
3182
+ "from",
3183
+ "name"
3184
+ ]
3185
+ }
3186
+ }
3187
+ },
3188
+ "required": [
3189
+ "$type",
3190
+ "expr"
3191
+ ]
3192
+ },
3193
+ {
3194
+ "type": "object",
3195
+ "properties": {
3196
+ "$type": {
3197
+ "const": "Invoke"
3198
+ },
3199
+ "args": {
3200
+ "type": "array",
3201
+ "items": {
3202
+ "type": "object"
3203
+ }
3204
+ },
3205
+ "capabilityId": {
3206
+ "type": "string"
3207
+ }
3208
+ },
3209
+ "required": [
3210
+ "$type",
3211
+ "args",
3212
+ "capabilityId"
3213
+ ]
3214
+ }
3215
+ ]
3216
+ },
3217
+ "Binding_str": {
3218
+ "oneOf": [
3219
+ {
3220
+ "type": "object",
3221
+ "properties": {
3222
+ "$type": {
3223
+ "const": "Static"
3224
+ },
3225
+ "value": {
3226
+ "type": "string"
3227
+ }
3228
+ },
3229
+ "required": [
3230
+ "$type",
3231
+ "value"
3232
+ ]
3233
+ },
3234
+ {
3235
+ "type": "object",
3236
+ "properties": {
3237
+ "$type": {
3238
+ "const": "Query"
3239
+ },
3240
+ "dependsOn": {
3241
+ "type": "array",
3242
+ "items": {
3243
+ "type": "string"
3244
+ }
3245
+ },
3246
+ "name": {
3247
+ "type": "string"
3248
+ }
3249
+ },
3250
+ "required": [
3251
+ "$type",
3252
+ "name"
3253
+ ]
3254
+ },
3255
+ {
3256
+ "type": "object",
3257
+ "properties": {
3258
+ "$type": {
3259
+ "const": "Filter"
3260
+ },
3261
+ "defaultValue": {
3262
+ "type": "string"
2611
3263
  },
2612
3264
  "name": {
2613
3265
  "type": "string"
@@ -2625,10 +3277,7 @@
2625
3277
  "const": "Selection"
2626
3278
  },
2627
3279
  "defaultValue": {
2628
- "type": "array",
2629
- "items": {
2630
- "type": "string"
2631
- }
3280
+ "type": "string"
2632
3281
  },
2633
3282
  "field": {
2634
3283
  "type": "string"
@@ -2649,10 +3298,7 @@
2649
3298
  "const": "State"
2650
3299
  },
2651
3300
  "defaultValue": {
2652
- "type": "array",
2653
- "items": {
2654
- "type": "string"
2655
- }
3301
+ "type": "string"
2656
3302
  },
2657
3303
  "key": {
2658
3304
  "type": "string"
@@ -2683,6 +3329,9 @@
2683
3329
  "properties": {
2684
3330
  "$type": {
2685
3331
  "const": "Now"
3332
+ },
3333
+ "grain": {
3334
+ "$ref": "#/$defs/TimeGrain"
2686
3335
  }
2687
3336
  },
2688
3337
  "required": [
@@ -2716,6 +3365,12 @@
2716
3365
  "$type": {
2717
3366
  "const": "Local"
2718
3367
  },
3368
+ "codec": {
3369
+ "$ref": "#/$defs/Format"
3370
+ },
3371
+ "commitTo": {
3372
+ "type": "string"
3373
+ },
2719
3374
  "flushOn": {
2720
3375
  "$ref": "#/$defs/LocalFlushTrigger"
2721
3376
  },
@@ -2723,7 +3378,7 @@
2723
3378
  "const": "<closure>"
2724
3379
  },
2725
3380
  "initialFrom": {
2726
- "$ref": "#/$defs/Binding_list_str"
3381
+ "$ref": "#/$defs/Binding_str"
2727
3382
  },
2728
3383
  "onCommit": {
2729
3384
  "const": "<closure>"
@@ -2737,7 +3392,6 @@
2737
3392
  "flushOn",
2738
3393
  "format",
2739
3394
  "initialFrom",
2740
- "onCommit",
2741
3395
  "parse"
2742
3396
  ]
2743
3397
  },
@@ -2802,6 +3456,39 @@
2802
3456
  "source"
2803
3457
  ]
2804
3458
  },
3459
+ {
3460
+ "type": "object",
3461
+ "properties": {
3462
+ "$type": {
3463
+ "const": "Expr"
3464
+ },
3465
+ "expr": {
3466
+ "type": "object"
3467
+ },
3468
+ "params": {
3469
+ "type": "array",
3470
+ "items": {
3471
+ "type": "object",
3472
+ "properties": {
3473
+ "from": {
3474
+ "$ref": "#/$defs/Binding_json"
3475
+ },
3476
+ "name": {
3477
+ "type": "string"
3478
+ }
3479
+ },
3480
+ "required": [
3481
+ "from",
3482
+ "name"
3483
+ ]
3484
+ }
3485
+ }
3486
+ },
3487
+ "required": [
3488
+ "$type",
3489
+ "expr"
3490
+ ]
3491
+ },
2805
3492
  {
2806
3493
  "type": "object",
2807
3494
  "properties": {
@@ -2826,7 +3513,8 @@
2826
3513
  }
2827
3514
  ]
2828
3515
  },
2829
- "Binding_str": {
3516
+ "Binding_str_choice": {
3517
+ "description": "Binding<string> at a choice-valued control (Choice / SegmentedChoice / Combobox / Select). The Static payload is OPTIONAL and its absence is the value: no selection. Every other string-valued slot uses Binding_str, where the payload is required.",
2830
3518
  "oneOf": [
2831
3519
  {
2832
3520
  "type": "object",
@@ -2940,6 +3628,9 @@
2940
3628
  "properties": {
2941
3629
  "$type": {
2942
3630
  "const": "Now"
3631
+ },
3632
+ "grain": {
3633
+ "$ref": "#/$defs/TimeGrain"
2943
3634
  }
2944
3635
  },
2945
3636
  "required": [
@@ -2973,6 +3664,12 @@
2973
3664
  "$type": {
2974
3665
  "const": "Local"
2975
3666
  },
3667
+ "codec": {
3668
+ "$ref": "#/$defs/Format"
3669
+ },
3670
+ "commitTo": {
3671
+ "type": "string"
3672
+ },
2976
3673
  "flushOn": {
2977
3674
  "$ref": "#/$defs/LocalFlushTrigger"
2978
3675
  },
@@ -2980,7 +3677,7 @@
2980
3677
  "const": "<closure>"
2981
3678
  },
2982
3679
  "initialFrom": {
2983
- "$ref": "#/$defs/Binding_str"
3680
+ "$ref": "#/$defs/Binding_str_choice"
2984
3681
  },
2985
3682
  "onCommit": {
2986
3683
  "const": "<closure>"
@@ -2994,7 +3691,6 @@
2994
3691
  "flushOn",
2995
3692
  "format",
2996
3693
  "initialFrom",
2997
- "onCommit",
2998
3694
  "parse"
2999
3695
  ]
3000
3696
  },
@@ -3059,6 +3755,39 @@
3059
3755
  "source"
3060
3756
  ]
3061
3757
  },
3758
+ {
3759
+ "type": "object",
3760
+ "properties": {
3761
+ "$type": {
3762
+ "const": "Expr"
3763
+ },
3764
+ "expr": {
3765
+ "type": "object"
3766
+ },
3767
+ "params": {
3768
+ "type": "array",
3769
+ "items": {
3770
+ "type": "object",
3771
+ "properties": {
3772
+ "from": {
3773
+ "$ref": "#/$defs/Binding_json"
3774
+ },
3775
+ "name": {
3776
+ "type": "string"
3777
+ }
3778
+ },
3779
+ "required": [
3780
+ "from",
3781
+ "name"
3782
+ ]
3783
+ }
3784
+ }
3785
+ },
3786
+ "required": [
3787
+ "$type",
3788
+ "expr"
3789
+ ]
3790
+ },
3062
3791
  {
3063
3792
  "type": "object",
3064
3793
  "properties": {
@@ -3231,7 +3960,10 @@
3231
3960
  "const": "Navigate"
3232
3961
  },
3233
3962
  "route": {
3234
- "type": "string"
3963
+ "$ref": "#/$defs/TextSource"
3964
+ },
3965
+ "target": {
3966
+ "$ref": "#/$defs/NavigateTarget"
3235
3967
  }
3236
3968
  },
3237
3969
  "required": [
@@ -3405,6 +4137,43 @@
3405
4137
  "$type"
3406
4138
  ],
3407
4139
  "additionalProperties": false
4140
+ },
4141
+ {
4142
+ "type": "object",
4143
+ "properties": {
4144
+ "$type": {
4145
+ "const": "Confirm"
4146
+ },
4147
+ "onCancel": {
4148
+ "$ref": "#/$defs/Action"
4149
+ },
4150
+ "onConfirm": {
4151
+ "$ref": "#/$defs/Action"
4152
+ },
4153
+ "prompt": {
4154
+ "$ref": "#/$defs/TextSource"
4155
+ }
4156
+ },
4157
+ "required": [
4158
+ "$type",
4159
+ "onConfirm",
4160
+ "prompt"
4161
+ ]
4162
+ },
4163
+ {
4164
+ "type": "object",
4165
+ "properties": {
4166
+ "$type": {
4167
+ "const": "Focus"
4168
+ },
4169
+ "nodeId": {
4170
+ "type": "string"
4171
+ }
4172
+ },
4173
+ "required": [
4174
+ "$type",
4175
+ "nodeId"
4176
+ ]
3408
4177
  }
3409
4178
  ]
3410
4179
  },
@@ -3780,6 +4549,20 @@
3780
4549
  "style",
3781
4550
  "unit"
3782
4551
  ]
4552
+ },
4553
+ {
4554
+ "type": "object",
4555
+ "properties": {
4556
+ "$type": {
4557
+ "const": "Since"
4558
+ },
4559
+ "unit": {
4560
+ "$ref": "#/$defs/RelativeTimeUnit"
4561
+ }
4562
+ },
4563
+ "required": [
4564
+ "$type"
4565
+ ]
3783
4566
  }
3784
4567
  ]
3785
4568
  },
@@ -3953,7 +4736,7 @@
3953
4736
  "$ref": "#/$defs/Binding_list_SelectOption"
3954
4737
  },
3955
4738
  "value": {
3956
- "$ref": "#/$defs/Binding_str"
4739
+ "$ref": "#/$defs/Binding_str_choice"
3957
4740
  }
3958
4741
  },
3959
4742
  "required": [
@@ -4036,7 +4819,7 @@
4036
4819
  "$ref": "#/$defs/Orientation"
4037
4820
  },
4038
4821
  "value": {
4039
- "$ref": "#/$defs/Binding_str"
4822
+ "$ref": "#/$defs/Binding_str_choice"
4040
4823
  }
4041
4824
  },
4042
4825
  "required": [
@@ -4162,7 +4945,7 @@
4162
4945
  "$ref": "#/$defs/Binding_list_SelectOption"
4163
4946
  },
4164
4947
  "value": {
4165
- "$ref": "#/$defs/Binding_str"
4948
+ "$ref": "#/$defs/Binding_str_choice"
4166
4949
  }
4167
4950
  },
4168
4951
  "required": [
@@ -6333,7 +7116,7 @@
6333
7116
  "$ref": "#/$defs/Binding_list_SelectOption"
6334
7117
  },
6335
7118
  "value": {
6336
- "$ref": "#/$defs/Binding_str"
7119
+ "$ref": "#/$defs/Binding_str_choice"
6337
7120
  },
6338
7121
  "placeholder": {
6339
7122
  "$ref": "#/$defs/TextSource"
@@ -6759,6 +7542,12 @@
6759
7542
  "xScale": {
6760
7543
  "$ref": "#/$defs/ChartXScale"
6761
7544
  },
7545
+ "annotations": {
7546
+ "type": "array",
7547
+ "items": {
7548
+ "$ref": "#/$defs/ChartAnnotation"
7549
+ }
7550
+ },
6762
7551
  "onPointClick": {
6763
7552
  "const": "<closure>"
6764
7553
  }
@@ -6770,6 +7559,140 @@
6770
7559
  "yFields"
6771
7560
  ]
6772
7561
  },
7562
+ "ChartAnnotation": {
7563
+ "oneOf": [
7564
+ {
7565
+ "type": "object",
7566
+ "properties": {
7567
+ "$type": {
7568
+ "const": "ReferenceLine"
7569
+ },
7570
+ "value": {
7571
+ "type": "number"
7572
+ },
7573
+ "label": {
7574
+ "$ref": "#/$defs/TextSource"
7575
+ }
7576
+ },
7577
+ "required": [
7578
+ "$type",
7579
+ "value"
7580
+ ]
7581
+ },
7582
+ {
7583
+ "type": "object",
7584
+ "properties": {
7585
+ "$type": {
7586
+ "const": "EventMarker"
7587
+ },
7588
+ "at": {
7589
+ "$ref": "#/$defs/ChartAnnotationX"
7590
+ },
7591
+ "label": {
7592
+ "$ref": "#/$defs/TextSource"
7593
+ }
7594
+ },
7595
+ "required": [
7596
+ "$type",
7597
+ "at"
7598
+ ]
7599
+ },
7600
+ {
7601
+ "type": "object",
7602
+ "properties": {
7603
+ "$type": {
7604
+ "const": "RangeBand"
7605
+ },
7606
+ "range": {
7607
+ "$ref": "#/$defs/ChartAnnotationRange"
7608
+ },
7609
+ "label": {
7610
+ "$ref": "#/$defs/TextSource"
7611
+ }
7612
+ },
7613
+ "required": [
7614
+ "$type",
7615
+ "range"
7616
+ ]
7617
+ }
7618
+ ]
7619
+ },
7620
+ "ChartAnnotationRange": {
7621
+ "oneOf": [
7622
+ {
7623
+ "type": "object",
7624
+ "properties": {
7625
+ "$type": {
7626
+ "const": "ValueRange"
7627
+ },
7628
+ "from": {
7629
+ "type": "number"
7630
+ },
7631
+ "to": {
7632
+ "type": "number"
7633
+ }
7634
+ },
7635
+ "required": [
7636
+ "$type",
7637
+ "from",
7638
+ "to"
7639
+ ]
7640
+ },
7641
+ {
7642
+ "type": "object",
7643
+ "properties": {
7644
+ "$type": {
7645
+ "const": "XRange"
7646
+ },
7647
+ "from": {
7648
+ "$ref": "#/$defs/ChartAnnotationX"
7649
+ },
7650
+ "to": {
7651
+ "$ref": "#/$defs/ChartAnnotationX"
7652
+ }
7653
+ },
7654
+ "required": [
7655
+ "$type",
7656
+ "from",
7657
+ "to"
7658
+ ]
7659
+ }
7660
+ ]
7661
+ },
7662
+ "ChartAnnotationX": {
7663
+ "oneOf": [
7664
+ {
7665
+ "type": "object",
7666
+ "properties": {
7667
+ "$type": {
7668
+ "const": "Category"
7669
+ },
7670
+ "key": {
7671
+ "type": "string"
7672
+ }
7673
+ },
7674
+ "required": [
7675
+ "$type",
7676
+ "key"
7677
+ ]
7678
+ },
7679
+ {
7680
+ "type": "object",
7681
+ "properties": {
7682
+ "$type": {
7683
+ "const": "Date"
7684
+ },
7685
+ "iso": {
7686
+ "type": "string"
7687
+ }
7688
+ },
7689
+ "required": [
7690
+ "$type",
7691
+ "iso"
7692
+ ]
7693
+ }
7694
+ ]
7695
+ },
6773
7696
  "MapMarker": {
6774
7697
  "type": "object",
6775
7698
  "properties": {
@@ -7917,18 +8840,46 @@
7917
8840
  "cases": {
7918
8841
  "type": "array",
7919
8842
  "items": {
7920
- "type": "object",
7921
- "properties": {
7922
- "child": {
7923
- "$ref": "#/$defs/Node"
8843
+ "allOf": [
8844
+ {
8845
+ "type": "object",
8846
+ "properties": {
8847
+ "child": {
8848
+ "$ref": "#/$defs/Node"
8849
+ },
8850
+ "match": {
8851
+ "type": "string"
8852
+ },
8853
+ "when": {
8854
+ "$ref": "#/$defs/Binding_bool"
8855
+ }
8856
+ },
8857
+ "required": [
8858
+ "child"
8859
+ ]
8860
+ },
8861
+ {
8862
+ "anyOf": [
8863
+ {
8864
+ "required": [
8865
+ "match"
8866
+ ]
8867
+ },
8868
+ {
8869
+ "required": [
8870
+ "when"
8871
+ ]
8872
+ }
8873
+ ]
7924
8874
  },
7925
- "match": {
7926
- "type": "string"
8875
+ {
8876
+ "not": {
8877
+ "required": [
8878
+ "match",
8879
+ "when"
8880
+ ]
8881
+ }
7927
8882
  }
7928
- },
7929
- "required": [
7930
- "child",
7931
- "match"
7932
8883
  ]
7933
8884
  }
7934
8885
  },
@@ -8250,6 +9201,9 @@
8250
9201
  },
8251
9202
  "tooltip": {
8252
9203
  "$ref": "#/$defs/TextSource"
9204
+ },
9205
+ "visible": {
9206
+ "$ref": "#/$defs/Binding_bool"
8253
9207
  }
8254
9208
  },
8255
9209
  "required": [