|
1 | | -import { defineComponent, h, onBeforeMount, onMounted, computed, ref } from 'vue'; |
| 1 | +import { computed, defineComponent, h, onBeforeMount, onMounted, ref } from 'vue'; |
2 | 2 | import { |
3 | | - InfoCircleFilledIcon as TdInfoCircleFilledIcon, |
4 | 3 | CheckCircleFilledIcon as TdCheckCircleFilledIcon, |
| 4 | + CloseIcon as TdCloseIcon, |
5 | 5 | ErrorCircleFilledIcon as TdErrorCircleFilledIcon, |
6 | 6 | HelpCircleFilledIcon as TdHelpCircleFilledIcon, |
7 | | - CloseIcon as TdCloseIcon, |
| 7 | + InfoCircleFilledIcon as TdInfoCircleFilledIcon, |
8 | 8 | } from 'tdesign-icons-vue-next'; |
| 9 | +import { isFunction } from 'lodash-es'; |
9 | 10 |
|
| 11 | +import { THEME_LIST, fadeIn, fadeOut } from '@tdesign/common-js/message/index'; |
| 12 | +import { useContent, useGlobalIcon, usePrefixClass, useTNodeJSX } from '@tdesign/shared-hooks'; |
10 | 13 | import TLoading from '../loading'; |
11 | | -import { THEME_LIST } from './consts'; |
12 | 14 | import props from './props'; |
13 | | -import { useContent, useTNodeJSX, useGlobalIcon, usePrefixClass } from '@tdesign/shared-hooks'; |
14 | | - |
15 | | -import { fadeIn, fadeOut } from './utils'; |
16 | | - |
17 | | -import { isFunction } from 'lodash-es'; |
18 | 15 |
|
19 | 16 | export default defineComponent({ |
20 | 17 | name: 'TMessage', |
|
0 commit comments