|
12 | 12 | * along with Interacto. If not, see <https://www.gnu.org/licenses/>. |
13 | 13 | */ |
14 | 14 |
|
15 | | -import {KeysBinder} from "../../src/impl/binder/KeysBinder"; |
16 | | -import {BindingsContext} from "../../src/impl/binding/BindingsContext"; |
17 | | -import {BindingsImpl} from "../../src/impl/binding/BindingsImpl"; |
18 | | -import {KeyDown} from "../../src/impl/interaction/library/KeyDown"; |
19 | | -import {MouseDown} from "../../src/impl/interaction/library/MouseDown"; |
20 | | -import {UndoHistoryImpl} from "../../src/impl/undo/UndoHistoryImpl"; |
| 15 | +import { |
| 16 | + BindingsContext, |
| 17 | + BindingsImpl, |
| 18 | + KeysBinder, |
| 19 | + UndoHistoryImpl, KeyDown, MouseDown |
| 20 | +} from "../../src/interacto"; |
21 | 21 | import {StubCmd} from "../command/StubCmd"; |
22 | 22 | import {createKeyEvent} from "../interaction/StubEvents"; |
23 | 23 | import {afterEach, beforeEach, describe, expect, jest, test} from "@jest/globals"; |
24 | 24 | import {robot} from "interacto-nono"; |
25 | 25 | import {mock} from "jest-mock-extended"; |
26 | | -import type {EltRef} from "../../src/api/binder/BaseBinderBuilder"; |
27 | | -import type {KeyInteractionCmdBinder} from "../../src/api/binder/KeyInteractionCmdBinder"; |
28 | | -import type {Binding} from "../../src/api/binding/Binding"; |
29 | | -import type {Bindings} from "../../src/api/binding/Bindings"; |
30 | | -import type {BindingsObserver} from "../../src/api/binding/BindingsObserver"; |
31 | | -import type {Command} from "../../src/api/command/Command"; |
32 | | -import type {Interaction} from "../../src/api/interaction/Interaction"; |
33 | | -import type {KeyData} from "../../src/api/interaction/KeyData"; |
34 | | -import type {KeysData} from "../../src/api/interaction/KeysData"; |
35 | | -import type {Logger} from "../../src/api/logging/Logger"; |
36 | | -import type {UndoHistory} from "../../src/api/undo/UndoHistory"; |
37 | | -import type {UndoHistoryBase} from "../../src/api/undo/UndoHistoryBase"; |
| 26 | +import type { |
| 27 | + Binding, |
| 28 | + Bindings, BindingsObserver, |
| 29 | + Command, |
| 30 | + Interaction, |
| 31 | + UndoHistoryBase, Logger, KeysData, EltRef, UndoHistory, KeyInteractionCmdBinder, KeyData |
| 32 | +} from "../../src/interacto"; |
38 | 33 |
|
39 | 34 | let elt: HTMLElement; |
40 | 35 | let binding: Binding<Command, Interaction<object>, unknown> | undefined; |
|
0 commit comments