@databrainhq/plugin 0.12.16 → 0.12.17
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 +2 -0
- package/dist/types/app.d.ts +6 -0
- package/dist/utils/getChartAttributes.d.ts +8 -3
- package/dist/webcomponents.es.js +27061 -26844
- package/dist/webcomponents.umd.js +170 -170
- package/package.json +1 -1
- package/dist/helpers/hasUniqueKeyValues.d.ts +0 -1
package/dist/types/app.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ export type CustomSettings = {
|
|
|
95
95
|
offset1: number;
|
|
96
96
|
offset2: number;
|
|
97
97
|
direction: string;
|
|
98
|
+
isRadial: boolean;
|
|
98
99
|
}[];
|
|
99
100
|
isShowBarGradient?: boolean;
|
|
100
101
|
barGradient?: {
|
|
@@ -112,6 +113,8 @@ export type CustomSettings = {
|
|
|
112
113
|
offset2?: number;
|
|
113
114
|
direction?: string;
|
|
114
115
|
};
|
|
116
|
+
labelPrefix?: string;
|
|
117
|
+
labelSuffix?: string;
|
|
115
118
|
};
|
|
116
119
|
export type TableSettings = {
|
|
117
120
|
contentAlignment?: string;
|
|
@@ -189,6 +192,7 @@ export type ChartSettingsType = {
|
|
|
189
192
|
measure?: string;
|
|
190
193
|
singleValue?: string;
|
|
191
194
|
sankeyValues?: string[];
|
|
195
|
+
percentageSize?: number;
|
|
192
196
|
legendSettings?: LegendSettings;
|
|
193
197
|
labelSettings?: LabelSettings;
|
|
194
198
|
customSettings?: CustomSettings;
|
|
@@ -232,6 +236,8 @@ export type Schema = {
|
|
|
232
236
|
isClientScoped?: boolean;
|
|
233
237
|
clientColumn?: string;
|
|
234
238
|
clientColumnType?: string;
|
|
239
|
+
isManualOptions?: boolean;
|
|
240
|
+
manualOptions?: string[];
|
|
235
241
|
}[];
|
|
236
242
|
};
|
|
237
243
|
export type RlsFilterObjectType = {
|
|
@@ -29,10 +29,15 @@ export declare const getChartAttributes: ({ data, measure, singleValue, step, xA
|
|
|
29
29
|
data: any[];
|
|
30
30
|
}[];
|
|
31
31
|
};
|
|
32
|
-
export declare const transformDataToSankey: (data
|
|
33
|
-
|
|
32
|
+
export declare const transformDataToSankey: ({ data, source, target, value, }: {
|
|
33
|
+
data: Record<string, any>[];
|
|
34
|
+
source: string;
|
|
35
|
+
target: string;
|
|
36
|
+
value: any;
|
|
37
|
+
}) => {
|
|
38
|
+
nodes: ({
|
|
34
39
|
name: any;
|
|
35
|
-
}[];
|
|
40
|
+
} | undefined)[];
|
|
36
41
|
links: {
|
|
37
42
|
source: number;
|
|
38
43
|
target: number;
|