@databrainhq/plugin 0.7.17 → 0.7.18
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/Charts/Table/TableChart.d.ts +1 -1
- package/dist/components/MetricChart/MetricChart.d.ts +3 -2
- package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +1 -1
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/components/ChartConfigure/index.d.ts +4 -2
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/components/ChartSettings/index.d.ts +4 -2
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +4 -2
- package/dist/hooks/useExternalMetric.d.ts +3 -2
- package/dist/index.es.js +746 -491
- package/dist/index.umd.js +49 -49
- package/dist/style.css +1 -1
- package/dist/types/app.d.ts +12 -0
- package/dist/types/metricCreate.d.ts +3 -1
- package/package.json +1 -1
package/dist/types/app.d.ts
CHANGED
|
@@ -23,6 +23,18 @@ export declare type CustomSettings = {
|
|
|
23
23
|
dateFormatter: string;
|
|
24
24
|
numberFormatter: string;
|
|
25
25
|
};
|
|
26
|
+
export declare type TableSettings = {
|
|
27
|
+
contentAlignment: string;
|
|
28
|
+
lineGap: string;
|
|
29
|
+
hideVerticalDivider: boolean;
|
|
30
|
+
enableStripedRows: boolean;
|
|
31
|
+
showRowHover: boolean;
|
|
32
|
+
showTableTitle: boolean;
|
|
33
|
+
showTableDesc: boolean;
|
|
34
|
+
enableTableSearch: boolean;
|
|
35
|
+
enableFilter: boolean;
|
|
36
|
+
enableSorting: boolean;
|
|
37
|
+
};
|
|
26
38
|
export declare type BackgroundSettings = {
|
|
27
39
|
show: boolean;
|
|
28
40
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AxisSettings, BackgroundSettings, CustomSettings, LabelSettings, LegendSettings, RlsCondition, FloatingDropDownOption } from './app';
|
|
2
|
+
import { AxisSettings, BackgroundSettings, CustomSettings, LabelSettings, LegendSettings, RlsCondition, FloatingDropDownOption, TableSettings } from './app';
|
|
3
3
|
declare type ColumnData = {
|
|
4
4
|
name: string;
|
|
5
5
|
datatype: string;
|
|
@@ -101,6 +101,8 @@ export declare type MetricOutputProps = {
|
|
|
101
101
|
enableQueryTab?: boolean;
|
|
102
102
|
backGroundColor: BackgroundSettings;
|
|
103
103
|
setBackGroundColor: React.Dispatch<React.SetStateAction<BackgroundSettings>>;
|
|
104
|
+
tableSettings: TableSettings;
|
|
105
|
+
setTableSettings: React.Dispatch<React.SetStateAction<TableSettings>>;
|
|
104
106
|
rlsConditions?: RlsCondition[] | undefined;
|
|
105
107
|
onChangeFilterValue?: (name: string, value: string) => void;
|
|
106
108
|
moreTabs?: {
|