@databrainhq/plugin 0.15.57 → 0.15.59

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 (248) hide show
  1. package/dist/components/Accordion/index.d.ts +34 -0
  2. package/dist/components/AceEditorSql/AceEditorSql.d.ts +11 -0
  3. package/dist/components/Alert/index.d.ts +12 -0
  4. package/dist/components/AutoCompleteDropdown/index.d.ts +20 -0
  5. package/dist/components/Badge/index.d.ts +10 -0
  6. package/dist/components/Button/index.d.ts +14 -0
  7. package/dist/components/ButtonGroup/index.d.ts +16 -0
  8. package/dist/components/Chart/SingleValueChart.d.ts +39 -0
  9. package/dist/components/Chart/index.d.ts +48 -0
  10. package/dist/components/ChartModal/ChartConfig.d.ts +10 -0
  11. package/dist/components/ChartModal/ChartModalOptions.d.ts +14 -0
  12. package/dist/components/ChartModal/index.d.ts +3 -0
  13. package/dist/components/ChartPopup/components/UnderlyingData/index.d.ts +15 -0
  14. package/dist/components/ChartPopup/index.d.ts +28 -0
  15. package/dist/components/ChartReportPanel/index.d.ts +10 -0
  16. package/dist/components/ChartSettingsPopup/ChartSettingsPopup.d.ts +13 -0
  17. package/dist/components/ChartSettingsPopup/components/ChartConfigure/ComboAxisSettings/AxisSettings.d.ts +10 -0
  18. package/dist/components/ChartSettingsPopup/components/ChartConfigure/ComboAxisSettings/index.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 +11 -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/FileUploader/index.d.ts +6 -0
  34. package/dist/components/FilterDropDown/index.d.ts +32 -0
  35. package/dist/components/FilterField/index.d.ts +40 -0
  36. package/dist/components/Flex/index.d.ts +13 -0
  37. package/dist/components/FloatingDropDown/index.d.ts +43 -0
  38. package/dist/components/FullScreenChart/index.d.ts +8 -0
  39. package/dist/components/GaugeLegend/index.d.ts +12 -0
  40. package/dist/components/GenerateMetric/index.d.ts +3 -0
  41. package/dist/components/GlobalFilters/AddFilter.d.ts +15 -0
  42. package/dist/components/GlobalFilters/AppliedFilter.d.ts +9 -0
  43. package/dist/components/GlobalFilters/Filters.d.ts +29 -0
  44. package/dist/components/GlobalFilters/HorizontalFilters.d.ts +36 -0
  45. package/dist/components/GlobalFilters/NumberFilterField.d.ts +23 -0
  46. package/dist/components/GlobalFilters/SearchField.d.ts +10 -0
  47. package/dist/components/GlobalFilters/index.d.ts +82 -0
  48. package/dist/components/HorizontalStackTable/DebouncedInput.d.ts +6 -0
  49. package/dist/components/HorizontalStackTable/index.d.ts +18 -0
  50. package/dist/components/Icons/Logos/index.d.ts +33 -0
  51. package/dist/components/Icons/index.d.ts +9 -0
  52. package/dist/components/InfoTooltip/index.d.ts +31 -0
  53. package/dist/components/InputField/index.d.ts +20 -0
  54. package/dist/components/List/index.d.ts +43 -0
  55. package/dist/components/Loader/index.d.ts +6 -0
  56. package/dist/components/Menu/index.d.ts +32 -0
  57. package/dist/components/MetricChart/ChartImageDownloadButton.d.ts +13 -0
  58. package/dist/components/MetricChart/CsvDownloadButton.d.ts +12 -0
  59. package/dist/components/MetricChart/PivotCsvDownloadButton.d.ts +12 -0
  60. package/dist/components/MetricChart/RawCsvDownloadButton.d.ts +39 -0
  61. package/dist/components/MetricChart/index.d.ts +5 -0
  62. package/dist/components/MetricCreation/MetricCreation.d.ts +3 -0
  63. package/dist/components/MetricCreation/components/ConstructMetric/ConstructMetric.d.ts +3 -0
  64. package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts +3 -0
  65. package/dist/components/MetricCreation/components/ConstructMetric/index.d.ts +2 -0
  66. package/dist/components/MetricCreation/components/Dataset/index.d.ts +3 -0
  67. package/dist/components/MetricCreation/components/Header/index.d.ts +3 -0
  68. package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +3 -0
  69. package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +33 -0
  70. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/InputTables/index.d.ts +2 -0
  71. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/index.d.ts +1 -0
  72. package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +11 -0
  73. package/dist/components/MetricCreation/components/MetricOutput/components/index.d.ts +3 -0
  74. package/dist/components/MetricCreation/components/MetricOutput/index.d.ts +2 -0
  75. package/dist/components/MetricCreation/components/Panels/ChartActionPanel.d.ts +13 -0
  76. package/dist/components/MetricCreation/components/Panels/ChartAppearancePanel.d.ts +22 -0
  77. package/dist/components/MetricCreation/components/Panels/FiltersPanel.d.ts +21 -0
  78. package/dist/components/MetricCreation/components/Panels/SortPanel.d.ts +15 -0
  79. package/dist/components/MetricCreation/index.d.ts +5 -0
  80. package/dist/components/MetricFilterDropDown/components/OldMetricFilterComponents.d.ts +18 -0
  81. package/dist/components/MetricFilterDropDown/components/SearchField.d.ts +7 -0
  82. package/dist/components/MetricFilterDropDown/components/StringAutoCustomFilterField.d.ts +19 -0
  83. package/dist/components/MetricFilterDropDown/components/StringManualFilterField.d.ts +11 -0
  84. package/dist/components/MetricFilterDropDown/components/TimeFilterField.d.ts +12 -0
  85. package/dist/components/MetricFilterDropDown/components/VariableTimeFilterField.d.ts +12 -0
  86. package/dist/components/MetricFilterDropDown/index.d.ts +25 -0
  87. package/dist/components/MetricList/MetricList.d.ts +79 -0
  88. package/dist/components/MetricList/components/ArchiveMetricModal/index.d.ts +7 -0
  89. package/dist/components/MetricList/components/DownloadRawCsvModal/index.d.ts +13 -0
  90. package/dist/components/MetricList/components/FullScreenView/AddMetricFilter.d.ts +8 -0
  91. package/dist/components/MetricList/components/FullScreenView/ChartPropertiesPanel.d.ts +12 -0
  92. package/dist/components/MetricList/components/FullScreenView/DownloadButton.d.ts +20 -0
  93. package/dist/components/MetricList/components/FullScreenView/index.d.ts +49 -0
  94. package/dist/components/MetricList/components/LayoutAlert/index.d.ts +7 -0
  95. package/dist/components/MetricList/components/ManageMetricMenu/ManageMetricCard.d.ts +16 -0
  96. package/dist/components/MetricList/components/ManageMetricMenu/index.d.ts +19 -0
  97. package/dist/components/MetricList/components/MetricCards/CreateElementPanel.d.ts +14 -0
  98. package/dist/components/MetricList/components/MetricCards/ElementCard.d.ts +17 -0
  99. package/dist/components/MetricList/components/MetricCards/MetricCard.d.ts +107 -0
  100. package/dist/components/MetricList/components/MetricCards/NoDataLoading.d.ts +11 -0
  101. package/dist/components/MetricList/components/TableViewModal/index.d.ts +9 -0
  102. package/dist/components/MetricList/components/index.d.ts +7 -0
  103. package/dist/components/MetricList/index.d.ts +2 -0
  104. package/dist/components/MetricTable/index.d.ts +7 -0
  105. package/dist/components/Modal/Modal.d.ts +14 -0
  106. package/dist/components/Modal/ModalFooter.d.ts +5 -0
  107. package/dist/components/Modal/index.d.ts +2 -0
  108. package/dist/components/MultiSelectDropdown/index.d.ts +45 -0
  109. package/dist/components/Panel/index.d.ts +17 -0
  110. package/dist/components/PivotTable/PivotTableV2.d.ts +23 -0
  111. package/dist/components/PivotTable/index.d.ts +8 -0
  112. package/dist/components/PivotTable/transformData.d.ts +7 -0
  113. package/dist/components/PopoverMenu/index.d.ts +39 -0
  114. package/dist/components/Portal/index.d.ts +2 -0
  115. package/dist/components/RadioButton/index.d.ts +16 -0
  116. package/dist/components/ScheduleEmail/ScheduleEmailForm/index.d.ts +17 -0
  117. package/dist/components/ScheduleEmail/index.d.ts +18 -0
  118. package/dist/components/SearchDropdown/index.d.ts +14 -0
  119. package/dist/components/SearchMetricData/ChatMode/ChatAppearancePanel.d.ts +19 -0
  120. package/dist/components/SearchMetricData/ChatMode/ChatMode.d.ts +44 -0
  121. package/dist/components/SearchMetricData/ChatMode/ChatModeHeader.d.ts +8 -0
  122. package/dist/components/SearchMetricData/ChatMode/ChatReportPanel.d.ts +9 -0
  123. package/dist/components/SearchMetricData/ChatMode/ChatSqlPanel.d.ts +7 -0
  124. package/dist/components/SearchMetricData/ChatMode/NoChatData.d.ts +3 -0
  125. package/dist/components/SearchMetricData/ChatMode/NoDataFound.d.ts +16 -0
  126. package/dist/components/SearchMetricData/ChatMode/Results.d.ts +23 -0
  127. package/dist/components/SearchMetricData/LoaderWithStates/index.d.ts +7 -0
  128. package/dist/components/SearchMetricData/SearchMetricData.d.ts +5 -0
  129. package/dist/components/SearchMetricData/index.d.ts +1 -0
  130. package/dist/components/SearchTab/index.d.ts +13 -0
  131. package/dist/components/Select/index.d.ts +47 -0
  132. package/dist/components/SelfHostControl/index.d.ts +4 -0
  133. package/dist/components/SkeletonLoader/index.d.ts +9 -0
  134. package/dist/components/SpinningLoader/index.d.ts +2 -0
  135. package/dist/components/Switch/SwitchInput.d.ts +10 -0
  136. package/dist/components/Switch/index.d.ts +11 -0
  137. package/dist/components/Tab/index.d.ts +14 -0
  138. package/dist/components/Table/DebouncedInput.d.ts +6 -0
  139. package/dist/components/Table/Filter.d.ts +7 -0
  140. package/dist/components/Table/index.d.ts +40 -0
  141. package/dist/components/Tabs/index.d.ts +41 -0
  142. package/dist/components/TagInputField/index.d.ts +33 -0
  143. package/dist/components/Text/index.d.ts +15 -0
  144. package/dist/components/TextAreaField/index.d.ts +24 -0
  145. package/dist/components/ThemeBlock/index.d.ts +8 -0
  146. package/dist/components/TimeGrainField/index.d.ts +17 -0
  147. package/dist/components/TimeSeriesSettings/index.d.ts +8 -0
  148. package/dist/components/ToggleIconBtn/index.d.ts +14 -0
  149. package/dist/components/index.d.ts +67 -0
  150. package/dist/consts/api.d.ts +81 -0
  151. package/dist/consts/app.d.ts +157 -0
  152. package/dist/consts/index.d.ts +2 -0
  153. package/dist/consts/metricOptions.d.ts +209 -0
  154. package/dist/consts/validations.d.ts +24 -0
  155. package/dist/containers/Dashboard/Dashboard.d.ts +85 -0
  156. package/dist/containers/Dashboard/DashboardProvider.d.ts +7 -0
  157. package/dist/containers/Dashboard/EmbededDashboard.d.ts +54 -0
  158. package/dist/containers/Dashboard/index.d.ts +2 -0
  159. package/dist/containers/DbnStyles.d.ts +14 -0
  160. package/dist/containers/Metric/EmbeddedMetric.d.ts +55 -0
  161. package/dist/containers/Metric/MergedMetric.d.ts +54 -0
  162. package/dist/containers/Metric/index.d.ts +97 -0
  163. package/dist/containers/PluginProvider.d.ts +7 -0
  164. package/dist/containers/index.d.ts +3 -0
  165. package/dist/helpers/adaptiveFormatter.d.ts +6 -0
  166. package/dist/helpers/areArraysEqual.d.ts +1 -0
  167. package/dist/helpers/autoCompleteHelpers.d.ts +95 -0
  168. package/dist/helpers/cardActions.d.ts +5 -0
  169. package/dist/helpers/chartOptions.d.ts +93 -0
  170. package/dist/helpers/checkIsElementInViewport.d.ts +1 -0
  171. package/dist/helpers/conditionalFormatting.d.ts +3 -0
  172. package/dist/helpers/copyToClipboard.d.ts +4 -0
  173. package/dist/helpers/createMetric.d.ts +35 -0
  174. package/dist/helpers/darkColorIdentifier.d.ts +2 -0
  175. package/dist/helpers/dateFormatter.d.ts +1 -0
  176. package/dist/helpers/generateColorPalette.d.ts +1 -0
  177. package/dist/helpers/generateTimeRangeWhereClause.d.ts +13 -0
  178. package/dist/helpers/getColumnType.d.ts +2 -0
  179. package/dist/helpers/getComboRangeLabel.d.ts +5 -0
  180. package/dist/helpers/getFilterAppliedQuery.d.ts +71 -0
  181. package/dist/helpers/getModifiedQuery.d.ts +78 -0
  182. package/dist/helpers/getNextScheduledTime.d.ts +13 -0
  183. package/dist/helpers/getTimeFilterValue.d.ts +12 -0
  184. package/dist/helpers/getValidRlsConditionOptions.d.ts +16 -0
  185. package/dist/helpers/groupArray.d.ts +1 -0
  186. package/dist/helpers/groupBy.d.ts +25 -0
  187. package/dist/helpers/index.d.ts +16 -0
  188. package/dist/helpers/numberFormatter.d.ts +1 -0
  189. package/dist/helpers/setOnDateChange.d.ts +11 -0
  190. package/dist/helpers/sqlMetadata.d.ts +7 -0
  191. package/dist/helpers/timeseries.d.ts +35 -0
  192. package/dist/helpers/timeseriesOption.d.ts +72 -0
  193. package/dist/helpers/tooltipFormatter.d.ts +27 -0
  194. package/dist/helpers/treeMap.d.ts +6 -0
  195. package/dist/hooks/index.d.ts +12 -0
  196. package/dist/hooks/useArchiveMetric.d.ts +10 -0
  197. package/dist/hooks/useAutoCompleteOptions.d.ts +4 -0
  198. package/dist/hooks/useClientDashboardLayout.d.ts +21 -0
  199. package/dist/hooks/useDashboardContext.d.ts +39 -0
  200. package/dist/hooks/useDatasetMetric.d.ts +50 -0
  201. package/dist/hooks/useDebounce.d.ts +2 -0
  202. package/dist/hooks/useDownloadRawCsv.d.ts +21 -0
  203. package/dist/hooks/useDrag.d.ts +10 -0
  204. package/dist/hooks/useDragAndDropState.d.ts +10 -0
  205. package/dist/hooks/useDrop.d.ts +13 -0
  206. package/dist/hooks/useEmbeddedMetric.d.ts +27 -0
  207. package/dist/hooks/useExternalMetric.d.ts +55 -0
  208. package/dist/hooks/useGenerateDatasetMetrics.d.ts +16 -0
  209. package/dist/hooks/useGenerateMetric.d.ts +64 -0
  210. package/dist/hooks/useMetricCard.d.ts +130 -0
  211. package/dist/hooks/useMetricConfig.d.ts +63 -0
  212. package/dist/hooks/useNewEmbeddedDashboard.d.ts +37 -0
  213. package/dist/hooks/useOutsideAlerter.d.ts +14 -0
  214. package/dist/hooks/usePublishArchivedMetrics.d.ts +5 -0
  215. package/dist/hooks/usePythonResults.d.ts +17 -0
  216. package/dist/hooks/useScheduleEmail.d.ts +38 -0
  217. package/dist/hooks/useSearch.d.ts +55 -0
  218. package/dist/hooks/useUnderlyingData.d.ts +32 -0
  219. package/dist/index.d.ts +8 -0
  220. package/dist/queries/externalDashboard.mutation.d.ts +61 -0
  221. package/dist/queries/externalDashboard.query.d.ts +20 -0
  222. package/dist/queries/index.d.ts +1 -0
  223. package/dist/queries/metric.mutation.d.ts +57 -0
  224. package/dist/queries/metric.query.d.ts +12 -0
  225. package/dist/types/app.d.ts +964 -0
  226. package/dist/types/dragAndDropProps.d.ts +70 -0
  227. package/dist/types/index.d.ts +3 -0
  228. package/dist/types/metricCreate.d.ts +768 -0
  229. package/dist/types/queryTypes.d.ts +350 -0
  230. package/dist/usa-c14e93e4.mjs +15112 -0
  231. package/dist/utils/arrayToCsvString.d.ts +6 -0
  232. package/dist/utils/colors.d.ts +2 -0
  233. package/dist/utils/fetcher.d.ts +13 -0
  234. package/dist/utils/getChartAttributes.d.ts +98 -0
  235. package/dist/utils/getChartImage.d.ts +3 -0
  236. package/dist/utils/getChartOptions.d.ts +42 -0
  237. package/dist/utils/getFormattedDataType.d.ts +1 -0
  238. package/dist/utils/getNoAxisChartOptions.d.ts +25 -0
  239. package/dist/utils/getValidJson.d.ts +1 -0
  240. package/dist/utils/index.d.ts +9 -0
  241. package/dist/utils/pivotDataTransform.d.ts +7 -0
  242. package/dist/utils/popoverPosition.d.ts +2 -0
  243. package/dist/utils/theme.d.ts +42 -0
  244. package/dist/webcomponents.d.ts +11 -0
  245. package/dist/webcomponents.es.js +224001 -0
  246. package/dist/webcomponents.umd.js +4436 -0
  247. package/dist/world-8db01cf5.mjs +45896 -0
  248. package/package.json +1 -1
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import { FieldValues, Control } from 'react-hook-form';
3
+ type Props = {
4
+ control: Control<FieldValues, object>;
5
+ placeholder?: string;
6
+ name?: string;
7
+ id?: string;
8
+ value?: string;
9
+ label?: string;
10
+ type: string;
11
+ onBlur?: () => void;
12
+ onFocus?: () => void;
13
+ onKeyDown?: () => void;
14
+ onChange?: (e: string) => void;
15
+ defaultValue?: string | number | readonly string[] | undefined;
16
+ error?: any;
17
+ icon?: any;
18
+ checked?: boolean;
19
+ isDisabled?: boolean;
20
+ labelClass?: string;
21
+ inputClass?: string;
22
+ className?: string;
23
+ width?: string;
24
+ innerPlaceholder?: boolean;
25
+ innerPlaceholderText?: string;
26
+ min?: number;
27
+ onChangeTags?: (tags?: string[]) => void;
28
+ defaultTagValue?: string[];
29
+ isImportant?: boolean;
30
+ };
31
+ export declare const TagInputField: ({ control, placeholder, name, label, onChangeTags, onChange, defaultTagValue, isImportant, isDisabled, width, }: Props) => React.JSX.Element;
32
+ declare const _default: React.MemoExoticComponent<({ control, placeholder, name, label, onChangeTags, onChange, defaultTagValue, isImportant, isDisabled, width, }: Props) => React.JSX.Element>;
33
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { Colors } from '@/types';
3
+ interface Props {
4
+ variant?: 'heading-xl' | 'heading-lg' | 'heading' | 'heading-sm' | 'heading-xs' | 'heading-2' | 'sec-heading-1' | 'sec-heading-2' | 'sec-heading-3' | 'sec-heading-4' | 'sec-heading-5' | 'sec-heading-6' | 'new-heading-2' | 'new-heading-4' | 'new-heading-5' | 'new-heading-6' | 'body-text-lg' | 'body-text' | 'body-text-sm' | 'new-body-text-sm' | 'btn' | 'label' | 'input-label' | 'subtext' | 'tag-or-flag' | 'subtext-forms' | 'code' | 'sub-label' | 'display' | 'new-display' | 'body-text-xs' | 'small-text' | 'faq-content';
5
+ color?: Colors;
6
+ children: React.ReactNode;
7
+ onClick?: () => void;
8
+ display?: 'block' | 'inline' | 'inline-truncate' | 'truncate';
9
+ opacity?: 0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1;
10
+ italic?: boolean;
11
+ alignment?: 'center' | 'left' | 'right';
12
+ onHoverStyle?: string;
13
+ }
14
+ export declare const Text: ({ children, variant, color, display, onClick, opacity, italic, alignment, onHoverStyle, }: Props) => React.JSX.Element;
15
+ export {};
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { UseFormRegisterReturn } from 'react-hook-form';
3
+ interface Props extends React.HTMLProps<HTMLTextAreaElement> {
4
+ id: string;
5
+ label: string;
6
+ placeholder?: string;
7
+ rows: number;
8
+ cols?: number;
9
+ resizable?: boolean;
10
+ defaultValue?: string;
11
+ value?: string;
12
+ register?: UseFormRegisterReturn;
13
+ error?: any;
14
+ onFocus?: any;
15
+ onBlur?: any;
16
+ className?: string;
17
+ leftIcon?: JSX.Element;
18
+ rightIcon?: JSX.Element;
19
+ isDisabled?: boolean;
20
+ onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
21
+ isImportant?: boolean;
22
+ }
23
+ export declare const TextAreaField: ({ id, label, placeholder, rows, cols, resizable, register, error, defaultValue, value, onFocus, onBlur, className, leftIcon, rightIcon, isDisabled, isImportant, ...rest }: Props) => React.JSX.Element;
24
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ type ThemeBlockProps = {
3
+ colors: string[];
4
+ bgColor?: string;
5
+ hideBackground?: boolean;
6
+ };
7
+ export declare const ThemeBlock: ({ colors, bgColor, hideBackground, }: ThemeBlockProps) => React.JSX.Element;
8
+ export {};
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { FieldValues, UseFormRegister } from 'react-hook-form';
3
+ type Props = {
4
+ isShowlabel?: boolean;
5
+ timeGrainValue: string;
6
+ setTimeGrainValue: React.Dispatch<React.SetStateAction<string>> | ((value: string) => void);
7
+ register?: UseFormRegister<FieldValues>;
8
+ className?: string;
9
+ isDisabled?: boolean;
10
+ containerClass?: string;
11
+ onChange?: (value: string) => void;
12
+ labelVariant?: 'floating' | 'static';
13
+ label?: string;
14
+ isRow?: boolean;
15
+ };
16
+ export declare const TimeGrainField: ({ isShowlabel, timeGrainValue, setTimeGrainValue, register, className, isDisabled, containerClass, onChange, labelVariant, label, isRow, }: Props) => React.JSX.Element;
17
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { TimeSeriesSettingsProps } from '@/types';
3
+ export declare const TIMESERIES_GROUP_OPTION: {
4
+ value: string;
5
+ label: string;
6
+ }[];
7
+ declare const TimeSeriesSettings: ({ onChange, settings: { groupBySettings, seriesType }, yAxisList, onChangeTimeseriesFormat, globalFilterOptions, }: TimeSeriesSettingsProps) => React.JSX.Element;
8
+ export default TimeSeriesSettings;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { IconType } from '@/types';
3
+ type ToggleIconBtnState = {
4
+ iconName: IconType;
5
+ title: string;
6
+ };
7
+ type ToggleIconBtnProps = {
8
+ enableState: ToggleIconBtnState;
9
+ disableState: ToggleIconBtnState;
10
+ isEnabled?: boolean;
11
+ onClick: Function;
12
+ };
13
+ declare const ToggleIconBtn: ({ enableState, disableState, isEnabled, onClick, }: ToggleIconBtnProps) => React.JSX.Element;
14
+ export { ToggleIconBtn };
@@ -0,0 +1,67 @@
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';
64
+ export * from './ScheduleEmail';
65
+ export * from './ScheduleEmail/ScheduleEmailForm';
66
+ export * from './ToggleIconBtn';
67
+ export * from './FileUploader';
@@ -0,0 +1,81 @@
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";
65
+ export declare const ENTER_FULL_SCREEN = "ENTER_FULL_SCREEN_MODE";
66
+ export declare const EXIT_FULL_SCREEN = "EXIT_FULL_SCREEN_MODE";
67
+ export declare const ENTER_SCHEDULED_REPORT = "ENTER_SCHEDULED_REPORT_MODE";
68
+ export declare const SAVE_SCHEDULED_REPORT = "SAVE_SCHEDULED_REPORT";
69
+ export declare const EXIT_SCHEDULED_REPORT = "EXIT_SCHEDULED_REPORT_MODE";
70
+ export declare const ENTER_CUSTOMIZE_LAYOUT = "ENTER_CUSTOMIZE_LAYOUT_MODE";
71
+ export declare const EXIT_CUSTOMIZE_LAYOUT = "EXIT_CUSTOMIZE_LAYOUT_MODE";
72
+ export declare const SAVE_LAYOUT = "SAVE_LAYOUT";
73
+ export declare const ENTER_MANAGE_METRICS = "ENTER_MANAGE_METRICS_MODE";
74
+ export declare const EXIT_MANAGE_METRICS = "EXIT_MANAGE_METRICS_MODE";
75
+ export declare const SAVE_MANAGE_METRICS = "SAVE_MANAGE_METRICS";
76
+ export declare const ARCHIVE_METRIC = "ARCHIVE_METRIC";
77
+ export declare const DOWNLOAD_METRIC = "DOWNLOAD_METRIC";
78
+ export declare const DOWNLOAD_METRIC_WITHOUT_FILTERS = "DOWNLOAD_METRIC_WITHOUT_FILTERS";
79
+ export declare const SAVE_METRIC_PNG = "SAVE_METRIC_PNG";
80
+ export declare const METRIC_FILTER_APPLIED = "METRIC_FILTER_APPLIED";
81
+ export declare const DASHBOARD_FILTER_APPLIED = "DASHBOARD_FILTER_APPLIED";
@@ -0,0 +1,157 @@
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
+ bullet: string;
40
+ verticalCombo: string;
41
+ };
42
+ export declare const chartOptions: {
43
+ name: string;
44
+ icon: string;
45
+ label: string;
46
+ }[];
47
+ export declare const timeStamp: {
48
+ month: string;
49
+ quarter: string;
50
+ daily: string;
51
+ weekly: string;
52
+ yearly: string;
53
+ };
54
+ export declare const STATUS_TAB = "STATUS_TAB";
55
+ export declare const STREAM_TAB = "STREAM_TAB";
56
+ export declare const CLIENT_NAME_VAR = "client_id_variable";
57
+ export declare const STACK_AXIS = "stack";
58
+ export declare const RLS_CONDITIONS: Record<string, string>;
59
+ export declare const CHART_TAB = "CHART_TAB";
60
+ export declare const TABLE_TAB = "TABLE_TAB";
61
+ export declare const QUERY_TAB = "QUERY_TAB";
62
+ export declare const INPUT_TABLE = "INPUT_TABLE";
63
+ export declare const OUTPUT_TABLE = "OUTPUT_TABLE";
64
+ export declare const DOUGHNUT = "doughnut";
65
+ export declare const PIE = "pie";
66
+ export declare const SANKEY = "sankey";
67
+ export declare const BOXPLOT = "boxplot";
68
+ export declare const TABLE = "table";
69
+ export declare const GENERAL = "general";
70
+ export declare const CONFIG = "configuration";
71
+ export declare const TOP_LEFT = "top-left";
72
+ export declare const TOP_RIGHT = "top-right";
73
+ export declare const BOTTOM_LEFT = "bottom-left";
74
+ export declare const BOTTOM_RIGHT = "bottom-right";
75
+ export declare const DESTINATIONS: Record<string, string>;
76
+ export declare const DATABASE_NAME = "{{DATABASE_NAME}}";
77
+ export declare const CLIENT_NAME_VAR_NUM = "'client_id_variable'";
78
+ export declare const DATABASE = "DATABASE";
79
+ export declare const WEEK_DAYS: {
80
+ value: string;
81
+ label: string;
82
+ }[];
83
+ export declare const TIME_ZONES: {
84
+ value: string;
85
+ label: string;
86
+ timezoneOffset: number;
87
+ }[];
88
+ export declare const TIME: {
89
+ value: string;
90
+ label: string;
91
+ }[];
92
+ export declare const DATE_NUM: {
93
+ value: string;
94
+ label: string;
95
+ }[];
96
+ export declare const FREQUENCY: {
97
+ value: string;
98
+ label: string;
99
+ }[];
100
+ export declare const RAW_CSV_OPTIONS: string[];
101
+ export declare const NONE = "NONE";
102
+ export declare const REQUESTED = "REQUESTED";
103
+ export declare const AVAILABLE = "AVAILABLE";
104
+ export declare const NA_VALUE = "N/A";
105
+ export declare const NUMBER_FORMAT: {
106
+ label: string;
107
+ value: string;
108
+ }[];
109
+ export declare const LINEAR_V2_NUMBER_FORMAT: {
110
+ label: string;
111
+ value: string;
112
+ }[];
113
+ export declare const DATE_FORMAT: {
114
+ label: string;
115
+ value: string;
116
+ }[];
117
+ export declare const LINEAR_POINTER_SIZE: {
118
+ label: string;
119
+ value: string;
120
+ }[];
121
+ export declare const ICONS_LIST: readonly ["function", "unmerge", "move file", "ruler", "help", "merge", "merge-2", "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", "info-filled", "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", "align-center", "arrows-horizontal", "angle", "arrows-vertical", "rectangle", "circular", "diamond", "triangle", "arrow-shape", "straignt-line", "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", "explore", "download_table", "schedule", "saved-schedule", "pwd-check", "no-internet", "warning-icon", "wrap", "unwrap", "sparkle", "variable", "table-2", "cross-2", "seal-check", "spinning-loader", "green-bg-check"];
122
+ export declare const NUMBER = "number";
123
+ export declare const STRING = "string";
124
+ export declare const BOOLEAN = "boolean";
125
+ export declare const DEFAULT = "default";
126
+ export declare const DATE = "date";
127
+ export declare const AND = "AND";
128
+ export declare const IS_NOT_NULL = "IS NOT NULL";
129
+ export declare const AS_SIGNED = "AS SIGNED";
130
+ export declare const AS_BIGINT = "AS BIGINT";
131
+ export declare const AS_VARCHAR = "AS VARCHAR";
132
+ export declare const AS_CHAR = "AS CHAR";
133
+ export declare const AS_STRING = "AS STRING";
134
+ export declare const AS_DATE = "AS DATE";
135
+ export declare const CAST = "CAST";
136
+ export declare const IN = "IN";
137
+ export declare const EQUAL_OPERATOR = "=";
138
+ export declare const YEAR = "year";
139
+ export declare const LAST = "last";
140
+ export declare const LIKE = "like";
141
+ export declare const MULTI_SELECT = "MULTI_SELECT";
142
+ export declare const SINGLE_SELECT = "SINGLE_SELECT";
143
+ export declare const SEARCH = "SEARCH";
144
+ export declare const DATE_PICKER = "DATE_PICKER";
145
+ export declare const DATE_PRESET = "DATE_PRESET";
146
+ export declare const NUMBER_FIELD = "NUMBER_FIELD";
147
+ export declare const BETWEEN = "BETWEEN";
148
+ export declare const CUSTOM = "custom";
149
+ export declare const ASCE = "ascending";
150
+ export declare const DESC = "descending";
151
+ export declare const IS_SELF_HOSTED: any;
152
+ export declare const DBN_APP_TOKEN = "@app:token";
153
+ export declare const selfHostedUrl: () => string;
154
+ export declare const SERVER_ERROR = "Internal Server Error";
155
+ export declare const CHAT_ERROR = "Oops! Couldn't find the data needed to generate the result for your query.";
156
+ export declare const CHAT_ERROR2 = "Try a different question or give more details for better assistance!";
157
+ export declare const convertArrayToObject: (items: any[]) => any;
@@ -0,0 +1,2 @@
1
+ export * from './app';
2
+ export * from './metricOptions';
@@ -0,0 +1,209 @@
1
+ import { ChartSettingsType, DatasetMetricCreationConfiguration, DatasetSettings, FloatingDropDownOption, MetricVariableType, 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 VARIABLE_TYPE_OPTIONS: FloatingDropDownOption[];
39
+ export declare const DEFAULT_VARIABLE_VALUE: MetricVariableType;
40
+ export declare const SET_DATE_LABEL = "Set Date";
41
+ export declare const SET_RANGE_LABEL = "Set Range";
42
+ export declare const DEFAULT_COMPARISON_LAG_SETTINGS: {
43
+ column: {
44
+ value: string;
45
+ label: string;
46
+ };
47
+ timeGrain: {
48
+ value: string;
49
+ label: string;
50
+ };
51
+ differenceType: "PERCENTAGE_DIFFERENCE" | "DIFFERENCE";
52
+ timeColumnLabel: string;
53
+ periodLag: number;
54
+ };
55
+ export declare const DEFAULT_FORECAST_VALUES: {
56
+ isEnable: boolean;
57
+ forecastPeriods: number;
58
+ modelName: string;
59
+ confidenceInterval: number;
60
+ timeColumnName: string;
61
+ measureColumnName: string;
62
+ timeGrain: string;
63
+ yearlySeasonality: boolean;
64
+ weeklySeasonality: boolean;
65
+ dailySeasonality: boolean;
66
+ orderP: number;
67
+ orderD: number;
68
+ orderQ: number;
69
+ trend: {
70
+ value: string;
71
+ label: string;
72
+ };
73
+ growth: string;
74
+ };
75
+ export declare const DEFAULT_CREATE_DATSET_METRIC_CONFIG: DatasetMetricCreationConfiguration;
76
+ export declare const DEFAULT_DATASET_SETTINGS: DatasetSettings;
77
+ export declare const SORT_TYPE: {
78
+ value: string;
79
+ label: string;
80
+ }[];
81
+ export declare const operatorList: {
82
+ value: string;
83
+ label: string;
84
+ }[];
85
+ export declare const RELATION_OPERATOR_LIST: {
86
+ value: string;
87
+ label: string;
88
+ }[];
89
+ export declare const DISABLED_CHART_DRILL = "Selected Chart Doesn't support Drill Down.";
90
+ export declare const DISABLED_METRIC_DRILL = "Please add aggreagte metrics and dimensions to enable drill.";
91
+ export declare const STRING_OPERATOR_LIST: {
92
+ value: string;
93
+ label: string;
94
+ }[];
95
+ export declare const NUMBER_OPERATOR_LIST: {
96
+ value: string;
97
+ label: string;
98
+ }[];
99
+ export declare const TIME_OPERATOR_LIST: {
100
+ value: string;
101
+ label: string;
102
+ }[];
103
+ export declare const DBN_SQL_TABLE = "dbn_sql_table";
104
+ export declare const DATASET_TIME_HELPER_FUNCTIONS: FloatingDropDownOption[];
105
+ export declare const DATE_FORMATS: string[];
106
+ export declare const DATASET_STRING_HELPER_FUNCTIONS: {
107
+ value: string;
108
+ label: string;
109
+ }[];
110
+ export declare const LEAST_USED_STRING_FUNCTIONS: string[];
111
+ export declare const DATASET_NUMBER_HELPER_FUNCTIONS: {
112
+ value: string;
113
+ label: string;
114
+ }[];
115
+ export declare const aggregateStrings: string[];
116
+ export declare const FUNCTIONS_SYNONYMNS: Record<string, string[]>;
117
+ export declare const SORT_SYNONYMNS: Record<string, string[]>;
118
+ export declare const NUMBER_SYNONYMNS: Record<string, number>;
119
+ export declare const questionKeywords: string[];
120
+ export declare const groupbySynonyms: string[];
121
+ export declare const TIME_FILTER_SYNONYMNS: {
122
+ label: string;
123
+ value: string;
124
+ synonyms: string[];
125
+ alias: (column: string) => string;
126
+ }[];
127
+ export declare const NULL_FILTER_SYNONYMNS: {
128
+ value: string;
129
+ label: string;
130
+ synonymns: string[];
131
+ alias: (column: string) => string;
132
+ }[];
133
+ export declare const NUMBER_FILTER_SYNONYMNS: {
134
+ value: string;
135
+ label: string;
136
+ synonymns: string[];
137
+ }[];
138
+ export declare const STRING_FILTER_SYNONYMS: {
139
+ '=': string[];
140
+ '<>': string[];
141
+ LIKE: string[];
142
+ 'NOT LIKE': string[];
143
+ IN: string[];
144
+ 'NOT IN': string[];
145
+ };
146
+ export declare const STRING_FILTER_OPTIONS: ({
147
+ value: string;
148
+ synonyms: string[];
149
+ alias: (name: string, value: string) => string;
150
+ filterValue: (value: string) => {
151
+ stringArray: string[];
152
+ };
153
+ } | {
154
+ value: string;
155
+ synonyms: string[];
156
+ alias: (name: string, value: string) => string;
157
+ filterValue: (value: string) => {
158
+ stringValue: string;
159
+ };
160
+ })[];
161
+ export declare const STRING_LIKE_OPERATORS: {
162
+ value: string;
163
+ synonyms: string[];
164
+ alias: (name: string) => string;
165
+ filterValue: () => {
166
+ stringValue: string;
167
+ };
168
+ }[];
169
+ export declare const DATASET_OTHER_HELPER_FUNCTIONS: {
170
+ value: string;
171
+ label: string;
172
+ }[];
173
+ export declare const DATASET_NUM_HELPER_FUNCTIONS: {
174
+ value: string;
175
+ label: string;
176
+ }[];
177
+ export declare const REDSHIFT = "redshift";
178
+ export declare const SNOWFLAKE = "snowflake";
179
+ export declare const BIGQUERY = "bigquery";
180
+ export declare const MYSQL = "mysql";
181
+ export declare const MSSQL = "mssql";
182
+ export declare const POSTGRES = "postgres";
183
+ export declare const MONGODB = "mongodb";
184
+ export declare const DATABRICKS = "databricks";
185
+ export declare const CLICKHOUSE = "clickhouse";
186
+ export declare const AWSS3 = "awss3";
187
+ export declare const CSV = "csv";
188
+ export declare const ELASTICSEARCH = "elasticsearch";
189
+ export declare const POSTGRESQL = "postgresql";
190
+ export declare const DOWNLOAD_DATA_OPTIONS: {
191
+ RAW_DATA: string;
192
+ DOWNLOAD_WITHOUT_FILTERS: string;
193
+ EMAIL_RAW_DATA: string;
194
+ PIVOT_CSV: string;
195
+ SAVE_AS_PNG: string;
196
+ };
197
+ export declare const CUSTOM_FILTER_TABLE_ALIAS = "custom_table_alias_rls";
198
+ export declare const CAST_COLUMN_AS: {
199
+ value: string;
200
+ label: string;
201
+ icon: string;
202
+ }[];
203
+ export declare const arithmeticOperators: FloatingDropDownOption[];
204
+ export declare const keywordToIgnore: string[];
205
+ export declare const keywordToIgnoreRegExp: RegExp;
206
+ export declare const DEFAULT_SEARCH_STATE: SearchState;
207
+ export declare const DEFAULT_SEARCH_CHAT: SearchStateChatType;
208
+ export declare const decimalTypes: string[];
209
+ export declare const switchAxisCharts: string[];
@@ -0,0 +1,24 @@
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
+ };