@advt-gpt-chart/package 3.2.9 → 3.3.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.
Files changed (35) hide show
  1. package/dist/Chart/ChartBase/constants.d.ts +1 -20
  2. package/dist/Chart/ChartCodeRender/type.d.ts +2 -0
  3. package/dist/Chart/ChartControllers/IemsController/index.d.ts +6 -0
  4. package/dist/Chart/ChartWrapper/style.d.ts +1 -0
  5. package/dist/Chart/ChartWrapper/utils.d.ts +2 -0
  6. package/dist/Charts/{AgentCharts → Custom/AgentCharts}/DimensionAttribution/types.d.ts +1 -1
  7. package/dist/Charts/{AgentCharts → Custom/AgentCharts}/FactorAttribution/types.d.ts +1 -1
  8. package/dist/Charts/{AgentCharts → Custom/AgentCharts}/types.d.ts +1 -1
  9. package/dist/Charts/Custom/CapacityDemand/index.d.ts +3 -0
  10. package/dist/Charts/Custom/CapacityDemand/types.d.ts +34 -0
  11. package/dist/Charts/Custom/CapacityDemand/utils.d.ts +1 -0
  12. package/dist/Charts/PivotTable/columnTreeUtils.d.ts +16 -0
  13. package/dist/Charts/PivotTable/types.d.ts +4 -0
  14. package/dist/Charts/common/cartesianCommon.d.ts +1 -16
  15. package/dist/Charts/common/hooks/useDashLine.d.ts +2 -1
  16. package/dist/Charts/common/types.d.ts +5 -0
  17. package/dist/DataView/DataSource/iems.d.ts +2 -0
  18. package/dist/DataView/DataSource/types.d.ts +2 -1
  19. package/dist/GPTVis/hooks/formatChartJson.d.ts +2 -0
  20. package/dist/export.d.ts +7 -4
  21. package/dist/index.es.js +167146 -166973
  22. package/dist/index.es.js.gz +0 -0
  23. package/dist/index.umd.js +2109 -2094
  24. package/dist/index.umd.js.gz +0 -0
  25. package/dist/locale/en-US.d.ts +3 -0
  26. package/dist/locale/zh-CN.d.ts +3 -0
  27. package/dist/locale/zh-TW.d.ts +3 -0
  28. package/dist/types/chart.d.ts +8 -1
  29. package/dist/version.d.ts +1 -1
  30. package/package.json +1 -1
  31. /package/dist/Charts/{AgentCharts → Custom/AgentCharts}/AgentChartHeader.d.ts +0 -0
  32. /package/dist/Charts/{AgentCharts → Custom/AgentCharts}/AgentChartHeaderStyle.d.ts +0 -0
  33. /package/dist/Charts/{AgentCharts → Custom/AgentCharts}/DimensionAttribution/index.d.ts +0 -0
  34. /package/dist/Charts/{AgentCharts → Custom/AgentCharts}/FactorAttribution/index.d.ts +0 -0
  35. /package/dist/Charts/{AgentCharts → Custom/AgentCharts}/index.d.ts +0 -0
Binary file
@@ -132,4 +132,7 @@ export declare const en_US: {
132
132
  absoluteChange: string;
133
133
  factorAttribution: string;
134
134
  dimensionAttribution: string;
135
+ capacityDemandTrendComparison: string;
136
+ capacityDemandCostDifference: string;
137
+ capacityDemandDataDetails: string;
135
138
  };
@@ -132,4 +132,7 @@ export declare const zh_CN: {
132
132
  absoluteChange: string;
133
133
  factorAttribution: string;
134
134
  dimensionAttribution: string;
135
+ capacityDemandTrendComparison: string;
136
+ capacityDemandCostDifference: string;
137
+ capacityDemandDataDetails: string;
135
138
  };
@@ -132,4 +132,7 @@ export declare const zh_TW: {
132
132
  absoluteChange: string;
133
133
  factorAttribution: string;
134
134
  dimensionAttribution: string;
135
+ capacityDemandTrendComparison: string;
136
+ capacityDemandCostDifference: string;
137
+ capacityDemandDataDetails: string;
135
138
  };
@@ -20,7 +20,8 @@ export declare enum ChartType {
20
20
  Indicator = "indicator",// 指标卡
21
21
  Composite = "composite",// 组合图
22
22
  Tabs = "tabs",// 通用 Tabs
23
- AgentCharts = "agent-charts"
23
+ AgentCharts = "agent-charts",// Agent 交互图表
24
+ CapacityDemand = "capacity-demand"
24
25
  }
25
26
  export declare const chartTypeOptions: {
26
27
  key: string;
@@ -61,6 +62,8 @@ export declare const handleChartTypeChange: (chartType: ChartType, preChartJson:
61
62
  timeGrain?: TimeGrainType;
62
63
  dataFormat?: import("../DataView/Dataset/types").DataFormat;
63
64
  hideChartHeader?: boolean;
65
+ hideChartAction?: boolean;
66
+ hideChartBorder?: boolean;
64
67
  series?: any[];
65
68
  agent?: import("../Chart/ChartCodeRender/type").AgentConfig;
66
69
  availableChartTypes?: string[];
@@ -90,6 +93,8 @@ export declare const handleChartDataSourceChange: ({ metrics, dimensions, timeGr
90
93
  timeGrain?: TimeGrainType;
91
94
  dataFormat?: import("../DataView/Dataset/types").DataFormat;
92
95
  hideChartHeader?: boolean;
96
+ hideChartAction?: boolean;
97
+ hideChartBorder?: boolean;
93
98
  series?: any[];
94
99
  agent?: import("../Chart/ChartCodeRender/type").AgentConfig;
95
100
  availableChartTypes?: string[];
@@ -117,6 +122,8 @@ export declare const transformQueryData2ChartJson: ({ metrics: dataMetrics, dime
117
122
  timeGrain?: TimeGrainType;
118
123
  dataFormat?: import("../DataView/Dataset/types").DataFormat;
119
124
  hideChartHeader?: boolean;
125
+ hideChartAction?: boolean;
126
+ hideChartBorder?: boolean;
120
127
  series?: any[];
121
128
  agent?: import("../Chart/ChartCodeRender/type").AgentConfig;
122
129
  availableChartTypes?: string[];
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const version = "3.2.9";
1
+ declare const version = "3.3.2";
2
2
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@advt-gpt-chart/package",
3
- "version": "3.2.9",
3
+ "version": "3.3.2",
4
4
  "description": "ADVT GPT Chart - A React chart component library for GPT visualization",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",