@databrainhq/plugin 0.12.14 → 0.12.16
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/DrillBreadCrumb/index.d.ts +2 -1
- package/dist/hooks/useMetricCard.d.ts +1 -0
- package/dist/types/app.d.ts +4 -0
- package/dist/webcomponents.es.js +21396 -21363
- package/dist/webcomponents.umd.js +161 -161
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const DrillBreadCrumb: ({ dimensions, drilledLevel, onResetLevel, }: {
|
|
2
|
+
export declare const DrillBreadCrumb: ({ dimensions, drilledLevel, onResetLevel, onDrillLevelClick, }: {
|
|
3
3
|
dimensions: string[];
|
|
4
4
|
drilledLevel: number;
|
|
5
5
|
onResetLevel: () => void;
|
|
6
|
+
onDrillLevelClick: (value: number) => void;
|
|
6
7
|
}) => React.JSX.Element;
|
|
7
8
|
export default DrillBreadCrumb;
|
|
@@ -21,6 +21,7 @@ type UseMetricCardProps = {
|
|
|
21
21
|
metricFilterOptions?: MetricFilterOptionsType;
|
|
22
22
|
};
|
|
23
23
|
export declare const useMetricCard: ({ metric, globalFilters, rlsFilters, clientId, chartSettings, setChartSettings, tenancyLevel, isInternalApp, appFilters, setCrossDashboardFilters, crossDashboardFilters, metricFilterOptions, }: UseMetricCardProps) => {
|
|
24
|
+
onDrillLevelClick: (index: number) => void;
|
|
24
25
|
onDrillDown: (params: any) => void;
|
|
25
26
|
handleChartClick: (params: any) => void;
|
|
26
27
|
dataDb: Record<string, any>[];
|
package/dist/types/app.d.ts
CHANGED
|
@@ -301,6 +301,8 @@ export type DateOptionType = {
|
|
|
301
301
|
count: number;
|
|
302
302
|
endDate?: Date;
|
|
303
303
|
startDate?: Date;
|
|
304
|
+
fromDate?: Date;
|
|
305
|
+
toDate?: Date;
|
|
304
306
|
minDate?: Date;
|
|
305
307
|
maxDate?: Date;
|
|
306
308
|
};
|
|
@@ -353,6 +355,8 @@ export type DateTypeOptionType = {
|
|
|
353
355
|
time?: 'Day' | 'Week' | 'Month' | 'Quarter' | 'Year';
|
|
354
356
|
name: string;
|
|
355
357
|
count?: number;
|
|
358
|
+
fromDate?: Date;
|
|
359
|
+
toDate?: Date;
|
|
356
360
|
minDate?: Date;
|
|
357
361
|
maxDate?: Date;
|
|
358
362
|
};
|