1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
import type { Path } from 'path-to-regexp';
import type { DelegateEventUnsubscribe } from './helpers/delegateEvent.js';
import type { DelegateEvent, DelegateEventHandler } from 'delegate-it';
import Swup from './Swup.js';
import type { Options } from './Swup.js';
import type { CacheData } from './modules/Cache.js';
import type { PageData } from './modules/fetchPage.js';
import type {
Visit,
VisitFrom,
VisitTo,
VisitAnimation,
VisitScroll,
VisitHistory
} from './modules/Visit.js';
import type {
HookName,
HookDefinitions,
HookArguments,
HookReturnValues,
HookHandler,
HookDefaultHandler,
HookOptions,
HookUnregister,
HookEvent
} from './modules/Hooks.js';
import type { Plugin } from './modules/plugins.js';
export default Swup;
export * from './helpers.js';
export * from './utils.js';
export type {
Swup,
Options,
Plugin,
CacheData,
PageData,
Path,
Visit,
VisitFrom,
VisitTo,
VisitAnimation,
VisitScroll,
VisitHistory,
HookName,
HookDefinitions,
HookArguments,
HookReturnValues,
HookHandler,
HookHandler as Handler, // backwards compatibility
HookDefaultHandler,
HookOptions,
HookUnregister,
HookEvent,
DelegateEvent,
DelegateEventHandler,
DelegateEventUnsubscribe
};
|