@databrainhq/plugin 0.15.26 → 0.15.27

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 (245) hide show
  1. package/README.md +233 -233
  2. package/dist/components/Accordion/index.d.ts +33 -0
  3. package/dist/components/AceEditorSql/AceEditorSql.d.ts +11 -0
  4. package/dist/components/Alert/index.d.ts +12 -0
  5. package/dist/components/AutoCompleteDropdown/index.d.ts +20 -0
  6. package/dist/components/Badge/index.d.ts +10 -0
  7. package/dist/components/Button/index.d.ts +14 -0
  8. package/dist/components/ButtonGroup/index.d.ts +14 -0
  9. package/dist/components/Chart/SingleValueChart.d.ts +37 -0
  10. package/dist/components/Chart/index.d.ts +34 -0
  11. package/dist/components/ChartModal/ChartConfig.d.ts +10 -0
  12. package/dist/components/ChartModal/ChartModalOptions.d.ts +14 -0
  13. package/dist/components/ChartModal/index.d.ts +3 -0
  14. package/dist/components/ChartPopup/components/UnderlyingData/index.d.ts +15 -0
  15. package/dist/components/ChartPopup/index.d.ts +28 -0
  16. package/dist/components/ChartReportPanel/index.d.ts +10 -0
  17. package/dist/components/ChartSettingsPopup/ChartSettingsPopup.d.ts +13 -0
  18. package/dist/components/ChartSettingsPopup/components/ChartConfigure/ComboChartFormatter.d.ts +8 -0
  19. package/dist/components/ChartSettingsPopup/components/ChartConfigure/PositionContainer.d.ts +8 -0
  20. package/dist/components/ChartSettingsPopup/components/ChartConfigure/index.d.ts +26 -0
  21. package/dist/components/ChartSettingsPopup/components/ChartSettings/index.d.ts +14 -0
  22. package/dist/components/ChartSettingsPopup/index.d.ts +3 -0
  23. package/dist/components/ChartTypePanel/index.d.ts +15 -0
  24. package/dist/components/Checkbox/index.d.ts +10 -0
  25. package/dist/components/ColorField/ColorField.d.ts +13 -0
  26. package/dist/components/DataType/index.d.ts +9 -0
  27. package/dist/components/DateRangePicker/index.d.ts +36 -0
  28. package/dist/components/DraggableItem/index.d.ts +7 -0
  29. package/dist/components/DrillBreadCrumb/index.d.ts +16 -0
  30. package/dist/components/Error/index.d.ts +6 -0
  31. package/dist/components/ErrorFallback/index.d.ts +2 -0
  32. package/dist/components/ExternalMetricForm/index.d.ts +11 -0
  33. package/dist/components/FilterDropDown/index.d.ts +30 -0
  34. package/dist/components/FilterField/index.d.ts +39 -0
  35. package/dist/components/Flex/index.d.ts +13 -0
  36. package/dist/components/FloatingDropDown/index.d.ts +38 -0
  37. package/dist/components/FullScreenChart/index.d.ts +8 -0
  38. package/dist/components/GaugeLegend/index.d.ts +11 -0
  39. package/dist/components/GenerateMetric/index.d.ts +3 -0
  40. package/dist/components/GlobalFilters/AddFilter.d.ts +15 -0
  41. package/dist/components/GlobalFilters/AppliedFilter.d.ts +9 -0
  42. package/dist/components/GlobalFilters/Filters.d.ts +28 -0
  43. package/dist/components/GlobalFilters/HorizontalFilters.d.ts +35 -0
  44. package/dist/components/GlobalFilters/NumberFilterField.d.ts +23 -0
  45. package/dist/components/GlobalFilters/SearchField.d.ts +10 -0
  46. package/dist/components/GlobalFilters/index.d.ts +79 -0
  47. package/dist/components/HorizontalStackTable/DebouncedInput.d.ts +6 -0
  48. package/dist/components/HorizontalStackTable/index.d.ts +18 -0
  49. package/dist/components/Icons/Logos/index.d.ts +26 -0
  50. package/dist/components/Icons/index.d.ts +9 -0
  51. package/dist/components/InfoTooltip/index.d.ts +15 -0
  52. package/dist/components/InputField/index.d.ts +17 -0
  53. package/dist/components/List/index.d.ts +38 -0
  54. package/dist/components/Loader/index.d.ts +6 -0
  55. package/dist/components/Menu/index.d.ts +32 -0
  56. package/dist/components/MetricChart/ChartImageDownloadButton.d.ts +11 -0
  57. package/dist/components/MetricChart/CsvDownloadButton.d.ts +12 -0
  58. package/dist/components/MetricChart/PivotCsvDownloadButton.d.ts +12 -0
  59. package/dist/components/MetricChart/RawCsvDownloadButton.d.ts +37 -0
  60. package/dist/components/MetricChart/index.d.ts +5 -0
  61. package/dist/components/MetricCreation/MetricCreation.d.ts +3 -0
  62. package/dist/components/MetricCreation/components/ConstructMetric/ConstructMetric.d.ts +3 -0
  63. package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts +3 -0
  64. package/dist/components/MetricCreation/components/ConstructMetric/index.d.ts +2 -0
  65. package/dist/components/MetricCreation/components/Dataset/index.d.ts +3 -0
  66. package/dist/components/MetricCreation/components/Header/index.d.ts +3 -0
  67. package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +3 -0
  68. package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +33 -0
  69. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/InputTables/index.d.ts +2 -0
  70. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/index.d.ts +1 -0
  71. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +11 -0
  72. package/dist/components/MetricCreation/components/MetricOutput/components/index.d.ts +3 -0
  73. package/dist/components/MetricCreation/components/MetricOutput/index.d.ts +2 -0
  74. package/dist/components/MetricCreation/components/Panels/ChartActionPanel.d.ts +13 -0
  75. package/dist/components/MetricCreation/components/Panels/ChartAppearancePanel.d.ts +22 -0
  76. package/dist/components/MetricCreation/components/Panels/FiltersPanel.d.ts +20 -0
  77. package/dist/components/MetricCreation/components/Panels/SortPanel.d.ts +15 -0
  78. package/dist/components/MetricCreation/index.d.ts +5 -0
  79. package/dist/components/MetricFilterDropDown/components/OldMetricFilterComponents.d.ts +17 -0
  80. package/dist/components/MetricFilterDropDown/components/SearchField.d.ts +7 -0
  81. package/dist/components/MetricFilterDropDown/components/StringAutoCustomFilterField.d.ts +18 -0
  82. package/dist/components/MetricFilterDropDown/components/StringManualFilterField.d.ts +11 -0
  83. package/dist/components/MetricFilterDropDown/components/TimeFilterField.d.ts +12 -0
  84. package/dist/components/MetricFilterDropDown/components/VariableTimeFilterField.d.ts +12 -0
  85. package/dist/components/MetricFilterDropDown/index.d.ts +24 -0
  86. package/dist/components/MetricList/MetricList.d.ts +65 -0
  87. package/dist/components/MetricList/components/ArchiveMetricModal/index.d.ts +7 -0
  88. package/dist/components/MetricList/components/DownloadRawCsvModal/index.d.ts +13 -0
  89. package/dist/components/MetricList/components/FullScreenView/AddMetricFilter.d.ts +8 -0
  90. package/dist/components/MetricList/components/FullScreenView/ChartPropertiesPanel.d.ts +12 -0
  91. package/dist/components/MetricList/components/FullScreenView/DownloadButton.d.ts +18 -0
  92. package/dist/components/MetricList/components/FullScreenView/index.d.ts +45 -0
  93. package/dist/components/MetricList/components/LayoutAlert/index.d.ts +7 -0
  94. package/dist/components/MetricList/components/ManageMetricMenu/ManageMetricCard.d.ts +15 -0
  95. package/dist/components/MetricList/components/ManageMetricMenu/index.d.ts +17 -0
  96. package/dist/components/MetricList/components/MetricCards/CreateElementPanel.d.ts +14 -0
  97. package/dist/components/MetricList/components/MetricCards/ElementCard.d.ts +16 -0
  98. package/dist/components/MetricList/components/MetricCards/MetricCard.d.ts +98 -0
  99. package/dist/components/MetricList/components/MetricCards/NoDataLoading.d.ts +11 -0
  100. package/dist/components/MetricList/components/TableViewModal/index.d.ts +9 -0
  101. package/dist/components/MetricList/components/index.d.ts +7 -0
  102. package/dist/components/MetricList/index.d.ts +2 -0
  103. package/dist/components/MetricTable/index.d.ts +7 -0
  104. package/dist/components/Modal/Modal.d.ts +14 -0
  105. package/dist/components/Modal/ModalFooter.d.ts +5 -0
  106. package/dist/components/Modal/index.d.ts +2 -0
  107. package/dist/components/MultiSelectDropdown/index.d.ts +39 -0
  108. package/dist/components/Panel/index.d.ts +17 -0
  109. package/dist/components/PivotTable/PivotTableV2.d.ts +23 -0
  110. package/dist/components/PivotTable/index.d.ts +8 -0
  111. package/dist/components/PivotTable/transformData.d.ts +7 -0
  112. package/dist/components/PopoverMenu/index.d.ts +36 -0
  113. package/dist/components/Portal/index.d.ts +2 -0
  114. package/dist/components/RadioButton/index.d.ts +16 -0
  115. package/dist/components/ScheduleEmail/ScheduleEmailForm/index.d.ts +6 -0
  116. package/dist/components/ScheduleEmail/index.d.ts +3 -0
  117. package/dist/components/SearchDropdown/index.d.ts +14 -0
  118. package/dist/components/SearchMetricData/ChatMode/ChatAppearancePanel.d.ts +19 -0
  119. package/dist/components/SearchMetricData/ChatMode/ChatMode.d.ts +44 -0
  120. package/dist/components/SearchMetricData/ChatMode/ChatModeHeader.d.ts +8 -0
  121. package/dist/components/SearchMetricData/ChatMode/ChatReportPanel.d.ts +9 -0
  122. package/dist/components/SearchMetricData/ChatMode/ChatSqlPanel.d.ts +7 -0
  123. package/dist/components/SearchMetricData/ChatMode/NoChatData.d.ts +3 -0
  124. package/dist/components/SearchMetricData/ChatMode/NoDataFound.d.ts +7 -0
  125. package/dist/components/SearchMetricData/ChatMode/Results.d.ts +23 -0
  126. package/dist/components/SearchMetricData/LoaderWithStates/index.d.ts +7 -0
  127. package/dist/components/SearchMetricData/SearchMetricData.d.ts +5 -0
  128. package/dist/components/SearchMetricData/index.d.ts +1 -0
  129. package/dist/components/SearchTab/index.d.ts +13 -0
  130. package/dist/components/Select/index.d.ts +47 -0
  131. package/dist/components/SelfHostControl/index.d.ts +4 -0
  132. package/dist/components/SkeletonLoader/index.d.ts +9 -0
  133. package/dist/components/SpinningLoader/index.d.ts +2 -0
  134. package/dist/components/Switch/SwitchInput.d.ts +9 -0
  135. package/dist/components/Switch/index.d.ts +11 -0
  136. package/dist/components/Tab/index.d.ts +14 -0
  137. package/dist/components/Table/DebouncedInput.d.ts +6 -0
  138. package/dist/components/Table/Filter.d.ts +7 -0
  139. package/dist/components/Table/index.d.ts +36 -0
  140. package/dist/components/Tabs/index.d.ts +41 -0
  141. package/dist/components/TagInputField/index.d.ts +33 -0
  142. package/dist/components/Text/index.d.ts +13 -0
  143. package/dist/components/TextAreaField/index.d.ts +24 -0
  144. package/dist/components/ThemeBlock/index.d.ts +8 -0
  145. package/dist/components/TimeGrainField/index.d.ts +16 -0
  146. package/dist/components/TimeSeriesSettings/index.d.ts +8 -0
  147. package/dist/components/index.d.ts +63 -0
  148. package/dist/consts/api.d.ts +64 -0
  149. package/dist/consts/app.d.ts +154 -0
  150. package/dist/consts/index.d.ts +2 -0
  151. package/dist/consts/metricOptions.d.ts +205 -0
  152. package/dist/consts/validations.d.ts +24 -0
  153. package/dist/containers/CreateMetric/CreateEmbeddedMetric.d.ts +14 -0
  154. package/dist/containers/CreateMetric/index.d.ts +3 -0
  155. package/dist/containers/Dashboard/Dashboard.d.ts +72 -0
  156. package/dist/containers/Dashboard/DashboardProvider.d.ts +7 -0
  157. package/dist/containers/Dashboard/EmbededDashboard.d.ts +45 -0
  158. package/dist/containers/Dashboard/index.d.ts +2 -0
  159. package/dist/containers/DbnStyles.d.ts +10 -0
  160. package/dist/containers/Metric/EmbeddedMetric.d.ts +47 -0
  161. package/dist/containers/Metric/index.d.ts +85 -0
  162. package/dist/containers/PluginProvider.d.ts +7 -0
  163. package/dist/containers/index.d.ts +3 -0
  164. package/dist/helpers/adaptiveFormatter.d.ts +6 -0
  165. package/dist/helpers/areArraysEqual.d.ts +1 -0
  166. package/dist/helpers/autoCompleteHelpers.d.ts +95 -0
  167. package/dist/helpers/cardActions.d.ts +5 -0
  168. package/dist/helpers/chartOptions.d.ts +93 -0
  169. package/dist/helpers/checkIsElementInViewport.d.ts +1 -0
  170. package/dist/helpers/conditionalFormatting.d.ts +3 -0
  171. package/dist/helpers/copyToClipboard.d.ts +4 -0
  172. package/dist/helpers/createMetric.d.ts +25 -0
  173. package/dist/helpers/darkColorIdentifier.d.ts +2 -0
  174. package/dist/helpers/dateFormatter.d.ts +1 -0
  175. package/dist/helpers/generateColorPalette.d.ts +1 -0
  176. package/dist/helpers/generateTimeRangeWhereClause.d.ts +13 -0
  177. package/dist/helpers/getColumnType.d.ts +2 -0
  178. package/dist/helpers/getComboRangeLabel.d.ts +5 -0
  179. package/dist/helpers/getFilterAppliedQuery.d.ts +71 -0
  180. package/dist/helpers/getModifiedQuery.d.ts +78 -0
  181. package/dist/helpers/getNextScheduledTime.d.ts +13 -0
  182. package/dist/helpers/getTimeFilterValue.d.ts +12 -0
  183. package/dist/helpers/getValidRlsConditionOptions.d.ts +16 -0
  184. package/dist/helpers/groupArray.d.ts +1 -0
  185. package/dist/helpers/groupBy.d.ts +25 -0
  186. package/dist/helpers/index.d.ts +16 -0
  187. package/dist/helpers/numberFormatter.d.ts +1 -0
  188. package/dist/helpers/setOnDateChange.d.ts +11 -0
  189. package/dist/helpers/sqlMetadata.d.ts +7 -0
  190. package/dist/helpers/timeseries.d.ts +35 -0
  191. package/dist/helpers/timeseriesOption.d.ts +72 -0
  192. package/dist/helpers/tooltipFormatter.d.ts +27 -0
  193. package/dist/helpers/treeMap.d.ts +6 -0
  194. package/dist/hooks/index.d.ts +12 -0
  195. package/dist/hooks/useArchiveMetric.d.ts +10 -0
  196. package/dist/hooks/useAutoCompleteOptions.d.ts +4 -0
  197. package/dist/hooks/useClientDashboardLayout.d.ts +21 -0
  198. package/dist/hooks/useDashboardContext.d.ts +37 -0
  199. package/dist/hooks/useDatasetMetric.d.ts +50 -0
  200. package/dist/hooks/useDebounce.d.ts +2 -0
  201. package/dist/hooks/useDownloadRawCsv.d.ts +21 -0
  202. package/dist/hooks/useDrag.d.ts +10 -0
  203. package/dist/hooks/useDragAndDropState.d.ts +10 -0
  204. package/dist/hooks/useDrop.d.ts +13 -0
  205. package/dist/hooks/useEmbeddedMetric.d.ts +24 -0
  206. package/dist/hooks/useExternalMetric.d.ts +55 -0
  207. package/dist/hooks/useGenerateDatasetMetrics.d.ts +13 -0
  208. package/dist/hooks/useGenerateMetric.d.ts +64 -0
  209. package/dist/hooks/useMetricCard.d.ts +121 -0
  210. package/dist/hooks/useMetricConfig.d.ts +63 -0
  211. package/dist/hooks/useNewEmbeddedDashboard.d.ts +35 -0
  212. package/dist/hooks/useOutsideAlerter.d.ts +14 -0
  213. package/dist/hooks/usePublishArchivedMetrics.d.ts +5 -0
  214. package/dist/hooks/usePythonResults.d.ts +17 -0
  215. package/dist/hooks/useScheduleEmail.d.ts +29 -0
  216. package/dist/hooks/useSearch.d.ts +55 -0
  217. package/dist/hooks/useUnderlyingData.d.ts +32 -0
  218. package/dist/index.d.ts +8 -0
  219. package/dist/queries/externalDashboard.mutation.d.ts +61 -0
  220. package/dist/queries/externalDashboard.query.d.ts +20 -0
  221. package/dist/queries/index.d.ts +1 -0
  222. package/dist/queries/metric.mutation.d.ts +57 -0
  223. package/dist/queries/metric.query.d.ts +12 -0
  224. package/dist/types/app.d.ts +894 -0
  225. package/dist/types/dragAndDropProps.d.ts +70 -0
  226. package/dist/types/index.d.ts +3 -0
  227. package/dist/types/metricCreate.d.ts +741 -0
  228. package/dist/types/queryTypes.d.ts +341 -0
  229. package/dist/utils/arrayToCsvString.d.ts +6 -0
  230. package/dist/utils/colors.d.ts +2 -0
  231. package/dist/utils/fetcher.d.ts +13 -0
  232. package/dist/utils/getChartAttributes.d.ts +98 -0
  233. package/dist/utils/getChartImage.d.ts +3 -0
  234. package/dist/utils/getChartOptions.d.ts +42 -0
  235. package/dist/utils/getFormattedDataType.d.ts +1 -0
  236. package/dist/utils/getNoAxisChartOptions.d.ts +25 -0
  237. package/dist/utils/getValidJson.d.ts +1 -0
  238. package/dist/utils/index.d.ts +9 -0
  239. package/dist/utils/pivotDataTransform.d.ts +7 -0
  240. package/dist/utils/popoverPosition.d.ts +2 -0
  241. package/dist/utils/theme.d.ts +42 -0
  242. package/dist/webcomponents.d.ts +16 -0
  243. package/dist/webcomponents.es.js +758 -758
  244. package/dist/webcomponents.umd.js +14 -14
  245. package/package.json +112 -112
@@ -0,0 +1,65 @@
1
+ import React from 'react';
2
+ import { Layout } from 'react-grid-layout';
3
+ import { MetricCardProps } from './components';
4
+ import { ChartAppearanceType, ClientColumnType, ClientType } from '@/types/app';
5
+ import { ThemeType } from '@/utils/theme';
6
+ export declare const GridLayout: React.ComponentClass<import("react-grid-layout").ResponsiveProps & import("react-grid-layout").WidthProviderProps, any>;
7
+ export type ExternalMetricListProps = {
8
+ chartColors?: string[];
9
+ isDisableMetricLoader?: boolean;
10
+ globalFilters?: MetricCardProps['globalFilters'];
11
+ client: ClientType['value'];
12
+ clientColumnType: ClientColumnType;
13
+ companyId: string;
14
+ isAllowedToUpdateMetrics?: boolean;
15
+ isAllowedToDeleteMetrics?: boolean;
16
+ isAllowedToChangeLayout?: boolean;
17
+ isMetricListLoading?: boolean;
18
+ isAllowedToSeeUnderlyingData?: boolean;
19
+ breakpoint: ThemeType['breakpoint'];
20
+ layoutCols: ThemeType['metricLayoutCols'];
21
+ externalDashboardMetrics?: any;
22
+ params?: any;
23
+ appFilters?: any;
24
+ companyTenancyType: string;
25
+ externalDashboardId: string;
26
+ externalDashboardPk: string;
27
+ sharingSettingsId?: string;
28
+ isHideChartSettings?: boolean;
29
+ isHideTablePreview?: boolean;
30
+ enableDownloadCsv?: boolean;
31
+ enableEmailCsv?: boolean;
32
+ disableFullscreen?: boolean;
33
+ enableMultiMetricFilters?: boolean;
34
+ layout: {
35
+ clientLayout: Layout[];
36
+ adminLayout: Layout[];
37
+ isLocked: boolean;
38
+ onChange: (layout: Layout[]) => void;
39
+ };
40
+ dropdownTheme: {
41
+ width: string;
42
+ variant: 'static' | 'floating';
43
+ radius: string;
44
+ };
45
+ optionsIcon?: 'kebab-menu-vertical' | 'download';
46
+ token: string;
47
+ workspaceId: string;
48
+ dataLimit: number;
49
+ isShowLoader: boolean;
50
+ isEditLayoutEnabled?: boolean;
51
+ isEnableMetricSummary?: boolean;
52
+ hideDatePickerOptions?: string[];
53
+ chartAppearance?: ChartAppearanceType;
54
+ isAllClient: boolean;
55
+ gridMargin?: {
56
+ verticalMargin: number;
57
+ horizontalMargin: number;
58
+ };
59
+ isShadowDisableOnHover?: boolean;
60
+ noDataImg?: string;
61
+ metricCardColor?: string;
62
+ shouldFitFullScreen?: boolean;
63
+ mergedMetrics?: string[];
64
+ };
65
+ export declare const ExternalMetricList: React.FC<ExternalMetricListProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ModalProps } from '@/components';
3
+ export interface ArchiveMetricModalProps extends Omit<ModalProps, 'headerTitle'> {
4
+ onArchive: () => void;
5
+ isLoading: boolean;
6
+ }
7
+ export declare const ArchiveMetricModal: ({ isOpen, onClose, onArchive, isLoading, }: ArchiveMetricModalProps) => React.JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ExternalMetrics } from '@/types/queryTypes';
3
+ type Props = {
4
+ onCloseModal: (value: boolean) => void;
5
+ isShowRawCsvModal: boolean;
6
+ metricItem?: ExternalMetrics;
7
+ workspaceId: string;
8
+ sharingSettingsId?: string;
9
+ query: string;
10
+ };
11
+ export declare const DownloadRawCsvModal: ({ onCloseModal, isShowRawCsvModal, metricItem, query, sharingSettingsId, workspaceId, }: Props) => React.JSX.Element;
12
+ declare const _default: React.MemoExoticComponent<({ onCloseModal, isShowRawCsvModal, metricItem, query, sharingSettingsId, workspaceId, }: Props) => React.JSX.Element>;
13
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { RlsCondition } from '@/types';
3
+ type AddMetricFilterProps = {
4
+ filters: RlsCondition[];
5
+ updateFilter: (filter: RlsCondition) => void;
6
+ };
7
+ declare const AddMetricFilter: ({ filters, updateFilter }: AddMetricFilterProps) => React.JSX.Element;
8
+ export default AddMetricFilter;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ChartSettingsType } from '@/types';
3
+ type Props = {
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ zIndex: number;
7
+ chartSettings: ChartSettingsType;
8
+ columnList: string[];
9
+ setChartSettings: React.Dispatch<React.SetStateAction<ChartSettingsType>>;
10
+ };
11
+ declare const ChartPropertiesPanel: ({ isOpen, onClose, zIndex, chartSettings, setChartSettings, columnList, }: Props) => React.JSX.Element;
12
+ export default ChartPropertiesPanel;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import EChartsReact from 'echarts-for-react';
3
+ import { CsvDownloadMetricReqData } from '@/components';
4
+ import { ChartSettingsType } from '@/types';
5
+ export type DownloadButtonProps = {
6
+ data: Record<string, any>[];
7
+ chartRef?: React.RefObject<EChartsReact>;
8
+ metricName: string;
9
+ onRawCsvData: () => void;
10
+ chartOptions?: ChartSettingsType;
11
+ metricData: CsvDownloadMetricReqData;
12
+ companyIntegrationId: string;
13
+ integrationName: string;
14
+ updateDownloadProgress: (isEnable: boolean) => void;
15
+ isPythonMode: boolean;
16
+ isEnableEmailRawCsvDownload?: boolean;
17
+ };
18
+ export declare const DownloadButton: ({ data, chartRef, metricName, onRawCsvData, chartOptions, integrationName, companyIntegrationId, metricData, updateDownloadProgress, isPythonMode, isEnableEmailRawCsvDownload, }: DownloadButtonProps) => React.JSX.Element;
@@ -0,0 +1,45 @@
1
+ import React from 'react';
2
+ import { ExternalMetrics } from '@/types/queryTypes';
3
+ import { ChartAppearanceType, ClientColumnType, MetricFilterOptionsType } from '@/types';
4
+ import { FilterFieldType } from '@/components/FilterField';
5
+ export type FullScreenViewProps = {
6
+ globalFilters?: {
7
+ tableName: string;
8
+ filters: FilterFieldType[];
9
+ };
10
+ metric: ExternalMetrics;
11
+ colors?: string[];
12
+ rlsFilters?: any;
13
+ appFilters?: any;
14
+ metricFilterOptions?: MetricFilterOptionsType;
15
+ onMinimize: () => void;
16
+ onArchive?: (metricId: string) => void;
17
+ clientId: string;
18
+ encryptedClient?: string;
19
+ tenancyLevel: string;
20
+ externalDashboardId: string;
21
+ userProvidedDashboardId: string;
22
+ companyId: string;
23
+ isAllowedToUpdateMetrics?: boolean;
24
+ sharingSettingsId?: string;
25
+ isInternalApp?: boolean;
26
+ isShowChartConfigTab?: boolean;
27
+ isHideChartSettings?: boolean;
28
+ isHideTablePreview?: boolean;
29
+ isAllClient: boolean;
30
+ onDownload: (id: string, isEnable: boolean) => void;
31
+ downloadMetrics: {
32
+ id: string;
33
+ isInProgress: boolean;
34
+ }[];
35
+ isFrontendApp: boolean;
36
+ guestToken?: string;
37
+ workspaceId: string;
38
+ clientColumnType: ClientColumnType;
39
+ isEnableMetricSummary?: boolean;
40
+ hideDatePickerOptions?: string[];
41
+ chartAppearance?: ChartAppearanceType;
42
+ enableEmailCsv?: boolean;
43
+ fullScreenWidth?: number;
44
+ };
45
+ export declare const FullScreenView: ({ metric, colors, rlsFilters, metricFilterOptions, onMinimize, onArchive, clientId, tenancyLevel, companyId, externalDashboardId, userProvidedDashboardId, isAllowedToUpdateMetrics, sharingSettingsId, appFilters, isInternalApp, isShowChartConfigTab, isHideChartSettings, isHideTablePreview, isAllClient, globalFilters: globalFilterList, onDownload, downloadMetrics, isFrontendApp, guestToken, encryptedClient, workspaceId, clientColumnType, isEnableMetricSummary, hideDatePickerOptions, chartAppearance, enableEmailCsv, fullScreenWidth, }: FullScreenViewProps) => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export type LayoutAlertProps = {
3
+ onCancel: () => void;
4
+ onSave: () => void;
5
+ isLoading: boolean;
6
+ };
7
+ export declare const LayoutAlert: ({ onCancel, onSave, isLoading, }: LayoutAlertProps) => React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ChartAppearanceType, ClientType } from '@/types/app';
3
+ export type ManageMetricCardProps = {
4
+ metricItem: any;
5
+ client: ClientType['value'];
6
+ encryptedClient?: ClientType['value'];
7
+ colors?: string[];
8
+ companyTenancyType: string;
9
+ isInternalApp?: boolean;
10
+ isFrontendApp: boolean;
11
+ guestToken?: string;
12
+ workspaceId: string;
13
+ chartAppearance?: ChartAppearanceType;
14
+ };
15
+ export declare const ManageMetricCard: ({ metricItem, client, colors, companyTenancyType, isInternalApp, isFrontendApp, guestToken, encryptedClient, workspaceId, chartAppearance, }: ManageMetricCardProps) => React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { ChartAppearanceType, ClientType } from '@/types';
3
+ type ManageMetricMenuProps = {
4
+ metricList: any[];
5
+ token: string;
6
+ client: ClientType['value'];
7
+ colors?: string[];
8
+ companyTenancyType: string;
9
+ workspaceId: string;
10
+ chartAppearance?: ChartAppearanceType;
11
+ isOpenModal: boolean;
12
+ setOpenModal: React.Dispatch<React.SetStateAction<boolean>>;
13
+ };
14
+ declare const ManageMetricMenu: ({ props: { metricList, token, client, companyTenancyType, workspaceId, chartAppearance, colors, isOpenModal, setOpenModal, }, }: {
15
+ props: ManageMetricMenuProps;
16
+ }) => React.JSX.Element;
17
+ export default ManageMetricMenu;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ type CreateElementPanelProps = {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ element?: any;
6
+ clientId: string;
7
+ companyId: string;
8
+ externalDashboardId: string;
9
+ userProvidedDashboardId: string;
10
+ };
11
+ export declare const CreateElementPanel: ({ createElementPanelProps: { isOpen, onClose, element, clientId, companyId, externalDashboardId, userProvidedDashboardId, }, }: {
12
+ createElementPanelProps: CreateElementPanelProps;
13
+ }) => React.JSX.Element;
14
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ type ElementCardProps = {
3
+ elementSettings: {
4
+ text: string;
5
+ fontColor?: string;
6
+ fontWeight?: string;
7
+ fontSize?: string;
8
+ alignment?: string;
9
+ link?: string;
10
+ isOpenInNewTab?: boolean;
11
+ targetWord?: string;
12
+ };
13
+ elementSummary?: string;
14
+ };
15
+ declare const ElementCard: ({ elementSettings, elementSummary, }: ElementCardProps) => React.JSX.Element;
16
+ export default ElementCard;
@@ -0,0 +1,98 @@
1
+ import React from 'react';
2
+ import { ExternalMetrics } from '@/types/queryTypes';
3
+ import { ChartAppearanceType, ClientColumnType, ClientType } from '@/types/app';
4
+ import { FilterFieldType } from '@/components';
5
+ import { MetricFilterOptionsType, RlsCondition } from '@/types';
6
+ import { DataMartRelationShip } from '@/helpers';
7
+ export type MetricCardProps = {
8
+ globalFilters?: {
9
+ tableName: string;
10
+ filters: FilterFieldType[];
11
+ };
12
+ metricItem: any;
13
+ client: ClientType['value'];
14
+ encryptedClient?: ClientType['value'];
15
+ onMaximize?: (metric: ExternalMetrics, rlsFilters?: {
16
+ param: any;
17
+ filterValues: Record<string, string>;
18
+ }, appFilters?: any) => void;
19
+ colors?: string[];
20
+ param?: any;
21
+ appFilters?: any;
22
+ companyTenancyType: string;
23
+ renderHeaderName?: (name: string) => JSX.Element;
24
+ onArchive?: (metricId: string) => void;
25
+ isDisableCardClick?: boolean;
26
+ chartRendererType?: 'svg' | 'canvas';
27
+ isDisableMorePopup?: boolean;
28
+ isInternalApp?: boolean;
29
+ setCrossDashboardFilters?: React.Dispatch<React.SetStateAction<RlsCondition[]>>;
30
+ crossDashboardFilters?: RlsCondition[];
31
+ metricFilterOptions?: MetricFilterOptionsType;
32
+ onDownloadRawCsv?: (filterValues?: Record<string, any>, rlsConditions?: RlsCondition[], dataMartRelationships?: DataMartRelationShip[]) => void;
33
+ enableDownloadCsv?: boolean;
34
+ enableMultiMetricFilters?: boolean;
35
+ disableActions?: boolean;
36
+ metricFilterPosition?: 'outside' | 'inside';
37
+ isAllClient: boolean;
38
+ dropdownTheme: {
39
+ width: string;
40
+ variant: 'static' | 'floating';
41
+ radius: string;
42
+ };
43
+ optionsIcon?: 'kebab-menu-vertical' | 'download';
44
+ downloadMetrics: {
45
+ id: string;
46
+ isInProgress: boolean;
47
+ }[];
48
+ onDownload: (id: string, isEnable: boolean) => void;
49
+ appearanceOptions?: {
50
+ appearanceOptionsPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
51
+ dynamicBehaviour?: {
52
+ isEnabled?: boolean;
53
+ label?: string;
54
+ };
55
+ cumulativeBar?: {
56
+ isEnabled?: boolean;
57
+ label?: string;
58
+ };
59
+ stackedBars?: {
60
+ isEnabled?: boolean;
61
+ label?: string;
62
+ };
63
+ };
64
+ isFrontendApp: boolean;
65
+ guestToken?: string;
66
+ workspaceId: string;
67
+ clientColumnType: ClientColumnType;
68
+ isDisableCardTitle?: boolean;
69
+ chartHeight?: number;
70
+ isEditLayoutEnabled?: boolean;
71
+ isTourActive?: boolean;
72
+ hideDatePickerOptions?: string[];
73
+ chartAppearance?: ChartAppearanceType;
74
+ isDisableMetricLoader?: boolean;
75
+ isShadowDisableOnHover?: boolean;
76
+ isAllowedToSeeUnderlyingData?: boolean;
77
+ noDataImg?: string;
78
+ metricCardColor?: string;
79
+ isMergedMetric?: boolean;
80
+ metricStore?: Map<string, {
81
+ data: any;
82
+ isLoading: boolean;
83
+ key: string;
84
+ }>;
85
+ setMetricStore?: React.Dispatch<React.SetStateAction<Map<string, {
86
+ data: any;
87
+ isLoading: boolean;
88
+ key: string;
89
+ }>>>;
90
+ summarizeMetricMutation?: any;
91
+ setOpenMergeModal?: React.Dispatch<React.SetStateAction<{
92
+ isOpen: boolean;
93
+ id?: string;
94
+ chartOptions?: any;
95
+ }>>;
96
+ setDataLoaded?: React.Dispatch<React.SetStateAction<boolean>>;
97
+ };
98
+ export declare const MetricCard: ({ globalFilters: globalFilterList, metricItem, onMaximize, client, colors, param, companyTenancyType, renderHeaderName, isDisableCardClick, onArchive, chartRendererType, isDisableMorePopup, appFilters, isInternalApp, setCrossDashboardFilters, crossDashboardFilters, metricFilterOptions, onDownloadRawCsv, enableDownloadCsv, enableMultiMetricFilters, disableActions, metricFilterPosition, isAllClient, dropdownTheme, optionsIcon, downloadMetrics, onDownload, appearanceOptions, isFrontendApp, guestToken, encryptedClient, workspaceId, clientColumnType, isDisableCardTitle, chartHeight, isEditLayoutEnabled, isTourActive, hideDatePickerOptions, chartAppearance, isDisableMetricLoader, isShadowDisableOnHover, isAllowedToSeeUnderlyingData, noDataImg, metricCardColor, metricStore, setMetricStore, summarizeMetricMutation, isMergedMetric, setOpenMergeModal, setDataLoaded, }: MetricCardProps) => React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ type NoDataLoadingProps = {
3
+ isDataLength: boolean;
4
+ isLoading: boolean;
5
+ isSingleValue: string | undefined;
6
+ dataDb: Record<string, any>;
7
+ chartType?: string;
8
+ noDataImg?: string;
9
+ };
10
+ export declare const NoDataLoading: React.MemoExoticComponent<({ isDataLength, isLoading, isSingleValue, dataDb, chartType, noDataImg, }: NoDataLoadingProps) => React.JSX.Element>;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ metricData?: Record<string, any>[];
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ title: string;
7
+ };
8
+ export declare const TableViewModal: ({ metricData, isOpen, onClose, title, }: Props) => React.JSX.Element;
9
+ export default TableViewModal;
@@ -0,0 +1,7 @@
1
+ export * from './ArchiveMetricModal';
2
+ export * from './DownloadRawCsvModal';
3
+ export * from './LayoutAlert';
4
+ export * from './TableViewModal';
5
+ export * from './MetricCards/MetricCard';
6
+ export * from './MetricCards/NoDataLoading';
7
+ export * from './FullScreenView';
@@ -0,0 +1,2 @@
1
+ export * from './MetricList';
2
+ export * from './components';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ data: any;
4
+ isError: boolean;
5
+ };
6
+ export declare const MetricTable: ({ data, isError }: Props) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ export interface ModalProps extends PropsWithChildren {
3
+ isOpen: boolean;
4
+ onClose?: () => void;
5
+ headerTitle?: string;
6
+ subHeadingTitle?: string;
7
+ customHeader?: JSX.Element;
8
+ enableFullScreenButton?: boolean;
9
+ zIndex?: number;
10
+ icon?: any;
11
+ size?: 'sm' | 'md' | 'lg' | 'xl';
12
+ isRemoveHeader?: boolean;
13
+ }
14
+ export declare const Modal: React.FC<ModalProps>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export type ModalFooterProps = React.PropsWithChildren & {
3
+ className?: string;
4
+ };
5
+ export declare const ModalFooter: React.FC<ModalFooterProps>;
@@ -0,0 +1,2 @@
1
+ export * from './Modal';
2
+ export * from './ModalFooter';
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { FloatingDropDownOption } from '@/types';
3
+ export type MultiSelectAccordianDropdownProps = {
4
+ onChange: (options: FloatingDropDownOption) => void;
5
+ selectedOption: FloatingDropDownOption;
6
+ options: FloatingDropDownOption[];
7
+ button?: JSX.Element;
8
+ label?: string;
9
+ labelVariant?: 'floating' | 'static';
10
+ isDisabled?: boolean;
11
+ isSearchEnabled?: boolean;
12
+ icon?: JSX.Element;
13
+ buttonWidth?: string;
14
+ menuWidth?: string;
15
+ searchIcon?: JSX.Element;
16
+ closeControl?: {
17
+ close: boolean;
18
+ };
19
+ searchPlaceholder?: string;
20
+ radius?: string;
21
+ };
22
+ export type MultiSelectDropdownProps = Omit<MultiSelectAccordianDropdownProps, 'selectedOption' | 'onChange'> & {
23
+ id?: string;
24
+ onChange: (options: FloatingDropDownOption[]) => void;
25
+ selectedOption: FloatingDropDownOption[];
26
+ options: FloatingDropDownOption[];
27
+ isShowSelectedOptions?: boolean;
28
+ radius?: string;
29
+ isFilter?: boolean;
30
+ dataTestTitle?: string;
31
+ isAutoSelectOption?: boolean;
32
+ isLoadingData?: boolean;
33
+ error?: string;
34
+ menuZIndex?: number;
35
+ isSelectAllEnabled?: boolean;
36
+ isSelectAllOn?: boolean;
37
+ };
38
+ export declare const MultiSelectAccordianDropdown: ({ label, labelVariant, selectedOption, onChange, button, options, isDisabled, icon, buttonWidth, menuWidth, isSearchEnabled, searchIcon, closeControl, searchPlaceholder, radius, }: MultiSelectAccordianDropdownProps) => React.JSX.Element;
39
+ export declare const MultiSelectDropdown: ({ id, label, labelVariant, selectedOption, onChange, button, options, isDisabled, icon, buttonWidth, menuWidth, isSearchEnabled, searchIcon, closeControl, searchPlaceholder, isShowSelectedOptions, radius, isFilter, dataTestTitle, isAutoSelectOption, isLoadingData, error, menuZIndex, isSelectAllEnabled, isSelectAllOn, }: MultiSelectDropdownProps) => React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ export interface PanelProps extends PropsWithChildren {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ headerTitle?: string;
6
+ icon?: any;
7
+ hideHeader?: boolean;
8
+ hideFooter?: boolean;
9
+ primaryActionText?: string;
10
+ onPrimaryAction?: () => void;
11
+ side?: 'left' | 'right';
12
+ size?: 'small' | 'medium' | 'large';
13
+ zIndex?: number;
14
+ dataTestTitle?: string;
15
+ isTourActive?: boolean;
16
+ }
17
+ export declare const Panel: ({ children, isOpen, onClose, headerTitle, icon, hideHeader, hideFooter, primaryActionText, onPrimaryAction, side, size, zIndex, dataTestTitle, isTourActive, }: PanelProps) => React.JSX.Element;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { Aggregate, OnDrillPivotTableParams, PivotDrillState } from '@/types';
3
+ type DataRow = Record<string, any>;
4
+ type PivotTableProps = {
5
+ data: DataRow[];
6
+ columns: string[];
7
+ rows: string[];
8
+ values: string[];
9
+ headerSettings?: {
10
+ textColor?: string;
11
+ color?: string;
12
+ isEnabled?: boolean;
13
+ };
14
+ measures: Aggregate[];
15
+ isEnableStripedRows: boolean;
16
+ dimensions: string[];
17
+ onDrillPivotTable?: (value: OnDrillPivotTableParams) => void;
18
+ pivotDrillState: PivotDrillState;
19
+ };
20
+ export declare const PivotTableV2: ({ props: { data, rows, columns, values, headerSettings, measures, isEnableStripedRows, dimensions, onDrillPivotTable, pivotDrillState, }, }: {
21
+ props: PivotTableProps;
22
+ }) => React.JSX.Element;
23
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { PivotSettingsType } from '@/types';
3
+ declare const PivotTable: ({ data, pivotTableSettings, onChartReady, }: {
4
+ data: any[];
5
+ pivotTableSettings?: PivotSettingsType | undefined;
6
+ onChartReady?: (() => void) | undefined;
7
+ }) => React.JSX.Element;
8
+ export default PivotTable;
@@ -0,0 +1,7 @@
1
+ export interface ResultItem {
2
+ name: string | number;
3
+ count: number;
4
+ parent: string;
5
+ }
6
+ declare const transformData: (inputData: Record<string, any>[], dimensions: string[], metrics: string[]) => Record<string, ResultItem[]>;
7
+ export default transformData;
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import type { Placement } from '@popperjs/core';
3
+ import { Colors } from '@/types';
4
+ type PopoverMenuStateProp = {
5
+ id: string;
6
+ isOpen?: boolean;
7
+ setOpen?: React.Dispatch<React.SetStateAction<boolean>>;
8
+ isMenuOpen?: boolean;
9
+ setMenuOpen?: React.Dispatch<React.SetStateAction<boolean>>;
10
+ popperElement?: Node | HTMLDivElement | null;
11
+ referenceElement?: Node | HTMLDivElement | null;
12
+ };
13
+ export declare const popoverMenuStateAtom: import("jotai").PrimitiveAtom<PopoverMenuStateProp[]> & {
14
+ init: PopoverMenuStateProp[];
15
+ };
16
+ export type PopoverMenuProps = React.PropsWithChildren & {
17
+ buttonContent: React.ReactNode;
18
+ isDisabled?: boolean;
19
+ position?: Placement;
20
+ buttonWidth?: string;
21
+ menuWidth?: string;
22
+ offset?: [number, number];
23
+ overFlowDetection?: boolean;
24
+ tabMenu?: boolean;
25
+ bgColor?: Colors;
26
+ autoCloseParent?: boolean;
27
+ getIsOpen?: (isOpen: boolean) => void;
28
+ isClearEnabled?: boolean;
29
+ isMenuOpen?: boolean;
30
+ setMenuOpen?: React.Dispatch<React.SetStateAction<boolean>>;
31
+ dataTestTitle?: string;
32
+ menuZIndex?: number;
33
+ popoverButtonId?: string;
34
+ };
35
+ export declare const PopoverMenu: React.FC<PopoverMenuProps>;
36
+ export {};
@@ -0,0 +1,2 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export declare const Portal: ({ children }: PropsWithChildren) => import("react").ReactPortal | null;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { UseFormRegisterReturn } from 'react-hook-form';
3
+ interface Props extends React.HTMLProps<HTMLInputElement> {
4
+ label?: string;
5
+ register?: UseFormRegisterReturn;
6
+ error?: any;
7
+ leftIcon?: JSX.Element;
8
+ rightIcon?: JSX.Element;
9
+ isDisabled?: boolean;
10
+ labelClass?: string;
11
+ inputClass?: string;
12
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
13
+ elementRef?: React.Ref<HTMLInputElement>;
14
+ }
15
+ export declare const RadioButton: ({ type, register, error, leftIcon, rightIcon, label, isDisabled, labelClass, inputClass, className, id, elementRef, ...rest }: Props) => React.JSX.Element;
16
+ export default RadioButton;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ onCancel: () => void;
4
+ };
5
+ declare const ScheduleEmailForm: ({ onCancel }: Props) => React.JSX.Element;
6
+ export default ScheduleEmailForm;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ScheduleEmail: () => React.JSX.Element;
3
+ export default ScheduleEmail;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { SearchColumn, SearchKeyType } from '@/types';
3
+ export type SearchDropdownProps = {
4
+ onSubmitSearch: () => void;
5
+ options: SearchColumn[];
6
+ isDisabled?: boolean;
7
+ placeholder?: string;
8
+ position?: 'top' | 'bottom';
9
+ setSearchKeys: React.Dispatch<React.SetStateAction<SearchKeyType[]>>;
10
+ searchKeys: SearchKeyType[];
11
+ setSearchKeyword: React.Dispatch<React.SetStateAction<string>>;
12
+ searchKeyword: string;
13
+ };
14
+ export declare const SearchDropdown: ({ options, isDisabled, placeholder, position, onSubmitSearch, searchKeys, setSearchKeys, searchKeyword, setSearchKeyword, }: SearchDropdownProps) => React.JSX.Element;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { ChartSettingsType } from '@/types';
3
+ export type ChartAppearancePanelProps = {
4
+ chartSettings: ChartSettingsType;
5
+ setChartSettings: React.Dispatch<React.SetStateAction<ChartSettingsType>>;
6
+ isOpen: boolean;
7
+ onClose: () => void;
8
+ setBarRadius: React.Dispatch<React.SetStateAction<{
9
+ topRadius: number;
10
+ bottomRadius: number;
11
+ }>>;
12
+ setResetPallete: React.Dispatch<React.SetStateAction<boolean>>;
13
+ zIndex?: number;
14
+ };
15
+ type Props = {
16
+ chartAppearancePanelProps: ChartAppearancePanelProps;
17
+ };
18
+ declare const ChatAppearancePanel: ({ chartAppearancePanelProps: { chartSettings, isOpen, onClose, setBarRadius, setChartSettings, setResetPallete, zIndex, }, }: Props) => React.JSX.Element;
19
+ export default ChatAppearancePanel;