@databrainhq/plugin 0.14.33 → 0.14.35
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/GlobalFilters/Filters.d.ts +1 -0
- package/dist/components/GlobalFilters/HorizontalFilters.d.ts +2 -0
- package/dist/components/GlobalFilters/index.d.ts +3 -0
- package/dist/components/Icons/Logos/index.d.ts +1 -0
- package/dist/components/MetricFilterDropDown/index.d.ts +3 -2
- package/dist/components/ThemeBlock/index.d.ts +2 -1
- package/dist/queries/metric.query.d.ts +1 -1
- package/dist/types/app.d.ts +1 -1
- package/dist/types/queryTypes.d.ts +1 -0
- package/dist/webcomponents.es.js +18835 -18778
- package/dist/webcomponents.umd.js +166 -166
- package/package.json +1 -1
|
@@ -16,6 +16,8 @@ type HorizontalFiltersProps = {
|
|
|
16
16
|
variant: 'static' | 'floating';
|
|
17
17
|
radius: string;
|
|
18
18
|
};
|
|
19
|
+
addGlobalFilter?: JSX.Element;
|
|
20
|
+
filterOptions?: (column: string) => JSX.Element;
|
|
19
21
|
};
|
|
20
22
|
export declare const HorizontalFilters: React.FC<HorizontalFiltersProps>;
|
|
21
23
|
export {};
|
|
@@ -17,6 +17,8 @@ type GlobalFiltersProps = {
|
|
|
17
17
|
variant: 'static' | 'floating';
|
|
18
18
|
radius: string;
|
|
19
19
|
};
|
|
20
|
+
addGlobalFilter?: JSX.Element;
|
|
21
|
+
filterOptions?: (column: string) => JSX.Element;
|
|
20
22
|
};
|
|
21
23
|
export declare const getFormattedFilterValue: (obj: {
|
|
22
24
|
operator: string;
|
|
@@ -44,6 +46,7 @@ type FilterPopupProps = {
|
|
|
44
46
|
variant: 'static' | 'floating';
|
|
45
47
|
radius: string;
|
|
46
48
|
};
|
|
49
|
+
filterOptions?: (column: string) => JSX.Element;
|
|
47
50
|
};
|
|
48
51
|
export declare const FilterPopup: React.FC<FilterPopupProps>;
|
|
49
52
|
export {};
|
|
@@ -13,7 +13,8 @@ type Props = {
|
|
|
13
13
|
variant: 'static' | 'floating';
|
|
14
14
|
radius: string;
|
|
15
15
|
};
|
|
16
|
+
tenancyLevel?: string;
|
|
16
17
|
};
|
|
17
|
-
export declare const MetricFilterDropDown: ({ rlsConditions, onChangeFilterValue, workspaceId, clientId, className, rlsConditionList, isAllClient, dropdownTheme, }: Props) => React.JSX.Element;
|
|
18
|
-
declare const _default: React.MemoExoticComponent<({ rlsConditions, onChangeFilterValue, workspaceId, clientId, className, rlsConditionList, isAllClient, dropdownTheme, }: Props) => React.JSX.Element>;
|
|
18
|
+
export declare const MetricFilterDropDown: ({ rlsConditions, onChangeFilterValue, workspaceId, clientId, className, rlsConditionList, isAllClient, dropdownTheme, tenancyLevel, }: Props) => React.JSX.Element;
|
|
19
|
+
declare const _default: React.MemoExoticComponent<({ rlsConditions, onChangeFilterValue, workspaceId, clientId, className, rlsConditionList, isAllClient, dropdownTheme, tenancyLevel, }: Props) => React.JSX.Element>;
|
|
19
20
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
type ThemeBlockProps = {
|
|
3
3
|
colors: string[];
|
|
4
4
|
bgColor?: string;
|
|
5
|
+
hideBackground?: boolean;
|
|
5
6
|
};
|
|
6
|
-
export declare const ThemeBlock: ({ colors, bgColor }: ThemeBlockProps) => React.JSX.Element;
|
|
7
|
+
export declare const ThemeBlock: ({ colors, bgColor, hideBackground, }: ThemeBlockProps) => React.JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UseMetricQueryQueryInputType } from '
|
|
1
|
+
import { UseMetricQueryQueryInputType } from '@/types/queryTypes';
|
|
2
2
|
export declare const useMetricDataQuery: (data: UseMetricQueryQueryInputType) => import("react-query").UseQueryResult<{
|
|
3
3
|
data: unknown;
|
|
4
4
|
}, unknown>;
|
package/dist/types/app.d.ts
CHANGED
|
@@ -172,7 +172,7 @@ export type CustomSettings = {
|
|
|
172
172
|
};
|
|
173
173
|
export type Colors = 'primary' | 'primary-dark' | 'secondary' | 'secondary-dark' | 'alert' | 'alert-dark' | 'alert-light' | 'success' | 'success-dark' | 'success-light' | 'warning' | 'warning-dark' | 'info' | 'info-light' | 'white' | 'gray' | 'gray-dark' | 'light' | 'dark' | 'infoAlert';
|
|
174
174
|
export type IconType = (typeof ICONS_LIST)[number];
|
|
175
|
-
export type LogoType = 'redshift' | 'postgres' | 'mysql' | 'mongodb' | 'bigquery' | 'snowflake' | 'microsoft' | 'google' | 'elasticsearch' | 'redis' | 'databricks' | 'clickhouse';
|
|
175
|
+
export type LogoType = 'redshift' | 'postgres' | 'mysql' | 'mongodb' | 'bigquery' | 'snowflake' | 'microsoft' | 'google' | 'elasticsearch' | 'redis' | 'databricks' | 'clickhouse' | 'mssql';
|
|
176
176
|
export type IconSizes = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
177
177
|
export type IconConfig = {
|
|
178
178
|
size: IconSizes;
|