@databrainhq/plugin 0.14.42 → 0.14.43
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 +1 -0
- package/dist/components/GlobalFilters/index.d.ts +2 -0
- package/dist/components/List/index.d.ts +6 -1
- package/dist/consts/app.d.ts +1 -0
- package/dist/helpers/getModifiedQuery.d.ts +7 -0
- package/dist/webcomponents.es.js +57957 -57904
- package/dist/webcomponents.umd.js +204 -204
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ type GlobalFiltersProps = {
|
|
|
18
18
|
};
|
|
19
19
|
addGlobalFilter?: JSX.Element;
|
|
20
20
|
filterOptions?: (column: string) => JSX.Element;
|
|
21
|
+
tenancyLevel: string;
|
|
21
22
|
};
|
|
22
23
|
export declare const getFormattedFilterValue: (obj: {
|
|
23
24
|
operator: string;
|
|
@@ -46,6 +47,7 @@ type FilterPopupProps = {
|
|
|
46
47
|
radius: string;
|
|
47
48
|
};
|
|
48
49
|
filterOptions?: (column: string) => JSX.Element;
|
|
50
|
+
tenancyLevel: string;
|
|
49
51
|
};
|
|
50
52
|
export declare const FilterPopup: React.FC<FilterPopupProps>;
|
|
51
53
|
export {};
|
|
@@ -16,5 +16,10 @@ export type ListProps = {
|
|
|
16
16
|
initialLimit?: number;
|
|
17
17
|
isDataLoading?: boolean;
|
|
18
18
|
showLogo?: boolean;
|
|
19
|
+
isShowOptions?: boolean;
|
|
20
|
+
setValue?: React.Dispatch<React.SetStateAction<{
|
|
21
|
+
action: string;
|
|
22
|
+
id: string;
|
|
23
|
+
}>>;
|
|
19
24
|
};
|
|
20
|
-
export declare const List: ({ headers, data, variant, noDataText, loadMoreText, className, initialLimit, isDataLoading, showLogo, }: ListProps) => React.JSX.Element;
|
|
25
|
+
export declare const List: ({ headers, data, variant, noDataText, loadMoreText, className, initialLimit, isDataLoading, showLogo, isShowOptions, setValue, }: ListProps) => React.JSX.Element;
|
package/dist/consts/app.d.ts
CHANGED
|
@@ -19,6 +19,13 @@ export type ReplaceVariable = {
|
|
|
19
19
|
isAllClient?: boolean;
|
|
20
20
|
globalFilters?: MetricCardProps['globalFilters'];
|
|
21
21
|
};
|
|
22
|
+
type ReplaceClientVariableParams = {
|
|
23
|
+
query: string;
|
|
24
|
+
clientId?: string | number | null;
|
|
25
|
+
tenancyLevel: string;
|
|
26
|
+
isAllClient?: boolean;
|
|
27
|
+
};
|
|
28
|
+
export declare const replaceClientVariable: ({ clientId, query, tenancyLevel, isAllClient, }: ReplaceClientVariableParams) => string;
|
|
22
29
|
export declare const replaceVariable: ({ query, rlsConditions, tenancyLevel, clientId, values, isAllClient, globalFilters, }: ReplaceVariable) => string;
|
|
23
30
|
export declare const nameSpace: (name: string, dbName: string) => string;
|
|
24
31
|
export declare const nameSpaceSpecification: (parentAlias: string, columnName: string, dbName: string) => string;
|