@undp/data-viz 0.0.52 → 0.0.53

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/dist/index.d.ts CHANGED
@@ -5033,7 +5033,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
5033
5033
  type: string;
5034
5034
  };
5035
5035
  };
5036
- required: string[];
5037
5036
  } | {
5038
5037
  type: string;
5039
5038
  properties: {
@@ -5099,16 +5098,12 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
5099
5098
  items: {
5100
5099
  type: string;
5101
5100
  };
5102
- minItems: number;
5103
- maxItems: number;
5104
5101
  };
5105
5102
  yDomain: {
5106
5103
  type: string;
5107
5104
  items: {
5108
5105
  type: string;
5109
5106
  };
5110
- minItems: number;
5111
- maxItems: number;
5112
5107
  };
5113
5108
  colors: {
5114
5109
  type: string;
@@ -5117,11 +5112,7 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
5117
5112
  items: {
5118
5113
  type: string;
5119
5114
  };
5120
- minItems: number;
5121
- maxItems: number;
5122
5115
  };
5123
- minItems: number;
5124
- maxItems: number;
5125
5116
  };
5126
5117
  scale: {
5127
5118
  type: string;
@@ -8519,8 +8510,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
8519
8510
  items: {
8520
8511
  type: string;
8521
8512
  };
8522
- maxItems: number;
8523
- minItems: number;
8524
8513
  type: string;
8525
8514
  };
8526
8515
  yAxisTitle: {
@@ -8533,8 +8522,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
8533
8522
  items: {
8534
8523
  type: string;
8535
8524
  };
8536
- maxItems: number;
8537
- minItems: number;
8538
8525
  type: string;
8539
8526
  };
8540
8527
  year: {
@@ -9792,8 +9779,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
9792
9779
  items: {
9793
9780
  type: string;
9794
9781
  };
9795
- maxItems: number;
9796
- minItems: number;
9797
9782
  type: string;
9798
9783
  };
9799
9784
  yAxisTitle: {
@@ -9806,8 +9791,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
9806
9791
  items: {
9807
9792
  type: string;
9808
9793
  };
9809
- maxItems: number;
9810
- minItems: number;
9811
9794
  type: string;
9812
9795
  };
9813
9796
  year: {
@@ -11043,8 +11026,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
11043
11026
  items: {
11044
11027
  type: string;
11045
11028
  };
11046
- maxItems: number;
11047
- minItems: number;
11048
11029
  type: string;
11049
11030
  };
11050
11031
  yAxisTitle: {
@@ -11057,8 +11038,6 @@ export declare const getDashboardJSONSchema: (columnList?: string[]) => {
11057
11038
  items: {
11058
11039
  type: string;
11059
11040
  };
11060
- maxItems: number;
11061
- minItems: number;
11062
11041
  type: string;
11063
11042
  };
11064
11043
  year: {
@@ -15815,7 +15794,6 @@ export declare const getDashboardWideToLongFormatJSONSchema: () => {
15815
15794
  type: string;
15816
15795
  };
15817
15796
  };
15818
- required: string[];
15819
15797
  } | {
15820
15798
  type: string;
15821
15799
  properties: {
@@ -15881,16 +15859,12 @@ export declare const getDashboardWideToLongFormatJSONSchema: () => {
15881
15859
  items: {
15882
15860
  type: string;
15883
15861
  };
15884
- minItems: number;
15885
- maxItems: number;
15886
15862
  };
15887
15863
  yDomain: {
15888
15864
  type: string;
15889
15865
  items: {
15890
15866
  type: string;
15891
15867
  };
15892
- minItems: number;
15893
- maxItems: number;
15894
15868
  };
15895
15869
  colors: {
15896
15870
  type: string;
@@ -15899,11 +15873,7 @@ export declare const getDashboardWideToLongFormatJSONSchema: () => {
15899
15873
  items: {
15900
15874
  type: string;
15901
15875
  };
15902
- minItems: number;
15903
- maxItems: number;
15904
15876
  };
15905
- minItems: number;
15906
- maxItems: number;
15907
15877
  };
15908
15878
  scale: {
15909
15879
  type: string;
@@ -19876,8 +19846,6 @@ export declare const getDataSelectionSchema: (columnList?: string[]) => {
19876
19846
  items: {
19877
19847
  type: string;
19878
19848
  };
19879
- maxItems: number;
19880
- minItems: number;
19881
19849
  type: string;
19882
19850
  };
19883
19851
  yAxisTitle: {
@@ -19890,8 +19858,6 @@ export declare const getDataSelectionSchema: (columnList?: string[]) => {
19890
19858
  items: {
19891
19859
  type: string;
19892
19860
  };
19893
- maxItems: number;
19894
- minItems: number;
19895
19861
  type: string;
19896
19862
  };
19897
19863
  year: {
@@ -24507,7 +24473,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
24507
24473
  type: string;
24508
24474
  };
24509
24475
  };
24510
- required: string[];
24511
24476
  } | {
24512
24477
  type: string;
24513
24478
  properties: {
@@ -24573,16 +24538,12 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
24573
24538
  items: {
24574
24539
  type: string;
24575
24540
  };
24576
- minItems: number;
24577
- maxItems: number;
24578
24541
  };
24579
24542
  yDomain: {
24580
24543
  type: string;
24581
24544
  items: {
24582
24545
  type: string;
24583
24546
  };
24584
- minItems: number;
24585
- maxItems: number;
24586
24547
  };
24587
24548
  colors: {
24588
24549
  type: string;
@@ -24591,11 +24552,7 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
24591
24552
  items: {
24592
24553
  type: string;
24593
24554
  };
24594
- minItems: number;
24595
- maxItems: number;
24596
24555
  };
24597
- minItems: number;
24598
- maxItems: number;
24599
24556
  };
24600
24557
  scale: {
24601
24558
  type: string;
@@ -28248,8 +28205,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
28248
28205
  items: {
28249
28206
  type: string;
28250
28207
  };
28251
- maxItems: number;
28252
- minItems: number;
28253
28208
  type: string;
28254
28209
  };
28255
28210
  yAxisTitle: {
@@ -28262,8 +28217,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
28262
28217
  items: {
28263
28218
  type: string;
28264
28219
  };
28265
- maxItems: number;
28266
- minItems: number;
28267
28220
  type: string;
28268
28221
  };
28269
28222
  year: {
@@ -29521,8 +29474,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
29521
29474
  items: {
29522
29475
  type: string;
29523
29476
  };
29524
- maxItems: number;
29525
- minItems: number;
29526
29477
  type: string;
29527
29478
  };
29528
29479
  yAxisTitle: {
@@ -29535,8 +29486,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
29535
29486
  items: {
29536
29487
  type: string;
29537
29488
  };
29538
- maxItems: number;
29539
- minItems: number;
29540
29489
  type: string;
29541
29490
  };
29542
29491
  year: {
@@ -30772,8 +30721,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
30772
30721
  items: {
30773
30722
  type: string;
30774
30723
  };
30775
- maxItems: number;
30776
- minItems: number;
30777
30724
  type: string;
30778
30725
  };
30779
30726
  yAxisTitle: {
@@ -30786,8 +30733,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
30786
30733
  items: {
30787
30734
  type: string;
30788
30735
  };
30789
- maxItems: number;
30790
- minItems: number;
30791
30736
  type: string;
30792
30737
  };
30793
30738
  year: {
@@ -35200,7 +35145,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
35200
35145
  type: string;
35201
35146
  };
35202
35147
  };
35203
- required: string[];
35204
35148
  } | {
35205
35149
  type: string;
35206
35150
  properties: {
@@ -35266,16 +35210,12 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
35266
35210
  items: {
35267
35211
  type: string;
35268
35212
  };
35269
- minItems: number;
35270
- maxItems: number;
35271
35213
  };
35272
35214
  yDomain: {
35273
35215
  type: string;
35274
35216
  items: {
35275
35217
  type: string;
35276
35218
  };
35277
- minItems: number;
35278
- maxItems: number;
35279
35219
  };
35280
35220
  colors: {
35281
35221
  type: string;
@@ -35284,11 +35224,7 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
35284
35224
  items: {
35285
35225
  type: string;
35286
35226
  };
35287
- minItems: number;
35288
- maxItems: number;
35289
35227
  };
35290
- minItems: number;
35291
- maxItems: number;
35292
35228
  };
35293
35229
  scale: {
35294
35230
  type: string;
@@ -38977,8 +38913,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
38977
38913
  items: {
38978
38914
  type: string;
38979
38915
  };
38980
- maxItems: number;
38981
- minItems: number;
38982
38916
  type: string;
38983
38917
  };
38984
38918
  yAxisTitle: {
@@ -38991,8 +38925,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
38991
38925
  items: {
38992
38926
  type: string;
38993
38927
  };
38994
- maxItems: number;
38995
- minItems: number;
38996
38928
  type: string;
38997
38929
  };
38998
38930
  year: {
@@ -40250,8 +40182,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
40250
40182
  items: {
40251
40183
  type: string;
40252
40184
  };
40253
- maxItems: number;
40254
- minItems: number;
40255
40185
  type: string;
40256
40186
  };
40257
40187
  yAxisTitle: {
@@ -40264,8 +40194,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
40264
40194
  items: {
40265
40195
  type: string;
40266
40196
  };
40267
- maxItems: number;
40268
- minItems: number;
40269
40197
  type: string;
40270
40198
  };
40271
40199
  year: {
@@ -41501,8 +41429,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
41501
41429
  items: {
41502
41430
  type: string;
41503
41431
  };
41504
- maxItems: number;
41505
- minItems: number;
41506
41432
  type: string;
41507
41433
  };
41508
41434
  yAxisTitle: {
@@ -41515,8 +41441,6 @@ export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphTyp
41515
41441
  items: {
41516
41442
  type: string;
41517
41443
  };
41518
- maxItems: number;
41519
- minItems: number;
41520
41444
  type: string;
41521
41445
  };
41522
41446
  year: {
@@ -45992,7 +45916,6 @@ export declare function getSettingsSchema(graph: GraphType | 'allGraphs'): {
45992
45916
  type: string;
45993
45917
  };
45994
45918
  };
45995
- required: string[];
45996
45919
  } | {
45997
45920
  type: string;
45998
45921
  properties: {
@@ -46058,16 +45981,12 @@ export declare function getSettingsSchema(graph: GraphType | 'allGraphs'): {
46058
45981
  items: {
46059
45982
  type: string;
46060
45983
  };
46061
- minItems: number;
46062
- maxItems: number;
46063
45984
  };
46064
45985
  yDomain: {
46065
45986
  type: string;
46066
45987
  items: {
46067
45988
  type: string;
46068
45989
  };
46069
- minItems: number;
46070
- maxItems: number;
46071
45990
  };
46072
45991
  colors: {
46073
45992
  type: string;
@@ -46076,11 +45995,7 @@ export declare function getSettingsSchema(graph: GraphType | 'allGraphs'): {
46076
45995
  items: {
46077
45996
  type: string;
46078
45997
  };
46079
- minItems: number;
46080
- maxItems: number;
46081
45998
  };
46082
- minItems: number;
46083
- maxItems: number;
46084
45999
  };
46085
46000
  scale: {
46086
46001
  type: string;
@@ -52653,7 +52568,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
52653
52568
  type: string;
52654
52569
  };
52655
52570
  };
52656
- required: string[];
52657
52571
  } | {
52658
52572
  type: string;
52659
52573
  properties: {
@@ -52719,16 +52633,12 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
52719
52633
  items: {
52720
52634
  type: string;
52721
52635
  };
52722
- minItems: number;
52723
- maxItems: number;
52724
52636
  };
52725
52637
  yDomain: {
52726
52638
  type: string;
52727
52639
  items: {
52728
52640
  type: string;
52729
52641
  };
52730
- minItems: number;
52731
- maxItems: number;
52732
52642
  };
52733
52643
  colors: {
52734
52644
  type: string;
@@ -52737,11 +52647,7 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
52737
52647
  items: {
52738
52648
  type: string;
52739
52649
  };
52740
- minItems: number;
52741
- maxItems: number;
52742
52650
  };
52743
- minItems: number;
52744
- maxItems: number;
52745
52651
  };
52746
52652
  scale: {
52747
52653
  type: string;
@@ -59377,7 +59283,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
59377
59283
  type: string;
59378
59284
  };
59379
59285
  };
59380
- required: string[];
59381
59286
  } | {
59382
59287
  type: string;
59383
59288
  properties: {
@@ -59443,16 +59348,12 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
59443
59348
  items: {
59444
59349
  type: string;
59445
59350
  };
59446
- minItems: number;
59447
- maxItems: number;
59448
59351
  };
59449
59352
  yDomain: {
59450
59353
  type: string;
59451
59354
  items: {
59452
59355
  type: string;
59453
59356
  };
59454
- minItems: number;
59455
- maxItems: number;
59456
59357
  };
59457
59358
  colors: {
59458
59359
  type: string;
@@ -59461,11 +59362,7 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
59461
59362
  items: {
59462
59363
  type: string;
59463
59364
  };
59464
- minItems: number;
59465
- maxItems: number;
59466
59365
  };
59467
- minItems: number;
59468
- maxItems: number;
59469
59366
  };
59470
59367
  scale: {
59471
59368
  type: string;
@@ -63093,8 +62990,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
63093
62990
  items: {
63094
62991
  type: string;
63095
62992
  };
63096
- maxItems: number;
63097
- minItems: number;
63098
62993
  type: string;
63099
62994
  };
63100
62995
  yAxisTitle: {
@@ -63107,8 +63002,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
63107
63002
  items: {
63108
63003
  type: string;
63109
63004
  };
63110
- maxItems: number;
63111
- minItems: number;
63112
63005
  type: string;
63113
63006
  };
63114
63007
  year: {
@@ -64366,8 +64259,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
64366
64259
  items: {
64367
64260
  type: string;
64368
64261
  };
64369
- maxItems: number;
64370
- minItems: number;
64371
64262
  type: string;
64372
64263
  };
64373
64264
  yAxisTitle: {
@@ -64380,8 +64271,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
64380
64271
  items: {
64381
64272
  type: string;
64382
64273
  };
64383
- maxItems: number;
64384
- minItems: number;
64385
64274
  type: string;
64386
64275
  };
64387
64276
  year: {
@@ -65617,8 +65506,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
65617
65506
  items: {
65618
65507
  type: string;
65619
65508
  };
65620
- maxItems: number;
65621
- minItems: number;
65622
65509
  type: string;
65623
65510
  };
65624
65511
  yAxisTitle: {
@@ -65631,8 +65518,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
65631
65518
  items: {
65632
65519
  type: string;
65633
65520
  };
65634
- maxItems: number;
65635
- minItems: number;
65636
65521
  type: string;
65637
65522
  };
65638
65523
  year: {
@@ -70087,7 +69972,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
70087
69972
  type: string;
70088
69973
  };
70089
69974
  };
70090
- required: string[];
70091
69975
  } | {
70092
69976
  type: string;
70093
69977
  properties: {
@@ -70153,16 +70037,12 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
70153
70037
  items: {
70154
70038
  type: string;
70155
70039
  };
70156
- minItems: number;
70157
- maxItems: number;
70158
70040
  };
70159
70041
  yDomain: {
70160
70042
  type: string;
70161
70043
  items: {
70162
70044
  type: string;
70163
70045
  };
70164
- minItems: number;
70165
- maxItems: number;
70166
70046
  };
70167
70047
  colors: {
70168
70048
  type: string;
@@ -70171,11 +70051,7 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
70171
70051
  items: {
70172
70052
  type: string;
70173
70053
  };
70174
- minItems: number;
70175
- maxItems: number;
70176
70054
  };
70177
- minItems: number;
70178
- maxItems: number;
70179
70055
  };
70180
70056
  scale: {
70181
70057
  type: string;
@@ -73845,8 +73721,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
73845
73721
  items: {
73846
73722
  type: string;
73847
73723
  };
73848
- maxItems: number;
73849
- minItems: number;
73850
73724
  type: string;
73851
73725
  };
73852
73726
  yAxisTitle: {
@@ -73859,8 +73733,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
73859
73733
  items: {
73860
73734
  type: string;
73861
73735
  };
73862
- maxItems: number;
73863
- minItems: number;
73864
73736
  type: string;
73865
73737
  };
73866
73738
  year: {
@@ -75118,8 +74990,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
75118
74990
  items: {
75119
74991
  type: string;
75120
74992
  };
75121
- maxItems: number;
75122
- minItems: number;
75123
74993
  type: string;
75124
74994
  };
75125
74995
  yAxisTitle: {
@@ -75132,8 +75002,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
75132
75002
  items: {
75133
75003
  type: string;
75134
75004
  };
75135
- maxItems: number;
75136
- minItems: number;
75137
75005
  type: string;
75138
75006
  };
75139
75007
  year: {
@@ -76369,8 +76237,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
76369
76237
  items: {
76370
76238
  type: string;
76371
76239
  };
76372
- maxItems: number;
76373
- minItems: number;
76374
76240
  type: string;
76375
76241
  };
76376
76242
  yAxisTitle: {
@@ -76383,8 +76249,6 @@ export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType
76383
76249
  items: {
76384
76250
  type: string;
76385
76251
  };
76386
- maxItems: number;
76387
- minItems: number;
76388
76252
  type: string;
76389
76253
  };
76390
76254
  year: {
@@ -77668,9 +77532,9 @@ declare interface Props_12 {
77668
77532
  /** Title for the second color legend */
77669
77533
  yColorLegendTitle?: string;
77670
77534
  /** Domain of x-colors for the map */
77671
- xDomain: number[];
77535
+ xDomain?: number[];
77672
77536
  /** Domain of y-colors for the map */
77673
- yDomain: number[];
77537
+ yDomain?: number[];
77674
77538
  /** Color for the areas where data is no available */
77675
77539
  mapNoDataColor?: string;
77676
77540
  /** Background color of the graph */
@@ -77753,7 +77617,7 @@ declare interface Props_13 {
77753
77617
  /** Colors for the choropleth map */
77754
77618
  colors?: string[];
77755
77619
  /** Domain of colors for the graph */
77756
- colorDomain: number[] | string[];
77620
+ colorDomain?: number[] | string[];
77757
77621
  /** Title for the color legend */
77758
77622
  colorLegendTitle?: string;
77759
77623
  /** Color for the areas where data is no available */
@@ -79930,9 +79794,9 @@ declare interface Props_44 {
79930
79794
  /** Title for the second color legend */
79931
79795
  yColorLegendTitle?: string;
79932
79796
  /** Domain of x-colors for the map */
79933
- xDomain: number[];
79797
+ xDomain?: number[];
79934
79798
  /** Domain of y-colors for the map */
79935
- yDomain: number[];
79799
+ yDomain?: number[];
79936
79800
  /** Color for the areas where data is no available */
79937
79801
  mapNoDataColor?: string;
79938
79802
  /** Background color of the graph */
@@ -80021,7 +79885,7 @@ declare interface Props_45 {
80021
79885
  /** Colors for the choropleth map */
80022
79886
  colors?: string[];
80023
79887
  /** Domain of colors for the graph */
80024
- colorDomain: number[] | string[];
79888
+ colorDomain?: number[] | string[];
80025
79889
  /** Title for the color legend */
80026
79890
  colorLegendTitle?: string;
80027
79891
  /** Color for the areas where data is no available */