@astrato-io/visualizations 0.9.0 → 0.10.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.
- package/CHANGELOG.md +10 -0
- package/README.md +7 -3
- package/THIRD_PARTY_NOTICES.md +163 -14
- package/VISUALIZATION_DEFINITIONS.md +376 -36
- package/chunks/{Button-5CxPEACP.js → Button-Dn3rJrYf.js} +4 -4
- package/chunks/{CircularProgress-DFS-LQb7.js → CircularProgress-BFeu06Yb.js} +39 -39
- package/chunks/FieldTypeIcon-DrMoGpHJ.js +22 -0
- package/chunks/{LinearProgress-CjIQfkNA.js → LinearProgress-ClO6GUjN.js} +9 -9
- package/chunks/{MenuOption-Cb7B7x6z.js → MenuOption-Czc34u4q.js} +143 -142
- package/chunks/{Title-CtFw1bVg.js → Title-BgYnaVTR.js} +22 -22
- package/chunks/_createAggregator-BMu9uRax.js +50 -0
- package/chunks/{app-filter-bar.compiler-B9775gLJ.js → app-filter-bar.compiler-CVir0wkl.js} +10 -10
- package/chunks/bar-layout-C_UgRlVl.js +9 -0
- package/chunks/{bar.compiler-B7wlH_Ro.js → bar.compiler-DYuFdi9J.js} +100 -82
- package/chunks/{builder-Dxo7D7c6.js → builder-C-TKA-My.js} +70 -37
- package/chunks/color-rules-DYJL4fIW.js +15 -0
- package/chunks/color-settings-DJFoFTip.js +5 -0
- package/chunks/{coloring-B-Wa8D5P.js → coloring-BtnPiQ_o.js} +37 -37
- package/chunks/createSimplePaletteValueFilter--zrZxRV9.js +2005 -0
- package/chunks/defaults-Dtk7fg3C.js +3 -0
- package/chunks/{definitions-DNpzD9tY.js → definitions-CT304NDn.js} +655 -417
- package/chunks/{escobar-C4Nm3eJ7.js → escobar-CvEV2ES1.js} +7441 -7127
- package/chunks/{extend-preset-BVKFtoe-.js → extend-preset-D9-JP92b.js} +998 -933
- package/chunks/{filter.compiler-BlS3zoy_.js → filter.compiler-CXeZznks.js} +7 -7
- package/chunks/{filtering-CGuLpg7u.js → filtering-8_bFv-jb.js} +333 -377
- package/chunks/handlers-C6CZ0XJA.js +15399 -0
- package/chunks/{icon-picker-styles-DYQgVEKG.js → icon-picker-styles-BXiJ1SZS.js} +11 -11
- package/chunks/isEqual-D8Ay63xR.js +16 -0
- package/chunks/{isFocusVisible-B1_z03UT.js → isFocusVisible-Bu8gGZu5.js} +1 -1
- package/chunks/label-format-type-C46pzgx7.js +17 -0
- package/chunks/{line.compiler-Bo9i9qag.js → line.compiler-DmHpmQCC.js} +9 -9
- package/chunks/{logger-3lng-wOw.js → logger-DdZpR7xZ.js} +79 -72
- package/chunks/map.compiler-Q_Y1Pvat.js +343 -0
- package/chunks/{metadata-Fmx1swpK.js → metadata-BQm_TXI1.js} +1 -1
- package/chunks/{number.compiler-CdLd5aGW.js → number.compiler-DQdg6zTy.js} +7 -7
- package/chunks/operations-DKQWuLL7.js +31315 -0
- package/chunks/{range-CzO4isKK.js → range-BdhzvYQ_.js} +2 -2
- package/chunks/{react-dom-BwZT0N3F.js → react-dom-BGP4tbXV.js} +70 -70
- package/chunks/{render-wrappers-CAuvgMxi.js → render-wrappers-BZpyDnJy.js} +1 -1
- package/chunks/{requirements-CYpVh65U.js → requirements-e8Fe96ag.js} +60 -58
- package/chunks/shared-C_2F90xq.js +1337 -0
- package/chunks/standalone-4MsKiqs0.js +355 -0
- package/chunks/standalone-B794g9pE.js +1012 -0
- package/chunks/{standalone-C6XDHYAM.js → standalone-B8ZSqauS.js} +110 -110
- package/chunks/{standalone-5DnapeHH.js → standalone-BA2YXyJS.js} +126 -124
- package/chunks/{standalone-CXniic5x.js → standalone-BDrXVxlP.js} +6 -5
- package/chunks/{standalone-B6s_xG2u.js → standalone-BE_ONgiG.js} +116 -116
- package/chunks/{standalone-CPUiiWNP.js → standalone-BTY3w_JA.js} +37 -37
- package/chunks/standalone-BgumbdaJ2.js +357 -0
- package/chunks/{standalone-DWPfdP0A.js → standalone-BkbiH-o8.js} +482 -482
- package/chunks/standalone-Blh4qejk.js +689 -0
- package/chunks/standalone-CXY4FpF7.js +773 -0
- package/chunks/{standalone-BvWdpUL3.js → standalone-CY_kjarf.js} +34 -31
- package/chunks/{standalone-DuwTOBXH.js → standalone-CaTxAydz.js} +587 -587
- package/chunks/{standalone-BDrQMxLi.js → standalone-Cc98Pdr6.js} +1799 -1015
- package/chunks/{standalone-DMCwtebn.js → standalone-Cl0TSfqC.js} +125 -125
- package/chunks/{standalone-CoQxJ6ov.js → standalone-CsoMmE9T.js} +778 -778
- package/chunks/standalone-DH0xTEes.js +2 -0
- package/chunks/{standalone-LFVgLhia.js → standalone-DHRalbVO.js} +311 -303
- package/chunks/standalone-DNh9NcMa.js +580 -0
- package/chunks/standalone-DcnHjNnC.js +2 -0
- package/chunks/{standalone-r4ObFvys.js → standalone-DflyWtuR.js} +217 -215
- package/chunks/standalone-DrHdGkY7.js +762 -0
- package/chunks/standalone-c_rROMtx.js +287 -0
- package/chunks/standalone-drcFLeN6.js +6 -0
- package/chunks/{standalone-CNkHsynO.js → standalone-wOWRCpdn.js} +54 -56
- package/chunks/{standalone-Cu73fzSr.js → standalone-z0o52o5t.js} +5128 -4908
- package/chunks/{table.compiler-C1qjqXaT.js → table.compiler-COaHE9VD.js} +18 -18
- package/chunks/{useFieldName-mWrD_uk_.js → useFieldName-CdnCWzhd.js} +1 -1
- package/chunks/{utils-DYYD4Zzf.js → utils-DganVptf.js} +4758 -4747
- package/chunks/{view-7fH6mGmY.js → view-Bzlros43.js} +2021 -1665
- package/chunks/{visualization-filters-mVnsnvLP.js → visualization-filters-D7i6oh1Z.js} +3177 -2425
- package/chunks/{with-html-element-B0Clt4jY.js → with-html-element-CiIhFEa5.js} +3740 -3547
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +303 -2
- package/docs/operations/combo.md +262 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +148 -1
- package/docs/operations/filter.md +1 -1
- package/docs/operations/gauge.md +1 -1
- package/docs/operations/heatMap.md +1 -1
- package/docs/operations/histogram.md +262 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +7 -7
- package/docs/operations/line.md +280 -1
- package/docs/operations/number.md +1 -1
- package/docs/operations/pie.md +1 -1
- package/docs/operations/radar.md +1 -1
- package/docs/operations/sankey.md +1 -1
- package/docs/operations/scatter.md +148 -1
- package/docs/operations/shape.md +1 -1
- package/docs/operations/simpleTextObject.md +1 -1
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +374 -157
- package/docs/operations/tree.md +1 -1
- package/docs/operations/treemap.md +1 -1
- package/docs/operations/waterfall.md +1 -1
- package/docs/operations/word-cloud.md +1 -1
- package/getters.js +2 -2
- package/index.js +482 -434
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +72 -67
- package/src/definitions/index.d.ts +7 -1
- package/src/definitions/model/definitions/available-fields.d.ts +2 -2
- package/src/definitions/model/definitions/compilers/compile.d.ts +1 -0
- package/src/definitions/model/definitions/data-item-resolution.d.ts +3 -3
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +219 -7
- package/src/definitions/model/definitions/index.d.ts +2 -1
- package/src/definitions/model/definitions/schema-registry.d.ts +305 -0
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -0
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +4 -3
- package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
- package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
- package/src/definitions/model/definitions/types/compilation.types.d.ts +9 -1
- package/src/definitions/model/definitions/types/definition.types.d.ts +2 -2
- package/src/definitions/model/definitions/types/index.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/operations/index.d.ts +1 -1
- package/src/types.d.ts +17 -13
- package/chunks/FieldTypeIcon-pSVQFemC.js +0 -22
- package/chunks/ToggleButton-Br9HCPCv.js +0 -150
- package/chunks/color-rules-CN7TcGrC.js +0 -6
- package/chunks/color-settings-3VRlf_Vw.js +0 -6
- package/chunks/handlers-CMbyj5y1.js +0 -12930
- package/chunks/isEqual-DBg_b35N.js +0 -12
- package/chunks/label-format-type-weq1XfcX.js +0 -8
- package/chunks/operations-HSqnCRvv.js +0 -26324
- package/chunks/shared-DFoJxjVN.js +0 -1218
- package/chunks/standalone-530a5lvf.js +0 -1003
- package/chunks/standalone-B4jrf4KE.js +0 -354
- package/chunks/standalone-BMoJXGYe.js +0 -2
- package/chunks/standalone-BfvGggeM2.js +0 -355
- package/chunks/standalone-CMJJIi9v.js +0 -2
- package/chunks/standalone-C_Jd4gkj.js +0 -6
- package/chunks/standalone-CiaaibTa.js +0 -518
- package/chunks/standalone-DBeXQrwH.js +0 -468
- package/chunks/standalone-DpSRmAWx.js +0 -287
- package/chunks/standalone-kzAhwH19.js +0 -689
- package/chunks/standalone-mb7LwEiq.js +0 -3874
- /package/chunks/{src-BOS6SqkZ2.js → src-BOS6SqkZ.js} +0 -0
|
@@ -43,6 +43,7 @@ export declare const visualizationDefinitionSchemas: {
|
|
|
43
43
|
aggregation: z.ZodOptional<z.ZodString>;
|
|
44
44
|
dataLabels: z.ZodOptional<z.ZodObject<{
|
|
45
45
|
placements: z.ZodOptional<z.ZodArray<z.ZodType<"inside" | "opposite" | "outside", unknown, z.core.$ZodTypeInternals<"inside" | "opposite" | "outside", unknown>>>>;
|
|
46
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
46
47
|
visible: z.ZodBoolean;
|
|
47
48
|
}, z.core.$strict>>;
|
|
48
49
|
fieldKey: z.ZodString;
|
|
@@ -83,6 +84,7 @@ export declare const visualizationDefinitionSchemas: {
|
|
|
83
84
|
}, z.core.$strict>>;
|
|
84
85
|
orientation: z.ZodOptional<z.ZodType<"horizontal" | "vertical", unknown, z.core.$ZodTypeInternals<"horizontal" | "vertical", unknown>>>;
|
|
85
86
|
coloring: z.ZodOptional<z.ZodType<import("./schemas").ColoringDefinition, unknown, z.core.$ZodTypeInternals<import("./schemas").ColoringDefinition, unknown>>>;
|
|
87
|
+
layout: z.ZodOptional<z.ZodType<"groups" | "stacked", unknown, z.core.$ZodTypeInternals<"groups" | "stacked", unknown>>>;
|
|
86
88
|
}, z.core.$strict>>;
|
|
87
89
|
sorting: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
88
90
|
by: z.ZodString;
|
|
@@ -383,6 +385,309 @@ export declare const visualizationDefinitionSchemas: {
|
|
|
383
385
|
type: z.ZodLiteral<"line">;
|
|
384
386
|
version: z.ZodLiteral<1>;
|
|
385
387
|
}, z.core.$strict>;
|
|
388
|
+
readonly map: z.ZodObject<{
|
|
389
|
+
type: z.ZodLiteral<"map">;
|
|
390
|
+
version: z.ZodLiteral<1>;
|
|
391
|
+
layers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
392
|
+
name: z.ZodOptional<z.ZodString>;
|
|
393
|
+
ref: z.ZodString;
|
|
394
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
395
|
+
type: z.ZodLiteral<"map">;
|
|
396
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
397
|
+
mapType?: "hereMap" | "openStreetMap" | undefined;
|
|
398
|
+
apiKey?: string | undefined;
|
|
399
|
+
mapLanguage?: string | undefined;
|
|
400
|
+
politicalView?: string | undefined;
|
|
401
|
+
opacity?: number | undefined;
|
|
402
|
+
layerType?: "cycle" | "default" | "humanitarian" | undefined;
|
|
403
|
+
layerStyle?: "black" | "dark" | "default" | "greyscale" | undefined;
|
|
404
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
405
|
+
mapType?: "hereMap" | "openStreetMap" | undefined;
|
|
406
|
+
apiKey?: string | undefined;
|
|
407
|
+
mapLanguage?: string | undefined;
|
|
408
|
+
politicalView?: string | undefined;
|
|
409
|
+
opacity?: number | undefined;
|
|
410
|
+
layerType?: "cycle" | "default" | "humanitarian" | undefined;
|
|
411
|
+
layerStyle?: "black" | "dark" | "default" | "greyscale" | undefined;
|
|
412
|
+
}, unknown>>>;
|
|
413
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
414
|
+
name: z.ZodOptional<z.ZodString>;
|
|
415
|
+
ref: z.ZodString;
|
|
416
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
417
|
+
type: z.ZodLiteral<"image">;
|
|
418
|
+
image: z.ZodObject<{
|
|
419
|
+
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
|
+
mediaItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
421
|
+
imageVariable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
422
|
+
}, z.core.$strict>;
|
|
423
|
+
position: z.ZodObject<{
|
|
424
|
+
topLeftLongitude: z.ZodNumber;
|
|
425
|
+
topLeftLatitude: z.ZodNumber;
|
|
426
|
+
bottomRightLongitude: z.ZodNumber;
|
|
427
|
+
bottomRightLatitude: z.ZodNumber;
|
|
428
|
+
}, z.core.$strict>;
|
|
429
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
431
|
+
name: z.ZodOptional<z.ZodString>;
|
|
432
|
+
ref: z.ZodString;
|
|
433
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
434
|
+
data: z.ZodObject<{
|
|
435
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
436
|
+
fieldKey: z.ZodString;
|
|
437
|
+
ref: z.ZodString;
|
|
438
|
+
}, z.core.$strict>>;
|
|
439
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
440
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
441
|
+
fieldKey: z.ZodString;
|
|
442
|
+
ref: z.ZodString;
|
|
443
|
+
role: z.ZodEnum<{
|
|
444
|
+
fourthGeo: "fourthGeo";
|
|
445
|
+
geo: "geo";
|
|
446
|
+
measure: "measure";
|
|
447
|
+
secondGeo: "secondGeo";
|
|
448
|
+
size: "size";
|
|
449
|
+
thirdGeo: "thirdGeo";
|
|
450
|
+
}>;
|
|
451
|
+
}, z.core.$strict>>;
|
|
452
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
453
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
454
|
+
fieldKey: z.ZodString;
|
|
455
|
+
ref: z.ZodString;
|
|
456
|
+
}, z.core.$strict>>>;
|
|
457
|
+
}, z.core.$strict>;
|
|
458
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
459
|
+
type: z.ZodLiteral<"point">;
|
|
460
|
+
locationType: z.ZodEnum<{
|
|
461
|
+
geoHash: "geoHash";
|
|
462
|
+
geoPoint: "geoPoint";
|
|
463
|
+
latLng: "latLng";
|
|
464
|
+
}>;
|
|
465
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
466
|
+
color?: string | undefined;
|
|
467
|
+
opacity?: number | undefined;
|
|
468
|
+
shape?: "circle" | "hexagon" | "square" | "star" | "triangle" | undefined;
|
|
469
|
+
sizing?: {
|
|
470
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
471
|
+
size?: number | undefined;
|
|
472
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
473
|
+
minSize?: number | undefined;
|
|
474
|
+
maxSize?: number | undefined;
|
|
475
|
+
} | undefined;
|
|
476
|
+
labelsVisible?: boolean | undefined;
|
|
477
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
478
|
+
color?: string | undefined;
|
|
479
|
+
opacity?: number | undefined;
|
|
480
|
+
shape?: "circle" | "hexagon" | "square" | "star" | "triangle" | undefined;
|
|
481
|
+
sizing?: {
|
|
482
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
483
|
+
size?: number | undefined;
|
|
484
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
485
|
+
minSize?: number | undefined;
|
|
486
|
+
maxSize?: number | undefined;
|
|
487
|
+
} | undefined;
|
|
488
|
+
labelsVisible?: boolean | undefined;
|
|
489
|
+
}, unknown>>>;
|
|
490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
491
|
+
name: z.ZodOptional<z.ZodString>;
|
|
492
|
+
ref: z.ZodString;
|
|
493
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
+
data: z.ZodObject<{
|
|
495
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
496
|
+
fieldKey: z.ZodString;
|
|
497
|
+
ref: z.ZodString;
|
|
498
|
+
}, z.core.$strict>>;
|
|
499
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
500
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
501
|
+
fieldKey: z.ZodString;
|
|
502
|
+
ref: z.ZodString;
|
|
503
|
+
role: z.ZodEnum<{
|
|
504
|
+
fourthGeo: "fourthGeo";
|
|
505
|
+
geo: "geo";
|
|
506
|
+
measure: "measure";
|
|
507
|
+
secondGeo: "secondGeo";
|
|
508
|
+
size: "size";
|
|
509
|
+
thirdGeo: "thirdGeo";
|
|
510
|
+
}>;
|
|
511
|
+
}, z.core.$strict>>;
|
|
512
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
513
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
514
|
+
fieldKey: z.ZodString;
|
|
515
|
+
ref: z.ZodString;
|
|
516
|
+
}, z.core.$strict>>>;
|
|
517
|
+
}, z.core.$strict>;
|
|
518
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
519
|
+
type: z.ZodLiteral<"shape">;
|
|
520
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
521
|
+
color?: string | undefined;
|
|
522
|
+
opacity?: number | undefined;
|
|
523
|
+
strokeEnabled?: boolean | undefined;
|
|
524
|
+
strokeColor?: string | null | undefined;
|
|
525
|
+
strokeWidth?: number | undefined;
|
|
526
|
+
labelsVisible?: boolean | undefined;
|
|
527
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
528
|
+
color?: string | undefined;
|
|
529
|
+
opacity?: number | undefined;
|
|
530
|
+
strokeEnabled?: boolean | undefined;
|
|
531
|
+
strokeColor?: string | null | undefined;
|
|
532
|
+
strokeWidth?: number | undefined;
|
|
533
|
+
labelsVisible?: boolean | undefined;
|
|
534
|
+
}, unknown>>>;
|
|
535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
536
|
+
name: z.ZodOptional<z.ZodString>;
|
|
537
|
+
ref: z.ZodString;
|
|
538
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
539
|
+
data: z.ZodObject<{
|
|
540
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
541
|
+
fieldKey: z.ZodString;
|
|
542
|
+
ref: z.ZodString;
|
|
543
|
+
}, z.core.$strict>>;
|
|
544
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
545
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
546
|
+
fieldKey: z.ZodString;
|
|
547
|
+
ref: z.ZodString;
|
|
548
|
+
role: z.ZodEnum<{
|
|
549
|
+
fourthGeo: "fourthGeo";
|
|
550
|
+
geo: "geo";
|
|
551
|
+
measure: "measure";
|
|
552
|
+
secondGeo: "secondGeo";
|
|
553
|
+
size: "size";
|
|
554
|
+
thirdGeo: "thirdGeo";
|
|
555
|
+
}>;
|
|
556
|
+
}, z.core.$strict>>;
|
|
557
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
558
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
559
|
+
fieldKey: z.ZodString;
|
|
560
|
+
ref: z.ZodString;
|
|
561
|
+
}, z.core.$strict>>>;
|
|
562
|
+
}, z.core.$strict>;
|
|
563
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
564
|
+
type: z.ZodLiteral<"heatMap">;
|
|
565
|
+
locationType: z.ZodEnum<{
|
|
566
|
+
geoHash: "geoHash";
|
|
567
|
+
geoPoint: "geoPoint";
|
|
568
|
+
latLng: "latLng";
|
|
569
|
+
}>;
|
|
570
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
571
|
+
heat?: {
|
|
572
|
+
radius?: number | undefined;
|
|
573
|
+
maxZoom?: number | undefined;
|
|
574
|
+
blur?: number | undefined;
|
|
575
|
+
changeHeatWhenZooming?: boolean | undefined;
|
|
576
|
+
} | undefined;
|
|
577
|
+
value?: {
|
|
578
|
+
value?: number | undefined;
|
|
579
|
+
type?: "byMeasure" | "fixed" | undefined;
|
|
580
|
+
range?: "auto" | "custom" | undefined;
|
|
581
|
+
minValue?: number | undefined;
|
|
582
|
+
maxValue?: number | undefined;
|
|
583
|
+
} | undefined;
|
|
584
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
585
|
+
heat?: {
|
|
586
|
+
radius?: number | undefined;
|
|
587
|
+
maxZoom?: number | undefined;
|
|
588
|
+
blur?: number | undefined;
|
|
589
|
+
changeHeatWhenZooming?: boolean | undefined;
|
|
590
|
+
} | undefined;
|
|
591
|
+
value?: {
|
|
592
|
+
value?: number | undefined;
|
|
593
|
+
type?: "byMeasure" | "fixed" | undefined;
|
|
594
|
+
range?: "auto" | "custom" | undefined;
|
|
595
|
+
minValue?: number | undefined;
|
|
596
|
+
maxValue?: number | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
}, unknown>>>;
|
|
599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
600
|
+
name: z.ZodOptional<z.ZodString>;
|
|
601
|
+
ref: z.ZodString;
|
|
602
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
603
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
604
|
+
type: z.ZodLiteral<"pointConnection">;
|
|
605
|
+
data: z.ZodObject<{
|
|
606
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
607
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
608
|
+
fieldKey: z.ZodString;
|
|
609
|
+
ref: z.ZodString;
|
|
610
|
+
role: z.ZodEnum<{
|
|
611
|
+
fourthGeo: "fourthGeo";
|
|
612
|
+
geo: "geo";
|
|
613
|
+
measure: "measure";
|
|
614
|
+
secondGeo: "secondGeo";
|
|
615
|
+
size: "size";
|
|
616
|
+
thirdGeo: "thirdGeo";
|
|
617
|
+
}>;
|
|
618
|
+
}, z.core.$strict>>;
|
|
619
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
620
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
621
|
+
fieldKey: z.ZodString;
|
|
622
|
+
ref: z.ZodString;
|
|
623
|
+
}, z.core.$strict>>>;
|
|
624
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
625
|
+
fieldKey: z.ZodString;
|
|
626
|
+
ref: z.ZodString;
|
|
627
|
+
}, z.core.$strict>>;
|
|
628
|
+
}, z.core.$strict>;
|
|
629
|
+
locationType: z.ZodEnum<{
|
|
630
|
+
geoHash: "geoHash";
|
|
631
|
+
geoPoint: "geoPoint";
|
|
632
|
+
latLng: "latLng";
|
|
633
|
+
}>;
|
|
634
|
+
secondLocationType: z.ZodEnum<{
|
|
635
|
+
geoHash: "geoHash";
|
|
636
|
+
geoPoint: "geoPoint";
|
|
637
|
+
latLng: "latLng";
|
|
638
|
+
}>;
|
|
639
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
640
|
+
color?: string | undefined;
|
|
641
|
+
opacity?: number | undefined;
|
|
642
|
+
sizing?: {
|
|
643
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
644
|
+
size?: number | undefined;
|
|
645
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
646
|
+
minSize?: number | undefined;
|
|
647
|
+
maxSize?: number | undefined;
|
|
648
|
+
} | undefined;
|
|
649
|
+
useGeodesicLines?: boolean | undefined;
|
|
650
|
+
lineStyle?: "dashed" | "dotted" | "line" | undefined;
|
|
651
|
+
arrow?: {
|
|
652
|
+
show?: boolean | undefined;
|
|
653
|
+
position?: number | undefined;
|
|
654
|
+
size?: number | undefined;
|
|
655
|
+
} | undefined;
|
|
656
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
657
|
+
color?: string | undefined;
|
|
658
|
+
opacity?: number | undefined;
|
|
659
|
+
sizing?: {
|
|
660
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
661
|
+
size?: number | undefined;
|
|
662
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
663
|
+
minSize?: number | undefined;
|
|
664
|
+
maxSize?: number | undefined;
|
|
665
|
+
} | undefined;
|
|
666
|
+
useGeodesicLines?: boolean | undefined;
|
|
667
|
+
lineStyle?: "dashed" | "dotted" | "line" | undefined;
|
|
668
|
+
arrow?: {
|
|
669
|
+
show?: boolean | undefined;
|
|
670
|
+
position?: number | undefined;
|
|
671
|
+
size?: number | undefined;
|
|
672
|
+
} | undefined;
|
|
673
|
+
}, unknown>>>;
|
|
674
|
+
}, z.core.$strict>], "type">>;
|
|
675
|
+
view: z.ZodOptional<z.ZodType<{
|
|
676
|
+
zoomMode?: "auto" | "manual" | undefined;
|
|
677
|
+
latitude?: number | undefined;
|
|
678
|
+
longitude?: number | undefined;
|
|
679
|
+
minZoom?: number | undefined;
|
|
680
|
+
maxZoom?: number | undefined;
|
|
681
|
+
zoom?: number | undefined;
|
|
682
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
683
|
+
zoomMode?: "auto" | "manual" | undefined;
|
|
684
|
+
latitude?: number | undefined;
|
|
685
|
+
longitude?: number | undefined;
|
|
686
|
+
minZoom?: number | undefined;
|
|
687
|
+
maxZoom?: number | undefined;
|
|
688
|
+
zoom?: number | undefined;
|
|
689
|
+
}, unknown>>>;
|
|
690
|
+
}, z.core.$strict>;
|
|
386
691
|
readonly table: z.ZodObject<{
|
|
387
692
|
data: z.ZodUnion<readonly [z.ZodObject<{
|
|
388
693
|
columns: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -21,6 +21,7 @@ export declare const barVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
21
21
|
aggregation: z.ZodOptional<z.ZodString>;
|
|
22
22
|
dataLabels: z.ZodOptional<z.ZodObject<{
|
|
23
23
|
placements: z.ZodOptional<z.ZodArray<z.ZodType<"inside" | "opposite" | "outside", unknown, z.core.$ZodTypeInternals<"inside" | "opposite" | "outside", unknown>>>>;
|
|
24
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
24
25
|
visible: z.ZodBoolean;
|
|
25
26
|
}, z.core.$strict>>;
|
|
26
27
|
fieldKey: z.ZodString;
|
|
@@ -61,6 +62,7 @@ export declare const barVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
61
62
|
}, z.core.$strict>>;
|
|
62
63
|
orientation: z.ZodOptional<z.ZodType<"horizontal" | "vertical", unknown, z.core.$ZodTypeInternals<"horizontal" | "vertical", unknown>>>;
|
|
63
64
|
coloring: z.ZodOptional<z.ZodType<import("./common.schema").ColoringDefinition, unknown, z.core.$ZodTypeInternals<import("./common.schema").ColoringDefinition, unknown>>>;
|
|
65
|
+
layout: z.ZodOptional<z.ZodType<"groups" | "stacked", unknown, z.core.$ZodTypeInternals<"groups" | "stacked", unknown>>>;
|
|
64
66
|
}, z.core.$strict>>;
|
|
65
67
|
sorting: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
68
|
by: z.ZodString;
|
|
@@ -98,6 +98,7 @@ export declare const measureDefinitionSchema: z.ZodObject<{
|
|
|
98
98
|
aggregation: z.ZodOptional<z.ZodString>;
|
|
99
99
|
dataLabels: z.ZodOptional<z.ZodObject<{
|
|
100
100
|
placements: z.ZodOptional<z.ZodArray<z.ZodType<"inside" | "opposite" | "outside", unknown, z.core.$ZodTypeInternals<"inside" | "opposite" | "outside", unknown>>>>;
|
|
101
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
101
102
|
visible: z.ZodBoolean;
|
|
102
103
|
}, z.core.$strict>>;
|
|
103
104
|
fieldKey: z.ZodString;
|
|
@@ -269,11 +270,11 @@ export declare const measureAxisDefinitionSchema: z.ZodObject<{
|
|
|
269
270
|
export type RangedMeasureAxisName = 'primaryMeasure' | 'secondaryMeasure';
|
|
270
271
|
export interface AxesDefinitionOptions {
|
|
271
272
|
/** Whether the measure axes accept `scale`, for the charts that draw logarithmic axes. */
|
|
272
|
-
logScale?: boolean;
|
|
273
|
+
logScale?: boolean | undefined;
|
|
273
274
|
/** Whether the primary measure axis accepts `bands`. */
|
|
274
|
-
primaryMeasureBands?: boolean;
|
|
275
|
+
primaryMeasureBands?: boolean | undefined;
|
|
275
276
|
/** The measure axes whose range and direction the chart honours, which accept `inverted` and `range`. */
|
|
276
|
-
rangedMeasureAxes?: RangedMeasureAxisName[];
|
|
277
|
+
rangedMeasureAxes?: RangedMeasureAxisName[] | undefined;
|
|
277
278
|
}
|
|
278
279
|
type AxesDefinitionSchema = z.ZodObject<{
|
|
279
280
|
dimension: z.ZodOptional<typeof axisDefinitionSchema>;
|
|
@@ -4,6 +4,7 @@ export { type BroadChartVisualizationDefinition, type BroadChartVisualizationTyp
|
|
|
4
4
|
export { type AxesDefinitionOptions, type ColoringDefinition, type ColoringOverwriteDefinition, type ColoringRuleDefinition, type RangedMeasureAxisName, type TemporalGroupingDefinition, type VisualizationAvailableField, type VisualizationStaticFilter, type VisualizationStaticFilterGroup, asPublicSchema, axesDefinitionSchema, axisDefinitionSchema, cartesianPresentationSchema, createAxesDefinitionSchema, createColoringDefinitionSchema, dimensionDefinitionSchema, fieldKeySchema, legendDefinitionSchema, limitingDefinitionSchema, measureAxisDefinitionSchema, measureAxisRangeDefinitionSchema, measureDefinitionSchema, referenceSchema, sortingDefinitionSchema, temporalGroupingDefinitionSchema, valueFormattingSchema, visualizationAvailableFieldAggregationSchema, visualizationAvailableFieldSchema, visualizationStaticFilterGroupSchema, visualizationStaticFilterSchema, } from './common.schema';
|
|
5
5
|
export { type FilterVisualizationDefinition, filterVisualizationDefinitionSchema } from './filter.schema';
|
|
6
6
|
export { type LineVisualizationDefinition, lineVisualizationDefinitionSchema } from './line.schema';
|
|
7
|
+
export { type MapLayerDefinition, type MapVisualizationDefinition, mapLayerDefinitionSchema, mapVisualizationDefinitionSchema, } from './map.schema';
|
|
7
8
|
export { type NumberVisualizationDefinition, numberVisualizationDefinitionSchema } from './number.schema';
|
|
8
9
|
export { type AtomicInputVisualizationDefinition, type DatePickerVisualizationDefinition, type IframeVisualizationDefinition, type ImageVisualizationDefinition, type ShapeVisualizationDefinition, type SliderVisualizationDefinition, type TextVisualizationDefinition, atomicInputVisualizationDefinitionSchema, datePickerVisualizationDefinitionSchema, iframeVisualizationDefinitionSchema, imageVisualizationDefinitionSchema, shapeVisualizationDefinitionSchema, sliderVisualizationDefinitionSchema, textVisualizationDefinitionSchema, } from './object.schema';
|
|
9
10
|
export { type TableDataDefinition, type TablePresentationDefinition, type TableTotalsDefinition, type TableVisualizationDefinition, tableDataDefinitionSchema, tablePresentationDefinitionSchema, tableTotalsDefinitionSchema, tableVisualizationDefinitionSchema, } from './table.schema';
|