@astrato-io/visualizations 0.10.0 → 0.11.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/CHANGELOG.md +21 -1
- package/README.md +22 -4
- package/THIRD_PARTY_NOTICES.md +494 -0
- package/VISUALIZATION_DEFINITIONS.md +59 -145
- package/chunks/{Button-CCF851ea.js → Button-CPG4WX8X.js} +3 -3
- package/chunks/{CircularProgress-yupH6YWs.js → CircularProgress-PSLW8HmD.js} +12 -12
- package/chunks/FieldTypeIcon-5k2bkqd0.js +22 -0
- package/chunks/{LinearProgress-CyFjN4px.js → LinearProgress-KQ2EQlGL.js} +16 -16
- package/chunks/{MenuOption-CQpT79AP.js → MenuOption-B-6K7kks.js} +151 -151
- package/chunks/{Title-C-p4ZarD.js → Title-BmvwZYkh.js} +32 -32
- package/chunks/{_createAggregator-BF4qG9XK.js → _createAggregator-CFmH6gUN.js} +11 -11
- package/chunks/{app-filter-bar.compiler-8fxCo2q7.js → app-filter-bar.compiler-BY5-T16I.js} +8 -8
- package/chunks/{bar-layout-DStC-GNV.js → bar-layout-BNou0dZF.js} +2 -2
- package/chunks/{bar.compiler-CQAu8KL8.js → bar.compiler-BkhO7sDd.js} +55 -53
- package/chunks/{builder-CScg1TOS.js → builder-CNjuqD2z.js} +107 -56
- package/chunks/category-axis-D1OVyMrr.js +20 -0
- package/chunks/{coloring-9jU3s_-p.js → coloring-BOiP0rmn.js} +54 -54
- package/chunks/{createSimplePaletteValueFilter-C4hZpCdn.js → createSimplePaletteValueFilter-BkgQ7MFE.js} +166 -166
- package/chunks/defaults-B5_8S-J-.js +3 -0
- package/chunks/{definitions-C4grxhye.js → definitions-AS9GcavE.js} +263 -242
- package/chunks/{escobar-CjirINHP.js → escobar-cQ1eQ64G.js} +8528 -8461
- package/chunks/{extend-preset-D-l9u_we.js → extend-preset-BlCbcXKR.js} +421 -421
- package/chunks/{filter.compiler-lji2Acgn.js → filter.compiler-CI7dDNM1.js} +12 -12
- package/chunks/{filtering-C1zakrrX.js → filtering-Dwi7hDPZ.js} +263 -263
- package/chunks/handlers-C63NVo7i.js +15433 -0
- package/chunks/{icon-picker-styles-Bj80ZUBK.js → icon-picker-styles-CBlxEu3s.js} +8 -8
- package/chunks/{isEqual-Ch9OEye3.js → isEqual-BdHo6wqq.js} +1 -1
- package/chunks/{isFocusVisible-CgMP0qkR.js → isFocusVisible-C1nlVUwL.js} +9 -9
- package/chunks/line.compiler-DCv3h42f.js +198 -0
- package/chunks/linear-Bq_r9l5S.js +264 -0
- package/chunks/{logger-CKRjhSHQ.js → logger-Bc-DqDM_.js} +72 -72
- package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
- package/chunks/{map.compiler-CKzorLgK.js → map.compiler-CRO6XpdI.js} +43 -45
- package/chunks/measure-format-default-B6ghxih7.js +22 -0
- package/chunks/{metadata-Bb9pTXrq.js → metadata-CtkvZEhS.js} +1 -1
- package/chunks/number.compiler-kV4lobCZ.js +57 -0
- package/chunks/{operations-DZoY50VX.js → operations-COl9wgqi.js} +9893 -9831
- package/chunks/{range-D1BTmFMp.js → range-CMJ5yc5Z.js} +2 -2
- package/chunks/{react-dom-Dgv2azN2.js → react-dom-BjsCbYHq.js} +76 -76
- package/chunks/{render-wrappers-_P3xwu5A.js → render-wrappers-DFHi3Wkr.js} +1 -1
- package/chunks/{requirements-NHNrR8Ie.js → requirements-C5YLmHKe.js} +251 -227
- package/chunks/{shared-UitWpq1J.js → shared-DyqxOie0.js} +290 -278
- package/chunks/standalone-06i1wmIX.js +6 -0
- package/chunks/{standalone-DtBk_iUz.js → standalone-9jrQ3zJT.js} +10 -10
- package/chunks/standalone-B6zUvxNQ.js +357 -0
- package/chunks/{standalone-Bnnr87pc.js → standalone-BYK2U0Vd.js} +418 -679
- package/chunks/standalone-Be5APcVv.js +762 -0
- package/chunks/standalone-Bp4G3MDx.js +396 -0
- package/chunks/{standalone-CbPk8bKn.js → standalone-BrjtMIdd.js} +132 -132
- package/chunks/{standalone-BOzHA_d4.js → standalone-Bsfz5vnJ.js} +57 -57
- package/chunks/standalone-BuXpKMnc.js +2 -0
- package/chunks/standalone-CIjNYyya.js +8378 -0
- package/chunks/{standalone-B0U6c3su.js → standalone-CS5VGoja.js} +358 -358
- package/chunks/standalone-CUGt2FUF.js +2 -0
- package/chunks/{standalone-BapqaniK.js → standalone-ChfEHb28.js} +2299 -1072
- package/chunks/standalone-CnF2OYLQ.js +355 -0
- package/chunks/standalone-CznEEiq3.js +422 -0
- package/chunks/{standalone-Ck63MZzj.js → standalone-D9k5SCd8.js} +165 -165
- package/chunks/{standalone-CRdDZYeM.js → standalone-DYVYccmY.js} +855 -855
- package/chunks/{standalone-CVknVdUC.js → standalone-DaNxWIKn.js} +27 -27
- package/chunks/{standalone-swGs70tD.js → standalone-Db_HNuWx.js} +50 -50
- package/chunks/standalone-DcuE8KBa.js +287 -0
- package/chunks/{standalone-U0WJwFlG.js → standalone-I5kRIsp8.js} +97 -97
- package/chunks/{standalone-BBu90BhK.js → standalone-K2OvRAQM.js} +125 -125
- package/chunks/{standalone-DCFY1MAV.js → standalone-c4CPN6ug.js} +4634 -4633
- package/chunks/{standalone-ByKKqT5L.js → standalone-iOnJhCvA.js} +302 -302
- package/chunks/standalone-pCrzBiTy.js +773 -0
- package/chunks/standalone-qrZaimgC.js +689 -0
- package/chunks/standalone-yqDJ8h3K.js +1012 -0
- package/chunks/{table.compiler-OWSx5MOq.js → table.compiler-CMH_dtYs.js} +29 -29
- package/chunks/{useFieldName-B8iCYyw1.js → useFieldName-BfxBzhhH.js} +1 -1
- package/chunks/{utils-3Igg6xmO.js → utils-BdJrEeIQ.js} +4037 -4015
- package/chunks/{view-DdMLZySj.js → view-Q-_XIrWE.js} +1615 -1615
- package/chunks/{visualization-filters-CzvFHE6M.js → visualization-filters-BwS0xUqs.js} +1723 -1693
- package/chunks/{with-html-element-DOfkR3C1.js → with-html-element-D_ooGNWI.js} +4006 -3994
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +30 -1
- package/docs/operations/combo.md +30 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +1 -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 +1 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +5 -4
- package/docs/operations/line.md +48 -1
- package/docs/operations/map.md +5274 -0
- 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 +1 -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 +1 -1
- 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 +3 -3
- package/index.js +528 -504
- package/metadata.js +2 -2
- package/operations.js +6 -6
- package/package.json +73 -68
- package/src/definitions/index.d.ts +1 -1
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +34 -53
- package/src/definitions/model/definitions/schema-registry.d.ts +2 -2
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +14 -2
- package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +1 -1
- package/src/definitions/model/definitions/types/compilation.types.d.ts +4 -1
- package/src/types.d.ts +28 -28
- package/src/visualization-catalog.d.ts +3 -0
- package/styles.css +1 -1
- package/chunks/FieldTypeIcon-D_MzsdfY.js +0 -22
- package/chunks/defaults-cyNhn37t.js +0 -3
- package/chunks/handlers-ZviIUC-j.js +0 -15387
- package/chunks/line.compiler-De5fiKuR.js +0 -198
- package/chunks/number.compiler-CaTmJkmi.js +0 -53
- package/chunks/standalone-BEekPuA12.js +0 -357
- package/chunks/standalone-BR2JuRIC.js +0 -422
- package/chunks/standalone-BwJqDj2Z.js +0 -396
- package/chunks/standalone-CRfDOO1x.js +0 -287
- package/chunks/standalone-DZDGX3aa.js +0 -518
- package/chunks/standalone-DhfgeJIk.js +0 -1012
- package/chunks/standalone-DibjA73M.js +0 -6
- package/chunks/standalone-DxBAyqAu.js +0 -772
- package/chunks/standalone-KMQPsNsq.js +0 -2
- package/chunks/standalone-MBLSvsrY.js +0 -2
- package/chunks/standalone-wgFAVnnm.js +0 -355
- package/chunks/standalone-xGV0dqPV.js +0 -689
package/definitions.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as t, n, r, t as i } from "./chunks/definitions-
|
|
1
|
+
import { N as e } from "./chunks/shared-DyqxOie0.js";
|
|
2
|
+
import { i as t, n, r, t as i } from "./chunks/definitions-AS9GcavE.js";
|
|
3
3
|
export { i as compileVisualizationDefinition, e as createVisualizationAvailableFields, n as getVisualizationDefinitionDescriptor, r as listVisualizationDefinitionDescriptors, t as validateVisualizationDefinition };
|
package/docs/operations/bar.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `bar` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.11.0`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -51,6 +51,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
|
|
|
51
51
|
- [`resetChartPaletteToThemeDefault`](#resetchartpalettetothemedefault)
|
|
52
52
|
- [`setAnimationEnabled`](#setanimationenabled)
|
|
53
53
|
- [`setAxisLabelColor`](#setaxislabelcolor)
|
|
54
|
+
- [`setAxisLabelWrap`](#setaxislabelwrap)
|
|
54
55
|
- [`setAxisLineColor`](#setaxislinecolor)
|
|
55
56
|
- [`setAxisRangeMax`](#setaxisrangemax)
|
|
56
57
|
- [`setAxisRangeMin`](#setaxisrangemin)
|
|
@@ -1990,6 +1991,34 @@ Change the color of axis value labels
|
|
|
1990
1991
|
}
|
|
1991
1992
|
```
|
|
1992
1993
|
|
|
1994
|
+
## `setAxisLabelWrap`
|
|
1995
|
+
|
|
1996
|
+
Wrap axis labels
|
|
1997
|
+
|
|
1998
|
+
Wrap category axis labels onto up to labelWrapLines lines instead of tilting them
|
|
1999
|
+
|
|
2000
|
+
**Payload schema**
|
|
2001
|
+
|
|
2002
|
+
```json
|
|
2003
|
+
{
|
|
2004
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2005
|
+
"type": "object",
|
|
2006
|
+
"properties": {
|
|
2007
|
+
"labelWrap": {
|
|
2008
|
+
"type": "boolean"
|
|
2009
|
+
},
|
|
2010
|
+
"labelWrapLines": {
|
|
2011
|
+
"type": "integer",
|
|
2012
|
+
"minimum": 1,
|
|
2013
|
+
"maximum": 10
|
|
2014
|
+
}
|
|
2015
|
+
},
|
|
2016
|
+
"required": ["labelWrap"],
|
|
2017
|
+
"additionalProperties": false,
|
|
2018
|
+
"title": "Set axis label wrap schema"
|
|
2019
|
+
}
|
|
2020
|
+
```
|
|
2021
|
+
|
|
1993
2022
|
## `setAxisLineColor`
|
|
1994
2023
|
|
|
1995
2024
|
Axis line color
|
package/docs/operations/combo.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `combo` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.11.0`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -42,6 +42,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
|
|
|
42
42
|
- [`resetChartPaletteToThemeDefault`](#resetchartpalettetothemedefault)
|
|
43
43
|
- [`setAnimationEnabled`](#setanimationenabled)
|
|
44
44
|
- [`setAxisLabelColor`](#setaxislabelcolor)
|
|
45
|
+
- [`setAxisLabelWrap`](#setaxislabelwrap)
|
|
45
46
|
- [`setAxisLineColor`](#setaxislinecolor)
|
|
46
47
|
- [`setAxisRangeMax`](#setaxisrangemax)
|
|
47
48
|
- [`setAxisRangeMin`](#setaxisrangemin)
|
|
@@ -1453,6 +1454,34 @@ Change the color of axis value labels
|
|
|
1453
1454
|
}
|
|
1454
1455
|
```
|
|
1455
1456
|
|
|
1457
|
+
## `setAxisLabelWrap`
|
|
1458
|
+
|
|
1459
|
+
Wrap axis labels
|
|
1460
|
+
|
|
1461
|
+
Wrap category axis labels onto up to labelWrapLines lines instead of tilting them
|
|
1462
|
+
|
|
1463
|
+
**Payload schema**
|
|
1464
|
+
|
|
1465
|
+
```json
|
|
1466
|
+
{
|
|
1467
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1468
|
+
"type": "object",
|
|
1469
|
+
"properties": {
|
|
1470
|
+
"labelWrap": {
|
|
1471
|
+
"type": "boolean"
|
|
1472
|
+
},
|
|
1473
|
+
"labelWrapLines": {
|
|
1474
|
+
"type": "integer",
|
|
1475
|
+
"minimum": 1,
|
|
1476
|
+
"maximum": 10
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
"required": ["labelWrap"],
|
|
1480
|
+
"additionalProperties": false,
|
|
1481
|
+
"title": "Set axis label wrap schema"
|
|
1482
|
+
}
|
|
1483
|
+
```
|
|
1484
|
+
|
|
1456
1485
|
## `setAxisLineColor`
|
|
1457
1486
|
|
|
1458
1487
|
Axis line color
|
package/docs/operations/dot.md
CHANGED
package/docs/operations/gauge.md
CHANGED
package/docs/operations/image.md
CHANGED
package/docs/operations/index.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Visualization operations reference
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.11.0`.
|
|
6
6
|
|
|
7
7
|
Read the page for your visualization type to find every operation exposed by its standalone metadata, including its description and complete JSON payload schema. These files are included in the installed package under `docs/operations/`; you can read them without importing JavaScript or loading a chart.
|
|
8
8
|
|
|
@@ -19,8 +19,8 @@ This reference describes the standalone operation catalog, rather than the small
|
|
|
19
19
|
| Type | Family | Operations |
|
|
20
20
|
| ------------------------------------------------------- | ------ | ---------- |
|
|
21
21
|
| [`astrato-app-filter-bar`](./astrato-app-filter-bar.md) | filter | 8 |
|
|
22
|
-
| [`bar`](./bar.md) | chart |
|
|
23
|
-
| [`combo`](./combo.md) | chart |
|
|
22
|
+
| [`bar`](./bar.md) | chart | 164 |
|
|
23
|
+
| [`combo`](./combo.md) | chart | 137 |
|
|
24
24
|
| [`date-picker`](./date-picker.md) | filter | 16 |
|
|
25
25
|
| [`distribution-gauge`](./distribution-gauge.md) | chart | 50 |
|
|
26
26
|
| [`dot`](./dot.md) | chart | 111 |
|
|
@@ -30,7 +30,8 @@ This reference describes the standalone operation catalog, rather than the small
|
|
|
30
30
|
| [`histogram`](./histogram.md) | chart | 53 |
|
|
31
31
|
| [`iframe`](./iframe.md) | object | 1 |
|
|
32
32
|
| [`image`](./image.md) | object | 6 |
|
|
33
|
-
| [`line`](./line.md) | chart |
|
|
33
|
+
| [`line`](./line.md) | chart | 152 |
|
|
34
|
+
| [`map`](./map.md) | chart | 123 |
|
|
34
35
|
| [`number`](./number.md) | object | 72 |
|
|
35
36
|
| [`pie`](./pie.md) | chart | 121 |
|
|
36
37
|
| [`radar`](./radar.md) | chart | 81 |
|
package/docs/operations/line.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `line` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.11.0`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -44,6 +44,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
|
|
|
44
44
|
- [`resetChartPaletteToThemeDefault`](#resetchartpalettetothemedefault)
|
|
45
45
|
- [`setAnimationEnabled`](#setanimationenabled)
|
|
46
46
|
- [`setAxisLabelColor`](#setaxislabelcolor)
|
|
47
|
+
- [`setAxisLabelWrap`](#setaxislabelwrap)
|
|
47
48
|
- [`setAxisLineColor`](#setaxislinecolor)
|
|
48
49
|
- [`setAxisRangeMax`](#setaxisrangemax)
|
|
49
50
|
- [`setAxisRangeMin`](#setaxisrangemin)
|
|
@@ -137,6 +138,7 @@ Use each schema below for the request’s `payload`, not for the whole operation
|
|
|
137
138
|
- [`setQueryLimit`](#setquerylimit)
|
|
138
139
|
- [`setQueryTimeout`](#setquerytimeout)
|
|
139
140
|
- [`setResultFilter`](#setresultfilter)
|
|
141
|
+
- [`setSelectOnClick`](#setselectonclick)
|
|
140
142
|
- [`setShowAxisLabels`](#setshowaxislabels)
|
|
141
143
|
- [`setShowAxisLine`](#setshowaxisline)
|
|
142
144
|
- [`setShowAxisTicks`](#setshowaxisticks)
|
|
@@ -1634,6 +1636,34 @@ Change the color of axis value labels
|
|
|
1634
1636
|
}
|
|
1635
1637
|
```
|
|
1636
1638
|
|
|
1639
|
+
## `setAxisLabelWrap`
|
|
1640
|
+
|
|
1641
|
+
Wrap axis labels
|
|
1642
|
+
|
|
1643
|
+
Wrap category axis labels onto up to labelWrapLines lines instead of tilting them
|
|
1644
|
+
|
|
1645
|
+
**Payload schema**
|
|
1646
|
+
|
|
1647
|
+
```json
|
|
1648
|
+
{
|
|
1649
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1650
|
+
"type": "object",
|
|
1651
|
+
"properties": {
|
|
1652
|
+
"labelWrap": {
|
|
1653
|
+
"type": "boolean"
|
|
1654
|
+
},
|
|
1655
|
+
"labelWrapLines": {
|
|
1656
|
+
"type": "integer",
|
|
1657
|
+
"minimum": 1,
|
|
1658
|
+
"maximum": 10
|
|
1659
|
+
}
|
|
1660
|
+
},
|
|
1661
|
+
"required": ["labelWrap"],
|
|
1662
|
+
"additionalProperties": false,
|
|
1663
|
+
"title": "Set axis label wrap schema"
|
|
1664
|
+
}
|
|
1665
|
+
```
|
|
1666
|
+
|
|
1637
1667
|
## `setAxisLineColor`
|
|
1638
1668
|
|
|
1639
1669
|
Axis line color
|
|
@@ -5758,6 +5788,23 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
5758
5788
|
}
|
|
5759
5789
|
```
|
|
5760
5790
|
|
|
5791
|
+
## `setSelectOnClick`
|
|
5792
|
+
|
|
5793
|
+
Select on click
|
|
5794
|
+
|
|
5795
|
+
Let a click on a point, the line or an axis label select that axis value, as a bar does. Off by default
|
|
5796
|
+
|
|
5797
|
+
**Payload schema**
|
|
5798
|
+
|
|
5799
|
+
```json
|
|
5800
|
+
{
|
|
5801
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5802
|
+
"description": "Select the axis value when a point, the line or an axis label is clicked",
|
|
5803
|
+
"title": "Line chart select on click schema",
|
|
5804
|
+
"type": "boolean"
|
|
5805
|
+
}
|
|
5806
|
+
```
|
|
5807
|
+
|
|
5761
5808
|
## `setShowAxisLabels`
|
|
5762
5809
|
|
|
5763
5810
|
Show axis labels
|