@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.
- package/dist/charts/src/BubbleChart/BubbleChart.d.ts +1 -1
- package/dist/charts/src/ScatterChart/ScatterChart.d.ts +1 -1
- package/dist/dashboard/src/types.d.ts +1 -130
- package/dist/dashboard.cjs.development.js +1098 -1051
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +1098 -1051
- package/dist/results-driver/src/types.d.ts +2 -0
- package/dist/services/src/index.d.ts +2 -0
- package/dist/shared-logic/src/AliasFields/types.d.ts +5 -0
- package/dist/shared-logic/src/Callbacks/cell.funcs.d.ts +1 -1
- package/dist/shared-logic/src/ComboChartV2/buildComboChartRepresentation.d.ts +3 -3
- package/dist/shared-logic/src/CustomField/AliasField/index.d.ts +7 -0
- package/dist/shared-logic/src/CustomField/CustomField.d.ts +2 -1
- package/dist/shared-logic/src/CustomField/types.d.ts +6 -1
- package/dist/shared-logic/src/DataTable/resultToPivotTableRepresentation.d.ts +2 -1
- package/dist/shared-logic/src/Field/Field.d.ts +4 -3
- package/dist/shared-logic/src/ValueAlias/ValueAlias.d.ts +2 -1
- package/dist/shared-logic/src/VizzlyState/index.d.ts +2 -0
- package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +2 -1
- package/dist/{dashboard → shared-ui}/src/SetupError.d.ts +2 -2
- package/dist/shared-ui/src/base/ListView/index.d.ts +2 -2
- package/dist/shared-ui/src/base/Panel/Panel.d.ts +1 -1
- package/dist/shared-ui/src/base/Section/Section.d.ts +1 -1
- package/dist/shared-ui/src/base/Table/Table.d.ts +1 -1
- package/dist/shared-ui/src/components/AdditionalFilter/AdvancedPicker/AdvancedSelectFilter.d.ts +1 -1
- package/dist/shared-ui/src/components/AdditionalFilter/asyncLoadFilterOptions.d.ts +2 -1
- package/dist/shared-ui/src/components/AreaChart/AreaChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/BubbleChart/BubbleChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/ComboChart/ComboChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/DataTable/DataTableRow.d.ts +1 -1
- package/dist/shared-ui/src/components/DataTable/buildTableRepresentation.d.ts +2 -1
- package/dist/shared-ui/src/components/DataTable/helpers.d.ts +2 -1
- package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/Progress/ProgressView.d.ts +1 -1
- package/dist/shared-ui/src/components/ScatterChart/ScatterChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/SingleStat/SingleStatView.d.ts +1 -1
- package/dist/shared-ui/src/contexts/AliasFields/useInteractiveFields.d.ts +6 -0
- package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/GlobalProvider.d.ts +1 -1
- package/dist/shared-ui/src/contexts/GlobalProvider/GlobalProvider.test.d.ts +1 -0
- package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/buildImplementationMeta.d.ts +1 -1
- package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/useGlobalProvider.d.ts +39 -31
- package/dist/shared-ui/src/errors/InvalidProperty.d.ts +5 -0
- package/dist/shared-ui/src/headlessui/components/switch/switch.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/hooks/use-disposables.d.ts +1 -1
- package/dist/shared-ui/src/headlessui/utils/disposables.d.ts +1 -1
- package/dist/shared-ui/src/types/dashboard.d.ts +130 -0
- package/package.json +1 -1
- /package/dist/{dashboard → shared-ui}/src/contexts/GlobalProvider/useOnDashboardLoadCallback.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/contexts/SessionContext/getStrategy.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/contexts/SessionContext/index.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/contexts/SessionContext/useSessionContext.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/contexts/useDashboardStrategy/runStrategy.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/contexts/useDashboardStrategy/types.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/contexts/useDashboardStrategy.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/contexts/useScheduledReports.d.ts +0 -0
- /package/dist/{dashboard → shared-ui}/src/errors/FailedToSaveError.d.ts +0 -0
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
import { BubbleChartProps } from './types';
|
|
3
3
|
import { FormatterProps } from '../types';
|
|
4
4
|
import { ChartRef } from '../utils/chartRendering';
|
|
5
|
-
export declare const BubbleChart: React.ForwardRefExoticComponent<Pick<BubbleChartProps, "
|
|
5
|
+
export declare const BubbleChart: React.ForwardRefExoticComponent<Pick<BubbleChartProps, "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "axisTitles" | "data" | "height" | "width" | "horizontal" | "x" | "lineCurve" | "trends" | "z" | "onClick" | "theme" | "colors" | "keys" | "goalLine" | "idPrefix" | "uniqueId" | "forceXAxisAsTime" | "annotate" | "formatSeriesName" | "sparkline" | "threshold" | "removeStroke" | "formatXAxisLabel" | "formatYAxisLabel" | "popOverMenuStyles" | "datumFormatter" | "lineStyle"> & FormatterProps & React.RefAttributes<ChartRef>>;
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
import { LineChartProps } from '../LineChart/types';
|
|
3
3
|
import { FormatterProps } from '../types';
|
|
4
4
|
import { ChartRef } from '../utils/chartRendering';
|
|
5
|
-
export declare const ScatterChart: React.ForwardRefExoticComponent<Pick<LineChartProps, "
|
|
5
|
+
export declare const ScatterChart: React.ForwardRefExoticComponent<Pick<LineChartProps, "approxXAxisLabelCount" | "approxYAxisLabelCount" | "legend" | "axisTitles" | "data" | "height" | "width" | "horizontal" | "x" | "lineCurve" | "trends" | "onClick" | "theme" | "colors" | "keys" | "goalLine" | "idPrefix" | "uniqueId" | "forceXAxisAsTime" | "annotate" | "formatSeriesName" | "sparkline" | "threshold" | "removeStroke" | "formatXAxisLabel" | "formatYAxisLabel" | "popOverMenuStyles" | "datumFormatter" | "lineStyle"> & FormatterProps & React.RefAttributes<ChartRef>>;
|
|
@@ -1,130 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { loadDataSetsCallback } from '../../shared-logic/src/Callbacks/types';
|
|
3
|
-
import { QueryEngineEndpoint } from '../../shared-logic/src/QueryEngineConfig/types';
|
|
4
|
-
import { VariablesCallback } from '../../shared-logic/src/Variables/types';
|
|
5
|
-
import { EditorBehaviour } from '../../shared-ui/src/components/Editor/types';
|
|
6
|
-
import { StudioProps } from '../../shared-ui/src/components/Studio/StudioContexts';
|
|
7
|
-
import { DashboardBehaviour } from '../../shared-ui/src/contexts/DashboardBehaviour/types';
|
|
8
|
-
import { VizzlyComponents, VizzlyTheming, trackEventCallback } from '../../shared-ui/src/types';
|
|
9
|
-
export type { FilterConfig } from '../../shared-logic/src/AdditionalFilter/types';
|
|
10
|
-
export declare type SharedEditorProps = {
|
|
11
|
-
/**
|
|
12
|
-
* Optionally, return the `Component` that will be rendered in the Editor.
|
|
13
|
-
*
|
|
14
|
-
* returning `null` will render an editor with a predicted view.
|
|
15
|
-
*/
|
|
16
|
-
view: EditorBehaviour['view'];
|
|
17
|
-
onSave?: EditorBehaviour['onSave'];
|
|
18
|
-
vizzlyApiHost?: string;
|
|
19
|
-
featureToggles?: Partial<Omit<DashboardBehaviour['featureToggles'], 'disableAutoSave' | 'canAddNewRows' | 'canAddNewCells' | 'canUseComponentLibrary' | 'canEditComponentLibrary' | 'canEditComponentsOnDashboard' | 'canRemoveComponentsFromDashboard' | 'forceMobile'>>;
|
|
20
|
-
customViews?: DashboardBehaviour['customViews'];
|
|
21
|
-
excludeComponents?: StudioProps['excludeComponents'];
|
|
22
|
-
includeComponents?: StudioProps['includeComponents'];
|
|
23
|
-
numberFormatOptions?: DashboardBehaviour['numberFormatOptions'];
|
|
24
|
-
valueAlias?: DashboardBehaviour['valueAlias'];
|
|
25
|
-
dateTimeFormatOptions?: DashboardBehaviour['dateTimeFormatOptions'];
|
|
26
|
-
developerTools?: DashboardBehaviour['developerTools'];
|
|
27
|
-
textOverrides?: DashboardBehaviour['textOverrides'];
|
|
28
|
-
dataPanel?: DashboardBehaviour['dataPanel'];
|
|
29
|
-
id?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated This property is being deprecated. Use dateFilterOptions for dates.
|
|
32
|
-
*/
|
|
33
|
-
dateTimeFilterOptions?: DashboardBehaviour['dateFilterOptions'];
|
|
34
|
-
dateFilterOptions?: DashboardBehaviour['dateFilterOptions'];
|
|
35
|
-
formatPanel?: DashboardBehaviour['formatPanel'];
|
|
36
|
-
onEditorUpdate?: DashboardBehaviour['onEditorUpdate'];
|
|
37
|
-
theme?: VizzlyTheming.Base;
|
|
38
|
-
onError?: VizzlyComponents.OnError;
|
|
39
|
-
onViewClick?: DashboardBehaviour['onViewClick'];
|
|
40
|
-
trackEvent?: trackEventCallback;
|
|
41
|
-
labelFormat?: DashboardBehaviour['labelFormat'];
|
|
42
|
-
renderTableCell?: DashboardBehaviour['renderTableCell'];
|
|
43
|
-
} & Partial<VizzlyComponents.ComponentOverrides>;
|
|
44
|
-
export declare type SharedDashboardProps = {
|
|
45
|
-
vizzlyApiHost?: string;
|
|
46
|
-
featureToggles?: Partial<DashboardBehaviour['featureToggles']>;
|
|
47
|
-
variables?: VariablesCallback;
|
|
48
|
-
customViews?: DashboardBehaviour['customViews'];
|
|
49
|
-
excludeComponents?: StudioProps['excludeComponents'];
|
|
50
|
-
includeComponents?: StudioProps['includeComponents'];
|
|
51
|
-
reportScheduleOptions?: DashboardBehaviour['reportScheduleOptions'];
|
|
52
|
-
valueAlias?: DashboardBehaviour['valueAlias'];
|
|
53
|
-
numberFormatOptions?: DashboardBehaviour['numberFormatOptions'];
|
|
54
|
-
dateTimeFormatOptions?: DashboardBehaviour['dateTimeFormatOptions'];
|
|
55
|
-
datePickerFormat?: DashboardBehaviour['datePickerFormat'];
|
|
56
|
-
defaultFormats?: DashboardBehaviour['defaultFormats'];
|
|
57
|
-
developerTools?: DashboardBehaviour['developerTools'];
|
|
58
|
-
textOverrides?: DashboardBehaviour['textOverrides'];
|
|
59
|
-
dataPanel?: DashboardBehaviour['dataPanel'];
|
|
60
|
-
dashboardFilters?: DashboardBehaviour['dashboardFilters'];
|
|
61
|
-
onDashboardFilterChange?: DashboardBehaviour['onDashboardFilterChange'];
|
|
62
|
-
onDashboardLoad?: DashboardBehaviour['onDashboardLoad'];
|
|
63
|
-
timeZone?: DashboardBehaviour['timeZone'];
|
|
64
|
-
id?: string;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated This property is being deprecated. Use dateFilterOptions for dates.
|
|
67
|
-
*/
|
|
68
|
-
dateTimeFilterOptions?: DashboardBehaviour['dateFilterOptions'];
|
|
69
|
-
dateFilterOptions?: DashboardBehaviour['dateFilterOptions'];
|
|
70
|
-
formatPanel?: DashboardBehaviour['formatPanel'];
|
|
71
|
-
onEditorUpdate?: DashboardBehaviour['onEditorUpdate'];
|
|
72
|
-
maxCSVDownloadLimit?: number;
|
|
73
|
-
theme?: VizzlyTheming.Base;
|
|
74
|
-
/** This will appear to your users in the application. */
|
|
75
|
-
organizationName?: string;
|
|
76
|
-
renderTableCell?: DashboardBehaviour['renderTableCell'];
|
|
77
|
-
onError?: VizzlyComponents.OnError;
|
|
78
|
-
onViewClick?: DashboardBehaviour['onViewClick'];
|
|
79
|
-
parentDashboardId?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Child Dashboard ID. If your user has multiple copies of a parent dashboard, you
|
|
82
|
-
* will need to specify the ID of the dashboard copy here to render the correct one.
|
|
83
|
-
* You can use the services functionality to manage your user's dashboards
|
|
84
|
-
* https://docs.vizzly.co/services
|
|
85
|
-
*
|
|
86
|
-
* Or learn more about child dashboards
|
|
87
|
-
* https://docs.vizzly.co/concepts/parent-and-child-dashboards
|
|
88
|
-
*/
|
|
89
|
-
dashboardId?: string;
|
|
90
|
-
cascadeFilterSelection?: boolean;
|
|
91
|
-
parentDashboard?: DashboardBehaviour['parentDashboard'];
|
|
92
|
-
trackEvent?: trackEventCallback;
|
|
93
|
-
pdfSettings?: DashboardBehaviour['pdfSettings'];
|
|
94
|
-
labelFormat?: DashboardBehaviour['labelFormat'];
|
|
95
|
-
filterLibrary?: DashboardBehaviour['filterLibrary'];
|
|
96
|
-
onDashboardUpdate?: DashboardBehaviour['onDashboardUpdate'];
|
|
97
|
-
customFields?: DashboardBehaviour['customFields'];
|
|
98
|
-
} & Partial<VizzlyComponents.ComponentOverrides>;
|
|
99
|
-
export declare type CustomDashboardProps = CustomProps & SharedDashboardProps;
|
|
100
|
-
export declare type CustomEditorProps = CustomProps & SharedEditorProps;
|
|
101
|
-
export declare type CustomProps = {
|
|
102
|
-
runQueries: CustomDriver['runQueries'];
|
|
103
|
-
identity: VizzlyComponents.identityCallback;
|
|
104
|
-
dataSets: loadDataSetsCallback;
|
|
105
|
-
queryEngineConfig: VizzlyComponents.loadQueryEngineConfigCallback;
|
|
106
|
-
data?: never;
|
|
107
|
-
queryEngineEndpoint?: QueryEngineEndpoint;
|
|
108
|
-
};
|
|
109
|
-
export declare type InBrowserDashboardProps = InBrowserProps & SharedDashboardProps;
|
|
110
|
-
export declare type InBrowserEditorProps = InBrowserProps & SharedEditorProps;
|
|
111
|
-
export declare type InBrowserProps = {
|
|
112
|
-
identity: VizzlyComponents.identityCallback;
|
|
113
|
-
dataSets: loadDataSetsCallback;
|
|
114
|
-
data: VizzlyComponents.loadDataCallback;
|
|
115
|
-
runQueries?: never;
|
|
116
|
-
queryEngineConfig?: never;
|
|
117
|
-
queryEngineEndpoint?: QueryEngineEndpoint;
|
|
118
|
-
};
|
|
119
|
-
export declare type SelfHostedDashboardProps = SelfHostedProps & SharedDashboardProps;
|
|
120
|
-
export declare type SelfHostedEditorProps = SelfHostedProps & SharedEditorProps;
|
|
121
|
-
export declare type SelfHostedProps = {
|
|
122
|
-
queryEngineEndpoint?: QueryEngineEndpoint;
|
|
123
|
-
identity: VizzlyComponents.identityCallback;
|
|
124
|
-
runQueries?: never;
|
|
125
|
-
dataSets?: loadDataSetsCallback;
|
|
126
|
-
data?: never;
|
|
127
|
-
queryEngineConfig?: never;
|
|
128
|
-
};
|
|
129
|
-
export declare type DashboardProps = InBrowserDashboardProps | SelfHostedDashboardProps | CustomDashboardProps;
|
|
130
|
-
export declare type EditorProps = InBrowserEditorProps | SelfHostedEditorProps | CustomEditorProps;
|
|
1
|
+
export * from '../../shared-ui/src/types/dashboard';
|