提交 11eb4fc8 编写于 作者: P pissang

style: remove unused imports. fix imports from entry

上级 f69c500a
......@@ -45,7 +45,6 @@ import { getECData } from '../../util/innerStore';
import { TextStyleProps } from 'zrender/src/graphic/Text';
import { isEC4CompatibleStyle, convertFromEC4CompatibleStyle } from '../../util/styleCompat';
import { EChartsExtensionInstallRegisters } from '../../extension';
import { graphic } from '../../export/api';
const TRANSFORM_PROPS = {
x: 1,
......
......@@ -29,9 +29,6 @@ import {
LabelOption,
LayoutOrient,
CommonTooltipOption,
ZRColor,
DecalObject,
ZRLineType,
ItemStyleOption,
LineStyleOption
} from '../../util/types';
......@@ -39,7 +36,6 @@ import { Dictionary } from 'zrender/src/core/types';
import GlobalModel from '../../model/Global';
import { ItemStyleProps } from '../../model/mixin/itemStyle';
import { LineStyleProps } from './../../model/mixin/lineStyle';
import {SeriesModel} from '../../echarts';
import {PathStyleProps} from 'zrender/src/graphic/Path';
type LegendDefaultSelectorOptionsProps = {
......
......@@ -27,7 +27,14 @@ import {setLabelStyle, createTextStyle} from '../../label/labelStyle';
import {makeBackground} from '../helper/listComponent';
import * as layoutUtil from '../../util/layout';
import ComponentView from '../../view/Component';
import LegendModel, { LegendItemStyleOption, LegendLineStyleOption, LegendOption, LegendSelectorButtonOption, LegendSymbolParams, LegendTooltipFormatterParams } from './LegendModel';
import LegendModel, {
LegendItemStyleOption,
LegendLineStyleOption,
LegendOption,
LegendSelectorButtonOption,
LegendSymbolParams,
LegendTooltipFormatterParams
} from './LegendModel';
import GlobalModel from '../../model/Global';
import ExtensionAPI from '../../core/ExtensionAPI';
import {
......@@ -39,10 +46,10 @@ import {
SymbolOptionMixin
} from '../../util/types';
import Model from '../../model/Model';
import {SeriesModel} from '../../echarts';
import {LineStyleProps, LINE_STYLE_KEY_MAP} from '../../model/mixin/lineStyle';
import {ITEM_STYLE_KEY_MAP} from '../../model/mixin/itemStyle';
import {createSymbol, ECSymbol} from '../../util/symbol';
import SeriesModel from '../../model/Series';
const curry = zrUtil.curry;
const each = zrUtil.each;
......@@ -347,7 +354,15 @@ class LegendView extends ComponentView {
symbolType = legendIconType || symbolType || 'roundRect';
const legendLineStyle = legendModel.getModel('lineStyle');
const style = getLegendStyle(symbolType, itemModel, legendLineStyle, lineVisualStyle, itemVisualStyle, drawType, isSelected);
const style = getLegendStyle(
symbolType,
itemModel,
legendLineStyle,
lineVisualStyle,
itemVisualStyle,
drawType,
isSelected
);
const itemGroup = new Group();
......
......@@ -20,7 +20,6 @@
import * as zrUtil from 'zrender/src/core/util';
import env from 'zrender/src/core/env';
import type {MorphDividingMethod} from 'zrender/src/tool/morphPath';
import {PathStyleProps} from 'zrender/src/graphic/Path';
import * as modelUtil from '../util/model';
import {
DataHost, DimensionName, StageHandlerProgressParams,
......
......@@ -24,7 +24,7 @@ under the License.
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="https://www.echartsjs.com/zh/images/favicon.png">
<link rel="shortcut icon" href="https://echarts.apache.org/zh/images/favicon.png">
<title>Visual Regression Testing Tool</title>
</head>
<body>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册