visualfries 0.1.0
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/LICENSE +21 -0
- package/README.md +213 -0
- package/dist/DIContainer.d.ts +4 -0
- package/dist/DIContainer.js +145 -0
- package/dist/SceneBuilder.svelte.d.ts +8574 -0
- package/dist/SceneBuilder.svelte.js +409 -0
- package/dist/adapters/subtitleHelpers.d.ts +2 -0
- package/dist/adapters/subtitleHelpers.js +187 -0
- package/dist/animations/AnimationContext.d.ts +17 -0
- package/dist/animations/AnimationContext.js +72 -0
- package/dist/animations/AnimationPresetsRegister.d.ts +362 -0
- package/dist/animations/AnimationPresetsRegister.js +20 -0
- package/dist/animations/AnimationSetup.d.ts +8 -0
- package/dist/animations/AnimationSetup.js +30 -0
- package/dist/animations/SplitTextCache.d.ts +28 -0
- package/dist/animations/SplitTextCache.js +68 -0
- package/dist/animations/animationBuilder.d.ts +31 -0
- package/dist/animations/animationBuilder.js +255 -0
- package/dist/animations/animationPreset.d.ts +7 -0
- package/dist/animations/animationPreset.js +31 -0
- package/dist/animations/builders/AnimationPresetFactory.d.ts +43 -0
- package/dist/animations/builders/AnimationPresetFactory.js +139 -0
- package/dist/animations/builders/LineHighlighterAnimationBuilder.d.ts +16 -0
- package/dist/animations/builders/LineHighlighterAnimationBuilder.js +183 -0
- package/dist/animations/builders/WordHighlighterAnimationBuilder.d.ts +15 -0
- package/dist/animations/builders/WordHighlighterAnimationBuilder.js +180 -0
- package/dist/animations/engines/AnimationEngineAdaptor.d.ts +107 -0
- package/dist/animations/engines/AnimationEngineAdaptor.js +1 -0
- package/dist/animations/engines/GSAPEngineAdaptor.d.ts +21 -0
- package/dist/animations/engines/GSAPEngineAdaptor.js +145 -0
- package/dist/animations/presets/index.d.ts +2 -0
- package/dist/animations/presets/index.js +3 -0
- package/dist/animations/presets/lines.d.ts +52 -0
- package/dist/animations/presets/lines.js +547 -0
- package/dist/animations/presets/words.d.ts +31 -0
- package/dist/animations/presets/words.js +268 -0
- package/dist/animations/transformers/AnimationReferenceTransformer.d.ts +9 -0
- package/dist/animations/transformers/AnimationReferenceTransformer.js +114 -0
- package/dist/builders/PixiComponentBuilder.d.ts +63 -0
- package/dist/builders/PixiComponentBuilder.js +112 -0
- package/dist/builders/_ComponentState.svelte.d.ts +795 -0
- package/dist/builders/_ComponentState.svelte.js +203 -0
- package/dist/builders/html/HtmlBuilder.d.ts +66 -0
- package/dist/builders/html/HtmlBuilder.js +171 -0
- package/dist/builders/html/HtmlBuilderFactory.d.ts +27 -0
- package/dist/builders/html/HtmlBuilderFactory.js +30 -0
- package/dist/builders/html/StyleBuilder.d.ts +13 -0
- package/dist/builders/html/StyleBuilder.js +133 -0
- package/dist/builders/html/StyleProcessor.d.ts +9 -0
- package/dist/builders/html/StyleProcessor.js +1 -0
- package/dist/builders/html/TextComponentHtmlBuilder.d.ts +16 -0
- package/dist/builders/html/TextComponentHtmlBuilder.js +93 -0
- package/dist/builders/html/TextShadowBuilder.d.ts +60 -0
- package/dist/builders/html/TextShadowBuilder.js +227 -0
- package/dist/builders/html/processors/AppearanceStyleProcessor.d.ts +5 -0
- package/dist/builders/html/processors/AppearanceStyleProcessor.js +57 -0
- package/dist/builders/html/processors/TextAppearanceStyleProcessor.d.ts +5 -0
- package/dist/builders/html/processors/TextAppearanceStyleProcessor.js +37 -0
- package/dist/builders/html/processors/TextEffectsStyleProcessor.d.ts +6 -0
- package/dist/builders/html/processors/TextEffectsStyleProcessor.js +68 -0
- package/dist/commands/Command.d.ts +6 -0
- package/dist/commands/Command.js +1 -0
- package/dist/commands/CommandRunner.d.ts +28 -0
- package/dist/commands/CommandRunner.js +81 -0
- package/dist/commands/CommandTypes.d.ts +11 -0
- package/dist/commands/CommandTypes.js +13 -0
- package/dist/commands/PauseCommand.d.ts +4 -0
- package/dist/commands/PauseCommand.js +5 -0
- package/dist/commands/PlayCommand.d.ts +4 -0
- package/dist/commands/PlayCommand.js +6 -0
- package/dist/commands/RenderCommand.d.ts +15 -0
- package/dist/commands/RenderCommand.js +18 -0
- package/dist/commands/RenderFrameCommand.d.ts +17 -0
- package/dist/commands/RenderFrameCommand.js +93 -0
- package/dist/commands/ReplaceSourceOnTimeCommand.d.ts +4 -0
- package/dist/commands/ReplaceSourceOnTimeCommand.js +22 -0
- package/dist/commands/SeekCommand.d.ts +15 -0
- package/dist/commands/SeekCommand.js +39 -0
- package/dist/commands/UpdateComponentCommand.d.ts +4 -0
- package/dist/commands/UpdateComponentCommand.js +17 -0
- package/dist/components/AnimatedGIF.d.ts +201 -0
- package/dist/components/AnimatedGIF.js +391 -0
- package/dist/components/Component.svelte.d.ts +33 -0
- package/dist/components/Component.svelte.js +152 -0
- package/dist/components/ComponentContext.svelte.d.ts +33 -0
- package/dist/components/ComponentContext.svelte.js +105 -0
- package/dist/components/hooks/AnimationHook.d.ts +25 -0
- package/dist/components/hooks/AnimationHook.js +180 -0
- package/dist/components/hooks/CanvasShapeHook.d.ts +12 -0
- package/dist/components/hooks/CanvasShapeHook.js +229 -0
- package/dist/components/hooks/HtmlAnimationHook.d.ts +8 -0
- package/dist/components/hooks/HtmlAnimationHook.js +70 -0
- package/dist/components/hooks/HtmlTextHook.d.ts +16 -0
- package/dist/components/hooks/HtmlTextHook.js +102 -0
- package/dist/components/hooks/HtmlToCanvasHook.d.ts +16 -0
- package/dist/components/hooks/HtmlToCanvasHook.js +148 -0
- package/dist/components/hooks/ImageHook.d.ts +10 -0
- package/dist/components/hooks/ImageHook.js +45 -0
- package/dist/components/hooks/MediaHook.d.ts +15 -0
- package/dist/components/hooks/MediaHook.js +252 -0
- package/dist/components/hooks/MediaSeekingHook.d.ts +12 -0
- package/dist/components/hooks/MediaSeekingHook.js +204 -0
- package/dist/components/hooks/PixiDisplayObjectHook.d.ts +15 -0
- package/dist/components/hooks/PixiDisplayObjectHook.js +77 -0
- package/dist/components/hooks/PixiGifHook.d.ts +15 -0
- package/dist/components/hooks/PixiGifHook.js +97 -0
- package/dist/components/hooks/PixiProgressShapeHook.d.ts +12 -0
- package/dist/components/hooks/PixiProgressShapeHook.js +128 -0
- package/dist/components/hooks/PixiSplitScreenDisplayObjectHook.d.ts +21 -0
- package/dist/components/hooks/PixiSplitScreenDisplayObjectHook.js +210 -0
- package/dist/components/hooks/PixiTextureHook.d.ts +7 -0
- package/dist/components/hooks/PixiTextureHook.js +29 -0
- package/dist/components/hooks/PixiVideoTextureHook.d.ts +10 -0
- package/dist/components/hooks/PixiVideoTextureHook.js +35 -0
- package/dist/components/hooks/SubtitlesHook.d.ts +88 -0
- package/dist/components/hooks/SubtitlesHook.js +199 -0
- package/dist/components/hooks/VerifyGifHook.d.ts +7 -0
- package/dist/components/hooks/VerifyGifHook.js +27 -0
- package/dist/components/hooks/VerifyImageHook.d.ts +7 -0
- package/dist/components/hooks/VerifyImageHook.js +27 -0
- package/dist/components/hooks/VerifyMediaHook.d.ts +7 -0
- package/dist/components/hooks/VerifyMediaHook.js +21 -0
- package/dist/components/hooks/shapes/progress/CustomProgressRenderer.d.ts +8 -0
- package/dist/components/hooks/shapes/progress/CustomProgressRenderer.js +53 -0
- package/dist/components/hooks/shapes/progress/DoubleProgressRenderer.d.ts +8 -0
- package/dist/components/hooks/shapes/progress/DoubleProgressRenderer.js +69 -0
- package/dist/components/hooks/shapes/progress/LinearProgressRenderer.d.ts +8 -0
- package/dist/components/hooks/shapes/progress/LinearProgressRenderer.js +60 -0
- package/dist/components/hooks/shapes/progress/PerimeterProgressRenderer.d.ts +9 -0
- package/dist/components/hooks/shapes/progress/PerimeterProgressRenderer.js +213 -0
- package/dist/components/hooks/shapes/progress/ProgressRenderer.d.ts +17 -0
- package/dist/components/hooks/shapes/progress/ProgressRenderer.js +75 -0
- package/dist/components/hooks/shapes/progress/RadialProgressRenderer.d.ts +8 -0
- package/dist/components/hooks/shapes/progress/RadialProgressRenderer.js +50 -0
- package/dist/components/hooks/shapes/progress/index.d.ts +6 -0
- package/dist/components/hooks/shapes/progress/index.js +6 -0
- package/dist/composers/componentComposer.d.ts +55 -0
- package/dist/composers/componentComposer.js +118 -0
- package/dist/composers/layerComposer.d.ts +46 -0
- package/dist/composers/layerComposer.js +79 -0
- package/dist/composers/sceneComposer.d.ts +48 -0
- package/dist/composers/sceneComposer.js +92 -0
- package/dist/constants.d.ts +12 -0
- package/dist/constants.js +14 -0
- package/dist/directors/ComponentDirector.d.ts +20 -0
- package/dist/directors/ComponentDirector.js +86 -0
- package/dist/factories/SceneBuilderFactory.d.ts +15 -0
- package/dist/factories/SceneBuilderFactory.js +51 -0
- package/dist/fonts/GoogleFontsProvider.d.ts +12 -0
- package/dist/fonts/GoogleFontsProvider.js +125 -0
- package/dist/fonts/fontLoader.d.ts +15 -0
- package/dist/fonts/fontLoader.js +41 -0
- package/dist/fonts/types.d.ts +1 -0
- package/dist/fonts/types.js +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +14 -0
- package/dist/layers/Layer.svelte.d.ts +8492 -0
- package/dist/layers/Layer.svelte.js +125 -0
- package/dist/managers/AppManager.svelte.d.ts +23 -0
- package/dist/managers/AppManager.svelte.js +89 -0
- package/dist/managers/ComponentsManager.svelte.d.ts +49 -0
- package/dist/managers/ComponentsManager.svelte.js +247 -0
- package/dist/managers/DomManager.d.ts +18 -0
- package/dist/managers/DomManager.js +73 -0
- package/dist/managers/EventManager.d.ts +7 -0
- package/dist/managers/EventManager.js +22 -0
- package/dist/managers/LayersManager.svelte.d.ts +8499 -0
- package/dist/managers/LayersManager.svelte.js +176 -0
- package/dist/managers/MediaManager.d.ts +32 -0
- package/dist/managers/MediaManager.js +243 -0
- package/dist/managers/RenderManager.d.ts +23 -0
- package/dist/managers/RenderManager.js +59 -0
- package/dist/managers/StateManager.svelte.d.ts +8746 -0
- package/dist/managers/StateManager.svelte.js +272 -0
- package/dist/managers/SubtitlesManager.svelte.d.ts +261 -0
- package/dist/managers/SubtitlesManager.svelte.js +1385 -0
- package/dist/managers/TimeManager.svelte.d.ts +6 -0
- package/dist/managers/TimeManager.svelte.js +18 -0
- package/dist/managers/TimelineManager.svelte.d.ts +25 -0
- package/dist/managers/TimelineManager.svelte.js +152 -0
- package/dist/registers.d.ts +12 -0
- package/dist/registers.js +29 -0
- package/dist/schemas/runtime/index.d.ts +3 -0
- package/dist/schemas/runtime/index.js +4 -0
- package/dist/schemas/runtime/types.d.ts +323 -0
- package/dist/schemas/runtime/types.js +12 -0
- package/dist/schemas/scene/animations.d.ts +89738 -0
- package/dist/schemas/scene/animations.js +211 -0
- package/dist/schemas/scene/components.js +515 -0
- package/dist/schemas/scene/core.js +160 -0
- package/dist/schemas/scene/index.d.ts +22 -0
- package/dist/schemas/scene/index.js +10 -0
- package/dist/schemas/scene/properties.d.ts +914 -0
- package/dist/schemas/scene/properties.js +398 -0
- package/dist/schemas/scene/subtitles.d.ts +1141 -0
- package/dist/schemas/scene/subtitles.js +111 -0
- package/dist/schemas/scene/utils.d.ts +1 -0
- package/dist/schemas/scene/utils.js +5 -0
- package/dist/seeds/SeedFactory.d.ts +59 -0
- package/dist/seeds/SeedFactory.js +99 -0
- package/dist/seeds/index.d.ts +8 -0
- package/dist/seeds/index.js +8 -0
- package/dist/transformers/ColorTransformer.d.ts +5 -0
- package/dist/transformers/ColorTransformer.js +67 -0
- package/dist/transformers/PixiColorTransformer.d.ts +22 -0
- package/dist/transformers/PixiColorTransformer.js +104 -0
- package/dist/utils/canvas.d.ts +6 -0
- package/dist/utils/canvas.js +18 -0
- package/dist/utils/document.d.ts +2 -0
- package/dist/utils/document.js +36 -0
- package/dist/utils/emoji.d.ts +10 -0
- package/dist/utils/emoji.js +51 -0
- package/dist/utils/html.d.ts +4 -0
- package/dist/utils/html.js +45 -0
- package/dist/utils/svgGenerator.d.ts +20 -0
- package/dist/utils/svgGenerator.js +103 -0
- package/dist/utils/utils.d.ts +5 -0
- package/dist/utils/utils.js +125 -0
- package/package.json +96 -0
|
@@ -0,0 +1,795 @@
|
|
|
1
|
+
import type { ComponentData, ComponentProps } from '..';
|
|
2
|
+
import type { Appearance, AppearanceInput } from '..';
|
|
3
|
+
import { EventManager } from '../managers/EventManager.js';
|
|
4
|
+
import { StateManager } from '../managers/StateManager.svelte.js';
|
|
5
|
+
export declare class ComponentState implements ComponentProps {
|
|
6
|
+
#private;
|
|
7
|
+
private eventManager;
|
|
8
|
+
private sceneState;
|
|
9
|
+
private refreshCallback?;
|
|
10
|
+
constructor(cradle: {
|
|
11
|
+
componentData: ComponentData;
|
|
12
|
+
eventManager: EventManager;
|
|
13
|
+
stateManager: StateManager;
|
|
14
|
+
});
|
|
15
|
+
setRefreshCallback(callback: () => Promise<void>): void;
|
|
16
|
+
private maybeAutoRefresh;
|
|
17
|
+
get id(): string;
|
|
18
|
+
get type(): "IMAGE" | "GIF" | "VIDEO" | "TEXT" | "SHAPE" | "AUDIO" | "COLOR" | "GRADIENT" | "SUBTITLES";
|
|
19
|
+
get name(): string;
|
|
20
|
+
get start_at(): number;
|
|
21
|
+
get end_at(): number;
|
|
22
|
+
set start_at(time: number);
|
|
23
|
+
set end_at(time: number);
|
|
24
|
+
set name(name: string);
|
|
25
|
+
get order(): number;
|
|
26
|
+
get visible(): true;
|
|
27
|
+
get duration(): number;
|
|
28
|
+
get asset_id(): string;
|
|
29
|
+
get timeline(): {
|
|
30
|
+
startAt: number;
|
|
31
|
+
endAt: number;
|
|
32
|
+
};
|
|
33
|
+
get appearance(): Appearance;
|
|
34
|
+
get animations(): {
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
list: {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
animation: string | {
|
|
40
|
+
id: string;
|
|
41
|
+
timeline: {
|
|
42
|
+
tweens: {
|
|
43
|
+
method: "set" | "to" | "from" | "fromTo";
|
|
44
|
+
vars: {
|
|
45
|
+
duration?: string | number | boolean | {
|
|
46
|
+
fromData: string;
|
|
47
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
48
|
+
fallbackValue?: any;
|
|
49
|
+
} | {
|
|
50
|
+
type: "byIndex";
|
|
51
|
+
expression: string;
|
|
52
|
+
fallbackValue?: any;
|
|
53
|
+
} | null | undefined;
|
|
54
|
+
from?: import("zod").objectOutputType<{
|
|
55
|
+
opacity: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
56
|
+
fromData: import("zod").ZodString;
|
|
57
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
58
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
59
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
60
|
+
fromData: string;
|
|
61
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
62
|
+
fallbackValue?: any;
|
|
63
|
+
}, {
|
|
64
|
+
fromData: string;
|
|
65
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
66
|
+
fallbackValue?: any;
|
|
67
|
+
}>, import("zod").ZodObject<{
|
|
68
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
69
|
+
expression: import("zod").ZodString;
|
|
70
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
71
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
72
|
+
type: "byIndex";
|
|
73
|
+
expression: string;
|
|
74
|
+
fallbackValue?: any;
|
|
75
|
+
}, {
|
|
76
|
+
type: "byIndex";
|
|
77
|
+
expression: string;
|
|
78
|
+
fallbackValue?: any;
|
|
79
|
+
}>]>>;
|
|
80
|
+
x: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
81
|
+
fromData: import("zod").ZodString;
|
|
82
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
83
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
84
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
85
|
+
fromData: string;
|
|
86
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
87
|
+
fallbackValue?: any;
|
|
88
|
+
}, {
|
|
89
|
+
fromData: string;
|
|
90
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
91
|
+
fallbackValue?: any;
|
|
92
|
+
}>, import("zod").ZodObject<{
|
|
93
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
94
|
+
expression: import("zod").ZodString;
|
|
95
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
96
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
97
|
+
type: "byIndex";
|
|
98
|
+
expression: string;
|
|
99
|
+
fallbackValue?: any;
|
|
100
|
+
}, {
|
|
101
|
+
type: "byIndex";
|
|
102
|
+
expression: string;
|
|
103
|
+
fallbackValue?: any;
|
|
104
|
+
}>]>>;
|
|
105
|
+
y: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
106
|
+
fromData: import("zod").ZodString;
|
|
107
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
108
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
109
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
110
|
+
fromData: string;
|
|
111
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
112
|
+
fallbackValue?: any;
|
|
113
|
+
}, {
|
|
114
|
+
fromData: string;
|
|
115
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
116
|
+
fallbackValue?: any;
|
|
117
|
+
}>, import("zod").ZodObject<{
|
|
118
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
119
|
+
expression: import("zod").ZodString;
|
|
120
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
121
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
122
|
+
type: "byIndex";
|
|
123
|
+
expression: string;
|
|
124
|
+
fallbackValue?: any;
|
|
125
|
+
}, {
|
|
126
|
+
type: "byIndex";
|
|
127
|
+
expression: string;
|
|
128
|
+
fallbackValue?: any;
|
|
129
|
+
}>]>>;
|
|
130
|
+
scale: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
131
|
+
fromData: import("zod").ZodString;
|
|
132
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
133
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
134
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
135
|
+
fromData: string;
|
|
136
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
137
|
+
fallbackValue?: any;
|
|
138
|
+
}, {
|
|
139
|
+
fromData: string;
|
|
140
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
141
|
+
fallbackValue?: any;
|
|
142
|
+
}>, import("zod").ZodObject<{
|
|
143
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
144
|
+
expression: import("zod").ZodString;
|
|
145
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
146
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
147
|
+
type: "byIndex";
|
|
148
|
+
expression: string;
|
|
149
|
+
fallbackValue?: any;
|
|
150
|
+
}, {
|
|
151
|
+
type: "byIndex";
|
|
152
|
+
expression: string;
|
|
153
|
+
fallbackValue?: any;
|
|
154
|
+
}>]>>;
|
|
155
|
+
scaleX: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
156
|
+
fromData: import("zod").ZodString;
|
|
157
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
158
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
159
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
160
|
+
fromData: string;
|
|
161
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
162
|
+
fallbackValue?: any;
|
|
163
|
+
}, {
|
|
164
|
+
fromData: string;
|
|
165
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
166
|
+
fallbackValue?: any;
|
|
167
|
+
}>, import("zod").ZodObject<{
|
|
168
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
169
|
+
expression: import("zod").ZodString;
|
|
170
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
171
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
172
|
+
type: "byIndex";
|
|
173
|
+
expression: string;
|
|
174
|
+
fallbackValue?: any;
|
|
175
|
+
}, {
|
|
176
|
+
type: "byIndex";
|
|
177
|
+
expression: string;
|
|
178
|
+
fallbackValue?: any;
|
|
179
|
+
}>]>>;
|
|
180
|
+
scaleY: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
181
|
+
fromData: import("zod").ZodString;
|
|
182
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
183
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
184
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
185
|
+
fromData: string;
|
|
186
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
187
|
+
fallbackValue?: any;
|
|
188
|
+
}, {
|
|
189
|
+
fromData: string;
|
|
190
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
191
|
+
fallbackValue?: any;
|
|
192
|
+
}>, import("zod").ZodObject<{
|
|
193
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
194
|
+
expression: import("zod").ZodString;
|
|
195
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
196
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
197
|
+
type: "byIndex";
|
|
198
|
+
expression: string;
|
|
199
|
+
fallbackValue?: any;
|
|
200
|
+
}, {
|
|
201
|
+
type: "byIndex";
|
|
202
|
+
expression: string;
|
|
203
|
+
fallbackValue?: any;
|
|
204
|
+
}>]>>;
|
|
205
|
+
rotation: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
206
|
+
fromData: import("zod").ZodString;
|
|
207
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
208
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
209
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
210
|
+
fromData: string;
|
|
211
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
212
|
+
fallbackValue?: any;
|
|
213
|
+
}, {
|
|
214
|
+
fromData: string;
|
|
215
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
216
|
+
fallbackValue?: any;
|
|
217
|
+
}>, import("zod").ZodObject<{
|
|
218
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
219
|
+
expression: import("zod").ZodString;
|
|
220
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
221
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
222
|
+
type: "byIndex";
|
|
223
|
+
expression: string;
|
|
224
|
+
fallbackValue?: any;
|
|
225
|
+
}, {
|
|
226
|
+
type: "byIndex";
|
|
227
|
+
expression: string;
|
|
228
|
+
fallbackValue?: any;
|
|
229
|
+
}>]>>;
|
|
230
|
+
width: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
231
|
+
fromData: import("zod").ZodString;
|
|
232
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
233
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
234
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
235
|
+
fromData: string;
|
|
236
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
237
|
+
fallbackValue?: any;
|
|
238
|
+
}, {
|
|
239
|
+
fromData: string;
|
|
240
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
241
|
+
fallbackValue?: any;
|
|
242
|
+
}>, import("zod").ZodObject<{
|
|
243
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
244
|
+
expression: import("zod").ZodString;
|
|
245
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
246
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
247
|
+
type: "byIndex";
|
|
248
|
+
expression: string;
|
|
249
|
+
fallbackValue?: any;
|
|
250
|
+
}, {
|
|
251
|
+
type: "byIndex";
|
|
252
|
+
expression: string;
|
|
253
|
+
fallbackValue?: any;
|
|
254
|
+
}>]>>;
|
|
255
|
+
height: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
256
|
+
fromData: import("zod").ZodString;
|
|
257
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
258
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
259
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
260
|
+
fromData: string;
|
|
261
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
262
|
+
fallbackValue?: any;
|
|
263
|
+
}, {
|
|
264
|
+
fromData: string;
|
|
265
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
266
|
+
fallbackValue?: any;
|
|
267
|
+
}>, import("zod").ZodObject<{
|
|
268
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
269
|
+
expression: import("zod").ZodString;
|
|
270
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
271
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
272
|
+
type: "byIndex";
|
|
273
|
+
expression: string;
|
|
274
|
+
fallbackValue?: any;
|
|
275
|
+
}, {
|
|
276
|
+
type: "byIndex";
|
|
277
|
+
expression: string;
|
|
278
|
+
fallbackValue?: any;
|
|
279
|
+
}>]>>;
|
|
280
|
+
color: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
281
|
+
fromData: import("zod").ZodString;
|
|
282
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
283
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
284
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
285
|
+
fromData: string;
|
|
286
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
287
|
+
fallbackValue?: any;
|
|
288
|
+
}, {
|
|
289
|
+
fromData: string;
|
|
290
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
291
|
+
fallbackValue?: any;
|
|
292
|
+
}>, import("zod").ZodObject<{
|
|
293
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
294
|
+
expression: import("zod").ZodString;
|
|
295
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
296
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
297
|
+
type: "byIndex";
|
|
298
|
+
expression: string;
|
|
299
|
+
fallbackValue?: any;
|
|
300
|
+
}, {
|
|
301
|
+
type: "byIndex";
|
|
302
|
+
expression: string;
|
|
303
|
+
fallbackValue?: any;
|
|
304
|
+
}>]>>;
|
|
305
|
+
}, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
306
|
+
fromData: import("zod").ZodString;
|
|
307
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
308
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
309
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
310
|
+
fromData: string;
|
|
311
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
312
|
+
fallbackValue?: any;
|
|
313
|
+
}, {
|
|
314
|
+
fromData: string;
|
|
315
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
316
|
+
fallbackValue?: any;
|
|
317
|
+
}>, import("zod").ZodObject<{
|
|
318
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
319
|
+
expression: import("zod").ZodString;
|
|
320
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
321
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
322
|
+
type: "byIndex";
|
|
323
|
+
expression: string;
|
|
324
|
+
fallbackValue?: any;
|
|
325
|
+
}, {
|
|
326
|
+
type: "byIndex";
|
|
327
|
+
expression: string;
|
|
328
|
+
fallbackValue?: any;
|
|
329
|
+
}>]>, "strip"> | undefined;
|
|
330
|
+
ease?: string | undefined;
|
|
331
|
+
delay?: string | number | boolean | {
|
|
332
|
+
fromData: string;
|
|
333
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
334
|
+
fallbackValue?: any;
|
|
335
|
+
} | {
|
|
336
|
+
type: "byIndex";
|
|
337
|
+
expression: string;
|
|
338
|
+
fallbackValue?: any;
|
|
339
|
+
} | null | undefined;
|
|
340
|
+
stagger?: number | {
|
|
341
|
+
type?: "fromData" | undefined;
|
|
342
|
+
from?: string | number | undefined;
|
|
343
|
+
ease?: string | undefined;
|
|
344
|
+
dataKey?: string | undefined;
|
|
345
|
+
referencePoint?: "tweenStart" | undefined;
|
|
346
|
+
each?: number | undefined;
|
|
347
|
+
grid?: [number | "auto", number | "auto"] | undefined;
|
|
348
|
+
axis?: "x" | "y" | undefined;
|
|
349
|
+
amount?: number | undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
} & {
|
|
352
|
+
[k: string]: any;
|
|
353
|
+
};
|
|
354
|
+
position?: string | number | {
|
|
355
|
+
anchor: string;
|
|
356
|
+
alignTween: "center" | "start" | "end";
|
|
357
|
+
offset: string;
|
|
358
|
+
anchorPoint?: "start" | "end" | undefined;
|
|
359
|
+
} | undefined;
|
|
360
|
+
}[];
|
|
361
|
+
id?: string | undefined;
|
|
362
|
+
position?: string | number | {
|
|
363
|
+
anchor: string;
|
|
364
|
+
alignTween: "center" | "start" | "end";
|
|
365
|
+
offset: string;
|
|
366
|
+
anchorPoint?: "start" | "end" | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
target?: string | undefined;
|
|
369
|
+
}[];
|
|
370
|
+
presetId?: string | undefined;
|
|
371
|
+
version?: string | undefined;
|
|
372
|
+
description?: string | undefined;
|
|
373
|
+
duration?: number | undefined;
|
|
374
|
+
data?: Record<string, any> | undefined;
|
|
375
|
+
setup?: ({
|
|
376
|
+
type: "style";
|
|
377
|
+
properties: {} & {
|
|
378
|
+
[k: string]: string | number | boolean | {
|
|
379
|
+
fromData: string;
|
|
380
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
381
|
+
fallbackValue?: any;
|
|
382
|
+
} | {
|
|
383
|
+
type: "byIndex";
|
|
384
|
+
expression: string;
|
|
385
|
+
fallbackValue?: any;
|
|
386
|
+
} | null;
|
|
387
|
+
};
|
|
388
|
+
} | {
|
|
389
|
+
type: "splitText";
|
|
390
|
+
by: "words" | "lines" | "chars";
|
|
391
|
+
})[] | undefined;
|
|
392
|
+
revertAfterComplete?: boolean | undefined;
|
|
393
|
+
} | {
|
|
394
|
+
tween: {
|
|
395
|
+
method: "set" | "to" | "from" | "fromTo";
|
|
396
|
+
vars: {
|
|
397
|
+
duration?: string | number | boolean | {
|
|
398
|
+
fromData: string;
|
|
399
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
400
|
+
fallbackValue?: any;
|
|
401
|
+
} | {
|
|
402
|
+
type: "byIndex";
|
|
403
|
+
expression: string;
|
|
404
|
+
fallbackValue?: any;
|
|
405
|
+
} | null | undefined;
|
|
406
|
+
from?: import("zod").objectOutputType<{
|
|
407
|
+
opacity: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
408
|
+
fromData: import("zod").ZodString;
|
|
409
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
410
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
411
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
412
|
+
fromData: string;
|
|
413
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
414
|
+
fallbackValue?: any;
|
|
415
|
+
}, {
|
|
416
|
+
fromData: string;
|
|
417
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
418
|
+
fallbackValue?: any;
|
|
419
|
+
}>, import("zod").ZodObject<{
|
|
420
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
421
|
+
expression: import("zod").ZodString;
|
|
422
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
423
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
424
|
+
type: "byIndex";
|
|
425
|
+
expression: string;
|
|
426
|
+
fallbackValue?: any;
|
|
427
|
+
}, {
|
|
428
|
+
type: "byIndex";
|
|
429
|
+
expression: string;
|
|
430
|
+
fallbackValue?: any;
|
|
431
|
+
}>]>>;
|
|
432
|
+
x: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
433
|
+
fromData: import("zod").ZodString;
|
|
434
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
435
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
436
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
437
|
+
fromData: string;
|
|
438
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
439
|
+
fallbackValue?: any;
|
|
440
|
+
}, {
|
|
441
|
+
fromData: string;
|
|
442
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
443
|
+
fallbackValue?: any;
|
|
444
|
+
}>, import("zod").ZodObject<{
|
|
445
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
446
|
+
expression: import("zod").ZodString;
|
|
447
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
448
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
449
|
+
type: "byIndex";
|
|
450
|
+
expression: string;
|
|
451
|
+
fallbackValue?: any;
|
|
452
|
+
}, {
|
|
453
|
+
type: "byIndex";
|
|
454
|
+
expression: string;
|
|
455
|
+
fallbackValue?: any;
|
|
456
|
+
}>]>>;
|
|
457
|
+
y: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
458
|
+
fromData: import("zod").ZodString;
|
|
459
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
460
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
461
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
462
|
+
fromData: string;
|
|
463
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
464
|
+
fallbackValue?: any;
|
|
465
|
+
}, {
|
|
466
|
+
fromData: string;
|
|
467
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
468
|
+
fallbackValue?: any;
|
|
469
|
+
}>, import("zod").ZodObject<{
|
|
470
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
471
|
+
expression: import("zod").ZodString;
|
|
472
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
473
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
474
|
+
type: "byIndex";
|
|
475
|
+
expression: string;
|
|
476
|
+
fallbackValue?: any;
|
|
477
|
+
}, {
|
|
478
|
+
type: "byIndex";
|
|
479
|
+
expression: string;
|
|
480
|
+
fallbackValue?: any;
|
|
481
|
+
}>]>>;
|
|
482
|
+
scale: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
483
|
+
fromData: import("zod").ZodString;
|
|
484
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
485
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
486
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
487
|
+
fromData: string;
|
|
488
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
489
|
+
fallbackValue?: any;
|
|
490
|
+
}, {
|
|
491
|
+
fromData: string;
|
|
492
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
493
|
+
fallbackValue?: any;
|
|
494
|
+
}>, import("zod").ZodObject<{
|
|
495
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
496
|
+
expression: import("zod").ZodString;
|
|
497
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
498
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
499
|
+
type: "byIndex";
|
|
500
|
+
expression: string;
|
|
501
|
+
fallbackValue?: any;
|
|
502
|
+
}, {
|
|
503
|
+
type: "byIndex";
|
|
504
|
+
expression: string;
|
|
505
|
+
fallbackValue?: any;
|
|
506
|
+
}>]>>;
|
|
507
|
+
scaleX: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
508
|
+
fromData: import("zod").ZodString;
|
|
509
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
510
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
511
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
512
|
+
fromData: string;
|
|
513
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
514
|
+
fallbackValue?: any;
|
|
515
|
+
}, {
|
|
516
|
+
fromData: string;
|
|
517
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
518
|
+
fallbackValue?: any;
|
|
519
|
+
}>, import("zod").ZodObject<{
|
|
520
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
521
|
+
expression: import("zod").ZodString;
|
|
522
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
523
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
524
|
+
type: "byIndex";
|
|
525
|
+
expression: string;
|
|
526
|
+
fallbackValue?: any;
|
|
527
|
+
}, {
|
|
528
|
+
type: "byIndex";
|
|
529
|
+
expression: string;
|
|
530
|
+
fallbackValue?: any;
|
|
531
|
+
}>]>>;
|
|
532
|
+
scaleY: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
533
|
+
fromData: import("zod").ZodString;
|
|
534
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
535
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
536
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
537
|
+
fromData: string;
|
|
538
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
539
|
+
fallbackValue?: any;
|
|
540
|
+
}, {
|
|
541
|
+
fromData: string;
|
|
542
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
543
|
+
fallbackValue?: any;
|
|
544
|
+
}>, import("zod").ZodObject<{
|
|
545
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
546
|
+
expression: import("zod").ZodString;
|
|
547
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
548
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
549
|
+
type: "byIndex";
|
|
550
|
+
expression: string;
|
|
551
|
+
fallbackValue?: any;
|
|
552
|
+
}, {
|
|
553
|
+
type: "byIndex";
|
|
554
|
+
expression: string;
|
|
555
|
+
fallbackValue?: any;
|
|
556
|
+
}>]>>;
|
|
557
|
+
rotation: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
558
|
+
fromData: import("zod").ZodString;
|
|
559
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
560
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
561
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
562
|
+
fromData: string;
|
|
563
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
564
|
+
fallbackValue?: any;
|
|
565
|
+
}, {
|
|
566
|
+
fromData: string;
|
|
567
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
568
|
+
fallbackValue?: any;
|
|
569
|
+
}>, import("zod").ZodObject<{
|
|
570
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
571
|
+
expression: import("zod").ZodString;
|
|
572
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
573
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
574
|
+
type: "byIndex";
|
|
575
|
+
expression: string;
|
|
576
|
+
fallbackValue?: any;
|
|
577
|
+
}, {
|
|
578
|
+
type: "byIndex";
|
|
579
|
+
expression: string;
|
|
580
|
+
fallbackValue?: any;
|
|
581
|
+
}>]>>;
|
|
582
|
+
width: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
583
|
+
fromData: import("zod").ZodString;
|
|
584
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
585
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
586
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
587
|
+
fromData: string;
|
|
588
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
589
|
+
fallbackValue?: any;
|
|
590
|
+
}, {
|
|
591
|
+
fromData: string;
|
|
592
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
593
|
+
fallbackValue?: any;
|
|
594
|
+
}>, import("zod").ZodObject<{
|
|
595
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
596
|
+
expression: import("zod").ZodString;
|
|
597
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
598
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
599
|
+
type: "byIndex";
|
|
600
|
+
expression: string;
|
|
601
|
+
fallbackValue?: any;
|
|
602
|
+
}, {
|
|
603
|
+
type: "byIndex";
|
|
604
|
+
expression: string;
|
|
605
|
+
fallbackValue?: any;
|
|
606
|
+
}>]>>;
|
|
607
|
+
height: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
608
|
+
fromData: import("zod").ZodString;
|
|
609
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
610
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
611
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
612
|
+
fromData: string;
|
|
613
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
614
|
+
fallbackValue?: any;
|
|
615
|
+
}, {
|
|
616
|
+
fromData: string;
|
|
617
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
618
|
+
fallbackValue?: any;
|
|
619
|
+
}>, import("zod").ZodObject<{
|
|
620
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
621
|
+
expression: import("zod").ZodString;
|
|
622
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
623
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
624
|
+
type: "byIndex";
|
|
625
|
+
expression: string;
|
|
626
|
+
fallbackValue?: any;
|
|
627
|
+
}, {
|
|
628
|
+
type: "byIndex";
|
|
629
|
+
expression: string;
|
|
630
|
+
fallbackValue?: any;
|
|
631
|
+
}>]>>;
|
|
632
|
+
color: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
633
|
+
fromData: import("zod").ZodString;
|
|
634
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
635
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
636
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
637
|
+
fromData: string;
|
|
638
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
639
|
+
fallbackValue?: any;
|
|
640
|
+
}, {
|
|
641
|
+
fromData: string;
|
|
642
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
643
|
+
fallbackValue?: any;
|
|
644
|
+
}>, import("zod").ZodObject<{
|
|
645
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
646
|
+
expression: import("zod").ZodString;
|
|
647
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
648
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
649
|
+
type: "byIndex";
|
|
650
|
+
expression: string;
|
|
651
|
+
fallbackValue?: any;
|
|
652
|
+
}, {
|
|
653
|
+
type: "byIndex";
|
|
654
|
+
expression: string;
|
|
655
|
+
fallbackValue?: any;
|
|
656
|
+
}>]>>;
|
|
657
|
+
}, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull, import("zod").ZodObject<{
|
|
658
|
+
fromData: import("zod").ZodString;
|
|
659
|
+
mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["cycle", "useFallback", "clamp"]>>>;
|
|
660
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
661
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
662
|
+
fromData: string;
|
|
663
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
664
|
+
fallbackValue?: any;
|
|
665
|
+
}, {
|
|
666
|
+
fromData: string;
|
|
667
|
+
mode?: "cycle" | "useFallback" | "clamp" | undefined;
|
|
668
|
+
fallbackValue?: any;
|
|
669
|
+
}>, import("zod").ZodObject<{
|
|
670
|
+
type: import("zod").ZodLiteral<"byIndex">;
|
|
671
|
+
expression: import("zod").ZodString;
|
|
672
|
+
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
673
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
674
|
+
type: "byIndex";
|
|
675
|
+
expression: string;
|
|
676
|
+
fallbackValue?: any;
|
|
677
|
+
}, {
|
|
678
|
+
type: "byIndex";
|
|
679
|
+
expression: string;
|
|
680
|
+
fallbackValue?: any;
|
|
681
|
+
}>]>, "strip"> | undefined;
|
|
682
|
+
ease?: string | undefined;
|
|
683
|
+
delay?: string | number | boolean | {
|
|
684
|
+
fromData: string;
|
|
685
|
+
mode: "cycle" | "useFallback" | "clamp";
|
|
686
|
+
fallbackValue?: any;
|
|
687
|
+
} | {
|
|
688
|
+
type: "byIndex";
|
|
689
|
+
expression: string;
|
|
690
|
+
fallbackValue?: any;
|
|
691
|
+
} | null | undefined;
|
|
692
|
+
stagger?: number | {
|
|
693
|
+
type?: "fromData" | undefined;
|
|
694
|
+
from?: string | number | undefined;
|
|
695
|
+
ease?: string | undefined;
|
|
696
|
+
dataKey?: string | undefined;
|
|
697
|
+
referencePoint?: "tweenStart" | undefined;
|
|
698
|
+
each?: number | undefined;
|
|
699
|
+
grid?: [number | "auto", number | "auto"] | undefined;
|
|
700
|
+
axis?: "x" | "y" | undefined;
|
|
701
|
+
amount?: number | undefined;
|
|
702
|
+
} | undefined;
|
|
703
|
+
} & {
|
|
704
|
+
[k: string]: any;
|
|
705
|
+
};
|
|
706
|
+
position?: string | number | {
|
|
707
|
+
anchor: string;
|
|
708
|
+
alignTween: "center" | "start" | "end";
|
|
709
|
+
offset: string;
|
|
710
|
+
anchorPoint?: "start" | "end" | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
};
|
|
713
|
+
id?: string | undefined;
|
|
714
|
+
target?: string | undefined;
|
|
715
|
+
};
|
|
716
|
+
startAt?: number | undefined;
|
|
717
|
+
enabled?: boolean | undefined;
|
|
718
|
+
}[];
|
|
719
|
+
subtitlesSeed?: number | undefined;
|
|
720
|
+
};
|
|
721
|
+
get effects(): {
|
|
722
|
+
map: Record<string, {
|
|
723
|
+
type: "blur";
|
|
724
|
+
radius: number;
|
|
725
|
+
intensity: number;
|
|
726
|
+
blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
727
|
+
enabled?: boolean | undefined;
|
|
728
|
+
} | {
|
|
729
|
+
type: "colorAdjustment";
|
|
730
|
+
intensity: number;
|
|
731
|
+
hue: number;
|
|
732
|
+
saturation: number;
|
|
733
|
+
blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
734
|
+
brightness: number;
|
|
735
|
+
contrast: number;
|
|
736
|
+
enabled?: boolean | undefined;
|
|
737
|
+
} | {
|
|
738
|
+
type: "layoutSplit";
|
|
739
|
+
intensity: number;
|
|
740
|
+
blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
741
|
+
enabled?: boolean | undefined;
|
|
742
|
+
pieces?: number | undefined;
|
|
743
|
+
sceneWidth?: number | undefined;
|
|
744
|
+
sceneHeight?: number | undefined;
|
|
745
|
+
chunks?: Record<string, any>[] | undefined;
|
|
746
|
+
} | {
|
|
747
|
+
type: "rotationRandomizer";
|
|
748
|
+
intensity: number;
|
|
749
|
+
blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
750
|
+
maxRotation: number;
|
|
751
|
+
animate: boolean;
|
|
752
|
+
enabled?: boolean | undefined;
|
|
753
|
+
seed?: number | undefined;
|
|
754
|
+
} | {
|
|
755
|
+
type: "fillBackgroundBlur";
|
|
756
|
+
enabled: boolean;
|
|
757
|
+
blurAmount: number;
|
|
758
|
+
} | {
|
|
759
|
+
type: "textShadow";
|
|
760
|
+
intensity: number;
|
|
761
|
+
blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
762
|
+
offsetX?: number | undefined;
|
|
763
|
+
offsetY?: number | undefined;
|
|
764
|
+
opacity?: number | undefined;
|
|
765
|
+
enabled?: boolean | undefined;
|
|
766
|
+
color?: string | undefined;
|
|
767
|
+
preset?: string | undefined;
|
|
768
|
+
blur?: number | undefined;
|
|
769
|
+
size?: number | undefined;
|
|
770
|
+
} | {
|
|
771
|
+
type: "textOutline";
|
|
772
|
+
color: string;
|
|
773
|
+
intensity: number;
|
|
774
|
+
blendMode: "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity";
|
|
775
|
+
opacity?: number | undefined;
|
|
776
|
+
enabled?: boolean | undefined;
|
|
777
|
+
preset?: string | undefined;
|
|
778
|
+
size?: number | undefined;
|
|
779
|
+
style?: "solid" | "dashed" | "dotted" | undefined;
|
|
780
|
+
dashArray?: number[] | undefined;
|
|
781
|
+
}>;
|
|
782
|
+
enabled: boolean;
|
|
783
|
+
};
|
|
784
|
+
get checksum(): string;
|
|
785
|
+
getData(): ComponentData;
|
|
786
|
+
setData(data: ComponentData): void;
|
|
787
|
+
setStart(start: number): void;
|
|
788
|
+
setEnd(end: number): void;
|
|
789
|
+
setStreamPath(path: string): void;
|
|
790
|
+
updateText(text: string): Promise<void>;
|
|
791
|
+
update(data: Partial<AppearanceInput>): void;
|
|
792
|
+
updateAppearance(appearance: Partial<AppearanceInput>): Promise<void>;
|
|
793
|
+
setVisible(visible: boolean): Promise<void>;
|
|
794
|
+
setOrder(order: number): Promise<void>;
|
|
795
|
+
}
|