@clypra-studio/engine 1.10.0 → 1.10.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/{chunk-JP44RJUI.js → chunk-KUJR5V3B.js} +247 -1
- package/dist/chunk-KUJR5V3B.js.map +1 -0
- package/dist/{index-XWLBYyFQ.d.ts → index--k_VrUnv.d.ts} +132 -1
- package/dist/{index-FDQDo2pR.d.cts → index-n6E8NGM_.d.cts} +132 -1
- package/dist/index.cjs +254 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +26 -10
- package/dist/index.js.map +1 -1
- package/dist/rendering/index.cjs +254 -0
- package/dist/rendering/index.cjs.map +1 -1
- package/dist/rendering/index.d.cts +1 -1
- package/dist/rendering/index.d.ts +1 -1
- package/dist/rendering/index.js +17 -1
- package/package.json +12 -12
- package/dist/chunk-JP44RJUI.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ import { S as SceneDocument, K as Keyframe, f as TextEffectConfig, g as StyleRec
|
|
|
2
2
|
export { o as AnimationPreset, C as CanvasBackgroundConfig, p as ColorAdjustments, q as CompositorSettings, D as DEFAULT_CANVAS_HEIGHT, r as DEFAULT_CANVAS_WIDTH, s as DEFAULT_DURATION, t as DEFAULT_FONT_SIZE, u as DEFAULT_FPS, v as EffectBevel, w as EffectFill, x as EffectFullDefinition, y as EffectGlow, z as EffectIndexItem, F as EffectLayerType, H as EffectPanel, I as EffectShadow, J as EffectStack, M as EffectStroke, N as EvaluatedTextLayer, O as GradingParams, L as LayerAnimation, Q as LayerTarget, U as SCENE_SCHEMA_VERSION, V as SCENE_VERSION, W as SceneCanvas, X as SceneText, Y as SpatialAnchorPoint, Z as StaggerDirection, _ as TemplateContainerLayer, $ as TemplateFlexLayout, a0 as TemplateImageLayer, a1 as TemplateShapeLayer, a2 as TemplateTextLayer, e as TemplateVariableDefinition, a3 as TemplateVariableType, a4 as TextSplitTransform, a5 as Timeline, a6 as createEmptyScene, a7 as newLayerId } from './types-BsF33bC4.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export { C as CompositorFromScene, E as EvaluateOptions, F as FontDescriptor, a as FontLoadResult, b as FontLoader, c as FontVariant, T as TextEffectRenderer, _ as _buildConfig, d as advanceSceneTime, e as builtInPresets, f as checkFontVariant, g as createBlankTextEffectConfig, h as defaultConfig, i as ensureFontsLoaded, j as evaluateConfig, k as evaluateScene, l as getFontLoader, m as getSceneTime, n as initializeFontSystem, o as injectFontVariantRules, p as layerToTextEffectConfig, q as mergeSceneIntoConfig, r as renderTextEffectCore, s as resetFontLoader, t as resetSceneTime, u as resolveFontFamilyName, v as sceneToConfig, w as setSceneTime, x as syncCompositorFromScene, y as textEffectConfigToScene } from './index-CHLTQy2v.cjs';
|
|
5
|
-
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index-
|
|
6
|
-
export { d as
|
|
5
|
+
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index-n6E8NGM_.cjs';
|
|
6
|
+
export { B as BubbleRenderMode, d as BubbleRenderOptions, e as CANONICAL_RENDERER_VERSION, f as CANONICAL_SCHEMA_VERSION, g as CanonicalRenderContext, h as CanonicalRenderInput, i as CanonicalRenderResult, j as CapabilityReport, k as CapabilityStatus, l as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, P as PublishedRevision, m as RenderCapability, n as RenderDiagnostic, o as RenderDiagnostics, p as RenderEnvironment, q as RenderIdentity, r as RenderTarget, S as SceneDocumentV2, s as TEXT_TEMPLATE_KIND, t as TEXT_TEMPLATE_RENDERER_VERSION, u as TEXT_TEMPLATE_SCHEMA_VERSION, v as TemplateAssetRef, w as TemplateBackgroundPanel, x as TemplateCapabilityReport, y as TemplateContainerNode, z as TemplateContainerNodeStyle, A as TemplateControl, D as TemplateControlConstraints, F as TemplateControlOption, G as TemplateControlType, H as TemplateDependencyManifest, I as TemplateDurationPolicy, J as TemplateFontRef, K as TemplateImageNode, L as TemplateLayerV2, M as TemplateMetadata, N as TemplateNode, O as TemplateNodeAnimation, Q as TemplatePreviewArtifacts, U as TemplatePropertyKeyframes, V as TemplateProtectedRegion, W as TemplateRenderTarget, X as TemplateRevision, Y as TemplateShapeNode, Z as TemplateShapeNodeStyle, _ as TemplateStyleRef, $ as TemplateTextNode, a0 as TemplateTextNodeStyle, a1 as TemplateTimelineMarker, a2 as TemplateTiming, a3 as TextBubbleCategory, a4 as TextBubbleLayout, a5 as TextBubblePadding, a6 as TextBubblePreset, a7 as TextEffectRenderInput, a8 as TextTemplateCanvas, a9 as TextTemplateClip, aa as TextTemplateDocument, ab as TextTemplateDocumentV2, ac as TextTemplateFlexLayout, ad as TextTemplateRenderInput, ae as canonicalContentHash, af as canonicalizeSceneDocument, ag as drawComicBurst, ah as drawRibbonBanner, ai as drawSpeechBubble, aj as drawThoughtCloud, ak as drawTornPaper, al as evaluateTextEffect, am as evaluateTextTemplate, an as getRenderCapabilities, ao as getTextTemplateControls, ap as normalizeTextEffect, aq as normalizeTextTemplate, ar as pseudoNoise, as as renderBubbleBackground, at as renderCanonicalToCanvas, au as renderTextEffectToCanvas, av as renderTextTemplateToCanvas, aw as resolveBubbleLayout, ax as resolveTemplateFontFamily, ay as resolveTextTemplateArtifact } from './index-n6E8NGM_.cjs';
|
|
7
7
|
export { AppliedEffect, AppliedOverlay, BlendMode, EFFECTS_REGISTRY, EffectCategory, EffectEngine, EffectGraph, EffectMetadata, EffectParameters, EffectPreset, EffectRenderer, EffectRendererType, FilterAsset, GraphDefinition, OverlayAsset, VideoEffectApiDefinition, VideoEffectCategory, VideoEffectItem, VideoEffectManifest, VideoEffectState, addNoise, blendColors, clearCanvas, effectMetadataToApi, generateEffectsManifest, getAllEffectsForApi, getEffectByIdForApi, getEffectCategoriesSummary, getEffectMetadata, getEffectPreviewUrl, getEffectRenderer, getEffectsByCategory, getEffectsByCategoryForApi, hexToRgba, rgbaToComponents, searchEffects, searchEffectsForApi, withContext } from './videoEffects/index.cjs';
|
|
8
8
|
export { ALL_TRANSITIONS, AppliedTransition, EasingFunction, NativeTransitionDefinition, NativeTransitionParam, TRANSITION_CATEGORIES, TRANSITION_PRESETS, TransitionCategory, TransitionParameters, TransitionPreset, TransitionRenderer, TransitionRendererType, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionsByCategory, getTransitionsByTags, searchTransitions } from './transitions/index.cjs';
|
|
9
9
|
import { NodeCapabilities, NodeRequirements, GraphPin, GraphNode, GraphEdge, MediaProcessingGraph } from '@clypra-studio/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { S as SceneDocument, K as Keyframe, f as TextEffectConfig, g as StyleRec
|
|
|
2
2
|
export { o as AnimationPreset, C as CanvasBackgroundConfig, p as ColorAdjustments, q as CompositorSettings, D as DEFAULT_CANVAS_HEIGHT, r as DEFAULT_CANVAS_WIDTH, s as DEFAULT_DURATION, t as DEFAULT_FONT_SIZE, u as DEFAULT_FPS, v as EffectBevel, w as EffectFill, x as EffectFullDefinition, y as EffectGlow, z as EffectIndexItem, F as EffectLayerType, H as EffectPanel, I as EffectShadow, J as EffectStack, M as EffectStroke, N as EvaluatedTextLayer, O as GradingParams, L as LayerAnimation, Q as LayerTarget, U as SCENE_SCHEMA_VERSION, V as SCENE_VERSION, W as SceneCanvas, X as SceneText, Y as SpatialAnchorPoint, Z as StaggerDirection, _ as TemplateContainerLayer, $ as TemplateFlexLayout, a0 as TemplateImageLayer, a1 as TemplateShapeLayer, a2 as TemplateTextLayer, e as TemplateVariableDefinition, a3 as TemplateVariableType, a4 as TextSplitTransform, a5 as Timeline, a6 as createEmptyScene, a7 as newLayerId } from './types-BsF33bC4.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export { C as CompositorFromScene, E as EvaluateOptions, F as FontDescriptor, a as FontLoadResult, b as FontLoader, c as FontVariant, T as TextEffectRenderer, _ as _buildConfig, d as advanceSceneTime, e as builtInPresets, f as checkFontVariant, g as createBlankTextEffectConfig, h as defaultConfig, i as ensureFontsLoaded, j as evaluateConfig, k as evaluateScene, l as getFontLoader, m as getSceneTime, n as initializeFontSystem, o as injectFontVariantRules, p as layerToTextEffectConfig, q as mergeSceneIntoConfig, r as renderTextEffectCore, s as resetFontLoader, t as resetSceneTime, u as resolveFontFamilyName, v as sceneToConfig, w as setSceneTime, x as syncCompositorFromScene, y as textEffectConfigToScene } from './index-9ozUyd9c.js';
|
|
5
|
-
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index
|
|
6
|
-
export { d as
|
|
5
|
+
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index--k_VrUnv.js';
|
|
6
|
+
export { B as BubbleRenderMode, d as BubbleRenderOptions, e as CANONICAL_RENDERER_VERSION, f as CANONICAL_SCHEMA_VERSION, g as CanonicalRenderContext, h as CanonicalRenderInput, i as CanonicalRenderResult, j as CapabilityReport, k as CapabilityStatus, l as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, P as PublishedRevision, m as RenderCapability, n as RenderDiagnostic, o as RenderDiagnostics, p as RenderEnvironment, q as RenderIdentity, r as RenderTarget, S as SceneDocumentV2, s as TEXT_TEMPLATE_KIND, t as TEXT_TEMPLATE_RENDERER_VERSION, u as TEXT_TEMPLATE_SCHEMA_VERSION, v as TemplateAssetRef, w as TemplateBackgroundPanel, x as TemplateCapabilityReport, y as TemplateContainerNode, z as TemplateContainerNodeStyle, A as TemplateControl, D as TemplateControlConstraints, F as TemplateControlOption, G as TemplateControlType, H as TemplateDependencyManifest, I as TemplateDurationPolicy, J as TemplateFontRef, K as TemplateImageNode, L as TemplateLayerV2, M as TemplateMetadata, N as TemplateNode, O as TemplateNodeAnimation, Q as TemplatePreviewArtifacts, U as TemplatePropertyKeyframes, V as TemplateProtectedRegion, W as TemplateRenderTarget, X as TemplateRevision, Y as TemplateShapeNode, Z as TemplateShapeNodeStyle, _ as TemplateStyleRef, $ as TemplateTextNode, a0 as TemplateTextNodeStyle, a1 as TemplateTimelineMarker, a2 as TemplateTiming, a3 as TextBubbleCategory, a4 as TextBubbleLayout, a5 as TextBubblePadding, a6 as TextBubblePreset, a7 as TextEffectRenderInput, a8 as TextTemplateCanvas, a9 as TextTemplateClip, aa as TextTemplateDocument, ab as TextTemplateDocumentV2, ac as TextTemplateFlexLayout, ad as TextTemplateRenderInput, ae as canonicalContentHash, af as canonicalizeSceneDocument, ag as drawComicBurst, ah as drawRibbonBanner, ai as drawSpeechBubble, aj as drawThoughtCloud, ak as drawTornPaper, al as evaluateTextEffect, am as evaluateTextTemplate, an as getRenderCapabilities, ao as getTextTemplateControls, ap as normalizeTextEffect, aq as normalizeTextTemplate, ar as pseudoNoise, as as renderBubbleBackground, at as renderCanonicalToCanvas, au as renderTextEffectToCanvas, av as renderTextTemplateToCanvas, aw as resolveBubbleLayout, ax as resolveTemplateFontFamily, ay as resolveTextTemplateArtifact } from './index--k_VrUnv.js';
|
|
7
7
|
export { AppliedEffect, AppliedOverlay, BlendMode, EFFECTS_REGISTRY, EffectCategory, EffectEngine, EffectGraph, EffectMetadata, EffectParameters, EffectPreset, EffectRenderer, EffectRendererType, FilterAsset, GraphDefinition, OverlayAsset, VideoEffectApiDefinition, VideoEffectCategory, VideoEffectItem, VideoEffectManifest, VideoEffectState, addNoise, blendColors, clearCanvas, effectMetadataToApi, generateEffectsManifest, getAllEffectsForApi, getEffectByIdForApi, getEffectCategoriesSummary, getEffectMetadata, getEffectPreviewUrl, getEffectRenderer, getEffectsByCategory, getEffectsByCategoryForApi, hexToRgba, rgbaToComponents, searchEffects, searchEffectsForApi, withContext } from './videoEffects/index.js';
|
|
8
8
|
export { ALL_TRANSITIONS, AppliedTransition, EasingFunction, NativeTransitionDefinition, NativeTransitionParam, TRANSITION_CATEGORIES, TRANSITION_PRESETS, TransitionCategory, TransitionParameters, TransitionPreset, TransitionRenderer, TransitionRendererType, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionsByCategory, getTransitionsByTags, searchTransitions } from './transitions/index.js';
|
|
9
9
|
import { NodeCapabilities, NodeRequirements, GraphPin, GraphNode, GraphEdge, MediaProcessingGraph } from '@clypra-studio/types';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FontLoader,
|
|
3
|
+
checkFontVariant,
|
|
4
|
+
ensureFontsLoaded,
|
|
5
|
+
getFontLoader,
|
|
6
|
+
initializeFontSystem,
|
|
7
|
+
injectFontVariantRules,
|
|
8
|
+
resetFontLoader
|
|
9
|
+
} from "./chunk-V5VSY64D.js";
|
|
1
10
|
import {
|
|
2
11
|
CANONICAL_RENDERER_VERSION,
|
|
3
12
|
CANONICAL_SCHEMA_VERSION,
|
|
@@ -13,6 +22,11 @@ import {
|
|
|
13
22
|
compileTextTemplate,
|
|
14
23
|
createKeyframed,
|
|
15
24
|
cubicBezier,
|
|
25
|
+
drawComicBurst,
|
|
26
|
+
drawRibbonBanner,
|
|
27
|
+
drawSpeechBubble,
|
|
28
|
+
drawThoughtCloud,
|
|
29
|
+
drawTornPaper,
|
|
16
30
|
evaluateAnimatable,
|
|
17
31
|
evaluateSplitTextTransforms,
|
|
18
32
|
evaluateTextEffect,
|
|
@@ -26,26 +40,20 @@ import {
|
|
|
26
40
|
normalizeTextEffect,
|
|
27
41
|
normalizeTextTemplate,
|
|
28
42
|
normalizeTextTemplateArtifact,
|
|
43
|
+
pseudoNoise,
|
|
29
44
|
removeTemplateKeyframe,
|
|
45
|
+
renderBubbleBackground,
|
|
30
46
|
renderCanonicalToCanvas,
|
|
31
47
|
renderTextEffectToCanvas,
|
|
32
48
|
renderTextTemplateToCanvas,
|
|
49
|
+
resolveBubbleLayout,
|
|
33
50
|
resolveTemplateControlValues,
|
|
34
51
|
resolveTemplateFontFamily,
|
|
35
52
|
resolveTextTemplateArtifact,
|
|
36
53
|
solveSpring,
|
|
37
54
|
splitTextContent,
|
|
38
55
|
validateTextTemplateArtifact
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
FontLoader,
|
|
42
|
-
checkFontVariant,
|
|
43
|
-
ensureFontsLoaded,
|
|
44
|
-
getFontLoader,
|
|
45
|
-
initializeFontSystem,
|
|
46
|
-
injectFontVariantRules,
|
|
47
|
-
resetFontLoader
|
|
48
|
-
} from "./chunk-V5VSY64D.js";
|
|
56
|
+
} from "./chunk-KUJR5V3B.js";
|
|
49
57
|
import {
|
|
50
58
|
COMPOSITION_PRESETS,
|
|
51
59
|
CanvasDevice,
|
|
@@ -18001,8 +18009,13 @@ export {
|
|
|
18001
18009
|
downloadLottieMp4,
|
|
18002
18010
|
downloadPngSequenceZip,
|
|
18003
18011
|
downloadSceneWebM,
|
|
18012
|
+
drawComicBurst,
|
|
18004
18013
|
drawPerCharText,
|
|
18014
|
+
drawRibbonBanner,
|
|
18005
18015
|
drawRoundedRect,
|
|
18016
|
+
drawSpeechBubble,
|
|
18017
|
+
drawThoughtCloud,
|
|
18018
|
+
drawTornPaper,
|
|
18006
18019
|
duplicateTrackAtPlayhead,
|
|
18007
18020
|
ease,
|
|
18008
18021
|
editorCommandSystem,
|
|
@@ -18106,6 +18119,7 @@ export {
|
|
|
18106
18119
|
propertyInspectorEngine,
|
|
18107
18120
|
propertyInterpolator,
|
|
18108
18121
|
pruneTracksForLayer,
|
|
18122
|
+
pseudoNoise,
|
|
18109
18123
|
rainbowCharFillColors,
|
|
18110
18124
|
readLayerScalar,
|
|
18111
18125
|
readStyleFromLottieLayer,
|
|
@@ -18114,6 +18128,7 @@ export {
|
|
|
18114
18128
|
removeKeyframe,
|
|
18115
18129
|
removeTemplateKeyframe,
|
|
18116
18130
|
removeTrack,
|
|
18131
|
+
renderBubbleBackground,
|
|
18117
18132
|
renderCanonicalToCanvas,
|
|
18118
18133
|
renderEvaluatedSceneToCanvas,
|
|
18119
18134
|
renderPngSequence,
|
|
@@ -18127,6 +18142,7 @@ export {
|
|
|
18127
18142
|
resolveAnchorPosition,
|
|
18128
18143
|
resolveAnimatedScalar,
|
|
18129
18144
|
resolveBehaviorToAnimationSpec,
|
|
18145
|
+
resolveBubbleLayout,
|
|
18130
18146
|
resolveConform,
|
|
18131
18147
|
resolveDocumentForBreakpoint,
|
|
18132
18148
|
resolveExportCanvasDimensions,
|