@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
|
@@ -7,10 +7,9 @@ export declare const datePickerVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strict>;
|
|
8
8
|
}, z.core.$strict>;
|
|
9
9
|
settings: z.ZodOptional<z.ZodType<{
|
|
10
|
-
responsive?: boolean | undefined;
|
|
11
10
|
weekStart?: "0" | "1" | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
pickerType?: "inputRange" | "inputSingle" | "range" | undefined;
|
|
12
|
+
pickerState?: "collapsed" | "expanded" | undefined;
|
|
14
13
|
startDateLabel?: string | {
|
|
15
14
|
type: "variable";
|
|
16
15
|
variableName: string;
|
|
@@ -19,13 +18,13 @@ export declare const datePickerVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
19
18
|
type: "variable";
|
|
20
19
|
variableName: string;
|
|
21
20
|
} | null | undefined;
|
|
21
|
+
responsive?: boolean | undefined;
|
|
22
22
|
quickSelect?: boolean | undefined;
|
|
23
23
|
timePickerVisibility?: "always" | "never" | "whenTimestampSelected" | undefined;
|
|
24
24
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
25
|
-
responsive?: boolean | undefined;
|
|
26
25
|
weekStart?: "0" | "1" | undefined;
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
pickerType?: "inputRange" | "inputSingle" | "range" | undefined;
|
|
27
|
+
pickerState?: "collapsed" | "expanded" | undefined;
|
|
29
28
|
startDateLabel?: string | {
|
|
30
29
|
type: "variable";
|
|
31
30
|
variableName: string;
|
|
@@ -34,6 +33,7 @@ export declare const datePickerVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
34
33
|
type: "variable";
|
|
35
34
|
variableName: string;
|
|
36
35
|
} | null | undefined;
|
|
36
|
+
responsive?: boolean | undefined;
|
|
37
37
|
quickSelect?: boolean | undefined;
|
|
38
38
|
timePickerVisibility?: "always" | "never" | "whenTimestampSelected" | undefined;
|
|
39
39
|
}, unknown>>>;
|
|
@@ -50,7 +50,7 @@ export declare const iframeVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
50
50
|
export declare const imageVisualizationDefinitionSchema: z.ZodObject<{
|
|
51
51
|
settings: z.ZodType<{
|
|
52
52
|
blur?: number | undefined;
|
|
53
|
-
fit?: "
|
|
53
|
+
fit?: "contain" | "cover" | "fill" | "none" | undefined;
|
|
54
54
|
opacity?: number | undefined;
|
|
55
55
|
saturation?: number | undefined;
|
|
56
56
|
shadow?: boolean | undefined;
|
|
@@ -68,7 +68,7 @@ export declare const imageVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
68
68
|
} | undefined;
|
|
69
69
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
70
70
|
blur?: number | undefined;
|
|
71
|
-
fit?: "
|
|
71
|
+
fit?: "contain" | "cover" | "fill" | "none" | undefined;
|
|
72
72
|
opacity?: number | undefined;
|
|
73
73
|
saturation?: number | undefined;
|
|
74
74
|
shadow?: boolean | undefined;
|
|
@@ -90,40 +90,40 @@ export declare const imageVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
90
90
|
}, z.core.$strict>;
|
|
91
91
|
export declare const shapeVisualizationDefinitionSchema: z.ZodObject<{
|
|
92
92
|
settings: z.ZodType<{
|
|
93
|
-
shape?: "
|
|
93
|
+
shape?: "arrow" | "circle" | "elbow" | "hexagon" | "line" | "rectangle" | "square" | "triangle" | undefined;
|
|
94
|
+
imageURL?: string | undefined;
|
|
95
|
+
imageFit?: "none" | "xMidYMid slice" | undefined;
|
|
94
96
|
backgroundColor?: {
|
|
95
97
|
code: string;
|
|
96
98
|
} | undefined;
|
|
97
|
-
backgroundType?: "
|
|
98
|
-
borderRadius?: number | undefined;
|
|
99
|
+
backgroundType?: "color" | "image" | undefined;
|
|
99
100
|
strokeColor?: {
|
|
100
101
|
code: string;
|
|
101
102
|
} | undefined;
|
|
102
|
-
borderEnabled?: boolean | undefined;
|
|
103
|
-
imageFit?: "none" | "xMidYMid slice" | undefined;
|
|
104
|
-
rotate?: number | undefined;
|
|
105
|
-
scale?: number | undefined;
|
|
106
|
-
imageURL?: string | undefined;
|
|
107
103
|
lineThickness?: number | undefined;
|
|
108
104
|
preserveAspectRatio?: boolean | undefined;
|
|
105
|
+
scale?: number | undefined;
|
|
106
|
+
rotate?: number | undefined;
|
|
107
|
+
borderRadius?: number | undefined;
|
|
108
|
+
borderEnabled?: boolean | undefined;
|
|
109
109
|
heightBasedSize?: boolean | undefined;
|
|
110
110
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
111
|
-
shape?: "
|
|
111
|
+
shape?: "arrow" | "circle" | "elbow" | "hexagon" | "line" | "rectangle" | "square" | "triangle" | undefined;
|
|
112
|
+
imageURL?: string | undefined;
|
|
113
|
+
imageFit?: "none" | "xMidYMid slice" | undefined;
|
|
112
114
|
backgroundColor?: {
|
|
113
115
|
code: string;
|
|
114
116
|
} | undefined;
|
|
115
|
-
backgroundType?: "
|
|
116
|
-
borderRadius?: number | undefined;
|
|
117
|
+
backgroundType?: "color" | "image" | undefined;
|
|
117
118
|
strokeColor?: {
|
|
118
119
|
code: string;
|
|
119
120
|
} | undefined;
|
|
120
|
-
borderEnabled?: boolean | undefined;
|
|
121
|
-
imageFit?: "none" | "xMidYMid slice" | undefined;
|
|
122
|
-
rotate?: number | undefined;
|
|
123
|
-
scale?: number | undefined;
|
|
124
|
-
imageURL?: string | undefined;
|
|
125
121
|
lineThickness?: number | undefined;
|
|
126
122
|
preserveAspectRatio?: boolean | undefined;
|
|
123
|
+
scale?: number | undefined;
|
|
124
|
+
rotate?: number | undefined;
|
|
125
|
+
borderRadius?: number | undefined;
|
|
126
|
+
borderEnabled?: boolean | undefined;
|
|
127
127
|
heightBasedSize?: boolean | undefined;
|
|
128
128
|
}, unknown>>;
|
|
129
129
|
type: z.ZodLiteral<"shape">;
|
|
@@ -131,22 +131,22 @@ export declare const shapeVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
131
131
|
}, z.core.$strict>;
|
|
132
132
|
export declare const textVisualizationDefinitionSchema: z.ZodObject<{
|
|
133
133
|
settings: z.ZodType<{
|
|
134
|
-
align?: "
|
|
134
|
+
align?: "center" | "justify" | "left" | "right" | undefined;
|
|
135
135
|
content?: string | undefined;
|
|
136
136
|
fontFamily?: string | null | undefined;
|
|
137
137
|
fontSize?: number | undefined;
|
|
138
|
-
position?: "
|
|
139
|
-
representation?: "html" | "
|
|
138
|
+
position?: "auto" | "bottom" | "middle" | "top" | undefined;
|
|
139
|
+
representation?: "html" | "markdown" | "text" | undefined;
|
|
140
140
|
responsive?: boolean | undefined;
|
|
141
141
|
textColor?: string | null | undefined;
|
|
142
142
|
wordWrap?: boolean | undefined;
|
|
143
143
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
144
|
-
align?: "
|
|
144
|
+
align?: "center" | "justify" | "left" | "right" | undefined;
|
|
145
145
|
content?: string | undefined;
|
|
146
146
|
fontFamily?: string | null | undefined;
|
|
147
147
|
fontSize?: number | undefined;
|
|
148
|
-
position?: "
|
|
149
|
-
representation?: "html" | "
|
|
148
|
+
position?: "auto" | "bottom" | "middle" | "top" | undefined;
|
|
149
|
+
representation?: "html" | "markdown" | "text" | undefined;
|
|
150
150
|
responsive?: boolean | undefined;
|
|
151
151
|
textColor?: string | null | undefined;
|
|
152
152
|
wordWrap?: boolean | undefined;
|
|
@@ -161,7 +161,7 @@ export declare const atomicInputVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
161
161
|
text?: string | null | undefined;
|
|
162
162
|
} | undefined;
|
|
163
163
|
hideLabel?: boolean | undefined;
|
|
164
|
-
inputType?: "
|
|
164
|
+
inputType?: "checkbox" | "date" | "dropdown" | "numeric" | "range-slider" | "slider" | "text" | "textArea" | "toggle" | undefined;
|
|
165
165
|
placeholder?: string | null | undefined;
|
|
166
166
|
responsive?: boolean | undefined;
|
|
167
167
|
variableId?: string | null | undefined;
|
|
@@ -171,7 +171,7 @@ export declare const atomicInputVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
171
171
|
text?: string | null | undefined;
|
|
172
172
|
} | undefined;
|
|
173
173
|
hideLabel?: boolean | undefined;
|
|
174
|
-
inputType?: "
|
|
174
|
+
inputType?: "checkbox" | "date" | "dropdown" | "numeric" | "range-slider" | "slider" | "text" | "textArea" | "toggle" | undefined;
|
|
175
175
|
placeholder?: string | null | undefined;
|
|
176
176
|
responsive?: boolean | undefined;
|
|
177
177
|
variableId?: string | null | undefined;
|
|
@@ -187,21 +187,21 @@ export declare const sliderVisualizationDefinitionSchema: z.ZodObject<{
|
|
|
187
187
|
}, z.core.$strict>;
|
|
188
188
|
}, z.core.$strict>;
|
|
189
189
|
settings: z.ZodOptional<z.ZodType<{
|
|
190
|
-
|
|
191
|
-
quickSelect?: boolean | undefined;
|
|
190
|
+
step?: number | undefined;
|
|
192
191
|
range?: {
|
|
193
192
|
min: number;
|
|
194
193
|
max: number;
|
|
195
194
|
} | undefined;
|
|
196
|
-
step?: number | undefined;
|
|
197
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
198
|
-
layout?: "auto" | "single" | "multi" | undefined;
|
|
199
195
|
quickSelect?: boolean | undefined;
|
|
196
|
+
layout?: "auto" | "multi" | "single" | undefined;
|
|
197
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
198
|
+
step?: number | undefined;
|
|
200
199
|
range?: {
|
|
201
200
|
min: number;
|
|
202
201
|
max: number;
|
|
203
202
|
} | undefined;
|
|
204
|
-
|
|
203
|
+
quickSelect?: boolean | undefined;
|
|
204
|
+
layout?: "auto" | "multi" | "single" | undefined;
|
|
205
205
|
}, unknown>>>;
|
|
206
206
|
type: z.ZodLiteral<"slider">;
|
|
207
207
|
version: z.ZodLiteral<1>;
|