@rendley/sdk 1.11.12 → 1.11.14
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.
- package/dist/Engine.d.ts +6 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/libs/ffmpeg/types.d.ts +1 -0
- package/dist/modules/clip/Clip.d.ts +10 -1
- package/dist/modules/clip/clips/audio/AudioClip.d.ts +1 -0
- package/dist/modules/clip/clips/custom/CustomClip.d.ts +1 -0
- package/dist/modules/clip/clips/htmlText/HtmlTextClip.d.ts +5 -4
- package/dist/modules/clip/clips/index.d.ts +1 -0
- package/dist/modules/clip/clips/lottie/LottieClip.d.ts +1 -0
- package/dist/modules/clip/clips/placeholder/PlaceholderClip.d.ts +16 -0
- package/dist/modules/clip/clips/shape/ShapeClip.d.ts +1 -0
- package/dist/modules/clip/clips/text/TextClip.d.ts +1 -0
- package/dist/modules/clip/clips/video/VideoClip.d.ts +1 -0
- package/dist/modules/event-emitter/types/EventEmitter.types.d.ts +11 -0
- package/dist/modules/library/Library.d.ts +24 -0
- package/dist/modules/library/MediaData.d.ts +12 -2
- package/dist/modules/library/static-images.d.ts +3 -0
- package/dist/modules/settings/Settings.d.ts +20 -0
- package/dist/modules/storage/StorageController.d.ts +1 -0
- package/dist/modules/undo/UndoManager.types.d.ts +11 -0
- package/dist/types/clip.types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BlendModeEnum, WrapModeEnum } from '../../types';
|
|
1
2
|
import { AnimationTypeEnum } from "../clip";
|
|
2
3
|
import { ShapeTypeEnum } from "../clip/clips/shape/types/Shape.types";
|
|
3
4
|
import { TextBlock } from "../library";
|
|
@@ -19,6 +20,8 @@ export declare enum UndoActionEnum {
|
|
|
19
20
|
CLIP_ANIMATION_SET = "clip-animation-set",
|
|
20
21
|
CLIP_ANIMATION_SET_DURATION = "clip-animation-set-duration",
|
|
21
22
|
CLIP_ANIMATION_SET_LOOP_SMOOTHING = "clip-animation-set-loop-smoothing",
|
|
23
|
+
CLIP_WRAP_MODE = "clip-wrap-mode",
|
|
24
|
+
CLIP_BLEND_MODE = "clip-blend-mode",
|
|
22
25
|
CLIP_STYLE_POSITION = "clip-style-position",
|
|
23
26
|
CLIP_STYLE_SCALE = "clip-style-scale",
|
|
24
27
|
CLIP_STYLE_ROTATION = "clip-style-rotation",
|
|
@@ -123,6 +126,14 @@ export type UndoActionMappings = {
|
|
|
123
126
|
subtitlesId: string | undefined;
|
|
124
127
|
offset: number;
|
|
125
128
|
};
|
|
129
|
+
[UndoActionEnum.CLIP_WRAP_MODE]: {
|
|
130
|
+
clipId: string;
|
|
131
|
+
wrapMode: WrapModeEnum;
|
|
132
|
+
};
|
|
133
|
+
[UndoActionEnum.CLIP_BLEND_MODE]: {
|
|
134
|
+
clipId: string;
|
|
135
|
+
blendMode: BlendModeEnum;
|
|
136
|
+
};
|
|
126
137
|
[UndoActionEnum.CLIP_STYLE_POSITION]: {
|
|
127
138
|
clipId: string;
|
|
128
139
|
value: [number, number];
|
|
@@ -9,6 +9,7 @@ export declare enum ClipTypeEnum {
|
|
|
9
9
|
SHAPE = "shape",
|
|
10
10
|
LOTTIE = "lottie",
|
|
11
11
|
SUBTITLES = "subtitles",
|
|
12
|
+
PLACEHOLDER = "placeholder",
|
|
12
13
|
CUSTOM = "custom"
|
|
13
14
|
}
|
|
14
15
|
export declare enum WrapModeEnum {
|
|
@@ -17,3 +18,9 @@ export declare enum WrapModeEnum {
|
|
|
17
18
|
PING_PONG = "ping_pong",
|
|
18
19
|
EMPTY = "empty"
|
|
19
20
|
}
|
|
21
|
+
export declare enum BlendModeEnum {
|
|
22
|
+
NORMAL = "normal",
|
|
23
|
+
ADD = "add",
|
|
24
|
+
SCREEN = "screen",
|
|
25
|
+
MULTIPLY = "multiply"
|
|
26
|
+
}
|