chore: moving reusable components from src/components to packages/superset-ui-core/src/components (#33593)

This commit is contained in:
Maxime Beauchemin
2025-05-31 15:40:05 -07:00
committed by GitHub
parent 58435e3e28
commit 28db9ad7fc
928 changed files with 3421 additions and 3013 deletions

View File

@@ -17,10 +17,7 @@
* under the License.
*/
import { AnnotationType, Behavior, t } from '@superset-ui/core';
import {
EchartsTimeseriesChartProps,
EchartsTimeseriesFormData,
} from '@superset-ui/plugin-chart-echarts';
import { EchartsTimeseriesChartProps, EchartsTimeseriesFormData } from '../..';
import buildQuery from '../buildQuery';
import controlPanel from './controlPanel';
import transformProps from '../transformProps';

View File

@@ -21,7 +21,7 @@ import {
LegendOrientation,
LegendType,
EchartsTimeseriesSeriesType,
} from '@superset-ui/plugin-chart-echarts';
} from '../../src';
import transformProps from '../../src/MixedTimeseries/transformProps';
import {
EchartsMixedTimeseriesFormData,

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import { CategoricalColorScale } from '@superset-ui/core';
import { EchartsTimeseriesSeriesType } from '@superset-ui/plugin-chart-echarts';
import { EchartsTimeseriesSeriesType } from '../../src';
import { transformSeries } from '../../src/Timeseries/transformers';
// Mock the colorScale function

View File

@@ -31,7 +31,7 @@ import {
TimeseriesAnnotationLayer,
TimeseriesDataRecord,
} from '@superset-ui/core';
import { OrientationType } from '@superset-ui/plugin-chart-echarts';
import { OrientationType } from '../../src';
import {
transformEventAnnotation,
transformFormulaAnnotation,

View File

@@ -1,25 +1,15 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"declarationDir": "lib",
"composite": true,
"rootDir": "src",
"outDir": "lib",
"rootDir": "src"
"baseUrl": "."
},
"exclude": [
"lib",
"test"
],
"extends": "../../tsconfig.json",
"include": [
"src/**/*",
"types/**/*",
"../../types/**/*"
],
"include": ["src/**/*", "types/**/*"],
"exclude": ["lib", "test"],
"references": [
{
"path": "../../packages/superset-ui-chart-controls"
},
{
"path": "../../packages/superset-ui-core"
}
{ "path": "../../packages/superset-ui-core" },
{ "path": "../../packages/superset-ui-chart-controls" }
]
}