@visactor/vchart-schema 1.3.1-alpha.0 → 1.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vchart.json +101 -33
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.3.1-alpha.0",
3
+ "version": "1.3.1",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
package/vchart.json CHANGED
@@ -5031,8 +5031,9 @@
5031
5031
  "$ref": "#/definitions/VisualType<number>"
5032
5032
  },
5033
5033
  "lineHeight": {
5034
- "$ref": "#/definitions/VisualType<number>",
5035
- "description": "行高"
5034
+ "$ref": "#/definitions/VisualType<string|number>",
5035
+ "description": "行高(1.3.1 版本新增字符串类型表示比例值,如\"150%\")",
5036
+ "since": "1.3.1"
5036
5037
  },
5037
5038
  "lineThrough": {
5038
5039
  "$ref": "#/definitions/VisualType<boolean>",
@@ -5191,8 +5192,9 @@
5191
5192
  "$ref": "#/definitions/VisualType<number>"
5192
5193
  },
5193
5194
  "lineHeight": {
5194
- "$ref": "#/definitions/VisualType<number>",
5195
- "description": "行高"
5195
+ "$ref": "#/definitions/VisualType<string|number>",
5196
+ "description": "行高(1.3.1 版本新增字符串类型表示比例值,如\"150%\")",
5197
+ "since": "1.3.1"
5196
5198
  },
5197
5199
  "lineThrough": {
5198
5200
  "$ref": "#/definitions/VisualType<boolean>",
@@ -5351,8 +5353,9 @@
5351
5353
  "$ref": "#/definitions/VisualType<number>"
5352
5354
  },
5353
5355
  "lineHeight": {
5354
- "$ref": "#/definitions/VisualType<number>",
5355
- "description": "行高"
5356
+ "$ref": "#/definitions/VisualType<string|number>",
5357
+ "description": "行高(1.3.1 版本新增字符串类型表示比例值,如\"150%\")",
5358
+ "since": "1.3.1"
5356
5359
  },
5357
5360
  "lineThrough": {
5358
5361
  "$ref": "#/definitions/VisualType<boolean>",
@@ -53563,8 +53566,12 @@
53563
53566
  "type": "number"
53564
53567
  },
53565
53568
  "lineHeight": {
53566
- "description": "行高",
53567
- "type": "number"
53569
+ "description": "行高(1.3.1 版本新增字符串类型表示比例值,如\"150%\")",
53570
+ "since": "1.3.1",
53571
+ "type": [
53572
+ "string",
53573
+ "number"
53574
+ ]
53568
53575
  },
53569
53576
  "lineThrough": {
53570
53577
  "description": "中划线",
@@ -54657,7 +54664,10 @@
54657
54664
  },
54658
54665
  "lineHeight": {
54659
54666
  "description": "行高",
54660
- "type": "number"
54667
+ "type": [
54668
+ "string",
54669
+ "number"
54670
+ ]
54661
54671
  },
54662
54672
  "maxWidth": {
54663
54673
  "description": "最大宽度",
@@ -57066,6 +57076,41 @@
57066
57076
  ],
57067
57077
  "type": "object"
57068
57078
  },
57079
+ "IVisualSpecStyle<unknown,string|number>": {
57080
+ "properties": {
57081
+ "domain": {
57082
+ "description": "will set to scale.domain, it means input of scale",
57083
+ "items": {},
57084
+ "type": "array"
57085
+ },
57086
+ "field": {
57087
+ "type": "string"
57088
+ },
57089
+ "range": {
57090
+ "description": "will set to scale.range, it means output of scale",
57091
+ "items": {
57092
+ "type": [
57093
+ "string",
57094
+ "number"
57095
+ ]
57096
+ },
57097
+ "type": "array"
57098
+ },
57099
+ "specified": {
57100
+ "typeof": "function"
57101
+ },
57102
+ "type": {
57103
+ "$ref": "#/definitions/ScaleType",
57104
+ "description": "type of scale"
57105
+ }
57106
+ },
57107
+ "required": [
57108
+ "domain",
57109
+ "range",
57110
+ "type"
57111
+ ],
57112
+ "type": "object"
57113
+ },
57069
57114
  "IVisualSpecStyle<unknown,{x:number;y:number;}>": {
57070
57115
  "properties": {
57071
57116
  "domain": {
@@ -60069,7 +60114,7 @@
60069
60114
  },
60070
60115
  "Map<Function,(...args:any[])=>void>": {
60071
60116
  "properties": {
60072
- "__@toStringTag@11527": {
60117
+ "__@toStringTag@11528": {
60073
60118
  "type": "string"
60074
60119
  },
60075
60120
  "size": {
@@ -60077,14 +60122,14 @@
60077
60122
  }
60078
60123
  },
60079
60124
  "required": [
60080
- "__@toStringTag@11527",
60125
+ "__@toStringTag@11528",
60081
60126
  "size"
60082
60127
  ],
60083
60128
  "type": "object"
60084
60129
  },
60085
60130
  "Map<number,IGraphicPicker>": {
60086
60131
  "properties": {
60087
- "__@toStringTag@11527": {
60132
+ "__@toStringTag@11528": {
60088
60133
  "type": "string"
60089
60134
  },
60090
60135
  "size": {
@@ -60092,14 +60137,14 @@
60092
60137
  }
60093
60138
  },
60094
60139
  "required": [
60095
- "__@toStringTag@11527",
60140
+ "__@toStringTag@11528",
60096
60141
  "size"
60097
60142
  ],
60098
60143
  "type": "object"
60099
60144
  },
60100
60145
  "Map<number,IGraphicRender>": {
60101
60146
  "properties": {
60102
- "__@toStringTag@11527": {
60147
+ "__@toStringTag@11528": {
60103
60148
  "type": "string"
60104
60149
  },
60105
60150
  "size": {
@@ -60107,14 +60152,14 @@
60107
60152
  }
60108
60153
  },
60109
60154
  "required": [
60110
- "__@toStringTag@11527",
60155
+ "__@toStringTag@11528",
60111
60156
  "size"
60112
60157
  ],
60113
60158
  "type": "object"
60114
60159
  },
60115
60160
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
60116
60161
  "properties": {
60117
- "__@toStringTag@11527": {
60162
+ "__@toStringTag@11528": {
60118
60163
  "type": "string"
60119
60164
  },
60120
60165
  "size": {
@@ -60122,14 +60167,14 @@
60122
60167
  }
60123
60168
  },
60124
60169
  "required": [
60125
- "__@toStringTag@11527",
60170
+ "__@toStringTag@11528",
60126
60171
  "size"
60127
60172
  ],
60128
60173
  "type": "object"
60129
60174
  },
60130
60175
  "Map<string,Map<number,IGraphicRender>>": {
60131
60176
  "properties": {
60132
- "__@toStringTag@11527": {
60177
+ "__@toStringTag@11528": {
60133
60178
  "type": "string"
60134
60179
  },
60135
60180
  "size": {
@@ -60137,14 +60182,14 @@
60137
60182
  }
60138
60183
  },
60139
60184
  "required": [
60140
- "__@toStringTag@11527",
60185
+ "__@toStringTag@11528",
60141
60186
  "size"
60142
60187
  ],
60143
60188
  "type": "object"
60144
60189
  },
60145
60190
  "Map<string,any>": {
60146
60191
  "properties": {
60147
- "__@toStringTag@11527": {
60192
+ "__@toStringTag@11528": {
60148
60193
  "type": "string"
60149
60194
  },
60150
60195
  "size": {
@@ -60152,14 +60197,14 @@
60152
60197
  }
60153
60198
  },
60154
60199
  "required": [
60155
- "__@toStringTag@11527",
60200
+ "__@toStringTag@11528",
60156
60201
  "size"
60157
60202
  ],
60158
60203
  "type": "object"
60159
60204
  },
60160
60205
  "Map<string|HTMLCanvasElement|HTMLImageElement,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
60161
60206
  "properties": {
60162
- "__@toStringTag@11527": {
60207
+ "__@toStringTag@11528": {
60163
60208
  "type": "string"
60164
60209
  },
60165
60210
  "size": {
@@ -60167,14 +60212,14 @@
60167
60212
  }
60168
60213
  },
60169
60214
  "required": [
60170
- "__@toStringTag@11527",
60215
+ "__@toStringTag@11528",
60171
60216
  "size"
60172
60217
  ],
60173
60218
  "type": "object"
60174
60219
  },
60175
60220
  "Map<string|number,IAnimate>": {
60176
60221
  "properties": {
60177
- "__@toStringTag@11527": {
60222
+ "__@toStringTag@11528": {
60178
60223
  "type": "string"
60179
60224
  },
60180
60225
  "size": {
@@ -60182,7 +60227,7 @@
60182
60227
  }
60183
60228
  },
60184
60229
  "required": [
60185
- "__@toStringTag@11527",
60230
+ "__@toStringTag@11528",
60186
60231
  "size"
60187
60232
  ],
60188
60233
  "type": "object"
@@ -70702,8 +70747,12 @@
70702
70747
  "type": "number"
70703
70748
  },
70704
70749
  "lineHeight": {
70705
- "description": "行高",
70706
- "type": "number"
70750
+ "description": "行高(1.3.1 版本新增字符串类型表示比例值,如\"150%\")",
70751
+ "since": "1.3.1",
70752
+ "type": [
70753
+ "string",
70754
+ "number"
70755
+ ]
70707
70756
  },
70708
70757
  "lineThrough": {
70709
70758
  "description": "中划线",
@@ -73248,34 +73297,34 @@
73248
73297
  },
73249
73298
  "Promise<FontFaceSet>": {
73250
73299
  "properties": {
73251
- "__@toStringTag@11527": {
73300
+ "__@toStringTag@11528": {
73252
73301
  "type": "string"
73253
73302
  }
73254
73303
  },
73255
73304
  "required": [
73256
- "__@toStringTag@11527"
73305
+ "__@toStringTag@11528"
73257
73306
  ],
73258
73307
  "type": "object"
73259
73308
  },
73260
73309
  "Promise<ServiceWorkerRegistration>": {
73261
73310
  "properties": {
73262
- "__@toStringTag@11527": {
73311
+ "__@toStringTag@11528": {
73263
73312
  "type": "string"
73264
73313
  }
73265
73314
  },
73266
73315
  "required": [
73267
- "__@toStringTag@11527"
73316
+ "__@toStringTag@11528"
73268
73317
  ],
73269
73318
  "type": "object"
73270
73319
  },
73271
73320
  "Promise<any>": {
73272
73321
  "properties": {
73273
- "__@toStringTag@11527": {
73322
+ "__@toStringTag@11528": {
73274
73323
  "type": "string"
73275
73324
  }
73276
73325
  },
73277
73326
  "required": [
73278
- "__@toStringTag@11527"
73327
+ "__@toStringTag@11528"
73279
73328
  ],
73280
73329
  "type": "object"
73281
73330
  },
@@ -83467,6 +83516,25 @@
83467
83516
  }
83468
83517
  ]
83469
83518
  },
83519
+ "VisualType<string|number>": {
83520
+ "anyOf": [
83521
+ {
83522
+ "$ref": "#/definitions/IVisualScale"
83523
+ },
83524
+ {
83525
+ "typeof": "function"
83526
+ },
83527
+ {
83528
+ "$ref": "#/definitions/IVisualSpecStyle<unknown,string|number>"
83529
+ },
83530
+ {
83531
+ "type": [
83532
+ "string",
83533
+ "number"
83534
+ ]
83535
+ }
83536
+ ]
83537
+ },
83470
83538
  "VisualType<{x:number;y:number;}>": {
83471
83539
  "anyOf": [
83472
83540
  {