Skip to content

Commit

Permalink
refactor: reorganize runtime folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 committed Jun 5, 2024
1 parent 32f3d29 commit 4f56661
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/runtime/VChart.ts → src/runtime/components/VChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ import type {
UpdateOptions,
UpdateOptionsInjection,
Emits,
} from './types'
} from '../types'
import {
usePublicAPI,
useAutoresize,
autoresizeProps,
useLoading,
loadingProps,
} from './composables'
import { isOn, omitOn } from './utils'
import { register, TAG_NAME, type EChartsElement } from './wc'
} from '../composables'
import { isOn, omitOn } from '../utils/on'
import { register, TAG_NAME, type EChartsElement } from '../utils/wc'
import './style.css'
import '#build/echarts.mjs'

Expand All @@ -46,7 +46,7 @@ export const INIT_OPTIONS_KEY =
'ecInitOptions' as unknown as InjectionKey<InitOptionsInjection>
export const UPDATE_OPTIONS_KEY =
'ecUpdateOptions' as unknown as InjectionKey<UpdateOptionsInjection>
export { LOADING_OPTIONS_KEY } from './composables'
export { LOADING_OPTIONS_KEY } from '../composables'

export default defineComponent({
name: 'echarts',
Expand Down
4 changes: 0 additions & 4 deletions src/runtime/index.ts

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 4f56661

Please sign in to comment.