@astrato-io/visualizations 0.6.4 → 0.7.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.
Files changed (220) hide show
  1. package/CHANGELOG.md +0 -0
  2. package/README.md +32 -2
  3. package/THIRD_PARTY_NOTICES.md +68 -205
  4. package/VISUALIZATION_DEFINITIONS.md +68 -114
  5. package/chunks/Button-BrGKp9Nm.js +110 -0
  6. package/chunks/DefaultPropsProvider-BsfB7QTn.js +257 -0
  7. package/chunks/FieldTypeIcon-Drs6hSJF.js +22 -0
  8. package/chunks/{LinearProgress-CUZ0D8_t.js → LinearProgress-VtfFx2vJ.js} +51 -51
  9. package/chunks/MenuOption-ByRqhRdX.js +3934 -0
  10. package/chunks/Title-CO5dP1ma.js +1691 -0
  11. package/chunks/ToggleButton-KOBAimC1.js +112 -0
  12. package/chunks/app-filter-bar.compiler-TwVTeoj5.js +64 -0
  13. package/chunks/bar.compiler-DuQg8EUb.js +374 -0
  14. package/chunks/builder-DEDvNq1k.js +201 -0
  15. package/chunks/{color-settings-ZIvgNTq1.js → color-rules-CN7TcGrC.js} +2 -6
  16. package/chunks/color-settings-3VRlf_Vw.js +6 -0
  17. package/chunks/colorManipulator-D8Pjy1pf.js +45 -0
  18. package/chunks/coloring-CncX_JRX.js +278 -0
  19. package/chunks/{src-BC7cGcJ-.js → definitions-BPJQTx16.js} +650 -464
  20. package/chunks/{escobar-BGqT1EsE.js → escobar-DRhRMYRE.js} +6282 -4931
  21. package/chunks/event-bus-CrLB-Y8z.js +3 -0
  22. package/chunks/extend-preset-CUFNpmPe.js +4398 -0
  23. package/chunks/filter.compiler-w27dlv0C.js +70 -0
  24. package/chunks/filtering-cc7WqWpg.js +1153 -0
  25. package/chunks/handlers-TOT-7INo.js +12871 -0
  26. package/chunks/icon-picker-styles-CoJmwTRi.js +2246 -0
  27. package/chunks/isEqual-B8loyPsC.js +12 -0
  28. package/chunks/label-format-type-weq1XfcX.js +8 -0
  29. package/chunks/line.compiler-Ct1WhN2p.js +198 -0
  30. package/chunks/logger-DpQtYQnX.js +1163 -0
  31. package/chunks/lookup-BWllin0q.js +36 -0
  32. package/chunks/{metadata-CPXdYoln.js → metadata-WABZrt7Y.js} +1 -1
  33. package/chunks/number.compiler-D8TPly-4.js +53 -0
  34. package/chunks/{src-C0LgoUWY.js → operations-Dh4v1Ovt.js} +7716 -7541
  35. package/chunks/{range-DrzdfBX4.js → range-Bi-7zT0k.js} +2 -2
  36. package/chunks/registry-KervaxqJ.js +31 -0
  37. package/chunks/render-wrappers-OEmtaM8g.js +2 -0
  38. package/chunks/{registry-CExpGJ1N.js → requirements-PAoRaJyb.js} +294 -326
  39. package/chunks/responsive.styles-DSiOGD7u.js +82 -0
  40. package/chunks/shared-Bn4N5QcZ.js +1218 -0
  41. package/chunks/src-77e3mC7i.js +391 -0
  42. package/chunks/standalone-B55oyW6c.js +689 -0
  43. package/chunks/{standalone-CY57qwZ-.js → standalone-BDhPQtzQ.js} +386 -352
  44. package/chunks/{standalone-BDCwI6Hn.js → standalone-BGkmozIb.js} +1108 -953
  45. package/chunks/standalone-BMTCb10X.js +179 -0
  46. package/chunks/standalone-BXKRE_Se.js +468 -0
  47. package/chunks/standalone-Bes8srx1.js +354 -0
  48. package/chunks/standalone-BjZp0QMe.js +2 -0
  49. package/chunks/{standalone-BH5NqDwp.js → standalone-BlMIwpEe.js} +687 -573
  50. package/chunks/{standalone-CCNtaJ7s.js → standalone-C8ZAEutO.js} +44 -43
  51. package/chunks/standalone-C8qAelL4.js +2 -0
  52. package/chunks/standalone-CJvIXsQE.js +743 -0
  53. package/chunks/standalone-CLmGb7nn2.js +355 -0
  54. package/chunks/{ui-D1HQNIBy.js → standalone-CM5XcAN5.js} +15946 -17658
  55. package/chunks/standalone-CXNP6-xD.js +420 -0
  56. package/chunks/{standalone-BYm1UjLr.js → standalone-D5Q5ngsD.js} +59 -57
  57. package/chunks/standalone-DLlyRIE6.js +287 -0
  58. package/chunks/standalone-DMcI1afI.js +396 -0
  59. package/chunks/{standalone-jiz0L2Dg.js → standalone-DN4S1MjT.js} +1113 -1094
  60. package/chunks/{standalone-QJ1kKMnO.js → standalone-DT0wKji7.js} +2 -2
  61. package/chunks/{standalone-D5vnf-9y.js → standalone-DVTJwsTY.js} +1110 -1035
  62. package/chunks/standalone-DW6NT205.js +518 -0
  63. package/chunks/standalone-DYQIQH4c.js +2095 -0
  64. package/chunks/standalone-D__XCp-h.js +1003 -0
  65. package/chunks/standalone-XTgSsTAa.js +354 -0
  66. package/chunks/standalone-XuGksArp.js +68 -0
  67. package/chunks/{standalone-CNyNHKVx.js → standalone-we5D5MIn.js} +176 -172
  68. package/chunks/table.compiler-DMeeHxb6.js +222 -0
  69. package/chunks/useFieldName-Cjn9KCVp.js +7 -0
  70. package/chunks/useSlotProps-DLbQp4lc.js +166 -0
  71. package/chunks/{utils-Ba9T0TqC.js → utils-vdmi_2PK.js} +6266 -6517
  72. package/chunks/{src-DvX5LU9T.js → view-BuwQugKb.js} +2893 -5956
  73. package/chunks/visualization-filters-Cc4KU-l-.js +7455 -0
  74. package/chunks/web-components-DqClFkgO.js +1185 -0
  75. package/chunks/with-html-element-D0uY2zjI.js +7328 -0
  76. package/definitions.js +3 -3
  77. package/docs/operations/astrato-app-filter-bar.md +17 -17
  78. package/docs/operations/bar.md +1006 -1071
  79. package/docs/operations/combo.md +717 -738
  80. package/docs/operations/date-picker.md +27 -27
  81. package/docs/operations/distribution-gauge.md +471 -607
  82. package/docs/operations/dot.md +787 -879
  83. package/docs/operations/filter.md +139 -163
  84. package/docs/operations/gauge.md +491 -627
  85. package/docs/operations/heatMap.md +834 -916
  86. package/docs/operations/histogram.md +166 -180
  87. package/docs/operations/iframe.md +5 -5
  88. package/docs/operations/image.md +16 -16
  89. package/docs/operations/index.md +12 -12
  90. package/docs/operations/line.md +811 -888
  91. package/docs/operations/number.md +470 -536
  92. package/docs/operations/pie.md +825 -958
  93. package/docs/operations/radar.md +599 -679
  94. package/docs/operations/sankey.md +462 -584
  95. package/docs/operations/scatter.md +823 -929
  96. package/docs/operations/shape.md +34 -34
  97. package/docs/operations/simpleTextObject.md +18 -25
  98. package/docs/operations/slider.md +33 -43
  99. package/docs/operations/table.md +1177 -1150
  100. package/docs/operations/tree.md +404 -397
  101. package/docs/operations/treemap.md +595 -673
  102. package/docs/operations/waterfall.md +369 -379
  103. package/docs/operations/word-cloud.md +512 -583
  104. package/getters.js +7 -7
  105. package/index.js +3 -1183
  106. package/metadata.js +18 -18
  107. package/operations.js +13 -13
  108. package/package.json +133 -88
  109. package/render.js +10 -0
  110. package/src/charts/bar.d.ts +1 -0
  111. package/src/charts/combo.d.ts +1 -0
  112. package/src/charts/dot.d.ts +1 -0
  113. package/src/charts/gauge-distribution.d.ts +1 -0
  114. package/src/charts/gauge.d.ts +1 -0
  115. package/src/charts/heat-map.d.ts +1 -0
  116. package/src/charts/histogram.d.ts +1 -0
  117. package/src/charts/line.d.ts +1 -0
  118. package/src/charts/pie.d.ts +1 -0
  119. package/src/charts/radar.d.ts +1 -0
  120. package/src/charts/sankey.d.ts +1 -0
  121. package/src/charts/scatter.d.ts +1 -0
  122. package/src/charts/table.d.ts +1 -0
  123. package/src/charts/tree.d.ts +1 -0
  124. package/src/charts/treemap.d.ts +1 -0
  125. package/src/charts/waterfall.d.ts +1 -0
  126. package/src/charts/word-cloud.d.ts +1 -0
  127. package/src/definitions/index.d.ts +2 -2
  128. package/src/definitions/{shared/lib → model/definitions}/available-fields.d.ts +0 -1
  129. package/src/definitions/{shared/lib/compilers/index.d.ts → model/definitions/compilers/compile.d.ts} +1 -1
  130. package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
  131. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1364 -0
  132. package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
  133. package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
  134. package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
  135. package/src/definitions/model/definitions/index.d.ts +23 -0
  136. package/src/definitions/{shared/lib → model/definitions}/registry/compile.d.ts +1 -1
  137. package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
  138. package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
  139. package/src/definitions/{shared/lib → model/definitions}/schemas/broad-chart.schema.d.ts +1 -1
  140. package/src/definitions/{shared/lib → model/definitions}/schemas/common.schema.d.ts +0 -1
  141. package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
  142. package/src/definitions/{shared/lib → model/definitions}/schemas/object.schema.d.ts +8 -8
  143. package/src/definitions/{shared/lib → model/definitions}/types/compilation.types.d.ts +10 -0
  144. package/src/definitions/{shared/lib → model/definitions}/types/definition.types.d.ts +1 -1
  145. package/src/definitions/model/definitions/types/index.d.ts +3 -0
  146. package/src/definitions/{shared/lib/registry → model/definitions}/validation.d.ts +1 -1
  147. package/src/getters/index.d.ts +3 -3
  148. package/src/index.d.ts +1 -1
  149. package/src/objects/app-filter-bar.d.ts +1 -0
  150. package/src/objects/date-picker.d.ts +1 -0
  151. package/src/objects/filter.d.ts +1 -0
  152. package/src/objects/iframe.d.ts +1 -0
  153. package/src/objects/image.d.ts +1 -0
  154. package/src/objects/number.d.ts +1 -0
  155. package/src/objects/shape.d.ts +1 -0
  156. package/src/objects/slider.d.ts +1 -0
  157. package/src/objects/text.d.ts +1 -0
  158. package/src/operations/index.d.ts +3 -3
  159. package/src/registry/create-visualization-registry.d.ts +5 -0
  160. package/src/render/index.d.ts +34 -0
  161. package/src/runtime/index.d.ts +2 -2
  162. package/src/types.d.ts +9 -4
  163. package/src/web-components/index.d.ts +3 -3
  164. package/chunks/Radio-Ciu-F4CU.js +0 -957
  165. package/chunks/ToggleButton-BCJc3Jlc.js +0 -153
  166. package/chunks/_baseFlatten-DPXPOrea.js +0 -7076
  167. package/chunks/app-filter-bar.compiler-j_CVoWTa.js +0 -55
  168. package/chunks/bar.compiler-oqaPzIut.js +0 -370
  169. package/chunks/coloring-C16AUZEi.js +0 -663
  170. package/chunks/data-item-resolution-1lvYB5ln.js +0 -53
  171. package/chunks/event-bus-KiSiCJrC.js +0 -2683
  172. package/chunks/events-WZut5Ow6.js +0 -4
  173. package/chunks/filter.compiler-CuLtc_02.js +0 -60
  174. package/chunks/filtering-Yq4DEa0t.js +0 -953
  175. package/chunks/gauge-target-type-BkKXAqkX.js +0 -4
  176. package/chunks/grouping-type-BX_9Ix5q.js +0 -3
  177. package/chunks/interfaces-VUY4_yVO.js +0 -8742
  178. package/chunks/line-settings-DfYTUyPz.js +0 -4
  179. package/chunks/line.compiler-BpA_6Tc7.js +0 -188
  180. package/chunks/number.compiler-DbkWcG4S.js +0 -44
  181. package/chunks/pie-uv42Eqal.js +0 -10
  182. package/chunks/requirements-DNhuShLS.js +0 -6
  183. package/chunks/shared-CKDL4hx9.js +0 -1171
  184. package/chunks/src-Cum_2NLV.js +0 -12145
  185. package/chunks/src-Dun_jXtz.js +0 -10295
  186. package/chunks/standalone-87YV_m9n.js +0 -687
  187. package/chunks/standalone-BLVAWLNJ.js +0 -385
  188. package/chunks/standalone-BPomtAVs.js +0 -2
  189. package/chunks/standalone-BXyBcUOQ.js +0 -2
  190. package/chunks/standalone-BllF4rDp.js +0 -383
  191. package/chunks/standalone-BmfMt74U.js +0 -726
  192. package/chunks/standalone-BqWyrnZI.js +0 -281
  193. package/chunks/standalone-C85u7U6I.js +0 -340
  194. package/chunks/standalone-CDQnr6qT.js +0 -345
  195. package/chunks/standalone-CZynjFG7.js +0 -12979
  196. package/chunks/standalone-DFPva_ku.js +0 -299
  197. package/chunks/standalone-DQxxNwF8.js +0 -675
  198. package/chunks/standalone-DS9T0FZ-.js +0 -830
  199. package/chunks/standalone-Dx3MLlrO.js +0 -512
  200. package/chunks/standalone-DzixzZAL.js +0 -411
  201. package/chunks/standalone-lBm9hQ-q.js +0 -179
  202. package/chunks/standalone-rJ45Zfl1.js +0 -68
  203. package/chunks/table.compiler-BrXkm4Fz.js +0 -213
  204. package/chunks/toInteger-DVZr-D1j.js +0 -11
  205. package/chunks/treemap-x_zmJoG7.js +0 -23
  206. package/chunks/types-dVVCsDWD.js +0 -4
  207. package/chunks/useFieldName-oqQ3bvnO.js +0 -7
  208. package/chunks/view-CLqWMV7Z.js +0 -156
  209. package/src/definitions/shared/index.d.ts +0 -5
  210. package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +0 -587
  211. package/src/definitions/shared/lib/registry/index.d.ts +0 -3
  212. package/src/definitions/shared/lib/schemas/index.d.ts +0 -9
  213. package/src/definitions/shared/lib/types/index.d.ts +0 -3
  214. package/src/definitions/{shared/lib → model/definitions}/schemas/app-filter-bar.schema.d.ts +0 -0
  215. package/src/definitions/{shared/lib → model/definitions}/schemas/bar.schema.d.ts +0 -0
  216. package/src/definitions/{shared/lib → model/definitions}/schemas/filter.schema.d.ts +0 -0
  217. package/src/definitions/{shared/lib → model/definitions}/schemas/line.schema.d.ts +0 -0
  218. package/src/definitions/{shared/lib → model/definitions}/schemas/number.schema.d.ts +0 -0
  219. package/src/definitions/{shared/lib → model/definitions}/schemas/table.schema.d.ts +4 -4
  220. /package/src/definitions/{shared/lib → model/definitions}/types/descriptor.types.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `iframe` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.6.4`.
5
+ Reference for `@astrato-io/visualizations@0.7.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -23,7 +23,6 @@ Set a static URL, bind the URL to an existing text workbook variable by exact na
23
23
  ```json
24
24
  {
25
25
  "$schema": "https://json-schema.org/draft/2020-12/schema",
26
- "title": "Set iframe URL schema",
27
26
  "anyOf": [
28
27
  {
29
28
  "anyOf": [
@@ -38,9 +37,9 @@ Set a static URL, bind the URL to an existing text workbook variable by exact na
38
37
  "const": "variable"
39
38
  },
40
39
  "variableName": {
41
- "description": "Exact name of an existing compatible workbook variable",
42
40
  "type": "string",
43
- "minLength": 1
41
+ "minLength": 1,
42
+ "description": "Exact name of an existing compatible workbook variable"
44
43
  }
45
44
  },
46
45
  "required": ["type", "variableName"],
@@ -51,6 +50,7 @@ Set a static URL, bind the URL to an existing text workbook variable by exact na
51
50
  {
52
51
  "type": "null"
53
52
  }
54
- ]
53
+ ],
54
+ "title": "Set iframe URL schema"
55
55
  }
56
56
  ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `image` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.6.4`.
5
+ Reference for `@astrato-io/visualizations@0.7.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -28,10 +28,10 @@ Set image blur from 0 to 10
28
28
  ```json
29
29
  {
30
30
  "$schema": "https://json-schema.org/draft/2020-12/schema",
31
- "title": "Set image blur schema",
32
31
  "type": "number",
33
32
  "minimum": 0,
34
- "maximum": 10
33
+ "maximum": 10,
34
+ "title": "Set image blur schema"
35
35
  }
36
36
  ```
37
37
 
@@ -46,9 +46,9 @@ Set how the image fits inside the object
46
46
  ```json
47
47
  {
48
48
  "$schema": "https://json-schema.org/draft/2020-12/schema",
49
- "title": "Set image fit schema",
50
49
  "type": "string",
51
- "enum": ["contain", "cover", "fill", "none"]
50
+ "enum": ["contain", "cover", "fill", "none"],
51
+ "title": "Set image fit schema"
52
52
  }
53
53
  ```
54
54
 
@@ -63,10 +63,10 @@ Set image opacity from 0 to 1
63
63
  ```json
64
64
  {
65
65
  "$schema": "https://json-schema.org/draft/2020-12/schema",
66
- "title": "Set image opacity schema",
67
66
  "type": "number",
68
67
  "minimum": 0,
69
- "maximum": 1
68
+ "maximum": 1,
69
+ "title": "Set image opacity schema"
70
70
  }
71
71
  ```
72
72
 
@@ -81,10 +81,10 @@ Set image saturation from 0 to 1
81
81
  ```json
82
82
  {
83
83
  "$schema": "https://json-schema.org/draft/2020-12/schema",
84
- "title": "Set image saturation schema",
85
84
  "type": "number",
86
85
  "minimum": 0,
87
- "maximum": 1
86
+ "maximum": 1,
87
+ "title": "Set image saturation schema"
88
88
  }
89
89
  ```
90
90
 
@@ -99,8 +99,8 @@ Show or hide the image shadow
99
99
  ```json
100
100
  {
101
101
  "$schema": "https://json-schema.org/draft/2020-12/schema",
102
- "title": "Set image shadow schema",
103
- "type": "boolean"
102
+ "type": "boolean",
103
+ "title": "Set image shadow schema"
104
104
  }
105
105
  ```
106
106
 
@@ -115,8 +115,7 @@ Set or clear the image source. Use sourceKind "variable" with the exact name of
115
115
  ```json
116
116
  {
117
117
  "$schema": "https://json-schema.org/draft/2020-12/schema",
118
- "title": "Set image source schema",
119
- "anyOf": [
118
+ "oneOf": [
120
119
  {
121
120
  "type": "object",
122
121
  "properties": {
@@ -153,9 +152,9 @@ Set or clear the image source. Use sourceKind "variable" with the exact name of
153
152
  "const": "variable"
154
153
  },
155
154
  "variableName": {
156
- "description": "Exact name of an existing text workbook variable",
157
155
  "type": "string",
158
- "minLength": 1
156
+ "minLength": 1,
157
+ "description": "Exact name of an existing text workbook variable"
159
158
  }
160
159
  },
161
160
  "required": ["sourceKind", "variableName"],
@@ -172,6 +171,7 @@ Set or clear the image source. Use sourceKind "variable" with the exact name of
172
171
  "required": ["sourceKind"],
173
172
  "additionalProperties": false
174
173
  }
175
- ]
174
+ ],
175
+ "title": "Set image source schema"
176
176
  }
177
177
  ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Visualization operations reference
4
4
 
5
- Reference for `@astrato-io/visualizations@0.6.4`.
5
+ Reference for `@astrato-io/visualizations@0.7.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,28 +19,28 @@ 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 | 153 |
23
- | [`combo`](./combo.md) | chart | 129 |
22
+ | [`bar`](./bar.md) | chart | 156 |
23
+ | [`combo`](./combo.md) | chart | 130 |
24
24
  | [`date-picker`](./date-picker.md) | filter | 16 |
25
25
  | [`distribution-gauge`](./distribution-gauge.md) | chart | 50 |
26
- | [`dot`](./dot.md) | chart | 107 |
26
+ | [`dot`](./dot.md) | chart | 108 |
27
27
  | [`filter`](./filter.md) | filter | 33 |
28
28
  | [`gauge`](./gauge.md) | chart | 60 |
29
- | [`heatMap`](./heatMap.md) | chart | 118 |
29
+ | [`heatMap`](./heatMap.md) | chart | 120 |
30
30
  | [`histogram`](./histogram.md) | chart | 47 |
31
31
  | [`iframe`](./iframe.md) | object | 1 |
32
32
  | [`image`](./image.md) | object | 6 |
33
- | [`line`](./line.md) | chart | 143 |
33
+ | [`line`](./line.md) | chart | 144 |
34
34
  | [`number`](./number.md) | object | 72 |
35
- | [`pie`](./pie.md) | chart | 120 |
35
+ | [`pie`](./pie.md) | chart | 121 |
36
36
  | [`radar`](./radar.md) | chart | 81 |
37
37
  | [`sankey`](./sankey.md) | chart | 49 |
38
- | [`scatter`](./scatter.md) | chart | 122 |
38
+ | [`scatter`](./scatter.md) | chart | 123 |
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 | 232 |
43
- | [`tree`](./tree.md) | chart | 59 |
44
- | [`treemap`](./treemap.md) | chart | 68 |
42
+ | [`table`](./table.md) | chart | 235 |
43
+ | [`tree`](./tree.md) | chart | 60 |
44
+ | [`treemap`](./treemap.md) | chart | 69 |
45
45
  | [`waterfall`](./waterfall.md) | chart | 56 |
46
- | [`word-cloud`](./word-cloud.md) | chart | 44 |
46
+ | [`word-cloud`](./word-cloud.md) | chart | 45 |