@databrainhq/plugin 0.15.23 → 0.15.24
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/webcomponents.es.js +17 -11
- package/dist/webcomponents.umd.js +2 -2
- package/package.json +2 -2
- package/dist/components/Accordion/index.d.ts +0 -33
- package/dist/components/AceEditorSql/AceEditorSql.d.ts +0 -11
- package/dist/components/Alert/index.d.ts +0 -12
- package/dist/components/AutoCompleteDropdown/index.d.ts +0 -20
- package/dist/components/Badge/index.d.ts +0 -10
- package/dist/components/Button/index.d.ts +0 -14
- package/dist/components/ButtonGroup/index.d.ts +0 -14
- package/dist/components/Chart/SingleValueChart.d.ts +0 -37
- package/dist/components/Chart/index.d.ts +0 -34
- package/dist/components/ChartModal/ChartConfig.d.ts +0 -10
- package/dist/components/ChartModal/ChartModalOptions.d.ts +0 -14
- package/dist/components/ChartModal/index.d.ts +0 -3
- package/dist/components/ChartPopup/components/UnderlyingData/index.d.ts +0 -15
- package/dist/components/ChartPopup/index.d.ts +0 -28
- package/dist/components/ChartReportPanel/index.d.ts +0 -10
- package/dist/components/ChartSettingsPopup/ChartSettingsPopup.d.ts +0 -13
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/ComboChartFormatter.d.ts +0 -8
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/PositionContainer.d.ts +0 -8
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/index.d.ts +0 -26
- package/dist/components/ChartSettingsPopup/components/ChartSettings/index.d.ts +0 -14
- package/dist/components/ChartSettingsPopup/index.d.ts +0 -3
- package/dist/components/ChartTypePanel/index.d.ts +0 -15
- package/dist/components/Checkbox/index.d.ts +0 -10
- package/dist/components/ColorField/ColorField.d.ts +0 -13
- package/dist/components/DataType/index.d.ts +0 -9
- package/dist/components/DateRangePicker/index.d.ts +0 -36
- package/dist/components/DraggableItem/index.d.ts +0 -7
- package/dist/components/DrillBreadCrumb/index.d.ts +0 -16
- package/dist/components/Error/index.d.ts +0 -6
- package/dist/components/ErrorFallback/index.d.ts +0 -2
- package/dist/components/ExternalMetricForm/index.d.ts +0 -11
- package/dist/components/FilterDropDown/index.d.ts +0 -30
- package/dist/components/FilterField/index.d.ts +0 -39
- package/dist/components/Flex/index.d.ts +0 -13
- package/dist/components/FloatingDropDown/index.d.ts +0 -38
- package/dist/components/FullScreenChart/index.d.ts +0 -8
- package/dist/components/GaugeLegend/index.d.ts +0 -11
- package/dist/components/GenerateMetric/index.d.ts +0 -3
- package/dist/components/GlobalFilters/AddFilter.d.ts +0 -15
- package/dist/components/GlobalFilters/AppliedFilter.d.ts +0 -9
- package/dist/components/GlobalFilters/Filters.d.ts +0 -28
- package/dist/components/GlobalFilters/HorizontalFilters.d.ts +0 -35
- package/dist/components/GlobalFilters/NumberFilterField.d.ts +0 -23
- package/dist/components/GlobalFilters/SearchField.d.ts +0 -10
- package/dist/components/GlobalFilters/index.d.ts +0 -79
- package/dist/components/HorizontalStackTable/DebouncedInput.d.ts +0 -6
- package/dist/components/HorizontalStackTable/index.d.ts +0 -18
- package/dist/components/Icons/Logos/index.d.ts +0 -26
- package/dist/components/Icons/index.d.ts +0 -9
- package/dist/components/InfoTooltip/index.d.ts +0 -15
- package/dist/components/InputField/index.d.ts +0 -17
- package/dist/components/List/index.d.ts +0 -38
- package/dist/components/Loader/index.d.ts +0 -6
- package/dist/components/Menu/index.d.ts +0 -32
- package/dist/components/MetricChart/ChartImageDownloadButton.d.ts +0 -11
- package/dist/components/MetricChart/CsvDownloadButton.d.ts +0 -12
- package/dist/components/MetricChart/PivotCsvDownloadButton.d.ts +0 -12
- package/dist/components/MetricChart/RawCsvDownloadButton.d.ts +0 -37
- package/dist/components/MetricChart/index.d.ts +0 -5
- package/dist/components/MetricCreation/MetricCreation.d.ts +0 -3
- package/dist/components/MetricCreation/components/ConstructMetric/ConstructMetric.d.ts +0 -3
- package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/ConstructMetric/index.d.ts +0 -2
- package/dist/components/MetricCreation/components/Dataset/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/Header/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +0 -3
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +0 -33
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/InputTables/index.d.ts +0 -2
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/index.d.ts +0 -1
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +0 -11
- package/dist/components/MetricCreation/components/MetricOutput/components/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/MetricOutput/index.d.ts +0 -2
- package/dist/components/MetricCreation/components/Panels/ChartActionPanel.d.ts +0 -13
- package/dist/components/MetricCreation/components/Panels/ChartAppearancePanel.d.ts +0 -22
- package/dist/components/MetricCreation/components/Panels/FiltersPanel.d.ts +0 -20
- package/dist/components/MetricCreation/components/Panels/SortPanel.d.ts +0 -15
- package/dist/components/MetricCreation/index.d.ts +0 -5
- package/dist/components/MetricFilterDropDown/components/OldMetricFilterComponents.d.ts +0 -17
- package/dist/components/MetricFilterDropDown/components/SearchField.d.ts +0 -7
- package/dist/components/MetricFilterDropDown/components/StringAutoCustomFilterField.d.ts +0 -18
- package/dist/components/MetricFilterDropDown/components/StringManualFilterField.d.ts +0 -11
- package/dist/components/MetricFilterDropDown/components/TimeFilterField.d.ts +0 -12
- package/dist/components/MetricFilterDropDown/components/VariableTimeFilterField.d.ts +0 -12
- package/dist/components/MetricFilterDropDown/index.d.ts +0 -24
- package/dist/components/MetricList/MetricList.d.ts +0 -65
- package/dist/components/MetricList/components/ArchiveMetricModal/index.d.ts +0 -7
- package/dist/components/MetricList/components/DownloadRawCsvModal/index.d.ts +0 -13
- package/dist/components/MetricList/components/FullScreenView/AddMetricFilter.d.ts +0 -8
- package/dist/components/MetricList/components/FullScreenView/ChartPropertiesPanel.d.ts +0 -12
- package/dist/components/MetricList/components/FullScreenView/DownloadButton.d.ts +0 -18
- package/dist/components/MetricList/components/FullScreenView/index.d.ts +0 -45
- package/dist/components/MetricList/components/LayoutAlert/index.d.ts +0 -7
- package/dist/components/MetricList/components/ManageMetricMenu/ManageMetricCard.d.ts +0 -15
- package/dist/components/MetricList/components/ManageMetricMenu/index.d.ts +0 -17
- package/dist/components/MetricList/components/MetricCards/CreateElementPanel.d.ts +0 -14
- package/dist/components/MetricList/components/MetricCards/ElementCard.d.ts +0 -16
- package/dist/components/MetricList/components/MetricCards/MetricCard.d.ts +0 -98
- package/dist/components/MetricList/components/MetricCards/NoDataLoading.d.ts +0 -11
- package/dist/components/MetricList/components/TableViewModal/index.d.ts +0 -9
- package/dist/components/MetricList/components/index.d.ts +0 -7
- package/dist/components/MetricList/index.d.ts +0 -2
- package/dist/components/MetricTable/index.d.ts +0 -7
- package/dist/components/Modal/Modal.d.ts +0 -14
- package/dist/components/Modal/ModalFooter.d.ts +0 -5
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/MultiSelectDropdown/index.d.ts +0 -39
- package/dist/components/Panel/index.d.ts +0 -17
- package/dist/components/PivotTable/PivotTableV2.d.ts +0 -23
- package/dist/components/PivotTable/index.d.ts +0 -8
- package/dist/components/PivotTable/transformData.d.ts +0 -7
- package/dist/components/PopoverMenu/index.d.ts +0 -36
- package/dist/components/Portal/index.d.ts +0 -2
- package/dist/components/RadioButton/index.d.ts +0 -16
- package/dist/components/ScheduleEmail/ScheduleEmailForm/index.d.ts +0 -6
- package/dist/components/ScheduleEmail/index.d.ts +0 -3
- package/dist/components/SearchDropdown/index.d.ts +0 -14
- package/dist/components/SearchMetricData/ChatMode/ChatAppearancePanel.d.ts +0 -19
- package/dist/components/SearchMetricData/ChatMode/ChatMode.d.ts +0 -44
- package/dist/components/SearchMetricData/ChatMode/ChatModeHeader.d.ts +0 -8
- package/dist/components/SearchMetricData/ChatMode/ChatReportPanel.d.ts +0 -9
- package/dist/components/SearchMetricData/ChatMode/ChatSqlPanel.d.ts +0 -7
- package/dist/components/SearchMetricData/ChatMode/NoChatData.d.ts +0 -3
- package/dist/components/SearchMetricData/ChatMode/NoDataFound.d.ts +0 -7
- package/dist/components/SearchMetricData/ChatMode/Results.d.ts +0 -23
- package/dist/components/SearchMetricData/LoaderWithStates/index.d.ts +0 -7
- package/dist/components/SearchMetricData/SearchMetricData.d.ts +0 -5
- package/dist/components/SearchMetricData/index.d.ts +0 -1
- package/dist/components/SearchTab/index.d.ts +0 -13
- package/dist/components/Select/index.d.ts +0 -47
- package/dist/components/SelfHostControl/index.d.ts +0 -4
- package/dist/components/SkeletonLoader/index.d.ts +0 -9
- package/dist/components/SpinningLoader/index.d.ts +0 -2
- package/dist/components/Switch/SwitchInput.d.ts +0 -9
- package/dist/components/Switch/index.d.ts +0 -11
- package/dist/components/Tab/index.d.ts +0 -14
- package/dist/components/Table/DebouncedInput.d.ts +0 -6
- package/dist/components/Table/Filter.d.ts +0 -7
- package/dist/components/Table/index.d.ts +0 -36
- package/dist/components/Tabs/index.d.ts +0 -41
- package/dist/components/TagInputField/index.d.ts +0 -33
- package/dist/components/Text/index.d.ts +0 -13
- package/dist/components/TextAreaField/index.d.ts +0 -24
- package/dist/components/ThemeBlock/index.d.ts +0 -8
- package/dist/components/TimeGrainField/index.d.ts +0 -16
- package/dist/components/TimeSeriesSettings/index.d.ts +0 -8
- package/dist/components/index.d.ts +0 -63
- package/dist/consts/api.d.ts +0 -64
- package/dist/consts/app.d.ts +0 -154
- package/dist/consts/index.d.ts +0 -2
- package/dist/consts/metricOptions.d.ts +0 -205
- package/dist/consts/validations.d.ts +0 -24
- package/dist/containers/CreateMetric/CreateEmbeddedMetric.d.ts +0 -14
- package/dist/containers/CreateMetric/index.d.ts +0 -3
- package/dist/containers/Dashboard/Dashboard.d.ts +0 -71
- package/dist/containers/Dashboard/DashboardProvider.d.ts +0 -7
- package/dist/containers/Dashboard/EmbededDashboard.d.ts +0 -44
- package/dist/containers/Dashboard/index.d.ts +0 -2
- package/dist/containers/DbnStyles.d.ts +0 -10
- package/dist/containers/Metric/EmbeddedMetric.d.ts +0 -46
- package/dist/containers/Metric/index.d.ts +0 -84
- package/dist/containers/PluginProvider.d.ts +0 -7
- package/dist/containers/index.d.ts +0 -3
- package/dist/helpers/adaptiveFormatter.d.ts +0 -6
- package/dist/helpers/areArraysEqual.d.ts +0 -1
- package/dist/helpers/autoCompleteHelpers.d.ts +0 -95
- package/dist/helpers/cardActions.d.ts +0 -5
- package/dist/helpers/chartOptions.d.ts +0 -93
- package/dist/helpers/checkIsElementInViewport.d.ts +0 -1
- package/dist/helpers/conditionalFormatting.d.ts +0 -3
- package/dist/helpers/copyToClipboard.d.ts +0 -4
- package/dist/helpers/createMetric.d.ts +0 -25
- package/dist/helpers/darkColorIdentifier.d.ts +0 -2
- package/dist/helpers/dateFormatter.d.ts +0 -1
- package/dist/helpers/generateColorPalette.d.ts +0 -1
- package/dist/helpers/generateTimeRangeWhereClause.d.ts +0 -13
- package/dist/helpers/getColumnType.d.ts +0 -2
- package/dist/helpers/getComboRangeLabel.d.ts +0 -5
- package/dist/helpers/getFilterAppliedQuery.d.ts +0 -71
- package/dist/helpers/getModifiedQuery.d.ts +0 -78
- package/dist/helpers/getNextScheduledTime.d.ts +0 -13
- package/dist/helpers/getTimeFilterValue.d.ts +0 -12
- package/dist/helpers/getValidRlsConditionOptions.d.ts +0 -16
- package/dist/helpers/groupArray.d.ts +0 -1
- package/dist/helpers/groupBy.d.ts +0 -25
- package/dist/helpers/index.d.ts +0 -16
- package/dist/helpers/numberFormatter.d.ts +0 -1
- package/dist/helpers/setOnDateChange.d.ts +0 -11
- package/dist/helpers/sqlMetadata.d.ts +0 -7
- package/dist/helpers/timeseries.d.ts +0 -35
- package/dist/helpers/timeseriesOption.d.ts +0 -72
- package/dist/helpers/tooltipFormatter.d.ts +0 -27
- package/dist/helpers/treeMap.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -12
- package/dist/hooks/useArchiveMetric.d.ts +0 -10
- package/dist/hooks/useAutoCompleteOptions.d.ts +0 -4
- package/dist/hooks/useClientDashboardLayout.d.ts +0 -21
- package/dist/hooks/useDashboardContext.d.ts +0 -37
- package/dist/hooks/useDatasetMetric.d.ts +0 -50
- package/dist/hooks/useDebounce.d.ts +0 -2
- package/dist/hooks/useDownloadRawCsv.d.ts +0 -21
- package/dist/hooks/useDrag.d.ts +0 -10
- package/dist/hooks/useDragAndDropState.d.ts +0 -10
- package/dist/hooks/useDrop.d.ts +0 -13
- package/dist/hooks/useEmbeddedMetric.d.ts +0 -24
- package/dist/hooks/useExternalMetric.d.ts +0 -55
- package/dist/hooks/useGenerateDatasetMetrics.d.ts +0 -13
- package/dist/hooks/useGenerateMetric.d.ts +0 -64
- package/dist/hooks/useMetricCard.d.ts +0 -121
- package/dist/hooks/useMetricConfig.d.ts +0 -63
- package/dist/hooks/useNewEmbeddedDashboard.d.ts +0 -35
- package/dist/hooks/useOutsideAlerter.d.ts +0 -14
- package/dist/hooks/usePublishArchivedMetrics.d.ts +0 -5
- package/dist/hooks/usePythonResults.d.ts +0 -17
- package/dist/hooks/useScheduleEmail.d.ts +0 -29
- package/dist/hooks/useSearch.d.ts +0 -55
- package/dist/hooks/useUnderlyingData.d.ts +0 -30
- package/dist/index.d.ts +0 -8
- package/dist/queries/externalDashboard.mutation.d.ts +0 -61
- package/dist/queries/externalDashboard.query.d.ts +0 -20
- package/dist/queries/index.d.ts +0 -1
- package/dist/queries/metric.mutation.d.ts +0 -57
- package/dist/queries/metric.query.d.ts +0 -12
- package/dist/types/app.d.ts +0 -894
- package/dist/types/dragAndDropProps.d.ts +0 -70
- package/dist/types/index.d.ts +0 -3
- package/dist/types/metricCreate.d.ts +0 -737
- package/dist/types/queryTypes.d.ts +0 -340
- package/dist/utils/arrayToCsvString.d.ts +0 -6
- package/dist/utils/colors.d.ts +0 -2
- package/dist/utils/fetcher.d.ts +0 -13
- package/dist/utils/getChartAttributes.d.ts +0 -98
- package/dist/utils/getChartImage.d.ts +0 -3
- package/dist/utils/getChartOptions.d.ts +0 -42
- package/dist/utils/getFormattedDataType.d.ts +0 -1
- package/dist/utils/getNoAxisChartOptions.d.ts +0 -25
- package/dist/utils/getValidJson.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -9
- package/dist/utils/pivotDataTransform.d.ts +0 -7
- package/dist/utils/popoverPosition.d.ts +0 -2
- package/dist/utils/theme.d.ts +0 -42
- package/dist/webcomponents.d.ts +0 -16
|
@@ -1,340 +0,0 @@
|
|
|
1
|
-
import { ClientColumnType, RlsCondition } from './app';
|
|
2
|
-
import { DatasetMetricCreationConfiguration } from './metricCreate';
|
|
3
|
-
export type UseDashboardDataQueryInputType = {
|
|
4
|
-
token: string;
|
|
5
|
-
dashboardId?: string;
|
|
6
|
-
};
|
|
7
|
-
export type ClientSubsetData = {
|
|
8
|
-
companyIntegrationId?: string | null;
|
|
9
|
-
dbName?: string | null;
|
|
10
|
-
error?: {
|
|
11
|
-
message: string;
|
|
12
|
-
} | null;
|
|
13
|
-
tableList?: {
|
|
14
|
-
tableName: string;
|
|
15
|
-
clientColumn?: string | null;
|
|
16
|
-
columns?: {
|
|
17
|
-
datatype: string;
|
|
18
|
-
name: string;
|
|
19
|
-
as: string;
|
|
20
|
-
}[] | null;
|
|
21
|
-
}[] | null;
|
|
22
|
-
} | null;
|
|
23
|
-
export type UseDashboardDataQueryOutputType = {
|
|
24
|
-
externalDashboard?: any | null;
|
|
25
|
-
isAllowedToChangeLayout?: boolean | null;
|
|
26
|
-
isAllowedToCreateMetrics?: boolean | null;
|
|
27
|
-
isAllowedToDeleteMetrics?: boolean | null;
|
|
28
|
-
isAllowedToUpdateMetrics?: boolean | null;
|
|
29
|
-
isAllowedToEmailReports?: boolean | null;
|
|
30
|
-
isAllowedManageMetrics?: boolean | null;
|
|
31
|
-
isShowUnderlyingData?: boolean | null;
|
|
32
|
-
adminTheme?: any | null;
|
|
33
|
-
clientId?: string | null;
|
|
34
|
-
companyId?: string | null;
|
|
35
|
-
companyTenancyType?: string | null;
|
|
36
|
-
externalMetrics?: (any | null)[] | null;
|
|
37
|
-
rlsSettings?: any | null;
|
|
38
|
-
appFilters?: any | null;
|
|
39
|
-
dashboardAppFilters?: any | null;
|
|
40
|
-
workspace?: any | null;
|
|
41
|
-
sharingSettingsId?: string | null;
|
|
42
|
-
error?: {
|
|
43
|
-
message: string;
|
|
44
|
-
} | null;
|
|
45
|
-
clientSubsetData?: ClientSubsetData;
|
|
46
|
-
cType?: ClientColumnType;
|
|
47
|
-
refreshTime?: number | null;
|
|
48
|
-
isEnableMetricSummary?: boolean;
|
|
49
|
-
isAllClient?: boolean;
|
|
50
|
-
metricCreationMode?: string;
|
|
51
|
-
} | null;
|
|
52
|
-
export type UseMetricQueryQueryInputType = {
|
|
53
|
-
id?: string;
|
|
54
|
-
clientId?: string;
|
|
55
|
-
globalFilters?: Record<string, any>;
|
|
56
|
-
rlsConditions?: any[];
|
|
57
|
-
filterValues?: Record<string, any>;
|
|
58
|
-
tenancyLevel?: string;
|
|
59
|
-
drillFilters?: any[];
|
|
60
|
-
limit?: number;
|
|
61
|
-
offset?: number;
|
|
62
|
-
isAllClient?: boolean;
|
|
63
|
-
disableStringify?: boolean;
|
|
64
|
-
pivotHeaders?: string[];
|
|
65
|
-
timeseriesSettings?: {
|
|
66
|
-
format: string;
|
|
67
|
-
seriesField: string;
|
|
68
|
-
};
|
|
69
|
-
chartSeriesField?: string;
|
|
70
|
-
comparisonCount?: number;
|
|
71
|
-
dynamicXAxis?: {
|
|
72
|
-
isEnable: boolean;
|
|
73
|
-
xaxis: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
export type UseMetricQueryQueryOutputType = {
|
|
77
|
-
data?: any | null;
|
|
78
|
-
timeTaken?: number | null;
|
|
79
|
-
totalRecords?: number | null;
|
|
80
|
-
metaData?: any | null;
|
|
81
|
-
};
|
|
82
|
-
export type UseMetricColumnMutationInputType = {
|
|
83
|
-
tableName?: string;
|
|
84
|
-
columnName?: string;
|
|
85
|
-
wId?: string;
|
|
86
|
-
filter?: Record<string, any>;
|
|
87
|
-
customTable?: {
|
|
88
|
-
query: string;
|
|
89
|
-
alias: string;
|
|
90
|
-
};
|
|
91
|
-
labelColumnName?: string;
|
|
92
|
-
};
|
|
93
|
-
export type UseMetricUnderlyingDataMutationInputType = {
|
|
94
|
-
columnName?: string;
|
|
95
|
-
companyId?: string;
|
|
96
|
-
query?: string;
|
|
97
|
-
value?: any;
|
|
98
|
-
workspaceId?: string;
|
|
99
|
-
metricId?: string;
|
|
100
|
-
};
|
|
101
|
-
export type UseMetricShareCsvMutationInputType = {
|
|
102
|
-
configurations?: Record<string, any>;
|
|
103
|
-
emails?: string[];
|
|
104
|
-
expireCsvFileAt?: string;
|
|
105
|
-
expireUrlIn?: number;
|
|
106
|
-
externalMetricId?: string;
|
|
107
|
-
integrationId?: string;
|
|
108
|
-
integrationName?: string;
|
|
109
|
-
query?: string;
|
|
110
|
-
sharingSettingsId?: string;
|
|
111
|
-
subject?: string;
|
|
112
|
-
};
|
|
113
|
-
export type UseSaveDashboardLayoutMutationInputType = {
|
|
114
|
-
clientId: string;
|
|
115
|
-
externalDashboardId: string;
|
|
116
|
-
layout: any[];
|
|
117
|
-
isLocked?: boolean;
|
|
118
|
-
dashboardFiltersLayout?: any[];
|
|
119
|
-
gridMargin?: {
|
|
120
|
-
verticalMargin?: number;
|
|
121
|
-
horizontalMargin?: number;
|
|
122
|
-
} | null;
|
|
123
|
-
};
|
|
124
|
-
export type UseDeleteDashboardScheduleReportMutationInputType = {
|
|
125
|
-
token: string;
|
|
126
|
-
id: string;
|
|
127
|
-
};
|
|
128
|
-
export type UseSaveDashboardScheduleReportMutationInputType = {
|
|
129
|
-
emails?: any;
|
|
130
|
-
externalDashboardId?: string;
|
|
131
|
-
guestToken?: string;
|
|
132
|
-
nextScheduledAt?: string;
|
|
133
|
-
sharingSettingsId?: string;
|
|
134
|
-
subject?: string;
|
|
135
|
-
timeConfigurations?: any;
|
|
136
|
-
data?: any;
|
|
137
|
-
};
|
|
138
|
-
export type UseMarkArchivedMutationInputType = {
|
|
139
|
-
id?: string;
|
|
140
|
-
};
|
|
141
|
-
export type UsePublishArchivedMetricsMutationInputType = {
|
|
142
|
-
externalMetricIds?: string[];
|
|
143
|
-
archiveMetrics?: string[];
|
|
144
|
-
};
|
|
145
|
-
export type UseExecutePythonMutationInputType = {
|
|
146
|
-
code: string;
|
|
147
|
-
clientId?: string;
|
|
148
|
-
companyId: string;
|
|
149
|
-
rlsConditions?: RlsCondition[];
|
|
150
|
-
};
|
|
151
|
-
export type ExternalMetricsInsertInput = {
|
|
152
|
-
chartOptions?: any;
|
|
153
|
-
clientDeletedMetrics?: any;
|
|
154
|
-
clientId?: string;
|
|
155
|
-
companyId?: string;
|
|
156
|
-
companyIntegrationId?: string;
|
|
157
|
-
createdAt?: string;
|
|
158
|
-
createdBy?: string;
|
|
159
|
-
datasetMetricSettings?: any;
|
|
160
|
-
description?: string;
|
|
161
|
-
drillDownSettings?: any;
|
|
162
|
-
externalDashboardMetrics?: any;
|
|
163
|
-
externalMetricRawCsvUrl?: any;
|
|
164
|
-
externalMetricsRlsFilters?: any;
|
|
165
|
-
groupBy?: any;
|
|
166
|
-
inputFields?: any;
|
|
167
|
-
integrationName?: string;
|
|
168
|
-
isCreatedByClient?: boolean;
|
|
169
|
-
isEnableGroupBy?: boolean;
|
|
170
|
-
isLive?: boolean;
|
|
171
|
-
metricId?: string;
|
|
172
|
-
metricQuery?: string;
|
|
173
|
-
name?: string;
|
|
174
|
-
outputColumns?: string;
|
|
175
|
-
query?: string;
|
|
176
|
-
resizeAttributes?: any;
|
|
177
|
-
scheduleEmailReportCharts?: any;
|
|
178
|
-
selectedGroupBy?: any;
|
|
179
|
-
timeGrain?: string;
|
|
180
|
-
updatedAt?: string;
|
|
181
|
-
elementSettings?: any;
|
|
182
|
-
isMetric?: boolean;
|
|
183
|
-
};
|
|
184
|
-
export type UseUpdateAdminMetricMutationInputType = {
|
|
185
|
-
externalMetricId: string;
|
|
186
|
-
object: ExternalMetricsInsertInput;
|
|
187
|
-
clientId: string;
|
|
188
|
-
};
|
|
189
|
-
export type ExternalMetricsSetInput = {
|
|
190
|
-
chartOptions?: any;
|
|
191
|
-
description?: string;
|
|
192
|
-
metricId?: string;
|
|
193
|
-
name?: string;
|
|
194
|
-
resizeAttributes?: any;
|
|
195
|
-
updatedAt?: any;
|
|
196
|
-
};
|
|
197
|
-
export type UseUpdateMetricMutationInputType = {
|
|
198
|
-
externalMetricId: string;
|
|
199
|
-
set: ExternalMetricsSetInput;
|
|
200
|
-
};
|
|
201
|
-
export type UsePreviewTableMutationInputType = {
|
|
202
|
-
tableName?: string;
|
|
203
|
-
limit?: number;
|
|
204
|
-
integrationId?: string;
|
|
205
|
-
integrationName?: string;
|
|
206
|
-
};
|
|
207
|
-
export type UseGenerateMetricDataMutationInputType = {
|
|
208
|
-
questionString: string;
|
|
209
|
-
};
|
|
210
|
-
export type UseGenerateMetricMutationInputType = {
|
|
211
|
-
userInputs?: any;
|
|
212
|
-
integrationName?: string;
|
|
213
|
-
integrationId?: string;
|
|
214
|
-
};
|
|
215
|
-
export type UseDatatsetMetricMutationInputType = {
|
|
216
|
-
cId: string;
|
|
217
|
-
configuration: DatasetMetricCreationConfiguration;
|
|
218
|
-
id: string;
|
|
219
|
-
};
|
|
220
|
-
export type UseNewDatatsetMetricMutationInputType = {
|
|
221
|
-
configuration: DatasetMetricCreationConfiguration;
|
|
222
|
-
id: string;
|
|
223
|
-
};
|
|
224
|
-
export type UseGenerateMetricSummaryMutationInputType = {
|
|
225
|
-
data: Record<string, any>[];
|
|
226
|
-
wId?: string;
|
|
227
|
-
};
|
|
228
|
-
export type DbChatMetricCreationType = {
|
|
229
|
-
wId?: string;
|
|
230
|
-
question: string;
|
|
231
|
-
config?: any;
|
|
232
|
-
};
|
|
233
|
-
export type DbChatMetricCreationOutputType = {
|
|
234
|
-
data: any;
|
|
235
|
-
};
|
|
236
|
-
export type UseCreateMetricMutationInputType = {
|
|
237
|
-
chartOptions?: any;
|
|
238
|
-
companyId?: string;
|
|
239
|
-
companyIntegrationId?: string;
|
|
240
|
-
description?: string;
|
|
241
|
-
inputFields?: any;
|
|
242
|
-
integrationName?: string;
|
|
243
|
-
metricId?: string;
|
|
244
|
-
metricQuery?: string;
|
|
245
|
-
name?: string;
|
|
246
|
-
outputColumns?: string;
|
|
247
|
-
query?: string;
|
|
248
|
-
isLive?: boolean;
|
|
249
|
-
clientId?: string | null;
|
|
250
|
-
isCreatedByClient?: boolean;
|
|
251
|
-
createdBy?: string;
|
|
252
|
-
timeGrain?: string | null;
|
|
253
|
-
externalDashboardIds?: any;
|
|
254
|
-
selectedGroupBy?: any;
|
|
255
|
-
isEnableGroupBy?: boolean;
|
|
256
|
-
datasetMetricSettings?: any;
|
|
257
|
-
groupBy?: any;
|
|
258
|
-
drillDownSettings?: any;
|
|
259
|
-
};
|
|
260
|
-
export type CompanyIntegrations = {
|
|
261
|
-
companyId: string;
|
|
262
|
-
companyWorkspace: any;
|
|
263
|
-
customSqlColumns: any;
|
|
264
|
-
externalMetrics: any;
|
|
265
|
-
id: string;
|
|
266
|
-
integrationId: string;
|
|
267
|
-
name: string;
|
|
268
|
-
workspaceId: string;
|
|
269
|
-
};
|
|
270
|
-
export type ExternalMetrics = {
|
|
271
|
-
chartOptions: any;
|
|
272
|
-
clickActions: any;
|
|
273
|
-
clientDeletedMetrics: any;
|
|
274
|
-
clientId?: string;
|
|
275
|
-
companyId: string;
|
|
276
|
-
companyIntegration: CompanyIntegrations;
|
|
277
|
-
companyIntegrationId: string;
|
|
278
|
-
createdAt: string;
|
|
279
|
-
createdBy?: string;
|
|
280
|
-
datasetMetricSettings?: any;
|
|
281
|
-
description: string;
|
|
282
|
-
drillDownSettings?: any;
|
|
283
|
-
/** An array relationship */
|
|
284
|
-
externalDashboardMetrics: any;
|
|
285
|
-
/** An object relationship */
|
|
286
|
-
externalMetricRawCsvUrl?: any;
|
|
287
|
-
/** An array relationship */
|
|
288
|
-
externalMetricsRlsFilters: any;
|
|
289
|
-
groupBy: any;
|
|
290
|
-
id: string;
|
|
291
|
-
inputFields?: any;
|
|
292
|
-
integrationName: string;
|
|
293
|
-
isArchived: boolean;
|
|
294
|
-
isCreatedByClient: boolean;
|
|
295
|
-
isEnableGroupBy: boolean;
|
|
296
|
-
isLive: boolean;
|
|
297
|
-
isMarkedDeleted: boolean;
|
|
298
|
-
metricId: string;
|
|
299
|
-
metricQuery?: string;
|
|
300
|
-
name: string;
|
|
301
|
-
outputColumns?: string;
|
|
302
|
-
query: string;
|
|
303
|
-
resizeAttributes: any;
|
|
304
|
-
rlsConditions: any;
|
|
305
|
-
scheduleEmailReportCharts: any;
|
|
306
|
-
selectedGroupBy: any;
|
|
307
|
-
timeGrain?: string;
|
|
308
|
-
updatedAt: string;
|
|
309
|
-
};
|
|
310
|
-
export type ChatCompletionRequestMessage = {
|
|
311
|
-
/**
|
|
312
|
-
* The role of the author of this message.
|
|
313
|
-
* @type {string}
|
|
314
|
-
* @memberof ChatCompletionRequestMessage
|
|
315
|
-
*/
|
|
316
|
-
role: 'system' | 'user' | 'assistant';
|
|
317
|
-
/**
|
|
318
|
-
* The contents of the message
|
|
319
|
-
* @type {string}
|
|
320
|
-
* @memberof ChatCompletionRequestMessage
|
|
321
|
-
*/
|
|
322
|
-
content: string;
|
|
323
|
-
/**
|
|
324
|
-
* The name of the user in a multi-user chat
|
|
325
|
-
* @type {string}
|
|
326
|
-
* @memberof ChatCompletionRequestMessage
|
|
327
|
-
*/
|
|
328
|
-
name?: string;
|
|
329
|
-
};
|
|
330
|
-
export type UseChatApiResponseType = {
|
|
331
|
-
messages: ChatCompletionRequestMessage[];
|
|
332
|
-
};
|
|
333
|
-
export type SummarizeMetricMutationType = {
|
|
334
|
-
metricData: any;
|
|
335
|
-
summaryPrompt: string;
|
|
336
|
-
key: string;
|
|
337
|
-
name: string;
|
|
338
|
-
description: string;
|
|
339
|
-
workspaceId: string;
|
|
340
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @name objectArrayToCsvString - converts array of objects to csv file downloadable link
|
|
3
|
-
* @param array - array of objects with key value pairs
|
|
4
|
-
* @returns uri encoded csv data string
|
|
5
|
-
*/
|
|
6
|
-
export declare const objectArrayToCsvString: (array: Record<string, string>[]) => string;
|
package/dist/utils/colors.d.ts
DELETED
package/dist/utils/fetcher.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type ApiResponse<T> = {
|
|
2
|
-
data: T;
|
|
3
|
-
};
|
|
4
|
-
type FetcherOptions = {
|
|
5
|
-
method: 'GET' | 'POST';
|
|
6
|
-
token?: string;
|
|
7
|
-
data?: object;
|
|
8
|
-
isFrontend?: boolean;
|
|
9
|
-
clientId?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const getToken: () => string | null;
|
|
12
|
-
declare const fetcher: <T>(url: string, options?: FetcherOptions) => Promise<ApiResponse<T>>;
|
|
13
|
-
export default fetcher;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
type GetLabelsParams = {
|
|
2
|
-
data: Record<string, any>[] | undefined;
|
|
3
|
-
xAxis: string | undefined;
|
|
4
|
-
isDynamicXaxis: boolean;
|
|
5
|
-
isGroupXAxis: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const getLabels: ({ data, xAxis, isDynamicXaxis, isGroupXAxis, }: GetLabelsParams) => string[] | undefined;
|
|
8
|
-
export type GetDatasetsParams = {
|
|
9
|
-
data: Record<string, any>[] | undefined;
|
|
10
|
-
yAxisList: string[] | undefined;
|
|
11
|
-
xAxis: string | undefined;
|
|
12
|
-
isDynamicXaxis: boolean;
|
|
13
|
-
isCumulativeBar: boolean;
|
|
14
|
-
chartType: string;
|
|
15
|
-
seriesType: string;
|
|
16
|
-
isGroupXAxis: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare const getDatasets: ({ data, yAxisList, xAxis, isDynamicXaxis, isCumulativeBar, chartType, seriesType, isGroupXAxis, }: GetDatasetsParams) => {
|
|
19
|
-
label: string;
|
|
20
|
-
data: any[] | undefined;
|
|
21
|
-
borderColor: string;
|
|
22
|
-
}[] | undefined;
|
|
23
|
-
type GetFunnelDataParams = {
|
|
24
|
-
data: Record<string, any>[] | undefined;
|
|
25
|
-
measure: string | undefined;
|
|
26
|
-
step: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
export declare const getFunnelData: ({ data, measure, step }: GetFunnelDataParams) => {
|
|
29
|
-
value: any;
|
|
30
|
-
name: any;
|
|
31
|
-
}[];
|
|
32
|
-
type GetSingleValueDataParams = {
|
|
33
|
-
data: Record<string, any>[] | undefined;
|
|
34
|
-
singleValue: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
export declare const getSingleValueData: ({ data, singleValue, }: GetSingleValueDataParams) => any[];
|
|
37
|
-
type GetXaxisDataParams = {
|
|
38
|
-
isTimeSeries: boolean;
|
|
39
|
-
xAxis: string | undefined;
|
|
40
|
-
data: Record<string, any>[] | undefined;
|
|
41
|
-
selectedFormat: string | undefined;
|
|
42
|
-
fillXAxis: boolean;
|
|
43
|
-
};
|
|
44
|
-
export declare const getXAxisData: ({ isTimeSeries, xAxis, data, selectedFormat, fillXAxis, }: GetXaxisDataParams) => any[];
|
|
45
|
-
export type GetSeriesDataParams = {
|
|
46
|
-
data: Record<string, any>[] | undefined;
|
|
47
|
-
xAxis: string | undefined;
|
|
48
|
-
yAxisList: string[] | undefined;
|
|
49
|
-
seriesField: string | undefined;
|
|
50
|
-
isTimeSeries: boolean;
|
|
51
|
-
selectedFormat: string | undefined;
|
|
52
|
-
fillXAxis: boolean;
|
|
53
|
-
isCumulativeBar: boolean;
|
|
54
|
-
chartType: string;
|
|
55
|
-
seriesType: string;
|
|
56
|
-
};
|
|
57
|
-
export declare const getSeriesData: ({ data, seriesField, isTimeSeries, xAxis, selectedFormat, fillXAxis, yAxisList, isCumulativeBar, chartType, seriesType, }: GetSeriesDataParams) => any;
|
|
58
|
-
export type GetChartAttributesParams = {
|
|
59
|
-
data: Record<string, any>[] | undefined;
|
|
60
|
-
yAxisList: string[] | undefined;
|
|
61
|
-
xAxis: string | undefined;
|
|
62
|
-
measure: string | undefined;
|
|
63
|
-
step: string | undefined;
|
|
64
|
-
singleValue: string | undefined;
|
|
65
|
-
seriesField: string | undefined;
|
|
66
|
-
isTimeSeries: boolean;
|
|
67
|
-
selectedFormat: string | undefined;
|
|
68
|
-
fillXAxis: boolean;
|
|
69
|
-
isDynamicXaxis: boolean;
|
|
70
|
-
isCumulativeBar: boolean;
|
|
71
|
-
chartType: string;
|
|
72
|
-
seriesType: string;
|
|
73
|
-
isGroupXAxis: boolean;
|
|
74
|
-
};
|
|
75
|
-
export declare const getChartAttributes: ({ data, measure, singleValue, step, xAxis, yAxisList, seriesField, isTimeSeries, selectedFormat, fillXAxis, isDynamicXaxis, isCumulativeBar, chartType, seriesType, isGroupXAxis, }: GetChartAttributesParams) => {
|
|
76
|
-
labels: string[];
|
|
77
|
-
datasets: any;
|
|
78
|
-
funnelData: {
|
|
79
|
-
value: any;
|
|
80
|
-
name: any;
|
|
81
|
-
}[];
|
|
82
|
-
singleValueData: any[];
|
|
83
|
-
xAxisData: any[];
|
|
84
|
-
seriesData: any;
|
|
85
|
-
};
|
|
86
|
-
export declare const transformDataToSankey: ({ data, source, target, value, sankeyColors, }: {
|
|
87
|
-
data: Record<string, any>[];
|
|
88
|
-
source: string;
|
|
89
|
-
target: string;
|
|
90
|
-
value: any;
|
|
91
|
-
sankeyColors: string[] | undefined;
|
|
92
|
-
}) => {
|
|
93
|
-
nodes: {
|
|
94
|
-
name: any;
|
|
95
|
-
}[];
|
|
96
|
-
links: Record<string, any>[];
|
|
97
|
-
};
|
|
98
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ChartAppearanceType, ChartSettingsType } from '@/types';
|
|
3
|
-
export declare const truncateText: (label: string, maxLength: number) => string;
|
|
4
|
-
export declare const addPrefixAndSuffix: (val: any, prefix?: any, suffix?: any) => string;
|
|
5
|
-
export declare const findLegendPosition: (val: string | undefined) => {
|
|
6
|
-
top: string;
|
|
7
|
-
left: string;
|
|
8
|
-
right?: undefined;
|
|
9
|
-
bottom?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
top: string;
|
|
12
|
-
right: string;
|
|
13
|
-
left?: undefined;
|
|
14
|
-
bottom?: undefined;
|
|
15
|
-
} | {
|
|
16
|
-
bottom: string;
|
|
17
|
-
left: string;
|
|
18
|
-
top?: undefined;
|
|
19
|
-
right?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
bottom: string;
|
|
22
|
-
right: string;
|
|
23
|
-
top?: undefined;
|
|
24
|
-
left?: undefined;
|
|
25
|
-
};
|
|
26
|
-
export declare const validateColor: (color: any) => boolean;
|
|
27
|
-
export type GetChartOptionsParams = {
|
|
28
|
-
chartOptions: ChartSettingsType;
|
|
29
|
-
data: Record<string, any>[];
|
|
30
|
-
colors?: string[];
|
|
31
|
-
geoJsonData?: any;
|
|
32
|
-
isPythonMode?: boolean;
|
|
33
|
-
chartHeight?: number;
|
|
34
|
-
chartAppearance?: ChartAppearanceType;
|
|
35
|
-
chartRef?: React.MutableRefObject<any>;
|
|
36
|
-
metricCardColor?: string;
|
|
37
|
-
};
|
|
38
|
-
export declare const getLegendData: ({ chartOptions, data, }: {
|
|
39
|
-
chartOptions: ChartSettingsType;
|
|
40
|
-
data: Record<string, any>[];
|
|
41
|
-
}) => any;
|
|
42
|
-
export declare const getChartOptions: ({ chartOptions, data, colors, isPythonMode, geoJsonData, chartHeight, chartAppearance, chartRef, metricCardColor, }: GetChartOptionsParams) => Record<string, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getFormattedDataType: (datatype: string) => 'text' | 'number' | 'boolean';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ChartAppearanceType, ChartSettingsType } from '@/types';
|
|
3
|
-
export type GetNoAxisChartOptionsParams = {
|
|
4
|
-
chartOptions: ChartSettingsType;
|
|
5
|
-
data: Record<string, any>[];
|
|
6
|
-
colors?: string[];
|
|
7
|
-
datasets?: any;
|
|
8
|
-
labels?: any;
|
|
9
|
-
funnelData?: {
|
|
10
|
-
value: any;
|
|
11
|
-
name: any;
|
|
12
|
-
}[];
|
|
13
|
-
singleValueData?: any;
|
|
14
|
-
geoJsonData?: any;
|
|
15
|
-
mapColors?: string[];
|
|
16
|
-
progressData?: any;
|
|
17
|
-
barGradient?: any;
|
|
18
|
-
labelFormatSettings: any;
|
|
19
|
-
bgColors: string[];
|
|
20
|
-
chartHeight?: number;
|
|
21
|
-
chartAppearance?: ChartAppearanceType;
|
|
22
|
-
chartRef?: React.MutableRefObject<any>;
|
|
23
|
-
metricCardColor?: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const getNoAxisChartOptions: ({ chartOptions, data, colors, datasets, funnelData, labels, singleValueData, geoJsonData, mapColors, progressData, barGradient, labelFormatSettings, bgColors, chartHeight, chartAppearance, chartRef, metricCardColor, }: GetNoAxisChartOptionsParams) => Record<string, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getValidJson: (json: string) => any;
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './theme';
|
|
2
|
-
export * from './getChartAttributes';
|
|
3
|
-
export * from './colors';
|
|
4
|
-
export * from './getFormattedDataType';
|
|
5
|
-
export * from './arrayToCsvString';
|
|
6
|
-
export * from './popoverPosition';
|
|
7
|
-
export * from './colors';
|
|
8
|
-
export * from './getValidJson';
|
|
9
|
-
export * from './getChartOptions';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @name pivotDataTransform - converts array of objects to pivot csv data
|
|
3
|
-
* @param chartOptions - includes chart properties, data - array of objects including data for the chart
|
|
4
|
-
* @returns array containing pivoted data
|
|
5
|
-
*/
|
|
6
|
-
import { ChartSettingsType } from '@/types';
|
|
7
|
-
export declare const pivotDataTransform: (chartOptions: ChartSettingsType | undefined, data: Record<string, string>[]) => any[];
|
package/dist/utils/theme.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* colors - object of customizable colors
|
|
3
|
-
* typography - object of customizable typography
|
|
4
|
-
* border - object of customizable border
|
|
5
|
-
* shadow - object of customizable box shadow
|
|
6
|
-
* breakpoint - object of customizable breakpoint
|
|
7
|
-
* metricLayoutCols - object of customizable metric chart layout columns
|
|
8
|
-
*/
|
|
9
|
-
export interface ThemeType {
|
|
10
|
-
button?: {
|
|
11
|
-
primary?: string;
|
|
12
|
-
secondary?: string;
|
|
13
|
-
primaryText?: string;
|
|
14
|
-
secondaryText?: string;
|
|
15
|
-
};
|
|
16
|
-
checkbox?: {
|
|
17
|
-
checked?: string;
|
|
18
|
-
unChecked?: string;
|
|
19
|
-
};
|
|
20
|
-
switch?: {
|
|
21
|
-
enabled?: string;
|
|
22
|
-
disabled?: string;
|
|
23
|
-
};
|
|
24
|
-
datePickerColor?: string;
|
|
25
|
-
manageMetricsStyle?: Record<string, any>;
|
|
26
|
-
breakpoint?: {
|
|
27
|
-
xl?: number;
|
|
28
|
-
lg?: number;
|
|
29
|
-
md?: number;
|
|
30
|
-
sm?: number;
|
|
31
|
-
xs?: number;
|
|
32
|
-
};
|
|
33
|
-
metricLayoutCols?: {
|
|
34
|
-
xl?: number;
|
|
35
|
-
lg?: number;
|
|
36
|
-
md?: number;
|
|
37
|
-
sm?: number;
|
|
38
|
-
xs?: number;
|
|
39
|
-
xxs?: number;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
export declare const applyTheme: (theme: ThemeType) => void;
|
package/dist/webcomponents.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DashboardProps } from './containers/Dashboard';
|
|
2
|
-
import { Chart, ChartProps } from './components';
|
|
3
|
-
import { MetricProps } from './containers/Metric';
|
|
4
|
-
import { CreateEmbedMetricProps } from './containers/CreateMetric/CreateEmbeddedMetric';
|
|
5
|
-
export type { CustomSettings, TableSettings, MarginSettings, AxisSettings, LegendSettings, LabelSettings, BackgroundSettings, PivotSettingsType, GaugeSettingsType, ChartSettingsType, TimeSeriesSettingsType, MetricFilterOptionsType, DateTypeOptionType, } from '@/types';
|
|
6
|
-
export declare namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
Tag: any;
|
|
9
|
-
'dbn-dashboard': DashboardProps;
|
|
10
|
-
'dbn-metric': MetricProps;
|
|
11
|
-
'dbn-chart': ChartProps;
|
|
12
|
-
'dbn-create-metric': CreateEmbedMetricProps;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export type { DashboardProps, MetricProps, ChartProps, CreateEmbedMetricProps };
|
|
16
|
-
export { Chart };
|