@databrainhq/plugin 0.15.29 → 0.15.31

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 (244) hide show
  1. package/dist/webcomponents.es.js +2492 -1966
  2. package/dist/webcomponents.umd.js +17 -17
  3. package/package.json +1 -1
  4. package/dist/components/Accordion/index.d.ts +0 -33
  5. package/dist/components/AceEditorSql/AceEditorSql.d.ts +0 -11
  6. package/dist/components/Alert/index.d.ts +0 -12
  7. package/dist/components/AutoCompleteDropdown/index.d.ts +0 -20
  8. package/dist/components/Badge/index.d.ts +0 -10
  9. package/dist/components/Button/index.d.ts +0 -14
  10. package/dist/components/ButtonGroup/index.d.ts +0 -14
  11. package/dist/components/Chart/SingleValueChart.d.ts +0 -37
  12. package/dist/components/Chart/index.d.ts +0 -34
  13. package/dist/components/ChartModal/ChartConfig.d.ts +0 -10
  14. package/dist/components/ChartModal/ChartModalOptions.d.ts +0 -14
  15. package/dist/components/ChartModal/index.d.ts +0 -3
  16. package/dist/components/ChartPopup/components/UnderlyingData/index.d.ts +0 -15
  17. package/dist/components/ChartPopup/index.d.ts +0 -28
  18. package/dist/components/ChartReportPanel/index.d.ts +0 -10
  19. package/dist/components/ChartSettingsPopup/ChartSettingsPopup.d.ts +0 -13
  20. package/dist/components/ChartSettingsPopup/components/ChartConfigure/ComboChartFormatter.d.ts +0 -8
  21. package/dist/components/ChartSettingsPopup/components/ChartConfigure/PositionContainer.d.ts +0 -8
  22. package/dist/components/ChartSettingsPopup/components/ChartConfigure/index.d.ts +0 -26
  23. package/dist/components/ChartSettingsPopup/components/ChartSettings/index.d.ts +0 -14
  24. package/dist/components/ChartSettingsPopup/index.d.ts +0 -3
  25. package/dist/components/ChartTypePanel/index.d.ts +0 -15
  26. package/dist/components/Checkbox/index.d.ts +0 -10
  27. package/dist/components/ColorField/ColorField.d.ts +0 -13
  28. package/dist/components/DataType/index.d.ts +0 -9
  29. package/dist/components/DateRangePicker/index.d.ts +0 -36
  30. package/dist/components/DraggableItem/index.d.ts +0 -7
  31. package/dist/components/DrillBreadCrumb/index.d.ts +0 -16
  32. package/dist/components/Error/index.d.ts +0 -6
  33. package/dist/components/ErrorFallback/index.d.ts +0 -2
  34. package/dist/components/ExternalMetricForm/index.d.ts +0 -11
  35. package/dist/components/FilterDropDown/index.d.ts +0 -30
  36. package/dist/components/FilterField/index.d.ts +0 -39
  37. package/dist/components/Flex/index.d.ts +0 -13
  38. package/dist/components/FloatingDropDown/index.d.ts +0 -38
  39. package/dist/components/FullScreenChart/index.d.ts +0 -8
  40. package/dist/components/GaugeLegend/index.d.ts +0 -11
  41. package/dist/components/GenerateMetric/index.d.ts +0 -3
  42. package/dist/components/GlobalFilters/AddFilter.d.ts +0 -15
  43. package/dist/components/GlobalFilters/AppliedFilter.d.ts +0 -9
  44. package/dist/components/GlobalFilters/Filters.d.ts +0 -28
  45. package/dist/components/GlobalFilters/HorizontalFilters.d.ts +0 -35
  46. package/dist/components/GlobalFilters/NumberFilterField.d.ts +0 -23
  47. package/dist/components/GlobalFilters/SearchField.d.ts +0 -10
  48. package/dist/components/GlobalFilters/index.d.ts +0 -79
  49. package/dist/components/HorizontalStackTable/DebouncedInput.d.ts +0 -6
  50. package/dist/components/HorizontalStackTable/index.d.ts +0 -18
  51. package/dist/components/Icons/Logos/index.d.ts +0 -26
  52. package/dist/components/Icons/index.d.ts +0 -9
  53. package/dist/components/InfoTooltip/index.d.ts +0 -15
  54. package/dist/components/InputField/index.d.ts +0 -17
  55. package/dist/components/List/index.d.ts +0 -38
  56. package/dist/components/Loader/index.d.ts +0 -6
  57. package/dist/components/Menu/index.d.ts +0 -32
  58. package/dist/components/MetricChart/ChartImageDownloadButton.d.ts +0 -11
  59. package/dist/components/MetricChart/CsvDownloadButton.d.ts +0 -12
  60. package/dist/components/MetricChart/PivotCsvDownloadButton.d.ts +0 -12
  61. package/dist/components/MetricChart/RawCsvDownloadButton.d.ts +0 -37
  62. package/dist/components/MetricChart/index.d.ts +0 -5
  63. package/dist/components/MetricCreation/MetricCreation.d.ts +0 -3
  64. package/dist/components/MetricCreation/components/ConstructMetric/ConstructMetric.d.ts +0 -3
  65. package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts +0 -3
  66. package/dist/components/MetricCreation/components/ConstructMetric/index.d.ts +0 -2
  67. package/dist/components/MetricCreation/components/Dataset/index.d.ts +0 -3
  68. package/dist/components/MetricCreation/components/Header/index.d.ts +0 -3
  69. package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +0 -3
  70. package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +0 -33
  71. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/InputTables/index.d.ts +0 -2
  72. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/index.d.ts +0 -1
  73. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +0 -11
  74. package/dist/components/MetricCreation/components/MetricOutput/components/index.d.ts +0 -3
  75. package/dist/components/MetricCreation/components/MetricOutput/index.d.ts +0 -2
  76. package/dist/components/MetricCreation/components/Panels/ChartActionPanel.d.ts +0 -13
  77. package/dist/components/MetricCreation/components/Panels/ChartAppearancePanel.d.ts +0 -22
  78. package/dist/components/MetricCreation/components/Panels/FiltersPanel.d.ts +0 -20
  79. package/dist/components/MetricCreation/components/Panels/SortPanel.d.ts +0 -15
  80. package/dist/components/MetricCreation/index.d.ts +0 -5
  81. package/dist/components/MetricFilterDropDown/components/OldMetricFilterComponents.d.ts +0 -17
  82. package/dist/components/MetricFilterDropDown/components/SearchField.d.ts +0 -7
  83. package/dist/components/MetricFilterDropDown/components/StringAutoCustomFilterField.d.ts +0 -18
  84. package/dist/components/MetricFilterDropDown/components/StringManualFilterField.d.ts +0 -11
  85. package/dist/components/MetricFilterDropDown/components/TimeFilterField.d.ts +0 -12
  86. package/dist/components/MetricFilterDropDown/components/VariableTimeFilterField.d.ts +0 -12
  87. package/dist/components/MetricFilterDropDown/index.d.ts +0 -24
  88. package/dist/components/MetricList/MetricList.d.ts +0 -65
  89. package/dist/components/MetricList/components/ArchiveMetricModal/index.d.ts +0 -7
  90. package/dist/components/MetricList/components/DownloadRawCsvModal/index.d.ts +0 -13
  91. package/dist/components/MetricList/components/FullScreenView/AddMetricFilter.d.ts +0 -8
  92. package/dist/components/MetricList/components/FullScreenView/ChartPropertiesPanel.d.ts +0 -12
  93. package/dist/components/MetricList/components/FullScreenView/DownloadButton.d.ts +0 -18
  94. package/dist/components/MetricList/components/FullScreenView/index.d.ts +0 -45
  95. package/dist/components/MetricList/components/LayoutAlert/index.d.ts +0 -7
  96. package/dist/components/MetricList/components/ManageMetricMenu/ManageMetricCard.d.ts +0 -15
  97. package/dist/components/MetricList/components/ManageMetricMenu/index.d.ts +0 -17
  98. package/dist/components/MetricList/components/MetricCards/CreateElementPanel.d.ts +0 -14
  99. package/dist/components/MetricList/components/MetricCards/ElementCard.d.ts +0 -16
  100. package/dist/components/MetricList/components/MetricCards/MetricCard.d.ts +0 -98
  101. package/dist/components/MetricList/components/MetricCards/NoDataLoading.d.ts +0 -11
  102. package/dist/components/MetricList/components/TableViewModal/index.d.ts +0 -9
  103. package/dist/components/MetricList/components/index.d.ts +0 -7
  104. package/dist/components/MetricList/index.d.ts +0 -2
  105. package/dist/components/MetricTable/index.d.ts +0 -7
  106. package/dist/components/Modal/Modal.d.ts +0 -14
  107. package/dist/components/Modal/ModalFooter.d.ts +0 -5
  108. package/dist/components/Modal/index.d.ts +0 -2
  109. package/dist/components/MultiSelectDropdown/index.d.ts +0 -39
  110. package/dist/components/Panel/index.d.ts +0 -17
  111. package/dist/components/PivotTable/PivotTableV2.d.ts +0 -23
  112. package/dist/components/PivotTable/index.d.ts +0 -8
  113. package/dist/components/PivotTable/transformData.d.ts +0 -7
  114. package/dist/components/PopoverMenu/index.d.ts +0 -36
  115. package/dist/components/Portal/index.d.ts +0 -2
  116. package/dist/components/RadioButton/index.d.ts +0 -16
  117. package/dist/components/ScheduleEmail/ScheduleEmailForm/index.d.ts +0 -6
  118. package/dist/components/ScheduleEmail/index.d.ts +0 -3
  119. package/dist/components/SearchDropdown/index.d.ts +0 -14
  120. package/dist/components/SearchMetricData/ChatMode/ChatAppearancePanel.d.ts +0 -19
  121. package/dist/components/SearchMetricData/ChatMode/ChatMode.d.ts +0 -44
  122. package/dist/components/SearchMetricData/ChatMode/ChatModeHeader.d.ts +0 -8
  123. package/dist/components/SearchMetricData/ChatMode/ChatReportPanel.d.ts +0 -9
  124. package/dist/components/SearchMetricData/ChatMode/ChatSqlPanel.d.ts +0 -7
  125. package/dist/components/SearchMetricData/ChatMode/NoChatData.d.ts +0 -3
  126. package/dist/components/SearchMetricData/ChatMode/NoDataFound.d.ts +0 -7
  127. package/dist/components/SearchMetricData/ChatMode/Results.d.ts +0 -23
  128. package/dist/components/SearchMetricData/LoaderWithStates/index.d.ts +0 -7
  129. package/dist/components/SearchMetricData/SearchMetricData.d.ts +0 -5
  130. package/dist/components/SearchMetricData/index.d.ts +0 -1
  131. package/dist/components/SearchTab/index.d.ts +0 -13
  132. package/dist/components/Select/index.d.ts +0 -47
  133. package/dist/components/SelfHostControl/index.d.ts +0 -4
  134. package/dist/components/SkeletonLoader/index.d.ts +0 -9
  135. package/dist/components/SpinningLoader/index.d.ts +0 -2
  136. package/dist/components/Switch/SwitchInput.d.ts +0 -9
  137. package/dist/components/Switch/index.d.ts +0 -11
  138. package/dist/components/Tab/index.d.ts +0 -14
  139. package/dist/components/Table/DebouncedInput.d.ts +0 -6
  140. package/dist/components/Table/Filter.d.ts +0 -7
  141. package/dist/components/Table/index.d.ts +0 -36
  142. package/dist/components/Tabs/index.d.ts +0 -41
  143. package/dist/components/TagInputField/index.d.ts +0 -33
  144. package/dist/components/Text/index.d.ts +0 -13
  145. package/dist/components/TextAreaField/index.d.ts +0 -24
  146. package/dist/components/ThemeBlock/index.d.ts +0 -8
  147. package/dist/components/TimeGrainField/index.d.ts +0 -16
  148. package/dist/components/TimeSeriesSettings/index.d.ts +0 -8
  149. package/dist/components/index.d.ts +0 -63
  150. package/dist/consts/api.d.ts +0 -64
  151. package/dist/consts/app.d.ts +0 -154
  152. package/dist/consts/index.d.ts +0 -2
  153. package/dist/consts/metricOptions.d.ts +0 -205
  154. package/dist/consts/validations.d.ts +0 -24
  155. package/dist/containers/CreateMetric/CreateEmbeddedMetric.d.ts +0 -14
  156. package/dist/containers/CreateMetric/index.d.ts +0 -3
  157. package/dist/containers/Dashboard/Dashboard.d.ts +0 -72
  158. package/dist/containers/Dashboard/DashboardProvider.d.ts +0 -7
  159. package/dist/containers/Dashboard/EmbededDashboard.d.ts +0 -45
  160. package/dist/containers/Dashboard/index.d.ts +0 -2
  161. package/dist/containers/DbnStyles.d.ts +0 -10
  162. package/dist/containers/Metric/EmbeddedMetric.d.ts +0 -47
  163. package/dist/containers/Metric/index.d.ts +0 -85
  164. package/dist/containers/PluginProvider.d.ts +0 -7
  165. package/dist/containers/index.d.ts +0 -3
  166. package/dist/helpers/adaptiveFormatter.d.ts +0 -6
  167. package/dist/helpers/areArraysEqual.d.ts +0 -1
  168. package/dist/helpers/autoCompleteHelpers.d.ts +0 -95
  169. package/dist/helpers/cardActions.d.ts +0 -5
  170. package/dist/helpers/chartOptions.d.ts +0 -93
  171. package/dist/helpers/checkIsElementInViewport.d.ts +0 -1
  172. package/dist/helpers/conditionalFormatting.d.ts +0 -3
  173. package/dist/helpers/copyToClipboard.d.ts +0 -4
  174. package/dist/helpers/createMetric.d.ts +0 -25
  175. package/dist/helpers/darkColorIdentifier.d.ts +0 -2
  176. package/dist/helpers/dateFormatter.d.ts +0 -1
  177. package/dist/helpers/generateColorPalette.d.ts +0 -1
  178. package/dist/helpers/generateTimeRangeWhereClause.d.ts +0 -13
  179. package/dist/helpers/getColumnType.d.ts +0 -2
  180. package/dist/helpers/getComboRangeLabel.d.ts +0 -5
  181. package/dist/helpers/getFilterAppliedQuery.d.ts +0 -71
  182. package/dist/helpers/getModifiedQuery.d.ts +0 -78
  183. package/dist/helpers/getNextScheduledTime.d.ts +0 -13
  184. package/dist/helpers/getTimeFilterValue.d.ts +0 -12
  185. package/dist/helpers/getValidRlsConditionOptions.d.ts +0 -16
  186. package/dist/helpers/groupArray.d.ts +0 -1
  187. package/dist/helpers/groupBy.d.ts +0 -25
  188. package/dist/helpers/index.d.ts +0 -16
  189. package/dist/helpers/numberFormatter.d.ts +0 -1
  190. package/dist/helpers/setOnDateChange.d.ts +0 -11
  191. package/dist/helpers/sqlMetadata.d.ts +0 -7
  192. package/dist/helpers/timeseries.d.ts +0 -35
  193. package/dist/helpers/timeseriesOption.d.ts +0 -72
  194. package/dist/helpers/tooltipFormatter.d.ts +0 -27
  195. package/dist/helpers/treeMap.d.ts +0 -6
  196. package/dist/hooks/index.d.ts +0 -12
  197. package/dist/hooks/useArchiveMetric.d.ts +0 -10
  198. package/dist/hooks/useAutoCompleteOptions.d.ts +0 -4
  199. package/dist/hooks/useClientDashboardLayout.d.ts +0 -21
  200. package/dist/hooks/useDashboardContext.d.ts +0 -37
  201. package/dist/hooks/useDatasetMetric.d.ts +0 -50
  202. package/dist/hooks/useDebounce.d.ts +0 -2
  203. package/dist/hooks/useDownloadRawCsv.d.ts +0 -21
  204. package/dist/hooks/useDrag.d.ts +0 -10
  205. package/dist/hooks/useDragAndDropState.d.ts +0 -10
  206. package/dist/hooks/useDrop.d.ts +0 -13
  207. package/dist/hooks/useEmbeddedMetric.d.ts +0 -24
  208. package/dist/hooks/useExternalMetric.d.ts +0 -55
  209. package/dist/hooks/useGenerateDatasetMetrics.d.ts +0 -13
  210. package/dist/hooks/useGenerateMetric.d.ts +0 -64
  211. package/dist/hooks/useMetricCard.d.ts +0 -121
  212. package/dist/hooks/useMetricConfig.d.ts +0 -63
  213. package/dist/hooks/useNewEmbeddedDashboard.d.ts +0 -35
  214. package/dist/hooks/useOutsideAlerter.d.ts +0 -14
  215. package/dist/hooks/usePublishArchivedMetrics.d.ts +0 -5
  216. package/dist/hooks/usePythonResults.d.ts +0 -17
  217. package/dist/hooks/useScheduleEmail.d.ts +0 -29
  218. package/dist/hooks/useSearch.d.ts +0 -55
  219. package/dist/hooks/useUnderlyingData.d.ts +0 -32
  220. package/dist/index.d.ts +0 -8
  221. package/dist/queries/externalDashboard.mutation.d.ts +0 -61
  222. package/dist/queries/externalDashboard.query.d.ts +0 -20
  223. package/dist/queries/index.d.ts +0 -1
  224. package/dist/queries/metric.mutation.d.ts +0 -57
  225. package/dist/queries/metric.query.d.ts +0 -12
  226. package/dist/types/app.d.ts +0 -894
  227. package/dist/types/dragAndDropProps.d.ts +0 -70
  228. package/dist/types/index.d.ts +0 -3
  229. package/dist/types/metricCreate.d.ts +0 -741
  230. package/dist/types/queryTypes.d.ts +0 -341
  231. package/dist/utils/arrayToCsvString.d.ts +0 -6
  232. package/dist/utils/colors.d.ts +0 -2
  233. package/dist/utils/fetcher.d.ts +0 -13
  234. package/dist/utils/getChartAttributes.d.ts +0 -98
  235. package/dist/utils/getChartImage.d.ts +0 -3
  236. package/dist/utils/getChartOptions.d.ts +0 -42
  237. package/dist/utils/getFormattedDataType.d.ts +0 -1
  238. package/dist/utils/getNoAxisChartOptions.d.ts +0 -25
  239. package/dist/utils/getValidJson.d.ts +0 -1
  240. package/dist/utils/index.d.ts +0 -9
  241. package/dist/utils/pivotDataTransform.d.ts +0 -7
  242. package/dist/utils/popoverPosition.d.ts +0 -2
  243. package/dist/utils/theme.d.ts +0 -42
  244. package/dist/webcomponents.d.ts +0 -16
@@ -1,63 +0,0 @@
1
- export * from './Button';
2
- export * from './ChartModal';
3
- export * from './DataType';
4
- export * from './Error';
5
- export * from './ErrorFallback';
6
- export * from './ExternalMetricForm';
7
- export * from './FilterDropDown';
8
- export * from './FloatingDropDown';
9
- export * from './FullScreenChart';
10
- export * from './FilterField';
11
- export * from './GlobalFilters';
12
- export * from './InfoTooltip';
13
- export * from './InputField';
14
- export * from './MetricChart';
15
- export * from './MetricCreation';
16
- export * from './MetricList';
17
- export * from './MetricTable';
18
- export * from './Modal';
19
- export * from './PopoverMenu';
20
- export * from './SearchTab';
21
- export * from './Select';
22
- export * from './Tab';
23
- export * from './Table';
24
- export * from './Text';
25
- export * from './TextAreaField';
26
- export * from './TimeGrainField';
27
- export * from './Switch';
28
- export * from './Icons';
29
- export * from './ChartPopup';
30
- export * from './DrillBreadCrumb';
31
- export * from './MetricFilterDropDown';
32
- export * from './Alert';
33
- export * from './GlobalFilters/AppliedFilter';
34
- export * from './Chart';
35
- export * from './ChartSettingsPopup';
36
- export * from './Portal';
37
- export * from './GlobalFilters/NumberFilterField';
38
- export * from './DateRangePicker';
39
- export * from './Loader';
40
- export * from './TagInputField';
41
- export * from './Checkbox';
42
- export * from './MultiSelectDropdown';
43
- export * from './Accordion';
44
- export * from './Panel';
45
- export * from './Tabs';
46
- export * from './List';
47
- export * from './ColorField/ColorField';
48
- export * from './RadioButton';
49
- export * from './Menu';
50
- export * from './ChartTypePanel';
51
- export * from './Badge';
52
- export * from './DraggableItem';
53
- export * from './SkeletonLoader';
54
- export * from './Flex';
55
- export * from './ThemeBlock';
56
- export * from './AutoCompleteDropdown';
57
- export * from './SelfHostControl';
58
- export * from './PivotTable/PivotTableV2';
59
- export * from './SearchDropdown';
60
- export * from './ChartReportPanel';
61
- export * from './ButtonGroup';
62
- export * from './SpinningLoader';
63
- export * from './SearchMetricData';
@@ -1,64 +0,0 @@
1
- export declare const API_BASE_URL: any;
2
- export declare const DASHBOARD_PATH = "/api/v2/dashboard";
3
- export declare const METRIC_PATH = "/api/v2/metric";
4
- export declare const NEW_METRIC_PATH = "/api/v3/metric";
5
- export declare const DASHBOARD_DATA_QUERY = "dashboardData";
6
- export declare const DASHBOARD_EMBEDDED_METRIC_PATH: string;
7
- export declare const DASHBOARD_EMBEDDED_METRIC_QUERY = "embeddedMetric";
8
- export declare const DASHBOARD_LAYOUT_PATH: string;
9
- export declare const DASHBOARD_LAYOUT_QUERY = "dashboardLayout";
10
- export declare const DASHBOARD_SCHEDULED_REPORT_PATH: string;
11
- export declare const DASHBOARD_SCHEDULED_REPORT_QUERY = "dashboardScheduledReport";
12
- export declare const DASHBOARD_SAVE_LAYOUT_PATH: string;
13
- export declare const DASHBOARD_SAVE_LAYOUT_MUTATION = "saveLayout";
14
- export declare const DASHBOARD_SAVE_SCHEDULED_REPORT_PATH: string;
15
- export declare const DASHBOARD_SAVE_SCHEDULED_REPORT_MUTATION = "saveScheduleReport";
16
- export declare const DASHBOARD_DELETE_SCHEDULED_REPORT_PATH: string;
17
- export declare const DASHBOARD_DELETE_SCHEDULED_REPORT_MUTATION = "deleteScheduleReport";
18
- export declare const DASHBOARD_CREATE_METRIC_PATH: string;
19
- export declare const DASHBOARD_CREATE_METRIC_MUTATION = "createMetric";
20
- export declare const DASHBOARD_UPDATE_METRIC_PATH: string;
21
- export declare const DASHBOARD_UPDATE_METRIC_MUTATION = "updateMetric";
22
- export declare const DASHBOARD_UPDATE_ADMIN_METRIC_PATH: string;
23
- export declare const DASHBOARD_UPDATE_ADMIN_METRIC_MUTATION = "updateAdminMetric";
24
- export declare const DASHBOARD_GENERATE_METRIC_PATH: string;
25
- export declare const DASHBOARD_GENERATE_METRIC_MUTATION = "generateMetric";
26
- export declare const DASHBOARD_DATASET_METRIC_PATH: string;
27
- export declare const DASHBOARD_DATASET_METRIC_MUTATION = "datasetMetricCreation";
28
- export declare const DASHBOARD_PREVIEW_TABLE_PATH: string;
29
- export declare const DASHBOARD_PREVIEW_TABLE_MUTATION = "previewTable";
30
- export declare const DASHBOARD_GEN_METRIC_DATA_PATH: string;
31
- export declare const DASHBOARD_GEN_METRIC_DATA_MUTATION = "/generatetMetricData";
32
- export declare const DASHBOARD_CHAT_RESPONSE_PATH: string;
33
- export declare const DASHBOARD_CHAT_RESPONSE_MUTATION = "getOpenaiChatResponse";
34
- export declare const DASHBOARD_THEME_PATH: string;
35
- export declare const DASHBOARD_THEME_QUERY = "getTheme";
36
- export declare const METRIC_QUERY_PATH: string;
37
- export declare const NEW_METRIC_QUERY_PATH: string;
38
- export declare const METRIC_QUERY_QUERY = "query";
39
- export declare const NEW_METRIC_DATASET_METRIC_PATH: string;
40
- export declare const NEW_METRIC_DATASET_METRIC_MUTATION = "newDatasetMetricCreation";
41
- export declare const GENERATE_METRIC_SUMMARY_PATH: string;
42
- export declare const GENERATE_METRIC_SUMMARY_MUTATION = "generateDataReport";
43
- export declare const CHAT_METRIC_PATH: string;
44
- export declare const CHAT_METRIC_MUTATION = "chatQuery";
45
- export declare const METRIC_RAW_DOWNLOAD_SETTINGS_PATH: string;
46
- export declare const METRIC_RAW_DOWNLOAD_SETTINGS_QUERY = "rawDownloadSettings";
47
- export declare const METRIC_COLUMN_PATH: string;
48
- export declare const METRIC_COLUMN_MUTATION = "column";
49
- export declare const METRIC_UNDERLYING_DATA_PATH: string;
50
- export declare const METRIC_UNDERLYING_DATA_MUTATION = "underlyingData";
51
- export declare const METRIC_SHARE_CSV_PATH: string;
52
- export declare const METRIC_SHARE_CSV_MUTATION = "invokeShareCsv";
53
- export declare const METRIC_MARK_ARCHIVED_PATH: string;
54
- export declare const METRIC_MARK_ARCHIVED_MUTATION = "markArchived";
55
- export declare const PUBLISH_ARCHIVED_METRICS_PATH: string;
56
- export declare const PUBLISH_ARCHIVED_METRICS_MUTATION = "publishMetrics";
57
- export declare const METRIC_EXECUTE_PYTHON_CODE_PATH: string;
58
- export declare const METRIC_EXECUTE_PYTHON_CODE_MUTATION = "executePython";
59
- export declare const METRIC_DOWNLOAD_RAW_CSV_PATH: string;
60
- export declare const METRIC_DOWNLOAD_RAW_CSV_PATH_V2: string;
61
- export declare const IS_LOADING = "IS_LOADING";
62
- export declare const DATA_LOADED = "DATA_LOADED";
63
- export declare const SUMMARIZE_METRIC_PATH: string;
64
- export declare const SUMMARIZE_METRIC_MUTATION = "summarizeMetric";
@@ -1,154 +0,0 @@
1
- export declare const SOMETHING_WENT_WRONG = "something went wrong, please try again";
2
- export declare const CHART_TYPES: {
3
- line: string;
4
- stepped: string;
5
- bar: string;
6
- stack: string;
7
- histogram: string;
8
- bubble: string;
9
- scatter: string;
10
- row: string;
11
- area: string;
12
- stackedArea: string;
13
- combo: string;
14
- pie: string;
15
- doughnut: string;
16
- waterfall: string;
17
- funnel: string;
18
- gauge: string;
19
- gaugeV2: string;
20
- sankey: string;
21
- singleValue: string;
22
- boxplot: string;
23
- table: string;
24
- timeSeries: string;
25
- pivot: string;
26
- pivotV2: string;
27
- rose: string;
28
- horizontalStack: string;
29
- treeMap: string;
30
- horizontalStackTable: string;
31
- geoMap: string;
32
- geoBarMap: string;
33
- geoScatterMap: string;
34
- worldMap: string;
35
- progressBar: string;
36
- linearGauge: string;
37
- linearGaugeV2: string;
38
- network: string;
39
- };
40
- export declare const chartOptions: {
41
- name: string;
42
- icon: string;
43
- label: string;
44
- }[];
45
- export declare const timeStamp: {
46
- month: string;
47
- quarter: string;
48
- daily: string;
49
- weekly: string;
50
- yearly: string;
51
- };
52
- export declare const STATUS_TAB = "STATUS_TAB";
53
- export declare const STREAM_TAB = "STREAM_TAB";
54
- export declare const CLIENT_NAME_VAR = "client_id_variable";
55
- export declare const STACK_AXIS = "stack";
56
- export declare const RLS_CONDITIONS: Record<string, string>;
57
- export declare const CHART_TAB = "CHART_TAB";
58
- export declare const TABLE_TAB = "TABLE_TAB";
59
- export declare const QUERY_TAB = "QUERY_TAB";
60
- export declare const INPUT_TABLE = "INPUT_TABLE";
61
- export declare const OUTPUT_TABLE = "OUTPUT_TABLE";
62
- export declare const DOUGHNUT = "doughnut";
63
- export declare const PIE = "pie";
64
- export declare const SANKEY = "sankey";
65
- export declare const BOXPLOT = "boxplot";
66
- export declare const TABLE = "table";
67
- export declare const GENERAL = "general";
68
- export declare const CONFIG = "configuration";
69
- export declare const TOP_LEFT = "top-left";
70
- export declare const TOP_RIGHT = "top-right";
71
- export declare const BOTTOM_LEFT = "bottom-left";
72
- export declare const BOTTOM_RIGHT = "bottom-right";
73
- export declare const DESTINATIONS: Record<string, string>;
74
- export declare const DATABASE_NAME = "{{DATABASE_NAME}}";
75
- export declare const CLIENT_NAME_VAR_NUM = "'client_id_variable'";
76
- export declare const DATABASE = "DATABASE";
77
- export declare const WEEK_DAYS: {
78
- value: string;
79
- label: string;
80
- }[];
81
- export declare const TIME_ZONES: {
82
- value: string;
83
- label: string;
84
- timezoneOffset: number;
85
- }[];
86
- export declare const TIME: {
87
- value: string;
88
- label: string;
89
- }[];
90
- export declare const DATE_NUM: {
91
- value: string;
92
- label: string;
93
- }[];
94
- export declare const FREQUENCY: {
95
- value: string;
96
- label: string;
97
- }[];
98
- export declare const RAW_CSV_OPTIONS: string[];
99
- export declare const NONE = "NONE";
100
- export declare const REQUESTED = "REQUESTED";
101
- export declare const AVAILABLE = "AVAILABLE";
102
- export declare const NA_VALUE = "N/A";
103
- export declare const NUMBER_FORMAT: {
104
- label: string;
105
- value: string;
106
- }[];
107
- export declare const LINEAR_V2_NUMBER_FORMAT: {
108
- label: string;
109
- value: string;
110
- }[];
111
- export declare const DATE_FORMAT: {
112
- label: string;
113
- value: string;
114
- }[];
115
- export declare const LINEAR_POINTER_SIZE: {
116
- label: string;
117
- value: string;
118
- }[];
119
- export declare const ICONS_LIST: readonly ["ruler", "merge", "custom", "invite", "guide", "headphone", "disable", "sync", "sparkle", "export", "spinner", "split-vertical", "split-horizontal", "placeholder", "warning", "drag-icon", "check", "people", "new-window", "circle", "group-by", "undo", "redo", "maximize", "minimize", "fullscreen", "download", "archive", "format", "company", "profile", "users", "bar-chart", "bar-chart-2", "kebab-menu-horizontal", "kebab-menu-vertical", "paint-brush", "funnel", "funnel-simple", "cross", "columns", "gear", "presentation-chart", "chevron-down", "plus", "info", "arrow-down", "arrow-up", "arrow-left", "arrow-right", "double-arrow-left", "double-arrow-right", "expand-arrows", "eye", "eye-slash", "database", "magnifying-glass", "pencil-simple-line", "pencil-simple", "file-sql", "code", "sign-out", "save", "delete", "align-space-even", "align-bottom", "align-left", "align-right", "align-top", "trend-up", "combo", "caret-down-fill", "caret-up-fill", "caret-up-down", "pie", "table-view", "task-done-file", "right-angle", "text-rotation-angle-up", "text-rotation-none", "text-rotation-up", "preview-file", "share", "image", "text", "color-palette", "shuffle", "table", "chart", "calendar", "horizontal-rule", "short-text", "subheader", "copy", "timer", "link", "not-found", "row", "line", "time series", "globe", "map", "histogram", "radar", "scale", "scatter", "tree", "doughnut", "scatter", "waterfall", "area", "bubble", "boxplot", "string", "boolean", "date", "number", "unknown", "array", "right-join", "left-join", "outer-join", "right-full-join", "left-full-join", "inner-join", "full-join", "version-history", "roles", "gauge", "step", "treeMap", "stack", "horizontal stack", "wand"];
120
- export declare const NUMBER = "number";
121
- export declare const STRING = "string";
122
- export declare const BOOLEAN = "boolean";
123
- export declare const DEFAULT = "default";
124
- export declare const DATE = "date";
125
- export declare const AND = "AND";
126
- export declare const IS_NOT_NULL = "IS NOT NULL";
127
- export declare const AS_SIGNED = "AS SIGNED";
128
- export declare const AS_BIGINT = "AS BIGINT";
129
- export declare const AS_VARCHAR = "AS VARCHAR";
130
- export declare const AS_CHAR = "AS CHAR";
131
- export declare const AS_STRING = "AS STRING";
132
- export declare const AS_DATE = "AS DATE";
133
- export declare const CAST = "CAST";
134
- export declare const IN = "IN";
135
- export declare const EQUAL_OPERATOR = "=";
136
- export declare const YEAR = "year";
137
- export declare const LAST = "last";
138
- export declare const LIKE = "like";
139
- export declare const MULTI_SELECT = "MULTI_SELECT";
140
- export declare const SINGLE_SELECT = "SINGLE_SELECT";
141
- export declare const SEARCH = "SEARCH";
142
- export declare const DATE_PICKER = "DATE_PICKER";
143
- export declare const NUMBER_FIELD = "NUMBER_FIELD";
144
- export declare const BETWEEN = "BETWEEN";
145
- export declare const CUSTOM = "custom";
146
- export declare const ASCE = "ascending";
147
- export declare const DESC = "descending";
148
- export declare const IS_SELF_HOSTED: any;
149
- export declare const DBN_APP_TOKEN = "@app:token";
150
- export declare const selfHostedUrl: () => string;
151
- export declare const SERVER_ERROR = "Internal Server Error";
152
- export declare const CHAT_ERROR = "Oops! Couldn't find the data needed to generate the result for your query.";
153
- export declare const CHAT_ERROR2 = "Try a different question or give more details for better assistance!";
154
- export declare const convertArrayToObject: (items: any[]) => any;
@@ -1,2 +0,0 @@
1
- export * from './app';
2
- export * from './metricOptions';
@@ -1,205 +0,0 @@
1
- import { ChartSettingsType, DatasetMetricCreationConfiguration, DatasetSettings, FloatingDropDownOption, SearchState, SearchStateChatType } from '@/types';
2
- export declare const RowLimitList: {
3
- value: string;
4
- label: string;
5
- }[];
6
- export declare const AggregateList: {
7
- value: string;
8
- label: string;
9
- }[];
10
- export declare const TableRowsList: {
11
- label: string;
12
- value: string;
13
- }[];
14
- export declare const NUMBER_TYPES: string[];
15
- export declare const STRING_TYPES: string[];
16
- export declare const METRIC_CREATE_MODES: string[];
17
- export declare const DATE_TYPES: string[];
18
- export declare const ARRAY_TYPES: string[];
19
- export declare const BOOLEAN_TYPES: string[];
20
- export declare const configTabs: string[];
21
- export declare const GRADIENTS: {
22
- start: string;
23
- end: string;
24
- offset1: number;
25
- offset2: number;
26
- direction: string;
27
- }[];
28
- export declare const DEFAULTCOLORS: string[];
29
- export declare const DEFAULT_CHART_SETTINGS: ChartSettingsType;
30
- export declare const FORMATTING_CONDITIONS_OPTIONS: {
31
- value: string;
32
- label: string;
33
- }[];
34
- export declare const TIME_GRAIN_OPTIONS: {
35
- value: string;
36
- label: string;
37
- }[];
38
- export declare const DEFAULT_COMPARISON_LAG_SETTINGS: {
39
- column: {
40
- value: string;
41
- label: string;
42
- };
43
- timeGrain: {
44
- value: string;
45
- label: string;
46
- };
47
- differenceType: "PERCENTAGE_DIFFERENCE" | "DIFFERENCE";
48
- timeColumnLabel: string;
49
- periodLag: number;
50
- };
51
- export declare const DEFAULT_FORECAST_VALUES: {
52
- isEnable: boolean;
53
- forecastPeriods: number;
54
- modelName: string;
55
- confidenceInterval: number;
56
- timeColumnName: string;
57
- measureColumnName: string;
58
- timeGrain: string;
59
- yearlySeasonality: boolean;
60
- weeklySeasonality: boolean;
61
- dailySeasonality: boolean;
62
- orderP: number;
63
- orderD: number;
64
- orderQ: number;
65
- trend: {
66
- value: string;
67
- label: string;
68
- };
69
- growth: string;
70
- };
71
- export declare const DEFAULT_CREATE_DATSET_METRIC_CONFIG: DatasetMetricCreationConfiguration;
72
- export declare const DEFAULT_DATASET_SETTINGS: DatasetSettings;
73
- export declare const SORT_TYPE: {
74
- value: string;
75
- label: string;
76
- }[];
77
- export declare const operatorList: {
78
- value: string;
79
- label: string;
80
- }[];
81
- export declare const RELATION_OPERATOR_LIST: {
82
- value: string;
83
- label: string;
84
- }[];
85
- export declare const DISABLED_CHART_DRILL = "Selected Chart Doesn't support Drill Down.";
86
- export declare const DISABLED_METRIC_DRILL = "Please add aggreagte metrics and dimensions to enable drill.";
87
- export declare const STRING_OPERATOR_LIST: {
88
- value: string;
89
- label: string;
90
- }[];
91
- export declare const NUMBER_OPERATOR_LIST: {
92
- value: string;
93
- label: string;
94
- }[];
95
- export declare const TIME_OPERATOR_LIST: {
96
- value: string;
97
- label: string;
98
- }[];
99
- export declare const DBN_SQL_TABLE = "dbn_sql_table";
100
- export declare const DATASET_TIME_HELPER_FUNCTIONS: FloatingDropDownOption[];
101
- export declare const DATE_FORMATS: string[];
102
- export declare const DATASET_STRING_HELPER_FUNCTIONS: {
103
- value: string;
104
- label: string;
105
- }[];
106
- export declare const LEAST_USED_STRING_FUNCTIONS: string[];
107
- export declare const DATASET_NUMBER_HELPER_FUNCTIONS: {
108
- value: string;
109
- label: string;
110
- }[];
111
- export declare const aggregateStrings: string[];
112
- export declare const FUNCTIONS_SYNONYMNS: Record<string, string[]>;
113
- export declare const SORT_SYNONYMNS: Record<string, string[]>;
114
- export declare const NUMBER_SYNONYMNS: Record<string, number>;
115
- export declare const questionKeywords: string[];
116
- export declare const groupbySynonyms: string[];
117
- export declare const TIME_FILTER_SYNONYMNS: {
118
- label: string;
119
- value: string;
120
- synonyms: string[];
121
- alias: (column: string) => string;
122
- }[];
123
- export declare const NULL_FILTER_SYNONYMNS: {
124
- value: string;
125
- label: string;
126
- synonymns: string[];
127
- alias: (column: string) => string;
128
- }[];
129
- export declare const NUMBER_FILTER_SYNONYMNS: {
130
- value: string;
131
- label: string;
132
- synonymns: string[];
133
- }[];
134
- export declare const STRING_FILTER_SYNONYMS: {
135
- '=': string[];
136
- '<>': string[];
137
- LIKE: string[];
138
- 'NOT LIKE': string[];
139
- IN: string[];
140
- 'NOT IN': string[];
141
- };
142
- export declare const STRING_FILTER_OPTIONS: ({
143
- value: string;
144
- synonyms: string[];
145
- alias: (name: string, value: string) => string;
146
- filterValue: (value: string) => {
147
- stringArray: string[];
148
- };
149
- } | {
150
- value: string;
151
- synonyms: string[];
152
- alias: (name: string, value: string) => string;
153
- filterValue: (value: string) => {
154
- stringValue: string;
155
- };
156
- })[];
157
- export declare const STRING_LIKE_OPERATORS: {
158
- value: string;
159
- synonyms: string[];
160
- alias: (name: string) => string;
161
- filterValue: () => {
162
- stringValue: string;
163
- };
164
- }[];
165
- export declare const DATASET_OTHER_HELPER_FUNCTIONS: {
166
- value: string;
167
- label: string;
168
- }[];
169
- export declare const DATASET_NUM_HELPER_FUNCTIONS: {
170
- value: string;
171
- label: string;
172
- }[];
173
- export declare const REDSHIFT = "redshift";
174
- export declare const SNOWFLAKE = "snowflake";
175
- export declare const BIGQUERY = "bigquery";
176
- export declare const MYSQL = "mysql";
177
- export declare const MSSQL = "mssql";
178
- export declare const POSTGRES = "postgres";
179
- export declare const MONGODB = "mongodb";
180
- export declare const DATABRICKS = "databricks";
181
- export declare const CLICKHOUSE = "clickhouse";
182
- export declare const AWSS3 = "awss3";
183
- export declare const CSV = "csv";
184
- export declare const ELASTICSEARCH = "elasticsearch";
185
- export declare const POSTGRESQL = "postgresql";
186
- export declare const DOWNLOAD_DATA_OPTIONS: {
187
- RAW_DATA: string;
188
- DOWNLOAD_WITHOUT_FILTERS: string;
189
- EMAIL_RAW_DATA: string;
190
- PIVOT_CSV: string;
191
- SAVE_AS_PNG: string;
192
- };
193
- export declare const CUSTOM_FILTER_TABLE_ALIAS = "custom_table_alias_rls";
194
- export declare const CAST_COLUMN_AS: {
195
- value: string;
196
- label: string;
197
- icon: string;
198
- }[];
199
- export declare const arithmeticOperators: FloatingDropDownOption[];
200
- export declare const keywordToIgnore: string[];
201
- export declare const keywordToIgnoreRegExp: RegExp;
202
- export declare const DEFAULT_SEARCH_STATE: SearchState;
203
- export declare const DEFAULT_SEARCH_CHAT: SearchStateChatType;
204
- export declare const decimalTypes: string[];
205
- export declare const switchAxisCharts: string[];
@@ -1,24 +0,0 @@
1
- export declare const required: {
2
- required: string;
3
- };
4
- export declare const asEmail: {
5
- pattern: {
6
- value: RegExp;
7
- message: string;
8
- };
9
- required: string;
10
- };
11
- export declare const asPassword: {
12
- minLength: {
13
- value: number;
14
- message: string;
15
- };
16
- required: string;
17
- };
18
- export declare const asName: {
19
- minLength: {
20
- value: number;
21
- message: string;
22
- };
23
- required: string;
24
- };
@@ -1,14 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- import { ThemeType } from '@/utils';
3
- export interface CreateEmbedMetricProps extends HTMLAttributes<HTMLElement> {
4
- token: string;
5
- dashboardId?: string;
6
- options?: {
7
- disableMetricCreation?: boolean;
8
- disableMetricUpdation?: boolean;
9
- disableMetricDeletion?: boolean;
10
- chartColors?: string[];
11
- };
12
- theme?: ThemeType;
13
- }
14
- export declare const CreateEmbeddedMetric: ({ options }: CreateEmbedMetricProps) => React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { CreateEmbedMetricProps } from './CreateEmbeddedMetric';
3
- export declare const CreateEmbedMetric: (props: CreateEmbedMetricProps) => React.JSX.Element;
@@ -1,72 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- import { ThemeType } from '@/utils/theme';
3
- import { AdminThemeOptionsType, ChartAppearanceType, GlobalFilterOptionsType } from '@/types';
4
- /**
5
- * token - The client based guest token (required).
6
- * dashboardId - The id of the dashboard you want to see.
7
- * options - Access permissions and customization.
8
- * disableMetricCreation - boolean value to enable or disable metric creation
9
- * disableMetricUpdation - boolean value to enable or disable metric updation
10
- * disableMetricDeletion - boolean value to enable or disable metric deletion
11
- * disableManageMetrics - boolean value to enable or disable metric manage
12
- * disableScheduleEmailReports - boolean value to enable or disable schedule email reports
13
- * disableLayoutCustomization - boolean value to enable or disable dashboard layout customization
14
- * disableSaveLayout - boolean value to enable or disable to save layout
15
- * chartColors - array of colors where each color should be a valid color string e.g. color name, rgb value, hex value, etc.
16
- * theme - Theme customization.
17
- * isHideChartSettings - Whether to hide chart settings in full screen view.
18
- * isHideTablePreview - Whether to hide table preview in full screen view.
19
- */
20
- export interface DashboardProps extends HTMLAttributes<HTMLElement> {
21
- token: string;
22
- dashboardId?: string;
23
- options?: {
24
- disableMetricCreation?: boolean;
25
- disableMetricUpdation?: boolean;
26
- disableMetricDeletion?: boolean;
27
- disableManageMetrics?: boolean;
28
- disableLayoutCustomization?: boolean;
29
- disableSaveLayout?: boolean;
30
- disableScheduleEmailReports?: boolean;
31
- disableUnderlyingData?: boolean;
32
- hideDashboardName?: boolean;
33
- chartColors?: string[];
34
- hideDatePickerOptions?: string[];
35
- chartAppearance?: ChartAppearanceType;
36
- disableMainLoader?: boolean;
37
- disableMetricLoader?: boolean;
38
- hideMetricCardShadow?: boolean;
39
- shouldFitFullScreen?: boolean;
40
- };
41
- theme?: ThemeType;
42
- isHideChartSettings?: boolean;
43
- isHideTablePreview?: boolean;
44
- enableDownloadCsv?: boolean;
45
- enableEmailCsv?: boolean;
46
- enableMultiMetricFilters?: boolean;
47
- disableFullscreen?: boolean;
48
- optionsIcon?: 'kebab-menu-vertical' | 'download';
49
- adminThemeOptions?: AdminThemeOptionsType;
50
- customMessages?: {
51
- tokenExpiry?: string;
52
- tokenAbsent?: string;
53
- };
54
- themeName?: string;
55
- globalFilterOptions?: GlobalFilterOptionsType;
56
- handleServerEvent?: any;
57
- noDataImg?: string;
58
- manageMetricsBtnContent?: any;
59
- }
60
- /**
61
- * @name Dashboard - A react component to display the dashboard.
62
- * @prop {string} token - A client based guest token.
63
- * @prop {string} dashboardId (optional) - A dashboard id (one which you have provided at the time of creating it) of the dashboard you want to see.
64
- * @prop {object} options (optional) - Additional options like access permissions e.g. metric creation, updation, archiving and layout customization.
65
- * @prop {boolean} isHideChartSettings (optional) - Whether to hide chart settings in full screen view.
66
- * @prop {boolean} isHideChartSettings (optional) - Whether to hide chart settings in full screen view.
67
- * @prop {boolean} enableDownloadCsv (optional) - Whether to show download csv option in metric card.
68
- * @prop {boolean} enableEmailCsv (optional) - Whether to show email csv option in metric card.
69
- * @prop {boolean} enableMultiMetricFilters (optional) - Whether to allow multiple metric filters in metric card.
70
- * @prop {object} theme (optional) - A theme object to customize the theme.
71
- */
72
- export declare const Dashboard: ({ token, options, theme, dashboardId, isHideChartSettings, isHideTablePreview, enableDownloadCsv, enableEmailCsv, enableMultiMetricFilters, disableFullscreen, optionsIcon, adminThemeOptions, customMessages, themeName, globalFilterOptions, handleServerEvent, noDataImg, manageMetricsBtnContent, }: DashboardProps) => React.JSX.Element;
@@ -1,7 +0,0 @@
1
- import React, { PropsWithChildren } from 'react';
2
- type DashboardProviderProps = PropsWithChildren & {
3
- token: string;
4
- dashboardId?: string;
5
- };
6
- declare const DashboardProvider: ({ token, dashboardId, children, }: DashboardProviderProps) => React.JSX.Element;
7
- export default DashboardProvider;
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import { ThemeType } from '@/utils';
3
- import { AdminThemeOptionsType, ChartAppearanceType, GlobalFilterOptionsType } from '@/types';
4
- export interface EmbeddedDashboardProps {
5
- options?: {
6
- disableMetricCreation?: boolean;
7
- disableMetricUpdation?: boolean;
8
- disableMetricDeletion?: boolean;
9
- disableManageMetrics?: boolean;
10
- disableLayoutCustomization?: boolean;
11
- disableSaveLayout?: boolean;
12
- disableScheduleEmailReports?: boolean;
13
- disableFullscreen?: boolean;
14
- chartColors?: string[];
15
- isHideChartSettings?: boolean;
16
- isHideTablePreview?: boolean;
17
- enableDownloadCsv?: boolean;
18
- enableEmailCsv?: boolean;
19
- enableMultiMetricFilters?: boolean;
20
- hideDashboardName?: boolean;
21
- optionsIcon?: 'kebab-menu-vertical' | 'download';
22
- hideDatePickerOptions?: string[];
23
- chartAppearance?: ChartAppearanceType;
24
- disableMainLoader?: boolean;
25
- disableMetricLoader?: boolean;
26
- hideMetricCardShadow?: boolean;
27
- disableUnderlyingData?: boolean;
28
- shouldFitFullScreen?: boolean;
29
- };
30
- theme?: ThemeType;
31
- adminThemeOption?: AdminThemeOptionsType;
32
- customMessages?: {
33
- tokenExpiry?: string;
34
- tokenAbsent?: string;
35
- };
36
- themeName?: string;
37
- setAdminTheme: (theme?: AdminThemeOptionsType) => void;
38
- token: string;
39
- dashboardId?: string;
40
- globalFilterOptions?: GlobalFilterOptionsType;
41
- onServerEvent?: any;
42
- noDataImg?: string;
43
- customContent?: any;
44
- }
45
- export declare const EmbeddedDashboard: React.MemoExoticComponent<({ options, theme, adminThemeOption, customMessages, themeName, setAdminTheme, token, dashboardId, globalFilterOptions, onServerEvent, noDataImg, customContent, }: EmbeddedDashboardProps) => React.JSX.Element>;
@@ -1,2 +0,0 @@
1
- export * from './Dashboard';
2
- export * from './EmbededDashboard';