@designcombo/state 0.1.32 → 0.1.34
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.d.ts +69 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +1911 -1759
- package/dist/index.umd.js +2 -2
- package/dist/state.d.ts +1 -0
- package/dist/utils/find-track.d.ts +6 -0
- package/dist/utils/load-item.d.ts +143 -141
- package/dist/utils/math.d.ts +8 -0
- package/package.json +5 -5
- package/dist/utils/validateColision.d.ts +0 -3
package/dist/events.d.ts
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
export declare const ADD_SUFFIX = "add";
|
2
|
+
export declare const TRACK_PREFIX = "track";
|
3
|
+
export declare const TRACK_ITEMS_PREFIX = "trackItems";
|
4
|
+
export declare const TRACKS_CHANGED = "track:changed";
|
5
|
+
export declare const TRACK_ITEMS_CHANGED = "trackItems:changed";
|
6
|
+
export declare const STATE_PREFIX = "state";
|
7
|
+
export declare const STATE_CHANGED = "state:changed";
|
8
|
+
export declare const DESIGN_PREFIX = "design";
|
9
|
+
export declare const DESIGN_LOAD = "design:load";
|
10
|
+
export declare const DESIGN_RESIZE = "design:resize";
|
11
|
+
export declare const ADD_PREFIX = "add";
|
12
|
+
export declare const ADD_TEXT = "add:text";
|
13
|
+
export declare const ADD_VIDEO = "add:video";
|
14
|
+
export declare const ADD_AUDIO = "add:audio";
|
15
|
+
export declare const ADD_PLACEHOLDER = "add:placeholder";
|
16
|
+
export declare const ADD_IMAGE = "add:image";
|
17
|
+
export declare const ADD_MASK = "add:mask";
|
18
|
+
export declare const ADD_ITEMS = "add:items";
|
19
|
+
export declare const ADD_TRANSITION = "add:transition";
|
20
|
+
export declare const ADD_ANIMATION = "add:animation";
|
21
|
+
export declare const ADD_CAPTION = "add:caption";
|
22
|
+
export declare const ADD_TEMPLATE = "add:template";
|
23
|
+
export declare const EDIT_PREFIX = "edit";
|
24
|
+
export declare const EDIT_OBJECT = "edit:object";
|
25
|
+
export declare const EDIT_TEXT = "edit:text";
|
26
|
+
export declare const EDIT_SHAPE = "edit:shape";
|
27
|
+
export declare const EDIT_TEMPLATE_ITEM = "edit:templateItem";
|
28
|
+
export declare const CLOSE_EDIT_TEMPLATE = "edit:closeTemplate";
|
29
|
+
export declare const DELETE_TEMPLATE_ITEM = "edit:deleteTemplateItem";
|
30
|
+
export declare const ENTER_EDIT_MODE = "enterEditMode";
|
31
|
+
export declare const PLAYER_PREFIX = "player";
|
32
|
+
export declare const PLAYER_PLAY = "player:play";
|
33
|
+
export declare const PLAYER_PAUSE = "player:pause";
|
34
|
+
export declare const PLAYER_SEEK = "player:seek";
|
35
|
+
export declare const PLAYER_SEEK_TO = "player:seekTo";
|
36
|
+
export declare const PLAYER_SEEK_BY = "player:seekBy";
|
37
|
+
export declare const PLAYER_TOGGLE_PLAY = "player:togglePlay";
|
38
|
+
export declare const ACTIVE_PREFIX = "active";
|
39
|
+
export declare const ACTIVE_SET = "active:set";
|
40
|
+
export declare const ACTIVE_DELETE = "active:delete";
|
41
|
+
export declare const ACTIVE_PASTE = "active:paste";
|
42
|
+
export declare const ACTIVE_CLONE = "active:clone";
|
43
|
+
export declare const ACTIVE_SPLIT = "active:split";
|
44
|
+
export declare const LAYER_PREFIX = "layer";
|
45
|
+
export declare const LAYER_LOCKED = "layer:locked";
|
46
|
+
export declare const LAYER_HIDDEN = "layer:hidden";
|
47
|
+
export declare const LAYER_MOVE = "layer:move";
|
48
|
+
export declare const LAYER_SELECT = "layer:select";
|
49
|
+
export declare const LAYER_SELECTION = "layer:selection";
|
50
|
+
export declare const LAYER_SEND_TO = "layer:sendTo";
|
51
|
+
export declare const LAYER_RENAME = "layer:rename";
|
52
|
+
export declare const LAYER_EDITING_NAME = "layer:editingName";
|
53
|
+
export declare const LAYER_COPY = "layer:copy";
|
54
|
+
export declare const LAYER_PASTE = "layer:paste";
|
55
|
+
export declare const LAYER_CLONE = "layer:clone";
|
56
|
+
export declare const LAYER_SPLIT = "layer:split";
|
57
|
+
export declare const LAYER_CUT = "layer:cut";
|
58
|
+
export declare const LAYER_DELETE = "layer:delete";
|
59
|
+
export declare const HISTORY_PREFIX = "history";
|
60
|
+
export declare const HISTORY_UNDO = "history:undo";
|
61
|
+
export declare const HISTORY_REDO = "history:redo";
|
62
|
+
export declare const HISTORY_RESET = "history:reset";
|
63
|
+
export declare const TIMELINE_SCALE_PREFIX = "scale";
|
64
|
+
export declare const TIMELINE_SCALE_CHANGED = "scale:changed";
|
65
|
+
export declare const DRAG_PREFIX = "drag";
|
66
|
+
export declare const DRAG_START = "drag:start";
|
67
|
+
export declare const DRAG_END = "drag:end";
|
68
|
+
export declare const TIMELINE_PREFIX = "timeline";
|
69
|
+
export declare const TIMELINE_BOUNDING_CHANGED = "timeline:boundingChanged";
|
package/dist/index.d.ts
CHANGED