@visactor/vchart-schema 1.10.5-alpha.1 → 1.10.5

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 +149 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.10.5-alpha.1",
3
+ "version": "1.10.5",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
package/vchart.json CHANGED
@@ -4674,6 +4674,9 @@
4674
4674
  "fillOpacity": {
4675
4675
  "$ref": "#/definitions/VisualType<number>"
4676
4676
  },
4677
+ "forceBreakLine": {
4678
+ "$ref": "#/definitions/VisualType<boolean>"
4679
+ },
4677
4680
  "height": {
4678
4681
  "$ref": "#/definitions/VisualType<number>"
4679
4682
  },
@@ -4798,6 +4801,7 @@
4798
4801
  },
4799
4802
  "required": [
4800
4803
  "ellipsis",
4804
+ "forceBreakLine",
4801
4805
  "height",
4802
4806
  "layoutDirection",
4803
4807
  "maxHeight",
@@ -8343,6 +8347,112 @@
8343
8347
  ],
8344
8348
  "type": "object"
8345
8349
  },
8350
+ "ElementSelectTriggerOff": {
8351
+ "anyOf": [
8352
+ {
8353
+ "enum": [
8354
+ "click",
8355
+ "dblclick",
8356
+ "drag",
8357
+ "dragend",
8358
+ "dragenter",
8359
+ "dragleave",
8360
+ "dragover",
8361
+ "dragstart",
8362
+ "drop",
8363
+ "empty",
8364
+ "mousedown",
8365
+ "mouseenter",
8366
+ "mouseleave",
8367
+ "mousemove",
8368
+ "mouseout",
8369
+ "mouseover",
8370
+ "mouseup",
8371
+ "mouseupoutside",
8372
+ "none",
8373
+ "pan",
8374
+ "panend",
8375
+ "panstart",
8376
+ "pinch",
8377
+ "pinchend",
8378
+ "pinchstart",
8379
+ "pointerdown",
8380
+ "pointerenter",
8381
+ "pointerleave",
8382
+ "pointermove",
8383
+ "pointerout",
8384
+ "pointerover",
8385
+ "pointertap",
8386
+ "pointerup",
8387
+ "pointerupoutside",
8388
+ "press",
8389
+ "pressend",
8390
+ "pressup",
8391
+ "resize",
8392
+ "rightdown",
8393
+ "rightup",
8394
+ "rightupoutside",
8395
+ "swipe",
8396
+ "tap",
8397
+ "touchcancel",
8398
+ "touchend",
8399
+ "touchendoutside",
8400
+ "touchmove",
8401
+ "touchstart",
8402
+ "view:click",
8403
+ "view:dblclick",
8404
+ "view:drag",
8405
+ "view:dragend",
8406
+ "view:dragenter",
8407
+ "view:dragleave",
8408
+ "view:dragover",
8409
+ "view:dragstart",
8410
+ "view:drop",
8411
+ "view:mousedown",
8412
+ "view:mouseenter",
8413
+ "view:mouseleave",
8414
+ "view:mousemove",
8415
+ "view:mouseout",
8416
+ "view:mouseover",
8417
+ "view:mouseup",
8418
+ "view:mouseupoutside",
8419
+ "view:pan",
8420
+ "view:panend",
8421
+ "view:panstart",
8422
+ "view:pinch",
8423
+ "view:pinchend",
8424
+ "view:pinchstart",
8425
+ "view:pointerdown",
8426
+ "view:pointerenter",
8427
+ "view:pointerleave",
8428
+ "view:pointerout",
8429
+ "view:pointerover",
8430
+ "view:pointertap",
8431
+ "view:pointerup",
8432
+ "view:pointerupoutside",
8433
+ "view:press",
8434
+ "view:pressend",
8435
+ "view:pressup",
8436
+ "view:rightdown",
8437
+ "view:rightup",
8438
+ "view:rightupoutside",
8439
+ "view:swipe",
8440
+ "view:tap",
8441
+ "view:touchcancel",
8442
+ "view:touchend",
8443
+ "view:touchendoutside",
8444
+ "view:touchmove",
8445
+ "view:touchstart",
8446
+ "view:wheel",
8447
+ "wheel"
8448
+ ],
8449
+ "type": "string"
8450
+ },
8451
+ {
8452
+ "type": "number"
8453
+ }
8454
+ ]
8455
+ },
8346
8456
  "ElementSpec": {
8347
8457
  "anyOf": [
8348
8458
  {
@@ -31696,6 +31806,11 @@
31696
31806
  "$ref": "#/definitions/ILayoutNumber",
31697
31807
  "description": "模块绝对布局下,与图表右侧的距离。注意仅在 layoutType === 'absolute' 时生效"
31698
31808
  },
31809
+ "scale": {
31810
+ "description": "scale must match the id of the scale configured in **scales**\n离散图例对应的scale",
31811
+ "since": "1.10.5",
31812
+ "type": "string"
31813
+ },
31699
31814
  "scaleCenter": {
31700
31815
  "items": [
31701
31816
  {
@@ -31716,7 +31831,7 @@
31716
31831
  "type": "array"
31717
31832
  },
31718
31833
  "scaleName": {
31719
- "description": "scaleName must match the id of the scale configured in **scales**",
31834
+ "description": "同`scale`,为了和连续图例保持一致,建议统一为`scale`",
31720
31835
  "type": "string"
31721
31836
  },
31722
31837
  "scaleX": {
@@ -65256,6 +65371,9 @@
65256
65371
  "pause": {
65257
65372
  "typeof": "function"
65258
65373
  },
65374
+ "remTimeline": {
65375
+ "typeof": "function"
65376
+ },
65259
65377
  "resume": {
65260
65378
  "typeof": "function"
65261
65379
  },
@@ -65281,6 +65399,7 @@
65281
65399
  "required": [
65282
65400
  "addTimeline",
65283
65401
  "pause",
65402
+ "remTimeline",
65284
65403
  "resume",
65285
65404
  "start",
65286
65405
  "stop",
@@ -72978,7 +73097,7 @@
72978
73097
  },
72979
73098
  "Map<Function,(...args:any[])=>void>": {
72980
73099
  "properties": {
72981
- "__@toStringTag@12948": {
73100
+ "__@toStringTag@12965": {
72982
73101
  "type": "string"
72983
73102
  },
72984
73103
  "size": {
@@ -72986,14 +73105,14 @@
72986
73105
  }
72987
73106
  },
72988
73107
  "required": [
72989
- "__@toStringTag@12948",
73108
+ "__@toStringTag@12965",
72990
73109
  "size"
72991
73110
  ],
72992
73111
  "type": "object"
72993
73112
  },
72994
73113
  "Map<number,IGraphicPicker>": {
72995
73114
  "properties": {
72996
- "__@toStringTag@12948": {
73115
+ "__@toStringTag@12965": {
72997
73116
  "type": "string"
72998
73117
  },
72999
73118
  "size": {
@@ -73001,14 +73120,14 @@
73001
73120
  }
73002
73121
  },
73003
73122
  "required": [
73004
- "__@toStringTag@12948",
73123
+ "__@toStringTag@12965",
73005
73124
  "size"
73006
73125
  ],
73007
73126
  "type": "object"
73008
73127
  },
73009
73128
  "Map<number,IGraphicRender>": {
73010
73129
  "properties": {
73011
- "__@toStringTag@12948": {
73130
+ "__@toStringTag@12965": {
73012
73131
  "type": "string"
73013
73132
  },
73014
73133
  "size": {
@@ -73016,14 +73135,14 @@
73016
73135
  }
73017
73136
  },
73018
73137
  "required": [
73019
- "__@toStringTag@12948",
73138
+ "__@toStringTag@12965",
73020
73139
  "size"
73021
73140
  ],
73022
73141
  "type": "object"
73023
73142
  },
73024
73143
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
73025
73144
  "properties": {
73026
- "__@toStringTag@12948": {
73145
+ "__@toStringTag@12965": {
73027
73146
  "type": "string"
73028
73147
  },
73029
73148
  "size": {
@@ -73031,14 +73150,14 @@
73031
73150
  }
73032
73151
  },
73033
73152
  "required": [
73034
- "__@toStringTag@12948",
73153
+ "__@toStringTag@12965",
73035
73154
  "size"
73036
73155
  ],
73037
73156
  "type": "object"
73038
73157
  },
73039
73158
  "Map<string,Map<number,IGraphicRender>>": {
73040
73159
  "properties": {
73041
- "__@toStringTag@12948": {
73160
+ "__@toStringTag@12965": {
73042
73161
  "type": "string"
73043
73162
  },
73044
73163
  "size": {
@@ -73046,14 +73165,14 @@
73046
73165
  }
73047
73166
  },
73048
73167
  "required": [
73049
- "__@toStringTag@12948",
73168
+ "__@toStringTag@12965",
73050
73169
  "size"
73051
73170
  ],
73052
73171
  "type": "object"
73053
73172
  },
73054
73173
  "Map<string,any>": {
73055
73174
  "properties": {
73056
- "__@toStringTag@12948": {
73175
+ "__@toStringTag@12965": {
73057
73176
  "type": "string"
73058
73177
  },
73059
73178
  "size": {
@@ -73061,14 +73180,14 @@
73061
73180
  }
73062
73181
  },
73063
73182
  "required": [
73064
- "__@toStringTag@12948",
73183
+ "__@toStringTag@12965",
73065
73184
  "size"
73066
73185
  ],
73067
73186
  "type": "object"
73068
73187
  },
73069
73188
  "Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
73070
73189
  "properties": {
73071
- "__@toStringTag@12948": {
73190
+ "__@toStringTag@12965": {
73072
73191
  "type": "string"
73073
73192
  },
73074
73193
  "size": {
@@ -73076,14 +73195,14 @@
73076
73195
  }
73077
73196
  },
73078
73197
  "required": [
73079
- "__@toStringTag@12948",
73198
+ "__@toStringTag@12965",
73080
73199
  "size"
73081
73200
  ],
73082
73201
  "type": "object"
73083
73202
  },
73084
73203
  "Map<string|HTMLElement,{container:string|HTMLElement;dom:any;wrapGroup:any;root?:any;}>": {
73085
73204
  "properties": {
73086
- "__@toStringTag@12948": {
73205
+ "__@toStringTag@12965": {
73087
73206
  "type": "string"
73088
73207
  },
73089
73208
  "size": {
@@ -73091,14 +73210,14 @@
73091
73210
  }
73092
73211
  },
73093
73212
  "required": [
73094
- "__@toStringTag@12948",
73213
+ "__@toStringTag@12965",
73095
73214
  "size"
73096
73215
  ],
73097
73216
  "type": "object"
73098
73217
  },
73099
73218
  "Map<string|number,IAnimate>": {
73100
73219
  "properties": {
73101
- "__@toStringTag@12948": {
73220
+ "__@toStringTag@12965": {
73102
73221
  "type": "string"
73103
73222
  },
73104
73223
  "size": {
@@ -73106,7 +73225,7 @@
73106
73225
  }
73107
73226
  },
73108
73227
  "required": [
73109
- "__@toStringTag@12948",
73228
+ "__@toStringTag@12965",
73110
73229
  "size"
73111
73230
  ],
73112
73231
  "type": "object"
@@ -91628,7 +91747,7 @@
91628
91747
  "anyOf": [
91629
91748
  {
91630
91749
  "items": {
91631
- "$ref": "#/definitions/EventType"
91750
+ "$ref": "#/definitions/ElementSelectTriggerOff"
91632
91751
  },
91633
91752
  "type": "array"
91634
91753
  },
@@ -92010,34 +92129,34 @@
92010
92129
  },
92011
92130
  "Promise<FontFaceSet>": {
92012
92131
  "properties": {
92013
- "__@toStringTag@12948": {
92132
+ "__@toStringTag@12965": {
92014
92133
  "type": "string"
92015
92134
  }
92016
92135
  },
92017
92136
  "required": [
92018
- "__@toStringTag@12948"
92137
+ "__@toStringTag@12965"
92019
92138
  ],
92020
92139
  "type": "object"
92021
92140
  },
92022
92141
  "Promise<ServiceWorkerRegistration>": {
92023
92142
  "properties": {
92024
- "__@toStringTag@12948": {
92143
+ "__@toStringTag@12965": {
92025
92144
  "type": "string"
92026
92145
  }
92027
92146
  },
92028
92147
  "required": [
92029
- "__@toStringTag@12948"
92148
+ "__@toStringTag@12965"
92030
92149
  ],
92031
92150
  "type": "object"
92032
92151
  },
92033
92152
  "Promise<any>": {
92034
92153
  "properties": {
92035
- "__@toStringTag@12948": {
92154
+ "__@toStringTag@12965": {
92036
92155
  "type": "string"
92037
92156
  }
92038
92157
  },
92039
92158
  "required": [
92040
- "__@toStringTag@12948"
92159
+ "__@toStringTag@12965"
92041
92160
  ],
92042
92161
  "type": "object"
92043
92162
  },
@@ -98097,6 +98216,9 @@
98097
98216
  "number"
98098
98217
  ]
98099
98218
  },
98219
+ "forceBreakLine": {
98220
+ "type": "boolean"
98221
+ },
98100
98222
  "globalCompositeOperation": {
98101
98223
  "enum": [
98102
98224
  "",
@@ -98465,6 +98587,7 @@
98465
98587
  "fontStyle",
98466
98588
  "fontVariant",
98467
98589
  "fontWeight",
98590
+ "forceBreakLine",
98468
98591
  "globalCompositeOperation",
98469
98592
  "globalZIndex",
98470
98593
  "height",