@rendley/sdk 1.14.4 → 1.15.1
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.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/modules/animation/PropertyAnimator.d.ts +93 -0
- package/dist/modules/animation/PropertyAnimator.types.d.ts +516 -0
- package/dist/modules/animation/index.d.ts +2 -0
- package/dist/modules/clip/Clip.d.ts +378 -54
- package/dist/modules/clip/ClipStyle.d.ts +11 -0
- package/dist/modules/clip/clips/audio/AudioClip.d.ts +38 -7
- package/dist/modules/clip/clips/custom/CustomClip.d.ts +37 -6
- package/dist/modules/clip/clips/htmlText/HtmlTextClip.d.ts +40 -7
- package/dist/modules/clip/clips/lottie/LottieClip.d.ts +38 -7
- package/dist/modules/clip/clips/shape/ShapeClip.d.ts +39 -6
- package/dist/modules/clip/clips/svg/SvgClip.d.ts +37 -6
- package/dist/modules/clip/clips/text/TextClip.d.ts +40 -7
- package/dist/modules/clip/clips/video/VideoClip.d.ts +38 -7
- package/dist/modules/event-emitter/types/EventEmitter.types.d.ts +5 -0
- package/dist/modules/filter/CropAnimationFilter.d.ts +7 -0
- package/dist/modules/undo/UndoManager.d.ts +2 -0
- package/dist/modules/undo/UndoManager.types.d.ts +39 -0
- package/dist/utils/animation/animation.d.ts +6 -6
- package/package.json +1 -1
|
@@ -3,9 +3,12 @@ import { z } from "zod";
|
|
|
3
3
|
import { ExportOptions } from '../../Engine';
|
|
4
4
|
import { ReplaceMediaOptions } from '../../index';
|
|
5
5
|
import { ClipStyle } from "./ClipStyle";
|
|
6
|
+
import { PropertyAnimator } from "../animation/PropertyAnimator";
|
|
6
7
|
import { Effect, EffectSchema } from "../effect";
|
|
7
8
|
import { Filter, FilterSchema } from "../filter";
|
|
9
|
+
import { CropAnimationFilter } from "../filter/CropAnimationFilter";
|
|
8
10
|
import { MaskFilter, MaskFilterSchema, MaskWrapModeEnum } from "../filter/MaskFilter";
|
|
11
|
+
import { PropertyDescriptionTypeEnum } from "../library/types/Property.types";
|
|
9
12
|
import { BlendModeEnum, FitStyleEnum, WrapModeEnum } from '../../types/clip.types';
|
|
10
13
|
import { AnimationData } from '../../utils/animation/animation';
|
|
11
14
|
export declare enum ClipState {
|
|
@@ -74,8 +77,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
74
77
|
relativeProperty?: string | undefined;
|
|
75
78
|
}>, "many">;
|
|
76
79
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
78
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
79
80
|
property: string;
|
|
80
81
|
keyframes: {
|
|
81
82
|
value: string | number;
|
|
@@ -84,6 +85,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
84
85
|
space: import('../../index').AnimationSpaceEnum;
|
|
85
86
|
relativeProperty?: string | undefined;
|
|
86
87
|
}[];
|
|
88
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
89
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
87
90
|
}, {
|
|
88
91
|
property: string;
|
|
89
92
|
keyframes: {
|
|
@@ -101,8 +104,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
101
104
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
102
105
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
103
106
|
propertyAnimations: {
|
|
104
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
105
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
106
107
|
property: string;
|
|
107
108
|
keyframes: {
|
|
108
109
|
value: string | number;
|
|
@@ -111,6 +112,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
111
112
|
space: import('../../index').AnimationSpaceEnum;
|
|
112
113
|
relativeProperty?: string | undefined;
|
|
113
114
|
}[];
|
|
115
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
116
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
114
117
|
}[];
|
|
115
118
|
speed?: number | undefined;
|
|
116
119
|
offset?: number | undefined;
|
|
@@ -166,8 +169,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
166
169
|
relativeProperty?: string | undefined;
|
|
167
170
|
}>, "many">;
|
|
168
171
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
170
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
171
172
|
property: string;
|
|
172
173
|
keyframes: {
|
|
173
174
|
value: string | number;
|
|
@@ -176,6 +177,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
176
177
|
space: import('../../index').AnimationSpaceEnum;
|
|
177
178
|
relativeProperty?: string | undefined;
|
|
178
179
|
}[];
|
|
180
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
181
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
179
182
|
}, {
|
|
180
183
|
property: string;
|
|
181
184
|
keyframes: {
|
|
@@ -193,8 +196,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
193
196
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
194
197
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
195
198
|
propertyAnimations: {
|
|
196
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
197
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
198
199
|
property: string;
|
|
199
200
|
keyframes: {
|
|
200
201
|
value: string | number;
|
|
@@ -203,6 +204,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
203
204
|
space: import('../../index').AnimationSpaceEnum;
|
|
204
205
|
relativeProperty?: string | undefined;
|
|
205
206
|
}[];
|
|
207
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
208
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
206
209
|
}[];
|
|
207
210
|
speed?: number | undefined;
|
|
208
211
|
offset?: number | undefined;
|
|
@@ -258,8 +261,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
258
261
|
relativeProperty?: string | undefined;
|
|
259
262
|
}>, "many">;
|
|
260
263
|
}, "strip", z.ZodTypeAny, {
|
|
261
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
262
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
263
264
|
property: string;
|
|
264
265
|
keyframes: {
|
|
265
266
|
value: string | number;
|
|
@@ -268,6 +269,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
268
269
|
space: import('../../index').AnimationSpaceEnum;
|
|
269
270
|
relativeProperty?: string | undefined;
|
|
270
271
|
}[];
|
|
272
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
273
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
271
274
|
}, {
|
|
272
275
|
property: string;
|
|
273
276
|
keyframes: {
|
|
@@ -285,8 +288,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
285
288
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
286
289
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
287
290
|
propertyAnimations: {
|
|
288
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
289
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
290
291
|
property: string;
|
|
291
292
|
keyframes: {
|
|
292
293
|
value: string | number;
|
|
@@ -295,6 +296,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
295
296
|
space: import('../../index').AnimationSpaceEnum;
|
|
296
297
|
relativeProperty?: string | undefined;
|
|
297
298
|
}[];
|
|
299
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
300
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
298
301
|
}[];
|
|
299
302
|
speed?: number | undefined;
|
|
300
303
|
offset?: number | undefined;
|
|
@@ -333,8 +336,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
333
336
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
334
337
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
335
338
|
propertyAnimations: {
|
|
336
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
337
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
338
339
|
property: string;
|
|
339
340
|
keyframes: {
|
|
340
341
|
value: string | number;
|
|
@@ -343,6 +344,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
343
344
|
space: import('../../index').AnimationSpaceEnum;
|
|
344
345
|
relativeProperty?: string | undefined;
|
|
345
346
|
}[];
|
|
347
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
348
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
346
349
|
}[];
|
|
347
350
|
speed?: number | undefined;
|
|
348
351
|
offset?: number | undefined;
|
|
@@ -353,8 +356,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
353
356
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
354
357
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
355
358
|
propertyAnimations: {
|
|
356
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
357
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
358
359
|
property: string;
|
|
359
360
|
keyframes: {
|
|
360
361
|
value: string | number;
|
|
@@ -363,6 +364,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
363
364
|
space: import('../../index').AnimationSpaceEnum;
|
|
364
365
|
relativeProperty?: string | undefined;
|
|
365
366
|
}[];
|
|
367
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
368
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
366
369
|
}[];
|
|
367
370
|
speed?: number | undefined;
|
|
368
371
|
offset?: number | undefined;
|
|
@@ -373,8 +376,6 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
373
376
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
374
377
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
375
378
|
propertyAnimations: {
|
|
376
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
377
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
378
379
|
property: string;
|
|
379
380
|
keyframes: {
|
|
380
381
|
value: string | number;
|
|
@@ -383,6 +384,8 @@ export declare const AnimationClassSchema: z.ZodObject<{
|
|
|
383
384
|
space: import('../../index').AnimationSpaceEnum;
|
|
384
385
|
relativeProperty?: string | undefined;
|
|
385
386
|
}[];
|
|
387
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
388
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
386
389
|
}[];
|
|
387
390
|
speed?: number | undefined;
|
|
388
391
|
offset?: number | undefined;
|
|
@@ -521,8 +524,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
521
524
|
relativeProperty?: string | undefined;
|
|
522
525
|
}>, "many">;
|
|
523
526
|
}, "strip", z.ZodTypeAny, {
|
|
524
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
525
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
526
527
|
property: string;
|
|
527
528
|
keyframes: {
|
|
528
529
|
value: string | number;
|
|
@@ -531,6 +532,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
531
532
|
space: import('../../index').AnimationSpaceEnum;
|
|
532
533
|
relativeProperty?: string | undefined;
|
|
533
534
|
}[];
|
|
535
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
536
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
534
537
|
}, {
|
|
535
538
|
property: string;
|
|
536
539
|
keyframes: {
|
|
@@ -548,8 +551,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
548
551
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
549
552
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
550
553
|
propertyAnimations: {
|
|
551
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
552
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
553
554
|
property: string;
|
|
554
555
|
keyframes: {
|
|
555
556
|
value: string | number;
|
|
@@ -558,6 +559,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
558
559
|
space: import('../../index').AnimationSpaceEnum;
|
|
559
560
|
relativeProperty?: string | undefined;
|
|
560
561
|
}[];
|
|
562
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
563
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
561
564
|
}[];
|
|
562
565
|
speed?: number | undefined;
|
|
563
566
|
offset?: number | undefined;
|
|
@@ -613,8 +616,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
613
616
|
relativeProperty?: string | undefined;
|
|
614
617
|
}>, "many">;
|
|
615
618
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
617
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
618
619
|
property: string;
|
|
619
620
|
keyframes: {
|
|
620
621
|
value: string | number;
|
|
@@ -623,6 +624,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
623
624
|
space: import('../../index').AnimationSpaceEnum;
|
|
624
625
|
relativeProperty?: string | undefined;
|
|
625
626
|
}[];
|
|
627
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
628
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
626
629
|
}, {
|
|
627
630
|
property: string;
|
|
628
631
|
keyframes: {
|
|
@@ -640,8 +643,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
640
643
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
641
644
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
642
645
|
propertyAnimations: {
|
|
643
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
644
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
645
646
|
property: string;
|
|
646
647
|
keyframes: {
|
|
647
648
|
value: string | number;
|
|
@@ -650,6 +651,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
650
651
|
space: import('../../index').AnimationSpaceEnum;
|
|
651
652
|
relativeProperty?: string | undefined;
|
|
652
653
|
}[];
|
|
654
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
655
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
653
656
|
}[];
|
|
654
657
|
speed?: number | undefined;
|
|
655
658
|
offset?: number | undefined;
|
|
@@ -705,8 +708,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
705
708
|
relativeProperty?: string | undefined;
|
|
706
709
|
}>, "many">;
|
|
707
710
|
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
709
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
710
711
|
property: string;
|
|
711
712
|
keyframes: {
|
|
712
713
|
value: string | number;
|
|
@@ -715,6 +716,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
715
716
|
space: import('../../index').AnimationSpaceEnum;
|
|
716
717
|
relativeProperty?: string | undefined;
|
|
717
718
|
}[];
|
|
719
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
720
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
718
721
|
}, {
|
|
719
722
|
property: string;
|
|
720
723
|
keyframes: {
|
|
@@ -732,8 +735,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
732
735
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
733
736
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
734
737
|
propertyAnimations: {
|
|
735
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
736
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
737
738
|
property: string;
|
|
738
739
|
keyframes: {
|
|
739
740
|
value: string | number;
|
|
@@ -742,6 +743,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
742
743
|
space: import('../../index').AnimationSpaceEnum;
|
|
743
744
|
relativeProperty?: string | undefined;
|
|
744
745
|
}[];
|
|
746
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
747
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
745
748
|
}[];
|
|
746
749
|
speed?: number | undefined;
|
|
747
750
|
offset?: number | undefined;
|
|
@@ -780,8 +783,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
780
783
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
781
784
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
782
785
|
propertyAnimations: {
|
|
783
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
784
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
785
786
|
property: string;
|
|
786
787
|
keyframes: {
|
|
787
788
|
value: string | number;
|
|
@@ -790,6 +791,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
790
791
|
space: import('../../index').AnimationSpaceEnum;
|
|
791
792
|
relativeProperty?: string | undefined;
|
|
792
793
|
}[];
|
|
794
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
795
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
793
796
|
}[];
|
|
794
797
|
speed?: number | undefined;
|
|
795
798
|
offset?: number | undefined;
|
|
@@ -800,8 +803,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
800
803
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
801
804
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
802
805
|
propertyAnimations: {
|
|
803
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
804
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
805
806
|
property: string;
|
|
806
807
|
keyframes: {
|
|
807
808
|
value: string | number;
|
|
@@ -810,6 +811,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
810
811
|
space: import('../../index').AnimationSpaceEnum;
|
|
811
812
|
relativeProperty?: string | undefined;
|
|
812
813
|
}[];
|
|
814
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
815
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
813
816
|
}[];
|
|
814
817
|
speed?: number | undefined;
|
|
815
818
|
offset?: number | undefined;
|
|
@@ -820,8 +823,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
820
823
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
821
824
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
822
825
|
propertyAnimations: {
|
|
823
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
824
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
825
826
|
property: string;
|
|
826
827
|
keyframes: {
|
|
827
828
|
value: string | number;
|
|
@@ -830,6 +831,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
830
831
|
space: import('../../index').AnimationSpaceEnum;
|
|
831
832
|
relativeProperty?: string | undefined;
|
|
832
833
|
}[];
|
|
834
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
835
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
833
836
|
}[];
|
|
834
837
|
speed?: number | undefined;
|
|
835
838
|
offset?: number | undefined;
|
|
@@ -916,6 +919,221 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
916
919
|
clipId: string;
|
|
917
920
|
wrapMode?: MaskWrapModeEnum | undefined;
|
|
918
921
|
}>, "many">>;
|
|
922
|
+
propertyAnimator: z.ZodOptional<z.ZodObject<{
|
|
923
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
924
|
+
property: z.ZodString;
|
|
925
|
+
type: z.ZodNativeEnum<typeof PropertyDescriptionTypeEnum>;
|
|
926
|
+
keyframes: z.ZodArray<z.ZodObject<{
|
|
927
|
+
time: z.ZodNumber;
|
|
928
|
+
value: z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">, z.ZodString, z.ZodBoolean]>;
|
|
929
|
+
handleIn: z.ZodObject<{
|
|
930
|
+
time: z.ZodNumber;
|
|
931
|
+
value: z.ZodNumber;
|
|
932
|
+
}, "strip", z.ZodTypeAny, {
|
|
933
|
+
value: number;
|
|
934
|
+
time: number;
|
|
935
|
+
}, {
|
|
936
|
+
value: number;
|
|
937
|
+
time: number;
|
|
938
|
+
}>;
|
|
939
|
+
handleOut: z.ZodObject<{
|
|
940
|
+
time: z.ZodNumber;
|
|
941
|
+
value: z.ZodNumber;
|
|
942
|
+
}, "strip", z.ZodTypeAny, {
|
|
943
|
+
value: number;
|
|
944
|
+
time: number;
|
|
945
|
+
}, {
|
|
946
|
+
value: number;
|
|
947
|
+
time: number;
|
|
948
|
+
}>;
|
|
949
|
+
hold: z.ZodOptional<z.ZodBoolean>;
|
|
950
|
+
}, "strip", z.ZodTypeAny, {
|
|
951
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
952
|
+
time: number;
|
|
953
|
+
handleIn: {
|
|
954
|
+
value: number;
|
|
955
|
+
time: number;
|
|
956
|
+
};
|
|
957
|
+
handleOut: {
|
|
958
|
+
value: number;
|
|
959
|
+
time: number;
|
|
960
|
+
};
|
|
961
|
+
hold?: boolean | undefined;
|
|
962
|
+
}, {
|
|
963
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
964
|
+
time: number;
|
|
965
|
+
handleIn: {
|
|
966
|
+
value: number;
|
|
967
|
+
time: number;
|
|
968
|
+
};
|
|
969
|
+
handleOut: {
|
|
970
|
+
value: number;
|
|
971
|
+
time: number;
|
|
972
|
+
};
|
|
973
|
+
hold?: boolean | undefined;
|
|
974
|
+
}>, "many">;
|
|
975
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
976
|
+
handleIn: z.ZodOptional<z.ZodObject<{
|
|
977
|
+
time: z.ZodNumber;
|
|
978
|
+
value: z.ZodNumber;
|
|
979
|
+
}, "strip", z.ZodTypeAny, {
|
|
980
|
+
value: number;
|
|
981
|
+
time: number;
|
|
982
|
+
}, {
|
|
983
|
+
value: number;
|
|
984
|
+
time: number;
|
|
985
|
+
}>>;
|
|
986
|
+
handleOut: z.ZodOptional<z.ZodObject<{
|
|
987
|
+
time: z.ZodNumber;
|
|
988
|
+
value: z.ZodNumber;
|
|
989
|
+
}, "strip", z.ZodTypeAny, {
|
|
990
|
+
value: number;
|
|
991
|
+
time: number;
|
|
992
|
+
}, {
|
|
993
|
+
value: number;
|
|
994
|
+
time: number;
|
|
995
|
+
}>>;
|
|
996
|
+
hold: z.ZodOptional<z.ZodBoolean>;
|
|
997
|
+
}, "strip", z.ZodTypeAny, {
|
|
998
|
+
handleIn?: {
|
|
999
|
+
value: number;
|
|
1000
|
+
time: number;
|
|
1001
|
+
} | undefined;
|
|
1002
|
+
handleOut?: {
|
|
1003
|
+
value: number;
|
|
1004
|
+
time: number;
|
|
1005
|
+
} | undefined;
|
|
1006
|
+
hold?: boolean | undefined;
|
|
1007
|
+
}, {
|
|
1008
|
+
handleIn?: {
|
|
1009
|
+
value: number;
|
|
1010
|
+
time: number;
|
|
1011
|
+
} | undefined;
|
|
1012
|
+
handleOut?: {
|
|
1013
|
+
value: number;
|
|
1014
|
+
time: number;
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
hold?: boolean | undefined;
|
|
1017
|
+
}>>;
|
|
1018
|
+
customData: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodUnknown], null>, "many">>;
|
|
1019
|
+
}, "strip", z.ZodTypeAny, {
|
|
1020
|
+
type: PropertyDescriptionTypeEnum;
|
|
1021
|
+
property: string;
|
|
1022
|
+
keyframes: {
|
|
1023
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
1024
|
+
time: number;
|
|
1025
|
+
handleIn: {
|
|
1026
|
+
value: number;
|
|
1027
|
+
time: number;
|
|
1028
|
+
};
|
|
1029
|
+
handleOut: {
|
|
1030
|
+
value: number;
|
|
1031
|
+
time: number;
|
|
1032
|
+
};
|
|
1033
|
+
hold?: boolean | undefined;
|
|
1034
|
+
}[];
|
|
1035
|
+
defaults?: {
|
|
1036
|
+
handleIn?: {
|
|
1037
|
+
value: number;
|
|
1038
|
+
time: number;
|
|
1039
|
+
} | undefined;
|
|
1040
|
+
handleOut?: {
|
|
1041
|
+
value: number;
|
|
1042
|
+
time: number;
|
|
1043
|
+
} | undefined;
|
|
1044
|
+
hold?: boolean | undefined;
|
|
1045
|
+
} | undefined;
|
|
1046
|
+
customData?: [string, unknown][] | undefined;
|
|
1047
|
+
}, {
|
|
1048
|
+
type: PropertyDescriptionTypeEnum;
|
|
1049
|
+
property: string;
|
|
1050
|
+
keyframes: {
|
|
1051
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
1052
|
+
time: number;
|
|
1053
|
+
handleIn: {
|
|
1054
|
+
value: number;
|
|
1055
|
+
time: number;
|
|
1056
|
+
};
|
|
1057
|
+
handleOut: {
|
|
1058
|
+
value: number;
|
|
1059
|
+
time: number;
|
|
1060
|
+
};
|
|
1061
|
+
hold?: boolean | undefined;
|
|
1062
|
+
}[];
|
|
1063
|
+
defaults?: {
|
|
1064
|
+
handleIn?: {
|
|
1065
|
+
value: number;
|
|
1066
|
+
time: number;
|
|
1067
|
+
} | undefined;
|
|
1068
|
+
handleOut?: {
|
|
1069
|
+
value: number;
|
|
1070
|
+
time: number;
|
|
1071
|
+
} | undefined;
|
|
1072
|
+
hold?: boolean | undefined;
|
|
1073
|
+
} | undefined;
|
|
1074
|
+
customData?: [string, unknown][] | undefined;
|
|
1075
|
+
}>, "many">;
|
|
1076
|
+
}, "strip", z.ZodTypeAny, {
|
|
1077
|
+
tracks: {
|
|
1078
|
+
type: PropertyDescriptionTypeEnum;
|
|
1079
|
+
property: string;
|
|
1080
|
+
keyframes: {
|
|
1081
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
1082
|
+
time: number;
|
|
1083
|
+
handleIn: {
|
|
1084
|
+
value: number;
|
|
1085
|
+
time: number;
|
|
1086
|
+
};
|
|
1087
|
+
handleOut: {
|
|
1088
|
+
value: number;
|
|
1089
|
+
time: number;
|
|
1090
|
+
};
|
|
1091
|
+
hold?: boolean | undefined;
|
|
1092
|
+
}[];
|
|
1093
|
+
defaults?: {
|
|
1094
|
+
handleIn?: {
|
|
1095
|
+
value: number;
|
|
1096
|
+
time: number;
|
|
1097
|
+
} | undefined;
|
|
1098
|
+
handleOut?: {
|
|
1099
|
+
value: number;
|
|
1100
|
+
time: number;
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
hold?: boolean | undefined;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
customData?: [string, unknown][] | undefined;
|
|
1105
|
+
}[];
|
|
1106
|
+
}, {
|
|
1107
|
+
tracks: {
|
|
1108
|
+
type: PropertyDescriptionTypeEnum;
|
|
1109
|
+
property: string;
|
|
1110
|
+
keyframes: {
|
|
1111
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
1112
|
+
time: number;
|
|
1113
|
+
handleIn: {
|
|
1114
|
+
value: number;
|
|
1115
|
+
time: number;
|
|
1116
|
+
};
|
|
1117
|
+
handleOut: {
|
|
1118
|
+
value: number;
|
|
1119
|
+
time: number;
|
|
1120
|
+
};
|
|
1121
|
+
hold?: boolean | undefined;
|
|
1122
|
+
}[];
|
|
1123
|
+
defaults?: {
|
|
1124
|
+
handleIn?: {
|
|
1125
|
+
value: number;
|
|
1126
|
+
time: number;
|
|
1127
|
+
} | undefined;
|
|
1128
|
+
handleOut?: {
|
|
1129
|
+
value: number;
|
|
1130
|
+
time: number;
|
|
1131
|
+
} | undefined;
|
|
1132
|
+
hold?: boolean | undefined;
|
|
1133
|
+
} | undefined;
|
|
1134
|
+
customData?: [string, unknown][] | undefined;
|
|
1135
|
+
}[];
|
|
1136
|
+
}>>;
|
|
919
1137
|
}, "strip", z.ZodTypeAny, {
|
|
920
1138
|
type: string;
|
|
921
1139
|
id: string;
|
|
@@ -950,8 +1168,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
950
1168
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
951
1169
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
952
1170
|
propertyAnimations: {
|
|
953
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
954
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
955
1171
|
property: string;
|
|
956
1172
|
keyframes: {
|
|
957
1173
|
value: string | number;
|
|
@@ -960,6 +1176,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
960
1176
|
space: import('../../index').AnimationSpaceEnum;
|
|
961
1177
|
relativeProperty?: string | undefined;
|
|
962
1178
|
}[];
|
|
1179
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1180
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
963
1181
|
}[];
|
|
964
1182
|
speed?: number | undefined;
|
|
965
1183
|
offset?: number | undefined;
|
|
@@ -970,8 +1188,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
970
1188
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
971
1189
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
972
1190
|
propertyAnimations: {
|
|
973
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
974
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
975
1191
|
property: string;
|
|
976
1192
|
keyframes: {
|
|
977
1193
|
value: string | number;
|
|
@@ -980,6 +1196,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
980
1196
|
space: import('../../index').AnimationSpaceEnum;
|
|
981
1197
|
relativeProperty?: string | undefined;
|
|
982
1198
|
}[];
|
|
1199
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1200
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
983
1201
|
}[];
|
|
984
1202
|
speed?: number | undefined;
|
|
985
1203
|
offset?: number | undefined;
|
|
@@ -990,8 +1208,6 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
990
1208
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
991
1209
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
992
1210
|
propertyAnimations: {
|
|
993
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
994
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
995
1211
|
property: string;
|
|
996
1212
|
keyframes: {
|
|
997
1213
|
value: string | number;
|
|
@@ -1000,6 +1216,8 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
1000
1216
|
space: import('../../index').AnimationSpaceEnum;
|
|
1001
1217
|
relativeProperty?: string | undefined;
|
|
1002
1218
|
}[];
|
|
1219
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1220
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1003
1221
|
}[];
|
|
1004
1222
|
speed?: number | undefined;
|
|
1005
1223
|
offset?: number | undefined;
|
|
@@ -1012,6 +1230,37 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
1012
1230
|
id: string;
|
|
1013
1231
|
clipId: string;
|
|
1014
1232
|
}[] | undefined;
|
|
1233
|
+
propertyAnimator?: {
|
|
1234
|
+
tracks: {
|
|
1235
|
+
type: PropertyDescriptionTypeEnum;
|
|
1236
|
+
property: string;
|
|
1237
|
+
keyframes: {
|
|
1238
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
1239
|
+
time: number;
|
|
1240
|
+
handleIn: {
|
|
1241
|
+
value: number;
|
|
1242
|
+
time: number;
|
|
1243
|
+
};
|
|
1244
|
+
handleOut: {
|
|
1245
|
+
value: number;
|
|
1246
|
+
time: number;
|
|
1247
|
+
};
|
|
1248
|
+
hold?: boolean | undefined;
|
|
1249
|
+
}[];
|
|
1250
|
+
defaults?: {
|
|
1251
|
+
handleIn?: {
|
|
1252
|
+
value: number;
|
|
1253
|
+
time: number;
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
handleOut?: {
|
|
1256
|
+
value: number;
|
|
1257
|
+
time: number;
|
|
1258
|
+
} | undefined;
|
|
1259
|
+
hold?: boolean | undefined;
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
customData?: [string, unknown][] | undefined;
|
|
1262
|
+
}[];
|
|
1263
|
+
} | undefined;
|
|
1015
1264
|
}, {
|
|
1016
1265
|
type: string;
|
|
1017
1266
|
id: string;
|
|
@@ -1108,6 +1357,37 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
1108
1357
|
clipId: string;
|
|
1109
1358
|
wrapMode?: MaskWrapModeEnum | undefined;
|
|
1110
1359
|
}[] | undefined;
|
|
1360
|
+
propertyAnimator?: {
|
|
1361
|
+
tracks: {
|
|
1362
|
+
type: PropertyDescriptionTypeEnum;
|
|
1363
|
+
property: string;
|
|
1364
|
+
keyframes: {
|
|
1365
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
1366
|
+
time: number;
|
|
1367
|
+
handleIn: {
|
|
1368
|
+
value: number;
|
|
1369
|
+
time: number;
|
|
1370
|
+
};
|
|
1371
|
+
handleOut: {
|
|
1372
|
+
value: number;
|
|
1373
|
+
time: number;
|
|
1374
|
+
};
|
|
1375
|
+
hold?: boolean | undefined;
|
|
1376
|
+
}[];
|
|
1377
|
+
defaults?: {
|
|
1378
|
+
handleIn?: {
|
|
1379
|
+
value: number;
|
|
1380
|
+
time: number;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
handleOut?: {
|
|
1383
|
+
value: number;
|
|
1384
|
+
time: number;
|
|
1385
|
+
} | undefined;
|
|
1386
|
+
hold?: boolean | undefined;
|
|
1387
|
+
} | undefined;
|
|
1388
|
+
customData?: [string, unknown][] | undefined;
|
|
1389
|
+
}[];
|
|
1390
|
+
} | undefined;
|
|
1111
1391
|
}>;
|
|
1112
1392
|
export declare class AnimationClass {
|
|
1113
1393
|
private readonly refClip;
|
|
@@ -1119,7 +1399,9 @@ export declare class AnimationClass {
|
|
|
1119
1399
|
private animationOutDuration;
|
|
1120
1400
|
private animationLoopCount;
|
|
1121
1401
|
private loopSmoothing;
|
|
1402
|
+
private onAnimationChanged?;
|
|
1122
1403
|
constructor(refClip: Clip);
|
|
1404
|
+
setOnAnimationChanged(callback: () => void): void;
|
|
1123
1405
|
private refresh;
|
|
1124
1406
|
private recordCurrentAnimationStateUndo;
|
|
1125
1407
|
setAnimation(type: AnimationTypeEnum, animationData: AnimationData, duration?: number): void;
|
|
@@ -1144,8 +1426,6 @@ export declare class AnimationClass {
|
|
|
1144
1426
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1145
1427
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1146
1428
|
propertyAnimations: {
|
|
1147
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1148
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1149
1429
|
property: string;
|
|
1150
1430
|
keyframes: {
|
|
1151
1431
|
value: string | number;
|
|
@@ -1154,6 +1434,8 @@ export declare class AnimationClass {
|
|
|
1154
1434
|
space: import('../../index').AnimationSpaceEnum;
|
|
1155
1435
|
relativeProperty?: string | undefined;
|
|
1156
1436
|
}[];
|
|
1437
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1438
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1157
1439
|
}[];
|
|
1158
1440
|
speed?: number | undefined;
|
|
1159
1441
|
offset?: number | undefined;
|
|
@@ -1164,8 +1446,6 @@ export declare class AnimationClass {
|
|
|
1164
1446
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1165
1447
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1166
1448
|
propertyAnimations: {
|
|
1167
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1168
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1169
1449
|
property: string;
|
|
1170
1450
|
keyframes: {
|
|
1171
1451
|
value: string | number;
|
|
@@ -1174,6 +1454,8 @@ export declare class AnimationClass {
|
|
|
1174
1454
|
space: import('../../index').AnimationSpaceEnum;
|
|
1175
1455
|
relativeProperty?: string | undefined;
|
|
1176
1456
|
}[];
|
|
1457
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1458
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1177
1459
|
}[];
|
|
1178
1460
|
speed?: number | undefined;
|
|
1179
1461
|
offset?: number | undefined;
|
|
@@ -1184,8 +1466,6 @@ export declare class AnimationClass {
|
|
|
1184
1466
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1185
1467
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1186
1468
|
propertyAnimations: {
|
|
1187
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1188
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1189
1469
|
property: string;
|
|
1190
1470
|
keyframes: {
|
|
1191
1471
|
value: string | number;
|
|
@@ -1194,6 +1474,8 @@ export declare class AnimationClass {
|
|
|
1194
1474
|
space: import('../../index').AnimationSpaceEnum;
|
|
1195
1475
|
relativeProperty?: string | undefined;
|
|
1196
1476
|
}[];
|
|
1477
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1478
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1197
1479
|
}[];
|
|
1198
1480
|
speed?: number | undefined;
|
|
1199
1481
|
offset?: number | undefined;
|
|
@@ -1220,6 +1502,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1220
1502
|
protected customData?: Map<string, unknown>;
|
|
1221
1503
|
protected maskFilters: MaskFilter[];
|
|
1222
1504
|
protected maskTargetClipIds: string[];
|
|
1505
|
+
protected cropAnimationFilter: CropAnimationFilter | null;
|
|
1223
1506
|
protected isVisible: boolean;
|
|
1224
1507
|
sprite: T;
|
|
1225
1508
|
style: K;
|
|
@@ -1231,12 +1514,19 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1231
1514
|
protected layerId: string;
|
|
1232
1515
|
protected clipMasksLazyDeserialize: z.infer<typeof MaskFilterSchema>[];
|
|
1233
1516
|
animationController: AnimationClass;
|
|
1517
|
+
propertyAnimator: PropertyAnimator;
|
|
1518
|
+
private lastPropertyAnimatorTime?;
|
|
1234
1519
|
constructor(options: ClipOptions);
|
|
1235
1520
|
init(layerId: string): Promise<void>;
|
|
1236
1521
|
resetAllAnimationProperties(): void;
|
|
1237
1522
|
setAnimationPropertyValue(property: string, value: any): void;
|
|
1238
1523
|
getAnimationPropertyValue(property: string): number | string;
|
|
1239
1524
|
resetAnimationPropertyValue(property: string): void;
|
|
1525
|
+
protected registerAnimatableProperties(): void;
|
|
1526
|
+
registerEffectProperties(effect: Effect): void;
|
|
1527
|
+
unregisterEffectProperties(effect: Effect): void;
|
|
1528
|
+
registerFilterProperties(filter: Filter): void;
|
|
1529
|
+
unregisterFilterProperties(filter: Filter): void;
|
|
1240
1530
|
setCustomData(key: string, value: unknown, overwrite?: boolean): boolean;
|
|
1241
1531
|
getCustomData(key: string): unknown;
|
|
1242
1532
|
hasCustomData(key: string): boolean;
|
|
@@ -1325,7 +1615,10 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1325
1615
|
setBlendMode(blendMode: BlendModeEnum): void;
|
|
1326
1616
|
getBlendMode(): BlendModeEnum;
|
|
1327
1617
|
protected setupBlendingMode(pixiBlendMode: PIXI.BLEND_MODES | undefined): void;
|
|
1618
|
+
private static readonly CROP_ANIMATION_PROPERTIES;
|
|
1619
|
+
private needsCropAnimationFilter;
|
|
1328
1620
|
private updatePIXIFilters;
|
|
1621
|
+
protected updateCropAnimationFilter(): void;
|
|
1329
1622
|
hasSprite(): boolean;
|
|
1330
1623
|
protected fitToSize(oldFullWidth: number, oldFullHeight: number, oldWidth: number, oldHeight: number, oldScale: number[], newCrop: number[], fitStyle: FitStyleEnum, crop?: boolean): void;
|
|
1331
1624
|
update(currentTime: number): void;
|
|
@@ -1366,8 +1659,6 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1366
1659
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1367
1660
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1368
1661
|
propertyAnimations: {
|
|
1369
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1370
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1371
1662
|
property: string;
|
|
1372
1663
|
keyframes: {
|
|
1373
1664
|
value: string | number;
|
|
@@ -1376,6 +1667,8 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1376
1667
|
space: import('../../index').AnimationSpaceEnum;
|
|
1377
1668
|
relativeProperty?: string | undefined;
|
|
1378
1669
|
}[];
|
|
1670
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1671
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1379
1672
|
}[];
|
|
1380
1673
|
speed?: number | undefined;
|
|
1381
1674
|
offset?: number | undefined;
|
|
@@ -1386,8 +1679,6 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1386
1679
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1387
1680
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1388
1681
|
propertyAnimations: {
|
|
1389
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1390
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1391
1682
|
property: string;
|
|
1392
1683
|
keyframes: {
|
|
1393
1684
|
value: string | number;
|
|
@@ -1396,6 +1687,8 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1396
1687
|
space: import('../../index').AnimationSpaceEnum;
|
|
1397
1688
|
relativeProperty?: string | undefined;
|
|
1398
1689
|
}[];
|
|
1690
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1691
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1399
1692
|
}[];
|
|
1400
1693
|
speed?: number | undefined;
|
|
1401
1694
|
offset?: number | undefined;
|
|
@@ -1406,8 +1699,6 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1406
1699
|
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1407
1700
|
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1408
1701
|
propertyAnimations: {
|
|
1409
|
-
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1410
|
-
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1411
1702
|
property: string;
|
|
1412
1703
|
keyframes: {
|
|
1413
1704
|
value: string | number;
|
|
@@ -1416,6 +1707,8 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1416
1707
|
space: import('../../index').AnimationSpaceEnum;
|
|
1417
1708
|
relativeProperty?: string | undefined;
|
|
1418
1709
|
}[];
|
|
1710
|
+
inOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1711
|
+
outOutOfRange: import('../../index').OutOfRangeEnum;
|
|
1419
1712
|
}[];
|
|
1420
1713
|
speed?: number | undefined;
|
|
1421
1714
|
offset?: number | undefined;
|
|
@@ -1428,6 +1721,37 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1428
1721
|
id: string;
|
|
1429
1722
|
clipId: string;
|
|
1430
1723
|
}[] | undefined;
|
|
1724
|
+
propertyAnimator?: {
|
|
1725
|
+
tracks: {
|
|
1726
|
+
type: PropertyDescriptionTypeEnum;
|
|
1727
|
+
property: string;
|
|
1728
|
+
keyframes: {
|
|
1729
|
+
value: (string | number | boolean | number[]) & (string | number | boolean | number[] | undefined);
|
|
1730
|
+
time: number;
|
|
1731
|
+
handleIn: {
|
|
1732
|
+
value: number;
|
|
1733
|
+
time: number;
|
|
1734
|
+
};
|
|
1735
|
+
handleOut: {
|
|
1736
|
+
value: number;
|
|
1737
|
+
time: number;
|
|
1738
|
+
};
|
|
1739
|
+
hold?: boolean | undefined;
|
|
1740
|
+
}[];
|
|
1741
|
+
defaults?: {
|
|
1742
|
+
handleIn?: {
|
|
1743
|
+
value: number;
|
|
1744
|
+
time: number;
|
|
1745
|
+
} | undefined;
|
|
1746
|
+
handleOut?: {
|
|
1747
|
+
value: number;
|
|
1748
|
+
time: number;
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
hold?: boolean | undefined;
|
|
1751
|
+
} | undefined;
|
|
1752
|
+
customData?: [string, unknown][] | undefined;
|
|
1753
|
+
}[];
|
|
1754
|
+
} | undefined;
|
|
1431
1755
|
};
|
|
1432
1756
|
protected postDeserialize(validatedData: z.infer<typeof ClipSchema>): void;
|
|
1433
1757
|
static deserialize(data: object): Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>;
|