@astrato-io/visualizations 0.6.4 → 0.6.5

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 (149) hide show
  1. package/CHANGELOG.md +0 -0
  2. package/THIRD_PARTY_NOTICES.md +94 -4
  3. package/chunks/ClickAwayListener-BbeNMAvj.js +52 -0
  4. package/chunks/{LinearProgress-CUZ0D8_t.js → LinearProgress-B1FeWaen.js} +54 -54
  5. package/chunks/app-filter-bar.compiler-BGJ7HAbr.js +64 -0
  6. package/chunks/bar.compiler-CT0ZbQKc.js +374 -0
  7. package/chunks/{src-Cum_2NLV.js → builder-B6dWSIdD.js} +5779 -5635
  8. package/chunks/{coloring-C16AUZEi.js → coloring-B1XAfg6b.js} +234 -233
  9. package/chunks/{src-BC7cGcJ-.js → definitions-D3OVqmXl.js} +438 -360
  10. package/chunks/{escobar-BGqT1EsE.js → escobar-eDjtGpkC.js} +4645 -4619
  11. package/chunks/filter.compiler-DBsyRBJt.js +70 -0
  12. package/chunks/{filtering-Yq4DEa0t.js → filtering-tqjAyJH5.js} +432 -313
  13. package/chunks/{grouping-type-BX_9Ix5q.js → grouping-type-On4s9Thj.js} +1 -1
  14. package/chunks/handlers-VTBfIZYZ.js +13072 -0
  15. package/chunks/isEqual-BDxAhUo8.js +7514 -0
  16. package/chunks/line.compiler-CzdM5Ld0.js +198 -0
  17. package/chunks/{metadata-CPXdYoln.js → metadata-BGElBy5Z.js} +1 -1
  18. package/chunks/number.compiler-G-R7y16P.js +53 -0
  19. package/chunks/{src-C0LgoUWY.js → operations-CTNUX6Sy.js} +9576 -9432
  20. package/chunks/{range-DrzdfBX4.js → range-CiwTbMig.js} +2 -2
  21. package/chunks/{registry-CExpGJ1N.js → registry-CsQQzukD.js} +153 -153
  22. package/chunks/{requirements-DNhuShLS.js → requirements-DYjZCFyf.js} +1 -1
  23. package/chunks/{shared-CKDL4hx9.js → shared-CBvcC5YV.js} +460 -413
  24. package/chunks/{standalone-D5vnf-9y.js → standalone-0M4HlmDW2.js} +823 -822
  25. package/chunks/standalone-0ashe9w1.js +411 -0
  26. package/chunks/{standalone-C85u7U6I.js → standalone-B7jax8wa.js} +93 -94
  27. package/chunks/standalone-BK0VYU-l.js +463 -0
  28. package/chunks/{standalone-BDCwI6Hn.js → standalone-BMIbT1b2.js} +815 -815
  29. package/chunks/standalone-BZV5vOwA.js +6 -0
  30. package/chunks/standalone-BhDrWj4p.js +1980 -0
  31. package/chunks/{standalone-CNyNHKVx.js → standalone-BtSHCp2U2.js} +97 -98
  32. package/chunks/{standalone-CDQnr6qT.js → standalone-BvaKdky9.js} +95 -96
  33. package/chunks/standalone-BwtM31-f.js +2 -0
  34. package/chunks/{standalone-CY57qwZ-.js → standalone-C3gg736V.js} +153 -153
  35. package/chunks/{standalone-DFPva_ku.js → standalone-CC1VUjO32.js} +60 -60
  36. package/chunks/{standalone-CCNtaJ7s.js → standalone-C_rYnZ0N.js} +41 -41
  37. package/chunks/{standalone-CZynjFG7.js → standalone-CoLrAxRV.js} +3701 -3482
  38. package/chunks/{standalone-jiz0L2Dg.js → standalone-DC-aUgXC.js} +104 -104
  39. package/chunks/standalone-DCtRoTWg.js +675 -0
  40. package/chunks/standalone-DUDFTBqL.js +833 -0
  41. package/chunks/standalone-DhZkX9Td.js +2 -0
  42. package/chunks/{standalone-Dx3MLlrO.js → standalone-DtLElfuM.js} +141 -141
  43. package/chunks/{standalone-BmfMt74U.js → standalone-G9Q4Uczu.js} +192 -192
  44. package/chunks/{standalone-BH5NqDwp.js → standalone-JuLF-OoH.js} +390 -391
  45. package/chunks/standalone-_DeX21JJ.js +383 -0
  46. package/chunks/{standalone-lBm9hQ-q.js → standalone-gFhKZh8m.js} +34 -34
  47. package/chunks/standalone-tDNy-SFH.js +281 -0
  48. package/chunks/{standalone-rJ45Zfl1.js → standalone-v1oxfU20.js} +10 -10
  49. package/chunks/{standalone-BYm1UjLr.js → standalone-vzBY6q0I2.js} +18 -18
  50. package/chunks/table.compiler-tb914oj3.js +222 -0
  51. package/chunks/{ui-D1HQNIBy.js → ui-DQWtv2iM.js} +13485 -3973
  52. package/chunks/{useFieldName-oqQ3bvnO.js → useFieldName-BvdcoJRl.js} +1 -1
  53. package/chunks/{utils-Ba9T0TqC.js → utils-Bg7K-t6K.js} +7306 -6024
  54. package/chunks/{src-DvX5LU9T.js → view-Bn83C8d9.js} +2555 -4831
  55. package/definitions.js +3 -3
  56. package/docs/operations/astrato-app-filter-bar.md +17 -17
  57. package/docs/operations/bar.md +989 -1071
  58. package/docs/operations/combo.md +717 -738
  59. package/docs/operations/date-picker.md +25 -25
  60. package/docs/operations/distribution-gauge.md +471 -607
  61. package/docs/operations/dot.md +787 -879
  62. package/docs/operations/filter.md +139 -163
  63. package/docs/operations/gauge.md +491 -627
  64. package/docs/operations/heatMap.md +834 -916
  65. package/docs/operations/histogram.md +166 -180
  66. package/docs/operations/iframe.md +5 -5
  67. package/docs/operations/image.md +16 -16
  68. package/docs/operations/index.md +12 -12
  69. package/docs/operations/line.md +811 -888
  70. package/docs/operations/number.md +470 -536
  71. package/docs/operations/pie.md +825 -958
  72. package/docs/operations/radar.md +599 -679
  73. package/docs/operations/sankey.md +462 -584
  74. package/docs/operations/scatter.md +823 -929
  75. package/docs/operations/shape.md +34 -34
  76. package/docs/operations/simpleTextObject.md +18 -25
  77. package/docs/operations/slider.md +33 -43
  78. package/docs/operations/table.md +1160 -1150
  79. package/docs/operations/tree.md +354 -361
  80. package/docs/operations/treemap.md +545 -637
  81. package/docs/operations/waterfall.md +369 -379
  82. package/docs/operations/word-cloud.md +512 -583
  83. package/getters.js +3 -3
  84. package/index.js +51 -51
  85. package/metadata.js +3 -3
  86. package/operations.js +7 -7
  87. package/package.json +80 -86
  88. package/src/definitions/index.d.ts +2 -2
  89. package/src/definitions/{shared/lib → model/definitions}/available-fields.d.ts +0 -1
  90. package/src/definitions/{shared/lib/compilers/index.d.ts → model/definitions/compilers/compile.d.ts} +1 -1
  91. package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
  92. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1341 -0
  93. package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
  94. package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
  95. package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
  96. package/src/definitions/model/definitions/index.d.ts +23 -0
  97. package/src/definitions/{shared/lib → model/definitions}/registry/compile.d.ts +1 -1
  98. package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
  99. package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
  100. package/src/definitions/{shared/lib → model/definitions}/schemas/broad-chart.schema.d.ts +1 -1
  101. package/src/definitions/{shared/lib → model/definitions}/schemas/common.schema.d.ts +0 -1
  102. package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
  103. package/src/definitions/{shared/lib → model/definitions}/schemas/object.schema.d.ts +6 -6
  104. package/src/definitions/{shared/lib → model/definitions}/types/definition.types.d.ts +1 -1
  105. package/src/definitions/model/definitions/types/index.d.ts +3 -0
  106. package/src/definitions/{shared/lib/registry → model/definitions}/validation.d.ts +1 -1
  107. package/chunks/Radio-Ciu-F4CU.js +0 -957
  108. package/chunks/ToggleButton-BCJc3Jlc.js +0 -153
  109. package/chunks/_baseFlatten-DPXPOrea.js +0 -7076
  110. package/chunks/app-filter-bar.compiler-j_CVoWTa.js +0 -55
  111. package/chunks/bar.compiler-oqaPzIut.js +0 -370
  112. package/chunks/data-item-resolution-1lvYB5ln.js +0 -53
  113. package/chunks/event-bus-KiSiCJrC.js +0 -2683
  114. package/chunks/filter.compiler-CuLtc_02.js +0 -60
  115. package/chunks/gauge-target-type-BkKXAqkX.js +0 -4
  116. package/chunks/interfaces-VUY4_yVO.js +0 -8742
  117. package/chunks/line-settings-DfYTUyPz.js +0 -4
  118. package/chunks/line.compiler-BpA_6Tc7.js +0 -188
  119. package/chunks/number.compiler-DbkWcG4S.js +0 -44
  120. package/chunks/pie-uv42Eqal.js +0 -10
  121. package/chunks/src-Dun_jXtz.js +0 -10295
  122. package/chunks/standalone-87YV_m9n.js +0 -687
  123. package/chunks/standalone-BLVAWLNJ.js +0 -385
  124. package/chunks/standalone-BPomtAVs.js +0 -2
  125. package/chunks/standalone-BXyBcUOQ.js +0 -2
  126. package/chunks/standalone-BllF4rDp.js +0 -383
  127. package/chunks/standalone-BqWyrnZI.js +0 -281
  128. package/chunks/standalone-DQxxNwF8.js +0 -675
  129. package/chunks/standalone-DS9T0FZ-.js +0 -830
  130. package/chunks/standalone-DzixzZAL.js +0 -411
  131. package/chunks/standalone-QJ1kKMnO.js +0 -6
  132. package/chunks/table.compiler-BrXkm4Fz.js +0 -213
  133. package/chunks/toInteger-DVZr-D1j.js +0 -11
  134. package/chunks/treemap-x_zmJoG7.js +0 -23
  135. package/chunks/types-dVVCsDWD.js +0 -4
  136. package/chunks/view-CLqWMV7Z.js +0 -156
  137. package/src/definitions/shared/index.d.ts +0 -5
  138. package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +0 -587
  139. package/src/definitions/shared/lib/registry/index.d.ts +0 -3
  140. package/src/definitions/shared/lib/schemas/index.d.ts +0 -9
  141. package/src/definitions/shared/lib/types/index.d.ts +0 -3
  142. package/src/definitions/{shared/lib → model/definitions}/schemas/app-filter-bar.schema.d.ts +0 -0
  143. package/src/definitions/{shared/lib → model/definitions}/schemas/bar.schema.d.ts +0 -0
  144. package/src/definitions/{shared/lib → model/definitions}/schemas/filter.schema.d.ts +0 -0
  145. package/src/definitions/{shared/lib → model/definitions}/schemas/line.schema.d.ts +0 -0
  146. package/src/definitions/{shared/lib → model/definitions}/schemas/number.schema.d.ts +0 -0
  147. package/src/definitions/{shared/lib → model/definitions}/schemas/table.schema.d.ts +4 -4
  148. /package/src/definitions/{shared/lib → model/definitions}/types/compilation.types.d.ts +0 -0
  149. /package/src/definitions/{shared/lib → model/definitions}/types/descriptor.types.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `shape` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.6.4`.
5
+ Reference for `@astrato-io/visualizations@0.6.5`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -40,9 +40,9 @@ Set the background color of the shape
40
40
  "type": "object",
41
41
  "properties": {
42
42
  "code": {
43
- "description": "Background color code (hex, with optional alpha)",
44
43
  "type": "string",
45
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
44
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
45
+ "description": "Background color code (hex, with optional alpha)"
46
46
  }
47
47
  },
48
48
  "required": ["code"],
@@ -62,9 +62,9 @@ Choose between solid color or image background
62
62
  {
63
63
  "$schema": "https://json-schema.org/draft/2020-12/schema",
64
64
  "title": "Shape background type schema",
65
- "description": "Background type - color or image",
66
65
  "type": "string",
67
- "enum": ["color", "image"]
66
+ "enum": ["color", "image"],
67
+ "description": "Background type - color or image"
68
68
  }
69
69
  ```
70
70
 
@@ -83,9 +83,9 @@ Set the color of the shape border
83
83
  "type": "object",
84
84
  "properties": {
85
85
  "code": {
86
- "description": "Border color code (hex, with optional alpha)",
87
86
  "type": "string",
88
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
87
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
88
+ "description": "Border color code (hex, with optional alpha)"
89
89
  }
90
90
  },
91
91
  "required": ["code"],
@@ -105,8 +105,8 @@ Enable or disable the shape border
105
105
  {
106
106
  "$schema": "https://json-schema.org/draft/2020-12/schema",
107
107
  "title": "Shape border enabled schema",
108
- "description": "Enable or disable the border",
109
- "type": "boolean"
108
+ "type": "boolean",
109
+ "description": "Enable or disable the border"
110
110
  }
111
111
  ```
112
112
 
@@ -122,10 +122,10 @@ Set the corner radius for rounded shape edges
122
122
  {
123
123
  "$schema": "https://json-schema.org/draft/2020-12/schema",
124
124
  "title": "Shape border radius schema",
125
- "description": "Border radius of the shape (in pixels)",
126
125
  "type": "number",
127
126
  "minimum": 0,
128
- "maximum": 50
127
+ "maximum": 50,
128
+ "description": "Border radius of the shape (in pixels)"
129
129
  }
130
130
  ```
131
131
 
@@ -140,19 +140,18 @@ Set the border style (solid, dashed) and dash pattern properties
140
140
  ```json
141
141
  {
142
142
  "$schema": "https://json-schema.org/draft/2020-12/schema",
143
- "title": "Shape border style schema",
144
143
  "type": "object",
145
144
  "properties": {
146
145
  "style": {
147
- "description": "Border style - line, dashed, dotted",
148
146
  "type": "string",
149
- "enum": ["line", "dashed", "dotted"]
147
+ "enum": ["line", "dashed", "dotted"],
148
+ "description": "Border style - line, dashed, dotted"
150
149
  },
151
150
  "lineThickness": {
152
- "description": "Border thickness (in pixels)",
153
151
  "type": "number",
154
152
  "minimum": 0,
155
- "maximum": 50
153
+ "maximum": 50,
154
+ "description": "Border thickness (in pixels)"
156
155
  },
157
156
  "dashSpace": {
158
157
  "type": "number",
@@ -166,7 +165,8 @@ Set the border style (solid, dashed) and dash pattern properties
166
165
  }
167
166
  },
168
167
  "required": ["style", "lineThickness", "dashSpace", "dashWidth"],
169
- "additionalProperties": false
168
+ "additionalProperties": false,
169
+ "title": "Shape border style schema"
170
170
  }
171
171
  ```
172
172
 
@@ -182,10 +182,10 @@ Adjust the thickness of the shape border
182
182
  {
183
183
  "$schema": "https://json-schema.org/draft/2020-12/schema",
184
184
  "title": "Shape border width schema",
185
- "description": "Border thickness (in pixels)",
186
185
  "type": "number",
187
186
  "minimum": 0,
188
- "maximum": 50
187
+ "maximum": 50,
188
+ "description": "Border thickness (in pixels)"
189
189
  }
190
190
  ```
191
191
 
@@ -201,8 +201,8 @@ Calculate shape size based on height rather than width
201
201
  {
202
202
  "$schema": "https://json-schema.org/draft/2020-12/schema",
203
203
  "title": "Shape height based size schema",
204
- "description": "Fit to vertical space instead of horizontal space, useful for line shapes",
205
- "type": "boolean"
204
+ "type": "boolean",
205
+ "description": "Fit to vertical space instead of horizontal space, useful for line shapes"
206
206
  }
207
207
  ```
208
208
 
@@ -218,9 +218,9 @@ Control how the image fits within the shape
218
218
  {
219
219
  "$schema": "https://json-schema.org/draft/2020-12/schema",
220
220
  "title": "Shape image fit schema",
221
- "description": "Image fit type",
222
221
  "type": "string",
223
- "enum": ["none", "xMidYMid slice"]
222
+ "enum": ["none", "xMidYMid slice"],
223
+ "description": "Image fit type"
224
224
  }
225
225
  ```
226
226
 
@@ -236,8 +236,8 @@ Set the URL of the image to use as shape background
236
236
  {
237
237
  "$schema": "https://json-schema.org/draft/2020-12/schema",
238
238
  "title": "Shape image URL schema",
239
- "description": "Image URL",
240
- "type": "string"
239
+ "type": "string",
240
+ "description": "Image URL"
241
241
  }
242
242
  ```
243
243
 
@@ -253,8 +253,8 @@ Maintain the original aspect ratio when resizing the shape
253
253
  {
254
254
  "$schema": "https://json-schema.org/draft/2020-12/schema",
255
255
  "title": "Shape preserve aspect ratio schema",
256
- "description": "Preserve aspect ratio of the shape",
257
- "type": "boolean"
256
+ "type": "boolean",
257
+ "description": "Preserve aspect ratio of the shape"
258
258
  }
259
259
  ```
260
260
 
@@ -270,10 +270,10 @@ Rotate the shape by a specified angle
270
270
  {
271
271
  "$schema": "https://json-schema.org/draft/2020-12/schema",
272
272
  "title": "Shape rotation schema",
273
- "description": "Rotation of the shape (in degrees)",
274
273
  "type": "number",
275
274
  "minimum": 0,
276
- "maximum": 360
275
+ "maximum": 360,
276
+ "description": "Rotation of the shape (in degrees)"
277
277
  }
278
278
  ```
279
279
 
@@ -289,10 +289,10 @@ Adjust the size scale of the shape
289
289
  {
290
290
  "$schema": "https://json-schema.org/draft/2020-12/schema",
291
291
  "title": "Shape scale schema",
292
- "description": "Scale of the shape (defined as float between 0 and 1)",
293
292
  "type": "number",
294
293
  "minimum": 0,
295
- "maximum": 1
294
+ "maximum": 1,
295
+ "description": "Scale of the shape (defined as float between 0 and 1)"
296
296
  }
297
297
  ```
298
298
 
@@ -307,9 +307,9 @@ Set the type of shape
307
307
  ```json
308
308
  {
309
309
  "$schema": "https://json-schema.org/draft/2020-12/schema",
310
- "description": "Shape type",
311
- "title": "Shape type schema",
312
310
  "type": "string",
313
- "enum": ["square", "circle", "triangle", "hexagon", "line", "arrow", "elbow", "rectangle"]
311
+ "enum": ["square", "circle", "triangle", "hexagon", "line", "arrow", "elbow", "rectangle"],
312
+ "description": "Shape type",
313
+ "title": "Shape type schema"
314
314
  }
315
315
  ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `simpleTextObject` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.6.4`.
5
+ Reference for `@astrato-io/visualizations@0.6.5`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -165,11 +165,11 @@ Set background image opacity from 0 to 1.
165
165
  ```json
166
166
  {
167
167
  "$schema": "https://json-schema.org/draft/2020-12/schema",
168
- "description": "Background image opacity from 0 to 1, where 0 is transparent and 1 is fully opaque",
169
- "title": "Text background image opacity schema",
170
168
  "type": "number",
171
169
  "minimum": 0,
172
- "maximum": 100
170
+ "maximum": 100,
171
+ "description": "Background image opacity from 0 to 1, where 0 is transparent and 1 is fully opaque",
172
+ "title": "Text background image opacity schema"
173
173
  }
174
174
  ```
175
175
 
@@ -259,10 +259,10 @@ Set the border style to line or dashed.
259
259
  ```json
260
260
  {
261
261
  "$schema": "https://json-schema.org/draft/2020-12/schema",
262
- "description": "Border style. Dotted is not exposed because the text object currently renders dotted as dashed.",
263
- "title": "Text border style schema",
264
262
  "type": "string",
265
- "enum": ["line", "dashed"]
263
+ "enum": ["line", "dashed"],
264
+ "description": "Border style. Dotted is not exposed because the text object currently renders dotted as dashed.",
265
+ "title": "Text border style schema"
266
266
  }
267
267
  ```
268
268
 
@@ -319,12 +319,11 @@ Set text content and optionally choose whether it is rendered as plain text, HTM
319
319
  ```json
320
320
  {
321
321
  "$schema": "https://json-schema.org/draft/2020-12/schema",
322
- "title": "Text content schema",
323
322
  "type": "object",
324
323
  "properties": {
325
324
  "textContent": {
326
- "description": "Text content to display",
327
- "type": "string"
325
+ "type": "string",
326
+ "description": "Text content to display"
328
327
  },
329
328
  "representation": {
330
329
  "description": "How to render the text content: plain text, HTML, or Markdown",
@@ -333,7 +332,8 @@ Set text content and optionally choose whether it is rendered as plain text, HTM
333
332
  }
334
333
  },
335
334
  "required": ["textContent"],
336
- "additionalProperties": false
335
+ "additionalProperties": false,
336
+ "title": "Text content schema"
337
337
  }
338
338
  ```
339
339
 
@@ -348,7 +348,6 @@ Bind the displayed text to an existing workbook variable by its exact name and s
348
348
  ```json
349
349
  {
350
350
  "$schema": "https://json-schema.org/draft/2020-12/schema",
351
- "title": "Text content variable name schema",
352
351
  "anyOf": [
353
352
  {
354
353
  "type": "string",
@@ -357,7 +356,8 @@ Bind the displayed text to an existing workbook variable by its exact name and s
357
356
  {
358
357
  "type": "null"
359
358
  }
360
- ]
359
+ ],
360
+ "title": "Text content variable name schema"
361
361
  }
362
362
  ```
363
363
 
@@ -373,14 +373,7 @@ Set the text font family. Use null to return to the theme default.
373
373
  {
374
374
  "$schema": "https://json-schema.org/draft/2020-12/schema",
375
375
  "title": "Text font family schema",
376
- "anyOf": [
377
- {
378
- "type": "string"
379
- },
380
- {
381
- "type": "null"
382
- }
383
- ]
376
+ "type": ["string", "null"]
384
377
  }
385
378
  ```
386
379
 
@@ -413,7 +406,6 @@ Set text font style flags such as bold, italic, underline, strikethrough, and we
413
406
  ```json
414
407
  {
415
408
  "$schema": "https://json-schema.org/draft/2020-12/schema",
416
- "title": "Text font style schema",
417
409
  "type": "object",
418
410
  "properties": {
419
411
  "bold": {
@@ -432,7 +424,8 @@ Set text font style flags such as bold, italic, underline, strikethrough, and we
432
424
  "type": "boolean"
433
425
  }
434
426
  },
435
- "additionalProperties": false
427
+ "additionalProperties": false,
428
+ "title": "Text font style schema"
436
429
  }
437
430
  ```
438
431
 
@@ -447,8 +440,8 @@ Set the text font weight.
447
440
  ```json
448
441
  {
449
442
  "$schema": "https://json-schema.org/draft/2020-12/schema",
450
- "title": "Text font weight schema",
451
- "type": "number"
443
+ "type": "number",
444
+ "title": "Text font weight schema"
452
445
  }
453
446
  ```
454
447
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `slider` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.6.4`.
5
+ Reference for `@astrato-io/visualizations@0.6.5`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -29,16 +29,16 @@ Add the numeric or date field controlled by the slider
29
29
  ```json
30
30
  {
31
31
  "$schema": "https://json-schema.org/draft/2020-12/schema",
32
- "title": "Add slider dimension schema",
33
32
  "type": "object",
34
33
  "properties": {
35
34
  "key": {
36
- "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\"",
37
- "type": "string"
35
+ "type": "string",
36
+ "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\""
38
37
  }
39
38
  },
40
39
  "required": ["key"],
41
- "additionalProperties": false
40
+ "additionalProperties": false,
41
+ "title": "Add slider dimension schema"
42
42
  }
43
43
  ```
44
44
 
@@ -53,16 +53,15 @@ Configure a Defined parameter of a custom measure using its default, a static va
53
53
  ```json
54
54
  {
55
55
  "$schema": "https://json-schema.org/draft/2020-12/schema",
56
- "title": "Set measure defined parameter schema",
57
56
  "type": "object",
58
57
  "properties": {
59
58
  "dataItemInternalKey": {
60
- "description": "Internal key of the data item of the measure to be updated",
61
- "type": "string"
59
+ "type": "string",
60
+ "description": "Internal key of the data item of the measure to be updated"
62
61
  },
63
62
  "dataItemUniqueSignature": {
64
- "description": "Unique signature of the data item of the measure to be updated",
65
- "type": "string"
63
+ "type": "string",
64
+ "description": "Unique signature of the data item of the measure to be updated"
66
65
  },
67
66
  "collectionKey": {
68
67
  "description": "Measure collection to update. Defaults to primary measures.",
@@ -70,13 +69,12 @@ Configure a Defined parameter of a custom measure using its default, a static va
70
69
  "enum": ["measures", "supportingMeasures"]
71
70
  },
72
71
  "parameterName": {
73
- "description": "Exact name of a Defined parameter exposed by the measure",
74
72
  "type": "string",
75
- "minLength": 1
73
+ "minLength": 1,
74
+ "description": "Exact name of a Defined parameter exposed by the measure"
76
75
  },
77
76
  "value": {
78
- "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable",
79
- "anyOf": [
77
+ "oneOf": [
80
78
  {
81
79
  "type": "object",
82
80
  "properties": {
@@ -96,17 +94,7 @@ Configure a Defined parameter of a custom measure using its default, a static va
96
94
  "const": "static"
97
95
  },
98
96
  "value": {
99
- "anyOf": [
100
- {
101
- "type": "string"
102
- },
103
- {
104
- "type": "number"
105
- },
106
- {
107
- "type": "boolean"
108
- }
109
- ]
97
+ "type": ["string", "number", "boolean"]
110
98
  }
111
99
  },
112
100
  "required": ["type", "value"],
@@ -120,19 +108,21 @@ Configure a Defined parameter of a custom measure using its default, a static va
120
108
  "const": "variable"
121
109
  },
122
110
  "variableName": {
123
- "description": "Exact name of an existing compatible workbook variable",
124
111
  "type": "string",
125
- "minLength": 1
112
+ "minLength": 1,
113
+ "description": "Exact name of an existing compatible workbook variable"
126
114
  }
127
115
  },
128
116
  "required": ["type", "variableName"],
129
117
  "additionalProperties": false
130
118
  }
131
- ]
119
+ ],
120
+ "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable"
132
121
  }
133
122
  },
134
123
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
135
- "additionalProperties": false
124
+ "additionalProperties": false,
125
+ "title": "Set measure defined parameter schema"
136
126
  }
137
127
  ```
138
128
 
@@ -147,9 +137,9 @@ Set the slider layout mode
147
137
  ```json
148
138
  {
149
139
  "$schema": "https://json-schema.org/draft/2020-12/schema",
150
- "title": "Slider layout schema",
151
140
  "type": "string",
152
- "enum": ["auto", "single", "multi"]
141
+ "enum": ["auto", "single", "multi"],
142
+ "title": "Slider layout schema"
153
143
  }
154
144
  ```
155
145
 
@@ -164,8 +154,8 @@ Use explicit minimum and maximum slider values instead of data-derived bounds
164
154
  ```json
165
155
  {
166
156
  "$schema": "https://json-schema.org/draft/2020-12/schema",
167
- "title": "Slider manual range schema",
168
- "type": "boolean"
157
+ "type": "boolean",
158
+ "title": "Slider manual range schema"
169
159
  }
170
160
  ```
171
161
 
@@ -180,8 +170,8 @@ Apply slider selections immediately
180
170
  ```json
181
171
  {
182
172
  "$schema": "https://json-schema.org/draft/2020-12/schema",
183
- "title": "Slider quick select schema",
184
- "type": "boolean"
173
+ "type": "boolean",
174
+ "title": "Slider quick select schema"
185
175
  }
186
176
  ```
187
177
 
@@ -196,20 +186,20 @@ Set the minimum and maximum slider values
196
186
  ```json
197
187
  {
198
188
  "$schema": "https://json-schema.org/draft/2020-12/schema",
199
- "title": "Slider range schema",
200
189
  "type": "object",
201
190
  "properties": {
202
191
  "min": {
203
- "description": "Minimum value of the slider range",
204
- "type": "number"
192
+ "type": "number",
193
+ "description": "Minimum value of the slider range"
205
194
  },
206
195
  "max": {
207
- "description": "Maximum value of the slider range",
208
- "type": "number"
196
+ "type": "number",
197
+ "description": "Maximum value of the slider range"
209
198
  }
210
199
  },
211
200
  "required": ["min", "max"],
212
- "additionalProperties": false
201
+ "additionalProperties": false,
202
+ "title": "Slider range schema"
213
203
  }
214
204
  ```
215
205
 
@@ -224,7 +214,7 @@ Set the interval between slider values
224
214
  ```json
225
215
  {
226
216
  "$schema": "https://json-schema.org/draft/2020-12/schema",
227
- "title": "Slider step schema",
228
- "type": "number"
217
+ "type": "number",
218
+ "title": "Slider step schema"
229
219
  }
230
220
  ```