@nocobase/plugin-data-visualization 0.21.0-alpha.1 → 0.21.0-alpha.2

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.
@@ -2,6 +2,7 @@ import { CompatibleSchemaInitializer } from '@nocobase/client';
2
2
  import React from 'react';
3
3
  /**
4
4
  * @deprecated
5
+ * use `chartInitializers` instead
5
6
  */
6
7
  export declare const chartInitializers_deprecated: CompatibleSchemaInitializer;
7
8
  export declare const chartInitializers: CompatibleSchemaInitializer;
@@ -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;
@@ -14,6 +14,7 @@ export declare const ChartFilterCollapseDesigner: React.FC;
14
14
  export declare const ChartFilterActionDesigner: React.FC;
15
15
  /**
16
16
  * @deprecated
17
+ * use `chartFilterActionInitializers` instead
17
18
  */
18
19
  export declare const chartFilterActionInitializers_deprecated: CompatibleSchemaInitializer;
19
20
  export declare const chartFilterActionInitializers: CompatibleSchemaInitializer;
@@ -6,6 +6,7 @@ export declare const ChartFilterCustomItemInitializer: React.FC<{
6
6
  }>;
7
7
  /**
8
8
  * @deprecated
9
+ * use `chartFilterItemInitializers` instead
9
10
  */
10
11
  export declare const chartFilterItemInitializers_deprecated: CompatibleSchemaInitializer;
11
12
  export declare const chartFilterItemInitializers: CompatibleSchemaInitializer;