@visactor/vchart-schema 1.12.0-alpha.7 → 1.12.0-alpha.9
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 +1 -1
- package/vchart.json +167 -38
package/package.json
CHANGED
package/vchart.json
CHANGED
|
@@ -8741,6 +8741,31 @@
|
|
|
8741
8741
|
"Geolocation": {
|
|
8742
8742
|
"type": "object"
|
|
8743
8743
|
},
|
|
8744
|
+
"GeometricMaskShape": {
|
|
8745
|
+
"properties": {
|
|
8746
|
+
"backgroundColor": {
|
|
8747
|
+
"type": "string"
|
|
8748
|
+
},
|
|
8749
|
+
"fill": {
|
|
8750
|
+
"type": "string"
|
|
8751
|
+
},
|
|
8752
|
+
"hollow": {
|
|
8753
|
+
"type": "boolean"
|
|
8754
|
+
},
|
|
8755
|
+
"shape": {
|
|
8756
|
+
"type": "string"
|
|
8757
|
+
},
|
|
8758
|
+
"type": {
|
|
8759
|
+
"const": "geometric",
|
|
8760
|
+
"type": "string"
|
|
8761
|
+
}
|
|
8762
|
+
},
|
|
8763
|
+
"required": [
|
|
8764
|
+
"shape",
|
|
8765
|
+
"type"
|
|
8766
|
+
],
|
|
8767
|
+
"type": "object"
|
|
8768
|
+
},
|
|
8744
8769
|
"GradientPropValue<number>": {
|
|
8745
8770
|
"anyOf": [
|
|
8746
8771
|
{
|
|
@@ -57855,7 +57880,7 @@
|
|
|
57855
57880
|
"panel": {
|
|
57856
57881
|
"allOf": [
|
|
57857
57882
|
{
|
|
57858
|
-
"$ref": "#/definitions/Partial<Omit<{visible:boolean;}&Partial<IRectGraphicAttribute>&Partial<IGraphicAttribute>&Partial<ISymbolAttribute>&{space?:number;},\"shadowColor\"|\"fill\"|\"stroke\">>"
|
|
57883
|
+
"$ref": "#/definitions/Partial<Omit<{visible:boolean;customShape?:(text:Pick<TextContent,\"text\">,attrs:Partial<IGraphicAttribute>,path:ICustomPath2D)=>ICustomPath2D;}&Partial<IRectGraphicAttribute>&Partial<IGraphicAttribute>&Partial<ISymbolAttribute>&{space?:number;},\"shadowColor\"|\"fill\"|\"stroke\">>"
|
|
57859
57884
|
},
|
|
57860
57885
|
{
|
|
57861
57886
|
"typeof": "function"
|
|
@@ -79074,9 +79099,19 @@
|
|
|
79074
79099
|
"description": "图例配置"
|
|
79075
79100
|
},
|
|
79076
79101
|
"maskShape": {
|
|
79077
|
-
"
|
|
79078
|
-
|
|
79079
|
-
|
|
79102
|
+
"anyOf": [
|
|
79103
|
+
{
|
|
79104
|
+
"$ref": "#/definitions/TextShapeMask"
|
|
79105
|
+
},
|
|
79106
|
+
{
|
|
79107
|
+
"$ref": "#/definitions/GeometricMaskShape"
|
|
79108
|
+
},
|
|
79109
|
+
{
|
|
79110
|
+
"type": "string"
|
|
79111
|
+
}
|
|
79112
|
+
],
|
|
79113
|
+
"default": "'circle'\n\n注意,文字类型和几何形状类型的shape自 1.12.0 版本开始支持",
|
|
79114
|
+
"description": "词云形状"
|
|
79080
79115
|
},
|
|
79081
79116
|
"media": {
|
|
79082
79117
|
"description": "媒体查询配置",
|
|
@@ -79267,6 +79302,11 @@
|
|
|
79267
79302
|
},
|
|
79268
79303
|
"wordCloudShapeConfig": {
|
|
79269
79304
|
"typeof": "function"
|
|
79305
|
+
},
|
|
79306
|
+
"wordMask": {
|
|
79307
|
+
"$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
|
|
79308
|
+
"description": "当形状词云的形状为文字类型和几何形状类型的时候,支持绘制形状轮廓",
|
|
79309
|
+
"since": "1.12.0"
|
|
79270
79310
|
}
|
|
79271
79311
|
},
|
|
79272
79312
|
"required": [
|
|
@@ -79514,9 +79554,19 @@
|
|
|
79514
79554
|
"type": "boolean"
|
|
79515
79555
|
},
|
|
79516
79556
|
"maskShape": {
|
|
79517
|
-
"
|
|
79518
|
-
|
|
79519
|
-
|
|
79557
|
+
"anyOf": [
|
|
79558
|
+
{
|
|
79559
|
+
"$ref": "#/definitions/TextShapeMask"
|
|
79560
|
+
},
|
|
79561
|
+
{
|
|
79562
|
+
"$ref": "#/definitions/GeometricMaskShape"
|
|
79563
|
+
},
|
|
79564
|
+
{
|
|
79565
|
+
"type": "string"
|
|
79566
|
+
}
|
|
79567
|
+
],
|
|
79568
|
+
"default": "'circle'\n\n注意,文字类型和几何形状类型的shape自 1.12.0 版本开始支持",
|
|
79569
|
+
"description": "词云形状"
|
|
79520
79570
|
},
|
|
79521
79571
|
"morph": {
|
|
79522
79572
|
"$ref": "#/definitions/IMorphSeriesSpec",
|
|
@@ -79633,6 +79683,11 @@
|
|
|
79633
79683
|
},
|
|
79634
79684
|
"wordCloudShapeConfig": {
|
|
79635
79685
|
"typeof": "function"
|
|
79686
|
+
},
|
|
79687
|
+
"wordMask": {
|
|
79688
|
+
"$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
|
|
79689
|
+
"description": "当形状词云的形状为文字类型和几何形状类型的时候,支持绘制形状轮廓",
|
|
79690
|
+
"since": "1.12.0"
|
|
79636
79691
|
}
|
|
79637
79692
|
},
|
|
79638
79693
|
"required": [
|
|
@@ -80009,9 +80064,19 @@
|
|
|
80009
80064
|
"description": "图例配置"
|
|
80010
80065
|
},
|
|
80011
80066
|
"maskShape": {
|
|
80012
|
-
"
|
|
80013
|
-
|
|
80014
|
-
|
|
80067
|
+
"anyOf": [
|
|
80068
|
+
{
|
|
80069
|
+
"$ref": "#/definitions/TextShapeMask"
|
|
80070
|
+
},
|
|
80071
|
+
{
|
|
80072
|
+
"$ref": "#/definitions/GeometricMaskShape"
|
|
80073
|
+
},
|
|
80074
|
+
{
|
|
80075
|
+
"type": "string"
|
|
80076
|
+
}
|
|
80077
|
+
],
|
|
80078
|
+
"default": "'circle'\n\n注意,文字类型和几何形状类型的shape自 1.12.0 版本开始支持",
|
|
80079
|
+
"description": "词云形状"
|
|
80015
80080
|
},
|
|
80016
80081
|
"media": {
|
|
80017
80082
|
"description": "媒体查询配置",
|
|
@@ -80198,6 +80263,11 @@
|
|
|
80198
80263
|
},
|
|
80199
80264
|
"wordCloudShapeConfig": {
|
|
80200
80265
|
"typeof": "function"
|
|
80266
|
+
},
|
|
80267
|
+
"wordMask": {
|
|
80268
|
+
"$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
|
|
80269
|
+
"description": "当形状词云的形状为文字类型和几何形状类型的时候,支持绘制形状轮廓",
|
|
80270
|
+
"since": "1.12.0"
|
|
80201
80271
|
}
|
|
80202
80272
|
},
|
|
80203
80273
|
"required": [
|
|
@@ -80442,9 +80512,19 @@
|
|
|
80442
80512
|
"type": "boolean"
|
|
80443
80513
|
},
|
|
80444
80514
|
"maskShape": {
|
|
80445
|
-
"
|
|
80446
|
-
|
|
80447
|
-
|
|
80515
|
+
"anyOf": [
|
|
80516
|
+
{
|
|
80517
|
+
"$ref": "#/definitions/TextShapeMask"
|
|
80518
|
+
},
|
|
80519
|
+
{
|
|
80520
|
+
"$ref": "#/definitions/GeometricMaskShape"
|
|
80521
|
+
},
|
|
80522
|
+
{
|
|
80523
|
+
"type": "string"
|
|
80524
|
+
}
|
|
80525
|
+
],
|
|
80526
|
+
"default": "'circle'\n\n注意,文字类型和几何形状类型的shape自 1.12.0 版本开始支持",
|
|
80527
|
+
"description": "词云形状"
|
|
80448
80528
|
},
|
|
80449
80529
|
"morph": {
|
|
80450
80530
|
"$ref": "#/definitions/IMorphSeriesSpec",
|
|
@@ -80557,6 +80637,11 @@
|
|
|
80557
80637
|
},
|
|
80558
80638
|
"wordCloudShapeConfig": {
|
|
80559
80639
|
"typeof": "function"
|
|
80640
|
+
},
|
|
80641
|
+
"wordMask": {
|
|
80642
|
+
"$ref": "#/definitions/IMarkSpec<IRectMarkSpec>",
|
|
80643
|
+
"description": "当形状词云的形状为文字类型和几何形状类型的时候,支持绘制形状轮廓",
|
|
80644
|
+
"since": "1.12.0"
|
|
80560
80645
|
}
|
|
80561
80646
|
},
|
|
80562
80647
|
"required": [
|
|
@@ -80752,7 +80837,7 @@
|
|
|
80752
80837
|
},
|
|
80753
80838
|
"Map<Function,(...args:any[])=>void>": {
|
|
80754
80839
|
"properties": {
|
|
80755
|
-
"__@toStringTag@
|
|
80840
|
+
"__@toStringTag@13452": {
|
|
80756
80841
|
"type": "string"
|
|
80757
80842
|
},
|
|
80758
80843
|
"size": {
|
|
@@ -80760,14 +80845,14 @@
|
|
|
80760
80845
|
}
|
|
80761
80846
|
},
|
|
80762
80847
|
"required": [
|
|
80763
|
-
"__@toStringTag@
|
|
80848
|
+
"__@toStringTag@13452",
|
|
80764
80849
|
"size"
|
|
80765
80850
|
],
|
|
80766
80851
|
"type": "object"
|
|
80767
80852
|
},
|
|
80768
80853
|
"Map<number,IGraphicPicker>": {
|
|
80769
80854
|
"properties": {
|
|
80770
|
-
"__@toStringTag@
|
|
80855
|
+
"__@toStringTag@13452": {
|
|
80771
80856
|
"type": "string"
|
|
80772
80857
|
},
|
|
80773
80858
|
"size": {
|
|
@@ -80775,14 +80860,14 @@
|
|
|
80775
80860
|
}
|
|
80776
80861
|
},
|
|
80777
80862
|
"required": [
|
|
80778
|
-
"__@toStringTag@
|
|
80863
|
+
"__@toStringTag@13452",
|
|
80779
80864
|
"size"
|
|
80780
80865
|
],
|
|
80781
80866
|
"type": "object"
|
|
80782
80867
|
},
|
|
80783
80868
|
"Map<number,IGraphicRender>": {
|
|
80784
80869
|
"properties": {
|
|
80785
|
-
"__@toStringTag@
|
|
80870
|
+
"__@toStringTag@13452": {
|
|
80786
80871
|
"type": "string"
|
|
80787
80872
|
},
|
|
80788
80873
|
"size": {
|
|
@@ -80790,14 +80875,14 @@
|
|
|
80790
80875
|
}
|
|
80791
80876
|
},
|
|
80792
80877
|
"required": [
|
|
80793
|
-
"__@toStringTag@
|
|
80878
|
+
"__@toStringTag@13452",
|
|
80794
80879
|
"size"
|
|
80795
80880
|
],
|
|
80796
80881
|
"type": "object"
|
|
80797
80882
|
},
|
|
80798
80883
|
"Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
|
|
80799
80884
|
"properties": {
|
|
80800
|
-
"__@toStringTag@
|
|
80885
|
+
"__@toStringTag@13452": {
|
|
80801
80886
|
"type": "string"
|
|
80802
80887
|
},
|
|
80803
80888
|
"size": {
|
|
@@ -80805,14 +80890,14 @@
|
|
|
80805
80890
|
}
|
|
80806
80891
|
},
|
|
80807
80892
|
"required": [
|
|
80808
|
-
"__@toStringTag@
|
|
80893
|
+
"__@toStringTag@13452",
|
|
80809
80894
|
"size"
|
|
80810
80895
|
],
|
|
80811
80896
|
"type": "object"
|
|
80812
80897
|
},
|
|
80813
80898
|
"Map<string,Map<number,IGraphicRender>>": {
|
|
80814
80899
|
"properties": {
|
|
80815
|
-
"__@toStringTag@
|
|
80900
|
+
"__@toStringTag@13452": {
|
|
80816
80901
|
"type": "string"
|
|
80817
80902
|
},
|
|
80818
80903
|
"size": {
|
|
@@ -80820,14 +80905,14 @@
|
|
|
80820
80905
|
}
|
|
80821
80906
|
},
|
|
80822
80907
|
"required": [
|
|
80823
|
-
"__@toStringTag@
|
|
80908
|
+
"__@toStringTag@13452",
|
|
80824
80909
|
"size"
|
|
80825
80910
|
],
|
|
80826
80911
|
"type": "object"
|
|
80827
80912
|
},
|
|
80828
80913
|
"Map<string,any>": {
|
|
80829
80914
|
"properties": {
|
|
80830
|
-
"__@toStringTag@
|
|
80915
|
+
"__@toStringTag@13452": {
|
|
80831
80916
|
"type": "string"
|
|
80832
80917
|
},
|
|
80833
80918
|
"size": {
|
|
@@ -80835,14 +80920,14 @@
|
|
|
80835
80920
|
}
|
|
80836
80921
|
},
|
|
80837
80922
|
"required": [
|
|
80838
|
-
"__@toStringTag@
|
|
80923
|
+
"__@toStringTag@13452",
|
|
80839
80924
|
"size"
|
|
80840
80925
|
],
|
|
80841
80926
|
"type": "object"
|
|
80842
80927
|
},
|
|
80843
80928
|
"Map<string|HTMLCanvasElement|HTMLImageElement|IBackgroundConfig,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
|
|
80844
80929
|
"properties": {
|
|
80845
|
-
"__@toStringTag@
|
|
80930
|
+
"__@toStringTag@13452": {
|
|
80846
80931
|
"type": "string"
|
|
80847
80932
|
},
|
|
80848
80933
|
"size": {
|
|
@@ -80850,14 +80935,14 @@
|
|
|
80850
80935
|
}
|
|
80851
80936
|
},
|
|
80852
80937
|
"required": [
|
|
80853
|
-
"__@toStringTag@
|
|
80938
|
+
"__@toStringTag@13452",
|
|
80854
80939
|
"size"
|
|
80855
80940
|
],
|
|
80856
80941
|
"type": "object"
|
|
80857
80942
|
},
|
|
80858
80943
|
"Map<string|HTMLElement,{container:string|HTMLElement;dom:any;wrapGroup:any;root?:any;}>": {
|
|
80859
80944
|
"properties": {
|
|
80860
|
-
"__@toStringTag@
|
|
80945
|
+
"__@toStringTag@13452": {
|
|
80861
80946
|
"type": "string"
|
|
80862
80947
|
},
|
|
80863
80948
|
"size": {
|
|
@@ -80865,14 +80950,14 @@
|
|
|
80865
80950
|
}
|
|
80866
80951
|
},
|
|
80867
80952
|
"required": [
|
|
80868
|
-
"__@toStringTag@
|
|
80953
|
+
"__@toStringTag@13452",
|
|
80869
80954
|
"size"
|
|
80870
80955
|
],
|
|
80871
80956
|
"type": "object"
|
|
80872
80957
|
},
|
|
80873
80958
|
"Map<string|number,IAnimate>": {
|
|
80874
80959
|
"properties": {
|
|
80875
|
-
"__@toStringTag@
|
|
80960
|
+
"__@toStringTag@13452": {
|
|
80876
80961
|
"type": "string"
|
|
80877
80962
|
},
|
|
80878
80963
|
"size": {
|
|
@@ -80880,7 +80965,7 @@
|
|
|
80880
80965
|
}
|
|
80881
80966
|
},
|
|
80882
80967
|
"required": [
|
|
80883
|
-
"__@toStringTag@
|
|
80968
|
+
"__@toStringTag@13452",
|
|
80884
80969
|
"size"
|
|
80885
80970
|
],
|
|
80886
80971
|
"type": "object"
|
|
@@ -98337,7 +98422,7 @@
|
|
|
98337
98422
|
},
|
|
98338
98423
|
"type": "object"
|
|
98339
98424
|
},
|
|
98340
|
-
"Partial<Omit<{visible:boolean;}&Partial<IRectGraphicAttribute>&Partial<IGraphicAttribute>&Partial<ISymbolAttribute>&{space?:number;},\"shadowColor\"|\"fill\"|\"stroke\">>": {
|
|
98425
|
+
"Partial<Omit<{visible:boolean;customShape?:(text:Pick<TextContent,\"text\">,attrs:Partial<IGraphicAttribute>,path:ICustomPath2D)=>ICustomPath2D;}&Partial<IRectGraphicAttribute>&Partial<IGraphicAttribute>&Partial<ISymbolAttribute>&{space?:number;},\"shadowColor\"|\"fill\"|\"stroke\">>": {
|
|
98341
98426
|
"properties": {
|
|
98342
98427
|
"_debug_bounds": {
|
|
98343
98428
|
"anyOf": [
|
|
@@ -98523,6 +98608,9 @@
|
|
|
98523
98608
|
"customPickShape": {
|
|
98524
98609
|
"typeof": "function"
|
|
98525
98610
|
},
|
|
98611
|
+
"customShape": {
|
|
98612
|
+
"typeof": "function"
|
|
98613
|
+
},
|
|
98526
98614
|
"dx": {
|
|
98527
98615
|
"type": "number"
|
|
98528
98616
|
},
|
|
@@ -101479,34 +101567,34 @@
|
|
|
101479
101567
|
},
|
|
101480
101568
|
"Promise<FontFaceSet>": {
|
|
101481
101569
|
"properties": {
|
|
101482
|
-
"__@toStringTag@
|
|
101570
|
+
"__@toStringTag@13452": {
|
|
101483
101571
|
"type": "string"
|
|
101484
101572
|
}
|
|
101485
101573
|
},
|
|
101486
101574
|
"required": [
|
|
101487
|
-
"__@toStringTag@
|
|
101575
|
+
"__@toStringTag@13452"
|
|
101488
101576
|
],
|
|
101489
101577
|
"type": "object"
|
|
101490
101578
|
},
|
|
101491
101579
|
"Promise<ServiceWorkerRegistration>": {
|
|
101492
101580
|
"properties": {
|
|
101493
|
-
"__@toStringTag@
|
|
101581
|
+
"__@toStringTag@13452": {
|
|
101494
101582
|
"type": "string"
|
|
101495
101583
|
}
|
|
101496
101584
|
},
|
|
101497
101585
|
"required": [
|
|
101498
|
-
"__@toStringTag@
|
|
101586
|
+
"__@toStringTag@13452"
|
|
101499
101587
|
],
|
|
101500
101588
|
"type": "object"
|
|
101501
101589
|
},
|
|
101502
101590
|
"Promise<any>": {
|
|
101503
101591
|
"properties": {
|
|
101504
|
-
"__@toStringTag@
|
|
101592
|
+
"__@toStringTag@13452": {
|
|
101505
101593
|
"type": "string"
|
|
101506
101594
|
}
|
|
101507
101595
|
},
|
|
101508
101596
|
"required": [
|
|
101509
|
-
"__@toStringTag@
|
|
101597
|
+
"__@toStringTag@13452"
|
|
101510
101598
|
],
|
|
101511
101599
|
"type": "object"
|
|
101512
101600
|
},
|
|
@@ -114026,6 +114114,47 @@
|
|
|
114026
114114
|
],
|
|
114027
114115
|
"type": "string"
|
|
114028
114116
|
},
|
|
114117
|
+
"TextShapeMask": {
|
|
114118
|
+
"properties": {
|
|
114119
|
+
"backgroundColor": {
|
|
114120
|
+
"type": "string"
|
|
114121
|
+
},
|
|
114122
|
+
"fill": {
|
|
114123
|
+
"type": "string"
|
|
114124
|
+
},
|
|
114125
|
+
"fontFamily": {
|
|
114126
|
+
"type": "string"
|
|
114127
|
+
},
|
|
114128
|
+
"fontStyle": {
|
|
114129
|
+
"type": "string"
|
|
114130
|
+
},
|
|
114131
|
+
"fontVariant": {
|
|
114132
|
+
"type": "string"
|
|
114133
|
+
},
|
|
114134
|
+
"fontWeight": {
|
|
114135
|
+
"type": [
|
|
114136
|
+
"string",
|
|
114137
|
+
"number"
|
|
114138
|
+
]
|
|
114139
|
+
},
|
|
114140
|
+
"hollow": {
|
|
114141
|
+
"type": "boolean"
|
|
114142
|
+
},
|
|
114143
|
+
"text": {
|
|
114144
|
+
"type": "string"
|
|
114145
|
+
},
|
|
114146
|
+
"type": {
|
|
114147
|
+
"const": "text",
|
|
114148
|
+
"type": "string"
|
|
114149
|
+
}
|
|
114150
|
+
},
|
|
114151
|
+
"required": [
|
|
114152
|
+
"fontVariant",
|
|
114153
|
+
"text",
|
|
114154
|
+
"type"
|
|
114155
|
+
],
|
|
114156
|
+
"type": "object"
|
|
114157
|
+
},
|
|
114029
114158
|
"TokenMap": {
|
|
114030
114159
|
"type": "object"
|
|
114031
114160
|
},
|