Open Davont opened 4 days ago
The changes in this pull request primarily involve renaming the property option
to huiChartOption
across multiple Vue components and related files. This renaming affects how chart options are stored and accessed within the components, ensuring consistency in naming conventions. Additionally, modifications to the build-entry-app.ts
file adjust the string replacement logic for component names during the export process. Overall, the internal logic and structure of the components remain intact, with no new functions or types introduced.
File Path | Change Summary |
---|---|
internals/cli/src/commands/build/build-entry-app.ts |
Updated string replacement logic for 'Huicharts' to 'Chart' in buildFullRuntime function. |
packages/vue/src/huicharts/huicharts-amap/src/AMapModel.ts |
Changed this.option to this.huiChartOption in setCenterAndZoom and centerOrZoomChanged . |
packages/vue/src/huicharts/huicharts-amap/src/autonavi-map.vue |
Replaced this.option with this.huiChartOption throughout the component. |
packages/vue/src/huicharts/huicharts-bar/src/chart-bar.vue |
Renamed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-bmap/src/baidu-map.vue |
Updated this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-boxplot/src/chart-boxplot.vue |
Changed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-candle/src/chart-candle.vue |
Renamed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-core/common/extend.ts |
Changed function parameter from option to huiChartOption . |
packages/vue/src/huicharts/huicharts-core/src/chart-core.ts |
Renamed option to huiChartOption in various methods and lifecycle hooks. |
packages/vue/src/huicharts/huicharts-funnel/src/chart-funnel.vue |
Updated this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-gauge/src/chart-gauge.vue |
Changed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-graph/src/chart-graph.vue |
Renamed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-heatmap/src/chart-heatmap.vue |
Updated this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-histogram/src/chart-histogram.vue |
Renamed option to huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-line/src/chart-line.vue |
Changed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-liquidfill/src/chart-liquidfill.vue |
Updated this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-map/src/chart-map.vue |
Renamed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-pie/src/chart-pie.vue |
Changed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-process/src/chart-process.vue |
Updated this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-radar/src/chart-radar.vue |
Renamed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-ring/src/chart-ring.vue |
Changed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-sankey/src/chart-sankey.vue |
Updated this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-scatter/src/chart-scatter.vue |
Renamed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-sunburst/src/chart-sunburst.vue |
Changed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-tree/src/chart-tree.vue |
Updated this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-waterfall/src/chart-waterfall.vue |
Renamed this.option to this.huiChartOption in updateChart method. |
packages/vue/src/huicharts/huicharts-wordcloud/src/chart-wordcloud.vue |
Changed this.option to this.huiChartOption in updateChart method. |
build-entry-app.ts
file to change how components with 'Hui' in their names are processed.build-chart-theme.ts
, relevant to naming conventions.bug
🐰 In the land of code, where changes do bloom,
A name shift occurs, dispelling the gloom.
Fromoption
tohuiChartOption
we cheer,
For clarity's sake, the path is now clear!
With charts all aligned, in harmony they play,
Let’s hop to the future, hip-hip-hooray! 🥕✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
[e2e-test-warn] The component to be tested is missing.
The title of the Pull request should look like "fix(vue-renderless): [action-menu, alert] fix xxx bug".
Please make sure you've read our contributing guide
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
New Features
huiChartOption
instead ofoption
.Bug Fixes
Documentation
Refactor