This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch next in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.
from 7304d5a ts: fix type follow the update of zrender. add 23e84e8 feature: remove the member `dependentModes` from `ComponentModel`. Use `ecMode.getComponent` `ecModel.queryComponents` instead. Because: (1) `dependentModes` is rarely used. (2) It might be wrongly cached. If cached, it might not be updated when new `setOption`. (3) Not necessary to prepare all dependencies model table for each component. Should better to require them when really want to use them. add 065cf80 feature: add `setOption` control param: `replaceMerge`. add 39891c0 Merge branch 'next' into remove-component add 18c2156 ts: remove "any" from type ECUnitOption (which causes "any" spread). add fa7cd46 fix: fix replaceMerge in feature "restore" and add test cases. add 1db1349 feature: In replaceMerge, trade {xxx: null/undefined} the same as {xxx: []} for ec option. add af07980 fix: fix type and tweak component.getReferingComponent. add 32a4b66 feature: (1) support axis id reference in dataZoom. (except toolbox dataZoom) (2) enhance dataZoom auto choose axis logic to support multiple setOption. (except toolbox dataZoom) (3) enhance dataZoom to enable axis and dataZoom removal. (except toolbox dataZoom) (4) simplify the code of dataZoom. add a3d29cf feature: add test case for id duplicated. add cc81a49 feature: (1) support toolbox dataZoom works on the second setOption. (2) change the mechanism of "internal component" to support adding them dynamically. (3) uniform the "get referring component". (4) support toolbox dataZoom use axis id to refer axis (previously only axisIndex can be used). (5) remove the support to restore on the second setOption temporarily. add 4bbe3b2 fix: fix toolbox dataZoom when on grid. add f5a9667 fix: (1) Inside dataZoom can not dispose when grid removed. (2) uniform the reference between components. add c4d442e fix: fix noTarget logic for dataZoom. add 7606cb7 fix: fix feature reproduce and complete test case. add 548bf37 add test case. add 3154459 Merge branch 'next' into remove-component add 29f2984 Merge branch 'next' into remove-component new 82015b7 Merge pull request #12987 from apache/remove-component The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: src/chart/bar/BarView.ts | 8 +- src/chart/bar/PictorialBarView.ts | 2 +- src/chart/helper/createListFromArray.ts | 2 +- src/chart/map/MapSeries.ts | 2 +- src/chart/parallel/ParallelSeries.ts | 4 +- src/chart/themeRiver/ThemeRiverSeries.ts | 10 +- src/chart/treemap/TreemapSeries.ts | 3 +- src/component/axisPointer.ts | 6 +- src/component/brush/preprocessor.ts | 12 +- src/component/dataZoom/AxisProxy.ts | 29 +- src/component/dataZoom/DataZoomModel.ts | 446 +++++------- src/component/dataZoom/DataZoomView.ts | 69 -- src/component/dataZoom/InsideZoomView.ts | 130 ++-- src/component/dataZoom/SliderZoomView.ts | 116 ++- src/component/dataZoom/dataZoomAction.ts | 25 +- src/component/dataZoom/dataZoomProcessor.ts | 75 +- src/component/dataZoom/helper.ts | 287 ++++---- src/component/dataZoom/roams.ts | 265 ++++--- src/component/graphic.ts | 9 +- src/component/helper/BrushTargetManager.ts | 4 +- src/component/timeline/TimelineModel.ts | 6 +- src/component/timeline/timelineAction.ts | 2 +- src/component/toolbox/feature/Brush.ts | 2 +- src/component/toolbox/feature/DataView.ts | 6 +- src/component/toolbox/feature/DataZoom.ts | 181 +++-- src/component/toolbox/feature/MagicType.ts | 18 +- src/coord/axisModelCommonMixin.ts | 1 - src/coord/cartesian/AxisModel.ts | 7 +- src/coord/cartesian/Grid.ts | 6 +- src/coord/cartesian/cartesianAxisHelper.ts | 5 +- src/coord/geo/Geo.ts | 6 +- src/coord/parallel/ParallelModel.ts | 14 +- src/coord/parallel/parallelCreator.ts | 9 +- src/coord/parallel/parallelPreprocessor.ts | 6 +- src/coord/polar/AxisModel.ts | 7 +- src/coord/polar/polarCreator.ts | 9 +- src/coord/single/singleCreator.ts | 9 +- src/echarts.ts | 43 +- src/model/Component.ts | 48 +- src/model/Global.ts | 512 +++++++++----- src/model/Model.ts | 2 +- src/model/OptionManager.ts | 188 +++-- src/model/internalComponentCreator.ts | 75 ++ src/model/mixin/textStyle.ts | 2 +- src/model/referHelper.ts | 11 +- src/preprocessor/backwardCompat.ts | 2 +- src/util/model.ts | 572 +++++++++++---- src/util/types.ts | 10 +- test/dataZoom-feature.html | 709 +++++++++++++++++++ test/dataZoom-toolbox.html | 86 +++ test/lib/testHelper.js | 67 ++ test/option-replaceMerge.html | 1011 +++++++++++++++++++++++++++ test/option-replaceMerge2.html | 918 ++++++++++++++++++++++++ test/timeline-dynamic-series.html | 201 +++--- test/timeline-life.html | 279 ++++++++ 55 files changed, 5068 insertions(+), 1466 deletions(-) create mode 100644 src/model/internalComponentCreator.ts create mode 100644 test/dataZoom-feature.html create mode 100644 test/option-replaceMerge.html create mode 100644 test/option-replaceMerge2.html create mode 100755 test/timeline-life.html --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org