@databrainhq/plugin 0.10.21 → 0.10.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Chart/SingleValueChart.d.ts +2 -0
- package/dist/components/Icons/index.d.ts +1 -1
- package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +1 -1
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +4 -2
- package/dist/hooks/useMetricCard.d.ts +2 -0
- package/dist/index.es.js +14442 -14422
- package/dist/index.umd.js +125 -125
- package/dist/style.css +1 -1
- package/dist/types/app.d.ts +1 -0
- package/dist/types/metricCreate.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type IconsProps = {
|
|
3
|
-
name: 'data-exploration-icon' | 'dashboard-icon' | 'external-dashboard-icon' | 'sql-query-icon' | 'table-tab-icon' | 'visualization-icon' | 'arrow-back-icon' | 'logout-icon' | 'more-icon' | 'save-icon' | 'copy-icon' | 'dataset-icon' | 'filter-icon' | 'settings-icon' | 'info-icon' | 'schema-icon' | 'fullscreen-icon' | 'table-icon' | 'time-taken-icon' | 'setup-icon' | 'data-model-icon' | 'integration-icon' | 'external-dashboard-icon' | 'csv-icon' | 'iframe-icon' | 'dashboard-icon' | 'plus-icon' | 'checked-icon' | 'clone-icon' | 'close-icon' | 'double-arrow-left-icon' | 'double-arrow-right-icon' | 'metric-store-icon' | 'reset-icon' | 'play-icon' | 'tick-icon' | 'text-icon' | 'time-icon' | 'unknown-icon' | 'array-icon' | 'date-icon' | 'boolean-icon' | 'id-icon' | 'number-icon' | 'object-icon' | 'delete-icon' | 'plus-icon-2' | 'horizontal-more-icon';
|
|
3
|
+
name: 'data-exploration-icon' | 'dashboard-icon' | 'external-dashboard-icon' | 'sql-query-icon' | 'table-tab-icon' | 'visualization-icon' | 'arrow-back-icon' | 'logout-icon' | 'more-icon' | 'save-icon' | 'copy-icon' | 'dataset-icon' | 'filter-icon' | 'settings-icon' | 'info-icon' | 'schema-icon' | 'fullscreen-icon' | 'table-icon' | 'time-taken-icon' | 'setup-icon' | 'data-model-icon' | 'integration-icon' | 'external-dashboard-icon' | 'csv-icon' | 'iframe-icon' | 'dashboard-icon' | 'plus-icon' | 'checked-icon' | 'clone-icon' | 'close-icon' | 'double-arrow-left-icon' | 'double-arrow-right-icon' | 'metric-store-icon' | 'reset-icon' | 'play-icon' | 'tick-icon' | 'text-icon' | 'time-icon' | 'unknown-icon' | 'array-icon' | 'date-icon' | 'boolean-icon' | 'id-icon' | 'number-icon' | 'object-icon' | 'delete-icon' | 'plus-icon-2' | 'horizontal-more-icon' | 'arrow-up' | 'arrow-down';
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const Icons: React.FC<IconsProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MetricOutputProps } from '@/types/metricCreate';
|
|
3
|
-
export declare const MetricOutput: ({ data, error, isLoading, previewTableDataList, moreTabs, chartColors, chartSettings, setChartSettings, isUpdateMetric, isEnablePivotTable, groupbyList, }: MetricOutputProps) => JSX.Element;
|
|
3
|
+
export declare const MetricOutput: ({ data, error, isLoading, previewTableDataList, moreTabs, chartColors, chartSettings, setChartSettings, isUpdateMetric, isDisableSqlBtn, setShowSqlModal, isEnablePivotTable, groupbyList, }: MetricOutputProps) => JSX.Element;
|
package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
previewTableDataList: any[] | undefined;
|
|
4
4
|
outpuTableData: any[] | undefined;
|
|
5
5
|
isOutputLoading: boolean;
|
|
6
6
|
outputError: string;
|
|
7
7
|
isUpdateMetric?: boolean;
|
|
8
|
+
isDisableSqlBtn: boolean;
|
|
9
|
+
setShowSqlModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
8
10
|
};
|
|
9
|
-
export declare const TableTab: ({ outpuTableData, outputError, isOutputLoading, previewTableDataList, isUpdateMetric, }: Props) => JSX.Element;
|
|
11
|
+
export declare const TableTab: ({ outpuTableData, outputError, isOutputLoading, previewTableDataList, isUpdateMetric, isDisableSqlBtn, setShowSqlModal, }: Props) => JSX.Element;
|
|
10
12
|
export {};
|
|
@@ -50,5 +50,7 @@ export declare const useMetricCard: ({ metric, globalFilters, rlsFilters, client
|
|
|
50
50
|
};
|
|
51
51
|
onChangePage: (isPrev: boolean, resetValue: number) => void;
|
|
52
52
|
isExternalChart: boolean | undefined;
|
|
53
|
+
isEnablePivotTable: boolean;
|
|
54
|
+
groupByList: any[];
|
|
53
55
|
};
|
|
54
56
|
export {};
|