@vizzly/dashboard 0.14.4 → 0.15.0-dev-4c548c2a9cdc29d779838ea3325029fe7e640235

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 (299) hide show
  1. package/dist/charts/src/BubbleChart/BubbleChart.d.ts +5 -0
  2. package/dist/charts/src/BubbleChart/VizzlyBubbleChart.d.ts +3 -0
  3. package/dist/charts/src/BubbleChart/index.d.ts +1 -0
  4. package/dist/charts/src/BubbleChart/types.d.ts +32 -0
  5. package/dist/charts/src/Legend/types.d.ts +1 -1
  6. package/dist/charts/src/XYChart/types.d.ts +2 -0
  7. package/dist/charts/src/v2/components/AreaChart/AreaChart.d.ts +22 -0
  8. package/dist/charts/src/v2/components/AreaChart/contants.d.ts +1 -0
  9. package/dist/charts/src/v2/components/AreaChart/index.d.ts +1 -0
  10. package/dist/charts/src/v2/components/Axis/AxisBottom.d.ts +18 -0
  11. package/dist/charts/src/v2/components/Axis/AxisLeft.d.ts +15 -0
  12. package/dist/charts/src/v2/components/Axis/shared.d.ts +2 -0
  13. package/dist/charts/src/v2/components/BarChart/BarChart.d.ts +24 -0
  14. package/dist/charts/src/v2/components/BarChart/index.d.ts +1 -0
  15. package/dist/charts/src/v2/components/BarChart/useBarXScale.d.ts +2 -0
  16. package/dist/charts/src/v2/components/BubbleChart/BubbleChart.d.ts +35 -0
  17. package/dist/charts/src/v2/components/BubbleChart/index.d.ts +1 -0
  18. package/dist/charts/src/v2/components/ChartWrapper/ChartWrapper.d.ts +9 -0
  19. package/dist/charts/src/v2/components/ComboChart/ComboChart.d.ts +21 -0
  20. package/dist/charts/src/v2/components/GoalLine/GoalLine.d.ts +1 -1
  21. package/dist/charts/src/v2/components/GoalLine/GoalLines.d.ts +11 -0
  22. package/dist/charts/src/v2/components/GridRows/GridRows.d.ts +10 -0
  23. package/dist/charts/src/v2/components/GridRows/shared.d.ts +2 -0
  24. package/dist/charts/src/v2/components/Legend/Legend.d.ts +14 -7
  25. package/dist/charts/src/v2/components/Legend/LegendItem/LegendItem.d.ts +7 -4
  26. package/dist/charts/src/v2/components/Legend/LegendItemBox/LegendItemBox.d.ts +9 -2
  27. package/dist/charts/src/v2/components/LineChart/LineChart.d.ts +16 -1
  28. package/dist/charts/src/v2/components/RadarChart/Grid.d.ts +3 -0
  29. package/dist/charts/src/v2/components/RadarChart/MiddleLine.d.ts +7 -0
  30. package/dist/charts/src/v2/components/RadarChart/Polygons.d.ts +3 -0
  31. package/dist/charts/src/v2/components/RadarChart/RadarChart.d.ts +3 -0
  32. package/dist/charts/src/v2/components/RadarChart/index.d.ts +1 -0
  33. package/dist/charts/src/v2/components/RadarChart/types.d.ts +33 -0
  34. package/dist/charts/src/v2/components/Threshold/ThresholdArea.d.ts +14 -0
  35. package/dist/charts/src/v2/components/Threshold/threshold.utils.d.ts +4 -0
  36. package/dist/charts/src/v2/components/Tooltip/CrosshairCircle.d.ts +21 -0
  37. package/dist/charts/src/v2/components/Tooltip/Line.d.ts +7 -0
  38. package/dist/charts/src/v2/components/Tooltip/Tooltip.d.ts +14 -8
  39. package/dist/charts/src/v2/components/WaterfallChart/Legend.d.ts +15 -0
  40. package/dist/charts/src/v2/components/WaterfallChart/Tooltip.d.ts +14 -0
  41. package/dist/charts/src/v2/components/WaterfallChart/WaterfallChart.d.ts +14 -0
  42. package/dist/charts/src/v2/components/WaterfallChart/index.d.ts +2 -0
  43. package/dist/charts/src/v2/components/hooks/useBottomAxisBaselineShift.d.ts +10 -0
  44. package/dist/charts/src/v2/components/hooks/useFlattenedData.d.ts +4 -0
  45. package/dist/charts/src/v2/components/hooks/useTooltip.d.ts +16 -0
  46. package/dist/charts/src/v2/components/hooks/useVisibleKey.d.ts +6 -0
  47. package/dist/charts/src/v2/components/hooks/useYScale.d.ts +2 -0
  48. package/dist/charts/src/v2/constants/BORDER_RADIUS.d.ts +1 -0
  49. package/dist/charts/src/v2/constants/PADDING.d.ts +4 -0
  50. package/dist/charts/src/v2/index.d.ts +4 -0
  51. package/dist/charts/src/v2/utils/addTrendAndForecast.d.ts +1 -1
  52. package/dist/charts/src/v2/utils/buildMargin.d.ts +10 -0
  53. package/dist/charts/src/v2/utils/components/BarGroup.d.ts +24 -0
  54. package/dist/charts/src/v2/utils/components/BarStacked.d.ts +18 -0
  55. package/dist/charts/src/v2/utils/flattenData.d.ts +1 -1
  56. package/dist/charts/src/v2/utils/getBarFill.d.ts +3 -0
  57. package/dist/charts/src/v2/utils/getClipArea.d.ts +1 -1
  58. package/dist/charts/src/v2/utils/getColor.d.ts +1 -1
  59. package/dist/charts/src/v2/utils/getTooltipData.d.ts +8 -6
  60. package/dist/charts/src/v2/utils/getTrend.d.ts +1 -1
  61. package/dist/charts/src/v2/utils/useableId.d.ts +1 -0
  62. package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +18 -42
  63. package/dist/dashboard/src/errors/FailedToSaveError.d.ts +3 -0
  64. package/dist/dashboard/src/index.d.ts +2 -0
  65. package/dist/dashboard/src/types.d.ts +1 -1
  66. package/dist/dashboard.cjs.development.js +76502 -0
  67. package/dist/dashboard.cjs.production.min.js +1 -0
  68. package/dist/dashboard.esm.js +76551 -0
  69. package/dist/index.js +8 -1
  70. package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
  71. package/dist/results-driver/src/driver/VizzlyQuery/AreaChartV2/toQueries.d.ts +4 -0
  72. package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
  73. package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +4 -0
  74. package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
  75. package/dist/results-driver/src/driver/VizzlyQuery/BubbleChart/toQueries.d.ts +10 -0
  76. package/dist/results-driver/src/driver/VizzlyQuery/BubbleChartV2/toQueries.d.ts +10 -0
  77. package/dist/results-driver/src/driver/VizzlyQuery/ComboChartV2/toQueries.d.ts +10 -0
  78. package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +1 -1
  79. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
  80. package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
  81. package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +1 -1
  82. package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
  83. package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
  84. package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +4 -0
  85. package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +1 -1
  86. package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +4 -0
  87. package/dist/results-driver/src/driver/VizzlyQuery/WaterfallChart/toQueries.d.ts +4 -0
  88. package/dist/results-driver/src/driver/VizzlyQuery/buildVizzlyQuery.d.ts +5 -0
  89. package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +1 -1
  90. package/dist/services/src/Services/View.d.ts +17 -1
  91. package/dist/services/src/index.d.ts +6 -2
  92. package/dist/shared-logic/src/AreaChartV2/attributesSchema.d.ts +3 -0
  93. package/dist/shared-logic/src/AreaChartV2/buildAreaChartRepresentation.d.ts +40 -0
  94. package/dist/shared-logic/src/AreaChartV2/constants.d.ts +3 -0
  95. package/dist/shared-logic/src/AreaChartV2/index.d.ts +4 -0
  96. package/dist/shared-logic/src/AreaChartV2/setAttributes.d.ts +4 -0
  97. package/dist/shared-logic/src/AreaChartV2/types.d.ts +12 -0
  98. package/dist/shared-logic/src/BarChartV2/attributesSchema.d.ts +3 -0
  99. package/dist/shared-logic/src/BarChartV2/buildBarChartRepresentation.d.ts +41 -0
  100. package/dist/shared-logic/src/BarChartV2/constants.d.ts +3 -0
  101. package/dist/shared-logic/src/BarChartV2/index.d.ts +4 -0
  102. package/dist/shared-logic/src/BarChartV2/setAttributes.d.ts +4 -0
  103. package/dist/shared-logic/src/BarChartV2/types.d.ts +9 -0
  104. package/dist/shared-logic/src/BubbleChart/attributesSchema.d.ts +3 -0
  105. package/dist/shared-logic/src/BubbleChart/constants.d.ts +3 -0
  106. package/dist/shared-logic/src/{LineChartV2 → BubbleChart}/getScaleAndTicks.d.ts +2 -1
  107. package/dist/shared-logic/src/BubbleChart/index.d.ts +4 -0
  108. package/dist/shared-logic/src/BubbleChart/setAttributes.d.ts +4 -0
  109. package/dist/shared-logic/src/BubbleChart/types.d.ts +79 -0
  110. package/dist/shared-logic/src/BubbleChartV2/attributesSchema.d.ts +3 -0
  111. package/dist/shared-logic/src/BubbleChartV2/buildBubbleChartRepresentation.d.ts +40 -0
  112. package/dist/shared-logic/src/BubbleChartV2/buildTrendAndForecast.d.ts +25 -0
  113. package/dist/shared-logic/src/BubbleChartV2/constants.d.ts +3 -0
  114. package/dist/shared-logic/src/BubbleChartV2/getConditionalFormatting.d.ts +7 -0
  115. package/dist/shared-logic/src/BubbleChartV2/getGoalLines.d.ts +8 -0
  116. package/dist/shared-logic/src/BubbleChartV2/getMinAndMax.d.ts +15 -0
  117. package/dist/shared-logic/src/BubbleChartV2/getScaleAndTicks.d.ts +42 -0
  118. package/dist/shared-logic/src/BubbleChartV2/getStyleDefinition.d.ts +8 -0
  119. package/dist/shared-logic/src/BubbleChartV2/getTrendsAndForecastsData.d.ts +41 -0
  120. package/dist/shared-logic/src/BubbleChartV2/index.d.ts +4 -0
  121. package/dist/shared-logic/src/BubbleChartV2/setAttributes.d.ts +4 -0
  122. package/dist/shared-logic/src/BubbleChartV2/types.d.ts +79 -0
  123. package/dist/shared-logic/src/ChartsV2/adjustTicks.d.ts +9 -0
  124. package/dist/shared-logic/src/ChartsV2/buildFieldFormatMaps.d.ts +12 -0
  125. package/dist/shared-logic/src/ChartsV2/fillMissingKeysForChartData.d.ts +4 -0
  126. package/dist/shared-logic/src/ChartsV2/formattingFunctionAxis.d.ts +2 -0
  127. package/dist/shared-logic/src/ChartsV2/getConditionalFormatting.d.ts +7 -0
  128. package/dist/shared-logic/src/ChartsV2/getGoalLines.d.ts +8 -0
  129. package/dist/shared-logic/src/ChartsV2/getStackedMinAndMax.d.ts +16 -0
  130. package/dist/shared-logic/src/ChartsV2/getStackedScaleAndTicks.d.ts +43 -0
  131. package/dist/shared-logic/src/ChartsV2/getStyleDefinition.d.ts +9 -0
  132. package/dist/shared-logic/src/{LineChartV2 → ChartsV2}/getTrendsAndForecastsData.d.ts +1 -1
  133. package/dist/shared-logic/src/ChartsV2/getXKeyField.d.ts +3 -0
  134. package/dist/shared-logic/src/ChartsV2/types.d.ts +95 -0
  135. package/dist/shared-logic/src/ComboChart/upcast.d.ts +1 -2
  136. package/dist/shared-logic/src/ComboChartV2/adjustColors.d.ts +1 -0
  137. package/dist/shared-logic/src/ComboChartV2/attributesSchema.d.ts +3 -0
  138. package/dist/shared-logic/src/ComboChartV2/buildComboChartRepresentation.d.ts +53 -0
  139. package/dist/shared-logic/src/ComboChartV2/constants.d.ts +3 -0
  140. package/dist/shared-logic/src/ComboChartV2/index.d.ts +4 -0
  141. package/dist/shared-logic/src/ComboChartV2/setAttributes.d.ts +4 -0
  142. package/dist/shared-logic/src/ComboChartV2/types.d.ts +21 -0
  143. package/dist/shared-logic/src/Component/setAttributes.d.ts +1 -1
  144. package/dist/shared-logic/src/Component/sharedSchemas.d.ts +1 -0
  145. package/dist/shared-logic/src/Component/types.d.ts +149 -5
  146. package/dist/shared-logic/src/Component/usedFields.d.ts +5 -1
  147. package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +12 -3
  148. package/dist/shared-logic/src/ComponentInterface/types.d.ts +2 -1
  149. package/dist/shared-logic/src/ConditionalFormatting/utils.d.ts +7 -0
  150. package/dist/shared-logic/src/CustomField/CustomField.d.ts +1 -1
  151. package/dist/shared-logic/src/CustomField/CustomMetric/__mocks__/mockDataSet.d.ts +2 -0
  152. package/dist/shared-logic/src/CustomField/CustomMetric/build.d.ts +3 -7
  153. package/dist/shared-logic/src/CustomField/CustomMetric/index.d.ts +3 -10
  154. package/dist/shared-logic/src/CustomField/CustomMetric/init.d.ts +4 -0
  155. package/dist/shared-logic/src/CustomField/CustomMetric/types.d.ts +21 -15
  156. package/dist/shared-logic/src/CustomField/CustomMetric/validate.d.ts +2 -0
  157. package/dist/shared-logic/src/CustomField/index.d.ts +1 -0
  158. package/dist/shared-logic/src/CustomField/metricValuesHaveAggregates.d.ts +2 -0
  159. package/dist/shared-logic/src/CustomField/types.d.ts +30 -26
  160. package/dist/shared-logic/src/CustomView/types.d.ts +2 -5
  161. package/dist/shared-logic/src/Dashboard/Dashboard.d.ts +2 -0
  162. package/dist/shared-logic/src/Dashboard/fromRaw.d.ts +1 -0
  163. package/dist/shared-logic/src/Dashboard/types.d.ts +1 -0
  164. package/dist/shared-logic/src/DataPanelConfig/types.d.ts +1 -1
  165. package/dist/shared-logic/src/DataSet/DataSet.d.ts +2 -4
  166. package/dist/shared-logic/src/DataSet/fieldFilterOptions.d.ts +2 -0
  167. package/dist/shared-logic/src/DataTable/resultToPivotTableRepresentation.d.ts +3 -4
  168. package/dist/shared-logic/src/Dimension/Dimension.d.ts +1 -0
  169. package/dist/shared-logic/src/Display/Display.d.ts +1 -0
  170. package/dist/shared-logic/src/Drilldown/Drilldown.d.ts +6 -5
  171. package/dist/shared-logic/src/FeatureToggle/types.d.ts +2 -4
  172. package/dist/shared-logic/src/Field/Field.d.ts +3 -13
  173. package/dist/shared-logic/src/FormatPanelConfig/types.d.ts +2 -1
  174. package/dist/shared-logic/src/Headline/headline.utils.d.ts +0 -1
  175. package/dist/shared-logic/src/LineChartV2/buildLineChartRepresentation.d.ts +3 -2
  176. package/dist/shared-logic/src/LineChartV2/types.d.ts +7 -74
  177. package/dist/shared-logic/src/PivotConfig/types.d.ts +1 -0
  178. package/dist/shared-logic/src/Query/Query.d.ts +1 -15
  179. package/dist/shared-logic/src/RadarChart/adjustTicks.d.ts +3 -0
  180. package/dist/shared-logic/src/RadarChart/attributesSchema.d.ts +3 -0
  181. package/dist/shared-logic/src/RadarChart/buildRadarChartRepresentation.d.ts +34 -0
  182. package/dist/shared-logic/src/RadarChart/constants.d.ts +3 -0
  183. package/dist/shared-logic/src/RadarChart/getMinAndMax.d.ts +13 -0
  184. package/dist/shared-logic/src/RadarChart/getScaleAndTicks.d.ts +37 -0
  185. package/dist/shared-logic/src/RadarChart/index.d.ts +4 -0
  186. package/dist/shared-logic/src/RadarChart/setAttributes.d.ts +4 -0
  187. package/dist/shared-logic/src/RadarChart/types.d.ts +46 -0
  188. package/dist/shared-logic/src/Result/Result.d.ts +0 -3
  189. package/dist/shared-logic/src/Result/formatResult.d.ts +3 -3
  190. package/dist/shared-logic/src/Result/formattedResultToSeries.d.ts +3 -2
  191. package/dist/shared-logic/src/Result/types.d.ts +6 -8
  192. package/dist/shared-logic/src/SunburstChart/attributesSchema.d.ts +3 -0
  193. package/dist/shared-logic/src/SunburstChart/constants.d.ts +3 -0
  194. package/dist/shared-logic/src/SunburstChart/index.d.ts +4 -0
  195. package/dist/shared-logic/src/ValueAlias/ValueAlias.d.ts +3 -2
  196. package/dist/shared-logic/src/WaterfallChart/adjustTicks.d.ts +3 -0
  197. package/dist/shared-logic/src/WaterfallChart/attributesSchema.d.ts +3 -0
  198. package/dist/shared-logic/src/WaterfallChart/buildWaterfallChartRepresentation.d.ts +34 -0
  199. package/dist/shared-logic/src/WaterfallChart/constants.d.ts +3 -0
  200. package/dist/shared-logic/src/WaterfallChart/getNiceInterval.d.ts +1 -0
  201. package/dist/shared-logic/src/WaterfallChart/getRepresentationData.d.ts +19 -0
  202. package/dist/shared-logic/src/WaterfallChart/getYTicks.d.ts +8 -0
  203. package/dist/shared-logic/src/WaterfallChart/index.d.ts +4 -0
  204. package/dist/shared-logic/src/WaterfallChart/setAttributes.d.ts +4 -0
  205. package/dist/shared-logic/src/WaterfallChart/types.d.ts +71 -0
  206. package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +1 -1
  207. package/dist/shared-logic/src/getComponentInterface.d.ts +8 -0
  208. package/dist/shared-ui/src/api/useQueryEffect.d.ts +1 -1
  209. package/dist/shared-ui/src/base/ListView/ListItem.d.ts +0 -1
  210. package/dist/shared-ui/src/base/ListView/index.d.ts +1 -1
  211. package/dist/shared-ui/src/base/Select/Control.d.ts +0 -1
  212. package/dist/shared-ui/src/base/Select/Wrapper.d.ts +0 -1
  213. package/dist/shared-ui/src/components/AreaChartV2/AreaChartV2.d.ts +3 -0
  214. package/dist/shared-ui/src/components/AreaChartV2/AreaChartV2View.d.ts +17 -0
  215. package/dist/shared-ui/src/components/AreaChartV2/index.d.ts +2 -0
  216. package/dist/shared-ui/src/components/BarChartV2/BarChartV2.d.ts +3 -0
  217. package/dist/shared-ui/src/components/BarChartV2/BarChartV2View.d.ts +23 -0
  218. package/dist/shared-ui/src/components/BarChartV2/index.d.ts +2 -0
  219. package/dist/shared-ui/src/components/BubbleChart/BubbleChart.d.ts +3 -0
  220. package/dist/shared-ui/src/components/BubbleChart/BubbleChartView.d.ts +16 -0
  221. package/dist/shared-ui/src/components/BubbleChart/index.d.ts +2 -0
  222. package/dist/shared-ui/src/components/BubbleChartV2/BubbleChartV2.d.ts +3 -0
  223. package/dist/shared-ui/src/components/BubbleChartV2/BubbleChartV2View.d.ts +17 -0
  224. package/dist/shared-ui/src/components/BubbleChartV2/index.d.ts +2 -0
  225. package/dist/shared-ui/src/components/ChartHelper.d.ts +1 -0
  226. package/dist/shared-ui/src/components/ComboChartV2/ComboChartV2.d.ts +3 -0
  227. package/dist/shared-ui/src/components/ComboChartV2/ComboChartViewV2.d.ts +32 -0
  228. package/dist/shared-ui/src/components/Component/types.d.ts +14 -0
  229. package/dist/shared-ui/src/components/Component.d.ts +1 -1
  230. package/dist/shared-ui/src/components/CustomMetric/CustomMetricAggregate.d.ts +12 -0
  231. package/dist/shared-ui/src/components/CustomMetric/MetricOverview.d.ts +2 -0
  232. package/dist/shared-ui/src/components/CustomMetric/buildAggregateItems.d.ts +3 -0
  233. package/dist/shared-ui/src/components/CustomMetric/buildCustomMetric.d.ts +12 -8
  234. package/dist/shared-ui/src/components/CustomMetric/buildFieldsAndAggregates.d.ts +9 -0
  235. package/dist/shared-ui/src/components/CustomMetric/buildLogicItems.d.ts +2 -0
  236. package/dist/shared-ui/src/components/CustomMetric/buildOperatorItems.d.ts +2 -0
  237. package/dist/shared-ui/src/components/CustomMetric/formatFormula.d.ts +2 -1
  238. package/dist/shared-ui/src/components/CustomMetric/init.d.ts +7 -5
  239. package/dist/shared-ui/src/components/CustomMetric/items.d.ts +6 -45
  240. package/dist/shared-ui/src/components/DataTable/buildConditionalFormattingBoundaries.d.ts +1 -0
  241. package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +5 -5
  242. package/dist/shared-ui/src/components/DataTable/resizing.d.ts +1 -3
  243. package/dist/shared-ui/src/components/DragAndDrop/DndWrapper.d.ts +0 -11
  244. package/dist/shared-ui/src/components/DragAndDrop/WidthChangingDnd.d.ts +0 -2
  245. package/dist/shared-ui/src/components/Drilldown/useDrilldownSelection.d.ts +4 -3
  246. package/dist/shared-ui/src/components/HeadlineStats/HeadlineStats.d.ts +2 -2
  247. package/dist/shared-ui/src/components/Icons/ComponentIcons.d.ts +4 -0
  248. package/dist/shared-ui/src/components/ItemPicker/ItemPicker.d.ts +4 -1
  249. package/dist/shared-ui/src/components/LineChart/LineChartView.d.ts +1 -1
  250. package/dist/shared-ui/src/components/MercatorMap/View.d.ts +1 -1
  251. package/dist/shared-ui/src/components/Parameters/useParameters.d.ts +1 -1
  252. package/dist/shared-ui/src/components/RadarChart/RadarChart.d.ts +3 -0
  253. package/dist/shared-ui/src/components/RadarChart/RadarChartView.d.ts +9 -0
  254. package/dist/shared-ui/src/components/RadarChart/index.d.ts +2 -0
  255. package/dist/shared-ui/src/components/Studio/StudioApp/Cell.d.ts +1 -0
  256. package/dist/shared-ui/src/components/Studio/StudioApp/DragHandle.d.ts +1 -10
  257. package/dist/shared-ui/src/components/Studio/StudioApp/insertRowAbove.funcs.d.ts +2 -2
  258. package/dist/shared-ui/src/components/SunburstChart/Partition.d.ts +13 -0
  259. package/dist/shared-ui/src/components/SunburstChart/SunburstChart.d.ts +3 -0
  260. package/dist/shared-ui/src/components/SunburstChart/SunburstChartView.d.ts +14 -0
  261. package/dist/shared-ui/src/components/SunburstChart/convertDataToSunburstData.d.ts +11 -0
  262. package/dist/shared-ui/src/components/SunburstChart/index.d.ts +2 -0
  263. package/dist/shared-ui/src/components/WaterfallChart/WaterfallChart.d.ts +3 -0
  264. package/dist/shared-ui/src/components/WaterfallChart/WaterfallChartView.d.ts +6 -0
  265. package/dist/shared-ui/src/components/WaterfallChart/index.d.ts +2 -0
  266. package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +0 -1
  267. package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +0 -4
  268. package/dist/shared-ui/src/contexts/DashboardContext/types.d.ts +3 -4
  269. package/dist/shared-ui/src/contexts/ThemeProvider/default.theme.d.ts +1 -0
  270. package/dist/shared-ui/src/hooks/useDraggable.d.ts +17 -0
  271. package/dist/shared-ui/src/hooks/useMoveComponentDrag.d.ts +11 -0
  272. package/dist/shared-ui/src/hooks/useResizableRow.d.ts +30 -0
  273. package/dist/shared-ui/src/hooks/useSubscription.d.ts +1 -1
  274. package/dist/shared-ui/src/library/ConditionalFormatting.d.ts +2 -8
  275. package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/CustomMetric/useCustomMetric.d.ts +1 -1
  276. package/dist/shared-ui/src/library/DataPanel/CustomMetricsInput.d.ts +1 -1
  277. package/dist/shared-ui/src/library/DataPanel/FieldCollectorInput.d.ts +7 -7
  278. package/dist/shared-ui/src/library/DataPanel/MeasuresInput.d.ts +2 -1
  279. package/dist/shared-ui/src/library/ResizableRowCell.d.ts +1 -0
  280. package/dist/shared-ui/src/library/StylePanel/WaterfallColorsSection.d.ts +7 -0
  281. package/dist/shared-ui/src/library/effectHooks/useCheckIfPageClosing.d.ts +2 -0
  282. package/package.json +22 -12
  283. package/dist/charts/src/v2/components/LineChart/buildMargin.d.ts +0 -9
  284. package/dist/shared-logic/src/CustomField/CustomMetric/mockDataSet.d.ts +0 -2
  285. package/dist/shared-logic/src/Headline/index.d.ts +0 -5
  286. package/dist/shared-logic/src/LineChartV2/adjustTicks.d.ts +0 -3
  287. package/dist/shared-logic/src/Query/validate.d.ts +0 -13
  288. package/dist/shared-logic/src/Result/ValidationLogic.d.ts +0 -7
  289. package/dist/shared-ui/src/base/Dragging/DragLayer.d.ts +0 -12
  290. package/dist/shared-ui/src/base/Dragging/DropArea.d.ts +0 -9
  291. package/dist/shared-ui/src/base/Dragging/index.d.ts +0 -3
  292. package/dist/shared-ui/src/base/Dragging/useDropZone.d.ts +0 -6
  293. package/dist/shared-ui/src/base/ListView/useReOrderDrag.d.ts +0 -7
  294. /package/dist/shared-logic/src/{LineChartV2 → BubbleChart}/getAxisFormattingFunction.d.ts +0 -0
  295. /package/dist/shared-logic/src/{LineChartV2 → BubbleChart}/getConditionalFormatting.d.ts +0 -0
  296. /package/dist/shared-logic/src/{LineChartV2 → BubbleChart}/getGoalLines.d.ts +0 -0
  297. /package/dist/shared-logic/src/{LineChartV2 → BubbleChart}/getMinAndMax.d.ts +0 -0
  298. /package/dist/shared-logic/src/{LineChartV2 → BubbleChart}/getStyleDefinition.d.ts +0 -0
  299. /package/dist/shared-logic/src/{LineChartV2 → ChartsV2}/buildTrendAndForecast.d.ts +0 -0
@@ -0,0 +1,3 @@
1
+ import Joi from '@vizzly/joi';
2
+ import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
+ export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -0,0 +1,34 @@
1
+ import { Component, FormatType } from '../Component/types';
2
+ import { PivotConfig } from '../PivotConfig/types';
3
+ import { Result } from '../Result/types';
4
+ import { ValueAlias } from '../ValueAlias/types';
5
+ import { DateTimeFormatter, NumberFormatter, Step, WaterfallChartRepresentation } from './types';
6
+ export declare type WaterfallChartRepresentationArgs = {
7
+ approxYAxisLabelCount: number;
8
+ axisTitles?: Component.AxisTitles;
9
+ dateTimeFormatOptions: {
10
+ [id: string]: DateTimeFormatter;
11
+ };
12
+ defaultFormats: () => {
13
+ [functionId: string]: string;
14
+ };
15
+ nullValue?: string;
16
+ numberFormatOptions: {
17
+ [id: string]: NumberFormatter;
18
+ };
19
+ pivotConfig: PivotConfig;
20
+ result: Result;
21
+ showTotalBar: boolean;
22
+ valueAlias?: ValueAlias;
23
+ xAxisFormat: FormatType;
24
+ xAxisPrefix: string;
25
+ xAxisPostfix: string;
26
+ yAxisFormat: FormatType;
27
+ yAxisPrefix: string;
28
+ yAxisPostfix: string;
29
+ };
30
+ export declare type WaterfallChartRepresentationResult = {
31
+ waterfallChartRepresentation: WaterfallChartRepresentation;
32
+ waterfallChartSteps: Step[];
33
+ };
34
+ export declare const buildWaterfallChartRepresentation: ({ approxYAxisLabelCount, axisTitles, dateTimeFormatOptions, defaultFormats, nullValue, numberFormatOptions, pivotConfig, result, showTotalBar, valueAlias, xAxisFormat, xAxisPrefix, xAxisPostfix, yAxisFormat, yAxisPrefix, yAxisPostfix, }: WaterfallChartRepresentationArgs) => WaterfallChartRepresentationResult;
@@ -0,0 +1,3 @@
1
+ import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
+ declare const CONSTANTS: ViewConstants;
3
+ export default CONSTANTS;
@@ -0,0 +1 @@
1
+ export declare function getNiceInterval(interval: number): number;
@@ -0,0 +1,19 @@
1
+ import { Tick } from '../ChartsV2/types';
2
+ import { FormattedChartData } from '../Result/types';
3
+ import { Data, Step } from './types';
4
+ export declare type GetRepresentationDataArgs = {
5
+ content: FormattedChartData[][];
6
+ xKey: string;
7
+ yKey: string;
8
+ approxYAxisLabelCount: number;
9
+ showTotalBar: boolean;
10
+ formattingFunctionY: (value: any) => string;
11
+ };
12
+ export declare const getRepresentationData: ({ content, xKey, yKey, approxYAxisLabelCount, showTotalBar, formattingFunctionY, }: GetRepresentationDataArgs) => {
13
+ data: Data[];
14
+ steps: Step[];
15
+ xTicks: Tick<string>[];
16
+ yTicks: Tick<number>[];
17
+ yMinValue: number;
18
+ yMaxValue: number;
19
+ };
@@ -0,0 +1,8 @@
1
+ import { Tick } from '../ChartsV2/types';
2
+ export declare type GetYTicksArgs = {
3
+ yMinValue: number;
4
+ yMaxValue: number;
5
+ approxYAxisLabelCount: number;
6
+ formattingFunctionY: (value: any) => string;
7
+ };
8
+ export declare const getYTicks: ({ yMinValue, yMaxValue, approxYAxisLabelCount, formattingFunctionY }: GetYTicksArgs) => Tick<number>[];
@@ -0,0 +1,4 @@
1
+ import { Component } from '../Component/types';
2
+ import { LoadComponentInterface } from '../ComponentInterface/types';
3
+ declare const WaterfallChart: LoadComponentInterface<Component.WaterfallChartAttributes, Component.WaterfallChartAttributes>;
4
+ export default WaterfallChart;
@@ -0,0 +1,4 @@
1
+ import { Component } from '../Component/types';
2
+ import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
+ declare const _default: (config: ComponentInterfaceConfig) => (waterfallChart: Component.WaterfallChartAttributes, partial: Partial<Component.WaterfallChartAttributes>) => Component.WaterfallChartAttributes;
4
+ export default _default;
@@ -0,0 +1,71 @@
1
+ import { BaseChartRepresentation, Tick } from '../ChartsV2/types';
2
+ import { DataType } from '../Field/types';
3
+ export declare type KeyId = string;
4
+ export declare type Operator = string;
5
+ export declare type ConditionalFormattingRule = {
6
+ operator: Operator;
7
+ value: any;
8
+ color: string;
9
+ yKey: KeyId;
10
+ };
11
+ export declare type Axis<SupportedVizzlyDataTypes, AxisKeys> = {
12
+ ticks: Tick<SupportedVizzlyDataTypes>[];
13
+ scale: {
14
+ dataType: DataType;
15
+ key: KeyId | null;
16
+ ordering: 'asc' | 'desc' | null;
17
+ min: SupportedVizzlyDataTypes | null;
18
+ max: SupportedVizzlyDataTypes | null;
19
+ };
20
+ postfix: string;
21
+ prefix: string;
22
+ title: string | null;
23
+ } & AxisKeys;
24
+ export declare type Key = {
25
+ key: KeyId;
26
+ keyFormatted: string;
27
+ dataType: DataType;
28
+ };
29
+ export declare type DataItem = {
30
+ value: number | string | null;
31
+ formattedValue: string | null;
32
+ };
33
+ export declare type Data = {
34
+ [keyId: string]: DataItem;
35
+ };
36
+ export declare type Step = {
37
+ x: Date | string | number | null;
38
+ y: number;
39
+ start: number;
40
+ end: number;
41
+ };
42
+ export declare type DateTimeFormatter = {
43
+ formatter: (date: Date) => string;
44
+ description: string;
45
+ };
46
+ export declare type NumberFormatter = {
47
+ formatter: (number: number | undefined | null, noValueReplacement?: string) => string;
48
+ description: string;
49
+ };
50
+ export declare type WaterfallChartRepresentation = Omit<BaseChartRepresentation, 'y'> & {
51
+ y: Axis<number, {
52
+ key: KeyId;
53
+ }>;
54
+ };
55
+ export declare type WaterfallChartOptions = {
56
+ showTooltipRoundedTotal: boolean;
57
+ showLegend: boolean;
58
+ removeStroke: boolean;
59
+ axis: {
60
+ showXAxisLabels: boolean;
61
+ showYAxisLabels: boolean;
62
+ };
63
+ };
64
+ export declare type LegendItemStyle = {
65
+ type: 'bar';
66
+ };
67
+ export declare type LegendItem = {
68
+ yKey: KeyId;
69
+ color: string;
70
+ style: LegendItemStyle;
71
+ };
@@ -19,7 +19,7 @@ declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryE
19
19
  dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[];
20
20
  abortSignal?: AbortSignal | undefined;
21
21
  dataAccessToken?: string | undefined;
22
- filterConfig?: import("../../../../shared-logic/src/AdditionalFilter/types").FilterConfig | undefined;
22
+ filterConfig?: import("@vizzly/services/src").FilterConfig | undefined;
23
23
  }) => Promise<(import("../../../../shared-logic/src/Result/types").Result | any[][] | null)[] | null>) | undefined, data?: loadDataCallback | undefined, queryEngineEndpoint?: string | {
24
24
  endpoint: string;
25
25
  dynamicConfig?: Object | undefined;
@@ -3,6 +3,9 @@ import { ComponentInterface, ComponentInterfaceConfig } from './ComponentInterfa
3
3
  import { BasicTableComponentInterface } from './BasicTable';
4
4
  declare function getComponentInterface(type: 'custom', config?: ComponentInterfaceConfig): ComponentInterface<Component.CustomViewAttributes>;
5
5
  declare function getComponentInterface(type: 'pieChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.PieChartAttributes>;
6
+ declare function getComponentInterface(type: 'bubbleChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.BubbleChartAttributes>;
7
+ declare function getComponentInterface(type: 'bubbleChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.BubbleChartV2Attributes>;
8
+ declare function getComponentInterface(type: 'sunburstChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.SunburstChartAttributes>;
6
9
  declare function getComponentInterface(type: 'scatterChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.ScatterChartAttributes>;
7
10
  declare function getComponentInterface(type: 'mercatorMap', config?: ComponentInterfaceConfig): ComponentInterface<Component.MercatorMapAttributes>;
8
11
  declare function getComponentInterface(type: 'singleStat', config?: ComponentInterfaceConfig): ComponentInterface<Component.SingleStatAttributes>;
@@ -14,7 +17,12 @@ declare function getComponentInterface(type: 'horizontalBarChart', config?: Comp
14
17
  declare function getComponentInterface(type: 'areaChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.AreaChartAttributes>;
15
18
  declare function getComponentInterface(type: 'lineChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.LineChartAttributes>;
16
19
  declare function getComponentInterface(type: 'lineChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.LineChartV2Attributes>;
20
+ declare function getComponentInterface(type: 'barChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.BarChartV2Attributes>;
21
+ declare function getComponentInterface(type: 'areaChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.AreaChartV2Attributes>;
22
+ declare function getComponentInterface(type: 'comboChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.ComboChartV2Attributes>;
17
23
  declare function getComponentInterface(type: 'barChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.BarChartAttributes>;
18
24
  declare function getComponentInterface(type: 'funnelChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.FunnelChartAttributes>;
25
+ declare function getComponentInterface(type: 'waterfallChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.WaterfallChartAttributes>;
26
+ declare function getComponentInterface(type: 'radarChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.RadarChartAttributes>;
19
27
  declare function getComponentInterface(type: ComponentType, config?: ComponentInterfaceConfig): ComponentInterface<Component.Attributes>;
20
28
  export default getComponentInterface;
@@ -4,6 +4,6 @@ import { FilterConfig } from '../../../shared-logic/src/AdditionalFilter/types';
4
4
  import { DataSet } from '../../../shared-logic/src/DataSet/types';
5
5
  import { QueryableEntity } from './useQueryEffect/types';
6
6
  import { UseVariableState } from '../contexts/Variables/types';
7
- export declare const useQueryEffect: (queries: QueryableEntity, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, onResultsCallback: (results: Array<Result | null>) => void, filterConfig: FilterConfig, dataSet: DataSet, componentType?: "progress" | "areaChart" | "barChart" | "basicTable" | "comboChart" | "custom" | "dataTable" | "funnelChart" | "horizontalBarChart" | "lineChart" | "lineChartV2" | "mercatorMap" | "pieChart" | "richText" | "scatterChart" | "singleStat" | undefined, variables?: UseVariableState | undefined) => {
7
+ export declare const useQueryEffect: (queries: QueryableEntity, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, onResultsCallback: (results: Array<Result | null>) => void, filterConfig: FilterConfig, dataSet: DataSet, componentType?: "progress" | "areaChart" | "areaChartV2" | "barChart" | "barChartV2" | "basicTable" | "bubbleChart" | "bubbleChartV2" | "comboChart" | "comboChartV2" | "custom" | "dataTable" | "funnelChart" | "horizontalBarChart" | "lineChart" | "lineChartV2" | "mercatorMap" | "pieChart" | "radarChart" | "richText" | "scatterChart" | "singleStat" | "sunburstChart" | "waterfallChart" | undefined, variables?: UseVariableState | undefined) => {
8
8
  queriesAreChanging: boolean;
9
9
  };
@@ -4,7 +4,6 @@ declare type ListItemProps = {
4
4
  index: number;
5
5
  totalItemsCount: number;
6
6
  onChange?: (index: number) => void;
7
- onOrderChange?: ((index: number, movedTo: number) => void) | undefined;
8
7
  highlight?: boolean;
9
8
  children?: ReactNode;
10
9
  title?: string;
@@ -18,11 +18,11 @@ export declare const List: import("react").FunctionComponent<{
18
18
  empty?: string | number | (string & {}) | undefined;
19
19
  disabled?: boolean | undefined;
20
20
  }>;
21
+ Item: any;
21
22
  Container: import("react").FunctionComponent<{
22
23
  hasDeleteIcon?: boolean | undefined;
23
24
  children?: import("react").ReactNode;
24
25
  }>;
25
- Item: any;
26
26
  Heading: import("react").FunctionComponent<{
27
27
  children: import("react").ReactNode;
28
28
  as?: "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "legend" | "desc" | "title" | "big" | "link" | "sup" | "header" | "select" | "input" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "ins" | "kbd" | "keygen" | "label" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | undefined;
@@ -28,6 +28,5 @@ export declare type ControlProps = {
28
28
  classNameInputComponent?: string;
29
29
  classNameInputControl?: string;
30
30
  classNameInputControlGrid?: string;
31
- nullValueAlias?: string;
32
31
  };
33
32
  export declare const Control: FunctionComponent<ControlProps>;
@@ -20,7 +20,6 @@ declare type Props = VizzlyComponents.ComponentOverrides.Props.Select & {
20
20
  onFreeTextSelected?: () => void;
21
21
  onClick?: (() => void) | undefined;
22
22
  formatLabel?: (label: string | number) => string | number;
23
- nullValueAlias?: string;
24
23
  };
25
24
  export declare const PROPS_AS_CLASSNAMES: CustomThemeClassNamespaces[];
26
25
  declare const _default: (props: Props) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { AreaChartV2Props } from '../Component/types';
3
+ export declare const AreaChartV2: (props: AreaChartV2Props) => JSX.Element;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { VizzlyComponents } from '../../types';
3
+ import { Component } from '../../../../shared-logic/src/Component/types';
4
+ import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
5
+ import { IdPrefix, DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
6
+ import { HeadlineStatsProps } from '../HeadlineStats/HeadlineStats';
7
+ export declare type AreaChartV2ViewProps = Omit<VizzlyComponents.ViewProps<{
8
+ attributes: Component.AreaChartV2Attributes;
9
+ }>, 'supportedTimeTruncFunctions' | 'supportedTransformationFunctions' | 'supportedAggregates'>;
10
+ export declare const AreaChartV2View: (props: AreaChartV2ViewProps & {
11
+ dashboard?: Dashboard;
12
+ library?: boolean;
13
+ numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
14
+ dateTimeFormatOptions: DashboardBehaviour['dateTimeFormatOptions'];
15
+ propsForHeadline: HeadlineStatsProps;
16
+ idPrefix: IdPrefix;
17
+ }) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './AreaChartV2';
2
+ export * from './AreaChartV2View';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { BarChartV2Props } from '../Component/types';
3
+ export declare const BarChartV2: (props: BarChartV2Props) => JSX.Element;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { VizzlyComponents } from '../../types';
3
+ import { Component } from '../../../../shared-logic/src/Component/types';
4
+ import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
5
+ import { IdPrefix, DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
6
+ import { HeadlineStatsProps } from '../HeadlineStats/HeadlineStats';
7
+ import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
8
+ export declare type BarChartV2ViewProps = Omit<VizzlyComponents.ViewProps<{
9
+ attributes: Component.BarChartV2Attributes;
10
+ }>, 'supportedTimeTruncFunctions' | 'supportedTransformationFunctions' | 'supportedAggregates'>;
11
+ export declare const BarChartV2View: (props: Pick<VizzlyComponents.ViewProps<{
12
+ attributes: Component.BarChartV2Attributes;
13
+ }, import("../../../../shared-logic/src/Component/types").Component.Attributes>, "id" | "dataSet" | "localFilters" | "queriesAreChanging" | "result" | "library" | "defaultFormats" | "setLocalFilters" | "setPartialAttributes" | "sm" | "attributes"> & {
14
+ dashboard?: Dashboard | undefined;
15
+ library?: boolean | undefined;
16
+ numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
17
+ dateTimeFormatOptions: DashboardBehaviour['dateTimeFormatOptions'];
18
+ propsForHeadline: HeadlineStatsProps;
19
+ idPrefix: IdPrefix;
20
+ onDrilldownChange: (payload: Drilldown.SelectedDrilldown) => void;
21
+ drilldownSelections: Drilldown.SelectedDrilldown[];
22
+ onResetDrilldown: () => void;
23
+ }) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './BarChartV2';
2
+ export * from './BarChartV2View';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { BubbleChartProps } from '../Component/types';
3
+ export declare const BubbleChart: (props: BubbleChartProps) => JSX.Element;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { VizzlyComponents } from '../../types';
3
+ import { Component as ComponentType } from '../../../../shared-logic/src/Component/types';
4
+ import { DashboardBehaviour, IdPrefix } from '../../contexts/DashboardBehaviour/types';
5
+ export declare const defaultProps: Omit<ComponentType.BubbleChartAttributes, 'dataSetId'>;
6
+ export declare type BubbleChartViewProps = VizzlyComponents.ViewProps<ComponentType.BubbleChartAttributes> & {
7
+ library?: boolean;
8
+ numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
9
+ dateTimeFormatOptions: DashboardBehaviour['dateTimeFormatOptions'];
10
+ idPrefix: IdPrefix;
11
+ };
12
+ declare const memoized: React.MemoExoticComponent<{
13
+ (props: BubbleChartViewProps): JSX.Element | null;
14
+ defaultProps: Pick<ComponentType.BubbleChartAttributes, "filter" | "order" | "offset" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "zMeasure" | "xMeasure" | "yMeasure">;
15
+ }>;
16
+ export default memoized;
@@ -0,0 +1,2 @@
1
+ export { BubbleChart } from './BubbleChart';
2
+ export { default as View } from './BubbleChartView';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { BubbleChartV2Props } from '../Component/types';
3
+ export declare const BubbleChartV2: (props: BubbleChartV2Props) => JSX.Element;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { VizzlyComponents } from '../../types';
3
+ import { Component } from '../../../../shared-logic/src/Component/types';
4
+ import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
5
+ import { IdPrefix, DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
6
+ import { HeadlineStatsProps } from '../HeadlineStats/HeadlineStats';
7
+ export declare type BubbleChartV2ViewProps = Omit<VizzlyComponents.ViewProps<{
8
+ attributes: Component.BubbleChartV2Attributes;
9
+ }>, 'supportedTimeTruncFunctions' | 'supportedTransformationFunctions' | 'supportedAggregates'>;
10
+ export declare const BubbleChartV2View: (props: BubbleChartV2ViewProps & {
11
+ dashboard?: Dashboard;
12
+ library?: boolean;
13
+ numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
14
+ dateTimeFormatOptions: DashboardBehaviour['dateTimeFormatOptions'];
15
+ propsForHeadline: HeadlineStatsProps;
16
+ idPrefix: IdPrefix;
17
+ }) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './BubbleChartV2';
2
+ export * from './BubbleChartV2View';
@@ -6,6 +6,7 @@ import { DashboardBehaviour, LabelFormat } from '../contexts/DashboardBehaviour/
6
6
  import { ConditionalFormattingOption } from '../../../charts/src/Legend/Legend';
7
7
  import { ConditionalFormattingBoundary } from './DataTable/buildConditionalFormattingBoundaries';
8
8
  import { TextOverride } from '../../../shared-logic/src/Translations/types';
9
+ import * as ConditionalFormatting from '../../../shared-logic/src/ConditionalFormatting/utils';
9
10
  export declare type AxisLabelConfig = {
10
11
  prefix?: string;
11
12
  postfix?: string;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { ComboChartV2Props } from '../Component/types';
3
+ export declare const ComboChartV2: (props: ComboChartV2Props) => JSX.Element;
@@ -0,0 +1,32 @@
1
+ /// <reference types="react" />
2
+ import { VizzlyComponents } from '../../types';
3
+ import { Component } from '../../../../shared-logic/src/Component/types';
4
+ import { Result as ResultType } from '../../../../shared-logic/src/Result/types';
5
+ import { IdPrefix } from '../../contexts/DashboardBehaviour/types';
6
+ import { Dashboard } from '../../../../shared-logic/src/Dashboard';
7
+ export declare type ComboChartViewProps = Omit<VizzlyComponents.ViewProps<{
8
+ attributes: Component.ComboChartV2Attributes;
9
+ }>, 'result' | 'supportedTransformationFunctions' | 'goalLines'> & {
10
+ lineResult: ResultType | null;
11
+ barResult: ResultType | null;
12
+ id: string;
13
+ idPrefix: IdPrefix;
14
+ };
15
+ declare const _default: import("react").MemoExoticComponent<(props: Pick<VizzlyComponents.ViewProps<{
16
+ attributes: Component.ComboChartV2Attributes;
17
+ }, import("../../../../shared-logic/src/Component/types").Component.Attributes>, "id" | "dataSet" | "supportedAggregates" | "supportedTimeTruncFunctions" | "localFilters" | "queriesAreChanging" | "library" | "defaultFormats" | "setLocalFilters" | "setPartialAttributes" | "sm" | "attributes"> & {
18
+ lineResult: ResultType | null;
19
+ barResult: ResultType | null;
20
+ id: string;
21
+ idPrefix: IdPrefix;
22
+ } & {
23
+ dashboard?: Dashboard | undefined;
24
+ library?: boolean | undefined;
25
+ numberFormatOptions: {
26
+ [id: string]: import("../../contexts/DashboardBehaviour/types").NumberFormatter;
27
+ };
28
+ dateTimeFormatOptions: {
29
+ [id: string]: import("../../contexts/DashboardBehaviour/types").DateTimeFormatter;
30
+ };
31
+ }) => JSX.Element>;
32
+ export default _default;
@@ -27,6 +27,10 @@ interface ChartPropsWithAttributesUpdate<T> extends BaseChartProps<T> {
27
27
  export declare type ScatterChartProps = ChartPropsWithPartialAttributes<ComponentType.ScatterChartAttributes> & {
28
28
  sm?: boolean;
29
29
  };
30
+ export declare type BubbleChartProps = ChartPropsWithPartialAttributes<ComponentType.BubbleChartAttributes> & {
31
+ sm?: boolean;
32
+ };
33
+ export declare type BubbleChartV2Props = ChartPropsWithPartialAttributes<ComponentType.BubbleChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.BubbleChartV2Attributes>;
30
34
  export declare type BarChartProps = ChartPropsWithPartialAttributes<ComponentType.BarChartAttributes> & ChartPropsWithAttributesUpdate<ComponentType.BarChartAttributes | ComponentType.HorizontalBarChartAttributes> & {
31
35
  sm?: boolean;
32
36
  onViewClick?: (data: ComponentType.ChartOnViewClick, query: ComponentType.OnViewClickQuery) => void;
@@ -39,9 +43,15 @@ export declare type LineChartProps = ChartPropsWithPartialAttributes<ComponentTy
39
43
  sm?: boolean;
40
44
  };
41
45
  export declare type LineChartV2Props = ChartPropsWithPartialAttributes<ComponentType.LineChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.LineChartV2Attributes>;
46
+ export declare type AreaChartV2Props = ChartPropsWithPartialAttributes<ComponentType.AreaChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.AreaChartV2Attributes>;
47
+ export declare type BarChartV2Props = ChartPropsWithPartialAttributes<ComponentType.BarChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.BarChartV2Attributes>;
48
+ export declare type RadarChartProps = ChartPropsWithPartialAttributes<ComponentType.RadarChartAttributes> & ChartPropsWithAttributesUpdate<ComponentType.RadarChartAttributes>;
42
49
  export declare type PieChartProps = ChartPropsWithPartialAttributes<ComponentType.PieChartAttributes> & {
43
50
  editor?: boolean;
44
51
  };
52
+ export declare type SunburstChartProps = ChartPropsWithPartialAttributes<ComponentType.SunburstChartAttributes> & {
53
+ editor?: boolean;
54
+ };
45
55
  export declare type SingleStatProps = ChartPropsWithPartialAttributes<ComponentType.SingleStatAttributes> & ChartPropsWithAttributesUpdate<ComponentType.SingleStatAttributes>;
46
56
  export declare type ProgressProps = ChartPropsWithPartialAttributes<ComponentType.ProgressAttributes> & {
47
57
  height?: number;
@@ -54,6 +64,9 @@ export declare type DataTableProps = ChartPropsWithPartialAttributes<ComponentTy
54
64
  export declare type ComboChartProps = ChartPropsWithPartialAttributes<ComponentType.ComboChartAttributes> & {
55
65
  sm?: boolean;
56
66
  };
67
+ export declare type ComboChartV2Props = ChartPropsWithPartialAttributes<ComponentType.ComboChartV2Attributes> & {
68
+ sm?: boolean;
69
+ };
57
70
  export declare type MercatorMapProps = BaseChartProps<ComponentType.MercatorMapAttributes> & {
58
71
  onPositionChange: (newPosition: MapPosition) => void;
59
72
  };
@@ -64,4 +77,5 @@ export declare type FunnelChartProps = ChartPropsWithPartialAttributes<Component
64
77
  export declare type RichTextProps = ChartPropsWithPartialAttributes<ComponentType.RichTextAttributes> & ChartPropsWithAttributesUpdate<ComponentType.RichTextAttributes> & {
65
78
  editor?: boolean;
66
79
  };
80
+ export declare type WaterfallChartProps = ChartPropsWithPartialAttributes<ComponentType.WaterfallChartAttributes> & ChartPropsWithAttributesUpdate<ComponentType.WaterfallChartAttributes>;
67
81
  export {};
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { VizzlyComponents } from '../types';
3
+ import { AdditionalFilter } from '../../../shared-logic/src/AdditionalFilter/types';
3
4
  import { Component as ComponentType } from '../../../shared-logic/src/Component/types';
4
5
  import { Result } from '../../../shared-logic/src/Result/types';
5
- import { AdditionalFilter } from '../../../shared-logic/src/AdditionalFilter/types';
6
6
  export declare type ComponentProps = {
7
7
  id: string;
8
8
  component: ComponentType;
@@ -0,0 +1,12 @@
1
+ import { FunctionComponent } from 'react';
2
+ import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
3
+ import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
4
+ import { ComponentType } from '../../../../shared-logic/src/Component/types';
5
+ export declare const CustomMetricAggregate: FunctionComponent<{
6
+ dataSet: DataSetType;
7
+ onDeleteItem: () => void;
8
+ id: string;
9
+ onChange: (aggregate: Types.Aggregate) => void;
10
+ componentType: ComponentType;
11
+ measure: Types.Aggregate;
12
+ }>;
@@ -1,5 +1,7 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
3
+ import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
3
4
  export declare const MetricOverview: FunctionComponent<{
4
5
  metric: Types.Metric | undefined;
6
+ dataSet: DataSetType;
5
7
  }>;
@@ -0,0 +1,3 @@
1
+ import { PickerItem } from '../ItemPicker/ItemPicker';
2
+ import { DataSet } from '../../../../shared-logic/src/DataSet/types';
3
+ export declare const buildAggregateItems: (dataSet: DataSet) => PickerItem;
@@ -1,26 +1,30 @@
1
1
  import { PickerThing } from '../ItemPicker/ItemPicker';
2
2
  import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
3
- export declare function updateOperatorValue(value: Types.Operator, index: number, item: Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic): {
3
+ export declare function updateOperatorValue(value: Types.Operator, index: number, item: Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic | Types.Aggregate): {
4
4
  type: Types.PropertyType.Operator;
5
5
  op: Types.OperatorType;
6
- values: (Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable)[];
6
+ values: (Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable)[];
7
7
  };
8
8
  export declare function deleteOperatorValue(value: Types.Operator, index: number): {
9
9
  type: Types.PropertyType.Operator;
10
10
  op: Types.OperatorType;
11
- values: (Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable)[];
11
+ values: (Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable)[];
12
12
  };
13
- export declare function addToOperator(value: Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable, selected: PickerThing | undefined): {
13
+ export declare function addToOperator(value: Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable | Types.Aggregate, selected: PickerThing | undefined): {
14
14
  type: Types.PropertyType.Operator;
15
15
  op: Types.OperatorType;
16
- values: (Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable)[];
16
+ values: (Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable)[];
17
17
  } | {
18
18
  type: Types.PropertyType.IfLogic;
19
19
  cases: {
20
20
  filter: import("../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[][];
21
- returns: Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable | undefined;
21
+ returns: Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable | undefined;
22
22
  }[];
23
- else: Types.Operator | Types.IfLogic | Types.NumberInput | Types.Field | Types.Variable | undefined;
23
+ else: Types.Operator | Types.IfLogic | Types.Aggregate | Types.NumberInput | Types.Field | Types.Variable | undefined;
24
+ } | {
25
+ type: Types.PropertyType.Aggregate;
26
+ fieldId: string;
27
+ function?: string | undefined;
24
28
  } | {
25
29
  type: Types.PropertyType.NumberInput;
26
30
  value: number | undefined;
@@ -32,4 +36,4 @@ export declare function addToOperator(value: Types.Operator | Types.IfLogic | Ty
32
36
  type: Types.PropertyType.Variable;
33
37
  value: string;
34
38
  };
35
- export declare function addToIfStatement(selected: PickerThing | undefined): Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic | undefined;
39
+ export declare function addToIfStatement(selected: PickerThing | undefined): Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic | Types.Aggregate | undefined;
@@ -0,0 +1,9 @@
1
+ import { AcceptedTypes } from '../../../../shared-logic/src/CustomField/types';
2
+ import { PickerItem } from '../ItemPicker/ItemPicker';
3
+ import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
4
+ import { DataSet } from '../../../../shared-logic/src/DataSet/types';
5
+ export declare function buildFieldsAndAggregates(value: Types.Operator | Types.IfLogic | Types.Aggregate, dataSet: DataSet, supportedTypes: AcceptedTypes[], parentHasAggregate?: boolean, parentHasField?: boolean): {
6
+ updatedItems: PickerItem[];
7
+ updatedParentHasAggregate: boolean;
8
+ updatedParentHasField: any;
9
+ };
@@ -0,0 +1,2 @@
1
+ import { PickerItem } from '../ItemPicker/ItemPicker';
2
+ export declare const buildLogicItems: (onlyNumber?: boolean) => PickerItem;
@@ -0,0 +1,2 @@
1
+ import { PickerItem } from '../ItemPicker/ItemPicker';
2
+ export declare const buildOperatorItems: () => PickerItem;
@@ -1,3 +1,4 @@
1
1
  import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
2
2
  import { TextOverride } from '../../../../shared-logic/src/Translations/types';
3
- export declare const formatFormula: (obj: Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic | undefined, isNested: boolean | undefined, textOverride: TextOverride) => string;
3
+ import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
4
+ export declare const formatFormula: (obj: Types.Operator | Types.NumberInput | Types.Field | Types.Variable | Types.IfLogic | Types.Aggregate | undefined, isNested: boolean | undefined, textOverride: TextOverride, dataSet: DataSetType) => string;
@@ -1,6 +1,8 @@
1
+ import { PickerThing } from '../ItemPicker/ItemPicker';
1
2
  import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
2
- export declare const initMetric: (selected?: import("../../base/ListView/types").ListViewItem<{
3
- type?: string | undefined;
4
- }> | undefined) => Types.Metric | undefined;
5
- export declare const initIfLogic: () => Types.Metric;
6
- export declare const initOperator: (op: Types.OperatorType) => Types.Metric;
3
+ export declare const initMetric: (selected?: PickerThing | undefined) => Types.Metric | undefined;
4
+ export declare const initIfLogic: () => Types.Operator | Types.IfLogic;
5
+ export declare const initOperator: (op: Types.OperatorType) => Types.Operator | Types.IfLogic;
6
+ export declare const initAggregate: (fieldId: string) => Types.Aggregate;
7
+ export declare const initField: (fieldId: string) => Types.Field;
8
+ export declare const initNumberInput: () => Types.NumberInput;