@vizzly/dashboard 0.15.0-dev-c8007c0d91fa66cc8fff6cdeaf34c7e7f49bea17 → 0.15.0-dev-0c175094808a340c84fe99388ac46bcc1bedd9a8

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 (56) hide show
  1. package/dist/charts/src/BubbleChart/BubbleChart.d.ts +1 -1
  2. package/dist/charts/src/ScatterChart/ScatterChart.d.ts +1 -1
  3. package/dist/dashboard/src/types.d.ts +1 -130
  4. package/dist/dashboard.cjs.development.js +1098 -1051
  5. package/dist/dashboard.cjs.production.min.js +1 -1
  6. package/dist/dashboard.esm.js +1098 -1051
  7. package/dist/results-driver/src/types.d.ts +2 -0
  8. package/dist/services/src/index.d.ts +2 -0
  9. package/dist/shared-logic/src/AliasFields/types.d.ts +5 -0
  10. package/dist/shared-logic/src/Callbacks/cell.funcs.d.ts +1 -1
  11. package/dist/shared-logic/src/ComboChartV2/buildComboChartRepresentation.d.ts +3 -3
  12. package/dist/shared-logic/src/CustomField/AliasField/index.d.ts +7 -0
  13. package/dist/shared-logic/src/CustomField/CustomField.d.ts +2 -1
  14. package/dist/shared-logic/src/CustomField/types.d.ts +6 -1
  15. package/dist/shared-logic/src/DataTable/resultToPivotTableRepresentation.d.ts +2 -1
  16. package/dist/shared-logic/src/Field/Field.d.ts +4 -3
  17. package/dist/shared-logic/src/ValueAlias/ValueAlias.d.ts +2 -1
  18. package/dist/shared-logic/src/VizzlyState/index.d.ts +2 -0
  19. package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +2 -1
  20. package/dist/{dashboard → shared-ui}/src/SetupError.d.ts +2 -2
  21. package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
  22. package/dist/shared-ui/src/base/Panel/Panel.d.ts +1 -1
  23. package/dist/shared-ui/src/base/Section/Section.d.ts +1 -1
  24. package/dist/shared-ui/src/base/Table/Table.d.ts +1 -1
  25. package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedSelectFilter.d.ts +1 -1
  26. package/dist/shared-ui/src/components/AdditionalFilter/asyncLoadFilterOptions.d.ts +2 -1
  27. package/dist/shared-ui/src/components/AreaChart/AreaChartView.d.ts +1 -1
  28. package/dist/shared-ui/src/components/BubbleChart/BubbleChartView.d.ts +1 -1
  29. package/dist/shared-ui/src/components/ComboChart/ComboChartView.d.ts +1 -1
  30. package/dist/shared-ui/src/components/DataTable/DataTableRow.d.ts +1 -1
  31. package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +2 -1
  32. package/dist/shared-ui/src/components/DataTable/helpers.d.ts +2 -1
  33. package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +1 -1
  34. package/dist/shared-ui/src/components/Progress/ProgressView.d.ts +1 -1
  35. package/dist/shared-ui/src/components/ScatterChart/ScatterChartView.d.ts +1 -1
  36. package/dist/shared-ui/src/components/SingleStat/SingleStatView.d.ts +1 -1
  37. package/dist/shared-ui/src/contexts/AliasFields/useInteractiveFields.d.ts +6 -0
  38. package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/GlobalProvider.d.ts +1 -1
  39. package/dist/shared-ui/src/contexts/GlobalProvider/GlobalProvider.test.d.ts +1 -0
  40. package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/buildImplementationMeta.d.ts +1 -1
  41. package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/useGlobalProvider.d.ts +39 -31
  42. package/dist/shared-ui/src/errors/InvalidProperty.d.ts +5 -0
  43. package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +1 -1
  44. package/dist/shared-ui/src/headlessui/hooks/use-disposables.d.ts +1 -1
  45. package/dist/shared-ui/src/headlessui/utils/disposables.d.ts +1 -1
  46. package/dist/shared-ui/src/types/dashboard.d.ts +130 -0
  47. package/package.json +1 -1
  48. /package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/useOnDashboardLoadCallback.d.ts +0 -0
  49. /package/dist/{dashboard → shared-ui}/src/contexts/SessionContext/getStrategy.d.ts +0 -0
  50. /package/dist/{dashboard → shared-ui}/src/contexts/SessionContext/index.d.ts +0 -0
  51. /package/dist/{dashboard → shared-ui}/src/contexts/SessionContext/useSessionContext.d.ts +0 -0
  52. /package/dist/{dashboard → shared-ui}/src/contexts/useDashboardStrategy/runStrategy.d.ts +0 -0
  53. /package/dist/{dashboard → shared-ui}/src/contexts/useDashboardStrategy/types.d.ts +0 -0
  54. /package/dist/{dashboard → shared-ui}/src/contexts/useDashboardStrategy.d.ts +0 -0
  55. /package/dist/{dashboard → shared-ui}/src/contexts/useScheduledReports.d.ts +0 -0
  56. /package/dist/{dashboard → shared-ui}/src/errors/FailedToSaveError.d.ts +0 -0
@@ -5,6 +5,7 @@ import { loadDataCallback } from '../../shared-logic/src/Callbacks/types';
5
5
  import { Query } from '../../shared-logic/src/Query/types';
6
6
  import { Result } from '../../shared-logic/src/Result/types';
7
7
  import { VariableList } from '../../shared-logic/src/Variables/types';
8
+ import { AliasFields } from '../../shared-logic/src/AliasFields/types';
8
9
  export declare type VizzlyQueryEngineDriver = {
9
10
  type: 'vizzlyQueryEngine';
10
11
  queryEngineConfig: QueryEngineConfig;
@@ -37,4 +38,5 @@ export declare type Params = {
37
38
  timeRangeOptions: TimeRangeOptions;
38
39
  timeZone?: string;
39
40
  variables: VariableList;
41
+ aliasFields: AliasFields;
40
42
  };
@@ -21,6 +21,7 @@ export type { FilterConfig } from '../../shared-logic/src/AdditionalFilter/types
21
21
  export type { ViewConfiguration } from '../../shared-logic/src/ViewConfiguration/types';
22
22
  export { VizzlyInstanceNotLoaded } from './errors/VizzlyInstanceNotLoaded';
23
23
  import { CustomField } from '../../shared-logic/src/CustomField/types';
24
+ import { AliasFields } from '../../shared-logic/src/AliasFields/types';
24
25
  export declare type Options = {
25
26
  apiHost: string;
26
27
  };
@@ -177,5 +178,6 @@ export declare type QueryParams = {
177
178
  queryEngineEndpoint?: QueryEngineEndpoint;
178
179
  dateFilterOptions?: DateTimeFilterOptions;
179
180
  variables?: VariableList;
181
+ aliasFields?: AliasFields;
180
182
  filterConfig?: FilterConfig;
181
183
  };
@@ -0,0 +1,5 @@
1
+ export declare type AliasFields = {
2
+ [dataSetId: string]: {
3
+ [fieldId: string]: string;
4
+ };
5
+ };
@@ -65,7 +65,7 @@ export declare function getCellAttributes(result: Result, rowIndex: number, cell
65
65
  aggregate?: undefined;
66
66
  } | {
67
67
  fieldId: string;
68
- value: string | number;
68
+ value: import("react").ReactText;
69
69
  function: string;
70
70
  aggregate: string;
71
71
  grouping?: undefined;
@@ -8,13 +8,13 @@ export declare function buildComboChartRepresentation(xKeyField: ResultType.Fiel
8
8
  max: number;
9
9
  dataType: import("../Field/types").DataType;
10
10
  key: string | null;
11
- ordering: "asc" | "desc" | null;
11
+ ordering: "desc" | "asc" | null;
12
12
  } | {
13
13
  min: null;
14
14
  max: null;
15
15
  dataType: import("../Field/types").DataType;
16
16
  key: string | null;
17
- ordering: "asc" | "desc" | null;
17
+ ordering: "desc" | "asc" | null;
18
18
  };
19
19
  ticks: import("../ChartsV2/types").Tick<string | number | Date>[];
20
20
  postfix: string;
@@ -29,7 +29,7 @@ export declare function buildComboChartRepresentation(xKeyField: ResultType.Fiel
29
29
  min: number;
30
30
  dataType: import("../Field/types").DataType;
31
31
  key: string | null;
32
- ordering: "asc" | "desc" | null;
32
+ ordering: "desc" | "asc" | null;
33
33
  };
34
34
  ticks: import("../ChartsV2/types").Tick<number>[];
35
35
  barKeys: string[];
@@ -0,0 +1,7 @@
1
+ import { Params } from '../../../../results-driver/src/types';
2
+ import { DataSet } from '../../DataSet/types';
3
+ import { Query } from '../../Query/types';
4
+ import { QueryAttributes } from '../../QueryAttributes/types';
5
+ import { QueryEngineConfig } from '../../QueryEngineConfig/types';
6
+ import { AliasFieldType } from '../types';
7
+ export declare const build: (measureAttribute: QueryAttributes.Measure, customField: AliasFieldType, _queryEngineConfig: QueryEngineConfig, dataSet: DataSet, _queryHasDimension: boolean, params: Params) => Query['measure'][number];
@@ -1,5 +1,5 @@
1
1
  import { DataSet as DataSetType } from '../DataSet/types';
2
- import { AggregateMathField, ConditionalField, CustomField, DateCalculationField, MetricField, PercentageField, RoundedNumberField, RulesField, SimpleMathField } from '../CustomField/types';
2
+ import { AggregateMathField, AliasFieldType, ConditionalField, CustomField, DateCalculationField, MetricField, PercentageField, RoundedNumberField, RulesField, SimpleMathField } from '../CustomField/types';
3
3
  import { QueryAttributes } from '../QueryAttributes/types';
4
4
  import { QueryEngineConfig } from '../QueryEngineConfig/types';
5
5
  import { Query } from '../Query/types';
@@ -12,6 +12,7 @@ export declare const isPercentageField: (field: DataSetType.Field) => field is P
12
12
  export declare const isRules: (field: DataSetType.Field) => field is RulesField;
13
13
  export declare const isConditional: (field: DataSetType.Field) => field is ConditionalField;
14
14
  export declare const isCustomBuildMetric: (field: DataSetType.Field) => field is MetricField;
15
+ export declare const isAliasField: (field: DataSetType.Field) => field is AliasFieldType;
15
16
  export declare const isDateCalculation: (field: DataSetType.Field) => field is DateCalculationField;
16
17
  export declare const getCustomFieldCategory: (field: CustomField) => CustomFieldCategory;
17
18
  export declare const isCustomField: (field: DataSetType.Field) => field is CustomField;
@@ -58,6 +58,11 @@ export declare type RoundedNumberField = BaseCustomField & RoundedNumber;
58
58
  export declare type DateCalculationField = BaseCustomField & DateCalculation;
59
59
  export declare type AggregateMathField = BaseCustomField & AggregateMath;
60
60
  export declare type ConditionalField = BaseCustomField & Conditional;
61
+ export declare type AliasFieldType = BaseCustomField & {
62
+ allowedFields: Array<{
63
+ id: string;
64
+ }>;
65
+ };
61
66
  export declare type MetricField = BaseCustomField & {
62
67
  metric: Metric;
63
68
  };
@@ -72,7 +77,7 @@ export declare type CustomBuildMetricField = BaseField & {
72
77
  metricAttributes: Metric;
73
78
  dataType: 'number';
74
79
  };
75
- export declare type CustomField = PercentageField | SimpleMathField | AggregateMathField | RulesField | RoundedNumberField | DateCalculationField | ConditionalField | MetricField | CustomBuildMetricField;
80
+ export declare type CustomField = PercentageField | SimpleMathField | AggregateMathField | RulesField | RoundedNumberField | DateCalculationField | ConditionalField | MetricField | CustomBuildMetricField | AliasFieldType;
76
81
  export declare type MathOperator = '*' | '-' | '/' | '+';
77
82
  export declare type CustomFieldCategory = 'percentage' | 'math' | 'rules' | 'roundedNumber' | 'dateCalculation' | 'conditional' | 'customBuildMetric';
78
83
  export declare enum AcceptedTypes {
@@ -1,7 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import { TextOverride } from '../../../shared-logic/src/Translations/types';
2
3
  import { QueryAttributes } from '../QueryAttributes/types';
3
4
  import { Result as ResultType } from '../Result/types';
4
5
  import { TableRepresentation } from './types';
5
6
  export declare const resultToPivotTableRepresentation: (result: ResultType, dimension: QueryAttributes['dimension'], measure: QueryAttributes['measure'], dataSetId: string, textOverride?: TextOverride | undefined, hiddenFields?: string[] | undefined, valueAlias?: {
6
- [id: string]: string | number;
7
+ [id: string]: import("react").ReactText;
7
8
  } | import("../ValueAlias/types").ValueAliasFunction | undefined) => TableRepresentation;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSet } from '../DataSet/types';
2
3
  import { DateTimeField, NonDateTimeField, SupportedAggregateOption } from '../Field/types';
3
4
  import { DataType } from './types';
@@ -35,7 +36,7 @@ export declare const isValidDataType: (type: string) => boolean;
35
36
  export declare const toHumanReadable: (fieldTitle: string) => string;
36
37
  export declare const dataTypeToHumanReadable: (dataType: DataType) => string;
37
38
  export declare const toString: (value: null | string | number | Date | boolean | string[], formatDate?: ((date: Date) => string) | undefined, nullReplacement?: string) => string | null;
38
- export declare const toStringShort: (value: null | string | number | Date, nullReplacement?: string) => string | number;
39
+ export declare const toStringShort: (value: null | string | number | Date, nullReplacement?: string) => import("react").ReactText;
39
40
  export declare const removeFields: <T extends {
40
41
  id: string;
41
42
  }>(originalFields: {
@@ -95,8 +96,8 @@ export declare const upcastStringDimensionsToObject: (dimensions: QueryAttribute
95
96
  export declare const isArrayDataType: (field: {
96
97
  dataType: DataType;
97
98
  }) => boolean;
98
- export declare const supportedTransformationFunctions: (keys?: (string | number)[] | undefined) => SupportedTransformationFunctions;
99
+ export declare const supportedTransformationFunctions: (keys?: import("react").ReactText[] | undefined) => SupportedTransformationFunctions;
99
100
  export declare const supportedAggregatesFunction: (queryEngineConfig: QueryEngineConfig, dataType: DataType, supportedAggregateOptions?: string[] | undefined) => SupportedAggregateOption[];
100
101
  export declare const checkForNullValue: (dataSetId: string, dimensions: QueryAttributes.Dimension[] | null, timeDimension: QueryAttributes.TimeDimension | null, textOverride?: TextOverride | undefined, valueAlias?: {
101
- [id: string]: string | number;
102
+ [id: string]: import("react").ReactText;
102
103
  } | import("../ValueAlias/types").ValueAliasFunction | undefined, textOverrideKey?: string | undefined) => string | undefined;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  export declare const build: (value: string | number | null, valueAlias?: {
2
- [id: string]: string | number;
3
+ [id: string]: import("react").ReactText;
3
4
  } | import("./types").ValueAliasFunction | undefined, options?: {
4
5
  fieldId?: string | null | undefined;
5
6
  filter?: import("../AdditionalFilter/types").NumericFilter | import("../AdditionalFilter/types").SingleSelectFilter | import("../AdditionalFilter/types").DateFilter | import("../AdditionalFilter/types").DateAndTimeFilter | import("../AdditionalFilter/types").DateTimeFilter | import("../AdditionalFilter/types").MultiSelectFilter | import("../AdditionalFilter/types").AdvancedFilter | undefined;
@@ -2,6 +2,7 @@ import { AdditionalFilter, Field } from '../AdditionalFilter/types';
2
2
  import { SelectedDrilldown } from '../Drilldown/Drilldown';
3
3
  import { FeatureToggles } from '../FeatureToggle/types';
4
4
  import { VariableList } from '../Variables/types';
5
+ import { AliasFields } from '../AliasFields/types';
5
6
  declare type UpdateFilterType = {
6
7
  properties: Partial<Omit<AdditionalFilter, 'appliesToFields'>> & {
7
8
  appliesToFields: Array<Field>;
@@ -16,6 +17,7 @@ export declare type StateOptions = {
16
17
  removeFilter?: Array<Field>;
17
18
  featureToggles?: Partial<FeatureToggles>;
18
19
  variables?: VariableList;
20
+ aliasFields?: AliasFields;
19
21
  };
20
22
  export declare type Resizing = {
21
23
  timeout?: number;
@@ -8,6 +8,7 @@ import { Result } from '../../Result/types';
8
8
  import { DataSet } from '../../DataSet/types';
9
9
  import { IdentityConfig as IdentityConfigType } from '../../IdentityConfig/types';
10
10
  import { VariableList } from '../../Variables/types';
11
+ import { AliasFields } from '../../AliasFields/types';
11
12
  declare type CallbackError = null;
12
13
  export declare type runQueriesCallback = (queries: Component.Attributes | AdditionalFilter | QueryAttributes[] | [PreparedQuery], params: {
13
14
  dataSets: DataSet[];
@@ -15,7 +16,7 @@ export declare type runQueriesCallback = (queries: Component.Attributes | Additi
15
16
  dataAccessToken?: string;
16
17
  filterConfig?: FilterConfig;
17
18
  }) => Promise<(Result | null)[] | Array<Result['content'] | null> | CallbackError>;
18
- declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, runQueries?: ((queries: import("../../../../shared-logic/src/Query/types").Query[], params: {
19
+ declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, aliasFields: AliasFields, runQueries?: ((queries: import("../../../../shared-logic/src/Query/types").Query[], params: {
19
20
  dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[];
20
21
  abortSignal?: AbortSignal | undefined;
21
22
  dataAccessToken?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ErrorProvided } from './contexts/SessionContext/useSessionContext';
3
- import { VizzlyComponents } from '../../shared-ui/src';
4
- import { DashboardProps } from './types';
3
+ import { VizzlyComponents } from '.';
4
+ import { DashboardProps } from '@vizzly/dashboard/src/types';
5
5
  declare type Props = {
6
6
  implementationMeta: VizzlyComponents.ImplementationMeta;
7
7
  renderLoadingComponent: DashboardProps['renderLoadingComponent'];
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const List: import("react").FunctionComponent<{
3
3
  children: import("react").ReactNode;
4
- as?: "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "legend" | "desc" | "title" | "big" | "link" | "sup" | "header" | "select" | "input" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "ins" | "kbd" | "keygen" | "label" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | undefined;
4
+ as?: "symbol" | "object" | "filter" | "legend" | "metadata" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | undefined;
5
5
  paddingRight?: string | number | (string & {}) | undefined;
6
6
  }> & {
7
7
  Cell: import("react").ForwardRefExoticComponent<{
@@ -25,7 +25,7 @@ export declare const List: import("react").FunctionComponent<{
25
25
  }>;
26
26
  Heading: import("react").FunctionComponent<{
27
27
  children: import("react").ReactNode;
28
- as?: "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "legend" | "desc" | "title" | "big" | "link" | "sup" | "header" | "select" | "input" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "ins" | "kbd" | "keygen" | "label" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | undefined;
28
+ as?: "symbol" | "object" | "filter" | "legend" | "metadata" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | undefined;
29
29
  themeClassName?: import("../..").VizzlyTheming.FontStyle | undefined;
30
30
  className?: string | undefined;
31
31
  id?: string | undefined;
@@ -4,7 +4,7 @@ export declare const Panel: React.ForwardRefExoticComponent<{
4
4
  testId?: string | undefined;
5
5
  vizzlyPrefix?: string | undefined;
6
6
  transform?: boolean | undefined;
7
- role?: (string & {}) | "grid" | "none" | "button" | "checkbox" | "listbox" | "radio" | "region" | "cell" | "table" | "row" | "menu" | "listitem" | "menubar" | "menuitem" | "progressbar" | "separator" | "tab" | "tabpanel" | "toolbar" | "tooltip" | "treeitem" | "scrollbar" | "group" | "heading" | "search" | "link" | "article" | "dialog" | "figure" | "form" | "img" | "main" | "option" | "switch" | "alert" | "alertdialog" | "application" | "banner" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "directory" | "document" | "feed" | "gridcell" | "list" | "log" | "marquee" | "math" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "presentation" | "radiogroup" | "rowgroup" | "rowheader" | "searchbox" | "slider" | "spinbutton" | "status" | "tablist" | "term" | "textbox" | "timer" | "tree" | "treegrid" | undefined;
7
+ role?: "article" | "button" | "dialog" | "figure" | "form" | "img" | "link" | "main" | "menu" | "menuitem" | "option" | "table" | "switch" | (string & {}) | "grid" | "none" | "checkbox" | "listbox" | "radio" | "region" | "cell" | "row" | "listitem" | "menubar" | "progressbar" | "separator" | "tab" | "tabpanel" | "toolbar" | "tooltip" | "treeitem" | "scrollbar" | "group" | "heading" | "search" | "alert" | "alertdialog" | "application" | "banner" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "directory" | "document" | "feed" | "gridcell" | "list" | "log" | "marquee" | "math" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "presentation" | "radiogroup" | "rowgroup" | "rowheader" | "searchbox" | "slider" | "spinbutton" | "status" | "tablist" | "term" | "textbox" | "timer" | "tree" | "treegrid" | undefined;
8
8
  onHover?: ((active: boolean) => void) | undefined;
9
9
  width?: CSSProperties['width'];
10
10
  padding?: CSSProperties['padding'];
@@ -14,7 +14,7 @@ export declare const Section: React.FunctionComponent<RawSectionProps> & {
14
14
  Panel: React.FunctionComponent<{
15
15
  title?: string | ReactNode;
16
16
  children: ReactNode;
17
- as?: "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "legend" | "desc" | "title" | "big" | "link" | "sup" | "header" | "select" | "input" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "ins" | "kbd" | "keygen" | "label" | "li" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | undefined;
17
+ as?: "symbol" | "object" | "filter" | "legend" | "metadata" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | undefined;
18
18
  }>;
19
19
  Container: React.FunctionComponent<{
20
20
  children: ReactNode;
@@ -58,7 +58,7 @@ export declare const Table: import("react").ForwardRefExoticComponent<{
58
58
  onSort?: (() => void) | undefined;
59
59
  onChange?: (() => void) | undefined;
60
60
  label: string;
61
- direction?: "asc" | "desc" | undefined;
61
+ direction?: "desc" | "asc" | undefined;
62
62
  showTooltip?: boolean | undefined;
63
63
  testIdPrefix?: string | undefined;
64
64
  sortLabel?: string | undefined;
@@ -6,6 +6,6 @@ export declare const AdvancedSelectFilter: (props: import("react").PropsWithChil
6
6
  dataSets: import("../../../../../dashboard/src").DataSet<import("../../../../../dashboard/src").DataSet.Field>[];
7
7
  onChange: (filter: NumericFilter | MultiSelectFilterType) => void;
8
8
  showClearBtn?: boolean | undefined;
9
- type: Pick<import("../../../../../shared-logic/src/Field/types").DataType, number | "replace" | "fixed" | "repeat" | "slice" | "small" | "sub" | "bold" | "blink" | "toString" | "charAt" | "charCodeAt" | "concat" | "indexOf" | "lastIndexOf" | "localeCompare" | "match" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "length" | "substr" | "valueOf" | "codePointAt" | "includes" | "endsWith" | "normalize" | "startsWith" | "anchor" | "big" | "fontcolor" | "fontsize" | "italics" | "link" | "strike" | "sup" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "at">;
9
+ type: Pick<import("../../../../../shared-logic/src/Field/types").DataType, number | "big" | "link" | "small" | "sub" | "sup" | "replace" | "fixed" | "repeat" | "slice" | "bold" | "blink" | "toString" | "charAt" | "charCodeAt" | "concat" | "indexOf" | "lastIndexOf" | "localeCompare" | "match" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "length" | "substr" | "valueOf" | "codePointAt" | "includes" | "endsWith" | "normalize" | "startsWith" | "anchor" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "at">;
10
10
  onOpenChange?: ((open: boolean) => void) | undefined;
11
11
  }>) => JSX.Element;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import { VizzlyComponents } from '../../types';
2
3
  import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
3
4
  export declare const asyncLoadFilterOptions: <T extends {
4
5
  label: string | number | Function;
5
6
  value: string | number;
6
7
  }>(filter: AdditionalFilter, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, valueAlias?: {
7
- [id: string]: string | number;
8
+ [id: string]: import("react").ReactText;
8
9
  } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined) => (abortSignal: AbortSignal) => Promise<T[]>;
@@ -15,6 +15,6 @@ export declare type AreaChartViewProps = VizzlyComponents.ViewProps<Component.Ar
15
15
  export declare const defaultProps: Omit<Component.AreaChartAttributes, 'dataSetId'>;
16
16
  declare const memoized: React.MemoExoticComponent<{
17
17
  (props: AreaChartViewProps): JSX.Element;
18
- defaultProps: Pick<Component.AreaChartAttributes, "filter" | "order" | "offset" | "measure" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "stacked" | "conditionalFormattingRules" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "drilldown" | "legend" | "parameters" | "goalLines" | "axisTitles" | "headline" | "lineCurve">;
18
+ defaultProps: Pick<Component.AreaChartAttributes, "measure" | "dimension" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "stacked" | "conditionalFormattingRules" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "drilldown" | "legend" | "parameters" | "goalLines" | "axisTitles" | "headline" | "lineCurve">;
19
19
  }>;
20
20
  export default memoized;
@@ -11,6 +11,6 @@ export declare type BubbleChartViewProps = VizzlyComponents.ViewProps<ComponentT
11
11
  };
12
12
  declare const memoized: React.MemoExoticComponent<{
13
13
  (props: BubbleChartViewProps): JSX.Element | null;
14
- defaultProps: Pick<ComponentType.BubbleChartAttributes, "filter" | "order" | "offset" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "zMeasure" | "xMeasure" | "yMeasure">;
14
+ defaultProps: Pick<ComponentType.BubbleChartAttributes, "dimension" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "zMeasure" | "xMeasure" | "yMeasure">;
15
15
  }>;
16
16
  export default memoized;
@@ -10,7 +10,7 @@ export declare type ComboChartViewProps = Omit<VizzlyComponents.ViewProps<Compon
10
10
  id: string;
11
11
  idPrefix: IdPrefix;
12
12
  };
13
- declare const _default: React.MemoExoticComponent<(props: Pick<VizzlyComponents.ViewProps<Component.ComboChartAttributes, Component.Attributes>, "filter" | "order" | "offset" | "id" | "dataSetId" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "stacked" | "conditionalFormattingRules" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "barMeasure" | "lineMeasure" | "barDimension" | "lineDimension" | "dataSet" | "supportedAggregates" | "supportedTimeTruncFunctions" | "localFilters" | "queriesAreChanging" | "library" | "defaultFormats" | "setLocalFilters" | "setPartialAttributes" | "sm"> & {
13
+ declare const _default: React.MemoExoticComponent<(props: Pick<VizzlyComponents.ViewProps<Component.ComboChartAttributes, Component.Attributes>, "id" | "dataSetId" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "stacked" | "conditionalFormattingRules" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "barMeasure" | "lineMeasure" | "barDimension" | "lineDimension" | "dataSet" | "supportedAggregates" | "supportedTimeTruncFunctions" | "localFilters" | "queriesAreChanging" | "library" | "defaultFormats" | "setLocalFilters" | "setPartialAttributes" | "sm"> & {
14
14
  lineResult: ResultType | null;
15
15
  barResult: ResultType | null;
16
16
  id: string;
@@ -50,7 +50,7 @@ export declare function getXDimensions(dimension: QueryAttributes.Dimension[]):
50
50
  export declare function buildUpdatedClickSettings(drilldown: Component.TableDrilldown, functionsToCheck: FieldLogic.DecodingFunctionsToCheck, selectedRow: SelectedRow, subsetValue: string | number, clickedValue: string | number, key: string, dimension: QueryAttributes.Dimension[]): {
51
51
  value: {
52
52
  fieldId: string;
53
- value: string | number;
53
+ value: React.ReactText;
54
54
  function: string;
55
55
  aggregate: string;
56
56
  datum: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Result as ResultType } from '../../../../shared-logic/src/Result/types';
2
3
  import { TableRepresentation } from '../../../../shared-logic/src/DataTable/types';
3
4
  import { DataType } from '../../../../shared-logic/src/Field/types';
@@ -30,7 +31,7 @@ export declare const buildTableRepresentation: ({ type, result, exportNames, pre
30
31
  textOverride?: TextOverride | undefined;
31
32
  hiddenFields?: string[] | undefined;
32
33
  valueAlias?: {
33
- [id: string]: string | number;
34
+ [id: string]: import("react").ReactText;
34
35
  } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
35
36
  }) => TableRepresentation | null;
36
37
  export declare const formatTableContent: (fields: Array<{
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function hasPrevious(offset: number): boolean;
2
3
  export declare function hasNext({ limit, total }: {
3
4
  offset: number;
@@ -13,7 +14,7 @@ export declare const buildOnChange: (props: {
13
14
  clicked: {
14
15
  fieldId: string;
15
16
  function: string;
16
- value: string | number;
17
+ value: import("react").ReactText;
17
18
  };
18
19
  };
19
20
  export declare function nextOffset(offset?: number, limit?: number): number | undefined;
@@ -16,6 +16,6 @@ export declare type PieChartViewProps = VizzlyComponents.ViewProps<Component.Pie
16
16
  export declare const defaultProps: Omit<Component.PieChartAttributes, 'dataSetId'>;
17
17
  declare const memoized: React.MemoExoticComponent<{
18
18
  (props: PieChartViewProps): JSX.Element;
19
- defaultProps: Pick<Component.PieChartAttributes, "filter" | "order" | "offset" | "measure" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "legend" | "parameters" | "drilldownOptions" | "labels" | "labelFormat" | "labelsAsPercentage">;
19
+ defaultProps: Pick<Component.PieChartAttributes, "measure" | "dimension" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "legend" | "parameters" | "drilldownOptions" | "labels" | "labelFormat" | "labelsAsPercentage">;
20
20
  }>;
21
21
  export default memoized;
@@ -9,6 +9,6 @@ export declare type ProgressViewProps = Omit<VizzlyComponents.ViewProps<Componen
9
9
  export declare const defaultProps: Omit<Component.ProgressAttributes, 'dataSetId'>;
10
10
  declare const ProgressView: {
11
11
  (props: ProgressViewProps): JSX.Element;
12
- defaultProps: Pick<Component.ProgressAttributes, "filter" | "offset" | "measure" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "prefixes" | "goals" | "progressType" | "postfixes" | "formatter">;
12
+ defaultProps: Pick<Component.ProgressAttributes, "measure" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "prefixes" | "goals" | "progressType" | "postfixes" | "formatter">;
13
13
  };
14
14
  export default ProgressView;
@@ -11,6 +11,6 @@ export declare type ScatterChartViewProps = VizzlyComponents.ViewProps<Component
11
11
  };
12
12
  declare const memoized: React.MemoExoticComponent<{
13
13
  (props: ScatterChartViewProps): JSX.Element | null;
14
- defaultProps: Pick<ComponentType.ScatterChartAttributes, "filter" | "order" | "offset" | "dimension" | "timeDimension" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "xMeasure" | "yMeasure">;
14
+ defaultProps: Pick<ComponentType.ScatterChartAttributes, "dimension" | "order" | "timeDimension" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "xAxisPrefix" | "yAxisPrefix" | "xAxisPostfix" | "yAxisPostfix" | "xAxisFormat" | "yAxisFormat" | "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "goalLines" | "axisTitles" | "xMeasure" | "yMeasure">;
15
15
  }>;
16
16
  export default memoized;
@@ -15,6 +15,6 @@ export declare type SingleStatViewProps = Omit<VizzlyComponents.ViewProps<Compon
15
15
  export declare const defaultProps: Omit<Component.SingleStatAttributes, 'dataSetId'>;
16
16
  declare const SingleStatView: {
17
17
  (props: SingleStatViewProps): JSX.Element;
18
- defaultProps: Pick<Component.SingleStatAttributes, "direction" | "filter" | "fontSize" | "offset" | "measure" | "limit" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "prefixes" | "postfixes" | "formatter" | "deltaTimeDimension">;
18
+ defaultProps: Pick<Component.SingleStatAttributes, "measure" | "limit" | "offset" | "filter" | "type" | "viewId" | "displayTitle" | "displaySubject" | "protectedByOrganisation" | "tags" | "conditionalFormattingRules" | "parameters" | "direction" | "fontSize" | "prefixes" | "postfixes" | "formatter" | "deltaTimeDimension">;
19
19
  };
20
20
  export default SingleStatView;
@@ -0,0 +1,6 @@
1
+ import { AliasFields } from '../../../../shared-logic/src/AliasFields/types';
2
+ declare type Provides = {
3
+ aliasFields: AliasFields;
4
+ };
5
+ export declare const useAliasFields: (dashboardId?: string | undefined) => Provides;
6
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
2
  import * as DashboardLogic from '../../../../shared-logic/src/Dashboard';
3
- import { DashboardProps } from '../../types';
3
+ import { DashboardProps } from '../../types/dashboard';
4
4
  export declare type GlobalProviderType = {
5
5
  disableToolbar?: boolean;
6
6
  onDashboardUpdate?: (dashboard: DashboardLogic.Dashboard, meta: {
@@ -1,3 +1,3 @@
1
- import { DashboardProps } from '../../types';
1
+ import { DashboardProps } from '../../types/dashboard';
2
2
  import { VizzlyComponents } from '../../../../shared-ui/src/types';
3
3
  export declare const buildImplementationMeta: (props: DashboardProps) => VizzlyComponents.ImplementationMeta;