@rendley/sdk 1.10.1 → 1.10.3
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/modules/clip/Clip.d.ts +7 -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 +1 -0
- package/dist/modules/clip/clips/lottie/LottieClip.d.ts +6 -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/filter/Filter.d.ts +7 -0
- package/package.json +1 -1
|
@@ -461,6 +461,7 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
461
461
|
filters: z.ZodArray<z.ZodObject<{
|
|
462
462
|
id: z.ZodString;
|
|
463
463
|
sourceId: z.ZodString;
|
|
464
|
+
intensity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
464
465
|
options: z.ZodObject<{
|
|
465
466
|
lutUrl: z.ZodString;
|
|
466
467
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -474,12 +475,14 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
474
475
|
lutUrl: string;
|
|
475
476
|
};
|
|
476
477
|
sourceId: string;
|
|
478
|
+
intensity: number;
|
|
477
479
|
}, {
|
|
478
480
|
id: string;
|
|
479
481
|
options: {
|
|
480
482
|
lutUrl: string;
|
|
481
483
|
};
|
|
482
484
|
sourceId: string;
|
|
485
|
+
intensity?: number | undefined;
|
|
483
486
|
}>, "many">;
|
|
484
487
|
effects: z.ZodArray<z.ZodObject<{
|
|
485
488
|
id: z.ZodString;
|
|
@@ -973,6 +976,7 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
973
976
|
lutUrl: string;
|
|
974
977
|
};
|
|
975
978
|
sourceId: string;
|
|
979
|
+
intensity: number;
|
|
976
980
|
}[];
|
|
977
981
|
effects: {
|
|
978
982
|
id: string;
|
|
@@ -1078,6 +1082,7 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
1078
1082
|
lutUrl: string;
|
|
1079
1083
|
};
|
|
1080
1084
|
sourceId: string;
|
|
1085
|
+
intensity?: number | undefined;
|
|
1081
1086
|
}[];
|
|
1082
1087
|
effects: {
|
|
1083
1088
|
id: string;
|
|
@@ -1193,7 +1198,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1193
1198
|
style: K;
|
|
1194
1199
|
state: ClipState;
|
|
1195
1200
|
protected clipMasksLazyDeserialize: z.infer<typeof MaskFilterSchema>[];
|
|
1196
|
-
private AnimationClass;
|
|
1201
|
+
private readonly AnimationClass;
|
|
1197
1202
|
readonly animationController: InstanceType<typeof this.AnimationClass>;
|
|
1198
1203
|
constructor(options: ClipOptions);
|
|
1199
1204
|
init(layerId: string): Promise<void>;
|
|
@@ -1288,6 +1293,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1288
1293
|
lutUrl: string;
|
|
1289
1294
|
};
|
|
1290
1295
|
sourceId: string;
|
|
1296
|
+
intensity: number;
|
|
1291
1297
|
}[];
|
|
1292
1298
|
effects: {
|
|
1293
1299
|
id: string;
|
|
@@ -119,10 +119,15 @@ export declare class LottieClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>
|
|
|
119
119
|
protected properties: Property[];
|
|
120
120
|
protected groups: Group[];
|
|
121
121
|
private propertyMap;
|
|
122
|
+
private autoFit;
|
|
122
123
|
constructor(options: LottieClipOptions);
|
|
123
124
|
init(layerId: string): Promise<void>;
|
|
124
125
|
private initProperties;
|
|
125
126
|
setProperty(propertyId: string, value: unknown): void;
|
|
127
|
+
getGroups(): {
|
|
128
|
+
id: string;
|
|
129
|
+
label: string;
|
|
130
|
+
}[];
|
|
126
131
|
getProperties(): Map<string, {
|
|
127
132
|
type: LottiePropertyTypeEnum;
|
|
128
133
|
id: string;
|
|
@@ -166,6 +171,7 @@ export declare class LottieClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>
|
|
|
166
171
|
lutUrl: string;
|
|
167
172
|
};
|
|
168
173
|
sourceId: string;
|
|
174
|
+
intensity: number;
|
|
169
175
|
}[];
|
|
170
176
|
effects: {
|
|
171
177
|
id: string;
|
|
@@ -3,6 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
export declare const FilterSchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
sourceId: z.ZodString;
|
|
6
|
+
intensity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6
7
|
options: z.ZodObject<{
|
|
7
8
|
lutUrl: z.ZodString;
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16,16 +17,19 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
16
17
|
lutUrl: string;
|
|
17
18
|
};
|
|
18
19
|
sourceId: string;
|
|
20
|
+
intensity: number;
|
|
19
21
|
}, {
|
|
20
22
|
id: string;
|
|
21
23
|
options: {
|
|
22
24
|
lutUrl: string;
|
|
23
25
|
};
|
|
24
26
|
sourceId: string;
|
|
27
|
+
intensity?: number | undefined;
|
|
25
28
|
}>;
|
|
26
29
|
export interface FilterOptions {
|
|
27
30
|
lutUrl: string;
|
|
28
31
|
sourceId: string;
|
|
32
|
+
intensity?: number;
|
|
29
33
|
}
|
|
30
34
|
export declare class Filter {
|
|
31
35
|
id: string;
|
|
@@ -35,6 +39,8 @@ export declare class Filter {
|
|
|
35
39
|
private lutTexture;
|
|
36
40
|
private pixiFilter;
|
|
37
41
|
constructor(options: FilterOptions);
|
|
42
|
+
setIntensity(intensity: number): void;
|
|
43
|
+
getIntensity(): number;
|
|
38
44
|
getSourceId(): string;
|
|
39
45
|
getPixiFilter(): PIXI.Filter;
|
|
40
46
|
serialize(): {
|
|
@@ -43,6 +49,7 @@ export declare class Filter {
|
|
|
43
49
|
lutUrl: string;
|
|
44
50
|
};
|
|
45
51
|
sourceId: string;
|
|
52
|
+
intensity: number;
|
|
46
53
|
};
|
|
47
54
|
static deserialize(data: object): Filter;
|
|
48
55
|
}
|