mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 12:48:04 +08:00
chore: update type
This commit is contained in:
parent
4986e8f98f
commit
53dfce0903
@ -40,7 +40,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent, computed, ref, PropType } from 'vue'
|
||||
// notificationVM is an alias of vue.VNode
|
||||
import type { NotificationVM } from './notification'
|
||||
import type { NotificationVM } from './notification.type'
|
||||
import { EVENT_CODE } from '../../utils/aria'
|
||||
import { on, off } from '../../utils/dom'
|
||||
|
||||
|
@ -98,7 +98,7 @@ import {
|
||||
WritableComputedRef,
|
||||
PropType,
|
||||
} from 'vue'
|
||||
import { Store, TableColumnCtx, TableHeader } from './table'
|
||||
import { Store, TableColumnCtx, TableHeader } from './table.type'
|
||||
|
||||
export default {
|
||||
name: 'ElTableFilterPanel',
|
||||
|
@ -272,7 +272,7 @@ import TableFooter from './table-footer/index'
|
||||
import { debounce } from 'lodash'
|
||||
import useUtils from './table/utils-helper'
|
||||
import useStyle from './table/style-helper'
|
||||
import { TableProps, Table } from './table'
|
||||
import { TableProps, Table } from './table.type'
|
||||
|
||||
let tableIdSeed = 1
|
||||
export default defineComponent({
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script lang='ts'>
|
||||
import { h, defineComponent, inject, ComponentInternalInstance } from 'vue'
|
||||
import { RootTreeType } from './tree.d'
|
||||
import { RootTreeType } from './tree.type'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ElTreeNodeContent',
|
||||
|
@ -84,7 +84,7 @@ import { getNodeKey as getNodeKeyUtil } from './model/util'
|
||||
import { useNodeExpandEventBroadcast } from './model/useNodeExpandEventBroadcast'
|
||||
import { useDragNodeEmitter } from './model/useDragNode'
|
||||
import Node from './model/node'
|
||||
import { TreeOptionProps, TreeNodeData, RootTreeType } from './tree.d'
|
||||
import { TreeOptionProps, TreeNodeData, RootTreeType } from './tree.type'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ElTreeNode',
|
||||
|
@ -47,7 +47,7 @@ import {
|
||||
TreeKey,
|
||||
TreeData,
|
||||
RootTreeType,
|
||||
} from './tree.d'
|
||||
} from './tree.type'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ElTree',
|
||||
|
@ -24,7 +24,7 @@ import type {
|
||||
UploadFile,
|
||||
FileHandler,
|
||||
FileResultHandler,
|
||||
} from './upload'
|
||||
} from './upload.type'
|
||||
|
||||
type PFileHandler<T> = PropType<FileHandler<T>>
|
||||
type PFileResultHandler<T = any> = PropType<FileResultHandler<T>>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent, ref, inject } from 'vue'
|
||||
|
||||
import type { ElUpload } from './upload'
|
||||
import type { ElUpload } from './upload.type'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ElUploadDrag',
|
||||
|
@ -33,7 +33,7 @@ import ajax from './ajax'
|
||||
import UploadDragger from './upload-dragger.vue'
|
||||
|
||||
import type { PropType } from 'vue'
|
||||
import type { ListType, UploadFile, ElFile } from './upload'
|
||||
import type { ListType, UploadFile, ElFile } from './upload.type'
|
||||
|
||||
type IFileHanlder = (
|
||||
file: Nullable<ElFile[]>,
|
||||
|
Loading…
Reference in New Issue
Block a user