@astrato-io/visualizations 0.8.0 → 0.9.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 +1 -1
- package/THIRD_PARTY_NOTICES.md +307 -378
- package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
- package/chunks/CircularProgress-DFS-LQb7.js +765 -0
- package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
- package/chunks/LinearProgress-CjIQfkNA.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
- package/chunks/Title-CtFw1bVg.js +1804 -0
- package/chunks/ToggleButton-Br9HCPCv.js +150 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
- package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
- package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
- package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
- package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
- package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
- package/chunks/isFocusVisible-B1_z03UT.js +144 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
- package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
- package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
- package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
- package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
- package/chunks/react-dom-BwZT0N3F.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-CYpVh65U.js} +52 -52
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
- package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
- package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
- package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
- package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
- package/chunks/{standalone-vBnBS2YC.js → standalone-BDrQMxLi.js} +98 -98
- package/chunks/standalone-BMoJXGYe.js +2 -0
- package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
- package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
- package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
- package/chunks/standalone-CMJJIi9v.js +2 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
- package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
- package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
- package/chunks/standalone-C_Jd4gkj.js +6 -0
- package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
- package/chunks/standalone-CoQxJ6ov.js +3638 -0
- package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
- package/chunks/standalone-DBeXQrwH.js +468 -0
- package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
- package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
- package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
- package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
- package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
- package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
- package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
- package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-mWrD_uk_.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
- package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
- package/chunks/with-html-element-B0Clt4jY.js +15901 -0
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +1 -1
- package/docs/operations/combo.md +1 -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 +2 -2
- package/docs/operations/line.md +1 -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 +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 +66 -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 +2 -2
- package/index.js +74 -68
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +67 -66
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
- package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- 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/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/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-DT0wKji7.js +0 -6
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
- /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
package/definitions.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { M as e } from "./chunks/shared-
|
|
2
|
-
import { i as t, n, r, t as i } from "./chunks/definitions-
|
|
1
|
+
import { M as e } from "./chunks/shared-DFoJxjVN.js";
|
|
2
|
+
import { i as t, n, r, t as i } from "./chunks/definitions-DNpzD9tY.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
package/docs/operations/combo.md
CHANGED
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.9.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
|
|
|
@@ -39,7 +39,7 @@ This reference describes the standalone operation catalog, rather than the small
|
|
|
39
39
|
| [`shape`](./shape.md) | object | 14 |
|
|
40
40
|
| [`simpleTextObject`](./simpleTextObject.md) | object | 35 |
|
|
41
41
|
| [`slider`](./slider.md) | filter | 7 |
|
|
42
|
-
| [`table`](./table.md) | chart |
|
|
42
|
+
| [`table`](./table.md) | chart | 237 |
|
|
43
43
|
| [`tree`](./tree.md) | chart | 60 |
|
|
44
44
|
| [`treemap`](./treemap.md) | chart | 69 |
|
|
45
45
|
| [`waterfall`](./waterfall.md) | chart | 56 |
|
package/docs/operations/line.md
CHANGED
package/docs/operations/pie.md
CHANGED
package/docs/operations/radar.md
CHANGED
package/docs/operations/shape.md
CHANGED
package/docs/operations/table.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `table` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.9.0`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -107,7 +107,9 @@ Use each schema below for the request’s `payload`, not for the whole operation
|
|
|
107
107
|
- [`setColumnTemporalGrouping`](#setcolumntemporalgrouping)
|
|
108
108
|
- [`setColumnVerticalAlign`](#setcolumnverticalalign)
|
|
109
109
|
- [`setColumnWidth`](#setcolumnwidth)
|
|
110
|
+
- [`setColumnWritebackInstantSave`](#setcolumnwritebackinstantsave)
|
|
110
111
|
- [`setColumnWritebackKey`](#setcolumnwritebackkey)
|
|
112
|
+
- [`setColumnWritebackNullDisplay`](#setcolumnwritebacknulldisplay)
|
|
111
113
|
- [`setCustomNullValue`](#setcustomnullvalue)
|
|
112
114
|
- [`setExportLimit`](#setexportlimit)
|
|
113
115
|
- [`setExportWithMetadataCreatedBy`](#setexportwithmetadatacreatedby)
|
|
@@ -4287,6 +4289,37 @@ Set column width
|
|
|
4287
4289
|
}
|
|
4288
4290
|
```
|
|
4289
4291
|
|
|
4292
|
+
## `setColumnWritebackInstantSave`
|
|
4293
|
+
|
|
4294
|
+
Writeback instant save
|
|
4295
|
+
|
|
4296
|
+
Enable or disable instant save for a writeback checkbox (default: disabled). Toggling the checkbox validates and submits all pending edits in the current writeback mode, just like Save. Failed validation leaves edits pending. The setting can be stored on any column and takes effect when rendered as a writeback checkbox.
|
|
4297
|
+
|
|
4298
|
+
**Payload schema**
|
|
4299
|
+
|
|
4300
|
+
```json
|
|
4301
|
+
{
|
|
4302
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4303
|
+
"type": "object",
|
|
4304
|
+
"properties": {
|
|
4305
|
+
"dataItemInternalKey": {
|
|
4306
|
+
"type": "string",
|
|
4307
|
+
"description": "Internal key of the data item of the column"
|
|
4308
|
+
},
|
|
4309
|
+
"dataItemUniqueSignature": {
|
|
4310
|
+
"type": "string",
|
|
4311
|
+
"description": "Unique signature of the data item of the column"
|
|
4312
|
+
},
|
|
4313
|
+
"instantSave": {
|
|
4314
|
+
"type": "boolean"
|
|
4315
|
+
}
|
|
4316
|
+
},
|
|
4317
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "instantSave"],
|
|
4318
|
+
"additionalProperties": false,
|
|
4319
|
+
"title": "Writeback instant save schema"
|
|
4320
|
+
}
|
|
4321
|
+
```
|
|
4322
|
+
|
|
4290
4323
|
## `setColumnWritebackKey`
|
|
4291
4324
|
|
|
4292
4325
|
Writeback key
|
|
@@ -4318,6 +4351,38 @@ Toggle writeback key column
|
|
|
4318
4351
|
}
|
|
4319
4352
|
```
|
|
4320
4353
|
|
|
4354
|
+
## `setColumnWritebackNullDisplay`
|
|
4355
|
+
|
|
4356
|
+
Writeback null display
|
|
4357
|
+
|
|
4358
|
+
Set how null values appear in a writeback checkbox: unchecked (default), checked, or unset (minus). Clicking checked writes false; clicking unchecked or unset writes true. The setting can be stored on any column and takes effect when rendered as a writeback checkbox.
|
|
4359
|
+
|
|
4360
|
+
**Payload schema**
|
|
4361
|
+
|
|
4362
|
+
```json
|
|
4363
|
+
{
|
|
4364
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4365
|
+
"type": "object",
|
|
4366
|
+
"properties": {
|
|
4367
|
+
"dataItemInternalKey": {
|
|
4368
|
+
"type": "string",
|
|
4369
|
+
"description": "Internal key of the data item of the column"
|
|
4370
|
+
},
|
|
4371
|
+
"dataItemUniqueSignature": {
|
|
4372
|
+
"type": "string",
|
|
4373
|
+
"description": "Unique signature of the data item of the column"
|
|
4374
|
+
},
|
|
4375
|
+
"nullDisplay": {
|
|
4376
|
+
"type": "string",
|
|
4377
|
+
"enum": ["unchecked", "checked", "unset"]
|
|
4378
|
+
}
|
|
4379
|
+
},
|
|
4380
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "nullDisplay"],
|
|
4381
|
+
"additionalProperties": false,
|
|
4382
|
+
"title": "Writeback null display schema"
|
|
4383
|
+
}
|
|
4384
|
+
```
|
|
4385
|
+
|
|
4321
4386
|
## `setCustomNullValue`
|
|
4322
4387
|
|
|
4323
4388
|
Custom null value
|
package/docs/operations/tree.md
CHANGED
package/getters.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "./chunks/operations-
|
|
1
|
+
import { r as e } from "./chunks/operations-HSqnCRvv.js";
|
|
2
2
|
import { n as t, t as n } from "./chunks/lookup-BWllin0q.js";
|
|
3
|
-
import { t as r } from "./chunks/metadata-
|
|
3
|
+
import { t as r } from "./chunks/metadata-Fmx1swpK.js";
|
|
4
4
|
var i = (e) => typeof e == "object" && !!e && "id" in e && typeof e.id == "string" && "name" in e && typeof e.name == "string", a = (a) => {
|
|
5
5
|
let o = a.registry ? t(a.instance.type, a.registry) : void 0, s = new Set((o?.getters ?? r(o?.type ?? n(a.instance.type))).names);
|
|
6
6
|
if (a.getterRequests.forEach((e) => {
|