@clypra-studio/engine 0.1.2 → 1.0.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/TransitionDefinition-CQoSb4ZB.d.cts +158 -0
- package/dist/TransitionDefinition-CQoSb4ZB.d.ts +158 -0
- package/dist/{chunk-CJRH4PAV.js → chunk-2VGI6ZB7.js} +289 -63
- package/dist/chunk-2VGI6ZB7.js.map +1 -0
- package/dist/chunk-4PKBLJ34.js +667 -0
- package/dist/chunk-4PKBLJ34.js.map +1 -0
- package/dist/chunk-FIJBB3MH.js +2990 -0
- package/dist/chunk-FIJBB3MH.js.map +1 -0
- package/dist/{chunk-EVQAI3P3.js → chunk-S24UVNPZ.js} +5 -1
- package/dist/{chunk-EVQAI3P3.js.map → chunk-S24UVNPZ.js.map} +1 -1
- package/dist/{index-BWo6qV_z.d.cts → index-Da47I6aX.d.cts} +5 -5
- package/dist/{index-BWo6qV_z.d.ts → index-Da47I6aX.d.ts} +5 -5
- package/dist/index.cjs +3906 -1371
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +437 -3807
- package/dist/index.d.ts +437 -3807
- package/dist/index.js +1310 -1411
- package/dist/index.js.map +1 -1
- package/dist/textEffects/index.cjs.map +1 -1
- package/dist/textEffects/index.js +1 -1
- package/dist/transitions/index.cjs +2207 -3
- package/dist/transitions/index.cjs.map +1 -1
- package/dist/transitions/index.d.cts +58 -9
- package/dist/transitions/index.d.ts +58 -9
- package/dist/transitions/index.js +53 -3
- package/dist/v2/backends/index.cjs +246 -33
- package/dist/v2/backends/index.cjs.map +1 -1
- package/dist/v2/backends/index.d.cts +1 -1
- package/dist/v2/backends/index.d.ts +1 -1
- package/dist/v2/backends/index.js +1 -1
- package/dist/v2/contract/index.d.cts +12 -12
- package/dist/v2/contract/index.d.ts +12 -12
- package/dist/videoEffects/index.cjs +284 -64
- package/dist/videoEffects/index.cjs.map +1 -1
- package/dist/videoEffects/index.d.cts +34 -138
- package/dist/videoEffects/index.d.ts +34 -138
- package/dist/videoEffects/index.js +1 -1
- package/package.json +12 -12
- package/LICENSE +0 -9
- package/dist/chunk-5JOAEDIQ.js +0 -446
- package/dist/chunk-5JOAEDIQ.js.map +0 -1
- package/dist/chunk-CJRH4PAV.js.map +0 -1
- package/dist/chunk-QMRMNH52.js +0 -811
- package/dist/chunk-QMRMNH52.js.map +0 -1
|
@@ -1,8 +1,60 @@
|
|
|
1
|
+
import { i as TransitionDefinition } from '../TransitionDefinition-CQoSb4ZB.cjs';
|
|
2
|
+
import 'pixi.js';
|
|
3
|
+
|
|
4
|
+
declare const PushTransition: TransitionDefinition;
|
|
5
|
+
|
|
6
|
+
declare const IrisRevealTransition: TransitionDefinition;
|
|
7
|
+
|
|
8
|
+
declare const FoldTurnTransition: TransitionDefinition;
|
|
9
|
+
|
|
10
|
+
declare const ZoomTransition: TransitionDefinition;
|
|
11
|
+
|
|
12
|
+
declare const ChromaticPushTransition: TransitionDefinition;
|
|
13
|
+
|
|
14
|
+
declare const RefractionWarpTransition: TransitionDefinition;
|
|
15
|
+
|
|
16
|
+
declare const GlitchTransition: TransitionDefinition;
|
|
17
|
+
|
|
18
|
+
declare const StrobeCutTransition: TransitionDefinition;
|
|
19
|
+
|
|
20
|
+
declare const FrameHoldStutterTransition: TransitionDefinition;
|
|
21
|
+
|
|
22
|
+
declare const CrossDissolveTransition: TransitionDefinition;
|
|
23
|
+
|
|
24
|
+
declare const DirectionalDissolveTransition: TransitionDefinition;
|
|
25
|
+
|
|
26
|
+
declare const PixelateCollapseTransition: TransitionDefinition;
|
|
27
|
+
|
|
28
|
+
declare const LumaWipeTransition: TransitionDefinition;
|
|
29
|
+
|
|
30
|
+
declare const LightLeakSweepTransition: TransitionDefinition;
|
|
31
|
+
|
|
32
|
+
declare const FilmBurnWipeTransition: TransitionDefinition;
|
|
33
|
+
|
|
34
|
+
declare const DepthPushTransition: TransitionDefinition;
|
|
35
|
+
|
|
36
|
+
declare const RackFocusBlendTransition: TransitionDefinition;
|
|
37
|
+
|
|
38
|
+
declare const ParallaxLayerSplitTransition: TransitionDefinition;
|
|
39
|
+
|
|
40
|
+
declare const ShatterBurstTransition: TransitionDefinition;
|
|
41
|
+
|
|
42
|
+
declare const ElasticSnapCutTransition: TransitionDefinition;
|
|
43
|
+
|
|
44
|
+
declare const GravityDropTransition: TransitionDefinition;
|
|
45
|
+
|
|
46
|
+
declare const ALL_TRANSITIONS: TransitionDefinition[];
|
|
47
|
+
declare const transitionEffects: TransitionDefinition[];
|
|
48
|
+
declare const transitionEffectsById: {
|
|
49
|
+
[k: string]: TransitionDefinition;
|
|
50
|
+
};
|
|
51
|
+
declare function getTransitionEffect(id: string): TransitionDefinition;
|
|
52
|
+
|
|
1
53
|
/**
|
|
2
54
|
* Transition Types
|
|
3
55
|
* Type definitions for transition effects between video clips
|
|
4
56
|
*
|
|
5
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
57
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
6
58
|
*/
|
|
7
59
|
type TransitionRenderer$1 = "fade" | "dissolve" | "cut" | "canvas" | "zoom_in" | "zoom_out" | "zoom_blur" | "slide_left" | "slide_right" | "slide_up" | "slide_down" | "wipe_left" | "wipe_right" | "wipe_up" | "wipe_down" | "wipe_clockwise" | "wipe_center" | "circle_expand" | "circle_collapse" | "diamond_expand" | "rectangle_expand" | "blur_fade" | "directional_blur" | "glitch" | "rgb_split" | "chromatic" | "film_burn" | "light_leak" | "whip_pan";
|
|
8
60
|
type EasingFunction = "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "spring" | "bounce";
|
|
@@ -26,6 +78,7 @@ interface TransitionPreset {
|
|
|
26
78
|
description: string;
|
|
27
79
|
tags: string[];
|
|
28
80
|
defaultDuration: number;
|
|
81
|
+
defaultDurationMs: number;
|
|
29
82
|
durationConstraints?: {
|
|
30
83
|
min: number;
|
|
31
84
|
max: number;
|
|
@@ -55,7 +108,7 @@ interface AppliedTransition {
|
|
|
55
108
|
* - zoom_in: Scale up during fade
|
|
56
109
|
* - wipe_left: Reveal next frame from left
|
|
57
110
|
*
|
|
58
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
111
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
59
112
|
*/
|
|
60
113
|
|
|
61
114
|
declare class TransitionRenderer {
|
|
@@ -109,21 +162,17 @@ declare class TransitionRenderer {
|
|
|
109
162
|
* Transition Presets
|
|
110
163
|
* Professional transition definitions mapped to TransitionRenderer types
|
|
111
164
|
*
|
|
112
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
165
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
113
166
|
*/
|
|
114
167
|
|
|
115
168
|
declare const TRANSITION_CATEGORIES: TransitionCategory[];
|
|
116
|
-
/**
|
|
117
|
-
* Professional Transition Preset Library
|
|
118
|
-
* Maps UI-friendly presets to engine TransitionRenderer types
|
|
119
|
-
*/
|
|
120
169
|
declare const TRANSITION_PRESETS: TransitionPreset[];
|
|
121
170
|
|
|
122
171
|
/**
|
|
123
172
|
* Transition Helpers
|
|
124
173
|
* Utility functions for working with transition presets
|
|
125
174
|
*
|
|
126
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
175
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
127
176
|
*/
|
|
128
177
|
|
|
129
178
|
/**
|
|
@@ -167,4 +216,4 @@ declare function getTransitionsByTags(tags: string[]): TransitionPreset[];
|
|
|
167
216
|
*/
|
|
168
217
|
declare function getRecommendedDuration(presetId: string): number;
|
|
169
218
|
|
|
170
|
-
export { type AppliedTransition, type EasingFunction, TRANSITION_CATEGORIES, TRANSITION_PRESETS, type TransitionCategory, type TransitionParameters, type TransitionPreset, TransitionRenderer, type TransitionRenderer$1 as TransitionRendererType, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionsByCategory, getTransitionsByTags, searchTransitions };
|
|
219
|
+
export { ALL_TRANSITIONS, type AppliedTransition, ChromaticPushTransition, CrossDissolveTransition, DepthPushTransition, DirectionalDissolveTransition, type EasingFunction, ElasticSnapCutTransition, FilmBurnWipeTransition, FoldTurnTransition, FrameHoldStutterTransition, GlitchTransition, GravityDropTransition, IrisRevealTransition, LightLeakSweepTransition, LumaWipeTransition, ParallaxLayerSplitTransition, PixelateCollapseTransition, PushTransition, RackFocusBlendTransition, RefractionWarpTransition, ShatterBurstTransition, StrobeCutTransition, TRANSITION_CATEGORIES, TRANSITION_PRESETS, type TransitionCategory, type TransitionParameters, type TransitionPreset, TransitionRenderer, type TransitionRenderer$1 as TransitionRendererType, ZoomTransition, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionEffect, getTransitionsByCategory, getTransitionsByTags, searchTransitions, transitionEffects, transitionEffectsById };
|
|
@@ -1,8 +1,60 @@
|
|
|
1
|
+
import { i as TransitionDefinition } from '../TransitionDefinition-CQoSb4ZB.js';
|
|
2
|
+
import 'pixi.js';
|
|
3
|
+
|
|
4
|
+
declare const PushTransition: TransitionDefinition;
|
|
5
|
+
|
|
6
|
+
declare const IrisRevealTransition: TransitionDefinition;
|
|
7
|
+
|
|
8
|
+
declare const FoldTurnTransition: TransitionDefinition;
|
|
9
|
+
|
|
10
|
+
declare const ZoomTransition: TransitionDefinition;
|
|
11
|
+
|
|
12
|
+
declare const ChromaticPushTransition: TransitionDefinition;
|
|
13
|
+
|
|
14
|
+
declare const RefractionWarpTransition: TransitionDefinition;
|
|
15
|
+
|
|
16
|
+
declare const GlitchTransition: TransitionDefinition;
|
|
17
|
+
|
|
18
|
+
declare const StrobeCutTransition: TransitionDefinition;
|
|
19
|
+
|
|
20
|
+
declare const FrameHoldStutterTransition: TransitionDefinition;
|
|
21
|
+
|
|
22
|
+
declare const CrossDissolveTransition: TransitionDefinition;
|
|
23
|
+
|
|
24
|
+
declare const DirectionalDissolveTransition: TransitionDefinition;
|
|
25
|
+
|
|
26
|
+
declare const PixelateCollapseTransition: TransitionDefinition;
|
|
27
|
+
|
|
28
|
+
declare const LumaWipeTransition: TransitionDefinition;
|
|
29
|
+
|
|
30
|
+
declare const LightLeakSweepTransition: TransitionDefinition;
|
|
31
|
+
|
|
32
|
+
declare const FilmBurnWipeTransition: TransitionDefinition;
|
|
33
|
+
|
|
34
|
+
declare const DepthPushTransition: TransitionDefinition;
|
|
35
|
+
|
|
36
|
+
declare const RackFocusBlendTransition: TransitionDefinition;
|
|
37
|
+
|
|
38
|
+
declare const ParallaxLayerSplitTransition: TransitionDefinition;
|
|
39
|
+
|
|
40
|
+
declare const ShatterBurstTransition: TransitionDefinition;
|
|
41
|
+
|
|
42
|
+
declare const ElasticSnapCutTransition: TransitionDefinition;
|
|
43
|
+
|
|
44
|
+
declare const GravityDropTransition: TransitionDefinition;
|
|
45
|
+
|
|
46
|
+
declare const ALL_TRANSITIONS: TransitionDefinition[];
|
|
47
|
+
declare const transitionEffects: TransitionDefinition[];
|
|
48
|
+
declare const transitionEffectsById: {
|
|
49
|
+
[k: string]: TransitionDefinition;
|
|
50
|
+
};
|
|
51
|
+
declare function getTransitionEffect(id: string): TransitionDefinition;
|
|
52
|
+
|
|
1
53
|
/**
|
|
2
54
|
* Transition Types
|
|
3
55
|
* Type definitions for transition effects between video clips
|
|
4
56
|
*
|
|
5
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
57
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
6
58
|
*/
|
|
7
59
|
type TransitionRenderer$1 = "fade" | "dissolve" | "cut" | "canvas" | "zoom_in" | "zoom_out" | "zoom_blur" | "slide_left" | "slide_right" | "slide_up" | "slide_down" | "wipe_left" | "wipe_right" | "wipe_up" | "wipe_down" | "wipe_clockwise" | "wipe_center" | "circle_expand" | "circle_collapse" | "diamond_expand" | "rectangle_expand" | "blur_fade" | "directional_blur" | "glitch" | "rgb_split" | "chromatic" | "film_burn" | "light_leak" | "whip_pan";
|
|
8
60
|
type EasingFunction = "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "ease-in-quad" | "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | "spring" | "bounce";
|
|
@@ -26,6 +78,7 @@ interface TransitionPreset {
|
|
|
26
78
|
description: string;
|
|
27
79
|
tags: string[];
|
|
28
80
|
defaultDuration: number;
|
|
81
|
+
defaultDurationMs: number;
|
|
29
82
|
durationConstraints?: {
|
|
30
83
|
min: number;
|
|
31
84
|
max: number;
|
|
@@ -55,7 +108,7 @@ interface AppliedTransition {
|
|
|
55
108
|
* - zoom_in: Scale up during fade
|
|
56
109
|
* - wipe_left: Reveal next frame from left
|
|
57
110
|
*
|
|
58
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
111
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
59
112
|
*/
|
|
60
113
|
|
|
61
114
|
declare class TransitionRenderer {
|
|
@@ -109,21 +162,17 @@ declare class TransitionRenderer {
|
|
|
109
162
|
* Transition Presets
|
|
110
163
|
* Professional transition definitions mapped to TransitionRenderer types
|
|
111
164
|
*
|
|
112
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
165
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
113
166
|
*/
|
|
114
167
|
|
|
115
168
|
declare const TRANSITION_CATEGORIES: TransitionCategory[];
|
|
116
|
-
/**
|
|
117
|
-
* Professional Transition Preset Library
|
|
118
|
-
* Maps UI-friendly presets to engine TransitionRenderer types
|
|
119
|
-
*/
|
|
120
169
|
declare const TRANSITION_PRESETS: TransitionPreset[];
|
|
121
170
|
|
|
122
171
|
/**
|
|
123
172
|
* Transition Helpers
|
|
124
173
|
* Utility functions for working with transition presets
|
|
125
174
|
*
|
|
126
|
-
* Part of @clypra/engine - shared between clypra-studio and clypra app
|
|
175
|
+
* Part of @clypra-studio/engine - shared between clypra-studio and clypra app
|
|
127
176
|
*/
|
|
128
177
|
|
|
129
178
|
/**
|
|
@@ -167,4 +216,4 @@ declare function getTransitionsByTags(tags: string[]): TransitionPreset[];
|
|
|
167
216
|
*/
|
|
168
217
|
declare function getRecommendedDuration(presetId: string): number;
|
|
169
218
|
|
|
170
|
-
export { type AppliedTransition, type EasingFunction, TRANSITION_CATEGORIES, TRANSITION_PRESETS, type TransitionCategory, type TransitionParameters, type TransitionPreset, TransitionRenderer, type TransitionRenderer$1 as TransitionRendererType, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionsByCategory, getTransitionsByTags, searchTransitions };
|
|
219
|
+
export { ALL_TRANSITIONS, type AppliedTransition, ChromaticPushTransition, CrossDissolveTransition, DepthPushTransition, DirectionalDissolveTransition, type EasingFunction, ElasticSnapCutTransition, FilmBurnWipeTransition, FoldTurnTransition, FrameHoldStutterTransition, GlitchTransition, GravityDropTransition, IrisRevealTransition, LightLeakSweepTransition, LumaWipeTransition, ParallaxLayerSplitTransition, PixelateCollapseTransition, PushTransition, RackFocusBlendTransition, RefractionWarpTransition, ShatterBurstTransition, StrobeCutTransition, TRANSITION_CATEGORIES, TRANSITION_PRESETS, type TransitionCategory, type TransitionParameters, type TransitionPreset, TransitionRenderer, type TransitionRenderer$1 as TransitionRendererType, ZoomTransition, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionEffect, getTransitionsByCategory, getTransitionsByTags, searchTransitions, transitionEffects, transitionEffectsById };
|
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ALL_TRANSITIONS,
|
|
3
|
+
ChromaticPushTransition,
|
|
4
|
+
CrossDissolveTransition,
|
|
5
|
+
DepthPushTransition,
|
|
6
|
+
DirectionalDissolveTransition,
|
|
7
|
+
ElasticSnapCutTransition,
|
|
8
|
+
FilmBurnWipeTransition,
|
|
9
|
+
FoldTurnTransition,
|
|
10
|
+
FrameHoldStutterTransition,
|
|
11
|
+
GlitchTransition,
|
|
12
|
+
GravityDropTransition,
|
|
13
|
+
IrisRevealTransition,
|
|
14
|
+
LightLeakSweepTransition,
|
|
15
|
+
LumaWipeTransition,
|
|
16
|
+
ParallaxLayerSplitTransition,
|
|
17
|
+
PixelateCollapseTransition,
|
|
18
|
+
PushTransition,
|
|
19
|
+
RackFocusBlendTransition,
|
|
20
|
+
RefractionWarpTransition,
|
|
21
|
+
ShatterBurstTransition,
|
|
22
|
+
StrobeCutTransition,
|
|
2
23
|
TRANSITION_CATEGORIES,
|
|
3
24
|
TRANSITION_PRESETS,
|
|
4
25
|
TransitionRenderer,
|
|
26
|
+
ZoomTransition,
|
|
5
27
|
getAllTransitionTags,
|
|
6
28
|
getAllTransitions,
|
|
7
29
|
getRecommendedDuration,
|
|
@@ -9,15 +31,40 @@ import {
|
|
|
9
31
|
getTransitionByRenderer,
|
|
10
32
|
getTransitionCategories,
|
|
11
33
|
getTransitionCountByCategory,
|
|
34
|
+
getTransitionEffect,
|
|
12
35
|
getTransitionsByCategory,
|
|
13
36
|
getTransitionsByTags,
|
|
14
|
-
searchTransitions
|
|
15
|
-
|
|
37
|
+
searchTransitions,
|
|
38
|
+
transitionEffects,
|
|
39
|
+
transitionEffectsById
|
|
40
|
+
} from "../chunk-FIJBB3MH.js";
|
|
16
41
|
import "../chunk-PZ5AY32C.js";
|
|
17
42
|
export {
|
|
43
|
+
ALL_TRANSITIONS,
|
|
44
|
+
ChromaticPushTransition,
|
|
45
|
+
CrossDissolveTransition,
|
|
46
|
+
DepthPushTransition,
|
|
47
|
+
DirectionalDissolveTransition,
|
|
48
|
+
ElasticSnapCutTransition,
|
|
49
|
+
FilmBurnWipeTransition,
|
|
50
|
+
FoldTurnTransition,
|
|
51
|
+
FrameHoldStutterTransition,
|
|
52
|
+
GlitchTransition,
|
|
53
|
+
GravityDropTransition,
|
|
54
|
+
IrisRevealTransition,
|
|
55
|
+
LightLeakSweepTransition,
|
|
56
|
+
LumaWipeTransition,
|
|
57
|
+
ParallaxLayerSplitTransition,
|
|
58
|
+
PixelateCollapseTransition,
|
|
59
|
+
PushTransition,
|
|
60
|
+
RackFocusBlendTransition,
|
|
61
|
+
RefractionWarpTransition,
|
|
62
|
+
ShatterBurstTransition,
|
|
63
|
+
StrobeCutTransition,
|
|
18
64
|
TRANSITION_CATEGORIES,
|
|
19
65
|
TRANSITION_PRESETS,
|
|
20
66
|
TransitionRenderer,
|
|
67
|
+
ZoomTransition,
|
|
21
68
|
getAllTransitionTags,
|
|
22
69
|
getAllTransitions,
|
|
23
70
|
getRecommendedDuration,
|
|
@@ -25,8 +72,11 @@ export {
|
|
|
25
72
|
getTransitionByRenderer,
|
|
26
73
|
getTransitionCategories,
|
|
27
74
|
getTransitionCountByCategory,
|
|
75
|
+
getTransitionEffect,
|
|
28
76
|
getTransitionsByCategory,
|
|
29
77
|
getTransitionsByTags,
|
|
30
|
-
searchTransitions
|
|
78
|
+
searchTransitions,
|
|
79
|
+
transitionEffects,
|
|
80
|
+
transitionEffectsById
|
|
31
81
|
};
|
|
32
82
|
//# sourceMappingURL=index.js.map
|