@cliquify.me/state 3.1.8 → 3.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ import { ISize } from '@cliquify.me/types';
2
+
3
+ export declare const DEFAULT_SIZE: ISize;
4
+ export declare const DEFAULT_FPS = 30;
@@ -0,0 +1,58 @@
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_TRANSITION = "add:transition";
19
+ export declare const ADD_ANIMATION = "add:animation";
20
+ export declare const ADD_CAPTIONS = "add:caption";
21
+ export declare const ADD_TEMPLATE = "add:template";
22
+ export declare const ADD_ITEMS = "add:items";
23
+ export declare const EDIT_PREFIX = "edit";
24
+ export declare const EDIT_OBJECT = "edit:object";
25
+ export declare const REPLACE_MEDIA = "edit:replaceMedia";
26
+ export declare const EDIT_TEXT = "edit:text";
27
+ export declare const EDIT_SHAPE = "edit:shape";
28
+ export declare const EDIT_TEMPLATE_ITEM = "edit:templateItem";
29
+ export declare const DELETE_TEMPLATE_ITEM = "edit:deleteTemplateItem";
30
+ export declare const ENTER_EDIT_MODE = "enterEditMode";
31
+ export declare const ACTIVE_PREFIX = "active";
32
+ export declare const ACTIVE_SET = "active:set";
33
+ export declare const ACTIVE_DELETE = "active:delete";
34
+ export declare const ACTIVE_PASTE = "active:paste";
35
+ export declare const ACTIVE_CLONE = "active:clone";
36
+ export declare const ACTIVE_SPLIT = "active:split";
37
+ export declare const LAYER_PREFIX = "layer";
38
+ export declare const LAYER_LOCKED = "layer:locked";
39
+ export declare const LAYER_HIDDEN = "layer:hidden";
40
+ export declare const LAYER_MOVE = "layer:move";
41
+ export declare const LAYER_SELECT = "layer:select";
42
+ export declare const LAYER_SELECTION = "layer:selection";
43
+ export declare const LAYER_SEND_TO = "layer:sendTo";
44
+ export declare const LAYER_RENAME = "layer:rename";
45
+ export declare const LAYER_EDITING_NAME = "layer:editingName";
46
+ export declare const LAYER_COPY = "layer:copy";
47
+ export declare const LAYER_PASTE = "layer:paste";
48
+ export declare const LAYER_CLONE = "layer:clone";
49
+ export declare const LAYER_SPLIT = "layer:split";
50
+ export declare const LAYER_CUT = "layer:cut";
51
+ export declare const LAYER_DELETE = "layer:delete";
52
+ export declare const LAYER_REPLACE = "layer:replace";
53
+ export declare const HISTORY_PREFIX = "history";
54
+ export declare const HISTORY_UNDO = "history:undo";
55
+ export declare const HISTORY_REDO = "history:redo";
56
+ export declare const HISTORY_RESET = "history:reset";
57
+ export declare const TIMELINE_SCALE_PREFIX = "scale";
58
+ export declare const TIMELINE_SCALE_CHANGED = "scale:changed";
@@ -0,0 +1,6 @@
1
+ import { default as StateManager } from '.';
2
+
3
+ declare function handleStateEvents(state: StateManager): {
4
+ unsubscribe: () => void;
5
+ };
6
+ export default handleStateEvents;
@@ -0,0 +1,2 @@
1
+ export { default } from './state';
2
+ export * from './events';