|
|
@@ -3,49 +3,49 @@ export {
|
|
|
config,
|
|
|
assign,
|
|
|
util
|
|
|
-} from './lib/config.js';
|
|
|
+} from './lib/config';
|
|
|
|
|
|
export {
|
|
|
hexToRgb
|
|
|
-} from './lib/utils/color.js';
|
|
|
+} from './lib/utils/color';
|
|
|
|
|
|
export {
|
|
|
findRange,
|
|
|
calCandleMA
|
|
|
-} from './lib/utils/math.js';
|
|
|
+} from './lib/utils/math';
|
|
|
|
|
|
export {
|
|
|
convertCoordinateOrigin,
|
|
|
isInAngleRange,
|
|
|
calValidDistance
|
|
|
-} from './lib/utils/coordinate.js';
|
|
|
+} from './lib/utils/coordinate';
|
|
|
|
|
|
export {
|
|
|
measureText
|
|
|
-} from './lib/utils/text.js';
|
|
|
+} from './lib/utils/text';
|
|
|
|
|
|
export {
|
|
|
avoidCollision,
|
|
|
isCollision
|
|
|
-} from './lib/utils/collision.js';
|
|
|
+} from './lib/utils/collision';
|
|
|
|
|
|
export {
|
|
|
getH5Offset,
|
|
|
createCurveControlPoints,
|
|
|
getTouches
|
|
|
-} from './lib/utils/misc.js';
|
|
|
+} from './lib/utils/misc';
|
|
|
|
|
|
// Export core chart classes
|
|
|
export {
|
|
|
uCharts,
|
|
|
uChartsEvent
|
|
|
-} from './lib/charts/index.js';
|
|
|
+} from './lib/charts/index';
|
|
|
|
|
|
// Default export for backward compatibility
|
|
|
-export { default } from './lib/charts/index.js';
|
|
|
+export { default } from './lib/charts/index';
|
|
|
|
|
|
// Re-export config and util from u-charts for backward compatibility
|
|
|
-export { config as uChartsConfig, util as uChartsUtil } from './lib/config.js';
|
|
|
+export { config as uChartsConfig, util as uChartsUtil } from './lib/config';
|
|
|
|
|
|
// Export chart types
|
|
|
export type {
|
|
|
@@ -62,7 +62,7 @@ export type {
|
|
|
ToolTipOption as ChartsToolTipOption,
|
|
|
EventListener,
|
|
|
EventMap
|
|
|
-} from './lib/charts/index.js';
|
|
|
+} from './lib/charts/index';
|
|
|
|
|
|
// Export data processing functions
|
|
|
export {
|
|
|
@@ -78,7 +78,7 @@ export {
|
|
|
calCategoriesData,
|
|
|
getToolTipData,
|
|
|
getMixToolTipData
|
|
|
-} from './lib/data-processing/index.js';
|
|
|
+} from './lib/data-processing/index';
|
|
|
|
|
|
export type {
|
|
|
SeriesItem,
|
|
|
@@ -100,7 +100,7 @@ export type {
|
|
|
CategoriesDataResult,
|
|
|
ToolTipOption,
|
|
|
ToolTipDataResult
|
|
|
-} from './lib/data-processing/index.js';
|
|
|
+} from './lib/data-processing/index';
|
|
|
|
|
|
// Export charts data points calculation functions
|
|
|
export {
|
|
|
@@ -120,7 +120,7 @@ export {
|
|
|
getArcbarDataPoints,
|
|
|
getGaugeAxisPoints,
|
|
|
getFunnelDataPoints
|
|
|
-} from './lib/charts-data/index.js';
|
|
|
+} from './lib/charts-data/index';
|
|
|
|
|
|
// Export renderer functions
|
|
|
export {
|
|
|
@@ -136,7 +136,7 @@ export {
|
|
|
drawToolTip,
|
|
|
drawToolTipBridge,
|
|
|
drawCanvas
|
|
|
-} from './lib/renderers/index.js';
|
|
|
+} from './lib/renderers/index';
|
|
|
|
|
|
export type {
|
|
|
Point as RendererPoint,
|
|
|
@@ -145,7 +145,7 @@ export type {
|
|
|
MarkLineDataItem,
|
|
|
ActivePointOption,
|
|
|
TitleOption
|
|
|
-} from './lib/renderers/index.js';
|
|
|
+} from './lib/renderers/index';
|
|
|
|
|
|
// Export helper functions
|
|
|
export {
|
|
|
@@ -195,23 +195,23 @@ export {
|
|
|
normalInt,
|
|
|
collisionNew,
|
|
|
getWordCloudPoint
|
|
|
-} from './lib/helper-functions/index.js';
|
|
|
+} from './lib/helper-functions/index';
|
|
|
|
|
|
export type {
|
|
|
LegendData,
|
|
|
PieData,
|
|
|
RadarData
|
|
|
-} from './lib/helper-functions/index.js';
|
|
|
+} from './lib/helper-functions/index';
|
|
|
|
|
|
// Export draw controllers (core drawing control functions)
|
|
|
export {
|
|
|
drawCharts
|
|
|
-} from './lib/draw-controllers/index.js';
|
|
|
+} from './lib/draw-controllers/index';
|
|
|
|
|
|
export {
|
|
|
Animation,
|
|
|
AnimationFunction
|
|
|
-} from './lib/draw-controllers/index.js';
|
|
|
+} from './lib/draw-controllers/index';
|
|
|
|
|
|
export type {
|
|
|
DrawChartsContext,
|
|
|
@@ -219,7 +219,7 @@ export type {
|
|
|
AnimationOptions,
|
|
|
TimingFunction,
|
|
|
TimingFunctions
|
|
|
-} from './lib/draw-controllers/index.js';
|
|
|
+} from './lib/draw-controllers/index';
|
|
|
|
|
|
// ============================================================================
|
|
|
// React Chart Components (Story 016.009)
|
|
|
@@ -247,7 +247,7 @@ export {
|
|
|
// RadarChart component
|
|
|
RadarChart,
|
|
|
RadarChartDefault
|
|
|
-} from './components/index.js';
|
|
|
+} from './components/index';
|
|
|
|
|
|
export type {
|
|
|
// BaseChart types
|
|
|
@@ -268,4 +268,4 @@ export type {
|
|
|
PieChartType,
|
|
|
// RadarChart types
|
|
|
RadarChartProps
|
|
|
-} from './components/index.js';
|
|
|
+} from './components/index';
|