@databrainhq/plugin 0.12.5 → 0.12.7
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/FilterDropDown/index.d.ts +1 -0
- package/dist/components/GlobalFilters/Filters.d.ts +4 -0
- package/dist/components/GlobalFilters/HorizontalFilters.d.ts +1 -0
- package/dist/components/GlobalFilters/index.d.ts +2 -0
- package/dist/types/app.d.ts +5 -0
- package/dist/webcomponents.es.js +18849 -18768
- package/dist/webcomponents.umd.js +174 -174
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export type FilterDropDownProps = Omit<FloatingDropDownProps, 'options' | 'isDis
|
|
|
8
8
|
filterClause?: {
|
|
9
9
|
columnName?: string;
|
|
10
10
|
value?: string;
|
|
11
|
+
as?: string;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
export declare const FilterDropDown: ({ filter, onChange, selectedOption, autoSelected, workspaceId, filterClause, ...rest }: FilterDropDownProps) => React.JSX.Element;
|
|
@@ -9,6 +9,9 @@ export type FilterColumn = {
|
|
|
9
9
|
isShowHorizontal?: boolean;
|
|
10
10
|
label?: string;
|
|
11
11
|
options?: FloatingDropDownOption[];
|
|
12
|
+
isClientScoped?: boolean;
|
|
13
|
+
clientColumn?: string;
|
|
14
|
+
clientColumnType?: string;
|
|
12
15
|
};
|
|
13
16
|
type FiltersProps = {
|
|
14
17
|
filterList: FilterColumn[];
|
|
@@ -20,6 +23,7 @@ type FiltersProps = {
|
|
|
20
23
|
isInternal: boolean;
|
|
21
24
|
workspaceId: string;
|
|
22
25
|
};
|
|
26
|
+
clientId?: string;
|
|
23
27
|
};
|
|
24
28
|
export declare const Filters: React.FC<FiltersProps>;
|
|
25
29
|
export {};
|
|
@@ -11,6 +11,7 @@ type GlobalFiltersProps = {
|
|
|
11
11
|
isInternal: boolean;
|
|
12
12
|
workspaceId: string;
|
|
13
13
|
};
|
|
14
|
+
clientId?: string;
|
|
14
15
|
};
|
|
15
16
|
export declare const getFormattedFilterValue: (obj: {
|
|
16
17
|
operator: string;
|
|
@@ -31,6 +32,7 @@ type FilterPopupProps = {
|
|
|
31
32
|
isInternal: boolean;
|
|
32
33
|
workspaceId: string;
|
|
33
34
|
};
|
|
35
|
+
clientId?: string;
|
|
34
36
|
};
|
|
35
37
|
export declare const FilterPopup: React.FC<FilterPopupProps>;
|
|
36
38
|
export {};
|
package/dist/types/app.d.ts
CHANGED
|
@@ -156,6 +156,7 @@ export type ChartSettingsType = {
|
|
|
156
156
|
seriesField?: string;
|
|
157
157
|
metricFilterPosition?: string;
|
|
158
158
|
seriesOptions?: string[];
|
|
159
|
+
ungroupedAlias?: string;
|
|
159
160
|
dynamicXAxis?: {
|
|
160
161
|
isEnabled?: boolean;
|
|
161
162
|
options?: FloatingDropDownOption[];
|
|
@@ -182,6 +183,9 @@ export type Schema = {
|
|
|
182
183
|
isShowHorizontal?: boolean;
|
|
183
184
|
defaultValue?: string[] | string | number | number[] | Record<string, any>;
|
|
184
185
|
options?: FloatingDropDownOption[];
|
|
186
|
+
isClientScoped?: boolean;
|
|
187
|
+
clientColumn?: string;
|
|
188
|
+
clientColumnType?: string;
|
|
185
189
|
}[];
|
|
186
190
|
};
|
|
187
191
|
export type RlsFilterObjectType = {
|
|
@@ -265,6 +269,7 @@ export type RlsCondition = {
|
|
|
265
269
|
client?: {
|
|
266
270
|
isEnable: boolean;
|
|
267
271
|
columnName: string;
|
|
272
|
+
as?: string;
|
|
268
273
|
};
|
|
269
274
|
isAppFilter?: boolean;
|
|
270
275
|
};
|