chore: remove vue private api
parent
64b9347fce
commit
fe3c2bdf89
|
@ -1,5 +1,4 @@
|
|||
import { camelize } from 'vue';
|
||||
import { flattenChildren } from '../_util/props-util';
|
||||
import { camelize, flattenChildren } from '../_util/props-util';
|
||||
import type { ColumnType, ColumnsType, ColumnTitle, ColumnTitleProps, Key } from './interface';
|
||||
|
||||
export function getColumnKey<RecordType>(column: ColumnType<RecordType>, defaultKey: string): Key {
|
||||
|
|
|
@ -10,9 +10,14 @@ import type {
|
|||
OnTabScroll,
|
||||
Tab,
|
||||
} from './interface';
|
||||
import { defineComponent, computed, onMounted, watchEffect } from 'vue';
|
||||
import type { CSSProperties, ExtractPropTypes } from 'vue';
|
||||
import { defineComponent, computed, onMounted, watchEffect, camelize } from 'vue';
|
||||
import { flattenChildren, initDefaultProps, isValidElement } from '../../_util/props-util';
|
||||
import {
|
||||
camelize,
|
||||
flattenChildren,
|
||||
initDefaultProps,
|
||||
isValidElement,
|
||||
} from '../../_util/props-util';
|
||||
import useConfigInject from '../../config-provider/hooks/useConfigInject';
|
||||
import useState from '../../_util/hooks/useState';
|
||||
import isMobile from '../../vc-util/isMobile';
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import { filterEmpty } from '../../_util/props-util';
|
||||
import { camelize } from 'vue';
|
||||
import { camelize, filterEmpty } from '../../_util/props-util';
|
||||
import { warning } from '../../vc-util/warning';
|
||||
import type { DataNode, ChangeEventExtra, RawValueType, LegacyCheckedNode } from '../interface';
|
||||
import TreeNode from '../TreeNode';
|
||||
|
|
|
@ -11,9 +11,9 @@ import type {
|
|||
} from '../interface';
|
||||
import { getPosition, isTreeNode } from '../util';
|
||||
import { warning } from '../../vc-util/warning';
|
||||
import { camelize } from 'vue';
|
||||
|
||||
import type { TreeNodeProps } from '../props';
|
||||
import { filterEmpty } from '../../_util/props-util';
|
||||
import { camelize, filterEmpty } from '../../_util/props-util';
|
||||
import omit from '../../_util/omit';
|
||||
import type { VueNode } from '../../_util/type';
|
||||
|
||||
|
|
Loading…
Reference in New Issue