Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(charts): [charts]Pack and remove huicharts files #2897

Merged
merged 13 commits into from
Feb 18, 2025
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsAmap as TinyAutonaviMap } from '@opentiny/vue'
import { TinyHuichartsAmap as TinyAutonaviMap } from '@opentiny/vue-huicharts'

const options = ref({
key: '4b5f2cf2cba25200cc6b68c398468899',
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/amap/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsAmap } from '@opentiny/vue'
import { TinyHuichartsAmap } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'

const options = ref({
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bar/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBar } from '@opentiny/vue'
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script setup lang="jsx">
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'

const options = {
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bar/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBar } from '@opentiny/vue'
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'

const options = ref({
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bar/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBar } from '@opentiny/vue'
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'

const options = ref({
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bar/demo4.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBar } from '@opentiny/vue'
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'

const options = ref({
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bar/demo5.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBar } from '@opentiny/vue'
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'

const options = ref({
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bar/demo6.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBar } from '@opentiny/vue'
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
const options = ref({
// 双向柱状图形态
type: 'double-sides',
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bar/demo7.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBar } from '@opentiny/vue'
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
3 changes: 2 additions & 1 deletion examples/sites/demos/pc/app/chart/base-composition-api.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuicharts as TinyChart, TinyButton } from '@opentiny/vue'
import { TinyHuicharts as TinyChart } from '@opentiny/vue-huicharts'
import { TinyButton } from '@opentiny/vue'

const colorMode = ref('default')
const key = ref(0)
Expand Down
3 changes: 2 additions & 1 deletion examples/sites/demos/pc/app/chart/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
</template>

<script lang="jsx">
import { TinyHuicharts, TinyButton } from '@opentiny/vue'
import { TinyHuicharts } from '@opentiny/vue-huicharts'
import { TinyButton } from '@opentiny/vue'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBmap as TinyBaiduMap } from '@opentiny/vue'
import { TinyHuichartsBmap as TinyBaiduMap } from '@opentiny/vue-huicharts'

const options = ref({
key: 'oBvDtR6nzWtVchkY4cLHtnah1VVZQKRK',
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/bmap/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBmap } from '@opentiny/vue'
import { TinyHuichartsBmap } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue-huicharts'

const options = ref({
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/boxplot/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBoxplot } from '@opentiny/vue'
import { TinyHuichartsBoxplot } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue-huicharts'

const options = ref({
direction: 'horizontal', // 横向
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/boxplot/multiple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBoxplot } from '@opentiny/vue'
import { TinyHuichartsBoxplot } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script setup lang="jsx">
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue-huicharts'
import { ref } from 'vue'

function makeData() {
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/boxplot/vertical.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsBoxplot } from '@opentiny/vue'
import { TinyHuichartsBoxplot } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'

const baseData = [
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/candle/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsCandle } from '@opentiny/vue'
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'

const baseData = [
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/candle/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsCandle } from '@opentiny/vue'
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'

const baseData = [
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/candle/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsCandle } from '@opentiny/vue'
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'

const baseData = [
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/candle/demo4.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsCandle } from '@opentiny/vue'
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'

const baseData = [
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/candle/demo5.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsCandle } from '@opentiny/vue'
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'

const baseData = [
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/candle/demo6.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsCandle } from '@opentiny/vue'
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsPie as TinyChartPie, TinyModal } from '@opentiny/vue'
import { TinyHuichartsPie as TinyChartPie } from '@opentiny/vue-huicharts'
import { TinyModal } from '@opentiny/vue'

const options = ref({
type: 'pie',
Expand Down
3 changes: 2 additions & 1 deletion examples/sites/demos/pc/app/chart/events/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
</template>

<script lang="jsx">
import { TinyHuichartsPie, TinyModal } from '@opentiny/vue'
import { TinyHuichartsPie } from '@opentiny/vue-huicharts'
import { TinyModal } from '@opentiny/vue'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
import { TinyHuichartsFunnel as TinyChartFunnel } from '@opentiny/vue-huicharts'

const options = ref({
data: [
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/funnel/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsFunnel } from '@opentiny/vue'
import { TinyHuichartsFunnel } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="jsx">
import { ref } from 'vue'
import { TinyHuichartsFunnel as TinyChartFunnel } from '@opentiny/vue'
import { TinyHuichartsFunnel as TinyChartFunnel } from '@opentiny/vue-huicharts'

const options = ref({
sort: 'ascending',
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/chart/funnel/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script lang="jsx">
import { TinyHuichartsFunnel } from '@opentiny/vue'
import { TinyHuichartsFunnel } from '@opentiny/vue-huicharts'

export default {
components: {
Expand Down
Loading
Loading