@vizzly/dashboard 0.15.0-dev-3d764e5c2346be462bbcf7327369903e64b96b40 → 0.15.1-dev-7c85efb9d70a7b5e5367d265c0b48faf46ecac6e

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/dist/charts/src/BubbleChart/BubbleChart.d.ts +1 -1
  2. package/dist/charts/src/FunnelChart/FunnelChart.d.ts +0 -1
  3. package/dist/charts/src/ScatterChart/ScatterChart.d.ts +2 -2
  4. package/dist/charts/src/XYChart/types.d.ts +0 -3
  5. package/dist/charts/src/useXAxisLabelCount.d.ts +1 -1
  6. package/dist/charts/src/v2/components/AreaChart/AreaChart.d.ts +0 -1
  7. package/dist/charts/src/v2/components/Axis/AxisBottom.d.ts +1 -2
  8. package/dist/charts/src/v2/components/Axis/AxisLeft.d.ts +3 -3
  9. package/dist/charts/src/v2/components/BarChart/BarChart.d.ts +4 -6
  10. package/dist/charts/src/v2/components/BubbleChart/BubbleChart.d.ts +1 -1
  11. package/dist/charts/src/v2/components/ChartWrapper/ChartWrapper.d.ts +2 -4
  12. package/dist/charts/src/v2/components/ComboChart/ComboChart.d.ts +0 -1
  13. package/dist/charts/src/v2/components/LineChart/LineChart.d.ts +7 -12
  14. package/dist/charts/src/v2/components/RadarChart/Polygons.d.ts +1 -1
  15. package/dist/charts/src/v2/components/RadarChart/types.d.ts +0 -4
  16. package/dist/charts/src/v2/components/Tooltip/CrosshairCircle.d.ts +1 -1
  17. package/dist/charts/src/v2/components/Tooltip/Tooltip.d.ts +1 -2
  18. package/dist/charts/src/v2/components/WaterfallChart/Tooltip.d.ts +2 -2
  19. package/dist/charts/src/v2/components/WaterfallChart/WaterfallChart.d.ts +2 -4
  20. package/dist/charts/src/v2/components/hooks/useBottomAxisBaselineShift.d.ts +10 -0
  21. package/dist/charts/src/v2/index.d.ts +2 -4
  22. package/dist/charts/src/v2/utils/buildMargin.d.ts +0 -1
  23. package/dist/charts/src/v2/utils/components/BarGroup.d.ts +5 -9
  24. package/dist/charts/src/v2/utils/components/BarStacked.d.ts +5 -10
  25. package/dist/charts/src/v2/utils/getBarFill.d.ts +1 -1
  26. package/dist/charts/src/v2/utils/getTooltipData.d.ts +5 -5
  27. package/dist/{shared-ui → dashboard}/src/SetupError.d.ts +2 -2
  28. package/dist/{shared-ui → dashboard}/src/contexts/GlobalProvider/GlobalProvider.d.ts +2 -4
  29. package/dist/{shared-ui → dashboard}/src/contexts/GlobalProvider/buildImplementationMeta.d.ts +1 -1
  30. package/dist/{shared-ui → dashboard}/src/contexts/GlobalProvider/useGlobalProvider.d.ts +43 -75
  31. package/dist/{shared-ui → dashboard}/src/contexts/GlobalProvider/useOnDashboardLoadCallback.d.ts +2 -3
  32. package/dist/{shared-ui → dashboard}/src/contexts/SessionContext/useSessionContext.d.ts +0 -1
  33. package/dist/dashboard/src/index.d.ts +0 -1
  34. package/dist/dashboard/src/types.d.ts +128 -1
  35. package/dist/dashboard.cjs.development.js +15053 -18233
  36. package/dist/dashboard.cjs.production.min.js +1 -1
  37. package/dist/dashboard.esm.js +15073 -18258
  38. package/dist/results-driver/src/driver/VizzlyQuery/AdditionalFilter/toQueries.d.ts +3 -7
  39. package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +2 -2
  40. package/dist/results-driver/src/driver/VizzlyQuery/AreaChartV2/toQueries.d.ts +2 -2
  41. package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +2 -2
  42. package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +2 -2
  43. package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +2 -2
  44. package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +2 -2
  45. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +2 -2
  46. package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +2 -2
  47. package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +2 -2
  48. package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +2 -2
  49. package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +2 -2
  50. package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +2 -2
  51. package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +2 -2
  52. package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +2 -2
  53. package/dist/results-driver/src/driver/VizzlyQuery/WaterfallChart/toQueries.d.ts +3 -9
  54. package/dist/results-driver/src/driver/VizzlyQuery/buildVizzlyQuery.d.ts +5 -5
  55. package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +1 -1
  56. package/dist/results-driver/src/types.d.ts +0 -2
  57. package/dist/services/src/index.d.ts +0 -5
  58. package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +7 -9
  59. package/dist/shared-logic/src/AdditionalFilter/FilterConfig.d.ts +3 -14
  60. package/dist/shared-logic/src/AdditionalFilter/toQueryAttributesFilter.d.ts +2 -2
  61. package/dist/shared-logic/src/AdditionalFilter/types.d.ts +2 -6
  62. package/dist/shared-logic/src/BarChartV2/buildBarChartRepresentation.d.ts +1 -1
  63. package/dist/shared-logic/src/BubbleChart/types.d.ts +0 -7
  64. package/dist/shared-logic/src/BubbleChartV2/buildBubbleChartRepresentation.d.ts +7 -5
  65. package/dist/shared-logic/src/BubbleChartV2/getScaleAndTicks.d.ts +3 -4
  66. package/dist/shared-logic/src/BubbleChartV2/types.d.ts +0 -10
  67. package/dist/shared-logic/src/Callbacks/cell.funcs.d.ts +1 -1
  68. package/dist/shared-logic/src/ChartsV2/adjustTicks.d.ts +4 -7
  69. package/dist/shared-logic/src/ChartsV2/types.d.ts +0 -2
  70. package/dist/shared-logic/src/ComboChartV2/buildComboChartRepresentation.d.ts +3 -3
  71. package/dist/shared-logic/src/Component/setAttributes.d.ts +1 -1
  72. package/dist/shared-logic/src/Component/sharedSchemas.d.ts +0 -2
  73. package/dist/shared-logic/src/Component/types.d.ts +7 -44
  74. package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +15 -17
  75. package/dist/shared-logic/src/CustomField/AggregateMath/index.d.ts +1 -2
  76. package/dist/shared-logic/src/CustomField/Conditional/index.d.ts +2 -2
  77. package/dist/shared-logic/src/CustomField/CustomField.d.ts +1 -2
  78. package/dist/shared-logic/src/CustomField/CustomMetric/build.d.ts +1 -1
  79. package/dist/shared-logic/src/CustomField/CustomMetric/combineFilters.d.ts +2 -0
  80. package/dist/shared-logic/src/CustomField/DateCalculation/index.d.ts +1 -2
  81. package/dist/shared-logic/src/CustomField/Percentage/index.d.ts +5 -6
  82. package/dist/shared-logic/src/CustomField/RoundedNumber/index.d.ts +1 -2
  83. package/dist/shared-logic/src/CustomField/Rules/index.d.ts +2 -2
  84. package/dist/shared-logic/src/CustomField/SimpleMath/index.d.ts +1 -1
  85. package/dist/shared-logic/src/CustomField/types.d.ts +1 -6
  86. package/dist/shared-logic/src/DataPanelConfig/types.d.ts +1 -1
  87. package/dist/shared-logic/src/DataSet/DataSet.d.ts +1 -1
  88. package/dist/shared-logic/src/DataTable/resultToPivotTableRepresentation.d.ts +1 -2
  89. package/dist/shared-logic/src/Field/Field.d.ts +3 -4
  90. package/dist/shared-logic/src/Filter/Filter.d.ts +10 -0
  91. package/dist/shared-logic/src/Filter/Where.d.ts +6 -0
  92. package/dist/shared-logic/src/Filter/combineFilters.d.ts +1 -0
  93. package/dist/shared-logic/src/Filter/types.d.ts +4 -2
  94. package/dist/shared-logic/src/FormatPanelConfig/types.d.ts +1 -3
  95. package/dist/shared-logic/src/Generate/query.d.ts +3 -3
  96. package/dist/shared-logic/src/JSQueryEngine/types.d.ts +8 -2
  97. package/dist/shared-logic/src/Query/Query.d.ts +22 -0
  98. package/dist/shared-logic/src/Query/buildFromQueryAttributes.d.ts +3 -3
  99. package/dist/shared-logic/src/Query/types.d.ts +109 -6
  100. package/dist/shared-logic/src/Result/Result.d.ts +2 -2
  101. package/dist/shared-logic/src/Result/formattedResultToSeries.d.ts +1 -1
  102. package/dist/shared-logic/src/TimeDimension/TimeDimension.d.ts +1 -3
  103. package/dist/shared-logic/src/ValueAlias/ValueAlias.d.ts +1 -2
  104. package/dist/shared-logic/src/VizzlyState/index.d.ts +0 -2
  105. package/dist/shared-logic/src/WaterfallChart/buildWaterfallChartRepresentation.d.ts +3 -7
  106. package/dist/shared-logic/src/WaterfallChart/getRepresentationData.d.ts +2 -5
  107. package/dist/shared-logic/src/WaterfallChart/getYTicks.d.ts +1 -1
  108. package/dist/shared-logic/src/WaterfallChart/types.d.ts +0 -1
  109. package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +1 -2
  110. package/dist/shared-logic/src/api/vizzly/aiHelpers/view.d.ts +1 -1
  111. package/dist/shared-logic/src/getComponentInterface.d.ts +1 -1
  112. package/dist/shared-logic/src/utils/feedback.d.ts +2 -2
  113. package/dist/shared-ui/src/api/useQueryEffect.d.ts +4 -5
  114. package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
  115. package/dist/shared-ui/src/base/Panel/Panel.d.ts +1 -1
  116. package/dist/shared-ui/src/base/Section/Section.d.ts +1 -1
  117. package/dist/shared-ui/src/base/Table/Table.d.ts +1 -1
  118. package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedSelectFilter.d.ts +1 -1
  119. package/dist/shared-ui/src/components/AdditionalFilter/FiltersModal.d.ts +1 -1
  120. package/dist/shared-ui/src/components/AdditionalFilter/asyncLoadFilterOptions.d.ts +1 -2
  121. package/dist/shared-ui/src/components/AdditionalFilter/labelWidth.d.ts +0 -15
  122. package/dist/shared-ui/src/components/AreaChart/AreaChartView.d.ts +1 -1
  123. package/dist/shared-ui/src/components/BarChartV2/BarChartV2View.d.ts +3 -3
  124. package/dist/shared-ui/src/components/BubbleChart/BubbleChartView.d.ts +1 -1
  125. package/dist/shared-ui/src/components/ChartHelper.d.ts +1 -1
  126. package/dist/shared-ui/src/components/ComboChart/ComboChartView.d.ts +1 -1
  127. package/dist/shared-ui/src/components/Component/types.d.ts +3 -2
  128. package/dist/shared-ui/src/components/Component.d.ts +2 -0
  129. package/dist/shared-ui/src/components/DataTable/DataTableRow.d.ts +1 -1
  130. package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +1 -2
  131. package/dist/shared-ui/src/components/DataTable/helpers.d.ts +1 -2
  132. package/dist/shared-ui/src/components/Drilldown/useDrilldownSelection.d.ts +1 -1
  133. package/dist/shared-ui/src/components/FormatPropsEditor/FormatPanelFromConfig.d.ts +1 -1
  134. package/dist/shared-ui/src/components/HeadlineStats/HeadlineStats.d.ts +2 -2
  135. package/dist/shared-ui/src/components/LineChart/LineChartView.d.ts +1 -1
  136. package/dist/shared-ui/src/components/MercatorMap/View.d.ts +1 -1
  137. package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +4 -4
  138. package/dist/shared-ui/src/components/Progress/ProgressView.d.ts +1 -1
  139. package/dist/shared-ui/src/components/ScatterChart/ScatterChartView.d.ts +1 -1
  140. package/dist/shared-ui/src/components/SingleStat/SingleStatView.d.ts +1 -1
  141. package/dist/shared-ui/src/components/Studio/StudioApp/Cell.d.ts +2 -0
  142. package/dist/shared-ui/src/components/Studio/StudioContexts.d.ts +1 -1
  143. package/dist/shared-ui/src/components/SunburstChart/SunburstChartView.d.ts +2 -5
  144. package/dist/shared-ui/src/components/SunburstChart/convertDataToSunburstData.d.ts +2 -8
  145. package/dist/shared-ui/src/components/WaterfallChart/WaterfallChartView.d.ts +3 -3
  146. package/dist/shared-ui/src/components/useComponentEffect.d.ts +2 -2
  147. package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +2 -2
  148. package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +14 -19
  149. package/dist/shared-ui/src/contexts/DashboardContext/context.d.ts +1 -4
  150. package/dist/shared-ui/src/contexts/DashboardContext/types.d.ts +41 -27
  151. package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +1 -1
  152. package/dist/shared-ui/src/headlessui/hooks/use-disposables.d.ts +1 -1
  153. package/dist/shared-ui/src/headlessui/utils/disposables.d.ts +1 -1
  154. package/dist/shared-ui/src/hooks/useVizzly.d.ts +1 -1
  155. package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/Rules/RulesModal.d.ts +1 -1
  156. package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/types.d.ts +4 -4
  157. package/dist/shared-ui/src/library/DataPanel/CustomMetricsInput.d.ts +1 -1
  158. package/dist/shared-ui/src/library/DataPanel/sections/index.d.ts +0 -1
  159. package/dist/shared-ui/src/library/Editor/useEditor.d.ts +2 -0
  160. package/dist/shared-ui/src/library/Library/ComponentInLibrary.d.ts +1 -0
  161. package/dist/shared-ui/src/library/Library/Library.d.ts +4 -0
  162. package/dist/shared-ui/src/library/Library/types.d.ts +2 -0
  163. package/dist/shared-ui/src/library/StylePanel/AxisPreferenceSection.d.ts +1 -1
  164. package/package.json +3 -4
  165. package/dist/charts/src/ScatterChart/types.d.ts +0 -32
  166. package/dist/charts/src/v2/components/DataLabel/DataLabel.d.ts +0 -11
  167. package/dist/charts/src/v2/components/DataLabel/index.d.ts +0 -1
  168. package/dist/charts/src/v2/components/GridColumns/GridRows.d.ts +0 -10
  169. package/dist/charts/src/v2/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -27
  170. package/dist/charts/src/v2/components/HorizontalBarChart/getTooltipDataForHorizontalChart.d.ts +0 -25
  171. package/dist/charts/src/v2/components/HorizontalBarChart/index.d.ts +0 -1
  172. package/dist/charts/src/v2/components/HorizontalBarChart/useScalesForHorizontalChart.d.ts +0 -4
  173. package/dist/charts/src/v2/components/QuadrantOverlay/QuadrantOverlay.d.ts +0 -10
  174. package/dist/charts/src/v2/components/QuadrantOverlay/index.d.ts +0 -2
  175. package/dist/charts/src/v2/components/RadarChart/RadarCrosshairCircle.d.ts +0 -19
  176. package/dist/charts/src/v2/components/RadarChart/shared.d.ts +0 -2
  177. package/dist/charts/src/v2/components/VerticalGoalLine/VerticalGoalLine.d.ts +0 -11
  178. package/dist/charts/src/v2/components/VerticalGoalLine/VerticalGoalLines.d.ts +0 -11
  179. package/dist/charts/src/v2/components/VerticalGoalLine/index.d.ts +0 -2
  180. package/dist/charts/src/v2/components/WaterfallChart/waterfall.utils.d.ts +0 -2
  181. package/dist/charts/src/v2/components/hooks/useGroupingAxisBaselineShift.d.ts +0 -11
  182. package/dist/charts/src/v2/utils/components/HorizontalBarGroup.d.ts +0 -28
  183. package/dist/charts/src/v2/utils/components/HorizontalBarStacked.d.ts +0 -23
  184. package/dist/charts/src/v2/utils/getRadarTooltipData.d.ts +0 -21
  185. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChartV2/toQueries.d.ts +0 -4
  186. package/dist/shared-logic/src/AliasFields/types.d.ts +0 -5
  187. package/dist/shared-logic/src/ChartsV2/convertToStackedPercentages.d.ts +0 -1
  188. package/dist/shared-logic/src/CustomField/AliasField/index.d.ts +0 -7
  189. package/dist/shared-logic/src/CustomField/CustomMetric/combineForCustomMetricFilters.d.ts +0 -2
  190. package/dist/shared-logic/src/CustomField/constants.d.ts +0 -15
  191. package/dist/shared-logic/src/DataLabel/index.d.ts +0 -17
  192. package/dist/shared-logic/src/HorizontalBarChartV2/attributesSchema.d.ts +0 -3
  193. package/dist/shared-logic/src/HorizontalBarChartV2/buildHorizontalBarChartRepresentation.d.ts +0 -41
  194. package/dist/shared-logic/src/HorizontalBarChartV2/constants.d.ts +0 -3
  195. package/dist/shared-logic/src/HorizontalBarChartV2/index.d.ts +0 -4
  196. package/dist/shared-logic/src/HorizontalBarChartV2/setAttributes.d.ts +0 -4
  197. package/dist/shared-logic/src/HorizontalBarChartV2/types.d.ts +0 -41
  198. package/dist/shared-logic/src/PivotConfigForMetricAxis/index.d.ts +0 -3
  199. package/dist/shared-logic/src/Result/formattedResultToSeriesForMetricAxis.d.ts +0 -25
  200. package/dist/shared-ui/src/components/HorizontalBarChartV2/HorizontalBarChartV2.d.ts +0 -3
  201. package/dist/shared-ui/src/components/HorizontalBarChartV2/HorizontalBarChartV2View.d.ts +0 -17
  202. package/dist/shared-ui/src/components/HorizontalBarChartV2/index.d.ts +0 -2
  203. package/dist/shared-ui/src/contexts/AliasFields/useInteractiveFields.d.ts +0 -6
  204. package/dist/shared-ui/src/contexts/GlobalProvider/GlobalProvider.test.d.ts +0 -1
  205. package/dist/shared-ui/src/errors/InvalidProperty.d.ts +0 -5
  206. package/dist/shared-ui/src/library/DataPanel/DateComparisonModal/DateComparisonModal.d.ts +0 -12
  207. package/dist/shared-ui/src/library/DataPanel/DateComparisonModal/Rules.d.ts +0 -11
  208. package/dist/shared-ui/src/library/DataPanel/DateComparisonModal/types.d.ts +0 -13
  209. package/dist/shared-ui/src/library/DataPanel/DateComparisonModal/useCustomMetric.d.ts +0 -17
  210. package/dist/shared-ui/src/library/DataPanel/sections/DateComparisonSection.d.ts +0 -8
  211. package/dist/shared-ui/src/library/StylePanel/Quadrant/QuadrantSection.d.ts +0 -6
  212. package/dist/shared-ui/src/types/dashboard.d.ts +0 -130
  213. /package/dist/charts/src/v2/components/{GridColumns → GridRows}/shared.d.ts +0 -0
  214. /package/dist/{shared-ui → dashboard}/src/contexts/SessionContext/getStrategy.d.ts +0 -0
  215. /package/dist/{shared-ui → dashboard}/src/contexts/SessionContext/index.d.ts +0 -0
  216. /package/dist/{shared-ui → dashboard}/src/contexts/useDashboardStrategy/runStrategy.d.ts +0 -0
  217. /package/dist/{shared-ui → dashboard}/src/contexts/useDashboardStrategy/types.d.ts +0 -0
  218. /package/dist/{shared-ui → dashboard}/src/contexts/useDashboardStrategy.d.ts +0 -0
  219. /package/dist/{shared-ui → dashboard}/src/contexts/useScheduledReports.d.ts +0 -0
  220. /package/dist/{shared-ui → dashboard}/src/errors/FailedToSaveError.d.ts +0 -0
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
+ import { VizzlyComponents } from '../../types';
2
3
  import { Component } from '../../../../shared-logic/src/Component/types';
3
4
  import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
4
- import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
5
- import { DashboardBehaviour, IdPrefix } from '../../contexts/DashboardBehaviour/types';
6
- import { VizzlyComponents } from '../../types';
5
+ import { IdPrefix, DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
7
6
  import { HeadlineStatsProps } from '../HeadlineStats/HeadlineStats';
7
+ import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
8
8
  export declare type BarChartV2ViewProps = Omit<VizzlyComponents.ViewProps<{
9
9
  attributes: Component.BarChartV2Attributes;
10
10
  }>, 'supportedTimeTruncFunctions' | 'supportedTransformationFunctions' | 'supportedAggregates'>;
@@ -11,6 +11,6 @@ export declare type BubbleChartViewProps = VizzlyComponents.ViewProps<ComponentT
11
11
  };
12
12
  declare const memoized: React.MemoExoticComponent<{
13
13
  (props: BubbleChartViewProps): JSX.Element | null;
14
- defaultProps: Pick<ComponentType.BubbleChartAttributes, "dimension" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "zMeasure" | "xMeasure" | "yMeasure">;
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
15
  }>;
16
16
  export default memoized;
@@ -31,6 +31,6 @@ export declare const formatYAxisLabel: (textOverride: TextOverride, axisLabelCon
31
31
  export declare const formatSeriesName: (result: ResultType | null | undefined, textOverride: TextOverride, type: ComponentType, id: string, labelFormat: LabelFormat) => (key: string) => string | undefined;
32
32
  export declare const convertValueToFormat: (value: any, numberFormatOptions?: {
33
33
  [id: string]: import("../contexts/DashboardBehaviour/types").NumberFormatter;
34
- } | undefined, format?: string | null | undefined, total?: number | undefined) => any;
34
+ } | undefined, format?: string | null | undefined) => any;
35
35
  export declare function getGradientAdjustedColor(rule: ConditionalFormattingBoundary, matchedHexValue: string, actualValue: number): string;
36
36
  export {};
@@ -10,7 +10,7 @@ export declare type ComboChartViewProps = Omit<VizzlyComponents.ViewProps<Compon
10
10
  id: string;
11
11
  idPrefix: IdPrefix;
12
12
  };
13
- declare const _default: React.MemoExoticComponent<(props: Pick<VizzlyComponents.ViewProps<Component.ComboChartAttributes, Component.Attributes>, "id" | "dataSetId" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "stacked" | "conditionalFormattingRules" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "barMeasure" | "lineMeasure" | "barDimension" | "lineDimension" | "dataSet" | "supportedAggregates" | "supportedTimeTruncFunctions" | "localFilters" | "queriesAreChanging" | "library" | "defaultFormats" | "setLocalFilters" | "setPartialAttributes" | "sm"> & {
13
+ declare const _default: React.MemoExoticComponent<(props: Pick<VizzlyComponents.ViewProps<Component.ComboChartAttributes, Component.Attributes>, "filter" | "order" | "offset" | "id" | "dataSetId" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "stacked" | "conditionalFormattingRules" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "barMeasure" | "lineMeasure" | "barDimension" | "lineDimension" | "dataSet" | "supportedAggregates" | "supportedTimeTruncFunctions" | "localFilters" | "queriesAreChanging" | "library" | "defaultFormats" | "setLocalFilters" | "setPartialAttributes" | "sm"> & {
14
14
  lineResult: ResultType | null;
15
15
  barResult: ResultType | null;
16
16
  id: string;
@@ -2,12 +2,14 @@ import React from 'react';
2
2
  import { VizzlyComponents } from '../../types';
3
3
  import { Component as ComponentType } from '../../../../shared-logic/src/Component/types';
4
4
  import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
5
+ import { Result } from '../../../../shared-logic/src/Result/types';
5
6
  import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
6
7
  import { MapPosition } from '../../../../charts/src/MercatorMap';
7
8
  import { DashboardBehaviour, IdPrefix } from '../../contexts/DashboardBehaviour/types';
8
9
  interface BaseChartProps<AttributesType> {
9
10
  runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal;
10
11
  component: ComponentType<AttributesType>;
12
+ setResults: (results: (Result | null)[]) => void;
11
13
  setLocalFilters: (localFilters: ComponentType['localFilters']) => void;
12
14
  globalFilters: AdditionalFilter[];
13
15
  dataSet: DataSetType;
@@ -44,7 +46,7 @@ export declare type LineChartV2Props = ChartPropsWithPartialAttributes<Component
44
46
  export declare type AreaChartV2Props = ChartPropsWithPartialAttributes<ComponentType.AreaChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.AreaChartV2Attributes>;
45
47
  export declare type BarChartV2Props = ChartPropsWithPartialAttributes<ComponentType.BarChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.BarChartV2Attributes>;
46
48
  export declare type RadarChartProps = ChartPropsWithPartialAttributes<ComponentType.RadarChartAttributes> & ChartPropsWithAttributesUpdate<ComponentType.RadarChartAttributes>;
47
- export declare type PieChartProps = ChartPropsWithPartialAttributes<ComponentType.PieChartAttributes> & ChartPropsWithAttributesUpdate<ComponentType.PieChartAttributes> & {
49
+ export declare type PieChartProps = ChartPropsWithPartialAttributes<ComponentType.PieChartAttributes> & {
48
50
  editor?: boolean;
49
51
  };
50
52
  export declare type SunburstChartProps = ChartPropsWithPartialAttributes<ComponentType.SunburstChartAttributes> & {
@@ -54,7 +56,6 @@ export declare type SingleStatProps = ChartPropsWithPartialAttributes<ComponentT
54
56
  export declare type ProgressProps = ChartPropsWithPartialAttributes<ComponentType.ProgressAttributes> & {
55
57
  height?: number;
56
58
  };
57
- export declare type HorizontalBarChartV2Props = ChartPropsWithPartialAttributes<ComponentType.HorizontalBarChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.HorizontalBarChartV2Attributes>;
58
59
  export declare type DataTableProps = ChartPropsWithPartialAttributes<ComponentType.DataTableAttributes> & ChartPropsWithAttributesUpdate<ComponentType.DataTableAttributes> & {
59
60
  displayColumns?: string[];
60
61
  onViewClick?: (data: ComponentType.ChartOnViewClick, query?: ComponentType.OnViewClickQuery) => void;
@@ -2,10 +2,12 @@
2
2
  import { VizzlyComponents } from '../types';
3
3
  import { AdditionalFilter } from '../../../shared-logic/src/AdditionalFilter/types';
4
4
  import { Component as ComponentType } from '../../../shared-logic/src/Component/types';
5
+ import { Result } from '../../../shared-logic/src/Result/types';
5
6
  export declare type ComponentProps = {
6
7
  id: string;
7
8
  component: ComponentType;
8
9
  runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal;
10
+ setResults: (results: (Result | null)[]) => void;
9
11
  updateComponentAttributes: (attributes: ComponentType.Attributes) => void;
10
12
  isBeingSizeAdjusted: boolean;
11
13
  library?: boolean;
@@ -50,7 +50,7 @@ export declare function getXDimensions(dimension: QueryAttributes.Dimension[]):
50
50
  export declare function buildUpdatedClickSettings(drilldown: Component.TableDrilldown, functionsToCheck: FieldLogic.DecodingFunctionsToCheck, selectedRow: SelectedRow, subsetValue: string | number, clickedValue: string | number, key: string, dimension: QueryAttributes.Dimension[]): {
51
51
  value: {
52
52
  fieldId: string;
53
- value: React.ReactText;
53
+ value: string | number;
54
54
  function: string;
55
55
  aggregate: string;
56
56
  datum: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Result as ResultType } from '../../../../shared-logic/src/Result/types';
3
2
  import { TableRepresentation } from '../../../../shared-logic/src/DataTable/types';
4
3
  import { DataType } from '../../../../shared-logic/src/Field/types';
@@ -31,7 +30,7 @@ export declare const buildTableRepresentation: ({ type, result, exportNames, pre
31
30
  textOverride?: TextOverride | undefined;
32
31
  hiddenFields?: string[] | undefined;
33
32
  valueAlias?: {
34
- [id: string]: import("react").ReactText;
33
+ [id: string]: string | number;
35
34
  } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
36
35
  }) => TableRepresentation | null;
37
36
  export declare const formatTableContent: (fields: Array<{
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare function hasPrevious(offset: number): boolean;
3
2
  export declare function hasNext({ limit, total }: {
4
3
  offset: number;
@@ -14,7 +13,7 @@ export declare const buildOnChange: (props: {
14
13
  clicked: {
15
14
  fieldId: string;
16
15
  function: string;
17
- value: import("react").ReactText;
16
+ value: string | number;
18
17
  };
19
18
  };
20
19
  export declare function nextOffset(offset?: number, limit?: number): number | undefined;
@@ -4,7 +4,7 @@ import { DataSet } from '../../../../shared-logic/src/DataSet/types';
4
4
  import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
5
5
  import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
6
6
  import { Result } from '../../../../shared-logic/src/Result/types';
7
- export declare type AcceptedDrilldownAttributes = Component.PieChartAttributes | Component.BarChartAttributes | Component.HorizontalBarChartAttributes | Component.BarChartV2Attributes | Component.HorizontalBarChartV2Attributes;
7
+ export declare type AcceptedDrilldownAttributes = Component.PieChartAttributes | Component.BarChartAttributes | Component.HorizontalBarChartAttributes | Component.BarChartV2Attributes;
8
8
  export declare function useDrilldownSelection(results: (Result | null)[], attributes: AcceptedDrilldownAttributes, setAttributes: (newAttributes: AcceptedDrilldownAttributes) => void, dataSet: DataSet, queryEngineConfig: QueryEngineConfig, hasDateTimeInDimension?: boolean): {
9
9
  onDrilldownChange: ({ existingField, newField }: Drilldown.SelectedDrilldown) => void;
10
10
  setDrilldownSelections: import("react").Dispatch<import("react").SetStateAction<Drilldown.SelectedDrilldown[]>>;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
3
2
  import { VizzlyComponents } from '../../types';
3
+ import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
4
4
  declare type Props = Omit<VizzlyComponents.ComponentOverrides.Props.SectionProps, 'section'> & {
5
5
  formatPanelConfig: ReturnType<DashboardBehaviour['formatPanel']>;
6
6
  };
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { AreaChartProps, AreaChartV2Props, BarChartProps, BarChartV2Props, FunnelChartProps, LineChartProps, LineChartV2Props, BubbleChartV2Props, HorizontalBarChartV2Props } from '../Component/types';
3
- export declare type HeadlineStatsProps = LineChartProps | BarChartProps | AreaChartProps | FunnelChartProps | LineChartV2Props | BarChartV2Props | BubbleChartV2Props | AreaChartV2Props | HorizontalBarChartV2Props;
2
+ import { AreaChartProps, AreaChartV2Props, BarChartProps, BarChartV2Props, FunnelChartProps, LineChartProps, LineChartV2Props, BubbleChartV2Props } from '../Component/types';
3
+ export declare type HeadlineStatsProps = LineChartProps | BarChartProps | AreaChartProps | FunnelChartProps | LineChartV2Props | BarChartV2Props | BubbleChartV2Props | AreaChartV2Props;
4
4
  export declare const HeadlineStats: FunctionComponent<HeadlineStatsProps>;
@@ -20,7 +20,7 @@ declare const memoized: React.NamedExoticComponent<{
20
20
  };
21
21
  localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[];
22
22
  setLocalFilters: (localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void;
23
- setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) => void;
23
+ setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) => void;
24
24
  sm?: boolean | undefined;
25
25
  dataSet: import("../../../../dashboard/src").DataSet<import("../../../../dashboard/src").DataSet.Field>;
26
26
  } & {
@@ -17,7 +17,7 @@ declare const _default: (props: {
17
17
  };
18
18
  localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[];
19
19
  setLocalFilters: (localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void;
20
- setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) => void;
20
+ setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) => void;
21
21
  sm?: boolean | undefined;
22
22
  dataSet: import("../../../../dashboard/src").DataSet<import("../../../../dashboard/src").DataSet.Field>;
23
23
  } & {
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import * as OnViewClick from '../../../../shared-logic/src/Callbacks/cell.funcs';
2
+ import { VizzlyComponents } from '../../types';
3
3
  import { Component } from '../../../../shared-logic/src/Component/types';
4
- import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
5
4
  import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
6
- import { VizzlyComponents } from '../../types';
5
+ import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
6
+ import * as OnViewClick from '../../../../shared-logic/src/Callbacks/cell.funcs';
7
7
  export declare type PieChartViewProps = VizzlyComponents.ViewProps<Component.PieChartAttributes> & {
8
8
  library?: boolean;
9
9
  numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
@@ -16,6 +16,6 @@ export declare type PieChartViewProps = VizzlyComponents.ViewProps<Component.Pie
16
16
  export declare const defaultProps: Omit<Component.PieChartAttributes, 'dataSetId'>;
17
17
  declare const memoized: React.MemoExoticComponent<{
18
18
  (props: PieChartViewProps): JSX.Element;
19
- defaultProps: Pick<Component.PieChartAttributes, "measure" | "dimension" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "legend" | "parameters" | "drilldownOptions" | "labels" | "labelFormat" | "labelsAsPercentage">;
19
+ defaultProps: Pick<Component.PieChartAttributes, "filter" | "order" | "offset" | "measure" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "legend" | "parameters" | "drilldownOptions" | "labelFormat" | "labelsAsPercentage" | "labels">;
20
20
  }>;
21
21
  export default memoized;
@@ -9,6 +9,6 @@ export declare type ProgressViewProps = Omit<VizzlyComponents.ViewProps<Componen
9
9
  export declare const defaultProps: Omit<Component.ProgressAttributes, 'dataSetId'>;
10
10
  declare const ProgressView: {
11
11
  (props: ProgressViewProps): JSX.Element;
12
- defaultProps: Pick<Component.ProgressAttributes, "measure" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "prefixes" | "goals" | "progressType" | "postfixes" | "formatter">;
12
+ defaultProps: Pick<Component.ProgressAttributes, "filter" | "offset" | "measure" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "prefixes" | "goals" | "progressType" | "postfixes" | "formatter">;
13
13
  };
14
14
  export default ProgressView;
@@ -11,6 +11,6 @@ export declare type ScatterChartViewProps = VizzlyComponents.ViewProps<Component
11
11
  };
12
12
  declare const memoized: React.MemoExoticComponent<{
13
13
  (props: ScatterChartViewProps): JSX.Element | null;
14
- defaultProps: Pick<ComponentType.ScatterChartAttributes, "dimension" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "xMeasure" | "yMeasure" | "quadrants">;
14
+ defaultProps: Pick<ComponentType.ScatterChartAttributes, "filter" | "order" | "offset" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "xMeasure" | "yMeasure">;
15
15
  }>;
16
16
  export default memoized;
@@ -15,6 +15,6 @@ export declare type SingleStatViewProps = Omit<VizzlyComponents.ViewProps<Compon
15
15
  export declare const defaultProps: Omit<Component.SingleStatAttributes, 'dataSetId'>;
16
16
  declare const SingleStatView: {
17
17
  (props: SingleStatViewProps): JSX.Element;
18
- defaultProps: Pick<Component.SingleStatAttributes, "measure" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "direction" | "fontSize" | "prefixes" | "postfixes" | "formatter" | "deltaTimeDimension">;
18
+ defaultProps: Pick<Component.SingleStatAttributes, "direction" | "filter" | "fontSize" | "offset" | "measure" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "prefixes" | "postfixes" | "formatter" | "deltaTimeDimension">;
19
19
  };
20
20
  export default SingleStatView;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { VizzlyComponents } from '../../../types';
3
3
  import { Component as ComponentType } from '../../../../../shared-logic/src/Component/types';
4
+ import { Result } from '../../../../../shared-logic/src/Result/types';
4
5
  import { DownloadType, FileFormat } from '../../../api/useQueryEffect/download';
5
6
  import { Display } from '../../../../../shared-logic/src/Display/types';
6
7
  declare type EmptyCellProps = {
@@ -25,6 +26,7 @@ declare type PopulatedCellProps = {
25
26
  fileFormat: FileFormat;
26
27
  }) => void;
27
28
  testId: string;
29
+ setResults: (results: (Result | null)[]) => void;
28
30
  updateComponentAttributes: (attributes: ComponentType.Attributes) => void;
29
31
  isBeingSizeAdjusted: boolean;
30
32
  setComponentReports: (reports: ComponentType['reports']) => void;
@@ -27,6 +27,7 @@ export declare type StudioProps = {
27
27
  onViewClick?: (data: Component.OnViewClick, query?: Component.OnViewClickQuery) => void;
28
28
  renderTableCell?: (data: Component.RenderTableCell) => React.ReactNode | string | undefined;
29
29
  onReset: () => Promise<Dashboard | null>;
30
+ onDashboardUpdate?: (dashboard: Dashboard) => void;
30
31
  identityConfig: IdentityConfig;
31
32
  dashboard: Dashboard;
32
33
  children?: ReactNode;
@@ -38,6 +39,5 @@ export declare type StudioProps = {
38
39
  globalLibraries: GlobalLibrary.Base[];
39
40
  };
40
41
  saving: SavingState;
41
- dashboardHash?: string;
42
42
  };
43
43
  export declare const StudioContexts: FunctionComponent<StudioProps>;
@@ -1,16 +1,13 @@
1
1
  import React from 'react';
2
2
  import { Component } from '../../../../shared-logic/src/Component/types';
3
3
  import { FormatResultArgs } from '../../../../shared-logic/src/Result/formatResult';
4
- import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
5
4
  import { VizzlyComponents } from '../../types';
6
- export declare type SunburstProps = Omit<VizzlyComponents.ViewProps<{
5
+ export declare type SunburstProps = Pick<VizzlyComponents.ViewProps<{
7
6
  attributes: Component.SunburstChartAttributes;
8
- }>, 'defaultFormats' | 'sm' | 'supportedAggregates' | 'supportedTimeTruncFunctions' | 'supportedTransformationFunctions'> & {
7
+ }>, 'attributes' | 'result' | 'dataSet' | 'localFilters' | 'setLocalFilters' | 'setPartialAttributes' | 'library'> & {
9
8
  formatResultParams: FormatResultArgs;
10
9
  width: number;
11
10
  height: number;
12
- numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
13
- dateTimeFormatOptions: DashboardBehaviour['dateTimeFormatOptions'];
14
11
  };
15
12
  export declare const SunburstChartView: (props: SunburstProps) => JSX.Element;
16
13
  declare const memoized: React.MemoExoticComponent<(props: SunburstProps) => JSX.Element>;
@@ -1,6 +1,5 @@
1
- import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
2
1
  import { FormattedResult } from '../../../../shared-logic/src/Result/types';
3
- export declare type SunburstNode = {
2
+ declare type SunburstNode = {
4
3
  name: string;
5
4
  children?: SunburstNode[];
6
5
  hierarchy: string;
@@ -8,10 +7,5 @@ export declare type SunburstNode = {
8
7
  parents: string[];
9
8
  color: string;
10
9
  };
11
- declare type convertDataToSunburstDataArgs = {
12
- formattedData: FormattedResult;
13
- metricAttribute: QueryAttributes.Measure;
14
- groupingAttributes: QueryAttributes.Dimension[];
15
- };
16
- export declare const convertDataToSunburstData: ({ formattedData, metricAttribute, groupingAttributes, }: convertDataToSunburstDataArgs) => SunburstNode;
10
+ export declare const convertDataToSunburstData: (formattedData: FormattedResult) => SunburstNode;
17
11
  export {};
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- import { Component } from '../../../../shared-logic/src/Component/types';
1
+ import React from 'react';
3
2
  import { VizzlyComponents } from '../../types';
3
+ import { Component } from '../../../../shared-logic/src/Component/types';
4
4
  export declare type WaterfallChartViewProps = VizzlyComponents.ViewProps<Component.WaterfallChartAttributes>;
5
- declare const _default: import("react").NamedExoticComponent<VizzlyComponents.ViewProps<Component.WaterfallChartAttributes, import("../../../../shared-logic/src/Component/types").Component.Attributes>>;
5
+ declare const _default: React.NamedExoticComponent<VizzlyComponents.ViewProps<Component.WaterfallChartAttributes, import("../../../../shared-logic/src/Component/types").Component.Attributes>>;
6
6
  export default _default;
@@ -2,9 +2,9 @@ import { Component } from '../../../shared-logic/src/Component/types';
2
2
  import { DataSet as DataSetType } from '../../../shared-logic/src/DataSet/types';
3
3
  import { VizzlyComponents } from '../types';
4
4
  import { FilterConfig } from '../../../shared-logic/src/AdditionalFilter/types';
5
+ import { Result } from '../../../shared-logic/src/Result/types';
5
6
  import { QueryEngineConfig } from '../../../shared-logic/src/QueryEngineConfig/types';
6
7
  import { UseVariableState } from '../contexts/Variables/types';
7
- export declare const useComponentEffect: <T extends Component.Attributes>(attributes: T, dataSet: DataSetType, queryEngineConfig: QueryEngineConfig, filterConfig: FilterConfig, updateComponentAttributes: (attributes: T) => void, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, variables?: UseVariableState | undefined) => {
8
+ export declare const useComponentEffect: <T extends Component.Attributes>(attributes: T, dataSet: DataSetType, queryEngineConfig: QueryEngineConfig, filterConfig: FilterConfig, updateComponentAttributes: (attributes: T) => void, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, setResults: (results: (Result | null)[]) => void, variables?: UseVariableState | undefined) => {
8
9
  queriesAreChanging: boolean;
9
- results: (import("../../../shared-logic/src/Result/types").Result | null)[];
10
10
  };
@@ -1,9 +1,9 @@
1
1
  import React, { FunctionComponent } from 'react';
2
+ import { DashboardBehaviour as DashboardBehaviourType, FilterLibrary, LabelFormat, TextOverride } from './types';
2
3
  import { Component, ComponentType } from '../../../../shared-logic/src/Component/types';
3
- import { Dashboard } from '../../../../shared-logic/src/Dashboard';
4
4
  import { VizzlyComponents } from '../../types';
5
+ import { Dashboard } from '../../../../shared-logic/src/Dashboard';
5
6
  import { UseVariableState } from '../Variables/types';
6
- import { DashboardBehaviour as DashboardBehaviourType, FilterLibrary, LabelFormat, TextOverride } from './types';
7
7
  export interface DashboardBehaviourProps {
8
8
  children: React.ReactNode;
9
9
  excludeComponentTypes?: ComponentType[];
@@ -1,23 +1,23 @@
1
- import React from 'react';
2
- import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
3
- import { programmaticDashboardCallback } from '../../../../shared-logic/src/Callbacks/types';
4
- import { Component, ComponentType } from '../../../../shared-logic/src/Component/types';
5
- import { CustomView } from '../../../../shared-logic/src/CustomView/types';
6
- import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
1
+ import { FeatureToggles } from '../../../../shared-logic/src/FeatureToggle/types';
2
+ import { ComponentType } from '../../../../shared-logic/src/Component/types';
3
+ import { VizzlyComponents } from '../../types';
4
+ import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
7
5
  import { DataPanelConfig, DataPanelSection } from '../../../../shared-logic/src/DataPanelConfig/types';
6
+ import { FormatPanelConfig, FormatPanelSection } from '../../../../shared-logic/src/FormatPanelConfig/types';
8
7
  import { DataSet } from '../../../../shared-logic/src/DataSet/types';
8
+ import { Component } from '../../../../shared-logic/src/Component/types';
9
+ import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
10
+ import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
9
11
  import { DateTimeFilterOptions } from '../../../../shared-logic/src/DateTime/types';
10
- import { FeatureToggles } from '../../../../shared-logic/src/FeatureToggle/types';
11
- import { FormatPanelConfig, FormatPanelSection } from '../../../../shared-logic/src/FormatPanelConfig/types';
12
- import { PDFSettings } from '../../../../shared-logic/src/PDFGenerator/types';
13
- import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
14
12
  import { VizzlyTranslations } from '../../../../shared-logic/src/Translations/translation.types';
13
+ import { PDFSettings } from '../../../../shared-logic/src/PDFGenerator/types';
14
+ import { programmaticDashboardCallback } from '../../../../shared-logic/src/Callbacks/types';
15
+ import React from 'react';
16
+ import { CustomView } from '../../../../shared-logic/src/CustomView/types';
15
17
  import { ValueAlias as ValueAliasType } from '../../../../shared-logic/src/ValueAlias/types';
16
18
  import { VariablesCallback } from '../../../../shared-logic/src/Variables/types';
17
- import { ClickSettingTypes } from '../../hooks/types';
18
- import { VizzlyComponents } from '../../types';
19
19
  import { UseVariableState } from '../Variables/types';
20
- import { CustomField } from '../../../../shared-logic/src/CustomField/types';
20
+ import { ClickSettingTypes } from '../../hooks/types';
21
21
  declare type OverrideDeveloperInfo = {
22
22
  overrideKey: string;
23
23
  componentProps: any;
@@ -29,7 +29,7 @@ export declare type DateTimeFormatter = {
29
29
  description: string;
30
30
  };
31
31
  export declare type NumberFormatter = {
32
- formatter: (number: number | undefined | null, noValueReplacement?: string, total?: number) => string;
32
+ formatter: (number: number | undefined | null, noValueReplacement?: string) => string;
33
33
  description: string;
34
34
  };
35
35
  export declare type Variables = VariablesCallback;
@@ -127,11 +127,6 @@ export declare type DashboardBehaviour = {
127
127
  pdfSettings?: PDFSettings;
128
128
  labelFormat: LabelFormat;
129
129
  timeZone?: string;
130
- onDashboardUpdate?: (dashboard: Dashboard, meta: {
131
- hasUnsavedChanges: boolean;
132
- }) => void;
133
- updateDashboardHash?: (dashboard: Dashboard) => void;
134
- customFields?: (dataSet: DataSet) => Array<CustomField>;
135
130
  };
136
131
  export declare type TextOverride = (key: string, defaultValue: string, options?: TranslationOptions) => string;
137
132
  export declare type FilterLibrary = (data: Component[]) => Component[];
@@ -11,10 +11,7 @@ export interface WithDashboardContextProps {
11
11
  trackEvent?: trackEventCallback;
12
12
  theme?: VizzlyTheming.Base;
13
13
  componentEditor?: StudioState['componentEditor'];
14
- onDashboardUpdate?: (dashboard: Dashboard, meta: {
15
- hasUnsavedChanges: boolean;
16
- }) => void;
17
- dashboardHash?: string;
14
+ onDashboardUpdate?: (dashboard: Dashboard) => void;
18
15
  }
19
16
  export declare const DashboardContext: React.Context<ProvidedValues>;
20
17
  export declare const DashboardContextProvider: React.FC<WithDashboardContextProps>;
@@ -1,27 +1,28 @@
1
1
  import { Dispatch } from 'react';
2
- import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
3
- import { CustomField } from '../../../../shared-logic/src/CustomField/types';
2
+ import { Component } from '../../../../shared-logic/src/Component/types';
3
+ import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
4
+ import { SetDataSetsAction } from './logic/types';
5
+ import { VizzlyComponents, trackEventCallback } from '../../types';
6
+ import { StoredTheme } from '../../../../shared-logic/src/Theme/types';
4
7
  import { DataSet } from '../../../../shared-logic/src/DataSet/types';
5
- import { HeaderComponent } from '../../../../shared-logic/src/Header/types';
8
+ import { Result } from '../../../../shared-logic/src/Result/types';
6
9
  import { Report } from '../../../../shared-logic/src/Report/types';
7
- import { StoredTheme } from '../../../../shared-logic/src/Theme/types';
10
+ import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
11
+ import { DashboardBehaviour } from '../DashboardBehaviour/types';
12
+ import { HeaderComponent } from '../../../../shared-logic/src/Header/types';
8
13
  import { SavingState } from '../../../../shared-logic/src/VizzlyState';
9
- import { Component } from '../../../../shared-logic/src/Component/types';
10
- import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
11
- import { ItemPickerProps } from '../../components/ItemPicker/ItemPicker';
14
+ import { CustomField } from '../../../../shared-logic/src/CustomField/types';
12
15
  import { DeleteModalProps } from '../../components/Modals/DeleteModal';
13
16
  import { PrefixModalProps } from '../../components/Table/PrefixModal';
14
- import { AdvancedFilterModalProps } from '../../library/DataPanel/AdvancedFilter/types';
15
17
  import { BaseCustomMetricModals } from '../../library/DataPanel/CustomFieldInput/types';
16
18
  import { DrilldownModalProps } from '../../library/DataPanel/DrilldownInput/DrilldownModal';
17
19
  import { TableDrilldownModalProps } from '../../library/DataPanel/DrilldownInput/TableDrilldownModal';
20
+ import { AdvancedFilterModalProps } from '../../library/DataPanel/AdvancedFilter/types';
18
21
  import { ProgressModalProps } from '../../library/DataPanel/Progress/types';
19
- import { TrendLinesModalProps } from '../../library/DataPanel/Trends/types';
20
22
  import { ConditionalFormattingModalProps } from '../../library/StylePanel/ConditionalFormatting/types';
23
+ import { TrendLinesModalProps } from '../../library/DataPanel/Trends/types';
21
24
  import { GoalLineModalProps } from '../../library/StylePanel/GoalLine/types';
22
- import { VizzlyComponents, trackEventCallback } from '../../types';
23
- import { DashboardBehaviour } from '../DashboardBehaviour/types';
24
- import { SetDataSetsAction } from './logic/types';
25
+ import { ItemPickerProps } from '../../components/ItemPicker/ItemPicker';
25
26
  export declare enum ModalType {
26
27
  Drilldown = "drilldown",
27
28
  AdvancedFilter = "advancedFilter",
@@ -39,28 +40,26 @@ export declare enum ModalType {
39
40
  TrendLines = "trendLines",
40
41
  GoalLines = "goalLines",
41
42
  ItemPicker = "itemPicker",
42
- CustomMetricBuilder = "customMetricBuilder",
43
- DateComparison = "dateComparison"
43
+ CustomMetricBuilder = "customMetricBuilder"
44
44
  }
45
45
  export declare type EditorModalPropsMap = {
46
+ [ModalType.Drilldown]: DrilldownModalProps;
46
47
  [ModalType.AdvancedFilter]: AdvancedFilterModalProps;
48
+ [ModalType.Prefix]: PrefixModalProps;
47
49
  [ModalType.ConditionalCustomMetric]: BaseCustomMetricModals<CustomField>;
48
- [ModalType.ConditionalFormatting]: ConditionalFormattingModalProps;
49
- [ModalType.CustomMetricBuilder]: BaseCustomMetricModals<CustomField>;
50
- [ModalType.DateCalculationCustomMetric]: BaseCustomMetricModals<CustomField>;
51
- [ModalType.DateComparison]: BaseCustomMetricModals<CustomField>;
52
- [ModalType.DeleteCustomMetric]: DeleteModalProps;
53
- [ModalType.Drilldown]: DrilldownModalProps;
54
- [ModalType.GoalLines]: GoalLineModalProps;
55
- [ModalType.ItemPicker]: ItemPickerProps;
56
- [ModalType.MathCustomMetric]: BaseCustomMetricModals<CustomField>;
57
50
  [ModalType.PercentageCustomMetric]: BaseCustomMetricModals<CustomField>;
58
- [ModalType.Prefix]: PrefixModalProps;
59
- [ModalType.Progress]: ProgressModalProps;
60
- [ModalType.RoundedNumberCustomMetric]: BaseCustomMetricModals<CustomField>;
51
+ [ModalType.MathCustomMetric]: BaseCustomMetricModals<CustomField>;
61
52
  [ModalType.RulesCustomMetric]: BaseCustomMetricModals<CustomField>;
53
+ [ModalType.RoundedNumberCustomMetric]: BaseCustomMetricModals<CustomField>;
54
+ [ModalType.DateCalculationCustomMetric]: BaseCustomMetricModals<CustomField>;
55
+ [ModalType.DeleteCustomMetric]: DeleteModalProps;
62
56
  [ModalType.TableDrilldown]: TableDrilldownModalProps;
57
+ [ModalType.Progress]: ProgressModalProps;
58
+ [ModalType.ConditionalFormatting]: ConditionalFormattingModalProps;
63
59
  [ModalType.TrendLines]: TrendLinesModalProps;
60
+ [ModalType.GoalLines]: GoalLineModalProps;
61
+ [ModalType.ItemPicker]: ItemPickerProps;
62
+ [ModalType.CustomMetricBuilder]: BaseCustomMetricModals<CustomField>;
64
63
  };
65
64
  declare type ModalChanges<T extends ModalType> = {
66
65
  modal: T;
@@ -210,6 +209,21 @@ export declare type RemoveComponentFromLibraryAction = {
210
209
  type: 'removeComponentFromLibrary';
211
210
  libraryIndex: number;
212
211
  };
212
+ export declare type SetResultsForComponentInDisplayAction = {
213
+ type: 'setResultsForComponentInDisplay';
214
+ rowIndex: number;
215
+ cellIndex: number;
216
+ results: (Result | null)[];
217
+ };
218
+ export declare type SetResultsForComponentInEditorAction = {
219
+ type: 'setResultsForComponentInEditor';
220
+ results: (Result | null)[];
221
+ };
222
+ export declare type SetResultsForComponentInLibraryAction = {
223
+ type: 'setResultsForComponentInLibrary';
224
+ results: (Result | null)[];
225
+ libraryIndex: number;
226
+ };
213
227
  export declare type SetLocalFiltersAction = {
214
228
  type: 'setLocalFilters';
215
229
  localFilters: AdditionalFilter[];
@@ -270,7 +284,7 @@ export declare type StartEditorAction = {
270
284
  libraryIndex: number | null;
271
285
  component: Component | null;
272
286
  };
273
- export declare type StudioAction = InitAction | SetDashboardAction | ImportDashboardAction | SaveComponentAction | ClearModalAction | InsertRowAction | AppendCellAction | AddHeaderRowAction | SetHeaderComponentAction | RemoveCellAction | ClearCellAction | RemoveRowAction | AddDataSetAction | RemoveDataSetAction | SetDataSetsAction | SetLocalFiltersAction | SetAttributesAction | UpdateEditorComponentAction | StartEditingComponentAction | StartPickingComponentFromLibraryForDisplayAction | PickComponentFromLibraryForDisplayAction | SetThemeAction | SetGlobalFiltersAction | ChangePreviewModeAction | UpdateDisplayComponentAttributesAction | UpdateComponentLibraryAttributesAction | RemoveComponentFromLibraryAction | AddCustomComponentAction | SetColSpansAction | SetRowHeightAction | SetComponentReportsAction | SwapComponentsAction | AddComponentToLibrary | StartEditorAction | MoveRowAction | SetActiveModalAction | SetGeneratingPDFAction;
287
+ export declare type StudioAction = InitAction | SetDashboardAction | ImportDashboardAction | SaveComponentAction | ClearModalAction | InsertRowAction | AppendCellAction | AddHeaderRowAction | SetHeaderComponentAction | RemoveCellAction | ClearCellAction | RemoveRowAction | AddDataSetAction | RemoveDataSetAction | SetDataSetsAction | SetLocalFiltersAction | SetAttributesAction | UpdateEditorComponentAction | SetResultsForComponentInDisplayAction | SetResultsForComponentInEditorAction | SetResultsForComponentInLibraryAction | StartEditingComponentAction | StartPickingComponentFromLibraryForDisplayAction | PickComponentFromLibraryForDisplayAction | SetThemeAction | SetGlobalFiltersAction | ChangePreviewModeAction | UpdateDisplayComponentAttributesAction | UpdateComponentLibraryAttributesAction | RemoveComponentFromLibraryAction | AddCustomComponentAction | SetColSpansAction | SetRowHeightAction | SetComponentReportsAction | SwapComponentsAction | AddComponentToLibrary | StartEditorAction | MoveRowAction | SetActiveModalAction | SetGeneratingPDFAction;
274
288
  export declare type PipelineTransformationOptions = {
275
289
  dashboardFilters: DashboardBehaviour['dashboardFilters'];
276
290
  onDashboardFilterChange: DashboardBehaviour['onDashboardFilterChange'];
@@ -20,7 +20,7 @@ export declare let Switch: (<TTag extends React.ElementType<any> = "button">(pro
20
20
  onChange?(checked: boolean): void;
21
21
  name?: string | undefined;
22
22
  value?: string | undefined;
23
- }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "value" | "children" | "className" | "as" | "refName">> & {
23
+ }) | (Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "value" | "className" | "as" | "refName">> & {
24
24
  as?: TTag | undefined;
25
25
  children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: SwitchRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
26
26
  refName?: string | undefined;