@vizzly/dashboard 0.12.11 → 0.12.12

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 (78) hide show
  1. package/dist/charts/src/FunnelChart/FunnelChart.d.ts +31 -0
  2. package/dist/charts/src/FunnelChart/FunnelChartTooltip.d.ts +12 -0
  3. package/dist/charts/src/FunnelChart/IconNarrowRight.d.ts +2 -0
  4. package/dist/charts/src/FunnelChart/IconTrendingDown.d.ts +2 -0
  5. package/dist/charts/src/FunnelChart/constants.d.ts +2 -0
  6. package/dist/charts/src/FunnelChart/index.d.ts +6 -0
  7. package/dist/charts/src/FunnelChart/utils.d.ts +23 -0
  8. package/dist/charts/src/Legend/Legend.d.ts +1 -0
  9. package/dist/charts/src/RichText/RichText.d.ts +8 -0
  10. package/dist/charts/src/RichText/RichTextEditorContextProvider.d.ts +6 -0
  11. package/dist/charts/src/RichText/index.d.ts +1 -0
  12. package/dist/charts/src/RichText/useRichTextEditorContextProvider.d.ts +8 -0
  13. package/dist/charts/src/XYChart/ChartTooltip.d.ts +10 -3
  14. package/dist/charts/src/XYChart/ChartTooltip.styles.d.ts +4 -0
  15. package/dist/charts/src/XYChart/types.d.ts +1 -0
  16. package/dist/charts/src/index.d.ts +9 -7
  17. package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +24 -18
  18. package/dist/dashboard/src/types.d.ts +1 -0
  19. package/dist/index.js +1 -1
  20. package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
  21. package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
  22. package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
  23. package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +4 -0
  24. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
  25. package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
  26. package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
  27. package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
  28. package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +4 -0
  29. package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +1 -1
  30. package/dist/results-driver/src/types.d.ts +11 -10
  31. package/dist/services/src/Services/View.d.ts +5 -1
  32. package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +1 -0
  33. package/dist/shared-logic/src/Component/setAttributes.d.ts +1 -1
  34. package/dist/shared-logic/src/Component/types.d.ts +24 -2
  35. package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +2 -1
  36. package/dist/shared-logic/src/DataSet/DataSet.d.ts +1 -1
  37. package/dist/shared-logic/src/DataTable/resultToPivotTableRepresentation.d.ts +5 -1
  38. package/dist/shared-logic/src/DatumKey/DatumKey.d.ts +1 -0
  39. package/dist/shared-logic/src/Field/Field.d.ts +10 -3
  40. package/dist/shared-logic/src/FormatPanelConfig/types.d.ts +2 -1
  41. package/dist/shared-logic/src/FunnelChart/constants.d.ts +3 -0
  42. package/dist/shared-logic/src/FunnelChart/index.d.ts +4 -0
  43. package/dist/shared-logic/src/FunnelChart/setAttributes.d.ts +4 -0
  44. package/dist/shared-logic/src/JSQueryEngine/fetchData.d.ts +2 -1
  45. package/dist/shared-logic/src/Query/types.d.ts +2 -0
  46. package/dist/shared-logic/src/RichText/attributesSchema.d.ts +3 -0
  47. package/dist/shared-logic/src/RichText/constants.d.ts +3 -0
  48. package/dist/shared-logic/src/RichText/index.d.ts +4 -0
  49. package/dist/shared-logic/src/RichText/initialRichTextContent.d.ts +38 -0
  50. package/dist/shared-logic/src/RichText/setAttributes.d.ts +4 -0
  51. package/dist/shared-logic/src/VizzlyState/index.d.ts +2 -0
  52. package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +1 -1
  53. package/dist/shared-logic/src/getComponentInterface.d.ts +1 -0
  54. package/dist/shared-ui/src/api/useQueryEffect.d.ts +1 -1
  55. package/dist/shared-ui/src/base/Select/Control.d.ts +1 -0
  56. package/dist/shared-ui/src/base/Select/Wrapper.d.ts +1 -0
  57. package/dist/shared-ui/src/base/Select.d.ts +1 -0
  58. package/dist/shared-ui/src/base/shared/ClearIcon.d.ts +0 -1
  59. package/dist/shared-ui/src/components/AdditionalFilter/MultiSelectFilter/AdvancedSelectFilter.d.ts +1 -1
  60. package/dist/shared-ui/src/components/AdditionalFilter/useBuildDashboardFilter.d.ts +1 -1
  61. package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +27 -2
  62. package/dist/shared-ui/src/components/FunnelChart/FunnelChart.d.ts +3 -0
  63. package/dist/shared-ui/src/components/FunnelChart/FunnelChartView.d.ts +18 -0
  64. package/dist/shared-ui/src/components/FunnelChart/index.d.ts +2 -0
  65. package/dist/shared-ui/src/components/FunnelChart/types.d.ts +22 -0
  66. package/dist/shared-ui/src/components/HeadlineStats/HeadlineStats.d.ts +2 -1
  67. package/dist/shared-ui/src/components/Icons/ComponentIcons.d.ts +2 -0
  68. package/dist/shared-ui/src/components/Icons/icons.func.d.ts +1 -0
  69. package/dist/shared-ui/src/components/Parameters/useParameters.d.ts +1 -1
  70. package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +1 -1
  71. package/dist/shared-ui/src/components/PieChart/oldResultLogic.d.ts +1 -1
  72. package/dist/shared-ui/src/components/Progress/ProgressView.d.ts +1 -1
  73. package/dist/shared-ui/src/components/RichText/RichText.d.ts +21 -0
  74. package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +1 -0
  75. package/dist/shared-ui/src/library/ComboBox.d.ts +1 -0
  76. package/dist/shared-ui/src/library/DataPanel/FieldCollectorInput.d.ts +1 -1
  77. package/dist/shared-ui/src/library/StylePanel/RichTextFormatSection.d.ts +6 -0
  78. package/package.json +11 -4
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -0,0 +1,4 @@
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
+ queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
+ resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
+ };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
2
  queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
3
  resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
4
  };
@@ -0,0 +1,4 @@
1
+ export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, additionalFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[], queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig) => {
2
+ queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
3
+ resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
4
+ };
@@ -5,7 +5,7 @@ import { Query as QueryType } from '../../../../shared-logic/src/Query/types';
5
5
  import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
6
6
  import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
7
7
  import { Result } from '../../../../shared-logic/src/Result/types';
8
- export declare const commonToQueries: (attributes: Component.AreaChartAttributes | Component.BarChartAttributes | Component.DataTableAttributes | Component.BasicTableAttributes | Component.HorizontalBarChartAttributes | Component.LineChartAttributes | Component.PieChartAttributes, dataSet: DataSet, additionalFilters: QueryAttributes.Filter[], queryEngineConfig: QueryEngineConfig) => {
8
+ export declare const commonToQueries: (attributes: Component.AreaChartAttributes | Component.BarChartAttributes | Component.DataTableAttributes | Component.BasicTableAttributes | Component.HorizontalBarChartAttributes | Component.LineChartAttributes | Component.PieChartAttributes | Component.FunnelChartAttributes | Component.RichTextAttributes, dataSet: DataSet, additionalFilters: QueryAttributes.Filter[], queryEngineConfig: QueryEngineConfig) => {
9
9
  queries: QueryType[];
10
10
  resultFields: Result.Field[][];
11
11
  };
@@ -1,18 +1,18 @@
1
- import { QueryEngineConfig, QueryEngineEndpoint } from "../../shared-logic/src/QueryEngineConfig/types";
2
- import { DataSet, DataSet as DataSetType } from "../../shared-logic/src/DataSet/types";
3
- import { TimeRangeOptions, FilterConfig } from "../../shared-logic/src/AdditionalFilter/types";
4
- import { loadDataCallback } from "../../shared-logic/src/Callbacks/types";
5
- import { Query } from "../../shared-logic/src/Query/types";
6
- import { Result } from "../../shared-logic/src/Result/types";
1
+ import { QueryEngineConfig, QueryEngineEndpoint } from '../../shared-logic/src/QueryEngineConfig/types';
2
+ import { DataSet, DataSet as DataSetType } from '../../shared-logic/src/DataSet/types';
3
+ import { TimeRangeOptions, FilterConfig } from '../../shared-logic/src/AdditionalFilter/types';
4
+ import { loadDataCallback } from '../../shared-logic/src/Callbacks/types';
5
+ import { Query } from '../../shared-logic/src/Query/types';
6
+ import { Result } from '../../shared-logic/src/Result/types';
7
7
  export declare type VizzlyQueryEngineDriver = {
8
- type: "vizzlyQueryEngine";
8
+ type: 'vizzlyQueryEngine';
9
9
  queryEngineConfig: QueryEngineConfig;
10
10
  queryEngineEndpoint: QueryEngineEndpoint;
11
11
  dataAccessToken: string;
12
12
  cacheKeyNamespace: string;
13
13
  };
14
14
  export declare type CustomDriver = {
15
- type: "custom";
15
+ type: 'custom';
16
16
  queryEngineConfig: QueryEngineConfig;
17
17
  dataAccessToken?: string;
18
18
  cacheKeyNamespace: string;
@@ -21,10 +21,10 @@ export declare type CustomDriver = {
21
21
  abortSignal?: AbortSignal;
22
22
  dataAccessToken?: string;
23
23
  filterConfig?: FilterConfig;
24
- }) => Promise<Array<Result | Result["content"] | null> | null>;
24
+ }) => Promise<Array<Result | Result['content'] | null> | null>;
25
25
  };
26
26
  export declare type VizzlyJsQueryEngineDriver = {
27
- type: "vizzlyJsQueryEngine";
27
+ type: 'vizzlyJsQueryEngine';
28
28
  loadData: loadDataCallback;
29
29
  cacheKeyNamespace: string;
30
30
  };
@@ -34,4 +34,5 @@ export declare type Params = {
34
34
  filterConfig: FilterConfig;
35
35
  abortSignal?: AbortSignal;
36
36
  timeRangeOptions: TimeRangeOptions;
37
+ timeZone?: string;
37
38
  };
@@ -13,7 +13,7 @@ export declare class View<T extends Component.Attributes> {
13
13
  } & RequiredAttributes<T>);
14
14
  updateAttributes(newAttributes: Partial<T>): void;
15
15
  }
16
- export declare type AnyView = AreaChart | LineChart | BarChart | PieChart | ScatterChart | ComboChart | PivotTable | BasicTable | HorizontalBarChart | MercatorMap | SingleStat | Progress;
16
+ export declare type AnyView = AreaChart | LineChart | BarChart | PieChart | ScatterChart | ComboChart | PivotTable | BasicTable | HorizontalBarChart | MercatorMap | SingleStat | Progress | RichText;
17
17
  export declare class AreaChart extends View<Component.AreaChartAttributes> {
18
18
  constructor(attributes: Partial<Component.AreaChartAttributes> & RequiredAttributes<Component.AreaChartAttributes>);
19
19
  static type(): Component.AreaChartAttributes['type'];
@@ -62,4 +62,8 @@ export declare class Progress extends View<Component.ProgressAttributes> {
62
62
  constructor(attributes: Partial<Component.ProgressAttributes> & RequiredAttributes<Component.ProgressAttributes>);
63
63
  static type(): Component.ProgressAttributes['type'];
64
64
  }
65
+ export declare class RichText extends View<Component.RichTextAttributes> {
66
+ constructor(attributes: Partial<Component.RichTextAttributes> & RequiredAttributes<Component.RichTextAttributes>);
67
+ static type(): Component.RichTextAttributes['type'];
68
+ }
65
69
  export {};
@@ -6,6 +6,7 @@ import { DateTimeFilterOptions } from '../DateTime/types';
6
6
  import { TextOverride } from '../Translations/types';
7
7
  import { QueryAttributes } from '../QueryAttributes/types';
8
8
  export declare const typeToString: (type: AdditionalFilter['type'], textOverride: TextOverride) => string;
9
+ export declare const NULL_VALUE_OPT = "__vizzly_null_value_option";
9
10
  export declare const allowedDataTypesForFilter: (type: AdditionalFilter['type']) => Array<DataType>;
10
11
  export declare const dump: (hydrated: AdditionalFilter) => AdditionalFilter;
11
12
  export declare const load: (dumped: AdditionalFilter, componentInterfaceConfig?: import("../ComponentInterface/types").ComponentInterfaceConfig | undefined) => AdditionalFilter;
@@ -7,5 +7,5 @@ export declare const removeUnusedOrderFieldsFromTimeSeriesComponent: <T extends
7
7
  timeDimension?: QueryAttributes.TimeDimension | null | undefined;
8
8
  dimension: Array<QueryAttributes.Dimension>;
9
9
  }>(attributes: T) => T;
10
- declare const setAttributes: <Attributes extends Component.Attributes>(attributes: Partial<Component.ScatterChartAttributes> | Partial<Component.LineChartAttributes> | Partial<Component.AreaChartAttributes> | Partial<Component.BarChartAttributes> | Partial<Component.PieChartAttributes> | Partial<Component.SingleStatAttributes> | Partial<Component.DataTableAttributes> | Partial<Component.BasicTableAttributes> | Partial<Component.ComboChartAttributes> | Partial<Component.HorizontalBarChartAttributes> | Partial<Component.MercatorMapAttributes> | Partial<Component.CustomViewAttributes> | Partial<Component.ProgressAttributes>, partialAttributes: Partial<Component.ScatterChartAttributes> | Partial<Component.LineChartAttributes> | Partial<Component.AreaChartAttributes> | Partial<Component.BarChartAttributes> | Partial<Component.PieChartAttributes> | Partial<Component.SingleStatAttributes> | Partial<Component.DataTableAttributes> | Partial<Component.BasicTableAttributes> | Partial<Component.ComboChartAttributes> | Partial<Component.HorizontalBarChartAttributes> | Partial<Component.MercatorMapAttributes> | Partial<Component.CustomViewAttributes> | Partial<Component.ProgressAttributes>, schema: Joi.ObjectSchema<any>) => Attributes;
10
+ declare const setAttributes: <Attributes extends Component.Attributes>(attributes: Partial<Component.AreaChartAttributes> | Partial<Component.BarChartAttributes> | Partial<Component.BasicTableAttributes> | Partial<Component.ComboChartAttributes> | Partial<Component.CustomViewAttributes> | Partial<Component.DataTableAttributes> | Partial<Component.FunnelChartAttributes> | Partial<Component.HorizontalBarChartAttributes> | Partial<Component.LineChartAttributes> | Partial<Component.MercatorMapAttributes> | Partial<Component.PieChartAttributes> | Partial<Component.ProgressAttributes> | Partial<Component.RichTextAttributes> | Partial<Component.ScatterChartAttributes> | Partial<Component.SingleStatAttributes>, partialAttributes: Partial<Component.AreaChartAttributes> | Partial<Component.BarChartAttributes> | Partial<Component.BasicTableAttributes> | Partial<Component.ComboChartAttributes> | Partial<Component.CustomViewAttributes> | Partial<Component.DataTableAttributes> | Partial<Component.FunnelChartAttributes> | Partial<Component.HorizontalBarChartAttributes> | Partial<Component.LineChartAttributes> | Partial<Component.MercatorMapAttributes> | Partial<Component.PieChartAttributes> | Partial<Component.ProgressAttributes> | Partial<Component.RichTextAttributes> | Partial<Component.ScatterChartAttributes> | Partial<Component.SingleStatAttributes>, schema: Joi.ObjectSchema<any>) => Attributes;
11
11
  export default setAttributes;
@@ -10,7 +10,7 @@ import { Dictionary } from 'lodash';
10
10
  export declare type getNumberFormatter = (formatterId: string | undefined | null) => (number: number) => string;
11
11
  export declare type FormatType = string | null;
12
12
  export declare type ApproxAxisLabelCount = 'auto' | number;
13
- export declare type ComponentType = 'barChart' | 'horizontalBarChart' | 'areaChart' | 'lineChart' | 'scatterChart' | 'pieChart' | 'singleStat' | 'dataTable' | 'basicTable' | 'comboChart' | 'mercatorMap' | 'custom' | 'progress';
13
+ export declare type ComponentType = 'areaChart' | 'barChart' | 'basicTable' | 'comboChart' | 'custom' | 'dataTable' | 'funnelChart' | 'horizontalBarChart' | 'lineChart' | 'mercatorMap' | 'pieChart' | 'progress' | 'richText' | 'scatterChart' | 'singleStat';
14
14
  export declare const componentTypes: string[];
15
15
  export declare namespace Component {
16
16
  export type LineCurve = 'natural' | 'straight' | 'step' | 'stepBefore' | 'stepAfter';
@@ -31,6 +31,10 @@ export declare namespace Component {
31
31
  type BaseQueryAttributes = QueryAttributes & {
32
32
  dataSetId: string;
33
33
  };
34
+ export type RichTextAttributes = BaseAttributes & BaseQueryAttributes & {
35
+ type: 'richText';
36
+ content: object;
37
+ };
34
38
  export type MercatorMapAttributes = BaseAttributes & {
35
39
  type: 'mercatorMap';
36
40
  measure: BaseQueryAttributes['measure'];
@@ -69,6 +73,24 @@ export declare namespace Component {
69
73
  headline?: Headline;
70
74
  drilldownOptions: Array<DrilldownOptions> | undefined;
71
75
  };
76
+ export type FunnelChartAttributes = BaseAttributes & BaseQueryAttributes & {
77
+ type: 'funnelChart';
78
+ conditionalFormattingRules: Array<ConditionalFormatting.Rule>;
79
+ xAxisPrefix: string;
80
+ yAxisPrefix: string;
81
+ xAxisPostfix: string;
82
+ yAxisPostfix: string;
83
+ xAxisFormat: FormatType;
84
+ yAxisFormat: FormatType;
85
+ approxXAxisLabelCount: ApproxAxisLabelCount;
86
+ approxYAxisLabelCount: ApproxAxisLabelCount;
87
+ legend: boolean;
88
+ protectedFields?: ProtectedFields;
89
+ parameters?: Parameters;
90
+ goalLines?: Array<Component.GoalLine.Rule>;
91
+ axisTitles?: AxisTitles;
92
+ headline?: Headline;
93
+ };
72
94
  export type CustomViewAttributes = BaseAttributes & {
73
95
  type: 'custom';
74
96
  viewId: string;
@@ -267,7 +289,7 @@ export declare namespace Component {
267
289
  goalLines?: Array<Component.GoalLine.Rule>;
268
290
  axisTitles?: AxisTitles;
269
291
  };
270
- export type Attributes = ScatterChartAttributes | LineChartAttributes | AreaChartAttributes | BarChartAttributes | PieChartAttributes | SingleStatAttributes | DataTableAttributes | BasicTableAttributes | ComboChartAttributes | HorizontalBarChartAttributes | MercatorMapAttributes | CustomViewAttributes | ProgressAttributes;
292
+ export type Attributes = AreaChartAttributes | BarChartAttributes | BasicTableAttributes | ComboChartAttributes | CustomViewAttributes | DataTableAttributes | FunnelChartAttributes | HorizontalBarChartAttributes | LineChartAttributes | MercatorMapAttributes | PieChartAttributes | ProgressAttributes | RichTextAttributes | ScatterChartAttributes | SingleStatAttributes;
271
293
  export interface RenderTableCell {
272
294
  viewId: string;
273
295
  type: 'basicTable' | 'dataTable';
@@ -73,6 +73,7 @@ export interface FormatPanelNamespaces {
73
73
  count: SubSection<'statsLabels'>;
74
74
  };
75
75
  };
76
+ rich_text?: Section<'richText'> & {};
76
77
  heading: Section<'heading'> & {
77
78
  subSectionDefinition: {
78
79
  title: SubSection<'title'>;
@@ -105,5 +106,5 @@ export interface FormatPanelNamespaces {
105
106
  };
106
107
  };
107
108
  }
108
- export declare type ComponentNamespace = 'pivot_table' | 'horizontal_bar_chart' | 'bar_chart' | 'area_chart' | 'line_chart' | 'scatter_chart' | 'pie_chart' | 'single_stat' | 'basic_table' | 'combo_chart' | 'mercator_map' | 'custom' | 'fields' | 'progress' | 'headline';
109
+ export declare type ComponentNamespace = 'area_chart' | 'bar_chart' | 'basic_table' | 'combo_chart' | 'custom' | 'fields' | 'funnel_chart' | 'headline' | 'horizontal_bar_chart' | 'line_chart' | 'mercator_map' | 'pie_chart' | 'pivot_table' | 'progress' | 'rich_text' | 'scatter_chart' | 'single_stat';
109
110
  export {};
@@ -29,7 +29,7 @@ export declare const validateQueries: (dataSet: DataSet, queries: Query[]) => un
29
29
  * provide the componentType to ensure the custom fields which are returned
30
30
  * are also supported by the componentType.
31
31
  */
32
- export declare const takeCustomFields: (dataSet: DataSet, componentType?: "progress" | "barChart" | "horizontalBarChart" | "areaChart" | "lineChart" | "scatterChart" | "pieChart" | "singleStat" | "dataTable" | "basicTable" | "comboChart" | "mercatorMap" | "custom" | undefined) => CustomField[];
32
+ export declare const takeCustomFields: (dataSet: DataSet, componentType?: "progress" | "areaChart" | "barChart" | "basicTable" | "comboChart" | "custom" | "dataTable" | "funnelChart" | "horizontalBarChart" | "lineChart" | "mercatorMap" | "pieChart" | "richText" | "scatterChart" | "singleStat" | undefined) => CustomField[];
33
33
  export declare const takeNonCustomFields: (dataSet: DataSet) => Array<NonDateTimeField | DateTimeField | SimpleMathField>;
34
34
  export declare const takeNonPercentageCustomFields: (dataSet: DataSet) => Array<NonDateTimeField | DateTimeField | SimpleMathField>;
35
35
  export declare const removeCustomFields: (dataSet: DataSet) => DataSet;
@@ -1,6 +1,7 @@
1
1
  import { QueryAttributes } from '../QueryAttributes/types';
2
2
  import { Result as ResultType } from '../Result/types';
3
3
  import { TableRepresentation } from './types';
4
+ import { TextOverride } from '../../../shared-logic/src/Translations/types';
4
5
  /**
5
6
  * This logic does not do any formatting
6
7
  * of the result, it simply pivots a result into
@@ -10,4 +11,7 @@ import { TableRepresentation } from './types';
10
11
  * function in shared-ui package which calls this one.
11
12
  *
12
13
  */
13
- export declare const resultToPivotTableRepresentation: (result: ResultType, dimension: QueryAttributes['dimension'], measure: QueryAttributes['measure'], nullReplacement?: string | undefined) => TableRepresentation;
14
+ export declare const resultToPivotTableRepresentation: (result: ResultType, dimension: QueryAttributes['dimension'], measure: QueryAttributes['measure'], dataSetId: string, nullValueAlias?: ((params: {
15
+ dataSetId: string;
16
+ fieldId: string;
17
+ }) => string | null | undefined) | undefined, textOverride?: TextOverride | undefined) => TableRepresentation;
@@ -7,6 +7,7 @@ export declare type ParsedDatumKey = {
7
7
  dimensionValues: Array<string | number | null | string[]>;
8
8
  fieldId: string;
9
9
  function: string;
10
+ modifier?: string;
10
11
  };
11
12
  export declare const key: (dimensionKeys: ParsedDatumKey['dimensionKeys'], dimensionValues: ParsedDatumKey['dimensionValues'], fieldId: ParsedDatumKey['fieldId'], func: ParsedDatumKey['function']) => string;
12
13
  export declare const isDatumKey: (key: string | undefined) => boolean;
@@ -7,8 +7,8 @@ import { SupportedAggregates } from '../Aggregate';
7
7
  import { SupportedTimeTruncFunctions } from '../TimeDimension/types';
8
8
  import { QueryEngineConfig } from '../QueryEngineConfig/types';
9
9
  import { SupportedTransformationFunctions } from '../Functions/types';
10
- import * as Measure from '../Measure';
11
10
  import { TextOverride } from '../Translations/types';
11
+ export declare const NULL_REPLACEMENT = "No value";
12
12
  export declare const ALL_AGGREGATES: Array<QueryAttributes.Aggregate>;
13
13
  export declare type OldField = {
14
14
  id: string;
@@ -34,7 +34,7 @@ export declare const VALID_DATA_TYPES: DataType[];
34
34
  export declare const isValidDataType: (type: string) => boolean;
35
35
  export declare const toHumanReadable: (fieldTitle: string) => string;
36
36
  export declare const dataTypeToHumanReadable: (dataType: DataType) => string;
37
- export declare const toString: (value: null | string | number | Date | boolean | string[], formatDate: (date: Date) => string, nullReplacement?: string) => string | null;
37
+ export declare const toString: (value: null | string | number | Date | boolean | string[], formatDate?: ((date: Date) => string) | undefined, nullReplacement?: string) => string | null;
38
38
  export declare const toStringShort: (value: null | string | number | Date, nullReplacement?: string) => string | number;
39
39
  export declare const removeFields: <T extends {
40
40
  id: string;
@@ -101,5 +101,12 @@ declare type NullValueAlias = (params: {
101
101
  dataSetId: string;
102
102
  fieldId: string;
103
103
  }) => string | null | undefined;
104
- export declare const nullValue: (dataSetId: string, dimensions: QueryAttributes.Dimension[] | null, timeDimension: QueryAttributes.TimeDimension | null, nullValueAlias?: NullValueAlias | undefined, textOverride?: TextOverride | undefined) => string | undefined;
104
+ export declare const nullValue: (dataSetId: string, dimensions: QueryAttributes.Dimension[] | null, timeDimension: QueryAttributes.TimeDimension | null, nullValueAlias?: NullValueAlias | undefined, textOverride?: TextOverride | undefined, textOverrideKey?: string | undefined) => string | undefined;
105
+ export declare const nullValueWithFieldId: ({ dataSetId, fieldId, nullValueAlias, textOverride, textOverrideKey, }: {
106
+ dataSetId: string;
107
+ fieldId: string;
108
+ nullValueAlias?: NullValueAlias | undefined;
109
+ textOverride?: TextOverride | undefined;
110
+ textOverrideKey?: string | undefined;
111
+ }) => string | undefined;
105
112
  export {};
@@ -27,6 +27,7 @@ export declare type LabelsSection = Section<'statsLabels'> & LabelSection<'stats
27
27
  export declare type PrefixSection = Section<'prefixes'>;
28
28
  export declare type MapColorsSection = Section<'mapColors'>;
29
29
  export declare type HeadlineSection = Section<'headline'>;
30
+ export declare type RichTextFormatSection = Section<'richText'>;
30
31
  export interface ConditionalFormattingSection extends Section<'conditionalFormatting'> {
31
32
  ruleType: FormattingRuleType;
32
33
  subSection?: {
@@ -40,5 +41,5 @@ export interface ProgressTypeSection<T> extends Omit<Section<T>, 'type'> {
40
41
  progressType?: Omit<Section<T>, 'type'>;
41
42
  }
42
43
  export declare type ProgressTypesSection = Section<'progressType'> & ProgressTypeSection<'progressType'>;
43
- export declare type FormatPanelSection = HeadingSection | FormatSection | ChartStylesSection | PrefixSection | AxisLabelsSection | LabelsSection | MapColorsSection | ConditionalFormattingSection | GoalLineSection | ProgressTypesSection | HeadlineSection;
44
+ export declare type FormatPanelSection = HeadingSection | FormatSection | ChartStylesSection | PrefixSection | AxisLabelsSection | LabelsSection | MapColorsSection | ConditionalFormattingSection | GoalLineSection | ProgressTypesSection | HeadlineSection | RichTextFormatSection;
44
45
  export declare type FormatPanelConfig = Array<FormatPanelSection>;
@@ -0,0 +1,3 @@
1
+ import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
+ declare const CONSTANTS: ViewConstants;
3
+ export default CONSTANTS;
@@ -0,0 +1,4 @@
1
+ import { Component } from '../Component/types';
2
+ import { LoadComponentInterface } from '../ComponentInterface/types';
3
+ declare const FunnelChart: LoadComponentInterface<Component.FunnelChartAttributes, Component.FunnelChartAttributes>;
4
+ export default FunnelChart;
@@ -0,0 +1,4 @@
1
+ import { Component } from '../Component/types';
2
+ import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
+ declare const _default: (config: ComponentInterfaceConfig) => (lineChart: Component.FunnelChartAttributes, partial: Partial<Component.FunnelChartAttributes>) => Component.FunnelChartAttributes;
4
+ export default _default;
@@ -1,8 +1,9 @@
1
1
  import { DataSet } from '../../../shared-logic/src/DataSet/types';
2
2
  import { loadDataCallback } from '../Callbacks/types';
3
3
  import { DataMap } from './types';
4
- export declare const cachedData: {
4
+ export declare let cachedData: {
5
5
  [cacheKey: string]: DataMap[] | null;
6
6
  };
7
+ export declare const clearCachedData: () => void;
7
8
  export declare const _clearAllDataDownloadThrottles: () => void;
8
9
  export declare const fetchData: (dataSet: DataSet, doFetch: loadDataCallback, cacheKey: string) => Promise<DataMap[] | null>;
@@ -105,6 +105,7 @@ export declare type SubQuery<SupportedFunction = string, ComparisonOperator = st
105
105
  /** For when a query cannot be generalised into the TraditionalQuery format. We can provide a very specific query for a specific purpose. */
106
106
  declare type BasePreparedQuery<PreparedQueryType> = {
107
107
  type: 'preparedQuery';
108
+ timeZone?: string;
108
109
  preparedQueryType: PreparedQueryType;
109
110
  };
110
111
  /** A prepared query that returns unique values for a single array field */
@@ -123,6 +124,7 @@ export declare type PreparedQuery = UniqueArrayValuesQuery | PreAggregatedQuery;
123
124
  /** Most commonly used query format. */
124
125
  export declare type Query<SupportedFunction = string, ComparisonOperator = string, MathsOp = string> = {
125
126
  type: 'query';
127
+ timeZone?: string;
126
128
  dataSetId: string;
127
129
  measure: Array<QueryNameSpace.FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>>;
128
130
  filter: QueryNameSpace.Filter<QueryNameSpace.FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>, ComparisonOperator>[][];
@@ -0,0 +1,3 @@
1
+ import Joi from '@vizzly/joi';
2
+ import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
+ export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -0,0 +1,3 @@
1
+ import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
+ declare const CONSTANTS: ViewConstants;
3
+ export default CONSTANTS;
@@ -0,0 +1,4 @@
1
+ import { Component } from '../Component/types';
2
+ import { LoadComponentInterface } from '../ComponentInterface/types';
3
+ declare const RichText: LoadComponentInterface<Component.RichTextAttributes, Component.RichTextAttributes>;
4
+ export default RichText;
@@ -0,0 +1,38 @@
1
+ export declare const INITIAL_RICH_TEXT_CONTENT: {
2
+ type: string;
3
+ content: ({
4
+ type: string;
5
+ attrs: {
6
+ level: number;
7
+ language?: undefined;
8
+ };
9
+ content: {
10
+ type: string;
11
+ text: string;
12
+ }[];
13
+ } | {
14
+ type: string;
15
+ content: ({
16
+ type: string;
17
+ text: string;
18
+ marks?: undefined;
19
+ } | {
20
+ type: string;
21
+ marks: {
22
+ type: string;
23
+ }[];
24
+ text: string;
25
+ })[];
26
+ attrs?: undefined;
27
+ } | {
28
+ type: string;
29
+ attrs: {
30
+ language: null;
31
+ level?: undefined;
32
+ };
33
+ content: {
34
+ type: string;
35
+ text: string;
36
+ }[];
37
+ })[];
38
+ };
@@ -0,0 +1,4 @@
1
+ import { Component } from '../Component/types';
2
+ import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
+ declare const _default: (config: ComponentInterfaceConfig) => (areaChart: Component.RichTextAttributes, partial: Partial<Component.RichTextAttributes>) => Component.RichTextAttributes;
4
+ export default _default;
@@ -26,6 +26,7 @@ export declare type SubscriberOptions = StateOptions & {
26
26
  save?: boolean;
27
27
  resizing?: Resizing;
28
28
  drilldown?: Drilldown;
29
+ clearInMemoryDb?: boolean;
29
30
  };
30
31
  export declare type Subscriber = (data: SubscriberOptions) => void;
31
32
  interface VizzlyState {
@@ -39,6 +40,7 @@ export declare class VizzlyStateManager implements VizzlyState {
39
40
  get(channel: string, listener: Subscriber): () => void;
40
41
  set(channel: string, data: StateOptions): void;
41
42
  reload(identifier: string): void;
43
+ inBrowserRefetchData(identifier: string): void;
42
44
  save(identifier: string): void;
43
45
  resizing(identifier: string, resizing: boolean, params?: {
44
46
  timeout?: number;
@@ -25,5 +25,5 @@ declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryE
25
25
  customHeaders?: (() => {
26
26
  [headerKey: string]: string;
27
27
  }) | undefined;
28
- } | undefined) => runQueriesCallback;
28
+ } | undefined, timeZone?: string | undefined) => runQueriesCallback;
29
29
  export default getRunQueriesCallback;
@@ -14,5 +14,6 @@ declare function getComponentInterface(type: 'horizontalBarChart', config?: Comp
14
14
  declare function getComponentInterface(type: 'areaChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.AreaChartAttributes>;
15
15
  declare function getComponentInterface(type: 'lineChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.LineChartAttributes>;
16
16
  declare function getComponentInterface(type: 'barChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.BarChartAttributes>;
17
+ declare function getComponentInterface(type: 'funnelChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.FunnelChartAttributes>;
17
18
  declare function getComponentInterface(type: ComponentType, config?: ComponentInterfaceConfig): ComponentInterface<Component.Attributes>;
18
19
  export default getComponentInterface;
@@ -3,6 +3,6 @@ import { Result } from '../../../shared-logic/src/Result/types';
3
3
  import { FilterConfig } from '../../../shared-logic/src/AdditionalFilter/types';
4
4
  import { DataSet } from '../../../shared-logic/src/DataSet/types';
5
5
  import { QueryableEntity } from './useQueryEffect/types';
6
- export declare const useQueryEffect: (queries: QueryableEntity, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, onResultsCallback: (results: Array<Result | null>) => void, filterConfig: FilterConfig, dataSet: DataSet, componentType?: "progress" | "barChart" | "horizontalBarChart" | "areaChart" | "lineChart" | "scatterChart" | "pieChart" | "singleStat" | "dataTable" | "basicTable" | "comboChart" | "mercatorMap" | "custom" | undefined) => {
6
+ export declare const useQueryEffect: (queries: QueryableEntity, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, onResultsCallback: (results: Array<Result | null>) => void, filterConfig: FilterConfig, dataSet: DataSet, componentType?: "progress" | "areaChart" | "barChart" | "basicTable" | "comboChart" | "custom" | "dataTable" | "funnelChart" | "horizontalBarChart" | "lineChart" | "mercatorMap" | "pieChart" | "richText" | "scatterChart" | "singleStat" | undefined) => {
7
7
  queriesAreChanging: boolean;
8
8
  };
@@ -27,5 +27,6 @@ export declare type ControlProps = {
27
27
  classNameInputComponent?: string;
28
28
  classNameInputControl?: string;
29
29
  classNameInputControlGrid?: string;
30
+ nullValueAlias?: string;
30
31
  };
31
32
  export declare const Control: FunctionComponent<ControlProps>;
@@ -20,6 +20,7 @@ declare type Props = VizzlyComponents.ComponentOverrides.Props.Select & {
20
20
  onFreeTextSelected?: () => void;
21
21
  onClick?: (() => void) | undefined;
22
22
  formatLabel?: (label: string | number) => string | number;
23
+ nullValueAlias?: string;
23
24
  };
24
25
  export declare const PROPS_AS_CLASSNAMES: CustomThemeClassNamespaces[];
25
26
  declare const _default: (props: Props) => JSX.Element;
@@ -37,6 +37,7 @@ declare type Props = {
37
37
  hasFreeText?: boolean;
38
38
  onClick?: () => void;
39
39
  formatLabel?: (label: string | number) => string | number;
40
+ noValueLabel?: string;
40
41
  };
41
42
  export declare const Select: (props: Props) => JSX.Element;
42
43
  export declare const SelectInput: FunctionComponent<{
@@ -10,7 +10,6 @@ export declare const ClearIcon: FunctionComponent<{
10
10
  textOverride?: TextOverride;
11
11
  }>;
12
12
  export declare const rootStyles: {
13
- height: string;
14
13
  width: string;
15
14
  cursor: string;
16
15
  paddingTop: number;
@@ -8,8 +8,8 @@ export declare enum FilterType {
8
8
  export declare const AdvancedSelectFilter: FunctionComponent<{
9
9
  filterIndex: number;
10
10
  filter: MultiSelectFilterType | NumericFilter;
11
- onChange: (filter: MultiSelectFilterType | NumericFilter) => void;
12
11
  dataSets: DataSet[];
12
+ onChange: (filter: MultiSelectFilterType | NumericFilter) => void;
13
13
  showClearBtn?: boolean;
14
14
  type: FilterType;
15
15
  }>;
@@ -25,7 +25,7 @@ declare type SetAdvancedOptions = {
25
25
  options: AdvancedOptions;
26
26
  };
27
27
  declare type Action = SetSelectedFields | SetSelectedDataSets | SetTitle | SetType | SetAdvancedOptions;
28
- export declare const useBuildDashboardFilter: (currentGlobalFilter: AdditionalFilter, dataSets: Array<DataSetType>) => {
28
+ export declare const useBuildDashboardFilter: (currentGlobalFilter: AdditionalFilter, allDataSets: Array<DataSetType>) => {
29
29
  selectedFieldIndexes: number[];
30
30
  selectedDataSetIndexes: number[];
31
31
  dataSetOptions: {