@vizzly/dashboard 0.12.8 → 0.12.9-dev-4acae6e01ea3c8b49445c5648d24d13a490724f5

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 (108) hide show
  1. package/dist/charts/src/BarChart/BarChart.d.ts +3 -2
  2. package/dist/charts/src/XYChart/Axis/axis.d.ts +1 -1
  3. package/dist/charts/src/XYChart/logic/index.d.ts +3 -3
  4. package/dist/charts/src/XYChart/types.d.ts +4 -1
  5. package/dist/charts/src/styles/color.functions.d.ts +2 -0
  6. package/dist/charts/src/types.d.ts +1 -1
  7. package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +54 -18
  8. package/dist/dashboard/src/types.d.ts +3 -2
  9. package/dist/index.js +1 -1
  10. package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
  11. package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
  12. package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
  13. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
  14. package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
  15. package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
  16. package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
  17. package/dist/services/src/index.d.ts +11 -8
  18. package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +1 -1
  19. package/dist/shared-logic/src/Callbacks/cell.funcs.d.ts +1 -1
  20. package/dist/shared-logic/src/Component/Component.d.ts +1 -1
  21. package/dist/shared-logic/src/Component/setAttributes.d.ts +1 -1
  22. package/dist/shared-logic/src/Component/sharedSchemas.d.ts +1 -3
  23. package/dist/shared-logic/src/Component/types.d.ts +12 -5
  24. package/dist/shared-logic/src/Component/upcast.d.ts +1 -1
  25. package/dist/shared-logic/src/{Table → ConditionalFormatting}/attributesSchema.d.ts +1 -0
  26. package/dist/shared-logic/src/CustomField/CustomField.d.ts +0 -1
  27. package/dist/shared-logic/src/CustomView/CustomView.d.ts +5 -0
  28. package/dist/shared-logic/src/{CustomComponent → CustomView}/index.d.ts +2 -2
  29. package/dist/shared-logic/src/CustomView/types.d.ts +33 -0
  30. package/dist/shared-logic/src/Drilldown/Drilldown.d.ts +23 -0
  31. package/dist/shared-logic/src/Field/Field.d.ts +7 -0
  32. package/dist/shared-logic/src/Query/Query.d.ts +5 -1
  33. package/dist/shared-logic/src/QueryEngine/types.d.ts +35 -0
  34. package/dist/shared-logic/src/QueryEngineConfig/types.d.ts +2 -12
  35. package/dist/shared-logic/src/SimpleInsecureHash/index.d.ts +1 -1
  36. package/dist/shared-logic/src/ValueAlias/ValueAlias.d.ts +6 -0
  37. package/dist/shared-logic/src/ValueAlias/types.d.ts +5 -0
  38. package/dist/shared-logic/src/VizzlyState/index.d.ts +6 -0
  39. package/dist/shared-logic/src/api/index.d.ts +1 -1
  40. package/dist/shared-logic/src/api/queryEngine/status.d.ts +2 -2
  41. package/dist/shared-logic/src/getComponentInterface.d.ts +1 -1
  42. package/dist/shared-logic/src/utils/generateId.d.ts +1 -0
  43. package/dist/shared-logic/src/utils/stringHelper.d.ts +1 -0
  44. package/dist/shared-ui/src/base/Accordion.d.ts +0 -2
  45. package/dist/shared-ui/src/base/CustomRenderGuard.d.ts +4 -1
  46. package/dist/shared-ui/src/base/DateTime/CustomRangePicker.d.ts +0 -5
  47. package/dist/shared-ui/src/base/DateTime/dateTimeFilter.funcs.d.ts +6 -1
  48. package/dist/shared-ui/src/base/Icons/SVGs.d.ts +5 -0
  49. package/dist/shared-ui/src/base/Icons.d.ts +31 -57
  50. package/dist/shared-ui/src/base/ListView/Item.d.ts +2 -1
  51. package/dist/shared-ui/src/base/ListView/ListView.d.ts +1 -1
  52. package/dist/shared-ui/src/base/Modal.d.ts +2 -0
  53. package/dist/shared-ui/src/base/MultiSelect.d.ts +0 -2
  54. package/dist/shared-ui/src/base/PopoverMenu/PopoverMenu.d.ts +8 -2
  55. package/dist/shared-ui/src/base/Select/Wrapper.d.ts +1 -2
  56. package/dist/shared-ui/src/base/Select.d.ts +1 -2
  57. package/dist/shared-ui/src/base/classNames.d.ts +1 -1
  58. package/dist/shared-ui/src/base/layout/Flex.styles.d.ts +2 -0
  59. package/dist/shared-ui/src/base/useFuzzySearch.d.ts +1 -2
  60. package/dist/shared-ui/src/components/AdditionalFilter/asyncLoadFilterOptions.d.ts +3 -2
  61. package/dist/shared-ui/src/components/BarChart/BarChartView.d.ts +4 -2
  62. package/dist/shared-ui/src/components/ChartHelper.d.ts +1 -2
  63. package/dist/shared-ui/src/components/CustomView/CustomView.d.ts +6 -0
  64. package/dist/shared-ui/src/components/CustomView/StaticCustomView.d.ts +7 -0
  65. package/dist/shared-ui/src/components/CustomView/buildInitialSelectableComponent.d.ts +5 -0
  66. package/dist/shared-ui/src/components/DataTable/DataTableRow.d.ts +3 -3
  67. package/dist/shared-ui/src/components/DataTable/DataTableView.d.ts +0 -1
  68. package/dist/shared-ui/src/components/DataTable/shared.d.ts +2 -0
  69. package/dist/shared-ui/src/components/LineChart/LineChartView.d.ts +3 -3
  70. package/dist/shared-ui/src/components/MercatorMap/View.d.ts +3 -3
  71. package/dist/shared-ui/src/components/Modals/ViewRawAttributesModal.d.ts +3 -1
  72. package/dist/shared-ui/src/components/SingleStat/DeltaDescription.d.ts +7 -0
  73. package/dist/shared-ui/src/components/SingleStat/DeltaPills.d.ts +3 -7
  74. package/dist/shared-ui/src/components/SingleStat/SingleStatValue.d.ts +11 -0
  75. package/dist/shared-ui/src/components/SingleStat/SingleStatView.d.ts +2 -25
  76. package/dist/shared-ui/src/components/SingleStat/shared.d.ts +15 -0
  77. package/dist/shared-ui/src/contexts/DashboardBehaviour/context.d.ts +2 -0
  78. package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +8 -5
  79. package/dist/shared-ui/src/contexts/DashboardBehaviour/useFeatureToggleSetup.d.ts +1 -2
  80. package/dist/shared-ui/src/contexts/DashboardContext/types.d.ts +1 -1
  81. package/dist/shared-ui/src/hooks/useVizzly.d.ts +2 -0
  82. package/dist/shared-ui/src/library/ComboBox.d.ts +2 -1
  83. package/dist/shared-ui/src/library/DataPanel/CustomFieldInput/PercentageModal/buildGroupedFilterValue.d.ts +2 -2
  84. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownBreadcrumb.d.ts +8 -0
  85. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownInput.d.ts +2 -2
  86. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownModal.d.ts +2 -1
  87. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/DrilldownSelect.d.ts +19 -0
  88. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/TableDrilldownInput.d.ts +10 -0
  89. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/TableDrilldownModal.d.ts +10 -0
  90. package/dist/shared-ui/src/library/DataPanel/DrilldownInput/drilldown.func.d.ts +5 -0
  91. package/dist/shared-ui/src/library/DataPanel/FieldCollectorInput.d.ts +1 -0
  92. package/dist/shared-ui/src/library/DataPanel/FilterInput/FilterInputForm.d.ts +1 -2
  93. package/dist/shared-ui/src/library/DataPanel/FilterInput/IndividualFilter.d.ts +1 -4
  94. package/dist/shared-ui/src/library/DataPanel/FilterInput/shared.d.ts +5 -0
  95. package/dist/shared-ui/src/library/DisplayStatusReport.d.ts +1 -2
  96. package/dist/shared-ui/src/library/Editor/useEditor.d.ts +2 -2
  97. package/dist/shared-ui/src/library/RenderOverrides.d.ts +1 -1
  98. package/dist/shared-ui/src/library/index.d.ts +0 -1
  99. package/dist/shared-ui/src/types.d.ts +59 -45
  100. package/package.json +3 -3
  101. package/dist/shared-logic/src/CustomComponent/CustomComponent.d.ts +0 -5
  102. package/dist/shared-logic/src/CustomComponent/types.d.ts +0 -27
  103. package/dist/shared-ui/src/components/CustomComponent/CustomComponent.d.ts +0 -6
  104. package/dist/shared-ui/src/components/CustomComponent/StaticCustomComponent.d.ts +0 -5
  105. package/dist/shared-ui/src/components/CustomComponent/buildInitialSelectableComponent.d.ts +0 -5
  106. /package/dist/shared-logic/src/{CustomComponent → CustomView}/attributesSchema.d.ts +0 -0
  107. /package/dist/shared-logic/src/{CustomComponent → CustomView}/constants.d.ts +0 -0
  108. /package/dist/shared-ui/src/base/{explorer/ListOfFeatures.d.ts → SidePanelSection/SidePanelSection.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { AxisTitles, BarStyleOverrides, ChartIdPrefix, Datum, DatumByKey, GoalLine, Props as VizzlyXYChartProps } from '../XYChart';
2
+ import { AxisTitles, BarStyleOverrides, ChartIdPrefix, Datum, DatumByKey, GoalLine, OnClickEvent, Props as VizzlyXYChartProps } from '../XYChart';
3
3
  import { ChartData, ChartProps, ColorFormatterByDatum } from '../types';
4
4
  import { ChartRef } from '../utils/chartRendering';
5
5
  import { ConditionalFormattingOption } from '../Legend/Legend';
@@ -16,10 +16,11 @@ export interface BarChartProps extends ChartProps {
16
16
  uniqueId: string;
17
17
  sparkline?: boolean;
18
18
  conditionalFormattingPossibilities?: (dataKey: string) => Array<ConditionalFormattingOption>;
19
- onClick?: (value: Datum | undefined, nearestDatums?: DatumByKey) => void;
19
+ onClick?: (value: Datum | undefined, nearestDatums?: DatumByKey, event?: OnClickEvent) => void;
20
20
  goalLine?: GoalLine[];
21
21
  axisTitles?: AxisTitles;
22
22
  styles?: BarStyleOverrides;
23
23
  idPrefix: ChartIdPrefix;
24
+ enableHover?: boolean;
24
25
  }
25
26
  export declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & React.RefAttributes<ChartRef>>;
@@ -17,7 +17,7 @@ export declare const convertFontSizeToString: (fontSize: CSSProperties['fontSize
17
17
  export declare const convertFontWeightToNumber: (fontWeight: CSSProperties['fontWeight']) => number | (string & {}) | undefined;
18
18
  export declare const DEFAULT_FONT_SIZE = 9;
19
19
  export declare function adjustWidth(fontSize: number, start: number, end: number): number;
20
- export declare function useHorizontalTickPositioning(chartWidth: number | undefined, ticks: ComputedTick<AxisScale>[], xAxisIsTime: boolean, axisFromPoint: number, axisToPoint: number, labelProps?: Partial<any>, theme?: ChartLabelsTheme): ComputedTick<import("@visx/scale").ValueOf<import("@visx/scale").ScaleTypeToD3Scale<import("@visx/axis").AxisScaleOutput, any, any>>>[];
20
+ export declare function useHorizontalTickPositioning(chartWidth: number | undefined, ticks: ComputedTick<AxisScale>[], xAxisIsTime: boolean, axisFromPoint: number, axisToPoint: number, labelProps?: Partial<any>, theme?: ChartLabelsTheme, increaseTolerance?: boolean): ComputedTick<import("@visx/scale").ValueOf<import("@visx/scale").ScaleTypeToD3Scale<import("@visx/axis").AxisScaleOutput, any, any>>>[];
21
21
  export declare function getYAxisWidth(horizontal: boolean, xAxisIsTime: boolean, props: Props, theme: ChartTheme | undefined, data: any[], xKey: string): number | undefined;
22
22
  export declare const getDefaultMargins: (hasHorizontal: boolean, hasLeft: boolean, xAxisType: AxisType, axisTitle?: AxisTitles | undefined, yAxisWidth?: number | undefined) => {
23
23
  top: number;
@@ -1,6 +1,6 @@
1
1
  export * from './annotations';
2
2
  export * from './constants';
3
- import { ColorFormatterByDatum, ColorFormatterByKey, LabelTypes } from '../../types';
3
+ import { ChartData, ColorFormatterByDatum, ColorFormatterByKey, LabelTypes } from '../../types';
4
4
  import { Props, ScaleConfig } from '../types';
5
5
  export declare function getConcatenatedProperties<T extends {
6
6
  [key: string]: any;
@@ -14,6 +14,6 @@ export declare function getColorFromDatum<T extends {
14
14
  [key: string]: any;
15
15
  }>(key: string, formatter: ColorFormatterByDatum, colors: string[], layerIndex: number): (data: T) => string;
16
16
  export declare function getColorFromKey(formatter: ColorFormatterByKey, colors: string[], layerIndex: number): (dataKey: string) => string;
17
- export declare const handleFormatXAxisLabel: (formatXAxisLabel: Props['formatXAxisLabel'], dateTimeEnabled: boolean) => (value: string | number | Date) => any;
17
+ export declare const handleFormatXAxisLabel: (formatXAxisLabel: Props['formatXAxisLabel'], dateTimeEnabled: boolean, chartData: ChartData[]) => (value: string | number | Date) => any;
18
18
  export declare const formatYAxisLabel: (props: Props) => (value: LabelTypes) => any;
19
- export declare const formatTooltipHeading: (formatXAxisLabel: Props['formatXAxisLabel'], dateTimeEnabled: boolean, xValue: Date | string | number | undefined | null) => any;
19
+ export declare const formatTooltipHeading: (formatXAxisLabel: Props['formatXAxisLabel'], dateTimeEnabled: boolean, xValue: Date | string | number | undefined | null, chartData: ChartData[]) => any;
@@ -2,6 +2,7 @@ import { ConditionalFormattingOption } from '../Legend/Legend';
2
2
  import { ChartData, ChartProps, ColorFormatterByDatum, ColorFormatterByKey, FormatterProps } from '../types';
3
3
  import { LINE_CURVE_MAPPING } from './logic';
4
4
  import { GenerateAnnotationType } from './logic/annotations';
5
+ import { EventHandlerParams } from '@visx/xychart';
5
6
  export declare type ApproxAxisLabelCount = 'auto' | number;
6
7
  export declare type ChartIdPrefix = 'dashboard' | 'library' | 'editor';
7
8
  export declare type AxisType = 'auto' | 'end2end' | 'none';
@@ -45,7 +46,8 @@ export interface Props extends ChartProps, FormatterProps {
45
46
  };
46
47
  forceXAxisAsTime?: boolean;
47
48
  showTotalOnTooltip?: boolean;
48
- onClick: (value?: Datum, nearestDatums?: DatumByKey) => void;
49
+ onClick: (value?: Datum, nearestDatums?: DatumByKey, event?: OnClickEvent) => void;
50
+ enableHover?: boolean;
49
51
  conditionalFormattingPossibilities?: (dataKey: string) => Array<ConditionalFormattingOption>;
50
52
  goalLine?: Array<GoalLine>;
51
53
  axisTitles?: AxisTitles;
@@ -79,3 +81,4 @@ export declare type ThresholdType = {
79
81
  color: string;
80
82
  direction: ThresholdDirecton;
81
83
  };
84
+ export declare type OnClickEvent = EventHandlerParams<object>;
@@ -0,0 +1,2 @@
1
+ import { CSSProperties } from 'react';
2
+ export declare function lightenColor(originalColor: CSSProperties['color'], amount: number): string | undefined;
@@ -17,7 +17,7 @@ export declare type OnPointerUp<T> = {
17
17
  };
18
18
  export interface ChartProps extends LegendProps {
19
19
  removeStroke?: boolean;
20
- formatXAxisLabel?: (value: LabelTypes) => LabelTypes;
20
+ formatXAxisLabel?: (value: LabelTypes, fieldId?: string | null) => LabelTypes;
21
21
  formatYAxisLabel?: (value: LabelTypes) => LabelTypes;
22
22
  horizontal?: boolean;
23
23
  height?: number;
@@ -7,14 +7,16 @@ export declare type GlobalContextType = DashboardProps & {
7
7
  export declare const useGlobalContext: () => (import("../../types").InBrowserProps & {
8
8
  vizzlyApiHost?: string | undefined;
9
9
  featureToggles?: Partial<import("../../../../shared-logic/src/FeatureToggle/types").FeatureToggles> | undefined;
10
- customComponents?: import("../../../../shared-logic/src/CustomComponent/types").CustomComponent[] | undefined;
10
+ customViews?: import("../../../../shared-logic/src/CustomView/types").CustomView[] | undefined;
11
11
  excludeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
12
12
  includeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
13
13
  reportScheduleOptions?: {
14
14
  cron: string;
15
15
  description: string;
16
16
  }[] | undefined;
17
- valueAlias?: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").ValueAlias | undefined;
17
+ valueAlias?: {
18
+ [id: string]: import("react").ReactText;
19
+ } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
18
20
  numberFormatOptions?: {
19
21
  [id: string]: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").NumberFormatter;
20
22
  } | undefined;
@@ -39,6 +41,10 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
39
41
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
40
42
  }) => (import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | ((sectionProps: Pick<import("../../../../shared-ui/src").VizzlyComponents.ComponentOverrides.Props.SectionProps<import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline">>, "featureToggles" | "dataSet" | "attributes" | "dataSets" | "setDataSet" | "setAttributes" | "setDataSets" | "queryEngineConfig">) => JSX.Element))[]) | undefined;
41
43
  dashboardFilters?: ((dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[], userDefinedDashboardFilters: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) => import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) | undefined;
44
+ nullValueAlias?: ((params: {
45
+ dataSetId: string;
46
+ fieldId: string;
47
+ }) => string | null | undefined) | undefined;
42
48
  onDashboardFilterChange?: ((additionalFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void) | undefined;
43
49
  onDashboardLoad?: ((dashboard: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardCallback) => void) | undefined;
44
50
  id?: string | undefined;
@@ -47,7 +53,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
47
53
  formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
48
54
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
49
55
  }) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
50
- onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomComponentAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
56
+ onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
51
57
  maxCSVDownloadLimit?: number | undefined;
52
58
  theme?: import("../..").VizzlyTheming.Base | undefined;
53
59
  organizationName?: string | undefined;
@@ -67,14 +73,16 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
67
73
  }) | (import("../../types").SelfHostedProps & {
68
74
  vizzlyApiHost?: string | undefined;
69
75
  featureToggles?: Partial<import("../../../../shared-logic/src/FeatureToggle/types").FeatureToggles> | undefined;
70
- customComponents?: import("../../../../shared-logic/src/CustomComponent/types").CustomComponent[] | undefined;
76
+ customViews?: import("../../../../shared-logic/src/CustomView/types").CustomView[] | undefined;
71
77
  excludeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
72
78
  includeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
73
79
  reportScheduleOptions?: {
74
80
  cron: string;
75
81
  description: string;
76
82
  }[] | undefined;
77
- valueAlias?: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").ValueAlias | undefined;
83
+ valueAlias?: {
84
+ [id: string]: import("react").ReactText;
85
+ } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
78
86
  numberFormatOptions?: {
79
87
  [id: string]: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").NumberFormatter;
80
88
  } | undefined;
@@ -99,6 +107,10 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
99
107
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
100
108
  }) => (import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | ((sectionProps: Pick<import("../../../../shared-ui/src").VizzlyComponents.ComponentOverrides.Props.SectionProps<import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline">>, "featureToggles" | "dataSet" | "attributes" | "dataSets" | "setDataSet" | "setAttributes" | "setDataSets" | "queryEngineConfig">) => JSX.Element))[]) | undefined;
101
109
  dashboardFilters?: ((dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[], userDefinedDashboardFilters: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) => import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) | undefined;
110
+ nullValueAlias?: ((params: {
111
+ dataSetId: string;
112
+ fieldId: string;
113
+ }) => string | null | undefined) | undefined;
102
114
  onDashboardFilterChange?: ((additionalFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void) | undefined;
103
115
  onDashboardLoad?: ((dashboard: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardCallback) => void) | undefined;
104
116
  id?: string | undefined;
@@ -107,7 +119,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
107
119
  formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
108
120
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
109
121
  }) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
110
- onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomComponentAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
122
+ onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
111
123
  maxCSVDownloadLimit?: number | undefined;
112
124
  theme?: import("../..").VizzlyTheming.Base | undefined;
113
125
  organizationName?: string | undefined;
@@ -127,14 +139,16 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
127
139
  }) | (import("../../types").CustomProps & {
128
140
  vizzlyApiHost?: string | undefined;
129
141
  featureToggles?: Partial<import("../../../../shared-logic/src/FeatureToggle/types").FeatureToggles> | undefined;
130
- customComponents?: import("../../../../shared-logic/src/CustomComponent/types").CustomComponent[] | undefined;
142
+ customViews?: import("../../../../shared-logic/src/CustomView/types").CustomView[] | undefined;
131
143
  excludeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
132
144
  includeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
133
145
  reportScheduleOptions?: {
134
146
  cron: string;
135
147
  description: string;
136
148
  }[] | undefined;
137
- valueAlias?: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").ValueAlias | undefined;
149
+ valueAlias?: {
150
+ [id: string]: import("react").ReactText;
151
+ } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
138
152
  numberFormatOptions?: {
139
153
  [id: string]: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").NumberFormatter;
140
154
  } | undefined;
@@ -159,6 +173,10 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
159
173
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
160
174
  }) => (import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | ((sectionProps: Pick<import("../../../../shared-ui/src").VizzlyComponents.ComponentOverrides.Props.SectionProps<import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline">>, "featureToggles" | "dataSet" | "attributes" | "dataSets" | "setDataSet" | "setAttributes" | "setDataSets" | "queryEngineConfig">) => JSX.Element))[]) | undefined;
161
175
  dashboardFilters?: ((dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[], userDefinedDashboardFilters: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) => import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) | undefined;
176
+ nullValueAlias?: ((params: {
177
+ dataSetId: string;
178
+ fieldId: string;
179
+ }) => string | null | undefined) | undefined;
162
180
  onDashboardFilterChange?: ((additionalFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void) | undefined;
163
181
  onDashboardLoad?: ((dashboard: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardCallback) => void) | undefined;
164
182
  id?: string | undefined;
@@ -167,7 +185,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
167
185
  formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
168
186
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
169
187
  }) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
170
- onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomComponentAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
188
+ onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
171
189
  maxCSVDownloadLimit?: number | undefined;
172
190
  theme?: import("../..").VizzlyTheming.Base | undefined;
173
191
  organizationName?: string | undefined;
@@ -188,14 +206,16 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
188
206
  export declare const GlobalContext: import("react").Context<(import("../../types").InBrowserProps & {
189
207
  vizzlyApiHost?: string | undefined;
190
208
  featureToggles?: Partial<import("../../../../shared-logic/src/FeatureToggle/types").FeatureToggles> | undefined;
191
- customComponents?: import("../../../../shared-logic/src/CustomComponent/types").CustomComponent[] | undefined;
209
+ customViews?: import("../../../../shared-logic/src/CustomView/types").CustomView[] | undefined;
192
210
  excludeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
193
211
  includeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
194
212
  reportScheduleOptions?: {
195
213
  cron: string;
196
214
  description: string;
197
215
  }[] | undefined;
198
- valueAlias?: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").ValueAlias | undefined;
216
+ valueAlias?: {
217
+ [id: string]: import("react").ReactText;
218
+ } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
199
219
  numberFormatOptions?: {
200
220
  [id: string]: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").NumberFormatter;
201
221
  } | undefined;
@@ -220,6 +240,10 @@ export declare const GlobalContext: import("react").Context<(import("../../types
220
240
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
221
241
  }) => (import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | ((sectionProps: Pick<import("../../../../shared-ui/src").VizzlyComponents.ComponentOverrides.Props.SectionProps<import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline">>, "featureToggles" | "dataSet" | "attributes" | "dataSets" | "setDataSet" | "setAttributes" | "setDataSets" | "queryEngineConfig">) => JSX.Element))[]) | undefined;
222
242
  dashboardFilters?: ((dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[], userDefinedDashboardFilters: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) => import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) | undefined;
243
+ nullValueAlias?: ((params: {
244
+ dataSetId: string;
245
+ fieldId: string;
246
+ }) => string | null | undefined) | undefined;
223
247
  onDashboardFilterChange?: ((additionalFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void) | undefined;
224
248
  onDashboardLoad?: ((dashboard: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardCallback) => void) | undefined;
225
249
  id?: string | undefined;
@@ -228,7 +252,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
228
252
  formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
229
253
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
230
254
  }) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
231
- onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomComponentAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
255
+ onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
232
256
  maxCSVDownloadLimit?: number | undefined;
233
257
  theme?: import("../..").VizzlyTheming.Base | undefined;
234
258
  organizationName?: string | undefined;
@@ -248,14 +272,16 @@ export declare const GlobalContext: import("react").Context<(import("../../types
248
272
  }) | (import("../../types").SelfHostedProps & {
249
273
  vizzlyApiHost?: string | undefined;
250
274
  featureToggles?: Partial<import("../../../../shared-logic/src/FeatureToggle/types").FeatureToggles> | undefined;
251
- customComponents?: import("../../../../shared-logic/src/CustomComponent/types").CustomComponent[] | undefined;
275
+ customViews?: import("../../../../shared-logic/src/CustomView/types").CustomView[] | undefined;
252
276
  excludeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
253
277
  includeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
254
278
  reportScheduleOptions?: {
255
279
  cron: string;
256
280
  description: string;
257
281
  }[] | undefined;
258
- valueAlias?: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").ValueAlias | undefined;
282
+ valueAlias?: {
283
+ [id: string]: import("react").ReactText;
284
+ } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
259
285
  numberFormatOptions?: {
260
286
  [id: string]: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").NumberFormatter;
261
287
  } | undefined;
@@ -280,6 +306,10 @@ export declare const GlobalContext: import("react").Context<(import("../../types
280
306
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
281
307
  }) => (import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | ((sectionProps: Pick<import("../../../../shared-ui/src").VizzlyComponents.ComponentOverrides.Props.SectionProps<import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline">>, "featureToggles" | "dataSet" | "attributes" | "dataSets" | "setDataSet" | "setAttributes" | "setDataSets" | "queryEngineConfig">) => JSX.Element))[]) | undefined;
282
308
  dashboardFilters?: ((dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[], userDefinedDashboardFilters: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) => import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) | undefined;
309
+ nullValueAlias?: ((params: {
310
+ dataSetId: string;
311
+ fieldId: string;
312
+ }) => string | null | undefined) | undefined;
283
313
  onDashboardFilterChange?: ((additionalFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void) | undefined;
284
314
  onDashboardLoad?: ((dashboard: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardCallback) => void) | undefined;
285
315
  id?: string | undefined;
@@ -288,7 +318,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
288
318
  formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
289
319
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
290
320
  }) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
291
- onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomComponentAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
321
+ onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
292
322
  maxCSVDownloadLimit?: number | undefined;
293
323
  theme?: import("../..").VizzlyTheming.Base | undefined;
294
324
  organizationName?: string | undefined;
@@ -308,14 +338,16 @@ export declare const GlobalContext: import("react").Context<(import("../../types
308
338
  }) | (import("../../types").CustomProps & {
309
339
  vizzlyApiHost?: string | undefined;
310
340
  featureToggles?: Partial<import("../../../../shared-logic/src/FeatureToggle/types").FeatureToggles> | undefined;
311
- customComponents?: import("../../../../shared-logic/src/CustomComponent/types").CustomComponent[] | undefined;
341
+ customViews?: import("../../../../shared-logic/src/CustomView/types").CustomView[] | undefined;
312
342
  excludeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
313
343
  includeComponents?: import("../../../../shared-logic/src/Component/types").ComponentType[] | undefined;
314
344
  reportScheduleOptions?: {
315
345
  cron: string;
316
346
  description: string;
317
347
  }[] | undefined;
318
- valueAlias?: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").ValueAlias | undefined;
348
+ valueAlias?: {
349
+ [id: string]: import("react").ReactText;
350
+ } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
319
351
  numberFormatOptions?: {
320
352
  [id: string]: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").NumberFormatter;
321
353
  } | undefined;
@@ -340,6 +372,10 @@ export declare const GlobalContext: import("react").Context<(import("../../types
340
372
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
341
373
  }) => (import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | ((sectionProps: Pick<import("../../../../shared-ui/src").VizzlyComponents.ComponentOverrides.Props.SectionProps<import("../../../../shared-logic/src/DataPanelConfig/types").Section<"dataSet"> | import("../../../../shared-logic/src/DataPanelConfig/types").MetricsSection | import("../../../../shared-logic/src/DataPanelConfig/types").FieldCollectorSection | import("../../../../shared-logic/src/DataPanelConfig/types").LabelledMetricSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"customMetrics"> | import("../../../../shared-logic/src/DataPanelConfig/types").DimensionSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"drilldown"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comparison"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"comboChartDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"timeDimension"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"xAxis"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"views"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"sort"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"filter"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"limit"> | import("../../../../shared-logic/src/DataPanelConfig/types").PaginationSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"fields"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"country"> | import("../../../../shared-logic/src/DataPanelConfig/types").ProgressGoalsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline">>, "featureToggles" | "dataSet" | "attributes" | "dataSets" | "setDataSet" | "setAttributes" | "setDataSets" | "queryEngineConfig">) => JSX.Element))[]) | undefined;
342
374
  dashboardFilters?: ((dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[], userDefinedDashboardFilters: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) => import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardFilters) | undefined;
375
+ nullValueAlias?: ((params: {
376
+ dataSetId: string;
377
+ fieldId: string;
378
+ }) => string | null | undefined) | undefined;
343
379
  onDashboardFilterChange?: ((additionalFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void) | undefined;
344
380
  onDashboardLoad?: ((dashboard: import("../../../../shared-ui/src/contexts/DashboardBehaviour/types").DashboardCallback) => void) | undefined;
345
381
  id?: string | undefined;
@@ -348,7 +384,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
348
384
  formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
349
385
  type: import("../../../../shared-logic/src/Component/types").ComponentType;
350
386
  }) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
351
- onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomComponentAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
387
+ onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | 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.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes>) | undefined;
352
388
  maxCSVDownloadLimit?: number | undefined;
353
389
  theme?: import("../..").VizzlyTheming.Base | undefined;
354
390
  organizationName?: string | undefined;
@@ -15,7 +15,7 @@ export declare type SharedEditorProps = {
15
15
  onSave?: EditorBehaviour['onSave'];
16
16
  vizzlyApiHost?: string;
17
17
  featureToggles?: Partial<Omit<DashboardBehaviour['featureToggles'], 'disableAutoSave' | 'canAddNewRows' | 'canAddNewCells' | 'canUseComponentLibrary' | 'canEditComponentLibrary' | 'canEditComponentsOnDashboard' | 'canRemoveComponentsFromDashboard' | 'forceMobile'>>;
18
- customComponents?: DashboardBehaviour['customComponents'];
18
+ customViews?: DashboardBehaviour['customViews'];
19
19
  excludeComponents?: StudioProps['excludeComponents'];
20
20
  includeComponents?: StudioProps['includeComponents'];
21
21
  numberFormatOptions?: DashboardBehaviour['numberFormatOptions'];
@@ -42,7 +42,7 @@ export declare type SharedEditorProps = {
42
42
  export declare type SharedDashboardProps = {
43
43
  vizzlyApiHost?: string;
44
44
  featureToggles?: Partial<DashboardBehaviour['featureToggles']>;
45
- customComponents?: DashboardBehaviour['customComponents'];
45
+ customViews?: DashboardBehaviour['customViews'];
46
46
  excludeComponents?: StudioProps['excludeComponents'];
47
47
  includeComponents?: StudioProps['includeComponents'];
48
48
  reportScheduleOptions?: DashboardBehaviour['reportScheduleOptions'];
@@ -53,6 +53,7 @@ export declare type SharedDashboardProps = {
53
53
  textOverrides?: DashboardBehaviour['textOverrides'];
54
54
  dataPanel?: DashboardBehaviour['dataPanel'];
55
55
  dashboardFilters?: DashboardBehaviour['dashboardFilters'];
56
+ nullValueAlias?: DashboardBehaviour['nullValueAlias'];
56
57
  onDashboardFilterChange?: DashboardBehaviour['onDashboardFilterChange'];
57
58
  onDashboardLoad?: DashboardBehaviour['onDashboardLoad'];
58
59
  id?: string;