@jxsuite/schema 0.1.0 → 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/package.json CHANGED
@@ -1,25 +1,33 @@
1
1
  {
2
- "name": "@jxsuite/schema",
3
- "version": "0.1.0",
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
- "license": "MIT",
8
+ "exports": {
9
+ ".": "./src/schema.js"
10
+ },
6
11
  "files": [
7
12
  "src/",
8
13
  "*.json",
9
14
  "!package.json"
10
15
  ],
11
- "type": "module",
12
- "exports": {
13
- ".": "./src/schema.js"
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
- "dependencies": {
21
- "@webref/css": "^8.5.3",
22
- "@webref/elements": "^2.7.1",
23
- "@webref/idl": "^3.75.3"
24
- }
31
+ "type": "module",
32
+ "version": "0.5.0"
25
33
  }
@@ -120,8 +120,8 @@
120
120
  },
121
121
  "examples": [
122
122
  {
123
- "MarkdownFile": "@jxplatform/parser/MarkdownFile.class.json",
124
- "MarkdownCollection": "@jxplatform/parser/MarkdownCollection.class.json"
123
+ "MarkdownFile": "@jxsuite/parser/MarkdownFile.class.json",
124
+ "MarkdownCollection": "@jxsuite/parser/MarkdownCollection.class.json"
125
125
  }
126
126
  ]
127
127
  },
package/schema.json CHANGED
@@ -765,7 +765,7 @@
765
765
  "description": "External module specifier. Required when $prototype is not a built-in.",
766
766
  "type": "string",
767
767
  "examples": [
768
- "@jxplatform/md",
768
+ "@jxsuite/md",
769
769
  "./lib/my-parser.js",
770
770
  "npm:@myorg/data"
771
771
  ]
@@ -1249,6 +1249,10 @@
1249
1249
  "description": "Event handler for the \"contextmenu\" event.",
1250
1250
  "$ref": "#/$defs/RefObject"
1251
1251
  },
1252
+ "oncontextoverflow": {
1253
+ "description": "Event handler for the \"contextoverflow\" event.",
1254
+ "$ref": "#/$defs/RefObject"
1255
+ },
1252
1256
  "oncontextrestored": {
1253
1257
  "description": "Event handler for the \"contextrestored\" event.",
1254
1258
  "$ref": "#/$defs/RefObject"
@@ -1805,6 +1809,10 @@
1805
1809
  "description": "Event handler for the \"pushsubscriptionchange\" event.",
1806
1810
  "$ref": "#/$defs/RefObject"
1807
1811
  },
1812
+ "onquotaoverflow": {
1813
+ "description": "Event handler for the \"quotaoverflow\" event.",
1814
+ "$ref": "#/$defs/RefObject"
1815
+ },
1808
1816
  "onratechange": {
1809
1817
  "description": "Event handler for the \"ratechange\" event.",
1810
1818
  "$ref": "#/$defs/RefObject"
@@ -7056,7 +7064,7 @@
7056
7064
  }
7057
7065
  ]
7058
7066
  },
7059
- "column-rule-edge-inset": {
7067
+ "column-rule-inset": {
7060
7068
  "oneOf": [
7061
7069
  {
7062
7070
  "type": "string"
@@ -7066,7 +7074,7 @@
7066
7074
  }
7067
7075
  ]
7068
7076
  },
7069
- "column-rule-edge-inset-end": {
7077
+ "column-rule-inset-cap": {
7070
7078
  "oneOf": [
7071
7079
  {
7072
7080
  "type": "string"
@@ -7076,7 +7084,7 @@
7076
7084
  }
7077
7085
  ]
7078
7086
  },
7079
- "column-rule-edge-inset-start": {
7087
+ "column-rule-inset-cap-end": {
7080
7088
  "oneOf": [
7081
7089
  {
7082
7090
  "type": "string"
@@ -7086,7 +7094,7 @@
7086
7094
  }
7087
7095
  ]
7088
7096
  },
7089
- "column-rule-inset": {
7097
+ "column-rule-inset-cap-start": {
7090
7098
  "oneOf": [
7091
7099
  {
7092
7100
  "type": "string"
@@ -7106,7 +7114,7 @@
7106
7114
  }
7107
7115
  ]
7108
7116
  },
7109
- "column-rule-inset-start": {
7117
+ "column-rule-inset-junction": {
7110
7118
  "oneOf": [
7111
7119
  {
7112
7120
  "type": "string"
@@ -7116,7 +7124,7 @@
7116
7124
  }
7117
7125
  ]
7118
7126
  },
7119
- "column-rule-interior-inset": {
7127
+ "column-rule-inset-junction-end": {
7120
7128
  "oneOf": [
7121
7129
  {
7122
7130
  "type": "string"
@@ -7126,7 +7134,7 @@
7126
7134
  }
7127
7135
  ]
7128
7136
  },
7129
- "column-rule-interior-inset-end": {
7137
+ "column-rule-inset-junction-start": {
7130
7138
  "oneOf": [
7131
7139
  {
7132
7140
  "type": "string"
@@ -7136,7 +7144,7 @@
7136
7144
  }
7137
7145
  ]
7138
7146
  },
7139
- "column-rule-interior-inset-start": {
7147
+ "column-rule-inset-start": {
7140
7148
  "oneOf": [
7141
7149
  {
7142
7150
  "type": "string"
@@ -7276,7 +7284,7 @@
7276
7284
  }
7277
7285
  ]
7278
7286
  },
7279
- "columnRuleEdgeInset": {
7287
+ "columnRuleInset": {
7280
7288
  "oneOf": [
7281
7289
  {
7282
7290
  "type": "string"
@@ -7286,7 +7294,7 @@
7286
7294
  }
7287
7295
  ]
7288
7296
  },
7289
- "columnRuleEdgeInsetEnd": {
7297
+ "columnRuleInsetCap": {
7290
7298
  "oneOf": [
7291
7299
  {
7292
7300
  "type": "string"
@@ -7296,7 +7304,7 @@
7296
7304
  }
7297
7305
  ]
7298
7306
  },
7299
- "columnRuleEdgeInsetStart": {
7307
+ "columnRuleInsetCapEnd": {
7300
7308
  "oneOf": [
7301
7309
  {
7302
7310
  "type": "string"
@@ -7306,7 +7314,7 @@
7306
7314
  }
7307
7315
  ]
7308
7316
  },
7309
- "columnRuleInset": {
7317
+ "columnRuleInsetCapStart": {
7310
7318
  "oneOf": [
7311
7319
  {
7312
7320
  "type": "string"
@@ -7326,7 +7334,7 @@
7326
7334
  }
7327
7335
  ]
7328
7336
  },
7329
- "columnRuleInsetStart": {
7337
+ "columnRuleInsetJunction": {
7330
7338
  "oneOf": [
7331
7339
  {
7332
7340
  "type": "string"
@@ -7336,7 +7344,7 @@
7336
7344
  }
7337
7345
  ]
7338
7346
  },
7339
- "columnRuleInteriorInset": {
7347
+ "columnRuleInsetJunctionEnd": {
7340
7348
  "oneOf": [
7341
7349
  {
7342
7350
  "type": "string"
@@ -7346,7 +7354,7 @@
7346
7354
  }
7347
7355
  ]
7348
7356
  },
7349
- "columnRuleInteriorInsetEnd": {
7357
+ "columnRuleInsetJunctionStart": {
7350
7358
  "oneOf": [
7351
7359
  {
7352
7360
  "type": "string"
@@ -7356,7 +7364,7 @@
7356
7364
  }
7357
7365
  ]
7358
7366
  },
7359
- "columnRuleInteriorInsetStart": {
7367
+ "columnRuleInsetStart": {
7360
7368
  "oneOf": [
7361
7369
  {
7362
7370
  "type": "string"
@@ -8886,6 +8894,16 @@
8886
8894
  }
8887
8895
  ]
8888
8896
  },
8897
+ "flex-line-count": {
8898
+ "oneOf": [
8899
+ {
8900
+ "type": "string"
8901
+ },
8902
+ {
8903
+ "type": "number"
8904
+ }
8905
+ ]
8906
+ },
8889
8907
  "flex-shrink": {
8890
8908
  "oneOf": [
8891
8909
  {
@@ -8946,6 +8964,16 @@
8946
8964
  }
8947
8965
  ]
8948
8966
  },
8967
+ "flexLineCount": {
8968
+ "oneOf": [
8969
+ {
8970
+ "type": "string"
8971
+ },
8972
+ {
8973
+ "type": "number"
8974
+ }
8975
+ ]
8976
+ },
8949
8977
  "flexShrink": {
8950
8978
  "oneOf": [
8951
8979
  {
@@ -13146,6 +13174,26 @@
13146
13174
  }
13147
13175
  ]
13148
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
+ },
13149
13197
  "pause": {
13150
13198
  "oneOf": [
13151
13199
  {
@@ -13716,7 +13764,7 @@
13716
13764
  }
13717
13765
  ]
13718
13766
  },
13719
- "row-rule-edge-inset": {
13767
+ "row-rule-inset": {
13720
13768
  "oneOf": [
13721
13769
  {
13722
13770
  "type": "string"
@@ -13726,7 +13774,7 @@
13726
13774
  }
13727
13775
  ]
13728
13776
  },
13729
- "row-rule-edge-inset-end": {
13777
+ "row-rule-inset-cap": {
13730
13778
  "oneOf": [
13731
13779
  {
13732
13780
  "type": "string"
@@ -13736,7 +13784,7 @@
13736
13784
  }
13737
13785
  ]
13738
13786
  },
13739
- "row-rule-edge-inset-start": {
13787
+ "row-rule-inset-cap-end": {
13740
13788
  "oneOf": [
13741
13789
  {
13742
13790
  "type": "string"
@@ -13746,7 +13794,7 @@
13746
13794
  }
13747
13795
  ]
13748
13796
  },
13749
- "row-rule-inset": {
13797
+ "row-rule-inset-cap-start": {
13750
13798
  "oneOf": [
13751
13799
  {
13752
13800
  "type": "string"
@@ -13766,7 +13814,7 @@
13766
13814
  }
13767
13815
  ]
13768
13816
  },
13769
- "row-rule-inset-start": {
13817
+ "row-rule-inset-junction": {
13770
13818
  "oneOf": [
13771
13819
  {
13772
13820
  "type": "string"
@@ -13776,7 +13824,7 @@
13776
13824
  }
13777
13825
  ]
13778
13826
  },
13779
- "row-rule-interior-inset": {
13827
+ "row-rule-inset-junction-end": {
13780
13828
  "oneOf": [
13781
13829
  {
13782
13830
  "type": "string"
@@ -13786,7 +13834,7 @@
13786
13834
  }
13787
13835
  ]
13788
13836
  },
13789
- "row-rule-interior-inset-end": {
13837
+ "row-rule-inset-junction-start": {
13790
13838
  "oneOf": [
13791
13839
  {
13792
13840
  "type": "string"
@@ -13796,7 +13844,7 @@
13796
13844
  }
13797
13845
  ]
13798
13846
  },
13799
- "row-rule-interior-inset-start": {
13847
+ "row-rule-inset-start": {
13800
13848
  "oneOf": [
13801
13849
  {
13802
13850
  "type": "string"
@@ -13876,7 +13924,7 @@
13876
13924
  }
13877
13925
  ]
13878
13926
  },
13879
- "rowRuleEdgeInset": {
13927
+ "rowRuleInset": {
13880
13928
  "oneOf": [
13881
13929
  {
13882
13930
  "type": "string"
@@ -13886,7 +13934,7 @@
13886
13934
  }
13887
13935
  ]
13888
13936
  },
13889
- "rowRuleEdgeInsetEnd": {
13937
+ "rowRuleInsetCap": {
13890
13938
  "oneOf": [
13891
13939
  {
13892
13940
  "type": "string"
@@ -13896,7 +13944,7 @@
13896
13944
  }
13897
13945
  ]
13898
13946
  },
13899
- "rowRuleEdgeInsetStart": {
13947
+ "rowRuleInsetCapEnd": {
13900
13948
  "oneOf": [
13901
13949
  {
13902
13950
  "type": "string"
@@ -13906,7 +13954,7 @@
13906
13954
  }
13907
13955
  ]
13908
13956
  },
13909
- "rowRuleInset": {
13957
+ "rowRuleInsetCapStart": {
13910
13958
  "oneOf": [
13911
13959
  {
13912
13960
  "type": "string"
@@ -13926,7 +13974,7 @@
13926
13974
  }
13927
13975
  ]
13928
13976
  },
13929
- "rowRuleInsetStart": {
13977
+ "rowRuleInsetJunction": {
13930
13978
  "oneOf": [
13931
13979
  {
13932
13980
  "type": "string"
@@ -13936,7 +13984,7 @@
13936
13984
  }
13937
13985
  ]
13938
13986
  },
13939
- "rowRuleInteriorInset": {
13987
+ "rowRuleInsetJunctionEnd": {
13940
13988
  "oneOf": [
13941
13989
  {
13942
13990
  "type": "string"
@@ -13946,7 +13994,7 @@
13946
13994
  }
13947
13995
  ]
13948
13996
  },
13949
- "rowRuleInteriorInsetEnd": {
13997
+ "rowRuleInsetJunctionStart": {
13950
13998
  "oneOf": [
13951
13999
  {
13952
14000
  "type": "string"
@@ -13956,7 +14004,7 @@
13956
14004
  }
13957
14005
  ]
13958
14006
  },
13959
- "rowRuleInteriorInsetStart": {
14007
+ "rowRuleInsetStart": {
13960
14008
  "oneOf": [
13961
14009
  {
13962
14010
  "type": "string"
@@ -14106,7 +14154,7 @@
14106
14154
  }
14107
14155
  ]
14108
14156
  },
14109
- "rule-edge-inset": {
14157
+ "rule-inset": {
14110
14158
  "oneOf": [
14111
14159
  {
14112
14160
  "type": "string"
@@ -14116,7 +14164,7 @@
14116
14164
  }
14117
14165
  ]
14118
14166
  },
14119
- "rule-inset": {
14167
+ "rule-inset-cap": {
14120
14168
  "oneOf": [
14121
14169
  {
14122
14170
  "type": "string"
@@ -14136,7 +14184,7 @@
14136
14184
  }
14137
14185
  ]
14138
14186
  },
14139
- "rule-inset-start": {
14187
+ "rule-inset-junction": {
14140
14188
  "oneOf": [
14141
14189
  {
14142
14190
  "type": "string"
@@ -14146,7 +14194,7 @@
14146
14194
  }
14147
14195
  ]
14148
14196
  },
14149
- "rule-interior-inset": {
14197
+ "rule-inset-start": {
14150
14198
  "oneOf": [
14151
14199
  {
14152
14200
  "type": "string"
@@ -14216,7 +14264,7 @@
14216
14264
  }
14217
14265
  ]
14218
14266
  },
14219
- "ruleEdgeInset": {
14267
+ "ruleInset": {
14220
14268
  "oneOf": [
14221
14269
  {
14222
14270
  "type": "string"
@@ -14226,7 +14274,7 @@
14226
14274
  }
14227
14275
  ]
14228
14276
  },
14229
- "ruleInset": {
14277
+ "ruleInsetCap": {
14230
14278
  "oneOf": [
14231
14279
  {
14232
14280
  "type": "string"
@@ -14246,7 +14294,7 @@
14246
14294
  }
14247
14295
  ]
14248
14296
  },
14249
- "ruleInsetStart": {
14297
+ "ruleInsetJunction": {
14250
14298
  "oneOf": [
14251
14299
  {
14252
14300
  "type": "string"
@@ -14256,7 +14304,7 @@
14256
14304
  }
14257
14305
  ]
14258
14306
  },
14259
- "ruleInteriorInset": {
14307
+ "ruleInsetStart": {
14260
14308
  "oneOf": [
14261
14309
  {
14262
14310
  "type": "string"
@@ -15096,16 +15144,6 @@
15096
15144
  }
15097
15145
  ]
15098
15146
  },
15099
- "shape-subtract": {
15100
- "oneOf": [
15101
- {
15102
- "type": "string"
15103
- },
15104
- {
15105
- "type": "number"
15106
- }
15107
- ]
15108
- },
15109
15147
  "shapeImageThreshold": {
15110
15148
  "oneOf": [
15111
15149
  {
@@ -15166,16 +15204,6 @@
15166
15204
  }
15167
15205
  ]
15168
15206
  },
15169
- "shapeSubtract": {
15170
- "oneOf": [
15171
- {
15172
- "type": "string"
15173
- },
15174
- {
15175
- "type": "number"
15176
- }
15177
- ]
15178
- },
15179
15207
  "slider-orientation": {
15180
15208
  "oneOf": [
15181
15209
  {
@@ -16046,6 +16074,16 @@
16046
16074
  }
16047
16075
  ]
16048
16076
  },
16077
+ "text-fit": {
16078
+ "oneOf": [
16079
+ {
16080
+ "type": "string"
16081
+ },
16082
+ {
16083
+ "type": "number"
16084
+ }
16085
+ ]
16086
+ },
16049
16087
  "text-group-align": {
16050
16088
  "oneOf": [
16051
16089
  {
@@ -16456,6 +16494,16 @@
16456
16494
  }
16457
16495
  ]
16458
16496
  },
16497
+ "textFit": {
16498
+ "oneOf": [
16499
+ {
16500
+ "type": "string"
16501
+ },
16502
+ {
16503
+ "type": "number"
16504
+ }
16505
+ ]
16506
+ },
16459
16507
  "textGroupAlign": {
16460
16508
  "oneOf": [
16461
16509
  {
@@ -18266,6 +18314,26 @@
18266
18314
  }
18267
18315
  ]
18268
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
+ },
18269
18337
  "word-break": {
18270
18338
  "oneOf": [
18271
18339
  {
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: ["@jxplatform/md", "./lib/my-parser.js", "npm:@myorg/data"],
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: "@jxplatform/parser/MarkdownFile.class.json",
1113
- MarkdownCollection: "@jxplatform/parser/MarkdownCollection.class.json",
1112
+ MarkdownFile: "@jxsuite/parser/MarkdownFile.class.json",
1113
+ MarkdownCollection: "@jxsuite/parser/MarkdownCollection.class.json",
1114
1114
  },
1115
1115
  ],
1116
1116
  },