@jxsuite/starters 1.2.2 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +196 -0
- package/package.json +4 -2
- package/registry.json +16 -0
- package/sites/blog/document.schema.json +633 -115
- package/sites/blog/package.json +3 -3
- package/sites/blog/project.schema.json +523 -24
- package/sites/course/document.schema.json +633 -115
- package/sites/course/package.json +3 -3
- package/sites/course/project.schema.json +523 -24
- package/sites/event/document.schema.json +633 -115
- package/sites/event/package.json +3 -3
- package/sites/event/project.schema.json +523 -24
- package/sites/fitness-studio/document.schema.json +633 -115
- package/sites/fitness-studio/package.json +3 -3
- package/sites/fitness-studio/project.schema.json +523 -24
- package/sites/home-services/document.schema.json +633 -115
- package/sites/home-services/package.json +3 -3
- package/sites/home-services/project.schema.json +523 -24
- package/sites/museum/components/mu-band.json +92 -0
- package/sites/museum/components/mu-cta.json +101 -0
- package/sites/museum/components/mu-exhibition-card.json +191 -0
- package/sites/museum/components/mu-exhibition-row.json +237 -0
- package/sites/museum/components/mu-fact.json +64 -0
- package/sites/museum/components/mu-footer.json +256 -0
- package/sites/museum/components/mu-hero.json +236 -0
- package/sites/museum/components/mu-more.json +63 -0
- package/sites/museum/components/mu-oculus.json +44 -0
- package/sites/museum/components/mu-pagehead.json +105 -0
- package/sites/museum/components/mu-quote.json +49 -0
- package/sites/museum/content/exhibitions/ar/clay-salt-thread.md +18 -0
- package/sites/museum/content/exhibitions/ar/harbour-and-crane.md +18 -0
- package/sites/museum/content/exhibitions/ar/the-cartographers-room.md +18 -0
- package/sites/museum/content/exhibitions/en/clay-salt-thread.md +19 -0
- package/sites/museum/content/exhibitions/en/harbour-and-crane.md +19 -0
- package/sites/museum/content/exhibitions/en/the-cartographers-room.md +19 -0
- package/sites/museum/content/exhibitions/fr-CA/clay-salt-thread.md +18 -0
- package/sites/museum/content/exhibitions/fr-CA/harbour-and-crane.md +18 -0
- package/sites/museum/content/exhibitions/fr-CA/the-cartographers-room.md +18 -0
- package/sites/museum/document.schema.json +23513 -0
- package/sites/museum/layouts/ar.json +29 -0
- package/sites/museum/layouts/base.json +329 -0
- package/sites/museum/layouts/fr-ca.json +28 -0
- package/sites/museum/package.json +18 -0
- package/sites/museum/pages/about.json +378 -0
- package/sites/museum/pages/ar/about.json +314 -0
- package/sites/museum/pages/ar/exhibitions/[slug].json +211 -0
- package/sites/museum/pages/ar/exhibitions/index.json +103 -0
- package/sites/museum/pages/ar/index.json +246 -0
- package/sites/museum/pages/ar/visit.json +327 -0
- package/sites/museum/pages/exhibitions/[slug].json +200 -0
- package/sites/museum/pages/exhibitions/index.json +93 -0
- package/sites/museum/pages/fr-ca/a-propos.json +313 -0
- package/sites/museum/pages/fr-ca/expositions/[slug].json +215 -0
- package/sites/museum/pages/fr-ca/expositions/index.json +104 -0
- package/sites/museum/pages/fr-ca/index.json +246 -0
- package/sites/museum/pages/fr-ca/visite.json +328 -0
- package/sites/museum/pages/index.json +236 -0
- package/sites/museum/pages/visit.json +317 -0
- package/sites/museum/project.json +179 -0
- package/sites/museum/project.schema.json +996 -0
- package/sites/museum/public/favicon.svg +8 -0
- package/sites/nonprofit/document.schema.json +633 -115
- package/sites/nonprofit/package.json +3 -3
- package/sites/nonprofit/project.schema.json +523 -24
- package/sites/portfolio/document.schema.json +633 -115
- package/sites/portfolio/package.json +3 -3
- package/sites/portfolio/project.schema.json +523 -24
- package/sites/professional-firm/document.schema.json +633 -115
- package/sites/professional-firm/package.json +3 -3
- package/sites/professional-firm/project.schema.json +523 -24
- package/sites/real-estate/document.schema.json +633 -115
- package/sites/real-estate/package.json +3 -3
- package/sites/real-estate/project.schema.json +523 -24
- package/sites/restaurant/document.schema.json +633 -115
- package/sites/restaurant/package.json +3 -3
- package/sites/restaurant/project.schema.json +523 -24
- package/sites/saas/document.schema.json +633 -115
- package/sites/saas/package.json +3 -3
- package/sites/saas/project.schema.json +523 -24
- package/sites/shop/document.schema.json +633 -115
- package/sites/shop/package.json +3 -3
- package/sites/shop/project.schema.json +523 -24
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
"type": "array"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
"required": [
|
|
19
|
+
"required": [
|
|
20
|
+
"values"
|
|
21
|
+
],
|
|
20
22
|
"type": "object"
|
|
21
23
|
},
|
|
22
24
|
{
|
|
@@ -36,7 +38,9 @@
|
|
|
36
38
|
"type": "string"
|
|
37
39
|
}
|
|
38
40
|
},
|
|
39
|
-
"required": [
|
|
41
|
+
"required": [
|
|
42
|
+
"$ref"
|
|
43
|
+
],
|
|
40
44
|
"type": "object"
|
|
41
45
|
},
|
|
42
46
|
{
|
|
@@ -115,16 +119,24 @@
|
|
|
115
119
|
"not": {
|
|
116
120
|
"anyOf": [
|
|
117
121
|
{
|
|
118
|
-
"required": [
|
|
122
|
+
"required": [
|
|
123
|
+
"$prototype"
|
|
124
|
+
]
|
|
119
125
|
},
|
|
120
126
|
{
|
|
121
|
-
"required": [
|
|
127
|
+
"required": [
|
|
128
|
+
"default"
|
|
129
|
+
]
|
|
122
130
|
},
|
|
123
131
|
{
|
|
124
|
-
"required": [
|
|
132
|
+
"required": [
|
|
133
|
+
"type"
|
|
134
|
+
]
|
|
125
135
|
},
|
|
126
136
|
{
|
|
127
|
-
"required": [
|
|
137
|
+
"required": [
|
|
138
|
+
"$expression"
|
|
139
|
+
]
|
|
128
140
|
}
|
|
129
141
|
]
|
|
130
142
|
},
|
|
@@ -135,7 +147,9 @@
|
|
|
135
147
|
"TypedStateDef": {
|
|
136
148
|
"description": "A typed reactive state variable with explicit type and default value. The type property is a JSON Schema or $ref to a $defs type definition. The default property is the initial runtime value.",
|
|
137
149
|
"not": {
|
|
138
|
-
"required": [
|
|
150
|
+
"required": [
|
|
151
|
+
"$prototype"
|
|
152
|
+
]
|
|
139
153
|
},
|
|
140
154
|
"properties": {
|
|
141
155
|
"$ref": {
|
|
@@ -182,7 +196,9 @@
|
|
|
182
196
|
]
|
|
183
197
|
}
|
|
184
198
|
},
|
|
185
|
-
"required": [
|
|
199
|
+
"required": [
|
|
200
|
+
"default"
|
|
201
|
+
],
|
|
186
202
|
"type": "object"
|
|
187
203
|
},
|
|
188
204
|
"PureTypeDef": {
|
|
@@ -190,10 +206,14 @@
|
|
|
190
206
|
"not": {
|
|
191
207
|
"anyOf": [
|
|
192
208
|
{
|
|
193
|
-
"required": [
|
|
209
|
+
"required": [
|
|
210
|
+
"default"
|
|
211
|
+
]
|
|
194
212
|
},
|
|
195
213
|
{
|
|
196
|
-
"required": [
|
|
214
|
+
"required": [
|
|
215
|
+
"$prototype"
|
|
216
|
+
]
|
|
197
217
|
}
|
|
198
218
|
]
|
|
199
219
|
},
|
|
@@ -238,7 +258,9 @@
|
|
|
238
258
|
"$ref": "#/$defs/v1/$defs/JsonSchemaType"
|
|
239
259
|
}
|
|
240
260
|
},
|
|
241
|
-
"required": [
|
|
261
|
+
"required": [
|
|
262
|
+
"type"
|
|
263
|
+
],
|
|
242
264
|
"type": "object"
|
|
243
265
|
},
|
|
244
266
|
"FunctionDef": {
|
|
@@ -255,12 +277,20 @@
|
|
|
255
277
|
},
|
|
256
278
|
"$src": {
|
|
257
279
|
"description": "External module specifier. Mutually exclusive with body.",
|
|
258
|
-
"examples": [
|
|
280
|
+
"examples": [
|
|
281
|
+
"./counter.js",
|
|
282
|
+
"npm:@myorg/validators"
|
|
283
|
+
],
|
|
259
284
|
"type": "string"
|
|
260
285
|
},
|
|
261
286
|
"arguments": {
|
|
262
287
|
"description": "Legacy alias for parameters: bare string parameter names (state may be listed explicitly as the first name). Superseded by parameters.",
|
|
263
|
-
"examples": [
|
|
288
|
+
"examples": [
|
|
289
|
+
[
|
|
290
|
+
"state",
|
|
291
|
+
"event"
|
|
292
|
+
]
|
|
293
|
+
],
|
|
264
294
|
"items": {
|
|
265
295
|
"type": "string"
|
|
266
296
|
},
|
|
@@ -314,7 +344,9 @@
|
|
|
314
344
|
"parameters": {
|
|
315
345
|
"description": "Function parameters (after the implicit state parameter). Accepts CEM-compatible parameter objects or bare string names for backward compatibility.",
|
|
316
346
|
"examples": [
|
|
317
|
-
[
|
|
347
|
+
[
|
|
348
|
+
"event"
|
|
349
|
+
],
|
|
318
350
|
[
|
|
319
351
|
{
|
|
320
352
|
"name": "event",
|
|
@@ -349,7 +381,9 @@
|
|
|
349
381
|
"description": "Return type for tooling (JSON Schema or CEM { text } format)."
|
|
350
382
|
}
|
|
351
383
|
},
|
|
352
|
-
"required": [
|
|
384
|
+
"required": [
|
|
385
|
+
"$prototype"
|
|
386
|
+
],
|
|
353
387
|
"type": "object"
|
|
354
388
|
},
|
|
355
389
|
"ClassDef": {
|
|
@@ -428,7 +462,9 @@
|
|
|
428
462
|
"type": "string"
|
|
429
463
|
}
|
|
430
464
|
},
|
|
431
|
-
"required": [
|
|
465
|
+
"required": [
|
|
466
|
+
"$ref"
|
|
467
|
+
],
|
|
432
468
|
"type": "object"
|
|
433
469
|
}
|
|
434
470
|
]
|
|
@@ -447,7 +483,10 @@
|
|
|
447
483
|
"type": "string"
|
|
448
484
|
}
|
|
449
485
|
},
|
|
450
|
-
"required": [
|
|
486
|
+
"required": [
|
|
487
|
+
"$prototype",
|
|
488
|
+
"title"
|
|
489
|
+
],
|
|
451
490
|
"type": "object"
|
|
452
491
|
},
|
|
453
492
|
"ClassParameterDef": {
|
|
@@ -469,7 +508,9 @@
|
|
|
469
508
|
},
|
|
470
509
|
"type": {}
|
|
471
510
|
},
|
|
472
|
-
"required": [
|
|
511
|
+
"required": [
|
|
512
|
+
"identifier"
|
|
513
|
+
],
|
|
473
514
|
"type": "object"
|
|
474
515
|
},
|
|
475
516
|
"ClassFieldDef": {
|
|
@@ -480,7 +521,11 @@
|
|
|
480
521
|
"type": "string"
|
|
481
522
|
},
|
|
482
523
|
"access": {
|
|
483
|
-
"enum": [
|
|
524
|
+
"enum": [
|
|
525
|
+
"public",
|
|
526
|
+
"private",
|
|
527
|
+
"protected"
|
|
528
|
+
],
|
|
484
529
|
"type": "string"
|
|
485
530
|
},
|
|
486
531
|
"default": {},
|
|
@@ -499,7 +544,10 @@
|
|
|
499
544
|
"type": "string"
|
|
500
545
|
},
|
|
501
546
|
"scope": {
|
|
502
|
-
"enum": [
|
|
547
|
+
"enum": [
|
|
548
|
+
"instance",
|
|
549
|
+
"static"
|
|
550
|
+
],
|
|
503
551
|
"type": "string"
|
|
504
552
|
},
|
|
505
553
|
"type": {}
|
|
@@ -539,7 +587,9 @@
|
|
|
539
587
|
"type": "string"
|
|
540
588
|
}
|
|
541
589
|
},
|
|
542
|
-
"required": [
|
|
590
|
+
"required": [
|
|
591
|
+
"$ref"
|
|
592
|
+
],
|
|
543
593
|
"type": "object"
|
|
544
594
|
},
|
|
545
595
|
{
|
|
@@ -575,7 +625,11 @@
|
|
|
575
625
|
"type": "string"
|
|
576
626
|
},
|
|
577
627
|
"access": {
|
|
578
|
-
"enum": [
|
|
628
|
+
"enum": [
|
|
629
|
+
"public",
|
|
630
|
+
"private",
|
|
631
|
+
"protected"
|
|
632
|
+
],
|
|
579
633
|
"type": "string"
|
|
580
634
|
},
|
|
581
635
|
"body": {
|
|
@@ -615,7 +669,9 @@
|
|
|
615
669
|
"type": "string"
|
|
616
670
|
}
|
|
617
671
|
},
|
|
618
|
-
"required": [
|
|
672
|
+
"required": [
|
|
673
|
+
"$ref"
|
|
674
|
+
],
|
|
619
675
|
"type": "object"
|
|
620
676
|
},
|
|
621
677
|
{
|
|
@@ -638,6 +694,7 @@
|
|
|
638
694
|
"resolvePaths",
|
|
639
695
|
"lower",
|
|
640
696
|
"emit",
|
|
697
|
+
"head",
|
|
641
698
|
"assets",
|
|
642
699
|
"mount",
|
|
643
700
|
"dialect",
|
|
@@ -648,7 +705,10 @@
|
|
|
648
705
|
"type": "string"
|
|
649
706
|
},
|
|
650
707
|
"scope": {
|
|
651
|
-
"enum": [
|
|
708
|
+
"enum": [
|
|
709
|
+
"instance",
|
|
710
|
+
"static"
|
|
711
|
+
],
|
|
652
712
|
"type": "string"
|
|
653
713
|
},
|
|
654
714
|
"setter": {
|
|
@@ -665,7 +725,11 @@
|
|
|
665
725
|
"timing": {
|
|
666
726
|
"description": "Execution environments allowed to call this capability directly. Hosts outside the list round-trip through the dev server.",
|
|
667
727
|
"items": {
|
|
668
|
-
"enum": [
|
|
728
|
+
"enum": [
|
|
729
|
+
"compiler",
|
|
730
|
+
"server",
|
|
731
|
+
"client"
|
|
732
|
+
],
|
|
669
733
|
"type": "string"
|
|
670
734
|
},
|
|
671
735
|
"type": "array"
|
|
@@ -679,7 +743,11 @@
|
|
|
679
743
|
"documentKinds": {
|
|
680
744
|
"description": "\"page\"/\"component\" allow the extension in pages/components discovery; \"content\" allows it as a content-type source.",
|
|
681
745
|
"items": {
|
|
682
|
-
"enum": [
|
|
746
|
+
"enum": [
|
|
747
|
+
"page",
|
|
748
|
+
"component",
|
|
749
|
+
"content"
|
|
750
|
+
],
|
|
683
751
|
"type": "string"
|
|
684
752
|
},
|
|
685
753
|
"type": "array"
|
|
@@ -706,7 +774,9 @@
|
|
|
706
774
|
"type": "boolean"
|
|
707
775
|
}
|
|
708
776
|
},
|
|
709
|
-
"required": [
|
|
777
|
+
"required": [
|
|
778
|
+
"extensions"
|
|
779
|
+
],
|
|
710
780
|
"type": "object"
|
|
711
781
|
},
|
|
712
782
|
"ProjectBlockDef": {
|
|
@@ -728,7 +798,9 @@
|
|
|
728
798
|
"type": "string"
|
|
729
799
|
}
|
|
730
800
|
},
|
|
731
|
-
"required": [
|
|
801
|
+
"required": [
|
|
802
|
+
"key"
|
|
803
|
+
],
|
|
732
804
|
"type": "object"
|
|
733
805
|
},
|
|
734
806
|
"ServerBlockDef": {
|
|
@@ -737,7 +809,10 @@
|
|
|
737
809
|
"properties": {
|
|
738
810
|
"basePath": {
|
|
739
811
|
"description": "Route subtree this class mounts — must be under /_jx/ (exclusive per project).",
|
|
740
|
-
"examples": [
|
|
812
|
+
"examples": [
|
|
813
|
+
"/_jx/data",
|
|
814
|
+
"/_jx/auth"
|
|
815
|
+
],
|
|
741
816
|
"type": "string"
|
|
742
817
|
},
|
|
743
818
|
"module": {
|
|
@@ -749,7 +824,9 @@
|
|
|
749
824
|
"type": "number"
|
|
750
825
|
}
|
|
751
826
|
},
|
|
752
|
-
"required": [
|
|
827
|
+
"required": [
|
|
828
|
+
"basePath"
|
|
829
|
+
],
|
|
753
830
|
"type": "object"
|
|
754
831
|
},
|
|
755
832
|
"ConnectorBlockDef": {
|
|
@@ -757,7 +834,10 @@
|
|
|
757
834
|
"properties": {
|
|
758
835
|
"kind": {
|
|
759
836
|
"description": "SQL dialect family the provider speaks.",
|
|
760
|
-
"enum": [
|
|
837
|
+
"enum": [
|
|
838
|
+
"sqlite",
|
|
839
|
+
"postgres"
|
|
840
|
+
],
|
|
761
841
|
"type": "string"
|
|
762
842
|
},
|
|
763
843
|
"local": {
|
|
@@ -777,7 +857,10 @@
|
|
|
777
857
|
"type": "string"
|
|
778
858
|
}
|
|
779
859
|
},
|
|
780
|
-
"required": [
|
|
860
|
+
"required": [
|
|
861
|
+
"provider",
|
|
862
|
+
"kind"
|
|
863
|
+
],
|
|
781
864
|
"type": "object"
|
|
782
865
|
},
|
|
783
866
|
"StudioHints": {
|
|
@@ -798,7 +881,10 @@
|
|
|
798
881
|
"type": "object"
|
|
799
882
|
},
|
|
800
883
|
"default": {
|
|
801
|
-
"enum": [
|
|
884
|
+
"enum": [
|
|
885
|
+
"content",
|
|
886
|
+
"component"
|
|
887
|
+
],
|
|
802
888
|
"type": "string"
|
|
803
889
|
}
|
|
804
890
|
},
|
|
@@ -907,7 +993,11 @@
|
|
|
907
993
|
},
|
|
908
994
|
"$src": {
|
|
909
995
|
"description": "External module specifier. Required when $prototype is not a built-in.",
|
|
910
|
-
"examples": [
|
|
996
|
+
"examples": [
|
|
997
|
+
"@jxsuite/md",
|
|
998
|
+
"./lib/my-parser.js",
|
|
999
|
+
"npm:@myorg/data"
|
|
1000
|
+
],
|
|
911
1001
|
"type": "string"
|
|
912
1002
|
},
|
|
913
1003
|
"autoIncrement": {
|
|
@@ -928,11 +1018,24 @@
|
|
|
928
1018
|
"domain": {
|
|
929
1019
|
"type": "string"
|
|
930
1020
|
},
|
|
931
|
-
"expires": {
|
|
932
|
-
"type": "string"
|
|
933
|
-
},
|
|
934
1021
|
"filter": {
|
|
935
|
-
"
|
|
1022
|
+
"anyOf": [
|
|
1023
|
+
{
|
|
1024
|
+
"$ref": "#/$defs/v1/$defs/RefObject"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"description": "A single filter object, e.g. an equality shorthand.",
|
|
1028
|
+
"type": "object"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"description": "Ordered filter rules, e.g. [{ field: \"Slug\", op: \"not empty\" }].",
|
|
1032
|
+
"items": {
|
|
1033
|
+
"type": "object"
|
|
1034
|
+
},
|
|
1035
|
+
"type": "array"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"description": "Filter configuration: a reactive $ref binding, a single filter object, or an ordered array of rules."
|
|
936
1039
|
},
|
|
937
1040
|
"headers": {
|
|
938
1041
|
"additionalProperties": {
|
|
@@ -963,7 +1066,10 @@
|
|
|
963
1066
|
"type": "boolean"
|
|
964
1067
|
}
|
|
965
1068
|
},
|
|
966
|
-
"required": [
|
|
1069
|
+
"required": [
|
|
1070
|
+
"name",
|
|
1071
|
+
"keyPath"
|
|
1072
|
+
],
|
|
967
1073
|
"type": "object"
|
|
968
1074
|
},
|
|
969
1075
|
"type": "array"
|
|
@@ -985,7 +1091,15 @@
|
|
|
985
1091
|
"type": "integer"
|
|
986
1092
|
},
|
|
987
1093
|
"method": {
|
|
988
|
-
"enum": [
|
|
1094
|
+
"enum": [
|
|
1095
|
+
"GET",
|
|
1096
|
+
"POST",
|
|
1097
|
+
"PUT",
|
|
1098
|
+
"PATCH",
|
|
1099
|
+
"DELETE",
|
|
1100
|
+
"HEAD",
|
|
1101
|
+
"OPTIONS"
|
|
1102
|
+
],
|
|
989
1103
|
"type": "string"
|
|
990
1104
|
},
|
|
991
1105
|
"name": {
|
|
@@ -995,11 +1109,22 @@
|
|
|
995
1109
|
"type": "string"
|
|
996
1110
|
},
|
|
997
1111
|
"responseType": {
|
|
998
|
-
"enum": [
|
|
1112
|
+
"enum": [
|
|
1113
|
+
"json",
|
|
1114
|
+
"text",
|
|
1115
|
+
"blob",
|
|
1116
|
+
"arraybuffer",
|
|
1117
|
+
"document",
|
|
1118
|
+
""
|
|
1119
|
+
],
|
|
999
1120
|
"type": "string"
|
|
1000
1121
|
},
|
|
1001
1122
|
"sameSite": {
|
|
1002
|
-
"enum": [
|
|
1123
|
+
"enum": [
|
|
1124
|
+
"strict",
|
|
1125
|
+
"lax",
|
|
1126
|
+
"none"
|
|
1127
|
+
],
|
|
1003
1128
|
"type": "string"
|
|
1004
1129
|
},
|
|
1005
1130
|
"secure": {
|
|
@@ -1032,7 +1157,11 @@
|
|
|
1032
1157
|
"type": "string"
|
|
1033
1158
|
},
|
|
1034
1159
|
"timing": {
|
|
1035
|
-
"enum": [
|
|
1160
|
+
"enum": [
|
|
1161
|
+
"compiler",
|
|
1162
|
+
"server",
|
|
1163
|
+
"client"
|
|
1164
|
+
],
|
|
1036
1165
|
"type": "string"
|
|
1037
1166
|
},
|
|
1038
1167
|
"url": {
|
|
@@ -1043,7 +1172,9 @@
|
|
|
1043
1172
|
"type": "integer"
|
|
1044
1173
|
}
|
|
1045
1174
|
},
|
|
1046
|
-
"required": [
|
|
1175
|
+
"required": [
|
|
1176
|
+
"$prototype"
|
|
1177
|
+
],
|
|
1047
1178
|
"type": "object"
|
|
1048
1179
|
},
|
|
1049
1180
|
"ExpressionPointer": {
|
|
@@ -1055,7 +1186,9 @@
|
|
|
1055
1186
|
"type": "string"
|
|
1056
1187
|
}
|
|
1057
1188
|
},
|
|
1058
|
-
"required": [
|
|
1189
|
+
"required": [
|
|
1190
|
+
"$ref"
|
|
1191
|
+
],
|
|
1059
1192
|
"type": "object"
|
|
1060
1193
|
},
|
|
1061
1194
|
"ExpressionLiteral": {
|
|
@@ -1086,10 +1219,14 @@
|
|
|
1086
1219
|
"not": {
|
|
1087
1220
|
"anyOf": [
|
|
1088
1221
|
{
|
|
1089
|
-
"required": [
|
|
1222
|
+
"required": [
|
|
1223
|
+
"$ref"
|
|
1224
|
+
]
|
|
1090
1225
|
},
|
|
1091
1226
|
{
|
|
1092
|
-
"required": [
|
|
1227
|
+
"required": [
|
|
1228
|
+
"operator"
|
|
1229
|
+
]
|
|
1093
1230
|
}
|
|
1094
1231
|
]
|
|
1095
1232
|
},
|
|
@@ -1113,10 +1250,28 @@
|
|
|
1113
1250
|
"description": "Anything that may appear in target or value: a pointer, a literal, or a nested expression node."
|
|
1114
1251
|
},
|
|
1115
1252
|
"UnaryOperator": {
|
|
1116
|
-
"enum": [
|
|
1253
|
+
"enum": [
|
|
1254
|
+
"!",
|
|
1255
|
+
"-"
|
|
1256
|
+
]
|
|
1117
1257
|
},
|
|
1118
1258
|
"BinaryOperator": {
|
|
1119
|
-
"enum": [
|
|
1259
|
+
"enum": [
|
|
1260
|
+
"+",
|
|
1261
|
+
"-",
|
|
1262
|
+
"*",
|
|
1263
|
+
"/",
|
|
1264
|
+
"%",
|
|
1265
|
+
"===",
|
|
1266
|
+
"!==",
|
|
1267
|
+
"<",
|
|
1268
|
+
"<=",
|
|
1269
|
+
">",
|
|
1270
|
+
">=",
|
|
1271
|
+
"&&",
|
|
1272
|
+
"||",
|
|
1273
|
+
"??"
|
|
1274
|
+
]
|
|
1120
1275
|
},
|
|
1121
1276
|
"ConditionalOperator": {
|
|
1122
1277
|
"const": "?:"
|
|
@@ -1164,13 +1319,25 @@
|
|
|
1164
1319
|
]
|
|
1165
1320
|
},
|
|
1166
1321
|
"AssignmentOperator": {
|
|
1167
|
-
"enum": [
|
|
1322
|
+
"enum": [
|
|
1323
|
+
"=",
|
|
1324
|
+
"+=",
|
|
1325
|
+
"-=",
|
|
1326
|
+
"*=",
|
|
1327
|
+
"/="
|
|
1328
|
+
]
|
|
1168
1329
|
},
|
|
1169
1330
|
"NoArgMethod": {
|
|
1170
|
-
"enum": [
|
|
1331
|
+
"enum": [
|
|
1332
|
+
"pop",
|
|
1333
|
+
"shift"
|
|
1334
|
+
]
|
|
1171
1335
|
},
|
|
1172
1336
|
"OneArgMethod": {
|
|
1173
|
-
"enum": [
|
|
1337
|
+
"enum": [
|
|
1338
|
+
"push",
|
|
1339
|
+
"unshift"
|
|
1340
|
+
]
|
|
1174
1341
|
},
|
|
1175
1342
|
"SpliceMethod": {
|
|
1176
1343
|
"const": "splice"
|
|
@@ -1179,7 +1346,10 @@
|
|
|
1179
1346
|
"const": "reduce"
|
|
1180
1347
|
},
|
|
1181
1348
|
"MapFilterMethod": {
|
|
1182
|
-
"enum": [
|
|
1349
|
+
"enum": [
|
|
1350
|
+
"map",
|
|
1351
|
+
"filter"
|
|
1352
|
+
]
|
|
1183
1353
|
},
|
|
1184
1354
|
"ExpressionNode": {
|
|
1185
1355
|
"additionalProperties": false,
|
|
@@ -1189,10 +1359,14 @@
|
|
|
1189
1359
|
"not": {
|
|
1190
1360
|
"anyOf": [
|
|
1191
1361
|
{
|
|
1192
|
-
"required": [
|
|
1362
|
+
"required": [
|
|
1363
|
+
"value"
|
|
1364
|
+
]
|
|
1193
1365
|
},
|
|
1194
1366
|
{
|
|
1195
|
-
"required": [
|
|
1367
|
+
"required": [
|
|
1368
|
+
"initial"
|
|
1369
|
+
]
|
|
1196
1370
|
}
|
|
1197
1371
|
]
|
|
1198
1372
|
},
|
|
@@ -1201,24 +1375,33 @@
|
|
|
1201
1375
|
"$ref": "#/$defs/v1/$defs/UnaryOperator"
|
|
1202
1376
|
}
|
|
1203
1377
|
},
|
|
1204
|
-
"required": [
|
|
1378
|
+
"required": [
|
|
1379
|
+
"operator"
|
|
1380
|
+
],
|
|
1205
1381
|
"title": "Unary — target only, no value"
|
|
1206
1382
|
},
|
|
1207
1383
|
{
|
|
1208
1384
|
"not": {
|
|
1209
|
-
"required": [
|
|
1385
|
+
"required": [
|
|
1386
|
+
"initial"
|
|
1387
|
+
]
|
|
1210
1388
|
},
|
|
1211
1389
|
"properties": {
|
|
1212
1390
|
"operator": {
|
|
1213
1391
|
"$ref": "#/$defs/v1/$defs/BinaryOperator"
|
|
1214
1392
|
}
|
|
1215
1393
|
},
|
|
1216
|
-
"required": [
|
|
1394
|
+
"required": [
|
|
1395
|
+
"operator",
|
|
1396
|
+
"value"
|
|
1397
|
+
],
|
|
1217
1398
|
"title": "Binary — left in target, right in value"
|
|
1218
1399
|
},
|
|
1219
1400
|
{
|
|
1220
1401
|
"not": {
|
|
1221
|
-
"required": [
|
|
1402
|
+
"required": [
|
|
1403
|
+
"initial"
|
|
1404
|
+
]
|
|
1222
1405
|
},
|
|
1223
1406
|
"properties": {
|
|
1224
1407
|
"operator": {
|
|
@@ -1228,17 +1411,24 @@
|
|
|
1228
1411
|
"$ref": "#/$defs/v1/$defs/ExpressionPointer"
|
|
1229
1412
|
}
|
|
1230
1413
|
},
|
|
1231
|
-
"required": [
|
|
1414
|
+
"required": [
|
|
1415
|
+
"operator",
|
|
1416
|
+
"value"
|
|
1417
|
+
],
|
|
1232
1418
|
"title": "Assignment — writable target, value required"
|
|
1233
1419
|
},
|
|
1234
1420
|
{
|
|
1235
1421
|
"not": {
|
|
1236
1422
|
"anyOf": [
|
|
1237
1423
|
{
|
|
1238
|
-
"required": [
|
|
1424
|
+
"required": [
|
|
1425
|
+
"value"
|
|
1426
|
+
]
|
|
1239
1427
|
},
|
|
1240
1428
|
{
|
|
1241
|
-
"required": [
|
|
1429
|
+
"required": [
|
|
1430
|
+
"initial"
|
|
1431
|
+
]
|
|
1242
1432
|
}
|
|
1243
1433
|
]
|
|
1244
1434
|
},
|
|
@@ -1250,12 +1440,16 @@
|
|
|
1250
1440
|
"$ref": "#/$defs/v1/$defs/ExpressionPointer"
|
|
1251
1441
|
}
|
|
1252
1442
|
},
|
|
1253
|
-
"required": [
|
|
1443
|
+
"required": [
|
|
1444
|
+
"operator"
|
|
1445
|
+
],
|
|
1254
1446
|
"title": "pop / shift — array receiver, no value"
|
|
1255
1447
|
},
|
|
1256
1448
|
{
|
|
1257
1449
|
"not": {
|
|
1258
|
-
"required": [
|
|
1450
|
+
"required": [
|
|
1451
|
+
"initial"
|
|
1452
|
+
]
|
|
1259
1453
|
},
|
|
1260
1454
|
"properties": {
|
|
1261
1455
|
"operator": {
|
|
@@ -1265,12 +1459,17 @@
|
|
|
1265
1459
|
"$ref": "#/$defs/v1/$defs/ExpressionPointer"
|
|
1266
1460
|
}
|
|
1267
1461
|
},
|
|
1268
|
-
"required": [
|
|
1462
|
+
"required": [
|
|
1463
|
+
"operator",
|
|
1464
|
+
"value"
|
|
1465
|
+
],
|
|
1269
1466
|
"title": "push / unshift — array receiver, single value argument"
|
|
1270
1467
|
},
|
|
1271
1468
|
{
|
|
1272
1469
|
"not": {
|
|
1273
|
-
"required": [
|
|
1470
|
+
"required": [
|
|
1471
|
+
"initial"
|
|
1472
|
+
]
|
|
1274
1473
|
},
|
|
1275
1474
|
"properties": {
|
|
1276
1475
|
"operator": {
|
|
@@ -1287,7 +1486,10 @@
|
|
|
1287
1486
|
"type": "array"
|
|
1288
1487
|
}
|
|
1289
1488
|
},
|
|
1290
|
-
"required": [
|
|
1489
|
+
"required": [
|
|
1490
|
+
"operator",
|
|
1491
|
+
"value"
|
|
1492
|
+
],
|
|
1291
1493
|
"title": "splice — array receiver, [start, deleteCount, ...items]"
|
|
1292
1494
|
},
|
|
1293
1495
|
{
|
|
@@ -1309,12 +1511,18 @@
|
|
|
1309
1511
|
"$ref": "#/$defs/v1/$defs/ExpressionNode"
|
|
1310
1512
|
}
|
|
1311
1513
|
},
|
|
1312
|
-
"required": [
|
|
1514
|
+
"required": [
|
|
1515
|
+
"operator",
|
|
1516
|
+
"value",
|
|
1517
|
+
"initial"
|
|
1518
|
+
],
|
|
1313
1519
|
"title": "reduce — pure fold over a pointer or derived array; seed in initial"
|
|
1314
1520
|
},
|
|
1315
1521
|
{
|
|
1316
1522
|
"not": {
|
|
1317
|
-
"required": [
|
|
1523
|
+
"required": [
|
|
1524
|
+
"initial"
|
|
1525
|
+
]
|
|
1318
1526
|
},
|
|
1319
1527
|
"properties": {
|
|
1320
1528
|
"operator": {
|
|
@@ -1334,7 +1542,10 @@
|
|
|
1334
1542
|
"$ref": "#/$defs/v1/$defs/ExpressionNode"
|
|
1335
1543
|
}
|
|
1336
1544
|
},
|
|
1337
|
-
"required": [
|
|
1545
|
+
"required": [
|
|
1546
|
+
"operator",
|
|
1547
|
+
"value"
|
|
1548
|
+
],
|
|
1338
1549
|
"title": "map / filter — pure over a pointer or derived array; per-item expression in value"
|
|
1339
1550
|
},
|
|
1340
1551
|
{
|
|
@@ -1344,7 +1555,11 @@
|
|
|
1344
1555
|
"$ref": "#/$defs/v1/$defs/ConditionalOperator"
|
|
1345
1556
|
}
|
|
1346
1557
|
},
|
|
1347
|
-
"required": [
|
|
1558
|
+
"required": [
|
|
1559
|
+
"operator",
|
|
1560
|
+
"value",
|
|
1561
|
+
"initial"
|
|
1562
|
+
],
|
|
1348
1563
|
"title": "?: — pure conditional; test in target, consequent in value, alternate in initial"
|
|
1349
1564
|
},
|
|
1350
1565
|
{
|
|
@@ -1352,10 +1567,14 @@
|
|
|
1352
1567
|
"not": {
|
|
1353
1568
|
"anyOf": [
|
|
1354
1569
|
{
|
|
1355
|
-
"required": [
|
|
1570
|
+
"required": [
|
|
1571
|
+
"value"
|
|
1572
|
+
]
|
|
1356
1573
|
},
|
|
1357
1574
|
{
|
|
1358
|
-
"required": [
|
|
1575
|
+
"required": [
|
|
1576
|
+
"initial"
|
|
1577
|
+
]
|
|
1359
1578
|
}
|
|
1360
1579
|
]
|
|
1361
1580
|
},
|
|
@@ -1373,26 +1592,35 @@
|
|
|
1373
1592
|
"$ref": "#/$defs/v1/$defs/SwitchOperator"
|
|
1374
1593
|
}
|
|
1375
1594
|
},
|
|
1376
|
-
"required": [
|
|
1595
|
+
"required": [
|
|
1596
|
+
"operator",
|
|
1597
|
+
"cases"
|
|
1598
|
+
],
|
|
1377
1599
|
"title": "switch — pure value-keyed selection; discriminant in target, results in cases/default"
|
|
1378
1600
|
},
|
|
1379
1601
|
{
|
|
1380
1602
|
"description": "A pure standard-library method call: target is the receiver (any operand — never mutated; change-by-copy names replace the mutating originals), value the optional argument (bare scalar) or argument list (array). A missing receiver or method yields undefined, matching null-safe path reads.",
|
|
1381
1603
|
"not": {
|
|
1382
|
-
"required": [
|
|
1604
|
+
"required": [
|
|
1605
|
+
"initial"
|
|
1606
|
+
]
|
|
1383
1607
|
},
|
|
1384
1608
|
"properties": {
|
|
1385
1609
|
"operator": {
|
|
1386
1610
|
"$ref": "#/$defs/v1/$defs/PureMethod"
|
|
1387
1611
|
}
|
|
1388
1612
|
},
|
|
1389
|
-
"required": [
|
|
1613
|
+
"required": [
|
|
1614
|
+
"operator"
|
|
1615
|
+
],
|
|
1390
1616
|
"title": "Pure method — genuine prototype methods; receiver in target, args in value"
|
|
1391
1617
|
},
|
|
1392
1618
|
{
|
|
1393
|
-
"description": "Invoke a callable, pure in formula position: target is the callee pointer — a named formula entry (#/state/…) or a blessed pure global via window#/ (Math.*, JSON.*, Object.keys/values/entries, and the Intl helpers Intl/formatNumber, Intl/formatDate, Intl/formatRelativeTime) — and value is the positional argument list (the splice args-in-value precedent). Argument order follows the callee's declared parameters.",
|
|
1619
|
+
"description": "Invoke a callable, pure in formula position: target is the callee pointer — a named formula entry (#/state/…) or a blessed pure global via window#/ (Math.*, JSON.*, Object.keys/values/entries, and the Intl helpers Intl/formatNumber, Intl/formatDate, Intl/formatRelativeTime, Intl/formatList, Intl/plural, Intl/compare, Intl/displayName, Intl/segment) — and value is the positional argument list (the splice args-in-value precedent). Argument order follows the callee's declared parameters.",
|
|
1394
1620
|
"not": {
|
|
1395
|
-
"required": [
|
|
1621
|
+
"required": [
|
|
1622
|
+
"initial"
|
|
1623
|
+
]
|
|
1396
1624
|
},
|
|
1397
1625
|
"properties": {
|
|
1398
1626
|
"operator": {
|
|
@@ -1408,7 +1636,9 @@
|
|
|
1408
1636
|
"type": "array"
|
|
1409
1637
|
}
|
|
1410
1638
|
},
|
|
1411
|
-
"required": [
|
|
1639
|
+
"required": [
|
|
1640
|
+
"operator"
|
|
1641
|
+
],
|
|
1412
1642
|
"title": "call — invoke a named formula or blessed global; callee in target, args in value"
|
|
1413
1643
|
}
|
|
1414
1644
|
],
|
|
@@ -1437,7 +1667,10 @@
|
|
|
1437
1667
|
"$ref": "#/$defs/v1/$defs/ExpressionOperand"
|
|
1438
1668
|
}
|
|
1439
1669
|
},
|
|
1440
|
-
"required": [
|
|
1670
|
+
"required": [
|
|
1671
|
+
"operator",
|
|
1672
|
+
"target"
|
|
1673
|
+
],
|
|
1441
1674
|
"type": "object"
|
|
1442
1675
|
},
|
|
1443
1676
|
"ExpressionEntry": {
|
|
@@ -1468,7 +1701,9 @@
|
|
|
1468
1701
|
"type": "array"
|
|
1469
1702
|
}
|
|
1470
1703
|
},
|
|
1471
|
-
"required": [
|
|
1704
|
+
"required": [
|
|
1705
|
+
"$expression"
|
|
1706
|
+
],
|
|
1472
1707
|
"type": "object"
|
|
1473
1708
|
},
|
|
1474
1709
|
"Statement": {
|
|
@@ -1496,7 +1731,10 @@
|
|
|
1496
1731
|
"type": "array"
|
|
1497
1732
|
}
|
|
1498
1733
|
},
|
|
1499
|
-
"required": [
|
|
1734
|
+
"required": [
|
|
1735
|
+
"if",
|
|
1736
|
+
"then"
|
|
1737
|
+
],
|
|
1500
1738
|
"title": "if / then / else — conditional branch (JSON Schema keyword triple)",
|
|
1501
1739
|
"type": "object"
|
|
1502
1740
|
},
|
|
@@ -1522,7 +1760,10 @@
|
|
|
1522
1760
|
"type": "array"
|
|
1523
1761
|
}
|
|
1524
1762
|
},
|
|
1525
|
-
"required": [
|
|
1763
|
+
"required": [
|
|
1764
|
+
"$switch",
|
|
1765
|
+
"cases"
|
|
1766
|
+
],
|
|
1526
1767
|
"title": "$switch / cases — multiway branch (element-level convention, ECMA switch semantics)",
|
|
1527
1768
|
"type": "object"
|
|
1528
1769
|
},
|
|
@@ -1543,7 +1784,9 @@
|
|
|
1543
1784
|
"type": "string"
|
|
1544
1785
|
}
|
|
1545
1786
|
},
|
|
1546
|
-
"required": [
|
|
1787
|
+
"required": [
|
|
1788
|
+
"dispatchEvent"
|
|
1789
|
+
],
|
|
1547
1790
|
"title": "dispatchEvent — emit a CustomEvent (WHATWG naming, CustomEventInit members)",
|
|
1548
1791
|
"type": "object"
|
|
1549
1792
|
}
|
|
@@ -1607,7 +1850,11 @@
|
|
|
1607
1850
|
"$ref": "#/$defs/v1/$defs/StringOrRef"
|
|
1608
1851
|
},
|
|
1609
1852
|
"dir": {
|
|
1610
|
-
"enum": [
|
|
1853
|
+
"enum": [
|
|
1854
|
+
"ltr",
|
|
1855
|
+
"rtl",
|
|
1856
|
+
"auto"
|
|
1857
|
+
],
|
|
1611
1858
|
"type": "string"
|
|
1612
1859
|
},
|
|
1613
1860
|
"disabled": {
|
|
@@ -1650,7 +1897,7 @@
|
|
|
1650
1897
|
"$ref": "#/$defs/v1/$defs/NumberOrRef"
|
|
1651
1898
|
},
|
|
1652
1899
|
"tagName": {
|
|
1653
|
-
"$ref": "#/$defs/v1/$defs/
|
|
1900
|
+
"$ref": "#/$defs/v1/$defs/ElementTagName"
|
|
1654
1901
|
},
|
|
1655
1902
|
"textContent": {
|
|
1656
1903
|
"$ref": "#/$defs/v1/$defs/StringOrRef"
|
|
@@ -5837,7 +6084,9 @@
|
|
|
5837
6084
|
]
|
|
5838
6085
|
}
|
|
5839
6086
|
},
|
|
5840
|
-
"required": [
|
|
6087
|
+
"required": [
|
|
6088
|
+
"tagName"
|
|
6089
|
+
],
|
|
5841
6090
|
"type": "object"
|
|
5842
6091
|
},
|
|
5843
6092
|
"ChildrenValue": {
|
|
@@ -5845,10 +6094,13 @@
|
|
|
5845
6094
|
"oneOf": [
|
|
5846
6095
|
{
|
|
5847
6096
|
"items": {
|
|
5848
|
-
"
|
|
6097
|
+
"anyOf": [
|
|
5849
6098
|
{
|
|
5850
6099
|
"$ref": "#/$defs/v1/$defs/ElementDef"
|
|
5851
6100
|
},
|
|
6101
|
+
{
|
|
6102
|
+
"$ref": "#/$defs/v1/$defs/SwitchNode"
|
|
6103
|
+
},
|
|
5852
6104
|
{
|
|
5853
6105
|
"$ref": "#/$defs/v1/$defs/ArrayNamespace"
|
|
5854
6106
|
},
|
|
@@ -5900,7 +6152,11 @@
|
|
|
5900
6152
|
"$ref": "#/$defs/v1/$defs/RefObject"
|
|
5901
6153
|
}
|
|
5902
6154
|
},
|
|
5903
|
-
"required": [
|
|
6155
|
+
"required": [
|
|
6156
|
+
"$prototype",
|
|
6157
|
+
"items",
|
|
6158
|
+
"map"
|
|
6159
|
+
],
|
|
5904
6160
|
"type": "object"
|
|
5905
6161
|
},
|
|
5906
6162
|
"SwitchDef": {
|
|
@@ -5911,7 +6167,9 @@
|
|
|
5911
6167
|
"$ref": "#/$defs/v1/$defs/StateRef"
|
|
5912
6168
|
}
|
|
5913
6169
|
},
|
|
5914
|
-
"required": [
|
|
6170
|
+
"required": [
|
|
6171
|
+
"$ref"
|
|
6172
|
+
],
|
|
5915
6173
|
"type": "object"
|
|
5916
6174
|
},
|
|
5917
6175
|
"SwitchNode": {
|
|
@@ -5936,7 +6194,10 @@
|
|
|
5936
6194
|
"$ref": "#/$defs/v1/$defs/TagName"
|
|
5937
6195
|
}
|
|
5938
6196
|
},
|
|
5939
|
-
"required": [
|
|
6197
|
+
"required": [
|
|
6198
|
+
"$switch",
|
|
6199
|
+
"cases"
|
|
6200
|
+
],
|
|
5940
6201
|
"type": "object"
|
|
5941
6202
|
},
|
|
5942
6203
|
"StyleObject": {
|
|
@@ -7535,6 +7796,26 @@
|
|
|
7535
7796
|
}
|
|
7536
7797
|
]
|
|
7537
7798
|
},
|
|
7799
|
+
"animation-delay-end": {
|
|
7800
|
+
"oneOf": [
|
|
7801
|
+
{
|
|
7802
|
+
"type": "string"
|
|
7803
|
+
},
|
|
7804
|
+
{
|
|
7805
|
+
"type": "number"
|
|
7806
|
+
}
|
|
7807
|
+
]
|
|
7808
|
+
},
|
|
7809
|
+
"animation-delay-start": {
|
|
7810
|
+
"oneOf": [
|
|
7811
|
+
{
|
|
7812
|
+
"type": "string"
|
|
7813
|
+
},
|
|
7814
|
+
{
|
|
7815
|
+
"type": "number"
|
|
7816
|
+
}
|
|
7817
|
+
]
|
|
7818
|
+
},
|
|
7538
7819
|
"animation-direction": {
|
|
7539
7820
|
"oneOf": [
|
|
7540
7821
|
{
|
|
@@ -7685,6 +7966,26 @@
|
|
|
7685
7966
|
}
|
|
7686
7967
|
]
|
|
7687
7968
|
},
|
|
7969
|
+
"animationDelayEnd": {
|
|
7970
|
+
"oneOf": [
|
|
7971
|
+
{
|
|
7972
|
+
"type": "string"
|
|
7973
|
+
},
|
|
7974
|
+
{
|
|
7975
|
+
"type": "number"
|
|
7976
|
+
}
|
|
7977
|
+
]
|
|
7978
|
+
},
|
|
7979
|
+
"animationDelayStart": {
|
|
7980
|
+
"oneOf": [
|
|
7981
|
+
{
|
|
7982
|
+
"type": "string"
|
|
7983
|
+
},
|
|
7984
|
+
{
|
|
7985
|
+
"type": "number"
|
|
7986
|
+
}
|
|
7987
|
+
]
|
|
7988
|
+
},
|
|
7688
7989
|
"animationDirection": {
|
|
7689
7990
|
"oneOf": [
|
|
7690
7991
|
{
|
|
@@ -18025,6 +18326,16 @@
|
|
|
18025
18326
|
}
|
|
18026
18327
|
]
|
|
18027
18328
|
},
|
|
18329
|
+
"scroll-axis-lock": {
|
|
18330
|
+
"oneOf": [
|
|
18331
|
+
{
|
|
18332
|
+
"type": "string"
|
|
18333
|
+
},
|
|
18334
|
+
{
|
|
18335
|
+
"type": "number"
|
|
18336
|
+
}
|
|
18337
|
+
]
|
|
18338
|
+
},
|
|
18028
18339
|
"scroll-behavior": {
|
|
18029
18340
|
"oneOf": [
|
|
18030
18341
|
{
|
|
@@ -18345,6 +18656,16 @@
|
|
|
18345
18656
|
}
|
|
18346
18657
|
]
|
|
18347
18658
|
},
|
|
18659
|
+
"scrollAxisLock": {
|
|
18660
|
+
"oneOf": [
|
|
18661
|
+
{
|
|
18662
|
+
"type": "string"
|
|
18663
|
+
},
|
|
18664
|
+
{
|
|
18665
|
+
"type": "number"
|
|
18666
|
+
}
|
|
18667
|
+
]
|
|
18668
|
+
},
|
|
18348
18669
|
"scrollBehavior": {
|
|
18349
18670
|
"oneOf": [
|
|
18350
18671
|
{
|
|
@@ -22282,7 +22603,9 @@
|
|
|
22282
22603
|
"$ref": "#/$defs/v1/$defs/AnyRef"
|
|
22283
22604
|
}
|
|
22284
22605
|
},
|
|
22285
|
-
"required": [
|
|
22606
|
+
"required": [
|
|
22607
|
+
"$ref"
|
|
22608
|
+
],
|
|
22286
22609
|
"type": "object"
|
|
22287
22610
|
},
|
|
22288
22611
|
"AnyRef": {
|
|
@@ -22310,19 +22633,30 @@
|
|
|
22310
22633
|
},
|
|
22311
22634
|
"InternalRef": {
|
|
22312
22635
|
"description": "Reference to a $defs type definition in the current component.",
|
|
22313
|
-
"examples": [
|
|
22636
|
+
"examples": [
|
|
22637
|
+
"#/$defs/Count",
|
|
22638
|
+
"#/$defs/TodoItem",
|
|
22639
|
+
"#/$defs/Status"
|
|
22640
|
+
],
|
|
22314
22641
|
"pattern": "^#/\\$defs/",
|
|
22315
22642
|
"type": "string"
|
|
22316
22643
|
},
|
|
22317
22644
|
"StateRef": {
|
|
22318
22645
|
"description": "Reference to a state entry (runtime variable) in the current component.",
|
|
22319
|
-
"examples": [
|
|
22646
|
+
"examples": [
|
|
22647
|
+
"#/state/count",
|
|
22648
|
+
"#/state/addTask",
|
|
22649
|
+
"#/state/items"
|
|
22650
|
+
],
|
|
22320
22651
|
"pattern": "^#/state/",
|
|
22321
22652
|
"type": "string"
|
|
22322
22653
|
},
|
|
22323
22654
|
"ExternalRef": {
|
|
22324
22655
|
"description": "Reference to an external Jx component file.",
|
|
22325
|
-
"examples": [
|
|
22656
|
+
"examples": [
|
|
22657
|
+
"./card.json",
|
|
22658
|
+
"https://cdn.example.com/button.json"
|
|
22659
|
+
],
|
|
22326
22660
|
"pattern": "^(\\./|\\.\\./).*\\.json$|^https?://",
|
|
22327
22661
|
"type": "string"
|
|
22328
22662
|
},
|
|
@@ -22335,24 +22669,37 @@
|
|
|
22335
22669
|
"$ref": "#/$defs/v1/$defs/ExternalRef"
|
|
22336
22670
|
}
|
|
22337
22671
|
},
|
|
22338
|
-
"required": [
|
|
22672
|
+
"required": [
|
|
22673
|
+
"$ref"
|
|
22674
|
+
],
|
|
22339
22675
|
"type": "object"
|
|
22340
22676
|
},
|
|
22341
22677
|
"GlobalRef": {
|
|
22342
22678
|
"description": "Reference to a window or document global.",
|
|
22343
|
-
"examples": [
|
|
22679
|
+
"examples": [
|
|
22680
|
+
"window#/currentUser",
|
|
22681
|
+
"document#/appConfig"
|
|
22682
|
+
],
|
|
22344
22683
|
"pattern": "^(window|document)#/",
|
|
22345
22684
|
"type": "string"
|
|
22346
22685
|
},
|
|
22347
22686
|
"ParentRef": {
|
|
22348
22687
|
"description": "Reference to a named state entry passed via $props from a parent component.",
|
|
22349
|
-
"examples": [
|
|
22688
|
+
"examples": [
|
|
22689
|
+
"parent#/sharedState",
|
|
22690
|
+
"parent#/theme"
|
|
22691
|
+
],
|
|
22350
22692
|
"pattern": "^parent#/",
|
|
22351
22693
|
"type": "string"
|
|
22352
22694
|
},
|
|
22353
22695
|
"MapRef": {
|
|
22354
22696
|
"description": "Reference to the current Array map iteration context.",
|
|
22355
|
-
"examples": [
|
|
22697
|
+
"examples": [
|
|
22698
|
+
"$map/item",
|
|
22699
|
+
"$map/index",
|
|
22700
|
+
"$map/item/text",
|
|
22701
|
+
"$map/item/done"
|
|
22702
|
+
],
|
|
22356
22703
|
"pattern": "^\\$map/(item|index)(/.*)?$",
|
|
22357
22704
|
"type": "string"
|
|
22358
22705
|
},
|
|
@@ -22427,7 +22774,9 @@
|
|
|
22427
22774
|
"description": "Parameter type (JSON Schema or CEM { text } format)."
|
|
22428
22775
|
}
|
|
22429
22776
|
},
|
|
22430
|
-
"required": [
|
|
22777
|
+
"required": [
|
|
22778
|
+
"name"
|
|
22779
|
+
],
|
|
22431
22780
|
"type": "object"
|
|
22432
22781
|
},
|
|
22433
22782
|
"CemEvent": {
|
|
@@ -22456,12 +22805,15 @@
|
|
|
22456
22805
|
"description": "Event type (e.g. { text: 'CustomEvent' })."
|
|
22457
22806
|
}
|
|
22458
22807
|
},
|
|
22459
|
-
"required": [
|
|
22808
|
+
"required": [
|
|
22809
|
+
"name"
|
|
22810
|
+
],
|
|
22460
22811
|
"type": "object"
|
|
22461
22812
|
},
|
|
22462
22813
|
"TagName": {
|
|
22463
|
-
"description": "HTML element tag name or custom element name (must contain a hyphen per Web Components spec).",
|
|
22814
|
+
"description": "HTML element tag name or custom element name (must contain a hyphen per Web Components spec). A NAME, never an expression: no `${…}` position in the pipeline evaluates a tagName. Use `$switch`/`cases` to vary the element.",
|
|
22464
22815
|
"minLength": 1,
|
|
22816
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9._-]*$",
|
|
22465
22817
|
"type": "string",
|
|
22466
22818
|
"examples": [
|
|
22467
22819
|
"a",
|
|
@@ -22677,8 +23029,95 @@
|
|
|
22677
23029
|
"user-card"
|
|
22678
23030
|
]
|
|
22679
23031
|
},
|
|
23032
|
+
"TagExpression": {
|
|
23033
|
+
"anyOf": [
|
|
23034
|
+
{
|
|
23035
|
+
"additionalProperties": false,
|
|
23036
|
+
"description": "Two-way: `target` is the test, `value` the tag when it is truthy, `initial` the tag when it is not.",
|
|
23037
|
+
"properties": {
|
|
23038
|
+
"initial": {
|
|
23039
|
+
"$ref": "#/$defs/v1/$defs/TagName"
|
|
23040
|
+
},
|
|
23041
|
+
"operator": {
|
|
23042
|
+
"const": "?:",
|
|
23043
|
+
"type": "string"
|
|
23044
|
+
},
|
|
23045
|
+
"target": {
|
|
23046
|
+
"$ref": "#/$defs/v1/$defs/ExpressionOperand"
|
|
23047
|
+
},
|
|
23048
|
+
"value": {
|
|
23049
|
+
"$ref": "#/$defs/v1/$defs/TagName"
|
|
23050
|
+
}
|
|
23051
|
+
},
|
|
23052
|
+
"required": [
|
|
23053
|
+
"operator",
|
|
23054
|
+
"target",
|
|
23055
|
+
"value",
|
|
23056
|
+
"initial"
|
|
23057
|
+
],
|
|
23058
|
+
"title": "?: — the tag when the test holds, and the tag when it does not"
|
|
23059
|
+
},
|
|
23060
|
+
{
|
|
23061
|
+
"additionalProperties": false,
|
|
23062
|
+
"description": "Multiway: `target` is the discriminant, matched against case keys by its string form. `default` is required — an element with no tag cannot exist.",
|
|
23063
|
+
"properties": {
|
|
23064
|
+
"cases": {
|
|
23065
|
+
"additionalProperties": {
|
|
23066
|
+
"$ref": "#/$defs/v1/$defs/TagName"
|
|
23067
|
+
},
|
|
23068
|
+
"type": "object"
|
|
23069
|
+
},
|
|
23070
|
+
"default": {
|
|
23071
|
+
"$ref": "#/$defs/v1/$defs/TagName"
|
|
23072
|
+
},
|
|
23073
|
+
"operator": {
|
|
23074
|
+
"const": "switch",
|
|
23075
|
+
"type": "string"
|
|
23076
|
+
},
|
|
23077
|
+
"target": {
|
|
23078
|
+
"$ref": "#/$defs/v1/$defs/ExpressionOperand"
|
|
23079
|
+
}
|
|
23080
|
+
},
|
|
23081
|
+
"required": [
|
|
23082
|
+
"operator",
|
|
23083
|
+
"target",
|
|
23084
|
+
"cases",
|
|
23085
|
+
"default"
|
|
23086
|
+
],
|
|
23087
|
+
"title": "switch — one tag per discriminant value, with a required fallback"
|
|
23088
|
+
}
|
|
23089
|
+
],
|
|
23090
|
+
"description": "A tag name chosen at element creation. Every branch resolves to a `TagName`, so the candidate set is enumerable without evaluating anything."
|
|
23091
|
+
},
|
|
23092
|
+
"ElementTagName": {
|
|
23093
|
+
"anyOf": [
|
|
23094
|
+
{
|
|
23095
|
+
"$ref": "#/$defs/v1/$defs/TagName"
|
|
23096
|
+
},
|
|
23097
|
+
{
|
|
23098
|
+
"additionalProperties": false,
|
|
23099
|
+
"properties": {
|
|
23100
|
+
"$expression": {
|
|
23101
|
+
"$ref": "#/$defs/v1/$defs/TagExpression"
|
|
23102
|
+
}
|
|
23103
|
+
},
|
|
23104
|
+
"required": [
|
|
23105
|
+
"$expression"
|
|
23106
|
+
],
|
|
23107
|
+
"type": "object"
|
|
23108
|
+
}
|
|
23109
|
+
]
|
|
23110
|
+
},
|
|
22680
23111
|
"JsonSchemaType": {
|
|
22681
|
-
"enum": [
|
|
23112
|
+
"enum": [
|
|
23113
|
+
"string",
|
|
23114
|
+
"number",
|
|
23115
|
+
"integer",
|
|
23116
|
+
"boolean",
|
|
23117
|
+
"array",
|
|
23118
|
+
"object",
|
|
23119
|
+
"null"
|
|
23120
|
+
],
|
|
22682
23121
|
"type": "string"
|
|
22683
23122
|
},
|
|
22684
23123
|
"HeadEntry": {
|
|
@@ -22708,10 +23147,20 @@
|
|
|
22708
23147
|
"type": "string"
|
|
22709
23148
|
},
|
|
22710
23149
|
"textContent": {
|
|
22711
|
-
"
|
|
23150
|
+
"description": "Element content. An object is serialized to JSON inside the tag — that is how a JSON-LD block (`<script type=\"application/ld+json\">`) is authored.",
|
|
23151
|
+
"oneOf": [
|
|
23152
|
+
{
|
|
23153
|
+
"type": "string"
|
|
23154
|
+
},
|
|
23155
|
+
{
|
|
23156
|
+
"type": "object"
|
|
23157
|
+
}
|
|
23158
|
+
]
|
|
22712
23159
|
}
|
|
22713
23160
|
},
|
|
22714
|
-
"required": [
|
|
23161
|
+
"required": [
|
|
23162
|
+
"tagName"
|
|
23163
|
+
],
|
|
22715
23164
|
"type": "object"
|
|
22716
23165
|
},
|
|
22717
23166
|
"ImageConfig": {
|
|
@@ -22729,6 +23178,10 @@
|
|
|
22729
23178
|
"optimize": {
|
|
22730
23179
|
"type": "boolean"
|
|
22731
23180
|
},
|
|
23181
|
+
"picture": {
|
|
23182
|
+
"description": "Wrap a multi-format image in a <picture> with one <source> per format (default true). With it off the <img> carries a srcset in the preferred format alone, which browsers that cannot decode that format will still select from.",
|
|
23183
|
+
"type": "boolean"
|
|
23184
|
+
},
|
|
22732
23185
|
"quality": {
|
|
22733
23186
|
"properties": {
|
|
22734
23187
|
"avif": {
|
|
@@ -22755,7 +23208,10 @@
|
|
|
22755
23208
|
},
|
|
22756
23209
|
"service": {
|
|
22757
23210
|
"description": "How images are optimized: \"build\" runs Sharp at build time; \"cloudflare\" emits /cdn-cgi/image transform URLs served by Cloudflare Image Transformations (requires the feature to be enabled on the serving zone).",
|
|
22758
|
-
"enum": [
|
|
23211
|
+
"enum": [
|
|
23212
|
+
"build",
|
|
23213
|
+
"cloudflare"
|
|
23214
|
+
],
|
|
22759
23215
|
"type": "string"
|
|
22760
23216
|
},
|
|
22761
23217
|
"sizes": {
|
|
@@ -22785,7 +23241,9 @@
|
|
|
22785
23241
|
"type": "array"
|
|
22786
23242
|
}
|
|
22787
23243
|
},
|
|
22788
|
-
"required": [
|
|
23244
|
+
"required": [
|
|
23245
|
+
"values"
|
|
23246
|
+
],
|
|
22789
23247
|
"type": "object"
|
|
22790
23248
|
},
|
|
22791
23249
|
{
|
|
@@ -22805,7 +23263,9 @@
|
|
|
22805
23263
|
"type": "string"
|
|
22806
23264
|
}
|
|
22807
23265
|
},
|
|
22808
|
-
"required": [
|
|
23266
|
+
"required": [
|
|
23267
|
+
"$ref"
|
|
23268
|
+
],
|
|
22809
23269
|
"type": "object"
|
|
22810
23270
|
},
|
|
22811
23271
|
{
|
|
@@ -22848,7 +23308,9 @@
|
|
|
22848
23308
|
"type": "string"
|
|
22849
23309
|
}
|
|
22850
23310
|
},
|
|
22851
|
-
"required": [
|
|
23311
|
+
"required": [
|
|
23312
|
+
"$ref"
|
|
23313
|
+
],
|
|
22852
23314
|
"type": "object"
|
|
22853
23315
|
},
|
|
22854
23316
|
{
|
|
@@ -22860,22 +23322,70 @@
|
|
|
22860
23322
|
"type": "array"
|
|
22861
23323
|
},
|
|
22862
23324
|
"$head": {
|
|
22863
|
-
"description": "Page-level <head> entries. Array of
|
|
23325
|
+
"description": "Page-level <head> entries. Array of head entries for meta tags, link tags, script tags, etc. Merged with layout and site-level $head entries.",
|
|
22864
23326
|
"items": {
|
|
22865
|
-
"$ref": "#/$defs/v1/$defs/
|
|
23327
|
+
"$ref": "#/$defs/v1/$defs/HeadEntry"
|
|
22866
23328
|
},
|
|
22867
23329
|
"type": "array"
|
|
22868
23330
|
},
|
|
22869
23331
|
"$id": {
|
|
22870
23332
|
"description": "Component identifier string. Used by tooling and the builder.",
|
|
22871
|
-
"examples": [
|
|
23333
|
+
"examples": [
|
|
23334
|
+
"Counter",
|
|
23335
|
+
"TodoApp",
|
|
23336
|
+
"UserCard"
|
|
23337
|
+
],
|
|
23338
|
+
"type": "string"
|
|
23339
|
+
},
|
|
23340
|
+
"$dir": {
|
|
23341
|
+
"description": "Base direction for this page's <html> element, overriding `defaults.dir`. Right-to-left content renders left-to-right without it.",
|
|
23342
|
+
"enum": [
|
|
23343
|
+
"ltr",
|
|
23344
|
+
"rtl",
|
|
23345
|
+
"auto"
|
|
23346
|
+
],
|
|
23347
|
+
"type": "string"
|
|
23348
|
+
},
|
|
23349
|
+
"$lang": {
|
|
23350
|
+
"description": "Language tag for this page's <html> element, overriding `defaults.lang` (site-architecture.md §8.4).",
|
|
23351
|
+
"examples": [
|
|
23352
|
+
"en",
|
|
23353
|
+
"fr",
|
|
23354
|
+
"ar-EG"
|
|
23355
|
+
],
|
|
23356
|
+
"type": "string"
|
|
23357
|
+
},
|
|
23358
|
+
"$translationKey": {
|
|
23359
|
+
"description": "This page's identity across languages, overriding the one its path implies (site-architecture.md §13.5). Two routes are translations when their keys match; the default key is the path with the locale prefix removed, which is right whenever the paths are parallel and wrong for a localized slug — /fr-ca/a-propos/ shares nothing with /about/ until one of them says so.",
|
|
23360
|
+
"examples": [
|
|
23361
|
+
"about",
|
|
23362
|
+
"blog/hello-world"
|
|
23363
|
+
],
|
|
22872
23364
|
"type": "string"
|
|
22873
23365
|
},
|
|
22874
23366
|
"$layout": {
|
|
22875
23367
|
"description": "Layout reference for pages. String path to a layout JSON file, or false to opt out of the default layout.",
|
|
22876
|
-
"examples": [
|
|
23368
|
+
"examples": [
|
|
23369
|
+
"./layouts/base.json"
|
|
23370
|
+
],
|
|
23371
|
+
"oneOf": [
|
|
23372
|
+
{
|
|
23373
|
+
"type": "string"
|
|
23374
|
+
},
|
|
23375
|
+
{
|
|
23376
|
+
"const": false,
|
|
23377
|
+
"type": "boolean"
|
|
23378
|
+
}
|
|
23379
|
+
]
|
|
23380
|
+
},
|
|
23381
|
+
"$shadow": {
|
|
23382
|
+
"description": "Render this component into a shadow root instead of the light DOM (spec.md §16.6). Off unless set: a shadow root isolates the component's styles from the page and replaces the <slot> emulation with real slot distribution, so it changes how the component composes. Overrides `defaults.shadow` in both directions — `false` opts one component out of a project that opted in.",
|
|
22877
23383
|
"oneOf": [
|
|
22878
23384
|
{
|
|
23385
|
+
"enum": [
|
|
23386
|
+
"open",
|
|
23387
|
+
"closed"
|
|
23388
|
+
],
|
|
22879
23389
|
"type": "string"
|
|
22880
23390
|
},
|
|
22881
23391
|
{
|
|
@@ -22884,6 +23394,10 @@
|
|
|
22884
23394
|
}
|
|
22885
23395
|
]
|
|
22886
23396
|
},
|
|
23397
|
+
"$sitemap": {
|
|
23398
|
+
"description": "Set false to exclude this page from sitemap.xml (site-architecture.md §8.4.1). Every other page with a URL is included.",
|
|
23399
|
+
"type": "boolean"
|
|
23400
|
+
},
|
|
22887
23401
|
"$media": {
|
|
22888
23402
|
"additionalProperties": {
|
|
22889
23403
|
"type": "string"
|
|
@@ -22904,7 +23418,9 @@
|
|
|
22904
23418
|
},
|
|
22905
23419
|
"$schema": {
|
|
22906
23420
|
"description": "URI identifying the Jx dialect version. Enables schema-aware IDE tooling.",
|
|
22907
|
-
"examples": [
|
|
23421
|
+
"examples": [
|
|
23422
|
+
"https://jxsuite.com/schema/v1"
|
|
23423
|
+
],
|
|
22908
23424
|
"type": "string"
|
|
22909
23425
|
},
|
|
22910
23426
|
"attributes": {
|
|
@@ -22981,7 +23497,9 @@
|
|
|
22981
23497
|
"type": "string"
|
|
22982
23498
|
}
|
|
22983
23499
|
},
|
|
22984
|
-
"required": [
|
|
23500
|
+
"required": [
|
|
23501
|
+
"contentType"
|
|
23502
|
+
]
|
|
22985
23503
|
}
|
|
22986
23504
|
}
|
|
22987
23505
|
}
|