@nocobase/plugin-data-visualization 2.1.0-beta.11 → 2.1.0-beta.12

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.
@@ -30,6 +30,7 @@ export declare class ChartBlockModel extends DataBlockModel<ChartBlockModelStruc
30
30
  refresh(): Promise<void>;
31
31
  initResource(mode?: string): void;
32
32
  getResourceSettingsInitParams(): any;
33
+ buildQueryRequest(query: any): Promise<any>;
33
34
  onInit(options: any): Promise<void>;
34
35
  renderComponent(): React.JSX.Element;
35
36
  getFilterFields(): Promise<{
@@ -9,6 +9,10 @@
9
9
  import React from 'react';
10
10
  export declare const ChartOptionsBuilder: React.FC<{
11
11
  columns?: string[];
12
+ fieldOptions?: {
13
+ label: string;
14
+ value: string;
15
+ }[];
12
16
  initialValues: any;
13
17
  onChange: (next: any) => void;
14
18
  }>;
@@ -10,7 +10,4 @@ import React from 'react';
10
10
  export type QueryBuilderRef = {
11
11
  validate: () => Promise<any>;
12
12
  };
13
- export declare const QueryBuilder: React.ForwardRefExoticComponent<{
14
- initialValues?: any;
15
- onChange?: (v: any) => void;
16
- } & React.RefAttributes<QueryBuilderRef>>;
13
+ export declare const QueryBuilder: React.ForwardRefExoticComponent<React.RefAttributes<QueryBuilderRef>>;
@@ -30,6 +30,7 @@ export declare class ChartResource<TData = any> extends BaseRecordResource<TData
30
30
  orders: any;
31
31
  limit: any;
32
32
  offset: any;
33
+ contextParams: any;
33
34
  };
34
35
  run(): Promise<any>;
35
36
  refresh(): Promise<void>;