@astrato-io/visualizations 0.0.0-stage → 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 (139) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/LICENSE +93 -0
  3. package/README.md +843 -2
  4. package/THIRD_PARTY_NOTICES.md +8477 -0
  5. package/VISUALIZATION_DEFINITIONS.md +2378 -0
  6. package/chunks/ClickAwayListener-BbeNMAvj.js +52 -0
  7. package/chunks/LinearProgress-B1FeWaen.js +253 -0
  8. package/chunks/accessors-DemrDevR.js +128 -0
  9. package/chunks/app-filter-bar.compiler-BGJ7HAbr.js +64 -0
  10. package/chunks/bar.compiler-CT0ZbQKc.js +374 -0
  11. package/chunks/builder-B6dWSIdD.js +12289 -0
  12. package/chunks/color-settings-ZIvgNTq1.js +10 -0
  13. package/chunks/coloring-B1XAfg6b.js +664 -0
  14. package/chunks/debounce-fn-CUixuz45.js +7 -0
  15. package/chunks/definitions-D3OVqmXl.js +2102 -0
  16. package/chunks/escobar-eDjtGpkC.js +34606 -0
  17. package/chunks/events-WZut5Ow6.js +4 -0
  18. package/chunks/extend-BKUkc4_i.js +37 -0
  19. package/chunks/filter.compiler-DBsyRBJt.js +70 -0
  20. package/chunks/filtering-tqjAyJH5.js +1072 -0
  21. package/chunks/grouping-type-On4s9Thj.js +3 -0
  22. package/chunks/handlers-VTBfIZYZ.js +13072 -0
  23. package/chunks/isEqual-BDxAhUo8.js +7514 -0
  24. package/chunks/line.compiler-CzdM5Ld0.js +198 -0
  25. package/chunks/metadata-BGElBy5Z.js +28 -0
  26. package/chunks/number.compiler-G-R7y16P.js +53 -0
  27. package/chunks/operations-CTNUX6Sy.js +26249 -0
  28. package/chunks/range-CiwTbMig.js +22 -0
  29. package/chunks/registry-CsQQzukD.js +920 -0
  30. package/chunks/requirements-DYjZCFyf.js +6 -0
  31. package/chunks/rolldown-runtime-DleVn1XH.js +28 -0
  32. package/chunks/set-coloring-datafield-B3uIS1Pe.js +8 -0
  33. package/chunks/shared-CBvcC5YV.js +1218 -0
  34. package/chunks/src-BOS6SqkZ.js +67 -0
  35. package/chunks/src-D9XogOrc.js +422 -0
  36. package/chunks/standalone-0M4HlmDW2.js +3944 -0
  37. package/chunks/standalone-0ashe9w1.js +411 -0
  38. package/chunks/standalone-B7jax8wa.js +339 -0
  39. package/chunks/standalone-BK0VYU-l.js +463 -0
  40. package/chunks/standalone-BMIbT1b2.js +4619 -0
  41. package/chunks/standalone-BZV5vOwA.js +6 -0
  42. package/chunks/standalone-BhDrWj4p.js +1980 -0
  43. package/chunks/standalone-BtSHCp2U2.js +673 -0
  44. package/chunks/standalone-BvaKdky9.js +344 -0
  45. package/chunks/standalone-BwtM31-f.js +2 -0
  46. package/chunks/standalone-C3gg736V.js +1129 -0
  47. package/chunks/standalone-CC1VUjO32.js +299 -0
  48. package/chunks/standalone-C_rYnZ0N.js +741 -0
  49. package/chunks/standalone-CoLrAxRV.js +13198 -0
  50. package/chunks/standalone-DC-aUgXC.js +3855 -0
  51. package/chunks/standalone-DCtRoTWg.js +675 -0
  52. package/chunks/standalone-DUDFTBqL.js +833 -0
  53. package/chunks/standalone-DhZkX9Td.js +2 -0
  54. package/chunks/standalone-DtLElfuM.js +512 -0
  55. package/chunks/standalone-G9Q4Uczu.js +726 -0
  56. package/chunks/standalone-JuLF-OoH.js +1762 -0
  57. package/chunks/standalone-_DeX21JJ.js +383 -0
  58. package/chunks/standalone-gFhKZh8m.js +179 -0
  59. package/chunks/standalone-tDNy-SFH.js +281 -0
  60. package/chunks/standalone-v1oxfU20.js +68 -0
  61. package/chunks/standalone-vzBY6q0I2.js +140 -0
  62. package/chunks/stroke-dash-UgMEcCS4.js +6 -0
  63. package/chunks/table.compiler-tb914oj3.js +222 -0
  64. package/chunks/typeof-CJDtcySz.js +13 -0
  65. package/chunks/ui-DQWtv2iM.js +63551 -0
  66. package/chunks/url-utils-B17gj_mr.js +5501 -0
  67. package/chunks/useFieldName-BvdcoJRl.js +7 -0
  68. package/chunks/utils-Bg7K-t6K.js +32379 -0
  69. package/chunks/view-Bn83C8d9.js +12466 -0
  70. package/definitions.js +3 -0
  71. package/docs/operations/astrato-app-filter-bar.md +161 -0
  72. package/docs/operations/bar.md +6968 -0
  73. package/docs/operations/combo.md +5804 -0
  74. package/docs/operations/date-picker.md +644 -0
  75. package/docs/operations/distribution-gauge.md +3082 -0
  76. package/docs/operations/dot.md +5570 -0
  77. package/docs/operations/filter.md +1483 -0
  78. package/docs/operations/gauge.md +3316 -0
  79. package/docs/operations/heatMap.md +5944 -0
  80. package/docs/operations/histogram.md +1856 -0
  81. package/docs/operations/iframe.md +56 -0
  82. package/docs/operations/image.md +177 -0
  83. package/docs/operations/index.md +46 -0
  84. package/docs/operations/line.md +6391 -0
  85. package/docs/operations/number.md +3903 -0
  86. package/docs/operations/pie.md +5956 -0
  87. package/docs/operations/radar.md +4566 -0
  88. package/docs/operations/sankey.md +3088 -0
  89. package/docs/operations/scatter.md +5969 -0
  90. package/docs/operations/shape.md +315 -0
  91. package/docs/operations/simpleTextObject.md +699 -0
  92. package/docs/operations/slider.md +220 -0
  93. package/docs/operations/table.md +8800 -0
  94. package/docs/operations/tree.md +2867 -0
  95. package/docs/operations/treemap.md +3527 -0
  96. package/docs/operations/waterfall.md +2928 -0
  97. package/docs/operations/word-cloud.md +3000 -0
  98. package/getters.js +18 -0
  99. package/index.js +1183 -0
  100. package/metadata.js +20 -0
  101. package/operations.js +64 -0
  102. package/package.json +185 -4
  103. package/src/definitions/index.d.ts +2 -0
  104. package/src/definitions/model/definitions/available-fields.d.ts +35 -0
  105. package/src/definitions/model/definitions/compilers/compile.d.ts +7 -0
  106. package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
  107. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1341 -0
  108. package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
  109. package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
  110. package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
  111. package/src/definitions/model/definitions/index.d.ts +23 -0
  112. package/src/definitions/model/definitions/registry/compile.d.ts +2 -0
  113. package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
  114. package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
  115. package/src/definitions/model/definitions/schemas/app-filter-bar.schema.d.ts +22 -0
  116. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +73 -0
  117. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +68 -0
  118. package/src/definitions/model/definitions/schemas/common.schema.d.ts +303 -0
  119. package/src/definitions/model/definitions/schemas/filter.schema.d.ts +22 -0
  120. package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
  121. package/src/definitions/model/definitions/schemas/line.schema.d.ts +72 -0
  122. package/src/definitions/model/definitions/schemas/number.schema.d.ts +21 -0
  123. package/src/definitions/model/definitions/schemas/object.schema.d.ts +215 -0
  124. package/src/definitions/model/definitions/schemas/table.schema.d.ts +458 -0
  125. package/src/definitions/model/definitions/types/compilation.types.d.ts +36 -0
  126. package/src/definitions/model/definitions/types/definition.types.d.ts +2 -0
  127. package/src/definitions/model/definitions/types/descriptor.types.d.ts +39 -0
  128. package/src/definitions/model/definitions/types/index.d.ts +3 -0
  129. package/src/definitions/model/definitions/validation.d.ts +3 -0
  130. package/src/getters/index.d.ts +30 -0
  131. package/src/index.d.ts +4 -0
  132. package/src/metadata/index.d.ts +4 -0
  133. package/src/operations/index.d.ts +30 -0
  134. package/src/registry/index.d.ts +6 -0
  135. package/src/runtime/index.d.ts +2 -0
  136. package/src/types.d.ts +307 -0
  137. package/src/visualization-catalog.d.ts +82 -0
  138. package/src/web-components/index.d.ts +12 -0
  139. package/styles.css +2 -0
@@ -0,0 +1,220 @@
1
+ <!-- Generated from operation manifests. Do not edit this file manually. -->
2
+
3
+ # `slider` operations
4
+
5
+ Reference for `@astrato-io/visualizations@0.6.5`.
6
+
7
+ [All visualization types](./index.md)
8
+
9
+ Use each schema below for the request’s `payload`, not for the whole operation request. Names and payloads are specific to this visualization type. An operation can still require particular fields or chart state; see its description.
10
+
11
+ ## Available operations
12
+
13
+ - [`addSliderDimension`](#addsliderdimension)
14
+ - [`setMeasureDefinedParameter`](#setmeasuredefinedparameter)
15
+ - [`setSliderLayout`](#setsliderlayout)
16
+ - [`setSliderManualRangeEnabled`](#setslidermanualrangeenabled)
17
+ - [`setSliderQuickSelect`](#setsliderquickselect)
18
+ - [`setSliderRange`](#setsliderrange)
19
+ - [`setSliderStep`](#setsliderstep)
20
+
21
+ ## `addSliderDimension`
22
+
23
+ Slider field
24
+
25
+ Add the numeric or date field controlled by the slider
26
+
27
+ **Payload schema**
28
+
29
+ ```json
30
+ {
31
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
32
+ "type": "object",
33
+ "properties": {
34
+ "key": {
35
+ "type": "string",
36
+ "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\""
37
+ }
38
+ },
39
+ "required": ["key"],
40
+ "additionalProperties": false,
41
+ "title": "Add slider dimension schema"
42
+ }
43
+ ```
44
+
45
+ ## `setMeasureDefinedParameter`
46
+
47
+ Measure defined parameter
48
+
49
+ Configure a Defined parameter of a custom measure using its default, a static value, or an existing compatible workbook variable
50
+
51
+ **Payload schema**
52
+
53
+ ```json
54
+ {
55
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
56
+ "type": "object",
57
+ "properties": {
58
+ "dataItemInternalKey": {
59
+ "type": "string",
60
+ "description": "Internal key of the data item of the measure to be updated"
61
+ },
62
+ "dataItemUniqueSignature": {
63
+ "type": "string",
64
+ "description": "Unique signature of the data item of the measure to be updated"
65
+ },
66
+ "collectionKey": {
67
+ "description": "Measure collection to update. Defaults to primary measures.",
68
+ "type": "string",
69
+ "enum": ["measures", "supportingMeasures"]
70
+ },
71
+ "parameterName": {
72
+ "type": "string",
73
+ "minLength": 1,
74
+ "description": "Exact name of a Defined parameter exposed by the measure"
75
+ },
76
+ "value": {
77
+ "oneOf": [
78
+ {
79
+ "type": "object",
80
+ "properties": {
81
+ "type": {
82
+ "type": "string",
83
+ "const": "default"
84
+ }
85
+ },
86
+ "required": ["type"],
87
+ "additionalProperties": false
88
+ },
89
+ {
90
+ "type": "object",
91
+ "properties": {
92
+ "type": {
93
+ "type": "string",
94
+ "const": "static"
95
+ },
96
+ "value": {
97
+ "type": ["string", "number", "boolean"]
98
+ }
99
+ },
100
+ "required": ["type", "value"],
101
+ "additionalProperties": false
102
+ },
103
+ {
104
+ "type": "object",
105
+ "properties": {
106
+ "type": {
107
+ "type": "string",
108
+ "const": "variable"
109
+ },
110
+ "variableName": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "description": "Exact name of an existing compatible workbook variable"
114
+ }
115
+ },
116
+ "required": ["type", "variableName"],
117
+ "additionalProperties": false
118
+ }
119
+ ],
120
+ "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable"
121
+ }
122
+ },
123
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
124
+ "additionalProperties": false,
125
+ "title": "Set measure defined parameter schema"
126
+ }
127
+ ```
128
+
129
+ ## `setSliderLayout`
130
+
131
+ Layout
132
+
133
+ Set the slider layout mode
134
+
135
+ **Payload schema**
136
+
137
+ ```json
138
+ {
139
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
140
+ "type": "string",
141
+ "enum": ["auto", "single", "multi"],
142
+ "title": "Slider layout schema"
143
+ }
144
+ ```
145
+
146
+ ## `setSliderManualRangeEnabled`
147
+
148
+ Manual range
149
+
150
+ Use explicit minimum and maximum slider values instead of data-derived bounds
151
+
152
+ **Payload schema**
153
+
154
+ ```json
155
+ {
156
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
157
+ "type": "boolean",
158
+ "title": "Slider manual range schema"
159
+ }
160
+ ```
161
+
162
+ ## `setSliderQuickSelect`
163
+
164
+ Quick select
165
+
166
+ Apply slider selections immediately
167
+
168
+ **Payload schema**
169
+
170
+ ```json
171
+ {
172
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
173
+ "type": "boolean",
174
+ "title": "Slider quick select schema"
175
+ }
176
+ ```
177
+
178
+ ## `setSliderRange`
179
+
180
+ Range
181
+
182
+ Set the minimum and maximum slider values
183
+
184
+ **Payload schema**
185
+
186
+ ```json
187
+ {
188
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
189
+ "type": "object",
190
+ "properties": {
191
+ "min": {
192
+ "type": "number",
193
+ "description": "Minimum value of the slider range"
194
+ },
195
+ "max": {
196
+ "type": "number",
197
+ "description": "Maximum value of the slider range"
198
+ }
199
+ },
200
+ "required": ["min", "max"],
201
+ "additionalProperties": false,
202
+ "title": "Slider range schema"
203
+ }
204
+ ```
205
+
206
+ ## `setSliderStep`
207
+
208
+ Step
209
+
210
+ Set the interval between slider values
211
+
212
+ **Payload schema**
213
+
214
+ ```json
215
+ {
216
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
217
+ "type": "number",
218
+ "title": "Slider step schema"
219
+ }
220
+ ```