@nocobase/plugin-data-visualization 1.0.0-alpha.9 → 1.0.1-alpha.1
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/client/hooks/filter.d.ts +1 -0
- package/dist/client/hooks/useVariableOptions.d.ts +15 -0
- package/dist/client/index.js +23 -23
- package/dist/externalVersion.js +7 -6
- package/dist/node_modules/koa-compose/package.json +1 -1
- package/dist/server/actions/formatter.d.ts +4 -3
- package/dist/server/actions/formatter.js +28 -3
- package/dist/server/actions/query.d.ts +1 -1
- package/dist/server/actions/query.js +6 -47
- package/package.json +2 -2
|
@@ -38,6 +38,7 @@ export declare const useChartFilter: () => {
|
|
|
38
38
|
query: any;
|
|
39
39
|
}, filterValues: any) => any;
|
|
40
40
|
getTranslatedTitle: (title: string) => string;
|
|
41
|
+
parseFilter: (filterValue: any) => Promise<any>;
|
|
41
42
|
};
|
|
42
43
|
export declare const useFilterVariable: () => {
|
|
43
44
|
label: string;
|
|
@@ -6,6 +6,21 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
+
import { ISchema } from '@formily/react';
|
|
10
|
+
export declare const useGeneralVariableOptions: (schema: ISchema, operator?: {
|
|
11
|
+
value: string;
|
|
12
|
+
}) => (import("@nocobase/client/es/schema-settings/VariableInput/type").Option | {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
key: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
children: {
|
|
18
|
+
key: string;
|
|
19
|
+
value: string;
|
|
20
|
+
label: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
}[];
|
|
23
|
+
})[];
|
|
9
24
|
export declare const useVariableOptions: () => ({
|
|
10
25
|
label: string;
|
|
11
26
|
value: string;
|