1 | import { getAdjust, registerAdjust } from './factory';
|
2 |
|
3 | import Adjust from './adjusts/adjust';
|
4 |
|
5 | import Dodge from './adjusts/dodge';
|
6 | import Jitter from './adjusts/jitter';
|
7 | import Stack from './adjusts/stack';
|
8 | import Symmetric from './adjusts/symmetric';
|
9 |
|
10 | // 注册内置的 adjust
|
11 | registerAdjust('Dodge', Dodge);
|
12 | registerAdjust('Jitter', Jitter);
|
13 | registerAdjust('Stack', Stack);
|
14 | registerAdjust('Symmetric', Symmetric);
|
15 |
|
16 | // 最终暴露给外部的方法
|
17 | export { getAdjust, registerAdjust, Adjust };
|
18 |
|
19 | export * from './interface';
|