@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
@@ -1,587 +0,0 @@
1
- import type { SerializableVisualizationDefinitionDescriptor, VisualizationDefinitionDescriptor } from '../types';
2
- declare const descriptors: readonly [VisualizationDefinitionDescriptor<{
3
- type: "astrato-app-filter-bar";
4
- version: 1;
5
- settings?: {
6
- orientation?: "horizontal" | "vertical" | undefined;
7
- selectionMode?: "auto" | "inherit" | "manual" | undefined;
8
- enableAddingNewFilters?: boolean | undefined;
9
- enableAssociativeFilter?: boolean | undefined;
10
- showClearAll?: boolean | undefined;
11
- showChartBreakdown?: boolean | undefined;
12
- selectableFieldKeys?: string[] | undefined;
13
- } | undefined;
14
- }>, VisualizationDefinitionDescriptor<{
15
- data: {
16
- dimensions: {
17
- fieldKey: string;
18
- ref: string;
19
- format?: {
20
- formatString?: string | undefined;
21
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
22
- } | undefined;
23
- showNullValues?: boolean | undefined;
24
- temporalGrouping?: {
25
- dateLevel: "day" | "week" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "year-end" | "quarter-end" | "month-end" | "week-end";
26
- mode: "level";
27
- } | {
28
- datePart: "day" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "dayofweekiso" | "dayofyear" | "weekiso" | "yearofweekiso";
29
- mode: "part";
30
- } | undefined;
31
- }[];
32
- measures: {
33
- fieldKey: string;
34
- ref: string;
35
- aggregation?: string | undefined;
36
- dataLabels?: {
37
- visible: boolean;
38
- placements?: ("inside" | "outside" | "opposite")[] | undefined;
39
- } | undefined;
40
- format?: {
41
- currency?: string | undefined;
42
- currencyIsPrefix?: boolean | undefined;
43
- formatString?: string | undefined;
44
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
45
- negativeType?: "symbol" | "parenthesis" | undefined;
46
- } | undefined;
47
- axis?: "primary" | "secondary" | undefined;
48
- }[];
49
- };
50
- type: "bar";
51
- version: 1;
52
- filterGroup?: import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup | undefined;
53
- limiting?: {
54
- queryLimit?: number | undefined;
55
- topN?: {
56
- by: string;
57
- count: number;
58
- direction: "asc" | "desc";
59
- showOthers?: boolean | undefined;
60
- } | undefined;
61
- } | undefined;
62
- presentation?: {
63
- axes?: {
64
- dimension?: {
65
- labelsVisible?: boolean | undefined;
66
- lineVisible?: boolean | undefined;
67
- ticksVisible?: boolean | undefined;
68
- title?: string | undefined;
69
- titleVisible?: boolean | undefined;
70
- } | undefined;
71
- primaryMeasure?: {
72
- labelsVisible?: boolean | undefined;
73
- lineVisible?: boolean | undefined;
74
- ticksVisible?: boolean | undefined;
75
- title?: string | undefined;
76
- titleVisible?: boolean | undefined;
77
- scale?: "linear" | "log" | undefined;
78
- bands?: {
79
- start: number;
80
- end: number;
81
- color?: string | undefined;
82
- label?: string | undefined;
83
- }[] | undefined;
84
- inverted?: boolean | undefined;
85
- range?: {
86
- max?: number | undefined;
87
- min?: number | undefined;
88
- } | {
89
- startsAtZero: boolean;
90
- } | undefined;
91
- } | undefined;
92
- secondaryMeasure?: {
93
- labelsVisible?: boolean | undefined;
94
- lineVisible?: boolean | undefined;
95
- ticksVisible?: boolean | undefined;
96
- title?: string | undefined;
97
- titleVisible?: boolean | undefined;
98
- scale?: "linear" | "log" | undefined;
99
- bands?: {
100
- start: number;
101
- end: number;
102
- color?: string | undefined;
103
- label?: string | undefined;
104
- }[] | undefined;
105
- inverted?: boolean | undefined;
106
- range?: {
107
- max?: number | undefined;
108
- min?: number | undefined;
109
- } | {
110
- startsAtZero: boolean;
111
- } | undefined;
112
- } | undefined;
113
- } | undefined;
114
- legend?: {
115
- position?: "top" | "bottom" | "left" | "right" | undefined;
116
- title?: string | undefined;
117
- visible?: boolean | undefined;
118
- } | undefined;
119
- orientation?: "horizontal" | "vertical" | undefined;
120
- coloring?: import("../schemas/common.schema").ColoringDefinition | undefined;
121
- } | undefined;
122
- sorting?: {
123
- by: string;
124
- direction: "asc" | "desc";
125
- enabled?: boolean | undefined;
126
- }[] | undefined;
127
- }>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"combo">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"dot">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"scatter">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"histogram">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"heatMap">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"radar">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"gauge">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"distribution-gauge">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"pie">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"tree">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"treemap">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"sankey">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"waterfall">>, VisualizationDefinitionDescriptor<import("@astrato-io/visualizations/definitions").BroadChartVisualizationDefinition<"word-cloud">>, VisualizationDefinitionDescriptor<{
128
- data: {
129
- field: {
130
- fieldKey: string;
131
- ref: string;
132
- };
133
- };
134
- type: "date-picker";
135
- version: 1;
136
- settings?: {
137
- responsive?: boolean | undefined;
138
- weekStart?: "0" | "1" | undefined;
139
- pickerState?: "expanded" | "collapsed" | undefined;
140
- pickerType?: "range" | "inputRange" | "inputSingle" | undefined;
141
- startDateLabel?: string | {
142
- type: "variable";
143
- variableName: string;
144
- } | null | undefined;
145
- endDateLabel?: string | {
146
- type: "variable";
147
- variableName: string;
148
- } | null | undefined;
149
- quickSelect?: boolean | undefined;
150
- timePickerVisibility?: "always" | "never" | "whenTimestampSelected" | undefined;
151
- } | undefined;
152
- }>, VisualizationDefinitionDescriptor<{
153
- settings: {
154
- url: string | null;
155
- };
156
- type: "iframe";
157
- version: 1;
158
- }>, VisualizationDefinitionDescriptor<{
159
- settings: {
160
- blur?: number | undefined;
161
- fit?: "none" | "fill" | "contain" | "cover" | undefined;
162
- opacity?: number | undefined;
163
- saturation?: number | undefined;
164
- shadow?: boolean | undefined;
165
- source?: {
166
- sourceKind: "url";
167
- imageUrl: string;
168
- } | {
169
- sourceKind: "mediaItem";
170
- mediaItemId: string;
171
- } | {
172
- sourceKind: "variable";
173
- variableName: string;
174
- } | {
175
- sourceKind: "none";
176
- } | undefined;
177
- };
178
- type: "image";
179
- version: 1;
180
- }>, VisualizationDefinitionDescriptor<{
181
- settings: {
182
- shape?: "line" | "circle" | "triangle" | "square" | "hexagon" | "arrow" | "rectangle" | "elbow" | undefined;
183
- backgroundColor?: {
184
- code: string;
185
- } | undefined;
186
- backgroundType?: "image" | "color" | undefined;
187
- borderRadius?: number | undefined;
188
- strokeColor?: {
189
- code: string;
190
- } | undefined;
191
- rotate?: number | undefined;
192
- borderEnabled?: boolean | undefined;
193
- imageFit?: "none" | "xMidYMid slice" | undefined;
194
- scale?: number | undefined;
195
- imageURL?: string | undefined;
196
- lineThickness?: number | undefined;
197
- preserveAspectRatio?: boolean | undefined;
198
- heightBasedSize?: boolean | undefined;
199
- };
200
- type: "shape";
201
- version: 1;
202
- }>, VisualizationDefinitionDescriptor<{
203
- settings: {
204
- align?: "left" | "right" | "justify" | "center" | undefined;
205
- content?: string | undefined;
206
- fontFamily?: string | null | undefined;
207
- fontSize?: number | undefined;
208
- position?: "top" | "bottom" | "middle" | "auto" | undefined;
209
- representation?: "html" | "text" | "markdown" | undefined;
210
- responsive?: boolean | undefined;
211
- textColor?: string | null | undefined;
212
- wordWrap?: boolean | undefined;
213
- };
214
- type: "simpleTextObject";
215
- version: 1;
216
- }>, VisualizationDefinitionDescriptor<{
217
- settings: {
218
- customLabel?: {
219
- enabled: boolean;
220
- text?: string | null | undefined;
221
- } | undefined;
222
- hideLabel?: boolean | undefined;
223
- inputType?: "slider" | "date" | "checkbox" | "dropdown" | "numeric" | "text" | "textArea" | "toggle" | "range-slider" | undefined;
224
- placeholder?: string | null | undefined;
225
- responsive?: boolean | undefined;
226
- variableId?: string | null | undefined;
227
- };
228
- type: "atomic-input";
229
- version: 1;
230
- }>, VisualizationDefinitionDescriptor<{
231
- data: {
232
- field: {
233
- fieldKey: string;
234
- ref: string;
235
- };
236
- };
237
- type: "slider";
238
- version: 1;
239
- settings?: {
240
- layout?: "auto" | "single" | "multi" | undefined;
241
- range?: {
242
- min: number;
243
- max: number;
244
- } | undefined;
245
- step?: number | undefined;
246
- quickSelect?: boolean | undefined;
247
- } | undefined;
248
- }>, VisualizationDefinitionDescriptor<{
249
- data: {
250
- dimensions: {
251
- fieldKey: string;
252
- ref: string;
253
- format?: {
254
- formatString?: string | undefined;
255
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
256
- } | undefined;
257
- showNullValues?: boolean | undefined;
258
- temporalGrouping?: {
259
- dateLevel: "day" | "week" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "year-end" | "quarter-end" | "month-end" | "week-end";
260
- mode: "level";
261
- } | {
262
- datePart: "day" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "dayofweekiso" | "dayofyear" | "weekiso" | "yearofweekiso";
263
- mode: "part";
264
- } | undefined;
265
- }[];
266
- measures: {
267
- fieldKey: string;
268
- ref: string;
269
- dataPointShape: "bar" | "circle" | "triangle" | "square" | "star" | "cross" | "diamond" | "n-polygon" | "rectangle" | "saltire" | "vertical-bar" | null | undefined;
270
- aggregation?: string | undefined;
271
- format?: {
272
- currency?: string | undefined;
273
- currencyIsPrefix?: boolean | undefined;
274
- formatString?: string | undefined;
275
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
276
- negativeType?: "symbol" | "parenthesis" | undefined;
277
- } | undefined;
278
- axis?: "primary" | "secondary" | undefined;
279
- }[];
280
- };
281
- type: "line";
282
- version: 1;
283
- filterGroup?: import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup | undefined;
284
- limiting?: {
285
- queryLimit?: number | undefined;
286
- } | undefined;
287
- presentation?: {
288
- axes?: {
289
- dimension?: {
290
- labelsVisible?: boolean | undefined;
291
- lineVisible?: boolean | undefined;
292
- ticksVisible?: boolean | undefined;
293
- title?: string | undefined;
294
- titleVisible?: boolean | undefined;
295
- } | undefined;
296
- primaryMeasure?: {
297
- labelsVisible?: boolean | undefined;
298
- lineVisible?: boolean | undefined;
299
- ticksVisible?: boolean | undefined;
300
- title?: string | undefined;
301
- titleVisible?: boolean | undefined;
302
- scale?: "linear" | "log" | undefined;
303
- bands?: {
304
- start: number;
305
- end: number;
306
- color?: string | undefined;
307
- label?: string | undefined;
308
- }[] | undefined;
309
- inverted?: boolean | undefined;
310
- range?: {
311
- max?: number | undefined;
312
- min?: number | undefined;
313
- } | {
314
- startsAtZero: boolean;
315
- } | undefined;
316
- } | undefined;
317
- secondaryMeasure?: {
318
- labelsVisible?: boolean | undefined;
319
- lineVisible?: boolean | undefined;
320
- ticksVisible?: boolean | undefined;
321
- title?: string | undefined;
322
- titleVisible?: boolean | undefined;
323
- scale?: "linear" | "log" | undefined;
324
- bands?: {
325
- start: number;
326
- end: number;
327
- color?: string | undefined;
328
- label?: string | undefined;
329
- }[] | undefined;
330
- inverted?: boolean | undefined;
331
- range?: {
332
- max?: number | undefined;
333
- min?: number | undefined;
334
- } | {
335
- startsAtZero: boolean;
336
- } | undefined;
337
- } | undefined;
338
- } | undefined;
339
- legend?: {
340
- position?: "top" | "bottom" | "left" | "right" | undefined;
341
- title?: string | undefined;
342
- visible?: boolean | undefined;
343
- } | undefined;
344
- orientation?: "horizontal" | "vertical" | undefined;
345
- coloring?: import("../schemas/common.schema").ColoringDefinition | undefined;
346
- dataLabels?: {
347
- visible: boolean;
348
- density?: "low" | "medium" | "high" | undefined;
349
- } | undefined;
350
- } | undefined;
351
- sorting?: {
352
- by: string;
353
- direction: "asc" | "desc";
354
- enabled?: boolean | undefined;
355
- }[] | undefined;
356
- }>, VisualizationDefinitionDescriptor<{
357
- data: {
358
- columns: ({
359
- fieldKey: string;
360
- ref: string;
361
- role: "dimension";
362
- format?: {
363
- formatString?: string | undefined;
364
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
365
- } | undefined;
366
- showNullValues?: boolean | undefined;
367
- temporalGrouping?: {
368
- dateLevel: "day" | "week" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "year-end" | "quarter-end" | "month-end" | "week-end";
369
- mode: "level";
370
- } | {
371
- datePart: "day" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "dayofweekiso" | "dayofyear" | "weekiso" | "yearofweekiso";
372
- mode: "part";
373
- } | undefined;
374
- } | {
375
- fieldKey: string;
376
- ref: string;
377
- role: "measure";
378
- aggregation?: string | undefined;
379
- format?: {
380
- currency?: string | undefined;
381
- currencyIsPrefix?: boolean | undefined;
382
- formatString?: string | undefined;
383
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
384
- negativeType?: "symbol" | "parenthesis" | undefined;
385
- } | undefined;
386
- })[];
387
- structure?: "normal" | undefined;
388
- } | {
389
- dimensions: {
390
- fieldKey: string;
391
- ref: string;
392
- format?: {
393
- formatString?: string | undefined;
394
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
395
- } | undefined;
396
- showNullValues?: boolean | undefined;
397
- temporalGrouping?: {
398
- dateLevel: "day" | "week" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "year-end" | "quarter-end" | "month-end" | "week-end";
399
- mode: "level";
400
- } | {
401
- datePart: "day" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "dayofweekiso" | "dayofyear" | "weekiso" | "yearofweekiso";
402
- mode: "part";
403
- } | undefined;
404
- }[];
405
- measures: {
406
- fieldKey: string;
407
- ref: string;
408
- aggregation?: string | undefined;
409
- format?: {
410
- currency?: string | undefined;
411
- currencyIsPrefix?: boolean | undefined;
412
- formatString?: string | undefined;
413
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
414
- negativeType?: "symbol" | "parenthesis" | undefined;
415
- } | undefined;
416
- }[];
417
- structure: "expandable";
418
- } | {
419
- columnDimensions: {
420
- fieldKey: string;
421
- ref: string;
422
- format?: {
423
- formatString?: string | undefined;
424
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
425
- } | undefined;
426
- showNullValues?: boolean | undefined;
427
- temporalGrouping?: {
428
- dateLevel: "day" | "week" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "year-end" | "quarter-end" | "month-end" | "week-end";
429
- mode: "level";
430
- } | {
431
- datePart: "day" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "dayofweekiso" | "dayofyear" | "weekiso" | "yearofweekiso";
432
- mode: "part";
433
- } | undefined;
434
- }[];
435
- measures: {
436
- fieldKey: string;
437
- ref: string;
438
- aggregation?: string | undefined;
439
- format?: {
440
- currency?: string | undefined;
441
- currencyIsPrefix?: boolean | undefined;
442
- formatString?: string | undefined;
443
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
444
- negativeType?: "symbol" | "parenthesis" | undefined;
445
- } | undefined;
446
- }[];
447
- rowDimensions: {
448
- fieldKey: string;
449
- ref: string;
450
- format?: {
451
- formatString?: string | undefined;
452
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
453
- } | undefined;
454
- showNullValues?: boolean | undefined;
455
- temporalGrouping?: {
456
- dateLevel: "day" | "week" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "year-end" | "quarter-end" | "month-end" | "week-end";
457
- mode: "level";
458
- } | {
459
- datePart: "day" | "month" | "year" | "second" | "quarter" | "hour" | "minute" | "dayofweekiso" | "dayofyear" | "weekiso" | "yearofweekiso";
460
- mode: "part";
461
- } | undefined;
462
- }[];
463
- structure: "pivot";
464
- };
465
- type: "table";
466
- version: 1;
467
- filterGroup?: import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup | undefined;
468
- limiting?: {
469
- queryLimit?: number | undefined;
470
- } | undefined;
471
- presentation?: {
472
- background?: {
473
- type: "none" | "single" | "zebra";
474
- color?: string | undefined;
475
- evenColor?: string | undefined;
476
- oddColor?: string | undefined;
477
- } | undefined;
478
- body?: {
479
- fontColor?: string | undefined;
480
- fontFamily?: string | undefined;
481
- fontSize?: number | undefined;
482
- fontStyle?: {
483
- weight?: number | null | undefined;
484
- bold?: boolean | undefined;
485
- italic?: boolean | undefined;
486
- underline?: boolean | undefined;
487
- strikethrough?: boolean | undefined;
488
- } | undefined;
489
- horizontalAlign?: "auto" | "left" | "right" | "center" | undefined;
490
- verticalAlign?: "top" | "bottom" | "middle" | "auto" | undefined;
491
- } | undefined;
492
- borders?: {
493
- enabled: boolean;
494
- color?: string | undefined;
495
- dividerColor?: string | undefined;
496
- dividers?: "auto" | "none" | "all" | "horizontal" | "vertical" | undefined;
497
- lineStyle?: "line" | "dashed" | "dotted" | undefined;
498
- radius?: number | undefined;
499
- strokeWidth?: number | undefined;
500
- } | undefined;
501
- header?: {
502
- backgroundColor?: string | undefined;
503
- borderColor?: string | undefined;
504
- fontColor?: string | undefined;
505
- fontFamily?: string | undefined;
506
- fontSize?: number | undefined;
507
- fontStyle?: {
508
- weight?: number | null | undefined;
509
- bold?: boolean | undefined;
510
- italic?: boolean | undefined;
511
- underline?: boolean | undefined;
512
- strikethrough?: boolean | undefined;
513
- } | undefined;
514
- responsiveHeight?: boolean | undefined;
515
- } | undefined;
516
- highlight?: {
517
- mode: "column" | "row" | "none" | "row-and-column";
518
- backgroundColor?: string | undefined;
519
- textColor?: string | undefined;
520
- } | undefined;
521
- layout?: {
522
- columnWidthBehavior?: "responsive" | "static" | undefined;
523
- rowHeight?: number | undefined;
524
- } | undefined;
525
- } | undefined;
526
- sorting?: {
527
- by: string;
528
- direction: "asc" | "desc";
529
- enabled?: boolean | undefined;
530
- }[] | undefined;
531
- totals?: {
532
- applyTo?: "columns" | "both" | "rows" | undefined;
533
- enabled?: boolean | undefined;
534
- showRecordsCount?: boolean | undefined;
535
- style?: {
536
- backgroundColor?: string | null | undefined;
537
- fontColor?: string | null | undefined;
538
- fontStyle?: {
539
- weight?: number | null | undefined;
540
- bold?: boolean | undefined;
541
- italic?: boolean | undefined;
542
- underline?: boolean | undefined;
543
- strikethrough?: boolean | undefined;
544
- } | undefined;
545
- position?: "top" | "bottom" | undefined;
546
- responsiveHeight?: boolean | undefined;
547
- } | undefined;
548
- } | undefined;
549
- }>, VisualizationDefinitionDescriptor<{
550
- data: {
551
- measure: {
552
- fieldKey: string;
553
- ref: string;
554
- aggregation?: string | undefined;
555
- format?: {
556
- currency?: string | undefined;
557
- currencyIsPrefix?: boolean | undefined;
558
- formatString?: string | undefined;
559
- formatType?: "custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime" | undefined;
560
- negativeType?: "symbol" | "parenthesis" | undefined;
561
- } | undefined;
562
- };
563
- };
564
- type: "number";
565
- version: 1;
566
- filterGroup?: import("@astrato-io/visualizations/definitions").VisualizationStaticFilterGroup | undefined;
567
- }>, VisualizationDefinitionDescriptor<{
568
- data: {
569
- field: {
570
- fieldKey: string;
571
- ref: string;
572
- };
573
- };
574
- type: "filter";
575
- version: 1;
576
- presentation?: {
577
- mode?: "dropdown" | "listbox" | undefined;
578
- quickSelect?: boolean | undefined;
579
- responsive?: boolean | undefined;
580
- searchable?: boolean | undefined;
581
- showProgressBar?: boolean | undefined;
582
- } | undefined;
583
- }>];
584
- export declare const getVisualizationDefinitionDescriptor: (type: string, version?: number) => VisualizationDefinitionDescriptor | undefined;
585
- export declare const listVisualizationDefinitionDescriptors: () => SerializableVisualizationDefinitionDescriptor[];
586
- export declare const getSupportedVisualizationDefinitionTypes: () => Array<(typeof descriptors)[number]["type"]>;
587
- export {};
@@ -1,3 +0,0 @@
1
- export { compileVisualizationDefinition } from './compile';
2
- export { getVisualizationDefinitionDescriptor, listVisualizationDefinitionDescriptors } from './descriptor-registry';
3
- export { validateVisualizationDefinition } from './validation';
@@ -1,9 +0,0 @@
1
- export { barVisualizationDefinitionSchema, type BarVisualizationDefinition } from './bar.schema';
2
- export * from './broad-chart.schema';
3
- export { dimensionDefinitionSchema, measureDefinitionSchema, temporalGroupingDefinitionSchema, valueFormattingSchema, visualizationAvailableFieldAggregationSchema, visualizationAvailableFieldSchema, visualizationStaticFilterGroupSchema, type TemporalGroupingDefinition, type VisualizationAvailableField, type VisualizationStaticFilterGroup, } from './common.schema';
4
- export { filterVisualizationDefinitionSchema, type FilterVisualizationDefinition } from './filter.schema';
5
- export { appFilterBarVisualizationDefinitionSchema, type AppFilterBarVisualizationDefinition, } from './app-filter-bar.schema';
6
- export { lineVisualizationDefinitionSchema, type LineVisualizationDefinition } from './line.schema';
7
- export { numberVisualizationDefinitionSchema, type NumberVisualizationDefinition } from './number.schema';
8
- export * from './object.schema';
9
- export { tableDataDefinitionSchema, tableVisualizationDefinitionSchema, type TableDataDefinition, type TablePresentationDefinition, type TableTotalsDefinition, type TableVisualizationDefinition, } from './table.schema';
@@ -1,3 +0,0 @@
1
- export * from './compilation.types';
2
- export * from './definition.types';
3
- export * from './descriptor.types';