@jxsuite/schema 0.0.1 → 0.5.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/class-schema.json +48 -13
- package/package.json +19 -11
- package/project-schema.json +52 -15
- package/schema.json +323 -109
- package/src/schema.js +3 -3
package/class-schema.json
CHANGED
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
"title": "Jx Class Definition",
|
|
5
5
|
"description": "Schema for Jx .class.json files. A class definition describes a schema-defined class with fields, constructor, methods, and type parameters. Optionally points to a JS module via $implementation for hybrid execution.",
|
|
6
6
|
"type": "object",
|
|
7
|
-
"required": [
|
|
7
|
+
"required": [
|
|
8
|
+
"$prototype",
|
|
9
|
+
"title"
|
|
10
|
+
],
|
|
8
11
|
"properties": {
|
|
9
12
|
"$schema": {
|
|
10
13
|
"type": "string"
|
|
@@ -20,7 +23,11 @@
|
|
|
20
23
|
"title": {
|
|
21
24
|
"description": "PascalCase class name, used as the export name.",
|
|
22
25
|
"type": "string",
|
|
23
|
-
"examples": [
|
|
26
|
+
"examples": [
|
|
27
|
+
"MarkdownFile",
|
|
28
|
+
"DataSource",
|
|
29
|
+
"Calculator"
|
|
30
|
+
]
|
|
24
31
|
},
|
|
25
32
|
"description": {
|
|
26
33
|
"type": "string"
|
|
@@ -33,7 +40,9 @@
|
|
|
33
40
|
},
|
|
34
41
|
{
|
|
35
42
|
"type": "object",
|
|
36
|
-
"required": [
|
|
43
|
+
"required": [
|
|
44
|
+
"$ref"
|
|
45
|
+
],
|
|
37
46
|
"properties": {
|
|
38
47
|
"$ref": {
|
|
39
48
|
"type": "string"
|
|
@@ -46,7 +55,10 @@
|
|
|
46
55
|
"$implementation": {
|
|
47
56
|
"description": "Relative path to a JS module containing the actual class implementation.",
|
|
48
57
|
"type": "string",
|
|
49
|
-
"examples": [
|
|
58
|
+
"examples": [
|
|
59
|
+
"./md.js",
|
|
60
|
+
"./lib/calculator.js"
|
|
61
|
+
]
|
|
50
62
|
},
|
|
51
63
|
"$defs": {
|
|
52
64
|
"description": "Class members: parameters, returnTypes, fields, constructor, methods.",
|
|
@@ -91,7 +103,9 @@
|
|
|
91
103
|
"ClassParameterDef": {
|
|
92
104
|
"description": "A typed parameter definition for a class.",
|
|
93
105
|
"type": "object",
|
|
94
|
-
"required": [
|
|
106
|
+
"required": [
|
|
107
|
+
"identifier"
|
|
108
|
+
],
|
|
95
109
|
"properties": {
|
|
96
110
|
"identifier": {
|
|
97
111
|
"type": "string"
|
|
@@ -120,11 +134,18 @@
|
|
|
120
134
|
},
|
|
121
135
|
"access": {
|
|
122
136
|
"type": "string",
|
|
123
|
-
"enum": [
|
|
137
|
+
"enum": [
|
|
138
|
+
"public",
|
|
139
|
+
"private",
|
|
140
|
+
"protected"
|
|
141
|
+
]
|
|
124
142
|
},
|
|
125
143
|
"scope": {
|
|
126
144
|
"type": "string",
|
|
127
|
-
"enum": [
|
|
145
|
+
"enum": [
|
|
146
|
+
"instance",
|
|
147
|
+
"static"
|
|
148
|
+
]
|
|
128
149
|
},
|
|
129
150
|
"identifier": {
|
|
130
151
|
"type": "string"
|
|
@@ -162,7 +183,9 @@
|
|
|
162
183
|
"oneOf": [
|
|
163
184
|
{
|
|
164
185
|
"type": "object",
|
|
165
|
-
"required": [
|
|
186
|
+
"required": [
|
|
187
|
+
"$ref"
|
|
188
|
+
],
|
|
166
189
|
"properties": {
|
|
167
190
|
"$ref": {
|
|
168
191
|
"type": "string"
|
|
@@ -211,7 +234,10 @@
|
|
|
211
234
|
"properties": {
|
|
212
235
|
"role": {
|
|
213
236
|
"type": "string",
|
|
214
|
-
"enum": [
|
|
237
|
+
"enum": [
|
|
238
|
+
"method",
|
|
239
|
+
"accessor"
|
|
240
|
+
]
|
|
215
241
|
},
|
|
216
242
|
"$prototype": {
|
|
217
243
|
"type": "string",
|
|
@@ -219,11 +245,18 @@
|
|
|
219
245
|
},
|
|
220
246
|
"access": {
|
|
221
247
|
"type": "string",
|
|
222
|
-
"enum": [
|
|
248
|
+
"enum": [
|
|
249
|
+
"public",
|
|
250
|
+
"private",
|
|
251
|
+
"protected"
|
|
252
|
+
]
|
|
223
253
|
},
|
|
224
254
|
"scope": {
|
|
225
255
|
"type": "string",
|
|
226
|
-
"enum": [
|
|
256
|
+
"enum": [
|
|
257
|
+
"instance",
|
|
258
|
+
"static"
|
|
259
|
+
]
|
|
227
260
|
},
|
|
228
261
|
"identifier": {
|
|
229
262
|
"type": "string"
|
|
@@ -234,7 +267,9 @@
|
|
|
234
267
|
"oneOf": [
|
|
235
268
|
{
|
|
236
269
|
"type": "object",
|
|
237
|
-
"required": [
|
|
270
|
+
"required": [
|
|
271
|
+
"$ref"
|
|
272
|
+
],
|
|
238
273
|
"properties": {
|
|
239
274
|
"$ref": {
|
|
240
275
|
"type": "string"
|
|
@@ -287,4 +322,4 @@
|
|
|
287
322
|
}
|
|
288
323
|
}
|
|
289
324
|
}
|
|
290
|
-
}
|
|
325
|
+
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
2
|
+
"dependencies": {
|
|
3
|
+
"@webref/css": "^8.5.6",
|
|
4
|
+
"@webref/elements": "^2.7.1",
|
|
5
|
+
"@webref/idl": "^3.78.0"
|
|
6
|
+
},
|
|
4
7
|
"description": "JSON Schema 2020-12 meta-schema generator for Jx documents",
|
|
5
|
-
"
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./src/schema.js"
|
|
10
|
+
},
|
|
6
11
|
"files": [
|
|
7
12
|
"src/",
|
|
8
13
|
"*.json",
|
|
9
14
|
"!package.json"
|
|
10
15
|
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"name": "@jxsuite/schema",
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"provenance": true
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"directory": "packages/schema",
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/jxsuite/jx.git"
|
|
14
25
|
},
|
|
15
26
|
"scripts": {
|
|
16
27
|
"schema": "bun run src/schema.js",
|
|
17
28
|
"test": "bun test",
|
|
18
29
|
"upgrade": "bunx npm-check-updates -u && bun install"
|
|
19
30
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"@webref/elements": "^2.7.1",
|
|
23
|
-
"@webref/idl": "^3.75.3"
|
|
24
|
-
}
|
|
31
|
+
"type": "module",
|
|
32
|
+
"version": "0.5.0"
|
|
25
33
|
}
|
package/project-schema.json
CHANGED
|
@@ -9,12 +9,18 @@
|
|
|
9
9
|
"description": "Human-readable project name.",
|
|
10
10
|
"type": "string",
|
|
11
11
|
"default": "Jx Site",
|
|
12
|
-
"examples": [
|
|
12
|
+
"examples": [
|
|
13
|
+
"My Portfolio",
|
|
14
|
+
"Jx Example Site"
|
|
15
|
+
]
|
|
13
16
|
},
|
|
14
17
|
"url": {
|
|
15
18
|
"description": "Production URL of the deployed site.",
|
|
16
19
|
"type": "string",
|
|
17
|
-
"examples": [
|
|
20
|
+
"examples": [
|
|
21
|
+
"https://example.com",
|
|
22
|
+
"https://jxsuite.com"
|
|
23
|
+
]
|
|
18
24
|
},
|
|
19
25
|
"defaults": {
|
|
20
26
|
"description": "Default settings applied to all pages unless overridden.",
|
|
@@ -31,7 +37,9 @@
|
|
|
31
37
|
}
|
|
32
38
|
],
|
|
33
39
|
"default": null,
|
|
34
|
-
"examples": [
|
|
40
|
+
"examples": [
|
|
41
|
+
"./layouts/base.json"
|
|
42
|
+
]
|
|
35
43
|
},
|
|
36
44
|
"lang": {
|
|
37
45
|
"description": "Default lang attribute for the <html> element.",
|
|
@@ -88,7 +96,9 @@
|
|
|
88
96
|
"oneOf": [
|
|
89
97
|
{
|
|
90
98
|
"type": "object",
|
|
91
|
-
"required": [
|
|
99
|
+
"required": [
|
|
100
|
+
"$ref"
|
|
101
|
+
],
|
|
92
102
|
"properties": {
|
|
93
103
|
"$ref": {
|
|
94
104
|
"type": "string"
|
|
@@ -110,8 +120,8 @@
|
|
|
110
120
|
},
|
|
111
121
|
"examples": [
|
|
112
122
|
{
|
|
113
|
-
"MarkdownFile": "@
|
|
114
|
-
"MarkdownCollection": "@
|
|
123
|
+
"MarkdownFile": "@jxsuite/parser/MarkdownFile.class.json",
|
|
124
|
+
"MarkdownCollection": "@jxsuite/parser/MarkdownCollection.class.json"
|
|
115
125
|
}
|
|
116
126
|
]
|
|
117
127
|
},
|
|
@@ -159,7 +169,10 @@
|
|
|
159
169
|
"source": {
|
|
160
170
|
"description": "Glob pattern for content files relative to the content directory.",
|
|
161
171
|
"type": "string",
|
|
162
|
-
"examples": [
|
|
172
|
+
"examples": [
|
|
173
|
+
"./blog/**/*.md",
|
|
174
|
+
"./docs/**/*.md"
|
|
175
|
+
]
|
|
163
176
|
},
|
|
164
177
|
"schema": {
|
|
165
178
|
"description": "JSON Schema for validating frontmatter of collection entries.",
|
|
@@ -172,7 +185,9 @@
|
|
|
172
185
|
"oneOf": [
|
|
173
186
|
{
|
|
174
187
|
"type": "object",
|
|
175
|
-
"required": [
|
|
188
|
+
"required": [
|
|
189
|
+
"$ref"
|
|
190
|
+
],
|
|
176
191
|
"properties": {
|
|
177
192
|
"$ref": {
|
|
178
193
|
"type": "string"
|
|
@@ -219,19 +234,30 @@
|
|
|
219
234
|
"format": {
|
|
220
235
|
"description": "Output format.",
|
|
221
236
|
"type": "string",
|
|
222
|
-
"enum": [
|
|
237
|
+
"enum": [
|
|
238
|
+
"directory",
|
|
239
|
+
"single"
|
|
240
|
+
],
|
|
223
241
|
"default": "directory"
|
|
224
242
|
},
|
|
225
243
|
"trailingSlash": {
|
|
226
244
|
"description": "Trailing slash behavior for generated URLs.",
|
|
227
245
|
"type": "string",
|
|
228
|
-
"enum": [
|
|
246
|
+
"enum": [
|
|
247
|
+
"always",
|
|
248
|
+
"never",
|
|
249
|
+
"ignore"
|
|
250
|
+
],
|
|
229
251
|
"default": "always"
|
|
230
252
|
},
|
|
231
253
|
"adapter": {
|
|
232
254
|
"description": "Platform adapter for deployment-specific output.",
|
|
233
255
|
"type": "string",
|
|
234
|
-
"enum": [
|
|
256
|
+
"enum": [
|
|
257
|
+
"netlify",
|
|
258
|
+
"vercel",
|
|
259
|
+
"cloudflare"
|
|
260
|
+
]
|
|
235
261
|
}
|
|
236
262
|
}
|
|
237
263
|
},
|
|
@@ -242,7 +268,9 @@
|
|
|
242
268
|
"defaultLocale": {
|
|
243
269
|
"description": "Default locale code.",
|
|
244
270
|
"type": "string",
|
|
245
|
-
"examples": [
|
|
271
|
+
"examples": [
|
|
272
|
+
"en"
|
|
273
|
+
]
|
|
246
274
|
},
|
|
247
275
|
"locales": {
|
|
248
276
|
"description": "Available locale codes.",
|
|
@@ -250,15 +278,24 @@
|
|
|
250
278
|
"items": {
|
|
251
279
|
"type": "string"
|
|
252
280
|
},
|
|
253
|
-
"examples": [
|
|
281
|
+
"examples": [
|
|
282
|
+
[
|
|
283
|
+
"en",
|
|
284
|
+
"fr",
|
|
285
|
+
"de"
|
|
286
|
+
]
|
|
287
|
+
]
|
|
254
288
|
},
|
|
255
289
|
"routing": {
|
|
256
290
|
"description": "Locale routing strategy.",
|
|
257
291
|
"type": "string",
|
|
258
|
-
"enum": [
|
|
292
|
+
"enum": [
|
|
293
|
+
"prefix-except-default",
|
|
294
|
+
"prefix-always"
|
|
295
|
+
]
|
|
259
296
|
}
|
|
260
297
|
}
|
|
261
298
|
}
|
|
262
299
|
},
|
|
263
300
|
"additionalProperties": false
|
|
264
|
-
}
|
|
301
|
+
}
|
package/schema.json
CHANGED
|
@@ -8,12 +8,18 @@
|
|
|
8
8
|
"$schema": {
|
|
9
9
|
"description": "URI identifying the Jx dialect version. Enables schema-aware IDE tooling.",
|
|
10
10
|
"type": "string",
|
|
11
|
-
"examples": [
|
|
11
|
+
"examples": [
|
|
12
|
+
"https://jxsuite.com/schema/v1"
|
|
13
|
+
]
|
|
12
14
|
},
|
|
13
15
|
"$id": {
|
|
14
16
|
"description": "Component identifier string. Used by tooling and the builder.",
|
|
15
17
|
"type": "string",
|
|
16
|
-
"examples": [
|
|
18
|
+
"examples": [
|
|
19
|
+
"Counter",
|
|
20
|
+
"TodoApp",
|
|
21
|
+
"UserCard"
|
|
22
|
+
]
|
|
17
23
|
},
|
|
18
24
|
"$defs": {
|
|
19
25
|
"description": "Pure JSON Schema type definitions for this component. All entries are reusable type schemas — no runtime artifacts are produced. Referenced from state entries via $ref. Naming convention: PascalCase.",
|
|
@@ -44,7 +50,9 @@
|
|
|
44
50
|
"oneOf": [
|
|
45
51
|
{
|
|
46
52
|
"type": "object",
|
|
47
|
-
"required": [
|
|
53
|
+
"required": [
|
|
54
|
+
"$ref"
|
|
55
|
+
],
|
|
48
56
|
"properties": {
|
|
49
57
|
"$ref": {
|
|
50
58
|
"type": "string"
|
|
@@ -77,7 +85,9 @@
|
|
|
77
85
|
"const": false
|
|
78
86
|
}
|
|
79
87
|
],
|
|
80
|
-
"examples": [
|
|
88
|
+
"examples": [
|
|
89
|
+
"./layouts/base.json"
|
|
90
|
+
]
|
|
81
91
|
},
|
|
82
92
|
"$paths": {
|
|
83
93
|
"description": "Dynamic route parameters. Maps parameter names to data sources for generating one page per entry at build time.",
|
|
@@ -189,13 +199,19 @@
|
|
|
189
199
|
"not": {
|
|
190
200
|
"anyOf": [
|
|
191
201
|
{
|
|
192
|
-
"required": [
|
|
202
|
+
"required": [
|
|
203
|
+
"$prototype"
|
|
204
|
+
]
|
|
193
205
|
},
|
|
194
206
|
{
|
|
195
|
-
"required": [
|
|
207
|
+
"required": [
|
|
208
|
+
"default"
|
|
209
|
+
]
|
|
196
210
|
},
|
|
197
211
|
{
|
|
198
|
-
"required": [
|
|
212
|
+
"required": [
|
|
213
|
+
"type"
|
|
214
|
+
]
|
|
199
215
|
}
|
|
200
216
|
]
|
|
201
217
|
}
|
|
@@ -205,7 +221,9 @@
|
|
|
205
221
|
"TypedStateDef": {
|
|
206
222
|
"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.",
|
|
207
223
|
"type": "object",
|
|
208
|
-
"required": [
|
|
224
|
+
"required": [
|
|
225
|
+
"default"
|
|
226
|
+
],
|
|
209
227
|
"properties": {
|
|
210
228
|
"default": {
|
|
211
229
|
"description": "Initial state value."
|
|
@@ -252,13 +270,17 @@
|
|
|
252
270
|
}
|
|
253
271
|
},
|
|
254
272
|
"not": {
|
|
255
|
-
"required": [
|
|
273
|
+
"required": [
|
|
274
|
+
"$prototype"
|
|
275
|
+
]
|
|
256
276
|
}
|
|
257
277
|
},
|
|
258
278
|
"PureTypeDef": {
|
|
259
279
|
"description": "A reusable JSON Schema type definition for tooling only. No function, no runtime artifact. Referenced from state entries via $ref. Naming convention: PascalCase.",
|
|
260
280
|
"type": "object",
|
|
261
|
-
"required": [
|
|
281
|
+
"required": [
|
|
282
|
+
"type"
|
|
283
|
+
],
|
|
262
284
|
"properties": {
|
|
263
285
|
"type": {
|
|
264
286
|
"$ref": "#/$defs/JsonSchemaType"
|
|
@@ -303,10 +325,14 @@
|
|
|
303
325
|
"not": {
|
|
304
326
|
"anyOf": [
|
|
305
327
|
{
|
|
306
|
-
"required": [
|
|
328
|
+
"required": [
|
|
329
|
+
"default"
|
|
330
|
+
]
|
|
307
331
|
},
|
|
308
332
|
{
|
|
309
|
-
"required": [
|
|
333
|
+
"required": [
|
|
334
|
+
"$prototype"
|
|
335
|
+
]
|
|
310
336
|
}
|
|
311
337
|
]
|
|
312
338
|
}
|
|
@@ -314,7 +340,9 @@
|
|
|
314
340
|
"FunctionDef": {
|
|
315
341
|
"description": "A function declaration. $prototype must be \"Function\". body (inline) and $src (external) are mutually exclusive. First parameter is always state (the reactive scope).",
|
|
316
342
|
"type": "object",
|
|
317
|
-
"required": [
|
|
343
|
+
"required": [
|
|
344
|
+
"$prototype"
|
|
345
|
+
],
|
|
318
346
|
"properties": {
|
|
319
347
|
"$prototype": {
|
|
320
348
|
"type": "string",
|
|
@@ -343,7 +371,9 @@
|
|
|
343
371
|
]
|
|
344
372
|
},
|
|
345
373
|
"examples": [
|
|
346
|
-
[
|
|
374
|
+
[
|
|
375
|
+
"event"
|
|
376
|
+
],
|
|
347
377
|
[
|
|
348
378
|
{
|
|
349
379
|
"name": "event",
|
|
@@ -370,7 +400,10 @@
|
|
|
370
400
|
"$src": {
|
|
371
401
|
"description": "External module specifier. Mutually exclusive with body.",
|
|
372
402
|
"type": "string",
|
|
373
|
-
"examples": [
|
|
403
|
+
"examples": [
|
|
404
|
+
"./counter.js",
|
|
405
|
+
"npm:@myorg/validators"
|
|
406
|
+
]
|
|
374
407
|
},
|
|
375
408
|
"$export": {
|
|
376
409
|
"description": "Named export in $src module. Defaults to the state key name.",
|
|
@@ -395,7 +428,10 @@
|
|
|
395
428
|
"ClassDef": {
|
|
396
429
|
"description": "A .class.json schema-defined class. $prototype must be \"Class\". Defines fields, constructor, methods, and type parameters via $defs. Optionally points to a JS module via $implementation for hybrid execution.",
|
|
397
430
|
"type": "object",
|
|
398
|
-
"required": [
|
|
431
|
+
"required": [
|
|
432
|
+
"$prototype",
|
|
433
|
+
"title"
|
|
434
|
+
],
|
|
399
435
|
"properties": {
|
|
400
436
|
"$schema": {
|
|
401
437
|
"type": "string"
|
|
@@ -422,7 +458,9 @@
|
|
|
422
458
|
},
|
|
423
459
|
{
|
|
424
460
|
"type": "object",
|
|
425
|
-
"required": [
|
|
461
|
+
"required": [
|
|
462
|
+
"$ref"
|
|
463
|
+
],
|
|
426
464
|
"properties": {
|
|
427
465
|
"$ref": {
|
|
428
466
|
"type": "string"
|
|
@@ -478,7 +516,9 @@
|
|
|
478
516
|
"ClassParameterDef": {
|
|
479
517
|
"description": "A typed parameter definition for a class.",
|
|
480
518
|
"type": "object",
|
|
481
|
-
"required": [
|
|
519
|
+
"required": [
|
|
520
|
+
"identifier"
|
|
521
|
+
],
|
|
482
522
|
"properties": {
|
|
483
523
|
"identifier": {
|
|
484
524
|
"type": "string"
|
|
@@ -507,11 +547,18 @@
|
|
|
507
547
|
},
|
|
508
548
|
"access": {
|
|
509
549
|
"type": "string",
|
|
510
|
-
"enum": [
|
|
550
|
+
"enum": [
|
|
551
|
+
"public",
|
|
552
|
+
"private",
|
|
553
|
+
"protected"
|
|
554
|
+
]
|
|
511
555
|
},
|
|
512
556
|
"scope": {
|
|
513
557
|
"type": "string",
|
|
514
|
-
"enum": [
|
|
558
|
+
"enum": [
|
|
559
|
+
"instance",
|
|
560
|
+
"static"
|
|
561
|
+
]
|
|
515
562
|
},
|
|
516
563
|
"identifier": {
|
|
517
564
|
"type": "string"
|
|
@@ -549,7 +596,9 @@
|
|
|
549
596
|
"oneOf": [
|
|
550
597
|
{
|
|
551
598
|
"type": "object",
|
|
552
|
-
"required": [
|
|
599
|
+
"required": [
|
|
600
|
+
"$ref"
|
|
601
|
+
],
|
|
553
602
|
"properties": {
|
|
554
603
|
"$ref": {
|
|
555
604
|
"type": "string"
|
|
@@ -595,7 +644,10 @@
|
|
|
595
644
|
"properties": {
|
|
596
645
|
"role": {
|
|
597
646
|
"type": "string",
|
|
598
|
-
"enum": [
|
|
647
|
+
"enum": [
|
|
648
|
+
"method",
|
|
649
|
+
"accessor"
|
|
650
|
+
]
|
|
599
651
|
},
|
|
600
652
|
"$prototype": {
|
|
601
653
|
"type": "string",
|
|
@@ -603,11 +655,18 @@
|
|
|
603
655
|
},
|
|
604
656
|
"access": {
|
|
605
657
|
"type": "string",
|
|
606
|
-
"enum": [
|
|
658
|
+
"enum": [
|
|
659
|
+
"public",
|
|
660
|
+
"private",
|
|
661
|
+
"protected"
|
|
662
|
+
]
|
|
607
663
|
},
|
|
608
664
|
"scope": {
|
|
609
665
|
"type": "string",
|
|
610
|
-
"enum": [
|
|
666
|
+
"enum": [
|
|
667
|
+
"instance",
|
|
668
|
+
"static"
|
|
669
|
+
]
|
|
611
670
|
},
|
|
612
671
|
"identifier": {
|
|
613
672
|
"type": "string"
|
|
@@ -618,7 +677,9 @@
|
|
|
618
677
|
"oneOf": [
|
|
619
678
|
{
|
|
620
679
|
"type": "object",
|
|
621
|
-
"required": [
|
|
680
|
+
"required": [
|
|
681
|
+
"$ref"
|
|
682
|
+
],
|
|
622
683
|
"properties": {
|
|
623
684
|
"$ref": {
|
|
624
685
|
"type": "string"
|
|
@@ -673,7 +734,9 @@
|
|
|
673
734
|
"ExternalClassDef": {
|
|
674
735
|
"description": "An external class / data source. $prototype is a constructor name (not \"Function\"). When $prototype is not in the built-in registry, $src is required. All state entries are reactive by default.",
|
|
675
736
|
"type": "object",
|
|
676
|
-
"required": [
|
|
737
|
+
"required": [
|
|
738
|
+
"$prototype"
|
|
739
|
+
],
|
|
677
740
|
"properties": {
|
|
678
741
|
"$prototype": {
|
|
679
742
|
"description": "Constructor name — built-in Web API class or external class name.",
|
|
@@ -701,7 +764,11 @@
|
|
|
701
764
|
"$src": {
|
|
702
765
|
"description": "External module specifier. Required when $prototype is not a built-in.",
|
|
703
766
|
"type": "string",
|
|
704
|
-
"examples": [
|
|
767
|
+
"examples": [
|
|
768
|
+
"@jxsuite/md",
|
|
769
|
+
"./lib/my-parser.js",
|
|
770
|
+
"npm:@myorg/data"
|
|
771
|
+
]
|
|
705
772
|
},
|
|
706
773
|
"$export": {
|
|
707
774
|
"description": "Named export in $src module. Defaults to the $prototype value.",
|
|
@@ -709,7 +776,11 @@
|
|
|
709
776
|
},
|
|
710
777
|
"timing": {
|
|
711
778
|
"type": "string",
|
|
712
|
-
"enum": [
|
|
779
|
+
"enum": [
|
|
780
|
+
"compiler",
|
|
781
|
+
"server",
|
|
782
|
+
"client"
|
|
783
|
+
]
|
|
713
784
|
},
|
|
714
785
|
"manual": {
|
|
715
786
|
"type": "boolean"
|
|
@@ -723,7 +794,15 @@
|
|
|
723
794
|
},
|
|
724
795
|
"method": {
|
|
725
796
|
"type": "string",
|
|
726
|
-
"enum": [
|
|
797
|
+
"enum": [
|
|
798
|
+
"GET",
|
|
799
|
+
"POST",
|
|
800
|
+
"PUT",
|
|
801
|
+
"PATCH",
|
|
802
|
+
"DELETE",
|
|
803
|
+
"HEAD",
|
|
804
|
+
"OPTIONS"
|
|
805
|
+
]
|
|
727
806
|
},
|
|
728
807
|
"headers": {
|
|
729
808
|
"type": "object",
|
|
@@ -734,7 +813,14 @@
|
|
|
734
813
|
"body": {},
|
|
735
814
|
"responseType": {
|
|
736
815
|
"type": "string",
|
|
737
|
-
"enum": [
|
|
816
|
+
"enum": [
|
|
817
|
+
"json",
|
|
818
|
+
"text",
|
|
819
|
+
"blob",
|
|
820
|
+
"arraybuffer",
|
|
821
|
+
"document",
|
|
822
|
+
""
|
|
823
|
+
]
|
|
738
824
|
},
|
|
739
825
|
"key": {
|
|
740
826
|
"type": "string"
|
|
@@ -759,7 +845,11 @@
|
|
|
759
845
|
},
|
|
760
846
|
"sameSite": {
|
|
761
847
|
"type": "string",
|
|
762
|
-
"enum": [
|
|
848
|
+
"enum": [
|
|
849
|
+
"strict",
|
|
850
|
+
"lax",
|
|
851
|
+
"none"
|
|
852
|
+
]
|
|
763
853
|
},
|
|
764
854
|
"database": {
|
|
765
855
|
"type": "string"
|
|
@@ -781,7 +871,10 @@
|
|
|
781
871
|
"type": "array",
|
|
782
872
|
"items": {
|
|
783
873
|
"type": "object",
|
|
784
|
-
"required": [
|
|
874
|
+
"required": [
|
|
875
|
+
"name",
|
|
876
|
+
"keyPath"
|
|
877
|
+
],
|
|
785
878
|
"properties": {
|
|
786
879
|
"name": {
|
|
787
880
|
"type": "string"
|
|
@@ -828,7 +921,9 @@
|
|
|
828
921
|
"ElementDef": {
|
|
829
922
|
"description": "A Jx element definition. Maps directly to a DOM element.",
|
|
830
923
|
"type": "object",
|
|
831
|
-
"required": [
|
|
924
|
+
"required": [
|
|
925
|
+
"tagName"
|
|
926
|
+
],
|
|
832
927
|
"properties": {
|
|
833
928
|
"tagName": {
|
|
834
929
|
"$ref": "#/$defs/TagName"
|
|
@@ -862,7 +957,11 @@
|
|
|
862
957
|
},
|
|
863
958
|
"dir": {
|
|
864
959
|
"type": "string",
|
|
865
|
-
"enum": [
|
|
960
|
+
"enum": [
|
|
961
|
+
"ltr",
|
|
962
|
+
"rtl",
|
|
963
|
+
"auto"
|
|
964
|
+
]
|
|
866
965
|
},
|
|
867
966
|
"value": {
|
|
868
967
|
"$ref": "#/$defs/StringOrRef"
|
|
@@ -1150,6 +1249,10 @@
|
|
|
1150
1249
|
"description": "Event handler for the \"contextmenu\" event.",
|
|
1151
1250
|
"$ref": "#/$defs/RefObject"
|
|
1152
1251
|
},
|
|
1252
|
+
"oncontextoverflow": {
|
|
1253
|
+
"description": "Event handler for the \"contextoverflow\" event.",
|
|
1254
|
+
"$ref": "#/$defs/RefObject"
|
|
1255
|
+
},
|
|
1153
1256
|
"oncontextrestored": {
|
|
1154
1257
|
"description": "Event handler for the \"contextrestored\" event.",
|
|
1155
1258
|
"$ref": "#/$defs/RefObject"
|
|
@@ -1706,6 +1809,10 @@
|
|
|
1706
1809
|
"description": "Event handler for the \"pushsubscriptionchange\" event.",
|
|
1707
1810
|
"$ref": "#/$defs/RefObject"
|
|
1708
1811
|
},
|
|
1812
|
+
"onquotaoverflow": {
|
|
1813
|
+
"description": "Event handler for the \"quotaoverflow\" event.",
|
|
1814
|
+
"$ref": "#/$defs/RefObject"
|
|
1815
|
+
},
|
|
1709
1816
|
"onratechange": {
|
|
1710
1817
|
"description": "Event handler for the \"ratechange\" event.",
|
|
1711
1818
|
"$ref": "#/$defs/RefObject"
|
|
@@ -2130,7 +2237,11 @@
|
|
|
2130
2237
|
"ArrayNamespace": {
|
|
2131
2238
|
"description": "Dynamic mapped list. Re-renders when the items state entry changes.",
|
|
2132
2239
|
"type": "object",
|
|
2133
|
-
"required": [
|
|
2240
|
+
"required": [
|
|
2241
|
+
"$prototype",
|
|
2242
|
+
"items",
|
|
2243
|
+
"map"
|
|
2244
|
+
],
|
|
2134
2245
|
"properties": {
|
|
2135
2246
|
"$prototype": {
|
|
2136
2247
|
"type": "string",
|
|
@@ -2161,7 +2272,9 @@
|
|
|
2161
2272
|
"SwitchDef": {
|
|
2162
2273
|
"description": "Reactive $ref that drives which case to render.",
|
|
2163
2274
|
"type": "object",
|
|
2164
|
-
"required": [
|
|
2275
|
+
"required": [
|
|
2276
|
+
"$ref"
|
|
2277
|
+
],
|
|
2165
2278
|
"properties": {
|
|
2166
2279
|
"$ref": {
|
|
2167
2280
|
"$ref": "#/$defs/InternalRef"
|
|
@@ -2171,7 +2284,10 @@
|
|
|
2171
2284
|
},
|
|
2172
2285
|
"SwitchNode": {
|
|
2173
2286
|
"type": "object",
|
|
2174
|
-
"required": [
|
|
2287
|
+
"required": [
|
|
2288
|
+
"$switch",
|
|
2289
|
+
"cases"
|
|
2290
|
+
],
|
|
2175
2291
|
"properties": {
|
|
2176
2292
|
"tagName": {
|
|
2177
2293
|
"$ref": "#/$defs/TagName"
|
|
@@ -6948,7 +7064,7 @@
|
|
|
6948
7064
|
}
|
|
6949
7065
|
]
|
|
6950
7066
|
},
|
|
6951
|
-
"column-rule-
|
|
7067
|
+
"column-rule-inset": {
|
|
6952
7068
|
"oneOf": [
|
|
6953
7069
|
{
|
|
6954
7070
|
"type": "string"
|
|
@@ -6958,7 +7074,7 @@
|
|
|
6958
7074
|
}
|
|
6959
7075
|
]
|
|
6960
7076
|
},
|
|
6961
|
-
"column-rule-
|
|
7077
|
+
"column-rule-inset-cap": {
|
|
6962
7078
|
"oneOf": [
|
|
6963
7079
|
{
|
|
6964
7080
|
"type": "string"
|
|
@@ -6968,7 +7084,7 @@
|
|
|
6968
7084
|
}
|
|
6969
7085
|
]
|
|
6970
7086
|
},
|
|
6971
|
-
"column-rule-
|
|
7087
|
+
"column-rule-inset-cap-end": {
|
|
6972
7088
|
"oneOf": [
|
|
6973
7089
|
{
|
|
6974
7090
|
"type": "string"
|
|
@@ -6978,7 +7094,7 @@
|
|
|
6978
7094
|
}
|
|
6979
7095
|
]
|
|
6980
7096
|
},
|
|
6981
|
-
"column-rule-inset": {
|
|
7097
|
+
"column-rule-inset-cap-start": {
|
|
6982
7098
|
"oneOf": [
|
|
6983
7099
|
{
|
|
6984
7100
|
"type": "string"
|
|
@@ -6998,7 +7114,7 @@
|
|
|
6998
7114
|
}
|
|
6999
7115
|
]
|
|
7000
7116
|
},
|
|
7001
|
-
"column-rule-inset-
|
|
7117
|
+
"column-rule-inset-junction": {
|
|
7002
7118
|
"oneOf": [
|
|
7003
7119
|
{
|
|
7004
7120
|
"type": "string"
|
|
@@ -7008,7 +7124,7 @@
|
|
|
7008
7124
|
}
|
|
7009
7125
|
]
|
|
7010
7126
|
},
|
|
7011
|
-
"column-rule-
|
|
7127
|
+
"column-rule-inset-junction-end": {
|
|
7012
7128
|
"oneOf": [
|
|
7013
7129
|
{
|
|
7014
7130
|
"type": "string"
|
|
@@ -7018,7 +7134,7 @@
|
|
|
7018
7134
|
}
|
|
7019
7135
|
]
|
|
7020
7136
|
},
|
|
7021
|
-
"column-rule-
|
|
7137
|
+
"column-rule-inset-junction-start": {
|
|
7022
7138
|
"oneOf": [
|
|
7023
7139
|
{
|
|
7024
7140
|
"type": "string"
|
|
@@ -7028,7 +7144,7 @@
|
|
|
7028
7144
|
}
|
|
7029
7145
|
]
|
|
7030
7146
|
},
|
|
7031
|
-
"column-rule-
|
|
7147
|
+
"column-rule-inset-start": {
|
|
7032
7148
|
"oneOf": [
|
|
7033
7149
|
{
|
|
7034
7150
|
"type": "string"
|
|
@@ -7168,7 +7284,7 @@
|
|
|
7168
7284
|
}
|
|
7169
7285
|
]
|
|
7170
7286
|
},
|
|
7171
|
-
"
|
|
7287
|
+
"columnRuleInset": {
|
|
7172
7288
|
"oneOf": [
|
|
7173
7289
|
{
|
|
7174
7290
|
"type": "string"
|
|
@@ -7178,7 +7294,7 @@
|
|
|
7178
7294
|
}
|
|
7179
7295
|
]
|
|
7180
7296
|
},
|
|
7181
|
-
"
|
|
7297
|
+
"columnRuleInsetCap": {
|
|
7182
7298
|
"oneOf": [
|
|
7183
7299
|
{
|
|
7184
7300
|
"type": "string"
|
|
@@ -7188,7 +7304,7 @@
|
|
|
7188
7304
|
}
|
|
7189
7305
|
]
|
|
7190
7306
|
},
|
|
7191
|
-
"
|
|
7307
|
+
"columnRuleInsetCapEnd": {
|
|
7192
7308
|
"oneOf": [
|
|
7193
7309
|
{
|
|
7194
7310
|
"type": "string"
|
|
@@ -7198,7 +7314,7 @@
|
|
|
7198
7314
|
}
|
|
7199
7315
|
]
|
|
7200
7316
|
},
|
|
7201
|
-
"
|
|
7317
|
+
"columnRuleInsetCapStart": {
|
|
7202
7318
|
"oneOf": [
|
|
7203
7319
|
{
|
|
7204
7320
|
"type": "string"
|
|
@@ -7218,7 +7334,7 @@
|
|
|
7218
7334
|
}
|
|
7219
7335
|
]
|
|
7220
7336
|
},
|
|
7221
|
-
"
|
|
7337
|
+
"columnRuleInsetJunction": {
|
|
7222
7338
|
"oneOf": [
|
|
7223
7339
|
{
|
|
7224
7340
|
"type": "string"
|
|
@@ -7228,7 +7344,7 @@
|
|
|
7228
7344
|
}
|
|
7229
7345
|
]
|
|
7230
7346
|
},
|
|
7231
|
-
"
|
|
7347
|
+
"columnRuleInsetJunctionEnd": {
|
|
7232
7348
|
"oneOf": [
|
|
7233
7349
|
{
|
|
7234
7350
|
"type": "string"
|
|
@@ -7238,7 +7354,7 @@
|
|
|
7238
7354
|
}
|
|
7239
7355
|
]
|
|
7240
7356
|
},
|
|
7241
|
-
"
|
|
7357
|
+
"columnRuleInsetJunctionStart": {
|
|
7242
7358
|
"oneOf": [
|
|
7243
7359
|
{
|
|
7244
7360
|
"type": "string"
|
|
@@ -7248,7 +7364,7 @@
|
|
|
7248
7364
|
}
|
|
7249
7365
|
]
|
|
7250
7366
|
},
|
|
7251
|
-
"
|
|
7367
|
+
"columnRuleInsetStart": {
|
|
7252
7368
|
"oneOf": [
|
|
7253
7369
|
{
|
|
7254
7370
|
"type": "string"
|
|
@@ -8778,6 +8894,16 @@
|
|
|
8778
8894
|
}
|
|
8779
8895
|
]
|
|
8780
8896
|
},
|
|
8897
|
+
"flex-line-count": {
|
|
8898
|
+
"oneOf": [
|
|
8899
|
+
{
|
|
8900
|
+
"type": "string"
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
"type": "number"
|
|
8904
|
+
}
|
|
8905
|
+
]
|
|
8906
|
+
},
|
|
8781
8907
|
"flex-shrink": {
|
|
8782
8908
|
"oneOf": [
|
|
8783
8909
|
{
|
|
@@ -8838,6 +8964,16 @@
|
|
|
8838
8964
|
}
|
|
8839
8965
|
]
|
|
8840
8966
|
},
|
|
8967
|
+
"flexLineCount": {
|
|
8968
|
+
"oneOf": [
|
|
8969
|
+
{
|
|
8970
|
+
"type": "string"
|
|
8971
|
+
},
|
|
8972
|
+
{
|
|
8973
|
+
"type": "number"
|
|
8974
|
+
}
|
|
8975
|
+
]
|
|
8976
|
+
},
|
|
8841
8977
|
"flexShrink": {
|
|
8842
8978
|
"oneOf": [
|
|
8843
8979
|
{
|
|
@@ -13038,6 +13174,26 @@
|
|
|
13038
13174
|
}
|
|
13039
13175
|
]
|
|
13040
13176
|
},
|
|
13177
|
+
"path-length": {
|
|
13178
|
+
"oneOf": [
|
|
13179
|
+
{
|
|
13180
|
+
"type": "string"
|
|
13181
|
+
},
|
|
13182
|
+
{
|
|
13183
|
+
"type": "number"
|
|
13184
|
+
}
|
|
13185
|
+
]
|
|
13186
|
+
},
|
|
13187
|
+
"pathLength": {
|
|
13188
|
+
"oneOf": [
|
|
13189
|
+
{
|
|
13190
|
+
"type": "string"
|
|
13191
|
+
},
|
|
13192
|
+
{
|
|
13193
|
+
"type": "number"
|
|
13194
|
+
}
|
|
13195
|
+
]
|
|
13196
|
+
},
|
|
13041
13197
|
"pause": {
|
|
13042
13198
|
"oneOf": [
|
|
13043
13199
|
{
|
|
@@ -13608,7 +13764,7 @@
|
|
|
13608
13764
|
}
|
|
13609
13765
|
]
|
|
13610
13766
|
},
|
|
13611
|
-
"row-rule-
|
|
13767
|
+
"row-rule-inset": {
|
|
13612
13768
|
"oneOf": [
|
|
13613
13769
|
{
|
|
13614
13770
|
"type": "string"
|
|
@@ -13618,7 +13774,7 @@
|
|
|
13618
13774
|
}
|
|
13619
13775
|
]
|
|
13620
13776
|
},
|
|
13621
|
-
"row-rule-
|
|
13777
|
+
"row-rule-inset-cap": {
|
|
13622
13778
|
"oneOf": [
|
|
13623
13779
|
{
|
|
13624
13780
|
"type": "string"
|
|
@@ -13628,7 +13784,7 @@
|
|
|
13628
13784
|
}
|
|
13629
13785
|
]
|
|
13630
13786
|
},
|
|
13631
|
-
"row-rule-
|
|
13787
|
+
"row-rule-inset-cap-end": {
|
|
13632
13788
|
"oneOf": [
|
|
13633
13789
|
{
|
|
13634
13790
|
"type": "string"
|
|
@@ -13638,7 +13794,7 @@
|
|
|
13638
13794
|
}
|
|
13639
13795
|
]
|
|
13640
13796
|
},
|
|
13641
|
-
"row-rule-inset": {
|
|
13797
|
+
"row-rule-inset-cap-start": {
|
|
13642
13798
|
"oneOf": [
|
|
13643
13799
|
{
|
|
13644
13800
|
"type": "string"
|
|
@@ -13658,7 +13814,7 @@
|
|
|
13658
13814
|
}
|
|
13659
13815
|
]
|
|
13660
13816
|
},
|
|
13661
|
-
"row-rule-inset-
|
|
13817
|
+
"row-rule-inset-junction": {
|
|
13662
13818
|
"oneOf": [
|
|
13663
13819
|
{
|
|
13664
13820
|
"type": "string"
|
|
@@ -13668,7 +13824,7 @@
|
|
|
13668
13824
|
}
|
|
13669
13825
|
]
|
|
13670
13826
|
},
|
|
13671
|
-
"row-rule-
|
|
13827
|
+
"row-rule-inset-junction-end": {
|
|
13672
13828
|
"oneOf": [
|
|
13673
13829
|
{
|
|
13674
13830
|
"type": "string"
|
|
@@ -13678,7 +13834,7 @@
|
|
|
13678
13834
|
}
|
|
13679
13835
|
]
|
|
13680
13836
|
},
|
|
13681
|
-
"row-rule-
|
|
13837
|
+
"row-rule-inset-junction-start": {
|
|
13682
13838
|
"oneOf": [
|
|
13683
13839
|
{
|
|
13684
13840
|
"type": "string"
|
|
@@ -13688,7 +13844,7 @@
|
|
|
13688
13844
|
}
|
|
13689
13845
|
]
|
|
13690
13846
|
},
|
|
13691
|
-
"row-rule-
|
|
13847
|
+
"row-rule-inset-start": {
|
|
13692
13848
|
"oneOf": [
|
|
13693
13849
|
{
|
|
13694
13850
|
"type": "string"
|
|
@@ -13768,7 +13924,7 @@
|
|
|
13768
13924
|
}
|
|
13769
13925
|
]
|
|
13770
13926
|
},
|
|
13771
|
-
"
|
|
13927
|
+
"rowRuleInset": {
|
|
13772
13928
|
"oneOf": [
|
|
13773
13929
|
{
|
|
13774
13930
|
"type": "string"
|
|
@@ -13778,7 +13934,7 @@
|
|
|
13778
13934
|
}
|
|
13779
13935
|
]
|
|
13780
13936
|
},
|
|
13781
|
-
"
|
|
13937
|
+
"rowRuleInsetCap": {
|
|
13782
13938
|
"oneOf": [
|
|
13783
13939
|
{
|
|
13784
13940
|
"type": "string"
|
|
@@ -13788,7 +13944,7 @@
|
|
|
13788
13944
|
}
|
|
13789
13945
|
]
|
|
13790
13946
|
},
|
|
13791
|
-
"
|
|
13947
|
+
"rowRuleInsetCapEnd": {
|
|
13792
13948
|
"oneOf": [
|
|
13793
13949
|
{
|
|
13794
13950
|
"type": "string"
|
|
@@ -13798,7 +13954,7 @@
|
|
|
13798
13954
|
}
|
|
13799
13955
|
]
|
|
13800
13956
|
},
|
|
13801
|
-
"
|
|
13957
|
+
"rowRuleInsetCapStart": {
|
|
13802
13958
|
"oneOf": [
|
|
13803
13959
|
{
|
|
13804
13960
|
"type": "string"
|
|
@@ -13818,7 +13974,7 @@
|
|
|
13818
13974
|
}
|
|
13819
13975
|
]
|
|
13820
13976
|
},
|
|
13821
|
-
"
|
|
13977
|
+
"rowRuleInsetJunction": {
|
|
13822
13978
|
"oneOf": [
|
|
13823
13979
|
{
|
|
13824
13980
|
"type": "string"
|
|
@@ -13828,7 +13984,7 @@
|
|
|
13828
13984
|
}
|
|
13829
13985
|
]
|
|
13830
13986
|
},
|
|
13831
|
-
"
|
|
13987
|
+
"rowRuleInsetJunctionEnd": {
|
|
13832
13988
|
"oneOf": [
|
|
13833
13989
|
{
|
|
13834
13990
|
"type": "string"
|
|
@@ -13838,7 +13994,7 @@
|
|
|
13838
13994
|
}
|
|
13839
13995
|
]
|
|
13840
13996
|
},
|
|
13841
|
-
"
|
|
13997
|
+
"rowRuleInsetJunctionStart": {
|
|
13842
13998
|
"oneOf": [
|
|
13843
13999
|
{
|
|
13844
14000
|
"type": "string"
|
|
@@ -13848,7 +14004,7 @@
|
|
|
13848
14004
|
}
|
|
13849
14005
|
]
|
|
13850
14006
|
},
|
|
13851
|
-
"
|
|
14007
|
+
"rowRuleInsetStart": {
|
|
13852
14008
|
"oneOf": [
|
|
13853
14009
|
{
|
|
13854
14010
|
"type": "string"
|
|
@@ -13998,7 +14154,7 @@
|
|
|
13998
14154
|
}
|
|
13999
14155
|
]
|
|
14000
14156
|
},
|
|
14001
|
-
"rule-
|
|
14157
|
+
"rule-inset": {
|
|
14002
14158
|
"oneOf": [
|
|
14003
14159
|
{
|
|
14004
14160
|
"type": "string"
|
|
@@ -14008,7 +14164,7 @@
|
|
|
14008
14164
|
}
|
|
14009
14165
|
]
|
|
14010
14166
|
},
|
|
14011
|
-
"rule-inset": {
|
|
14167
|
+
"rule-inset-cap": {
|
|
14012
14168
|
"oneOf": [
|
|
14013
14169
|
{
|
|
14014
14170
|
"type": "string"
|
|
@@ -14028,7 +14184,7 @@
|
|
|
14028
14184
|
}
|
|
14029
14185
|
]
|
|
14030
14186
|
},
|
|
14031
|
-
"rule-inset-
|
|
14187
|
+
"rule-inset-junction": {
|
|
14032
14188
|
"oneOf": [
|
|
14033
14189
|
{
|
|
14034
14190
|
"type": "string"
|
|
@@ -14038,7 +14194,7 @@
|
|
|
14038
14194
|
}
|
|
14039
14195
|
]
|
|
14040
14196
|
},
|
|
14041
|
-
"rule-
|
|
14197
|
+
"rule-inset-start": {
|
|
14042
14198
|
"oneOf": [
|
|
14043
14199
|
{
|
|
14044
14200
|
"type": "string"
|
|
@@ -14108,7 +14264,7 @@
|
|
|
14108
14264
|
}
|
|
14109
14265
|
]
|
|
14110
14266
|
},
|
|
14111
|
-
"
|
|
14267
|
+
"ruleInset": {
|
|
14112
14268
|
"oneOf": [
|
|
14113
14269
|
{
|
|
14114
14270
|
"type": "string"
|
|
@@ -14118,7 +14274,7 @@
|
|
|
14118
14274
|
}
|
|
14119
14275
|
]
|
|
14120
14276
|
},
|
|
14121
|
-
"
|
|
14277
|
+
"ruleInsetCap": {
|
|
14122
14278
|
"oneOf": [
|
|
14123
14279
|
{
|
|
14124
14280
|
"type": "string"
|
|
@@ -14138,7 +14294,7 @@
|
|
|
14138
14294
|
}
|
|
14139
14295
|
]
|
|
14140
14296
|
},
|
|
14141
|
-
"
|
|
14297
|
+
"ruleInsetJunction": {
|
|
14142
14298
|
"oneOf": [
|
|
14143
14299
|
{
|
|
14144
14300
|
"type": "string"
|
|
@@ -14148,7 +14304,7 @@
|
|
|
14148
14304
|
}
|
|
14149
14305
|
]
|
|
14150
14306
|
},
|
|
14151
|
-
"
|
|
14307
|
+
"ruleInsetStart": {
|
|
14152
14308
|
"oneOf": [
|
|
14153
14309
|
{
|
|
14154
14310
|
"type": "string"
|
|
@@ -14988,16 +15144,6 @@
|
|
|
14988
15144
|
}
|
|
14989
15145
|
]
|
|
14990
15146
|
},
|
|
14991
|
-
"shape-subtract": {
|
|
14992
|
-
"oneOf": [
|
|
14993
|
-
{
|
|
14994
|
-
"type": "string"
|
|
14995
|
-
},
|
|
14996
|
-
{
|
|
14997
|
-
"type": "number"
|
|
14998
|
-
}
|
|
14999
|
-
]
|
|
15000
|
-
},
|
|
15001
15147
|
"shapeImageThreshold": {
|
|
15002
15148
|
"oneOf": [
|
|
15003
15149
|
{
|
|
@@ -15058,16 +15204,6 @@
|
|
|
15058
15204
|
}
|
|
15059
15205
|
]
|
|
15060
15206
|
},
|
|
15061
|
-
"shapeSubtract": {
|
|
15062
|
-
"oneOf": [
|
|
15063
|
-
{
|
|
15064
|
-
"type": "string"
|
|
15065
|
-
},
|
|
15066
|
-
{
|
|
15067
|
-
"type": "number"
|
|
15068
|
-
}
|
|
15069
|
-
]
|
|
15070
|
-
},
|
|
15071
15207
|
"slider-orientation": {
|
|
15072
15208
|
"oneOf": [
|
|
15073
15209
|
{
|
|
@@ -15938,6 +16074,16 @@
|
|
|
15938
16074
|
}
|
|
15939
16075
|
]
|
|
15940
16076
|
},
|
|
16077
|
+
"text-fit": {
|
|
16078
|
+
"oneOf": [
|
|
16079
|
+
{
|
|
16080
|
+
"type": "string"
|
|
16081
|
+
},
|
|
16082
|
+
{
|
|
16083
|
+
"type": "number"
|
|
16084
|
+
}
|
|
16085
|
+
]
|
|
16086
|
+
},
|
|
15941
16087
|
"text-group-align": {
|
|
15942
16088
|
"oneOf": [
|
|
15943
16089
|
{
|
|
@@ -16348,6 +16494,16 @@
|
|
|
16348
16494
|
}
|
|
16349
16495
|
]
|
|
16350
16496
|
},
|
|
16497
|
+
"textFit": {
|
|
16498
|
+
"oneOf": [
|
|
16499
|
+
{
|
|
16500
|
+
"type": "string"
|
|
16501
|
+
},
|
|
16502
|
+
{
|
|
16503
|
+
"type": "number"
|
|
16504
|
+
}
|
|
16505
|
+
]
|
|
16506
|
+
},
|
|
16351
16507
|
"textGroupAlign": {
|
|
16352
16508
|
"oneOf": [
|
|
16353
16509
|
{
|
|
@@ -18158,6 +18314,26 @@
|
|
|
18158
18314
|
}
|
|
18159
18315
|
]
|
|
18160
18316
|
},
|
|
18317
|
+
"window-drag": {
|
|
18318
|
+
"oneOf": [
|
|
18319
|
+
{
|
|
18320
|
+
"type": "string"
|
|
18321
|
+
},
|
|
18322
|
+
{
|
|
18323
|
+
"type": "number"
|
|
18324
|
+
}
|
|
18325
|
+
]
|
|
18326
|
+
},
|
|
18327
|
+
"windowDrag": {
|
|
18328
|
+
"oneOf": [
|
|
18329
|
+
{
|
|
18330
|
+
"type": "string"
|
|
18331
|
+
},
|
|
18332
|
+
{
|
|
18333
|
+
"type": "number"
|
|
18334
|
+
}
|
|
18335
|
+
]
|
|
18336
|
+
},
|
|
18161
18337
|
"word-break": {
|
|
18162
18338
|
"oneOf": [
|
|
18163
18339
|
{
|
|
@@ -18483,7 +18659,9 @@
|
|
|
18483
18659
|
"RefObject": {
|
|
18484
18660
|
"description": "A $ref binding. Resolves to a state entry (reactive) or plain value (static).",
|
|
18485
18661
|
"type": "object",
|
|
18486
|
-
"required": [
|
|
18662
|
+
"required": [
|
|
18663
|
+
"$ref"
|
|
18664
|
+
],
|
|
18487
18665
|
"properties": {
|
|
18488
18666
|
"$ref": {
|
|
18489
18667
|
"$ref": "#/$defs/AnyRef"
|
|
@@ -18518,23 +18696,36 @@
|
|
|
18518
18696
|
"description": "Reference to a $defs type definition in the current component.",
|
|
18519
18697
|
"type": "string",
|
|
18520
18698
|
"pattern": "^#/\\$defs/",
|
|
18521
|
-
"examples": [
|
|
18699
|
+
"examples": [
|
|
18700
|
+
"#/$defs/Count",
|
|
18701
|
+
"#/$defs/TodoItem",
|
|
18702
|
+
"#/$defs/Status"
|
|
18703
|
+
]
|
|
18522
18704
|
},
|
|
18523
18705
|
"StateRef": {
|
|
18524
18706
|
"description": "Reference to a state entry (runtime variable) in the current component.",
|
|
18525
18707
|
"type": "string",
|
|
18526
18708
|
"pattern": "^#/state/",
|
|
18527
|
-
"examples": [
|
|
18709
|
+
"examples": [
|
|
18710
|
+
"#/state/count",
|
|
18711
|
+
"#/state/addTask",
|
|
18712
|
+
"#/state/items"
|
|
18713
|
+
]
|
|
18528
18714
|
},
|
|
18529
18715
|
"ExternalRef": {
|
|
18530
18716
|
"description": "Reference to an external Jx component file.",
|
|
18531
18717
|
"type": "string",
|
|
18532
18718
|
"pattern": "^(\\./|\\.\\./).*\\.json$|^https?://",
|
|
18533
|
-
"examples": [
|
|
18719
|
+
"examples": [
|
|
18720
|
+
"./card.json",
|
|
18721
|
+
"https://cdn.example.com/button.json"
|
|
18722
|
+
]
|
|
18534
18723
|
},
|
|
18535
18724
|
"ExternalComponentRef": {
|
|
18536
18725
|
"type": "object",
|
|
18537
|
-
"required": [
|
|
18726
|
+
"required": [
|
|
18727
|
+
"$ref"
|
|
18728
|
+
],
|
|
18538
18729
|
"properties": {
|
|
18539
18730
|
"$ref": {
|
|
18540
18731
|
"$ref": "#/$defs/ExternalRef"
|
|
@@ -18548,19 +18739,30 @@
|
|
|
18548
18739
|
"description": "Reference to a window or document global.",
|
|
18549
18740
|
"type": "string",
|
|
18550
18741
|
"pattern": "^(window|document)#/",
|
|
18551
|
-
"examples": [
|
|
18742
|
+
"examples": [
|
|
18743
|
+
"window#/currentUser",
|
|
18744
|
+
"document#/appConfig"
|
|
18745
|
+
]
|
|
18552
18746
|
},
|
|
18553
18747
|
"ParentRef": {
|
|
18554
18748
|
"description": "Reference to a named state entry passed via $props from a parent component.",
|
|
18555
18749
|
"type": "string",
|
|
18556
18750
|
"pattern": "^parent#/",
|
|
18557
|
-
"examples": [
|
|
18751
|
+
"examples": [
|
|
18752
|
+
"parent#/sharedState",
|
|
18753
|
+
"parent#/theme"
|
|
18754
|
+
]
|
|
18558
18755
|
},
|
|
18559
18756
|
"MapRef": {
|
|
18560
18757
|
"description": "Reference to the current Array map iteration context.",
|
|
18561
18758
|
"type": "string",
|
|
18562
18759
|
"pattern": "^\\$map/(item|index)(/.*)?$",
|
|
18563
|
-
"examples": [
|
|
18760
|
+
"examples": [
|
|
18761
|
+
"$map/item",
|
|
18762
|
+
"$map/index",
|
|
18763
|
+
"$map/item/text",
|
|
18764
|
+
"$map/item/done"
|
|
18765
|
+
]
|
|
18564
18766
|
},
|
|
18565
18767
|
"ElementPropertyValue": {
|
|
18566
18768
|
"oneOf": [
|
|
@@ -18614,7 +18816,9 @@
|
|
|
18614
18816
|
"CemParameter": {
|
|
18615
18817
|
"description": "A CEM-compatible parameter definition for a function. Follows the Custom Elements Manifest Parameter shape.",
|
|
18616
18818
|
"type": "object",
|
|
18617
|
-
"required": [
|
|
18819
|
+
"required": [
|
|
18820
|
+
"name"
|
|
18821
|
+
],
|
|
18618
18822
|
"properties": {
|
|
18619
18823
|
"name": {
|
|
18620
18824
|
"description": "Parameter name.",
|
|
@@ -18639,7 +18843,9 @@
|
|
|
18639
18843
|
"CemEvent": {
|
|
18640
18844
|
"description": "A CEM-compatible event definition. Describes a CustomEvent the function dispatches.",
|
|
18641
18845
|
"type": "object",
|
|
18642
|
-
"required": [
|
|
18846
|
+
"required": [
|
|
18847
|
+
"name"
|
|
18848
|
+
],
|
|
18643
18849
|
"properties": {
|
|
18644
18850
|
"name": {
|
|
18645
18851
|
"description": "Event name (e.g. 'task-toggled').",
|
|
@@ -18885,7 +19091,15 @@
|
|
|
18885
19091
|
},
|
|
18886
19092
|
"JsonSchemaType": {
|
|
18887
19093
|
"type": "string",
|
|
18888
|
-
"enum": [
|
|
19094
|
+
"enum": [
|
|
19095
|
+
"string",
|
|
19096
|
+
"number",
|
|
19097
|
+
"integer",
|
|
19098
|
+
"boolean",
|
|
19099
|
+
"array",
|
|
19100
|
+
"object",
|
|
19101
|
+
"null"
|
|
19102
|
+
]
|
|
18889
19103
|
}
|
|
18890
19104
|
}
|
|
18891
|
-
}
|
|
19105
|
+
}
|
package/src/schema.js
CHANGED
|
@@ -614,7 +614,7 @@ export async function generateSchema() {
|
|
|
614
614
|
$src: {
|
|
615
615
|
description: "External module specifier. Required when $prototype is not a built-in.",
|
|
616
616
|
type: "string",
|
|
617
|
-
examples: ["@
|
|
617
|
+
examples: ["@jxsuite/md", "./lib/my-parser.js", "npm:@myorg/data"],
|
|
618
618
|
},
|
|
619
619
|
$export: {
|
|
620
620
|
description: "Named export in $src module. Defaults to the $prototype value.",
|
|
@@ -1109,8 +1109,8 @@ export function generateProjectSchema() {
|
|
|
1109
1109
|
additionalProperties: { type: "string" },
|
|
1110
1110
|
examples: [
|
|
1111
1111
|
{
|
|
1112
|
-
MarkdownFile: "@
|
|
1113
|
-
MarkdownCollection: "@
|
|
1112
|
+
MarkdownFile: "@jxsuite/parser/MarkdownFile.class.json",
|
|
1113
|
+
MarkdownCollection: "@jxsuite/parser/MarkdownCollection.class.json",
|
|
1114
1114
|
},
|
|
1115
1115
|
],
|
|
1116
1116
|
},
|