@visactor/vchart-schema 1.7.0-alpha.2 → 1.7.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/vchart.json +355 -114
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.7.0-alpha.2",
3
+ "version": "1.7.0",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
@@ -19,8 +19,8 @@
19
19
  "jest-electron": "^0.1.12",
20
20
  "ts-jest": "^26.0.0",
21
21
  "@types/semver": "7.3.12",
22
- "@internal/eslint-config": "0.0.1",
23
- "@internal/ts-config": "0.0.1"
22
+ "@internal/ts-config": "0.0.1",
23
+ "@internal/eslint-config": "0.0.1"
24
24
  },
25
25
  "homepage": "",
26
26
  "bugs": "https://github.com/VisActor/VChart/issues",
package/vchart.json CHANGED
@@ -5752,7 +5752,7 @@
5752
5752
  "$ref": "#/definitions/VisualType<number>"
5753
5753
  },
5754
5754
  "text": {
5755
- "$ref": "#/definitions/VisualType<string[]|StringOrNumber>",
5755
+ "$ref": "#/definitions/VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>",
5756
5756
  "description": "文字内容"
5757
5757
  },
5758
5758
  "textAlign": {
@@ -5779,6 +5779,11 @@
5779
5779
  "$ref": "#/definitions/VisualType<number>",
5780
5780
  "description": "纹理单元的大小"
5781
5781
  },
5782
+ "type": {
5783
+ "$ref": "#/definitions/VisualType<\"text\"|\"html\"|\"rich\">",
5784
+ "default": "'text'",
5785
+ "description": "文字类型\n可选,'html', 'rich', 'text'"
5786
+ },
5782
5787
  "underline": {
5783
5788
  "$ref": "#/definitions/VisualType<boolean>",
5784
5789
  "description": "下划线"
@@ -5929,7 +5934,7 @@
5929
5934
  "$ref": "#/definitions/VisualType<number>"
5930
5935
  },
5931
5936
  "text": {
5932
- "$ref": "#/definitions/VisualType<string[]|StringOrNumber>",
5937
+ "$ref": "#/definitions/VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>",
5933
5938
  "description": "文字内容"
5934
5939
  },
5935
5940
  "textAlign": {
@@ -5956,6 +5961,11 @@
5956
5961
  "$ref": "#/definitions/VisualType<number>",
5957
5962
  "description": "纹理单元的大小"
5958
5963
  },
5964
+ "type": {
5965
+ "$ref": "#/definitions/VisualType<\"text\"|\"html\"|\"rich\">",
5966
+ "default": "'text'",
5967
+ "description": "文字类型\n可选,'html', 'rich', 'text'"
5968
+ },
5959
5969
  "underline": {
5960
5970
  "$ref": "#/definitions/VisualType<boolean>",
5961
5971
  "description": "下划线"
@@ -6106,7 +6116,7 @@
6106
6116
  "$ref": "#/definitions/VisualType<number>"
6107
6117
  },
6108
6118
  "text": {
6109
- "$ref": "#/definitions/VisualType<string[]|StringOrNumber>",
6119
+ "$ref": "#/definitions/VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>",
6110
6120
  "description": "文字内容"
6111
6121
  },
6112
6122
  "textAlign": {
@@ -6133,6 +6143,11 @@
6133
6143
  "$ref": "#/definitions/VisualType<number>",
6134
6144
  "description": "纹理单元的大小"
6135
6145
  },
6146
+ "type": {
6147
+ "$ref": "#/definitions/VisualType<\"text\"|\"html\"|\"rich\">",
6148
+ "default": "'text'",
6149
+ "description": "文字类型\n可选,'html', 'rich', 'text'"
6150
+ },
6136
6151
  "underline": {
6137
6152
  "$ref": "#/definitions/VisualType<boolean>",
6138
6153
  "description": "下划线"
@@ -8332,6 +8347,29 @@
8332
8347
  "normal"
8333
8348
  ]
8334
8349
  },
8350
+ "Function": {
8351
+ "properties": {
8352
+ "arguments": {},
8353
+ "caller": {
8354
+ "$ref": "#/definitions/Function"
8355
+ },
8356
+ "length": {
8357
+ "type": "number"
8358
+ },
8359
+ "name": {
8360
+ "type": "string"
8361
+ },
8362
+ "prototype": {}
8363
+ },
8364
+ "required": [
8365
+ "arguments",
8366
+ "caller",
8367
+ "length",
8368
+ "name",
8369
+ "prototype"
8370
+ ],
8371
+ "type": "object"
8372
+ },
8335
8373
  "Functional<\"center\"|\"left\"|\"right\"|\"bottom\"|\"top\"|\"top-right\"|\"top-left\"|\"bottom-right\"|\"bottom-left\">": {
8336
8374
  "anyOf": [
8337
8375
  {
@@ -18062,6 +18100,9 @@
18062
18100
  "description": "是否支持3D",
18063
18101
  "type": "boolean"
18064
18102
  },
18103
+ "textType": {
18104
+ "type": "string"
18105
+ },
18065
18106
  "top": {
18066
18107
  "$ref": "#/definitions/ILayoutNumber",
18067
18108
  "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
@@ -38680,12 +38721,19 @@
38680
38721
  "type": "number"
38681
38722
  },
38682
38723
  "style": {
38683
- "additionalProperties": false,
38684
- "description": "文字样式",
38685
- "patternProperties": {
38686
- "^[a-zA-Z0-9]+$": {}
38687
- },
38688
- "type": "object"
38724
+ "allOf": [
38725
+ {
38726
+ "additionalProperties": false,
38727
+ "patternProperties": {
38728
+ "^[a-zA-Z0-9]+$": {}
38729
+ },
38730
+ "type": "object"
38731
+ },
38732
+ {
38733
+ "typeof": "function"
38734
+ }
38735
+ ],
38736
+ "description": "文字样式"
38689
38737
  },
38690
38738
  "visible": {
38691
38739
  "default": true,
@@ -39222,7 +39270,7 @@
39222
39270
  },
39223
39271
  "text": {
39224
39272
  "$ref": "#/definitions/IMarkerLabelSpec",
39225
- "description": "type为text时, text的样式"
39273
+ "description": "type为text时, text的样式\n'text'类型的ItemContent新增三种子类型:'text','rich','html'。配置在textStyle.type上。"
39226
39274
  },
39227
39275
  "type": {
39228
39276
  "description": "标注类型",
@@ -39272,6 +39320,15 @@
39272
39320
  ],
39273
39321
  "description": "文本样式设置"
39274
39322
  },
39323
+ "type": {
39324
+ "description": "文本类型:text, rich, html",
39325
+ "enum": [
39326
+ "html",
39327
+ "rich",
39328
+ "text"
39329
+ ],
39330
+ "type": "string"
39331
+ },
39275
39332
  "visible": {
39276
39333
  "type": "boolean"
39277
39334
  }
@@ -39527,6 +39584,9 @@
39527
39584
  "description": "是否支持3D",
39528
39585
  "type": "boolean"
39529
39586
  },
39587
+ "textType": {
39588
+ "type": "string"
39589
+ },
39530
39590
  "top": {
39531
39591
  "$ref": "#/definitions/ILayoutNumber",
39532
39592
  "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
@@ -60579,12 +60639,21 @@
60579
60639
  },
60580
60640
  "text": {
60581
60641
  "anyOf": [
60642
+ {
60643
+ "$ref": "#/definitions/Function"
60644
+ },
60582
60645
  {
60583
60646
  "items": {
60584
60647
  "type": "string"
60585
60648
  },
60586
60649
  "type": "array"
60587
60650
  },
60651
+ {
60652
+ "items": {
60653
+ "$ref": "#/definitions/IRichTextCharacter"
60654
+ },
60655
+ "type": "array"
60656
+ },
60588
60657
  {
60589
60658
  "type": [
60590
60659
  "string",
@@ -60618,6 +60687,16 @@
60618
60687
  "description": "纹理单元的大小",
60619
60688
  "type": "number"
60620
60689
  },
60690
+ "type": {
60691
+ "default": "'text'",
60692
+ "description": "文字类型\n可选,'html', 'rich', 'text'",
60693
+ "enum": [
60694
+ "html",
60695
+ "rich",
60696
+ "text"
60697
+ ],
60698
+ "type": "string"
60699
+ },
60621
60700
  "underline": {
60622
60701
  "description": "下划线",
60623
60702
  "type": "boolean"
@@ -60946,10 +61025,26 @@
60946
61025
  },
60947
61026
  "type": "array"
60948
61027
  },
61028
+ {
61029
+ "items": {
61030
+ "$ref": "#/definitions/IRichTextCharacter"
61031
+ },
61032
+ "type": "array"
61033
+ },
60949
61034
  {
60950
61035
  "type": "string"
60951
61036
  }
60952
- ]
61037
+ ],
61038
+ "description": "文本内容\n支持富文本内容, 如textConfig, html"
61039
+ },
61040
+ "type": {
61041
+ "description": "文本类型:text, rich, html",
61042
+ "enum": [
61043
+ "html",
61044
+ "rich",
61045
+ "text"
61046
+ ],
61047
+ "type": "string"
60953
61048
  },
60954
61049
  "visible": {
60955
61050
  "type": "boolean"
@@ -61119,7 +61214,19 @@
61119
61214
  "anyOf": [
61120
61215
  {
61121
61216
  "items": {
61122
- "$ref": "#/definitions/StringOrNumber"
61217
+ "type": "string"
61218
+ },
61219
+ "type": "array"
61220
+ },
61221
+ {
61222
+ "items": {
61223
+ "type": "number"
61224
+ },
61225
+ "type": "array"
61226
+ },
61227
+ {
61228
+ "items": {
61229
+ "$ref": "#/definitions/IRichTextCharacter"
61123
61230
  },
61124
61231
  "type": "array"
61125
61232
  },
@@ -61130,7 +61237,7 @@
61130
61237
  ]
61131
61238
  }
61132
61239
  ],
61133
- "description": "副标题内容"
61240
+ "description": "副标题文本内容\n- 支持富文本配置"
61134
61241
  },
61135
61242
  "subtextStyle": {
61136
61243
  "allOf": [
@@ -61143,11 +61250,27 @@
61143
61250
  ],
61144
61251
  "description": "副标题样式"
61145
61252
  },
61253
+ "subtextType": {
61254
+ "description": "副标题文本类型(默认类型为text)\ntext, rich, html",
61255
+ "type": "string"
61256
+ },
61146
61257
  "text": {
61147
61258
  "anyOf": [
61148
61259
  {
61149
61260
  "items": {
61150
- "$ref": "#/definitions/StringOrNumber"
61261
+ "type": "string"
61262
+ },
61263
+ "type": "array"
61264
+ },
61265
+ {
61266
+ "items": {
61267
+ "type": "number"
61268
+ },
61269
+ "type": "array"
61270
+ },
61271
+ {
61272
+ "items": {
61273
+ "$ref": "#/definitions/IRichTextCharacter"
61151
61274
  },
61152
61275
  "type": "array"
61153
61276
  },
@@ -61158,7 +61281,7 @@
61158
61281
  ]
61159
61282
  }
61160
61283
  ],
61161
- "description": "主标题内容"
61284
+ "description": "主标题文本内容\n- 支持富文本配置"
61162
61285
  },
61163
61286
  "textStyle": {
61164
61287
  "allOf": [
@@ -61171,6 +61294,10 @@
61171
61294
  ],
61172
61295
  "description": "主标题样式"
61173
61296
  },
61297
+ "textType": {
61298
+ "description": "主标题文本类型(默认类型为text)\ntext, rich, html",
61299
+ "type": "string"
61300
+ },
61174
61301
  "top": {
61175
61302
  "$ref": "#/definitions/ILayoutNumber",
61176
61303
  "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
@@ -61200,9 +61327,6 @@
61200
61327
  "type": "number"
61201
61328
  }
61202
61329
  },
61203
- "required": [
61204
- "text"
61205
- ],
61206
61330
  "type": "object"
61207
61331
  },
61208
61332
  "ITitleTextTheme": {
@@ -61410,8 +61534,8 @@
61410
61534
  "since": "1.4.0"
61411
61535
  },
61412
61536
  "value": {
61413
- "$ref": "#/definitions/TooltipContentProperty<string>",
61414
- "description": "tooltip value 值内容"
61537
+ "$ref": "#/definitions/TooltipContentProperty<string|TooltipRichTextAttrs>",
61538
+ "description": "tooltip value 值内容\n支持富文本配置\n - type 文本类型:text, rich, html\n - text 文本内容:string | string[] | number | number[] | IRichTextCharacter[];"
61415
61539
  },
61416
61540
  "valueStyle": {
61417
61541
  "$ref": "#/definitions/TooltipContentProperty<ITooltipTextTheme<string>>",
@@ -63188,6 +63312,43 @@
63188
63312
  ],
63189
63313
  "type": "object"
63190
63314
  },
63315
+ "IVisualSpecStyle<unknown,\"text\"|\"html\"|\"rich\">": {
63316
+ "properties": {
63317
+ "domain": {
63318
+ "description": "will set to scale.domain, it means input of scale",
63319
+ "items": {},
63320
+ "type": "array"
63321
+ },
63322
+ "field": {
63323
+ "type": "string"
63324
+ },
63325
+ "range": {
63326
+ "description": "will set to scale.range, it means output of scale",
63327
+ "items": {
63328
+ "enum": [
63329
+ "html",
63330
+ "rich",
63331
+ "text"
63332
+ ],
63333
+ "type": "string"
63334
+ },
63335
+ "type": "array"
63336
+ },
63337
+ "specified": {
63338
+ "typeof": "function"
63339
+ },
63340
+ "type": {
63341
+ "$ref": "#/definitions/ScaleType",
63342
+ "description": "type of scale"
63343
+ }
63344
+ },
63345
+ "required": [
63346
+ "domain",
63347
+ "range",
63348
+ "type"
63349
+ ],
63350
+ "type": "object"
63351
+ },
63191
63352
  "IVisualSpecStyle<unknown,(datum:Datum)=>number>": {
63192
63353
  "properties": {
63193
63354
  "domain": {
@@ -63444,6 +63605,60 @@
63444
63605
  ],
63445
63606
  "type": "object"
63446
63607
  },
63608
+ "IVisualSpecStyle<unknown,Function|string[]|StringOrNumber|IRichTextCharacter[]>": {
63609
+ "properties": {
63610
+ "domain": {
63611
+ "description": "will set to scale.domain, it means input of scale",
63612
+ "items": {},
63613
+ "type": "array"
63614
+ },
63615
+ "field": {
63616
+ "type": "string"
63617
+ },
63618
+ "range": {
63619
+ "description": "will set to scale.range, it means output of scale",
63620
+ "items": {
63621
+ "anyOf": [
63622
+ {
63623
+ "$ref": "#/definitions/Function"
63624
+ },
63625
+ {
63626
+ "items": {
63627
+ "type": "string"
63628
+ },
63629
+ "type": "array"
63630
+ },
63631
+ {
63632
+ "items": {
63633
+ "$ref": "#/definitions/IRichTextCharacter"
63634
+ },
63635
+ "type": "array"
63636
+ },
63637
+ {
63638
+ "type": [
63639
+ "string",
63640
+ "number"
63641
+ ]
63642
+ }
63643
+ ]
63644
+ },
63645
+ "type": "array"
63646
+ },
63647
+ "specified": {
63648
+ "typeof": "function"
63649
+ },
63650
+ "type": {
63651
+ "$ref": "#/definitions/ScaleType",
63652
+ "description": "type of scale"
63653
+ }
63654
+ },
63655
+ "required": [
63656
+ "domain",
63657
+ "range",
63658
+ "type"
63659
+ ],
63660
+ "type": "object"
63661
+ },
63447
63662
  "IVisualSpecStyle<unknown,IBorder>": {
63448
63663
  "properties": {
63449
63664
  "domain": {
@@ -64108,51 +64323,6 @@
64108
64323
  ],
64109
64324
  "type": "object"
64110
64325
  },
64111
- "IVisualSpecStyle<unknown,string[]|StringOrNumber>": {
64112
- "properties": {
64113
- "domain": {
64114
- "description": "will set to scale.domain, it means input of scale",
64115
- "items": {},
64116
- "type": "array"
64117
- },
64118
- "field": {
64119
- "type": "string"
64120
- },
64121
- "range": {
64122
- "description": "will set to scale.range, it means output of scale",
64123
- "items": {
64124
- "anyOf": [
64125
- {
64126
- "items": {
64127
- "type": "string"
64128
- },
64129
- "type": "array"
64130
- },
64131
- {
64132
- "type": [
64133
- "string",
64134
- "number"
64135
- ]
64136
- }
64137
- ]
64138
- },
64139
- "type": "array"
64140
- },
64141
- "specified": {
64142
- "typeof": "function"
64143
- },
64144
- "type": {
64145
- "$ref": "#/definitions/ScaleType",
64146
- "description": "type of scale"
64147
- }
64148
- },
64149
- "required": [
64150
- "domain",
64151
- "range",
64152
- "type"
64153
- ],
64154
- "type": "object"
64155
- },
64156
64326
  "IVisualSpecStyle<unknown,string|HTMLCanvasElement|HTMLImageElement>": {
64157
64327
  "properties": {
64158
64328
  "domain": {
@@ -67661,7 +67831,7 @@
67661
67831
  },
67662
67832
  "Map<Function,(...args:any[])=>void>": {
67663
67833
  "properties": {
67664
- "__@toStringTag@13814": {
67834
+ "__@toStringTag@13826": {
67665
67835
  "type": "string"
67666
67836
  },
67667
67837
  "size": {
@@ -67669,14 +67839,14 @@
67669
67839
  }
67670
67840
  },
67671
67841
  "required": [
67672
- "__@toStringTag@13814",
67842
+ "__@toStringTag@13826",
67673
67843
  "size"
67674
67844
  ],
67675
67845
  "type": "object"
67676
67846
  },
67677
67847
  "Map<number,IGraphicPicker>": {
67678
67848
  "properties": {
67679
- "__@toStringTag@13814": {
67849
+ "__@toStringTag@13826": {
67680
67850
  "type": "string"
67681
67851
  },
67682
67852
  "size": {
@@ -67684,14 +67854,14 @@
67684
67854
  }
67685
67855
  },
67686
67856
  "required": [
67687
- "__@toStringTag@13814",
67857
+ "__@toStringTag@13826",
67688
67858
  "size"
67689
67859
  ],
67690
67860
  "type": "object"
67691
67861
  },
67692
67862
  "Map<number,IGraphicRender>": {
67693
67863
  "properties": {
67694
- "__@toStringTag@13814": {
67864
+ "__@toStringTag@13826": {
67695
67865
  "type": "string"
67696
67866
  },
67697
67867
  "size": {
@@ -67699,14 +67869,14 @@
67699
67869
  }
67700
67870
  },
67701
67871
  "required": [
67702
- "__@toStringTag@13814",
67872
+ "__@toStringTag@13826",
67703
67873
  "size"
67704
67874
  ],
67705
67875
  "type": "object"
67706
67876
  },
67707
67877
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
67708
67878
  "properties": {
67709
- "__@toStringTag@13814": {
67879
+ "__@toStringTag@13826": {
67710
67880
  "type": "string"
67711
67881
  },
67712
67882
  "size": {
@@ -67714,14 +67884,14 @@
67714
67884
  }
67715
67885
  },
67716
67886
  "required": [
67717
- "__@toStringTag@13814",
67887
+ "__@toStringTag@13826",
67718
67888
  "size"
67719
67889
  ],
67720
67890
  "type": "object"
67721
67891
  },
67722
67892
  "Map<string,Map<number,IGraphicRender>>": {
67723
67893
  "properties": {
67724
- "__@toStringTag@13814": {
67894
+ "__@toStringTag@13826": {
67725
67895
  "type": "string"
67726
67896
  },
67727
67897
  "size": {
@@ -67729,14 +67899,14 @@
67729
67899
  }
67730
67900
  },
67731
67901
  "required": [
67732
- "__@toStringTag@13814",
67902
+ "__@toStringTag@13826",
67733
67903
  "size"
67734
67904
  ],
67735
67905
  "type": "object"
67736
67906
  },
67737
67907
  "Map<string,any>": {
67738
67908
  "properties": {
67739
- "__@toStringTag@13814": {
67909
+ "__@toStringTag@13826": {
67740
67910
  "type": "string"
67741
67911
  },
67742
67912
  "size": {
@@ -67744,14 +67914,14 @@
67744
67914
  }
67745
67915
  },
67746
67916
  "required": [
67747
- "__@toStringTag@13814",
67917
+ "__@toStringTag@13826",
67748
67918
  "size"
67749
67919
  ],
67750
67920
  "type": "object"
67751
67921
  },
67752
67922
  "Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
67753
67923
  "properties": {
67754
- "__@toStringTag@13814": {
67924
+ "__@toStringTag@13826": {
67755
67925
  "type": "string"
67756
67926
  },
67757
67927
  "size": {
@@ -67759,14 +67929,14 @@
67759
67929
  }
67760
67930
  },
67761
67931
  "required": [
67762
- "__@toStringTag@13814",
67932
+ "__@toStringTag@13826",
67763
67933
  "size"
67764
67934
  ],
67765
67935
  "type": "object"
67766
67936
  },
67767
67937
  "Map<string|HTMLElement,{container:string|HTMLElement;dom:HTMLElement;wrapGroup:HTMLDivElement;}>": {
67768
67938
  "properties": {
67769
- "__@toStringTag@13814": {
67939
+ "__@toStringTag@13826": {
67770
67940
  "type": "string"
67771
67941
  },
67772
67942
  "size": {
@@ -67774,14 +67944,14 @@
67774
67944
  }
67775
67945
  },
67776
67946
  "required": [
67777
- "__@toStringTag@13814",
67947
+ "__@toStringTag@13826",
67778
67948
  "size"
67779
67949
  ],
67780
67950
  "type": "object"
67781
67951
  },
67782
67952
  "Map<string|number,IAnimate>": {
67783
67953
  "properties": {
67784
- "__@toStringTag@13814": {
67954
+ "__@toStringTag@13826": {
67785
67955
  "type": "string"
67786
67956
  },
67787
67957
  "size": {
@@ -67789,7 +67959,7 @@
67789
67959
  }
67790
67960
  },
67791
67961
  "required": [
67792
- "__@toStringTag@13814",
67962
+ "__@toStringTag@13826",
67793
67963
  "size"
67794
67964
  ],
67795
67965
  "type": "object"
@@ -71315,6 +71485,9 @@
71315
71485
  "description": "是否支持3D",
71316
71486
  "type": "boolean"
71317
71487
  },
71488
+ "textType": {
71489
+ "type": "string"
71490
+ },
71318
71491
  "top": {
71319
71492
  "$ref": "#/definitions/ILayoutNumber",
71320
71493
  "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
@@ -76278,6 +76451,9 @@
76278
76451
  "description": "是否支持3D",
76279
76452
  "type": "boolean"
76280
76453
  },
76454
+ "textType": {
76455
+ "type": "string"
76456
+ },
76281
76457
  "top": {
76282
76458
  "$ref": "#/definitions/ILayoutNumber",
76283
76459
  "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
@@ -76922,6 +77098,9 @@
76922
77098
  "description": "是否支持3D",
76923
77099
  "type": "boolean"
76924
77100
  },
77101
+ "textType": {
77102
+ "type": "string"
77103
+ },
76925
77104
  "top": {
76926
77105
  "$ref": "#/definitions/ILayoutNumber",
76927
77106
  "description": "模块绝对布局下,与图表顶部的距离。注意仅在 layoutType === 'absolute' 时生效"
@@ -80662,12 +80841,21 @@
80662
80841
  },
80663
80842
  "text": {
80664
80843
  "anyOf": [
80844
+ {
80845
+ "$ref": "#/definitions/Function"
80846
+ },
80665
80847
  {
80666
80848
  "items": {
80667
80849
  "type": "string"
80668
80850
  },
80669
80851
  "type": "array"
80670
80852
  },
80853
+ {
80854
+ "items": {
80855
+ "$ref": "#/definitions/IRichTextCharacter"
80856
+ },
80857
+ "type": "array"
80858
+ },
80671
80859
  {
80672
80860
  "type": [
80673
80861
  "string",
@@ -80701,6 +80889,16 @@
80701
80889
  "description": "纹理单元的大小",
80702
80890
  "type": "number"
80703
80891
  },
80892
+ "type": {
80893
+ "default": "'text'",
80894
+ "description": "文字类型\n可选,'html', 'rich', 'text'",
80895
+ "enum": [
80896
+ "html",
80897
+ "rich",
80898
+ "text"
80899
+ ],
80900
+ "type": "string"
80901
+ },
80704
80902
  "underline": {
80705
80903
  "description": "下划线",
80706
80904
  "type": "boolean"
@@ -83559,34 +83757,34 @@
83559
83757
  },
83560
83758
  "Promise<FontFaceSet>": {
83561
83759
  "properties": {
83562
- "__@toStringTag@13814": {
83760
+ "__@toStringTag@13826": {
83563
83761
  "type": "string"
83564
83762
  }
83565
83763
  },
83566
83764
  "required": [
83567
- "__@toStringTag@13814"
83765
+ "__@toStringTag@13826"
83568
83766
  ],
83569
83767
  "type": "object"
83570
83768
  },
83571
83769
  "Promise<ServiceWorkerRegistration>": {
83572
83770
  "properties": {
83573
- "__@toStringTag@13814": {
83771
+ "__@toStringTag@13826": {
83574
83772
  "type": "string"
83575
83773
  }
83576
83774
  },
83577
83775
  "required": [
83578
- "__@toStringTag@13814"
83776
+ "__@toStringTag@13826"
83579
83777
  ],
83580
83778
  "type": "object"
83581
83779
  },
83582
83780
  "Promise<any>": {
83583
83781
  "properties": {
83584
- "__@toStringTag@13814": {
83782
+ "__@toStringTag@13826": {
83585
83783
  "type": "string"
83586
83784
  }
83587
83785
  },
83588
83786
  "required": [
83589
- "__@toStringTag@13814"
83787
+ "__@toStringTag@13826"
83590
83788
  ],
83591
83789
  "type": "object"
83592
83790
  },
@@ -94367,6 +94565,19 @@
94367
94565
  }
94368
94566
  ]
94369
94567
  },
94568
+ "TooltipContentProperty<string|TooltipRichTextAttrs>": {
94569
+ "anyOf": [
94570
+ {
94571
+ "typeof": "function"
94572
+ },
94573
+ {
94574
+ "typeof": "function"
94575
+ },
94576
+ {
94577
+ "type": "string"
94578
+ }
94579
+ ]
94580
+ },
94370
94581
  "TooltipPatternProperty<IToolTipLinePattern>": {
94371
94582
  "anyOf": [
94372
94583
  {
@@ -94573,6 +94784,27 @@
94573
94784
  }
94574
94785
  ]
94575
94786
  },
94787
+ "VisualType<\"text\"|\"html\"|\"rich\">": {
94788
+ "anyOf": [
94789
+ {
94790
+ "$ref": "#/definitions/IVisualScale"
94791
+ },
94792
+ {
94793
+ "typeof": "function"
94794
+ },
94795
+ {
94796
+ "$ref": "#/definitions/IVisualSpecStyle<unknown,\"text\"|\"html\"|\"rich\">"
94797
+ },
94798
+ {
94799
+ "enum": [
94800
+ "html",
94801
+ "rich",
94802
+ "text"
94803
+ ],
94804
+ "type": "string"
94805
+ }
94806
+ ]
94807
+ },
94576
94808
  "VisualType<(datum:Datum)=>number>": {
94577
94809
  "anyOf": [
94578
94810
  {
@@ -94757,6 +94989,40 @@
94757
94989
  }
94758
94990
  ]
94759
94991
  },
94992
+ "VisualType<Function|string[]|StringOrNumber|IRichTextCharacter[]>": {
94993
+ "anyOf": [
94994
+ {
94995
+ "$ref": "#/definitions/Function"
94996
+ },
94997
+ {
94998
+ "items": {
94999
+ "type": "string"
95000
+ },
95001
+ "type": "array"
95002
+ },
95003
+ {
95004
+ "$ref": "#/definitions/IVisualScale"
95005
+ },
95006
+ {
95007
+ "items": {
95008
+ "$ref": "#/definitions/IRichTextCharacter"
95009
+ },
95010
+ "type": "array"
95011
+ },
95012
+ {
95013
+ "typeof": "function"
95014
+ },
95015
+ {
95016
+ "$ref": "#/definitions/IVisualSpecStyle<unknown,Function|string[]|StringOrNumber|IRichTextCharacter[]>"
95017
+ },
95018
+ {
95019
+ "type": [
95020
+ "string",
95021
+ "number"
95022
+ ]
95023
+ }
95024
+ ]
95025
+ },
94760
95026
  "VisualType<IBorder>": {
94761
95027
  "anyOf": [
94762
95028
  {
@@ -95165,31 +95431,6 @@
95165
95431
  }
95166
95432
  ]
95167
95433
  },
95168
- "VisualType<string[]|StringOrNumber>": {
95169
- "anyOf": [
95170
- {
95171
- "items": {
95172
- "type": "string"
95173
- },
95174
- "type": "array"
95175
- },
95176
- {
95177
- "$ref": "#/definitions/IVisualScale"
95178
- },
95179
- {
95180
- "typeof": "function"
95181
- },
95182
- {
95183
- "$ref": "#/definitions/IVisualSpecStyle<unknown,string[]|StringOrNumber>"
95184
- },
95185
- {
95186
- "type": [
95187
- "string",
95188
- "number"
95189
- ]
95190
- }
95191
- ]
95192
- },
95193
95434
  "VisualType<string|HTMLCanvasElement|HTMLImageElement>": {
95194
95435
  "anyOf": [
95195
95436
  {