@astrato-io/visualizations 0.8.0 → 0.10.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.
- package/README.md +9 -5
- package/THIRD_PARTY_NOTICES.md +403 -325
- package/VISUALIZATION_DEFINITIONS.md +319 -32
- package/chunks/{Button-BrGKp9Nm.js → Button-CCF851ea.js} +10 -10
- package/chunks/CircularProgress-yupH6YWs.js +765 -0
- package/chunks/FieldTypeIcon-D_MzsdfY.js +22 -0
- package/chunks/LinearProgress-CyFjN4px.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-CQpT79AP.js} +1391 -1008
- package/chunks/Title-C-p4ZarD.js +1804 -0
- package/chunks/_createAggregator-BF4qG9XK.js +50 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-8fxCo2q7.js} +10 -10
- package/chunks/bar-layout-DStC-GNV.js +9 -0
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-CQAu8KL8.js} +102 -84
- package/chunks/{builder-DEDvNq1k.js → builder-CScg1TOS.js} +156 -60
- package/chunks/color-rules-DYJL4fIW.js +15 -0
- package/chunks/color-settings-DJFoFTip.js +5 -0
- package/chunks/{coloring-CncX_JRX.js → coloring-9jU3s_-p.js} +41 -41
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/createSimplePaletteValueFilter-C4hZpCdn.js +2005 -0
- package/chunks/defaults-cyNhn37t.js +3 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-C4grxhye.js} +612 -400
- package/chunks/{escobar-DRhRMYRE.js → escobar-CjirINHP.js} +5354 -5473
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-D-l9u_we.js} +974 -909
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-lji2Acgn.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-C1zakrrX.js} +570 -390
- package/chunks/handlers-ZviIUC-j.js +15387 -0
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-Bj80ZUBK.js} +11 -11
- package/chunks/isEqual-Ch9OEye3.js +16 -0
- package/chunks/isFocusVisible-CgMP0qkR.js +144 -0
- package/chunks/label-format-type-C46pzgx7.js +17 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-De5fiKuR.js} +6 -6
- package/chunks/{logger-DpQtYQnX.js → logger-CKRjhSHQ.js} +77 -66
- package/chunks/map.compiler-CKzorLgK.js +345 -0
- package/chunks/{metadata-WABZrt7Y.js → metadata-Bb9pTXrq.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CaTmJkmi.js} +4 -4
- package/chunks/operations-DZoY50VX.js +31297 -0
- package/chunks/{range-Bi-7zT0k.js → range-D1BTmFMp.js} +2 -2
- package/chunks/react-dom-Dgv2azN2.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-_P3xwu5A.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-NHNrR8Ie.js} +55 -53
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/shared-UitWpq1J.js +1331 -0
- package/chunks/standalone-B0U6c3su.js +3638 -0
- package/chunks/{standalone-we5D5MIn.js → standalone-BBu90BhK.js} +113 -113
- package/chunks/standalone-BEekPuA12.js +357 -0
- package/chunks/{standalone-BMTCb10X.js → standalone-BOzHA_d4.js} +41 -41
- package/chunks/standalone-BR2JuRIC.js +422 -0
- package/chunks/{standalone-BGkmozIb.js → standalone-BapqaniK.js} +619 -619
- package/chunks/standalone-Bnnr87pc.js +2009 -0
- package/chunks/standalone-BwJqDj2Z.js +396 -0
- package/chunks/{standalone-BDhPQtzQ.js → standalone-ByKKqT5L.js} +308 -300
- package/chunks/{standalone-vBnBS2YC.js → standalone-CRdDZYeM.js} +1788 -1004
- package/chunks/standalone-CRfDOO1x.js +287 -0
- package/chunks/{standalone-D5Q5ngsD.js → standalone-CVknVdUC.js} +30 -27
- package/chunks/standalone-CbPk8bKn.js +580 -0
- package/chunks/{standalone-CJvIXsQE.js → standalone-Ck63MZzj.js} +234 -232
- package/chunks/{standalone-CM5XcAN5.js → standalone-DCFY1MAV.js} +8075 -7729
- package/chunks/{standalone-DW6NT205.js → standalone-DZDGX3aa.js} +168 -168
- package/chunks/standalone-DhfgeJIk.js +1012 -0
- package/chunks/{standalone-DT0wKji7.js → standalone-DibjA73M.js} +2 -2
- package/chunks/{standalone-XuGksArp.js → standalone-DtBk_iUz.js} +9 -8
- package/chunks/standalone-DxBAyqAu.js +772 -0
- package/chunks/standalone-KMQPsNsq.js +2 -0
- package/chunks/standalone-MBLSvsrY.js +2 -0
- package/chunks/standalone-U0WJwFlG.js +354 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-swGs70tD.js} +49 -51
- package/chunks/standalone-wgFAVnnm.js +355 -0
- package/chunks/standalone-xGV0dqPV.js +689 -0
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-OWSx5MOq.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-B8iCYyw1.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-3Igg6xmO.js} +7668 -12779
- package/chunks/{view-BuwQugKb.js → view-DdMLZySj.js} +2430 -2110
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-CzvFHE6M.js} +5205 -4438
- package/chunks/with-html-element-DOfkR3C1.js +16094 -0
- 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 +8 -8
- package/docs/operations/line.md +262 -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 +439 -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 +523 -469
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +74 -68
- package/src/definitions/index.d.ts +1 -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 +535 -349
- package/src/definitions/model/definitions/index.d.ts +2 -1
- package/src/definitions/model/definitions/schema-registry.d.ts +406 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +10 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +33 -32
- package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
- package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
- package/src/definitions/model/definitions/types/compilation.types.d.ts +7 -2
- 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 +45 -41
- package/src/visualization-catalog.d.ts +26 -26
- package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
- package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
- package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
- package/chunks/Title-CO5dP1ma.js +0 -1691
- package/chunks/ToggleButton-KOBAimC1.js +0 -112
- package/chunks/color-rules-CN7TcGrC.js +0 -6
- package/chunks/color-settings-3VRlf_Vw.js +0 -6
- package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/handlers-TOT-7INo.js +0 -12871
- package/chunks/isEqual-B8loyPsC.js +0 -12
- package/chunks/label-format-type-weq1XfcX.js +0 -8
- package/chunks/operations-Dh4v1Ovt.js +0 -26280
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/shared-Bn4N5QcZ.js +0 -1218
- package/chunks/standalone-B55oyW6c.js +0 -689
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-Bes8srx1.js +0 -354
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-BlMIwpEe.js +0 -1877
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-CLmGb7nn2.js +0 -355
- package/chunks/standalone-CXNP6-xD.js +0 -420
- package/chunks/standalone-DLlyRIE6.js +0 -287
- package/chunks/standalone-DMcI1afI.js +0 -396
- package/chunks/standalone-DN4S1MjT.js +0 -3874
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/standalone-D__XCp-h.js +0 -1003
- package/chunks/standalone-XTgSsTAa.js +0 -354
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const mapLayerDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4
|
+
ref: z.ZodString;
|
|
5
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
type: z.ZodLiteral<"map">;
|
|
7
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
8
|
+
mapType?: "hereMap" | "openStreetMap" | undefined;
|
|
9
|
+
apiKey?: string | undefined;
|
|
10
|
+
mapLanguage?: string | undefined;
|
|
11
|
+
politicalView?: string | undefined;
|
|
12
|
+
opacity?: number | undefined;
|
|
13
|
+
layerType?: "cycle" | "default" | "humanitarian" | undefined;
|
|
14
|
+
layerStyle?: "black" | "dark" | "default" | "greyscale" | undefined;
|
|
15
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
16
|
+
mapType?: "hereMap" | "openStreetMap" | undefined;
|
|
17
|
+
apiKey?: string | undefined;
|
|
18
|
+
mapLanguage?: string | undefined;
|
|
19
|
+
politicalView?: string | undefined;
|
|
20
|
+
opacity?: number | undefined;
|
|
21
|
+
layerType?: "cycle" | "default" | "humanitarian" | undefined;
|
|
22
|
+
layerStyle?: "black" | "dark" | "default" | "greyscale" | undefined;
|
|
23
|
+
}, unknown>>>;
|
|
24
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
25
|
+
name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
ref: z.ZodString;
|
|
27
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
type: z.ZodLiteral<"image">;
|
|
29
|
+
image: z.ZodObject<{
|
|
30
|
+
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
mediaItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
imageVariable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
position: z.ZodObject<{
|
|
35
|
+
topLeftLongitude: z.ZodNumber;
|
|
36
|
+
topLeftLatitude: z.ZodNumber;
|
|
37
|
+
bottomRightLongitude: z.ZodNumber;
|
|
38
|
+
bottomRightLatitude: z.ZodNumber;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
42
|
+
name: z.ZodOptional<z.ZodString>;
|
|
43
|
+
ref: z.ZodString;
|
|
44
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
data: z.ZodObject<{
|
|
46
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
47
|
+
fieldKey: z.ZodString;
|
|
48
|
+
ref: z.ZodString;
|
|
49
|
+
}, z.core.$strict>>;
|
|
50
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
51
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
52
|
+
fieldKey: z.ZodString;
|
|
53
|
+
ref: z.ZodString;
|
|
54
|
+
role: z.ZodEnum<{
|
|
55
|
+
fourthGeo: "fourthGeo";
|
|
56
|
+
geo: "geo";
|
|
57
|
+
measure: "measure";
|
|
58
|
+
secondGeo: "secondGeo";
|
|
59
|
+
size: "size";
|
|
60
|
+
thirdGeo: "thirdGeo";
|
|
61
|
+
}>;
|
|
62
|
+
}, z.core.$strict>>;
|
|
63
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
64
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
65
|
+
fieldKey: z.ZodString;
|
|
66
|
+
ref: z.ZodString;
|
|
67
|
+
}, z.core.$strict>>>;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
70
|
+
type: z.ZodLiteral<"point">;
|
|
71
|
+
locationType: z.ZodEnum<{
|
|
72
|
+
geoHash: "geoHash";
|
|
73
|
+
geoPoint: "geoPoint";
|
|
74
|
+
latLng: "latLng";
|
|
75
|
+
}>;
|
|
76
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
77
|
+
color?: string | undefined;
|
|
78
|
+
opacity?: number | undefined;
|
|
79
|
+
shape?: "circle" | "hexagon" | "square" | "star" | "triangle" | undefined;
|
|
80
|
+
sizing?: {
|
|
81
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
82
|
+
size?: number | undefined;
|
|
83
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
84
|
+
minSize?: number | undefined;
|
|
85
|
+
maxSize?: number | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
labelsVisible?: boolean | undefined;
|
|
88
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
89
|
+
color?: string | undefined;
|
|
90
|
+
opacity?: number | undefined;
|
|
91
|
+
shape?: "circle" | "hexagon" | "square" | "star" | "triangle" | undefined;
|
|
92
|
+
sizing?: {
|
|
93
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
94
|
+
size?: number | undefined;
|
|
95
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
96
|
+
minSize?: number | undefined;
|
|
97
|
+
maxSize?: number | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
labelsVisible?: boolean | undefined;
|
|
100
|
+
}, unknown>>>;
|
|
101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
102
|
+
name: z.ZodOptional<z.ZodString>;
|
|
103
|
+
ref: z.ZodString;
|
|
104
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
data: z.ZodObject<{
|
|
106
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
107
|
+
fieldKey: z.ZodString;
|
|
108
|
+
ref: z.ZodString;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
111
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
112
|
+
fieldKey: z.ZodString;
|
|
113
|
+
ref: z.ZodString;
|
|
114
|
+
role: z.ZodEnum<{
|
|
115
|
+
fourthGeo: "fourthGeo";
|
|
116
|
+
geo: "geo";
|
|
117
|
+
measure: "measure";
|
|
118
|
+
secondGeo: "secondGeo";
|
|
119
|
+
size: "size";
|
|
120
|
+
thirdGeo: "thirdGeo";
|
|
121
|
+
}>;
|
|
122
|
+
}, z.core.$strict>>;
|
|
123
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
124
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
125
|
+
fieldKey: z.ZodString;
|
|
126
|
+
ref: z.ZodString;
|
|
127
|
+
}, z.core.$strict>>>;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
130
|
+
type: z.ZodLiteral<"shape">;
|
|
131
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
132
|
+
color?: string | undefined;
|
|
133
|
+
opacity?: number | undefined;
|
|
134
|
+
strokeEnabled?: boolean | undefined;
|
|
135
|
+
strokeColor?: string | null | undefined;
|
|
136
|
+
strokeWidth?: number | undefined;
|
|
137
|
+
labelsVisible?: boolean | undefined;
|
|
138
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
139
|
+
color?: string | undefined;
|
|
140
|
+
opacity?: number | undefined;
|
|
141
|
+
strokeEnabled?: boolean | undefined;
|
|
142
|
+
strokeColor?: string | null | undefined;
|
|
143
|
+
strokeWidth?: number | undefined;
|
|
144
|
+
labelsVisible?: boolean | undefined;
|
|
145
|
+
}, unknown>>>;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
name: z.ZodOptional<z.ZodString>;
|
|
148
|
+
ref: z.ZodString;
|
|
149
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
data: z.ZodObject<{
|
|
151
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
152
|
+
fieldKey: z.ZodString;
|
|
153
|
+
ref: z.ZodString;
|
|
154
|
+
}, z.core.$strict>>;
|
|
155
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
156
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
157
|
+
fieldKey: z.ZodString;
|
|
158
|
+
ref: z.ZodString;
|
|
159
|
+
role: z.ZodEnum<{
|
|
160
|
+
fourthGeo: "fourthGeo";
|
|
161
|
+
geo: "geo";
|
|
162
|
+
measure: "measure";
|
|
163
|
+
secondGeo: "secondGeo";
|
|
164
|
+
size: "size";
|
|
165
|
+
thirdGeo: "thirdGeo";
|
|
166
|
+
}>;
|
|
167
|
+
}, z.core.$strict>>;
|
|
168
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
169
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
170
|
+
fieldKey: z.ZodString;
|
|
171
|
+
ref: z.ZodString;
|
|
172
|
+
}, z.core.$strict>>>;
|
|
173
|
+
}, z.core.$strict>;
|
|
174
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
175
|
+
type: z.ZodLiteral<"heatMap">;
|
|
176
|
+
locationType: z.ZodEnum<{
|
|
177
|
+
geoHash: "geoHash";
|
|
178
|
+
geoPoint: "geoPoint";
|
|
179
|
+
latLng: "latLng";
|
|
180
|
+
}>;
|
|
181
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
182
|
+
heat?: {
|
|
183
|
+
radius?: number | undefined;
|
|
184
|
+
maxZoom?: number | undefined;
|
|
185
|
+
blur?: number | undefined;
|
|
186
|
+
changeHeatWhenZooming?: boolean | undefined;
|
|
187
|
+
} | undefined;
|
|
188
|
+
value?: {
|
|
189
|
+
value?: number | undefined;
|
|
190
|
+
type?: "byMeasure" | "fixed" | undefined;
|
|
191
|
+
range?: "auto" | "custom" | undefined;
|
|
192
|
+
minValue?: number | undefined;
|
|
193
|
+
maxValue?: number | undefined;
|
|
194
|
+
} | undefined;
|
|
195
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
196
|
+
heat?: {
|
|
197
|
+
radius?: number | undefined;
|
|
198
|
+
maxZoom?: number | undefined;
|
|
199
|
+
blur?: number | undefined;
|
|
200
|
+
changeHeatWhenZooming?: boolean | undefined;
|
|
201
|
+
} | undefined;
|
|
202
|
+
value?: {
|
|
203
|
+
value?: number | undefined;
|
|
204
|
+
type?: "byMeasure" | "fixed" | undefined;
|
|
205
|
+
range?: "auto" | "custom" | undefined;
|
|
206
|
+
minValue?: number | undefined;
|
|
207
|
+
maxValue?: number | undefined;
|
|
208
|
+
} | undefined;
|
|
209
|
+
}, unknown>>>;
|
|
210
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
211
|
+
name: z.ZodOptional<z.ZodString>;
|
|
212
|
+
ref: z.ZodString;
|
|
213
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
215
|
+
type: z.ZodLiteral<"pointConnection">;
|
|
216
|
+
data: z.ZodObject<{
|
|
217
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
218
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
219
|
+
fieldKey: z.ZodString;
|
|
220
|
+
ref: z.ZodString;
|
|
221
|
+
role: z.ZodEnum<{
|
|
222
|
+
fourthGeo: "fourthGeo";
|
|
223
|
+
geo: "geo";
|
|
224
|
+
measure: "measure";
|
|
225
|
+
secondGeo: "secondGeo";
|
|
226
|
+
size: "size";
|
|
227
|
+
thirdGeo: "thirdGeo";
|
|
228
|
+
}>;
|
|
229
|
+
}, z.core.$strict>>;
|
|
230
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
231
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
232
|
+
fieldKey: z.ZodString;
|
|
233
|
+
ref: z.ZodString;
|
|
234
|
+
}, z.core.$strict>>>;
|
|
235
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
236
|
+
fieldKey: z.ZodString;
|
|
237
|
+
ref: z.ZodString;
|
|
238
|
+
}, z.core.$strict>>;
|
|
239
|
+
}, z.core.$strict>;
|
|
240
|
+
locationType: z.ZodEnum<{
|
|
241
|
+
geoHash: "geoHash";
|
|
242
|
+
geoPoint: "geoPoint";
|
|
243
|
+
latLng: "latLng";
|
|
244
|
+
}>;
|
|
245
|
+
secondLocationType: z.ZodEnum<{
|
|
246
|
+
geoHash: "geoHash";
|
|
247
|
+
geoPoint: "geoPoint";
|
|
248
|
+
latLng: "latLng";
|
|
249
|
+
}>;
|
|
250
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
251
|
+
color?: string | undefined;
|
|
252
|
+
opacity?: number | undefined;
|
|
253
|
+
sizing?: {
|
|
254
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
255
|
+
size?: number | undefined;
|
|
256
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
257
|
+
minSize?: number | undefined;
|
|
258
|
+
maxSize?: number | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
useGeodesicLines?: boolean | undefined;
|
|
261
|
+
lineStyle?: "dashed" | "dotted" | "line" | undefined;
|
|
262
|
+
arrow?: {
|
|
263
|
+
show?: boolean | undefined;
|
|
264
|
+
position?: number | undefined;
|
|
265
|
+
size?: number | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
268
|
+
color?: string | undefined;
|
|
269
|
+
opacity?: number | undefined;
|
|
270
|
+
sizing?: {
|
|
271
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
272
|
+
size?: number | undefined;
|
|
273
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
274
|
+
minSize?: number | undefined;
|
|
275
|
+
maxSize?: number | undefined;
|
|
276
|
+
} | undefined;
|
|
277
|
+
useGeodesicLines?: boolean | undefined;
|
|
278
|
+
lineStyle?: "dashed" | "dotted" | "line" | undefined;
|
|
279
|
+
arrow?: {
|
|
280
|
+
show?: boolean | undefined;
|
|
281
|
+
position?: number | undefined;
|
|
282
|
+
size?: number | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
}, unknown>>>;
|
|
285
|
+
}, z.core.$strict>], "type">;
|
|
286
|
+
export declare const mapVisualizationDefinitionSchema: z.ZodObject<{
|
|
287
|
+
type: z.ZodLiteral<"map">;
|
|
288
|
+
version: z.ZodLiteral<1>;
|
|
289
|
+
layers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
290
|
+
name: z.ZodOptional<z.ZodString>;
|
|
291
|
+
ref: z.ZodString;
|
|
292
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
+
type: z.ZodLiteral<"map">;
|
|
294
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
295
|
+
mapType?: "hereMap" | "openStreetMap" | undefined;
|
|
296
|
+
apiKey?: string | undefined;
|
|
297
|
+
mapLanguage?: string | undefined;
|
|
298
|
+
politicalView?: string | undefined;
|
|
299
|
+
opacity?: number | undefined;
|
|
300
|
+
layerType?: "cycle" | "default" | "humanitarian" | undefined;
|
|
301
|
+
layerStyle?: "black" | "dark" | "default" | "greyscale" | undefined;
|
|
302
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
303
|
+
mapType?: "hereMap" | "openStreetMap" | undefined;
|
|
304
|
+
apiKey?: string | undefined;
|
|
305
|
+
mapLanguage?: string | undefined;
|
|
306
|
+
politicalView?: string | undefined;
|
|
307
|
+
opacity?: number | undefined;
|
|
308
|
+
layerType?: "cycle" | "default" | "humanitarian" | undefined;
|
|
309
|
+
layerStyle?: "black" | "dark" | "default" | "greyscale" | undefined;
|
|
310
|
+
}, unknown>>>;
|
|
311
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
312
|
+
name: z.ZodOptional<z.ZodString>;
|
|
313
|
+
ref: z.ZodString;
|
|
314
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
+
type: z.ZodLiteral<"image">;
|
|
316
|
+
image: z.ZodObject<{
|
|
317
|
+
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
+
mediaItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
319
|
+
imageVariable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
320
|
+
}, z.core.$strict>;
|
|
321
|
+
position: z.ZodObject<{
|
|
322
|
+
topLeftLongitude: z.ZodNumber;
|
|
323
|
+
topLeftLatitude: z.ZodNumber;
|
|
324
|
+
bottomRightLongitude: z.ZodNumber;
|
|
325
|
+
bottomRightLatitude: z.ZodNumber;
|
|
326
|
+
}, z.core.$strict>;
|
|
327
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
329
|
+
name: z.ZodOptional<z.ZodString>;
|
|
330
|
+
ref: z.ZodString;
|
|
331
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
332
|
+
data: z.ZodObject<{
|
|
333
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
334
|
+
fieldKey: z.ZodString;
|
|
335
|
+
ref: z.ZodString;
|
|
336
|
+
}, z.core.$strict>>;
|
|
337
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
338
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
339
|
+
fieldKey: z.ZodString;
|
|
340
|
+
ref: z.ZodString;
|
|
341
|
+
role: z.ZodEnum<{
|
|
342
|
+
fourthGeo: "fourthGeo";
|
|
343
|
+
geo: "geo";
|
|
344
|
+
measure: "measure";
|
|
345
|
+
secondGeo: "secondGeo";
|
|
346
|
+
size: "size";
|
|
347
|
+
thirdGeo: "thirdGeo";
|
|
348
|
+
}>;
|
|
349
|
+
}, z.core.$strict>>;
|
|
350
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
351
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
352
|
+
fieldKey: z.ZodString;
|
|
353
|
+
ref: z.ZodString;
|
|
354
|
+
}, z.core.$strict>>>;
|
|
355
|
+
}, z.core.$strict>;
|
|
356
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
357
|
+
type: z.ZodLiteral<"point">;
|
|
358
|
+
locationType: z.ZodEnum<{
|
|
359
|
+
geoHash: "geoHash";
|
|
360
|
+
geoPoint: "geoPoint";
|
|
361
|
+
latLng: "latLng";
|
|
362
|
+
}>;
|
|
363
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
364
|
+
color?: string | undefined;
|
|
365
|
+
opacity?: number | undefined;
|
|
366
|
+
shape?: "circle" | "hexagon" | "square" | "star" | "triangle" | undefined;
|
|
367
|
+
sizing?: {
|
|
368
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
369
|
+
size?: number | undefined;
|
|
370
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
371
|
+
minSize?: number | undefined;
|
|
372
|
+
maxSize?: number | undefined;
|
|
373
|
+
} | undefined;
|
|
374
|
+
labelsVisible?: boolean | undefined;
|
|
375
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
376
|
+
color?: string | undefined;
|
|
377
|
+
opacity?: number | undefined;
|
|
378
|
+
shape?: "circle" | "hexagon" | "square" | "star" | "triangle" | undefined;
|
|
379
|
+
sizing?: {
|
|
380
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
381
|
+
size?: number | undefined;
|
|
382
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
383
|
+
minSize?: number | undefined;
|
|
384
|
+
maxSize?: number | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
labelsVisible?: boolean | undefined;
|
|
387
|
+
}, unknown>>>;
|
|
388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
389
|
+
name: z.ZodOptional<z.ZodString>;
|
|
390
|
+
ref: z.ZodString;
|
|
391
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
392
|
+
data: z.ZodObject<{
|
|
393
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
394
|
+
fieldKey: z.ZodString;
|
|
395
|
+
ref: z.ZodString;
|
|
396
|
+
}, z.core.$strict>>;
|
|
397
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
398
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
399
|
+
fieldKey: z.ZodString;
|
|
400
|
+
ref: z.ZodString;
|
|
401
|
+
role: z.ZodEnum<{
|
|
402
|
+
fourthGeo: "fourthGeo";
|
|
403
|
+
geo: "geo";
|
|
404
|
+
measure: "measure";
|
|
405
|
+
secondGeo: "secondGeo";
|
|
406
|
+
size: "size";
|
|
407
|
+
thirdGeo: "thirdGeo";
|
|
408
|
+
}>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
410
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
411
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
412
|
+
fieldKey: z.ZodString;
|
|
413
|
+
ref: z.ZodString;
|
|
414
|
+
}, z.core.$strict>>>;
|
|
415
|
+
}, z.core.$strict>;
|
|
416
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
417
|
+
type: z.ZodLiteral<"shape">;
|
|
418
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
419
|
+
color?: string | undefined;
|
|
420
|
+
opacity?: number | undefined;
|
|
421
|
+
strokeEnabled?: boolean | undefined;
|
|
422
|
+
strokeColor?: string | null | undefined;
|
|
423
|
+
strokeWidth?: number | undefined;
|
|
424
|
+
labelsVisible?: boolean | undefined;
|
|
425
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
426
|
+
color?: string | undefined;
|
|
427
|
+
opacity?: number | undefined;
|
|
428
|
+
strokeEnabled?: boolean | undefined;
|
|
429
|
+
strokeColor?: string | null | undefined;
|
|
430
|
+
strokeWidth?: number | undefined;
|
|
431
|
+
labelsVisible?: boolean | undefined;
|
|
432
|
+
}, unknown>>>;
|
|
433
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
434
|
+
name: z.ZodOptional<z.ZodString>;
|
|
435
|
+
ref: z.ZodString;
|
|
436
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
+
data: z.ZodObject<{
|
|
438
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
439
|
+
fieldKey: z.ZodString;
|
|
440
|
+
ref: z.ZodString;
|
|
441
|
+
}, z.core.$strict>>;
|
|
442
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
443
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
444
|
+
fieldKey: z.ZodString;
|
|
445
|
+
ref: z.ZodString;
|
|
446
|
+
role: z.ZodEnum<{
|
|
447
|
+
fourthGeo: "fourthGeo";
|
|
448
|
+
geo: "geo";
|
|
449
|
+
measure: "measure";
|
|
450
|
+
secondGeo: "secondGeo";
|
|
451
|
+
size: "size";
|
|
452
|
+
thirdGeo: "thirdGeo";
|
|
453
|
+
}>;
|
|
454
|
+
}, z.core.$strict>>;
|
|
455
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
456
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
457
|
+
fieldKey: z.ZodString;
|
|
458
|
+
ref: z.ZodString;
|
|
459
|
+
}, z.core.$strict>>>;
|
|
460
|
+
}, z.core.$strict>;
|
|
461
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
462
|
+
type: z.ZodLiteral<"heatMap">;
|
|
463
|
+
locationType: z.ZodEnum<{
|
|
464
|
+
geoHash: "geoHash";
|
|
465
|
+
geoPoint: "geoPoint";
|
|
466
|
+
latLng: "latLng";
|
|
467
|
+
}>;
|
|
468
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
469
|
+
heat?: {
|
|
470
|
+
radius?: number | undefined;
|
|
471
|
+
maxZoom?: number | undefined;
|
|
472
|
+
blur?: number | undefined;
|
|
473
|
+
changeHeatWhenZooming?: boolean | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
value?: {
|
|
476
|
+
value?: number | undefined;
|
|
477
|
+
type?: "byMeasure" | "fixed" | undefined;
|
|
478
|
+
range?: "auto" | "custom" | undefined;
|
|
479
|
+
minValue?: number | undefined;
|
|
480
|
+
maxValue?: number | undefined;
|
|
481
|
+
} | undefined;
|
|
482
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
483
|
+
heat?: {
|
|
484
|
+
radius?: number | undefined;
|
|
485
|
+
maxZoom?: number | undefined;
|
|
486
|
+
blur?: number | undefined;
|
|
487
|
+
changeHeatWhenZooming?: boolean | undefined;
|
|
488
|
+
} | undefined;
|
|
489
|
+
value?: {
|
|
490
|
+
value?: number | undefined;
|
|
491
|
+
type?: "byMeasure" | "fixed" | undefined;
|
|
492
|
+
range?: "auto" | "custom" | undefined;
|
|
493
|
+
minValue?: number | undefined;
|
|
494
|
+
maxValue?: number | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
}, unknown>>>;
|
|
497
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
498
|
+
name: z.ZodOptional<z.ZodString>;
|
|
499
|
+
ref: z.ZodString;
|
|
500
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
502
|
+
type: z.ZodLiteral<"pointConnection">;
|
|
503
|
+
data: z.ZodObject<{
|
|
504
|
+
measures: z.ZodArray<z.ZodObject<{
|
|
505
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
506
|
+
fieldKey: z.ZodString;
|
|
507
|
+
ref: z.ZodString;
|
|
508
|
+
role: z.ZodEnum<{
|
|
509
|
+
fourthGeo: "fourthGeo";
|
|
510
|
+
geo: "geo";
|
|
511
|
+
measure: "measure";
|
|
512
|
+
secondGeo: "secondGeo";
|
|
513
|
+
size: "size";
|
|
514
|
+
thirdGeo: "thirdGeo";
|
|
515
|
+
}>;
|
|
516
|
+
}, z.core.$strict>>;
|
|
517
|
+
supportingMeasures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
518
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
519
|
+
fieldKey: z.ZodString;
|
|
520
|
+
ref: z.ZodString;
|
|
521
|
+
}, z.core.$strict>>>;
|
|
522
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
523
|
+
fieldKey: z.ZodString;
|
|
524
|
+
ref: z.ZodString;
|
|
525
|
+
}, z.core.$strict>>;
|
|
526
|
+
}, z.core.$strict>;
|
|
527
|
+
locationType: z.ZodEnum<{
|
|
528
|
+
geoHash: "geoHash";
|
|
529
|
+
geoPoint: "geoPoint";
|
|
530
|
+
latLng: "latLng";
|
|
531
|
+
}>;
|
|
532
|
+
secondLocationType: z.ZodEnum<{
|
|
533
|
+
geoHash: "geoHash";
|
|
534
|
+
geoPoint: "geoPoint";
|
|
535
|
+
latLng: "latLng";
|
|
536
|
+
}>;
|
|
537
|
+
presentation: z.ZodOptional<z.ZodType<{
|
|
538
|
+
color?: string | undefined;
|
|
539
|
+
opacity?: number | undefined;
|
|
540
|
+
sizing?: {
|
|
541
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
542
|
+
size?: number | undefined;
|
|
543
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
544
|
+
minSize?: number | undefined;
|
|
545
|
+
maxSize?: number | undefined;
|
|
546
|
+
} | undefined;
|
|
547
|
+
useGeodesicLines?: boolean | undefined;
|
|
548
|
+
lineStyle?: "dashed" | "dotted" | "line" | undefined;
|
|
549
|
+
arrow?: {
|
|
550
|
+
show?: boolean | undefined;
|
|
551
|
+
position?: number | undefined;
|
|
552
|
+
size?: number | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
555
|
+
color?: string | undefined;
|
|
556
|
+
opacity?: number | undefined;
|
|
557
|
+
sizing?: {
|
|
558
|
+
sizeType?: "byMeasureDistance" | "byMeasurePixels" | "fixedDistance" | "fixedPixels" | undefined;
|
|
559
|
+
size?: number | undefined;
|
|
560
|
+
sizeRange?: "absolute" | "auto" | "custom" | undefined;
|
|
561
|
+
minSize?: number | undefined;
|
|
562
|
+
maxSize?: number | undefined;
|
|
563
|
+
} | undefined;
|
|
564
|
+
useGeodesicLines?: boolean | undefined;
|
|
565
|
+
lineStyle?: "dashed" | "dotted" | "line" | undefined;
|
|
566
|
+
arrow?: {
|
|
567
|
+
show?: boolean | undefined;
|
|
568
|
+
position?: number | undefined;
|
|
569
|
+
size?: number | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
}, unknown>>>;
|
|
572
|
+
}, z.core.$strict>], "type">>;
|
|
573
|
+
view: z.ZodOptional<z.ZodType<{
|
|
574
|
+
zoomMode?: "auto" | "manual" | undefined;
|
|
575
|
+
latitude?: number | undefined;
|
|
576
|
+
longitude?: number | undefined;
|
|
577
|
+
minZoom?: number | undefined;
|
|
578
|
+
maxZoom?: number | undefined;
|
|
579
|
+
zoom?: number | undefined;
|
|
580
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
581
|
+
zoomMode?: "auto" | "manual" | undefined;
|
|
582
|
+
latitude?: number | undefined;
|
|
583
|
+
longitude?: number | undefined;
|
|
584
|
+
minZoom?: number | undefined;
|
|
585
|
+
maxZoom?: number | undefined;
|
|
586
|
+
zoom?: number | undefined;
|
|
587
|
+
}, unknown>>>;
|
|
588
|
+
}, z.core.$strict>;
|
|
589
|
+
export type MapLayerDefinition = z.infer<typeof mapLayerDefinitionSchema>;
|
|
590
|
+
export type MapVisualizationDefinition = z.infer<typeof mapVisualizationDefinitionSchema>;
|
|
@@ -3,18 +3,18 @@ export declare const numberVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
3
3
|
data: z.ZodObject<{
|
|
4
4
|
measure: z.ZodObject<{
|
|
5
5
|
aggregation: z.ZodOptional<z.ZodString>;
|
|
6
|
+
fieldKey: z.ZodString;
|
|
6
7
|
format: z.ZodOptional<z.ZodObject<{
|
|
7
8
|
currency: z.ZodOptional<z.ZodString>;
|
|
8
9
|
currencyIsPrefix: z.ZodOptional<z.ZodBoolean>;
|
|
9
10
|
formatString: z.ZodOptional<z.ZodString>;
|
|
10
|
-
formatType: z.ZodOptional<z.ZodType<"
|
|
11
|
-
negativeType: z.ZodOptional<z.ZodType<"
|
|
11
|
+
formatType: z.ZodOptional<z.ZodType<"abbreviation1Decimal" | "abbreviation2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "custom" | "day" | "dayOfWeek" | "ddmmmmyyyy" | "ddmmmyy" | "ddmmmyyyy" | "ddmmmyyyyh" | "ddmmmyyyyhhmm" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmm" | "ddmmmyyyyhmmss" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "defaultDate" | "defaultDatetime" | "defaultMoney" | "defaultNumber" | "defaultTime" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "h" | "hh" | "hhmm" | "hhmmss" | "hhn" | "hmm" | "hmmss" | "hn" | "inherit" | "mmddyyyy" | "mmddyyyy2" | "mmmmddyyyy" | "mmmmyyyy" | "mmmyyyy" | "mmyyyy" | "money0Decimal" | "money2Decimal" | "month" | "month2" | "month3" | "monthn" | "none" | "number1Decimal" | "number2Decimal" | "numberNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "percentageNoDecimal" | "quarter" | "quarter2" | "qyyyy" | "week1" | "week2" | "week3" | "wnyyyy" | "yy" | "yywn" | "yyyy" | "yyyymm" | "yyyymmdd" | "yyyymmddh" | "yyyymmddhh" | "yyyymmddhhmm" | "yyyymmddhhmmss" | "yyyymmddhmm" | "yyyymmddhmmss" | "yyyymmm" | "yyyymmmm" | "yyyyq" | "yyyywn", unknown, z.core.$ZodTypeInternals<"abbreviation1Decimal" | "abbreviation2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "custom" | "day" | "dayOfWeek" | "ddmmmmyyyy" | "ddmmmyy" | "ddmmmyyyy" | "ddmmmyyyyh" | "ddmmmyyyyhhmm" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmm" | "ddmmmyyyyhmmss" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "defaultDate" | "defaultDatetime" | "defaultMoney" | "defaultNumber" | "defaultTime" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "h" | "hh" | "hhmm" | "hhmmss" | "hhn" | "hmm" | "hmmss" | "hn" | "inherit" | "mmddyyyy" | "mmddyyyy2" | "mmmmddyyyy" | "mmmmyyyy" | "mmmyyyy" | "mmyyyy" | "money0Decimal" | "money2Decimal" | "month" | "month2" | "month3" | "monthn" | "none" | "number1Decimal" | "number2Decimal" | "numberNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "percentageNoDecimal" | "quarter" | "quarter2" | "qyyyy" | "week1" | "week2" | "week3" | "wnyyyy" | "yy" | "yywn" | "yyyy" | "yyyymm" | "yyyymmdd" | "yyyymmddh" | "yyyymmddhh" | "yyyymmddhhmm" | "yyyymmddhhmmss" | "yyyymmddhmm" | "yyyymmddhmmss" | "yyyymmm" | "yyyymmmm" | "yyyyq" | "yyyywn", unknown>>>;
|
|
12
|
+
negativeType: z.ZodOptional<z.ZodType<"parenthesis" | "symbol", unknown, z.core.$ZodTypeInternals<"parenthesis" | "symbol", unknown>>>;
|
|
12
13
|
}, z.core.$strict>>;
|
|
13
|
-
fieldKey: z.ZodString;
|
|
14
14
|
ref: z.ZodString;
|
|
15
15
|
}, z.core.$strict>;
|
|
16
16
|
}, z.core.$strict>;
|
|
17
|
-
filterGroup: z.ZodOptional<z.ZodType<import("
|
|
17
|
+
filterGroup: z.ZodOptional<z.ZodType<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup, unknown>>>;
|
|
18
18
|
type: z.ZodLiteral<"number">;
|
|
19
19
|
version: z.ZodLiteral<1>;
|
|
20
20
|
}, z.core.$strict>;
|