|
1 | | -import { VNode } from 'vue' |
| 1 | +import type { VNode } from 'vue' |
2 | 2 | import { textContent } from './utils' |
3 | 3 | import type { TriggerOptions } from './createDomEvent' |
4 | | -import { |
| 4 | +import type { |
5 | 5 | ComponentInternalInstance, |
6 | 6 | ComponentOptions, |
7 | 7 | ComponentPublicInstance, |
8 | 8 | ComputedOptions, |
9 | 9 | CreateComponentPublicInstance, |
10 | 10 | FunctionalComponent, |
11 | | - MethodOptions, |
12 | | - nextTick |
| 11 | + MethodOptions |
13 | 12 | } from 'vue' |
| 13 | +import { nextTick } from 'vue' |
14 | 14 | import { createDOMEvent } from './createDomEvent' |
15 | | -import { DomEventNameWithModifier } from './constants/dom-events' |
| 15 | +import type { DomEventNameWithModifier } from './constants/dom-events' |
16 | 16 | import type { VueWrapper } from './vueWrapper' |
17 | | -import { |
| 17 | +import type { |
18 | 18 | DefinedComponent, |
19 | 19 | FindAllComponentsSelector, |
20 | 20 | FindComponentSelector, |
21 | 21 | NameSelector, |
22 | 22 | RefSelector, |
23 | 23 | VueNode |
24 | 24 | } from './types' |
25 | | -import WrapperLike from './interfaces/wrapperLike' |
| 25 | +import type WrapperLike from './interfaces/wrapperLike' |
26 | 26 | import { find, matches } from './utils/find' |
27 | 27 | import { createWrapperError } from './errorWrapper' |
28 | 28 | import { isElementVisible } from './utils/isElementVisible' |
29 | 29 | import { isElement } from './utils/isElement' |
30 | 30 | import type { DOMWrapper } from './domWrapper' |
31 | 31 | import { createDOMWrapper, createVueWrapper } from './wrapperFactory' |
32 | 32 | import { stringifyNode } from './utils/stringifyNode' |
33 | | -import beautify, { HTMLBeautifyOptions } from 'js-beautify' |
| 33 | +import type { HTMLBeautifyOptions } from 'js-beautify' |
| 34 | +import beautify from 'js-beautify' |
34 | 35 |
|
35 | 36 | export default abstract class BaseWrapper<ElementType extends Node> |
36 | 37 | implements WrapperLike |
|
0 commit comments