@nocobase/plugin-data-visualization 0.20.0-alpha.9 → 0.21.0-alpha.10

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.
Files changed (35) hide show
  1. package/dist/client/block/ChartBlockInitializer.d.ts +7 -2
  2. package/dist/client/block/ChartDataProvider.d.ts +1 -0
  3. package/dist/client/chart/chart.d.ts +7 -7
  4. package/dist/client/chart/configs.d.ts +11 -0
  5. package/dist/client/chart/g2plot/AntChart.d.ts +2 -0
  6. package/dist/client/chart/g2plot/dualAxes.d.ts +3 -2
  7. package/dist/client/chart/g2plot/g2plot.d.ts +1 -1
  8. package/dist/client/chart/g2plot/pie.d.ts +2 -1
  9. package/dist/client/chart/group.d.ts +24 -0
  10. package/dist/client/configure/TransformerDynamicComponent.d.ts +4 -0
  11. package/dist/client/filter/CollectionFieldInitializer.d.ts +2 -0
  12. package/dist/client/filter/FilterActionInitializers.d.ts +7 -2
  13. package/dist/client/filter/FilterItemInitializers.d.ts +7 -2
  14. package/dist/client/filter/FilterProvider.d.ts +10 -11
  15. package/dist/client/filter/utils.d.ts +8 -0
  16. package/dist/client/hooks/filter.d.ts +24 -6
  17. package/dist/client/hooks/query.d.ts +13 -118
  18. package/dist/client/hooks/transformer.d.ts +14 -7
  19. package/dist/client/index.d.ts +3 -3
  20. package/dist/client/index.js +128 -110
  21. package/dist/client/renderer/ChartRendererProvider.d.ts +1 -0
  22. package/dist/client/transformers.d.ts +12 -0
  23. package/dist/client/utils.d.ts +2 -0
  24. package/dist/externalVersion.js +7 -7
  25. package/dist/locale/en-US.json +8 -1
  26. package/dist/locale/zh-CN.json +8 -1
  27. package/dist/node_modules/koa-compose/package.json +1 -1
  28. package/dist/server/actions/formatter.js +1 -0
  29. package/dist/server/actions/query.d.ts +1 -0
  30. package/dist/server/actions/query.js +23 -7
  31. package/dist/server/plugin.d.ts +2 -2
  32. package/dist/server/plugin.js +4 -4
  33. package/package.json +3 -3
  34. package/dist/client/block/transformers.d.ts +0 -7
  35. /package/dist/client/{block → configure}/formatters.d.ts +0 -0
@@ -1,4 +1,9 @@
1
- import { SchemaInitializer } from '@nocobase/client';
1
+ import { CompatibleSchemaInitializer } from '@nocobase/client';
2
2
  import React from 'react';
3
- export declare const chartInitializers: SchemaInitializer;
3
+ /**
4
+ * @deprecated
5
+ * use `chartInitializers` instead
6
+ */
7
+ export declare const chartInitializers_deprecated: CompatibleSchemaInitializer;
8
+ export declare const chartInitializers: CompatibleSchemaInitializer;
4
9
  export declare const ChartV2BlockInitializer: React.FC;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  type ChartData = {
3
+ dataSource: string;
3
4
  collection: string;
4
5
  service: any;
5
6
  query: any;
@@ -3,7 +3,7 @@ import { FieldOption } from '../hooks';
3
3
  import { QueryProps } from '../renderer';
4
4
  import { ISchema } from '@formily/react';
5
5
  import { AnySchemaProperties, Config } from './configs';
6
- import { Transformer } from '../block/transformers';
6
+ import { Transformer } from '../transformers';
7
7
  export type RenderProps = {
8
8
  data: Record<string, any>[];
9
9
  general: any;
@@ -19,7 +19,7 @@ export type RenderProps = {
19
19
  export interface ChartType {
20
20
  name: string;
21
21
  title: string;
22
- component: React.FC<any>;
22
+ Component: React.FC<any>;
23
23
  schema: ISchema;
24
24
  init?: (fields: FieldOption[], query: {
25
25
  measures?: QueryProps['measures'];
@@ -28,7 +28,7 @@ export interface ChartType {
28
28
  general?: any;
29
29
  advanced?: any;
30
30
  };
31
- render: (props: RenderProps) => React.FC<any>;
31
+ getProps(props: RenderProps): any;
32
32
  getReference?: () => {
33
33
  title: string;
34
34
  link: string;
@@ -37,16 +37,16 @@ export interface ChartType {
37
37
  export type ChartProps = {
38
38
  name: string;
39
39
  title: string;
40
- component: React.FC<any>;
40
+ Component: React.FC<any>;
41
41
  config?: Config[];
42
42
  };
43
43
  export declare class Chart implements ChartType {
44
44
  name: string;
45
45
  title: string;
46
- component: React.FC<any>;
46
+ Component: React.FC<any>;
47
47
  config: Config[];
48
48
  configs: Map<string, Function>;
49
- constructor({ name, title, component, config }: ChartProps);
49
+ constructor({ name, title, Component, config }: ChartProps);
50
50
  get schema(): {
51
51
  type?: undefined;
52
52
  properties?: undefined;
@@ -64,6 +64,7 @@ export declare class Chart implements ChartType {
64
64
  xField: FieldOption;
65
65
  yField: FieldOption;
66
66
  seriesField: FieldOption;
67
+ colorField: FieldOption;
67
68
  yFields: FieldOption[];
68
69
  };
69
70
  /**
@@ -72,5 +73,4 @@ export declare class Chart implements ChartType {
72
73
  * process it and return the props of the chart component.
73
74
  */
74
75
  getProps(props: RenderProps): any;
75
- render({ data, general, advanced, fieldProps }: RenderProps): () => React.FunctionComponentElement<any>;
76
76
  }
@@ -74,5 +74,16 @@ declare const _default: {
74
74
  default: any;
75
75
  };
76
76
  };
77
+ colorField: (props: FieldConfigProps) => {
78
+ [x: string]: {
79
+ title: string;
80
+ type: string;
81
+ 'x-decorator': string;
82
+ 'x-component': string;
83
+ 'x-reactions': string;
84
+ required: boolean;
85
+ default: any;
86
+ };
87
+ };
77
88
  };
78
89
  export default _default;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const getAntChart: (Component: React.FC<any>) => (props: any) => React.JSX.Element;
@@ -1,8 +1,9 @@
1
1
  import { G2PlotChart } from './g2plot';
2
2
  import { ChartType, RenderProps } from '../chart';
3
- import React from 'react';
4
3
  export declare class DualAxes extends G2PlotChart {
5
4
  constructor();
6
5
  init: ChartType['init'];
7
- render({ data, general, advanced, fieldProps }: RenderProps): () => React.FunctionComponentElement<any>;
6
+ getProps({ data, general, advanced, fieldProps }: RenderProps): {
7
+ children: any;
8
+ };
8
9
  }
@@ -1,6 +1,6 @@
1
1
  import { Chart, ChartProps, ChartType, RenderProps } from '../chart';
2
2
  export declare class G2PlotChart extends Chart {
3
- constructor({ name, title, component, config }: ChartProps);
3
+ constructor({ name, title, Component, config }: ChartProps);
4
4
  init: ChartType['init'];
5
5
  getProps({ data, general, advanced, fieldProps }: RenderProps): any;
6
6
  getReference(): {
@@ -1,6 +1,7 @@
1
1
  import { G2PlotChart } from './g2plot';
2
- import { ChartType } from '../chart';
2
+ import { ChartType, RenderProps } from '../chart';
3
3
  export declare class Pie extends G2PlotChart {
4
4
  constructor();
5
5
  init: ChartType['init'];
6
+ getProps({ data, general, advanced, fieldProps }: RenderProps): any;
6
7
  }
@@ -1,9 +1,15 @@
1
1
  import { ChartType } from './chart';
2
2
  export declare class ChartGroup {
3
+ /**
4
+ * @internal
5
+ */
3
6
  charts: Map<string, ChartType[]>;
4
7
  setGroup(name: string, charts: ChartType[]): void;
5
8
  addGroup(name: string, charts: ChartType[]): void;
6
9
  add(group: string, chart: ChartType): void;
10
+ /**
11
+ * @internal
12
+ */
7
13
  getChartTypes(): {
8
14
  label: string;
9
15
  children: {
@@ -12,11 +18,20 @@ export declare class ChartGroup {
12
18
  value: string;
13
19
  }[];
14
20
  }[];
21
+ /**
22
+ * @internal
23
+ */
15
24
  getCharts(): {
16
25
  [key: string]: ChartType;
17
26
  };
27
+ /**
28
+ * @internal
29
+ */
18
30
  getChart(type: string): ChartType;
19
31
  }
32
+ /**
33
+ * @internal
34
+ */
20
35
  export declare const useChartTypes: () => {
21
36
  label: string;
22
37
  children: {
@@ -25,8 +40,17 @@ export declare const useChartTypes: () => {
25
40
  value: string;
26
41
  }[];
27
42
  }[];
43
+ /**
44
+ * @internal
45
+ */
28
46
  export declare const useDefaultChartType: () => string;
47
+ /**
48
+ * @internal
49
+ */
29
50
  export declare const useCharts: () => {
30
51
  [key: string]: ChartType;
31
52
  };
53
+ /**
54
+ * @internal
55
+ */
32
56
  export declare const useChart: (type: string) => ChartType;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const TransformerDynamicComponent: React.FC<{
3
+ schema: any;
4
+ }>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const CollectionFieldInitializer: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { SchemaInitializer } from '@nocobase/client';
1
+ import { CompatibleSchemaInitializer } from '@nocobase/client';
2
2
  import React from 'react';
3
3
  export declare const useChartFilterActionProps: () => {
4
4
  onClick: () => Promise<void>;
@@ -12,4 +12,9 @@ export declare const useChartFilterCollapseProps: () => {
12
12
  };
13
13
  export declare const ChartFilterCollapseDesigner: React.FC;
14
14
  export declare const ChartFilterActionDesigner: React.FC;
15
- export declare const chartFilterActionInitializers: SchemaInitializer;
15
+ /**
16
+ * @deprecated
17
+ * use `chartFilterActionInitializers` instead
18
+ */
19
+ export declare const chartFilterActionInitializers_deprecated: CompatibleSchemaInitializer;
20
+ export declare const chartFilterActionInitializers: CompatibleSchemaInitializer;
@@ -1,7 +1,12 @@
1
- import { SchemaInitializer } from '@nocobase/client';
1
+ import { CompatibleSchemaInitializer } from '@nocobase/client';
2
2
  import React from 'react';
3
3
  export declare const ChartFilterFormItem: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
4
4
  export declare const ChartFilterCustomItemInitializer: React.FC<{
5
5
  insert?: any;
6
6
  }>;
7
- export declare const chartFilterItemInitializers: SchemaInitializer;
7
+ /**
8
+ * @deprecated
9
+ * use `chartFilterItemInitializers` instead
10
+ */
11
+ export declare const chartFilterItemInitializers_deprecated: CompatibleSchemaInitializer;
12
+ export declare const chartFilterItemInitializers: CompatibleSchemaInitializer;
@@ -1,21 +1,19 @@
1
1
  import React from 'react';
2
+ type FilterField = {
3
+ title?: string;
4
+ operator?: {
5
+ value: string;
6
+ noValue?: boolean;
7
+ };
8
+ };
2
9
  export declare const ChartFilterContext: React.Context<{
3
10
  ready: boolean;
4
11
  enabled: boolean;
5
12
  setEnabled: (enabled: boolean) => void;
6
13
  fields: {
7
- [name: string]: {
8
- title: string;
9
- operator?: {
10
- value: string;
11
- noValue?: boolean;
12
- };
13
- };
14
+ [name: string]: FilterField;
14
15
  };
15
- setField: (name: string, field: {
16
- title?: string;
17
- operator?: string;
18
- }) => void;
16
+ setField: (name: string, field: FilterField) => void;
19
17
  removeField: (name: string) => void;
20
18
  collapse: {
21
19
  collapsed: boolean;
@@ -29,3 +27,4 @@ export declare const ChartFilterContext: React.Context<{
29
27
  setForm: (form: any) => void;
30
28
  }>;
31
29
  export declare const ChartFilterProvider: React.FC;
30
+ export {};
@@ -1,3 +1,4 @@
1
+ import { Schema } from '@formily/react';
1
2
  export declare const getOptionsSchema: () => {
2
3
  title: string;
3
4
  type: string;
@@ -49,3 +50,10 @@ export declare const getOptionsSchema: () => {
49
50
  export declare const getPropsSchemaByComponent: (component: string) => any;
50
51
  export declare const transformValue: (value: any, props: any) => any;
51
52
  export declare const setDefaultValue: (field: any, variables: any) => Promise<void>;
53
+ export declare const FILTER_FIELD_PREFIX_SEPARATOR = "-";
54
+ export declare const getFilterFieldPrefix: (dataSource: string, fieldName: string) => string;
55
+ export declare const parseFilterFieldName: (name: string) => {
56
+ dataSource: string;
57
+ fieldName: string;
58
+ };
59
+ export declare const findSchema: (schema: Schema, key: string, targetName: string) => any;
@@ -1,21 +1,31 @@
1
- import { SchemaInitializerItemType } from '@nocobase/client';
2
- import { CollectionOptions } from '@nocobase/database';
1
+ import { Collection, CollectionFieldInterfaceManager, CollectionManager, SchemaInitializerItemType } from '@nocobase/client';
3
2
  export declare const useCustomFieldInterface: () => {
4
3
  getSchemaByInterface: (fieldInterface: string) => any;
5
4
  };
6
5
  export declare const useChartData: () => {
7
- getChartCollections: () => string[];
6
+ chartCollections: {
7
+ [dataSource: string]: string[];
8
+ };
9
+ showDataSource: boolean;
10
+ getIsChartCollectionExists: (dataSource: string, collection: string) => boolean;
8
11
  };
9
12
  export declare const useChartFilter: () => {
10
13
  filter: () => Promise<void>;
11
14
  refresh: () => Promise<void>;
12
- getChartFilterFields: (collection: CollectionOptions) => SchemaInitializerItemType[];
15
+ getChartFilterFields: ({ dataSource, collection, cm, fim, }: {
16
+ dataSource: string;
17
+ collection: Collection;
18
+ cm: CollectionManager;
19
+ fim: CollectionFieldInterfaceManager;
20
+ }) => SchemaInitializerItemType[];
13
21
  getFilter: () => {};
14
22
  hasFilter: (chart: {
23
+ dataSource: string;
15
24
  collection: string;
16
25
  query: any;
17
26
  }, filterValues: any) => any;
18
27
  appendFilter: (chart: {
28
+ dataSource: string;
19
29
  collection: string;
20
30
  query: any;
21
31
  }, filterValues: any) => any;
@@ -31,7 +41,15 @@ export declare const useFilterVariable: () => {
31
41
  label: string;
32
42
  }[];
33
43
  };
34
- export declare const useChartFilterSourceFields: () => any[];
44
+ export declare const useChartFilterSourceFields: () => {
45
+ value: string;
46
+ label: any;
47
+ children: {
48
+ value: string;
49
+ label: any;
50
+ children: any[];
51
+ }[];
52
+ }[];
35
53
  export declare const useFieldComponents: () => {
36
54
  options: {
37
55
  label: string;
@@ -39,4 +57,4 @@ export declare const useFieldComponents: () => {
39
57
  }[];
40
58
  values: string[];
41
59
  };
42
- export declare const useCollectionJoinFieldTitle: (name: string) => any;
60
+ export declare const useCollectionJoinFieldTitle: (dataSource: string, name: string) => any;
@@ -1,6 +1,6 @@
1
1
  import { ArrayField } from '@formily/core';
2
2
  import { ISchema } from '@formily/react';
3
- import { CollectionFieldOptions_deprecated } from '@nocobase/client';
3
+ import { CollectionFieldOptions, CollectionManager } from '@nocobase/client';
4
4
  export type FieldOption = {
5
5
  value: string;
6
6
  label: string;
@@ -13,73 +13,22 @@ export type FieldOption = {
13
13
  target?: string;
14
14
  targetFields?: FieldOption[];
15
15
  };
16
- export declare const useFields: (collection?: string) => (CollectionFieldOptions_deprecated & {
16
+ export declare const useChartDataSource: (dataSource?: string) => {
17
+ cm: CollectionManager;
18
+ fim: import("@nocobase/client").CollectionFieldInterfaceManager;
19
+ collection: string;
20
+ };
21
+ export declare const useFields: (collectionFields: CollectionFieldOptions[]) => (CollectionFieldOptions & {
17
22
  key: string;
18
23
  label: string;
19
24
  value: string;
20
25
  })[];
21
- export declare const useFieldsWithAssociation: (collection?: string) => ({
26
+ export declare const useFieldsWithAssociation: (dataSource?: string, collection?: string) => ({
22
27
  label: any;
23
28
  name?: any;
24
29
  collectionName?: string;
25
30
  sourceKey?: string;
26
- uiSchema?: import("@formily/react").Stringify<{
27
- [key: symbol]: any;
28
- [key: `x-${string}`]: any;
29
- [key: `x-${number}`]: any;
30
- version?: string;
31
- name?: import("@formily/react").SchemaKey;
32
- title?: any;
33
- description?: any;
34
- default?: any;
35
- readOnly?: boolean;
36
- writeOnly?: boolean;
37
- type?: import("@formily/react").SchemaTypes;
38
- enum?: import("@formily/react").SchemaEnum<any>;
39
- const?: any;
40
- multipleOf?: number;
41
- maximum?: number;
42
- exclusiveMaximum?: number;
43
- minimum?: number;
44
- exclusiveMinimum?: number;
45
- maxLength?: number;
46
- minLength?: number;
47
- pattern?: string | RegExp;
48
- maxItems?: number;
49
- minItems?: number;
50
- uniqueItems?: boolean;
51
- maxProperties?: number;
52
- minProperties?: number;
53
- required?: string | boolean | string[];
54
- format?: string;
55
- $ref?: string;
56
- $namespace?: string;
57
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
58
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
59
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
60
- additionalItems?: import("@formily/react").Stringify<any>;
61
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
62
- additionalProperties?: import("@formily/react").Stringify<any>;
63
- "x-value"?: any;
64
- "x-index"?: number;
65
- "x-pattern"?: any;
66
- "x-display"?: any;
67
- "x-validator"?: any;
68
- "x-decorator"?: any;
69
- "x-decorator-props"?: any;
70
- "x-component"?: any;
71
- "x-component-props"?: any;
72
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
73
- "x-content"?: any;
74
- "x-data"?: any;
75
- "x-visible"?: boolean;
76
- "x-hidden"?: boolean;
77
- "x-disabled"?: boolean;
78
- "x-editable"?: boolean;
79
- "x-read-only"?: boolean;
80
- "x-read-pretty"?: boolean;
81
- "x-compile-omitted"?: string[];
82
- }>;
31
+ uiSchema?: any;
83
32
  target?: string;
84
33
  key: string;
85
34
  value: string;
@@ -89,63 +38,7 @@ export declare const useFieldsWithAssociation: (collection?: string) => ({
89
38
  name?: any;
90
39
  collectionName?: string;
91
40
  sourceKey?: string;
92
- uiSchema?: import("@formily/react").Stringify<{
93
- [key: symbol]: any;
94
- [key: `x-${string}`]: any;
95
- [key: `x-${number}`]: any;
96
- version?: string;
97
- name?: import("@formily/react").SchemaKey;
98
- title?: any;
99
- description?: any;
100
- default?: any;
101
- readOnly?: boolean;
102
- writeOnly?: boolean;
103
- type?: import("@formily/react").SchemaTypes;
104
- enum?: import("@formily/react").SchemaEnum<any>;
105
- const?: any;
106
- multipleOf?: number;
107
- maximum?: number;
108
- exclusiveMaximum?: number;
109
- minimum?: number;
110
- exclusiveMinimum?: number;
111
- maxLength?: number;
112
- minLength?: number;
113
- pattern?: string | RegExp;
114
- maxItems?: number;
115
- minItems?: number;
116
- uniqueItems?: boolean;
117
- maxProperties?: number;
118
- minProperties?: number;
119
- required?: string | boolean | string[];
120
- format?: string;
121
- $ref?: string;
122
- $namespace?: string;
123
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
124
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
125
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
126
- additionalItems?: import("@formily/react").Stringify<any>;
127
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
128
- additionalProperties?: import("@formily/react").Stringify<any>;
129
- "x-value"?: any;
130
- "x-index"?: number;
131
- "x-pattern"?: any;
132
- "x-display"?: any;
133
- "x-validator"?: any;
134
- "x-decorator"?: any;
135
- "x-decorator-props"?: any;
136
- "x-component"?: any;
137
- "x-component-props"?: any;
138
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
139
- "x-content"?: any;
140
- "x-data"?: any;
141
- "x-visible"?: boolean;
142
- "x-hidden"?: boolean;
143
- "x-disabled"?: boolean;
144
- "x-editable"?: boolean;
145
- "x-read-only"?: boolean;
146
- "x-read-pretty"?: boolean;
147
- "x-compile-omitted"?: string[];
148
- }>;
41
+ uiSchema?: any;
149
42
  target?: string;
150
43
  key: string;
151
44
  value: string;
@@ -155,4 +48,6 @@ export declare const useFormatters: (fields: FieldOption[]) => (field: any) => v
155
48
  export declare const useCollectionOptions: () => any;
156
49
  export declare const useOrderFieldsOptions: (defaultOptions: any[], fields: FieldOption[]) => (field: any) => void;
157
50
  export declare const useOrderReaction: (defaultOptions: any[], fields: FieldOption[]) => (field: ArrayField) => void;
158
- export declare const useData: (data?: any[], collection?: string) => {}[];
51
+ export declare const useData: (data?: any[], dataSource?: string, collection?: string) => {}[];
52
+ export declare const useCollectionFieldsOptions: (dataSource: string, collectionName: string, maxDepth?: number, excludes?: any[]) => any[];
53
+ export declare const useCollectionFilterOptions: (dataSource: string, collection: string) => any[];
@@ -1,11 +1,18 @@
1
1
  import { ChartRendererProps } from '../renderer';
2
2
  import { FieldOption } from './query';
3
- /**
4
- * useFieldTypes
5
- * Get field types for using transformers
6
- * Only supported types will be displayed
7
- * Some interfaces and types will be mapped to supported types
8
- */
9
- export declare const useFieldTypes: (fields: FieldOption[]) => (field: any) => void;
3
+ export declare const useFieldSelectProps: (fields: FieldOption[]) => () => {
4
+ onChange: (value: string) => void;
5
+ };
6
+ export declare const useFieldTypeSelectProps: () => {
7
+ options: {
8
+ label: string;
9
+ value: string;
10
+ }[];
11
+ onChange: (value: string) => void;
12
+ };
13
+ export declare const useTransformerSelectProps: () => {
14
+ onChange: (value: string) => void;
15
+ };
10
16
  export declare const useTransformers: (field: any) => void;
17
+ export declare const useArgument: (field: any) => void;
11
18
  export declare const useFieldTransformer: (transform: ChartRendererProps['transform'], locale?: string) => {};
@@ -1,12 +1,12 @@
1
1
  import { Plugin } from '@nocobase/client';
2
2
  import { ChartGroup } from './chart/group';
3
- declare class DataVisualizationPlugin extends Plugin {
3
+ declare class PluginDataVisualiztionClient extends Plugin {
4
4
  charts: ChartGroup;
5
5
  load(): Promise<void>;
6
6
  }
7
- export default DataVisualizationPlugin;
7
+ export default PluginDataVisualiztionClient;
8
8
  export { Chart } from './chart/chart';
9
9
  export type { ChartProps, ChartType, RenderProps } from './chart/chart';
10
+ export { ChartConfigContext } from './configure';
10
11
  export type { FieldOption } from './hooks';
11
12
  export type { QueryProps } from './renderer';
12
- export { ChartConfigContext } from './configure';